@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/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, RadioCard as RadioCard$1, Separator as Separator$1, ClientOnly, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, useDialogContext, Drawer as Drawer$1, InputElement, Input as Input$1, Combobox, useComboboxContext, usePopoverContext, Checkbox as Checkbox$1, CheckboxCard, Fieldset as Fieldset$1, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, Link, List as List$1, Center, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, createToaster, Tabs as Tabs$1, Table as Table$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, VisuallyHidden, defineConfig, useFilter, useListCollection, CheckboxGroup as CheckboxGroup$1, ListItem, ChakraProvider, Toaster as Toaster$1, Toast } from '@chakra-ui/react';
|
|
1
|
+
import { useSlotRecipe, Accordion as Accordion$1, Stack, Box, HStack, Progress, defineRecipe, chakra, Text, useRecipe, Circle, Skeleton as Skeleton$1, Button as Button$1, Group, Badge as Badge$1, Code as Code$1, Clipboard as Clipboard$1, IconButton as IconButton$1, useDisclosure, Alert as Alert$1, Span, Flex, Breadcrumb as Breadcrumb$1, RadioCard as RadioCard$1, Separator as Separator$1, ClientOnly, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, useDialogContext, Drawer as Drawer$1, InputElement, Input as Input$1, Combobox, useComboboxContext, usePopoverContext, Checkbox as Checkbox$1, CheckboxCard, Fieldset as Fieldset$1, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, Link, List as List$1, Center, PopoverCloseTrigger, Pagination as Pagination$1, usePaginationContext, createToaster, Tabs as Tabs$1, Table as Table$1, defineSemanticTokens, defineSlotRecipe, defineTokens, defineAnimationStyles, defineGlobalStyles, defineTextStyles, createSystem, defaultBaseConfig, Tooltip as Tooltip$1, VisuallyHidden as VisuallyHidden$1, defineConfig, useFilter, useListCollection, useCombobox, CheckboxGroup as CheckboxGroup$1, ListItem, ChakraProvider, Toaster as Toaster$1, Toast } from '@chakra-ui/react';
|
|
2
2
|
export { AspectRatio, Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, ClientOnly, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Icon, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableBody, TableCaption, TableCell, TableColumn, TableColumnGroup, TableColumnHeader, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, Wrap, createIcon, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useRecipe, useSlotRecipe, useToken } from '@chakra-ui/react';
|
|
3
3
|
import * as spor_icon_react_star from '@vygruppen/spor-icon-react';
|
|
4
4
|
import { DropdownDownFill24Icon, CopyOutline18Icon, CheckmarkFill18Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, InformationFill24Icon, ServiceFill24Icon, QuestionFill24Icon, ErrorOutline24Icon, ErrorFill24Icon, AltTransportFill24Icon, WarningFill24Icon, SuccessFill24Icon, DropdownDownFill18Icon, DropdownRightFill18Icon, CalendarOutline24Icon, ArrowLeftFill24Icon, ChangeDirectionOutline24Icon, CloseOutline24Icon, SearchOutline24Icon, Forward15MediaControllerFill30Icon, Backward15MediaControllerFill30Icon, PauseMediaControllerFill24Icon, PlayMediaControllerFill24Icon, NextMediaControllerFill30Icon, PreviousMediaControllerFill30Icon, ArrowRightFill18Icon, DropdownLeftOutline18Icon, DropdownRightOutline18Icon, WalkFill30Icon, WalkFill24Icon, WalkFill18Icon, AltTransportFill30Icon, AltTransportFill18Icon, TramFill30Icon, TramFill24Icon, TramFill18Icon, SubwayFill30Icon, SubwayFill24Icon, SubwayFill18Icon, FerryFill30Icon, FerryFill24Icon, FerryFill18Icon, BusFill30Icon, BusFill24Icon, BusFill18Icon, ExpressBusFill30Icon, ExpressBusFill24Icon, ExpressBusFill18Icon, TrainFill30Icon, TrainFill24Icon, TrainFill18Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, LinkOutOutline24Icon, LinkOutOutline18Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon, DropdownLeftFill18Icon } from '@vygruppen/spor-icon-react';
|
|
@@ -9,7 +9,7 @@ import { spinnerColorData, inlineLoaderColorData, contentLoaderData, fullScreenL
|
|
|
9
9
|
import ReactLottie from 'lottie-react';
|
|
10
10
|
import { useInterval } from 'usehooks-ts';
|
|
11
11
|
export { useIsClient, useMap, useOnClickOutside } from 'usehooks-ts';
|
|
12
|
-
import { useProgressBar, useDateSegment, useDateField, useDatePicker, I18nProvider, usePopover, DismissButton, Overlay, useCalendar as useCalendar$1, useCalendarGrid, useCalendarCell, useButton, useRangeCalendar, useFocusRing, mergeProps, useDateFormatter,
|
|
12
|
+
import { useProgressBar, VisuallyHidden, useDateSegment, useDateField, useDatePicker, I18nProvider, usePopover, DismissButton, Overlay, useCalendar as useCalendar$1, useCalendarGrid, useCalendarCell, useButton, useRangeCalendar, useFocusRing, mergeProps, useDateFormatter, useId as useId$1, useDateRangePicker, useFilter as useFilter$1, useComboBox, useListBox, useOption, useListBoxSection, useTimeField } from 'react-aria';
|
|
13
13
|
import { GregorianCalendar, createCalendar, getLocalTimeZone, endOfMonth, getWeeksInMonth, isSameMonth, isToday, toCalendarDate, isSameDay, parseTime } from '@internationalized/date';
|
|
14
14
|
export { Time } from '@internationalized/date';
|
|
15
15
|
import { useDateFieldState, useDatePickerState, useCalendarState, useRangeCalendarState, useDateRangePickerState, useTimeFieldState, useComboBoxState } from 'react-stately';
|
|
@@ -194,7 +194,7 @@ var ColorInlineLoader = ({
|
|
|
194
194
|
}) => {
|
|
195
195
|
return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
|
|
196
196
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderColorData }) }) }),
|
|
197
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
|
|
197
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." })
|
|
198
198
|
] });
|
|
199
199
|
};
|
|
200
200
|
var ColorSpinner = ({
|
|
@@ -205,14 +205,14 @@ var ColorSpinner = ({
|
|
|
205
205
|
}) => {
|
|
206
206
|
return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
|
|
207
207
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerColorData }) }) }),
|
|
208
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
|
|
208
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." }),
|
|
209
209
|
children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
|
|
210
210
|
] });
|
|
211
211
|
};
|
|
212
212
|
var ContentLoader = ({ children, ...props }) => {
|
|
213
213
|
return /* @__PURE__ */ jsxs(Box, { role: "status", "aria-live": "polite", ...props, children: [
|
|
214
214
|
/* @__PURE__ */ jsx(Box, { maxWidth: "140px", marginX: "auto", children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: contentLoaderData }) }) }),
|
|
215
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
|
|
215
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." }),
|
|
216
216
|
children && /* @__PURE__ */ jsx(Box, { textAlign: "center", fontWeight: "bold", children })
|
|
217
217
|
] });
|
|
218
218
|
};
|
|
@@ -232,7 +232,7 @@ var DarkFullScreenLoader = ({
|
|
|
232
232
|
...props,
|
|
233
233
|
children: [
|
|
234
234
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderWhiteData }) }) }),
|
|
235
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
|
|
235
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." })
|
|
236
236
|
]
|
|
237
237
|
}
|
|
238
238
|
);
|
|
@@ -244,7 +244,7 @@ var DarkInlineLoader = ({
|
|
|
244
244
|
}) => {
|
|
245
245
|
return /* @__PURE__ */ jsxs(Center, { role: "status", "aria-live": "polite", ...props, children: [
|
|
246
246
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderDarkData }) }) }),
|
|
247
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
|
|
247
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." })
|
|
248
248
|
] });
|
|
249
249
|
};
|
|
250
250
|
var DarkSpinner = ({
|
|
@@ -257,7 +257,7 @@ var DarkSpinner = ({
|
|
|
257
257
|
const spinnerData = colorMode === "dark" ? spinnerLightData : spinnerDarkData;
|
|
258
258
|
return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
|
|
259
259
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerData }) }) }),
|
|
260
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
|
|
260
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." }),
|
|
261
261
|
children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
|
|
262
262
|
] });
|
|
263
263
|
};
|
|
@@ -268,7 +268,7 @@ var LightFullScreenLoader = ({
|
|
|
268
268
|
}) => {
|
|
269
269
|
return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
|
|
270
270
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: fullScreenLoaderBlackData }) }) }),
|
|
271
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
|
|
271
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." })
|
|
272
272
|
] });
|
|
273
273
|
};
|
|
274
274
|
var LightInlineLoader = ({
|
|
@@ -278,7 +278,7 @@ var LightInlineLoader = ({
|
|
|
278
278
|
}) => {
|
|
279
279
|
return /* @__PURE__ */ jsxs(Center, { height: "100%", role: "status", "aria-live": "polite", ...props, children: [
|
|
280
280
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: inlineLoaderLightData }) }) }),
|
|
281
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." })
|
|
281
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." })
|
|
282
282
|
] });
|
|
283
283
|
};
|
|
284
284
|
var LightSpinner = ({
|
|
@@ -289,7 +289,7 @@ var LightSpinner = ({
|
|
|
289
289
|
}) => {
|
|
290
290
|
return /* @__PURE__ */ jsxs(Center, { flexDirection: "column", role: "status", "aria-live": "polite", ...props, children: [
|
|
291
291
|
/* @__PURE__ */ jsx(Box, { width, maxWidth, children: /* @__PURE__ */ jsx(ClientOnly, { children: /* @__PURE__ */ jsx(Lottie, { animationData: spinnerLightData }) }) }),
|
|
292
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: "Loading..." }),
|
|
292
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: "Loading..." }),
|
|
293
293
|
children && /* @__PURE__ */ jsx(Box, { marginTop: 3, fontWeight: "bold", children })
|
|
294
294
|
] });
|
|
295
295
|
};
|
|
@@ -1023,7 +1023,10 @@ var useScrollDirection = () => {
|
|
|
1023
1023
|
var AlertIcon = forwardRef(
|
|
1024
1024
|
({ variant, customIcon: CustomAlertIcon }, ref) => {
|
|
1025
1025
|
const { t } = useTranslation();
|
|
1026
|
-
return /* @__PURE__ */
|
|
1026
|
+
return /* @__PURE__ */ jsxs(Box, { ref, children: [
|
|
1027
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: t(texts5[variant]) }),
|
|
1028
|
+
CustomAlertIcon ? /* @__PURE__ */ jsx(CustomAlertIcon, { color: `alert.${variant}.icon` }) : /* @__PURE__ */ jsx(BaseAlertIcon, { variant })
|
|
1029
|
+
] });
|
|
1027
1030
|
}
|
|
1028
1031
|
);
|
|
1029
1032
|
AlertIcon.displayName = "AlertIcon";
|
|
@@ -1694,7 +1697,7 @@ function CalendarHeader({ dualView }) {
|
|
|
1694
1697
|
state.focusNextPage();
|
|
1695
1698
|
}
|
|
1696
1699
|
return /* @__PURE__ */ jsxs(Flex, { flex: 1, alignItems: "center", paddingBottom: 4, children: [
|
|
1697
|
-
/* @__PURE__ */ jsx(VisuallyHidden
|
|
1700
|
+
/* @__PURE__ */ jsx(VisuallyHidden, { children: /* @__PURE__ */ jsx("h2", { children: calendarProps["aria-label"] }) }),
|
|
1698
1701
|
/* @__PURE__ */ jsx(
|
|
1699
1702
|
IconButton,
|
|
1700
1703
|
{
|
|
@@ -1899,12 +1902,12 @@ var floatingLabelStyles = defineStyle({
|
|
|
1899
1902
|
opacity: 0.4
|
|
1900
1903
|
},
|
|
1901
1904
|
pos: "absolute",
|
|
1902
|
-
transition: "
|
|
1905
|
+
transition: "top 160ms ease, font-size 160ms ease",
|
|
1903
1906
|
top: "0.9rem",
|
|
1904
1907
|
color: "text",
|
|
1905
1908
|
fontSize: ["mobile.sm", "desktop.sm"],
|
|
1906
1909
|
"&[data-float]": {
|
|
1907
|
-
fontSize: ["mobile.
|
|
1910
|
+
fontSize: ["mobile.2xs", "desktop.2xs"],
|
|
1908
1911
|
color: "text",
|
|
1909
1912
|
top: "0.3rem"
|
|
1910
1913
|
}
|
|
@@ -1978,7 +1981,7 @@ var Field3 = React20.forwardRef(
|
|
|
1978
1981
|
children: renderLabelWithIndicator(label, labelAsChild)
|
|
1979
1982
|
}
|
|
1980
1983
|
),
|
|
1981
|
-
errorText && /* @__PURE__ */ jsx(Field.ErrorText, { children: errorText })
|
|
1984
|
+
errorText && /* @__PURE__ */ jsx(Field.ErrorText, { "aria-live": "polite", children: errorText })
|
|
1982
1985
|
]
|
|
1983
1986
|
}
|
|
1984
1987
|
),
|
|
@@ -3103,7 +3106,7 @@ var SwitchButton = chakra(
|
|
|
3103
3106
|
defineRecipe({
|
|
3104
3107
|
base: {
|
|
3105
3108
|
position: "absolute !important",
|
|
3106
|
-
zIndex: "
|
|
3109
|
+
zIndex: "101 !important",
|
|
3107
3110
|
// eslint-disable-next-line spor/use-semantic-tokens
|
|
3108
3111
|
bg: "bg !important",
|
|
3109
3112
|
outlineWidth: "1px !important",
|
|
@@ -3119,7 +3122,7 @@ var SwitchButton = chakra(
|
|
|
3119
3122
|
},
|
|
3120
3123
|
vertical: {
|
|
3121
3124
|
top: "calc(50% - 15px)",
|
|
3122
|
-
right: "
|
|
3125
|
+
right: "3rem",
|
|
3123
3126
|
transform: "rotate(90deg)"
|
|
3124
3127
|
}
|
|
3125
3128
|
}
|
|
@@ -3234,7 +3237,7 @@ var Input = forwardRef(
|
|
|
3234
3237
|
errorText,
|
|
3235
3238
|
id: props.id,
|
|
3236
3239
|
labelAsChild,
|
|
3237
|
-
label: /* @__PURE__ */ jsxs(Flex, {
|
|
3240
|
+
label: /* @__PURE__ */ jsxs(Flex, { children: [
|
|
3238
3241
|
/* @__PURE__ */ jsx(Box, { visibility: "hidden", children: startElement }),
|
|
3239
3242
|
label
|
|
3240
3243
|
] }),
|
|
@@ -3246,6 +3249,7 @@ var Input = forwardRef(
|
|
|
3246
3249
|
{
|
|
3247
3250
|
pointerEvents: "none",
|
|
3248
3251
|
paddingX: 2,
|
|
3252
|
+
"aria-hidden": "true",
|
|
3249
3253
|
fontSize: fontSize ?? "mobile.md",
|
|
3250
3254
|
children: startElement
|
|
3251
3255
|
}
|
|
@@ -3298,6 +3302,9 @@ var Autocomplete = ({
|
|
|
3298
3302
|
filteredExternally,
|
|
3299
3303
|
loading,
|
|
3300
3304
|
disabled,
|
|
3305
|
+
emptyLabel,
|
|
3306
|
+
openOnClick = true,
|
|
3307
|
+
openOnFocus = true,
|
|
3301
3308
|
...rest
|
|
3302
3309
|
}) => {
|
|
3303
3310
|
const { contains } = useFilter({ sensitivity: "base" });
|
|
@@ -3318,50 +3325,52 @@ var Autocomplete = ({
|
|
|
3318
3325
|
() => filterChildren(children, collection.items),
|
|
3319
3326
|
[children, collection.items]
|
|
3320
3327
|
);
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
mainAxis: 3,
|
|
3336
|
-
crossAxis: -1
|
|
3337
|
-
},
|
|
3338
|
-
flip: false
|
|
3328
|
+
const combobox = useCombobox({
|
|
3329
|
+
collection,
|
|
3330
|
+
openOnClick,
|
|
3331
|
+
onInputValueChange: (event) => {
|
|
3332
|
+
if (!filteredExternally) {
|
|
3333
|
+
filter(event.inputValue);
|
|
3334
|
+
}
|
|
3335
|
+
onInputValueChange == null ? void 0 : onInputValueChange(event);
|
|
3336
|
+
},
|
|
3337
|
+
positioning: {
|
|
3338
|
+
placement: "bottom",
|
|
3339
|
+
offset: {
|
|
3340
|
+
mainAxis: 3,
|
|
3341
|
+
crossAxis: -1
|
|
3339
3342
|
},
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3343
|
+
flip: false
|
|
3344
|
+
},
|
|
3345
|
+
disabled,
|
|
3346
|
+
...rest
|
|
3347
|
+
});
|
|
3348
|
+
return /* @__PURE__ */ jsxs(Combobox.RootProvider, { value: combobox, children: [
|
|
3349
|
+
/* @__PURE__ */ jsxs(Combobox.Control, { children: [
|
|
3350
|
+
/* @__PURE__ */ jsx(Combobox.Input, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
3351
|
+
Input,
|
|
3352
|
+
{
|
|
3353
|
+
label: /* @__PURE__ */ jsx(Combobox.Label, { children: label }),
|
|
3354
|
+
variant,
|
|
3355
|
+
labelAsChild: true,
|
|
3356
|
+
startElement: leftIcon,
|
|
3357
|
+
invalid,
|
|
3358
|
+
helperText,
|
|
3359
|
+
errorText,
|
|
3360
|
+
required,
|
|
3361
|
+
onFocus: () => {
|
|
3362
|
+
if (openOnFocus)
|
|
3363
|
+
combobox.setOpen(true);
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
) }),
|
|
3367
|
+
/* @__PURE__ */ jsx(Combobox.IndicatorGroup, { children: /* @__PURE__ */ jsx(Combobox.ClearTrigger, { asChild: true, "aria-label": t(texts14.clearValue), children: /* @__PURE__ */ jsx(CloseButton, { size: "xs" }) }) })
|
|
3368
|
+
] }),
|
|
3369
|
+
/* @__PURE__ */ jsx(Combobox.Positioner, { children: /* @__PURE__ */ jsxs(Combobox.Content, { children: [
|
|
3370
|
+
/* @__PURE__ */ jsx(Combobox.Empty, { children: !loading && (emptyLabel ?? t(texts14.noItemsFound)) }),
|
|
3371
|
+
loading ? /* @__PURE__ */ jsx(ColorSpinner, { width: "1.5rem", p: "2" }) : /* @__PURE__ */ jsx(Fragment, { children: filteredChildren })
|
|
3372
|
+
] }) })
|
|
3373
|
+
] });
|
|
3365
3374
|
};
|
|
3366
3375
|
var AutocompleteItemGroup = Combobox.ItemGroup;
|
|
3367
3376
|
var AutocompleteItemGroupLabel = Combobox.ItemGroupLabel;
|
|
@@ -3431,6 +3440,12 @@ var texts14 = createTexts({
|
|
|
3431
3440
|
nn: "Ingen resultat",
|
|
3432
3441
|
sv: "Inga resultat",
|
|
3433
3442
|
en: "No results found"
|
|
3443
|
+
},
|
|
3444
|
+
clearValue: {
|
|
3445
|
+
nb: "T\xF8m verdi",
|
|
3446
|
+
nn: "T\xF8m verdi",
|
|
3447
|
+
sv: "Rensa v\xE4rde",
|
|
3448
|
+
en: "Clear value"
|
|
3434
3449
|
}
|
|
3435
3450
|
});
|
|
3436
3451
|
var CardSelect = ({ size = "md", ...props }) => {
|
|
@@ -3996,7 +4011,6 @@ var NumericStepper = React20__default.forwardRef((props, ref) => {
|
|
|
3996
4011
|
{
|
|
3997
4012
|
css: styles.root,
|
|
3998
4013
|
width: "auto",
|
|
3999
|
-
id: idProperty,
|
|
4000
4014
|
ref,
|
|
4001
4015
|
label,
|
|
4002
4016
|
helperText,
|
|
@@ -4021,8 +4035,7 @@ var NumericStepper = React20__default.forwardRef((props, ref) => {
|
|
|
4021
4035
|
focusOnAddButton();
|
|
4022
4036
|
}
|
|
4023
4037
|
},
|
|
4024
|
-
disabled: disabled || value <= minValue
|
|
4025
|
-
id: value <= minValue ? void 0 : idProperty
|
|
4038
|
+
disabled: disabled || value <= minValue
|
|
4026
4039
|
}
|
|
4027
4040
|
),
|
|
4028
4041
|
withInput ? /* @__PURE__ */ jsx(
|
|
@@ -4033,7 +4046,7 @@ var NumericStepper = React20__default.forwardRef((props, ref) => {
|
|
|
4033
4046
|
name: nameProperty,
|
|
4034
4047
|
value,
|
|
4035
4048
|
disabled,
|
|
4036
|
-
id:
|
|
4049
|
+
id: idProperty,
|
|
4037
4050
|
css: styles.input,
|
|
4038
4051
|
width: `${Math.max(value.toString().length + 1, 3)}ch`,
|
|
4039
4052
|
"aria-live": "assertive",
|
|
@@ -4071,8 +4084,7 @@ var NumericStepper = React20__default.forwardRef((props, ref) => {
|
|
|
4071
4084
|
)
|
|
4072
4085
|
),
|
|
4073
4086
|
onClick: () => onChange(Math.min(value + clampedStepSize, maxValue)),
|
|
4074
|
-
disabled: disabled || value >= maxValue
|
|
4075
|
-
id: value >= maxValue ? void 0 : idProperty
|
|
4087
|
+
disabled: disabled || value >= maxValue
|
|
4076
4088
|
}
|
|
4077
4089
|
)
|
|
4078
4090
|
]
|
|
@@ -4918,7 +4930,7 @@ var ExternalIcon = ({
|
|
|
4918
4930
|
size
|
|
4919
4931
|
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4920
4932
|
size === "lg" || size === "md" ? /* @__PURE__ */ jsx(LinkOutOutline24Icon, { "aria-hidden": true, display: "inline" }) : /* @__PURE__ */ jsx(LinkOutOutline18Icon, { "aria-hidden": true, display: "inline" }),
|
|
4921
|
-
/* @__PURE__ */ jsx(VisuallyHidden, { children: label })
|
|
4933
|
+
/* @__PURE__ */ jsx(VisuallyHidden$1, { children: label })
|
|
4922
4934
|
] });
|
|
4923
4935
|
var TextLink = forwardRef(
|
|
4924
4936
|
({ children, external, href, ...props }, ref) => {
|
|
@@ -5135,126 +5147,129 @@ var fillRecipe = {
|
|
|
5135
5147
|
};
|
|
5136
5148
|
var Path = chakra("path", fillRecipe);
|
|
5137
5149
|
var SVGGroup = chakra("g", fillRecipe);
|
|
5138
|
-
var VyLogo = forwardRef(
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
/* @__PURE__ */
|
|
5143
|
-
|
|
5144
|
-
{
|
|
5145
|
-
fillRule: "evenodd",
|
|
5146
|
-
clipRule: "evenodd",
|
|
5147
|
-
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",
|
|
5148
|
-
fill: "main"
|
|
5149
|
-
}
|
|
5150
|
-
),
|
|
5151
|
-
/* @__PURE__ */ jsx(
|
|
5152
|
-
"mask",
|
|
5153
|
-
{
|
|
5154
|
-
id: `${id}-a`,
|
|
5155
|
-
style: { maskType: "alpha" },
|
|
5156
|
-
maskUnits: "userSpaceOnUse",
|
|
5157
|
-
x: "0",
|
|
5158
|
-
y: "0",
|
|
5159
|
-
width: "94",
|
|
5160
|
-
height: "54",
|
|
5161
|
-
children: /* @__PURE__ */ jsx(
|
|
5162
|
-
Path,
|
|
5163
|
-
{
|
|
5164
|
-
fillRule: "evenodd",
|
|
5165
|
-
clipRule: "evenodd",
|
|
5166
|
-
d: "M0 .03h93.26v53.65H0V.03Z",
|
|
5167
|
-
fill: "main"
|
|
5168
|
-
}
|
|
5169
|
-
)
|
|
5170
|
-
}
|
|
5171
|
-
),
|
|
5172
|
-
/* @__PURE__ */ jsxs(
|
|
5173
|
-
SVGGroup,
|
|
5174
|
-
{
|
|
5175
|
-
mask: `url(#${id}-a)`,
|
|
5176
|
-
fillRule: "evenodd",
|
|
5177
|
-
clipRule: "evenodd",
|
|
5178
|
-
fill: "main",
|
|
5179
|
-
children: [
|
|
5180
|
-
/* @__PURE__ */ 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" }),
|
|
5181
|
-
/* @__PURE__ */ 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" })
|
|
5182
|
-
]
|
|
5183
|
-
}
|
|
5184
|
-
),
|
|
5185
|
-
/* @__PURE__ */ jsx(
|
|
5186
|
-
Path,
|
|
5187
|
-
{
|
|
5188
|
-
fillRule: "evenodd",
|
|
5189
|
-
clipRule: "evenodd",
|
|
5190
|
-
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",
|
|
5191
|
-
fill: "accent"
|
|
5192
|
-
}
|
|
5193
|
-
),
|
|
5194
|
-
/* @__PURE__ */ jsx(
|
|
5195
|
-
Path,
|
|
5196
|
-
{
|
|
5197
|
-
fillRule: "evenodd",
|
|
5198
|
-
clipRule: "evenodd",
|
|
5199
|
-
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",
|
|
5200
|
-
fill: "main"
|
|
5201
|
-
}
|
|
5202
|
-
),
|
|
5203
|
-
/* @__PURE__ */ jsx(
|
|
5204
|
-
"mask",
|
|
5205
|
-
{
|
|
5206
|
-
id: `${id}-b`,
|
|
5207
|
-
style: { maskType: "alpha" },
|
|
5208
|
-
maskUnits: "userSpaceOnUse",
|
|
5209
|
-
x: "29",
|
|
5210
|
-
y: "0",
|
|
5211
|
-
width: "78",
|
|
5212
|
-
height: "54",
|
|
5213
|
-
children: /* @__PURE__ */ jsx(
|
|
5214
|
-
Path,
|
|
5215
|
-
{
|
|
5216
|
-
fillRule: "evenodd",
|
|
5217
|
-
clipRule: "evenodd",
|
|
5218
|
-
d: "M29.55.04H106v53.64H29.55V.04Z",
|
|
5219
|
-
fill: "main"
|
|
5220
|
-
}
|
|
5221
|
-
)
|
|
5222
|
-
}
|
|
5223
|
-
),
|
|
5224
|
-
/* @__PURE__ */ jsxs(SVGGroup, { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd", children: [
|
|
5150
|
+
var VyLogo = forwardRef(
|
|
5151
|
+
({ variant = "default", ...props }, ref) => {
|
|
5152
|
+
const id = useId();
|
|
5153
|
+
const fillForAccent = variant === "mono" ? "main" : "accent";
|
|
5154
|
+
return /* @__PURE__ */ jsxs(SvgBox, { ref, viewBox: "0 0 107 54", ...props, children: [
|
|
5155
|
+
/* @__PURE__ */ jsx("title", { children: "Vy logo" }),
|
|
5225
5156
|
/* @__PURE__ */ jsx(
|
|
5226
5157
|
Path,
|
|
5227
5158
|
{
|
|
5228
|
-
|
|
5159
|
+
fillRule: "evenodd",
|
|
5160
|
+
clipRule: "evenodd",
|
|
5161
|
+
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",
|
|
5229
5162
|
fill: "main"
|
|
5230
5163
|
}
|
|
5231
5164
|
),
|
|
5165
|
+
/* @__PURE__ */ jsx(
|
|
5166
|
+
"mask",
|
|
5167
|
+
{
|
|
5168
|
+
id: `${id}-a`,
|
|
5169
|
+
style: { maskType: "alpha" },
|
|
5170
|
+
maskUnits: "userSpaceOnUse",
|
|
5171
|
+
x: "0",
|
|
5172
|
+
y: "0",
|
|
5173
|
+
width: "94",
|
|
5174
|
+
height: "54",
|
|
5175
|
+
children: /* @__PURE__ */ jsx(
|
|
5176
|
+
Path,
|
|
5177
|
+
{
|
|
5178
|
+
fillRule: "evenodd",
|
|
5179
|
+
clipRule: "evenodd",
|
|
5180
|
+
d: "M0 .03h93.26v53.65H0V.03Z",
|
|
5181
|
+
fill: "main"
|
|
5182
|
+
}
|
|
5183
|
+
)
|
|
5184
|
+
}
|
|
5185
|
+
),
|
|
5186
|
+
/* @__PURE__ */ jsxs(
|
|
5187
|
+
SVGGroup,
|
|
5188
|
+
{
|
|
5189
|
+
mask: `url(#${id}-a)`,
|
|
5190
|
+
fillRule: "evenodd",
|
|
5191
|
+
clipRule: "evenodd",
|
|
5192
|
+
fill: "main",
|
|
5193
|
+
children: [
|
|
5194
|
+
/* @__PURE__ */ 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" }),
|
|
5195
|
+
/* @__PURE__ */ 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" })
|
|
5196
|
+
]
|
|
5197
|
+
}
|
|
5198
|
+
),
|
|
5199
|
+
/* @__PURE__ */ jsx(
|
|
5200
|
+
Path,
|
|
5201
|
+
{
|
|
5202
|
+
fillRule: "evenodd",
|
|
5203
|
+
clipRule: "evenodd",
|
|
5204
|
+
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",
|
|
5205
|
+
fill: fillForAccent
|
|
5206
|
+
}
|
|
5207
|
+
),
|
|
5232
5208
|
/* @__PURE__ */ jsx(
|
|
5233
5209
|
Path,
|
|
5234
5210
|
{
|
|
5235
|
-
|
|
5211
|
+
fillRule: "evenodd",
|
|
5212
|
+
clipRule: "evenodd",
|
|
5213
|
+
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",
|
|
5236
5214
|
fill: "main"
|
|
5237
5215
|
}
|
|
5238
5216
|
),
|
|
5217
|
+
/* @__PURE__ */ jsx(
|
|
5218
|
+
"mask",
|
|
5219
|
+
{
|
|
5220
|
+
id: `${id}-b`,
|
|
5221
|
+
style: { maskType: "alpha" },
|
|
5222
|
+
maskUnits: "userSpaceOnUse",
|
|
5223
|
+
x: "29",
|
|
5224
|
+
y: "0",
|
|
5225
|
+
width: "78",
|
|
5226
|
+
height: "54",
|
|
5227
|
+
children: /* @__PURE__ */ jsx(
|
|
5228
|
+
Path,
|
|
5229
|
+
{
|
|
5230
|
+
fillRule: "evenodd",
|
|
5231
|
+
clipRule: "evenodd",
|
|
5232
|
+
d: "M29.55.04H106v53.64H29.55V.04Z",
|
|
5233
|
+
fill: "main"
|
|
5234
|
+
}
|
|
5235
|
+
)
|
|
5236
|
+
}
|
|
5237
|
+
),
|
|
5238
|
+
/* @__PURE__ */ jsxs(SVGGroup, { mask: `url(#${id}-b)`, fillRule: "evenodd", clipRule: "evenodd", children: [
|
|
5239
|
+
/* @__PURE__ */ jsx(
|
|
5240
|
+
Path,
|
|
5241
|
+
{
|
|
5242
|
+
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",
|
|
5243
|
+
fill: "main"
|
|
5244
|
+
}
|
|
5245
|
+
),
|
|
5246
|
+
/* @__PURE__ */ jsx(
|
|
5247
|
+
Path,
|
|
5248
|
+
{
|
|
5249
|
+
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",
|
|
5250
|
+
fill: "main"
|
|
5251
|
+
}
|
|
5252
|
+
),
|
|
5253
|
+
/* @__PURE__ */ jsx(
|
|
5254
|
+
Path,
|
|
5255
|
+
{
|
|
5256
|
+
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",
|
|
5257
|
+
fill: fillForAccent
|
|
5258
|
+
}
|
|
5259
|
+
)
|
|
5260
|
+
] }),
|
|
5239
5261
|
/* @__PURE__ */ jsx(
|
|
5240
5262
|
Path,
|
|
5241
5263
|
{
|
|
5242
|
-
|
|
5243
|
-
|
|
5264
|
+
fillRule: "evenodd",
|
|
5265
|
+
clipRule: "evenodd",
|
|
5266
|
+
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",
|
|
5267
|
+
fill: "main"
|
|
5244
5268
|
}
|
|
5245
5269
|
)
|
|
5246
|
-
] })
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
{
|
|
5250
|
-
fillRule: "evenodd",
|
|
5251
|
-
clipRule: "evenodd",
|
|
5252
|
-
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",
|
|
5253
|
-
fill: "main"
|
|
5254
|
-
}
|
|
5255
|
-
)
|
|
5256
|
-
] });
|
|
5257
|
-
});
|
|
5270
|
+
] });
|
|
5271
|
+
}
|
|
5272
|
+
);
|
|
5258
5273
|
VyLogo.displayName = "VyLogo";
|
|
5259
5274
|
var VyLogoPride = forwardRef(
|
|
5260
5275
|
(props, ref) => {
|
|
@@ -6277,10 +6292,10 @@ var attachedInputsRecipe = defineRecipe({
|
|
|
6277
6292
|
},
|
|
6278
6293
|
"& > *": {
|
|
6279
6294
|
position: "relative",
|
|
6280
|
-
zIndex:
|
|
6295
|
+
zIndex: 100
|
|
6281
6296
|
},
|
|
6282
6297
|
"& > *:focus-within": {
|
|
6283
|
-
zIndex:
|
|
6298
|
+
zIndex: 101
|
|
6284
6299
|
}
|
|
6285
6300
|
},
|
|
6286
6301
|
variants: {
|
|
@@ -7672,8 +7687,7 @@ var comboboxSlotRecipe = defineSlotRecipe({
|
|
|
7672
7687
|
},
|
|
7673
7688
|
label: {
|
|
7674
7689
|
fontWeight: "medium",
|
|
7675
|
-
userSelect: "none"
|
|
7676
|
-
textStyle: "sm"
|
|
7690
|
+
userSelect: "none"
|
|
7677
7691
|
},
|
|
7678
7692
|
input: {
|
|
7679
7693
|
transition: "border-radius",
|
|
@@ -11593,8 +11607,6 @@ var textStyles = defineTextStyles({
|
|
|
11593
11607
|
value: {
|
|
11594
11608
|
fontSize: [
|
|
11595
11609
|
tokens23__default.font.style.xxl["font-size"].mobile,
|
|
11596
|
-
null,
|
|
11597
|
-
null,
|
|
11598
11610
|
tokens23__default.font.style.xxl["font-size"].desktop
|
|
11599
11611
|
],
|
|
11600
11612
|
fontFamily: tokens23__default.font.style.xxl["font-family"],
|
|
@@ -11605,8 +11617,6 @@ var textStyles = defineTextStyles({
|
|
|
11605
11617
|
value: {
|
|
11606
11618
|
fontSize: [
|
|
11607
11619
|
tokens23__default.font.style["xl-display"]["font-size"].mobile,
|
|
11608
|
-
null,
|
|
11609
|
-
null,
|
|
11610
11620
|
tokens23__default.font.style["xl-display"]["font-size"].desktop
|
|
11611
11621
|
],
|
|
11612
11622
|
fontFamily: tokens23__default.font.style["xl-display"]["font-family"],
|
|
@@ -11617,8 +11627,6 @@ var textStyles = defineTextStyles({
|
|
|
11617
11627
|
value: {
|
|
11618
11628
|
fontSize: [
|
|
11619
11629
|
tokens23__default.font.style["xl-sans"]["font-size"].mobile,
|
|
11620
|
-
null,
|
|
11621
|
-
null,
|
|
11622
11630
|
tokens23__default.font.style["xl-sans"]["font-size"].desktop
|
|
11623
11631
|
],
|
|
11624
11632
|
fontFamily: tokens23__default.font.style["xl-sans"]["font-family"],
|
|
@@ -11629,8 +11637,6 @@ var textStyles = defineTextStyles({
|
|
|
11629
11637
|
value: {
|
|
11630
11638
|
fontSize: [
|
|
11631
11639
|
tokens23__default.font.style.lg["font-size"].mobile,
|
|
11632
|
-
null,
|
|
11633
|
-
null,
|
|
11634
11640
|
tokens23__default.font.style.lg["font-size"].desktop
|
|
11635
11641
|
],
|
|
11636
11642
|
fontFamily: tokens23__default.font.style.lg["font-family"],
|
|
@@ -11641,8 +11647,6 @@ var textStyles = defineTextStyles({
|
|
|
11641
11647
|
value: {
|
|
11642
11648
|
fontSize: [
|
|
11643
11649
|
tokens23__default.font.style["md-lg"]["font-size"].mobile,
|
|
11644
|
-
null,
|
|
11645
|
-
null,
|
|
11646
11650
|
tokens23__default.font.style["md-lg"]["font-size"].desktop
|
|
11647
11651
|
],
|
|
11648
11652
|
fontFamily: tokens23__default.font.style["md-lg"]["font-family"],
|
|
@@ -11653,8 +11657,6 @@ var textStyles = defineTextStyles({
|
|
|
11653
11657
|
value: {
|
|
11654
11658
|
fontSize: [
|
|
11655
11659
|
tokens23__default.font.style.md["font-size"].mobile,
|
|
11656
|
-
null,
|
|
11657
|
-
null,
|
|
11658
11660
|
tokens23__default.font.style.md["font-size"].desktop
|
|
11659
11661
|
],
|
|
11660
11662
|
fontFamily: tokens23__default.font.style.md["font-family"],
|
|
@@ -11665,8 +11667,6 @@ var textStyles = defineTextStyles({
|
|
|
11665
11667
|
value: {
|
|
11666
11668
|
fontSize: [
|
|
11667
11669
|
tokens23__default.font.style.sm["font-size"].mobile,
|
|
11668
|
-
null,
|
|
11669
|
-
null,
|
|
11670
11670
|
tokens23__default.font.style.sm["font-size"].desktop
|
|
11671
11671
|
],
|
|
11672
11672
|
fontFamily: tokens23__default.font.style.sm["font-family"],
|
|
@@ -11677,8 +11677,6 @@ var textStyles = defineTextStyles({
|
|
|
11677
11677
|
value: {
|
|
11678
11678
|
fontSize: [
|
|
11679
11679
|
tokens23__default.font.style.xs["font-size"].mobile,
|
|
11680
|
-
null,
|
|
11681
|
-
null,
|
|
11682
11680
|
tokens23__default.font.style.xs["font-size"].desktop
|
|
11683
11681
|
],
|
|
11684
11682
|
fontFamily: tokens23__default.font.style.xs["font-family"],
|
|
@@ -11689,8 +11687,6 @@ var textStyles = defineTextStyles({
|
|
|
11689
11687
|
value: {
|
|
11690
11688
|
fontSize: [
|
|
11691
11689
|
tokens23__default.font.style["2xs"]["font-size"].mobile,
|
|
11692
|
-
null,
|
|
11693
|
-
null,
|
|
11694
11690
|
tokens23__default.font.style["2xs"]["font-size"].desktop
|
|
11695
11691
|
],
|
|
11696
11692
|
fontFamily: tokens23__default.font.style["2xs"]["font-family"],
|