@bcgov/design-tokens 3.1.0 → 3.1.1-pr470
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.
- package/cjs/index.d.ts +0 -2
- package/cjs/index.js +1 -2
- package/cjs-prefixed/index.d.ts +0 -2
- package/cjs-prefixed/index.js +1 -2
- package/css/variables.css +1 -2
- package/css-prefixed/variables.css +1 -2
- package/js/index.d.ts +0 -2
- package/js/index.js +1 -2
- package/js-prefixed/index.d.ts +0 -2
- package/js-prefixed/index.js +1 -2
- package/package.json +1 -1
package/cjs/index.d.ts
CHANGED
|
@@ -188,8 +188,6 @@ export const typographyLineHeightsAuto : string;
|
|
|
188
188
|
export const typographyFontWeightsRegular : number;
|
|
189
189
|
/** System token, used to generate text styles */
|
|
190
190
|
export const typographyFontWeightsBold : number;
|
|
191
|
-
/** DEPRECATED - will be removed in next major version. */
|
|
192
|
-
export const typographyFontWeightsItalic : string;
|
|
193
191
|
/** System token, used to generate text styles */
|
|
194
192
|
export const typographyFontWeightsItalicWeight : number;
|
|
195
193
|
/** System token, used to generate text styles */
|
package/cjs/index.js
CHANGED
|
@@ -38,7 +38,7 @@ module.exports = {
|
|
|
38
38
|
"surfaceColorTertiaryButtonDefault": "rgba(255,255,255,0)",
|
|
39
39
|
"surfaceColorTertiaryButtonHover": "#ECEAE8",
|
|
40
40
|
"surfaceColorTertiaryButtonDisabled": "#EDEBE9",
|
|
41
|
-
"surfaceColorTertiaryDefault": "#
|
|
41
|
+
"surfaceColorTertiaryDefault": "#FFFFFF00",
|
|
42
42
|
"surfaceColorTertiaryHover": "#ECEAE8",
|
|
43
43
|
"surfaceColorTertiaryPressed": "#E0DEDC",
|
|
44
44
|
"surfaceColorTertiaryDisabled": "#EDEBE9",
|
|
@@ -114,7 +114,6 @@ module.exports = {
|
|
|
114
114
|
"typographyLineHeightsAuto": "AUTO",
|
|
115
115
|
"typographyFontWeightsRegular": 400,
|
|
116
116
|
"typographyFontWeightsBold": 700,
|
|
117
|
-
"typographyFontWeightsItalic": "Italic", // DEPRECATED - will be removed in next major version.
|
|
118
117
|
"typographyFontWeightsItalicWeight": 400,
|
|
119
118
|
"typographyFontWeightsItalicStyle": "italic",
|
|
120
119
|
"typographyFontSizeLabel": "0.75rem",
|
package/cjs-prefixed/index.d.ts
CHANGED
|
@@ -188,8 +188,6 @@ export const bcdsTypographyLineHeightsAuto : string;
|
|
|
188
188
|
export const bcdsTypographyFontWeightsRegular : number;
|
|
189
189
|
/** System token, used to generate text styles */
|
|
190
190
|
export const bcdsTypographyFontWeightsBold : number;
|
|
191
|
-
/** DEPRECATED - will be removed in next major version. */
|
|
192
|
-
export const bcdsTypographyFontWeightsItalic : string;
|
|
193
191
|
/** System token, used to generate text styles */
|
|
194
192
|
export const bcdsTypographyFontWeightsItalicWeight : number;
|
|
195
193
|
/** System token, used to generate text styles */
|
package/cjs-prefixed/index.js
CHANGED
|
@@ -38,7 +38,7 @@ module.exports = {
|
|
|
38
38
|
"bcdsSurfaceColorTertiaryButtonDefault": "rgba(255,255,255,0)",
|
|
39
39
|
"bcdsSurfaceColorTertiaryButtonHover": "#ECEAE8",
|
|
40
40
|
"bcdsSurfaceColorTertiaryButtonDisabled": "#EDEBE9",
|
|
41
|
-
"bcdsSurfaceColorTertiaryDefault": "#
|
|
41
|
+
"bcdsSurfaceColorTertiaryDefault": "#FFFFFF00",
|
|
42
42
|
"bcdsSurfaceColorTertiaryHover": "#ECEAE8",
|
|
43
43
|
"bcdsSurfaceColorTertiaryPressed": "#E0DEDC",
|
|
44
44
|
"bcdsSurfaceColorTertiaryDisabled": "#EDEBE9",
|
|
@@ -114,7 +114,6 @@ module.exports = {
|
|
|
114
114
|
"bcdsTypographyLineHeightsAuto": "AUTO",
|
|
115
115
|
"bcdsTypographyFontWeightsRegular": 400,
|
|
116
116
|
"bcdsTypographyFontWeightsBold": 700,
|
|
117
|
-
"bcdsTypographyFontWeightsItalic": "Italic", // DEPRECATED - will be removed in next major version.
|
|
118
117
|
"bcdsTypographyFontWeightsItalicWeight": 400,
|
|
119
118
|
"bcdsTypographyFontWeightsItalicStyle": "italic",
|
|
120
119
|
"bcdsTypographyFontSizeLabel": "0.75rem",
|
package/css/variables.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--surface-color-tertiary-button-default: rgba(255,255,255,0); /* Default fill colour for tertiary buttons */
|
|
39
39
|
--surface-color-tertiary-button-hover: #ECEAE8; /* Fill colour used when user hovers over tertiary button */
|
|
40
40
|
--surface-color-tertiary-button-disabled: #EDEBE9; /* Fill colour for inactive tertiary buttons */
|
|
41
|
-
--surface-color-tertiary-default: #
|
|
41
|
+
--surface-color-tertiary-default: #FFFFFF00; /* Alternative light theme colour for components and layout */
|
|
42
42
|
--surface-color-tertiary-hover: #ECEAE8; /* Hover variant of surface.color.tertiary.default */
|
|
43
43
|
--surface-color-tertiary-pressed: #E0DEDC; /* Selected/pressed variant of surface.color.tertiary.default */
|
|
44
44
|
--surface-color-tertiary-disabled: #EDEBE9; /* Disabled/inactive variant of surface.color.tertiary default */
|
|
@@ -114,7 +114,6 @@
|
|
|
114
114
|
--typography-line-heights-auto: AUTO; /* System token, used to generate type styles */
|
|
115
115
|
--typography-font-weights-regular: 400; /* System token, used to generate text styles */
|
|
116
116
|
--typography-font-weights-bold: 700; /* System token, used to generate text styles */
|
|
117
|
-
--typography-font-weights-italic: Italic; /* DEPRECATED - will be removed in next major version. */
|
|
118
117
|
--typography-font-weights-italic-weight: 400; /* System token, used to generate text styles */
|
|
119
118
|
--typography-font-weights-italic-style: italic; /* System token, used to generate text styles */
|
|
120
119
|
--typography-font-size-label: 0.75rem;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
--bcds-surface-color-tertiary-button-default: rgba(255,255,255,0); /* Default fill colour for tertiary buttons */
|
|
39
39
|
--bcds-surface-color-tertiary-button-hover: #ECEAE8; /* Fill colour used when user hovers over tertiary button */
|
|
40
40
|
--bcds-surface-color-tertiary-button-disabled: #EDEBE9; /* Fill colour for inactive tertiary buttons */
|
|
41
|
-
--bcds-surface-color-tertiary-default: #
|
|
41
|
+
--bcds-surface-color-tertiary-default: #FFFFFF00; /* Alternative light theme colour for components and layout */
|
|
42
42
|
--bcds-surface-color-tertiary-hover: #ECEAE8; /* Hover variant of surface.color.tertiary.default */
|
|
43
43
|
--bcds-surface-color-tertiary-pressed: #E0DEDC; /* Selected/pressed variant of surface.color.tertiary.default */
|
|
44
44
|
--bcds-surface-color-tertiary-disabled: #EDEBE9; /* Disabled/inactive variant of surface.color.tertiary default */
|
|
@@ -114,7 +114,6 @@
|
|
|
114
114
|
--bcds-typography-line-heights-auto: AUTO; /* System token, used to generate type styles */
|
|
115
115
|
--bcds-typography-font-weights-regular: 400; /* System token, used to generate text styles */
|
|
116
116
|
--bcds-typography-font-weights-bold: 700; /* System token, used to generate text styles */
|
|
117
|
-
--bcds-typography-font-weights-italic: Italic; /* DEPRECATED - will be removed in next major version. */
|
|
118
117
|
--bcds-typography-font-weights-italic-weight: 400; /* System token, used to generate text styles */
|
|
119
118
|
--bcds-typography-font-weights-italic-style: italic; /* System token, used to generate text styles */
|
|
120
119
|
--bcds-typography-font-size-label: 0.75rem;
|
package/js/index.d.ts
CHANGED
|
@@ -188,8 +188,6 @@ export const typographyLineHeightsAuto : string;
|
|
|
188
188
|
export const typographyFontWeightsRegular : number;
|
|
189
189
|
/** System token, used to generate text styles */
|
|
190
190
|
export const typographyFontWeightsBold : number;
|
|
191
|
-
/** DEPRECATED - will be removed in next major version. */
|
|
192
|
-
export const typographyFontWeightsItalic : string;
|
|
193
191
|
/** System token, used to generate text styles */
|
|
194
192
|
export const typographyFontWeightsItalicWeight : number;
|
|
195
193
|
/** System token, used to generate text styles */
|
package/js/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export const surfaceColorSecondaryDisabled = "#EDEBE9"; // Disabled/inactive var
|
|
|
37
37
|
export const surfaceColorTertiaryButtonDefault = "rgba(255,255,255,0)"; // Default fill colour for tertiary buttons
|
|
38
38
|
export const surfaceColorTertiaryButtonHover = "#ECEAE8"; // Fill colour used when user hovers over tertiary button
|
|
39
39
|
export const surfaceColorTertiaryButtonDisabled = "#EDEBE9"; // Fill colour for inactive tertiary buttons
|
|
40
|
-
export const surfaceColorTertiaryDefault = "#
|
|
40
|
+
export const surfaceColorTertiaryDefault = "#FFFFFF00"; // Alternative light theme colour for components and layout
|
|
41
41
|
export const surfaceColorTertiaryHover = "#ECEAE8"; // Hover variant of surface.color.tertiary.default
|
|
42
42
|
export const surfaceColorTertiaryPressed = "#E0DEDC"; // Selected/pressed variant of surface.color.tertiary.default
|
|
43
43
|
export const surfaceColorTertiaryDisabled = "#EDEBE9"; // Disabled/inactive variant of surface.color.tertiary default
|
|
@@ -113,7 +113,6 @@ export const typographyLineHeightsXxsparse = "3.375rem"; // Largest line height
|
|
|
113
113
|
export const typographyLineHeightsAuto = "AUTO"; // System token, used to generate type styles
|
|
114
114
|
export const typographyFontWeightsRegular = 400; // System token, used to generate text styles
|
|
115
115
|
export const typographyFontWeightsBold = 700; // System token, used to generate text styles
|
|
116
|
-
export const typographyFontWeightsItalic = "Italic"; // DEPRECATED - will be removed in next major version.
|
|
117
116
|
export const typographyFontWeightsItalicWeight = 400; // System token, used to generate text styles
|
|
118
117
|
export const typographyFontWeightsItalicStyle = "italic"; // System token, used to generate text styles
|
|
119
118
|
export const typographyFontSizeLabel = "0.75rem";
|
package/js-prefixed/index.d.ts
CHANGED
|
@@ -188,8 +188,6 @@ export const bcdsTypographyLineHeightsAuto : string;
|
|
|
188
188
|
export const bcdsTypographyFontWeightsRegular : number;
|
|
189
189
|
/** System token, used to generate text styles */
|
|
190
190
|
export const bcdsTypographyFontWeightsBold : number;
|
|
191
|
-
/** DEPRECATED - will be removed in next major version. */
|
|
192
|
-
export const bcdsTypographyFontWeightsItalic : string;
|
|
193
191
|
/** System token, used to generate text styles */
|
|
194
192
|
export const bcdsTypographyFontWeightsItalicWeight : number;
|
|
195
193
|
/** System token, used to generate text styles */
|
package/js-prefixed/index.js
CHANGED
|
@@ -37,7 +37,7 @@ export const bcdsSurfaceColorSecondaryDisabled = "#EDEBE9"; // Disabled/inactive
|
|
|
37
37
|
export const bcdsSurfaceColorTertiaryButtonDefault = "rgba(255,255,255,0)"; // Default fill colour for tertiary buttons
|
|
38
38
|
export const bcdsSurfaceColorTertiaryButtonHover = "#ECEAE8"; // Fill colour used when user hovers over tertiary button
|
|
39
39
|
export const bcdsSurfaceColorTertiaryButtonDisabled = "#EDEBE9"; // Fill colour for inactive tertiary buttons
|
|
40
|
-
export const bcdsSurfaceColorTertiaryDefault = "#
|
|
40
|
+
export const bcdsSurfaceColorTertiaryDefault = "#FFFFFF00"; // Alternative light theme colour for components and layout
|
|
41
41
|
export const bcdsSurfaceColorTertiaryHover = "#ECEAE8"; // Hover variant of surface.color.tertiary.default
|
|
42
42
|
export const bcdsSurfaceColorTertiaryPressed = "#E0DEDC"; // Selected/pressed variant of surface.color.tertiary.default
|
|
43
43
|
export const bcdsSurfaceColorTertiaryDisabled = "#EDEBE9"; // Disabled/inactive variant of surface.color.tertiary default
|
|
@@ -113,7 +113,6 @@ export const bcdsTypographyLineHeightsXxsparse = "3.375rem"; // Largest line hei
|
|
|
113
113
|
export const bcdsTypographyLineHeightsAuto = "AUTO"; // System token, used to generate type styles
|
|
114
114
|
export const bcdsTypographyFontWeightsRegular = 400; // System token, used to generate text styles
|
|
115
115
|
export const bcdsTypographyFontWeightsBold = 700; // System token, used to generate text styles
|
|
116
|
-
export const bcdsTypographyFontWeightsItalic = "Italic"; // DEPRECATED - will be removed in next major version.
|
|
117
116
|
export const bcdsTypographyFontWeightsItalicWeight = 400; // System token, used to generate text styles
|
|
118
117
|
export const bcdsTypographyFontWeightsItalicStyle = "italic"; // System token, used to generate text styles
|
|
119
118
|
export const bcdsTypographyFontSizeLabel = "0.75rem";
|