@ttoss/ui 5.9.2 → 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 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.2",
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",
@@ -45,8 +45,8 @@
45
45
  "react": "^19.1.0",
46
46
  "tsup": "^8.5.0",
47
47
  "@ttoss/react-icons": "^0.4.15",
48
- "@ttoss/config": "^1.35.6",
49
- "@ttoss/test-utils": "^2.1.26"
48
+ "@ttoss/test-utils": "^2.1.26",
49
+ "@ttoss/config": "^1.35.6"
50
50
  },
51
51
  "keywords": [
52
52
  "React",