@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,218 @@
1
+ import { P as PluginWithConfig } from './types-CJYAW1ql.d-DDBFn6KB.cjs';
2
+
3
+ /**
4
+ * Theme configuration types for Tigercat Design System
5
+ *
6
+ * Three-level structure:
7
+ * - ThemeColorScale: primitive color palette (50–950 shades)
8
+ * - ThemeSemanticColors: semantic mappings (primary, surface, text, border, status)
9
+ * - ThemeConfig: full configuration (colors + typography + radius + shadows + spacing)
10
+ *
11
+ * @module types/theme
12
+ * @since 0.7.0
13
+ */
14
+ /**
15
+ * A 10-step color shade scale (Tailwind-compatible).
16
+ * Shade 900 is optional since tokens.json uses 950 only.
17
+ */
18
+ interface ThemeColorScale {
19
+ 50: string;
20
+ 100: string;
21
+ 200: string;
22
+ 300: string;
23
+ 400: string;
24
+ 500: string;
25
+ 600: string;
26
+ 700: string;
27
+ 800: string;
28
+ 900?: string;
29
+ 950: string;
30
+ }
31
+ /** Colors for a single interactive/status hue (light **and** dark) */
32
+ interface ThemeSemanticColors {
33
+ /** Core interactive colors */
34
+ primary: string;
35
+ primaryHover: string;
36
+ primaryActive: string;
37
+ primaryDisabled: string;
38
+ secondary: string;
39
+ secondaryHover: string;
40
+ secondaryActive: string;
41
+ secondaryDisabled: string;
42
+ /** Button-specific hover backgrounds */
43
+ outlineBgHover: string;
44
+ ghostBgHover: string;
45
+ /** Focus ring color */
46
+ focusRing: string;
47
+ /** Surface / background */
48
+ surface: string;
49
+ surfaceMuted: string;
50
+ surfaceRaised: string;
51
+ /** Text */
52
+ text: string;
53
+ textSecondary: string;
54
+ textDisabled: string;
55
+ /** Border */
56
+ border: string;
57
+ borderStrong: string;
58
+ /** Status (semantic) */
59
+ success: string;
60
+ warning: string;
61
+ error: string;
62
+ info: string;
63
+ /** Chart palette (6 colors) */
64
+ chart1: string;
65
+ chart2: string;
66
+ chart3: string;
67
+ chart4: string;
68
+ chart5: string;
69
+ chart6: string;
70
+ }
71
+ interface ThemeTypography {
72
+ fontFamily: string;
73
+ fontFamilyMono: string;
74
+ fontSizeBase: string;
75
+ fontSizeSm: string;
76
+ fontSizeLg: string;
77
+ fontWeightNormal: string;
78
+ fontWeightMedium: string;
79
+ fontWeightSemibold: string;
80
+ fontWeightBold: string;
81
+ lineHeightNormal: string;
82
+ lineHeightTight: string;
83
+ }
84
+ interface ThemeRadius {
85
+ none: string;
86
+ sm: string;
87
+ md: string;
88
+ lg: string;
89
+ xl: string;
90
+ full: string;
91
+ }
92
+ interface ThemeShadows {
93
+ xs: string;
94
+ sm: string;
95
+ md: string;
96
+ lg: string;
97
+ xl: string;
98
+ }
99
+ interface ThemeSpacing {
100
+ xs: string;
101
+ sm: string;
102
+ md: string;
103
+ lg: string;
104
+ xl: string;
105
+ }
106
+ interface ThemeMotion {
107
+ durationFast: string;
108
+ durationBase: string;
109
+ durationSlow: string;
110
+ easing: string;
111
+ }
112
+ /**
113
+ * Complete theme configuration.
114
+ * All sections are optional — missing values fall back to the default theme.
115
+ */
116
+ interface ThemeConfig {
117
+ colors?: Partial<ThemeSemanticColors>;
118
+ typography?: Partial<ThemeTypography>;
119
+ radius?: Partial<ThemeRadius>;
120
+ shadows?: Partial<ThemeShadows>;
121
+ spacing?: Partial<ThemeSpacing>;
122
+ motion?: Partial<ThemeMotion>;
123
+ }
124
+ /** Name of a built-in preset theme */
125
+ type ThemePresetName = 'default' | 'vibrant' | 'professional' | 'minimal' | 'natural' | 'modern' | 'high-contrast';
126
+ /**
127
+ * A fully defined preset theme.
128
+ * Both `light` and `dark` are required; they will be merged with defaults at runtime.
129
+ */
130
+ interface ThemePreset {
131
+ name: ThemePresetName | string;
132
+ label: string;
133
+ light: ThemeConfig;
134
+ dark: ThemeConfig;
135
+ }
136
+ /** Controls which colour scheme the ThemeManager applies */
137
+ type ColorScheme = 'light' | 'dark' | 'auto';
138
+
139
+ /**
140
+ * Default theme colors for Tigercat
141
+ */
142
+ declare const tigercatTheme: {
143
+ '--tiger-primary': string;
144
+ '--tiger-primary-hover': string;
145
+ '--tiger-primary-active': string;
146
+ '--tiger-primary-disabled': string;
147
+ '--tiger-secondary': string;
148
+ '--tiger-secondary-hover': string;
149
+ '--tiger-secondary-active': string;
150
+ '--tiger-secondary-disabled': string;
151
+ '--tiger-outline-bg-hover': string;
152
+ '--tiger-ghost-bg-hover': string;
153
+ '--tiger-focus-ring': string;
154
+ '--tiger-surface': string;
155
+ '--tiger-surface-muted': string;
156
+ '--tiger-surface-raised': string;
157
+ '--tiger-text': string;
158
+ '--tiger-text-secondary': string;
159
+ '--tiger-text-disabled': string;
160
+ '--tiger-border': string;
161
+ '--tiger-border-strong': string;
162
+ '--tiger-success': string;
163
+ '--tiger-warning': string;
164
+ '--tiger-error': string;
165
+ '--tiger-info': string;
166
+ '--tiger-chart-1': string;
167
+ '--tiger-chart-2': string;
168
+ '--tiger-chart-3': string;
169
+ '--tiger-chart-4': string;
170
+ '--tiger-chart-5': string;
171
+ '--tiger-chart-6': string;
172
+ };
173
+ /**
174
+ * Dark mode theme overrides
175
+ */
176
+ declare const tigercatDarkTheme: Record<string, string>;
177
+ /**
178
+ * Tailwind CSS plugin for Tigercat
179
+ * Injects the default CSS variables into the root scope
180
+ */
181
+ declare const tigercatPlugin: PluginWithConfig;
182
+ interface TigercatPluginOptions {
183
+ /** A ThemePreset object to use instead of the built-in default */
184
+ preset?: ThemePreset;
185
+ /**
186
+ * Enable the opt-in "modern" token layer.
187
+ *
188
+ * When `true`, the plugin emits `[data-tiger-style="modern"]` (and the
189
+ * dark counterpart) blocks that override radius / shadow / glass /
190
+ * gradient / motion tokens with the modern values, plus a
191
+ * `prefers-reduced-motion` rule that collapses motion durations.
192
+ *
193
+ * Activate it on a page by setting `data-tiger-style="modern"` on `<html>`
194
+ * or any ancestor element of your Tigercat tree.
195
+ *
196
+ * @default false
197
+ */
198
+ modern?: boolean;
199
+ }
200
+ /**
201
+ * Configurable Tailwind CSS plugin for Tigercat.
202
+ *
203
+ * @example
204
+ * ```ts
205
+ * import { createTigercatPlugin, vibrantTheme, modernTheme } from '@expcat/tigercat-core'
206
+ *
207
+ * export default {
208
+ * plugins: [
209
+ * createTigercatPlugin({ preset: vibrantTheme }),
210
+ * // or enable the modern visual style:
211
+ * createTigercatPlugin({ preset: modernTheme, modern: true })
212
+ * ]
213
+ * }
214
+ * ```
215
+ */
216
+ declare function createTigercatPlugin(options?: TigercatPluginOptions): PluginWithConfig;
217
+
218
+ export { type ColorScheme as C, type ThemePreset as T, type ThemeColorScale as a, type ThemeSemanticColors as b, type ThemeTypography as c, type ThemeRadius as d, type ThemeShadows as e, type ThemeSpacing as f, type ThemeMotion as g, type ThemeConfig as h, type ThemePresetName as i, tigercatDarkTheme as j, tigercatPlugin as k, type TigercatPluginOptions as l, createTigercatPlugin as m, tigercatTheme as t };
@@ -0,0 +1,206 @@
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.ts
31
+ var tailwind_entry_exports = {};
32
+ __export(tailwind_entry_exports, {
33
+ default: () => tigercatPlugin
34
+ });
35
+ module.exports = __toCommonJS(tailwind_entry_exports);
36
+
37
+ // src/tailwind-plugin.ts
38
+ var import_plugin = __toESM(require("tailwindcss/plugin"), 1);
39
+
40
+ // src/themes/modern/tokens.ts
41
+ var MODERN_BASE_TOKENS_LIGHT = {
42
+ // Radius (matches existing rounded-md/lg/xl)
43
+ "--tiger-radius-sm": "0.375rem",
44
+ "--tiger-radius-md": "0.5rem",
45
+ "--tiger-radius-lg": "0.75rem",
46
+ "--tiger-radius-xl": "1rem",
47
+ "--tiger-radius-pill": "9999px",
48
+ // Shadows (Tailwind defaults)
49
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
50
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
51
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
52
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
53
+ // Glass — disabled by default (no backdrop blur, no inset highlights)
54
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
55
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
56
+ "--tiger-blur-glass": "0px",
57
+ "--tiger-blur-glass-strong": "0px",
58
+ // Gradients — fall back to solid color via a no-op linear-gradient
59
+ "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
60
+ "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
61
+ "--tiger-gradient-danger": "linear-gradient(180deg, var(--tiger-error), var(--tiger-error))",
62
+ // Motion — current durations / easings
63
+ "--tiger-motion-duration-instant": "80ms",
64
+ "--tiger-motion-duration-quick": "150ms",
65
+ "--tiger-motion-duration-base": "200ms",
66
+ "--tiger-motion-duration-relaxed": "300ms",
67
+ "--tiger-motion-duration-slow": "450ms",
68
+ "--tiger-motion-ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
69
+ "--tiger-motion-ease-decelerate": "cubic-bezier(0, 0, 0.2, 1)",
70
+ "--tiger-motion-ease-accelerate": "cubic-bezier(0.4, 0, 1, 1)",
71
+ "--tiger-motion-ease-emphasized": "cubic-bezier(0.4, 0, 0.2, 1)",
72
+ "--tiger-motion-ease-spring": "cubic-bezier(0.4, 0, 0.2, 1)",
73
+ "--tiger-transition-base": "all 200ms cubic-bezier(0.4, 0, 0.2, 1)",
74
+ "--tiger-transition-quick": "all 150ms cubic-bezier(0.4, 0, 0.2, 1)",
75
+ "--tiger-transition-emphasized": "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
76
+ };
77
+ var MODERN_BASE_TOKENS_DARK = {
78
+ // Shadows tinted slightly to handle dark backgrounds
79
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
80
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.25)",
81
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
82
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
83
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
84
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
85
+ };
86
+ var MODERN_REDUCED_MOTION_TOKENS = {
87
+ "--tiger-motion-duration-instant": "0ms",
88
+ "--tiger-motion-duration-quick": "0ms",
89
+ "--tiger-motion-duration-base": "0ms",
90
+ "--tiger-motion-duration-relaxed": "0ms",
91
+ "--tiger-motion-duration-slow": "0ms",
92
+ "--tiger-transition-base": "all 0ms linear",
93
+ "--tiger-transition-quick": "all 0ms linear",
94
+ "--tiger-transition-emphasized": "transform 0ms linear"
95
+ };
96
+
97
+ // src/tailwind-plugin.ts
98
+ var tigercatTheme = {
99
+ // Primary
100
+ "--tiger-primary": "#2563eb",
101
+ "--tiger-primary-hover": "#1d4ed8",
102
+ "--tiger-primary-active": "#1e40af",
103
+ "--tiger-primary-disabled": "#93c5fd",
104
+ // Secondary
105
+ "--tiger-secondary": "#4b5563",
106
+ "--tiger-secondary-hover": "#374151",
107
+ "--tiger-secondary-active": "#1f2937",
108
+ "--tiger-secondary-disabled": "#9ca3af",
109
+ // Background hover states
110
+ "--tiger-outline-bg-hover": "#eff6ff",
111
+ "--tiger-ghost-bg-hover": "#eff6ff",
112
+ // Interaction
113
+ "--tiger-focus-ring": "#2563eb",
114
+ // Surface & background
115
+ "--tiger-surface": "#ffffff",
116
+ "--tiger-surface-muted": "#f9fafb",
117
+ "--tiger-surface-raised": "#ffffff",
118
+ // Text
119
+ "--tiger-text": "#111827",
120
+ "--tiger-text-secondary": "#6b7280",
121
+ "--tiger-text-disabled": "#d1d5db",
122
+ // Border
123
+ "--tiger-border": "#e5e7eb",
124
+ "--tiger-border-strong": "#9ca3af",
125
+ // Status
126
+ "--tiger-success": "#16a34a",
127
+ "--tiger-warning": "#d97706",
128
+ "--tiger-error": "#dc2626",
129
+ "--tiger-info": "#3b82f6",
130
+ // Chart palette
131
+ "--tiger-chart-1": "#2563eb",
132
+ "--tiger-chart-2": "#16a34a",
133
+ "--tiger-chart-3": "#d97706",
134
+ "--tiger-chart-4": "#a855f7",
135
+ "--tiger-chart-5": "#0ea5e9",
136
+ "--tiger-chart-6": "#ef4444"
137
+ };
138
+ var tigercatDarkTheme = {
139
+ "--tiger-primary": "#60a5fa",
140
+ "--tiger-primary-hover": "#93c5fd",
141
+ "--tiger-primary-active": "#bfdbfe",
142
+ "--tiger-primary-disabled": "#1e40af",
143
+ "--tiger-secondary": "#9ca3af",
144
+ "--tiger-secondary-hover": "#d1d5db",
145
+ "--tiger-secondary-active": "#e5e7eb",
146
+ "--tiger-secondary-disabled": "#4b5563",
147
+ "--tiger-outline-bg-hover": "#1e3a5f",
148
+ "--tiger-ghost-bg-hover": "#1e3a5f",
149
+ "--tiger-focus-ring": "#60a5fa",
150
+ "--tiger-surface": "#111827",
151
+ "--tiger-surface-muted": "#1f2937",
152
+ "--tiger-surface-raised": "#1f2937",
153
+ "--tiger-text": "#f9fafb",
154
+ "--tiger-text-secondary": "#d1d5db",
155
+ "--tiger-text-disabled": "#4b5563",
156
+ "--tiger-border": "#374151",
157
+ "--tiger-border-strong": "#6b7280",
158
+ "--tiger-success": "#4ade80",
159
+ "--tiger-warning": "#fbbf24",
160
+ "--tiger-error": "#f87171",
161
+ "--tiger-info": "#60a5fa",
162
+ "--tiger-chart-1": "#60a5fa",
163
+ "--tiger-chart-2": "#4ade80",
164
+ "--tiger-chart-3": "#fbbf24",
165
+ "--tiger-chart-4": "#c084fc",
166
+ "--tiger-chart-5": "#38bdf8",
167
+ "--tiger-chart-6": "#f87171"
168
+ };
169
+ var tigercatDirectionBase = {
170
+ '[dir="rtl"] .tiger-rtl-mirror, [data-tiger-dir="rtl"] .tiger-rtl-mirror': {
171
+ transform: "scaleX(-1)"
172
+ },
173
+ '[dir="rtl"] .tiger-text-start, [data-tiger-dir="rtl"] .tiger-text-start': {
174
+ textAlign: "right"
175
+ },
176
+ '[dir="rtl"] .tiger-text-end, [data-tiger-dir="rtl"] .tiger-text-end': {
177
+ textAlign: "left"
178
+ },
179
+ '[dir="rtl"] .tiger-flex-row, [data-tiger-dir="rtl"] .tiger-flex-row': {
180
+ flexDirection: "row-reverse"
181
+ }
182
+ };
183
+ var tigercatReducedMotionBase = {
184
+ "@media (prefers-reduced-motion: reduce)": {
185
+ ':root, [data-tiger-style="modern"]': MODERN_REDUCED_MOTION_TOKENS,
186
+ ".tiger-motion-aware, .tiger-motion-aware::before, .tiger-motion-aware::after, [data-tiger-motion]": {
187
+ animationDuration: "0ms",
188
+ animationDelay: "0ms",
189
+ transitionDuration: "0ms",
190
+ transitionDelay: "0ms",
191
+ scrollBehavior: "auto"
192
+ }
193
+ }
194
+ };
195
+ var tigercatPlugin = (0, import_plugin.default)(function({ addBase }) {
196
+ addBase({
197
+ ":root": { ...tigercatTheme, ...MODERN_BASE_TOKENS_LIGHT },
198
+ ".dark": { ...tigercatDarkTheme, ...MODERN_BASE_TOKENS_DARK },
199
+ // Remove browser default focus outline on interactive SVG elements
200
+ 'svg [tabindex], svg [role="button"]': {
201
+ outline: "none"
202
+ },
203
+ ...tigercatDirectionBase,
204
+ ...tigercatReducedMotionBase
205
+ });
206
+ });
@@ -0,0 +1,3 @@
1
+ export { k as default } from './tailwind-entry-DUchHtjs.cjs';
2
+ import './types-CJYAW1ql.d-DDBFn6KB.cjs';
3
+ import './resolve-config-QUZ9b-Gn.mjs';
@@ -0,0 +1,3 @@
1
+ export { k as default } from './tailwind-entry-D4_sseNi.js';
2
+ import './types-CJYAW1ql.d-DDBFn6KB.js';
3
+ import './resolve-config-QUZ9b-Gn.mjs';
@@ -0,0 +1,173 @@
1
+ // src/tailwind-plugin.ts
2
+ import plugin from "tailwindcss/plugin";
3
+
4
+ // src/themes/modern/tokens.ts
5
+ var MODERN_BASE_TOKENS_LIGHT = {
6
+ // Radius (matches existing rounded-md/lg/xl)
7
+ "--tiger-radius-sm": "0.375rem",
8
+ "--tiger-radius-md": "0.5rem",
9
+ "--tiger-radius-lg": "0.75rem",
10
+ "--tiger-radius-xl": "1rem",
11
+ "--tiger-radius-pill": "9999px",
12
+ // Shadows (Tailwind defaults)
13
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
14
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
15
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
16
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
17
+ // Glass — disabled by default (no backdrop blur, no inset highlights)
18
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
19
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
20
+ "--tiger-blur-glass": "0px",
21
+ "--tiger-blur-glass-strong": "0px",
22
+ // Gradients — fall back to solid color via a no-op linear-gradient
23
+ "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
24
+ "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
25
+ "--tiger-gradient-danger": "linear-gradient(180deg, var(--tiger-error), var(--tiger-error))",
26
+ // Motion — current durations / easings
27
+ "--tiger-motion-duration-instant": "80ms",
28
+ "--tiger-motion-duration-quick": "150ms",
29
+ "--tiger-motion-duration-base": "200ms",
30
+ "--tiger-motion-duration-relaxed": "300ms",
31
+ "--tiger-motion-duration-slow": "450ms",
32
+ "--tiger-motion-ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
33
+ "--tiger-motion-ease-decelerate": "cubic-bezier(0, 0, 0.2, 1)",
34
+ "--tiger-motion-ease-accelerate": "cubic-bezier(0.4, 0, 1, 1)",
35
+ "--tiger-motion-ease-emphasized": "cubic-bezier(0.4, 0, 0.2, 1)",
36
+ "--tiger-motion-ease-spring": "cubic-bezier(0.4, 0, 0.2, 1)",
37
+ "--tiger-transition-base": "all 200ms cubic-bezier(0.4, 0, 0.2, 1)",
38
+ "--tiger-transition-quick": "all 150ms cubic-bezier(0.4, 0, 0.2, 1)",
39
+ "--tiger-transition-emphasized": "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
40
+ };
41
+ var MODERN_BASE_TOKENS_DARK = {
42
+ // Shadows tinted slightly to handle dark backgrounds
43
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
44
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.25)",
45
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
46
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
47
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
48
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
49
+ };
50
+ var MODERN_REDUCED_MOTION_TOKENS = {
51
+ "--tiger-motion-duration-instant": "0ms",
52
+ "--tiger-motion-duration-quick": "0ms",
53
+ "--tiger-motion-duration-base": "0ms",
54
+ "--tiger-motion-duration-relaxed": "0ms",
55
+ "--tiger-motion-duration-slow": "0ms",
56
+ "--tiger-transition-base": "all 0ms linear",
57
+ "--tiger-transition-quick": "all 0ms linear",
58
+ "--tiger-transition-emphasized": "transform 0ms linear"
59
+ };
60
+
61
+ // src/tailwind-plugin.ts
62
+ var tigercatTheme = {
63
+ // Primary
64
+ "--tiger-primary": "#2563eb",
65
+ "--tiger-primary-hover": "#1d4ed8",
66
+ "--tiger-primary-active": "#1e40af",
67
+ "--tiger-primary-disabled": "#93c5fd",
68
+ // Secondary
69
+ "--tiger-secondary": "#4b5563",
70
+ "--tiger-secondary-hover": "#374151",
71
+ "--tiger-secondary-active": "#1f2937",
72
+ "--tiger-secondary-disabled": "#9ca3af",
73
+ // Background hover states
74
+ "--tiger-outline-bg-hover": "#eff6ff",
75
+ "--tiger-ghost-bg-hover": "#eff6ff",
76
+ // Interaction
77
+ "--tiger-focus-ring": "#2563eb",
78
+ // Surface & background
79
+ "--tiger-surface": "#ffffff",
80
+ "--tiger-surface-muted": "#f9fafb",
81
+ "--tiger-surface-raised": "#ffffff",
82
+ // Text
83
+ "--tiger-text": "#111827",
84
+ "--tiger-text-secondary": "#6b7280",
85
+ "--tiger-text-disabled": "#d1d5db",
86
+ // Border
87
+ "--tiger-border": "#e5e7eb",
88
+ "--tiger-border-strong": "#9ca3af",
89
+ // Status
90
+ "--tiger-success": "#16a34a",
91
+ "--tiger-warning": "#d97706",
92
+ "--tiger-error": "#dc2626",
93
+ "--tiger-info": "#3b82f6",
94
+ // Chart palette
95
+ "--tiger-chart-1": "#2563eb",
96
+ "--tiger-chart-2": "#16a34a",
97
+ "--tiger-chart-3": "#d97706",
98
+ "--tiger-chart-4": "#a855f7",
99
+ "--tiger-chart-5": "#0ea5e9",
100
+ "--tiger-chart-6": "#ef4444"
101
+ };
102
+ var tigercatDarkTheme = {
103
+ "--tiger-primary": "#60a5fa",
104
+ "--tiger-primary-hover": "#93c5fd",
105
+ "--tiger-primary-active": "#bfdbfe",
106
+ "--tiger-primary-disabled": "#1e40af",
107
+ "--tiger-secondary": "#9ca3af",
108
+ "--tiger-secondary-hover": "#d1d5db",
109
+ "--tiger-secondary-active": "#e5e7eb",
110
+ "--tiger-secondary-disabled": "#4b5563",
111
+ "--tiger-outline-bg-hover": "#1e3a5f",
112
+ "--tiger-ghost-bg-hover": "#1e3a5f",
113
+ "--tiger-focus-ring": "#60a5fa",
114
+ "--tiger-surface": "#111827",
115
+ "--tiger-surface-muted": "#1f2937",
116
+ "--tiger-surface-raised": "#1f2937",
117
+ "--tiger-text": "#f9fafb",
118
+ "--tiger-text-secondary": "#d1d5db",
119
+ "--tiger-text-disabled": "#4b5563",
120
+ "--tiger-border": "#374151",
121
+ "--tiger-border-strong": "#6b7280",
122
+ "--tiger-success": "#4ade80",
123
+ "--tiger-warning": "#fbbf24",
124
+ "--tiger-error": "#f87171",
125
+ "--tiger-info": "#60a5fa",
126
+ "--tiger-chart-1": "#60a5fa",
127
+ "--tiger-chart-2": "#4ade80",
128
+ "--tiger-chart-3": "#fbbf24",
129
+ "--tiger-chart-4": "#c084fc",
130
+ "--tiger-chart-5": "#38bdf8",
131
+ "--tiger-chart-6": "#f87171"
132
+ };
133
+ var tigercatDirectionBase = {
134
+ '[dir="rtl"] .tiger-rtl-mirror, [data-tiger-dir="rtl"] .tiger-rtl-mirror': {
135
+ transform: "scaleX(-1)"
136
+ },
137
+ '[dir="rtl"] .tiger-text-start, [data-tiger-dir="rtl"] .tiger-text-start': {
138
+ textAlign: "right"
139
+ },
140
+ '[dir="rtl"] .tiger-text-end, [data-tiger-dir="rtl"] .tiger-text-end': {
141
+ textAlign: "left"
142
+ },
143
+ '[dir="rtl"] .tiger-flex-row, [data-tiger-dir="rtl"] .tiger-flex-row': {
144
+ flexDirection: "row-reverse"
145
+ }
146
+ };
147
+ var tigercatReducedMotionBase = {
148
+ "@media (prefers-reduced-motion: reduce)": {
149
+ ':root, [data-tiger-style="modern"]': MODERN_REDUCED_MOTION_TOKENS,
150
+ ".tiger-motion-aware, .tiger-motion-aware::before, .tiger-motion-aware::after, [data-tiger-motion]": {
151
+ animationDuration: "0ms",
152
+ animationDelay: "0ms",
153
+ transitionDuration: "0ms",
154
+ transitionDelay: "0ms",
155
+ scrollBehavior: "auto"
156
+ }
157
+ }
158
+ };
159
+ var tigercatPlugin = plugin(function({ addBase }) {
160
+ addBase({
161
+ ":root": { ...tigercatTheme, ...MODERN_BASE_TOKENS_LIGHT },
162
+ ".dark": { ...tigercatDarkTheme, ...MODERN_BASE_TOKENS_DARK },
163
+ // Remove browser default focus outline on interactive SVG elements
164
+ 'svg [tabindex], svg [role="button"]': {
165
+ outline: "none"
166
+ },
167
+ ...tigercatDirectionBase,
168
+ ...tigercatReducedMotionBase
169
+ });
170
+ });
171
+ export {
172
+ tigercatPlugin as default
173
+ };