@skeletonlabs/skeleton-react 4.0.0-next.23 → 4.0.0-next.25
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/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- 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/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/combobox/anatomy/item-group.d.ts +2 -2
- package/dist/components/combobox/anatomy/item.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/date-picker/anatomy/content.d.ts +2 -2
- package/dist/components/date-picker/anatomy/content.d.ts.map +1 -1
- package/dist/components/date-picker/anatomy/control.d.ts +2 -2
- package/dist/components/date-picker/anatomy/control.d.ts.map +1 -1
- package/dist/components/date-picker/anatomy/input.d.ts +2 -2
- package/dist/components/date-picker/anatomy/label.d.ts +2 -2
- package/dist/components/date-picker/anatomy/month-select.d.ts +2 -2
- package/dist/components/date-picker/anatomy/next-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/positioner.d.ts +2 -2
- package/dist/components/date-picker/anatomy/prev-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/range-text.d.ts +2 -2
- package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
- package/dist/components/date-picker/anatomy/root.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-body.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/anatomy/table-row.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table.d.ts +2 -2
- package/dist/components/date-picker/anatomy/trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view-control.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/view.d.ts +2 -2
- package/dist/components/date-picker/anatomy/year-select.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts.map +1 -1
- package/dist/components/dialog/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.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/listbox/anatomy/content.d.ts +10 -0
- package/dist/components/listbox/anatomy/content.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/content.js +20 -0
- package/dist/components/listbox/anatomy/content.js.map +1 -0
- package/dist/components/listbox/anatomy/input.d.ts +10 -0
- package/dist/components/listbox/anatomy/input.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/input.js +17 -0
- package/dist/components/listbox/anatomy/input.js.map +1 -0
- package/dist/components/listbox/anatomy/item-group-label.d.ts +11 -0
- package/dist/components/listbox/anatomy/item-group-label.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/item-group-label.js +27 -0
- package/dist/components/listbox/anatomy/item-group-label.js.map +1 -0
- package/dist/components/listbox/anatomy/item-group.d.ts +11 -0
- package/dist/components/listbox/anatomy/item-group.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/item-group.js +29 -0
- package/dist/components/listbox/anatomy/item-group.js.map +1 -0
- package/dist/components/listbox/anatomy/item-indicator.d.ts +10 -0
- package/dist/components/listbox/anatomy/item-indicator.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/item-indicator.js +23 -0
- package/dist/components/listbox/anatomy/item-indicator.js.map +1 -0
- package/dist/components/listbox/anatomy/item-text.d.ts +10 -0
- package/dist/components/listbox/anatomy/item-text.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/item-text.js +22 -0
- package/dist/components/listbox/anatomy/item-text.js.map +1 -0
- package/dist/components/listbox/anatomy/item.d.ts +11 -0
- package/dist/components/listbox/anatomy/item.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/item.js +26 -0
- package/dist/components/listbox/anatomy/item.js.map +1 -0
- package/dist/components/listbox/anatomy/label.d.ts +10 -0
- package/dist/components/listbox/anatomy/label.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/label.js +20 -0
- package/dist/components/listbox/anatomy/label.js.map +1 -0
- package/dist/components/listbox/anatomy/root-context.d.ts +11 -0
- package/dist/components/listbox/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/root-context.js +13 -0
- package/dist/components/listbox/anatomy/root-context.js.map +1 -0
- package/dist/components/listbox/anatomy/root-provider.d.ts +13 -0
- package/dist/components/listbox/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/root-provider.js +21 -0
- package/dist/components/listbox/anatomy/root-provider.js.map +1 -0
- package/dist/components/listbox/anatomy/root.d.ts +11 -0
- package/dist/components/listbox/anatomy/root.d.ts.map +1 -0
- package/dist/components/listbox/anatomy/root.js +25 -0
- package/dist/components/listbox/anatomy/root.js.map +1 -0
- package/dist/components/listbox/modules/anatomy.d.ts +28 -0
- package/dist/components/listbox/modules/anatomy.d.ts.map +1 -0
- package/dist/components/listbox/modules/anatomy.js +29 -0
- package/dist/components/listbox/modules/anatomy.js.map +1 -0
- package/dist/components/listbox/modules/item-context.js +8 -0
- package/dist/components/listbox/modules/item-context.js.map +1 -0
- package/dist/components/listbox/modules/item-group-context.js +8 -0
- package/dist/components/listbox/modules/item-group-context.js.map +1 -0
- package/dist/components/listbox/modules/provider.d.ts +8 -0
- package/dist/components/listbox/modules/provider.d.ts.map +1 -0
- package/dist/components/listbox/modules/provider.js +16 -0
- package/dist/components/listbox/modules/provider.js.map +1 -0
- package/dist/components/listbox/modules/root-context.js +8 -0
- package/dist/components/listbox/modules/root-context.js.map +1 -0
- package/dist/components/navigation/anatomy/content.d.ts +2 -2
- package/dist/components/navigation/anatomy/content.d.ts.map +1 -1
- package/dist/components/navigation/anatomy/footer.d.ts +2 -2
- package/dist/components/navigation/anatomy/footer.d.ts.map +1 -1
- package/dist/components/navigation/anatomy/group.d.ts +2 -2
- package/dist/components/navigation/anatomy/group.d.ts.map +1 -1
- package/dist/components/navigation/anatomy/header.d.ts +2 -2
- package/dist/components/navigation/anatomy/header.d.ts.map +1 -1
- package/dist/components/navigation/anatomy/label.d.ts +2 -2
- package/dist/components/navigation/anatomy/label.d.ts.map +1 -1
- package/dist/components/navigation/anatomy/menu.d.ts +2 -2
- package/dist/components/navigation/anatomy/menu.d.ts.map +1 -1
- 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/root-provider.d.ts +2 -2
- package/dist/components/pagination/anatomy/root.d.ts +2 -2
- 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/root-provider.d.ts +2 -2
- package/dist/components/popover/anatomy/root.d.ts +2 -2
- package/dist/components/portal/anatomy/root.d.ts +2 -2
- package/dist/components/portal/anatomy/root.d.ts.map +1 -1
- package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress/anatomy/root.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/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/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/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/tabs/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tabs/anatomy/root.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/item.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/group.d.ts +2 -2
- package/dist/components/toast/anatomy/root.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/tree-view/anatomy/branch-content.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch-content.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch-content.js +22 -0
- package/dist/components/tree-view/anatomy/branch-content.js.map +1 -0
- package/dist/components/tree-view/anatomy/branch-control.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch-control.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch-control.js +22 -0
- package/dist/components/tree-view/anatomy/branch-control.js.map +1 -0
- package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch-indent-guide.js +22 -0
- package/dist/components/tree-view/anatomy/branch-indent-guide.js.map +1 -0
- package/dist/components/tree-view/anatomy/branch-indicator.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch-indicator.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch-indicator.js +23 -0
- package/dist/components/tree-view/anatomy/branch-indicator.js.map +1 -0
- package/dist/components/tree-view/anatomy/branch-text.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch-text.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch-text.js +22 -0
- package/dist/components/tree-view/anatomy/branch-text.js.map +1 -0
- package/dist/components/tree-view/anatomy/branch.d.ts +10 -0
- package/dist/components/tree-view/anatomy/branch.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/branch.js +22 -0
- package/dist/components/tree-view/anatomy/branch.js.map +1 -0
- package/dist/components/tree-view/anatomy/item.d.ts +10 -0
- package/dist/components/tree-view/anatomy/item.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/item.js +22 -0
- package/dist/components/tree-view/anatomy/item.js.map +1 -0
- package/dist/components/tree-view/anatomy/label.d.ts +17 -0
- package/dist/components/tree-view/anatomy/label.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/label.js +21 -0
- package/dist/components/tree-view/anatomy/label.js.map +1 -0
- package/dist/components/tree-view/anatomy/node-provider.d.ts +12 -0
- package/dist/components/tree-view/anatomy/node-provider.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/node-provider.js +15 -0
- package/dist/components/tree-view/anatomy/node-provider.js.map +1 -0
- package/dist/components/tree-view/anatomy/root-context.d.ts +11 -0
- package/dist/components/tree-view/anatomy/root-context.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/root-context.js +13 -0
- package/dist/components/tree-view/anatomy/root-context.js.map +1 -0
- package/dist/components/tree-view/anatomy/root-provider.d.ts +13 -0
- package/dist/components/tree-view/anatomy/root-provider.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/root-provider.js +21 -0
- package/dist/components/tree-view/anatomy/root-provider.js.map +1 -0
- package/dist/components/tree-view/anatomy/root.d.ts +11 -0
- package/dist/components/tree-view/anatomy/root.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/root.js +25 -0
- package/dist/components/tree-view/anatomy/root.js.map +1 -0
- package/dist/components/tree-view/anatomy/tree.d.ts +10 -0
- package/dist/components/tree-view/anatomy/tree.d.ts.map +1 -0
- package/dist/components/tree-view/anatomy/tree.js +20 -0
- package/dist/components/tree-view/anatomy/tree.js.map +1 -0
- package/dist/components/tree-view/modules/anatomy.d.ts +32 -0
- package/dist/components/tree-view/modules/anatomy.d.ts.map +1 -0
- package/dist/components/tree-view/modules/anatomy.js +33 -0
- package/dist/components/tree-view/modules/anatomy.js.map +1 -0
- package/dist/components/tree-view/modules/create-tree-view-collection.d.ts +8 -0
- package/dist/components/tree-view/modules/create-tree-view-collection.d.ts.map +1 -0
- package/dist/components/tree-view/modules/create-tree-view-collection.js +10 -0
- package/dist/components/tree-view/modules/create-tree-view-collection.js.map +1 -0
- package/dist/components/tree-view/modules/node-context.js +8 -0
- package/dist/components/tree-view/modules/node-context.js.map +1 -0
- package/dist/components/tree-view/modules/provider.d.ts +8 -0
- package/dist/components/tree-view/modules/provider.d.ts.map +1 -0
- package/dist/components/tree-view/modules/provider.js +16 -0
- package/dist/components/tree-view/modules/provider.js.map +1 -0
- package/dist/components/tree-view/modules/root-context.js +8 -0
- package/dist/components/tree-view/modules/root-context.js.map +1 -0
- package/dist/index.d.ts +28 -1
- package/dist/index.js +6 -1
- package/package.json +4 -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 react69 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/control.d.ts
|
|
6
6
|
interface SliderControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: SliderControlProps):
|
|
7
|
+
declare function Control(props: SliderControlProps): react69.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, SliderControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react66 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/hidden-input.d.ts
|
|
6
6
|
interface SliderHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: SliderHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: SliderHiddenInputProps): react66.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, SliderHiddenInputProps };
|
|
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 react68 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/label.d.ts
|
|
6
6
|
interface SliderLabelProps extends PropsWithElement<'label'>, HTMLAttributes<'label'> {}
|
|
7
|
-
declare function Label(props: SliderLabelProps):
|
|
7
|
+
declare function Label(props: SliderLabelProps): react68.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, SliderLabelProps };
|
|
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 react71 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/marker-group.d.ts
|
|
6
6
|
interface SliderMarkerGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function MarkerGroup(props: SliderMarkerGroupProps):
|
|
7
|
+
declare function MarkerGroup(props: SliderMarkerGroupProps): react71.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { MarkerGroup, SliderMarkerGroupProps };
|
|
10
10
|
//# sourceMappingURL=marker-group.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 react72 from "react";
|
|
4
4
|
import { MarkerProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/marker.d.ts
|
|
7
7
|
interface SliderMarkerProps extends MarkerProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Marker(props: SliderMarkerProps):
|
|
8
|
+
declare function Marker(props: SliderMarkerProps): react72.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Marker, SliderMarkerProps };
|
|
11
11
|
//# sourceMappingURL=marker.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 react67 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/range.d.ts
|
|
6
6
|
interface SliderRangeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Range(props: SliderRangeProps):
|
|
7
|
+
declare function Range(props: SliderRangeProps): react67.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Range, SliderRangeProps };
|
|
10
10
|
//# sourceMappingURL=range.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 { useSlider } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root-provider.d.ts
|
|
7
7
|
interface SliderRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSlider>;
|
|
9
9
|
}
|
|
10
|
-
declare function SliderRootProvider(props: SliderRootProviderProps):
|
|
10
|
+
declare function SliderRootProvider(props: SliderRootProviderProps): react_jsx_runtime29.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SliderRootProvider, SliderRootProviderProps };
|
|
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_runtime28 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/root.d.ts
|
|
7
7
|
interface SliderRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue' | 'aria-label' | 'aria-labelledby'> {}
|
|
8
|
-
declare function SliderRoot(props: SliderRootProps):
|
|
8
|
+
declare function SliderRoot(props: SliderRootProps): react_jsx_runtime28.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderRoot, SliderRootProps };
|
|
11
11
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
4
4
|
import { ThumbProps } from "@zag-js/slider";
|
|
5
5
|
|
|
6
6
|
//#region src/components/slider/anatomy/thumb.d.ts
|
|
7
7
|
interface SliderThumbProps extends ThumbProps, PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
8
|
-
declare function Thumb(props: SliderThumbProps):
|
|
8
|
+
declare function Thumb(props: SliderThumbProps): react_jsx_runtime30.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { SliderThumbProps, Thumb };
|
|
11
11
|
//# sourceMappingURL=thumb.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 react65 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/slider/anatomy/track.d.ts
|
|
6
6
|
interface SliderTrackProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Track(props: SliderTrackProps):
|
|
7
|
+
declare function Track(props: SliderTrackProps): react65.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { SliderTrackProps, Track };
|
|
10
10
|
//# sourceMappingURL=track.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 react75 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/switch/anatomy/hidden-input.d.ts
|
|
6
6
|
interface SwitchHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: SwitchHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: SwitchHiddenInputProps): react75.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, SwitchHiddenInputProps };
|
|
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 react74 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/switch/anatomy/label.d.ts
|
|
6
6
|
interface SwitchLabelProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function Label(props: SwitchLabelProps):
|
|
7
|
+
declare function Label(props: SwitchLabelProps): react74.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Label, SwitchLabelProps };
|
|
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 { useSwitch } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root-provider.d.ts
|
|
7
7
|
interface SwitchRootProviderProps extends PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useSwitch>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: SwitchRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: SwitchRootProviderProps): react_jsx_runtime31.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, SwitchRootProviderProps };
|
|
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_runtime51 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/switch";
|
|
5
5
|
|
|
6
6
|
//#region src/components/switch/anatomy/root.d.ts
|
|
7
7
|
interface SwitchRootProps extends Omit<Props, 'id'>, PropsWithElement<'label'>, HTMLAttributes<'label', 'id' | 'dir'> {}
|
|
8
|
-
declare function Root(props: SwitchRootProps):
|
|
8
|
+
declare function Root(props: SwitchRootProps): react_jsx_runtime51.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root };
|
|
11
11
|
//# sourceMappingURL=root.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 { useTabs } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime33 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root-provider.d.ts
|
|
7
7
|
interface TabsRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useTabs>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TabsRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TabsRootProviderProps): react_jsx_runtime33.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TabsRootProviderProps };
|
|
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_runtime32 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tabs";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs/anatomy/root.d.ts
|
|
7
7
|
interface TabsRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TabsRootProps):
|
|
8
|
+
declare function Root(props: TabsRootProps): react_jsx_runtime32.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TabsRootProps };
|
|
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 react83 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tags-input/anatomy/clear-trigger.d.ts
|
|
6
6
|
interface TagsInputClearTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function ClearTrigger(props: TagsInputClearTriggerProps):
|
|
7
|
+
declare function ClearTrigger(props: TagsInputClearTriggerProps): react83.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ClearTrigger, TagsInputClearTriggerProps };
|
|
10
10
|
//# sourceMappingURL=clear-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 react81 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tags-input/anatomy/control.d.ts
|
|
6
6
|
interface TagsInputControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Control(props: TagsInputControlProps):
|
|
7
|
+
declare function Control(props: TagsInputControlProps): react81.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Control, TagsInputControlProps };
|
|
10
10
|
//# sourceMappingURL=control.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react82 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tags-input/anatomy/hidden-input.d.ts
|
|
6
6
|
interface TagsInputHiddenInputProps extends PropsWithElement<'input'>, HTMLAttributes<'input', 'children'> {}
|
|
7
|
-
declare function HiddenInput(props: TagsInputHiddenInputProps):
|
|
7
|
+
declare function HiddenInput(props: TagsInputHiddenInputProps): react82.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { HiddenInput, TagsInputHiddenInputProps };
|
|
10
10
|
//# sourceMappingURL=hidden-input.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_runtime34 from "react/jsx-runtime";
|
|
4
4
|
import { ItemProps } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/item.d.ts
|
|
7
7
|
interface TagsInputItemProps extends ItemProps, PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
8
|
-
declare function Item(props: TagsInputItemProps):
|
|
8
|
+
declare function Item(props: TagsInputItemProps): react_jsx_runtime34.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Item, TagsInputItemProps };
|
|
11
11
|
//# sourceMappingURL=item.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 { useTagsInput } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime36 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root-provider.d.ts
|
|
7
7
|
interface TagsInputRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
value: ReturnType<typeof useTagsInput>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TagsInputRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TagsInputRootProviderProps): react_jsx_runtime36.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TagsInputRootProviderProps };
|
|
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_runtime35 from "react/jsx-runtime";
|
|
4
4
|
import { Props } from "@zag-js/tags-input";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tags-input/anatomy/root.d.ts
|
|
7
7
|
interface TagsInputRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TagsInputRootProps):
|
|
8
|
+
declare function Root(props: TagsInputRootProps): react_jsx_runtime35.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TagsInputRootProps };
|
|
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 react134 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toast/anatomy/action-trigger.d.ts
|
|
6
6
|
interface ToastActionTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function ActionTrigger(props: ToastActionTriggerProps):
|
|
7
|
+
declare function ActionTrigger(props: ToastActionTriggerProps): react134.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ActionTrigger };
|
|
10
10
|
//# sourceMappingURL=action-trigger.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
3
|
import { JSX } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
5
5
|
import { Props, Store } from "@zag-js/toast";
|
|
6
6
|
|
|
7
7
|
//#region src/components/toast/anatomy/group.d.ts
|
|
@@ -9,7 +9,7 @@ interface ToastGroupProps extends PropsWithElement<'div'>, HTMLAttributes<'div',
|
|
|
9
9
|
toaster: Store;
|
|
10
10
|
children?: (toast: Props) => JSX.Element | null;
|
|
11
11
|
}
|
|
12
|
-
declare function Group(props: ToastGroupProps):
|
|
12
|
+
declare function Group(props: ToastGroupProps): react_jsx_runtime37.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Group, ToastGroupProps };
|
|
15
15
|
//# sourceMappingURL=group.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
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
4
4
|
import { Options } from "@zag-js/toast";
|
|
5
5
|
|
|
6
6
|
//#region src/components/toast/anatomy/root.d.ts
|
|
7
7
|
interface ToastRootProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir'> {
|
|
8
8
|
toast: Omit<Options, 'id' | 'parent'>;
|
|
9
9
|
}
|
|
10
|
-
declare function Root(props: ToastRootProps):
|
|
10
|
+
declare function Root(props: ToastRootProps): react_jsx_runtime38.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Root, ToastRootProps };
|
|
13
13
|
//# 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 react_jsx_runtime39 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/positioner.d.ts
|
|
6
6
|
interface TooltipPositionerProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Positioner(props: TooltipPositionerProps):
|
|
7
|
+
declare function Positioner(props: TooltipPositionerProps): react_jsx_runtime39.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Positioner, TooltipPositionerProps };
|
|
10
10
|
//# sourceMappingURL=positioner.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useTooltip } from "../modules/provider.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime41 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root-provider.d.ts
|
|
6
6
|
interface TooltipRootProviderProps extends PropsWithChildren {
|
|
7
7
|
value: ReturnType<typeof useTooltip>;
|
|
8
8
|
}
|
|
9
|
-
declare function RootProvider(props: TooltipRootProviderProps):
|
|
9
|
+
declare function RootProvider(props: TooltipRootProviderProps): react_jsx_runtime41.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { RootProvider, TooltipRootProviderProps };
|
|
12
12
|
//# sourceMappingURL=root-provider.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime40 from "react/jsx-runtime";
|
|
3
3
|
import { Props } from "@zag-js/tooltip";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/root.d.ts
|
|
6
6
|
interface TooltipRootProps extends PropsWithChildren, Omit<Props, 'id'> {}
|
|
7
|
-
declare function Root(props: TooltipRootProps):
|
|
7
|
+
declare function Root(props: TooltipRootProps): react_jsx_runtime40.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Root, TooltipRootProps };
|
|
10
10
|
//# sourceMappingURL=root.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 react104 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/tree-view/anatomy/branch-content.d.ts
|
|
6
|
+
interface TreeViewBranchContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function BranchContent(props: TreeViewBranchContentProps): react104.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BranchContent, TreeViewBranchContentProps };
|
|
10
|
+
//# sourceMappingURL=branch-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-content.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-content.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,0BAAA,SAAmC,yBAAyB;iBAErD,aAAA,QAAqB,6BAA0B,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NodeContext } from "../modules/node-context.js";
|
|
2
|
+
import { RootContext } from "../modules/root-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesTreeView } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/tree-view/anatomy/branch-content.tsx
|
|
9
|
+
function BranchContent(props) {
|
|
10
|
+
const treeView = use(RootContext);
|
|
11
|
+
const nodeProps = use(NodeContext);
|
|
12
|
+
const { element, children,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(treeView.getBranchContentProps(nodeProps), { className: classesTreeView.branchContent }, rest);
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
15
|
+
...attributes,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { BranchContent as default };
|
|
22
|
+
//# sourceMappingURL=branch-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-content.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-content.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchContent(props: TreeViewBranchContentProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchContentProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchContent,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,cAAc,OAAmC;CACxE,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,sBAAsB,UAAU,EACzC,EACC,WAAW,gBAAgB,eAC3B,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 react101 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/tree-view/anatomy/branch-control.d.ts
|
|
6
|
+
interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function BranchControl(props: TreeViewBranchControlProps): react101.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BranchControl, TreeViewBranchControlProps };
|
|
10
|
+
//# sourceMappingURL=branch-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-control.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-control.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,0BAAA,SAAmC,yBAAyB;iBAErD,aAAA,QAAqB,6BAA0B,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NodeContext } from "../modules/node-context.js";
|
|
2
|
+
import { RootContext } from "../modules/root-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesTreeView } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/tree-view/anatomy/branch-control.tsx
|
|
9
|
+
function BranchControl(props) {
|
|
10
|
+
const treeView = use(RootContext);
|
|
11
|
+
const nodeProps = use(NodeContext);
|
|
12
|
+
const { element, children,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(treeView.getBranchControlProps(nodeProps), { className: classesTreeView.branchControl }, rest);
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
15
|
+
...attributes,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { BranchControl as default };
|
|
22
|
+
//# sourceMappingURL=branch-control.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-control.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-control.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchControl(props: TreeViewBranchControlProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchControlProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchControl,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,cAAc,OAAmC;CACxE,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,sBAAsB,UAAU,EACzC,EACC,WAAW,gBAAgB,eAC3B,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 react105 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/tree-view/anatomy/branch-indent-guide.d.ts
|
|
6
|
+
interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
+
declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps): react105.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BranchIndentGuide, TreeViewBranchIndentGuideProps };
|
|
10
|
+
//# sourceMappingURL=branch-indent-guide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-indent-guide.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indent-guide.tsx"],"sourcesContent":[],"mappings":";;;;;UAQiB,8BAAA,SAAuC,yBAAyB;iBAEzD,iBAAA,QAAyB,iCAA8B,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NodeContext } from "../modules/node-context.js";
|
|
2
|
+
import { RootContext } from "../modules/root-context.js";
|
|
3
|
+
import { use } from "react";
|
|
4
|
+
import { mergeProps } from "@zag-js/react";
|
|
5
|
+
import { classesTreeView } from "@skeletonlabs/skeleton-common";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/tree-view/anatomy/branch-indent-guide.tsx
|
|
9
|
+
function BranchIndentGuide(props) {
|
|
10
|
+
const treeView = use(RootContext);
|
|
11
|
+
const nodeProps = use(NodeContext);
|
|
12
|
+
const { element, children,...rest } = props;
|
|
13
|
+
const attributes = mergeProps(treeView.getBranchIndentGuideProps(nodeProps), { className: classesTreeView.branchIndentGuide }, rest);
|
|
14
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("div", {
|
|
15
|
+
...attributes,
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { BranchIndentGuide as default };
|
|
22
|
+
//# sourceMappingURL=branch-indent-guide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-indent-guide.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indent-guide.tsx"],"sourcesContent":["import { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}\n\nexport default function BranchIndentGuide(props: TreeViewBranchIndentGuideProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchIndentGuideProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchIndentGuide,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <div {...attributes}>{children}</div>;\n}\n"],"mappings":";;;;;;;;AAUA,SAAwB,kBAAkB,OAAuC;CAChF,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,SAAU,GAAG,SAAS;CAEvC,MAAM,aAAa,WAClB,SAAS,0BAA0B,UAAU,EAC7C,EACC,WAAW,gBAAgB,mBAC3B,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 react103 from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/tree-view/anatomy/branch-indicator.d.ts
|
|
6
|
+
interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
+
declare function BranchIndicator(props: TreeViewBranchIndicatorProps): react103.JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { BranchIndicator, TreeViewBranchIndicatorProps };
|
|
10
|
+
//# sourceMappingURL=branch-indicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-indicator.d.ts","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indicator.tsx"],"sourcesContent":[],"mappings":";;;;;UAUiB,4BAAA,SAAqC,0BAA0B;iBAExD,eAAA,QAAuB,+BAA4B,QAAA,CAAA,GAAA,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import ChevronRight from "../../../internal/components/chevron-right.js";
|
|
2
|
+
import { NodeContext } from "../modules/node-context.js";
|
|
3
|
+
import { RootContext } from "../modules/root-context.js";
|
|
4
|
+
import { use } from "react";
|
|
5
|
+
import { mergeProps } from "@zag-js/react";
|
|
6
|
+
import { classesTreeView } from "@skeletonlabs/skeleton-common";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/tree-view/anatomy/branch-indicator.tsx
|
|
10
|
+
function BranchIndicator(props) {
|
|
11
|
+
const treeView = use(RootContext);
|
|
12
|
+
const nodeProps = use(NodeContext);
|
|
13
|
+
const { element, children = /* @__PURE__ */ jsx(ChevronRight, { className: "size-4" }),...rest } = props;
|
|
14
|
+
const attributes = mergeProps(treeView.getBranchIndicatorProps(nodeProps), { className: classesTreeView.branchIndicator }, rest);
|
|
15
|
+
return element ? element(attributes) : /* @__PURE__ */ jsx("span", {
|
|
16
|
+
...attributes,
|
|
17
|
+
children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { BranchIndicator as default };
|
|
23
|
+
//# sourceMappingURL=branch-indicator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branch-indicator.js","names":[],"sources":["../../../../src/components/tree-view/anatomy/branch-indicator.tsx"],"sourcesContent":["// oxlint-disable-next-line no-unused-vars\nimport { NodeContext } from '../modules/node-context';\nimport { RootContext } from '../modules/root-context';\nimport ChevronRight from '@/internal/components/chevron-right';\nimport type { HTMLAttributes } from '@/internal/html-attributes';\nimport type { PropsWithElement } from '@/internal/props-with-element';\nimport { classesTreeView } from '@skeletonlabs/skeleton-common';\nimport { mergeProps } from '@zag-js/react';\nimport { use } from 'react';\n\nexport interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}\n\nexport default function BranchIndicator(props: TreeViewBranchIndicatorProps) {\n\tconst treeView = use(RootContext);\n\tconst nodeProps = use(NodeContext);\n\n\tconst { element, children = <ChevronRight className=\"size-4\" />, ...rest } = props;\n\n\tconst attributes = mergeProps(\n\t\ttreeView.getBranchIndicatorProps(nodeProps),\n\t\t{\n\t\t\tclassName: classesTreeView.branchIndicator,\n\t\t},\n\t\trest,\n\t);\n\n\treturn element ? element(attributes) : <span {...attributes}>{children}</span>;\n}\n"],"mappings":";;;;;;;;;AAYA,SAAwB,gBAAgB,OAAqC;CAC5E,MAAM,WAAW,IAAI,YAAY;CACjC,MAAM,YAAY,IAAI,YAAY;CAElC,MAAM,EAAE,SAAS,WAAW,oBAAC,gBAAa,WAAU,WAAW,CAAE,GAAG,SAAS;CAE7E,MAAM,aAAa,WAClB,SAAS,wBAAwB,UAAU,EAC3C,EACC,WAAW,gBAAgB,iBAC3B,EACD,KACA;AAED,QAAO,UAAU,QAAQ,WAAW,GAAG,oBAAC;EAAK,GAAI;EAAa;GAAgB"}
|