@wix/site-ui 1.13.0 → 1.15.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 +7 -10
- package/dist/Accordion/index.d.ts +5 -0
- package/dist/Accordion/index.js +16 -1
- package/dist/AlertDialog/index.css +15 -4
- package/dist/AlertDialog/index.js +3 -1
- package/dist/Autocomplete/index.css +7 -0
- package/dist/Autocomplete/index.js +2 -1
- package/dist/Avatar/index.css +6 -4
- package/dist/Button/index.css +78 -55
- package/dist/Button/index.d.ts +0 -3
- package/dist/Button/index.js +3 -19
- package/dist/Checkbox/index.css +9 -8
- package/dist/Checkbox/index.d.ts +8 -0
- package/dist/Checkbox/index.js +11 -2
- package/dist/CheckboxGroup/index.css +1 -1
- package/dist/Combobox/index.css +7 -7
- package/dist/ContextMenu/index.css +6 -0
- package/dist/ContextMenu/index.js +1 -0
- package/dist/Dialog/index.css +15 -4
- package/dist/Dialog/index.js +3 -1
- package/dist/Drawer/index.css +22 -4
- package/dist/Drawer/index.js +2 -0
- package/dist/Field/index.css +12 -9
- package/dist/Field/index.js +2 -1
- package/dist/Fieldset/index.css +8 -1
- package/dist/Fieldset/index.js +3 -1
- package/dist/Input/index.css +3 -4
- package/dist/Menu/index.css +15 -6
- package/dist/Menu/index.js +2 -0
- package/dist/Meter/index.css +4 -1
- package/dist/NavigationMenu/index.css +47 -0
- package/dist/NavigationMenu/index.js +7 -1
- package/dist/NumberField/index.css +10 -3
- package/dist/Popover/index.css +12 -0
- package/dist/Popover/index.js +3 -1
- package/dist/Progress/index.css +8 -8
- package/dist/Progress/index.d.ts +9 -0
- package/dist/Progress/index.js +12 -2
- package/dist/Radio/index.css +16 -4
- package/dist/Radio/index.d.ts +11 -1
- package/dist/Radio/index.js +12 -3
- package/dist/ScrollArea/index.css +35 -0
- package/dist/ScrollArea/index.js +6 -1
- package/dist/Select/index.css +7 -12
- package/dist/Slider/index.css +16 -5
- package/dist/Slider/index.d.ts +11 -1
- package/dist/Slider/index.js +14 -3
- package/dist/Switch/index.css +28 -20
- package/dist/Switch/index.d.ts +18 -0
- package/dist/Switch/index.js +22 -2
- package/dist/Tabs/index.css +1 -1
- package/dist/Toggle/index.css +32 -8
- package/dist/ToggleGroup/index.css +4 -1
- package/dist/ToggleGroup/index.js +3 -1
- package/dist/Toolbar/index.css +56 -0
- package/dist/Toolbar/index.js +6 -1
- package/dist/Tooltip/index.css +20 -2
- package/dist/Tooltip/index.js +1 -0
- package/dist/Typography/index.css +45 -0
- package/dist/Typography/index.d.ts +12 -0
- package/dist/Typography/index.js +44 -0
- package/dist/index.d.ts +71 -5
- package/dist/index.js +6 -5
- package/package.json +2 -2
package/dist/Drawer/index.css
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
|
+
.description-hsuUfX {
|
|
2
|
+
font: var(--wst-paragraph-2-font);
|
|
3
|
+
color: var(--wst-paragraph-2-color);
|
|
4
|
+
margin: 0 0 16px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.title-A0LbRg {
|
|
8
|
+
font: var(--wst-heading-6-font);
|
|
9
|
+
color: var(--wst-heading-6-color);
|
|
10
|
+
margin: 0 0 8px;
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.popup-FjIEpg {
|
|
2
14
|
background-color: var(--wst-primary-background-color, #fff);
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
max-height: 320px;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
max-height: 80vh;
|
|
17
|
+
padding: 24px;
|
|
7
18
|
transition-duration: .3s;
|
|
8
19
|
transition-timing-function: cubic-bezier(.25, .46, .45, .94);
|
|
20
|
+
display: flex;
|
|
21
|
+
position: fixed;
|
|
22
|
+
bottom: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
overflow-y: auto;
|
|
26
|
+
box-shadow: 0 -4px 24px #00000026;
|
|
9
27
|
}
|
|
10
28
|
|
|
11
29
|
.popup-FjIEpg[data-swipe-direction="up"] {
|
package/dist/Drawer/index.js
CHANGED
|
@@ -3,6 +3,8 @@ import { Drawer } from "@base-ui/react/drawer";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
5
|
const Drawer_module = {
|
|
6
|
+
description: "description-hsuUfX",
|
|
7
|
+
title: "title-A0LbRg",
|
|
6
8
|
popup: "popup-FjIEpg"
|
|
7
9
|
};
|
|
8
10
|
const Backdrop = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Drawer.Backdrop, {
|
package/dist/Field/index.css
CHANGED
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.label-YSWZBs {
|
|
7
|
-
|
|
7
|
+
font: var(--wst-paragraph-3-font);
|
|
8
|
+
color: var(--wst-paragraph-3-color);
|
|
8
9
|
margin-bottom: 8px;
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
line-height: 1.4;
|
|
11
10
|
display: inline-block;
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -16,18 +15,22 @@
|
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
.error-BUDKWp {
|
|
19
|
-
|
|
18
|
+
font: var(--wst-paragraph-3-font);
|
|
19
|
+
color: var(--wst-system-error-color);
|
|
20
20
|
margin-top: 8px;
|
|
21
|
-
font-size: 14px;
|
|
22
|
-
line-height: 1.4;
|
|
23
21
|
display: block;
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
.description-IVviYU {
|
|
27
|
-
|
|
25
|
+
font: var(--wst-paragraph-3-font);
|
|
26
|
+
color: var(--wst-paragraph-3-color);
|
|
28
27
|
margin-top: 8px;
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
line-height: 1.4;
|
|
31
28
|
display: block;
|
|
32
29
|
}
|
|
33
30
|
|
|
31
|
+
.item-kQeHOQ {
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: 8px;
|
|
34
|
+
display: flex;
|
|
35
|
+
}
|
|
36
|
+
|
package/dist/Field/index.js
CHANGED
|
@@ -6,7 +6,8 @@ const Field_module = {
|
|
|
6
6
|
root: "root-ECdHfF",
|
|
7
7
|
label: "label-YSWZBs",
|
|
8
8
|
error: "error-BUDKWp",
|
|
9
|
-
description: "description-IVviYU"
|
|
9
|
+
description: "description-IVviYU",
|
|
10
|
+
item: "item-kQeHOQ"
|
|
10
11
|
};
|
|
11
12
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Field.Root, {
|
|
12
13
|
ref: ref,
|
package/dist/Fieldset/index.css
CHANGED
package/dist/Fieldset/index.js
CHANGED
|
@@ -2,7 +2,9 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { Fieldset } from "@base-ui/react/fieldset";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
|
-
const Fieldset_module = {
|
|
5
|
+
const Fieldset_module = {
|
|
6
|
+
root: "root-v8M2Sx"
|
|
7
|
+
};
|
|
6
8
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Fieldset.Root, {
|
|
7
9
|
ref: ref,
|
|
8
10
|
className: clsx(Fieldset_module.root, className),
|
package/dist/Input/index.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
background-color: var(--wst-primary-background-color, #fff);
|
|
5
5
|
width: 100%;
|
|
6
6
|
min-width: 0;
|
|
7
|
+
font: var(--wst-paragraph-2-font);
|
|
7
8
|
color: var(--wst-paragraph-2-color, #000);
|
|
8
9
|
vertical-align: middle;
|
|
9
10
|
border-radius: 0;
|
|
@@ -11,8 +12,6 @@
|
|
|
11
12
|
margin: 0;
|
|
12
13
|
padding-block: 8px;
|
|
13
14
|
padding-inline: 12px;
|
|
14
|
-
font-size: 16px;
|
|
15
|
-
line-height: 24px;
|
|
16
15
|
transition: border-color .1s ease-in;
|
|
17
16
|
}
|
|
18
17
|
|
|
@@ -26,8 +25,8 @@
|
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.root-Y7wYn3:focus-visible {
|
|
29
|
-
|
|
30
|
-
outline
|
|
28
|
+
border-color: var(--wst-links-and-actions-color, #116dff);
|
|
29
|
+
outline: none;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
.root-Y7wYn3:disabled {
|
package/dist/Menu/index.css
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
.trigger-OltV1Y {
|
|
2
|
+
font: var(--wst-paragraph-2-font);
|
|
3
|
+
color: var(--wst-paragraph-2-color);
|
|
4
|
+
align-items: center;
|
|
5
|
+
display: inline-flex;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.groupLabel-_L41zu {
|
|
9
|
+
font: var(--wst-paragraph-3-font);
|
|
10
|
+
color: var(--wst-paragraph-3-color);
|
|
11
|
+
padding: 4px 24px;
|
|
12
|
+
}
|
|
13
|
+
|
|
1
14
|
.popup-VQm6g1 {
|
|
2
15
|
background-color: var(--wst-primary-background-color, #fff);
|
|
3
16
|
border-style: solid;
|
|
@@ -19,12 +32,10 @@
|
|
|
19
32
|
cursor: pointer;
|
|
20
33
|
width: calc(100% + 2px);
|
|
21
34
|
color: var(--wst-paragraph-2-color, #000);
|
|
22
|
-
font: var(--wst-paragraph-2
|
|
35
|
+
font: var(--wst-paragraph-2-font);
|
|
23
36
|
text-align: initial;
|
|
24
37
|
align-items: center;
|
|
25
38
|
padding: 8px 24px;
|
|
26
|
-
font-size: 16px;
|
|
27
|
-
line-height: 24px;
|
|
28
39
|
display: flex;
|
|
29
40
|
position: relative;
|
|
30
41
|
left: -1px;
|
|
@@ -48,12 +59,10 @@
|
|
|
48
59
|
cursor: pointer;
|
|
49
60
|
width: calc(100% + 2px);
|
|
50
61
|
color: var(--wst-paragraph-2-color, #000);
|
|
51
|
-
font: var(--wst-paragraph-2
|
|
62
|
+
font: var(--wst-paragraph-2-font);
|
|
52
63
|
text-align: initial;
|
|
53
64
|
align-items: center;
|
|
54
65
|
padding: 8px 24px;
|
|
55
|
-
font-size: 16px;
|
|
56
|
-
line-height: 24px;
|
|
57
66
|
text-decoration: none;
|
|
58
67
|
display: flex;
|
|
59
68
|
position: relative;
|
package/dist/Menu/index.js
CHANGED
|
@@ -3,6 +3,8 @@ import { Menu } from "@base-ui/react/menu";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
5
|
const Menu_module = {
|
|
6
|
+
trigger: "trigger-OltV1Y",
|
|
7
|
+
groupLabel: "groupLabel-_L41zu",
|
|
6
8
|
popup: "popup-VQm6g1",
|
|
7
9
|
item: "item-toMw6N",
|
|
8
10
|
linkItem: "linkItem-UZphBs"
|
package/dist/Meter/index.css
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
.track-BJK3T1 {
|
|
8
8
|
background: #fff3;
|
|
9
9
|
background-color: color-mix(in srgb, var(--wst-paragraph-2-color, #000) 20%, transparent);
|
|
10
|
-
|
|
10
|
+
flex: 1;
|
|
11
|
+
min-width: 0;
|
|
11
12
|
height: 6px;
|
|
12
13
|
position: relative;
|
|
13
14
|
}
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
|
|
24
25
|
.value-Uz_0kH {
|
|
25
26
|
color: var(--wst-paragraph-2-color, #000);
|
|
27
|
+
flex-shrink: 0;
|
|
26
28
|
padding-inline-start: 8px;
|
|
27
29
|
font-size: 12px;
|
|
28
30
|
line-height: 1.4em;
|
|
@@ -30,6 +32,7 @@
|
|
|
30
32
|
|
|
31
33
|
.label-yJGBDG {
|
|
32
34
|
color: var(--wst-paragraph-2-color, #000);
|
|
35
|
+
flex-shrink: 0;
|
|
33
36
|
padding-inline-end: 8px;
|
|
34
37
|
font-size: 12px;
|
|
35
38
|
line-height: 1.4em;
|
|
@@ -1,2 +1,49 @@
|
|
|
1
|
+
.root-Gth795 {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
1
4
|
|
|
5
|
+
.list-kus7O6 {
|
|
6
|
+
gap: 4px;
|
|
7
|
+
margin: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
list-style: none;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.trigger-L7xhgv {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
font: var(--wst-paragraph-2-font);
|
|
16
|
+
color: var(--wst-paragraph-2-color);
|
|
17
|
+
background: none;
|
|
18
|
+
border: none;
|
|
19
|
+
border-radius: 6px;
|
|
20
|
+
padding: 8px 12px;
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.trigger-L7xhgv:hover {
|
|
25
|
+
background-color: color-mix(in srgb, var(--wst-paragraph-2-color) 6%, transparent);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.popup-jElt_o {
|
|
29
|
+
background-color: var(--wst-primary-background-color);
|
|
30
|
+
border: 1px solid color-mix(in srgb, var(--wst-paragraph-2-color) 15%, transparent);
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
min-width: 220px;
|
|
33
|
+
padding: 16px;
|
|
34
|
+
box-shadow: 0 4px 16px #0000001f;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.link-jrEqu4 {
|
|
38
|
+
color: var(--wst-paragraph-2-color);
|
|
39
|
+
font: var(--wst-paragraph-2-font);
|
|
40
|
+
border-radius: 4px;
|
|
41
|
+
padding: 6px 8px;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
display: block;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.link-jrEqu4:hover {
|
|
47
|
+
background-color: color-mix(in srgb, var(--wst-paragraph-2-color) 6%, transparent);
|
|
48
|
+
}
|
|
2
49
|
|
|
@@ -2,7 +2,13 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { NavigationMenu } from "@base-ui/react/navigation-menu";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
|
-
const NavigationMenu_module = {
|
|
5
|
+
const NavigationMenu_module = {
|
|
6
|
+
root: "root-Gth795",
|
|
7
|
+
list: "list-kus7O6",
|
|
8
|
+
trigger: "trigger-L7xhgv",
|
|
9
|
+
popup: "popup-jElt_o",
|
|
10
|
+
link: "link-jrEqu4"
|
|
11
|
+
};
|
|
6
12
|
const List = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(NavigationMenu.List, {
|
|
7
13
|
ref: ref,
|
|
8
14
|
className: clsx(NavigationMenu_module.list, className),
|
|
@@ -86,14 +86,21 @@
|
|
|
86
86
|
.increment-qnw0yh, .decrement-zkpqlA {
|
|
87
87
|
all: unset;
|
|
88
88
|
cursor: pointer;
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
color: var(--wst-paragraph-2-color);
|
|
90
|
+
font: var(--wst-paragraph-2-font);
|
|
91
|
+
border-inline-start: 1px solid color-mix(in srgb, var(--wst-paragraph-2-color) 20%, transparent);
|
|
91
92
|
justify-content: center;
|
|
93
|
+
align-self: stretch;
|
|
92
94
|
align-items: center;
|
|
93
|
-
|
|
95
|
+
padding: 0 10px;
|
|
94
96
|
display: flex;
|
|
95
97
|
}
|
|
96
98
|
|
|
99
|
+
.decrement-zkpqlA {
|
|
100
|
+
border-inline-start: none;
|
|
101
|
+
border-inline-end: 1px solid color-mix(in srgb, var(--wst-paragraph-2-color) 20%, transparent);
|
|
102
|
+
}
|
|
103
|
+
|
|
97
104
|
.increment-qnw0yh:hover, .decrement-zkpqlA:hover {
|
|
98
105
|
opacity: .7;
|
|
99
106
|
}
|
package/dist/Popover/index.css
CHANGED
|
@@ -76,3 +76,15 @@
|
|
|
76
76
|
box-shadow: 5px 5px 0 5px var(--wst-primary-background-color, #fff);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.title-kQ490g {
|
|
80
|
+
font: var(--wst-heading-6-font);
|
|
81
|
+
color: var(--wst-heading-6-color);
|
|
82
|
+
margin: 0 0 4px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.description-IgC4Ak {
|
|
86
|
+
font: var(--wst-paragraph-3-font);
|
|
87
|
+
color: var(--wst-paragraph-3-color);
|
|
88
|
+
margin: 0 0 12px;
|
|
89
|
+
}
|
|
90
|
+
|
package/dist/Popover/index.js
CHANGED
|
@@ -5,7 +5,9 @@ import * as __rspack_external_react from "react";
|
|
|
5
5
|
const Popover_module = {
|
|
6
6
|
popup: "popup-Wrjs4v",
|
|
7
7
|
arrow: "arrow-FmdRXW",
|
|
8
|
-
positioner: "positioner-t0X5uo"
|
|
8
|
+
positioner: "positioner-t0X5uo",
|
|
9
|
+
title: "title-kQ490g",
|
|
10
|
+
description: "description-IgC4Ak"
|
|
9
11
|
};
|
|
10
12
|
const Positioner = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Popover.Positioner, {
|
|
11
13
|
ref: ref,
|
package/dist/Progress/index.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
.root-VDHmKD {
|
|
2
|
-
|
|
2
|
+
flex-direction: column;
|
|
3
|
+
gap: 8px;
|
|
3
4
|
width: 100%;
|
|
4
5
|
display: flex;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
.track-_XqaKn {
|
|
8
|
-
background-color: color-mix(in srgb, var(--wst-paragraph-2-color, #333) 20%, transparent);
|
|
9
9
|
width: 100%;
|
|
10
|
-
height:
|
|
10
|
+
height: var(--progress-size, 6px);
|
|
11
|
+
background-color: color-mix(in srgb, var(--wst-paragraph-2-color, #333) 20%, transparent);
|
|
12
|
+
border-radius: 999px;
|
|
11
13
|
position: relative;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
.indicator-lfO9jO {
|
|
15
17
|
background: var(--wst-links-and-actions-color, #116dff);
|
|
18
|
+
height: 100%;
|
|
16
19
|
transition: width .5s ease-in-out;
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
.value-SBk4OI, .label-HqgXxt {
|
|
20
|
-
color: var(--wst-paragraph-
|
|
21
|
-
|
|
22
|
-
font-size: 12px;
|
|
23
|
-
line-height: 1.4em;
|
|
24
|
-
display: flex;
|
|
23
|
+
color: var(--wst-paragraph-3-color, #333);
|
|
24
|
+
font: var(--wst-paragraph-3-font);
|
|
25
25
|
}
|
|
26
26
|
|
package/dist/Progress/index.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ import * as React_2 from 'react';
|
|
|
8
8
|
export declare const Progress: {
|
|
9
9
|
Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressRootProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
10
10
|
className?: string | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
size?: number | undefined;
|
|
11
13
|
} & React_2.RefAttributes<HTMLDivElement>>;
|
|
12
14
|
Track: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<ProgressTrackProps, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
|
|
13
15
|
className?: string | undefined;
|
|
@@ -23,6 +25,13 @@ export declare const Progress: {
|
|
|
23
25
|
} & React_2.RefAttributes<HTMLSpanElement>>;
|
|
24
26
|
};
|
|
25
27
|
|
|
28
|
+
export declare const ProgressSize: {
|
|
29
|
+
readonly thin: 4;
|
|
30
|
+
readonly small: 6;
|
|
31
|
+
readonly medium: 8;
|
|
32
|
+
readonly large: 12;
|
|
33
|
+
};
|
|
34
|
+
|
|
26
35
|
|
|
27
36
|
export * from "@base-ui/react/progress";
|
|
28
37
|
|
package/dist/Progress/index.js
CHANGED
|
@@ -9,9 +9,19 @@ const Progress_module = {
|
|
|
9
9
|
value: "value-SBk4OI",
|
|
10
10
|
label: "label-HqgXxt"
|
|
11
11
|
};
|
|
12
|
-
const
|
|
12
|
+
const ProgressSize = {
|
|
13
|
+
thin: 4,
|
|
14
|
+
small: 6,
|
|
15
|
+
medium: 8,
|
|
16
|
+
large: 12
|
|
17
|
+
};
|
|
18
|
+
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, size = ProgressSize.small, style, ...props }, ref)=>/*#__PURE__*/ jsx(Progress.Root, {
|
|
13
19
|
ref: ref,
|
|
14
20
|
className: clsx(Progress_module.root, className),
|
|
21
|
+
style: {
|
|
22
|
+
'--progress-size': `${size}px`,
|
|
23
|
+
...style
|
|
24
|
+
},
|
|
15
25
|
...props
|
|
16
26
|
}));
|
|
17
27
|
const Track = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Progress.Track, {
|
|
@@ -41,4 +51,4 @@ const Progress_Progress = {
|
|
|
41
51
|
Value: Value,
|
|
42
52
|
Label: Label
|
|
43
53
|
};
|
|
44
|
-
export { Progress_Progress as Progress };
|
|
54
|
+
export { ProgressSize, Progress_Progress as Progress };
|
package/dist/Radio/index.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.root-Lal8hj {
|
|
2
2
|
background-color: var(--wst-primary-background-color, transparent);
|
|
3
|
+
height: var(--radio-size, 16px);
|
|
4
|
+
width: var(--radio-size, 16px);
|
|
3
5
|
box-sizing: content-box;
|
|
4
6
|
border: 1px solid var(--wst-paragraph-2-color, #0009);
|
|
5
7
|
cursor: pointer;
|
|
6
8
|
border-radius: 50%;
|
|
7
9
|
justify-content: center;
|
|
8
10
|
align-items: center;
|
|
9
|
-
width: 14px;
|
|
10
|
-
height: 14px;
|
|
11
11
|
transition: background-color .2s linear, border-color .2s linear, border-width .2s linear, border-radius .2s linear;
|
|
12
12
|
display: flex;
|
|
13
13
|
}
|
|
@@ -28,12 +28,20 @@
|
|
|
28
28
|
border-color: var(--wst-system-disabled-color, #ccc);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
+
.root-Lal8hj[data-invalid]:not([data-checked]) {
|
|
32
|
+
border-color: var(--wst-system-error-color) !important;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.root-Lal8hj[data-invalid][data-checked] {
|
|
36
|
+
border-color: var(--wst-system-error-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
31
39
|
.indicator-YyFvol {
|
|
40
|
+
width: calc(var(--radio-size, 16px) * .5);
|
|
41
|
+
height: calc(var(--radio-size, 16px) * .5);
|
|
32
42
|
background-color: var(--wst-links-and-actions-color, #000);
|
|
33
43
|
opacity: 0;
|
|
34
44
|
border-radius: 50%;
|
|
35
|
-
width: 8px;
|
|
36
|
-
height: 8px;
|
|
37
45
|
transition: background-color .2s linear, border-color .2s linear, border-width .2s linear, border-radius .2s linear;
|
|
38
46
|
transform: scale(.5);
|
|
39
47
|
}
|
|
@@ -47,3 +55,7 @@
|
|
|
47
55
|
background-color: var(--wst-system-disabled-color, #ccc);
|
|
48
56
|
}
|
|
49
57
|
|
|
58
|
+
.root-Lal8hj[data-invalid][data-checked] .indicator-YyFvol {
|
|
59
|
+
background-color: var(--wst-system-error-color);
|
|
60
|
+
}
|
|
61
|
+
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -10,7 +10,17 @@ export declare const Radio: {
|
|
|
10
10
|
Root: typeof Root;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
declare
|
|
13
|
+
export declare const RadioSize: {
|
|
14
|
+
readonly small: 12;
|
|
15
|
+
readonly medium: 16;
|
|
16
|
+
readonly large: 20;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
declare function Root<Value>({ className, size, style, ...props }: RootProps<Value>): JSX_2.Element;
|
|
20
|
+
|
|
21
|
+
declare type RootProps<Value> = WithStringClassName<Radio_2.Root.Props<Value>> & {
|
|
22
|
+
size?: number;
|
|
23
|
+
};
|
|
14
24
|
|
|
15
25
|
declare type WithStringClassName<P> = Omit<P, 'className'> & {
|
|
16
26
|
className?: string;
|
package/dist/Radio/index.js
CHANGED
|
@@ -6,19 +6,28 @@ const Radio_module = {
|
|
|
6
6
|
root: "root-Lal8hj",
|
|
7
7
|
indicator: "indicator-YyFvol"
|
|
8
8
|
};
|
|
9
|
+
const RadioSize = {
|
|
10
|
+
small: 12,
|
|
11
|
+
medium: 16,
|
|
12
|
+
large: 20
|
|
13
|
+
};
|
|
9
14
|
const Indicator = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(Radio.Indicator, {
|
|
10
15
|
ref: ref,
|
|
11
16
|
className: clsx(Radio_module.indicator, className),
|
|
12
17
|
...props
|
|
13
18
|
}));
|
|
14
|
-
function Root({ className, ...props }) {
|
|
19
|
+
function Root({ className, size = RadioSize.medium, style, ...props }) {
|
|
15
20
|
return /*#__PURE__*/ jsx(Radio.Root, {
|
|
16
21
|
...props,
|
|
17
|
-
className: clsx(Radio_module.root, className)
|
|
22
|
+
className: clsx(Radio_module.root, className),
|
|
23
|
+
style: {
|
|
24
|
+
'--radio-size': `${size}px`,
|
|
25
|
+
...style
|
|
26
|
+
}
|
|
18
27
|
});
|
|
19
28
|
}
|
|
20
29
|
const Radio_Radio = {
|
|
21
30
|
Indicator: Indicator,
|
|
22
31
|
Root: Root
|
|
23
32
|
};
|
|
24
|
-
export { Radio_Radio as Radio };
|
|
33
|
+
export { RadioSize, Radio_Radio as Radio };
|
|
@@ -1,2 +1,37 @@
|
|
|
1
|
+
.root-_9VjLl {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
}
|
|
1
5
|
|
|
6
|
+
.viewport-AtdxVk {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
overflow: hidden scroll;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.scrollbar-NftRcM {
|
|
13
|
+
background: color-mix(in srgb, var(--wst-paragraph-2-color) 4%, transparent);
|
|
14
|
+
border-radius: 8px;
|
|
15
|
+
width: 8px;
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 0;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
right: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.scrollbar-NftRcM[data-orientation="horizontal"] {
|
|
23
|
+
width: auto;
|
|
24
|
+
height: 8px;
|
|
25
|
+
inset: auto 0 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.thumb-qKKUxU {
|
|
29
|
+
background: color-mix(in srgb, var(--wst-paragraph-2-color) 25%, transparent);
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
border-radius: 8px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.thumb-qKKUxU:hover {
|
|
35
|
+
background: color-mix(in srgb, var(--wst-paragraph-2-color) 40%, transparent);
|
|
36
|
+
}
|
|
2
37
|
|
package/dist/ScrollArea/index.js
CHANGED
|
@@ -2,7 +2,12 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { ScrollArea } from "@base-ui/react/scroll-area";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import * as __rspack_external_react from "react";
|
|
5
|
-
const ScrollArea_module = {
|
|
5
|
+
const ScrollArea_module = {
|
|
6
|
+
root: "root-_9VjLl",
|
|
7
|
+
viewport: "viewport-AtdxVk",
|
|
8
|
+
scrollbar: "scrollbar-NftRcM",
|
|
9
|
+
thumb: "thumb-qKKUxU"
|
|
10
|
+
};
|
|
6
11
|
const Root = /*#__PURE__*/ __rspack_external_react.forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx(ScrollArea.Root, {
|
|
7
12
|
ref: ref,
|
|
8
13
|
className: clsx(ScrollArea_module.root, className),
|
package/dist/Select/index.css
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
.label-UrIm_f {
|
|
2
2
|
color: var(--wst-paragraph-2-color, #000);
|
|
3
|
-
font: var(--wst-paragraph-2
|
|
3
|
+
font: var(--wst-paragraph-2-font);
|
|
4
4
|
margin-bottom: 8px;
|
|
5
|
-
font-size: 14px;
|
|
6
5
|
display: block;
|
|
7
6
|
}
|
|
8
7
|
|
|
@@ -16,14 +15,12 @@
|
|
|
16
15
|
border-style: solid;
|
|
17
16
|
border-width: 1px;
|
|
18
17
|
border-color: color-mix(in srgb, var(--wst-paragraph-2-color, #000) 60%, transparent);
|
|
19
|
-
font: var(--wst-paragraph-2
|
|
18
|
+
font: var(--wst-paragraph-2-font);
|
|
20
19
|
cursor: pointer;
|
|
21
20
|
border-radius: 0;
|
|
22
21
|
align-items: center;
|
|
23
22
|
column-gap: 4px;
|
|
24
23
|
padding: 0 12px;
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
line-height: 1.5em;
|
|
27
24
|
display: flex;
|
|
28
25
|
}
|
|
29
26
|
|
|
@@ -102,12 +99,10 @@
|
|
|
102
99
|
padding-bottom: 8px;
|
|
103
100
|
width: 100%;
|
|
104
101
|
color: var(--wst-paragraph-2-color, #000);
|
|
105
|
-
font: var(--wst-paragraph-2
|
|
102
|
+
font: var(--wst-paragraph-2-font);
|
|
106
103
|
cursor: pointer;
|
|
107
104
|
align-items: center;
|
|
108
105
|
padding-inline: 12px;
|
|
109
|
-
font-size: 16px;
|
|
110
|
-
line-height: 1.5;
|
|
111
106
|
display: flex;
|
|
112
107
|
}
|
|
113
108
|
|
|
@@ -132,6 +127,8 @@
|
|
|
132
127
|
.itemText-tVdjcF {
|
|
133
128
|
text-overflow: ellipsis;
|
|
134
129
|
white-space: nowrap;
|
|
130
|
+
font: var(--wst-paragraph-2-font);
|
|
131
|
+
color: var(--wst-paragraph-2-color);
|
|
135
132
|
padding-inline: 0;
|
|
136
133
|
display: block;
|
|
137
134
|
overflow: hidden;
|
|
@@ -157,11 +154,9 @@
|
|
|
157
154
|
.groupLabel-GC3RgN {
|
|
158
155
|
padding-top: 0;
|
|
159
156
|
padding-bottom: 0;
|
|
160
|
-
|
|
161
|
-
|
|
157
|
+
font: var(--wst-paragraph-3-font);
|
|
158
|
+
color: var(--wst-paragraph-3-color);
|
|
162
159
|
padding-inline: 12px;
|
|
163
|
-
font-size: 16px;
|
|
164
|
-
line-height: 1.5;
|
|
165
160
|
display: block;
|
|
166
161
|
}
|
|
167
162
|
|
package/dist/Slider/index.css
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
3
|
-
font: var(--wst-paragraph-2, normal 14px/1.4 sans-serif);
|
|
1
|
+
.root-uI1zMj {
|
|
2
|
+
box-sizing: border-box;
|
|
4
3
|
align-items: center;
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
gap: 12px;
|
|
5
|
+
width: 100%;
|
|
7
6
|
display: flex;
|
|
8
7
|
}
|
|
9
8
|
|
|
9
|
+
.label-MkH3nw {
|
|
10
|
+
color: var(--wst-paragraph-2-color, #32536a);
|
|
11
|
+
font: var(--wst-paragraph-2-font);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.value-ZbXzRd {
|
|
15
|
+
color: var(--wst-paragraph-2-color, #32536a);
|
|
16
|
+
font: var(--wst-paragraph-2-font);
|
|
17
|
+
text-align: end;
|
|
18
|
+
}
|
|
19
|
+
|
|
10
20
|
.control-_J8a2_ {
|
|
21
|
+
flex: 1;
|
|
11
22
|
padding: 0 8px;
|
|
12
23
|
}
|
|
13
24
|
|