@sage/design-tokens 17.5.0 → 17.6.0
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/assets/fonts/sageui.css +1 -1
- package/css/components/badge.css +1 -1
- package/css/components/button.css +4 -4
- package/css/components/container.css +1 -1
- package/css/components/dataviz.css +1 -1
- package/css/components/focus.css +1 -1
- package/css/components/input.css +1 -1
- package/css/components/link.css +2 -2
- package/css/components/logo.css +1 -1
- package/css/components/message.css +1 -1
- package/css/components/nav.css +1 -1
- package/css/components/page.css +1 -1
- package/css/components/pill.css +1 -1
- package/css/components/popover.css +1 -1
- package/css/components/profile.css +1 -1
- package/css/components/progress.css +1 -1
- package/css/components/tab.css +1 -1
- package/css/components/table.css +3 -3
- package/css/dark.css +3 -1
- package/css/global.css +8 -8
- package/css/light.css +3 -1
- package/js/ES6/index.js +1 -1
- package/js/common/components/badge.d.ts +1 -1
- package/js/common/components/badge.js +1 -1
- package/js/common/components/button.d.ts +1 -1
- package/js/common/components/button.js +1 -1
- package/js/common/components/container.d.ts +1 -1
- package/js/common/components/container.js +1 -1
- package/js/common/components/dataviz.d.ts +1 -1
- package/js/common/components/dataviz.js +1 -1
- package/js/common/components/focus.d.ts +1 -1
- package/js/common/components/focus.js +1 -1
- package/js/common/components/input.d.ts +1 -1
- package/js/common/components/input.js +1 -1
- package/js/common/components/link.d.ts +1 -1
- package/js/common/components/link.js +1 -1
- package/js/common/components/logo.d.ts +1 -1
- package/js/common/components/logo.js +1 -1
- package/js/common/components/message.d.ts +1 -1
- package/js/common/components/message.js +1 -1
- package/js/common/components/nav.d.ts +1 -1
- package/js/common/components/nav.js +1 -1
- package/js/common/components/page.d.ts +1 -1
- package/js/common/components/page.js +1 -1
- package/js/common/components/pill.d.ts +1 -1
- package/js/common/components/pill.js +1 -1
- package/js/common/components/popover.d.ts +1 -1
- package/js/common/components/popover.js +1 -1
- package/js/common/components/profile.d.ts +1 -1
- package/js/common/components/profile.js +1 -1
- package/js/common/components/progress.d.ts +1 -1
- package/js/common/components/progress.js +1 -1
- package/js/common/components/tab.d.ts +1 -1
- package/js/common/components/tab.js +1 -1
- package/js/common/components/table.d.ts +1 -1
- package/js/common/components/table.js +3 -3
- package/js/common/dark.d.ts +3 -1
- package/js/common/dark.js +3 -1
- package/js/common/global.d.ts +1 -1
- package/js/common/global.js +1 -1
- package/js/common/index.js +1 -1
- package/js/common/light.d.ts +3 -1
- package/js/common/light.js +3 -1
- package/js/es6/components/badge.d.ts +1 -1
- package/js/es6/components/badge.js +1 -1
- package/js/es6/components/button.d.ts +1 -1
- package/js/es6/components/button.js +1 -1
- package/js/es6/components/container.d.ts +1 -1
- package/js/es6/components/container.js +1 -1
- package/js/es6/components/dataviz.d.ts +1 -1
- package/js/es6/components/dataviz.js +1 -1
- package/js/es6/components/focus.d.ts +1 -1
- package/js/es6/components/focus.js +1 -1
- package/js/es6/components/input.d.ts +1 -1
- package/js/es6/components/input.js +1 -1
- package/js/es6/components/link.d.ts +1 -1
- package/js/es6/components/link.js +1 -1
- package/js/es6/components/logo.d.ts +1 -1
- package/js/es6/components/logo.js +1 -1
- package/js/es6/components/message.d.ts +1 -1
- package/js/es6/components/message.js +1 -1
- package/js/es6/components/nav.d.ts +1 -1
- package/js/es6/components/nav.js +1 -1
- package/js/es6/components/page.d.ts +1 -1
- package/js/es6/components/page.js +1 -1
- package/js/es6/components/pill.d.ts +1 -1
- package/js/es6/components/pill.js +1 -1
- package/js/es6/components/popover.d.ts +1 -1
- package/js/es6/components/popover.js +1 -1
- package/js/es6/components/profile.d.ts +1 -1
- package/js/es6/components/profile.js +1 -1
- package/js/es6/components/progress.d.ts +1 -1
- package/js/es6/components/progress.js +1 -1
- package/js/es6/components/tab.d.ts +1 -1
- package/js/es6/components/tab.js +1 -1
- package/js/es6/components/table.d.ts +1 -1
- package/js/es6/components/table.js +3 -3
- package/js/es6/dark.d.ts +3 -1
- package/js/es6/dark.js +3 -1
- package/js/es6/global.d.ts +1 -1
- package/js/es6/global.js +1 -1
- package/js/es6/light.d.ts +3 -1
- package/js/es6/light.js +3 -1
- package/json/components/table.json +2 -2
- package/json/dark.json +2 -0
- package/json/light.json +2 -0
- package/package.json +1 -1
- package/scss/components/badge.scss +1 -1
- package/scss/components/button.scss +1 -1
- package/scss/components/container.scss +1 -1
- package/scss/components/dataviz.scss +1 -1
- package/scss/components/focus.scss +1 -1
- package/scss/components/input.scss +1 -1
- package/scss/components/link.scss +1 -1
- package/scss/components/logo.scss +1 -1
- package/scss/components/message.scss +1 -1
- package/scss/components/nav.scss +1 -1
- package/scss/components/page.scss +1 -1
- package/scss/components/pill.scss +1 -1
- package/scss/components/popover.scss +1 -1
- package/scss/components/profile.scss +1 -1
- package/scss/components/progress.scss +1 -1
- package/scss/components/tab.scss +1 -1
- package/scss/components/table.scss +3 -3
- package/scss/dark.scss +3 -1
- package/scss/global.scss +8 -8
- package/scss/light.scss +3 -1
package/assets/fonts/sageui.css
CHANGED
package/css/components/badge.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
--button-typical-secondary-inverse-border-disabled: var(--mode-color-action-inactive-inverse-default);
|
|
51
51
|
--button-typical-secondary-inverse-border-hover: var(--mode-color-action-main-inverse-hover);
|
|
52
52
|
--button-typical-secondary-inverse-label-active: var(--mode-color-action-grayscale-inverse-with-active-alt);
|
|
53
|
+
--button-typical-secondary-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
53
54
|
--button-typical-secondary-inverse-label-hover: var(--mode-color-action-grayscale-inverse-with-hover);
|
|
54
55
|
--button-typical-tertiary-border-active: var(--mode-color-action-main-active);
|
|
55
56
|
--button-typical-tertiary-border-disabled: var(--mode-color-action-inactive-default);
|
|
@@ -60,10 +61,12 @@
|
|
|
60
61
|
--button-typical-tertiary-inverse-border-disabled: var(--mode-color-action-inactive-inverse-default);
|
|
61
62
|
--button-typical-tertiary-inverse-border-hover: var(--mode-color-action-main-inverse-hover);
|
|
62
63
|
--button-typical-tertiary-inverse-label-active: var(--mode-color-action-grayscale-inverse-with-active-alt);
|
|
64
|
+
--button-typical-tertiary-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
63
65
|
--button-typical-tertiary-inverse-label-hover: var(--mode-color-action-grayscale-inverse-with-hover);
|
|
64
66
|
--button-typical-subtle-label-active: var(--mode-color-action-grayscale-with-active-alt);
|
|
65
67
|
--button-typical-subtle-label-hover: var(--mode-color-action-grayscale-with-hover);
|
|
66
68
|
--button-typical-subtle-inverse-label-active: var(--mode-color-action-grayscale-inverse-with-active-alt);
|
|
69
|
+
--button-typical-subtle-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
67
70
|
--button-typical-subtle-inverse-label-hover: var(--mode-color-action-grayscale-inverse-with-hover);
|
|
68
71
|
--button-typical-toggle-bg-active-disabled: var(--mode-color-action-inactive-default);
|
|
69
72
|
--button-typical-toggle-bg-active: var(--mode-color-action-grayscale-active);
|
|
@@ -89,7 +92,6 @@
|
|
|
89
92
|
--button-typical-secondary-inverse-bg-default: var(--mode-color-action-main-inverse-default-alt3);
|
|
90
93
|
--button-typical-secondary-inverse-bg-hover: var(--mode-color-action-main-inverse-hover-alt);
|
|
91
94
|
--button-typical-secondary-inverse-border-default: var(--mode-color-action-main-inverse-default-alt);
|
|
92
|
-
--button-typical-secondary-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
93
95
|
--button-typical-tertiary-bg-active: var(--mode-color-action-main-active-alt);
|
|
94
96
|
--button-typical-tertiary-bg-default: var(--button-none);
|
|
95
97
|
--button-typical-tertiary-bg-hover: var(--mode-color-action-main-hover-alt);
|
|
@@ -99,13 +101,11 @@
|
|
|
99
101
|
--button-typical-tertiary-inverse-bg-default: var(--button-none);
|
|
100
102
|
--button-typical-tertiary-inverse-bg-hover: var(--mode-color-action-main-inverse-hover-alt);
|
|
101
103
|
--button-typical-tertiary-inverse-border-default: var(--mode-color-action-main-inverse-default-alt);
|
|
102
|
-
--button-typical-tertiary-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
103
104
|
--button-typical-subtle-bg-active: var(--mode-color-action-grayscale-active-alt);
|
|
104
105
|
--button-typical-subtle-bg-hover: var(--mode-color-action-grayscale-hover-alt);
|
|
105
106
|
--button-typical-subtle-label-default: var(--mode-color-action-grayscale-default);
|
|
106
107
|
--button-typical-subtle-inverse-bg-active: var(--mode-color-action-grayscale-inverse-active-alt);
|
|
107
108
|
--button-typical-subtle-inverse-bg-hover: var(--mode-color-action-grayscale-inverse-hover-alt);
|
|
108
|
-
--button-typical-subtle-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
109
109
|
--button-typical-toggle-label-active-disabled: var(--mode-color-action-inactive-txt-alt);
|
|
110
110
|
--button-typical-toggle-bg-hover: var(--mode-color-action-grayscale-hover-alt);
|
|
111
111
|
--button-typical-toggle-border-default: var(--mode-color-action-grayscale-default);
|
package/css/components/focus.css
CHANGED
package/css/components/input.css
CHANGED
package/css/components/link.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--link-typical-inverse-label-default: var(--mode-color-action-main-inverse-default-alt2);
|
|
17
17
|
--link-typical-inverse-label-hover: var(--mode-color-action-main-inverse-hover-alt2);
|
|
18
18
|
--link-subtle-label-hover: var(--mode-color-action-grayscale-active);
|
|
19
|
-
--link-subtle-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
20
19
|
--link-subtle-inverse-label-hover: var(--mode-color-action-grayscale-inverse-active);
|
|
21
20
|
--link-subtle-label-default: var(--mode-color-action-grayscale-default);
|
|
21
|
+
--link-subtle-inverse-label-default: var(--mode-color-action-grayscale-inverse-default);
|
|
22
22
|
}
|
package/css/components/logo.css
CHANGED
package/css/components/nav.css
CHANGED
package/css/components/page.css
CHANGED
package/css/components/pill.css
CHANGED
package/css/components/tab.css
CHANGED
package/css/components/table.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
--table-header-subtle-bg-alt: var(--mode-color-generic-bg-faint);
|
|
11
11
|
--table-header-subtle-bg-default: var(--mode-color-none);
|
|
12
12
|
--table-header-subtle-border-default: var(--mode-color-generic-fg-soft);
|
|
13
|
+
--table-header-harsh-bg-alt: var(--mode-color-generic-surface-severe);
|
|
14
|
+
--table-header-harsh-bg-default: var(--mode-color-generic-surface-harsh);
|
|
13
15
|
--table-header-harsh-border-default: var(--mode-color-generic-fg-soft);
|
|
14
16
|
--table-row-bg-default: var(--mode-color-generic-bg-nought);
|
|
15
17
|
--table-row-bg-alt: var(--mode-color-generic-bg-delicate);
|
|
@@ -21,8 +23,6 @@
|
|
|
21
23
|
--table-footer-bg-default: var(--mode-color-generic-bg-soft);
|
|
22
24
|
--table-footer-border-default: var(--mode-color-generic-fg-soft);
|
|
23
25
|
--table-header-subtle-label-default: var(--mode-color-generic-txt-severe);
|
|
24
|
-
--table-header-harsh-bg-alt: var(--mode-color-action-grayscale-default);
|
|
25
|
-
--table-header-harsh-bg-default: var(--mode-color-action-grayscale-default-alt);
|
|
26
26
|
--table-header-harsh-label-default: var(--mode-color-generic-txt-inverse-severe);
|
|
27
27
|
--table-row-label-default: var(--mode-color-generic-txt-severe);
|
|
28
28
|
--table-footer-label-default: var(--mode-color-generic-txt-severe);
|
package/css/dark.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
--mode-color-generic-fg-inverse-extreme: #000000;
|
|
94
94
|
--mode-color-generic-surface-nought: #000000;
|
|
95
95
|
--mode-color-generic-surface-faint: #253b4e;
|
|
96
|
+
--mode-color-generic-surface-harsh: #d1d6da;
|
|
97
|
+
--mode-color-generic-surface-severe: #e8eaec;
|
|
96
98
|
--mode-color-action-ai-grad-active: linear-gradient(90deg, #00d63926 0%, #00d6de26 40%, #9d60ff26 90%);
|
|
97
99
|
--mode-color-action-ai-grad-hover: linear-gradient(90deg, #00d63914 0%, #00d6de14 40%, #9d60ff14 90%);
|
|
98
100
|
--mode-color-action-ai-grad-default: linear-gradient(90deg, #00d639 0%, #00d6de 40%, #9d60ff 90%);
|
package/css/global.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
--global-radius-action-xl: 20px;
|
|
115
115
|
--global-radius-action-2-xl: 24px;
|
|
116
116
|
--global-radius-action-circle: 999px;
|
|
117
|
-
--global-depth-none:
|
|
118
|
-
--global-depth-lvl1:
|
|
119
|
-
--global-depth-lvl2:
|
|
120
|
-
--global-depth-lvl3:
|
|
121
|
-
--global-depth-sticky-b:
|
|
122
|
-
--global-depth-sticky-l:
|
|
123
|
-
--global-depth-sticky-r:
|
|
117
|
+
--global-depth-none: 0 0 0 0 rgba(0,0,0,0);
|
|
118
|
+
--global-depth-lvl1: 0 1px 2px 0 #0000001A, 2px 2px 10px 0 #00000033;
|
|
119
|
+
--global-depth-lvl2: 0 2px 3px 0 #0000001A, 6px 6px 30px 0 #00000026;
|
|
120
|
+
--global-depth-lvl3: 0 3px 4px 0 #0000001A, 10px 10px 60px 0 #0000001A;
|
|
121
|
+
--global-depth-sticky-b: 0 -1px 2px 0 #0000001A, 2px -2px 10px 0 #00000033;
|
|
122
|
+
--global-depth-sticky-l: -2px 0 2px 0 #0000001A, -5px 0 5px 0 #0000001A;
|
|
123
|
+
--global-depth-sticky-r: 2px 0 2px 0 #0000001A, 5px 0 5px 0 #0000001A;
|
|
124
124
|
--global-size-none: 0px;
|
|
125
125
|
--global-size-6-xs: 2px;
|
|
126
126
|
--global-size-5-xs: 4px;
|
package/css/light.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -93,6 +93,8 @@
|
|
|
93
93
|
--mode-color-generic-fg-inverse-extreme: #FFFFFF;
|
|
94
94
|
--mode-color-generic-surface-nought: #FFFFFF;
|
|
95
95
|
--mode-color-generic-surface-faint: #f4f5f6;
|
|
96
|
+
--mode-color-generic-surface-harsh: #475a6a;
|
|
97
|
+
--mode-color-generic-surface-severe: #304658;
|
|
96
98
|
--mode-color-action-ai-grad-active: linear-gradient(90deg, #13a03826 0%, #14919726 40%, #a87cfb26 90%);
|
|
97
99
|
--mode-color-action-ai-grad-hover: linear-gradient(90deg, #13a03814 0%, #14919714 40%, #a87cfb14 90%);
|
|
98
100
|
--mode-color-action-ai-grad-default: linear-gradient(90deg, #13a038 0%, #149197 40%, #a87cfb 90%);
|
package/js/ES6/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
module.exports.tableHeaderSubtleBgAlt = "var(--mode-color-generic-bg-faint)";
|
|
6
6
|
module.exports.tableHeaderSubtleBgDefault = "var(--mode-color-none)";
|
|
7
7
|
module.exports.tableHeaderSubtleBorderDefault = "var(--mode-color-generic-fg-soft)";
|
|
8
8
|
module.exports.tableHeaderSubtleLabelDefault = "var(--mode-color-generic-txt-severe)";
|
|
9
|
-
module.exports.tableHeaderHarshBgAlt = "var(--mode-color-
|
|
10
|
-
module.exports.tableHeaderHarshBgDefault = "var(--mode-color-
|
|
9
|
+
module.exports.tableHeaderHarshBgAlt = "var(--mode-color-generic-surface-severe)";
|
|
10
|
+
module.exports.tableHeaderHarshBgDefault = "var(--mode-color-generic-surface-harsh)";
|
|
11
11
|
module.exports.tableHeaderHarshBorderDefault = "var(--mode-color-generic-fg-soft)";
|
|
12
12
|
module.exports.tableHeaderHarshLabelDefault = "var(--mode-color-generic-txt-inverse-severe)";
|
|
13
13
|
module.exports.tableRowBgDefault = "var(--mode-color-generic-bg-nought)";
|
package/js/common/dark.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -155,6 +155,8 @@ declare const tokens: {
|
|
|
155
155
|
surface: {
|
|
156
156
|
nought: DesignToken;
|
|
157
157
|
faint: DesignToken;
|
|
158
|
+
harsh: DesignToken;
|
|
159
|
+
severe: DesignToken;
|
|
158
160
|
};
|
|
159
161
|
};
|
|
160
162
|
action: {
|
package/js/common/dark.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
module.exports.modeColorNone = "#fff0";
|
|
@@ -88,6 +88,8 @@ module.exports.modeColorGenericFgInverseFirm = "#75838f";
|
|
|
88
88
|
module.exports.modeColorGenericFgInverseExtreme = "#000000";
|
|
89
89
|
module.exports.modeColorGenericSurfaceNought = "#000000";
|
|
90
90
|
module.exports.modeColorGenericSurfaceFaint = "#253b4e";
|
|
91
|
+
module.exports.modeColorGenericSurfaceHarsh = "#d1d6da";
|
|
92
|
+
module.exports.modeColorGenericSurfaceSevere = "#e8eaec";
|
|
91
93
|
module.exports.modeColorActionAiGradActive = "linear-gradient(90deg, #00d63926 0%, #00d6de26 40%, #9d60ff26 90%)";
|
|
92
94
|
module.exports.modeColorActionAiGradHover = "linear-gradient(90deg, #00d63914 0%, #00d6de14 40%, #9d60ff14 90%)";
|
|
93
95
|
module.exports.modeColorActionAiGradDefault = "linear-gradient(90deg, #00d639 0%, #00d6de 40%, #9d60ff 90%)";
|
package/js/common/global.d.ts
CHANGED
package/js/common/global.js
CHANGED