@ttoss/ui 5.9.1 → 5.9.3
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/esm/index.js +5 -1
- package/package.json +6 -6
package/dist/esm/index.js
CHANGED
|
@@ -1114,6 +1114,9 @@ var Switch = props => {
|
|
|
1114
1114
|
"aria-checked": props.checked || false,
|
|
1115
1115
|
sx: {
|
|
1116
1116
|
backgroundColor: "input.background.muted.disabled",
|
|
1117
|
+
"& > input": {
|
|
1118
|
+
position: "relative"
|
|
1119
|
+
},
|
|
1117
1120
|
"input:checked ~ &": {
|
|
1118
1121
|
backgroundColor: "input.background.accent.default"
|
|
1119
1122
|
},
|
|
@@ -1127,7 +1130,8 @@ var Switch = props => {
|
|
|
1127
1130
|
outline: "md",
|
|
1128
1131
|
outlineColor: "input.border.accent.default",
|
|
1129
1132
|
outlineOffset: "0px"
|
|
1130
|
-
}
|
|
1133
|
+
},
|
|
1134
|
+
...props.sx
|
|
1131
1135
|
}
|
|
1132
1136
|
});
|
|
1133
1137
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/ui",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.3",
|
|
4
4
|
"description": "Primitive layout, typographic, and other components for styling applications.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"react-select": "^5.9.0",
|
|
30
30
|
"react-tooltip": "^5.28.0",
|
|
31
31
|
"theme-ui": "^0.17.1",
|
|
32
|
-
"@ttoss/theme": "^2.6.
|
|
32
|
+
"@ttoss/theme": "^2.6.4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@emotion/react": "^11",
|
|
36
36
|
"react": ">=16.8.0",
|
|
37
|
-
"@ttoss/react-icons": "^0.4.
|
|
37
|
+
"@ttoss/react-icons": "^0.4.15"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@emotion/react": "^11.14.0",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"jest": "^30.0.4",
|
|
45
45
|
"react": "^19.1.0",
|
|
46
46
|
"tsup": "^8.5.0",
|
|
47
|
-
"@ttoss/react-icons": "^0.4.
|
|
48
|
-
"@ttoss/
|
|
49
|
-
"@ttoss/
|
|
47
|
+
"@ttoss/react-icons": "^0.4.15",
|
|
48
|
+
"@ttoss/test-utils": "^2.1.26",
|
|
49
|
+
"@ttoss/config": "^1.35.6"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"React",
|