@xqmsg/ui-core 0.27.0 → 0.29.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.
Files changed (90) hide show
  1. package/README.md +3 -3
  2. package/dist/components/SimpleTable/SimpleTable.stories.d.ts +2 -2
  3. package/dist/components/SimpleTable/TableTypes.d.ts +1 -1
  4. package/dist/components/SimpleTable/utils/generateTableColumns.d.ts +1 -1
  5. package/dist/components/banner/Banner.stories.d.ts +2 -2
  6. package/dist/components/banner/index.d.ts +1 -0
  7. package/dist/components/breadcrumbs/Breadcrumbs.stories.d.ts +2 -2
  8. package/dist/components/button/Button.stories.d.ts +2 -2
  9. package/dist/components/button/google/GoogleButton.stories.d.ts +2 -2
  10. package/dist/components/button/index.d.ts +4 -5
  11. package/dist/components/button/microsoft/MicrosoftButton.stories.d.ts +2 -2
  12. package/dist/components/button/spinner/SpinnerButton.stories.d.ts +2 -2
  13. package/dist/components/card/Card.stories.d.ts +2 -2
  14. package/dist/components/card/index.d.ts +1 -0
  15. package/dist/components/form/Form.stories.d.ts +2 -2
  16. package/dist/components/form/section/FormSection.stories.d.ts +2 -2
  17. package/dist/components/input/Input.stories.d.ts +2 -2
  18. package/dist/components/input/InputTypes.d.ts +3 -1
  19. package/dist/components/input/components/token/Token.stories.d.ts +2 -2
  20. package/dist/components/layout/Layout.stories.d.ts +2 -2
  21. package/dist/components/link/Link.stories.d.ts +2 -2
  22. package/dist/components/loading/LoadingIndicator.stories.d.ts +2 -2
  23. package/dist/components/modal/Modal.stories.d.ts +2 -2
  24. package/dist/components/navigation/NavigationMenu.stories.d.ts +2 -2
  25. package/dist/components/tabs/TabsWrapper.stories.d.ts +2 -2
  26. package/dist/components/text/Text.stories.d.ts +2 -2
  27. package/dist/components/toast/Toast.stories.d.ts +2 -2
  28. package/dist/components/toolbar/Toolbar.stories.d.ts +2 -2
  29. package/dist/hooks/useToast.d.ts +1 -2
  30. package/dist/theme/components/checkbox.d.ts +1 -1
  31. package/dist/theme/components/code.d.ts +9 -3
  32. package/dist/theme/components/form-error.d.ts +1 -2
  33. package/dist/theme/components/link.d.ts +1 -1
  34. package/dist/theme/components/menu.d.ts +2 -1
  35. package/dist/theme/components/modal.d.ts +15 -11
  36. package/dist/theme/components/switch.d.ts +2 -1
  37. package/dist/theme/components/tabs.d.ts +4 -4
  38. package/dist/theme/foundations/colors.d.ts +225 -22
  39. package/dist/theme/foundations/typography.d.ts +10 -9
  40. package/dist/theme/styles.d.ts +0 -3
  41. package/dist/ui-core.cjs.development.js +296 -243
  42. package/dist/ui-core.cjs.development.js.map +1 -1
  43. package/dist/ui-core.cjs.production.min.js +1 -1
  44. package/dist/ui-core.cjs.production.min.js.map +1 -1
  45. package/dist/ui-core.esm.js +296 -244
  46. package/dist/ui-core.esm.js.map +1 -1
  47. package/package.json +4 -9
  48. package/src/components/SimpleTable/SimpleTable.tsx +1 -1
  49. package/src/components/SimpleTable/TableTypes.ts +1 -1
  50. package/src/components/SimpleTable/components/loading/index.tsx +2 -2
  51. package/src/components/SimpleTable/components/text/index.tsx +2 -2
  52. package/src/components/banner/index.tsx +18 -5
  53. package/src/components/breadcrumbs/components/icon/index.tsx +3 -3
  54. package/src/components/breadcrumbs/components/label/index.tsx +1 -1
  55. package/src/components/button/index.tsx +6 -6
  56. package/src/components/card/index.tsx +12 -10
  57. package/src/components/icons/chevron/down/index.tsx +1 -1
  58. package/src/components/icons/settings/index.tsx +1 -1
  59. package/src/components/input/InputTypes.ts +4 -1
  60. package/src/components/input/StackedMultiSelect/index.tsx +10 -3
  61. package/src/components/input/StackedNumberInput/StackedNumberInput.tsx +2 -2
  62. package/src/components/input/StackedPilledInput/index.tsx +11 -3
  63. package/src/components/input/StackedSelect/index.tsx +1 -5
  64. package/src/components/input/components/dropdown/index.tsx +8 -8
  65. package/src/components/input/components/label/index.tsx +2 -2
  66. package/src/components/input/components/token/index.tsx +1 -1
  67. package/src/components/input/index.tsx +1 -2
  68. package/src/components/link/index.tsx +1 -1
  69. package/src/components/loading/index.tsx +1 -1
  70. package/src/components/navigation/components/header/index.tsx +1 -1
  71. package/src/components/navigation/components/items/index.tsx +1 -1
  72. package/src/components/select/index.tsx +0 -19
  73. package/src/components/toast/index.tsx +2 -2
  74. package/src/components/toolbar/components/breadcrumbs/item/index.tsx +2 -2
  75. package/src/components/toolbar/components/dropdown/index.tsx +2 -2
  76. package/src/theme/components/alert.ts +4 -4
  77. package/src/theme/components/button.ts +50 -50
  78. package/src/theme/components/form-error.ts +3 -5
  79. package/src/theme/components/form-label.ts +1 -1
  80. package/src/theme/components/form.ts +2 -2
  81. package/src/theme/components/input.ts +3 -3
  82. package/src/theme/components/link.ts +4 -13
  83. package/src/theme/components/menu.ts +1 -1
  84. package/src/theme/components/modal.ts +17 -11
  85. package/src/theme/components/table.ts +2 -2
  86. package/src/theme/components/tabs.ts +6 -6
  87. package/src/theme/foundations/colors.ts +89 -37
  88. package/src/theme/foundations/shadows.ts +3 -3
  89. package/src/theme/foundations/typography.ts +3 -2
  90. package/src/theme/styles.ts +0 -3
@@ -11,6 +11,57 @@ export interface ColorHues {
11
11
  900: string;
12
12
  }
13
13
  export declare const colors: {
14
+ text: {
15
+ primary: string;
16
+ secondary: string;
17
+ tertiary: string;
18
+ onAccent: string;
19
+ danger: string;
20
+ };
21
+ surface: {
22
+ canvas: string;
23
+ };
24
+ action: {
25
+ solid: string;
26
+ danger: string;
27
+ };
28
+ status: {
29
+ success: {
30
+ fill: string;
31
+ };
32
+ warning: {
33
+ fill: string;
34
+ };
35
+ danger: {
36
+ fill: string;
37
+ };
38
+ };
39
+ border: {
40
+ focus: string;
41
+ default: string;
42
+ /** @deprecated typo was '#99999919A' — kept for compat, use inline '#9999991A' */
43
+ light: string;
44
+ };
45
+ fill: {
46
+ light: {
47
+ primary: string;
48
+ secondary: string;
49
+ tertiary: string;
50
+ quaternary: string;
51
+ };
52
+ dark: {
53
+ subtle: string;
54
+ strong: string;
55
+ };
56
+ /** @deprecated use colors.action.solid */
57
+ action: string;
58
+ /** @deprecated use colors.status.success.fill */
59
+ success: string;
60
+ /** @deprecated use colors.status.danger.fill */
61
+ error: string;
62
+ /** @deprecated use colors.status.warning.fill */
63
+ warning: string;
64
+ };
14
65
  label: {
15
66
  primary: {
16
67
  light: string;
@@ -27,17 +78,101 @@ export declare const colors: {
27
78
  };
28
79
  blur: {
29
80
  quaternary: {
30
- light: string;
31
81
  dark: string;
32
82
  };
33
83
  tertiary: {
34
- light: string;
35
84
  dark: string;
36
85
  };
37
86
  };
87
+ semantic: {
88
+ action: string;
89
+ success: string;
90
+ warning: string;
91
+ error: string;
92
+ };
93
+ transparent: string;
94
+ current: string;
95
+ black: string;
96
+ white: string;
97
+ /** @deprecated */
98
+ lightBlue: string;
99
+ coolGray: string;
100
+ /** @deprecated */
101
+ darkBlue: string;
102
+ /** @deprecated */
103
+ backdrop: string;
104
+ whiteAlpha: {
105
+ 50: string;
106
+ 100: string;
107
+ 200: string;
108
+ 300: string;
109
+ 400: string;
110
+ 500: string;
111
+ 600: string;
112
+ 700: string;
113
+ 800: string;
114
+ 900: string;
115
+ };
116
+ blackAlpha: {
117
+ 50: string;
118
+ 100: string;
119
+ 200: string;
120
+ 300: string;
121
+ 400: string;
122
+ 500: string;
123
+ 600: string;
124
+ 700: string;
125
+ 800: string;
126
+ 900: string;
127
+ };
128
+ gray: {
129
+ 50: string;
130
+ 100: string;
131
+ 200: string;
132
+ 300: string;
133
+ 400: string;
134
+ 500: string;
135
+ 600: string;
136
+ 700: string;
137
+ 800: string;
138
+ 900: string;
139
+ };
140
+ red: ColorHues;
141
+ orange: ColorHues;
142
+ green: ColorHues;
143
+ blue: ColorHues;
144
+ };
145
+ /** Canonical alias — prefer this over `colors` for new code */
146
+ export declare const tokens: {
147
+ text: {
148
+ primary: string;
149
+ secondary: string;
150
+ tertiary: string;
151
+ onAccent: string;
152
+ danger: string;
153
+ };
154
+ surface: {
155
+ canvas: string;
156
+ };
157
+ action: {
158
+ solid: string;
159
+ danger: string;
160
+ };
161
+ status: {
162
+ success: {
163
+ fill: string;
164
+ };
165
+ warning: {
166
+ fill: string;
167
+ };
168
+ danger: {
169
+ fill: string;
170
+ };
171
+ };
38
172
  border: {
39
173
  focus: string;
40
174
  default: string;
175
+ /** @deprecated typo was '#99999919A' — kept for compat, use inline '#9999991A' */
41
176
  light: string;
42
177
  };
43
178
  fill: {
@@ -47,10 +182,40 @@ export declare const colors: {
47
182
  tertiary: string;
48
183
  quaternary: string;
49
184
  };
185
+ dark: {
186
+ subtle: string;
187
+ strong: string;
188
+ };
189
+ /** @deprecated use colors.action.solid */
190
+ action: string;
191
+ /** @deprecated use colors.status.success.fill */
50
192
  success: string;
193
+ /** @deprecated use colors.status.danger.fill */
51
194
  error: string;
195
+ /** @deprecated use colors.status.warning.fill */
52
196
  warning: string;
53
- action: string;
197
+ };
198
+ label: {
199
+ primary: {
200
+ light: string;
201
+ dark: string;
202
+ };
203
+ secondary: {
204
+ light: string;
205
+ };
206
+ tertiary: {
207
+ light: string;
208
+ dark: string;
209
+ };
210
+ error: string;
211
+ };
212
+ blur: {
213
+ quaternary: {
214
+ dark: string;
215
+ };
216
+ tertiary: {
217
+ dark: string;
218
+ };
54
219
  };
55
220
  semantic: {
56
221
  action: string;
@@ -62,9 +227,12 @@ export declare const colors: {
62
227
  current: string;
63
228
  black: string;
64
229
  white: string;
230
+ /** @deprecated */
65
231
  lightBlue: string;
66
232
  coolGray: string;
233
+ /** @deprecated */
67
234
  darkBlue: string;
235
+ /** @deprecated */
68
236
  backdrop: string;
69
237
  whiteAlpha: {
70
238
  50: string;
@@ -109,6 +277,57 @@ export declare const colors: {
109
277
  };
110
278
  export declare type Colors = typeof colors;
111
279
  declare const _default: {
280
+ text: {
281
+ primary: string;
282
+ secondary: string;
283
+ tertiary: string;
284
+ onAccent: string;
285
+ danger: string;
286
+ };
287
+ surface: {
288
+ canvas: string;
289
+ };
290
+ action: {
291
+ solid: string;
292
+ danger: string;
293
+ };
294
+ status: {
295
+ success: {
296
+ fill: string;
297
+ };
298
+ warning: {
299
+ fill: string;
300
+ };
301
+ danger: {
302
+ fill: string;
303
+ };
304
+ };
305
+ border: {
306
+ focus: string;
307
+ default: string;
308
+ /** @deprecated typo was '#99999919A' — kept for compat, use inline '#9999991A' */
309
+ light: string;
310
+ };
311
+ fill: {
312
+ light: {
313
+ primary: string;
314
+ secondary: string;
315
+ tertiary: string;
316
+ quaternary: string;
317
+ };
318
+ dark: {
319
+ subtle: string;
320
+ strong: string;
321
+ };
322
+ /** @deprecated use colors.action.solid */
323
+ action: string;
324
+ /** @deprecated use colors.status.success.fill */
325
+ success: string;
326
+ /** @deprecated use colors.status.danger.fill */
327
+ error: string;
328
+ /** @deprecated use colors.status.warning.fill */
329
+ warning: string;
330
+ };
112
331
  label: {
113
332
  primary: {
114
333
  light: string;
@@ -125,31 +344,12 @@ declare const _default: {
125
344
  };
126
345
  blur: {
127
346
  quaternary: {
128
- light: string;
129
347
  dark: string;
130
348
  };
131
349
  tertiary: {
132
- light: string;
133
350
  dark: string;
134
351
  };
135
352
  };
136
- border: {
137
- focus: string;
138
- default: string;
139
- light: string;
140
- };
141
- fill: {
142
- light: {
143
- primary: string;
144
- secondary: string;
145
- tertiary: string;
146
- quaternary: string;
147
- };
148
- success: string;
149
- error: string;
150
- warning: string;
151
- action: string;
152
- };
153
353
  semantic: {
154
354
  action: string;
155
355
  success: string;
@@ -160,9 +360,12 @@ declare const _default: {
160
360
  current: string;
161
361
  black: string;
162
362
  white: string;
363
+ /** @deprecated */
163
364
  lightBlue: string;
164
365
  coolGray: string;
366
+ /** @deprecated */
165
367
  darkBlue: string;
368
+ /** @deprecated */
166
369
  backdrop: string;
167
370
  whiteAlpha: {
168
371
  50: string;
@@ -15,14 +15,14 @@ declare const typography: {
15
15
  base: number;
16
16
  tall: number;
17
17
  taller: string;
18
- 3: string;
19
- 4: string;
20
- 5: string;
21
- 6: string;
22
- 7: string;
23
- 8: string;
24
- 9: string;
25
- 10: string;
18
+ '3': string;
19
+ '4': string;
20
+ '5': string;
21
+ '6': string;
22
+ '7': string;
23
+ '8': string;
24
+ '9': string;
25
+ '10': string;
26
26
  };
27
27
  fontWeights: {
28
28
  hairline: number;
@@ -36,7 +36,8 @@ declare const typography: {
36
36
  black: number;
37
37
  };
38
38
  fonts: {
39
- base: string;
39
+ heading: string;
40
+ body: string;
40
41
  mono: string;
41
42
  };
42
43
  fontSizes: {
@@ -12,9 +12,6 @@ declare const _default: {
12
12
  '*, *::before, *::after': {
13
13
  borderColor: string;
14
14
  };
15
- '*::placeholder': {
16
- color: string;
17
- };
18
15
  };
19
16
  };
20
17
  export default _default;