@persona/design-system 0.7.1 → 0.7.2
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 +17 -0
- package/README.md +9 -9
- package/dist/Accordion.d.mts +38 -0
- package/dist/AccordionItem.d.mts +31 -0
- package/dist/{Action-C7INft7X.d.mts → Action-Cyo6KCsS.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +3 -3
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-DtW1R9xW.d.mts → Breadcrumb-CYXkrKXl.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-B6JyoS8n.d.mts → Breadcrumbs-CP7eUYUy.d.mts} +2 -2
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-HodDf_bB.d.mts → Button-Dhiund3f.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-DrdTvzAa.d.mts → Calendar-CMeIZ0BO.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CpDwATnX.d.mts → Card-DCYB_mtR.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{Checkbox-CyWXhuby.mjs → Checkbox-AjL7ucoR.mjs} +2 -2
- package/dist/{Checkbox-CyWXhuby.mjs.map → Checkbox-AjL7ucoR.mjs.map} +1 -1
- package/dist/{Checkbox-C-hMfItK.d.mts → Checkbox-fWj7GkBl.d.mts} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-1M6EwVmq.mjs → Combobox-C2b9u955.mjs} +9 -6
- package/dist/Combobox-C2b9u955.mjs.map +1 -0
- package/dist/{Combobox-DyNllwt8.d.mts → Combobox-CC-Osr57.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-B3YqkjQp.d.mts → ComboboxBase-Evo0FRxP.d.mts} +7 -5
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-BuwVssvZ.d.mts → ComboboxMultiSelect-CvAc0FT3.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-gJC4v7ER.d.mts → ComboboxSingleSelect-CBm7x0oh.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DhHh7Roq.d.mts → CompactBar-D_2qMK4y.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ControlBar-C8kagIck.d.mts → ControlBar-B7j9sOr9.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +3 -3
- package/dist/{DateField-2aigfD4u.d.mts → DateField-BamAk9_w.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-DC_RKjdM.d.mts → DatePicker-C3xNSkPG.d.mts} +2 -2
- package/dist/{DatePicker-D9JurBBj.mjs → DatePicker-IgiUI3Wj.mjs} +3 -3
- package/dist/{DatePicker-D9JurBBj.mjs.map → DatePicker-IgiUI3Wj.mjs.map} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-ByD6IsLB.d.mts → DateRangePicker-C4QKMo2a.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +2 -2
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-Xl1BYXsY.d.mts → DropdownMenu-DL5ye-0m.d.mts} +2 -2
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-Dgu98PkH.d.mts → ErrorProps-BA0-m_Wp.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-BdtxI1N2.d.mts → FieldRegistry-bKxrF1gC.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-jYjPeD7F.d.mts → FilterBar-DhlBLWxw.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -1
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-CJfYdgZF.d.mts → FormControl-D5xyPkST.d.mts} +6 -2
- package/dist/{FormControl-BEk4F1EV.mjs → FormControl-DnfZTli_.mjs} +25 -10
- package/dist/FormControl-DnfZTli_.mjs.map +1 -0
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-ByT0avVx.mjs → FormField-74TPV8-8.mjs} +27 -17
- package/dist/FormField-74TPV8-8.mjs.map +1 -0
- package/dist/{FormField-CK8o1sMB.d.mts → FormField-BJZUj6jg.d.mts} +4 -2
- package/dist/FormField.d.mts +1 -1
- package/dist/Grid-DOyYYsvk.mjs +92 -0
- package/dist/Grid-DOyYYsvk.mjs.map +1 -0
- package/dist/Grid.d.mts +4 -1
- package/dist/{Header-ZnHGm8fs.d.mts → Header-BqEKkEp5.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-CQpPO16Q.d.mts → HelperTooltip-mOVSuEB8.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{IconButton-zu-VNp1h.d.mts → IconButton-CjPFhpVG.d.mts} +2 -2
- package/dist/IconButton-CqTPMhjV.mjs.map +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-Ce8FvSYf.d.mts → Input-CZ_6KWDN.d.mts} +3 -3
- package/dist/{Input-Bc2yWH3j.mjs → Input-C_3QwAAt.mjs} +2 -2
- package/dist/{Input-Bc2yWH3j.mjs.map → Input-C_3QwAAt.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-B1Xod4wm.d.mts → InputProps-lag6BM5h.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-CFBhILRy.mjs → ListBox-D4j4LCT3.mjs} +2 -2
- package/dist/{ListBox-CFBhILRy.mjs.map → ListBox-D4j4LCT3.mjs.map} +1 -1
- package/dist/{ListBox-D-8iwYVj.d.mts → ListBox-nYAdYVQx.d.mts} +3 -3
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +3 -2
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-CgPds2tq.d.mts → LogicRow-k4ZPtjN0.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/{Menu-CSwzFqdv.d.mts → Menu-Bu7-KBhp.d.mts} +3 -3
- package/dist/Menu.d.mts +1 -1
- package/dist/Modal-BN0K8QXi.mjs +258 -0
- package/dist/Modal-BN0K8QXi.mjs.map +1 -0
- package/dist/Modal-Dwq-QBw_.d.mts +145 -0
- package/dist/Modal.d.mts +2 -145
- package/dist/{PageHeader-DJOlcAiW.mjs → PageHeader-BTtm3hRQ.mjs} +1 -1
- package/dist/{PageHeader-DJOlcAiW.mjs.map → PageHeader-BTtm3hRQ.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/PageLayoutFrame.d.mts +28 -0
- package/dist/{PageSelector-BMz2Q4P6.d.mts → PageSelector-CeGC84N1.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-B1u203DE.mjs → Pagination-CPd4mSnw.mjs} +3 -3
- package/dist/{Pagination-B1u203DE.mjs.map → Pagination-CPd4mSnw.mjs.map} +1 -1
- package/dist/{Pagination-ne9hnVoe.d.mts → Pagination-H-CcXrCD.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{PillShell-ChTB_koa.d.mts → PillShell-BQC-k7Rl.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/ProgressIndicator-3A4Aqci6.mjs +188 -0
- package/dist/ProgressIndicator-3A4Aqci6.mjs.map +1 -0
- package/dist/ProgressIndicator-DbOLOaxJ.d.mts +66 -0
- package/dist/ProgressIndicator.d.mts +2 -66
- package/dist/{PseudoClassProps-CdRF3QNn.d.mts → PseudoClassProps-CHtBNv8B.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-Ds1pODKw.mjs → Radio-Cxt89w8s.mjs} +2 -2
- package/dist/{Radio-Ds1pODKw.mjs.map → Radio-Cxt89w8s.mjs.map} +1 -1
- package/dist/{RadioGroup-HIC9V2hO.mjs → RadioGroup-B6Cg1kdm.mjs} +2 -2
- package/dist/{RadioGroup-HIC9V2hO.mjs.map → RadioGroup-B6Cg1kdm.mjs.map} +1 -1
- package/dist/{RadioGroup-CxL6LW4q.d.mts → RadioGroup-BjrfVPZQ.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-B7TwRJbg.d.mts → RangeCalendar-CPnLaM-J.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/{RouterContext-B7N12wkK.d.mts → RouterContext-CbvHIl4K.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-Bq36EGjc.d.mts → RouterLink-v9AG9fYa.d.mts} +2 -2
- package/dist/RouterLink.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-D69WxMNq.d.mts → SearchInput-CIjwmT8R.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-OHrfJiw0.mjs → SegmentedControl-BcwfLuHA.mjs} +12 -5
- package/dist/SegmentedControl-BcwfLuHA.mjs.map +1 -0
- package/dist/{SegmentedControl-vCnGsdXo.d.mts → SegmentedControl-Crr_aHAs.d.mts} +2 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-DE7uv9C8.mjs → Select-BstCz8P1.mjs} +2 -2
- package/dist/{Select-DE7uv9C8.mjs.map → Select-BstCz8P1.mjs.map} +1 -1
- package/dist/{Select-sQb4dQwT.d.mts → Select-CJQeuCiF.d.mts} +3 -3
- package/dist/Select.d.mts +1 -1
- package/dist/SingleColumnLayout.d.mts +16 -0
- package/dist/SplitColumnLayout.d.mts +19 -0
- package/dist/{Stack-8KGPQp0u.d.mts → Stack-RVptVTVi.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/{Sticker-Bf9rhSkv.d.mts → Sticker-BVX38LKi.d.mts} +4 -4
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +1 -1
- package/dist/{Table-BefytM6w.d.mts → Table-DFiSWroB.d.mts} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-BZ34-_wV.d.mts → TableBody-Di9JYHDN.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-NP6bhtKb.mjs → TableBox-DAQ3Plqx.mjs} +3 -3
- package/dist/{TableBox-NP6bhtKb.mjs.map → TableBox-DAQ3Plqx.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-CHGw9HVj.d.mts → TableBoxCell-D6h1X5ph.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +4 -3
- package/dist/{TableBoxRow-BljsXKrL.d.mts → TableBoxRow-C6l6J4mq.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-h6HNEv9F.d.mts → TableBoxRowActions-CsLN1b1J.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-DorRxyke.d.mts → TableCell-WSDXw79Q.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-CYTpBlQN.mjs → TableControls-BxuPCUQS.mjs} +19 -11
- package/dist/TableControls-BxuPCUQS.mjs.map +1 -0
- package/dist/{TableControls-BtGFiZeD.d.mts → TableControls-cswMgBAr.d.mts} +3 -3
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-C3DYeUmB.d.mts → TableControlsContext-Cbh8wear.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-B0Fdldgw.d.mts → TableHead-CkL1fEg2.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-C_7X8QAT.d.mts → TableHeaderCell-K9Ry6YqO.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CXVVzq0e.d.mts → TableLayout-CYRGIFEl.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-Dr61XJNw.d.mts → TableRow-DMHlo1eg.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-CCtwcB3I.d.mts → TableViewConfigurationDropdown-BRbOcVNc.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{Text-DD_W_ixb.d.mts → Text-B69gp3X_.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-8TuVvmvj.mjs → TextArea-CcxltuBh.mjs} +2 -2
- package/dist/{TextArea-8TuVvmvj.mjs.map → TextArea-CcxltuBh.mjs.map} +1 -1
- package/dist/{TextArea-DOofaXJi.d.mts → TextArea-Cjsdl07-.d.mts} +2 -2
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-BPLKU9wu.d.mts → TextUnderlineTooltip-DDzKLCeX.d.mts} +2 -2
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-2nrUX591.d.mts → Toggle-B5sSdb_q.d.mts} +3 -1
- package/dist/{Toggle-Dcn2Rqgm.mjs → Toggle-DWbJOwf3.mjs} +4 -3
- package/dist/Toggle-DWbJOwf3.mjs.map +1 -0
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-Cnqf1-tx.d.mts → Tooltip-x1pFf-Mj.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-g2T5HlqX.d.mts → TruncatedText-BE8FuEQm.d.mts} +1 -1
- package/dist/WizardModal.d.mts +41 -0
- package/dist/accordionTitleTypography-BYhjSN9t.d.mts +17 -0
- package/dist/accordionTitleTypography.d.mts +2 -0
- package/dist/{codec-CoX6LfOY.d.mts → codec-BcgsGCHE.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-Bt0Lv1e3.d.mts → color-LH7zKfKo.d.mts} +2 -2
- package/dist/components/Accordion/index.d.mts +4 -0
- package/dist/components/Accordion/index.mjs +330 -0
- package/dist/components/Accordion/index.mjs.map +1 -0
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/ButtonGroup/index.mjs +1 -1
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/CardV2/index.d.mts +1 -1
- 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/DataTable/TableControls/index.d.mts +19 -19
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +3 -3
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +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 +1 -1
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/index.d.mts +2 -2
- package/dist/components/Grid/index.mjs +2 -85
- package/dist/components/ImageTile/index.mjs +1 -1
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs.map +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/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -257
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/ProgressIndicator/index.d.mts +2 -2
- package/dist/components/ProgressIndicator/index.mjs +1 -187
- 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/Stack/index.d.mts +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Table/index.d.mts +8 -8
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/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/WizardModal/index.d.mts +2 -0
- package/dist/components/WizardModal/index.mjs +106 -0
- package/dist/components/WizardModal/index.mjs.map +1 -0
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-D8bzZ-7B.d.mts → constants-BpwnTzcv.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-BDYRvl57.d.mts → createPath-Bst12Uxr.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-range-rule-value-jZAHuxZJ.d.mts → date-range-rule-value-C4ir2Y8W.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-CC1LdkE7.d.mts → date-rule-intent-gKmuxMVA.d.mts} +3 -3
- package/dist/date-rule-intent.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-BGczB5R9.d.mts → filter-size-context-BOpH6pBm.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-BZmGEbsA.d.mts → index-BXdrzR0c.d.mts} +3 -3
- package/dist/{index-DalP_w0c.d.mts → index-C2-PBfN3.d.mts} +2 -2
- package/dist/{index-BRKXhLGa.d.mts → index-c0aXmZV9.d.mts} +2 -2
- package/dist/index-dhjtMp5F.d.mts +1 -0
- package/dist/index-xmouCHX9.d.mts +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +14 -14
- package/dist/{input-DCJivcWf.d.mts → input-DVJhMlxU.d.mts} +3 -3
- package/dist/inputFields.d.mts +14 -12
- package/dist/{jsonSchema-c_EfAj8y.d.mts → jsonSchema-DmdZYC4a.d.mts} +35 -11
- package/dist/lib/PDSProvider.d.mts +2 -2
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/color.d.mts +1 -1
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/jsonSchema.d.mts +2 -2
- package/dist/lib/jsonSchema.mjs +10 -10
- package/dist/lib/jsonSchema.mjs.map +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +1 -1
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
- package/dist/lib/router/adapters/tanstack.d.mts +1 -1
- package/dist/lib/router/index.d.mts +5 -5
- package/dist/lib/semanticColor.d.mts +1 -1
- package/dist/{message-CjIHdhX1.d.mts → message-CKSLIKF0.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-x_ZENhrT.d.mts → operators-1_jTgYRX.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/{palette-qgPRWgUN.d.mts → palette-CMOEyNPH.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +1 -1
- package/dist/patterns/PageLayout/index.d.mts +4 -1
- package/dist/patterns/PageLayout/index.mjs +99 -2
- package/dist/patterns/PageLayout/index.mjs.map +1 -1
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/scrollExpandedItemIntoView.d.mts +12 -0
- package/dist/{semantic-DUctmpu_.d.mts → semantic-BXwNUd4a.d.mts} +1 -1
- package/dist/{semanticColor-IAhXS17y.d.mts → semanticColor-Cru2gSys.d.mts} +3 -3
- package/dist/{text-DjTGRUM1.d.mts → text-CxIup7HJ.d.mts} +1 -1
- package/dist/{theme-DKiszVRN.d.mts → theme-CW6qlONZ.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/tone.d.mts +3 -3
- package/dist/{types-gnF3MPfk2.d.mts → types-3iEDsymE.d.mts} +2 -2
- package/dist/{types-CuQSgl1F.d.mts → types-B-stjYNc.d.mts} +1 -1
- package/dist/{types-N8PYonjD.d.mts → types-BEjWTkZV.d.mts} +2 -2
- package/dist/{types-CcZbBH0e.d.mts → types-ChkiGhjQ.d.mts} +1 -1
- package/dist/{types-D8rWSj3z.d.mts → types-YojUycQK.d.mts} +1 -1
- package/dist/{types-RWjW1d9I.d.mts → types-g-aqbnek.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +1 -1
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/{url-state-C2gl07_y.d.mts → url-state-CHK2N2fA.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-BQYcAdKR.d.mts → useFilterStateV2-B26e5iUx.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-DsvC5dOb.mjs → useFormField-BzhMbl5P.mjs} +2 -1
- package/dist/useFormField-BzhMbl5P.mjs.map +1 -0
- package/dist/{useFormField-DDbo-ExT.d.mts → useFormField-DPFClB5h.d.mts} +4 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useLocationPathname-K2N4fw8j.d.mts → useLocationPathname-CnRd_Rzn.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-CbbH3pMK.d.mts → useTableBoxDragAndDrop-DWlG5vhl.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-D0EhDri-.d.mts → utilities-BcGuP8Fd.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils/testing.mjs.map +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-CMtfUd-R.d.mts → validation-B-Om4ANo.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-Au9JNS5z.d.mts → value-control-resolver-BiyhB8zt.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/effect.d.mts +1 -1
- package/dist/variables/semantic.d.mts +1 -1
- package/llms.txt +10 -1
- package/package.json +5 -3
- package/skills/ui-authoring/COMPONENTS.md +5 -1
- package/skills/ui-authoring/PATTERNS.md +74 -115
- package/dist/Combobox-1M6EwVmq.mjs.map +0 -1
- package/dist/FormControl-BEk4F1EV.mjs.map +0 -1
- package/dist/FormField-ByT0avVx.mjs.map +0 -1
- package/dist/SegmentedControl-OHrfJiw0.mjs.map +0 -1
- package/dist/TableControls-CYTpBlQN.mjs.map +0 -1
- package/dist/Toggle-Dcn2Rqgm.mjs.map +0 -1
- package/dist/components/Grid/index.mjs.map +0 -1
- package/dist/components/Modal/index.mjs.map +0 -1
- package/dist/components/ProgressIndicator/index.mjs.map +0 -1
- package/dist/fieldSchemaTypes-BVYSm74B.d.mts +0 -39
- package/dist/lib/fieldSchemaTypes.d.mts +0 -2
- package/dist/lib/fieldSchemaTypes.mjs +0 -41
- package/dist/lib/fieldSchemaTypes.mjs.map +0 -1
- package/dist/useFormField-DsvC5dOb.mjs.map +0 -1
- /package/dist/{index-B33elXxm.d.mts → index-BCh-G39Y2.d.mts} +0 -0
- /package/dist/{index-B_BBnMou.d.mts → index-BMBcfD_R.d.mts} +0 -0
- /package/dist/{index-BrGZHEgX.d.mts → index-BOn0AAue.d.mts} +0 -0
- /package/dist/{index-BwAfCVZH2.d.mts → index-BcsXXrHq.d.mts} +0 -0
- /package/dist/{index-C6HcjJiY.d.mts → index-BwFl_eS0.d.mts} +0 -0
- /package/dist/{index-CX869wwk.d.mts → index-C-lwXyQ6.d.mts} +0 -0
- /package/dist/{index-CjDodOH2.d.mts → index-C1o2TFfS.d.mts} +0 -0
- /package/dist/{index-CsuikFeJ.d.mts → index-C3kE54DD.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-CREkvfw9.d.mts} +0 -0
- /package/dist/{index-D13oYj4_.d.mts → index-CfCYi7PF.d.mts} +0 -0
- /package/dist/{index-D4DUvwPf.d.mts → index-DCTy4zg0.d.mts} +0 -0
- /package/dist/{index-DMRtRo7y.d.mts → index-DWIh4oP5.d.mts} +0 -0
- /package/dist/{index-DXJd7-2Z.d.mts → index-De7MV8-j.d.mts} +0 -0
- /package/dist/{index-DZlqSwCF.d.mts → index-DgJfEygr.d.mts} +0 -0
- /package/dist/{index-DeVKzGce.d.mts → index-DrK1_jKY.d.mts} +0 -0
- /package/dist/{index-Deol7ZWO.d.mts → index-Es5nKSSL.d.mts} +0 -0
- /package/dist/{index-DztUdPP_.d.mts → index-Qwqzz3XM.d.mts} +0 -0
- /package/dist/{index-Rvd9MEUQ.d.mts → index-Wc1llEvP.d.mts} +0 -0
|
@@ -1,188 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { semanticColor, semanticTokens } from "../../lib/semanticColor.mjs";
|
|
3
|
-
import { paragraphMixins } from "../../mixins/text.mjs";
|
|
4
|
-
import { withAlpha } from "../../lib/color.mjs";
|
|
5
|
-
import { focusOutline } from "../../mixins/focus.mjs";
|
|
6
|
-
import { BorderRadius, Color, Spacing } from "@persona/design-tokens";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
import { CircleCheckFillIcon, CircleFillIcon, CircleNullIcon, CircleWarningFillIcon, WarningFillIcon } from "@persona/icons";
|
|
9
|
-
//#region components/ProgressIndicator/ProgressIndicator.tsx
|
|
10
|
-
/**
|
|
11
|
-
* Completed, warning, and error steps can be navigated back to.
|
|
12
|
-
* The current step (first uncompleted or error) is also clickable so the user can
|
|
13
|
-
* return to it after navigating back to an earlier step.
|
|
14
|
-
* Active and upcoming steps (beyond the current) are not clickable.
|
|
15
|
-
*/
|
|
16
|
-
function resolveClickable(status, isActive, isDisabled, isCurrent) {
|
|
17
|
-
if (isDisabled || isActive) return false;
|
|
18
|
-
return status === "completed" || status === "warning" || status === "error" || isCurrent;
|
|
19
|
-
}
|
|
20
|
-
function resolveIcon(status, isCurrent) {
|
|
21
|
-
if (status === "completed") return CircleCheckFillIcon;
|
|
22
|
-
if (status === "warning") return WarningFillIcon;
|
|
23
|
-
if (status === "error") return CircleWarningFillIcon;
|
|
24
|
-
if (isCurrent) return CircleFillIcon;
|
|
25
|
-
return CircleNullIcon;
|
|
26
|
-
}
|
|
27
|
-
function resolveIconColor(theme, status, isActive, isDisabled) {
|
|
28
|
-
if (isDisabled) return semanticColor(theme, "FgDisabled", Color.BorderIconDisabled);
|
|
29
|
-
if (status === "completed") return semanticColor(theme, "FgSuccess", Color.BorderIconSuccess);
|
|
30
|
-
if (status === "warning") return semanticColor(theme, "FgWarning1", Color.BorderIconWarning);
|
|
31
|
-
if (status === "error") return semanticColor(theme, "FgDanger1", Color.BorderIconDanger);
|
|
32
|
-
return isActive ? semanticColor(theme, "FgAccent", Color.BorderIconActive) : semanticColor(theme, "FgSecondary", Color.BorderIconSecondary);
|
|
33
|
-
}
|
|
34
|
-
function resolveTextColor(theme, status, isActive, isDisabled) {
|
|
35
|
-
if (isDisabled) return semanticColor(theme, "FgDisabled", Color.TextDisabled);
|
|
36
|
-
if (isActive) return semanticColor(theme, "FgAccent", Color.TextActive);
|
|
37
|
-
if (status === "uncompleted") return semanticColor(theme, "FgSecondary", Color.TextSecondary);
|
|
38
|
-
return semanticColor(theme, "FgPrimary", Color.TextPrimary);
|
|
39
|
-
}
|
|
40
|
-
const StepList = styled.ol`
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: ${({ $layout }) => $layout === "horizontal" ? "row" : "column"};
|
|
43
|
-
gap: ${({ $layout }) => $layout === "horizontal" ? Spacing[2] : "0px"};
|
|
44
|
-
list-style: none;
|
|
45
|
-
margin: 0;
|
|
46
|
-
padding: 0;
|
|
47
|
-
`;
|
|
48
|
-
const StepItem = styled.li`
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
|
|
52
|
-
${({ $layout }) => $layout === "horizontal" && css`
|
|
53
|
-
width: fit-content;
|
|
54
|
-
white-space: nowrap;
|
|
55
|
-
`}
|
|
56
|
-
`;
|
|
57
|
-
const StepContent = styled.button`
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
gap: ${Spacing[2]};
|
|
61
|
-
width: 100%;
|
|
62
|
-
padding: ${Spacing[2]};
|
|
63
|
-
border-radius: ${BorderRadius.Md};
|
|
64
|
-
border: none;
|
|
65
|
-
margin: 0;
|
|
66
|
-
font: inherit;
|
|
67
|
-
color: inherit;
|
|
68
|
-
text-align: left;
|
|
69
|
-
outline: none;
|
|
70
|
-
cursor: ${({ $isClickable, $interactive }) => $interactive && $isClickable ? "pointer" : "default"};
|
|
71
|
-
|
|
72
|
-
${({ theme, $isActive, $isClickable, $interactive }) => {
|
|
73
|
-
const tokens = semanticTokens(theme);
|
|
74
|
-
if ($isActive) return css`
|
|
75
|
-
background-color: ${tokens ? withAlpha(tokens.SurfaceAccent, tokens.Opacity25) : Color.BackgroundInteractiveActive};
|
|
76
|
-
`;
|
|
77
|
-
if ($interactive && $isClickable) return css`
|
|
78
|
-
background-color: ${tokens ? "transparent" : Color.BackgroundInteractiveDefault};
|
|
79
|
-
&:hover {
|
|
80
|
-
background-color: ${semanticColor(theme, "SurfaceSecondary", Color.BackgroundInteractiveHover)};
|
|
81
|
-
}
|
|
82
|
-
`;
|
|
83
|
-
return css`
|
|
84
|
-
background-color: transparent;
|
|
85
|
-
`;
|
|
86
|
-
}}
|
|
87
|
-
|
|
88
|
-
${focusOutline}
|
|
89
|
-
|
|
90
|
-
&:focus-visible {
|
|
91
|
-
position: relative;
|
|
92
|
-
z-index: 1;
|
|
93
|
-
}
|
|
94
|
-
`;
|
|
95
|
-
const IconWrapper = styled.span`
|
|
96
|
-
display: inline-flex;
|
|
97
|
-
flex-shrink: 0;
|
|
98
|
-
width: 16px;
|
|
99
|
-
height: 16px;
|
|
100
|
-
color: ${({ $color }) => $color};
|
|
101
|
-
line-height: 0;
|
|
102
|
-
`;
|
|
103
|
-
const StepLabel = styled.span`
|
|
104
|
-
${({ $isActive }) => $isActive ? paragraphMixins.mdBold : paragraphMixins.md};
|
|
105
|
-
color: ${({ $color }) => $color};
|
|
106
|
-
`;
|
|
107
|
-
const Step = ({ step, isActive, isCurrent, layout, onStepClick }) => {
|
|
108
|
-
const { id, label, status = "uncompleted", disabled = false } = step;
|
|
109
|
-
const interactive = Boolean(onStepClick);
|
|
110
|
-
const isClickable = resolveClickable(status, isActive, disabled, isCurrent);
|
|
111
|
-
const isInteractionDisabled = disabled || !isActive && !isCurrent && status === "uncompleted";
|
|
112
|
-
const theme = useTheme();
|
|
113
|
-
const iconColor = resolveIconColor(theme, status, isActive, disabled);
|
|
114
|
-
const textColor = resolveTextColor(theme, status, isActive, disabled);
|
|
115
|
-
const Icon = resolveIcon(status, isCurrent);
|
|
116
|
-
return /* @__PURE__ */ jsx(StepItem, {
|
|
117
|
-
$layout: layout,
|
|
118
|
-
"aria-current": !interactive && isActive ? "step" : void 0,
|
|
119
|
-
"aria-disabled": !interactive && isInteractionDisabled ? true : void 0,
|
|
120
|
-
children: /* @__PURE__ */ jsxs(StepContent, {
|
|
121
|
-
...interactive && isClickable ? {
|
|
122
|
-
type: "button",
|
|
123
|
-
onClick: () => onStepClick?.(id)
|
|
124
|
-
} : { as: "div" },
|
|
125
|
-
"aria-current": interactive && isActive ? "step" : void 0,
|
|
126
|
-
"aria-disabled": interactive && isInteractionDisabled ? true : void 0,
|
|
127
|
-
$isActive: isActive,
|
|
128
|
-
$isClickable: isClickable,
|
|
129
|
-
$interactive: interactive,
|
|
130
|
-
children: [/* @__PURE__ */ jsx(IconWrapper, {
|
|
131
|
-
$color: iconColor,
|
|
132
|
-
"aria-hidden": "true",
|
|
133
|
-
children: /* @__PURE__ */ jsx(Icon, {})
|
|
134
|
-
}), /* @__PURE__ */ jsx(StepLabel, {
|
|
135
|
-
$isActive: isActive,
|
|
136
|
-
$color: textColor,
|
|
137
|
-
children: label
|
|
138
|
-
})]
|
|
139
|
-
})
|
|
140
|
-
});
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* ProgressIndicator guides users through a sequence of steps.
|
|
144
|
-
*
|
|
145
|
-
* Interaction rules:
|
|
146
|
-
* - **Completed / warning / error** steps are clickable — navigate back to review or fix.
|
|
147
|
-
* - **Warning** does not block forward progression; later uncompleted steps remain reachable.
|
|
148
|
-
* - **Error** blocks forward progression — treat it as the terminal step in the sequence.
|
|
149
|
-
* - **Active** step is not clickable — the user is already there.
|
|
150
|
-
* - **Upcoming (uncompleted)** steps are not clickable — sequential progression required.
|
|
151
|
-
*
|
|
152
|
-
* Navigation does not clear later steps. If a change on an earlier step
|
|
153
|
-
* invalidates later data, the affected steps should be flagged and require
|
|
154
|
-
* re-confirmation before submission — this logic lives in the consuming component.
|
|
155
|
-
*
|
|
156
|
-
* @example
|
|
157
|
-
* ```tsx
|
|
158
|
-
* <ProgressIndicator
|
|
159
|
-
* steps={[
|
|
160
|
-
* { id: 'identity', label: 'Identity', status: 'completed' },
|
|
161
|
-
* { id: 'address', label: 'Address', status: 'uncompleted' },
|
|
162
|
-
* { id: 'review', label: 'Review', status: 'uncompleted' },
|
|
163
|
-
* ]}
|
|
164
|
-
* activeStepId="address"
|
|
165
|
-
* onStepClick={(id) => navigate(id)}
|
|
166
|
-
* />
|
|
167
|
-
* ```
|
|
168
|
-
*/
|
|
169
|
-
const ProgressIndicator = ({ steps, activeStepId, layout = "vertical", onStepClick, "aria-label": ariaLabel = "Progress", ...rest }) => {
|
|
170
|
-
const currentStepId = steps.find(({ status = "uncompleted" }) => status === "uncompleted" || status === "error")?.id;
|
|
171
|
-
return /* @__PURE__ */ jsx(StepList, {
|
|
172
|
-
$layout: layout,
|
|
173
|
-
role: "list",
|
|
174
|
-
"aria-label": ariaLabel,
|
|
175
|
-
...rest,
|
|
176
|
-
children: steps.map((step) => /* @__PURE__ */ jsx(Step, {
|
|
177
|
-
step,
|
|
178
|
-
isActive: step.id === activeStepId,
|
|
179
|
-
isCurrent: step.id === currentStepId,
|
|
180
|
-
layout,
|
|
181
|
-
onStepClick
|
|
182
|
-
}, step.id))
|
|
183
|
-
});
|
|
184
|
-
};
|
|
185
|
-
//#endregion
|
|
1
|
+
import { t as ProgressIndicator } from "../../ProgressIndicator-3A4Aqci6.mjs";
|
|
186
2
|
export { ProgressIndicator, ProgressIndicator as default };
|
|
187
|
-
|
|
188
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Radio } from "../../Radio-
|
|
1
|
+
import { t as Radio } from "../../Radio-Cxt89w8s.mjs";
|
|
2
2
|
export { Radio, Radio as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as RadioGroupProps, t as RadioGroup } from "../../RadioGroup-
|
|
1
|
+
import { n as RadioGroupProps, t as RadioGroup } from "../../RadioGroup-BjrfVPZQ.mjs";
|
|
2
2
|
export { RadioGroup, RadioGroup as default, RadioGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RadioGroup } from "../../RadioGroup-
|
|
1
|
+
import { t as RadioGroup } from "../../RadioGroup-B6Cg1kdm.mjs";
|
|
2
2
|
export { RadioGroup, RadioGroup as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SegmentedControlProps, n as SegmentedControlItem, t as SegmentedControl } from "../../SegmentedControl-
|
|
1
|
+
import { i as SegmentedControlProps, n as SegmentedControlItem, t as SegmentedControl } from "../../SegmentedControl-Crr_aHAs.mjs";
|
|
2
2
|
export { SegmentedControl, SegmentedControl as default, SegmentedControlItem, SegmentedControlProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SegmentedControlItem, t as SegmentedControl } from "../../SegmentedControl-
|
|
1
|
+
import { n as SegmentedControlItem, t as SegmentedControl } from "../../SegmentedControl-BcwfLuHA.mjs";
|
|
2
2
|
export { SegmentedControl, SegmentedControl as default, SegmentedControlItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as SelectProps, n as Select, r as SelectHeader, t as Option } from "../../Select-
|
|
1
|
+
import { i as SelectProps, n as Select, r as SelectHeader, t as Option } from "../../Select-CJQeuCiF.mjs";
|
|
2
2
|
export { Option, Select, Select as default, SelectHeader, SelectProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Select, r as SelectHeader, t as Option } from "../../Select-
|
|
1
|
+
import { n as Select, r as SelectHeader, t as Option } from "../../Select-BstCz8P1.mjs";
|
|
2
2
|
export { Option, Select, Select as default, SelectHeader };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as StackProps, n as HStackProps, r as Stack, t as HStack } from "../../Stack-
|
|
1
|
+
import { i as StackProps, n as HStackProps, r as Stack, t as HStack } from "../../Stack-RVptVTVi.mjs";
|
|
2
2
|
export { HStack, HStackProps, Stack, Stack as default, StackProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StickerContentContainer, i as StickerContainer, n as STICKER_COLOR_CONFIG, o as StickerProps, r as Sticker, s as StyledTruncatedText, t as LabelBackgrounds } from "../../Sticker-
|
|
1
|
+
import { a as StickerContentContainer, i as StickerContainer, n as STICKER_COLOR_CONFIG, o as StickerProps, r as Sticker, s as StyledTruncatedText, t as LabelBackgrounds } from "../../Sticker-BVX38LKi.mjs";
|
|
2
2
|
export { LabelBackgrounds, STICKER_COLOR_CONFIG, Sticker, Sticker as default, StickerContainer, StickerContentContainer, StickerProps, StyledTruncatedText };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Table } from "../../Table-
|
|
2
|
-
import { t as TableHeaderCell } from "../../TableHeaderCell-
|
|
3
|
-
import { t as TableRow } from "../../TableRow-
|
|
4
|
-
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "../../TableCell-
|
|
5
|
-
import { t as TableHead } from "../../TableHead-
|
|
6
|
-
import { t as TableBody } from "../../TableBody-
|
|
7
|
-
import { t as TableTH } from "../../index-
|
|
8
|
-
import { t as TableLayout } from "../../TableLayout-
|
|
1
|
+
import { t as Table } from "../../Table-DFiSWroB.mjs";
|
|
2
|
+
import { t as TableHeaderCell } from "../../TableHeaderCell-K9Ry6YqO.mjs";
|
|
3
|
+
import { t as TableRow } from "../../TableRow-DMHlo1eg.mjs";
|
|
4
|
+
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "../../TableCell-WSDXw79Q.mjs";
|
|
5
|
+
import { t as TableHead } from "../../TableHead-CkL1fEg2.mjs";
|
|
6
|
+
import { t as TableBody } from "../../TableBody-Di9JYHDN.mjs";
|
|
7
|
+
import { t as TableTH } from "../../index-C2-PBfN3.mjs";
|
|
8
|
+
import { t as TableLayout } from "../../TableLayout-CYRGIFEl.mjs";
|
|
9
9
|
export { StickyTD, StickyTH, Table, Table as default, TableActionTD, TableBody, TableCell, TableCellProps, TableCellTitle, TableHead, TableHeaderCell, TableIconTD, TableLayout, TableRow, TableTD, TableTH, TableTR };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as DragDirection } from "../../useTableBoxDragAndDrop-
|
|
2
|
-
import { a as TableBox, o as TableBoxContext, r as InlineEditConfig, s as TableBoxProps } from "../../TableBoxCell-
|
|
1
|
+
import { t as DragDirection } from "../../useTableBoxDragAndDrop-DWlG5vhl.mjs";
|
|
2
|
+
import { a as TableBox, o as TableBoxContext, r as InlineEditConfig, s as TableBoxProps } from "../../TableBoxCell-D6h1X5ph.mjs";
|
|
3
3
|
export { DragDirection, InlineEditConfig, TableBoxContext, TableBoxProps, TableBox as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxContext, t as TableBox } from "../../TableBox-
|
|
1
|
+
import { n as TableBoxContext, t as TableBox } from "../../TableBox-DAQ3Plqx.mjs";
|
|
2
2
|
export { TableBoxContext, TableBox as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Label, c as ParagraphProps, d as TabularNumber, i as HeadingProps, l as Span, n as DisplayProps, o as LabelProps, r as Heading, s as Paragraph, t as Display, u as SpanProps } from "../../Text-
|
|
1
|
+
import { a as Label, c as ParagraphProps, d as TabularNumber, i as HeadingProps, l as Span, n as DisplayProps, o as LabelProps, r as Heading, s as Paragraph, t as Display, u as SpanProps } from "../../Text-B69gp3X_.mjs";
|
|
2
2
|
export { Display, DisplayProps, Heading, HeadingProps, Label, LabelProps, Paragraph, ParagraphProps, Span, SpanProps, TabularNumber };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextAreaWithStyle, t as TextAreaProps } from "../../TextArea-
|
|
1
|
+
import { n as TextAreaWithStyle, t as TextAreaProps } from "../../TextArea-Cjsdl07-.mjs";
|
|
2
2
|
export { TextAreaWithStyle as TextArea, TextAreaWithStyle as default, TextAreaProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextAreaWithStyle } from "../../TextArea-
|
|
1
|
+
import { t as TextAreaWithStyle } from "../../TextArea-CcxltuBh.mjs";
|
|
2
2
|
export { TextAreaWithStyle as TextArea, TextAreaWithStyle as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ToggleProps, t as Toggle } from "../../Toggle-
|
|
1
|
+
import { n as ToggleProps, t as Toggle } from "../../Toggle-B5sSdb_q.mjs";
|
|
2
2
|
export { Toggle, Toggle as default, ToggleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Toggle } from "../../Toggle-
|
|
1
|
+
import { t as Toggle } from "../../Toggle-DWbJOwf3.mjs";
|
|
2
2
|
export { Toggle, Toggle as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as TooltipWithIconProps, n as Tooltip, r as TooltipStandardProps, t as FloatingTooltip } from "../../Tooltip-
|
|
2
|
-
import { t as HelperTooltip } from "../../HelperTooltip-
|
|
3
|
-
import { n as TextWithDashedUnderline, t as TextUnderlineTooltip } from "../../TextUnderlineTooltip-
|
|
1
|
+
import { i as TooltipWithIconProps, n as Tooltip, r as TooltipStandardProps, t as FloatingTooltip } from "../../Tooltip-x1pFf-Mj.mjs";
|
|
2
|
+
import { t as HelperTooltip } from "../../HelperTooltip-mOVSuEB8.mjs";
|
|
3
|
+
import { n as TextWithDashedUnderline, t as TextUnderlineTooltip } from "../../TextUnderlineTooltip-DDzKLCeX.mjs";
|
|
4
4
|
export { FloatingTooltip, HelperTooltip, TextUnderlineTooltip, TextWithDashedUnderline, Tooltip, Tooltip as default, TooltipStandardProps, TooltipWithIconProps };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
+
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
|
+
import { t as HStack } from "../../Stack-ChsImaEY.mjs";
|
|
4
|
+
import { n as Button } from "../../IconButton-CqTPMhjV.mjs";
|
|
5
|
+
import { i as Modal_default } from "../../Modal-BN0K8QXi.mjs";
|
|
6
|
+
import { t as ProgressIndicator } from "../../ProgressIndicator-3A4Aqci6.mjs";
|
|
7
|
+
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
|
+
import { useState } from "react";
|
|
9
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
//#region components/WizardModal/WizardModal.tsx
|
|
11
|
+
const statusFromProceed = (result) => result === "valid" ? "completed" : result;
|
|
12
|
+
const VERTICAL_STEPPER_RAIL_WIDTH = "240px";
|
|
13
|
+
const BodyShell = styled.div`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
flex: 1;
|
|
17
|
+
min-height: 0;
|
|
18
|
+
height: 100%;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
`;
|
|
21
|
+
const VerticalBody = styled(HStack)`
|
|
22
|
+
flex: 1;
|
|
23
|
+
min-height: 0;
|
|
24
|
+
align-items: stretch;
|
|
25
|
+
width: 100%;
|
|
26
|
+
`;
|
|
27
|
+
const VerticalRail = styled.div`
|
|
28
|
+
flex: 0 0 ${VERTICAL_STEPPER_RAIL_WIDTH};
|
|
29
|
+
width: ${VERTICAL_STEPPER_RAIL_WIDTH};
|
|
30
|
+
padding: ${Spacing[4]};
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
border-right: 1px solid
|
|
33
|
+
${({ theme }) => semanticColor(theme, "BorderSubtle", Color.BorderDivider)};
|
|
34
|
+
`;
|
|
35
|
+
const HorizontalProgress = styled.div`
|
|
36
|
+
flex: 0 0 auto;
|
|
37
|
+
padding: ${Spacing[4]} ${Spacing[4]} 0;
|
|
38
|
+
`;
|
|
39
|
+
const StepBody = styled.div`
|
|
40
|
+
flex: 1;
|
|
41
|
+
min-width: 0;
|
|
42
|
+
min-height: 0;
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
padding: ${Spacing[5]} ${Spacing[4]};
|
|
45
|
+
`;
|
|
46
|
+
const WizardModal = ({ steps, activeStepId, onActiveStepChange, onProceed, onComplete, confirmLabel = "Confirm", layout = "vertical", children, title, open, defaultOpen, onOpenChange, size = "lg", trigger, isDismissable, isKeyboardDismissDisabled }) => {
|
|
47
|
+
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
48
|
+
const foundIndex = steps.findIndex((step) => step.id === activeStepId);
|
|
49
|
+
const activeIndex = foundIndex === -1 ? 0 : foundIndex;
|
|
50
|
+
const activeId = steps[activeIndex]?.id;
|
|
51
|
+
const previousStepId = activeIndex > 0 ? steps[activeIndex - 1]?.id : void 0;
|
|
52
|
+
const nextStepId = activeIndex < steps.length - 1 ? steps[activeIndex + 1]?.id : void 0;
|
|
53
|
+
const handlePrimary = () => {
|
|
54
|
+
if (steps.length < 2) return;
|
|
55
|
+
if ((onProceed?.() ?? "valid") === "error") return;
|
|
56
|
+
if (nextStepId) {
|
|
57
|
+
onActiveStepChange(nextStepId);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
setIsSubmitting(true);
|
|
61
|
+
return Promise.resolve().then(() => onComplete()).catch(() => void 0).finally(() => setIsSubmitting(false));
|
|
62
|
+
};
|
|
63
|
+
const progress = /* @__PURE__ */ jsx(ProgressIndicator, {
|
|
64
|
+
steps,
|
|
65
|
+
activeStepId: activeId,
|
|
66
|
+
layout,
|
|
67
|
+
onStepClick: isSubmitting ? void 0 : onActiveStepChange
|
|
68
|
+
});
|
|
69
|
+
const renderBody = (renderProps) => {
|
|
70
|
+
const stepBody = /* @__PURE__ */ jsx(StepBody, { children: typeof children === "function" ? children(renderProps) : children });
|
|
71
|
+
return /* @__PURE__ */ jsx(BodyShell, { children: layout === "horizontal" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(HorizontalProgress, { children: progress }), stepBody] }) : /* @__PURE__ */ jsxs(VerticalBody, {
|
|
72
|
+
spacing: Spacing[0],
|
|
73
|
+
children: [/* @__PURE__ */ jsx(VerticalRail, { children: progress }), stepBody]
|
|
74
|
+
}) });
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ jsx(Modal_default, {
|
|
77
|
+
title,
|
|
78
|
+
open,
|
|
79
|
+
defaultOpen,
|
|
80
|
+
onOpenChange,
|
|
81
|
+
size,
|
|
82
|
+
trigger,
|
|
83
|
+
isDismissable: isSubmitting ? false : isDismissable,
|
|
84
|
+
isKeyboardDismissDisabled: isSubmitting || isKeyboardDismissDisabled,
|
|
85
|
+
contentProps: isSubmitting ? { showCloseButton: false } : void 0,
|
|
86
|
+
noBodyPadding: true,
|
|
87
|
+
footer: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
88
|
+
width: "auto",
|
|
89
|
+
variant: "basic",
|
|
90
|
+
disabled: !previousStepId || isSubmitting,
|
|
91
|
+
onClick: () => previousStepId && onActiveStepChange(previousStepId),
|
|
92
|
+
children: "Previous"
|
|
93
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
94
|
+
width: "auto",
|
|
95
|
+
variant: "primary",
|
|
96
|
+
isPending: isSubmitting,
|
|
97
|
+
onClick: handlePrimary,
|
|
98
|
+
children: nextStepId ? "Next" : confirmLabel
|
|
99
|
+
})] }),
|
|
100
|
+
children: renderBody
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
//#endregion
|
|
104
|
+
export { WizardModal, WizardModal as default, statusFromProceed };
|
|
105
|
+
|
|
106
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Modal"],"sources":["../../../components/WizardModal/WizardModal.tsx"],"sourcesContent":["import { type ComponentProps, type ReactNode, useState } from 'react';\nimport styled from 'styled-components';\n\nimport Button from '@persona/design-system/components/Button';\nimport Modal, { type ModalRenderProps } from '@persona/design-system/components/Modal';\nimport ProgressIndicator, {\n type ProgressIndicatorStep,\n type StepStatus,\n} from '@persona/design-system/components/ProgressIndicator';\nimport { HStack } from '@persona/design-system/components/Stack';\nimport { Color, Spacing } from '@persona/design-tokens';\nimport { semanticColor } from 'design-system/lib/semanticColor';\n\ntype ModalChromeProps = Pick<\n ComponentProps<typeof Modal>,\n | 'title'\n | 'open'\n | 'defaultOpen'\n | 'onOpenChange'\n | 'size'\n | 'trigger'\n | 'isDismissable'\n | 'isKeyboardDismissDisabled'\n>;\n\nexport type WizardProceedResult = 'valid' | Extract<StepStatus, 'warning' | 'error'>;\n\nexport const statusFromProceed = (result: WizardProceedResult): StepStatus =>\n result === 'valid' ? 'completed' : result;\n\nexport type WizardModalSteps = [\n ProgressIndicatorStep,\n ProgressIndicatorStep,\n ...ProgressIndicatorStep[],\n];\n\nexport interface WizardModalProps extends ModalChromeProps {\n steps: WizardModalSteps;\n activeStepId: string;\n onActiveStepChange: (stepId: string) => void;\n onProceed?: () => WizardProceedResult;\n onComplete: () => void | Promise<void>;\n confirmLabel?: string;\n layout?: 'vertical' | 'horizontal';\n children: ReactNode | ((props: ModalRenderProps) => ReactNode);\n}\n\nconst VERTICAL_STEPPER_RAIL_WIDTH = '240px';\n\nconst BodyShell = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n`;\n\nconst VerticalBody = styled(HStack)`\n flex: 1;\n min-height: 0;\n align-items: stretch;\n width: 100%;\n`;\n\nconst VerticalRail = styled.div`\n flex: 0 0 ${VERTICAL_STEPPER_RAIL_WIDTH};\n width: ${VERTICAL_STEPPER_RAIL_WIDTH};\n padding: ${Spacing[4]};\n overflow-y: auto;\n border-right: 1px solid\n ${({ theme }) => semanticColor(theme, 'BorderSubtle', Color.BorderDivider)};\n`;\n\nconst HorizontalProgress = styled.div`\n flex: 0 0 auto;\n padding: ${Spacing[4]} ${Spacing[4]} 0;\n`;\n\nconst StepBody = styled.div`\n flex: 1;\n min-width: 0;\n min-height: 0;\n overflow-y: auto;\n padding: ${Spacing[5]} ${Spacing[4]};\n`;\n\nexport const WizardModal = ({\n steps,\n activeStepId,\n onActiveStepChange,\n onProceed,\n onComplete,\n confirmLabel = 'Confirm',\n layout = 'vertical',\n children,\n title,\n open,\n defaultOpen,\n onOpenChange,\n size = 'lg',\n trigger,\n isDismissable,\n isKeyboardDismissDisabled,\n}: WizardModalProps) => {\n const [isSubmitting, setIsSubmitting] = useState(false);\n const foundIndex = steps.findIndex((step) => step.id === activeStepId);\n const activeIndex = foundIndex === -1 ? 0 : foundIndex;\n const activeId = steps[activeIndex]?.id;\n const previousStepId = activeIndex > 0 ? steps[activeIndex - 1]?.id : undefined;\n const nextStepId = activeIndex < steps.length - 1 ? steps[activeIndex + 1]?.id : undefined;\n\n const handlePrimary = () => {\n if (steps.length < 2) {\n return;\n }\n const result = onProceed?.() ?? 'valid';\n if (result === 'error') {\n return;\n }\n if (nextStepId) {\n onActiveStepChange(nextStepId);\n return;\n }\n setIsSubmitting(true);\n return Promise.resolve()\n .then(() => onComplete())\n .catch(() => undefined)\n .finally(() => setIsSubmitting(false));\n };\n\n const progress = (\n <ProgressIndicator\n steps={steps}\n activeStepId={activeId}\n layout={layout}\n onStepClick={isSubmitting ? undefined : onActiveStepChange}\n />\n );\n\n const renderBody = (renderProps: ModalRenderProps) => {\n const stepBody = (\n <StepBody>{typeof children === 'function' ? children(renderProps) : children}</StepBody>\n );\n\n return (\n <BodyShell>\n {layout === 'horizontal' ? (\n <>\n <HorizontalProgress>{progress}</HorizontalProgress>\n {stepBody}\n </>\n ) : (\n <VerticalBody spacing={Spacing[0]}>\n <VerticalRail>{progress}</VerticalRail>\n {stepBody}\n </VerticalBody>\n )}\n </BodyShell>\n );\n };\n\n return (\n <Modal\n title={title}\n open={open}\n defaultOpen={defaultOpen}\n onOpenChange={onOpenChange}\n size={size}\n trigger={trigger}\n isDismissable={isSubmitting ? false : isDismissable}\n isKeyboardDismissDisabled={isSubmitting || isKeyboardDismissDisabled}\n contentProps={isSubmitting ? { showCloseButton: false } : undefined}\n noBodyPadding\n footer={\n <>\n <Button\n width='auto'\n variant='basic'\n disabled={!previousStepId || isSubmitting}\n onClick={() => previousStepId && onActiveStepChange(previousStepId)}\n >\n Previous\n </Button>\n <Button width='auto' variant='primary' isPending={isSubmitting} onClick={handlePrimary}>\n {nextStepId ? 'Next' : confirmLabel}\n </Button>\n </>\n }\n >\n {renderBody}\n </Modal>\n );\n};\n\nexport default WizardModal;\n"],"mappings":";;;;;;;;;;AA2BA,MAAa,qBAAqB,WAChC,WAAW,UAAU,cAAc;AAmBrC,MAAM,8BAA8B;AAEpC,MAAM,YAAY,OAAO,GAAG;;;;;;;;AAS5B,MAAM,eAAe,OAAO,OAAO;;;;;;AAOnC,MAAM,eAAe,OAAO,GAAG;cACjB,4BAA4B;WAC/B,4BAA4B;aAC1B,QAAQ,GAAG;;;OAGjB,EAAE,YAAY,cAAc,OAAO,gBAAgB,MAAM,cAAc,CAAC;;AAG/E,MAAM,qBAAqB,OAAO,GAAG;;aAExB,QAAQ,GAAG,GAAG,QAAQ,GAAG;;AAGtC,MAAM,WAAW,OAAO,GAAG;;;;;aAKd,QAAQ,GAAG,GAAG,QAAQ,GAAG;;AAGtC,MAAa,eAAe,EAC1B,OACA,cACA,oBACA,WACA,YACA,eAAe,WACf,SAAS,YACT,UACA,OACA,MACA,aACA,cACA,OAAO,MACP,SACA,eACA,gCACsB;CACtB,MAAM,CAAC,cAAc,mBAAmB,SAAS,MAAM;CACvD,MAAM,aAAa,MAAM,WAAW,SAAS,KAAK,OAAO,aAAa;CACtE,MAAM,cAAc,eAAe,KAAK,IAAI;CAC5C,MAAM,WAAW,MAAM,cAAc;CACrC,MAAM,iBAAiB,cAAc,IAAI,MAAM,cAAc,IAAI,KAAK,KAAA;CACtE,MAAM,aAAa,cAAc,MAAM,SAAS,IAAI,MAAM,cAAc,IAAI,KAAK,KAAA;CAEjF,MAAM,sBAAsB;AAC1B,MAAI,MAAM,SAAS,EACjB;AAGF,OADe,aAAa,IAAI,aACjB,QACb;AAEF,MAAI,YAAY;AACd,sBAAmB,WAAW;AAC9B;;AAEF,kBAAgB,KAAK;AACrB,SAAO,QAAQ,SAAS,CACrB,WAAW,YAAY,CAAC,CACxB,YAAY,KAAA,EAAU,CACtB,cAAc,gBAAgB,MAAM,CAAC;;CAG1C,MAAM,WACJ,oBAAC,mBAAD;EACS;EACP,cAAc;EACN;EACR,aAAa,eAAe,KAAA,IAAY;EACxC,CAAA;CAGJ,MAAM,cAAc,gBAAkC;EACpD,MAAM,WACJ,oBAAC,UAAD,EAAA,UAAW,OAAO,aAAa,aAAa,SAAS,YAAY,GAAG,UAAoB,CAAA;AAG1F,SACE,oBAAC,WAAD,EAAA,UACG,WAAW,eACV,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,oBAAD,EAAA,UAAqB,UAA8B,CAAA,EAClD,SACA,EAAA,CAAA,GAEH,qBAAC,cAAD;GAAc,SAAS,QAAQ;aAA/B,CACE,oBAAC,cAAD,EAAA,UAAe,UAAwB,CAAA,EACtC,SACY;MAEP,CAAA;;AAIhB,QACE,oBAACA,eAAD;EACS;EACD;EACO;EACC;EACR;EACG;EACT,eAAe,eAAe,QAAQ;EACtC,2BAA2B,gBAAgB;EAC3C,cAAc,eAAe,EAAE,iBAAiB,OAAO,GAAG,KAAA;EAC1D,eAAA;EACA,QACE,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,QAAD;GACE,OAAM;GACN,SAAQ;GACR,UAAU,CAAC,kBAAkB;GAC7B,eAAe,kBAAkB,mBAAmB,eAAe;aACpE;GAEQ,CAAA,EACT,oBAAC,QAAD;GAAQ,OAAM;GAAO,SAAQ;GAAU,WAAW;GAAc,SAAS;aACtE,aAAa,SAAS;GAChB,CAAA,CACR,EAAA,CAAA;YAGJ;EACK,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as FilterRule, n as CompoundExpression } from "./types-
|
|
1
|
+
import { l as FilterRule, n as CompoundExpression } from "./types-BEjWTkZV.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/compound-expression.d.ts
|
|
4
4
|
declare function addRuleToGroup(compound: CompoundExpression, groupIndex: number, rule: FilterRule): CompoundExpression;
|
package/dist/constants.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MIN_PAGE_SIZE, t as DEFAULT_PAGE_SIZE_OPTIONS } from "./constants-
|
|
1
|
+
import { n as MIN_PAGE_SIZE, t as DEFAULT_PAGE_SIZE_OPTIONS } from "./constants-BpwnTzcv.mjs";
|
|
2
2
|
export { DEFAULT_PAGE_SIZE_OPTIONS, MIN_PAGE_SIZE };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as To } from "./types-
|
|
1
|
+
import { i as To } from "./types-B-stjYNc.mjs";
|
|
2
2
|
|
|
3
3
|
//#region lib/router/createPath.d.ts
|
|
4
4
|
declare function createPath(to: To): string;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { createPath as t };
|
|
7
|
-
//# sourceMappingURL=createPath-
|
|
7
|
+
//# sourceMappingURL=createPath-Bst12Uxr.d.mts.map
|
package/dist/createPath.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createPath } from "./createPath-
|
|
1
|
+
import { t as createPath } from "./createPath-Bst12Uxr.mjs";
|
|
2
2
|
export { createPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType } from "./types-
|
|
1
|
+
import { l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType } from "./types-BEjWTkZV.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/date-range-rule-value.d.ts
|
|
4
4
|
/**
|
|
@@ -14,4 +14,4 @@ import { l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType } from
|
|
|
14
14
|
declare function resolveDateRangeRuleValue(rule: Pick<FilterRule, 'operator' | 'relativeDate' | 'value'>, fieldType?: FilterFieldType): DateRangeFilterValue | null;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { resolveDateRangeRuleValue as t };
|
|
17
|
-
//# sourceMappingURL=date-range-rule-value-
|
|
17
|
+
//# sourceMappingURL=date-range-rule-value-C4ir2Y8W.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-
|
|
1
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-C4ir2Y8W.mjs";
|
|
2
2
|
export { resolveDateRangeRuleValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DateFilterPreset } from "./types-
|
|
2
|
-
import { t as DateFilterChange } from "./DateRangePicker-
|
|
1
|
+
import { a as DateFilterPreset } from "./types-YojUycQK.mjs";
|
|
2
|
+
import { t as DateFilterChange } from "./DateRangePicker-C4QKMo2a.mjs";
|
|
3
3
|
import { DateValue } from "@internationalized/date";
|
|
4
4
|
import { RangeValue } from "@react-types/shared";
|
|
5
5
|
|
|
@@ -17,4 +17,4 @@ type DateRuleIntent = {
|
|
|
17
17
|
declare function dateRuleIntent(change: DateFilterChange, writesEnabled: boolean): DateRuleIntent;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { dateRuleIntent as t };
|
|
20
|
-
//# sourceMappingURL=date-rule-intent-
|
|
20
|
+
//# sourceMappingURL=date-rule-intent-gKmuxMVA.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as dateRuleIntent } from "./date-rule-intent-
|
|
1
|
+
import { t as dateRuleIntent } from "./date-rule-intent-gKmuxMVA.mjs";
|
|
2
2
|
export { dateRuleIntent };
|
package/dist/display.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, l as FilterRule, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, l as FilterRule, u as FilterRuleValue } from "./types-BEjWTkZV.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/display.d.ts
|
|
4
4
|
declare function valueDisplayString(value: FilterRuleValue, optionLabels?: Record<string, string>, relativeDate?: FilterRule['relativeDate']): string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-Evo0FRxP.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-bKxrF1gC.mjs";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/fieldPickerOptions.d.ts
|
|
5
5
|
declare const FIELDS_SUBMENU_LABEL = "Fields";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as FilterSize } from "./types-
|
|
1
|
+
import { f as FilterSize } from "./types-BEjWTkZV.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/filter-size-context.d.ts
|
|
@@ -49,4 +49,4 @@ declare const FILTER_SIZE_TOKENS: Record<FilterSize, FilterSizeTokens>;
|
|
|
49
49
|
declare function useFilterSizeTokens(override?: FilterSize): FilterSizeTokens;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { useFilterBarSize as a, FilterSizeTokens as i, FilterBarContext as n, useFilterSizeTokens as o, FilterBarContextValue as r, FILTER_SIZE_TOKENS as t };
|
|
52
|
-
//# sourceMappingURL=filter-size-context-
|
|
52
|
+
//# sourceMappingURL=filter-size-context-BOpH6pBm.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-
|
|
1
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-BOpH6pBm.mjs";
|
|
2
2
|
export { FILTER_SIZE_TOKENS, FilterBarContext, FilterBarContextValue, FilterSizeTokens, useFilterBarSize, useFilterSizeTokens };
|
package/dist/helpers.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CheckboxProps } from "./Checkbox-
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-fWj7GkBl.mjs";
|
|
2
2
|
import { DataTableColumnFormat, DataTableColumnImageFormat, DataTableColumnPiiFormat, DataTableColumnStringFormat, DateConfig, DatetimeConfig, RenderValueStickerFormatConfig } from "./components/DataTable/types.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-
|
|
2
|
-
import { n as LogicRowProps } from "./LogicRow-
|
|
1
|
+
import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-nYAdYVQx.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-k4ZPtjN0.mjs";
|
|
3
3
|
import * as _$react from "react";
|
|
4
4
|
import * as _$react_aria_components0 from "react-aria-components";
|
|
5
5
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -52,4 +52,4 @@ declare const ListBox: {
|
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { ListBox as t };
|
|
55
|
-
//# sourceMappingURL=index-
|
|
55
|
+
//# sourceMappingURL=index-BXdrzR0c.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as TableHeaderCell } from "./TableHeaderCell-
|
|
1
|
+
import { t as TableHeaderCell } from "./TableHeaderCell-K9Ry6YqO.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
|
|
@@ -18,4 +18,4 @@ interface TableTHProps extends ComponentPropsWithoutRef<typeof TableHeaderCell>
|
|
|
18
18
|
declare const TableTH: _$react.ForwardRefExoticComponent<TableTHProps & _$react.RefAttributes<HTMLTableCellElement>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { TableTHProps as n, TableTH as t };
|
|
21
|
-
//# sourceMappingURL=index-
|
|
21
|
+
//# sourceMappingURL=index-C2-PBfN3.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-DhlBLWxw.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/FilterBar/index.d.ts
|
|
4
4
|
type FilterBarProps = FilterBarProps$1;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { FilterBarProps as t };
|
|
7
|
-
//# sourceMappingURL=index-
|
|
7
|
+
//# sourceMappingURL=index-c0aXmZV9.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-
|
|
1
|
+
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-BqEKkEp5.mjs";
|
|
2
2
|
export { ActionsContainer, HeaderContainer, HeaderProps, Root, Title, TitleContainer, Header as default };
|
package/dist/index2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-
|
|
1
|
+
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-CIjwmT8R.mjs";
|
|
2
2
|
export { OmniSearchProps, SearchInput as default };
|
package/dist/index3.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as resolveValueControl } from "./value-control-resolver-
|
|
2
|
-
import { t as FilterBar } from "./FilterBar-
|
|
3
|
-
import { t as FilterBarProps } from "./index-
|
|
1
|
+
import { r as resolveValueControl } from "./value-control-resolver-BiyhB8zt.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-DhlBLWxw.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-c0aXmZV9.mjs";
|
|
4
4
|
export { FilterBarProps, FilterBar as default, resolveValueControl };
|