@persona/design-system 0.3.0 → 0.3.1

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 (471) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +3 -3
  3. package/dist/{Action-CnNf5T-l.d.mts → Action-DL3kHI9Z.d.mts} +3 -3
  4. package/dist/Action.d.mts +1 -1
  5. package/dist/AdvancedFilterRuleRow.d.mts +3 -3
  6. package/dist/AdvancedFilterRulesPopover.d.mts +3 -3
  7. package/dist/ArrayValueControl.d.mts +1 -1
  8. package/dist/Attribute.d.mts +5 -5
  9. package/dist/AttributeGrid.d.mts +1 -1
  10. package/dist/{Badge-BqS6Nk4J.mjs → Badge-BL0J5oMa.mjs} +3 -3
  11. package/dist/{Badge-BqS6Nk4J.mjs.map → Badge-BL0J5oMa.mjs.map} +1 -1
  12. package/dist/Banner.d.mts +1 -1
  13. package/dist/BooleanValueControl.d.mts +1 -1
  14. package/dist/{Breadcrumb-DEwZFJHF.d.mts → Breadcrumb-Czgdi0xf.d.mts} +1 -1
  15. package/dist/Breadcrumb.d.mts +1 -1
  16. package/dist/{Breadcrumbs-CqKtnZqu.mjs → Breadcrumbs-ed4wRDS7.mjs} +12 -12
  17. package/dist/{Breadcrumbs-CqKtnZqu.mjs.map → Breadcrumbs-ed4wRDS7.mjs.map} +1 -1
  18. package/dist/{Breadcrumbs-0e_3v9FF.d.mts → Breadcrumbs-zei-cpdU.d.mts} +2 -2
  19. package/dist/Breadcrumbs.d.mts +1 -1
  20. package/dist/{Button-C0F0F2IL.d.mts → Button-CKzNTpPL.d.mts} +4 -4
  21. package/dist/Button.d.mts +1 -1
  22. package/dist/ButtonGroup.d.mts +1 -1
  23. package/dist/{Calendar-BvLNcHQM.d.mts → Calendar-CcxN7y3e.d.mts} +2 -2
  24. package/dist/Calendar.d.mts +1 -1
  25. package/dist/CalendarBase.d.mts +1 -1
  26. package/dist/{Card-BMCB9eFC.mjs → Card-CKrJtn1f.mjs} +4 -4
  27. package/dist/{Card-BMCB9eFC.mjs.map → Card-CKrJtn1f.mjs.map} +1 -1
  28. package/dist/{Card-BxNoIQWw.d.mts → Card-pr4FQWjn.d.mts} +4 -4
  29. package/dist/Card.d.mts +1 -1
  30. package/dist/Card2.d.mts +3 -3
  31. package/dist/{CardV2-B0ZweQYk.mjs → CardV2-D3m5EKlp.mjs} +19 -19
  32. package/dist/{CardV2-B0ZweQYk.mjs.map → CardV2-D3m5EKlp.mjs.map} +1 -1
  33. package/dist/{Checkbox-Bm8exUfH.d.mts → Checkbox-Bmm-r5ei.d.mts} +1 -1
  34. package/dist/{Checkbox-DAvbgZgO.mjs → Checkbox-Ccuicmlo.mjs} +8 -8
  35. package/dist/{Checkbox-DAvbgZgO.mjs.map → Checkbox-Ccuicmlo.mjs.map} +1 -1
  36. package/dist/Checkbox.d.mts +1 -1
  37. package/dist/CheckboxGroupField.d.mts +2 -2
  38. package/dist/ChoicesValueControl.d.mts +1 -1
  39. package/dist/{Combobox-xBrxiUAu.mjs → Combobox-BGRyr_-L.mjs} +22 -22
  40. package/dist/Combobox-BGRyr_-L.mjs.map +1 -0
  41. package/dist/{Combobox-C8ue0cBP.d.mts → Combobox-Bf_Xe1BG.d.mts} +3 -3
  42. package/dist/Combobox.d.mts +2 -2
  43. package/dist/{ComboboxBase-DJGTMf1_.d.mts → ComboboxBase-CWzN8GML.d.mts} +8 -8
  44. package/dist/ComboboxBase.d.mts +1 -1
  45. package/dist/{ComboboxMultiSelect-D7A2bbWU.d.mts → ComboboxMultiSelect-iSuvyOx2.d.mts} +2 -2
  46. package/dist/ComboboxMultiSelect.d.mts +1 -1
  47. package/dist/{ComboboxSingleSelect-D1uzEyKj.d.mts → ComboboxSingleSelect-DVRFKPi1.d.mts} +4 -4
  48. package/dist/ComboboxSingleSelect.d.mts +1 -1
  49. package/dist/{CompactBar-DMuvqaV5.d.mts → CompactBar-C_61pgp7.d.mts} +3 -3
  50. package/dist/CompactBar.d.mts +1 -1
  51. package/dist/{ConfigFormGroup-D2_sajXe.mjs → ConfigFormGroup-DGCTW3by.mjs} +4 -4
  52. package/dist/{ConfigFormGroup-D2_sajXe.mjs.map → ConfigFormGroup-DGCTW3by.mjs.map} +1 -1
  53. package/dist/{ControlBar-Dg8JeU8f.d.mts → ControlBar-0XwbM4yC.d.mts} +2 -2
  54. package/dist/ControlBar.d.mts +1 -1
  55. package/dist/DataTable.d.mts +4 -4
  56. package/dist/{DateField-Com9f2-j.d.mts → DateField-CKeSIhGy.d.mts} +2 -2
  57. package/dist/DateField.d.mts +1 -1
  58. package/dist/{DatePicker-BGO6doLx.d.mts → DatePicker-B1iWrqR5.d.mts} +2 -2
  59. package/dist/{DatePicker-BlnE2MBD.mjs → DatePicker-BNnZ6L1y.mjs} +29 -12
  60. package/dist/DatePicker-BNnZ6L1y.mjs.map +1 -0
  61. package/dist/DatePicker.d.mts +1 -1
  62. package/dist/{DateRangePicker-DfRBm9z4.d.mts → DateRangePicker-BmF9eH9R.d.mts} +2 -2
  63. package/dist/DateRangePicker.d.mts +1 -1
  64. package/dist/DateRangeValueControl.d.mts +2 -2
  65. package/dist/DateValueControl.d.mts +1 -1
  66. package/dist/{DropdownButton-CpWNRUma.mjs → DropdownButton-BlVeFbJ0.mjs} +3 -3
  67. package/dist/{DropdownButton-CpWNRUma.mjs.map → DropdownButton-BlVeFbJ0.mjs.map} +1 -1
  68. package/dist/DropdownButton.d.mts +2 -2
  69. package/dist/{DropdownMenu-BCyV8nC0.mjs → DropdownMenu-82xH1AZr.mjs} +4 -4
  70. package/dist/{DropdownMenu-BCyV8nC0.mjs.map → DropdownMenu-82xH1AZr.mjs.map} +1 -1
  71. package/dist/{DropdownMenu-CnaK78rP.d.mts → DropdownMenu-DuTnq9j7.d.mts} +3 -3
  72. package/dist/DropdownMenu.d.mts +1 -1
  73. package/dist/{ErrorProps-CN2XjaOX.d.mts → ErrorProps-DX50vo-U.d.mts} +1 -1
  74. package/dist/ErrorProps.d.mts +1 -1
  75. package/dist/{FieldRegistry-DdA63Vnh.d.mts → FieldRegistry-D1vghSC_.d.mts} +2 -2
  76. package/dist/FieldRegistry.d.mts +1 -1
  77. package/dist/{FilterBar-CxNsBVrn.d.mts → FilterBar-Ck085Dic.d.mts} +4 -4
  78. package/dist/FilterBar.d.mts +1 -1
  79. package/dist/FilterPickerMenu.d.mts +3 -3
  80. package/dist/FilterPill.d.mts +1 -1
  81. package/dist/FilterPopover.d.mts +2 -2
  82. package/dist/FloatValueControl.d.mts +1 -1
  83. package/dist/FloatingPanel.d.mts +1 -1
  84. package/dist/FloatingPanelContext.d.mts +1 -1
  85. package/dist/{FormControl-Doj2gvF0.d.mts → FormControl-CfpwZGlD.d.mts} +4 -4
  86. package/dist/{FormControl-HVzZEqJH.mjs → FormControl-D1HIqDKm.mjs} +6 -6
  87. package/dist/{FormControl-HVzZEqJH.mjs.map → FormControl-D1HIqDKm.mjs.map} +1 -1
  88. package/dist/FormControl.d.mts +1 -1
  89. package/dist/FormControlLabel.d.mts +2 -2
  90. package/dist/{FormField-D8dHbqZZ.d.mts → FormField-0p4y0sS5.d.mts} +2 -2
  91. package/dist/{FormField-B9P3BWvS.mjs → FormField-CVnbsNvU.mjs} +22 -22
  92. package/dist/FormField-CVnbsNvU.mjs.map +1 -0
  93. package/dist/FormField.d.mts +1 -1
  94. package/dist/{Header-CBlB65NY.d.mts → Header-gDUTQgWj.d.mts} +2 -2
  95. package/dist/Header.d.mts +1 -1
  96. package/dist/{HelperTooltip-C28h1zFl.d.mts → HelperTooltip-CqhiRb5g.d.mts} +3 -3
  97. package/dist/HelperTooltip.d.mts +1 -1
  98. package/dist/{HoverCopyableField-0Bzygbp9.mjs → HoverCopyableField-HWshrU_1.mjs} +31 -20
  99. package/dist/HoverCopyableField-HWshrU_1.mjs.map +1 -0
  100. package/dist/HoverCopyableField.d.mts +15 -4
  101. package/dist/{IconButton-BfDlic2K.mjs → IconButton-BgL3QUVO.mjs} +9 -9
  102. package/dist/{IconButton-BfDlic2K.mjs.map → IconButton-BgL3QUVO.mjs.map} +1 -1
  103. package/dist/{IconButton-CBcW7ZU8.d.mts → IconButton-CLsHdYm7.d.mts} +2 -2
  104. package/dist/IconButton.d.mts +1 -1
  105. package/dist/ImageTile.d.mts +2 -2
  106. package/dist/InlineCombobox.d.mts +2 -2
  107. package/dist/InlineInput.d.mts +1 -1
  108. package/dist/{Input-CVdjkX88.d.mts → Input-BHHWpSKN.d.mts} +6 -6
  109. package/dist/{Input-Bimw8KFj.mjs → Input-DoB8YswA.mjs} +6 -6
  110. package/dist/{Input-Bimw8KFj.mjs.map → Input-DoB8YswA.mjs.map} +1 -1
  111. package/dist/Input.d.mts +1 -1
  112. package/dist/{InputProps-BwKkmImn.d.mts → InputProps-sHxlDiss.d.mts} +2 -2
  113. package/dist/InputProps.d.mts +1 -1
  114. package/dist/IntegerValueControl.d.mts +1 -1
  115. package/dist/LayoutLoadingSpinner.d.mts +11 -0
  116. package/dist/Link.d.mts +3 -3
  117. package/dist/{ListBox-DKZpGYjo.mjs → ListBox-B9uuMt2R.mjs} +15 -15
  118. package/dist/{ListBox-DKZpGYjo.mjs.map → ListBox-B9uuMt2R.mjs.map} +1 -1
  119. package/dist/{ListBox-CDl5oZPX.d.mts → ListBox-BrY1bQ5-.d.mts} +5 -5
  120. package/dist/ListBox.d.mts +1 -1
  121. package/dist/ListBoxField.d.mts +3 -3
  122. package/dist/{LoadingShimmer-DC2vqicd.mjs → LoadingShimmer-dsBWRdTU.mjs} +2 -2
  123. package/dist/{LoadingShimmer-DC2vqicd.mjs.map → LoadingShimmer-dsBWRdTU.mjs.map} +1 -1
  124. package/dist/LoadingShimmer.d.mts +2 -2
  125. package/dist/{LogicRow-CkbyvrUw.d.mts → LogicRow-9a_klV2v.d.mts} +4 -4
  126. package/dist/LogicRow.d.mts +1 -1
  127. package/dist/MaskedInput.d.mts +2 -2
  128. package/dist/MatchHighlight.d.mts +1 -1
  129. package/dist/{Menu-Dir03WA9.mjs → Menu-CHbUf9PQ.mjs} +6 -6
  130. package/dist/{Menu-Dir03WA9.mjs.map → Menu-CHbUf9PQ.mjs.map} +1 -1
  131. package/dist/{Menu-CYRdEnfo.d.mts → Menu-D4Y_J-QI.d.mts} +4 -4
  132. package/dist/Menu.d.mts +1 -1
  133. package/dist/{MiddleTruncatedText-GXI-CPvs.mjs → MiddleTruncatedText-DnF7F_1D.mjs} +4 -4
  134. package/dist/{MiddleTruncatedText-GXI-CPvs.mjs.map → MiddleTruncatedText-DnF7F_1D.mjs.map} +1 -1
  135. package/dist/Modal.d.mts +4 -5
  136. package/dist/{PageHeader-C2IUKhCg.mjs → PageHeader-XxGsFLHb.mjs} +4 -4
  137. package/dist/{PageHeader-C2IUKhCg.mjs.map → PageHeader-XxGsFLHb.mjs.map} +1 -1
  138. package/dist/PageHeader.d.mts +2 -2
  139. package/dist/PageLayout.d.mts +1 -1
  140. package/dist/{PageSelector-vay4jpMp.d.mts → PageSelector-BDo3ge1E.d.mts} +3 -3
  141. package/dist/PageSelector.d.mts +1 -1
  142. package/dist/{Pagination-ygLutOst.d.mts → Pagination-Dcmv7bVe.d.mts} +2 -2
  143. package/dist/{Pagination-0VhVdXv0.mjs → Pagination-DvVKQLdC.mjs} +8 -8
  144. package/dist/{Pagination-0VhVdXv0.mjs.map → Pagination-DvVKQLdC.mjs.map} +1 -1
  145. package/dist/Pagination.d.mts +1 -1
  146. package/dist/{Pii-C7pA72Bh.mjs → Pii-BD48BtZ0.mjs} +2 -2
  147. package/dist/{Pii-C7pA72Bh.mjs.map → Pii-BD48BtZ0.mjs.map} +1 -1
  148. package/dist/Pii.d.mts +1 -1
  149. package/dist/PillShell.d.mts +1 -1
  150. package/dist/{Popover-BkDpDdaO.mjs → Popover-DNH8Jx1-.mjs} +6 -6
  151. package/dist/{Popover-BkDpDdaO.mjs.map → Popover-DNH8Jx1-.mjs.map} +1 -1
  152. package/dist/Popover.d.mts +1 -1
  153. package/dist/ProgressBar.d.mts +1 -1
  154. package/dist/ProgressIndicator.d.mts +1 -1
  155. package/dist/{PseudoClassProps-CcSlKNev.d.mts → PseudoClassProps-DgT5G_z5.d.mts} +1 -1
  156. package/dist/PseudoClassProps.d.mts +1 -1
  157. package/dist/{Radio-BaFutxgV.mjs → Radio-DSMPX5_2.mjs} +5 -5
  158. package/dist/{Radio-BaFutxgV.mjs.map → Radio-DSMPX5_2.mjs.map} +1 -1
  159. package/dist/{RadioGroup-ClMzOZl0.mjs → RadioGroup-D5IITQLz.mjs} +4 -4
  160. package/dist/{RadioGroup-ClMzOZl0.mjs.map → RadioGroup-D5IITQLz.mjs.map} +1 -1
  161. package/dist/{RadioGroup-BuJaitgG.d.mts → RadioGroup-Jl1yAvGu.d.mts} +1 -1
  162. package/dist/RadioGroup.d.mts +1 -1
  163. package/dist/RangeCalendar.d.mts +1 -1
  164. package/dist/RangeCalendarPresets.d.mts +1 -1
  165. package/dist/RuleEditorFields.d.mts +3 -3
  166. package/dist/RulesPill.d.mts +1 -1
  167. package/dist/{SearchInput-Ca3_np5e.d.mts → SearchInput-CaKHRC_s.d.mts} +3 -3
  168. package/dist/SearchInput.d.mts +1 -1
  169. package/dist/SectionHeading.d.mts +1 -1
  170. package/dist/{SegmentedControl-DgyJL4uN.mjs → SegmentedControl-JUgRw_M-.mjs} +5 -5
  171. package/dist/{SegmentedControl-DgyJL4uN.mjs.map → SegmentedControl-JUgRw_M-.mjs.map} +1 -1
  172. package/dist/{SegmentedControl-_I4sWeD7.d.mts → SegmentedControl-e6xDtoHC.d.mts} +2 -2
  173. package/dist/SegmentedControl.d.mts +1 -1
  174. package/dist/{Select-vwXGlHuW.d.mts → Select-CPYztD4m.d.mts} +4 -4
  175. package/dist/{Select-D6MqSYVa.mjs → Select-DX3toj6M.mjs} +12 -12
  176. package/dist/{Select-D6MqSYVa.mjs.map → Select-DX3toj6M.mjs.map} +1 -1
  177. package/dist/Select.d.mts +1 -1
  178. package/dist/Slider.d.mts +1 -1
  179. package/dist/SliderRHF.d.mts +1 -1
  180. package/dist/SliderThumb.d.mts +1 -1
  181. package/dist/{Spacer-CJp0lwkL.mjs → Spacer-BsK8tTwA.mjs} +2 -2
  182. package/dist/{Spacer-CJp0lwkL.mjs.map → Spacer-BsK8tTwA.mjs.map} +1 -1
  183. package/dist/{Spinner-BgBCCHGo.mjs → Spinner-D3wXIoXN.mjs} +3 -3
  184. package/dist/{Spinner-BgBCCHGo.mjs.map → Spinner-D3wXIoXN.mjs.map} +1 -1
  185. package/dist/{Stack-Bl54WmhY.mjs → Stack-Bre2oiov.mjs} +2 -2
  186. package/dist/{Stack-Bl54WmhY.mjs.map → Stack-Bre2oiov.mjs.map} +1 -1
  187. package/dist/{Stack-CkV7k7TE.d.mts → Stack-DHaK1-dw.d.mts} +2 -2
  188. package/dist/Stack.d.mts +1 -1
  189. package/dist/StatusIndicator.d.mts +1 -1
  190. package/dist/{Sticker-xtDMuOoN.mjs → Sticker-CQ6sOKUj.mjs} +6 -6
  191. package/dist/{Sticker-xtDMuOoN.mjs.map → Sticker-CQ6sOKUj.mjs.map} +1 -1
  192. package/dist/{Sticker-Dhx2wqTL.d.mts → Sticker-DnSemOcW.d.mts} +6 -6
  193. package/dist/Sticker.d.mts +1 -1
  194. package/dist/StringValueControl.d.mts +1 -1
  195. package/dist/SwatchPicker.d.mts +1 -1
  196. package/dist/Tab.d.mts +3 -3
  197. package/dist/{TabBar-D6UocZXi.mjs → TabBar-sYllYizt.mjs} +7 -7
  198. package/dist/{TabBar-D6UocZXi.mjs.map → TabBar-sYllYizt.mjs.map} +1 -1
  199. package/dist/TabBarIconButton.d.mts +2 -2
  200. package/dist/{Table-D1WyUQuv.mjs → Table-C2pkP5Xg.mjs} +8 -8
  201. package/dist/{Table-D1WyUQuv.mjs.map → Table-C2pkP5Xg.mjs.map} +1 -1
  202. package/dist/{Table-cO7ZwGPM.d.mts → Table-CFbPINKr.d.mts} +1 -1
  203. package/dist/Table.d.mts +1 -1
  204. package/dist/{TableBody-CirMgfAV.d.mts → TableBody-BQsGc4Lw.d.mts} +1 -1
  205. package/dist/TableBody.d.mts +1 -1
  206. package/dist/{TableBox-C5qWhr82.mjs → TableBox-CaTHcR4F.mjs} +16 -16
  207. package/dist/{TableBox-C5qWhr82.mjs.map → TableBox-CaTHcR4F.mjs.map} +1 -1
  208. package/dist/TableBox.d.mts +2 -2
  209. package/dist/{TableBoxCell-DmVX_tgn.d.mts → TableBoxCell-52g97gEg.d.mts} +8 -8
  210. package/dist/TableBoxCell.d.mts +1 -1
  211. package/dist/TableBoxField.d.mts +4 -4
  212. package/dist/{TableBoxRow-nwq41Bpi.d.mts → TableBoxRow-DnoumHIE.d.mts} +4 -4
  213. package/dist/TableBoxRow.d.mts +1 -1
  214. package/dist/{TableBoxRowActions-B4_ojiQo.d.mts → TableBoxRowActions-CDcREhP4.d.mts} +2 -2
  215. package/dist/TableBoxRowActions.d.mts +1 -1
  216. package/dist/TableCell.d.mts +1 -1
  217. package/dist/{TableControls-CZ9iu3ma.mjs → TableControls-3bXyd8gS.mjs} +104 -79
  218. package/dist/TableControls-3bXyd8gS.mjs.map +1 -0
  219. package/dist/{TableControls-RwIPBxyU.d.mts → TableControls-CrGGlkEG.d.mts} +5 -9
  220. package/dist/TableControls.d.mts +1 -1
  221. package/dist/{TableControlsContext-D_SBFZN1.d.mts → TableControlsContext-BKZt2Jid.d.mts} +2 -2
  222. package/dist/TableControlsContext.d.mts +1 -1
  223. package/dist/{TableHead-DMq_q_W0.d.mts → TableHead-CqVIJfjh.d.mts} +1 -1
  224. package/dist/TableHead.d.mts +1 -1
  225. package/dist/{TableHeaderCell-C2pqXBYO.d.mts → TableHeaderCell-DK4R8vdK.d.mts} +1 -1
  226. package/dist/TableHeaderCell.d.mts +1 -1
  227. package/dist/{TableLayout-DQKu6Rcj.d.mts → TableLayout-BcIazRB-.d.mts} +1 -1
  228. package/dist/TableLayout.d.mts +1 -1
  229. package/dist/{TableRow-CPqZ8DK3.d.mts → TableRow-DdJcjG2b.d.mts} +2 -2
  230. package/dist/TableRow.d.mts +1 -1
  231. package/dist/TableTH.d.mts +1 -1
  232. package/dist/{TableViewConfigurationDropdown-BYPh4dIP.d.mts → TableViewConfigurationDropdown-CHBOjw7O.d.mts} +5 -3
  233. package/dist/TableViewConfigurationDropdown.d.mts +1 -1
  234. package/dist/{TechnicalSticker-DTjg6d2F.mjs → TechnicalSticker-D3eeGMDR.mjs} +6 -6
  235. package/dist/{TechnicalSticker-DTjg6d2F.mjs.map → TechnicalSticker-D3eeGMDR.mjs.map} +1 -1
  236. package/dist/TechnicalSticker.d.mts +1 -1
  237. package/dist/{Text-RcEfNFLx.mjs → Text-B0orb-cZ.mjs} +2 -2
  238. package/dist/{Text-RcEfNFLx.mjs.map → Text-B0orb-cZ.mjs.map} +1 -1
  239. package/dist/{Text-CfIFUyHt.d.mts → Text-BIgrwIdS.d.mts} +4 -4
  240. package/dist/Text.d.mts +1 -1
  241. package/dist/{TextArea-DhPBI_1-.d.mts → TextArea-CiLttt0s.d.mts} +2 -2
  242. package/dist/{TextArea-ZMgbE_Lh.mjs → TextArea-DWXuV2aZ.mjs} +4 -4
  243. package/dist/{TextArea-ZMgbE_Lh.mjs.map → TextArea-DWXuV2aZ.mjs.map} +1 -1
  244. package/dist/TextArea.d.mts +1 -1
  245. package/dist/{TextUnderlineTooltip-BzmmiJlC.d.mts → TextUnderlineTooltip-_7mIrZ2-.d.mts} +3 -3
  246. package/dist/TextUnderlineTooltip.d.mts +1 -1
  247. package/dist/Tile.d.mts +2 -2
  248. package/dist/Toast.d.mts +1 -1
  249. package/dist/{Toggle-BGGQ4Ukl.d.mts → Toggle-Cav7bMxg.d.mts} +1 -1
  250. package/dist/{Toggle-BPgfSjuu.mjs → Toggle-e8DCYa6i.mjs} +7 -7
  251. package/dist/{Toggle-BPgfSjuu.mjs.map → Toggle-e8DCYa6i.mjs.map} +1 -1
  252. package/dist/Toggle.d.mts +1 -1
  253. package/dist/{Tooltip-D_a-RwAN.d.mts → Tooltip-DX-N-szt.d.mts} +3 -3
  254. package/dist/{Tooltip-BvDbmXak.mjs → Tooltip-iJcfJqxn.mjs} +5 -5
  255. package/dist/{Tooltip-BvDbmXak.mjs.map → Tooltip-iJcfJqxn.mjs.map} +1 -1
  256. package/dist/Tooltip.d.mts +1 -1
  257. package/dist/{TruncatedText-BJnowVTx.d.mts → TruncatedText-D2R7uy_y.d.mts} +2 -2
  258. package/dist/components/Attribute/index.mjs +7 -7
  259. package/dist/components/Attribute/index.mjs.map +1 -1
  260. package/dist/components/Badge/index.mjs +1 -1
  261. package/dist/components/Banner/index.mjs +3 -3
  262. package/dist/components/Breadcrumbs/index.d.mts +1 -1
  263. package/dist/components/Breadcrumbs/index.mjs +1 -1
  264. package/dist/components/Button/index.d.mts +2 -2
  265. package/dist/components/Button/index.mjs +1 -1
  266. package/dist/components/ButtonGroup/index.mjs +4 -4
  267. package/dist/components/Card/index.d.mts +2 -2
  268. package/dist/components/Card/index.mjs +1 -1
  269. package/dist/components/CardV2/index.d.mts +1 -1
  270. package/dist/components/CardV2/index.mjs +1 -1
  271. package/dist/components/Checkbox/index.d.mts +1 -1
  272. package/dist/components/Checkbox/index.mjs +1 -1
  273. package/dist/components/Combobox/index.d.mts +2 -2
  274. package/dist/components/Combobox/index.mjs +1 -1
  275. package/dist/components/ConfigFormGroup/index.mjs +2 -2
  276. package/dist/components/DataTable/TableControls/index.d.mts +15 -15
  277. package/dist/components/DataTable/TableControls/index.mjs +1 -1
  278. package/dist/components/DataTable/index.mjs +25 -25
  279. package/dist/components/DataTable/index.mjs.map +1 -1
  280. package/dist/components/DataTable/types.d.mts +2 -2
  281. package/dist/components/DatePicker/index.d.mts +4 -4
  282. package/dist/components/DatePicker/index.mjs +1 -1
  283. package/dist/components/DropdownButton/index.mjs +1 -1
  284. package/dist/components/DropdownMenu/index.d.mts +1 -1
  285. package/dist/components/DropdownMenu/index.mjs +1 -1
  286. package/dist/components/FloatingPanel/index.mjs +8 -8
  287. package/dist/components/FloatingPanel/index.mjs.map +1 -1
  288. package/dist/components/FormControl/index.d.mts +2 -2
  289. package/dist/components/FormControl/index.mjs +2 -2
  290. package/dist/components/FormField/index.d.mts +1 -1
  291. package/dist/components/FormField/index.mjs +1 -1
  292. package/dist/components/HoverCopyableField/index.d.mts +2 -2
  293. package/dist/components/HoverCopyableField/index.mjs +2 -2
  294. package/dist/components/ImageTile/index.mjs +10 -10
  295. package/dist/components/Input/index.d.mts +1 -1
  296. package/dist/components/Input/index.mjs +1 -1
  297. package/dist/components/Link/index.mjs +4 -4
  298. package/dist/components/Link/index.mjs.map +1 -1
  299. package/dist/components/ListBox/index.d.mts +3 -3
  300. package/dist/components/ListBox/index.mjs +1 -1
  301. package/dist/components/LoadingShimmer/index.mjs +1 -1
  302. package/dist/components/MaskedInput/index.mjs +2 -2
  303. package/dist/components/MatchHighlight/index.mjs +1 -1
  304. package/dist/components/Menu/index.d.mts +1 -1
  305. package/dist/components/Menu/index.mjs +1 -1
  306. package/dist/components/Modal/index.mjs +42 -12
  307. package/dist/components/Modal/index.mjs.map +1 -1
  308. package/dist/components/PageHeader/index.mjs +1 -1
  309. package/dist/components/Pagination/index.d.mts +3 -3
  310. package/dist/components/Pagination/index.mjs +1 -1
  311. package/dist/components/Pii/index.mjs +1 -1
  312. package/dist/components/Popover/index.mjs +1 -1
  313. package/dist/components/ProgressBar/index.mjs +2 -2
  314. package/dist/components/ProgressIndicator/index.mjs +2 -2
  315. package/dist/components/Radio/index.mjs +1 -1
  316. package/dist/components/RadioGroup/index.d.mts +1 -1
  317. package/dist/components/RadioGroup/index.mjs +1 -1
  318. package/dist/components/SegmentedControl/index.d.mts +1 -1
  319. package/dist/components/SegmentedControl/index.mjs +1 -1
  320. package/dist/components/Select/index.d.mts +1 -1
  321. package/dist/components/Select/index.mjs +1 -1
  322. package/dist/components/Slider/index.mjs +4 -4
  323. package/dist/components/Spacer/index.mjs +1 -1
  324. package/dist/components/Spinner/index.mjs +1 -1
  325. package/dist/components/Stack/index.d.mts +1 -1
  326. package/dist/components/Stack/index.mjs +1 -1
  327. package/dist/components/StatusIndicator/index.mjs +2 -2
  328. package/dist/components/Sticker/index.d.mts +1 -1
  329. package/dist/components/Sticker/index.mjs +1 -1
  330. package/dist/components/SwatchPicker/index.mjs +1 -1
  331. package/dist/components/TabBar/index.mjs +1 -1
  332. package/dist/components/Table/index.d.mts +7 -7
  333. package/dist/components/Table/index.mjs +1 -1
  334. package/dist/components/TableBox/index.d.mts +2 -2
  335. package/dist/components/TableBox/index.mjs +1 -1
  336. package/dist/components/TechnicalSticker/index.mjs +1 -1
  337. package/dist/components/Text/index.d.mts +1 -1
  338. package/dist/components/Text/index.mjs +1 -1
  339. package/dist/components/TextArea/index.d.mts +1 -1
  340. package/dist/components/TextArea/index.mjs +1 -1
  341. package/dist/components/Tile/index.mjs +5 -5
  342. package/dist/components/Toast/index.mjs +5 -5
  343. package/dist/components/Toggle/index.d.mts +1 -1
  344. package/dist/components/Toggle/index.mjs +1 -1
  345. package/dist/components/Tooltip/index.d.mts +3 -3
  346. package/dist/components/Tooltip/index.mjs +1 -1
  347. package/dist/compound-expression.d.mts +1 -1
  348. package/dist/{constants-BASogfT_.d.mts → constants-bA9kCzRQ.d.mts} +1 -1
  349. package/dist/constants.d.mts +1 -1
  350. package/dist/display.d.mts +1 -1
  351. package/dist/fieldPickerOptions.d.mts +2 -2
  352. package/dist/{filter-size-context-Bw5F7082.d.mts → filter-size-context-C7injfBh.d.mts} +2 -2
  353. package/dist/filter-size-context.d.mts +1 -1
  354. package/dist/helpers.d.mts +1 -1
  355. package/dist/{index--5Mfhlkj.d.mts → index-BPfK-u7y.d.mts} +2 -2
  356. package/dist/{index-DiCnyORA.d.mts → index-BxBsQi2S.d.mts} +5 -5
  357. package/dist/{index-C1bz13uw.d.mts → index-d_fTFuMM.d.mts} +5 -5
  358. package/dist/index.d.mts +1 -1
  359. package/dist/index2.d.mts +1 -1
  360. package/dist/index3.d.mts +3 -3
  361. package/dist/index4.d.mts +10 -10
  362. package/dist/{input-CzO-6_1V.d.mts → input-D9FuQmlI.d.mts} +3 -3
  363. package/dist/inputFields.d.mts +11 -11
  364. package/dist/{intersperse-yd3oMrQl.mjs → intersperse-CLkblj9A.mjs} +1 -1
  365. package/dist/{intersperse-yd3oMrQl.mjs.map → intersperse-CLkblj9A.mjs.map} +1 -1
  366. package/dist/lib/GlobalStyles.mjs +1 -1
  367. package/dist/lib/HeadlessAriaButton.mjs +1 -1
  368. package/dist/lib/MiddleTruncatedText.mjs +1 -1
  369. package/dist/lib/PDSProvider.d.mts +1 -1
  370. package/dist/lib/PDSProvider.mjs +1 -1
  371. package/dist/lib/TruncatedText.d.mts +1 -1
  372. package/dist/lib/TruncatedText.mjs +2 -2
  373. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  374. package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
  375. package/dist/lib/embeddedSurfaceProtocol.d.mts +13 -1
  376. package/dist/lib/embeddedSurfaceProtocol.mjs +32 -5
  377. package/dist/lib/embeddedSurfaceProtocol.mjs.map +1 -1
  378. package/dist/lib/message.d.mts +1 -1
  379. package/dist/lib/pseudoClass.d.mts +8 -8
  380. package/dist/lib/useEmbeddedSurface.d.mts +31 -3
  381. package/dist/lib/useEmbeddedSurface.mjs +118 -13
  382. package/dist/lib/useEmbeddedSurface.mjs.map +1 -1
  383. package/dist/{message-Cu84fcqB.d.mts → message-CqKB5mko.d.mts} +1 -1
  384. package/dist/mixins/focus.d.mts +1 -1
  385. package/dist/mixins/focus.mjs +1 -1
  386. package/dist/mixins/hoverable.d.mts +2 -2
  387. package/dist/mixins/hoverable.mjs +2 -2
  388. package/dist/mixins/input.d.mts +1 -1
  389. package/dist/mixins/input.mjs +2 -2
  390. package/dist/mixins/menuItem.d.mts +2 -2
  391. package/dist/mixins/menuItem.mjs +1 -1
  392. package/dist/mixins/print/index.mjs +1 -1
  393. package/dist/mixins/text.d.mts +1 -1
  394. package/dist/mixins/text.mjs +1 -1
  395. package/dist/{operators-CmSqHnTH.d.mts → operators-CgcsYzfy.d.mts} +2 -2
  396. package/dist/operators.d.mts +1 -1
  397. package/dist/patterns/LayoutLoadingShimmer/index.mjs +6 -6
  398. package/dist/patterns/LayoutLoadingSpinner/index.d.mts +2 -0
  399. package/dist/patterns/LayoutLoadingSpinner/index.mjs +56 -0
  400. package/dist/patterns/LayoutLoadingSpinner/index.mjs.map +1 -0
  401. package/dist/patterns/PageLayout/index.mjs +1 -1
  402. package/dist/styledComponentsInterop-8zScIQyC.mjs +33 -0
  403. package/dist/styledComponentsInterop-8zScIQyC.mjs.map +1 -0
  404. package/dist/{text-BaQdW8qa.d.mts → text-xwtyWIbE.d.mts} +1 -1
  405. package/dist/{theme-D9Y6NOzb.d.mts → theme-Ftogn9Wo.d.mts} +1 -1
  406. package/dist/theme.d.mts +1 -1
  407. package/dist/{types-DEh_pXgS.d.mts → types-0_9G0kWg.d.mts} +3 -1
  408. package/dist/{types-NJtAxsU1.d.mts → types-BrNreYUU.d.mts} +2 -2
  409. package/dist/{types-C-TkDdkG.d.mts → types-D55MZSyx.d.mts} +1 -1
  410. package/dist/{types-TV9nVfSe.d.mts → types-DVsBRqjZ.d.mts} +1 -1
  411. package/dist/types.d.mts +1 -1
  412. package/dist/types2.d.mts +1 -1
  413. package/dist/types3.d.mts +1 -1
  414. package/dist/types4.d.mts +1 -1
  415. package/dist/useComboboxFooterAction.d.mts +1 -1
  416. package/dist/{useFilterStateV2-C4itmN4S.d.mts → useFilterStateV2-D8Q8QKhS.d.mts} +3 -3
  417. package/dist/useFilterStateV2.d.mts +1 -1
  418. package/dist/{useFormField-B2U4GOH4.d.mts → useFormField-BBbq1izo.d.mts} +2 -2
  419. package/dist/{useFormField-eftOPiXj.mjs → useFormField-Bz2iMPBO.mjs} +2 -2
  420. package/dist/{useFormField-eftOPiXj.mjs.map → useFormField-Bz2iMPBO.mjs.map} +1 -1
  421. package/dist/useFormField.d.mts +1 -1
  422. package/dist/{useFormGroup-BMukAMAd.mjs → useFormGroup-CaTiD_Yt.mjs} +1 -1
  423. package/dist/{useFormGroup-BMukAMAd.mjs.map → useFormGroup-CaTiD_Yt.mjs.map} +1 -1
  424. package/dist/{useTableBoxDragAndDrop-CpemHLhL.d.mts → useTableBoxDragAndDrop-Bye8gJTl.d.mts} +1 -1
  425. package/dist/useTableBoxDragAndDrop.d.mts +1 -1
  426. package/dist/useTruncation.d.mts +1 -1
  427. package/dist/{utilities-DnSIlR1i.d.mts → utilities-Bmwk_DRn.d.mts} +1 -1
  428. package/dist/utilities.d.mts +1 -1
  429. package/dist/utils/storybook.mjs +1 -1
  430. package/dist/utils/testing.d.mts +1 -1
  431. package/dist/utils/testing.mjs +1 -1
  432. package/dist/utils.d.mts +1 -1
  433. package/dist/utils2.d.mts +12 -1
  434. package/dist/{validation-B5IXsdkE.d.mts → validation-CAtTuHO9.d.mts} +3 -3
  435. package/dist/validation.d.mts +1 -1
  436. package/dist/{value-control-resolver-BPlTeIX7.d.mts → value-control-resolver-DadI8r9a.d.mts} +2 -2
  437. package/dist/value-control-resolver.d.mts +1 -1
  438. package/dist/variables/keyframes.mjs +1 -1
  439. package/llms.txt +4 -4
  440. package/package.json +4 -2
  441. package/skills/ui-authoring/COMPONENTS.md +69 -305
  442. package/skills/ui-authoring/PATTERNS.md +362 -0
  443. package/skills/ui-authoring/SKILL.md +15 -147
  444. package/skills/ui-authoring/TOKENS.md +400 -0
  445. package/dist/Combobox-xBrxiUAu.mjs.map +0 -1
  446. package/dist/DatePicker-BlnE2MBD.mjs.map +0 -1
  447. package/dist/FormField-B9P3BWvS.mjs.map +0 -1
  448. package/dist/HoverCopyableField-0Bzygbp9.mjs.map +0 -1
  449. package/dist/TableControls-CZ9iu3ma.mjs.map +0 -1
  450. package/skills/ui-authoring/EXAMPLES.md +0 -370
  451. package/skills/ui-authoring/REFERENCE.md +0 -293
  452. /package/dist/{index-7rWKHdox.d.mts → index-0-W_aPej.d.mts} +0 -0
  453. /package/dist/{index-BMBcfD_R.d.mts → index-7in8TPrM.d.mts} +0 -0
  454. /package/dist/{index-BOn0AAue.d.mts → index-BINnViIh.d.mts} +0 -0
  455. /package/dist/{index-BYd3Btr1.d.mts → index-BNRXMhlr.d.mts} +0 -0
  456. /package/dist/{index-CKKoxA9V.d.mts → index-BO_854F2.d.mts} +0 -0
  457. /package/dist/{index-CNxS4Tlu.d.mts → index-BSVhZrWN.d.mts} +0 -0
  458. /package/dist/{index-CRo77wc3.d.mts → index-BrGZHEgX.d.mts} +0 -0
  459. /package/dist/{index-CWB6exYm.d.mts → index-BwAfCVZH2.d.mts} +0 -0
  460. /package/dist/{index-CtJuGxUp.d.mts → index-CCt0lwyI.d.mts} +0 -0
  461. /package/dist/{index-CzItj62a.d.mts → index-CDGG7lCB.d.mts} +0 -0
  462. /package/dist/{index-D4DUvwPf.d.mts → index-CFhUdAHM.d.mts} +0 -0
  463. /package/dist/{index-D5tSVhTd.d.mts → index-CREkvfw9.d.mts} +0 -0
  464. /package/dist/{index-DGsJdI5l.d.mts → index-CROz1VSV.d.mts} +0 -0
  465. /package/dist/{index-DkrC-i1D.d.mts → index-CzUpNo0e.d.mts} +0 -0
  466. /package/dist/{index-DztUdPP_.d.mts → index-DA6_cwf8.d.mts} +0 -0
  467. /package/dist/{index-Es5nKSSL.d.mts → index-DM6vVDZD.d.mts} +0 -0
  468. /package/dist/{index-FtE8MXJ_.d.mts → index-DeVKzGce.d.mts} +0 -0
  469. /package/dist/{index-IE5cwTAE2.d.mts → index-Jh0C5PIG.d.mts} +0 -0
  470. /package/dist/{index-e6k85DKM.d.mts → index-PWQavSPf.d.mts} +0 -0
  471. /package/dist/{index-ehD5GjMH.d.mts → index-sViox9YW.d.mts} +0 -0
@@ -1,9 +1,9 @@
1
- import { l as MenuItemProps } from "./Menu-CYRdEnfo.mjs";
1
+ import { l as MenuItemProps } from "./Menu-D4Y_J-QI.mjs";
2
2
  import { ImplementsFormField } from "./inputFields.mjs";
3
- import { r as TableBoxRowProps } from "./TableBoxRow-nwq41Bpi.mjs";
4
- import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-DmVX_tgn.mjs";
5
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
+ import { r as TableBoxRowProps } from "./TableBoxRow-DnoumHIE.mjs";
4
+ import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-52g97gEg.mjs";
6
5
  import { MouseEvent, ReactNode } from "react";
6
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
7
7
 
8
8
  //#region components/FormField/TableBoxField.d.ts
9
9
  interface TableBoxFieldAction extends Omit<MenuItemProps, 'children'> {
@@ -1,7 +1,7 @@
1
- import { l as MenuItemProps } from "./Menu-CYRdEnfo.mjs";
2
- import { t as TableRow } from "./TableRow-CPqZ8DK3.mjs";
3
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
1
+ import { l as MenuItemProps } from "./Menu-D4Y_J-QI.mjs";
2
+ import { t as TableRow } from "./TableRow-DdJcjG2b.mjs";
4
3
  import { ComponentPropsWithoutRef, ReactNode } from "react";
4
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
5
5
 
6
6
  //#region components/TableBox/TableBoxRow.d.ts
7
7
  interface TableBoxRowProps extends ComponentPropsWithoutRef<typeof TableRow> {
@@ -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-nwq41Bpi.d.mts.map
86
+ //# sourceMappingURL=TableBoxRow-DnoumHIE.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-nwq41Bpi.mjs";
1
+ import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-DnoumHIE.mjs";
2
2
  export { TableBoxRowOverlay, TableBoxRowProps, TableBoxRow as default };
@@ -1,4 +1,4 @@
1
- import { l as MenuItemProps } from "./Menu-CYRdEnfo.mjs";
1
+ import { l as MenuItemProps } from "./Menu-D4Y_J-QI.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-B4_ojiQo.d.mts.map
57
+ //# sourceMappingURL=TableBoxRowActions-CDcREhP4.d.mts.map
@@ -1,2 +1,2 @@
1
- import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-B4_ojiQo.mjs";
1
+ import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-CDcREhP4.mjs";
2
2
  export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
@@ -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 "./index-C1bz13uw.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 "./index-d_fTFuMM.mjs";
2
2
  export { StickyTD, StickyTH, TableActionTD, TableCellProps, TableCellTitle, TableIconTD, TableTD, TableTR, TableCell as default };
@@ -1,34 +1,34 @@
1
- import { isActive, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
2
- import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
3
- import "./variables/transitions.mjs";
4
- import { paragraphMixins } from "./mixins/text.mjs";
5
- import { n as Stack, t as HStack } from "./Stack-Bl54WmhY.mjs";
1
+ import { a as styled, n as createGlobalStyle, r as css } from "./styledComponentsInterop-8zScIQyC.mjs";
6
2
  import { TruncatedText } from "./lib/TruncatedText.mjs";
7
- import { t as Card_default } from "./Card-BMCB9eFC.mjs";
8
- import { t as Spacer_default } from "./Spacer-CJp0lwkL.mjs";
9
- import { i as Paragraph, r as Label$1 } from "./Text-RcEfNFLx.mjs";
10
- import { a as Tooltip } from "./Tooltip-BvDbmXak.mjs";
3
+ import { paragraphMixins } from "./mixins/text.mjs";
4
+ import { t as Card_default } from "./Card-CKrJtn1f.mjs";
5
+ import { t as Spacer_default } from "./Spacer-BsK8tTwA.mjs";
6
+ import { i as Paragraph, r as Label$1 } from "./Text-B0orb-cZ.mjs";
7
+ import "./variables/transitions.mjs";
8
+ import { a as Tooltip } from "./Tooltip-iJcfJqxn.mjs";
9
+ import { isActive, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
11
10
  import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
12
11
  import { Z_INDICES } from "./lib/zindex.mjs";
13
- import { n as Button, t as IconButton } from "./IconButton-BfDlic2K.mjs";
14
- import { r as InputGroup } from "./Input-Bimw8KFj.mjs";
12
+ import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
13
+ import { n as Stack, t as HStack } from "./Stack-Bre2oiov.mjs";
14
+ import { n as Button, t as IconButton } from "./IconButton-BgL3QUVO.mjs";
15
+ import { r as InputGroup } from "./Input-DoB8YswA.mjs";
15
16
  import Input_default from "./components/Input/index.mjs";
16
- import { c as MenuList, s as MenuItem } from "./Menu-Dir03WA9.mjs";
17
- import { n as DropdownMenu_default } from "./DropdownMenu-BCyV8nC0.mjs";
18
- import { t as Combobox } from "./Combobox-xBrxiUAu.mjs";
19
- import { s as Popover_default } from "./Popover-BkDpDdaO.mjs";
20
- import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-D6UocZXi.mjs";
21
- import { t as Toggle } from "./Toggle-BPgfSjuu.mjs";
22
- import { t as ListBox } from "./ListBox-DKZpGYjo.mjs";
23
- import { m as FormField, o as ComboboxField } from "./FormField-B9P3BWvS.mjs";
24
- import { n as DatePicker, t as DateRangePicker } from "./DatePicker-BlnE2MBD.mjs";
17
+ import { c as MenuList, s as MenuItem } from "./Menu-CHbUf9PQ.mjs";
18
+ import { n as DropdownMenu_default } from "./DropdownMenu-82xH1AZr.mjs";
19
+ import { t as Combobox } from "./Combobox-BGRyr_-L.mjs";
20
+ import { s as Popover_default } from "./Popover-DNH8Jx1-.mjs";
21
+ import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-sYllYizt.mjs";
22
+ import { t as Toggle } from "./Toggle-e8DCYa6i.mjs";
23
+ import { t as ListBox } from "./ListBox-B9uuMt2R.mjs";
24
+ import { m as FormField, o as ComboboxField } from "./FormField-CVnbsNvU.mjs";
25
+ import { n as DatePicker, t as DateRangePicker } from "./DatePicker-BNnZ6L1y.mjs";
25
26
  import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
26
- import styled, { createGlobalStyle, css } from "styled-components";
27
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
28
- import { Fragment as Fragment$1, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
27
+ import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
28
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
29
29
  import { CaretDownIcon, CheckIcon, CircleInfoIcon, CirclePlusIcon, CopyIcon, FilterIcon, MoreIcon, PlusIcon, RotateCcwIcon, SaveIcon, SearchIcon, SettingsIcon, TrashIcon, XIcon } from "@persona/icons";
30
30
  import { CaretDownIcon as CaretDownIcon$1, CircleInfoIcon as CircleInfoIcon$1, LockedIcon as LockedIcon$1, MoreIcon as MoreIcon$1, PlusIcon as PlusIcon$1, SearchIcon as SearchIcon$1, XIcon as XIcon$1 } from "@persona/icons/12px";
31
- import { debounce, isEqual, noop, startCase, union, uniqueId } from "lodash-es";
31
+ import { debounce, isEqual, noop, partition, startCase, union, uniqueId } from "lodash-es";
32
32
  import { useId } from "react-aria";
33
33
  import Fuse from "fuse.js";
34
34
  import { DragIcon as DragIcon$1 } from "@persona/icons/24px";
@@ -207,7 +207,7 @@ const CompactSearchInput = styled(SearchInput)`
207
207
  const CompactBar = ({ title, searchProps, showFilters, setShowFilters, filtersId, isLoading, propertiesButton, tableActions, "data-tour-target": dataTourTarget, filterPanel }) => {
208
208
  const autoExpandSearch = !title;
209
209
  const [showSearch, setShowSearch] = useState(autoExpandSearch);
210
- return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(DataTableCompactBar, {
210
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(DataTableCompactBar, {
211
211
  "data-tour-target": dataTourTarget,
212
212
  justify: "space-between",
213
213
  align: "center",
@@ -617,7 +617,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
617
617
  children: displayLabel
618
618
  }, key);
619
619
  });
620
- return /* @__PURE__ */ jsxs(Fragment, { children: [
620
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
621
621
  /* @__PURE__ */ jsx(ProductTourStyles, {}),
622
622
  (title || showViews || canEditViews && onSaveView || tableActions || bulkActions) && /* @__PURE__ */ jsx(ViewsBar, {
623
623
  ref: tabListRef,
@@ -645,7 +645,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
645
645
  tableActions
646
646
  ]
647
647
  }),
648
- children: showViews && /* @__PURE__ */ jsxs(Fragment, { children: [
648
+ children: showViews && /* @__PURE__ */ jsxs(Fragment$1, { children: [
649
649
  /* @__PURE__ */ jsx(LockedViewTab, {
650
650
  id: `${TAB_ID_PREFIX}default`,
651
651
  selected: !currentView,
@@ -834,8 +834,35 @@ function reorder(list, startIndex, endIndex) {
834
834
  result.splice(endIndex, 0, removed);
835
835
  return result;
836
836
  }
837
+ /**
838
+ * Translates a drag result into indices into the full list. dnd reports positions among the
839
+ * rendered rows, which diverge from the full list as soon as the view is filtered.
840
+ *
841
+ * Returns null when either end cannot be resolved, in which case the drag should be ignored
842
+ * rather than applied at the wrong position.
843
+ */
844
+ function resolveDragIndices(listKeys, renderedKeys, draggableId, destinationIndex) {
845
+ const destinationKey = renderedKeys[destinationIndex];
846
+ if (destinationKey == null) return null;
847
+ const from = listKeys.indexOf(draggableId);
848
+ const to = listKeys.indexOf(destinationKey);
849
+ return from === -1 || to === -1 ? null : {
850
+ from,
851
+ to
852
+ };
853
+ }
837
854
  //#endregion
838
855
  //#region components/DataTable/TableControls/TableViewConfigurationDropdown.tsx
856
+ const SHOWN_DROPPABLE_ID = "cases-view__configure-shown-columns";
857
+ const startsCapitalized = (label) => {
858
+ const first = label.charAt(0);
859
+ return first !== "" && first === first.toUpperCase() && first !== first.toLowerCase();
860
+ };
861
+ const byLabel = (a, b) => {
862
+ const aCapitalized = startsCapitalized(a.label);
863
+ if (aCapitalized !== startsCapitalized(b.label)) return aCapitalized ? -1 : 1;
864
+ return a.label.localeCompare(b.label, void 0, { numeric: true });
865
+ };
839
866
  const DndSection = styled("div")`
840
867
  max-height: 400px;
841
868
 
@@ -912,10 +939,20 @@ const TableViewConfigurationDropdown = ({ disabled = false, disabledTooltipMessa
912
939
  })
913
940
  })] });
914
941
  };
915
- const TableViewConfiguration = ({ columnConfiguration, attributeOptions, updateColumnConfiguration, getColumnDisabled }) => {
942
+ const TableViewConfiguration = ({ columnConfiguration, attributeOptions, updateColumnConfiguration, getColumnDisabled, sortByRelevance = false }) => {
916
943
  const [searchTerm, setSearchTerm] = useState("");
917
944
  const fuse = useMemo(() => {
918
- return new Fuse(attributeOptions, {
945
+ return new Fuse(attributeOptions, sortByRelevance ? {
946
+ shouldSort: true,
947
+ threshold: .3,
948
+ ignoreLocation: true,
949
+ includeScore: true,
950
+ minMatchCharLength: 1,
951
+ keys: [{
952
+ name: "label",
953
+ weight: 1
954
+ }]
955
+ } : {
919
956
  shouldSort: false,
920
957
  threshold: .4,
921
958
  location: 0,
@@ -926,27 +963,49 @@ const TableViewConfiguration = ({ columnConfiguration, attributeOptions, updateC
926
963
  weight: 1
927
964
  }]
928
965
  });
929
- }, [attributeOptions]);
966
+ }, [attributeOptions, sortByRelevance]);
930
967
  const allOptions = useMemo(() => union(attributeOptions, columnConfiguration), [attributeOptions, columnConfiguration]);
931
- const filteredSearchOptions = searchTerm === "" ? allOptions : fuse.search(searchTerm).map(({ item }) => item);
968
+ const filteredSearchOptions = useMemo(() => {
969
+ if (searchTerm === "") return allOptions;
970
+ const results = fuse.search(searchTerm);
971
+ if (!sortByRelevance) return results.map(({ item }) => item);
972
+ return [...results].sort((a, b) => (a.score ?? 0) - (b.score ?? 0) || byLabel(a.item, b.item)).map(({ item }) => item);
973
+ }, [
974
+ allOptions,
975
+ fuse,
976
+ searchTerm,
977
+ sortByRelevance
978
+ ]);
932
979
  const hiddenAttributes = useMemo(() => {
933
- return filteredSearchOptions.filter((attribute) => {
934
- return !columnConfiguration.map((c) => c.key).includes(attribute.key);
935
- });
936
- }, [columnConfiguration, filteredSearchOptions]);
980
+ const columnConfigurationKeys = new Set(columnConfiguration.map((c) => c.key));
981
+ const hidden = filteredSearchOptions.filter((attribute) => !columnConfigurationKeys.has(attribute.key));
982
+ if (!sortByRelevance || searchTerm !== "") return hidden;
983
+ const [systemColumns, customFields] = partition(hidden, (a) => !a.isCustomField);
984
+ return [...systemColumns, ...[...customFields].sort(byLabel)];
985
+ }, [
986
+ columnConfiguration,
987
+ filteredSearchOptions,
988
+ sortByRelevance,
989
+ searchTerm
990
+ ]);
937
991
  const filteredShownAttributes = useMemo(() => {
938
992
  return columnConfiguration.filter((column) => filteredSearchOptions.map((o) => o.key).includes(column.key));
939
993
  }, [columnConfiguration, filteredSearchOptions]);
940
994
  const handleDragEnd = (result, _provided) => {
941
995
  const { destination, source } = result;
942
996
  if (!destination || destination.droppableId === source.droppableId && destination.index === source.index) return;
943
- updateColumnConfiguration(reorder(columnConfiguration, source.index, destination.index));
997
+ const indices = resolveDragIndices(columnConfiguration.map((c) => c.key), filteredShownAttributes.map((c) => c.key), result.draggableId, destination.index);
998
+ if (!indices) return;
999
+ updateColumnConfiguration(reorder(columnConfiguration, indices.from, indices.to));
944
1000
  };
945
1001
  const generateShownAttributesToggle = (column) => () => {
946
1002
  updateColumnConfiguration(columnConfiguration.filter((a) => a.key !== column.key));
947
1003
  };
948
1004
  const generateHiddenAttributesToggle = (column) => () => {
949
- updateColumnConfiguration(columnConfiguration.concat(column));
1005
+ updateColumnConfiguration(columnConfiguration.concat({
1006
+ key: column.key,
1007
+ label: column.label
1008
+ }));
950
1009
  };
951
1010
  const shownColumnIds = useMemo(() => {
952
1011
  return columnConfiguration.map((c) => c.key);
@@ -993,7 +1052,7 @@ const TableViewConfiguration = ({ columnConfiguration, attributeOptions, updateC
993
1052
  shownDndItemProps.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Paragraph, { children: "Shown attributes" }), /* @__PURE__ */ jsx(DragDropContext, {
994
1053
  onDragEnd: handleDragEnd,
995
1054
  children: /* @__PURE__ */ jsx(Droppable, {
996
- droppableId: "cases-view__configure-shown-columns",
1055
+ droppableId: SHOWN_DROPPABLE_ID,
997
1056
  renderClone: (provided, _snapshot, rubric) => {
998
1057
  return /* @__PURE__ */ jsx("div", {
999
1058
  ...provided.draggableProps,
@@ -1026,41 +1085,7 @@ const TableViewConfiguration = ({ columnConfiguration, attributeOptions, updateC
1026
1085
  })
1027
1086
  })] }),
1028
1087
  /* @__PURE__ */ jsx(Spacer_default, { height: 2 }),
1029
- hiddenDndItemProps.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Paragraph, { children: "Hidden attributes" }), /* @__PURE__ */ jsx(DragDropContext, {
1030
- onDragEnd: handleDragEnd,
1031
- children: /* @__PURE__ */ jsx(Droppable, {
1032
- droppableId: "cases-view__configure-hidden-columns",
1033
- renderClone: (provided, _snapshot, rubric) => {
1034
- return /* @__PURE__ */ jsx("div", {
1035
- ...provided.draggableProps,
1036
- ...provided.dragHandleProps,
1037
- ref: provided.innerRef,
1038
- children: /* @__PURE__ */ jsx(AttributeDnd, { ...hiddenDndItemProps[rubric.source.index] })
1039
- });
1040
- },
1041
- children: (provided) => {
1042
- return /* @__PURE__ */ jsxs("div", {
1043
- ref: provided.innerRef,
1044
- ...provided.droppableProps,
1045
- children: [hiddenDndItemProps.map((props, idx) => {
1046
- return /* @__PURE__ */ jsx(Draggable, {
1047
- draggableId: props.column.key,
1048
- index: idx,
1049
- isDragDisabled: props.shouldDisableDrag,
1050
- children: (provided) => {
1051
- return /* @__PURE__ */ jsx("div", {
1052
- ref: provided.innerRef,
1053
- ...provided.draggableProps,
1054
- ...provided.dragHandleProps,
1055
- children: /* @__PURE__ */ jsx(AttributeDnd, { ...props })
1056
- });
1057
- }
1058
- }, `${props.column.key}`);
1059
- }), provided.placeholder]
1060
- });
1061
- }
1062
- })
1063
- })] })
1088
+ hiddenDndItemProps.length > 0 && /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Paragraph, { children: "Hidden attributes" }), hiddenDndItemProps.map((props) => /* @__PURE__ */ jsx(AttributeDnd, { ...props }, props.column.key))] })
1064
1089
  ] }) : /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Paragraph, { children: "No matching attributes" }) })
1065
1090
  ] });
1066
1091
  };
@@ -1443,7 +1468,7 @@ function buildFieldPickerOptions(registry, visibleCustomFieldParents, excludeFie
1443
1468
  //#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/RuleEditorFields.tsx
1444
1469
  function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size, operators, operatorConfigurable, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
1445
1470
  const fieldOptions = useMemo(() => buildFieldPickerOptions(registry), [registry]);
1446
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1471
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
1447
1472
  /* @__PURE__ */ jsx(ComboboxField, {
1448
1473
  label: "Value",
1449
1474
  labelProps: { size },
@@ -1485,7 +1510,7 @@ function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size,
1485
1510
  field && !isValuelessOperator(rule.operator) ? /* @__PURE__ */ jsx(FormField, {
1486
1511
  label: "Value",
1487
1512
  labelProps: { size },
1488
- children: /* @__PURE__ */ jsx(Fragment, { children: renderValueControl(field, rule.operator, rule.value, (next) => onValueChange(groupIndex, ruleIndex, next)) })
1513
+ children: /* @__PURE__ */ jsx(Fragment$1, { children: renderValueControl(field, rule.operator, rule.value, (next) => onValueChange(groupIndex, ruleIndex, next)) })
1489
1514
  }) : null
1490
1515
  ] });
1491
1516
  }
@@ -1870,7 +1895,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
1870
1895
  const isEmptyGroup = group.rules.length === 0;
1871
1896
  const hideGroupMenu = isOnlyGroup && isEmptyGroup;
1872
1897
  const deleteGroupLabel = isOnlyGroup && !isEmptyGroup ? "Clear all" : "Delete group";
1873
- return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsxs(GroupCard, {
1898
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(GroupCard, {
1874
1899
  "data-test": `advanced-filter-rules__group-${groupIndex}`,
1875
1900
  role: "group",
1876
1901
  "aria-label": `Filter group ${groupIndex + 1}`,
@@ -2666,7 +2691,7 @@ const PillShell = forwardRef(function PillShell({ variant, children, bodyAriaLab
2666
2691
  "aria-haspopup": "dialog",
2667
2692
  "aria-expanded": ariaExpanded,
2668
2693
  children
2669
- }), onDismiss ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DismissibleCaretWrapper, {
2694
+ }), onDismiss ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DismissibleCaretWrapper, {
2670
2695
  "aria-hidden": "true",
2671
2696
  $size: resolvedSize,
2672
2697
  children: /* @__PURE__ */ jsx(CaretIcon, {})
@@ -3742,7 +3767,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
3742
3767
  enabled: true,
3743
3768
  isOpen: rulesPopoverOpen
3744
3769
  })
3745
- }) : null, hasPills ? /* @__PURE__ */ jsxs(Fragment, { children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(Divider, {
3770
+ }) : null, hasPills ? /* @__PURE__ */ jsxs(Fragment$1, { children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(Divider, {
3746
3771
  "aria-hidden": "true",
3747
3772
  $size: size
3748
3773
  }) : null, /* @__PURE__ */ jsxs(PillsScrollRegion, {
@@ -4047,4 +4072,4 @@ function normalizeFieldSource(raw) {
4047
4072
  //#endregion
4048
4073
  export { TableViewConfigurationDropdown as C, DataTableCompactBar as E, TableViewConfiguration as S, ControlBar as T, isValuelessOperator as _, hasCompleteValue as a, TableControlsProvider as b, EMPTY_FILTER_STATE as c, emptyValueForRule as d, getDefaultOperatorForType as f, isRangeOperator as g, isCompleteDateRange as h, useFilterStateV2 as i, resolveValueControl as l, getOperatorsForType as m, buildFieldRegistry as n, isFilterStateV2 as o, getOperatorsForField as p, FilterBar_default as r, pruneToRegistry as s, FieldRegistry as t, useFilterBarSize as u, reconcileValueForOperator as v, TableControls as w, useTableControls as x, TableControlsContext as y };
4049
4074
 
4050
- //# sourceMappingURL=TableControls-CZ9iu3ma.mjs.map
4075
+ //# sourceMappingURL=TableControls-3bXyd8gS.mjs.map