@vygruppen/spor-react 12.7.1 → 12.8.1

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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PropsWithChildren, ComponentProps } from 'react';
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
4
+ import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
5
5
  export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { IconComponent } from '@vygruppen/spor-icon-react';
@@ -543,7 +543,7 @@ type FieldBaseProps = {
543
543
  errorText?: React$1.ReactNode;
544
544
  floatingLabel?: boolean;
545
545
  };
546
- type FieldProps = Omit<Field$1.RootProps, "label" | "onChange"> & React$1.PropsWithChildren<FieldVariantProps> & FieldBaseProps;
546
+ type FieldProps = Omit<Field$1.RootProps, "label" | "onChange" | "onBlur" | "onFocus" | "onClick" | "children"> & React$1.PropsWithChildren<FieldVariantProps> & FieldBaseProps;
547
547
  /**
548
548
  *
549
549
  * Field is a component that wraps around other input components, like `Input` and `Select`.
@@ -560,7 +560,7 @@ type FieldProps = Omit<Field$1.RootProps, "label" | "onChange"> & React$1.PropsW
560
560
  *
561
561
  * This component is not exported and should be used as a wrapper for other input components.
562
562
  */
563
- declare const Field: React$1.ForwardRefExoticComponent<Omit<Field$1.RootProps, "label" | "onChange"> & {
563
+ declare const Field: React$1.ForwardRefExoticComponent<Omit<Field$1.RootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
564
564
  children?: React$1.ReactNode | undefined;
565
565
  } & FieldBaseProps & React$1.RefAttributes<HTMLDivElement>>;
566
566
  declare const FieldErrorText: React$1.ForwardRefExoticComponent<Field$1.ErrorTextProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -1097,11 +1097,8 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Checkbox$1.RootProps &
1097
1097
  rootRef?: React$1.Ref<HTMLLabelElement>;
1098
1098
  } & React$1.RefAttributes<HTMLInputElement>>;
1099
1099
 
1100
- type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorPalette" | "size" | "variant"> & {
1101
- direction?: "row" | "column";
1102
- children: React__default.ReactNode;
1103
- gap?: number | string;
1104
- [key: string]: any;
1100
+ type CheckboxGroupProps = React__default.ComponentProps<typeof CheckboxGroup$1> & {
1101
+ direction: "row" | "column";
1105
1102
  };
1106
1103
  /**
1107
1104
  * Used to group several checkboxes together. You can pass the default value, as well as whether or not they're all disabled
@@ -1122,8 +1119,12 @@ type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorPalette" | "size"
1122
1119
  * <Checkbox>Business</Checkbox>
1123
1120
  * <Checkbox>First Class</Checkbox>
1124
1121
  * </CheckboxGroup>
1122
+ * ```
1125
1123
  */
1126
- declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Omit<CheckboxGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1124
+ declare const CheckboxGroup: {
1125
+ (props: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
1126
+ displayName: string;
1127
+ };
1127
1128
 
1128
1129
  type CheckBoxIcon = {
1129
1130
  default: React__default.ReactNode;
@@ -1631,8 +1632,9 @@ type SelectProps = SelectRootProps & FieldProps & {
1631
1632
  /**
1632
1633
  * A Select component.
1633
1634
  *
1634
- * This component is useful to choose an item from a dropdown list of items. The list has four different variants, core, floating, rightSideSquare, leftSideSquare.
1635
- * The last two variants are useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1635
+ * This component is useful to choose an item from a dropdown list of items. The list has two different variants, core, floating and floating.
1636
+ * It also has a sideRadiusVariant that can be used to make the sides square, rightSideSquare, leftSideSquare.
1637
+ * The sideRadiusVariant is useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1636
1638
  *
1637
1639
  * @example
1638
1640
  * ```tsx
@@ -1655,7 +1657,7 @@ type SelectProps = SelectRootProps & FieldProps & {
1655
1657
  * @see https://spor.vy.no/components/select
1656
1658
  *
1657
1659
  */
1658
- declare const Select: React$1.ForwardRefExoticComponent<SelectRootProps<any> & Omit<_chakra_ui_react.FieldRootProps, "label" | "onChange"> & {
1660
+ declare const Select: React$1.ForwardRefExoticComponent<SelectRootProps<any> & Omit<_chakra_ui_react.FieldRootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
1659
1661
  children?: React$1.ReactNode | undefined;
1660
1662
  } & FieldBaseProps & {
1661
1663
  label?: string;
@@ -1830,7 +1832,7 @@ type TextareaProps = Exclude<TextareaProps$1, "size" | "colorPalette"> & FieldPr
1830
1832
  * Textarea has two variants core, and floating.
1831
1833
  *
1832
1834
  */
1833
- declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label" | "onChange"> & {
1835
+ declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
1834
1836
  children?: ReactNode | undefined;
1835
1837
  } & FieldBaseProps & {
1836
1838
  variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, PropsWithChildren, ComponentProps } from 'react';
3
3
  import * as _chakra_ui_react from '@chakra-ui/react';
4
- import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroupProps as CheckboxGroupProps$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
4
+ import { Accordion as Accordion$1, Alert as Alert$1, ConditionalValue, Breadcrumb as Breadcrumb$1, RecipeVariantProps, ButtonProps as ButtonProps$1, GroupProps, Clipboard as Clipboard$1, IconButtonProps as IconButtonProps$1, BoxProps, Field as Field$1, PopoverRootProps, Dialog, Drawer as Drawer$1, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCardRootProps, CheckboxCard, Fieldset as Fieldset$1, Input as Input$1, ListRootProps, NativeSelectFieldProps, NativeSelect as NativeSelect$1, RadioGroup as RadioGroup$1, SelectRootProps, SelectLabelProps, Select as Select$1, CollectionItem, Switch as Switch$1, TextareaProps as TextareaProps$1, RadioCard as RadioCard$1, SeparatorProps, LinkProps as LinkProps$1, List as List$1, UseProgressProps, SkeletonProps as SkeletonProps$1, CircleProps, Popover as Popover$1, Pagination as Pagination$1, ChakraProviderProps, SystemContext, TabsRootProps, Tabs as Tabs$1, TableRootProps, Table as Table$1, BadgeProps as BadgeProps$1, CodeProps, HeadingProps as HeadingProps$1, TextProps as TextProps$1 } from '@chakra-ui/react';
5
5
  export { Box, BoxProps, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, CenterProps, ClientOnly, Collapsible, CollapsibleRootProps, Container, ContainerProps, Em, Flex, FlexProps, For, FormatByte, FormatNumber, Grid, GridItem, GridItemProps, GridProps, HStack, Image, ImageProps, Kbd, LocaleProvider, Portal, PortalProps, Show, SimpleGrid, SimpleGridProps, Spacer, SpacerProps, Span, Stack, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableColumn, TableColumnGroup, TableColumnHeader, TableColumnHeaderProps, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableRoot, TableRootProps, TableRow, TableRowProps, UseDisclosureProps, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
7
  import { IconComponent } from '@vygruppen/spor-icon-react';
@@ -543,7 +543,7 @@ type FieldBaseProps = {
543
543
  errorText?: React$1.ReactNode;
544
544
  floatingLabel?: boolean;
545
545
  };
546
- type FieldProps = Omit<Field$1.RootProps, "label" | "onChange"> & React$1.PropsWithChildren<FieldVariantProps> & FieldBaseProps;
546
+ type FieldProps = Omit<Field$1.RootProps, "label" | "onChange" | "onBlur" | "onFocus" | "onClick" | "children"> & React$1.PropsWithChildren<FieldVariantProps> & FieldBaseProps;
547
547
  /**
548
548
  *
549
549
  * Field is a component that wraps around other input components, like `Input` and `Select`.
@@ -560,7 +560,7 @@ type FieldProps = Omit<Field$1.RootProps, "label" | "onChange"> & React$1.PropsW
560
560
  *
561
561
  * This component is not exported and should be used as a wrapper for other input components.
562
562
  */
563
- declare const Field: React$1.ForwardRefExoticComponent<Omit<Field$1.RootProps, "label" | "onChange"> & {
563
+ declare const Field: React$1.ForwardRefExoticComponent<Omit<Field$1.RootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
564
564
  children?: React$1.ReactNode | undefined;
565
565
  } & FieldBaseProps & React$1.RefAttributes<HTMLDivElement>>;
566
566
  declare const FieldErrorText: React$1.ForwardRefExoticComponent<Field$1.ErrorTextProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -1097,11 +1097,8 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Checkbox$1.RootProps &
1097
1097
  rootRef?: React$1.Ref<HTMLLabelElement>;
1098
1098
  } & React$1.RefAttributes<HTMLInputElement>>;
1099
1099
 
1100
- type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorPalette" | "size" | "variant"> & {
1101
- direction?: "row" | "column";
1102
- children: React__default.ReactNode;
1103
- gap?: number | string;
1104
- [key: string]: any;
1100
+ type CheckboxGroupProps = React__default.ComponentProps<typeof CheckboxGroup$1> & {
1101
+ direction: "row" | "column";
1105
1102
  };
1106
1103
  /**
1107
1104
  * Used to group several checkboxes together. You can pass the default value, as well as whether or not they're all disabled
@@ -1122,8 +1119,12 @@ type CheckboxGroupProps = Exclude<CheckboxGroupProps$1, "colorPalette" | "size"
1122
1119
  * <Checkbox>Business</Checkbox>
1123
1120
  * <Checkbox>First Class</Checkbox>
1124
1121
  * </CheckboxGroup>
1122
+ * ```
1125
1123
  */
1126
- declare const CheckboxGroup: React__default.ForwardRefExoticComponent<Omit<CheckboxGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1124
+ declare const CheckboxGroup: {
1125
+ (props: CheckboxGroupProps): react_jsx_runtime.JSX.Element;
1126
+ displayName: string;
1127
+ };
1127
1128
 
1128
1129
  type CheckBoxIcon = {
1129
1130
  default: React__default.ReactNode;
@@ -1631,8 +1632,9 @@ type SelectProps = SelectRootProps & FieldProps & {
1631
1632
  /**
1632
1633
  * A Select component.
1633
1634
  *
1634
- * This component is useful to choose an item from a dropdown list of items. The list has four different variants, core, floating, rightSideSquare, leftSideSquare.
1635
- * The last two variants are useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1635
+ * This component is useful to choose an item from a dropdown list of items. The list has two different variants, core, floating and floating.
1636
+ * It also has a sideRadiusVariant that can be used to make the sides square, rightSideSquare, leftSideSquare.
1637
+ * The sideRadiusVariant is useful in attachecdInput for example in the PhoneNumberInput and CountryCodeSelect components.
1636
1638
  *
1637
1639
  * @example
1638
1640
  * ```tsx
@@ -1655,7 +1657,7 @@ type SelectProps = SelectRootProps & FieldProps & {
1655
1657
  * @see https://spor.vy.no/components/select
1656
1658
  *
1657
1659
  */
1658
- declare const Select: React$1.ForwardRefExoticComponent<SelectRootProps<any> & Omit<_chakra_ui_react.FieldRootProps, "label" | "onChange"> & {
1660
+ declare const Select: React$1.ForwardRefExoticComponent<SelectRootProps<any> & Omit<_chakra_ui_react.FieldRootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
1659
1661
  children?: React$1.ReactNode | undefined;
1660
1662
  } & FieldBaseProps & {
1661
1663
  label?: string;
@@ -1830,7 +1832,7 @@ type TextareaProps = Exclude<TextareaProps$1, "size" | "colorPalette"> & FieldPr
1830
1832
  * Textarea has two variants core, and floating.
1831
1833
  *
1832
1834
  */
1833
- declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label" | "onChange"> & {
1835
+ declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps$1 & Omit<_chakra_ui_react.FieldRootProps, "label" | "children" | "onFocus" | "onBlur" | "onChange" | "onClick"> & {
1834
1836
  children?: ReactNode | undefined;
1835
1837
  } & FieldBaseProps & {
1836
1838
  variant?: _chakra_ui_react.ConditionalValue<"core" | "floating" | undefined>;
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
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, ClientOnly as ClientOnly$1, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, Drawer as Drawer$1, Grid, GridItem, usePopoverContext, Checkbox as Checkbox$1, CheckboxGroup as CheckboxGroup$1, CheckboxCard, Fieldset as Fieldset$1, InputElement, Input as Input$1, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, RadioCard as RadioCard$1, Separator as Separator$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, VisuallyHidden, defineConfig, ListItem, ChakraProvider, Toaster as Toaster$1, Toast, Icon } 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, ClientOnly as ClientOnly$1, Field, defineStyle, PopoverAnchor, useFieldContext, Popover as Popover$1, Portal, Dialog, createContext as createContext$1, Drawer as Drawer$1, Grid, GridItem, usePopoverContext, Checkbox as Checkbox$1, CheckboxCard, Fieldset as Fieldset$1, InputElement, Input as Input$1, NativeSelect as NativeSelect$1, useControllableState, createListCollection, RadioGroup as RadioGroup$1, Select as Select$1, useSelectContext, Switch as Switch$1, Textarea as Textarea$1, RadioCard as RadioCard$1, Separator as Separator$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, VisuallyHidden, defineConfig, CheckboxGroup as CheckboxGroup$1, ListItem, ChakraProvider, Toaster as Toaster$1, Toast, Icon } from '@chakra-ui/react';
2
2
  export { Box, BreadcrumbCurrentLink, BreadcrumbEllipsis, BreadcrumbLink, Center, ClientOnly, Collapsible, Container, Em, Flex, For, FormatByte, FormatNumber, Grid, GridItem, HStack, Image, Kbd, LocaleProvider, Portal, Show, SimpleGrid, Spacer, Span, Stack, TableBody, TableCaption, TableCell, TableColumn, TableColumnGroup, TableColumnHeader, TableFooter, TableHeader, TableRoot, TableRow, VStack, VisuallyHidden, createListCollection, createSystem, defineConfig, defineRecipe, defineStyle, chakra as spor, useBreakpointValue, useCheckbox, useClipboard, useControllableProp, useDisclosure, useMediaQuery, useToken } from '@chakra-ui/react';
3
3
  import { DropdownDownFill24Icon, CopyOutline18Icon, CheckmarkFill18Icon, CloseFill18Icon, CloseFill30Icon, CloseFill24Icon, ServiceFill24Icon, QuestionFill24Icon, ErrorOutline24Icon, ErrorFill24Icon, AltTransportFill24Icon, WarningFill24Icon, SuccessFill24Icon, InformationFill24Icon, DropdownDownFill18Icon, DropdownRightFill18Icon, CalendarOutline24Icon, ArrowLeftFill24Icon, CloseOutline24Icon, SearchOutline24Icon, InformationFill18Icon, WarningFill18Icon, ErrorFill18Icon, 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, LinkOutOutline24Icon, LinkOutOutline18Icon, ArrowLeftOutline24Icon, ArrowRightOutline24Icon, DropdownLeftFill18Icon, SuccessFill18Icon } from '@vygruppen/spor-icon-react';
4
- import * as React28 from 'react';
5
- import React28__default, { forwardRef, createContext, useId, cloneElement, useEffect, useRef, isValidElement, useState, useMemo, useLayoutEffect, useContext } from 'react';
4
+ import * as React27 from 'react';
5
+ import React27__default, { forwardRef, createContext, useId, cloneElement, useEffect, useRef, isValidElement, useState, useMemo, useLayoutEffect, useContext } from 'react';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import { spinnerColorData, inlineLoaderColorData, contentLoaderData, fullScreenLoaderWhiteData, inlineLoaderDarkData, spinnerLightData, spinnerDarkData, fullScreenLoaderBlackData, inlineLoaderLightData } from '@vygruppen/spor-loader';
8
8
  import ReactLottie from 'lottie-react';
@@ -489,7 +489,7 @@ var texts = createTexts({
489
489
  en: `${value}% done`
490
490
  })
491
491
  });
492
- var SkeletonCircle = React28.forwardRef(function SkeletonCircle2(props, ref) {
492
+ var SkeletonCircle = React27.forwardRef(function SkeletonCircle2(props, ref) {
493
493
  const recipe = useRecipe({ key: "skeleton" });
494
494
  const [recipeProps, restProps] = recipe.splitVariantProps({
495
495
  loading: true,
@@ -739,7 +739,7 @@ var codeRecipie = defineRecipe({
739
739
  }
740
740
  });
741
741
  var StyledCode = chakra(Code$1, codeRecipie);
742
- var Code = React28__default.forwardRef(
742
+ var Code = React27__default.forwardRef(
743
743
  function Code2(props, ref) {
744
744
  return /* @__PURE__ */ jsx(StyledCode, { ...props, ref });
745
745
  }
@@ -779,7 +779,7 @@ var Text3 = forwardRef(
779
779
  return /* @__PURE__ */ jsx(Text, { ...resolvedProps, ...rest, ref });
780
780
  }
781
781
  );
782
- var ClipboardIcon = React28.forwardRef((props, ref) => {
782
+ var ClipboardIcon = React27.forwardRef((props, ref) => {
783
783
  return /* @__PURE__ */ jsx(
784
784
  Clipboard$1.Indicator,
785
785
  {
@@ -791,7 +791,7 @@ var ClipboardIcon = React28.forwardRef((props, ref) => {
791
791
  );
792
792
  });
793
793
  ClipboardIcon.displayName = "ClipboardIcon";
794
- var ClipboardCopyText = React28.forwardRef((props, ref) => {
794
+ var ClipboardCopyText = React27.forwardRef((props, ref) => {
795
795
  const { t } = useTranslation();
796
796
  return /* @__PURE__ */ jsx(
797
797
  Clipboard$1.Indicator,
@@ -804,7 +804,7 @@ var ClipboardCopyText = React28.forwardRef((props, ref) => {
804
804
  );
805
805
  });
806
806
  ClipboardCopyText.displayName = "ClipboardCopyText";
807
- var ClipboardButton = React28.forwardRef((props, ref) => {
807
+ var ClipboardButton = React27.forwardRef((props, ref) => {
808
808
  return /* @__PURE__ */ jsx(Clipboard$1.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(Button, { ref, size: "xs", leftIcon: /* @__PURE__ */ jsx(ClipboardIcon, {}), ...props, children: /* @__PURE__ */ jsx(ClipboardCopyText, {}) }) });
809
809
  });
810
810
  ClipboardButton.displayName = "ClipboardButton";
@@ -891,7 +891,7 @@ var FloatingActionButton = forwardRef(
891
891
  placement = "bottom right",
892
892
  ...props
893
893
  }, ref) => {
894
- const [isTextVisible, setIsTextVisible] = React28__default.useState(
894
+ const [isTextVisible, setIsTextVisible] = React27__default.useState(
895
895
  externalIsTextVisible === void 0 ? false : externalIsTextVisible
896
896
  );
897
897
  const scrollDirection = useScrollDirection();
@@ -932,11 +932,11 @@ var FloatingActionButton = forwardRef(
932
932
  );
933
933
  FloatingActionButton.displayName = "FloatingActionButton";
934
934
  var useScrollDirection = () => {
935
- const [scrollDirection, setScrollDirection] = React28__default.useState(null);
936
- const lastScrollPosition = React28__default.useRef(
935
+ const [scrollDirection, setScrollDirection] = React27__default.useState(null);
936
+ const lastScrollPosition = React27__default.useRef(
937
937
  globalThis.window === void 0 ? 0 : window.scrollY
938
938
  );
939
- React28__default.useEffect(() => {
939
+ React27__default.useEffect(() => {
940
940
  const onScroll = () => {
941
941
  const delta = window.scrollY - lastScrollPosition.current;
942
942
  if (delta === 0) {
@@ -1258,12 +1258,12 @@ var texts6 = createTexts({
1258
1258
  });
1259
1259
  var Breadcrumb = forwardRef(
1260
1260
  ({ children, ...props }, ref) => {
1261
- const validChildren = React28__default.Children.toArray(children).filter(
1262
- (element) => React28__default.isValidElement(element)
1261
+ const validChildren = React27__default.Children.toArray(children).filter(
1262
+ (element) => React27__default.isValidElement(element)
1263
1263
  );
1264
1264
  return /* @__PURE__ */ jsx(Breadcrumb$1.Root, { ref, ...props, children: /* @__PURE__ */ jsx(Breadcrumb$1.List, { children: validChildren.map((child, index) => {
1265
1265
  const isLast = index === validChildren.length - 1;
1266
- return /* @__PURE__ */ jsxs(React28__default.Fragment, { children: [
1266
+ return /* @__PURE__ */ jsxs(React27__default.Fragment, { children: [
1267
1267
  /* @__PURE__ */ jsx(Breadcrumb$1.Item, { children: child }),
1268
1268
  !isLast && /* @__PURE__ */ jsx(Breadcrumb$1.Separator, { "aria-hidden": "true", children: /* @__PURE__ */ jsx(DropdownRightFill18Icon, {}) })
1269
1269
  ] }, index);
@@ -1293,7 +1293,7 @@ function ColorModeIcon() {
1293
1293
  const { colorMode } = useColorMode();
1294
1294
  return colorMode === "dark" ? /* @__PURE__ */ jsx(LuMoon, {}) : /* @__PURE__ */ jsx(LuSun, {});
1295
1295
  }
1296
- var ColorModeButton = React28.forwardRef(function ColorModeButton2(props, ref) {
1296
+ var ColorModeButton = React27.forwardRef(function ColorModeButton2(props, ref) {
1297
1297
  const { toggleColorMode } = useColorMode();
1298
1298
  return /* @__PURE__ */ jsx(ClientOnly$1, { fallback: /* @__PURE__ */ jsx(Skeleton$1, { boxSize: "8" }), children: /* @__PURE__ */ jsx(
1299
1299
  IconButton$1,
@@ -1357,7 +1357,7 @@ var labelStyles = defineStyle({
1357
1357
  opacity: 0.4
1358
1358
  }
1359
1359
  });
1360
- var Field3 = React28.forwardRef(
1360
+ var Field3 = React27.forwardRef(
1361
1361
  (props, ref) => {
1362
1362
  const {
1363
1363
  label,
@@ -1374,7 +1374,7 @@ var Field3 = React28.forwardRef(
1374
1374
  } = props;
1375
1375
  const recipe = useSlotRecipe({ key: "field" });
1376
1376
  const styles = recipe();
1377
- return /* @__PURE__ */ jsxs(Stack, { gap: "2", ref, ...rest, children: [
1377
+ return /* @__PURE__ */ jsxs(Stack, { gap: "2", ref, width: "100%", ...rest, children: [
1378
1378
  /* @__PURE__ */ jsxs(
1379
1379
  Field.Root,
1380
1380
  {
@@ -1397,7 +1397,7 @@ var Field3 = React28.forwardRef(
1397
1397
  }
1398
1398
  );
1399
1399
  Field3.displayName = "Field";
1400
- var FieldErrorText = React28.forwardRef((props, ref) => {
1400
+ var FieldErrorText = React27.forwardRef((props, ref) => {
1401
1401
  return /* @__PURE__ */ jsx(Field.ErrorText, { ref, children: props.children });
1402
1402
  });
1403
1403
  FieldErrorText.displayName = "FieldErrorText";
@@ -2306,7 +2306,7 @@ var texts11 = createTexts({
2306
2306
  sv: "minuter"
2307
2307
  }
2308
2308
  });
2309
- var DialogContent = React28.forwardRef((props, ref) => {
2309
+ var DialogContent = React27.forwardRef((props, ref) => {
2310
2310
  const {
2311
2311
  children,
2312
2312
  portalled = true,
@@ -2320,7 +2320,7 @@ var DialogContent = React28.forwardRef((props, ref) => {
2320
2320
  ] });
2321
2321
  });
2322
2322
  DialogContent.displayName = "DialogContent";
2323
- var DialogCloseTrigger = React28.forwardRef(function DialogCloseTrigger2(props, ref) {
2323
+ var DialogCloseTrigger = React27.forwardRef(function DialogCloseTrigger2(props, ref) {
2324
2324
  return /* @__PURE__ */ jsx(Dialog.CloseTrigger, { ref, position: "absolute", ...props, asChild: true, children: /* @__PURE__ */ jsx(CloseButton, { size: "md" }) });
2325
2325
  });
2326
2326
  var DialogRoot = Dialog.Root;
@@ -2480,7 +2480,7 @@ var CardSelectTrigger = forwardRef(
2480
2480
  }
2481
2481
  );
2482
2482
  CardSelectTrigger.displayName = "CardSelectTrigger";
2483
- var Checkbox = React28.forwardRef(
2483
+ var Checkbox = React27.forwardRef(
2484
2484
  (props, ref) => {
2485
2485
  const { children, inputProps, rootRef, ...rest } = props;
2486
2486
  return /* @__PURE__ */ jsxs(Checkbox$1.Root, { ref: rootRef, ...rest, children: [
@@ -2491,12 +2491,10 @@ var Checkbox = React28.forwardRef(
2491
2491
  }
2492
2492
  );
2493
2493
  Checkbox.displayName = "Checkbox";
2494
- var CheckboxGroup = forwardRef(
2495
- (props, ref) => {
2496
- const { direction = "row", children, gap = 1, ...rest } = props;
2497
- return /* @__PURE__ */ jsx(CheckboxGroup$1, { ref, ...rest, children: /* @__PURE__ */ jsx(Stack, { direction, gap, children }) });
2498
- }
2499
- );
2494
+ var CheckboxGroup = (props) => {
2495
+ const { direction = "row", children, gap = 1, ...rest } = props;
2496
+ return /* @__PURE__ */ jsx(CheckboxGroup$1, { ...rest, children: /* @__PURE__ */ jsx(Stack, { direction, gap, children }) });
2497
+ };
2500
2498
  CheckboxGroup.displayName = "CheckboxGroup";
2501
2499
  var ChoiceChip = forwardRef(
2502
2500
  ({ children, icon, onCheckedChange, ...rootProps }, ref) => {
@@ -2578,10 +2576,10 @@ var Combobox = (props) => {
2578
2576
  loading,
2579
2577
  leftIcon,
2580
2578
  rightIcon,
2581
- borderBottomLeftRadius = "sm",
2582
- borderBottomRightRadius = "sm",
2583
- borderTopLeftRadius = "sm",
2584
- borderTopRightRadius = "sm",
2579
+ borderBottomLeftRadius,
2580
+ borderBottomRightRadius,
2581
+ borderTopLeftRadius,
2582
+ borderTopRightRadius,
2585
2583
  marginBottom,
2586
2584
  marginTop,
2587
2585
  marginX,
@@ -2680,7 +2678,8 @@ var Combobox = (props) => {
2680
2678
  }
2681
2679
  }
2682
2680
  ) : rightIcon,
2683
- placeholder: ""
2681
+ placeholder: "",
2682
+ "data-attachable": true
2684
2683
  }
2685
2684
  ),
2686
2685
  /* @__PURE__ */ jsx("span", { "aria-hidden": "true", "data-trigger": "multiselect" }),
@@ -2872,7 +2871,7 @@ function Option({ item, state }) {
2872
2871
  }, []);
2873
2872
  return /* @__PURE__ */ jsx(OptionContext.Provider, { value: { labelProps, descriptionProps }, children: /* @__PURE__ */ jsx(ListItem, { ...optionProps, ...dataFields, ref, css: styles.item, children: item.rendered }) });
2874
2873
  }
2875
- var OptionContext = React28__default.createContext({
2874
+ var OptionContext = React27__default.createContext({
2876
2875
  labelProps: {},
2877
2876
  descriptionProps: {}
2878
2877
  });
@@ -2907,7 +2906,7 @@ function ListBoxSection({ section, state }) {
2907
2906
  ) })
2908
2907
  ] }) });
2909
2908
  }
2910
- var NativeSelect = React28.forwardRef(function NativeSelect2(props, ref) {
2909
+ var NativeSelect = React27.forwardRef(function NativeSelect2(props, ref) {
2911
2910
  const {
2912
2911
  children,
2913
2912
  variant = "core",
@@ -2954,7 +2953,7 @@ var NativeSelect = React28.forwardRef(function NativeSelect2(props, ref) {
2954
2953
  }
2955
2954
  );
2956
2955
  });
2957
- var NumericStepper = React28__default.forwardRef((props, ref) => {
2956
+ var NumericStepper = React27__default.forwardRef((props, ref) => {
2958
2957
  const {
2959
2958
  name: nameProp,
2960
2959
  id: idProp,
@@ -3061,7 +3060,7 @@ var NumericStepper = React28__default.forwardRef((props, ref) => {
3061
3060
  ] });
3062
3061
  });
3063
3062
  NumericStepper.displayName = "NumericStepper";
3064
- var VerySmallButton = React28__default.forwardRef((props, ref) => {
3063
+ var VerySmallButton = React27__default.forwardRef((props, ref) => {
3065
3064
  const recipe = useSlotRecipe({ key: "numericStepper" });
3066
3065
  const styles = recipe({ colorPalette: "default" });
3067
3066
  return /* @__PURE__ */ jsx(
@@ -3189,7 +3188,7 @@ var PasswordInput = forwardRef(
3189
3188
  }
3190
3189
  );
3191
3190
  PasswordInput.displayName = "PasswordInput";
3192
- var VisibilityTrigger = React28__default.forwardRef(
3191
+ var VisibilityTrigger = React27__default.forwardRef(
3193
3192
  (props, ref) => {
3194
3193
  return /* @__PURE__ */ jsx(
3195
3194
  Button$1,
@@ -3254,7 +3253,7 @@ var CountryCodeSelect = forwardRef((props, ref) => {
3254
3253
  collection: callingCodes,
3255
3254
  lazyMount: true,
3256
3255
  "aria-label": t(texts15.countryCode),
3257
- variant: "rightSideSquare",
3256
+ sideRadiusVariant: "rightSideSquare",
3258
3257
  children: callingCodes.items.map((code) => /* @__PURE__ */ jsx(SelectItem, { as: "option", item: code, children: code.label }, code.label))
3259
3258
  }
3260
3259
  );
@@ -3425,7 +3424,7 @@ var texts17 = createTexts({
3425
3424
  en: "Reset search field"
3426
3425
  }
3427
3426
  });
3428
- var Select = React28.forwardRef(
3427
+ var Select = React27.forwardRef(
3429
3428
  (props, ref) => {
3430
3429
  const {
3431
3430
  variant = "core",
@@ -3468,7 +3467,7 @@ var SelectLabel = (props) => {
3468
3467
  );
3469
3468
  };
3470
3469
  Select.displayName = "Select";
3471
- var SelectItem = React28.forwardRef(
3470
+ var SelectItem = React27.forwardRef(
3472
3471
  (props, ref) => {
3473
3472
  const { item, children, description, ...rest } = props;
3474
3473
  const recipe = useSlotRecipe({ key: "select" });
@@ -3483,14 +3482,14 @@ var SelectItem = React28.forwardRef(
3483
3482
  }
3484
3483
  );
3485
3484
  SelectItem.displayName = "SelectItem";
3486
- var SelectItemGroup = React28.forwardRef(function SelectItemGroup2(props, ref) {
3485
+ var SelectItemGroup = React27.forwardRef(function SelectItemGroup2(props, ref) {
3487
3486
  const { children, label, ...rest } = props;
3488
3487
  return /* @__PURE__ */ jsxs(Select$1.ItemGroup, { ...rest, ref, children: [
3489
3488
  /* @__PURE__ */ jsx(Select$1.ItemGroupLabel, { children: label }),
3490
3489
  children
3491
3490
  ] });
3492
3491
  });
3493
- var SelectTrigger = React28.forwardRef(function SelectTrigger2(props, ref) {
3492
+ var SelectTrigger = React27.forwardRef(function SelectTrigger2(props, ref) {
3494
3493
  const { children, clearable, ...rest } = props;
3495
3494
  const recipe = useSlotRecipe({ key: "select" });
3496
3495
  const styles = recipe();
@@ -3502,7 +3501,7 @@ var SelectTrigger = React28.forwardRef(function SelectTrigger2(props, ref) {
3502
3501
  ] })
3503
3502
  ] });
3504
3503
  });
3505
- var SelectClearTrigger = React28.forwardRef(function SelectClearTrigger2(props, ref) {
3504
+ var SelectClearTrigger = React27.forwardRef(function SelectClearTrigger2(props, ref) {
3506
3505
  return /* @__PURE__ */ jsx(Select$1.ClearTrigger, { asChild: true, ...props, ref, children: /* @__PURE__ */ jsx(
3507
3506
  CloseButton,
3508
3507
  {
@@ -3513,11 +3512,11 @@ var SelectClearTrigger = React28.forwardRef(function SelectClearTrigger2(props,
3513
3512
  }
3514
3513
  ) });
3515
3514
  });
3516
- var SelectContent = React28.forwardRef(function SelectContent2(props, ref) {
3515
+ var SelectContent = React27.forwardRef(function SelectContent2(props, ref) {
3517
3516
  const { portalled = true, portalRef, ...rest } = props;
3518
3517
  return /* @__PURE__ */ jsx(Portal, { disabled: !portalled, container: portalRef, children: /* @__PURE__ */ jsx(Select$1.Positioner, { children: /* @__PURE__ */ jsx(Select$1.Content, { ...rest, ref }) }) });
3519
3518
  });
3520
- var SelectValueText = React28.forwardRef(function SelectValueText2(props, ref) {
3519
+ var SelectValueText = React27.forwardRef(function SelectValueText2(props, ref) {
3521
3520
  const { children, withPlaceholder, placeholder, ...rest } = props;
3522
3521
  return /* @__PURE__ */ jsx(
3523
3522
  Select$1.ValueText,
@@ -4561,16 +4560,16 @@ NudgeTrigger.displayName = "NudgeTrigger";
4561
4560
  var NudgeContent = forwardRef(
4562
4561
  ({ showCloseButton = true, children, ...props }, ref) => {
4563
4562
  const [currentStep, setCurrentStep] = useState(1);
4564
- const childrenArray = React28__default.Children.toArray(children);
4563
+ const childrenArray = React27__default.Children.toArray(children);
4565
4564
  const { open } = usePopoverContext();
4566
4565
  useEffect(() => {
4567
4566
  setCurrentStep(1);
4568
4567
  }, [children, open]);
4569
4568
  const wizardPages = childrenArray.filter(
4570
- (child) => React28__default.isValidElement(child) && child.type.displayName === "NudgeWizardStep"
4569
+ (child) => React27__default.isValidElement(child) && child.type.displayName === "NudgeWizardStep"
4571
4570
  );
4572
4571
  const restChildren = childrenArray.filter(
4573
- (child) => !React28__default.isValidElement(child) || child.type.displayName !== "NudgeWizardStep"
4572
+ (child) => !React27__default.isValidElement(child) || child.type.displayName !== "NudgeWizardStep"
4574
4573
  );
4575
4574
  const totalSteps = wizardPages.length;
4576
4575
  const isLastStep = totalSteps === currentStep;
@@ -4659,7 +4658,7 @@ NudgeCloseTrigger.displayName = "NudgeCloseTrigger";
4659
4658
  var [RootPropsProvider, useRootProps] = createContext$1({
4660
4659
  name: "RootPropsProvider"
4661
4660
  });
4662
- var Pagination = React28.forwardRef(
4661
+ var Pagination = React27.forwardRef(
4663
4662
  (props, ref) => {
4664
4663
  const { getHref, children, ...rest } = props;
4665
4664
  const recipe = useSlotRecipe({ key: "pagination" });
@@ -4684,11 +4683,11 @@ var Pagination = React28.forwardRef(
4684
4683
  }
4685
4684
  );
4686
4685
  Pagination.displayName = "Pagination";
4687
- var PaginationEllipsis = React28.forwardRef((props, ref) => {
4686
+ var PaginationEllipsis = React27.forwardRef((props, ref) => {
4688
4687
  return /* @__PURE__ */ jsx(ListItem2, { children: /* @__PURE__ */ jsx(Pagination$1.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx(Box, { cursor: "default", children: "..." }) }) });
4689
4688
  });
4690
4689
  PaginationEllipsis.displayName = "PaginationEllipsis";
4691
- var PaginationItem = React28.forwardRef((props, ref) => {
4690
+ var PaginationItem = React27.forwardRef((props, ref) => {
4692
4691
  const rootProps = useRootProps();
4693
4692
  const { t } = useTranslation();
4694
4693
  const { page, totalPages } = usePaginationContext();
@@ -4721,7 +4720,7 @@ var PaginationItem = React28.forwardRef((props, ref) => {
4721
4720
  ) });
4722
4721
  });
4723
4722
  PaginationItem.displayName = "PaginationItem";
4724
- var PaginationPrevTrigger = React28.forwardRef((props, ref) => {
4723
+ var PaginationPrevTrigger = React27.forwardRef((props, ref) => {
4725
4724
  const { page } = usePaginationContext();
4726
4725
  const recipe = useSlotRecipe({ key: "pagination" });
4727
4726
  const styles = recipe();
@@ -4761,7 +4760,7 @@ var PaginationPrevTrigger = React28.forwardRef((props, ref) => {
4761
4760
  ) });
4762
4761
  });
4763
4762
  PaginationPrevTrigger.displayName = "PaginationPrevTrigger";
4764
- var PaginationNextTrigger = React28.forwardRef((props, ref) => {
4763
+ var PaginationNextTrigger = React27.forwardRef((props, ref) => {
4765
4764
  const { page, totalPages } = usePaginationContext();
4766
4765
  const recipe = useSlotRecipe({ key: "pagination" });
4767
4766
  const styles = recipe();
@@ -4849,7 +4848,7 @@ PopoverTrigger.displayName = "PopoverTrigger";
4849
4848
  var PopoverContent = forwardRef(
4850
4849
  ({ children, showCloseButton = false, ...props }, ref) => {
4851
4850
  const { colorMode } = useColorMode();
4852
- const closeButtonRef = React28__default.useRef(null);
4851
+ const closeButtonRef = React27__default.useRef(null);
4853
4852
  const { open } = usePopoverContext();
4854
4853
  useEffect(() => {
4855
4854
  if (showCloseButton && open && closeButtonRef.current) {
@@ -5060,7 +5059,7 @@ var SporProvider = ({
5060
5059
  children
5061
5060
  ] }) }) });
5062
5061
  };
5063
- var StepperContext = React28__default.createContext(null);
5062
+ var StepperContext = React27__default.createContext(null);
5064
5063
  var StepperProvider = ({
5065
5064
  activeStep,
5066
5065
  children,
@@ -5077,7 +5076,7 @@ var StepperProvider = ({
5077
5076
  );
5078
5077
  };
5079
5078
  var useStepper = () => {
5080
- const context = React28__default.useContext(StepperContext);
5079
+ const context = React27__default.useContext(StepperContext);
5081
5080
  if (!context) {
5082
5081
  throw new Error(
5083
5082
  "useStepper must be used within a StepperProvider. Most likely, you forgot to wrap your StepperStep in a Stepper component"
@@ -7604,7 +7603,8 @@ var fieldSlotRecipe = defineSlotRecipe({
7604
7603
  textStyle: "xs",
7605
7604
  width: "fit-content",
7606
7605
  position: "absolute",
7607
- bottom: -5,
7606
+ top: "100%",
7607
+ // position below parent
7608
7608
  left: 3,
7609
7609
  zIndex: "dropdown",
7610
7610
  maxWidth: "50ch",
@@ -9041,7 +9041,9 @@ var selectSlotRecipe = defineSlotRecipe({
9041
9041
  outline: "1px solid",
9042
9042
  outlineColor: "floating.outline"
9043
9043
  }
9044
- },
9044
+ }
9045
+ },
9046
+ sideRadiusVariant: {
9045
9047
  rightSideSquare: {
9046
9048
  control: {
9047
9049
  outline: "1px solid",