@expcat/tigercat-core 2.1.1 → 2.1.3

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 (76) hide show
  1. package/dist/{data-export-BtjseC7G.d.ts → data-export-D01yjggE.d.ts} +18 -7
  2. package/dist/datepicker-locales/ar-SA.d.ts +2 -1
  3. package/dist/datepicker-locales/ar-SA.js +8 -1
  4. package/dist/datepicker-locales/de-DE.d.ts +2 -1
  5. package/dist/datepicker-locales/de-DE.js +8 -1
  6. package/dist/datepicker-locales/en-US.d.ts +2 -1
  7. package/dist/datepicker-locales/en-US.js +3 -1
  8. package/dist/datepicker-locales/es-ES.d.ts +2 -1
  9. package/dist/datepicker-locales/es-ES.js +8 -1
  10. package/dist/datepicker-locales/fr-FR.d.ts +2 -1
  11. package/dist/datepicker-locales/fr-FR.js +8 -1
  12. package/dist/datepicker-locales/id-ID.d.ts +2 -1
  13. package/dist/datepicker-locales/id-ID.js +8 -1
  14. package/dist/datepicker-locales/ja-JP.d.ts +2 -1
  15. package/dist/datepicker-locales/ja-JP.js +8 -1
  16. package/dist/datepicker-locales/ko-KR.d.ts +2 -1
  17. package/dist/datepicker-locales/ko-KR.js +8 -1
  18. package/dist/datepicker-locales/pt-BR.d.ts +2 -1
  19. package/dist/datepicker-locales/pt-BR.js +8 -1
  20. package/dist/datepicker-locales/registry.d.ts +2 -1
  21. package/dist/datepicker-locales/registry.js +94 -13
  22. package/dist/datepicker-locales/th-TH.d.ts +2 -1
  23. package/dist/datepicker-locales/th-TH.js +8 -1
  24. package/dist/datepicker-locales/vi-VN.d.ts +2 -1
  25. package/dist/datepicker-locales/vi-VN.js +8 -1
  26. package/dist/datepicker-locales/zh-CN.d.ts +2 -1
  27. package/dist/datepicker-locales/zh-CN.js +3 -1
  28. package/dist/datepicker-locales/zh-TW.d.ts +2 -1
  29. package/dist/datepicker-locales/zh-TW.js +8 -1
  30. package/dist/icons/common.d.ts +2 -2
  31. package/dist/icons/common.js +14 -8
  32. package/dist/index.d.ts +10251 -5344
  33. package/dist/index.js +31073 -16382
  34. package/dist/locale-qoiGEqe_.d.ts +1507 -0
  35. package/dist/locales/ar-SA.d.ts +2 -2
  36. package/dist/locales/ar-SA.js +459 -399
  37. package/dist/locales/de-DE.d.ts +2 -2
  38. package/dist/locales/de-DE.js +466 -406
  39. package/dist/locales/en-US.d.ts +2 -2
  40. package/dist/locales/en-US.js +300 -61
  41. package/dist/locales/es-ES.d.ts +2 -2
  42. package/dist/locales/es-ES.js +460 -400
  43. package/dist/locales/fr-FR.d.ts +2 -2
  44. package/dist/locales/fr-FR.js +463 -403
  45. package/dist/locales/id-ID.d.ts +3 -3
  46. package/dist/locales/id-ID.js +480 -403
  47. package/dist/locales/ja-JP.d.ts +3 -3
  48. package/dist/locales/ja-JP.js +476 -399
  49. package/dist/locales/ko-KR.d.ts +3 -3
  50. package/dist/locales/ko-KR.js +476 -399
  51. package/dist/locales/pt-BR.d.ts +2 -2
  52. package/dist/locales/pt-BR.js +462 -402
  53. package/dist/locales/th-TH.d.ts +3 -3
  54. package/dist/locales/th-TH.js +478 -401
  55. package/dist/locales/vi-VN.d.ts +3 -3
  56. package/dist/locales/vi-VN.js +477 -400
  57. package/dist/locales/zh-CN.d.ts +2 -2
  58. package/dist/locales/zh-CN.js +298 -59
  59. package/dist/locales/zh-TW.d.ts +3 -3
  60. package/dist/locales/zh-TW.js +478 -401
  61. package/dist/{table-D_1D4Euk.d.ts → table-R9Yp1aVa.d.ts} +77 -54
  62. package/dist/tailwind/modern.js +1364 -150
  63. package/dist/{tailwind-entry-nnuviNxx.d.ts → tailwind-entry-C26Y3TZG.d.ts} +13 -10
  64. package/dist/tailwind.d.ts +1 -1
  65. package/dist/tailwind.js +1406 -136
  66. package/dist/utils/data-export.d.ts +19 -5
  67. package/dist/utils/data-export.js +138 -13
  68. package/dist/utils/table-export.d.ts +21 -12
  69. package/dist/utils/table-export.js +75 -46
  70. package/package.json +1 -1
  71. package/tokens/figma-variables.json +223 -147
  72. package/tokens/tokens.css +224 -57
  73. package/tokens/tokens.json +205 -31
  74. package/dist/datepicker-Digy7Stt.d.ts +0 -201
  75. package/dist/locale-CGl5S1-B.d.ts +0 -572
  76. package/tokens/tailwind-tokens.js +0 -145
@@ -1,572 +0,0 @@
1
- import { C as ComponentSize, D as DatePickerLocalePreset } from './datepicker-Digy7Stt.js';
2
-
3
- /** TimePicker shared types */
4
-
5
- type TimeFormat = '12' | '24';
6
- type TimePickerModelValue = string | null | [string | null, string | null];
7
- interface TimePickerLabels {
8
- hour: string;
9
- minute: string;
10
- second: string;
11
- now: string;
12
- ok: string;
13
- start: string;
14
- end: string;
15
- clear: string;
16
- toggle: string;
17
- dialog: string;
18
- selectTime: string;
19
- selectTimeRange: string;
20
- }
21
- interface TimePickerProps {
22
- /**
23
- * Locale used for UI labels (e.g. AM/PM) and display formatting.
24
- * Example: 'zh-CN', 'en-US', or a Tigercat locale object.
25
- */
26
- locale?: string | Partial<TigerLocale>;
27
- /**
28
- * UI labels for i18n.
29
- * When provided, merges with locale-based defaults.
30
- */
31
- labels?: Partial<TimePickerLabels>;
32
- /**
33
- * TimePicker size
34
- * @default 'md'
35
- */
36
- size?: ComponentSize;
37
- /** Controlled value. Format: 'HH:mm' or 'HH:mm:ss' */
38
- value?: TimePickerModelValue;
39
- /** Uncontrolled default value. Format: 'HH:mm' or 'HH:mm:ss' */
40
- defaultValue?: TimePickerModelValue;
41
- /**
42
- * Enable range selection (start/end).
43
- * When true, value/defaultValue use a tuple: [start, end].
44
- * @default false
45
- */
46
- range?: boolean;
47
- /**
48
- * Time format (12-hour or 24-hour)
49
- * @default '24'
50
- */
51
- format?: TimeFormat;
52
- /**
53
- * Whether to show seconds
54
- * @default false
55
- */
56
- showSeconds?: boolean;
57
- /**
58
- * Hour step
59
- * @default 1
60
- */
61
- hourStep?: number;
62
- /**
63
- * Minute step
64
- * @default 1
65
- */
66
- minuteStep?: number;
67
- /**
68
- * Second step
69
- * @default 1
70
- */
71
- secondStep?: number;
72
- /**
73
- * Placeholder text
74
- * @default 'Select time'
75
- */
76
- placeholder?: string;
77
- /**
78
- * Whether the timepicker is disabled
79
- * @default false
80
- */
81
- disabled?: boolean;
82
- /**
83
- * Whether the timepicker is readonly
84
- * @default false
85
- */
86
- readonly?: boolean;
87
- /**
88
- * Whether the timepicker is required
89
- * @default false
90
- */
91
- required?: boolean;
92
- /**
93
- * Minimum selectable time (HH:mm format)
94
- */
95
- minTime?: string | null;
96
- /**
97
- * Maximum selectable time (HH:mm format)
98
- */
99
- maxTime?: string | null;
100
- /**
101
- * Whether to show the clear button
102
- * @default true
103
- */
104
- clearable?: boolean;
105
- /**
106
- * Input name attribute
107
- */
108
- name?: string;
109
- /**
110
- * Input id attribute
111
- */
112
- id?: string;
113
- }
114
-
115
- type TigerLocaleDirection = 'ltr' | 'rtl';
116
- interface TigerLocaleCommon {
117
- okText?: string;
118
- cancelText?: string;
119
- closeText?: string;
120
- loadingText?: string;
121
- emptyText?: string;
122
- /** Default "no more items" text for infinite-scroll end state */
123
- noMoreText?: string;
124
- /** Default placeholder for in-component search inputs (Select/Tree/Transfer/Cascader…) */
125
- searchPlaceholder?: string;
126
- /** Default label for clear actions */
127
- clearText?: string;
128
- }
129
- interface TigerLocaleEmpty {
130
- noData?: string;
131
- noDataAvailable?: string;
132
- noResults?: string;
133
- error?: string;
134
- }
135
- interface TigerLocaleModal {
136
- closeAriaLabel?: string;
137
- okText?: string;
138
- cancelText?: string;
139
- }
140
- interface TigerLocaleDrawer {
141
- closeAriaLabel?: string;
142
- }
143
- interface TigerLocaleQRCode {
144
- ariaLabel?: string;
145
- expiredText?: string;
146
- refreshText?: string;
147
- loadingText?: string;
148
- }
149
- interface TigerLocaleTimeline {
150
- pendingText?: string;
151
- }
152
- interface TigerLocaleUpload {
153
- /** Drag area aria-label */
154
- dragAreaAriaLabel?: string;
155
- /** Upload button aria-label (non-drag mode) */
156
- buttonAriaLabel?: string;
157
- /** Main drag-area instruction (emphasized part) */
158
- clickToUploadText?: string;
159
- /** Secondary drag-area instruction */
160
- dragAndDropText?: string;
161
- /** Template: supports {accept} */
162
- acceptInfoText?: string;
163
- /** Template: supports {maxSize} */
164
- maxSizeInfoText?: string;
165
- /** Default non-drag button text */
166
- selectFileText?: string;
167
- /** File list aria-label */
168
- uploadedFilesAriaLabel?: string;
169
- /** Status aria-labels */
170
- successAriaLabel?: string;
171
- errorAriaLabel?: string;
172
- uploadingAriaLabel?: string;
173
- /** Templates: support {fileName} */
174
- removeFileAriaLabel?: string;
175
- previewFileAriaLabel?: string;
176
- }
177
- interface TigerLocalePagination {
178
- /** Total text template: supports {total}, {start}, {end} */
179
- totalText?: string;
180
- /** Items per page text */
181
- itemsPerPageText?: string;
182
- /** Quick jumper label */
183
- jumpToText?: string;
184
- /** Page text (after number) */
185
- pageText?: string;
186
- /** Previous page button aria-label */
187
- prevPageAriaLabel?: string;
188
- /** Next page button aria-label */
189
- nextPageAriaLabel?: string;
190
- /** Page button aria-label template: supports {page} */
191
- pageAriaLabel?: string;
192
- /** Simple pagination page indicator template: supports {current}, {total} */
193
- pageIndicatorText?: string;
194
- }
195
- interface TigerLocaleTable {
196
- emptyText?: string;
197
- loadingText?: string;
198
- expandText?: string;
199
- collapseText?: string;
200
- selectAllText?: string;
201
- /** Template: supports {row} */
202
- selectRowAriaLabel?: string;
203
- /** Template: supports {column} */
204
- sortByText?: string;
205
- clearSortText?: string;
206
- toolbarAriaLabel?: string;
207
- searchPlaceholder?: string;
208
- searchButtonText?: string;
209
- selectedText?: string;
210
- selectedItemsText?: string;
211
- /** Column-settings panel title / trigger label */
212
- columnSettingsText?: string;
213
- /** Aria label for the column-settings trigger button */
214
- columnSettingsAriaLabel?: string;
215
- /** Lock-column button aria-label. Template: supports {column} */
216
- lockColumnAriaLabel?: string;
217
- /** Unlock-column button aria-label. Template: supports {column} */
218
- unlockColumnAriaLabel?: string;
219
- allText?: string;
220
- filterPlaceholder?: string;
221
- exportCsvText?: string;
222
- exportExcelText?: string;
223
- exportCsvAriaLabel?: string;
224
- exportExcelAriaLabel?: string;
225
- expandRowAriaLabel?: string;
226
- collapseRowAriaLabel?: string;
227
- }
228
- interface TigerLocaleDataExport {
229
- /** Trigger button text when multiple formats are offered */
230
- triggerText?: string;
231
- /** Aria label for the export trigger button */
232
- triggerAriaLabel?: string;
233
- /** Button/menu-item text for xlsx export */
234
- xlsxText?: string;
235
- /** Button/menu-item text for markdown export */
236
- markdownText?: string;
237
- /** Trigger text while an export is running */
238
- exportingText?: string;
239
- }
240
- interface TigerLocaleFormWizard {
241
- prevText?: string;
242
- nextText?: string;
243
- finishText?: string;
244
- }
245
- interface TigerLocaleTour {
246
- prevText?: string;
247
- nextText?: string;
248
- finishText?: string;
249
- closeAriaLabel?: string;
250
- }
251
- interface TigerLocaleCalendar {
252
- previousMonth?: string;
253
- nextMonth?: string;
254
- previousYear?: string;
255
- nextYear?: string;
256
- yearSelectAriaLabel?: string;
257
- monthSelectAriaLabel?: string;
258
- daySelectAriaLabel?: string;
259
- }
260
- interface TigerLocaleFileManager {
261
- rootText?: string;
262
- }
263
- interface TigerLocaleImageViewer {
264
- dialogAriaLabel?: string;
265
- previewDialogAriaLabel?: string;
266
- closeAriaLabel?: string;
267
- closePreviewAriaLabel?: string;
268
- previousImageAriaLabel?: string;
269
- nextImageAriaLabel?: string;
270
- zoomOutAriaLabel?: string;
271
- resetAriaLabel?: string;
272
- zoomInAriaLabel?: string;
273
- rotateLeftAriaLabel?: string;
274
- rotateRightAriaLabel?: string;
275
- }
276
- interface TigerLocaleImageEditor {
277
- selectImageText?: string;
278
- selectImageAriaLabel?: string;
279
- cropModalTitle?: string;
280
- cropCancelText?: string;
281
- cropConfirmText?: string;
282
- cropperDialogAriaLabel?: string;
283
- imageToCropAriaLabel?: string;
284
- moveCropAreaAriaLabel?: string;
285
- resizeCropAreaAriaLabel?: string;
286
- loadingCropImageAriaLabel?: string;
287
- annotationToolbarAriaLabel?: string;
288
- annotationEditorAriaLabel?: string;
289
- annotationCanvasAriaLabel?: string;
290
- loadingAnnotationImageAriaLabel?: string;
291
- selectToolText?: string;
292
- rectangleToolText?: string;
293
- ellipseToolText?: string;
294
- polygonToolText?: string;
295
- freehandToolText?: string;
296
- deleteText?: string;
297
- }
298
- interface TigerLocaleStatus {
299
- tagCloseAriaLabel?: string;
300
- badgeLabel?: string;
301
- badgeCountLabel?: string;
302
- }
303
- type TigerLocaleTimePicker = Partial<TimePickerLabels>;
304
- interface TigerLocaleTaskBoard {
305
- /** Placeholder shown inside an empty column */
306
- emptyColumnText?: string;
307
- /** Label for the add-card button */
308
- addCardText?: string;
309
- /** Label for the add-column button */
310
- addColumnText?: string;
311
- /** Template: supports {limit} */
312
- wipLimitText?: string;
313
- /** Aria hint for draggable items */
314
- dragHintText?: string;
315
- /** Aria label for the board root region */
316
- boardAriaLabel?: string;
317
- }
318
- interface TigerLocaleChatWindow {
319
- emptyText?: string;
320
- sendText?: string;
321
- placeholder?: string;
322
- sendingText?: string;
323
- sentText?: string;
324
- failedText?: string;
325
- }
326
- interface TigerLocaleCode {
327
- copyLabel?: string;
328
- copiedLabel?: string;
329
- copyFailedLabel?: string;
330
- }
331
- interface TigerLocaleCommentThread {
332
- emptyText?: string;
333
- replyPlaceholder?: string;
334
- replyButtonText?: string;
335
- cancelReplyText?: string;
336
- likeText?: string;
337
- likedText?: string;
338
- replyText?: string;
339
- moreText?: string;
340
- loadMoreText?: string;
341
- collapseRepliesText?: string;
342
- /** Template: supports {count} */
343
- expandRepliesText?: string;
344
- }
345
- interface TigerLocaleActivityFeed {
346
- emptyText?: string;
347
- loadingText?: string;
348
- }
349
- interface TigerLocaleNotificationCenter {
350
- title?: string;
351
- emptyText?: string;
352
- loadingText?: string;
353
- allLabel?: string;
354
- unreadLabel?: string;
355
- readLabel?: string;
356
- markAllReadText?: string;
357
- markReadText?: string;
358
- markUnreadText?: string;
359
- }
360
- interface TigerLocaleSelect {
361
- /** Mobile dropdown completion action text */
362
- doneText?: string;
363
- }
364
- interface TigerLocaleTabs {
365
- addTabAriaLabel?: string;
366
- /** Template: supports {label} */
367
- closeTabAriaLabel?: string;
368
- }
369
- interface TigerLocaleRate {
370
- ariaLabel?: string;
371
- /** Template: supports {value} */
372
- valueText?: string;
373
- }
374
- interface TigerLocaleAvatarGroup {
375
- ariaLabel?: string;
376
- /** Template: supports {count} */
377
- overflowAriaLabel?: string;
378
- }
379
- interface TigerLocaleCarousel {
380
- ariaLabel?: string;
381
- navigationAriaLabel?: string;
382
- previousSlideAriaLabel?: string;
383
- nextSlideAriaLabel?: string;
384
- /** Template: supports {index} */
385
- goToSlideAriaLabel?: string;
386
- /** Template: supports {index} and {total} */
387
- slideAriaLabel?: string;
388
- }
389
- interface TigerLocaleTransfer {
390
- sourceTitle?: string;
391
- targetTitle?: string;
392
- /** Template: supports {title} */
393
- searchAriaLabel?: string;
394
- /** Template: supports {title} */
395
- itemsAriaLabel?: string;
396
- moveToTargetAriaLabel?: string;
397
- moveToSourceAriaLabel?: string;
398
- }
399
- interface TigerLocaleChart {
400
- legendAriaLabel?: string;
401
- /** Template: supports {index}, {x}, {y} */
402
- pointAriaLabel?: string;
403
- }
404
- interface TigerLocaleMarkdownEditor {
405
- formattingToolbarAriaLabel?: string;
406
- modeToolbarAriaLabel?: string;
407
- editorAriaLabel?: string;
408
- previewAriaLabel?: string;
409
- editModeLabel?: string;
410
- splitModeLabel?: string;
411
- previewModeLabel?: string;
412
- }
413
- interface TigerLocaleRichTextEditor {
414
- formattingToolbarAriaLabel?: string;
415
- editorAriaLabel?: string;
416
- }
417
- interface TigerLocaleCronEditor {
418
- ariaLabel?: string;
419
- expressionAriaLabel?: string;
420
- presetAriaLabel?: string;
421
- presetPlaceholder?: string;
422
- everyMinutePreset?: string;
423
- hourlyPreset?: string;
424
- dailyPreset?: string;
425
- weeklyPreset?: string;
426
- monthlyPreset?: string;
427
- minuteLabel?: string;
428
- hourLabel?: string;
429
- dayOfMonthLabel?: string;
430
- monthLabel?: string;
431
- dayOfWeekLabel?: string;
432
- modeAnyLabel?: string;
433
- modeEveryLabel?: string;
434
- modeSpecificLabel?: string;
435
- modeRangeLabel?: string;
436
- modeCustomLabel?: string;
437
- modeAriaLabel?: string;
438
- stepAriaLabel?: string;
439
- valueAriaLabel?: string;
440
- rangeStartAriaLabel?: string;
441
- rangeEndAriaLabel?: string;
442
- customValueAriaLabel?: string;
443
- expressionFieldsError?: string;
444
- fieldRequiredError?: string;
445
- invalidStepError?: string;
446
- stepRangeError?: string;
447
- fieldRangeError?: string;
448
- rangeOrderError?: string;
449
- invalidFieldError?: string;
450
- }
451
- /**
452
- * Built-in form-validation messages.
453
- *
454
- * Used by `validateRule`/`validateField`/`validateForm` to localize the
455
- * default error messages. A per-rule `message` always takes precedence over
456
- * these. Range messages support `{min}` / `{max}` placeholders.
457
- */
458
- interface TigerLocaleFormValidation {
459
- /** Required-field message */
460
- required?: string;
461
- /** Type errors */
462
- typeString?: string;
463
- typeNumber?: string;
464
- typeBoolean?: string;
465
- typeArray?: string;
466
- typeObject?: string;
467
- /** Preset type errors */
468
- email?: string;
469
- phone?: string;
470
- url?: string;
471
- date?: string;
472
- idCard?: string;
473
- /** Range errors — template: supports {min} */
474
- minLength?: string;
475
- /** Template: supports {max} */
476
- maxLength?: string;
477
- /** Template: supports {min} */
478
- minValue?: string;
479
- /** Template: supports {max} */
480
- maxValue?: string;
481
- /** Template: supports {min} */
482
- minItems?: string;
483
- /** Template: supports {max} */
484
- maxItems?: string;
485
- /** Pattern mismatch message */
486
- patternMismatch?: string;
487
- /** Custom validator returned false */
488
- validatorFailed?: string;
489
- /** Custom validator threw */
490
- validatorError?: string;
491
- }
492
- /**
493
- * InputOTP labels.
494
- * @since 2.1.0
495
- */
496
- interface TigerLocaleInputOTP {
497
- /** Accessible label for the slot group */
498
- groupLabel?: string;
499
- /** Per-slot aria-label — template: supports {index} (1-based) and {total} */
500
- slotLabel?: string;
501
- }
502
- /**
503
- * TagsInput labels.
504
- * @since 2.1.0
505
- */
506
- interface TigerLocaleTagsInput {
507
- /** Remove-tag button aria-label — template: supports {tag} */
508
- removeTagLabel?: string;
509
- /** Clear-all button aria-label */
510
- clearAllLabel?: string;
511
- }
512
- interface TigerLocale {
513
- /** BCP 47 locale identifier, for Intl formatting and direction inference. */
514
- locale?: string;
515
- /** Text/layout direction. RTL locales should set this to `rtl`. */
516
- direction?: TigerLocaleDirection;
517
- common?: TigerLocaleCommon;
518
- empty?: TigerLocaleEmpty;
519
- modal?: TigerLocaleModal;
520
- drawer?: TigerLocaleDrawer;
521
- qrcode?: TigerLocaleQRCode;
522
- timeline?: TigerLocaleTimeline;
523
- upload?: TigerLocaleUpload;
524
- pagination?: TigerLocalePagination;
525
- table?: TigerLocaleTable;
526
- datePicker?: Partial<DatePickerLocalePreset>;
527
- timePicker?: TigerLocaleTimePicker;
528
- dataExport?: TigerLocaleDataExport;
529
- formWizard?: TigerLocaleFormWizard;
530
- tour?: TigerLocaleTour;
531
- calendar?: TigerLocaleCalendar;
532
- fileManager?: TigerLocaleFileManager;
533
- imageViewer?: TigerLocaleImageViewer;
534
- imageEditor?: TigerLocaleImageEditor;
535
- status?: TigerLocaleStatus;
536
- taskBoard?: TigerLocaleTaskBoard;
537
- chatWindow?: TigerLocaleChatWindow;
538
- code?: TigerLocaleCode;
539
- commentThread?: TigerLocaleCommentThread;
540
- activityFeed?: TigerLocaleActivityFeed;
541
- notificationCenter?: TigerLocaleNotificationCenter;
542
- select?: TigerLocaleSelect;
543
- tabs?: TigerLocaleTabs;
544
- rate?: TigerLocaleRate;
545
- avatarGroup?: TigerLocaleAvatarGroup;
546
- carousel?: TigerLocaleCarousel;
547
- transfer?: TigerLocaleTransfer;
548
- chart?: TigerLocaleChart;
549
- markdownEditor?: TigerLocaleMarkdownEditor;
550
- richTextEditor?: TigerLocaleRichTextEditor;
551
- cronEditor?: TigerLocaleCronEditor;
552
- formValidation?: TigerLocaleFormValidation;
553
- inputOtp?: TigerLocaleInputOTP;
554
- tagsInput?: TigerLocaleTagsInput;
555
- }
556
- /**
557
- * Flat custom-text overlay for single-language projects that do not need i18n.
558
- *
559
- * Same shape as `TigerLocale` but without the `locale` code / `direction`
560
- * fields — it carries only the component text. Pass it to
561
- * `<ConfigProvider locale={defineText({...})} />` for app-wide custom text, or
562
- * to a component's `labels` prop for a one-off override. No locale data files
563
- * are pulled in, so the bundle stays small.
564
- */
565
- type TigerText = Omit<Partial<TigerLocale>, 'locale' | 'direction'>;
566
- type TigerLocaleLazyModule = Partial<TigerLocale> | {
567
- default?: Partial<TigerLocale>;
568
- } | Record<string, unknown>;
569
- type TigerLocaleLoader = () => PromiseLike<TigerLocaleLazyModule>;
570
- type TigerLocaleInput = Partial<TigerLocale> | PromiseLike<TigerLocaleLazyModule> | TigerLocaleLoader;
571
-
572
- export type { TigerLocaleTagsInput as A, TigerLocaleTaskBoard as B, TimePickerLabels as C, TigerLocaleTour as D, TigerLocaleTransfer as E, TigerLocaleDirection as F, TigerLocaleLazyModule as G, TigerLocaleLoader as H, TigerText as I, TimeFormat as J, TigerLocaleDrawer as K, TigerLocaleModal as L, TigerLocaleCommon as M, TigerLocaleEmpty as N, TigerLocaleQRCode as O, TigerLocaleTimePicker as P, TigerLocaleTimeline as Q, TigerLocaleUpload as R, TimePickerModelValue as S, TigerLocale as T, TimePickerProps as U, TigerLocaleInput as a, TigerLocalePagination as b, TigerLocaleTable as c, TigerLocaleActivityFeed as d, TigerLocaleAvatarGroup as e, TigerLocaleCalendar as f, TigerLocaleCarousel as g, TigerLocaleChart as h, TigerLocaleChatWindow as i, TigerLocaleCode as j, TigerLocaleCommentThread as k, TigerLocaleCronEditor as l, TigerLocaleDataExport as m, TigerLocaleFileManager as n, TigerLocaleFormValidation as o, TigerLocaleFormWizard as p, TigerLocaleImageEditor as q, TigerLocaleImageViewer as r, TigerLocaleInputOTP as s, TigerLocaleMarkdownEditor as t, TigerLocaleNotificationCenter as u, TigerLocaleRate as v, TigerLocaleRichTextEditor as w, TigerLocaleSelect as x, TigerLocaleStatus as y, TigerLocaleTabs as z };
@@ -1,145 +0,0 @@
1
- /* Auto-generated by generate-tokens.js — Do not edit manually */
2
-
3
- /** @type {import("tailwindcss").Config["theme"]} */
4
- module.exports = {
5
- colors: {
6
- 'tiger-primary': {
7
- 50: '#f0f9ff',
8
- 100: '#e0f2fe',
9
- 200: '#bae6fd',
10
- 300: '#7dd3fc',
11
- 400: '#38bdf8',
12
- 500: '#0ea5e9',
13
- 600: '#0284c7',
14
- 700: '#0369a1',
15
- 800: '#075985',
16
- 950: '#0c3d66'
17
- },
18
- 'tiger-secondary': {
19
- 50: '#f8fafc',
20
- 100: '#f1f5f9',
21
- 200: '#e2e8f0',
22
- 300: '#cbd5e1',
23
- 400: '#94a3b8',
24
- 500: '#64748b',
25
- 600: '#475569',
26
- 700: '#334155',
27
- 800: '#1e293b',
28
- 950: '#0f172a'
29
- },
30
- 'tiger-success': {
31
- 50: '#f0fdf4',
32
- 100: '#dcfce7',
33
- 200: '#bbf7d0',
34
- 300: '#86efac',
35
- 400: '#4ade80',
36
- 500: '#22c55e',
37
- 600: '#16a34a',
38
- 700: '#15803d',
39
- 800: '#166534',
40
- 950: '#052e16'
41
- },
42
- 'tiger-warning': {
43
- 50: '#fffbeb',
44
- 100: '#fef3c7',
45
- 200: '#fde68a',
46
- 300: '#fcd34d',
47
- 400: '#fbbf24',
48
- 500: '#f59e0b',
49
- 600: '#d97706',
50
- 700: '#b45309',
51
- 800: '#92400e',
52
- 950: '#451a03'
53
- },
54
- 'tiger-error': {
55
- 50: '#fef2f2',
56
- 100: '#fee2e2',
57
- 200: '#fecaca',
58
- 300: '#fca5a5',
59
- 400: '#f87171',
60
- 500: '#ef4444',
61
- 600: '#dc2626',
62
- 700: '#b91c1c',
63
- 800: '#991b1b',
64
- 950: '#450a0a'
65
- },
66
- 'tiger-info': {
67
- 50: '#eff6ff',
68
- 100: '#dbeafe',
69
- 200: '#bfdbfe',
70
- 300: '#93c5fd',
71
- 400: '#60a5fa',
72
- 500: '#3b82f6',
73
- 600: '#2563eb',
74
- 700: '#1d4ed8',
75
- 800: '#1e40af',
76
- 950: '#172554'
77
- },
78
- 'tiger-neutral': {
79
- 50: '#fafafa',
80
- 100: '#f5f5f5',
81
- 200: '#e5e5e5',
82
- 300: '#d4d4d4',
83
- 400: '#a3a3a3',
84
- 500: '#737373',
85
- 600: '#525252',
86
- 700: '#404040',
87
- 800: '#262626',
88
- 950: '#0a0a0a'
89
- }
90
- },
91
- spacing: {
92
- 'tiger-xs': '2px',
93
- 'tiger-sm': '4px',
94
- 'tiger-md': '8px',
95
- 'tiger-lg': '16px',
96
- 'tiger-xl': '24px',
97
- 'tiger-2xl': '32px',
98
- 'tiger-3xl': '48px',
99
- 'tiger-4xl': '64px'
100
- },
101
- borderRadius: {
102
- 'tiger-none': '0',
103
- 'tiger-sm': '2px',
104
- 'tiger-md': '4px',
105
- 'tiger-lg': '8px',
106
- 'tiger-xl': '12px',
107
- 'tiger-full': '9999px'
108
- },
109
- boxShadow: {
110
- 'tiger-xs': '0 1px 2px 0 rgba(0,0,0,0.05)',
111
- 'tiger-sm': '0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)',
112
- 'tiger-md': '0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)',
113
- 'tiger-lg': '0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)',
114
- 'tiger-xl': '0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)'
115
- },
116
- fontFamily: {
117
- 'tiger-base': [
118
- '-apple-system',
119
- 'BlinkMacSystemFont',
120
- "'Segoe UI'",
121
- 'Roboto',
122
- "'Helvetica Neue'",
123
- 'Arial',
124
- 'sans-serif'
125
- ],
126
- 'tiger-mono': [
127
- "'SF Mono'",
128
- 'Monaco',
129
- 'Consolas',
130
- "'Liberation Mono'",
131
- "'Courier New'",
132
- 'monospace'
133
- ]
134
- },
135
- fontSize: {
136
- 'tiger-xs': '12px',
137
- 'tiger-sm': '14px',
138
- 'tiger-base': '16px',
139
- 'tiger-lg': '18px',
140
- 'tiger-xl': '20px',
141
- 'tiger-2xl': '24px',
142
- 'tiger-3xl': '30px',
143
- 'tiger-4xl': '36px'
144
- }
145
- }