@persona/design-system 0.10.11 → 0.10.13

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 (375) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/dist/{Action-sLO73eKq.d.mts → Action-CHWYwpYR.d.mts} +2 -2
  3. package/dist/Action.d.mts +1 -1
  4. package/dist/AdvancedFilterRuleRow.d.mts +3 -0
  5. package/dist/AdvancedFilterRulesPopover.d.mts +4 -0
  6. package/dist/Attribute.d.mts +2 -2
  7. package/dist/{Badge-DZq6ByIU.mjs → Badge-B2AJMf3d.mjs} +2 -2
  8. package/dist/{Badge-DZq6ByIU.mjs.map → Badge-B2AJMf3d.mjs.map} +1 -1
  9. package/dist/{Breadcrumbs-DpsNZWF9.mjs → Breadcrumbs-DRs9eo1o.mjs} +8 -8
  10. package/dist/{Breadcrumbs-DpsNZWF9.mjs.map → Breadcrumbs-DRs9eo1o.mjs.map} +1 -1
  11. package/dist/{Button-C4a4BTjL.d.mts → Button-DjD8QxcY.d.mts} +2 -2
  12. package/dist/Button.d.mts +1 -1
  13. package/dist/CalendarBase.d.mts +1 -1
  14. package/dist/{Card-CPV4_mHk.d.mts → Card-DiUHtYg_.d.mts} +4 -4
  15. package/dist/Card.d.mts +1 -1
  16. package/dist/Card2.d.mts +1 -1
  17. package/dist/CardGrouping.d.mts +1 -1
  18. package/dist/{CardV2-DCoDfEvr.mjs → CardV2-DO-8COfu.mjs} +12 -12
  19. package/dist/{CardV2-DCoDfEvr.mjs.map → CardV2-DO-8COfu.mjs.map} +1 -1
  20. package/dist/{Checkbox-C3z7UUSC.mjs → Checkbox-BAh-wF_F.mjs} +5 -5
  21. package/dist/{Checkbox-C3z7UUSC.mjs.map → Checkbox-BAh-wF_F.mjs.map} +1 -1
  22. package/dist/{CheckboxGroupField-BT87OVOF.d.mts → CheckboxGroupField-BW_BcW3L.d.mts} +2 -2
  23. package/dist/CheckboxGroupField.d.mts +1 -1
  24. package/dist/{Combobox-aOJDTjzC.d.mts → Combobox-DgYwerwd.d.mts} +3 -3
  25. package/dist/{Combobox-BkK_tosd.mjs → Combobox-DmFQ5cAy.mjs} +92 -89
  26. package/dist/Combobox-DmFQ5cAy.mjs.map +1 -0
  27. package/dist/Combobox.d.mts +2 -2
  28. package/dist/{ComboboxBase-Brgv5nxk.d.mts → ComboboxBase-DoKiRjgS.d.mts} +6 -6
  29. package/dist/ComboboxBase.d.mts +1 -1
  30. package/dist/{ComboboxMultiSelect-DJyAv0Eg.d.mts → ComboboxMultiSelect-DsoIMJiZ.d.mts} +2 -2
  31. package/dist/ComboboxMultiSelect.d.mts +1 -1
  32. package/dist/{ComboboxSingleSelect-CP8-HLKl.d.mts → ComboboxSingleSelect-CKsqOAGB.d.mts} +3 -3
  33. package/dist/ComboboxSingleSelect.d.mts +1 -1
  34. package/dist/{CompactBar-B0LhjrYV.d.mts → CompactBar-tNtY2EhN.d.mts} +3 -3
  35. package/dist/CompactBar.d.mts +1 -1
  36. package/dist/{ConfigFormGroup-DAUqAhJW.mjs → ConfigFormGroup-BCTWCws5.mjs} +2 -2
  37. package/dist/{ConfigFormGroup-DAUqAhJW.mjs.map → ConfigFormGroup-BCTWCws5.mjs.map} +1 -1
  38. package/dist/{ControlBar-B3Jn8G0k.d.mts → ControlBar-CDb6b1_6.d.mts} +5 -3
  39. package/dist/ControlBar.d.mts +1 -1
  40. package/dist/{DataTable-DiwzhNMt.mjs → DataTable-DZ0B2Zm9.mjs} +159 -90
  41. package/dist/DataTable-DZ0B2Zm9.mjs.map +1 -0
  42. package/dist/{DataTable-CSl5Jn3E.d.mts → DataTable-on3vGhyi.d.mts} +32 -8
  43. package/dist/DataTable.d.mts +1 -1
  44. package/dist/{DatePicker-BK7ioKBm.mjs → DatePicker-CHVYVKB-.mjs} +375 -375
  45. package/dist/DatePicker-CHVYVKB-.mjs.map +1 -0
  46. package/dist/{DropdownButton-Dp-MZ5tA.mjs → DropdownButton-BxZ5hn0X.mjs} +3 -3
  47. package/dist/{DropdownButton-Dp-MZ5tA.mjs.map → DropdownButton-BxZ5hn0X.mjs.map} +1 -1
  48. package/dist/DropdownButton.d.mts +2 -2
  49. package/dist/{DropdownMenu-jJSHQaih.mjs → DropdownMenu-Ip75l4Th.mjs} +21 -4
  50. package/dist/DropdownMenu-Ip75l4Th.mjs.map +1 -0
  51. package/dist/{DropdownMenu-BnHPeHOm.d.mts → DropdownMenu-eVY-Yjpq.d.mts} +3 -3
  52. package/dist/DropdownMenu.d.mts +1 -1
  53. package/dist/{FilterBar-DDyk14sx.d.mts → FilterBar-CA4mDAXK.d.mts} +10 -2
  54. package/dist/FilterBar.d.mts +1 -1
  55. package/dist/{FloatingActionBar-BUgSKimy.d.mts → FloatingActionBar-CfgjHs81.d.mts} +5 -1
  56. package/dist/FloatingActionBar.d.mts +1 -1
  57. package/dist/{FloatingToolbar-rfKurDs8.mjs → FloatingToolbar-BA8Fqmrz.mjs} +4 -4
  58. package/dist/{FloatingToolbar-rfKurDs8.mjs.map → FloatingToolbar-BA8Fqmrz.mjs.map} +1 -1
  59. package/dist/{FormControl-DPYbLcBK.d.mts → FormControl-BQe3GRhi.d.mts} +2 -2
  60. package/dist/{FormControl--pbTH3bY.mjs → FormControl-BoKGiWdQ.mjs} +3 -3
  61. package/dist/{FormControl--pbTH3bY.mjs.map → FormControl-BoKGiWdQ.mjs.map} +1 -1
  62. package/dist/FormControl.d.mts +1 -1
  63. package/dist/FormControlLabel.d.mts +2 -2
  64. package/dist/{FormField-CYNGm2bJ.d.mts → FormField-BW5uMzId.d.mts} +2 -2
  65. package/dist/{FormField-DMxjftFw.mjs → FormField-BfVrDOY0.mjs} +13 -13
  66. package/dist/{FormField-DMxjftFw.mjs.map → FormField-BfVrDOY0.mjs.map} +1 -1
  67. package/dist/FormField.d.mts +1 -1
  68. package/dist/{Grid-DVC0SSEZ.mjs → Grid-CYpOqTUu.mjs} +2 -2
  69. package/dist/{Grid-DVC0SSEZ.mjs.map → Grid-CYpOqTUu.mjs.map} +1 -1
  70. package/dist/{Header-DaaUprCL.d.mts → Header-CV0Lcf0C.d.mts} +2 -2
  71. package/dist/Header.d.mts +1 -1
  72. package/dist/{HelperTooltip-C5BDdJSI.d.mts → HelperTooltip-BNM3pTM-.d.mts} +2 -2
  73. package/dist/HelperTooltip.d.mts +1 -1
  74. package/dist/HighlightedText.d.mts +1 -1
  75. package/dist/{HoverCopyableField-B2-xlwUt.mjs → HoverCopyableField-CJ_p3llp.mjs} +5 -5
  76. package/dist/{HoverCopyableField-B2-xlwUt.mjs.map → HoverCopyableField-CJ_p3llp.mjs.map} +1 -1
  77. package/dist/{IconButton-kSjnfhWt.mjs → IconButton-Bj1fry_K.mjs} +8 -8
  78. package/dist/{IconButton-kSjnfhWt.mjs.map → IconButton-Bj1fry_K.mjs.map} +1 -1
  79. package/dist/{IconButton-7k-wjvH3.d.mts → IconButton-C_ReZm8v.d.mts} +2 -2
  80. package/dist/IconButton.d.mts +1 -1
  81. package/dist/ImageTile.d.mts +1 -1
  82. package/dist/IndexTableLayout.d.mts +12 -4
  83. package/dist/InlineCombobox.d.mts +1 -1
  84. package/dist/InlineInput.d.mts +1 -1
  85. package/dist/{Input-CwvrBsiS.d.mts → Input-DH-5dKor.d.mts} +3 -3
  86. package/dist/{Input-TRmTBEav.mjs → Input-DcbzPaax.mjs} +5 -5
  87. package/dist/{Input-TRmTBEav.mjs.map → Input-DcbzPaax.mjs.map} +1 -1
  88. package/dist/Input.d.mts +1 -1
  89. package/dist/{Link-XvzUN8sY.mjs → Link-Df3zJrj2.mjs} +4 -4
  90. package/dist/{Link-XvzUN8sY.mjs.map → Link-Df3zJrj2.mjs.map} +1 -1
  91. package/dist/{ListBox-DahM1PgU.mjs → ListBox-BRgjgUSp.mjs} +12 -12
  92. package/dist/{ListBox-DahM1PgU.mjs.map → ListBox-BRgjgUSp.mjs.map} +1 -1
  93. package/dist/{ListBox-BePQBYR7.d.mts → ListBox-Bgug8YZF.d.mts} +3 -3
  94. package/dist/ListBox.d.mts +1 -1
  95. package/dist/{ListBoxField-lj7JN1BX.d.mts → ListBoxField-Cc1sX2bo.d.mts} +4 -4
  96. package/dist/ListBoxField.d.mts +1 -1
  97. package/dist/{LoadingShimmer-CpfKTSUs.mjs → LoadingShimmer-BVVdBeN-.mjs} +18 -21
  98. package/dist/LoadingShimmer-BVVdBeN-.mjs.map +1 -0
  99. package/dist/LoadingShimmer.d.mts +1 -1
  100. package/dist/{LogicRow-Do7t7Suf.d.mts → LogicRow-B1_35ZJT.d.mts} +2 -2
  101. package/dist/LogicRow.d.mts +1 -1
  102. package/dist/MaskedInput.d.mts +2 -2
  103. package/dist/MatchHighlight.d.mts +1 -1
  104. package/dist/{Menu-BvMzSH2I.mjs → Menu-BVn1jh46.mjs} +5 -5
  105. package/dist/{Menu-BvMzSH2I.mjs.map → Menu-BVn1jh46.mjs.map} +1 -1
  106. package/dist/{Menu-Ca5ftvo6.d.mts → Menu-keVl-eKm.d.mts} +4 -4
  107. package/dist/Menu.d.mts +1 -1
  108. package/dist/{MiddleTruncatedText--jzGTD00.mjs → MiddleTruncatedText-DicQsLDG.mjs} +2 -2
  109. package/dist/{MiddleTruncatedText--jzGTD00.mjs.map → MiddleTruncatedText-DicQsLDG.mjs.map} +1 -1
  110. package/dist/{Modal-BPfFyzkw.d.mts → Modal-CujB7DuB.d.mts} +3 -3
  111. package/dist/{Modal-B6X5AgWj.mjs → Modal-SnCo7ecm.mjs} +8 -7
  112. package/dist/Modal-SnCo7ecm.mjs.map +1 -0
  113. package/dist/Modal.d.mts +1 -1
  114. package/dist/{PageHeader-bhQTjuZF.mjs → PageHeader-6KvtGED-.mjs} +2 -2
  115. package/dist/{PageHeader-bhQTjuZF.mjs.map → PageHeader-6KvtGED-.mjs.map} +1 -1
  116. package/dist/{PageHeader-BeBmYmUX.d.mts → PageHeader-UPiqJpIF.d.mts} +2 -2
  117. package/dist/PageHeader.d.mts +1 -1
  118. package/dist/{PageLayout-BXM_pyrU.d.mts → PageLayout-BdVM37bV.d.mts} +2 -2
  119. package/dist/{PageLayout-DgEGcZgB.mjs → PageLayout-CPiVnS_r.mjs} +5 -3
  120. package/dist/PageLayout-CPiVnS_r.mjs.map +1 -0
  121. package/dist/PageLayout.d.mts +1 -1
  122. package/dist/{PageSelector-C14ABZVL.d.mts → PageSelector-B5CcAzss.d.mts} +2 -2
  123. package/dist/PageSelector.d.mts +1 -1
  124. package/dist/{Pagination-DE8wT55m.mjs → Pagination-CqFvnlXc.mjs} +5 -5
  125. package/dist/{Pagination-DE8wT55m.mjs.map → Pagination-CqFvnlXc.mjs.map} +1 -1
  126. package/dist/{Pii-C42ZY88Y.mjs → Pii-BYPkrBuT.mjs} +2 -2
  127. package/dist/{Pii-C42ZY88Y.mjs.map → Pii-BYPkrBuT.mjs.map} +1 -1
  128. package/dist/{Popover-DuFjaSoq.mjs → Popover-DP9DXReH.mjs} +48 -20
  129. package/dist/Popover-DP9DXReH.mjs.map +1 -0
  130. package/dist/Popover.d.mts +1 -1
  131. package/dist/ProgressBar.d.mts +1 -1
  132. package/dist/{ProgressIndicator-hy1P-RG1.mjs → ProgressIndicator-zt3ndT9U.mjs} +3 -3
  133. package/dist/{ProgressIndicator-hy1P-RG1.mjs.map → ProgressIndicator-zt3ndT9U.mjs.map} +1 -1
  134. package/dist/{Radio-B4TBAho6.mjs → Radio-B1H_S-Qj.mjs} +4 -4
  135. package/dist/{Radio-B4TBAho6.mjs.map → Radio-B1H_S-Qj.mjs.map} +1 -1
  136. package/dist/{RadioGroup-Bf24GKOb.mjs → RadioGroup-7hdcVhsp.mjs} +3 -3
  137. package/dist/{RadioGroup-Bf24GKOb.mjs.map → RadioGroup-7hdcVhsp.mjs.map} +1 -1
  138. package/dist/RichTextEditor.d.mts +1 -1
  139. package/dist/SectionHeading.d.mts +1 -1
  140. package/dist/{SegmentedControl-BpR7sUWO.mjs → SegmentedControl-BNOJ1FYQ.mjs} +3 -3
  141. package/dist/{SegmentedControl-BpR7sUWO.mjs.map → SegmentedControl-BNOJ1FYQ.mjs.map} +1 -1
  142. package/dist/{Select-DYdn73Nh.d.mts → Select-CiofH5-f.d.mts} +2 -2
  143. package/dist/{Select-RdTT2KoH.mjs → Select-DbWEgH5c.mjs} +9 -9
  144. package/dist/{Select-RdTT2KoH.mjs.map → Select-DbWEgH5c.mjs.map} +1 -1
  145. package/dist/Select.d.mts +1 -1
  146. package/dist/SmartTextInput.d.mts +1 -1
  147. package/dist/SmartTextInputField.d.mts +2 -2
  148. package/dist/SmartTextInputFunctionDialog.d.mts +1 -1
  149. package/dist/SmartTextInputListbox.d.mts +8 -3
  150. package/dist/SmartTextInputPopover.d.mts +1 -1
  151. package/dist/{Spinner-vcApnJzv.mjs → Spinner-k9ZiOdTr.mjs} +2 -2
  152. package/dist/{Spinner-vcApnJzv.mjs.map → Spinner-k9ZiOdTr.mjs.map} +1 -1
  153. package/dist/{Stack-B6MrjJeW.d.mts → Stack-CODxfzhl.d.mts} +2 -2
  154. package/dist/Stack.d.mts +1 -1
  155. package/dist/{StatusIndicator-lwt35J6B.mjs → StatusIndicator-CzRaEFSz.mjs} +3 -3
  156. package/dist/{StatusIndicator-lwt35J6B.mjs.map → StatusIndicator-CzRaEFSz.mjs.map} +1 -1
  157. package/dist/{Sticker-jfOM4Yi6.mjs → Sticker-4VdGEFAu.mjs} +5 -5
  158. package/dist/{Sticker-jfOM4Yi6.mjs.map → Sticker-4VdGEFAu.mjs.map} +1 -1
  159. package/dist/{Sticker-C7Wv3Obx.d.mts → Sticker-CLvRB8V5.d.mts} +4 -4
  160. package/dist/Sticker.d.mts +1 -1
  161. package/dist/Tab.d.mts +2 -2
  162. package/dist/{TabBar-DwHgbIQ6.mjs → TabBar-d4sdknti.mjs} +6 -6
  163. package/dist/{TabBar-DwHgbIQ6.mjs.map → TabBar-d4sdknti.mjs.map} +1 -1
  164. package/dist/{Table-SMJAWqoe.mjs → Table-9mNn8Q-d.mjs} +10 -10
  165. package/dist/{Table-SMJAWqoe.mjs.map → Table-9mNn8Q-d.mjs.map} +1 -1
  166. package/dist/{TableBox-DS8mpN3-.mjs → TableBox-RxpwflEb.mjs} +14 -14
  167. package/dist/{TableBox-DS8mpN3-.mjs.map → TableBox-RxpwflEb.mjs.map} +1 -1
  168. package/dist/TableBox.d.mts +1 -1
  169. package/dist/{TableBoxCell-Bo5xYEmR.d.mts → TableBoxCell-C65YFYqj.d.mts} +6 -6
  170. package/dist/TableBoxCell.d.mts +1 -1
  171. package/dist/{TableBoxField-CdgjSGLK.d.mts → TableBoxField-CHpClgsE.d.mts} +5 -5
  172. package/dist/TableBoxField.d.mts +1 -1
  173. package/dist/{TableBoxRow-DuWS2iRC.d.mts → TableBoxRow-CK-b79uD.d.mts} +2 -2
  174. package/dist/TableBoxRow.d.mts +1 -1
  175. package/dist/{TableBoxRowActions-zW74DkXt.d.mts → TableBoxRowActions-CRaabjaY.d.mts} +2 -2
  176. package/dist/TableBoxRowActions.d.mts +1 -1
  177. package/dist/{TableCell-uv_jqT5e.d.mts → TableCell-CQsF7t4e.d.mts} +2 -2
  178. package/dist/TableCell.d.mts +1 -1
  179. package/dist/{TableControls-CX7BvgD2.mjs → TableControls-DM4RddQ_.mjs} +77 -36
  180. package/dist/TableControls-DM4RddQ_.mjs.map +1 -0
  181. package/dist/{TableControls-9vz-HfDu.d.mts → TableControls-v1NmlFTW.d.mts} +5 -5
  182. package/dist/TableControls.d.mts +1 -1
  183. package/dist/{TableControlsContext-D0Hn3rwL.d.mts → TableControlsContext-DHYICXxy.d.mts} +2 -2
  184. package/dist/TableControlsContext.d.mts +1 -1
  185. package/dist/{TableViewConfigurationDropdown-CZcLH8uR.d.mts → TableViewConfigurationDropdown-1nT8wneI.d.mts} +2 -2
  186. package/dist/TableViewConfigurationDropdown.d.mts +1 -1
  187. package/dist/{TechnicalSticker-DrN45Vut.mjs → TechnicalSticker-DtV7Gawf.mjs} +7 -7
  188. package/dist/{TechnicalSticker-DrN45Vut.mjs.map → TechnicalSticker-DtV7Gawf.mjs.map} +1 -1
  189. package/dist/{Text-CdHeSHCc.d.mts → Text-CvaqognH.d.mts} +2 -2
  190. package/dist/Text.d.mts +1 -1
  191. package/dist/{TextUnderlineTooltip-By1VVsSs.d.mts → TextUnderlineTooltip-Bd5e8KH3.d.mts} +3 -3
  192. package/dist/TextUnderlineTooltip.d.mts +1 -1
  193. package/dist/Tile.d.mts +1 -1
  194. package/dist/{Toggle-DjmkjJlw.mjs → Toggle-CzHoIR-n.mjs} +6 -6
  195. package/dist/{Toggle-DjmkjJlw.mjs.map → Toggle-CzHoIR-n.mjs.map} +1 -1
  196. package/dist/{Tooltip-C2VB8I6y.mjs → Tooltip-CVBxc1yf.mjs} +4 -4
  197. package/dist/{Tooltip-C2VB8I6y.mjs.map → Tooltip-CVBxc1yf.mjs.map} +1 -1
  198. package/dist/{Tooltip-OxVvOfn8.d.mts → Tooltip-Ddy2Jq0K.d.mts} +3 -3
  199. package/dist/Tooltip.d.mts +1 -1
  200. package/dist/{TruncatedText-Dqj94BFK.d.mts → TruncatedText-sr9Fhm3N.d.mts} +2 -2
  201. package/dist/WizardModal.d.mts +1 -1
  202. package/dist/{clientFilterUtils-CMLuN8kK.d.mts → clientFilterUtils-CaF2QZBy.d.mts} +2 -2
  203. package/dist/clientFilterUtils.d.mts +1 -1
  204. package/dist/components/Accordion/index.mjs +5 -5
  205. package/dist/components/Attribute/index.mjs +6 -6
  206. package/dist/components/Badge/index.mjs +1 -1
  207. package/dist/components/Banner/index.mjs +3 -3
  208. package/dist/components/BottomPanel/index.mjs +7 -7
  209. package/dist/components/Breadcrumbs/index.mjs +1 -1
  210. package/dist/components/Button/index.d.mts +2 -2
  211. package/dist/components/Button/index.mjs +1 -1
  212. package/dist/components/ButtonGroup/index.mjs +2 -2
  213. package/dist/components/Card/index.d.mts +2 -2
  214. package/dist/components/CardV2/index.d.mts +1 -1
  215. package/dist/components/CardV2/index.mjs +1 -1
  216. package/dist/components/Checkbox/index.mjs +1 -1
  217. package/dist/components/CodeHighlight/index.mjs +4 -4
  218. package/dist/components/Combobox/index.d.mts +4 -4
  219. package/dist/components/Combobox/index.mjs +1 -1
  220. package/dist/components/ConfigFormGroup/index.mjs +1 -1
  221. package/dist/components/DataTable/TableControls/index.d.mts +9 -9
  222. package/dist/components/DataTable/TableControls/index.mjs +1 -1
  223. package/dist/components/DataTable/index.d.mts +6 -6
  224. package/dist/components/DataTable/index.mjs +1 -1
  225. package/dist/components/DataTable/types.d.mts +1 -1
  226. package/dist/components/DatePicker/index.mjs +1 -1
  227. package/dist/components/DropdownButton/index.mjs +1 -1
  228. package/dist/components/DropdownMenu/index.d.mts +1 -1
  229. package/dist/components/DropdownMenu/index.mjs +1 -1
  230. package/dist/components/FloatingPanel/index.mjs +8 -8
  231. package/dist/components/FloatingToolbar/index.mjs +1 -1
  232. package/dist/components/FormControl/index.d.mts +1 -1
  233. package/dist/components/FormControl/index.mjs +1 -1
  234. package/dist/components/FormField/index.d.mts +5 -5
  235. package/dist/components/FormField/index.mjs +1 -1
  236. package/dist/components/Grid/index.mjs +1 -1
  237. package/dist/components/HoverCopyableField/index.mjs +1 -1
  238. package/dist/components/ImageTile/index.mjs +8 -8
  239. package/dist/components/Input/index.d.mts +1 -1
  240. package/dist/components/Input/index.mjs +1 -1
  241. package/dist/components/Link/index.mjs +1 -1
  242. package/dist/components/ListBox/index.d.mts +3 -3
  243. package/dist/components/ListBox/index.mjs +1 -1
  244. package/dist/components/LoadingShimmer/index.mjs +1 -1
  245. package/dist/components/MaskedInput/index.mjs +1 -1
  246. package/dist/components/Menu/index.d.mts +1 -1
  247. package/dist/components/Menu/index.mjs +1 -1
  248. package/dist/components/Modal/index.d.mts +1 -1
  249. package/dist/components/Modal/index.mjs +1 -1
  250. package/dist/components/PageHeader/index.d.mts +1 -1
  251. package/dist/components/PageHeader/index.mjs +1 -1
  252. package/dist/components/Pagination/index.d.mts +1 -1
  253. package/dist/components/Pagination/index.mjs +1 -1
  254. package/dist/components/Pii/index.mjs +1 -1
  255. package/dist/components/Popover/index.mjs +1 -1
  256. package/dist/components/ProgressBar/index.mjs +2 -2
  257. package/dist/components/ProgressIndicator/index.mjs +1 -1
  258. package/dist/components/Radio/index.mjs +1 -1
  259. package/dist/components/RadioGroup/index.mjs +1 -1
  260. package/dist/components/RichTextEditor/index.mjs +9 -9
  261. package/dist/components/RightPanel/index.mjs +4 -4
  262. package/dist/components/SegmentedControl/index.mjs +1 -1
  263. package/dist/components/Select/index.d.mts +1 -1
  264. package/dist/components/Select/index.mjs +1 -1
  265. package/dist/components/SelectionCard/index.mjs +5 -5
  266. package/dist/components/Slider/index.mjs +4 -4
  267. package/dist/components/SmartTextInput/index.mjs +112 -118
  268. package/dist/components/SmartTextInput/index.mjs.map +1 -1
  269. package/dist/{safe-parse.d.mts → components/SmartTextInput/parser/safe-parse.d.mts} +1 -1
  270. package/dist/components/SmartTextInput/parser/safe-parse.mjs +30 -0
  271. package/dist/components/SmartTextInput/parser/safe-parse.mjs.map +1 -0
  272. package/dist/{tree.d.mts → components/SmartTextInput/parser/tree.d.mts} +1 -1
  273. package/dist/components/SmartTextInput/parser/tree.mjs +42 -0
  274. package/dist/components/SmartTextInput/parser/tree.mjs.map +1 -0
  275. package/dist/components/Spinner/index.mjs +1 -1
  276. package/dist/components/Stack/index.d.mts +1 -1
  277. package/dist/components/StatusIndicator/index.mjs +1 -1
  278. package/dist/components/Sticker/index.d.mts +1 -1
  279. package/dist/components/Sticker/index.mjs +1 -1
  280. package/dist/components/SwatchPicker/index.mjs +1 -1
  281. package/dist/components/TabBar/index.mjs +1 -1
  282. package/dist/components/Table/index.d.mts +1 -1
  283. package/dist/components/Table/index.mjs +1 -1
  284. package/dist/components/TableBox/index.d.mts +1 -1
  285. package/dist/components/TableBox/index.mjs +1 -1
  286. package/dist/components/TechnicalSticker/index.mjs +1 -1
  287. package/dist/components/Text/index.d.mts +1 -1
  288. package/dist/components/Tile/index.mjs +2 -2
  289. package/dist/components/Toast/index.mjs +4 -4
  290. package/dist/components/Toggle/index.mjs +1 -1
  291. package/dist/components/Tooltip/index.d.mts +3 -3
  292. package/dist/components/Tooltip/index.mjs +1 -1
  293. package/dist/components/VersionHistory/index.mjs +7 -7
  294. package/dist/fieldPickerOptions.d.mts +1 -1
  295. package/dist/{filters-By_TYKAZ.d.mts → filters-CShP0Jag.d.mts} +3 -3
  296. package/dist/filters.d.mts +1 -1
  297. package/dist/{helpers-BIHsqdyX.d.mts → helpers-Bbi1LyMW.d.mts} +5 -3
  298. package/dist/helpers.d.mts +1 -1
  299. package/dist/{index-CZJp4Af6.d.mts → index-3-eDlpcj.d.mts} +3 -3
  300. package/dist/{index-BozzRwby.d.mts → index-DTM_t7OG.d.mts} +2 -2
  301. package/dist/index2.d.mts +1 -1
  302. package/dist/index4.d.mts +2 -2
  303. package/dist/index6.d.mts +2 -2
  304. package/dist/{inputFields-BqO2H-Kj.d.mts → inputFields-Dobwb4kT.d.mts} +6 -6
  305. package/dist/inputFields.d.mts +1 -1
  306. package/dist/lib/MiddleTruncatedText.mjs +1 -1
  307. package/dist/lib/PDSProvider.d.mts +2 -1
  308. package/dist/lib/PDSProvider.mjs +8 -3
  309. package/dist/lib/PDSProvider.mjs.map +1 -1
  310. package/dist/lib/TruncatedText.d.mts +1 -1
  311. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  312. package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
  313. package/dist/lib/colorMode.d.mts +19 -8
  314. package/dist/lib/colorMode.mjs +47 -13
  315. package/dist/lib/colorMode.mjs.map +1 -1
  316. package/dist/lib/schemaOptions.mjs +1 -1
  317. package/dist/lib/schemaOptions.mjs.map +1 -1
  318. package/dist/lib/useChain.d.mts +1 -1
  319. package/dist/lib/useCloseFocus.d.mts +45 -0
  320. package/dist/lib/useCloseFocus.mjs +123 -0
  321. package/dist/lib/useCloseFocus.mjs.map +1 -0
  322. package/dist/mixins/focus.mjs +1 -1
  323. package/dist/mixins/hoverable.mjs +1 -1
  324. package/dist/mixins/input.mjs +2 -2
  325. package/dist/mixins/motion.d.mts +6 -2
  326. package/dist/mixins/motion.mjs +25 -3
  327. package/dist/mixins/motion.mjs.map +1 -1
  328. package/dist/patterns/CardGrouping/index.mjs +8 -8
  329. package/dist/patterns/IndexTableLayout/index.mjs +23 -16
  330. package/dist/patterns/IndexTableLayout/index.mjs.map +1 -1
  331. package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
  332. package/dist/patterns/LayoutLoadingSpinner/index.mjs +1 -1
  333. package/dist/patterns/PageLayout/index.d.mts +1 -1
  334. package/dist/patterns/PageLayout/index.mjs +1 -1
  335. package/dist/patterns/WizardModal/index.mjs +4 -4
  336. package/dist/tone.d.mts +1 -1
  337. package/dist/{types-C_CncajO.d.mts → types-BTaKBrxG.d.mts} +2 -2
  338. package/dist/{types-D5txFacG.d.mts → types-CUnL8JJj.d.mts} +7 -5
  339. package/dist/types5.d.mts +1 -1
  340. package/dist/{useChain-x9fd9Fyq.d.mts → useChain-B--KAtdN.d.mts} +2 -2
  341. package/dist/useChainAtCursor.d.mts +1 -1
  342. package/dist/useColumnConfiguration.d.mts +2 -2
  343. package/dist/useComboboxFooterAction.d.mts +1 -1
  344. package/dist/{useTableColumns-BEKJNrb1.d.mts → useTableColumns-BuxN7Usm.d.mts} +17 -2
  345. package/dist/useTableColumns.d.mts +1 -1
  346. package/dist/useTruncation.d.mts +1 -1
  347. package/dist/utils4.d.mts +1 -1
  348. package/dist/value-labels.d.mts +12 -0
  349. package/dist/withDisabledReason.d.mts +19 -0
  350. package/llms.txt +5 -4
  351. package/package.json +10 -12
  352. package/skills/ui-authoring/COMPONENTS.md +1 -2
  353. package/skills/ui-authoring/PATTERNS.md +6 -66
  354. package/skills/ui-authoring/STANDARD.md +11 -1
  355. package/skills/ui-authoring/TOKENS.md +14 -25
  356. package/dist/ChartFrame.d.mts +0 -61
  357. package/dist/ChartLegend.d.mts +0 -60
  358. package/dist/ChartPopover.d.mts +0 -155
  359. package/dist/Combobox-BkK_tosd.mjs.map +0 -1
  360. package/dist/DataTable-DiwzhNMt.mjs.map +0 -1
  361. package/dist/DatePicker-BK7ioKBm.mjs.map +0 -1
  362. package/dist/DropdownMenu-jJSHQaih.mjs.map +0 -1
  363. package/dist/LoadingShimmer-CpfKTSUs.mjs.map +0 -1
  364. package/dist/Modal-B6X5AgWj.mjs.map +0 -1
  365. package/dist/PageLayout-DgEGcZgB.mjs.map +0 -1
  366. package/dist/Popover-DuFjaSoq.mjs.map +0 -1
  367. package/dist/TableControls-CX7BvgD2.mjs.map +0 -1
  368. package/dist/chartColors.d.mts +0 -92
  369. package/dist/chartFrameLayout.d.mts +0 -46
  370. package/dist/components/Chart/index.d.mts +0 -9
  371. package/dist/components/Chart/index.mjs +0 -680
  372. package/dist/components/Chart/index.mjs.map +0 -1
  373. package/dist/useChartColors.d.mts +0 -30
  374. package/dist/useChartSeriesVisibility.d.mts +0 -22
  375. package/dist/useChartStyles.d.mts +0 -108
@@ -1,11 +1,11 @@
1
- import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-Brgv5nxk.mjs";
2
- import { a as TableCellProps, i as TableCell } from "./TableCell-uv_jqT5e.mjs";
3
- import { r as TableBoxRowProps } from "./TableBoxRow-DuWS2iRC.mjs";
1
+ import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-DoKiRjgS.mjs";
2
+ import { a as TableCellProps, i as TableCell } from "./TableCell-CQsF7t4e.mjs";
3
+ import { r as TableBoxRowProps } from "./TableBoxRow-CK-b79uD.mjs";
4
4
  import { n as ReorderConfig, t as DragDirection } from "./useTableBoxDragAndDrop-MwbXWWDQ.mjs";
5
- import { t as RowAction } from "./TableBoxRowActions-zW74DkXt.mjs";
6
- import * as _$styled_components0 from "styled-components";
5
+ import { t as RowAction } from "./TableBoxRowActions-CRaabjaY.mjs";
7
6
  import * as _$react from "react";
8
7
  import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
8
+ import * as _$styled_components0 from "styled-components";
9
9
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
10
10
 
11
11
  //#region src/components/TableBox/TableBox.d.ts
@@ -273,4 +273,4 @@ declare const TableBoxCell: ({
273
273
  }: TableBoxCellProps) => _$react_jsx_runtime0.JSX.Element;
274
274
  //#endregion
275
275
  export { TableBox as a, PinnedActionsCell as i, TableBoxCellProps as n, TableBoxContext as o, InlineEditConfig as r, TableBoxProps as s, TableBoxCell as t };
276
- //# sourceMappingURL=TableBoxCell-Bo5xYEmR.d.mts.map
276
+ //# sourceMappingURL=TableBoxCell-C65YFYqj.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-Bo5xYEmR.mjs";
1
+ import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-C65YFYqj.mjs";
2
2
  export { TableBoxCellProps, TableBoxCell as default };
@@ -1,7 +1,7 @@
1
- import { l as MenuItemProps } from "./Menu-Ca5ftvo6.mjs";
2
- import { o as ImplementsFormField } from "./inputFields-BqO2H-Kj.mjs";
3
- import { r as TableBoxRowProps } from "./TableBoxRow-DuWS2iRC.mjs";
4
- import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-Bo5xYEmR.mjs";
1
+ import { l as MenuItemProps } from "./Menu-keVl-eKm.mjs";
2
+ import { o as ImplementsFormField } from "./inputFields-Dobwb4kT.mjs";
3
+ import { r as TableBoxRowProps } from "./TableBoxRow-CK-b79uD.mjs";
4
+ import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-C65YFYqj.mjs";
5
5
  import { MouseEvent, ReactNode } from "react";
6
6
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
7
7
 
@@ -100,4 +100,4 @@ declare const TableBoxField: {
100
100
  };
101
101
  //#endregion
102
102
  export { TableBoxFieldActionGroup as a, TableBoxFieldActionEntry as i, TableBoxField as n, TableBoxFieldAction as r, TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL as t };
103
- //# sourceMappingURL=TableBoxField-CdgjSGLK.d.mts.map
103
+ //# sourceMappingURL=TableBoxField-CHpClgsE.d.mts.map
@@ -1,2 +1,2 @@
1
- import { a as TableBoxFieldActionGroup, i as TableBoxFieldActionEntry, n as TableBoxField, r as TableBoxFieldAction, t as TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL } from "./TableBoxField-CdgjSGLK.mjs";
1
+ import { a as TableBoxFieldActionGroup, i as TableBoxFieldActionEntry, n as TableBoxField, r as TableBoxFieldAction, t as TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL } from "./TableBoxField-CHpClgsE.mjs";
2
2
  export { TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL, TableBoxFieldAction, TableBoxFieldActionEntry, TableBoxFieldActionGroup, TableBoxField as default };
@@ -1,4 +1,4 @@
1
- import { l as MenuItemProps } from "./Menu-Ca5ftvo6.mjs";
1
+ import { l as MenuItemProps } from "./Menu-keVl-eKm.mjs";
2
2
  import { t as TableRow } from "./TableRow-C4eHuRF3.mjs";
3
3
  import { ComponentPropsWithoutRef, ReactNode } from "react";
4
4
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
@@ -83,4 +83,4 @@ declare const TableBoxRowOverlay: ({
83
83
  }) => _$react_jsx_runtime0.JSX.Element;
84
84
  //#endregion
85
85
  export { TableBoxRowOverlay as n, TableBoxRowProps as r, TableBoxRow as t };
86
- //# sourceMappingURL=TableBoxRow-DuWS2iRC.d.mts.map
86
+ //# sourceMappingURL=TableBoxRow-CK-b79uD.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-DuWS2iRC.mjs";
1
+ import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-CK-b79uD.mjs";
2
2
  export { TableBoxRowOverlay, TableBoxRowProps, TableBoxRow as default };
@@ -1,4 +1,4 @@
1
- import { l as MenuItemProps } from "./Menu-Ca5ftvo6.mjs";
1
+ import { l as MenuItemProps } from "./Menu-keVl-eKm.mjs";
2
2
  import * as _$styled_components0 from "styled-components";
3
3
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -54,4 +54,4 @@ declare const RowActions: ({
54
54
  }: RowActionsProps) => _$react_jsx_runtime0.JSX.Element | null;
55
55
  //#endregion
56
56
  export { RowActionsContainerWithFadeWidth as i, RowActions as n, RowActionsContainer as r, RowAction as t };
57
- //# sourceMappingURL=TableBoxRowActions-zW74DkXt.d.mts.map
57
+ //# sourceMappingURL=TableBoxRowActions-CRaabjaY.d.mts.map
@@ -1,2 +1,2 @@
1
- import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-zW74DkXt.mjs";
1
+ import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-CRaabjaY.mjs";
2
2
  export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
@@ -1,6 +1,6 @@
1
1
  import { n as TableRowProps } from "./TableRow-C4eHuRF3.mjs";
2
- import * as _$styled_components0 from "styled-components";
3
2
  import { ComponentPropsWithoutRef, ReactNode } from "react";
3
+ import * as _$styled_components0 from "styled-components";
4
4
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/Table/TableCell.d.ts
@@ -51,4 +51,4 @@ declare const TableTR: _$styled_components0.StyledComponent<"tr", any, {
51
51
  }, "role">;
52
52
  //#endregion
53
53
  export { TableCellProps as a, TableTD as c, TableCell as i, TableTR as l, StickyTH as n, TableCellTitle as o, TableActionTD as r, TableIconTD as s, StickyTD as t };
54
- //# sourceMappingURL=TableCell-uv_jqT5e.d.mts.map
54
+ //# sourceMappingURL=TableCell-CQsF7t4e.d.mts.map
@@ -1,2 +1,2 @@
1
- import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-uv_jqT5e.mjs";
1
+ import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-CQsF7t4e.mjs";
2
2
  export { StickyTD, StickyTH, TableActionTD, TableCellProps, TableCellTitle, TableIconTD, TableTD, TableTR, TableCell as default };
@@ -1,41 +1,42 @@
1
1
  import { a as styled, n as createGlobalStyle, r as css } from "./styledComponentsInterop-Cs5CCPRy.mjs";
2
- import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
3
2
  import { semanticColor, semanticOnly, semanticTokens } from "./lib/semanticColor.mjs";
4
- import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
5
- import "./variables/transitions.mjs";
6
- import { transparent, withAlpha } from "./lib/color.mjs";
7
- import { popoverMotion } from "./mixins/motion.mjs";
8
- import { semanticScrollbar } from "./mixins/scrollbar.mjs";
9
- import { paragraphMixins } from "./mixins/text.mjs";
10
3
  import { c as usePDSLocale, i as formatDateTime, l as usePDSStrings, u as DEFAULT_COMMON_STRINGS } from "./i18n-DaOKaFc2.mjs";
11
4
  import { TruncatedText } from "./lib/TruncatedText.mjs";
5
+ import { paragraphMixins } from "./mixins/text.mjs";
12
6
  import { t as Card_default } from "./Card-DuQHyroh.mjs";
13
7
  import { t as Spacer_default } from "./Spacer-C4d9Aho6.mjs";
14
8
  import { i as Paragraph, r as Label$1 } from "./Text-D0vEReED.mjs";
15
- import { a as Tooltip } from "./Tooltip-C2VB8I6y.mjs";
9
+ import "./variables/transitions.mjs";
10
+ import { a as Tooltip } from "./Tooltip-CVBxc1yf.mjs";
11
+ import { transparent, withAlpha } from "./lib/color.mjs";
16
12
  import { letPointerDownReachDocument } from "./lib/letPointerDownReachDocument.mjs";
13
+ import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
17
14
  import { moveItemByIndex } from "./lib/reorderItems.mjs";
15
+ import { mergeRefs as mergeRefs$1, useCloseFocus } from "./lib/useCloseFocus.mjs";
18
16
  import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
19
17
  import { Z_INDICES } from "./lib/zindex.mjs";
18
+ import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
19
+ import { popoverMotion } from "./mixins/motion.mjs";
20
+ import { semanticScrollbar } from "./mixins/scrollbar.mjs";
20
21
  import { n as Stack, t as HStack } from "./Stack-Bzom2BTR.mjs";
21
- import { n as Button, t as IconButton } from "./IconButton-kSjnfhWt.mjs";
22
- import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-DwHgbIQ6.mjs";
23
- import { r as InputGroup } from "./Input-TRmTBEav.mjs";
22
+ import { n as Button, t as IconButton } from "./IconButton-Bj1fry_K.mjs";
23
+ import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-d4sdknti.mjs";
24
+ import { r as InputGroup } from "./Input-DcbzPaax.mjs";
24
25
  import Input_default from "./components/Input/index.mjs";
25
- import { c as MenuList, s as MenuItem } from "./Menu-BvMzSH2I.mjs";
26
- import { n as DropdownMenu_default } from "./DropdownMenu-jJSHQaih.mjs";
27
- import { t as Combobox } from "./Combobox-BkK_tosd.mjs";
28
- import { r as DatePicker, t as DateRangePicker } from "./DatePicker-BK7ioKBm.mjs";
29
- import { s as Popover_default } from "./Popover-DuFjaSoq.mjs";
30
- import { n as ErrorText } from "./FormControl--pbTH3bY.mjs";
31
- import { n as Select, r as SelectHeader, t as Option } from "./Select-RdTT2KoH.mjs";
32
- import { i as Modal_default } from "./Modal-B6X5AgWj.mjs";
33
- import { t as ListBox } from "./ListBox-DahM1PgU.mjs";
26
+ import { c as MenuList, s as MenuItem } from "./Menu-BVn1jh46.mjs";
27
+ import { n as DropdownMenu_default } from "./DropdownMenu-Ip75l4Th.mjs";
28
+ import { t as Combobox } from "./Combobox-DmFQ5cAy.mjs";
29
+ import { n as Select, r as SelectHeader, t as Option } from "./Select-DbWEgH5c.mjs";
30
+ import { s as Popover_default } from "./Popover-DP9DXReH.mjs";
31
+ import { i as Modal_default } from "./Modal-SnCo7ecm.mjs";
32
+ import { r as DateRangePicker, t as DatePicker } from "./DatePicker-CHVYVKB-.mjs";
33
+ import { n as ErrorText } from "./FormControl-BoKGiWdQ.mjs";
34
+ import { t as ListBox } from "./ListBox-BRgjgUSp.mjs";
34
35
  import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue, t as formatDateFilterValue } from "./date-filter-Bj4XkwkT.mjs";
35
- import { m as FormField, o as ComboboxField } from "./FormField-DMxjftFw.mjs";
36
- import { t as Toggle } from "./Toggle-DjmkjJlw.mjs";
37
- import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
36
+ import { m as FormField, o as ComboboxField } from "./FormField-BfVrDOY0.mjs";
37
+ import { t as Toggle } from "./Toggle-CzHoIR-n.mjs";
38
38
  import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
39
+ import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
39
40
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
40
41
  import { DateTime, Settings } from "luxon";
41
42
  import { CaretDownIcon, CheckIcon, CircleInfoIcon, CirclePlusIcon, CopyIcon, EyeIcon, EyeOffIcon, FilterIcon, MoreIcon, PlusIcon, RotateCcwIcon, SaveIcon, SearchIcon, SettingsIcon, StarIcon, TrashIcon, XIcon } from "@persona/icons";
@@ -45,12 +46,26 @@ import { useId } from "react-aria";
45
46
  import { mergeRefs } from "@react-aria/utils";
46
47
  import Fuse from "fuse.js";
47
48
  import { DragIcon as DragIcon$1 } from "@persona/icons/24px";
48
- import { parseAbsolute, parseDate, toCalendarDate, toZoned } from "@internationalized/date";
49
49
  import * as PopoverPrimitive from "@radix-ui/react-popover";
50
50
  import { DndContext, PointerSensor, closestCenter, pointerWithin, useSensor, useSensors } from "@dnd-kit/core";
51
51
  import { SortableContext, horizontalListSortingStrategy, useSortable } from "@dnd-kit/sortable";
52
+ import { parseAbsolute, parseDate, toCalendarDate, toZoned } from "@internationalized/date";
52
53
  import { v4 } from "uuid";
53
54
  import { DragDropContext, Draggable, Droppable } from "@hello-pangea/dnd";
55
+ //#region src/components/DataTable/withDisabledReason.tsx
56
+ const DisabledReasonTrigger = styled.span`
57
+ display: inline-flex;
58
+ `;
59
+ /**
60
+ * Wraps a disabled bulk-action control in a tooltip that explains why it's disabled. Returns the
61
+ * control unchanged unless it is disabled and has a reason.
62
+ */
63
+ const withDisabledReason = (control, { key, disabled, disabledReason }) => disabled && disabledReason ? /* @__PURE__ */ jsx(Tooltip, {
64
+ trigger: /* @__PURE__ */ jsx(DisabledReasonTrigger, { children: control }),
65
+ zIndex: Z_INDICES.floatingBar + Z_INDICES.tooltip,
66
+ children: disabledReason
67
+ }, key) : control;
68
+ //#endregion
54
69
  //#region src/components/DataTable/FormControlLabel/FormControlLabel.ts
55
70
  const FormControlLabel = styled(Label$1).attrs(() => ({
56
71
  size: "md",
@@ -976,7 +991,12 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, starredDefa
976
991
  const clearSelection = () => {
977
992
  onClearSelection?.();
978
993
  };
979
- if ("icon" in action && "aria-label" in action) return /* @__PURE__ */ jsx(IconButton, {
994
+ const disabledReasonProps = {
995
+ key,
996
+ disabled: action.disabled,
997
+ disabledReason: action.disabledReason
998
+ };
999
+ if ("icon" in action && "aria-label" in action) return withDisabledReason(/* @__PURE__ */ jsx(IconButton, {
980
1000
  size: "sm",
981
1001
  "aria-label": action["aria-label"],
982
1002
  onClick: async () => {
@@ -984,9 +1004,9 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, starredDefa
984
1004
  },
985
1005
  disabled: isDisabled,
986
1006
  children: action.icon
987
- }, key);
1007
+ }, key), disabledReasonProps);
988
1008
  const displayLabel = "label" in action && selectedCount > 0 ? `${action.label} (${selectedCount})` : "label" in action ? action.label : "";
989
- return /* @__PURE__ */ jsx(Button, {
1009
+ return withDisabledReason(/* @__PURE__ */ jsx(Button, {
990
1010
  id: `table-controls__view-tab-bulk-action-${index}`,
991
1011
  variant: "basic",
992
1012
  size: "sm",
@@ -996,7 +1016,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, starredDefa
996
1016
  },
997
1017
  disabled: isDisabled,
998
1018
  children: displayLabel
999
- }, key);
1019
+ }, key), disabledReasonProps);
1000
1020
  });
1001
1021
  const showViewsBar = title || showViews || canEditViews && onSaveView || tableActions || bulkActions;
1002
1022
  const getTabActionProps = (view) => {
@@ -1577,6 +1597,20 @@ const Filters = ({ compact, filterResolver, ...props }) => {
1577
1597
  });
1578
1598
  };
1579
1599
  //#endregion
1600
+ //#region src/components/DataTable/TableControls/FiltersV2/FilterBar/value-labels.ts
1601
+ /**
1602
+ * Render-only overlay; never mutate/cache labels in the immutable registry. Re-evaluate
1603
+ * on each render so a stable host getter can read newly hydrated external names.
1604
+ */
1605
+ function optionLabelsForDisplay(field, value, optionLabels, getValueLabel) {
1606
+ if (!getValueLabel || !field || field.type !== "choices" && field.type !== "multi_choices") return optionLabels;
1607
+ const values = Array.isArray(value) ? value : [value];
1608
+ return {
1609
+ ...optionLabels,
1610
+ ...Object.fromEntries(values.filter((entry) => typeof entry === "string").map((entry) => [entry, getValueLabel(field.id, entry) ?? optionLabels?.[entry] ?? entry]))
1611
+ };
1612
+ }
1613
+ //#endregion
1580
1614
  //#region src/components/DataTable/TableControls/FiltersV2/operators.ts
1581
1615
  /**
1582
1616
  * Operator vocabulary per field type. The UI uses this to populate the
@@ -2207,7 +2241,7 @@ function RuleEditorFields({ registry, dateTimesEnabled, field, groupIndex, ruleI
2207
2241
  }
2208
2242
  //#endregion
2209
2243
  //#region src/components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/AdvancedFilterRuleRow.tsx
2210
- function AdvancedFilterRuleRow({ registry, dateTimesEnabled, groupIndex, ruleIndex, rule, size, isOpen, onClose, onDelete, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
2244
+ function AdvancedFilterRuleRow({ registry, getValueLabel, dateTimesEnabled, groupIndex, ruleIndex, rule, size, isOpen, onClose, onDelete, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
2211
2245
  const strings = usePDSStrings();
2212
2246
  const locale = usePDSLocale();
2213
2247
  const field = registry.get(rule.fieldId);
@@ -2215,7 +2249,7 @@ function AdvancedFilterRuleRow({ registry, dateTimesEnabled, groupIndex, ruleInd
2215
2249
  const operatorConfigurable = field ? fieldHasMultipleOperators(field) : true;
2216
2250
  const condition = ruleIndex === 0 ? strings.conditionIf : strings.conditionAnd;
2217
2251
  const rowId = `${groupIndex}-${ruleIndex}`;
2218
- const valueDisplay = isValuelessOperator(rule.operator, field) ? void 0 : valueDisplayString(rule.value, registry.optionLabelsFor(rule.fieldId), carriesDateRange(rule.operator, field?.type) ? rule.relativeDate : void 0, field?.type, {
2252
+ const valueDisplay = isValuelessOperator(rule.operator, field) ? void 0 : valueDisplayString(rule.value, optionLabelsForDisplay(field, rule.value, registry.optionLabelsFor(rule.fieldId), getValueLabel), carriesDateRange(rule.operator, field?.type) ? rule.relativeDate : void 0, field?.type, {
2219
2253
  locale,
2220
2254
  strings
2221
2255
  });
@@ -2469,7 +2503,7 @@ function groupsForRender(compound) {
2469
2503
  * inline; clicking a row reveals the field/operator/value editor inside the
2470
2504
  * row's dropdown popover.
2471
2505
  */
2472
- const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, open, onOpenChange, renderValueControl, size, dateTimesEnabled = false }) => {
2506
+ const AdvancedFilterRulesPopover = ({ registry, getValueLabel, compound, onChange, trigger, open, onOpenChange, renderValueControl, size, dateTimesEnabled = false }) => {
2473
2507
  const strings = usePDSStrings();
2474
2508
  const resolvedSize = useFilterBarSize(size);
2475
2509
  const subtleIconSize = resolvedSize === "sm" ? "xs" : "sm";
@@ -2483,6 +2517,9 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
2483
2517
  onOpenChange?.(next);
2484
2518
  }, [isControlled, onOpenChange]);
2485
2519
  const baseId = useMemo(() => uniqueId("advanced-filter-rules__"), []);
2520
+ const triggerRef = useRef(null);
2521
+ const { ref: closeFocusRef, ...closeFocus } = useCloseFocus({ triggerRef });
2522
+ const contentRef = useMemo(() => mergeRefs$1(popoverContentRef, closeFocusRef), [popoverContentRef, closeFocusRef]);
2486
2523
  const fields = useMemo(() => registry.all().filter((field) => field.disabledReason == null), [registry]);
2487
2524
  const handleAddOrGroup = useCallback(() => {
2488
2525
  const firstField = fields[0];
@@ -2569,6 +2606,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
2569
2606
  onOpenChange: handleOpenChange,
2570
2607
  children: [/* @__PURE__ */ jsx(PopoverPrimitive.Trigger, {
2571
2608
  asChild: true,
2609
+ ref: triggerRef,
2572
2610
  children: trigger
2573
2611
  }), /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(PopoverContent, {
2574
2612
  align: "start",
@@ -2578,7 +2616,8 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
2578
2616
  "aria-label": strings.advancedFilterRules,
2579
2617
  id: baseId,
2580
2618
  onPointerDownCapture: letPointerDownReachDocument,
2581
- ref: popoverContentRef,
2619
+ ...closeFocus,
2620
+ ref: contentRef,
2582
2621
  tabIndex: -1,
2583
2622
  onKeyDown: (event) => {
2584
2623
  if (event.key !== "Enter") return;
@@ -2662,6 +2701,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
2662
2701
  const rowId = `${groupIndex}-${ruleIndex}`;
2663
2702
  return /* @__PURE__ */ jsx(AdvancedFilterRuleRow, {
2664
2703
  registry,
2704
+ getValueLabel,
2665
2705
  dateTimesEnabled,
2666
2706
  groupIndex,
2667
2707
  ruleIndex,
@@ -4660,7 +4700,7 @@ function useStableFieldIds(fieldIds) {
4660
4700
  if (previous == null || fieldIds == null || previous.length !== fieldIds.length || fieldIds.some((id, index) => previous[index] !== id)) stable.current = fieldIds;
4661
4701
  return stable.current;
4662
4702
  }
4663
- function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = true, relativeDatesEnabled = false, dateTimesEnabled = false, singleUseFields = false, size = "md", valueControlResolver }) {
4703
+ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = true, relativeDatesEnabled = false, dateTimesEnabled = false, singleUseFields = false, size = "md", valueControlResolver, getValueLabel }) {
4664
4704
  const strings = usePDSStrings();
4665
4705
  const filterState = useFilterStateV2({
4666
4706
  registry,
@@ -4773,6 +4813,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
4773
4813
  "aria-label": strings.filterBar,
4774
4814
  children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(AdvancedFilterRulesPopover, {
4775
4815
  registry,
4816
+ getValueLabel,
4776
4817
  dateTimesEnabled,
4777
4818
  compound: filterState.state.compound,
4778
4819
  open: rulesPopoverOpen,
@@ -4808,7 +4849,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
4808
4849
  children: filterState.state.topLevelRules.map((rule) => {
4809
4850
  const field = registry.get(rule.fieldId);
4810
4851
  if (!field) return null;
4811
- const optionLabels = registry.optionLabelsFor(field.id);
4852
+ const optionLabels = optionLabelsForDisplay(field, rule.value, registry.optionLabelsFor(field.id), getValueLabel);
4812
4853
  const isOpen = editingRuleId === rule.id;
4813
4854
  return /* @__PURE__ */ jsx(FilterPopover, {
4814
4855
  field,
@@ -5649,6 +5690,6 @@ function decodeBase64(input) {
5649
5690
  return decodeURIComponent(escape(atob(input)));
5650
5691
  }
5651
5692
  //#endregion
5652
- export { isCompleteDateRange as A, TableControlsProvider as B, useFilterBarSize as C, getDefaultOperatorForType as D, getConditionValueError as E, FiltersContainer as F, ControlBar as H, getActiveFilters as I, isFilterActive as L, isRangeOperator as M, isValuelessOperator as N, getOperatorsForField as O, reconcileValueForOperator as P, resolveFilterTypeDefinition as R, FILTER_SIZE_TOKENS as S, emptyValueForRule as T, DataTableCompactBar as U, useTableControls as V, EMPTY_FILTER_STATE as _, encodeFilterStateToUrlParam as a, resolveValueControl as b, FilterBar_default as c, TableViewConfiguration as d, TableViewConfigurationDropdown as f, pruneToRegistry as g, isFilterStateV2 as h, decodeFilterStateFromUrl as i, isNumericComparisonOperator as j, getOperatorsForType as k, resolveDateRangeRuleValue as l, hasCompleteValue as m, applyFilterStateToSearchParams as n, FieldRegistry as o, useFilterStateV2 as p, decodeFilterStateFromString as r, buildFieldRegistry as s, FILTER_STATE_URL_PARAM as t, TableControls as u, isEmptyState as v, NUMERIC_COMPARISON_OPERATORS as w, dateRuleIntent as x, PillShell as y, TableControlsContext as z };
5693
+ export { isCompleteDateRange as A, TableControlsProvider as B, useFilterBarSize as C, getDefaultOperatorForType as D, getConditionValueError as E, FiltersContainer as F, ControlBar as H, getActiveFilters as I, isFilterActive as L, isRangeOperator as M, isValuelessOperator as N, getOperatorsForField as O, reconcileValueForOperator as P, resolveFilterTypeDefinition as R, FILTER_SIZE_TOKENS as S, emptyValueForRule as T, DataTableCompactBar as U, useTableControls as V, withDisabledReason as W, EMPTY_FILTER_STATE as _, encodeFilterStateToUrlParam as a, resolveValueControl as b, FilterBar_default as c, TableViewConfiguration as d, TableViewConfigurationDropdown as f, pruneToRegistry as g, isFilterStateV2 as h, decodeFilterStateFromUrl as i, isNumericComparisonOperator as j, getOperatorsForType as k, resolveDateRangeRuleValue as l, hasCompleteValue as m, applyFilterStateToSearchParams as n, FieldRegistry as o, useFilterStateV2 as p, decodeFilterStateFromString as r, buildFieldRegistry as s, FILTER_STATE_URL_PARAM as t, TableControls as u, isEmptyState as v, NUMERIC_COMPARISON_OPERATORS as w, dateRuleIntent as x, PillShell as y, TableControlsContext as z };
5653
5694
 
5654
- //# sourceMappingURL=TableControls-CX7BvgD2.mjs.map
5695
+ //# sourceMappingURL=TableControls-DM4RddQ_.mjs.map