@expcat/tigercat-core 1.4.0 → 2.0.0-preview.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.
Files changed (133) hide show
  1. package/dist/{datepicker-DXzS_8l8.d.cts → datepicker-ZdzYUqm5.d.ts} +77 -11
  2. package/dist/datepicker-locales/ar-SA.d.ts +1 -1
  3. package/dist/datepicker-locales/de-DE.d.ts +1 -1
  4. package/dist/datepicker-locales/en-US.d.ts +1 -1
  5. package/dist/datepicker-locales/es-ES.d.ts +1 -1
  6. package/dist/datepicker-locales/fr-FR.d.ts +1 -1
  7. package/dist/datepicker-locales/id-ID.d.ts +1 -1
  8. package/dist/datepicker-locales/ja-JP.d.ts +1 -1
  9. package/dist/datepicker-locales/ko-KR.d.ts +1 -1
  10. package/dist/datepicker-locales/pt-BR.d.ts +1 -1
  11. package/dist/datepicker-locales/registry.d.ts +7 -0
  12. package/dist/datepicker-locales/registry.js +224 -0
  13. package/dist/datepicker-locales/th-TH.d.ts +1 -1
  14. package/dist/datepicker-locales/vi-VN.d.ts +1 -1
  15. package/dist/datepicker-locales/zh-CN.d.ts +1 -1
  16. package/dist/datepicker-locales/zh-TW.d.ts +1 -1
  17. package/dist/icons/picker.d.ts +1 -13
  18. package/dist/icons/picker.js +0 -12
  19. package/dist/index.d.ts +12341 -12244
  20. package/dist/index.js +1482 -659
  21. package/dist/{locale-9tTj1QdZ.d.ts → locale-44p_QYnH.d.ts} +96 -7
  22. package/dist/locales/ar-SA.d.ts +2 -2
  23. package/dist/locales/ar-SA.js +122 -1
  24. package/dist/locales/de-DE.d.ts +2 -2
  25. package/dist/locales/de-DE.js +122 -1
  26. package/dist/locales/en-US.d.ts +2 -2
  27. package/dist/locales/en-US.js +98 -1
  28. package/dist/locales/es-ES.d.ts +2 -2
  29. package/dist/locales/es-ES.js +122 -1
  30. package/dist/locales/fr-FR.d.ts +2 -2
  31. package/dist/locales/fr-FR.js +122 -1
  32. package/dist/locales/id-ID.d.ts +2 -2
  33. package/dist/locales/id-ID.js +268 -2
  34. package/dist/locales/ja-JP.d.ts +2 -2
  35. package/dist/locales/ja-JP.js +268 -2
  36. package/dist/locales/ko-KR.d.ts +2 -2
  37. package/dist/locales/ko-KR.js +268 -2
  38. package/dist/locales/pt-BR.d.ts +2 -2
  39. package/dist/locales/pt-BR.js +122 -1
  40. package/dist/locales/th-TH.d.ts +2 -2
  41. package/dist/locales/th-TH.js +268 -2
  42. package/dist/locales/vi-VN.d.ts +2 -2
  43. package/dist/locales/vi-VN.js +268 -2
  44. package/dist/locales/zh-CN.d.ts +2 -2
  45. package/dist/locales/zh-CN.js +98 -1
  46. package/dist/locales/zh-TW.d.ts +2 -2
  47. package/dist/locales/zh-TW.js +268 -2
  48. package/dist/{table-export-GRimhvlM.d.ts → table-export-CzPmX1b6.d.ts} +3 -9
  49. package/dist/tailwind/modern.d.ts +2 -3
  50. package/dist/tailwind/modern.js +75 -80
  51. package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
  52. package/dist/tailwind.d.ts +2 -3
  53. package/dist/tailwind.js +123 -70
  54. package/dist/utils/table-export.d.ts +3 -3
  55. package/package.json +43 -73
  56. package/tokens/tailwind-tokens.js +6 -3
  57. package/tokens/tokens.css +8 -322
  58. package/dist/datepicker-DXzS_8l8.d.ts +0 -130
  59. package/dist/datepicker-locales/ar-SA.cjs +0 -46
  60. package/dist/datepicker-locales/ar-SA.d.cts +0 -6
  61. package/dist/datepicker-locales/de-DE.cjs +0 -46
  62. package/dist/datepicker-locales/de-DE.d.cts +0 -6
  63. package/dist/datepicker-locales/en-US.cjs +0 -46
  64. package/dist/datepicker-locales/en-US.d.cts +0 -6
  65. package/dist/datepicker-locales/es-ES.cjs +0 -46
  66. package/dist/datepicker-locales/es-ES.d.cts +0 -6
  67. package/dist/datepicker-locales/fr-FR.cjs +0 -46
  68. package/dist/datepicker-locales/fr-FR.d.cts +0 -6
  69. package/dist/datepicker-locales/id-ID.cjs +0 -46
  70. package/dist/datepicker-locales/id-ID.d.cts +0 -6
  71. package/dist/datepicker-locales/ja-JP.cjs +0 -46
  72. package/dist/datepicker-locales/ja-JP.d.cts +0 -6
  73. package/dist/datepicker-locales/ko-KR.cjs +0 -46
  74. package/dist/datepicker-locales/ko-KR.d.cts +0 -6
  75. package/dist/datepicker-locales/pt-BR.cjs +0 -46
  76. package/dist/datepicker-locales/pt-BR.d.cts +0 -6
  77. package/dist/datepicker-locales/th-TH.cjs +0 -46
  78. package/dist/datepicker-locales/th-TH.d.cts +0 -6
  79. package/dist/datepicker-locales/vi-VN.cjs +0 -46
  80. package/dist/datepicker-locales/vi-VN.d.cts +0 -6
  81. package/dist/datepicker-locales/zh-CN.cjs +0 -46
  82. package/dist/datepicker-locales/zh-CN.d.cts +0 -6
  83. package/dist/datepicker-locales/zh-TW.cjs +0 -46
  84. package/dist/datepicker-locales/zh-TW.d.cts +0 -6
  85. package/dist/icons/common.cjs +0 -54
  86. package/dist/icons/common.d.cts +0 -20
  87. package/dist/icons/picker.cjs +0 -75
  88. package/dist/icons/picker.d.cts +0 -53
  89. package/dist/icons/registry.cjs +0 -172
  90. package/dist/icons/registry.d.cts +0 -102
  91. package/dist/icons/status.cjs +0 -47
  92. package/dist/icons/status.d.cts +0 -13
  93. package/dist/icons/table.cjs +0 -48
  94. package/dist/icons/table.d.cts +0 -25
  95. package/dist/index.cjs +0 -21268
  96. package/dist/index.d.cts +0 -20129
  97. package/dist/locale-DxwhmqfF.d.cts +0 -300
  98. package/dist/locales/ar-SA.cjs +0 -254
  99. package/dist/locales/ar-SA.d.cts +0 -10
  100. package/dist/locales/de-DE.cjs +0 -254
  101. package/dist/locales/de-DE.d.cts +0 -10
  102. package/dist/locales/en-US.cjs +0 -149
  103. package/dist/locales/en-US.d.cts +0 -10
  104. package/dist/locales/es-ES.cjs +0 -254
  105. package/dist/locales/es-ES.d.cts +0 -10
  106. package/dist/locales/fr-FR.cjs +0 -254
  107. package/dist/locales/fr-FR.d.cts +0 -10
  108. package/dist/locales/id-ID.cjs +0 -90
  109. package/dist/locales/id-ID.d.cts +0 -10
  110. package/dist/locales/ja-JP.cjs +0 -90
  111. package/dist/locales/ja-JP.d.cts +0 -10
  112. package/dist/locales/ko-KR.cjs +0 -90
  113. package/dist/locales/ko-KR.d.cts +0 -10
  114. package/dist/locales/pt-BR.cjs +0 -254
  115. package/dist/locales/pt-BR.d.cts +0 -10
  116. package/dist/locales/th-TH.cjs +0 -90
  117. package/dist/locales/th-TH.d.cts +0 -10
  118. package/dist/locales/vi-VN.cjs +0 -90
  119. package/dist/locales/vi-VN.d.cts +0 -10
  120. package/dist/locales/zh-CN.cjs +0 -149
  121. package/dist/locales/zh-CN.d.cts +0 -10
  122. package/dist/locales/zh-TW.cjs +0 -90
  123. package/dist/locales/zh-TW.d.cts +0 -10
  124. package/dist/table-export-BMBH75rj.d.cts +0 -882
  125. package/dist/tailwind/modern.cjs +0 -368
  126. package/dist/tailwind/modern.d.cts +0 -6
  127. package/dist/tailwind-entry-DUchHtjs.d.cts +0 -218
  128. package/dist/tailwind.cjs +0 -221
  129. package/dist/tailwind.d.cts +0 -3
  130. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
  131. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
  132. package/dist/utils/table-export.cjs +0 -119
  133. package/dist/utils/table-export.d.cts +0 -3
package/tokens/tokens.css CHANGED
@@ -89,14 +89,17 @@
89
89
  --tiger-primitive-radius-xl: 12px;
90
90
  --tiger-primitive-radius-full: 9999px;
91
91
  --tiger-primitive-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
92
- --tiger-primitive-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
93
- --tiger-primitive-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
92
+ --tiger-primitive-shadow-sm:
93
+ 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
94
+ --tiger-primitive-shadow-md:
95
+ 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
94
96
  --tiger-primitive-shadow-lg:
95
97
  0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
96
98
  --tiger-primitive-shadow-xl:
97
99
  0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
98
100
  --tiger-primitive-font-family-base:
99
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
101
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
102
+ Arial, sans-serif;
100
103
  --tiger-primitive-font-family-mono:
101
104
  'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
102
105
  --tiger-primitive-font-size-xs: 12px;
@@ -221,7 +224,8 @@
221
224
  --tiger-component-drawer-width-xl: 680px;
222
225
  --tiger-component-card-border-radius: 12px;
223
226
  --tiger-component-card-padding: 24px;
224
- --tiger-component-card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
227
+ --tiger-component-card-shadow:
228
+ 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
225
229
  --tiger-component-card-border-color: #e5e5e5;
226
230
  --tiger-component-badge-font-size: 12px;
227
231
  --tiger-component-badge-font-weight: 500;
@@ -317,324 +321,6 @@
317
321
  --tiger-component-popover-shadow:
318
322
  0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
319
323
  --tiger-component-popover-max-width: 320px;
320
-
321
- /* Compatibility variables */
322
- --tiger-color-primary-50: #f0f9ff;
323
- --tiger-color-primary-100: #e0f2fe;
324
- --tiger-color-primary-200: #bae6fd;
325
- --tiger-color-primary-300: #7dd3fc;
326
- --tiger-color-primary-400: #38bdf8;
327
- --tiger-color-primary-500: #0ea5e9;
328
- --tiger-color-primary-600: #0284c7;
329
- --tiger-color-primary-700: #0369a1;
330
- --tiger-color-primary-800: #075985;
331
- --tiger-color-primary-950: #0c3d66;
332
- --tiger-color-secondary-50: #f8fafc;
333
- --tiger-color-secondary-100: #f1f5f9;
334
- --tiger-color-secondary-200: #e2e8f0;
335
- --tiger-color-secondary-300: #cbd5e1;
336
- --tiger-color-secondary-400: #94a3b8;
337
- --tiger-color-secondary-500: #64748b;
338
- --tiger-color-secondary-600: #475569;
339
- --tiger-color-secondary-700: #334155;
340
- --tiger-color-secondary-800: #1e293b;
341
- --tiger-color-secondary-950: #0f172a;
342
- --tiger-color-success-50: #f0fdf4;
343
- --tiger-color-success-100: #dcfce7;
344
- --tiger-color-success-200: #bbf7d0;
345
- --tiger-color-success-300: #86efac;
346
- --tiger-color-success-400: #4ade80;
347
- --tiger-color-success-500: #22c55e;
348
- --tiger-color-success-600: #16a34a;
349
- --tiger-color-success-700: #15803d;
350
- --tiger-color-success-800: #166534;
351
- --tiger-color-success-950: #052e16;
352
- --tiger-color-warning-50: #fffbeb;
353
- --tiger-color-warning-100: #fef3c7;
354
- --tiger-color-warning-200: #fde68a;
355
- --tiger-color-warning-300: #fcd34d;
356
- --tiger-color-warning-400: #fbbf24;
357
- --tiger-color-warning-500: #f59e0b;
358
- --tiger-color-warning-600: #d97706;
359
- --tiger-color-warning-700: #b45309;
360
- --tiger-color-warning-800: #92400e;
361
- --tiger-color-warning-950: #451a03;
362
- --tiger-color-error-50: #fef2f2;
363
- --tiger-color-error-100: #fee2e2;
364
- --tiger-color-error-200: #fecaca;
365
- --tiger-color-error-300: #fca5a5;
366
- --tiger-color-error-400: #f87171;
367
- --tiger-color-error-500: #ef4444;
368
- --tiger-color-error-600: #dc2626;
369
- --tiger-color-error-700: #b91c1c;
370
- --tiger-color-error-800: #991b1b;
371
- --tiger-color-error-950: #450a0a;
372
- --tiger-color-info-50: #eff6ff;
373
- --tiger-color-info-100: #dbeafe;
374
- --tiger-color-info-200: #bfdbfe;
375
- --tiger-color-info-300: #93c5fd;
376
- --tiger-color-info-400: #60a5fa;
377
- --tiger-color-info-500: #3b82f6;
378
- --tiger-color-info-600: #2563eb;
379
- --tiger-color-info-700: #1d4ed8;
380
- --tiger-color-info-800: #1e40af;
381
- --tiger-color-info-950: #172554;
382
- --tiger-color-neutral-50: #fafafa;
383
- --tiger-color-neutral-100: #f5f5f5;
384
- --tiger-color-neutral-200: #e5e5e5;
385
- --tiger-color-neutral-300: #d4d4d4;
386
- --tiger-color-neutral-400: #a3a3a3;
387
- --tiger-color-neutral-500: #737373;
388
- --tiger-color-neutral-600: #525252;
389
- --tiger-color-neutral-700: #404040;
390
- --tiger-color-neutral-800: #262626;
391
- --tiger-color-neutral-950: #0a0a0a;
392
- --tiger-space-xs: 2px;
393
- --tiger-space-sm: 4px;
394
- --tiger-space-md: 8px;
395
- --tiger-space-lg: 16px;
396
- --tiger-space-xl: 24px;
397
- --tiger-space-2xl: 32px;
398
- --tiger-space-3xl: 48px;
399
- --tiger-space-4xl: 64px;
400
- --tiger-radius-none: 0;
401
- --tiger-radius-sm: 2px;
402
- --tiger-radius-md: 4px;
403
- --tiger-radius-lg: 8px;
404
- --tiger-radius-xl: 12px;
405
- --tiger-radius-full: 9999px;
406
- --tiger-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
407
- --tiger-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
408
- --tiger-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
409
- --tiger-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
410
- --tiger-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
411
- --tiger-font-family-base:
412
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
413
- --tiger-font-family-mono:
414
- 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
415
- --tiger-font-size-xs: 12px;
416
- --tiger-font-size-sm: 14px;
417
- --tiger-font-size-base: 16px;
418
- --tiger-font-size-lg: 18px;
419
- --tiger-font-size-xl: 20px;
420
- --tiger-font-size-2xl: 24px;
421
- --tiger-font-size-3xl: 30px;
422
- --tiger-font-size-4xl: 36px;
423
- --tiger-font-weight-normal: 400;
424
- --tiger-font-weight-medium: 500;
425
- --tiger-font-weight-semibold: 600;
426
- --tiger-font-weight-bold: 700;
427
- --tiger-font-lh-tight: 1.25;
428
- --tiger-font-lh-normal: 1.5;
429
- --tiger-font-lh-relaxed: 1.625;
430
- --tiger-font-lh-loose: 2;
431
- --tiger-duration-fast: 100ms;
432
- --tiger-duration-base: 200ms;
433
- --tiger-duration-slow: 300ms;
434
- --tiger-duration-slower: 500ms;
435
- --tiger-easing-in: cubic-bezier(0.4, 0, 1, 1);
436
- --tiger-easing-out: cubic-bezier(0, 0, 0.2, 1);
437
- --tiger-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
438
- --tiger-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
439
- --tiger-easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
440
- --tiger-color-bg-primary: #f0f9ff;
441
- --tiger-color-bg-secondary: #fafafa;
442
- --tiger-color-bg-success: #f0fdf4;
443
- --tiger-color-bg-warning: #fffbeb;
444
- --tiger-color-bg-error: #fef2f2;
445
- --tiger-color-bg-info: #eff6ff;
446
- --tiger-color-bg-surface: #fafafa;
447
- --tiger-color-bg-surface-raised: #ffffff;
448
- --tiger-color-bg-overlay: rgba(0, 0, 0, 0.45);
449
- --tiger-color-text-primary: #0a0a0a;
450
- --tiger-color-text-secondary: #525252;
451
- --tiger-color-text-tertiary: #a3a3a3;
452
- --tiger-color-text-disabled: #d4d4d4;
453
- --tiger-color-text-inverse: #ffffff;
454
- --tiger-color-text-link: #0284c7;
455
- --tiger-color-text-link-hover: #0369a1;
456
- --tiger-color-text-success: #15803d;
457
- --tiger-color-text-warning: #b45309;
458
- --tiger-color-text-error: #dc2626;
459
- --tiger-color-border-default: #e5e5e5;
460
- --tiger-color-border-strong: #a3a3a3;
461
- --tiger-color-border-focus: #0ea5e9;
462
- --tiger-color-border-error: #ef4444;
463
- --tiger-color-border-success: #22c55e;
464
- --tiger-color-icon-primary: #404040;
465
- --tiger-color-icon-secondary: #a3a3a3;
466
- --tiger-color-icon-disabled: #d4d4d4;
467
- --tiger-color-interactive-primary: #0284c7;
468
- --tiger-color-interactive-primary-hover: #0369a1;
469
- --tiger-color-interactive-primary-active: #075985;
470
- --tiger-color-interactive-secondary: #475569;
471
- --tiger-color-interactive-secondary-hover: #334155;
472
- --tiger-color-interactive-danger: #dc2626;
473
- --tiger-color-interactive-danger-hover: #b91c1c;
474
- --tiger-color-focus-ring: #0ea5e9;
475
- --tiger-space-component-gap: 8px;
476
- --tiger-space-section-gap: 24px;
477
- --tiger-space-page-padding: 32px;
478
- --tiger-radius-component: 8px;
479
- --tiger-radius-card: 12px;
480
- --tiger-radius-pill: 9999px;
481
- --tiger-button-height-sm: 32px;
482
- --tiger-button-height-md: 36px;
483
- --tiger-button-height-lg: 40px;
484
- --tiger-button-padding-x-sm: 8px;
485
- --tiger-button-padding-x-md: 16px;
486
- --tiger-button-padding-x-lg: 24px;
487
- --tiger-button-border-radius: 8px;
488
- --tiger-button-font-size-sm: 14px;
489
- --tiger-button-font-size-md: 16px;
490
- --tiger-button-font-size-lg: 18px;
491
- --tiger-button-font-weight: 500;
492
- --tiger-input-height-sm: 32px;
493
- --tiger-input-height-md: 36px;
494
- --tiger-input-height-lg: 40px;
495
- --tiger-input-padding-x: 16px;
496
- --tiger-input-border-radius: 8px;
497
- --tiger-input-font-size: 16px;
498
- --tiger-input-border-color: #e5e5e5;
499
- --tiger-input-border-color-focus: #0ea5e9;
500
- --tiger-input-border-color-error: #ef4444;
501
- --tiger-select-height-sm: 32px;
502
- --tiger-select-height-md: 36px;
503
- --tiger-select-height-lg: 40px;
504
- --tiger-select-padding-x: 16px;
505
- --tiger-select-border-radius: 8px;
506
- --tiger-select-dropdown-shadow:
507
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
508
- --tiger-select-option-height: 36px;
509
- --tiger-select-option-padding-x: 16px;
510
- --tiger-modal-border-radius: 12px;
511
- --tiger-modal-padding: 24px;
512
- --tiger-modal-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
513
- --tiger-modal-header-font-size: 18px;
514
- --tiger-modal-header-font-weight: 600;
515
- --tiger-modal-overlay-bg: rgba(0, 0, 0, 0.45);
516
- --tiger-modal-width-sm: 400px;
517
- --tiger-modal-width-md: 520px;
518
- --tiger-modal-width-lg: 680px;
519
- --tiger-modal-width-xl: 860px;
520
- --tiger-drawer-padding: 24px;
521
- --tiger-drawer-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
522
- --tiger-drawer-header-font-size: 18px;
523
- --tiger-drawer-header-font-weight: 600;
524
- --tiger-drawer-overlay-bg: rgba(0, 0, 0, 0.45);
525
- --tiger-drawer-width-sm: 256px;
526
- --tiger-drawer-width-md: 378px;
527
- --tiger-drawer-width-lg: 520px;
528
- --tiger-drawer-width-xl: 680px;
529
- --tiger-card-border-radius: 12px;
530
- --tiger-card-padding: 24px;
531
- --tiger-card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
532
- --tiger-card-border-color: #e5e5e5;
533
- --tiger-badge-font-size: 12px;
534
- --tiger-badge-font-weight: 500;
535
- --tiger-badge-padding-x: 8px;
536
- --tiger-badge-border-radius: 9999px;
537
- --tiger-avatar-size-sm: 32px;
538
- --tiger-avatar-size-md: 40px;
539
- --tiger-avatar-size-lg: 48px;
540
- --tiger-avatar-size-xl: 64px;
541
- --tiger-avatar-border-radius: 9999px;
542
- --tiger-avatar-font-size-sm: 12px;
543
- --tiger-avatar-font-size-md: 14px;
544
- --tiger-avatar-font-size-lg: 16px;
545
- --tiger-table-bg: #fafafa;
546
- --tiger-table-header-bg: #fafafa;
547
- --tiger-table-header-font-weight: 600;
548
- --tiger-table-cell-padding-x: 16px;
549
- --tiger-table-cell-padding-y-sm: 8px;
550
- --tiger-table-cell-padding-y-md: 16px;
551
- --tiger-table-cell-padding-y-lg: 24px;
552
- --tiger-table-border-color: #e5e5e5;
553
- --tiger-table-stripe-bg: #fafafa;
554
- --tiger-table-hover-bg: #f0f9ff;
555
- --tiger-tooltip-bg: #262626;
556
- --tiger-tooltip-text-color: #ffffff;
557
- --tiger-tooltip-font-size: 14px;
558
- --tiger-tooltip-padding-x: 8px;
559
- --tiger-tooltip-padding-y: 4px;
560
- --tiger-tooltip-border-radius: 8px;
561
- --tiger-tooltip-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
562
- --tiger-tooltip-max-width: 280px;
563
- --tiger-alert-border-radius: 8px;
564
- --tiger-alert-padding-x: 16px;
565
- --tiger-alert-padding-y: 16px;
566
- --tiger-alert-font-size: 16px;
567
- --tiger-alert-icon-size: 20px;
568
- --tiger-tabs-height: 40px;
569
- --tiger-tabs-font-size: 16px;
570
- --tiger-tabs-font-weight-active: 500;
571
- --tiger-tabs-indicator-height: 2px;
572
- --tiger-tabs-gap: 24px;
573
- --tiger-pagination-item-size: 32px;
574
- --tiger-pagination-font-size: 14px;
575
- --tiger-pagination-border-radius: 8px;
576
- --tiger-pagination-gap: 4px;
577
- --tiger-tag-height-sm: 22px;
578
- --tiger-tag-height-md: 26px;
579
- --tiger-tag-height-lg: 32px;
580
- --tiger-tag-padding-x: 8px;
581
- --tiger-tag-font-size: 12px;
582
- --tiger-tag-border-radius: 6px;
583
- --tiger-progress-height-sm: 4px;
584
- --tiger-progress-height-md: 8px;
585
- --tiger-progress-height-lg: 12px;
586
- --tiger-progress-border-radius: 9999px;
587
- --tiger-progress-track-bg: #e5e5e5;
588
- --tiger-skeleton-bg: #e5e5e5;
589
- --tiger-skeleton-shimmer-bg: #f5f5f5;
590
- --tiger-skeleton-border-radius: 8px;
591
- --tiger-divider-color: #e5e5e5;
592
- --tiger-divider-text-padding: 16px;
593
- --tiger-collapse-header-padding-x: 16px;
594
- --tiger-collapse-header-padding-y: 16px;
595
- --tiger-collapse-content-padding: 16px;
596
- --tiger-collapse-border-color: #e5e5e5;
597
- --tiger-steps-icon-size: 32px;
598
- --tiger-steps-font-size: 16px;
599
- --tiger-steps-connector-width: 1px;
600
- --tiger-breadcrumb-font-size: 14px;
601
- --tiger-breadcrumb-separator-margin: 8px;
602
- --tiger-dropdown-min-width: 120px;
603
- --tiger-dropdown-padding-y: 4px;
604
- --tiger-dropdown-item-height: 36px;
605
- --tiger-dropdown-item-padding-x: 16px;
606
- --tiger-dropdown-border-radius: 12px;
607
- --tiger-dropdown-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
608
- --tiger-menu-item-height: 40px;
609
- --tiger-menu-item-padding-x: 16px;
610
- --tiger-menu-group-title-padding: 8px;
611
- --tiger-menu-indent-width: 24px;
612
- --tiger-menu-border-radius: 8px;
613
- --tiger-notification-width: 384px;
614
- --tiger-notification-padding: 16px;
615
- --tiger-notification-border-radius: 12px;
616
- --tiger-notification-shadow:
617
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
618
- --tiger-notification-title-font-size: 16px;
619
- --tiger-notification-title-font-weight: 500;
620
- --tiger-popover-padding: 16px;
621
- --tiger-popover-border-radius: 12px;
622
- --tiger-popover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
623
- --tiger-popover-max-width: 320px;
624
-
625
- /* Legacy variables (backward-compat with pre-0.5.0) */
626
- --tiger-primary: var(--tiger-color-primary-600);
627
- --tiger-primary-hover: var(--tiger-color-primary-700);
628
- --tiger-primary-active: var(--tiger-color-primary-800);
629
- --tiger-primary-disabled: var(--tiger-color-primary-300);
630
- --tiger-secondary: var(--tiger-color-secondary-600);
631
- --tiger-secondary-hover: var(--tiger-color-secondary-700);
632
- --tiger-secondary-active: var(--tiger-color-secondary-800);
633
- --tiger-secondary-disabled: var(--tiger-color-secondary-300);
634
- --tiger-focus-ring: var(--tiger-color-focus-ring);
635
- --tiger-surface: var(--tiger-color-bg-surface);
636
- --tiger-outline-bg-hover: var(--tiger-color-primary-50);
637
- --tiger-ghost-bg-hover: var(--tiger-color-primary-50);
638
324
  }
639
325
 
640
326
  .dark {
@@ -1,130 +0,0 @@
1
- /**
2
- * DatePicker component types and interfaces
3
- */
4
- type DatePickerInputDate = Date | string;
5
- type DatePickerSingleModelValue = DatePickerInputDate | null;
6
- type DatePickerRangeModelValue = [DatePickerInputDate | null, DatePickerInputDate | null];
7
- type DatePickerModelValue = DatePickerSingleModelValue | DatePickerRangeModelValue;
8
- type DatePickerSingleValue = Date | null;
9
- type DatePickerRangeValue = [Date | null, Date | null];
10
- interface DatePickerLabels {
11
- today: string;
12
- ok: string;
13
- calendar: string;
14
- toggleCalendar: string;
15
- clearDate: string;
16
- previousMonth: string;
17
- nextMonth: string;
18
- }
19
- interface DatePickerLocalePreset {
20
- locale: string;
21
- labels: DatePickerLabels;
22
- }
23
- interface DatePickerLocaleConfig {
24
- datePicker?: Partial<DatePickerLocalePreset>;
25
- }
26
- type DatePickerLocaleInput = string | Partial<DatePickerLocalePreset> | DatePickerLocaleConfig;
27
- /**
28
- * DatePicker size types
29
- */
30
- type DatePickerSize = 'sm' | 'md' | 'lg';
31
- /**
32
- * Date format types
33
- */
34
- type DateFormat = 'yyyy-MM-dd' | 'MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy/MM/dd';
35
- /**
36
- * Base DatePicker props interface
37
- */
38
- interface DatePickerProps {
39
- /**
40
- * Locale used for month/day names in the calendar UI.
41
- * Example: 'zh-CN', 'en-US'
42
- */
43
- locale?: DatePickerLocaleInput;
44
- /**
45
- * UI labels for i18n.
46
- * When provided, merges with locale-based defaults.
47
- */
48
- labels?: Partial<DatePickerLabels>;
49
- /**
50
- * DatePicker size
51
- * @default 'md'
52
- */
53
- size?: DatePickerSize;
54
- /**
55
- * Selected date value (for controlled mode)
56
- */
57
- value?: DatePickerModelValue | null;
58
- /**
59
- * Default date value (for uncontrolled mode)
60
- */
61
- defaultValue?: DatePickerModelValue | null;
62
- /**
63
- * Enable range selection (start/end).
64
- * When true, value/defaultValue use a tuple: [start, end].
65
- * @default false
66
- */
67
- range?: boolean;
68
- /**
69
- * Date format string
70
- * @default 'yyyy-MM-dd'
71
- */
72
- format?: DateFormat;
73
- /**
74
- * Placeholder text
75
- * @default 'Select date'
76
- */
77
- placeholder?: string;
78
- /**
79
- * Whether the datepicker is disabled
80
- * @default false
81
- */
82
- disabled?: boolean;
83
- /**
84
- * Whether the datepicker is readonly
85
- * @default false
86
- */
87
- readonly?: boolean;
88
- /**
89
- * Whether the datepicker is required
90
- * @default false
91
- */
92
- required?: boolean;
93
- /**
94
- * Minimum selectable date
95
- */
96
- minDate?: DatePickerInputDate | null;
97
- /**
98
- * Maximum selectable date
99
- */
100
- maxDate?: DatePickerInputDate | null;
101
- /**
102
- * Whether to show the clear button
103
- * @default true
104
- */
105
- clearable?: boolean;
106
- /**
107
- * Input name attribute
108
- */
109
- name?: string;
110
- /**
111
- * Input id attribute
112
- */
113
- id?: string;
114
- /**
115
- * Shortcut presets for quick date selection.
116
- * Each shortcut has a label and a value (or getter function).
117
- */
118
- shortcuts?: DatePickerShortcut[];
119
- }
120
- /**
121
- * DatePicker shortcut preset
122
- */
123
- interface DatePickerShortcut {
124
- /** Display label */
125
- label: string;
126
- /** Date value or getter function returning a date value */
127
- value: DatePickerModelValue | (() => DatePickerModelValue);
128
- }
129
-
130
- export type { DatePickerLocalePreset as D, DatePickerLocaleInput as a, DatePickerLabels as b, DateFormat as c, DatePickerSize as d, DatePickerInputDate as e, DatePickerSingleModelValue as f, DatePickerRangeModelValue as g, DatePickerModelValue as h, DatePickerSingleValue as i, DatePickerRangeValue as j, DatePickerLocaleConfig as k, DatePickerProps as l, DatePickerShortcut as m };
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/datepicker-locales/ar-SA.ts
21
- var ar_SA_exports = {};
22
- __export(ar_SA_exports, {
23
- AR_SA_DATEPICKER_LOCALE: () => AR_SA_DATEPICKER_LOCALE,
24
- arSADatePickerLocale: () => arSADatePickerLocale,
25
- default: () => ar_SA_default
26
- });
27
- module.exports = __toCommonJS(ar_SA_exports);
28
- var AR_SA_DATEPICKER_LOCALE = {
29
- locale: "ar-SA",
30
- labels: {
31
- today: "\u0627\u0644\u064A\u0648\u0645",
32
- ok: "\u0645\u0648\u0627\u0641\u0642",
33
- calendar: "\u0627\u0644\u062A\u0642\u0648\u064A\u0645",
34
- toggleCalendar: "\u0641\u062A\u062D \u0627\u0644\u062A\u0642\u0648\u064A\u0645",
35
- clearDate: "\u0645\u0633\u062D \u0627\u0644\u062A\u0627\u0631\u064A\u062E",
36
- previousMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u0633\u0627\u0628\u0642",
37
- nextMonth: "\u0627\u0644\u0634\u0647\u0631 \u0627\u0644\u062A\u0627\u0644\u064A"
38
- }
39
- };
40
- var arSADatePickerLocale = AR_SA_DATEPICKER_LOCALE;
41
- var ar_SA_default = AR_SA_DATEPICKER_LOCALE;
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- AR_SA_DATEPICKER_LOCALE,
45
- arSADatePickerLocale
46
- });
@@ -1,6 +0,0 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.cjs';
2
-
3
- declare const AR_SA_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
- declare const arSADatePickerLocale: DatePickerLocalePreset;
5
-
6
- export { AR_SA_DATEPICKER_LOCALE, arSADatePickerLocale, AR_SA_DATEPICKER_LOCALE as default };
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/datepicker-locales/de-DE.ts
21
- var de_DE_exports = {};
22
- __export(de_DE_exports, {
23
- DE_DE_DATEPICKER_LOCALE: () => DE_DE_DATEPICKER_LOCALE,
24
- deDEDatePickerLocale: () => deDEDatePickerLocale,
25
- default: () => de_DE_default
26
- });
27
- module.exports = __toCommonJS(de_DE_exports);
28
- var DE_DE_DATEPICKER_LOCALE = {
29
- locale: "de-DE",
30
- labels: {
31
- today: "Heute",
32
- ok: "OK",
33
- calendar: "Kalender",
34
- toggleCalendar: "Kalender \xF6ffnen",
35
- clearDate: "Datum l\xF6schen",
36
- previousMonth: "Vorheriger Monat",
37
- nextMonth: "N\xE4chster Monat"
38
- }
39
- };
40
- var deDEDatePickerLocale = DE_DE_DATEPICKER_LOCALE;
41
- var de_DE_default = DE_DE_DATEPICKER_LOCALE;
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- DE_DE_DATEPICKER_LOCALE,
45
- deDEDatePickerLocale
46
- });
@@ -1,6 +0,0 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.cjs';
2
-
3
- declare const DE_DE_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
- declare const deDEDatePickerLocale: DatePickerLocalePreset;
5
-
6
- export { DE_DE_DATEPICKER_LOCALE, deDEDatePickerLocale, DE_DE_DATEPICKER_LOCALE as default };
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/datepicker-locales/en-US.ts
21
- var en_US_exports = {};
22
- __export(en_US_exports, {
23
- EN_US_DATEPICKER_LOCALE: () => EN_US_DATEPICKER_LOCALE,
24
- default: () => en_US_default,
25
- enUSDatePickerLocale: () => enUSDatePickerLocale
26
- });
27
- module.exports = __toCommonJS(en_US_exports);
28
- var EN_US_DATEPICKER_LOCALE = {
29
- locale: "en-US",
30
- labels: {
31
- today: "Today",
32
- ok: "OK",
33
- calendar: "Calendar",
34
- toggleCalendar: "Toggle calendar",
35
- clearDate: "Clear date",
36
- previousMonth: "Previous month",
37
- nextMonth: "Next month"
38
- }
39
- };
40
- var enUSDatePickerLocale = EN_US_DATEPICKER_LOCALE;
41
- var en_US_default = EN_US_DATEPICKER_LOCALE;
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- EN_US_DATEPICKER_LOCALE,
45
- enUSDatePickerLocale
46
- });
@@ -1,6 +0,0 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-DXzS_8l8.cjs';
2
-
3
- declare const EN_US_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
- declare const enUSDatePickerLocale: DatePickerLocalePreset;
5
-
6
- export { EN_US_DATEPICKER_LOCALE, EN_US_DATEPICKER_LOCALE as default, enUSDatePickerLocale };
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/utils/i18n/datepicker-locales/es-ES.ts
21
- var es_ES_exports = {};
22
- __export(es_ES_exports, {
23
- ES_ES_DATEPICKER_LOCALE: () => ES_ES_DATEPICKER_LOCALE,
24
- default: () => es_ES_default,
25
- esESDatePickerLocale: () => esESDatePickerLocale
26
- });
27
- module.exports = __toCommonJS(es_ES_exports);
28
- var ES_ES_DATEPICKER_LOCALE = {
29
- locale: "es-ES",
30
- labels: {
31
- today: "Hoy",
32
- ok: "Aceptar",
33
- calendar: "Calendario",
34
- toggleCalendar: "Abrir calendario",
35
- clearDate: "Borrar fecha",
36
- previousMonth: "Mes anterior",
37
- nextMonth: "Mes siguiente"
38
- }
39
- };
40
- var esESDatePickerLocale = ES_ES_DATEPICKER_LOCALE;
41
- var es_ES_default = ES_ES_DATEPICKER_LOCALE;
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- ES_ES_DATEPICKER_LOCALE,
45
- esESDatePickerLocale
46
- });