@vygruppen/spor-react 9.13.1 → 9.13.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@9.13.1 build
2
+ > @vygruppen/spor-react@9.13.2 build
3
3
  > tsup src/index.tsx --dts --treeshake --format cjs,esm
4
4
 
5
5
  CLI Building entry: src/index.tsx
@@ -9,12 +9,12 @@
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  DTS Build start
12
- CJS dist/index.js 526.31 KB
13
- CJS ⚡️ Build success in 2183ms
14
12
  ESM dist/index.mjs 2.19 KB
15
- ESM dist/CountryCodeSelect-XKJDLCJZ.mjs 1.19 KB
16
- ESM dist/chunk-NMEIV2NI.mjs 413.37 KB
17
- ESM ⚡️ Build success in 2183ms
18
- DTS ⚡️ Build success in 13025ms
19
- DTS dist/index.d.ts 343.71 KB
20
- DTS dist/index.d.mts 343.71 KB
13
+ ESM dist/CountryCodeSelect-QPCMMHSU.mjs 1.19 KB
14
+ ESM dist/chunk-UOSLFTBE.mjs 414.14 KB
15
+ ESM ⚡️ Build success in 2239ms
16
+ CJS dist/index.js 527.19 KB
17
+ CJS ⚡️ Build success in 2239ms
18
+ DTS ⚡️ Build success in 15663ms
19
+ DTS dist/index.d.ts 344.57 KB
20
+ DTS dist/index.d.mts 344.57 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 9.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 59c1cc8: RadioCard: Fix accessibility features
8
+ - 4aa7c96: Added body prop for FullScreenDrawer and SimpleDrawer for accessability reasons
9
+
3
10
  ## 9.13.1
4
11
 
5
12
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { createTexts, useTranslation, InfoSelect, Item } from './chunk-NMEIV2NI.mjs';
1
+ import { createTexts, useTranslation, InfoSelect, Item } from './chunk-UOSLFTBE.mjs';
2
2
  import React from 'react';
3
3
  import { getSupportedCallingCodes } from 'awesome-phonenumber';
4
4
 
@@ -1758,7 +1758,7 @@ var texts4 = createTexts({
1758
1758
  sv: "Landskod"
1759
1759
  }
1760
1760
  });
1761
- var LazyCountryCodeSelect = React87__default.lazy(() => import('./CountryCodeSelect-XKJDLCJZ.mjs'));
1761
+ var LazyCountryCodeSelect = React87__default.lazy(() => import('./CountryCodeSelect-QPCMMHSU.mjs'));
1762
1762
  var Radio = forwardRef((props, ref) => {
1763
1763
  return /* @__PURE__ */ React87__default.createElement(Radio$1, { ...props, ref });
1764
1764
  });
@@ -1923,25 +1923,13 @@ var RadioCardGroup = ({
1923
1923
  defaultValue: defaultValue || ""
1924
1924
  }
1925
1925
  },
1926
- /* @__PURE__ */ React87__default.createElement(
1927
- Stack$1,
1928
- {
1929
- as: "fieldset",
1930
- direction: direction2,
1931
- "aria-labelledby": groupLabel || name,
1932
- role: "radiogroup",
1933
- tabIndex: 0,
1934
- ...props
1935
- },
1936
- groupLabel && /* @__PURE__ */ React87__default.createElement(FormLabel, { as: "legend", id: groupLabel }, groupLabel),
1937
- children
1938
- )
1926
+ /* @__PURE__ */ React87__default.createElement(Stack$1, { as: "fieldset", direction: direction2, ...props }, groupLabel && /* @__PURE__ */ React87__default.createElement(FormLabel, { as: "legend", id: groupLabel }, groupLabel), children)
1939
1927
  );
1940
1928
  };
1941
1929
 
1942
1930
  // src/layout/RadioCard.tsx
1943
1931
  var RadioCard = forwardRef(
1944
- ({ children, value = "base", isDisabled, ...props }, ref) => {
1932
+ ({ children, value, isDisabled, ...props }, ref) => {
1945
1933
  const context = useContext(RadioCardGroupContext);
1946
1934
  if (!context) {
1947
1935
  throw new Error(
@@ -1950,52 +1938,72 @@ var RadioCard = forwardRef(
1950
1938
  }
1951
1939
  const { name, selectedValue, onChange, variant } = context;
1952
1940
  const styles3 = useMultiStyleConfig("RadioCard", { variant });
1941
+ const [isKeyboardUser, setKeyboardUser] = useState(false);
1942
+ const [isFocused, setFocus] = useState(false);
1953
1943
  const isChecked = selectedValue === value;
1954
- const radioCardId = `radio-card-${useId()}`;
1955
1944
  useEffect(() => {
1956
- if (isChecked && typeof ref !== "function" && (ref == null ? void 0 : ref.current)) {
1957
- ref.current.focus();
1958
- }
1959
- }, [isChecked]);
1960
- const handleKeyDown = (event) => {
1961
- if (event.key === "Enter" || event.key === " ") {
1962
- onChange(value);
1963
- }
1964
- if (event.key === "ArrowRight" || event.key === "ArrowDown" || event.key === "ArrowLeft" || event.key === "ArrowUp") {
1965
- const nextRadioCard = event.currentTarget.nextElementSibling;
1966
- if (nextRadioCard) {
1967
- nextRadioCard.focus();
1945
+ const handleMouseDown = () => setKeyboardUser(false);
1946
+ const handleKeyDown = (event) => {
1947
+ if (event.key === " ") {
1948
+ setFocus(false);
1949
+ } else {
1950
+ setKeyboardUser(true);
1968
1951
  }
1952
+ };
1953
+ window.addEventListener("mousedown", handleMouseDown);
1954
+ window.addEventListener("keydown", handleKeyDown);
1955
+ return () => {
1956
+ window.removeEventListener("mousedown", handleMouseDown);
1957
+ window.removeEventListener("keydown", handleKeyDown);
1958
+ };
1959
+ }, []);
1960
+ useEffect(() => {
1961
+ if (isKeyboardUser && isChecked) {
1962
+ setFocus(true);
1963
+ } else {
1964
+ setFocus(false);
1969
1965
  }
1970
- };
1971
- return /* @__PURE__ */ React87__default.createElement(Box, { as: "label", "aria-label": String(children), onKeyDown: handleKeyDown }, /* @__PURE__ */ React87__default.createElement(
1972
- chakra.input,
1973
- {
1974
- type: "radio",
1975
- id: radioCardId,
1976
- ref,
1977
- value,
1978
- name,
1979
- checked: isChecked,
1980
- onChange: () => onChange(value),
1981
- disabled: isDisabled,
1982
- __css: styles3.radioInput
1983
- }
1984
- ), /* @__PURE__ */ React87__default.createElement(
1966
+ }, [isKeyboardUser, isChecked]);
1967
+ const inputId = `radio-card-${useId()}`;
1968
+ return /* @__PURE__ */ React87__default.createElement(
1985
1969
  Box,
1986
1970
  {
1987
- ...props,
1988
- tabIndex: 0,
1989
- ref,
1990
- role: "radio",
1991
- "aria-checked": isChecked,
1992
- "aria-labelledby": radioCardId,
1993
- __css: { ...styles3.container, ...isChecked && styles3.checked },
1994
- "data-checked": isChecked,
1995
- "data-disabled": isDisabled
1971
+ onFocus: () => isKeyboardUser && setFocus(true),
1972
+ onBlur: () => setFocus(false)
1996
1973
  },
1997
- children
1998
- ));
1974
+ /* @__PURE__ */ React87__default.createElement(
1975
+ chakra.input,
1976
+ {
1977
+ type: "radio",
1978
+ id: inputId,
1979
+ name,
1980
+ ref,
1981
+ checked: isChecked,
1982
+ onChange: () => onChange(value),
1983
+ disabled: isDisabled,
1984
+ __css: styles3.radioInput
1985
+ }
1986
+ ),
1987
+ /* @__PURE__ */ React87__default.createElement(
1988
+ Box,
1989
+ {
1990
+ as: "label",
1991
+ name,
1992
+ htmlFor: inputId,
1993
+ "aria-checked": isChecked,
1994
+ "data-checked": isChecked,
1995
+ "data-disabled": isDisabled,
1996
+ ...props,
1997
+ __css: {
1998
+ ...styles3.container,
1999
+ ...isChecked && styles3.checked,
2000
+ ...isFocused && !isChecked && styles3.focused,
2001
+ ...isChecked && isFocused && styles3.focusedChecked
2002
+ }
2003
+ },
2004
+ children
2005
+ )
2006
+ );
1999
2007
  }
2000
2008
  );
2001
2009
  var StaticCard = forwardRef(
@@ -4365,7 +4373,8 @@ var FullScreenDrawer = ({
4365
4373
  leftButton = null,
4366
4374
  rightButton = /* @__PURE__ */ React87__default.createElement(DrawerCloseButton2, null),
4367
4375
  isOpen,
4368
- onClose
4376
+ onClose,
4377
+ body
4369
4378
  }) => {
4370
4379
  const [isContentBoxScrolled, setContentBoxScrolled] = useState(false);
4371
4380
  const onContentScroll = (e) => {
@@ -4396,7 +4405,7 @@ var FullScreenDrawer = ({
4396
4405
  rightButton
4397
4406
  }
4398
4407
  ),
4399
- /* @__PURE__ */ React87__default.createElement(DrawerBody, { overflow: "auto", onScroll: onContentScroll }, children)
4408
+ /* @__PURE__ */ React87__default.createElement(DrawerBody, { overflow: "auto", onScroll: onContentScroll, ...body }, children)
4400
4409
  ));
4401
4410
  };
4402
4411
  var DrawerTopMenu = ({
@@ -4481,9 +4490,10 @@ var SimpleDrawer = ({
4481
4490
  placement,
4482
4491
  children,
4483
4492
  title,
4493
+ body,
4484
4494
  ...props
4485
4495
  }) => {
4486
- return /* @__PURE__ */ React87__default.createElement(Drawer, { placement, ...props }, /* @__PURE__ */ React87__default.createElement(DrawerOverlay, null), /* @__PURE__ */ React87__default.createElement(DrawerContent, null, /* @__PURE__ */ React87__default.createElement(DrawerCloseButton, null), title && /* @__PURE__ */ React87__default.createElement(ModalHeader, null, title), /* @__PURE__ */ React87__default.createElement(DrawerBody, null, children)));
4496
+ return /* @__PURE__ */ React87__default.createElement(Drawer, { placement, ...props }, /* @__PURE__ */ React87__default.createElement(DrawerOverlay, null), /* @__PURE__ */ React87__default.createElement(DrawerContent, null, /* @__PURE__ */ React87__default.createElement(DrawerCloseButton, null), title && /* @__PURE__ */ React87__default.createElement(ModalHeader, null, title), /* @__PURE__ */ React87__default.createElement(DrawerBody, { ...body }, children)));
4487
4497
  };
4488
4498
  var EXPIRATION_DELAY = 1e3 * 60 * 60 * 24 * 30;
4489
4499
  var Nudge = ({
@@ -13271,18 +13281,22 @@ function outlineBorder(state2, props) {
13271
13281
  }
13272
13282
 
13273
13283
  // src/theme/components/radio-card.ts
13274
- var parts17 = anatomy$1("radio-card").parts("container", "checked", "radioInput");
13284
+ var parts17 = anatomy$1("radio-card").parts(
13285
+ "container",
13286
+ "checked",
13287
+ "radioInput",
13288
+ "focused",
13289
+ "focusedChecked"
13290
+ );
13275
13291
  var helpers24 = createMultiStyleConfigHelpers$1(parts17.keys);
13276
13292
  var config33 = helpers24.defineMultiStyleConfig({
13277
13293
  baseStyle: (props) => ({
13278
13294
  container: {
13279
- border: "none",
13280
13295
  overflow: "hidden",
13281
13296
  fontSize: "inherit",
13282
13297
  display: "block",
13283
13298
  cursor: "pointer",
13284
13299
  borderRadius: "sm",
13285
- ...focusVisibleStyles(props),
13286
13300
  transitionProperty: "common",
13287
13301
  transitionDuration: "fast",
13288
13302
  _disabled: {
@@ -13317,9 +13331,6 @@ var config33 = helpers24.defineMultiStyleConfig({
13317
13331
  _active: {
13318
13332
  ...baseBackground("active", props),
13319
13333
  ...baseBorder("active", props)
13320
- },
13321
- _focus: {
13322
- ...outlineBorder("focus", props)
13323
13334
  }
13324
13335
  },
13325
13336
  checked: {
@@ -13329,12 +13340,23 @@ var config33 = helpers24.defineMultiStyleConfig({
13329
13340
  _active: {
13330
13341
  ...baseBackground("active", props),
13331
13342
  ...baseBorder("active", props)
13332
- },
13333
- _focus: {
13334
- outline: "4px solid",
13335
- outlineStyle: "double",
13336
- ...outlineBorder("focus", props),
13337
- outlineOffset: "-1px"
13343
+ }
13344
+ },
13345
+ focusedChecked: {
13346
+ outline: "4px solid",
13347
+ outlineStyle: "double",
13348
+ ...outlineBorder("focus", props),
13349
+ outlineOffset: "-1px"
13350
+ },
13351
+ focused: {
13352
+ outline: "2px solid",
13353
+ ...outlineBorder("focus", props),
13354
+ outlineOffset: "1px",
13355
+ boxShadow: `inset 0 0 0 1px rgba(0, 0, 0, 0.40)`,
13356
+ _hover: {
13357
+ ...baseBorder("hover", props),
13358
+ boxShadow: "none",
13359
+ outlineOffset: "0px"
13338
13360
  }
13339
13361
  }
13340
13362
  }),
@@ -13351,9 +13373,6 @@ var config33 = helpers24.defineMultiStyleConfig({
13351
13373
  _active: {
13352
13374
  ...floatingBackground("active", props),
13353
13375
  ...floatingBorder("active", props)
13354
- },
13355
- _focus: {
13356
- ...outlineBorder("focus", props)
13357
13376
  }
13358
13377
  },
13359
13378
  checked: {
@@ -13364,12 +13383,23 @@ var config33 = helpers24.defineMultiStyleConfig({
13364
13383
  _active: {
13365
13384
  ...floatingBackground("active", props),
13366
13385
  ...floatingBorder("active", props)
13367
- },
13368
- _focus: {
13369
- outline: "4px solid",
13370
- outlineStyle: "double",
13371
- ...outlineBorder("focus", props),
13372
- outlineOffset: "-1px"
13386
+ }
13387
+ },
13388
+ focusedChecked: {
13389
+ outline: "4px solid",
13390
+ outlineStyle: "double",
13391
+ ...outlineBorder("focus", props),
13392
+ outlineOffset: "-1px"
13393
+ },
13394
+ focused: {
13395
+ outline: "2px solid",
13396
+ ...outlineBorder("focus", props),
13397
+ outlineOffset: "1px",
13398
+ boxShadow: `inset 0 0 0 1px rgba(0, 0, 0, 0.10)`,
13399
+ _hover: {
13400
+ ...floatingBorder("hover", props),
13401
+ boxShadow: "md",
13402
+ outlineOffset: "0px"
13373
13403
  }
13374
13404
  }
13375
13405
  })
package/dist/index.d.mts CHANGED
@@ -109,6 +109,7 @@ type RadioGroupContextProps = {
109
109
  onChange: (value: string) => void;
110
110
  variant?: "base" | "floating";
111
111
  defaultValue?: string;
112
+ value?: string;
112
113
  };
113
114
  declare const RadioCardGroupContext: React.Context<RadioGroupContextProps | null>;
114
115
  type RadioCardGroupProps = BoxProps & {
@@ -1966,31 +1967,17 @@ type DrawerProps = DrawerProps$1;
1966
1967
  declare const Drawer: (props: DrawerProps) => React.JSX.Element;
1967
1968
  declare const DrawerContent: _chakra_ui_system_dist_system_types.ComponentWithAs<any, DrawerContentProps>;
1968
1969
 
1969
- type DrawerPlacement = "top" | "right" | "bottom" | "left";
1970
- type FullScreenDrawerProps = {
1971
- /** The content inside the drawer */
1972
- children: React.ReactNode;
1973
- /** The title in the middle of the top menu */
1974
- title?: String;
1975
- /** Determines which side the drawer slides from */
1976
- placement?: DrawerPlacement;
1977
- /** A React component that will be placed to the left in the modal header */
1978
- leftButton?: React.ReactNode;
1979
- /** A React component that will be placed to the right in the modal header */
1980
- rightButton?: React.ReactNode;
1981
- /** Determines if the drawer is open or closed */
1982
- isOpen: boolean;
1983
- /** Function that will be called when the drawer closes */
1984
- onClose: () => void;
1970
+ type DrawerBodyProps = {
1971
+ id?: string;
1985
1972
  };
1986
- declare const FullScreenDrawer: ({ children, title, placement, leftButton, rightButton, isOpen, onClose, }: FullScreenDrawerProps) => React.JSX.Element;
1987
-
1988
1973
  type SimpleDrawerProps = {
1989
1974
  children: React.ReactNode;
1990
1975
  title?: React.ReactNode;
1991
1976
  placement: "top" | "right" | "bottom" | "left";
1992
1977
  isOpen: boolean;
1993
1978
  onClose: () => void;
1979
+ /** Props for drawer body */
1980
+ body?: DrawerBodyProps;
1994
1981
  };
1995
1982
  /** A very basic drawer component that's easy to use
1996
1983
  *
@@ -2002,7 +1989,28 @@ type SimpleDrawerProps = {
2002
1989
  *
2003
1990
  * For more advanced use cases, see the [Drawer](./Drawer.tsx) component.
2004
1991
  */
2005
- declare const SimpleDrawer: ({ placement, children, title, ...props }: SimpleDrawerProps) => React.JSX.Element;
1992
+ declare const SimpleDrawer: ({ placement, children, title, body, ...props }: SimpleDrawerProps) => React.JSX.Element;
1993
+
1994
+ type DrawerPlacement = "top" | "right" | "bottom" | "left";
1995
+ type FullScreenDrawerProps = {
1996
+ /** The content inside the drawer */
1997
+ children: React.ReactNode;
1998
+ /** The title in the middle of the top menu */
1999
+ title?: String;
2000
+ /** Determines which side the drawer slides from */
2001
+ placement?: DrawerPlacement;
2002
+ /** A React component that will be placed to the left in the modal header */
2003
+ leftButton?: React.ReactNode;
2004
+ /** A React component that will be placed to the right in the modal header */
2005
+ rightButton?: React.ReactNode;
2006
+ /** Determines if the drawer is open or closed */
2007
+ isOpen: boolean;
2008
+ /** Function that will be called when the drawer closes */
2009
+ onClose: () => void;
2010
+ /** Props for drawer body */
2011
+ body?: DrawerBodyProps;
2012
+ };
2013
+ declare const FullScreenDrawer: ({ children, title, placement, leftButton, rightButton, isOpen, onClose, body, }: FullScreenDrawerProps) => React.JSX.Element;
2006
2014
 
2007
2015
  type TooltipProps = PopoverProps & {
2008
2016
  /**
@@ -5908,6 +5916,11 @@ declare const theme: {
5908
5916
  RadioCard: {
5909
5917
  baseStyle?: ((props: any) => {
5910
5918
  container: {
5919
+ overflow: string;
5920
+ fontSize: string;
5921
+ display: string;
5922
+ cursor: string;
5923
+ borderRadius: string;
5911
5924
  transitionProperty: string;
5912
5925
  transitionDuration: string;
5913
5926
  _disabled: {
@@ -5925,18 +5938,6 @@ declare const theme: {
5925
5938
  backgroundColor: string;
5926
5939
  pointerEvents: string;
5927
5940
  };
5928
- _focusVisible: {
5929
- outlineWidth: string;
5930
- outlineColor: string;
5931
- outlineStyle: string;
5932
- outlineOffset: string;
5933
- };
5934
- border: string;
5935
- overflow: string;
5936
- fontSize: string;
5937
- display: string;
5938
- cursor: string;
5939
- borderRadius: string;
5940
5941
  };
5941
5942
  checked: {
5942
5943
  backgroundColor: string;
@@ -5952,7 +5953,7 @@ declare const theme: {
5952
5953
  }) | undefined;
5953
5954
  sizes?: {
5954
5955
  [key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
5955
- keys: ("container" | "checked" | "radioInput")[];
5956
+ keys: ("container" | "checked" | "radioInput" | "focused" | "focusedChecked")[];
5956
5957
  }>;
5957
5958
  } | undefined;
5958
5959
  variants?: {
@@ -5980,9 +5981,6 @@ declare const theme: {
5980
5981
  outlineColor: string;
5981
5982
  backgroundColor: string;
5982
5983
  };
5983
- _focus: {
5984
- outlineColor: string;
5985
- };
5986
5984
  outlineWidth: string;
5987
5985
  outlineColor: string;
5988
5986
  outlineStyle: string;
@@ -6012,9 +6010,6 @@ declare const theme: {
6012
6010
  outlineColor: string;
6013
6011
  backgroundColor: string;
6014
6012
  };
6015
- _focus: {
6016
- outlineColor: string;
6017
- };
6018
6013
  outline: string;
6019
6014
  outlineColor: string;
6020
6015
  backgroundColor: string;
@@ -6041,12 +6036,30 @@ declare const theme: {
6041
6036
  outlineColor: string;
6042
6037
  backgroundColor: string;
6043
6038
  };
6044
- _focus: {
6039
+ };
6040
+ focusedChecked: {
6041
+ outlineOffset: string;
6042
+ outlineColor: string;
6043
+ outline: string;
6044
+ outlineStyle: string;
6045
+ };
6046
+ focused: {
6047
+ outlineOffset: string;
6048
+ boxShadow: string;
6049
+ _hover: {
6050
+ boxShadow: string;
6045
6051
  outlineOffset: string;
6052
+ outlineWidth: string;
6046
6053
  outlineColor: string;
6047
- outline: string;
6048
6054
  outlineStyle: string;
6055
+ } | {
6056
+ boxShadow: string;
6057
+ outlineOffset: string;
6058
+ outline: string;
6059
+ outlineColor: string;
6049
6060
  };
6061
+ outlineColor: string;
6062
+ outline: string;
6050
6063
  };
6051
6064
  };
6052
6065
  floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
@@ -6063,9 +6076,6 @@ declare const theme: {
6063
6076
  outlineColor: string;
6064
6077
  backgroundColor: string;
6065
6078
  };
6066
- _focus: {
6067
- outlineColor: string;
6068
- };
6069
6079
  outline: string;
6070
6080
  outlineColor: string;
6071
6081
  backgroundColor: string;
@@ -6081,12 +6091,24 @@ declare const theme: {
6081
6091
  outlineColor: string;
6082
6092
  backgroundColor: string;
6083
6093
  };
6084
- _focus: {
6094
+ };
6095
+ focusedChecked: {
6096
+ outlineOffset: string;
6097
+ outlineColor: string;
6098
+ outline: string;
6099
+ outlineStyle: string;
6100
+ };
6101
+ focused: {
6102
+ outlineOffset: string;
6103
+ boxShadow: string;
6104
+ _hover: {
6105
+ boxShadow: string;
6085
6106
  outlineOffset: string;
6086
- outlineColor: string;
6087
6107
  outline: string;
6088
- outlineStyle: string;
6108
+ outlineColor: string;
6089
6109
  };
6110
+ outlineColor: string;
6111
+ outline: string;
6090
6112
  };
6091
6113
  };
6092
6114
  } | undefined;
@@ -6095,7 +6117,7 @@ declare const theme: {
6095
6117
  variant?: "base" | "floating" | undefined;
6096
6118
  colorScheme?: string | undefined;
6097
6119
  } | undefined;
6098
- parts: ("container" | "checked" | "radioInput")[];
6120
+ parts: ("container" | "checked" | "radioInput" | "focused" | "focusedChecked")[];
6099
6121
  };
6100
6122
  Radio: {
6101
6123
  baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
@@ -9550,4 +9572,4 @@ declare const Text: _chakra_ui_system_dist_system_types.ComponentWithAs<"p", Tex
9550
9572
  **/
9551
9573
  declare function slugify(text: string | string[], maxLength?: number): string;
9552
9574
 
9553
- export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, FullScreenDrawer, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, Nudge, NudgeProps, NumericStepper, Pagination, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton, PressableCard, PrideProvider, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardGroupContext, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, SearchInput, SearchInputProps, SimpleDrawer, SimpleDrawerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkipButton, SpinnerProps, SporProvider, Stack, StackProps, StaticAlert, StaticCard, StaticCardProps, Stepper, StepperStep, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, Text, TextLink, TextProps, Textarea, TextareaProps, TimePicker, ToastOptions, TogglePride, Tooltip, TooltipProps, Translations, TravelTag, TravelTagProps, VyLogo, VyLogoDefault, VyLogoDefaultProps, VyLogoPride, VyLogoPrideProps, VyLogoProps, WizardNudge, WizardNudgeProps, brandTheme, createTexts, fontFaces, slugify, theme, usePride, useToast, useTranslation };
9575
+ export { Accordion, AccordionProps, AttachedInputs, Badge, BadgeProps, Brand, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Card, CardProps, CardSelect, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceChip, ChoiceChipProps, ClosableAlert, CloseButton, CloseButtonProps, Code, CodeProps, ColorInlineLoader, ColorInlineLoaderProps, ColorSpinner, ColorSpinnerProps, Combobox, ComboboxProps, ContentLoader, ContentLoaderProps, DarkFullScreenLoader, DarkInlineLoader, DarkInlineLoaderProps, DarkSpinner, DarkSpinnerProps, DatePicker, DateRangePicker, Divider, DividerProps, Drawer, DrawerBodyProps, DrawerContent, ModalHeader as DrawerHeader, Expandable, ExpandableAlert, ExpandableItem, ExpandableItemProps, FloatingActionButton, FormControl, FormControlProps, FormErrorMessage, FormErrorMessageProps, FormLabel, FormLabelProps, FullScreenDrawer, Heading, HeadingProps, IconButton, IconButtonProps, InfoSelect, InfoTag, InfoTagProps, Input, InputElementProps, InputLeftElement, InputProps, InputRightElement, ItemDescription, ItemLabel, JumpButton, Language, LanguageProvider, LightFullScreenLoader, LightInlineLoader, LightInlineLoaderProps, LightSpinner, LightSpinnerProps, LineIcon, LineIconProps, ListBox, ModalHeader, ModalHeaderProps, NativeSelect, NativeSelectProps, Nudge, NudgeProps, NumericStepper, Pagination, PasswordInput, PasswordInputProps, PhoneNumberInput, PlayPauseButton, PressableCard, PrideProvider, ProgressBar, ProgressIndicator, ProgressLoader, Radio, RadioCard, RadioCardGroup, RadioCardGroupContext, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, SearchInput, SearchInputProps, SimpleDrawer, SimpleDrawerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkipButton, SpinnerProps, SporProvider, Stack, StackProps, StaticAlert, StaticCard, StaticCardProps, Stepper, StepperStep, Switch, SwitchProps, Table, TableProps, Tabs, TabsProps, Text, TextLink, TextProps, Textarea, TextareaProps, TimePicker, ToastOptions, TogglePride, Tooltip, TooltipProps, Translations, TravelTag, TravelTagProps, VyLogo, VyLogoDefault, VyLogoDefaultProps, VyLogoPride, VyLogoPrideProps, VyLogoProps, WizardNudge, WizardNudgeProps, brandTheme, createTexts, fontFaces, slugify, theme, usePride, useToast, useTranslation };