@persona/design-system 0.1.8 → 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 +12 -0
- package/README.md +20 -1
- package/dist/Attribute.d.mts +1 -1
- package/dist/{Badge-DortWowZ.mjs → Badge-DEVbRlJX.mjs} +2 -2
- package/dist/{Badge-DortWowZ.mjs.map → Badge-DEVbRlJX.mjs.map} +1 -1
- package/dist/{Breadcrumbs-CDZ_Mrcg.mjs → Breadcrumbs-W8hIhdHD.mjs} +3 -3
- package/dist/{Breadcrumbs-CDZ_Mrcg.mjs.map → Breadcrumbs-W8hIhdHD.mjs.map} +1 -1
- package/dist/{Button-9p469xA1.d.mts → Button-Vd5O4DUp.d.mts} +3 -3
- package/dist/Button.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{CardV2-C9z0Hr-c.mjs → CardV2-C0fcOUdp.mjs} +5 -5
- package/dist/{CardV2-C9z0Hr-c.mjs.map → CardV2-C0fcOUdp.mjs.map} +1 -1
- package/dist/{Checkbox-B0bjZbji.mjs → Checkbox-BcuiFvK7.mjs} +2 -2
- package/dist/{Checkbox-B0bjZbji.mjs.map → Checkbox-BcuiFvK7.mjs.map} +1 -1
- package/dist/{Combobox-BdqU5WLG.mjs → Combobox-B6JyLog8.mjs} +13 -7
- package/dist/Combobox-B6JyLog8.mjs.map +1 -0
- package/dist/{Combobox-DBWMHwUt.d.cts → Combobox-BaD0f2Du.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BsY7CYoB.d.mts → ComboboxBase-BsPf8BZh.d.mts} +8 -3
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-dNuETspL.d.mts → ComboboxMultiSelect-DhLzCWbz.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-C8KvIJ43.d.mts → ComboboxSingleSelect-P0r5rs_u.d.mts} +3 -3
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/DataTable.d.mts +9 -0
- package/dist/{DatePicker-DY1YA_Fu.mjs → DatePicker-Bw79p-Lx.mjs} +5 -5
- package/dist/{DatePicker-DY1YA_Fu.mjs.map → DatePicker-Bw79p-Lx.mjs.map} +1 -1
- package/dist/{DropdownButton-DKLjJylQ.mjs → DropdownButton-BI3IFJun.mjs} +3 -3
- package/dist/{DropdownButton-DKLjJylQ.mjs.map → DropdownButton-BI3IFJun.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-DGYexb7s.mjs → DropdownMenu-D25WBCah.mjs} +2 -2
- package/dist/{DropdownMenu-DGYexb7s.mjs.map → DropdownMenu-D25WBCah.mjs.map} +1 -1
- package/dist/{DropdownMenu-CVPanvKA.d.mts → DropdownMenu-D6nfAsi0.d.mts} +2 -2
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FormControl-B28qa7aQ.mjs → FormControl-CFU9uKF7.mjs} +2 -2
- package/dist/{FormControl-B28qa7aQ.mjs.map → FormControl-CFU9uKF7.mjs.map} +1 -1
- package/dist/{FormField-PeYYRO4s.mjs → FormField-DdmgSWq4.mjs} +14 -11
- package/dist/{FormField-PeYYRO4s.mjs.map → FormField-DdmgSWq4.mjs.map} +1 -1
- package/dist/{HoverCopyableField-ClXBg_ld.mjs → HoverCopyableField-7TWP0Y1Z.mjs} +3 -3
- package/dist/{HoverCopyableField-ClXBg_ld.mjs.map → HoverCopyableField-7TWP0Y1Z.mjs.map} +1 -1
- package/dist/{IconButton-ZcyTFjPn.d.cts → IconButton-BHCmHIx5.d.mts} +2 -2
- package/dist/{IconButton-CIWiEsS-.mjs → IconButton-P8w0JDI5.mjs} +2 -2
- package/dist/{IconButton-CIWiEsS-.mjs.map → IconButton-P8w0JDI5.mjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-BPClVzwD.d.mts → Input-DMgVyZyq.d.mts} +3 -3
- package/dist/{Input-BFI_e7aU.mjs → Input-QC6xla6I.mjs} +2 -2
- package/dist/Input-QC6xla6I.mjs.map +1 -0
- package/dist/Input.d.mts +1 -1
- package/dist/{ListBox-_fcSPynx.d.mts → ListBox-D09N1a5D.d.mts} +8 -3
- package/dist/{ListBox-BwID8jpk.mjs → ListBox-TrL3Tb7X.mjs} +13 -7
- package/dist/ListBox-TrL3Tb7X.mjs.map +1 -0
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +2 -2
- package/dist/{LogicRow-BtCKGX_j.d.mts → LogicRow-BcuiSTHN.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-CUp_9HgC.d.mts → Menu-Bv8dsrz6.d.mts} +2 -2
- package/dist/{Menu-CPYXo61N.mjs → Menu-DmeMgN-i.mjs} +2 -2
- package/dist/{Menu-CPYXo61N.mjs.map → Menu-DmeMgN-i.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-D-6W61E_.mjs → PageHeader-jSLud2JI.mjs} +5 -4
- package/dist/PageHeader-jSLud2JI.mjs.map +1 -0
- package/dist/PageHeader.d.mts +7 -2
- package/dist/{Pagination-ztqhywAP.mjs → Pagination-BeYukNCj.mjs} +4 -4
- package/dist/{Pagination-ztqhywAP.mjs.map → Pagination-BeYukNCj.mjs.map} +1 -1
- package/dist/{Pii-DrrtEz7U.mjs → Pii-QsTrz8wn.mjs} +2 -2
- package/dist/{Pii-DrrtEz7U.mjs.map → Pii-QsTrz8wn.mjs.map} +1 -1
- package/dist/{Select-2KbtKawr.d.mts → Select-Bk27TgN8.d.mts} +2 -2
- package/dist/{Select-cPEORy70.mjs → Select-C1ZoRk39.mjs} +4 -4
- package/dist/{Select-cPEORy70.mjs.map → Select-C1ZoRk39.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/{Sticker-DbqKLe33.mjs → Sticker-CyGb9dEu.mjs} +2 -2
- package/dist/{Sticker-DbqKLe33.mjs.map → Sticker-CyGb9dEu.mjs.map} +1 -1
- package/dist/Tab.d.mts +13 -4
- package/dist/{TabBar-zSA8kyE6.mjs → TabBar-Bn8PHHBZ.mjs} +15 -9
- package/dist/TabBar-Bn8PHHBZ.mjs.map +1 -0
- package/dist/TabBarIconButton.d.mts +1 -1
- package/dist/{Table-D8IcpACv.mjs → Table-BfontAeY.mjs} +7 -5
- package/dist/{Table-D8IcpACv.mjs.map → Table-BfontAeY.mjs.map} +1 -1
- package/dist/{TableBox-luasMC73.mjs → TableBox-bmrKh_ax.mjs} +86 -35
- package/dist/TableBox-bmrKh_ax.mjs.map +1 -0
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-By1xE6_Q.d.mts → TableBoxCell-CvjLYhTV.d.mts} +21 -7
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +7 -4
- package/dist/{TableBoxRow-CsRPRPQ-.d.mts → TableBoxRow-BzXECgid.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-DMYOI8Do.d.mts → TableBoxRowActions-BAiFXiCh.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableControls-DHMs7o58.mjs → TableControls-DVTtNAPo.mjs} +11 -11
- package/dist/{TableControls-DHMs7o58.mjs.map → TableControls-DVTtNAPo.mjs.map} +1 -1
- package/dist/{TableLayout-Ct0kepcA.d.cts → TableLayout-BZeP8qfg.d.mts} +7 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{Tooltip-C6AR1xT-.mjs → Tooltip-BvDbmXak.mjs} +2 -2
- package/dist/{Tooltip-C6AR1xT-.mjs.map → Tooltip-BvDbmXak.mjs.map} +1 -1
- package/dist/components/Attribute/index.mjs +3 -3
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +1 -1
- package/dist/components/CardV2/index.mjs +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/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +14 -12
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +1 -1
- package/dist/components/DatePicker/index.mjs +1 -1
- 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.mjs +1 -1
- package/dist/components/FormField/index.d.mts +2 -2
- package/dist/components/FormField/index.mjs +2 -2
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +4 -4
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.mjs +2 -2
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/ProgressBar/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 +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 +1 -1
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +1 -1
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +1 -1
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/fieldPickerOptions.d.mts +1 -1
- package/dist/{index-IlwGkCAe2.d.mts → index-BxXTpeUb2.d.mts} +4 -3
- package/dist/inputFields.d.mts +4 -4
- package/dist/layouts/LayoutLoadingShimmer/index.mjs +3 -3
- package/dist/lib/TruncatedTextWithTooltip.mjs +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/useComboboxFooterAction.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/package.json +202 -746
- 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-E90Wvqmc.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-ADPloFsd.cjs +0 -38
- package/dist/Badge-ADPloFsd.cjs.map +0 -1
- package/dist/Badge.d.cts +0 -25
- package/dist/Banner.d.cts +0 -48
- package/dist/Breadcrumb-VH-Mwo-M.d.cts +0 -44
- package/dist/Breadcrumb.d.cts +0 -2
- package/dist/Breadcrumbs-BBREROrw.d.cts +0 -26
- package/dist/Breadcrumbs-tR49JqAS.cjs +0 -295
- package/dist/Breadcrumbs-tR49JqAS.cjs.map +0 -1
- package/dist/Breadcrumbs.d.cts +0 -2
- package/dist/Button-C_3p5Xfi.d.cts +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-CJPEmUvg.d.cts +0 -52
- package/dist/Card-Csz-PxX0.cjs +0 -248
- package/dist/Card-Csz-PxX0.cjs.map +0 -1
- package/dist/Card.d.cts +0 -2
- package/dist/Card2.d.cts +0 -95
- package/dist/CardV2-DJXgFomd.cjs +0 -419
- package/dist/CardV2-DJXgFomd.cjs.map +0 -1
- package/dist/Checkbox-CmCujC1W.cjs +0 -183
- package/dist/Checkbox-CmCujC1W.cjs.map +0 -1
- package/dist/Checkbox-Cr8ifm10.d.cts +0 -46
- package/dist/Checkbox.d.cts +0 -2
- package/dist/CheckboxGroupField.d.cts +0 -24
- package/dist/Combobox-BdqU5WLG.mjs.map +0 -1
- package/dist/Combobox-C99xluaM.d.mts +0 -11
- package/dist/Combobox-COXvmxlM.cjs +0 -1877
- package/dist/Combobox-COXvmxlM.cjs.map +0 -1
- package/dist/Combobox.d.cts +0 -3
- package/dist/ComboboxBase-zZ3tE-dH.d.cts +0 -361
- package/dist/ComboboxBase.d.cts +0 -2
- package/dist/ComboboxMultiSelect-ioB4Jx7_.d.cts +0 -47
- package/dist/ComboboxMultiSelect.d.cts +0 -2
- package/dist/ComboboxSingleSelect-Fn80tdhz.d.cts +0 -35
- package/dist/ComboboxSingleSelect.d.cts +0 -2
- package/dist/CompactBar-BEAK55kh.d.cts +0 -21
- package/dist/CompactBar.d.cts +0 -2
- package/dist/ConfigFormGroup-m5YdVa9n.cjs +0 -35
- package/dist/ConfigFormGroup-m5YdVa9n.cjs.map +0 -1
- package/dist/ConfigFormGroup.d.cts +0 -7
- package/dist/ControlBar-D8CirAyZ.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-BlCgFb7g.cjs +0 -948
- package/dist/DatePicker-BlCgFb7g.cjs.map +0 -1
- package/dist/DatePicker.d.cts +0 -19
- package/dist/DateRangePicker.d.cts +0 -52
- package/dist/DropdownButton-Dl7IEzAc.cjs +0 -32
- package/dist/DropdownButton-Dl7IEzAc.cjs.map +0 -1
- package/dist/DropdownButton.d.cts +0 -26
- package/dist/DropdownMenu-DnlQqTjs.cjs +0 -74
- package/dist/DropdownMenu-DnlQqTjs.cjs.map +0 -1
- package/dist/DropdownMenu-FkiManPP.d.cts +0 -75
- package/dist/DropdownMenu.d.cts +0 -2
- package/dist/ErrorProps-Dxqb4gw_.d.cts +0 -8
- package/dist/ErrorProps.d.cts +0 -2
- package/dist/FieldRegistry-OX60T3hr.d.cts +0 -122
- package/dist/FieldRegistry.d.cts +0 -2
- package/dist/FilterBar-YzOh02f9.d.cts +0 -103
- package/dist/FilterBar.d.cts +0 -2
- package/dist/FloatingActionBar.d.cts +0 -40
- package/dist/FormControl-DFp_qcW1.d.cts +0 -60
- package/dist/FormControl-MkBXuUF6.cjs +0 -212
- package/dist/FormControl-MkBXuUF6.cjs.map +0 -1
- package/dist/FormControl.d.cts +0 -2
- package/dist/FormField-D3XhxTMg.cjs +0 -550
- package/dist/FormField-D3XhxTMg.cjs.map +0 -1
- package/dist/FormField-idNLw5PW.d.cts +0 -69
- package/dist/FormField.d.cts +0 -2
- package/dist/Header-C-WhPOin.d.cts +0 -35
- package/dist/Header.d.cts +0 -2
- package/dist/HelperTooltip-T-sTGGLD.d.cts +0 -20
- package/dist/HelperTooltip.d.cts +0 -2
- package/dist/HoverCopyableField-CRkM7o4B.cjs +0 -110
- package/dist/HoverCopyableField-CRkM7o4B.cjs.map +0 -1
- package/dist/HoverCopyableField.d.cts +0 -16
- package/dist/IconButton-BSES_-6g.d.mts +0 -24
- package/dist/IconButton-nlgjJQCS.cjs +0 -372
- package/dist/IconButton-nlgjJQCS.cjs.map +0 -1
- package/dist/IconButton.d.cts +0 -2
- package/dist/ImageTile.d.cts +0 -60
- package/dist/Input-BFI_e7aU.mjs.map +0 -1
- package/dist/Input-BM0DzWEf.d.cts +0 -65
- package/dist/Input-OJPQ07TW.cjs +0 -209
- package/dist/Input-OJPQ07TW.cjs.map +0 -1
- package/dist/Input.d.cts +0 -2
- package/dist/InputProps-CoVNpQSj.d.cts +0 -16
- package/dist/InputProps.d.cts +0 -2
- package/dist/Inserter.d.cts +0 -12
- package/dist/LayoutLoadingShimmer.d.cts +0 -20
- package/dist/Link.d.cts +0 -43
- package/dist/ListBox-BP1eaG7L.cjs +0 -448
- package/dist/ListBox-BP1eaG7L.cjs.map +0 -1
- package/dist/ListBox-BwID8jpk.mjs.map +0 -1
- package/dist/ListBox-QaeRQBSC.d.cts +0 -138
- package/dist/ListBox.d.cts +0 -2
- package/dist/ListBoxField.d.cts +0 -46
- package/dist/LoadingShimmer-Dx6ncVUV.cjs +0 -92
- package/dist/LoadingShimmer-Dx6ncVUV.cjs.map +0 -1
- package/dist/LoadingShimmer.d.cts +0 -38
- package/dist/LogicRow-C6lrFIq0.d.cts +0 -40
- package/dist/LogicRow.d.cts +0 -2
- package/dist/MaskedInput.d.cts +0 -10
- package/dist/MatchHighlight.d.cts +0 -11
- package/dist/Menu-fUnbIYr5.d.cts +0 -70
- package/dist/Menu-t2q8NrV0.cjs +0 -217
- package/dist/Menu-t2q8NrV0.cjs.map +0 -1
- package/dist/Menu.d.cts +0 -2
- package/dist/MiddleTruncatedText-CO76xIqP.cjs +0 -178
- package/dist/MiddleTruncatedText-CO76xIqP.cjs.map +0 -1
- package/dist/Modal.d.cts +0 -146
- package/dist/PageHeader-CUDnarkt.cjs +0 -77
- package/dist/PageHeader-CUDnarkt.cjs.map +0 -1
- package/dist/PageHeader-D-6W61E_.mjs.map +0 -1
- package/dist/PageHeader.d.cts +0 -35
- package/dist/PageSelector-CNnVp3Al.d.cts +0 -30
- package/dist/PageSelector.d.cts +0 -2
- package/dist/Pagination-2Yo1vRJZ.cjs +0 -236
- package/dist/Pagination-2Yo1vRJZ.cjs.map +0 -1
- package/dist/Pagination-D04tn-tf.d.cts +0 -39
- package/dist/Pagination.d.cts +0 -2
- package/dist/Pii-DHTb3ewO.cjs +0 -25
- package/dist/Pii-DHTb3ewO.cjs.map +0 -1
- package/dist/Pii.d.cts +0 -16
- package/dist/Popover-BzgMAhsX.cjs +0 -168
- package/dist/Popover-BzgMAhsX.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-BrTzy7-C.cjs +0 -154
- package/dist/Radio-BrTzy7-C.cjs.map +0 -1
- package/dist/Radio.d.cts +0 -21
- package/dist/RadioGroup-CriF2InQ.cjs +0 -57
- package/dist/RadioGroup-CriF2InQ.cjs.map +0 -1
- package/dist/RadioGroup-XYWjprsv.d.cts +0 -21
- package/dist/RadioGroup.d.cts +0 -2
- package/dist/SearchInput-CTI59-NW.d.cts +0 -46
- package/dist/SearchInput.d.cts +0 -2
- package/dist/SectionHeading-C6hjGdK-.d.cts +0 -71
- package/dist/SectionHeading.d.cts +0 -2
- package/dist/SegmentedControl-C2XZF0ys.cjs +0 -125
- package/dist/SegmentedControl-C2XZF0ys.cjs.map +0 -1
- package/dist/SegmentedControl-nHIK1ZvR.d.cts +0 -59
- package/dist/SegmentedControl.d.cts +0 -2
- package/dist/Select-BH3hXMxp.d.cts +0 -83
- package/dist/Select-BurtT6bN.cjs +0 -265
- package/dist/Select-BurtT6bN.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-B2CerL6e.cjs +0 -20
- package/dist/Spacer-B2CerL6e.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-BzVkf3cz.d.cts +0 -47
- package/dist/Stack-UeifHn3c.cjs +0 -53
- package/dist/Stack-UeifHn3c.cjs.map +0 -1
- package/dist/Stack.d.cts +0 -2
- package/dist/StatusIndicator.d.cts +0 -82
- package/dist/Sticker-CI-XxUmM.d.cts +0 -68
- package/dist/Sticker-CIoseh9f.cjs +0 -244
- package/dist/Sticker-CIoseh9f.cjs.map +0 -1
- package/dist/Sticker.d.cts +0 -2
- package/dist/SwatchPicker.d.cts +0 -18
- package/dist/Tab.d.cts +0 -26
- package/dist/TabBar-PFaDNRw0.cjs +0 -298
- package/dist/TabBar-PFaDNRw0.cjs.map +0 -1
- package/dist/TabBar-zSA8kyE6.mjs.map +0 -1
- package/dist/TabBar.d.cts +0 -33
- package/dist/TabBarIconButton.d.cts +0 -10
- package/dist/Table-DXqyNohc.d.cts +0 -13
- package/dist/Table-DxLvJYWK.cjs +0 -478
- package/dist/Table-DxLvJYWK.cjs.map +0 -1
- package/dist/Table.d.cts +0 -2
- package/dist/TableBody-CxwHmdNb.d.cts +0 -9
- package/dist/TableBody.d.cts +0 -2
- package/dist/TableBox-CiuXCXyv.cjs +0 -1370
- package/dist/TableBox-CiuXCXyv.cjs.map +0 -1
- package/dist/TableBox-luasMC73.mjs.map +0 -1
- package/dist/TableBox.d.cts +0 -3
- package/dist/TableBoxCell-DIMenSwX.d.cts +0 -259
- package/dist/TableBoxCell.d.cts +0 -2
- package/dist/TableBoxField.d.cts +0 -99
- package/dist/TableBoxRow-RNQ6wJLh.d.cts +0 -86
- package/dist/TableBoxRow.d.cts +0 -2
- package/dist/TableBoxRowActions-CYpoPhYZ.d.cts +0 -57
- package/dist/TableBoxRowActions.d.cts +0 -2
- package/dist/TableCell.d.cts +0 -2
- package/dist/TableControls-BtXK7Ils.cjs +0 -3995
- package/dist/TableControls-BtXK7Ils.cjs.map +0 -1
- package/dist/TableControls-CLNF0AJG.d.cts +0 -70
- package/dist/TableControls.d.cts +0 -2
- package/dist/TableControlsContext-DAZx6Rrj.d.cts +0 -21
- package/dist/TableControlsContext.d.cts +0 -2
- package/dist/TableHead-Ch4Ho3LW.d.cts +0 -12
- package/dist/TableHead.d.cts +0 -2
- package/dist/TableHeaderCell-Crsa2R2g.d.cts +0 -17
- package/dist/TableHeaderCell.d.cts +0 -2
- package/dist/TableLayout-nwy094C_.d.mts +0 -19
- package/dist/TableLayout.d.cts +0 -2
- package/dist/TableRow-DVTPqT4w.d.cts +0 -13
- package/dist/TableRow.d.cts +0 -2
- package/dist/TableTH.d.cts +0 -2
- package/dist/TableViewConfigurationDropdown-CaiOGyrU.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-G9QmYf0P.cjs +0 -95
- package/dist/Text-G9QmYf0P.cjs.map +0 -1
- package/dist/Text.d.cts +0 -2
- package/dist/TextArea-BNiipQDb.cjs +0 -40
- package/dist/TextArea-BNiipQDb.cjs.map +0 -1
- package/dist/TextArea-CHW9FKM4.d.cts +0 -10
- package/dist/TextArea.d.cts +0 -2
- package/dist/TextUnderlineTooltip-DMEyOu8C.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-Ce-rF8Xp.cjs +0 -174
- package/dist/Toggle-Ce-rF8Xp.cjs.map +0 -1
- package/dist/Toggle-tbIebQWC.d.cts +0 -54
- package/dist/Toggle.d.cts +0 -2
- package/dist/Tooltip--eDrrk2r.d.cts +0 -100
- package/dist/Tooltip-olP3rdUO.cjs +0 -152
- package/dist/Tooltip-olP3rdUO.cjs.map +0 -1
- package/dist/Tooltip.d.cts +0 -2
- package/dist/TruncatedText-Dit2NJI6.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 -7
- package/dist/components/Breadcrumbs/index.d.cts +0 -2
- 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 -7
- package/dist/components/CardV2/index.d.cts +0 -3
- 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 -27
- package/dist/components/DataTable/TableControls/index.d.cts +0 -16
- 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 -10
- package/dist/components/DatePicker/index.d.cts +0 -5
- 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 -19
- package/dist/components/FormField/index.d.cts +0 -6
- 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 -4
- 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 -7
- package/dist/components/PageHeader/index.d.cts +0 -2
- 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 -224
- 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-B6c8S033.d.cts +0 -6
- package/dist/constants.d.cts +0 -2
- package/dist/constants2.d.cts +0 -10
- package/dist/filter-size-context-CIw0Zi6r.d.cts +0 -52
- package/dist/filter-size-context.d.cts +0 -2
- package/dist/helpers.d.cts +0 -76
- package/dist/index-BIAn8oQh.d.cts +0 -1
- package/dist/index-BL32-cvv.d.cts +0 -1
- package/dist/index-BPSCxsMC.d.cts +0 -1
- package/dist/index-BR1oNnaF.d.cts +0 -1
- package/dist/index-BXpMZvwA.d.cts +0 -1
- package/dist/index-BhY1qu3m.d.cts +0 -1
- package/dist/index-BlwcRiXv.d.cts +0 -1
- package/dist/index-Bw8QVu_o.d.cts +0 -75
- package/dist/index-C0NRIDsj2.d.cts +0 -1
- package/dist/index-C1ihAKnV.d.cts +0 -1
- package/dist/index-C9EIpBh8.d.cts +0 -7
- package/dist/index-CDAfh8Ew.d.cts +0 -1
- package/dist/index-CFG0_wK4.d.cts +0 -1
- package/dist/index-CQ25UCod.d.cts +0 -1
- package/dist/index-Cv0jeUQf2.d.cts +0 -1
- package/dist/index-CwSIy_W-.d.cts +0 -1
- package/dist/index-D-BciAtf.d.cts +0 -1
- package/dist/index-D34XP8vp.d.cts +0 -54
- package/dist/index-D6CnpA_r.d.cts +0 -1
- package/dist/index-D9IqtUDs.d.cts +0 -1
- package/dist/index-DFKoAoY2.d.cts +0 -1
- package/dist/index-DpEKQcoR.d.cts +0 -1
- package/dist/index-_wQ5ClJU.d.cts +0 -1
- package/dist/index-dC-i2r_u.d.cts +0 -1
- package/dist/index-sQecLSpR.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 -4
- package/dist/index4.d.cts +0 -11
- package/dist/index5.d.cts +0 -1
- package/dist/input-DPB0cX2m.d.cts +0 -17
- package/dist/inputFields.d.cts +0 -83
- package/dist/intersperse-_0nQM5Rb.cjs +0 -26
- package/dist/intersperse-_0nQM5Rb.cjs.map +0 -1
- package/dist/layouts/LayoutLoadingShimmer/index.cjs +0 -139
- package/dist/layouts/LayoutLoadingShimmer/index.cjs.map +0 -1
- package/dist/layouts/LayoutLoadingShimmer/index.d.cts +0 -2
- 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-BEgtEjQC.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/operators-1qE2GpC7.d.cts +0 -43
- package/dist/operators.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-B_HHNlia.d.cts +0 -158
- package/dist/types-CCvc590y.d.cts +0 -45
- package/dist/types-CkiXVJeR.d.cts +0 -10
- package/dist/types-SYSKcZKW.d.cts +0 -25
- package/dist/types.d.cts +0 -2
- package/dist/types2.d.cts +0 -2
- package/dist/types3.d.cts +0 -2
- package/dist/types4.d.cts +0 -2
- package/dist/useFilterStateV2-DbPwX5N1.d.cts +0 -93
- package/dist/useFilterStateV2.d.cts +0 -2
- package/dist/useFormField--Q8ZdpW5.d.cts +0 -30
- package/dist/useFormField-BZlArnsI.cjs +0 -37
- package/dist/useFormField-BZlArnsI.cjs.map +0 -1
- package/dist/useFormField.d.cts +0 -2
- package/dist/useFormGroup-Bmnzgq0S.cjs +0 -26
- package/dist/useFormGroup-Bmnzgq0S.cjs.map +0 -1
- package/dist/useFormGroup.d.cts +0 -18
- package/dist/useTableBoxDragAndDrop-DnbUToce.d.cts +0 -69
- package/dist/useTableBoxDragAndDrop.d.cts +0 -2
- package/dist/useTableColumns.d.cts +0 -72
- package/dist/useToggle-DARO917w.cjs +0 -27
- package/dist/useToggle-DARO917w.cjs.map +0 -1
- package/dist/utilities-mSlaTrjB.d.cts +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/validation-CJymv6JE.d.cts +0 -51
- package/dist/validation.d.cts +0 -2
- package/dist/value-control-resolver-B9p25q3G.d.cts +0 -46
- package/dist/value-control-resolver.d.cts +0 -2
- 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/theme.cjs
DELETED
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
require("./chunk-CKQMccvm.cjs");
|
|
6
|
-
let _persona_design_tokens = require("@persona/design-tokens");
|
|
7
|
-
//#region theme.ts
|
|
8
|
-
const primary = {
|
|
9
|
-
black: _persona_design_tokens.Color.PrimaryBlack,
|
|
10
|
-
white: _persona_design_tokens.Color.PrimaryWhite,
|
|
11
|
-
brand: _persona_design_tokens.Color.PrimaryPurple,
|
|
12
|
-
brand800: _persona_design_tokens.Color.CorePurple800,
|
|
13
|
-
brand700: _persona_design_tokens.Color.CorePurple700,
|
|
14
|
-
brand600: _persona_design_tokens.Color.CorePurple600,
|
|
15
|
-
brand500: _persona_design_tokens.Color.CorePurple500,
|
|
16
|
-
brand400: _persona_design_tokens.Color.CorePurple400,
|
|
17
|
-
brand300: _persona_design_tokens.Color.CorePurple300,
|
|
18
|
-
brand200: _persona_design_tokens.Color.CorePurple200,
|
|
19
|
-
brand100: _persona_design_tokens.Color.CorePurple100
|
|
20
|
-
};
|
|
21
|
-
const lightText = {
|
|
22
|
-
primary: _persona_design_tokens.Color.TextPrimary,
|
|
23
|
-
secondary: _persona_design_tokens.Color.TextSecondary,
|
|
24
|
-
tertiary: _persona_design_tokens.Color.CoreSlate800,
|
|
25
|
-
brand: primary.brand,
|
|
26
|
-
inverse: _persona_design_tokens.Color.TextInverse,
|
|
27
|
-
disabled: _persona_design_tokens.Color.TextDisabled
|
|
28
|
-
};
|
|
29
|
-
const darkText = {
|
|
30
|
-
primary: _persona_design_tokens.Color.TextInverse,
|
|
31
|
-
secondary: _persona_design_tokens.Color.CoreSlate500,
|
|
32
|
-
tertiary: _persona_design_tokens.Color.CoreSlate800,
|
|
33
|
-
brand: primary.brand,
|
|
34
|
-
inverse: _persona_design_tokens.Color.TextPrimary,
|
|
35
|
-
disabled: _persona_design_tokens.Color.TextDisabled
|
|
36
|
-
};
|
|
37
|
-
const lightColorPalette = {
|
|
38
|
-
primary,
|
|
39
|
-
text: lightText,
|
|
40
|
-
background: {
|
|
41
|
-
primary: _persona_design_tokens.Color.BackgroundPrimary,
|
|
42
|
-
secondary: _persona_design_tokens.Color.BackgroundSecondary,
|
|
43
|
-
active: primary.brand,
|
|
44
|
-
highlight: primary.brand100,
|
|
45
|
-
disabled: _persona_design_tokens.Color.BackgroundInputDisabled
|
|
46
|
-
},
|
|
47
|
-
variants: {
|
|
48
|
-
basic: {
|
|
49
|
-
active: _persona_design_tokens.Color.BackgroundButtonDefaultActive,
|
|
50
|
-
default: _persona_design_tokens.Color.BackgroundButtonDefault,
|
|
51
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDefaultHover,
|
|
52
|
-
highlight: _persona_design_tokens.Color.CoreSlate400,
|
|
53
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate400,
|
|
54
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate700,
|
|
55
|
-
disabled: _persona_design_tokens.Color.CoreSlate100,
|
|
56
|
-
text: lightText.primary,
|
|
57
|
-
textDisabled: lightText.disabled
|
|
58
|
-
},
|
|
59
|
-
outline: {
|
|
60
|
-
active: _persona_design_tokens.Color.BackgroundButtonOutlineActive,
|
|
61
|
-
default: _persona_design_tokens.Color.BackgroundButtonOutline,
|
|
62
|
-
hover: _persona_design_tokens.Color.BackgroundButtonOutlineHover,
|
|
63
|
-
highlight: _persona_design_tokens.Color.CoreSlate400,
|
|
64
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate400,
|
|
65
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate700,
|
|
66
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonOutlineDisabled,
|
|
67
|
-
text: lightText.primary,
|
|
68
|
-
textDisabled: lightText.disabled
|
|
69
|
-
},
|
|
70
|
-
primary: {
|
|
71
|
-
active: _persona_design_tokens.Color.BackgroundButtonPrimaryActive,
|
|
72
|
-
default: _persona_design_tokens.Color.BackgroundButtonPrimary,
|
|
73
|
-
hover: _persona_design_tokens.Color.BackgroundButtonPrimaryHover,
|
|
74
|
-
highlight: primary.brand200,
|
|
75
|
-
highlightLight: primary.brand100,
|
|
76
|
-
highlightDark: primary.brand200,
|
|
77
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonPrimaryDisabled,
|
|
78
|
-
text: lightText.inverse,
|
|
79
|
-
textDisabled: lightText.inverse
|
|
80
|
-
},
|
|
81
|
-
inverse: {
|
|
82
|
-
active: primary.brand100,
|
|
83
|
-
default: primary.white,
|
|
84
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDefaultHover,
|
|
85
|
-
highlight: primary.brand200,
|
|
86
|
-
highlightLight: primary.brand100,
|
|
87
|
-
highlightDark: primary.brand700,
|
|
88
|
-
disabled: primary.white,
|
|
89
|
-
text: lightText.primary,
|
|
90
|
-
textDisabled: lightText.disabled
|
|
91
|
-
},
|
|
92
|
-
danger: {
|
|
93
|
-
active: _persona_design_tokens.Color.BackgroundButtonDangerActive,
|
|
94
|
-
default: _persona_design_tokens.Color.BackgroundButtonDanger,
|
|
95
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDangerHover,
|
|
96
|
-
highlight: _persona_design_tokens.Color.CoreRed200,
|
|
97
|
-
highlightLight: _persona_design_tokens.Color.CoreRed100,
|
|
98
|
-
highlightDark: _persona_design_tokens.Color.CoreRed200,
|
|
99
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonDangerDisabled,
|
|
100
|
-
text: lightText.inverse,
|
|
101
|
-
textDisabled: lightText.inverse
|
|
102
|
-
},
|
|
103
|
-
caution: {
|
|
104
|
-
active: _persona_design_tokens.Color.CoreYellow900,
|
|
105
|
-
default: _persona_design_tokens.Color.CoreYellow800,
|
|
106
|
-
hover: _persona_design_tokens.Color.CoreYellow700,
|
|
107
|
-
highlight: _persona_design_tokens.Color.CoreYellow200,
|
|
108
|
-
highlightLight: _persona_design_tokens.Color.CoreYellow100,
|
|
109
|
-
highlightDark: _persona_design_tokens.Color.CoreYellow200,
|
|
110
|
-
disabled: _persona_design_tokens.Color.CoreYellow100,
|
|
111
|
-
text: lightText.inverse,
|
|
112
|
-
textDisabled: lightText.inverse
|
|
113
|
-
},
|
|
114
|
-
success: {
|
|
115
|
-
active: _persona_design_tokens.Color.CoreGreen900,
|
|
116
|
-
default: _persona_design_tokens.Color.CoreGreen800,
|
|
117
|
-
hover: _persona_design_tokens.Color.CoreGreen700,
|
|
118
|
-
highlight: _persona_design_tokens.Color.CoreGreen200,
|
|
119
|
-
highlightLight: _persona_design_tokens.Color.CoreGreen100,
|
|
120
|
-
highlightDark: _persona_design_tokens.Color.CoreGreen200,
|
|
121
|
-
disabled: _persona_design_tokens.Color.CoreGreen100,
|
|
122
|
-
text: lightText.inverse,
|
|
123
|
-
textDisabled: lightText.inverse
|
|
124
|
-
},
|
|
125
|
-
text: {
|
|
126
|
-
active: _persona_design_tokens.Color.BackgroundButtonTextActive,
|
|
127
|
-
default: _persona_design_tokens.Color.BackgroundButtonText,
|
|
128
|
-
hover: _persona_design_tokens.Color.BackgroundButtonTextHover,
|
|
129
|
-
highlight: _persona_design_tokens.Color.BackgroundButtonTextHover,
|
|
130
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate900,
|
|
131
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate900,
|
|
132
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonTextDisabled,
|
|
133
|
-
text: lightText.primary,
|
|
134
|
-
textDisabled: lightText.secondary
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
border: {
|
|
138
|
-
primary: _persona_design_tokens.Color.BorderHairline,
|
|
139
|
-
secondary: _persona_design_tokens.Color.BorderDivider,
|
|
140
|
-
active: _persona_design_tokens.Color.BorderInputActive,
|
|
141
|
-
input: _persona_design_tokens.Color.BorderInputDefault,
|
|
142
|
-
inputHover: _persona_design_tokens.Color.BorderInputHover,
|
|
143
|
-
disabled: _persona_design_tokens.Color.BorderInputDisabled
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
const darkColorPalette = {
|
|
147
|
-
primary,
|
|
148
|
-
text: darkText,
|
|
149
|
-
background: {
|
|
150
|
-
primary: _persona_design_tokens.Color.CoreSlate1000,
|
|
151
|
-
secondary: _persona_design_tokens.Color.CoreSlate50,
|
|
152
|
-
active: primary.brand,
|
|
153
|
-
highlight: _persona_design_tokens.Color.PrimaryWhite,
|
|
154
|
-
disabled: _persona_design_tokens.Color.CoreSlate300
|
|
155
|
-
},
|
|
156
|
-
variants: {
|
|
157
|
-
basic: {
|
|
158
|
-
active: _persona_design_tokens.Color.BackgroundButtonDefaultActive,
|
|
159
|
-
default: _persona_design_tokens.Color.BackgroundButtonDefault,
|
|
160
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDefaultHover,
|
|
161
|
-
highlight: _persona_design_tokens.Color.CoreSlate400,
|
|
162
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate400,
|
|
163
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate900,
|
|
164
|
-
disabled: _persona_design_tokens.Color.CoreSlate100,
|
|
165
|
-
text: darkText.primary,
|
|
166
|
-
textDisabled: darkText.disabled
|
|
167
|
-
},
|
|
168
|
-
outline: {
|
|
169
|
-
active: _persona_design_tokens.Color.BackgroundButtonOutlineActive,
|
|
170
|
-
default: _persona_design_tokens.Color.BackgroundButtonOutline,
|
|
171
|
-
hover: _persona_design_tokens.Color.BackgroundButtonOutlineHover,
|
|
172
|
-
highlight: _persona_design_tokens.Color.CoreSlate400,
|
|
173
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate400,
|
|
174
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate700,
|
|
175
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonOutlineDisabled,
|
|
176
|
-
text: lightText.primary,
|
|
177
|
-
textDisabled: lightText.disabled
|
|
178
|
-
},
|
|
179
|
-
primary: {
|
|
180
|
-
active: _persona_design_tokens.Color.CoreSlate900,
|
|
181
|
-
default: _persona_design_tokens.Color.CoreSlate1000,
|
|
182
|
-
hover: _persona_design_tokens.Color.BackgroundButtonPrimaryHover,
|
|
183
|
-
highlight: primary.brand200,
|
|
184
|
-
highlightLight: primary.brand100,
|
|
185
|
-
highlightDark: primary.brand200,
|
|
186
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonPrimaryDisabled,
|
|
187
|
-
text: primary.white,
|
|
188
|
-
textDisabled: darkText.inverse
|
|
189
|
-
},
|
|
190
|
-
inverse: {
|
|
191
|
-
active: primary.brand100,
|
|
192
|
-
default: primary.white,
|
|
193
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDefaultHover,
|
|
194
|
-
highlight: primary.brand200,
|
|
195
|
-
highlightLight: primary.brand100,
|
|
196
|
-
highlightDark: primary.brand700,
|
|
197
|
-
disabled: primary.white,
|
|
198
|
-
text: darkText.inverse,
|
|
199
|
-
textDisabled: darkText.disabled
|
|
200
|
-
},
|
|
201
|
-
danger: {
|
|
202
|
-
active: _persona_design_tokens.Color.BackgroundButtonDangerActive,
|
|
203
|
-
default: _persona_design_tokens.Color.BackgroundButtonDanger,
|
|
204
|
-
hover: _persona_design_tokens.Color.BackgroundButtonDangerHover,
|
|
205
|
-
highlight: _persona_design_tokens.Color.CoreRed300,
|
|
206
|
-
highlightLight: _persona_design_tokens.Color.CoreRed100,
|
|
207
|
-
highlightDark: _persona_design_tokens.Color.CoreRed300,
|
|
208
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonDangerDisabled,
|
|
209
|
-
text: darkText.inverse,
|
|
210
|
-
textDisabled: darkText.inverse
|
|
211
|
-
},
|
|
212
|
-
caution: {
|
|
213
|
-
active: _persona_design_tokens.Color.CoreYellow900,
|
|
214
|
-
default: _persona_design_tokens.Color.CoreYellow800,
|
|
215
|
-
hover: _persona_design_tokens.Color.CoreYellow700,
|
|
216
|
-
highlight: _persona_design_tokens.Color.CoreYellow200,
|
|
217
|
-
highlightLight: _persona_design_tokens.Color.CoreYellow100,
|
|
218
|
-
highlightDark: _persona_design_tokens.Color.CoreYellow200,
|
|
219
|
-
disabled: _persona_design_tokens.Color.CoreYellow100,
|
|
220
|
-
text: darkText.inverse,
|
|
221
|
-
textDisabled: darkText.inverse
|
|
222
|
-
},
|
|
223
|
-
success: {
|
|
224
|
-
active: _persona_design_tokens.Color.CoreGreen900,
|
|
225
|
-
default: _persona_design_tokens.Color.CoreGreen800,
|
|
226
|
-
hover: _persona_design_tokens.Color.CoreGreen700,
|
|
227
|
-
highlight: _persona_design_tokens.Color.CoreGreen200,
|
|
228
|
-
highlightLight: _persona_design_tokens.Color.CoreGreen100,
|
|
229
|
-
highlightDark: _persona_design_tokens.Color.CoreGreen200,
|
|
230
|
-
disabled: _persona_design_tokens.Color.CoreGreen100,
|
|
231
|
-
text: darkText.inverse,
|
|
232
|
-
textDisabled: darkText.inverse
|
|
233
|
-
},
|
|
234
|
-
text: {
|
|
235
|
-
active: _persona_design_tokens.Color.BackgroundButtonTextActive,
|
|
236
|
-
default: _persona_design_tokens.Color.BackgroundButtonText,
|
|
237
|
-
hover: _persona_design_tokens.Color.BackgroundButtonTextHover,
|
|
238
|
-
highlight: _persona_design_tokens.Color.BackgroundButtonTextHover,
|
|
239
|
-
highlightLight: _persona_design_tokens.Color.CoreSlate900,
|
|
240
|
-
highlightDark: _persona_design_tokens.Color.CoreSlate900,
|
|
241
|
-
disabled: _persona_design_tokens.Color.BackgroundButtonTextDisabled,
|
|
242
|
-
text: darkText.primary,
|
|
243
|
-
textDisabled: darkText.secondary
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
border: {
|
|
247
|
-
primary: _persona_design_tokens.Color.CoreSlate900,
|
|
248
|
-
secondary: _persona_design_tokens.Color.BorderDivider,
|
|
249
|
-
active: _persona_design_tokens.Color.BorderInputActive,
|
|
250
|
-
input: _persona_design_tokens.Color.BorderInputDefault,
|
|
251
|
-
inputHover: _persona_design_tokens.Color.BorderInputHover,
|
|
252
|
-
disabled: _persona_design_tokens.Color.BorderInputDisabled
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
const defaultTextSettings = {
|
|
256
|
-
fontFamily: {
|
|
257
|
-
base: _persona_design_tokens.FontFamilies.Primary,
|
|
258
|
-
mono: _persona_design_tokens.FontFamilies.Monospace,
|
|
259
|
-
semiMono: _persona_design_tokens.FontFamilies.SemiMonospace
|
|
260
|
-
},
|
|
261
|
-
display: {
|
|
262
|
-
lg: _persona_design_tokens.Typography.DisplayLarge,
|
|
263
|
-
md: _persona_design_tokens.Typography.DisplayMedium,
|
|
264
|
-
sm: _persona_design_tokens.Typography.DisplaySmall
|
|
265
|
-
},
|
|
266
|
-
heading: {
|
|
267
|
-
lg: _persona_design_tokens.Typography.HeadingLarge,
|
|
268
|
-
md: _persona_design_tokens.Typography.HeadingMedium,
|
|
269
|
-
sm: _persona_design_tokens.Typography.HeadingSmall,
|
|
270
|
-
xsm: _persona_design_tokens.Typography.HeadingExtraSmall
|
|
271
|
-
},
|
|
272
|
-
paragraph: {
|
|
273
|
-
lg: _persona_design_tokens.Typography.TextLarge,
|
|
274
|
-
lgBold: _persona_design_tokens.Typography.TextLargeBold,
|
|
275
|
-
lgLight: _persona_design_tokens.Typography.TextLargeLight,
|
|
276
|
-
md: _persona_design_tokens.Typography.TextMedium,
|
|
277
|
-
mdBold: _persona_design_tokens.Typography.TextMediumBold,
|
|
278
|
-
mdLight: _persona_design_tokens.Typography.TextMediumLight,
|
|
279
|
-
mdLink: _persona_design_tokens.Typography.TextMediumLink,
|
|
280
|
-
sm: _persona_design_tokens.Typography.TextSmall,
|
|
281
|
-
smLink: _persona_design_tokens.Typography.TextSmallLink,
|
|
282
|
-
xs: _persona_design_tokens.Typography.TextExtraSmall
|
|
283
|
-
}
|
|
284
|
-
};
|
|
285
|
-
const textSettingsWithMarketingFont = {
|
|
286
|
-
...defaultTextSettings,
|
|
287
|
-
fontFamily: {
|
|
288
|
-
base: _persona_design_tokens.FontFamilies.Primary,
|
|
289
|
-
mono: _persona_design_tokens.FontFamilies.Monospace,
|
|
290
|
-
semiMono: _persona_design_tokens.FontFamilies.SemiMonospace
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
const defaultElementSettings = {
|
|
294
|
-
borderRadius: "4px",
|
|
295
|
-
height: {
|
|
296
|
-
xl: "128px",
|
|
297
|
-
lg: "56px",
|
|
298
|
-
md: "48px",
|
|
299
|
-
sm: "40px",
|
|
300
|
-
xs: "32px"
|
|
301
|
-
},
|
|
302
|
-
width: { md: "228px" }
|
|
303
|
-
};
|
|
304
|
-
const defaultButtonSettings = {
|
|
305
|
-
borderRadius: "4px",
|
|
306
|
-
height: {
|
|
307
|
-
md: "32px",
|
|
308
|
-
sm: "24px"
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
const defaultCardSettings = { borderRadius: "8px" };
|
|
312
|
-
const defaultModalSettings = {
|
|
313
|
-
borderRadius: {
|
|
314
|
-
xl: "8px",
|
|
315
|
-
lg: "4px",
|
|
316
|
-
md: "4px"
|
|
317
|
-
},
|
|
318
|
-
width: {
|
|
319
|
-
xl: "1020px",
|
|
320
|
-
lg: "720px",
|
|
321
|
-
md: "520px"
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
const defaultTheme = {
|
|
325
|
-
color: lightColorPalette,
|
|
326
|
-
text: defaultTextSettings,
|
|
327
|
-
element: defaultElementSettings,
|
|
328
|
-
button: defaultButtonSettings,
|
|
329
|
-
card: defaultCardSettings,
|
|
330
|
-
modal: defaultModalSettings
|
|
331
|
-
};
|
|
332
|
-
const darkTheme = {
|
|
333
|
-
color: darkColorPalette,
|
|
334
|
-
text: defaultTextSettings,
|
|
335
|
-
element: defaultElementSettings,
|
|
336
|
-
button: defaultButtonSettings,
|
|
337
|
-
card: defaultCardSettings,
|
|
338
|
-
modal: defaultModalSettings
|
|
339
|
-
};
|
|
340
|
-
const marketingFontTheme = {
|
|
341
|
-
color: lightColorPalette,
|
|
342
|
-
text: textSettingsWithMarketingFont,
|
|
343
|
-
element: defaultElementSettings,
|
|
344
|
-
button: defaultButtonSettings,
|
|
345
|
-
card: defaultCardSettings,
|
|
346
|
-
modal: defaultModalSettings
|
|
347
|
-
};
|
|
348
|
-
//#endregion
|
|
349
|
-
exports.darkTheme = darkTheme;
|
|
350
|
-
exports.default = defaultTheme;
|
|
351
|
-
exports.marketingFontTheme = marketingFontTheme;
|
|
352
|
-
|
|
353
|
-
//# sourceMappingURL=theme.cjs.map
|
package/dist/theme.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.cjs","names":["Color","FontFamilies","Typography"],"sources":["../theme.ts"],"sourcesContent":["import { Color, FontFamilies, type PDSTypeStyle, Typography } from '@persona/design-tokens';\n\ninterface PrimaryColors {\n black: Color;\n white: Color;\n brand: Color;\n brand800: Color;\n brand700: Color;\n brand600: Color;\n brand500: Color;\n brand400: Color;\n brand300: Color;\n brand200: Color;\n brand100: Color;\n}\n\nexport interface TextColors {\n primary: Color;\n secondary: Color;\n tertiary: Color;\n brand: Color;\n inverse: Color;\n disabled: Color;\n}\n\nexport interface BackgroundColors {\n primary: Color;\n secondary: Color;\n active: Color;\n highlight: Color;\n disabled: Color;\n}\n\nexport type Variant =\n | 'basic'\n | 'caution'\n | 'danger'\n | 'inverse'\n | 'outline'\n | 'primary'\n | 'success'\n | 'text';\n\ninterface VariantPalette {\n /**\n * Activated color. Mousedowns for buttons, hover for dropdowns, etc.\n */\n active: Color;\n /**\n * Passive color when not interacted.\n */\n default: Color;\n /**\n * Focus state, borders, etc. Generally lighter than the default color.\n */\n highlight: Color;\n /**\n * Alternative highlight color.\n */\n highlightLight: Color;\n /**\n * Alternative highlight color.\n */\n highlightDark: Color;\n\n /**\n * Disabled background\n */\n disabled: Color;\n\n text: Color;\n textDisabled: Color;\n\n hover: Color;\n}\n\ninterface ColorPalette {\n primary: PrimaryColors;\n text: TextColors;\n variants: Record<Variant, VariantPalette>;\n background: BackgroundColors;\n border: {\n primary: Color;\n secondary: Color;\n active: Color;\n input: Color;\n inputHover: Color;\n disabled: Color;\n };\n}\n\ninterface TextSettings {\n fontFamily: {\n base: string;\n mono: string;\n semiMono: string;\n };\n display: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n };\n heading: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n xsm: PDSTypeStyle;\n };\n paragraph: {\n lg: PDSTypeStyle;\n lgBold: PDSTypeStyle;\n lgLight: PDSTypeStyle;\n md: PDSTypeStyle;\n mdBold: PDSTypeStyle;\n mdLight: PDSTypeStyle;\n mdLink: PDSTypeStyle;\n sm: PDSTypeStyle;\n smLink: PDSTypeStyle;\n xs: PDSTypeStyle;\n };\n}\n\n// SHARED ELEMENT VARIABLES\n// For inputs, selects, and input-like components\ninterface ElementSettings {\n borderRadius: string;\n height: {\n xl: string;\n lg: string;\n md: string;\n sm: string;\n xs: string;\n };\n width: {\n md: string;\n };\n}\n\n// COMPONENT SPECIFIC VARIABLES\ninterface ButtonSettings {\n borderRadius: string;\n height: {\n md: string;\n sm: string;\n };\n}\n\ninterface CardSettings {\n borderRadius: string;\n}\n\ninterface ModalSettings {\n borderRadius: {\n xl: string;\n lg: string;\n md: string;\n };\n width: {\n xl: string;\n lg: string;\n md: string;\n };\n}\n\nexport interface PersonaTheme {\n color: ColorPalette;\n text: TextSettings;\n element: ElementSettings;\n card: CardSettings;\n button: ButtonSettings;\n modal: ModalSettings;\n}\n\nconst primary: PrimaryColors = {\n black: Color.PrimaryBlack,\n white: Color.PrimaryWhite,\n brand: Color.PrimaryPurple,\n brand800: Color.CorePurple800,\n brand700: Color.CorePurple700,\n brand600: Color.CorePurple600,\n brand500: Color.CorePurple500,\n brand400: Color.CorePurple400,\n brand300: Color.CorePurple300,\n brand200: Color.CorePurple200,\n brand100: Color.CorePurple100,\n};\n\n// for active state, use variant!\nconst lightText: TextColors = {\n primary: Color.TextPrimary,\n secondary: Color.TextSecondary,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextInverse,\n disabled: Color.TextDisabled,\n};\n\n// for active state, use variant!\nconst darkText: TextColors = {\n primary: Color.TextInverse,\n secondary: Color.CoreSlate500,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextPrimary,\n disabled: Color.TextDisabled,\n};\n\nconst lightColorPalette: ColorPalette = {\n primary,\n text: lightText,\n background: {\n primary: Color.BackgroundPrimary,\n secondary: Color.BackgroundSecondary,\n active: primary.brand,\n highlight: primary.brand100,\n disabled: Color.BackgroundInputDisabled,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.CoreSlate100,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.BackgroundButtonPrimaryActive,\n default: Color.BackgroundButtonPrimary,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed200,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed200,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: lightText.primary,\n textDisabled: lightText.secondary,\n },\n },\n border: {\n primary: Color.BorderHairline,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst darkColorPalette: ColorPalette = {\n primary,\n text: darkText,\n background: {\n primary: Color.CoreSlate1000,\n secondary: Color.CoreSlate50,\n active: primary.brand,\n highlight: Color.PrimaryWhite,\n disabled: Color.CoreSlate300,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate900,\n disabled: Color.CoreSlate100,\n text: darkText.primary,\n textDisabled: darkText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.CoreSlate900,\n default: Color.CoreSlate1000,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: primary.white,\n textDisabled: darkText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: darkText.inverse,\n textDisabled: darkText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed300,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed300,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: darkText.primary,\n textDisabled: darkText.secondary,\n },\n },\n border: {\n primary: Color.CoreSlate900,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst defaultTextSettings: TextSettings = {\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n display: {\n lg: Typography.DisplayLarge,\n md: Typography.DisplayMedium,\n sm: Typography.DisplaySmall,\n },\n heading: {\n lg: Typography.HeadingLarge,\n md: Typography.HeadingMedium,\n sm: Typography.HeadingSmall,\n xsm: Typography.HeadingExtraSmall,\n },\n paragraph: {\n lg: Typography.TextLarge,\n lgBold: Typography.TextLargeBold,\n lgLight: Typography.TextLargeLight,\n md: Typography.TextMedium,\n mdBold: Typography.TextMediumBold,\n mdLight: Typography.TextMediumLight,\n mdLink: Typography.TextMediumLink,\n sm: Typography.TextSmall,\n smLink: Typography.TextSmallLink,\n xs: Typography.TextExtraSmall,\n },\n};\n\nconst textSettingsWithMarketingFont: TextSettings = {\n ...defaultTextSettings,\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n};\n\nconst defaultElementSettings: ElementSettings = {\n borderRadius: '4px',\n height: {\n xl: '128px',\n lg: '56px',\n md: '48px',\n sm: '40px',\n xs: '32px',\n },\n width: {\n md: '228px',\n },\n};\n\nconst defaultButtonSettings: ButtonSettings = {\n borderRadius: '4px',\n height: {\n md: '32px',\n sm: '24px',\n },\n};\n\nconst defaultCardSettings: CardSettings = {\n borderRadius: '8px',\n};\n\nconst defaultModalSettings: ModalSettings = {\n borderRadius: {\n xl: '8px',\n lg: '4px',\n md: '4px',\n },\n width: {\n xl: '1020px',\n lg: '720px',\n md: '520px',\n },\n};\n\nconst defaultTheme: PersonaTheme = {\n color: lightColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const darkTheme: PersonaTheme = {\n color: darkColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const marketingFontTheme: PersonaTheme = {\n color: lightColorPalette,\n text: textSettingsWithMarketingFont,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport default defaultTheme;\n"],"mappings":";;;;;;;AA6KA,MAAM,UAAyB;CAC7B,OAAOA,uBAAAA,MAAM;CACb,OAAOA,uBAAAA,MAAM;CACb,OAAOA,uBAAAA,MAAM;CACb,UAAUA,uBAAAA,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,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACF;AAED,MAAM,eAA6B;CACjC,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR;AAED,MAAa,YAA0B;CACrC,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR;AAED,MAAa,qBAAmC;CAC9C,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR"}
|
package/dist/theme.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
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-Cadb1xzQ.cjs";
|
|
2
|
-
export { BackgroundColors, PersonaTheme, TextColors, Variant, darkTheme, defaultTheme as default, marketingFontTheme };
|
|
@@ -1,158 +0,0 @@
|
|
|
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-B_HHNlia.d.cts.map
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, u as FilterRuleValue } from "./types-B_HHNlia.cjs";
|
|
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-CCvc590y.d.cts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
//#region components/Pagination/types.d.ts
|
|
2
|
-
interface PaginationParams {
|
|
3
|
-
'current-page': number;
|
|
4
|
-
'total-count': number;
|
|
5
|
-
'total-pages': number;
|
|
6
|
-
'lower-bound'?: boolean;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PaginationParams as t };
|
|
10
|
-
//# sourceMappingURL=types-CkiXVJeR.d.cts.map
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region components/DataTable/TableControls/types.d.ts
|
|
2
|
-
interface AttributeColumn {
|
|
3
|
-
key: string;
|
|
4
|
-
label: string;
|
|
5
|
-
}
|
|
6
|
-
interface BaseFilterConfig {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
htmlId?: string;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
enabled?: boolean;
|
|
12
|
-
disabledReason?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
onFilterSelect?: () => void;
|
|
15
|
-
defaultVisible?: boolean;
|
|
16
|
-
group?: string;
|
|
17
|
-
}
|
|
18
|
-
interface BaseActiveFilter<TFilter extends BaseFilterConfig = BaseFilterConfig> {
|
|
19
|
-
id: number;
|
|
20
|
-
config?: TFilter;
|
|
21
|
-
isConfiguring: boolean;
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
export { BaseActiveFilter as n, BaseFilterConfig as r, AttributeColumn as t };
|
|
25
|
-
//# sourceMappingURL=types-SYSKcZKW.d.cts.map
|
package/dist/types.d.cts
DELETED
package/dist/types2.d.cts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
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-B_HHNlia.cjs";
|
|
2
|
-
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterSize, FilterStateV2, TopLevelFilterRule };
|
package/dist/types3.d.cts
DELETED
package/dist/types4.d.cts
DELETED