@ark-ui/solid 0.8.1 → 0.9.0
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/CHANGELOG.md +12 -2
- package/accordion/accordion-context.d.ts +4 -21
- package/accordion/index.cjs +4 -0
- package/accordion/index.d.ts +2 -0
- package/accordion/index.mjs +2 -0
- package/accordion/use-accordion.d.ts +3 -11
- package/avatar/avatar-context.d.ts +4 -20
- package/avatar/index.cjs +2 -0
- package/avatar/index.d.ts +1 -0
- package/avatar/index.mjs +1 -0
- package/avatar/use-avatar.d.ts +3 -11
- package/carousel/carousel-context.d.ts +4 -59
- package/carousel/carousel-indicator-group.cjs +16 -0
- package/carousel/carousel-indicator-group.d.ts +4 -0
- package/carousel/carousel-indicator-group.mjs +12 -0
- package/carousel/carousel-indicator.cjs +18 -0
- package/carousel/carousel-indicator.d.ts +6 -0
- package/carousel/carousel-indicator.mjs +14 -0
- package/carousel/carousel-slide.d.ts +1 -1
- package/carousel/index.cjs +6 -0
- package/carousel/index.d.ts +3 -0
- package/carousel/index.mjs +3 -0
- package/carousel/use-carousel.d.ts +3 -31
- package/checkbox/checkbox-context.d.ts +4 -27
- package/checkbox/index.cjs +2 -0
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.mjs +1 -0
- package/checkbox/use-checkbox.d.ts +3 -15
- package/color-picker/color-picker-context.d.ts +4 -42
- package/color-picker/index.cjs +6 -0
- package/color-picker/index.d.ts +3 -0
- package/color-picker/index.mjs +3 -0
- package/color-picker/use-color-picker.d.ts +3 -22
- package/combobox/combobox-clear-trigger.cjs +16 -0
- package/combobox/combobox-clear-trigger.d.ts +4 -0
- package/combobox/combobox-clear-trigger.mjs +12 -0
- package/combobox/combobox-context.d.ts +4 -55
- package/combobox/combobox-option-group.cjs +16 -0
- package/combobox/combobox-option-group.d.ts +6 -0
- package/combobox/combobox-option-group.mjs +12 -0
- package/combobox/index.cjs +6 -0
- package/combobox/index.d.ts +3 -0
- package/combobox/index.mjs +3 -0
- package/combobox/use-combobox.d.ts +3 -28
- package/date-picker/date-picker-context.d.ts +4 -254
- package/date-picker/date-picker-grid.d.ts +1 -1
- package/date-picker/date-picker-view-trigger.d.ts +1 -1
- package/date-picker/index.cjs +6 -0
- package/date-picker/index.d.ts +3 -0
- package/date-picker/index.mjs +3 -0
- package/date-picker/use-date-picker.d.ts +3 -128
- package/dialog/dialog-context.d.ts +4 -24
- package/dialog/index.cjs +2 -0
- package/dialog/index.d.ts +1 -0
- package/dialog/index.mjs +1 -0
- package/dialog/use-dialog.d.ts +3 -13
- package/editable/editable-context.d.ts +4 -38
- package/editable/index.cjs +2 -0
- package/editable/index.d.ts +1 -0
- package/editable/index.mjs +1 -0
- package/editable/use-editable.d.ts +3 -20
- package/hover-card/hover-card-context.d.ts +4 -23
- package/hover-card/index.cjs +2 -0
- package/hover-card/index.d.ts +1 -0
- package/hover-card/index.mjs +1 -0
- package/hover-card/use-hover-card.d.ts +3 -12
- package/index.cjs +72 -0
- package/index.mjs +36 -0
- package/menu/index.cjs +2 -0
- package/menu/index.d.ts +1 -0
- package/menu/index.mjs +1 -0
- package/number-input/index.cjs +2 -0
- package/number-input/index.d.ts +1 -0
- package/number-input/index.mjs +1 -0
- package/number-input/number-input-context.d.ts +4 -44
- package/number-input/use-number-input.d.ts +3 -23
- package/package.json +48 -48
- package/pagination/index.cjs +2 -0
- package/pagination/index.d.ts +1 -0
- package/pagination/index.mjs +1 -0
- package/pagination/pagination-context.d.ts +4 -45
- package/pagination/pagination-ellipsis.d.ts +1 -1
- package/pagination/use-pagination.d.ts +3 -24
- package/pin-input/index.cjs +2 -0
- package/pin-input/index.d.ts +1 -0
- package/pin-input/index.mjs +1 -0
- package/pin-input/pin-input-context.d.ts +4 -32
- package/pin-input/use-pin-input.d.ts +3 -17
- package/popover/index.cjs +2 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.mjs +1 -0
- package/popover/popover-context.d.ts +4 -33
- package/popover/use-popover.d.ts +3 -17
- package/pressable/use-pressable.d.ts +3 -5
- package/radio-group/index.cjs +4 -0
- package/radio-group/index.d.ts +2 -0
- package/radio-group/index.mjs +2 -0
- package/radio-group/radio-context.d.ts +11 -2
- package/radio-group/radio-group-context.d.ts +4 -49
- package/radio-group/use-radio-group.d.ts +3 -26
- package/range-slider/index.cjs +2 -0
- package/range-slider/index.d.ts +1 -0
- package/range-slider/index.mjs +1 -0
- package/range-slider/range-slider-context.d.ts +4 -58
- package/range-slider/use-range-slider.d.ts +3 -30
- package/rating-group/index.cjs +4 -0
- package/rating-group/index.d.ts +2 -0
- package/rating-group/index.mjs +2 -0
- package/rating-group/rating-group-context.d.ts +4 -31
- package/rating-group/use-rating-group.d.ts +3 -16
- package/segment-group/index.cjs +4 -0
- package/segment-group/index.d.ts +2 -0
- package/segment-group/index.mjs +2 -0
- package/segment-group/segment-context.d.ts +11 -2
- package/segment-group/segment-group-context.d.ts +4 -49
- package/segment-group/use-segment-group.d.ts +3 -26
- package/select/index.cjs +2 -0
- package/select/index.d.ts +1 -0
- package/select/index.mjs +1 -0
- package/select/select-context.d.ts +4 -50
- package/select/use-select.d.ts +3 -26
- package/slider/index.cjs +2 -0
- package/slider/index.d.ts +1 -0
- package/slider/index.mjs +1 -0
- package/slider/slider-context.d.ts +4 -48
- package/slider/use-slider.d.ts +3 -25
- package/splitter/index.cjs +2 -0
- package/splitter/index.d.ts +1 -0
- package/splitter/index.mjs +1 -0
- package/splitter/splitter-context.d.ts +4 -46
- package/splitter/use-splitter.d.ts +4 -25
- package/switch/index.cjs +2 -0
- package/switch/index.d.ts +1 -0
- package/switch/index.mjs +1 -0
- package/switch/switch-context.d.ts +4 -24
- package/switch/use-switch.d.ts +3 -13
- package/tabs/index.cjs +2 -0
- package/tabs/index.d.ts +1 -0
- package/tabs/index.mjs +1 -0
- package/tabs/tabs-context.d.ts +4 -29
- package/tabs/use-tabs.d.ts +3 -15
- package/tags-input/index.cjs +2 -0
- package/tags-input/index.d.ts +1 -0
- package/tags-input/index.mjs +1 -0
- package/tags-input/tags-input-context.d.ts +4 -49
- package/tags-input/use-tags-input.d.ts +3 -26
- package/toast/index.cjs +2 -0
- package/toast/index.d.ts +1 -0
- package/toast/index.mjs +1 -0
- package/toast/toast-item-context.d.ts +4 -35
- package/toast/use-toast-item.d.ts +3 -18
- package/tooltip/index.cjs +2 -0
- package/tooltip/index.d.ts +1 -0
- package/tooltip/index.mjs +1 -0
- package/tooltip/tooltip-context.d.ts +4 -33
- package/tooltip/use-tooltip.d.ts +3 -17
package/number-input/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const numberInput = require('./number-input.cjs');
|
|
6
|
+
const numberInputContext = require('./number-input-context.cjs');
|
|
6
7
|
const numberInputControl = require('./number-input-control.cjs');
|
|
7
8
|
const numberInputDecrementTrigger = require('./number-input-decrement-trigger.cjs');
|
|
8
9
|
const numberInputField = require('./number-input-field.cjs');
|
|
@@ -14,6 +15,7 @@ const numberInput$1 = require('@zag-js/number-input');
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
exports.NumberInput = numberInput.NumberInput;
|
|
18
|
+
exports.useNumberInputContext = numberInputContext.useNumberInputContext;
|
|
17
19
|
exports.NumberInputControl = numberInputControl.NumberInputControl;
|
|
18
20
|
exports.NumberInputDecrementTrigger = numberInputDecrementTrigger.NumberInputDecrementTrigger;
|
|
19
21
|
exports.NumberInputField = numberInputField.NumberInputField;
|
package/number-input/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { NumberInput, type NumberInputProps } from './number-input';
|
|
2
|
+
export { useNumberInputContext } from './number-input-context';
|
|
2
3
|
export { NumberInputControl, type NumberInputControlProps } from './number-input-control';
|
|
3
4
|
export { NumberInputDecrementTrigger, type NumberInputDecrementTriggerProps, } from './number-input-decrement-trigger';
|
|
4
5
|
export { NumberInputField, type NumberInputFieldProps } from './number-input-field';
|
package/number-input/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { NumberInput } from './number-input.mjs';
|
|
2
|
+
export { useNumberInputContext } from './number-input-context.mjs';
|
|
2
3
|
export { NumberInputControl } from './number-input-control.mjs';
|
|
3
4
|
export { NumberInputDecrementTrigger } from './number-input-decrement-trigger.mjs';
|
|
4
5
|
export { NumberInputField } from './number-input-field.mjs';
|
|
@@ -1,47 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { PublicApi } from '@zag-js/number-input';
|
|
3
|
+
import type { Accessor } from 'solid-js';
|
|
2
4
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
3
5
|
import { type UseNumberInputReturn } from './use-number-input';
|
|
4
6
|
export type NumberInputContext = UseNumberInputReturn;
|
|
5
|
-
export declare const NumberInputProvider: ContextProviderComponent<Accessor<
|
|
6
|
-
isFocused: boolean;
|
|
7
|
-
isInvalid: boolean;
|
|
8
|
-
isValueEmpty: boolean;
|
|
9
|
-
value: string;
|
|
10
|
-
valueAsNumber: number;
|
|
11
|
-
setValue(value: string | number): void;
|
|
12
|
-
clearValue(): void;
|
|
13
|
-
increment(): void;
|
|
14
|
-
decrement(): void;
|
|
15
|
-
setToMax(): void;
|
|
16
|
-
setToMin(): void;
|
|
17
|
-
focus(): void;
|
|
18
|
-
blur(): void;
|
|
19
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
20
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
21
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
22
|
-
inputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
23
|
-
decrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
24
|
-
incrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
25
|
-
scrubberProps: JSX.HTMLAttributes<any>;
|
|
26
|
-
}>>, useNumberInputContext: () => Accessor<{
|
|
27
|
-
isFocused: boolean;
|
|
28
|
-
isInvalid: boolean;
|
|
29
|
-
isValueEmpty: boolean;
|
|
30
|
-
value: string;
|
|
31
|
-
valueAsNumber: number;
|
|
32
|
-
setValue(value: string | number): void;
|
|
33
|
-
clearValue(): void;
|
|
34
|
-
increment(): void;
|
|
35
|
-
decrement(): void;
|
|
36
|
-
setToMax(): void;
|
|
37
|
-
setToMin(): void;
|
|
38
|
-
focus(): void;
|
|
39
|
-
blur(): void;
|
|
40
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
41
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
42
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
43
|
-
inputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
44
|
-
decrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
45
|
-
incrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
46
|
-
scrubberProps: JSX.HTMLAttributes<any>;
|
|
47
|
-
}>;
|
|
7
|
+
export declare const NumberInputProvider: ContextProviderComponent<Accessor<PublicApi<PropTypes>>>, useNumberInputContext: () => Accessor<PublicApi<PropTypes>>;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { Accessor } from 'solid-js';
|
|
2
3
|
import * as numberInput from '@zag-js/number-input';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UseNumberInputProps = Optional<numberInput.Context, 'id'>;
|
|
5
|
-
export declare const useNumberInput: (props: UseNumberInputProps) => Accessor<
|
|
6
|
-
isFocused: boolean;
|
|
7
|
-
isInvalid: boolean;
|
|
8
|
-
isValueEmpty: boolean;
|
|
9
|
-
value: string;
|
|
10
|
-
valueAsNumber: number;
|
|
11
|
-
setValue(value: string | number): void;
|
|
12
|
-
clearValue(): void;
|
|
13
|
-
increment(): void;
|
|
14
|
-
decrement(): void;
|
|
15
|
-
setToMax(): void;
|
|
16
|
-
setToMin(): void;
|
|
17
|
-
focus(): void;
|
|
18
|
-
blur(): void;
|
|
19
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
20
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
21
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
22
|
-
inputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
23
|
-
decrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
24
|
-
incrementTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
25
|
-
scrubberProps: JSX.HTMLAttributes<any>;
|
|
26
|
-
}>;
|
|
6
|
+
export declare const useNumberInput: (props: UseNumberInputProps) => Accessor<numberInput.PublicApi<PropTypes>>;
|
|
27
7
|
export type UseNumberInputReturn = ReturnType<typeof useNumberInput>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark-ui/solid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "A collection of unstyled, accessible UI components for Solid, utilizing state machines for seamless interaction.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -59,68 +59,68 @@
|
|
|
59
59
|
"release-it": "release-it --config ../../release-it.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@zag-js/accordion": "0.
|
|
63
|
-
"@zag-js/anatomy": "0.
|
|
64
|
-
"@zag-js/avatar": "0.
|
|
65
|
-
"@zag-js/carousel": "0.
|
|
66
|
-
"@zag-js/checkbox": "0.
|
|
67
|
-
"@zag-js/color-picker": "0.
|
|
68
|
-
"@zag-js/combobox": "0.
|
|
69
|
-
"@zag-js/date-picker": "0.
|
|
70
|
-
"@zag-js/dialog": "0.
|
|
71
|
-
"@zag-js/editable": "0.
|
|
72
|
-
"@zag-js/hover-card": "0.
|
|
73
|
-
"@zag-js/menu": "0.
|
|
74
|
-
"@zag-js/number-input": "0.
|
|
75
|
-
"@zag-js/pagination": "0.
|
|
76
|
-
"@zag-js/pin-input": "0.
|
|
77
|
-
"@zag-js/popover": "0.
|
|
78
|
-
"@zag-js/pressable": "0.
|
|
79
|
-
"@zag-js/radio-group": "0.
|
|
80
|
-
"@zag-js/range-slider": "0.
|
|
81
|
-
"@zag-js/rating-group": "0.
|
|
82
|
-
"@zag-js/select": "0.
|
|
83
|
-
"@zag-js/slider": "0.
|
|
84
|
-
"@zag-js/solid": "0.
|
|
85
|
-
"@zag-js/splitter": "0.
|
|
86
|
-
"@zag-js/switch": "0.
|
|
87
|
-
"@zag-js/tabs": "0.
|
|
88
|
-
"@zag-js/tags-input": "0.
|
|
89
|
-
"@zag-js/toast": "0.
|
|
90
|
-
"@zag-js/tooltip": "0.
|
|
91
|
-
"@zag-js/types": "0.
|
|
62
|
+
"@zag-js/accordion": "0.13.0",
|
|
63
|
+
"@zag-js/anatomy": "0.13.0",
|
|
64
|
+
"@zag-js/avatar": "0.13.0",
|
|
65
|
+
"@zag-js/carousel": "0.13.0",
|
|
66
|
+
"@zag-js/checkbox": "0.13.0",
|
|
67
|
+
"@zag-js/color-picker": "0.13.0",
|
|
68
|
+
"@zag-js/combobox": "0.13.0",
|
|
69
|
+
"@zag-js/date-picker": "0.13.0",
|
|
70
|
+
"@zag-js/dialog": "0.13.0",
|
|
71
|
+
"@zag-js/editable": "0.13.0",
|
|
72
|
+
"@zag-js/hover-card": "0.13.0",
|
|
73
|
+
"@zag-js/menu": "0.13.0",
|
|
74
|
+
"@zag-js/number-input": "0.13.0",
|
|
75
|
+
"@zag-js/pagination": "0.13.0",
|
|
76
|
+
"@zag-js/pin-input": "0.13.0",
|
|
77
|
+
"@zag-js/popover": "0.13.0",
|
|
78
|
+
"@zag-js/pressable": "0.13.0",
|
|
79
|
+
"@zag-js/radio-group": "0.13.0",
|
|
80
|
+
"@zag-js/range-slider": "0.13.0",
|
|
81
|
+
"@zag-js/rating-group": "0.13.0",
|
|
82
|
+
"@zag-js/select": "0.13.0",
|
|
83
|
+
"@zag-js/slider": "0.13.0",
|
|
84
|
+
"@zag-js/solid": "0.13.0",
|
|
85
|
+
"@zag-js/splitter": "0.13.0",
|
|
86
|
+
"@zag-js/switch": "0.13.0",
|
|
87
|
+
"@zag-js/tabs": "0.13.0",
|
|
88
|
+
"@zag-js/tags-input": "0.13.0",
|
|
89
|
+
"@zag-js/toast": "0.13.0",
|
|
90
|
+
"@zag-js/tooltip": "0.13.0",
|
|
91
|
+
"@zag-js/types": "0.13.0"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@release-it/keep-a-changelog": "
|
|
94
|
+
"@release-it/keep-a-changelog": "4.0.0",
|
|
95
95
|
"@solidjs/testing-library": "0.8.4",
|
|
96
|
-
"@storybook/addon-essentials": "7.
|
|
97
|
-
"@storybook/addon-interactions": "7.
|
|
98
|
-
"@storybook/addon-links": "7.
|
|
99
|
-
"@storybook/blocks": "7.
|
|
96
|
+
"@storybook/addon-essentials": "7.2.1",
|
|
97
|
+
"@storybook/addon-interactions": "7.2.1",
|
|
98
|
+
"@storybook/addon-links": "7.2.1",
|
|
99
|
+
"@storybook/blocks": "7.2.1",
|
|
100
100
|
"@storybook/testing-library": "0.2.0",
|
|
101
101
|
"@testing-library/dom": "9.3.1",
|
|
102
|
-
"@testing-library/jest-dom": "5.
|
|
102
|
+
"@testing-library/jest-dom": "5.17.0",
|
|
103
103
|
"@testing-library/user-event": "14.4.3",
|
|
104
104
|
"@types/jsdom": "21.1.1",
|
|
105
|
-
"@types/testing-library__jest-dom": "5.14.
|
|
106
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
107
|
-
"@typescript-eslint/parser": "5.
|
|
108
|
-
"@vitest/coverage-v8": "0.
|
|
109
|
-
"eslint": "8.
|
|
105
|
+
"@types/testing-library__jest-dom": "5.14.9",
|
|
106
|
+
"@typescript-eslint/eslint-plugin": "5.62.0",
|
|
107
|
+
"@typescript-eslint/parser": "5.62.0",
|
|
108
|
+
"@vitest/coverage-v8": "0.34.1",
|
|
109
|
+
"eslint": "8.46.0",
|
|
110
110
|
"globby": "13.2.2",
|
|
111
|
-
"
|
|
111
|
+
"jsdom": "22.1.0",
|
|
112
112
|
"react": "18.2.0",
|
|
113
113
|
"react-dom": "18.2.0",
|
|
114
|
-
"release-it": "
|
|
115
|
-
"solid-js": "1.7.
|
|
116
|
-
"storybook": "7.
|
|
114
|
+
"release-it": "16.1.3",
|
|
115
|
+
"solid-js": "1.7.9",
|
|
116
|
+
"storybook": "7.2.1",
|
|
117
117
|
"storybook-solidjs": "1.0.0-beta.2",
|
|
118
118
|
"storybook-solidjs-vite": "1.0.0-beta.2",
|
|
119
119
|
"typescript": "5.1.6",
|
|
120
|
-
"vite": "4.4.
|
|
120
|
+
"vite": "4.4.8",
|
|
121
121
|
"vite-plugin-dts": "2.3.0",
|
|
122
122
|
"vite-plugin-solid": "2.7.0",
|
|
123
|
-
"vitest": "0.
|
|
123
|
+
"vitest": "0.34.1"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
126
|
"solid-js": ">=1.6.0"
|
package/pagination/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const pagination = require('./pagination.cjs');
|
|
6
|
+
const paginationContext = require('./pagination-context.cjs');
|
|
6
7
|
const paginationEllipsis = require('./pagination-ellipsis.cjs');
|
|
7
8
|
const paginationList = require('./pagination-list.cjs');
|
|
8
9
|
const paginationListItem = require('./pagination-list-item.cjs');
|
|
@@ -14,6 +15,7 @@ const pagination_anatomy = require('./pagination.anatomy.cjs');
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
exports.Pagination = pagination.Pagination;
|
|
18
|
+
exports.usePaginationContext = paginationContext.usePaginationContext;
|
|
17
19
|
exports.PaginationEllipsis = paginationEllipsis.PaginationEllipsis;
|
|
18
20
|
exports.PaginationList = paginationList.PaginationList;
|
|
19
21
|
exports.PaginationListItem = paginationListItem.PaginationListItem;
|
package/pagination/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Pagination, type PaginationProps } from './pagination';
|
|
2
|
+
export { usePaginationContext } from './pagination-context';
|
|
2
3
|
export { PaginationEllipsis, type PaginationEllipsisProps } from './pagination-ellipsis';
|
|
3
4
|
export { PaginationList, type PaginationListProps } from './pagination-list';
|
|
4
5
|
export { PaginationListItem, type PaginationListItemProps } from './pagination-list-item';
|
package/pagination/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Pagination } from './pagination.mjs';
|
|
2
|
+
export { usePaginationContext } from './pagination-context.mjs';
|
|
2
3
|
export { PaginationEllipsis } from './pagination-ellipsis.mjs';
|
|
3
4
|
export { PaginationList } from './pagination-list.mjs';
|
|
4
5
|
export { PaginationListItem } from './pagination-list-item.mjs';
|
|
@@ -1,48 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { PublicApi } from '@zag-js/pagination';
|
|
3
|
+
import type { Accessor } from 'solid-js';
|
|
3
4
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
4
5
|
import { type UsePaginationReturn } from './use-pagination';
|
|
5
6
|
export type PaginationContext = UsePaginationReturn;
|
|
6
|
-
export declare const PaginationProvider: ContextProviderComponent<Accessor<
|
|
7
|
-
page: number;
|
|
8
|
-
totalPages: number;
|
|
9
|
-
pages: PaginationRange;
|
|
10
|
-
previousPage: number | null;
|
|
11
|
-
nextPage: number | null;
|
|
12
|
-
pageRange: {
|
|
13
|
-
start: number;
|
|
14
|
-
end: number;
|
|
15
|
-
};
|
|
16
|
-
slice<T_1>(data: T_1[]): T_1[];
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
setCount(count: number): void;
|
|
20
|
-
setPageSize(size: number): void;
|
|
21
|
-
setPage(page: number): void;
|
|
22
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
23
|
-
getEllipsisProps(props: EllipsisProps): JSX.HTMLAttributes<any>;
|
|
24
|
-
getPageTriggerProps(page: PageTriggerProps): JSX.HTMLAttributes<any>;
|
|
25
|
-
prevPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
26
|
-
nextPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
27
|
-
}>>, usePaginationContext: () => Accessor<{
|
|
28
|
-
page: number;
|
|
29
|
-
totalPages: number;
|
|
30
|
-
pages: PaginationRange;
|
|
31
|
-
previousPage: number | null;
|
|
32
|
-
nextPage: number | null;
|
|
33
|
-
pageRange: {
|
|
34
|
-
start: number;
|
|
35
|
-
end: number;
|
|
36
|
-
};
|
|
37
|
-
slice<T_1>(data: T_1[]): T_1[];
|
|
38
|
-
isFirstPage: boolean;
|
|
39
|
-
isLastPage: boolean;
|
|
40
|
-
setCount(count: number): void;
|
|
41
|
-
setPageSize(size: number): void;
|
|
42
|
-
setPage(page: number): void;
|
|
43
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
44
|
-
getEllipsisProps(props: EllipsisProps): JSX.HTMLAttributes<any>;
|
|
45
|
-
getPageTriggerProps(page: PageTriggerProps): JSX.HTMLAttributes<any>;
|
|
46
|
-
prevPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
47
|
-
nextPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
48
|
-
}>;
|
|
7
|
+
export declare const PaginationProvider: ContextProviderComponent<Accessor<PublicApi<PropTypes>>>, usePaginationContext: () => Accessor<PublicApi<PropTypes>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'solid-js';
|
|
2
|
-
import type { EllipsisProps } from '@zag-js/pagination
|
|
2
|
+
import type { EllipsisProps } from '@zag-js/pagination';
|
|
3
3
|
import { type HTMLArkProps } from '../factory';
|
|
4
4
|
import type { Assign } from '../types';
|
|
5
5
|
export type PaginationEllipsisProps = Assign<HTMLArkProps<'div'>, EllipsisProps>;
|
|
@@ -1,28 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { Accessor
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { Accessor } from 'solid-js';
|
|
3
3
|
import * as pagination from '@zag-js/pagination';
|
|
4
4
|
import { type Optional } from '../types';
|
|
5
5
|
export type UsePaginationProps = Optional<pagination.Context, 'id'>;
|
|
6
|
-
export declare const usePagination: (props: UsePaginationProps) => Accessor<
|
|
7
|
-
page: number;
|
|
8
|
-
totalPages: number;
|
|
9
|
-
pages: PaginationRange;
|
|
10
|
-
previousPage: number | null;
|
|
11
|
-
nextPage: number | null;
|
|
12
|
-
pageRange: {
|
|
13
|
-
start: number;
|
|
14
|
-
end: number;
|
|
15
|
-
};
|
|
16
|
-
slice<T_1>(data: T_1[]): T_1[];
|
|
17
|
-
isFirstPage: boolean;
|
|
18
|
-
isLastPage: boolean;
|
|
19
|
-
setCount(count: number): void;
|
|
20
|
-
setPageSize(size: number): void;
|
|
21
|
-
setPage(page: number): void;
|
|
22
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
23
|
-
getEllipsisProps(props: EllipsisProps): JSX.HTMLAttributes<any>;
|
|
24
|
-
getPageTriggerProps(page: PageTriggerProps): JSX.HTMLAttributes<any>;
|
|
25
|
-
prevPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
26
|
-
nextPageTriggerProps: JSX.HTMLAttributes<any>;
|
|
27
|
-
}>;
|
|
6
|
+
export declare const usePagination: (props: UsePaginationProps) => Accessor<pagination.PublicApi<PropTypes>>;
|
|
28
7
|
export type UsePaginationReturn = ReturnType<typeof usePagination>;
|
package/pin-input/index.cjs
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const pinInput = require('./pin-input.cjs');
|
|
6
|
+
const pinInputContext = require('./pin-input-context.cjs');
|
|
6
7
|
const pinInputControl = require('./pin-input-control.cjs');
|
|
7
8
|
const pinInputField = require('./pin-input-field.cjs');
|
|
8
9
|
const pinInputLabel = require('./pin-input-label.cjs');
|
|
@@ -11,6 +12,7 @@ const pinInput$1 = require('@zag-js/pin-input');
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
exports.PinInput = pinInput.PinInput;
|
|
15
|
+
exports.usePinInputContext = pinInputContext.usePinInputContext;
|
|
14
16
|
exports.PinInputControl = pinInputControl.PinInputControl;
|
|
15
17
|
exports.PinInputField = pinInputField.PinInputField;
|
|
16
18
|
exports.PinInputLabel = pinInputLabel.PinInputLabel;
|
package/pin-input/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { PinInput, type PinInputProps } from './pin-input';
|
|
2
|
+
export { usePinInputContext } from './pin-input-context';
|
|
2
3
|
export { PinInputControl, type PinInputControlProps } from './pin-input-control';
|
|
3
4
|
export { PinInputField, type PinInputFieldProps } from './pin-input-field';
|
|
4
5
|
export { PinInputLabel, type PinInputLabelProps } from './pin-input-label';
|
package/pin-input/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { PinInput } from './pin-input.mjs';
|
|
2
|
+
export { usePinInputContext } from './pin-input-context.mjs';
|
|
2
3
|
export { PinInputControl } from './pin-input-control.mjs';
|
|
3
4
|
export { PinInputField } from './pin-input-field.mjs';
|
|
4
5
|
export { PinInputLabel } from './pin-input-label.mjs';
|
|
@@ -1,35 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { PublicApi } from '@zag-js/pin-input';
|
|
3
|
+
import type { Accessor } from 'solid-js';
|
|
2
4
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
3
5
|
import { type UsePinInputReturn } from './use-pin-input';
|
|
4
6
|
export type PinInputContext = UsePinInputReturn;
|
|
5
|
-
export declare const PinInputProvider: ContextProviderComponent<Accessor<
|
|
6
|
-
value: string[];
|
|
7
|
-
valueAsString: string;
|
|
8
|
-
isValueComplete: boolean;
|
|
9
|
-
setValue(value: string[]): void;
|
|
10
|
-
clearValue(): void;
|
|
11
|
-
setValueAtIndex(index: number, value: string): void;
|
|
12
|
-
focus: () => void;
|
|
13
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
14
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
15
|
-
hiddenInputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
16
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
17
|
-
getInputProps({ index }: {
|
|
18
|
-
index: number;
|
|
19
|
-
}): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
20
|
-
}>>, usePinInputContext: () => Accessor<{
|
|
21
|
-
value: string[];
|
|
22
|
-
valueAsString: string;
|
|
23
|
-
isValueComplete: boolean;
|
|
24
|
-
setValue(value: string[]): void;
|
|
25
|
-
clearValue(): void;
|
|
26
|
-
setValueAtIndex(index: number, value: string): void;
|
|
27
|
-
focus: () => void;
|
|
28
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
29
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
30
|
-
hiddenInputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
31
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
32
|
-
getInputProps({ index }: {
|
|
33
|
-
index: number;
|
|
34
|
-
}): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
35
|
-
}>;
|
|
7
|
+
export declare const PinInputProvider: ContextProviderComponent<Accessor<PublicApi<PropTypes>>>, usePinInputContext: () => Accessor<PublicApi<PropTypes>>;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { Accessor } from 'solid-js';
|
|
2
3
|
import * as pinInput from '@zag-js/pin-input';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UsePinInputProps = Optional<pinInput.Context, 'id'>;
|
|
5
6
|
export type UsePinInputReturn = ReturnType<typeof usePinInput>;
|
|
6
|
-
export declare const usePinInput: (props: UsePinInputProps) => Accessor<
|
|
7
|
-
value: string[];
|
|
8
|
-
valueAsString: string;
|
|
9
|
-
isValueComplete: boolean;
|
|
10
|
-
setValue(value: string[]): void;
|
|
11
|
-
clearValue(): void;
|
|
12
|
-
setValueAtIndex(index: number, value: string): void;
|
|
13
|
-
focus: () => void;
|
|
14
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
15
|
-
labelProps: JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
16
|
-
hiddenInputProps: JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
17
|
-
controlProps: JSX.HTMLAttributes<any>;
|
|
18
|
-
getInputProps({ index }: {
|
|
19
|
-
index: number;
|
|
20
|
-
}): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
21
|
-
}>;
|
|
7
|
+
export declare const usePinInput: (props: UsePinInputProps) => Accessor<pinInput.PublicApi<PropTypes>>;
|
package/popover/index.cjs
CHANGED
|
@@ -8,6 +8,7 @@ const popoverArrow = require('./popover-arrow.cjs');
|
|
|
8
8
|
const popoverArrowTip = require('./popover-arrow-tip.cjs');
|
|
9
9
|
const popoverCloseTrigger = require('./popover-close-trigger.cjs');
|
|
10
10
|
const popoverContent = require('./popover-content.cjs');
|
|
11
|
+
const popoverContext = require('./popover-context.cjs');
|
|
11
12
|
const popoverDescription = require('./popover-description.cjs');
|
|
12
13
|
const popoverPositioner = require('./popover-positioner.cjs');
|
|
13
14
|
const popoverTitle = require('./popover-title.cjs');
|
|
@@ -22,6 +23,7 @@ exports.PopoverArrow = popoverArrow.PopoverArrow;
|
|
|
22
23
|
exports.PopoverArrowTip = popoverArrowTip.PopoverArrowTip;
|
|
23
24
|
exports.PopoverCloseTrigger = popoverCloseTrigger.PopoverCloseTrigger;
|
|
24
25
|
exports.PopoverContent = popoverContent.PopoverContent;
|
|
26
|
+
exports.usePopoverContext = popoverContext.usePopoverContext;
|
|
25
27
|
exports.PopoverDescription = popoverDescription.PopoverDescription;
|
|
26
28
|
exports.PopoverPositioner = popoverPositioner.PopoverPositioner;
|
|
27
29
|
exports.PopoverTitle = popoverTitle.PopoverTitle;
|
package/popover/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { PopoverArrow, type PopoverArrowProps } from './popover-arrow';
|
|
|
4
4
|
export { PopoverArrowTip, type PopoverArrowTipProps } from './popover-arrow-tip';
|
|
5
5
|
export { PopoverCloseTrigger, type PopoverCloseTriggerProps } from './popover-close-trigger';
|
|
6
6
|
export { PopoverContent, type PopoverContentProps } from './popover-content';
|
|
7
|
+
export { usePopoverContext } from './popover-context';
|
|
7
8
|
export { PopoverDescription, type PopoverDescriptionProps } from './popover-description';
|
|
8
9
|
export { PopoverPositioner, type PopoverPositionerProps } from './popover-positioner';
|
|
9
10
|
export { PopoverTitle, type PopoverTitleProps } from './popover-title';
|
package/popover/index.mjs
CHANGED
|
@@ -4,6 +4,7 @@ export { PopoverArrow } from './popover-arrow.mjs';
|
|
|
4
4
|
export { PopoverArrowTip } from './popover-arrow-tip.mjs';
|
|
5
5
|
export { PopoverCloseTrigger } from './popover-close-trigger.mjs';
|
|
6
6
|
export { PopoverContent } from './popover-content.mjs';
|
|
7
|
+
export { usePopoverContext } from './popover-context.mjs';
|
|
7
8
|
export { PopoverDescription } from './popover-description.mjs';
|
|
8
9
|
export { PopoverPositioner } from './popover-positioner.mjs';
|
|
9
10
|
export { PopoverTitle } from './popover-title.mjs';
|
|
@@ -1,36 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { PublicApi } from '@zag-js/popover';
|
|
3
|
+
import type { Accessor } from 'solid-js';
|
|
3
4
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
4
5
|
import { type UsePopoverReturn } from './use-popover';
|
|
5
6
|
export type PopoverContext = UsePopoverReturn;
|
|
6
|
-
export declare const PopoverProvider: ContextProviderComponent<Accessor<
|
|
7
|
-
portalled: boolean;
|
|
8
|
-
isOpen: boolean;
|
|
9
|
-
open(): void;
|
|
10
|
-
close(): void;
|
|
11
|
-
setPositioning(options?: Partial<PositioningOptions> | undefined): void;
|
|
12
|
-
arrowProps: JSX.HTMLAttributes<any>;
|
|
13
|
-
arrowTipProps: JSX.HTMLAttributes<any>;
|
|
14
|
-
anchorProps: JSX.HTMLAttributes<any>;
|
|
15
|
-
triggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
16
|
-
positionerProps: JSX.HTMLAttributes<any>;
|
|
17
|
-
contentProps: JSX.HTMLAttributes<any>;
|
|
18
|
-
titleProps: JSX.HTMLAttributes<any>;
|
|
19
|
-
descriptionProps: JSX.HTMLAttributes<any>;
|
|
20
|
-
closeTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
21
|
-
}>>, usePopoverContext: () => Accessor<{
|
|
22
|
-
portalled: boolean;
|
|
23
|
-
isOpen: boolean;
|
|
24
|
-
open(): void;
|
|
25
|
-
close(): void;
|
|
26
|
-
setPositioning(options?: Partial<PositioningOptions> | undefined): void;
|
|
27
|
-
arrowProps: JSX.HTMLAttributes<any>;
|
|
28
|
-
arrowTipProps: JSX.HTMLAttributes<any>;
|
|
29
|
-
anchorProps: JSX.HTMLAttributes<any>;
|
|
30
|
-
triggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
31
|
-
positionerProps: JSX.HTMLAttributes<any>;
|
|
32
|
-
contentProps: JSX.HTMLAttributes<any>;
|
|
33
|
-
titleProps: JSX.HTMLAttributes<any>;
|
|
34
|
-
descriptionProps: JSX.HTMLAttributes<any>;
|
|
35
|
-
closeTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
36
|
-
}>;
|
|
7
|
+
export declare const PopoverProvider: ContextProviderComponent<Accessor<PublicApi<PropTypes>>>, usePopoverContext: () => Accessor<PublicApi<PropTypes>>;
|
package/popover/use-popover.d.ts
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { Accessor } from 'solid-js';
|
|
2
3
|
import * as popover from '@zag-js/popover';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UsePopoverProps = Optional<popover.Context, 'id'>;
|
|
5
|
-
export declare const usePopover: (props: UsePopoverProps) => Accessor<
|
|
6
|
-
portalled: boolean;
|
|
7
|
-
isOpen: boolean;
|
|
8
|
-
open(): void;
|
|
9
|
-
close(): void;
|
|
10
|
-
setPositioning(options?: Partial<popover.PositioningOptions> | undefined): void;
|
|
11
|
-
arrowProps: JSX.HTMLAttributes<any>;
|
|
12
|
-
arrowTipProps: JSX.HTMLAttributes<any>;
|
|
13
|
-
anchorProps: JSX.HTMLAttributes<any>;
|
|
14
|
-
triggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
15
|
-
positionerProps: JSX.HTMLAttributes<any>;
|
|
16
|
-
contentProps: JSX.HTMLAttributes<any>;
|
|
17
|
-
titleProps: JSX.HTMLAttributes<any>;
|
|
18
|
-
descriptionProps: JSX.HTMLAttributes<any>;
|
|
19
|
-
closeTriggerProps: JSX.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
20
|
-
}>;
|
|
6
|
+
export declare const usePopover: (props: UsePopoverProps) => Accessor<popover.PublicApi<PropTypes>>;
|
|
21
7
|
export type UsePopoverReturn = ReturnType<typeof usePopover>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { Accessor } from 'solid-js';
|
|
2
3
|
import * as pressable from '@zag-js/pressable';
|
|
3
4
|
import { type Optional } from '../types';
|
|
4
5
|
export type UsePressableProps = Optional<pressable.Context, 'id'>;
|
|
5
6
|
export type UsePressableReturn = ReturnType<typeof usePressable>;
|
|
6
|
-
export declare const usePressable: (props: UsePressableProps) => Accessor<
|
|
7
|
-
isPressed: boolean;
|
|
8
|
-
pressableProps: JSX.HTMLAttributes<any>;
|
|
9
|
-
}>;
|
|
7
|
+
export declare const usePressable: (props: UsePressableProps) => Accessor<pressable.PublicApi<PropTypes>>;
|
package/radio-group/index.cjs
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
5
|
const radio = require('./radio.cjs');
|
|
6
|
+
const radioContext = require('./radio-context.cjs');
|
|
6
7
|
const radioControl = require('./radio-control.cjs');
|
|
7
8
|
const radioGroup = require('./radio-group.cjs');
|
|
9
|
+
const radioGroupContext = require('./radio-group-context.cjs');
|
|
8
10
|
const radioGroupLabel = require('./radio-group-label.cjs');
|
|
9
11
|
const radioInput = require('./radio-input.cjs');
|
|
10
12
|
const radioLabel = require('./radio-label.cjs');
|
|
@@ -13,8 +15,10 @@ const radio$1 = require('@zag-js/radio-group');
|
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
exports.Radio = radio.Radio;
|
|
18
|
+
exports.useRadioContext = radioContext.useRadioContext;
|
|
16
19
|
exports.RadioControl = radioControl.RadioControl;
|
|
17
20
|
exports.RadioGroup = radioGroup.RadioGroup;
|
|
21
|
+
exports.useRadioGroupContext = radioGroupContext.useRadioGroupContext;
|
|
18
22
|
exports.RadioGroupLabel = radioGroupLabel.RadioGroupLabel;
|
|
19
23
|
exports.RadioInput = radioInput.RadioInput;
|
|
20
24
|
exports.RadioLabel = radioLabel.RadioLabel;
|
package/radio-group/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { Radio, type RadioProps } from './radio';
|
|
2
|
+
export { useRadioContext } from './radio-context';
|
|
2
3
|
export { RadioControl, type RadioControlProps } from './radio-control';
|
|
3
4
|
export { RadioGroup, type RadioGroupProps } from './radio-group';
|
|
5
|
+
export { useRadioGroupContext } from './radio-group-context';
|
|
4
6
|
export { RadioGroupLabel, type RadioGroupLabelProps } from './radio-group-label';
|
|
5
7
|
export { radioGroupAnatomy } from './radio-group.anatomy';
|
|
6
8
|
export { RadioInput, type RadioInputProps } from './radio-input';
|
package/radio-group/index.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { Radio } from './radio.mjs';
|
|
2
|
+
export { useRadioContext } from './radio-context.mjs';
|
|
2
3
|
export { RadioControl } from './radio-control.mjs';
|
|
3
4
|
export { RadioGroup } from './radio-group.mjs';
|
|
5
|
+
export { useRadioGroupContext } from './radio-group-context.mjs';
|
|
4
6
|
export { RadioGroupLabel } from './radio-group-label.mjs';
|
|
5
7
|
export { RadioInput } from './radio-input.mjs';
|
|
6
8
|
export { RadioLabel } from './radio-label.mjs';
|