@digdir/designsystemet-react 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/dist/cjs/components/button/button.js +1 -1
  2. package/dist/cjs/components/suggestion/suggestion.js +3 -3
  3. package/dist/cjs/components/textfield/textfield.js +1 -1
  4. package/dist/cjs/utilities/hooks/use-pagination/use-pagination.js +2 -2
  5. package/dist/esm/components/button/button.js +1 -1
  6. package/dist/esm/components/suggestion/suggestion.js +3 -3
  7. package/dist/esm/components/textfield/textfield.js +1 -1
  8. package/dist/esm/utilities/hooks/use-pagination/use-pagination.js +2 -2
  9. package/dist/types/components/Combobox/Combobox.d.ts +4 -4
  10. package/dist/types/components/Combobox/Combobox.d.ts.map +1 -1
  11. package/dist/types/components/Combobox/ComboboxContext.d.ts +1 -1
  12. package/dist/types/components/Combobox/ComboboxContext.d.ts.map +1 -1
  13. package/dist/types/components/Combobox/ComboboxIdContext.d.ts +2 -2
  14. package/dist/types/components/Combobox/ComboboxIdContext.d.ts.map +1 -1
  15. package/dist/types/components/Combobox/Custom.d.ts +1 -1
  16. package/dist/types/components/Combobox/Custom.d.ts.map +1 -1
  17. package/dist/types/components/Combobox/Empty.d.ts +1 -1
  18. package/dist/types/components/Combobox/Empty.d.ts.map +1 -1
  19. package/dist/types/components/Combobox/Option/Description.d.ts +1 -1
  20. package/dist/types/components/Combobox/Option/Description.d.ts.map +1 -1
  21. package/dist/types/components/Combobox/Option/Option.d.ts +2 -2
  22. package/dist/types/components/Combobox/Option/Option.d.ts.map +1 -1
  23. package/dist/types/components/Combobox/internal/ComboboxClearButton.d.ts +1 -1
  24. package/dist/types/components/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  25. package/dist/types/components/Combobox/useCombobox.d.ts +3 -3
  26. package/dist/types/components/Combobox/useFormField/FieldsetContext.d.ts +1 -1
  27. package/dist/types/components/Combobox/useFormField/FieldsetContext.d.ts.map +1 -1
  28. package/dist/types/components/alert/alert.d.ts +2 -2
  29. package/dist/types/components/alert/alert.d.ts.map +1 -1
  30. package/dist/types/components/avatar/avatar.d.ts +1 -1
  31. package/dist/types/components/avatar/avatar.d.ts.map +1 -1
  32. package/dist/types/components/badge/badge-position.d.ts +2 -2
  33. package/dist/types/components/badge/badge-position.d.ts.map +1 -1
  34. package/dist/types/components/badge/badge.d.ts +2 -2
  35. package/dist/types/components/badge/badge.d.ts.map +1 -1
  36. package/dist/types/components/badge/index.d.ts +4 -4
  37. package/dist/types/components/breadcrumbs/breadcrumbs-item.d.ts +1 -1
  38. package/dist/types/components/breadcrumbs/breadcrumbs-item.d.ts.map +1 -1
  39. package/dist/types/components/breadcrumbs/breadcrumbs-link.d.ts +3 -3
  40. package/dist/types/components/breadcrumbs/breadcrumbs-link.d.ts.map +1 -1
  41. package/dist/types/components/breadcrumbs/breadcrumbs-list.d.ts +1 -1
  42. package/dist/types/components/breadcrumbs/breadcrumbs-list.d.ts.map +1 -1
  43. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
  44. package/dist/types/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  45. package/dist/types/components/button/button.d.ts +4 -2
  46. package/dist/types/components/button/button.d.ts.map +1 -1
  47. package/dist/types/components/card/card-block.d.ts +2 -2
  48. package/dist/types/components/card/card-block.d.ts.map +1 -1
  49. package/dist/types/components/card/card.d.ts +2 -2
  50. package/dist/types/components/card/card.d.ts.map +1 -1
  51. package/dist/types/components/checkbox/checkbox.d.ts +1 -1
  52. package/dist/types/components/checkbox/checkbox.d.ts.map +1 -1
  53. package/dist/types/components/chip/chips.d.ts +4 -4
  54. package/dist/types/components/chip/chips.d.ts.map +1 -1
  55. package/dist/types/components/details/details-content.d.ts +1 -1
  56. package/dist/types/components/details/details-content.d.ts.map +1 -1
  57. package/dist/types/components/details/details-summary.d.ts +2 -2
  58. package/dist/types/components/details/details-summary.d.ts.map +1 -1
  59. package/dist/types/components/details/details.d.ts +1 -1
  60. package/dist/types/components/details/details.d.ts.map +1 -1
  61. package/dist/types/components/dialog/dialog-block.d.ts +2 -2
  62. package/dist/types/components/dialog/dialog-block.d.ts.map +1 -1
  63. package/dist/types/components/dialog/dialog-trigger-context.d.ts +1 -1
  64. package/dist/types/components/dialog/dialog-trigger-context.d.ts.map +1 -1
  65. package/dist/types/components/dialog/dialog-trigger.d.ts +4 -4
  66. package/dist/types/components/dialog/dialog-trigger.d.ts.map +1 -1
  67. package/dist/types/components/dialog/dialog.d.ts +2 -2
  68. package/dist/types/components/dialog/dialog.d.ts.map +1 -1
  69. package/dist/types/components/divider/divider.d.ts +1 -1
  70. package/dist/types/components/divider/divider.d.ts.map +1 -1
  71. package/dist/types/components/dropdown/dropdown-button.d.ts +1 -1
  72. package/dist/types/components/dropdown/dropdown-button.d.ts.map +1 -1
  73. package/dist/types/components/dropdown/dropdown-heading.d.ts +2 -2
  74. package/dist/types/components/dropdown/dropdown-heading.d.ts.map +1 -1
  75. package/dist/types/components/dropdown/dropdown-item.d.ts +1 -1
  76. package/dist/types/components/dropdown/dropdown-item.d.ts.map +1 -1
  77. package/dist/types/components/dropdown/dropdown-list.d.ts +1 -1
  78. package/dist/types/components/dropdown/dropdown-list.d.ts.map +1 -1
  79. package/dist/types/components/dropdown/dropdown-trigger.d.ts +1 -1
  80. package/dist/types/components/dropdown/dropdown-trigger.d.ts.map +1 -1
  81. package/dist/types/components/dropdown/dropdown.d.ts +2 -2
  82. package/dist/types/components/dropdown/dropdown.d.ts.map +1 -1
  83. package/dist/types/components/error-summary/error-summary-heading.d.ts +2 -2
  84. package/dist/types/components/error-summary/error-summary-heading.d.ts.map +1 -1
  85. package/dist/types/components/error-summary/error-summary-item.d.ts +2 -2
  86. package/dist/types/components/error-summary/error-summary-item.d.ts.map +1 -1
  87. package/dist/types/components/error-summary/error-summary-link.d.ts +3 -3
  88. package/dist/types/components/error-summary/error-summary-link.d.ts.map +1 -1
  89. package/dist/types/components/error-summary/error-summary-list.d.ts +2 -2
  90. package/dist/types/components/error-summary/error-summary-list.d.ts.map +1 -1
  91. package/dist/types/components/error-summary/error-summary.d.ts +3 -3
  92. package/dist/types/components/error-summary/error-summary.d.ts.map +1 -1
  93. package/dist/types/components/field/field-affix.d.ts +2 -2
  94. package/dist/types/components/field/field-affix.d.ts.map +1 -1
  95. package/dist/types/components/field/field-counter.d.ts +3 -3
  96. package/dist/types/components/field/field-counter.d.ts.map +1 -1
  97. package/dist/types/components/field/field-description.d.ts +1 -1
  98. package/dist/types/components/field/field-description.d.ts.map +1 -1
  99. package/dist/types/components/field/field.d.ts +2 -2
  100. package/dist/types/components/field/field.d.ts.map +1 -1
  101. package/dist/types/components/fieldset/fieldset-description.d.ts +2 -2
  102. package/dist/types/components/fieldset/fieldset-description.d.ts.map +1 -1
  103. package/dist/types/components/fieldset/fieldset-legend.d.ts +1 -1
  104. package/dist/types/components/fieldset/fieldset-legend.d.ts.map +1 -1
  105. package/dist/types/components/fieldset/fieldset.d.ts +1 -1
  106. package/dist/types/components/fieldset/fieldset.d.ts.map +1 -1
  107. package/dist/types/components/heading/heading.d.ts +2 -2
  108. package/dist/types/components/heading/heading.d.ts.map +1 -1
  109. package/dist/types/components/input/input.d.ts +2 -2
  110. package/dist/types/components/input/input.d.ts.map +1 -1
  111. package/dist/types/components/label/label.d.ts +2 -2
  112. package/dist/types/components/label/label.d.ts.map +1 -1
  113. package/dist/types/components/link/link.d.ts +2 -2
  114. package/dist/types/components/link/link.d.ts.map +1 -1
  115. package/dist/types/components/list/list-item.d.ts +2 -2
  116. package/dist/types/components/list/list-item.d.ts.map +1 -1
  117. package/dist/types/components/list/lists.d.ts +4 -4
  118. package/dist/types/components/list/lists.d.ts.map +1 -1
  119. package/dist/types/components/pagination/pagination-button.d.ts +2 -2
  120. package/dist/types/components/pagination/pagination-button.d.ts.map +1 -1
  121. package/dist/types/components/pagination/pagination-item.d.ts +2 -2
  122. package/dist/types/components/pagination/pagination-item.d.ts.map +1 -1
  123. package/dist/types/components/pagination/pagination-list.d.ts +2 -2
  124. package/dist/types/components/pagination/pagination-list.d.ts.map +1 -1
  125. package/dist/types/components/pagination/pagination.d.ts +2 -2
  126. package/dist/types/components/pagination/pagination.d.ts.map +1 -1
  127. package/dist/types/components/paragraph/paragraph.d.ts +2 -2
  128. package/dist/types/components/paragraph/paragraph.d.ts.map +1 -1
  129. package/dist/types/components/popover/popover-trigger-context.d.ts +1 -1
  130. package/dist/types/components/popover/popover-trigger.d.ts +1 -1
  131. package/dist/types/components/popover/popover-trigger.d.ts.map +1 -1
  132. package/dist/types/components/popover/popover.d.ts +2 -2
  133. package/dist/types/components/popover/popover.d.ts.map +1 -1
  134. package/dist/types/components/radio/radio.d.ts +1 -1
  135. package/dist/types/components/radio/radio.d.ts.map +1 -1
  136. package/dist/types/components/search/search-button.d.ts +3 -3
  137. package/dist/types/components/search/search-button.d.ts.map +1 -1
  138. package/dist/types/components/search/search-clear.d.ts +2 -2
  139. package/dist/types/components/search/search-clear.d.ts.map +1 -1
  140. package/dist/types/components/search/search-input.d.ts +1 -1
  141. package/dist/types/components/search/search-input.d.ts.map +1 -1
  142. package/dist/types/components/search/search.d.ts +1 -1
  143. package/dist/types/components/search/search.d.ts.map +1 -1
  144. package/dist/types/components/select/select-optgroup.d.ts +2 -2
  145. package/dist/types/components/select/select-optgroup.d.ts.map +1 -1
  146. package/dist/types/components/select/select-option.d.ts +2 -2
  147. package/dist/types/components/select/select-option.d.ts.map +1 -1
  148. package/dist/types/components/select/select.d.ts +2 -2
  149. package/dist/types/components/select/select.d.ts.map +1 -1
  150. package/dist/types/components/skeleton/skeleton.d.ts +2 -2
  151. package/dist/types/components/skeleton/skeleton.d.ts.map +1 -1
  152. package/dist/types/components/skip-link/skip-link.d.ts +2 -2
  153. package/dist/types/components/skip-link/skip-link.d.ts.map +1 -1
  154. package/dist/types/components/spinner/spinner.d.ts +1 -1
  155. package/dist/types/components/spinner/spinner.d.ts.map +1 -1
  156. package/dist/types/components/suggestion/suggestion-clear.d.ts +2 -2
  157. package/dist/types/components/suggestion/suggestion-clear.d.ts.map +1 -1
  158. package/dist/types/components/suggestion/suggestion-empty.d.ts +1 -1
  159. package/dist/types/components/suggestion/suggestion-empty.d.ts.map +1 -1
  160. package/dist/types/components/suggestion/suggestion-input.d.ts +3 -3
  161. package/dist/types/components/suggestion/suggestion-input.d.ts.map +1 -1
  162. package/dist/types/components/suggestion/suggestion-list.d.ts +2 -2
  163. package/dist/types/components/suggestion/suggestion-list.d.ts.map +1 -1
  164. package/dist/types/components/suggestion/suggestion-option.d.ts +1 -1
  165. package/dist/types/components/suggestion/suggestion-option.d.ts.map +1 -1
  166. package/dist/types/components/suggestion/suggestion.d.ts +2 -2
  167. package/dist/types/components/suggestion/suggestion.d.ts.map +1 -1
  168. package/dist/types/components/switch/switch.d.ts +1 -1
  169. package/dist/types/components/switch/switch.d.ts.map +1 -1
  170. package/dist/types/components/table/table-body.d.ts +1 -1
  171. package/dist/types/components/table/table-body.d.ts.map +1 -1
  172. package/dist/types/components/table/table-cell.d.ts +1 -1
  173. package/dist/types/components/table/table-cell.d.ts.map +1 -1
  174. package/dist/types/components/table/table-foot.d.ts +1 -1
  175. package/dist/types/components/table/table-foot.d.ts.map +1 -1
  176. package/dist/types/components/table/table-head.d.ts +1 -1
  177. package/dist/types/components/table/table-head.d.ts.map +1 -1
  178. package/dist/types/components/table/table-header-cell.d.ts +2 -2
  179. package/dist/types/components/table/table-header-cell.d.ts.map +1 -1
  180. package/dist/types/components/table/table-row.d.ts +1 -1
  181. package/dist/types/components/table/table-row.d.ts.map +1 -1
  182. package/dist/types/components/table/table.d.ts +2 -2
  183. package/dist/types/components/table/table.d.ts.map +1 -1
  184. package/dist/types/components/tabs/tabs-list.d.ts +1 -1
  185. package/dist/types/components/tabs/tabs-list.d.ts.map +1 -1
  186. package/dist/types/components/tabs/tabs-panel.d.ts +2 -2
  187. package/dist/types/components/tabs/tabs-panel.d.ts.map +1 -1
  188. package/dist/types/components/tabs/tabs-tab.d.ts +2 -2
  189. package/dist/types/components/tabs/tabs-tab.d.ts.map +1 -1
  190. package/dist/types/components/tabs/tabs.d.ts +3 -3
  191. package/dist/types/components/tabs/tabs.d.ts.map +1 -1
  192. package/dist/types/components/tag/tag.d.ts +2 -2
  193. package/dist/types/components/tag/tag.d.ts.map +1 -1
  194. package/dist/types/components/textarea/textarea.d.ts +1 -1
  195. package/dist/types/components/textarea/textarea.d.ts.map +1 -1
  196. package/dist/types/components/textfield/textfield.d.ts +1 -1
  197. package/dist/types/components/textfield/textfield.d.ts.map +1 -1
  198. package/dist/types/components/toggle-group/toggle-group-item.d.ts +2 -2
  199. package/dist/types/components/toggle-group/toggle-group-item.d.ts.map +1 -1
  200. package/dist/types/components/toggle-group/toggle-group.d.ts +3 -3
  201. package/dist/types/components/toggle-group/toggle-group.d.ts.map +1 -1
  202. package/dist/types/components/tooltip/tooltip.d.ts +1 -1
  203. package/dist/types/components/validation-message/validation-message.d.ts +2 -2
  204. package/dist/types/components/validation-message/validation-message.d.ts.map +1 -1
  205. package/dist/types/utilities/hooks/use-synchronized-animation/use-synchronized-animation.d.ts +1 -1
  206. package/dist/types/utilities/hooks/use-synchronized-animation/use-synchronized-animation.d.ts.map +1 -1
  207. package/dist/types/utilities/roving-focus/roving-focus-item.d.ts +2 -2
  208. package/dist/types/utilities/roving-focus/roving-focus-item.d.ts.map +1 -1
  209. package/dist/types/utilities/roving-focus/roving-focus-root.d.ts +3 -3
  210. package/dist/types/utilities/roving-focus/roving-focus-root.d.ts.map +1 -1
  211. package/dist/types/utilities/roving-focus/use-roving-focus.d.ts +170 -170
  212. package/package.json +18 -19
@@ -19,7 +19,7 @@ const Button = react.forwardRef(function Button({ asChild, className, children,
19
19
  return (jsxRuntime.jsxs(Component, { "aria-busy": Boolean(loading) || undefined, "aria-disabled": Boolean(loading) || undefined, className: cl('ds-button', className), "data-icon": icon || undefined, "data-variant": variant, ref: ref,
20
20
  /* don't set type when we use `asChild` */
21
21
  type: asChild ? undefined : 'button', ...rest, children: [loading === true ? (jsxRuntime.jsx(spinner.Spinner, { "aria-hidden": 'true' })) : (loading // Allow custom loading spinner
22
- ), jsxRuntime.jsx(reactSlot.Slottable, { children: children })] }));
22
+ ), jsxRuntime.jsx(reactSlot.Slottable, { children: icon && loading ? null : children })] }));
23
23
  });
24
24
 
25
25
  exports.Button = Button;
@@ -8,9 +8,6 @@ var cl = require('clsx/lite');
8
8
  var index = require('../chip/index.js');
9
9
  var useMergeRefs = require('../../utilities/hooks/use-merge-refs/use-merge-refs.js');
10
10
 
11
- const SuggestionContext = react.createContext({
12
- handleFilter: () => undefined,
13
- });
14
11
  const text = (el) => el.textContent?.trim() || '';
15
12
  const sanitizeItems = (values = []) => typeof values === 'string'
16
13
  ? [{ label: values, value: values }]
@@ -83,6 +80,9 @@ const Suggestion = react.forwardRef(function Suggestion({ children, className, c
83
80
  }, [filter]);
84
81
  return (jsxRuntime.jsx(SuggestionContext.Provider, { value: { isEmpty, handleFilter, uComboboxRef }, children: jsxRuntime.jsxs("u-combobox", { "data-multiple": multiple || undefined, "data-creatable": creatable || undefined, class: cl('ds-suggestion', className), ref: mergedRefs, ...rest, children: [selectedItems.map((item) => (jsxRuntime.jsx(index.Chip.Removable, { value: item.value, asChild: true, children: jsxRuntime.jsx("data", { children: renderSelected(item) }) }, item.value))), children, !!name && (jsxRuntime.jsx("select", { name: name, multiple: true, hidden: true, id: selectId }))] }) }));
85
82
  });
83
+ const SuggestionContext = react.createContext({
84
+ handleFilter: () => undefined,
85
+ });
86
86
 
87
87
  exports.Suggestion = Suggestion;
88
88
  exports.SuggestionContext = SuggestionContext;
@@ -21,7 +21,7 @@ var fieldAffix = require('../field/field-affix.js');
21
21
  * <Textfield label="Textfield label">
22
22
  */
23
23
  const Textfield = react.forwardRef(function Textfield({ label: label$1, description, error, multiline, prefix, suffix, 'data-size': size, counter, style, className, ...rest }, ref) {
24
- return (jsxRuntime.jsxs(index.Field, { className: className, "data-size": size, style: style, children: [!!label$1 && jsxRuntime.jsx(label.Label, { children: label$1 }), !!description && jsxRuntime.jsx(fieldDescription.FieldDescription, { children: description }), jsxRuntime.jsxs(fieldAffix.FieldAffixes, { children: [prefix === undefined || jsxRuntime.jsx(fieldAffix.FieldAffix, { children: prefix }), multiline === true ? (jsxRuntime.jsx(textarea.Textarea, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })) : (jsxRuntime.jsx(input.Input, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })), suffix === undefined || jsxRuntime.jsx(fieldAffix.FieldAffix, { children: suffix })] }), !!error && jsxRuntime.jsx(validationMessage.ValidationMessage, { children: error }), !!counter && (jsxRuntime.jsx(index.Field.Counter, { ...(typeof counter === 'number' ? { limit: counter } : counter) }))] }));
24
+ return (jsxRuntime.jsxs(index.Field, { className: className, "data-size": size, style: style, children: [!!label$1 && jsxRuntime.jsx(label.Label, { children: label$1 }), !!description && jsxRuntime.jsx(fieldDescription.FieldDescription, { children: description }), jsxRuntime.jsxs(fieldAffix.FieldAffixes, { children: [prefix === undefined || jsxRuntime.jsx(fieldAffix.FieldAffix, { children: prefix }), multiline === true ? (jsxRuntime.jsx(textarea.Textarea, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })) : (jsxRuntime.jsx(input.Input, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })), suffix === undefined || jsxRuntime.jsx(fieldAffix.FieldAffix, { children: suffix })] }), !!counter && (jsxRuntime.jsx(index.Field.Counter, { ...(typeof counter === 'number' ? { limit: counter } : counter) })), !!error && jsxRuntime.jsx(validationMessage.ValidationMessage, { children: error })] }));
25
25
  });
26
26
 
27
27
  exports.Textfield = Textfield;
@@ -77,13 +77,13 @@ const usePagination = ({ currentPage = 1, setCurrentPage, onChange, totalPages =
77
77
  })),
78
78
  /** Properties to spread on Pagination.Button used for previous naviagation */
79
79
  prevButtonProps: {
80
- 'aria-disabled': !hasPrev, // Using aria-disabled to support all HTML elements because of potential asChild
80
+ 'aria-hidden': !hasPrev, // Using aria-hidden to support all HTML elements because of potential asChild
81
81
  onClick: handleClick(currentPage - 1),
82
82
  variant: 'tertiary',
83
83
  },
84
84
  /** Properties to spread on Pagination.Button used for next naviagation */
85
85
  nextButtonProps: {
86
- 'aria-disabled': !hasNext, // Using aria-disabled to support all HTML elements because of potential asChild
86
+ 'aria-hidden': !hasNext, // Using aria-hidden to support all HTML elements because of potential asChild
87
87
  onClick: handleClick(currentPage + 1),
88
88
  variant: 'tertiary',
89
89
  },
@@ -17,7 +17,7 @@ const Button = forwardRef(function Button({ asChild, className, children, icon =
17
17
  return (jsxs(Component, { "aria-busy": Boolean(loading) || undefined, "aria-disabled": Boolean(loading) || undefined, className: cl('ds-button', className), "data-icon": icon || undefined, "data-variant": variant, ref: ref,
18
18
  /* don't set type when we use `asChild` */
19
19
  type: asChild ? undefined : 'button', ...rest, children: [loading === true ? (jsx(Spinner, { "aria-hidden": 'true' })) : (loading // Allow custom loading spinner
20
- ), jsx(Slottable, { children: children })] }));
20
+ ), jsx(Slottable, { children: icon && loading ? null : children })] }));
21
21
  });
22
22
 
23
23
  export { Button };
@@ -6,9 +6,6 @@ import cl from 'clsx/lite';
6
6
  import { Chip as ChipComponent } from '../chip/index.js';
7
7
  import { useMergeRefs } from '../../utilities/hooks/use-merge-refs/use-merge-refs.js';
8
8
 
9
- const SuggestionContext = createContext({
10
- handleFilter: () => undefined,
11
- });
12
9
  const text = (el) => el.textContent?.trim() || '';
13
10
  const sanitizeItems = (values = []) => typeof values === 'string'
14
11
  ? [{ label: values, value: values }]
@@ -81,5 +78,8 @@ const Suggestion = forwardRef(function Suggestion({ children, className, creatab
81
78
  }, [filter]);
82
79
  return (jsx(SuggestionContext.Provider, { value: { isEmpty, handleFilter, uComboboxRef }, children: jsxs("u-combobox", { "data-multiple": multiple || undefined, "data-creatable": creatable || undefined, class: cl('ds-suggestion', className), ref: mergedRefs, ...rest, children: [selectedItems.map((item) => (jsx(ChipComponent.Removable, { value: item.value, asChild: true, children: jsx("data", { children: renderSelected(item) }) }, item.value))), children, !!name && (jsx("select", { name: name, multiple: true, hidden: true, id: selectId }))] }) }));
83
80
  });
81
+ const SuggestionContext = createContext({
82
+ handleFilter: () => undefined,
83
+ });
84
84
 
85
85
  export { Suggestion, SuggestionContext };
@@ -19,7 +19,7 @@ import { FieldAffixes, FieldAffix } from '../field/field-affix.js';
19
19
  * <Textfield label="Textfield label">
20
20
  */
21
21
  const Textfield = forwardRef(function Textfield({ label, description, error, multiline, prefix, suffix, 'data-size': size, counter, style, className, ...rest }, ref) {
22
- return (jsxs(FieldComponent, { className: className, "data-size": size, style: style, children: [!!label && jsx(Label, { children: label }), !!description && jsx(FieldDescription, { children: description }), jsxs(FieldAffixes, { children: [prefix === undefined || jsx(FieldAffix, { children: prefix }), multiline === true ? (jsx(Textarea, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })) : (jsx(Input, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })), suffix === undefined || jsx(FieldAffix, { children: suffix })] }), !!error && jsx(ValidationMessage, { children: error }), !!counter && (jsx(FieldComponent.Counter, { ...(typeof counter === 'number' ? { limit: counter } : counter) }))] }));
22
+ return (jsxs(FieldComponent, { className: className, "data-size": size, style: style, children: [!!label && jsx(Label, { children: label }), !!description && jsx(FieldDescription, { children: description }), jsxs(FieldAffixes, { children: [prefix === undefined || jsx(FieldAffix, { children: prefix }), multiline === true ? (jsx(Textarea, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })) : (jsx(Input, { ref: ref, "aria-invalid": Boolean(error) || undefined, ...rest })), suffix === undefined || jsx(FieldAffix, { children: suffix })] }), !!counter && (jsx(FieldComponent.Counter, { ...(typeof counter === 'number' ? { limit: counter } : counter) })), !!error && jsx(ValidationMessage, { children: error })] }));
23
23
  });
24
24
 
25
25
  export { Textfield };
@@ -75,13 +75,13 @@ const usePagination = ({ currentPage = 1, setCurrentPage, onChange, totalPages =
75
75
  })),
76
76
  /** Properties to spread on Pagination.Button used for previous naviagation */
77
77
  prevButtonProps: {
78
- 'aria-disabled': !hasPrev, // Using aria-disabled to support all HTML elements because of potential asChild
78
+ 'aria-hidden': !hasPrev, // Using aria-hidden to support all HTML elements because of potential asChild
79
79
  onClick: handleClick(currentPage - 1),
80
80
  variant: 'tertiary',
81
81
  },
82
82
  /** Properties to spread on Pagination.Button used for next naviagation */
83
83
  nextButtonProps: {
84
- 'aria-disabled': !hasNext, // Using aria-disabled to support all HTML elements because of potential asChild
84
+ 'aria-hidden': !hasNext, // Using aria-hidden to support all HTML elements because of potential asChild
85
85
  onClick: handleClick(currentPage + 1),
86
86
  variant: 'tertiary',
87
87
  },
@@ -102,7 +102,7 @@ export type ComboboxProps = {
102
102
  /**
103
103
  * @deprecated Use `Suggestion` instead
104
104
  */
105
- export declare const ComboboxComponent: React.ForwardRefExoticComponent<{
105
+ export declare const ComboboxComponent: import("react").ForwardRefExoticComponent<{
106
106
  /**
107
107
  * Label for the combobox.
108
108
  *
@@ -207,8 +207,8 @@ export declare const ComboboxComponent: React.ForwardRefExoticComponent<{
207
207
  id?: string;
208
208
  readOnly?: boolean;
209
209
  size?: import("packages/cli/dist/src/types").Size;
210
- } & Pick<React.HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
211
- export declare const Combobox: React.ForwardRefExoticComponent<{
210
+ } & Pick<import("react").HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>>;
211
+ export declare const Combobox: import("react").ForwardRefExoticComponent<{
212
212
  /**
213
213
  * Label for the combobox.
214
214
  *
@@ -313,5 +313,5 @@ export declare const Combobox: React.ForwardRefExoticComponent<{
313
313
  id?: string;
314
314
  readOnly?: boolean;
315
315
  size?: import("packages/cli/dist/src/types").Size;
316
- } & Pick<React.HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
316
+ } & Pick<import("react").HTMLAttributes<HTMLElement>, "aria-describedby"> & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>>;
317
317
  //# sourceMappingURL=Combobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAY5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIlE,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAA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AAE,MAAM,EAAE,KAAK,IAAI;IACzC;;;OAGG;eACQ,OAAO;IAClB;;OAEG;WACI,MAAM;IACb;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;gBACS,OAAO;IACnB;;;OAGG;sBACe,OAAO;IACzB;;;OAGG;uBACgB,MAAM;IACzB;;;;OAIG;cACO,OAAO;IACjB;;OAEG;iBACU,MAAM;IACnB;;;;OAIG;cACO,OAAO;IACjB;;;OAGG;mBACY,MAAM;IACrB;;;;;;;OAOG;aACM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO;IACxD;;;;;;OAMG;kBACW,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;IACxC;;;;OAIG;aACM,OAAO;;;;;;;;;8JAsXjB,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAY5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIlE,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IACl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AK,OAAO;IACxD;;;;;;OAMG;kBACW,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;IACxC;;;;OAIG;aACM,OAAO;;;;;;;;;kLA8WjB,CAAC;AAEF,eAAO,MAAM,QAAQ;IA/cnB;;;;OAIG;YACK,SAAS;IACjB;;;OAGG;gBACS,OAAO;IACnB;;OAEG;YACK,MAAM,EAAE;IAChB;;OAEG;mBACY,MAAM,EAAE;IACvB;;OAEG;oBACa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI;IACzC;;;OAGG;eACQ,OAAO;IAClB;;OAEG;WACI,MAAM;IACb;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;gBACS,OAAO;IACnB;;;OAGG;sBACe,OAAO;IACzB;;;OAGG;uBACgB,MAAM;IACzB;;;;OAIG;cACO,OAAO;IACjB;;OAEG;iBACU,MAAM;IACnB;;;;OAIG;cACO,OAAO;IACjB;;;OAGG;mBACY,MAAM;IACrB;;;;;;;OAOG;aACM,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO;IACxD;;;;;;OAMG;kBACW,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM;IACxC;;;;OAIG;aACM,OAAO;;;;;;;;;kLAsXjB,CAAC"}
@@ -38,5 +38,5 @@ export type ComboboxContextType = {
38
38
  forwareddRef: Ref<HTMLInputElement>;
39
39
  setListRef: (index: number, ref: HTMLElement | null) => void;
40
40
  };
41
- export declare const ComboboxContext: React.Context<ComboboxContextType | undefined>;
41
+ export declare const ComboboxContext: import("react").Context<ComboboxContextType | undefined>;
42
42
  //# sourceMappingURL=ComboboxContext.d.ts.map
@@ -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;AAC5B,OAAO,KAAK,E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,OAAO,eAAe,CAAC,CAAC,cAAc,CAAC,CAAC;IACjE,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,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,0DAE3B,CAAC"}
@@ -2,14 +2,14 @@ import type { Dispatch, ReactNode } from 'react';
2
2
  type ComboboxIdContextType = {
3
3
  activeIndex: number;
4
4
  };
5
- export declare const ComboboxIdContext: React.Context<ComboboxIdContextType>;
5
+ export declare const ComboboxIdContext: import("react").Context<ComboboxIdContextType>;
6
6
  type SetActiveIndexAction = {
7
7
  type: 'SET_ACTIVE_INDEX';
8
8
  payload: number;
9
9
  };
10
10
  type ComboboxIdReducerAction = SetActiveIndexAction;
11
11
  export declare const ComboboxIdReducer: (state: ComboboxIdContextType, action: ComboboxIdReducerAction) => ComboboxIdContextType;
12
- export declare const ComboboxIdDispatch: React.Context<Dispatch<SetActiveIndexAction>>;
12
+ export declare const ComboboxIdDispatch: import("react").Context<Dispatch<SetActiveIndexAction>>;
13
13
  export declare const ComboboxIdProvider: ({ children }: {
14
14
  children: ReactNode;
15
15
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,sCAE5B,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC;AAEpD,eAAO,MAAM,iBAAiB,GAC5B,OAAO,qBAAqB,EAC5B,QAAQ,uBAAuB,0BAWhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,+CAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAYvE,CAAC;AAEF,wBAAgB,qBAAqB,mCAEpC;AAED,wBAAgB,aAAa,0BAE5B"}
1
+ {"version":3,"file":"ComboboxIdContext.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/ComboboxIdContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjD,KAAK,qBAAqB,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gDAE5B,CAAC;AAEH,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,kBAAkB,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,KAAK,uBAAuB,GAAG,oBAAoB,CAAC;AAEpD,eAAO,MAAM,iBAAiB,GAC5B,OAAO,qBAAqB,EAC5B,QAAQ,uBAAuB,0BAWhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,yDAI7B,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,4CAYvE,CAAC;AAEF,wBAAgB,qBAAqB,mCAEpC;AAED,wBAAgB,aAAa,0BAE5B"}
@@ -28,6 +28,6 @@ export type ComboboxCustomProps = {
28
28
  */
29
29
  asChild?: boolean;
30
30
  } & HTMLAttributes<HTMLDivElement> & (InteractiveProps | NonInteractiveProps);
31
- declare const ComboboxCustom: React.ForwardRefExoticComponent<ComboboxCustomProps & React.RefAttributes<HTMLDivElement>>;
31
+ declare const ComboboxCustom: import("react").ForwardRefExoticComponent<ComboboxCustomProps & import("react").RefAttributes<HTMLDivElement>>;
32
32
  export { ComboboxCustom };
33
33
  //# sourceMappingURL=Custom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Custom.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Custom.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,IAAI,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChC,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE3C,QAAA,MAAM,cAAc,4FA+CnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"Custom.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Custom.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,KAAK,gBAAgB,GAAG;IACtB,WAAW,EAAE,IAAI,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChC,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;AAE3C,QAAA,MAAM,cAAc,gHA+CnB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  export type ComboboxEmptyProps = HTMLAttributes<HTMLDivElement>;
3
- declare const ComboboxEmpty: React.ForwardRefExoticComponent<ComboboxEmptyProps & React.RefAttributes<HTMLDivElement>>;
3
+ declare const ComboboxEmpty: import("react").ForwardRefExoticComponent<ComboboxEmptyProps & import("react").RefAttributes<HTMLDivElement>>;
4
4
  export { ComboboxEmpty };
5
5
  //# sourceMappingURL=Empty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Empty.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEhE,QAAA,MAAM,aAAa,2FAuBlB,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"Empty.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Empty.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEhE,QAAA,MAAM,aAAa,+GAuBlB,CAAC;AAIF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  type ComboboxOptionDescriptionProps = HTMLAttributes<HTMLSpanElement>;
3
- declare const ComboboxOptionDescription: React.ForwardRefExoticComponent<ComboboxOptionDescriptionProps & React.RefAttributes<HTMLSpanElement>>;
3
+ declare const ComboboxOptionDescription: import("react").ForwardRefExoticComponent<ComboboxOptionDescriptionProps & import("react").RefAttributes<HTMLSpanElement>>;
4
4
  export default ComboboxOptionDescription;
5
5
  //# sourceMappingURL=Description.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,KAAK,8BAA8B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEtE,QAAA,MAAM,yBAAyB,wGAa7B,CAAC;AAIH,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/Option/Description.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,KAAK,8BAA8B,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEtE,QAAA,MAAM,yBAAyB,4HAa7B,CAAC;AAIH,eAAe,yBAAyB,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: import("react").NamedExoticComponent<{
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> & import("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":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAS3E,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;qFAmEtB,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":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAS3E,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;+FAmEtB,CAAC;AAIF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,SAAS,GACf,KAAK,IAAI,YAAY,CAAC,mBAAmB,CAAC,CAE5C"}
@@ -1,4 +1,4 @@
1
1
  import type { ButtonHTMLAttributes } from 'react';
2
- declare const ComboboxClearButton: React.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
2
+ declare const ComboboxClearButton: import("react").ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
3
3
  export default ComboboxClearButton;
4
4
  //# sourceMappingURL=ComboboxClearButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKlD,QAAA,MAAM,mBAAmB,mHAqCvB,CAAC;AAIH,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKlD,QAAA,MAAM,mBAAmB,uIAqCvB,CAAC;AAIH,eAAe,mBAAmB,CAAC"}
@@ -16,7 +16,7 @@ export type Option = {
16
16
  description?: string;
17
17
  };
18
18
  export declare function useCombobox({ children, inputValue, multiple, filter, initialValue, }: UseComboboxProps): {
19
- filteredOptionsChildren: (ReactElement<ComboboxOptionProps, string | React.JSXElementConstructor<any>> | null)[];
19
+ filteredOptionsChildren: (ReactElement<ComboboxOptionProps, string | import("react").JSXElementConstructor<any>> | null)[];
20
20
  filteredOptions: string[];
21
21
  restChildren: ReactNode[];
22
22
  options: {
@@ -26,8 +26,8 @@ export declare function useCombobox({ children, inputValue, multiple, filter, in
26
26
  selectedOptions: {
27
27
  [key: string]: Option;
28
28
  };
29
- interactiveChildren: ReactElement<ComboboxCustomProps, string | React.JSXElementConstructor<any>>[];
30
- setSelectedOptions: React.Dispatch<React.SetStateAction<{
29
+ interactiveChildren: ReactElement<ComboboxCustomProps, string | import("react").JSXElementConstructor<any>>[];
30
+ setSelectedOptions: import("react").Dispatch<import("react").SetStateAction<{
31
31
  [key: string]: Option;
32
32
  }>>;
33
33
  };
@@ -1,4 +1,4 @@
1
1
  import type { FormFieldProps } from './useFormField';
2
2
  export type FieldsetContextType = Pick<FormFieldProps, 'error' | 'errorId' | 'disabled' | 'size'>;
3
- export declare const FieldsetContext: React.Context<FieldsetContextType | null>;
3
+ export declare const FieldsetContext: import("react").Context<FieldsetContextType | null>;
4
4
  //# sourceMappingURL=FieldsetContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/useFormField/FieldsetContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAC1C,CAAC;AAEF,eAAO,MAAM,eAAe,2CAAkD,CAAC"}
1
+ {"version":3,"file":"FieldsetContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/useFormField/FieldsetContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAC1C,CAAC;AAEF,eAAO,MAAM,eAAe,qDAAkD,CAAC"}
@@ -16,12 +16,12 @@ export type AlertProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement
16
16
  * @example
17
17
  * <Alert data-color='info'>Dette er en informasjonsmelding</Alert>
18
18
  */
19
- export declare const Alert: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "data-color"> & {
19
+ export declare const Alert: import("react").ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "data-color"> & {
20
20
  /**
21
21
  * Sets color and icon.
22
22
  *
23
23
  * @default 'info'
24
24
  */
25
25
  'data-color'?: SeverityColors;
26
- } & React.RefAttributes<HTMLDivElement>>;
26
+ } & import("react").RefAttributes<HTMLDivElement>>;
27
27
  //# sourceMappingURL=alert.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,EAC7C;IACE;;;;OAIG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B,CACF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;IAfd;;;;OAIG;mBACY,cAAc;wCAsB/B,CAAC"}
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,EAC7C;IACE;;;;OAIG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B,CACF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;IAfd;;;;OAIG;mBACY,cAAc;kDAsB/B,CAAC"}
@@ -49,6 +49,6 @@ export type AvatarProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanEleme
49
49
  * <Icon />
50
50
  * </Avatar>
51
51
  */
52
- export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
52
+ export declare const Avatar: import("react").ForwardRefExoticComponent<AvatarProps & import("react").RefAttributes<HTMLSpanElement>>;
53
53
  export {};
54
54
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AAGzD,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OA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AM,MAAM,WAAW,GAAG,UAAU,CAClC,YAAY,GAAG,cAAc,CAAC,eAAe,CAAC,EAC9C,CAAC,SAAS,GAAG,UAAU,CAAC,GAAG;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,yGA8BjB,CAAC"}
@@ -24,7 +24,7 @@ export type BadgePositionProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSp
24
24
  * <Element />
25
25
  * </BadgePosition>
26
26
  */
27
- export declare const BadgePosition: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLSpanElement>, "placement" | "overlap"> & {
27
+ export declare const BadgePosition: import("react").ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLSpanElement>, "placement" | "overlap"> & {
28
28
  /**
29
29
  * The placement of the badge
30
30
  *
@@ -37,5 +37,5 @@ export declare const BadgePosition: React.ForwardRefExoticComponent<Omit<Default
37
37
  * @default rectangle
38
38
  */
39
39
  overlap?: "circle" | "rectangle";
40
- } & React.RefAttributes<HTMLSpanElement>>;
40
+ } & import("react").RefAttributes<HTMLSpanElement>>;
41
41
  //# sourceMappingURL=badge-position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge-position.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge-position.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,MAAM,MAAM,kBAAkB,GAAG,UAAU,CACzC,YAAY,GAAG,cAAc,CAAC,eAAe,CAAC,EAC9C;IACE;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;IACtE;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CAClC,CACF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;IAxBtB;;;;OAIG;gBACS,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa;IACrE;;;;OAIG;cACO,QAAQ,GAAG,WAAW;yCA4BnC,CAAC"}
1
+ {"version":3,"file":"badge-position.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge-position.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,MAAM,MAAM,kBAAkB,GAAG,UAAU,CACzC,YAAY,GAAG,cAAc,CAAC,eAAe,CAAC,EAC9C;IACE;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa,CAAC;IACtE;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,WAAW,CAAC;CAClC,CACF,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa;IAxBtB;;;;OAIG;gBACS,WAAW,GAAG,UAAU,GAAG,cAAc,GAAG,aAAa;IACrE;;;;OAIG;cACO,QAAQ,GAAG,WAAW;mDA4BnC,CAAC"}
@@ -34,7 +34,7 @@ export type BadgeProps = MergeRight<DefaultProps & HTMLAttributes<HTMLSpanElemen
34
34
  * <Icon />
35
35
  * </Badge>
36
36
  */
37
- export declare const Badge: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLSpanElement>, "data-color" | "children" | "variant" | "count" | "maxCount"> & {
37
+ export declare const Badge: import("react").ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLSpanElement>, "data-color" | "children" | "variant" | "count" | "maxCount"> & {
38
38
  /**
39
39
  * The number to display in the badge
40
40
  */
@@ -54,5 +54,5 @@ export declare const Badge: React.ForwardRefExoticComponent<Omit<DefaultProps &
54
54
  */
55
55
  'data-color'?: Color | SeverityColors;
56
56
  children?: never;
57
- } & React.RefAttributes<HTMLSpanElement>>;
57
+ } & import("react").RefAttributes<HTMLSpanElement>>;
58
58
  //# sourceMappingURL=badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,cAAc,CAAC,eAAe,CAAC,EAC9C;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,cAAc,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,KAAK;IAjCd;;OAEG;YACK,MAAM;IACd;;OAEG;eACQ,MAAM;IACjB;;;;OAIG;cACO,MAAM,GAAG,QAAQ;IAC3B;;OAEG;mBACY,KAAK,GAAG,cAAc;eAC1B,KAAK;yCA8BlB,CAAC"}
1
+ {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,cAAc,CAAC,eAAe,CAAC,EAC9C;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,cAAc,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,KAAK;IAjCd;;OAEG;YACK,MAAM;IACd;;OAEG;eACQ,MAAM;IACjB;;;;OAIG;cACO,MAAM,GAAG,QAAQ;IAC3B;;OAEG;mBACY,KAAK,GAAG,cAAc;eAC1B,KAAK;mDA8BlB,CAAC"}
@@ -5,17 +5,17 @@ import { BadgePosition } from './badge-position';
5
5
  * @example without children
6
6
  * <Badge count={5} maxCount={10} />
7
7
  */
8
- declare const Badge: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.HTMLAttributes<HTMLSpanElement>, "data-color" | "children" | "variant" | "count" | "maxCount"> & {
8
+ declare const Badge: import("react").ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & import("react").HTMLAttributes<HTMLSpanElement>, "data-color" | "children" | "variant" | "count" | "maxCount"> & {
9
9
  count?: number;
10
10
  maxCount?: number;
11
11
  variant?: "base" | "tinted";
12
12
  'data-color'?: import("packages/cli/dist/src/types").Color | import("packages/cli/dist/src/types").SeverityColors;
13
13
  children?: never;
14
- } & React.RefAttributes<HTMLSpanElement>> & {
15
- Position: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.HTMLAttributes<HTMLSpanElement>, "placement" | "overlap"> & {
14
+ } & import("react").RefAttributes<HTMLSpanElement>> & {
15
+ Position: import("react").ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & import("react").HTMLAttributes<HTMLSpanElement>, "placement" | "overlap"> & {
16
16
  placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
17
17
  overlap?: "circle" | "rectangle";
18
- } & React.RefAttributes<HTMLSpanElement>>;
18
+ } & import("react").RefAttributes<HTMLSpanElement>>;
19
19
  };
20
20
  export { Badge, BadgePosition };
21
21
  export type { BadgeProps } from './badge';
@@ -1,4 +1,4 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  export type BreadcrumbsItemProps = HTMLAttributes<HTMLLIElement>;
3
- export declare const BreadcrumbsItem: React.ForwardRefExoticComponent<BreadcrumbsItemProps & React.RefAttributes<HTMLLIElement>>;
3
+ export declare const BreadcrumbsItem: import("react").ForwardRefExoticComponent<BreadcrumbsItemProps & import("react").RefAttributes<HTMLLIElement>>;
4
4
  //# sourceMappingURL=breadcrumbs-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs-item.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAEjE,eAAO,MAAM,eAAe,4FAI3B,CAAC"}
1
+ {"version":3,"file":"breadcrumbs-item.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,aAAa,CAAC,CAAC;AAEjE,eAAO,MAAM,eAAe,gHAI3B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type LinkProps } from '../link/link';
2
2
  export type BreadcrumbsLinkProps = LinkProps;
3
- export declare const BreadcrumbsLink: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "asChild"> & {
4
- children: React.ReactNode;
3
+ export declare const BreadcrumbsLink: import("react").ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & import("react").AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "asChild"> & {
4
+ children: import("react").ReactNode;
5
5
  asChild?: boolean;
6
- } & React.RefAttributes<HTMLAnchorElement>>;
6
+ } & import("react").RefAttributes<HTMLAnchorElement>>;
7
7
  //# sourceMappingURL=breadcrumbs-link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs-link.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe;;;2CAK1B,CAAC"}
1
+ {"version":3,"file":"breadcrumbs-link.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe;;;qDAK1B,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type HTMLAttributes } from 'react';
2
2
  export type BreadcrumbsListProps = HTMLAttributes<HTMLOListElement>;
3
- export declare const BreadcrumbsList: React.ForwardRefExoticComponent<BreadcrumbsListProps & React.RefAttributes<HTMLOListElement>>;
3
+ export declare const BreadcrumbsList: import("react").ForwardRefExoticComponent<BreadcrumbsListProps & import("react").RefAttributes<HTMLOListElement>>;
4
4
  //# sourceMappingURL=breadcrumbs-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs-list.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAqB,MAAM,OAAO,CAAC;AAG3E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe,+FAiB1B,CAAC"}
1
+ {"version":3,"file":"breadcrumbs-list.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAqB,MAAM,OAAO,CAAC;AAG3E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,gBAAgB,CAAC,CAAC;AAEpE,eAAO,MAAM,eAAe,mHAiB1B,CAAC"}
@@ -26,11 +26,11 @@ export type BreadcrumbsProps = MergeRight<DefaultProps & HTMLAttributes<HTMLElem
26
26
  * </Breadcrumbs.List>
27
27
  * </Breadcrumbs>
28
28
  */
29
- export declare const Breadcrumbs: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLElement>, "aria-label"> & {
29
+ export declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLElement>, "aria-label"> & {
30
30
  /**
31
31
  * Sets the screen reader label for the Breadcrumbs area
32
32
  * @default 'Du er her'
33
33
  */
34
34
  'aria-label'?: string;
35
- } & React.RefAttributes<HTMLElement>>;
35
+ } & import("react").RefAttributes<HTMLElement>>;
36
36
  //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CACvC,YAAY,GAAG,cAAc,CAAC,WAAW,CAAC,EAC1C;IACE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;IA1BpB;;;OAGG;mBACY,MAAM;qCA+BxB,CAAC"}
1
+ {"version":3,"file":"breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumbs/breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CACvC,YAAY,GAAG,cAAc,CAAC,WAAW,CAAC,EAC1C;IACE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,WAAW;IA1BpB;;;OAGG;mBACY,MAAM;+CA+BxB,CAAC"}
@@ -14,6 +14,7 @@ export type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLBut
14
14
  'data-color'?: Color | Extract<SeverityColors, 'danger'>;
15
15
  /**
16
16
  * Toggle icon only styling, pass icon as children
17
+ * When combined with loading, the loading-icon will be shown instead of the icon.
17
18
  * @default false
18
19
  */
19
20
  icon?: boolean;
@@ -41,7 +42,7 @@ export type ButtonProps = MergeRight<DefaultProps & ButtonHTMLAttributes<HTMLBut
41
42
  * @example
42
43
  * <Button>Click me</Button>
43
44
  */
44
- export declare const Button: React.ForwardRefExoticComponent<Omit<DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>, "type" | "data-color" | "variant" | "icon" | "loading" | "asChild"> & {
45
+ export declare const Button: import("react").ForwardRefExoticComponent<Omit<DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>, "type" | "data-color" | "variant" | "icon" | "loading" | "asChild"> & {
45
46
  /**
46
47
  * Specify which variant to use
47
48
  * @default 'primary'
@@ -53,6 +54,7 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<DefaultProps &
53
54
  'data-color'?: Color | Extract<SeverityColors, "danger">;
54
55
  /**
55
56
  * Toggle icon only styling, pass icon as children
57
+ * When combined with loading, the loading-icon will be shown instead of the icon.
56
58
  * @default false
57
59
  */
58
60
  icon?: boolean;
@@ -73,5 +75,5 @@ export declare const Button: React.ForwardRefExoticComponent<Omit<DefaultProps &
73
75
  * @default 'button'
74
76
  */
75
77
  type?: ButtonHTMLAttributes<HTMLButtonElement>["type"];
76
- } & React.RefAttributes<HTMLButtonElement>>;
78
+ } & import("react").RefAttributes<HTMLButtonElement>>;
77
79
  //# sourceMappingURL=button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAG1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MA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AoB,CAAC,iBAAiB,CAAC,EACtD;IACE;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IACzD;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CACxD,CACF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM;IAzCf;;;OAGG;cACO,SAAS,GAAG,WAAW,GAAG,UAAU;IAC9C;;OAEG;mBACY,KAAK,GAAG,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC;IACxD;;;;OAIG;WACI,OAAO;IACd;;;;;OAKG;cACO,OAAO,GAAG,SAAS;IAC7B;;;OAGG;cACO,OAAO;IACjB;;;OAGG;WACI,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC;qDAgDzD,CAAC"}
@@ -6,11 +6,11 @@ export type CardBlockProps = {
6
6
  */
7
7
  asChild?: boolean;
8
8
  } & HTMLAttributes<HTMLDivElement>;
9
- export declare const CardBlock: React.ForwardRefExoticComponent<{
9
+ export declare const CardBlock: import("react").ForwardRefExoticComponent<{
10
10
  /**
11
11
  * Change the default rendered element for the one passed as a child, merging their props and behavior.
12
12
  * @default false
13
13
  */
14
14
  asChild?: boolean;
15
- } & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
15
+ } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
16
16
  //# sourceMappingURL=card-block.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"card-block.d.ts","sourceRoot":"","sources":["../../../src/components/card/card-block.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS;IAPpB;;;OAGG;cACO,OAAO;yEAelB,CAAC"}
1
+ {"version":3,"file":"card-block.d.ts","sourceRoot":"","sources":["../../../src/components/card/card-block.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS;IAPpB;;;OAGG;cACO,OAAO;mFAelB,CAAC"}
@@ -26,7 +26,7 @@ export type CardProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>
26
26
  * <Card.Block>Footer</Card.Block>
27
27
  * </Card>
28
28
  */
29
- export declare const Card: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "children" | "variant" | "asChild"> & {
29
+ export declare const Card: import("react").ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "children" | "variant" | "asChild"> & {
30
30
  /**
31
31
  * Change the background color of the card.
32
32
  *
@@ -40,5 +40,5 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<DefaultProps & H
40
40
  asChild?: boolean;
41
41
  /** Instances of `Card.Block`, `Divider` or other React nodes */
42
42
  children: ReactNode;
43
- } & React.RefAttributes<HTMLDivElement>>;
43
+ } & import("react").RefAttributes<HTMLDivElement>>;
44
44
  //# sourceMappingURL=card.d.ts.map