@vygruppen/spor-react 12.22.0 → 12.22.2
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/.turbo/turbo-build.log +12 -12
- package/.turbo/turbo-postinstall.log +2 -2
- package/CHANGELOG.md +20 -0
- package/dist/index.cjs +177 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.mjs +190 -194
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/alert/AlertIcon.tsx +5 -1
- package/src/input/AttachedInputs.tsx +2 -2
- package/src/input/Autocomplete.tsx +42 -22
- package/src/input/Field.tsx +3 -1
- package/src/input/FloatingLabel.tsx +2 -2
- package/src/input/Input.tsx +2 -1
- package/src/input/NumericStepper.tsx +1 -4
- package/src/logo/VyLogo.tsx +81 -73
- package/src/theme/recipes/attached-inputs.ts +3 -2
- package/src/theme/slot-recipes/autocomplete.ts +0 -1
- package/src/theme/tokens/text-styles.ts +0 -18
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.22.
|
|
2
|
+
> @vygruppen/spor-react@12.22.2 build /home/runner/work/spor/spor/packages/spor-react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
CLI Building entry: src/index.tsx, src/icons/index.tsx
|
|
@@ -11,18 +11,18 @@ CLI Cleaning output folder
|
|
|
11
11
|
ESM Build start
|
|
12
12
|
CJS Build start
|
|
13
13
|
DTS Build start
|
|
14
|
-
|
|
15
|
-
CJS dist/icons/index.cjs 381.00 B
|
|
16
|
-
CJS dist/icons/index.cjs.map 157.00 B
|
|
17
|
-
CJS dist/index.cjs.map 691.17 KB
|
|
18
|
-
CJS ⚡️ Build success in 2624ms
|
|
14
|
+
ESM dist/index.mjs 326.79 KB
|
|
19
15
|
ESM dist/icons/index.mjs 110.00 B
|
|
20
|
-
ESM dist/index.mjs
|
|
16
|
+
ESM dist/index.mjs.map 691.91 KB
|
|
21
17
|
ESM dist/icons/index.mjs.map 157.00 B
|
|
22
|
-
ESM
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
ESM ⚡️ Build success in 2623ms
|
|
19
|
+
CJS dist/index.cjs 350.69 KB
|
|
20
|
+
CJS dist/icons/index.cjs 381.00 B
|
|
21
|
+
CJS dist/index.cjs.map 691.91 KB
|
|
22
|
+
CJS dist/icons/index.cjs.map 157.00 B
|
|
23
|
+
CJS ⚡️ Build success in 2626ms
|
|
24
|
+
DTS ⚡️ Build success in 20971ms
|
|
25
25
|
DTS dist/icons/index.d.ts 44.00 B
|
|
26
|
-
DTS dist/index.d.ts
|
|
26
|
+
DTS dist/index.d.ts 146.71 KB
|
|
27
27
|
DTS dist/icons/index.d.cts 44.00 B
|
|
28
|
-
DTS dist/index.d.cts
|
|
28
|
+
DTS dist/index.d.cts 146.71 KB
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @vygruppen/spor-react@12.22.
|
|
2
|
+
> @vygruppen/spor-react@12.22.2 postinstall /home/runner/work/spor/spor/packages/spor-react
|
|
3
3
|
> chakra typegen src/theme/index.ts
|
|
4
4
|
|
|
5
|
-
[dotenv@17.2.3] injecting env (0) from .env -- tip:
|
|
5
|
+
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️ load multiple .env files with { path: ['.env.local', '.env'] }
|
|
6
6
|
[90m┌[39m Chakra CLI ⚡️
|
|
7
7
|
[?25l[90m│[39m
|
|
8
8
|
[35m◒[39m Generating conditions types...
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @vygruppen/spor-react
|
|
2
2
|
|
|
3
|
+
## 12.22.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 815694c: Improvements to Autocomplete accessibility and bugfixes.
|
|
8
|
+
|
|
9
|
+
Also fix floatingLabel fontSize not being set to 2xs.
|
|
10
|
+
|
|
11
|
+
- 877bd20: Remove unessesary ids from numeric stepper buttons
|
|
12
|
+
- 98504fe: Change from using aria-label in Box to adding a VisuallyHidden elements for better screen reader support of AlertIcon.
|
|
13
|
+
- 3bfb2b1: Align Text font-size breakpoint with other components
|
|
14
|
+
|
|
15
|
+
Changed responsive font-size steps so Text switches size at sm (568px) instead of lg (1025px). This fixes visual size mismatches across the design system.
|
|
16
|
+
|
|
17
|
+
## 12.22.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 150818c: add mono-color variant of vylogo
|
|
22
|
+
|
|
3
23
|
## 12.22.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1043,7 +1043,10 @@ var useScrollDirection = () => {
|
|
|
1043
1043
|
var AlertIcon = React20.forwardRef(
|
|
1044
1044
|
({ variant, customIcon: CustomAlertIcon }, ref) => {
|
|
1045
1045
|
const { t } = useTranslation();
|
|
1046
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
1046
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(react.Box, { ref, children: [
|
|
1047
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactAria.VisuallyHidden, { children: t(texts5[variant]) }),
|
|
1048
|
+
CustomAlertIcon ? /* @__PURE__ */ jsxRuntime.jsx(CustomAlertIcon, { color: `alert.${variant}.icon` }) : /* @__PURE__ */ jsxRuntime.jsx(BaseAlertIcon, { variant })
|
|
1049
|
+
] });
|
|
1047
1050
|
}
|
|
1048
1051
|
);
|
|
1049
1052
|
AlertIcon.displayName = "AlertIcon";
|
|
@@ -1919,12 +1922,12 @@ var floatingLabelStyles = react.defineStyle({
|
|
|
1919
1922
|
opacity: 0.4
|
|
1920
1923
|
},
|
|
1921
1924
|
pos: "absolute",
|
|
1922
|
-
transition: "
|
|
1925
|
+
transition: "top 160ms ease, font-size 160ms ease",
|
|
1923
1926
|
top: "0.9rem",
|
|
1924
1927
|
color: "text",
|
|
1925
1928
|
fontSize: ["mobile.sm", "desktop.sm"],
|
|
1926
1929
|
"&[data-float]": {
|
|
1927
|
-
fontSize: ["mobile.
|
|
1930
|
+
fontSize: ["mobile.2xs", "desktop.2xs"],
|
|
1928
1931
|
color: "text",
|
|
1929
1932
|
top: "0.3rem"
|
|
1930
1933
|
}
|
|
@@ -1998,7 +2001,7 @@ var Field3 = React20__namespace.forwardRef(
|
|
|
1998
2001
|
children: renderLabelWithIndicator(label, labelAsChild)
|
|
1999
2002
|
}
|
|
2000
2003
|
),
|
|
2001
|
-
errorText && /* @__PURE__ */ jsxRuntime.jsx(react.Field.ErrorText, { children: errorText })
|
|
2004
|
+
errorText && /* @__PURE__ */ jsxRuntime.jsx(react.Field.ErrorText, { "aria-live": "polite", children: errorText })
|
|
2002
2005
|
]
|
|
2003
2006
|
}
|
|
2004
2007
|
),
|
|
@@ -3123,7 +3126,7 @@ var SwitchButton = react.chakra(
|
|
|
3123
3126
|
react.defineRecipe({
|
|
3124
3127
|
base: {
|
|
3125
3128
|
position: "absolute !important",
|
|
3126
|
-
zIndex: "
|
|
3129
|
+
zIndex: "101 !important",
|
|
3127
3130
|
// eslint-disable-next-line spor/use-semantic-tokens
|
|
3128
3131
|
bg: "bg !important",
|
|
3129
3132
|
outlineWidth: "1px !important",
|
|
@@ -3139,7 +3142,7 @@ var SwitchButton = react.chakra(
|
|
|
3139
3142
|
},
|
|
3140
3143
|
vertical: {
|
|
3141
3144
|
top: "calc(50% - 15px)",
|
|
3142
|
-
right: "
|
|
3145
|
+
right: "3rem",
|
|
3143
3146
|
transform: "rotate(90deg)"
|
|
3144
3147
|
}
|
|
3145
3148
|
}
|
|
@@ -3254,7 +3257,7 @@ var Input = React20.forwardRef(
|
|
|
3254
3257
|
errorText,
|
|
3255
3258
|
id: props.id,
|
|
3256
3259
|
labelAsChild,
|
|
3257
|
-
label: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, {
|
|
3260
|
+
label: /* @__PURE__ */ jsxRuntime.jsxs(react.Flex, { children: [
|
|
3258
3261
|
/* @__PURE__ */ jsxRuntime.jsx(react.Box, { visibility: "hidden", children: startElement }),
|
|
3259
3262
|
label
|
|
3260
3263
|
] }),
|
|
@@ -3266,6 +3269,7 @@ var Input = React20.forwardRef(
|
|
|
3266
3269
|
{
|
|
3267
3270
|
pointerEvents: "none",
|
|
3268
3271
|
paddingX: 2,
|
|
3272
|
+
"aria-hidden": "true",
|
|
3269
3273
|
fontSize: fontSize ?? "mobile.md",
|
|
3270
3274
|
children: startElement
|
|
3271
3275
|
}
|
|
@@ -3318,6 +3322,9 @@ var Autocomplete = ({
|
|
|
3318
3322
|
filteredExternally,
|
|
3319
3323
|
loading,
|
|
3320
3324
|
disabled,
|
|
3325
|
+
emptyLabel,
|
|
3326
|
+
openOnClick = true,
|
|
3327
|
+
openOnFocus = true,
|
|
3321
3328
|
...rest
|
|
3322
3329
|
}) => {
|
|
3323
3330
|
const { contains } = react.useFilter({ sensitivity: "base" });
|
|
@@ -3338,50 +3345,52 @@ var Autocomplete = ({
|
|
|
3338
3345
|
() => filterChildren(children, collection.items),
|
|
3339
3346
|
[children, collection.items]
|
|
3340
3347
|
);
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
mainAxis: 3,
|
|
3356
|
-
crossAxis: -1
|
|
3357
|
-
},
|
|
3358
|
-
flip: false
|
|
3348
|
+
const combobox = react.useCombobox({
|
|
3349
|
+
collection,
|
|
3350
|
+
openOnClick,
|
|
3351
|
+
onInputValueChange: (event) => {
|
|
3352
|
+
if (!filteredExternally) {
|
|
3353
|
+
filter(event.inputValue);
|
|
3354
|
+
}
|
|
3355
|
+
onInputValueChange == null ? void 0 : onInputValueChange(event);
|
|
3356
|
+
},
|
|
3357
|
+
positioning: {
|
|
3358
|
+
placement: "bottom",
|
|
3359
|
+
offset: {
|
|
3360
|
+
mainAxis: 3,
|
|
3361
|
+
crossAxis: -1
|
|
3359
3362
|
},
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3363
|
+
flip: false
|
|
3364
|
+
},
|
|
3365
|
+
disabled,
|
|
3366
|
+
...rest
|
|
3367
|
+
});
|
|
3368
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(react.Combobox.RootProvider, { value: combobox, children: [
|
|
3369
|
+
/* @__PURE__ */ jsxRuntime.jsxs(react.Combobox.Control, { children: [
|
|
3370
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Input, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3371
|
+
Input,
|
|
3372
|
+
{
|
|
3373
|
+
label: /* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Label, { children: label }),
|
|
3374
|
+
variant,
|
|
3375
|
+
labelAsChild: true,
|
|
3376
|
+
startElement: leftIcon,
|
|
3377
|
+
invalid,
|
|
3378
|
+
helperText,
|
|
3379
|
+
errorText,
|
|
3380
|
+
required,
|
|
3381
|
+
onFocus: () => {
|
|
3382
|
+
if (openOnFocus)
|
|
3383
|
+
combobox.setOpen(true);
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
) }),
|
|
3387
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsxRuntime.jsx(react.Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts14.clearValue), children: /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { size: "xs" }) }) })
|
|
3388
|
+
] }),
|
|
3389
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Positioner, { children: /* @__PURE__ */ jsxRuntime.jsxs(react.Combobox.Content, { children: [
|
|
3390
|
+
/* @__PURE__ */ jsxRuntime.jsx(react.Combobox.Empty, { children: !loading && (emptyLabel ?? t(texts14.noItemsFound)) }),
|
|
3391
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(ColorSpinner, { width: "1.5rem", p: "2" }) : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: filteredChildren })
|
|
3392
|
+
] }) })
|
|
3393
|
+
] });
|
|
3385
3394
|
};
|
|
3386
3395
|
var AutocompleteItemGroup = react.Combobox.ItemGroup;
|
|
3387
3396
|
var AutocompleteItemGroupLabel = react.Combobox.ItemGroupLabel;
|
|
@@ -3451,6 +3460,12 @@ var texts14 = createTexts({
|
|
|
3451
3460
|
nn: "Ingen resultat",
|
|
3452
3461
|
sv: "Inga resultat",
|
|
3453
3462
|
en: "No results found"
|
|
3463
|
+
},
|
|
3464
|
+
clearValue: {
|
|
3465
|
+
nb: "T\xF8m verdi",
|
|
3466
|
+
nn: "T\xF8m verdi",
|
|
3467
|
+
sv: "Rensa v\xE4rde",
|
|
3468
|
+
en: "Clear value"
|
|
3454
3469
|
}
|
|
3455
3470
|
});
|
|
3456
3471
|
var CardSelect = ({ size = "md", ...props }) => {
|
|
@@ -4016,7 +4031,6 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4016
4031
|
{
|
|
4017
4032
|
css: styles.root,
|
|
4018
4033
|
width: "auto",
|
|
4019
|
-
id: idProperty,
|
|
4020
4034
|
ref,
|
|
4021
4035
|
label,
|
|
4022
4036
|
helperText,
|
|
@@ -4041,8 +4055,7 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4041
4055
|
focusOnAddButton();
|
|
4042
4056
|
}
|
|
4043
4057
|
},
|
|
4044
|
-
disabled: disabled || value <= minValue
|
|
4045
|
-
id: value <= minValue ? void 0 : idProperty
|
|
4058
|
+
disabled: disabled || value <= minValue
|
|
4046
4059
|
}
|
|
4047
4060
|
),
|
|
4048
4061
|
withInput ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -4053,7 +4066,7 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4053
4066
|
name: nameProperty,
|
|
4054
4067
|
value,
|
|
4055
4068
|
disabled,
|
|
4056
|
-
id:
|
|
4069
|
+
id: idProperty,
|
|
4057
4070
|
css: styles.input,
|
|
4058
4071
|
width: `${Math.max(value.toString().length + 1, 3)}ch`,
|
|
4059
4072
|
"aria-live": "assertive",
|
|
@@ -4091,8 +4104,7 @@ var NumericStepper = React20__namespace.default.forwardRef((props, ref) => {
|
|
|
4091
4104
|
)
|
|
4092
4105
|
),
|
|
4093
4106
|
onClick: () => onChange(Math.min(value + clampedStepSize, maxValue)),
|
|
4094
|
-
disabled: disabled || value >= maxValue
|
|
4095
|
-
id: value >= maxValue ? void 0 : idProperty
|
|
4107
|
+
disabled: disabled || value >= maxValue
|
|
4096
4108
|
}
|
|
4097
4109
|
)
|
|
4098
4110
|
]
|
|
@@ -5155,126 +5167,129 @@ var fillRecipe = {
|
|
|
5155
5167
|
};
|
|
5156
5168
|
var Path = react.chakra("path", fillRecipe);
|
|
5157
5169
|
var SVGGroup = react.chakra("g", fillRecipe);
|
|
5158
|
-
var VyLogo = React20.forwardRef(
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
/* @__PURE__ */ jsxRuntime.
|
|
5163
|
-
|
|
5164
|
-
{
|
|
5165
|
-
fillRule: "evenodd",
|
|
5166
|
-
clipRule: "evenodd",
|
|
5167
|
-
d: "M79.97 33.44a.04.04 0 0 0 0-.08 5.76 5.76 0 0 1-2.32-.85c-1.56-1-2.79-2.9-3.83-6.07L68.14 7.16c-1.18-4.04-3.42-5.85-5.48-6.6a8.36 8.36 0 0 0-2.88-.52h-1.44a.04.04 0 0 0 0 .08c.57.09 1.18.24 1.8.5 1.92.8 3.92 2.63 5.06 6.54l5.61 19.07c1.06 3.3 2.31 5.27 3.92 6.3 1.01.64 2.17.9 3.5.9h1.74Z",
|
|
5168
|
-
fill: "main"
|
|
5169
|
-
}
|
|
5170
|
-
),
|
|
5171
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5172
|
-
"mask",
|
|
5173
|
-
{
|
|
5174
|
-
id: `${id}-a`,
|
|
5175
|
-
style: { maskType: "alpha" },
|
|
5176
|
-
maskUnits: "userSpaceOnUse",
|
|
5177
|
-
x: "0",
|
|
5178
|
-
y: "0",
|
|
5179
|
-
width: "94",
|
|
5180
|
-
height: "54",
|
|
5181
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5182
|
-
Path,
|
|
5183
|
-
{
|
|
5184
|
-
fillRule: "evenodd",
|
|
5185
|
-
clipRule: "evenodd",
|
|
5186
|
-
d: "M0 .03h93.26v53.65H0V.03Z",
|
|
5187
|
-
fill: "main"
|
|
5188
|
-
}
|
|
5189
|
-
)
|
|
5190
|
-
}
|
|
5191
|
-
),
|
|
5192
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5193
|
-
SVGGroup,
|
|
5194
|
-
{
|
|
5195
|
-
mask: `url(#${id}-a)`,
|
|
5196
|
-
fillRule: "evenodd",
|
|
5197
|
-
clipRule: "evenodd",
|
|
5198
|
-
fill: "main",
|
|
5199
|
-
children: [
|
|
5200
|
-
/* @__PURE__ */ jsxRuntime.jsx(Path, { d: "M84.57 33.44a.04.04 0 0 0 .01-.08c-2.34-.3-3.85-3.59-4.68-6.38-.88-2.93-4.04-13.63-5.92-19.82C72.08.94 66.2.05 63.54.04a.04.04 0 0 0-.01.08c2.49.34 6.02 1.85 7.55 7.04 1.34 4.55 5.6 19.03 5.76 19.51 1.02 3.03 2.22 4.85 3.73 5.83a6.3 6.3 0 0 0 3.54.94h.46ZM23.28 53.68h-.72c-2.12 0-4.68-1.08-6.09-6.04L3.8 4.37C3.04 1.77 1.93.47.03.15A.04.04 0 0 1 .04.07h1.9c2.54 0 3.92 1.27 4.8 4.3 0 0 11.72 39.78 12.79 43.54.78 2.78 1.7 4.67 3.13 5.43.23.13.42.2.62.26a.04.04 0 0 1 0 .08ZM18.99 5.99C17.77 1.79 15.87.04 12.37.04h-1.71a.04.04 0 0 0 0 .08c2.73.39 4.32 2.19 5.39 5.87 0 0 10.49 35.72 11.85 40.4l1.44-4.87L18.99 6Z" }),
|
|
5201
|
-
/* @__PURE__ */ jsxRuntime.jsx(Path, { d: "M24.26 53.68h1.24c1.57 0 2.69-.41 3.52-1.1 1.37-1.1 1.99-2.93 2.56-4.86.09-.29 11.2-37.95 11.59-39.42 1.32-4.97 4.27-7.13 7.43-7.9a12.2 12.2 0 0 1 1.58-.28.04.04 0 0 0 0-.08h-1.4c-4.15 0-8.8 1.65-10.56 8.26-.63 2.38-11.5 39.13-11.58 39.42-.57 1.93-1.23 3.96-2.59 5.07-.56.45-1.06.7-1.8.81a.04.04 0 0 0 0 .08ZM81.3 27.76l6.53-21.78C88.89 2.3 90.49.5 93.23.11a.04.04 0 0 0-.01-.08H91.5c-3.5 0-5.4 1.76-6.62 5.95l-5.05 16.97s1.33 4.46 1.46 4.8Z" })
|
|
5202
|
-
]
|
|
5203
|
-
}
|
|
5204
|
-
),
|
|
5205
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5206
|
-
Path,
|
|
5207
|
-
{
|
|
5208
|
-
fillRule: "evenodd",
|
|
5209
|
-
clipRule: "evenodd",
|
|
5210
|
-
d: "M98.49.07h-1.82c-2.98 0-4.6 1.49-5.63 5.06l-6.52 21.79a18.22 18.22 0 0 1-1.67 3.96c.57.78 1.17 1.26 1.76 1.38 1.13-.96 2.06-2.75 2.89-5.46l6.49-21.67c.9-3.1 2.23-4.63 4.5-4.98a.04.04 0 0 0 0-.08Z",
|
|
5211
|
-
fill: "accent"
|
|
5212
|
-
}
|
|
5213
|
-
),
|
|
5214
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5215
|
-
Path,
|
|
5216
|
-
{
|
|
5217
|
-
fillRule: "evenodd",
|
|
5218
|
-
clipRule: "evenodd",
|
|
5219
|
-
d: "M85.25 34.53h-2.93L78.58 46.9c-1.82 6.1 1.05 6.73 2.15 6.73h2.31a.04.04 0 0 0 .01-.09c-1.25-.3-2.96-1.6-1.45-6.64l3.65-12.37ZM102.35.11c.02 0 .03-.02.03-.04a.04.04 0 0 0-.04-.04h-.4c-2.54 0-3.92 1.27-4.8 4.3 0 0-5 16.82-6.57 22.03-1.57 5.2-2.65 6.6-4.78 6.97l-.11.03a.04.04 0 0 0 0 .08h1.45c3.72 0 5.1-2.48 6.41-6.84l7.5-25.07c.19-.6.7-1.23 1.31-1.42Z",
|
|
5220
|
-
fill: "main"
|
|
5221
|
-
}
|
|
5222
|
-
),
|
|
5223
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5224
|
-
"mask",
|
|
5225
|
-
{
|
|
5226
|
-
id: `${id}-b`,
|
|
5227
|
-
style: { maskType: "alpha" },
|
|
5228
|
-
maskUnits: "userSpaceOnUse",
|
|
5229
|
-
x: "29",
|
|
5230
|
-
y: "0",
|
|
5231
|
-
width: "78",
|
|
5232
|
-
height: "54",
|
|
5233
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5234
|
-
Path,
|
|
5235
|
-
{
|
|
5236
|
-
fillRule: "evenodd",
|
|
5237
|
-
clipRule: "evenodd",
|
|
5238
|
-
d: "M29.55.04H106v53.64H29.55V.04Z",
|
|
5239
|
-
fill: "main"
|
|
5240
|
-
}
|
|
5241
|
-
)
|
|
5242
|
-
}
|
|
5243
|
-
),
|
|
5244
|
-
/* @__PURE__ */ jsxRuntime.jsxs(SVGGroup, { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd", children: [
|
|
5170
|
+
var VyLogo = React20.forwardRef(
|
|
5171
|
+
({ variant = "default", ...props }, ref) => {
|
|
5172
|
+
const id = React20.useId();
|
|
5173
|
+
const fillForAccent = variant === "mono" ? "main" : "accent";
|
|
5174
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(SvgBox, { ref, viewBox: "0 0 107 54", ...props, children: [
|
|
5175
|
+
/* @__PURE__ */ jsxRuntime.jsx("title", { children: "Vy logo" }),
|
|
5245
5176
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5246
5177
|
Path,
|
|
5247
5178
|
{
|
|
5248
|
-
|
|
5179
|
+
fillRule: "evenodd",
|
|
5180
|
+
clipRule: "evenodd",
|
|
5181
|
+
d: "M79.97 33.44a.04.04 0 0 0 0-.08 5.76 5.76 0 0 1-2.32-.85c-1.56-1-2.79-2.9-3.83-6.07L68.14 7.16c-1.18-4.04-3.42-5.85-5.48-6.6a8.36 8.36 0 0 0-2.88-.52h-1.44a.04.04 0 0 0 0 .08c.57.09 1.18.24 1.8.5 1.92.8 3.92 2.63 5.06 6.54l5.61 19.07c1.06 3.3 2.31 5.27 3.92 6.3 1.01.64 2.17.9 3.5.9h1.74Z",
|
|
5249
5182
|
fill: "main"
|
|
5250
5183
|
}
|
|
5251
5184
|
),
|
|
5185
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5186
|
+
"mask",
|
|
5187
|
+
{
|
|
5188
|
+
id: `${id}-a`,
|
|
5189
|
+
style: { maskType: "alpha" },
|
|
5190
|
+
maskUnits: "userSpaceOnUse",
|
|
5191
|
+
x: "0",
|
|
5192
|
+
y: "0",
|
|
5193
|
+
width: "94",
|
|
5194
|
+
height: "54",
|
|
5195
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5196
|
+
Path,
|
|
5197
|
+
{
|
|
5198
|
+
fillRule: "evenodd",
|
|
5199
|
+
clipRule: "evenodd",
|
|
5200
|
+
d: "M0 .03h93.26v53.65H0V.03Z",
|
|
5201
|
+
fill: "main"
|
|
5202
|
+
}
|
|
5203
|
+
)
|
|
5204
|
+
}
|
|
5205
|
+
),
|
|
5206
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5207
|
+
SVGGroup,
|
|
5208
|
+
{
|
|
5209
|
+
mask: `url(#${id}-a)`,
|
|
5210
|
+
fillRule: "evenodd",
|
|
5211
|
+
clipRule: "evenodd",
|
|
5212
|
+
fill: "main",
|
|
5213
|
+
children: [
|
|
5214
|
+
/* @__PURE__ */ jsxRuntime.jsx(Path, { d: "M84.57 33.44a.04.04 0 0 0 .01-.08c-2.34-.3-3.85-3.59-4.68-6.38-.88-2.93-4.04-13.63-5.92-19.82C72.08.94 66.2.05 63.54.04a.04.04 0 0 0-.01.08c2.49.34 6.02 1.85 7.55 7.04 1.34 4.55 5.6 19.03 5.76 19.51 1.02 3.03 2.22 4.85 3.73 5.83a6.3 6.3 0 0 0 3.54.94h.46ZM23.28 53.68h-.72c-2.12 0-4.68-1.08-6.09-6.04L3.8 4.37C3.04 1.77 1.93.47.03.15A.04.04 0 0 1 .04.07h1.9c2.54 0 3.92 1.27 4.8 4.3 0 0 11.72 39.78 12.79 43.54.78 2.78 1.7 4.67 3.13 5.43.23.13.42.2.62.26a.04.04 0 0 1 0 .08ZM18.99 5.99C17.77 1.79 15.87.04 12.37.04h-1.71a.04.04 0 0 0 0 .08c2.73.39 4.32 2.19 5.39 5.87 0 0 10.49 35.72 11.85 40.4l1.44-4.87L18.99 6Z" }),
|
|
5215
|
+
/* @__PURE__ */ jsxRuntime.jsx(Path, { d: "M24.26 53.68h1.24c1.57 0 2.69-.41 3.52-1.1 1.37-1.1 1.99-2.93 2.56-4.86.09-.29 11.2-37.95 11.59-39.42 1.32-4.97 4.27-7.13 7.43-7.9a12.2 12.2 0 0 1 1.58-.28.04.04 0 0 0 0-.08h-1.4c-4.15 0-8.8 1.65-10.56 8.26-.63 2.38-11.5 39.13-11.58 39.42-.57 1.93-1.23 3.96-2.59 5.07-.56.45-1.06.7-1.8.81a.04.04 0 0 0 0 .08ZM81.3 27.76l6.53-21.78C88.89 2.3 90.49.5 93.23.11a.04.04 0 0 0-.01-.08H91.5c-3.5 0-5.4 1.76-6.62 5.95l-5.05 16.97s1.33 4.46 1.46 4.8Z" })
|
|
5216
|
+
]
|
|
5217
|
+
}
|
|
5218
|
+
),
|
|
5219
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5220
|
+
Path,
|
|
5221
|
+
{
|
|
5222
|
+
fillRule: "evenodd",
|
|
5223
|
+
clipRule: "evenodd",
|
|
5224
|
+
d: "M98.49.07h-1.82c-2.98 0-4.6 1.49-5.63 5.06l-6.52 21.79a18.22 18.22 0 0 1-1.67 3.96c.57.78 1.17 1.26 1.76 1.38 1.13-.96 2.06-2.75 2.89-5.46l6.49-21.67c.9-3.1 2.23-4.63 4.5-4.98a.04.04 0 0 0 0-.08Z",
|
|
5225
|
+
fill: fillForAccent
|
|
5226
|
+
}
|
|
5227
|
+
),
|
|
5252
5228
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5253
5229
|
Path,
|
|
5254
5230
|
{
|
|
5255
|
-
|
|
5231
|
+
fillRule: "evenodd",
|
|
5232
|
+
clipRule: "evenodd",
|
|
5233
|
+
d: "M85.25 34.53h-2.93L78.58 46.9c-1.82 6.1 1.05 6.73 2.15 6.73h2.31a.04.04 0 0 0 .01-.09c-1.25-.3-2.96-1.6-1.45-6.64l3.65-12.37ZM102.35.11c.02 0 .03-.02.03-.04a.04.04 0 0 0-.04-.04h-.4c-2.54 0-3.92 1.27-4.8 4.3 0 0-5 16.82-6.57 22.03-1.57 5.2-2.65 6.6-4.78 6.97l-.11.03a.04.04 0 0 0 0 .08h1.45c3.72 0 5.1-2.48 6.41-6.84l7.5-25.07c.19-.6.7-1.23 1.31-1.42Z",
|
|
5256
5234
|
fill: "main"
|
|
5257
5235
|
}
|
|
5258
5236
|
),
|
|
5237
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5238
|
+
"mask",
|
|
5239
|
+
{
|
|
5240
|
+
id: `${id}-b`,
|
|
5241
|
+
style: { maskType: "alpha" },
|
|
5242
|
+
maskUnits: "userSpaceOnUse",
|
|
5243
|
+
x: "29",
|
|
5244
|
+
y: "0",
|
|
5245
|
+
width: "78",
|
|
5246
|
+
height: "54",
|
|
5247
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5248
|
+
Path,
|
|
5249
|
+
{
|
|
5250
|
+
fillRule: "evenodd",
|
|
5251
|
+
clipRule: "evenodd",
|
|
5252
|
+
d: "M29.55.04H106v53.64H29.55V.04Z",
|
|
5253
|
+
fill: "main"
|
|
5254
|
+
}
|
|
5255
|
+
)
|
|
5256
|
+
}
|
|
5257
|
+
),
|
|
5258
|
+
/* @__PURE__ */ jsxRuntime.jsxs(SVGGroup, { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd", children: [
|
|
5259
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5260
|
+
Path,
|
|
5261
|
+
{
|
|
5262
|
+
d: "m88.2 34.45-3.96 13.46c-1.54 5.18.9 5.72 1.83 5.72h2.26a.04.04 0 0 0 0-.09c-1.05-.27-2.44-1.4-1.18-5.63l4.43-15.02c-.7.71-1.88 1.37-3.38 1.56ZM93.71 53.63c.02 0 .04-.02.04-.05a.04.04 0 0 0-.03-.04c-.9-.25-2.02-1.24-.96-4.77 0 0 12.4-42.2 13.08-44.6a3.1 3.1 0 0 0-2.47-4.1c-.02 0-.06-.02-.07.01-.01.04.03.06.04.06.3.16.63.52.45 1.14L89.84 48.77c-1.32 4.4.76 4.86 1.55 4.86h2.32ZM74.1 33.44a.04.04 0 0 0 0-.08 5.77 5.77 0 0 1-2.3-.83c-1.64-1.04-2.9-3.06-3.98-6.5-.1-.29-5.37-18.25-5.55-18.87-1.12-3.8-2.91-5.63-4.68-6.46a7.06 7.06 0 0 0-3.04-.66H53a.04.04 0 0 0-.02.08c.3.05 4.32.17 6.35 7.04 2.03 6.86 4.46 15.07 5.28 17.97 1.77 6.26 4.07 8.3 7.75 8.3h1.73Z",
|
|
5263
|
+
fill: "main"
|
|
5264
|
+
}
|
|
5265
|
+
),
|
|
5266
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5267
|
+
Path,
|
|
5268
|
+
{
|
|
5269
|
+
d: "M55.43 2.4c-1.48 1.27-2.7 3.16-3.44 5.9-.07.29-11.08 37.74-11.32 38.55-.93 3.12-1.7 6.21-5.2 6.75a.04.04 0 0 0 0 .08h.7l.6-.01c3.56-.14 5.33-1.66 6.85-6.82L54.94 8.3c.44-1.44.96-3.08 1.7-4.52-.15-.25-.7-.96-1.2-1.38Z",
|
|
5270
|
+
fill: "main"
|
|
5271
|
+
}
|
|
5272
|
+
),
|
|
5273
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5274
|
+
Path,
|
|
5275
|
+
{
|
|
5276
|
+
d: "M53.78 1.44a4.64 4.64 0 0 0-4.17.93A10.79 10.79 0 0 0 46.19 8L34.53 47.72c-.58 1.93-1.2 3.75-2.56 4.87-.62.5-1.4.86-2.39 1.01a.04.04 0 0 0 0 .08h1.8c1.57 0 2.69-.41 3.53-1.1 1.36-1.1 1.98-2.93 2.56-4.86L49.05 8.3c.73-2.74 1.95-4.63 3.43-5.9.43-.36.88-.68 1.35-.95l-.05-.01Z",
|
|
5277
|
+
fill: fillForAccent
|
|
5278
|
+
}
|
|
5279
|
+
)
|
|
5280
|
+
] }),
|
|
5259
5281
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5260
5282
|
Path,
|
|
5261
5283
|
{
|
|
5262
|
-
|
|
5263
|
-
|
|
5284
|
+
fillRule: "evenodd",
|
|
5285
|
+
clipRule: "evenodd",
|
|
5286
|
+
d: "M26.55 50.33a9.09 9.09 0 0 1-1.24-2.7c-.44-1.54-12.46-42.5-12.46-42.5C11.82 1.56 10.2.07 7.22.07H5.4a.04.04 0 0 0 0 .08C7.67.5 9 2.04 9.9 5.13l12.46 42.5c.65 2.28 1.53 3.74 2.5 4.65.7-.4 1.29-1.05 1.69-1.95Z",
|
|
5287
|
+
fill: "main"
|
|
5264
5288
|
}
|
|
5265
5289
|
)
|
|
5266
|
-
] })
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
{
|
|
5270
|
-
fillRule: "evenodd",
|
|
5271
|
-
clipRule: "evenodd",
|
|
5272
|
-
d: "M26.55 50.33a9.09 9.09 0 0 1-1.24-2.7c-.44-1.54-12.46-42.5-12.46-42.5C11.82 1.56 10.2.07 7.22.07H5.4a.04.04 0 0 0 0 .08C7.67.5 9 2.04 9.9 5.13l12.46 42.5c.65 2.28 1.53 3.74 2.5 4.65.7-.4 1.29-1.05 1.69-1.95Z",
|
|
5273
|
-
fill: "main"
|
|
5274
|
-
}
|
|
5275
|
-
)
|
|
5276
|
-
] });
|
|
5277
|
-
});
|
|
5290
|
+
] });
|
|
5291
|
+
}
|
|
5292
|
+
);
|
|
5278
5293
|
VyLogo.displayName = "VyLogo";
|
|
5279
5294
|
var VyLogoPride = React20.forwardRef(
|
|
5280
5295
|
(props, ref) => {
|
|
@@ -6297,10 +6312,10 @@ var attachedInputsRecipe = react.defineRecipe({
|
|
|
6297
6312
|
},
|
|
6298
6313
|
"& > *": {
|
|
6299
6314
|
position: "relative",
|
|
6300
|
-
zIndex:
|
|
6315
|
+
zIndex: 100
|
|
6301
6316
|
},
|
|
6302
6317
|
"& > *:focus-within": {
|
|
6303
|
-
zIndex:
|
|
6318
|
+
zIndex: 101
|
|
6304
6319
|
}
|
|
6305
6320
|
},
|
|
6306
6321
|
variants: {
|
|
@@ -7692,8 +7707,7 @@ var comboboxSlotRecipe = react.defineSlotRecipe({
|
|
|
7692
7707
|
},
|
|
7693
7708
|
label: {
|
|
7694
7709
|
fontWeight: "medium",
|
|
7695
|
-
userSelect: "none"
|
|
7696
|
-
textStyle: "sm"
|
|
7710
|
+
userSelect: "none"
|
|
7697
7711
|
},
|
|
7698
7712
|
input: {
|
|
7699
7713
|
transition: "border-radius",
|
|
@@ -11613,8 +11627,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11613
11627
|
value: {
|
|
11614
11628
|
fontSize: [
|
|
11615
11629
|
tokens23__namespace.default.font.style.xxl["font-size"].mobile,
|
|
11616
|
-
null,
|
|
11617
|
-
null,
|
|
11618
11630
|
tokens23__namespace.default.font.style.xxl["font-size"].desktop
|
|
11619
11631
|
],
|
|
11620
11632
|
fontFamily: tokens23__namespace.default.font.style.xxl["font-family"],
|
|
@@ -11625,8 +11637,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11625
11637
|
value: {
|
|
11626
11638
|
fontSize: [
|
|
11627
11639
|
tokens23__namespace.default.font.style["xl-display"]["font-size"].mobile,
|
|
11628
|
-
null,
|
|
11629
|
-
null,
|
|
11630
11640
|
tokens23__namespace.default.font.style["xl-display"]["font-size"].desktop
|
|
11631
11641
|
],
|
|
11632
11642
|
fontFamily: tokens23__namespace.default.font.style["xl-display"]["font-family"],
|
|
@@ -11637,8 +11647,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11637
11647
|
value: {
|
|
11638
11648
|
fontSize: [
|
|
11639
11649
|
tokens23__namespace.default.font.style["xl-sans"]["font-size"].mobile,
|
|
11640
|
-
null,
|
|
11641
|
-
null,
|
|
11642
11650
|
tokens23__namespace.default.font.style["xl-sans"]["font-size"].desktop
|
|
11643
11651
|
],
|
|
11644
11652
|
fontFamily: tokens23__namespace.default.font.style["xl-sans"]["font-family"],
|
|
@@ -11649,8 +11657,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11649
11657
|
value: {
|
|
11650
11658
|
fontSize: [
|
|
11651
11659
|
tokens23__namespace.default.font.style.lg["font-size"].mobile,
|
|
11652
|
-
null,
|
|
11653
|
-
null,
|
|
11654
11660
|
tokens23__namespace.default.font.style.lg["font-size"].desktop
|
|
11655
11661
|
],
|
|
11656
11662
|
fontFamily: tokens23__namespace.default.font.style.lg["font-family"],
|
|
@@ -11661,8 +11667,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11661
11667
|
value: {
|
|
11662
11668
|
fontSize: [
|
|
11663
11669
|
tokens23__namespace.default.font.style["md-lg"]["font-size"].mobile,
|
|
11664
|
-
null,
|
|
11665
|
-
null,
|
|
11666
11670
|
tokens23__namespace.default.font.style["md-lg"]["font-size"].desktop
|
|
11667
11671
|
],
|
|
11668
11672
|
fontFamily: tokens23__namespace.default.font.style["md-lg"]["font-family"],
|
|
@@ -11673,8 +11677,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11673
11677
|
value: {
|
|
11674
11678
|
fontSize: [
|
|
11675
11679
|
tokens23__namespace.default.font.style.md["font-size"].mobile,
|
|
11676
|
-
null,
|
|
11677
|
-
null,
|
|
11678
11680
|
tokens23__namespace.default.font.style.md["font-size"].desktop
|
|
11679
11681
|
],
|
|
11680
11682
|
fontFamily: tokens23__namespace.default.font.style.md["font-family"],
|
|
@@ -11685,8 +11687,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11685
11687
|
value: {
|
|
11686
11688
|
fontSize: [
|
|
11687
11689
|
tokens23__namespace.default.font.style.sm["font-size"].mobile,
|
|
11688
|
-
null,
|
|
11689
|
-
null,
|
|
11690
11690
|
tokens23__namespace.default.font.style.sm["font-size"].desktop
|
|
11691
11691
|
],
|
|
11692
11692
|
fontFamily: tokens23__namespace.default.font.style.sm["font-family"],
|
|
@@ -11697,8 +11697,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11697
11697
|
value: {
|
|
11698
11698
|
fontSize: [
|
|
11699
11699
|
tokens23__namespace.default.font.style.xs["font-size"].mobile,
|
|
11700
|
-
null,
|
|
11701
|
-
null,
|
|
11702
11700
|
tokens23__namespace.default.font.style.xs["font-size"].desktop
|
|
11703
11701
|
],
|
|
11704
11702
|
fontFamily: tokens23__namespace.default.font.style.xs["font-family"],
|
|
@@ -11709,8 +11707,6 @@ var textStyles = react.defineTextStyles({
|
|
|
11709
11707
|
value: {
|
|
11710
11708
|
fontSize: [
|
|
11711
11709
|
tokens23__namespace.default.font.style["2xs"]["font-size"].mobile,
|
|
11712
|
-
null,
|
|
11713
|
-
null,
|
|
11714
11710
|
tokens23__namespace.default.font.style["2xs"]["font-size"].desktop
|
|
11715
11711
|
],
|
|
11716
11712
|
fontFamily: tokens23__namespace.default.font.style["2xs"]["font-family"],
|