@digdir/designsystemet-react 1.0.0-next.45 → 1.0.0-next.45-test-react19

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.
Files changed (47) hide show
  1. package/dist/cjs/components/Combobox/Combobox.js +1 -1
  2. package/dist/cjs/components/Combobox/internal/ComboboxChips.js +1 -1
  3. package/dist/cjs/index.js +0 -4
  4. package/dist/cjs/utilities/RovingFocus/RovingFocusRoot.js +1 -1
  5. package/dist/esm/components/Combobox/Combobox.js +1 -1
  6. package/dist/esm/components/Combobox/internal/ComboboxChips.js +1 -1
  7. package/dist/esm/index.js +0 -2
  8. package/dist/esm/utilities/RovingFocus/RovingFocusRoot.js +1 -1
  9. package/dist/types/components/Combobox/ComboboxContext.d.ts +1 -1
  10. package/dist/types/components/Combobox/ComboboxContext.d.ts.map +1 -1
  11. package/dist/types/components/Combobox/Option/Option.d.ts +2 -2
  12. package/dist/types/components/Combobox/Option/Option.d.ts.map +1 -1
  13. package/dist/types/components/Combobox/Option/useComboboxOption.d.ts +6 -4
  14. package/dist/types/components/Combobox/Option/useComboboxOption.d.ts.map +1 -1
  15. package/dist/types/components/Combobox/useFloatingCombobox.d.ts +2 -2
  16. package/dist/types/components/Combobox/useFloatingCombobox.d.ts.map +1 -1
  17. package/dist/types/components/Modal/ModalTrigger.d.ts +2 -4
  18. package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
  19. package/dist/types/components/Modal/ModalTriggerContext.d.ts +1 -1
  20. package/dist/types/components/Modal/ModalTriggerContext.d.ts.map +1 -1
  21. package/dist/types/components/Modal/index.d.ts +2 -4
  22. package/dist/types/components/Modal/index.d.ts.map +1 -1
  23. package/dist/types/components/Popover/Popover.d.ts +1 -1
  24. package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
  25. package/dist/types/components/index.d.ts +0 -1
  26. package/dist/types/components/index.d.ts.map +1 -1
  27. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +14 -1
  28. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
  29. package/dist/types/utilities/hooks/index.d.ts +0 -1
  30. package/dist/types/utilities/hooks/index.d.ts.map +1 -1
  31. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts +6 -325
  32. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts.map +1 -1
  33. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts +13 -327
  34. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts.map +1 -1
  35. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +1 -1
  36. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -1
  37. package/package.json +8 -8
  38. package/dist/cjs/components/HelpText/HelpText.js +0 -13
  39. package/dist/cjs/utilities/hooks/usePrevious/usePrevious.js +0 -14
  40. package/dist/esm/components/HelpText/HelpText.js +0 -11
  41. package/dist/esm/utilities/hooks/usePrevious/usePrevious.js +0 -12
  42. package/dist/types/components/HelpText/HelpText.d.ts +0 -27
  43. package/dist/types/components/HelpText/HelpText.d.ts.map +0 -1
  44. package/dist/types/components/HelpText/index.d.ts +0 -3
  45. package/dist/types/components/HelpText/index.d.ts.map +0 -1
  46. package/dist/types/utilities/hooks/usePrevious/usePrevious.d.ts +0 -2
  47. package/dist/types/utilities/hooks/usePrevious/usePrevious.d.ts.map +0 -1
@@ -178,7 +178,7 @@ const ComboboxComponent = react.forwardRef(({ value, initialValue = [], onValueC
178
178
  setListRef: (index, node) => {
179
179
  listRef.current[index] = node;
180
180
  },
181
- }, children: [jsxRuntime.jsxs("div", { className: cl('ds-combobox', `ds-combobox--${size}`, disabled && 'ds-combobox__disabled', className), style: style, ref: portalRef, children: [name && (jsxRuntime.jsx(ComboboxNative, { name: name, selectedOptions: selectedOptions, multiple: multiple })), jsxRuntime.jsx(ComboboxLabel, { label: label, description: description, size: size, readOnly: readOnly, hideLabel: hideLabel, formFieldProps: formFieldProps }), jsxRuntime.jsx(ComboboxInput, { ...omit.omit(['inputValue'], rest), hideClearButton: hideClearButton, listId: context.floatingId, error: error, hideChips: hideChips, handleKeyDown: handleKeyDown, "aria-busy": loading }), jsxRuntime.jsx(ComboboxError, { size: size, error: error, formFieldProps: formFieldProps })] }), open && (jsxRuntime.jsx(react$1.FloatingPortal, { root: portal ? null : portalRef, children: jsxRuntime.jsx(react$1.FloatingFocusManager, { context: context, initialFocus: -1, visuallyHiddenDismiss: true, children: jsxRuntime.jsxs("div", { "aria-labelledby": formFieldProps.inputProps.id, "aria-autocomplete": 'list', tabIndex: -1, ...getFloatingProps({
181
+ }, children: [jsxRuntime.jsxs("div", { className: cl('ds-combobox', `ds-combobox--${size}`, disabled && 'ds-combobox__disabled', className), style: style, ref: portalRef, children: [name && (jsxRuntime.jsx(ComboboxNative, { name: name, selectedOptions: selectedOptions, multiple: multiple })), jsxRuntime.jsx(ComboboxLabel, { label: label, description: description, size: size, readOnly: readOnly, hideLabel: hideLabel, formFieldProps: formFieldProps }), jsxRuntime.jsx(ComboboxInput, { ...omit.omit(['inputValue'], rest), hideClearButton: hideClearButton, listId: context.floatingId || '', error: error, hideChips: hideChips, handleKeyDown: handleKeyDown, "aria-busy": loading }), jsxRuntime.jsx(ComboboxError, { size: size, error: error, formFieldProps: formFieldProps })] }), open && (jsxRuntime.jsx(react$1.FloatingPortal, { root: portal ? null : portalRef, children: jsxRuntime.jsx(react$1.FloatingFocusManager, { context: context, initialFocus: -1, visuallyHiddenDismiss: true, children: jsxRuntime.jsxs("div", { "aria-labelledby": formFieldProps.inputProps.id, "aria-autocomplete": 'list', tabIndex: -1, ...getFloatingProps({
182
182
  ref: refs.setFloating,
183
183
  style: {
184
184
  ...floatingStyles,
@@ -25,7 +25,7 @@ const ComboboxChips = () => {
25
25
  option: selectedOptions[value],
26
26
  remove: true,
27
27
  });
28
- inputRef.current?.focus();
28
+ inputRef?.current?.focus();
29
29
  }
30
30
  }, onClick: () => {
31
31
  if (readOnly)
package/dist/cjs/index.js CHANGED
@@ -9,7 +9,6 @@ var index$1 = require('./components/Breadcrumbs/index.js');
9
9
  var BreadcrumbsList = require('./components/Breadcrumbs/BreadcrumbsList.js');
10
10
  var BreadcrumbsItem = require('./components/Breadcrumbs/BreadcrumbsItem.js');
11
11
  var BreadcrumbsLink = require('./components/Breadcrumbs/BreadcrumbsLink.js');
12
- var HelpText = require('./components/HelpText/HelpText.js');
13
12
  var Spinner = require('./components/Spinner/Spinner.js');
14
13
  var Skeleton = require('./components/Skeleton/Skeleton.js');
15
14
  var Link = require('./components/Link/Link.js');
@@ -96,7 +95,6 @@ var useCheckboxGroup = require('./utilities/hooks/useCheckboxGroup/useCheckboxGr
96
95
  var useDebounceCallback = require('./utilities/hooks/useDebounceCallback/useDebounceCallback.js');
97
96
  var useIsomorphicLayoutEffect = require('./utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js');
98
97
  var useMediaQuery = require('./utilities/hooks/useMediaQuery/useMediaQuery.js');
99
- var usePrevious = require('./utilities/hooks/usePrevious/usePrevious.js');
100
98
  var useRadioGroup = require('./utilities/hooks/useRadioGroup/useRadioGroup.js');
101
99
  var useSynchronizedAnimation = require('./utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js');
102
100
  var RovingFocusRoot = require('./utilities/RovingFocus/RovingFocusRoot.js');
@@ -113,7 +111,6 @@ exports.Breadcrumbs = index$1.Breadcrumbs;
113
111
  exports.BreadcrumbsList = BreadcrumbsList.BreadcrumbsList;
114
112
  exports.BreadcrumbsItem = BreadcrumbsItem.BreadcrumbsItem;
115
113
  exports.BreadcrumbsLink = BreadcrumbsLink.BreadcrumbsLink;
116
- exports.HelpText = HelpText.HelpText;
117
114
  exports.Spinner = Spinner.Spinner;
118
115
  exports.Skeleton = Skeleton.Skeleton;
119
116
  exports.Link = Link.Link;
@@ -205,7 +202,6 @@ exports.useCheckboxGroup = useCheckboxGroup.useCheckboxGroup;
205
202
  exports.useDebounceCallback = useDebounceCallback.useDebounceCallback;
206
203
  exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect.useIsomorphicLayoutEffect;
207
204
  exports.useMediaQuery = useMediaQuery.useMediaQuery;
208
- exports.usePrevious = usePrevious.usePrevious;
209
205
  exports.useRadioGroup = useRadioGroup.useRadioGroup;
210
206
  exports.useSynchronizedAnimation = useSynchronizedAnimation.useSynchronizedAnimation;
211
207
  exports.RovingFocusRoot = RovingFocusRoot.RovingFocusRoot;
@@ -23,7 +23,7 @@ const RovingFocusRoot = react.forwardRef(({ activeValue, asChild, orientation =
23
23
  const [focusableValue, setFocusableValue] = react.useState(null);
24
24
  const [isShiftTabbing, setIsShiftTabbing] = react.useState(false);
25
25
  const elements = react.useRef(new Map());
26
- const myRef = react.useRef();
26
+ const myRef = react.useRef(null);
27
27
  const refs = react$1.useMergeRefs([ref, myRef]);
28
28
  const getOrderedItems = () => {
29
29
  if (!myRef.current)
@@ -176,7 +176,7 @@ const ComboboxComponent = forwardRef(({ value, initialValue = [], onValueChange,
176
176
  setListRef: (index, node) => {
177
177
  listRef.current[index] = node;
178
178
  },
179
- }, children: [jsxs("div", { className: cl('ds-combobox', `ds-combobox--${size}`, disabled && 'ds-combobox__disabled', className), style: style, ref: portalRef, children: [name && (jsx(ComboboxNative, { name: name, selectedOptions: selectedOptions, multiple: multiple })), jsx(ComboboxLabel, { label: label, description: description, size: size, readOnly: readOnly, hideLabel: hideLabel, formFieldProps: formFieldProps }), jsx(ComboboxInput, { ...omit(['inputValue'], rest), hideClearButton: hideClearButton, listId: context.floatingId, error: error, hideChips: hideChips, handleKeyDown: handleKeyDown, "aria-busy": loading }), jsx(ComboboxError, { size: size, error: error, formFieldProps: formFieldProps })] }), open && (jsx(FloatingPortal, { root: portal ? null : portalRef, children: jsx(FloatingFocusManager, { context: context, initialFocus: -1, visuallyHiddenDismiss: true, children: jsxs("div", { "aria-labelledby": formFieldProps.inputProps.id, "aria-autocomplete": 'list', tabIndex: -1, ...getFloatingProps({
179
+ }, children: [jsxs("div", { className: cl('ds-combobox', `ds-combobox--${size}`, disabled && 'ds-combobox__disabled', className), style: style, ref: portalRef, children: [name && (jsx(ComboboxNative, { name: name, selectedOptions: selectedOptions, multiple: multiple })), jsx(ComboboxLabel, { label: label, description: description, size: size, readOnly: readOnly, hideLabel: hideLabel, formFieldProps: formFieldProps }), jsx(ComboboxInput, { ...omit(['inputValue'], rest), hideClearButton: hideClearButton, listId: context.floatingId || '', error: error, hideChips: hideChips, handleKeyDown: handleKeyDown, "aria-busy": loading }), jsx(ComboboxError, { size: size, error: error, formFieldProps: formFieldProps })] }), open && (jsx(FloatingPortal, { root: portal ? null : portalRef, children: jsx(FloatingFocusManager, { context: context, initialFocus: -1, visuallyHiddenDismiss: true, children: jsxs("div", { "aria-labelledby": formFieldProps.inputProps.id, "aria-autocomplete": 'list', tabIndex: -1, ...getFloatingProps({
180
180
  ref: refs.setFloating,
181
181
  style: {
182
182
  ...floatingStyles,
@@ -23,7 +23,7 @@ const ComboboxChips = () => {
23
23
  option: selectedOptions[value],
24
24
  remove: true,
25
25
  });
26
- inputRef.current?.focus();
26
+ inputRef?.current?.focus();
27
27
  }
28
28
  }, onClick: () => {
29
29
  if (readOnly)
package/dist/esm/index.js CHANGED
@@ -7,7 +7,6 @@ export { Breadcrumbs } from './components/Breadcrumbs/index.js';
7
7
  export { BreadcrumbsList } from './components/Breadcrumbs/BreadcrumbsList.js';
8
8
  export { BreadcrumbsItem } from './components/Breadcrumbs/BreadcrumbsItem.js';
9
9
  export { BreadcrumbsLink } from './components/Breadcrumbs/BreadcrumbsLink.js';
10
- export { HelpText } from './components/HelpText/HelpText.js';
11
10
  export { Spinner } from './components/Spinner/Spinner.js';
12
11
  export { Skeleton } from './components/Skeleton/Skeleton.js';
13
12
  export { Link } from './components/Link/Link.js';
@@ -94,7 +93,6 @@ export { useCheckboxGroup } from './utilities/hooks/useCheckboxGroup/useCheckbox
94
93
  export { useDebounceCallback } from './utilities/hooks/useDebounceCallback/useDebounceCallback.js';
95
94
  export { useIsomorphicLayoutEffect } from './utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
96
95
  export { useMediaQuery } from './utilities/hooks/useMediaQuery/useMediaQuery.js';
97
- export { usePrevious } from './utilities/hooks/usePrevious/usePrevious.js';
98
96
  export { useRadioGroup } from './utilities/hooks/useRadioGroup/useRadioGroup.js';
99
97
  export { useSynchronizedAnimation } from './utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js';
100
98
  export { RovingFocusRoot } from './utilities/RovingFocus/RovingFocusRoot.js';
@@ -21,7 +21,7 @@ const RovingFocusRoot = forwardRef(({ activeValue, asChild, orientation = 'horiz
21
21
  const [focusableValue, setFocusableValue] = useState(null);
22
22
  const [isShiftTabbing, setIsShiftTabbing] = useState(false);
23
23
  const elements = useRef(new Map());
24
- const myRef = useRef();
24
+ const myRef = useRef(null);
25
25
  const refs = useMergeRefs([ref, myRef]);
26
26
  const getOrderedItems = () => {
27
27
  if (!myRef.current)
@@ -19,7 +19,7 @@ export type ComboboxContextType = {
19
19
  size: NonNullable<ComboboxProps['size']>;
20
20
  formFieldProps: ReturnType<typeof useFormField>;
21
21
  refs: UseFloatingReturn['refs'];
22
- inputRef: RefObject<HTMLInputElement>;
22
+ inputRef: RefObject<HTMLInputElement | null>;
23
23
  open: boolean;
24
24
  inputValue: string;
25
25
  customIds: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxContext.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/ComboboxContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AA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C,aAAa,CAAC,CAAC,CAAC;IACvD,kBAAkB,EAAE,CAAC,IAAI,EAAE;QACzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,KAAK,IAAI,CAAC;IACX,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,YAAY,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACpC,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,eAAe,gDAE3B,CAAC"}
@@ -14,7 +14,7 @@ export type ComboboxOptionProps = {
14
14
  */
15
15
  displayValue?: string;
16
16
  } & ButtonHTMLAttributes<HTMLButtonElement>;
17
- declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
17
+ declare const ComboboxOption: React.NamedExoticComponent<{
18
18
  /**
19
19
  * The value returned when the option is selected
20
20
  */
@@ -28,7 +28,7 @@ declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticCo
28
28
  * Required if children is not composed of strings only.
29
29
  */
30
30
  displayValue?: string;
31
- } & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>>;
31
+ } & ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
32
32
  export { ComboboxOption };
33
33
  export declare function isComboboxOption(child: ReactNode): child is ReactElement<ComboboxOptionProps>;
34
34
  //# sourceMappingURL=Option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/Option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU3E,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,QAAA,MAAM,cAAc;IAflB;;OAEG;WACI,MAAM;IACb;;OAEG;kBACW,MAAM;IACpB;;;OAGG;mBACY,MAAM;sFAoEtB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/Option.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAU3E,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,QAAA,MAAM,cAAc;IAflB;;OAEG;WACI,MAAM;IACb;;OAEG;kBACW,MAAM;IACpB;;;OAGG;mBACY,MAAM;qFAoEtB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C"}
@@ -1,15 +1,17 @@
1
1
  import type { Ref } from 'react';
2
+ import type { Option } from '../useCombobox';
2
3
  type UseComboboxOptionProps = {
3
4
  id?: string;
4
5
  ref: Ref<HTMLButtonElement>;
5
6
  value: string;
6
7
  };
7
- export declare const useComboboxOption: ({ id, ref, value, }: UseComboboxOptionProps) => {
8
+ type UseComboboxOptionReturn = {
8
9
  id: string;
9
- ref: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | null;
10
- selected: import("../useCombobox").Option;
10
+ ref: Ref<HTMLButtonElement>;
11
+ selected: Option;
11
12
  active: boolean;
12
- onOptionClick: (...args: never[]) => void;
13
+ onOptionClick: () => void;
13
14
  };
15
+ export declare const useComboboxOption: ({ id, ref, value, }: UseComboboxOptionProps) => UseComboboxOptionReturn;
14
16
  export {};
15
17
  //# sourceMappingURL=useComboboxOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useComboboxOption.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/useComboboxOption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAOjC,KAAK,sBAAsB,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,iBAAiB,wBAI3B,sBAAsB;;;;;;CAuDxB,CAAC"}
1
+ {"version":3,"file":"useComboboxOption.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/useComboboxOption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG7C,KAAK,sBAAsB,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,wBAI3B,sBAAsB,KAAG,uBAuD3B,CAAC"}
@@ -8,7 +8,7 @@ export declare const useFloatingCombobox: ({ listRef }: UseFloatingComboboxProps
8
8
  activeIndex: number;
9
9
  refs: {
10
10
  reference: MutableRefObject<import("@floating-ui/react-dom").ReferenceType | null>;
11
- floating: MutableRefObject<HTMLElement | null>;
11
+ floating: React.MutableRefObject<HTMLElement | null>;
12
12
  setReference: (node: import("@floating-ui/react-dom").ReferenceType | null) => void;
13
13
  setFloating: (node: HTMLElement | null) => void;
14
14
  } & import("@floating-ui/react").ExtendedRefs<HTMLInputElement>;
@@ -25,7 +25,7 @@ export declare const useFloatingCombobox: ({ listRef }: UseFloatingComboboxProps
25
25
  open: boolean;
26
26
  onOpenChange: (open: boolean, event?: Event, reason?: import("@floating-ui/react").OpenChangeReason) => void;
27
27
  events: import("@floating-ui/react").FloatingEvents;
28
- dataRef: MutableRefObject<import("@floating-ui/react").ContextData>;
28
+ dataRef: React.MutableRefObject<import("@floating-ui/react").ContextData>;
29
29
  nodeId: string | undefined;
30
30
  floatingId: string;
31
31
  refs: import("@floating-ui/react").ExtendedRefs<HTMLInputElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"useFloatingCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/useFloatingCombobox.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAK9C,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,gBAAgB,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,gBAAiB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuExE,CAAC"}
1
+ {"version":3,"file":"useFloatingCombobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/useFloatingCombobox.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAK9C,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,gBAAgB,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,mBAAmB,gBAAiB,wBAAwB;;;;;;kBAwEw0N,MAAO,gBAAgB;;;;;;;;;;;;;wBAA5X,MAAO,aAAa;;;;iBAAoe,MAAO,gBAAgB;;;;;;oCAA6yxB,MAAO,SAAS;mCAA0E,MAAO,SAAS;oCAAgF,MAAM,SAAS;;;;CADhjgC,CAAC"}
@@ -1,13 +1,11 @@
1
1
  import type { ComponentPropsWithRef } from 'react';
2
2
  import { Button } from '../Button/Button';
3
3
  export type ModalTriggerProps = ComponentPropsWithRef<typeof Button>;
4
- export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
4
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
5
5
  variant?: "primary" | "secondary" | "tertiary";
6
6
  icon?: boolean;
7
7
  loading?: boolean;
8
8
  asChild?: boolean;
9
9
  type?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"];
10
- } & React.RefAttributes<HTMLButtonElement>, "ref"> & {
11
- ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
12
- }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
+ } & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
13
11
  //# sourceMappingURL=ModalTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,YAAY;;;;;;;;mDAcxB,CAAC"}
1
+ {"version":3,"file":"ModalTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAG1C,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,CAAC,OAAO,MAAM,CAAC,CAAC;AAErE,eAAO,MAAM,YAAY;;;;;;4FAcxB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode, RefObject } from 'react';
2
- export declare const Context: React.Context<RefObject<HTMLDialogElement>>;
2
+ export declare const Context: React.Context<RefObject<HTMLDialogElement | null>>;
3
3
  export type ModalTriggerContextProps = {
4
4
  children: ReactNode;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTriggerContext.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTriggerContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,OAAO,6CAElB,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAE/D,eAAO,MAAM,mBAAmB;mBAAkB,wBAAwB;;CAIzE,CAAC"}
1
+ {"version":3,"file":"ModalTriggerContext.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/ModalTriggerContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,OAAO,oDAElB,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAE/D,eAAO,MAAM,mBAAmB;mBAAkB,wBAAwB;;CAIzE,CAAC"}
@@ -14,15 +14,13 @@ declare const Modal: React.ForwardRefExoticComponent<Omit<import("../../types").
14
14
  ({ children }: import("./ModalTriggerContext").ModalTriggerContextProps): import("react/jsx-runtime").JSX.Element;
15
15
  displayName: string;
16
16
  };
17
- Trigger: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
17
+ Trigger: React.ForwardRefExoticComponent<Omit<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
18
18
  variant?: "primary" | "secondary" | "tertiary";
19
19
  icon?: boolean;
20
20
  loading?: boolean;
21
21
  asChild?: boolean;
22
22
  type?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"];
23
- } & React.RefAttributes<HTMLButtonElement>, "ref"> & {
24
- ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
25
- }, "ref"> & React.RefAttributes<HTMLButtonElement>>;
23
+ } & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
26
24
  };
27
25
  export type { ModalBlockProps } from './ModalBlock';
28
26
  export type { ModalTriggerContextProps } from './ModalTriggerContext';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;CAIT,CAAC;AAMH,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;CAIT,CAAC;AAMH,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,CAAC"}
@@ -44,7 +44,7 @@ export type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivEleme
44
44
  autoPlacement?: boolean;
45
45
  asChild?: boolean;
46
46
  }>;
47
- export declare const Popover: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "id" | "asChild" | "placement" | "open" | "onOpen" | "onClose" | "autoPlacement"> & {
47
+ export declare const Popover: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "id" | "asChild" | "open" | "placement" | "onClose" | "onOpen" | "autoPlacement"> & {
48
48
  /**
49
49
  * id to connect the trigger with the popover - required when used without Popover.Context.
50
50
  */
@@ -34,7 +34,7 @@ export type TooltipProps = MergeRight<Omit<DefaultProps, 'data-color'> & HTMLAtt
34
34
  * Hover me
35
35
  * </Tooltip>
36
36
  */
37
- export declare const Tooltip: React.ForwardRefExoticComponent<Omit<Omit<DefaultProps, "data-color"> & HTMLAttributes<HTMLDivElement>, "content" | "children" | "placement" | "open"> & {
37
+ export declare const Tooltip: React.ForwardRefExoticComponent<Omit<Omit<DefaultProps, "data-color"> & HTMLAttributes<HTMLDivElement>, "content" | "children" | "open" | "placement"> & {
38
38
  /**
39
39
  * The element or string that triggers the tooltip.
40
40
  *
@@ -2,7 +2,6 @@ export * from './Avatar';
2
2
  export * from './Button';
3
3
  export * from './Badge';
4
4
  export * from './Breadcrumbs';
5
- export * from './HelpText';
6
5
  export * from './Spinner';
7
6
  export * from './Skeleton';
8
7
  export * from './Link';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;A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,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -15,12 +15,14 @@ export declare const useRovingFocus: (value: string) => {
15
15
  suppressContentEditableWarning?: boolean | undefined;
16
16
  suppressHydrationWarning?: boolean | undefined;
17
17
  accessKey?: string | undefined;
18
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
18
19
  autoFocus?: boolean | undefined;
19
20
  className?: string | undefined;
20
21
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
21
22
  contextMenu?: string | undefined;
22
23
  dir?: string | undefined;
23
24
  draggable?: (boolean | "true" | "false") | undefined;
25
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
24
26
  hidden?: boolean | undefined;
25
27
  id?: string | undefined;
26
28
  lang?: string | undefined;
@@ -43,7 +45,6 @@ export declare const useRovingFocus: (value: string) => {
43
45
  rev?: string | undefined;
44
46
  typeof?: string | undefined;
45
47
  vocab?: string | undefined;
46
- autoCapitalize?: string | undefined;
47
48
  autoCorrect?: string | undefined;
48
49
  autoSave?: string | undefined;
49
50
  color?: string | undefined;
@@ -55,6 +56,10 @@ export declare const useRovingFocus: (value: string) => {
55
56
  results?: number | undefined;
56
57
  security?: string | undefined;
57
58
  unselectable?: "on" | "off" | undefined;
59
+ popover?: "" | "auto" | "manual" | undefined;
60
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
61
+ popoverTarget?: string | undefined;
62
+ inert?: boolean | undefined;
58
63
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
59
64
  is?: string | undefined;
60
65
  popovertarget?: string;
@@ -273,8 +278,16 @@ export declare const useRovingFocus: (value: string) => {
273
278
  onAnimationEndCapture?: React.AnimationEventHandler<T> | undefined;
274
279
  onAnimationIteration?: React.AnimationEventHandler<T> | undefined;
275
280
  onAnimationIterationCapture?: React.AnimationEventHandler<T> | undefined;
281
+ onToggle?: React.ToggleEventHandler<T> | undefined;
282
+ onBeforeToggle?: React.ToggleEventHandler<T> | undefined;
283
+ onTransitionCancel?: React.TransitionEventHandler<T> | undefined;
284
+ onTransitionCancelCapture?: React.TransitionEventHandler<T> | undefined;
276
285
  onTransitionEnd?: React.TransitionEventHandler<T> | undefined;
277
286
  onTransitionEndCapture?: React.TransitionEventHandler<T> | undefined;
287
+ onTransitionRun?: React.TransitionEventHandler<T> | undefined;
288
+ onTransitionRunCapture?: React.TransitionEventHandler<T> | undefined;
289
+ onTransitionStart?: React.TransitionEventHandler<T> | undefined;
290
+ onTransitionStartCapture?: React.TransitionEventHandler<T> | undefined;
278
291
  };
279
292
  };
280
293
  //# sourceMappingURL=useRovingFocus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRovingFocus.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/useRovingFocus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,wEAAwE;AACxE,eAAO,MAAM,cAAc,UAAW,MAAM;;;;qBAcvB,CAAC,SAAS,WAAW,SAAS,cAAc,CAAC,CAAC,CAAC;uBAE/C,WAAW,GAAG,IAAI;uBAOlB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;qBAOxB,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQrC,CAAC"}
1
+ {"version":3,"file":"useRovingFocus.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/useRovingFocus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,wEAAwE;AACxE,eAAO,MAAM,cAAc,UAAW,MAAM;;;;qBAcvB,CAAC,SAAS,WAAW,SAAS,cAAc,CAAC,CAAC,CAAC;uBAE/C,WAAW,GAAG,IAAI;uBAOlB,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;qBAOxB,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQrC,CAAC"}
@@ -2,7 +2,6 @@ export { useCheckboxGroup } from './useCheckboxGroup/useCheckboxGroup';
2
2
  export { useDebounceCallback } from './useDebounceCallback/useDebounceCallback';
3
3
  export { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect/useIsomorphicLayoutEffect';
4
4
  export { useMediaQuery } from './useMediaQuery/useMediaQuery';
5
- export { usePrevious } from './usePrevious/usePrevious';
6
5
  export { useRadioGroup } from './useRadioGroup/useRadioGroup';
7
6
  export { useSynchronizedAnimation } from './useSynchronizedAnimation/useSynchronizedAnimation';
8
7
  export type { UseRadioGroupProps } from './useRadioGroup/useRadioGroup';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAE/F,YAAY,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,YAAY,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC"}