@persona/design-system 0.8.0 → 0.8.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 (542) hide show
  1. package/CHANGELOG.md +241 -0
  2. package/dist/Accordion.d.mts +1 -1
  3. package/dist/AccordionItem.d.mts +1 -1
  4. package/dist/{Action-B-AiHknZ.d.mts → Action-BwYS9qaG.d.mts} +3 -3
  5. package/dist/Action.d.mts +1 -1
  6. package/dist/AdvancedFilterRuleRow.d.mts +4 -2
  7. package/dist/AdvancedFilterRulesPopover.d.mts +5 -3
  8. package/dist/ArrayValueControl.d.mts +1 -1
  9. package/dist/Attribute.d.mts +3 -3
  10. package/dist/{Badge-COqUjFQu.mjs → Badge-D-5tbZDw.mjs} +2 -2
  11. package/dist/{Badge-COqUjFQu.mjs.map → Badge-D-5tbZDw.mjs.map} +1 -1
  12. package/dist/BooleanValueControl.d.mts +1 -1
  13. package/dist/{Breadcrumb-DRFY46ZW.d.mts → Breadcrumb-BADja8tn.d.mts} +1 -1
  14. package/dist/Breadcrumb.d.mts +1 -1
  15. package/dist/{Breadcrumbs-DXS7rU7_.mjs → Breadcrumbs-CNpM0aXm.mjs} +5 -5
  16. package/dist/{Breadcrumbs-DXS7rU7_.mjs.map → Breadcrumbs-CNpM0aXm.mjs.map} +1 -1
  17. package/dist/{Breadcrumbs-DUSbT1I7.d.mts → Breadcrumbs-CxP7ktfM.d.mts} +2 -2
  18. package/dist/Breadcrumbs.d.mts +1 -1
  19. package/dist/{Button-xZ6DC5XC.d.mts → Button-CnswHEJ2.d.mts} +4 -4
  20. package/dist/Button.d.mts +1 -1
  21. package/dist/{Calendar-dPmo2dkj.d.mts → Calendar-Cke5IlMI.d.mts} +1 -1
  22. package/dist/Calendar.d.mts +1 -1
  23. package/dist/CalendarBase.d.mts +1 -1
  24. package/dist/{Card-CUeM8Lh8.d.mts → Card-Bp6L08H4.d.mts} +3 -3
  25. package/dist/Card.d.mts +1 -1
  26. package/dist/{CardV2-D9p7D7jX.mjs → CardV2-DEW6mw_o.mjs} +7 -7
  27. package/dist/{CardV2-D9p7D7jX.mjs.map → CardV2-DEW6mw_o.mjs.map} +1 -1
  28. package/dist/{Checkbox-DoJpxPEz.d.mts → Checkbox-DUXws1Os.d.mts} +1 -1
  29. package/dist/{Checkbox-DQynkc_I.mjs → Checkbox-GibG2pg5.mjs} +3 -3
  30. package/dist/{Checkbox-DQynkc_I.mjs.map → Checkbox-GibG2pg5.mjs.map} +1 -1
  31. package/dist/Checkbox.d.mts +1 -1
  32. package/dist/CheckboxGroupField-DzdOYIjo.d.mts +25 -0
  33. package/dist/CheckboxGroupField.d.mts +2 -25
  34. package/dist/ChoicesValueControl.d.mts +1 -1
  35. package/dist/{Combobox-C_kCY3P3.mjs → Combobox-CCDoNF9Y.mjs} +9 -9
  36. package/dist/{Combobox-C_kCY3P3.mjs.map → Combobox-CCDoNF9Y.mjs.map} +1 -1
  37. package/dist/{Combobox-D7hyf-jA.d.mts → Combobox-CnxmKUQf.d.mts} +3 -3
  38. package/dist/Combobox.d.mts +2 -2
  39. package/dist/{ComboboxBase-BMCY6O7Y.d.mts → ComboboxBase-CtNrsPO9.d.mts} +6 -6
  40. package/dist/ComboboxBase.d.mts +1 -1
  41. package/dist/{ComboboxMultiSelect-L0KYMkmm.d.mts → ComboboxMultiSelect-CMH6iVu4.d.mts} +2 -2
  42. package/dist/ComboboxMultiSelect.d.mts +1 -1
  43. package/dist/{ComboboxSingleSelect-v5oNrJ7M.d.mts → ComboboxSingleSelect-BLPbLmMY.d.mts} +4 -4
  44. package/dist/ComboboxSingleSelect.d.mts +1 -1
  45. package/dist/{CompactBar-DjFaUAsN.d.mts → CompactBar-BwKIIlWz.d.mts} +3 -3
  46. package/dist/CompactBar.d.mts +1 -1
  47. package/dist/{ConfigFormGroup-DLOZOuLf.mjs → ConfigFormGroup-BQXN2Pgj.mjs} +2 -2
  48. package/dist/{ConfigFormGroup-DLOZOuLf.mjs.map → ConfigFormGroup-BQXN2Pgj.mjs.map} +1 -1
  49. package/dist/{ControlBar-Cegjxa6-.d.mts → ControlBar-BJUY6GOX.d.mts} +2 -2
  50. package/dist/ControlBar.d.mts +1 -1
  51. package/dist/DataTable.d.mts +3 -3
  52. package/dist/{DateField-Dk5ykLdr.d.mts → DateField-BojOHfrv.d.mts} +2 -2
  53. package/dist/DateField.d.mts +1 -1
  54. package/dist/{DatePicker-Dtvv0V45.d.mts → DatePicker-BHVx_i_F.d.mts} +2 -2
  55. package/dist/{DatePicker-C7z1yodK.mjs → DatePicker-LPIJrc0n.mjs} +6 -6
  56. package/dist/{DatePicker-C7z1yodK.mjs.map → DatePicker-LPIJrc0n.mjs.map} +1 -1
  57. package/dist/DatePicker.d.mts +1 -1
  58. package/dist/{DateRangePicker-HPYsa4wC.d.mts → DateRangePicker-CelDK_44.d.mts} +3 -3
  59. package/dist/DateRangePicker.d.mts +1 -1
  60. package/dist/DateRangeValueControl.d.mts +2 -2
  61. package/dist/DateValueControl.d.mts +1 -1
  62. package/dist/{DropdownButton-CQrFHOIW.mjs → DropdownButton-i5Dmxiq1.mjs} +3 -3
  63. package/dist/{DropdownButton-CQrFHOIW.mjs.map → DropdownButton-i5Dmxiq1.mjs.map} +1 -1
  64. package/dist/DropdownButton.d.mts +2 -2
  65. package/dist/{DropdownMenu-D1qvgGTZ.d.mts → DropdownMenu-YtLxcNWt.d.mts} +2 -2
  66. package/dist/{DropdownMenu-rm9Nnxn7.mjs → DropdownMenu-j8NWbAvM.mjs} +2 -2
  67. package/dist/{DropdownMenu-rm9Nnxn7.mjs.map → DropdownMenu-j8NWbAvM.mjs.map} +1 -1
  68. package/dist/DropdownMenu.d.mts +1 -1
  69. package/dist/{ErrorProps-B8-Mqf1W.d.mts → ErrorProps-6dRdJ4QQ.d.mts} +1 -1
  70. package/dist/ErrorProps.d.mts +1 -1
  71. package/dist/{FieldRegistry-0LmSQ-jc.d.mts → FieldRegistry-DqO8HiYb.d.mts} +2 -2
  72. package/dist/FieldRegistry.d.mts +1 -1
  73. package/dist/{FilterBar-BMM4Swbt.d.mts → FilterBar-CpAA2Ozk.d.mts} +4 -4
  74. package/dist/FilterBar.d.mts +1 -1
  75. package/dist/FilterPickerMenu.d.mts +2 -2
  76. package/dist/FilterPill.d.mts +1 -1
  77. package/dist/FilterPopover.d.mts +8 -2
  78. package/dist/FloatValueControl.d.mts +1 -1
  79. package/dist/{FormControl-Dg8doZq2.d.mts → FormControl-B-s6G9mp.d.mts} +2 -2
  80. package/dist/{FormControl-DXrxoJLl.mjs → FormControl-bDxFF0hl.mjs} +3 -3
  81. package/dist/{FormControl-DXrxoJLl.mjs.map → FormControl-bDxFF0hl.mjs.map} +1 -1
  82. package/dist/FormControl.d.mts +1 -1
  83. package/dist/FormControlLabel.d.mts +1 -1
  84. package/dist/{FormField-BeLigf9j.d.mts → FormField-D3k-f3-f.d.mts} +2 -2
  85. package/dist/{FormField-Crp3F-hv.mjs → FormField-DbcqNcx2.mjs} +16 -16
  86. package/dist/{FormField-Crp3F-hv.mjs.map → FormField-DbcqNcx2.mjs.map} +1 -1
  87. package/dist/FormField.d.mts +1 -1
  88. package/dist/{Grid-eMLuyRzV.mjs → Grid-CeH9E5Ai.mjs} +1 -1
  89. package/dist/{Grid-eMLuyRzV.mjs.map → Grid-CeH9E5Ai.mjs.map} +1 -1
  90. package/dist/{Header-DxJ6TfPw.d.mts → Header-2K49LYkR.d.mts} +1 -1
  91. package/dist/Header.d.mts +1 -1
  92. package/dist/{HelperTooltip-DcyrpEZI.d.mts → HelperTooltip-CTHUM2nC.d.mts} +2 -2
  93. package/dist/HelperTooltip.d.mts +1 -1
  94. package/dist/HighlightedText.d.mts +61 -0
  95. package/dist/{HoverCopyableField-12bBuG-d.mjs → HoverCopyableField-BARZLhfO.mjs} +3 -3
  96. package/dist/{HoverCopyableField-12bBuG-d.mjs.map → HoverCopyableField-BARZLhfO.mjs.map} +1 -1
  97. package/dist/{IconButton-CCLMYWVN.mjs → IconButton-BHFCjvzs.mjs} +1 -1
  98. package/dist/{IconButton-CCLMYWVN.mjs.map → IconButton-BHFCjvzs.mjs.map} +1 -1
  99. package/dist/{IconButton-BUMMN-gH.d.mts → IconButton-D5hx405r.d.mts} +2 -2
  100. package/dist/IconButton.d.mts +1 -1
  101. package/dist/ImageTile.d.mts +1 -1
  102. package/dist/InlineCombobox.d.mts +1 -1
  103. package/dist/InlineInput.d.mts +1 -1
  104. package/dist/{Input-Cl4o41k4.mjs → Input-BQN97Hzm.mjs} +3 -3
  105. package/dist/{Input-Cl4o41k4.mjs.map → Input-BQN97Hzm.mjs.map} +1 -1
  106. package/dist/{Input-2N2e5JCf.d.mts → Input-BQbcIiVj.d.mts} +3 -3
  107. package/dist/Input.d.mts +1 -1
  108. package/dist/{InputProps-TWzig3QO.d.mts → InputProps-DT1ZReZS.d.mts} +2 -2
  109. package/dist/InputProps.d.mts +1 -1
  110. package/dist/IntegerValueControl.d.mts +1 -1
  111. package/dist/{Link-I9Bklen-.mjs → Link-Bzm4AL5J.mjs} +1 -1
  112. package/dist/{Link-I9Bklen-.mjs.map → Link-Bzm4AL5J.mjs.map} +1 -1
  113. package/dist/Link.d.mts +1 -1
  114. package/dist/{ListBox-BcoXOt73.d.mts → ListBox-CdqRwBvA.d.mts} +7 -7
  115. package/dist/{ListBox-sqeLBiKS.mjs → ListBox-DOqN9DNl.mjs} +9 -9
  116. package/dist/{ListBox-sqeLBiKS.mjs.map → ListBox-DOqN9DNl.mjs.map} +1 -1
  117. package/dist/ListBox.d.mts +1 -1
  118. package/dist/ListBoxField-Bl2WLplO.d.mts +51 -0
  119. package/dist/ListBoxField.d.mts +2 -51
  120. package/dist/{LoadingShimmer-dRSkdlqD.mjs → LoadingShimmer-Ds7rvIUN.mjs} +1 -1
  121. package/dist/{LoadingShimmer-dRSkdlqD.mjs.map → LoadingShimmer-Ds7rvIUN.mjs.map} +1 -1
  122. package/dist/LoadingShimmer.d.mts +1 -1
  123. package/dist/{LogicRow-DXywXdYt.d.mts → LogicRow-CwMAn1sh.d.mts} +3 -3
  124. package/dist/LogicRow.d.mts +1 -1
  125. package/dist/MaskedInput.d.mts +1 -1
  126. package/dist/{Menu-BekLwm8w.d.mts → Menu-CUN9bmc1.d.mts} +3 -3
  127. package/dist/{Menu-CwlI7BMN.mjs → Menu-DjW2b3Wk.mjs} +1 -1
  128. package/dist/{Menu-CwlI7BMN.mjs.map → Menu-DjW2b3Wk.mjs.map} +1 -1
  129. package/dist/Menu.d.mts +1 -1
  130. package/dist/{MiddleTruncatedText-CO58jrNF.mjs → MiddleTruncatedText-DoTyfMem.mjs} +2 -2
  131. package/dist/{MiddleTruncatedText-CO58jrNF.mjs.map → MiddleTruncatedText-DoTyfMem.mjs.map} +1 -1
  132. package/dist/{Modal-ymxlGYKt.d.mts → Modal-CGXJGrKg.d.mts} +2 -2
  133. package/dist/{Modal-CMiFcXC9.mjs → Modal-DHLPK65-.mjs} +4 -4
  134. package/dist/{Modal-CMiFcXC9.mjs.map → Modal-DHLPK65-.mjs.map} +1 -1
  135. package/dist/Modal.d.mts +1 -1
  136. package/dist/{PageHeader-D_0p7UK_.mjs → PageHeader-eI4RM_uL.mjs} +2 -2
  137. package/dist/{PageHeader-D_0p7UK_.mjs.map → PageHeader-eI4RM_uL.mjs.map} +1 -1
  138. package/dist/PageHeader.d.mts +1 -1
  139. package/dist/{PageSelector-Bxulu6vU.d.mts → PageSelector-kAfYxEky.d.mts} +3 -3
  140. package/dist/PageSelector.d.mts +1 -1
  141. package/dist/{Pagination-Co9CfyFQ.mjs → Pagination-6BDOn9bX.mjs} +6 -6
  142. package/dist/Pagination-6BDOn9bX.mjs.map +1 -0
  143. package/dist/{Pagination-Dg-4O7F7.d.mts → Pagination-Bhr7xyd2.d.mts} +2 -2
  144. package/dist/Pagination.d.mts +1 -1
  145. package/dist/{Pii-JGV9gP95.mjs → Pii-DhL1gblz.mjs} +2 -2
  146. package/dist/{Pii-JGV9gP95.mjs.map → Pii-DhL1gblz.mjs.map} +1 -1
  147. package/dist/{PillShell-BA7KK1zS.d.mts → PillShell-CVJL1k5I.d.mts} +2 -2
  148. package/dist/PillShell.d.mts +1 -1
  149. package/dist/{Popover-ZAj03lws.mjs → Popover-CbYaWrAy.mjs} +1 -1
  150. package/dist/{Popover-ZAj03lws.mjs.map → Popover-CbYaWrAy.mjs.map} +1 -1
  151. package/dist/{ProgressIndicator-CQg08vuA.mjs → ProgressIndicator-BpF3XLn3.mjs} +1 -1
  152. package/dist/{ProgressIndicator-CQg08vuA.mjs.map → ProgressIndicator-BpF3XLn3.mjs.map} +1 -1
  153. package/dist/{ProgressIndicator-D85HQGSx.d.mts → ProgressIndicator-CYyM6OSx.d.mts} +1 -1
  154. package/dist/ProgressIndicator.d.mts +1 -1
  155. package/dist/{PseudoClassProps-BHs8TX_3.d.mts → PseudoClassProps-BOVN6Etr.d.mts} +1 -1
  156. package/dist/PseudoClassProps.d.mts +1 -1
  157. package/dist/{Radio-CYV290JI.mjs → Radio-DPaX-9LH.mjs} +2 -2
  158. package/dist/{Radio-CYV290JI.mjs.map → Radio-DPaX-9LH.mjs.map} +1 -1
  159. package/dist/{RadioGroup-Cq3KV1TN.d.mts → RadioGroup-C0l0pdEt.d.mts} +1 -1
  160. package/dist/{RadioGroup-lWMMtu9V.mjs → RadioGroup-D7f4m2Uc.mjs} +2 -2
  161. package/dist/{RadioGroup-lWMMtu9V.mjs.map → RadioGroup-D7f4m2Uc.mjs.map} +1 -1
  162. package/dist/RadioGroup.d.mts +1 -1
  163. package/dist/{RangeCalendar-Mh7h74Tp.d.mts → RangeCalendar-BJn9V3iN.d.mts} +2 -2
  164. package/dist/RangeCalendar.d.mts +1 -1
  165. package/dist/RangeCalendarPresets.d.mts +1 -1
  166. package/dist/{RouterContext-B3IU1jb0.d.mts → RouterContext-BLrzYlJ_.d.mts} +2 -2
  167. package/dist/RouterContext.d.mts +1 -1
  168. package/dist/{RouterLink-CwAqTLC2.d.mts → RouterLink-BHXjhqps.d.mts} +2 -2
  169. package/dist/RouterLink.d.mts +1 -1
  170. package/dist/RuleEditorFields.d.mts +4 -2
  171. package/dist/RulesPill.d.mts +1 -1
  172. package/dist/{SearchInput-BGyUUcoz.d.mts → SearchInput-Buh8LdIL.d.mts} +2 -2
  173. package/dist/SearchInput.d.mts +1 -1
  174. package/dist/SectionHeading.d.mts +1 -1
  175. package/dist/{SegmentedControl-DgDabSgr.d.mts → SegmentedControl-B9qLyIIW.d.mts} +1 -1
  176. package/dist/{SegmentedControl-BEbIcV3g.mjs → SegmentedControl-zEvBtVj0.mjs} +2 -2
  177. package/dist/{SegmentedControl-BEbIcV3g.mjs.map → SegmentedControl-zEvBtVj0.mjs.map} +1 -1
  178. package/dist/SegmentedControl.d.mts +1 -1
  179. package/dist/{Select-yC2t_gZb.mjs → Select-BoZuM_e9.mjs} +6 -6
  180. package/dist/{Select-yC2t_gZb.mjs.map → Select-BoZuM_e9.mjs.map} +1 -1
  181. package/dist/{Select-wqTtGyga.d.mts → Select-Cv_9PLOt.d.mts} +3 -3
  182. package/dist/Select.d.mts +1 -1
  183. package/dist/SmartTextInput.d.mts +107 -0
  184. package/dist/SmartTextInputCodeDialog.d.mts +18 -0
  185. package/dist/SmartTextInputField.d.mts +25 -0
  186. package/dist/SmartTextInputFunctionDialog.d.mts +37 -0
  187. package/dist/SmartTextInputListbox.d.mts +26 -0
  188. package/dist/SmartTextInputPopover.d.mts +45 -0
  189. package/dist/{Spinner-BlAg8_OX.mjs → Spinner-CarSRiBF.mjs} +1 -1
  190. package/dist/{Spinner-BlAg8_OX.mjs.map → Spinner-CarSRiBF.mjs.map} +1 -1
  191. package/dist/{Stack-Bkn0TUDe.mjs → Stack-CEPzs4Pb.mjs} +1 -1
  192. package/dist/{Stack-Bkn0TUDe.mjs.map → Stack-CEPzs4Pb.mjs.map} +1 -1
  193. package/dist/{Stack-CYqjBXe8.d.mts → Stack-XzBzPvSV.d.mts} +1 -1
  194. package/dist/Stack.d.mts +1 -1
  195. package/dist/{StatusIndicator-DT2zNbkp.mjs → StatusIndicator-bEnMWV_S.mjs} +1 -1
  196. package/dist/{StatusIndicator-DT2zNbkp.mjs.map → StatusIndicator-bEnMWV_S.mjs.map} +1 -1
  197. package/dist/{Sticker-BLbgJxcH.mjs → Sticker-B-fU8lgu.mjs} +3 -3
  198. package/dist/{Sticker-BLbgJxcH.mjs.map → Sticker-B-fU8lgu.mjs.map} +1 -1
  199. package/dist/{Sticker-BmyKaxwx.d.mts → Sticker-DGfNuxUK.d.mts} +4 -4
  200. package/dist/Sticker.d.mts +1 -1
  201. package/dist/StringValueControl.d.mts +1 -1
  202. package/dist/Tab.d.mts +1 -1
  203. package/dist/{TabBar-Bj84q1Mr.mjs → TabBar-BSl5v5aa.mjs} +3 -3
  204. package/dist/{TabBar-Bj84q1Mr.mjs.map → TabBar-BSl5v5aa.mjs.map} +1 -1
  205. package/dist/{Table-DhdHUQ8V.d.mts → Table-B2V5tlfA.d.mts} +1 -1
  206. package/dist/{Table-WqNfjasd.mjs → Table-msXj0glu.mjs} +2 -2
  207. package/dist/{Table-WqNfjasd.mjs.map → Table-msXj0glu.mjs.map} +1 -1
  208. package/dist/Table.d.mts +1 -1
  209. package/dist/{TableBody-qoSvQDds.d.mts → TableBody-SlQe4Jyp.d.mts} +1 -1
  210. package/dist/TableBody.d.mts +1 -1
  211. package/dist/{TableBox-obl64W5Y.mjs → TableBox-CF1_Fk0j.mjs} +9 -9
  212. package/dist/{TableBox-obl64W5Y.mjs.map → TableBox-CF1_Fk0j.mjs.map} +1 -1
  213. package/dist/TableBox.d.mts +2 -2
  214. package/dist/{TableBoxCell-DzYMx4Ju.d.mts → TableBoxCell-BRhGeUnO.d.mts} +6 -6
  215. package/dist/TableBoxCell.d.mts +1 -1
  216. package/dist/TableBoxField-Cq9M1upV.d.mts +103 -0
  217. package/dist/TableBoxField.d.mts +2 -103
  218. package/dist/{TableBoxRow-B4rFCvWK.d.mts → TableBoxRow-DZzRYoID.d.mts} +3 -3
  219. package/dist/TableBoxRow.d.mts +1 -1
  220. package/dist/{TableBoxRowActions-qMKcVuTL.d.mts → TableBoxRowActions-4-j3flJq.d.mts} +2 -2
  221. package/dist/TableBoxRowActions.d.mts +1 -1
  222. package/dist/{TableCell-CGPQRc5g.d.mts → TableCell-D5Sqb6iO.d.mts} +2 -2
  223. package/dist/TableCell.d.mts +1 -1
  224. package/dist/{TableControls-WP78qtET.d.mts → TableControls-B-LakH-8.d.mts} +3 -3
  225. package/dist/{TableControls-RS_ozBsI.mjs → TableControls-CqW_nyBY.mjs} +98 -31
  226. package/dist/TableControls-CqW_nyBY.mjs.map +1 -0
  227. package/dist/TableControls.d.mts +1 -1
  228. package/dist/{TableControlsContext-DZIZSyfX.d.mts → TableControlsContext-Dh1YVmBM.d.mts} +2 -2
  229. package/dist/TableControlsContext.d.mts +1 -1
  230. package/dist/{TableHead-36j-_oyn.d.mts → TableHead-BCrVa0BY.d.mts} +1 -1
  231. package/dist/TableHead.d.mts +1 -1
  232. package/dist/{TableHeaderCell-C7gp9j1X.d.mts → TableHeaderCell-CcEkDozs.d.mts} +1 -1
  233. package/dist/TableHeaderCell.d.mts +1 -1
  234. package/dist/{TableLayout-CQqIV0vj.d.mts → TableLayout-Bhj1QBBz.d.mts} +1 -1
  235. package/dist/TableLayout.d.mts +1 -1
  236. package/dist/{TableRow-BJZM8I8i.d.mts → TableRow-Cy1y7b9S.d.mts} +2 -2
  237. package/dist/TableRow.d.mts +1 -1
  238. package/dist/TableTH.d.mts +1 -1
  239. package/dist/{TableViewConfigurationDropdown-Dwy_9FBz.d.mts → TableViewConfigurationDropdown-BzygLtGm.d.mts} +2 -2
  240. package/dist/TableViewConfigurationDropdown.d.mts +1 -1
  241. package/dist/{TechnicalSticker-CL0zkOAj.mjs → TechnicalSticker-B6T7cHHc.mjs} +2 -2
  242. package/dist/{TechnicalSticker-CL0zkOAj.mjs.map → TechnicalSticker-B6T7cHHc.mjs.map} +1 -1
  243. package/dist/{Text-DbtTa83E.d.mts → Text-BVGJ-Nlw.d.mts} +3 -3
  244. package/dist/Text.d.mts +1 -1
  245. package/dist/{TextArea-CbxF6u7z.d.mts → TextArea-Bzj593VO.d.mts} +2 -2
  246. package/dist/{TextArea-CfZr5Sk4.mjs → TextArea-C1CmFRiz.mjs} +2 -2
  247. package/dist/{TextArea-CfZr5Sk4.mjs.map → TextArea-C1CmFRiz.mjs.map} +1 -1
  248. package/dist/TextArea.d.mts +1 -1
  249. package/dist/{TextUnderlineTooltip-BgLQuK38.d.mts → TextUnderlineTooltip-CgFmtqF_.d.mts} +2 -2
  250. package/dist/TextUnderlineTooltip.d.mts +1 -1
  251. package/dist/Tile.d.mts +1 -1
  252. package/dist/Toast.d.mts +1 -1
  253. package/dist/{Toggle-D4ZaUcVt.mjs → Toggle-CntyMUPJ.mjs} +2 -2
  254. package/dist/{Toggle-D4ZaUcVt.mjs.map → Toggle-CntyMUPJ.mjs.map} +1 -1
  255. package/dist/{Toggle-BYMLrPXk.d.mts → Toggle-bSu1xAaq.d.mts} +1 -1
  256. package/dist/Toggle.d.mts +1 -1
  257. package/dist/{Tooltip-4pshzB_i.d.mts → Tooltip-Duw4Fz1t.d.mts} +2 -2
  258. package/dist/Tooltip.d.mts +1 -1
  259. package/dist/{TruncatedText-O7hE3w0O.d.mts → TruncatedText-CbTpX_R1.d.mts} +1 -1
  260. package/dist/VersionHistory.d.mts +1 -1
  261. package/dist/{VersionHistoryItem-CIcEgl0K.d.mts → VersionHistoryItem-D05QYej7.d.mts} +1 -1
  262. package/dist/VersionHistoryItem.d.mts +1 -1
  263. package/dist/WizardModal.d.mts +3 -3
  264. package/dist/{accordionTitleTypography-CNB1w3kn.d.mts → accordionTitleTypography-Leehcmb3.d.mts} +2 -2
  265. package/dist/accordionTitleTypography.d.mts +1 -1
  266. package/dist/chainTypes-D8SGRGba.d.mts +17 -0
  267. package/dist/{codec-BXVBsB8Y.d.mts → codec-Vsztf4fe.d.mts} +2 -2
  268. package/dist/codec.d.mts +1 -1
  269. package/dist/{color-3UO63ocQ.d.mts → color-CrlF3pba.d.mts} +2 -2
  270. package/dist/components/Accordion/index.d.mts +1 -1
  271. package/dist/components/Accordion/index.mjs +1 -1
  272. package/dist/components/Attribute/index.mjs +2 -2
  273. package/dist/components/Badge/index.mjs +1 -1
  274. package/dist/components/Banner/index.mjs +1 -1
  275. package/dist/components/BottomPanel/index.mjs +3 -3
  276. package/dist/components/Breadcrumbs/index.d.mts +1 -1
  277. package/dist/components/Breadcrumbs/index.mjs +1 -1
  278. package/dist/components/Button/index.d.mts +2 -2
  279. package/dist/components/Button/index.mjs +1 -1
  280. package/dist/components/ButtonGroup/index.mjs +2 -2
  281. package/dist/components/Card/index.d.mts +2 -2
  282. package/dist/components/CardV2/index.d.mts +1 -1
  283. package/dist/components/CardV2/index.mjs +1 -1
  284. package/dist/components/Checkbox/index.d.mts +1 -1
  285. package/dist/components/Checkbox/index.mjs +1 -1
  286. package/dist/components/CodeHighlight/index.mjs +1 -1
  287. package/dist/components/Combobox/index.d.mts +2 -2
  288. package/dist/components/Combobox/index.mjs +1 -1
  289. package/dist/components/ConfigFormGroup/index.mjs +2 -2
  290. package/dist/components/DataTable/TableControls/index.d.mts +19 -19
  291. package/dist/components/DataTable/TableControls/index.mjs +1 -1
  292. package/dist/components/DataTable/index.mjs +11 -11
  293. package/dist/components/DataTable/types.d.mts +2 -2
  294. package/dist/components/DatePicker/index.d.mts +5 -5
  295. package/dist/components/DatePicker/index.mjs +1 -1
  296. package/dist/components/DropdownButton/index.mjs +1 -1
  297. package/dist/components/DropdownMenu/index.d.mts +1 -1
  298. package/dist/components/DropdownMenu/index.mjs +1 -1
  299. package/dist/components/FloatingPanel/index.mjs +2 -2
  300. package/dist/components/FormControl/index.d.mts +2 -2
  301. package/dist/components/FormControl/index.mjs +2 -2
  302. package/dist/components/FormField/index.d.mts +6 -6
  303. package/dist/components/FormField/index.mjs +1 -1
  304. package/dist/components/Grid/index.mjs +1 -1
  305. package/dist/components/HoverCopyableField/index.mjs +1 -1
  306. package/dist/components/ImageTile/index.mjs +5 -5
  307. package/dist/components/Input/index.d.mts +1 -1
  308. package/dist/components/Input/index.mjs +1 -1
  309. package/dist/components/Link/index.mjs +1 -1
  310. package/dist/components/ListBox/index.d.mts +3 -3
  311. package/dist/components/ListBox/index.mjs +1 -1
  312. package/dist/components/LoadingShimmer/index.mjs +1 -1
  313. package/dist/components/MaskedInput/index.mjs +1 -1
  314. package/dist/components/Menu/index.d.mts +1 -1
  315. package/dist/components/Menu/index.mjs +1 -1
  316. package/dist/components/Modal/index.d.mts +1 -1
  317. package/dist/components/Modal/index.mjs +1 -1
  318. package/dist/components/PageHeader/index.mjs +1 -1
  319. package/dist/components/Pagination/index.d.mts +3 -3
  320. package/dist/components/Pagination/index.mjs +1 -1
  321. package/dist/components/Pii/index.mjs +1 -1
  322. package/dist/components/Popover/index.mjs +1 -1
  323. package/dist/components/ProgressIndicator/index.d.mts +1 -1
  324. package/dist/components/ProgressIndicator/index.mjs +1 -1
  325. package/dist/components/Radio/index.mjs +1 -1
  326. package/dist/components/RadioGroup/index.d.mts +1 -1
  327. package/dist/components/RadioGroup/index.mjs +1 -1
  328. package/dist/components/RightPanel/index.mjs +3 -3
  329. package/dist/components/SegmentedControl/index.d.mts +1 -1
  330. package/dist/components/SegmentedControl/index.mjs +1 -1
  331. package/dist/components/Select/index.d.mts +1 -1
  332. package/dist/components/Select/index.mjs +1 -1
  333. package/dist/components/SmartTextInput/index.d.mts +5 -0
  334. package/dist/components/SmartTextInput/index.mjs +2035 -0
  335. package/dist/components/SmartTextInput/index.mjs.map +1 -0
  336. package/dist/components/SmartTextInput/parser/method-chain/parser.mjs +1 -1
  337. package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +1 -1
  338. package/dist/components/SmartTextInput/parser/smart-text/parser.mjs +1 -1
  339. package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +3 -72
  340. package/dist/components/Spinner/index.mjs +1 -1
  341. package/dist/components/Stack/index.d.mts +1 -1
  342. package/dist/components/Stack/index.mjs +1 -1
  343. package/dist/components/StatusIndicator/index.mjs +1 -1
  344. package/dist/components/Sticker/index.d.mts +1 -1
  345. package/dist/components/Sticker/index.mjs +1 -1
  346. package/dist/components/TabBar/index.mjs +1 -1
  347. package/dist/components/Table/index.d.mts +8 -8
  348. package/dist/components/Table/index.mjs +1 -1
  349. package/dist/components/TableBox/index.d.mts +2 -2
  350. package/dist/components/TableBox/index.mjs +1 -1
  351. package/dist/components/TechnicalSticker/index.mjs +1 -1
  352. package/dist/components/Text/index.d.mts +1 -1
  353. package/dist/components/TextArea/index.d.mts +1 -1
  354. package/dist/components/TextArea/index.mjs +1 -1
  355. package/dist/components/Tile/index.mjs +2 -2
  356. package/dist/components/Toast/index.mjs +1 -1
  357. package/dist/components/Toggle/index.d.mts +1 -1
  358. package/dist/components/Toggle/index.mjs +1 -1
  359. package/dist/components/Tooltip/index.d.mts +3 -3
  360. package/dist/components/VersionHistory/index.d.mts +1 -1
  361. package/dist/components/VersionHistory/index.mjs +7 -7
  362. package/dist/compound-expression.d.mts +1 -1
  363. package/dist/{constants-BOxzLX-O.d.mts → constants-CQUCM6__.d.mts} +1 -1
  364. package/dist/constants.d.mts +1 -1
  365. package/dist/{createPath-OeTC9kvS.d.mts → createPath-Bq7wYGt_.d.mts} +2 -2
  366. package/dist/createPath.d.mts +1 -1
  367. package/dist/{date-filter-BnzR6NxT.mjs → date-filter-D6IfCkwp.mjs} +1 -1
  368. package/dist/{date-filter-BnzR6NxT.mjs.map → date-filter-D6IfCkwp.mjs.map} +1 -1
  369. package/dist/{date-range-rule-value-BRp5Bi7R.d.mts → date-range-rule-value-DVhMQP4-.d.mts} +2 -2
  370. package/dist/date-range-rule-value.d.mts +1 -1
  371. package/dist/{date-rule-intent-CDBtV0ET.d.mts → date-rule-intent-BwQ6OTVD.d.mts} +3 -3
  372. package/dist/date-rule-intent.d.mts +1 -1
  373. package/dist/display.d.mts +1 -1
  374. package/dist/fieldPickerOptions.d.mts +2 -2
  375. package/dist/{filter-size-context-CqvQ190x.d.mts → filter-size-context-BjTzcZwZ.d.mts} +2 -2
  376. package/dist/filter-size-context.d.mts +1 -1
  377. package/dist/helpers.d.mts +1 -1
  378. package/dist/{index-BXSe73Xn.d.mts → index-BFIFjR7Q.d.mts} +2 -2
  379. package/dist/{index-wKK9f9La.d.mts → index-BhDvrF4l.d.mts} +4 -4
  380. package/dist/{index-CyAok7As.d.mts → index-C-xpEL8b.d.mts} +2 -2
  381. package/dist/index-xmouCHX9.d.mts +1 -0
  382. package/dist/index.d.mts +1 -1
  383. package/dist/index2.d.mts +1 -1
  384. package/dist/index3.d.mts +3 -3
  385. package/dist/index4.d.mts +1 -1
  386. package/dist/index5.d.mts +14 -14
  387. package/dist/{input-C6cyiqm2.d.mts → input-DpHBIUpP.d.mts} +3 -3
  388. package/dist/inputFields-BVDurw3L.d.mts +71 -0
  389. package/dist/inputFields.d.mts +2 -71
  390. package/dist/{intersperse-Df9zw7Bk.mjs → intersperse-bvY2gibK.mjs} +1 -1
  391. package/dist/{intersperse-Df9zw7Bk.mjs.map → intersperse-bvY2gibK.mjs.map} +1 -1
  392. package/dist/{jsonSchema-CfGi1bzI.d.mts → jsonSchema-Bl-qzgrr.d.mts} +1 -1
  393. package/dist/lib/MiddleTruncatedText.mjs +1 -1
  394. package/dist/lib/PDSProvider.d.mts +2 -2
  395. package/dist/lib/TruncatedText.d.mts +1 -1
  396. package/dist/lib/TruncatedText.mjs +1 -1
  397. package/dist/lib/TruncatedText.mjs.map +1 -1
  398. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  399. package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
  400. package/dist/lib/TruncatedTextWithTooltip.mjs.map +1 -1
  401. package/dist/lib/chainTypes.d.mts +2 -17
  402. package/dist/lib/color.d.mts +1 -1
  403. package/dist/lib/customFunctionSchema.d.mts +1 -1
  404. package/dist/lib/date-filter/index.d.mts +2 -2
  405. package/dist/lib/date-filter/index.mjs +1 -1
  406. package/dist/lib/jsonSchema.d.mts +1 -1
  407. package/dist/lib/jsonSchemaType.d.mts +1 -1
  408. package/dist/lib/message.d.mts +1 -1
  409. package/dist/lib/methodChain.d.mts +2 -2
  410. package/dist/lib/methodChain.mjs +1 -2
  411. package/dist/lib/methodChainNormalize.d.mts +2 -2
  412. package/dist/lib/methodChainTypes.d.mts +1 -1
  413. package/dist/lib/objectSchemaTypes.d.mts +1 -1
  414. package/dist/lib/platformObject.d.mts +1 -1
  415. package/dist/lib/pseudoClass.d.mts +1 -1
  416. package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
  417. package/dist/lib/router/adapters/tanstack.d.mts +1 -1
  418. package/dist/lib/router/index.d.mts +5 -5
  419. package/dist/lib/schemaOptions.d.mts +2 -173
  420. package/dist/lib/schemaOptions.mjs +1 -1
  421. package/dist/lib/semanticColor.d.mts +1 -1
  422. package/dist/lib/useChain.d.mts +2 -0
  423. package/dist/lib/useChain.mjs +2 -0
  424. package/dist/listbox-options-BjOkovND.d.mts +38 -0
  425. package/dist/listbox-options.d.mts +2 -0
  426. package/dist/{message-CblP0EjG.d.mts → message-w_1-kTDE.d.mts} +1 -1
  427. package/dist/{methodChain-Pk1C3i_E.d.mts → methodChain-B5vZEOff.d.mts} +4 -4
  428. package/dist/{methodChain-DAQxLgxt.mjs → methodChain-L_h8Z8Bx.mjs} +2 -2
  429. package/dist/{methodChain-DAQxLgxt.mjs.map → methodChain-L_h8Z8Bx.mjs.map} +1 -1
  430. package/dist/{methodChainTypes-CqWzfx0M.d.mts → methodChainTypes-BVkTI8MX.d.mts} +2 -2
  431. package/dist/mixins/focus.d.mts +1 -1
  432. package/dist/mixins/hoverable.d.mts +2 -2
  433. package/dist/mixins/input.d.mts +1 -1
  434. package/dist/mixins/menuItem.d.mts +2 -2
  435. package/dist/mixins/scrollbar.d.mts +1 -1
  436. package/dist/mixins/text.d.mts +1 -1
  437. package/dist/{operators-CoXL5Hv6.d.mts → operators-BG82-g3M.d.mts} +9 -3
  438. package/dist/operators.d.mts +2 -2
  439. package/dist/{palette-CxXUs1Fu.d.mts → palette-C8tyI81D.d.mts} +3 -3
  440. package/dist/palette.d.mts +1 -1
  441. package/dist/{parser-Kxos6siN.mjs → parser-BeTiVjRs.mjs} +3 -2
  442. package/dist/{parser-Kxos6siN.mjs.map → parser-BeTiVjRs.mjs.map} +1 -1
  443. package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
  444. package/dist/patterns/PageLayout/index.mjs +2 -2
  445. package/dist/{components → patterns}/WizardModal/index.mjs +5 -5
  446. package/dist/patterns/WizardModal/index.mjs.map +1 -0
  447. package/dist/reactRouterFallback.d.mts +1 -1
  448. package/dist/relative-date-label.d.mts +1 -1
  449. package/dist/safe-parse.d.mts +23 -0
  450. package/dist/schemaOptions-DGca6x7E.d.mts +173 -0
  451. package/dist/{semantic-CFMBsuiJ.d.mts → semantic-D1661f_6.d.mts} +1 -1
  452. package/dist/{semanticColor-DuJCmDrH.d.mts → semanticColor-Bg0H3RUL.d.mts} +3 -3
  453. package/dist/{text-D8HPjiEX.d.mts → text-Iw9DKpbZ.d.mts} +1 -1
  454. package/dist/{theme-BcaR-Au5.d.mts → theme-BB1B6Wkz.d.mts} +3 -3
  455. package/dist/theme.d.mts +1 -1
  456. package/dist/tone.d.mts +3 -3
  457. package/dist/tree.d.mts +9 -0
  458. package/dist/{types-CoVZwrMW.d.mts → types-B0ilOIfE.d.mts} +2 -2
  459. package/dist/types-BYRTxB0a.d.mts +72 -0
  460. package/dist/{types-BCiq4hGv.d.mts → types-CI2bPi02.d.mts} +1 -1
  461. package/dist/types-Cs6CdZCO.d.mts +83 -0
  462. package/dist/{types-CkpixGWr.d.mts → types-D1DijcJv.d.mts} +1 -1
  463. package/dist/{types-Cl-w8tYc.d.mts → types-DZTbvdpO.d.mts} +1 -1
  464. package/dist/{types-DgyGecdM.d.mts → types-DdTu747j.d.mts} +1 -1
  465. package/dist/{types-C4WUSW3e.d.mts → types-Dy3lZv9z.d.mts} +2 -2
  466. package/dist/{types-BGMmkUpy.d.mts → types-M-rsm1Km.d.mts} +1 -1
  467. package/dist/types.d.mts +1 -1
  468. package/dist/types2.d.mts +1 -1
  469. package/dist/types3.d.mts +1 -1
  470. package/dist/types4.d.mts +1 -1
  471. package/dist/types5.d.mts +1 -1
  472. package/dist/types6.d.mts +1 -1
  473. package/dist/types7.d.mts +2 -0
  474. package/dist/{url-state-8j_ef8Uf.d.mts → url-state-DWA7UFxS.d.mts} +2 -2
  475. package/dist/url-state.d.mts +1 -1
  476. package/dist/useChain-CEsXE2Bx.d.mts +77 -0
  477. package/dist/useChain-CKqYGdx4.mjs +4589 -0
  478. package/dist/useChain-CKqYGdx4.mjs.map +1 -0
  479. package/dist/useChainAtCursor.d.mts +87 -0
  480. package/dist/useCodeChainFunctionPanel.d.mts +26 -0
  481. package/dist/useComboboxFooterAction.d.mts +1 -1
  482. package/dist/{useFilterStateV2-CW6eght1.d.mts → useFilterStateV2-DoJ9lyJx.d.mts} +3 -3
  483. package/dist/useFilterStateV2.d.mts +1 -1
  484. package/dist/{useFormField-XezSxho_.mjs → useFormField-BAmkdxtA.mjs} +2 -2
  485. package/dist/{useFormField-XezSxho_.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
  486. package/dist/{useFormField-CLRZkUZt.d.mts → useFormField-BtnAYcHV.d.mts} +2 -2
  487. package/dist/useFormField.d.mts +1 -1
  488. package/dist/{useFormGroup-C7Cax8zO.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
  489. package/dist/{useFormGroup-C7Cax8zO.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
  490. package/dist/{useLocationPathname-DH5Tdq5X.d.mts → useLocationPathname-pLyLOrAi.d.mts} +1 -1
  491. package/dist/useLocationPathname.d.mts +1 -1
  492. package/dist/{useTableBoxDragAndDrop-Da4TiYBT.d.mts → useTableBoxDragAndDrop-wjc_LCpC.d.mts} +1 -1
  493. package/dist/useTableBoxDragAndDrop.d.mts +1 -1
  494. package/dist/useTruncation.d.mts +1 -1
  495. package/dist/{utilities-DcsbI71T.d.mts → utilities-DL18UdPs.d.mts} +1 -1
  496. package/dist/utilities.d.mts +1 -1
  497. package/dist/utils/storybook.mjs +1 -1
  498. package/dist/utils/testing.d.mts +1 -1
  499. package/dist/utils.d.mts +1 -1
  500. package/dist/utils4.d.mts +111 -0
  501. package/dist/{validation-BgwNghi2.d.mts → validation-PeVTwtd-.d.mts} +3 -3
  502. package/dist/validation.d.mts +1 -1
  503. package/dist/validation2.d.mts +64 -0
  504. package/dist/{value-control-resolver-B0HDRxRN.d.mts → value-control-resolver-Cx_wXQFv.d.mts} +2 -2
  505. package/dist/value-control-resolver.d.mts +1 -1
  506. package/dist/variables/effect.d.mts +1 -1
  507. package/dist/variables/semantic.d.mts +1 -1
  508. package/llms.txt +1 -1
  509. package/package.json +10 -3
  510. package/skills/ui-authoring/COMPONENTS.md +0 -1
  511. package/skills/ui-authoring/PATTERNS.md +1 -0
  512. package/dist/Pagination-Co9CfyFQ.mjs.map +0 -1
  513. package/dist/TableControls-RS_ozBsI.mjs.map +0 -1
  514. package/dist/components/WizardModal/index.mjs.map +0 -1
  515. /package/dist/{index-B24gUwOx.d.mts → index-7in8TPrM.d.mts} +0 -0
  516. /package/dist/{index-BFnNtGdX.d.mts → index-BCq_fh4A2.d.mts} +0 -0
  517. /package/dist/{index-BNRXMhlr.d.mts → index-BINnViIh.d.mts} +0 -0
  518. /package/dist/{index-BPiqSRRl.d.mts → index-BMBcfD_R.d.mts} +0 -0
  519. /package/dist/{index-BYd3Btr1.d.mts → index-BOn0AAue.d.mts} +0 -0
  520. /package/dist/{index-B_BBnMou.d.mts → index-BcsXXrHq.d.mts} +0 -0
  521. /package/dist/{index-Bt4QNofW.d.mts → index-BjgW3E7y.d.mts} +0 -0
  522. /package/dist/{index-C6HcjJiY.d.mts → index-BwXb5CoQ.d.mts} +0 -0
  523. /package/dist/{index-CEqOS-7M.d.mts → index-C3usUse7.d.mts} +0 -0
  524. /package/dist/{index-CIABef8t.d.mts → index-C9achTF6.d.mts} +0 -0
  525. /package/dist/{index-CTHojwxd.d.mts → index-CCKHlTA4.d.mts} +0 -0
  526. /package/dist/{index-CjDodOH2.d.mts → index-CFuHCx9T.d.mts} +0 -0
  527. /package/dist/{index-Cm-1i165.d.mts → index-CP2eJYlK.d.mts} +0 -0
  528. /package/dist/{index-CoUVmp_Q.d.mts → index-CWB6exYm.d.mts} +0 -0
  529. /package/dist/{index-DB7t8whN.d.mts → index-CryTAIZM.d.mts} +0 -0
  530. /package/dist/{index-DBGd4WeR.d.mts → index-CuYZJcK3.d.mts} +0 -0
  531. /package/dist/{index-DGsJdI5l.d.mts → index-CuheJfs-.d.mts} +0 -0
  532. /package/dist/{index-DWfPppPU.d.mts → index-D-9tW2r5.d.mts} +0 -0
  533. /package/dist/{index-DeVKzGce.d.mts → index-D9XihFV1.d.mts} +0 -0
  534. /package/dist/{index-DedbSZMv.d.mts → index-Dflz2i1X.d.mts} +0 -0
  535. /package/dist/{index-Jh0C5PIG.d.mts → index-DjOaHFU3.d.mts} +0 -0
  536. /package/dist/{index-NKYLt_R9.d.mts → index-DkrC-i1D.d.mts} +0 -0
  537. /package/dist/{index-Qwqzz3XM.d.mts → index-DrK1_jKY.d.mts} +0 -0
  538. /package/dist/{index-VWno75SQ.d.mts → index-Iujpc9_6.d.mts} +0 -0
  539. /package/dist/{index-fxXoW-qc.d.mts → index-e6k85DKM.d.mts} +0 -0
  540. /package/dist/{index-gVcIuWLd.d.mts → index-gpCH5158.d.mts} +0 -0
  541. /package/dist/{index-zeAhjge4.d.mts → index-irNqT1qQ2.d.mts} +0 -0
  542. /package/dist/{components → patterns}/WizardModal/index.d.mts +0 -0
@@ -0,0 +1,87 @@
1
+ import { t as ASTNode } from "./types-BYRTxB0a.mjs";
2
+ import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-Bl-qzgrr.mjs";
3
+ import { n as Chain, s as MethodChainNode } from "./methodChainTypes-BVkTI8MX.mjs";
4
+ import { n as PossibleChainSchema, t as ChainRoot } from "./chainTypes-D8SGRGba.mjs";
5
+ import { u as ValueType } from "./types-Cs6CdZCO.mjs";
6
+ import { n as useChain } from "./useChain-CEsXE2Bx.mjs";
7
+
8
+ //#region components/SmartTextInput/useChainAtCursor.d.ts
9
+ /**
10
+ * Extracts the chain context at the cursor position in a single pass.
11
+ *
12
+ * Returns:
13
+ * - `chainString`: dot-joined names of all identifier links that end strictly
14
+ * before the cursor. The link at or containing the cursor is excluded so
15
+ * that `useChain` resolves the PARENT's options.
16
+ * When `assumeOnNextLink` is true, the link at the cursor IS included so
17
+ * that `useChain` resolves that link's children instead.
18
+ * - `partialQuery`: partial text typed for the link at the cursor, used to
19
+ * filter the dropdown. Always '' when `assumeOnNextLink` is true.
20
+ *
21
+ * Examples (cursor position denoted by |, normal mode):
22
+ * `trigger.|` → { chainString: "trigger", partialQuery: "" }
23
+ * `trigger.case.|` → { chainString: "trigger.case", partialQuery: "" }
24
+ * `trigger.cas|e` → { chainString: "trigger", partialQuery: "cas" }
25
+ * `trigger.case|` → { chainString: "trigger", partialQuery: "case" }
26
+ * `trigger|` → { chainString: "", partialQuery: "trigger" }
27
+ * `tri|gger` → { chainString: "", partialQuery: "tri" }
28
+ */
29
+ declare function extractChainContextAtCursor(tree: ASTNode, cursorIdx: number | null, valueType: ValueType, assumeOnNextLink: boolean): {
30
+ chainString: string;
31
+ partialQuery: string;
32
+ };
33
+ /**
34
+ * Resolves schema-driven method chain options for the current cursor
35
+ * position in a SmartTextInput.
36
+ *
37
+ * Wraps `useChain` with cursor-aware chain extraction: it reads the AST to
38
+ * determine which chain context the cursor is in (inside `{{...}}`, inside
39
+ * `${...}`, or a bare top-level chain), derives the partial chain string
40
+ * representing all links before the cursor, and returns the next possible
41
+ * options from the schema.
42
+ *
43
+ * When `chainConfig` is absent, returns an empty options list.
44
+ */
45
+ declare const useChainAtCursor: ({
46
+ value,
47
+ onUpdateChain,
48
+ tree,
49
+ cursorIdx,
50
+ valueType,
51
+ assumeOnNextLink,
52
+ useChainRootDescriptions,
53
+ chainRoots,
54
+ primitivesSchema,
55
+ platformObjectJsonSchema,
56
+ defaultPrimitiveUtilities,
57
+ codeChainFunctionSchema,
58
+ getSchemaOptionsOverride,
59
+ sortOptionsBy
60
+ }: {
61
+ value: string;
62
+ onUpdateChain: (value: string, newCursorIdx: number) => void;
63
+ tree: ASTNode;
64
+ cursorIdx: number | null;
65
+ valueType: ValueType;
66
+ useChainRootDescriptions: boolean;
67
+ chainRoots: ChainRoot[];
68
+ primitivesSchema: "none" | "default" | ObjectSchemaMap;
69
+ platformObjectJsonSchema: ObjectSchemaMap;
70
+ defaultPrimitiveUtilities: ObjectSchemaMap;
71
+ codeChainFunctionSchema?: Record<string, Record<string, FunctionJsonSchema>>;
72
+ getSchemaOptionsOverride?: Parameters<typeof useChain>[0]["getSchemaOptionsOverride"];
73
+ sortOptionsBy?: (option: PossibleChainSchema) => number;
74
+ assumeOnNextLink?: boolean;
75
+ }) => [currentChain: Chain, {
76
+ appendChain: (newNodes: MethodChainNode[], meta?: {
77
+ isFunction?: boolean;
78
+ }) => void;
79
+ insertChainAtCursor: (nodes: MethodChainNode[]) => void;
80
+ nextPossibleChains: PossibleChainSchema[];
81
+ resolveSchema: (chainStr: string) => JsonSchema | null;
82
+ currentSchema: JsonSchema | null;
83
+ query: string;
84
+ }];
85
+ //#endregion
86
+ export { extractChainContextAtCursor, useChainAtCursor };
87
+ //# sourceMappingURL=useChainAtCursor.d.mts.map
@@ -0,0 +1,26 @@
1
+ import { o as OpenCodeChainFunctionPanel, t as CodeChainFunctionPanelRenderProps } from "./types-Cs6CdZCO.mjs";
2
+ import { ReactNode } from "react";
3
+
4
+ //#region components/SmartTextInput/useCodeChainFunctionPanel.d.ts
5
+ /**
6
+ * Manages opening and rendering the CCF editing panel.
7
+ */
8
+ declare const useCodeChainFunctionPanel: ({
9
+ enabled,
10
+ canCreate,
11
+ renderPanel: renderPanelContent,
12
+ onOpen,
13
+ onSaveNew
14
+ }: {
15
+ enabled: boolean;
16
+ canCreate: boolean;
17
+ renderPanel?: (props: CodeChainFunctionPanelRenderProps) => ReactNode;
18
+ onOpen: () => void;
19
+ onSaveNew: (savedName: string) => void;
20
+ }) => {
21
+ renderPanel: () => ReactNode;
22
+ openPanel: OpenCodeChainFunctionPanel | undefined;
23
+ };
24
+ //#endregion
25
+ export { useCodeChainFunctionPanel };
26
+ //# sourceMappingURL=useCodeChainFunctionPanel.d.mts.map
@@ -1,4 +1,4 @@
1
- import { p as FooterAction } from "./ComboboxBase-BMCY6O7Y.mjs";
1
+ import { p as FooterAction } from "./ComboboxBase-CtNrsPO9.mjs";
2
2
  import { KeyboardEvent } from "react";
3
3
 
4
4
  //#region components/Combobox/useComboboxFooterAction.d.ts
@@ -1,5 +1,5 @@
1
- import { l as FilterRule, n as CompoundExpression, p as FilterStateV2 } from "./types-C4WUSW3e.mjs";
2
- import { t as FieldRegistry } from "./FieldRegistry-0LmSQ-jc.mjs";
1
+ import { l as FilterRule, n as CompoundExpression, p as FilterStateV2 } from "./types-Dy3lZv9z.mjs";
2
+ import { t as FieldRegistry } from "./FieldRegistry-DqO8HiYb.mjs";
3
3
 
4
4
  //#region components/DataTable/TableControls/FiltersV2/useFilterStateV2.d.ts
5
5
  interface UseFilterStateV2Options {
@@ -90,4 +90,4 @@ interface UseFilterStateV2Result {
90
90
  declare function useFilterStateV2(options: UseFilterStateV2Options): UseFilterStateV2Result;
91
91
  //#endregion
92
92
  export { UseFilterStateV2Result as n, useFilterStateV2 as r, UseFilterStateV2Options as t };
93
- //# sourceMappingURL=useFilterStateV2-CW6eght1.d.mts.map
93
+ //# sourceMappingURL=useFilterStateV2-DoJ9lyJx.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-CW6eght1.mjs";
1
+ import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-DoJ9lyJx.mjs";
2
2
  export { UseFilterStateV2Options, UseFilterStateV2Result, useFilterStateV2 };
@@ -1,4 +1,4 @@
1
- import { n as useFormGroup } from "./useFormGroup-C7Cax8zO.mjs";
1
+ import { n as useFormGroup } from "./useFormGroup-BZayb9fZ.mjs";
2
2
  import { createContext, useContext } from "react";
3
3
  //#region components/FormControl/useFormField.ts
4
4
  const FormControlContext = createContext({});
@@ -23,4 +23,4 @@ const useFormField = (props) => {
23
23
  //#endregion
24
24
  export { useFormField as n, FormControlContext as t };
25
25
 
26
- //# sourceMappingURL=useFormField-XezSxho_.mjs.map
26
+ //# sourceMappingURL=useFormField-BAmkdxtA.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormField-XezSxho_.mjs","names":[],"sources":["../components/FormControl/useFormField.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nimport useFormGroup from 'design-system/components/ConfigFormGroup/useFormGroup';\nimport type ErrorProps from 'design-system/types/ErrorProps';\n\nexport interface FormControlContextProps extends ErrorProps {\n inputId?: string;\n helperTextId?: string;\n errorTextId?: string;\n warningTextId?: string;\n labelId?: string;\n disabled?: boolean;\n required?: boolean;\n maxLength?: number;\n configField?: boolean;\n}\n\nexport const FormControlContext = createContext<FormControlContextProps>({});\n\nconst useFormField = (props: Partial<FormControlContextProps>) => {\n const group = useFormGroup();\n const field = useContext(FormControlContext);\n\n const inputId = props.inputId ?? field.inputId;\n\n return {\n configField: props.configField ?? group.configField,\n hasError: props.hasError ?? field.hasError,\n hasWarning: props.hasWarning ?? field.hasWarning,\n inputId,\n helperTextId: props.helperTextId ?? field.helperTextId,\n errorTextId: props.errorTextId ?? field.errorTextId,\n warningTextId: props.warningTextId ?? field.warningTextId,\n labelId: props.labelId ?? field.labelId,\n disabled: props.disabled ?? field.disabled,\n required: props.required ?? field.required,\n maxLength: props.maxLength ?? field.maxLength,\n };\n};\n\nexport default useFormField;\n"],"mappings":";;;AAiBA,MAAa,qBAAqB,cAAuC,EAAE,CAAC;AAE5E,MAAM,gBAAgB,UAA4C;CAChE,MAAM,QAAQ,cAAc;CAC5B,MAAM,QAAQ,WAAW,mBAAmB;CAE5C,MAAM,UAAU,MAAM,WAAW,MAAM;AAEvC,QAAO;EACL,aAAa,MAAM,eAAe,MAAM;EACxC,UAAU,MAAM,YAAY,MAAM;EAClC,YAAY,MAAM,cAAc,MAAM;EACtC;EACA,cAAc,MAAM,gBAAgB,MAAM;EAC1C,aAAa,MAAM,eAAe,MAAM;EACxC,eAAe,MAAM,iBAAiB,MAAM;EAC5C,SAAS,MAAM,WAAW,MAAM;EAChC,UAAU,MAAM,YAAY,MAAM;EAClC,UAAU,MAAM,YAAY,MAAM;EAClC,WAAW,MAAM,aAAa,MAAM;EACrC"}
1
+ {"version":3,"file":"useFormField-BAmkdxtA.mjs","names":[],"sources":["../components/FormControl/useFormField.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nimport useFormGroup from 'design-system/components/ConfigFormGroup/useFormGroup';\nimport type ErrorProps from 'design-system/types/ErrorProps';\n\nexport interface FormControlContextProps extends ErrorProps {\n inputId?: string;\n helperTextId?: string;\n errorTextId?: string;\n warningTextId?: string;\n labelId?: string;\n disabled?: boolean;\n required?: boolean;\n maxLength?: number;\n configField?: boolean;\n}\n\nexport const FormControlContext = createContext<FormControlContextProps>({});\n\nconst useFormField = (props: Partial<FormControlContextProps>) => {\n const group = useFormGroup();\n const field = useContext(FormControlContext);\n\n const inputId = props.inputId ?? field.inputId;\n\n return {\n configField: props.configField ?? group.configField,\n hasError: props.hasError ?? field.hasError,\n hasWarning: props.hasWarning ?? field.hasWarning,\n inputId,\n helperTextId: props.helperTextId ?? field.helperTextId,\n errorTextId: props.errorTextId ?? field.errorTextId,\n warningTextId: props.warningTextId ?? field.warningTextId,\n labelId: props.labelId ?? field.labelId,\n disabled: props.disabled ?? field.disabled,\n required: props.required ?? field.required,\n maxLength: props.maxLength ?? field.maxLength,\n };\n};\n\nexport default useFormField;\n"],"mappings":";;;AAiBA,MAAa,qBAAqB,cAAuC,EAAE,CAAC;AAE5E,MAAM,gBAAgB,UAA4C;CAChE,MAAM,QAAQ,cAAc;CAC5B,MAAM,QAAQ,WAAW,mBAAmB;CAE5C,MAAM,UAAU,MAAM,WAAW,MAAM;AAEvC,QAAO;EACL,aAAa,MAAM,eAAe,MAAM;EACxC,UAAU,MAAM,YAAY,MAAM;EAClC,YAAY,MAAM,cAAc,MAAM;EACtC;EACA,cAAc,MAAM,gBAAgB,MAAM;EAC1C,aAAa,MAAM,eAAe,MAAM;EACxC,eAAe,MAAM,iBAAiB,MAAM;EAC5C,SAAS,MAAM,WAAW,MAAM;EAChC,UAAU,MAAM,YAAY,MAAM;EAClC,UAAU,MAAM,YAAY,MAAM;EAClC,WAAW,MAAM,aAAa,MAAM;EACrC"}
@@ -1,4 +1,4 @@
1
- import { t as ErrorProps } from "./ErrorProps-B8-Mqf1W.mjs";
1
+ import { t as ErrorProps } from "./ErrorProps-6dRdJ4QQ.mjs";
2
2
  import * as _$react from "react";
3
3
 
4
4
  //#region components/FormControl/useFormField.d.ts
@@ -29,4 +29,4 @@ declare const useFormField: (props: Partial<FormControlContextProps>) => {
29
29
  };
30
30
  //#endregion
31
31
  export { FormControlContextProps as n, useFormField as r, FormControlContext as t };
32
- //# sourceMappingURL=useFormField-CLRZkUZt.d.mts.map
32
+ //# sourceMappingURL=useFormField-BtnAYcHV.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-CLRZkUZt.mjs";
1
+ import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-BtnAYcHV.mjs";
2
2
  export { FormControlContext, FormControlContextProps, useFormField as default };
@@ -11,4 +11,4 @@ const useFormGroup = (props) => {
11
11
  //#endregion
12
12
  export { useFormGroup as n, FormGroupContext as t };
13
13
 
14
- //# sourceMappingURL=useFormGroup-C7Cax8zO.mjs.map
14
+ //# sourceMappingURL=useFormGroup-BZayb9fZ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFormGroup-C7Cax8zO.mjs","names":[],"sources":["../components/ConfigFormGroup/useFormGroup.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nexport interface FormGroupContextProps {\n configField?: boolean;\n /**\n * The z-index to use when labels are rendered as tooltips (e.g. when configField is true).\n */\n labelTooltipZIndex?: number;\n}\n\nexport const FormGroupContext = createContext<FormGroupContextProps>({});\n\nconst useFormGroup = (props?: Partial<FormGroupContextProps>) => {\n const field = useContext(FormGroupContext);\n\n return {\n configField: props?.configField ?? field.configField,\n labelTooltipZIndex: props?.labelTooltipZIndex ?? field.labelTooltipZIndex,\n };\n};\n\nexport default useFormGroup;\n"],"mappings":";;AAUA,MAAa,mBAAmB,cAAqC,EAAE,CAAC;AAExE,MAAM,gBAAgB,UAA2C;CAC/D,MAAM,QAAQ,WAAW,iBAAiB;AAE1C,QAAO;EACL,aAAa,OAAO,eAAe,MAAM;EACzC,oBAAoB,OAAO,sBAAsB,MAAM;EACxD"}
1
+ {"version":3,"file":"useFormGroup-BZayb9fZ.mjs","names":[],"sources":["../components/ConfigFormGroup/useFormGroup.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nexport interface FormGroupContextProps {\n configField?: boolean;\n /**\n * The z-index to use when labels are rendered as tooltips (e.g. when configField is true).\n */\n labelTooltipZIndex?: number;\n}\n\nexport const FormGroupContext = createContext<FormGroupContextProps>({});\n\nconst useFormGroup = (props?: Partial<FormGroupContextProps>) => {\n const field = useContext(FormGroupContext);\n\n return {\n configField: props?.configField ?? field.configField,\n labelTooltipZIndex: props?.labelTooltipZIndex ?? field.labelTooltipZIndex,\n };\n};\n\nexport default useFormGroup;\n"],"mappings":";;AAUA,MAAa,mBAAmB,cAAqC,EAAE,CAAC;AAExE,MAAM,gBAAgB,UAA2C;CAC/D,MAAM,QAAQ,WAAW,iBAAiB;AAE1C,QAAO;EACL,aAAa,OAAO,eAAe,MAAM;EACzC,oBAAoB,OAAO,sBAAsB,MAAM;EACxD"}
@@ -2,4 +2,4 @@
2
2
  declare const usePathname: () => string;
3
3
  //#endregion
4
4
  export { usePathname as t };
5
- //# sourceMappingURL=useLocationPathname-DH5Tdq5X.d.mts.map
5
+ //# sourceMappingURL=useLocationPathname-pLyLOrAi.d.mts.map
@@ -1,2 +1,2 @@
1
- import { t as usePathname } from "./useLocationPathname-DH5Tdq5X.mjs";
1
+ import { t as usePathname } from "./useLocationPathname-pLyLOrAi.mjs";
2
2
  export { usePathname };
@@ -66,4 +66,4 @@ declare const useTableBoxDragAndDrop: <T extends object>({
66
66
  }: UseTableBoxDragAndDropArgs<T>) => UseTableBoxDragAndDropResult;
67
67
  //#endregion
68
68
  export { ReorderConfig as n, useTableBoxDragAndDrop as r, DragDirection as t };
69
- //# sourceMappingURL=useTableBoxDragAndDrop-Da4TiYBT.d.mts.map
69
+ //# sourceMappingURL=useTableBoxDragAndDrop-wjc_LCpC.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-Da4TiYBT.mjs";
1
+ import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-wjc_LCpC.mjs";
2
2
  export { DragDirection, ReorderConfig, useTableBoxDragAndDrop };
@@ -1,4 +1,4 @@
1
- import { i as ComboboxOption } from "./ComboboxBase-BMCY6O7Y.mjs";
1
+ import { i as ComboboxOption } from "./ComboboxBase-CtNrsPO9.mjs";
2
2
  import { MutableRefObject, RefObject } from "react";
3
3
 
4
4
  //#region components/Combobox/useTruncation.d.ts
@@ -6,4 +6,4 @@
6
6
  type RequireOneOf<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>> }[Keys];
7
7
  //#endregion
8
8
  export { RequireOneOf as t };
9
- //# sourceMappingURL=utilities-DcsbI71T.d.mts.map
9
+ //# sourceMappingURL=utilities-DL18UdPs.d.mts.map
@@ -1,2 +1,2 @@
1
- import { t as RequireOneOf } from "./utilities-DcsbI71T.mjs";
1
+ import { t as RequireOneOf } from "./utilities-DL18UdPs.mjs";
2
2
  export { RequireOneOf };
@@ -1,4 +1,4 @@
1
- import { n as Stack } from "../Stack-Bkn0TUDe.mjs";
1
+ import { n as Stack } from "../Stack-CEPzs4Pb.mjs";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  //#region utils/storybook.tsx
4
4
  const withStack = (Story) => {
@@ -1,4 +1,4 @@
1
- import { n as RouterAdapter } from "../types-CkpixGWr.mjs";
1
+ import { n as RouterAdapter } from "../types-D1DijcJv.mjs";
2
2
  import { ReactElement } from "react";
3
3
  import * as _$_testing_library_react0 from "@testing-library/react";
4
4
  import { RenderOptions, screen } from "@testing-library/react";
package/dist/utils.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { u as FilterRuleValue } from "./types-C4WUSW3e.mjs";
1
+ import { u as FilterRuleValue } from "./types-Dy3lZv9z.mjs";
2
2
 
3
3
  //#region components/DataTable/TableControls/FiltersV2/value-controls/utils.d.ts
4
4
  /**
@@ -0,0 +1,111 @@
1
+ import { n as ASTChain } from "./types-M-rsm1Km.mjs";
2
+ import { t as ASTNode } from "./types-BYRTxB0a.mjs";
3
+ import { n as Chain, s as MethodChainNode } from "./methodChainTypes-BVkTI8MX.mjs";
4
+ import { t as ChainRoot } from "./chainTypes-D8SGRGba.mjs";
5
+ import { a as Mode, r as FunctionAtCursor, u as ValueType } from "./types-Cs6CdZCO.mjs";
6
+ import { RefObject } from "react";
7
+
8
+ //#region components/SmartTextInput/utils.d.ts
9
+ declare const safeCursorIdx: (cursorIdx: number | null, ast: ASTNode) => number;
10
+ /**
11
+ * Returns true if the input is allowed to transition to the given value type based on allowed type.
12
+ * When allowedValueType is set, transitions to a different type are prohibited.
13
+ */
14
+ declare function canTransitionToValueType(valueType: ValueType, allowedValueType: ValueType | undefined): boolean;
15
+ /**
16
+ * Returns true if the given interpolation mode (handlebars or code) is allowed.
17
+ * When allowedValueType is 'method-chain', interpolation modes are never allowed.
18
+ */
19
+ declare function isInterpolationModeAllowed(mode: Mode.MethodChain | Mode.Code, allowedValueType: ValueType | undefined, allowedInterpolationModes: (Mode.MethodChain | Mode.Code)[] | undefined): boolean;
20
+ /**
21
+ * Returns true if the input can exit method-chain value type back to interpolation.
22
+ * Requires an empty value and that the allowed value type is interpolation.
23
+ */
24
+ declare function canExitToInterpolation(value: string, allowedValueType: ValueType | undefined): boolean;
25
+ /**
26
+ * Apply from element scrollLeft to the to element scrollLeft
27
+ */
28
+ declare const syncScroll: (from: RefObject<HTMLElement>, to: RefObject<HTMLElement>) => void;
29
+ /**
30
+ * Scroll the input so the cursor at cursorIdx is visible, then sync the overlay.
31
+ *
32
+ * overflow:hidden on the StyledInput prevents the browser from auto-scrolling to
33
+ * the cursor when setSelectionRange is called programmatically. We replicate the
34
+ * same manual scrollLeft update that handleWheel uses.
35
+ */
36
+ declare const scrollInputToCursor: (inputRef: RefObject<HTMLInputElement>, cursorIdx: number) => void;
37
+ /**
38
+ * Returns true if the value is a valid method chain where the root is valid given the passed
39
+ * accepted chain roots.
40
+ */
41
+ declare const isChainWithValidRoot: (value: string, chainRoots: ChainRoot[], {
42
+ onlyAllowSingleLink
43
+ }?: {
44
+ onlyAllowSingleLink?: boolean;
45
+ }) => boolean;
46
+ /**
47
+ * Returns the ASTChain node that contains the cursor, or undefined if none.
48
+ */
49
+ declare function findChainAtCursor(tree: ASTNode, cursorIdx: number | null, valueType: ValueType): ASTChain | undefined;
50
+ /**
51
+ * Replace the chain string at the cursor position.
52
+ *
53
+ * - ValueType.MethodChain: replaces the entire value.
54
+ * - ValueType.Interpolation: replaces the chain inside the {{...}} or ${...}
55
+ * expression the cursor is currently in.
56
+ *
57
+ * Returns the new value string and the new cursor position (end of inserted chain).
58
+ */
59
+ declare const replaceChainAtCursor: (value: string, valueType: ValueType, cursorIdx: number | null, tree: ASTNode, newChainString: string) => {
60
+ newValue: string;
61
+ newCursorIdx: number;
62
+ };
63
+ /**
64
+ * Returns context about a method chain function whenever the cursor falls anywhere within
65
+ * the function node's span (name, parens, or params).
66
+ */
67
+ declare function getFunctionAtCursor(tree: ASTNode, cursorIdx: number | null, valueType: ValueType): FunctionAtCursor | null;
68
+ /**
69
+ * Returns true if there is a CustomFunction node that starts at the given position.
70
+ * Used to detect clicks on custom code function spans.
71
+ */
72
+ declare function isCustomFunctionAtStart(tree: ASTNode, position: number): boolean;
73
+ /**
74
+ * Returns true when the cursor sits immediately after a function call's closing paren
75
+ * (e.g. cursor at the `|` in `accounts.filter(x)|`). Used to derive assumeOnNextLink
76
+ * from cursor position rather than relying solely on state.
77
+ */
78
+ declare function isCursorAfterFunctionClose(tree: ASTNode, cursorIdx: number | null, valueType: ValueType): boolean;
79
+ /**
80
+ * Return the current Mode of the input. The mode determines what is valid syntax.
81
+ */
82
+ declare const getMode: (tree: ASTNode, valueType: ValueType, cursorIdx: number | null) => Mode;
83
+ /**
84
+ * Determine if the cursor is strictly between chars of a delimiter token (like `{{`). In this
85
+ * state we want to hide the popover.
86
+ */
87
+ declare const isCursorInExpressionToken: (tree: ASTNode, cursorIdx: number | null, valueType: ValueType) => boolean;
88
+ /**
89
+ * When the user selects a chain option that already exists at the cursor position
90
+ * (e.g. confirming "page_number" while the value is "accounts.page_number(#1)", or
91
+ * confirming "accounts" while the cursor is inside "accounts.id"), returns the cursor
92
+ * position to move to rather than replacing the value via appendChain (which would
93
+ * discard existing parameters or suffixes after the link).
94
+ *
95
+ * Returns null when the link is not already present — caller should appendChain instead.
96
+ *
97
+ * Note: options always carry Identifier chain nodes (appendedMethodChain uses strings),
98
+ * so `isFunction` is derived from the schema rather than chain.type.
99
+ */
100
+ declare const getConfirmLinkCursorPos: (tree: ASTNode, valueType: ValueType, currentChain: Chain, chain: MethodChainNode, schema: object | null | undefined, cursorIdx: number | null) => number | null;
101
+ /**
102
+ * Matching function for filtering chain options given a partially typed option name.
103
+ *
104
+ * TODO: Add more sophistication here (e.g. fuzzy matching, etc.)
105
+ */
106
+ declare const isQueryMatch: (query: string, chain: {
107
+ property: string;
108
+ }) => boolean;
109
+ //#endregion
110
+ export { canExitToInterpolation, canTransitionToValueType, findChainAtCursor, getConfirmLinkCursorPos, getFunctionAtCursor, getMode, isChainWithValidRoot, isCursorAfterFunctionClose, isCursorInExpressionToken, isCustomFunctionAtStart, isInterpolationModeAllowed, isQueryMatch, replaceChainAtCursor, safeCursorIdx, scrollInputToCursor, syncScroll };
111
+ //# sourceMappingURL=utils4.d.mts.map
@@ -1,5 +1,5 @@
1
- import { l as FilterRule, p as FilterStateV2 } from "./types-C4WUSW3e.mjs";
2
- import { t as FieldRegistry } from "./FieldRegistry-0LmSQ-jc.mjs";
1
+ import { l as FilterRule, p as FilterStateV2 } from "./types-Dy3lZv9z.mjs";
2
+ import { t as FieldRegistry } from "./FieldRegistry-DqO8HiYb.mjs";
3
3
 
4
4
  //#region components/DataTable/TableControls/FiltersV2/validation.d.ts
5
5
  /**
@@ -48,4 +48,4 @@ declare function pruneToRegistry(state: FilterStateV2, registry: FieldRegistry |
48
48
  declare function hasCompleteValue(rule: FilterRule, registry: FieldRegistry): boolean;
49
49
  //#endregion
50
50
  export { isFilterStateV2 as n, pruneToRegistry as r, hasCompleteValue as t };
51
- //# sourceMappingURL=validation-BgwNghi2.d.mts.map
51
+ //# sourceMappingURL=validation-PeVTwtd-.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-BgwNghi2.mjs";
1
+ import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-PeVTwtd-.mjs";
2
2
  export { hasCompleteValue, isFilterStateV2, pruneToRegistry };
@@ -0,0 +1,64 @@
1
+ import { t as ASTNode } from "./types-BYRTxB0a.mjs";
2
+ import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-Bl-qzgrr.mjs";
3
+ import { t as ChainRoot } from "./chainTypes-D8SGRGba.mjs";
4
+ import { u as ValueType } from "./types-Cs6CdZCO.mjs";
5
+ import { ReactNode } from "react";
6
+
7
+ //#region components/SmartTextInput/validation.d.ts
8
+ type SchemaValidator = (tree: ASTNode) => {
9
+ start: number;
10
+ end: number;
11
+ name: string;
12
+ message?: string;
13
+ } | null;
14
+ type SchemaError = {
15
+ start: number;
16
+ end: number;
17
+ name: string;
18
+ message?: string;
19
+ };
20
+ /**
21
+ * Returns the first chain identifier span that fails schema validation, walking
22
+ * all chains left-to-right. Once the first invalid link is found, subsequent
23
+ * links are meaningless and validation stops.
24
+ */
25
+ declare function findSchemaErrors(tree: ASTNode, rootSchema: JsonSchema, platformObjectJsonSchema?: ObjectSchemaMap, primitiveUtilities?: ObjectSchemaMap): SchemaError | null;
26
+ declare const useSchemaValidator: ({
27
+ chainRoots,
28
+ primitivesSchema,
29
+ platformObjectJsonSchema,
30
+ defaultPrimitiveUtilities,
31
+ codeChainFunctionSchema,
32
+ isLoading
33
+ }: {
34
+ chainRoots: ChainRoot[];
35
+ primitivesSchema: "none" | "default" | ObjectSchemaMap;
36
+ platformObjectJsonSchema: ObjectSchemaMap;
37
+ defaultPrimitiveUtilities: ObjectSchemaMap;
38
+ codeChainFunctionSchema?: Record<string, Record<string, FunctionJsonSchema>>;
39
+ isLoading: boolean;
40
+ }) => SchemaValidator;
41
+ /**
42
+ * Calls the onValidationChange callback when the input's value is invalid in some manner based
43
+ * on syntax or schema.
44
+ */
45
+ declare const useInternalValidation: ({
46
+ tree,
47
+ valueIsEmpty,
48
+ focused,
49
+ schemaValidator,
50
+ onValidationChange,
51
+ value,
52
+ valueType
53
+ }: {
54
+ tree: ASTNode;
55
+ valueIsEmpty: boolean;
56
+ focused: boolean;
57
+ schemaValidator: SchemaValidator;
58
+ onValidationChange?: (errorText: ReactNode | null) => void;
59
+ value: string;
60
+ valueType: ValueType;
61
+ }) => void;
62
+ //#endregion
63
+ export { SchemaValidator, findSchemaErrors, useInternalValidation, useSchemaValidator };
64
+ //# sourceMappingURL=validation2.d.mts.map
@@ -1,4 +1,4 @@
1
- import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-C4WUSW3e.mjs";
1
+ import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-Dy3lZv9z.mjs";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region components/DataTable/TableControls/FiltersV2/FilterBar/value-control-resolver.d.ts
@@ -46,4 +46,4 @@ type ValueControlResolver = (opts: ResolveValueControlOptions) => ReactNode | un
46
46
  declare function resolveValueControl(opts: ResolveValueControlOptions, hostResolver?: ValueControlResolver): ReactNode;
47
47
  //#endregion
48
48
  export { ValueControlResolver as n, resolveValueControl as r, ResolveValueControlOptions as t };
49
- //# sourceMappingURL=value-control-resolver-B0HDRxRN.d.mts.map
49
+ //# sourceMappingURL=value-control-resolver-Cx_wXQFv.d.mts.map
@@ -1,2 +1,2 @@
1
- import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-B0HDRxRN.mjs";
1
+ import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-Cx_wXQFv.mjs";
2
2
  export { ResolveValueControlOptions, ValueControlResolver, resolveValueControl };
@@ -1,4 +1,4 @@
1
- import { t as MaybeSemanticTheme } from "../semanticColor-DuJCmDrH.mjs";
1
+ import { t as MaybeSemanticTheme } from "../semanticColor-Bg0H3RUL.mjs";
2
2
 
3
3
  //#region variables/effect.d.ts
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { i as semanticLight, n as SemanticTokens, r as semanticDark, t as CssPercentage } from "../semantic-CFMBsuiJ.mjs";
1
+ import { i as semanticLight, n as SemanticTokens, r as semanticDark, t as CssPercentage } from "../semantic-D1661f_6.mjs";
2
2
  export { CssPercentage, SemanticTokens, semanticDark, semanticLight };
package/llms.txt CHANGED
@@ -34,7 +34,7 @@ their own subpaths.
34
34
  - Tables: `DataTable` (data views w/ pagination + sorting), `TableBox` (editable form tables), `TableLayout` + `Table`/`TableRow`/`TableCell`/`TableHeaderCell` primitives (components/Table) — `TableLayout` has built-in `isLoading`/`isEmpty`/`nullState`/`showHeader` handling
35
35
  - Page chrome: `PageHeader` (title or breadcrumbs variant), `Breadcrumbs`, `TabBar`, `BottomPanel` (resizable bottom drawer)
36
36
  - Feedback: `Spinner`, `Banner`, `Toast`, `LoadingShimmer`, `ProgressBar`
37
- - Overlays: `Modal`, `WizardModal`, `RightPanel`, `Popover`, `Tooltip` / `TextUnderlineTooltip`, `DropdownMenu`, `FloatingPanel`
37
+ - Overlays: `Modal`, `WizardModal` (`patterns/WizardModal`), `RightPanel`, `Popover`, `Tooltip` / `TextUnderlineTooltip`, `DropdownMenu`, `FloatingPanel`
38
38
  - Forms: `ConfigFormGroup`, `FormField` (`TextField`, `TextAreaField`, `TableBoxField`), `Input`, `TextArea`, `Select`, `Combobox`, `Checkbox`, `Radio`, `Toggle`, `DatePicker`
39
39
  - Status: `Sticker` (status badges), `Badge` (counts), `StatusIndicator`
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@persona/design-system",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "React components for Persona UI",
5
5
  "keywords": [
6
6
  "tanstack-intent"
@@ -65,6 +65,7 @@
65
65
  "./components/SegmentedControl": "./dist/components/SegmentedControl/index.mjs",
66
66
  "./components/Select": "./dist/components/Select/index.mjs",
67
67
  "./components/Slider": "./dist/components/Slider/index.mjs",
68
+ "./components/SmartTextInput": "./dist/components/SmartTextInput/index.mjs",
68
69
  "./components/SmartTextInput/parser/method-chain/parser": "./dist/components/SmartTextInput/parser/method-chain/parser.mjs",
69
70
  "./components/SmartTextInput/parser/method-chain/types": "./dist/components/SmartTextInput/parser/method-chain/types.mjs",
70
71
  "./components/SmartTextInput/parser/smart-text/parser": "./dist/components/SmartTextInput/parser/smart-text/parser.mjs",
@@ -87,7 +88,6 @@
87
88
  "./components/Toggle": "./dist/components/Toggle/index.mjs",
88
89
  "./components/Tooltip": "./dist/components/Tooltip/index.mjs",
89
90
  "./components/VersionHistory": "./dist/components/VersionHistory/index.mjs",
90
- "./components/WizardModal": "./dist/components/WizardModal/index.mjs",
91
91
  "./lib/chainTypes": "./dist/lib/chainTypes.mjs",
92
92
  "./lib/color": "./dist/lib/color.mjs",
93
93
  "./lib/comboboxHelper": "./dist/lib/comboboxHelper.mjs",
@@ -123,6 +123,7 @@
123
123
  "./lib/snakifyPath": "./dist/lib/snakifyPath.mjs",
124
124
  "./lib/TruncatedText": "./dist/lib/TruncatedText.mjs",
125
125
  "./lib/TruncatedTextWithTooltip": "./dist/lib/TruncatedTextWithTooltip.mjs",
126
+ "./lib/useChain": "./dist/lib/useChain.mjs",
126
127
  "./lib/useControlled": "./dist/lib/useControlled.mjs",
127
128
  "./lib/useEmbeddedSurface": "./dist/lib/useEmbeddedSurface.mjs",
128
129
  "./lib/useIsOverflow": "./dist/lib/useIsOverflow.mjs",
@@ -141,6 +142,7 @@
141
142
  "./patterns/LayoutLoadingShimmer": "./dist/patterns/LayoutLoadingShimmer/index.mjs",
142
143
  "./patterns/LayoutLoadingSpinner": "./dist/patterns/LayoutLoadingSpinner/index.mjs",
143
144
  "./patterns/PageLayout": "./dist/patterns/PageLayout/index.mjs",
145
+ "./patterns/WizardModal": "./dist/patterns/WizardModal/index.mjs",
144
146
  "./theme": "./dist/theme.mjs",
145
147
  "./utils/storybook": "./dist/utils/storybook.mjs",
146
148
  "./utils/testing": "./dist/utils/testing.mjs",
@@ -317,6 +319,7 @@
317
319
  "./components/SegmentedControl": "./dist/components/SegmentedControl/index.mjs",
318
320
  "./components/Select": "./dist/components/Select/index.mjs",
319
321
  "./components/Slider": "./dist/components/Slider/index.mjs",
322
+ "./components/SmartTextInput": "./dist/components/SmartTextInput/index.mjs",
320
323
  "./components/SmartTextInput/parser/method-chain/parser": "./dist/components/SmartTextInput/parser/method-chain/parser.mjs",
321
324
  "./components/SmartTextInput/parser/method-chain/types": "./dist/components/SmartTextInput/parser/method-chain/types.mjs",
322
325
  "./components/SmartTextInput/parser/smart-text/parser": "./dist/components/SmartTextInput/parser/smart-text/parser.mjs",
@@ -339,7 +342,6 @@
339
342
  "./components/Toggle": "./dist/components/Toggle/index.mjs",
340
343
  "./components/Tooltip": "./dist/components/Tooltip/index.mjs",
341
344
  "./components/VersionHistory": "./dist/components/VersionHistory/index.mjs",
342
- "./components/WizardModal": "./dist/components/WizardModal/index.mjs",
343
345
  "./lib/chainTypes": "./dist/lib/chainTypes.mjs",
344
346
  "./lib/color": "./dist/lib/color.mjs",
345
347
  "./lib/comboboxHelper": "./dist/lib/comboboxHelper.mjs",
@@ -375,6 +377,7 @@
375
377
  "./lib/snakifyPath": "./dist/lib/snakifyPath.mjs",
376
378
  "./lib/TruncatedText": "./dist/lib/TruncatedText.mjs",
377
379
  "./lib/TruncatedTextWithTooltip": "./dist/lib/TruncatedTextWithTooltip.mjs",
380
+ "./lib/useChain": "./dist/lib/useChain.mjs",
378
381
  "./lib/useControlled": "./dist/lib/useControlled.mjs",
379
382
  "./lib/useEmbeddedSurface": "./dist/lib/useEmbeddedSurface.mjs",
380
383
  "./lib/useIsOverflow": "./dist/lib/useIsOverflow.mjs",
@@ -393,6 +396,7 @@
393
396
  "./patterns/LayoutLoadingShimmer": "./dist/patterns/LayoutLoadingShimmer/index.mjs",
394
397
  "./patterns/LayoutLoadingSpinner": "./dist/patterns/LayoutLoadingSpinner/index.mjs",
395
398
  "./patterns/PageLayout": "./dist/patterns/PageLayout/index.mjs",
399
+ "./patterns/WizardModal": "./dist/patterns/WizardModal/index.mjs",
396
400
  "./theme": "./dist/theme.mjs",
397
401
  "./utils/storybook": "./dist/utils/storybook.mjs",
398
402
  "./utils/testing": "./dist/utils/testing.mjs",
@@ -406,5 +410,8 @@
406
410
  "./package.json": "./package.json"
407
411
  },
408
412
  "registry": "https://registry.npmjs.org"
413
+ },
414
+ "inlinedDependencies": {
415
+ "lodash": "4.18.1"
409
416
  }
410
417
  }
@@ -73,7 +73,6 @@ exists. If there is no `.mdx`, use the published type declarations
73
73
  | `Toggle` | Turning a setting on or off with no extra confirmation | `@persona/design-system/components/Toggle` |
74
74
  | `Tooltip` | Standalone tooltip — explaining an icon or control on hover or focus | `@persona/design-system/components/Tooltip` |
75
75
  | `VersionHistory` | Show previous versions of a file and let the user compare or restore one | `@persona/design-system/components/VersionHistory` |
76
- | `WizardModal` | Multi-step task behind a page overlay; Next/Confirm run `onProceed` | `@persona/design-system/components/WizardModal` |
77
76
 
78
77
 
79
78
  ## Testing
@@ -18,6 +18,7 @@ Which pattern to use, and for what. Patterns with a dedicated doc link to
18
18
  | LayoutLoadingSpinner | Centered 120px loading ring that fills its container. Use as the loading state for a page or embedded app when no layout-specific shimmer exists. |
19
19
  | LayoutLoadingShimmer | Filling space while content loads |
20
20
  | [Panels](../../patterns/Panels/Panels.mdx) | Use `RightPanel` when the page should stay visible. Use `Modal` when the task needs full attention. Never a custom drawer. |
21
+ | [WizardModal](../../patterns/WizardModal/WizardModal.mdx) | A linear multi-step task behind a page overlay. |
21
22
 
22
23
 
23
24
  ## Page layouts