@kopexa/switch 18.5.0 → 18.5.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/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/switch.d.mts +3 -3
- package/dist/switch.d.ts +3 -3
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/switch.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
3
4
|
import { SwitchVariantProps, SlotsToClasses, SwitchSlots } from '@kopexa/theme';
|
|
4
|
-
import { ComponentProps } from 'react';
|
|
5
5
|
|
|
6
6
|
type SwitchProps = Omit<ComponentProps<typeof Switch$1.Root>, "children"> & SwitchVariantProps & {
|
|
7
7
|
classNames?: SlotsToClasses<SwitchSlots>;
|
|
8
8
|
};
|
|
9
|
-
declare const Switch: (props: SwitchProps) =>
|
|
9
|
+
declare const Switch: (props: SwitchProps) => react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { Switch, type SwitchProps };
|
package/dist/switch.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
3
4
|
import { SwitchVariantProps, SlotsToClasses, SwitchSlots } from '@kopexa/theme';
|
|
4
|
-
import { ComponentProps } from 'react';
|
|
5
5
|
|
|
6
6
|
type SwitchProps = Omit<ComponentProps<typeof Switch$1.Root>, "children"> & SwitchVariantProps & {
|
|
7
7
|
classNames?: SlotsToClasses<SwitchSlots>;
|
|
8
8
|
};
|
|
9
|
-
declare const Switch: (props: SwitchProps) =>
|
|
9
|
+
declare const Switch: (props: SwitchProps) => react.JSX.Element;
|
|
10
10
|
|
|
11
11
|
export { Switch, type SwitchProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/switch",
|
|
3
|
-
"version": "18.5.
|
|
3
|
+
"version": "18.5.2",
|
|
4
4
|
"description": "a switch toggle",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"switch"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "18.5.
|
|
31
|
+
"@kopexa/theme": "18.5.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@base-ui/react": "^1.
|
|
35
|
-
"@kopexa/react-utils": "18.5.
|
|
36
|
-
"@kopexa/shared-utils": "18.5.
|
|
34
|
+
"@base-ui/react": "^1.9.0",
|
|
35
|
+
"@kopexa/react-utils": "18.5.2",
|
|
36
|
+
"@kopexa/shared-utils": "18.5.2"
|
|
37
37
|
},
|
|
38
38
|
"clean-package": "../../../clean-package.config.json",
|
|
39
39
|
"module": "dist/index.mjs",
|