@skeletonlabs/skeleton-react 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/anatomy/item-content.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/accordion/anatomy/item-trigger.d.ts +2 -2
- package/dist/components/accordion/anatomy/item.d.ts +2 -2
- package/dist/components/accordion/anatomy/root.d.ts +2 -2
- package/dist/components/accordion/modules/provider.js +2 -3
- package/dist/components/app-bar/anatomy/headline.d.ts +2 -2
- package/dist/components/app-bar/anatomy/lead.d.ts +2 -2
- package/dist/components/app-bar/anatomy/root.d.ts +2 -2
- package/dist/components/app-bar/anatomy/toolbar.d.ts +2 -2
- package/dist/components/app-bar/anatomy/trail.d.ts +2 -2
- package/dist/components/avatar/anatomy/fallback.d.ts +2 -2
- package/dist/components/avatar/anatomy/image.d.ts +2 -2
- package/dist/components/avatar/anatomy/root-provider.d.ts +2 -2
- package/dist/components/avatar/anatomy/root.d.ts +2 -2
- package/dist/components/avatar/modules/provider.js +2 -3
- package/dist/components/collapsible/anatomy/indicator.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root-provider.d.ts +2 -2
- package/dist/components/collapsible/anatomy/root.d.ts +2 -2
- package/dist/components/collapsible/anatomy/trigger.d.ts +2 -2
- package/dist/components/collapsible/modules/provider.js +2 -3
- package/dist/components/combobox/anatomy/item-group-label.js +1 -2
- package/dist/components/combobox/modules/provider.js +2 -3
- package/dist/components/date-picker/anatomy/root-provider.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell-trigger.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-cell.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-head.d.ts +2 -2
- package/dist/components/date-picker/anatomy/table-header.d.ts +2 -2
- package/dist/components/date-picker/modules/provider.js +2 -3
- package/dist/components/dialog/anatomy/backdrop.d.ts +2 -2
- package/dist/components/dialog/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/dialog/anatomy/content.d.ts +2 -2
- package/dist/components/dialog/anatomy/description.d.ts +2 -2
- package/dist/components/dialog/anatomy/positioner.d.ts +2 -2
- package/dist/components/dialog/anatomy/root-provider.d.ts +2 -2
- package/dist/components/dialog/anatomy/title.d.ts +2 -2
- package/dist/components/dialog/anatomy/trigger.d.ts +2 -2
- package/dist/components/dialog/modules/provider.js +2 -3
- package/dist/components/file-upload/anatomy/dropzone.d.ts +2 -2
- package/dist/components/file-upload/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-delete-trigger.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-group.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-name.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item-size-text.d.ts +2 -2
- package/dist/components/file-upload/anatomy/item.d.ts +2 -2
- package/dist/components/file-upload/anatomy/label.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root-provider.d.ts +2 -2
- package/dist/components/file-upload/anatomy/root.d.ts +2 -2
- package/dist/components/file-upload/anatomy/trigger.d.ts +2 -2
- package/dist/components/file-upload/modules/provider.js +2 -3
- package/dist/components/listbox/anatomy/content.d.ts +2 -2
- package/dist/components/listbox/anatomy/input.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-group-label.js +1 -2
- package/dist/components/listbox/anatomy/item-group.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-indicator.d.ts +2 -2
- package/dist/components/listbox/anatomy/item-text.d.ts +2 -2
- package/dist/components/listbox/anatomy/label.d.ts +2 -2
- package/dist/components/listbox/anatomy/root.d.ts +2 -2
- package/dist/components/listbox/modules/provider.js +2 -3
- package/dist/components/pagination/modules/provider.js +2 -3
- package/dist/components/popover/modules/provider.js +2 -3
- package/dist/components/progress/modules/provider.js +2 -3
- package/dist/components/rating-group/modules/provider.js +2 -3
- package/dist/components/segmented-control/modules/provider.js +2 -3
- package/dist/components/slider/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/slider/anatomy/label.d.ts +2 -2
- package/dist/components/slider/anatomy/marker.d.ts +2 -2
- package/dist/components/slider/anatomy/range.d.ts +2 -2
- package/dist/components/slider/anatomy/value-text.d.ts +2 -2
- package/dist/components/slider/modules/provider.js +2 -3
- package/dist/components/switch/anatomy/hidden-input.d.ts +2 -2
- package/dist/components/switch/anatomy/label.d.ts +2 -2
- package/dist/components/switch/modules/provider.js +2 -3
- package/dist/components/tabs/modules/provider.js +2 -3
- package/dist/components/tags-input/modules/provider.js +2 -3
- package/dist/components/toast/anatomy/action-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/close-trigger.d.ts +2 -2
- package/dist/components/toast/anatomy/description.d.ts +2 -2
- package/dist/components/toast/anatomy/group.d.ts +2 -2
- package/dist/components/toast/anatomy/message.d.ts +2 -2
- package/dist/components/toast/anatomy/root.d.ts +2 -2
- package/dist/components/toast/anatomy/root.js +2 -3
- package/dist/components/toast/anatomy/title.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow-tip.d.ts +2 -2
- package/dist/components/tooltip/anatomy/arrow.d.ts +2 -2
- package/dist/components/tooltip/anatomy/content.d.ts +2 -2
- package/dist/components/tooltip/anatomy/positioner.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root-provider.d.ts +2 -2
- package/dist/components/tooltip/anatomy/root.d.ts +2 -2
- package/dist/components/tooltip/anatomy/trigger.d.ts +2 -2
- package/dist/components/tooltip/modules/provider.js +2 -3
- package/dist/components/tree-view/modules/provider.js +2 -3
- package/dist/internal/components/calendar.js +11 -12
- package/dist/internal/components/check.js +11 -12
- package/dist/internal/components/chevron-down.js +11 -12
- package/dist/internal/components/chevron-left.js +11 -12
- package/dist/internal/components/chevron-right.js +11 -12
- package/dist/internal/components/star-empty.js +9 -10
- package/dist/internal/components/star-full.js +7 -8
- package/dist/internal/components/star-half.js +9 -10
- package/dist/internal/components/x.js +11 -12
- package/package.json +25 -25
|
@@ -1,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 react124 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toast/anatomy/title.d.ts
|
|
6
6
|
interface ToastTitleProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Title(props: ToastTitleProps):
|
|
7
|
+
declare function Title(props: ToastTitleProps): react124.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Title, ToastTitleProps };
|
|
10
10
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react127 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/arrow-tip.d.ts
|
|
6
6
|
interface TooltipArrowTipProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function ArrowTip(props: TooltipArrowTipProps):
|
|
7
|
+
declare function ArrowTip(props: TooltipArrowTipProps): react127.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ArrowTip, TooltipArrowTipProps };
|
|
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 react126 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/arrow.d.ts
|
|
6
6
|
interface TooltipArrowProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Arrow(props: TooltipArrowProps):
|
|
7
|
+
declare function Arrow(props: TooltipArrowProps): react126.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Arrow, TooltipArrowProps };
|
|
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 react128 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/content.d.ts
|
|
6
6
|
interface TooltipContentProps extends PropsWithElement<'div'>, HTMLAttributes<'div'> {}
|
|
7
|
-
declare function Content(props: TooltipContentProps):
|
|
7
|
+
declare function Content(props: TooltipContentProps): react128.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Content, TooltipContentProps };
|
|
10
10
|
//# sourceMappingURL=content.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime48 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_runtime48.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_runtime50 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_runtime50.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_runtime49 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_runtime49.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Root, TooltipRootProps };
|
|
10
10
|
//# sourceMappingURL=root.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { HTMLAttributes } from "../../../internal/html-attributes.js";
|
|
2
2
|
import { PropsWithElement } from "../../../internal/props-with-element.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react129 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/anatomy/trigger.d.ts
|
|
6
6
|
interface TooltipTriggerProps extends PropsWithElement<'button'>, HTMLAttributes<'button'> {}
|
|
7
|
-
declare function Trigger(props: TooltipTriggerProps):
|
|
7
|
+
declare function Trigger(props: TooltipTriggerProps): react129.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { TooltipTriggerProps, Trigger };
|
|
10
10
|
//# sourceMappingURL=trigger.d.ts.map
|
|
@@ -4,11 +4,10 @@ import { connect, machine } from "@zag-js/tooltip";
|
|
|
4
4
|
|
|
5
5
|
//#region src/components/tooltip/modules/provider.ts
|
|
6
6
|
function useTooltip(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,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": {
|
|
@@ -21,29 +21,29 @@
|
|
|
21
21
|
],
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@zag-js/accordion": "1.26.
|
|
25
|
-
"@zag-js/avatar": "1.26.
|
|
26
|
-
"@zag-js/collapsible": "1.26.
|
|
27
|
-
"@zag-js/collection": "1.26.
|
|
28
|
-
"@zag-js/combobox": "1.26.
|
|
29
|
-
"@zag-js/date-picker": "1.26.
|
|
30
|
-
"@zag-js/dialog": "1.26.
|
|
31
|
-
"@zag-js/file-upload": "1.26.
|
|
32
|
-
"@zag-js/listbox": "1.26.
|
|
33
|
-
"@zag-js/pagination": "1.26.
|
|
34
|
-
"@zag-js/popover": "1.26.
|
|
35
|
-
"@zag-js/progress": "1.26.
|
|
36
|
-
"@zag-js/radio-group": "1.26.
|
|
37
|
-
"@zag-js/rating-group": "1.26.
|
|
38
|
-
"@zag-js/react": "1.26.
|
|
39
|
-
"@zag-js/slider": "1.26.
|
|
40
|
-
"@zag-js/switch": "1.26.
|
|
41
|
-
"@zag-js/tabs": "1.26.
|
|
42
|
-
"@zag-js/tags-input": "1.26.
|
|
43
|
-
"@zag-js/toast": "1.26.
|
|
44
|
-
"@zag-js/tooltip": "1.26.
|
|
45
|
-
"@zag-js/tree-view": "1.26.
|
|
46
|
-
"@skeletonlabs/skeleton-common": "4.0.
|
|
24
|
+
"@zag-js/accordion": "1.26.1",
|
|
25
|
+
"@zag-js/avatar": "1.26.1",
|
|
26
|
+
"@zag-js/collapsible": "1.26.1",
|
|
27
|
+
"@zag-js/collection": "1.26.1",
|
|
28
|
+
"@zag-js/combobox": "1.26.1",
|
|
29
|
+
"@zag-js/date-picker": "1.26.1",
|
|
30
|
+
"@zag-js/dialog": "1.26.1",
|
|
31
|
+
"@zag-js/file-upload": "1.26.1",
|
|
32
|
+
"@zag-js/listbox": "1.26.1",
|
|
33
|
+
"@zag-js/pagination": "1.26.1",
|
|
34
|
+
"@zag-js/popover": "1.26.1",
|
|
35
|
+
"@zag-js/progress": "1.26.1",
|
|
36
|
+
"@zag-js/radio-group": "1.26.1",
|
|
37
|
+
"@zag-js/rating-group": "1.26.1",
|
|
38
|
+
"@zag-js/react": "1.26.1",
|
|
39
|
+
"@zag-js/slider": "1.26.1",
|
|
40
|
+
"@zag-js/switch": "1.26.1",
|
|
41
|
+
"@zag-js/tabs": "1.26.1",
|
|
42
|
+
"@zag-js/tags-input": "1.26.1",
|
|
43
|
+
"@zag-js/toast": "1.26.1",
|
|
44
|
+
"@zag-js/tooltip": "1.26.1",
|
|
45
|
+
"@zag-js/tree-view": "1.26.1",
|
|
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",
|