Commit Graph

360 Commits

Author SHA1 Message Date
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
Brian Smith 348fb84b0a
fix(deps): update axios (#3887) 2025-10-10 10:27:31 -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] 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] 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
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
Brian Smith 742704416d
test: fix silent failures by moving some scripts to makefile (#3833) 2025-10-01 16:38:52 -04:00
Braden MacDonald a7efce09c8 chore(deps): bump @edx/eslint-config, remove workaround for lint issue 2025-08-13 09:50:09 -04:00
Maxwell Frank 62e65ca9af
feat: add serve-theme-css command to Paragon CLI
Improves the developer experience (DX) around local development for brand packages to be able to serve their built CSS files as if they were hosted on a CDN for use in the recently updated Paragon documentation website theme selector that allows users to create custom themes with external CSS URLs.

Brand packages may now run `paragon serve-theme-css --theme-name "Custom Theme Name"` to generate a Paragon documentation website URL with the local CSS files applied.

---------

Co-authored-by: Adam Stankiewicz <agstanki@gmail.com>
2025-07-03 11:31:15 -04:00
Peter Kulko 2cb6dc2298
chore: added linter for JSON files (#3330)
* chore: added linter for JSON files

* refactor: code refactoring
2025-06-12 12:21:09 +03:00
Peter Kulko 20b433eb76
chore: added tests for Paragon CLI (#3498)
* chore: added tests for Paragon CLI

* refactor: after review
2025-05-14 10:13:04 +03:00
Brian Smith 69e4fb12fe
fix: Changed type for design token print-page-size (#3400)
* fix: fixed design tokens build

* refactor: updated style-dictionary version

---------

Co-authored-by: PKulkoRaccoonGang <peter.kulko@raccoongang.com>
2025-01-28 11:16:09 -05:00
Braden MacDonald b17d3aef73 fix: include browserslist config from v22 branch, rebuild icons 2025-01-23 10:45:09 -08:00
Braden MacDonald 3ea934997b feat: update v23 with React 18 + Gatsby 5 support from v22 branch 2025-01-23 09:55:45 -08:00
Braden MacDonald 916fbc0540 feat: bump packages to support React 18 2025-01-22 14:13:40 -05:00
Brian Smith 47e26dfa4c
chore(deps): update `@edx/eslint-config` from 4.2 to 4.3 (#3353) 2024-12-12 11:35:38 -05:00
Brian Smith 79998dd128
Merge pull request #3349 from openedx/release-22.x
chore: merge 22 -> 23 to remove dry run
2024-12-11 21:09:22 -05:00
Brian Smith 2bea4c9d7b
build: remove `--dry-run` semantic release argument (#3348) 2024-12-11 20:33:32 -05:00
Brian Smith 5ae063515b
Merge branch 'release-22.x' into merge-22-to-23 2024-12-11 18:49:26 -05:00
Brian Smith b4508dbaa9
build: update .releaserc to publish from appropriate branches (#3341)
* build: update `.releaserc` to publish from appropriate branches

* chore: dry run new semantic release config
2024-12-11 17:01:08 -05:00
Braden MacDonald fdf42230d8 build: reinstate @edx/browserslist-config 2024-12-06 18:06:52 -05:00
Braden MacDonald d8cd81df52 feat: Use modern babel config, removing transforms for ancient browsers 2024-12-06 18:06:52 -05:00
Peter Kulko f26c4f2a00
chore(deps): removed stylelint-config-standard-scss (#3315) 2024-12-04 11:03:13 -05:00
Braden MacDonald 3b0d790842 chore(deps): upgrade to @edx/eslint-config 4.2 (#3241) 2024-12-04 12:22:35 +02:00
Adam Stankiewicz 7219eaa5ad feat: added sd-transforms; refs in source-tokens-only output; fixed refs warnings 2024-11-26 12:15:31 +02:00
Peter Kulko 591f91ada3 refactor: corrected changed values of tokens and CSS variables 2024-11-26 12:15:31 +02:00
Adam Stankiewicz be634dc31a feat: --output-references CLI arg, registers filters, updates CSS vars format (#3203)
* feat: --output-references CLI arg for build-tokens, registers filters, and updates CSS vars format

* Exposes `--output-references` CLI argument for `build-tokens` command. Defaults to `true`. Ensures brand package output with the CLI includes references in build output out-of-the-box.

* Registers filter(s) `isThemeVariant.{'light'}`, handling future theme variants when implemented (e.g., `isThemeVariant.dark`).
* Migrates `createCustomCSSVariables` to use `formattedVariables` to rely on out-of-the-box CSS variable formatting. The formatter still supports token-specific overrides of `outputReferences`. If a token has modifications via `modify`, the modified base reference is not included in the output.
* Updates custom fileHeader implementation, including a relative path to design tokens documentation.
* Fixes bug with line-height tokens, switching their `$type` from `dimension` to `number` to resolve typography style regressions.
* Updates typography tokens related to font size, font weight, and line-height for more consistent naming structure when taking into account mobile.
* Updates `@mobile-type` SCSS mixin to support level-specific customization of mobile typography styles for display 1-4.
* Renames `"description"` field in tokens to `"$description""` per the DTCG format.

* Ensures the "Typography" foundations page properly previews the correct font size for regular "Body" text and includes the missing "HEADING LABEL" example.
* Updates to "Colors" page in docs site:
  * Displays token name instead of CSS variable in the color swatch previews (see screenshot below).
  * Include `accent-a` and `accent-b` alongside other color names, rather than manually rendering `Swatch` for the accents.
  * Modifies the grid styles for color swatch preview to be more responsive.
* Resolves `NaNpx` bug in `MeasuredItem` component on docs site, while computing the measurements to display for an element (e.g., font size). Instead, it renders an empty block while measurements are resolved.
* Updates `CodeBlock` styles on docs site to add its border and background color only to the `LivePreview`, not the entire `CodeBlock` example.
* Reduces whitespace on docs site homepage.
* Simplifies columns on docs site header, ensuring `SiteTitle` is horizontally aligned in the center.
2024-11-26 12:15:31 +02:00
Peter Kulko 9b8b087025 refactor: added dynamic imports 2024-11-26 12:15:31 +02:00
Peter Kulko 046a8d353e feat: DTCG format 2024-11-26 12:15:31 +02:00
Peter Kulko cae4ee59da feat: update style dictionary to v4 2024-11-26 12:15:31 +02:00
Braden MacDonald d3fdb89f9b
chore(deps): upgrade to @edx/eslint-config 4.2 (#3241) 2024-10-07 10:20:08 -07:00
Braden MacDonald 90246aa015 feat: add typings for <Button> (#3080)
* feat: add typings for <Button>

* chore: bump @types/react and @types/react-dom

* feat: re-export bootstrap helpers as ComponentWithAsProp, BsPropsWithAs
2024-07-22 10:14:25 +03:00
Braden MacDonald 2d71ab5787 feat: Add TypeScript types for <Hyperlink> (#3077) 2024-07-22 10:14:25 +03:00
Kshitij Sobti 3ba1adc91d
feat: Add support for tokens in toml files (#3047) 2024-06-17 12:14:00 -04:00
Braden MacDonald 4abe68b1cf
feat: add typings for <Button> (#3080)
* feat: add typings for <Button>

* chore: bump @types/react and @types/react-dom

* feat: re-export bootstrap helpers as ComponentWithAsProp, BsPropsWithAs
2024-05-31 13:26:23 -04:00
Braden MacDonald d4fce25028
feat: Add TypeScript types for <Hyperlink> (#3077) 2024-05-22 09:00:15 -04:00
PKulkoRaccoonGang 01c702f73c Merge remote-tracking branch 'origin/master' into Peter_Kulko/alpha-branch-updating 2024-05-07 19:38:07 +03:00
edX requirements bot 06263eab76
chore: update browserslist DB (#2985)
Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-05-07 10:57:56 -04:00
dependabot[bot] 647086c6b3
chore(deps): bump axios from 0.27.2 to 0.28.0 (#3007)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 0.28.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.28.0/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v0.28.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 15:31:51 -04:00
Bilal Qamar 73f3ec6720
chore(deps): updated jest to v29 (#3032) 2024-05-01 19:06:05 -04:00
Braden MacDonald 0983219800
feat: working typings for Paragon, better types for <Icon> component (#3016)
* feat: better types for <Icon> component

* fix: TypeScript rootDir now that it's checking '../src' files too

* chore: fix eslint 'import/order' & 'import/no-unresolved' issues in www

* fix: build wasn't including types properly

* fix: <Icon/> types still weren't correct

* fix: explicitly define other exports as having 'any' type

* fix: changing www/tsconfig.json is no longer needed

* fix: warning seen when gatsby parses index.d.ts during 'npm run start'
2024-03-25 11:57:53 -04:00
Viktor Rusakov 98e6313e92
build: ignore npm scripts when installing dependencies in dependent analyzer workflow (#3013)
* build: ignore npm scripts when installing dependencies in dependent analyzer workflow

* chore: upgrade husky to v9
2024-02-28 11:25:05 -05:00
Peter Kulko 51d864ae22
docs: switch scope of the package to `openedx` in docs (#2979)
* refactor: changed Paragon NPM package name and source

* refactor: example refactoring

* refactor: corrected deps usage analyzer

* refactor: defactoring deps usage analizer

* refactor: removed dependent-usage-analyzer from eslintignore
2023-12-29 16:56:54 +02:00
Peter Kulko fc90b3f4d2
chore: added Husky configuration (#2949)
Co-authored-by: Viktor Rusakov <52399399+viktorrusakov@users.noreply.github.com>
2023-12-29 13:34:55 +02:00
Kyr a1adfaa93b
chore: remove browserlist-config (#2970)
* build: remove browserlist-config

* test: update snapshot

---------

Co-authored-by: Kyrylo Hudym-Levkovych <kyr.hudym@kyrs-MacBook-Pro.local>
2023-12-27 10:48:47 +02:00