@central-design-system/components 3.2.0 → 3.3.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/dist/cds.css +1 -1
- package/dist/cds.es.js +7839 -7459
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsAutocomplete/CdsAutocomplete.d.ts +2 -2
- package/dist/components/CdsBadge/CdsBadge.d.ts +2 -2
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbs.d.ts +2 -2
- package/dist/components/CdsBreadcrumbs/CdsBreadcrumbsItem.d.ts +2 -2
- package/dist/components/CdsButton/CdsButton.d.ts +6 -6
- package/dist/components/CdsCard/CdsCard.d.ts +2 -2
- package/dist/components/CdsCard/CdsCardGroup.d.ts +2 -2
- package/dist/components/CdsCheckbox/CdsCheckbox.d.ts +4 -4
- package/dist/components/CdsCheckbox/CdsCheckboxGroup.d.ts +5 -5
- package/dist/components/CdsCombobox/CdsCombobox.d.ts +68 -68
- package/dist/components/CdsContainer/CdsContainer.d.ts +2 -2
- package/dist/components/CdsContentSwitcher/CdsContentSwitcher.d.ts +2 -2
- package/dist/components/CdsDatePicker/CdsDatePicker.d.ts +2 -2
- package/dist/components/CdsDivider/CdsDivider.d.ts +2 -2
- package/dist/components/CdsDrawer/CdsDrawer.d.ts +2 -2
- package/dist/components/CdsDropdown/CdsDropdown.d.ts +68 -68
- package/dist/components/CdsEmptyState/CdsEmptyState.d.ts +2 -2
- package/dist/components/CdsExpandablePanel/CdsExpandablePanels.d.ts +2 -2
- package/dist/components/CdsFooter/CdsFooter.d.ts +2 -2
- package/dist/components/CdsForm/CdsForm.d.ts +2 -2
- package/dist/components/CdsHeader/CdsHeader.d.ts +2 -2
- package/dist/components/CdsIcon/CdsIcon.d.ts +2 -2
- package/dist/components/CdsImage/CdsImage.d.ts +2 -2
- package/dist/components/CdsInput/CdsInput.d.ts +2 -2
- package/dist/components/CdsLayout/CdsLayout.d.ts +2 -2
- package/dist/components/CdsLink/CdsLink.d.ts +2 -2
- package/dist/components/CdsList/CdsList.d.ts +2 -2
- package/dist/components/CdsList/CdsListItem.d.ts +2 -2
- package/dist/components/CdsLoader/CdsLoader.d.ts +2 -2
- package/dist/components/CdsMenu/CdsMenu.d.ts +2 -2
- package/dist/components/CdsModal/CdsModal.d.ts +2 -2
- package/dist/components/CdsNotification/CdsNotification.d.ts +2 -2
- package/dist/components/CdsNotification/CdsNotificationAlert.d.ts +2 -2
- package/dist/components/CdsPagination/CdsPagination.d.ts +2 -2
- package/dist/components/CdsProgress/CdsProgress.d.ts +2 -2
- package/dist/components/CdsRadioButton/CdsRadio.d.ts +6 -6
- package/dist/components/CdsRadioButton/CdsRadioButton.d.ts +5 -5
- package/dist/components/CdsSelect/CdsSelect.d.ts +13 -13
- package/dist/components/CdsSidebar/CdsSidebar.d.ts +2 -2
- package/dist/components/CdsSkeletonLoader/CdsSkeletonLoader.d.ts +2 -2
- package/dist/components/CdsStages/CdsStages.d.ts +2 -2
- package/dist/components/CdsStatus/CdsStatus.d.ts +4 -4
- package/dist/components/CdsSteps/CdsSteps.d.ts +2 -2
- package/dist/components/CdsTable/CdsTable.d.ts +2 -2
- package/dist/components/CdsTable/components/TableProvider.d.ts +2 -2
- package/dist/components/CdsTabs/CdsTabs.d.ts +2 -2
- package/dist/components/CdsTag/CdsTag.d.ts +4 -4
- package/dist/components/CdsTextArea/CdsTextArea.d.ts +13 -13
- package/dist/components/CdsTextInput/CdsTextInput.d.ts +13 -13
- package/dist/components/CdsTimePicker/CdsTimePicker.d.ts +2 -2
- package/dist/components/CdsToggle/CdsToggle.d.ts +2 -2
- package/dist/components/CdsToolbar/CdsToolbar.d.ts +2 -2
- package/dist/components/CdsTooltip/CdsTooltip.d.ts +2 -2
- package/dist/components/CdsTree/CdsTree.d.ts +2 -2
- package/dist/components/CdsUploader/CdsUploader.d.ts +8 -8
- package/dist/components/CdsUploader/components/AjaxUploader.d.ts +6 -6
- package/dist/composable/theme.d.ts +2 -2
- package/dist/themes/colors.d.ts +2 -2
- package/dist/themes/index.d.ts +2 -0
- package/dist/themes/promoDark.d.ts +190 -0
- package/dist/themes/promoLight.d.ts +190 -0
- package/dist/utils/helpers.d.ts +5 -0
- package/package.json +2 -2
- package/src/themes/colors.ts +2 -2
- package/src/themes/css/promoDark.css +184 -0
- package/src/themes/css/promoLight.css +184 -0
- package/src/themes/index.ts +2 -0
- package/src/themes/promoDark.ts +191 -0
- package/src/themes/promoLight.ts +191 -0
package/dist/themes/colors.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Automatically generated by CDS CLI from CDS Server
|
|
3
|
-
* Generated on
|
|
4
|
-
* Updated on
|
|
3
|
+
* Generated on 7/23/2025, 11:22:02 AM
|
|
4
|
+
* Updated on 2025-07-23T10:21:22.451Z
|
|
5
5
|
**/
|
|
6
6
|
declare const _default: {
|
|
7
7
|
red: Readonly<{
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export { default as cdsLight } from './cdsLight';
|
|
|
3
3
|
export { default as cdsDark } from './cdsDark';
|
|
4
4
|
export { default as b2bLight } from './b2bLight';
|
|
5
5
|
export { default as b2bDark } from './b2bDark';
|
|
6
|
+
export { default as promoLight } from './promoLight';
|
|
7
|
+
export { default as promoDark } from './promoDark';
|
|
6
8
|
export { default as colors } from './colors';
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
dark: boolean;
|
|
3
|
+
colors: {
|
|
4
|
+
'surface-secondary': "#33373F";
|
|
5
|
+
'surface-primary': "#272A30";
|
|
6
|
+
'surface-overlay': "#272A30CC";
|
|
7
|
+
'surface-inverse': "#DCDDE3";
|
|
8
|
+
'surface-elevated': "#33373F";
|
|
9
|
+
'status-warning-surface': "#C9A449";
|
|
10
|
+
'status-warning-line': "#BE9737";
|
|
11
|
+
'status-warning-fill-hover': "#8A6502";
|
|
12
|
+
'status-warning-fill': "#614301";
|
|
13
|
+
'status-warning-content': "#EADBBA";
|
|
14
|
+
'status-success-surface': "#6EBA66";
|
|
15
|
+
'status-success-line': "#5DAF55";
|
|
16
|
+
'status-success-fill-hover': "#1F7C22";
|
|
17
|
+
'status-success-fill': "#0D5512";
|
|
18
|
+
'status-success-content': "#CAE4C4";
|
|
19
|
+
'status-progress-surface': "#4DB1FF";
|
|
20
|
+
'status-progress-line': "#0EA4F8";
|
|
21
|
+
'status-progress-fill-hover': "#0172AC";
|
|
22
|
+
'status-progress-fill': "#014F77";
|
|
23
|
+
'status-progress-content': "#C7E0FF";
|
|
24
|
+
'status-info-surface': "#A5A9B2";
|
|
25
|
+
'status-info-line': "#989DA8";
|
|
26
|
+
'status-info-fill-hover': "#666C79";
|
|
27
|
+
'status-info-fill': "#454951";
|
|
28
|
+
'status-info-content': "#DCDDE3";
|
|
29
|
+
'status-indication-surface': "#FF9E92";
|
|
30
|
+
'status-indication-line': "#FF9E92";
|
|
31
|
+
'status-indication-fill-hover': "#B8423D";
|
|
32
|
+
'status-indication-fill': "#822825";
|
|
33
|
+
'status-indication-content': "#FFD2CC";
|
|
34
|
+
'status-danger-surface': "#FF9E92";
|
|
35
|
+
'status-danger-line': "#FF9E92";
|
|
36
|
+
'status-danger-fill-hover': "#B8423D";
|
|
37
|
+
'status-danger-fill': "#822825";
|
|
38
|
+
'status-danger-content': "#FFD2CC";
|
|
39
|
+
'page-primary': "#1A1A1A";
|
|
40
|
+
'other-teal-surface': "#0ABACE";
|
|
41
|
+
'other-teal-line': "#01ACBF";
|
|
42
|
+
'other-teal-fill-hover': "#007886";
|
|
43
|
+
'other-teal-fill': "#04525B";
|
|
44
|
+
'other-teal-content': "#D4F2F7";
|
|
45
|
+
'other-purple-surface': "#B79AF5";
|
|
46
|
+
'other-purple-line': "#AE8BEE";
|
|
47
|
+
'other-purple-fill-hover': "#8457B8";
|
|
48
|
+
'other-purple-fill': "#5E3882";
|
|
49
|
+
'other-purple-content': "#F3E9FE";
|
|
50
|
+
'other-pink-surface': "#E889D1";
|
|
51
|
+
'other-pink-line': "#E078C7";
|
|
52
|
+
'other-pink-fill-hover': "#AC4296";
|
|
53
|
+
'other-pink-fill': "#7A2869";
|
|
54
|
+
'other-pink-content': "#FDE6F6";
|
|
55
|
+
'other-lime-surface': "#9BB24D";
|
|
56
|
+
'other-lime-line': "#8DA63B";
|
|
57
|
+
'other-lime-fill-hover': "#5B7400";
|
|
58
|
+
'other-lime-fill': "#3D4F00";
|
|
59
|
+
'other-lime-content': "#EBEED8";
|
|
60
|
+
'other-lemon-surface': "#ABAE48";
|
|
61
|
+
'other-lemon-line': "#9DA235";
|
|
62
|
+
'other-lemon-fill-hover': "#6A7100";
|
|
63
|
+
'other-lemon-fill': "#484C01";
|
|
64
|
+
'other-lemon-content': "#EEEED9";
|
|
65
|
+
'other-indigo-surface': "#96A4FF";
|
|
66
|
+
'other-indigo-line': "#8B95F9";
|
|
67
|
+
'other-indigo-fill-hover': "#6362C5";
|
|
68
|
+
'other-indigo-fill': "#40428D";
|
|
69
|
+
'other-indigo-content': "#EBEBFF";
|
|
70
|
+
'other-cyan-surface': "#0ABEA3";
|
|
71
|
+
'other-cyan-line': "#0AB098";
|
|
72
|
+
'other-cyan-fill-hover': "#067A69";
|
|
73
|
+
'other-cyan-fill': "#005348";
|
|
74
|
+
'other-cyan-content': "#D5F3EB";
|
|
75
|
+
'other-chocolate-surface': "#D49E6D";
|
|
76
|
+
'other-chocolate-line': "#CA915C";
|
|
77
|
+
'other-chocolate-fill-hover': "#985E1F";
|
|
78
|
+
'other-chocolate-fill': "#6E3B01";
|
|
79
|
+
'other-chocolate-content': "#FAEADB";
|
|
80
|
+
'line-tertiary-hover': "#7A808E";
|
|
81
|
+
'line-tertiary': "#565D67";
|
|
82
|
+
'line-selected-hover': "#92BAFE";
|
|
83
|
+
'line-selected': "#5D9DFC";
|
|
84
|
+
'line-secondary-hover': "#989DA8";
|
|
85
|
+
'line-secondary': "#7A808E";
|
|
86
|
+
'line-primary-hover': "#B5B7C0";
|
|
87
|
+
'line-primary': "#989DA8";
|
|
88
|
+
'line-focus-outline': "#1159B5";
|
|
89
|
+
'line-focus': "#5D9DFC";
|
|
90
|
+
'line-elevated': "#828A9766";
|
|
91
|
+
'line-disable': "#666C79";
|
|
92
|
+
'fill-selected-hover': "#92BAFE";
|
|
93
|
+
'fill-selected': "#5D9DFC";
|
|
94
|
+
'fill-secondary-hover': "#565D67";
|
|
95
|
+
'fill-secondary-active': "#666C79";
|
|
96
|
+
'fill-secondary': "#454951";
|
|
97
|
+
'fill-primary-hover': "#454951";
|
|
98
|
+
'fill-primary-active': "#565D67";
|
|
99
|
+
'fill-primary': "#272A30";
|
|
100
|
+
'fill-elevated': "#7A808E";
|
|
101
|
+
'fill-disable': "#454951";
|
|
102
|
+
'content-tertiary': "#B5B7C0";
|
|
103
|
+
'content-secondary': "#CFD2D7";
|
|
104
|
+
'content-primary': "#ECECEF";
|
|
105
|
+
'content-placeholder': "#A5A9B2";
|
|
106
|
+
'content-on-dark': "#F9F9FC";
|
|
107
|
+
'content-link-visited': "#C0AEF8";
|
|
108
|
+
'content-link': "#92BAFE";
|
|
109
|
+
'content-inverse': "#1A1A1A";
|
|
110
|
+
'content-disable': "#989DA8";
|
|
111
|
+
'brand-secondary-hover': "#822825";
|
|
112
|
+
'brand-secondary-border': "#A5302F";
|
|
113
|
+
'brand-secondary-active': "#A5302F";
|
|
114
|
+
'brand-secondary': "#4C1715";
|
|
115
|
+
'brand-primary-hover': "#A5302F";
|
|
116
|
+
'brand-primary-content': "#FFD2CC";
|
|
117
|
+
'brand-primary-border': "#D15850";
|
|
118
|
+
'brand-primary-active': "#822825";
|
|
119
|
+
'brand-primary': "#D15850";
|
|
120
|
+
};
|
|
121
|
+
variables: {
|
|
122
|
+
'spacing-900': string;
|
|
123
|
+
'spacing-800': string;
|
|
124
|
+
'spacing-700': string;
|
|
125
|
+
'spacing-600': string;
|
|
126
|
+
'spacing-500': string;
|
|
127
|
+
'spacing-50': string;
|
|
128
|
+
'spacing-400': string;
|
|
129
|
+
'spacing-300': string;
|
|
130
|
+
'spacing-200': string;
|
|
131
|
+
'spacing-1100': string;
|
|
132
|
+
'spacing-1000': string;
|
|
133
|
+
'spacing-100': string;
|
|
134
|
+
'shadow-y-minus-400': string;
|
|
135
|
+
'shadow-y-minus-300': string;
|
|
136
|
+
'shadow-y-minus-200': string;
|
|
137
|
+
'shadow-y-minus-100': string;
|
|
138
|
+
'shadow-y-400': string;
|
|
139
|
+
'shadow-y-300': string;
|
|
140
|
+
'shadow-y-200': string;
|
|
141
|
+
'shadow-y-100': string;
|
|
142
|
+
'shadow-x-minus-400': string;
|
|
143
|
+
'shadow-x-minus-300': string;
|
|
144
|
+
'shadow-x-minus-200': string;
|
|
145
|
+
'shadow-x-minus-100': string;
|
|
146
|
+
'shadow-x-400': string;
|
|
147
|
+
'shadow-x-300': string;
|
|
148
|
+
'shadow-x-200': string;
|
|
149
|
+
'shadow-x-100': string;
|
|
150
|
+
'shadow-blur-400': string;
|
|
151
|
+
'shadow-blur-300': string;
|
|
152
|
+
'shadow-blur-200': string;
|
|
153
|
+
'shadow-blur-100': string;
|
|
154
|
+
'font-weight-regular': number;
|
|
155
|
+
'font-weight-bold': number;
|
|
156
|
+
'font-size-900': string;
|
|
157
|
+
'font-size-800': string;
|
|
158
|
+
'font-size-700': string;
|
|
159
|
+
'font-size-600': string;
|
|
160
|
+
'font-size-500': string;
|
|
161
|
+
'font-size-50': string;
|
|
162
|
+
'font-size-400': string;
|
|
163
|
+
'font-size-300': string;
|
|
164
|
+
'font-size-200': string;
|
|
165
|
+
'font-size-1100': string;
|
|
166
|
+
'font-size-1000': string;
|
|
167
|
+
'font-size-100': string;
|
|
168
|
+
'font-line-height-900': string;
|
|
169
|
+
'font-line-height-800': string;
|
|
170
|
+
'font-line-height-700': string;
|
|
171
|
+
'font-line-height-600': string;
|
|
172
|
+
'font-line-height-500': string;
|
|
173
|
+
'font-line-height-50': string;
|
|
174
|
+
'font-line-height-400': string;
|
|
175
|
+
'font-line-height-300': string;
|
|
176
|
+
'font-line-height-200': string;
|
|
177
|
+
'font-line-height-1100': string;
|
|
178
|
+
'font-line-height-1000': string;
|
|
179
|
+
'font-line-height-100': string;
|
|
180
|
+
'font-letter-spacing-500': string;
|
|
181
|
+
'font-family': string;
|
|
182
|
+
'border-radius-300': string;
|
|
183
|
+
'border-radius-200': string;
|
|
184
|
+
'border-radius-100': string;
|
|
185
|
+
'border-200': string;
|
|
186
|
+
'border-100': string;
|
|
187
|
+
'base-unit': string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
export default _default;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
dark: boolean;
|
|
3
|
+
colors: {
|
|
4
|
+
'surface-secondary': "#FFFFFF";
|
|
5
|
+
'surface-primary': "#FFFFFF";
|
|
6
|
+
'surface-overlay': "#272A3080";
|
|
7
|
+
'surface-inverse': "#404653";
|
|
8
|
+
'surface-elevated': "#FFFFFF";
|
|
9
|
+
'status-warning-surface': "#A6840A";
|
|
10
|
+
'status-warning-line': "#B69210";
|
|
11
|
+
'status-warning-fill-hover': "#DEC048";
|
|
12
|
+
'status-warning-fill': "#F2DB82";
|
|
13
|
+
'status-warning-content': "#584001";
|
|
14
|
+
'status-success-surface': "#3C9C2C";
|
|
15
|
+
'status-success-line': "#50A946";
|
|
16
|
+
'status-success-fill-hover': "#97D283";
|
|
17
|
+
'status-success-fill': "#BCE8AB";
|
|
18
|
+
'status-success-content': "#005005";
|
|
19
|
+
'status-progress-surface': "#198FD8";
|
|
20
|
+
'status-progress-line': "#2B9DE9";
|
|
21
|
+
'status-progress-fill-hover': "#90C8FF";
|
|
22
|
+
'status-progress-fill': "#C3DFFF";
|
|
23
|
+
'status-progress-content': "#004871";
|
|
24
|
+
'status-info-surface': "#828A97";
|
|
25
|
+
'status-info-line': "#9298A4";
|
|
26
|
+
'status-info-fill-hover': "#C0C3CB";
|
|
27
|
+
'status-info-fill': "#DADDE2";
|
|
28
|
+
'status-info-content': "#404653";
|
|
29
|
+
'status-indication-surface': "#D1453F";
|
|
30
|
+
'status-indication-line': "#D1453F";
|
|
31
|
+
'status-indication-fill-hover': "#FFAE9E";
|
|
32
|
+
'status-indication-fill': "#FFD1C6";
|
|
33
|
+
'status-indication-content': "#831118";
|
|
34
|
+
'status-danger-surface': "#D1453F";
|
|
35
|
+
'status-danger-line': "#D1453F";
|
|
36
|
+
'status-danger-fill-hover': "#FFAE9E";
|
|
37
|
+
'status-danger-fill': "#FFD1C6";
|
|
38
|
+
'status-danger-content': "#831118";
|
|
39
|
+
'page-primary': "#ECEEF2";
|
|
40
|
+
'other-teal-surface': "#3A969E";
|
|
41
|
+
'other-teal-line': "#3CA5AD";
|
|
42
|
+
'other-teal-fill-hover': "#48D6DB";
|
|
43
|
+
'other-teal-fill': "#A1E9E9";
|
|
44
|
+
'other-teal-content': "#022B2F";
|
|
45
|
+
'other-purple-surface': "#A96FDE";
|
|
46
|
+
'other-purple-line': "#B381E1";
|
|
47
|
+
'other-purple-fill-hover': "#D6B8EF";
|
|
48
|
+
'other-purple-fill': "#E8D5F6";
|
|
49
|
+
'other-purple-content': "#2F0F50";
|
|
50
|
+
'other-pink-surface': "#D25CB8";
|
|
51
|
+
'other-pink-line': "#DB70C4";
|
|
52
|
+
'other-pink-fill-hover': "#F3ACE7";
|
|
53
|
+
'other-pink-fill': "#F8D1F2";
|
|
54
|
+
'other-pink-content': "#420D35";
|
|
55
|
+
'other-lime-surface': "#78922C";
|
|
56
|
+
'other-lime-line': "#85A12D";
|
|
57
|
+
'other-lime-fill-hover': "#B6CC65";
|
|
58
|
+
'other-lime-fill': "#D4E490";
|
|
59
|
+
'other-lime-content': "#202901";
|
|
60
|
+
'other-lemon-surface': "#8E8C23";
|
|
61
|
+
'other-lemon-line': "#9D9B25";
|
|
62
|
+
'other-lemon-fill-hover': "#CBC65F";
|
|
63
|
+
'other-lemon-fill': "#E6DF83";
|
|
64
|
+
'other-lemon-content': "#282601";
|
|
65
|
+
'other-indigo-surface': "#807EEC";
|
|
66
|
+
'other-indigo-line': "#918DEC";
|
|
67
|
+
'other-indigo-fill-hover': "#C3BDF9";
|
|
68
|
+
'other-indigo-fill': "#DDD9FC";
|
|
69
|
+
'other-indigo-content': "#1F1F55";
|
|
70
|
+
'other-cyan-surface': "#439786";
|
|
71
|
+
'other-cyan-line': "#48A692";
|
|
72
|
+
'other-cyan-fill-hover': "#58D8BE";
|
|
73
|
+
'other-cyan-fill': "#9FEBD8";
|
|
74
|
+
'other-cyan-content': "#052B24";
|
|
75
|
+
'other-chocolate-surface': "#AC7F58";
|
|
76
|
+
'other-chocolate-line': "#B78F6D";
|
|
77
|
+
'other-chocolate-fill-hover': "#D8BEA9";
|
|
78
|
+
'other-chocolate-fill': "#E7D9CC";
|
|
79
|
+
'other-chocolate-content': "#361D01";
|
|
80
|
+
'line-tertiary-hover': "#AFB3BD";
|
|
81
|
+
'line-tertiary': "#CCCFD6";
|
|
82
|
+
'line-selected-hover': "#2978D4";
|
|
83
|
+
'line-selected': "#4D98F9";
|
|
84
|
+
'line-secondary-hover': "#9298A4";
|
|
85
|
+
'line-secondary': "#AFB3BD";
|
|
86
|
+
'line-primary-hover': "#727987";
|
|
87
|
+
'line-primary': "#9298A4";
|
|
88
|
+
'line-focus-outline': "#A4C5FE";
|
|
89
|
+
'line-focus': "#4D98F9";
|
|
90
|
+
'line-elevated': "#FFFFFF00";
|
|
91
|
+
'line-disable': "#C0C3CB";
|
|
92
|
+
'fill-selected-hover': "#2978D4";
|
|
93
|
+
'fill-selected': "#4D98F9";
|
|
94
|
+
'fill-secondary-hover': "#CCCFD6";
|
|
95
|
+
'fill-secondary-active': "#C0C3CB";
|
|
96
|
+
'fill-secondary': "#DADDE2";
|
|
97
|
+
'fill-primary-hover': "#DADDE2";
|
|
98
|
+
'fill-primary-active': "#CCCFD6";
|
|
99
|
+
'fill-primary': "#FFFFFF";
|
|
100
|
+
'fill-elevated': "#FFFFFF";
|
|
101
|
+
'fill-disable': "#DADDE2";
|
|
102
|
+
'content-tertiary': "#727987";
|
|
103
|
+
'content-secondary': "#4F5666";
|
|
104
|
+
'content-primary': "#212631";
|
|
105
|
+
'content-placeholder': "#828A97";
|
|
106
|
+
'content-on-dark': "#FFFFFF";
|
|
107
|
+
'content-link-visited': "#BD49A2";
|
|
108
|
+
'content-link': "#2978D4";
|
|
109
|
+
'content-inverse': "#FFFFFF";
|
|
110
|
+
'content-disable': "#9298A4";
|
|
111
|
+
'brand-secondary-hover': "#FEC0B2";
|
|
112
|
+
'brand-secondary-border': "#FFD1C6";
|
|
113
|
+
'brand-secondary-active': "#FFAE9E";
|
|
114
|
+
'brand-secondary': "#FFD1C6";
|
|
115
|
+
'brand-primary-hover': "#E4594F";
|
|
116
|
+
'brand-primary-content': "#831118";
|
|
117
|
+
'brand-primary-border': "#D1453F";
|
|
118
|
+
'brand-primary-active': "#F46A5D";
|
|
119
|
+
'brand-primary': "#D1453F";
|
|
120
|
+
};
|
|
121
|
+
variables: {
|
|
122
|
+
'spacing-900': string;
|
|
123
|
+
'spacing-800': string;
|
|
124
|
+
'spacing-700': string;
|
|
125
|
+
'spacing-600': string;
|
|
126
|
+
'spacing-500': string;
|
|
127
|
+
'spacing-50': string;
|
|
128
|
+
'spacing-400': string;
|
|
129
|
+
'spacing-300': string;
|
|
130
|
+
'spacing-200': string;
|
|
131
|
+
'spacing-1100': string;
|
|
132
|
+
'spacing-1000': string;
|
|
133
|
+
'spacing-100': string;
|
|
134
|
+
'shadow-y-minus-400': string;
|
|
135
|
+
'shadow-y-minus-300': string;
|
|
136
|
+
'shadow-y-minus-200': string;
|
|
137
|
+
'shadow-y-minus-100': string;
|
|
138
|
+
'shadow-y-400': string;
|
|
139
|
+
'shadow-y-300': string;
|
|
140
|
+
'shadow-y-200': string;
|
|
141
|
+
'shadow-y-100': string;
|
|
142
|
+
'shadow-x-minus-400': string;
|
|
143
|
+
'shadow-x-minus-300': string;
|
|
144
|
+
'shadow-x-minus-200': string;
|
|
145
|
+
'shadow-x-minus-100': string;
|
|
146
|
+
'shadow-x-400': string;
|
|
147
|
+
'shadow-x-300': string;
|
|
148
|
+
'shadow-x-200': string;
|
|
149
|
+
'shadow-x-100': string;
|
|
150
|
+
'shadow-blur-400': string;
|
|
151
|
+
'shadow-blur-300': string;
|
|
152
|
+
'shadow-blur-200': string;
|
|
153
|
+
'shadow-blur-100': string;
|
|
154
|
+
'font-weight-regular': number;
|
|
155
|
+
'font-weight-bold': number;
|
|
156
|
+
'font-size-900': string;
|
|
157
|
+
'font-size-800': string;
|
|
158
|
+
'font-size-700': string;
|
|
159
|
+
'font-size-600': string;
|
|
160
|
+
'font-size-500': string;
|
|
161
|
+
'font-size-50': string;
|
|
162
|
+
'font-size-400': string;
|
|
163
|
+
'font-size-300': string;
|
|
164
|
+
'font-size-200': string;
|
|
165
|
+
'font-size-1100': string;
|
|
166
|
+
'font-size-1000': string;
|
|
167
|
+
'font-size-100': string;
|
|
168
|
+
'font-line-height-900': string;
|
|
169
|
+
'font-line-height-800': string;
|
|
170
|
+
'font-line-height-700': string;
|
|
171
|
+
'font-line-height-600': string;
|
|
172
|
+
'font-line-height-500': string;
|
|
173
|
+
'font-line-height-50': string;
|
|
174
|
+
'font-line-height-400': string;
|
|
175
|
+
'font-line-height-300': string;
|
|
176
|
+
'font-line-height-200': string;
|
|
177
|
+
'font-line-height-1100': string;
|
|
178
|
+
'font-line-height-1000': string;
|
|
179
|
+
'font-line-height-100': string;
|
|
180
|
+
'font-letter-spacing-500': string;
|
|
181
|
+
'font-family': string;
|
|
182
|
+
'border-radius-300': string;
|
|
183
|
+
'border-radius-200': string;
|
|
184
|
+
'border-radius-100': string;
|
|
185
|
+
'border-200': string;
|
|
186
|
+
'border-100': string;
|
|
187
|
+
'base-unit': string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
export default _default;
|
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -133,6 +133,11 @@ export declare function convertRemToPx(value: string): number;
|
|
|
133
133
|
*/
|
|
134
134
|
export declare function clamp(value: number, min?: number, max?: number): number;
|
|
135
135
|
export declare function createRange(length: number, start?: number): number[];
|
|
136
|
+
/**
|
|
137
|
+
* Is value an like event
|
|
138
|
+
* @param key
|
|
139
|
+
*/
|
|
140
|
+
export declare const onRE: RegExp;
|
|
136
141
|
export declare const isOn: (key: string) => boolean;
|
|
137
142
|
export declare const EventProp: PropType<EventProp>;
|
|
138
143
|
export declare function isComponentInstance(obj: any): obj is ComponentPublicInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@central-design-system/components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Central Design System on the Vue 3.0 and TypeScript",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "magersoft",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"nuxt.js"
|
|
40
40
|
],
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": ">=
|
|
42
|
+
"node": ">= 18"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "rimraf dist && npm run type-check && vite build",
|
package/src/themes/colors.ts
CHANGED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--cds-spacing-900: 4rem;
|
|
3
|
+
--cds-spacing-800: 3rem;
|
|
4
|
+
--cds-spacing-700: 2.5rem;
|
|
5
|
+
--cds-spacing-600: 2rem;
|
|
6
|
+
--cds-spacing-500: 1.5rem;
|
|
7
|
+
--cds-spacing-50: 0.125rem;
|
|
8
|
+
--cds-spacing-400: 1rem;
|
|
9
|
+
--cds-spacing-300: 0.75rem;
|
|
10
|
+
--cds-spacing-200: 0.5rem;
|
|
11
|
+
--cds-spacing-1100: 6rem;
|
|
12
|
+
--cds-spacing-1000: 5rem;
|
|
13
|
+
--cds-spacing-100: 0.25rem;
|
|
14
|
+
--cds-shadow-y-minus-400: 0rem;
|
|
15
|
+
--cds-shadow-y-minus-300: 0rem;
|
|
16
|
+
--cds-shadow-y-minus-200: 0rem;
|
|
17
|
+
--cds-shadow-y-minus-100: 0rem;
|
|
18
|
+
--cds-shadow-y-400: 0rem;
|
|
19
|
+
--cds-shadow-y-300: 0rem;
|
|
20
|
+
--cds-shadow-y-200: 0rem;
|
|
21
|
+
--cds-shadow-y-100: 0rem;
|
|
22
|
+
--cds-shadow-x-minus-400: 0rem;
|
|
23
|
+
--cds-shadow-x-minus-300: 0rem;
|
|
24
|
+
--cds-shadow-x-minus-200: 0rem;
|
|
25
|
+
--cds-shadow-x-minus-100: 0rem;
|
|
26
|
+
--cds-shadow-x-400: 0rem;
|
|
27
|
+
--cds-shadow-x-300: 0rem;
|
|
28
|
+
--cds-shadow-x-200: 0rem;
|
|
29
|
+
--cds-shadow-x-100: 0rem;
|
|
30
|
+
--cds-shadow-blur-400: 0rem;
|
|
31
|
+
--cds-shadow-blur-300: 0rem;
|
|
32
|
+
--cds-shadow-blur-200: 0rem;
|
|
33
|
+
--cds-shadow-blur-100: 0rem;
|
|
34
|
+
--cds-font-weight-regular: 400;
|
|
35
|
+
--cds-font-weight-bold: 700;
|
|
36
|
+
--cds-font-size-900: 3.25rem;
|
|
37
|
+
--cds-font-size-800: 2.75rem;
|
|
38
|
+
--cds-font-size-700: 2.25rem;
|
|
39
|
+
--cds-font-size-600: 1.75rem;
|
|
40
|
+
--cds-font-size-500: 1.5rem;
|
|
41
|
+
--cds-font-size-50: 0.625rem;
|
|
42
|
+
--cds-font-size-400: 1.25rem;
|
|
43
|
+
--cds-font-size-300: 1rem;
|
|
44
|
+
--cds-font-size-200: 0.875rem;
|
|
45
|
+
--cds-font-size-1100: 4.5rem;
|
|
46
|
+
--cds-font-size-1000: 3.75rem;
|
|
47
|
+
--cds-font-size-100: 0.75rem;
|
|
48
|
+
--cds-font-line-height-900: 4rem;
|
|
49
|
+
--cds-font-line-height-800: 3rem;
|
|
50
|
+
--cds-font-line-height-700: 2.5rem;
|
|
51
|
+
--cds-font-line-height-600: 2rem;
|
|
52
|
+
--cds-font-line-height-500: 1.75rem;
|
|
53
|
+
--cds-font-line-height-50: 0.75rem;
|
|
54
|
+
--cds-font-line-height-400: 1.5rem;
|
|
55
|
+
--cds-font-line-height-300: 1.25rem;
|
|
56
|
+
--cds-font-line-height-200: 1rem;
|
|
57
|
+
--cds-font-line-height-1100: 5.5rem;
|
|
58
|
+
--cds-font-line-height-1000: 4.5rem;
|
|
59
|
+
--cds-font-line-height-100: 0.875rem;
|
|
60
|
+
--cds-font-letter-spacing-500: 0.0625rem;
|
|
61
|
+
--cds-font-family: Arial;
|
|
62
|
+
--cds-border-radius-300: 0.5rem;
|
|
63
|
+
--cds-border-radius-200: 0.25rem;
|
|
64
|
+
--cds-border-radius-100: 0.125rem;
|
|
65
|
+
--cds-border-200: 0.125rem;
|
|
66
|
+
--cds-border-100: 0.0625rem;
|
|
67
|
+
--cds-base-unit: 16px;
|
|
68
|
+
--cds-color-surface-secondary: 51, 55, 63;
|
|
69
|
+
--cds-color-surface-primary: 39, 42, 48;
|
|
70
|
+
--cds-color-surface-overlay: 39, 42, 48, 0.8;
|
|
71
|
+
--cds-color-surface-inverse: 220, 221, 227;
|
|
72
|
+
--cds-color-surface-elevated: 51, 55, 63;
|
|
73
|
+
--cds-color-status-warning-surface: 201, 164, 73;
|
|
74
|
+
--cds-color-status-warning-line: 190, 151, 55;
|
|
75
|
+
--cds-color-status-warning-fill-hover: 138, 101, 2;
|
|
76
|
+
--cds-color-status-warning-fill: 97, 67, 1;
|
|
77
|
+
--cds-color-status-warning-content: 234, 219, 186;
|
|
78
|
+
--cds-color-status-success-surface: 110, 186, 102;
|
|
79
|
+
--cds-color-status-success-line: 93, 175, 85;
|
|
80
|
+
--cds-color-status-success-fill-hover: 31, 124, 34;
|
|
81
|
+
--cds-color-status-success-fill: 13, 85, 18;
|
|
82
|
+
--cds-color-status-success-content: 202, 228, 196;
|
|
83
|
+
--cds-color-status-progress-surface: 77, 177, 255;
|
|
84
|
+
--cds-color-status-progress-line: 14, 164, 248;
|
|
85
|
+
--cds-color-status-progress-fill-hover: 1, 114, 172;
|
|
86
|
+
--cds-color-status-progress-fill: 1, 79, 119;
|
|
87
|
+
--cds-color-status-progress-content: 199, 224, 255;
|
|
88
|
+
--cds-color-status-info-surface: 165, 169, 178;
|
|
89
|
+
--cds-color-status-info-line: 152, 157, 168;
|
|
90
|
+
--cds-color-status-info-fill-hover: 102, 108, 121;
|
|
91
|
+
--cds-color-status-info-fill: 69, 73, 81;
|
|
92
|
+
--cds-color-status-info-content: 220, 221, 227;
|
|
93
|
+
--cds-color-status-indication-surface: 255, 158, 146;
|
|
94
|
+
--cds-color-status-indication-line: 255, 158, 146;
|
|
95
|
+
--cds-color-status-indication-fill-hover: 184, 66, 61;
|
|
96
|
+
--cds-color-status-indication-fill: 130, 40, 37;
|
|
97
|
+
--cds-color-status-indication-content: 255, 210, 204;
|
|
98
|
+
--cds-color-status-danger-surface: 255, 158, 146;
|
|
99
|
+
--cds-color-status-danger-line: 255, 158, 146;
|
|
100
|
+
--cds-color-status-danger-fill-hover: 184, 66, 61;
|
|
101
|
+
--cds-color-status-danger-fill: 130, 40, 37;
|
|
102
|
+
--cds-color-status-danger-content: 255, 210, 204;
|
|
103
|
+
--cds-color-page-primary: 26, 26, 26;
|
|
104
|
+
--cds-color-other-teal-surface: 10, 186, 206;
|
|
105
|
+
--cds-color-other-teal-line: 1, 172, 191;
|
|
106
|
+
--cds-color-other-teal-fill-hover: 0, 120, 134;
|
|
107
|
+
--cds-color-other-teal-fill: 4, 82, 91;
|
|
108
|
+
--cds-color-other-teal-content: 212, 242, 247;
|
|
109
|
+
--cds-color-other-purple-surface: 183, 154, 245;
|
|
110
|
+
--cds-color-other-purple-line: 174, 139, 238;
|
|
111
|
+
--cds-color-other-purple-fill-hover: 132, 87, 184;
|
|
112
|
+
--cds-color-other-purple-fill: 94, 56, 130;
|
|
113
|
+
--cds-color-other-purple-content: 243, 233, 254;
|
|
114
|
+
--cds-color-other-pink-surface: 232, 137, 209;
|
|
115
|
+
--cds-color-other-pink-line: 224, 120, 199;
|
|
116
|
+
--cds-color-other-pink-fill-hover: 172, 66, 150;
|
|
117
|
+
--cds-color-other-pink-fill: 122, 40, 105;
|
|
118
|
+
--cds-color-other-pink-content: 253, 230, 246;
|
|
119
|
+
--cds-color-other-lime-surface: 155, 178, 77;
|
|
120
|
+
--cds-color-other-lime-line: 141, 166, 59;
|
|
121
|
+
--cds-color-other-lime-fill-hover: 91, 116, 0;
|
|
122
|
+
--cds-color-other-lime-fill: 61, 79, 0;
|
|
123
|
+
--cds-color-other-lime-content: 235, 238, 216;
|
|
124
|
+
--cds-color-other-lemon-surface: 171, 174, 72;
|
|
125
|
+
--cds-color-other-lemon-line: 157, 162, 53;
|
|
126
|
+
--cds-color-other-lemon-fill-hover: 106, 113, 0;
|
|
127
|
+
--cds-color-other-lemon-fill: 72, 76, 1;
|
|
128
|
+
--cds-color-other-lemon-content: 238, 238, 217;
|
|
129
|
+
--cds-color-other-indigo-surface: 150, 164, 255;
|
|
130
|
+
--cds-color-other-indigo-line: 139, 149, 249;
|
|
131
|
+
--cds-color-other-indigo-fill-hover: 99, 98, 197;
|
|
132
|
+
--cds-color-other-indigo-fill: 64, 66, 141;
|
|
133
|
+
--cds-color-other-indigo-content: 235, 235, 255;
|
|
134
|
+
--cds-color-other-cyan-surface: 10, 190, 163;
|
|
135
|
+
--cds-color-other-cyan-line: 10, 176, 152;
|
|
136
|
+
--cds-color-other-cyan-fill-hover: 6, 122, 105;
|
|
137
|
+
--cds-color-other-cyan-fill: 0, 83, 72;
|
|
138
|
+
--cds-color-other-cyan-content: 213, 243, 235;
|
|
139
|
+
--cds-color-other-chocolate-surface: 212, 158, 109;
|
|
140
|
+
--cds-color-other-chocolate-line: 202, 145, 92;
|
|
141
|
+
--cds-color-other-chocolate-fill-hover: 152, 94, 31;
|
|
142
|
+
--cds-color-other-chocolate-fill: 110, 59, 1;
|
|
143
|
+
--cds-color-other-chocolate-content: 250, 234, 219;
|
|
144
|
+
--cds-color-line-tertiary-hover: 122, 128, 142;
|
|
145
|
+
--cds-color-line-tertiary: 86, 93, 103;
|
|
146
|
+
--cds-color-line-selected-hover: 146, 186, 254;
|
|
147
|
+
--cds-color-line-selected: 93, 157, 252;
|
|
148
|
+
--cds-color-line-secondary-hover: 152, 157, 168;
|
|
149
|
+
--cds-color-line-secondary: 122, 128, 142;
|
|
150
|
+
--cds-color-line-primary-hover: 181, 183, 192;
|
|
151
|
+
--cds-color-line-primary: 152, 157, 168;
|
|
152
|
+
--cds-color-line-focus-outline: 17, 89, 181;
|
|
153
|
+
--cds-color-line-focus: 93, 157, 252;
|
|
154
|
+
--cds-color-line-elevated: 130, 138, 151, 0.4;
|
|
155
|
+
--cds-color-line-disable: 102, 108, 121;
|
|
156
|
+
--cds-color-fill-selected-hover: 146, 186, 254;
|
|
157
|
+
--cds-color-fill-selected: 93, 157, 252;
|
|
158
|
+
--cds-color-fill-secondary-hover: 86, 93, 103;
|
|
159
|
+
--cds-color-fill-secondary-active: 102, 108, 121;
|
|
160
|
+
--cds-color-fill-secondary: 69, 73, 81;
|
|
161
|
+
--cds-color-fill-primary-hover: 69, 73, 81;
|
|
162
|
+
--cds-color-fill-primary-active: 86, 93, 103;
|
|
163
|
+
--cds-color-fill-primary: 39, 42, 48;
|
|
164
|
+
--cds-color-fill-elevated: 122, 128, 142;
|
|
165
|
+
--cds-color-fill-disable: 69, 73, 81;
|
|
166
|
+
--cds-color-content-tertiary: 181, 183, 192;
|
|
167
|
+
--cds-color-content-secondary: 207, 210, 215;
|
|
168
|
+
--cds-color-content-primary: 236, 236, 239;
|
|
169
|
+
--cds-color-content-placeholder: 165, 169, 178;
|
|
170
|
+
--cds-color-content-on-dark: 249, 249, 252;
|
|
171
|
+
--cds-color-content-link-visited: 192, 174, 248;
|
|
172
|
+
--cds-color-content-link: 146, 186, 254;
|
|
173
|
+
--cds-color-content-inverse: 26, 26, 26;
|
|
174
|
+
--cds-color-content-disable: 152, 157, 168;
|
|
175
|
+
--cds-color-brand-secondary-hover: 130, 40, 37;
|
|
176
|
+
--cds-color-brand-secondary-border: 165, 48, 47;
|
|
177
|
+
--cds-color-brand-secondary-active: 165, 48, 47;
|
|
178
|
+
--cds-color-brand-secondary: 76, 23, 21;
|
|
179
|
+
--cds-color-brand-primary-hover: 165, 48, 47;
|
|
180
|
+
--cds-color-brand-primary-content: 255, 210, 204;
|
|
181
|
+
--cds-color-brand-primary-border: 209, 88, 80;
|
|
182
|
+
--cds-color-brand-primary-active: 130, 40, 37;
|
|
183
|
+
--cds-color-brand-primary: 209, 88, 80;
|
|
184
|
+
}
|