@lawkit/ui 0.1.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 (99) hide show
  1. package/dist/index.css +1 -0
  2. package/dist/index.js +3325 -0
  3. package/dist/tokens/src/contracts/theme-contract.css.d.ts +65 -0
  4. package/dist/tokens/src/foundation/color-palette.d.ts +150 -0
  5. package/dist/tokens/src/foundation/spacing-scale.d.ts +17 -0
  6. package/dist/tokens/src/foundation/typography-scale.d.ts +79 -0
  7. package/dist/tokens/src/index.d.ts +11 -0
  8. package/dist/tokens/src/runtime/create-theme-vars.d.ts +9 -0
  9. package/dist/tokens/src/semantic/color-roles.d.ts +409 -0
  10. package/dist/tokens/src/semantic/text-styles.d.ts +548 -0
  11. package/dist/tokens/src/theme.runtime.d.ts +2 -0
  12. package/dist/tokens/src/themes/light-theme.css.d.ts +23 -0
  13. package/dist/ui-v3/src/components/Alert/Alert.css.d.ts +59 -0
  14. package/dist/ui-v3/src/components/Alert/index.d.ts +34 -0
  15. package/dist/ui-v3/src/components/Avatar/Avatar.css.d.ts +95 -0
  16. package/dist/ui-v3/src/components/Avatar/index.d.ts +56 -0
  17. package/dist/ui-v3/src/components/Button/Button.css.d.ts +45 -0
  18. package/dist/ui-v3/src/components/Button/index.d.ts +22 -0
  19. package/dist/ui-v3/src/components/ButtonGroup/ButtonGroup.css.d.ts +68 -0
  20. package/dist/ui-v3/src/components/ButtonGroup/index.d.ts +26 -0
  21. package/dist/ui-v3/src/components/ButtonTab/ButtonTab.css.d.ts +23 -0
  22. package/dist/ui-v3/src/components/ButtonTab/index.d.ts +19 -0
  23. package/dist/ui-v3/src/components/CalendarPopover/CalendarPopover.css.d.ts +72 -0
  24. package/dist/ui-v3/src/components/CalendarPopover/index.d.ts +61 -0
  25. package/dist/ui-v3/src/components/Card/Card.css.d.ts +15 -0
  26. package/dist/ui-v3/src/components/Card/index.d.ts +29 -0
  27. package/dist/ui-v3/src/components/ChartTooltip/ChartTooltip.css.d.ts +36 -0
  28. package/dist/ui-v3/src/components/ChartTooltip/index.d.ts +28 -0
  29. package/dist/ui-v3/src/components/Checkbox/Checkbox.css.d.ts +71 -0
  30. package/dist/ui-v3/src/components/Checkbox/index.d.ts +27 -0
  31. package/dist/ui-v3/src/components/ChipsNavigation/ChipsNavigation.css.d.ts +26 -0
  32. package/dist/ui-v3/src/components/ChipsNavigation/index.d.ts +21 -0
  33. package/dist/ui-v3/src/components/Collapse/Collapse.css.d.ts +67 -0
  34. package/dist/ui-v3/src/components/Collapse/index.d.ts +32 -0
  35. package/dist/ui-v3/src/components/DataTable/DataTable.css.d.ts +32 -0
  36. package/dist/ui-v3/src/components/DataTable/index.d.ts +47 -0
  37. package/dist/ui-v3/src/components/DatePicker/DatePicker.css.d.ts +88 -0
  38. package/dist/ui-v3/src/components/DatePicker/index.d.ts +57 -0
  39. package/dist/ui-v3/src/components/Dropdown/Dropdown.css.d.ts +78 -0
  40. package/dist/ui-v3/src/components/Dropdown/index.d.ts +37 -0
  41. package/dist/ui-v3/src/components/FileUpload/FileUpload.css.d.ts +49 -0
  42. package/dist/ui-v3/src/components/FileUpload/index.d.ts +98 -0
  43. package/dist/ui-v3/src/components/IconButtonGroup/IconButtonGroup.css.d.ts +52 -0
  44. package/dist/ui-v3/src/components/IconButtonGroup/index.d.ts +23 -0
  45. package/dist/ui-v3/src/components/InfoPopover/InfoPopover.css.d.ts +9 -0
  46. package/dist/ui-v3/src/components/InfoPopover/index.d.ts +38 -0
  47. package/dist/ui-v3/src/components/Input/Input.css.d.ts +99 -0
  48. package/dist/ui-v3/src/components/Input/index.d.ts +86 -0
  49. package/dist/ui-v3/src/components/ListGroup/ListGroup.css.d.ts +47 -0
  50. package/dist/ui-v3/src/components/ListGroup/index.d.ts +30 -0
  51. package/dist/ui-v3/src/components/Mention/Mention.css.d.ts +1 -0
  52. package/dist/ui-v3/src/components/Mention/index.d.ts +15 -0
  53. package/dist/ui-v3/src/components/Modal/Modal.css.d.ts +23 -0
  54. package/dist/ui-v3/src/components/Modal/index.d.ts +34 -0
  55. package/dist/ui-v3/src/components/NavigationTab/NavigationTab.css.d.ts +18 -0
  56. package/dist/ui-v3/src/components/NavigationTab/index.d.ts +20 -0
  57. package/dist/ui-v3/src/components/NumberInput/NumberInput.css.d.ts +45 -0
  58. package/dist/ui-v3/src/components/NumberInput/index.d.ts +32 -0
  59. package/dist/ui-v3/src/components/Pagination/Pagination.css.d.ts +20 -0
  60. package/dist/ui-v3/src/components/Pagination/index.d.ts +18 -0
  61. package/dist/ui-v3/src/components/Popover/Popover.css.d.ts +65 -0
  62. package/dist/ui-v3/src/components/Popover/index.d.ts +39 -0
  63. package/dist/ui-v3/src/components/Progress/Progress.css.d.ts +60 -0
  64. package/dist/ui-v3/src/components/Progress/index.d.ts +36 -0
  65. package/dist/ui-v3/src/components/Radio/Radio.css.d.ts +55 -0
  66. package/dist/ui-v3/src/components/Radio/index.d.ts +64 -0
  67. package/dist/ui-v3/src/components/Skeleton/Skeleton.css.d.ts +19 -0
  68. package/dist/ui-v3/src/components/Skeleton/index.d.ts +52 -0
  69. package/dist/ui-v3/src/components/Slider/Slider.css.d.ts +10 -0
  70. package/dist/ui-v3/src/components/Slider/index.d.ts +66 -0
  71. package/dist/ui-v3/src/components/Spinner/Spinner.css.d.ts +68 -0
  72. package/dist/ui-v3/src/components/Spinner/index.d.ts +22 -0
  73. package/dist/ui-v3/src/components/SweetAlert/SweetAlert.css.d.ts +37 -0
  74. package/dist/ui-v3/src/components/SweetAlert/index.d.ts +25 -0
  75. package/dist/ui-v3/src/components/Switch/Switch.css.d.ts +46 -0
  76. package/dist/ui-v3/src/components/Switch/index.d.ts +26 -0
  77. package/dist/ui-v3/src/components/Tabs/Tabs.css.d.ts +55 -0
  78. package/dist/ui-v3/src/components/Tabs/index.d.ts +29 -0
  79. package/dist/ui-v3/src/components/TagSelect/TagSelect.css.d.ts +12 -0
  80. package/dist/ui-v3/src/components/TagSelect/index.d.ts +37 -0
  81. package/dist/ui-v3/src/components/Toast/Toast.css.d.ts +97 -0
  82. package/dist/ui-v3/src/components/Toast/index.d.ts +57 -0
  83. package/dist/ui-v3/src/components/Tooltip/Tooltip.css.d.ts +60 -0
  84. package/dist/ui-v3/src/components/Tooltip/index.d.ts +26 -0
  85. package/dist/ui-v3/src/components/TreeView/TreeView.css.d.ts +103 -0
  86. package/dist/ui-v3/src/components/TreeView/index.d.ts +72 -0
  87. package/dist/ui-v3/src/components/Widget/Widget.css.d.ts +52 -0
  88. package/dist/ui-v3/src/components/Widget/index.d.ts +109 -0
  89. package/dist/ui-v3/src/foundations/field/Field.d.ts +20 -0
  90. package/dist/ui-v3/src/foundations/field/field.css.d.ts +70 -0
  91. package/dist/ui-v3/src/foundations/field/index.d.ts +2 -0
  92. package/dist/ui-v3/src/index.d.ts +80 -0
  93. package/dist/ui-v3/src/lib/Portal.d.ts +6 -0
  94. package/dist/ui-v3/src/lib/cx.d.ts +1 -0
  95. package/dist/ui-v3/src/lib/cx.test.d.ts +1 -0
  96. package/dist/ui-v3/src/lib/useFocusTrap.d.ts +2 -0
  97. package/dist/ui-v3/src/styles/shared.css.d.ts +15 -0
  98. package/dist/ui-v3/src/styles/sprinkles.css.d.ts +29 -0
  99. package/package.json +67 -0
@@ -0,0 +1,409 @@
1
+ export declare const semanticColorRoles: {
2
+ readonly surface: {
3
+ readonly page: string;
4
+ readonly canvas: string;
5
+ readonly subtle: string;
6
+ readonly raised: string;
7
+ readonly disabled: string;
8
+ readonly tableHeader: "#f1f4f9";
9
+ readonly backdrop: "rgba(0, 0, 0, 0.2)";
10
+ };
11
+ readonly text: {
12
+ readonly primary: string;
13
+ readonly heading: string;
14
+ readonly secondary: string;
15
+ readonly tertiary: string;
16
+ readonly disabled: string;
17
+ readonly inverse: string;
18
+ readonly placeholder: string;
19
+ };
20
+ readonly border: {
21
+ readonly subtle: string;
22
+ readonly default: string;
23
+ readonly strong: string;
24
+ readonly focus: string;
25
+ readonly input: "#9ea7b8";
26
+ readonly primary: string;
27
+ readonly secondary: string;
28
+ readonly success: "#28c76f";
29
+ readonly danger: string;
30
+ readonly warning: string;
31
+ readonly info: string;
32
+ readonly dark: "#4b4b4b";
33
+ };
34
+ readonly action: {
35
+ readonly primary: {
36
+ readonly default: string;
37
+ readonly hover: string;
38
+ readonly active: string;
39
+ readonly subtle: "rgba(33, 81, 236, 0.12)";
40
+ readonly subtleActive: "rgba(23, 57, 165, 0.12)";
41
+ };
42
+ readonly secondary: {
43
+ readonly default: string;
44
+ readonly hover: string;
45
+ readonly active: string;
46
+ readonly subtle: "rgba(130, 134, 139, 0.12)";
47
+ };
48
+ };
49
+ readonly status: {
50
+ readonly success: {
51
+ readonly text: "#006d38";
52
+ readonly fill: "rgba(39, 194, 129, 0.12)";
53
+ readonly border: "#28c76f";
54
+ };
55
+ readonly danger: {
56
+ readonly text: "#b12a30";
57
+ readonly fill: "rgba(234, 59, 59, 0.12)";
58
+ readonly border: string;
59
+ };
60
+ readonly warning: {
61
+ readonly text: "#7d5800";
62
+ readonly fill: "rgba(240, 175, 35, 0.12)";
63
+ readonly border: string;
64
+ };
65
+ readonly info: {
66
+ readonly text: "#006876";
67
+ readonly fill: "rgba(0, 207, 232, 0.12)";
68
+ readonly border: string;
69
+ };
70
+ readonly dark: {
71
+ readonly text: "#343434";
72
+ readonly fill: "rgba(76, 84, 105, 0.12)";
73
+ readonly border: string;
74
+ };
75
+ readonly scourt: {
76
+ readonly blue: {
77
+ readonly text: "#003399";
78
+ readonly fill: "rgba(0, 51, 153, 0.12)";
79
+ };
80
+ readonly green: {
81
+ readonly text: "#336633";
82
+ readonly fill: "rgba(51, 102, 51, 0.12)";
83
+ };
84
+ readonly red: {
85
+ readonly text: "#660000";
86
+ readonly fill: "rgba(102, 0, 0, 0.12)";
87
+ };
88
+ readonly yellow: {
89
+ readonly text: "#cc6600";
90
+ readonly fill: "rgba(204, 102, 0, 0.12)";
91
+ };
92
+ readonly stamp: {
93
+ readonly text: "#ff0000";
94
+ readonly fill: "rgba(234, 59, 59, 0.12)";
95
+ };
96
+ };
97
+ };
98
+ readonly button: {
99
+ readonly solid: {
100
+ readonly primary: {
101
+ readonly background: string;
102
+ readonly hover: string;
103
+ readonly active: string;
104
+ readonly text: string;
105
+ };
106
+ readonly secondary: {
107
+ readonly background: string;
108
+ readonly hover: string;
109
+ readonly active: string;
110
+ readonly text: string;
111
+ };
112
+ readonly success: {
113
+ readonly background: "#28c76f";
114
+ readonly hover: "#28c76f";
115
+ readonly active: "#006d38";
116
+ readonly text: string;
117
+ };
118
+ readonly danger: {
119
+ readonly background: string;
120
+ readonly hover: string;
121
+ readonly active: string;
122
+ readonly text: string;
123
+ };
124
+ readonly warning: {
125
+ readonly background: string;
126
+ readonly hover: string;
127
+ readonly active: string;
128
+ readonly text: string;
129
+ };
130
+ readonly info: {
131
+ readonly background: string;
132
+ readonly hover: string;
133
+ readonly active: string;
134
+ readonly text: string;
135
+ };
136
+ readonly dark: {
137
+ readonly background: string;
138
+ readonly hover: string;
139
+ readonly active: string;
140
+ readonly text: string;
141
+ };
142
+ readonly neutral: {
143
+ readonly background: string;
144
+ readonly hover: string;
145
+ readonly active: string;
146
+ readonly text: string;
147
+ };
148
+ readonly disabled: {
149
+ readonly background: string;
150
+ readonly text: string;
151
+ };
152
+ };
153
+ readonly outline: {
154
+ readonly primary: {
155
+ readonly border: string;
156
+ readonly text: string;
157
+ readonly hover: "rgba(33, 81, 236, 0.12)";
158
+ readonly active: "rgba(23, 57, 165, 0.12)";
159
+ };
160
+ readonly secondary: {
161
+ readonly border: string;
162
+ readonly text: string;
163
+ readonly hover: "rgba(130, 134, 139, 0.12)";
164
+ readonly active: "rgba(130, 134, 139, 0.12)";
165
+ };
166
+ readonly success: {
167
+ readonly border: "#28c76f";
168
+ readonly text: "#006d38";
169
+ readonly hover: "rgba(39, 194, 129, 0.12)";
170
+ readonly active: "rgba(39, 194, 129, 0.12)";
171
+ };
172
+ readonly danger: {
173
+ readonly border: string;
174
+ readonly text: "#b12a30";
175
+ readonly hover: "rgba(234, 59, 59, 0.12)";
176
+ readonly active: "rgba(234, 59, 59, 0.12)";
177
+ };
178
+ readonly warning: {
179
+ readonly border: string;
180
+ readonly text: "#7d5800";
181
+ readonly hover: "rgba(240, 175, 35, 0.12)";
182
+ readonly active: "rgba(240, 175, 35, 0.12)";
183
+ };
184
+ readonly info: {
185
+ readonly border: string;
186
+ readonly text: "#006876";
187
+ readonly hover: "rgba(0, 207, 232, 0.12)";
188
+ readonly active: "rgba(0, 207, 232, 0.12)";
189
+ };
190
+ readonly dark: {
191
+ readonly border: string;
192
+ readonly text: "#343434";
193
+ readonly hover: "rgba(76, 84, 105, 0.12)";
194
+ readonly active: "rgba(76, 84, 105, 0.12)";
195
+ };
196
+ readonly neutral: {
197
+ readonly border: string;
198
+ readonly text: string;
199
+ readonly hover: string;
200
+ readonly active: string;
201
+ };
202
+ readonly disabled: {
203
+ readonly border: string;
204
+ readonly text: string;
205
+ readonly hover: string;
206
+ readonly active: string;
207
+ };
208
+ };
209
+ readonly gradient: {
210
+ readonly primary: {
211
+ readonly from: string;
212
+ readonly to: string;
213
+ readonly hoverFrom: string;
214
+ readonly hoverTo: string;
215
+ readonly activeFrom: string;
216
+ readonly activeTo: string;
217
+ readonly disabledFrom: "rgba(33, 81, 236, 0.18)";
218
+ readonly disabledTo: "rgba(33, 81, 236, 0.18)";
219
+ readonly text: string;
220
+ };
221
+ readonly secondary: {
222
+ readonly from: string;
223
+ readonly to: string;
224
+ readonly hoverFrom: string;
225
+ readonly hoverTo: string;
226
+ readonly activeFrom: string;
227
+ readonly activeTo: string;
228
+ readonly disabledFrom: "rgba(130, 134, 139, 0.18)";
229
+ readonly disabledTo: "rgba(130, 134, 139, 0.18)";
230
+ readonly text: string;
231
+ };
232
+ readonly success: {
233
+ readonly from: "#28c76f";
234
+ readonly to: "#28c76f";
235
+ readonly hoverFrom: "#28c76f";
236
+ readonly hoverTo: "#28c76f";
237
+ readonly activeFrom: "#006d38";
238
+ readonly activeTo: "#006d38";
239
+ readonly disabledFrom: "rgba(40, 199, 111, 0.18)";
240
+ readonly disabledTo: "rgba(40, 199, 111, 0.18)";
241
+ readonly text: string;
242
+ };
243
+ readonly danger: {
244
+ readonly from: string;
245
+ readonly to: string;
246
+ readonly hoverFrom: string;
247
+ readonly hoverTo: string;
248
+ readonly activeFrom: string;
249
+ readonly activeTo: string;
250
+ readonly disabledFrom: "rgba(234, 84, 85, 0.18)";
251
+ readonly disabledTo: "rgba(234, 84, 85, 0.18)";
252
+ readonly text: string;
253
+ };
254
+ readonly warning: {
255
+ readonly from: string;
256
+ readonly to: string;
257
+ readonly hoverFrom: string;
258
+ readonly hoverTo: string;
259
+ readonly activeFrom: string;
260
+ readonly activeTo: string;
261
+ readonly disabledFrom: "rgba(240, 175, 35, 0.18)";
262
+ readonly disabledTo: "rgba(240, 175, 35, 0.18)";
263
+ readonly text: string;
264
+ };
265
+ readonly info: {
266
+ readonly from: string;
267
+ readonly to: string;
268
+ readonly hoverFrom: string;
269
+ readonly hoverTo: string;
270
+ readonly activeFrom: string;
271
+ readonly activeTo: string;
272
+ readonly disabledFrom: "rgba(0, 207, 232, 0.18)";
273
+ readonly disabledTo: "rgba(0, 207, 232, 0.18)";
274
+ readonly text: string;
275
+ };
276
+ readonly dark: {
277
+ readonly from: string;
278
+ readonly to: string;
279
+ readonly hoverFrom: string;
280
+ readonly hoverTo: string;
281
+ readonly activeFrom: string;
282
+ readonly activeTo: string;
283
+ readonly disabledFrom: "rgba(75, 75, 75, 0.18)";
284
+ readonly disabledTo: "rgba(75, 75, 75, 0.18)";
285
+ readonly text: string;
286
+ };
287
+ readonly neutral: {
288
+ readonly from: string;
289
+ readonly to: string;
290
+ readonly hoverFrom: string;
291
+ readonly hoverTo: string;
292
+ readonly activeFrom: string;
293
+ readonly activeTo: string;
294
+ readonly disabledFrom: "rgba(130, 134, 139, 0.18)";
295
+ readonly disabledTo: "rgba(130, 134, 139, 0.18)";
296
+ readonly text: string;
297
+ };
298
+ };
299
+ };
300
+ readonly field: {
301
+ readonly label: string;
302
+ readonly text: string;
303
+ readonly placeholder: string;
304
+ readonly helper: string;
305
+ readonly background: string;
306
+ readonly backgroundDisabled: string;
307
+ readonly border: "#9ea7b8";
308
+ readonly borderHover: string;
309
+ readonly borderFocus: string;
310
+ readonly icon: string;
311
+ };
312
+ readonly table: {
313
+ readonly headerBackground: "#f1f4f9";
314
+ readonly bodyBackground: "#f2f4f6";
315
+ readonly border: string;
316
+ readonly text: string;
317
+ };
318
+ readonly badge: {
319
+ readonly filled: {
320
+ readonly primary: {
321
+ readonly background: string;
322
+ readonly text: string;
323
+ };
324
+ readonly neutral: {
325
+ readonly background: string;
326
+ readonly text: string;
327
+ };
328
+ };
329
+ readonly outline: {
330
+ readonly primary: {
331
+ readonly background: string;
332
+ readonly border: string;
333
+ readonly text: string;
334
+ };
335
+ readonly neutral: {
336
+ readonly background: string;
337
+ readonly border: string;
338
+ readonly text: string;
339
+ };
340
+ };
341
+ readonly muted: {
342
+ readonly primary: {
343
+ readonly background: "rgba(33, 81, 236, 0.12)";
344
+ readonly border: string;
345
+ readonly text: string;
346
+ };
347
+ readonly neutral: {
348
+ readonly background: "rgba(158, 167, 184, 0.12)";
349
+ readonly border: string;
350
+ readonly text: string;
351
+ };
352
+ };
353
+ };
354
+ readonly chip: {
355
+ readonly background: string;
356
+ readonly border: string;
357
+ readonly text: string;
358
+ readonly selected: {
359
+ readonly basic: {
360
+ readonly background: "rgba(33, 81, 236, 0.12)";
361
+ readonly border: string;
362
+ readonly text: string;
363
+ };
364
+ readonly check: {
365
+ readonly background: "rgba(33, 81, 236, 0.12)";
366
+ readonly border: string;
367
+ readonly text: string;
368
+ };
369
+ readonly file: {
370
+ readonly background: "rgba(39, 194, 129, 0.12)";
371
+ readonly border: "#28c76f";
372
+ readonly text: "#006d38";
373
+ };
374
+ readonly link: {
375
+ readonly background: string;
376
+ readonly border: string;
377
+ readonly text: string;
378
+ };
379
+ };
380
+ };
381
+ readonly alert: {
382
+ readonly info: {
383
+ readonly background: "rgba(0, 207, 232, 0.12)";
384
+ readonly border: string;
385
+ readonly text: string;
386
+ readonly icon: "#006876";
387
+ };
388
+ readonly neutral: {
389
+ readonly background: string;
390
+ readonly border: string;
391
+ readonly text: string;
392
+ readonly icon: string;
393
+ };
394
+ readonly action: {
395
+ readonly primary: {
396
+ readonly background: string;
397
+ readonly hover: string;
398
+ readonly active: string;
399
+ readonly text: string;
400
+ };
401
+ readonly warning: {
402
+ readonly background: string;
403
+ readonly hover: string;
404
+ readonly active: string;
405
+ readonly text: string;
406
+ };
407
+ };
408
+ };
409
+ };