@persona/design-system 0.1.5-pre.4 → 0.1.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 (897) hide show
  1. package/CHANGELOG.md +64 -111
  2. package/dist/{Action-B10lxofb.d.mts → Action-DkNqzc2X.d.mts} +3 -3
  3. package/dist/{Action-uduFOh2m.d.cts → Action-z1rV4qON.d.cts} +3 -3
  4. package/dist/Action.d.cts +1 -1
  5. package/dist/Action.d.mts +1 -1
  6. package/dist/Attribute.d.mts +4 -4
  7. package/dist/AttributeGrid.d.mts +1 -1
  8. package/dist/{Badge-BwAZD9BH.cjs → Badge-DAGPU4-e.cjs} +3 -6
  9. package/dist/{Badge-BwAZD9BH.cjs.map → Badge-DAGPU4-e.cjs.map} +1 -1
  10. package/dist/{Badge-BqLnhb4n.mjs → Badge-DRn_r6is.mjs} +2 -5
  11. package/dist/{Badge-BqLnhb4n.mjs.map → Badge-DRn_r6is.mjs.map} +1 -1
  12. package/dist/Banner.d.mts +1 -1
  13. package/dist/Breadcrumb-BOxfam3E.d.cts +31 -0
  14. package/dist/Breadcrumb-On7pOpgt.d.mts +31 -0
  15. package/dist/Breadcrumb.d.cts +2 -0
  16. package/dist/Breadcrumb.d.mts +2 -0
  17. package/dist/Breadcrumbs.d.cts +20 -0
  18. package/dist/Breadcrumbs.d.mts +20 -0
  19. package/dist/{Button-DqDLGURJ.d.mts → Button-DXsYU5qU.d.mts} +2 -2
  20. package/dist/Button.d.mts +1 -1
  21. package/dist/ButtonGroup.d.mts +1 -1
  22. package/dist/Calendar.d.mts +1 -1
  23. package/dist/CalendarBase.d.mts +1 -1
  24. package/dist/{Card-DeJSt5ys.mjs → Card-CLTkZLKr.mjs} +4 -4
  25. package/dist/{Card-DeJSt5ys.mjs.map → Card-CLTkZLKr.mjs.map} +1 -1
  26. package/dist/{Card-CyCKL-M5.cjs → Card-CaOItkgL.cjs} +5 -5
  27. package/dist/{Card-CyCKL-M5.cjs.map → Card-CaOItkgL.cjs.map} +1 -1
  28. package/dist/{Card-CrQL0hXm.d.cts → Card-DnmrsQWi.d.cts} +2 -2
  29. package/dist/{Card-CcU9cKCd.d.mts → Card-IOBCsfke.d.mts} +4 -4
  30. package/dist/Card.d.cts +1 -1
  31. package/dist/Card.d.mts +1 -1
  32. package/dist/Card2.d.cts +3 -3
  33. package/dist/Card2.d.mts +1 -1
  34. package/dist/{Checkbox-C5bGcb-r.mjs → Checkbox-BghGF-iW.mjs} +4 -4
  35. package/dist/{Checkbox-C5bGcb-r.mjs.map → Checkbox-BghGF-iW.mjs.map} +1 -1
  36. package/dist/{Checkbox-BWJNAP27.d.mts → Checkbox-DfI0Xp3y.d.cts} +1 -1
  37. package/dist/{Checkbox-D4nv7eNs.cjs → Checkbox-DhxpxzGp.cjs} +6 -6
  38. package/dist/{Checkbox-D4nv7eNs.cjs.map → Checkbox-DhxpxzGp.cjs.map} +1 -1
  39. package/dist/{Checkbox-BmjK0Wac.d.cts → Checkbox-MUC37dLY.d.mts} +1 -1
  40. package/dist/Checkbox.d.cts +1 -1
  41. package/dist/Checkbox.d.mts +1 -1
  42. package/dist/CheckboxGroupField.d.cts +1 -1
  43. package/dist/CheckboxGroupField.d.mts +2 -2
  44. package/dist/{Combobox-B_oe33Re.cjs → Combobox-4Bi9-N1p.cjs} +24 -23
  45. package/dist/Combobox-4Bi9-N1p.cjs.map +1 -0
  46. package/dist/{Combobox-DjbJYK_u.d.mts → Combobox-5rAFq_52.d.cts} +3 -3
  47. package/dist/Combobox-Bedo_GIj.d.mts +11 -0
  48. package/dist/{Combobox-B_-swcix.mjs → Combobox-CeKMrlxy.mjs} +31 -30
  49. package/dist/Combobox-CeKMrlxy.mjs.map +1 -0
  50. package/dist/Combobox.d.cts +3 -12
  51. package/dist/Combobox.d.mts +2 -2
  52. package/dist/{ComboboxBase-D2wypeXf.d.cts → ComboboxBase-BoR9DVwe.d.cts} +6 -5
  53. package/dist/{ComboboxBase-INya0Csa.d.mts → ComboboxBase-DGZUdsQa.d.mts} +9 -8
  54. package/dist/ComboboxBase.d.cts +1 -1
  55. package/dist/ComboboxBase.d.mts +1 -1
  56. package/dist/{ComboboxMultiSelect-Dn8cRZ6Z.d.cts → ComboboxMultiSelect-CnI6sFAF.d.cts} +2 -2
  57. package/dist/{ComboboxMultiSelect-Dq9DGH8S.d.mts → ComboboxMultiSelect-DMWPiBrE.d.mts} +2 -2
  58. package/dist/ComboboxMultiSelect.d.cts +1 -1
  59. package/dist/ComboboxMultiSelect.d.mts +1 -1
  60. package/dist/{ComboboxSingleSelect-WwBJRb0e.d.mts → ComboboxSingleSelect-CcppU_hq.d.mts} +4 -4
  61. package/dist/{ComboboxSingleSelect-D8YM7GKP.d.cts → ComboboxSingleSelect-Japejm0g.d.cts} +4 -4
  62. package/dist/ComboboxSingleSelect.d.cts +1 -1
  63. package/dist/ComboboxSingleSelect.d.mts +1 -1
  64. package/dist/CompactBar-2cpJD7qg.d.mts +21 -0
  65. package/dist/CompactBar-DTsGo1zU.d.cts +21 -0
  66. package/dist/CompactBar.d.cts +2 -0
  67. package/dist/CompactBar.d.mts +2 -0
  68. package/dist/ConfigFormGroup-DISUwz5j.mjs +28 -0
  69. package/dist/ConfigFormGroup-DISUwz5j.mjs.map +1 -0
  70. package/dist/ConfigFormGroup-DVRhkS2L.cjs +35 -0
  71. package/dist/ConfigFormGroup-DVRhkS2L.cjs.map +1 -0
  72. package/dist/ControlBar-BGmXymCB.d.cts +151 -0
  73. package/dist/ControlBar-DXyl1gjc.d.mts +151 -0
  74. package/dist/ControlBar.d.cts +2 -0
  75. package/dist/ControlBar.d.mts +2 -0
  76. package/dist/DataTable.d.cts +372 -0
  77. package/dist/DataTable.d.mts +372 -0
  78. package/dist/DateField.d.cts +23 -2
  79. package/dist/DateField.d.mts +23 -2
  80. package/dist/DatePicker.d.cts +2 -2
  81. package/dist/DatePicker.d.mts +2 -2
  82. package/dist/DateRangePicker.d.cts +8 -2
  83. package/dist/DateRangePicker.d.mts +9 -4
  84. package/dist/{DropdownButton-k9kEcexu.mjs → DropdownButton-B397h6ka.mjs} +3 -4
  85. package/dist/{DropdownButton-k9kEcexu.mjs.map → DropdownButton-B397h6ka.mjs.map} +1 -1
  86. package/dist/{DropdownButton-DO4NqvWR.cjs → DropdownButton-Du6dwZVL.cjs} +4 -5
  87. package/dist/{DropdownButton-DO4NqvWR.cjs.map → DropdownButton-Du6dwZVL.cjs.map} +1 -1
  88. package/dist/DropdownButton.d.cts +1 -1
  89. package/dist/DropdownButton.d.mts +2 -2
  90. package/dist/{DropdownMenu-rWgROxQe.d.mts → DropdownMenu-5qIgQ14A.d.mts} +4 -4
  91. package/dist/{DropdownMenu-D2fzpkX2.cjs → DropdownMenu-CfJxgWN5.cjs} +4 -4
  92. package/dist/{DropdownMenu-D2fzpkX2.cjs.map → DropdownMenu-CfJxgWN5.cjs.map} +1 -1
  93. package/dist/{DropdownMenu-Bm2QqLEq.d.cts → DropdownMenu-FIYz6oAo.d.cts} +3 -3
  94. package/dist/{DropdownMenu-BTk--LWo.mjs → DropdownMenu-cnkoGc7C.mjs} +3 -3
  95. package/dist/{DropdownMenu-BTk--LWo.mjs.map → DropdownMenu-cnkoGc7C.mjs.map} +1 -1
  96. package/dist/DropdownMenu.d.cts +1 -1
  97. package/dist/DropdownMenu.d.mts +1 -1
  98. package/dist/{ErrorProps-DLdVsYlk.d.cts → ErrorProps-BosuK6zJ.d.cts} +1 -1
  99. package/dist/{ErrorProps-DYUKygmd.d.mts → ErrorProps-iEj4BIVA.d.mts} +1 -1
  100. package/dist/ErrorProps.d.cts +1 -1
  101. package/dist/ErrorProps.d.mts +1 -1
  102. package/dist/FloatingActionBar.d.cts +40 -0
  103. package/dist/FloatingActionBar.d.mts +41 -0
  104. package/dist/{FormControl-BXHqI_2D.mjs → FormControl-ArDcvmir.mjs} +3 -3
  105. package/dist/{FormControl-BXHqI_2D.mjs.map → FormControl-ArDcvmir.mjs.map} +1 -1
  106. package/dist/{FormControl-KkeIYuBa.d.cts → FormControl-BrsML00L.d.cts} +2 -2
  107. package/dist/{FormControl-DiR2e7Od.cjs → FormControl-Czt95h2L.cjs} +6 -6
  108. package/dist/{FormControl-DiR2e7Od.cjs.map → FormControl-Czt95h2L.cjs.map} +1 -1
  109. package/dist/{FormControl-CM7wTn1P.d.mts → FormControl-DnsC4vTX.d.mts} +3 -3
  110. package/dist/FormControl.d.cts +1 -1
  111. package/dist/FormControl.d.mts +1 -1
  112. package/dist/FormControlLabel.d.mts +14 -0
  113. package/dist/{FormField-CdMru4s5.d.mts → FormField-BddCs6P0.d.mts} +2 -2
  114. package/dist/{FormField-19ownwjH.d.cts → FormField-DoSXvnJ3.d.cts} +2 -2
  115. package/dist/FormField.d.cts +1 -1
  116. package/dist/FormField.d.mts +1 -1
  117. package/dist/{Header-t1plnZc0.d.mts → Header-B-Us54dR.d.mts} +2 -2
  118. package/dist/{Header-D8oDtnIL.d.cts → Header-CkZvzbzL.d.cts} +1 -1
  119. package/dist/Header.d.cts +1 -1
  120. package/dist/Header.d.mts +1 -1
  121. package/dist/{HelperTooltip-oXdyk2At.d.cts → HelperTooltip-C1CYMpJP.d.cts} +2 -2
  122. package/dist/{HelperTooltip-Cd7I0Ucq.d.mts → HelperTooltip-CofPKyZh.d.mts} +3 -3
  123. package/dist/HelperTooltip.d.cts +1 -1
  124. package/dist/HelperTooltip.d.mts +1 -1
  125. package/dist/HoverCopyableField-B_WNB7Qp.cjs +110 -0
  126. package/dist/HoverCopyableField-B_WNB7Qp.cjs.map +1 -0
  127. package/dist/HoverCopyableField-DR575ayC.mjs +103 -0
  128. package/dist/HoverCopyableField-DR575ayC.mjs.map +1 -0
  129. package/dist/HoverCopyableField.d.cts +16 -0
  130. package/dist/HoverCopyableField.d.mts +17 -0
  131. package/dist/{IconButton-C28qxOdi.mjs → IconButton-DC4rh6ow.mjs} +5 -5
  132. package/dist/{IconButton-C28qxOdi.mjs.map → IconButton-DC4rh6ow.mjs.map} +1 -1
  133. package/dist/{IconButton-B1ZL8BqW.cjs → IconButton-DNy7g5zh.cjs} +5 -5
  134. package/dist/{IconButton-B1ZL8BqW.cjs.map → IconButton-DNy7g5zh.cjs.map} +1 -1
  135. package/dist/{IconButton-DsXbc3nQ.d.mts → IconButton-Dnnlf9uO.d.mts} +2 -2
  136. package/dist/IconButton.d.mts +1 -1
  137. package/dist/ImageTile.d.cts +1 -1
  138. package/dist/ImageTile.d.mts +2 -2
  139. package/dist/InlineCombobox.d.mts +45 -0
  140. package/dist/InlineInput.d.mts +39 -0
  141. package/dist/{Input-Cv5qieRg.d.mts → Input-4KeYlOWM.d.mts} +5 -5
  142. package/dist/{Input-DHOsR4cl.cjs → Input-BDLUq-pK.cjs} +6 -7
  143. package/dist/{Input-DHOsR4cl.cjs.map → Input-BDLUq-pK.cjs.map} +1 -1
  144. package/dist/{Input-XppkvfUf.d.cts → Input-CEcTvtX2.d.cts} +2 -2
  145. package/dist/{Input-eoFk39bE.mjs → Input-PWfwMSJ7.mjs} +4 -5
  146. package/dist/{Input-eoFk39bE.mjs.map → Input-PWfwMSJ7.mjs.map} +1 -1
  147. package/dist/Input.d.cts +1 -1
  148. package/dist/Input.d.mts +1 -1
  149. package/dist/{InputProps-CitGo8QA.d.cts → InputProps-CTLG2Tr0.d.mts} +2 -2
  150. package/dist/{InputProps-BHu05fX0.d.mts → InputProps-DNlik5IZ.d.cts} +2 -2
  151. package/dist/InputProps.d.cts +1 -1
  152. package/dist/InputProps.d.mts +1 -1
  153. package/dist/Inserter.d.cts +12 -0
  154. package/dist/Inserter.d.mts +12 -0
  155. package/dist/Link.d.mts +1 -1
  156. package/dist/{ListBox-CE3mfDSB.cjs → ListBox-BCscLcYL.cjs} +11 -15
  157. package/dist/ListBox-BCscLcYL.cjs.map +1 -0
  158. package/dist/{ListBox-Z1y0LG1H.mjs → ListBox-CDNOJmvz.mjs} +9 -13
  159. package/dist/{ListBox-CE3mfDSB.cjs.map → ListBox-CDNOJmvz.mjs.map} +1 -1
  160. package/dist/{ListBox-AyjzT6ra.d.mts → ListBox-DZIAlPbc.d.mts} +4 -4
  161. package/dist/{ListBox-DbyZFy2W.d.cts → ListBox-WyZvseo5.d.cts} +2 -2
  162. package/dist/ListBox.d.cts +1 -1
  163. package/dist/ListBox.d.mts +1 -1
  164. package/dist/ListBoxField.d.cts +2 -2
  165. package/dist/ListBoxField.d.mts +3 -3
  166. package/dist/{LoadingShimmer-CNE6JUVF.mjs → LoadingShimmer-Bu6KtQ06.mjs} +2 -2
  167. package/dist/{LoadingShimmer-CNE6JUVF.mjs.map → LoadingShimmer-Bu6KtQ06.mjs.map} +1 -1
  168. package/dist/{LoadingShimmer-DMK9RC4N.cjs → LoadingShimmer-CUjbAqGd.cjs} +4 -4
  169. package/dist/{LoadingShimmer-DMK9RC4N.cjs.map → LoadingShimmer-CUjbAqGd.cjs.map} +1 -1
  170. package/dist/LoadingShimmer.d.mts +2 -2
  171. package/dist/MaskedInput.d.cts +1 -1
  172. package/dist/MaskedInput.d.mts +1 -1
  173. package/dist/{Menu-DIFkRQ6x.d.mts → Menu-BJ5c7HGD.d.mts} +4 -4
  174. package/dist/{Menu-DPrNMatb.d.cts → Menu-BKMxOXkj.d.cts} +2 -2
  175. package/dist/{Menu-BpkjNO81.cjs → Menu-BXic-30n.cjs} +4 -4
  176. package/dist/{Menu-BpkjNO81.cjs.map → Menu-BXic-30n.cjs.map} +1 -1
  177. package/dist/{Menu-DNRHo2i_.mjs → Menu-CVuFAxl2.mjs} +3 -3
  178. package/dist/{Menu-DNRHo2i_.mjs.map → Menu-CVuFAxl2.mjs.map} +1 -1
  179. package/dist/Menu.d.cts +1 -1
  180. package/dist/Menu.d.mts +1 -1
  181. package/dist/MiddleTruncatedText-BIzKECv9.cjs +178 -0
  182. package/dist/MiddleTruncatedText-BIzKECv9.cjs.map +1 -0
  183. package/dist/MiddleTruncatedText-Bzpg3zAU.mjs +171 -0
  184. package/dist/MiddleTruncatedText-Bzpg3zAU.mjs.map +1 -0
  185. package/dist/Modal.d.cts +10 -5
  186. package/dist/Modal.d.mts +12 -7
  187. package/dist/PageHeader.d.mts +1 -1
  188. package/dist/PageSelector-CMoV-cHa.d.mts +30 -0
  189. package/dist/PageSelector-DoROR_Uh.d.cts +30 -0
  190. package/dist/PageSelector.d.cts +2 -30
  191. package/dist/PageSelector.d.mts +2 -30
  192. package/dist/Pagination-B97xQ-Wk.d.cts +33 -0
  193. package/dist/Pagination-Cj08JRG9.mjs +202 -0
  194. package/dist/Pagination-Cj08JRG9.mjs.map +1 -0
  195. package/dist/Pagination-D4IVVj3S.cjs +233 -0
  196. package/dist/Pagination-D4IVVj3S.cjs.map +1 -0
  197. package/dist/Pagination-QWNK_hH7.d.mts +33 -0
  198. package/dist/Pagination.d.cts +2 -33
  199. package/dist/Pagination.d.mts +2 -33
  200. package/dist/Pii-Bxh6_R4T.mjs +19 -0
  201. package/dist/Pii-Bxh6_R4T.mjs.map +1 -0
  202. package/dist/Pii-D-Ry7L0t.cjs +25 -0
  203. package/dist/Pii-D-Ry7L0t.cjs.map +1 -0
  204. package/dist/Pii.d.mts +1 -1
  205. package/dist/{Popover-C2dBSwiU.cjs → Popover-BAv7BujW.cjs} +5 -5
  206. package/dist/{Popover-C2dBSwiU.cjs.map → Popover-BAv7BujW.cjs.map} +1 -1
  207. package/dist/{Popover-BSdyxuja.mjs → Popover-D0QY5f-J.mjs} +5 -5
  208. package/dist/{Popover-BSdyxuja.mjs.map → Popover-D0QY5f-J.mjs.map} +1 -1
  209. package/dist/Popover.d.mts +1 -1
  210. package/dist/ProgressBar.d.mts +1 -1
  211. package/dist/ProgressIndicator.d.mts +1 -1
  212. package/dist/{PseudoClassProps-mZgO_iZJ.d.mts → PseudoClassProps-ySXCGUEQ.d.mts} +1 -1
  213. package/dist/PseudoClassProps.d.mts +1 -1
  214. package/dist/{Radio-w-L3Otuk.mjs → Radio-C9DevagH.mjs} +2 -2
  215. package/dist/{Radio-w-L3Otuk.mjs.map → Radio-C9DevagH.mjs.map} +1 -1
  216. package/dist/{Radio-mFfT6G3d.cjs → Radio-nw846eRv.cjs} +4 -4
  217. package/dist/{Radio-mFfT6G3d.cjs.map → Radio-nw846eRv.cjs.map} +1 -1
  218. package/dist/{RadioGroup-B8htTzsS.mjs → RadioGroup-B3hRbIWF.mjs} +3 -3
  219. package/dist/{RadioGroup-B8htTzsS.mjs.map → RadioGroup-B3hRbIWF.mjs.map} +1 -1
  220. package/dist/{RadioGroup-D5ueuC6a.d.cts → RadioGroup-D_H1B7JV.d.cts} +1 -1
  221. package/dist/{RadioGroup-BjDmweRK.cjs → RadioGroup-DmGVJCgT.cjs} +4 -4
  222. package/dist/{RadioGroup-BjDmweRK.cjs.map → RadioGroup-DmGVJCgT.cjs.map} +1 -1
  223. package/dist/{RadioGroup-Ls0vPsP_.d.mts → RadioGroup-nhMXEbCx.d.mts} +1 -1
  224. package/dist/RadioGroup.d.cts +1 -1
  225. package/dist/RadioGroup.d.mts +1 -1
  226. package/dist/RangeCalendar.d.mts +1 -1
  227. package/dist/RangeCalendarPresets.d.mts +2 -2
  228. package/dist/SearchInput-CAHYPQVX.d.cts +46 -0
  229. package/dist/SearchInput-s6qGC2WZ.d.mts +46 -0
  230. package/dist/SearchInput.d.cts +2 -0
  231. package/dist/SearchInput.d.mts +2 -0
  232. package/dist/Section.d.mts +1 -1
  233. package/dist/{SectionHeading-DVSXofwK.d.cts → SectionHeading-CDBQ4m9E.d.mts} +5 -6
  234. package/dist/{SectionHeading-QvAmhVmD.d.mts → SectionHeading-D-L4uPoX.d.cts} +5 -6
  235. package/dist/SectionHeading.d.cts +1 -1
  236. package/dist/SectionHeading.d.mts +1 -1
  237. package/dist/{SegmentedControl-DnwNjYre.mjs → SegmentedControl-B1ZLgu61.mjs} +2 -2
  238. package/dist/{SegmentedControl-DnwNjYre.mjs.map → SegmentedControl-B1ZLgu61.mjs.map} +1 -1
  239. package/dist/{SegmentedControl-DRtXdbLe.d.cts → SegmentedControl-BYuXohIp.d.cts} +1 -1
  240. package/dist/{SegmentedControl-Dk5S4Dhz.d.mts → SegmentedControl-CE845gnm.d.mts} +1 -1
  241. package/dist/{SegmentedControl-CvznPXgC.cjs → SegmentedControl-CIJz0oxY.cjs} +4 -4
  242. package/dist/{SegmentedControl-CvznPXgC.cjs.map → SegmentedControl-CIJz0oxY.cjs.map} +1 -1
  243. package/dist/SegmentedControl.d.cts +1 -1
  244. package/dist/SegmentedControl.d.mts +1 -1
  245. package/dist/{Select-DRnRqMAL.d.mts → Select-BMEwCfbv.d.mts} +5 -5
  246. package/dist/{Select-Cl3AOq0-.mjs → Select-ByTgXOlU.mjs} +8 -12
  247. package/dist/{Select-Cl3AOq0-.mjs.map → Select-ByTgXOlU.mjs.map} +1 -1
  248. package/dist/{Select-CVB-Q1g1.cjs → Select-C65bfYeT.cjs} +9 -13
  249. package/dist/{Select-CVB-Q1g1.cjs.map → Select-C65bfYeT.cjs.map} +1 -1
  250. package/dist/{Select-BdPdgtfU.d.cts → Select-NcaURrGZ.d.cts} +4 -4
  251. package/dist/Select.d.cts +1 -1
  252. package/dist/Select.d.mts +1 -1
  253. package/dist/Slider.d.cts +51 -2
  254. package/dist/Slider.d.mts +51 -2
  255. package/dist/SliderRHF.d.cts +18 -2
  256. package/dist/SliderRHF.d.mts +19 -2
  257. package/dist/SliderThumb.d.mts +2 -119
  258. package/dist/{Spacer-DWGkX170.cjs → Spacer-GYHbk-dS.cjs} +2 -2
  259. package/dist/{Spacer-DWGkX170.cjs.map → Spacer-GYHbk-dS.cjs.map} +1 -1
  260. package/dist/{Spacer-DxH_sQrV.mjs → Spacer-Ln3KChb5.mjs} +1 -1
  261. package/dist/{Spacer-DxH_sQrV.mjs.map → Spacer-Ln3KChb5.mjs.map} +1 -1
  262. package/dist/{Spinner-z7DrPE1d.cjs → Spinner-B6bx70yR.cjs} +2 -2
  263. package/dist/Spinner-B6bx70yR.cjs.map +1 -0
  264. package/dist/{Spinner-C05An_fn.mjs → Spinner-BEPF42RW.mjs} +1 -1
  265. package/dist/Spinner-BEPF42RW.mjs.map +1 -0
  266. package/dist/{Stack-BHb3ZB2A.cjs → Stack-BF-9YjA1.cjs} +2 -2
  267. package/dist/Stack-BF-9YjA1.cjs.map +1 -0
  268. package/dist/{Stack-toDRLy--.d.cts → Stack-D979gYU9.d.cts} +5 -5
  269. package/dist/{Stack-BntgUvsW.d.mts → Stack-UMhJ6F_3.d.mts} +6 -6
  270. package/dist/{Stack-hwgS2FU1.mjs → Stack-ckRN7LrP.mjs} +1 -1
  271. package/dist/Stack-ckRN7LrP.mjs.map +1 -0
  272. package/dist/Stack.d.cts +1 -1
  273. package/dist/Stack.d.mts +1 -1
  274. package/dist/StatusIndicator.d.mts +1 -1
  275. package/dist/{Sticker-D6bwBTGr.mjs → Sticker-B0TbkV4o.mjs} +3 -5
  276. package/dist/{Sticker-D6bwBTGr.mjs.map → Sticker-B0TbkV4o.mjs.map} +1 -1
  277. package/dist/{Sticker-D_dutvp_.cjs → Sticker-D0jIU2Dt.cjs} +4 -6
  278. package/dist/{Sticker-D_dutvp_.cjs.map → Sticker-D0jIU2Dt.cjs.map} +1 -1
  279. package/dist/{Sticker-Bd7KkekO.d.mts → Sticker-DjF9VJQB.d.mts} +5 -5
  280. package/dist/{Sticker-S6QWjlEJ.d.cts → Sticker-N8XZnv7M.d.cts} +2 -2
  281. package/dist/Sticker.d.cts +1 -1
  282. package/dist/Sticker.d.mts +1 -1
  283. package/dist/StyledIconDrag.d.mts +13 -0
  284. package/dist/SwatchPicker.d.mts +1 -1
  285. package/dist/Tab.d.mts +2 -2
  286. package/dist/{TabBar-BMv8dAS3.cjs → TabBar-BpHMYvNb.cjs} +9 -8
  287. package/dist/TabBar-BpHMYvNb.cjs.map +1 -0
  288. package/dist/{TabBar-Bf89XksH.mjs → TabBar-ByusqAXF.mjs} +8 -7
  289. package/dist/TabBar-ByusqAXF.mjs.map +1 -0
  290. package/dist/TabBarIconButton.d.mts +1 -1
  291. package/dist/Table-C9rjUVpn.cjs +478 -0
  292. package/dist/Table-C9rjUVpn.cjs.map +1 -0
  293. package/dist/Table-CNs8p8hL.mjs +387 -0
  294. package/dist/Table-CNs8p8hL.mjs.map +1 -0
  295. package/dist/{Table-DkAA1lt_.d.cts → Table-D3nyiZt0.d.mts} +1 -1
  296. package/dist/{Table-34f5m7w5.d.mts → Table-DJZtluW3.d.cts} +1 -1
  297. package/dist/Table.d.cts +1 -1
  298. package/dist/Table.d.mts +1 -1
  299. package/dist/{TableBody-5QcVMPP_.d.cts → TableBody-BFPF07n4.d.cts} +1 -1
  300. package/dist/{TableBody-Clf34yzJ.d.mts → TableBody-DpRjZgzU.d.mts} +1 -1
  301. package/dist/TableBody.d.cts +1 -1
  302. package/dist/TableBody.d.mts +1 -1
  303. package/dist/TableBox-DIJffyts.mjs +1356 -0
  304. package/dist/TableBox-DIJffyts.mjs.map +1 -0
  305. package/dist/TableBox-DO-yToJk.cjs +1370 -0
  306. package/dist/TableBox-DO-yToJk.cjs.map +1 -0
  307. package/dist/TableBox.d.cts +3 -0
  308. package/dist/TableBox.d.mts +3 -0
  309. package/dist/TableBoxCell-D1bjYv7b.d.mts +259 -0
  310. package/dist/TableBoxCell-DOQ8PnAT.d.cts +259 -0
  311. package/dist/TableBoxCell.d.cts +2 -0
  312. package/dist/TableBoxCell.d.mts +2 -0
  313. package/dist/TableBoxField.d.cts +99 -0
  314. package/dist/TableBoxField.d.mts +99 -0
  315. package/dist/TableBoxRow-BUK5RjRA.d.cts +86 -0
  316. package/dist/TableBoxRow-CTR14HJF.d.mts +86 -0
  317. package/dist/TableBoxRow.d.cts +2 -0
  318. package/dist/TableBoxRow.d.mts +2 -0
  319. package/dist/TableBoxRowActions-BoMt5d0b.d.mts +57 -0
  320. package/dist/TableBoxRowActions-CKgUEH38.d.cts +57 -0
  321. package/dist/TableBoxRowActions.d.cts +2 -0
  322. package/dist/TableBoxRowActions.d.mts +2 -0
  323. package/dist/TableBoxRowContext.d.mts +22 -0
  324. package/dist/TableCell.d.cts +1 -1
  325. package/dist/TableCell.d.mts +1 -1
  326. package/dist/TableControls-BZyiqk9V.d.mts +70 -0
  327. package/dist/TableControls-Bkd3jhC1.d.cts +70 -0
  328. package/dist/TableControls-BkdSeQvt.mjs +1029 -0
  329. package/dist/TableControls-BkdSeQvt.mjs.map +1 -0
  330. package/dist/TableControls-DcbnNqeK.cjs +1080 -0
  331. package/dist/TableControls-DcbnNqeK.cjs.map +1 -0
  332. package/dist/TableControls.d.cts +2 -0
  333. package/dist/TableControls.d.mts +2 -0
  334. package/dist/TableControlsContext-CleTWT7z.d.mts +21 -0
  335. package/dist/TableControlsContext-D6XpuRVw.d.cts +21 -0
  336. package/dist/TableControlsContext.d.cts +2 -0
  337. package/dist/TableControlsContext.d.mts +2 -0
  338. package/dist/{TableHead-9LLM1B8I.d.cts → TableHead-CTsZNRJm.d.cts} +1 -1
  339. package/dist/{TableHead-DJBGHoUD.d.mts → TableHead-wl78HqPT.d.mts} +1 -1
  340. package/dist/TableHead.d.cts +1 -1
  341. package/dist/TableHead.d.mts +1 -1
  342. package/dist/{TableHeaderCell-DzYZq7SG.d.mts → TableHeaderCell-B2yiOw4w.d.mts} +1 -1
  343. package/dist/{TableHeaderCell-25lC9tNk.d.cts → TableHeaderCell-UoY92mzR.d.cts} +1 -1
  344. package/dist/TableHeaderCell.d.cts +1 -1
  345. package/dist/TableHeaderCell.d.mts +1 -1
  346. package/dist/{TableLayout-BA3jbdbi.d.mts → TableLayout-GyRS-Awa.d.cts} +1 -1
  347. package/dist/{TableLayout-CmDKOu10.d.cts → TableLayout-_TWUnffx.d.mts} +1 -1
  348. package/dist/TableLayout.d.cts +1 -1
  349. package/dist/TableLayout.d.mts +1 -1
  350. package/dist/{TableRow-IPjQnK2q.d.cts → TableRow-BVzduO4G.d.cts} +1 -1
  351. package/dist/{TableRow-CBKpDeUV.d.mts → TableRow-C-faHbkL.d.mts} +2 -2
  352. package/dist/TableRow.d.cts +1 -1
  353. package/dist/TableRow.d.mts +1 -1
  354. package/dist/TableTH.d.cts +1 -1
  355. package/dist/TableTH.d.mts +1 -1
  356. package/dist/TableViewConfigurationDropdown-D2TM2wCv.d.mts +32 -0
  357. package/dist/TableViewConfigurationDropdown-u3-prEHJ.d.cts +32 -0
  358. package/dist/TableViewConfigurationDropdown.d.cts +2 -0
  359. package/dist/TableViewConfigurationDropdown.d.mts +2 -0
  360. package/dist/TechnicalSticker.d.cts +51 -0
  361. package/dist/TechnicalSticker.d.mts +51 -0
  362. package/dist/{Text-DVz8erdF.cjs → Text-CzN0DOXV.cjs} +2 -2
  363. package/dist/{Text-DVz8erdF.cjs.map → Text-CzN0DOXV.cjs.map} +1 -1
  364. package/dist/{Text-CnXedFut.d.mts → Text-D3FXEnG6.d.mts} +3 -3
  365. package/dist/{Text-DOTYjIt0.mjs → Text-hEoPeOc9.mjs} +1 -1
  366. package/dist/{Text-DOTYjIt0.mjs.map → Text-hEoPeOc9.mjs.map} +1 -1
  367. package/dist/Text.d.mts +1 -1
  368. package/dist/{TextArea-B1kitxCl.mjs → TextArea-DIPeBLkr.mjs} +2 -2
  369. package/dist/{TextArea-B1kitxCl.mjs.map → TextArea-DIPeBLkr.mjs.map} +1 -1
  370. package/dist/{TextArea-MVgGGM6r.cjs → TextArea-DVHi0K7M.cjs} +4 -4
  371. package/dist/{TextArea-MVgGGM6r.cjs.map → TextArea-DVHi0K7M.cjs.map} +1 -1
  372. package/dist/{TextArea-j43fhp2P.d.cts → TextArea-KpDoXg-5.d.cts} +2 -2
  373. package/dist/{TextArea-1bHvaq9p.d.mts → TextArea-weASn4Hq.d.mts} +2 -2
  374. package/dist/TextArea.d.cts +1 -1
  375. package/dist/TextArea.d.mts +1 -1
  376. package/dist/{TextUnderlineTooltip-z4sSGL91.d.mts → TextUnderlineTooltip-Cep5cgEQ.d.mts} +3 -3
  377. package/dist/{TextUnderlineTooltip-BDMs4iXn.d.cts → TextUnderlineTooltip-cSMjZOuB.d.cts} +2 -2
  378. package/dist/TextUnderlineTooltip.d.cts +1 -1
  379. package/dist/TextUnderlineTooltip.d.mts +1 -1
  380. package/dist/Tile.d.cts +1 -1
  381. package/dist/Tile.d.mts +2 -2
  382. package/dist/Toast.d.cts +2 -6
  383. package/dist/Toast.d.mts +2 -6
  384. package/dist/{Toggle-B3Cdyf7T.d.mts → Toggle-BQCOJZjZ.d.mts} +1 -1
  385. package/dist/{Toggle-CVdg5iQ0.cjs → Toggle-CTtrhzsV.cjs} +6 -6
  386. package/dist/{Toggle-CVdg5iQ0.cjs.map → Toggle-CTtrhzsV.cjs.map} +1 -1
  387. package/dist/{Toggle-BjkbL_uf.d.cts → Toggle-CYQE1Nk_.d.cts} +1 -1
  388. package/dist/{Toggle-8GNRxyvE.mjs → Toggle-CfjUQlcK.mjs} +4 -4
  389. package/dist/{Toggle-8GNRxyvE.mjs.map → Toggle-CfjUQlcK.mjs.map} +1 -1
  390. package/dist/Toggle.d.cts +1 -1
  391. package/dist/Toggle.d.mts +1 -1
  392. package/dist/{Tooltip-CE1oH6Iz.d.cts → Tooltip-BhGRP9QA.d.cts} +2 -2
  393. package/dist/{Tooltip-T7RQpy_a.mjs → Tooltip-CDvOu1UN.mjs} +3 -3
  394. package/dist/{Tooltip-T7RQpy_a.mjs.map → Tooltip-CDvOu1UN.mjs.map} +1 -1
  395. package/dist/{Tooltip-C0PS5InA.d.mts → Tooltip-DRgufW3i.d.mts} +3 -3
  396. package/dist/{Tooltip-0i_15ysU.cjs → Tooltip-vylydKVv.cjs} +4 -4
  397. package/dist/{Tooltip-0i_15ysU.cjs.map → Tooltip-vylydKVv.cjs.map} +1 -1
  398. package/dist/Tooltip.d.cts +1 -1
  399. package/dist/Tooltip.d.mts +1 -1
  400. package/dist/{TruncatedText-0Tf8CwFX.d.mts → TruncatedText-Cy8NpHzm.d.mts} +1 -1
  401. package/dist/{chunk-CoPdw6nB.cjs → chunk-CKQMccvm.cjs} +0 -36
  402. package/dist/components/Attribute/index.cjs +6 -6
  403. package/dist/components/Attribute/index.cjs.map +1 -1
  404. package/dist/components/Attribute/index.mjs +6 -6
  405. package/dist/components/Attribute/index.mjs.map +1 -1
  406. package/dist/components/Badge/index.cjs +1 -2
  407. package/dist/components/Badge/index.mjs +1 -1
  408. package/dist/components/Banner/index.cjs +2 -3
  409. package/dist/components/Banner/index.cjs.map +1 -1
  410. package/dist/components/Banner/index.mjs +1 -2
  411. package/dist/components/Banner/index.mjs.map +1 -1
  412. package/dist/components/Breadcrumbs/index.cjs +275 -0
  413. package/dist/components/Breadcrumbs/index.cjs.map +1 -0
  414. package/dist/components/Breadcrumbs/index.d.cts +2 -0
  415. package/dist/components/Breadcrumbs/index.d.mts +2 -0
  416. package/dist/components/Breadcrumbs/index.mjs +268 -0
  417. package/dist/components/Breadcrumbs/index.mjs.map +1 -0
  418. package/dist/components/Button/index.cjs +1 -2
  419. package/dist/components/Button/index.d.mts +2 -2
  420. package/dist/components/Button/index.mjs +1 -1
  421. package/dist/components/ButtonGroup/index.cjs +4 -4
  422. package/dist/components/ButtonGroup/index.cjs.map +1 -1
  423. package/dist/components/ButtonGroup/index.mjs +2 -2
  424. package/dist/components/ButtonGroup/index.mjs.map +1 -1
  425. package/dist/components/Card/index.cjs +1 -2
  426. package/dist/components/Card/index.d.cts +2 -2
  427. package/dist/components/Card/index.d.mts +2 -2
  428. package/dist/components/Card/index.mjs +1 -1
  429. package/dist/components/CardV2/index.cjs +16 -109
  430. package/dist/components/CardV2/index.cjs.map +1 -1
  431. package/dist/components/CardV2/index.d.cts +1 -1
  432. package/dist/components/CardV2/index.d.mts +1 -1
  433. package/dist/components/CardV2/index.mjs +18 -118
  434. package/dist/components/CardV2/index.mjs.map +1 -1
  435. package/dist/components/Checkbox/index.cjs +1 -2
  436. package/dist/components/Checkbox/index.d.cts +1 -1
  437. package/dist/components/Checkbox/index.d.mts +1 -1
  438. package/dist/components/Checkbox/index.mjs +1 -1
  439. package/dist/components/Combobox/index.cjs +1 -2
  440. package/dist/components/Combobox/index.d.cts +3 -3
  441. package/dist/components/Combobox/index.d.mts +3 -3
  442. package/dist/components/Combobox/index.mjs +1 -1
  443. package/dist/components/ConfigFormGroup/index.cjs +4 -31
  444. package/dist/components/ConfigFormGroup/index.mjs +1 -26
  445. package/dist/components/DataTable/TableControls/index.cjs +13 -0
  446. package/dist/components/DataTable/TableControls/index.d.cts +6 -0
  447. package/dist/components/DataTable/TableControls/index.d.mts +6 -0
  448. package/dist/components/DataTable/TableControls/index.mjs +2 -0
  449. package/dist/components/DataTable/index.cjs +1434 -0
  450. package/dist/components/DataTable/index.cjs.map +1 -0
  451. package/dist/components/DataTable/index.d.cts +8 -0
  452. package/dist/components/DataTable/index.d.mts +8 -0
  453. package/dist/components/DataTable/index.mjs +1407 -0
  454. package/dist/components/DataTable/index.mjs.map +1 -0
  455. package/dist/components/DataTable/types.d.cts +159 -0
  456. package/dist/components/DataTable/types.d.mts +159 -0
  457. package/dist/components/DataTable/types.mjs +0 -0
  458. package/dist/components/DatePicker/index.cjs +296 -10866
  459. package/dist/components/DatePicker/index.cjs.map +1 -1
  460. package/dist/components/DatePicker/index.d.cts +1 -1
  461. package/dist/components/DatePicker/index.d.mts +1 -1
  462. package/dist/components/DatePicker/index.mjs +290 -10859
  463. package/dist/components/DatePicker/index.mjs.map +1 -1
  464. package/dist/components/DropdownButton/index.cjs +1 -2
  465. package/dist/components/DropdownButton/index.mjs +1 -1
  466. package/dist/components/DropdownMenu/index.cjs +1 -2
  467. package/dist/components/DropdownMenu/index.d.cts +1 -1
  468. package/dist/components/DropdownMenu/index.d.mts +1 -1
  469. package/dist/components/DropdownMenu/index.mjs +1 -1
  470. package/dist/components/FormControl/index.cjs +2 -3
  471. package/dist/components/FormControl/index.d.cts +2 -2
  472. package/dist/components/FormControl/index.d.mts +2 -2
  473. package/dist/components/FormControl/index.mjs +1 -1
  474. package/dist/components/FormField/index.cjs +128 -23
  475. package/dist/components/FormField/index.cjs.map +1 -1
  476. package/dist/components/FormField/index.d.cts +3 -2
  477. package/dist/components/FormField/index.d.mts +3 -2
  478. package/dist/components/FormField/index.mjs +127 -23
  479. package/dist/components/FormField/index.mjs.map +1 -1
  480. package/dist/components/HoverCopyableField/index.cjs +2 -0
  481. package/dist/components/HoverCopyableField/index.d.cts +2 -0
  482. package/dist/components/HoverCopyableField/index.d.mts +2 -0
  483. package/dist/components/HoverCopyableField/index.mjs +2 -0
  484. package/dist/components/ImageTile/index.cjs +9 -12
  485. package/dist/components/ImageTile/index.cjs.map +1 -1
  486. package/dist/components/ImageTile/index.mjs +8 -11
  487. package/dist/components/ImageTile/index.mjs.map +1 -1
  488. package/dist/components/Input/index.cjs +1 -2
  489. package/dist/components/Input/index.cjs.map +1 -1
  490. package/dist/components/Input/index.d.cts +1 -1
  491. package/dist/components/Input/index.d.mts +1 -1
  492. package/dist/components/Input/index.mjs +1 -1
  493. package/dist/components/Link/index.cjs +2 -2
  494. package/dist/components/Link/index.cjs.map +1 -1
  495. package/dist/components/Link/index.mjs +1 -1
  496. package/dist/components/Link/index.mjs.map +1 -1
  497. package/dist/components/ListBox/index.cjs +1 -2
  498. package/dist/components/ListBox/index.d.cts +1 -1
  499. package/dist/components/ListBox/index.d.mts +1 -1
  500. package/dist/components/ListBox/index.mjs +1 -1
  501. package/dist/components/LoadingShimmer/index.cjs +1 -2
  502. package/dist/components/LoadingShimmer/index.mjs +1 -1
  503. package/dist/components/MaskedInput/index.cjs +3 -3
  504. package/dist/components/MaskedInput/index.mjs +2 -2
  505. package/dist/components/MatchHighlight/index.cjs +1 -1
  506. package/dist/components/MatchHighlight/index.cjs.map +1 -1
  507. package/dist/components/MatchHighlight/index.mjs.map +1 -1
  508. package/dist/components/Menu/index.cjs +1 -2
  509. package/dist/components/Menu/index.d.cts +1 -1
  510. package/dist/components/Menu/index.d.mts +1 -1
  511. package/dist/components/Menu/index.mjs +1 -1
  512. package/dist/components/Modal/index.cjs +37 -32
  513. package/dist/components/Modal/index.cjs.map +1 -1
  514. package/dist/components/Modal/index.d.cts +2 -2
  515. package/dist/components/Modal/index.d.mts +2 -2
  516. package/dist/components/Modal/index.mjs +36 -31
  517. package/dist/components/Modal/index.mjs.map +1 -1
  518. package/dist/components/PageHeader/index.cjs +2 -2
  519. package/dist/components/PageHeader/index.cjs.map +1 -1
  520. package/dist/components/PageHeader/index.mjs +1 -1
  521. package/dist/components/PageHeader/index.mjs.map +1 -1
  522. package/dist/components/Pagination/index.cjs +6 -207
  523. package/dist/components/Pagination/index.d.cts +4 -3
  524. package/dist/components/Pagination/index.d.mts +4 -3
  525. package/dist/components/Pagination/index.mjs +2 -203
  526. package/dist/components/Pii/index.cjs +2 -20
  527. package/dist/components/Pii/index.mjs +1 -18
  528. package/dist/components/Popover/index.cjs +1 -2
  529. package/dist/components/Popover/index.mjs +1 -1
  530. package/dist/components/ProgressBar/index.cjs +2 -2
  531. package/dist/components/ProgressBar/index.cjs.map +1 -1
  532. package/dist/components/ProgressBar/index.mjs +1 -1
  533. package/dist/components/ProgressBar/index.mjs.map +1 -1
  534. package/dist/components/ProgressIndicator/index.cjs +1 -1
  535. package/dist/components/ProgressIndicator/index.cjs.map +1 -1
  536. package/dist/components/ProgressIndicator/index.mjs.map +1 -1
  537. package/dist/components/Radio/index.cjs +1 -2
  538. package/dist/components/Radio/index.mjs +1 -1
  539. package/dist/components/RadioGroup/index.cjs +1 -2
  540. package/dist/components/RadioGroup/index.d.cts +1 -1
  541. package/dist/components/RadioGroup/index.d.mts +1 -1
  542. package/dist/components/RadioGroup/index.mjs +1 -1
  543. package/dist/components/SegmentedControl/index.cjs +1 -2
  544. package/dist/components/SegmentedControl/index.d.cts +1 -1
  545. package/dist/components/SegmentedControl/index.d.mts +1 -1
  546. package/dist/components/SegmentedControl/index.mjs +1 -1
  547. package/dist/components/Select/index.cjs +1 -2
  548. package/dist/components/Select/index.d.cts +1 -1
  549. package/dist/components/Select/index.d.mts +1 -1
  550. package/dist/components/Select/index.mjs +1 -1
  551. package/dist/components/Slider/index.cjs +20 -1282
  552. package/dist/components/Slider/index.cjs.map +1 -1
  553. package/dist/components/Slider/index.d.cts +2 -2
  554. package/dist/components/Slider/index.d.mts +2 -2
  555. package/dist/components/Slider/index.mjs +18 -1279
  556. package/dist/components/Slider/index.mjs.map +1 -1
  557. package/dist/components/Spacer/index.cjs +1 -2
  558. package/dist/components/Spacer/index.mjs +1 -1
  559. package/dist/components/Spinner/index.cjs +1 -2
  560. package/dist/components/Spinner/index.mjs +1 -1
  561. package/dist/components/Stack/index.cjs +1 -2
  562. package/dist/components/Stack/index.d.cts +1 -1
  563. package/dist/components/Stack/index.d.mts +1 -1
  564. package/dist/components/Stack/index.mjs +1 -1
  565. package/dist/components/StatusIndicator/index.cjs +1 -1
  566. package/dist/components/StatusIndicator/index.cjs.map +1 -1
  567. package/dist/components/StatusIndicator/index.mjs.map +1 -1
  568. package/dist/components/Sticker/index.cjs +1 -2
  569. package/dist/components/Sticker/index.d.cts +1 -1
  570. package/dist/components/Sticker/index.d.mts +1 -1
  571. package/dist/components/Sticker/index.mjs +1 -1
  572. package/dist/components/SwatchPicker/index.cjs +3 -5
  573. package/dist/components/SwatchPicker/index.cjs.map +1 -1
  574. package/dist/components/SwatchPicker/index.mjs +2 -4
  575. package/dist/components/SwatchPicker/index.mjs.map +1 -1
  576. package/dist/components/TabBar/index.cjs +1 -2
  577. package/dist/components/TabBar/index.mjs +1 -1
  578. package/dist/components/Table/index.cjs +17 -396
  579. package/dist/components/Table/index.d.cts +7 -7
  580. package/dist/components/Table/index.d.mts +7 -7
  581. package/dist/components/Table/index.mjs +1 -378
  582. package/dist/components/TableBox/index.cjs +7 -0
  583. package/dist/components/TableBox/index.d.cts +3 -0
  584. package/dist/components/TableBox/index.d.mts +3 -0
  585. package/dist/components/TableBox/index.mjs +2 -0
  586. package/dist/components/TechnicalSticker/index.cjs +239 -0
  587. package/dist/components/TechnicalSticker/index.cjs.map +1 -0
  588. package/dist/components/TechnicalSticker/index.d.cts +2 -0
  589. package/dist/components/TechnicalSticker/index.d.mts +2 -0
  590. package/dist/components/TechnicalSticker/index.mjs +232 -0
  591. package/dist/components/TechnicalSticker/index.mjs.map +1 -0
  592. package/dist/components/Text/index.cjs +1 -2
  593. package/dist/components/Text/index.d.mts +1 -1
  594. package/dist/components/Text/index.mjs +1 -1
  595. package/dist/components/TextArea/index.cjs +1 -2
  596. package/dist/components/TextArea/index.d.cts +1 -1
  597. package/dist/components/TextArea/index.d.mts +1 -1
  598. package/dist/components/TextArea/index.mjs +1 -1
  599. package/dist/components/Tile/index.cjs +5 -6
  600. package/dist/components/Tile/index.cjs.map +1 -1
  601. package/dist/components/Tile/index.mjs +4 -5
  602. package/dist/components/Tile/index.mjs.map +1 -1
  603. package/dist/components/Toast/index.cjs +5 -12
  604. package/dist/components/Toast/index.cjs.map +1 -1
  605. package/dist/components/Toast/index.d.cts +2 -2
  606. package/dist/components/Toast/index.d.mts +2 -2
  607. package/dist/components/Toast/index.mjs +4 -10
  608. package/dist/components/Toast/index.mjs.map +1 -1
  609. package/dist/components/Toggle/index.cjs +1 -2
  610. package/dist/components/Toggle/index.d.cts +1 -1
  611. package/dist/components/Toggle/index.d.mts +1 -1
  612. package/dist/components/Toggle/index.mjs +1 -1
  613. package/dist/components/Tooltip/index.cjs +1 -2
  614. package/dist/components/Tooltip/index.d.cts +3 -3
  615. package/dist/components/Tooltip/index.d.mts +3 -3
  616. package/dist/components/Tooltip/index.mjs +1 -1
  617. package/dist/constants-DVwPpTt5.d.mts +6 -0
  618. package/dist/constants-kwVsjw8O.d.cts +6 -0
  619. package/dist/constants.d.cts +2 -0
  620. package/dist/constants.d.mts +2 -5
  621. package/dist/constants2.d.cts +10 -0
  622. package/dist/constants2.d.mts +10 -0
  623. package/dist/helpers.d.cts +76 -0
  624. package/dist/helpers.d.mts +76 -0
  625. package/dist/{TableCell-Dog4Blfq.d.mts → index-BPnJP0jZ.d.mts} +4 -4
  626. package/dist/index-Oio5ygqN.d.mts +1 -0
  627. package/dist/index-VWno75SQ.d.mts +1 -0
  628. package/dist/{TableCell-DIs9h97h.d.cts → index-_tQRydn9.d.cts} +3 -3
  629. package/dist/index-_wQ5ClJU.d.cts +1 -0
  630. package/dist/index-c55Utzva.d.mts +1 -0
  631. package/dist/index-gpCH5158.d.mts +1 -0
  632. package/dist/index-lQ_hGQ08.d.cts +1 -0
  633. package/dist/index-luywJTzJ.d.mts +1 -0
  634. package/dist/index-zO0Ly4bS.d.cts +1 -0
  635. package/dist/index.cjs +0 -1
  636. package/dist/index.d.cts +1 -1
  637. package/dist/index.d.mts +1 -1
  638. package/dist/index2.d.cts +2 -1
  639. package/dist/index2.d.mts +2 -1
  640. package/dist/index3.d.cts +1 -0
  641. package/dist/index3.d.mts +1 -0
  642. package/dist/{input-Bm_anD8X.d.cts → input-BkzqXwn7.d.cts} +2 -2
  643. package/dist/{input-BCmP106-.d.mts → input-DrG6mA0V.d.mts} +3 -3
  644. package/dist/inputFields.d.cts +10 -10
  645. package/dist/inputFields.d.mts +11 -11
  646. package/dist/intersperse-Gxwgpbk8.cjs +26 -0
  647. package/dist/intersperse-Gxwgpbk8.cjs.map +1 -0
  648. package/dist/intersperse-yd3oMrQl.mjs +21 -0
  649. package/dist/intersperse-yd3oMrQl.mjs.map +1 -0
  650. package/dist/lib/ConfigContext.cjs +1 -1
  651. package/dist/lib/GlobalStyles.cjs +57 -0
  652. package/dist/lib/GlobalStyles.cjs.map +1 -0
  653. package/dist/lib/GlobalStyles.d.cts +8 -0
  654. package/dist/lib/GlobalStyles.d.mts +8 -0
  655. package/dist/lib/GlobalStyles.mjs +51 -0
  656. package/dist/lib/GlobalStyles.mjs.map +1 -0
  657. package/dist/lib/HeadlessAriaButton.cjs +1 -1
  658. package/dist/lib/MiddleTruncatedText.cjs +7 -0
  659. package/dist/lib/MiddleTruncatedText.d.cts +14 -0
  660. package/dist/lib/MiddleTruncatedText.d.mts +14 -0
  661. package/dist/lib/MiddleTruncatedText.mjs +2 -0
  662. package/dist/lib/PDSProvider.cjs +5 -12
  663. package/dist/lib/PDSProvider.cjs.map +1 -1
  664. package/dist/lib/PDSProvider.d.cts +0 -2
  665. package/dist/lib/PDSProvider.d.mts +1 -3
  666. package/dist/lib/PDSProvider.mjs +4 -11
  667. package/dist/lib/PDSProvider.mjs.map +1 -1
  668. package/dist/lib/TruncatedText.cjs +2 -2
  669. package/dist/lib/TruncatedText.d.mts +1 -1
  670. package/dist/lib/TruncatedText.mjs +1 -1
  671. package/dist/lib/TruncatedTextWithTooltip.cjs +3 -3
  672. package/dist/lib/TruncatedTextWithTooltip.d.cts +1 -1
  673. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  674. package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
  675. package/dist/lib/comboboxHelper.cjs +6 -6
  676. package/dist/lib/comboboxHelper.cjs.map +1 -1
  677. package/dist/lib/comboboxHelper.mjs +1 -1
  678. package/dist/lib/copyTextToClipboard.cjs +33 -0
  679. package/dist/lib/copyTextToClipboard.cjs.map +1 -0
  680. package/dist/lib/copyTextToClipboard.d.cts +4 -0
  681. package/dist/lib/copyTextToClipboard.d.mts +5 -0
  682. package/dist/lib/copyTextToClipboard.mjs +33 -0
  683. package/dist/lib/copyTextToClipboard.mjs.map +1 -0
  684. package/dist/lib/datePickerHelper.cjs +9 -3541
  685. package/dist/lib/datePickerHelper.cjs.map +1 -1
  686. package/dist/lib/datePickerHelper.mjs +3 -3537
  687. package/dist/lib/datePickerHelper.mjs.map +1 -1
  688. package/dist/lib/message.cjs +12 -0
  689. package/dist/lib/message.cjs.map +1 -0
  690. package/dist/lib/message.d.cts +2 -0
  691. package/dist/lib/message.d.mts +2 -0
  692. package/dist/lib/message.mjs +11 -0
  693. package/dist/lib/message.mjs.map +1 -0
  694. package/dist/lib/pseudoClass.cjs +0 -1
  695. package/dist/lib/pseudoClass.cjs.map +1 -1
  696. package/dist/lib/pseudoClass.d.mts +1 -1
  697. package/dist/lib/reorderItems.cjs +0 -1
  698. package/dist/lib/reorderItems.cjs.map +1 -1
  699. package/dist/lib/selectHelper.cjs +4 -4
  700. package/dist/lib/selectHelper.cjs.map +1 -1
  701. package/dist/lib/selectHelper.mjs +1 -1
  702. package/dist/lib/useControlled.cjs +1 -1
  703. package/dist/lib/useIsOverflow.cjs +1 -1
  704. package/dist/lib/useOutsideClick.cjs +1 -1
  705. package/dist/lib/useScrollOverflow.cjs +61 -0
  706. package/dist/lib/useScrollOverflow.cjs.map +1 -0
  707. package/dist/lib/useScrollOverflow.d.cts +36 -0
  708. package/dist/lib/useScrollOverflow.d.mts +36 -0
  709. package/dist/lib/useScrollOverflow.mjs +59 -0
  710. package/dist/lib/useScrollOverflow.mjs.map +1 -0
  711. package/dist/lib/zindex.cjs +0 -1
  712. package/dist/lib/zindex.cjs.map +1 -1
  713. package/dist/message-BfJ87aIU.d.mts +9 -0
  714. package/dist/message-C2286H-r.d.cts +9 -0
  715. package/dist/middleTruncateText.d.mts +13 -0
  716. package/dist/mixins/focus.cjs +1 -1
  717. package/dist/mixins/focus.cjs.map +1 -1
  718. package/dist/mixins/focus.d.mts +1 -1
  719. package/dist/mixins/focus.mjs.map +1 -1
  720. package/dist/mixins/hoverable.cjs +1 -1
  721. package/dist/mixins/hoverable.d.mts +2 -2
  722. package/dist/mixins/input.cjs +1 -1
  723. package/dist/mixins/input.cjs.map +1 -1
  724. package/dist/mixins/input.d.cts +1 -1
  725. package/dist/mixins/input.d.mts +1 -1
  726. package/dist/mixins/input.mjs.map +1 -1
  727. package/dist/mixins/menuItem.cjs +1 -1
  728. package/dist/mixins/menuItem.cjs.map +1 -1
  729. package/dist/mixins/menuItem.d.mts +2 -2
  730. package/dist/mixins/menuItem.mjs.map +1 -1
  731. package/dist/mixins/print/index.cjs +1 -1
  732. package/dist/mixins/text.cjs +1 -1
  733. package/dist/mixins/text.cjs.map +1 -1
  734. package/dist/mixins/text.d.mts +1 -1
  735. package/dist/mixins/text.mjs.map +1 -1
  736. package/dist/positioning.d.mts +11 -0
  737. package/dist/tableBoxKeyboardNavigation.d.mts +8 -0
  738. package/dist/{text-BrSUs-88.d.mts → text-CtoDqqAO.d.mts} +1 -1
  739. package/dist/{theme-DGAqgnUa.d.mts → theme-Bx2sn3Lt.d.mts} +1 -1
  740. package/dist/theme.cjs +1 -1
  741. package/dist/theme.d.mts +1 -1
  742. package/dist/types-B34lbI2k.d.mts +25 -0
  743. package/dist/types-C_AUGurs.d.cts +25 -0
  744. package/dist/types-CuCT-YnX.d.cts +10 -0
  745. package/dist/types-DTak9UTv.d.mts +10 -0
  746. package/dist/types.d.cts +2 -0
  747. package/dist/types.d.mts +2 -0
  748. package/dist/types2.d.cts +2 -0
  749. package/dist/types2.d.mts +2 -0
  750. package/dist/useColumnWidthLock.d.mts +28 -0
  751. package/dist/useDelayedInlineEditError.d.mts +12 -0
  752. package/dist/{useFormField-DN3gpEEV.cjs → useFormField-B98dmreO.cjs} +3 -3
  753. package/dist/{useFormField-DN3gpEEV.cjs.map → useFormField-B98dmreO.cjs.map} +1 -1
  754. package/dist/{useFormField-BmtItl8y.d.mts → useFormField-BE0rTBF1.d.mts} +2 -2
  755. package/dist/{useFormField-Ba0CQ43u.d.cts → useFormField-CaIdE7JQ.d.cts} +2 -2
  756. package/dist/useFormField.d.cts +1 -1
  757. package/dist/useFormField.d.mts +1 -1
  758. package/dist/{useFormGroup-B_mFNoN9.cjs → useFormGroup-BE7v9eAj.cjs} +2 -2
  759. package/dist/{useFormGroup-B_mFNoN9.cjs.map → useFormGroup-BE7v9eAj.cjs.map} +1 -1
  760. package/dist/useTableBoxDragAndDrop--QBq2FQh.d.cts +69 -0
  761. package/dist/useTableBoxDragAndDrop-BTtv9PEt.d.mts +69 -0
  762. package/dist/useTableBoxDragAndDrop.d.cts +2 -0
  763. package/dist/useTableBoxDragAndDrop.d.mts +2 -0
  764. package/dist/useTableColumns.d.cts +72 -0
  765. package/dist/useTableColumns.d.mts +72 -0
  766. package/dist/{useToggle-0zLL1E7s.mjs → useToggle-3k3EkV8V.mjs} +1 -1
  767. package/dist/{useToggle-0zLL1E7s.mjs.map → useToggle-3k3EkV8V.mjs.map} +1 -1
  768. package/dist/{useToggle-DNrEsTpr.cjs → useToggle-CSkZWXtQ.cjs} +2 -2
  769. package/dist/{useToggle-DNrEsTpr.cjs.map → useToggle-CSkZWXtQ.cjs.map} +1 -1
  770. package/dist/useTruncation.d.mts +1 -1
  771. package/dist/{utilities-C8Jf-xpi.d.cts → utilities-DqO6Sh94.d.cts} +1 -1
  772. package/dist/{utilities-w1K54IAy.d.mts → utilities-SMbDe8oK.d.mts} +1 -1
  773. package/dist/utilities.d.cts +1 -1
  774. package/dist/utilities.d.mts +1 -1
  775. package/dist/utils/storybook.cjs +2 -3
  776. package/dist/utils/storybook.cjs.map +1 -1
  777. package/dist/utils/storybook.mjs +1 -2
  778. package/dist/utils/storybook.mjs.map +1 -1
  779. package/dist/utils/testing.cjs +5 -5
  780. package/dist/utils/testing.cjs.map +1 -1
  781. package/dist/utils/testing.d.cts +5 -357
  782. package/dist/utils/testing.d.mts +4 -356
  783. package/dist/utils/testing.mjs +2 -2
  784. package/dist/utils/testing.mjs.map +1 -1
  785. package/dist/utils.d.mts +9 -0
  786. package/dist/variables/color.cjs +0 -1
  787. package/dist/variables/color.cjs.map +1 -1
  788. package/dist/variables/effect.cjs +1 -1
  789. package/dist/variables/keyframes.cjs +1 -1
  790. package/dist/variables/spacing.cjs +1 -2
  791. package/dist/variables/spacing.cjs.map +1 -1
  792. package/dist/variables/spacing.d.cts +1 -1
  793. package/dist/variables/spacing.d.mts +1 -1
  794. package/dist/variables/spacing.mjs +1 -1
  795. package/dist/variables/spacing.mjs.map +1 -1
  796. package/dist/variables/text.cjs +0 -1
  797. package/dist/variables/text.cjs.map +1 -1
  798. package/dist/variables/transitions.cjs +0 -1
  799. package/dist/variables/transitions.cjs.map +1 -1
  800. package/package.json +135 -90
  801. package/dist/Combobox-B_-swcix.mjs.map +0 -1
  802. package/dist/Combobox-B_oe33Re.cjs.map +0 -1
  803. package/dist/DateField-Bwe_0qm9.d.cts +0 -24
  804. package/dist/DateField-Chko9oLb.d.mts +0 -24
  805. package/dist/ListBox-Z1y0LG1H.mjs.map +0 -1
  806. package/dist/RegisterComponent-BDb43KvI.d.mts +0 -34
  807. package/dist/RegisterComponent-CpXIR-51.d.cts +0 -34
  808. package/dist/Slider-D3gz7otf.d.mts +0 -56
  809. package/dist/Slider-uH5MOu2D.d.cts +0 -56
  810. package/dist/SliderRHF-Cc-9RuPe.d.cts +0 -984
  811. package/dist/SliderRHF-DIV-tCEv.d.mts +0 -984
  812. package/dist/Spinner-C05An_fn.mjs.map +0 -1
  813. package/dist/Spinner-z7DrPE1d.cjs.map +0 -1
  814. package/dist/Stack-BHb3ZB2A.cjs.map +0 -1
  815. package/dist/Stack-hwgS2FU1.mjs.map +0 -1
  816. package/dist/TabBar-BMv8dAS3.cjs.map +0 -1
  817. package/dist/TabBar-Bf89XksH.mjs.map +0 -1
  818. package/dist/chunk-Bpcn9VDT.mjs +0 -39
  819. package/dist/components/ConfigFormGroup/index.cjs.map +0 -1
  820. package/dist/components/ConfigFormGroup/index.mjs.map +0 -1
  821. package/dist/components/Pagination/index.cjs.map +0 -1
  822. package/dist/components/Pagination/index.mjs.map +0 -1
  823. package/dist/components/Pii/index.cjs.map +0 -1
  824. package/dist/components/Pii/index.mjs.map +0 -1
  825. package/dist/components/Table/index.cjs.map +0 -1
  826. package/dist/components/Table/index.mjs.map +0 -1
  827. package/dist/ids-Cr-NW2RJ.d.mts +0 -11
  828. package/dist/ids-e4V5Y3Ub.d.cts +0 -11
  829. package/dist/index-8R9vlM2B.d.mts +0 -83
  830. package/dist/index-BM1DqNZf.d.cts +0 -628
  831. package/dist/index-CExuKKOI.d.cts +0 -218
  832. package/dist/index-CKu60b9I.d.mts +0 -154
  833. package/dist/index-DQvVmqvS.d.mts +0 -628
  834. package/dist/lib/register/RegisterComponent.cjs +0 -91
  835. package/dist/lib/register/RegisterComponent.cjs.map +0 -1
  836. package/dist/lib/register/RegisterComponent.d.cts +0 -2
  837. package/dist/lib/register/RegisterComponent.d.mts +0 -2
  838. package/dist/lib/register/RegisterComponent.mjs +0 -88
  839. package/dist/lib/register/RegisterComponent.mjs.map +0 -1
  840. package/dist/lib/register/ids.cjs +0 -31
  841. package/dist/lib/register/ids.cjs.map +0 -1
  842. package/dist/lib/register/ids.d.cts +0 -2
  843. package/dist/lib/register/ids.d.mts +0 -2
  844. package/dist/lib/register/ids.mjs +0 -28
  845. package/dist/lib/register/ids.mjs.map +0 -1
  846. package/dist/lib/register/index.cjs +0 -8
  847. package/dist/lib/register/index.d.cts +0 -4
  848. package/dist/lib/register/index.d.mts +0 -4
  849. package/dist/lib/register/index.mjs +0 -3
  850. package/dist/lib/register/types.cjs +0 -1
  851. package/dist/lib/register/types.d.cts +0 -2
  852. package/dist/lib/register/types.d.mts +0 -2
  853. package/dist/mergeRefs-BZinWopc.cjs +0 -31
  854. package/dist/mergeRefs-BZinWopc.cjs.map +0 -1
  855. package/dist/mergeRefs-BgcbK0Qy.mjs +0 -26
  856. package/dist/mergeRefs-BgcbK0Qy.mjs.map +0 -1
  857. package/dist/motion-DoikasqZ.mjs +0 -7483
  858. package/dist/motion-DoikasqZ.mjs.map +0 -1
  859. package/dist/motion-QW6imSxE.cjs +0 -7488
  860. package/dist/motion-QW6imSxE.cjs.map +0 -1
  861. package/dist/react.esm-C-es35jP.cjs +0 -11441
  862. package/dist/react.esm-C-es35jP.cjs.map +0 -1
  863. package/dist/react.esm-Dv1lMDRs.mjs +0 -11397
  864. package/dist/react.esm-Dv1lMDRs.mjs.map +0 -1
  865. package/dist/types-DzHQ5MGm.d.mts +0 -69
  866. package/dist/types-N-cXznfM.d.cts +0 -69
  867. package/dist/useLabel-BcbghpIU.cjs +0 -1465
  868. package/dist/useLabel-BcbghpIU.cjs.map +0 -1
  869. package/dist/useLabel-DHGzNIKw.mjs +0 -1212
  870. package/dist/useLabel-DHGzNIKw.mjs.map +0 -1
  871. /package/dist/{lib/register/types.mjs → components/DataTable/types.cjs} +0 -0
  872. /package/dist/{index-1-AkepUA.d.mts → index-8SLBz2NH.d.mts} +0 -0
  873. /package/dist/{index-7in8TPrM.d.mts → index-B5cbLMbC2.d.cts} +0 -0
  874. /package/dist/{index-BBDa5smF.d.cts → index-BCsiC0tv.d.cts} +0 -0
  875. /package/dist/{index-BJ8-FA6N.d.cts → index-BR1oNnaF.d.cts} +0 -0
  876. /package/dist/{index-BUYyA1Xh.d.cts → index-BSVhZrWN.d.mts} +0 -0
  877. /package/dist/{index-CCt0lwyI.d.mts → index-BTImeehL2.d.mts} +0 -0
  878. /package/dist/{index-CEDY7cmG.d.cts → index-C0NRIDsj2.d.cts} +0 -0
  879. /package/dist/{index-CIABef8t.d.mts → index-C3kE54DD.d.mts} +0 -0
  880. /package/dist/{index-CIBxlpQo.d.mts → index-C6yvNuzO.d.cts} +0 -0
  881. /package/dist/{index-CP2eJYlK.d.mts → index-C8k_zgEm.d.cts} +0 -0
  882. /package/dist/{index-CRo77wc3.d.mts → index-CROz1VSV.d.mts} +0 -0
  883. /package/dist/{index-CiBIKhMu.d.cts → index-CWt1yJ75.d.cts} +0 -0
  884. /package/dist/{index-Cii4Qb1X.d.mts → index-CmCelmEL.d.cts} +0 -0
  885. /package/dist/{index-CspKFJM1.d.cts → index-CmUzJ4E-2.d.cts} +0 -0
  886. /package/dist/{index-D26lpgQi.d.cts → index-CtCMUyZA.d.cts} +0 -0
  887. /package/dist/{index-D4DUvwPf.d.mts → index-D5tSVhTd.d.mts} +0 -0
  888. /package/dist/{index-D4ELpJXS.d.cts → index-D8dPsry7.d.mts} +0 -0
  889. /package/dist/{index-D6CnpA_r.d.cts → index-DeEmP3Jc.d.cts} +0 -0
  890. /package/dist/{index-DLoAMD9J.d.cts → index-DeVKzGce.d.mts} +0 -0
  891. /package/dist/{index-DWfPppPU.d.mts → index-DrZ2Dh-H.d.cts} +0 -0
  892. /package/dist/{index-DcU87nuJ2.d.cts → index-DxSM7VXJ.d.cts} +0 -0
  893. /package/dist/{index-DkrC-i1D.d.mts → index-FtE8MXJ_.d.mts} +0 -0
  894. /package/dist/{index-DvuJXuAN.d.mts → index-JuxZj_Qp2.d.mts} +0 -0
  895. /package/dist/{index-OEBbnNdr.d.mts → index-LhFpnU-f.d.mts} +0 -0
  896. /package/dist/{index-QbUkWSLh.d.mts → index-N-OgGgfF.d.mts} +0 -0
  897. /package/dist/{index-VmEFGBxN.d.cts → index-NKYLt_R9.d.mts} +0 -0
@@ -0,0 +1,12 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region lib/message.ts
3
+ let MessageType = /* @__PURE__ */ function(MessageType) {
4
+ MessageType["Success"] = "success";
5
+ MessageType["Failure"] = "failure";
6
+ MessageType["Notice"] = "notice";
7
+ return MessageType;
8
+ }({});
9
+ //#endregion
10
+ exports.MessageType = MessageType;
11
+
12
+ //# sourceMappingURL=message.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.cjs","names":[],"sources":["../../lib/message.ts"],"sourcesContent":["export enum MessageType {\n Success = 'success',\n Failure = 'failure',\n Notice = 'notice',\n}\n"],"mappings":";;AAAA,IAAY,cAAL,yBAAA,aAAA;AACL,aAAA,aAAA;AACA,aAAA,aAAA;AACA,aAAA,YAAA;;KACD"}
@@ -0,0 +1,2 @@
1
+ import { t as MessageType } from "../message-C2286H-r.cjs";
2
+ export { MessageType };
@@ -0,0 +1,2 @@
1
+ import { t as MessageType } from "../message-BfJ87aIU.mjs";
2
+ export { MessageType };
@@ -0,0 +1,11 @@
1
+ //#region lib/message.ts
2
+ let MessageType = /* @__PURE__ */ function(MessageType) {
3
+ MessageType["Success"] = "success";
4
+ MessageType["Failure"] = "failure";
5
+ MessageType["Notice"] = "notice";
6
+ return MessageType;
7
+ }({});
8
+ //#endregion
9
+ export { MessageType };
10
+
11
+ //# sourceMappingURL=message.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.mjs","names":[],"sources":["../../lib/message.ts"],"sourcesContent":["export enum MessageType {\n Success = 'success',\n Failure = 'failure',\n Notice = 'notice',\n}\n"],"mappings":";AAAA,IAAY,cAAL,yBAAA,aAAA;AACL,aAAA,aAAA;AACA,aAAA,aAAA;AACA,aAAA,YAAA;;KACD"}
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
3
2
  //#region lib/pseudoClass.ts
4
3
  const isDisabled = ({ disabled }) => disabled ? "" : ":disabled";
5
4
  const isNotDisabled = ({ disabled }) => disabled ? ":not(*)" : ":not(:disabled)";
@@ -1 +1 @@
1
- {"version":3,"file":"pseudoClass.cjs","names":[],"sources":["../../lib/pseudoClass.ts"],"sourcesContent":["/**\n * @file Contains utility functions that allow targeting pseudo-classes with props.\n * When used, allows props.active to act like :active, etc.\n *\n * When used, a preceding ampersand is needed.\n * `&${isHovered}${isNotActive}`\n */\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\n\nexport const isDisabled = ({ disabled }: PseudoClassProps) => (disabled ? '' : ':disabled');\nexport const isNotDisabled = ({ disabled }: PseudoClassProps) =>\n disabled ? ':not(*)' : ':not(:disabled)';\n\nexport const isHovered = ({ hovered }: PseudoClassProps) => (hovered ? '' : ':hover');\nexport const isNotHovered = ({ hovered }: PseudoClassProps) =>\n hovered ? ':not(*)' : ':not(:hover)';\n\nexport const isFocused = ({ focused }: PseudoClassProps) => (focused ? '' : ':focus');\nexport const isNotFocused = ({ focused }: PseudoClassProps) =>\n focused ? ':not(*)' : ':not(:focus)';\n\nexport const isFocusedVisible = ({ focused }: PseudoClassProps) =>\n focused ? '' : ':focus-visible';\nexport const isNotFocusedVisible = ({ focused }: PseudoClassProps) =>\n focused ? ':not(*)' : ':not(:focus-visible)';\n\nexport const isActive = ({ active }: PseudoClassProps) => (active ? '' : ':focus-within');\nexport const isNotActive = ({ active }: PseudoClassProps) =>\n active ? ':not(*)' : ':not(:focus-within)';\n\nexport const isChecked = ({ checked }: PseudoClassProps) => (checked ? '' : ':checked');\nexport const isIndeterminate = ({ mixed }: PseudoClassProps) => (mixed ? '' : ':indeterminate');\nexport const isNotChecked = ({ checked }: PseudoClassProps) =>\n checked ? ':not(*)' : ':not(:checked)';\n"],"mappings":";;;AASA,MAAa,cAAc,EAAE,eAAkC,WAAW,KAAK;AAC/E,MAAa,iBAAiB,EAAE,eAC9B,WAAW,YAAY;AAEzB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY;AAExB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY;AAExB,MAAa,oBAAoB,EAAE,cACjC,UAAU,KAAK;AACjB,MAAa,uBAAuB,EAAE,cACpC,UAAU,YAAY;AAExB,MAAa,YAAY,EAAE,aAAgC,SAAS,KAAK;AACzE,MAAa,eAAe,EAAE,aAC5B,SAAS,YAAY;AAEvB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,mBAAmB,EAAE,YAA+B,QAAQ,KAAK;AAC9E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY"}
1
+ {"version":3,"file":"pseudoClass.cjs","names":[],"sources":["../../lib/pseudoClass.ts"],"sourcesContent":["/**\n * @file Contains utility functions that allow targeting pseudo-classes with props.\n * When used, allows props.active to act like :active, etc.\n *\n * When used, a preceding ampersand is needed.\n * `&${isHovered}${isNotActive}`\n */\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\n\nexport const isDisabled = ({ disabled }: PseudoClassProps) => (disabled ? '' : ':disabled');\nexport const isNotDisabled = ({ disabled }: PseudoClassProps) =>\n disabled ? ':not(*)' : ':not(:disabled)';\n\nexport const isHovered = ({ hovered }: PseudoClassProps) => (hovered ? '' : ':hover');\nexport const isNotHovered = ({ hovered }: PseudoClassProps) =>\n hovered ? ':not(*)' : ':not(:hover)';\n\nexport const isFocused = ({ focused }: PseudoClassProps) => (focused ? '' : ':focus');\nexport const isNotFocused = ({ focused }: PseudoClassProps) =>\n focused ? ':not(*)' : ':not(:focus)';\n\nexport const isFocusedVisible = ({ focused }: PseudoClassProps) =>\n focused ? '' : ':focus-visible';\nexport const isNotFocusedVisible = ({ focused }: PseudoClassProps) =>\n focused ? ':not(*)' : ':not(:focus-visible)';\n\nexport const isActive = ({ active }: PseudoClassProps) => (active ? '' : ':focus-within');\nexport const isNotActive = ({ active }: PseudoClassProps) =>\n active ? ':not(*)' : ':not(:focus-within)';\n\nexport const isChecked = ({ checked }: PseudoClassProps) => (checked ? '' : ':checked');\nexport const isIndeterminate = ({ mixed }: PseudoClassProps) => (mixed ? '' : ':indeterminate');\nexport const isNotChecked = ({ checked }: PseudoClassProps) =>\n checked ? ':not(*)' : ':not(:checked)';\n"],"mappings":";;AASA,MAAa,cAAc,EAAE,eAAkC,WAAW,KAAK;AAC/E,MAAa,iBAAiB,EAAE,eAC9B,WAAW,YAAY;AAEzB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY;AAExB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY;AAExB,MAAa,oBAAoB,EAAE,cACjC,UAAU,KAAK;AACjB,MAAa,uBAAuB,EAAE,cACpC,UAAU,YAAY;AAExB,MAAa,YAAY,EAAE,aAAgC,SAAS,KAAK;AACzE,MAAa,eAAe,EAAE,aAC5B,SAAS,YAAY;AAEvB,MAAa,aAAa,EAAE,cAAiC,UAAU,KAAK;AAC5E,MAAa,mBAAmB,EAAE,YAA+B,QAAQ,KAAK;AAC9E,MAAa,gBAAgB,EAAE,cAC7B,UAAU,YAAY"}
@@ -1,4 +1,4 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-mZgO_iZJ.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-ySXCGUEQ.mjs";
2
2
 
3
3
  //#region lib/pseudoClass.d.ts
4
4
  declare const isDisabled: ({
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
3
2
  //#region lib/reorderItems.ts
4
3
  /**
5
4
  * Pure index-based helpers for reordering an array of items.
@@ -1 +1 @@
1
- {"version":3,"file":"reorderItems.cjs","names":[],"sources":["../../lib/reorderItems.ts"],"sourcesContent":["/**\n * Pure index-based helpers for reordering an array of items.\n *\n * Shared between drag-and-drop implementations that use different underlying\n * libraries (e.g. React Aria Components' `useDragAndDrop` and @dnd-kit's\n * `useSortable`). Each caller reduces its library-specific event to a pair of\n * indices and then uses `moveItemByIndex` to produce the reordered array.\n */\n\n/**\n * Returns a new array with the item at `fromIndex` moved to `toIndex`.\n *\n * Returns the original array unchanged when either index is out of bounds or\n * the indices are equal.\n */\nexport const moveItemByIndex = <T>(items: T[], fromIndex: number, toIndex: number): T[] => {\n if (\n fromIndex === toIndex ||\n fromIndex < 0 ||\n toIndex < 0 ||\n fromIndex >= items.length ||\n toIndex >= items.length\n ) {\n return items;\n }\n\n const next = items.slice();\n const [moved] = next.splice(fromIndex, 1);\n next.splice(toIndex, 0, moved);\n return next;\n};\n\n/**\n * Finds the index of the item whose `keyPath` property stringifies to `key`.\n *\n * Comparison is done via `String(...)` on both sides so callers can pass\n * numeric or string ids interchangeably.\n */\nexport const findIndexByKey = <T>(items: T[], keyPath: string, key: string | number): number => {\n const target = String(key);\n return items.findIndex((item) => String((item as Record<string, unknown>)[keyPath]) === target);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAeA,MAAa,mBAAsB,OAAY,WAAmB,YAAyB;AACzF,KACE,cAAc,WACd,YAAY,KACZ,UAAU,KACV,aAAa,MAAM,UACnB,WAAW,MAAM,OAEjB,QAAO;CAGT,MAAM,OAAO,MAAM,OAAO;CAC1B,MAAM,CAAC,SAAS,KAAK,OAAO,WAAW,EAAE;AACzC,MAAK,OAAO,SAAS,GAAG,MAAM;AAC9B,QAAO;;;;;;;;AAST,MAAa,kBAAqB,OAAY,SAAiB,QAAiC;CAC9F,MAAM,SAAS,OAAO,IAAI;AAC1B,QAAO,MAAM,WAAW,SAAS,OAAQ,KAAiC,SAAS,KAAK,OAAO"}
1
+ {"version":3,"file":"reorderItems.cjs","names":[],"sources":["../../lib/reorderItems.ts"],"sourcesContent":["/**\n * Pure index-based helpers for reordering an array of items.\n *\n * Shared between drag-and-drop implementations that use different underlying\n * libraries (e.g. React Aria Components' `useDragAndDrop` and @dnd-kit's\n * `useSortable`). Each caller reduces its library-specific event to a pair of\n * indices and then uses `moveItemByIndex` to produce the reordered array.\n */\n\n/**\n * Returns a new array with the item at `fromIndex` moved to `toIndex`.\n *\n * Returns the original array unchanged when either index is out of bounds or\n * the indices are equal.\n */\nexport const moveItemByIndex = <T>(items: T[], fromIndex: number, toIndex: number): T[] => {\n if (\n fromIndex === toIndex ||\n fromIndex < 0 ||\n toIndex < 0 ||\n fromIndex >= items.length ||\n toIndex >= items.length\n ) {\n return items;\n }\n\n const next = items.slice();\n const [moved] = next.splice(fromIndex, 1);\n next.splice(toIndex, 0, moved);\n return next;\n};\n\n/**\n * Finds the index of the item whose `keyPath` property stringifies to `key`.\n *\n * Comparison is done via `String(...)` on both sides so callers can pass\n * numeric or string ids interchangeably.\n */\nexport const findIndexByKey = <T>(items: T[], keyPath: string, key: string | number): number => {\n const target = String(key);\n return items.findIndex((item) => String((item as Record<string, unknown>)[keyPath]) === target);\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAeA,MAAa,mBAAsB,OAAY,WAAmB,YAAyB;AACzF,KACE,cAAc,WACd,YAAY,KACZ,UAAU,KACV,aAAa,MAAM,UACnB,WAAW,MAAM,OAEjB,QAAO;CAGT,MAAM,OAAO,MAAM,OAAO;CAC1B,MAAM,CAAC,SAAS,KAAK,OAAO,WAAW,EAAE;AACzC,MAAK,OAAO,SAAS,GAAG,MAAM;AAC9B,QAAO;;;;;;;;AAST,MAAa,kBAAqB,OAAY,SAAiB,QAAiC;CAC9F,MAAM,SAAS,OAAO,IAAI;AAC1B,QAAO,MAAM,WAAW,SAAS,OAAQ,KAAiC,SAAS,KAAK,OAAO"}
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
3
- const require_react_esm = require("../react.esm-C-es35jP.cjs");
2
+ require("../chunk-CKQMccvm.cjs");
3
+ let _testing_library_react = require("@testing-library/react");
4
4
  //#region lib/selectHelper.ts
5
5
  /**
6
6
  * Click a PDS Select (Radix UI) option using fireEvent.click inside act().
@@ -12,8 +12,8 @@ const require_react_esm = require("../react.esm-C-es35jP.cjs");
12
12
  * bypasses all of this cleanly.
13
13
  */
14
14
  const clickSelectItem = async (name) => {
15
- await require_react_esm.act(async () => {
16
- require_react_esm.fireEvent.click(require_react_esm.screen.getByRole("option", { name }));
15
+ await (0, _testing_library_react.act)(async () => {
16
+ _testing_library_react.fireEvent.click(_testing_library_react.screen.getByRole("option", { name }));
17
17
  });
18
18
  };
19
19
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"selectHelper.cjs","names":["act","screen"],"sources":["../../lib/selectHelper.ts"],"sourcesContent":["import { act, fireEvent, screen } from '@testing-library/react';\n\n/**\n * Click a PDS Select (Radix UI) option using fireEvent.click inside act().\n *\n * userEvent.click doesn't work for Radix SelectItem in React 18 + JSDOM because it fires\n * pointer events that set pointerTypeRef to \"mouse\", routing selection through onPointerUp\n * instead of onClick — and that path doesn't flush React state within act() due to focus()\n * calls from onPointerMove interfering with the concurrent scheduler. fireEvent.click\n * bypasses all of this cleanly.\n */\n// eslint-disable-next-line @persona-id/rtl-user-event\nexport const clickSelectItem = async (name: RegExp | string) => {\n await act(async () => {\n // eslint-disable-next-line @persona-id/rtl-user-event\n fireEvent.click(screen.getByRole('option', { name }));\n });\n};\n"],"mappings":";;;;;;;;;;;;;AAYA,MAAa,kBAAkB,OAAO,SAA0B;AAC9D,OAAMA,kBAAAA,IAAI,YAAY;AAEpB,oBAAA,UAAU,MAAMC,kBAAAA,OAAO,UAAU,UAAU,EAAE,MAAM,CAAC,CAAC;GACrD"}
1
+ {"version":3,"file":"selectHelper.cjs","names":["screen"],"sources":["../../lib/selectHelper.ts"],"sourcesContent":["import { act, fireEvent, screen } from '@testing-library/react';\n\n/**\n * Click a PDS Select (Radix UI) option using fireEvent.click inside act().\n *\n * userEvent.click doesn't work for Radix SelectItem in React 18 + JSDOM because it fires\n * pointer events that set pointerTypeRef to \"mouse\", routing selection through onPointerUp\n * instead of onClick — and that path doesn't flush React state within act() due to focus()\n * calls from onPointerMove interfering with the concurrent scheduler. fireEvent.click\n * bypasses all of this cleanly.\n */\n// eslint-disable-next-line @persona-id/rtl-user-event\nexport const clickSelectItem = async (name: RegExp | string) => {\n await act(async () => {\n // eslint-disable-next-line @persona-id/rtl-user-event\n fireEvent.click(screen.getByRole('option', { name }));\n });\n};\n"],"mappings":";;;;;;;;;;;;;AAYA,MAAa,kBAAkB,OAAO,SAA0B;AAC9D,QAAA,GAAA,uBAAA,KAAU,YAAY;AAEpB,yBAAA,UAAU,MAAMA,uBAAAA,OAAO,UAAU,UAAU,EAAE,MAAM,CAAC,CAAC;GACrD"}
@@ -1,4 +1,4 @@
1
- import { a as screen, n as fireEvent, t as act } from "../react.esm-Dv1lMDRs.mjs";
1
+ import { act, fireEvent, screen } from "@testing-library/react";
2
2
  //#region lib/selectHelper.ts
3
3
  /**
4
4
  * Click a PDS Select (Radix UI) option using fireEvent.click inside act().
@@ -1,4 +1,4 @@
1
- require("../chunk-CoPdw6nB.cjs");
1
+ require("../chunk-CKQMccvm.cjs");
2
2
  let react = require("react");
3
3
  //#region lib/useControlled.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
2
+ require("../chunk-CKQMccvm.cjs");
3
3
  let react = require("react");
4
4
  //#region lib/useIsOverflow.ts
5
5
  const INITIAL_STATE = {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
2
+ require("../chunk-CKQMccvm.cjs");
3
3
  let react = require("react");
4
4
  //#region lib/useOutsideClick.tsx
5
5
  const useOutsideClick = ({ ref, onOutsideClick }) => {
@@ -0,0 +1,61 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ require("../chunk-CKQMccvm.cjs");
3
+ let react = require("react");
4
+ //#region lib/useScrollOverflow.ts
5
+ /**
6
+ * Tracks the horizontal-overflow state of a scroll container.
7
+ *
8
+ * - `hasHorizontalOverflow` — true while the content is wider than the box.
9
+ * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the
10
+ * left edge. Drives the left-edge fade affordance.
11
+ * - `hasMoreScrollRight` — true while the user has not yet scrolled to the
12
+ * right edge. Drives the right-edge fade affordance.
13
+ *
14
+ * Listens to `scroll` on the element, size changes via `ResizeObserver`,
15
+ * and content changes via `MutationObserver` (child add/remove and text
16
+ * changes within existing descendants).
17
+ */
18
+ const useScrollOverflow = (ref, { enabled = true } = {}) => {
19
+ const [hasHorizontalOverflow, setHasHorizontalOverflow] = (0, react.useState)(false);
20
+ const [hasMoreScrollLeft, setHasMoreScrollLeft] = (0, react.useState)(false);
21
+ const [hasMoreScrollRight, setHasMoreScrollRight] = (0, react.useState)(false);
22
+ (0, react.useEffect)(() => {
23
+ if (!enabled) {
24
+ setHasHorizontalOverflow(false);
25
+ setHasMoreScrollLeft(false);
26
+ setHasMoreScrollRight(false);
27
+ return;
28
+ }
29
+ const el = ref.current;
30
+ if (!el) return;
31
+ const update = () => {
32
+ setHasHorizontalOverflow(el.scrollWidth > el.clientWidth + 1);
33
+ setHasMoreScrollLeft(el.scrollLeft > 1);
34
+ setHasMoreScrollRight(el.scrollLeft + el.clientWidth < el.scrollWidth - 1);
35
+ };
36
+ update();
37
+ el.addEventListener("scroll", update, { passive: true });
38
+ const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(update) : null;
39
+ ro?.observe(el);
40
+ const mo = typeof MutationObserver !== "undefined" ? new MutationObserver(update) : null;
41
+ mo?.observe(el, {
42
+ characterData: true,
43
+ childList: true,
44
+ subtree: true
45
+ });
46
+ return () => {
47
+ el.removeEventListener("scroll", update);
48
+ ro?.disconnect();
49
+ mo?.disconnect();
50
+ };
51
+ }, [ref, enabled]);
52
+ return {
53
+ hasHorizontalOverflow,
54
+ hasMoreScrollLeft,
55
+ hasMoreScrollRight
56
+ };
57
+ };
58
+ //#endregion
59
+ exports.useScrollOverflow = useScrollOverflow;
60
+
61
+ //# sourceMappingURL=useScrollOverflow.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollOverflow.cjs","names":[],"sources":["../../lib/useScrollOverflow.ts"],"sourcesContent":["import { type RefObject, useEffect, useState } from 'react';\n\ninterface UseScrollOverflowOptions {\n /**\n * When false, the hook short-circuits — no listeners are attached and\n * both flags stay `false`. Use to opt out when the consumer is in a\n * fixed-layout / no-overflow mode where overflow detection is wasted\n * work, or when the scroll container is not yet mounted (e.g. gated\n * behind conditional render).\n */\n enabled?: boolean;\n}\n\n/**\n * Tracks the horizontal-overflow state of a scroll container.\n *\n * - `hasHorizontalOverflow` — true while the content is wider than the box.\n * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the\n * left edge. Drives the left-edge fade affordance.\n * - `hasMoreScrollRight` — true while the user has not yet scrolled to the\n * right edge. Drives the right-edge fade affordance.\n *\n * Listens to `scroll` on the element, size changes via `ResizeObserver`,\n * and content changes via `MutationObserver` (child add/remove and text\n * changes within existing descendants).\n */\nexport const useScrollOverflow = (\n ref: RefObject<HTMLElement>,\n { enabled = true }: UseScrollOverflowOptions = {},\n) => {\n const [hasHorizontalOverflow, setHasHorizontalOverflow] = useState(false);\n const [hasMoreScrollLeft, setHasMoreScrollLeft] = useState(false);\n const [hasMoreScrollRight, setHasMoreScrollRight] = useState(false);\n\n useEffect(() => {\n if (!enabled) {\n setHasHorizontalOverflow(false);\n setHasMoreScrollLeft(false);\n setHasMoreScrollRight(false);\n return undefined;\n }\n const el = ref.current;\n if (!el) {\n return undefined;\n }\n const update = () => {\n // 1px tolerance for sub-pixel rounding on fractional layouts.\n setHasHorizontalOverflow(el.scrollWidth > el.clientWidth + 1);\n setHasMoreScrollLeft(el.scrollLeft > 1);\n setHasMoreScrollRight(el.scrollLeft + el.clientWidth < el.scrollWidth - 1);\n };\n update();\n el.addEventListener('scroll', update, { passive: true });\n const ro = typeof ResizeObserver !== 'undefined' ? new ResizeObserver(update) : null;\n ro?.observe(el);\n const mo = typeof MutationObserver !== 'undefined' ? new MutationObserver(update) : null;\n mo?.observe(el, { characterData: true, childList: true, subtree: true });\n return () => {\n el.removeEventListener('scroll', update);\n ro?.disconnect();\n mo?.disconnect();\n };\n }, [ref, enabled]);\n\n return { hasHorizontalOverflow, hasMoreScrollLeft, hasMoreScrollRight };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AA0BA,MAAa,qBACX,KACA,EAAE,UAAU,SAAmC,EAAE,KAC9C;CACH,MAAM,CAAC,uBAAuB,6BAAA,GAAA,MAAA,UAAqC,MAAM;CACzE,MAAM,CAAC,mBAAmB,yBAAA,GAAA,MAAA,UAAiC,MAAM;CACjE,MAAM,CAAC,oBAAoB,0BAAA,GAAA,MAAA,UAAkC,MAAM;AAEnE,EAAA,GAAA,MAAA,iBAAgB;AACd,MAAI,CAAC,SAAS;AACZ,4BAAyB,MAAM;AAC/B,wBAAqB,MAAM;AAC3B,yBAAsB,MAAM;AAC5B;;EAEF,MAAM,KAAK,IAAI;AACf,MAAI,CAAC,GACH;EAEF,MAAM,eAAe;AAEnB,4BAAyB,GAAG,cAAc,GAAG,cAAc,EAAE;AAC7D,wBAAqB,GAAG,aAAa,EAAE;AACvC,yBAAsB,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,EAAE;;AAE5E,UAAQ;AACR,KAAG,iBAAiB,UAAU,QAAQ,EAAE,SAAS,MAAM,CAAC;EACxD,MAAM,KAAK,OAAO,mBAAmB,cAAc,IAAI,eAAe,OAAO,GAAG;AAChF,MAAI,QAAQ,GAAG;EACf,MAAM,KAAK,OAAO,qBAAqB,cAAc,IAAI,iBAAiB,OAAO,GAAG;AACpF,MAAI,QAAQ,IAAI;GAAE,eAAe;GAAM,WAAW;GAAM,SAAS;GAAM,CAAC;AACxE,eAAa;AACX,MAAG,oBAAoB,UAAU,OAAO;AACxC,OAAI,YAAY;AAChB,OAAI,YAAY;;IAEjB,CAAC,KAAK,QAAQ,CAAC;AAElB,QAAO;EAAE;EAAuB;EAAmB;EAAoB"}
@@ -0,0 +1,36 @@
1
+ import { RefObject } from "react";
2
+
3
+ //#region lib/useScrollOverflow.d.ts
4
+ interface UseScrollOverflowOptions {
5
+ /**
6
+ * When false, the hook short-circuits — no listeners are attached and
7
+ * both flags stay `false`. Use to opt out when the consumer is in a
8
+ * fixed-layout / no-overflow mode where overflow detection is wasted
9
+ * work, or when the scroll container is not yet mounted (e.g. gated
10
+ * behind conditional render).
11
+ */
12
+ enabled?: boolean;
13
+ }
14
+ /**
15
+ * Tracks the horizontal-overflow state of a scroll container.
16
+ *
17
+ * - `hasHorizontalOverflow` — true while the content is wider than the box.
18
+ * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the
19
+ * left edge. Drives the left-edge fade affordance.
20
+ * - `hasMoreScrollRight` — true while the user has not yet scrolled to the
21
+ * right edge. Drives the right-edge fade affordance.
22
+ *
23
+ * Listens to `scroll` on the element, size changes via `ResizeObserver`,
24
+ * and content changes via `MutationObserver` (child add/remove and text
25
+ * changes within existing descendants).
26
+ */
27
+ declare const useScrollOverflow: (ref: RefObject<HTMLElement>, {
28
+ enabled
29
+ }?: UseScrollOverflowOptions) => {
30
+ hasHorizontalOverflow: boolean;
31
+ hasMoreScrollLeft: boolean;
32
+ hasMoreScrollRight: boolean;
33
+ };
34
+ //#endregion
35
+ export { useScrollOverflow };
36
+ //# sourceMappingURL=useScrollOverflow.d.cts.map
@@ -0,0 +1,36 @@
1
+ import { RefObject } from "react";
2
+
3
+ //#region lib/useScrollOverflow.d.ts
4
+ interface UseScrollOverflowOptions {
5
+ /**
6
+ * When false, the hook short-circuits — no listeners are attached and
7
+ * both flags stay `false`. Use to opt out when the consumer is in a
8
+ * fixed-layout / no-overflow mode where overflow detection is wasted
9
+ * work, or when the scroll container is not yet mounted (e.g. gated
10
+ * behind conditional render).
11
+ */
12
+ enabled?: boolean;
13
+ }
14
+ /**
15
+ * Tracks the horizontal-overflow state of a scroll container.
16
+ *
17
+ * - `hasHorizontalOverflow` — true while the content is wider than the box.
18
+ * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the
19
+ * left edge. Drives the left-edge fade affordance.
20
+ * - `hasMoreScrollRight` — true while the user has not yet scrolled to the
21
+ * right edge. Drives the right-edge fade affordance.
22
+ *
23
+ * Listens to `scroll` on the element, size changes via `ResizeObserver`,
24
+ * and content changes via `MutationObserver` (child add/remove and text
25
+ * changes within existing descendants).
26
+ */
27
+ declare const useScrollOverflow: (ref: RefObject<HTMLElement>, {
28
+ enabled
29
+ }?: UseScrollOverflowOptions) => {
30
+ hasHorizontalOverflow: boolean;
31
+ hasMoreScrollLeft: boolean;
32
+ hasMoreScrollRight: boolean;
33
+ };
34
+ //#endregion
35
+ export { useScrollOverflow };
36
+ //# sourceMappingURL=useScrollOverflow.d.mts.map
@@ -0,0 +1,59 @@
1
+ import { useEffect, useState } from "react";
2
+ //#region lib/useScrollOverflow.ts
3
+ /**
4
+ * Tracks the horizontal-overflow state of a scroll container.
5
+ *
6
+ * - `hasHorizontalOverflow` — true while the content is wider than the box.
7
+ * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the
8
+ * left edge. Drives the left-edge fade affordance.
9
+ * - `hasMoreScrollRight` — true while the user has not yet scrolled to the
10
+ * right edge. Drives the right-edge fade affordance.
11
+ *
12
+ * Listens to `scroll` on the element, size changes via `ResizeObserver`,
13
+ * and content changes via `MutationObserver` (child add/remove and text
14
+ * changes within existing descendants).
15
+ */
16
+ const useScrollOverflow = (ref, { enabled = true } = {}) => {
17
+ const [hasHorizontalOverflow, setHasHorizontalOverflow] = useState(false);
18
+ const [hasMoreScrollLeft, setHasMoreScrollLeft] = useState(false);
19
+ const [hasMoreScrollRight, setHasMoreScrollRight] = useState(false);
20
+ useEffect(() => {
21
+ if (!enabled) {
22
+ setHasHorizontalOverflow(false);
23
+ setHasMoreScrollLeft(false);
24
+ setHasMoreScrollRight(false);
25
+ return;
26
+ }
27
+ const el = ref.current;
28
+ if (!el) return;
29
+ const update = () => {
30
+ setHasHorizontalOverflow(el.scrollWidth > el.clientWidth + 1);
31
+ setHasMoreScrollLeft(el.scrollLeft > 1);
32
+ setHasMoreScrollRight(el.scrollLeft + el.clientWidth < el.scrollWidth - 1);
33
+ };
34
+ update();
35
+ el.addEventListener("scroll", update, { passive: true });
36
+ const ro = typeof ResizeObserver !== "undefined" ? new ResizeObserver(update) : null;
37
+ ro?.observe(el);
38
+ const mo = typeof MutationObserver !== "undefined" ? new MutationObserver(update) : null;
39
+ mo?.observe(el, {
40
+ characterData: true,
41
+ childList: true,
42
+ subtree: true
43
+ });
44
+ return () => {
45
+ el.removeEventListener("scroll", update);
46
+ ro?.disconnect();
47
+ mo?.disconnect();
48
+ };
49
+ }, [ref, enabled]);
50
+ return {
51
+ hasHorizontalOverflow,
52
+ hasMoreScrollLeft,
53
+ hasMoreScrollRight
54
+ };
55
+ };
56
+ //#endregion
57
+ export { useScrollOverflow };
58
+
59
+ //# sourceMappingURL=useScrollOverflow.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScrollOverflow.mjs","names":[],"sources":["../../lib/useScrollOverflow.ts"],"sourcesContent":["import { type RefObject, useEffect, useState } from 'react';\n\ninterface UseScrollOverflowOptions {\n /**\n * When false, the hook short-circuits — no listeners are attached and\n * both flags stay `false`. Use to opt out when the consumer is in a\n * fixed-layout / no-overflow mode where overflow detection is wasted\n * work, or when the scroll container is not yet mounted (e.g. gated\n * behind conditional render).\n */\n enabled?: boolean;\n}\n\n/**\n * Tracks the horizontal-overflow state of a scroll container.\n *\n * - `hasHorizontalOverflow` — true while the content is wider than the box.\n * - `hasMoreScrollLeft` — true while the user has not yet scrolled to the\n * left edge. Drives the left-edge fade affordance.\n * - `hasMoreScrollRight` — true while the user has not yet scrolled to the\n * right edge. Drives the right-edge fade affordance.\n *\n * Listens to `scroll` on the element, size changes via `ResizeObserver`,\n * and content changes via `MutationObserver` (child add/remove and text\n * changes within existing descendants).\n */\nexport const useScrollOverflow = (\n ref: RefObject<HTMLElement>,\n { enabled = true }: UseScrollOverflowOptions = {},\n) => {\n const [hasHorizontalOverflow, setHasHorizontalOverflow] = useState(false);\n const [hasMoreScrollLeft, setHasMoreScrollLeft] = useState(false);\n const [hasMoreScrollRight, setHasMoreScrollRight] = useState(false);\n\n useEffect(() => {\n if (!enabled) {\n setHasHorizontalOverflow(false);\n setHasMoreScrollLeft(false);\n setHasMoreScrollRight(false);\n return undefined;\n }\n const el = ref.current;\n if (!el) {\n return undefined;\n }\n const update = () => {\n // 1px tolerance for sub-pixel rounding on fractional layouts.\n setHasHorizontalOverflow(el.scrollWidth > el.clientWidth + 1);\n setHasMoreScrollLeft(el.scrollLeft > 1);\n setHasMoreScrollRight(el.scrollLeft + el.clientWidth < el.scrollWidth - 1);\n };\n update();\n el.addEventListener('scroll', update, { passive: true });\n const ro = typeof ResizeObserver !== 'undefined' ? new ResizeObserver(update) : null;\n ro?.observe(el);\n const mo = typeof MutationObserver !== 'undefined' ? new MutationObserver(update) : null;\n mo?.observe(el, { characterData: true, childList: true, subtree: true });\n return () => {\n el.removeEventListener('scroll', update);\n ro?.disconnect();\n mo?.disconnect();\n };\n }, [ref, enabled]);\n\n return { hasHorizontalOverflow, hasMoreScrollLeft, hasMoreScrollRight };\n};\n"],"mappings":";;;;;;;;;;;;;;;AA0BA,MAAa,qBACX,KACA,EAAE,UAAU,SAAmC,EAAE,KAC9C;CACH,MAAM,CAAC,uBAAuB,4BAA4B,SAAS,MAAM;CACzE,MAAM,CAAC,mBAAmB,wBAAwB,SAAS,MAAM;CACjE,MAAM,CAAC,oBAAoB,yBAAyB,SAAS,MAAM;AAEnE,iBAAgB;AACd,MAAI,CAAC,SAAS;AACZ,4BAAyB,MAAM;AAC/B,wBAAqB,MAAM;AAC3B,yBAAsB,MAAM;AAC5B;;EAEF,MAAM,KAAK,IAAI;AACf,MAAI,CAAC,GACH;EAEF,MAAM,eAAe;AAEnB,4BAAyB,GAAG,cAAc,GAAG,cAAc,EAAE;AAC7D,wBAAqB,GAAG,aAAa,EAAE;AACvC,yBAAsB,GAAG,aAAa,GAAG,cAAc,GAAG,cAAc,EAAE;;AAE5E,UAAQ;AACR,KAAG,iBAAiB,UAAU,QAAQ,EAAE,SAAS,MAAM,CAAC;EACxD,MAAM,KAAK,OAAO,mBAAmB,cAAc,IAAI,eAAe,OAAO,GAAG;AAChF,MAAI,QAAQ,GAAG;EACf,MAAM,KAAK,OAAO,qBAAqB,cAAc,IAAI,iBAAiB,OAAO,GAAG;AACpF,MAAI,QAAQ,IAAI;GAAE,eAAe;GAAM,WAAW;GAAM,SAAS;GAAM,CAAC;AACxE,eAAa;AACX,MAAG,oBAAoB,UAAU,OAAO;AACxC,OAAI,YAAY;AAChB,OAAI,YAAY;;IAEjB,CAAC,KAAK,QAAQ,CAAC;AAElB,QAAO;EAAE;EAAuB;EAAmB;EAAoB"}
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
3
2
  //#region lib/zindex.ts
4
3
  const Z_INDICES = {
5
4
  withShadow: 1,
@@ -1 +1 @@
1
- {"version":3,"file":"zindex.cjs","names":[],"sources":["../../lib/zindex.ts"],"sourcesContent":["/*\n * Prefer adding these values together instead of adding new ones if possible.\n */\nexport const Z_INDICES = {\n withShadow: 1,\n\n sticky: 2,\n\n loadingOverlays: 5,\n\n tooltip: 10,\n\n floatingBar: 100,\n\n /*\n * The main levels we have in dashboard\n */\n topNav: 1000,\n dropdown: 1001,\n layeredDropdown: 1002,\n banner: 2000,\n sideNav: 3000,\n topNavTooltip: 3001,\n modal: 10000,\n /*\n * For elements that should expand out of modals, but NOT cover things like dropdowns\n */\n modalElevated: 10001,\n modalDropdown: 10010,\n modalDropdownTooltip: 10020,\n personaAssistant: 10011,\n /*\n * Full-app blocking modal overlays that must sit above in-app floating panels and\n * their portaled UI (e.g. flow editor rule panels at Z_INDICES.modal).\n */\n modalBlocking: 10030,\n toast: 100000,\n} as const;\n\nexport type ZIndex = (typeof Z_INDICES)[keyof typeof Z_INDICES];\n"],"mappings":";;;AAGA,MAAa,YAAY;CACvB,YAAY;CAEZ,QAAQ;CAER,iBAAiB;CAEjB,SAAS;CAET,aAAa;CAKb,QAAQ;CACR,UAAU;CACV,iBAAiB;CACjB,QAAQ;CACR,SAAS;CACT,eAAe;CACf,OAAO;CAIP,eAAe;CACf,eAAe;CACf,sBAAsB;CACtB,kBAAkB;CAKlB,eAAe;CACf,OAAO;CACR"}
1
+ {"version":3,"file":"zindex.cjs","names":[],"sources":["../../lib/zindex.ts"],"sourcesContent":["/*\n * Prefer adding these values together instead of adding new ones if possible.\n */\nexport const Z_INDICES = {\n withShadow: 1,\n\n sticky: 2,\n\n loadingOverlays: 5,\n\n tooltip: 10,\n\n floatingBar: 100,\n\n /*\n * The main levels we have in dashboard\n */\n topNav: 1000,\n dropdown: 1001,\n layeredDropdown: 1002,\n banner: 2000,\n sideNav: 3000,\n topNavTooltip: 3001,\n modal: 10000,\n /*\n * For elements that should expand out of modals, but NOT cover things like dropdowns\n */\n modalElevated: 10001,\n modalDropdown: 10010,\n modalDropdownTooltip: 10020,\n personaAssistant: 10011,\n /*\n * Full-app blocking modal overlays that must sit above in-app floating panels and\n * their portaled UI (e.g. flow editor rule panels at Z_INDICES.modal).\n */\n modalBlocking: 10030,\n toast: 100000,\n} as const;\n\nexport type ZIndex = (typeof Z_INDICES)[keyof typeof Z_INDICES];\n"],"mappings":";;AAGA,MAAa,YAAY;CACvB,YAAY;CAEZ,QAAQ;CAER,iBAAiB;CAEjB,SAAS;CAET,aAAa;CAKb,QAAQ;CACR,UAAU;CACV,iBAAiB;CACjB,QAAQ;CACR,SAAS;CACT,eAAe;CACf,OAAO;CAIP,eAAe;CACf,eAAe;CACf,sBAAsB;CACtB,kBAAkB;CAKlB,eAAe;CACf,OAAO;CACR"}
@@ -0,0 +1,9 @@
1
+ //#region lib/message.d.ts
2
+ declare enum MessageType {
3
+ Success = "success",
4
+ Failure = "failure",
5
+ Notice = "notice"
6
+ }
7
+ //#endregion
8
+ export { MessageType as t };
9
+ //# sourceMappingURL=message-BfJ87aIU.d.mts.map
@@ -0,0 +1,9 @@
1
+ //#region lib/message.d.ts
2
+ declare enum MessageType {
3
+ Success = "success",
4
+ Failure = "failure",
5
+ Notice = "notice"
6
+ }
7
+ //#endregion
8
+ export { MessageType as t };
9
+ //# sourceMappingURL=message-C2286H-r.d.cts.map
@@ -0,0 +1,13 @@
1
+ //#region lib/middleTruncateText.d.ts
2
+ declare function buildMiddleTruncatedText(text: string, charsToShow: number): string;
3
+ declare function isMiddleTruncated(displayText: string, fullText: string): boolean;
4
+ declare function parseMaxWidthPx(maxWidth: number | string): number | null;
5
+ declare function measureTextWidth(text: string, font?: string): number;
6
+ declare function findMiddleTruncatedTextForWidth(text: string, maxWidthPx: number, font?: string): string;
7
+ declare function findMaxMiddleTruncatedCharsThatFit(element: HTMLElement, text: string, maxWidthPx?: number | null, font?: string): {
8
+ displayText: string;
9
+ charsToShow: number;
10
+ };
11
+ //#endregion
12
+ export { buildMiddleTruncatedText, findMaxMiddleTruncatedCharsThatFit, findMiddleTruncatedTextForWidth, isMiddleTruncated, measureTextWidth, parseMaxWidthPx };
13
+ //# sourceMappingURL=middleTruncateText.d.mts.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../chunk-CoPdw6nB.cjs");
2
+ require("../chunk-CKQMccvm.cjs");
3
3
  const require_lib_pseudoClass = require("../lib/pseudoClass.cjs");
4
4
  let _persona_design_tokens = require("@persona/design-tokens");
5
5
  let styled_components = require("styled-components");
@@ -1 +1 @@
1
- {"version":3,"file":"focus.cjs","names":["Color","isFocusedVisible","isNotDisabled"],"sources":["../../mixins/focus.ts"],"sourcesContent":["import { Color } from '@persona/design-tokens';\nimport { css } from 'styled-components';\n\nimport { isFocusedVisible, isNotDisabled } from 'design-system/lib/pseudoClass';\n\nexport const focusStyle = css`\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n`;\n\nexport const focusOutline = css`\n outline: none;\n\n &:focus-visible {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusOutlineControlled = css`\n outline: none;\n\n &${isFocusedVisible}${isNotDisabled} {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusWithinOutline = css`\n &:focus-within {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n"],"mappings":";;;;;;AAKA,MAAa,aAAa,kBAAA,GAAG;;aAEhBA,uBAAAA,MAAM,YAAY;;AAG/B,MAAa,eAAe,kBAAA,GAAG;;;;;eAKhBA,uBAAAA,MAAM,YAAY;;;AAIjC,MAAa,yBAAyB,kBAAA,GAAG;;;KAGpCC,wBAAAA,mBAAmBC,wBAAAA,cAAc;;eAEvBF,uBAAAA,MAAM,YAAY;;;AAIjC,MAAa,qBAAqB,kBAAA,GAAG;;;eAGtBA,uBAAAA,MAAM,YAAY"}
1
+ {"version":3,"file":"focus.cjs","names":["Color","isFocusedVisible","isNotDisabled"],"sources":["../../mixins/focus.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nimport { Color } from '@persona/design-tokens';\nimport { isFocusedVisible, isNotDisabled } from 'design-system/lib/pseudoClass';\n\nexport const focusStyle = css`\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n`;\n\nexport const focusOutline = css`\n outline: none;\n\n &:focus-visible {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusOutlineControlled = css`\n outline: none;\n\n &${isFocusedVisible}${isNotDisabled} {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusWithinOutline = css`\n &:focus-within {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n"],"mappings":";;;;;;AAKA,MAAa,aAAa,kBAAA,GAAG;;aAEhBA,uBAAAA,MAAM,YAAY;;AAG/B,MAAa,eAAe,kBAAA,GAAG;;;;;eAKhBA,uBAAAA,MAAM,YAAY;;;AAIjC,MAAa,yBAAyB,kBAAA,GAAG;;;KAGpCC,wBAAAA,mBAAmBC,wBAAAA,cAAc;;eAEvBF,uBAAAA,MAAM,YAAY;;;AAIjC,MAAa,qBAAqB,kBAAA,GAAG;;;eAGtBA,uBAAAA,MAAM,YAAY"}
@@ -1,4 +1,4 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-mZgO_iZJ.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-ySXCGUEQ.mjs";
2
2
  import * as _$styled_components0 from "styled-components";
3
3
 
4
4
  //#region mixins/focus.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"focus.mjs","names":[],"sources":["../../mixins/focus.ts"],"sourcesContent":["import { Color } from '@persona/design-tokens';\nimport { css } from 'styled-components';\n\nimport { isFocusedVisible, isNotDisabled } from 'design-system/lib/pseudoClass';\n\nexport const focusStyle = css`\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n`;\n\nexport const focusOutline = css`\n outline: none;\n\n &:focus-visible {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusOutlineControlled = css`\n outline: none;\n\n &${isFocusedVisible}${isNotDisabled} {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusWithinOutline = css`\n &:focus-within {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n"],"mappings":";;;;AAKA,MAAa,aAAa,GAAG;;aAEhB,MAAM,YAAY;;AAG/B,MAAa,eAAe,GAAG;;;;;eAKhB,MAAM,YAAY;;;AAIjC,MAAa,yBAAyB,GAAG;;;KAGpC,mBAAmB,cAAc;;eAEvB,MAAM,YAAY;;;AAIjC,MAAa,qBAAqB,GAAG;;;eAGtB,MAAM,YAAY"}
1
+ {"version":3,"file":"focus.mjs","names":[],"sources":["../../mixins/focus.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nimport { Color } from '@persona/design-tokens';\nimport { isFocusedVisible, isNotDisabled } from 'design-system/lib/pseudoClass';\n\nexport const focusStyle = css`\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n`;\n\nexport const focusOutline = css`\n outline: none;\n\n &:focus-visible {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusOutlineControlled = css`\n outline: none;\n\n &${isFocusedVisible}${isNotDisabled} {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n\nexport const focusWithinOutline = css`\n &:focus-within {\n outline-offset: 1px;\n outline: ${Color.BorderFocus} solid 2px;\n }\n`;\n"],"mappings":";;;;AAKA,MAAa,aAAa,GAAG;;aAEhB,MAAM,YAAY;;AAG/B,MAAa,eAAe,GAAG;;;;;eAKhB,MAAM,YAAY;;;AAIjC,MAAa,yBAAyB,GAAG;;;KAGpC,mBAAmB,cAAc;;eAEvB,MAAM,YAAY;;;AAIjC,MAAa,qBAAqB,GAAG;;;eAGtB,MAAM,YAAY"}
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- require("../chunk-CoPdw6nB.cjs");
5
+ require("../chunk-CKQMccvm.cjs");
6
6
  const require_lib_pseudoClass = require("../lib/pseudoClass.cjs");
7
7
  const require_mixins_focus = require("./focus.cjs");
8
8
  require("../variables/effect.cjs");
@@ -1,5 +1,5 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-mZgO_iZJ.mjs";
2
- import { i as Variant } from "../theme-DGAqgnUa.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-ySXCGUEQ.mjs";
2
+ import { i as Variant } from "../theme-Bx2sn3Lt.mjs";
3
3
  import * as _$styled_components0 from "styled-components";
4
4
 
5
5
  //#region mixins/hoverable.d.ts
@@ -1,4 +1,4 @@
1
- require("../chunk-CoPdw6nB.cjs");
1
+ require("../chunk-CKQMccvm.cjs");
2
2
  const require_lib_pseudoClass = require("../lib/pseudoClass.cjs");
3
3
  const require_mixins_focus = require("./focus.cjs");
4
4
  require("../variables/transitions.cjs");
@@ -1 +1 @@
1
- {"version":3,"file":"input.cjs","names":["focusOutlineControlled","isDisabled","isHovered","isNotDisabled","Spacing","Typography","Color","printMixins"],"sources":["../../mixins/input.ts"],"sourcesContent":["import { Color, Spacing, Typography } from '@persona/design-tokens';\nimport { css } from 'styled-components';\n\nimport { isDisabled, isHovered, isNotDisabled } from 'design-system/lib/pseudoClass';\nimport { focusOutlineControlled } from 'design-system/mixins/focus';\nimport { printMixins } from 'design-system/mixins/print';\nimport type ErrorProps from 'design-system/types/ErrorProps';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type InputSizes = 'md' | 'sm';\n\nexport interface InputMixinProps extends ErrorProps, PseudoClassProps {\n $size?: InputSizes;\n}\n\n/**\n * Provides input-like hover and focus outline effects. Can also be applied to\n * non-input elements (like divs) to give input-like styles.\n */\nconst inputMixin = css<InputMixinProps>`\n background: ${({ theme }) => theme.color.background.primary};\n color: ${({ theme }) => theme.color.text.primary};\n border-width: 1px;\n border-style: solid;\n border-color: ${({ theme }) => theme.color.border.input};\n box-sizing: border-box;\n border-radius: ${({ theme }) => theme.element.borderRadius};\n\n width: 100%;\n min-width: 0;\n\n ${focusOutlineControlled}\n\n text-decoration: none;\n transition-duration: ${TransitionDuration.Fast};\n transition-property: background-color, color, border-color, width, height;\n\n /* Some input-likes like <select/> reduce opacity when disabled */\n opacity: 1;\n\n &::placeholder {\n font-weight: ${({ theme }) => theme.text.paragraph.md.fontWeight};\n color: ${({ theme }) => theme.color.text.tertiary};\n }\n\n &${isDisabled} {\n background: ${({ theme }) => theme.color.background.disabled};\n border-color: ${({ theme }) => theme.color.border.disabled};\n color: ${({ theme }) => theme.color.text.disabled};\n ::placeholder {\n color: ${({ theme }) => theme.color.text.disabled};\n }\n }\n\n &${isHovered}${isNotDisabled} {\n border-color: ${({ theme }) => theme.color.border.inputHover};\n }\n\n ${({ $size }) => {\n switch ($size) {\n default:\n case 'md':\n return css`\n height: ${({ theme }) => theme.element.height.xs};\n padding-top: ${Spacing[2]};\n padding-right: ${Spacing[3]};\n padding-bottom: ${Spacing[2]};\n padding-left: ${Spacing[3]};\n ${Typography.TextMedium};\n `;\n case 'sm':\n return css`\n height: 24px;\n padding-top: ${Spacing[1]};\n padding-right: ${Spacing[2]};\n padding-bottom: ${Spacing[1]};\n padding-left: ${Spacing[2]};\n ${Typography.TextSmall};\n `;\n }\n }}\n\n ${({ theme, hasError, hasWarning }) =>\n hasError\n ? css`\n border-color: ${theme.color.variants.danger.default};\n\n &${isHovered}${isNotDisabled} {\n border-color: ${theme.color.variants.danger.default};\n }\n `\n : hasWarning\n ? css`\n border-color: ${Color.CoreOrange700};\n\n ${isHovered}${isNotDisabled} {\n border-color: ${Color.CoreOrange700};\n }\n `\n : css`\n border-color: ${theme.color.border.input};\n `}\n\n ${printMixins.hide}\n`;\n\nexport default inputMixin;\n"],"mappings":";;;;;;;;;;;;AAoBA,MAAM,aAAa,kBAAA,GAAoB;iBACtB,EAAE,YAAY,MAAM,MAAM,WAAW,QAAQ;YAClD,EAAE,YAAY,MAAM,MAAM,KAAK,QAAQ;;;mBAGhC,EAAE,YAAY,MAAM,MAAM,OAAO,MAAM;;oBAEtC,EAAE,YAAY,MAAM,QAAQ,aAAa;;;;;IAKzDA,qBAAAA,uBAAuB;;;iCAGsB;;;;;;;oBAO7B,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,WAAW;cACvD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;KAGjDC,wBAAAA,WAAW;mBACG,EAAE,YAAY,MAAM,MAAM,WAAW,SAAS;qBAC5C,EAAE,YAAY,MAAM,MAAM,OAAO,SAAS;cACjD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;gBAEtC,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;;KAInDC,wBAAAA,YAAYC,wBAAAA,cAAc;qBACV,EAAE,YAAY,MAAM,MAAM,OAAO,WAAW;;;KAG5D,EAAE,YAAY;AACf,SAAQ,OAAR;EACE;EACA,KAAK,KACH,QAAO,kBAAA,GAAG;qBACG,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;yBAClCC,uBAAAA,QAAQ,GAAG;2BACTA,uBAAAA,QAAQ,GAAG;4BACVA,uBAAAA,QAAQ,GAAG;0BACbA,uBAAAA,QAAQ,GAAG;YACzBC,uBAAAA,WAAW,WAAW;;EAE5B,KAAK,KACH,QAAO,kBAAA,GAAG;;yBAEOD,uBAAAA,QAAQ,GAAG;2BACTA,uBAAAA,QAAQ,GAAG;4BACVA,uBAAAA,QAAQ,GAAG;0BACbA,uBAAAA,QAAQ,GAAG;YACzBC,uBAAAA,WAAW,UAAU;;;EAG7B;;KAEC,EAAE,OAAO,UAAU,iBACpB,WACI,kBAAA,GAAG;0BACe,MAAM,MAAM,SAAS,OAAO,QAAQ;;aAEjDH,wBAAAA,YAAYC,wBAAAA,cAAc;4BACX,MAAM,MAAM,SAAS,OAAO,QAAQ;;YAGxD,aACE,kBAAA,GAAG;4BACeG,uBAAAA,MAAM,cAAc;;cAElCJ,wBAAAA,YAAYC,wBAAAA,cAAc;8BACVG,uBAAAA,MAAM,cAAc;;cAGxC,kBAAA,GAAG;4BACe,MAAM,MAAM,OAAO,MAAM;YACzC;;IAERC,2BAAAA,YAAY,KAAK"}
1
+ {"version":3,"file":"input.cjs","names":["focusOutlineControlled","isDisabled","isHovered","isNotDisabled","Spacing","Typography","Color","printMixins"],"sources":["../../mixins/input.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nimport { Color, Spacing, Typography } from '@persona/design-tokens';\nimport { isDisabled, isHovered, isNotDisabled } from 'design-system/lib/pseudoClass';\nimport { focusOutlineControlled } from 'design-system/mixins/focus';\nimport { printMixins } from 'design-system/mixins/print';\nimport type ErrorProps from 'design-system/types/ErrorProps';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type InputSizes = 'md' | 'sm';\n\nexport interface InputMixinProps extends ErrorProps, PseudoClassProps {\n $size?: InputSizes;\n}\n\n/**\n * Provides input-like hover and focus outline effects. Can also be applied to\n * non-input elements (like divs) to give input-like styles.\n */\nconst inputMixin = css<InputMixinProps>`\n background: ${({ theme }) => theme.color.background.primary};\n color: ${({ theme }) => theme.color.text.primary};\n border-width: 1px;\n border-style: solid;\n border-color: ${({ theme }) => theme.color.border.input};\n box-sizing: border-box;\n border-radius: ${({ theme }) => theme.element.borderRadius};\n\n width: 100%;\n min-width: 0;\n\n ${focusOutlineControlled}\n\n text-decoration: none;\n transition-duration: ${TransitionDuration.Fast};\n transition-property: background-color, color, border-color, width, height;\n\n /* Some input-likes like <select/> reduce opacity when disabled */\n opacity: 1;\n\n &::placeholder {\n font-weight: ${({ theme }) => theme.text.paragraph.md.fontWeight};\n color: ${({ theme }) => theme.color.text.tertiary};\n }\n\n &${isDisabled} {\n background: ${({ theme }) => theme.color.background.disabled};\n border-color: ${({ theme }) => theme.color.border.disabled};\n color: ${({ theme }) => theme.color.text.disabled};\n ::placeholder {\n color: ${({ theme }) => theme.color.text.disabled};\n }\n }\n\n &${isHovered}${isNotDisabled} {\n border-color: ${({ theme }) => theme.color.border.inputHover};\n }\n\n ${({ $size }) => {\n switch ($size) {\n default:\n case 'md':\n return css`\n height: ${({ theme }) => theme.element.height.xs};\n padding-top: ${Spacing[2]};\n padding-right: ${Spacing[3]};\n padding-bottom: ${Spacing[2]};\n padding-left: ${Spacing[3]};\n ${Typography.TextMedium};\n `;\n case 'sm':\n return css`\n height: 24px;\n padding-top: ${Spacing[1]};\n padding-right: ${Spacing[2]};\n padding-bottom: ${Spacing[1]};\n padding-left: ${Spacing[2]};\n ${Typography.TextSmall};\n `;\n }\n }}\n\n ${({ theme, hasError, hasWarning }) =>\n hasError\n ? css`\n border-color: ${theme.color.variants.danger.default};\n\n &${isHovered}${isNotDisabled} {\n border-color: ${theme.color.variants.danger.default};\n }\n `\n : hasWarning\n ? css`\n border-color: ${Color.CoreOrange700};\n\n ${isHovered}${isNotDisabled} {\n border-color: ${Color.CoreOrange700};\n }\n `\n : css`\n border-color: ${theme.color.border.input};\n `}\n\n ${printMixins.hide}\n`;\n\nexport default inputMixin;\n"],"mappings":";;;;;;;;;;;;AAoBA,MAAM,aAAa,kBAAA,GAAoB;iBACtB,EAAE,YAAY,MAAM,MAAM,WAAW,QAAQ;YAClD,EAAE,YAAY,MAAM,MAAM,KAAK,QAAQ;;;mBAGhC,EAAE,YAAY,MAAM,MAAM,OAAO,MAAM;;oBAEtC,EAAE,YAAY,MAAM,QAAQ,aAAa;;;;;IAKzDA,qBAAAA,uBAAuB;;;iCAGsB;;;;;;;oBAO7B,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,WAAW;cACvD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;KAGjDC,wBAAAA,WAAW;mBACG,EAAE,YAAY,MAAM,MAAM,WAAW,SAAS;qBAC5C,EAAE,YAAY,MAAM,MAAM,OAAO,SAAS;cACjD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;gBAEtC,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;;KAInDC,wBAAAA,YAAYC,wBAAAA,cAAc;qBACV,EAAE,YAAY,MAAM,MAAM,OAAO,WAAW;;;KAG5D,EAAE,YAAY;AACf,SAAQ,OAAR;EACE;EACA,KAAK,KACH,QAAO,kBAAA,GAAG;qBACG,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;yBAClCC,uBAAAA,QAAQ,GAAG;2BACTA,uBAAAA,QAAQ,GAAG;4BACVA,uBAAAA,QAAQ,GAAG;0BACbA,uBAAAA,QAAQ,GAAG;YACzBC,uBAAAA,WAAW,WAAW;;EAE5B,KAAK,KACH,QAAO,kBAAA,GAAG;;yBAEOD,uBAAAA,QAAQ,GAAG;2BACTA,uBAAAA,QAAQ,GAAG;4BACVA,uBAAAA,QAAQ,GAAG;0BACbA,uBAAAA,QAAQ,GAAG;YACzBC,uBAAAA,WAAW,UAAU;;;EAG7B;;KAEC,EAAE,OAAO,UAAU,iBACpB,WACI,kBAAA,GAAG;0BACe,MAAM,MAAM,SAAS,OAAO,QAAQ;;aAEjDH,wBAAAA,YAAYC,wBAAAA,cAAc;4BACX,MAAM,MAAM,SAAS,OAAO,QAAQ;;YAGxD,aACE,kBAAA,GAAG;4BACeG,uBAAAA,MAAM,cAAc;;cAElCJ,wBAAAA,YAAYC,wBAAAA,cAAc;8BACVG,uBAAAA,MAAM,cAAc;;cAGxC,kBAAA,GAAG;4BACe,MAAM,MAAM,OAAO,MAAM;YACzC;;IAERC,2BAAAA,YAAY,KAAK"}
@@ -1,2 +1,2 @@
1
- import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-Bm_anD8X.cjs";
1
+ import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-BkzqXwn7.cjs";
2
2
  export { InputMixinProps, InputSizes, inputMixin as default };
@@ -1,2 +1,2 @@
1
- import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-BCmP106-.mjs";
1
+ import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-DrG6mA0V.mjs";
2
2
  export { InputMixinProps, InputSizes, inputMixin as default };
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","names":[],"sources":["../../mixins/input.ts"],"sourcesContent":["import { Color, Spacing, Typography } from '@persona/design-tokens';\nimport { css } from 'styled-components';\n\nimport { isDisabled, isHovered, isNotDisabled } from 'design-system/lib/pseudoClass';\nimport { focusOutlineControlled } from 'design-system/mixins/focus';\nimport { printMixins } from 'design-system/mixins/print';\nimport type ErrorProps from 'design-system/types/ErrorProps';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type InputSizes = 'md' | 'sm';\n\nexport interface InputMixinProps extends ErrorProps, PseudoClassProps {\n $size?: InputSizes;\n}\n\n/**\n * Provides input-like hover and focus outline effects. Can also be applied to\n * non-input elements (like divs) to give input-like styles.\n */\nconst inputMixin = css<InputMixinProps>`\n background: ${({ theme }) => theme.color.background.primary};\n color: ${({ theme }) => theme.color.text.primary};\n border-width: 1px;\n border-style: solid;\n border-color: ${({ theme }) => theme.color.border.input};\n box-sizing: border-box;\n border-radius: ${({ theme }) => theme.element.borderRadius};\n\n width: 100%;\n min-width: 0;\n\n ${focusOutlineControlled}\n\n text-decoration: none;\n transition-duration: ${TransitionDuration.Fast};\n transition-property: background-color, color, border-color, width, height;\n\n /* Some input-likes like <select/> reduce opacity when disabled */\n opacity: 1;\n\n &::placeholder {\n font-weight: ${({ theme }) => theme.text.paragraph.md.fontWeight};\n color: ${({ theme }) => theme.color.text.tertiary};\n }\n\n &${isDisabled} {\n background: ${({ theme }) => theme.color.background.disabled};\n border-color: ${({ theme }) => theme.color.border.disabled};\n color: ${({ theme }) => theme.color.text.disabled};\n ::placeholder {\n color: ${({ theme }) => theme.color.text.disabled};\n }\n }\n\n &${isHovered}${isNotDisabled} {\n border-color: ${({ theme }) => theme.color.border.inputHover};\n }\n\n ${({ $size }) => {\n switch ($size) {\n default:\n case 'md':\n return css`\n height: ${({ theme }) => theme.element.height.xs};\n padding-top: ${Spacing[2]};\n padding-right: ${Spacing[3]};\n padding-bottom: ${Spacing[2]};\n padding-left: ${Spacing[3]};\n ${Typography.TextMedium};\n `;\n case 'sm':\n return css`\n height: 24px;\n padding-top: ${Spacing[1]};\n padding-right: ${Spacing[2]};\n padding-bottom: ${Spacing[1]};\n padding-left: ${Spacing[2]};\n ${Typography.TextSmall};\n `;\n }\n }}\n\n ${({ theme, hasError, hasWarning }) =>\n hasError\n ? css`\n border-color: ${theme.color.variants.danger.default};\n\n &${isHovered}${isNotDisabled} {\n border-color: ${theme.color.variants.danger.default};\n }\n `\n : hasWarning\n ? css`\n border-color: ${Color.CoreOrange700};\n\n ${isHovered}${isNotDisabled} {\n border-color: ${Color.CoreOrange700};\n }\n `\n : css`\n border-color: ${theme.color.border.input};\n `}\n\n ${printMixins.hide}\n`;\n\nexport default inputMixin;\n"],"mappings":";;;;;;;;;;;AAoBA,MAAM,aAAa,GAAoB;iBACtB,EAAE,YAAY,MAAM,MAAM,WAAW,QAAQ;YAClD,EAAE,YAAY,MAAM,MAAM,KAAK,QAAQ;;;mBAGhC,EAAE,YAAY,MAAM,MAAM,OAAO,MAAM;;oBAEtC,EAAE,YAAY,MAAM,QAAQ,aAAa;;;;;IAKzD,uBAAuB;;;iCAGsB;;;;;;;oBAO7B,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,WAAW;cACvD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;KAGjD,WAAW;mBACG,EAAE,YAAY,MAAM,MAAM,WAAW,SAAS;qBAC5C,EAAE,YAAY,MAAM,MAAM,OAAO,SAAS;cACjD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;gBAEtC,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;;KAInD,YAAY,cAAc;qBACV,EAAE,YAAY,MAAM,MAAM,OAAO,WAAW;;;KAG5D,EAAE,YAAY;AACf,SAAQ,OAAR;EACE;EACA,KAAK,KACH,QAAO,GAAG;qBACG,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;yBAClC,QAAQ,GAAG;2BACT,QAAQ,GAAG;4BACV,QAAQ,GAAG;0BACb,QAAQ,GAAG;YACzB,WAAW,WAAW;;EAE5B,KAAK,KACH,QAAO,GAAG;;yBAEO,QAAQ,GAAG;2BACT,QAAQ,GAAG;4BACV,QAAQ,GAAG;0BACb,QAAQ,GAAG;YACzB,WAAW,UAAU;;;EAG7B;;KAEC,EAAE,OAAO,UAAU,iBACpB,WACI,GAAG;0BACe,MAAM,MAAM,SAAS,OAAO,QAAQ;;aAEjD,YAAY,cAAc;4BACX,MAAM,MAAM,SAAS,OAAO,QAAQ;;YAGxD,aACE,GAAG;4BACe,MAAM,cAAc;;cAElC,YAAY,cAAc;8BACV,MAAM,cAAc;;cAGxC,GAAG;4BACe,MAAM,MAAM,OAAO,MAAM;YACzC;;IAER,YAAY,KAAK"}
1
+ {"version":3,"file":"input.mjs","names":[],"sources":["../../mixins/input.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nimport { Color, Spacing, Typography } from '@persona/design-tokens';\nimport { isDisabled, isHovered, isNotDisabled } from 'design-system/lib/pseudoClass';\nimport { focusOutlineControlled } from 'design-system/mixins/focus';\nimport { printMixins } from 'design-system/mixins/print';\nimport type ErrorProps from 'design-system/types/ErrorProps';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type InputSizes = 'md' | 'sm';\n\nexport interface InputMixinProps extends ErrorProps, PseudoClassProps {\n $size?: InputSizes;\n}\n\n/**\n * Provides input-like hover and focus outline effects. Can also be applied to\n * non-input elements (like divs) to give input-like styles.\n */\nconst inputMixin = css<InputMixinProps>`\n background: ${({ theme }) => theme.color.background.primary};\n color: ${({ theme }) => theme.color.text.primary};\n border-width: 1px;\n border-style: solid;\n border-color: ${({ theme }) => theme.color.border.input};\n box-sizing: border-box;\n border-radius: ${({ theme }) => theme.element.borderRadius};\n\n width: 100%;\n min-width: 0;\n\n ${focusOutlineControlled}\n\n text-decoration: none;\n transition-duration: ${TransitionDuration.Fast};\n transition-property: background-color, color, border-color, width, height;\n\n /* Some input-likes like <select/> reduce opacity when disabled */\n opacity: 1;\n\n &::placeholder {\n font-weight: ${({ theme }) => theme.text.paragraph.md.fontWeight};\n color: ${({ theme }) => theme.color.text.tertiary};\n }\n\n &${isDisabled} {\n background: ${({ theme }) => theme.color.background.disabled};\n border-color: ${({ theme }) => theme.color.border.disabled};\n color: ${({ theme }) => theme.color.text.disabled};\n ::placeholder {\n color: ${({ theme }) => theme.color.text.disabled};\n }\n }\n\n &${isHovered}${isNotDisabled} {\n border-color: ${({ theme }) => theme.color.border.inputHover};\n }\n\n ${({ $size }) => {\n switch ($size) {\n default:\n case 'md':\n return css`\n height: ${({ theme }) => theme.element.height.xs};\n padding-top: ${Spacing[2]};\n padding-right: ${Spacing[3]};\n padding-bottom: ${Spacing[2]};\n padding-left: ${Spacing[3]};\n ${Typography.TextMedium};\n `;\n case 'sm':\n return css`\n height: 24px;\n padding-top: ${Spacing[1]};\n padding-right: ${Spacing[2]};\n padding-bottom: ${Spacing[1]};\n padding-left: ${Spacing[2]};\n ${Typography.TextSmall};\n `;\n }\n }}\n\n ${({ theme, hasError, hasWarning }) =>\n hasError\n ? css`\n border-color: ${theme.color.variants.danger.default};\n\n &${isHovered}${isNotDisabled} {\n border-color: ${theme.color.variants.danger.default};\n }\n `\n : hasWarning\n ? css`\n border-color: ${Color.CoreOrange700};\n\n ${isHovered}${isNotDisabled} {\n border-color: ${Color.CoreOrange700};\n }\n `\n : css`\n border-color: ${theme.color.border.input};\n `}\n\n ${printMixins.hide}\n`;\n\nexport default inputMixin;\n"],"mappings":";;;;;;;;;;;AAoBA,MAAM,aAAa,GAAoB;iBACtB,EAAE,YAAY,MAAM,MAAM,WAAW,QAAQ;YAClD,EAAE,YAAY,MAAM,MAAM,KAAK,QAAQ;;;mBAGhC,EAAE,YAAY,MAAM,MAAM,OAAO,MAAM;;oBAEtC,EAAE,YAAY,MAAM,QAAQ,aAAa;;;;;IAKzD,uBAAuB;;;iCAGsB;;;;;;;oBAO7B,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,WAAW;cACvD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;KAGjD,WAAW;mBACG,EAAE,YAAY,MAAM,MAAM,WAAW,SAAS;qBAC5C,EAAE,YAAY,MAAM,MAAM,OAAO,SAAS;cACjD,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;gBAEtC,EAAE,YAAY,MAAM,MAAM,KAAK,SAAS;;;;KAInD,YAAY,cAAc;qBACV,EAAE,YAAY,MAAM,MAAM,OAAO,WAAW;;;KAG5D,EAAE,YAAY;AACf,SAAQ,OAAR;EACE;EACA,KAAK,KACH,QAAO,GAAG;qBACG,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;yBAClC,QAAQ,GAAG;2BACT,QAAQ,GAAG;4BACV,QAAQ,GAAG;0BACb,QAAQ,GAAG;YACzB,WAAW,WAAW;;EAE5B,KAAK,KACH,QAAO,GAAG;;yBAEO,QAAQ,GAAG;2BACT,QAAQ,GAAG;4BACV,QAAQ,GAAG;0BACb,QAAQ,GAAG;YACzB,WAAW,UAAU;;;EAG7B;;KAEC,EAAE,OAAO,UAAU,iBACpB,WACI,GAAG;0BACe,MAAM,MAAM,SAAS,OAAO,QAAQ;;aAEjD,YAAY,cAAc;4BACX,MAAM,MAAM,SAAS,OAAO,QAAQ;;YAGxD,aACE,GAAG;4BACe,MAAM,cAAc;;cAElC,YAAY,cAAc;8BACV,MAAM,cAAc;;cAGxC,GAAG;4BACe,MAAM,MAAM,OAAO,MAAM;YACzC;;IAER,YAAY,KAAK"}
@@ -1,4 +1,4 @@
1
- require("../chunk-CoPdw6nB.cjs");
1
+ require("../chunk-CKQMccvm.cjs");
2
2
  require("../variables/transitions.cjs");
3
3
  let _persona_design_tokens = require("@persona/design-tokens");
4
4
  let styled_components = require("styled-components");
@@ -1 +1 @@
1
- {"version":3,"file":"menuItem.cjs","names":["Color"],"sources":["../../mixins/menuItem.ts"],"sourcesContent":["import { Color } from '@persona/design-tokens';\nimport { css } from 'styled-components';\n\nimport type { Variant } from 'design-system/theme';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\ninterface MenuItemMixinProps extends PseudoClassProps {\n variant?: Variant;\n}\n\n/**\n * Adds styles for hovered and selected states. For use with dropdowns, menu\n * items, etc.\n *\n * The mixins are split by interaction state for more flexibility. We need to\n * implement each state differently when used with React Router's NavLink, for\n * example.\n *\n * Note that we override the palette for 'basic' to match the neutral usecase\n * shown in the mocks. There are never menu items that match our basic palette.\n *\n * Default: standard and disabled styles\n * Hover: hover and focus styles\n * Active: active styles\n */\nconst menuItemMixins = {\n default: css<MenuItemMixinProps>`\n cursor: pointer;\n color: ${({ theme, variant = 'basic' }) =>\n // default text color for these two should be neutral\n ['basic', 'primary'].includes(variant)\n ? theme.color.text.primary\n : theme.color.variants[variant].default};\n\n ${({ theme }) => css`\n background-color: ${theme.color.background.primary};\n border-radius: ${theme.element.borderRadius};\n `}\n\n ${({ theme, disabled }) =>\n disabled &&\n css`\n background-color: ${theme.color.background.primary};\n color: ${theme.color.text.disabled};\n cursor: default;\n\n svg * {\n stroke: ${theme.color.text.disabled};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n hover: css<MenuItemMixinProps>`\n transition-duration: ${TransitionDuration.Fast};\n color: ${({ theme, variant = 'basic' }) => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n }};\n\n background-color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic'\n ? theme.color.background.secondary\n : theme.color.variants[variant].highlightLight};\n\n ${({ theme, disabled, variant = 'basic' }) =>\n !disabled &&\n css`\n svg * {\n stroke: ${(() => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n })()};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n active: css<MenuItemMixinProps>`\n transition-duration: ${TransitionDuration.Fast};\n color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic' ? theme.color.text.inverse : theme.color.variants[variant].default};\n background-color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic'\n ? theme.color.primary.brand\n : theme.color.variants[variant].highlightLight};\n\n ${({ theme, disabled, variant = 'basic' }) =>\n !disabled &&\n css`\n svg * {\n stroke: ${(() => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n })()};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n};\n\nexport default menuItemMixins;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA0BA,MAAM,iBAAiB;CACrB,SAAS,kBAAA,GAAuB;;cAEpB,EAAE,OAAO,UAAU,cAE3B,CAAC,SAAS,UAAU,CAAC,SAAS,QAAQ,GAClC,MAAM,MAAM,KAAK,UACjB,MAAM,MAAM,SAAS,SAAS,QAAQ;;OAEzC,EAAE,YAAY,kBAAA,GAAG;0BACE,MAAM,MAAM,WAAW,QAAQ;uBAClC,MAAM,QAAQ,aAAa;MAC5C;;OAEC,EAAE,OAAO,eACV,YACA,kBAAA,GAAG;4BACmB,MAAM,MAAM,WAAW,QAAQ;iBAC1C,MAAM,MAAM,KAAK,SAAS;;;;oBAIvB,MAAM,MAAM,KAAK,SAAS;;;;;;;;;;;;QAYtC;;CAEN,OAAO,kBAAA,GAAuB;mCACmB;cACrC,EAAE,OAAO,UAAU,cAAc;AACzC,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;GACrC;;yBAEmB,EAAE,OAAO,UAAU,cACtC,YAAY,UACR,MAAM,MAAM,WAAW,YACvB,MAAM,MAAM,SAAS,SAAS,eAAe;;OAEhD,EAAE,OAAO,UAAU,UAAU,cAC9B,CAAC,YACD,kBAAA,GAAG;;2BAEkB;AACf,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;KACnC,CAAC;;;;;;;;;;;;QAYP;;CAEN,QAAQ,kBAAA,GAAuB;mCACkB;cACrC,EAAE,OAAO,UAAU,cAC3B,YAAY,UAAU,MAAM,MAAM,KAAK,UAAU,MAAM,MAAM,SAAS,SAAS,QAAQ;yBACpE,EAAE,OAAO,UAAU,cACtC,YAAY,UACR,MAAM,MAAM,QAAQ,QACpB,MAAM,MAAM,SAAS,SAAS,eAAe;;OAEhD,EAAE,OAAO,UAAU,UAAU,cAC9B,CAAC,YACD,kBAAA,GAAG;;2BAEkB;AACf,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;KACnC,CAAC;;;;;;;;;;;;QAYP;;CAEP"}
1
+ {"version":3,"file":"menuItem.cjs","names":["Color"],"sources":["../../mixins/menuItem.ts"],"sourcesContent":["import { css } from 'styled-components';\n\nimport { Color } from '@persona/design-tokens';\nimport type { Variant } from 'design-system/theme';\nimport type PseudoClassProps from 'design-system/types/PseudoClassProps';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\ninterface MenuItemMixinProps extends PseudoClassProps {\n variant?: Variant;\n}\n\n/**\n * Adds styles for hovered and selected states. For use with dropdowns, menu\n * items, etc.\n *\n * The mixins are split by interaction state for more flexibility. We need to\n * implement each state differently when used with React Router's NavLink, for\n * example.\n *\n * Note that we override the palette for 'basic' to match the neutral usecase\n * shown in the mocks. There are never menu items that match our basic palette.\n *\n * Default: standard and disabled styles\n * Hover: hover and focus styles\n * Active: active styles\n */\nconst menuItemMixins = {\n default: css<MenuItemMixinProps>`\n cursor: pointer;\n color: ${({ theme, variant = 'basic' }) =>\n // default text color for these two should be neutral\n ['basic', 'primary'].includes(variant)\n ? theme.color.text.primary\n : theme.color.variants[variant].default};\n\n ${({ theme }) => css`\n background-color: ${theme.color.background.primary};\n border-radius: ${theme.element.borderRadius};\n `}\n\n ${({ theme, disabled }) =>\n disabled &&\n css`\n background-color: ${theme.color.background.primary};\n color: ${theme.color.text.disabled};\n cursor: default;\n\n svg * {\n stroke: ${theme.color.text.disabled};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n hover: css<MenuItemMixinProps>`\n transition-duration: ${TransitionDuration.Fast};\n color: ${({ theme, variant = 'basic' }) => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n }};\n\n background-color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic'\n ? theme.color.background.secondary\n : theme.color.variants[variant].highlightLight};\n\n ${({ theme, disabled, variant = 'basic' }) =>\n !disabled &&\n css`\n svg * {\n stroke: ${(() => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n })()};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n active: css<MenuItemMixinProps>`\n transition-duration: ${TransitionDuration.Fast};\n color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic' ? theme.color.text.inverse : theme.color.variants[variant].default};\n background-color: ${({ theme, variant = 'basic' }) =>\n variant === 'basic'\n ? theme.color.primary.brand\n : theme.color.variants[variant].highlightLight};\n\n ${({ theme, disabled, variant = 'basic' }) =>\n !disabled &&\n css`\n svg * {\n stroke: ${(() => {\n if (variant === 'basic') {\n return theme.color.text.primary;\n }\n\n if (variant === 'danger') {\n return Color.CoreRed900;\n }\n\n return theme.color.variants[variant].default;\n })()};\n }\n\n svg.pds-icon {\n * {\n stroke: unset;\n }\n /* Support icons with stroke */\n *[stroke] {\n stroke: currentColor;\n }\n }\n `}\n `,\n};\n\nexport default menuItemMixins;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AA0BA,MAAM,iBAAiB;CACrB,SAAS,kBAAA,GAAuB;;cAEpB,EAAE,OAAO,UAAU,cAE3B,CAAC,SAAS,UAAU,CAAC,SAAS,QAAQ,GAClC,MAAM,MAAM,KAAK,UACjB,MAAM,MAAM,SAAS,SAAS,QAAQ;;OAEzC,EAAE,YAAY,kBAAA,GAAG;0BACE,MAAM,MAAM,WAAW,QAAQ;uBAClC,MAAM,QAAQ,aAAa;MAC5C;;OAEC,EAAE,OAAO,eACV,YACA,kBAAA,GAAG;4BACmB,MAAM,MAAM,WAAW,QAAQ;iBAC1C,MAAM,MAAM,KAAK,SAAS;;;;oBAIvB,MAAM,MAAM,KAAK,SAAS;;;;;;;;;;;;QAYtC;;CAEN,OAAO,kBAAA,GAAuB;mCACmB;cACrC,EAAE,OAAO,UAAU,cAAc;AACzC,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;GACrC;;yBAEmB,EAAE,OAAO,UAAU,cACtC,YAAY,UACR,MAAM,MAAM,WAAW,YACvB,MAAM,MAAM,SAAS,SAAS,eAAe;;OAEhD,EAAE,OAAO,UAAU,UAAU,cAC9B,CAAC,YACD,kBAAA,GAAG;;2BAEkB;AACf,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;KACnC,CAAC;;;;;;;;;;;;QAYP;;CAEN,QAAQ,kBAAA,GAAuB;mCACkB;cACrC,EAAE,OAAO,UAAU,cAC3B,YAAY,UAAU,MAAM,MAAM,KAAK,UAAU,MAAM,MAAM,SAAS,SAAS,QAAQ;yBACpE,EAAE,OAAO,UAAU,cACtC,YAAY,UACR,MAAM,MAAM,QAAQ,QACpB,MAAM,MAAM,SAAS,SAAS,eAAe;;OAEhD,EAAE,OAAO,UAAU,UAAU,cAC9B,CAAC,YACD,kBAAA,GAAG;;2BAEkB;AACf,MAAI,YAAY,QACd,QAAO,MAAM,MAAM,KAAK;AAG1B,MAAI,YAAY,SACd,QAAOA,uBAAAA,MAAM;AAGf,SAAO,MAAM,MAAM,SAAS,SAAS;KACnC,CAAC;;;;;;;;;;;;QAYP;;CAEP"}
@@ -1,5 +1,5 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-mZgO_iZJ.mjs";
2
- import { i as Variant } from "../theme-DGAqgnUa.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-ySXCGUEQ.mjs";
2
+ import { i as Variant } from "../theme-Bx2sn3Lt.mjs";
3
3
  import * as _$styled_components0 from "styled-components";
4
4
 
5
5
  //#region mixins/menuItem.d.ts