@widergy/energy-ui 3.167.0 → 3.168.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/CHANGELOG.md +19 -2
- package/dist/components/UTDatePicker/assets/calendar.svg +3 -13
- package/dist/components/UTDatePicker/versions/V0/assets/calendar.svg +3 -13
- package/dist/components/UTDatePicker/versions/V0/index.js +3 -10
- package/dist/components/UTDatePicker/versions/V1/index.js +2 -1
- package/dist/components/UTLoading/README.md +85 -0
- package/dist/components/UTLoading/components/Spinner/index.js +1 -1
- package/dist/components/UTLoading/index.js +17 -7
- package/dist/components/UTLoading/versions/V0/index.js +32 -0
- package/dist/components/UTLoading/versions/V1/components/LogoLoader/components/GradientTrack/index.js +65 -0
- package/dist/components/UTLoading/versions/V1/components/LogoLoader/constants.js +14 -0
- package/dist/components/UTLoading/versions/V1/components/LogoLoader/index.js +54 -0
- package/dist/components/UTLoading/versions/V1/components/LogoLoader/styles.module.scss +107 -0
- package/dist/components/UTLoading/versions/V1/components/LogoLoader/theme.js +18 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/components/SpinnerTrack/constants.js +7 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/components/SpinnerTrack/index.js +57 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/constants.js +12 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/index.js +56 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/styles.module.scss +39 -0
- package/dist/components/UTLoading/versions/V1/components/Spinner/theme.js +21 -0
- package/dist/components/UTLoading/versions/V1/constants.js +11 -0
- package/dist/components/UTLoading/versions/V1/index.js +30 -0
- package/dist/components/UTLoading/versions/V1/stories/UTLoadingV1.mdx +67 -0
- package/dist/components/UTLoading/versions/V1/stories/UTLoadingV1.stories.js +369 -0
- package/dist/constants/testIds.js +4 -0
- package/dist/esm/components/UTDatePicker/assets/calendar.svg +3 -13
- package/dist/esm/components/UTDatePicker/versions/V0/assets/calendar.svg +3 -13
- package/dist/esm/components/UTDatePicker/versions/V0/index.js +3 -10
- package/dist/esm/components/UTDatePicker/versions/V1/index.js +2 -1
- package/dist/esm/components/UTLoading/README.md +85 -0
- package/dist/esm/components/UTLoading/components/Spinner/index.js +1 -1
- package/dist/esm/components/UTLoading/index.js +18 -8
- package/dist/esm/components/UTLoading/versions/V0/index.js +25 -0
- package/dist/esm/components/UTLoading/versions/V1/components/LogoLoader/components/GradientTrack/index.js +58 -0
- package/dist/esm/components/UTLoading/versions/V1/components/LogoLoader/constants.js +8 -0
- package/dist/esm/components/UTLoading/versions/V1/components/LogoLoader/index.js +47 -0
- package/dist/esm/components/UTLoading/versions/V1/components/LogoLoader/styles.module.scss +107 -0
- package/dist/esm/components/UTLoading/versions/V1/components/LogoLoader/theme.js +11 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/components/SpinnerTrack/constants.js +1 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/components/SpinnerTrack/index.js +50 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/constants.js +6 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/index.js +49 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/styles.module.scss +39 -0
- package/dist/esm/components/UTLoading/versions/V1/components/Spinner/theme.js +14 -0
- package/dist/esm/components/UTLoading/versions/V1/constants.js +5 -0
- package/dist/esm/components/UTLoading/versions/V1/index.js +23 -0
- package/dist/esm/components/UTLoading/versions/V1/stories/UTLoadingV1.mdx +67 -0
- package/dist/esm/components/UTLoading/versions/V1/stories/UTLoadingV1.stories.js +362 -0
- package/dist/esm/constants/testIds.js +4 -0
- package/dist/esm/utils/hooks/useCSSVariables/constants.js +16 -1
- package/dist/utils/hooks/useCSSVariables/constants.js +16 -1
- package/package.json +1 -1
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import UTLoading from '../../../index';
|
|
3
|
+
export default {
|
|
4
|
+
args: {
|
|
5
|
+
loading: true,
|
|
6
|
+
version: 'V1'
|
|
7
|
+
},
|
|
8
|
+
argTypes: {
|
|
9
|
+
colors: {
|
|
10
|
+
control: 'object',
|
|
11
|
+
description: 'Array de colores para el Spinner. 2 colores → gradiente lineal. 1 color → sólido. Sin prop → usa el color del tema.',
|
|
12
|
+
table: {
|
|
13
|
+
defaultValue: {
|
|
14
|
+
summary: 'undefined'
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
summary: 'string[]'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
dataTestId: {
|
|
22
|
+
control: 'text',
|
|
23
|
+
description: 'Identificador para pruebas automatizadas.',
|
|
24
|
+
table: {
|
|
25
|
+
defaultValue: {
|
|
26
|
+
summary: 'undefined'
|
|
27
|
+
},
|
|
28
|
+
type: {
|
|
29
|
+
summary: 'string'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
fullScreen: {
|
|
34
|
+
control: 'boolean',
|
|
35
|
+
description: 'Cuando es true el loader ocupa toda la pantalla (position fixed). Cuando es false se adapta al contenedor padre.',
|
|
36
|
+
table: {
|
|
37
|
+
defaultValue: {
|
|
38
|
+
summary: 'true'
|
|
39
|
+
},
|
|
40
|
+
type: {
|
|
41
|
+
summary: 'boolean'
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
loading: {
|
|
46
|
+
control: 'boolean',
|
|
47
|
+
description: 'Controla si se muestra el loader o los children.',
|
|
48
|
+
table: {
|
|
49
|
+
defaultValue: {
|
|
50
|
+
summary: 'undefined'
|
|
51
|
+
},
|
|
52
|
+
type: {
|
|
53
|
+
summary: 'boolean'
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
Logo: {
|
|
58
|
+
control: 'text',
|
|
59
|
+
description: 'URL del asset SVG del logo/isologo del cliente.',
|
|
60
|
+
table: {
|
|
61
|
+
defaultValue: {
|
|
62
|
+
summary: 'undefined'
|
|
63
|
+
},
|
|
64
|
+
type: {
|
|
65
|
+
summary: 'string'
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
text: {
|
|
70
|
+
control: 'text',
|
|
71
|
+
description: 'Texto de carga opcional.',
|
|
72
|
+
table: {
|
|
73
|
+
defaultValue: {
|
|
74
|
+
summary: 'Cargando...'
|
|
75
|
+
},
|
|
76
|
+
type: {
|
|
77
|
+
summary: 'string'
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
useUtilityLoading: {
|
|
82
|
+
control: 'boolean',
|
|
83
|
+
description: 'Cuando es true muestra el LogoLoader. Cuando es false muestra el Spinner nuevo.',
|
|
84
|
+
table: {
|
|
85
|
+
defaultValue: {
|
|
86
|
+
summary: 'false'
|
|
87
|
+
},
|
|
88
|
+
type: {
|
|
89
|
+
summary: 'boolean'
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
version: {
|
|
94
|
+
control: 'select',
|
|
95
|
+
description: 'Versión del componente a utilizar.',
|
|
96
|
+
options: ['V0', 'V1'],
|
|
97
|
+
table: {
|
|
98
|
+
defaultValue: {
|
|
99
|
+
summary: 'V0'
|
|
100
|
+
},
|
|
101
|
+
type: {
|
|
102
|
+
summary: "'V0' | 'V1'"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
component: UTLoading,
|
|
108
|
+
parameters: {
|
|
109
|
+
controls: {
|
|
110
|
+
exclude: ['classes', 'className', 'color', 'size', 'textClassName', 'thickness', 'wrapperClassName']
|
|
111
|
+
},
|
|
112
|
+
docs: {
|
|
113
|
+
description: {
|
|
114
|
+
component: 'UTLoading V1 — Nueva versión del componente de carga. Incluye un Spinner custom con línea gruesa y un LogoLoader con track de gradiente animado y logo del cliente.'
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
title: 'Energy-UI/UTLoading/V1'
|
|
119
|
+
};
|
|
120
|
+
export const SpinnerPlayground = {
|
|
121
|
+
args: {
|
|
122
|
+
loading: true,
|
|
123
|
+
text: 'Cargando...',
|
|
124
|
+
useUtilityLoading: false,
|
|
125
|
+
version: 'V1'
|
|
126
|
+
},
|
|
127
|
+
name: 'Spinner — Playground',
|
|
128
|
+
parameters: {
|
|
129
|
+
docs: {
|
|
130
|
+
description: {
|
|
131
|
+
story: 'Spinner circular custom con línea gruesa y label de texto opcional.'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
export const SpinnerConGradiente = {
|
|
137
|
+
args: {
|
|
138
|
+
colors: ['var(--UT-loading-color-start)', 'var(--UT-loading-color-end)'],
|
|
139
|
+
loading: true,
|
|
140
|
+
text: 'Cargando...',
|
|
141
|
+
useUtilityLoading: false,
|
|
142
|
+
version: 'V1'
|
|
143
|
+
},
|
|
144
|
+
decorators: [Story => /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("style", null, "\n :root {\n --identitySolidTone3: #4D97FA;\n --identitySolidTone2: #7BB8FF;\n --UT-loading-color-start: var(--identitySolidTone3);\n --UT-loading-color-end: var(--identitySolidTone2);\n }\n "), /*#__PURE__*/React.createElement(Story, null))],
|
|
145
|
+
name: 'Spinner — Con gradiente',
|
|
146
|
+
parameters: {
|
|
147
|
+
docs: {
|
|
148
|
+
description: {
|
|
149
|
+
story: 'Spinner con gradiente lineal. Se pasan 2 colores vía prop `colors`. En producción se inyectan desde los design tokens `--UT-loading-color-start` y `--UT-loading-color-end`.'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
export const SpinnerSinTexto = {
|
|
155
|
+
args: {
|
|
156
|
+
loading: true,
|
|
157
|
+
text: '',
|
|
158
|
+
useUtilityLoading: false,
|
|
159
|
+
version: 'V1'
|
|
160
|
+
},
|
|
161
|
+
name: 'Spinner — Sin texto',
|
|
162
|
+
parameters: {
|
|
163
|
+
docs: {
|
|
164
|
+
description: {
|
|
165
|
+
story: 'Spinner sin label de texto.'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
export const LogoLoaderFullScreen = {
|
|
171
|
+
args: {
|
|
172
|
+
fullScreen: true,
|
|
173
|
+
loading: true,
|
|
174
|
+
Logo: 'https://utilitygo-demo-qa-ev.widergydev.com/favicon.png',
|
|
175
|
+
text: '',
|
|
176
|
+
useUtilityLoading: true,
|
|
177
|
+
version: 'V1'
|
|
178
|
+
},
|
|
179
|
+
name: 'LogoLoader — Full Screen',
|
|
180
|
+
parameters: {
|
|
181
|
+
docs: {
|
|
182
|
+
description: {
|
|
183
|
+
story: 'LogoLoader en modo full screen (position fixed, z-index 999). Muestra el track con gradiente de identidad del cliente rotando.'
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
export const LogoLoaderEnContenedor = {
|
|
189
|
+
args: {
|
|
190
|
+
fullScreen: false,
|
|
191
|
+
loading: true,
|
|
192
|
+
Logo: 'https://utilitygo-demo-qa-ev.widergydev.com/favicon.png',
|
|
193
|
+
text: 'Cargando...',
|
|
194
|
+
useUtilityLoading: true,
|
|
195
|
+
version: 'V1'
|
|
196
|
+
},
|
|
197
|
+
decorators: [Story => /*#__PURE__*/React.createElement("div", {
|
|
198
|
+
style: {
|
|
199
|
+
border: '1px dashed #C1C7D0',
|
|
200
|
+
height: '300px',
|
|
201
|
+
position: 'relative',
|
|
202
|
+
width: '100%'
|
|
203
|
+
}
|
|
204
|
+
}, /*#__PURE__*/React.createElement(Story, null))],
|
|
205
|
+
name: 'LogoLoader — En contenedor',
|
|
206
|
+
parameters: {
|
|
207
|
+
docs: {
|
|
208
|
+
description: {
|
|
209
|
+
story: 'LogoLoader adaptado al contenedor padre (fullScreen=false). Se centra dentro del div contenedor.'
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
export const LogoLoaderConLogo = {
|
|
215
|
+
args: {
|
|
216
|
+
fullScreen: false,
|
|
217
|
+
loading: true,
|
|
218
|
+
Logo: 'https://utilitygo-demo-qa-ev.widergydev.com/favicon.png',
|
|
219
|
+
text: 'Cargando...',
|
|
220
|
+
useUtilityLoading: true,
|
|
221
|
+
version: 'V1'
|
|
222
|
+
},
|
|
223
|
+
decorators: [Story => /*#__PURE__*/React.createElement("div", {
|
|
224
|
+
style: {
|
|
225
|
+
border: '1px dashed #C1C7D0',
|
|
226
|
+
height: '300px',
|
|
227
|
+
position: 'relative',
|
|
228
|
+
width: '100%'
|
|
229
|
+
}
|
|
230
|
+
}, /*#__PURE__*/React.createElement(Story, null))],
|
|
231
|
+
name: 'LogoLoader — Con logo',
|
|
232
|
+
parameters: {
|
|
233
|
+
docs: {
|
|
234
|
+
description: {
|
|
235
|
+
story: 'LogoLoader con logo SVG del cliente centrado dentro del track.'
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
export const LogoLoaderSinTexto = {
|
|
241
|
+
args: {
|
|
242
|
+
fullScreen: false,
|
|
243
|
+
loading: true,
|
|
244
|
+
Logo: 'https://utilitygo-demo-qa-ev.widergydev.com/favicon.png',
|
|
245
|
+
text: '',
|
|
246
|
+
useUtilityLoading: true,
|
|
247
|
+
version: 'V1'
|
|
248
|
+
},
|
|
249
|
+
decorators: [Story => /*#__PURE__*/React.createElement("div", {
|
|
250
|
+
style: {
|
|
251
|
+
border: '1px dashed #C1C7D0',
|
|
252
|
+
height: '300px',
|
|
253
|
+
position: 'relative',
|
|
254
|
+
width: '100%'
|
|
255
|
+
}
|
|
256
|
+
}, /*#__PURE__*/React.createElement(Story, null))],
|
|
257
|
+
name: 'LogoLoader — Sin texto',
|
|
258
|
+
parameters: {
|
|
259
|
+
docs: {
|
|
260
|
+
description: {
|
|
261
|
+
story: 'LogoLoader sin label de texto debajo del track.'
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
export const TestSite = {
|
|
267
|
+
render: () => /*#__PURE__*/React.createElement("div", {
|
|
268
|
+
style: {
|
|
269
|
+
display: 'flex',
|
|
270
|
+
flexDirection: 'column',
|
|
271
|
+
gap: '32px'
|
|
272
|
+
}
|
|
273
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
274
|
+
style: {
|
|
275
|
+
fontFamily: 'sans-serif',
|
|
276
|
+
fontSize: '12px',
|
|
277
|
+
marginBottom: '8px'
|
|
278
|
+
}
|
|
279
|
+
}, "Spinner \u2014 loading true"), /*#__PURE__*/React.createElement("div", {
|
|
280
|
+
style: {
|
|
281
|
+
height: '120px',
|
|
282
|
+
position: 'relative'
|
|
283
|
+
}
|
|
284
|
+
}, /*#__PURE__*/React.createElement(UTLoading, {
|
|
285
|
+
loading: true,
|
|
286
|
+
useUtilityLoading: false,
|
|
287
|
+
version: "V1"
|
|
288
|
+
}))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
289
|
+
style: {
|
|
290
|
+
fontFamily: 'sans-serif',
|
|
291
|
+
fontSize: '12px',
|
|
292
|
+
marginBottom: '8px'
|
|
293
|
+
}
|
|
294
|
+
}, "Spinner \u2014 sin texto"), /*#__PURE__*/React.createElement("div", {
|
|
295
|
+
style: {
|
|
296
|
+
height: '120px',
|
|
297
|
+
position: 'relative'
|
|
298
|
+
}
|
|
299
|
+
}, /*#__PURE__*/React.createElement(UTLoading, {
|
|
300
|
+
loading: true,
|
|
301
|
+
text: "",
|
|
302
|
+
useUtilityLoading: false,
|
|
303
|
+
version: "V1"
|
|
304
|
+
}))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
305
|
+
style: {
|
|
306
|
+
fontFamily: 'sans-serif',
|
|
307
|
+
fontSize: '12px',
|
|
308
|
+
marginBottom: '8px'
|
|
309
|
+
}
|
|
310
|
+
}, "Spinner \u2014 loading false (muestra children)"), /*#__PURE__*/React.createElement("div", {
|
|
311
|
+
style: {
|
|
312
|
+
height: '120px',
|
|
313
|
+
position: 'relative'
|
|
314
|
+
}
|
|
315
|
+
}, /*#__PURE__*/React.createElement(UTLoading, {
|
|
316
|
+
loading: false,
|
|
317
|
+
useUtilityLoading: false,
|
|
318
|
+
version: "V1"
|
|
319
|
+
}, /*#__PURE__*/React.createElement("span", null, "Contenido cargado")))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
320
|
+
style: {
|
|
321
|
+
fontFamily: 'sans-serif',
|
|
322
|
+
fontSize: '12px',
|
|
323
|
+
marginBottom: '8px'
|
|
324
|
+
}
|
|
325
|
+
}, "LogoLoader \u2014 en contenedor (fullScreen=false)"), /*#__PURE__*/React.createElement("div", {
|
|
326
|
+
style: {
|
|
327
|
+
border: '1px dashed #C1C7D0',
|
|
328
|
+
height: '200px',
|
|
329
|
+
position: 'relative'
|
|
330
|
+
}
|
|
331
|
+
}, /*#__PURE__*/React.createElement(UTLoading, {
|
|
332
|
+
fullScreen: false,
|
|
333
|
+
loading: true,
|
|
334
|
+
Logo: "https://utilitygo-demo-qa-ev.widergydev.com/favicon.png",
|
|
335
|
+
useUtilityLoading: true,
|
|
336
|
+
version: "V1"
|
|
337
|
+
}))), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
338
|
+
style: {
|
|
339
|
+
fontFamily: 'sans-serif',
|
|
340
|
+
fontSize: '12px',
|
|
341
|
+
marginBottom: '8px'
|
|
342
|
+
}
|
|
343
|
+
}, "LogoLoader \u2014 loading false (muestra children)"), /*#__PURE__*/React.createElement("div", {
|
|
344
|
+
style: {
|
|
345
|
+
height: '80px',
|
|
346
|
+
position: 'relative'
|
|
347
|
+
}
|
|
348
|
+
}, /*#__PURE__*/React.createElement(UTLoading, {
|
|
349
|
+
fullScreen: false,
|
|
350
|
+
loading: false,
|
|
351
|
+
useUtilityLoading: true,
|
|
352
|
+
version: "V1"
|
|
353
|
+
}, /*#__PURE__*/React.createElement("span", null, "Contenido cargado"))))),
|
|
354
|
+
name: 'Test Site',
|
|
355
|
+
parameters: {
|
|
356
|
+
docs: {
|
|
357
|
+
description: {
|
|
358
|
+
story: 'Casos de prueba para el Storybook Test Runner.'
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
};
|
|
@@ -163,6 +163,10 @@ export const TEST_IDS = {
|
|
|
163
163
|
wrapperObservation: {
|
|
164
164
|
actionIcon: 'wrapperObservation.actionIcon.'
|
|
165
165
|
},
|
|
166
|
+
UTLoading: {
|
|
167
|
+
logoLoader: 'UTLoading.logoLoader',
|
|
168
|
+
spinner: 'UTLoading.spinner'
|
|
169
|
+
},
|
|
166
170
|
UTSnackbar: {
|
|
167
171
|
closeButton: "".concat(ID_CONSTANTS.UT_SNACKBAR, ".closeButton"),
|
|
168
172
|
description: "".concat(ID_CONSTANTS.UT_SNACKBAR, ".description"),
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export const baseTokens = {
|
|
2
2
|
base: {
|
|
3
|
+
'size-12a': '4.5rem',
|
|
4
|
+
'size-13a': '7.5rem',
|
|
5
|
+
'size-16a': '12.5rem',
|
|
3
6
|
'size-full': '100%',
|
|
4
7
|
'size-0': '0rem',
|
|
5
8
|
'size-1': '0.125rem',
|
|
@@ -131,6 +134,12 @@ export const baseTokens = {
|
|
|
131
134
|
'size-control-xl': 'size-11',
|
|
132
135
|
'size-control-2xl': 'size-12',
|
|
133
136
|
'size-control-3xl': 'size-13',
|
|
137
|
+
'size-control-4xl': 'size-13a',
|
|
138
|
+
'size-brand-logo-2xs': 'size-11',
|
|
139
|
+
'size-brand-logo-xs': 'size-12a',
|
|
140
|
+
'size-brand-logo-sm': 'size-13a',
|
|
141
|
+
'size-brand-logo-md': 'size-15',
|
|
142
|
+
'size-brand-logo-lg': 'size-16a',
|
|
134
143
|
'size-icon-3xs': 'size-4',
|
|
135
144
|
'size-icon-2xs': 'size-5',
|
|
136
145
|
'size-icon-xs': 'size-6',
|
|
@@ -292,6 +301,12 @@ export const baseTokens = {
|
|
|
292
301
|
'UT-datepicker-calendar-gap': 'gap-lg',
|
|
293
302
|
'UT-datepicker-calendar-padding': 'padding-md',
|
|
294
303
|
'UT-datepicker-input-padding-x': 'padding-sm',
|
|
295
|
-
'UT-datepicker-input-height': 'size-control-sm'
|
|
304
|
+
'UT-datepicker-input-height': 'size-control-sm',
|
|
305
|
+
'UT-loading-size': 'size-control-4xl',
|
|
306
|
+
'UT-loading-logo-width': 'size-brand-logo-2xs',
|
|
307
|
+
'UT-loading-color-start': 'var(--identitySolidTone3)',
|
|
308
|
+
'UT-loading-color-end': 'var(--identitySolidTone2)',
|
|
309
|
+
'UT-loading-text-size': 'font-body-size-md',
|
|
310
|
+
'UT-loading-gap': 'gap-lg'
|
|
296
311
|
}
|
|
297
312
|
};
|
|
@@ -6,6 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.baseTokens = void 0;
|
|
7
7
|
const baseTokens = exports.baseTokens = {
|
|
8
8
|
base: {
|
|
9
|
+
'size-12a': '4.5rem',
|
|
10
|
+
'size-13a': '7.5rem',
|
|
11
|
+
'size-16a': '12.5rem',
|
|
9
12
|
'size-full': '100%',
|
|
10
13
|
'size-0': '0rem',
|
|
11
14
|
'size-1': '0.125rem',
|
|
@@ -137,6 +140,12 @@ const baseTokens = exports.baseTokens = {
|
|
|
137
140
|
'size-control-xl': 'size-11',
|
|
138
141
|
'size-control-2xl': 'size-12',
|
|
139
142
|
'size-control-3xl': 'size-13',
|
|
143
|
+
'size-control-4xl': 'size-13a',
|
|
144
|
+
'size-brand-logo-2xs': 'size-11',
|
|
145
|
+
'size-brand-logo-xs': 'size-12a',
|
|
146
|
+
'size-brand-logo-sm': 'size-13a',
|
|
147
|
+
'size-brand-logo-md': 'size-15',
|
|
148
|
+
'size-brand-logo-lg': 'size-16a',
|
|
140
149
|
'size-icon-3xs': 'size-4',
|
|
141
150
|
'size-icon-2xs': 'size-5',
|
|
142
151
|
'size-icon-xs': 'size-6',
|
|
@@ -298,6 +307,12 @@ const baseTokens = exports.baseTokens = {
|
|
|
298
307
|
'UT-datepicker-calendar-gap': 'gap-lg',
|
|
299
308
|
'UT-datepicker-calendar-padding': 'padding-md',
|
|
300
309
|
'UT-datepicker-input-padding-x': 'padding-sm',
|
|
301
|
-
'UT-datepicker-input-height': 'size-control-sm'
|
|
310
|
+
'UT-datepicker-input-height': 'size-control-sm',
|
|
311
|
+
'UT-loading-size': 'size-control-4xl',
|
|
312
|
+
'UT-loading-logo-width': 'size-brand-logo-2xs',
|
|
313
|
+
'UT-loading-color-start': 'var(--identitySolidTone3)',
|
|
314
|
+
'UT-loading-color-end': 'var(--identitySolidTone2)',
|
|
315
|
+
'UT-loading-text-size': 'font-body-size-md',
|
|
316
|
+
'UT-loading-gap': 'gap-lg'
|
|
302
317
|
}
|
|
303
318
|
};
|