@expcat/tigercat-core 1.0.4 → 1.1.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 (107) hide show
  1. package/dist/datepicker-DXzS_8l8.d.cts +130 -0
  2. package/dist/datepicker-DXzS_8l8.d.ts +130 -0
  3. package/dist/datepicker-locales/en-US.cjs +23 -0
  4. package/dist/datepicker-locales/en-US.d.cts +6 -0
  5. package/dist/datepicker-locales/en-US.d.ts +6 -0
  6. package/dist/datepicker-locales/en-US.js +17 -0
  7. package/dist/datepicker-locales/id-ID.cjs +23 -0
  8. package/dist/datepicker-locales/id-ID.d.cts +6 -0
  9. package/dist/datepicker-locales/id-ID.d.ts +6 -0
  10. package/dist/datepicker-locales/id-ID.js +17 -0
  11. package/dist/datepicker-locales/ja-JP.cjs +23 -0
  12. package/dist/datepicker-locales/ja-JP.d.cts +6 -0
  13. package/dist/datepicker-locales/ja-JP.d.ts +6 -0
  14. package/dist/datepicker-locales/ja-JP.js +17 -0
  15. package/dist/datepicker-locales/ko-KR.cjs +23 -0
  16. package/dist/datepicker-locales/ko-KR.d.cts +6 -0
  17. package/dist/datepicker-locales/ko-KR.d.ts +6 -0
  18. package/dist/datepicker-locales/ko-KR.js +17 -0
  19. package/dist/datepicker-locales/th-TH.cjs +23 -0
  20. package/dist/datepicker-locales/th-TH.d.cts +6 -0
  21. package/dist/datepicker-locales/th-TH.d.ts +6 -0
  22. package/dist/datepicker-locales/th-TH.js +17 -0
  23. package/dist/datepicker-locales/vi-VN.cjs +23 -0
  24. package/dist/datepicker-locales/vi-VN.d.cts +6 -0
  25. package/dist/datepicker-locales/vi-VN.d.ts +6 -0
  26. package/dist/datepicker-locales/vi-VN.js +17 -0
  27. package/dist/datepicker-locales/zh-CN.cjs +23 -0
  28. package/dist/datepicker-locales/zh-CN.d.cts +6 -0
  29. package/dist/datepicker-locales/zh-CN.d.ts +6 -0
  30. package/dist/datepicker-locales/zh-CN.js +17 -0
  31. package/dist/datepicker-locales/zh-TW.cjs +23 -0
  32. package/dist/datepicker-locales/zh-TW.d.cts +6 -0
  33. package/dist/datepicker-locales/zh-TW.d.ts +6 -0
  34. package/dist/datepicker-locales/zh-TW.js +17 -0
  35. package/dist/icons/common.cjs +22 -0
  36. package/dist/icons/common.d.cts +20 -0
  37. package/dist/icons/common.d.ts +20 -0
  38. package/dist/icons/common.js +12 -0
  39. package/dist/icons/picker.cjs +36 -0
  40. package/dist/icons/picker.d.cts +53 -0
  41. package/dist/icons/picker.d.ts +53 -0
  42. package/dist/icons/picker.js +19 -0
  43. package/dist/icons/status.cjs +19 -0
  44. package/dist/icons/status.d.cts +13 -0
  45. package/dist/icons/status.d.ts +13 -0
  46. package/dist/icons/status.js +13 -0
  47. package/dist/icons/table.cjs +18 -0
  48. package/dist/icons/table.d.cts +25 -0
  49. package/dist/icons/table.d.ts +25 -0
  50. package/dist/icons/table.js +10 -0
  51. package/dist/index.cjs +4766 -3587
  52. package/dist/index.d.cts +1953 -1229
  53. package/dist/index.d.ts +1953 -1229
  54. package/dist/index.js +3234 -2211
  55. package/dist/locale-CEmE5uq-.d.cts +92 -0
  56. package/dist/locale-m1sF4KRO.d.ts +92 -0
  57. package/dist/locales/en-US.cjs +43 -0
  58. package/dist/locales/en-US.d.cts +10 -0
  59. package/dist/locales/en-US.d.ts +10 -0
  60. package/dist/locales/en-US.js +41 -0
  61. package/dist/locales/id-ID.cjs +43 -0
  62. package/dist/locales/id-ID.d.cts +10 -0
  63. package/dist/locales/id-ID.d.ts +10 -0
  64. package/dist/locales/id-ID.js +41 -0
  65. package/dist/locales/ja-JP.cjs +43 -0
  66. package/dist/locales/ja-JP.d.cts +10 -0
  67. package/dist/locales/ja-JP.d.ts +10 -0
  68. package/dist/locales/ja-JP.js +41 -0
  69. package/dist/locales/ko-KR.cjs +43 -0
  70. package/dist/locales/ko-KR.d.cts +10 -0
  71. package/dist/locales/ko-KR.d.ts +10 -0
  72. package/dist/locales/ko-KR.js +41 -0
  73. package/dist/locales/th-TH.cjs +43 -0
  74. package/dist/locales/th-TH.d.cts +10 -0
  75. package/dist/locales/th-TH.d.ts +10 -0
  76. package/dist/locales/th-TH.js +41 -0
  77. package/dist/locales/vi-VN.cjs +43 -0
  78. package/dist/locales/vi-VN.d.cts +10 -0
  79. package/dist/locales/vi-VN.d.ts +10 -0
  80. package/dist/locales/vi-VN.js +41 -0
  81. package/dist/locales/zh-CN.cjs +43 -0
  82. package/dist/locales/zh-CN.d.cts +10 -0
  83. package/dist/locales/zh-CN.d.ts +10 -0
  84. package/dist/locales/zh-CN.js +41 -0
  85. package/dist/locales/zh-TW.cjs +43 -0
  86. package/dist/locales/zh-TW.d.cts +10 -0
  87. package/dist/locales/zh-TW.d.ts +10 -0
  88. package/dist/locales/zh-TW.js +41 -0
  89. package/dist/table-export-Cy9DgTiO.d.cts +458 -0
  90. package/dist/table-export-Cy9DgTiO.d.ts +458 -0
  91. package/dist/tailwind/modern.cjs +290 -0
  92. package/dist/tailwind/modern.d.cts +6 -0
  93. package/dist/tailwind/modern.d.ts +6 -0
  94. package/dist/tailwind/modern.js +284 -0
  95. package/dist/tailwind-entry-2KPvkOin.d.ts +218 -0
  96. package/dist/tailwind-entry-CUaMC8Ma.d.cts +218 -0
  97. package/dist/tailwind.cjs +141 -0
  98. package/dist/tailwind.d.cts +3 -0
  99. package/dist/tailwind.d.ts +3 -0
  100. package/dist/tailwind.js +135 -0
  101. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +126 -0
  102. package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +126 -0
  103. package/dist/utils/table-export.cjs +38 -0
  104. package/dist/utils/table-export.d.cts +1 -0
  105. package/dist/utils/table-export.d.ts +1 -0
  106. package/dist/utils/table-export.js +34 -0
  107. package/package.json +131 -7
@@ -0,0 +1,218 @@
1
+ import { P as PluginWithConfig } from './types-CJYAW1ql.d-DDBFn6KB.js';
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';
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,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';
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,141 @@
1
+ 'use strict';
2
+
3
+ var plugin = require('tailwindcss/plugin');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var plugin__default = /*#__PURE__*/_interopDefault(plugin);
8
+
9
+ // src/tailwind-plugin.ts
10
+
11
+ // src/themes/modern/tokens.ts
12
+ var MODERN_BASE_TOKENS_LIGHT = {
13
+ // Radius (matches existing rounded-md/lg/xl)
14
+ "--tiger-radius-sm": "0.375rem",
15
+ "--tiger-radius-md": "0.5rem",
16
+ "--tiger-radius-lg": "0.75rem",
17
+ "--tiger-radius-xl": "1rem",
18
+ "--tiger-radius-pill": "9999px",
19
+ // Shadows (Tailwind defaults)
20
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
21
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
22
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
23
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
24
+ // Glass — disabled by default (no backdrop blur, no inset highlights)
25
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
26
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
27
+ "--tiger-blur-glass": "0px",
28
+ "--tiger-blur-glass-strong": "0px",
29
+ // Gradients — fall back to solid color via a no-op linear-gradient
30
+ "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
31
+ "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
32
+ "--tiger-gradient-danger": "linear-gradient(180deg, var(--tiger-error), var(--tiger-error))",
33
+ // Motion — current durations / easings
34
+ "--tiger-motion-duration-instant": "80ms",
35
+ "--tiger-motion-duration-quick": "150ms",
36
+ "--tiger-motion-duration-base": "200ms",
37
+ "--tiger-motion-duration-relaxed": "300ms",
38
+ "--tiger-motion-duration-slow": "450ms",
39
+ "--tiger-motion-ease-standard": "cubic-bezier(0.4, 0, 0.2, 1)",
40
+ "--tiger-motion-ease-decelerate": "cubic-bezier(0, 0, 0.2, 1)",
41
+ "--tiger-motion-ease-accelerate": "cubic-bezier(0.4, 0, 1, 1)",
42
+ "--tiger-motion-ease-emphasized": "cubic-bezier(0.4, 0, 0.2, 1)",
43
+ "--tiger-motion-ease-spring": "cubic-bezier(0.4, 0, 0.2, 1)",
44
+ "--tiger-transition-base": "all 200ms cubic-bezier(0.4, 0, 0.2, 1)",
45
+ "--tiger-transition-quick": "all 150ms cubic-bezier(0.4, 0, 0.2, 1)",
46
+ "--tiger-transition-emphasized": "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
47
+ };
48
+ var MODERN_BASE_TOKENS_DARK = {
49
+ // Shadows tinted slightly to handle dark backgrounds
50
+ "--tiger-shadow-sm": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
51
+ "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.25)",
52
+ "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
53
+ "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
54
+ "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
55
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
56
+ };
57
+
58
+ // src/tailwind-plugin.ts
59
+ var tigercatTheme = {
60
+ // Primary
61
+ "--tiger-primary": "#2563eb",
62
+ "--tiger-primary-hover": "#1d4ed8",
63
+ "--tiger-primary-active": "#1e40af",
64
+ "--tiger-primary-disabled": "#93c5fd",
65
+ // Secondary
66
+ "--tiger-secondary": "#4b5563",
67
+ "--tiger-secondary-hover": "#374151",
68
+ "--tiger-secondary-active": "#1f2937",
69
+ "--tiger-secondary-disabled": "#9ca3af",
70
+ // Background hover states
71
+ "--tiger-outline-bg-hover": "#eff6ff",
72
+ "--tiger-ghost-bg-hover": "#eff6ff",
73
+ // Interaction
74
+ "--tiger-focus-ring": "#2563eb",
75
+ // Surface & background
76
+ "--tiger-surface": "#ffffff",
77
+ "--tiger-surface-muted": "#f9fafb",
78
+ "--tiger-surface-raised": "#ffffff",
79
+ // Text
80
+ "--tiger-text": "#111827",
81
+ "--tiger-text-secondary": "#6b7280",
82
+ "--tiger-text-disabled": "#d1d5db",
83
+ // Border
84
+ "--tiger-border": "#e5e7eb",
85
+ "--tiger-border-strong": "#9ca3af",
86
+ // Status
87
+ "--tiger-success": "#16a34a",
88
+ "--tiger-warning": "#d97706",
89
+ "--tiger-error": "#dc2626",
90
+ "--tiger-info": "#3b82f6",
91
+ // Chart palette
92
+ "--tiger-chart-1": "#2563eb",
93
+ "--tiger-chart-2": "#16a34a",
94
+ "--tiger-chart-3": "#d97706",
95
+ "--tiger-chart-4": "#a855f7",
96
+ "--tiger-chart-5": "#0ea5e9",
97
+ "--tiger-chart-6": "#ef4444"
98
+ };
99
+ var tigercatDarkTheme = {
100
+ "--tiger-primary": "#60a5fa",
101
+ "--tiger-primary-hover": "#93c5fd",
102
+ "--tiger-primary-active": "#bfdbfe",
103
+ "--tiger-primary-disabled": "#1e40af",
104
+ "--tiger-secondary": "#9ca3af",
105
+ "--tiger-secondary-hover": "#d1d5db",
106
+ "--tiger-secondary-active": "#e5e7eb",
107
+ "--tiger-secondary-disabled": "#4b5563",
108
+ "--tiger-outline-bg-hover": "#1e3a5f",
109
+ "--tiger-ghost-bg-hover": "#1e3a5f",
110
+ "--tiger-focus-ring": "#60a5fa",
111
+ "--tiger-surface": "#111827",
112
+ "--tiger-surface-muted": "#1f2937",
113
+ "--tiger-surface-raised": "#1f2937",
114
+ "--tiger-text": "#f9fafb",
115
+ "--tiger-text-secondary": "#d1d5db",
116
+ "--tiger-text-disabled": "#4b5563",
117
+ "--tiger-border": "#374151",
118
+ "--tiger-border-strong": "#6b7280",
119
+ "--tiger-success": "#4ade80",
120
+ "--tiger-warning": "#fbbf24",
121
+ "--tiger-error": "#f87171",
122
+ "--tiger-info": "#60a5fa",
123
+ "--tiger-chart-1": "#60a5fa",
124
+ "--tiger-chart-2": "#4ade80",
125
+ "--tiger-chart-3": "#fbbf24",
126
+ "--tiger-chart-4": "#c084fc",
127
+ "--tiger-chart-5": "#38bdf8",
128
+ "--tiger-chart-6": "#f87171"
129
+ };
130
+ var tigercatPlugin = plugin__default.default(function({ addBase }) {
131
+ addBase({
132
+ ":root": { ...tigercatTheme, ...MODERN_BASE_TOKENS_LIGHT },
133
+ ".dark": { ...tigercatDarkTheme, ...MODERN_BASE_TOKENS_DARK },
134
+ // Remove browser default focus outline on interactive SVG elements
135
+ 'svg [tabindex], svg [role="button"]': {
136
+ outline: "none"
137
+ }
138
+ });
139
+ });
140
+
141
+ module.exports = tigercatPlugin;
@@ -0,0 +1,3 @@
1
+ export { k as default } from './tailwind-entry-CUaMC8Ma.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-2KPvkOin.js';
2
+ import './types-CJYAW1ql.d-DDBFn6KB.js';
3
+ import './resolve-config-QUZ9b-Gn.mjs';