@wix/site-ui 1.19.0 → 1.21.0
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/Accordion/index.css +33 -2
- package/dist/Accordion/index.d.ts +16 -0
- package/dist/Accordion/index.js +25 -1
- package/dist/Breadcrumbs/index.css +47 -0
- package/dist/Breadcrumbs/index.d.ts +32 -0
- package/dist/Breadcrumbs/index.js +81 -0
- package/dist/index.d.ts +35 -6
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/Accordion/index.css
CHANGED
|
@@ -43,14 +43,18 @@
|
|
|
43
43
|
pointer-events: none;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
.trigger-cbcjp2[data-disabled] .title-Akf754, .trigger-cbcjp2[data-disabled] .subtitle-wfobjk {
|
|
47
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
48
|
+
}
|
|
49
|
+
|
|
46
50
|
.small-ECItLE .trigger-cbcjp2 {
|
|
47
|
-
gap:
|
|
51
|
+
gap: 12px;
|
|
48
52
|
padding-block: 12px;
|
|
49
53
|
padding-inline: 0;
|
|
50
54
|
}
|
|
51
55
|
|
|
52
56
|
.large-FlJRwV .trigger-cbcjp2 {
|
|
53
|
-
gap:
|
|
57
|
+
gap: 32px;
|
|
54
58
|
padding-block: 24px;
|
|
55
59
|
padding-inline: 0;
|
|
56
60
|
}
|
|
@@ -63,6 +67,33 @@
|
|
|
63
67
|
padding-inline: 24px;
|
|
64
68
|
}
|
|
65
69
|
|
|
70
|
+
.title-Akf754 {
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
flex: 1;
|
|
73
|
+
gap: 4px;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
display: flex;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.subtitle-wfobjk {
|
|
79
|
+
font: var(--wst-paragraph-3-font);
|
|
80
|
+
color: var(--wst-shade-3-color);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.suffix-O091QK {
|
|
84
|
+
flex-shrink: 0;
|
|
85
|
+
align-items: center;
|
|
86
|
+
display: flex;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.small-ECItLE .suffix-O091QK {
|
|
90
|
+
gap: 8px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.large-FlJRwV .suffix-O091QK {
|
|
94
|
+
gap: 12px;
|
|
95
|
+
}
|
|
96
|
+
|
|
66
97
|
.arrow-yZ7Nq2 {
|
|
67
98
|
flex-shrink: 0;
|
|
68
99
|
transition: transform .2s;
|
|
@@ -24,6 +24,15 @@ export declare const Accordion: {
|
|
|
24
24
|
Arrow: React_2.ForwardRefExoticComponent<ChevronDownProps & {
|
|
25
25
|
className?: string | undefined;
|
|
26
26
|
} & React_2.RefAttributes<SVGSVGElement>>;
|
|
27
|
+
Title: React_2.ForwardRefExoticComponent<Omit<Omit<TypographyProps, "variant">, "className"> & {
|
|
28
|
+
className?: string | undefined;
|
|
29
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
30
|
+
Subtitle: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLSpanElement>, "className"> & {
|
|
31
|
+
className?: string | undefined;
|
|
32
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
33
|
+
Suffix: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLSpanElement>, "className"> & {
|
|
34
|
+
className?: string | undefined;
|
|
35
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
27
36
|
};
|
|
28
37
|
|
|
29
38
|
export declare const AccordionSize: {
|
|
@@ -43,6 +52,13 @@ declare function Root<Value = any>({ className, size, variant, ...props }: WithS
|
|
|
43
52
|
|
|
44
53
|
declare type Size = (typeof AccordionSize)[keyof typeof AccordionSize];
|
|
45
54
|
|
|
55
|
+
declare interface TypographyProps extends React_2.HTMLAttributes<HTMLElement> {
|
|
56
|
+
variant?: TypographyVariant;
|
|
57
|
+
render?: React_2.ReactElement;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p1' | 'p2' | 'p3';
|
|
61
|
+
|
|
46
62
|
declare type Variant = (typeof AccordionVariant)[keyof typeof AccordionVariant];
|
|
47
63
|
|
|
48
64
|
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
package/dist/Accordion/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Accordion } from "@base-ui/react/accordion";
|
|
3
3
|
import { ChevronDown } from "@wix/wix-ui-icons-common";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
+
import { Typography } from "../Typography/index.js";
|
|
5
6
|
import * as __rspack_external_react from "react";
|
|
6
7
|
const Accordion_module = {
|
|
7
8
|
root: "root-jseiNO",
|
|
@@ -10,8 +11,11 @@ const Accordion_module = {
|
|
|
10
11
|
box: "box-IGlTAZ",
|
|
11
12
|
header: "header-YZESJq",
|
|
12
13
|
trigger: "trigger-cbcjp2",
|
|
14
|
+
title: "title-Akf754",
|
|
15
|
+
subtitle: "subtitle-wfobjk",
|
|
13
16
|
small: "small-ECItLE",
|
|
14
17
|
large: "large-FlJRwV",
|
|
18
|
+
suffix: "suffix-O091QK",
|
|
15
19
|
arrow: "arrow-yZ7Nq2",
|
|
16
20
|
panel: "panel-Gp0XFK"
|
|
17
21
|
};
|
|
@@ -54,12 +58,32 @@ const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...
|
|
|
54
58
|
"aria-hidden": "true",
|
|
55
59
|
...props
|
|
56
60
|
}));
|
|
61
|
+
const Title = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Typography, {
|
|
62
|
+
ref: ref,
|
|
63
|
+
variant: "p2",
|
|
64
|
+
render: /*#__PURE__*/ jsx("span", {}),
|
|
65
|
+
className: clsx(Accordion_module.title, className),
|
|
66
|
+
...props
|
|
67
|
+
}));
|
|
68
|
+
const Subtitle = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("span", {
|
|
69
|
+
ref: ref,
|
|
70
|
+
className: clsx(Accordion_module.subtitle, className),
|
|
71
|
+
...props
|
|
72
|
+
}));
|
|
73
|
+
const Suffix = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("span", {
|
|
74
|
+
ref: ref,
|
|
75
|
+
className: clsx(Accordion_module.suffix, className),
|
|
76
|
+
...props
|
|
77
|
+
}));
|
|
57
78
|
const Accordion_Accordion = {
|
|
58
79
|
Item: Item,
|
|
59
80
|
Header: Header,
|
|
60
81
|
Trigger: Trigger,
|
|
61
82
|
Panel: Panel,
|
|
62
83
|
Root: Root,
|
|
63
|
-
Arrow: Arrow
|
|
84
|
+
Arrow: Arrow,
|
|
85
|
+
Title: Title,
|
|
86
|
+
Subtitle: Subtitle,
|
|
87
|
+
Suffix: Suffix
|
|
64
88
|
};
|
|
65
89
|
export { AccordionSize, AccordionVariant, Accordion_Accordion as Accordion };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.root-uwc56U {
|
|
2
|
+
font: var(--wst-paragraph-2-font);
|
|
3
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.list-HHG8hu {
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 4px;
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
list-style: none;
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.item-yTmapi {
|
|
16
|
+
align-items: center;
|
|
17
|
+
padding: 4px 0;
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.link-GDIKcZ {
|
|
22
|
+
color: inherit;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.link-GDIKcZ:hover, .link-GDIKcZ:focus-visible {
|
|
27
|
+
opacity: .7;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.page-adRf_w {
|
|
31
|
+
color: inherit;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.separator-Kz0pCd {
|
|
35
|
+
pointer-events: none;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
align-items: center;
|
|
38
|
+
min-width: 1.5em;
|
|
39
|
+
min-height: 1.5em;
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.separatorIcon-vONtbc {
|
|
44
|
+
width: 1.5em;
|
|
45
|
+
height: 1.5em;
|
|
46
|
+
}
|
|
47
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
+
import { NavigationMenu } from '@base-ui/react/navigation-menu';
|
|
3
|
+
import { NavigationMenuItemProps } from '@base-ui/react/navigation-menu';
|
|
4
|
+
import { NavigationMenuLinkProps } from '@base-ui/react/navigation-menu';
|
|
5
|
+
import { NavigationMenuListProps } from '@base-ui/react/navigation-menu';
|
|
6
|
+
import * as React_2 from 'react';
|
|
7
|
+
|
|
8
|
+
export declare const Breadcrumbs: {
|
|
9
|
+
Root: typeof Root;
|
|
10
|
+
List: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuListProps, "ref"> & React_2.RefAttributes<HTMLUListElement>, "ref">, "className"> & {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
} & React_2.RefAttributes<HTMLUListElement>>;
|
|
13
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuItemProps, "ref"> & React_2.RefAttributes<HTMLLIElement>, "ref">, "className"> & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
16
|
+
Link: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuLinkProps, "ref"> & React_2.RefAttributes<HTMLAnchorElement>, "ref">, "className"> & {
|
|
17
|
+
className?: string | undefined;
|
|
18
|
+
} & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
19
|
+
Page: React_2.ForwardRefExoticComponent<{
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
} & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
declare function Root<Value = any>({ className, dir, separator, 'aria-label': ariaLabel, ...props }: WithStringClassName<NavigationMenu.Root.Props<Value>> & {
|
|
25
|
+
separator?: React_2.ReactNode;
|
|
26
|
+
}): JSX_2.Element;
|
|
27
|
+
|
|
28
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
29
|
+
className?: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { }
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { NavigationMenu } from "@base-ui/react/navigation-menu";
|
|
3
|
+
import { ChevronLeft, ChevronRight } from "@wix/wix-ui-icons-common";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import * as __rspack_external_react from "react";
|
|
6
|
+
const Breadcrumbs_module = {
|
|
7
|
+
root: "root-uwc56U",
|
|
8
|
+
list: "list-HHG8hu",
|
|
9
|
+
item: "item-yTmapi",
|
|
10
|
+
link: "link-GDIKcZ",
|
|
11
|
+
page: "page-adRf_w",
|
|
12
|
+
separator: "separator-Kz0pCd",
|
|
13
|
+
separatorIcon: "separatorIcon-vONtbc"
|
|
14
|
+
};
|
|
15
|
+
const BreadcrumbsContext = /*#__PURE__*/ __rspack_external_react.createContext({
|
|
16
|
+
separator: /*#__PURE__*/ jsx(ChevronRight, {
|
|
17
|
+
className: Breadcrumbs_module.separatorIcon
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, children, ...props }, ref)=>{
|
|
21
|
+
const { separator } = __rspack_external_react.useContext(BreadcrumbsContext);
|
|
22
|
+
const childArray = __rspack_external_react.Children.toArray(children);
|
|
23
|
+
return /*#__PURE__*/ jsx(NavigationMenu.List, {
|
|
24
|
+
ref: ref,
|
|
25
|
+
className: clsx(Breadcrumbs_module.list, className),
|
|
26
|
+
...props,
|
|
27
|
+
children: childArray.flatMap((child, index)=>0 === index ? [
|
|
28
|
+
child
|
|
29
|
+
] : [
|
|
30
|
+
/*#__PURE__*/ jsx("li", {
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
role: "presentation",
|
|
33
|
+
className: Breadcrumbs_module.separator,
|
|
34
|
+
children: separator
|
|
35
|
+
}, `sep-${index}`),
|
|
36
|
+
child
|
|
37
|
+
])
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
const Item = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(NavigationMenu.Item, {
|
|
41
|
+
ref: ref,
|
|
42
|
+
className: clsx(Breadcrumbs_module.item, className),
|
|
43
|
+
...props
|
|
44
|
+
}));
|
|
45
|
+
const Link = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(NavigationMenu.Link, {
|
|
46
|
+
ref: ref,
|
|
47
|
+
className: clsx(Breadcrumbs_module.link, className),
|
|
48
|
+
...props
|
|
49
|
+
}));
|
|
50
|
+
const Page = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("span", {
|
|
51
|
+
ref: ref,
|
|
52
|
+
"aria-current": "page",
|
|
53
|
+
...props,
|
|
54
|
+
className: clsx(Breadcrumbs_module.page, className)
|
|
55
|
+
}));
|
|
56
|
+
function Root({ className, dir, separator, 'aria-label': ariaLabel = 'Breadcrumbs', ...props }) {
|
|
57
|
+
const defaultSeparator = 'rtl' === dir ? /*#__PURE__*/ jsx(ChevronLeft, {
|
|
58
|
+
className: Breadcrumbs_module.separatorIcon
|
|
59
|
+
}) : /*#__PURE__*/ jsx(ChevronRight, {
|
|
60
|
+
className: Breadcrumbs_module.separatorIcon
|
|
61
|
+
});
|
|
62
|
+
return /*#__PURE__*/ jsx(BreadcrumbsContext.Provider, {
|
|
63
|
+
value: {
|
|
64
|
+
separator: separator ?? defaultSeparator
|
|
65
|
+
},
|
|
66
|
+
children: /*#__PURE__*/ jsx(NavigationMenu.Root, {
|
|
67
|
+
"aria-label": ariaLabel,
|
|
68
|
+
dir: dir,
|
|
69
|
+
...props,
|
|
70
|
+
className: clsx(Breadcrumbs_module.root, className)
|
|
71
|
+
})
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
const Breadcrumbs = {
|
|
75
|
+
Root: Root,
|
|
76
|
+
List: List,
|
|
77
|
+
Item: Item,
|
|
78
|
+
Link: Link,
|
|
79
|
+
Page: Page
|
|
80
|
+
};
|
|
81
|
+
export { Breadcrumbs };
|
package/dist/index.d.ts
CHANGED
|
@@ -245,6 +245,15 @@ export declare const Accordion: {
|
|
|
245
245
|
Arrow: React_2.ForwardRefExoticComponent<ChevronDownProps & {
|
|
246
246
|
className?: string | undefined;
|
|
247
247
|
} & React_2.RefAttributes<SVGSVGElement>>;
|
|
248
|
+
Title: React_2.ForwardRefExoticComponent<Omit<Omit<TypographyProps, "variant">, "className"> & {
|
|
249
|
+
className?: string | undefined;
|
|
250
|
+
} & React_2.RefAttributes<HTMLElement>>;
|
|
251
|
+
Subtitle: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLSpanElement>, "className"> & {
|
|
252
|
+
className?: string | undefined;
|
|
253
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
254
|
+
Suffix: React_2.ForwardRefExoticComponent<Omit<React_2.HTMLAttributes<HTMLSpanElement>, "className"> & {
|
|
255
|
+
className?: string | undefined;
|
|
256
|
+
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
248
257
|
};
|
|
249
258
|
|
|
250
259
|
export declare const AccordionSize: {
|
|
@@ -362,6 +371,22 @@ export declare const AvatarSize: {
|
|
|
362
371
|
|
|
363
372
|
declare type BaseProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Button_2>>;
|
|
364
373
|
|
|
374
|
+
export declare const Breadcrumbs: {
|
|
375
|
+
Root: typeof Root_2;
|
|
376
|
+
List: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuListProps, "ref"> & React_2.RefAttributes<HTMLUListElement>, "ref">, "className"> & {
|
|
377
|
+
className?: string | undefined;
|
|
378
|
+
} & React_2.RefAttributes<HTMLUListElement>>;
|
|
379
|
+
Item: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuItemProps, "ref"> & React_2.RefAttributes<HTMLLIElement>, "ref">, "className"> & {
|
|
380
|
+
className?: string | undefined;
|
|
381
|
+
} & React_2.RefAttributes<HTMLLIElement>>;
|
|
382
|
+
Link: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuLinkProps, "ref"> & React_2.RefAttributes<HTMLAnchorElement>, "ref">, "className"> & {
|
|
383
|
+
className?: string | undefined;
|
|
384
|
+
} & React_2.RefAttributes<HTMLAnchorElement>>;
|
|
385
|
+
Page: React_2.ForwardRefExoticComponent<{
|
|
386
|
+
className?: string | undefined;
|
|
387
|
+
} & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
|
|
388
|
+
};
|
|
389
|
+
|
|
365
390
|
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLElement>>;
|
|
366
391
|
|
|
367
392
|
declare interface ButtonProps extends BaseProps {
|
|
@@ -741,7 +766,7 @@ export declare const NavigationMenu: {
|
|
|
741
766
|
Icon: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NavigationMenuIconProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
742
767
|
className?: string | undefined;
|
|
743
768
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
744
|
-
Root: typeof
|
|
769
|
+
Root: typeof Root_3;
|
|
745
770
|
Portal: React_2.ForwardRefExoticComponent<Omit<NavigationMenuPortalProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
746
771
|
};
|
|
747
772
|
|
|
@@ -855,7 +880,7 @@ export declare const Radio: {
|
|
|
855
880
|
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<RadioIndicatorProps, "ref"> & React_2.RefAttributes<HTMLSpanElement>, "ref">, "className"> & {
|
|
856
881
|
className?: string | undefined;
|
|
857
882
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
858
|
-
Root: typeof
|
|
883
|
+
Root: typeof Root_4;
|
|
859
884
|
};
|
|
860
885
|
|
|
861
886
|
export declare const RadioGroup: React_2.ForwardRefExoticComponent<Omit<Omit<RadioGroup_2.Props<unknown>, "ref">, "className"> & {
|
|
@@ -873,11 +898,15 @@ declare function Root<Value = any>({ className, size, variant, ...props }: WithS
|
|
|
873
898
|
variant?: Variant;
|
|
874
899
|
}): JSX_2.Element;
|
|
875
900
|
|
|
876
|
-
declare function Root_2<Value = any>({ className, ...props }: WithStringClassName<NavigationMenu_2.Root.Props<Value>>
|
|
901
|
+
declare function Root_2<Value = any>({ className, dir, separator, 'aria-label': ariaLabel, ...props }: WithStringClassName<NavigationMenu_2.Root.Props<Value>> & {
|
|
902
|
+
separator?: React_2.ReactNode;
|
|
903
|
+
}): JSX_2.Element;
|
|
904
|
+
|
|
905
|
+
declare function Root_3<Value = any>({ className, ...props }: WithStringClassName<NavigationMenu_2.Root.Props<Value>>): JSX_2.Element;
|
|
877
906
|
|
|
878
|
-
declare function
|
|
907
|
+
declare function Root_4<Value>({ className, size, style, ...props }: RootProps<Value>): JSX_2.Element;
|
|
879
908
|
|
|
880
|
-
declare function
|
|
909
|
+
declare function Root_5<Value extends number | readonly number[]>({ className, size, style, ...props }: RootProps_2<Value>): JSX_2.Element;
|
|
881
910
|
|
|
882
911
|
declare type RootProps<Value> = WithStringClassName<Radio_2.Root.Props<Value>> & {
|
|
883
912
|
size?: number;
|
|
@@ -987,7 +1016,7 @@ export declare const Slider: {
|
|
|
987
1016
|
Indicator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<SliderIndicatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
988
1017
|
className?: string | undefined;
|
|
989
1018
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
990
|
-
Root: typeof
|
|
1019
|
+
Root: typeof Root_5;
|
|
991
1020
|
};
|
|
992
1021
|
|
|
993
1022
|
export declare const SliderSize: {
|
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ export { Accordion, AccordionSize, AccordionVariant } from "./Accordion/index.js
|
|
|
2
2
|
export { AlertDialog } from "./AlertDialog/index.js";
|
|
3
3
|
export { Autocomplete } from "./Autocomplete/index.js";
|
|
4
4
|
export { Avatar, AvatarSize } from "./Avatar/index.js";
|
|
5
|
+
export { Breadcrumbs } from "./Breadcrumbs/index.js";
|
|
5
6
|
export { Button } from "./Button/index.js";
|
|
6
7
|
export { Checkbox, CheckboxSize } from "./Checkbox/index.js";
|
|
7
8
|
export { CheckboxGroup } from "./CheckboxGroup/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/site-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "Pure UI components for the Wix site builder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"registry": "https://registry.npmjs.org/",
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"falconPackageHash": "
|
|
81
|
+
"falconPackageHash": "a45e916c77f07bd74194aeb6f8facffce3c66221d508c95fc8a9a8b2"
|
|
82
82
|
}
|