@skeletonlabs/skeleton-react 2.0.0-next.14 → 2.0.0-next.15
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-content.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts.map +1 -1
- 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/combobox/anatomy/content.d.ts +2 -2
- package/dist/components/combobox/anatomy/content.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/control.d.ts +2 -2
- package/dist/components/combobox/anatomy/control.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/input.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group-label.d.ts.map +1 -1
- package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-text.d.ts +2 -2
- package/dist/components/combobox/anatomy/item.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/root-provider.d.ts +2 -2
- package/dist/components/combobox/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/trigger.d.ts +2 -2
- 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/root.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/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/item.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts.map +1 -1
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
- package/dist/components/navigation/anatomy/content.d.ts +10 -0
- package/dist/components/navigation/anatomy/content.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/content.js +23 -0
- package/dist/components/navigation/anatomy/content.js.map +1 -0
- package/dist/components/navigation/anatomy/footer.d.ts +10 -0
- package/dist/components/navigation/anatomy/footer.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/footer.js +23 -0
- package/dist/components/navigation/anatomy/footer.js.map +1 -0
- package/dist/components/navigation/anatomy/group.d.ts +10 -0
- package/dist/components/navigation/anatomy/group.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/group.js +23 -0
- package/dist/components/navigation/anatomy/group.js.map +1 -0
- package/dist/components/navigation/anatomy/header.d.ts +10 -0
- package/dist/components/navigation/anatomy/header.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/header.js +23 -0
- package/dist/components/navigation/anatomy/header.js.map +1 -0
- package/dist/components/navigation/anatomy/label.d.ts +10 -0
- package/dist/components/navigation/anatomy/label.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/label.js +23 -0
- package/dist/components/navigation/anatomy/label.js.map +1 -0
- package/dist/components/navigation/anatomy/menu.d.ts +10 -0
- package/dist/components/navigation/anatomy/menu.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/menu.js +23 -0
- package/dist/components/navigation/anatomy/menu.js.map +1 -0
- package/dist/components/navigation/anatomy/root.d.ts +17 -0
- package/dist/components/navigation/anatomy/root.d.ts.map +1 -0
- package/dist/components/navigation/anatomy/root.js +24 -0
- package/dist/components/navigation/anatomy/root.js.map +1 -0
- package/dist/components/navigation/modules/anatomy.d.ts +20 -0
- package/dist/components/navigation/modules/anatomy.d.ts.map +1 -0
- package/dist/components/navigation/modules/anatomy.js +21 -0
- package/dist/components/navigation/modules/anatomy.js.map +1 -0
- package/dist/components/navigation/modules/root-context.js +8 -0
- package/dist/components/navigation/modules/root-context.js.map +1 -0
- package/dist/components/popover/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/popover/anatomy/arrow.d.ts +2 -2
- package/dist/components/popover/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/popover/anatomy/content.d.ts +2 -2
- package/dist/components/popover/anatomy/description.d.ts +2 -2
- package/dist/components/popover/anatomy/positioner.d.ts +2 -2
- package/dist/components/popover/anatomy/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/popover/anatomy/title.d.ts +2 -2
- package/dist/components/popover/anatomy/trigger.d.ts +2 -2
- package/dist/components/portal/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/label.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/range.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/root.d.ts +2 -2
- package/dist/components/progress-linear/anatomy/track.d.ts +2 -2
- 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/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/root-provider.d.ts +2 -2
- package/dist/components/segmented-control/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/control.d.ts +2 -2
- 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-group.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/root-provider.d.ts +2 -2
- package/dist/components/slider/anatomy/root.d.ts +2 -2
- package/dist/components/slider/anatomy/thumb.d.ts +2 -2
- package/dist/components/slider/anatomy/track.d.ts +2 -2
- package/dist/components/slider/anatomy/value-text.d.ts +2 -2
- package/dist/components/switch/anatomy/control.d.ts +2 -2
- 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/anatomy/root-provider.d.ts +2 -2
- package/dist/components/switch/anatomy/root.d.ts +2 -2
- package/dist/components/switch/anatomy/thumb.d.ts +2 -2
- package/dist/components/tabs/anatomy/content.d.ts +2 -2
- package/dist/components/tabs/anatomy/indicator.d.ts +2 -2
- package/dist/components/tabs/anatomy/list.d.ts +2 -2
- package/dist/components/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.d.ts +2 -2
- package/dist/components/tabs/anatomy/trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/clear-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/control.d.ts +2 -2
- package/dist/components/tags-input/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-input.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-preview.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item-text.d.ts +2 -2
- package/dist/components/tags-input/anatomy/item.d.ts +2 -2
- package/dist/components/tags-input/anatomy/label.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tags-input/anatomy/root.d.ts +2 -2
- 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/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/index.d.ts +9 -1
- package/dist/index.js +2 -1
- package/dist/internal/html-attributes.d.ts +3 -1
- package/dist/internal/html-attributes.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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 react22 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): react22.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 react23 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): react23.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 react24 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): react24.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 react25 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): react25.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 react26 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): react26.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 react27 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): react27.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_runtime7 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_runtime7.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadItemProps, Item };
|
|
11
11
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UAUiB,mBAAA,SAA4B,WAAW,wBAAwB;iBAExD,IAAA,QAAY,sBAAmB,
|
|
1
|
+
{"version":3,"file":"item.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/item.tsx"],"sourcesContent":[],"mappings":";;;;;;UAUiB,mBAAA,SAA4B,WAAW,wBAAwB;iBAExD,IAAA,QAAY,sBAAmB,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -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_runtime9 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_runtime9.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { FileUploadRootProviderProps, RootProvider };
|
|
13
13
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,2BAAA,SAAoC,yBAAyB,KAAK;SAC3E,kBAAkB;;AADT,iBAIO,YAAA,CAJqB,KAAA,EAID,2BAJC,CAAA,EAI0B,
|
|
1
|
+
{"version":3,"file":"root-provider.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/root-provider.tsx"],"sourcesContent":[],"mappings":";;;;;;UAOiB,2BAAA,SAAoC,yBAAyB,KAAK;SAC3E,kBAAkB;;AADT,iBAIO,YAAA,CAJqB,KAAA,EAID,2BAJC,CAAA,EAI0B,kBAAA,CAAA,GAAA,CAAA,OAJ1B"}
|
|
@@ -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_runtime8 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_runtime8.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { FileUploadRootProps, Root };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,mBAAA,SAA4B,KAAK,cAAc,yBAAyB,KAAK;iBAEtE,IAAA,QAAY,sBAAmB,
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/file-upload/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;;UASiB,mBAAA,SAA4B,KAAK,cAAc,yBAAyB,KAAK;iBAEtE,IAAA,QAAY,sBAAmB,kBAAA,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 react28 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): react28.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { FileUploadTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react31 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/content.d.ts
|
|
6
|
+
interface NavigationContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function NavigationContent(props: NavigationContentProps): react31.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationContent, NavigationContentProps };
|
|
10
|
+
//# sourceMappingURL=content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/content.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,sBAAA,SAA+B,yBAAyB;iBAEjD,iBAAA,QAAyB,yBAAsB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/content.tsx
|
|
8
|
+
function NavigationContent(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.content
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationContent as default };
|
|
23
|
+
//# sourceMappingURL=content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content.js","names":[],"sources":["../../../../src/components/navigation/anatomy/content.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function NavigationContent(props: NavigationContentProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.content,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,kBAAkB,OAA+B;CACxE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react32 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/footer.d.ts
|
|
6
|
+
interface NavigationFooterProps extends PropsWithElement<'footer'>, HTMLAttributes<'footer'> {}
|
|
7
|
+
declare function NavigationFooter(props: NavigationFooterProps): react32.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationFooter, NavigationFooterProps };
|
|
10
|
+
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footer.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/footer.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,qBAAA,SAA8B,4BAA4B;iBAEnD,gBAAA,QAAwB,wBAAqB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/footer.tsx
|
|
8
|
+
function NavigationFooter(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.footer
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("footer", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationFooter as default };
|
|
23
|
+
//# sourceMappingURL=footer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"footer.js","names":[],"sources":["../../../../src/components/navigation/anatomy/footer.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationFooterProps extends PropsWithElement<'footer'>, HTMLAttributes<'footer'> {}\n\nexport default function NavigationFooter(props: NavigationFooterProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.footer,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <footer {...attributes}>{children}</footer>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,iBAAiB,OAA8B;CACtE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react33 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/group.d.ts
|
|
6
|
+
interface NavigationGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function NavigationGroup(props: NavigationGroupProps): react33.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationGroup, NavigationGroupProps };
|
|
10
|
+
//# sourceMappingURL=group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/group.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,eAAA,QAAuB,uBAAoB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/group.tsx
|
|
8
|
+
function NavigationGroup(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.group
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationGroup as default };
|
|
23
|
+
//# sourceMappingURL=group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"group.js","names":[],"sources":["../../../../src/components/navigation/anatomy/group.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function NavigationGroup(props: NavigationGroupProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.group,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,gBAAgB,OAA6B;CACpE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react30 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/header.d.ts
|
|
6
|
+
interface NavigationHeaderProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}
|
|
7
|
+
declare function NavigationHeader(props: NavigationHeaderProps): react30.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationHeader, NavigationHeaderProps };
|
|
10
|
+
//# sourceMappingURL=header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/header.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,qBAAA,SAA8B,4BAA4B;iBAEnD,gBAAA,QAAwB,wBAAqB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/header.tsx
|
|
8
|
+
function NavigationHeader(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.header
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("header", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationHeader as default };
|
|
23
|
+
//# sourceMappingURL=header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.js","names":[],"sources":["../../../../src/components/navigation/anatomy/header.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationHeaderProps extends PropsWithElement<'header'>, HTMLAttributes<'header'> {}\n\nexport default function NavigationHeader(props: NavigationHeaderProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.header,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <header {...attributes}>{children}</header>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,iBAAiB,OAA8B;CACtE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAO,GAAI;EAAa;GAAkB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react34 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/label.d.ts
|
|
6
|
+
interface NavigationLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function NavigationLabel(props: NavigationLabelProps): react34.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationLabel, NavigationLabelProps };
|
|
10
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/label.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,oBAAA,SAA6B,yBAAyB;iBAE/C,eAAA,QAAuB,uBAAoB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/label.tsx
|
|
8
|
+
function NavigationLabel(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.label
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationLabel as default };
|
|
23
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","names":[],"sources":["../../../../src/components/navigation/anatomy/label.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationLabelProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function NavigationLabel(props: NavigationLabelProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.label,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,gBAAgB,OAA6B;CACpE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react29 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/menu.d.ts
|
|
6
|
+
interface NavigationMenuProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function NavigationMenu(props: NavigationMenuProps): react29.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { NavigationMenu, NavigationMenuProps };
|
|
10
|
+
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/menu.tsx"],"sourcesContent":[],"mappings":";;;;;UAOiB,mBAAA,SAA4B,yBAAyB;iBAE9C,cAAA,QAAsB,sBAAmB,OAAA,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 { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/navigation/anatomy/menu.tsx
|
|
8
|
+
function NavigationMenu(props) {
|
|
9
|
+
const { element, children,...rest } = props;
|
|
10
|
+
const navigation = use(RootContext);
|
|
11
|
+
const attributes = mergeProps({
|
|
12
|
+
"data-layout": navigation.layout,
|
|
13
|
+
className: classesNavigation.menu
|
|
14
|
+
}, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { NavigationMenu as default };
|
|
23
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.js","names":[],"sources":["../../../../src/components/navigation/anatomy/menu.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface NavigationMenuProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function NavigationMenu(props: NavigationMenuProps) {\n\tconst { element, children, ...rest } = props;\n\n\tconst navigation = use(RootContext);\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': navigation.layout,\n\t\t\tclassName: classesNavigation.menu,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;AASA,SAAwB,eAAe,OAA4B;CAClE,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,IAAI,YAAY;CAEnC,MAAM,aAAa,WAClB;EACC,eAAe,WAAW;EAC1B,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAI,GAAI;EAAa;GAAe"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
|
+
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/navigation/anatomy/root.d.ts
|
|
6
|
+
interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {
|
|
7
|
+
/**
|
|
8
|
+
* Sets the data-layout attribute, which modifies the visual presentation of the component set.
|
|
9
|
+
*
|
|
10
|
+
* @default bar
|
|
11
|
+
* */
|
|
12
|
+
layout?: 'bar' | 'rail' | 'sidebar';
|
|
13
|
+
}
|
|
14
|
+
declare function NavigationRoot(props: NavigationRootProps): react_jsx_runtime10.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { NavigationRoot, NavigationRootProps };
|
|
17
|
+
//# sourceMappingURL=root.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.d.ts","names":[],"sources":["../../../../src/components/navigation/anatomy/root.tsx"],"sourcesContent":[],"mappings":";;;;;UAMiB,mBAAA,SAA4B,yBAAyB;;;AAAtE;;;QAAsE,CAAA,EAAA,KAAA,GAAA,MAAA,GAAA,SAAA;;AAS9C,iBAAA,cAAA,CAAc,KAAA,EAAQ,mBAAR,CAAA,EAA2B,mBAAA,CAAA,GAAA,CAAA,OAA3B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RootContext } from "../modules/root-context.js";
|
|
2
|
+
import { mergeProps } from "@zag-js/react";
|
|
3
|
+
import { classesNavigation } from "@skeletonlabs/skeleton-common";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/navigation/anatomy/root.tsx
|
|
7
|
+
function NavigationRoot(props) {
|
|
8
|
+
const { layout = "bar", element, children,...rest } = props;
|
|
9
|
+
const attributes = mergeProps({
|
|
10
|
+
"data-layout": layout,
|
|
11
|
+
className: classesNavigation.root
|
|
12
|
+
}, rest);
|
|
13
|
+
return /* @__PURE__ */ jsx(RootContext.Provider, {
|
|
14
|
+
value: { layout },
|
|
15
|
+
children: element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { NavigationRoot as default };
|
|
24
|
+
//# sourceMappingURL=root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root.js","names":[],"sources":["../../../../src/components/navigation/anatomy/root.tsx"],"sourcesContent":["import { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesNavigation } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\n\nexport interface NavigationRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {\n\t/**\n\t * Sets the data-layout attribute, which modifies the visual presentation of the component set.\n\t *\n\t * @default bar\n\t * */\n\tlayout?: 'bar' | 'rail' | 'sidebar';\n}\n\nexport default function NavigationRoot(props: NavigationRootProps) {\n\tconst { layout = 'bar', element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\t{\n\t\t\t'data-layout': layout,\n\t\t\tclassName: classesNavigation.root,\n\t\t},\n\t\trest,\n\t);\n\n\treturn (\n\t\t<RootContext.Provider value={{ layout }}>{element ? element(attributes) : <div {...attributes}>{children}</div>}</RootContext.Provider>\n\t);\n}\n"],"mappings":";;;;;;AAeA,SAAwB,eAAe,OAA4B;CAClE,MAAM,EAAE,SAAS,OAAO,SAAS,SAAU,GAAG,SAAS;CAEvD,MAAM,aAAa,WAClB;EACC,eAAe;EACf,WAAW,kBAAkB;EAC7B,EACD,KACA;AAED,QACC,oBAAC,YAAY;EAAS,OAAO,EAAE,QAAQ;YAAG,UAAU,QAAQ,WAAW,GAAG,oBAAC;GAAI,GAAI;GAAa;IAAe;GAAwB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NavigationRoot } from "../anatomy/root.js";
|
|
2
|
+
import { NavigationMenu } from "../anatomy/menu.js";
|
|
3
|
+
import { NavigationHeader } from "../anatomy/header.js";
|
|
4
|
+
import { NavigationContent } from "../anatomy/content.js";
|
|
5
|
+
import { NavigationFooter } from "../anatomy/footer.js";
|
|
6
|
+
import { NavigationGroup } from "../anatomy/group.js";
|
|
7
|
+
import { NavigationLabel } from "../anatomy/label.js";
|
|
8
|
+
|
|
9
|
+
//#region src/components/navigation/modules/anatomy.d.ts
|
|
10
|
+
declare const Navigation: typeof NavigationRoot & {
|
|
11
|
+
Header: typeof NavigationHeader;
|
|
12
|
+
Content: typeof NavigationContent;
|
|
13
|
+
Group: typeof NavigationGroup;
|
|
14
|
+
Label: typeof NavigationLabel;
|
|
15
|
+
Menu: typeof NavigationMenu;
|
|
16
|
+
Footer: typeof NavigationFooter;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Navigation };
|
|
20
|
+
//# sourceMappingURL=anatomy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.d.ts","names":[],"sources":["../../../../src/components/navigation/modules/anatomy.ts"],"sourcesContent":[],"mappings":";;;;;;;;;cAQa,mBAAU;;EAAV,OAAA,EAAA,wBAOX;EAAA,KAAA,EAAA,sBAAA;OAPqB,EAAA,sBAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import NavigationContent from "../anatomy/content.js";
|
|
2
|
+
import NavigationFooter from "../anatomy/footer.js";
|
|
3
|
+
import NavigationGroup from "../anatomy/group.js";
|
|
4
|
+
import NavigationHeader from "../anatomy/header.js";
|
|
5
|
+
import NavigationLabel from "../anatomy/label.js";
|
|
6
|
+
import NavigationMenu from "../anatomy/menu.js";
|
|
7
|
+
import NavigationRoot from "../anatomy/root.js";
|
|
8
|
+
|
|
9
|
+
//#region src/components/navigation/modules/anatomy.ts
|
|
10
|
+
const Navigation = Object.assign(NavigationRoot, {
|
|
11
|
+
Header: NavigationHeader,
|
|
12
|
+
Content: NavigationContent,
|
|
13
|
+
Group: NavigationGroup,
|
|
14
|
+
Label: NavigationLabel,
|
|
15
|
+
Menu: NavigationMenu,
|
|
16
|
+
Footer: NavigationFooter
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Navigation };
|
|
21
|
+
//# sourceMappingURL=anatomy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anatomy.js","names":["Root","Header","Content","Group","Label","Menu","Footer"],"sources":["../../../../src/components/navigation/modules/anatomy.ts"],"sourcesContent":["import Content from '../anatomy/content';\nimport Footer from '../anatomy/footer';\nimport Group from '../anatomy/group';\nimport Header from '../anatomy/header';\nimport Label from '../anatomy/label';\nimport Menu from '../anatomy/menu';\nimport Root from '../anatomy/root';\n\nexport const Navigation = Object.assign(Root, {\n\tHeader: Header,\n\tContent: Content,\n\tGroup: Group,\n\tLabel: Label,\n\tMenu: Menu,\n\tFooter: Footer,\n});\n"],"mappings":";;;;;;;;;AAQA,MAAa,aAAa,OAAO,OAAOA,gBAAM;CAC7C,QAAQC;CACR,SAASC;CACT,OAAOC;CACP,OAAOC;CACP,MAAMC;CACN,QAAQC;CACR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"root-context.js","names":[],"sources":["../../../../src/components/navigation/modules/root-context.ts"],"sourcesContent":["import type { NavigationRootProps } from '../anatomy/root';\nimport { createContext } from '@/internal/create-context';\n\nexport const RootContext = createContext<Pick<NavigationRootProps, 'layout'>>();\n"],"mappings":";;;AAGA,MAAa,cAAc,eAAoD"}
|
|
@@ -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 react83 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): react83.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ArrowTip };
|
|
10
10
|
//# sourceMappingURL=arrow-tip.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 react84 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): react84.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Arrow };
|
|
10
10
|
//# sourceMappingURL=arrow.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/popover/anatomy/close-trigger.d.ts
|
|
6
6
|
interface PopoverCloseTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function CloseTrigger(props: PopoverCloseTriggerProps):
|
|
7
|
+
declare function CloseTrigger(props: PopoverCloseTriggerProps): react35.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { CloseTrigger, PopoverCloseTriggerProps };
|
|
10
10
|
//# sourceMappingURL=close-trigger.d.ts.map
|