@skeletonlabs/skeleton-react 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/root-provider.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/modules/provider.js +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
- package/dist/components/app-bar/anatomy/root.d.ts +2 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
- package/dist/components/avatar/anatomy/image.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/modules/provider.js +2 -3
- package/dist/components/collapsible/anatomy/content.d.ts +2 -2
- package/dist/components/collapsible/anatomy/indicator.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root-provider.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root.d.ts +2 -2
- package/dist/components/collapsible/anatomy/trigger.d.ts +2 -2
- package/dist/components/collapsible/modules/provider.js +2 -3
- package/dist/components/combobox/anatomy/content.d.ts +2 -2
- package/dist/components/combobox/anatomy/control.d.ts +2 -2
- 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.js +1 -2
- 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/combobox/modules/provider.js +2 -3
- package/dist/components/date-picker/anatomy/content.d.ts +2 -2
- package/dist/components/date-picker/anatomy/control.d.ts +2 -2
- 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/preset-trigger.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/date-picker/modules/provider.js +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/dialog/anatomy/content.d.ts +2 -2
- package/dist/components/dialog/anatomy/description.d.ts +2 -2
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/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/dialog/modules/provider.js +2 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/label.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
- package/dist/components/file-upload/modules/provider.js +2 -3
- package/dist/components/listbox/anatomy/content.d.ts +2 -2
- package/dist/components/listbox/anatomy/input.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.js +1 -2
- package/dist/components/listbox/anatomy/item-group.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-text.d.ts +2 -2
- package/dist/components/listbox/anatomy/item.d.ts +2 -2
- package/dist/components/listbox/anatomy/label.d.ts +2 -2
- package/dist/components/listbox/anatomy/root-provider.d.ts +2 -2
- package/dist/components/listbox/anatomy/root.d.ts +2 -2
- package/dist/components/listbox/modules/provider.js +2 -3
- package/dist/components/navigation/anatomy/content.d.ts +2 -2
- package/dist/components/navigation/anatomy/footer.d.ts +2 -2
- package/dist/components/navigation/anatomy/group.d.ts +2 -2
- package/dist/components/navigation/anatomy/header.d.ts +2 -2
- package/dist/components/navigation/anatomy/label.d.ts +2 -2
- package/dist/components/navigation/anatomy/menu.d.ts +2 -2
- package/dist/components/navigation/anatomy/root.d.ts +2 -2
- package/dist/components/pagination/anatomy/ellipsis.d.ts +2 -2
- package/dist/components/pagination/anatomy/item.d.ts +2 -2
- package/dist/components/pagination/anatomy/next-trigger.d.ts +2 -2
- package/dist/components/pagination/anatomy/prev-trigger.d.ts +2 -2
- package/dist/components/pagination/anatomy/root-provider.d.ts +2 -2
- package/dist/components/pagination/anatomy/root.d.ts +2 -2
- package/dist/components/pagination/modules/provider.js +2 -3
- 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/popover/modules/provider.js +2 -3
- package/dist/components/portal/anatomy/root.d.ts +2 -2
- package/dist/components/progress/anatomy/circle-range.d.ts +2 -2
- package/dist/components/progress/anatomy/circle-track.d.ts +2 -2
- package/dist/components/progress/anatomy/circle.d.ts +2 -2
- package/dist/components/progress/anatomy/label.d.ts +2 -2
- package/dist/components/progress/anatomy/range.d.ts +2 -2
- package/dist/components/progress/anatomy/root-provider.d.ts +2 -2
- package/dist/components/progress/anatomy/root.d.ts +2 -2
- package/dist/components/progress/anatomy/track.d.ts +2 -2
- package/dist/components/progress/anatomy/value-text.d.ts +2 -2
- package/dist/components/progress/modules/provider.js +2 -3
- 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/rating-group/modules/provider.js +2 -3
- 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/segmented-control/modules/provider.js +2 -3
- 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/slider/modules/provider.js +2 -3
- 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/switch/modules/provider.js +2 -3
- 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/tabs/modules/provider.js +2 -3
- 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/tags-input/modules/provider.js +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/description.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +2 -3
- package/dist/components/toast/anatomy/title.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
- package/dist/components/tooltip/anatomy/content.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
- package/dist/components/tooltip/modules/provider.js +2 -3
- package/dist/components/tree-view/anatomy/branch-content.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-control.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-indent-guide.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-indicator.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch-text.d.ts +2 -2
- package/dist/components/tree-view/anatomy/branch.d.ts +2 -2
- package/dist/components/tree-view/anatomy/item.d.ts +2 -2
- package/dist/components/tree-view/anatomy/label.d.ts +2 -2
- package/dist/components/tree-view/anatomy/node-provider.d.ts +2 -2
- package/dist/components/tree-view/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tree-view/anatomy/root.d.ts +2 -2
- package/dist/components/tree-view/anatomy/tree.d.ts +2 -2
- package/dist/components/tree-view/modules/provider.js +2 -3
- package/dist/internal/components/calendar.js +11 -12
- package/dist/internal/components/check.js +11 -12
- package/dist/internal/components/chevron-down.js +11 -12
- package/dist/internal/components/chevron-left.js +11 -12
- package/dist/internal/components/chevron-right.js +11 -12
- package/dist/internal/components/star-empty.js +9 -10
- package/dist/internal/components/star-full.js +7 -8
- package/dist/internal/components/star-half.js +9 -10
- package/dist/internal/components/x.js +11 -12
- package/package.json +3 -3
|
@@ -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 react133 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/branch-control.d.ts
|
|
6
6
|
interface TreeViewBranchControlProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function BranchControl(props: TreeViewBranchControlProps):
|
|
7
|
+
declare function BranchControl(props: TreeViewBranchControlProps): react133.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BranchControl, TreeViewBranchControlProps };
|
|
10
10
|
//# sourceMappingURL=branch-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 react137 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/branch-indent-guide.d.ts
|
|
6
6
|
interface TreeViewBranchIndentGuideProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps):
|
|
7
|
+
declare function BranchIndentGuide(props: TreeViewBranchIndentGuideProps): react137.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BranchIndentGuide, TreeViewBranchIndentGuideProps };
|
|
10
10
|
//# sourceMappingURL=branch-indent-guide.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 react135 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/branch-indicator.d.ts
|
|
6
6
|
interface TreeViewBranchIndicatorProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function BranchIndicator(props: TreeViewBranchIndicatorProps):
|
|
7
|
+
declare function BranchIndicator(props: TreeViewBranchIndicatorProps): react135.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BranchIndicator, TreeViewBranchIndicatorProps };
|
|
10
10
|
//# sourceMappingURL=branch-indicator.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react134 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/branch-text.d.ts
|
|
6
6
|
interface TreeViewBranchTextProps extends PropsWithElement<'span'>, HTMLAttributes<'span'> {}
|
|
7
|
-
declare function BranchText(props: TreeViewBranchTextProps):
|
|
7
|
+
declare function BranchText(props: TreeViewBranchTextProps): react134.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { BranchText, TreeViewBranchTextProps };
|
|
10
10
|
//# sourceMappingURL=branch-text.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 react132 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/branch.d.ts
|
|
6
6
|
interface TreeViewBranchProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Branch(props: TreeViewBranchProps):
|
|
7
|
+
declare function Branch(props: TreeViewBranchProps): react132.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Branch, TreeViewBranchProps };
|
|
10
10
|
//# sourceMappingURL=branch.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 react131 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/item.d.ts
|
|
6
6
|
interface TreeViewItemProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Item(props: TreeViewItemProps):
|
|
7
|
+
declare function Item(props: TreeViewItemProps): react131.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Item, TreeViewItemProps };
|
|
10
10
|
//# sourceMappingURL=item.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import
|
|
3
|
+
import { JSX } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/label.d.ts
|
|
6
6
|
interface TreeViewLabelProps extends PropsWithElement<'h3'>, HTMLAttributes<'h3'> {
|
|
@@ -11,7 +11,7 @@ interface TreeViewLabelProps extends PropsWithElement<'h3'>, HTMLAttributes<'h3'
|
|
|
11
11
|
*/
|
|
12
12
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
13
13
|
}
|
|
14
|
-
declare function Label(props: TreeViewLabelProps):
|
|
14
|
+
declare function Label(props: TreeViewLabelProps): JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Label, TreeViewLabelProps };
|
|
17
17
|
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
import { NodeProps } from "@zag-js/tree-view";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/node-provider.d.ts
|
|
6
6
|
interface TreeViewNodeProviderProps extends PropsWithChildren {
|
|
7
7
|
value: NodeProps;
|
|
8
8
|
}
|
|
9
|
-
declare function NodeProvider(props: TreeViewNodeProviderProps):
|
|
9
|
+
declare function NodeProvider(props: TreeViewNodeProviderProps): react_jsx_runtime53.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { NodeProvider, TreeViewNodeProviderProps };
|
|
12
12
|
//# sourceMappingURL=node-provider.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 { useTreeView } from "../modules/provider.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree-view/anatomy/root-provider.d.ts
|
|
7
7
|
interface TreeViewRootProviderProps extends PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {
|
|
8
8
|
value: ReturnType<typeof useTreeView>;
|
|
9
9
|
}
|
|
10
|
-
declare function RootProvider(props: TreeViewRootProviderProps):
|
|
10
|
+
declare function RootProvider(props: TreeViewRootProviderProps): react_jsx_runtime52.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { RootProvider, TreeViewRootProviderProps };
|
|
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/tree-view";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tree-view/anatomy/root.d.ts
|
|
7
7
|
interface TreeViewRootProps extends Omit<Props, 'id'>, PropsWithElement<'div'>, HTMLAttributes<'div', 'id' | 'dir' | 'defaultValue'> {}
|
|
8
|
-
declare function Root(props: TreeViewRootProps):
|
|
8
|
+
declare function Root(props: TreeViewRootProps): react_jsx_runtime51.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Root, TreeViewRootProps };
|
|
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 react130 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/anatomy/tree.d.ts
|
|
6
6
|
interface TreeViewTreeProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Tree(props: TreeViewTreeProps):
|
|
7
|
+
declare function Tree(props: TreeViewTreeProps): react130.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Tree, TreeViewTreeProps };
|
|
10
10
|
//# sourceMappingURL=tree.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/tree-view";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/tree-view/modules/provider.ts
|
|
6
6
|
function useTreeView(props = {}) {
|
|
7
|
-
|
|
7
|
+
return connect(useMachine(machine, {
|
|
8
8
|
id: useId(),
|
|
9
9
|
...props
|
|
10
|
-
});
|
|
11
|
-
return connect(service, normalizeProps);
|
|
10
|
+
}), normalizeProps);
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
//#endregion
|
|
@@ -4,19 +4,18 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/calendar.tsx
|
|
5
5
|
function Calendar(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsxs("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: [
|
|
21
20
|
/* @__PURE__ */ jsx("path", { d: "M8 2v4" }),
|
|
22
21
|
/* @__PURE__ */ jsx("path", { d: "M16 2v4" }),
|
|
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/check.tsx
|
|
5
5
|
function Check(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: /* @__PURE__ */ jsx("path", { d: "M20 6 9 17l-5-5" })
|
|
21
20
|
});
|
|
22
21
|
}
|
|
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/chevron-down.tsx
|
|
5
5
|
function ChevronDown(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: /* @__PURE__ */ jsx("path", { d: "m6 9 6 6 6-6" })
|
|
21
20
|
});
|
|
22
21
|
}
|
|
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/chevron-left.tsx
|
|
5
5
|
function ChevronLeft(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: /* @__PURE__ */ jsx("path", { d: "m15 18-6-6 6-6" })
|
|
21
20
|
});
|
|
22
21
|
}
|
|
@@ -4,19 +4,18 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/chevron-right.tsx
|
|
5
5
|
function ChevronRight(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: /* @__PURE__ */ jsx("path", { d: "m9 18 6-6-6-6" })
|
|
21
20
|
});
|
|
22
21
|
}
|
|
@@ -4,17 +4,16 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/star-empty.tsx
|
|
5
5
|
function StarEmpty(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "1.5"
|
|
15
|
-
}, rest);
|
|
16
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
17
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "1.5"
|
|
16
|
+
}, rest),
|
|
18
17
|
children: /* @__PURE__ */ jsx("path", {
|
|
19
18
|
strokeLinecap: "round",
|
|
20
19
|
strokeLinejoin: "round",
|
|
@@ -4,15 +4,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/star-full.tsx
|
|
5
5
|
function StarFull(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "currentColor"
|
|
13
|
-
}, rest);
|
|
14
7
|
return /* @__PURE__ */ jsx("svg", {
|
|
15
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "currentColor"
|
|
14
|
+
}, rest),
|
|
16
15
|
children: /* @__PURE__ */ jsx("path", {
|
|
17
16
|
fillRule: "evenodd",
|
|
18
17
|
clipRule: "evenodd",
|
|
@@ -4,17 +4,16 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/star-half.tsx
|
|
5
5
|
function StarHalf(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "1.5"
|
|
15
|
-
}, rest);
|
|
16
7
|
return /* @__PURE__ */ jsxs("svg", {
|
|
17
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "1.5"
|
|
16
|
+
}, rest),
|
|
18
17
|
children: [/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs("linearGradient", {
|
|
19
18
|
id: "half-fill",
|
|
20
19
|
x1: "0%",
|
|
@@ -4,19 +4,18 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
//#region src/internal/components/x.tsx
|
|
5
5
|
function X(props) {
|
|
6
6
|
const { ...rest } = props;
|
|
7
|
-
const attributes = mergeProps({
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
width: "24",
|
|
10
|
-
height: "24",
|
|
11
|
-
viewBox: "0 0 24 24",
|
|
12
|
-
fill: "none",
|
|
13
|
-
stroke: "currentColor",
|
|
14
|
-
strokeWidth: "2",
|
|
15
|
-
strokeLinecap: "round",
|
|
16
|
-
strokeLinejoin: "round"
|
|
17
|
-
}, rest);
|
|
18
7
|
return /* @__PURE__ */ jsxs("svg", {
|
|
19
|
-
...
|
|
8
|
+
...mergeProps({
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: "24",
|
|
11
|
+
height: "24",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
strokeWidth: "2",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}, rest),
|
|
20
19
|
children: [/* @__PURE__ */ jsx("path", { d: "M18 6 6 18" }), /* @__PURE__ */ jsx("path", { d: "m6 6 12 12" })]
|
|
21
20
|
});
|
|
22
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton-react",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "The React package for Skeleton.",
|
|
5
5
|
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@zag-js/toast": "1.26.1",
|
|
44
44
|
"@zag-js/tooltip": "1.26.1",
|
|
45
45
|
"@zag-js/tree-view": "1.26.1",
|
|
46
|
-
"@skeletonlabs/skeleton-common": "4.0.
|
|
46
|
+
"@skeletonlabs/skeleton-common": "4.0.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@testing-library/jest-dom": "6.9.1",
|
|
54
54
|
"@testing-library/react": "16.3.0",
|
|
55
55
|
"@types/react": "19.2.2",
|
|
56
|
-
"@types/react-dom": "19.2.
|
|
56
|
+
"@types/react-dom": "19.2.2",
|
|
57
57
|
"@vitejs/plugin-react": "5.0.4",
|
|
58
58
|
"jsdom": "27.0.0",
|
|
59
59
|
"react": "19.2.0",
|