@persona/design-system 0.1.7 → 0.1.9
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.
- package/CHANGELOG.md +355 -221
- package/README.md +20 -1
- package/dist/{Action-DkNqzc2X.d.mts → Action-CVtzREhU.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +37 -0
- package/dist/AdvancedFilterRulesPopover.d.mts +62 -0
- package/dist/ArrayValueControl.d.mts +38 -0
- package/dist/Attribute.d.mts +4 -4
- package/dist/AttributeGrid.d.mts +1 -1
- package/dist/{Badge-DRn_r6is.mjs → Badge-DEVbRlJX.mjs} +2 -2
- package/dist/{Badge-DRn_r6is.mjs.map → Badge-DEVbRlJX.mjs.map} +1 -1
- package/dist/Banner.d.mts +1 -1
- package/dist/BooleanValueControl.d.mts +20 -0
- package/dist/{Breadcrumb-On7pOpgt.d.mts → Breadcrumb-lziQ1FX9.d.mts} +15 -2
- package/dist/Breadcrumb.d.mts +2 -2
- package/dist/Breadcrumbs-DJ5qqqRD.d.mts +26 -0
- package/dist/Breadcrumbs-W8hIhdHD.mjs +288 -0
- package/dist/Breadcrumbs-W8hIhdHD.mjs.map +1 -0
- package/dist/Breadcrumbs.d.mts +2 -20
- package/dist/{Button-C_3p5Xfi.d.cts → Button-Vd5O4DUp.d.mts} +6 -6
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CLTkZLKr.mjs → Card-BMCB9eFC.mjs} +4 -4
- package/dist/{Card-CLTkZLKr.mjs.map → Card-BMCB9eFC.mjs.map} +1 -1
- package/dist/{Card-IOBCsfke.d.mts → Card-CqnG--CU.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/CardV2-C0fcOUdp.mjs +411 -0
- package/dist/CardV2-C0fcOUdp.mjs.map +1 -0
- package/dist/{Checkbox-BghGF-iW.mjs → Checkbox-BcuiFvK7.mjs} +5 -5
- package/dist/{Checkbox-BghGF-iW.mjs.map → Checkbox-BcuiFvK7.mjs.map} +1 -1
- package/dist/{Checkbox-DfI0Xp3y.d.cts → Checkbox-Bm8exUfH.d.mts} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +2 -2
- package/dist/ChoicesValueControl.d.mts +35 -0
- package/dist/{Combobox-CeKMrlxy.mjs → Combobox-B6JyLog8.mjs} +261 -71
- package/dist/Combobox-B6JyLog8.mjs.map +1 -0
- package/dist/{Combobox-5rAFq_52.d.cts → Combobox-BaD0f2Du.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-DGZUdsQa.d.mts → ComboboxBase-BsPf8BZh.d.mts} +53 -8
- package/dist/ComboboxBase.d.mts +2 -2
- package/dist/{ComboboxMultiSelect-DMWPiBrE.d.mts → ComboboxMultiSelect-DhLzCWbz.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CcppU_hq.d.mts → ComboboxSingleSelect-P0r5rs_u.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-2cpJD7qg.d.mts → CompactBar-CXqlVKy7.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-DISUwz5j.mjs → ConfigFormGroup-yhb2jldT.mjs} +3 -3
- package/dist/{ConfigFormGroup-DISUwz5j.mjs.map → ConfigFormGroup-yhb2jldT.mjs.map} +1 -1
- package/dist/{ControlBar-DXyl1gjc.d.mts → ControlBar-tOCQnbAl.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +13 -4
- package/dist/DateField.d.mts +1 -1
- package/dist/DatePicker-Bw79p-Lx.mjs +922 -0
- package/dist/DatePicker-Bw79p-Lx.mjs.map +1 -0
- package/dist/DatePicker.d.mts +1 -1
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateValueControl.d.mts +26 -0
- package/dist/{DropdownButton-B397h6ka.mjs → DropdownButton-BI3IFJun.mjs} +3 -3
- package/dist/{DropdownButton-B397h6ka.mjs.map → DropdownButton-BI3IFJun.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-cnkoGc7C.mjs → DropdownMenu-D25WBCah.mjs} +3 -3
- package/dist/{DropdownMenu-cnkoGc7C.mjs.map → DropdownMenu-D25WBCah.mjs.map} +1 -1
- package/dist/{DropdownMenu-5qIgQ14A.d.mts → DropdownMenu-D6nfAsi0.d.mts} +3 -3
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-BosuK6zJ.d.cts → ErrorProps-CN2XjaOX.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/FieldRegistry-rqSkjchY.d.mts +122 -0
- package/dist/FieldRegistry.d.mts +2 -0
- package/dist/FilterBar-D3LiIy1-.d.mts +103 -0
- package/dist/FilterBar.d.mts +2 -0
- package/dist/FilterPickerMenu.d.mts +84 -0
- package/dist/FilterPill.d.mts +60 -0
- package/dist/FilterPopover.d.mts +87 -0
- package/dist/FloatValueControl.d.mts +40 -0
- package/dist/{FormControl-ArDcvmir.mjs → FormControl-CFU9uKF7.mjs} +6 -6
- package/dist/{FormControl-ArDcvmir.mjs.map → FormControl-CFU9uKF7.mjs.map} +1 -1
- package/dist/{FormControl-DnsC4vTX.d.mts → FormControl-DH3bgqaB.d.mts} +3 -3
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BddCs6P0.d.mts → FormField-BugkBvN4.d.mts} +2 -2
- package/dist/FormField-DdmgSWq4.mjs +474 -0
- package/dist/FormField-DdmgSWq4.mjs.map +1 -0
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-B-Us54dR.d.mts → Header-CDTYK1XJ.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-CofPKyZh.d.mts → HelperTooltip-B7Ysh8B3.d.mts} +3 -3
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-DR575ayC.mjs → HoverCopyableField-7TWP0Y1Z.mjs} +6 -6
- package/dist/{HoverCopyableField-DR575ayC.mjs.map → HoverCopyableField-7TWP0Y1Z.mjs.map} +1 -1
- package/dist/HoverCopyableField.d.mts +1 -1
- package/dist/{IconButton-ZcyTFjPn.d.cts → IconButton-BHCmHIx5.d.mts} +2 -2
- package/dist/{IconButton-DC4rh6ow.mjs → IconButton-P8w0JDI5.mjs} +5 -5
- package/dist/{IconButton-DC4rh6ow.mjs.map → IconButton-P8w0JDI5.mjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +2 -2
- package/dist/InlineCombobox.d.mts +2 -2
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-CEcTvtX2.d.cts → Input-DMgVyZyq.d.mts} +6 -6
- package/dist/{Input-PWfwMSJ7.mjs → Input-QC6xla6I.mjs} +5 -5
- package/dist/Input-QC6xla6I.mjs.map +1 -0
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-DNlik5IZ.d.cts → InputProps-BnjxrdWQ.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +39 -0
- package/dist/LayoutLoadingShimmer.d.mts +20 -0
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-DZIAlPbc.d.mts → ListBox-D09N1a5D.d.mts} +10 -5
- package/dist/{ListBox-CDNOJmvz.mjs → ListBox-TrL3Tb7X.mjs} +89 -14
- package/dist/ListBox-TrL3Tb7X.mjs.map +1 -0
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +3 -3
- package/dist/{LoadingShimmer-Bu6KtQ06.mjs → LoadingShimmer-Dsc_RCCf.mjs} +1 -1
- package/dist/{LoadingShimmer-Bu6KtQ06.mjs.map → LoadingShimmer-Dsc_RCCf.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/LogicRow-BcuiSTHN.d.mts +40 -0
- package/dist/LogicRow.d.mts +2 -0
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-BJ5c7HGD.d.mts → Menu-Bv8dsrz6.d.mts} +4 -4
- package/dist/{Menu-CVuFAxl2.mjs → Menu-DmeMgN-i.mjs} +4 -4
- package/dist/{Menu-CVuFAxl2.mjs.map → Menu-DmeMgN-i.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-Bzpg3zAU.mjs → MiddleTruncatedText-GXI-CPvs.mjs} +3 -3
- package/dist/{MiddleTruncatedText-Bzpg3zAU.mjs.map → MiddleTruncatedText-GXI-CPvs.mjs.map} +1 -1
- package/dist/Modal.d.mts +3 -3
- package/dist/PageHeader-jSLud2JI.mjs +65 -0
- package/dist/PageHeader-jSLud2JI.mjs.map +1 -0
- package/dist/PageHeader.d.mts +18 -4
- package/dist/{PageSelector-CMoV-cHa.d.mts → PageSelector-vay4jpMp.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/PageSizeSelector.d.mts +7 -1
- package/dist/{Pagination-Cj08JRG9.mjs → Pagination-BeYukNCj.mjs} +13 -10
- package/dist/Pagination-BeYukNCj.mjs.map +1 -0
- package/dist/{Pagination-QWNK_hH7.d.mts → Pagination-ygLutOst.d.mts} +9 -3
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Bxh6_R4T.mjs → Pii-QsTrz8wn.mjs} +2 -2
- package/dist/{Pii-Bxh6_R4T.mjs.map → Pii-QsTrz8wn.mjs.map} +1 -1
- package/dist/Pii.d.mts +1 -1
- package/dist/PillShell.d.mts +85 -0
- package/dist/{Popover-D0QY5f-J.mjs → Popover-BkDpDdaO.mjs} +5 -5
- package/dist/{Popover-D0QY5f-J.mjs.map → Popover-BkDpDdaO.mjs.map} +1 -1
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-ySXCGUEQ.d.mts → PseudoClassProps-DLxPxo7T.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-C9DevagH.mjs → Radio-CSX2eO-O.mjs} +3 -3
- package/dist/{Radio-C9DevagH.mjs.map → Radio-CSX2eO-O.mjs.map} +1 -1
- package/dist/{RadioGroup-B3hRbIWF.mjs → RadioGroup-CnK0opBd.mjs} +3 -3
- package/dist/{RadioGroup-B3hRbIWF.mjs.map → RadioGroup-CnK0opBd.mjs.map} +1 -1
- package/dist/{RadioGroup-nhMXEbCx.d.mts → RadioGroup-DKqbSfju.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +37 -0
- package/dist/RulesPill.d.mts +65 -0
- package/dist/{SearchInput-s6qGC2WZ.d.mts → SearchInput-Bp2yjaE1.d.mts} +3 -3
- package/dist/SearchInput.d.mts +1 -1
- package/dist/Section.d.mts +1 -1
- package/dist/{SectionHeading-CDBQ4m9E.d.mts → SectionHeading-Q-rx2LEd.d.mts} +2 -2
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-B1ZLgu61.mjs → SegmentedControl-CgDQIVll.mjs} +8 -7
- package/dist/SegmentedControl-CgDQIVll.mjs.map +1 -0
- package/dist/{SegmentedControl-BYuXohIp.d.cts → SegmentedControl-DrjdUOU9.d.mts} +2 -2
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-NcaURrGZ.d.cts → Select-Bk27TgN8.d.mts} +11 -5
- package/dist/{Select-ByTgXOlU.mjs → Select-C1ZoRk39.mjs} +14 -11
- package/dist/Select-C1ZoRk39.mjs.map +1 -0
- package/dist/Select.d.mts +1 -1
- package/dist/Slider.d.mts +1 -1
- package/dist/SliderRHF.d.mts +1 -1
- package/dist/SliderThumb.d.mts +1 -1
- package/dist/{Spacer-Ln3KChb5.mjs → Spacer-CJp0lwkL.mjs} +1 -1
- package/dist/{Spacer-Ln3KChb5.mjs.map → Spacer-CJp0lwkL.mjs.map} +1 -1
- package/dist/{Stack-ckRN7LrP.mjs → Stack-Bl54WmhY.mjs} +1 -1
- package/dist/{Stack-ckRN7LrP.mjs.map → Stack-Bl54WmhY.mjs.map} +1 -1
- package/dist/{Stack-UMhJ6F_3.d.mts → Stack-CkV7k7TE.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator.d.mts +32 -4
- package/dist/{Sticker-DjF9VJQB.d.mts → Sticker-Bs25ISz7.d.mts} +5 -5
- package/dist/{Sticker-B0TbkV4o.mjs → Sticker-CyGb9dEu.mjs} +3 -3
- package/dist/{Sticker-B0TbkV4o.mjs.map → Sticker-CyGb9dEu.mjs.map} +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +39 -0
- package/dist/SwatchPicker.d.mts +1 -1
- package/dist/Tab.d.mts +14 -5
- package/dist/{TabBar-ByusqAXF.mjs → TabBar-Bn8PHHBZ.mjs} +16 -10
- package/dist/TabBar-Bn8PHHBZ.mjs.map +1 -0
- package/dist/TabBarIconButton.d.mts +1 -1
- package/dist/{Table-DJZtluW3.d.cts → Table-BNScLj9g.d.mts} +1 -1
- package/dist/{Table-CNs8p8hL.mjs → Table-BfontAeY.mjs} +8 -6
- package/dist/{Table-CNs8p8hL.mjs.map → Table-BfontAeY.mjs.map} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-BFPF07n4.d.cts → TableBody-CrDNMyT8.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-DIJffyts.mjs → TableBox-bmrKh_ax.mjs} +89 -38
- package/dist/TableBox-bmrKh_ax.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-D1bjYv7b.d.mts → TableBoxCell-CvjLYhTV.d.mts} +24 -10
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +8 -5
- package/dist/{TableBoxRow-CTR14HJF.d.mts → TableBoxRow-BzXECgid.d.mts} +4 -4
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-BoMt5d0b.d.mts → TableBoxRowActions-BAiFXiCh.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-BZyiqk9V.d.mts → TableControls-BehR7CKS.d.mts} +4 -4
- package/dist/TableControls-DVTtNAPo.mjs +3859 -0
- package/dist/TableControls-DVTtNAPo.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-CleTWT7z.d.mts → TableControlsContext-D_SBFZN1.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CTsZNRJm.d.cts → TableHead-LxvG0e9k.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-UoY92mzR.d.cts → TableHeaderCell-Br8ZE3Xe.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-_TWUnffx.d.mts → TableLayout-BZeP8qfg.d.mts} +7 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-BVzduO4G.d.cts → TableRow-BvS4yjo6.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-D2TM2wCv.d.mts → TableViewConfigurationDropdown-BYPh4dIP.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/TechnicalSticker.d.mts +1 -1
- package/dist/{Text-D3FXEnG6.d.mts → Text-DNPbAuUG.d.mts} +3 -3
- package/dist/{Text-hEoPeOc9.mjs → Text-RcEfNFLx.mjs} +1 -1
- package/dist/{Text-hEoPeOc9.mjs.map → Text-RcEfNFLx.mjs.map} +1 -1
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-KpDoXg-5.d.cts → TextArea-B89wtTsF.d.mts} +2 -2
- package/dist/{TextArea-DIPeBLkr.mjs → TextArea-NCLsW-03.mjs} +3 -3
- package/dist/{TextArea-DIPeBLkr.mjs.map → TextArea-NCLsW-03.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-Cep5cgEQ.d.mts → TextUnderlineTooltip-5-0D8s4z.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +2 -2
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-CfjUQlcK.mjs → Toggle-Bie9zCem.mjs} +5 -5
- package/dist/{Toggle-CfjUQlcK.mjs.map → Toggle-Bie9zCem.mjs.map} +1 -1
- package/dist/{Toggle-BQCOJZjZ.d.mts → Toggle-DzYLgxGk.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-CDvOu1UN.mjs → Tooltip-BvDbmXak.mjs} +3 -3
- package/dist/{Tooltip-CDvOu1UN.mjs.map → Tooltip-BvDbmXak.mjs.map} +1 -1
- package/dist/{Tooltip-DRgufW3i.d.mts → Tooltip-CUC-JuRL.d.mts} +3 -3
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-Cy8NpHzm.d.mts → TruncatedText-BJnowVTx.d.mts} +1 -1
- package/dist/components/Attribute/index.mjs +10 -10
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/Breadcrumbs/index.d.mts +2 -2
- package/dist/components/Breadcrumbs/index.mjs +1 -267
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +3 -3
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/Card/index.mjs +1 -1
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -410
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +16 -6
- package/dist/components/DataTable/TableControls/index.mjs +2 -2
- package/dist/components/DataTable/index.mjs +28 -26
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.mjs +1 -921
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +3 -3
- package/dist/components/FormField/index.mjs +2 -471
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +8 -8
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +4 -2
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +2 -2
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.mjs +7 -7
- package/dist/components/PageHeader/index.mjs +1 -63
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.mjs +2 -2
- package/dist/components/Spacer/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.d.mts +2 -2
- package/dist/components/StatusIndicator/index.mjs +61 -12
- package/dist/components/StatusIndicator/index.mjs.map +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +7 -7
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +4 -4
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/Text/index.mjs +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +4 -4
- package/dist/components/Toast/index.mjs +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/compound-expression.d.mts +9 -0
- package/dist/{constants-DVwPpTt5.d.mts → constants-BASogfT_.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/containers.d.mts +8 -0
- package/dist/display.d.mts +8 -0
- package/dist/fieldPickerOptions.d.mts +29 -0
- package/dist/filter-size-context-Blw6Sd69.d.mts +52 -0
- package/dist/filter-size-context.d.mts +2 -0
- package/dist/helpers.d.mts +1 -1
- package/dist/index-4_B2yRzD.d.mts +7 -0
- package/dist/index-BxXTpeUb2.d.mts +55 -0
- package/dist/{index-BPnJP0jZ.d.mts → index-DDbjWdk0.d.mts} +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +4 -1
- package/dist/index4.d.mts +11 -0
- package/dist/index5.d.mts +2 -0
- package/dist/{input-BkzqXwn7.d.cts → input-Bv5fKt5J.d.mts} +3 -3
- package/dist/inputFields.d.mts +11 -11
- package/dist/{intersperse-yd3oMrQl.mjs → intersperse-vOYvFOfF.mjs} +1 -1
- package/dist/{intersperse-Gxwgpbk8.cjs.map → intersperse-vOYvFOfF.mjs.map} +1 -1
- package/dist/layouts/LayoutLoadingShimmer/index.d.mts +2 -0
- package/dist/layouts/LayoutLoadingShimmer/index.mjs +133 -0
- package/dist/layouts/LayoutLoadingShimmer/index.mjs.map +1 -0
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/useScrollOverflow.d.mts +7 -0
- package/dist/lib/useScrollOverflow.mjs +22 -1
- package/dist/lib/useScrollOverflow.mjs.map +1 -1
- package/dist/{message-BfJ87aIU.d.mts → message-CMHvlPGn.d.mts} +1 -1
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/text.d.mts +1 -1
- package/dist/operators-Bo31xlc2.d.mts +43 -0
- package/dist/operators.d.mts +2 -0
- package/dist/{text-CtoDqqAO.d.mts → text-B21s9mRZ.d.mts} +1 -1
- package/dist/{theme-Bx2sn3Lt.d.mts → theme-BzBpJXhO.d.mts} +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/types-D58IoRx6.d.mts +158 -0
- package/dist/types-D7ppqnNj.d.mts +45 -0
- package/dist/{types-B34lbI2k.d.mts → types-DEh_pXgS.d.mts} +1 -1
- package/dist/{types-CuCT-YnX.d.cts → types-TV9nVfSe.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +2 -2
- package/dist/types3.d.mts +2 -0
- package/dist/types4.d.mts +2 -0
- package/dist/use-rules-popover-selection.d.mts +19 -0
- package/dist/useComboboxFooterAction.d.mts +47 -0
- package/dist/useFilterStateV2-DCQghouq.d.mts +93 -0
- package/dist/useFilterStateV2.d.mts +2 -0
- package/dist/{useFormField-BE0rTBF1.d.mts → useFormField-D8mLsiQc.d.mts} +2 -2
- package/dist/{useFormField-eftOPiXj.mjs → useFormField-DhYd6bNn.mjs} +2 -2
- package/dist/{useFormField-eftOPiXj.mjs.map → useFormField-DhYd6bNn.mjs.map} +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-BMukAMAd.mjs → useFormGroup-DWVW7A9f.mjs} +1 -1
- package/dist/{useFormGroup-BMukAMAd.mjs.map → useFormGroup-DWVW7A9f.mjs.map} +1 -1
- package/dist/{useTableBoxDragAndDrop--QBq2FQh.d.cts → useTableBoxDragAndDrop-BMo-iaUF.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/{useToggle-3k3EkV8V.mjs → useToggle-Bo3yd14Y.mjs} +1 -1
- package/dist/{useToggle-3k3EkV8V.mjs.map → useToggle-Bo3yd14Y.mjs.map} +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-DqO6Sh94.d.cts → utilities-BO_95qFA.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils/testing.mjs +1 -1
- package/dist/utils.d.mts +22 -5
- package/dist/utils2.d.mts +9 -0
- package/dist/validation-vLh3t2dk.d.mts +51 -0
- package/dist/validation.d.mts +2 -0
- package/dist/value-control-resolver-CE-bqdAl.d.mts +46 -0
- package/dist/value-control-resolver.d.mts +2 -0
- package/package.json +203 -738
- package/skills/ui-authoring/COMPONENTS.md +331 -0
- package/skills/ui-authoring/EXAMPLES.md +370 -0
- package/skills/ui-authoring/REFERENCE.md +293 -0
- package/skills/ui-authoring/SKILL.md +237 -0
- package/dist/Action-z1rV4qON.d.cts +0 -35
- package/dist/Action.d.cts +0 -2
- package/dist/Attribute.d.cts +0 -107
- package/dist/AttributeGrid.d.cts +0 -40
- package/dist/Badge-DAGPU4-e.cjs +0 -38
- package/dist/Badge-DAGPU4-e.cjs.map +0 -1
- package/dist/Badge.d.cts +0 -25
- package/dist/Banner.d.cts +0 -48
- package/dist/Breadcrumb-BOxfam3E.d.cts +0 -31
- package/dist/Breadcrumb.d.cts +0 -2
- package/dist/Breadcrumbs.d.cts +0 -20
- package/dist/Button-DXsYU5qU.d.mts +0 -101
- package/dist/Button.d.cts +0 -2
- package/dist/ButtonGroup.d.cts +0 -20
- package/dist/Calendar.d.cts +0 -11
- package/dist/Card-CaOItkgL.cjs +0 -248
- package/dist/Card-CaOItkgL.cjs.map +0 -1
- package/dist/Card-DnmrsQWi.d.cts +0 -52
- package/dist/Card.d.cts +0 -2
- package/dist/Card2.d.cts +0 -95
- package/dist/Checkbox-DhxpxzGp.cjs +0 -183
- package/dist/Checkbox-DhxpxzGp.cjs.map +0 -1
- package/dist/Checkbox-MUC37dLY.d.mts +0 -46
- package/dist/Checkbox.d.cts +0 -2
- package/dist/CheckboxGroupField.d.cts +0 -24
- package/dist/Combobox-4Bi9-N1p.cjs +0 -1693
- package/dist/Combobox-4Bi9-N1p.cjs.map +0 -1
- package/dist/Combobox-Bedo_GIj.d.mts +0 -11
- package/dist/Combobox-CeKMrlxy.mjs.map +0 -1
- package/dist/Combobox.d.cts +0 -3
- package/dist/ComboboxBase-BoR9DVwe.d.cts +0 -321
- package/dist/ComboboxBase.d.cts +0 -2
- package/dist/ComboboxMultiSelect-CnI6sFAF.d.cts +0 -47
- package/dist/ComboboxMultiSelect.d.cts +0 -2
- package/dist/ComboboxSingleSelect-Japejm0g.d.cts +0 -35
- package/dist/ComboboxSingleSelect.d.cts +0 -2
- package/dist/CompactBar-DTsGo1zU.d.cts +0 -21
- package/dist/CompactBar.d.cts +0 -2
- package/dist/ConfigFormGroup-DVRhkS2L.cjs +0 -35
- package/dist/ConfigFormGroup-DVRhkS2L.cjs.map +0 -1
- package/dist/ConfigFormGroup.d.cts +0 -7
- package/dist/ControlBar-BGmXymCB.d.cts +0 -151
- package/dist/ControlBar.d.cts +0 -2
- package/dist/DataTable.d.cts +0 -372
- package/dist/DateField.d.cts +0 -23
- package/dist/DatePicker.d.cts +0 -19
- package/dist/DateRangePicker.d.cts +0 -52
- package/dist/DropdownButton-Du6dwZVL.cjs +0 -32
- package/dist/DropdownButton-Du6dwZVL.cjs.map +0 -1
- package/dist/DropdownButton.d.cts +0 -26
- package/dist/DropdownMenu-CfJxgWN5.cjs +0 -74
- package/dist/DropdownMenu-CfJxgWN5.cjs.map +0 -1
- package/dist/DropdownMenu-FIYz6oAo.d.cts +0 -75
- package/dist/DropdownMenu.d.cts +0 -2
- package/dist/ErrorProps-iEj4BIVA.d.mts +0 -8
- package/dist/ErrorProps.d.cts +0 -2
- package/dist/FloatingActionBar.d.cts +0 -40
- package/dist/FormControl-BrsML00L.d.cts +0 -60
- package/dist/FormControl-Czt95h2L.cjs +0 -212
- package/dist/FormControl-Czt95h2L.cjs.map +0 -1
- package/dist/FormControl.d.cts +0 -2
- package/dist/FormField-DoSXvnJ3.d.cts +0 -69
- package/dist/FormField.d.cts +0 -2
- package/dist/Header-CkZvzbzL.d.cts +0 -35
- package/dist/Header.d.cts +0 -2
- package/dist/HelperTooltip-C1CYMpJP.d.cts +0 -20
- package/dist/HelperTooltip.d.cts +0 -2
- package/dist/HoverCopyableField-B_WNB7Qp.cjs +0 -110
- package/dist/HoverCopyableField-B_WNB7Qp.cjs.map +0 -1
- package/dist/HoverCopyableField.d.cts +0 -16
- package/dist/IconButton-DNy7g5zh.cjs +0 -372
- package/dist/IconButton-DNy7g5zh.cjs.map +0 -1
- package/dist/IconButton-Dnnlf9uO.d.mts +0 -24
- package/dist/IconButton.d.cts +0 -2
- package/dist/ImageTile.d.cts +0 -60
- package/dist/Input-4KeYlOWM.d.mts +0 -65
- package/dist/Input-BDLUq-pK.cjs +0 -209
- package/dist/Input-BDLUq-pK.cjs.map +0 -1
- package/dist/Input-PWfwMSJ7.mjs.map +0 -1
- package/dist/Input.d.cts +0 -2
- package/dist/InputProps-CTLG2Tr0.d.mts +0 -16
- package/dist/InputProps.d.cts +0 -2
- package/dist/Inserter.d.cts +0 -12
- package/dist/Link.d.cts +0 -43
- package/dist/ListBox-BCscLcYL.cjs +0 -379
- package/dist/ListBox-BCscLcYL.cjs.map +0 -1
- package/dist/ListBox-CDNOJmvz.mjs.map +0 -1
- package/dist/ListBox-WyZvseo5.d.cts +0 -138
- package/dist/ListBox.d.cts +0 -2
- package/dist/ListBoxField.d.cts +0 -46
- package/dist/LoadingShimmer-CUjbAqGd.cjs +0 -92
- package/dist/LoadingShimmer-CUjbAqGd.cjs.map +0 -1
- package/dist/LoadingShimmer.d.cts +0 -38
- package/dist/MaskedInput.d.cts +0 -10
- package/dist/MatchHighlight.d.cts +0 -11
- package/dist/Menu-BKMxOXkj.d.cts +0 -70
- package/dist/Menu-BXic-30n.cjs +0 -217
- package/dist/Menu-BXic-30n.cjs.map +0 -1
- package/dist/Menu.d.cts +0 -2
- package/dist/MiddleTruncatedText-BIzKECv9.cjs +0 -178
- package/dist/MiddleTruncatedText-BIzKECv9.cjs.map +0 -1
- package/dist/Modal.d.cts +0 -146
- package/dist/PageHeader.d.cts +0 -26
- package/dist/PageSelector-DoROR_Uh.d.cts +0 -30
- package/dist/PageSelector.d.cts +0 -2
- package/dist/Pagination-B97xQ-Wk.d.cts +0 -33
- package/dist/Pagination-Cj08JRG9.mjs.map +0 -1
- package/dist/Pagination-D4IVVj3S.cjs +0 -233
- package/dist/Pagination-D4IVVj3S.cjs.map +0 -1
- package/dist/Pagination.d.cts +0 -2
- package/dist/Pii-D-Ry7L0t.cjs +0 -25
- package/dist/Pii-D-Ry7L0t.cjs.map +0 -1
- package/dist/Pii.d.cts +0 -16
- package/dist/Popover-BAv7BujW.cjs +0 -168
- package/dist/Popover-BAv7BujW.cjs.map +0 -1
- package/dist/Popover.d.cts +0 -90
- package/dist/ProgressBar.d.cts +0 -83
- package/dist/ProgressIndicator.d.cts +0 -64
- package/dist/PseudoClassProps-C5jpj6Rp.d.cts +0 -12
- package/dist/PseudoClassProps.d.cts +0 -2
- package/dist/Radio-nw846eRv.cjs +0 -154
- package/dist/Radio-nw846eRv.cjs.map +0 -1
- package/dist/Radio.d.cts +0 -21
- package/dist/RadioGroup-D_H1B7JV.d.cts +0 -21
- package/dist/RadioGroup-DmGVJCgT.cjs +0 -57
- package/dist/RadioGroup-DmGVJCgT.cjs.map +0 -1
- package/dist/RadioGroup.d.cts +0 -2
- package/dist/SearchInput-CAHYPQVX.d.cts +0 -46
- package/dist/SearchInput.d.cts +0 -2
- package/dist/SectionHeading-D-L4uPoX.d.cts +0 -71
- package/dist/SectionHeading.d.cts +0 -2
- package/dist/SegmentedControl-B1ZLgu61.mjs.map +0 -1
- package/dist/SegmentedControl-CE845gnm.d.mts +0 -59
- package/dist/SegmentedControl-CIJz0oxY.cjs +0 -124
- package/dist/SegmentedControl-CIJz0oxY.cjs.map +0 -1
- package/dist/SegmentedControl.d.cts +0 -2
- package/dist/Select-BMEwCfbv.d.mts +0 -77
- package/dist/Select-ByTgXOlU.mjs.map +0 -1
- package/dist/Select-C65bfYeT.cjs +0 -262
- package/dist/Select-C65bfYeT.cjs.map +0 -1
- package/dist/Select.d.cts +0 -2
- package/dist/Slider.d.cts +0 -51
- package/dist/SliderRHF.d.cts +0 -18
- package/dist/Spacer-GYHbk-dS.cjs +0 -20
- package/dist/Spacer-GYHbk-dS.cjs.map +0 -1
- package/dist/Spacer.d.cts +0 -17
- package/dist/Spinner-B6bx70yR.cjs +0 -48
- package/dist/Spinner-B6bx70yR.cjs.map +0 -1
- package/dist/Spinner.d.cts +0 -26
- package/dist/Stack-BF-9YjA1.cjs +0 -53
- package/dist/Stack-BF-9YjA1.cjs.map +0 -1
- package/dist/Stack-D979gYU9.d.cts +0 -47
- package/dist/Stack.d.cts +0 -2
- package/dist/StatusIndicator.d.cts +0 -54
- package/dist/Sticker-D0jIU2Dt.cjs +0 -244
- package/dist/Sticker-D0jIU2Dt.cjs.map +0 -1
- package/dist/Sticker-N8XZnv7M.d.cts +0 -68
- package/dist/Sticker.d.cts +0 -2
- package/dist/SwatchPicker.d.cts +0 -18
- package/dist/Tab.d.cts +0 -26
- package/dist/TabBar-BpHMYvNb.cjs +0 -298
- package/dist/TabBar-BpHMYvNb.cjs.map +0 -1
- package/dist/TabBar-ByusqAXF.mjs.map +0 -1
- package/dist/TabBar.d.cts +0 -33
- package/dist/TabBarIconButton.d.cts +0 -10
- package/dist/Table-C9rjUVpn.cjs +0 -478
- package/dist/Table-C9rjUVpn.cjs.map +0 -1
- package/dist/Table-D3nyiZt0.d.mts +0 -13
- package/dist/Table.d.cts +0 -2
- package/dist/TableBody-DpRjZgzU.d.mts +0 -9
- package/dist/TableBody.d.cts +0 -2
- package/dist/TableBox-DIJffyts.mjs.map +0 -1
- package/dist/TableBox-DO-yToJk.cjs +0 -1370
- package/dist/TableBox-DO-yToJk.cjs.map +0 -1
- package/dist/TableBox.d.cts +0 -3
- package/dist/TableBoxCell-DOQ8PnAT.d.cts +0 -259
- package/dist/TableBoxCell.d.cts +0 -2
- package/dist/TableBoxField.d.cts +0 -99
- package/dist/TableBoxRow-BUK5RjRA.d.cts +0 -86
- package/dist/TableBoxRow.d.cts +0 -2
- package/dist/TableBoxRowActions-CKgUEH38.d.cts +0 -57
- package/dist/TableBoxRowActions.d.cts +0 -2
- package/dist/TableCell.d.cts +0 -2
- package/dist/TableControls-Bkd3jhC1.d.cts +0 -70
- package/dist/TableControls-BkdSeQvt.mjs +0 -1029
- package/dist/TableControls-BkdSeQvt.mjs.map +0 -1
- package/dist/TableControls-DcbnNqeK.cjs +0 -1080
- package/dist/TableControls-DcbnNqeK.cjs.map +0 -1
- package/dist/TableControls.d.cts +0 -2
- package/dist/TableControlsContext-D6XpuRVw.d.cts +0 -21
- package/dist/TableControlsContext.d.cts +0 -2
- package/dist/TableHead-wl78HqPT.d.mts +0 -12
- package/dist/TableHead.d.cts +0 -2
- package/dist/TableHeaderCell-B2yiOw4w.d.mts +0 -17
- package/dist/TableHeaderCell.d.cts +0 -2
- package/dist/TableLayout-GyRS-Awa.d.cts +0 -19
- package/dist/TableLayout.d.cts +0 -2
- package/dist/TableRow-C-faHbkL.d.mts +0 -13
- package/dist/TableRow.d.cts +0 -2
- package/dist/TableTH.d.cts +0 -2
- package/dist/TableViewConfigurationDropdown-u3-prEHJ.d.cts +0 -32
- package/dist/TableViewConfigurationDropdown.d.cts +0 -2
- package/dist/TechnicalSticker.d.cts +0 -51
- package/dist/Text-CrGiWG2E.d.cts +0 -42
- package/dist/Text-CzN0DOXV.cjs +0 -95
- package/dist/Text-CzN0DOXV.cjs.map +0 -1
- package/dist/Text.d.cts +0 -2
- package/dist/TextArea-DVHi0K7M.cjs +0 -40
- package/dist/TextArea-DVHi0K7M.cjs.map +0 -1
- package/dist/TextArea-weASn4Hq.d.mts +0 -10
- package/dist/TextArea.d.cts +0 -2
- package/dist/TextUnderlineTooltip-cSMjZOuB.d.cts +0 -18
- package/dist/TextUnderlineTooltip.d.cts +0 -2
- package/dist/Tile.d.cts +0 -63
- package/dist/Toast.d.cts +0 -23
- package/dist/Toggle-CTtrhzsV.cjs +0 -174
- package/dist/Toggle-CTtrhzsV.cjs.map +0 -1
- package/dist/Toggle-CYQE1Nk_.d.cts +0 -54
- package/dist/Toggle.d.cts +0 -2
- package/dist/Tooltip-BhGRP9QA.d.cts +0 -100
- package/dist/Tooltip-vylydKVv.cjs +0 -152
- package/dist/Tooltip-vylydKVv.cjs.map +0 -1
- package/dist/Tooltip.d.cts +0 -2
- package/dist/TruncatedText-D8f3AiBL.d.cts +0 -18
- package/dist/chunk-CKQMccvm.cjs +0 -28
- package/dist/components/Attribute/index.cjs +0 -210
- package/dist/components/Attribute/index.cjs.map +0 -1
- package/dist/components/Attribute/index.d.cts +0 -3
- package/dist/components/Badge/index.cjs +0 -7
- package/dist/components/Badge/index.d.cts +0 -2
- package/dist/components/Banner/index.cjs +0 -99
- package/dist/components/Banner/index.cjs.map +0 -1
- package/dist/components/Banner/index.d.cts +0 -2
- package/dist/components/Breadcrumbs/index.cjs +0 -275
- package/dist/components/Breadcrumbs/index.cjs.map +0 -1
- package/dist/components/Breadcrumbs/index.d.cts +0 -2
- package/dist/components/Breadcrumbs/index.mjs.map +0 -1
- package/dist/components/Button/index.cjs +0 -11
- package/dist/components/Button/index.d.cts +0 -3
- package/dist/components/ButtonGroup/index.cjs +0 -112
- package/dist/components/ButtonGroup/index.cjs.map +0 -1
- package/dist/components/ButtonGroup/index.d.cts +0 -2
- package/dist/components/Card/index.cjs +0 -12
- package/dist/components/Card/index.d.cts +0 -3
- package/dist/components/CardV2/index.cjs +0 -419
- package/dist/components/CardV2/index.cjs.map +0 -1
- package/dist/components/CardV2/index.d.cts +0 -3
- package/dist/components/CardV2/index.mjs.map +0 -1
- package/dist/components/Checkbox/index.cjs +0 -7
- package/dist/components/Checkbox/index.d.cts +0 -2
- package/dist/components/Combobox/index.cjs +0 -9
- package/dist/components/Combobox/index.d.cts +0 -3
- package/dist/components/ConfigFormGroup/index.cjs +0 -10
- package/dist/components/ConfigFormGroup/index.d.cts +0 -3
- package/dist/components/DataTable/TableControls/index.cjs +0 -13
- package/dist/components/DataTable/TableControls/index.d.cts +0 -6
- package/dist/components/DataTable/index.cjs +0 -1434
- package/dist/components/DataTable/index.cjs.map +0 -1
- package/dist/components/DataTable/index.d.cts +0 -8
- package/dist/components/DataTable/types.cjs +0 -0
- package/dist/components/DataTable/types.d.cts +0 -159
- package/dist/components/DatePicker/index.cjs +0 -933
- package/dist/components/DatePicker/index.cjs.map +0 -1
- package/dist/components/DatePicker/index.d.cts +0 -5
- package/dist/components/DatePicker/index.mjs.map +0 -1
- package/dist/components/DropdownButton/index.cjs +0 -7
- package/dist/components/DropdownButton/index.d.cts +0 -2
- package/dist/components/DropdownMenu/index.cjs +0 -7
- package/dist/components/DropdownMenu/index.d.cts +0 -2
- package/dist/components/FormControl/index.cjs +0 -15
- package/dist/components/FormControl/index.d.cts +0 -3
- package/dist/components/FormField/index.cjs +0 -490
- package/dist/components/FormField/index.cjs.map +0 -1
- package/dist/components/FormField/index.d.cts +0 -6
- package/dist/components/FormField/index.mjs.map +0 -1
- package/dist/components/HoverCopyableField/index.cjs +0 -2
- package/dist/components/HoverCopyableField/index.d.cts +0 -2
- package/dist/components/ImageTile/index.cjs +0 -225
- package/dist/components/ImageTile/index.cjs.map +0 -1
- package/dist/components/ImageTile/index.d.cts +0 -2
- package/dist/components/Input/index.cjs +0 -14
- package/dist/components/Input/index.cjs.map +0 -1
- package/dist/components/Input/index.d.cts +0 -2
- package/dist/components/Link/index.cjs +0 -87
- package/dist/components/Link/index.cjs.map +0 -1
- package/dist/components/Link/index.d.cts +0 -2
- package/dist/components/ListBox/index.cjs +0 -8
- package/dist/components/ListBox/index.d.cts +0 -2
- package/dist/components/LoadingShimmer/index.cjs +0 -6
- package/dist/components/LoadingShimmer/index.d.cts +0 -2
- package/dist/components/MaskedInput/index.cjs +0 -29
- package/dist/components/MaskedInput/index.cjs.map +0 -1
- package/dist/components/MaskedInput/index.d.cts +0 -2
- package/dist/components/MatchHighlight/index.cjs +0 -31
- package/dist/components/MatchHighlight/index.cjs.map +0 -1
- package/dist/components/MatchHighlight/index.d.cts +0 -2
- package/dist/components/Menu/index.cjs +0 -14
- package/dist/components/Menu/index.d.cts +0 -2
- package/dist/components/Modal/index.cjs +0 -290
- package/dist/components/Modal/index.cjs.map +0 -1
- package/dist/components/Modal/index.d.cts +0 -2
- package/dist/components/PageHeader/index.cjs +0 -71
- package/dist/components/PageHeader/index.cjs.map +0 -1
- package/dist/components/PageHeader/index.d.cts +0 -2
- package/dist/components/PageHeader/index.mjs.map +0 -1
- package/dist/components/Pagination/index.cjs +0 -10
- package/dist/components/Pagination/index.d.cts +0 -4
- package/dist/components/Pii/index.cjs +0 -2
- package/dist/components/Pii/index.d.cts +0 -2
- package/dist/components/Popover/index.cjs +0 -12
- package/dist/components/Popover/index.d.cts +0 -2
- package/dist/components/ProgressBar/index.cjs +0 -177
- package/dist/components/ProgressBar/index.cjs.map +0 -1
- package/dist/components/ProgressBar/index.d.cts +0 -2
- package/dist/components/ProgressIndicator/index.cjs +0 -185
- package/dist/components/ProgressIndicator/index.cjs.map +0 -1
- package/dist/components/ProgressIndicator/index.d.cts +0 -2
- package/dist/components/Radio/index.cjs +0 -7
- package/dist/components/Radio/index.d.cts +0 -2
- package/dist/components/RadioGroup/index.cjs +0 -7
- package/dist/components/RadioGroup/index.d.cts +0 -2
- package/dist/components/SegmentedControl/index.cjs +0 -8
- package/dist/components/SegmentedControl/index.d.cts +0 -2
- package/dist/components/Select/index.cjs +0 -9
- package/dist/components/Select/index.d.cts +0 -2
- package/dist/components/Slider/index.cjs +0 -245
- package/dist/components/Slider/index.cjs.map +0 -1
- package/dist/components/Slider/index.d.cts +0 -3
- package/dist/components/Spacer/index.cjs +0 -2
- package/dist/components/Spacer/index.d.cts +0 -2
- package/dist/components/Spinner/index.cjs +0 -7
- package/dist/components/Spinner/index.d.cts +0 -2
- package/dist/components/Stack/index.cjs +0 -8
- package/dist/components/Stack/index.d.cts +0 -2
- package/dist/components/StatusIndicator/index.cjs +0 -174
- package/dist/components/StatusIndicator/index.cjs.map +0 -1
- package/dist/components/StatusIndicator/index.d.cts +0 -2
- package/dist/components/Sticker/index.cjs +0 -11
- package/dist/components/Sticker/index.d.cts +0 -2
- package/dist/components/SwatchPicker/index.cjs +0 -63
- package/dist/components/SwatchPicker/index.cjs.map +0 -1
- package/dist/components/SwatchPicker/index.d.cts +0 -2
- package/dist/components/TabBar/index.cjs +0 -11
- package/dist/components/TabBar/index.d.cts +0 -4
- package/dist/components/Table/index.cjs +0 -21
- package/dist/components/Table/index.d.cts +0 -8
- package/dist/components/TableBox/index.cjs +0 -7
- package/dist/components/TableBox/index.d.cts +0 -3
- package/dist/components/TechnicalSticker/index.cjs +0 -239
- package/dist/components/TechnicalSticker/index.cjs.map +0 -1
- package/dist/components/TechnicalSticker/index.d.cts +0 -2
- package/dist/components/Text/index.cjs +0 -8
- package/dist/components/Text/index.d.cts +0 -2
- package/dist/components/TextArea/index.cjs +0 -7
- package/dist/components/TextArea/index.d.cts +0 -2
- package/dist/components/Tile/index.cjs +0 -102
- package/dist/components/Tile/index.cjs.map +0 -1
- package/dist/components/Tile/index.d.cts +0 -2
- package/dist/components/Toast/index.cjs +0 -134
- package/dist/components/Toast/index.cjs.map +0 -1
- package/dist/components/Toast/index.d.cts +0 -2
- package/dist/components/Toggle/index.cjs +0 -7
- package/dist/components/Toggle/index.d.cts +0 -2
- package/dist/components/Tooltip/index.cjs +0 -11
- package/dist/components/Tooltip/index.d.cts +0 -4
- package/dist/constants-kwVsjw8O.d.cts +0 -6
- package/dist/constants.d.cts +0 -2
- package/dist/constants2.d.cts +0 -10
- package/dist/helpers.d.cts +0 -76
- package/dist/index-D-BciAtf.d.cts +0 -1
- package/dist/index-D2HUTZ-d.d.cts +0 -1
- package/dist/index-D8dPsry7.d.mts +0 -1
- package/dist/index-DeEmP3Jc.d.cts +0 -1
- package/dist/index-DeVKzGce.d.mts +0 -1
- package/dist/index-DrZ2Dh-H.d.cts +0 -1
- package/dist/index-DxSM7VXJ.d.cts +0 -1
- package/dist/index-FtE8MXJ_.d.mts +0 -1
- package/dist/index-JuxZj_Qp2.d.mts +0 -1
- package/dist/index-LhFpnU-f.d.mts +0 -1
- package/dist/index-N-OgGgfF.d.mts +0 -1
- package/dist/index-NKYLt_R9.d.mts +0 -1
- package/dist/index-VWno75SQ.d.mts +0 -1
- package/dist/index-_tQRydn9.d.cts +0 -75
- package/dist/index-_wQ5ClJU.d.cts +0 -1
- package/dist/index-c55Utzva.d.mts +0 -1
- package/dist/index-gpCH5158.d.mts +0 -1
- package/dist/index-lQ_hGQ08.d.cts +0 -1
- package/dist/index-luywJTzJ.d.mts +0 -1
- package/dist/index-zO0Ly4bS.d.cts +0 -1
- package/dist/index.cjs +0 -0
- package/dist/index.d.cts +0 -2
- package/dist/index2.d.cts +0 -2
- package/dist/index3.d.cts +0 -1
- package/dist/input-DrG6mA0V.d.mts +0 -17
- package/dist/inputFields.d.cts +0 -83
- package/dist/intersperse-Gxwgpbk8.cjs +0 -26
- package/dist/intersperse-yd3oMrQl.mjs.map +0 -1
- package/dist/lib/ConfigContext.cjs +0 -15
- package/dist/lib/ConfigContext.cjs.map +0 -1
- package/dist/lib/ConfigContext.d.cts +0 -16
- package/dist/lib/GlobalStyles.cjs +0 -57
- package/dist/lib/GlobalStyles.cjs.map +0 -1
- package/dist/lib/GlobalStyles.d.cts +0 -8
- package/dist/lib/HeadlessAriaButton.cjs +0 -33
- package/dist/lib/HeadlessAriaButton.cjs.map +0 -1
- package/dist/lib/HeadlessAriaButton.d.cts +0 -12
- package/dist/lib/MiddleTruncatedText.cjs +0 -7
- package/dist/lib/MiddleTruncatedText.d.cts +0 -14
- package/dist/lib/PDSProvider.cjs +0 -13
- package/dist/lib/PDSProvider.cjs.map +0 -1
- package/dist/lib/PDSProvider.d.cts +0 -10
- package/dist/lib/TruncatedText.cjs +0 -39
- package/dist/lib/TruncatedText.cjs.map +0 -1
- package/dist/lib/TruncatedText.d.cts +0 -2
- package/dist/lib/TruncatedTextWithTooltip.cjs +0 -34
- package/dist/lib/TruncatedTextWithTooltip.cjs.map +0 -1
- package/dist/lib/TruncatedTextWithTooltip.d.cts +0 -15
- package/dist/lib/comboboxHelper.cjs +0 -46
- package/dist/lib/comboboxHelper.cjs.map +0 -1
- package/dist/lib/comboboxHelper.d.cts +0 -24
- package/dist/lib/copyTextToClipboard.cjs +0 -33
- package/dist/lib/copyTextToClipboard.cjs.map +0 -1
- package/dist/lib/copyTextToClipboard.d.cts +0 -4
- package/dist/lib/datePickerHelper.cjs +0 -36
- package/dist/lib/datePickerHelper.cjs.map +0 -1
- package/dist/lib/datePickerHelper.d.cts +0 -19
- package/dist/lib/message.cjs +0 -12
- package/dist/lib/message.cjs.map +0 -1
- package/dist/lib/message.d.cts +0 -2
- package/dist/lib/pseudoClass.cjs +0 -31
- package/dist/lib/pseudoClass.cjs.map +0 -1
- package/dist/lib/pseudoClass.d.cts +0 -45
- package/dist/lib/reorderItems.cjs +0 -38
- package/dist/lib/reorderItems.cjs.map +0 -1
- package/dist/lib/reorderItems.d.cts +0 -26
- package/dist/lib/selectHelper.cjs +0 -22
- package/dist/lib/selectHelper.cjs.map +0 -1
- package/dist/lib/selectHelper.d.cts +0 -14
- package/dist/lib/useControlled.cjs +0 -20
- package/dist/lib/useControlled.cjs.map +0 -1
- package/dist/lib/useControlled.d.cts +0 -16
- package/dist/lib/useIsOverflow.cjs +0 -58
- package/dist/lib/useIsOverflow.cjs.map +0 -1
- package/dist/lib/useIsOverflow.d.cts +0 -11
- package/dist/lib/useOutsideClick.cjs +0 -19
- package/dist/lib/useOutsideClick.cjs.map +0 -1
- package/dist/lib/useOutsideClick.d.cts +0 -13
- package/dist/lib/useScrollOverflow.cjs +0 -61
- package/dist/lib/useScrollOverflow.cjs.map +0 -1
- package/dist/lib/useScrollOverflow.d.cts +0 -36
- package/dist/lib/zindex.cjs +0 -26
- package/dist/lib/zindex.cjs.map +0 -1
- package/dist/lib/zindex.d.cts +0 -25
- package/dist/message-C2286H-r.d.cts +0 -9
- package/dist/mixins/focus.cjs +0 -39
- package/dist/mixins/focus.cjs.map +0 -1
- package/dist/mixins/focus.d.cts +0 -11
- package/dist/mixins/hoverable.cjs +0 -38
- package/dist/mixins/hoverable.cjs.map +0 -1
- package/dist/mixins/hoverable.d.cts +0 -16
- package/dist/mixins/input.cjs +0 -95
- package/dist/mixins/input.cjs.map +0 -1
- package/dist/mixins/input.d.cts +0 -2
- package/dist/mixins/menuItem.cjs +0 -110
- package/dist/mixins/menuItem.cjs.map +0 -1
- package/dist/mixins/menuItem.d.cts +0 -30
- package/dist/mixins/print/index.cjs +0 -25
- package/dist/mixins/print/index.cjs.map +0 -1
- package/dist/mixins/print/index.d.cts +0 -11
- package/dist/mixins/text.cjs +0 -93
- package/dist/mixins/text.cjs.map +0 -1
- package/dist/mixins/text.d.cts +0 -2
- package/dist/text-PmH5oc61.d.cts +0 -14
- package/dist/theme-Cadb1xzQ.d.cts +0 -154
- package/dist/theme.cjs +0 -353
- package/dist/theme.cjs.map +0 -1
- package/dist/theme.d.cts +0 -2
- package/dist/types-C_AUGurs.d.cts +0 -25
- package/dist/types-DTak9UTv.d.mts +0 -10
- package/dist/types.d.cts +0 -2
- package/dist/types2.d.cts +0 -2
- package/dist/useFormField-B98dmreO.cjs +0 -37
- package/dist/useFormField-B98dmreO.cjs.map +0 -1
- package/dist/useFormField-CaIdE7JQ.d.cts +0 -30
- package/dist/useFormField.d.cts +0 -2
- package/dist/useFormGroup-BE7v9eAj.cjs +0 -26
- package/dist/useFormGroup-BE7v9eAj.cjs.map +0 -1
- package/dist/useFormGroup.d.cts +0 -18
- package/dist/useTableBoxDragAndDrop-BTtv9PEt.d.mts +0 -69
- package/dist/useTableBoxDragAndDrop.d.cts +0 -2
- package/dist/useTableColumns.d.cts +0 -72
- package/dist/useToggle-CSkZWXtQ.cjs +0 -27
- package/dist/useToggle-CSkZWXtQ.cjs.map +0 -1
- package/dist/utilities-SMbDe8oK.d.mts +0 -9
- package/dist/utilities.d.cts +0 -2
- package/dist/utils/storybook.cjs +0 -12
- package/dist/utils/storybook.cjs.map +0 -1
- package/dist/utils/testing.cjs +0 -50
- package/dist/utils/testing.cjs.map +0 -1
- package/dist/utils/testing.d.cts +0 -18
- package/dist/variables/color.cjs +0 -22
- package/dist/variables/color.cjs.map +0 -1
- package/dist/variables/color.d.cts +0 -19
- package/dist/variables/effect.cjs +0 -27
- package/dist/variables/effect.cjs.map +0 -1
- package/dist/variables/effect.d.cts +0 -21
- package/dist/variables/keyframes.cjs +0 -22
- package/dist/variables/keyframes.cjs.map +0 -1
- package/dist/variables/keyframes.d.cts +0 -8
- package/dist/variables/spacing.cjs +0 -10
- package/dist/variables/spacing.cjs.map +0 -1
- package/dist/variables/spacing.d.cts +0 -8
- package/dist/variables/text.cjs +0 -13
- package/dist/variables/text.cjs.map +0 -1
- package/dist/variables/text.d.cts +0 -10
- package/dist/variables/transitions.cjs +0 -24
- package/dist/variables/transitions.cjs.map +0 -1
- package/dist/variables/transitions.d.cts +0 -19
- /package/dist/{index-8SLBz2NH.d.mts → index--p6oQT9I.d.mts} +0 -0
- /package/dist/{index-B2KLYYkM.d.cts → index-BYd3Btr1.d.mts} +0 -0
- /package/dist/{index-B5cbLMbC2.d.cts → index-CDGG7lCB.d.mts} +0 -0
- /package/dist/{index-BCsiC0tv.d.cts → index-CKKoxA9V.d.mts} +0 -0
- /package/dist/{index-BPSCxsMC.d.cts → index-CMuRFTR3.d.mts} +0 -0
- /package/dist/{index-BPiqSRRl.d.mts → index-CNxS4Tlu.d.mts} +0 -0
- /package/dist/{index-BR1oNnaF.d.cts → index-CWB6exYm.d.mts} +0 -0
- /package/dist/{index-BSVhZrWN.d.mts → index-CzItj62a.d.mts} +0 -0
- /package/dist/{index-BTImeehL2.d.mts → index-D4DUvwPf.d.mts} +0 -0
- /package/dist/{index-C0NRIDsj2.d.cts → index-DGsJdI5l.d.mts} +0 -0
- /package/dist/{index-C3kE54DD.d.mts → index-DM6vVDZD.d.mts} +0 -0
- /package/dist/{index-C6yvNuzO.d.cts → index-DWfPppPU.d.mts} +0 -0
- /package/dist/{index-C8k_zgEm.d.cts → index-DXJd7-2Z.d.mts} +0 -0
- /package/dist/{index-CEqOS-7M.d.mts → index-DkrC-i1D.d.mts} +0 -0
- /package/dist/{index-CROz1VSV.d.mts → index-DvuJXuAN.d.mts} +0 -0
- /package/dist/{index-CWt1yJ75.d.cts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-CmCelmEL.d.cts → index-PWQavSPf.d.mts} +0 -0
- /package/dist/{index-CmUzJ4E-2.d.cts → index-e6k85DKM.d.mts} +0 -0
- /package/dist/{index-CsuikFeJ.d.mts → index-lIMqGGJz.d.mts} +0 -0
- /package/dist/{index-CtCMUyZA.d.cts → index-sViox9YW.d.mts} +0 -0
- /package/dist/{index-Cz6N-KeS.d.cts → index6.d.mts} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { a as FilterField, c as FilterOperator, l as FilterRule, s as FilterFieldType, u as FilterRuleValue } from "./types-D58IoRx6.mjs";
|
|
2
|
+
|
|
3
|
+
//#region components/DataTable/TableControls/FiltersV2/operators.d.ts
|
|
4
|
+
declare function getOperatorsForType(type: FilterFieldType): ReadonlyArray<FilterOperator>;
|
|
5
|
+
/**
|
|
6
|
+
* Effective operator vocabulary for a concrete field: its `allowedOperators`
|
|
7
|
+
* allow-list, or the field type's full vocabulary when the allow-list is
|
|
8
|
+
* absent or empty. An empty allow-list means "unconstrained" rather than
|
|
9
|
+
* "no operators" — the latter would leave the field selectable in the picker
|
|
10
|
+
* but incapable of producing a rule that passes validation.
|
|
11
|
+
*
|
|
12
|
+
* Prefer this over {@link getOperatorsForType} anywhere a real field is in
|
|
13
|
+
* hand — the popover's operator dropdown, `FieldRegistry`, validation — so a
|
|
14
|
+
* field can never surface an operator the host application can't serialize.
|
|
15
|
+
*/
|
|
16
|
+
declare function getOperatorsForField(field: Pick<FilterField, 'type' | 'allowedOperators'>): ReadonlyArray<FilterOperator>;
|
|
17
|
+
declare function getDefaultOperatorForType(type: FilterFieldType): FilterOperator;
|
|
18
|
+
declare function isValuelessOperator(operator: FilterOperator): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether a concrete field's operator selector should be shown. A field
|
|
21
|
+
* pinned to one operator renders it as static text rather than a caret that
|
|
22
|
+
* opens a one-item menu.
|
|
23
|
+
*/
|
|
24
|
+
declare function fieldHasMultipleOperators(field: Pick<FilterField, 'type' | 'allowedOperators'>): boolean;
|
|
25
|
+
declare function getOperatorLabel(operator: FilterOperator, fieldType?: FilterFieldType): string;
|
|
26
|
+
/**
|
|
27
|
+
* Return a copy of `rule` whose `value` honors the valueless-operator
|
|
28
|
+
* invariant: any rule whose operator is in the valueless set
|
|
29
|
+
* (`is_empty`, `is_not_empty`) carries `value: null`. Use this anywhere
|
|
30
|
+
* a rule's value would otherwise drift out of sync with its operator —
|
|
31
|
+
* operator-change handlers, field-swap handlers, and defensive coercions
|
|
32
|
+
* before serialization.
|
|
33
|
+
*/
|
|
34
|
+
declare function withValue(rule: FilterRule, value: FilterRuleValue): FilterRule;
|
|
35
|
+
/**
|
|
36
|
+
* Empty-but-present value seeded when a rule switches from a valueless operator
|
|
37
|
+
* (`is_empty`) to one that requires a value. Non-null on purpose: a `null` value
|
|
38
|
+
* reads as a removal and drops the pill mid-edit.
|
|
39
|
+
*/
|
|
40
|
+
declare function emptyValueForFieldType(type: FilterFieldType): FilterRuleValue;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { getOperatorsForField as a, withValue as c, getOperatorLabel as i, fieldHasMultipleOperators as n, getOperatorsForType as o, getDefaultOperatorForType as r, isValuelessOperator as s, emptyValueForFieldType as t };
|
|
43
|
+
//# sourceMappingURL=operators-Bo31xlc2.d.mts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as getOperatorsForField, c as withValue, i as getOperatorLabel, n as fieldHasMultipleOperators, o as getOperatorsForType, r as getDefaultOperatorForType, s as isValuelessOperator, t as emptyValueForFieldType } from "./operators-Bo31xlc2.mjs";
|
|
2
|
+
export { emptyValueForFieldType, fieldHasMultipleOperators, getDefaultOperatorForType, getOperatorLabel, getOperatorsForField, getOperatorsForType, isValuelessOperator, withValue };
|
|
@@ -11,4 +11,4 @@ type ParagraphSize = 'lg' | 'md' | 'sm' | 'xs';
|
|
|
11
11
|
declare const paragraphMixins: Record<ParagraphMixinSize, FlattenInterpolation<ThemeProps<DefaultTheme>>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { displayMixins as a, paragraphMixins as c, ParagraphSize as i, HeadingSize as n, fontFamilyMixin as o, ParagraphMixinSize as r, headingMixins as s, DisplaySize as t };
|
|
14
|
-
//# sourceMappingURL=text-
|
|
14
|
+
//# sourceMappingURL=text-B21s9mRZ.d.mts.map
|
|
@@ -151,4 +151,4 @@ declare const darkTheme: PersonaTheme;
|
|
|
151
151
|
declare const marketingFontTheme: PersonaTheme;
|
|
152
152
|
//#endregion
|
|
153
153
|
export { darkTheme as a, Variant as i, PersonaTheme as n, defaultTheme as o, TextColors as r, marketingFontTheme as s, BackgroundColors as t };
|
|
154
|
-
//# sourceMappingURL=theme-
|
|
154
|
+
//# sourceMappingURL=theme-BzBpJXhO.d.mts.map
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as darkTheme, i as Variant, n as PersonaTheme, o as defaultTheme, r as TextColors, s as marketingFontTheme, t as BackgroundColors } from "./theme-
|
|
1
|
+
import { a as darkTheme, i as Variant, n as PersonaTheme, o as defaultTheme, r as TextColors, s as marketingFontTheme, t as BackgroundColors } from "./theme-BzBpJXhO.mjs";
|
|
2
2
|
export { BackgroundColors, PersonaTheme, TextColors, Variant, darkTheme, defaultTheme as default, marketingFontTheme };
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
//#region components/DataTable/TableControls/FiltersV2/types.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Filter UI v2 — client-side state shape.
|
|
4
|
+
*
|
|
5
|
+
* Conceptual predicate (what the user sees in the bar):
|
|
6
|
+
* AND_perField(...topLevelRules) AND OR(...compound.groups)
|
|
7
|
+
* where each `AndGroup` inside `compound.groups` is itself AND'd internally.
|
|
8
|
+
*
|
|
9
|
+
* - Simple pills compose into `topLevelRules`. Pills on DIFFERENT fields
|
|
10
|
+
* are AND'd together; multiple pills on the SAME field are OR'd
|
|
11
|
+
* together. AND'ing two equality predicates on a single field would
|
|
12
|
+
* always return zero rows, so multi-pill-per-field naturally means
|
|
13
|
+
* "is any of these values".
|
|
14
|
+
* - The Rules pill owns `compound.groups` (OR-of-AND / DNF).
|
|
15
|
+
*/
|
|
16
|
+
/** All available field types we render type-aware controls + operators for. */
|
|
17
|
+
type FilterFieldType = 'string' | 'email' | 'choices' | 'multi_choices' | 'boolean' | 'integer' | 'float' | 'date' | 'array' /** OR-of-AND tag conditions (`FilterTagsCondition[][]`). */ | 'tags_conditions' /** ISO date range (`DateRangeFilterValue`). */ | 'date_range';
|
|
18
|
+
/**
|
|
19
|
+
* Per-rule operator vocabulary.
|
|
20
|
+
*
|
|
21
|
+
* Not every operator is valid for every field. See `getOperatorsForField` in
|
|
22
|
+
* `./operators.ts` for the resolution the UI and `FieldRegistry` use to gate
|
|
23
|
+
* which operators are pickable in the Filter popover: a field's
|
|
24
|
+
* `allowedOperators`, or its type's vocabulary when that list is absent.
|
|
25
|
+
*
|
|
26
|
+
* Numeric range operators (`gt` / `lt`) are deliberately omitted from this
|
|
27
|
+
* union. When native `gt` / `lt` support exists, re-add them to this union,
|
|
28
|
+
* the per-type vocabulary in `operators.ts`, the label map, and the adapter's
|
|
29
|
+
* `normalizeValue` switch.
|
|
30
|
+
*/
|
|
31
|
+
type FilterOperator = 'is' | 'is_not' | 'contains' | 'does_not_contain' | 'is_empty' | 'is_not_empty' | 'is_true' | 'is_false' | 'before' | 'after';
|
|
32
|
+
/** Whether a field is a system/built-in field or a custom field on a parent record type. */
|
|
33
|
+
type FilterFieldSource = 'system' | 'custom';
|
|
34
|
+
/**
|
|
35
|
+
* Static metadata for one filterable field, exposed by `FieldRegistry`.
|
|
36
|
+
*
|
|
37
|
+
* Shape is mostly derived from the backend's `field_key_to_info` payload.
|
|
38
|
+
* The registry tolerates missing metadata and falls back to `'string'`.
|
|
39
|
+
*/
|
|
40
|
+
interface FilterField {
|
|
41
|
+
/** Stable id used by `FilterRule.fieldId`. Backend's `field_key`. */
|
|
42
|
+
id: string;
|
|
43
|
+
/** Human-readable label rendered in the filter picker and pill. */
|
|
44
|
+
label: string;
|
|
45
|
+
/** Field type that drives operator vocabulary and value control rendering. */
|
|
46
|
+
type: FilterFieldType;
|
|
47
|
+
/** System vs custom — drives the popover footer affordance + picker grouping. */
|
|
48
|
+
source: FilterFieldSource;
|
|
49
|
+
/**
|
|
50
|
+
* For `choices` / `multi_choices`, the option list shown in the value control.
|
|
51
|
+
* Backend metadata `options`.
|
|
52
|
+
*/
|
|
53
|
+
options?: ReadonlyArray<{
|
|
54
|
+
label: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* For `array` fields, the inner item type. Drives whether the value control
|
|
59
|
+
* is a text input vs. multi-select. Backend metadata `item_type`.
|
|
60
|
+
*/
|
|
61
|
+
itemType?: FilterFieldType;
|
|
62
|
+
/**
|
|
63
|
+
* For custom fields, the human-readable parent-scope label (record type
|
|
64
|
+
* / Case template name). Display-only: the popover footer
|
|
65
|
+
* (`ⓘ [label] is a field on [parentRecordType]`) and the picker submenu
|
|
66
|
+
* grouping/sublabel. Narrowing keys off {@link parentRecordId}, not this
|
|
67
|
+
* label (labels can collide or carry a suffix). Backend `parent_record_type`.
|
|
68
|
+
*/
|
|
69
|
+
parentRecordType?: string;
|
|
70
|
+
/**
|
|
71
|
+
* For custom fields, the parent scope's token (the public id the
|
|
72
|
+
* account-type / case-template records expose as `id`) — the
|
|
73
|
+
* picker-narrowing key. A selector field whose `options[].value`
|
|
74
|
+
* intersects the registry's `parentRecordId`s is inferred as a scoping
|
|
75
|
+
* selector, and an `is` pill on it narrows the picker to that scope.
|
|
76
|
+
* Matching on the token, not the label, keeps narrowing exact. Backend
|
|
77
|
+
* `parent_record_id`.
|
|
78
|
+
*/
|
|
79
|
+
parentRecordId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Reserved slot for nested-path filtering (hash subfields). The frontend
|
|
82
|
+
* never produces a non-empty `path` today; this is shape-stable so that
|
|
83
|
+
* hash subfield support can land without a state migration once the backend
|
|
84
|
+
* `SearchAliasMap` decision is made.
|
|
85
|
+
*/
|
|
86
|
+
path?: ReadonlyArray<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Optional operator allow-list, for a field whose host can only serialize
|
|
89
|
+
* part of its type's vocabulary. When omitted or empty, the full per-type
|
|
90
|
+
* vocabulary from `operators.ts` applies.
|
|
91
|
+
*/
|
|
92
|
+
allowedOperators?: ReadonlyArray<FilterOperator>;
|
|
93
|
+
}
|
|
94
|
+
/** ISO calendar-date range for legacy index date filters. */
|
|
95
|
+
interface DateRangeFilterValue {
|
|
96
|
+
startDate?: string;
|
|
97
|
+
endDate?: string;
|
|
98
|
+
}
|
|
99
|
+
/** Value shape for a single rule. Matches the union the value controls produce. */
|
|
100
|
+
type FilterRuleValue = string | ReadonlyArray<string> | number | boolean | null | DateRangeFilterValue | ReadonlyArray<ReadonlyArray<Record<string, unknown>>> | ReadonlyArray<ReadonlyArray<unknown>>;
|
|
101
|
+
/** A single field/operator/value triple — one row in the Advanced Filter Rules editor. */
|
|
102
|
+
interface FilterRule {
|
|
103
|
+
fieldId: string;
|
|
104
|
+
operator: FilterOperator;
|
|
105
|
+
value: FilterRuleValue;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* A top-level (simple pill) rule. Carries a stable `id` so multiple
|
|
109
|
+
* pills for the same field can coexist — the "Add filter" picker
|
|
110
|
+
* always creates a new id rather than collapsing duplicate field
|
|
111
|
+
* selections back onto a single existing rule. `id` is local to the
|
|
112
|
+
* client state; it is not serialized to the backend payload.
|
|
113
|
+
*/
|
|
114
|
+
interface TopLevelFilterRule extends FilterRule {
|
|
115
|
+
id: string;
|
|
116
|
+
}
|
|
117
|
+
/** One AND group inside the compound expression. Rules inside are AND'd. */
|
|
118
|
+
interface AndGroup {
|
|
119
|
+
rules: FilterRule[];
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The compound expression owned by the Rules pill.
|
|
123
|
+
*
|
|
124
|
+
* Groups are OR'd (DNF). When `groups.length === 0` no compound predicate
|
|
125
|
+
* applies and the Rules pill still renders in its default `Rules ▾` state.
|
|
126
|
+
*/
|
|
127
|
+
interface CompoundExpression {
|
|
128
|
+
groups: AndGroup[];
|
|
129
|
+
}
|
|
130
|
+
/** Client-side state shape for the v2 filter UI. */
|
|
131
|
+
interface FilterStateV2 {
|
|
132
|
+
/**
|
|
133
|
+
* Simple pills. Multiple pills for the same field remain distinct so
|
|
134
|
+
* host applications can preserve the user's filter expression.
|
|
135
|
+
*/
|
|
136
|
+
topLevelRules: TopLevelFilterRule[];
|
|
137
|
+
/** Rules pill content. Empty `groups` means no compound rules are applied. */
|
|
138
|
+
compound: CompoundExpression;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Filter-bar size variant. Drives the size of every nested PDS component
|
|
142
|
+
* (Button, Input, Combobox, IconButton, etc.) plus the hand-tuned
|
|
143
|
+
* dimensions of the Filter UI v2 styled primitives (pill heights,
|
|
144
|
+
* font sizes, icon glyph sizes). Two values supported:
|
|
145
|
+
*
|
|
146
|
+
* - `'sm'` — 12px font, 12px icons, 24px-tall inputs/pills. Designed
|
|
147
|
+
* for the compact DataTable layout.
|
|
148
|
+
* - `'md'` (default) — 14px font, 16px icons, 32px-tall inputs/pills. Designed
|
|
149
|
+
* for the standard DataTable layout.
|
|
150
|
+
*
|
|
151
|
+
* The active default is owned by `FilterBar`'s `size` prop, not this type.
|
|
152
|
+
*/
|
|
153
|
+
type FilterSize = 'sm' | 'md';
|
|
154
|
+
/** The empty state — no filters applied. */
|
|
155
|
+
declare const EMPTY_FILTER_STATE: FilterStateV2;
|
|
156
|
+
//#endregion
|
|
157
|
+
export { FilterField as a, FilterOperator as c, FilterSize as d, FilterStateV2 as f, EMPTY_FILTER_STATE as i, FilterRule as l, CompoundExpression as n, FilterFieldSource as o, TopLevelFilterRule as p, DateRangeFilterValue as r, FilterFieldType as s, AndGroup as t, FilterRuleValue as u };
|
|
158
|
+
//# sourceMappingURL=types-D58IoRx6.d.mts.map
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { a as FilterField, c as FilterOperator, u as FilterRuleValue } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import { ReactElement } from "react";
|
|
3
|
+
|
|
4
|
+
//#region components/DataTable/TableControls/FiltersV2/value-controls/types.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Shared contract for the type-aware value controls rendered inside the
|
|
7
|
+
* Filter UI v2 editing surfaces.
|
|
8
|
+
*
|
|
9
|
+
* One control per value-bearing `FilterFieldType`; boolean fields are
|
|
10
|
+
* operator-only (`is_true` / `is_false` / emptiness) and do not render a
|
|
11
|
+
* separate value control. Controls read the active operator and render
|
|
12
|
+
* nothing (or a disabled placeholder) when the operator is in the valueless
|
|
13
|
+
* set (`is_empty` / `is_not_empty`). Use `isValuelessOperator` from
|
|
14
|
+
* `../operators` to decide.
|
|
15
|
+
*/
|
|
16
|
+
interface ValueControlProps {
|
|
17
|
+
/** Field metadata from `FieldRegistry`. Drives placeholder/options. */
|
|
18
|
+
field: FilterField;
|
|
19
|
+
/**
|
|
20
|
+
* The currently selected operator for this rule. The control should be a
|
|
21
|
+
* no-op (render nothing or disable itself) when the operator is in the
|
|
22
|
+
* valueless set.
|
|
23
|
+
*/
|
|
24
|
+
operator: FilterOperator;
|
|
25
|
+
/** Current value held by the rule. */
|
|
26
|
+
value: FilterRuleValue;
|
|
27
|
+
/** Called when the user commits a new value. */
|
|
28
|
+
onChange: (value: FilterRuleValue) => void;
|
|
29
|
+
/** Optional callback for controls that commit a complete selection in one action. */
|
|
30
|
+
onCommit?: () => void;
|
|
31
|
+
/** Aria label wired to the popover's labeling. */
|
|
32
|
+
ariaLabel?: string;
|
|
33
|
+
/** Optional external trigger that opens dropdown-backed value controls directly. */
|
|
34
|
+
trigger?: ReactElement;
|
|
35
|
+
/**
|
|
36
|
+
* Host surface — forwarded from `resolveValueControl`. `popover` (default)
|
|
37
|
+
* is the simple-rule `FilterPopover` slot; `inline` is the Advanced Filter
|
|
38
|
+
* Rules `LogicRow` dropdown. Combobox-backed controls use embedded mode only
|
|
39
|
+
* on the popover surface so Rules rows get a standard combobox chrome.
|
|
40
|
+
*/
|
|
41
|
+
layout?: 'popover' | 'inline';
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { ValueControlProps as t };
|
|
45
|
+
//# sourceMappingURL=types-D7ppqnNj.d.mts.map
|
|
@@ -22,4 +22,4 @@ interface BaseActiveFilter<TFilter extends BaseFilterConfig = BaseFilterConfig>
|
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
24
|
export { BaseActiveFilter as n, BaseFilterConfig as r, AttributeColumn as t };
|
|
25
|
-
//# sourceMappingURL=types-
|
|
25
|
+
//# sourceMappingURL=types-DEh_pXgS.d.mts.map
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BaseActiveFilter, r as BaseFilterConfig, t as AttributeColumn } from "./types-
|
|
1
|
+
import { n as BaseActiveFilter, r as BaseFilterConfig, t as AttributeColumn } from "./types-DEh_pXgS.mjs";
|
|
2
2
|
export { AttributeColumn, BaseActiveFilter, BaseFilterConfig };
|
package/dist/types2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
export {
|
|
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-D58IoRx6.mjs";
|
|
2
|
+
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterSize, FilterStateV2, TopLevelFilterRule };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as _$react from "react";
|
|
2
|
+
|
|
3
|
+
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/use-rules-popover-selection.d.ts
|
|
4
|
+
interface UseRulesPopoverSelectionOptions {
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function useRulesPopoverSelection({
|
|
8
|
+
isOpen
|
|
9
|
+
}: UseRulesPopoverSelectionOptions): {
|
|
10
|
+
selectedRowKey: string | null;
|
|
11
|
+
setSelectedRowKey: _$react.Dispatch<_$react.SetStateAction<string | null>>;
|
|
12
|
+
closeSelectedRow: () => void;
|
|
13
|
+
popoverContentRef: _$react.RefObject<HTMLDivElement>;
|
|
14
|
+
handleGroupSelectionChange: (keys: Set<unknown> | "all") => void;
|
|
15
|
+
selectedKeysForGroup: (groupIndex: number) => Set<string>;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
export { useRulesPopoverSelection };
|
|
19
|
+
//# sourceMappingURL=use-rules-popover-selection.d.mts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { p as FooterAction } from "./ComboboxBase-BsPf8BZh.mjs";
|
|
2
|
+
import { KeyboardEvent } from "react";
|
|
3
|
+
|
|
4
|
+
//#region components/Combobox/useComboboxFooterAction.d.ts
|
|
5
|
+
interface UseComboboxFooterActionParams {
|
|
6
|
+
footerAction?: FooterAction;
|
|
7
|
+
isOptionsLoading?: boolean;
|
|
8
|
+
/** Number of keyboard-navigable options currently rendered. */
|
|
9
|
+
itemCount: number;
|
|
10
|
+
isMenuOpen: boolean;
|
|
11
|
+
inputValue: string;
|
|
12
|
+
/** Downshift's current option highlight (`-1` when no option is highlighted). */
|
|
13
|
+
highlightedIndex: number;
|
|
14
|
+
setHighlightedIndex: (index: number) => void;
|
|
15
|
+
/** The combobox input id, used to build the footer button's id. */
|
|
16
|
+
inputId?: string;
|
|
17
|
+
}
|
|
18
|
+
interface UseComboboxFooterActionResult {
|
|
19
|
+
isFooterHighlighted: boolean;
|
|
20
|
+
footerActionId: string;
|
|
21
|
+
showFooterAction: boolean;
|
|
22
|
+
/** Returns `true` when the event was consumed and the caller should stop. */
|
|
23
|
+
handleFooterKeyDown: (event: KeyboardEvent<HTMLInputElement>) => boolean;
|
|
24
|
+
clearFooterHighlight: () => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Shared keyboard-navigation logic for the Combobox `footerAction` button, used
|
|
28
|
+
* by both the single- and multi-select variants. The footer is a real
|
|
29
|
+
* `<button>` outside downshift's item list, so it needs a parallel highlight
|
|
30
|
+
* flag (`isFooterHighlighted`) reached by arrowing past the last option or up
|
|
31
|
+
* from the first option, rather than a downshift `highlightedIndex`. DOM focus
|
|
32
|
+
* stays on the input; the footer is never a Tab stop (mirrors the `BackRow`
|
|
33
|
+
* affordance).
|
|
34
|
+
*/
|
|
35
|
+
declare function useComboboxFooterAction({
|
|
36
|
+
footerAction,
|
|
37
|
+
isOptionsLoading,
|
|
38
|
+
itemCount,
|
|
39
|
+
isMenuOpen,
|
|
40
|
+
inputValue,
|
|
41
|
+
highlightedIndex,
|
|
42
|
+
setHighlightedIndex,
|
|
43
|
+
inputId
|
|
44
|
+
}: UseComboboxFooterActionParams): UseComboboxFooterActionResult;
|
|
45
|
+
//#endregion
|
|
46
|
+
export { useComboboxFooterAction };
|
|
47
|
+
//# sourceMappingURL=useComboboxFooterAction.d.mts.map
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { f as FilterStateV2, l as FilterRule, n as CompoundExpression } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-rqSkjchY.mjs";
|
|
3
|
+
|
|
4
|
+
//#region components/DataTable/TableControls/FiltersV2/useFilterStateV2.d.ts
|
|
5
|
+
interface UseFilterStateV2Options {
|
|
6
|
+
/** Initial state. Defaults to the empty state. */
|
|
7
|
+
initialState?: FilterStateV2;
|
|
8
|
+
/**
|
|
9
|
+
* When `false`, the Rules pill is hidden and the hook force-pins
|
|
10
|
+
* `compound.groups` to `[]`. Mutations targeting compound state become
|
|
11
|
+
* no-ops. Defaults to `true`.
|
|
12
|
+
*
|
|
13
|
+
* Each owning index view decides whether Advanced Filter Rules is in or
|
|
14
|
+
* out for its surface.
|
|
15
|
+
*/
|
|
16
|
+
advancedRulesEnabled?: boolean;
|
|
17
|
+
/** Field registry for the resource this hook is filtering. */
|
|
18
|
+
registry: FieldRegistry;
|
|
19
|
+
}
|
|
20
|
+
interface UseFilterStateV2Result {
|
|
21
|
+
/**
|
|
22
|
+
* Everything the bar renders: the committed filters plus the pills the
|
|
23
|
+
* user has picked but not yet given a value to.
|
|
24
|
+
*/
|
|
25
|
+
state: FilterStateV2;
|
|
26
|
+
/**
|
|
27
|
+
* The filters the parent owns — `state` without in-progress pills. This is
|
|
28
|
+
* what `FilterBar` reports through `onChange`, so a controlled parent that
|
|
29
|
+
* hands it straight back as `initialState` hydrates to exactly what it
|
|
30
|
+
* sent, and nothing has to distinguish that echo from a saved view.
|
|
31
|
+
*/
|
|
32
|
+
committedState: FilterStateV2;
|
|
33
|
+
/** Whether the Rules pill is visible. */
|
|
34
|
+
advancedRulesEnabled: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Replace the whole state, in-progress pills included. Useful for
|
|
37
|
+
* saved-view loading and URL hydration, where the caller means "these
|
|
38
|
+
* are the filters now" and a surviving pill would be a filter the
|
|
39
|
+
* caller didn't ask for.
|
|
40
|
+
*/
|
|
41
|
+
setState: (next: FilterStateV2) => void;
|
|
42
|
+
/**
|
|
43
|
+
* Replace the compound expression, leaving every pill alone. The
|
|
44
|
+
* `AdvancedFilterRulesPopover` edits the compound expression as a value
|
|
45
|
+
* and emits one full expression per user action, so the hook exposes no
|
|
46
|
+
* per-rule compound mutators.
|
|
47
|
+
*/
|
|
48
|
+
setCompound: (compound: CompoundExpression) => void;
|
|
49
|
+
/** Reset to the empty state — used when the user clicks "Clear all filters". */
|
|
50
|
+
reset: () => void;
|
|
51
|
+
/**
|
|
52
|
+
* Append a new top-level rule and return the freshly-generated id.
|
|
53
|
+
* The caller uses the returned id to identify the new pill (e.g. for
|
|
54
|
+
* "open the editor for the rule I just created"). Each call always
|
|
55
|
+
* creates a new rule — duplicate `fieldId`s are allowed so a user
|
|
56
|
+
* can pick the same field twice from the picker and get two pills.
|
|
57
|
+
*/
|
|
58
|
+
addTopLevelRule: (rule: Omit<FilterRule, never>) => string;
|
|
59
|
+
/**
|
|
60
|
+
* Update an existing top-level rule by `id`. No-op if no rule with
|
|
61
|
+
* that id exists (e.g. it was removed between event and dispatch).
|
|
62
|
+
*/
|
|
63
|
+
updateTopLevelRule: (id: string, rule: FilterRule) => void;
|
|
64
|
+
/** Remove the top-level rule with the given id. No-op if absent. */
|
|
65
|
+
removeTopLevelRule: (id: string) => void;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Owns `FilterStateV2` for a filter surface and exposes a small mutator API.
|
|
69
|
+
*
|
|
70
|
+
* When `advancedRulesEnabled` is false, `compound.groups` is forced to
|
|
71
|
+
* `[]`.
|
|
72
|
+
*
|
|
73
|
+
* Putting that invariant here (rather than in the components) keeps
|
|
74
|
+
* `TableControls/FiltersV2` callers from accidentally leaking compound state when
|
|
75
|
+
* the owning view has opted out.
|
|
76
|
+
*
|
|
77
|
+
* The mutator surface is deliberately small: top-level rules get
|
|
78
|
+
* upsert/remove, the compound expression gets whole-value writes. That
|
|
79
|
+
* matches how the UI emits changes — simple pills mutate one rule at a
|
|
80
|
+
* time; the rules popover always emits a full compound expression as
|
|
81
|
+
* one `onChange`.
|
|
82
|
+
*
|
|
83
|
+
* A pill the user has picked but not yet valued is held by the bar rather
|
|
84
|
+
* than committed. Which pills those are is recorded when the picker mints
|
|
85
|
+
* them rather than inferred: they are never reported, so incoming state never
|
|
86
|
+
* describes one and hydration has nothing to reconcile against them. They
|
|
87
|
+
* stay in the same row as the committed pills, so giving one a value doesn't
|
|
88
|
+
* move it.
|
|
89
|
+
*/
|
|
90
|
+
declare function useFilterStateV2(options: UseFilterStateV2Options): UseFilterStateV2Result;
|
|
91
|
+
//#endregion
|
|
92
|
+
export { UseFilterStateV2Result as n, useFilterStateV2 as r, UseFilterStateV2Options as t };
|
|
93
|
+
//# sourceMappingURL=useFilterStateV2-DCQghouq.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ErrorProps } from "./ErrorProps-
|
|
1
|
+
import { t as ErrorProps } from "./ErrorProps-CN2XjaOX.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/FormControl/useFormField.d.ts
|
|
@@ -27,4 +27,4 @@ declare const useFormField: (props: Partial<FormControlContextProps>) => {
|
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { FormControlContextProps as n, useFormField as r, FormControlContext as t };
|
|
30
|
-
//# sourceMappingURL=useFormField-
|
|
30
|
+
//# sourceMappingURL=useFormField-D8mLsiQc.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useFormGroup } from "./useFormGroup-
|
|
1
|
+
import { n as useFormGroup } from "./useFormGroup-DWVW7A9f.mjs";
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
//#region components/FormControl/useFormField.ts
|
|
4
4
|
const FormControlContext = createContext({});
|
|
@@ -22,4 +22,4 @@ const useFormField = (props) => {
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { useFormField as n, FormControlContext as t };
|
|
24
24
|
|
|
25
|
-
//# sourceMappingURL=useFormField-
|
|
25
|
+
//# sourceMappingURL=useFormField-DhYd6bNn.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormField-
|
|
1
|
+
{"version":3,"file":"useFormField-DhYd6bNn.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 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 maxLength: props.maxLength ?? field.maxLength,\n };\n};\n\nexport default useFormField;\n"],"mappings":";;;AAgBA,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,WAAW,MAAM,aAAa,MAAM;EACrC"}
|
package/dist/useFormField.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-
|
|
1
|
+
import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-D8mLsiQc.mjs";
|
|
2
2
|
export { FormControlContext, FormControlContextProps, useFormField as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormGroup-
|
|
1
|
+
{"version":3,"file":"useFormGroup-DWVW7A9f.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"}
|
package/dist/{useTableBoxDragAndDrop--QBq2FQh.d.cts → useTableBoxDragAndDrop-BMo-iaUF.d.mts}
RENAMED
|
@@ -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
|
|
69
|
+
//# sourceMappingURL=useTableBoxDragAndDrop-BMo-iaUF.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-
|
|
1
|
+
import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-BMo-iaUF.mjs";
|
|
2
2
|
export { DragDirection, ReorderConfig, useTableBoxDragAndDrop };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useToggle-
|
|
1
|
+
{"version":3,"file":"useToggle-Bo3yd14Y.mjs","names":[],"sources":["../lib/useToggle.ts"],"sourcesContent":["import { useCallback, useState } from 'react';\n\ninterface UseToggleCallbacks {\n set: (value: boolean) => void;\n toggle: () => void;\n enable: () => void;\n disable: () => void;\n}\n\n/**\n * useToggle\n *\n * Boolean state hook that provides callbacks for enabling, disabling, flipping\n * and setting state.\n */\nexport default function useToggle(initialValue = false): [boolean, UseToggleCallbacks] {\n const [value, setValue] = useState<boolean>(!!initialValue);\n const set = useCallback((newValue: boolean) => setValue(newValue), []);\n const toggle = useCallback(() => setValue(!value), [value]);\n const enable = useCallback(() => setValue(true), []);\n const disable = useCallback(() => setValue(false), []);\n return [value, { set, toggle, enable, disable }];\n}\n"],"mappings":";;;;;;;;AAeA,SAAwB,UAAU,eAAe,OAAsC;CACrF,MAAM,CAAC,OAAO,YAAY,SAAkB,CAAC,CAAC,aAAa;AAK3D,QAAO,CAAC,OAAO;EAAE,KAJL,aAAa,aAAsB,SAAS,SAAS,EAAE,EAAE,CAIjD;EAAE,QAHP,kBAAkB,SAAS,CAAC,MAAM,EAAE,CAAC,MAAM,CAG9B;EAAE,QAFf,kBAAkB,SAAS,KAAK,EAAE,EAAE,CAEf;EAAE,SADtB,kBAAkB,SAAS,MAAM,EAAE,EAAE,CACR;EAAE,CAAC"}
|
package/dist/useTruncation.d.mts
CHANGED
|
@@ -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-
|
|
9
|
+
//# sourceMappingURL=utilities-BO_95qFA.d.mts.map
|
package/dist/utilities.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RequireOneOf } from "./utilities-
|
|
1
|
+
import { t as RequireOneOf } from "./utilities-BO_95qFA.mjs";
|
|
2
2
|
export { RequireOneOf };
|
package/dist/utils/storybook.mjs
CHANGED
package/dist/utils/testing.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
1
|
import * as _$_testing_library_react0 from "@testing-library/react";
|
|
3
2
|
import { RenderOptions, screen } from "@testing-library/react";
|
|
3
|
+
import { ReactElement } from "react";
|
|
4
4
|
import * as _$_testing_library_dom_types_queries0 from "@testing-library/dom/types/queries";
|
|
5
5
|
|
|
6
6
|
//#region utils/testing.d.ts
|
package/dist/utils/testing.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import PDSProvider from "../lib/PDSProvider.mjs";
|
|
2
|
-
import { RouterProvider } from "react-aria-components";
|
|
3
2
|
import { Fragment, jsx } from "react/jsx-runtime";
|
|
4
3
|
import { render, screen } from "@testing-library/react";
|
|
4
|
+
import { RouterProvider } from "react-aria-components";
|
|
5
5
|
import { RouterProvider as RouterProvider$1, createMemoryRouter } from "react-router-dom";
|
|
6
6
|
//#region utils/testing.tsx
|
|
7
7
|
const AllTheProviders = ({ children, includeRouter = false }) => {
|