@vaneui/ui 0.3.1-alpha.20250921204254.9cfeae4 → 0.3.1-alpha.20250926201820.1b8c4ca
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/classes/layoutClasses.d.ts +8 -0
- package/dist/components/ui/classes/layoutClasses.d.ts.map +1 -1
- package/dist/components/ui/theme/badgeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/buttonTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/chipTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/codeTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/defaults.d.ts.map +1 -1
- package/dist/components/ui/theme/inputTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/layout/radiusTheme.d.ts +1 -0
- package/dist/components/ui/theme/layout/radiusTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/gapTheme.d.ts +2 -1
- package/dist/components/ui/theme/size/gapTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/pxTheme.d.ts +2 -1
- package/dist/components/ui/theme/size/pxTheme.d.ts.map +1 -1
- package/dist/components/ui/theme/size/pyTheme.d.ts +2 -1
- package/dist/components/ui/theme/size/pyTheme.d.ts.map +1 -1
- package/dist/index.esm.js +134 -66
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +134 -66
- package/dist/index.js.map +1 -1
- package/dist/ui.css +97 -40
- package/dist/vars.css +17 -4
- package/package.json +1 -1
package/dist/ui.css
CHANGED
|
@@ -261,7 +261,8 @@
|
|
|
261
261
|
--layout-br-md: calc(5 * var(--layout-br-spacing));
|
|
262
262
|
--layout-br-lg: calc(6 * var(--layout-br-spacing));
|
|
263
263
|
--layout-br-xl: calc(7 * var(--layout-br-spacing));
|
|
264
|
-
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.
|
|
264
|
+
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
|
|
265
|
+
--ui-spacing: var(--spacing);
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
268
|
@layer base {
|
|
@@ -521,6 +522,9 @@
|
|
|
521
522
|
.h-7 {
|
|
522
523
|
height: calc(var(--spacing) * 7);
|
|
523
524
|
}
|
|
525
|
+
.h-10 {
|
|
526
|
+
height: calc(var(--spacing) * 10);
|
|
527
|
+
}
|
|
524
528
|
.h-fit {
|
|
525
529
|
height: fit-content;
|
|
526
530
|
}
|
|
@@ -659,27 +663,12 @@
|
|
|
659
663
|
.gap-\(--gap\) {
|
|
660
664
|
gap: var(--gap);
|
|
661
665
|
}
|
|
666
|
+
.gap-\(--ui-gap\) {
|
|
667
|
+
gap: var(--ui-gap);
|
|
668
|
+
}
|
|
662
669
|
.gap-0 {
|
|
663
670
|
gap: calc(var(--spacing) * 0);
|
|
664
671
|
}
|
|
665
|
-
.gap-0\.5 {
|
|
666
|
-
gap: calc(var(--spacing) * 0.5);
|
|
667
|
-
}
|
|
668
|
-
.gap-1 {
|
|
669
|
-
gap: calc(var(--spacing) * 1);
|
|
670
|
-
}
|
|
671
|
-
.gap-1\.5 {
|
|
672
|
-
gap: calc(var(--spacing) * 1.5);
|
|
673
|
-
}
|
|
674
|
-
.gap-2 {
|
|
675
|
-
gap: calc(var(--spacing) * 2);
|
|
676
|
-
}
|
|
677
|
-
.gap-2\.5 {
|
|
678
|
-
gap: calc(var(--spacing) * 2.5);
|
|
679
|
-
}
|
|
680
|
-
.gap-3 {
|
|
681
|
-
gap: calc(var(--spacing) * 3);
|
|
682
|
-
}
|
|
683
672
|
.space-y-2 {
|
|
684
673
|
:where(& > :not(:last-child)) {
|
|
685
674
|
--tw-space-y-reverse: 0;
|
|
@@ -742,6 +731,9 @@
|
|
|
742
731
|
.rounded {
|
|
743
732
|
border-radius: 0.25rem;
|
|
744
733
|
}
|
|
734
|
+
.rounded-\(--br\) {
|
|
735
|
+
border-radius: var(--br);
|
|
736
|
+
}
|
|
745
737
|
.rounded-\(--layout-br-lg\) {
|
|
746
738
|
border-radius: var(--layout-br-lg);
|
|
747
739
|
}
|
|
@@ -757,6 +749,9 @@
|
|
|
757
749
|
.rounded-\(--layout-br-xs\) {
|
|
758
750
|
border-radius: var(--layout-br-xs);
|
|
759
751
|
}
|
|
752
|
+
.rounded-\(--ui-br\) {
|
|
753
|
+
border-radius: var(--ui-br);
|
|
754
|
+
}
|
|
760
755
|
.rounded-\(--ui-br-lg\) {
|
|
761
756
|
border-radius: var(--ui-br-lg);
|
|
762
757
|
}
|
|
@@ -1099,6 +1094,9 @@
|
|
|
1099
1094
|
.px-\(--px\) {
|
|
1100
1095
|
padding-inline: var(--px);
|
|
1101
1096
|
}
|
|
1097
|
+
.px-\(--ui-px\) {
|
|
1098
|
+
padding-inline: var(--ui-px);
|
|
1099
|
+
}
|
|
1102
1100
|
.px-1 {
|
|
1103
1101
|
padding-inline: calc(var(--spacing) * 1);
|
|
1104
1102
|
}
|
|
@@ -1129,6 +1127,9 @@
|
|
|
1129
1127
|
.py-\(--py\) {
|
|
1130
1128
|
padding-block: var(--py);
|
|
1131
1129
|
}
|
|
1130
|
+
.py-\(--ui-py\) {
|
|
1131
|
+
padding-block: var(--ui-py);
|
|
1132
|
+
}
|
|
1132
1133
|
.py-0 {
|
|
1133
1134
|
padding-block: calc(var(--spacing) * 0);
|
|
1134
1135
|
}
|
|
@@ -1617,12 +1618,45 @@
|
|
|
1617
1618
|
.\[--aspect-ratio\:1\.75\] {
|
|
1618
1619
|
--aspect-ratio: 1.75;
|
|
1619
1620
|
}
|
|
1621
|
+
.\[--aspect-ratio\:1\] {
|
|
1622
|
+
--aspect-ratio: 1;
|
|
1623
|
+
}
|
|
1620
1624
|
.\[--aspect-ratio\:2\.5\] {
|
|
1621
1625
|
--aspect-ratio: 2.5;
|
|
1622
1626
|
}
|
|
1623
1627
|
.\[--aspect-ratio\:2\] {
|
|
1624
1628
|
--aspect-ratio: 2;
|
|
1625
1629
|
}
|
|
1630
|
+
.\[--aspect-ratio\:3\] {
|
|
1631
|
+
--aspect-ratio: 3;
|
|
1632
|
+
}
|
|
1633
|
+
.\[--aspect-ratio\:4\] {
|
|
1634
|
+
--aspect-ratio: 4;
|
|
1635
|
+
}
|
|
1636
|
+
.\[--br-unit\:1\] {
|
|
1637
|
+
--br-unit: 1;
|
|
1638
|
+
}
|
|
1639
|
+
.\[--br-unit\:2\] {
|
|
1640
|
+
--br-unit: 2;
|
|
1641
|
+
}
|
|
1642
|
+
.\[--br-unit\:3\] {
|
|
1643
|
+
--br-unit: 3;
|
|
1644
|
+
}
|
|
1645
|
+
.\[--br-unit\:4\] {
|
|
1646
|
+
--br-unit: 4;
|
|
1647
|
+
}
|
|
1648
|
+
.\[--br-unit\:5\] {
|
|
1649
|
+
--br-unit: 5;
|
|
1650
|
+
}
|
|
1651
|
+
.\[--br-unit\:6\] {
|
|
1652
|
+
--br-unit: 6;
|
|
1653
|
+
}
|
|
1654
|
+
.\[--br-unit\:7\] {
|
|
1655
|
+
--br-unit: 7;
|
|
1656
|
+
}
|
|
1657
|
+
.\[--gap-unit\:0\.5\] {
|
|
1658
|
+
--gap-unit: 0.5;
|
|
1659
|
+
}
|
|
1626
1660
|
.\[--gap-unit\:1\.5\] {
|
|
1627
1661
|
--gap-unit: 1.5;
|
|
1628
1662
|
}
|
|
@@ -1647,32 +1681,47 @@
|
|
|
1647
1681
|
.\[--gap-unit\:6\] {
|
|
1648
1682
|
--gap-unit: 6;
|
|
1649
1683
|
}
|
|
1650
|
-
.\[--
|
|
1651
|
-
--
|
|
1684
|
+
.\[--py-unit\:0\.5\] {
|
|
1685
|
+
--py-unit: 0.5;
|
|
1686
|
+
}
|
|
1687
|
+
.\[--py-unit\:0\] {
|
|
1688
|
+
--py-unit: 0;
|
|
1689
|
+
}
|
|
1690
|
+
.\[--py-unit\:1\.5\] {
|
|
1691
|
+
--py-unit: 1.5;
|
|
1692
|
+
}
|
|
1693
|
+
.\[--py-unit\:1\] {
|
|
1694
|
+
--py-unit: 1;
|
|
1695
|
+
}
|
|
1696
|
+
.\[--py-unit\:2\.5\] {
|
|
1697
|
+
--py-unit: 2.5;
|
|
1698
|
+
}
|
|
1699
|
+
.\[--py-unit\:2\] {
|
|
1700
|
+
--py-unit: 2;
|
|
1652
1701
|
}
|
|
1653
|
-
.\[--
|
|
1654
|
-
--
|
|
1702
|
+
.\[--py-unit\:3\] {
|
|
1703
|
+
--py-unit: 3;
|
|
1655
1704
|
}
|
|
1656
|
-
.\[--
|
|
1657
|
-
--
|
|
1705
|
+
.\[--py-unit\:4\] {
|
|
1706
|
+
--py-unit: 4;
|
|
1658
1707
|
}
|
|
1659
|
-
.\[--
|
|
1660
|
-
--
|
|
1708
|
+
.\[--py-unit\:5\] {
|
|
1709
|
+
--py-unit: 5;
|
|
1661
1710
|
}
|
|
1662
|
-
.\[--
|
|
1663
|
-
--
|
|
1711
|
+
.\[--py-unit\:6\] {
|
|
1712
|
+
--py-unit: 6;
|
|
1664
1713
|
}
|
|
1665
|
-
.\[--
|
|
1666
|
-
--
|
|
1714
|
+
.\[--py-unit\:8\] {
|
|
1715
|
+
--py-unit: 8;
|
|
1667
1716
|
}
|
|
1668
|
-
.\[--
|
|
1669
|
-
--
|
|
1717
|
+
.\[--py-unit\:12\] {
|
|
1718
|
+
--py-unit: 12;
|
|
1670
1719
|
}
|
|
1671
|
-
.\[--
|
|
1672
|
-
--
|
|
1720
|
+
.\[--py-unit\:16\] {
|
|
1721
|
+
--py-unit: 16;
|
|
1673
1722
|
}
|
|
1674
|
-
.\[--
|
|
1675
|
-
--
|
|
1723
|
+
.\[--py-unit\:20\] {
|
|
1724
|
+
--py-unit: 20;
|
|
1676
1725
|
}
|
|
1677
1726
|
.ring-inset {
|
|
1678
1727
|
--tw-ring-inset: inset;
|
|
@@ -2453,10 +2502,18 @@
|
|
|
2453
2502
|
:where(*) {
|
|
2454
2503
|
--gap-unit: 1;
|
|
2455
2504
|
--gap: calc(var(--gap-unit) * var(--layout-spacing));
|
|
2505
|
+
--ui-gap: calc(var(--gap-unit) * var(--ui-spacing));
|
|
2456
2506
|
--aspect-ratio: 1;
|
|
2457
|
-
--
|
|
2458
|
-
--
|
|
2459
|
-
--py: calc(var(--
|
|
2507
|
+
--py-unit: 1;
|
|
2508
|
+
--px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
|
|
2509
|
+
--py: calc(var(--py-unit) * var(--layout-spacing));
|
|
2510
|
+
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
2511
|
+
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
2512
|
+
--br-unit: 1;
|
|
2513
|
+
--br-base: 0.25rem;
|
|
2514
|
+
--br: calc(var(--br-unit) * var(--br-base));
|
|
2515
|
+
--ui-br-base: 0.125rem;
|
|
2516
|
+
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
2460
2517
|
}
|
|
2461
2518
|
}
|
|
2462
2519
|
}
|
package/dist/vars.css
CHANGED
|
@@ -162,7 +162,8 @@
|
|
|
162
162
|
--layout-br-lg: calc(6 * var(--layout-br-spacing));
|
|
163
163
|
--layout-br-xl: calc(7 * var(--layout-br-spacing));
|
|
164
164
|
|
|
165
|
-
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.
|
|
165
|
+
--layout-spacing: clamp(0.1rem, 0.16rem + 0.4vw, 0.3rem);
|
|
166
|
+
--ui-spacing: var(--spacing);
|
|
166
167
|
}
|
|
167
168
|
|
|
168
169
|
@layer base {
|
|
@@ -170,10 +171,22 @@
|
|
|
170
171
|
/* Layout Gap: the --gap-unit variable is set depending on component and it's size */
|
|
171
172
|
--gap-unit: 1;
|
|
172
173
|
--gap: calc(var(--gap-unit) * var(--layout-spacing));
|
|
174
|
+
--ui-gap: calc(var(--gap-unit) * var(--ui-spacing));
|
|
173
175
|
|
|
174
176
|
--aspect-ratio: 1;
|
|
175
|
-
--
|
|
176
|
-
|
|
177
|
-
--
|
|
177
|
+
--py-unit: 1;
|
|
178
|
+
|
|
179
|
+
--px: calc(var(--aspect-ratio) * var(--py-unit) * var(--layout-spacing));
|
|
180
|
+
--py: calc(var(--py-unit) * var(--layout-spacing));
|
|
181
|
+
|
|
182
|
+
--ui-px: calc(var(--aspect-ratio) * var(--py-unit) * var(--ui-spacing));
|
|
183
|
+
--ui-py: calc(var(--py-unit) * var(--ui-spacing));
|
|
184
|
+
|
|
185
|
+
--br-unit: 1;
|
|
186
|
+
--br-base: 0.25rem;
|
|
187
|
+
--br: calc(var(--br-unit) * var(--br-base));
|
|
188
|
+
|
|
189
|
+
--ui-br-base: 0.125rem;
|
|
190
|
+
--ui-br: calc(var(--br-unit) * var(--ui-br-base));
|
|
178
191
|
}
|
|
179
192
|
}
|
package/package.json
CHANGED