@jamsrui/checkbox 0.0.4 → 0.0.6

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.
@@ -1,6 +1,7 @@
1
- import { C as Checkbox } from './checkbox-CWnfFigl.mjs';
2
- import * as react from 'react';
1
+ import { C as Checkbox } from './checkbox-jaXFm_b0.mjs';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import { GlobalConfigProps } from '@jamsrui/core';
4
+ import 'react';
4
5
  import '@jamsrui/utils';
5
6
  import './checkbox-content.mjs';
6
7
  import './checkbox-description.mjs';
@@ -16,7 +17,7 @@ import './checkbox-errror-message.mjs';
16
17
  declare const useCheckboxConfig: () => CheckboxConfig.Props;
17
18
  declare const CheckboxConfig: (props: CheckboxConfig.Props & {
18
19
  merge?: boolean;
19
- }) => react.JSX.Element;
20
+ }) => react_jsx_runtime.JSX.Element;
20
21
  declare namespace CheckboxConfig {
21
22
  interface Props extends Checkbox.Props, GlobalConfigProps<Checkbox.Props> {
22
23
  }
@@ -1,5 +1,6 @@
1
1
  import * as react from 'react';
2
- import { u as useCheckbox } from './checkbox-CWnfFigl.mjs';
2
+ import { u as useCheckbox } from './checkbox-jaXFm_b0.mjs';
3
+ import 'react/jsx-runtime';
3
4
  import '@jamsrui/utils';
4
5
  import './checkbox-content.mjs';
5
6
  import './checkbox-description.mjs';
@@ -1,3 +1,4 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as react from 'react';
2
3
  import { PropGetter, UIProps, SlotsToClassNames } from '@jamsrui/utils';
3
4
  import { CheckboxContent } from './checkbox-content.mjs';
@@ -40,7 +41,7 @@ declare namespace useCheckbox {
40
41
  }
41
42
  }
42
43
 
43
- declare const Checkbox: (props: Checkbox.Props) => react.JSX.Element;
44
+ declare const Checkbox: (props: Checkbox.Props) => react_jsx_runtime.JSX.Element;
44
45
  declare namespace Checkbox {
45
46
  interface Props extends useCheckbox.Props {
46
47
  }
@@ -1,5 +1,6 @@
1
+ import 'react/jsx-runtime';
2
+ export { C as Checkbox } from './checkbox-jaXFm_b0.mjs';
1
3
  import 'react';
2
- export { C as Checkbox } from './checkbox-CWnfFigl.mjs';
3
4
  import '@jamsrui/utils';
4
5
  import './checkbox-content.mjs';
5
6
  import './checkbox-description.mjs';
package/dist/checkbox.mjs CHANGED
@@ -1 +1 @@
1
- import{useRenderElement as n}from"@jamsrui/hooks";import{mergeConfigProps as x}from"@jamsrui/utils";import{useCheckboxConfig as C}from"./checkbox-config";import{CheckboxContent as i}from"./checkbox-content";import{CheckboxContext as s}from"./checkbox-context";import{CheckboxDescription as h}from"./checkbox-description";import{CheckboxErrorMessage as b}from"./checkbox-errror-message";import{CheckboxHelperText as k}from"./checkbox-helper-text";import{CheckboxInput as f}from"./checkbox-input";import{CheckboxLabel as g}from"./checkbox-label";import{CheckboxTrigger as a}from"./checkbox-trigger";import{CheckboxWrapper as d}from"./checkbox-wrapper";import{useCheckbox as l}from"./use-checkbox";const q=r=>{const o=C(),t=x(o,o,r),e=l(t),{getRootProps:c}=e,p=React.createElement(React.Fragment,null,React.createElement(d,null,React.createElement(g,null),React.createElement(k,null),React.createElement(i,null),React.createElement(h,null),React.createElement(b,null),React.createElement(f,null),React.createElement(a,null))),m=n("div",{props:[c({}),{children:p}]});return React.createElement(s,{value:e},m)};export{q as Checkbox};
1
+ import{Fragment as E,jsx as o,jsxs as P}from"react/jsx-runtime";import{useRenderElement as x}from"@jamsrui/hooks";import{mergeConfigProps as C}from"@jamsrui/utils";import{useCheckboxConfig as i}from"./checkbox-config";import{CheckboxContent as s}from"./checkbox-content";import{CheckboxContext as h}from"./checkbox-context";import{CheckboxDescription as b}from"./checkbox-description";import{CheckboxErrorMessage as k}from"./checkbox-errror-message";import{CheckboxHelperText as f}from"./checkbox-helper-text";import{CheckboxInput as g}from"./checkbox-input";import{CheckboxLabel as d}from"./checkbox-label";import{CheckboxTrigger as a}from"./checkbox-trigger";import{CheckboxWrapper as l}from"./checkbox-wrapper";import{useCheckbox as u}from"./use-checkbox";const A=t=>{const e=i(),p=C(e,e,t),r=u(p),{getRootProps:c}=r,m=o(E,{children:P(l,{children:[o(d,{}),o(f,{}),o(s,{}),o(b,{}),o(k,{}),o(g,{}),o(a,{})]})}),n=x("div",{props:[c({}),{children:m}]});return o(h,{value:r,children:n})};export{A as Checkbox};
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- export { C as Checkbox } from './checkbox-CWnfFigl.mjs';
1
+ export { C as Checkbox } from './checkbox-jaXFm_b0.mjs';
2
2
  export { CheckboxConfig, useCheckboxConfig } from './checkbox-config.mjs';
3
+ import 'react/jsx-runtime';
3
4
  import 'react';
4
5
  import '@jamsrui/utils';
5
6
  import './checkbox-content.mjs';
@@ -1,6 +1,6 @@
1
1
  import 'react';
2
2
  import '@jamsrui/utils';
3
- export { u as useCheckbox } from './checkbox-CWnfFigl.mjs';
3
+ export { u as useCheckbox } from './checkbox-jaXFm_b0.mjs';
4
4
  import './checkbox-content.mjs';
5
5
  import './checkbox-description.mjs';
6
6
  import './checkbox-helper-text.mjs';
@@ -10,4 +10,5 @@ import './checkbox-trigger.mjs';
10
10
  import './checkbox-wrapper.mjs';
11
11
  import './styles.mjs';
12
12
  import './checkbox-errror-message.mjs';
13
+ import 'react/jsx-runtime';
13
14
  import 'tailwind-variants';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jamsrui/checkbox",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/hooks": "^0.0.4",
9
- "@jamsrui/core": "^0.0.4",
10
- "@jamsrui/utils": "^0.0.4"
8
+ "@jamsrui/hooks": "^0.0.6",
9
+ "@jamsrui/core": "^0.0.6",
10
+ "@jamsrui/utils": "^0.0.6"
11
11
  },
12
12
  "exports": {
13
13
  ".": {