@ark-ui/solid 0.8.0 → 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 +16 -32
- package/accordion/accordion-context.d.ts +4 -21
- package/accordion/index.cjs +24 -0
- package/accordion/index.d.ts +2 -0
- package/accordion/index.mjs +7 -0
- package/accordion/use-accordion.d.ts +3 -11
- package/avatar/avatar-context.d.ts +4 -20
- package/avatar/index.cjs +20 -0
- package/avatar/index.d.ts +1 -0
- package/avatar/index.mjs +5 -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 +29 -0
- package/carousel/index.d.ts +3 -0
- package/carousel/index.mjs +11 -0
- package/carousel/use-carousel.d.ts +3 -31
- package/checkbox/checkbox-context.d.ts +4 -27
- package/checkbox/index.cjs +22 -0
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.mjs +6 -0
- package/checkbox/use-checkbox.d.ts +3 -15
- package/color-picker/color-picker-area-context.cjs +13 -0
- package/color-picker/color-picker-area-context.d.ts +3 -0
- package/color-picker/color-picker-area-context.mjs +8 -0
- package/color-picker/color-picker-area-gradient.cjs +18 -0
- package/color-picker/color-picker-area-gradient.d.ts +4 -0
- package/color-picker/color-picker-area-gradient.mjs +14 -0
- package/color-picker/color-picker-area-thumb.cjs +18 -0
- package/color-picker/color-picker-area-thumb.d.ts +4 -0
- package/color-picker/color-picker-area-thumb.mjs +14 -0
- package/color-picker/color-picker-area.cjs +24 -0
- package/color-picker/color-picker-area.d.ts +5 -0
- package/color-picker/color-picker-area.mjs +20 -0
- package/color-picker/color-picker-channel-input.cjs +18 -0
- package/color-picker/color-picker-channel-input.d.ts +6 -0
- package/color-picker/color-picker-channel-input.mjs +14 -0
- package/color-picker/color-picker-channel-slider-background.cjs +18 -0
- package/color-picker/color-picker-channel-slider-background.d.ts +4 -0
- package/color-picker/color-picker-channel-slider-background.mjs +14 -0
- package/color-picker/color-picker-channel-slider-context.cjs +13 -0
- package/color-picker/color-picker-channel-slider-context.d.ts +3 -0
- package/color-picker/color-picker-channel-slider-context.mjs +8 -0
- package/color-picker/color-picker-channel-slider-thumb.cjs +18 -0
- package/color-picker/color-picker-channel-slider-thumb.d.ts +4 -0
- package/color-picker/color-picker-channel-slider-thumb.mjs +14 -0
- package/color-picker/color-picker-channel-slider-track.cjs +24 -0
- package/color-picker/color-picker-channel-slider-track.d.ts +6 -0
- package/color-picker/color-picker-channel-slider-track.mjs +20 -0
- package/color-picker/color-picker-content.cjs +16 -0
- package/color-picker/color-picker-content.d.ts +4 -0
- package/color-picker/color-picker-content.mjs +12 -0
- package/color-picker/color-picker-context.cjs +13 -0
- package/color-picker/color-picker-context.d.ts +7 -0
- package/color-picker/color-picker-context.mjs +8 -0
- package/color-picker/color-picker-eye-dropper-trigger.cjs +16 -0
- package/color-picker/color-picker-eye-dropper-trigger.d.ts +4 -0
- package/color-picker/color-picker-eye-dropper-trigger.mjs +12 -0
- package/color-picker/color-picker-swatch-background.cjs +18 -0
- package/color-picker/color-picker-swatch-background.d.ts +4 -0
- package/color-picker/color-picker-swatch-background.mjs +14 -0
- package/color-picker/color-picker-swatch-context.cjs +13 -0
- package/color-picker/color-picker-swatch-context.d.ts +3 -0
- package/color-picker/color-picker-swatch-context.mjs +8 -0
- package/color-picker/color-picker-swatch-group.cjs +15 -0
- package/color-picker/color-picker-swatch-group.d.ts +4 -0
- package/color-picker/color-picker-swatch-group.mjs +11 -0
- package/color-picker/color-picker-swatch.cjs +28 -0
- package/color-picker/color-picker-swatch.d.ts +6 -0
- package/color-picker/color-picker-swatch.mjs +24 -0
- package/color-picker/color-picker.anatomy.cjs +11 -0
- package/color-picker/color-picker.anatomy.d.ts +3 -0
- package/color-picker/color-picker.anatomy.mjs +6 -0
- package/color-picker/color-picker.cjs +23 -0
- package/color-picker/color-picker.d.ts +8 -0
- package/color-picker/color-picker.mjs +19 -0
- package/color-picker/index.cjs +41 -0
- package/color-picker/index.d.ts +17 -0
- package/color-picker/index.mjs +17 -0
- package/color-picker/use-color-picker.cjs +36 -0
- package/color-picker/use-color-picker.d.ts +7 -0
- package/color-picker/use-color-picker.mjs +13 -0
- 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 +34 -0
- package/combobox/index.d.ts +3 -0
- package/combobox/index.mjs +12 -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 +59 -0
- package/date-picker/index.d.ts +3 -0
- package/date-picker/index.mjs +26 -0
- package/date-picker/use-date-picker.d.ts +3 -128
- package/dialog/dialog-context.d.ts +4 -24
- package/dialog/index.cjs +30 -0
- package/dialog/index.d.ts +1 -0
- package/dialog/index.mjs +10 -0
- package/dialog/use-dialog.d.ts +3 -13
- package/editable/editable-context.d.ts +4 -38
- package/editable/index.cjs +32 -0
- package/editable/index.d.ts +1 -0
- package/editable/index.mjs +11 -0
- package/editable/use-editable.d.ts +3 -20
- package/environment/environment-context.cjs +1 -0
- package/environment/environment-context.mjs +1 -0
- package/environment/index.cjs +11 -0
- package/environment/index.mjs +2 -0
- package/hover-card/hover-card-context.d.ts +4 -23
- package/hover-card/index.cjs +26 -0
- package/hover-card/index.d.ts +1 -0
- package/hover-card/index.mjs +8 -0
- package/hover-card/use-hover-card.d.ts +3 -12
- package/index.cjs +180 -108
- package/index.mjs +58 -22
- package/menu/index.cjs +40 -0
- package/menu/index.d.ts +1 -0
- package/menu/index.mjs +15 -0
- package/merge-style.cjs +2 -0
- package/merge-style.mjs +2 -0
- package/number-input/index.cjs +28 -0
- package/number-input/index.d.ts +1 -0
- package/number-input/index.mjs +9 -0
- package/number-input/number-input-context.d.ts +4 -44
- package/number-input/use-number-input.d.ts +3 -23
- package/package.json +50 -51
- package/pagination/index.cjs +25 -0
- package/pagination/index.d.ts +1 -0
- package/pagination/index.mjs +9 -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 +22 -0
- package/pin-input/index.d.ts +1 -0
- package/pin-input/index.mjs +6 -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 +34 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.mjs +12 -0
- package/popover/popover-context.d.ts +4 -33
- package/popover/use-popover.d.ts +3 -17
- package/pressable/index.cjs +11 -0
- package/pressable/index.mjs +2 -0
- package/pressable/use-pressable.d.ts +3 -5
- package/radio-group/index.cjs +28 -0
- package/radio-group/index.d.ts +2 -0
- package/radio-group/index.mjs +9 -0
- package/radio-group/radio-context.cjs +1 -0
- package/radio-group/radio-context.d.ts +11 -2
- package/radio-group/radio-context.mjs +1 -0
- 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 +32 -0
- package/range-slider/index.d.ts +1 -0
- package/range-slider/index.mjs +11 -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 +24 -0
- package/rating-group/index.d.ts +2 -0
- package/rating-group/index.mjs +7 -0
- package/rating-group/rating-context.cjs +1 -0
- package/rating-group/rating-context.mjs +1 -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 +27 -0
- package/segment-group/index.d.ts +2 -0
- package/segment-group/index.mjs +10 -0
- package/segment-group/segment-context.cjs +1 -0
- package/segment-group/segment-context.d.ts +11 -2
- package/segment-group/segment-context.mjs +1 -0
- package/segment-group/segment-group-context.d.ts +4 -49
- package/segment-group/use-segment-group.d.ts +3 -26
- package/select/index.cjs +30 -0
- package/select/index.d.ts +1 -0
- package/select/index.mjs +10 -0
- package/select/select-context.d.ts +4 -50
- package/select/use-select.d.ts +3 -26
- package/slider/index.cjs +32 -0
- package/slider/index.d.ts +1 -0
- package/slider/index.mjs +11 -0
- package/slider/slider-context.d.ts +4 -48
- package/slider/use-slider.d.ts +3 -25
- package/splitter/index.cjs +20 -0
- package/splitter/index.d.ts +1 -0
- package/splitter/index.mjs +5 -0
- package/splitter/splitter-context.d.ts +4 -46
- package/splitter/use-splitter.d.ts +4 -25
- package/ssr-spread.cjs +1 -0
- package/ssr-spread.mjs +1 -0
- package/switch/index.cjs +24 -0
- package/switch/index.d.ts +1 -0
- package/switch/index.mjs +7 -0
- package/switch/switch-context.d.ts +4 -24
- package/switch/use-switch.d.ts +3 -13
- package/tabs/index.cjs +24 -0
- package/tabs/index.d.ts +1 -0
- package/tabs/index.mjs +7 -0
- package/tabs/tabs-context.d.ts +4 -29
- package/tabs/use-tabs.d.ts +3 -15
- package/tags-input/index.cjs +30 -0
- package/tags-input/index.d.ts +1 -0
- package/tags-input/index.mjs +10 -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 +29 -0
- package/toast/index.d.ts +1 -0
- package/toast/index.mjs +9 -0
- package/toast/toast-item-context.d.ts +4 -35
- package/toast/toast.cjs +6 -1
- package/toast/toast.mjs +7 -2
- package/toast/use-toast-item.d.ts +3 -18
- package/tooltip/index.cjs +26 -0
- package/tooltip/index.d.ts +1 -0
- package/tooltip/index.mjs +8 -0
- package/tooltip/tooltip-context.d.ts +4 -33
- package/tooltip/use-tooltip.d.ts +3 -17
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';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Pagination } from './pagination.mjs';
|
|
2
|
+
export { usePaginationContext } from './pagination-context.mjs';
|
|
3
|
+
export { PaginationEllipsis } from './pagination-ellipsis.mjs';
|
|
4
|
+
export { PaginationList } from './pagination-list.mjs';
|
|
5
|
+
export { PaginationListItem } from './pagination-list-item.mjs';
|
|
6
|
+
export { PaginationNextPageTrigger } from './pagination-next-page-trigger.mjs';
|
|
7
|
+
export { PaginationPageTrigger } from './pagination-page-trigger.mjs';
|
|
8
|
+
export { PaginationPrevPageTrigger } from './pagination-prev-page-trigger.mjs';
|
|
9
|
+
export { paginationAnatomy } from './pagination.anatomy.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>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const pinInput = require('./pin-input.cjs');
|
|
6
|
+
const pinInputContext = require('./pin-input-context.cjs');
|
|
7
|
+
const pinInputControl = require('./pin-input-control.cjs');
|
|
8
|
+
const pinInputField = require('./pin-input-field.cjs');
|
|
9
|
+
const pinInputLabel = require('./pin-input-label.cjs');
|
|
10
|
+
const pinInput$1 = require('@zag-js/pin-input');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.PinInput = pinInput.PinInput;
|
|
15
|
+
exports.usePinInputContext = pinInputContext.usePinInputContext;
|
|
16
|
+
exports.PinInputControl = pinInputControl.PinInputControl;
|
|
17
|
+
exports.PinInputField = pinInputField.PinInputField;
|
|
18
|
+
exports.PinInputLabel = pinInputLabel.PinInputLabel;
|
|
19
|
+
Object.defineProperty(exports, 'pinInputAnatomy', {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: () => pinInput$1.anatomy
|
|
22
|
+
});
|
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';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { PinInput } from './pin-input.mjs';
|
|
2
|
+
export { usePinInputContext } from './pin-input-context.mjs';
|
|
3
|
+
export { PinInputControl } from './pin-input-control.mjs';
|
|
4
|
+
export { PinInputField } from './pin-input-field.mjs';
|
|
5
|
+
export { PinInputLabel } from './pin-input-label.mjs';
|
|
6
|
+
export { anatomy as pinInputAnatomy } from '@zag-js/pin-input';
|
|
@@ -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>>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const popover = require('./popover.cjs');
|
|
6
|
+
const popoverAnchor = require('./popover-anchor.cjs');
|
|
7
|
+
const popoverArrow = require('./popover-arrow.cjs');
|
|
8
|
+
const popoverArrowTip = require('./popover-arrow-tip.cjs');
|
|
9
|
+
const popoverCloseTrigger = require('./popover-close-trigger.cjs');
|
|
10
|
+
const popoverContent = require('./popover-content.cjs');
|
|
11
|
+
const popoverContext = require('./popover-context.cjs');
|
|
12
|
+
const popoverDescription = require('./popover-description.cjs');
|
|
13
|
+
const popoverPositioner = require('./popover-positioner.cjs');
|
|
14
|
+
const popoverTitle = require('./popover-title.cjs');
|
|
15
|
+
const popoverTrigger = require('./popover-trigger.cjs');
|
|
16
|
+
const popover$1 = require('@zag-js/popover');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.Popover = popover.Popover;
|
|
21
|
+
exports.PopoverAnchor = popoverAnchor.PopoverAnchor;
|
|
22
|
+
exports.PopoverArrow = popoverArrow.PopoverArrow;
|
|
23
|
+
exports.PopoverArrowTip = popoverArrowTip.PopoverArrowTip;
|
|
24
|
+
exports.PopoverCloseTrigger = popoverCloseTrigger.PopoverCloseTrigger;
|
|
25
|
+
exports.PopoverContent = popoverContent.PopoverContent;
|
|
26
|
+
exports.usePopoverContext = popoverContext.usePopoverContext;
|
|
27
|
+
exports.PopoverDescription = popoverDescription.PopoverDescription;
|
|
28
|
+
exports.PopoverPositioner = popoverPositioner.PopoverPositioner;
|
|
29
|
+
exports.PopoverTitle = popoverTitle.PopoverTitle;
|
|
30
|
+
exports.PopoverTrigger = popoverTrigger.PopoverTrigger;
|
|
31
|
+
Object.defineProperty(exports, 'popoverAnatomy', {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: () => popover$1.anatomy
|
|
34
|
+
});
|
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';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { Popover } from './popover.mjs';
|
|
2
|
+
export { PopoverAnchor } from './popover-anchor.mjs';
|
|
3
|
+
export { PopoverArrow } from './popover-arrow.mjs';
|
|
4
|
+
export { PopoverArrowTip } from './popover-arrow-tip.mjs';
|
|
5
|
+
export { PopoverCloseTrigger } from './popover-close-trigger.mjs';
|
|
6
|
+
export { PopoverContent } from './popover-content.mjs';
|
|
7
|
+
export { usePopoverContext } from './popover-context.mjs';
|
|
8
|
+
export { PopoverDescription } from './popover-description.mjs';
|
|
9
|
+
export { PopoverPositioner } from './popover-positioner.mjs';
|
|
10
|
+
export { PopoverTitle } from './popover-title.mjs';
|
|
11
|
+
export { PopoverTrigger } from './popover-trigger.mjs';
|
|
12
|
+
export { anatomy as popoverAnatomy } from '@zag-js/popover';
|
|
@@ -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>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const pressable = require('./pressable.cjs');
|
|
6
|
+
const usePressable = require('./use-pressable.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.Pressable = pressable.Pressable;
|
|
11
|
+
exports.usePressable = usePressable.usePressable;
|
|
@@ -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>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const radio = require('./radio.cjs');
|
|
6
|
+
const radioContext = require('./radio-context.cjs');
|
|
7
|
+
const radioControl = require('./radio-control.cjs');
|
|
8
|
+
const radioGroup = require('./radio-group.cjs');
|
|
9
|
+
const radioGroupContext = require('./radio-group-context.cjs');
|
|
10
|
+
const radioGroupLabel = require('./radio-group-label.cjs');
|
|
11
|
+
const radioInput = require('./radio-input.cjs');
|
|
12
|
+
const radioLabel = require('./radio-label.cjs');
|
|
13
|
+
const radio$1 = require('@zag-js/radio-group');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.Radio = radio.Radio;
|
|
18
|
+
exports.useRadioContext = radioContext.useRadioContext;
|
|
19
|
+
exports.RadioControl = radioControl.RadioControl;
|
|
20
|
+
exports.RadioGroup = radioGroup.RadioGroup;
|
|
21
|
+
exports.useRadioGroupContext = radioGroupContext.useRadioGroupContext;
|
|
22
|
+
exports.RadioGroupLabel = radioGroupLabel.RadioGroupLabel;
|
|
23
|
+
exports.RadioInput = radioInput.RadioInput;
|
|
24
|
+
exports.RadioLabel = radioLabel.RadioLabel;
|
|
25
|
+
Object.defineProperty(exports, 'radioGroupAnatomy', {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: () => radio$1.anatomy
|
|
28
|
+
});
|
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';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { Radio } from './radio.mjs';
|
|
2
|
+
export { useRadioContext } from './radio-context.mjs';
|
|
3
|
+
export { RadioControl } from './radio-control.mjs';
|
|
4
|
+
export { RadioGroup } from './radio-group.mjs';
|
|
5
|
+
export { useRadioGroupContext } from './radio-group-context.mjs';
|
|
6
|
+
export { RadioGroupLabel } from './radio-group-label.mjs';
|
|
7
|
+
export { RadioInput } from './radio-input.mjs';
|
|
8
|
+
export { RadioLabel } from './radio-label.mjs';
|
|
9
|
+
export { anatomy as radioGroupAnatomy } from '@zag-js/radio-group';
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
import type { RadioProps } from '@zag-js/radio-group/dist/radio-group.types';
|
|
2
1
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
3
2
|
import { type connect } from '@zag-js/radio-group';
|
|
4
3
|
export type RadioContext = Parameters<ReturnType<typeof connect>['getRadioProps']>[0];
|
|
5
|
-
export declare const RadioProvider: ContextProviderComponent<
|
|
4
|
+
export declare const RadioProvider: ContextProviderComponent<{
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
readOnly?: boolean | undefined;
|
|
8
|
+
invalid?: boolean | undefined;
|
|
9
|
+
}>, useRadioContext: () => {
|
|
10
|
+
value: string;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
readOnly?: boolean | undefined;
|
|
13
|
+
invalid?: boolean | undefined;
|
|
14
|
+
};
|
|
@@ -1,52 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { PropTypes } from '@zag-js/solid';
|
|
2
|
+
import type { PublicApi } from '@zag-js/radio-group';
|
|
3
|
+
import type { Accessor } from 'solid-js';
|
|
3
4
|
import type { ContextProviderComponent } from 'solid-js/types/reactive/signal';
|
|
4
5
|
import { type UseRadioGroupReturn } from './use-radio-group';
|
|
5
6
|
export type RadioGroupContext = UseRadioGroupReturn;
|
|
6
|
-
export declare const RadioGroupProvider: ContextProviderComponent<Accessor<
|
|
7
|
-
value: string | null;
|
|
8
|
-
setValue(value: string): void;
|
|
9
|
-
clearValue(): void;
|
|
10
|
-
focus: () => void;
|
|
11
|
-
blur(): void;
|
|
12
|
-
getRadioState: <T_1 extends RadioProps>(props: T_1) => {
|
|
13
|
-
isInteractive: boolean;
|
|
14
|
-
isReadOnly: boolean | undefined;
|
|
15
|
-
isInvalid: boolean | undefined;
|
|
16
|
-
isDisabled: boolean | undefined;
|
|
17
|
-
isChecked: boolean;
|
|
18
|
-
isFocused: boolean;
|
|
19
|
-
isHovered: boolean;
|
|
20
|
-
isActive: boolean;
|
|
21
|
-
};
|
|
22
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
23
|
-
labelProps: JSX.HTMLAttributes<any>;
|
|
24
|
-
getRadioProps(props: RadioProps): JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
25
|
-
getRadioLabelProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
26
|
-
getRadioControlProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
27
|
-
getRadioInputProps(props: InputProps): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
28
|
-
indicatorProps: JSX.HTMLAttributes<any>;
|
|
29
|
-
}>>, useRadioGroupContext: () => Accessor<{
|
|
30
|
-
value: string | null;
|
|
31
|
-
setValue(value: string): void;
|
|
32
|
-
clearValue(): void;
|
|
33
|
-
focus: () => void;
|
|
34
|
-
blur(): void;
|
|
35
|
-
getRadioState: <T_1 extends RadioProps>(props: T_1) => {
|
|
36
|
-
isInteractive: boolean;
|
|
37
|
-
isReadOnly: boolean | undefined;
|
|
38
|
-
isInvalid: boolean | undefined;
|
|
39
|
-
isDisabled: boolean | undefined;
|
|
40
|
-
isChecked: boolean;
|
|
41
|
-
isFocused: boolean;
|
|
42
|
-
isHovered: boolean;
|
|
43
|
-
isActive: boolean;
|
|
44
|
-
};
|
|
45
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
46
|
-
labelProps: JSX.HTMLAttributes<any>;
|
|
47
|
-
getRadioProps(props: RadioProps): JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
48
|
-
getRadioLabelProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
49
|
-
getRadioControlProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
50
|
-
getRadioInputProps(props: InputProps): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
51
|
-
indicatorProps: JSX.HTMLAttributes<any>;
|
|
52
|
-
}>;
|
|
7
|
+
export declare const RadioGroupProvider: ContextProviderComponent<Accessor<PublicApi<PropTypes>>>, useRadioGroupContext: () => Accessor<PublicApi<PropTypes>>;
|
|
@@ -1,30 +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 radio from '@zag-js/radio-group';
|
|
4
4
|
import { type Optional } from '../types';
|
|
5
5
|
export type UseRadioGroupProps = Optional<radio.Context, 'id'>;
|
|
6
6
|
export type UseRadioGroupReturn = ReturnType<typeof useRadioGroup>;
|
|
7
|
-
export declare const useRadioGroup: (props: UseRadioGroupProps) => Accessor<
|
|
8
|
-
value: string | null;
|
|
9
|
-
setValue(value: string): void;
|
|
10
|
-
clearValue(): void;
|
|
11
|
-
focus: () => void;
|
|
12
|
-
blur(): void;
|
|
13
|
-
getRadioState: <T_1 extends RadioProps>(props: T_1) => {
|
|
14
|
-
isInteractive: boolean;
|
|
15
|
-
isReadOnly: boolean | undefined;
|
|
16
|
-
isInvalid: boolean | undefined;
|
|
17
|
-
isDisabled: boolean | undefined;
|
|
18
|
-
isChecked: boolean;
|
|
19
|
-
isFocused: boolean;
|
|
20
|
-
isHovered: boolean;
|
|
21
|
-
isActive: boolean;
|
|
22
|
-
};
|
|
23
|
-
rootProps: JSX.HTMLAttributes<any>;
|
|
24
|
-
labelProps: JSX.HTMLAttributes<any>;
|
|
25
|
-
getRadioProps(props: RadioProps): JSX.LabelHTMLAttributes<HTMLLabelElement>;
|
|
26
|
-
getRadioLabelProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
27
|
-
getRadioControlProps(props: RadioProps): JSX.HTMLAttributes<any>;
|
|
28
|
-
getRadioInputProps(props: InputProps): JSX.InputHTMLAttributes<HTMLInputElement>;
|
|
29
|
-
indicatorProps: JSX.HTMLAttributes<any>;
|
|
30
|
-
}>;
|
|
7
|
+
export declare const useRadioGroup: (props: UseRadioGroupProps) => Accessor<radio.PublicApi<PropTypes>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const rangeSlider = require('./range-slider.cjs');
|
|
6
|
+
const rangeSliderContext = require('./range-slider-context.cjs');
|
|
7
|
+
const rangeSliderControl = require('./range-slider-control.cjs');
|
|
8
|
+
const rangeSliderLabel = require('./range-slider-label.cjs');
|
|
9
|
+
const rangeSliderMarker = require('./range-slider-marker.cjs');
|
|
10
|
+
const rangeSliderMarkerGroup = require('./range-slider-marker-group.cjs');
|
|
11
|
+
const rangeSliderOutput = require('./range-slider-output.cjs');
|
|
12
|
+
const rangeSliderRange = require('./range-slider-range.cjs');
|
|
13
|
+
const rangeSliderThumb = require('./range-slider-thumb.cjs');
|
|
14
|
+
const rangeSliderTrack = require('./range-slider-track.cjs');
|
|
15
|
+
const rangeSlider$1 = require('@zag-js/range-slider');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.RangeSlider = rangeSlider.RangeSlider;
|
|
20
|
+
exports.useRangeSliderContext = rangeSliderContext.useRangeSliderContext;
|
|
21
|
+
exports.RangeSliderControl = rangeSliderControl.RangeSliderControl;
|
|
22
|
+
exports.RangeSliderLabel = rangeSliderLabel.RangeSliderLabel;
|
|
23
|
+
exports.RangeSliderMarker = rangeSliderMarker.RangeSliderMarker;
|
|
24
|
+
exports.RangeSliderMarkerGroup = rangeSliderMarkerGroup.RangeSliderMarkerGroup;
|
|
25
|
+
exports.RangeSliderOutput = rangeSliderOutput.RangeSliderOutput;
|
|
26
|
+
exports.RangeSliderRange = rangeSliderRange.RangeSliderRange;
|
|
27
|
+
exports.RangeSliderThumb = rangeSliderThumb.RangeSliderThumb;
|
|
28
|
+
exports.RangeSliderTrack = rangeSliderTrack.RangeSliderTrack;
|
|
29
|
+
Object.defineProperty(exports, 'rangeSliderAnatomy', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: () => rangeSlider$1.anatomy
|
|
32
|
+
});
|
package/range-slider/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { RangeSlider, type RangeSliderProps } from './range-slider';
|
|
2
|
+
export { useRangeSliderContext } from './range-slider-context';
|
|
2
3
|
export { RangeSliderControl, type RangeSliderControlProps } from './range-slider-control';
|
|
3
4
|
export { RangeSliderLabel, type RangeSliderLabelProps } from './range-slider-label';
|
|
4
5
|
export { RangeSliderMarker, type RangeSliderMarkerProps } from './range-slider-marker';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { RangeSlider } from './range-slider.mjs';
|
|
2
|
+
export { useRangeSliderContext } from './range-slider-context.mjs';
|
|
3
|
+
export { RangeSliderControl } from './range-slider-control.mjs';
|
|
4
|
+
export { RangeSliderLabel } from './range-slider-label.mjs';
|
|
5
|
+
export { RangeSliderMarker } from './range-slider-marker.mjs';
|
|
6
|
+
export { RangeSliderMarkerGroup } from './range-slider-marker-group.mjs';
|
|
7
|
+
export { RangeSliderOutput } from './range-slider-output.mjs';
|
|
8
|
+
export { RangeSliderRange } from './range-slider-range.mjs';
|
|
9
|
+
export { RangeSliderThumb } from './range-slider-thumb.mjs';
|
|
10
|
+
export { RangeSliderTrack } from './range-slider-track.mjs';
|
|
11
|
+
export { anatomy as rangeSliderAnatomy } from '@zag-js/range-slider';
|