@accelint/design-toolkit 2.3.1 → 2.3.2
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/checkbox/index.d.ts +13 -12
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/checkbox/styles.d.ts +53 -0
- package/dist/components/checkbox/styles.js +2 -0
- package/dist/components/checkbox/styles.js.map +1 -0
- package/dist/components/checkbox/types.d.ts +22 -0
- package/dist/components/checkbox/types.js +2 -0
- package/dist/components/checkbox/types.js.map +1 -0
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.js.map +1 -1
- package/dist/icons/catalog.js +1 -1
- package/dist/icons/catalog.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/styles.css +105 -19
- package/package.json +6 -6
package/dist/styles.css
CHANGED
@@ -1511,9 +1511,6 @@
|
|
1511
1511
|
.outline-critical {
|
1512
1512
|
outline-color: var(--color-critical);
|
1513
1513
|
}
|
1514
|
-
.outline-highlight {
|
1515
|
-
outline-color: var(--color-highlight);
|
1516
|
-
}
|
1517
1514
|
.outline-highlight-bold\/40 {
|
1518
1515
|
outline-color: var(--color-highlight-bold);
|
1519
1516
|
@supports (color: color-mix(in lab, red, red)) {
|
@@ -1529,9 +1526,6 @@
|
|
1529
1526
|
.outline-interactive-disabled {
|
1530
1527
|
outline-color: var(--color-interactive-disabled);
|
1531
1528
|
}
|
1532
|
-
.outline-interactive-hover {
|
1533
|
-
outline-color: var(--color-interactive-hover);
|
1534
|
-
}
|
1535
1529
|
.outline-normal {
|
1536
1530
|
outline-color: var(--color-normal);
|
1537
1531
|
}
|
@@ -1588,9 +1582,6 @@
|
|
1588
1582
|
.\[background\:--color-default-light\] {
|
1589
1583
|
background: --color-default-light;
|
1590
1584
|
}
|
1591
|
-
.icon-inverse-light {
|
1592
|
-
--icon-color: var(--color-inverse-light);
|
1593
|
-
}
|
1594
1585
|
.group-empty\:hidden {
|
1595
1586
|
&:is(:is(:where(.group)[data-empty], :where(.group):empty) *) {
|
1596
1587
|
display: none;
|
@@ -1624,6 +1615,52 @@
|
|
1624
1615
|
}
|
1625
1616
|
}
|
1626
1617
|
}
|
1618
|
+
.group-enabled\/checkbox\:group-indeterminate\/checkbox\:bg-highlight {
|
1619
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1620
|
+
&:is(:is(:where(.group\/checkbox)[data-indeterminate], :where(.group\/checkbox):indeterminate) *) {
|
1621
|
+
background-color: var(--color-highlight);
|
1622
|
+
}
|
1623
|
+
}
|
1624
|
+
}
|
1625
|
+
.group-enabled\/checkbox\:group-indeterminate\/checkbox\:outline-highlight {
|
1626
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1627
|
+
&:is(:is(:where(.group\/checkbox)[data-indeterminate], :where(.group\/checkbox):indeterminate) *) {
|
1628
|
+
outline-color: var(--color-highlight);
|
1629
|
+
}
|
1630
|
+
}
|
1631
|
+
}
|
1632
|
+
.group-enabled\/checkbox\:group-hover\/checkbox\:outline-interactive-hover {
|
1633
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1634
|
+
&:is(:is(:where(.group\/checkbox)[data-hovered], :where(.group\/checkbox):hover) *) {
|
1635
|
+
outline-color: var(--color-interactive-hover);
|
1636
|
+
}
|
1637
|
+
}
|
1638
|
+
}
|
1639
|
+
.group-enabled\/checkbox\:group-indeterminate\/checkbox\:group-hover\/checkbox\:outline-interactive-hover {
|
1640
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1641
|
+
&:is(:is(:where(.group\/checkbox)[data-indeterminate], :where(.group\/checkbox):indeterminate) *) {
|
1642
|
+
&:is(:is(:where(.group\/checkbox)[data-hovered], :where(.group\/checkbox):hover) *) {
|
1643
|
+
outline-color: var(--color-interactive-hover);
|
1644
|
+
}
|
1645
|
+
}
|
1646
|
+
}
|
1647
|
+
}
|
1648
|
+
.group-enabled\/checkbox\:group-focus\/checkbox\:outline-interactive-hover {
|
1649
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1650
|
+
&:is(:is(:where(.group\/checkbox)[data-focused], :where(.group\/checkbox):focus) *) {
|
1651
|
+
outline-color: var(--color-interactive-hover);
|
1652
|
+
}
|
1653
|
+
}
|
1654
|
+
}
|
1655
|
+
.group-enabled\/checkbox\:group-indeterminate\/checkbox\:group-focus\/checkbox\:outline-interactive-hover {
|
1656
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1657
|
+
&:is(:is(:where(.group\/checkbox)[data-indeterminate], :where(.group\/checkbox):indeterminate) *) {
|
1658
|
+
&:is(:is(:where(.group\/checkbox)[data-focused], :where(.group\/checkbox):focus) *) {
|
1659
|
+
outline-color: var(--color-interactive-hover);
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
}
|
1663
|
+
}
|
1627
1664
|
.group-enabled\/radio\:group-hover\/radio\:outline-interactive-hover {
|
1628
1665
|
&:is(:is(:where(.group\/radio):not([disabled], [data-disabled]), :where(.group\/radio):enabled) *) {
|
1629
1666
|
&:is(:is(:where(.group\/radio)[data-hovered], :where(.group\/radio):hover) *) {
|
@@ -1664,6 +1701,16 @@
|
|
1664
1701
|
outline-color: var(--color-interactive-disabled);
|
1665
1702
|
}
|
1666
1703
|
}
|
1704
|
+
.group-disabled\/checkbox\:text-interactive-disabled {
|
1705
|
+
&:is(:is(:where(.group\/checkbox):is([disabled], [data-disabled]), :where(.group\/checkbox):disabled) *) {
|
1706
|
+
color: var(--color-interactive-disabled);
|
1707
|
+
}
|
1708
|
+
}
|
1709
|
+
.group-disabled\/checkbox\:outline-interactive-disabled {
|
1710
|
+
&:is(:is(:where(.group\/checkbox):is([disabled], [data-disabled]), :where(.group\/checkbox):disabled) *) {
|
1711
|
+
outline-color: var(--color-interactive-disabled);
|
1712
|
+
}
|
1713
|
+
}
|
1667
1714
|
.group-disabled\/radio\:text-interactive-disabled {
|
1668
1715
|
&:is(:is(:where(.group\/radio):is([disabled], [data-disabled]), :where(.group\/radio):disabled) *) {
|
1669
1716
|
color: var(--color-interactive-disabled);
|
@@ -1722,6 +1769,16 @@
|
|
1722
1769
|
padding-left: var(--spacing-0);
|
1723
1770
|
}
|
1724
1771
|
}
|
1772
|
+
.group-orientation-horizontal\/checkbox-group\:grow {
|
1773
|
+
&:is(:where(.group\/checkbox-group)[data-orientation="horizontal"] *) {
|
1774
|
+
flex-grow: 1;
|
1775
|
+
}
|
1776
|
+
}
|
1777
|
+
.group-orientation-horizontal\/checkbox-group\:basis-1\/3 {
|
1778
|
+
&:is(:where(.group\/checkbox-group)[data-orientation="horizontal"] *) {
|
1779
|
+
flex-basis: calc(1/3 * 100%);
|
1780
|
+
}
|
1781
|
+
}
|
1725
1782
|
.group-orientation-horizontal\/radio-group\:grow {
|
1726
1783
|
&:is(:where(.group\/radio-group)[data-orientation="horizontal"] *) {
|
1727
1784
|
flex-grow: 1;
|
@@ -1806,6 +1863,45 @@
|
|
1806
1863
|
}
|
1807
1864
|
}
|
1808
1865
|
}
|
1866
|
+
.group-enabled\/checkbox\:group-selected\/checkbox\:bg-highlight {
|
1867
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1868
|
+
&:is(:where(.group\/checkbox)[data-selected] *) {
|
1869
|
+
background-color: var(--color-highlight);
|
1870
|
+
}
|
1871
|
+
}
|
1872
|
+
}
|
1873
|
+
.group-enabled\/checkbox\:group-selected\/checkbox\:outline-highlight {
|
1874
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1875
|
+
&:is(:where(.group\/checkbox)[data-selected] *) {
|
1876
|
+
outline-color: var(--color-highlight);
|
1877
|
+
}
|
1878
|
+
}
|
1879
|
+
}
|
1880
|
+
.group-enabled\/checkbox\:group-selected\/checkbox\:group-hover\/checkbox\:outline-interactive-hover {
|
1881
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1882
|
+
&:is(:where(.group\/checkbox)[data-selected] *) {
|
1883
|
+
&:is(:is(:where(.group\/checkbox)[data-hovered], :where(.group\/checkbox):hover) *) {
|
1884
|
+
outline-color: var(--color-interactive-hover);
|
1885
|
+
}
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
}
|
1889
|
+
.group-enabled\/checkbox\:group-selected\/checkbox\:group-focus\/checkbox\:outline-interactive-hover {
|
1890
|
+
&:is(:is(:where(.group\/checkbox):not([disabled], [data-disabled]), :where(.group\/checkbox):enabled) *) {
|
1891
|
+
&:is(:where(.group\/checkbox)[data-selected] *) {
|
1892
|
+
&:is(:is(:where(.group\/checkbox)[data-focused], :where(.group\/checkbox):focus) *) {
|
1893
|
+
outline-color: var(--color-interactive-hover);
|
1894
|
+
}
|
1895
|
+
}
|
1896
|
+
}
|
1897
|
+
}
|
1898
|
+
.group-disabled\/checkbox\:group-selected\/checkbox\:bg-interactive-disabled {
|
1899
|
+
&:is(:is(:where(.group\/checkbox):is([disabled], [data-disabled]), :where(.group\/checkbox):disabled) *) {
|
1900
|
+
&:is(:where(.group\/checkbox)[data-selected] *) {
|
1901
|
+
background-color: var(--color-interactive-disabled);
|
1902
|
+
}
|
1903
|
+
}
|
1904
|
+
}
|
1809
1905
|
.group-enabled\/radio\:group-selected\/radio\:outline-highlight {
|
1810
1906
|
&:is(:is(:where(.group\/radio):not([disabled], [data-disabled]), :where(.group\/radio):enabled) *) {
|
1811
1907
|
&:is(:where(.group\/radio)[data-selected] *) {
|
@@ -2077,11 +2173,6 @@
|
|
2077
2173
|
outline-width: 4px;
|
2078
2174
|
}
|
2079
2175
|
}
|
2080
|
-
.hover\:outline-interactive-disabled {
|
2081
|
-
&[data-hovered], &:hover {
|
2082
|
-
outline-color: var(--color-interactive-disabled);
|
2083
|
-
}
|
2084
|
-
}
|
2085
2176
|
.hover\:outline-interactive-hover {
|
2086
2177
|
&[data-hovered], &:hover {
|
2087
2178
|
outline-color: var(--color-interactive-hover);
|
@@ -2353,11 +2444,6 @@
|
|
2353
2444
|
--icon-color: var(--color-disabled);
|
2354
2445
|
}
|
2355
2446
|
}
|
2356
|
-
.disabled\:text-interactive-disabled {
|
2357
|
-
&:is([disabled], [data-disabled]), &:disabled {
|
2358
|
-
color: var(--color-interactive-disabled);
|
2359
|
-
}
|
2360
|
-
}
|
2361
2447
|
.disabled\:outline-interactive-disabled {
|
2362
2448
|
&:is([disabled], [data-disabled]), &:disabled {
|
2363
2449
|
outline-color: var(--color-interactive-disabled);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@accelint/design-toolkit",
|
3
|
-
"version": "2.3.
|
3
|
+
"version": "2.3.2",
|
4
4
|
"private": false,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"repository": {
|
@@ -49,7 +49,7 @@
|
|
49
49
|
}
|
50
50
|
},
|
51
51
|
"peerDependencies": {
|
52
|
-
"@accelint/icons": "^2.0.
|
52
|
+
"@accelint/icons": "^2.0.1",
|
53
53
|
"@fontsource/roboto-flex": "^5.1.0",
|
54
54
|
"@fontsource/roboto-mono": "^5.1.0",
|
55
55
|
"@internationalized/date": "^3.8.0",
|
@@ -76,8 +76,8 @@
|
|
76
76
|
"react-dom": "^19.0.0",
|
77
77
|
"tailwind-merge": "^3.2.0",
|
78
78
|
"zod": "3.23.8",
|
79
|
-
"@accelint/
|
80
|
-
"@accelint/
|
79
|
+
"@accelint/core": "0.2.1",
|
80
|
+
"@accelint/icons": "2.0.1"
|
81
81
|
},
|
82
82
|
"devDependencies": {
|
83
83
|
"@storybook/addon-essentials": "^8.6.12",
|
@@ -110,8 +110,8 @@
|
|
110
110
|
"vite-tsconfig-paths": "5.0.1",
|
111
111
|
"vitest": "^3.1.1",
|
112
112
|
"@accelint/biome-config": "0.1.2",
|
113
|
-
"@accelint/
|
114
|
-
"@accelint/
|
113
|
+
"@accelint/typescript-config": "0.1.2",
|
114
|
+
"@accelint/vitest-config": "0.1.3"
|
115
115
|
},
|
116
116
|
"$schema": "https://json.schemastore.org/package",
|
117
117
|
"author": "https://hypergiant.com",
|