Skip to content

Releases: openedx/paragon

v22.3.0

25 Apr 14:13
784f604
Compare
Choose a tag to compare

22.3.0 (2024-04-25)

Features

v22.2.2

17 Apr 19:43
a381182
Compare
Choose a tag to compare

22.2.2 (2024-04-17)

Bug Fixes

  • ensure esc key does not close modals that are blocking (#3033) (a381182)

v22.0.0-alpha.25

03 Apr 15:28
f5a5c05
Compare
Choose a tag to compare
v22.0.0-alpha.25 Pre-release
Pre-release

22.0.0-alpha.25 (2024-04-03)

Features

v22.2.1

26 Mar 19:38
1fd134a
Compare
Choose a tag to compare

22.2.1 (2024-03-26)

Bug Fixes

v22.2.0

25 Mar 16:08
0983219
Compare
Choose a tag to compare

22.2.0 (2024-03-25)

Features

  • working typings for Paragon, better types for component (#3016) (0983219)

v22.1.1

14 Feb 05:50
7e4a81f
Compare
Choose a tag to compare

22.1.1 (2024-02-14)

Bug Fixes

  • unrecognized prop warning in form autosuggest (#3003) (7e4a81f)

v22.1.0

12 Feb 20:34
2801667
Compare
Choose a tag to compare

22.1.0 (2024-02-12)

Features

  • allow consumers to configure ModalDialog to allow overflow (#2939) (2801667)

v22.0.0

19 Jan 15:50
970b102
Compare
Choose a tag to compare

22.0.0 (2024-01-19)

  • feat!: release updates to Chip, SearchField, Pagination, Form.Autosuggest (#2995) (970b102), closes #2995

This release contains breaking changes to the following 4 components:

  • Chip
  • Pagination
  • SearchField
  • Form.Autosuggest

Breaking Changes

Chip

This updates the Chip component to reflect the design spec as intended.

BREAKING CHANGE: Many of the SCSS variables (i.e., tokens) surrounding Chip were removed. Consumers should verify no longer using any of the removed SCSS variables in custom Paragon brands/themes.

Pagination

This updates the Pagination component to rely on the proper button variants, rather than having all pagination buttons be of the primary variant (even when unselected) with custom styles overriding the default button variant style (e.g., background color).

It also refactors the component to be more maintainable moving forward.

BREAKING CHANGE: Many of the SCSS variables (i.e., tokens) surrounding Pagination were removed. Consumers should verify no longer using any of the removed SCSS variables in custom Paragon brands/themes.

BREAKING CHANGE: icons prop now accepts the icon src instead of an Icon component.

Before

<Pagination
  ...
  icons={{
    leftIcon: <Icon src={ChevronLeft} />,
    rightIcon: <Icon src={ChevronRight} />,
  }}
/>

After

<Pagination
  ...
  icons={{
    leftIcon: ChevronLeft,
    rightIcon: ChevronRight,
  }}
/>

SearchField

This updates the SearchField component to rely on IconButton components for its actions (e.g., reset, submit). It also ensures the external submit button in the dark variant has appropriate hover styles.

BREAKING CHANGE: icons prop now accepts the icon src instead of an Icon component.

Before

<SearchField
  ...
  icons={{
    submit: <Icon src={Search} />,
    clear: <Icon src={Close} />,
  }}
/>

After

<SearchField
  ...
  icons={{
    submit: Search,
    clear: Close,
  }}
/>

Form.Autosuggest

This updates the Autosuggest component to provide the consumer with:

  • The value entered in the textbox by the user
  • The selected value (as it is displayed in the dropdown)
  • The id of the selected option

This also allows the consumer to determine if the component should be in an error state when:

  • No text has been entered
  • Text has been entered, but not selection has been made
  • An external validation check has failed - "customError"

The consumer will provide error messages for the appropriate error states.

BREAKING CHANGE: value prop of Form.Autosuggest is now an object instead of a string

BREAKING CHANGE: Form.Autosuggest now uses onChange instead of onSelected

BREAKING CHANGE: Form.Autosuggest now takes in different error messages for value/selection required, and custom errors

v21.13.1

11 Jan 15:55
b858230
Compare
Choose a tag to compare

21.13.1 (2024-01-11)

Bug Fixes

  • rely on Form.Control and controlId in Form.Group (#2931) (b858230)

v21.13.0

29 Dec 16:08
6927788
Compare
Choose a tag to compare

21.13.0 (2023-12-29)

Features

  • added CLI command to migrate to using openedx scope (#2984) (6927788)