@wix/site-ui 1.56.0 → 1.58.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/Menu/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import { CompositeItem } from "../951.js";
|
|
|
24
24
|
import { useIsoLayoutEffect } from "../6499.js";
|
|
25
25
|
import { useMenubarContext } from "../7564.js";
|
|
26
26
|
import { createChangeEventDetails } from "../4768.js";
|
|
27
|
-
import { Separator } from "../9635.js";
|
|
27
|
+
import { Separator as Separator_Separator } from "../9635.js";
|
|
28
28
|
import * as __rspack_external_react from "react";
|
|
29
29
|
let MenuViewportCssVars_MenuViewportCssVars = /*#__PURE__*/ function(MenuViewportCssVars) {
|
|
30
30
|
MenuViewportCssVars["popupWidth"] = "--popup-width";
|
|
@@ -343,10 +343,20 @@ function createMenuHandle() {
|
|
|
343
343
|
}
|
|
344
344
|
const Menu_module = {
|
|
345
345
|
trigger: "trigger-OltV1Y",
|
|
346
|
+
arrow: "arrow-ERrbkh",
|
|
347
|
+
backdrop: "backdrop-ptwUkx",
|
|
348
|
+
checkboxItem: "checkboxItem-U50JXJ",
|
|
349
|
+
checkboxItemIndicator: "checkboxItemIndicator-Bs1QNS",
|
|
346
350
|
groupLabel: "groupLabel-_L41zu",
|
|
347
351
|
popup: "popup-VQm6g1",
|
|
348
352
|
item: "item-toMw6N",
|
|
349
|
-
linkItem: "linkItem-UZphBs"
|
|
353
|
+
linkItem: "linkItem-UZphBs",
|
|
354
|
+
positioner: "positioner-hYbdIP",
|
|
355
|
+
radioItem: "radioItem-xt5obc",
|
|
356
|
+
radioItemIndicator: "radioItemIndicator-EfDBAO",
|
|
357
|
+
submenuTrigger: "submenuTrigger-n7NBVv",
|
|
358
|
+
separator: "separator-mmvmF_",
|
|
359
|
+
viewport: "viewport-RskDAU"
|
|
350
360
|
};
|
|
351
361
|
const Arrow = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(MenuArrow_MenuArrow, {
|
|
352
362
|
ref: ref,
|
|
@@ -423,6 +433,11 @@ const Viewport = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className,
|
|
|
423
433
|
className: clsx(Menu_module.viewport, className),
|
|
424
434
|
...props
|
|
425
435
|
}));
|
|
436
|
+
const Separator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Separator_Separator, {
|
|
437
|
+
ref: ref,
|
|
438
|
+
className: clsx(Menu_module.separator, className),
|
|
439
|
+
...props
|
|
440
|
+
}));
|
|
426
441
|
function Trigger({ className, ...props }) {
|
|
427
442
|
return /*#__PURE__*/ jsx(MenuTrigger_MenuTrigger, {
|
|
428
443
|
...props,
|
package/dist/Menubar/index.css
CHANGED
package/dist/Menubar/index.js
CHANGED
|
@@ -104,7 +104,9 @@ function MenubarContent(props) {
|
|
|
104
104
|
children: props.children
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
const Menubar_module = {
|
|
107
|
+
const Menubar_module = {
|
|
108
|
+
root: "root-pDDSVW"
|
|
109
|
+
};
|
|
108
110
|
const Menubar_Menubar_Menubar = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Menubar_Menubar, {
|
|
109
111
|
ref: ref,
|
|
110
112
|
className: clsx(Menubar_module.root, className),
|
package/dist/Meter/index.css
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
.root-bc9hfF {
|
|
2
|
+
flex-direction: row;
|
|
2
3
|
align-items: center;
|
|
4
|
+
gap: 8px;
|
|
3
5
|
width: 100%;
|
|
4
6
|
display: flex;
|
|
5
7
|
}
|
|
6
8
|
|
|
7
9
|
.track-BJK3T1 {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
height: var(--meter-size, 6px);
|
|
11
|
+
border-radius: calc(var(--meter-size, 6px) / 2);
|
|
12
|
+
background-color: var(--wst-secondary-background-color, #e0e0e0);
|
|
10
13
|
flex: 1;
|
|
11
|
-
min-width: 0;
|
|
12
|
-
height: 6px;
|
|
13
14
|
position: relative;
|
|
15
|
+
overflow: hidden;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
.indicator-YaPgI9 {
|
|
19
|
+
border-radius: calc(var(--meter-size, 6px) / 2);
|
|
17
20
|
background-color: var(--wst-links-and-actions-color, #116dff);
|
|
18
21
|
height: 100%;
|
|
19
|
-
transition: width .
|
|
22
|
+
transition: width .3s;
|
|
20
23
|
position: absolute;
|
|
21
|
-
|
|
22
|
-
left: 0;
|
|
24
|
+
inset-inline-start: 0;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
.value-Uz_0kH {
|
|
26
|
-
|
|
28
|
+
font: var(--wst-paragraph-3-font);
|
|
29
|
+
color: var(--wst-paragraph-3-color, #000);
|
|
30
|
+
white-space: nowrap;
|
|
27
31
|
flex-shrink: 0;
|
|
28
|
-
padding-inline-start: 8px;
|
|
29
|
-
font-size: 12px;
|
|
30
|
-
line-height: 1.4em;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
34
|
.label-yJGBDG {
|
|
35
|
+
font: var(--wst-paragraph-3-font);
|
|
34
36
|
color: var(--wst-paragraph-2-color, #000);
|
|
35
|
-
flex-shrink: 0;
|
|
36
|
-
padding-inline-end: 8px;
|
|
37
|
-
font-size: 12px;
|
|
38
|
-
line-height: 1.4em;
|
|
39
37
|
}
|
|
40
38
|
|
|
@@ -1,49 +1,147 @@
|
|
|
1
1
|
.root-Gth795 {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
2
4
|
position: relative;
|
|
3
5
|
}
|
|
4
6
|
|
|
5
7
|
.list-kus7O6 {
|
|
6
|
-
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 2px;
|
|
7
11
|
margin: 0;
|
|
8
|
-
padding:
|
|
12
|
+
padding: 4px;
|
|
9
13
|
list-style: none;
|
|
10
14
|
display: flex;
|
|
11
15
|
}
|
|
12
16
|
|
|
17
|
+
.item-OKUYls {
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.content-TaN2sK {
|
|
22
|
+
padding: 8px 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
13
25
|
.trigger-L7xhgv {
|
|
14
|
-
cursor: pointer;
|
|
15
26
|
font: var(--wst-paragraph-2-font);
|
|
16
|
-
color: var(--wst-paragraph-2-color);
|
|
27
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
user-select: none;
|
|
30
|
+
box-sizing: border-box;
|
|
17
31
|
background: none;
|
|
18
32
|
border: none;
|
|
19
|
-
border-radius:
|
|
20
|
-
|
|
21
|
-
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
outline: none;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: 4px;
|
|
37
|
+
padding: 6px 10px;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
display: inline-flex;
|
|
22
40
|
}
|
|
23
41
|
|
|
24
42
|
.trigger-L7xhgv:hover {
|
|
25
|
-
background-color: color-mix(in srgb, var(--wst-
|
|
43
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 6%, transparent);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.trigger-L7xhgv[data-state="open"] {
|
|
47
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 12%, transparent);
|
|
48
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.trigger-L7xhgv[data-disabled] {
|
|
52
|
+
opacity: .3;
|
|
53
|
+
cursor: default;
|
|
54
|
+
pointer-events: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.trigger-L7xhgv:focus-visible {
|
|
58
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
59
|
+
outline-offset: 2px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.positioner-C8EsN2 {
|
|
63
|
+
z-index: 1000;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.viewport-yWpuCH {
|
|
67
|
+
background-color: var(--wst-primary-background-color, #fff);
|
|
68
|
+
border: var(--wst-system-line-1-width, 1px) solid
|
|
69
|
+
color-mix(in srgb, var(--wst-paragraph-2-color, #000) 15%, transparent);
|
|
70
|
+
box-sizing: border-box;
|
|
71
|
+
border-radius: 6px;
|
|
72
|
+
min-width: 160px;
|
|
73
|
+
max-width: 360px;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
box-shadow: 0 0 4px #0000001a, 0 4px 8px #0000001a;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.backdrop-_mgpOu {
|
|
79
|
+
background-color: #0000;
|
|
80
|
+
position: fixed;
|
|
81
|
+
inset: 0;
|
|
26
82
|
}
|
|
27
83
|
|
|
28
84
|
.popup-jElt_o {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
outline: none;
|
|
87
|
+
padding: 12px 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.arrow-as8hPF {
|
|
91
|
+
width: 10px;
|
|
92
|
+
height: 10px;
|
|
93
|
+
fill: var(--wst-primary-background-color, #fff);
|
|
94
|
+
filter: drop-shadow(0 -1px 1px color-mix(in srgb, var(--wst-paragraph-2-color, #000) 15%, transparent));
|
|
95
|
+
display: block;
|
|
35
96
|
}
|
|
36
97
|
|
|
37
98
|
.link-jrEqu4 {
|
|
38
|
-
color: var(--wst-paragraph-2-color);
|
|
39
99
|
font: var(--wst-paragraph-2-font);
|
|
40
|
-
|
|
41
|
-
|
|
100
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
user-select: none;
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
outline: none;
|
|
105
|
+
align-items: center;
|
|
106
|
+
width: 100%;
|
|
107
|
+
padding: 8px 24px;
|
|
42
108
|
text-decoration: none;
|
|
43
|
-
display:
|
|
109
|
+
display: flex;
|
|
44
110
|
}
|
|
45
111
|
|
|
46
112
|
.link-jrEqu4:hover {
|
|
47
|
-
background-color: color-mix(in srgb, var(--wst-
|
|
113
|
+
background-color: color-mix(in srgb, var(--wst-base-2-color) 6%, transparent);
|
|
114
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.link-jrEqu4[data-active] {
|
|
118
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
119
|
+
text-decoration: underline;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.link-jrEqu4[data-disabled] {
|
|
123
|
+
opacity: .3;
|
|
124
|
+
cursor: default;
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.link-jrEqu4:focus-visible {
|
|
129
|
+
outline: 2px solid var(--wst-links-and-actions-color, #116dff);
|
|
130
|
+
outline-offset: 2px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.icon-YQWwDM {
|
|
134
|
+
width: 16px;
|
|
135
|
+
height: 16px;
|
|
136
|
+
color: var(--wst-shade-3-color, #767676);
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
justify-content: center;
|
|
139
|
+
align-items: center;
|
|
140
|
+
transition: transform .2s;
|
|
141
|
+
display: inline-flex;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[data-state="open"] .icon-YQWwDM {
|
|
145
|
+
transform: rotate(180deg);
|
|
48
146
|
}
|
|
49
147
|
|
|
@@ -1022,9 +1022,16 @@ if ("production" !== process.env.NODE_ENV) NavigationMenuPortal_NavigationMenuPo
|
|
|
1022
1022
|
const NavigationMenu_module = {
|
|
1023
1023
|
root: "root-Gth795",
|
|
1024
1024
|
list: "list-kus7O6",
|
|
1025
|
+
item: "item-OKUYls",
|
|
1026
|
+
content: "content-TaN2sK",
|
|
1025
1027
|
trigger: "trigger-L7xhgv",
|
|
1028
|
+
positioner: "positioner-C8EsN2",
|
|
1029
|
+
viewport: "viewport-yWpuCH",
|
|
1030
|
+
backdrop: "backdrop-_mgpOu",
|
|
1026
1031
|
popup: "popup-jElt_o",
|
|
1027
|
-
|
|
1032
|
+
arrow: "arrow-as8hPF",
|
|
1033
|
+
link: "link-jrEqu4",
|
|
1034
|
+
icon: "icon-YQWwDM"
|
|
1028
1035
|
};
|
|
1029
1036
|
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(NavigationMenuList_NavigationMenuList, {
|
|
1030
1037
|
ref: ref,
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
.root-XA6trs {
|
|
2
|
+
font: var(--wst-paragraph-2-font);
|
|
3
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
2
4
|
flex-direction: column;
|
|
5
|
+
gap: 4px;
|
|
3
6
|
display: inline-flex;
|
|
4
7
|
}
|
|
5
8
|
|
|
6
9
|
.group-lqMZOf {
|
|
7
10
|
box-sizing: border-box;
|
|
8
|
-
border: 1px solid var(--wst-paragraph-2-color, #0009);
|
|
9
11
|
background-color: var(--wst-primary-background-color, #fff);
|
|
12
|
+
border: var(--wst-system-line-1-width, 1px) solid
|
|
13
|
+
color-mix(in srgb, var(--wst-paragraph-2-color, #000) 60%, transparent);
|
|
10
14
|
border-radius: 0;
|
|
15
|
+
justify-content: space-between;
|
|
11
16
|
align-items: center;
|
|
12
|
-
|
|
13
|
-
line-height: 24px;
|
|
14
|
-
transition: border-color .1s ease-in;
|
|
15
|
-
display: flex;
|
|
17
|
+
display: inline-flex;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
.group-lqMZOf:hover, .group-lqMZOf:focus-within {
|
|
@@ -20,8 +22,7 @@
|
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
.root-XA6trs[data-disabled] .group-lqMZOf {
|
|
23
|
-
|
|
24
|
-
border-color: #0009;
|
|
25
|
+
border-color: var(--wst-system-disabled-color, #939393);
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
.root-XA6trs[data-invalid] .group-lqMZOf, .root-XA6trs[data-invalid] .group-lqMZOf:hover, .root-XA6trs[data-invalid] .group-lqMZOf:focus-within {
|
|
@@ -29,19 +30,16 @@
|
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
.input-BRhN7p {
|
|
32
|
-
|
|
33
|
-
vertical-align: middle;
|
|
33
|
+
text-align: center;
|
|
34
34
|
width: 100%;
|
|
35
|
-
min-width: 0;
|
|
36
35
|
color: var(--wst-paragraph-2-color, #000);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
line-height: 24px;
|
|
36
|
+
font: inherit;
|
|
37
|
+
background: none;
|
|
38
|
+
border: none;
|
|
39
|
+
outline: none;
|
|
40
|
+
flex: 1;
|
|
41
|
+
align-self: stretch;
|
|
42
|
+
padding: 0;
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
.group-lqMZOf:hover .input-BRhN7p, .group-lqMZOf:focus-within .input-BRhN7p {
|
|
@@ -49,68 +47,73 @@
|
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
.root-XA6trs[data-disabled] .input-BRhN7p {
|
|
52
|
-
color: var(--wst-system-disabled-color, #
|
|
53
|
-
cursor: not-allowed;
|
|
50
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
54
51
|
}
|
|
55
52
|
|
|
56
53
|
.input-BRhN7p:focus {
|
|
57
|
-
outline:
|
|
54
|
+
outline: none;
|
|
58
55
|
}
|
|
59
56
|
|
|
60
57
|
.input-BRhN7p::selection {
|
|
61
|
-
background: var(--wst-paragraph-2-color, #
|
|
62
|
-
opacity: .2;
|
|
58
|
+
background-color: color-mix(in srgb, var(--wst-paragraph-2-color, #000) 20%, transparent);
|
|
63
59
|
}
|
|
64
60
|
|
|
65
61
|
.input-BRhN7p::placeholder {
|
|
66
|
-
color: var(--wst-shade-3-color, #
|
|
62
|
+
color: var(--wst-shade-3-color, #757575);
|
|
67
63
|
}
|
|
68
64
|
|
|
69
65
|
.root-XA6trs[data-disabled] .input-BRhN7p::placeholder {
|
|
70
|
-
color: var(--wst-system-disabled-color, #
|
|
66
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
.input-BRhN7p:-webkit-autofill {
|
|
70
|
+
box-shadow: 0 0 0 1.5em var(--wst-primary-background-color, #fff) inset;
|
|
74
71
|
-webkit-text-fill-color: var(--wst-paragraph-2-color, #000);
|
|
75
|
-
-webkit-box-shadow: 0 0 0 1.5em var(--wst-primary-background-color, #fff) inset !important;
|
|
76
72
|
}
|
|
77
73
|
|
|
78
74
|
.input-BRhN7p[type="number"]::-webkit-inner-spin-button, .input-BRhN7p[type="number"]::-webkit-outer-spin-button {
|
|
79
75
|
-webkit-appearance: none;
|
|
76
|
+
appearance: none;
|
|
77
|
+
margin: 0;
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
.input-BRhN7p[type="number"] {
|
|
81
|
+
-moz-appearance: textfield;
|
|
83
82
|
appearance: textfield;
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
.increment-qnw0yh, .decrement-zkpqlA {
|
|
87
|
-
all: unset;
|
|
88
86
|
cursor: pointer;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
87
|
+
font: inherit;
|
|
88
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
89
|
+
box-sizing: border-box;
|
|
90
|
+
background: none;
|
|
91
|
+
border: none;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
align-self: stretch;
|
|
94
94
|
align-items: center;
|
|
95
|
-
padding:
|
|
96
|
-
display: flex;
|
|
95
|
+
padding: 7px 4px;
|
|
96
|
+
display: inline-flex;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.decrement-zkpqlA {
|
|
100
|
-
|
|
101
|
-
border-inline-end: 1px solid color-mix(in srgb, var(--wst-paragraph-2-color) 20%, transparent);
|
|
100
|
+
padding-inline-start: 4px;
|
|
102
101
|
}
|
|
103
102
|
|
|
104
103
|
.increment-qnw0yh:hover, .decrement-zkpqlA:hover {
|
|
105
|
-
|
|
104
|
+
color: var(--wst-links-and-actions-color, #116dff);
|
|
106
105
|
}
|
|
107
106
|
|
|
108
107
|
.root-XA6trs[data-disabled] .increment-qnw0yh, .root-XA6trs[data-disabled] .decrement-zkpqlA {
|
|
109
|
-
color: var(--wst-system-disabled-color, #
|
|
110
|
-
cursor:
|
|
108
|
+
color: var(--wst-system-disabled-color, #939393);
|
|
109
|
+
cursor: default;
|
|
110
|
+
pointer-events: none;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.scrubArea-XsXHM_ {
|
|
114
|
-
|
|
114
|
+
flex: 1;
|
|
115
|
+
align-self: stretch;
|
|
116
|
+
height: 100%;
|
|
117
|
+
display: flex;
|
|
115
118
|
}
|
|
116
119
|
|
package/dist/Popover/index.css
CHANGED
|
@@ -1,90 +1,81 @@
|
|
|
1
|
+
.trigger-jUfWGu {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.positioner-t0X5uo {
|
|
6
|
+
z-index: 1000;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.popup-Wrjs4v {
|
|
2
|
-
padding: var(--wst-popover-padding, 20px);
|
|
3
10
|
background-color: var(--wst-primary-background-color, #fff);
|
|
4
|
-
border:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
border-
|
|
8
|
-
border-width: 1px;
|
|
11
|
+
border: var(--wst-system-line-1-width, 1px) solid
|
|
12
|
+
color-mix(in srgb, var(--wst-system-line-1-color, #000) 60%, transparent);
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
border-radius: 6px;
|
|
9
15
|
min-width: 40px;
|
|
10
16
|
max-width: 320px;
|
|
11
|
-
|
|
17
|
+
padding: 16px;
|
|
12
18
|
box-shadow: 0 4px 8px #0000001f, 0 0 4px #0000001a;
|
|
13
19
|
}
|
|
14
20
|
|
|
15
21
|
.arrow-FmdRXW {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
inset: 0;
|
|
24
|
-
transform: rotate(45deg);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.arrow-FmdRXW:before {
|
|
28
|
-
z-index: -1;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.positioner-t0X5uo[data-side="right"] .arrow-FmdRXW {
|
|
32
|
-
border-right-color: var(--wst-primary-background-color, #fff);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.positioner-t0X5uo[data-side="left"] .arrow-FmdRXW {
|
|
36
|
-
border-left-color: var(--wst-primary-background-color, #fff);
|
|
22
|
+
background-color: var(--wst-primary-background-color, #fff);
|
|
23
|
+
border-style: solid;
|
|
24
|
+
border-color: color-mix(in srgb, var(--wst-system-line-1-color, #000) 60%, transparent);
|
|
25
|
+
border-width: 0;
|
|
26
|
+
width: 10px;
|
|
27
|
+
height: 10px;
|
|
28
|
+
rotate: 45deg;
|
|
37
29
|
}
|
|
38
30
|
|
|
39
31
|
.positioner-t0X5uo[data-side="bottom"] .arrow-FmdRXW {
|
|
40
|
-
border-
|
|
32
|
+
border-top-width: 1px;
|
|
33
|
+
border-left-width: 1px;
|
|
41
34
|
}
|
|
42
35
|
|
|
43
36
|
.positioner-t0X5uo[data-side="top"] .arrow-FmdRXW {
|
|
44
|
-
border-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
.positioner-t0X5uo[data-side="right"] .arrow-FmdRXW:before {
|
|
48
|
-
box-shadow: 5px -5px 0 6px var(--wst-primary-background-color, #fff6);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.positioner-t0X5uo[data-side="right"] .arrow-FmdRXW:after {
|
|
52
|
-
box-shadow: 5px -5px 0 5px var(--wst-primary-background-color, #fff);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.positioner-t0X5uo[data-side="left"] .arrow-FmdRXW:before {
|
|
56
|
-
box-shadow: -5px 5px 0 6px var(--wst-primary-background-color, #fff6);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.positioner-t0X5uo[data-side="left"] .arrow-FmdRXW:after {
|
|
60
|
-
box-shadow: -5px 5px 0 5px var(--wst-primary-background-color, #fff);
|
|
37
|
+
border-bottom-width: 1px;
|
|
38
|
+
border-right-width: 1px;
|
|
61
39
|
}
|
|
62
40
|
|
|
63
|
-
.positioner-t0X5uo[data-side="
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
.positioner-t0X5uo[data-side="top"] .arrow-FmdRXW:after {
|
|
68
|
-
box-shadow: -5px -5px 0 5px var(--wst-primary-background-color, #fff);
|
|
41
|
+
.positioner-t0X5uo[data-side="right"] .arrow-FmdRXW {
|
|
42
|
+
border-top-width: 1px;
|
|
43
|
+
border-left-width: 1px;
|
|
69
44
|
}
|
|
70
45
|
|
|
71
|
-
.positioner-t0X5uo[data-side="
|
|
72
|
-
|
|
46
|
+
.positioner-t0X5uo[data-side="left"] .arrow-FmdRXW {
|
|
47
|
+
border-bottom-width: 1px;
|
|
48
|
+
border-right-width: 1px;
|
|
73
49
|
}
|
|
74
50
|
|
|
75
|
-
.
|
|
76
|
-
|
|
51
|
+
.backdrop-GyKZma {
|
|
52
|
+
background-color: #0000;
|
|
53
|
+
position: fixed;
|
|
54
|
+
inset: 0;
|
|
77
55
|
}
|
|
78
56
|
|
|
79
57
|
.title-kQ490g {
|
|
80
|
-
font: var(--wst-
|
|
81
|
-
color: var(--wst-
|
|
82
|
-
margin: 0 0
|
|
58
|
+
font: var(--wst-paragraph-2-font);
|
|
59
|
+
color: var(--wst-paragraph-2-color, #000);
|
|
60
|
+
margin: 0 0 8px;
|
|
83
61
|
}
|
|
84
62
|
|
|
85
63
|
.description-IgC4Ak {
|
|
86
|
-
font: var(--wst-paragraph-
|
|
87
|
-
color: var(--wst-
|
|
64
|
+
font: var(--wst-paragraph-2-font);
|
|
65
|
+
color: var(--wst-shade-3-color, #767676);
|
|
88
66
|
margin: 0 0 12px;
|
|
89
67
|
}
|
|
90
68
|
|
|
69
|
+
.close-rFxG1X {
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
color: var(--wst-links-and-actions-color, #1f4fff);
|
|
72
|
+
font: var(--wst-paragraph-2-font);
|
|
73
|
+
background: none;
|
|
74
|
+
border: none;
|
|
75
|
+
border-radius: 4px;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
padding: 4px 8px;
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
}
|
|
81
|
+
|
package/dist/Popover/index.js
CHANGED
|
@@ -778,11 +778,14 @@ function createPopoverHandle() {
|
|
|
778
778
|
return new PopoverHandle();
|
|
779
779
|
}
|
|
780
780
|
const Popover_module = {
|
|
781
|
+
trigger: "trigger-jUfWGu",
|
|
782
|
+
positioner: "positioner-t0X5uo",
|
|
781
783
|
popup: "popup-Wrjs4v",
|
|
782
784
|
arrow: "arrow-FmdRXW",
|
|
783
|
-
|
|
785
|
+
backdrop: "backdrop-GyKZma",
|
|
784
786
|
title: "title-kQ490g",
|
|
785
|
-
description: "description-IgC4Ak"
|
|
787
|
+
description: "description-IgC4Ak",
|
|
788
|
+
close: "close-rFxG1X"
|
|
786
789
|
};
|
|
787
790
|
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(PopoverPositioner_PopoverPositioner, {
|
|
788
791
|
ref: ref,
|