@jamsrui/toggle 0.0.6 → 0.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.
@@ -4,13 +4,10 @@ import { GlobalConfigProps } from '@jamsrui/core';
4
4
  import 'react';
5
5
  import '@jamsrui/utils';
6
6
 
7
- declare const useToggleConfig: () => {
8
- children?: React.ReactNode;
9
- };
10
- declare const ToggleConfig: (props: {
11
- children?: React.ReactNode;
12
- } & {
7
+ declare const useToggleConfig: () => Record<string, any>;
8
+ declare const ToggleConfig: (props: Omit<Partial<Record<string, any>>, "children"> & {
13
9
  merge?: boolean;
10
+ children: React.ReactNode;
14
11
  }) => react_jsx_runtime.JSX.Element;
15
12
  declare namespace ToggleConfig {
16
13
  interface Props extends Toggle.Props, GlobalConfigProps<Toggle.Props> {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/toggle",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.6",
9
- "@jamsrui/core": "^0.0.6",
10
- "@jamsrui/utils": "^0.0.6"
8
+ "@jamsrui/core": "^0.0.7",
9
+ "@jamsrui/hooks": "^0.0.8",
10
+ "@jamsrui/utils": "^0.0.8"
11
11
  },
12
12
  "exports": {
13
13
  ".": {