@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
@@ -35,10 +35,14 @@ interface ThemeSemanticColors {
35
35
  primaryHover: string;
36
36
  primaryActive: string;
37
37
  primaryDisabled: string;
38
+ /** Text / icon color that sits on `primary` fills */
39
+ primaryForeground: string;
38
40
  secondary: string;
39
41
  secondaryHover: string;
40
42
  secondaryActive: string;
41
43
  secondaryDisabled: string;
44
+ /** Text / icon color that sits on `secondary` fills */
45
+ secondaryForeground: string;
42
46
  /** Button-specific hover backgrounds */
43
47
  outlineBgHover: string;
44
48
  ghostBgHover: string;
@@ -59,6 +63,11 @@ interface ThemeSemanticColors {
59
63
  success: string;
60
64
  warning: string;
61
65
  error: string;
66
+ /** Text / icon color that sits on `error` fills */
67
+ errorForeground: string;
68
+ errorHover: string;
69
+ errorDisabled: string;
70
+ errorBgHover: string;
62
71
  info: string;
63
72
  /** Chart palette (6 colors) */
64
73
  chart1: string;
@@ -136,7 +145,7 @@ interface ThemePreset {
136
145
  /** Controls which colour scheme the ThemeManager applies */
137
146
  type ColorScheme = 'light' | 'dark' | 'auto';
138
147
 
139
- /** Default theme colors for Tigercat. */
148
+ /** Default theme CSS variables for Tigercat (colors + radius/type/motion). */
140
149
  declare const tigercatTheme: Record<string, string>;
141
150
  /** Dark mode theme overrides. */
142
151
  declare const tigercatDarkTheme: Record<string, string>;
@@ -149,15 +158,9 @@ interface TigercatPluginOptions {
149
158
  /** A ThemePreset object to use instead of the built-in default */
150
159
  preset?: ThemePreset;
151
160
  /**
152
- * Enable the opt-in "modern" token layer.
153
- *
154
- * When `true`, the plugin emits `[data-tiger-style="modern"]` (and the
155
- * dark counterpart) blocks that override radius / shadow / glass /
156
- * gradient / motion tokens with the modern values, plus a
157
- * `prefers-reduced-motion` rule that collapses motion durations.
158
- *
159
- * Activate it on a page by setting `data-tiger-style="modern"` on `<html>`
160
- * or any ancestor element of your Tigercat tree.
161
+ * Use the modern preset at `:root` (same as `{ preset: modernTheme }`).
162
+ * `ThemeManager.setTheme('modern')` is the runtime equivalent and also
163
+ * sets `data-tiger-style="modern"`.
161
164
  *
162
165
  * @default false
163
166
  */
@@ -1,2 +1,2 @@
1
- export { l as default } from './tailwind-entry-nnuviNxx.js';
1
+ export { l as default } from './tailwind-entry-C26Y3TZG.js';
2
2
  import 'tailwindcss/plugin';