@vaneui/ui 0.3.1-alpha.20250927164620.fec55bc → 0.3.1-alpha.20250930203841.cec91ca
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/components/ui/theme/checkboxTheme.d.ts +2 -1
- package/dist/components/ui/theme/checkboxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/labelTheme.d.ts +2 -2
- package/dist/components/ui/theme/labelTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/sizeTheme.d.ts +3 -1
- package/dist/components/ui/theme/size/sizeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/typography/fontSizeTheme.d.ts +21 -0
- package/dist/components/ui/theme/typography/fontSizeTheme.d.ts.map +1 -0
- package/dist/components/ui/theme/typographyTheme.d.ts +4 -5
- package/dist/components/ui/theme/typographyTheme.d.ts.map +1 -1
- package/dist/index.esm.js +89 -39
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +89 -39
- package/dist/index.js.map +1 -1
- package/dist/ui.css +41 -77
- package/dist/vars.css +6 -21
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -247,11 +247,11 @@
|
|
|
247
247
|
--color-border-filled-warning: var(--color-yellow-600);
|
|
248
248
|
--color-border-filled-info: var(--color-blue-600);
|
|
249
249
|
--color-border-filled-link: var(--color-blue-600);
|
|
250
|
-
--ui-br-unit: 0.125rem;
|
|
251
|
-
--ui-br-md: calc(3 * var(--ui-br-unit));
|
|
252
|
-
--layout-br-spacing: 0.25rem;
|
|
253
250
|
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
|
|
254
251
|
--ui-spacing: var(--spacing);
|
|
252
|
+
--br-base: 0.25rem;
|
|
253
|
+
--ui-br-base: 0.125rem;
|
|
254
|
+
--fs-base: 0.125rem;
|
|
255
255
|
}
|
|
256
256
|
}
|
|
257
257
|
@layer base {
|
|
@@ -1278,6 +1278,9 @@
|
|
|
1278
1278
|
.text-\(--color-text-warning\) {
|
|
1279
1279
|
color: var(--color-text-warning);
|
|
1280
1280
|
}
|
|
1281
|
+
.text-\(--fs\) {
|
|
1282
|
+
color: var(--fs);
|
|
1283
|
+
}
|
|
1281
1284
|
.text-blue-200 {
|
|
1282
1285
|
color: var(--color-blue-200);
|
|
1283
1286
|
}
|
|
@@ -1569,6 +1572,39 @@
|
|
|
1569
1572
|
.\[--br-unit\:7\] {
|
|
1570
1573
|
--br-unit: 7;
|
|
1571
1574
|
}
|
|
1575
|
+
.\[--fs-unit\:6\] {
|
|
1576
|
+
--fs-unit: 6;
|
|
1577
|
+
}
|
|
1578
|
+
.\[--fs-unit\:7\] {
|
|
1579
|
+
--fs-unit: 7;
|
|
1580
|
+
}
|
|
1581
|
+
.\[--fs-unit\:8\] {
|
|
1582
|
+
--fs-unit: 8;
|
|
1583
|
+
}
|
|
1584
|
+
.\[--fs-unit\:9\] {
|
|
1585
|
+
--fs-unit: 9;
|
|
1586
|
+
}
|
|
1587
|
+
.\[--fs-unit\:10\] {
|
|
1588
|
+
--fs-unit: 10;
|
|
1589
|
+
}
|
|
1590
|
+
.\[--fs-unit\:12\] {
|
|
1591
|
+
--fs-unit: 12;
|
|
1592
|
+
}
|
|
1593
|
+
.\[--fs-unit\:15\] {
|
|
1594
|
+
--fs-unit: 15;
|
|
1595
|
+
}
|
|
1596
|
+
.\[--fs-unit\:18\] {
|
|
1597
|
+
--fs-unit: 18;
|
|
1598
|
+
}
|
|
1599
|
+
.\[--fs-unit\:24\] {
|
|
1600
|
+
--fs-unit: 24;
|
|
1601
|
+
}
|
|
1602
|
+
.\[--fs-unit\:30\] {
|
|
1603
|
+
--fs-unit: 30;
|
|
1604
|
+
}
|
|
1605
|
+
.\[--fs-unit\:36\] {
|
|
1606
|
+
--fs-unit: 36;
|
|
1607
|
+
}
|
|
1572
1608
|
.\[--gap-unit\:1\.5\] {
|
|
1573
1609
|
--gap-unit: 1.5;
|
|
1574
1610
|
}
|
|
@@ -2302,42 +2338,6 @@
|
|
|
2302
2338
|
flex-direction: column;
|
|
2303
2339
|
}
|
|
2304
2340
|
}
|
|
2305
|
-
.max-lg\:text-2xl {
|
|
2306
|
-
@media (width < 64rem) {
|
|
2307
|
-
font-size: var(--text-2xl);
|
|
2308
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
.max-lg\:text-3xl {
|
|
2312
|
-
@media (width < 64rem) {
|
|
2313
|
-
font-size: var(--text-3xl);
|
|
2314
|
-
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
2315
|
-
}
|
|
2316
|
-
}
|
|
2317
|
-
.max-lg\:text-4xl {
|
|
2318
|
-
@media (width < 64rem) {
|
|
2319
|
-
font-size: var(--text-4xl);
|
|
2320
|
-
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
.max-lg\:text-5xl {
|
|
2324
|
-
@media (width < 64rem) {
|
|
2325
|
-
font-size: var(--text-5xl);
|
|
2326
|
-
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
2327
|
-
}
|
|
2328
|
-
}
|
|
2329
|
-
.max-lg\:text-6xl {
|
|
2330
|
-
@media (width < 64rem) {
|
|
2331
|
-
font-size: var(--text-6xl);
|
|
2332
|
-
line-height: var(--tw-leading, var(--text-6xl--line-height));
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
.max-lg\:text-xl {
|
|
2336
|
-
@media (width < 64rem) {
|
|
2337
|
-
font-size: var(--text-xl);
|
|
2338
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
2339
|
-
}
|
|
2340
|
-
}
|
|
2341
2341
|
.max-md\:hidden {
|
|
2342
2342
|
@media (width < 48rem) {
|
|
2343
2343
|
display: none;
|
|
@@ -2348,42 +2348,6 @@
|
|
|
2348
2348
|
flex-direction: column;
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
|
-
.max-md\:text-2xl {
|
|
2352
|
-
@media (width < 48rem) {
|
|
2353
|
-
font-size: var(--text-2xl);
|
|
2354
|
-
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
.max-md\:text-3xl {
|
|
2358
|
-
@media (width < 48rem) {
|
|
2359
|
-
font-size: var(--text-3xl);
|
|
2360
|
-
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
.max-md\:text-4xl {
|
|
2364
|
-
@media (width < 48rem) {
|
|
2365
|
-
font-size: var(--text-4xl);
|
|
2366
|
-
line-height: var(--tw-leading, var(--text-4xl--line-height));
|
|
2367
|
-
}
|
|
2368
|
-
}
|
|
2369
|
-
.max-md\:text-5xl {
|
|
2370
|
-
@media (width < 48rem) {
|
|
2371
|
-
font-size: var(--text-5xl);
|
|
2372
|
-
line-height: var(--tw-leading, var(--text-5xl--line-height));
|
|
2373
|
-
}
|
|
2374
|
-
}
|
|
2375
|
-
.max-md\:text-lg {
|
|
2376
|
-
@media (width < 48rem) {
|
|
2377
|
-
font-size: var(--text-lg);
|
|
2378
|
-
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
.max-md\:text-xl {
|
|
2382
|
-
@media (width < 48rem) {
|
|
2383
|
-
font-size: var(--text-xl);
|
|
2384
|
-
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
2351
|
.max-sm\:hidden {
|
|
2388
2352
|
@media (width < 40rem) {
|
|
2389
2353
|
display: none;
|
|
@@ -2443,12 +2407,12 @@
|
|
|
2443
2407
|
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
2444
2408
|
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
2445
2409
|
--br-unit: 1;
|
|
2446
|
-
--br-base: 0.25rem;
|
|
2447
2410
|
--br: calc(var(--br-unit) * var(--br-base));
|
|
2448
|
-
--ui-br-base: 0.125rem;
|
|
2449
2411
|
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
2450
2412
|
--lh-unit: 1.5;
|
|
2451
2413
|
--lh: var(--lh-unit);
|
|
2414
|
+
--fs-unit: 8;
|
|
2415
|
+
--fs: calc(var(--fs-unit) * var(--fs-base));
|
|
2452
2416
|
}
|
|
2453
2417
|
}
|
|
2454
2418
|
}
|
package/dist/vars.css
CHANGED
|
@@ -146,50 +146,35 @@
|
|
|
146
146
|
--color-border-filled-info: var(--color-blue-600);
|
|
147
147
|
--color-border-filled-link: var(--color-blue-600);
|
|
148
148
|
|
|
149
|
-
/* UI Component Border Radius Sizes */
|
|
150
|
-
--ui-br-unit: 0.125rem;
|
|
151
|
-
--ui-br-xs: calc(1 * var(--ui-br-unit));
|
|
152
|
-
--ui-br-sm: calc(2 * var(--ui-br-unit));
|
|
153
|
-
--ui-br-md: calc(3 * var(--ui-br-unit));
|
|
154
|
-
--ui-br-lg: calc(4 * var(--ui-br-unit));
|
|
155
|
-
--ui-br-xl: calc(5 * var(--ui-br-unit));
|
|
156
|
-
|
|
157
|
-
/* Layout Component Border Radius Sizes */
|
|
158
|
-
--layout-br-spacing: 0.25rem;
|
|
159
|
-
--layout-br-xs: calc(3 * var(--layout-br-spacing));
|
|
160
|
-
--layout-br-sm: calc(4 * var(--layout-br-spacing));
|
|
161
|
-
--layout-br-md: calc(5 * var(--layout-br-spacing));
|
|
162
|
-
--layout-br-lg: calc(6 * var(--layout-br-spacing));
|
|
163
|
-
--layout-br-xl: calc(7 * var(--layout-br-spacing));
|
|
164
149
|
|
|
165
150
|
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
|
|
166
151
|
--ui-spacing: var(--spacing);
|
|
152
|
+
--br-base: 0.25rem;
|
|
153
|
+
--ui-br-base: 0.125rem;
|
|
154
|
+
--fs-base: 0.125rem;
|
|
167
155
|
}
|
|
168
156
|
|
|
169
157
|
@layer base {
|
|
170
158
|
:where(*) {
|
|
171
|
-
/* Layout Gap: the --gap-unit variable is set depending on component and it's size */
|
|
172
159
|
--gap-unit: 1;
|
|
173
160
|
--gap: calc(var(--gap-unit) * var(--layout-spacing));
|
|
174
161
|
--ui-gap: calc(var(--gap-unit) * var(--ui-spacing));
|
|
175
162
|
|
|
176
163
|
--aspect-ratio: 1;
|
|
177
164
|
--py-unit: 1;
|
|
178
|
-
|
|
179
165
|
--px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
|
|
180
166
|
--py: calc(var(--py-unit) * var(--layout-spacing));
|
|
181
|
-
|
|
182
167
|
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
183
168
|
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
184
169
|
|
|
185
170
|
--br-unit: 1;
|
|
186
|
-
--br-base: 0.25rem;
|
|
187
171
|
--br: calc(var(--br-unit) * var(--br-base));
|
|
188
|
-
|
|
189
|
-
--ui-br-base: 0.125rem;
|
|
190
172
|
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
191
173
|
|
|
192
174
|
--lh-unit: 1.5;
|
|
193
175
|
--lh: var(--lh-unit);
|
|
176
|
+
|
|
177
|
+
--fs-unit: 8; /* Default to text-base (1rem = 8 * 0.125rem) */
|
|
178
|
+
--fs: calc(var(--fs-unit) * var(--fs-base));
|
|
194
179
|
}
|
|
195
180
|
}
|
package/package.json
CHANGED