@navikt/ds-react 6.0.0-alpha.2 → 6.0.0-alpha.7

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 (658) hide show
  1. package/_docs.json +520 -60
  2. package/cjs/chat/Bubble.d.ts +0 -5
  3. package/cjs/chat/Bubble.js +2 -2
  4. package/cjs/chat/Bubble.js.map +1 -1
  5. package/cjs/chat/Chat.d.ts +0 -10
  6. package/cjs/chat/Chat.js +3 -3
  7. package/cjs/chat/Chat.js.map +1 -1
  8. package/cjs/date/context/useSharedMonthContext.js +2 -6
  9. package/cjs/date/context/useSharedMonthContext.js.map +1 -1
  10. package/cjs/date/datepicker/DatePicker.js +3 -5
  11. package/cjs/date/datepicker/DatePicker.js.map +1 -1
  12. package/cjs/date/datepicker/DatePickerStandalone.js +3 -5
  13. package/cjs/date/datepicker/DatePickerStandalone.js.map +1 -1
  14. package/cjs/date/datepicker/parts/DayButton.js +2 -5
  15. package/cjs/date/datepicker/parts/DayButton.js.map +1 -1
  16. package/cjs/date/datepicker/parts/DropdownCaption.js +3 -6
  17. package/cjs/date/datepicker/parts/DropdownCaption.js.map +1 -1
  18. package/cjs/date/datepicker/parts/Row.js +2 -1
  19. package/cjs/date/datepicker/parts/Row.js.map +1 -1
  20. package/cjs/date/hooks/useDatepicker.d.ts +1 -6
  21. package/cjs/date/hooks/useDatepicker.js +7 -11
  22. package/cjs/date/hooks/useDatepicker.js.map +1 -1
  23. package/cjs/date/hooks/useMonthPicker.d.ts +1 -6
  24. package/cjs/date/hooks/useMonthPicker.js.map +1 -1
  25. package/cjs/date/hooks/useRangeDatepicker.js +20 -25
  26. package/cjs/date/hooks/useRangeDatepicker.js.map +1 -1
  27. package/cjs/date/monthpicker/MonthButton.js +11 -15
  28. package/cjs/date/monthpicker/MonthButton.js.map +1 -1
  29. package/cjs/date/monthpicker/MonthCaption.js +4 -7
  30. package/cjs/date/monthpicker/MonthCaption.js.map +1 -1
  31. package/cjs/date/monthpicker/MonthPicker.js +7 -1
  32. package/cjs/date/monthpicker/MonthPicker.js.map +1 -1
  33. package/cjs/date/monthpicker/MonthPickerStandalone.js +7 -1
  34. package/cjs/date/monthpicker/MonthPickerStandalone.js.map +1 -1
  35. package/cjs/date/monthpicker/MonthSelector.js +8 -11
  36. package/cjs/date/monthpicker/MonthSelector.js.map +1 -1
  37. package/cjs/date/parts/DateInput.d.ts +1 -1
  38. package/cjs/date/utils/check-dates.js +2 -6
  39. package/cjs/date/utils/check-dates.js.map +1 -1
  40. package/cjs/date/utils/dates-disabled.js +3 -6
  41. package/cjs/date/utils/dates-disabled.js.map +1 -1
  42. package/cjs/date/utils/format-date.d.ts +1 -0
  43. package/cjs/date/utils/format-date.js +2 -5
  44. package/cjs/date/utils/format-date.js.map +1 -1
  45. package/cjs/date/utils/get-dates.js +14 -21
  46. package/cjs/date/utils/get-dates.js.map +1 -1
  47. package/cjs/date/utils/get-initial-year.js +2 -5
  48. package/cjs/date/utils/get-initial-year.js.map +1 -1
  49. package/cjs/date/utils/is-match.js +14 -20
  50. package/cjs/date/utils/is-match.js.map +1 -1
  51. package/cjs/date/utils/labels.d.ts +1 -0
  52. package/cjs/date/utils/labels.js.map +1 -1
  53. package/cjs/date/utils/locale.d.ts +1 -1
  54. package/cjs/date/utils/locale.js +4 -9
  55. package/cjs/date/utils/locale.js.map +1 -1
  56. package/cjs/date/utils/navigation.js +21 -24
  57. package/cjs/date/utils/navigation.js.map +1 -1
  58. package/cjs/date/utils/parse-date.d.ts +1 -0
  59. package/cjs/date/utils/parse-date.js +8 -13
  60. package/cjs/date/utils/parse-date.js.map +1 -1
  61. package/cjs/form/Textarea.js +8 -8
  62. package/cjs/form/Textarea.js.map +1 -1
  63. package/cjs/form/combobox/Combobox.js +1 -1
  64. package/cjs/form/combobox/Combobox.js.map +1 -1
  65. package/cjs/form/combobox/ComboboxProvider.js +2 -1
  66. package/cjs/form/combobox/ComboboxProvider.js.map +1 -1
  67. package/cjs/form/combobox/ComboboxWrapper.js +1 -1
  68. package/cjs/form/combobox/ComboboxWrapper.js.map +1 -1
  69. package/cjs/form/combobox/FilteredOptions/FilteredOptions.js +59 -41
  70. package/cjs/form/combobox/FilteredOptions/FilteredOptions.js.map +1 -1
  71. package/cjs/form/combobox/FilteredOptions/filtered-options-util.d.ts +2 -1
  72. package/cjs/form/combobox/FilteredOptions/filtered-options-util.js +3 -1
  73. package/cjs/form/combobox/FilteredOptions/filtered-options-util.js.map +1 -1
  74. package/cjs/form/combobox/FilteredOptions/filteredOptionsContext.js +15 -3
  75. package/cjs/form/combobox/FilteredOptions/filteredOptionsContext.js.map +1 -1
  76. package/cjs/form/combobox/FilteredOptions/useVirtualFocus.d.ts +2 -4
  77. package/cjs/form/combobox/FilteredOptions/useVirtualFocus.js +52 -32
  78. package/cjs/form/combobox/FilteredOptions/useVirtualFocus.js.map +1 -1
  79. package/cjs/form/combobox/Input/Input.js +3 -1
  80. package/cjs/form/combobox/Input/Input.js.map +1 -1
  81. package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.d.ts +5 -2
  82. package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.js +3 -1
  83. package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.js.map +1 -1
  84. package/cjs/form/combobox/types.d.ts +14 -0
  85. package/cjs/form/error-summary/ErrorSummary.d.ts +9 -3
  86. package/cjs/form/error-summary/ErrorSummary.js +4 -9
  87. package/cjs/form/error-summary/ErrorSummary.js.map +1 -1
  88. package/cjs/form/error-summary/ErrorSummaryItem.d.ts +1 -1
  89. package/cjs/form/error-summary/ErrorSummaryItem.js +2 -1
  90. package/cjs/form/error-summary/ErrorSummaryItem.js.map +1 -1
  91. package/cjs/form/search/Search.d.ts +1 -0
  92. package/cjs/form/search/Search.js +2 -2
  93. package/cjs/form/search/Search.js.map +1 -1
  94. package/cjs/index.d.ts +1 -2
  95. package/cjs/index.js +1 -3
  96. package/cjs/index.js.map +1 -1
  97. package/cjs/layout/bleed/Bleed.d.ts +2 -2
  98. package/cjs/layout/utilities/css.js +4 -0
  99. package/cjs/layout/utilities/css.js.map +1 -1
  100. package/cjs/layout/utilities/types.d.ts +1 -1
  101. package/cjs/overlays/index.d.ts +2 -0
  102. package/cjs/overlays/index.js +6 -0
  103. package/cjs/overlays/index.js.map +1 -0
  104. package/cjs/overlays/portal/Portal.d.ts +11 -0
  105. package/cjs/{grid/Grid.js → overlays/portal/Portal.js} +15 -11
  106. package/cjs/overlays/portal/Portal.js.map +1 -0
  107. package/cjs/tabs/TabList.js +2 -2
  108. package/cjs/tabs/TabList.js.map +1 -1
  109. package/cjs/tabs/TabPanel.js +2 -2
  110. package/cjs/tabs/TabPanel.js.map +1 -1
  111. package/cjs/timeline/AxisLabels.js +4 -4
  112. package/cjs/timeline/AxisLabels.js.map +1 -1
  113. package/cjs/tooltip/Tooltip.js +3 -7
  114. package/cjs/tooltip/Tooltip.js.map +1 -1
  115. package/cjs/util/Slot.js +5 -2
  116. package/cjs/util/Slot.js.map +1 -1
  117. package/cjs/util/TextareaAutoSize.js +14 -24
  118. package/cjs/util/TextareaAutoSize.js.map +1 -1
  119. package/cjs/util/types/AsChildProps.d.ts +36 -0
  120. package/cjs/util/types/AsChildProps.js +3 -0
  121. package/cjs/util/types/AsChildProps.js.map +1 -0
  122. package/cjs/util/types/index.d.ts +1 -0
  123. package/esm/accordion/Accordion.d.ts +3 -3
  124. package/esm/accordion/Accordion.js +4 -4
  125. package/esm/accordion/AccordionContent.js +2 -2
  126. package/esm/accordion/AccordionHeader.js +4 -4
  127. package/esm/accordion/AccordionItem.js +3 -3
  128. package/esm/accordion/index.d.ts +1 -1
  129. package/esm/accordion/index.js +1 -1
  130. package/esm/alert/Alert.js +2 -2
  131. package/esm/alert/index.d.ts +2 -2
  132. package/esm/alert/index.js +1 -1
  133. package/esm/button/Button.d.ts +1 -1
  134. package/esm/button/Button.js +6 -6
  135. package/esm/button/index.d.ts +2 -2
  136. package/esm/button/index.js +1 -1
  137. package/esm/chat/Bubble.d.ts +0 -5
  138. package/esm/chat/Bubble.js +3 -3
  139. package/esm/chat/Bubble.js.map +1 -1
  140. package/esm/chat/Chat.d.ts +1 -11
  141. package/esm/chat/Chat.js +5 -5
  142. package/esm/chat/Chat.js.map +1 -1
  143. package/esm/chat/index.d.ts +1 -1
  144. package/esm/chat/index.js +1 -1
  145. package/esm/chips/Chips.d.ts +3 -3
  146. package/esm/chips/Chips.js +2 -2
  147. package/esm/chips/Removable.js +1 -1
  148. package/esm/chips/Toggle.d.ts +1 -1
  149. package/esm/chips/index.d.ts +1 -1
  150. package/esm/chips/index.js +1 -1
  151. package/esm/copybutton/CopyButton.js +3 -3
  152. package/esm/copybutton/index.d.ts +1 -1
  153. package/esm/copybutton/index.js +1 -1
  154. package/esm/date/context/index.d.ts +2 -2
  155. package/esm/date/context/index.js +2 -2
  156. package/esm/date/context/useSharedMonthContext.d.ts +1 -1
  157. package/esm/date/context/useSharedMonthContext.js +2 -3
  158. package/esm/date/context/useSharedMonthContext.js.map +1 -1
  159. package/esm/date/datepicker/DatePicker.d.ts +3 -3
  160. package/esm/date/datepicker/DatePicker.js +15 -17
  161. package/esm/date/datepicker/DatePicker.js.map +1 -1
  162. package/esm/date/datepicker/DatePickerStandalone.d.ts +1 -1
  163. package/esm/date/datepicker/DatePickerStandalone.js +9 -11
  164. package/esm/date/datepicker/DatePickerStandalone.js.map +1 -1
  165. package/esm/date/datepicker/parts/Caption.js +3 -3
  166. package/esm/date/datepicker/parts/DayButton.js +1 -1
  167. package/esm/date/datepicker/parts/DayButton.js.map +1 -1
  168. package/esm/date/datepicker/parts/DropdownCaption.js +6 -9
  169. package/esm/date/datepicker/parts/DropdownCaption.js.map +1 -1
  170. package/esm/date/datepicker/parts/HeadRow.js +1 -1
  171. package/esm/date/datepicker/parts/Row.js +5 -4
  172. package/esm/date/datepicker/parts/Row.js.map +1 -1
  173. package/esm/date/datepicker/parts/WeekNumber.js +1 -1
  174. package/esm/date/datepicker/parts/WeekRow.js +6 -6
  175. package/esm/date/hooks/index.d.ts +6 -6
  176. package/esm/date/hooks/index.js +3 -3
  177. package/esm/date/hooks/useDatepicker.d.ts +3 -8
  178. package/esm/date/hooks/useDatepicker.js +2 -3
  179. package/esm/date/hooks/useDatepicker.js.map +1 -1
  180. package/esm/date/hooks/useMonthPicker.d.ts +3 -8
  181. package/esm/date/hooks/useMonthPicker.js +1 -1
  182. package/esm/date/hooks/useMonthPicker.js.map +1 -1
  183. package/esm/date/hooks/useRangeDatepicker.d.ts +3 -3
  184. package/esm/date/hooks/useRangeDatepicker.js +2 -4
  185. package/esm/date/hooks/useRangeDatepicker.js.map +1 -1
  186. package/esm/date/index.d.ts +7 -7
  187. package/esm/date/index.js +3 -3
  188. package/esm/date/monthpicker/MonthButton.js +3 -7
  189. package/esm/date/monthpicker/MonthButton.js.map +1 -1
  190. package/esm/date/monthpicker/MonthCaption.js +5 -8
  191. package/esm/date/monthpicker/MonthCaption.js.map +1 -1
  192. package/esm/date/monthpicker/MonthPicker.d.ts +3 -3
  193. package/esm/date/monthpicker/MonthPicker.js +17 -11
  194. package/esm/date/monthpicker/MonthPicker.js.map +1 -1
  195. package/esm/date/monthpicker/MonthPickerStandalone.d.ts +1 -1
  196. package/esm/date/monthpicker/MonthPickerStandalone.js +12 -6
  197. package/esm/date/monthpicker/MonthPickerStandalone.js.map +1 -1
  198. package/esm/date/monthpicker/MonthSelector.js +5 -8
  199. package/esm/date/monthpicker/MonthSelector.js.map +1 -1
  200. package/esm/date/monthpicker/types.d.ts +1 -1
  201. package/esm/date/parts/DateInput.d.ts +2 -2
  202. package/esm/date/parts/DateInput.js +5 -5
  203. package/esm/date/parts/DateWrapper.js +6 -6
  204. package/esm/date/utils/check-dates.js +1 -2
  205. package/esm/date/utils/check-dates.js.map +1 -1
  206. package/esm/date/utils/dates-disabled.js +1 -1
  207. package/esm/date/utils/dates-disabled.js.map +1 -1
  208. package/esm/date/utils/format-date.d.ts +1 -0
  209. package/esm/date/utils/format-date.js +2 -2
  210. package/esm/date/utils/format-date.js.map +1 -1
  211. package/esm/date/utils/get-dates.js +1 -5
  212. package/esm/date/utils/get-dates.js.map +1 -1
  213. package/esm/date/utils/get-initial-year.js +1 -1
  214. package/esm/date/utils/get-initial-year.js.map +1 -1
  215. package/esm/date/utils/index.d.ts +10 -10
  216. package/esm/date/utils/index.js +10 -10
  217. package/esm/date/utils/is-match.js +1 -4
  218. package/esm/date/utils/is-match.js.map +1 -1
  219. package/esm/date/utils/labels.d.ts +1 -0
  220. package/esm/date/utils/labels.js.map +1 -1
  221. package/esm/date/utils/locale.d.ts +1 -1
  222. package/esm/date/utils/locale.js +1 -3
  223. package/esm/date/utils/locale.js.map +1 -1
  224. package/esm/date/utils/navigation.d.ts +1 -1
  225. package/esm/date/utils/navigation.js +2 -2
  226. package/esm/date/utils/navigation.js.map +1 -1
  227. package/esm/date/utils/parse-date.d.ts +1 -0
  228. package/esm/date/utils/parse-date.js +2 -4
  229. package/esm/date/utils/parse-date.js.map +1 -1
  230. package/esm/dropdown/Dropdown.d.ts +2 -2
  231. package/esm/dropdown/Dropdown.js +4 -4
  232. package/esm/dropdown/Menu/GroupedList/GroupedItem.d.ts +1 -1
  233. package/esm/dropdown/Menu/GroupedList/GroupedItem.js +2 -2
  234. package/esm/dropdown/Menu/GroupedList/index.d.ts +3 -3
  235. package/esm/dropdown/Menu/GroupedList/index.js +2 -2
  236. package/esm/dropdown/Menu/List/Item.d.ts +1 -1
  237. package/esm/dropdown/Menu/List/Item.js +2 -2
  238. package/esm/dropdown/Menu/List/index.d.ts +2 -2
  239. package/esm/dropdown/Menu/List/index.js +1 -1
  240. package/esm/dropdown/Menu/index.d.ts +2 -2
  241. package/esm/dropdown/Menu/index.js +5 -5
  242. package/esm/dropdown/Toggle.js +2 -2
  243. package/esm/dropdown/index.d.ts +1 -1
  244. package/esm/dropdown/index.js +1 -1
  245. package/esm/expansion-card/ExpansionCard.d.ts +5 -5
  246. package/esm/expansion-card/ExpansionCard.js +5 -5
  247. package/esm/expansion-card/ExpansionCardContent.js +2 -2
  248. package/esm/expansion-card/ExpansionCardDescription.js +2 -2
  249. package/esm/expansion-card/ExpansionCardHeader.js +1 -1
  250. package/esm/expansion-card/ExpansionCardTitle.d.ts +1 -1
  251. package/esm/expansion-card/index.d.ts +1 -1
  252. package/esm/expansion-card/index.js +1 -1
  253. package/esm/form/ConfirmationPanel.d.ts +1 -1
  254. package/esm/form/ConfirmationPanel.js +4 -4
  255. package/esm/form/Fieldset/Fieldset.d.ts +1 -1
  256. package/esm/form/Fieldset/Fieldset.js +5 -5
  257. package/esm/form/Fieldset/index.d.ts +2 -2
  258. package/esm/form/Fieldset/index.js +2 -2
  259. package/esm/form/Fieldset/useFieldset.js +1 -1
  260. package/esm/form/Select.d.ts +1 -1
  261. package/esm/form/Select.js +4 -4
  262. package/esm/form/Switch.d.ts +1 -1
  263. package/esm/form/Switch.js +5 -5
  264. package/esm/form/TextField.d.ts +1 -1
  265. package/esm/form/TextField.js +4 -4
  266. package/esm/form/Textarea.d.ts +1 -1
  267. package/esm/form/Textarea.js +15 -15
  268. package/esm/form/Textarea.js.map +1 -1
  269. package/esm/form/TextareaCounter.d.ts +1 -1
  270. package/esm/form/TextareaCounter.js +2 -2
  271. package/esm/form/checkbox/Checkbox.d.ts +1 -1
  272. package/esm/form/checkbox/Checkbox.js +5 -5
  273. package/esm/form/checkbox/CheckboxGroup.d.ts +1 -1
  274. package/esm/form/checkbox/CheckboxGroup.js +1 -1
  275. package/esm/form/checkbox/index.d.ts +3 -3
  276. package/esm/form/checkbox/index.js +2 -2
  277. package/esm/form/checkbox/types.d.ts +1 -1
  278. package/esm/form/checkbox/useCheckbox.d.ts +1 -1
  279. package/esm/form/checkbox/useCheckbox.js +3 -3
  280. package/esm/form/combobox/Combobox.d.ts +1 -1
  281. package/esm/form/combobox/Combobox.js +12 -12
  282. package/esm/form/combobox/Combobox.js.map +1 -1
  283. package/esm/form/combobox/ComboboxProvider.d.ts +1 -1
  284. package/esm/form/combobox/ComboboxProvider.js +7 -6
  285. package/esm/form/combobox/ComboboxProvider.js.map +1 -1
  286. package/esm/form/combobox/ComboboxWrapper.js +1 -1
  287. package/esm/form/combobox/ComboboxWrapper.js.map +1 -1
  288. package/esm/form/combobox/FilteredOptions/FilteredOptions.js +65 -47
  289. package/esm/form/combobox/FilteredOptions/FilteredOptions.js.map +1 -1
  290. package/esm/form/combobox/FilteredOptions/filtered-options-util.d.ts +2 -1
  291. package/esm/form/combobox/FilteredOptions/filtered-options-util.js +3 -1
  292. package/esm/form/combobox/FilteredOptions/filtered-options-util.js.map +1 -1
  293. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.d.ts +2 -2
  294. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js +20 -8
  295. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js.map +1 -1
  296. package/esm/form/combobox/FilteredOptions/useVirtualFocus.d.ts +2 -4
  297. package/esm/form/combobox/FilteredOptions/useVirtualFocus.js +52 -32
  298. package/esm/form/combobox/FilteredOptions/useVirtualFocus.js.map +1 -1
  299. package/esm/form/combobox/Input/Input.js +8 -6
  300. package/esm/form/combobox/Input/Input.js.map +1 -1
  301. package/esm/form/combobox/Input/inputContext.d.ts +1 -1
  302. package/esm/form/combobox/Input/inputContext.js +2 -2
  303. package/esm/form/combobox/SelectedOptions/SelectedOptions.js +3 -3
  304. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.d.ts +5 -2
  305. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js +6 -4
  306. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js.map +1 -1
  307. package/esm/form/combobox/ToggleListButton.js +1 -1
  308. package/esm/form/combobox/customOptionsContext.js +1 -1
  309. package/esm/form/combobox/index.d.ts +2 -2
  310. package/esm/form/combobox/index.js +1 -1
  311. package/esm/form/combobox/types.d.ts +15 -1
  312. package/esm/form/error-summary/ErrorSummary.d.ts +9 -3
  313. package/esm/form/error-summary/ErrorSummary.js +8 -13
  314. package/esm/form/error-summary/ErrorSummary.js.map +1 -1
  315. package/esm/form/error-summary/ErrorSummaryItem.d.ts +2 -2
  316. package/esm/form/error-summary/ErrorSummaryItem.js +2 -1
  317. package/esm/form/error-summary/ErrorSummaryItem.js.map +1 -1
  318. package/esm/form/error-summary/index.d.ts +2 -2
  319. package/esm/form/error-summary/index.js +1 -1
  320. package/esm/form/index.d.ts +11 -11
  321. package/esm/form/index.js +11 -11
  322. package/esm/form/radio/Radio.d.ts +1 -1
  323. package/esm/form/radio/Radio.js +4 -4
  324. package/esm/form/radio/RadioGroup.d.ts +1 -1
  325. package/esm/form/radio/RadioGroup.js +2 -2
  326. package/esm/form/radio/index.d.ts +3 -3
  327. package/esm/form/radio/index.js +2 -2
  328. package/esm/form/radio/types.d.ts +1 -1
  329. package/esm/form/radio/useRadio.d.ts +1 -1
  330. package/esm/form/radio/useRadio.js +3 -3
  331. package/esm/form/search/Search.d.ts +3 -2
  332. package/esm/form/search/Search.js +8 -8
  333. package/esm/form/search/Search.js.map +1 -1
  334. package/esm/form/search/SearchButton.d.ts +1 -1
  335. package/esm/form/search/SearchButton.js +3 -3
  336. package/esm/form/search/index.d.ts +1 -1
  337. package/esm/form/search/index.js +1 -1
  338. package/esm/form/useFormField.js +2 -2
  339. package/esm/guide-panel/GuidePanel.js +1 -1
  340. package/esm/guide-panel/Illustration.js +1 -1
  341. package/esm/guide-panel/index.d.ts +2 -2
  342. package/esm/guide-panel/index.js +2 -2
  343. package/esm/help-text/HelpText.d.ts +1 -1
  344. package/esm/help-text/HelpText.js +4 -4
  345. package/esm/help-text/HelpTextIcon.js +1 -1
  346. package/esm/help-text/index.d.ts +2 -2
  347. package/esm/help-text/index.js +1 -1
  348. package/esm/index.d.ts +40 -41
  349. package/esm/index.js +40 -42
  350. package/esm/index.js.map +1 -1
  351. package/esm/internal-header/InternalHeader.d.ts +5 -5
  352. package/esm/internal-header/InternalHeader.js +4 -4
  353. package/esm/internal-header/InternalHeaderButton.d.ts +1 -1
  354. package/esm/internal-header/InternalHeaderTitle.d.ts +1 -1
  355. package/esm/internal-header/InternalHeaderUser.js +1 -1
  356. package/esm/internal-header/InternalHeaderUserButton.d.ts +1 -1
  357. package/esm/internal-header/InternalHeaderUserButton.js +2 -2
  358. package/esm/internal-header/index.d.ts +5 -5
  359. package/esm/internal-header/index.js +1 -1
  360. package/esm/layout/bleed/Bleed.d.ts +3 -3
  361. package/esm/layout/bleed/Bleed.js +2 -2
  362. package/esm/layout/bleed/index.d.ts +1 -1
  363. package/esm/layout/bleed/index.js +1 -1
  364. package/esm/layout/box/Box.d.ts +2 -2
  365. package/esm/layout/box/Box.js +1 -1
  366. package/esm/layout/box/index.d.ts +1 -1
  367. package/esm/layout/box/index.js +1 -1
  368. package/esm/layout/grid/HGrid.d.ts +1 -1
  369. package/esm/layout/grid/HGrid.js +1 -1
  370. package/esm/layout/grid/index.d.ts +1 -1
  371. package/esm/layout/grid/index.js +1 -1
  372. package/esm/layout/page/Page.d.ts +2 -2
  373. package/esm/layout/page/Page.js +1 -1
  374. package/esm/layout/page/index.d.ts +2 -2
  375. package/esm/layout/page/index.js +1 -1
  376. package/esm/layout/page/parts/PageBlock.d.ts +1 -1
  377. package/esm/layout/responsive/Responsive.d.ts +1 -1
  378. package/esm/layout/responsive/Responsive.js +1 -1
  379. package/esm/layout/responsive/index.d.ts +1 -1
  380. package/esm/layout/responsive/index.js +1 -1
  381. package/esm/layout/sidemal-test/AvatarPanel.js +2 -2
  382. package/esm/layout/sidemal-test/Content.js +9 -9
  383. package/esm/layout/sidemal-test/Filter.js +4 -4
  384. package/esm/layout/sidemal-test/Header.js +5 -5
  385. package/esm/layout/sidemal-test/Intro.js +4 -4
  386. package/esm/layout/sidemal-test/Sidebar.js +4 -4
  387. package/esm/layout/sidemal-test/content-box/ContentBox.d.ts +1 -1
  388. package/esm/layout/sidemal-test/content-box/index.d.ts +1 -1
  389. package/esm/layout/sidemal-test/content-box/index.js +1 -1
  390. package/esm/layout/stack/HStack.d.ts +2 -2
  391. package/esm/layout/stack/HStack.js +1 -1
  392. package/esm/layout/stack/Stack.d.ts +2 -2
  393. package/esm/layout/stack/Stack.js +1 -1
  394. package/esm/layout/stack/VStack.d.ts +2 -2
  395. package/esm/layout/stack/VStack.js +1 -1
  396. package/esm/layout/stack/index.d.ts +4 -4
  397. package/esm/layout/stack/index.js +4 -4
  398. package/esm/layout/utilities/css.d.ts +1 -1
  399. package/esm/layout/utilities/css.js +4 -0
  400. package/esm/layout/utilities/css.js.map +1 -1
  401. package/esm/layout/utilities/types.d.ts +1 -1
  402. package/esm/link/Link.d.ts +1 -1
  403. package/esm/link/index.d.ts +2 -2
  404. package/esm/link/index.js +1 -1
  405. package/esm/link-panel/LinkPanel.d.ts +3 -3
  406. package/esm/link-panel/LinkPanel.js +3 -3
  407. package/esm/link-panel/LinkPanelDescription.js +1 -1
  408. package/esm/link-panel/LinkPanelTitle.d.ts +1 -1
  409. package/esm/link-panel/index.d.ts +2 -2
  410. package/esm/link-panel/index.js +1 -1
  411. package/esm/list/List.d.ts +2 -2
  412. package/esm/list/List.js +4 -4
  413. package/esm/list/ListItem.js +2 -2
  414. package/esm/list/context.d.ts +1 -1
  415. package/esm/list/index.d.ts +2 -2
  416. package/esm/list/index.js +1 -1
  417. package/esm/loader/Loader.js +2 -2
  418. package/esm/loader/index.d.ts +2 -2
  419. package/esm/loader/index.js +1 -1
  420. package/esm/modal/Modal.d.ts +4 -4
  421. package/esm/modal/Modal.js +12 -12
  422. package/esm/modal/ModalHeader.js +2 -2
  423. package/esm/modal/ModalUtils.d.ts +1 -1
  424. package/esm/modal/index.d.ts +5 -5
  425. package/esm/modal/index.js +1 -1
  426. package/esm/overlays/index.d.ts +2 -0
  427. package/esm/overlays/index.js +2 -0
  428. package/esm/overlays/index.js.map +1 -0
  429. package/esm/overlays/portal/Portal.d.ts +11 -0
  430. package/esm/overlays/portal/Portal.js +27 -0
  431. package/esm/overlays/portal/Portal.js.map +1 -0
  432. package/esm/package.json +1 -1
  433. package/esm/pagination/Pagination.d.ts +1 -1
  434. package/esm/pagination/Pagination.js +2 -2
  435. package/esm/pagination/PaginationItem.d.ts +2 -2
  436. package/esm/pagination/PaginationItem.js +1 -1
  437. package/esm/pagination/index.d.ts +1 -1
  438. package/esm/pagination/index.js +1 -1
  439. package/esm/panel/Panel.d.ts +1 -1
  440. package/esm/panel/index.d.ts +2 -2
  441. package/esm/panel/index.js +1 -1
  442. package/esm/popover/Popover.d.ts +1 -1
  443. package/esm/popover/Popover.js +5 -5
  444. package/esm/popover/index.d.ts +2 -2
  445. package/esm/popover/index.js +1 -1
  446. package/esm/provider/index.d.ts +1 -1
  447. package/esm/provider/index.js +1 -1
  448. package/esm/read-more/ReadMore.js +3 -3
  449. package/esm/read-more/index.d.ts +2 -2
  450. package/esm/read-more/index.js +1 -1
  451. package/esm/skeleton/index.d.ts +2 -2
  452. package/esm/skeleton/index.js +1 -1
  453. package/esm/stepper/Step.d.ts +1 -1
  454. package/esm/stepper/Step.js +3 -3
  455. package/esm/stepper/Stepper.d.ts +1 -1
  456. package/esm/stepper/Stepper.js +2 -2
  457. package/esm/stepper/index.d.ts +1 -1
  458. package/esm/stepper/index.js +1 -1
  459. package/esm/table/ColumnHeader.d.ts +1 -1
  460. package/esm/table/ColumnHeader.js +2 -2
  461. package/esm/table/DataCell.js +1 -1
  462. package/esm/table/ExpandableRow.d.ts +1 -1
  463. package/esm/table/ExpandableRow.js +6 -6
  464. package/esm/table/Table.d.ts +8 -8
  465. package/esm/table/Table.js +8 -8
  466. package/esm/table/context.d.ts +1 -1
  467. package/esm/table/index.d.ts +9 -9
  468. package/esm/table/index.js +1 -1
  469. package/esm/tabs/Tab.d.ts +1 -1
  470. package/esm/tabs/Tab.js +2 -2
  471. package/esm/tabs/TabList.js +5 -5
  472. package/esm/tabs/TabList.js.map +1 -1
  473. package/esm/tabs/TabPanel.js +2 -2
  474. package/esm/tabs/TabPanel.js.map +1 -1
  475. package/esm/tabs/Tabs.d.ts +4 -4
  476. package/esm/tabs/Tabs.js +4 -4
  477. package/esm/tabs/index.d.ts +4 -4
  478. package/esm/tabs/index.js +1 -1
  479. package/esm/tag/Tag.js +1 -1
  480. package/esm/tag/index.d.ts +1 -1
  481. package/esm/tag/index.js +1 -1
  482. package/esm/timeline/AxisLabels.d.ts +1 -1
  483. package/esm/timeline/AxisLabels.js +5 -5
  484. package/esm/timeline/AxisLabels.js.map +1 -1
  485. package/esm/timeline/Pin.d.ts +1 -1
  486. package/esm/timeline/Pin.js +3 -3
  487. package/esm/timeline/Timeline.d.ts +5 -5
  488. package/esm/timeline/Timeline.js +9 -9
  489. package/esm/timeline/TimelineRow.d.ts +1 -1
  490. package/esm/timeline/TimelineRow.js +5 -5
  491. package/esm/timeline/hooks/useRowContext.d.ts +1 -1
  492. package/esm/timeline/hooks/useTimelineRows.d.ts +1 -1
  493. package/esm/timeline/hooks/useTimelineRows.js +3 -3
  494. package/esm/timeline/index.d.ts +6 -6
  495. package/esm/timeline/index.js +1 -1
  496. package/esm/timeline/period/ClickablePeriod.d.ts +1 -1
  497. package/esm/timeline/period/ClickablePeriod.js +5 -5
  498. package/esm/timeline/period/NonClickablePeriod.d.ts +1 -1
  499. package/esm/timeline/period/NonClickablePeriod.js +1 -1
  500. package/esm/timeline/period/index.d.ts +1 -1
  501. package/esm/timeline/period/index.js +4 -4
  502. package/esm/timeline/utils/filter.d.ts +1 -1
  503. package/esm/timeline/utils/index.d.ts +1 -1
  504. package/esm/timeline/utils/index.js +1 -1
  505. package/esm/timeline/utils/sort.d.ts +1 -1
  506. package/esm/timeline/utils/timeline.d.ts +1 -1
  507. package/esm/timeline/utils/timeline.js +1 -1
  508. package/esm/timeline/zoom/ZoomButton.js +2 -2
  509. package/esm/timeline/zoom/index.d.ts +1 -1
  510. package/esm/timeline/zoom/index.js +1 -1
  511. package/esm/toggle-group/ToggleGroup.d.ts +1 -1
  512. package/esm/toggle-group/ToggleGroup.js +4 -4
  513. package/esm/toggle-group/ToggleItem.js +2 -2
  514. package/esm/toggle-group/index.d.ts +2 -2
  515. package/esm/toggle-group/index.js +1 -1
  516. package/esm/tooltip/Tooltip.js +9 -13
  517. package/esm/tooltip/Tooltip.js.map +1 -1
  518. package/esm/tooltip/index.d.ts +1 -1
  519. package/esm/tooltip/index.js +1 -1
  520. package/esm/typography/BodyLong.d.ts +2 -2
  521. package/esm/typography/BodyLong.js +1 -1
  522. package/esm/typography/BodyShort.d.ts +2 -2
  523. package/esm/typography/BodyShort.js +1 -1
  524. package/esm/typography/Detail.d.ts +2 -2
  525. package/esm/typography/Detail.js +1 -1
  526. package/esm/typography/ErrorMessage.d.ts +2 -2
  527. package/esm/typography/ErrorMessage.js +1 -1
  528. package/esm/typography/Heading.d.ts +2 -2
  529. package/esm/typography/Heading.js +1 -1
  530. package/esm/typography/Ingress.d.ts +1 -1
  531. package/esm/typography/Label.d.ts +2 -2
  532. package/esm/typography/Label.js +1 -1
  533. package/esm/typography/index.d.ts +7 -7
  534. package/esm/typography/index.js +7 -7
  535. package/esm/typography/util.d.ts +1 -1
  536. package/esm/util/Slot.js +6 -3
  537. package/esm/util/Slot.js.map +1 -1
  538. package/esm/util/TextareaAutoSize.js +17 -27
  539. package/esm/util/TextareaAutoSize.js.map +1 -1
  540. package/esm/util/hooks/descendants/descendant.js +1 -1
  541. package/esm/util/hooks/descendants/useDescendant.d.ts +1 -1
  542. package/esm/util/hooks/descendants/useDescendant.js +5 -5
  543. package/esm/util/hooks/index.d.ts +8 -8
  544. package/esm/util/hooks/index.js +8 -8
  545. package/esm/util/hooks/useControllableState.js +1 -1
  546. package/esm/util/index.d.ts +6 -6
  547. package/esm/util/index.js +5 -5
  548. package/esm/util/types/AsChildProps.d.ts +36 -0
  549. package/esm/util/types/AsChildProps.js +2 -0
  550. package/esm/util/types/AsChildProps.js.map +1 -0
  551. package/esm/util/types/index.d.ts +2 -1
  552. package/package.json +9 -8
  553. package/src/alert/alert.stories.tsx +202 -113
  554. package/src/chat/Bubble.tsx +2 -23
  555. package/src/chat/Chat.tsx +1 -18
  556. package/src/chat/chat.stories.tsx +0 -31
  557. package/src/date/context/useSharedMonthContext.tsx +1 -2
  558. package/src/date/datepicker/DatePicker.tsx +1 -3
  559. package/src/date/datepicker/DatePickerStandalone.tsx +1 -3
  560. package/src/date/datepicker/datepicker.stories.tsx +5 -5
  561. package/src/date/datepicker/parts/DayButton.tsx +1 -1
  562. package/src/date/datepicker/parts/DropdownCaption.tsx +1 -4
  563. package/src/date/datepicker/parts/Row.tsx +3 -2
  564. package/src/date/hooks/useDatepicker.tsx +2 -8
  565. package/src/date/hooks/useMonthPicker.tsx +1 -6
  566. package/src/date/hooks/useRangeDatepicker.tsx +5 -3
  567. package/src/date/monthpicker/MonthButton.tsx +7 -5
  568. package/src/date/monthpicker/MonthCaption.tsx +7 -4
  569. package/src/date/monthpicker/MonthPicker.tsx +10 -8
  570. package/src/date/monthpicker/MonthPickerStandalone.tsx +10 -8
  571. package/src/date/monthpicker/MonthSelector.tsx +1 -4
  572. package/src/date/monthpicker/monthpicker.stories.tsx +3 -2
  573. package/src/date/parts/DateInput.tsx +1 -1
  574. package/src/date/utils/__tests__/format-dates.test.ts +1 -1
  575. package/src/date/utils/__tests__/get-initial-year.test.ts +1 -1
  576. package/src/date/utils/__tests__/parse-dates.test.ts +2 -2
  577. package/src/date/utils/check-dates.ts +1 -2
  578. package/src/date/utils/dates-disabled.ts +1 -1
  579. package/src/date/utils/format-date.ts +1 -1
  580. package/src/date/utils/get-dates.ts +7 -5
  581. package/src/date/utils/get-initial-year.ts +1 -1
  582. package/src/date/utils/is-match.ts +6 -4
  583. package/src/date/utils/labels.ts +1 -0
  584. package/src/date/utils/locale.ts +1 -3
  585. package/src/date/utils/navigation.ts +1 -1
  586. package/src/date/utils/parse-date.ts +1 -3
  587. package/src/form/Textarea.tsx +34 -34
  588. package/src/form/combobox/Combobox.tsx +1 -1
  589. package/src/form/combobox/ComboboxProvider.tsx +2 -0
  590. package/src/form/combobox/ComboboxWrapper.tsx +0 -1
  591. package/src/form/combobox/FilteredOptions/FilteredOptions.tsx +131 -92
  592. package/src/form/combobox/FilteredOptions/filtered-options-util.ts +9 -2
  593. package/src/form/combobox/FilteredOptions/filteredOptionsContext.tsx +22 -3
  594. package/src/form/combobox/FilteredOptions/useVirtualFocus.ts +63 -45
  595. package/src/form/combobox/Input/Input.tsx +3 -1
  596. package/src/form/combobox/SelectedOptions/selectedOptionsContext.tsx +11 -1
  597. package/src/form/combobox/combobox.stories.tsx +36 -1
  598. package/src/form/combobox/combobox.test.tsx +1 -3
  599. package/src/form/combobox/types.ts +15 -0
  600. package/src/form/error-summary/ErrorSummary.tsx +15 -11
  601. package/src/form/error-summary/ErrorSummaryItem.tsx +10 -8
  602. package/src/form/error-summary/error-summary.stories.tsx +55 -1
  603. package/src/form/search/Search.tsx +6 -1
  604. package/src/form/stories/textarea.stories.tsx +37 -0
  605. package/src/index.ts +1 -2
  606. package/src/layout/bleed/Bleed.stories.tsx +13 -0
  607. package/src/layout/bleed/Bleed.tsx +2 -2
  608. package/src/layout/box/Box.stories.tsx +1 -1
  609. package/src/layout/sidemal-test/navno-sidemal.stories.tsx +1 -0
  610. package/src/layout/utilities/css.ts +3 -0
  611. package/src/layout/utilities/types.ts +1 -1
  612. package/src/overlays/index.ts +2 -0
  613. package/src/overlays/portal/Portal.stories.tsx +99 -0
  614. package/src/overlays/portal/Portal.tsx +32 -0
  615. package/src/tabs/TabList.tsx +2 -2
  616. package/src/tabs/TabPanel.tsx +2 -2
  617. package/src/timeline/AxisLabels.tsx +1 -1
  618. package/src/tooltip/Tooltip.tsx +4 -8
  619. package/src/util/Slot.tsx +4 -2
  620. package/src/util/TextareaAutoSize.tsx +16 -31
  621. package/src/util/types/AsChildProps.ts +37 -0
  622. package/src/util/types/index.ts +1 -0
  623. package/cjs/grid/Cell.d.ts +0 -30
  624. package/cjs/grid/Cell.js +0 -52
  625. package/cjs/grid/Cell.js.map +0 -1
  626. package/cjs/grid/Grid.d.ts +0 -13
  627. package/cjs/grid/Grid.js.map +0 -1
  628. package/cjs/grid/index.d.ts +0 -2
  629. package/cjs/grid/index.js +0 -11
  630. package/cjs/grid/index.js.map +0 -1
  631. package/cjs/layout/content-container/ContentContainer.d.ts +0 -9
  632. package/cjs/layout/content-container/ContentContainer.js +0 -48
  633. package/cjs/layout/content-container/ContentContainer.js.map +0 -1
  634. package/cjs/layout/content-container/index.d.ts +0 -1
  635. package/cjs/layout/content-container/index.js +0 -9
  636. package/cjs/layout/content-container/index.js.map +0 -1
  637. package/esm/grid/Cell.d.ts +0 -30
  638. package/esm/grid/Cell.js +0 -23
  639. package/esm/grid/Cell.js.map +0 -1
  640. package/esm/grid/Grid.d.ts +0 -13
  641. package/esm/grid/Grid.js +0 -23
  642. package/esm/grid/Grid.js.map +0 -1
  643. package/esm/grid/index.d.ts +0 -2
  644. package/esm/grid/index.js +0 -3
  645. package/esm/grid/index.js.map +0 -1
  646. package/esm/layout/content-container/ContentContainer.d.ts +0 -9
  647. package/esm/layout/content-container/ContentContainer.js +0 -19
  648. package/esm/layout/content-container/ContentContainer.js.map +0 -1
  649. package/esm/layout/content-container/index.d.ts +0 -1
  650. package/esm/layout/content-container/index.js +0 -2
  651. package/esm/layout/content-container/index.js.map +0 -1
  652. package/src/grid/Cell.tsx +0 -53
  653. package/src/grid/Grid.tsx +0 -23
  654. package/src/grid/grid.stories.tsx +0 -67
  655. package/src/grid/index.ts +0 -2
  656. package/src/layout/content-container/ContentContainer.tsx +0 -22
  657. package/src/layout/content-container/index.ts +0 -4
  658. package/src/layout/sidemal-test/navno-sidemal.stories.mdx +0 -29
package/esm/index.d.ts CHANGED
@@ -1,41 +1,40 @@
1
- export * from "./accordion";
2
- export * from "./alert";
3
- export * from "./button";
4
- export * from "./chat";
5
- export * from "./chips";
6
- export * from "./copybutton";
7
- export * from "./date";
8
- export * from "./dropdown";
9
- export * from "./expansion-card";
10
- export * from "./form";
11
- export * from "./grid";
12
- export * from "./guide-panel";
13
- export * from "./help-text";
14
- export * from "./internal-header";
15
- export * from "./link";
16
- export * from "./link-panel";
17
- export * from "./list";
18
- export * from "./loader";
19
- export * from "./modal";
20
- export * from "./pagination";
21
- export * from "./panel";
22
- export * from "./popover";
23
- export * from "./provider";
24
- export * from "./read-more";
25
- export * from "./skeleton";
26
- export * from "./stepper";
27
- export * from "./table";
28
- export * from "./tabs";
29
- export * from "./tag";
30
- export * from "./timeline";
31
- export * from "./toggle-group";
32
- export * from "./tooltip";
33
- export * from "./typography";
34
- export * from "./util";
35
- export * from "./layout/bleed";
36
- export * from "./layout/box";
37
- export * from "./layout/stack";
38
- export * from "./layout/grid";
39
- export * from "./layout/content-container";
40
- export * from "./layout/responsive";
41
- export * from "./layout/page";
1
+ export * from "./accordion/index.js";
2
+ export * from "./alert/index.js";
3
+ export * from "./button/index.js";
4
+ export * from "./chat/index.js";
5
+ export * from "./chips/index.js";
6
+ export * from "./copybutton/index.js";
7
+ export * from "./date/index.js";
8
+ export * from "./dropdown/index.js";
9
+ export * from "./expansion-card/index.js";
10
+ export * from "./form/index.js";
11
+ export * from "./guide-panel/index.js";
12
+ export * from "./overlays/index.js";
13
+ export * from "./help-text/index.js";
14
+ export * from "./internal-header/index.js";
15
+ export * from "./link/index.js";
16
+ export * from "./link-panel/index.js";
17
+ export * from "./list/index.js";
18
+ export * from "./loader/index.js";
19
+ export * from "./modal/index.js";
20
+ export * from "./pagination/index.js";
21
+ export * from "./panel/index.js";
22
+ export * from "./popover/index.js";
23
+ export * from "./provider/index.js";
24
+ export * from "./read-more/index.js";
25
+ export * from "./skeleton/index.js";
26
+ export * from "./stepper/index.js";
27
+ export * from "./table/index.js";
28
+ export * from "./tabs/index.js";
29
+ export * from "./tag/index.js";
30
+ export * from "./timeline/index.js";
31
+ export * from "./toggle-group/index.js";
32
+ export * from "./tooltip/index.js";
33
+ export * from "./typography/index.js";
34
+ export * from "./util/index.js";
35
+ export * from "./layout/bleed/index.js";
36
+ export * from "./layout/box/index.js";
37
+ export * from "./layout/stack/index.js";
38
+ export * from "./layout/grid/index.js";
39
+ export * from "./layout/responsive/index.js";
40
+ export * from "./layout/page/index.js";
package/esm/index.js CHANGED
@@ -1,43 +1,41 @@
1
- "use client";
2
- export * from "./accordion";
3
- export * from "./alert";
4
- export * from "./button";
5
- export * from "./chat";
6
- export * from "./chips";
7
- export * from "./copybutton";
8
- export * from "./date";
9
- export * from "./dropdown";
10
- export * from "./expansion-card";
11
- export * from "./form";
12
- export * from "./grid";
13
- export * from "./guide-panel";
14
- export * from "./help-text";
15
- export * from "./internal-header";
16
- export * from "./link";
17
- export * from "./link-panel";
18
- export * from "./list";
19
- export * from "./loader";
20
- export * from "./modal";
21
- export * from "./pagination";
22
- export * from "./panel";
23
- export * from "./popover";
24
- export * from "./provider";
25
- export * from "./read-more";
26
- export * from "./skeleton";
27
- export * from "./stepper";
28
- export * from "./table";
29
- export * from "./tabs";
30
- export * from "./tag";
31
- export * from "./timeline";
32
- export * from "./toggle-group";
33
- export * from "./tooltip";
34
- export * from "./typography";
35
- export * from "./util";
36
- export * from "./layout/bleed";
37
- export * from "./layout/box";
38
- export * from "./layout/stack";
39
- export * from "./layout/grid";
40
- export * from "./layout/content-container";
41
- export * from "./layout/responsive";
42
- export * from "./layout/page";
1
+ export * from "./accordion/index.js";
2
+ export * from "./alert/index.js";
3
+ export * from "./button/index.js";
4
+ export * from "./chat/index.js";
5
+ export * from "./chips/index.js";
6
+ export * from "./copybutton/index.js";
7
+ export * from "./date/index.js";
8
+ export * from "./dropdown/index.js";
9
+ export * from "./expansion-card/index.js";
10
+ export * from "./form/index.js";
11
+ export * from "./guide-panel/index.js";
12
+ export * from "./overlays/index.js";
13
+ export * from "./help-text/index.js";
14
+ export * from "./internal-header/index.js";
15
+ export * from "./link/index.js";
16
+ export * from "./link-panel/index.js";
17
+ export * from "./list/index.js";
18
+ export * from "./loader/index.js";
19
+ export * from "./modal/index.js";
20
+ export * from "./pagination/index.js";
21
+ export * from "./panel/index.js";
22
+ export * from "./popover/index.js";
23
+ export * from "./provider/index.js";
24
+ export * from "./read-more/index.js";
25
+ export * from "./skeleton/index.js";
26
+ export * from "./stepper/index.js";
27
+ export * from "./table/index.js";
28
+ export * from "./tabs/index.js";
29
+ export * from "./tag/index.js";
30
+ export * from "./timeline/index.js";
31
+ export * from "./toggle-group/index.js";
32
+ export * from "./tooltip/index.js";
33
+ export * from "./typography/index.js";
34
+ export * from "./util/index.js";
35
+ export * from "./layout/bleed/index.js";
36
+ export * from "./layout/box/index.js";
37
+ export * from "./layout/stack/index.js";
38
+ export * from "./layout/grid/index.js";
39
+ export * from "./layout/responsive/index.js";
40
+ export * from "./layout/page/index.js";
43
41
  //# sourceMappingURL=index.js.map
package/esm/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React, { HTMLAttributes } from "react";
2
- import { OverridableComponent } from "../util/types";
3
- import { InternalHeaderButtonProps } from "./InternalHeaderButton";
4
- import { InternalHeaderTitleProps } from "./InternalHeaderTitle";
5
- import { InternalHeaderUserProps } from "./InternalHeaderUser";
6
- import { InternalHeaderUserButtonProps } from "./InternalHeaderUserButton";
2
+ import { OverridableComponent } from "../util/types/index.js";
3
+ import { InternalHeaderButtonProps } from "./InternalHeaderButton.js";
4
+ import { InternalHeaderTitleProps } from "./InternalHeaderTitle.js";
5
+ import { InternalHeaderUserProps } from "./InternalHeaderUser.js";
6
+ import { InternalHeaderUserButtonProps } from "./InternalHeaderUserButton.js";
7
7
  export interface InternalHeaderProps extends HTMLAttributes<HTMLElement> {
8
8
  children: React.ReactNode;
9
9
  }
@@ -11,10 +11,10 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import InternalHeaderButton from "./InternalHeaderButton";
15
- import InternalHeaderTitle from "./InternalHeaderTitle";
16
- import InternalHeaderUser from "./InternalHeaderUser";
17
- import InternalHeaderUserButton from "./InternalHeaderUserButton";
14
+ import InternalHeaderButton from "./InternalHeaderButton.js";
15
+ import InternalHeaderTitle from "./InternalHeaderTitle.js";
16
+ import InternalHeaderUser from "./InternalHeaderUser.js";
17
+ import InternalHeaderUserButton from "./InternalHeaderUserButton.js";
18
18
  /**
19
19
  * Simple Header for internal pages and systems.
20
20
  *
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { OverridableComponent } from "../util/types";
2
+ import { OverridableComponent } from "../util/types/index.js";
3
3
  export interface InternalHeaderButtonProps extends React.AnchorHTMLAttributes<HTMLButtonElement> {
4
4
  /**
5
5
  * Application Button
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { OverridableComponent } from "../util/types";
2
+ import { OverridableComponent } from "../util/types/index.js";
3
3
  export interface InternalHeaderTitleProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
4
  /**
5
5
  * Application title
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { BodyShort, Detail } from "../typography";
14
+ import { BodyShort, Detail } from "../typography/index.js";
15
15
  export const InternalHeaderUser = forwardRef((_a, ref) => {
16
16
  var { className, name, description } = _a, rest = __rest(_a, ["className", "name", "description"]);
17
17
  return (React.createElement("div", Object.assign({}, rest, { ref: ref, className: cl("navds-internalheader__user", className) }),
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { OverridableComponent } from "../util/types";
2
+ import { OverridableComponent } from "../util/types/index.js";
3
3
  export interface InternalHeaderUserButtonProps extends React.AnchorHTMLAttributes<HTMLButtonElement> {
4
4
  /**
5
5
  * User name
@@ -12,8 +12,8 @@ var __rest = (this && this.__rest) || function (s, e) {
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
14
  import { ChevronDownIcon } from "@navikt/aksel-icons";
15
- import { BodyShort, Detail } from "../typography";
16
- import InternalHeaderButton from "./InternalHeaderButton";
15
+ import { BodyShort, Detail } from "../typography/index.js";
16
+ import InternalHeaderButton from "./InternalHeaderButton.js";
17
17
  export const InternalHeaderUserButton = forwardRef((_a, ref) => {
18
18
  var { as, name, description, className } = _a, rest = __rest(_a, ["as", "name", "description", "className"]);
19
19
  return (React.createElement(InternalHeaderButton, Object.assign({}, rest, { as: as, ref: ref, className: cl("navds-internalheader__user-button", className) }),
@@ -1,5 +1,5 @@
1
- export { default as InternalHeader, type InternalHeaderProps, } from "./InternalHeader";
2
- export { type InternalHeaderButtonProps } from "./InternalHeaderButton";
3
- export { type InternalHeaderTitleProps } from "./InternalHeaderTitle";
4
- export { type InternalHeaderUserProps } from "./InternalHeaderUser";
5
- export { type InternalHeaderUserButtonProps } from "./InternalHeaderUserButton";
1
+ export { default as InternalHeader, type InternalHeaderProps, } from "./InternalHeader.js";
2
+ export { type InternalHeaderButtonProps } from "./InternalHeaderButton.js";
3
+ export { type InternalHeaderTitleProps } from "./InternalHeaderTitle.js";
4
+ export { type InternalHeaderUserProps } from "./InternalHeaderUser.js";
5
+ export { type InternalHeaderUserButtonProps } from "./InternalHeaderUserButton.js";
@@ -1,2 +1,2 @@
1
- export { default as InternalHeader, } from "./InternalHeader";
1
+ export { default as InternalHeader, } from "./InternalHeader.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ResponsiveProp, SpacingScale } from "../utilities/types";
2
+ import { ResponsiveProp, SpacingScale } from "../utilities/types.js";
3
3
  export type BleedSpacingInline = "0" | "full" | "px" | SpacingScale;
4
4
  export type BleedSpacingBlock = "0" | "px" | SpacingScale;
5
5
  export interface BleedProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -8,7 +8,7 @@ export interface BleedProps extends React.HTMLAttributes<HTMLDivElement> {
8
8
  * @example
9
9
  * marginInline='4'
10
10
  * marginInline='4 5'
11
- * marginInline={{xs: '0 32', sm: '3', md: '4 5', lg: '5', xl: '6'}}
11
+ * marginInline={{xs: '0 32', sm: '3', md: '4 5', lg: '5', xl: '6', "2xl": '12'}}
12
12
  */
13
13
  marginInline?: ResponsiveProp<BleedSpacingInline | `${BleedSpacingInline} ${BleedSpacingInline}`>;
14
14
  /** **Negative** vertical margin around children.
@@ -16,7 +16,7 @@ export interface BleedProps extends React.HTMLAttributes<HTMLDivElement> {
16
16
  * @example
17
17
  * marginBlock='4'
18
18
  * marginBlock='4 5'
19
- * marginBlock={{xs: '2', sm: '3', md: '4', lg: '5', xl: '6'}}
19
+ * marginBlock={{xs: '2', sm: '3', md: '4', lg: '5', xl: '6', "2xl": '12'}}
20
20
  */
21
21
  marginBlock?: ResponsiveProp<BleedSpacingBlock | `${BleedSpacingBlock} ${BleedSpacingBlock}`>;
22
22
  /**
@@ -11,8 +11,8 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { Slot } from "../../util/Slot";
15
- import { getResponsiveProps } from "../utilities/css";
14
+ import { Slot } from "../../util/Slot.js";
15
+ import { getResponsiveProps } from "../utilities/css.js";
16
16
  /**
17
17
  * Foundational Layout-primitive for generic encapsulation & styling.
18
18
  *
@@ -1 +1 @@
1
- export { Bleed, type BleedProps } from "./Bleed";
1
+ export { Bleed, type BleedProps } from "./Bleed.js";
@@ -1,2 +1,2 @@
1
- export { Bleed } from "./Bleed";
1
+ export { Bleed } from "./Bleed.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { OverridableComponent } from "../../util/types";
3
- import { BackgroundToken, BorderColorToken, BorderRadiiToken, ResponsiveProp, ShadowToken, SpaceDelimitedAttribute, SpacingScale } from "../utilities/types";
2
+ import { OverridableComponent } from "../../util/types/index.js";
3
+ import { BackgroundToken, BorderColorToken, BorderRadiiToken, ResponsiveProp, ShadowToken, SpaceDelimitedAttribute, SpacingScale } from "../utilities/types.js";
4
4
  export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  /** Background color. Accepts a color token. */
6
6
  background?: BackgroundToken;
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { getResponsiveProps } from "../utilities/css";
14
+ import { getResponsiveProps } from "../utilities/css.js";
15
15
  /**
16
16
  * Foundational Layout-primitive for generic encapsulation & styling.
17
17
  *
@@ -1 +1 @@
1
- export { Box, type BoxProps } from "./Box";
1
+ export { Box, type BoxProps } from "./Box.js";
@@ -1,2 +1,2 @@
1
- export { Box } from "./Box";
1
+ export { Box } from "./Box.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import React, { HTMLAttributes } from "react";
2
- import { ResponsiveProp, SpacingScale } from "../utilities/types";
2
+ import { ResponsiveProp, SpacingScale } from "../utilities/types.js";
3
3
  export interface HGridProps extends HTMLAttributes<HTMLDivElement> {
4
4
  children: React.ReactNode;
5
5
  /**
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { getResponsiveProps, getResponsiveValue } from "../utilities/css";
14
+ import { getResponsiveProps, getResponsiveValue } from "../utilities/css.js";
15
15
  /**
16
16
  * Horizontal Grid Primitive with dynamic columns and gap based on breakpoints.
17
17
  *
@@ -1 +1 @@
1
- export { default as HGrid, type HGridProps } from "./HGrid";
1
+ export { default as HGrid, type HGridProps } from "./HGrid.js";
@@ -1,2 +1,2 @@
1
- export { default as HGrid } from "./HGrid";
1
+ export { default as HGrid } from "./HGrid.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import bgColors from "@navikt/ds-tokens/src/colors-bg.json";
3
- import { OverridableComponent } from "../../util";
4
- import { PageBlock } from "./parts/PageBlock";
3
+ import { OverridableComponent } from "../../util/index.js";
4
+ import { PageBlock } from "./parts/PageBlock.js";
5
5
  export interface PageProps extends React.HTMLAttributes<HTMLElement> {
6
6
  /**
7
7
  * Overrides html-tag
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { PageBlock } from "./parts/PageBlock";
14
+ import { PageBlock } from "./parts/PageBlock.js";
15
15
  export const PageComponent = forwardRef((_a, ref) => {
16
16
  var { as: Component = "div", className, style: _style, footer, children, footerPosition, background = "bg-default", contentBlockPadding = "end" } = _a, rest = __rest(_a, ["as", "className", "style", "footer", "children", "footerPosition", "background", "contentBlockPadding"]);
17
17
  const style = Object.assign(Object.assign({}, _style), { "--__ac-page-background": `var(--a-${background})` });
@@ -1,2 +1,2 @@
1
- export { default as Page, type PageProps } from "./Page";
2
- export { type PageBlockProps } from "./parts/PageBlock";
1
+ export { default as Page, type PageProps } from "./Page.js";
2
+ export { type PageBlockProps } from "./parts/PageBlock.js";
@@ -1,2 +1,2 @@
1
- export { default as Page } from "./Page";
1
+ export { default as Page } from "./Page.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { OverridableComponent } from "../../../util/types";
2
+ import { OverridableComponent } from "../../../util/types/index.js";
3
3
  export declare const widths: readonly ["text", "md", "lg", "xl", "2xl"];
4
4
  export interface PageBlockProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import React, { HTMLAttributes } from "react";
2
- import { BreakpointsAlias } from "../utilities/types";
2
+ import { BreakpointsAlias } from "../utilities/types.js";
3
3
  export interface ResponsiveProps extends HTMLAttributes<HTMLDivElement> {
4
4
  children: React.ReactNode;
5
5
  /**
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { Slot } from "../../util/Slot";
14
+ import { Slot } from "../../util/Slot.js";
15
15
  const Responsive = forwardRef((_a, ref) => {
16
16
  var { as: Component = "div", className, above, below, variant, asChild } = _a, rest = __rest(_a, ["as", "className", "above", "below", "variant", "asChild"]);
17
17
  const aboveProp = variant === "show" ? above : below;
@@ -1 +1 @@
1
- export { Show, Hide, type ResponsiveProps } from "./Responsive";
1
+ export { Show, Hide, type ResponsiveProps } from "./Responsive.js";
@@ -1,2 +1,2 @@
1
- export { Show, Hide } from "./Responsive";
1
+ export { Show, Hide } from "./Responsive.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { PersonIcon } from "@navikt/aksel-icons";
3
- import { Box } from "../box";
4
- import { HStack } from "../stack";
3
+ import { Box } from "../box/index.js";
4
+ import { HStack } from "../stack/index.js";
5
5
  export function AvatarPanel({ children }) {
6
6
  return (React.createElement(Box, { background: "bg-default", paddingInline: { xs: "4", md: "10" }, paddingBlock: { xs: "10 8", md: "12 10" }, className: "avatar-card", borderRadius: "medium" },
7
7
  React.createElement(HStack, { justify: "center" },
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  import { LinkIcon } from "@navikt/aksel-icons";
3
- import { Accordion } from "../../accordion";
4
- import { CopyButton } from "../../copybutton";
5
- import { Link } from "../../link";
6
- import { List } from "../../list";
7
- import { ReadMore } from "../../read-more";
8
- import { BodyLong, Heading } from "../../typography";
9
- import { Box } from "../box";
10
- import { VStack } from "../stack";
11
- import { AvatarPanel } from "./AvatarPanel";
3
+ import { Accordion } from "../../accordion/index.js";
4
+ import { CopyButton } from "../../copybutton/index.js";
5
+ import { Link } from "../../link/index.js";
6
+ import { List } from "../../list/index.js";
7
+ import { ReadMore } from "../../read-more/index.js";
8
+ import { BodyLong, Heading } from "../../typography/index.js";
9
+ import { Box } from "../box/index.js";
10
+ import { VStack } from "../stack/index.js";
11
+ import { AvatarPanel } from "./AvatarPanel.js";
12
12
  export function Content() {
13
13
  return (React.createElement(AvatarPanel, null,
14
14
  React.createElement(Box, { paddingBlock: "0 6" },
@@ -1,9 +1,9 @@
1
1
  import React, { useState } from "react";
2
2
  import { InformationSquareIcon } from "@navikt/aksel-icons";
3
- import { Checkbox, CheckboxGroup } from "../../form";
4
- import { BodyLong, Detail, Heading } from "../../typography";
5
- import { Box } from "../box";
6
- import { HStack, VStack } from "../stack";
3
+ import { Checkbox, CheckboxGroup } from "../../form/index.js";
4
+ import { BodyLong, Detail, Heading } from "../../typography/index.js";
5
+ import { Box } from "../box/index.js";
6
+ import { HStack, VStack } from "../stack/index.js";
7
7
  export function FilterCard() {
8
8
  const [filter, setFilter] = useState([]);
9
9
  return (React.createElement(Box, { background: "bg-default", padding: { xs: "4", md: "5" }, borderWidth: "5", borderColor: "border-alt-3", borderRadius: "medium" },
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
- import { BodyShort, Detail, Heading } from "../../typography";
3
- import { Box } from "../box";
4
- import { Hide, Show } from "../responsive";
5
- import { HStack, VStack } from "../stack";
6
- import { ContentBox } from "./content-box";
2
+ import { BodyShort, Detail, Heading } from "../../typography/index.js";
3
+ import { Box } from "../box/index.js";
4
+ import { Hide, Show } from "../responsive/index.js";
5
+ import { HStack, VStack } from "../stack/index.js";
6
+ import { ContentBox } from "./content-box/index.js";
7
7
  export function Header() {
8
8
  return (React.createElement(Box, { as: "header", borderWidth: "0 0 4 0", borderColor: "border-success", paddingBlock: "12 0" },
9
9
  React.createElement(ContentBox, { maxWidth: "lg" },
@@ -1,9 +1,9 @@
1
1
  import React from "react";
2
2
  import { LinkIcon } from "@navikt/aksel-icons";
3
- import { CopyButton } from "../../copybutton";
4
- import { BodyLong, Detail, Heading, Label } from "../../typography";
5
- import { Box } from "../box";
6
- import { HStack, VStack } from "../stack";
3
+ import { CopyButton } from "../../copybutton/index.js";
4
+ import { BodyLong, Detail, Heading, Label } from "../../typography/index.js";
5
+ import { Box } from "../box/index.js";
6
+ import { HStack, VStack } from "../stack/index.js";
7
7
  export function IntroCard() {
8
8
  return (React.createElement(Box, { background: "bg-default", padding: { xs: "4", md: "10" }, borderRadius: "medium" },
9
9
  React.createElement(VStack, { gap: "6" },
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { Link } from "../../link";
3
- import { Heading, Label } from "../../typography";
4
- import { Box } from "../box";
5
- import { VStack } from "../stack";
2
+ import { Link } from "../../link/index.js";
3
+ import { Heading, Label } from "../../typography/index.js";
4
+ import { Box } from "../box/index.js";
5
+ import { VStack } from "../stack/index.js";
6
6
  const LinkElement = ({ children }) => {
7
7
  return (React.createElement(Label, { as: "li", className: "sidebarlink" }, children));
8
8
  };
@@ -1,5 +1,5 @@
1
1
  import React, { HTMLAttributes } from "react";
2
- import { OverridableComponent } from "../../../util";
2
+ import { OverridableComponent } from "../../../util/index.js";
3
3
  export interface ContentBoxProps extends HTMLAttributes<HTMLDivElement> {
4
4
  children: React.ReactNode;
5
5
  maxWidth?: "3xl" | "2xl" | "xl" | "lg";
@@ -1 +1 @@
1
- export { default as ContentBox, type ContentBoxProps } from "./ContentBox";
1
+ export { default as ContentBox, type ContentBoxProps } from "./ContentBox.js";
@@ -1,2 +1,2 @@
1
- export { default as ContentBox } from "./ContentBox";
1
+ export { default as ContentBox } from "./ContentBox.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { OverridableComponent } from "../../util/types";
2
- import { StackProps } from "./Stack";
1
+ import { OverridableComponent } from "../../util/types/index.js";
2
+ import { StackProps } from "./Stack.js";
3
3
  export type HStackProps = Omit<StackProps, "direction">;
4
4
  /**
5
5
  * Layout-primitive for horizontal flexbox
@@ -1,5 +1,5 @@
1
1
  import React, { forwardRef } from "react";
2
- import { Stack } from "./Stack";
2
+ import { Stack } from "./Stack.js";
3
3
  /**
4
4
  * Layout-primitive for horizontal flexbox
5
5
  *
@@ -1,6 +1,6 @@
1
1
  import React, { HTMLAttributes } from "react";
2
- import { OverridableComponent } from "../../util/types";
3
- import { ResponsiveProp, SpacingScale } from "../utilities/types";
2
+ import { OverridableComponent } from "../../util/types/index.js";
3
+ import { ResponsiveProp, SpacingScale } from "../utilities/types.js";
4
4
  export interface StackProps extends HTMLAttributes<HTMLDivElement> {
5
5
  children: React.ReactNode;
6
6
  /**
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  };
12
12
  import cl from "clsx";
13
13
  import React, { forwardRef } from "react";
14
- import { getResponsiveProps, getResponsiveValue } from "../utilities/css";
14
+ import { getResponsiveProps, getResponsiveValue } from "../utilities/css.js";
15
15
  export const Stack = forwardRef((_a, ref) => {
16
16
  var { as: Component = "div", className, align, justify, wrap = true, gap, style: _style, direction = "row" } = _a, rest = __rest(_a, ["as", "className", "align", "justify", "wrap", "gap", "style", "direction"]);
17
17
  const style = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, _style), { "--__ac-stack-wrap": wrap ? "wrap" : "nowrap" }), getResponsiveProps(`stack`, "gap", "spacing", gap)), getResponsiveValue(`stack`, "direction", direction)), getResponsiveValue(`stack`, "align", align)), getResponsiveValue(`stack`, "justify", justify));