@oneplatformdev/ui 0.1.10-10 → 0.1.10-13
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/CHANGELOG.md +24 -0
- package/Switch/Switch.d.ts +2 -2
- package/Switch/Switch.d.ts.map +1 -1
- package/Switch/Switch.js +29 -25
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 0.1.10-13 (2025-09-15)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated @oneplatformdev/utils to 0.1.1-63
|
|
6
|
+
- Updated @oneplatformdev/hooks to 0.1.0-49
|
|
7
|
+
- Updated @oneplatformdev/tokens to 0.0.1-36
|
|
8
|
+
|
|
9
|
+
## 0.1.10-12 (2025-09-15)
|
|
10
|
+
|
|
11
|
+
### 🧱 Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated @oneplatformdev/utils to 0.1.1-62
|
|
14
|
+
- Updated @oneplatformdev/hooks to 0.1.0-48
|
|
15
|
+
- Updated @oneplatformdev/tokens to 0.0.1-35
|
|
16
|
+
|
|
17
|
+
## 0.1.10-11 (2025-09-15)
|
|
18
|
+
|
|
19
|
+
### 🧱 Updated Dependencies
|
|
20
|
+
|
|
21
|
+
- Updated @oneplatformdev/utils to 0.1.1-61
|
|
22
|
+
- Updated @oneplatformdev/hooks to 0.1.0-47
|
|
23
|
+
- Updated @oneplatformdev/tokens to 0.0.1-34
|
|
24
|
+
|
|
1
25
|
## 0.1.10-10 (2025-09-15)
|
|
2
26
|
|
|
3
27
|
### 🧱 Updated Dependencies
|
package/Switch/Switch.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
3
|
-
declare
|
|
2
|
+
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
3
|
+
declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Switch };
|
|
5
5
|
//# sourceMappingURL=Switch.d.ts.map
|
package/Switch/Switch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../src/Switch/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../src/Switch/Switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,iBAAS,MAAM,CAAC,EACE,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAkBnE;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
package/Switch/Switch.js
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
)
|
|
24
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "@radix-ui/react-switch";
|
|
3
|
+
import { cn as a } from "@oneplatformdev/utils";
|
|
4
|
+
function s({
|
|
5
|
+
className: r,
|
|
6
|
+
...n
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(
|
|
9
|
+
t.Root,
|
|
10
|
+
{
|
|
11
|
+
"data-slot": "switch",
|
|
12
|
+
className: a(
|
|
13
|
+
"peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
14
|
+
r
|
|
15
|
+
),
|
|
16
|
+
...n,
|
|
17
|
+
children: /* @__PURE__ */ e(
|
|
18
|
+
t.Thumb,
|
|
19
|
+
{
|
|
20
|
+
"data-slot": "switch-thumb",
|
|
21
|
+
className: a(
|
|
22
|
+
"bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0"
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
25
29
|
export {
|
|
26
|
-
|
|
30
|
+
s as Switch
|
|
27
31
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneplatformdev/ui",
|
|
3
|
-
"version": "0.1.10-
|
|
3
|
+
"version": "0.1.10-13",
|
|
4
4
|
"description": "React hook library",
|
|
5
5
|
"author": "One Platform Development Team",
|
|
6
6
|
"keywords": [
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"embla-carousel-react": "^8.6.0",
|
|
103
103
|
"input-otp": "^1.4.2",
|
|
104
104
|
"next-themes": "^0.4.6",
|
|
105
|
-
"react-day-picker": "
|
|
105
|
+
"react-day-picker": "9.10.0",
|
|
106
106
|
"react-dropzone": "^14.3.8",
|
|
107
107
|
"react-hook-form": "^7.62.0",
|
|
108
108
|
"react-resizable-panels": "^3.0.6",
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"sonner": "^2.0.7",
|
|
111
111
|
"vaul": "^1.1.2",
|
|
112
112
|
"zod": "^4.1.8",
|
|
113
|
-
"@oneplatformdev/tokens": "^0.0.1-
|
|
114
|
-
"@oneplatformdev/
|
|
115
|
-
"@oneplatformdev/
|
|
113
|
+
"@oneplatformdev/tokens": "^0.0.1-36",
|
|
114
|
+
"@oneplatformdev/utils": "^0.1.1-63",
|
|
115
|
+
"@oneplatformdev/hooks": "^0.1.0-49"
|
|
116
116
|
}
|
|
117
117
|
}
|