@wix/site-ui 1.55.0 → 1.57.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/8685.css +86 -0
- package/dist/{1268.js → 8685.js} +4 -1
- package/dist/Accordion/index.css +1 -1
- package/dist/AlertDialog/index.css +33 -25
- package/dist/AlertDialog/index.js +1 -0
- package/dist/Autocomplete/index.css +149 -56
- package/dist/Autocomplete/index.js +9 -0
- package/dist/Avatar/index.css +7 -11
- package/dist/Badge/index.css +10 -9
- package/dist/Checkbox/index.css +40 -31
- package/dist/CheckboxGroup/index.css +3 -3
- package/dist/Collapsible/index.css +20 -22
- package/dist/Combobox/index.css +91 -71
- package/dist/ContextMenu/index.css +100 -51
- package/dist/ContextMenu/index.d.ts +7 -5
- package/dist/ContextMenu/index.js +15 -3
- package/dist/Dialog/index.css +49 -20
- package/dist/Drawer/index.css +74 -23
- package/dist/Drawer/index.js +7 -1
- package/dist/Field/index.css +7 -8
- package/dist/Field/index.js +21 -3
- package/dist/Fieldset/index.css +15 -0
- package/dist/Fieldset/index.js +2 -1
- package/dist/Form/index.css +6 -1
- package/dist/Form/index.js +3 -1
- package/dist/Input/index.js +1 -4
- package/dist/Menu/index.css +149 -24
- package/dist/Menu/index.d.ts +3 -1
- package/dist/Menu/index.js +17 -2
- package/dist/Menubar/index.css +11 -1
- package/dist/Menubar/index.js +3 -1
- package/dist/Meter/index.css +13 -15
- package/dist/NavigationMenu/index.css +117 -19
- package/dist/NavigationMenu/index.js +8 -1
- package/dist/NumberField/index.css +41 -38
- package/dist/Popover/index.css +52 -61
- package/dist/Popover/index.js +5 -2
- package/dist/PreviewCard/index.css +0 -73
- package/dist/PreviewCard/index.js +1 -5
- package/dist/Progress/index.css +18 -8
- package/dist/Radio/index.css +16 -17
- package/dist/RadioGroup/index.css +3 -5
- package/dist/ScrollArea/index.css +19 -13
- package/dist/ScrollArea/index.js +2 -1
- package/dist/Select/index.css +76 -49
- package/dist/Select/index.js +2 -0
- package/dist/Slider/index.css +40 -21
- package/dist/Switch/index.css +18 -11
- package/dist/Toggle/index.css +12 -32
- package/dist/ToggleGroup/index.css +11 -1
- package/dist/Toolbar/index.css +58 -14
- package/dist/Toolbar/index.js +2 -0
- package/dist/Tooltip/index.css +14 -64
- package/dist/index.d.ts +6 -2
- package/package.json +2 -2
- package/dist/Input/index.css +0 -72
package/dist/Switch/index.css
CHANGED
|
@@ -1,46 +1,53 @@
|
|
|
1
1
|
.root-jFySXM {
|
|
2
2
|
width: var(--switch-width, 44px);
|
|
3
3
|
height: var(--switch-height, 24px);
|
|
4
|
+
box-sizing: border-box;
|
|
4
5
|
border-radius: calc(var(--switch-height, 24px) / 2);
|
|
5
|
-
background-color: var(--wst-
|
|
6
|
+
background-color: color-mix(in srgb, var(--wst-paragraph-2-color, #000) 30%, transparent);
|
|
6
7
|
cursor: pointer;
|
|
8
|
+
-webkit-appearance: none;
|
|
9
|
+
appearance: none;
|
|
10
|
+
border: none;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: center;
|
|
7
13
|
padding: 0;
|
|
8
14
|
transition: background-color .2s;
|
|
15
|
+
display: inline-flex;
|
|
9
16
|
position: relative;
|
|
10
17
|
}
|
|
11
18
|
|
|
12
19
|
.root-jFySXM[data-checked] {
|
|
13
|
-
background-color: var(--wst-links-and-actions-color);
|
|
20
|
+
background-color: var(--wst-links-and-actions-color, #116dff);
|
|
14
21
|
}
|
|
15
22
|
|
|
16
23
|
.root-jFySXM[data-disabled] {
|
|
24
|
+
background-color: color-mix(in srgb, var(--wst-system-disabled-color, #939393) 60%, transparent);
|
|
17
25
|
cursor: default;
|
|
18
26
|
pointer-events: none;
|
|
19
|
-
opacity: .5;
|
|
20
27
|
}
|
|
21
28
|
|
|
22
29
|
.root-jFySXM:focus-visible {
|
|
23
|
-
outline: 2px solid var(--wst-links-and-actions-color);
|
|
30
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
24
31
|
outline-offset: 2px;
|
|
25
32
|
}
|
|
26
33
|
|
|
27
34
|
.thumb-aDkgmk {
|
|
28
35
|
width: var(--switch-thumb-size, 18px);
|
|
29
36
|
height: var(--switch-thumb-size, 18px);
|
|
30
|
-
background-color: var(--wst-primary-background-color);
|
|
37
|
+
background-color: var(--wst-primary-background-color, #fff);
|
|
38
|
+
transform: translateX(calc(-1 * (var(--switch-width, 44px) - var(--switch-thumb-size, 18px)) / 2 + 2px));
|
|
31
39
|
border-radius: 50%;
|
|
32
|
-
transition:
|
|
40
|
+
transition: transform .2s;
|
|
33
41
|
position: absolute;
|
|
34
|
-
|
|
35
|
-
left: 3px;
|
|
36
|
-
transform: translateY(-50%);
|
|
42
|
+
box-shadow: 0 1px 5px #0000004d;
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
.root-jFySXM[data-checked] .thumb-aDkgmk {
|
|
40
|
-
|
|
46
|
+
transform: translateX(calc((var(--switch-width, 44px) - var(--switch-thumb-size, 18px)) / 2 - 2px));
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
.root-jFySXM[data-disabled] .thumb-aDkgmk {
|
|
44
|
-
background-color: color-mix(in srgb, var(--wst-primary-background-color)
|
|
50
|
+
background-color: color-mix(in srgb, var(--wst-primary-background-color, #fff) 70%, transparent);
|
|
51
|
+
box-shadow: none;
|
|
45
52
|
}
|
|
46
53
|
|
package/dist/Toggle/index.css
CHANGED
|
@@ -1,41 +1,23 @@
|
|
|
1
1
|
.root-b5XZrV {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
padding: var(--wst-button-secondary-padding-top) var(--wst-button-secondary-padding-right) var(--wst-button-secondary-padding-bottom) var(--wst-button-secondary-padding-left);
|
|
4
|
-
border-top: var(--wst-button-secondary-border-top-width) var(--wst-button-secondary-border-top-style) var(--wst-button-secondary-border-top-color);
|
|
5
|
-
border-inline-end: var(--wst-button-secondary-border-right-width) var(--wst-button-secondary-border-right-style) var(--wst-button-secondary-border-right-color);
|
|
6
|
-
border-bottom: var(--wst-button-secondary-border-bottom-width) var(--wst-button-secondary-border-bottom-style) var(--wst-button-secondary-border-bottom-color);
|
|
7
|
-
border-inline-start: var(--wst-button-secondary-border-left-width) var(--wst-button-secondary-border-left-style) var(--wst-button-secondary-border-left-color);
|
|
8
|
-
background-color: var(--wst-button-secondary-background-color);
|
|
9
|
-
color: var(--wst-button-secondary-color);
|
|
10
|
-
font: var(--wst-button-secondary-font);
|
|
11
2
|
cursor: pointer;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
border
|
|
15
|
-
border-end-start-radius: var(--wst-button-secondary-border-bottom-left-radius);
|
|
3
|
+
color: var(--wst-shade-3-color, #939393);
|
|
4
|
+
background: none;
|
|
5
|
+
border: none;
|
|
16
6
|
justify-content: center;
|
|
17
7
|
align-items: center;
|
|
18
|
-
|
|
8
|
+
margin: 0;
|
|
9
|
+
padding: 0;
|
|
10
|
+
line-height: 0;
|
|
19
11
|
transition: opacity .2s cubic-bezier(.39, .11, .37, .99);
|
|
20
12
|
display: inline-flex;
|
|
21
13
|
}
|
|
22
14
|
|
|
23
15
|
.root-b5XZrV:hover {
|
|
24
|
-
opacity: .
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.root-b5XZrV[data-pressed] {
|
|
28
|
-
background-color: var(--wst-button-primary-background-color);
|
|
29
|
-
color: var(--wst-button-primary-color);
|
|
30
|
-
border-top-color: var(--wst-button-primary-background-color);
|
|
31
|
-
border-inline-end-color: var(--wst-button-primary-background-color);
|
|
32
|
-
border-bottom-color: var(--wst-button-primary-background-color);
|
|
33
|
-
border-inline-start-color: var(--wst-button-primary-background-color);
|
|
16
|
+
opacity: .6;
|
|
34
17
|
}
|
|
35
18
|
|
|
36
19
|
.root-b5XZrV:disabled {
|
|
37
|
-
color: var(--wst-system-disabled-color);
|
|
38
|
-
border-color: var(--wst-system-disabled-color);
|
|
20
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
39
21
|
cursor: default;
|
|
40
22
|
pointer-events: none;
|
|
41
23
|
}
|
|
@@ -45,28 +27,26 @@
|
|
|
45
27
|
}
|
|
46
28
|
|
|
47
29
|
.root-b5XZrV:focus-visible {
|
|
48
|
-
outline: 2px solid var(--wst-links-and-actions-color);
|
|
30
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
49
31
|
outline-offset: 2px;
|
|
50
32
|
}
|
|
51
33
|
|
|
52
34
|
@keyframes toggle-pop-in-YeDB_9 {
|
|
53
35
|
0% {
|
|
54
|
-
|
|
55
|
-
transform: scale(.9);
|
|
36
|
+
transform: scale(1);
|
|
56
37
|
}
|
|
57
38
|
|
|
58
39
|
50% {
|
|
59
|
-
|
|
60
|
-
transform: scale(1.03);
|
|
40
|
+
transform: scale(1.3);
|
|
61
41
|
}
|
|
62
42
|
|
|
63
43
|
100% {
|
|
64
|
-
opacity: 1;
|
|
65
44
|
transform: scale(1);
|
|
66
45
|
}
|
|
67
46
|
}
|
|
68
47
|
|
|
69
48
|
.root-b5XZrV[data-pressed] {
|
|
49
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
70
50
|
animation: .2s forwards toggle-pop-in-YeDB_9;
|
|
71
51
|
}
|
|
72
52
|
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
.root-JZaWem {
|
|
2
|
-
|
|
2
|
+
border: var(--wst-system-line-1-width, 1px) solid
|
|
3
|
+
color-mix(in srgb, var(--wst-system-line-1-color, #000) 60%, transparent);
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 0;
|
|
9
|
+
margin: 0;
|
|
10
|
+
padding: 0;
|
|
11
|
+
list-style: none;
|
|
3
12
|
display: inline-flex;
|
|
13
|
+
overflow: hidden;
|
|
4
14
|
}
|
|
5
15
|
|
package/dist/Toolbar/index.css
CHANGED
|
@@ -1,57 +1,101 @@
|
|
|
1
1
|
.root-TasA57 {
|
|
2
|
+
flex-direction: row;
|
|
3
|
+
align-items: center;
|
|
4
|
+
gap: 2px;
|
|
5
|
+
padding: 4px;
|
|
6
|
+
display: flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.group-gw9JGb {
|
|
10
|
+
flex-direction: row;
|
|
2
11
|
align-items: center;
|
|
3
12
|
gap: 2px;
|
|
4
13
|
display: flex;
|
|
5
14
|
}
|
|
6
15
|
|
|
7
16
|
.button-VwIpOv {
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
color: var(--wst-paragraph-2-color);
|
|
10
|
-
font: var(--wst-paragraph-2-font);
|
|
11
17
|
cursor: pointer;
|
|
18
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
19
|
+
font: var(--wst-paragraph-2-font);
|
|
20
|
+
box-sizing: border-box;
|
|
12
21
|
background: none;
|
|
13
|
-
border:
|
|
22
|
+
border: none;
|
|
14
23
|
border-radius: 4px;
|
|
24
|
+
outline: none;
|
|
15
25
|
justify-content: center;
|
|
16
26
|
align-items: center;
|
|
17
|
-
padding: 6px
|
|
27
|
+
padding: 6px;
|
|
28
|
+
line-height: 0;
|
|
29
|
+
transition: background-color .15s;
|
|
18
30
|
display: inline-flex;
|
|
19
31
|
}
|
|
20
32
|
|
|
21
33
|
.button-VwIpOv:hover:not(:disabled) {
|
|
22
|
-
background-color: color-mix(in srgb, var(--wst-
|
|
34
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 6%, transparent);
|
|
23
35
|
}
|
|
24
36
|
|
|
25
37
|
.button-VwIpOv[data-pressed] {
|
|
26
|
-
|
|
27
|
-
color: var(--wst-
|
|
38
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
39
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 12%, transparent);
|
|
28
40
|
}
|
|
29
41
|
|
|
30
42
|
.button-VwIpOv:disabled {
|
|
31
|
-
color: var(--wst-system-disabled-color);
|
|
43
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
32
44
|
cursor: default;
|
|
33
45
|
pointer-events: none;
|
|
34
46
|
}
|
|
35
47
|
|
|
48
|
+
.button-VwIpOv:focus-visible {
|
|
49
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
50
|
+
outline-offset: 2px;
|
|
51
|
+
}
|
|
52
|
+
|
|
36
53
|
.link-ONsUed {
|
|
37
|
-
color: var(--wst-
|
|
54
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
38
55
|
font: var(--wst-paragraph-2-font);
|
|
56
|
+
box-sizing: border-box;
|
|
39
57
|
border-radius: 4px;
|
|
58
|
+
outline: none;
|
|
40
59
|
justify-content: center;
|
|
41
60
|
align-items: center;
|
|
42
|
-
padding: 6px
|
|
61
|
+
padding: 6px;
|
|
62
|
+
line-height: 0;
|
|
43
63
|
text-decoration: none;
|
|
64
|
+
transition: background-color .15s;
|
|
44
65
|
display: inline-flex;
|
|
45
66
|
}
|
|
46
67
|
|
|
47
68
|
.link-ONsUed:hover {
|
|
48
|
-
|
|
69
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 6%, transparent);
|
|
70
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.link-ONsUed:focus-visible {
|
|
74
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
75
|
+
outline-offset: 2px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.input-BIEb11 {
|
|
79
|
+
font: var(--wst-paragraph-2-font);
|
|
80
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
81
|
+
border: var(--wst-system-line-1-width, 1px) solid
|
|
82
|
+
color-mix(in srgb, var(--wst-system-line-1-color, #000) 60%, transparent);
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
background: none;
|
|
85
|
+
border-radius: 4px;
|
|
86
|
+
outline: none;
|
|
87
|
+
padding: 4px 8px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.input-BIEb11:focus-visible {
|
|
91
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
92
|
+
outline-offset: 2px;
|
|
49
93
|
}
|
|
50
94
|
|
|
51
95
|
.separator-pZlgb3 {
|
|
52
|
-
|
|
96
|
+
width: var(--wst-system-line-1-width, 1px);
|
|
97
|
+
background-color: color-mix(in srgb, var(--wst-system-line-1-color, #000) 60%, transparent);
|
|
53
98
|
flex-shrink: 0;
|
|
54
|
-
width: 1px;
|
|
55
99
|
height: 20px;
|
|
56
100
|
margin: 0 4px;
|
|
57
101
|
}
|
package/dist/Toolbar/index.js
CHANGED
|
@@ -225,8 +225,10 @@ const ToolbarSeparator_ToolbarSeparator = /*#__PURE__*/ __rspack_external_react.
|
|
|
225
225
|
if ("production" !== process.env.NODE_ENV) ToolbarSeparator_ToolbarSeparator.displayName = "ToolbarSeparator";
|
|
226
226
|
const Toolbar_module = {
|
|
227
227
|
root: "root-TasA57",
|
|
228
|
+
group: "group-gw9JGb",
|
|
228
229
|
button: "button-VwIpOv",
|
|
229
230
|
link: "link-ONsUed",
|
|
231
|
+
input: "input-BIEb11",
|
|
230
232
|
separator: "separator-pZlgb3"
|
|
231
233
|
};
|
|
232
234
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ToolbarRoot_ToolbarRoot, {
|
package/dist/Tooltip/index.css
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
.trigger-xVlrp2 {
|
|
2
|
-
padding: var(--wst-button-secondary-padding-top) var(--wst-button-secondary-padding-right) var(--wst-button-secondary-padding-bottom) var(--wst-button-secondary-padding-left);
|
|
3
|
-
border-top: var(--wst-button-secondary-border-top-width) var(--wst-button-secondary-border-top-style) var(--wst-button-secondary-border-top-color);
|
|
4
|
-
border-inline-end: var(--wst-button-secondary-border-right-width) var(--wst-button-secondary-border-right-style) var(--wst-button-secondary-border-right-color);
|
|
5
|
-
border-bottom: var(--wst-button-secondary-border-bottom-width) var(--wst-button-secondary-border-bottom-style) var(--wst-button-secondary-border-bottom-color);
|
|
6
|
-
border-inline-start: var(--wst-button-secondary-border-left-width) var(--wst-button-secondary-border-left-style) var(--wst-button-secondary-border-left-color);
|
|
7
|
-
background-color: var(--wst-button-secondary-background-color);
|
|
8
|
-
color: var(--wst-button-secondary-color);
|
|
9
|
-
font: var(--wst-button-secondary-font);
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
border-start-start-radius: var(--wst-button-secondary-border-top-left-radius);
|
|
12
|
-
border-start-end-radius: var(--wst-button-secondary-border-top-right-radius);
|
|
13
|
-
border-end-end-radius: var(--wst-button-secondary-border-bottom-right-radius);
|
|
14
|
-
border-end-start-radius: var(--wst-button-secondary-border-bottom-left-radius);
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
2
|
display: inline-flex;
|
|
18
3
|
}
|
|
19
4
|
|
|
5
|
+
.positioner-sRKHj5 {
|
|
6
|
+
z-index: 9999;
|
|
7
|
+
}
|
|
8
|
+
|
|
20
9
|
.positioner-sRKHj5[data-side="top"] {
|
|
21
10
|
padding-bottom: 6px;
|
|
22
11
|
}
|
|
@@ -50,12 +39,13 @@
|
|
|
50
39
|
}
|
|
51
40
|
|
|
52
41
|
.popup-V_41k4 {
|
|
53
|
-
background-color: var(--wst-
|
|
54
|
-
|
|
55
|
-
color: var(--wst-primary-background-color, #fff);
|
|
42
|
+
background-color: var(--wst-system-default-dark-color, #212121);
|
|
43
|
+
color: var(--wst-system-default-light-color, #fff);
|
|
56
44
|
font: var(--wst-paragraph-3-font);
|
|
57
|
-
-
|
|
58
|
-
|
|
45
|
+
overflow-wrap: break-word;
|
|
46
|
+
word-break: break-word;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
max-width: 240px;
|
|
59
49
|
padding: 4px 12px;
|
|
60
50
|
transition: transform .12s cubic-bezier(.25, .46, .45, .94), opacity .12s cubic-bezier(.25, .46, .45, .94);
|
|
61
51
|
box-shadow: 0 4px 8px #0000001f, 0 0 4px #0000001a;
|
|
@@ -86,49 +76,9 @@
|
|
|
86
76
|
}
|
|
87
77
|
|
|
88
78
|
.arrow-aUAEXL {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
.arrow-aUAEXL svg {
|
|
95
|
-
display: block;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.arrow-aUAEXL path {
|
|
99
|
-
fill: var(--wst-paragraph-2-color, #212121);
|
|
100
|
-
stroke: var(--wst-paragraph-2-color, #212121);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.arrow-aUAEXL path:first-child {
|
|
104
|
-
stroke: none;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.arrow-aUAEXL path:last-child {
|
|
108
|
-
stroke-dasharray: 0 17 17;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.positioner-sRKHj5[data-side="top"] .arrow-aUAEXL {
|
|
112
|
-
width: 12px;
|
|
113
|
-
height: 7px;
|
|
114
|
-
bottom: -1px;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.positioner-sRKHj5[data-side="bottom"] .arrow-aUAEXL {
|
|
118
|
-
width: 12px;
|
|
119
|
-
height: 7px;
|
|
120
|
-
top: -1px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.positioner-sRKHj5[data-side="left"] .arrow-aUAEXL {
|
|
124
|
-
width: 7px;
|
|
125
|
-
height: 12px;
|
|
126
|
-
right: -1px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.positioner-sRKHj5[data-side="right"] .arrow-aUAEXL {
|
|
130
|
-
width: 7px;
|
|
131
|
-
height: 12px;
|
|
132
|
-
left: -1px;
|
|
79
|
+
background-color: var(--wst-system-default-dark-color, #212121);
|
|
80
|
+
width: 8px;
|
|
81
|
+
height: 8px;
|
|
82
|
+
rotate: 45deg;
|
|
133
83
|
}
|
|
134
84
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2931,10 +2931,12 @@ export declare const ContextMenu: {
|
|
|
2931
2931
|
SubmenuTrigger: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ContextMenuSubmenuTriggerProps_2, "ref"> & React_2.RefAttributes<HTMLElement>, "ref">, "className"> & {
|
|
2932
2932
|
className?: string | undefined;
|
|
2933
2933
|
} & React_2.RefAttributes<HTMLElement>>;
|
|
2934
|
+
Separator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
2935
|
+
className?: string | undefined;
|
|
2936
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
2934
2937
|
Root: typeof ContextMenu_2.Root;
|
|
2935
2938
|
SubmenuRoot: typeof ContextMenu_2.SubmenuRoot;
|
|
2936
2939
|
Portal: React_2.ForwardRefExoticComponent<Omit<ContextMenuPortalProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2937
|
-
Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
2938
2940
|
};
|
|
2939
2941
|
|
|
2940
2942
|
export declare namespace ContextMenu_2 {
|
|
@@ -4971,7 +4973,9 @@ export declare const Menu: {
|
|
|
4971
4973
|
Trigger: typeof Trigger_5;
|
|
4972
4974
|
SubmenuRoot: typeof Menu_2.SubmenuRoot;
|
|
4973
4975
|
Portal: React_2.ForwardRefExoticComponent<Omit<MenuPortalProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
4974
|
-
Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement
|
|
4976
|
+
Separator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
4977
|
+
className?: string | undefined;
|
|
4978
|
+
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
4975
4979
|
Handle: typeof Menu_2.Handle;
|
|
4976
4980
|
createHandle: typeof Menu_2.createHandle;
|
|
4977
4981
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/site-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.57.0",
|
|
4
4
|
"description": "Pure UI components for the Wix site builder",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"registry": "https://registry.npmjs.org/",
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"falconPackageHash": "
|
|
87
|
+
"falconPackageHash": "8d0c35fab631c111a67f1a0aeac6db8dc75c63939639845a7bea452f"
|
|
88
88
|
}
|
package/dist/Input/index.css
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
.root-Y7wYn3 {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
border: 1px solid var(--wst-paragraph-2-color, #0009);
|
|
4
|
-
background-color: var(--wst-primary-background-color, #fff);
|
|
5
|
-
width: 100%;
|
|
6
|
-
min-width: 0;
|
|
7
|
-
font: var(--wst-paragraph-2-font);
|
|
8
|
-
color: var(--wst-paragraph-2-color, #000);
|
|
9
|
-
vertical-align: middle;
|
|
10
|
-
border-radius: 0;
|
|
11
|
-
outline: 0;
|
|
12
|
-
margin: 0;
|
|
13
|
-
padding-block: 8px;
|
|
14
|
-
padding-inline: 12px;
|
|
15
|
-
transition: border-color .1s ease-in;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.root-Y7wYn3:hover {
|
|
19
|
-
border-color: var(--wst-paragraph-2-color, #000);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.root-Y7wYn3:focus {
|
|
23
|
-
border-color: var(--wst-paragraph-2-color, #000);
|
|
24
|
-
outline: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.root-Y7wYn3:focus-visible {
|
|
28
|
-
border-color: var(--wst-links-and-actions-color, #116dff);
|
|
29
|
-
outline: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.root-Y7wYn3:disabled {
|
|
33
|
-
color: var(--wst-system-disabled-color, #ccc);
|
|
34
|
-
background-color: var(--wst-primary-background-color, #fff);
|
|
35
|
-
cursor: not-allowed;
|
|
36
|
-
border-color: #0009;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.root-Y7wYn3[aria-invalid="true"], .root-Y7wYn3[aria-invalid="true"]:hover, .root-Y7wYn3[aria-invalid="true"]:focus {
|
|
40
|
-
border-color: var(--wst-system-error-color, #df3131);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.root-Y7wYn3[data-valid] {
|
|
44
|
-
border-color: var(--wst-system-success-color, #60d1a8);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.root-Y7wYn3::selection {
|
|
48
|
-
background: var(--wst-paragraph-2-color, #0003);
|
|
49
|
-
opacity: .2;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.root-Y7wYn3::placeholder {
|
|
53
|
-
color: var(--wst-shade-3-color, #0006);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.root-Y7wYn3:disabled::placeholder {
|
|
57
|
-
color: var(--wst-system-disabled-color, #ccc);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.root-Y7wYn3:-webkit-autofill {
|
|
61
|
-
-webkit-text-fill-color: var(--wst-paragraph-2-color, #000);
|
|
62
|
-
-webkit-box-shadow: 0 0 0 1.5em var(--wst-primary-background-color, #fff) inset !important;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.root-Y7wYn3[type="number"]::-webkit-inner-spin-button, .root-Y7wYn3[type="number"]::-webkit-outer-spin-button {
|
|
66
|
-
-webkit-appearance: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.root-Y7wYn3[type="number"] {
|
|
70
|
-
appearance: textfield;
|
|
71
|
-
}
|
|
72
|
-
|