@expcat/tigercat-core 1.5.0 → 2.0.0-preview.2

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 (125) hide show
  1. package/dist/{datepicker-gSOJN_pQ.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 +11652 -11938
  20. package/dist/index.js +227 -375
  21. package/dist/{locale-hhhI2kH6.d.ts → locale-BH-hERmR.d.ts} +9 -7
  22. package/dist/locales/ar-SA.d.ts +2 -2
  23. package/dist/locales/ar-SA.js +22 -189
  24. package/dist/locales/de-DE.d.ts +2 -2
  25. package/dist/locales/de-DE.js +22 -189
  26. package/dist/locales/en-US.d.ts +2 -2
  27. package/dist/locales/en-US.js +3 -0
  28. package/dist/locales/es-ES.d.ts +2 -2
  29. package/dist/locales/es-ES.js +22 -189
  30. package/dist/locales/fr-FR.d.ts +2 -2
  31. package/dist/locales/fr-FR.js +22 -189
  32. package/dist/locales/id-ID.d.ts +2 -2
  33. package/dist/locales/id-ID.js +22 -189
  34. package/dist/locales/ja-JP.d.ts +2 -2
  35. package/dist/locales/ja-JP.js +22 -189
  36. package/dist/locales/ko-KR.d.ts +2 -2
  37. package/dist/locales/ko-KR.js +22 -189
  38. package/dist/locales/pt-BR.d.ts +2 -2
  39. package/dist/locales/pt-BR.js +22 -189
  40. package/dist/locales/th-TH.d.ts +2 -2
  41. package/dist/locales/th-TH.js +22 -189
  42. package/dist/locales/vi-VN.d.ts +2 -2
  43. package/dist/locales/vi-VN.js +22 -189
  44. package/dist/locales/zh-CN.d.ts +2 -2
  45. package/dist/locales/zh-CN.js +3 -0
  46. package/dist/locales/zh-TW.d.ts +2 -2
  47. package/dist/locales/zh-TW.js +22 -189
  48. package/dist/{table-export-CfdzU6Y5.d.ts → table-export-PkfTtGdp.d.ts} +3 -9
  49. package/dist/utils/table-export.d.ts +3 -3
  50. package/package.json +40 -71
  51. package/tokens/tokens.css +0 -329
  52. package/dist/datepicker-gSOJN_pQ.d.ts +0 -130
  53. package/dist/datepicker-locales/ar-SA.cjs +0 -46
  54. package/dist/datepicker-locales/ar-SA.d.cts +0 -6
  55. package/dist/datepicker-locales/de-DE.cjs +0 -46
  56. package/dist/datepicker-locales/de-DE.d.cts +0 -6
  57. package/dist/datepicker-locales/en-US.cjs +0 -46
  58. package/dist/datepicker-locales/en-US.d.cts +0 -6
  59. package/dist/datepicker-locales/es-ES.cjs +0 -46
  60. package/dist/datepicker-locales/es-ES.d.cts +0 -6
  61. package/dist/datepicker-locales/fr-FR.cjs +0 -46
  62. package/dist/datepicker-locales/fr-FR.d.cts +0 -6
  63. package/dist/datepicker-locales/id-ID.cjs +0 -46
  64. package/dist/datepicker-locales/id-ID.d.cts +0 -6
  65. package/dist/datepicker-locales/ja-JP.cjs +0 -46
  66. package/dist/datepicker-locales/ja-JP.d.cts +0 -6
  67. package/dist/datepicker-locales/ko-KR.cjs +0 -46
  68. package/dist/datepicker-locales/ko-KR.d.cts +0 -6
  69. package/dist/datepicker-locales/pt-BR.cjs +0 -46
  70. package/dist/datepicker-locales/pt-BR.d.cts +0 -6
  71. package/dist/datepicker-locales/th-TH.cjs +0 -46
  72. package/dist/datepicker-locales/th-TH.d.cts +0 -6
  73. package/dist/datepicker-locales/vi-VN.cjs +0 -46
  74. package/dist/datepicker-locales/vi-VN.d.cts +0 -6
  75. package/dist/datepicker-locales/zh-CN.cjs +0 -46
  76. package/dist/datepicker-locales/zh-CN.d.cts +0 -6
  77. package/dist/datepicker-locales/zh-TW.cjs +0 -46
  78. package/dist/datepicker-locales/zh-TW.d.cts +0 -6
  79. package/dist/icons/common.cjs +0 -54
  80. package/dist/icons/common.d.cts +0 -20
  81. package/dist/icons/picker.cjs +0 -75
  82. package/dist/icons/picker.d.cts +0 -53
  83. package/dist/icons/registry.cjs +0 -172
  84. package/dist/icons/registry.d.cts +0 -102
  85. package/dist/icons/status.cjs +0 -47
  86. package/dist/icons/status.d.cts +0 -13
  87. package/dist/icons/table.cjs +0 -48
  88. package/dist/icons/table.d.cts +0 -25
  89. package/dist/index.cjs +0 -22311
  90. package/dist/index.d.cts +0 -20523
  91. package/dist/locale-BTAo7XO1.d.cts +0 -392
  92. package/dist/locales/ar-SA.cjs +0 -548
  93. package/dist/locales/ar-SA.d.cts +0 -10
  94. package/dist/locales/de-DE.cjs +0 -548
  95. package/dist/locales/de-DE.d.cts +0 -10
  96. package/dist/locales/en-US.cjs +0 -246
  97. package/dist/locales/en-US.d.cts +0 -10
  98. package/dist/locales/es-ES.cjs +0 -548
  99. package/dist/locales/es-ES.d.cts +0 -10
  100. package/dist/locales/fr-FR.cjs +0 -548
  101. package/dist/locales/fr-FR.d.cts +0 -10
  102. package/dist/locales/id-ID.cjs +0 -531
  103. package/dist/locales/id-ID.d.cts +0 -10
  104. package/dist/locales/ja-JP.cjs +0 -531
  105. package/dist/locales/ja-JP.d.cts +0 -10
  106. package/dist/locales/ko-KR.cjs +0 -531
  107. package/dist/locales/ko-KR.d.cts +0 -10
  108. package/dist/locales/pt-BR.cjs +0 -548
  109. package/dist/locales/pt-BR.d.cts +0 -10
  110. package/dist/locales/th-TH.cjs +0 -531
  111. package/dist/locales/th-TH.d.cts +0 -10
  112. package/dist/locales/vi-VN.cjs +0 -531
  113. package/dist/locales/vi-VN.d.cts +0 -10
  114. package/dist/locales/zh-CN.cjs +0 -246
  115. package/dist/locales/zh-CN.d.cts +0 -10
  116. package/dist/locales/zh-TW.cjs +0 -531
  117. package/dist/locales/zh-TW.d.cts +0 -10
  118. package/dist/table-export-vfyBzKui.d.cts +0 -882
  119. package/dist/tailwind/modern.cjs +0 -363
  120. package/dist/tailwind/modern.d.cts +0 -5
  121. package/dist/tailwind-entry-CNBAH7iv.d.cts +0 -184
  122. package/dist/tailwind.cjs +0 -274
  123. package/dist/tailwind.d.cts +0 -2
  124. package/dist/utils/table-export.cjs +0 -119
  125. package/dist/utils/table-export.d.cts +0 -3
package/tokens/tokens.css CHANGED
@@ -321,335 +321,6 @@
321
321
  --tiger-component-popover-shadow:
322
322
  0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
323
323
  --tiger-component-popover-max-width: 320px;
324
-
325
- /* Compatibility variables */
326
- --tiger-color-primary-50: #f0f9ff;
327
- --tiger-color-primary-100: #e0f2fe;
328
- --tiger-color-primary-200: #bae6fd;
329
- --tiger-color-primary-300: #7dd3fc;
330
- --tiger-color-primary-400: #38bdf8;
331
- --tiger-color-primary-500: #0ea5e9;
332
- --tiger-color-primary-600: #0284c7;
333
- --tiger-color-primary-700: #0369a1;
334
- --tiger-color-primary-800: #075985;
335
- --tiger-color-primary-950: #0c3d66;
336
- --tiger-color-secondary-50: #f8fafc;
337
- --tiger-color-secondary-100: #f1f5f9;
338
- --tiger-color-secondary-200: #e2e8f0;
339
- --tiger-color-secondary-300: #cbd5e1;
340
- --tiger-color-secondary-400: #94a3b8;
341
- --tiger-color-secondary-500: #64748b;
342
- --tiger-color-secondary-600: #475569;
343
- --tiger-color-secondary-700: #334155;
344
- --tiger-color-secondary-800: #1e293b;
345
- --tiger-color-secondary-950: #0f172a;
346
- --tiger-color-success-50: #f0fdf4;
347
- --tiger-color-success-100: #dcfce7;
348
- --tiger-color-success-200: #bbf7d0;
349
- --tiger-color-success-300: #86efac;
350
- --tiger-color-success-400: #4ade80;
351
- --tiger-color-success-500: #22c55e;
352
- --tiger-color-success-600: #16a34a;
353
- --tiger-color-success-700: #15803d;
354
- --tiger-color-success-800: #166534;
355
- --tiger-color-success-950: #052e16;
356
- --tiger-color-warning-50: #fffbeb;
357
- --tiger-color-warning-100: #fef3c7;
358
- --tiger-color-warning-200: #fde68a;
359
- --tiger-color-warning-300: #fcd34d;
360
- --tiger-color-warning-400: #fbbf24;
361
- --tiger-color-warning-500: #f59e0b;
362
- --tiger-color-warning-600: #d97706;
363
- --tiger-color-warning-700: #b45309;
364
- --tiger-color-warning-800: #92400e;
365
- --tiger-color-warning-950: #451a03;
366
- --tiger-color-error-50: #fef2f2;
367
- --tiger-color-error-100: #fee2e2;
368
- --tiger-color-error-200: #fecaca;
369
- --tiger-color-error-300: #fca5a5;
370
- --tiger-color-error-400: #f87171;
371
- --tiger-color-error-500: #ef4444;
372
- --tiger-color-error-600: #dc2626;
373
- --tiger-color-error-700: #b91c1c;
374
- --tiger-color-error-800: #991b1b;
375
- --tiger-color-error-950: #450a0a;
376
- --tiger-color-info-50: #eff6ff;
377
- --tiger-color-info-100: #dbeafe;
378
- --tiger-color-info-200: #bfdbfe;
379
- --tiger-color-info-300: #93c5fd;
380
- --tiger-color-info-400: #60a5fa;
381
- --tiger-color-info-500: #3b82f6;
382
- --tiger-color-info-600: #2563eb;
383
- --tiger-color-info-700: #1d4ed8;
384
- --tiger-color-info-800: #1e40af;
385
- --tiger-color-info-950: #172554;
386
- --tiger-color-neutral-50: #fafafa;
387
- --tiger-color-neutral-100: #f5f5f5;
388
- --tiger-color-neutral-200: #e5e5e5;
389
- --tiger-color-neutral-300: #d4d4d4;
390
- --tiger-color-neutral-400: #a3a3a3;
391
- --tiger-color-neutral-500: #737373;
392
- --tiger-color-neutral-600: #525252;
393
- --tiger-color-neutral-700: #404040;
394
- --tiger-color-neutral-800: #262626;
395
- --tiger-color-neutral-950: #0a0a0a;
396
- --tiger-space-xs: 2px;
397
- --tiger-space-sm: 4px;
398
- --tiger-space-md: 8px;
399
- --tiger-space-lg: 16px;
400
- --tiger-space-xl: 24px;
401
- --tiger-space-2xl: 32px;
402
- --tiger-space-3xl: 48px;
403
- --tiger-space-4xl: 64px;
404
- --tiger-radius-none: 0;
405
- --tiger-radius-sm: 2px;
406
- --tiger-radius-md: 4px;
407
- --tiger-radius-lg: 8px;
408
- --tiger-radius-xl: 12px;
409
- --tiger-radius-full: 9999px;
410
- --tiger-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
411
- --tiger-shadow-sm:
412
- 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
413
- --tiger-shadow-md:
414
- 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
415
- --tiger-shadow-lg:
416
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
417
- --tiger-shadow-xl:
418
- 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
419
- --tiger-font-family-base:
420
- -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
421
- Arial, sans-serif;
422
- --tiger-font-family-mono:
423
- 'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
424
- --tiger-font-size-xs: 12px;
425
- --tiger-font-size-sm: 14px;
426
- --tiger-font-size-base: 16px;
427
- --tiger-font-size-lg: 18px;
428
- --tiger-font-size-xl: 20px;
429
- --tiger-font-size-2xl: 24px;
430
- --tiger-font-size-3xl: 30px;
431
- --tiger-font-size-4xl: 36px;
432
- --tiger-font-weight-normal: 400;
433
- --tiger-font-weight-medium: 500;
434
- --tiger-font-weight-semibold: 600;
435
- --tiger-font-weight-bold: 700;
436
- --tiger-font-lh-tight: 1.25;
437
- --tiger-font-lh-normal: 1.5;
438
- --tiger-font-lh-relaxed: 1.625;
439
- --tiger-font-lh-loose: 2;
440
- --tiger-duration-fast: 100ms;
441
- --tiger-duration-base: 200ms;
442
- --tiger-duration-slow: 300ms;
443
- --tiger-duration-slower: 500ms;
444
- --tiger-easing-in: cubic-bezier(0.4, 0, 1, 1);
445
- --tiger-easing-out: cubic-bezier(0, 0, 0.2, 1);
446
- --tiger-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
447
- --tiger-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
448
- --tiger-easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
449
- --tiger-color-bg-primary: #f0f9ff;
450
- --tiger-color-bg-secondary: #fafafa;
451
- --tiger-color-bg-success: #f0fdf4;
452
- --tiger-color-bg-warning: #fffbeb;
453
- --tiger-color-bg-error: #fef2f2;
454
- --tiger-color-bg-info: #eff6ff;
455
- --tiger-color-bg-surface: #fafafa;
456
- --tiger-color-bg-surface-raised: #ffffff;
457
- --tiger-color-bg-overlay: rgba(0, 0, 0, 0.45);
458
- --tiger-color-text-primary: #0a0a0a;
459
- --tiger-color-text-secondary: #525252;
460
- --tiger-color-text-tertiary: #a3a3a3;
461
- --tiger-color-text-disabled: #d4d4d4;
462
- --tiger-color-text-inverse: #ffffff;
463
- --tiger-color-text-link: #0284c7;
464
- --tiger-color-text-link-hover: #0369a1;
465
- --tiger-color-text-success: #15803d;
466
- --tiger-color-text-warning: #b45309;
467
- --tiger-color-text-error: #dc2626;
468
- --tiger-color-border-default: #e5e5e5;
469
- --tiger-color-border-strong: #a3a3a3;
470
- --tiger-color-border-focus: #0ea5e9;
471
- --tiger-color-border-error: #ef4444;
472
- --tiger-color-border-success: #22c55e;
473
- --tiger-color-icon-primary: #404040;
474
- --tiger-color-icon-secondary: #a3a3a3;
475
- --tiger-color-icon-disabled: #d4d4d4;
476
- --tiger-color-interactive-primary: #0284c7;
477
- --tiger-color-interactive-primary-hover: #0369a1;
478
- --tiger-color-interactive-primary-active: #075985;
479
- --tiger-color-interactive-secondary: #475569;
480
- --tiger-color-interactive-secondary-hover: #334155;
481
- --tiger-color-interactive-danger: #dc2626;
482
- --tiger-color-interactive-danger-hover: #b91c1c;
483
- --tiger-color-focus-ring: #0ea5e9;
484
- --tiger-space-component-gap: 8px;
485
- --tiger-space-section-gap: 24px;
486
- --tiger-space-page-padding: 32px;
487
- --tiger-radius-component: 8px;
488
- --tiger-radius-card: 12px;
489
- --tiger-radius-pill: 9999px;
490
- --tiger-button-height-sm: 32px;
491
- --tiger-button-height-md: 36px;
492
- --tiger-button-height-lg: 40px;
493
- --tiger-button-padding-x-sm: 8px;
494
- --tiger-button-padding-x-md: 16px;
495
- --tiger-button-padding-x-lg: 24px;
496
- --tiger-button-border-radius: 8px;
497
- --tiger-button-font-size-sm: 14px;
498
- --tiger-button-font-size-md: 16px;
499
- --tiger-button-font-size-lg: 18px;
500
- --tiger-button-font-weight: 500;
501
- --tiger-input-height-sm: 32px;
502
- --tiger-input-height-md: 36px;
503
- --tiger-input-height-lg: 40px;
504
- --tiger-input-padding-x: 16px;
505
- --tiger-input-border-radius: 8px;
506
- --tiger-input-font-size: 16px;
507
- --tiger-input-border-color: #e5e5e5;
508
- --tiger-input-border-color-focus: #0ea5e9;
509
- --tiger-input-border-color-error: #ef4444;
510
- --tiger-select-height-sm: 32px;
511
- --tiger-select-height-md: 36px;
512
- --tiger-select-height-lg: 40px;
513
- --tiger-select-padding-x: 16px;
514
- --tiger-select-border-radius: 8px;
515
- --tiger-select-dropdown-shadow:
516
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
517
- --tiger-select-option-height: 36px;
518
- --tiger-select-option-padding-x: 16px;
519
- --tiger-modal-border-radius: 12px;
520
- --tiger-modal-padding: 24px;
521
- --tiger-modal-shadow:
522
- 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
523
- --tiger-modal-header-font-size: 18px;
524
- --tiger-modal-header-font-weight: 600;
525
- --tiger-modal-overlay-bg: rgba(0, 0, 0, 0.45);
526
- --tiger-modal-width-sm: 400px;
527
- --tiger-modal-width-md: 520px;
528
- --tiger-modal-width-lg: 680px;
529
- --tiger-modal-width-xl: 860px;
530
- --tiger-drawer-padding: 24px;
531
- --tiger-drawer-shadow:
532
- 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
533
- --tiger-drawer-header-font-size: 18px;
534
- --tiger-drawer-header-font-weight: 600;
535
- --tiger-drawer-overlay-bg: rgba(0, 0, 0, 0.45);
536
- --tiger-drawer-width-sm: 256px;
537
- --tiger-drawer-width-md: 378px;
538
- --tiger-drawer-width-lg: 520px;
539
- --tiger-drawer-width-xl: 680px;
540
- --tiger-card-border-radius: 12px;
541
- --tiger-card-padding: 24px;
542
- --tiger-card-shadow:
543
- 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
544
- --tiger-card-border-color: #e5e5e5;
545
- --tiger-badge-font-size: 12px;
546
- --tiger-badge-font-weight: 500;
547
- --tiger-badge-padding-x: 8px;
548
- --tiger-badge-border-radius: 9999px;
549
- --tiger-avatar-size-sm: 32px;
550
- --tiger-avatar-size-md: 40px;
551
- --tiger-avatar-size-lg: 48px;
552
- --tiger-avatar-size-xl: 64px;
553
- --tiger-avatar-border-radius: 9999px;
554
- --tiger-avatar-font-size-sm: 12px;
555
- --tiger-avatar-font-size-md: 14px;
556
- --tiger-avatar-font-size-lg: 16px;
557
- --tiger-table-bg: #fafafa;
558
- --tiger-table-header-bg: #fafafa;
559
- --tiger-table-header-font-weight: 600;
560
- --tiger-table-cell-padding-x: 16px;
561
- --tiger-table-cell-padding-y-sm: 8px;
562
- --tiger-table-cell-padding-y-md: 16px;
563
- --tiger-table-cell-padding-y-lg: 24px;
564
- --tiger-table-border-color: #e5e5e5;
565
- --tiger-table-stripe-bg: #fafafa;
566
- --tiger-table-hover-bg: #f0f9ff;
567
- --tiger-tooltip-bg: #262626;
568
- --tiger-tooltip-text-color: #ffffff;
569
- --tiger-tooltip-font-size: 14px;
570
- --tiger-tooltip-padding-x: 8px;
571
- --tiger-tooltip-padding-y: 4px;
572
- --tiger-tooltip-border-radius: 8px;
573
- --tiger-tooltip-shadow:
574
- 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
575
- --tiger-tooltip-max-width: 280px;
576
- --tiger-alert-border-radius: 8px;
577
- --tiger-alert-padding-x: 16px;
578
- --tiger-alert-padding-y: 16px;
579
- --tiger-alert-font-size: 16px;
580
- --tiger-alert-icon-size: 20px;
581
- --tiger-tabs-height: 40px;
582
- --tiger-tabs-font-size: 16px;
583
- --tiger-tabs-font-weight-active: 500;
584
- --tiger-tabs-indicator-height: 2px;
585
- --tiger-tabs-gap: 24px;
586
- --tiger-pagination-item-size: 32px;
587
- --tiger-pagination-font-size: 14px;
588
- --tiger-pagination-border-radius: 8px;
589
- --tiger-pagination-gap: 4px;
590
- --tiger-tag-height-sm: 22px;
591
- --tiger-tag-height-md: 26px;
592
- --tiger-tag-height-lg: 32px;
593
- --tiger-tag-padding-x: 8px;
594
- --tiger-tag-font-size: 12px;
595
- --tiger-tag-border-radius: 6px;
596
- --tiger-progress-height-sm: 4px;
597
- --tiger-progress-height-md: 8px;
598
- --tiger-progress-height-lg: 12px;
599
- --tiger-progress-border-radius: 9999px;
600
- --tiger-progress-track-bg: #e5e5e5;
601
- --tiger-skeleton-bg: #e5e5e5;
602
- --tiger-skeleton-shimmer-bg: #f5f5f5;
603
- --tiger-skeleton-border-radius: 8px;
604
- --tiger-divider-color: #e5e5e5;
605
- --tiger-divider-text-padding: 16px;
606
- --tiger-collapse-header-padding-x: 16px;
607
- --tiger-collapse-header-padding-y: 16px;
608
- --tiger-collapse-content-padding: 16px;
609
- --tiger-collapse-border-color: #e5e5e5;
610
- --tiger-steps-icon-size: 32px;
611
- --tiger-steps-font-size: 16px;
612
- --tiger-steps-connector-width: 1px;
613
- --tiger-breadcrumb-font-size: 14px;
614
- --tiger-breadcrumb-separator-margin: 8px;
615
- --tiger-dropdown-min-width: 120px;
616
- --tiger-dropdown-padding-y: 4px;
617
- --tiger-dropdown-item-height: 36px;
618
- --tiger-dropdown-item-padding-x: 16px;
619
- --tiger-dropdown-border-radius: 12px;
620
- --tiger-dropdown-shadow:
621
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
622
- --tiger-menu-item-height: 40px;
623
- --tiger-menu-item-padding-x: 16px;
624
- --tiger-menu-group-title-padding: 8px;
625
- --tiger-menu-indent-width: 24px;
626
- --tiger-menu-border-radius: 8px;
627
- --tiger-notification-width: 384px;
628
- --tiger-notification-padding: 16px;
629
- --tiger-notification-border-radius: 12px;
630
- --tiger-notification-shadow:
631
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
632
- --tiger-notification-title-font-size: 16px;
633
- --tiger-notification-title-font-weight: 500;
634
- --tiger-popover-padding: 16px;
635
- --tiger-popover-border-radius: 12px;
636
- --tiger-popover-shadow:
637
- 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
638
- --tiger-popover-max-width: 320px;
639
-
640
- /* Legacy variables (backward-compat with pre-0.5.0) */
641
- --tiger-primary: var(--tiger-color-primary-600);
642
- --tiger-primary-hover: var(--tiger-color-primary-700);
643
- --tiger-primary-active: var(--tiger-color-primary-800);
644
- --tiger-primary-disabled: var(--tiger-color-primary-300);
645
- --tiger-secondary: var(--tiger-color-secondary-600);
646
- --tiger-secondary-hover: var(--tiger-color-secondary-700);
647
- --tiger-secondary-active: var(--tiger-color-secondary-800);
648
- --tiger-secondary-disabled: var(--tiger-color-secondary-300);
649
- --tiger-focus-ring: var(--tiger-color-focus-ring);
650
- --tiger-surface: var(--tiger-color-bg-surface);
651
- --tiger-outline-bg-hover: var(--tiger-color-primary-50);
652
- --tiger-ghost-bg-hover: var(--tiger-color-primary-50);
653
324
  }
654
325
 
655
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, DatePickerLocaleConfig as f, DatePickerModelValue as g, DatePickerProps as h, DatePickerRangeModelValue as i, DatePickerRangeValue as j, DatePickerShortcut as k, DatePickerSingleModelValue as l, DatePickerSingleValue 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-gSOJN_pQ.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-gSOJN_pQ.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-gSOJN_pQ.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
- });
@@ -1,6 +0,0 @@
1
- import { D as DatePickerLocalePreset } from '../datepicker-gSOJN_pQ.cjs';
2
-
3
- declare const ES_ES_DATEPICKER_LOCALE: DatePickerLocalePreset;
4
- declare const esESDatePickerLocale: DatePickerLocalePreset;
5
-
6
- export { ES_ES_DATEPICKER_LOCALE, ES_ES_DATEPICKER_LOCALE as default, esESDatePickerLocale };