@digdir/designsystemet-react 1.0.0-next.36 → 1.0.0-next.38

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 (228) hide show
  1. package/dist/cjs/components/form/Textfield/Textfield.js +1 -1
  2. package/dist/cjs/utilities/hooks/useDebounceCallback/useDebounceCallback.js +1 -1
  3. package/dist/esm/components/form/Textfield/Textfield.js +1 -1
  4. package/dist/esm/utilities/hooks/useDebounceCallback/useDebounceCallback.js +1 -1
  5. package/dist/react-types.d.ts +11 -0
  6. package/dist/types/colors.d.ts +8 -1
  7. package/dist/types/colors.d.ts.map +1 -1
  8. package/dist/types/components/Accordion/Accordion.d.ts +1 -1
  9. package/dist/types/components/Accordion/Accordion.d.ts.map +1 -1
  10. package/dist/types/components/Accordion/AccordionContent.d.ts.map +1 -1
  11. package/dist/types/components/Accordion/AccordionHeading.d.ts.map +1 -1
  12. package/dist/types/components/Accordion/AccordionItem.d.ts.map +1 -1
  13. package/dist/types/components/Accordion/index.d.ts.map +1 -1
  14. package/dist/types/components/Alert/Alert.d.ts +1 -1
  15. package/dist/types/components/Alert/Alert.d.ts.map +1 -1
  16. package/dist/types/components/Alert/index.d.ts.map +1 -1
  17. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  18. package/dist/types/components/Avatar/index.d.ts.map +1 -1
  19. package/dist/types/components/Badge/Badge.d.ts +1 -1
  20. package/dist/types/components/Badge/Badge.d.ts.map +1 -1
  21. package/dist/types/components/Badge/index.d.ts.map +1 -1
  22. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  23. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  24. package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
  25. package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts +1 -1
  26. package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts.map +1 -1
  27. package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts.map +1 -1
  28. package/dist/types/components/Breadcrumbs/index.d.ts +3 -3
  29. package/dist/types/components/Breadcrumbs/index.d.ts.map +1 -1
  30. package/dist/types/components/Button/Button.d.ts +1 -1
  31. package/dist/types/components/Button/Button.d.ts.map +1 -1
  32. package/dist/types/components/Button/index.d.ts.map +1 -1
  33. package/dist/types/components/Card/Card.d.ts +1 -1
  34. package/dist/types/components/Card/Card.d.ts.map +1 -1
  35. package/dist/types/components/Card/CardBlock.d.ts.map +1 -1
  36. package/dist/types/components/Card/index.d.ts +1 -1
  37. package/dist/types/components/Card/index.d.ts.map +1 -1
  38. package/dist/types/components/Chip/Chips.d.ts +4 -4
  39. package/dist/types/components/Chip/Chips.d.ts.map +1 -1
  40. package/dist/types/components/Chip/index.d.ts +4 -4
  41. package/dist/types/components/Chip/index.d.ts.map +1 -1
  42. package/dist/types/components/Divider/Divider.d.ts.map +1 -1
  43. package/dist/types/components/Divider/index.d.ts.map +1 -1
  44. package/dist/types/components/Dropdown/Dropdown.d.ts +1 -1
  45. package/dist/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  46. package/dist/types/components/Dropdown/DropdownButton.d.ts.map +1 -1
  47. package/dist/types/components/Dropdown/DropdownHeading.d.ts.map +1 -1
  48. package/dist/types/components/Dropdown/DropdownItem.d.ts.map +1 -1
  49. package/dist/types/components/Dropdown/DropdownList.d.ts.map +1 -1
  50. package/dist/types/components/Dropdown/DropdownTrigger.d.ts +1 -1
  51. package/dist/types/components/Dropdown/DropdownTrigger.d.ts.map +1 -1
  52. package/dist/types/components/Dropdown/DropdownTriggerContext.d.ts.map +1 -1
  53. package/dist/types/components/Dropdown/index.d.ts +2 -2
  54. package/dist/types/components/Dropdown/index.d.ts.map +1 -1
  55. package/dist/types/components/ErrorSummary/ErrorSummary.d.ts.map +1 -1
  56. package/dist/types/components/ErrorSummary/ErrorSummaryHeading.d.ts.map +1 -1
  57. package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts.map +1 -1
  58. package/dist/types/components/ErrorSummary/ErrorSummaryList.d.ts.map +1 -1
  59. package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
  60. package/dist/types/components/Heading/Heading.d.ts.map +1 -1
  61. package/dist/types/components/Heading/index.d.ts.map +1 -1
  62. package/dist/types/components/HelpText/HelpText.d.ts +1 -1
  63. package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
  64. package/dist/types/components/HelpText/index.d.ts.map +1 -1
  65. package/dist/types/components/Label/Label.d.ts.map +1 -1
  66. package/dist/types/components/Label/index.d.ts.map +1 -1
  67. package/dist/types/components/Link/Link.d.ts +1 -1
  68. package/dist/types/components/Link/Link.d.ts.map +1 -1
  69. package/dist/types/components/Link/index.d.ts.map +1 -1
  70. package/dist/types/components/List/ListItem.d.ts.map +1 -1
  71. package/dist/types/components/List/Lists.d.ts.map +1 -1
  72. package/dist/types/components/List/index.d.ts.map +1 -1
  73. package/dist/types/components/Modal/Modal.d.ts +2 -2
  74. package/dist/types/components/Modal/Modal.d.ts.map +1 -1
  75. package/dist/types/components/Modal/ModalBlock.d.ts.map +1 -1
  76. package/dist/types/components/Modal/ModalTrigger.d.ts +1 -1
  77. package/dist/types/components/Modal/ModalTrigger.d.ts.map +1 -1
  78. package/dist/types/components/Modal/ModalTriggerContext.d.ts.map +1 -1
  79. package/dist/types/components/Modal/index.d.ts +3 -3
  80. package/dist/types/components/Modal/index.d.ts.map +1 -1
  81. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  82. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  83. package/dist/types/components/Pagination/PaginationButton.d.ts +1 -1
  84. package/dist/types/components/Pagination/PaginationButton.d.ts.map +1 -1
  85. package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
  86. package/dist/types/components/Pagination/PaginationList.d.ts.map +1 -1
  87. package/dist/types/components/Pagination/index.d.ts +2 -2
  88. package/dist/types/components/Pagination/index.d.ts.map +1 -1
  89. package/dist/types/components/Pagination/usePagination.d.ts.map +1 -1
  90. package/dist/types/components/Paragraph/Paragraph.d.ts.map +1 -1
  91. package/dist/types/components/Paragraph/index.d.ts.map +1 -1
  92. package/dist/types/components/Popover/Popover.d.ts +1 -1
  93. package/dist/types/components/Popover/Popover.d.ts.map +1 -1
  94. package/dist/types/components/Popover/PopoverTrigger.d.ts +1 -1
  95. package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
  96. package/dist/types/components/Popover/PopoverTriggerContext.d.ts.map +1 -1
  97. package/dist/types/components/Popover/index.d.ts.map +1 -1
  98. package/dist/types/components/SkipLink/SkipLink.d.ts +2 -2
  99. package/dist/types/components/SkipLink/SkipLink.d.ts.map +1 -1
  100. package/dist/types/components/SkipLink/index.d.ts.map +1 -1
  101. package/dist/types/components/Table/Table.d.ts.map +1 -1
  102. package/dist/types/components/Table/TableBody.d.ts.map +1 -1
  103. package/dist/types/components/Table/TableCell.d.ts.map +1 -1
  104. package/dist/types/components/Table/TableFoot.d.ts.map +1 -1
  105. package/dist/types/components/Table/TableHead.d.ts.map +1 -1
  106. package/dist/types/components/Table/TableHeaderCell.d.ts.map +1 -1
  107. package/dist/types/components/Table/TableRow.d.ts.map +1 -1
  108. package/dist/types/components/Table/index.d.ts.map +1 -1
  109. package/dist/types/components/Tabs/Tabs.d.ts +1 -1
  110. package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
  111. package/dist/types/components/Tabs/TabsList.d.ts.map +1 -1
  112. package/dist/types/components/Tabs/TabsPanel.d.ts.map +1 -1
  113. package/dist/types/components/Tabs/TabsTab.d.ts.map +1 -1
  114. package/dist/types/components/Tabs/index.d.ts +1 -1
  115. package/dist/types/components/Tabs/index.d.ts.map +1 -1
  116. package/dist/types/components/Tag/Tag.d.ts +1 -1
  117. package/dist/types/components/Tag/Tag.d.ts.map +1 -1
  118. package/dist/types/components/Tag/index.d.ts.map +1 -1
  119. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +1 -1
  120. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  121. package/dist/types/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
  122. package/dist/types/components/ToggleGroup/ToggleGroupItem.d.ts.map +1 -1
  123. package/dist/types/components/ToggleGroup/index.d.ts.map +1 -1
  124. package/dist/types/components/ToggleGroup/useToggleGroupitem.d.ts.map +1 -1
  125. package/dist/types/components/Tooltip/Tooltip.d.ts +2 -1
  126. package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
  127. package/dist/types/components/Tooltip/index.d.ts.map +1 -1
  128. package/dist/types/components/ValidationMessage/ValidationMessage.d.ts +2 -1
  129. package/dist/types/components/ValidationMessage/ValidationMessage.d.ts.map +1 -1
  130. package/dist/types/components/ValidationMessage/index.d.ts.map +1 -1
  131. package/dist/types/components/form/CharacterCounter.d.ts.map +1 -1
  132. package/dist/types/components/form/Checkbox/Checkbox.d.ts +2 -14
  133. package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
  134. package/dist/types/components/form/Checkbox/index.d.ts.map +1 -1
  135. package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
  136. package/dist/types/components/form/Combobox/ComboboxContext.d.ts.map +1 -1
  137. package/dist/types/components/form/Combobox/ComboboxIdContext.d.ts.map +1 -1
  138. package/dist/types/components/form/Combobox/Custom.d.ts.map +1 -1
  139. package/dist/types/components/form/Combobox/Empty.d.ts.map +1 -1
  140. package/dist/types/components/form/Combobox/Option/Description.d.ts.map +1 -1
  141. package/dist/types/components/form/Combobox/Option/Option.d.ts.map +1 -1
  142. package/dist/types/components/form/Combobox/Option/SelectedIcon.d.ts.map +1 -1
  143. package/dist/types/components/form/Combobox/Option/useComboboxOption.d.ts.map +1 -1
  144. package/dist/types/components/form/Combobox/data/data.d.ts.map +1 -1
  145. package/dist/types/components/form/Combobox/index.d.ts.map +1 -1
  146. package/dist/types/components/form/Combobox/internal/ComboboxChips.d.ts.map +1 -1
  147. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  148. package/dist/types/components/form/Combobox/internal/ComboboxError.d.ts.map +1 -1
  149. package/dist/types/components/form/Combobox/internal/ComboboxInput.d.ts.map +1 -1
  150. package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts.map +1 -1
  151. package/dist/types/components/form/Combobox/internal/ComboboxNative.d.ts.map +1 -1
  152. package/dist/types/components/form/Combobox/useCombobox.d.ts.map +1 -1
  153. package/dist/types/components/form/Combobox/useComboboxKeyboard.d.ts.map +1 -1
  154. package/dist/types/components/form/Combobox/useFloatingCombobox.d.ts.map +1 -1
  155. package/dist/types/components/form/Combobox/utilities.d.ts.map +1 -1
  156. package/dist/types/components/form/Field/Field.d.ts.map +1 -1
  157. package/dist/types/components/form/Field/FieldAffix.d.ts.map +1 -1
  158. package/dist/types/components/form/Field/FieldCounter.d.ts +2 -1
  159. package/dist/types/components/form/Field/FieldCounter.d.ts.map +1 -1
  160. package/dist/types/components/form/Field/FieldDescription.d.ts.map +1 -1
  161. package/dist/types/components/form/Field/fieldObserver.d.ts.map +1 -1
  162. package/dist/types/components/form/Field/index.d.ts +2 -1
  163. package/dist/types/components/form/Field/index.d.ts.map +1 -1
  164. package/dist/types/components/form/Fieldset/Fieldset.d.ts +2 -2
  165. package/dist/types/components/form/Fieldset/Fieldset.d.ts.map +1 -1
  166. package/dist/types/components/form/Fieldset/FieldsetContext.d.ts.map +1 -1
  167. package/dist/types/components/form/Fieldset/FieldsetDescription.d.ts.map +1 -1
  168. package/dist/types/components/form/Fieldset/FieldsetLegend.d.ts.map +1 -1
  169. package/dist/types/components/form/Fieldset/index.d.ts +2 -2
  170. package/dist/types/components/form/Fieldset/index.d.ts.map +1 -1
  171. package/dist/types/components/form/Input/Input.d.ts +1 -1
  172. package/dist/types/components/form/Input/Input.d.ts.map +1 -1
  173. package/dist/types/components/form/Input/index.d.ts.map +1 -1
  174. package/dist/types/components/form/Radio/Radio.d.ts +2 -14
  175. package/dist/types/components/form/Radio/Radio.d.ts.map +1 -1
  176. package/dist/types/components/form/Radio/index.d.ts.map +1 -1
  177. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  178. package/dist/types/components/form/Search/SearchButton.d.ts +1 -1
  179. package/dist/types/components/form/Search/SearchButton.d.ts.map +1 -1
  180. package/dist/types/components/form/Search/SearchClear.d.ts +1 -1
  181. package/dist/types/components/form/Search/SearchClear.d.ts.map +1 -1
  182. package/dist/types/components/form/Search/SearchInput.d.ts.map +1 -1
  183. package/dist/types/components/form/Search/index.d.ts +2 -2
  184. package/dist/types/components/form/Search/index.d.ts.map +1 -1
  185. package/dist/types/components/form/Select/Select.d.ts +2 -1
  186. package/dist/types/components/form/Select/Select.d.ts.map +1 -1
  187. package/dist/types/components/form/Select/SelectOptgroup.d.ts.map +1 -1
  188. package/dist/types/components/form/Select/SelectOption.d.ts.map +1 -1
  189. package/dist/types/components/form/Select/index.d.ts +2 -1
  190. package/dist/types/components/form/Select/index.d.ts.map +1 -1
  191. package/dist/types/components/form/Switch/Switch.d.ts +2 -14
  192. package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
  193. package/dist/types/components/form/Switch/index.d.ts.map +1 -1
  194. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  195. package/dist/types/components/form/Textarea/index.d.ts.map +1 -1
  196. package/dist/types/components/form/Textarea/useTextarea.d.ts.map +1 -1
  197. package/dist/types/components/form/Textfield/Textfield.d.ts +2 -2
  198. package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
  199. package/dist/types/components/form/Textfield/index.d.ts.map +1 -1
  200. package/dist/types/components/form/useFormField.d.ts.map +1 -1
  201. package/dist/types/components/index.d.ts.map +1 -1
  202. package/dist/types/components/loaders/Skeleton/Skeleton.d.ts.map +1 -1
  203. package/dist/types/components/loaders/Skeleton/index.d.ts.map +1 -1
  204. package/dist/types/components/loaders/Spinner/Spinner.d.ts.map +1 -1
  205. package/dist/types/components/loaders/Spinner/index.d.ts.map +1 -1
  206. package/dist/types/index.d.ts +1 -0
  207. package/dist/types/index.d.ts.map +1 -1
  208. package/dist/types/types.d.ts +14 -0
  209. package/dist/types/types.d.ts.map +1 -1
  210. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -1
  211. package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -1
  212. package/dist/types/utilities/RovingFocus/index.d.ts.map +1 -1
  213. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts +2 -0
  214. package/dist/types/utilities/RovingFocus/useRovingFocus.d.ts.map +1 -1
  215. package/dist/types/utilities/hooks/index.d.ts.map +1 -1
  216. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts +6 -1
  217. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts.map +1 -1
  218. package/dist/types/utilities/hooks/useDebounceCallback/useDebounceCallback.d.ts.map +1 -1
  219. package/dist/types/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts.map +1 -1
  220. package/dist/types/utilities/hooks/useMediaQuery/useMediaQuery.d.ts.map +1 -1
  221. package/dist/types/utilities/hooks/usePrevious.d.ts.map +1 -1
  222. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts +6 -1
  223. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts.map +1 -1
  224. package/dist/types/utilities/hooks/useSynchronizedAnimation/useSynchronizedAnimation.d.ts.map +1 -1
  225. package/dist/types/utilities/index.d.ts.map +1 -1
  226. package/dist/types/utilities/omit/omit.d.ts.map +1 -1
  227. package/dist/types/utilities/types.d.ts.map +1 -1
  228. package/package.json +11 -4
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/FieldsetContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,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/form/Fieldset/FieldsetContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAC1C,CAAC;AAEF,eAAO,MAAM,eAAe,2CAAkD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetDescription.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/FieldsetDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3E,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;wFAK9B,CAAC"}
1
+ {"version":3,"file":"FieldsetDescription.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Fieldset/FieldsetDescription.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3E,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;wFAK9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldsetLegend.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/FieldsetLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GACjE,YAAY,CAAC;AAEf,eAAO,MAAM,cAAc,4HASzB,CAAC"}
1
+ {"version":3,"file":"FieldsetLegend.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Fieldset/FieldsetLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAInD,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,iBAAiB,CAAC,GACjE,YAAY,CAAC;AAEf,eAAO,MAAM,cAAc,4HASzB,CAAC"}
@@ -61,6 +61,8 @@ declare const Fieldset: React.ForwardRefExoticComponent<{
61
61
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
62
62
  is?: string | undefined;
63
63
  popovertarget?: string | undefined;
64
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
65
+ 'data-color'?: "info" | "success" | "warning" | "danger" | "neutral" | undefined;
64
66
  "aria-activedescendant"?: string | undefined;
65
67
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
66
68
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -276,8 +278,6 @@ declare const Fieldset: React.ForwardRefExoticComponent<{
276
278
  onTransitionEnd?: React.TransitionEventHandler<HTMLFieldSetElement> | undefined;
277
279
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLFieldSetElement> | undefined;
278
280
  form?: string | undefined;
279
- 'data-size'?: import("../../../types").Size | undefined;
280
- 'data-color'?: import("../../../colors").Color | undefined;
281
281
  name?: string | undefined;
282
282
  disabled?: boolean | undefined;
283
283
  error?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD;;;;;;;GAOG;AACH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,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
@@ -81,6 +81,7 @@ export declare const Input: React.ForwardRefExoticComponent<{
81
81
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
82
82
  is?: string | undefined;
83
83
  popovertarget?: string | undefined;
84
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
84
85
  "aria-activedescendant"?: string | undefined;
85
86
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
86
87
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -300,7 +301,6 @@ export declare const Input: React.ForwardRefExoticComponent<{
300
301
  pattern?: string | undefined;
301
302
  list?: string | undefined;
302
303
  step?: number | string | undefined;
303
- 'data-size'?: import("../../../types").Size | undefined;
304
304
  height?: number | string | undefined;
305
305
  max?: number | string | undefined;
306
306
  min?: number | string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,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;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SA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Q,CAAC,EACxC;IACE;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAxBC,KAAK;WAEb,SAAS,CAAC,MAAM,CAAC;WAGjB,MAAM;eAIF,OAAO;eAEP,OAAO;WAEX,SAAS,CAAC,MAAM,CAAC;0CA4B1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { Color } from '../../../colors';
3
- import type { DefaultProps } from '../../../types';
3
+ import type { DefaultProps, LabelRequired } from '../../../types';
4
4
  import type { MergeRight } from '../../../utilities';
5
5
  import { type InputProps } from '../Input';
6
6
  export type RadioProps = MergeRight<DefaultProps & Omit<InputProps, 'type' | 'role' | 'size'>, {
@@ -18,19 +18,7 @@ export type RadioProps = MergeRight<DefaultProps & Omit<InputProps, 'type' | 'ro
18
18
  value?: InputProps['value'];
19
19
  /** Validation message for field */
20
20
  validation?: ReactNode;
21
- } & ({
22
- 'aria-label': string;
23
- 'aria-labelledby'?: never;
24
- label?: never;
25
- } | {
26
- 'aria-label'?: never;
27
- 'aria-labelledby'?: never;
28
- label: ReactNode;
29
- } | {
30
- 'aria-label'?: never;
31
- 'aria-labelledby': string;
32
- label?: never;
33
- })>;
21
+ } & LabelRequired>;
34
22
  /**
35
23
  * Radio used to select multiple options.
36
24
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,EACzD;IACE;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CA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CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,mCAAmC;IACnC,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB,GAAG,aAAa,CAClB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK,qFAYhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sDAAsD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,sDAAsD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE9E,eAAO,MAAM,MAAM,4HAKjB,CAAC"}
1
+ {"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Search/Search.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE9E,eAAO,MAAM,MAAM,4HAKjB,CAAC"}
@@ -61,6 +61,7 @@ export declare const SearchButton: React.ForwardRefExoticComponent<{
61
61
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
62
62
  is?: string | undefined;
63
63
  popovertarget?: string | undefined;
64
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
64
65
  "aria-activedescendant"?: string | undefined;
65
66
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
66
67
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -277,7 +278,6 @@ export declare const SearchButton: React.ForwardRefExoticComponent<{
277
278
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
278
279
  value?: string | readonly string[] | number | undefined;
279
280
  form?: string | undefined;
280
- 'data-size'?: import("../../../types").Size | undefined;
281
281
  name?: string | undefined;
282
282
  disabled?: boolean | undefined;
283
283
  formAction?: string | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SearchButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/SearchButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,WAAW,EACX;IACE,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CACF,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAQxB,CAAC"}
1
+ {"version":3,"file":"SearchButton.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Search/SearchButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,WAAW,EACX;IACE,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CACF,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAQxB,CAAC"}
@@ -59,6 +59,7 @@ export declare const SearchClear: React.ForwardRefExoticComponent<Omit<{
59
59
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
60
60
  is?: string | undefined;
61
61
  popovertarget?: string | undefined;
62
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
62
63
  "aria-activedescendant"?: string | undefined;
63
64
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
64
65
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -275,7 +276,6 @@ export declare const SearchClear: React.ForwardRefExoticComponent<Omit<{
275
276
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
276
277
  value?: string | readonly string[] | number | undefined;
277
278
  form?: string | undefined;
278
- 'data-size'?: import("../../../types").Size | undefined;
279
279
  name?: string | undefined;
280
280
  disabled?: boolean | undefined;
281
281
  formAction?: string | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SearchClear.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/SearchClear.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC,GAAG;IACzE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAPtB;;;OAGG;mBACY,MAAM;2CAqCtB,CAAC"}
1
+ {"version":3,"file":"SearchClear.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Search/SearchClear.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,cAAc,CAAC;AAIxD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC,GAAG;IACzE;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAPtB;;;OAGG;mBACY,MAAM;2CAqCtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,gBAAgB,GAAG,YAAY,GACzC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,gKAYvB,CAAC"}
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Search/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,MAAM,gBAAgB,GAAG,YAAY,GACzC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;AAEzE,eAAO,MAAM,WAAW,gKAYvB,CAAC"}
@@ -67,6 +67,7 @@ declare const Search: React.ForwardRefExoticComponent<import("../../../types").D
67
67
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
68
68
  is?: string | undefined;
69
69
  popovertarget?: string | undefined;
70
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
70
71
  "aria-activedescendant"?: string | undefined;
71
72
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
72
73
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -283,7 +284,6 @@ declare const Search: React.ForwardRefExoticComponent<import("../../../types").D
283
284
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
284
285
  value?: string | readonly string[] | number | undefined;
285
286
  form?: string | undefined;
286
- 'data-size'?: import("../../../types").Size | undefined;
287
287
  name?: string | undefined;
288
288
  disabled?: boolean | undefined;
289
289
  formAction?: string | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
@@ -353,6 +353,7 @@ declare const Search: React.ForwardRefExoticComponent<import("../../../types").D
353
353
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
354
354
  is?: string | undefined;
355
355
  popovertarget?: string | undefined;
356
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
356
357
  "aria-activedescendant"?: string | undefined;
357
358
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
358
359
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -569,7 +570,6 @@ declare const Search: React.ForwardRefExoticComponent<import("../../../types").D
569
570
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
570
571
  value?: string | readonly string[] | number | undefined;
571
572
  form?: string | undefined;
572
- 'data-size'?: import("../../../types").Size | undefined;
573
573
  name?: string | undefined;
574
574
  disabled?: boolean | undefined;
575
575
  formAction?: string | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Search/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIV,CAAC;AAMH,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACx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gBAAgB,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC"}
@@ -63,6 +63,8 @@ export declare const Select: React.ForwardRefExoticComponent<{
63
63
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
64
64
  is?: string | undefined;
65
65
  popovertarget?: string | undefined;
66
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
67
+ 'data-color'?: (import("../../../colors").Color | (string & {})) | undefined;
66
68
  "aria-activedescendant"?: string | undefined;
67
69
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
68
70
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -279,7 +281,6 @@ export declare const Select: React.ForwardRefExoticComponent<{
279
281
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSelectElement> | undefined;
280
282
  value?: string | readonly string[] | number | undefined;
281
283
  form?: string | undefined;
282
- 'data-size'?: import("../../../types").Size | undefined;
283
284
  name?: string | undefined;
284
285
  disabled?: boolean | undefined;
285
286
  autoComplete?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/Select.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG,UAAU,CAClC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAC9B,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,EAC3D;IACE;;OAEG;IACH,QAAQ,CAAC,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAPJ,OAAO;WAGX,MAAM;2CAuBhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOptgroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/SelectOptgroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAEhD,eAAO,MAAM,cAAc;IAPzB;;;OAGG;cACO,OAAO;2FAUjB,CAAC"}
1
+ {"version":3,"file":"SelectOptgroup.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Select/SelectOptgroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAEhD,eAAO,MAAM,cAAc;IAPzB;;;OAGG;cACO,OAAO;2FAUjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/SelectOption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,YAAY;IAPvB;;;OAGG;cACO,OAAO;qFASlB,CAAC"}
1
+ {"version":3,"file":"SelectOption.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Select/SelectOption.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,YAAY;IAPvB;;;OAGG;cACO,OAAO;qFASlB,CAAC"}
@@ -53,6 +53,8 @@ declare const Select: React.ForwardRefExoticComponent<{
53
53
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
54
54
  is?: string | undefined;
55
55
  popovertarget?: string | undefined;
56
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
57
+ 'data-color'?: (import("../../../colors").Color | (string & {})) | undefined;
56
58
  "aria-activedescendant"?: string | undefined;
57
59
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
58
60
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -269,7 +271,6 @@ declare const Select: React.ForwardRefExoticComponent<{
269
271
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSelectElement> | undefined;
270
272
  value?: string | readonly string[] | number | undefined;
271
273
  form?: string | undefined;
272
- 'data-size'?: import("../../../types").Size | undefined;
273
274
  name?: string | undefined;
274
275
  disabled?: boolean | undefined;
275
276
  autoComplete?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Select/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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c,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { InputHTMLAttributes, ReactNode } from 'react';
2
2
  import type { Color } from '../../../colors';
3
- import type { DefaultProps } from '../../../types';
3
+ import type { DefaultProps, LabelRequired } from '../../../types';
4
4
  import type { MergeRight } from '../../../utilities';
5
5
  import { type FieldProps } from '../Field';
6
6
  import { type InputProps } from '../Input';
@@ -26,19 +26,7 @@ export type SwitchProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTM
26
26
  * from the nearest ancestor with data-color.
27
27
  */
28
28
  'data-color'?: Color;
29
- } & ({
30
- 'aria-label': string;
31
- 'aria-labelledby'?: never;
32
- label?: never;
33
- } | {
34
- 'aria-label'?: never;
35
- 'aria-labelledby'?: never;
36
- label: ReactNode;
37
- } | {
38
- 'aria-label'?: never;
39
- 'aria-labelledby': string;
40
- label?: never;
41
- })>;
29
+ } & LabelRequired>;
42
30
  /**
43
31
  * Switch used to toggle options.
44
32
  * @example
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,MAAM,MAAM,WAAW,GAAG,UAAU,CAClC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAClE;IACE,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB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,MAAM,MAAM,WAAW,GAAG,UAAU,CAClC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAClE;IACE,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB;IAClB,KAAK,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;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GAAG,aAAa,CAClB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,sFAyBjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GACrE,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,4JAMpB,CAAC"}
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Textarea/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GACrE,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAEnC;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,4JAMpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textarea/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Textarea/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTextarea.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textarea/useTextarea.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG;IAC3E,aAAa,EAAE,IAAI,CACjB,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAC1D,GACC,SAAS,CAAC,YAAY,CAAC,CAAC;CAC3B,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,WAAW,EAAE,WAgCzB,CAAC"}
1
+ {"version":3,"file":"useTextarea.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Textarea/useTextarea.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG;IAC3E,aAAa,EAAE,IAAI,CACjB,sBAAsB,CAAC,mBAAmB,CAAC,EAC3C,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAC1D,GACC,SAAS,CAAC,YAAY,CAAC,CAAC;CAC3B,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,WAAW,EAAE,WAgCzB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from 'react';
2
- import type { DefaultProps } from '../../../types';
2
+ import type { DefaultProps, LabelRequired } from '../../../types';
3
3
  import { type FieldCounterProps } from '../Field';
4
4
  import { type InputProps } from '../Input';
5
5
  import { type TextareaProps } from '../Textarea';
@@ -24,7 +24,7 @@ type SharedTextfieldProps = {
24
24
  * Pass a number to set a limit, or an object to configure the counter
25
25
  */
26
26
  counter?: FieldCounterProps | number;
27
- } & Omit<DefaultProps, 'data-color'>;
27
+ } & LabelRequired & Omit<DefaultProps, 'data-color'>;
28
28
  type TextfieldTextareaProps = {
29
29
  /** Use to render a `Textarea` instead of `Input` for multiline support */
30
30
  multiline: true;
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,OAAO,EAIL,KAAK,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AmB,GAAG;IACzB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAC/C,CAAC,sBAAsB,GAAG,mBAAmB,CAAC,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,+GAgDpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Textfield/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Textfield/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFormField.d.ts","sourceRoot":"","sources":["../../../../src/components/form/useFormField.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,MAAM,cAAc,GAAG;IAC3B,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,2BAA2B;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAE1D,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,OAAO,CAAC;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C;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;SAGK;IACL,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC3C,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,CACI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IAAC,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,CAC3D,CAAC;AAEJ,eAAO,MAAM,QAAQ,uFAgCpB,CAAC"}
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/loaders/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;SAGK;IACL,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC3C,GAAG,cAAc,CAAC,eAAe,CAAC,GACjC,CACI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IAAC,UAAU,CAAC,EAAE,KAAK,CAAA;CAAE,CAC3D,CAAC;AAEJ,eAAO,MAAM,QAAQ,uFAgCpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Skeleton/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loaders/Skeleton/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Spinner/Spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAElE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAM,MAAM,YAAY,GAAG;IACzB,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GACjC,CACI;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,KAAK,CAAA;CAAE,GAC/C;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,IAAI,GAAG,MAAM,CAAA;CAAE,CAC1D,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,OAAO,oFA0ClB,CAAC"}
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/loaders/Spinner/Spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAc,MAAM,OAAO,CAAC;AAElE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAG7C,MAAM,MAAM,YAAY,GAAG;IACzB,yBAAyB;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GAAG,wBAAwB,CAAC,KAAK,CAAC,GACjC,CACI;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,KAAK,CAAA;CAAE,GAC/C;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,IAAI,GAAG,MAAM,CAAA;CAAE,CAC1D,CAAC;AAEJ,2EAA2E;AAC3E,eAAO,MAAM,OAAO,oFA0ClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/loaders/Spinner/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/loaders/Spinner/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './components';
2
2
  export { useSynchronizedAnimation, useIsomorphicLayoutEffect, RovingFocusRoot, useRovingFocus, RovingFocusItem, getNextFocusableValue, getPrevFocusableValue, omit, } from './utilities';
3
+ export type { Size } from './types';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,GACL,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,GACL,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  import type { Color } from './colors';
2
3
  export type Size = 'sm' | 'md' | 'lg';
3
4
  export type PortalProps = {
@@ -16,4 +17,17 @@ export type DefaultProps = {
16
17
  */
17
18
  'data-color'?: Color;
18
19
  };
20
+ export type LabelRequired = {
21
+ 'aria-label': string;
22
+ 'aria-labelledby'?: never;
23
+ label?: never;
24
+ } | {
25
+ 'aria-label'?: never;
26
+ 'aria-labelledby'?: never;
27
+ label: ReactNode;
28
+ } | {
29
+ 'aria-label'?: never;
30
+ 'aria-labelledby': string;
31
+ label?: never;
32
+ };
19
33
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtC,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,aAAa,GACrB;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAClE;IAAE,YAAY,CAAC,EAAE,KAAK,CAAC;IAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,GACrE;IAAE,YAAY,CAAC,EAAE,KAAK,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RovingFocusItem.d.ts","sourceRoot":"","sources":["../../../../src/utilities/RovingFocus/RovingFocusItem.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAa5D,6CAA6C;AAC7C,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,iDAAiD;AACjD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,eAAO,MAAM,eAAe;IA3B1B,yFAAyF;YACjF,MAAM;IACd;;;OAGG;cACO,OAAO;mEAwFlB,CAAC"}
1
+ {"version":3,"file":"RovingFocusItem.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/RovingFocusItem.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAa5D,6CAA6C;AAC7C,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,iDAAiD;AACjD,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,kBAAkB,EAAE,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAGhC;AAED,eAAO,MAAM,eAAe;IA3B1B,yFAAyF;YACjF,MAAM;IACd;;;OAGG;cACO,OAAO;mEAwFlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RovingFocusRoot.d.ts","sourceRoot":"","sources":["../../../../src/utilities/RovingFocus/RovingFocusRoot.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAEV,cAAc,EACd,gBAAgB,EAChB,SAAS,EACV,MAAM,OAAO,CAAC;AAqBf,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,gBAAgB,CAAC,GAAG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AAe;IA7C1B,iIAAiI;cACvH,SAAS;IACnB,iGAAiG;kBACnF,MAAM;IACpB;;;OAGG;cACO,OAAO;IACjB;;;;;OAKG;kBACW,UAAU,GAAG,YAAY,GAAG,WAAW;mEAkHtD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utilities/RovingFocus/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/RovingFocus/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC"}
@@ -58,6 +58,8 @@ export declare const useRovingFocus: (value: string) => {
58
58
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
59
59
  is?: string | undefined;
60
60
  popovertarget?: string;
61
+ 'data-size'?: import("../..").Size | (string & {});
62
+ 'data-color'?: import("../../colors").Color | (string & {});
61
63
  "aria-activedescendant"?: string | undefined;
62
64
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
63
65
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"useRovingFocus.d.ts","sourceRoot":"","sources":["../../../../src/utilities/RovingFocus/useRovingFocus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,wEAAwE;AACxE,eAAO,MAAM,cAAc,UAAW,MAAM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1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utilities/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uDAAuD,CAAC;AAClG,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ChangeEvent, ReactNode } from 'react';
2
+ import type { CheckboxProps } from '../../../components';
2
3
  export type UseCheckboxGroupProps = {
3
4
  /**
4
5
  * Disables all checkboxes in the group.
@@ -41,7 +42,7 @@ export type UseCheckboxGroupProps = {
41
42
  * Get anything that is set on a checkbox, but
42
43
  * remove anything that comes from the group itself.
43
44
  */
44
- export type GetCheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'role' | 'type' | 'size' | 'aria-label' | 'aria-labelledby' | 'label' | 'checked' | 'value'> & {
45
+ export type GetCheckboxProps = Omit<CheckboxProps, 'prefix' | 'role' | 'type' | 'size' | 'aria-label' | 'aria-labelledby' | 'label' | 'checked' | 'value'> & {
45
46
  /** Enables indeterminate handling for this `Checkbox` and `CheckboxGroup` */
46
47
  allowIndeterminate?: boolean;
47
48
  ref?: React.RefObject<HTMLInputElement>;
@@ -129,6 +130,8 @@ export declare function useCheckboxGroup(props?: UseCheckboxGroupProps): {
129
130
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
130
131
  is?: string | undefined;
131
132
  popovertarget?: string | undefined;
133
+ 'data-size'?: "sm" | "md" | "lg" | undefined;
134
+ 'data-color'?: import("../../../colors").Color | undefined;
132
135
  "aria-activedescendant"?: string | undefined;
133
136
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
134
137
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
@@ -360,7 +363,9 @@ export declare function useCheckboxGroup(props?: UseCheckboxGroupProps): {
360
363
  maxLength?: number | undefined;
361
364
  minLength?: number | undefined;
362
365
  src?: string | undefined;
366
+ validation?: ReactNode;
363
367
  placeholder?: string | undefined;
368
+ description?: ReactNode;
364
369
  };
365
370
  /**
366
371
  * Props to send to the `ValidationMessage` component.
@@ -1 +1 @@
1
- {"version":3,"file":"useCheckboxGroup.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/hooks/useCheckboxGroup/useCheckboxGroup.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa/C;;;;;OAKG;;;;;;EAON"}
@@ -1 +1 @@
1
- {"version":3,"file":"useDebounceCallback.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/hooks/useDebounceCallback/useDebounceCallback.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;AAElD,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC7B,KAAK,SAAK,aAa0B,CAAC,EAAE,UAWxC"}
1
+ {"version":3,"file":"useDebounceCallback.d.ts","sourceRoot":"","sources":["../../../../src/utilities/hooks/useDebounceCallback/useDebounceCallback.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;AAElD,wBAAgB,mBAAmB,CAAC,CAAC,EACnC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC7B,KAAK,SAAK,aAa0B,CAAC,EAAE,UAWxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useIsomorphicLayoutEffect.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,OAAO,CAAC;AAEnD,eAAO,MAAM,yBAAyB,kBACuB,CAAC"}
1
+ {"version":3,"file":"useIsomorphicLayoutEffect.d.ts","sourceRoot":"","sources":["../../../../src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAmB,MAAM,OAAO,CAAC;AAEnD,eAAO,MAAM,yBAAyB,kBACuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/hooks/useMediaQuery/useMediaQuery.ts"],"names":[],"mappings":"AAMA,KAAK,oBAAoB,GAAG;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAIF,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,EACE,YAAoB,EACpB,mBAA0B,GAC3B,GAAE,oBAAyB,GAC3B,OAAO,CA2CT"}
1
+ {"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../../../src/utilities/hooks/useMediaQuery/useMediaQuery.ts"],"names":[],"mappings":"AAMA,KAAK,oBAAoB,GAAG;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAIF,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,EACb,EACE,YAAoB,EACpB,mBAA0B,GAC3B,GAAE,oBAAyB,GAC3B,OAAO,CA2CT"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../../../src/utilities/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,iBAMtC"}
1
+ {"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../../../src/utilities/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,iBAMtC"}