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

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 (59) 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/components/Tabs/TabsList.js +2 -3
  4. package/dist/cjs/components/Tabs/TabsPanel.js +13 -3
  5. package/dist/cjs/components/Tabs/TabsTab.js +3 -4
  6. package/dist/cjs/index.js +2 -0
  7. package/dist/cjs/utilities/RovingFocus/RovingFocusRoot.js +1 -1
  8. package/dist/cjs/utilities/hooks/usePrevious/usePrevious.js +14 -0
  9. package/dist/esm/components/Combobox/Combobox.js +1 -1
  10. package/dist/esm/components/Combobox/internal/ComboboxChips.js +1 -1
  11. package/dist/esm/components/Tabs/TabsList.js +2 -3
  12. package/dist/esm/components/Tabs/TabsPanel.js +14 -4
  13. package/dist/esm/components/Tabs/TabsTab.js +3 -4
  14. package/dist/esm/index.js +1 -0
  15. package/dist/esm/utilities/RovingFocus/RovingFocusRoot.js +1 -1
  16. package/dist/esm/utilities/hooks/usePrevious/usePrevious.js +12 -0
  17. package/dist/types/components/Chip/Chips.d.ts +2 -2
  18. package/dist/types/components/Chip/Chips.d.ts.map +1 -1
  19. package/dist/types/components/Chip/index.d.ts +2 -2
  20. package/dist/types/components/Combobox/ComboboxContext.d.ts +1 -1
  21. package/dist/types/components/Combobox/ComboboxContext.d.ts.map +1 -1
  22. package/dist/types/components/Combobox/Option/Option.d.ts +2 -2
  23. package/dist/types/components/Combobox/Option/Option.d.ts.map +1 -1
  24. package/dist/types/components/Combobox/Option/useComboboxOption.d.ts +4 -6
  25. package/dist/types/components/Combobox/Option/useComboboxOption.d.ts.map +1 -1
  26. package/dist/types/components/Combobox/useFloatingCombobox.d.ts +2 -2
  27. package/dist/types/components/Combobox/useFloatingCombobox.d.ts.map +1 -1
  28. package/dist/types/components/Input/Input.d.ts +14 -6
  29. package/dist/types/components/Input/Input.d.ts.map +1 -1
  30. package/dist/types/components/Modal/ModalTrigger.d.ts +4 -2
  31. package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
  32. package/dist/types/components/Modal/ModalTriggerContext.d.ts +1 -1
  33. package/dist/types/components/Modal/ModalTriggerContext.d.ts.map +1 -1
  34. package/dist/types/components/Modal/index.d.ts +4 -2
  35. package/dist/types/components/Modal/index.d.ts.map +1 -1
  36. package/dist/types/components/Popover/Popover.d.ts +1 -1
  37. package/dist/types/components/Search/SearchInput.d.ts +1 -1
  38. package/dist/types/components/Search/index.d.ts +1 -1
  39. package/dist/types/components/Switch/Switch.d.ts +1 -1
  40. package/dist/types/components/Switch/Switch.d.ts.map +1 -1
  41. package/dist/types/components/Tabs/TabsList.d.ts.map +1 -1
  42. package/dist/types/components/Tabs/TabsPanel.d.ts.map +1 -1
  43. package/dist/types/components/Tabs/TabsTab.d.ts.map +1 -1
  44. package/dist/types/components/Textfield/Textfield.d.ts +7 -1
  45. package/dist/types/components/Textfield/Textfield.d.ts.map +1 -1
  46. package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
  47. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +1 -14
  48. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
  49. package/dist/types/utilities/hooks/index.d.ts +1 -0
  50. package/dist/types/utilities/hooks/index.d.ts.map +1 -1
  51. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts +325 -6
  52. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts.map +1 -1
  53. package/dist/types/utilities/hooks/usePrevious/usePrevious.d.ts +2 -0
  54. package/dist/types/utilities/hooks/usePrevious/usePrevious.d.ts.map +1 -0
  55. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts +327 -13
  56. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts.map +1 -1
  57. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts +1 -1
  58. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -1
  59. package/package.json +8 -8
@@ -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)
@@ -2,7 +2,6 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
- var cl = require('clsx/lite');
6
5
  var react = require('react');
7
6
  var Tabs = require('./Tabs.js');
8
7
  var RovingFocusRoot = require('../../utilities/RovingFocus/RovingFocusRoot.js');
@@ -17,9 +16,9 @@ var RovingFocusRoot = require('../../utilities/RovingFocus/RovingFocusRoot.js');
17
16
  * </Tabs.List>
18
17
  * ```
19
18
  */
20
- const TabsList = react.forwardRef(function TabsList({ children, className, ...rest }, ref) {
19
+ const TabsList = react.forwardRef(function TabsList({ children, ...rest }, ref) {
21
20
  const { value } = react.useContext(Tabs.Context);
22
- return (jsxRuntime.jsx(RovingFocusRoot.RovingFocusRoot, { role: 'tablist', activeValue: value, className: cl('ds-tabs__tablist', className), orientation: 'ambiguous', ref: ref, ...rest, children: children }));
21
+ return (jsxRuntime.jsx(RovingFocusRoot.RovingFocusRoot, { role: 'tablist', activeValue: value, orientation: 'ambiguous', ref: ref, ...rest, children: children }));
23
22
  });
24
23
 
25
24
  exports.TabsList = TabsList;
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
- var cl = require('clsx/lite');
6
5
  var react = require('react');
6
+ var react$1 = require('@floating-ui/react');
7
7
  var Tabs = require('./Tabs.js');
8
8
 
9
9
  /**
@@ -13,10 +13,20 @@ var Tabs = require('./Tabs.js');
13
13
  * <Tabs.Panel value='1'>content 1</Tabs.Panel>
14
14
  * ```
15
15
  */
16
- const TabsPanel = react.forwardRef(function TabsPanel({ children, value, className, ...rest }, ref) {
16
+ const TabsPanel = react.forwardRef(function TabsPanel({ children, value, ...rest }, ref) {
17
17
  const { value: tabsValue } = react.useContext(Tabs.Context);
18
18
  const active = value === tabsValue;
19
- return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: active && (jsxRuntime.jsx("div", { className: cl('ds-tabs__panel', className), ref: ref, ...rest, children: children })) }));
19
+ const [hasTabbableElement, setHasTabbableElement] = react.useState(false);
20
+ const internalRef = react.useRef(null);
21
+ const mergedRef = react$1.useMergeRefs([ref, internalRef]);
22
+ /* Check if the panel has any tabbable elements */
23
+ react.useEffect(() => {
24
+ if (!internalRef.current)
25
+ return;
26
+ const tabbableElements = internalRef.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
27
+ setHasTabbableElement(tabbableElements.length > 0);
28
+ }, [children]);
29
+ return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: active && (jsxRuntime.jsx("div", { ref: mergedRef, role: 'tabpanel', tabIndex: hasTabbableElement ? undefined : 0, ...rest, children: children })) }));
20
30
  });
21
31
 
22
32
  exports.TabsPanel = TabsPanel;
@@ -2,7 +2,6 @@
2
2
  'use strict';
3
3
 
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
- var cl = require('clsx/lite');
6
5
  var react = require('react');
7
6
  var RovingFocusItem = require('../../utilities/RovingFocus/RovingFocusItem.js');
8
7
  var Tabs = require('./Tabs.js');
@@ -12,10 +11,10 @@ var Tabs = require('./Tabs.js');
12
11
  * @example
13
12
  * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
14
13
  */
15
- const TabsTab = react.forwardRef(function TabsTab({ className, value, ...rest }, ref) {
14
+ const TabsTab = react.forwardRef(function TabsTab({ value, id, ...rest }, ref) {
16
15
  const tabs = react.useContext(Tabs.Context);
17
- const buttonId = `tab-${react.useId()}`;
18
- return (jsxRuntime.jsx(RovingFocusItem.RovingFocusItem, { value: value, ...rest, asChild: true, children: jsxRuntime.jsx("button", { ...rest, "aria-selected": tabs.value === value, className: cl('ds-tabs__tab', className), id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
16
+ const buttonId = id ?? `tab-${react.useId()}`;
17
+ return (jsxRuntime.jsx(RovingFocusItem.RovingFocusItem, { value: value, ...rest, asChild: true, children: jsxRuntime.jsx("button", { ...rest, "aria-selected": tabs.value === value, id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
19
18
  });
20
19
 
21
20
  exports.TabsTab = TabsTab;
package/dist/cjs/index.js CHANGED
@@ -95,6 +95,7 @@ var useCheckboxGroup = require('./utilities/hooks/useCheckboxGroup/useCheckboxGr
95
95
  var useDebounceCallback = require('./utilities/hooks/useDebounceCallback/useDebounceCallback.js');
96
96
  var useIsomorphicLayoutEffect = require('./utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js');
97
97
  var useMediaQuery = require('./utilities/hooks/useMediaQuery/useMediaQuery.js');
98
+ var usePrevious = require('./utilities/hooks/usePrevious/usePrevious.js');
98
99
  var useRadioGroup = require('./utilities/hooks/useRadioGroup/useRadioGroup.js');
99
100
  var useSynchronizedAnimation = require('./utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js');
100
101
  var RovingFocusRoot = require('./utilities/RovingFocus/RovingFocusRoot.js');
@@ -202,6 +203,7 @@ exports.useCheckboxGroup = useCheckboxGroup.useCheckboxGroup;
202
203
  exports.useDebounceCallback = useDebounceCallback.useDebounceCallback;
203
204
  exports.useIsomorphicLayoutEffect = useIsomorphicLayoutEffect.useIsomorphicLayoutEffect;
204
205
  exports.useMediaQuery = useMediaQuery.useMediaQuery;
206
+ exports.usePrevious = usePrevious.usePrevious;
205
207
  exports.useRadioGroup = useRadioGroup.useRadioGroup;
206
208
  exports.useSynchronizedAnimation = useSynchronizedAnimation.useSynchronizedAnimation;
207
209
  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(null);
26
+ const myRef = react.useRef();
27
27
  const refs = react$1.useMergeRefs([ref, myRef]);
28
28
  const getOrderedItems = () => {
29
29
  if (!myRef.current)
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ var react = require('react');
5
+
6
+ function usePrevious(value) {
7
+ const ref = react.useRef();
8
+ react.useEffect(() => {
9
+ ref.current = value;
10
+ }, [value]);
11
+ return ref.current;
12
+ }
13
+
14
+ exports.usePrevious = usePrevious;
@@ -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)
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import cl from 'clsx/lite';
4
3
  import { forwardRef, useContext } from 'react';
5
4
  import { Context } from './Tabs.js';
6
5
  import { RovingFocusRoot } from '../../utilities/RovingFocus/RovingFocusRoot.js';
@@ -15,9 +14,9 @@ import { RovingFocusRoot } from '../../utilities/RovingFocus/RovingFocusRoot.js'
15
14
  * </Tabs.List>
16
15
  * ```
17
16
  */
18
- const TabsList = forwardRef(function TabsList({ children, className, ...rest }, ref) {
17
+ const TabsList = forwardRef(function TabsList({ children, ...rest }, ref) {
19
18
  const { value } = useContext(Context);
20
- return (jsx(RovingFocusRoot, { role: 'tablist', activeValue: value, className: cl('ds-tabs__tablist', className), orientation: 'ambiguous', ref: ref, ...rest, children: children }));
19
+ return (jsx(RovingFocusRoot, { role: 'tablist', activeValue: value, orientation: 'ambiguous', ref: ref, ...rest, children: children }));
21
20
  });
22
21
 
23
22
  export { TabsList };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsx, Fragment } from 'react/jsx-runtime';
3
- import cl from 'clsx/lite';
4
- import { forwardRef, useContext } from 'react';
3
+ import { forwardRef, useContext, useState, useRef, useEffect } from 'react';
4
+ import { useMergeRefs } from '@floating-ui/react';
5
5
  import { Context } from './Tabs.js';
6
6
 
7
7
  /**
@@ -11,10 +11,20 @@ import { Context } from './Tabs.js';
11
11
  * <Tabs.Panel value='1'>content 1</Tabs.Panel>
12
12
  * ```
13
13
  */
14
- const TabsPanel = forwardRef(function TabsPanel({ children, value, className, ...rest }, ref) {
14
+ const TabsPanel = forwardRef(function TabsPanel({ children, value, ...rest }, ref) {
15
15
  const { value: tabsValue } = useContext(Context);
16
16
  const active = value === tabsValue;
17
- return (jsx(Fragment, { children: active && (jsx("div", { className: cl('ds-tabs__panel', className), ref: ref, ...rest, children: children })) }));
17
+ const [hasTabbableElement, setHasTabbableElement] = useState(false);
18
+ const internalRef = useRef(null);
19
+ const mergedRef = useMergeRefs([ref, internalRef]);
20
+ /* Check if the panel has any tabbable elements */
21
+ useEffect(() => {
22
+ if (!internalRef.current)
23
+ return;
24
+ const tabbableElements = internalRef.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
25
+ setHasTabbableElement(tabbableElements.length > 0);
26
+ }, [children]);
27
+ return (jsx(Fragment, { children: active && (jsx("div", { ref: mergedRef, role: 'tabpanel', tabIndex: hasTabbableElement ? undefined : 0, ...rest, children: children })) }));
18
28
  });
19
29
 
20
30
  export { TabsPanel };
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import cl from 'clsx/lite';
4
3
  import { forwardRef, useContext, useId } from 'react';
5
4
  import { RovingFocusItem } from '../../utilities/RovingFocus/RovingFocusItem.js';
6
5
  import { Context } from './Tabs.js';
@@ -10,10 +9,10 @@ import { Context } from './Tabs.js';
10
9
  * @example
11
10
  * <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
12
11
  */
13
- const TabsTab = forwardRef(function TabsTab({ className, value, ...rest }, ref) {
12
+ const TabsTab = forwardRef(function TabsTab({ value, id, ...rest }, ref) {
14
13
  const tabs = useContext(Context);
15
- const buttonId = `tab-${useId()}`;
16
- return (jsx(RovingFocusItem, { value: value, ...rest, asChild: true, children: jsx("button", { ...rest, "aria-selected": tabs.value === value, className: cl('ds-tabs__tab', className), id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
14
+ const buttonId = id ?? `tab-${useId()}`;
15
+ return (jsx(RovingFocusItem, { value: value, ...rest, asChild: true, children: jsx("button", { ...rest, "aria-selected": tabs.value === value, id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
17
16
  });
18
17
 
19
18
  export { TabsTab };
package/dist/esm/index.js CHANGED
@@ -93,6 +93,7 @@ export { useCheckboxGroup } from './utilities/hooks/useCheckboxGroup/useCheckbox
93
93
  export { useDebounceCallback } from './utilities/hooks/useDebounceCallback/useDebounceCallback.js';
94
94
  export { useIsomorphicLayoutEffect } from './utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.js';
95
95
  export { useMediaQuery } from './utilities/hooks/useMediaQuery/useMediaQuery.js';
96
+ export { usePrevious } from './utilities/hooks/usePrevious/usePrevious.js';
96
97
  export { useRadioGroup } from './utilities/hooks/useRadioGroup/useRadioGroup.js';
97
98
  export { useSynchronizedAnimation } from './utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.js';
98
99
  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(null);
24
+ const myRef = useRef();
25
25
  const refs = useMergeRefs([ref, myRef]);
26
26
  const getOrderedItems = () => {
27
27
  if (!myRef.current)
@@ -0,0 +1,12 @@
1
+ 'use client';
2
+ import { useRef, useEffect } from 'react';
3
+
4
+ function usePrevious(value) {
5
+ const ref = useRef();
6
+ useEffect(() => {
7
+ ref.current = value;
8
+ }, [value]);
9
+ return ref.current;
10
+ }
11
+
12
+ export { usePrevious };
@@ -30,13 +30,13 @@ export declare const ChipRemovable: React.ForwardRefExoticComponent<Omit<Default
30
30
  * <Chip.Checkbox name="language" value="nynorsk">Nynorsk</Chip.Checkbox>
31
31
  * <Chip.Checkbox name="language" value="bokmål">Bokmål</Chip.Checkbox>
32
32
  */
33
- export declare const ChipCheckbox: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
33
+ export declare const ChipCheckbox: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
34
34
  /**
35
35
  * Chip.Radio used for single selection
36
36
  * @example
37
37
  * <Chip.Radio name="language" value="nynorsk">Nynorsk</Chip.Radio>
38
38
  * <Chip.Radio name="language" value="bokmål">Bokmål</Chip.Radio>
39
39
  */
40
- export declare const ChipRadio: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
40
+ export declare const ChipRadio: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
41
41
  export {};
42
42
  //# sourceMappingURL=Chips.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chips.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,KAAK,aAAa,GAAG;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG,UAAU,CACtC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD,aAAa,CACd,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3E,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,mKAatB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,mKAIzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,uLA2BxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uLAIrB,CAAC"}
1
+ {"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chips.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,KAAK,aAAa,GAAG;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG,UAAU,CACtC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD,aAAa,CACd,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3E,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,mKAatB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,mKAIzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,uLA4BxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uLAIrB,CAAC"}
@@ -3,10 +3,10 @@ declare const Chip: {
3
3
  Button: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "asChild"> & {
4
4
  asChild?: boolean;
5
5
  } & React.RefAttributes<HTMLButtonElement>>;
6
- Checkbox: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, "asChild"> & {
6
+ Checkbox: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & {
7
7
  asChild?: boolean;
8
8
  } & React.RefAttributes<HTMLLabelElement>>;
9
- Radio: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type">, "asChild"> & {
9
+ Radio: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & {
10
10
  asChild?: boolean;
11
11
  } & React.RefAttributes<HTMLLabelElement>>;
12
12
  Removable: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "asChild"> & {
@@ -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 | null>;
22
+ inputRef: RefObject<HTMLInputElement>;
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;AAEhE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,EAAE,WAAW,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IACjD,QAAQ,EAAE,WAAW,CAAC,aAAa,CA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,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.NamedExoticComponent<{
17
+ declare const ComboboxOption: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
18
18
  /**
19
19
  * The value returned when the option is selected
20
20
  */
@@ -28,7 +28,7 @@ declare const ComboboxOption: React.NamedExoticComponent<{
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;qFAoEtB,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;sFAoEtB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C"}
@@ -1,17 +1,15 @@
1
1
  import type { Ref } from 'react';
2
- import type { Option } from '../useCombobox';
3
2
  type UseComboboxOptionProps = {
4
3
  id?: string;
5
4
  ref: Ref<HTMLButtonElement>;
6
5
  value: string;
7
6
  };
8
- type UseComboboxOptionReturn = {
7
+ export declare const useComboboxOption: ({ id, ref, value, }: UseComboboxOptionProps) => {
9
8
  id: string;
10
- ref: Ref<HTMLButtonElement>;
11
- selected: Option;
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;
12
11
  active: boolean;
13
- onOptionClick: () => void;
12
+ onOptionClick: (...args: never[]) => void;
14
13
  };
15
- export declare const useComboboxOption: ({ id, ref, value, }: UseComboboxOptionProps) => UseComboboxOptionReturn;
16
14
  export {};
17
15
  //# 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;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"}
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"}
@@ -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: React.MutableRefObject<HTMLElement | null>;
11
+ floating: 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: React.MutableRefObject<import("@floating-ui/react").ContextData>;
28
+ dataRef: 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;;;;;;kBAwEw0N,MAAO,gBAAgB;;;;;;;;;;;;;wBAA5X,MAAO,aAAa;;;;iBAAoe,MAAO,gBAAgB;;;;;;oCAA6yxB,MAAO,SAAS;mCAA0E,MAAO,SAAS;oCAAgF,MAAM,SAAS;;;;CADhjgC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuExE,CAAC"}
@@ -2,9 +2,13 @@ import type { InputHTMLAttributes } from 'react';
2
2
  import type { DefaultProps } from '../../types';
3
3
  import type { MergeRight } from '../../utilities';
4
4
  type InputAttr = InputHTMLAttributes<HTMLInputElement>;
5
- export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix'>, {
6
- /** Supported `input` types */
7
- type?: InputAttr['type'];
5
+ export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix' | 'type'>, {
6
+ /**
7
+ * Supported `input` types
8
+ *
9
+ * @default 'text'
10
+ * */
11
+ type?: 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
8
12
  /** Defines the width of `Input` in count of characters.
9
13
  */
10
14
  size?: number;
@@ -24,9 +28,13 @@ export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix'>, {
24
28
  * <Input />
25
29
  * ```
26
30
  */
27
- export declare const Input: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputAttr, "prefix">, "disabled" | "readOnly" | "size" | "type" | "role"> & {
28
- /** Supported `input` types */
29
- type?: InputAttr["type"];
31
+ export declare const Input: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputAttr, "prefix" | "type">, "type" | "disabled" | "readOnly" | "size" | "role"> & {
32
+ /**
33
+ * Supported `input` types
34
+ *
35
+ * @default 'text'
36
+ * */
37
+ type?: "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "month" | "number" | "password" | "radio" | "search" | "tel" | "text" | "time" | "url" | "week";
30
38
  /** Defines the width of `Input` in count of characters.
31
39
  */
32
40
  size?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,SAAS,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,EACxC;IACE,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB;OACG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC1B,CACF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;IAvBd,8BAA8B;WACvB,SAAS,CAAC,MAAM,CAAC;IACxB;OACG;WACI,MAAM;IACb;;OAEG;eACQ,OAAO;IAClB,wBAAwB;eACb,OAAO;IAClB,yDAAyD;WAClD,SAAS,CAAC,MAAM,CAAC;0CA4B1B,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,SAAS,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,EACjD;IACE;;;;SAIK;IACL,IAAI,CAAC,EACD,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GAER,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GAGP,QAAQ,GAER,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;IAEX;OACG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC1B,CACF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;IAjDd;;;;SAIK;WAED,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GAER,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GAGP,QAAQ,GAER,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM;IAEV;OACG;WACI,MAAM;IACb;;OAEG;eACQ,OAAO;IAClB,wBAAwB;eACb,OAAO;IAClB,yDAAyD;WAClD,SAAS,CAAC,MAAM,CAAC;0CA4B1B,CAAC"}
@@ -1,11 +1,13 @@
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<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
4
+ export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<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"> & React.RefAttributes<HTMLButtonElement>>;
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>>;
11
13
  //# 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;;;;;;4FAcxB,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;;;;;;;;mDAcxB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode, RefObject } from 'react';
2
- export declare const Context: React.Context<RefObject<HTMLDialogElement | null>>;
2
+ export declare const Context: React.Context<RefObject<HTMLDialogElement>>;
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,oDAElB,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,6CAElB,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAE/D,eAAO,MAAM,mBAAmB;mBAAkB,wBAAwB;;CAIzE,CAAC"}
@@ -14,13 +14,15 @@ 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<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "asChild" | "variant" | "icon" | "loading"> & {
17
+ Trigger: React.ForwardRefExoticComponent<Omit<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"> & React.RefAttributes<HTMLButtonElement>>;
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>>;
24
26
  };
25
27
  export type { ModalBlockProps } from './ModalBlock';
26
28
  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" | "open" | "placement" | "onClose" | "onOpen" | "autoPlacement"> & {
47
+ export declare const Popover: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "id" | "asChild" | "placement" | "open" | "onClose" | "onOpen" | "autoPlacement"> & {
48
48
  /**
49
49
  * id to connect the trigger with the popover - required when used without Popover.Context.
50
50
  */
@@ -1,4 +1,4 @@
1
1
  import type { DefaultProps } from '../../types';
2
2
  export type SearchInputProps = DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'type'>;
3
- export declare const SearchInput: React.ForwardRefExoticComponent<DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "readOnly" | "type"> & React.RefAttributes<HTMLInputElement>>;
3
+ export declare const SearchInput: React.ForwardRefExoticComponent<DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "readOnly"> & React.RefAttributes<HTMLInputElement>>;
4
4
  //# sourceMappingURL=SearchInput.d.ts.map
@@ -24,7 +24,7 @@ declare const Search: React.ForwardRefExoticComponent<import("../../types").Defa
24
24
  asChild?: boolean;
25
25
  type?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"];
26
26
  } & React.RefAttributes<HTMLButtonElement>>;
27
- Input: React.ForwardRefExoticComponent<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "readOnly" | "type"> & React.RefAttributes<HTMLInputElement>>;
27
+ Input: React.ForwardRefExoticComponent<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "readOnly"> & React.RefAttributes<HTMLInputElement>>;
28
28
  };
29
29
  export type { SearchProps } from './Search';
30
30
  export type { SearchButtonProps } from './SearchButton';
@@ -3,7 +3,7 @@ import type { DefaultProps, LabelRequired } from '../../types';
3
3
  import type { MergeRight } from '../../utilities';
4
4
  import { type FieldProps } from '../Field';
5
5
  import { type InputProps } from '../Input';
6
- export type SwitchProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, {
6
+ export type SwitchProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'>, {
7
7
  /** Optional aria-label */
8
8
  'aria-label'?: string;
9
9
  /** Radio label */
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,KAAK,EAA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,CAAC,EAAE,SAAS,CAAC;IAClB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;CACnC,GAAG,aAAa,CAClB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,sFAyBjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,sFAiBpB,CAAC"}
1
+ {"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,sFAgBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,cAAc,GAAG;IAC3B,yFAAyF;IACzF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;IAXpB,yFAAyF;WAClF,MAAM;wFAyBd,CAAC"}
1
+ {"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,cAAc,GAAG;IAC3B,yFAAyF;IACzF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;IAXpB,yFAAyF;WAClF,MAAM;wFA4Cd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,YAAY,GAAG;IACzB,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,OAAO;IATlB,sFAAsF;WAC/E,MAAM;8FA4Bd,CAAC"}
1
+ {"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,YAAY,GAAG;IACzB,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,OAAO;IATlB,sFAAsF;WAC/E,MAAM;8FA2Bd,CAAC"}