baseui 14.0.0 → 15.0.1
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/accordion/accordion.js +4 -4
- package/accordion/panel.d.ts +1 -1
- package/accordion/stateless-accordion.js +8 -8
- package/accordion/styled-components.js +1 -1
- package/accordion/types.d.ts +1 -1
- package/app-nav-bar/mobile-menu.js +3 -1
- package/banner/banner.js +3 -1
- package/banner/types.d.ts +2 -1
- package/bottom-navigation/bottom-navigation.js +4 -6
- package/bottom-navigation/selector.js +1 -1
- package/bottom-navigation/styled-components.js +1 -1
- package/button/button.d.ts +1 -3
- package/button/button.js +6 -2
- package/button/styled-components.d.ts +1 -0
- package/button/styled-components.js +61 -4
- package/button/types.d.ts +15 -3
- package/button-timed/button-timed.js +4 -5
- package/button-timed/styled-components.js +5 -3
- package/button-timed/types.d.ts +1 -1
- package/data-table/column-categorical.js +2 -2
- package/data-table/column-numerical.js +3 -18
- package/data-table/locale.d.ts +2 -0
- package/data-table/locale.js +2 -1
- package/data-table/stateful-container.js +1 -1
- package/data-table/stateful-data-table.js +7 -3
- package/data-table/types.d.ts +2 -0
- package/datepicker/day.js +2 -4
- package/datepicker/utils/date-helpers.d.ts +1 -0
- package/datepicker/utils/date-helpers.js +3 -0
- package/dialog/dialog.d.ts +1 -1
- package/dialog/dialog.js +38 -56
- package/dialog/styled-components.d.ts +2 -2
- package/dialog/styled-components.js +56 -24
- package/dialog/types.d.ts +5 -2
- package/dnd-list/list.js +1 -1
- package/dnd-list/stateful-list-container.js +1 -1
- package/file-uploader/constants.d.ts +18 -0
- package/file-uploader/constants.js +32 -0
- package/file-uploader/file-uploader.d.ts +2 -2
- package/file-uploader/file-uploader.js +406 -117
- package/file-uploader/index.d.ts +1 -1
- package/file-uploader/index.js +67 -18
- package/file-uploader/locale.d.ts +10 -10
- package/file-uploader/locale.js +5 -5
- package/file-uploader/styled-components.d.ts +13 -6
- package/file-uploader/styled-components.js +261 -64
- package/file-uploader/types.d.ts +49 -32
- package/file-uploader/utils.d.ts +5 -0
- package/file-uploader/utils.js +45 -0
- package/file-uploader-basic/file-uploader-basic.d.ts +10 -0
- package/file-uploader-basic/file-uploader-basic.js +173 -0
- package/file-uploader-basic/index.d.ts +4 -0
- package/file-uploader-basic/index.js +71 -0
- package/file-uploader-basic/locale.d.ts +15 -0
- package/file-uploader-basic/locale.js +21 -0
- package/file-uploader-basic/styled-components.d.ts +7 -0
- package/file-uploader-basic/styled-components.js +83 -0
- package/file-uploader-basic/types.d.ts +41 -0
- package/form-control/form-control.js +38 -3
- package/form-control/styled-components.d.ts +2 -0
- package/form-control/styled-components.js +22 -2
- package/form-control/types.d.ts +4 -0
- package/helpers/react-helpers.js +1 -1
- package/icon/circle-check-filled.d.ts +9 -0
- package/icon/circle-check-filled.js +50 -0
- package/icon/circle-exclamation-point-filled.d.ts +9 -0
- package/icon/circle-exclamation-point-filled.js +50 -0
- package/icon/hide.js +1 -1
- package/icon/icon-exports.d.ts +4 -0
- package/icon/icon-exports.js +28 -0
- package/icon/paperclip-filled.d.ts +9 -0
- package/icon/paperclip-filled.js +50 -0
- package/icon/show.js +1 -1
- package/icon/trash-can-filled.d.ts +9 -0
- package/{button-docked/button-docked.js → icon/trash-can-filled.js} +35 -16
- package/list/list-item.js +0 -2
- package/locale/en_US.js +14 -12
- package/locale/es_AR.js +9 -1
- package/locale/index.d.ts +3 -0
- package/locale/index.js +1 -0
- package/locale/tr_TR.js +9 -1
- package/locale/types.d.ts +2 -0
- package/message-card/message-card.js +2 -2
- package/message-card/utils.js +8 -3
- package/mobile-header/mobile-header.js +0 -1
- package/modal/modal-button.d.ts +1 -3
- package/package.json +5 -2
- package/page-control/page-control.js +1 -3
- package/payment-card/custom-cards.config.d.ts +1 -11
- package/payment-card/payment-card.js +1 -3
- package/phone-input/base-country-picker.js +2 -2
- package/phone-input/country-picker.js +0 -10
- package/progress-bar/progressbar-rounded.js +1 -1
- package/progress-bar/styled-components.js +8 -6
- package/rating/styled-components.js +3 -2
- package/rating/svg-icons.d.ts +5 -5
- package/rating/svg-icons.js +20 -20
- package/segmented-control/segmented-control.js +1 -2
- package/segmented-control/stateful-segmented-control.js +1 -2
- package/select/multi-value.js +1 -1
- package/sheet/sheet.js +1 -3
- package/snackbar/index.d.ts +1 -0
- package/snackbar/snackbar-context.d.ts +1 -2
- package/snackbar/snackbar-context.js +27 -21
- package/spinner/index.d.ts +4 -2
- package/stepper/stepper.js +29 -30
- package/styles/__mocks__/styled.js +0 -2
- package/styles/as-primary-export-hoc.js +0 -2
- package/styles/styled.js +0 -2
- package/styles/types.d.ts +7 -3
- package/system-banner/system-banner.js +1 -3
- package/tabs-motion/tabs.js +2 -2
- package/tag/constants.d.ts +5 -4
- package/tag/constants.js +7 -6
- package/tag/index.d.ts +1 -1
- package/tag/index.js +7 -7
- package/tag/styled-components.d.ts +1 -1
- package/tag/styled-components.js +137 -124
- package/tag/tag.js +2 -2
- package/tag/types.d.ts +9 -8
- package/tag/types.js +2 -2
- package/themes/dark-theme/color-component-tokens.d.ts +2 -2
- package/themes/dark-theme/color-component-tokens.js +279 -275
- package/themes/dark-theme/color-foundation-tokens.d.ts +3 -0
- package/themes/dark-theme/{color-tokens.js → color-foundation-tokens.js} +11 -14
- package/themes/dark-theme/color-semantic-tokens.d.ts +2 -2
- package/themes/dark-theme/color-semantic-tokens.js +52 -58
- package/themes/dark-theme/create-dark-theme.d.ts +1 -1
- package/themes/dark-theme/create-dark-theme.js +12 -32
- package/themes/dark-theme/dark-theme.js +4 -4
- package/themes/dark-theme/primitives.js +2 -2
- package/themes/light-theme/color-component-tokens.d.ts +2 -2
- package/themes/light-theme/color-component-tokens.js +287 -282
- package/themes/light-theme/color-foundation-tokens.d.ts +3 -0
- package/themes/light-theme/{color-tokens.js → color-foundation-tokens.js} +10 -13
- package/themes/light-theme/color-semantic-tokens.d.ts +2 -2
- package/themes/light-theme/color-semantic-tokens.js +50 -53
- package/themes/light-theme/create-light-theme.d.ts +1 -1
- package/themes/light-theme/create-light-theme.js +12 -32
- package/themes/light-theme/light-theme.js +4 -4
- package/themes/light-theme/primitives.js +2 -2
- package/themes/types.d.ts +74 -13
- package/themes/utils.d.ts +1 -1
- package/themes/utils.js +4 -4
- package/tile/tile-group.js +2 -2
- package/timezonepicker/update-tzdata.js +0 -1
- package/tokens/color-primitive-tokens.d.ts +5 -0
- package/tokens/color-primitive-tokens.js +301 -0
- package/tokens/index.d.ts +5 -4
- package/tokens/index.js +25 -3
- package/tokens/types.d.ts +170 -1
- package/button-docked/button-docked.d.ts +0 -4
- package/button-docked/index.d.ts +0 -3
- package/button-docked/index.js +0 -40
- package/button-docked/styled-components.d.ts +0 -5
- package/button-docked/styled-components.js +0 -55
- package/button-docked/types.d.ts +0 -14
- package/themes/dark-theme/color-tokens.d.ts +0 -3
- package/themes/light-theme/color-tokens.d.ts +0 -3
- package/tokens/colors.d.ts +0 -3
- package/tokens/colors.js +0 -125
- /package/{button-docked → file-uploader-basic}/types.js +0 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.primitiveLightColors = exports.primitiveDarkColors = exports.default = void 0;
|
|
7
|
+
/*
|
|
8
|
+
Copyright (c) Uber Technologies, Inc.
|
|
9
|
+
|
|
10
|
+
This source code is licensed under the MIT license found in the
|
|
11
|
+
LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
const primitiveColors = exports.default = {
|
|
15
|
+
/***** light color tokens *****/
|
|
16
|
+
white: '#FFFFFF',
|
|
17
|
+
gray50: '#F3F3F3',
|
|
18
|
+
gray100: '#E8E8E8',
|
|
19
|
+
gray200: '#DDDDDD',
|
|
20
|
+
gray300: '#C6C6C6',
|
|
21
|
+
gray400: '#A6A6A6',
|
|
22
|
+
gray500: '#868686',
|
|
23
|
+
gray600: '#727272',
|
|
24
|
+
gray700: '#5E5E5E',
|
|
25
|
+
gray800: '#4B4B4B',
|
|
26
|
+
gray900: '#282828',
|
|
27
|
+
black: '#000000',
|
|
28
|
+
/** @deprecated use gray color tokens instead */
|
|
29
|
+
platinum50: '#F4FAFB',
|
|
30
|
+
/** @deprecated use gray color tokens instead */
|
|
31
|
+
platinum100: '#EBF5F7',
|
|
32
|
+
/** @deprecated use gray color tokens instead */
|
|
33
|
+
platinum200: '#CCDFE5',
|
|
34
|
+
/** @deprecated use gray color tokens instead */
|
|
35
|
+
platinum300: '#A1BDCA',
|
|
36
|
+
/** @deprecated use gray color tokens instead */
|
|
37
|
+
platinum400: '#8EA3AD',
|
|
38
|
+
/** @deprecated use gray color tokens instead */
|
|
39
|
+
platinum500: '#6C7C83',
|
|
40
|
+
/** @deprecated use gray color tokens instead */
|
|
41
|
+
platinum600: '#556268',
|
|
42
|
+
/** @deprecated use gray color tokens instead */
|
|
43
|
+
platinum700: '#394145',
|
|
44
|
+
/** @deprecated use gray color tokens instead */
|
|
45
|
+
platinum800: '#142328',
|
|
46
|
+
red50: '#FFF0EE',
|
|
47
|
+
red100: '#FFE1DE',
|
|
48
|
+
red200: '#FFD2CD',
|
|
49
|
+
red300: '#FFB2AB',
|
|
50
|
+
red400: '#FC7F79',
|
|
51
|
+
red500: '#F83446',
|
|
52
|
+
red600: '#DE1135',
|
|
53
|
+
red700: '#BB032A',
|
|
54
|
+
red800: '#950F22',
|
|
55
|
+
red900: '#520810',
|
|
56
|
+
orange50: '#FFF0E9',
|
|
57
|
+
orange100: '#FEE2D4',
|
|
58
|
+
orange200: '#FFD3BC',
|
|
59
|
+
orange300: '#FFB48C',
|
|
60
|
+
orange400: '#FC823A',
|
|
61
|
+
orange500: '#E65300',
|
|
62
|
+
orange600: '#C54600',
|
|
63
|
+
orange700: '#A33B04',
|
|
64
|
+
orange800: '#823006',
|
|
65
|
+
orange900: '#461A00',
|
|
66
|
+
amber50: '#FFF1E1',
|
|
67
|
+
amber100: '#FFE4B7',
|
|
68
|
+
amber200: '#FFD5A1',
|
|
69
|
+
amber300: '#FFB749',
|
|
70
|
+
amber400: '#DF9500',
|
|
71
|
+
amber500: '#C46E00',
|
|
72
|
+
amber600: '#A95F03',
|
|
73
|
+
amber700: '#904A07',
|
|
74
|
+
amber800: '#763A00',
|
|
75
|
+
amber900: '#401E04',
|
|
76
|
+
yellow50: '#FDF2DC',
|
|
77
|
+
yellow100: '#FBE5B6',
|
|
78
|
+
yellow200: '#FFD688',
|
|
79
|
+
yellow300: '#F6BC2F',
|
|
80
|
+
yellow400: '#D79900',
|
|
81
|
+
yellow500: '#B97502',
|
|
82
|
+
yellow600: '#9F6402',
|
|
83
|
+
yellow700: '#845201',
|
|
84
|
+
yellow800: '#6B4100',
|
|
85
|
+
yellow900: '#392300',
|
|
86
|
+
lime50: '#EEF6E3',
|
|
87
|
+
lime100: '#DEEEC6',
|
|
88
|
+
lime200: '#CAE6A0',
|
|
89
|
+
lime300: '#A6D467',
|
|
90
|
+
lime400: '#77B71C',
|
|
91
|
+
lime500: '#5B9500',
|
|
92
|
+
lime600: '#4F7F06',
|
|
93
|
+
lime700: '#3F6900',
|
|
94
|
+
lime800: '#365310',
|
|
95
|
+
lime900: '#1B2D00',
|
|
96
|
+
green50: '#EAF6ED',
|
|
97
|
+
green100: '#D3EFDA',
|
|
98
|
+
green200: '#B1EAC2',
|
|
99
|
+
green300: '#7FD99A',
|
|
100
|
+
green400: '#06C167',
|
|
101
|
+
green500: '#009A51',
|
|
102
|
+
green600: '#0E8345',
|
|
103
|
+
green700: '#166C3B',
|
|
104
|
+
green800: '#0D572D',
|
|
105
|
+
green900: '#002F14',
|
|
106
|
+
teal50: '#E2F8FB',
|
|
107
|
+
teal100: '#CDEEF3',
|
|
108
|
+
teal200: '#B0E7EF',
|
|
109
|
+
teal300: '#77D5E3',
|
|
110
|
+
teal400: '#01B8CA',
|
|
111
|
+
teal500: '#0095A4',
|
|
112
|
+
teal600: '#007F8C',
|
|
113
|
+
teal700: '#016974',
|
|
114
|
+
teal800: '#1A535A',
|
|
115
|
+
teal900: '#002D33',
|
|
116
|
+
blue50: '#EFF4FE',
|
|
117
|
+
blue100: '#DEE9FE',
|
|
118
|
+
blue200: '#CDDEFF',
|
|
119
|
+
blue300: '#A9C9FF',
|
|
120
|
+
blue400: '#6DAAFB',
|
|
121
|
+
blue500: '#068BEE',
|
|
122
|
+
blue600: '#276EF1',
|
|
123
|
+
blue700: '#175BCC',
|
|
124
|
+
blue800: '#1948A3',
|
|
125
|
+
blue900: '#002661',
|
|
126
|
+
/* @deprecated use blue color tokens instead */
|
|
127
|
+
cobalt50: '#EBEDFA',
|
|
128
|
+
/* @deprecated use blue color tokens instead */
|
|
129
|
+
cobalt100: '#D2D7F0',
|
|
130
|
+
/* @deprecated use blue color tokens instead */
|
|
131
|
+
cobalt200: '#949CE3',
|
|
132
|
+
/* @deprecated use blue color tokens instead */
|
|
133
|
+
cobalt300: '#535FCF',
|
|
134
|
+
/* @deprecated use blue color tokens instead */
|
|
135
|
+
cobalt400: '#0E1FC1',
|
|
136
|
+
/* @deprecated use blue color tokens instead */
|
|
137
|
+
cobalt500: '#0A1899',
|
|
138
|
+
/* @deprecated use blue color tokens instead */
|
|
139
|
+
cobalt600: '#081270',
|
|
140
|
+
/* @deprecated use blue color tokens instead */
|
|
141
|
+
cobalt700: '#050C4D',
|
|
142
|
+
purple50: '#F9F1FF',
|
|
143
|
+
purple100: '#F2E3FF',
|
|
144
|
+
purple200: '#EBD5FF',
|
|
145
|
+
purple300: '#DDB9FF',
|
|
146
|
+
purple400: '#C490F9',
|
|
147
|
+
purple500: '#A964F7',
|
|
148
|
+
purple600: '#944DE7',
|
|
149
|
+
purple700: '#7C3EC3',
|
|
150
|
+
purple800: '#633495',
|
|
151
|
+
purple900: '#3A1659',
|
|
152
|
+
magenta50: '#FEEFF9',
|
|
153
|
+
magenta100: '#FEDFF3',
|
|
154
|
+
magenta200: '#FFCEF2',
|
|
155
|
+
magenta300: '#FFACE5',
|
|
156
|
+
magenta400: '#F877D2',
|
|
157
|
+
magenta500: '#E142BC',
|
|
158
|
+
magenta600: '#CA26A5',
|
|
159
|
+
magenta700: '#A91A90',
|
|
160
|
+
magenta800: '#891869',
|
|
161
|
+
magenta900: '#50003F',
|
|
162
|
+
/* @deprecated use orange color tokens instead */
|
|
163
|
+
brown50: '#F6F0EA',
|
|
164
|
+
/* @deprecated use orange color tokens instead */
|
|
165
|
+
brown100: '#EBE0DB',
|
|
166
|
+
/* @deprecated use orange color tokens instead */
|
|
167
|
+
brown200: '#D2BBB0',
|
|
168
|
+
/* @deprecated use orange color tokens instead */
|
|
169
|
+
brown300: '#B18977',
|
|
170
|
+
/* @deprecated use orange color tokens instead */
|
|
171
|
+
brown400: '#99644C',
|
|
172
|
+
/* @deprecated use orange color tokens instead */
|
|
173
|
+
brown500: '#744C3A',
|
|
174
|
+
/* @deprecated use orange color tokens instead */
|
|
175
|
+
brown600: '#5C3C2E',
|
|
176
|
+
/* @deprecated use orange color tokens instead */
|
|
177
|
+
brown700: '#3D281E',
|
|
178
|
+
/***** dark color tokens *****/
|
|
179
|
+
gray50Dark: '#161616',
|
|
180
|
+
gray100Dark: '#292929',
|
|
181
|
+
gray200Dark: '#383838',
|
|
182
|
+
gray300Dark: '#484848',
|
|
183
|
+
gray400Dark: '#5D5D5D',
|
|
184
|
+
gray500Dark: '#717171',
|
|
185
|
+
gray600Dark: '#8C8C8C',
|
|
186
|
+
gray700Dark: '#ABABAB',
|
|
187
|
+
gray800Dark: '#C4C4C4',
|
|
188
|
+
gray900Dark: '#DEDEDE',
|
|
189
|
+
red50Dark: '#2E0608',
|
|
190
|
+
red100Dark: '#4A1216',
|
|
191
|
+
red200Dark: '#621C20',
|
|
192
|
+
red300Dark: '#7F1F26',
|
|
193
|
+
red400Dark: '#A32C34',
|
|
194
|
+
red500Dark: '#C33840',
|
|
195
|
+
red600Dark: '#DE5B5D',
|
|
196
|
+
red700Dark: '#EA9B98',
|
|
197
|
+
red800Dark: '#EFBCB9',
|
|
198
|
+
red900Dark: '#F2D7D5',
|
|
199
|
+
orange50Dark: '#260F03',
|
|
200
|
+
orange100Dark: '#401F0C',
|
|
201
|
+
orange200Dark: '#562A12',
|
|
202
|
+
orange300Dark: '#6D3715',
|
|
203
|
+
orange400Dark: '#8C4922',
|
|
204
|
+
orange500Dark: '#AB5727',
|
|
205
|
+
orange600Dark: '#C97245',
|
|
206
|
+
orange700Dark: '#ED9E74',
|
|
207
|
+
orange800Dark: '#F1BDA3',
|
|
208
|
+
orange900Dark: '#F8D6C5',
|
|
209
|
+
amber50Dark: '#241003',
|
|
210
|
+
amber100Dark: '#3C220F',
|
|
211
|
+
amber200Dark: '#502F18',
|
|
212
|
+
amber300Dark: '#653D18',
|
|
213
|
+
amber400Dark: '#805127',
|
|
214
|
+
amber500Dark: '#956724',
|
|
215
|
+
amber600Dark: '#B68131',
|
|
216
|
+
amber700Dark: '#DEA85E',
|
|
217
|
+
amber800Dark: '#EEC28D',
|
|
218
|
+
amber900Dark: '#F6D9B7',
|
|
219
|
+
yellow50Dark: '#211201',
|
|
220
|
+
yellow100Dark: '#39240A',
|
|
221
|
+
yellow200Dark: '#4C3111',
|
|
222
|
+
yellow300Dark: '#624013',
|
|
223
|
+
yellow400Dark: '#7A5616',
|
|
224
|
+
yellow500Dark: '#916C1A',
|
|
225
|
+
yellow600Dark: '#AE8523',
|
|
226
|
+
yellow700Dark: '#D7AC57',
|
|
227
|
+
yellow800Dark: '#E6C681',
|
|
228
|
+
yellow900Dark: '#F3DCAE',
|
|
229
|
+
lime50Dark: '#0F1A03',
|
|
230
|
+
lime100Dark: '#202E13',
|
|
231
|
+
lime200Dark: '#2C3F19',
|
|
232
|
+
lime300Dark: '#39501F',
|
|
233
|
+
lime400Dark: '#4A682B',
|
|
234
|
+
lime500Dark: '#5A7E35',
|
|
235
|
+
lime600Dark: '#759954',
|
|
236
|
+
lime700Dark: '#9EC080',
|
|
237
|
+
lime800Dark: '#BDD4AB',
|
|
238
|
+
lime900Dark: '#D6E3CB',
|
|
239
|
+
green50Dark: '#081B0E',
|
|
240
|
+
green100Dark: '#162F1E',
|
|
241
|
+
green200Dark: '#20402A',
|
|
242
|
+
green300Dark: '#2A5237',
|
|
243
|
+
green400Dark: '#306C44',
|
|
244
|
+
green500Dark: '#3D8351',
|
|
245
|
+
green600Dark: '#5C9D70',
|
|
246
|
+
green700Dark: '#8FC19C',
|
|
247
|
+
green800Dark: '#AED6B8',
|
|
248
|
+
green900Dark: '#CBE6D2',
|
|
249
|
+
teal50Dark: '#071A1C',
|
|
250
|
+
teal100Dark: '#0C2E34',
|
|
251
|
+
teal200Dark: '#113F46',
|
|
252
|
+
teal300Dark: '#155158',
|
|
253
|
+
teal400Dark: '#216972',
|
|
254
|
+
teal500Dark: '#217F8B',
|
|
255
|
+
teal600Dark: '#3B9BA8',
|
|
256
|
+
teal700Dark: '#72C1CD',
|
|
257
|
+
teal800Dark: '#9CD5DF',
|
|
258
|
+
teal900Dark: '#C5E5EA',
|
|
259
|
+
blue50Dark: '#061431',
|
|
260
|
+
blue100Dark: '#182946',
|
|
261
|
+
blue200Dark: '#22375C',
|
|
262
|
+
blue300Dark: '#2D4775',
|
|
263
|
+
blue400Dark: '#335BA3',
|
|
264
|
+
blue500Dark: '#3F6EC5',
|
|
265
|
+
blue600Dark: '#5E8BDB',
|
|
266
|
+
blue700Dark: '#93B4EE',
|
|
267
|
+
blue800Dark: '#B3CCF6',
|
|
268
|
+
blue900Dark: '#D1DFF6',
|
|
269
|
+
purple50Dark: '#1B0E2D',
|
|
270
|
+
purple100Dark: '#2F2044',
|
|
271
|
+
purple200Dark: '#3F2D59',
|
|
272
|
+
purple300Dark: '#513974',
|
|
273
|
+
purple400Dark: '#694B96',
|
|
274
|
+
purple500Dark: '#7F5BB6',
|
|
275
|
+
purple600Dark: '#9A78CE',
|
|
276
|
+
purple700Dark: '#BDA7E4',
|
|
277
|
+
purple800Dark: '#D2C1EF',
|
|
278
|
+
purple900Dark: '#E2D9F5',
|
|
279
|
+
magenta50Dark: '#28071F',
|
|
280
|
+
magenta100Dark: '#411636',
|
|
281
|
+
magenta200Dark: '#581F48',
|
|
282
|
+
magenta300Dark: '#6E2A5B',
|
|
283
|
+
magenta400Dark: '#8E3777',
|
|
284
|
+
magenta500Dark: '#AB4490',
|
|
285
|
+
magenta600Dark: '#C664A9',
|
|
286
|
+
magenta700Dark: '#E099C9',
|
|
287
|
+
magenta800Dark: '#EEB6DB',
|
|
288
|
+
magenta900Dark: '#F1D4E7'
|
|
289
|
+
};
|
|
290
|
+
const primitiveLightColors = exports.primitiveLightColors = {};
|
|
291
|
+
const primitiveDarkColors = exports.primitiveDarkColors = {};
|
|
292
|
+
for (const key in primitiveColors) {
|
|
293
|
+
if (key.endsWith('Dark')) {
|
|
294
|
+
primitiveDarkColors[key] = primitiveColors[key];
|
|
295
|
+
} else if (key === 'white' || key === 'black') {
|
|
296
|
+
primitiveLightColors[key] = primitiveColors[key];
|
|
297
|
+
primitiveDarkColors[key] = primitiveColors[key];
|
|
298
|
+
} else {
|
|
299
|
+
primitiveLightColors[key] = primitiveColors[key];
|
|
300
|
+
}
|
|
301
|
+
}
|
package/tokens/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export { default as
|
|
1
|
+
import type { PrimitiveColors } from './types';
|
|
2
|
+
export { default as primitiveColors, primitiveLightColors, primitiveDarkColors, } from './color-primitive-tokens';
|
|
3
|
+
export { default as colors } from './color-primitive-tokens';
|
|
3
4
|
export * from './types';
|
|
4
|
-
/** @deprecated use
|
|
5
|
-
export type TokenColors =
|
|
5
|
+
/** @deprecated use PrimitiveColors instead. To be removed in future versions.*/
|
|
6
|
+
export type TokenColors = PrimitiveColors;
|
package/tokens/index.js
CHANGED
|
@@ -4,15 +4,36 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
+
primitiveColors: true,
|
|
8
|
+
primitiveLightColors: true,
|
|
9
|
+
primitiveDarkColors: true,
|
|
7
10
|
colors: true
|
|
8
11
|
};
|
|
9
12
|
Object.defineProperty(exports, "colors", {
|
|
10
13
|
enumerable: true,
|
|
11
14
|
get: function () {
|
|
12
|
-
return
|
|
15
|
+
return _colorPrimitiveTokens.default;
|
|
13
16
|
}
|
|
14
17
|
});
|
|
15
|
-
|
|
18
|
+
Object.defineProperty(exports, "primitiveColors", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _colorPrimitiveTokens.default;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "primitiveDarkColors", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _colorPrimitiveTokens.primitiveDarkColors;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "primitiveLightColors", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _colorPrimitiveTokens.primitiveLightColors;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
var _colorPrimitiveTokens = _interopRequireWildcard(require("./color-primitive-tokens"));
|
|
16
37
|
var _types = require("./types");
|
|
17
38
|
Object.keys(_types).forEach(function (key) {
|
|
18
39
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -25,4 +46,5 @@ Object.keys(_types).forEach(function (key) {
|
|
|
25
46
|
}
|
|
26
47
|
});
|
|
27
48
|
});
|
|
28
|
-
function
|
|
49
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
50
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
package/tokens/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type PrimitiveColors = {
|
|
2
2
|
white: string;
|
|
3
3
|
black: string;
|
|
4
4
|
gray50: string;
|
|
@@ -11,14 +11,23 @@ export type PrimitiveColorTokens = {
|
|
|
11
11
|
gray700: string;
|
|
12
12
|
gray800: string;
|
|
13
13
|
gray900: string;
|
|
14
|
+
/** @deprecated use gray color tokens instead */
|
|
14
15
|
platinum50: string;
|
|
16
|
+
/** @deprecated use gray color tokens instead */
|
|
15
17
|
platinum100: string;
|
|
18
|
+
/** @deprecated use gray color tokens instead */
|
|
16
19
|
platinum200: string;
|
|
20
|
+
/** @deprecated use gray color tokens instead */
|
|
17
21
|
platinum300: string;
|
|
22
|
+
/** @deprecated use gray color tokens instead */
|
|
18
23
|
platinum400: string;
|
|
24
|
+
/** @deprecated use gray color tokens instead */
|
|
19
25
|
platinum500: string;
|
|
26
|
+
/** @deprecated use gray color tokens instead */
|
|
20
27
|
platinum600: string;
|
|
28
|
+
/** @deprecated use gray color tokens instead */
|
|
21
29
|
platinum700: string;
|
|
30
|
+
/** @deprecated use gray color tokens instead */
|
|
22
31
|
platinum800: string;
|
|
23
32
|
blue50: string;
|
|
24
33
|
blue100: string;
|
|
@@ -28,6 +37,8 @@ export type PrimitiveColorTokens = {
|
|
|
28
37
|
blue500: string;
|
|
29
38
|
blue600: string;
|
|
30
39
|
blue700: string;
|
|
40
|
+
blue800: string;
|
|
41
|
+
blue900: string;
|
|
31
42
|
teal50: string;
|
|
32
43
|
teal100: string;
|
|
33
44
|
teal200: string;
|
|
@@ -36,6 +47,8 @@ export type PrimitiveColorTokens = {
|
|
|
36
47
|
teal500: string;
|
|
37
48
|
teal600: string;
|
|
38
49
|
teal700: string;
|
|
50
|
+
teal800: string;
|
|
51
|
+
teal900: string;
|
|
39
52
|
red50: string;
|
|
40
53
|
red100: string;
|
|
41
54
|
red200: string;
|
|
@@ -44,6 +57,8 @@ export type PrimitiveColorTokens = {
|
|
|
44
57
|
red500: string;
|
|
45
58
|
red600: string;
|
|
46
59
|
red700: string;
|
|
60
|
+
red800: string;
|
|
61
|
+
red900: string;
|
|
47
62
|
green50: string;
|
|
48
63
|
green100: string;
|
|
49
64
|
green200: string;
|
|
@@ -52,6 +67,8 @@ export type PrimitiveColorTokens = {
|
|
|
52
67
|
green500: string;
|
|
53
68
|
green600: string;
|
|
54
69
|
green700: string;
|
|
70
|
+
green800: string;
|
|
71
|
+
green900: string;
|
|
55
72
|
orange50: string;
|
|
56
73
|
orange100: string;
|
|
57
74
|
orange200: string;
|
|
@@ -60,6 +77,18 @@ export type PrimitiveColorTokens = {
|
|
|
60
77
|
orange500: string;
|
|
61
78
|
orange600: string;
|
|
62
79
|
orange700: string;
|
|
80
|
+
orange800: string;
|
|
81
|
+
orange900: string;
|
|
82
|
+
amber50: string;
|
|
83
|
+
amber100: string;
|
|
84
|
+
amber200: string;
|
|
85
|
+
amber300: string;
|
|
86
|
+
amber400: string;
|
|
87
|
+
amber500: string;
|
|
88
|
+
amber600: string;
|
|
89
|
+
amber700: string;
|
|
90
|
+
amber800: string;
|
|
91
|
+
amber900: string;
|
|
63
92
|
magenta50: string;
|
|
64
93
|
magenta100: string;
|
|
65
94
|
magenta200: string;
|
|
@@ -68,6 +97,8 @@ export type PrimitiveColorTokens = {
|
|
|
68
97
|
magenta500: string;
|
|
69
98
|
magenta600: string;
|
|
70
99
|
magenta700: string;
|
|
100
|
+
magenta800: string;
|
|
101
|
+
magenta900: string;
|
|
71
102
|
purple50: string;
|
|
72
103
|
purple100: string;
|
|
73
104
|
purple200: string;
|
|
@@ -76,6 +107,8 @@ export type PrimitiveColorTokens = {
|
|
|
76
107
|
purple500: string;
|
|
77
108
|
purple600: string;
|
|
78
109
|
purple700: string;
|
|
110
|
+
purple800: string;
|
|
111
|
+
purple900: string;
|
|
79
112
|
yellow50: string;
|
|
80
113
|
yellow100: string;
|
|
81
114
|
yellow200: string;
|
|
@@ -84,6 +117,8 @@ export type PrimitiveColorTokens = {
|
|
|
84
117
|
yellow500: string;
|
|
85
118
|
yellow600: string;
|
|
86
119
|
yellow700: string;
|
|
120
|
+
yellow800: string;
|
|
121
|
+
yellow900: string;
|
|
87
122
|
lime50: string;
|
|
88
123
|
lime100: string;
|
|
89
124
|
lime200: string;
|
|
@@ -92,20 +127,154 @@ export type PrimitiveColorTokens = {
|
|
|
92
127
|
lime500: string;
|
|
93
128
|
lime600: string;
|
|
94
129
|
lime700: string;
|
|
130
|
+
lime800: string;
|
|
131
|
+
lime900: string;
|
|
132
|
+
/** @deprecated use orange color tokens instead */
|
|
95
133
|
brown50: string;
|
|
134
|
+
/** @deprecated use orange color tokens instead */
|
|
96
135
|
brown100: string;
|
|
136
|
+
/** @deprecated use orange color tokens instead */
|
|
97
137
|
brown200: string;
|
|
138
|
+
/** @deprecated use orange color tokens instead */
|
|
98
139
|
brown300: string;
|
|
140
|
+
/** @deprecated use orange color tokens instead */
|
|
99
141
|
brown400: string;
|
|
142
|
+
/** @deprecated use orange color tokens instead */
|
|
100
143
|
brown500: string;
|
|
144
|
+
/** @deprecated use orange color tokens instead */
|
|
101
145
|
brown600: string;
|
|
146
|
+
/** @deprecated use orange color tokens instead */
|
|
102
147
|
brown700: string;
|
|
148
|
+
/** @deprecated use blue color tokens instead */
|
|
103
149
|
cobalt50: string;
|
|
150
|
+
/** @deprecated use blue color tokens instead */
|
|
104
151
|
cobalt100: string;
|
|
152
|
+
/** @deprecated use blue color tokens instead */
|
|
105
153
|
cobalt200: string;
|
|
154
|
+
/** @deprecated use blue color tokens instead */
|
|
106
155
|
cobalt300: string;
|
|
156
|
+
/** @deprecated use blue color tokens instead */
|
|
107
157
|
cobalt400: string;
|
|
158
|
+
/** @deprecated use blue color tokens instead */
|
|
108
159
|
cobalt500: string;
|
|
160
|
+
/** @deprecated use blue color tokens instead */
|
|
109
161
|
cobalt600: string;
|
|
162
|
+
/** @deprecated use blue color tokens instead */
|
|
110
163
|
cobalt700: string;
|
|
164
|
+
gray50Dark: string;
|
|
165
|
+
gray100Dark: string;
|
|
166
|
+
gray200Dark: string;
|
|
167
|
+
gray300Dark: string;
|
|
168
|
+
gray400Dark: string;
|
|
169
|
+
gray500Dark: string;
|
|
170
|
+
gray600Dark: string;
|
|
171
|
+
gray700Dark: string;
|
|
172
|
+
gray800Dark: string;
|
|
173
|
+
gray900Dark: string;
|
|
174
|
+
red50Dark: string;
|
|
175
|
+
red100Dark: string;
|
|
176
|
+
red200Dark: string;
|
|
177
|
+
red300Dark: string;
|
|
178
|
+
red400Dark: string;
|
|
179
|
+
red500Dark: string;
|
|
180
|
+
red600Dark: string;
|
|
181
|
+
red700Dark: string;
|
|
182
|
+
red800Dark: string;
|
|
183
|
+
red900Dark: string;
|
|
184
|
+
orange50Dark: string;
|
|
185
|
+
orange100Dark: string;
|
|
186
|
+
orange200Dark: string;
|
|
187
|
+
orange300Dark: string;
|
|
188
|
+
orange400Dark: string;
|
|
189
|
+
orange500Dark: string;
|
|
190
|
+
orange600Dark: string;
|
|
191
|
+
orange700Dark: string;
|
|
192
|
+
orange800Dark: string;
|
|
193
|
+
orange900Dark: string;
|
|
194
|
+
amber50Dark: string;
|
|
195
|
+
amber100Dark: string;
|
|
196
|
+
amber200Dark: string;
|
|
197
|
+
amber300Dark: string;
|
|
198
|
+
amber400Dark: string;
|
|
199
|
+
amber500Dark: string;
|
|
200
|
+
amber600Dark: string;
|
|
201
|
+
amber700Dark: string;
|
|
202
|
+
amber800Dark: string;
|
|
203
|
+
amber900Dark: string;
|
|
204
|
+
yellow50Dark: string;
|
|
205
|
+
yellow100Dark: string;
|
|
206
|
+
yellow200Dark: string;
|
|
207
|
+
yellow300Dark: string;
|
|
208
|
+
yellow400Dark: string;
|
|
209
|
+
yellow500Dark: string;
|
|
210
|
+
yellow600Dark: string;
|
|
211
|
+
yellow700Dark: string;
|
|
212
|
+
yellow800Dark: string;
|
|
213
|
+
yellow900Dark: string;
|
|
214
|
+
lime50Dark: string;
|
|
215
|
+
lime100Dark: string;
|
|
216
|
+
lime200Dark: string;
|
|
217
|
+
lime300Dark: string;
|
|
218
|
+
lime400Dark: string;
|
|
219
|
+
lime500Dark: string;
|
|
220
|
+
lime600Dark: string;
|
|
221
|
+
lime700Dark: string;
|
|
222
|
+
lime800Dark: string;
|
|
223
|
+
lime900Dark: string;
|
|
224
|
+
green50Dark: string;
|
|
225
|
+
green100Dark: string;
|
|
226
|
+
green200Dark: string;
|
|
227
|
+
green300Dark: string;
|
|
228
|
+
green400Dark: string;
|
|
229
|
+
green500Dark: string;
|
|
230
|
+
green600Dark: string;
|
|
231
|
+
green700Dark: string;
|
|
232
|
+
green800Dark: string;
|
|
233
|
+
green900Dark: string;
|
|
234
|
+
teal50Dark: string;
|
|
235
|
+
teal100Dark: string;
|
|
236
|
+
teal200Dark: string;
|
|
237
|
+
teal300Dark: string;
|
|
238
|
+
teal400Dark: string;
|
|
239
|
+
teal500Dark: string;
|
|
240
|
+
teal600Dark: string;
|
|
241
|
+
teal700Dark: string;
|
|
242
|
+
teal800Dark: string;
|
|
243
|
+
teal900Dark: string;
|
|
244
|
+
blue50Dark: string;
|
|
245
|
+
blue100Dark: string;
|
|
246
|
+
blue200Dark: string;
|
|
247
|
+
blue300Dark: string;
|
|
248
|
+
blue400Dark: string;
|
|
249
|
+
blue500Dark: string;
|
|
250
|
+
blue600Dark: string;
|
|
251
|
+
blue700Dark: string;
|
|
252
|
+
blue800Dark: string;
|
|
253
|
+
blue900Dark: string;
|
|
254
|
+
purple50Dark: string;
|
|
255
|
+
purple100Dark: string;
|
|
256
|
+
purple200Dark: string;
|
|
257
|
+
purple300Dark: string;
|
|
258
|
+
purple400Dark: string;
|
|
259
|
+
purple500Dark: string;
|
|
260
|
+
purple600Dark: string;
|
|
261
|
+
purple700Dark: string;
|
|
262
|
+
purple800Dark: string;
|
|
263
|
+
purple900Dark: string;
|
|
264
|
+
magenta50Dark: string;
|
|
265
|
+
magenta100Dark: string;
|
|
266
|
+
magenta200Dark: string;
|
|
267
|
+
magenta300Dark: string;
|
|
268
|
+
magenta400Dark: string;
|
|
269
|
+
magenta500Dark: string;
|
|
270
|
+
magenta600Dark: string;
|
|
271
|
+
magenta700Dark: string;
|
|
272
|
+
magenta800Dark: string;
|
|
273
|
+
magenta900Dark: string;
|
|
274
|
+
};
|
|
275
|
+
export type PrimitiveLightColors = {
|
|
276
|
+
[K in keyof PrimitiveColors as K extends `${infer _}Dark` ? never : K]: PrimitiveColors[K];
|
|
277
|
+
};
|
|
278
|
+
export type PrimitiveDarkColors = {
|
|
279
|
+
[K in keyof PrimitiveColors as K extends `${infer _}Dark` | 'white' | 'black' ? K : never]: PrimitiveColors[K];
|
|
111
280
|
};
|
package/button-docked/index.d.ts
DELETED
package/button-docked/index.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _exportNames = {
|
|
7
|
-
ButtonDocked: true
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "ButtonDocked", {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () {
|
|
12
|
-
return _buttonDocked.default;
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
var _buttonDocked = _interopRequireDefault(require("./button-docked"));
|
|
16
|
-
var _styledComponents = require("./styled-components");
|
|
17
|
-
Object.keys(_styledComponents).forEach(function (key) {
|
|
18
|
-
if (key === "default" || key === "__esModule") return;
|
|
19
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
20
|
-
if (key in exports && exports[key] === _styledComponents[key]) return;
|
|
21
|
-
Object.defineProperty(exports, key, {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return _styledComponents[key];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
var _types = require("./types");
|
|
29
|
-
Object.keys(_types).forEach(function (key) {
|
|
30
|
-
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
32
|
-
if (key in exports && exports[key] === _types[key]) return;
|
|
33
|
-
Object.defineProperty(exports, key, {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () {
|
|
36
|
-
return _types[key];
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const StyledRoot: import("styletron-react").StyletronComponent<"div", {}>;
|
|
2
|
-
export declare const StyledActionContainer: import("styletron-react").StyletronComponent<"div", {}>;
|
|
3
|
-
export declare const StyledActionSubContainer: import("styletron-react").StyletronComponent<"div", {
|
|
4
|
-
$reverseWhenWide: any;
|
|
5
|
-
}>;
|