Skip to content

6.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@heath-freenome heath-freenome released this 08 May 17:39
· 72 commits to main since this release

@rjsf/antd

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/chakra-ui

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/core

  • Added new RichDescription component, refactored from SchemaField to support Rich Text descriptions in Markdown format
  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/daisyui

  • Updated DescriptionField to render the description using the RichDescription field
  • Updated FieldTemplate to move the checkbox implementation into the CheckboxWidget adding the description for checkboxes
  • Updated package.json to make the package publishable
  • Updated DaisyUIFrameProvider to extract the bulk of the code into DaisyUIFrameComponent to add a useEffect() with a cleanup to remove the tailwind styles

@rjsf/fluentui-rc

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/mui

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/react-bootstrap

  • Updated DescriptionField to render the description using the RichDescription field
  • Updated CheckboxField to remove the checkbox class that breaks the UI

@rjsf/semantic-ui

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/shadcn

  • Updated DescriptionField to render the description using the RichDescription field

@rjsf/utils

  • Updated the description field in field props to be a string | ReactElement and added enableMarkdownInDescription to the GlobalUISchemaOptions interface
  • Support for bundled JSON Schemas #4505
  • Fixed issue with schema references in combinators(allOf, anyOf, oneOf) could not be modified when defaults were set, fixing #4555

Dev / docs / playground

  • Updated the snapshot-tests to disable getTestId() for snapshots and updated the formTests.tsx to add tests for rich text descriptions for generic fields and the CheckboxWidget
  • Updated the uiSchema.md to document new enableMarkdownInDescription prop
  • Updated the playground to move daisyui theme choice after chakra-ui and to stop freezing the samples to avoid an AJV validation issue
    • Also removed validator from the examples.ts to fix #4605
  • Added a playground example for bundled JSON Schemas