@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 CHANGED
@@ -1,5 +1,4 @@
1
1
  export { Switch, SwitchProps } from './switch.mjs';
2
- import 'react/jsx-runtime';
2
+ import 'react';
3
3
  import '@base-ui/react/switch';
4
4
  import '@kopexa/theme';
5
- import 'react';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { Switch, SwitchProps } from './switch.js';
2
- import 'react/jsx-runtime';
2
+ import 'react';
3
3
  import '@base-ui/react/switch';
4
4
  import '@kopexa/theme';
5
- import 'react';
package/dist/switch.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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) => react_jsx_runtime.JSX.Element;
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 react_jsx_runtime from 'react/jsx-runtime';
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) => react_jsx_runtime.JSX.Element;
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.0",
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.0"
31
+ "@kopexa/theme": "18.5.2"
32
32
  },
33
33
  "dependencies": {
34
- "@base-ui/react": "^1.1.0",
35
- "@kopexa/react-utils": "18.5.0",
36
- "@kopexa/shared-utils": "18.5.0"
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",