@knymbus/voxel-ui 1.0.3 → 1.0.8

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/index.js CHANGED
@@ -907,7 +907,7 @@ function W({ variant: e = "simple", value: t, onChange: n, onClear: r, placehold
907
907
  }),
908
908
  t && /* @__PURE__ */ (0, d.jsx)("div", {
909
909
  className: "absolute right-1 top-1/2 -translate-y-1/2 flex items-center",
910
- style: { marginRight: "4px" },
910
+ style: { right: "4px" },
911
911
  children: /* @__PURE__ */ (0, d.jsx)(m, {
912
912
  icon: v,
913
913
  color: "ghost",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knymbus/voxel-ui",
3
- "version": "1.0.3",
3
+ "version": "1.0.8",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "import": "./dist/components/search/index.js",
30
30
  "types": "./dist/components/search/index.d.ts"
31
31
  },
32
- "./dist/style.css": "./dist/style.css"
32
+ "./dist/style.css": "./dist/assets/voxel-ui.css"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "vite build && tsc --emitDeclarationOnly",
@@ -75,7 +75,7 @@ export default function SearchInput({
75
75
  className="w-full h-full pl-8 pr-10 bg-transparent text-vsc-text border-none outline-none focus:outline-none placeholder-vsc-muted"
76
76
  />
77
77
  {value && (
78
- <div className="absolute right-1 top-1/2 -translate-y-1/2 flex items-center" style={{ marginRight: '4px' }}>
78
+ <div className="absolute right-1 top-1/2 -translate-y-1/2 flex items-center" style={{ right: '4px' }}>
79
79
  <Button
80
80
  icon={Close}
81
81
  color="ghost"