@jerry-fd/ui 0.2.0 → 0.3.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.
@@ -0,0 +1,247 @@
1
+ @theme {
2
+ --color-neutral-950: hsl(221.54deg, 31.71%, 8.04%);
3
+ --color-neutral-900: hsl(226.15deg, 21.31%, 11.96%);
4
+ --color-neutral-800: hsl(227.14deg, 17.07%, 16.08%);
5
+ --color-neutral-700: hsl(221.25deg, 15.69%, 20%);
6
+ --color-neutral-600: hsl(222deg, 10.87%, 36.08%);
7
+ --color-neutral-500: hsl(221.05deg, 7.76%, 48.04%);
8
+ --color-neutral-400: hsl(220deg, 11.48%, 64.12%);
9
+ --color-neutral-300: hsl(218.57deg, 15.22%, 81.96%);
10
+ --color-neutral-200: hsl(220deg, 17.65%, 90%);
11
+ --color-neutral-100: hsl(210deg, 30%, 96.08%);
12
+ --color-neutral-50: hsl(216deg, 33.33%, 97.06%);
13
+ --color-neutral-0: hsl(0deg, 0%, 100%);
14
+ --color-neutral-alpha-24: hsla(220deg, 11.48%, 64.12%, 0.24);
15
+ --color-neutral-alpha-16: hsla(220deg, 11.48%, 64.12%, 0.16);
16
+ --color-neutral-alpha-10: hsla(220deg, 11.48%, 64.12%, 0.1);
17
+
18
+ --color-blue-950: hsl(228.14deg, 70.49%, 23.92%);
19
+ --color-blue-900: hsl(228deg, 70.55%, 31.96%);
20
+ --color-blue-800: hsl(228.17deg, 69.61%, 40%);
21
+ --color-blue-700: hsl(228.07deg, 69.8%, 48.04%);
22
+ --color-blue-600: hsl(228deg, 80.36%, 56.08%);
23
+ --color-blue-500: hsl(227.94deg, 100%, 60%);
24
+ --color-blue-400: hsl(222.12deg, 100%, 70.39%);
25
+ --color-blue-300: hsl(219.81deg, 100%, 79.61%);
26
+ --color-blue-200: hsl(220deg, 100%, 87.65%);
27
+ --color-blue-100: hsl(221.43deg, 100%, 91.76%);
28
+ --color-blue-50: hsl(222deg, 100%, 96.08%);
29
+ --color-blue-alpha-24: hsla(227.93deg, 100%, 63.92%, 0.24);
30
+ --color-blue-alpha-16: hsla(227.93deg, 100%, 63.92%, 0.16);
31
+ --color-blue-alpha-10: hsla(227.93deg, 100%, 63.92%, 0.1);
32
+
33
+ --color-orange-950: hsl(23.72deg, 70.49%, 23.92%);
34
+ --color-orange-900: hsl(24deg, 70.55%, 31.96%);
35
+ --color-orange-800: hsl(24.08deg, 69.61%, 40%);
36
+ --color-orange-700: hsl(23.86deg, 69.8%, 48.04%);
37
+ --color-orange-600: hsl(24deg, 80.36%, 56.08%);
38
+ --color-orange-500: hsl(24.13deg, 100%, 63.92%);
39
+ --color-orange-400: hsl(23.84deg, 100%, 70.39%);
40
+ --color-orange-300: hsl(24.23deg, 100%, 79.61%);
41
+ --color-orange-200: hsl(23.81deg, 100%, 87.65%);
42
+ --color-orange-100: hsl(24.29deg, 100%, 91.76%);
43
+ --color-orange-50: hsl(24deg, 100%, 96.08%);
44
+ --color-orange-alpha-24: hsla(24.13deg, 100%, 63.92%, 0.24);
45
+ --color-orange-alpha-16: hsla(24.13deg, 100%, 63.92%, 0.16);
46
+ --color-orange-alpha-10: hsla(24.13deg, 100%, 63.92%, 0.1);
47
+
48
+ --color-red-950: hsl(355.12deg, 70.49%, 23.92%);
49
+ --color-red-900: hsl(354.78deg, 70.55%, 31.96%);
50
+ --color-red-800: hsl(354.93deg, 69.61%, 40%);
51
+ --color-red-700: hsl(355.09deg, 69.8%, 48.04%);
52
+ --color-red-600: hsl(355deg, 80.36%, 56.08%);
53
+ --color-red-500: hsl(354.8deg, 96.08%, 60%);
54
+ --color-red-400: hsl(354.83deg, 100%, 70.39%);
55
+ --color-red-300: hsl(354.81deg, 100%, 79.61%);
56
+ --color-red-200: hsl(355.24deg, 100%, 87.65%);
57
+ --color-red-100: hsl(355.71deg, 100%, 91.76%);
58
+ --color-red-50: hsl(357deg, 100%, 96.08%);
59
+ --color-red-alpha-24: hsla(354.8deg, 96.08%, 60%, 0.24);
60
+ --color-red-alpha-16: hsla(354.8deg, 96.08%, 60%, 0.16);
61
+ --color-red-alpha-10: hsla(354.8deg, 96.08%, 60%, 0.1);
62
+
63
+ --color-green-950: hsl(148.47deg, 72.84%, 15.88%);
64
+ --color-green-900: hsl(148.46deg, 63.93%, 23.92%);
65
+ --color-green-800: hsl(147.69deg, 63.64%, 28.04%);
66
+ --color-green-700: hsl(148.21deg, 71.78%, 31.96%);
67
+ --color-green-600: hsl(147.95deg, 71.57%, 40%);
68
+ --color-green-500: hsl(148.15deg, 72.32%, 43.92%);
69
+ --color-green-400: hsl(147.78deg, 72.32%, 56.08%);
70
+ --color-green-300: hsl(147.96deg, 72.03%, 71.96%);
71
+ --color-green-200: hsl(148.24deg, 71.83%, 86.08%);
72
+ --color-green-100: hsl(154.88deg, 84.31%, 90%);
73
+ --color-green-50: hsl(147.69deg, 72.22%, 92.94%);
74
+ --color-green-alpha-24: hsla(148.15deg, 72.32%, 43.92%, 0.24);
75
+ --color-green-alpha-16: hsla(148.15deg, 72.32%, 43.92%, 0.16);
76
+ --color-green-alpha-10: hsla(148.15deg, 72.32%, 43.92%, 0.1);
77
+
78
+ --color-yellow-950: hsl(42.16deg, 60.66%, 23.92%);
79
+ --color-yellow-900: hsl(41.71deg, 64.42%, 31.96%);
80
+ --color-yellow-800: hsl(42deg, 63.73%, 40%);
81
+ --color-yellow-700: hsl(42.04deg, 64.08%, 48.04%);
82
+ --color-yellow-600: hsl(41.85deg, 80.39%, 50%);
83
+ --color-yellow-500: hsl(41.94deg, 92.31%, 54.12%);
84
+ --color-yellow-400: hsl(42.12deg, 100%, 70.39%);
85
+ --color-yellow-300: hsl(42.12deg, 100%, 79.61%);
86
+ --color-yellow-200: hsl(41.9deg, 100%, 87.65%);
87
+ --color-yellow-100: hsl(41.18deg, 100%, 90%);
88
+ --color-yellow-50: hsl(43.9deg, 100%, 91.96%);
89
+ --color-yellow-alpha-24: hsla(41.93deg, 95.65%, 63.92%, 0.24);
90
+ --color-yellow-alpha-16: hsla(41.93deg, 95.65%, 63.92%, 0.16);
91
+ --color-yellow-alpha-10: hsla(41.93deg, 95.65%, 63.92%, 0.1);
92
+
93
+ --color-purple-950: hsl(257.8deg, 63.64%, 28.04%);
94
+ --color-purple-900: hsl(258.29deg, 64.42%, 31.96%);
95
+ --color-purple-800: hsl(258deg, 63.73%, 40%);
96
+ --color-purple-700: hsl(257.96deg, 64.08%, 48.04%);
97
+ --color-purple-600: hsl(255.93deg, 72.32%, 56.08%);
98
+ --color-purple-500: hsl(255.93deg, 88.04%, 63.92%);
99
+ --color-purple-400: hsl(252.18deg, 88.08%, 70.39%);
100
+ --color-purple-300: hsl(249.81deg, 100%, 79.61%);
101
+ --color-purple-200: hsl(249.52deg, 100%, 87.65%);
102
+ --color-purple-100: hsl(250deg, 100%, 91.76%);
103
+ --color-purple-50: hsl(252deg, 100%, 96.08%);
104
+ --color-purple-alpha-24: hsla(255.93deg, 83.51%, 61.96%, 0.24);
105
+ --color-purple-alpha-16: hsla(255.93deg, 83.51%, 61.96%, 0.16);
106
+ --color-purple-alpha-10: hsla(255.93deg, 83.51%, 61.96%, 0.1);
107
+
108
+ --color-sky-950: hsl(200.23deg, 70.49%, 23.92%);
109
+ --color-sky-900: hsl(199.83deg, 70.55%, 31.96%);
110
+ --color-sky-800: hsl(199.86deg, 69.61%, 40%);
111
+ --color-sky-700: hsl(200deg, 69.8%, 48.04%);
112
+ --color-sky-600: hsl(200deg, 80.36%, 56.08%);
113
+ --color-sky-500: hsl(199.89deg, 100%, 63.92%);
114
+ --color-sky-400: hsl(199.87deg, 100%, 70.39%);
115
+ --color-sky-300: hsl(200.19deg, 100%, 79.61%);
116
+ --color-sky-200: hsl(200deg, 100%, 87.65%);
117
+ --color-sky-100: hsl(200deg, 100%, 91.76%);
118
+ --color-sky-50: hsl(201deg, 100%, 96.08%);
119
+ --color-sky-alpha-24: hsla(199.89deg, 100%, 63.92%, 0.24);
120
+ --color-sky-alpha-16: hsla(199.89deg, 100%, 63.92%, 0.16);
121
+ --color-sky-alpha-10: hsla(199.89deg, 100%, 63.92%, 0.1);
122
+
123
+ --color-pink-950: hsl(330deg, 70.49%, 23.92%);
124
+ --color-pink-900: hsl(329.74deg, 70.55%, 31.96%);
125
+ --color-pink-800: hsl(330deg, 69.61%, 40%);
126
+ --color-pink-700: hsl(330.18deg, 69.8%, 48.04%);
127
+ --color-pink-600: hsl(330deg, 80.36%, 56.08%);
128
+ --color-pink-500: hsl(330deg, 95.65%, 63.92%);
129
+ --color-pink-400: hsl(330.2deg, 100%, 70.39%);
130
+ --color-pink-300: hsl(330deg, 100%, 79.61%);
131
+ --color-pink-200: hsl(330.48deg, 100%, 87.65%);
132
+ --color-pink-100: hsl(330deg, 100%, 91.76%);
133
+ --color-pink-50: hsl(333deg, 100%, 96.08%);
134
+ --color-pink-alpha-24: hsla(330deg, 95.65%, 63.92%, 0.24);
135
+ --color-pink-alpha-16: hsla(330deg, 95.65%, 63.92%, 0.16);
136
+ --color-pink-alpha-10: hsla(330deg, 95.65%, 63.92%, 0.1);
137
+
138
+ --color-teal-950: hsl(171.86deg, 72.84%, 15.88%);
139
+ --color-teal-900: hsl(172.31deg, 63.93%, 23.92%);
140
+ --color-teal-800: hsl(172.09deg, 63.64%, 28.04%);
141
+ --color-teal-700: hsl(172.31deg, 71.78%, 31.96%);
142
+ --color-teal-600: hsl(172.19deg, 71.57%, 40%);
143
+ --color-teal-500: hsl(171.86deg, 72.24%, 48.04%);
144
+ --color-teal-400: hsl(172.08deg, 70.67%, 55.88%);
145
+ --color-teal-300: hsl(171.84deg, 72.03%, 71.96%);
146
+ --color-teal-200: hsl(171.76deg, 71.83%, 86.08%);
147
+ --color-teal-100: hsl(171.63deg, 84.31%, 90%);
148
+ --color-teal-50: hsl(172.17deg, 74.19%, 93.92%);
149
+ --color-teal-alpha-24: hsla(171.86deg, 72.24%, 48.04%, 0.24);
150
+ --color-teal-alpha-16: hsla(171.86deg, 72.24%, 48.04%, 0.16);
151
+ --color-teal-alpha-10: hsla(171.86deg, 72.24%, 48.04%, 0.1);
152
+
153
+ --color-white-alpha-24: hsla(0deg, 0%, 100%, 0.24);
154
+ --color-white-alpha-16: hsla(0deg, 0%, 100%, 0.16);
155
+ --color-white-alpha-10: hsla(0deg, 0%, 100%, 0.1);
156
+
157
+ --color-black-alpha-24: hsla(0deg, 0%, 0%, 0.24);
158
+ --color-black-alpha-16: hsla(0deg, 0%, 0%, 0.16);
159
+ --color-black-alpha-10: hsla(0deg, 0%, 0%, 0.1);
160
+
161
+ --color-primary-dark: var(--color-blue-800);
162
+ --color-primary-darker: var(--color-blue-700);
163
+ --color-primary-base: var(--color-blue-500);
164
+ --color-primary-alpha-24: var(--color-blue-alpha-24);
165
+ --color-primary-alpha-16: var(--color-blue-alpha-16);
166
+ --color-primary-alpha-10: var(--color-blue-alpha-10);
167
+
168
+ --color-static-black: var(--color-neutral-950);
169
+ --color-static-white: var(--color-neutral-0);
170
+
171
+ --color-stroke-strong-950: var(--color-neutral-950);
172
+ --color-stroke-sub-300: var(--color-neutral-300);
173
+ --color-stroke-soft-200: var(--color-neutral-200);
174
+ --color-stroke-white-0: var(--color-neutral-0);
175
+
176
+ /* Semantic color aliases for utility classes */
177
+ --color-bg-strong: var(--color-neutral-950);
178
+ --color-bg-surface: var(--color-neutral-800);
179
+ --color-bg-sub: var(--color-neutral-300);
180
+ --color-bg-soft: var(--color-neutral-200);
181
+ --color-bg-weak: var(--color-neutral-50);
182
+ --color-bg-white: var(--color-neutral-0);
183
+ --color-bg-antd: var(--antd-border-secondary);
184
+
185
+ --color-text-strong: var(--color-neutral-950);
186
+ --color-text-sub: var(--color-neutral-600);
187
+ --color-text-soft: var(--color-neutral-400);
188
+ --color-text-disabled: var(--color-neutral-300);
189
+ --color-text-white: var(--color-neutral-0);
190
+
191
+ --color-stroke-strong: var(--color-neutral-950);
192
+ --color-stroke-sub: var(--color-neutral-300);
193
+ --color-stroke-soft: var(--color-neutral-200);
194
+ --color-stroke-white: var(--color-neutral-0);
195
+ --color-stroke-antd: var(--antd-border-secondary);
196
+
197
+ --color-information-dark: var(--color-blue-950);
198
+ --color-information-base: var(--color-blue-500);
199
+ --color-information-light: var(--color-blue-200);
200
+ --color-information-lighter: var(--color-blue-50);
201
+
202
+ --color-warning-dark: var(--color-orange-950);
203
+ --color-warning-base: var(--color-orange-500);
204
+ --color-warning-light: var(--color-orange-200);
205
+ --color-warning-lighter: var(--color-orange-50);
206
+
207
+ --color-error-dark: var(--color-red-950);
208
+ --color-error-base: var(--color-red-500);
209
+ --color-error-light: var(--color-red-200);
210
+ --color-error-lighter: var(--color-red-50);
211
+
212
+ --color-success-dark: var(--color-green-950);
213
+ --color-success-base: var(--color-green-500);
214
+ --color-success-light: var(--color-green-200);
215
+ --color-success-lighter: var(--color-green-50);
216
+
217
+ --color-away-dark: var(--color-yellow-950);
218
+ --color-away-base: var(--color-yellow-500);
219
+ --color-away-light: var(--color-yellow-200);
220
+ --color-away-lighter: var(--color-yellow-50);
221
+
222
+ --color-feature-dark: var(--color-purple-950);
223
+ --color-feature-base: var(--color-purple-500);
224
+ --color-feature-light: var(--color-purple-200);
225
+ --color-feature-lighter: var(--color-purple-50);
226
+
227
+ --color-verified-dark: var(--color-sky-950);
228
+ --color-verified-base: var(--color-sky-500);
229
+ --color-verified-light: var(--color-sky-200);
230
+ --color-verified-lighter: var(--color-sky-50);
231
+
232
+ --color-highlighted-dark: var(--color-pink-950);
233
+ --color-highlighted-base: var(--color-pink-500);
234
+ --color-highlighted-light: var(--color-pink-200);
235
+ --color-highlighted-lighter: var(--color-pink-50);
236
+
237
+ --color-stable-dark: var(--color-teal-950);
238
+ --color-stable-base: var(--color-teal-500);
239
+ --color-stable-light: var(--color-teal-200);
240
+ --color-stable-lighter: var(--color-teal-50);
241
+
242
+ /* Special colors */
243
+ --color-white: #fff;
244
+ --color-black: #000;
245
+ --color-transparent: transparent;
246
+ --color-current: currentcolor;
247
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @jerry-fd/ui Theme
3
+ *
4
+ * Usage in other projects:
5
+ *
6
+ * 1. Install: npm install @jerry-fd/ui
7
+ *
8
+ * 2. Import in your main CSS file:
9
+ * @import '@jerry-fd/ui/theme';
10
+ *
11
+ * 3. Or import specific modules:
12
+ * @import '@jerry-fd/ui/theme/badge';
13
+ * @import '@jerry-fd/ui/theme/colors';
14
+ */
15
+
16
+ /* Base theme variables */
17
+ @import './colors.css';
18
+ @import './typography.css';
19
+ @import './shadows.css';
20
+
21
+ /* Component presets */
22
+ @import './badge.css';
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Shadow Variables
3
+ */
4
+
5
+ @theme {
6
+ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
7
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
8
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
9
+
10
+ --shadow-regular-xs: 0 1px 2px 0 #0a0d1408;
11
+ --shadow-regular-sm: 0 2px 4px #1b1c1d0a;
12
+ --shadow-regular-md: 0 16px 32px -12px #0e121b1a;
13
+ }
@@ -0,0 +1,255 @@
1
+ /**
2
+ * Typography Variables
3
+ */
4
+
5
+ @theme {
6
+ /* Font Families */
7
+ --font-sans: system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, 'Helvetica Neue', arial, sans-serif;
8
+ --font-mono: ui-monospace, sfmono-regular, 'SF Mono', menlo, consolas, 'Liberation Mono', monospace;
9
+
10
+ --text-title-h1: 5.6rem;
11
+ --text-title-h1--line-height: 6.4rem;
12
+ --text-title-h1--letter-spacing: -0.01em;
13
+ --text-title-h1--font-weight: 500;
14
+
15
+ --text-title-h2: 4.8rem;
16
+ --text-title-h2--line-height: 5.6rem;
17
+ --text-title-h2--letter-spacing: -0.01em;
18
+ --text-title-h2--font-weight: 500;
19
+
20
+ --text-title-h3: 4rem;
21
+ --text-title-h3--line-height: 4.8rem;
22
+ --text-title-h3--letter-spacing: -0.01em;
23
+ --text-title-h3--font-weight: 500;
24
+
25
+ --text-title-h4: 3.2rem;
26
+ --text-title-h4--line-height: 4rem;
27
+ --text-title-h4--letter-spacing: -0.005em;
28
+ --text-title-h4--font-weight: 500;
29
+
30
+ --text-title-h5: 2.4rem;
31
+ --text-title-h5--line-height: 3.2rem;
32
+ --text-title-h5--letter-spacing: 0em;
33
+ --text-title-h5--font-weight: 500;
34
+
35
+ --text-title-h6: 1.8rem;
36
+ --text-title-h6--line-height: 2.6rem;
37
+ --text-title-h6--letter-spacing: 0em;
38
+ --text-title-h6--font-weight: 500;
39
+
40
+ --text-label-xl: 2.4rem;
41
+ --text-label-xl--line-height: 3.2rem;
42
+ --text-label-xl--letter-spacing: -0.015em;
43
+ --text-label-xl--font-weight: 500;
44
+
45
+ --text-label-lg: 1.8rem;
46
+ --text-label-lg--line-height: 2.4rem;
47
+ --text-label-lg--letter-spacing: -0.015em;
48
+ --text-label-lg--font-weight: 500;
49
+
50
+ --text-label-md: 1.6rem;
51
+ --text-label-md--line-height: 2.4rem;
52
+ --text-label-md--letter-spacing: -0.011em;
53
+ --text-label-md--font-weight: 500;
54
+
55
+ --text-label-sm: 1.4rem;
56
+ --text-label-sm--line-height: 2rem;
57
+ --text-label-sm--letter-spacing: -0.006em;
58
+ --text-label-sm--font-weight: 500;
59
+
60
+ --text-label-xs: 1.2rem;
61
+ --text-label-xs--line-height: 1.6rem;
62
+ --text-label-xs--letter-spacing: 0em;
63
+ --text-label-xs--font-weight: 500;
64
+
65
+ --text-paragraph-xl: 2.4rem;
66
+ --text-paragraph-xl--line-height: 3.2rem;
67
+ --text-paragraph-xl--letter-spacing: -0.015em;
68
+ --text-paragraph-xl--font-weight: 400;
69
+
70
+ --text-paragraph-lg: 1.8rem;
71
+ --text-paragraph-lg--line-height: 2.4rem;
72
+ --text-paragraph-lg--letter-spacing: -0.015em;
73
+ --text-paragraph-lg--font-weight: 400;
74
+
75
+ --text-paragraph-md: 1.6rem;
76
+ --text-paragraph-md--line-height: 2.4rem;
77
+ --text-paragraph-md--letter-spacing: -0.011em;
78
+ --text-paragraph-md--font-weight: 400;
79
+
80
+ --text-paragraph-sm: 1.4rem;
81
+ --text-paragraph-sm--line-height: 2rem;
82
+ --text-paragraph-sm--letter-spacing: -0.006em;
83
+ --text-paragraph-sm--font-weight: 400;
84
+
85
+ --text-paragraph-xs: 1.2rem;
86
+ --text-paragraph-xs--line-height: 1.6rem;
87
+ --text-paragraph-xs--letter-spacing: 0em;
88
+ --text-paragraph-xs--font-weight: 400;
89
+
90
+ --text-subheading-md: 1.6rem;
91
+ --text-subheading-md--line-height: 2.4rem;
92
+ --text-subheading-md--letter-spacing: 0.06em;
93
+ --text-subheading-md--font-weight: 500;
94
+
95
+ --text-subheading-sm: 1.4rem;
96
+ --text-subheading-sm--line-height: 2rem;
97
+ --text-subheading-sm--letter-spacing: 0.06em;
98
+ --text-subheading-sm--font-weight: 500;
99
+
100
+ --text-subheading-xs: 1.2rem;
101
+ --text-subheading-xs--line-height: 1.6rem;
102
+ --text-subheading-xs--letter-spacing: 0.04em;
103
+ --text-subheading-xs--font-weight: 500;
104
+
105
+ --text-subheading-2xs: 1.1rem;
106
+ --text-subheading-2xs--line-height: 1.2rem;
107
+ --text-subheading-2xs--letter-spacing: 0.02em;
108
+ --text-subheading-2xs--font-weight: 500;
109
+ }
110
+
111
+ @layer utilities {
112
+ /* Title utilities */
113
+ .text-title-h1 {
114
+ font-size: var(--text-title-h1);
115
+ line-height: var(--text-title-h1--line-height);
116
+ letter-spacing: var(--text-title-h1--letter-spacing);
117
+ font-weight: var(--text-title-h1--font-weight);
118
+ }
119
+
120
+ .text-title-h2 {
121
+ font-size: var(--text-title-h2);
122
+ line-height: var(--text-title-h2--line-height);
123
+ letter-spacing: var(--text-title-h2--letter-spacing);
124
+ font-weight: var(--text-title-h2--font-weight);
125
+ }
126
+
127
+ .text-title-h3 {
128
+ font-size: var(--text-title-h3);
129
+ line-height: var(--text-title-h3--line-height);
130
+ letter-spacing: var(--text-title-h3--letter-spacing);
131
+ font-weight: var(--text-title-h3--font-weight);
132
+ }
133
+
134
+ .text-title-h4 {
135
+ font-size: var(--text-title-h4);
136
+ line-height: var(--text-title-h4--line-height);
137
+ letter-spacing: var(--text-title-h4--letter-spacing);
138
+ font-weight: var(--text-title-h4--font-weight);
139
+ }
140
+
141
+ .text-title-h5 {
142
+ font-size: var(--text-title-h5);
143
+ line-height: var(--text-title-h5--line-height);
144
+ letter-spacing: var(--text-title-h5--letter-spacing);
145
+ font-weight: var(--text-title-h5--font-weight);
146
+ }
147
+
148
+ .text-title-h6 {
149
+ font-size: var(--text-title-h6);
150
+ line-height: var(--text-title-h6--line-height);
151
+ letter-spacing: var(--text-title-h6--letter-spacing);
152
+ font-weight: var(--text-title-h6--font-weight);
153
+ }
154
+
155
+ /* Label utilities */
156
+ .text-label-xl {
157
+ font-size: var(--text-label-xl);
158
+ line-height: var(--text-label-xl--line-height);
159
+ letter-spacing: var(--text-label-xl--letter-spacing);
160
+ font-weight: var(--text-label-xl--font-weight);
161
+ }
162
+
163
+ .text-label-lg {
164
+ font-size: var(--text-label-lg);
165
+ line-height: var(--text-label-lg--line-height);
166
+ letter-spacing: var(--text-label-lg--letter-spacing);
167
+ font-weight: var(--text-label-lg--font-weight);
168
+ }
169
+
170
+ .text-label-md {
171
+ font-size: var(--text-label-md);
172
+ line-height: var(--text-label-md--line-height);
173
+ letter-spacing: var(--text-label-md--letter-spacing);
174
+ font-weight: var(--text-label-md--font-weight);
175
+ }
176
+
177
+ .text-label-sm {
178
+ font-size: var(--text-label-sm);
179
+ line-height: var(--text-label-sm--line-height);
180
+ letter-spacing: var(--text-label-sm--letter-spacing);
181
+ font-weight: var(--text-label-sm--font-weight);
182
+ }
183
+
184
+ .text-label-xs {
185
+ font-size: var(--text-label-xs);
186
+ line-height: var(--text-label-xs--line-height);
187
+ letter-spacing: var(--text-label-xs--letter-spacing);
188
+ font-weight: var(--text-label-xs--font-weight);
189
+ }
190
+
191
+ /* Paragraph utilities */
192
+ .text-paragraph-xl {
193
+ font-size: var(--text-paragraph-xl);
194
+ line-height: var(--text-paragraph-xl--line-height);
195
+ letter-spacing: var(--text-paragraph-xl--letter-spacing);
196
+ font-weight: var(--text-paragraph-xl--font-weight);
197
+ }
198
+
199
+ .text-paragraph-lg {
200
+ font-size: var(--text-paragraph-lg);
201
+ line-height: var(--text-paragraph-lg--line-height);
202
+ letter-spacing: var(--text-paragraph-lg--letter-spacing);
203
+ font-weight: var(--text-paragraph-lg--font-weight);
204
+ }
205
+
206
+ .text-paragraph-md {
207
+ font-size: var(--text-paragraph-md);
208
+ line-height: var(--text-paragraph-md--line-height);
209
+ letter-spacing: var(--text-paragraph-md--letter-spacing);
210
+ font-weight: var(--text-paragraph-md--font-weight);
211
+ }
212
+
213
+ .text-paragraph-sm {
214
+ font-size: var(--text-paragraph-sm);
215
+ line-height: var(--text-paragraph-sm--line-height);
216
+ letter-spacing: var(--text-paragraph-sm--letter-spacing);
217
+ font-weight: var(--text-paragraph-sm--font-weight);
218
+ }
219
+
220
+ .text-paragraph-xs {
221
+ font-size: var(--text-paragraph-xs);
222
+ line-height: var(--text-paragraph-xs--line-height);
223
+ letter-spacing: var(--text-paragraph-xs--letter-spacing);
224
+ font-weight: var(--text-paragraph-xs--font-weight);
225
+ }
226
+
227
+ /* Subheading utilities */
228
+ .text-subheading-md {
229
+ font-size: var(--text-subheading-md);
230
+ line-height: var(--text-subheading-md--line-height);
231
+ letter-spacing: var(--text-subheading-md--letter-spacing);
232
+ font-weight: var(--text-subheading-md--font-weight);
233
+ }
234
+
235
+ .text-subheading-sm {
236
+ font-size: var(--text-subheading-sm);
237
+ line-height: var(--text-subheading-sm--line-height);
238
+ letter-spacing: var(--text-subheading-sm--letter-spacing);
239
+ font-weight: var(--text-subheading-sm--font-weight);
240
+ }
241
+
242
+ .text-subheading-xs {
243
+ font-size: var(--text-subheading-xs);
244
+ line-height: var(--text-subheading-xs--line-height);
245
+ letter-spacing: var(--text-subheading-xs--letter-spacing);
246
+ font-weight: var(--text-subheading-xs--font-weight);
247
+ }
248
+
249
+ .text-subheading-2xs {
250
+ font-size: var(--text-subheading-2xs);
251
+ line-height: var(--text-subheading-2xs--line-height);
252
+ letter-spacing: var(--text-subheading-2xs--letter-spacing);
253
+ font-weight: var(--text-subheading-2xs--font-weight);
254
+ }
255
+ }
@@ -1,13 +1,6 @@
1
- import React$1 from 'react';
1
+ import { I as IconType } from './icon-Byr-7UQX.js';
2
2
  import { Dayjs } from 'dayjs';
3
3
 
4
- type IconSize = number | string;
5
- type IconBaseProps = {
6
- size?: IconSize;
7
- className?: string;
8
- };
9
- type IconType<P extends IconBaseProps = IconBaseProps> = React$1.ComponentType<P> | React$1.ReactElement<P>;
10
-
11
4
  interface FilterColumnOption {
12
5
  key?: React.Key;
13
6
  label: string;
@@ -81,4 +74,4 @@ type DataFilterProps<T> = UseDataFiltersProps & {
81
74
  columns: FilterColumnDef<T>[];
82
75
  } & DataFilterUiProps;
83
76
 
84
- export type { DataFilterProps as D, FilterColumnDef as F, IconType as I, FilterColumnOption as a, FiltersState as b };
77
+ export type { DataFilterProps as D, FilterColumnDef as F, FilterColumnOption as a, FiltersState as b };
package/chunk-75LTHX75.js DELETED
@@ -1 +0,0 @@
1
- import t from'react';import {jsx}from'react/jsx-runtime';var f={dateDash:"yyyy-MM-dd",dateSlash:"YYYY/MM/DD",dateTimeMinuteDash:"yyyy-MM-dd HH:mm",dateTimeMinuteSlash:"yyyy/MM/dd HH:mm",dateTimeSecondDash:"yyyy-MM-dd HH:mm:ss",dateTimeSecondSlash:"yyyy/MM/dd HH:mm:ss",timeMinute:"HH:mm",timeSecond:"HH:mm:ss"},P={presets:f};var l=Symbol.for("@@jerry-fe/ui/LocaleProviderContext"),m=["en-US","zh-CN"];function x(){if(!globalThis[l]){let e=t.createContext(null);globalThis[l]=e;}return globalThis[l]}var p=x(),M=({locale:e,defaultLocale:a,onLocaleChange:o,children:n})=>{let c=e!==void 0,[L,s]=t.useState(()=>e??a??u());t.useEffect(()=>{e!==void 0&&s(e);},[e]);let i=c?e:L,d=t.useCallback(r=>{if(!c){s(r),o?.(r);return}o?.(r);},[c,o]),y=t.useMemo(()=>({locale:i,setLocale:d}),[i,d]);return jsx(p.Provider,{value:y,children:n})},v=e=>{};function S(){let e=t.useContext(p);return e?[e.locale,e.setLocale]:[u(),v]}function u(e="en-US"){if(typeof navigator>"u")return e;for(let a of navigator.languages??[]){let o=m.find(n=>a.toLowerCase().startsWith(n.toLowerCase().split("-")[0]));if(o)return o}return e}export{M as a,S as b,P as c};