@wix/site-ui 1.27.0 → 1.29.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/Separator/index.css +15 -10
- package/dist/Separator/index.d.ts +14 -4
- package/dist/Separator/index.js +5 -3
- package/dist/Tabs/index.css +68 -62
- package/dist/Tabs/index.d.ts +29 -4
- package/dist/Tabs/index.js +31 -5
- package/dist/index.d.ts +35 -8
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/Separator/index.css
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
.root-rb7o7e {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
border-style: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.root-rb7o7e.primary-Ebj9ZZ {
|
|
6
|
+
border-width: var(--wst-system-line-1-width, 1px);
|
|
7
|
+
border-color: var(--wst-system-line-1-color, #000);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.root-rb7o7e.secondary-Gx3Eah {
|
|
11
|
+
border-width: var(--wst-system-line-2-width, 1px);
|
|
12
|
+
border-color: var(--wst-system-line-2-color, #1f4fff);
|
|
4
13
|
}
|
|
5
14
|
|
|
6
15
|
.root-rb7o7e[data-orientation="horizontal"] {
|
|
7
16
|
border-bottom-style: solid;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
opacity: 1;
|
|
11
|
-
max-width: 100%;
|
|
17
|
+
width: 100%;
|
|
18
|
+
margin: 24px 0;
|
|
12
19
|
}
|
|
13
20
|
|
|
14
21
|
.root-rb7o7e[data-orientation="vertical"] {
|
|
15
22
|
border-left-style: solid;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
opacity: 1;
|
|
19
|
-
min-height: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
margin: 0 24px;
|
|
20
25
|
}
|
|
21
26
|
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import * as React_2 from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Separator as Separator_2 } from '@base-ui/react/separator';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare type BaseProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Separator_2>>;
|
|
5
|
+
|
|
6
|
+
export declare const Separator: React_2.ForwardRefExoticComponent<SeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
|
|
8
|
+
declare interface SeparatorProps extends BaseProps {
|
|
9
|
+
variant?: SeparatorVariant;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type SeparatorVariant = 'primary' | 'secondary';
|
|
13
|
+
|
|
14
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
7
17
|
|
|
8
18
|
|
|
9
19
|
export * from "@base-ui/react/separator";
|
package/dist/Separator/index.js
CHANGED
|
@@ -3,11 +3,13 @@ import { Separator } from "@base-ui/react/separator";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
5
|
const Separator_module = {
|
|
6
|
-
root: "root-rb7o7e"
|
|
6
|
+
root: "root-rb7o7e",
|
|
7
|
+
primary: "primary-Ebj9ZZ",
|
|
8
|
+
secondary: "secondary-Gx3Eah"
|
|
7
9
|
};
|
|
8
|
-
const Separator_Separator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Separator, {
|
|
10
|
+
const Separator_Separator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, variant = 'primary', ...props }, ref)=>/*#__PURE__*/ jsx(Separator, {
|
|
9
11
|
ref: ref,
|
|
10
|
-
className: clsx(Separator_module.root, className),
|
|
12
|
+
className: clsx(Separator_module.root, Separator_module[variant], className),
|
|
11
13
|
...props
|
|
12
14
|
}));
|
|
13
15
|
export { Separator_Separator as Separator };
|
package/dist/Tabs/index.css
CHANGED
|
@@ -1,83 +1,89 @@
|
|
|
1
1
|
.root-Hb4MhN {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
border-inline-start: var(--wst-tabs-border-width-inline-start, 0px) solid var(--wst-paragraph-2-color, #0000004d);
|
|
7
|
-
border-inline-end: var(--wst-tabs-border-width-inline-end, 0px) solid var(--wst-paragraph-2-color, #0000004d);
|
|
8
|
-
border-block-end: var(--wst-tabs-border-width-block-end, 0px) solid var(--wst-paragraph-2-color, #0000004d);
|
|
9
|
-
border-start-start-radius: var(--wst-tabs-border-radius-start-start, 0px);
|
|
10
|
-
border-start-end-radius: var(--wst-tabs-border-radius-start-end, 0px);
|
|
11
|
-
border-end-end-radius: var(--wst-tabs-border-radius-end-end, 0px);
|
|
12
|
-
border-end-start-radius: var(--wst-tabs-border-radius-end-start, 0px);
|
|
13
|
-
padding-block-start: var(--wst-tabs-padding-block-start, 0px);
|
|
14
|
-
padding-block-end: var(--wst-tabs-padding-block-end, 0px);
|
|
15
|
-
padding-inline-start: var(--wst-tabs-padding-inline-start, 0px);
|
|
16
|
-
padding-inline-end: var(--wst-tabs-padding-inline-end, 0px);
|
|
2
|
+
flex-direction: column;
|
|
3
|
+
justify-content: flex-start;
|
|
4
|
+
align-items: stretch;
|
|
5
|
+
display: flex;
|
|
17
6
|
}
|
|
18
7
|
|
|
19
8
|
.list-ZEK7AG {
|
|
20
|
-
|
|
21
|
-
color: var(--wst-paragraph-2-color, inherit);
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
text-align: center;
|
|
24
|
-
scrollbar-width: none;
|
|
25
|
-
-ms-overflow-style: none;
|
|
26
|
-
width: 100%;
|
|
27
|
-
min-height: 52px;
|
|
9
|
+
isolation: isolate;
|
|
28
10
|
display: flex;
|
|
29
11
|
position: relative;
|
|
30
|
-
overflow: hidden;
|
|
31
12
|
}
|
|
32
13
|
|
|
33
|
-
.list-ZEK7AG
|
|
34
|
-
|
|
14
|
+
.list-ZEK7AG.underlineFull-qh4VtD, .list-ZEK7AG.underlineFit-ahY1xs {
|
|
15
|
+
border-bottom-style: solid;
|
|
16
|
+
border-bottom-width: var(--wst-system-line-1-width, 1px);
|
|
17
|
+
border-bottom-color: var(--wst-system-line-1-color, #000);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.list-ZEK7AG.underlineFull-qh4VtD {
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.list-ZEK7AG.underlineFull-qh4VtD.alignStart-haA6GJ {
|
|
25
|
+
justify-content: flex-start;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.list-ZEK7AG.underlineFull-qh4VtD.alignCenter-e896qY {
|
|
29
|
+
justify-content: center;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.list-ZEK7AG.underlineFull-qh4VtD.alignEnd-ClTg6L {
|
|
33
|
+
justify-content: flex-end;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.list-ZEK7AG:not(.underlineFull-qh4VtD).alignStart-haA6GJ {
|
|
37
|
+
align-self: flex-start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.list-ZEK7AG:not(.underlineFull-qh4VtD).alignCenter-e896qY {
|
|
41
|
+
align-self: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.list-ZEK7AG:not(.underlineFull-qh4VtD).alignEnd-ClTg6L {
|
|
45
|
+
align-self: flex-end;
|
|
35
46
|
}
|
|
36
47
|
|
|
37
48
|
.tab-FRO0Rd {
|
|
38
|
-
box-sizing: border-box;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
text-align: center;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
-webkit-tap-highlight-color: #0000;
|
|
43
|
-
vertical-align: bottom;
|
|
44
|
-
height: 100%;
|
|
45
|
-
color: inherit;
|
|
46
49
|
font: var(--wst-paragraph-2-font);
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
border-start-start-radius: var(--wst-tab-border-radius-start-start, 0px);
|
|
51
|
-
border-start-end-radius: var(--wst-tab-border-radius-start-end, 0px);
|
|
52
|
-
border-end-end-radius: var(--wst-tab-border-radius-end-end, 0px);
|
|
53
|
-
border-end-start-radius: var(--wst-tab-border-radius-end-start, 0px);
|
|
54
|
-
justify-content: center;
|
|
50
|
+
color: var(--wst-paragraph-2-color);
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
flex-direction: row;
|
|
55
53
|
align-items: center;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
gap: 4px;
|
|
55
|
+
padding: 14px 8px;
|
|
56
|
+
display: flex;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.tab-FRO0Rd[data-disabled] {
|
|
60
|
+
color: var(--wst-system-disabled-color);
|
|
61
|
+
cursor: default;
|
|
59
62
|
}
|
|
60
63
|
|
|
61
|
-
.tab-FRO0Rd[data-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
border-block-end: var(--wst-tab-selected-border-block-end-width, 3px) solid var(--wst-links-and-actions-color, currentColor);
|
|
65
|
-
border-inline-start: var(--wst-tab-selected-border-inline-start-width, 0px) solid var(--wst-tab-selected-border-inline-start-color, transparent);
|
|
66
|
-
border-inline-end: var(--wst-tab-selected-border-inline-end-width, 0px) solid var(--wst-tab-selected-border-inline-end-color, transparent);
|
|
67
|
-
background: var(--wst-tab-selected-background-color, transparent);
|
|
68
|
-
color: var(--wst-tab-selected-text-color, var(--wst-paragraph-2-color, inherit));
|
|
69
|
-
border-start-start-radius: var(--wst-tab-selected-border-radius-start-start, var(--wst-tab-border-radius-start-start, 0px));
|
|
70
|
-
border-start-end-radius: var(--wst-tab-selected-border-radius-start-end, var(--wst-tab-border-radius-start-end, 0px));
|
|
71
|
-
border-end-end-radius: var(--wst-tab-selected-border-radius-end-end, var(--wst-tab-border-radius-end-end, 0px));
|
|
72
|
-
border-end-start-radius: var(--wst-tab-selected-border-radius-end-start, var(--wst-tab-border-radius-end-start, 0px));
|
|
64
|
+
.tab-FRO0Rd:not([data-disabled]):focus-visible {
|
|
65
|
+
--focus-ring-box-shadow: 0 0 0 2px #116dff;
|
|
66
|
+
box-shadow: var(--focus-ring-box-shadow) !important;
|
|
73
67
|
}
|
|
74
68
|
|
|
75
69
|
.indicator-a2Roef {
|
|
76
|
-
|
|
77
|
-
z-index:
|
|
78
|
-
|
|
79
|
-
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
z-index: -1;
|
|
72
|
+
translate: var(--active-tab-left);
|
|
73
|
+
width: var(--active-tab-width);
|
|
74
|
+
border-bottom-style: solid;
|
|
75
|
+
border-bottom-width: calc(var(--wst-system-line-1-width) + 2px);
|
|
76
|
+
border-bottom-color: var(--wst-links-and-actions-color);
|
|
77
|
+
height: 100%;
|
|
78
|
+
transition-property: translate, width;
|
|
79
|
+
transition-duration: .4s;
|
|
80
|
+
transition-timing-function: ease-in-out;
|
|
80
81
|
position: absolute;
|
|
81
|
-
|
|
82
|
+
top: 0;
|
|
83
|
+
left: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.panel-dMpxFc {
|
|
87
|
+
padding: 24px 0;
|
|
82
88
|
}
|
|
83
89
|
|
package/dist/Tabs/index.d.ts
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
import * as React_2 from 'react';
|
|
2
|
+
import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
|
|
2
3
|
import { TabsIndicatorProps } from '@base-ui/react/tabs';
|
|
3
|
-
import { TabsListProps } from '@base-ui/react/tabs';
|
|
4
4
|
import { TabsPanelProps } from '@base-ui/react/tabs';
|
|
5
5
|
import { TabsRootProps } from '@base-ui/react/tabs';
|
|
6
6
|
import { TabsTabProps } from '@base-ui/react/tabs';
|
|
7
7
|
|
|
8
|
+
declare type BaseListProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Tabs_2.List>>;
|
|
9
|
+
|
|
10
|
+
declare interface ListProps extends BaseListProps {
|
|
11
|
+
underline?: TabListUnderlineType;
|
|
12
|
+
align?: TabListAlignType;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export declare const TabListAlign: {
|
|
16
|
+
readonly start: "start";
|
|
17
|
+
readonly center: "center";
|
|
18
|
+
readonly end: "end";
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
declare type TabListAlignType = (typeof TabListAlign)[keyof typeof TabListAlign];
|
|
22
|
+
|
|
23
|
+
export declare const TabListUnderline: {
|
|
24
|
+
readonly full: "full";
|
|
25
|
+
readonly fit: "fit";
|
|
26
|
+
readonly none: "none";
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
declare type TabListUnderlineType = (typeof TabListUnderline)[keyof typeof TabListUnderline];
|
|
30
|
+
|
|
8
31
|
export declare const Tabs: {
|
|
9
32
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<TabsRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
10
33
|
className?: string | undefined;
|
|
@@ -18,9 +41,11 @@ export declare const Tabs: {
|
|
|
18
41
|
Panel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<TabsPanelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
19
42
|
className?: string | undefined;
|
|
20
43
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
List: React_2.ForwardRefExoticComponent<
|
|
22
|
-
|
|
23
|
-
|
|
44
|
+
List: React_2.ForwardRefExoticComponent<ListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
48
|
+
className?: string;
|
|
24
49
|
};
|
|
25
50
|
|
|
26
51
|
|
package/dist/Tabs/index.js
CHANGED
|
@@ -5,8 +5,14 @@ import * as __rspack_external_react from "react";
|
|
|
5
5
|
const Tabs_module = {
|
|
6
6
|
root: "root-Hb4MhN",
|
|
7
7
|
list: "list-ZEK7AG",
|
|
8
|
+
underlineFull: "underlineFull-qh4VtD",
|
|
9
|
+
underlineFit: "underlineFit-ahY1xs",
|
|
10
|
+
alignStart: "alignStart-haA6GJ",
|
|
11
|
+
alignCenter: "alignCenter-e896qY",
|
|
12
|
+
alignEnd: "alignEnd-ClTg6L",
|
|
8
13
|
tab: "tab-FRO0Rd",
|
|
9
|
-
indicator: "indicator-a2Roef"
|
|
14
|
+
indicator: "indicator-a2Roef",
|
|
15
|
+
panel: "panel-dMpxFc"
|
|
10
16
|
};
|
|
11
17
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Tabs.Root, {
|
|
12
18
|
ref: ref,
|
|
@@ -15,7 +21,7 @@ const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...p
|
|
|
15
21
|
}));
|
|
16
22
|
const Tab = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Tabs.Tab, {
|
|
17
23
|
ref: ref,
|
|
18
|
-
className: clsx(Tabs_module.tab, className),
|
|
24
|
+
className: clsx(Tabs_module.tab, className, 'has-custom-focus'),
|
|
19
25
|
...props
|
|
20
26
|
}));
|
|
21
27
|
const Indicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Tabs.Indicator, {
|
|
@@ -28,9 +34,29 @@ const Panel = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...
|
|
|
28
34
|
className: clsx(Tabs_module.panel, className),
|
|
29
35
|
...props
|
|
30
36
|
}));
|
|
31
|
-
const
|
|
37
|
+
const TabListUnderline = {
|
|
38
|
+
full: 'full',
|
|
39
|
+
fit: 'fit',
|
|
40
|
+
none: 'none'
|
|
41
|
+
};
|
|
42
|
+
const TabListAlign = {
|
|
43
|
+
start: 'start',
|
|
44
|
+
center: 'center',
|
|
45
|
+
end: 'end'
|
|
46
|
+
};
|
|
47
|
+
const underlineClassMap = {
|
|
48
|
+
full: Tabs_module.underlineFull,
|
|
49
|
+
fit: Tabs_module.underlineFit,
|
|
50
|
+
none: Tabs_module.underlineNone
|
|
51
|
+
};
|
|
52
|
+
const alignClassMap = {
|
|
53
|
+
start: Tabs_module.alignStart,
|
|
54
|
+
center: Tabs_module.alignCenter,
|
|
55
|
+
end: Tabs_module.alignEnd
|
|
56
|
+
};
|
|
57
|
+
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, underline = 'full', align = 'center', ...props }, ref)=>/*#__PURE__*/ jsx(Tabs.List, {
|
|
32
58
|
ref: ref,
|
|
33
|
-
className: clsx(Tabs_module.list, className),
|
|
59
|
+
className: clsx(Tabs_module.list, alignClassMap[align], underlineClassMap[underline], className),
|
|
34
60
|
...props
|
|
35
61
|
}));
|
|
36
62
|
const Tabs_Tabs = {
|
|
@@ -40,4 +66,4 @@ const Tabs_Tabs = {
|
|
|
40
66
|
Panel: Panel,
|
|
41
67
|
List: List
|
|
42
68
|
};
|
|
43
|
-
export { Tabs_Tabs as Tabs };
|
|
69
|
+
export { TabListAlign, TabListUnderline, Tabs_Tabs as Tabs };
|
package/dist/index.d.ts
CHANGED
|
@@ -197,8 +197,8 @@ import { SelectScrollDownArrowProps } from '@base-ui/react/select';
|
|
|
197
197
|
import { SelectScrollUpArrowProps } from '@base-ui/react/select';
|
|
198
198
|
import { SelectTriggerProps } from '@base-ui/react/select';
|
|
199
199
|
import { SelectValueProps } from '@base-ui/react/select';
|
|
200
|
+
import { Separator as Separator_2 } from '@base-ui/react/separator';
|
|
200
201
|
import { SeparatorProps } from '@base-ui/react';
|
|
201
|
-
import { SeparatorProps as SeparatorProps_2 } from '@base-ui/react/separator';
|
|
202
202
|
import { Slider as Slider_2 } from '@base-ui/react/slider';
|
|
203
203
|
import { SliderControlProps } from '@base-ui/react/slider';
|
|
204
204
|
import { SliderIndicatorProps } from '@base-ui/react/slider';
|
|
@@ -208,8 +208,8 @@ import { SliderTrackProps } from '@base-ui/react/slider';
|
|
|
208
208
|
import { SliderValueProps } from '@base-ui/react/slider';
|
|
209
209
|
import { SwitchRootProps } from '@base-ui/react/switch';
|
|
210
210
|
import { SwitchThumbProps } from '@base-ui/react/switch';
|
|
211
|
+
import { Tabs as Tabs_2 } from '@base-ui/react/tabs';
|
|
211
212
|
import { TabsIndicatorProps } from '@base-ui/react/tabs';
|
|
212
|
-
import { TabsListProps } from '@base-ui/react/tabs';
|
|
213
213
|
import { TabsPanelProps } from '@base-ui/react/tabs';
|
|
214
214
|
import { TabsRootProps } from '@base-ui/react/tabs';
|
|
215
215
|
import { TabsTabProps } from '@base-ui/react/tabs';
|
|
@@ -369,8 +369,12 @@ export declare const AvatarSize: {
|
|
|
369
369
|
readonly xLarge: 60;
|
|
370
370
|
};
|
|
371
371
|
|
|
372
|
+
declare type BaseListProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Tabs_2.List>>;
|
|
373
|
+
|
|
372
374
|
declare type BaseProps = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Button_2>>;
|
|
373
375
|
|
|
376
|
+
declare type BaseProps_2 = WithStringClassName<React_2.ComponentPropsWithoutRef<typeof Separator_2>>;
|
|
377
|
+
|
|
374
378
|
export declare const Box: React_2.ForwardRefExoticComponent<BoxProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
375
379
|
|
|
376
380
|
export declare interface BoxProps extends WithStringClassName<React_2.HTMLAttributes<HTMLDivElement>> {
|
|
@@ -664,6 +668,11 @@ export declare const Input: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<Inp
|
|
|
664
668
|
className?: string | undefined;
|
|
665
669
|
} & React_2.RefAttributes<HTMLElement>>;
|
|
666
670
|
|
|
671
|
+
declare interface ListProps extends BaseListProps {
|
|
672
|
+
underline?: TabListUnderlineType;
|
|
673
|
+
align?: TabListAlignType;
|
|
674
|
+
}
|
|
675
|
+
|
|
667
676
|
export declare const Menu: {
|
|
668
677
|
Arrow: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<MenuArrowProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
669
678
|
className?: string | undefined;
|
|
@@ -1000,9 +1009,13 @@ export declare const Select: {
|
|
|
1000
1009
|
Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
1001
1010
|
};
|
|
1002
1011
|
|
|
1003
|
-
export declare const Separator: React_2.ForwardRefExoticComponent<
|
|
1004
|
-
|
|
1005
|
-
|
|
1012
|
+
export declare const Separator: React_2.ForwardRefExoticComponent<SeparatorProps_2 & React_2.RefAttributes<HTMLDivElement>>;
|
|
1013
|
+
|
|
1014
|
+
declare interface SeparatorProps_2 extends BaseProps_2 {
|
|
1015
|
+
variant?: SeparatorVariant;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
declare type SeparatorVariant = 'primary' | 'secondary';
|
|
1006
1019
|
|
|
1007
1020
|
declare type Size = (typeof AccordionSize)[keyof typeof AccordionSize];
|
|
1008
1021
|
|
|
@@ -1061,6 +1074,22 @@ export declare const SwitchSize: {
|
|
|
1061
1074
|
};
|
|
1062
1075
|
};
|
|
1063
1076
|
|
|
1077
|
+
export declare const TabListAlign: {
|
|
1078
|
+
readonly start: "start";
|
|
1079
|
+
readonly center: "center";
|
|
1080
|
+
readonly end: "end";
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1083
|
+
declare type TabListAlignType = (typeof TabListAlign)[keyof typeof TabListAlign];
|
|
1084
|
+
|
|
1085
|
+
export declare const TabListUnderline: {
|
|
1086
|
+
readonly full: "full";
|
|
1087
|
+
readonly fit: "fit";
|
|
1088
|
+
readonly none: "none";
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
declare type TabListUnderlineType = (typeof TabListUnderline)[keyof typeof TabListUnderline];
|
|
1092
|
+
|
|
1064
1093
|
export declare const Tabs: {
|
|
1065
1094
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<TabsRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
1066
1095
|
className?: string | undefined;
|
|
@@ -1074,9 +1103,7 @@ export declare const Tabs: {
|
|
|
1074
1103
|
Panel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<TabsPanelProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
1075
1104
|
className?: string | undefined;
|
|
1076
1105
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1077
|
-
List: React_2.ForwardRefExoticComponent<
|
|
1078
|
-
className?: string | undefined;
|
|
1079
|
-
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
1106
|
+
List: React_2.ForwardRefExoticComponent<ListProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
1080
1107
|
};
|
|
1081
1108
|
|
|
1082
1109
|
declare function Title({ className, ...props }: WithStringClassName<Drawer_2.Title.Props>): JSX_2.Element;
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export { Select } from "./Select/index.js";
|
|
|
31
31
|
export { Separator } from "./Separator/index.js";
|
|
32
32
|
export { Slider, SliderSize } from "./Slider/index.js";
|
|
33
33
|
export { Switch, SwitchSize } from "./Switch/index.js";
|
|
34
|
-
export { Tabs } from "./Tabs/index.js";
|
|
34
|
+
export { TabListAlign, TabListUnderline, Tabs } from "./Tabs/index.js";
|
|
35
35
|
export { Toggle } from "./Toggle/index.js";
|
|
36
36
|
export { ToggleGroup } from "./ToggleGroup/index.js";
|
|
37
37
|
export { Toolbar } from "./Toolbar/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/site-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.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": "c4612cc97d557e524b4c7a23d63106fef444258602e92d6947a0dee5"
|
|
82
82
|
}
|