@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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { ViewContext } from "../modules/view-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { splitViewProps } from "@zag-js/date-picker";
|
|
8
|
+
|
|
9
|
+
//#region src/components/date-picker/anatomy/view.tsx
|
|
10
|
+
function View(props) {
|
|
11
|
+
const datePicker = use(RootContext);
|
|
12
|
+
const [viewProps, componentProps] = splitViewProps(props);
|
|
13
|
+
const { element, children,...rest } = componentProps;
|
|
14
|
+
const attributes = mergeProps(datePicker.getViewProps(viewProps), { className: classesDatePicker.view }, rest);
|
|
15
|
+
return /* @__PURE__ */ jsx(ViewContext.Provider, {
|
|
16
|
+
value: viewProps,
|
|
17
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
18
|
+
...attributes,
|
|
19
|
+
children
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { View as default };
|
|
26
|
+
//# sourceMappingURL=view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view.js","names":[],"sources":["../../../../src/components/date-picker/anatomy/view.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport { ViewContext } from '../modules/view-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesDatePicker } from '@skeletonlabs/skeleton-common';\nimport { splitViewProps, type ViewProps } from '@zag-js/date-picker';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface DatePickerViewProps extends Required<ViewProps>, PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function View(props: DatePickerViewProps) {\n\tconst datePicker = use(RootContext);\n\n\tconst [viewProps, componentProps] = splitViewProps(props) as [Required<ViewProps>, Omit<DatePickerViewProps, keyof ViewProps>];\n\tconst { element, children, ...rest } = componentProps;\n\n\tconst attributes = mergeProps(\n\t\tdatePicker.getViewProps(viewProps),\n\t\t{\n\t\t\tclassName: classesDatePicker.view,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<ViewContext.Provider value={viewProps}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</ViewContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;;;;AAWA,SAAwB,KAAK,OAA4B;CACxD,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,CAAC,WAAW,kBAAkB,eAAe,MAAM;CACzD,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,WAAW,aAAa,UAAU,EAClC,EACC,WAAW,kBAAkB,MAC7B,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO;YAAY,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react117 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/date-picker/anatomy/year-select.d.ts
|
|
6
|
+
interface DatePickerYearSelectProps extends PropsWithElement<'select'>, HTMLAttributes<'select', 'children'> {}
|
|
7
|
+
declare function YearSelect(props: DatePickerYearSelectProps): react117.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { DatePickerYearSelectProps, YearSelect };
|
|
10
|
+
//# sourceMappingURL=year-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"year-select.d.ts","names":[],"sources":["../../../../src/components/date-picker/anatomy/year-select.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,yBAAA,SAAkC,4BAA4B;iBAEvD,UAAA,QAAkB,4BAAyB,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { use } from "react";
|
|
3
|
+
import { mergeProps } from "@zag-js/react";
|
|
4
|
+
import { classesDatePicker } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/date-picker/anatomy/year-select.tsx
|
|
8
|
+
function YearSelect(props) {
|
|
9
|
+
const datePicker = use(RootContext);
|
|
10
|
+
const { element,...rest } = props;
|
|
11
|
+
const attributes = mergeProps(datePicker.getYearSelectProps(), { className: classesDatePicker.yearSelect }, rest);
|
|
12
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("select", {
|
|
13
|
+
...attributes,
|
|
14
|
+
children: datePicker.getYears().map((year, i) => /* @__PURE__ */ jsx("option", {
|
|
15
|
+
value: year.value,
|
|
16
|
+
children: year.label
|
|
17
|
+
}, i))
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { YearSelect as default };
|
|
23
|
+
//# sourceMappingURL=year-select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"year-select.js","names":[],"sources":["../../../../src/components/date-picker/anatomy/year-select.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesDatePicker } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface DatePickerYearSelectProps extends PropsWithElement<'select'>, HTMLAttributes<'select', 'children'> {}\n\nexport default function YearSelect(props: DatePickerYearSelectProps) {\n\tconst datePicker = use(RootContext);\n\n\tconst { element, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\tdatePicker.getYearSelectProps(),\n\t\t{\n\t\t\tclassName: classesDatePicker.yearSelect,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? (\n\t\telement(attributes)\n\t) : (\n\t\t<select {...attributes}>\n\t\t\t{datePicker.getYears().map((year, i) => (\n\t\t\t\t<option key={i} value={year.value}>\n\t\t\t\t\t{year.label}\n\t\t\t\t</option>\n\t\t\t))}\n\t\t</select>\n\t);\n}\n"],"mappings":";;;;;;;AASA,SAAwB,WAAW,OAAkC;CACpE,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,EAAE,QAAS,GAAG,SAAS;CAE7B,MAAM,aAAa,WAClB,WAAW,oBAAoB,EAC/B,EACC,WAAW,kBAAkB,YAC7B,EACD,KACA;AAED,QAAO,UACN,QAAQ,WAAW,GAEnB,oBAAC;EAAO,GAAI;YACV,WAAW,UAAU,CAAC,KAAK,MAAM,MACjC,oBAAC;GAAe,OAAO,KAAK;aAC1B,KAAK;KADM,EAEJ,CACR;GACM"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { DatePickerContentProps } from "./anatomy/content.js";
|
|
2
|
+
import { DatePickerControlProps } from "./anatomy/control.js";
|
|
3
|
+
import { DatePickerInputProps } from "./anatomy/input.js";
|
|
4
|
+
import { DatePickerLabelProps } from "./anatomy/label.js";
|
|
5
|
+
import { DatePickerMonthSelectProps } from "./anatomy/month-select.js";
|
|
6
|
+
import { DatePickerNextTriggerProps } from "./anatomy/next-trigger.js";
|
|
7
|
+
import { DatePickerPositionerProps } from "./anatomy/positioner.js";
|
|
8
|
+
import { DatePickerPresetTriggerProps } from "./anatomy/preset-trigger.js";
|
|
9
|
+
import { DatePickerPrevTriggerProps } from "./anatomy/prev-trigger.js";
|
|
10
|
+
import { DatePickerRangeTextProps } from "./anatomy/range-text.js";
|
|
11
|
+
import { DatePickerRootProps } from "./anatomy/root.js";
|
|
12
|
+
import { useDatePicker } from "./modules/provider.js";
|
|
13
|
+
import { DatePickerRootContextProps } from "./anatomy/root-context.js";
|
|
14
|
+
import { DatePickerRootProviderProps } from "./anatomy/root-provider.js";
|
|
15
|
+
import { DatePickerTableProps } from "./anatomy/table.js";
|
|
16
|
+
import { DatePickerTableBodyProps } from "./anatomy/table-body.js";
|
|
17
|
+
import { DatePickerTableCellProps } from "./anatomy/table-cell.js";
|
|
18
|
+
import { DatePickerTableCellTriggerProps } from "./anatomy/table-cell-trigger.js";
|
|
19
|
+
import { DatePickerTableHeadProps } from "./anatomy/table-head.js";
|
|
20
|
+
import { DatePickerTableHeaderProps } from "./anatomy/table-header.js";
|
|
21
|
+
import { DatePickerTableRowProps } from "./anatomy/table-row.js";
|
|
22
|
+
import { DatePickerTriggerProps } from "./anatomy/trigger.js";
|
|
23
|
+
import { DatePickerViewProps } from "./anatomy/view.js";
|
|
24
|
+
import { DatePickerViewControlProps } from "./anatomy/view-control.js";
|
|
25
|
+
import { DatePickerViewTriggerProps } from "./anatomy/view-trigger.js";
|
|
26
|
+
import { DatePickerYearSelectProps } from "./anatomy/year-select.js";
|
|
27
|
+
import { DatePicker } from "./modules/anatomy.js";
|
|
28
|
+
import { parse as parseDate } from "@zag-js/date-picker";
|
|
29
|
+
export { parseDate };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Content } from "../anatomy/content.js";
|
|
2
|
+
import { Control } from "../anatomy/control.js";
|
|
3
|
+
import { Input } from "../anatomy/input.js";
|
|
4
|
+
import { Label } from "../anatomy/label.js";
|
|
5
|
+
import { MonthSelect } from "../anatomy/month-select.js";
|
|
6
|
+
import { NextTrigger } from "../anatomy/next-trigger.js";
|
|
7
|
+
import { Positioner } from "../anatomy/positioner.js";
|
|
8
|
+
import { PrevTrigger } from "../anatomy/prev-trigger.js";
|
|
9
|
+
import { RangeText } from "../anatomy/range-text.js";
|
|
10
|
+
import { Root } from "../anatomy/root.js";
|
|
11
|
+
import { RootContext } from "../anatomy/root-context.js";
|
|
12
|
+
import { RootProvider } from "../anatomy/root-provider.js";
|
|
13
|
+
import { Table } from "../anatomy/table.js";
|
|
14
|
+
import { TableBody } from "../anatomy/table-body.js";
|
|
15
|
+
import { TableCell } from "../anatomy/table-cell.js";
|
|
16
|
+
import { TableCellTrigger } from "../anatomy/table-cell-trigger.js";
|
|
17
|
+
import { TableHead } from "../anatomy/table-head.js";
|
|
18
|
+
import { TableHeader } from "../anatomy/table-header.js";
|
|
19
|
+
import { TableRow } from "../anatomy/table-row.js";
|
|
20
|
+
import { Trigger } from "../anatomy/trigger.js";
|
|
21
|
+
import { View } from "../anatomy/view.js";
|
|
22
|
+
import { ViewControl } from "../anatomy/view-control.js";
|
|
23
|
+
import { ViewTrigger } from "../anatomy/view-trigger.js";
|
|
24
|
+
import { YearSelect } from "../anatomy/year-select.js";
|
|
25
|
+
|
|
26
|
+
//#region src/components/date-picker/modules/anatomy.d.ts
|
|
27
|
+
declare const DatePicker: typeof Root & {
|
|
28
|
+
Provider: typeof RootProvider;
|
|
29
|
+
Context: typeof RootContext;
|
|
30
|
+
Label: typeof Label;
|
|
31
|
+
Control: typeof Control;
|
|
32
|
+
Input: typeof Input;
|
|
33
|
+
Trigger: typeof Trigger;
|
|
34
|
+
Positioner: typeof Positioner;
|
|
35
|
+
Content: typeof Content;
|
|
36
|
+
YearSelect: typeof YearSelect;
|
|
37
|
+
MonthSelect: typeof MonthSelect;
|
|
38
|
+
View: typeof View;
|
|
39
|
+
ViewControl: typeof ViewControl;
|
|
40
|
+
PrevTrigger: typeof PrevTrigger;
|
|
41
|
+
ViewTrigger: typeof ViewTrigger;
|
|
42
|
+
RangeText: typeof RangeText;
|
|
43
|
+
NextTrigger: typeof NextTrigger;
|
|
44
|
+
Table: typeof Table;
|
|
45
|
+
TableHead: typeof TableHead;
|
|
46
|
+
TableRow: typeof TableRow;
|
|
47
|
+
TableHeader: typeof TableHeader;
|
|
48
|
+
TableBody: typeof TableBody;
|
|
49
|
+
TableCell: typeof TableCell;
|
|
50
|
+
TableCellTrigger: typeof TableCellTrigger;
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { DatePicker };
|
|
54
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/date-picker/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;cAyBa,mBAAU;;EAAV,OAAA,EAAA,kBAwBX;EAAA,KAAA,EAAA,YAAA;SAxBqB,EAAA,cAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import Content from "../anatomy/content.js";
|
|
2
|
+
import Control from "../anatomy/control.js";
|
|
3
|
+
import Input from "../anatomy/input.js";
|
|
4
|
+
import Label from "../anatomy/label.js";
|
|
5
|
+
import MonthSelect from "../anatomy/month-select.js";
|
|
6
|
+
import NextTrigger from "../anatomy/next-trigger.js";
|
|
7
|
+
import Positioner from "../anatomy/positioner.js";
|
|
8
|
+
import PrevTrigger from "../anatomy/prev-trigger.js";
|
|
9
|
+
import RangeText from "../anatomy/range-text.js";
|
|
10
|
+
import Root from "../anatomy/root.js";
|
|
11
|
+
import RootContext from "../anatomy/root-context.js";
|
|
12
|
+
import RootProvider from "../anatomy/root-provider.js";
|
|
13
|
+
import Table from "../anatomy/table.js";
|
|
14
|
+
import TableBody from "../anatomy/table-body.js";
|
|
15
|
+
import TableCell from "../anatomy/table-cell.js";
|
|
16
|
+
import TableCellTrigger from "../anatomy/table-cell-trigger.js";
|
|
17
|
+
import TableHead from "../anatomy/table-head.js";
|
|
18
|
+
import TableHeader from "../anatomy/table-header.js";
|
|
19
|
+
import TableRow from "../anatomy/table-row.js";
|
|
20
|
+
import Trigger from "../anatomy/trigger.js";
|
|
21
|
+
import View from "../anatomy/view.js";
|
|
22
|
+
import ViewControl from "../anatomy/view-control.js";
|
|
23
|
+
import ViewTrigger from "../anatomy/view-trigger.js";
|
|
24
|
+
import YearSelect from "../anatomy/year-select.js";
|
|
25
|
+
|
|
26
|
+
//#region src/components/date-picker/modules/anatomy.ts
|
|
27
|
+
const DatePicker = Object.assign(Root, {
|
|
28
|
+
Provider: RootProvider,
|
|
29
|
+
Context: RootContext,
|
|
30
|
+
Label,
|
|
31
|
+
Control,
|
|
32
|
+
Input,
|
|
33
|
+
Trigger,
|
|
34
|
+
Positioner,
|
|
35
|
+
Content,
|
|
36
|
+
YearSelect,
|
|
37
|
+
MonthSelect,
|
|
38
|
+
View,
|
|
39
|
+
ViewControl,
|
|
40
|
+
PrevTrigger,
|
|
41
|
+
ViewTrigger,
|
|
42
|
+
RangeText,
|
|
43
|
+
NextTrigger,
|
|
44
|
+
Table,
|
|
45
|
+
TableHead,
|
|
46
|
+
TableRow,
|
|
47
|
+
TableHeader,
|
|
48
|
+
TableBody,
|
|
49
|
+
TableCell,
|
|
50
|
+
TableCellTrigger
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
export { DatePicker };
|
|
55
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":[],"sources":["../../../../src/components/date-picker/modules/anatomy.ts"],"sourcesContent":["import Content from '../anatomy/content';\nimport Control from '../anatomy/control';\nimport Input from '../anatomy/input';\nimport Label from '../anatomy/label';\nimport MonthSelect from '../anatomy/month-select';\nimport NextTrigger from '../anatomy/next-trigger';\nimport Positioner from '../anatomy/positioner';\nimport PrevTrigger from '../anatomy/prev-trigger';\nimport RangeText from '../anatomy/range-text';\nimport Root from '../anatomy/root';\nimport RootContext from '../anatomy/root-context';\nimport RootProvider from '../anatomy/root-provider';\nimport Table from '../anatomy/table';\nimport TableBody from '../anatomy/table-body';\nimport TableCell from '../anatomy/table-cell';\nimport TableCellTrigger from '../anatomy/table-cell-trigger';\nimport TableHead from '../anatomy/table-head';\nimport TableHeader from '../anatomy/table-header';\nimport TableRow from '../anatomy/table-row';\nimport Trigger from '../anatomy/trigger';\nimport View from '../anatomy/view';\nimport ViewControl from '../anatomy/view-control';\nimport ViewTrigger from '../anatomy/view-trigger';\nimport YearSelect from '../anatomy/year-select';\n\nexport const DatePicker = Object.assign(Root, {\n\tProvider: RootProvider,\n\tContext: RootContext,\n\tLabel: Label,\n\tControl: Control,\n\tInput: Input,\n\tTrigger: Trigger,\n\tPositioner: Positioner,\n\tContent: Content,\n\tYearSelect: YearSelect,\n\tMonthSelect: MonthSelect,\n\tView: View,\n\tViewControl: ViewControl,\n\tPrevTrigger: PrevTrigger,\n\tViewTrigger: ViewTrigger,\n\tRangeText: RangeText,\n\tNextTrigger: NextTrigger,\n\tTable: Table,\n\tTableHead: TableHead,\n\tTableRow: TableRow,\n\tTableHeader: TableHeader,\n\tTableBody: TableBody,\n\tTableCell: TableCell,\n\tTableCellTrigger: TableCellTrigger,\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAa,aAAa,OAAO,OAAO,MAAM;CAC7C,UAAU;CACV,SAAS;CACF;CACE;CACF;CACE;CACG;CACH;CACG;CACC;CACP;CACO;CACA;CACA;CACF;CACE;CACN;CACI;CACD;CACG;CACF;CACA;CACO;CAClB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropTypes } from "@zag-js/react";
|
|
2
|
+
import { Api, Props } from "@zag-js/date-picker";
|
|
3
|
+
|
|
4
|
+
//#region src/components/date-picker/modules/provider.d.ts
|
|
5
|
+
declare function useDatePicker(props?: Omit<Props, 'id'>): Api<PropTypes>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { useDatePicker };
|
|
8
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","names":[],"sources":["../../../../src/components/date-picker/modules/provider.ts"],"sourcesContent":[],"mappings":";;;;iBAIgB,aAAA,SAAqB,KAAK,eAAoB,IAAI"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useId } from "react";
|
|
2
|
+
import { normalizeProps, useMachine } from "@zag-js/react";
|
|
3
|
+
import { connect, machine } from "@zag-js/date-picker";
|
|
4
|
+
|
|
5
|
+
//#region src/components/date-picker/modules/provider.ts
|
|
6
|
+
function useDatePicker(props = {}) {
|
|
7
|
+
const service = useMachine(machine, {
|
|
8
|
+
id: useId(),
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
return connect(service, normalizeProps);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { useDatePicker };
|
|
16
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","names":[],"sources":["../../../../src/components/date-picker/modules/provider.ts"],"sourcesContent":["import { type Api, connect, machine, type Props } from '@zag-js/date-picker';\nimport { normalizeProps, useMachine, type PropTypes } from '@zag-js/react';\nimport { useId } from 'react';\n\nexport function useDatePicker(props: Omit<Props, 'id'> = {}): Api<PropTypes> {\n\tconst service = useMachine(machine, {\n\t\tid: useId(),\n\t\t...props,\n\t});\n\treturn connect(service, normalizeProps);\n}\n"],"mappings":";;;;;AAIA,SAAgB,cAAc,QAA2B,EAAE,EAAkB;CAC5E,MAAM,UAAU,WAAW,SAAS;EACnC,IAAI,OAAO;EACX,GAAG;EACH,CAAC;AACF,QAAO,QAAQ,SAAS,eAAe"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/date-picker/modules/root-context.ts"],"sourcesContent":["import type { useDatePicker } from './provider';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<ReturnType<typeof useDatePicker>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAAiD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from "../../../internal/create-context.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/date-picker/modules/table-cell-context.ts
|
|
4
|
+
const TableCellContext = createContext();
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
export { TableCellContext };
|
|
8
|
+
//# sourceMappingURL=table-cell-context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-cell-context.js","names":[],"sources":["../../../../src/components/date-picker/modules/table-cell-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { Union } from '@/internal/union';\nimport type { DayTableCellProps, TableCellProps } from '@zag-js/date-picker';\n\nexport const TableCellContext = createContext<Union<TableCellProps, DayTableCellProps>>();\n"],"mappings":";;;AAIA,MAAa,mBAAmB,eAAyD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-context.js","names":[],"sources":["../../../../src/components/date-picker/modules/view-context.ts"],"sourcesContent":["import { createContext } from '@/internal/create-context';\nimport type { ViewProps } from '@zag-js/date-picker';\n\nexport const ViewContext = createContext<Required<ViewProps>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAAoC"}
|
|
@@ -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 react31 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/dropzone.d.ts
|
|
6
6
|
interface FileUploadDropzoneProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Dropzone(props: FileUploadDropzoneProps):
|
|
7
|
+
declare function Dropzone(props: FileUploadDropzoneProps): react31.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Dropzone, FileUploadDropzoneProps };
|
|
10
10
|
//# sourceMappingURL=dropzone.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 react32 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/hidden-input.d.ts
|
|
6
6
|
interface FileUploadHiddenInputProps extends PropsWithElement<'input'>, Omit<HTMLAttributes<'input'>, 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: FileUploadHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: FileUploadHiddenInputProps): react32.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadHiddenInputProps, HiddenInput };
|
|
10
10
|
//# sourceMappingURL=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 react33 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/item-delete-trigger.d.ts
|
|
6
6
|
interface FileUploadItemDeleteTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function ItemDeleteTrigger(props: FileUploadItemDeleteTriggerProps):
|
|
7
|
+
declare function ItemDeleteTrigger(props: FileUploadItemDeleteTriggerProps): react33.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadItemDeleteTriggerProps, ItemDeleteTrigger };
|
|
10
10
|
//# sourceMappingURL=item-delete-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 react34 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/item-group.d.ts
|
|
6
6
|
interface FileUploadItemGroupProps extends PropsWithElement<'ul'>, HTMLAttributes<'ul'> {}
|
|
7
|
-
declare function ItemGroup(props: FileUploadItemGroupProps):
|
|
7
|
+
declare function ItemGroup(props: FileUploadItemGroupProps): react34.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadItemGroupProps, ItemGroup };
|
|
10
10
|
//# sourceMappingURL=item-group.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 react35 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/item-name.d.ts
|
|
6
6
|
interface FileUploadItemNameProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ItemName(props: FileUploadItemNameProps):
|
|
7
|
+
declare function ItemName(props: FileUploadItemNameProps): react35.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadItemNameProps, ItemName };
|
|
10
10
|
//# sourceMappingURL=item-name.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 react36 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/item-size-text.d.ts
|
|
6
6
|
interface FileUploadItemSizeTextProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ItemSizeText(props: FileUploadItemSizeTextProps):
|
|
7
|
+
declare function ItemSizeText(props: FileUploadItemSizeTextProps): react36.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadItemSizeTextProps, ItemSizeText };
|
|
10
10
|
//# sourceMappingURL=item-size-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_runtime11 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/file-upload";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/item.d.ts
|
|
7
7
|
interface FileUploadItemProps extends ItemProps, PropsWithElement<'li'>, HTMLAttributes<'li'> {}
|
|
8
|
-
declare function Item(props: FileUploadItemProps):
|
|
8
|
+
declare function Item(props: FileUploadItemProps): react_jsx_runtime11.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemProps, Item };
|
|
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 react37 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/label.d.ts
|
|
6
6
|
interface FileUploadLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: FileUploadLabelProps):
|
|
7
|
+
declare function Label(props: FileUploadLabelProps): react37.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadLabelProps, Label };
|
|
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 { useFileUpload } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/root-provider.d.ts
|
|
7
7
|
interface FileUploadRootProviderProps extends PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useFileUpload>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: FileUploadRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: FileUploadRootProviderProps): react_jsx_runtime13.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FileUploadRootProviderProps, 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_runtime12 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/file-upload";
|
|
5
5
|
|
|
6
6
|
//#region src/components/file-upload/anatomy/root.d.ts
|
|
7
7
|
interface FileUploadRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, Omit<HTMLAttributes<'div'>, 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: FileUploadRootProps):
|
|
8
|
+
declare function Root(props: FileUploadRootProps): react_jsx_runtime12.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadRootProps, 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 react38 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/file-upload/anatomy/trigger.d.ts
|
|
6
6
|
interface FileUploadTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: FileUploadTriggerProps):
|
|
7
|
+
declare function Trigger(props: FileUploadTriggerProps): react38.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=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 react27 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/content.d.ts
|
|
6
6
|
interface NavigationContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationContent(props: NavigationContentProps):
|
|
7
|
+
declare function NavigationContent(props: NavigationContentProps): react27.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationContent, NavigationContentProps };
|
|
10
10
|
//# sourceMappingURL=content.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 react28 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/footer.d.ts
|
|
6
6
|
interface NavigationFooterProps extends PropsWithElement<'footer'>, HTMLAttributes<'footer'> {}
|
|
7
|
-
declare function NavigationFooter(props: NavigationFooterProps):
|
|
7
|
+
declare function NavigationFooter(props: NavigationFooterProps): react28.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationFooter, NavigationFooterProps };
|
|
10
10
|
//# sourceMappingURL=footer.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 react29 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/group.d.ts
|
|
6
6
|
interface NavigationGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationGroup(props: NavigationGroupProps):
|
|
7
|
+
declare function NavigationGroup(props: NavigationGroupProps): react29.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationGroup, NavigationGroupProps };
|
|
10
10
|
//# sourceMappingURL=group.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 react26 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/header.d.ts
|
|
6
6
|
interface NavigationHeaderProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
-
declare function NavigationHeader(props: NavigationHeaderProps):
|
|
7
|
+
declare function NavigationHeader(props: NavigationHeaderProps): react26.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationHeader, NavigationHeaderProps };
|
|
10
10
|
//# sourceMappingURL=header.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 react30 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/label.d.ts
|
|
6
6
|
interface NavigationLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationLabel(props: NavigationLabelProps):
|
|
7
|
+
declare function NavigationLabel(props: NavigationLabelProps): react30.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationLabel, NavigationLabelProps };
|
|
10
10
|
//# sourceMappingURL=label.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 react25 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/menu.d.ts
|
|
6
6
|
interface NavigationMenuProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function NavigationMenu(props: NavigationMenuProps):
|
|
7
|
+
declare function NavigationMenu(props: NavigationMenuProps): react25.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { NavigationMenu, NavigationMenuProps };
|
|
10
10
|
//# sourceMappingURL=menu.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 react_jsx_runtime10 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/navigation/anatomy/root.d.ts
|
|
6
6
|
interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {
|
|
@@ -11,7 +11,7 @@ interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'d
|
|
|
11
11
|
* */
|
|
12
12
|
layout?: 'bar' | 'rail' | 'sidebar';
|
|
13
13
|
}
|
|
14
|
-
declare function NavigationRoot(props: NavigationRootProps):
|
|
14
|
+
declare function NavigationRoot(props: NavigationRootProps): react_jsx_runtime10.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { NavigationRoot, NavigationRootProps };
|
|
17
17
|
//# 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 react39 from "react";
|
|
4
4
|
import { EllipsisProps } from "@zag-js/pagination";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/ellipsis.d.ts
|
|
7
7
|
interface PaginationEllipsisProps extends EllipsisProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Ellipsis(props: PaginationEllipsisProps):
|
|
8
|
+
declare function Ellipsis(props: PaginationEllipsisProps): react39.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Ellipsis, PaginationEllipsisProps };
|
|
11
11
|
//# sourceMappingURL=ellipsis.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 react42 from "react";
|
|
4
4
|
import { ItemProps } from "@zag-js/pagination";
|
|
5
5
|
|
|
6
6
|
//#region src/components/pagination/anatomy/item.d.ts
|
|
7
7
|
interface PaginationItemProps extends ItemProps, PropsWithElement<'a'>, HTMLAttributes<'a', 'type'> {}
|
|
8
|
-
declare function Item(props: PaginationItemProps):
|
|
8
|
+
declare function Item(props: PaginationItemProps): react42.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, PaginationItemProps };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|