@expcat/tigercat-core 2.1.2 → 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.
- package/dist/{data-export-CLWdsrRn.d.ts → data-export-D01yjggE.d.ts} +18 -7
- package/dist/datepicker-locales/ar-SA.d.ts +2 -1
- package/dist/datepicker-locales/ar-SA.js +8 -1
- package/dist/datepicker-locales/de-DE.d.ts +2 -1
- package/dist/datepicker-locales/de-DE.js +8 -1
- package/dist/datepicker-locales/en-US.d.ts +2 -1
- package/dist/datepicker-locales/en-US.js +3 -1
- package/dist/datepicker-locales/es-ES.d.ts +2 -1
- package/dist/datepicker-locales/es-ES.js +8 -1
- package/dist/datepicker-locales/fr-FR.d.ts +2 -1
- package/dist/datepicker-locales/fr-FR.js +8 -1
- package/dist/datepicker-locales/id-ID.d.ts +2 -1
- package/dist/datepicker-locales/id-ID.js +8 -1
- package/dist/datepicker-locales/ja-JP.d.ts +2 -1
- package/dist/datepicker-locales/ja-JP.js +8 -1
- package/dist/datepicker-locales/ko-KR.d.ts +2 -1
- package/dist/datepicker-locales/ko-KR.js +8 -1
- package/dist/datepicker-locales/pt-BR.d.ts +2 -1
- package/dist/datepicker-locales/pt-BR.js +8 -1
- package/dist/datepicker-locales/registry.d.ts +2 -1
- package/dist/datepicker-locales/registry.js +94 -13
- package/dist/datepicker-locales/th-TH.d.ts +2 -1
- package/dist/datepicker-locales/th-TH.js +8 -1
- package/dist/datepicker-locales/vi-VN.d.ts +2 -1
- package/dist/datepicker-locales/vi-VN.js +8 -1
- package/dist/datepicker-locales/zh-CN.d.ts +2 -1
- package/dist/datepicker-locales/zh-CN.js +3 -1
- package/dist/datepicker-locales/zh-TW.d.ts +2 -1
- package/dist/datepicker-locales/zh-TW.js +8 -1
- package/dist/icons/common.d.ts +2 -2
- package/dist/icons/common.js +14 -8
- package/dist/index.d.ts +10277 -5385
- package/dist/index.js +30920 -16435
- package/dist/locale-qoiGEqe_.d.ts +1507 -0
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +448 -442
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +456 -450
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +259 -62
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +450 -444
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +453 -447
- package/dist/locales/id-ID.d.ts +3 -3
- package/dist/locales/id-ID.js +471 -448
- package/dist/locales/ja-JP.d.ts +3 -3
- package/dist/locales/ja-JP.js +465 -442
- package/dist/locales/ko-KR.d.ts +3 -3
- package/dist/locales/ko-KR.js +465 -442
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +452 -446
- package/dist/locales/th-TH.d.ts +3 -3
- package/dist/locales/th-TH.js +467 -444
- package/dist/locales/vi-VN.d.ts +3 -3
- package/dist/locales/vi-VN.js +467 -444
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +257 -60
- package/dist/locales/zh-TW.d.ts +3 -3
- package/dist/locales/zh-TW.js +467 -444
- package/dist/{table-CHeBgM_2.d.ts → table-R9Yp1aVa.d.ts} +77 -54
- package/dist/tailwind/modern.js +1364 -150
- package/dist/{tailwind-entry-nnuviNxx.d.ts → tailwind-entry-C26Y3TZG.d.ts} +13 -10
- package/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +1406 -136
- package/dist/utils/data-export.d.ts +19 -5
- package/dist/utils/data-export.js +138 -13
- package/dist/utils/table-export.d.ts +21 -12
- package/dist/utils/table-export.js +75 -46
- package/package.json +1 -1
- package/tokens/figma-variables.json +223 -147
- package/tokens/tokens.css +224 -57
- package/tokens/tokens.json +205 -31
- package/dist/datepicker-Digy7Stt.d.ts +0 -201
- package/dist/locale-KMGxL6bT.d.ts +0 -625
- 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
|
|
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
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
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
|
*/
|
package/dist/tailwind.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { l as default } from './tailwind-entry-
|
|
1
|
+
export { l as default } from './tailwind-entry-C26Y3TZG.js';
|
|
2
2
|
import 'tailwindcss/plugin';
|