@expcat/tigercat-core 1.3.4 → 1.5.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.
- package/dist/{datepicker-DXzS_8l8.d.cts → datepicker-gSOJN_pQ.d.cts} +1 -1
- package/dist/{datepicker-DXzS_8l8.d.ts → datepicker-gSOJN_pQ.d.ts} +1 -1
- package/dist/datepicker-locales/ar-SA.d.cts +1 -1
- package/dist/datepicker-locales/ar-SA.d.ts +1 -1
- package/dist/datepicker-locales/de-DE.d.cts +1 -1
- package/dist/datepicker-locales/de-DE.d.ts +1 -1
- package/dist/datepicker-locales/en-US.d.cts +1 -1
- package/dist/datepicker-locales/en-US.d.ts +1 -1
- package/dist/datepicker-locales/es-ES.d.cts +1 -1
- package/dist/datepicker-locales/es-ES.d.ts +1 -1
- package/dist/datepicker-locales/fr-FR.d.cts +1 -1
- package/dist/datepicker-locales/fr-FR.d.ts +1 -1
- package/dist/datepicker-locales/id-ID.d.cts +1 -1
- package/dist/datepicker-locales/id-ID.d.ts +1 -1
- package/dist/datepicker-locales/ja-JP.d.cts +1 -1
- package/dist/datepicker-locales/ja-JP.d.ts +1 -1
- package/dist/datepicker-locales/ko-KR.d.cts +1 -1
- package/dist/datepicker-locales/ko-KR.d.ts +1 -1
- package/dist/datepicker-locales/pt-BR.d.cts +1 -1
- package/dist/datepicker-locales/pt-BR.d.ts +1 -1
- package/dist/datepicker-locales/th-TH.d.cts +1 -1
- package/dist/datepicker-locales/th-TH.d.ts +1 -1
- package/dist/datepicker-locales/vi-VN.d.cts +1 -1
- package/dist/datepicker-locales/vi-VN.d.ts +1 -1
- package/dist/datepicker-locales/zh-CN.d.cts +1 -1
- package/dist/datepicker-locales/zh-CN.d.ts +1 -1
- package/dist/datepicker-locales/zh-TW.d.cts +1 -1
- package/dist/datepicker-locales/zh-TW.d.ts +1 -1
- package/dist/icons/registry.cjs +1 -3
- package/dist/icons/registry.js +1 -3
- package/dist/index.cjs +2094 -715
- package/dist/index.d.cts +811 -319
- package/dist/index.d.ts +811 -319
- package/dist/index.js +2023 -712
- package/dist/locale-BTAo7XO1.d.cts +392 -0
- package/dist/locale-hhhI2kH6.d.ts +392 -0
- package/dist/locales/ar-SA.cjs +357 -4
- package/dist/locales/ar-SA.d.cts +2 -2
- package/dist/locales/ar-SA.d.ts +2 -2
- package/dist/locales/ar-SA.js +357 -4
- package/dist/locales/de-DE.cjs +357 -4
- package/dist/locales/de-DE.d.cts +2 -2
- package/dist/locales/de-DE.d.ts +2 -2
- package/dist/locales/de-DE.js +357 -4
- package/dist/locales/en-US.cjs +159 -2
- package/dist/locales/en-US.d.cts +2 -2
- package/dist/locales/en-US.d.ts +2 -2
- package/dist/locales/en-US.js +157 -2
- package/dist/locales/es-ES.cjs +357 -4
- package/dist/locales/es-ES.d.cts +2 -2
- package/dist/locales/es-ES.d.ts +2 -2
- package/dist/locales/es-ES.js +357 -4
- package/dist/locales/fr-FR.cjs +357 -4
- package/dist/locales/fr-FR.d.cts +2 -2
- package/dist/locales/fr-FR.d.ts +2 -2
- package/dist/locales/fr-FR.js +357 -4
- package/dist/locales/id-ID.cjs +445 -3
- package/dist/locales/id-ID.d.cts +2 -2
- package/dist/locales/id-ID.d.ts +2 -2
- package/dist/locales/id-ID.js +443 -3
- package/dist/locales/ja-JP.cjs +445 -3
- package/dist/locales/ja-JP.d.cts +2 -2
- package/dist/locales/ja-JP.d.ts +2 -2
- package/dist/locales/ja-JP.js +443 -3
- package/dist/locales/ko-KR.cjs +445 -3
- package/dist/locales/ko-KR.d.cts +2 -2
- package/dist/locales/ko-KR.d.ts +2 -2
- package/dist/locales/ko-KR.js +443 -3
- package/dist/locales/pt-BR.cjs +357 -4
- package/dist/locales/pt-BR.d.cts +2 -2
- package/dist/locales/pt-BR.d.ts +2 -2
- package/dist/locales/pt-BR.js +357 -4
- package/dist/locales/th-TH.cjs +445 -3
- package/dist/locales/th-TH.d.cts +2 -2
- package/dist/locales/th-TH.d.ts +2 -2
- package/dist/locales/th-TH.js +443 -3
- package/dist/locales/vi-VN.cjs +445 -3
- package/dist/locales/vi-VN.d.cts +2 -2
- package/dist/locales/vi-VN.d.ts +2 -2
- package/dist/locales/vi-VN.js +443 -3
- package/dist/locales/zh-CN.cjs +159 -2
- package/dist/locales/zh-CN.d.cts +2 -2
- package/dist/locales/zh-CN.d.ts +2 -2
- package/dist/locales/zh-CN.js +157 -2
- package/dist/locales/zh-TW.cjs +445 -3
- package/dist/locales/zh-TW.d.cts +2 -2
- package/dist/locales/zh-TW.d.ts +2 -2
- package/dist/locales/zh-TW.js +443 -3
- package/dist/{table-export-CZ7wtGf4.d.ts → table-export-CfdzU6Y5.d.ts} +2 -2
- package/dist/{table-export-DOqFkseW.d.cts → table-export-vfyBzKui.d.cts} +2 -2
- package/dist/tailwind/modern.cjs +76 -81
- package/dist/tailwind/modern.d.cts +2 -3
- package/dist/tailwind/modern.d.ts +2 -3
- package/dist/tailwind/modern.js +76 -81
- package/dist/{tailwind-entry-D4_sseNi.d.ts → tailwind-entry-CNBAH7iv.d.cts} +7 -41
- package/dist/{tailwind-entry-DUchHtjs.d.cts → tailwind-entry-CNBAH7iv.d.ts} +7 -41
- package/dist/tailwind.cjs +123 -70
- package/dist/tailwind.d.cts +2 -3
- package/dist/tailwind.d.ts +2 -3
- package/dist/tailwind.js +123 -70
- package/dist/utils/table-export.cjs +7 -0
- package/dist/utils/table-export.d.cts +3 -3
- package/dist/utils/table-export.d.ts +3 -3
- package/dist/utils/table-export.js +7 -0
- package/package.json +5 -12
- package/dist/locale-BuZwW3Ok.d.ts +0 -135
- package/dist/locale-DDFn0b6z.d.cts +0 -135
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.cts +0 -126
- package/dist/types-CJYAW1ql.d-DDBFn6KB.d.ts +0 -126
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { N, P } from './resolve-config-QUZ9b-Gn.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The source code for one or more nodes in the AST
|
|
5
|
-
*
|
|
6
|
-
* This generally corresponds to a stylesheet
|
|
7
|
-
*/
|
|
8
|
-
interface Source {
|
|
9
|
-
/**
|
|
10
|
-
* The path to the file that contains the referenced source code
|
|
11
|
-
*
|
|
12
|
-
* If this references the *output* source code, this is `null`.
|
|
13
|
-
*/
|
|
14
|
-
file: string | null;
|
|
15
|
-
/**
|
|
16
|
-
* The referenced source code
|
|
17
|
-
*/
|
|
18
|
-
code: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* The file and offsets within it that this node covers
|
|
22
|
-
*
|
|
23
|
-
* This can represent either:
|
|
24
|
-
* - A location in the original CSS which caused this node to be created
|
|
25
|
-
* - A location in the output CSS where this node resides
|
|
26
|
-
*/
|
|
27
|
-
type SourceLocation = [source: Source, start: number, end: number];
|
|
28
|
-
type PluginFn = (api: PluginAPI) => void;
|
|
29
|
-
type PluginWithConfig = {
|
|
30
|
-
handler: PluginFn;
|
|
31
|
-
config?: UserConfig;
|
|
32
|
-
/** @internal */
|
|
33
|
-
reference?: boolean;
|
|
34
|
-
src?: SourceLocation | undefined;
|
|
35
|
-
};
|
|
36
|
-
type PluginWithOptions<T> = {
|
|
37
|
-
(options?: T): PluginWithConfig;
|
|
38
|
-
__isOptionsFunction: true;
|
|
39
|
-
};
|
|
40
|
-
type Plugin = PluginFn | PluginWithConfig | PluginWithOptions<any>;
|
|
41
|
-
type PluginAPI = {
|
|
42
|
-
addBase(base: CssInJs): void;
|
|
43
|
-
addVariant(name: string, variant: string | string[] | CssInJs): void;
|
|
44
|
-
matchVariant<T = string>(name: string, cb: (value: T | string, extra: {
|
|
45
|
-
modifier: string | null;
|
|
46
|
-
}) => string | string[], options?: {
|
|
47
|
-
values?: Record<string, T>;
|
|
48
|
-
sort?(a: {
|
|
49
|
-
value: T | string;
|
|
50
|
-
modifier: string | null;
|
|
51
|
-
}, b: {
|
|
52
|
-
value: T | string;
|
|
53
|
-
modifier: string | null;
|
|
54
|
-
}): number;
|
|
55
|
-
}): void;
|
|
56
|
-
addUtilities(utilities: Record<string, CssInJs | CssInJs[]> | Record<string, CssInJs | CssInJs[]>[], options?: {}): void;
|
|
57
|
-
matchUtilities(utilities: Record<string, (value: string, extra: {
|
|
58
|
-
modifier: string | null;
|
|
59
|
-
}) => CssInJs | CssInJs[]>, options?: Partial<{
|
|
60
|
-
type: string | string[];
|
|
61
|
-
supportsNegativeValues: boolean;
|
|
62
|
-
values: Record<string, string> & {
|
|
63
|
-
__BARE_VALUE__?: (value: N) => string | undefined;
|
|
64
|
-
};
|
|
65
|
-
modifiers: 'any' | Record<string, string>;
|
|
66
|
-
}>): void;
|
|
67
|
-
addComponents(utilities: Record<string, CssInJs> | Record<string, CssInJs>[], options?: {}): void;
|
|
68
|
-
matchComponents(utilities: Record<string, (value: string, extra: {
|
|
69
|
-
modifier: string | null;
|
|
70
|
-
}) => CssInJs>, options?: Partial<{
|
|
71
|
-
type: string | string[];
|
|
72
|
-
supportsNegativeValues: boolean;
|
|
73
|
-
values: Record<string, string> & {
|
|
74
|
-
__BARE_VALUE__?: (value: N) => string | undefined;
|
|
75
|
-
};
|
|
76
|
-
modifiers: 'any' | Record<string, string>;
|
|
77
|
-
}>): void;
|
|
78
|
-
theme(path: string, defaultValue?: any): any;
|
|
79
|
-
config(path?: string, defaultValue?: any): any;
|
|
80
|
-
prefix(className: string): string;
|
|
81
|
-
};
|
|
82
|
-
type CssInJs = {
|
|
83
|
-
[key: string]: string | string[] | CssInJs | CssInJs[];
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
type ResolvableTo<T> = T | ((utils: P) => T);
|
|
87
|
-
type ThemeValue = ResolvableTo<Record<string, unknown>> | null | undefined;
|
|
88
|
-
type ThemeConfig = Record<string, ThemeValue> & {
|
|
89
|
-
extend?: Record<string, ThemeValue>;
|
|
90
|
-
};
|
|
91
|
-
type ContentFile = string | {
|
|
92
|
-
raw: string;
|
|
93
|
-
extension?: string;
|
|
94
|
-
};
|
|
95
|
-
type DarkModeStrategy = false | 'media' | 'class' | ['class', string] | 'selector' | ['selector', string] | ['variant', string | string[]];
|
|
96
|
-
interface UserConfig {
|
|
97
|
-
presets?: UserConfig[];
|
|
98
|
-
theme?: ThemeConfig;
|
|
99
|
-
plugins?: Plugin[];
|
|
100
|
-
}
|
|
101
|
-
interface UserConfig {
|
|
102
|
-
content?: ContentFile[] | {
|
|
103
|
-
relative?: boolean;
|
|
104
|
-
files: ContentFile[];
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
interface UserConfig {
|
|
108
|
-
darkMode?: DarkModeStrategy;
|
|
109
|
-
}
|
|
110
|
-
interface UserConfig {
|
|
111
|
-
prefix?: string;
|
|
112
|
-
}
|
|
113
|
-
interface UserConfig {
|
|
114
|
-
blocklist?: string[];
|
|
115
|
-
}
|
|
116
|
-
interface UserConfig {
|
|
117
|
-
important?: boolean | string;
|
|
118
|
-
}
|
|
119
|
-
interface UserConfig {
|
|
120
|
-
future?: 'all' | Record<string, boolean>;
|
|
121
|
-
}
|
|
122
|
-
interface UserConfig {
|
|
123
|
-
experimental?: 'all' | Record<string, boolean>;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export type { PluginWithConfig as P };
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { N, P } from './resolve-config-QUZ9b-Gn.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The source code for one or more nodes in the AST
|
|
5
|
-
*
|
|
6
|
-
* This generally corresponds to a stylesheet
|
|
7
|
-
*/
|
|
8
|
-
interface Source {
|
|
9
|
-
/**
|
|
10
|
-
* The path to the file that contains the referenced source code
|
|
11
|
-
*
|
|
12
|
-
* If this references the *output* source code, this is `null`.
|
|
13
|
-
*/
|
|
14
|
-
file: string | null;
|
|
15
|
-
/**
|
|
16
|
-
* The referenced source code
|
|
17
|
-
*/
|
|
18
|
-
code: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* The file and offsets within it that this node covers
|
|
22
|
-
*
|
|
23
|
-
* This can represent either:
|
|
24
|
-
* - A location in the original CSS which caused this node to be created
|
|
25
|
-
* - A location in the output CSS where this node resides
|
|
26
|
-
*/
|
|
27
|
-
type SourceLocation = [source: Source, start: number, end: number];
|
|
28
|
-
type PluginFn = (api: PluginAPI) => void;
|
|
29
|
-
type PluginWithConfig = {
|
|
30
|
-
handler: PluginFn;
|
|
31
|
-
config?: UserConfig;
|
|
32
|
-
/** @internal */
|
|
33
|
-
reference?: boolean;
|
|
34
|
-
src?: SourceLocation | undefined;
|
|
35
|
-
};
|
|
36
|
-
type PluginWithOptions<T> = {
|
|
37
|
-
(options?: T): PluginWithConfig;
|
|
38
|
-
__isOptionsFunction: true;
|
|
39
|
-
};
|
|
40
|
-
type Plugin = PluginFn | PluginWithConfig | PluginWithOptions<any>;
|
|
41
|
-
type PluginAPI = {
|
|
42
|
-
addBase(base: CssInJs): void;
|
|
43
|
-
addVariant(name: string, variant: string | string[] | CssInJs): void;
|
|
44
|
-
matchVariant<T = string>(name: string, cb: (value: T | string, extra: {
|
|
45
|
-
modifier: string | null;
|
|
46
|
-
}) => string | string[], options?: {
|
|
47
|
-
values?: Record<string, T>;
|
|
48
|
-
sort?(a: {
|
|
49
|
-
value: T | string;
|
|
50
|
-
modifier: string | null;
|
|
51
|
-
}, b: {
|
|
52
|
-
value: T | string;
|
|
53
|
-
modifier: string | null;
|
|
54
|
-
}): number;
|
|
55
|
-
}): void;
|
|
56
|
-
addUtilities(utilities: Record<string, CssInJs | CssInJs[]> | Record<string, CssInJs | CssInJs[]>[], options?: {}): void;
|
|
57
|
-
matchUtilities(utilities: Record<string, (value: string, extra: {
|
|
58
|
-
modifier: string | null;
|
|
59
|
-
}) => CssInJs | CssInJs[]>, options?: Partial<{
|
|
60
|
-
type: string | string[];
|
|
61
|
-
supportsNegativeValues: boolean;
|
|
62
|
-
values: Record<string, string> & {
|
|
63
|
-
__BARE_VALUE__?: (value: N) => string | undefined;
|
|
64
|
-
};
|
|
65
|
-
modifiers: 'any' | Record<string, string>;
|
|
66
|
-
}>): void;
|
|
67
|
-
addComponents(utilities: Record<string, CssInJs> | Record<string, CssInJs>[], options?: {}): void;
|
|
68
|
-
matchComponents(utilities: Record<string, (value: string, extra: {
|
|
69
|
-
modifier: string | null;
|
|
70
|
-
}) => CssInJs>, options?: Partial<{
|
|
71
|
-
type: string | string[];
|
|
72
|
-
supportsNegativeValues: boolean;
|
|
73
|
-
values: Record<string, string> & {
|
|
74
|
-
__BARE_VALUE__?: (value: N) => string | undefined;
|
|
75
|
-
};
|
|
76
|
-
modifiers: 'any' | Record<string, string>;
|
|
77
|
-
}>): void;
|
|
78
|
-
theme(path: string, defaultValue?: any): any;
|
|
79
|
-
config(path?: string, defaultValue?: any): any;
|
|
80
|
-
prefix(className: string): string;
|
|
81
|
-
};
|
|
82
|
-
type CssInJs = {
|
|
83
|
-
[key: string]: string | string[] | CssInJs | CssInJs[];
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
type ResolvableTo<T> = T | ((utils: P) => T);
|
|
87
|
-
type ThemeValue = ResolvableTo<Record<string, unknown>> | null | undefined;
|
|
88
|
-
type ThemeConfig = Record<string, ThemeValue> & {
|
|
89
|
-
extend?: Record<string, ThemeValue>;
|
|
90
|
-
};
|
|
91
|
-
type ContentFile = string | {
|
|
92
|
-
raw: string;
|
|
93
|
-
extension?: string;
|
|
94
|
-
};
|
|
95
|
-
type DarkModeStrategy = false | 'media' | 'class' | ['class', string] | 'selector' | ['selector', string] | ['variant', string | string[]];
|
|
96
|
-
interface UserConfig {
|
|
97
|
-
presets?: UserConfig[];
|
|
98
|
-
theme?: ThemeConfig;
|
|
99
|
-
plugins?: Plugin[];
|
|
100
|
-
}
|
|
101
|
-
interface UserConfig {
|
|
102
|
-
content?: ContentFile[] | {
|
|
103
|
-
relative?: boolean;
|
|
104
|
-
files: ContentFile[];
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
interface UserConfig {
|
|
108
|
-
darkMode?: DarkModeStrategy;
|
|
109
|
-
}
|
|
110
|
-
interface UserConfig {
|
|
111
|
-
prefix?: string;
|
|
112
|
-
}
|
|
113
|
-
interface UserConfig {
|
|
114
|
-
blocklist?: string[];
|
|
115
|
-
}
|
|
116
|
-
interface UserConfig {
|
|
117
|
-
important?: boolean | string;
|
|
118
|
-
}
|
|
119
|
-
interface UserConfig {
|
|
120
|
-
future?: 'all' | Record<string, boolean>;
|
|
121
|
-
}
|
|
122
|
-
interface UserConfig {
|
|
123
|
-
experimental?: 'all' | Record<string, boolean>;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export type { PluginWithConfig as P };
|