@expcat/tigercat-core 1.0.7 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/README.md +1 -1
  2. package/dist/datepicker-DXzS_8l8.d.cts +130 -0
  3. package/dist/datepicker-DXzS_8l8.d.ts +130 -0
  4. package/dist/datepicker-locales/ar-SA.cjs +46 -0
  5. package/dist/datepicker-locales/ar-SA.d.cts +6 -0
  6. package/dist/datepicker-locales/ar-SA.d.ts +6 -0
  7. package/dist/datepicker-locales/ar-SA.js +20 -0
  8. package/dist/datepicker-locales/de-DE.cjs +46 -0
  9. package/dist/datepicker-locales/de-DE.d.cts +6 -0
  10. package/dist/datepicker-locales/de-DE.d.ts +6 -0
  11. package/dist/datepicker-locales/de-DE.js +20 -0
  12. package/dist/datepicker-locales/en-US.cjs +46 -0
  13. package/dist/datepicker-locales/en-US.d.cts +6 -0
  14. package/dist/datepicker-locales/en-US.d.ts +6 -0
  15. package/dist/datepicker-locales/en-US.js +20 -0
  16. package/dist/datepicker-locales/es-ES.cjs +46 -0
  17. package/dist/datepicker-locales/es-ES.d.cts +6 -0
  18. package/dist/datepicker-locales/es-ES.d.ts +6 -0
  19. package/dist/datepicker-locales/es-ES.js +20 -0
  20. package/dist/datepicker-locales/fr-FR.cjs +46 -0
  21. package/dist/datepicker-locales/fr-FR.d.cts +6 -0
  22. package/dist/datepicker-locales/fr-FR.d.ts +6 -0
  23. package/dist/datepicker-locales/fr-FR.js +20 -0
  24. package/dist/datepicker-locales/id-ID.cjs +46 -0
  25. package/dist/datepicker-locales/id-ID.d.cts +6 -0
  26. package/dist/datepicker-locales/id-ID.d.ts +6 -0
  27. package/dist/datepicker-locales/id-ID.js +20 -0
  28. package/dist/datepicker-locales/ja-JP.cjs +46 -0
  29. package/dist/datepicker-locales/ja-JP.d.cts +6 -0
  30. package/dist/datepicker-locales/ja-JP.d.ts +6 -0
  31. package/dist/datepicker-locales/ja-JP.js +20 -0
  32. package/dist/datepicker-locales/ko-KR.cjs +46 -0
  33. package/dist/datepicker-locales/ko-KR.d.cts +6 -0
  34. package/dist/datepicker-locales/ko-KR.d.ts +6 -0
  35. package/dist/datepicker-locales/ko-KR.js +20 -0
  36. package/dist/datepicker-locales/pt-BR.cjs +46 -0
  37. package/dist/datepicker-locales/pt-BR.d.cts +6 -0
  38. package/dist/datepicker-locales/pt-BR.d.ts +6 -0
  39. package/dist/datepicker-locales/pt-BR.js +20 -0
  40. package/dist/datepicker-locales/th-TH.cjs +46 -0
  41. package/dist/datepicker-locales/th-TH.d.cts +6 -0
  42. package/dist/datepicker-locales/th-TH.d.ts +6 -0
  43. package/dist/datepicker-locales/th-TH.js +20 -0
  44. package/dist/datepicker-locales/vi-VN.cjs +46 -0
  45. package/dist/datepicker-locales/vi-VN.d.cts +6 -0
  46. package/dist/datepicker-locales/vi-VN.d.ts +6 -0
  47. package/dist/datepicker-locales/vi-VN.js +20 -0
  48. package/dist/datepicker-locales/zh-CN.cjs +46 -0
  49. package/dist/datepicker-locales/zh-CN.d.cts +6 -0
  50. package/dist/datepicker-locales/zh-CN.d.ts +6 -0
  51. package/dist/datepicker-locales/zh-CN.js +20 -0
  52. package/dist/datepicker-locales/zh-TW.cjs +46 -0
  53. package/dist/datepicker-locales/zh-TW.d.cts +6 -0
  54. package/dist/datepicker-locales/zh-TW.d.ts +6 -0
  55. package/dist/datepicker-locales/zh-TW.js +20 -0
  56. package/dist/icons/common.cjs +54 -0
  57. package/dist/icons/common.d.cts +20 -0
  58. package/dist/icons/common.d.ts +20 -0
  59. package/dist/icons/common.js +21 -0
  60. package/dist/icons/picker.cjs +75 -0
  61. package/dist/icons/picker.d.cts +53 -0
  62. package/dist/icons/picker.d.ts +53 -0
  63. package/dist/icons/picker.js +35 -0
  64. package/dist/icons/status.cjs +47 -0
  65. package/dist/icons/status.d.cts +13 -0
  66. package/dist/icons/status.d.ts +13 -0
  67. package/dist/icons/status.js +18 -0
  68. package/dist/icons/table.cjs +48 -0
  69. package/dist/icons/table.d.cts +25 -0
  70. package/dist/icons/table.d.ts +25 -0
  71. package/dist/icons/table.js +17 -0
  72. package/dist/index.cjs +7064 -886
  73. package/dist/index.d.cts +3826 -1238
  74. package/dist/index.d.ts +3826 -1238
  75. package/dist/index.js +6705 -1011
  76. package/dist/locale-9-B-d0mp.d.cts +97 -0
  77. package/dist/locale-Bc3zz2b0.d.ts +97 -0
  78. package/dist/locales/ar-SA.cjs +155 -0
  79. package/dist/locales/ar-SA.d.cts +10 -0
  80. package/dist/locales/ar-SA.d.ts +10 -0
  81. package/dist/locales/ar-SA.js +128 -0
  82. package/dist/locales/de-DE.cjs +155 -0
  83. package/dist/locales/de-DE.d.cts +10 -0
  84. package/dist/locales/de-DE.d.ts +10 -0
  85. package/dist/locales/de-DE.js +128 -0
  86. package/dist/locales/en-US.cjs +69 -0
  87. package/dist/locales/en-US.d.cts +10 -0
  88. package/dist/locales/en-US.d.ts +10 -0
  89. package/dist/locales/en-US.js +44 -0
  90. package/dist/locales/es-ES.cjs +155 -0
  91. package/dist/locales/es-ES.d.cts +10 -0
  92. package/dist/locales/es-ES.d.ts +10 -0
  93. package/dist/locales/es-ES.js +128 -0
  94. package/dist/locales/fr-FR.cjs +155 -0
  95. package/dist/locales/fr-FR.d.cts +10 -0
  96. package/dist/locales/fr-FR.d.ts +10 -0
  97. package/dist/locales/fr-FR.js +128 -0
  98. package/dist/locales/id-ID.cjs +69 -0
  99. package/dist/locales/id-ID.d.cts +10 -0
  100. package/dist/locales/id-ID.d.ts +10 -0
  101. package/dist/locales/id-ID.js +44 -0
  102. package/dist/locales/ja-JP.cjs +69 -0
  103. package/dist/locales/ja-JP.d.cts +10 -0
  104. package/dist/locales/ja-JP.d.ts +10 -0
  105. package/dist/locales/ja-JP.js +44 -0
  106. package/dist/locales/ko-KR.cjs +69 -0
  107. package/dist/locales/ko-KR.d.cts +10 -0
  108. package/dist/locales/ko-KR.d.ts +10 -0
  109. package/dist/locales/ko-KR.js +44 -0
  110. package/dist/locales/pt-BR.cjs +155 -0
  111. package/dist/locales/pt-BR.d.cts +10 -0
  112. package/dist/locales/pt-BR.d.ts +10 -0
  113. package/dist/locales/pt-BR.js +128 -0
  114. package/dist/locales/th-TH.cjs +69 -0
  115. package/dist/locales/th-TH.d.cts +10 -0
  116. package/dist/locales/th-TH.d.ts +10 -0
  117. package/dist/locales/th-TH.js +44 -0
  118. package/dist/locales/vi-VN.cjs +69 -0
  119. package/dist/locales/vi-VN.d.cts +10 -0
  120. package/dist/locales/vi-VN.d.ts +10 -0
  121. package/dist/locales/vi-VN.js +44 -0
  122. package/dist/locales/zh-CN.cjs +69 -0
  123. package/dist/locales/zh-CN.d.cts +10 -0
  124. package/dist/locales/zh-CN.d.ts +10 -0
  125. package/dist/locales/zh-CN.js +44 -0
  126. package/dist/locales/zh-TW.cjs +69 -0
  127. package/dist/locales/zh-TW.d.cts +10 -0
  128. package/dist/locales/zh-TW.d.ts +10 -0
  129. package/dist/locales/zh-TW.js +44 -0
  130. package/dist/table-export-6ISYSoVB.d.cts +490 -0
  131. package/dist/table-export-6ISYSoVB.d.ts +490 -0
  132. package/dist/tailwind/modern.cjs +353 -0
  133. package/dist/tailwind/modern.d.cts +6 -0
  134. package/dist/tailwind/modern.d.ts +6 -0
  135. package/dist/tailwind/modern.js +320 -0
  136. package/dist/tailwind-entry-D4_sseNi.d.ts +218 -0
  137. package/dist/tailwind-entry-DUchHtjs.d.cts +218 -0
  138. package/dist/tailwind.cjs +206 -0
  139. package/dist/tailwind.d.cts +3 -0
  140. package/dist/tailwind.d.ts +3 -0
  141. package/dist/tailwind.js +173 -0
  142. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +126 -0
  143. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +126 -0
  144. package/dist/utils/table-export.cjs +112 -0
  145. package/dist/utils/table-export.d.cts +1 -0
  146. package/dist/utils/table-export.d.ts +1 -0
  147. package/dist/utils/table-export.js +79 -0
  148. package/package.json +190 -12
  149. package/tokens/figma-variables.json +2553 -0
  150. package/tokens/tailwind-tokens.js +145 -0
  151. package/tokens/tokens.css +640 -0
  152. package/tokens/tokens.json +395 -0
@@ -0,0 +1,353 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/tailwind-entry-modern.ts
31
+ var tailwind_entry_modern_exports = {};
32
+ __export(tailwind_entry_modern_exports, {
33
+ default: () => tailwind_entry_modern_default
34
+ });
35
+ module.exports = __toCommonJS(tailwind_entry_modern_exports);
36
+
37
+ // src/tailwind-plugin.ts
38
+ var import_plugin = __toESM(require("tailwindcss/plugin"), 1);
39
+
40
+ // src/theme/index.ts
41
+ var THEME_CSS_VARS = {
42
+ // Primary colors
43
+ primary: "--tiger-primary",
44
+ primaryHover: "--tiger-primary-hover",
45
+ primaryActive: "--tiger-primary-active",
46
+ primaryDisabled: "--tiger-primary-disabled",
47
+ // Secondary colors
48
+ secondary: "--tiger-secondary",
49
+ secondaryHover: "--tiger-secondary-hover",
50
+ secondaryActive: "--tiger-secondary-active",
51
+ secondaryDisabled: "--tiger-secondary-disabled",
52
+ // Background hover states
53
+ outlineBgHover: "--tiger-outline-bg-hover",
54
+ ghostBgHover: "--tiger-ghost-bg-hover",
55
+ // Interaction states
56
+ focusRing: "--tiger-focus-ring",
57
+ // Surface & background
58
+ surface: "--tiger-surface",
59
+ surfaceMuted: "--tiger-surface-muted",
60
+ surfaceRaised: "--tiger-surface-raised",
61
+ // Text
62
+ text: "--tiger-text",
63
+ textSecondary: "--tiger-text-secondary",
64
+ textDisabled: "--tiger-text-disabled",
65
+ // Border
66
+ border: "--tiger-border",
67
+ borderStrong: "--tiger-border-strong",
68
+ // Status colors
69
+ success: "--tiger-success",
70
+ warning: "--tiger-warning",
71
+ error: "--tiger-error",
72
+ info: "--tiger-info",
73
+ // Chart palette
74
+ chart1: "--tiger-chart-1",
75
+ chart2: "--tiger-chart-2",
76
+ chart3: "--tiger-chart-3",
77
+ chart4: "--tiger-chart-4",
78
+ chart5: "--tiger-chart-5",
79
+ chart6: "--tiger-chart-6",
80
+ // Breakpoints
81
+ breakpointXs: "--tiger-breakpoint-xs",
82
+ breakpointSm: "--tiger-breakpoint-sm",
83
+ breakpointMd: "--tiger-breakpoint-md",
84
+ breakpointLg: "--tiger-breakpoint-lg",
85
+ breakpointXl: "--tiger-breakpoint-xl"
86
+ };
87
+
88
+ // src/themes/modern/tokens.ts
89
+ var MODERN_BASE_TOKENS_LIGHT = {
90
+ // Radius (matches existing rounded-md/lg/xl)
91
+ "--tiger-radius-sm": "0.375rem",
92
+ "--tiger-radius-md": "0.5rem",
93
+ "--tiger-radius-lg": "0.75rem",
94
+ "--tiger-radius-xl": "1rem",
95
+ "--tiger-radius-pill": "9999px",
96
+ // Shadows (Tailwind defaults)
97
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
98
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
99
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
100
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
101
+ // Glass — disabled by default (no backdrop blur, no inset highlights)
102
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
103
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
104
+ "--tiger-blur-glass": "0px",
105
+ "--tiger-blur-glass-strong": "0px",
106
+ // Gradients — fall back to solid color via a no-op linear-gradient
107
+ "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
108
+ "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
109
+ "--tiger-gradient-danger": "linear-gradient(180deg, var(--tiger-error), var(--tiger-error))",
110
+ // Motion — current durations / easings
111
+ "--tiger-motion-duration-instant": "80ms",
112
+ "--tiger-motion-duration-quick": "150ms",
113
+ "--tiger-motion-duration-base": "200ms",
114
+ "--tiger-motion-duration-relaxed": "300ms",
115
+ "--tiger-motion-duration-slow": "450ms",
116
+ "--tiger-motion-ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
117
+ "--tiger-motion-ease-decelerate": "cubic-bezier(0, 0, 0.2, 1)",
118
+ "--tiger-motion-ease-accelerate": "cubic-bezier(0.4, 0, 1, 1)",
119
+ "--tiger-motion-ease-emphasized": "cubic-bezier(0.4, 0, 0.2, 1)",
120
+ "--tiger-motion-ease-spring": "cubic-bezier(0.4, 0, 0.2, 1)",
121
+ "--tiger-transition-base": "all 200ms cubic-bezier(0.4, 0, 0.2, 1)",
122
+ "--tiger-transition-quick": "all 150ms cubic-bezier(0.4, 0, 0.2, 1)",
123
+ "--tiger-transition-emphasized": "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
124
+ };
125
+ var MODERN_BASE_TOKENS_DARK = {
126
+ // Shadows tinted slightly to handle dark backgrounds
127
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
128
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.25)",
129
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
130
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
131
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
132
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
133
+ };
134
+ var MODERN_OVERRIDE_TOKENS_LIGHT = {
135
+ // Rounder corners
136
+ "--tiger-radius-sm": "8px",
137
+ "--tiger-radius-md": "12px",
138
+ "--tiger-radius-lg": "16px",
139
+ "--tiger-radius-xl": "20px",
140
+ "--tiger-radius-pill": "9999px",
141
+ // Multi-layer shadows
142
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.04), 0 1px 3px 0 rgb(0 0 0 / 0.06)",
143
+ "--tiger-shadow-md": "0 4px 8px -2px rgb(0 0 0 / 0.06), 0 2px 4px -1px rgb(0 0 0 / 0.04)",
144
+ "--tiger-shadow-lg": "0 12px 24px -4px rgb(0 0 0 / 0.08), 0 4px 8px -2px rgb(0 0 0 / 0.04)",
145
+ "--tiger-shadow-xl": "0 24px 48px -8px rgb(0 0 0 / 0.1), 0 8px 16px -4px rgb(0 0 0 / 0.05)",
146
+ // Glass: backdrop blur + inset highlights
147
+ "--tiger-shadow-glass": "inset 0 1px 0 rgb(255 255 255 / 0.6), inset 0 -1px 0 rgb(0 0 0 / 0.04), 0 8px 24px -4px rgb(15 23 42 / 0.1)",
148
+ "--tiger-shadow-glass-strong": "inset 0 1px 0 rgb(255 255 255 / 0.5), inset 0 0 0 1px rgb(255 255 255 / 0.18), 0 16px 32px -8px rgb(15 23 42 / 0.16)",
149
+ "--tiger-blur-glass": "16px",
150
+ "--tiger-blur-glass-strong": "24px",
151
+ // Chart axis softening (modern look uses fainter axis/grid strokes)
152
+ "--tiger-chart-axis-line-opacity": "0.6",
153
+ "--tiger-chart-axis-tick-opacity": "0.55",
154
+ "--tiger-chart-grid-line-opacity": "0.4",
155
+ // Chart legend marker + row hover (opt-in glassy look)
156
+ "--tiger-chart-legend-marker-image": "linear-gradient(135deg, color-mix(in oklab, var(--tiger-chart-legend-marker-color) 100%, white 18%) 0%, var(--tiger-chart-legend-marker-color) 100%)",
157
+ "--tiger-chart-legend-row-hover-bg": "rgb(15 23 42 / 0.04)",
158
+ "--tiger-chart-legend-row-radius": "var(--tiger-radius-sm, 6px)",
159
+ // Chart block (TreeMap / Sunburst / Heatmap rect & path) — softer corners + active highlight
160
+ "--tiger-chart-block-radius": "var(--tiger-radius-sm, 2px)",
161
+ "--tiger-chart-block-active-filter": "brightness(1.08) saturate(1.1)",
162
+ // Chart bar (BarChart rect) — softer top corners (modern bumps to --tiger-radius-sm)
163
+ "--tiger-chart-bar-radius": "var(--tiger-radius-sm, 4px)",
164
+ // Chart scatter point — slightly stronger halo on hover under modern preset
165
+ "--tiger-chart-scatter-halo-radius": "6px",
166
+ // Chart donut center hole — opt-in glass panel behind centerValue / centerLabel
167
+ "--tiger-chart-donut-center-padding": "10px 14px",
168
+ "--tiger-chart-donut-center-bg": "color-mix(in oklab, var(--tiger-surface, #ffffff) 78%, transparent)",
169
+ "--tiger-chart-donut-center-shadow": "var(--tiger-shadow-glass)",
170
+ "--tiger-chart-donut-center-backdrop": "blur(var(--tiger-blur-glass, 16px)) saturate(1.05)",
171
+ // Subtle gradients via OKLab color-mix
172
+ "--tiger-gradient-primary": "linear-gradient(180deg, color-mix(in oklab, var(--tiger-primary) 100%, white 8%) 0%, var(--tiger-primary) 100%)",
173
+ "--tiger-gradient-surface": "linear-gradient(180deg, color-mix(in oklab, var(--tiger-surface) 100%, white 4%) 0%, var(--tiger-surface) 100%)",
174
+ "--tiger-gradient-danger": "linear-gradient(180deg, color-mix(in oklab, var(--tiger-error) 100%, white 6%) 0%, var(--tiger-error) 100%)",
175
+ // Refined motion
176
+ "--tiger-motion-ease-standard": "cubic-bezier(0.2, 0, 0, 1)",
177
+ "--tiger-motion-ease-decelerate": "cubic-bezier(0, 0, 0, 1)",
178
+ "--tiger-motion-ease-accelerate": "cubic-bezier(0.3, 0, 1, 1)",
179
+ "--tiger-motion-ease-emphasized": "cubic-bezier(0.2, 0, 0, 1.2)",
180
+ "--tiger-motion-ease-spring": "linear(0, 0.36 8%, 0.85 22%, 1.05 33%, 1.02 50%, 0.99 70%, 1)",
181
+ "--tiger-transition-base": "all var(--tiger-motion-duration-base) var(--tiger-motion-ease-standard)",
182
+ "--tiger-transition-quick": "all var(--tiger-motion-duration-quick) var(--tiger-motion-ease-standard)",
183
+ "--tiger-transition-emphasized": "transform var(--tiger-motion-duration-relaxed) var(--tiger-motion-ease-emphasized)"
184
+ };
185
+ var MODERN_OVERRIDE_TOKENS_DARK = {
186
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(2 6 23 / 0.5)",
187
+ "--tiger-shadow-md": "0 4px 8px -2px rgb(2 6 23 / 0.55), 0 2px 4px -1px rgb(2 6 23 / 0.4)",
188
+ "--tiger-shadow-lg": "0 12px 24px -4px rgb(2 6 23 / 0.55), 0 4px 8px -2px rgb(2 6 23 / 0.4)",
189
+ "--tiger-shadow-xl": "0 24px 48px -8px rgb(2 6 23 / 0.6), 0 8px 16px -4px rgb(2 6 23 / 0.45)",
190
+ "--tiger-shadow-glass": "inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 -1px 0 rgb(0 0 0 / 0.4), 0 8px 24px -4px rgb(0 0 0 / 0.4)",
191
+ "--tiger-shadow-glass-strong": "inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 16px 32px -8px rgb(0 0 0 / 0.55)",
192
+ // Chart legend row hover for dark surfaces (slightly brighter)
193
+ "--tiger-chart-legend-row-hover-bg": "rgb(255 255 255 / 0.06)",
194
+ // Donut center glass panel for dark surfaces (slightly more opaque to read on dark)
195
+ "--tiger-chart-donut-center-bg": "color-mix(in oklab, var(--tiger-surface, #0f172a) 70%, transparent)"
196
+ };
197
+ var MODERN_REDUCED_MOTION_TOKENS = {
198
+ "--tiger-motion-duration-instant": "0ms",
199
+ "--tiger-motion-duration-quick": "0ms",
200
+ "--tiger-motion-duration-base": "0ms",
201
+ "--tiger-motion-duration-relaxed": "0ms",
202
+ "--tiger-motion-duration-slow": "0ms",
203
+ "--tiger-transition-base": "all 0ms linear",
204
+ "--tiger-transition-quick": "all 0ms linear",
205
+ "--tiger-transition-emphasized": "transform 0ms linear"
206
+ };
207
+
208
+ // src/tailwind-plugin.ts
209
+ var tigercatTheme = {
210
+ // Primary
211
+ "--tiger-primary": "#2563eb",
212
+ "--tiger-primary-hover": "#1d4ed8",
213
+ "--tiger-primary-active": "#1e40af",
214
+ "--tiger-primary-disabled": "#93c5fd",
215
+ // Secondary
216
+ "--tiger-secondary": "#4b5563",
217
+ "--tiger-secondary-hover": "#374151",
218
+ "--tiger-secondary-active": "#1f2937",
219
+ "--tiger-secondary-disabled": "#9ca3af",
220
+ // Background hover states
221
+ "--tiger-outline-bg-hover": "#eff6ff",
222
+ "--tiger-ghost-bg-hover": "#eff6ff",
223
+ // Interaction
224
+ "--tiger-focus-ring": "#2563eb",
225
+ // Surface & background
226
+ "--tiger-surface": "#ffffff",
227
+ "--tiger-surface-muted": "#f9fafb",
228
+ "--tiger-surface-raised": "#ffffff",
229
+ // Text
230
+ "--tiger-text": "#111827",
231
+ "--tiger-text-secondary": "#6b7280",
232
+ "--tiger-text-disabled": "#d1d5db",
233
+ // Border
234
+ "--tiger-border": "#e5e7eb",
235
+ "--tiger-border-strong": "#9ca3af",
236
+ // Status
237
+ "--tiger-success": "#16a34a",
238
+ "--tiger-warning": "#d97706",
239
+ "--tiger-error": "#dc2626",
240
+ "--tiger-info": "#3b82f6",
241
+ // Chart palette
242
+ "--tiger-chart-1": "#2563eb",
243
+ "--tiger-chart-2": "#16a34a",
244
+ "--tiger-chart-3": "#d97706",
245
+ "--tiger-chart-4": "#a855f7",
246
+ "--tiger-chart-5": "#0ea5e9",
247
+ "--tiger-chart-6": "#ef4444"
248
+ };
249
+ var tigercatDarkTheme = {
250
+ "--tiger-primary": "#60a5fa",
251
+ "--tiger-primary-hover": "#93c5fd",
252
+ "--tiger-primary-active": "#bfdbfe",
253
+ "--tiger-primary-disabled": "#1e40af",
254
+ "--tiger-secondary": "#9ca3af",
255
+ "--tiger-secondary-hover": "#d1d5db",
256
+ "--tiger-secondary-active": "#e5e7eb",
257
+ "--tiger-secondary-disabled": "#4b5563",
258
+ "--tiger-outline-bg-hover": "#1e3a5f",
259
+ "--tiger-ghost-bg-hover": "#1e3a5f",
260
+ "--tiger-focus-ring": "#60a5fa",
261
+ "--tiger-surface": "#111827",
262
+ "--tiger-surface-muted": "#1f2937",
263
+ "--tiger-surface-raised": "#1f2937",
264
+ "--tiger-text": "#f9fafb",
265
+ "--tiger-text-secondary": "#d1d5db",
266
+ "--tiger-text-disabled": "#4b5563",
267
+ "--tiger-border": "#374151",
268
+ "--tiger-border-strong": "#6b7280",
269
+ "--tiger-success": "#4ade80",
270
+ "--tiger-warning": "#fbbf24",
271
+ "--tiger-error": "#f87171",
272
+ "--tiger-info": "#60a5fa",
273
+ "--tiger-chart-1": "#60a5fa",
274
+ "--tiger-chart-2": "#4ade80",
275
+ "--tiger-chart-3": "#fbbf24",
276
+ "--tiger-chart-4": "#c084fc",
277
+ "--tiger-chart-5": "#38bdf8",
278
+ "--tiger-chart-6": "#f87171"
279
+ };
280
+ var tigercatDirectionBase = {
281
+ '[dir="rtl"] .tiger-rtl-mirror, [data-tiger-dir="rtl"] .tiger-rtl-mirror': {
282
+ transform: "scaleX(-1)"
283
+ },
284
+ '[dir="rtl"] .tiger-text-start, [data-tiger-dir="rtl"] .tiger-text-start': {
285
+ textAlign: "right"
286
+ },
287
+ '[dir="rtl"] .tiger-text-end, [data-tiger-dir="rtl"] .tiger-text-end': {
288
+ textAlign: "left"
289
+ },
290
+ '[dir="rtl"] .tiger-flex-row, [data-tiger-dir="rtl"] .tiger-flex-row': {
291
+ flexDirection: "row-reverse"
292
+ }
293
+ };
294
+ var tigercatReducedMotionBase = {
295
+ "@media (prefers-reduced-motion: reduce)": {
296
+ ':root, [data-tiger-style="modern"]': MODERN_REDUCED_MOTION_TOKENS,
297
+ ".tiger-motion-aware, .tiger-motion-aware::before, .tiger-motion-aware::after, [data-tiger-motion]": {
298
+ animationDuration: "0ms",
299
+ animationDelay: "0ms",
300
+ transitionDuration: "0ms",
301
+ transitionDelay: "0ms",
302
+ scrollBehavior: "auto"
303
+ }
304
+ }
305
+ };
306
+ var tigercatPlugin = (0, import_plugin.default)(function({ addBase }) {
307
+ addBase({
308
+ ":root": { ...tigercatTheme, ...MODERN_BASE_TOKENS_LIGHT },
309
+ ".dark": { ...tigercatDarkTheme, ...MODERN_BASE_TOKENS_DARK },
310
+ // Remove browser default focus outline on interactive SVG elements
311
+ 'svg [tabindex], svg [role="button"]': {
312
+ outline: "none"
313
+ },
314
+ ...tigercatDirectionBase,
315
+ ...tigercatReducedMotionBase
316
+ });
317
+ });
318
+ function presetToVars(colors) {
319
+ const vars = {};
320
+ for (const [key, value] of Object.entries(colors)) {
321
+ const varName = THEME_CSS_VARS[key];
322
+ if (varName && value) {
323
+ vars[varName] = value;
324
+ }
325
+ }
326
+ return vars;
327
+ }
328
+ function createTigercatPlugin(options = {}) {
329
+ return (0, import_plugin.default)(function({ addBase }) {
330
+ const preset = options.preset;
331
+ const lightVars = preset?.light?.colors ? presetToVars(preset.light.colors) : tigercatTheme;
332
+ const darkVars = preset?.dark?.colors ? presetToVars(preset.dark.colors) : tigercatDarkTheme;
333
+ addBase({
334
+ ":root": { ...lightVars, ...MODERN_BASE_TOKENS_LIGHT },
335
+ ".dark": { ...darkVars, ...MODERN_BASE_TOKENS_DARK },
336
+ 'svg [tabindex], svg [role="button"]': {
337
+ outline: "none"
338
+ },
339
+ ...tigercatDirectionBase,
340
+ ...tigercatReducedMotionBase
341
+ });
342
+ if (options.modern) {
343
+ addBase({
344
+ '[data-tiger-style="modern"]': MODERN_OVERRIDE_TOKENS_LIGHT,
345
+ '.dark[data-tiger-style="modern"], [data-tiger-style="modern"].dark': MODERN_OVERRIDE_TOKENS_DARK
346
+ });
347
+ }
348
+ });
349
+ }
350
+
351
+ // src/tailwind-entry-modern.ts
352
+ var modernPlugin = createTigercatPlugin({ modern: true });
353
+ var tailwind_entry_modern_default = modernPlugin;
@@ -0,0 +1,6 @@
1
+ import { P as PluginWithConfig } from '../types-CJYAW1ql.d-DDBFn6KB.cjs';
2
+ import './resolve-config-QUZ9b-Gn.mjs';
3
+
4
+ declare const modernPlugin: PluginWithConfig;
5
+
6
+ export { modernPlugin as default };
@@ -0,0 +1,6 @@
1
+ import { P as PluginWithConfig } from '../types-CJYAW1ql.d-DDBFn6KB.js';
2
+ import './resolve-config-QUZ9b-Gn.mjs';
3
+
4
+ declare const modernPlugin: PluginWithConfig;
5
+
6
+ export { modernPlugin as default };