@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.
- package/dist/checkbox-config.d.mts +4 -3
- package/dist/checkbox-context.d.mts +2 -1
- package/dist/{checkbox-CWnfFigl.d.mts → checkbox-jaXFm_b0.d.mts} +2 -1
- package/dist/checkbox.d.mts +2 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/use-checkbox.d.mts +2 -1
- package/package.json +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { C as Checkbox } from './checkbox-
|
|
2
|
-
import * as
|
|
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
|
-
}) =>
|
|
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-
|
|
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) =>
|
|
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
|
}
|
package/dist/checkbox.d.mts
CHANGED
package/dist/checkbox.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useRenderElement as
|
|
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-
|
|
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';
|
package/dist/use-checkbox.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@jamsrui/utils';
|
|
3
|
-
export { u as useCheckbox } from './checkbox-
|
|
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.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": ">=19"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@jamsrui/hooks": "^0.0.
|
|
9
|
-
"@jamsrui/core": "^0.0.
|
|
10
|
-
"@jamsrui/utils": "^0.0.
|
|
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
|
".": {
|