@openedx/paragon 23.4.0 → 23.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,9 @@ async function buildTokensCommand(commandArgs) {
47
47
  },
48
48
  );
49
49
 
50
- const StyleDictionary = await initializeStyleDictionary({ themes });
50
+ const parsedThemes = Array.isArray(themes) ? themes : themes.split(',').map(t => t.trim());
51
+
52
+ const StyleDictionary = await initializeStyleDictionary({ themes: parsedThemes });
51
53
 
52
54
  const coreConfig = {
53
55
  include: [
@@ -144,7 +146,7 @@ async function buildTokensCommand(commandArgs) {
144
146
  // Create list of style-dictionary configurations to build (core + theme variants)
145
147
  const configs = [
146
148
  { config: coreConfig },
147
- ...themes.map((themeVariant) => {
149
+ ...parsedThemes.map((themeVariant) => {
148
150
  const config = getStyleDictionaryConfig(themeVariant);
149
151
  return {
150
152
  config,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openedx/paragon",
3
- "version": "23.4.0",
3
+ "version": "23.4.2",
4
4
  "description": "Accessible, responsive UI component library based on Bootstrap.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -653,12 +653,18 @@ $box-shadow-sides: (
653
653
  "centered"
654
654
  ) !default;
655
655
 
656
- $box-shadow-sm: var(--pgn-elevation-box-shadow-sm) !default;
656
+ $box-shadow-sm: var(--pgn-elevation-box-shadow-sm-offset-x)
657
+ var(--pgn-elevation-box-shadow-sm-offset-y)
658
+ var(--pgn-elevation-box-shadow-sm-blur)
659
+ var(--pgn-elevation-box-shadow-sm-color) !default;
657
660
  $box-shadow: var(--pgn-elevation-box-shadow-base-offset-x)
658
661
  var(--pgn-elevation-box-shadow-base-offset-y)
659
662
  var(--pgn-elevation-box-shadow-base-blur)
660
663
  var(--pgn-elevation-box-shadow-base-color) !default;
661
- $box-shadow-lg: var(--pgn-elevation-box-shadow-lg) !default;
664
+ $box-shadow-lg: var(--pgn-elevation-box-shadow-lg-offset-x)
665
+ var(--pgn-elevation-box-shadow-lg-offset-y)
666
+ var(--pgn-elevation-box-shadow-lg-blur)
667
+ var(--pgn-elevation-box-shadow-lg-color) !default;
662
668
 
663
669
  $component-active-color: var(--pgn-color-active) !default;
664
670
  $component-active-bg: var(--pgn-color-bg-active) !default;