@skeletonlabs/skeleton-react 2.0.0-next.19 → 2.0.0-next.20
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/components/accordion/modules/anatomy.d.ts +0 -2
- package/dist/components/accordion/modules/anatomy.d.ts.map +1 -1
- package/dist/components/accordion/modules/anatomy.js +0 -2
- package/dist/components/accordion/modules/anatomy.js.map +1 -1
- package/dist/components/combobox/anatomy/content.d.ts +2 -2
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +2 -2
- package/dist/components/combobox/anatomy/input.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/combobox/anatomy/label.d.ts +2 -2
- package/dist/components/combobox/anatomy/positioner.d.ts +2 -2
- package/dist/components/combobox/anatomy/trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/content.d.ts +10 -0
- package/dist/components/date-picker/anatomy/content.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/content.js +20 -0
- package/dist/components/date-picker/anatomy/content.js.map +1 -0
- package/dist/components/date-picker/anatomy/control.d.ts +10 -0
- package/dist/components/date-picker/anatomy/control.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/control.js +20 -0
- package/dist/components/date-picker/anatomy/control.js.map +1 -0
- package/dist/components/date-picker/anatomy/input.d.ts +11 -0
- package/dist/components/date-picker/anatomy/input.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/input.js +19 -0
- package/dist/components/date-picker/anatomy/input.js.map +1 -0
- package/dist/components/date-picker/anatomy/label.d.ts +10 -0
- package/dist/components/date-picker/anatomy/label.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/label.js +20 -0
- package/dist/components/date-picker/anatomy/label.js.map +1 -0
- package/dist/components/date-picker/anatomy/month-select.d.ts +10 -0
- package/dist/components/date-picker/anatomy/month-select.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/month-select.js +23 -0
- package/dist/components/date-picker/anatomy/month-select.js.map +1 -0
- package/dist/components/date-picker/anatomy/next-trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/next-trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/next-trigger.js +23 -0
- package/dist/components/date-picker/anatomy/next-trigger.js.map +1 -0
- package/dist/components/date-picker/anatomy/positioner.d.ts +10 -0
- package/dist/components/date-picker/anatomy/positioner.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/positioner.js +20 -0
- package/dist/components/date-picker/anatomy/positioner.js.map +1 -0
- package/dist/components/date-picker/anatomy/preset-trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/preset-trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/prev-trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/prev-trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/prev-trigger.js +23 -0
- package/dist/components/date-picker/anatomy/prev-trigger.js.map +1 -0
- package/dist/components/date-picker/anatomy/range-text.d.ts +10 -0
- package/dist/components/date-picker/anatomy/range-text.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/range-text.js +21 -0
- package/dist/components/date-picker/anatomy/range-text.js.map +1 -0
- package/dist/components/date-picker/anatomy/root-context.d.ts +11 -0
- package/dist/components/date-picker/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/root-context.js +13 -0
- package/dist/components/date-picker/anatomy/root-context.js.map +1 -0
- package/dist/components/date-picker/anatomy/root-provider.d.ts +13 -0
- package/dist/components/date-picker/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/root-provider.js +21 -0
- package/dist/components/date-picker/anatomy/root-provider.js.map +1 -0
- package/dist/components/date-picker/anatomy/root.d.ts +11 -0
- package/dist/components/date-picker/anatomy/root.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/root.js +25 -0
- package/dist/components/date-picker/anatomy/root.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-body.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table-body.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-body.js +22 -0
- package/dist/components/date-picker/anatomy/table-body.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-cell-trigger.js +31 -0
- package/dist/components/date-picker/anatomy/table-cell-trigger.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-cell.d.ts +12 -0
- package/dist/components/date-picker/anatomy/table-cell.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-cell.js +35 -0
- package/dist/components/date-picker/anatomy/table-cell.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-head.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table-head.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-head.js +22 -0
- package/dist/components/date-picker/anatomy/table-head.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-header.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table-header.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-header.js +22 -0
- package/dist/components/date-picker/anatomy/table-header.js.map +1 -0
- package/dist/components/date-picker/anatomy/table-row.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table-row.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table-row.js +22 -0
- package/dist/components/date-picker/anatomy/table-row.js.map +1 -0
- package/dist/components/date-picker/anatomy/table.d.ts +10 -0
- package/dist/components/date-picker/anatomy/table.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/table.js +22 -0
- package/dist/components/date-picker/anatomy/table.js.map +1 -0
- package/dist/components/date-picker/anatomy/trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/trigger.js +21 -0
- package/dist/components/date-picker/anatomy/trigger.js.map +1 -0
- package/dist/components/date-picker/anatomy/view-control.d.ts +10 -0
- package/dist/components/date-picker/anatomy/view-control.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/view-control.js +22 -0
- package/dist/components/date-picker/anatomy/view-control.js.map +1 -0
- package/dist/components/date-picker/anatomy/view-trigger.d.ts +10 -0
- package/dist/components/date-picker/anatomy/view-trigger.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/view-trigger.js +22 -0
- package/dist/components/date-picker/anatomy/view-trigger.js.map +1 -0
- package/dist/components/date-picker/anatomy/view.d.ts +11 -0
- package/dist/components/date-picker/anatomy/view.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/view.js +26 -0
- package/dist/components/date-picker/anatomy/view.js.map +1 -0
- package/dist/components/date-picker/anatomy/year-select.d.ts +10 -0
- package/dist/components/date-picker/anatomy/year-select.d.ts.map +1 -0
- package/dist/components/date-picker/anatomy/year-select.js +23 -0
- package/dist/components/date-picker/anatomy/year-select.js.map +1 -0
- package/dist/components/date-picker/index.d.ts +29 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/modules/anatomy.d.ts +54 -0
- package/dist/components/date-picker/modules/anatomy.d.ts.map +1 -0
- package/dist/components/date-picker/modules/anatomy.js +55 -0
- package/dist/components/date-picker/modules/anatomy.js.map +1 -0
- package/dist/components/date-picker/modules/provider.d.ts +8 -0
- package/dist/components/date-picker/modules/provider.d.ts.map +1 -0
- package/dist/components/date-picker/modules/provider.js +16 -0
- package/dist/components/date-picker/modules/provider.js.map +1 -0
- package/dist/components/date-picker/modules/root-context.js +8 -0
- package/dist/components/date-picker/modules/root-context.js.map +1 -0
- package/dist/components/date-picker/modules/table-cell-context.js +8 -0
- package/dist/components/date-picker/modules/table-cell-context.js.map +1 -0
- package/dist/components/date-picker/modules/view-context.js +8 -0
- package/dist/components/date-picker/modules/view-context.js.map +1 -0
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/label.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
- package/dist/components/navigation/anatomy/content.d.ts +2 -2
- package/dist/components/navigation/anatomy/footer.d.ts +2 -2
- package/dist/components/navigation/anatomy/group.d.ts +2 -2
- package/dist/components/navigation/anatomy/header.d.ts +2 -2
- package/dist/components/navigation/anatomy/label.d.ts +2 -2
- package/dist/components/navigation/anatomy/menu.d.ts +2 -2
- package/dist/components/navigation/anatomy/root.d.ts +2 -2
- package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
- package/dist/components/pagination/anatomy/item.d.ts +2 -2
- package/dist/components/pagination/anatomy/next-trigger.d.ts +2 -2
- package/dist/components/pagination/anatomy/prev-trigger.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow-tip.d.ts.map +1 -1
- package/dist/components/popover/anatomy/arrow.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow.d.ts.map +1 -1
- package/dist/components/rating-group/anatomy/control.d.ts +2 -2
- package/dist/components/rating-group/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/rating-group/anatomy/item.d.ts +2 -2
- package/dist/components/rating-group/anatomy/label.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root-provider.d.ts +2 -2
- package/dist/components/rating-group/anatomy/root.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/control.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/indicator.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-hidden-input.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item-text.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/item.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/label.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/index.d.ts +29 -2
- package/dist/index.js +4 -1
- package/dist/internal/components/calendar.js +37 -0
- package/dist/internal/components/calendar.js.map +1 -0
- package/dist/internal/components/check.js.map +1 -1
- package/dist/internal/components/chevron-down.js +8 -3
- package/dist/internal/components/chevron-down.js.map +1 -1
- package/dist/internal/components/chevron-left.js +26 -0
- package/dist/internal/components/chevron-left.js.map +1 -0
- package/dist/internal/components/chevron-right.js +26 -0
- package/dist/internal/components/chevron-right.js.map +1 -0
- package/dist/internal/components/star-empty.js +10 -5
- package/dist/internal/components/star-empty.js.map +1 -1
- package/dist/internal/components/star-full.js +10 -5
- package/dist/internal/components/star-full.js.map +1 -1
- package/dist/internal/components/star-half.js +10 -5
- package/dist/internal/components/star-half.js.map +1 -1
- package/dist/internal/components/x.js.map +1 -1
- package/dist/internal/union.d.ts +5 -0
- package/dist/internal/union.d.ts.map +1 -0
- package/package.json +7 -6
- package/dist/components/accordion/anatomy/item-heading.d.ts +0 -17
- package/dist/components/accordion/anatomy/item-heading.d.ts.map +0 -1
- package/dist/components/accordion/anatomy/item-heading.js +0 -18
- package/dist/components/accordion/anatomy/item-heading.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react41 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/anatomy/next-trigger.d.ts
|
|
6
6
|
interface PaginationNextTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function NextTrigger(props: PaginationNextTriggerProps):
|
|
7
|
+
declare function NextTrigger(props: PaginationNextTriggerProps): react41.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NextTrigger, PaginationNextTriggerProps };
|
|
10
10
|
//# sourceMappingURL=next-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react40 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination/anatomy/prev-trigger.d.ts
|
|
6
6
|
interface PaginationPrevTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function PrevTrigger(props: PaginationPrevTriggerProps):
|
|
7
|
+
declare function PrevTrigger(props: PaginationPrevTriggerProps): react40.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PaginationPrevTriggerProps, PrevTrigger };
|
|
10
10
|
//# sourceMappingURL=prev-trigger.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react119 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow-tip.d.ts
|
|
6
6
|
interface PopoverArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ArrowTip(props: PopoverArrowTipProps):
|
|
7
|
+
declare function ArrowTip(props: PopoverArrowTipProps): react119.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ArrowTip };
|
|
10
10
|
//# sourceMappingURL=arrow-tip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,uBAAoB,
|
|
1
|
+
{"version":3,"file":"arrow-tip.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/arrow-tip.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,QAAA,QAAgB,uBAAoB,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react118 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover/anatomy/arrow.d.ts
|
|
6
6
|
interface PopoverArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Arrow(props: PopoverArrowProps):
|
|
7
|
+
declare function Arrow(props: PopoverArrowProps): react118.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Arrow };
|
|
10
10
|
//# sourceMappingURL=arrow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,oBAAiB,
|
|
1
|
+
{"version":3,"file":"arrow.d.ts","names":[],"sources":["../../../../src/components/popover/anatomy/arrow.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,iBAAA,SAA0B,yBAAyB;iBAE5C,KAAA,QAAa,oBAAiB,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react61 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/control.d.ts
|
|
6
6
|
interface RatingGroupControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
7
|
-
declare function Control(props: RatingGroupControlProps):
|
|
7
|
+
declare function Control(props: RatingGroupControlProps): react61.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, RatingGroupControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react62 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/hidden-input.d.ts
|
|
6
6
|
interface RatingGroupHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'id' | 'dir' | 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: RatingGroupHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: RatingGroupHiddenInputProps): react62.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, RatingGroupHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=hidden-input.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react63 from "react";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { ItemProps } from "@zag-js/rating-group";
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ interface RatingGroupItemProps extends ItemProps, PropsWithElement<'span'>, HTML
|
|
|
25
25
|
*/
|
|
26
26
|
full?: ReactNode;
|
|
27
27
|
}
|
|
28
|
-
declare function Item(props: RatingGroupItemProps):
|
|
28
|
+
declare function Item(props: RatingGroupItemProps): react63.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Item, RatingGroupItemProps };
|
|
31
31
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react64 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/rating-group/anatomy/label.d.ts
|
|
6
6
|
interface RatingGroupLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
7
|
-
declare function Label(props: RatingGroupLabelProps):
|
|
7
|
+
declare function Label(props: RatingGroupLabelProps): react64.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, RatingGroupLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useRatingGroup } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root-provider.d.ts
|
|
7
7
|
interface RatingGroupRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useRatingGroup>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: RatingGroupRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: RatingGroupRootProviderProps): react_jsx_runtime25.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RatingGroupRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/rating-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/rating-group/anatomy/root.d.ts
|
|
7
7
|
interface RatingGroupRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: RatingGroupRootProps):
|
|
8
|
+
declare function Root(props: RatingGroupRootProps): react_jsx_runtime24.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { RatingGroupRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react58 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/control.d.ts
|
|
6
6
|
interface SegmentedControlControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: SegmentedControlControlProps):
|
|
7
|
+
declare function Control(props: SegmentedControlControlProps): react58.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, SegmentedControlControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react59 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/indicator.d.ts
|
|
6
6
|
interface SegmentedControlIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
7
|
-
declare function Indicator(props: SegmentedControlIndicatorProps):
|
|
7
|
+
declare function Indicator(props: SegmentedControlIndicatorProps): react59.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Indicator, SegmentedControlIndicatorProps };
|
|
10
10
|
//# sourceMappingURL=indicator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react56 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/item-hidden-input.d.ts
|
|
6
6
|
interface SegmentedControlItemHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps):
|
|
7
|
+
declare function ItemHiddenInput(props: SegmentedControlItemHiddenInputProps): react56.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemHiddenInput, SegmentedControlItemHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=item-hidden-input.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react60 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/item-text.d.ts
|
|
6
6
|
interface SegmentedControlItemTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function ItemText(props: SegmentedControlItemTextProps):
|
|
7
|
+
declare function ItemText(props: SegmentedControlItemTextProps): react60.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ItemText, SegmentedControlItemTextProps };
|
|
10
10
|
//# sourceMappingURL=item-text.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/item.d.ts
|
|
7
7
|
interface SegmentedControlItemProps extends ItemProps, PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
8
|
-
declare function Item(props: SegmentedControlItemProps):
|
|
8
|
+
declare function Item(props: SegmentedControlItemProps): react_jsx_runtime23.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, SegmentedControlItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react57 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/segmented-control/anatomy/label.d.ts
|
|
6
6
|
interface SegmentedControlLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Label(props: SegmentedControlLabelProps):
|
|
7
|
+
declare function Label(props: SegmentedControlLabelProps): react57.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, SegmentedControlLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { useSegmentedControl } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root-provider.d.ts
|
|
7
7
|
interface SegmentedControlRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useSegmentedControl>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SegmentedControlRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SegmentedControlRootProviderProps): react_jsx_runtime22.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SegmentedControlRootProviderProps };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/radio-group";
|
|
5
5
|
|
|
6
6
|
//#region src/components/segmented-control/anatomy/root.d.ts
|
|
7
7
|
interface SegmentedControlRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: SegmentedControlRootProps):
|
|
8
|
+
declare function Root(props: SegmentedControlRootProps): react_jsx_runtime21.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, SegmentedControlRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/switch";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root.d.ts
|
|
7
7
|
interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: SwitchRootProps):
|
|
8
|
+
declare function Root(props: SwitchRootProps): react_jsx_runtime44.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react120 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toast/anatomy/action-trigger.d.ts
|
|
6
6
|
interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function ActionTrigger(props: ToastActionTriggerProps):
|
|
7
|
+
declare function ActionTrigger(props: ToastActionTriggerProps): react120.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ActionTrigger };
|
|
10
10
|
//# sourceMappingURL=action-trigger.d.ts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AccordionItemContentProps } from "./components/accordion/anatomy/item-content.js";
|
|
2
|
-
import { AccordionItemHeadingProps } from "./components/accordion/anatomy/item-heading.js";
|
|
3
2
|
import { AccordionItemIndicatorProps } from "./components/accordion/anatomy/item-indicator.js";
|
|
4
3
|
import { AccordionItemProps } from "./components/accordion/anatomy/item.js";
|
|
5
4
|
import { AccordionRootProps } from "./components/accordion/anatomy/root.js";
|
|
@@ -37,6 +36,34 @@ import { ComboboxRootContextProps } from "./components/combobox/anatomy/root-con
|
|
|
37
36
|
import { ComboboxRootProviderProps } from "./components/combobox/anatomy/root-provider.js";
|
|
38
37
|
import { ComboboxTriggerProps } from "./components/combobox/anatomy/trigger.js";
|
|
39
38
|
import { Combobox } from "./components/combobox/modules/anatomy.js";
|
|
39
|
+
import { DatePickerContentProps } from "./components/date-picker/anatomy/content.js";
|
|
40
|
+
import { DatePickerControlProps } from "./components/date-picker/anatomy/control.js";
|
|
41
|
+
import { DatePickerInputProps } from "./components/date-picker/anatomy/input.js";
|
|
42
|
+
import { DatePickerLabelProps } from "./components/date-picker/anatomy/label.js";
|
|
43
|
+
import { DatePickerMonthSelectProps } from "./components/date-picker/anatomy/month-select.js";
|
|
44
|
+
import { DatePickerNextTriggerProps } from "./components/date-picker/anatomy/next-trigger.js";
|
|
45
|
+
import { DatePickerPositionerProps } from "./components/date-picker/anatomy/positioner.js";
|
|
46
|
+
import { DatePickerPresetTriggerProps } from "./components/date-picker/anatomy/preset-trigger.js";
|
|
47
|
+
import { DatePickerPrevTriggerProps } from "./components/date-picker/anatomy/prev-trigger.js";
|
|
48
|
+
import { DatePickerRangeTextProps } from "./components/date-picker/anatomy/range-text.js";
|
|
49
|
+
import { DatePickerRootProps } from "./components/date-picker/anatomy/root.js";
|
|
50
|
+
import { useDatePicker } from "./components/date-picker/modules/provider.js";
|
|
51
|
+
import { DatePickerRootContextProps } from "./components/date-picker/anatomy/root-context.js";
|
|
52
|
+
import { DatePickerRootProviderProps } from "./components/date-picker/anatomy/root-provider.js";
|
|
53
|
+
import { DatePickerTableProps } from "./components/date-picker/anatomy/table.js";
|
|
54
|
+
import { DatePickerTableBodyProps } from "./components/date-picker/anatomy/table-body.js";
|
|
55
|
+
import { DatePickerTableCellProps } from "./components/date-picker/anatomy/table-cell.js";
|
|
56
|
+
import { DatePickerTableCellTriggerProps } from "./components/date-picker/anatomy/table-cell-trigger.js";
|
|
57
|
+
import { DatePickerTableHeadProps } from "./components/date-picker/anatomy/table-head.js";
|
|
58
|
+
import { DatePickerTableHeaderProps } from "./components/date-picker/anatomy/table-header.js";
|
|
59
|
+
import { DatePickerTableRowProps } from "./components/date-picker/anatomy/table-row.js";
|
|
60
|
+
import { DatePickerTriggerProps } from "./components/date-picker/anatomy/trigger.js";
|
|
61
|
+
import { DatePickerViewProps } from "./components/date-picker/anatomy/view.js";
|
|
62
|
+
import { DatePickerViewControlProps } from "./components/date-picker/anatomy/view-control.js";
|
|
63
|
+
import { DatePickerViewTriggerProps } from "./components/date-picker/anatomy/view-trigger.js";
|
|
64
|
+
import { DatePickerYearSelectProps } from "./components/date-picker/anatomy/year-select.js";
|
|
65
|
+
import { DatePicker } from "./components/date-picker/modules/anatomy.js";
|
|
66
|
+
import { parseDate } from "./components/date-picker/index.js";
|
|
40
67
|
import { DialogBackdropProps } from "./components/dialog/anatomy/backdrop.js";
|
|
41
68
|
import { DialogCloseTriggerProps } from "./components/dialog/anatomy/close-trigger.js";
|
|
42
69
|
import { DialogContentProps } from "./components/dialog/anatomy/content.js";
|
|
@@ -191,4 +218,4 @@ import { TooltipRootProviderProps } from "./components/tooltip/anatomy/root-prov
|
|
|
191
218
|
import { TooltipTriggerProps } from "./components/tooltip/anatomy/trigger.js";
|
|
192
219
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
193
220
|
import { useListCollection } from "./hooks/use-list-collection.js";
|
|
194
|
-
export { Accordion, AccordionItemContentProps,
|
|
221
|
+
export { Accordion, AccordionItemContentProps, AccordionItemIndicatorProps, AccordionItemProps, AccordionItemTriggerProps, AccordionRootContextProps, AccordionRootProps, AccordionRootProviderProps, AppBar, AppBarHeadlineProps, AppBarLeadProps, AppBarRootProps, AppBarToolbarProps, AppBarTrailProps, Avatar, AvatarFallbackProps, AvatarImageProps, AvatarRootContextProps, AvatarRootProps, AvatarRootProviderProps, Combobox, ComboboxContentProps, ComboboxControlProps, ComboboxInputProps, ComboboxItemGroupLabelProps, ComboboxItemGroupProps, ComboboxItemIndicatorProps, ComboboxItemProps, ComboboxItemTextProps, ComboboxLabelProps, ComboboxPositionerProps, ComboboxRootContextProps, ComboboxRootProps, ComboboxRootProviderProps, ComboboxTriggerProps, DatePicker, DatePickerContentProps, DatePickerControlProps, DatePickerInputProps, DatePickerLabelProps, DatePickerMonthSelectProps, DatePickerNextTriggerProps, DatePickerPositionerProps, DatePickerPresetTriggerProps, DatePickerPrevTriggerProps, DatePickerRangeTextProps, DatePickerRootContextProps, DatePickerRootProps, DatePickerRootProviderProps, DatePickerTableBodyProps, DatePickerTableCellProps, DatePickerTableCellTriggerProps, DatePickerTableHeadProps, DatePickerTableHeaderProps, DatePickerTableProps, DatePickerTableRowProps, DatePickerTriggerProps, DatePickerViewControlProps, DatePickerViewProps, DatePickerViewTriggerProps, DatePickerYearSelectProps, Dialog, DialogBackdropProps, DialogCloseTriggerProps, DialogContentProps, DialogDescriptionProps, DialogPositionerProps, DialogRootContextProps, DialogRootProps, DialogRootProviderProps, DialogTitleProps, DialogTriggerProps, FileUpload, FileUploadDropzoneProps, FileUploadHiddenInputProps, FileUploadItemDeleteTriggerProps, FileUploadItemGroupProps, FileUploadItemNameProps, FileUploadItemProps, FileUploadItemSizeTextProps, FileUploadLabelProps, FileUploadRootContextProps, FileUploadRootProps, FileUploadRootProviderProps, FileUploadTriggerProps, Navigation, NavigationContentProps, NavigationFooterProps, NavigationGroupProps, NavigationHeaderProps, NavigationLabelProps, NavigationMenuProps, NavigationRootProps, Pagination, PaginationEllipsisProps, PaginationItemProps, PaginationNextTriggerProps, PaginationPrevTriggerProps, PaginationRootContextProps, PaginationRootProps, PaginationRootProviderProps, Popover, PopoverCloseTriggerProps, PopoverContentProps, PopoverDescriptionProps, PopoverPositionerProps, PopoverRootContextProps, PopoverRootProps, PopoverRootProviderProps, PopoverTitleProps, PopoverTriggerProps, Portal, PortalRootProps, Progress, ProgressCircleProps, ProgressCircleRangeProps, ProgressCircleTrackProps, ProgressLabelProps, ProgressRangeProps, ProgressRootContextProps, ProgressRootProps, ProgressRootProviderProps, ProgressTrackProps, ProgressValueTextProps, RatingGroup, RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupRootContextProps, RatingGroupRootProps, RatingGroupRootProviderProps, SegmentedControl, SegmentedControlControlProps, SegmentedControlIndicatorProps, SegmentedControlItemHiddenInputProps, SegmentedControlItemProps, SegmentedControlItemTextProps, SegmentedControlLabelProps, SegmentedControlRootContextProps, SegmentedControlRootProps, SegmentedControlRootProviderProps, Slider, SliderControlProps, SliderHiddenInputProps, SliderLabelProps, SliderMarkerGroupProps, SliderMarkerProps, SliderRangeProps, SliderRootContextProps, SliderRootProps, SliderRootProviderProps, SliderThumbProps, SliderTrackProps, SliderValueTextProps, Switch, SwitchControlProps, SwitchHiddenInputProps, SwitchLabelProps, SwitchRootContextProps, SwitchRootProviderProps, SwitchThumbProps, Tabs, TabsContentProps, TabsIndicatorProps, TabsListProps, TabsRootContextProps, TabsRootProps, TabsRootProviderProps, TabsTriggerProps, TagsInput, TagsInputClearTriggerProps, TagsInputControlProps, TagsInputHiddenInputProps, TagsInputInputProps, TagsInputItemDeleteTriggerProps, TagsInputItemInputProps, TagsInputItemPreviewProps, TagsInputItemProps, TagsInputItemTextProps, TagsInputLabelProps, TagsInputRootContextProps, TagsInputRootProps, TagsInputRootProviderProps, Toast, ToastCloseTriggerProps, ToastDescriptionProps, ToastGroupProps, ToastMessageProps, ToastRootContextProps, ToastRootProps, ToastTitleProps, Tooltip, TooltipArrowProps, TooltipArrowTipProps, TooltipContentProps, TooltipPositionerProps, TooltipRootContextProps, TooltipRootProps, TooltipRootProviderProps, TooltipTriggerProps, createToaster, parseDate, useAccordion, useAvatar, useCombobox, useDatePicker, useDialog, useFileUpload, useListCollection, usePagination, usePopover, useProgress, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useTooltip };
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,9 @@ import { useAvatar } from "./components/avatar/modules/provider.js";
|
|
|
5
5
|
import { Avatar } from "./components/avatar/modules/anatomy.js";
|
|
6
6
|
import { useCombobox } from "./components/combobox/modules/provider.js";
|
|
7
7
|
import { Combobox } from "./components/combobox/modules/anatomy.js";
|
|
8
|
+
import { useDatePicker } from "./components/date-picker/modules/provider.js";
|
|
9
|
+
import { DatePicker } from "./components/date-picker/modules/anatomy.js";
|
|
10
|
+
import { parseDate } from "./components/date-picker/index.js";
|
|
8
11
|
import { useDialog } from "./components/dialog/modules/provider.js";
|
|
9
12
|
import { Dialog } from "./components/dialog/modules/anatomy.js";
|
|
10
13
|
import { useFileUpload } from "./components/file-upload/modules/provider.js";
|
|
@@ -35,4 +38,4 @@ import { useTooltip } from "./components/tooltip/modules/provider.js";
|
|
|
35
38
|
import { Tooltip } from "./components/tooltip/modules/anatomy.js";
|
|
36
39
|
import { useListCollection } from "./hooks/use-list-collection.js";
|
|
37
40
|
|
|
38
|
-
export { Accordion, AppBar, Avatar, Combobox, Dialog, FileUpload, Navigation, Pagination, Popover, Portal, Progress, RatingGroup, SegmentedControl, Slider, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, useAccordion, useAvatar, useCombobox, useDialog, useFileUpload, useListCollection, usePagination, usePopover, useProgress, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
41
|
+
export { Accordion, AppBar, Avatar, Combobox, DatePicker, Dialog, FileUpload, Navigation, Pagination, Popover, Portal, Progress, RatingGroup, SegmentedControl, Slider, Switch, Tabs, TagsInput, Toast, Tooltip, createToaster, parseDate, useAccordion, useAvatar, useCombobox, useDatePicker, useDialog, useFileUpload, useListCollection, usePagination, usePopover, useProgress, useRatingGroup, useSegmentedControl, useSlider, useSwitch, useTabs, useTagsInput, useTooltip };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/internal/components/calendar.tsx
|
|
5
|
+
function Calendar(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: "24",
|
|
10
|
+
height: "24",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: "2",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
}, rest);
|
|
18
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
19
|
+
...attributes,
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
23
|
+
/* @__PURE__ */ jsx("rect", {
|
|
24
|
+
width: "18",
|
|
25
|
+
height: "18",
|
|
26
|
+
x: "3",
|
|
27
|
+
y: "4",
|
|
28
|
+
rx: "2"
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ jsx("path", { d: "M3 10h18" })
|
|
31
|
+
]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Calendar as default };
|
|
37
|
+
//# sourceMappingURL=calendar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.js","names":[],"sources":["../../../src/internal/components/calendar.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type CalendarProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function Calendar(props: CalendarProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"M8 2v4\" />\n\t\t\t<path d=\"M16 2v4\" />\n\t\t\t<rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\" />\n\t\t\t<path d=\"M3 10h18\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,SAAS,OAAsB;CACtD,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AAED,QACC,qBAAC;EAAI,GAAI;;GACR,oBAAC,UAAK,GAAE,WAAW;GACnB,oBAAC,UAAK,GAAE,YAAY;GACpB,oBAAC;IAAK,OAAM;IAAK,QAAO;IAAK,GAAE;IAAI,GAAE;IAAI,IAAG;KAAM;GAClD,oBAAC,UAAK,GAAE,aAAa;;GAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.js","names":[],"sources":["../../../src/internal/components/check.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type CheckProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function Check(props: CheckProps) {\n\tconst { ...rest } = props;\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"M20 6 9 17l-5-5\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,MAAM,OAAmB;CAChD,MAAM,EAAE,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"check.js","names":[],"sources":["../../../src/internal/components/check.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type CheckProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function Check(props: CheckProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"M20 6 9 17l-5-5\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,MAAM,OAAmB;CAChD,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AAED,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC,UAAK,GAAE,oBAAoB;GACvB"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
1
2
|
import { jsx } from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/internal/components/chevron-down.tsx
|
|
4
|
-
function ChevronDown() {
|
|
5
|
-
|
|
5
|
+
function ChevronDown(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
6
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
9
|
width: "24",
|
|
8
10
|
height: "24",
|
|
@@ -11,7 +13,10 @@ function ChevronDown() {
|
|
|
11
13
|
stroke: "currentColor",
|
|
12
14
|
strokeWidth: "2",
|
|
13
15
|
strokeLinecap: "round",
|
|
14
|
-
strokeLinejoin: "round"
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
}, rest);
|
|
18
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
+
...attributes,
|
|
15
20
|
children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
|
|
16
21
|
});
|
|
17
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-down.js","names":[],"sources":["../../../src/internal/components/chevron-down.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"chevron-down.js","names":[],"sources":["../../../src/internal/components/chevron-down.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type ChevronDownProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function ChevronDown(props: ChevronDownProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"m6 9 6 6 6-6\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,YAAY,OAAyB;CAC5D,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AAED,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC,UAAK,GAAE,iBAAiB;GACpB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/internal/components/chevron-left.tsx
|
|
5
|
+
function ChevronLeft(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: "24",
|
|
10
|
+
height: "24",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: "2",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
}, rest);
|
|
18
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
+
...attributes,
|
|
20
|
+
children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { ChevronLeft as default };
|
|
26
|
+
//# sourceMappingURL=chevron-left.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-left.js","names":[],"sources":["../../../src/internal/components/chevron-left.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type ChevronLeftProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function ChevronLeft(props: ChevronLeftProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"m15 18-6-6 6-6\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,YAAY,OAAyB;CAC5D,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AAED,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC,UAAK,GAAE,mBAAmB;GACtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/internal/components/chevron-right.tsx
|
|
5
|
+
function ChevronRight(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
width: "24",
|
|
10
|
+
height: "24",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeWidth: "2",
|
|
15
|
+
strokeLinecap: "round",
|
|
16
|
+
strokeLinejoin: "round"
|
|
17
|
+
}, rest);
|
|
18
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
+
...attributes,
|
|
20
|
+
children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { ChevronRight as default };
|
|
26
|
+
//# sourceMappingURL=chevron-right.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-right.js","names":[],"sources":["../../../src/internal/components/chevron-right.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type ChevronRightProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function ChevronRight(props: ChevronRightProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '2',\n\t\t\tstrokeLinecap: 'round',\n\t\t\tstrokeLinejoin: 'round',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path d=\"m9 18 6-6-6-6\" />\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,aAAa,OAA0B;CAC9D,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,eAAe;EACf,gBAAgB;EAChB,EACD,KACA;AAED,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC,UAAK,GAAE,kBAAkB;GACrB"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
import { mergeProps } from "@zag-js/react";
|
|
1
2
|
import { jsx } from "react/jsx-runtime";
|
|
2
3
|
|
|
3
4
|
//#region src/internal/components/star-empty.tsx
|
|
4
|
-
function StarEmpty() {
|
|
5
|
-
|
|
5
|
+
function StarEmpty(props) {
|
|
6
|
+
const { ...rest } = props;
|
|
7
|
+
const attributes = mergeProps({
|
|
6
8
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
viewBox: "0 0 24 24",
|
|
8
|
-
height: "24",
|
|
9
9
|
width: "24",
|
|
10
|
+
height: "24",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
10
12
|
fill: "none",
|
|
11
13
|
stroke: "currentColor",
|
|
12
|
-
strokeWidth: "1.5"
|
|
14
|
+
strokeWidth: "1.5"
|
|
15
|
+
}, rest);
|
|
16
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
17
|
+
...attributes,
|
|
13
18
|
children: /* @__PURE__ */ jsx("path", {
|
|
14
19
|
strokeLinecap: "round",
|
|
15
20
|
strokeLinejoin: "round",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"star-empty.js","names":[],"sources":["../../../src/internal/components/star-empty.tsx"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"star-empty.js","names":[],"sources":["../../../src/internal/components/star-empty.tsx"],"sourcesContent":["import type { HTMLAttributes } from '../html-attributes';\nimport { mergeProps } from '@zag-js/react';\n\nexport type StarEmptyProps = HTMLAttributes<'svg', 'children'>;\n\nexport default function StarEmpty(props: StarEmptyProps) {\n\tconst { ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\txmlns: 'http://www.w3.org/2000/svg',\n\t\t\twidth: '24',\n\t\t\theight: '24',\n\t\t\tviewBox: '0 0 24 24',\n\t\t\tfill: 'none',\n\t\t\tstroke: 'currentColor',\n\t\t\tstrokeWidth: '1.5',\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<svg {...attributes}>\n\t\t\t<path\n\t\t\t\tstrokeLinecap=\"round\"\n\t\t\t\tstrokeLinejoin=\"round\"\n\t\t\t\td=\"M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345\n l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557\n l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.562.562 0 0 0-.586 0\n L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557\n l-4.204-3.602a.562.562 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345\n L11.48 3.5Z\"\n\t\t\t/>\n\t\t</svg>\n\t);\n}\n"],"mappings":";;;;AAKA,SAAwB,UAAU,OAAuB;CACxD,MAAM,EAAE,GAAG,SAAS;CAEpB,MAAM,aAAa,WAClB;EACC,OAAO;EACP,OAAO;EACP,QAAQ;EACR,SAAS;EACT,MAAM;EACN,QAAQ;EACR,aAAa;EACb,EACD,KACA;AAED,QACC,oBAAC;EAAI,GAAI;YACR,oBAAC;GACA,eAAc;GACd,gBAAe;GACf,GAAE;IAMD;GACG"}
|