@skeletonlabs/skeleton-react 4.0.0 → 4.0.2
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/anatomy/item-content.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/modules/provider.js +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
- package/dist/components/app-bar/anatomy/root.d.ts +2 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
- package/dist/components/avatar/anatomy/image.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/modules/provider.js +2 -3
- package/dist/components/collapsible/anatomy/indicator.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root-provider.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root.d.ts +2 -2
- package/dist/components/collapsible/anatomy/trigger.d.ts +2 -2
- package/dist/components/collapsible/modules/provider.js +2 -3
- package/dist/components/combobox/anatomy/item-group-label.js +1 -2
- package/dist/components/combobox/modules/provider.js +2 -3
- package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
- package/dist/components/date-picker/modules/provider.js +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/dialog/anatomy/content.d.ts +2 -2
- package/dist/components/dialog/anatomy/description.d.ts +2 -2
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/title.d.ts +2 -2
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
- package/dist/components/dialog/modules/provider.js +2 -3
- 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/file-upload/modules/provider.js +2 -3
- package/dist/components/listbox/anatomy/content.d.ts +2 -2
- package/dist/components/listbox/anatomy/input.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.js +1 -2
- package/dist/components/listbox/anatomy/item-group.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-text.d.ts +2 -2
- package/dist/components/listbox/anatomy/label.d.ts +2 -2
- package/dist/components/listbox/anatomy/root.d.ts +2 -2
- package/dist/components/listbox/modules/provider.js +2 -3
- package/dist/components/pagination/modules/provider.js +2 -3
- package/dist/components/popover/modules/provider.js +2 -3
- package/dist/components/progress/modules/provider.js +2 -3
- package/dist/components/rating-group/modules/provider.js +2 -3
- package/dist/components/segmented-control/modules/provider.js +2 -3
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/slider/anatomy/label.d.ts +2 -2
- package/dist/components/slider/anatomy/marker.d.ts +2 -2
- package/dist/components/slider/anatomy/range.d.ts +2 -2
- package/dist/components/slider/anatomy/value-text.d.ts +2 -2
- package/dist/components/slider/modules/provider.js +2 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/switch/anatomy/label.d.ts +2 -2
- package/dist/components/switch/modules/provider.js +2 -3
- package/dist/components/tabs/modules/provider.js +2 -3
- package/dist/components/tags-input/modules/provider.js +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/description.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +2 -3
- package/dist/components/toast/anatomy/title.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
- package/dist/components/tooltip/anatomy/content.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
- package/dist/components/tooltip/modules/provider.js +2 -3
- package/dist/components/tree-view/modules/provider.js +2 -3
- package/dist/internal/components/calendar.js +11 -12
- package/dist/internal/components/check.js +11 -12
- package/dist/internal/components/chevron-down.js +11 -12
- package/dist/internal/components/chevron-left.js +11 -12
- package/dist/internal/components/chevron-right.js +11 -12
- package/dist/internal/components/star-empty.js +9 -10
- package/dist/internal/components/star-full.js +7 -8
- package/dist/internal/components/star-half.js +9 -10
- package/dist/internal/components/x.js +11 -12
- package/package.json +25 -25
|
@@ -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 react5 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-content.d.ts
|
|
7
7
|
interface AccordionItemContentProps extends PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemContent(props: AccordionItemContentProps):
|
|
8
|
+
declare function ItemContent(props: AccordionItemContentProps): react5.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemContentProps, ItemContent };
|
|
11
11
|
//# sourceMappingURL=item-content.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 react6 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-indicator.d.ts
|
|
7
7
|
interface AccordionItemIndicatorProps extends PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function ItemIndicator(props: AccordionItemIndicatorProps):
|
|
8
|
+
declare function ItemIndicator(props: AccordionItemIndicatorProps): react6.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemIndicatorProps, ItemIndicator };
|
|
11
11
|
//# sourceMappingURL=item-indicator.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 react7 from "react";
|
|
4
4
|
import { PropsWithChildren } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/item-trigger.d.ts
|
|
7
7
|
interface AccordionItemTriggerProps extends PropsWithChildren, PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
8
|
-
declare function ItemTrigger(props: AccordionItemTriggerProps):
|
|
8
|
+
declare function ItemTrigger(props: AccordionItemTriggerProps): react7.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionItemTriggerProps, ItemTrigger };
|
|
11
11
|
//# sourceMappingURL=item-trigger.d.ts.map
|
|
@@ -2,11 +2,11 @@ import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { PropsWithChildren } from "react";
|
|
4
4
|
import { ItemProps } from "@zag-js/accordion";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region src/components/accordion/anatomy/item.d.ts
|
|
8
8
|
interface AccordionItemProps extends ItemProps, PropsWithChildren, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
9
|
-
declare function Item(props: AccordionItemProps):
|
|
9
|
+
declare function Item(props: AccordionItemProps): react_jsx_runtime2.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AccordionItemProps, Item };
|
|
12
12
|
//# sourceMappingURL=item.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
3
|
import { Props } from "@zag-js/accordion";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/accordion/anatomy/root.d.ts
|
|
7
7
|
interface AccordionRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: AccordionRootProps):
|
|
8
|
+
declare function Root(props: AccordionRootProps): react_jsx_runtime3.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AccordionRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { normalizeProps, useMachine } from "@zag-js/react";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/accordion/modules/provider.ts
|
|
6
6
|
function useAccordion(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -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 react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/headline.d.ts
|
|
6
6
|
interface AppBarHeadlineProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarHeadline(props: AppBarHeadlineProps):
|
|
7
|
+
declare function AppBarHeadline(props: AppBarHeadlineProps): react0.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarHeadline, AppBarHeadlineProps };
|
|
10
10
|
//# sourceMappingURL=headline.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 react11 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/lead.d.ts
|
|
6
6
|
interface AppBarLeadProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarLead(props: AppBarLeadProps):
|
|
7
|
+
declare function AppBarLead(props: AppBarLeadProps): react11.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarLead, AppBarLeadProps };
|
|
10
10
|
//# sourceMappingURL=lead.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 react0 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/root.d.ts
|
|
6
6
|
interface AppBarRootProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
-
declare function AppBarRoot(props: AppBarRootProps):
|
|
7
|
+
declare function AppBarRoot(props: AppBarRootProps): react0.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarRoot, AppBarRootProps };
|
|
10
10
|
//# 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 react4 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/toolbar.d.ts
|
|
6
6
|
interface AppBarToolbarProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function AppBarToolbar(props: AppBarToolbarProps):
|
|
7
|
+
declare function AppBarToolbar(props: AppBarToolbarProps): react4.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarToolbar, AppBarToolbarProps };
|
|
10
10
|
//# sourceMappingURL=toolbar.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 react1 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/app-bar/anatomy/trail.d.ts
|
|
6
6
|
interface AppBarTrailProps extends PropsWithElement<'nav'>, HTMLAttributes<'nav'> {}
|
|
7
|
-
declare function AppBarTrail(props: AppBarTrailProps):
|
|
7
|
+
declare function AppBarTrail(props: AppBarTrailProps): react1.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AppBarTrail, AppBarTrailProps };
|
|
10
10
|
//# sourceMappingURL=trail.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 react2 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/anatomy/fallback.d.ts
|
|
6
6
|
interface AvatarFallbackProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Fallback(props: AvatarFallbackProps):
|
|
7
|
+
declare function Fallback(props: AvatarFallbackProps): react2.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AvatarFallbackProps, Fallback };
|
|
10
10
|
//# sourceMappingURL=fallback.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 react3 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/anatomy/image.d.ts
|
|
6
6
|
interface AvatarImageProps extends PropsWithElement<'img'>, HTMLAttributes<'img', 'children'> {}
|
|
7
|
-
declare function Image(props: AvatarImageProps):
|
|
7
|
+
declare function Image(props: AvatarImageProps): react3.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AvatarImageProps, Image };
|
|
10
10
|
//# sourceMappingURL=image.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 { useAvatar } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/avatar/anatomy/root-provider.d.ts
|
|
7
7
|
interface AvatarRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useAvatar>;
|
|
9
9
|
}
|
|
10
|
-
declare function AvatarRootProvider(props: AvatarRootProviderProps):
|
|
10
|
+
declare function AvatarRootProvider(props: AvatarRootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { AvatarRootProvider, AvatarRootProviderProps };
|
|
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_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/avatar";
|
|
5
5
|
|
|
6
6
|
//#region src/components/avatar/anatomy/root.d.ts
|
|
7
7
|
interface AvatarRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function AvatarRoot(props: AvatarRootProps):
|
|
8
|
+
declare function AvatarRoot(props: AvatarRootProps): react_jsx_runtime0.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { AvatarRoot, AvatarRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/avatar";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/avatar/modules/provider.ts
|
|
6
6
|
function useAvatar(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -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 react10 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/collapsible/anatomy/indicator.d.ts
|
|
6
6
|
interface CollapsibleIndicatorProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Indicator(props: CollapsibleIndicatorProps):
|
|
7
|
+
declare function Indicator(props: CollapsibleIndicatorProps): react10.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CollapsibleIndicatorProps, Indicator };
|
|
10
10
|
//# sourceMappingURL=indicator.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 { useCollapsible } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/collapsible/anatomy/root-provider.d.ts
|
|
7
7
|
interface CollapsibleRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useCollapsible>;
|
|
9
9
|
}
|
|
10
|
-
declare function CollapsibleRootProvider(props: CollapsibleRootProviderProps):
|
|
10
|
+
declare function CollapsibleRootProvider(props: CollapsibleRootProviderProps): react_jsx_runtime4.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { CollapsibleRootProvider, CollapsibleRootProviderProps };
|
|
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_runtime5 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/collapsible";
|
|
5
5
|
|
|
6
6
|
//#region src/components/collapsible/anatomy/root.d.ts
|
|
7
7
|
interface CollapsibleRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {}
|
|
8
|
-
declare function CollapsibleRoot(props: CollapsibleRootProps):
|
|
8
|
+
declare function CollapsibleRoot(props: CollapsibleRootProps): react_jsx_runtime5.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CollapsibleRoot, CollapsibleRootProps };
|
|
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 react8 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/collapsible/anatomy/trigger.d.ts
|
|
6
6
|
interface CollapsibleTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: CollapsibleTriggerProps):
|
|
7
|
+
declare function Trigger(props: CollapsibleTriggerProps): react8.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CollapsibleTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/collapsible";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/collapsible/modules/provider.ts
|
|
6
6
|
function useCollapsible(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -9,9 +9,8 @@ import { splitItemGroupLabelProps } from "@zag-js/combobox";
|
|
|
9
9
|
//#region src/components/combobox/anatomy/item-group-label.tsx
|
|
10
10
|
function ItemGroupLabel(props) {
|
|
11
11
|
const combobox = use(RootContext);
|
|
12
|
-
const itemGroupProps = use(ItemGroupContext);
|
|
13
12
|
const [itemGroupLabelProps, componentProps] = splitItemGroupLabelProps({
|
|
14
|
-
htmlFor:
|
|
13
|
+
htmlFor: use(ItemGroupContext).id,
|
|
15
14
|
...props
|
|
16
15
|
});
|
|
17
16
|
const { element, children,...rest } = componentProps;
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/combobox";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/combobox/modules/provider.ts
|
|
6
6
|
function useCombobox(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -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 { useDatePicker } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/date-picker/anatomy/root-provider.d.ts
|
|
7
7
|
interface DatePickerRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useDatePicker>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: DatePickerRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: DatePickerRootProviderProps): react_jsx_runtime12.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DatePickerRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.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/date-picker/anatomy/table-cell-trigger.d.ts
|
|
6
6
|
interface DatePickerTableCellTriggerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function TableCellTrigger(props: DatePickerTableCellTriggerProps):
|
|
7
|
+
declare function TableCellTrigger(props: DatePickerTableCellTriggerProps): react34.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DatePickerTableCellTriggerProps, TableCellTrigger };
|
|
10
10
|
//# sourceMappingURL=table-cell-trigger.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { Union } from "../../../internal/union.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
5
5
|
import { DayTableCellProps, TableCellProps } from "@zag-js/date-picker";
|
|
6
6
|
|
|
7
7
|
//#region src/components/date-picker/anatomy/table-cell.d.ts
|
|
8
8
|
interface DatePickerTableCellProps extends Union<TableCellProps, DayTableCellProps>, PropsWithElement<'td'>, HTMLAttributes<'td'> {}
|
|
9
|
-
declare function TableCell(props: DatePickerTableCellProps):
|
|
9
|
+
declare function TableCell(props: DatePickerTableCellProps): react_jsx_runtime11.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DatePickerTableCellProps, TableCell };
|
|
12
12
|
//# sourceMappingURL=table-cell.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/date-picker/anatomy/table-head.d.ts
|
|
6
6
|
interface DatePickerTableHeadProps extends PropsWithElement<'thead'>, HTMLAttributes<'thead'> {}
|
|
7
|
-
declare function TableHead(props: DatePickerTableHeadProps):
|
|
7
|
+
declare function TableHead(props: DatePickerTableHeadProps): react35.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DatePickerTableHeadProps, TableHead };
|
|
10
10
|
//# sourceMappingURL=table-head.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/date-picker/anatomy/table-header.d.ts
|
|
6
6
|
interface DatePickerTableHeaderProps extends PropsWithElement<'th'>, HTMLAttributes<'th'> {}
|
|
7
|
-
declare function TableHeader(props: DatePickerTableHeaderProps):
|
|
7
|
+
declare function TableHeader(props: DatePickerTableHeaderProps): react33.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DatePickerTableHeaderProps, TableHeader };
|
|
10
10
|
//# sourceMappingURL=table-header.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/date-picker";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/date-picker/modules/provider.ts
|
|
6
6
|
function useDatePicker(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -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 react42 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/backdrop.d.ts
|
|
6
6
|
interface DialogBackdropProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'children'> {}
|
|
7
|
-
declare function Backdrop(props: DialogBackdropProps):
|
|
7
|
+
declare function Backdrop(props: DialogBackdropProps): react42.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Backdrop, DialogBackdropProps };
|
|
10
10
|
//# sourceMappingURL=backdrop.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 react43 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/close-trigger.d.ts
|
|
6
6
|
interface DialogCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function CloseTrigger(props: DialogCloseTriggerProps):
|
|
7
|
+
declare function CloseTrigger(props: DialogCloseTriggerProps): react43.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CloseTrigger, DialogCloseTriggerProps };
|
|
10
10
|
//# sourceMappingURL=close-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 react44 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/content.d.ts
|
|
6
6
|
interface DialogContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Content(props: DialogContentProps):
|
|
7
|
+
declare function Content(props: DialogContentProps): react44.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, DialogContentProps };
|
|
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 react45 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/description.d.ts
|
|
6
6
|
interface DialogDescriptionProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Description(props: DialogDescriptionProps):
|
|
7
|
+
declare function Description(props: DialogDescriptionProps): react45.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Description, DialogDescriptionProps };
|
|
10
10
|
//# sourceMappingURL=description.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 react41 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/positioner.d.ts
|
|
6
6
|
interface DialogPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: DialogPositionerProps):
|
|
7
|
+
declare function Positioner(props: DialogPositionerProps): react41.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogPositionerProps, Positioner };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useDialog } from "../modules/provider.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/root-provider.d.ts
|
|
6
6
|
interface DialogRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof useDialog>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: DialogRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: DialogRootProviderProps): react_jsx_runtime18.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { DialogRootProviderProps, RootProvider };
|
|
12
12
|
//# sourceMappingURL=root-provider.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 react54 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/title.d.ts
|
|
6
6
|
interface DialogTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Title(props: DialogTitleProps):
|
|
7
|
+
declare function Title(props: DialogTitleProps): react54.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogTitleProps, Title };
|
|
10
10
|
//# sourceMappingURL=title.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 react55 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/anatomy/trigger.d.ts
|
|
6
6
|
interface DialogTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: DialogTriggerProps):
|
|
7
|
+
declare function Trigger(props: DialogTriggerProps): react55.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DialogTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/dialog";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/dialog/modules/provider.ts
|
|
6
6
|
function useDialog(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -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 react46 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): react46.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 react47 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): react47.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 react48 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): react48.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadItemDeleteTriggerProps, ItemDeleteTrigger };
|
|
10
10
|
//# sourceMappingURL=item-delete-trigger.d.ts.map
|