Skip to content

Commit e88d42d

Browse files
committed
bump style-dictionary to 4.2.4 and rebuild
1 parent be2c5c9 commit e88d42d

10 files changed

Lines changed: 42 additions & 42 deletions

File tree

packages/design-tokens/build/cjs-prefixed/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ export const bcdsIconsColorSuccess: string;
136136
export const bcdsIconsColorWarning: string;
137137
/** Default colour for icons on dark backgrounds */
138138
export const bcdsIconsColorPrimaryInvert: string;
139-
export const bcdsLayoutBorderWidthNone: number;
139+
export const bcdsLayoutBorderWidthNone: string;
140140
export const bcdsLayoutBorderWidthSmall: string;
141141
export const bcdsLayoutBorderWidthMedium: string;
142142
export const bcdsLayoutBorderWidthLarge: string;
143143
/** No padding */
144-
export const bcdsLayoutPaddingNone: number;
144+
export const bcdsLayoutPaddingNone: string;
145145
/** Smallest padding value for layout */
146146
export const bcdsLayoutPaddingHair: string;
147147
export const bcdsLayoutPaddingXsmall: string;
@@ -165,7 +165,7 @@ export const bcdsLayoutMarginXxlarge: string;
165165
export const bcdsLayoutMarginXxxlarge: string;
166166
/** Largest margin value for layout */
167167
export const bcdsLayoutMarginHuge: string;
168-
export const bcdsLayoutBorderRadiusNone: number;
168+
export const bcdsLayoutBorderRadiusNone: string;
169169
export const bcdsLayoutBorderRadiusSmall: string;
170170
export const bcdsLayoutBorderRadiusMedium: string;
171171
export const bcdsLayoutBorderRadiusLarge: string;
@@ -207,7 +207,7 @@ export const bcdsTypographyFontSizeDisplay: string;
207207
/** System token, used to generate type styles */
208208
export const bcdsTypographyLetterSpacing0: string;
209209
/** System token, used to generate type styles */
210-
export const bcdsTypographyParagraphSpacing0: number;
210+
export const bcdsTypographyParagraphSpacing0: string;
211211
/** Labels and captions */
212212
export const bcdsTypographyRegularLabel: string;
213213
/** Smaller body text */

packages/design-tokens/build/cjs-prefixed/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ module.exports = {
8181
bcdsIconsColorSuccess: "#42814a",
8282
bcdsIconsColorWarning: "#f8bb47",
8383
bcdsIconsColorPrimaryInvert: "#ffffff",
84-
bcdsLayoutBorderWidthNone: 0,
84+
bcdsLayoutBorderWidthNone: "0",
8585
bcdsLayoutBorderWidthSmall: "1px",
8686
bcdsLayoutBorderWidthMedium: "2px",
8787
bcdsLayoutBorderWidthLarge: "4px",
88-
bcdsLayoutPaddingNone: 0,
88+
bcdsLayoutPaddingNone: "0",
8989
bcdsLayoutPaddingHair: "0.125rem",
9090
bcdsLayoutPaddingXsmall: "0.25rem",
9191
bcdsLayoutPaddingSmall: "0.5rem",
@@ -102,7 +102,7 @@ module.exports = {
102102
bcdsLayoutMarginXxlarge: "2.5rem",
103103
bcdsLayoutMarginXxxlarge: "3rem",
104104
bcdsLayoutMarginHuge: "3.5rem",
105-
bcdsLayoutBorderRadiusNone: 0,
105+
bcdsLayoutBorderRadiusNone: "0",
106106
bcdsLayoutBorderRadiusSmall: "2px",
107107
bcdsLayoutBorderRadiusMedium: "4px",
108108
bcdsLayoutBorderRadiusLarge: "6px",
@@ -132,7 +132,7 @@ module.exports = {
132132
bcdsTypographyFontSizeH1: "2.25rem",
133133
bcdsTypographyFontSizeDisplay: "3rem",
134134
bcdsTypographyLetterSpacing0: "0em",
135-
bcdsTypographyParagraphSpacing0: 0,
135+
bcdsTypographyParagraphSpacing0: "0",
136136
bcdsTypographyRegularLabel: "400 0.75rem/1.125rem 'BC Sans'",
137137
bcdsTypographyRegularSmallBody: "400 0.875rem/1.313rem 'BC Sans'",
138138
bcdsTypographyRegularBody: "400 1rem/1.688rem 'BC Sans'",

packages/design-tokens/build/cjs/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ export const iconsColorSuccess: string;
136136
export const iconsColorWarning: string;
137137
/** Default colour for icons on dark backgrounds */
138138
export const iconsColorPrimaryInvert: string;
139-
export const layoutBorderWidthNone: number;
139+
export const layoutBorderWidthNone: string;
140140
export const layoutBorderWidthSmall: string;
141141
export const layoutBorderWidthMedium: string;
142142
export const layoutBorderWidthLarge: string;
143143
/** No padding */
144-
export const layoutPaddingNone: number;
144+
export const layoutPaddingNone: string;
145145
/** Smallest padding value for layout */
146146
export const layoutPaddingHair: string;
147147
export const layoutPaddingXsmall: string;
@@ -165,7 +165,7 @@ export const layoutMarginXxlarge: string;
165165
export const layoutMarginXxxlarge: string;
166166
/** Largest margin value for layout */
167167
export const layoutMarginHuge: string;
168-
export const layoutBorderRadiusNone: number;
168+
export const layoutBorderRadiusNone: string;
169169
export const layoutBorderRadiusSmall: string;
170170
export const layoutBorderRadiusMedium: string;
171171
export const layoutBorderRadiusLarge: string;
@@ -207,7 +207,7 @@ export const typographyFontSizeDisplay: string;
207207
/** System token, used to generate type styles */
208208
export const typographyLetterSpacing0: string;
209209
/** System token, used to generate type styles */
210-
export const typographyParagraphSpacing0: number;
210+
export const typographyParagraphSpacing0: string;
211211
/** Labels and captions */
212212
export const typographyRegularLabel: string;
213213
/** Smaller body text */

packages/design-tokens/build/cjs/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ module.exports = {
8181
iconsColorSuccess: "#42814a",
8282
iconsColorWarning: "#f8bb47",
8383
iconsColorPrimaryInvert: "#ffffff",
84-
layoutBorderWidthNone: 0,
84+
layoutBorderWidthNone: "0",
8585
layoutBorderWidthSmall: "1px",
8686
layoutBorderWidthMedium: "2px",
8787
layoutBorderWidthLarge: "4px",
88-
layoutPaddingNone: 0,
88+
layoutPaddingNone: "0",
8989
layoutPaddingHair: "0.125rem",
9090
layoutPaddingXsmall: "0.25rem",
9191
layoutPaddingSmall: "0.5rem",
@@ -102,7 +102,7 @@ module.exports = {
102102
layoutMarginXxlarge: "2.5rem",
103103
layoutMarginXxxlarge: "3rem",
104104
layoutMarginHuge: "3.5rem",
105-
layoutBorderRadiusNone: 0,
105+
layoutBorderRadiusNone: "0",
106106
layoutBorderRadiusSmall: "2px",
107107
layoutBorderRadiusMedium: "4px",
108108
layoutBorderRadiusLarge: "6px",
@@ -132,7 +132,7 @@ module.exports = {
132132
typographyFontSizeH1: "2.25rem",
133133
typographyFontSizeDisplay: "3rem",
134134
typographyLetterSpacing0: "0em",
135-
typographyParagraphSpacing0: 0,
135+
typographyParagraphSpacing0: "0",
136136
typographyRegularLabel: "400 0.75rem/1.125rem 'BC Sans'",
137137
typographyRegularSmallBody: "400 0.875rem/1.313rem 'BC Sans'",
138138
typographyRegularBody: "400 1rem/1.688rem 'BC Sans'",

packages/design-tokens/build/js-prefixed/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ export const bcdsIconsColorSuccess: string;
136136
export const bcdsIconsColorWarning: string;
137137
/** Default colour for icons on dark backgrounds */
138138
export const bcdsIconsColorPrimaryInvert: string;
139-
export const bcdsLayoutBorderWidthNone: number;
139+
export const bcdsLayoutBorderWidthNone: string;
140140
export const bcdsLayoutBorderWidthSmall: string;
141141
export const bcdsLayoutBorderWidthMedium: string;
142142
export const bcdsLayoutBorderWidthLarge: string;
143143
/** No padding */
144-
export const bcdsLayoutPaddingNone: number;
144+
export const bcdsLayoutPaddingNone: string;
145145
/** Smallest padding value for layout */
146146
export const bcdsLayoutPaddingHair: string;
147147
export const bcdsLayoutPaddingXsmall: string;
@@ -165,7 +165,7 @@ export const bcdsLayoutMarginXxlarge: string;
165165
export const bcdsLayoutMarginXxxlarge: string;
166166
/** Largest margin value for layout */
167167
export const bcdsLayoutMarginHuge: string;
168-
export const bcdsLayoutBorderRadiusNone: number;
168+
export const bcdsLayoutBorderRadiusNone: string;
169169
export const bcdsLayoutBorderRadiusSmall: string;
170170
export const bcdsLayoutBorderRadiusMedium: string;
171171
export const bcdsLayoutBorderRadiusLarge: string;
@@ -207,7 +207,7 @@ export const bcdsTypographyFontSizeDisplay: string;
207207
/** System token, used to generate type styles */
208208
export const bcdsTypographyLetterSpacing0: string;
209209
/** System token, used to generate type styles */
210-
export const bcdsTypographyParagraphSpacing0: number;
210+
export const bcdsTypographyParagraphSpacing0: string;
211211
/** Labels and captions */
212212
export const bcdsTypographyRegularLabel: string;
213213
/** Smaller body text */

packages/design-tokens/build/js-prefixed/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ export const bcdsIconsColorDanger = "#ce3e39"; // Emphasis colour for icons in e
8080
export const bcdsIconsColorSuccess = "#42814a"; // Emphasis colour for icons in success state
8181
export const bcdsIconsColorWarning = "#f8bb47"; // Emphasis colour for icons in warning state
8282
export const bcdsIconsColorPrimaryInvert = "#ffffff"; // Default colour for icons on dark backgrounds
83-
export const bcdsLayoutBorderWidthNone = 0;
83+
export const bcdsLayoutBorderWidthNone = "0";
8484
export const bcdsLayoutBorderWidthSmall = "1px";
8585
export const bcdsLayoutBorderWidthMedium = "2px";
8686
export const bcdsLayoutBorderWidthLarge = "4px";
87-
export const bcdsLayoutPaddingNone = 0; // No padding
87+
export const bcdsLayoutPaddingNone = "0"; // No padding
8888
export const bcdsLayoutPaddingHair = "0.125rem"; // Smallest padding value for layout
8989
export const bcdsLayoutPaddingXsmall = "0.25rem";
9090
export const bcdsLayoutPaddingSmall = "0.5rem";
@@ -101,7 +101,7 @@ export const bcdsLayoutMarginXlarge = "2rem";
101101
export const bcdsLayoutMarginXxlarge = "2.5rem";
102102
export const bcdsLayoutMarginXxxlarge = "3rem";
103103
export const bcdsLayoutMarginHuge = "3.5rem"; // Largest margin value for layout
104-
export const bcdsLayoutBorderRadiusNone = 0;
104+
export const bcdsLayoutBorderRadiusNone = "0";
105105
export const bcdsLayoutBorderRadiusSmall = "2px";
106106
export const bcdsLayoutBorderRadiusMedium = "4px";
107107
export const bcdsLayoutBorderRadiusLarge = "6px";
@@ -131,7 +131,7 @@ export const bcdsTypographyFontSizeH2 = "2rem";
131131
export const bcdsTypographyFontSizeH1 = "2.25rem";
132132
export const bcdsTypographyFontSizeDisplay = "3rem";
133133
export const bcdsTypographyLetterSpacing0 = "0em"; // System token, used to generate type styles
134-
export const bcdsTypographyParagraphSpacing0 = 0; // System token, used to generate type styles
134+
export const bcdsTypographyParagraphSpacing0 = "0"; // System token, used to generate type styles
135135
export const bcdsTypographyRegularLabel = "400 0.75rem/1.125rem 'BC Sans'"; // Labels and captions
136136
export const bcdsTypographyRegularSmallBody = "400 0.875rem/1.313rem 'BC Sans'"; // Smaller body text
137137
export const bcdsTypographyRegularBody = "400 1rem/1.688rem 'BC Sans'"; // Default body text

packages/design-tokens/build/js/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ export const iconsColorSuccess: string;
136136
export const iconsColorWarning: string;
137137
/** Default colour for icons on dark backgrounds */
138138
export const iconsColorPrimaryInvert: string;
139-
export const layoutBorderWidthNone: number;
139+
export const layoutBorderWidthNone: string;
140140
export const layoutBorderWidthSmall: string;
141141
export const layoutBorderWidthMedium: string;
142142
export const layoutBorderWidthLarge: string;
143143
/** No padding */
144-
export const layoutPaddingNone: number;
144+
export const layoutPaddingNone: string;
145145
/** Smallest padding value for layout */
146146
export const layoutPaddingHair: string;
147147
export const layoutPaddingXsmall: string;
@@ -165,7 +165,7 @@ export const layoutMarginXxlarge: string;
165165
export const layoutMarginXxxlarge: string;
166166
/** Largest margin value for layout */
167167
export const layoutMarginHuge: string;
168-
export const layoutBorderRadiusNone: number;
168+
export const layoutBorderRadiusNone: string;
169169
export const layoutBorderRadiusSmall: string;
170170
export const layoutBorderRadiusMedium: string;
171171
export const layoutBorderRadiusLarge: string;
@@ -207,7 +207,7 @@ export const typographyFontSizeDisplay: string;
207207
/** System token, used to generate type styles */
208208
export const typographyLetterSpacing0: string;
209209
/** System token, used to generate type styles */
210-
export const typographyParagraphSpacing0: number;
210+
export const typographyParagraphSpacing0: string;
211211
/** Labels and captions */
212212
export const typographyRegularLabel: string;
213213
/** Smaller body text */

packages/design-tokens/build/js/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ export const iconsColorDanger = "#ce3e39"; // Emphasis colour for icons in error
8080
export const iconsColorSuccess = "#42814a"; // Emphasis colour for icons in success state
8181
export const iconsColorWarning = "#f8bb47"; // Emphasis colour for icons in warning state
8282
export const iconsColorPrimaryInvert = "#ffffff"; // Default colour for icons on dark backgrounds
83-
export const layoutBorderWidthNone = 0;
83+
export const layoutBorderWidthNone = "0";
8484
export const layoutBorderWidthSmall = "1px";
8585
export const layoutBorderWidthMedium = "2px";
8686
export const layoutBorderWidthLarge = "4px";
87-
export const layoutPaddingNone = 0; // No padding
87+
export const layoutPaddingNone = "0"; // No padding
8888
export const layoutPaddingHair = "0.125rem"; // Smallest padding value for layout
8989
export const layoutPaddingXsmall = "0.25rem";
9090
export const layoutPaddingSmall = "0.5rem";
@@ -101,7 +101,7 @@ export const layoutMarginXlarge = "2rem";
101101
export const layoutMarginXxlarge = "2.5rem";
102102
export const layoutMarginXxxlarge = "3rem";
103103
export const layoutMarginHuge = "3.5rem"; // Largest margin value for layout
104-
export const layoutBorderRadiusNone = 0;
104+
export const layoutBorderRadiusNone = "0";
105105
export const layoutBorderRadiusSmall = "2px";
106106
export const layoutBorderRadiusMedium = "4px";
107107
export const layoutBorderRadiusLarge = "6px";
@@ -131,7 +131,7 @@ export const typographyFontSizeH2 = "2rem";
131131
export const typographyFontSizeH1 = "2.25rem";
132132
export const typographyFontSizeDisplay = "3rem";
133133
export const typographyLetterSpacing0 = "0em"; // System token, used to generate type styles
134-
export const typographyParagraphSpacing0 = 0; // System token, used to generate type styles
134+
export const typographyParagraphSpacing0 = "0"; // System token, used to generate type styles
135135
export const typographyRegularLabel = "400 0.75rem/1.125rem 'BC Sans'"; // Labels and captions
136136
export const typographyRegularSmallBody = "400 0.875rem/1.313rem 'BC Sans'"; // Smaller body text
137137
export const typographyRegularBody = "400 1rem/1.688rem 'BC Sans'"; // Default body text

packages/design-tokens/package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/design-tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
"homepage": "https://github.com/bcgov/design-system#readme",
3030
"dependencies": {
3131
"@tokens-studio/sd-transforms": "2.0.3",
32-
"style-dictionary": "5.4.1"
32+
"style-dictionary": "5.4.4"
3333
}
3434
}

0 commit comments

Comments
 (0)