@persona/design-system 0.3.1 → 0.5.0

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 (443) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/README.md +1 -1
  3. package/dist/{Action-DL3kHI9Z.d.mts → Action-C2waxwIy.d.mts} +3 -3
  4. package/dist/Action.d.mts +1 -1
  5. package/dist/AdvancedFilterRuleRow.d.mts +4 -4
  6. package/dist/AdvancedFilterRulesPopover.d.mts +3 -3
  7. package/dist/ArrayValueControl.d.mts +1 -1
  8. package/dist/Attribute.d.mts +4 -4
  9. package/dist/{Badge-BL0J5oMa.mjs → Badge-CM2TzkdE.mjs} +2 -2
  10. package/dist/{Badge-BL0J5oMa.mjs.map → Badge-CM2TzkdE.mjs.map} +1 -1
  11. package/dist/BooleanValueControl.d.mts +1 -1
  12. package/dist/BottomPanel.d.mts +32 -0
  13. package/dist/{Breadcrumb-Czgdi0xf.d.mts → Breadcrumb-Df06cTnA.d.mts} +1 -1
  14. package/dist/Breadcrumb.d.mts +1 -1
  15. package/dist/{Breadcrumbs-ed4wRDS7.mjs → Breadcrumbs-BEYQlGbW.mjs} +7 -7
  16. package/dist/{Breadcrumbs-ed4wRDS7.mjs.map → Breadcrumbs-BEYQlGbW.mjs.map} +1 -1
  17. package/dist/{Breadcrumbs-zei-cpdU.d.mts → Breadcrumbs-D_Gzd4_J.d.mts} +2 -2
  18. package/dist/Breadcrumbs.d.mts +1 -1
  19. package/dist/{Button-CKzNTpPL.d.mts → Button-CRFbWv3l.d.mts} +3 -3
  20. package/dist/Button.d.mts +1 -1
  21. package/dist/{Calendar-CcxN7y3e.d.mts → Calendar-DjnoZVcT.d.mts} +1 -1
  22. package/dist/Calendar.d.mts +1 -1
  23. package/dist/CalendarBase.d.mts +1 -1
  24. package/dist/{Card-pr4FQWjn.d.mts → Card-BoGV5tY2.d.mts} +4 -4
  25. package/dist/Card.d.mts +1 -1
  26. package/dist/Card2.d.mts +3 -3
  27. package/dist/{CardV2-D3m5EKlp.mjs → CardV2-B2wx1NE3.mjs} +11 -11
  28. package/dist/{CardV2-D3m5EKlp.mjs.map → CardV2-B2wx1NE3.mjs.map} +1 -1
  29. package/dist/{Checkbox-Bmm-r5ei.d.mts → Checkbox-CwPXPLCi.d.mts} +1 -1
  30. package/dist/{Checkbox-Ccuicmlo.mjs → Checkbox-DwZEsi7x.mjs} +5 -5
  31. package/dist/{Checkbox-Ccuicmlo.mjs.map → Checkbox-DwZEsi7x.mjs.map} +1 -1
  32. package/dist/Checkbox.d.mts +1 -1
  33. package/dist/CheckboxGroupField.d.mts +1 -1
  34. package/dist/ChoicesValueControl.d.mts +1 -1
  35. package/dist/{Combobox-Bf_Xe1BG.d.mts → Combobox-BQN5OwB-.d.mts} +3 -3
  36. package/dist/{Combobox-BGRyr_-L.mjs → Combobox-CKaVX-32.mjs} +9 -9
  37. package/dist/{Combobox-BGRyr_-L.mjs.map → Combobox-CKaVX-32.mjs.map} +1 -1
  38. package/dist/Combobox.d.mts +2 -2
  39. package/dist/{ComboboxBase-CWzN8GML.d.mts → ComboboxBase-nfHr19x-.d.mts} +7 -7
  40. package/dist/ComboboxBase.d.mts +1 -1
  41. package/dist/{ComboboxMultiSelect-iSuvyOx2.d.mts → ComboboxMultiSelect-DRNj2Mtx.d.mts} +2 -2
  42. package/dist/ComboboxMultiSelect.d.mts +1 -1
  43. package/dist/{ComboboxSingleSelect-DVRFKPi1.d.mts → ComboboxSingleSelect-BkhbEx-F.d.mts} +4 -4
  44. package/dist/ComboboxSingleSelect.d.mts +1 -1
  45. package/dist/{CompactBar-C_61pgp7.d.mts → CompactBar-CyHbWTv4.d.mts} +3 -3
  46. package/dist/CompactBar.d.mts +1 -1
  47. package/dist/{ConfigFormGroup-DGCTW3by.mjs → ConfigFormGroup-CmCRJyse.mjs} +2 -2
  48. package/dist/{ConfigFormGroup-DGCTW3by.mjs.map → ConfigFormGroup-CmCRJyse.mjs.map} +1 -1
  49. package/dist/{ControlBar-0XwbM4yC.d.mts → ControlBar-DwAhPcb5.d.mts} +12 -2
  50. package/dist/ControlBar.d.mts +1 -1
  51. package/dist/DataTable.d.mts +8 -8
  52. package/dist/{DateField-CKeSIhGy.d.mts → DateField-tOyrGcx1.d.mts} +2 -2
  53. package/dist/DateField.d.mts +1 -1
  54. package/dist/{DatePicker-B1iWrqR5.d.mts → DatePicker-Bs9JODNg.d.mts} +2 -2
  55. package/dist/{DatePicker-BNnZ6L1y.mjs → DatePicker-D2SfjS-N.mjs} +74 -19
  56. package/dist/DatePicker-D2SfjS-N.mjs.map +1 -0
  57. package/dist/DatePicker.d.mts +1 -1
  58. package/dist/{DateRangePicker-BmF9eH9R.d.mts → DateRangePicker-BT6-j8V7.d.mts} +24 -4
  59. package/dist/DateRangePicker.d.mts +2 -2
  60. package/dist/DateRangeValueControl.d.mts +8 -4
  61. package/dist/DateValueControl.d.mts +1 -1
  62. package/dist/{DropdownButton-BlVeFbJ0.mjs → DropdownButton-dpGAmVlN.mjs} +3 -3
  63. package/dist/{DropdownButton-BlVeFbJ0.mjs.map → DropdownButton-dpGAmVlN.mjs.map} +1 -1
  64. package/dist/DropdownButton.d.mts +2 -2
  65. package/dist/{DropdownMenu-82xH1AZr.mjs → DropdownMenu-CyxizDxJ.mjs} +2 -2
  66. package/dist/{DropdownMenu-82xH1AZr.mjs.map → DropdownMenu-CyxizDxJ.mjs.map} +1 -1
  67. package/dist/{DropdownMenu-DuTnq9j7.d.mts → DropdownMenu-RTxQ0Zu1.d.mts} +3 -3
  68. package/dist/DropdownMenu.d.mts +1 -1
  69. package/dist/{ErrorProps-DX50vo-U.d.mts → ErrorProps-C9T857Wk.d.mts} +1 -1
  70. package/dist/ErrorProps.d.mts +1 -1
  71. package/dist/{FieldRegistry-D1vghSC_.d.mts → FieldRegistry-D6niLExM.d.mts} +2 -2
  72. package/dist/FieldRegistry.d.mts +1 -1
  73. package/dist/{FilterBar-Ck085Dic.d.mts → FilterBar-DfBV7yKM.d.mts} +10 -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 +1 -1
  78. package/dist/FloatValueControl.d.mts +1 -1
  79. package/dist/{FormControl-CfpwZGlD.d.mts → FormControl-BMYRsFkI.d.mts} +3 -3
  80. package/dist/{FormControl-D1HIqDKm.mjs → FormControl-DQFefbrI.mjs} +4 -4
  81. package/dist/{FormControl-D1HIqDKm.mjs.map → FormControl-DQFefbrI.mjs.map} +1 -1
  82. package/dist/FormControl.d.mts +1 -1
  83. package/dist/FormControlLabel.d.mts +2 -2
  84. package/dist/{FormField-0p4y0sS5.d.mts → FormField-C1DaUT5U.d.mts} +6 -7
  85. package/dist/{FormField-CVnbsNvU.mjs → FormField-C7bW-O6H.mjs} +19 -20
  86. package/dist/FormField-C7bW-O6H.mjs.map +1 -0
  87. package/dist/FormField.d.mts +1 -1
  88. package/dist/Grid.d.mts +38 -0
  89. package/dist/GridItem.d.mts +17 -0
  90. package/dist/{Header-gDUTQgWj.d.mts → Header-BKk3qESS.d.mts} +2 -2
  91. package/dist/Header.d.mts +1 -1
  92. package/dist/{HelperTooltip-CqhiRb5g.d.mts → HelperTooltip-CD_yy7Hp.d.mts} +2 -2
  93. package/dist/HelperTooltip.d.mts +1 -1
  94. package/dist/{HoverCopyableField-HWshrU_1.mjs → HoverCopyableField-Bgt639FR.mjs} +4 -4
  95. package/dist/{HoverCopyableField-HWshrU_1.mjs.map → HoverCopyableField-Bgt639FR.mjs.map} +1 -1
  96. package/dist/{IconButton-CLsHdYm7.d.mts → IconButton-Bh-JJ-0x.d.mts} +2 -2
  97. package/dist/{IconButton-BgL3QUVO.mjs → IconButton-BnSEV7eR.mjs} +5 -5
  98. package/dist/{IconButton-BgL3QUVO.mjs.map → IconButton-BnSEV7eR.mjs.map} +1 -1
  99. package/dist/IconButton.d.mts +1 -1
  100. package/dist/ImageTile.d.mts +1 -1
  101. package/dist/InlineCombobox.d.mts +1 -1
  102. package/dist/InlineInput.d.mts +1 -1
  103. package/dist/{Input-BHHWpSKN.d.mts → Input-1bDdMAgO.d.mts} +6 -6
  104. package/dist/{Input-DoB8YswA.mjs → Input-D7of_GtJ.mjs} +4 -4
  105. package/dist/{Input-DoB8YswA.mjs.map → Input-D7of_GtJ.mjs.map} +1 -1
  106. package/dist/Input.d.mts +1 -1
  107. package/dist/{InputProps-sHxlDiss.d.mts → InputProps-BBShwi8N.d.mts} +2 -2
  108. package/dist/InputProps.d.mts +1 -1
  109. package/dist/IntegerValueControl.d.mts +1 -1
  110. package/dist/{ListBox-BrY1bQ5-.d.mts → ListBox-DeFHRX2T.d.mts} +3 -3
  111. package/dist/{ListBox-B9uuMt2R.mjs → ListBox-jzXQDraS.mjs} +10 -10
  112. package/dist/{ListBox-B9uuMt2R.mjs.map → ListBox-jzXQDraS.mjs.map} +1 -1
  113. package/dist/ListBox.d.mts +1 -1
  114. package/dist/ListBoxField.d.mts +2 -2
  115. package/dist/{LoadingShimmer-dsBWRdTU.mjs → LoadingShimmer-a2Hv0kAq.mjs} +1 -1
  116. package/dist/{LoadingShimmer-dsBWRdTU.mjs.map → LoadingShimmer-a2Hv0kAq.mjs.map} +1 -1
  117. package/dist/LoadingShimmer.d.mts +2 -2
  118. package/dist/{LogicRow-9a_klV2v.d.mts → LogicRow-BOhB0uNS.d.mts} +3 -3
  119. package/dist/LogicRow.d.mts +1 -1
  120. package/dist/MaskedInput.d.mts +2 -2
  121. package/dist/MatchHighlight.d.mts +1 -1
  122. package/dist/{Menu-D4Y_J-QI.d.mts → Menu-BCVhmNEe.d.mts} +4 -4
  123. package/dist/{Menu-CHbUf9PQ.mjs → Menu-DVI8l-4Q.mjs} +3 -3
  124. package/dist/{Menu-CHbUf9PQ.mjs.map → Menu-DVI8l-4Q.mjs.map} +1 -1
  125. package/dist/Menu.d.mts +1 -1
  126. package/dist/Modal.d.mts +2 -2
  127. package/dist/{PageHeader-XxGsFLHb.mjs → PageHeader-BpGT-BM0.mjs} +2 -2
  128. package/dist/{PageHeader-XxGsFLHb.mjs.map → PageHeader-BpGT-BM0.mjs.map} +1 -1
  129. package/dist/PageHeader.d.mts +2 -2
  130. package/dist/PageLayout.d.mts +1 -1
  131. package/dist/{PageSelector-BDo3ge1E.d.mts → PageSelector-D6tffcGW.d.mts} +3 -3
  132. package/dist/PageSelector.d.mts +1 -1
  133. package/dist/{Pagination-Dcmv7bVe.d.mts → Pagination-BkjmybcI.d.mts} +2 -2
  134. package/dist/{Pagination-DvVKQLdC.mjs → Pagination-CVRTcKSG.mjs} +4 -4
  135. package/dist/{Pagination-DvVKQLdC.mjs.map → Pagination-CVRTcKSG.mjs.map} +1 -1
  136. package/dist/Pagination.d.mts +1 -1
  137. package/dist/{Pii-BD48BtZ0.mjs → Pii-CA7aCuYT.mjs} +2 -2
  138. package/dist/{Pii-BD48BtZ0.mjs.map → Pii-CA7aCuYT.mjs.map} +1 -1
  139. package/dist/PillShell-CVqpZ5iV.d.mts +85 -0
  140. package/dist/PillShell.d.mts +2 -85
  141. package/dist/{Popover-DNH8Jx1-.mjs → Popover-DlXyKYL5.mjs} +1 -1
  142. package/dist/{Popover-DNH8Jx1-.mjs.map → Popover-DlXyKYL5.mjs.map} +1 -1
  143. package/dist/ProgressIndicator.d.mts +5 -3
  144. package/dist/{PseudoClassProps-DgT5G_z5.d.mts → PseudoClassProps-BPdn-ofQ.d.mts} +1 -1
  145. package/dist/PseudoClassProps.d.mts +1 -1
  146. package/dist/{Radio-DSMPX5_2.mjs → Radio-DYGEt0FT.mjs} +3 -3
  147. package/dist/{Radio-DSMPX5_2.mjs.map → Radio-DYGEt0FT.mjs.map} +1 -1
  148. package/dist/{RadioGroup-Jl1yAvGu.d.mts → RadioGroup-DYIfRj02.d.mts} +1 -1
  149. package/dist/{RadioGroup-D5IITQLz.mjs → RadioGroup-pegXtLwD.mjs} +2 -2
  150. package/dist/{RadioGroup-D5IITQLz.mjs.map → RadioGroup-pegXtLwD.mjs.map} +1 -1
  151. package/dist/RadioGroup.d.mts +1 -1
  152. package/dist/RangeCalendar.d.mts +5 -0
  153. package/dist/RangeCalendarPresets.d.mts +12 -2
  154. package/dist/ResizableVerticalPanel.d.mts +22 -0
  155. package/dist/ResizeHandle.d.mts +19 -0
  156. package/dist/RightPanel.d.mts +41 -0
  157. package/dist/RightPanelLoadingContent.d.mts +7 -0
  158. package/dist/RightPanelResizeHandle.d.mts +14 -0
  159. package/dist/RuleEditorFields.d.mts +4 -4
  160. package/dist/RulesPill.d.mts +1 -1
  161. package/dist/{SearchInput-CaKHRC_s.d.mts → SearchInput-Dc90GLTF.d.mts} +2 -2
  162. package/dist/SearchInput.d.mts +1 -1
  163. package/dist/SectionHeading.d.mts +1 -1
  164. package/dist/{SegmentedControl-e6xDtoHC.d.mts → SegmentedControl-DIHonamg.d.mts} +1 -1
  165. package/dist/{SegmentedControl-JUgRw_M-.mjs → SegmentedControl-DwbltwDQ.mjs} +2 -2
  166. package/dist/{SegmentedControl-JUgRw_M-.mjs.map → SegmentedControl-DwbltwDQ.mjs.map} +1 -1
  167. package/dist/SegmentedControl.d.mts +1 -1
  168. package/dist/{Select-DX3toj6M.mjs → Select-CBVvPyRJ.mjs} +7 -8
  169. package/dist/Select-CBVvPyRJ.mjs.map +1 -0
  170. package/dist/{Select-CPYztD4m.d.mts → Select-DwqWnWBi.d.mts} +3 -3
  171. package/dist/Select.d.mts +1 -1
  172. package/dist/{Spinner-D3wXIoXN.mjs → Spinner-e725Rxkd.mjs} +2 -2
  173. package/dist/{Spinner-D3wXIoXN.mjs.map → Spinner-e725Rxkd.mjs.map} +1 -1
  174. package/dist/{Stack-DHaK1-dw.d.mts → Stack-6eOrxjJi.d.mts} +2 -2
  175. package/dist/Stack.d.mts +1 -1
  176. package/dist/{Sticker-CQ6sOKUj.mjs → Sticker-By3F8Aip.mjs} +4 -4
  177. package/dist/{Sticker-CQ6sOKUj.mjs.map → Sticker-By3F8Aip.mjs.map} +1 -1
  178. package/dist/{Sticker-DnSemOcW.d.mts → Sticker-Ep6N4Exq.d.mts} +5 -5
  179. package/dist/Sticker.d.mts +1 -1
  180. package/dist/StringValueControl.d.mts +1 -1
  181. package/dist/Tab.d.mts +2 -2
  182. package/dist/{TabBar-sYllYizt.mjs → TabBar-CWF65Tv4.mjs} +5 -5
  183. package/dist/{TabBar-sYllYizt.mjs.map → TabBar-CWF65Tv4.mjs.map} +1 -1
  184. package/dist/TabBarIconButton.d.mts +2 -2
  185. package/dist/{Table-CFbPINKr.d.mts → Table-BOcWdwpv.d.mts} +1 -1
  186. package/dist/{Table-C2pkP5Xg.mjs → Table-nWd5ZVbm.mjs} +6 -6
  187. package/dist/{Table-C2pkP5Xg.mjs.map → Table-nWd5ZVbm.mjs.map} +1 -1
  188. package/dist/Table.d.mts +1 -1
  189. package/dist/{TableBody-BQsGc4Lw.d.mts → TableBody-BFPFaZnD.d.mts} +1 -1
  190. package/dist/TableBody.d.mts +1 -1
  191. package/dist/{TableBox-CaTHcR4F.mjs → TableBox-Bd-H5oyh.mjs} +23 -17
  192. package/dist/{TableBox-CaTHcR4F.mjs.map → TableBox-Bd-H5oyh.mjs.map} +1 -1
  193. package/dist/TableBox.d.mts +2 -2
  194. package/dist/{TableBoxCell-52g97gEg.d.mts → TableBoxCell-Cjlc_xJz.d.mts} +11 -8
  195. package/dist/TableBoxCell.d.mts +1 -1
  196. package/dist/TableBoxField.d.mts +3 -3
  197. package/dist/{TableBoxRow-DnoumHIE.d.mts → TableBoxRow-CKDjNUsU.d.mts} +3 -3
  198. package/dist/TableBoxRow.d.mts +1 -1
  199. package/dist/{TableBoxRowActions-CDcREhP4.d.mts → TableBoxRowActions-BJ8ue3Bk.d.mts} +2 -2
  200. package/dist/TableBoxRowActions.d.mts +1 -1
  201. package/dist/TableCell.d.mts +1 -1
  202. package/dist/{TableControls-3bXyd8gS.mjs → TableControls-BnesnTue.mjs} +245 -52
  203. package/dist/TableControls-BnesnTue.mjs.map +1 -0
  204. package/dist/{TableControls-CrGGlkEG.d.mts → TableControls-D8xMNgyS.d.mts} +4 -3
  205. package/dist/TableControls.d.mts +1 -1
  206. package/dist/{TableControlsContext-BKZt2Jid.d.mts → TableControlsContext-ChFsFEjR.d.mts} +2 -2
  207. package/dist/TableControlsContext.d.mts +1 -1
  208. package/dist/{TableHead-CqVIJfjh.d.mts → TableHead-CWDxuy5V.d.mts} +1 -1
  209. package/dist/TableHead.d.mts +1 -1
  210. package/dist/{TableHeaderCell-DK4R8vdK.d.mts → TableHeaderCell-C_sIU1d7.d.mts} +1 -1
  211. package/dist/TableHeaderCell.d.mts +1 -1
  212. package/dist/{TableLayout-BcIazRB-.d.mts → TableLayout-CgGhKU_A.d.mts} +1 -1
  213. package/dist/TableLayout.d.mts +1 -1
  214. package/dist/{TableRow-DdJcjG2b.d.mts → TableRow-B1UKlbze.d.mts} +2 -2
  215. package/dist/TableRow.d.mts +1 -1
  216. package/dist/TableTH.d.mts +1 -1
  217. package/dist/{TableViewConfigurationDropdown-CHBOjw7O.d.mts → TableViewConfigurationDropdown-BqB7pOh8.d.mts} +2 -2
  218. package/dist/TableViewConfigurationDropdown.d.mts +1 -1
  219. package/dist/{TechnicalSticker-D3eeGMDR.mjs → TechnicalSticker-Ct2WnNzJ.mjs} +3 -3
  220. package/dist/{TechnicalSticker-D3eeGMDR.mjs.map → TechnicalSticker-Ct2WnNzJ.mjs.map} +1 -1
  221. package/dist/{Text-BIgrwIdS.d.mts → Text-BzzUdBdc.d.mts} +4 -4
  222. package/dist/Text.d.mts +1 -1
  223. package/dist/{TextArea-CiLttt0s.d.mts → TextArea-CGpY5xqX.d.mts} +2 -2
  224. package/dist/{TextArea-DWXuV2aZ.mjs → TextArea-CospIXEO.mjs} +2 -2
  225. package/dist/{TextArea-DWXuV2aZ.mjs.map → TextArea-CospIXEO.mjs.map} +1 -1
  226. package/dist/TextArea.d.mts +1 -1
  227. package/dist/{TextUnderlineTooltip-_7mIrZ2-.d.mts → TextUnderlineTooltip-DZYGjJq1.d.mts} +3 -3
  228. package/dist/TextUnderlineTooltip.d.mts +1 -1
  229. package/dist/Tile.d.mts +1 -1
  230. package/dist/Toast.d.mts +1 -1
  231. package/dist/{Toggle-Cav7bMxg.d.mts → Toggle-BjAivdyX.d.mts} +1 -1
  232. package/dist/{Toggle-e8DCYa6i.mjs → Toggle-Do5z1VcO.mjs} +5 -5
  233. package/dist/{Toggle-e8DCYa6i.mjs.map → Toggle-Do5z1VcO.mjs.map} +1 -1
  234. package/dist/Toggle.d.mts +1 -1
  235. package/dist/{Tooltip-iJcfJqxn.mjs → Tooltip-DSKGD33G.mjs} +2 -2
  236. package/dist/{Tooltip-iJcfJqxn.mjs.map → Tooltip-DSKGD33G.mjs.map} +1 -1
  237. package/dist/{Tooltip-DX-N-szt.d.mts → Tooltip-n3XkX4dp.d.mts} +3 -3
  238. package/dist/Tooltip.d.mts +1 -1
  239. package/dist/{TruncatedText-D2R7uy_y.d.mts → TruncatedText-C-MJPIRi.d.mts} +2 -2
  240. package/dist/codec-B0dZTwlG.d.mts +29 -0
  241. package/dist/codec.d.mts +2 -0
  242. package/dist/components/Attribute/index.mjs +3 -3
  243. package/dist/components/Badge/index.mjs +1 -1
  244. package/dist/components/Banner/index.mjs +2 -2
  245. package/dist/components/BottomPanel/index.d.mts +2 -0
  246. package/dist/components/BottomPanel/index.mjs +293 -0
  247. package/dist/components/BottomPanel/index.mjs.map +1 -0
  248. package/dist/components/Breadcrumbs/index.d.mts +1 -1
  249. package/dist/components/Breadcrumbs/index.mjs +1 -1
  250. package/dist/components/Button/index.d.mts +2 -2
  251. package/dist/components/Button/index.mjs +1 -1
  252. package/dist/components/ButtonGroup/index.mjs +2 -2
  253. package/dist/components/Card/index.d.mts +2 -2
  254. package/dist/components/CardV2/index.d.mts +1 -1
  255. package/dist/components/CardV2/index.mjs +1 -1
  256. package/dist/components/Checkbox/index.d.mts +1 -1
  257. package/dist/components/Checkbox/index.mjs +1 -1
  258. package/dist/components/Combobox/index.d.mts +2 -2
  259. package/dist/components/Combobox/index.mjs +1 -1
  260. package/dist/components/ConfigFormGroup/index.mjs +2 -2
  261. package/dist/components/DataTable/TableControls/index.d.mts +20 -16
  262. package/dist/components/DataTable/TableControls/index.mjs +2 -2
  263. package/dist/components/DataTable/index.mjs +16 -23
  264. package/dist/components/DataTable/index.mjs.map +1 -1
  265. package/dist/components/DataTable/types.d.mts +2 -2
  266. package/dist/components/DatePicker/index.d.mts +5 -5
  267. package/dist/components/DatePicker/index.mjs +1 -1
  268. package/dist/components/DropdownButton/index.mjs +1 -1
  269. package/dist/components/DropdownMenu/index.d.mts +1 -1
  270. package/dist/components/DropdownMenu/index.mjs +1 -1
  271. package/dist/components/FloatingPanel/index.mjs +3 -3
  272. package/dist/components/FormControl/index.d.mts +2 -2
  273. package/dist/components/FormControl/index.mjs +2 -2
  274. package/dist/components/FormField/index.d.mts +1 -1
  275. package/dist/components/FormField/index.mjs +1 -1
  276. package/dist/components/Grid/index.d.mts +3 -0
  277. package/dist/components/Grid/index.mjs +85 -0
  278. package/dist/components/Grid/index.mjs.map +1 -0
  279. package/dist/components/HoverCopyableField/index.mjs +1 -1
  280. package/dist/components/ImageTile/index.mjs +7 -7
  281. package/dist/components/Input/index.d.mts +1 -1
  282. package/dist/components/Input/index.mjs +1 -1
  283. package/dist/components/Link/index.mjs +2 -2
  284. package/dist/components/ListBox/index.d.mts +3 -3
  285. package/dist/components/ListBox/index.mjs +1 -1
  286. package/dist/components/LoadingShimmer/index.mjs +1 -1
  287. package/dist/components/MaskedInput/index.mjs +1 -1
  288. package/dist/components/Menu/index.d.mts +1 -1
  289. package/dist/components/Menu/index.mjs +1 -1
  290. package/dist/components/Modal/index.mjs +2 -2
  291. package/dist/components/PageHeader/index.mjs +1 -1
  292. package/dist/components/Pagination/index.d.mts +3 -3
  293. package/dist/components/Pagination/index.mjs +1 -1
  294. package/dist/components/Pii/index.mjs +1 -1
  295. package/dist/components/Popover/index.mjs +1 -1
  296. package/dist/components/ProgressBar/index.mjs +1 -1
  297. package/dist/components/ProgressIndicator/index.mjs +13 -9
  298. package/dist/components/ProgressIndicator/index.mjs.map +1 -1
  299. package/dist/components/Radio/index.mjs +1 -1
  300. package/dist/components/RadioGroup/index.d.mts +1 -1
  301. package/dist/components/RadioGroup/index.mjs +1 -1
  302. package/dist/components/RightPanel/index.d.mts +2 -0
  303. package/dist/components/RightPanel/index.mjs +294 -0
  304. package/dist/components/RightPanel/index.mjs.map +1 -0
  305. package/dist/components/SegmentedControl/index.d.mts +1 -1
  306. package/dist/components/SegmentedControl/index.mjs +1 -1
  307. package/dist/components/Select/index.d.mts +1 -1
  308. package/dist/components/Select/index.mjs +1 -1
  309. package/dist/components/Slider/index.mjs +2 -2
  310. package/dist/components/Spinner/index.mjs +1 -1
  311. package/dist/components/Stack/index.d.mts +1 -1
  312. package/dist/components/StatusIndicator/index.mjs +1 -1
  313. package/dist/components/Sticker/index.d.mts +1 -1
  314. package/dist/components/Sticker/index.mjs +1 -1
  315. package/dist/components/TabBar/index.mjs +1 -1
  316. package/dist/components/Table/index.d.mts +7 -7
  317. package/dist/components/Table/index.mjs +1 -1
  318. package/dist/components/TableBox/index.d.mts +2 -2
  319. package/dist/components/TableBox/index.mjs +1 -1
  320. package/dist/components/TechnicalSticker/index.mjs +1 -1
  321. package/dist/components/Text/index.d.mts +1 -1
  322. package/dist/components/TextArea/index.d.mts +1 -1
  323. package/dist/components/TextArea/index.mjs +1 -1
  324. package/dist/components/Tile/index.mjs +2 -2
  325. package/dist/components/Toast/index.mjs +4 -4
  326. package/dist/components/Toggle/index.d.mts +1 -1
  327. package/dist/components/Toggle/index.mjs +1 -1
  328. package/dist/components/Tooltip/index.d.mts +3 -3
  329. package/dist/components/Tooltip/index.mjs +1 -1
  330. package/dist/compound-expression.d.mts +1 -1
  331. package/dist/{constants-bA9kCzRQ.d.mts → constants-Bs94Jw4y.d.mts} +1 -1
  332. package/dist/constants.d.mts +1 -1
  333. package/dist/date-filter-BbWgAXy3.mjs +176 -0
  334. package/dist/date-filter-BbWgAXy3.mjs.map +1 -0
  335. package/dist/date-range-rule-value-DBEEWTQp.d.mts +17 -0
  336. package/dist/date-range-rule-value.d.mts +2 -0
  337. package/dist/date-rule-intent-BArNGT2E.d.mts +20 -0
  338. package/dist/date-rule-intent.d.mts +2 -0
  339. package/dist/display.d.mts +2 -2
  340. package/dist/fieldPickerOptions.d.mts +2 -2
  341. package/dist/{filter-size-context-C7injfBh.d.mts → filter-size-context-D1UhTwOG.d.mts} +2 -2
  342. package/dist/filter-size-context.d.mts +1 -1
  343. package/dist/helpers.d.mts +1 -1
  344. package/dist/{index-d_fTFuMM.d.mts → index-CvBvfQAY.d.mts} +4 -4
  345. package/dist/{index-BPfK-u7y.d.mts → index-DASkW991.d.mts} +2 -2
  346. package/dist/{index-BxBsQi2S.d.mts → index-I_Cy3X5R.d.mts} +3 -3
  347. package/dist/index-e6k85DKM.d.mts +1 -0
  348. package/dist/index-ehD5GjMH.d.mts +1 -0
  349. package/dist/index-uY8Qbwfx.d.mts +1 -0
  350. package/dist/index.d.mts +1 -1
  351. package/dist/index2.d.mts +1 -1
  352. package/dist/index3.d.mts +3 -3
  353. package/dist/index4.d.mts +2 -11
  354. package/dist/index5.d.mts +15 -2
  355. package/dist/{input-D9FuQmlI.d.mts → input-M7BEIewR.d.mts} +3 -3
  356. package/dist/inputFields.d.mts +10 -10
  357. package/dist/{intersperse-CLkblj9A.mjs → intersperse-CRUnXmnu.mjs} +1 -1
  358. package/dist/{intersperse-CLkblj9A.mjs.map → intersperse-CRUnXmnu.mjs.map} +1 -1
  359. package/dist/lib/PDSProvider.d.mts +1 -1
  360. package/dist/lib/TruncatedText.d.mts +1 -1
  361. package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
  362. package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
  363. package/dist/lib/date-filter/index.d.mts +3 -0
  364. package/dist/lib/date-filter/index.mjs +2 -0
  365. package/dist/lib/message.d.mts +1 -1
  366. package/dist/lib/pseudoClass.d.mts +1 -1
  367. package/dist/lib/useResizablePanel.d.mts +49 -0
  368. package/dist/lib/useResizablePanel.mjs +75 -0
  369. package/dist/lib/useResizablePanel.mjs.map +1 -0
  370. package/dist/{message-CqKB5mko.d.mts → message-CyxgAWZl.d.mts} +1 -1
  371. package/dist/mixins/focus.d.mts +1 -1
  372. package/dist/mixins/hoverable.d.mts +2 -2
  373. package/dist/mixins/hoverable.mjs +1 -1
  374. package/dist/mixins/input.d.mts +1 -1
  375. package/dist/mixins/input.mjs +1 -1
  376. package/dist/mixins/menuItem.d.mts +2 -2
  377. package/dist/mixins/text.d.mts +1 -1
  378. package/dist/{operators-CgcsYzfy.d.mts → operators-CXkmvFpP.d.mts} +10 -3
  379. package/dist/operators.d.mts +2 -2
  380. package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
  381. package/dist/relative-date-label.d.mts +15 -0
  382. package/dist/{text-xwtyWIbE.d.mts → text-DjTGRUM1.d.mts} +1 -1
  383. package/dist/{theme-Ftogn9Wo.d.mts → theme-Biwx2eJZ.d.mts} +1 -1
  384. package/dist/theme.d.mts +1 -1
  385. package/dist/types-Bsf1VsW6.d.mts +24 -0
  386. package/dist/{types-BrNreYUU.d.mts → types-DBBfOCX1.d.mts} +5 -3
  387. package/dist/{types-0_9G0kWg.d.mts → types-Df0D37uh.d.mts} +1 -1
  388. package/dist/{types-DVsBRqjZ.d.mts → types-Ds43XULD.d.mts} +1 -1
  389. package/dist/{types-D55MZSyx.d.mts → types-V8UJX-rk.d.mts} +14 -2
  390. package/dist/types.d.mts +1 -1
  391. package/dist/types2.d.mts +2 -2
  392. package/dist/types3.d.mts +2 -2
  393. package/dist/types4.d.mts +2 -2
  394. package/dist/types5.d.mts +2 -0
  395. package/dist/url-state-M64mdtQ2.d.mts +42 -0
  396. package/dist/url-state.d.mts +2 -0
  397. package/dist/useComboboxFooterAction.d.mts +1 -1
  398. package/dist/{useFilterStateV2-D8Q8QKhS.d.mts → useFilterStateV2-gALqONXf.d.mts} +3 -3
  399. package/dist/useFilterStateV2.d.mts +1 -1
  400. package/dist/{useFormField-BBbq1izo.d.mts → useFormField-Bo7oHMof.d.mts} +2 -2
  401. package/dist/{useFormField-Bz2iMPBO.mjs → useFormField-C-K1lgmv.mjs} +2 -2
  402. package/dist/{useFormField-Bz2iMPBO.mjs.map → useFormField-C-K1lgmv.mjs.map} +1 -1
  403. package/dist/useFormField.d.mts +1 -1
  404. package/dist/{useFormGroup-CaTiD_Yt.mjs → useFormGroup-y-duFylq.mjs} +1 -1
  405. package/dist/{useFormGroup-CaTiD_Yt.mjs.map → useFormGroup-y-duFylq.mjs.map} +1 -1
  406. package/dist/{useTableBoxDragAndDrop-Bye8gJTl.d.mts → useTableBoxDragAndDrop-BrJFRSaG.d.mts} +1 -1
  407. package/dist/useTableBoxDragAndDrop.d.mts +1 -1
  408. package/dist/useTruncation.d.mts +1 -1
  409. package/dist/{utilities-Bmwk_DRn.d.mts → utilities-BHMNnJ8h.d.mts} +1 -1
  410. package/dist/utilities.d.mts +1 -1
  411. package/dist/utils.d.mts +1 -1
  412. package/dist/{validation-CAtTuHO9.d.mts → validation-BCBIvN6H.d.mts} +3 -3
  413. package/dist/validation.d.mts +1 -1
  414. package/dist/{value-control-resolver-DadI8r9a.d.mts → value-control-resolver-qKTH1ErF.d.mts} +5 -3
  415. package/dist/value-control-resolver.d.mts +1 -1
  416. package/llms.txt +3 -3
  417. package/package.json +11 -1
  418. package/skills/ui-authoring/COMPONENTS.md +2 -0
  419. package/skills/ui-authoring/PATTERNS.md +3 -1
  420. package/skills/ui-authoring/SKILL.md +2 -2
  421. package/dist/DatePicker-BNnZ6L1y.mjs.map +0 -1
  422. package/dist/FormField-CVnbsNvU.mjs.map +0 -1
  423. package/dist/Select-DX3toj6M.mjs.map +0 -1
  424. package/dist/TableControls-3bXyd8gS.mjs.map +0 -1
  425. /package/dist/{index-0-W_aPej.d.mts → index--p6oQT9I.d.mts} +0 -0
  426. /package/dist/{index-7in8TPrM.d.mts → index-7rWKHdox.d.mts} +0 -0
  427. /package/dist/{index-BINnViIh.d.mts → index-8SLBz2NH.d.mts} +0 -0
  428. /package/dist/{index-BNRXMhlr.d.mts → index-Bt4QNofW.d.mts} +0 -0
  429. /package/dist/{index-BO_854F2.d.mts → index-BwFl_eS0.d.mts} +0 -0
  430. /package/dist/{index-BSVhZrWN.d.mts → index-CCKHlTA4.d.mts} +0 -0
  431. /package/dist/{index-BrGZHEgX.d.mts → index-CMuRFTR3.d.mts} +0 -0
  432. /package/dist/{index-CCt0lwyI.d.mts → index-CRo77wc3.d.mts} +0 -0
  433. /package/dist/{index-CFhUdAHM.d.mts → index-CX869wwk.d.mts} +0 -0
  434. /package/dist/{index-CREkvfw9.d.mts → index-CuheJfs-.d.mts} +0 -0
  435. /package/dist/{index-CROz1VSV.d.mts → index-D13oYj4_.d.mts} +0 -0
  436. /package/dist/{index-CsuikFeJ.d.mts → index-D4DUvwPf.d.mts} +0 -0
  437. /package/dist/{index-CzUpNo0e.d.mts → index-D7UbuJwP.d.mts} +0 -0
  438. /package/dist/{index-DM6vVDZD.d.mts → index-DMRtRo7y.d.mts} +0 -0
  439. /package/dist/{index-DeVKzGce.d.mts → index-Dflz2i1X.d.mts} +0 -0
  440. /package/dist/{index-Jh0C5PIG.d.mts → index-DvmLVvRD.d.mts} +0 -0
  441. /package/dist/{index-Oio5ygqN.d.mts → index-Es5nKSSL.d.mts} +0 -0
  442. /package/dist/{index-PWQavSPf.d.mts → index-Wc1llEvP.d.mts} +0 -0
  443. /package/dist/{index-sViox9YW.d.mts → index-dhjtMp5F.d.mts} +0 -0
@@ -0,0 +1,176 @@
1
+ import { DateTime, Settings } from "luxon";
2
+ //#region lib/date-filter/types.ts
3
+ /** Ordered preset list shared by date-filter consumers. */
4
+ const DATE_FILTER_PRESETS = [
5
+ "last_7_days",
6
+ "last_14_days",
7
+ "last_30_days",
8
+ "this_month",
9
+ "last_month",
10
+ "this_year",
11
+ "last_year"
12
+ ];
13
+ const DATE_FILTER_PRESET_LABELS = {
14
+ last_7_days: "Last 7 days",
15
+ last_14_days: "Last 14 days",
16
+ last_30_days: "Last 30 days",
17
+ this_month: "This month",
18
+ last_month: "Last month",
19
+ this_year: "This year",
20
+ last_year: "Last year"
21
+ };
22
+ //#endregion
23
+ //#region lib/date-filter/codec.ts
24
+ const PRESET_WINDOWS = {
25
+ last_7_days: {
26
+ mode: "rolling-days",
27
+ days: 7
28
+ },
29
+ last_14_days: {
30
+ mode: "rolling-days",
31
+ days: 14
32
+ },
33
+ last_30_days: {
34
+ mode: "rolling-days",
35
+ days: 30
36
+ },
37
+ this_month: {
38
+ mode: "calendar",
39
+ unit: "month",
40
+ offset: 0
41
+ },
42
+ last_month: {
43
+ mode: "calendar",
44
+ unit: "month",
45
+ offset: 1
46
+ },
47
+ this_year: {
48
+ mode: "calendar",
49
+ unit: "year",
50
+ offset: 0
51
+ },
52
+ last_year: {
53
+ mode: "calendar",
54
+ unit: "year",
55
+ offset: 1
56
+ }
57
+ };
58
+ const DATE_FILTER_PRESET_SET = new Set(DATE_FILTER_PRESETS);
59
+ function isOptionalString(value) {
60
+ return typeof value === "undefined" || typeof value === "string";
61
+ }
62
+ function normalizeOptionalString(value) {
63
+ return value == null ? void 0 : value;
64
+ }
65
+ function isAbsoluteDateFilterValue(value) {
66
+ if (typeof value !== "object" || value == null || Array.isArray(value)) return false;
67
+ const record = value;
68
+ return record.kind === "absolute" && isOptionalString(normalizeOptionalString(record.startDate)) && isOptionalString(normalizeOptionalString(record.endDate));
69
+ }
70
+ function isPresetRelativeDateFilterValue(value) {
71
+ if (typeof value !== "object" || value == null || Array.isArray(value)) return false;
72
+ const record = value;
73
+ return record.kind === "relative" && typeof record.preset === "string" && DATE_FILTER_PRESET_SET.has(record.preset);
74
+ }
75
+ function normalizedAbsoluteDateRange(value) {
76
+ return {
77
+ startDate: normalizeOptionalString(value.startDate),
78
+ endDate: normalizeOptionalString(value.endDate)
79
+ };
80
+ }
81
+ function parseDateFilterValue(raw) {
82
+ if (typeof raw !== "object" || raw == null || Array.isArray(raw)) return null;
83
+ const value = raw;
84
+ if (!("kind" in value)) {
85
+ if (("startDate" in value || "endDate" in value) && isOptionalString(normalizeOptionalString(value.startDate)) && isOptionalString(normalizeOptionalString(value.endDate))) return {
86
+ kind: "absolute",
87
+ ...normalizedAbsoluteDateRange(value)
88
+ };
89
+ return null;
90
+ }
91
+ if (isAbsoluteDateFilterValue(value)) return {
92
+ kind: "absolute",
93
+ ...normalizedAbsoluteDateRange(value)
94
+ };
95
+ if (isPresetRelativeDateFilterValue(value)) return {
96
+ kind: "relative",
97
+ preset: value.preset
98
+ };
99
+ return "startDate" in value || "endDate" in value ? parseDateFilterValue({
100
+ startDate: value.startDate,
101
+ endDate: value.endDate
102
+ }) : null;
103
+ }
104
+ function relativeWindowFor(value) {
105
+ return PRESET_WINDOWS[value.preset];
106
+ }
107
+ function dateTimeToISO(value) {
108
+ const iso = value.toISO();
109
+ if (iso == null) throw new Error(`Unable to evaluate invalid date: ${value.invalidExplanation ?? "unknown error"}`);
110
+ return iso;
111
+ }
112
+ function isValidZone(zone) {
113
+ return DateTime.utc().setZone(zone).isValid;
114
+ }
115
+ function resolvedZone(zone) {
116
+ if (zone && isValidZone(zone)) return zone;
117
+ const defaultZone = Settings.defaultZone.name;
118
+ return isValidZone(defaultZone) ? defaultZone : "UTC";
119
+ }
120
+ function evaluationNow(context) {
121
+ const now = context.now ?? DateTime.utc();
122
+ if (!now.isValid) throw new Error(`Unable to evaluate invalid date: ${now.invalidExplanation ?? "unknown error"}`);
123
+ const zonedNow = now.setZone(resolvedZone(context.zone));
124
+ if (!zonedNow.isValid) throw new Error(`Unable to evaluate invalid date: ${zonedNow.invalidExplanation ?? "unknown error"}`);
125
+ return zonedNow;
126
+ }
127
+ function evaluateRelative(value, context) {
128
+ const window = relativeWindowFor(value);
129
+ const zonedNow = evaluationNow(context);
130
+ let start;
131
+ let end;
132
+ if (window.mode === "rolling-days") {
133
+ end = zonedNow.endOf("day");
134
+ start = zonedNow.minus({ days: window.days }).startOf("day");
135
+ } else {
136
+ const referencedPeriod = zonedNow.minus({ [window.unit]: window.offset });
137
+ start = referencedPeriod.startOf(window.unit);
138
+ end = window.offset === 0 ? zonedNow.endOf("day") : referencedPeriod.endOf(window.unit);
139
+ }
140
+ return {
141
+ startDate: dateTimeToISO(start),
142
+ endDate: dateTimeToISO(end)
143
+ };
144
+ }
145
+ function resolveDateFilterValue(value, context = {}) {
146
+ if (!isRelative(value)) return {
147
+ startDate: value.startDate,
148
+ endDate: value.endDate
149
+ };
150
+ return evaluateRelative(value, context);
151
+ }
152
+ /**
153
+ * Which preset a control should render as selected.
154
+ *
155
+ * Only stored metadata makes a value semantic. Once writes are enabled an absolute
156
+ * value means the user picked dates, so inferring a preset from them would relabel
157
+ * their choice; with writes disabled no metadata is ever stored, so inference is
158
+ * the only thing that can highlight a preset at all.
159
+ *
160
+ * `undefined` asks the picker to infer from the dates, `null` selects nothing.
161
+ */
162
+ function selectedPresetFor(value, writesEnabled) {
163
+ if (value != null && isRelative(value)) return value.preset;
164
+ return writesEnabled ? null : void 0;
165
+ }
166
+ function isRelative(value) {
167
+ return value.kind === "relative";
168
+ }
169
+ function formatDateFilterValue(value) {
170
+ if (!isRelative(value)) return null;
171
+ return DATE_FILTER_PRESET_LABELS[value.preset];
172
+ }
173
+ //#endregion
174
+ export { selectedPresetFor as i, parseDateFilterValue as n, resolveDateFilterValue as r, formatDateFilterValue as t };
175
+
176
+ //# sourceMappingURL=date-filter-BbWgAXy3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date-filter-BbWgAXy3.mjs","names":[],"sources":["../lib/date-filter/types.ts","../lib/date-filter/codec.ts"],"sourcesContent":["/** Ordered preset list shared by date-filter consumers. */\nexport const DATE_FILTER_PRESETS = [\n 'last_7_days',\n 'last_14_days',\n 'last_30_days',\n 'this_month',\n 'last_month',\n 'this_year',\n 'last_year',\n] as const;\n\n/** Closed vocabulary of named presets the picker offers. */\nexport type DateFilterPreset = (typeof DATE_FILTER_PRESETS)[number];\n\nexport const DATE_FILTER_PRESET_LABELS: Record<DateFilterPreset, string> = {\n last_7_days: 'Last 7 days',\n last_14_days: 'Last 14 days',\n last_30_days: 'Last 30 days',\n this_month: 'This month',\n last_month: 'Last month',\n this_year: 'This year',\n last_year: 'Last year',\n};\n\nexport interface AbsoluteDateFilterValue {\n kind: 'absolute';\n startDate?: string;\n endDate?: string;\n}\n\nexport interface PresetRelativeDateFilterValue {\n kind: 'relative';\n preset: DateFilterPreset;\n}\n\nexport type RelativeDateFilterValue = PresetRelativeDateFilterValue;\n\nexport type DateFilterValue = AbsoluteDateFilterValue | RelativeDateFilterValue;\n\nexport interface AbsoluteDateRange {\n startDate?: string;\n endDate?: string;\n}\n","import { DateTime, Settings } from 'luxon';\n\nimport { DATE_FILTER_PRESET_LABELS, DATE_FILTER_PRESETS } from './types';\nimport type {\n AbsoluteDateFilterValue,\n AbsoluteDateRange,\n DateFilterPreset,\n DateFilterValue,\n PresetRelativeDateFilterValue,\n RelativeDateFilterValue,\n} from './types';\n\ntype InternalWindow =\n | { mode: 'rolling-days'; days: number }\n | { mode: 'calendar'; unit: 'month' | 'year'; offset: 0 | 1 };\n\nconst PRESET_WINDOWS = {\n last_7_days: { mode: 'rolling-days', days: 7 },\n last_14_days: { mode: 'rolling-days', days: 14 },\n last_30_days: { mode: 'rolling-days', days: 30 },\n this_month: { mode: 'calendar', unit: 'month', offset: 0 },\n last_month: { mode: 'calendar', unit: 'month', offset: 1 },\n this_year: { mode: 'calendar', unit: 'year', offset: 0 },\n last_year: { mode: 'calendar', unit: 'year', offset: 1 },\n} satisfies Record<DateFilterPreset, InternalWindow>;\n\nconst DATE_FILTER_PRESET_SET = new Set<DateFilterPreset>(DATE_FILTER_PRESETS);\n\nfunction isOptionalString(value: unknown): value is string | undefined {\n return typeof value === 'undefined' || typeof value === 'string';\n}\n\nfunction normalizeOptionalString(value: unknown): unknown {\n return value == null ? undefined : value;\n}\n\nfunction isAbsoluteDateFilterValue(value: unknown): value is AbsoluteDateFilterValue {\n if (typeof value !== 'object' || value == null || Array.isArray(value)) {\n return false;\n }\n const record = value as Record<string, unknown>;\n return (\n record.kind === 'absolute' &&\n isOptionalString(normalizeOptionalString(record.startDate)) &&\n isOptionalString(normalizeOptionalString(record.endDate))\n );\n}\n\nfunction isPresetRelativeDateFilterValue(value: unknown): value is PresetRelativeDateFilterValue {\n if (typeof value !== 'object' || value == null || Array.isArray(value)) {\n return false;\n }\n const record = value as Record<string, unknown>;\n return (\n record.kind === 'relative' &&\n typeof record.preset === 'string' &&\n DATE_FILTER_PRESET_SET.has(record.preset as DateFilterPreset)\n );\n}\n\nfunction normalizedAbsoluteDateRange(value: Record<string, unknown>): AbsoluteDateRange {\n return {\n startDate: normalizeOptionalString(value.startDate) as string | undefined,\n endDate: normalizeOptionalString(value.endDate) as string | undefined,\n };\n}\n\nexport function parseDateFilterValue(raw: unknown): DateFilterValue | null {\n if (typeof raw !== 'object' || raw == null || Array.isArray(raw)) {\n return null;\n }\n const value = raw as Record<string, unknown>;\n if (!('kind' in value)) {\n if (\n ('startDate' in value || 'endDate' in value) &&\n isOptionalString(normalizeOptionalString(value.startDate)) &&\n isOptionalString(normalizeOptionalString(value.endDate))\n ) {\n return {\n kind: 'absolute',\n ...normalizedAbsoluteDateRange(value),\n };\n }\n return null;\n }\n if (isAbsoluteDateFilterValue(value)) {\n return {\n kind: 'absolute',\n ...normalizedAbsoluteDateRange(value),\n };\n }\n if (isPresetRelativeDateFilterValue(value)) {\n return {\n kind: 'relative',\n preset: value.preset,\n };\n }\n return 'startDate' in value || 'endDate' in value\n ? parseDateFilterValue({ startDate: value.startDate, endDate: value.endDate })\n : null;\n}\n\nfunction relativeWindowFor(value: RelativeDateFilterValue): InternalWindow {\n return PRESET_WINDOWS[value.preset];\n}\n\nfunction dateTimeToISO(value: DateTime): string {\n const iso = value.toISO();\n if (iso == null) {\n throw new Error(\n `Unable to evaluate invalid date: ${value.invalidExplanation ?? 'unknown error'}`,\n );\n }\n return iso;\n}\n\nfunction isValidZone(zone: string): boolean {\n return DateTime.utc().setZone(zone).isValid;\n}\n\nfunction resolvedZone(zone?: string): string {\n if (zone && isValidZone(zone)) {\n return zone;\n }\n\n const defaultZone = Settings.defaultZone.name;\n return isValidZone(defaultZone) ? defaultZone : 'UTC';\n}\n\nfunction evaluationNow(context: { zone?: string; now?: DateTime }): DateTime {\n // Constructing `DateTime.now()` uses Settings.defaultZone and is itself invalid\n // when an application has configured an unsupported default zone. UTC gives us\n // the same instant without depending on that ambient setting.\n const now = context.now ?? DateTime.utc();\n if (!now.isValid) {\n throw new Error(\n `Unable to evaluate invalid date: ${now.invalidExplanation ?? 'unknown error'}`,\n );\n }\n\n const zonedNow = now.setZone(resolvedZone(context.zone));\n if (!zonedNow.isValid) {\n throw new Error(\n `Unable to evaluate invalid date: ${zonedNow.invalidExplanation ?? 'unknown error'}`,\n );\n }\n return zonedNow;\n}\n\nfunction evaluateRelative(\n value: RelativeDateFilterValue,\n context: { zone?: string; now?: DateTime },\n): Required<AbsoluteDateRange> {\n const window = relativeWindowFor(value);\n const zonedNow = evaluationNow(context);\n let start: DateTime;\n let end: DateTime;\n\n if (window.mode === 'rolling-days') {\n end = zonedNow.endOf('day');\n // Preserve the established picker and legacy-filter contract: `days` is a\n // lookback offset, so the start date and today are both included.\n start = zonedNow.minus({ days: window.days }).startOf('day');\n } else {\n const referencedPeriod = zonedNow.minus({ [window.unit]: window.offset });\n start = referencedPeriod.startOf(window.unit);\n end = window.offset === 0 ? zonedNow.endOf('day') : referencedPeriod.endOf(window.unit);\n }\n\n return { startDate: dateTimeToISO(start), endDate: dateTimeToISO(end) };\n}\n\nexport function resolveDateFilterValue(\n value: RelativeDateFilterValue,\n context?: { zone?: string; now?: DateTime },\n): Required<AbsoluteDateRange>;\nexport function resolveDateFilterValue(\n value: DateFilterValue,\n context?: { zone?: string; now?: DateTime },\n): AbsoluteDateRange;\nexport function resolveDateFilterValue(\n value: DateFilterValue,\n context: { zone?: string; now?: DateTime } = {},\n): AbsoluteDateRange {\n if (!isRelative(value)) {\n return {\n startDate: value.startDate,\n endDate: value.endDate,\n };\n }\n return evaluateRelative(value, context);\n}\n\n/**\n * Which preset a control should render as selected.\n *\n * Only stored metadata makes a value semantic. Once writes are enabled an absolute\n * value means the user picked dates, so inferring a preset from them would relabel\n * their choice; with writes disabled no metadata is ever stored, so inference is\n * the only thing that can highlight a preset at all.\n *\n * `undefined` asks the picker to infer from the dates, `null` selects nothing.\n */\nexport function selectedPresetFor(\n value: DateFilterValue | null,\n writesEnabled: boolean,\n): DateFilterPreset | null | undefined {\n if (value != null && isRelative(value)) {\n return value.preset;\n }\n return writesEnabled ? null : undefined;\n}\n\nexport function isRelative(value: DateFilterValue): value is RelativeDateFilterValue {\n return value.kind === 'relative';\n}\n\nexport function formatDateFilterValue(value: DateFilterValue): string | null {\n if (!isRelative(value)) {\n return null;\n }\n return DATE_FILTER_PRESET_LABELS[value.preset];\n}\n"],"mappings":"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"}
@@ -0,0 +1,17 @@
1
+ import { l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType } from "./types-V8UJX-rk.mjs";
2
+
3
+ //#region components/DataTable/TableControls/FiltersV2/date-range-rule-value.d.ts
4
+ /**
5
+ * The absolute bounds a rule should be queried with, or `null` when it does not
6
+ * carry a date range.
7
+ *
8
+ * Relative metadata wins over the stored snapshot: the snapshot is a picture of
9
+ * the window when it was saved, and the point of a relative rule is that the
10
+ * window moves. The operator gate is part of this rather than the caller's job —
11
+ * metadata only ever describes a range, so resolving it onto a scalar rule
12
+ * would put a `{ startDate, endDate }` object where the wire expects a day.
13
+ */
14
+ declare function resolveDateRangeRuleValue(rule: Pick<FilterRule, 'operator' | 'relativeDate' | 'value'>, fieldType?: FilterFieldType): DateRangeFilterValue | null;
15
+ //#endregion
16
+ export { resolveDateRangeRuleValue as t };
17
+ //# sourceMappingURL=date-range-rule-value-DBEEWTQp.d.mts.map
@@ -0,0 +1,2 @@
1
+ import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-DBEEWTQp.mjs";
2
+ export { resolveDateRangeRuleValue };
@@ -0,0 +1,20 @@
1
+ import { a as DateFilterPreset } from "./types-Bsf1VsW6.mjs";
2
+ import { t as DateFilterChange } from "./DateRangePicker-BT6-j8V7.mjs";
3
+ import { DateValue } from "@internationalized/date";
4
+ import { RangeValue } from "@react-types/shared";
5
+
6
+ //#region components/DataTable/TableControls/FiltersV2/date-rule-intent.d.ts
7
+ type DateRuleIntent = {
8
+ kind: 'clear';
9
+ } | {
10
+ kind: 'absolute';
11
+ range: RangeValue<DateValue>;
12
+ } | {
13
+ kind: 'relative';
14
+ preset: DateFilterPreset;
15
+ range: RangeValue<DateValue>;
16
+ };
17
+ declare function dateRuleIntent(change: DateFilterChange, writesEnabled: boolean): DateRuleIntent;
18
+ //#endregion
19
+ export { dateRuleIntent as t };
20
+ //# sourceMappingURL=date-rule-intent-BArNGT2E.d.mts.map
@@ -0,0 +1,2 @@
1
+ import { t as dateRuleIntent } from "./date-rule-intent-BArNGT2E.mjs";
2
+ export { dateRuleIntent };
@@ -1,7 +1,7 @@
1
- import { a as FilterField, c as FilterOperator, u as FilterRuleValue } from "./types-D55MZSyx.mjs";
1
+ import { a as FilterField, c as FilterOperator, l as FilterRule, u as FilterRuleValue } from "./types-V8UJX-rk.mjs";
2
2
 
3
3
  //#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/display.d.ts
4
- declare function valueDisplayString(value: FilterRuleValue, optionLabels?: Record<string, string>): string | undefined;
4
+ declare function valueDisplayString(value: FilterRuleValue, optionLabels?: Record<string, string>, relativeDate?: FilterRule['relativeDate']): string | undefined;
5
5
  declare function draftValueFor(field: FilterField, operator: FilterOperator): FilterRuleValue;
6
6
  //#endregion
7
7
  export { draftValueFor, valueDisplayString };
@@ -1,5 +1,5 @@
1
- import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-CWzN8GML.mjs";
2
- import { t as FieldRegistry } from "./FieldRegistry-D1vghSC_.mjs";
1
+ import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-nfHr19x-.mjs";
2
+ import { t as FieldRegistry } from "./FieldRegistry-D6niLExM.mjs";
3
3
 
4
4
  //#region components/DataTable/TableControls/FiltersV2/fieldPickerOptions.d.ts
5
5
  declare const FIELDS_SUBMENU_LABEL = "Fields";
@@ -1,4 +1,4 @@
1
- import { d as FilterSize } from "./types-D55MZSyx.mjs";
1
+ import { f as FilterSize } from "./types-V8UJX-rk.mjs";
2
2
  import * as _$react from "react";
3
3
 
4
4
  //#region components/DataTable/TableControls/FiltersV2/filter-size-context.d.ts
@@ -49,4 +49,4 @@ declare const FILTER_SIZE_TOKENS: Record<FilterSize, FilterSizeTokens>;
49
49
  declare function useFilterSizeTokens(override?: FilterSize): FilterSizeTokens;
50
50
  //#endregion
51
51
  export { useFilterBarSize as a, FilterSizeTokens as i, FilterBarContext as n, useFilterSizeTokens as o, FilterBarContextValue as r, FILTER_SIZE_TOKENS as t };
52
- //# sourceMappingURL=filter-size-context-C7injfBh.d.mts.map
52
+ //# sourceMappingURL=filter-size-context-D1UhTwOG.d.mts.map
@@ -1,2 +1,2 @@
1
- import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-C7injfBh.mjs";
1
+ import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-D1UhTwOG.mjs";
2
2
  export { FILTER_SIZE_TOKENS, FilterBarContext, FilterBarContextValue, FilterSizeTokens, useFilterBarSize, useFilterSizeTokens };
@@ -1,4 +1,4 @@
1
- import { n as CheckboxProps } from "./Checkbox-Bmm-r5ei.mjs";
1
+ import { n as CheckboxProps } from "./Checkbox-CwPXPLCi.mjs";
2
2
  import { DataTableColumnFormat, DataTableColumnImageFormat, DataTableColumnPiiFormat, DataTableColumnStringFormat, DateConfig, DatetimeConfig, RenderValueStickerFormatConfig } from "./components/DataTable/types.mjs";
3
3
  import { ReactNode } from "react";
4
4
 
@@ -1,8 +1,8 @@
1
- import { t as TableHeaderCell } from "./TableHeaderCell-DK4R8vdK.mjs";
2
- import { n as TableRowProps } from "./TableRow-DdJcjG2b.mjs";
1
+ import { t as TableHeaderCell } from "./TableHeaderCell-C_sIU1d7.mjs";
2
+ import { n as TableRowProps } from "./TableRow-B1UKlbze.mjs";
3
+ import * as _$styled_components0 from "styled-components";
3
4
  import * as _$react from "react";
4
5
  import { ComponentPropsWithoutRef, ReactNode } from "react";
5
- import * as _$styled_components0 from "styled-components";
6
6
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
7
7
 
8
8
  //#region components/Table/TableTH.d.ts
@@ -72,4 +72,4 @@ declare const TableTR: _$styled_components0.StyledComponent<"tr", any, {
72
72
  }, "role">;
73
73
  //#endregion
74
74
  export { TableCellProps as a, TableTD as c, TableTHProps as d, TableCell as i, TableTR as l, StickyTH as n, TableCellTitle as o, TableActionTD as r, TableIconTD as s, StickyTD as t, TableTH as u };
75
- //# sourceMappingURL=index-d_fTFuMM.d.mts.map
75
+ //# sourceMappingURL=index-CvBvfQAY.d.mts.map
@@ -1,7 +1,7 @@
1
- import { n as FilterBarProps$1 } from "./FilterBar-Ck085Dic.mjs";
1
+ import { n as FilterBarProps$1 } from "./FilterBar-DfBV7yKM.mjs";
2
2
 
3
3
  //#region components/DataTable/TableControls/FiltersV2/FilterBar/index.d.ts
4
4
  type FilterBarProps = FilterBarProps$1;
5
5
  //#endregion
6
6
  export { FilterBarProps as t };
7
- //# sourceMappingURL=index-BPfK-u7y.d.mts.map
7
+ //# sourceMappingURL=index-DASkW991.d.mts.map
@@ -1,5 +1,5 @@
1
- import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-BrY1bQ5-.mjs";
2
- import { n as LogicRowProps } from "./LogicRow-9a_klV2v.mjs";
1
+ import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-DeFHRX2T.mjs";
2
+ import { n as LogicRowProps } from "./LogicRow-BOhB0uNS.mjs";
3
3
  import * as _$react from "react";
4
4
  import * as _$react_aria_components0 from "react-aria-components";
5
5
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
@@ -52,4 +52,4 @@ declare const ListBox: {
52
52
  };
53
53
  //#endregion
54
54
  export { ListBox as t };
55
- //# sourceMappingURL=index-BxBsQi2S.d.mts.map
55
+ //# sourceMappingURL=index-I_Cy3X5R.d.mts.map
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-gDUTQgWj.mjs";
1
+ import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-BKk3qESS.mjs";
2
2
  export { ActionsContainer, HeaderContainer, HeaderProps, Root, Title, TitleContainer, Header as default };
package/dist/index2.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-CaKHRC_s.mjs";
1
+ import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-Dc90GLTF.mjs";
2
2
  export { OmniSearchProps, SearchInput as default };
package/dist/index3.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { r as resolveValueControl } from "./value-control-resolver-DadI8r9a.mjs";
2
- import { t as FilterBar } from "./FilterBar-Ck085Dic.mjs";
3
- import { t as FilterBarProps } from "./index-BPfK-u7y.mjs";
1
+ import { r as resolveValueControl } from "./value-control-resolver-qKTH1ErF.mjs";
2
+ import { t as FilterBar } from "./FilterBar-DfBV7yKM.mjs";
3
+ import { t as FilterBarProps } from "./index-DASkW991.mjs";
4
4
  export { FilterBarProps, FilterBar as default, resolveValueControl };
package/dist/index4.d.mts CHANGED
@@ -1,11 +1,2 @@
1
- import { a as FilterField, c as FilterOperator, d as FilterSize, f as FilterStateV2, i as EMPTY_FILTER_STATE, l as FilterRule, n as CompoundExpression, o as FilterFieldSource, p as TopLevelFilterRule, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-D55MZSyx.mjs";
2
- import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-D1vghSC_.mjs";
3
- import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-DadI8r9a.mjs";
4
- import { t as FilterBar } from "./FilterBar-Ck085Dic.mjs";
5
- import { t as FilterBarProps } from "./index-BPfK-u7y.mjs";
6
- import { a as useFilterBarSize } from "./filter-size-context-C7injfBh.mjs";
7
- import { c as isCompleteDateRange, d as reconcileValueForOperator, i as getDefaultOperatorForType, l as isRangeOperator, n as emptyValueForRule, o as getOperatorsForField, s as getOperatorsForType, u as isValuelessOperator } from "./operators-CgcsYzfy.mjs";
8
- import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-D8Q8QKhS.mjs";
9
- import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-CAtTuHO9.mjs";
10
- import { t as ValueControlProps } from "./types-BrNreYUU.mjs";
11
- export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FieldRegistry, FilterBar, FilterBarProps, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterSize, FilterStateV2, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, buildFieldRegistry, emptyValueForRule, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isCompleteDateRange, isFilterStateV2, isRangeOperator, isValuelessOperator, pruneToRegistry, reconcileValueForOperator, resolveValueControl, useFilterBarSize, useFilterStateV2 };
1
+ import { n as PillShellProps, t as PillShell } from "./PillShell-CVqpZ5iV.mjs";
2
+ export { PillShellProps, PillShell as default };
package/dist/index5.d.mts CHANGED
@@ -1,2 +1,15 @@
1
- import PillShell, { PillShellProps } from "./PillShell.mjs";
2
- export { type PillShellProps, PillShell as default };
1
+ import { t as dateRuleIntent } from "./date-rule-intent-BArNGT2E.mjs";
2
+ import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-V8UJX-rk.mjs";
3
+ import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-DBEEWTQp.mjs";
4
+ import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-D6niLExM.mjs";
5
+ import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-qKTH1ErF.mjs";
6
+ import { t as FilterBar } from "./FilterBar-DfBV7yKM.mjs";
7
+ import { t as FilterBarProps } from "./index-DASkW991.mjs";
8
+ import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-D1UhTwOG.mjs";
9
+ import { n as PillShellProps, t as PillShell } from "./PillShell-CVqpZ5iV.mjs";
10
+ import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, l as isCompleteDateRange, r as emptyValueForRule, s as getOperatorsForField, u as isRangeOperator } from "./operators-CXkmvFpP.mjs";
11
+ import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-M64mdtQ2.mjs";
12
+ import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-gALqONXf.mjs";
13
+ import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-BCBIvN6H.mjs";
14
+ import { t as ValueControlProps } from "./types-DBBfOCX1.mjs";
15
+ export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FILTER_SIZE_TOKENS, FILTER_STATE_URL_PARAM, FieldRegistry, FilterBar, FilterBarProps, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterSizeTokens, FilterStateV2, PillShell, PillShellProps, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UrlStateCodecResult, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, applyFilterStateToSearchParams, buildFieldRegistry, dateRuleIntent, decodeFilterStateFromString, decodeFilterStateFromUrl, emptyValueForRule, encodeFilterStateToUrlParam, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isCompleteDateRange, isEmptyState, isFilterStateV2, isRangeOperator, isValuelessOperator, pruneToRegistry, reconcileValueForOperator, resolveDateRangeRuleValue, resolveValueControl, useFilterBarSize, useFilterStateV2 };
@@ -1,5 +1,5 @@
1
- import { t as PseudoClassProps } from "./PseudoClassProps-DgT5G_z5.mjs";
2
- import { t as ErrorProps } from "./ErrorProps-DX50vo-U.mjs";
1
+ import { t as PseudoClassProps } from "./PseudoClassProps-BPdn-ofQ.mjs";
2
+ import { t as ErrorProps } from "./ErrorProps-C9T857Wk.mjs";
3
3
  import * as _$styled_components0 from "styled-components";
4
4
 
5
5
  //#region mixins/input.d.ts
@@ -14,4 +14,4 @@ interface InputMixinProps extends ErrorProps, PseudoClassProps {
14
14
  declare const inputMixin: _$styled_components0.FlattenInterpolation<_$styled_components0.ThemedStyledProps<InputMixinProps, any>>;
15
15
  //#endregion
16
16
  export { InputSizes as n, inputMixin as r, InputMixinProps as t };
17
- //# sourceMappingURL=input-D9FuQmlI.d.mts.map
17
+ //# sourceMappingURL=input-M7BEIewR.d.mts.map
@@ -1,13 +1,13 @@
1
- import { n as CheckboxProps } from "./Checkbox-Bmm-r5ei.mjs";
2
- import { a as InputProps } from "./Input-BHHWpSKN.mjs";
3
- import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-iSuvyOx2.mjs";
4
- import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-DVRFKPi1.mjs";
5
- import { n as FormFieldBaseProps } from "./FormField-0p4y0sS5.mjs";
6
- import { n as RadioGroupProps } from "./RadioGroup-Jl1yAvGu.mjs";
7
- import { i as SegmentedControlProps } from "./SegmentedControl-e6xDtoHC.mjs";
8
- import { i as SelectProps } from "./Select-CPYztD4m.mjs";
9
- import { t as TextAreaProps } from "./TextArea-CiLttt0s.mjs";
10
- import { n as ToggleProps } from "./Toggle-Cav7bMxg.mjs";
1
+ import { n as CheckboxProps } from "./Checkbox-CwPXPLCi.mjs";
2
+ import { a as InputProps } from "./Input-1bDdMAgO.mjs";
3
+ import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-DRNj2Mtx.mjs";
4
+ import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-BkhbEx-F.mjs";
5
+ import { n as FormFieldBaseProps } from "./FormField-C1DaUT5U.mjs";
6
+ import { n as RadioGroupProps } from "./RadioGroup-DYIfRj02.mjs";
7
+ import { i as SegmentedControlProps } from "./SegmentedControl-DIHonamg.mjs";
8
+ import { i as SelectProps } from "./Select-DwqWnWBi.mjs";
9
+ import { t as TextAreaProps } from "./TextArea-CGpY5xqX.mjs";
10
+ import { n as ToggleProps } from "./Toggle-BjAivdyX.mjs";
11
11
  import * as _$react from "react";
12
12
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
13
13
 
@@ -18,4 +18,4 @@ function intersperse(arr, separator) {
18
18
  //#endregion
19
19
  export { intersperse as t };
20
20
 
21
- //# sourceMappingURL=intersperse-CLkblj9A.mjs.map
21
+ //# sourceMappingURL=intersperse-CRUnXmnu.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"intersperse-CLkblj9A.mjs","names":[],"sources":["../lib/intersperse.ts"],"sourcesContent":["/**\n * @name intersperse\n *\n * Inserts an element between array items using a separator function. The\n * separator function is passed the previous index, the previous element, and\n * the next element.\n *\n * ```typescript\n * const nodeList: React.ReactNode[] = [...]\n * const commaSeparatedList = intersperse(nodeList, () => ', ')\n * const advancedSeparatedList = intersperse(nodeList, i => <Separator key={i}/>)\n * ```\n */\nexport function intersperse<T>(arr: T[], separator: (n: number, prev: T, curr: T) => T): T[] {\n return arr.flatMap((a, i) => (i > 0 ? [separator(i - 1, arr[i - 1], a), a] : [a]));\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,YAAe,KAAU,WAAoD;AAC3F,QAAO,IAAI,SAAS,GAAG,MAAO,IAAI,IAAI,CAAC,UAAU,IAAI,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAE"}
1
+ {"version":3,"file":"intersperse-CRUnXmnu.mjs","names":[],"sources":["../lib/intersperse.ts"],"sourcesContent":["/**\n * @name intersperse\n *\n * Inserts an element between array items using a separator function. The\n * separator function is passed the previous index, the previous element, and\n * the next element.\n *\n * ```typescript\n * const nodeList: React.ReactNode[] = [...]\n * const commaSeparatedList = intersperse(nodeList, () => ', ')\n * const advancedSeparatedList = intersperse(nodeList, i => <Separator key={i}/>)\n * ```\n */\nexport function intersperse<T>(arr: T[], separator: (n: number, prev: T, curr: T) => T): T[] {\n return arr.flatMap((a, i) => (i > 0 ? [separator(i - 1, arr[i - 1], a), a] : [a]));\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,YAAe,KAAU,WAAoD;AAC3F,QAAO,IAAI,SAAS,GAAG,MAAO,IAAI,IAAI,CAAC,UAAU,IAAI,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAE"}
@@ -1,4 +1,4 @@
1
- import { n as PersonaTheme } from "../theme-Ftogn9Wo.mjs";
1
+ import { n as PersonaTheme } from "../theme-Biwx2eJZ.mjs";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
 
4
4
  //#region lib/PDSProvider.d.ts
@@ -1,2 +1,2 @@
1
- import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-D2R7uy_y.mjs";
1
+ import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-C-MJPIRi.mjs";
2
2
  export { OverflowEllipsisSpan, TruncatedText, TruncatedText as default, TruncatedTextProps };
@@ -1,4 +1,4 @@
1
- import { n as Tooltip } from "../Tooltip-DX-N-szt.mjs";
1
+ import { n as Tooltip } from "../Tooltip-n3XkX4dp.mjs";
2
2
  import { ComponentProps, ComponentPropsWithoutRef, FC } from "react";
3
3
 
4
4
  //#region lib/TruncatedTextWithTooltip.d.ts
@@ -1,6 +1,6 @@
1
1
  import { useIsOverflow } from "./useIsOverflow.mjs";
2
2
  import { OverflowEllipsisSpan } from "./TruncatedText.mjs";
3
- import { a as Tooltip } from "../Tooltip-iJcfJqxn.mjs";
3
+ import { a as Tooltip } from "../Tooltip-DSKGD33G.mjs";
4
4
  import { useRef } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region lib/TruncatedTextWithTooltip.tsx
@@ -0,0 +1,3 @@
1
+ import { a as DateFilterPreset, c as RelativeDateFilterValue, n as AbsoluteDateRange, o as DateFilterValue } from "../../types-Bsf1VsW6.mjs";
2
+ import { a as selectedPresetFor, i as resolveDateFilterValue, r as parseDateFilterValue } from "../../codec-B0dZTwlG.mjs";
3
+ export { AbsoluteDateRange, DateFilterPreset, DateFilterValue, RelativeDateFilterValue, parseDateFilterValue, resolveDateFilterValue, selectedPresetFor };
@@ -0,0 +1,2 @@
1
+ import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue } from "../../date-filter-BbWgAXy3.mjs";
2
+ export { parseDateFilterValue, resolveDateFilterValue, selectedPresetFor };
@@ -1,2 +1,2 @@
1
- import { t as MessageType } from "../message-CqKB5mko.mjs";
1
+ import { t as MessageType } from "../message-CyxgAWZl.mjs";
2
2
  export { MessageType };
@@ -1,4 +1,4 @@
1
- import { t as PseudoClassProps } from "../PseudoClassProps-DgT5G_z5.mjs";
1
+ import { t as PseudoClassProps } from "../PseudoClassProps-BPdn-ofQ.mjs";
2
2
 
3
3
  //#region lib/pseudoClass.d.ts
4
4
  declare const isDisabled: ({
@@ -0,0 +1,49 @@
1
+ //#region lib/useResizablePanel.d.ts
2
+ declare enum PanelState {
3
+ Drawer = "drawer",
4
+ Maximized = "maximized"
5
+ }
6
+ interface UseResizablePanelOptions {
7
+ initialPanelState?: PanelState;
8
+ initialSize?: number;
9
+ /** Smallest size the panel snaps back to when a drag ends below it. */
10
+ minSize: number;
11
+ /** Fraction of the available space past which a released drag snaps to maximized. */
12
+ snapThreshold?: number;
13
+ }
14
+ interface ResizablePanelState {
15
+ /** Leave maximized and return to the drawer at `size` (null = `minSize`). */
16
+ collapse: () => void;
17
+ /** Open the drawer at the given size. */
18
+ expandTo: (size: number) => void;
19
+ /**
20
+ * Called on every drag frame. `size` is the requested panel size and
21
+ * `maxSize` the space the panel can grow into; both in px.
22
+ */
23
+ handleDragMove: (size: number, maxSize: number) => void;
24
+ /** Called once when a drag ends; snaps to maximized or back to `minSize`. */
25
+ handleDragRelease: () => void;
26
+ maximize: () => void;
27
+ panelState: PanelState;
28
+ /**
29
+ * Return from maximized to the drawer size the panel had before maximizing
30
+ * (for a drag that snapped to maximized, the size when the drag started).
31
+ */
32
+ restore: () => void;
33
+ size: number | null;
34
+ toggleMaximized: () => void;
35
+ }
36
+ /**
37
+ * Size and maximize/restore state for a resizable panel. Coordinates are
38
+ * caller-supplied sizes, so the hook works for both viewport- and
39
+ * container-anchored panels.
40
+ */
41
+ declare const useResizablePanel: ({
42
+ initialPanelState,
43
+ initialSize,
44
+ minSize,
45
+ snapThreshold
46
+ }: UseResizablePanelOptions) => ResizablePanelState;
47
+ //#endregion
48
+ export { PanelState, ResizablePanelState, useResizablePanel };
49
+ //# sourceMappingURL=useResizablePanel.d.mts.map