@digdir/designsystemet-react 1.0.7 → 1.1.0

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 (217) hide show
  1. package/dist/cjs/components/Combobox/Combobox.js +1 -1
  2. package/dist/cjs/components/Combobox/ComboboxIdContext.js +1 -1
  3. package/dist/cjs/components/Field/Field.js +4 -2
  4. package/dist/cjs/components/Suggestion/Suggestion.js +73 -42
  5. package/dist/cjs/components/Suggestion/SuggestionChips.js +15 -0
  6. package/dist/cjs/components/Suggestion/SuggestionClear.js +2 -30
  7. package/dist/cjs/components/Suggestion/SuggestionEmpty.js +4 -4
  8. package/dist/cjs/components/Suggestion/SuggestionInput.js +12 -23
  9. package/dist/cjs/components/Suggestion/SuggestionList.js +4 -8
  10. package/dist/cjs/components/Suggestion/SuggestionOption.js +0 -1
  11. package/dist/cjs/components/Suggestion/index.js +4 -0
  12. package/dist/cjs/components/Tabs/TabsTab.js +2 -1
  13. package/dist/cjs/index.js +144 -156
  14. package/dist/cjs/utilities/omit/omit.js +1 -1
  15. package/dist/esm/components/Combobox/Combobox.js +1 -1
  16. package/dist/esm/components/Combobox/ComboboxIdContext.js +1 -1
  17. package/dist/esm/components/Field/Field.js +4 -2
  18. package/dist/esm/components/Suggestion/Suggestion.js +74 -43
  19. package/dist/esm/components/Suggestion/SuggestionChips.js +13 -0
  20. package/dist/esm/components/Suggestion/SuggestionClear.js +4 -31
  21. package/dist/esm/components/Suggestion/SuggestionEmpty.js +5 -5
  22. package/dist/esm/components/Suggestion/SuggestionInput.js +13 -24
  23. package/dist/esm/components/Suggestion/SuggestionList.js +4 -8
  24. package/dist/esm/components/Suggestion/SuggestionOption.js +0 -1
  25. package/dist/esm/components/Suggestion/index.js +4 -1
  26. package/dist/esm/components/Tabs/TabsTab.js +2 -1
  27. package/dist/esm/index.js +67 -73
  28. package/dist/esm/utilities/omit/omit.js +1 -1
  29. package/dist/react-types.d.ts +1 -0
  30. package/dist/types/components/Alert/index.d.ts +1 -1
  31. package/dist/types/components/Alert/index.d.ts.map +1 -1
  32. package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
  33. package/dist/types/components/Avatar/index.d.ts +1 -1
  34. package/dist/types/components/Avatar/index.d.ts.map +1 -1
  35. package/dist/types/components/Badge/Badge.d.ts.map +1 -1
  36. package/dist/types/components/Badge/BadgePosition.d.ts.map +1 -1
  37. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  38. package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts.map +1 -1
  39. package/dist/types/components/Breadcrumbs/BreadcrumbsLink.d.ts.map +1 -1
  40. package/dist/types/components/Breadcrumbs/BreadcrumbsList.d.ts.map +1 -1
  41. package/dist/types/components/Breadcrumbs/index.d.ts +1 -1
  42. package/dist/types/components/Button/Button.d.ts.map +1 -1
  43. package/dist/types/components/Button/index.d.ts +1 -1
  44. package/dist/types/components/Button/index.d.ts.map +1 -1
  45. package/dist/types/components/Checkbox/index.d.ts +1 -1
  46. package/dist/types/components/Checkbox/index.d.ts.map +1 -1
  47. package/dist/types/components/Chip/Chips.d.ts.map +1 -1
  48. package/dist/types/components/Combobox/Combobox.d.ts +1 -1
  49. package/dist/types/components/Combobox/Combobox.d.ts.map +1 -1
  50. package/dist/types/components/Combobox/ComboboxContext.d.ts +1 -1
  51. package/dist/types/components/Combobox/ComboboxContext.d.ts.map +1 -1
  52. package/dist/types/components/Combobox/ComboboxIdContext.d.ts +1 -1
  53. package/dist/types/components/Combobox/ComboboxIdContext.d.ts.map +1 -1
  54. package/dist/types/components/Combobox/Custom.d.ts.map +1 -1
  55. package/dist/types/components/Combobox/Empty.d.ts.map +1 -1
  56. package/dist/types/components/Combobox/Option/Description.d.ts.map +1 -1
  57. package/dist/types/components/Combobox/Option/Option.d.ts.map +1 -1
  58. package/dist/types/components/Combobox/Option/useComboboxOption.d.ts.map +1 -1
  59. package/dist/types/components/Combobox/index.d.ts +1 -1
  60. package/dist/types/components/Combobox/index.d.ts.map +1 -1
  61. package/dist/types/components/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  62. package/dist/types/components/Combobox/useCombobox.d.ts.map +1 -1
  63. package/dist/types/components/Combobox/useComboboxKeyboard.d.ts.map +1 -1
  64. package/dist/types/components/Combobox/useFloatingCombobox.d.ts +1 -1
  65. package/dist/types/components/Combobox/useFloatingCombobox.d.ts.map +1 -1
  66. package/dist/types/components/Combobox/useFormField/useFormField.d.ts.map +1 -1
  67. package/dist/types/components/Combobox/utilities.d.ts.map +1 -1
  68. package/dist/types/components/Details/index.d.ts +1 -1
  69. package/dist/types/components/Details/index.d.ts.map +1 -1
  70. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
  71. package/dist/types/components/Dialog/DialogTrigger.d.ts.map +1 -1
  72. package/dist/types/components/Dialog/DialogTriggerContext.d.ts.map +1 -1
  73. package/dist/types/components/Dialog/index.d.ts +2 -2
  74. package/dist/types/components/Dialog/index.d.ts.map +1 -1
  75. package/dist/types/components/Divider/index.d.ts +1 -1
  76. package/dist/types/components/Divider/index.d.ts.map +1 -1
  77. package/dist/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  78. package/dist/types/components/Dropdown/DropdownItem.d.ts.map +1 -1
  79. package/dist/types/components/Dropdown/DropdownList.d.ts.map +1 -1
  80. package/dist/types/components/Dropdown/index.d.ts +4 -4
  81. package/dist/types/components/Dropdown/index.d.ts.map +1 -1
  82. package/dist/types/components/ErrorSummary/ErrorSummary.d.ts.map +1 -1
  83. package/dist/types/components/ErrorSummary/index.d.ts +2 -2
  84. package/dist/types/components/ErrorSummary/index.d.ts.map +1 -1
  85. package/dist/types/components/Field/Field.d.ts +10 -0
  86. package/dist/types/components/Field/Field.d.ts.map +1 -1
  87. package/dist/types/components/Field/index.d.ts +3 -2
  88. package/dist/types/components/Field/index.d.ts.map +1 -1
  89. package/dist/types/components/Fieldset/FieldsetLegend.d.ts.map +1 -1
  90. package/dist/types/components/Fieldset/index.d.ts +2 -2
  91. package/dist/types/components/Fieldset/index.d.ts.map +1 -1
  92. package/dist/types/components/Heading/index.d.ts +1 -1
  93. package/dist/types/components/Heading/index.d.ts.map +1 -1
  94. package/dist/types/components/Input/index.d.ts +1 -1
  95. package/dist/types/components/Input/index.d.ts.map +1 -1
  96. package/dist/types/components/Label/index.d.ts +1 -1
  97. package/dist/types/components/Label/index.d.ts.map +1 -1
  98. package/dist/types/components/Link/index.d.ts +1 -1
  99. package/dist/types/components/Link/index.d.ts.map +1 -1
  100. package/dist/types/components/List/ListItem.d.ts.map +1 -1
  101. package/dist/types/components/List/Lists.d.ts.map +1 -1
  102. package/dist/types/components/List/index.d.ts +1 -1
  103. package/dist/types/components/List/index.d.ts.map +1 -1
  104. package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
  105. package/dist/types/components/Pagination/PaginationItem.d.ts.map +1 -1
  106. package/dist/types/components/Pagination/PaginationList.d.ts.map +1 -1
  107. package/dist/types/components/Pagination/index.d.ts +1 -1
  108. package/dist/types/components/Paragraph/index.d.ts +1 -1
  109. package/dist/types/components/Paragraph/index.d.ts.map +1 -1
  110. package/dist/types/components/Popover/Popover.d.ts +1 -1
  111. package/dist/types/components/Popover/Popover.d.ts.map +1 -1
  112. package/dist/types/components/Popover/PopoverTrigger.d.ts.map +1 -1
  113. package/dist/types/components/Popover/PopoverTriggerContext.d.ts.map +1 -1
  114. package/dist/types/components/Popover/index.d.ts +2 -2
  115. package/dist/types/components/Popover/index.d.ts.map +1 -1
  116. package/dist/types/components/Radio/index.d.ts +1 -1
  117. package/dist/types/components/Radio/index.d.ts.map +1 -1
  118. package/dist/types/components/Search/SearchButton.d.ts.map +1 -1
  119. package/dist/types/components/Select/Select.d.ts.map +1 -1
  120. package/dist/types/components/Select/SelectOptgroup.d.ts.map +1 -1
  121. package/dist/types/components/Select/SelectOption.d.ts.map +1 -1
  122. package/dist/types/components/Select/index.d.ts +1 -1
  123. package/dist/types/components/Select/index.d.ts.map +1 -1
  124. package/dist/types/components/Skeleton/Skeleton.d.ts.map +1 -1
  125. package/dist/types/components/SkipLink/SkipLink.d.ts.map +1 -1
  126. package/dist/types/components/SkipLink/index.d.ts +1 -1
  127. package/dist/types/components/SkipLink/index.d.ts.map +1 -1
  128. package/dist/types/components/Spinner/index.d.ts +1 -1
  129. package/dist/types/components/Spinner/index.d.ts.map +1 -1
  130. package/dist/types/components/Suggestion/Suggestion.d.ts +100 -74
  131. package/dist/types/components/Suggestion/Suggestion.d.ts.map +1 -1
  132. package/dist/types/components/Suggestion/SuggestionChips.d.ts +19 -0
  133. package/dist/types/components/Suggestion/SuggestionChips.d.ts.map +1 -0
  134. package/dist/types/components/Suggestion/SuggestionClear.d.ts +1 -8
  135. package/dist/types/components/Suggestion/SuggestionClear.d.ts.map +1 -1
  136. package/dist/types/components/Suggestion/SuggestionEmpty.d.ts +1 -1
  137. package/dist/types/components/Suggestion/SuggestionEmpty.d.ts.map +1 -1
  138. package/dist/types/components/Suggestion/SuggestionInput.d.ts +1 -1
  139. package/dist/types/components/Suggestion/SuggestionInput.d.ts.map +1 -1
  140. package/dist/types/components/Suggestion/SuggestionList.d.ts +5 -5
  141. package/dist/types/components/Suggestion/SuggestionList.d.ts.map +1 -1
  142. package/dist/types/components/Suggestion/SuggestionOption.d.ts +0 -1
  143. package/dist/types/components/Suggestion/SuggestionOption.d.ts.map +1 -1
  144. package/dist/types/components/Suggestion/index.d.ts +23 -8
  145. package/dist/types/components/Suggestion/index.d.ts.map +1 -1
  146. package/dist/types/components/Switch/index.d.ts +1 -1
  147. package/dist/types/components/Switch/index.d.ts.map +1 -1
  148. package/dist/types/components/Table/Table.d.ts.map +1 -1
  149. package/dist/types/components/Table/TableBody.d.ts.map +1 -1
  150. package/dist/types/components/Table/TableCell.d.ts.map +1 -1
  151. package/dist/types/components/Table/TableFoot.d.ts.map +1 -1
  152. package/dist/types/components/Table/TableHead.d.ts.map +1 -1
  153. package/dist/types/components/Table/TableHeaderCell.d.ts.map +1 -1
  154. package/dist/types/components/Table/TableRow.d.ts.map +1 -1
  155. package/dist/types/components/Table/index.d.ts +6 -6
  156. package/dist/types/components/Table/index.d.ts.map +1 -1
  157. package/dist/types/components/Tabs/TabsTab.d.ts.map +1 -1
  158. package/dist/types/components/Tabs/index.d.ts +1 -1
  159. package/dist/types/components/Tabs/index.d.ts.map +1 -1
  160. package/dist/types/components/Tag/index.d.ts +1 -1
  161. package/dist/types/components/Tag/index.d.ts.map +1 -1
  162. package/dist/types/components/Textarea/index.d.ts +1 -1
  163. package/dist/types/components/Textarea/index.d.ts.map +1 -1
  164. package/dist/types/components/Textfield/Textfield.d.ts.map +1 -1
  165. package/dist/types/components/Textfield/index.d.ts +1 -1
  166. package/dist/types/components/Textfield/index.d.ts.map +1 -1
  167. package/dist/types/components/ValidationMessage/index.d.ts +1 -1
  168. package/dist/types/components/ValidationMessage/index.d.ts.map +1 -1
  169. package/dist/types/components/index.d.ts +29 -30
  170. package/dist/types/components/index.d.ts.map +1 -1
  171. package/dist/types/index.d.ts +1 -1
  172. package/dist/types/index.d.ts.map +1 -1
  173. package/dist/types/utilities/RovingFocus/RovingFocusItem.d.ts.map +1 -1
  174. package/dist/types/utilities/RovingFocus/RovingFocusRoot.d.ts.map +1 -1
  175. package/dist/types/utilities/RovingFocus/index.d.ts +1 -1
  176. package/dist/types/utilities/RovingFocus/index.d.ts.map +1 -1
  177. package/dist/types/utilities/hooks/index.d.ts +5 -5
  178. package/dist/types/utilities/hooks/index.d.ts.map +1 -1
  179. package/dist/types/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.ts.map +1 -1
  180. package/dist/types/utilities/hooks/useMergeRefs/useMergeRefs.d.ts.map +1 -1
  181. package/dist/types/utilities/hooks/usePagination/usePagination.d.ts.map +1 -1
  182. package/dist/types/utilities/hooks/useRadioGroup/useRadioGroup.d.ts.map +1 -1
  183. package/dist/types/utilities/index.d.ts +2 -2
  184. package/dist/types/utilities/index.d.ts.map +1 -1
  185. package/package.json +15 -17
  186. package/dist/cjs/components/MultiSuggestion/MultiSuggestion.js +0 -160
  187. package/dist/cjs/components/MultiSuggestion/MultiSuggestionChips.js +0 -20
  188. package/dist/cjs/components/MultiSuggestion/MultiSuggestionClear.js +0 -52
  189. package/dist/cjs/components/MultiSuggestion/MultiSuggestionEmpty.js +0 -23
  190. package/dist/cjs/components/MultiSuggestion/MultiSuggestionInput.js +0 -37
  191. package/dist/cjs/components/MultiSuggestion/MultiSuggestionList.js +0 -30
  192. package/dist/cjs/components/MultiSuggestion/MultiSuggestionOption.js +0 -12
  193. package/dist/cjs/components/MultiSuggestion/index.js +0 -34
  194. package/dist/esm/components/MultiSuggestion/MultiSuggestion.js +0 -157
  195. package/dist/esm/components/MultiSuggestion/MultiSuggestionChips.js +0 -18
  196. package/dist/esm/components/MultiSuggestion/MultiSuggestionClear.js +0 -49
  197. package/dist/esm/components/MultiSuggestion/MultiSuggestionEmpty.js +0 -21
  198. package/dist/esm/components/MultiSuggestion/MultiSuggestionInput.js +0 -35
  199. package/dist/esm/components/MultiSuggestion/MultiSuggestionList.js +0 -28
  200. package/dist/esm/components/MultiSuggestion/MultiSuggestionOption.js +0 -10
  201. package/dist/esm/components/MultiSuggestion/index.js +0 -26
  202. package/dist/types/components/MultiSuggestion/MultiSuggestion.d.ts +0 -131
  203. package/dist/types/components/MultiSuggestion/MultiSuggestion.d.ts.map +0 -1
  204. package/dist/types/components/MultiSuggestion/MultiSuggestionChips.d.ts +0 -20
  205. package/dist/types/components/MultiSuggestion/MultiSuggestionChips.d.ts.map +0 -1
  206. package/dist/types/components/MultiSuggestion/MultiSuggestionClear.d.ts +0 -35
  207. package/dist/types/components/MultiSuggestion/MultiSuggestionClear.d.ts.map +0 -1
  208. package/dist/types/components/MultiSuggestion/MultiSuggestionEmpty.d.ts +0 -15
  209. package/dist/types/components/MultiSuggestion/MultiSuggestionEmpty.d.ts.map +0 -1
  210. package/dist/types/components/MultiSuggestion/MultiSuggestionInput.d.ts +0 -21
  211. package/dist/types/components/MultiSuggestion/MultiSuggestionInput.d.ts.map +0 -1
  212. package/dist/types/components/MultiSuggestion/MultiSuggestionList.d.ts +0 -40
  213. package/dist/types/components/MultiSuggestion/MultiSuggestionList.d.ts.map +0 -1
  214. package/dist/types/components/MultiSuggestion/MultiSuggestionOption.d.ts +0 -6
  215. package/dist/types/components/MultiSuggestion/MultiSuggestionOption.d.ts.map +0 -1
  216. package/dist/types/components/MultiSuggestion/index.d.ts +0 -50
  217. package/dist/types/components/MultiSuggestion/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAKxD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,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;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,uFAgCpB,CAAC"}
1
+ {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIxD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,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;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,uFAgCpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../src/components/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD;IACE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CACF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;IAlBjB;;OAEG;cACO,SAAS;IACnB;;OAEG;UACG,MAAM;2CAmBf,CAAC"}
1
+ {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../src/components/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,oBAAoB,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD;IACE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CACF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;IAlBjB;;OAEG;cACO,SAAS;IACnB;;OAEG;UACG,MAAM;2CAmBf,CAAC"}
@@ -1,3 +1,3 @@
1
- export { SkipLink } from './SkipLink';
2
1
  export type { SkipLinkProps } from './SkipLink';
2
+ export { SkipLink } from './SkipLink';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkipLink/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SkipLink/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Spinner } from './Spinner';
2
1
  export type { SpinnerProps } from './Spinner';
2
+ export { Spinner } from './Spinner';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
@@ -1,14 +1,44 @@
1
1
  import { type HTMLAttributes } from 'react';
2
- import type { DefaultProps } from '../../types';
3
- import type { MergeRight } from '../../utilities';
2
+ import '@u-elements/u-combobox';
3
+ import type { UHTMLComboboxElement } from '@u-elements/u-combobox';
4
+ export type SuggestionValues = Array<string | Partial<Item>> | string;
5
+ type Item = {
6
+ label: string;
7
+ value: string;
8
+ };
9
+ type Filter = (args: {
10
+ /**
11
+ * Index of the `option`
12
+ */
13
+ index: number;
14
+ /**
15
+ * Label content of the `option`
16
+ */
17
+ label: string;
18
+ /**
19
+ * Text content of the `option`
20
+ */
21
+ text: string;
22
+ /**
23
+ * Value of the `option`
24
+ */
25
+ value: string;
26
+ /**
27
+ * The DOM element of the `option`
28
+ */
29
+ optionElement: HTMLOptionElement;
30
+ /**
31
+ * The DOM element of the `input`
32
+ */
33
+ input: HTMLInputElement;
34
+ }) => boolean;
4
35
  type SuggestionContextType = {
5
- listId?: string;
6
- inputRef?: React.RefObject<HTMLInputElement | null>;
7
- setListId?: (id: string) => void;
8
- handleFilter?: (input?: HTMLInputElement | null) => void;
36
+ isEmpty?: boolean;
37
+ selectedItems?: Item[];
38
+ handleFilter: (input?: HTMLInputElement | null) => void;
9
39
  };
10
40
  export declare const SuggestionContext: React.Context<SuggestionContextType>;
11
- export type SuggestionProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
41
+ export type SuggestionProps = {
12
42
  /**
13
43
  * Filter options, either true, false or a custom callback () => boolean
14
44
  *
@@ -18,49 +48,40 @@ export type SuggestionProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivEl
18
48
  *
19
49
  * @default true
20
50
  */
21
- filter?: boolean | ((args: {
22
- /**
23
- * Index of the `option`
24
- */
25
- index: number;
26
- /**
27
- * Text content of the `option`
28
- */
29
- text: string;
30
- /**
31
- * Value of the `option`
32
- */
33
- value: string;
34
- /**
35
- * The DOM element of the `option`
36
- */
37
- optionElement: HTMLOptionElement;
38
- /**
39
- * The DOM element of the `input`
40
- */
41
- input: HTMLInputElement;
42
- }) => boolean);
43
- /**
44
- * Change the default rendered element for the one passed as a child, merging their props and behavior.
51
+ filter?: boolean | Filter;
52
+ /**
53
+ * Allows the user to create new items
54
+ *
45
55
  * @default false
46
56
  */
47
- asChild?: boolean;
48
- }>;
49
- /**
50
- * A component that provides a suggestion list for an input field.
51
- *
52
- * @example
53
- * <Suggestion>
54
- * <Suggestion.Input />
55
- * <Suggestion.Clear />
56
- * <Suggestion.List>
57
- * <Suggestion.Empty>Tomt</Suggestion.Empty>
58
- * <Suggestion.Option value='Option 1'>Option 1</Suggestion.Option>
59
- * <Suggestion.Option value='Option 2'>Option 2</Suggestion.Option>
60
- * </Suggestion.List>
61
- * </Suggestion>
62
- */
63
- export declare const Suggestion: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "filter" | "asChild"> & {
57
+ creatable?: boolean;
58
+ /**
59
+ * Allows the user to select multiple items
60
+ *
61
+ * @default false
62
+ */
63
+ multiple?: boolean;
64
+ /**
65
+ * The selected items of the multi-select.
66
+ * Using this makes the component controlled and it must be used in combination with onValueChange
67
+ */
68
+ value?: SuggestionValues;
69
+ /**
70
+ * Default selected items when uncontrolled
71
+ */
72
+ defaultValue?: SuggestionValues;
73
+ /**
74
+ * Callback when selected items changes
75
+ */
76
+ onValueChange?: (value: Item[]) => void;
77
+ /**
78
+ * The name of the associated form control
79
+ *
80
+ * @default undefined
81
+ */
82
+ name?: string;
83
+ } & HTMLAttributes<UHTMLComboboxElement>;
84
+ export declare const Suggestion: React.ForwardRefExoticComponent<{
64
85
  /**
65
86
  * Filter options, either true, false or a custom callback () => boolean
66
87
  *
@@ -70,33 +91,38 @@ export declare const Suggestion: React.ForwardRefExoticComponent<Omit<DefaultPro
70
91
  *
71
92
  * @default true
72
93
  */
73
- filter?: boolean | ((args: {
74
- /**
75
- * Index of the `option`
76
- */
77
- index: number;
78
- /**
79
- * Text content of the `option`
80
- */
81
- text: string;
82
- /**
83
- * Value of the `option`
84
- */
85
- value: string;
86
- /**
87
- * The DOM element of the `option`
88
- */
89
- optionElement: HTMLOptionElement;
90
- /**
91
- * The DOM element of the `input`
92
- */
93
- input: HTMLInputElement;
94
- }) => boolean);
95
- /**
96
- * Change the default rendered element for the one passed as a child, merging their props and behavior.
94
+ filter?: boolean | Filter;
95
+ /**
96
+ * Allows the user to create new items
97
+ *
97
98
  * @default false
98
99
  */
99
- asChild?: boolean;
100
- } & React.RefAttributes<HTMLDivElement>>;
100
+ creatable?: boolean;
101
+ /**
102
+ * Allows the user to select multiple items
103
+ *
104
+ * @default false
105
+ */
106
+ multiple?: boolean;
107
+ /**
108
+ * The selected items of the multi-select.
109
+ * Using this makes the component controlled and it must be used in combination with onValueChange
110
+ */
111
+ value?: SuggestionValues;
112
+ /**
113
+ * Default selected items when uncontrolled
114
+ */
115
+ defaultValue?: SuggestionValues;
116
+ /**
117
+ * Callback when selected items changes
118
+ */
119
+ onValueChange?: (value: Item[]) => void;
120
+ /**
121
+ * The name of the associated form control
122
+ *
123
+ * @default undefined
124
+ */
125
+ name?: string;
126
+ } & HTMLAttributes<UHTMLComboboxElement> & React.RefAttributes<UHTMLComboboxElement>>;
101
127
  export {};
102
128
  //# sourceMappingURL=Suggestion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Suggestion.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/Suggestion.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,cAAc,EAOpB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAA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B,CAAC;IACzB;;OAEG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACxC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AA+BzC,eAAO,MAAM,UAAU;IAxErB;;;;;;;;OAQG;aACM,OAAO,GAAG,MAAM;IACzB;;;;OAIG;gBACS,OAAO;IACnB;;;;OAIG;eACQ,OAAO;IAClB;;;OAGG;YACK,gBAAgB;IACxB;;OAEG;mBACY,gBAAgB;IAC/B;;OAEG;oBACa,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI;IACvC;;;;OAIG;WACI,MAAM;qFA6Hd,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ import type { DefaultProps } from '../../types';
3
+ import type { MergeRight } from '../../utilities';
4
+ export type SuggestionChipsProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivElement>, {
5
+ /**
6
+ * Change the rendered content of the chip.
7
+ *
8
+ * @default ({ text }) => text
9
+ */
10
+ render?: (args: {
11
+ label: string;
12
+ value: string;
13
+ }) => ReactNode;
14
+ }>;
15
+ export declare const SuggestionChips: {
16
+ ({ render, }: SuggestionChipsProps): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ //# sourceMappingURL=SuggestionChips.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuggestionChips.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionChips.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAIlD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC3C,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,EAC7C;IACE;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,SAAS,CAAC;CAChE,CACF,CAAC;AAEF,eAAO,MAAM,eAAe;kBAEzB,oBAAoB;;CAYtB,CAAC"}
@@ -7,7 +7,7 @@ export type SuggestionClearProps = Omit<ButtonProps, 'variant' | 'children'> & {
7
7
  'aria-label'?: string;
8
8
  };
9
9
  /**
10
- * Component that provides a clear button for the suggestion input.
10
+ * Component that provides a clear button for the Suggestion input.
11
11
  *
12
12
  * Place as a descendant of `Suggestion`
13
13
  *
@@ -25,11 +25,4 @@ export declare const SuggestionClear: React.ForwardRefExoticComponent<Omit<Butto
25
25
  */
26
26
  'aria-label'?: string;
27
27
  } & React.RefAttributes<HTMLButtonElement>>;
28
- type ReactInternalHack = {
29
- _valueTracker?: {
30
- setValue: (a: string) => void;
31
- };
32
- };
33
- export declare const setReactInputValue: (input: HTMLInputElement & ReactInternalHack, value: string) => void;
34
- export {};
35
28
  //# sourceMappingURL=SuggestionClear.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionClear.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionClear.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAIrD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC,GAAG;IAC7E;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;IAnB1B;;;OAGG;mBACY,MAAM;2CAkDrB,CAAC;AAIH,KAAK,iBAAiB,GAAG;IAAE,aAAa,CAAC,EAAE;QAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;CAAE,CAAC;AAG/E,eAAO,MAAM,kBAAkB,GAC7B,OAAO,gBAAgB,GAAG,iBAAiB,EAC3C,OAAO,MAAM,KACZ,IAcF,CAAC"}
1
+ {"version":3,"file":"SuggestionClear.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionClear.tsx"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,UAAU,CAAC,GAAG;IAC7E;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;IAnB1B;;;OAGG;mBACY,MAAM;2CAmCrB,CAAC"}
@@ -2,7 +2,7 @@ import type { OptionHTMLAttributes } from 'react';
2
2
  import type { DefaultProps } from '../../types';
3
3
  export type SuggestionEmptyProps = DefaultProps & OptionHTMLAttributes<HTMLOptionElement>;
4
4
  /**
5
- * Component that provides an empty suggestion list.
5
+ * Component that provides an empty Suggestion list.
6
6
  *
7
7
  * Place as a descendant of `Suggestion.List`
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionEmpty.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionEmpty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAC7C,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,kIAQ1B,CAAC"}
1
+ {"version":3,"file":"SuggestionEmpty.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionEmpty.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAC7C,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,kIAM1B,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type InputProps } from '../Input';
2
2
  export type SuggestionInputProps = InputProps;
3
3
  /**
4
- * Component that provides an input field for the suggestion list.
4
+ * Component that provides an input field for the Suggestion list.
5
5
  *
6
6
  * Place as a descendant of `Suggestion`
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionInput.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC;AAE9C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;0CAmC1B,CAAC"}
1
+ {"version":3,"file":"SuggestionInput.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC;AAE9C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe;;;;;;0CA2B1B,CAAC"}
@@ -4,18 +4,18 @@ import type { DefaultProps } from '../../types';
4
4
  import type { MergeRight } from '../../utilities';
5
5
  export type SuggestionListProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDataListElement>, {
6
6
  /**
7
- * The screen reader announcement for singular suggestion, where %d is the number of suggestions
7
+ * The screen reader announcement for singular Suggestion, where %d is the number of Suggestions
8
8
  * @default '%d forslag'
9
9
  */
10
10
  singular?: string;
11
11
  /**
12
- * The screen reader announcement for plural suggestions, where %d is the number of suggestions
12
+ * The screen reader announcement for plural Suggestions, where %d is the number of Suggestions
13
13
  * @default '%d forslag'
14
14
  */
15
15
  plural?: string;
16
16
  }>;
17
17
  /**
18
- * Component that provides a suggestion list.
18
+ * Component that provides a Suggestion list.
19
19
  *
20
20
  * Place as a descendant of `Suggestion`
21
21
  *
@@ -27,12 +27,12 @@ export type SuggestionListProps = MergeRight<DefaultProps & HTMLAttributes<HTMLD
27
27
  */
28
28
  export declare const SuggestionList: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDataListElement>, "singular" | "plural"> & {
29
29
  /**
30
- * The screen reader announcement for singular suggestion, where %d is the number of suggestions
30
+ * The screen reader announcement for singular Suggestion, where %d is the number of Suggestions
31
31
  * @default '%d forslag'
32
32
  */
33
33
  singular?: string;
34
34
  /**
35
- * The screen reader announcement for plural suggestions, where %d is the number of suggestions
35
+ * The screen reader announcement for plural Suggestions, where %d is the number of Suggestions
36
36
  * @default '%d forslag'
37
37
  */
38
38
  plural?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionList.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,YAAY,GAAG,cAAc,CAAC,mBAAmB,CAAC,EAClD;IACE;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;IAxBvB;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;aACM,MAAM;6CAwCjB,CAAC"}
1
+ {"version":3,"file":"SuggestionList.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAC1C,YAAY,GAAG,cAAc,CAAC,mBAAmB,CAAC,EAClD;IACE;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;IAxBvB;;;OAGG;eACQ,MAAM;IACjB;;;OAGG;aACM,MAAM;6CAoCjB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { OptionHTMLAttributes } from 'react';
2
2
  import type { DefaultProps } from '../../types';
3
- import '@u-elements/u-datalist';
4
3
  export type SuggestionOptionProps = OptionHTMLAttributes<HTMLOptionElement> & DefaultProps;
5
4
  export declare const SuggestionOption: React.ForwardRefExoticComponent<OptionHTMLAttributes<HTMLOptionElement> & DefaultProps & React.RefAttributes<HTMLOptionElement>>;
6
5
  //# sourceMappingURL=SuggestionOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestionOption.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzE,YAAY,CAAC;AAEf,eAAO,MAAM,gBAAgB,kIAW3B,CAAC"}
1
+ {"version":3,"file":"SuggestionOption.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/SuggestionOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GACzE,YAAY,CAAC;AAEf,eAAO,MAAM,gBAAgB,kIAW3B,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { SuggestionChips } from './SuggestionChips';
1
2
  import { SuggestionClear } from './SuggestionClear';
2
3
  import { SuggestionEmpty } from './SuggestionEmpty';
3
4
  import { SuggestionInput } from './SuggestionInput';
@@ -17,16 +18,29 @@ import { SuggestionOption } from './SuggestionOption';
17
18
  * </Suggestion.List>
18
19
  * </Suggestion>
19
20
  */
20
- declare const EXPERIMENTAL_Suggestion: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.HTMLAttributes<HTMLDivElement>, "filter" | "asChild"> & {
21
+ declare const EXPERIMENTAL_Suggestion: React.ForwardRefExoticComponent<{
21
22
  filter?: boolean | ((args: {
22
23
  index: number;
24
+ label: string;
23
25
  text: string;
24
26
  value: string;
25
27
  optionElement: HTMLOptionElement;
26
28
  input: HTMLInputElement;
27
29
  }) => boolean);
28
- asChild?: boolean;
29
- } & React.RefAttributes<HTMLDivElement>> & {
30
+ creatable?: boolean;
31
+ multiple?: boolean;
32
+ value?: import("./Suggestion").SuggestionValues;
33
+ defaultValue?: import("./Suggestion").SuggestionValues;
34
+ onValueChange?: (value: {
35
+ label: string;
36
+ value: string;
37
+ }[]) => void;
38
+ name?: string;
39
+ } & React.HTMLAttributes<import("@u-elements/u-combobox").UHTMLComboboxElement> & React.RefAttributes<import("@u-elements/u-combobox").UHTMLComboboxElement>> & {
40
+ Chips: {
41
+ ({ render, }: import("./SuggestionChips").SuggestionChipsProps): import("react/jsx-runtime").JSX.Element;
42
+ displayName: string;
43
+ };
30
44
  List: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.HTMLAttributes<HTMLDataListElement>, "singular" | "plural"> & {
31
45
  singular?: string;
32
46
  plural?: string;
@@ -44,11 +58,12 @@ declare const EXPERIMENTAL_Suggestion: React.ForwardRefExoticComponent<Omit<impo
44
58
  'aria-label'?: string;
45
59
  } & React.RefAttributes<HTMLButtonElement>>;
46
60
  };
47
- export { EXPERIMENTAL_Suggestion, SuggestionList as EXPERIMENTAL_SuggestionList, SuggestionInput as EXPERIMENTAL_SuggestionInput, SuggestionEmpty as EXPERIMENTAL_SuggestionEmpty, SuggestionOption as EXPERIMENTAL_SuggestionOption, SuggestionClear as EXPERIMENTAL_SuggestionClear, };
48
- export type { SuggestionProps } from './Suggestion';
49
- export type { SuggestionListProps } from './SuggestionList';
50
- export type { SuggestionInputProps } from './SuggestionInput';
61
+ export { EXPERIMENTAL_Suggestion, SuggestionChips as EXPERIMENTAL_SuggestionChips, SuggestionList as EXPERIMENTAL_SuggestionList, SuggestionInput as EXPERIMENTAL_SuggestionInput, SuggestionEmpty as EXPERIMENTAL_SuggestionEmpty, SuggestionOption as EXPERIMENTAL_SuggestionOption, SuggestionClear as EXPERIMENTAL_SuggestionClear, };
62
+ export type { SuggestionProps, SuggestionValues } from './Suggestion';
63
+ export type { SuggestionChipsProps } from './SuggestionChips';
64
+ export type { SuggestionClearProps } from './SuggestionClear';
51
65
  export type { SuggestionEmptyProps } from './SuggestionEmpty';
66
+ export type { SuggestionInputProps } from './SuggestionInput';
67
+ export type { SuggestionListProps } from './SuggestionList';
52
68
  export type { SuggestionOptionProps } from './SuggestionOption';
53
- export type { SuggestionClearProps } from './SuggestionClear';
54
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AASH,OAAO,EACL,uBAAuB,EACvB,cAAc,IAAI,2BAA2B,EAC7C,eAAe,IAAI,4BAA4B,EAC/C,eAAe,IAAI,4BAA4B,EAC/C,gBAAgB,IAAI,6BAA6B,EACjD,eAAe,IAAI,4BAA4B,GAChD,CAAC;AACF,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Suggestion/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO3B,CAAC;AAUH,OAAO,EACL,uBAAuB,EACvB,eAAe,IAAI,4BAA4B,EAC/C,cAAc,IAAI,2BAA2B,EAC7C,eAAe,IAAI,4BAA4B,EAC/C,eAAe,IAAI,4BAA4B,EAC/C,gBAAgB,IAAI,6BAA6B,EACjD,eAAe,IAAI,4BAA4B,GAChD,CAAC;AACF,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Switch } from './Switch';
2
1
  export type { SwitchProps } from './Switch';
2
+ export { Switch } from './Switch';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,GACvD,YAAY,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,KAAK;IAhDhB;;;OAGG;YACK,OAAO;IACf;;;OAGG;mBACY,OAAO;IACtB;;;OAGG;aACM,OAAO;IAChB;;;OAGG;YACK,OAAO;iHAsDf,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,GACvD,YAAY,CAAC;AAEf;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,KAAK;IAhDhB;;;OAGG;YACK,OAAO;IACf;;;OAGG;mBACY,OAAO;IACtB;;;OAGG;aACM,OAAO;IAChB;;;OAGG;YACK,OAAO;iHAsDf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
1
+ {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAc,MAAM,OAAO,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,6FAIrB,CAAC"}
1
+ {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,6FAIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableFoot.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableFoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
1
+ {"version":3,"file":"TableFoot.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableFoot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
1
+ {"version":3,"file":"TableHead.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAErE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,gGAIrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,KAAK,gBAAgB,EAAc,MAAM,OAAO,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;CACpC,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,eAAe;IAb1B;;;OAGG;WACI,cAAc,CAAC,WAAW,CAAC;uFAkBlC,CAAC"}
1
+ {"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE1D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;CACpC,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAE3C;;;;;GAKG;AACH,eAAO,MAAM,eAAe;IAb1B;;;OAGG;WACI,cAAc,CAAC,WAAW,CAAC;uFAkBlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,2FAIpB,CAAC"}
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAAC;AAEhE;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,2FAIpB,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import type { TableProps } from './Table';
2
- import { TableBody } from './TableBody';
3
2
  import type { TableBodyProps } from './TableBody';
4
- import { TableCell } from './TableCell';
3
+ import { TableBody } from './TableBody';
5
4
  import type { TableCellProps } from './TableCell';
6
- import { TableFoot } from './TableFoot';
5
+ import { TableCell } from './TableCell';
7
6
  import type { TableFootProps } from './TableFoot';
8
- import { TableHead } from './TableHead';
7
+ import { TableFoot } from './TableFoot';
9
8
  import type { TableHeadProps } from './TableHead';
10
- import { TableHeaderCell } from './TableHeaderCell';
9
+ import { TableHead } from './TableHead';
11
10
  import type { TableHeaderCellProps } from './TableHeaderCell';
12
- import { TableRow } from './TableRow';
11
+ import { TableHeaderCell } from './TableHeaderCell';
13
12
  import type { TableRowProps } from './TableRow';
13
+ import { TableRow } from './TableRow';
14
14
  /**
15
15
  * Table component, used to display tabular data. Renders a native HTML table element.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,a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AO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;CAOT,CAAC;AAUH,OAAO,EACL,KAAK,EACL,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,eAAe,EACf,SAAS,GACV,CAAC;AACF,YAAY,EACV,UAAU,EACV,cAAc,EACd,cAAc,EACd,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,cAAc,GACf,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,OAAO;IAZlB;;OAEG;WACI,MAAM;8FA4Bd,CAAC"}
1
+ {"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,OAAO;IAZlB;;OAEG;WACI,MAAM;8FA6Bd,CAAC"}
@@ -31,7 +31,7 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<import("../../types").D
31
31
  };
32
32
  export type { TabsProps } from './Tabs';
33
33
  export type { TabsListProps } from './TabsList';
34
- export type { TabsTabProps } from './TabsTab';
35
34
  export type { TabsPanelProps } from './TabsPanel';
35
+ export type { TabsTabProps } from './TabsTab';
36
36
  export { Tabs, TabsTab, TabsList, TabsPanel };
37
37
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;CAIR,CAAC;AAMH,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,IAAI;;;;;;;;;;;;CAIR,CAAC;AAMH,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Tag } from './Tag';
2
1
  export type { TagProps } from './Tag';
2
+ export { Tag } from './Tag';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Textarea } from './Textarea';
2
1
  export type { TextareaProps } from './Textarea';
2
+ export { Textarea } from './Textarea';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa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ACf,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAEnC,KAAK,sBAAsB,GAAG;IAC5B;;QAEI;IACJ,SAAS,EAAE,IAAI,CAAC;CACjB,GAAG,cAAc,CAAC;AAEnB,KAAK,mBAAmB,GAAG;IACzB;;QAEI;IACJ,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1B;;;;SAIK;IACL,IAAI,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;CACjE,GAAG,WAAW,CAAC;AAEhB,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAC/C,CAAC,sBAAsB,GAAG,mBAAmB,CAAC,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,+GAgDpB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { Textfield } from './Textfield';
2
1
  export type { TextfieldProps } from './Textfield';
2
+ export { Textfield } from './Textfield';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textfield/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textfield/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}