Commit Graph

3056 Commits

Author SHA1 Message Date
Kshitij Sobti b46e241866
feat: Better support for multiple themes (#2792)
* feat: Better support for multiple themes

This change adds support for two CLI options to the build-tokens
command.

The first, --all-themes makes the build-tokens command process all
themes in the source directory as opposed to specifying all the names
via --theme.

Secondly, --base-paragon-theme allows you to have multiple themes derived
from the same common base. If specified, you can have a derived theme that
still loads tokens from the light theme. For example, you can have a
site theme called 'theme-one' and set the base theme to light so it will
reuse the core light theme tokens and layer on changes from 'theme-one'.

* fixup! feat: Better support for multiple themes

* fixup! fixup! feat: Better support for multiple themes
2025-11-03 10:21:24 -05:00
edX requirements bot 04e52615ba
chore: update browserslist DB (#3971)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-11-03 00:19:38 +00:00
Brian Smith 51fefc5eff
fix(cli): ensure style dictionary verbose error stack is displayed (#3961) 2025-10-29 19:14:55 -04:00
Braden MacDonald a6b6b0ed84
fix: Menu/MenuItem/Stack types weren't accepting extra HTML props (#3955) 2025-10-28 16:50:40 -07:00
Jacobo Dominguez cce7beb990
feat: adding classname prop to sheet component (#3855)
* feat: adding classname prop to sheet component

* test: adding ut for sheet container to increase code coverage

* chore: changing names to classname props on sheet
2025-10-23 10:59:07 -04:00
edX requirements bot a56b80cbaa
chore: update browserslist DB (#3937)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-10-20 00:20:19 +00:00
Diana Villalvazo 35a3a1e9a1
refactor: transform 5 more components to typescript (#3820)
* refactor: transform components into Typescript

* fix: adding back react import to avoid docs fail

* fix: addressing feedback comments for card context
2025-10-15 15:36:22 -07:00
Diana Villalvazo 67977fc399
refactor: transform 6 more components into Typescript (#3831)
* refactor: transform components into Typescript

* fix: adding back react import to avoid docs fail
2025-10-15 14:37:16 -07:00
Brian Smith 0c1710a5f5
Merge pull request #3928 from openedx/Peter_Kulko/sync-22-to-23
sync: release-22.x to release-23.x
2025-10-15 12:33:52 -04:00
PKulkoRaccoonGang 612d640f34 Merge remote-tracking branch 'origin/release-22.x' into Peter_Kulko/sync-22-to-23 2025-10-15 18:53:03 +03:00
renovate[bot] 1b45e08953
chore(deps): update peter-evans/enable-pull-request-automerge action to v3 (#3918)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 14:17:40 -04:00
Peter Kulko 477e1eec4d
chore: clean up outdated eslint-disable (#3488)
* chore: clean up outdated eslint-disable

* refactor: added some tests

* refactor: after review

* refactor: some refactoring

* refactor: after rebase

* test: added some tests

* refactor: return of the presentation role for the modal backdrop

* refactor: changed Typography Links example
2025-10-14 09:56:34 -04:00
renovate[bot] 9869efce7b
chore(deps): update actions/setup-node action to v6 (#3912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 09:37:10 -04:00
renovate[bot] 8dcea9a563
chore(deps): update dependency @svgr/webpack to v8 (#3889)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 09:08:55 -04:00
edX requirements bot 839964c844
chore: update browserslist DB (#3907)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-10-13 00:19:27 +00:00
renovate[bot] 491fea3abd
chore(deps): update dependency axios-mock-adapter to v2 (#3897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 12:47:49 -04:00
renovate[bot] 7a875d0f4f
chore(deps): update dependency @types/react-responsive to v9 (#3893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 16:20:27 +00:00
renovate[bot] 7ff766fa08
fix(deps): update dependency react-responsive to v10 (#3895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 16:06:15 +00:00
renovate[bot] 9f8d537577
chore(deps): update dependency @svgr/babel-plugin-add-jsx-attribute to v8 (#3885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 11:12:32 -04:00
renovate[bot] df3bb94c2a
chore(deps): update dependency @edx/eslint-config to v4 (#3883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 10:28:41 -04:00
Brian Smith 348fb84b0a
fix(deps): update axios (#3887) 2025-10-10 10:27:31 -04:00
renovate[bot] 5aace09833
chore(deps): update codecov/codecov-action action to v5 (#3882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 10:07:46 +00:00
Peter Kulko c93adcd6d8
fix: fixed Form.Checkbox value in DataTable component (#3881) 2025-10-10 05:56:24 -04:00
renovate[bot] e818585b40
fix(deps): update dependency file-selector to ^0.10.0 (#3872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 04:33:54 -04:00
renovate[bot] 0572acf941
chore(deps): update actions/download-artifact action to v5 (#3876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 08:18:56 +00:00
renovate[bot] 9e3daeeaad
chore(deps): update actions/setup-node action to v5 (#3877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 08:18:45 +00:00
renovate[bot] e6252e404b
chore(deps): update dependency playroom to ^0.44.0 (#3869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 08:01:57 +00:00
renovate[bot] 72f02c2513
chore(deps): update dependency eslint-plugin-react to v7.37.5 (#3868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 08:00:53 +00:00
renovate[bot] 736641946b
chore(deps): update dependency eslint-plugin-import to v2.32.0 (#3866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 03:44:20 -04:00
renovate[bot] 0266cf0d59
chore(deps): update actions/checkout action to v5 (#3873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 07:42:59 +00:00
renovate[bot] fc1a74bac4
chore(deps): update dependency regenerator-runtime to ^0.14.0 (#3870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 07:42:12 +00:00
renovate[bot] ed04f00a41
chore(deps): update dependency eslint-plugin-jsx-a11y to v6.10.2 (#3867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 07:26:41 +00:00
renovate[bot] 9a00db52ef
chore(deps): update dependency eslint to v8.57.1 (#3865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 03:11:23 -04:00
renovate[bot] 5e94ba8af6
chore(deps): update dependency @testing-library/dom to v9.3.4 (#3862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 16:06:22 -04:00
renovate[bot] 9fdcf097c7
chore(deps): update dependency eslint-plugin-react-hooks to v4.6.2 (#3863)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 16:05:30 -04:00
renovate[bot] 13cbf82bc5
chore(deps): update dependency js-toml to v1.0.2 [security] (#3859)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 14:54:29 -04:00
Peter Kulko 3c11583643
build: Upgrade to node 24 and update package-lock.json (#3853) 2025-10-08 16:08:11 -04:00
Peter Kulko 07df21d0c3
fix: $small-font-size scss variable is replaced by var(--pgn-typography-font-size-sm) (#3856) 2025-10-08 19:05:37 +00:00
Diana Villalvazo 411e19e759
refactor: Remove propTypes + defaultProps from <ChipCarousel>, <Container>, <FormGroup> and <HyperLink> (#3794)
* refactor: remove propTypes and defaultProps

* refactor: remove propTypes and defaultProps Container

* refactor: adding props extended to be available on docs

* fix: container forward type

* refactor: adding size props to be available on docs

* docs: add links to type definition

* docs: address comments to improve docs

* fix: adding back react import to avoid docs fail

* fix: small fix on as type
2025-10-07 16:23:29 +00:00
Brian Smith f7b2be9051
chore(deps): bump `style-dictionary` from `4.3.2` to `4.4.0` (#3848)
* chore(deps): bump `style-dictionary` from `4.3.2` to `4.4.0`

* chore: run `build-tokens`
2025-10-07 08:22:00 -04:00
edX requirements bot 2430dd7882
chore: update browserslist DB (#3847)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-10-06 00:23:09 +00:00
Brian Smith 742704416d
test: fix silent failures by moving some scripts to makefile (#3833) 2025-10-01 16:38:52 -04:00
Brian Smith 8afa199b93
fix: update playroom config to allow importing svgs in `.tsx` files (#3835) 2025-10-01 16:17:48 -04:00
edX requirements bot 2da8baa418
chore: update browserslist DB (#3828)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-09-29 00:23:47 +00:00
Diana Villalvazo 44df7995df
fix: Remove propTypes + defaultProps from <Chip>, <Toast>, <FormLabel> and <IconButton> (#3789)
* refactor: remove propTypes and defaultProps Chip

* refactor: remove propTypes and defaultProps Toast

* refactor: remove propTypes and defaultProps FormLabel

* refactor: remove propTypes and defaultProps IconButton

* fix: changing docstring, hardcoding default values

* fix: iconButton forwardedref syntax

* chore: add missing default value for iconButton

* chore: address feedback on docs

* chore: address feedback on docs

* docs: add links to type definition

* docs: add back deprecated comment for icon FA
2025-09-26 12:54:14 -04:00
Peter Kulko 63e8704229
test: Add Node 20 to CI matrix (#3686) 2025-09-23 16:26:04 -04:00
Diana Villalvazo ac69571d0c
refactor: Transform <Annotation>, <ActionRow>, <Avatar>, <AvatarButton> to typescript (#3801)
* refactor: annotation to typescript

* refactor: actionRow to typescript

* refactor: avatarButton to typescript

* refactor: rename to typescript

* refactor: avatar to typescript

* refactor: move components to list that have types
2025-09-23 10:06:33 -07:00
edX requirements bot 412608124f
chore: update browserslist DB (#3805)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2025-09-22 00:20:28 +00:00
Diana Villalvazo b81309bcf1
refactor: transform messages into typescript files (#3798) 2025-09-18 15:55:23 -04:00
Peter Kulko 6c19e8eca9
fix: Provided missing className for DataTableLayout (#3715)
* fix: provided missing className for DataTableLayout

* refactor: dataTableLayoutClassName changed to className
2025-09-11 09:44:13 -04:00