@persona/design-system 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumbs-CCmf8oZ4.mjs → Breadcrumbs-CrXfUK1V.mjs} +3 -3
- package/dist/{Breadcrumbs-CCmf8oZ4.mjs.map → Breadcrumbs-CrXfUK1V.mjs.map} +1 -1
- package/dist/{CardV2-Y_kRfd-R.mjs → CardV2-M3o4BELp.mjs} +5 -5
- package/dist/{CardV2-Y_kRfd-R.mjs.map → CardV2-M3o4BELp.mjs.map} +1 -1
- package/dist/{Checkbox-DBAXDIQf.mjs → Checkbox-CyWXhuby.mjs} +2 -2
- package/dist/{Checkbox-DBAXDIQf.mjs.map → Checkbox-CyWXhuby.mjs.map} +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-CNdpK8VG.mjs → Combobox-1M6EwVmq.mjs} +6 -6
- package/dist/{Combobox-CNdpK8VG.mjs.map → Combobox-1M6EwVmq.mjs.map} +1 -1
- package/dist/{Combobox-CPE-IV79.d.mts → Combobox-DyNllwt8.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-B3Es1y9g.d.mts → ComboboxBase-B3YqkjQp.d.mts} +2 -2
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-4sRA7oL0.d.mts → ComboboxMultiSelect-BuwVssvZ.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-DVPznL7L.d.mts → ComboboxSingleSelect-gJC4v7ER.d.mts} +3 -3
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{ConfigFormGroup-4lUy7CZH.mjs → ConfigFormGroup-Cz7GeTYd.mjs} +2 -2
- package/dist/{ConfigFormGroup-4lUy7CZH.mjs.map → ConfigFormGroup-Cz7GeTYd.mjs.map} +1 -1
- package/dist/{DatePicker-CSd20-CW.mjs → DatePicker-D9JurBBj.mjs} +6 -6
- package/dist/{DatePicker-CSd20-CW.mjs.map → DatePicker-D9JurBBj.mjs.map} +1 -1
- package/dist/DateRangeValueControl.d.mts +1 -1
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-gmGRrD1z.mjs → DropdownButton-BWiXLMfD.mjs} +2 -2
- package/dist/{DropdownButton-gmGRrD1z.mjs.map → DropdownButton-BWiXLMfD.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +1 -1
- package/dist/{DropdownMenu-I5WDO-q5.mjs → DropdownMenu-CuKSNxc9.mjs} +2 -2
- package/dist/{DropdownMenu-I5WDO-q5.mjs.map → DropdownMenu-CuKSNxc9.mjs.map} +1 -1
- package/dist/{DropdownMenu-eP6v6XE4.d.mts → DropdownMenu-Xl1BYXsY.d.mts} +2 -2
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FieldRegistry-BtdqMYUD.d.mts → FieldRegistry-BdtxI1N2.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-CAnqGXgE.d.mts → FilterBar-jYjPeD7F.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-CButLg9b.mjs → FormControl-BEk4F1EV.mjs} +3 -3
- package/dist/{FormControl-CButLg9b.mjs.map → FormControl-BEk4F1EV.mjs.map} +1 -1
- package/dist/{FormField-BHUeWCsa.mjs → FormField-ByT0avVx.mjs} +14 -14
- package/dist/{FormField-BHUeWCsa.mjs.map → FormField-ByT0avVx.mjs.map} +1 -1
- package/dist/{HoverCopyableField-B89NIwlE.mjs → HoverCopyableField-CN3gl0ny.mjs} +2 -2
- package/dist/{HoverCopyableField-B89NIwlE.mjs.map → HoverCopyableField-CN3gl0ny.mjs.map} +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-C-TwCer2.mjs → Input-Bc2yWH3j.mjs} +2 -2
- package/dist/{Input-C-TwCer2.mjs.map → Input-Bc2yWH3j.mjs.map} +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{ListBox-BHE4DO2l.mjs → ListBox-CFBhILRy.mjs} +6 -6
- package/dist/{ListBox-BHE4DO2l.mjs.map → ListBox-CFBhILRy.mjs.map} +1 -1
- package/dist/{ListBox-CCBWdAUR.d.mts → ListBox-D-8iwYVj.d.mts} +2 -2
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +2 -2
- package/dist/{LoadingShimmer-JyGh7M7V.mjs → LoadingShimmer-Dizk2sZu.mjs} +1 -1
- package/dist/{LoadingShimmer-JyGh7M7V.mjs.map → LoadingShimmer-Dizk2sZu.mjs.map} +1 -1
- package/dist/{LogicRow-DmI8NKrI.d.mts → LogicRow-CgPds2tq.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/{Menu-C8RxFGOG.d.mts → Menu-CSwzFqdv.d.mts} +2 -2
- package/dist/{Menu-xENvm-Oa.mjs → Menu-Cd6oxjAe.mjs} +1 -1
- package/dist/{Menu-xENvm-Oa.mjs.map → Menu-Cd6oxjAe.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{PageHeader-7GBfUjU_.mjs → PageHeader-DJOlcAiW.mjs} +2 -2
- package/dist/{PageHeader-7GBfUjU_.mjs.map → PageHeader-DJOlcAiW.mjs.map} +1 -1
- package/dist/{Pagination-BxNqU2yh.mjs → Pagination-B1u203DE.mjs} +3 -3
- package/dist/{Pagination-BxNqU2yh.mjs.map → Pagination-B1u203DE.mjs.map} +1 -1
- package/dist/{Pii-B29k0Omf.mjs → Pii-Dz4woKd8.mjs} +1 -1
- package/dist/{Pii-B29k0Omf.mjs.map → Pii-Dz4woKd8.mjs.map} +1 -1
- package/dist/{PillShell-D9iQyM-8.d.mts → PillShell-ChTB_koa.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-Dn3xmzSK.mjs → Popover-opVa9Xhc.mjs} +1 -1
- package/dist/{Popover-Dn3xmzSK.mjs.map → Popover-opVa9Xhc.mjs.map} +1 -1
- package/dist/{Radio-BRPoGITE.mjs → Radio-Ds1pODKw.mjs} +2 -2
- package/dist/{Radio-BRPoGITE.mjs.map → Radio-Ds1pODKw.mjs.map} +1 -1
- package/dist/{RadioGroup-CahrWsXi.mjs → RadioGroup-HIC9V2hO.mjs} +2 -2
- package/dist/{RadioGroup-CahrWsXi.mjs.map → RadioGroup-HIC9V2hO.mjs.map} +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SegmentedControl-DLkAC2kW.mjs → SegmentedControl-OHrfJiw0.mjs} +2 -2
- package/dist/{SegmentedControl-DLkAC2kW.mjs.map → SegmentedControl-OHrfJiw0.mjs.map} +1 -1
- package/dist/{Select-YOgn_uD0.mjs → Select-DE7uv9C8.mjs} +4 -4
- package/dist/{Select-YOgn_uD0.mjs.map → Select-DE7uv9C8.mjs.map} +1 -1
- package/dist/{Select-CpRijO_l.d.mts → Select-sQb4dQwT.d.mts} +2 -2
- package/dist/Select.d.mts +1 -1
- package/dist/{Spinner-BDa0D1ze.mjs → Spinner-DplDSBqf.mjs} +1 -1
- package/dist/{Spinner-BDa0D1ze.mjs.map → Spinner-DplDSBqf.mjs.map} +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/{TabBar-RenaeJJ6.mjs → TabBar-BepWbJHz.mjs} +1 -1
- package/dist/{TabBar-RenaeJJ6.mjs.map → TabBar-BepWbJHz.mjs.map} +1 -1
- package/dist/{Table-DaxiIS96.mjs → Table-B1gRr2XT.mjs} +2 -2
- package/dist/{Table-DaxiIS96.mjs.map → Table-B1gRr2XT.mjs.map} +1 -1
- package/dist/{TableBox-C7ZXamI7.mjs → TableBox-NP6bhtKb.mjs} +7 -7
- package/dist/{TableBox-C7ZXamI7.mjs.map → TableBox-NP6bhtKb.mjs.map} +1 -1
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-B7kjO76l.d.mts → TableBoxCell-CHGw9HVj.d.mts} +4 -4
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +3 -3
- package/dist/{TableBoxRow-oVGEFVOO.d.mts → TableBoxRow-BljsXKrL.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-DIZw2OPP.d.mts → TableBoxRowActions-h6HNEv9F.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableControls-DxAUnR9v.mjs → TableControls-CYTpBlQN.mjs} +22 -17
- package/dist/TableControls-CYTpBlQN.mjs.map +1 -0
- package/dist/{TechnicalSticker-D1PqG_yT.mjs → TechnicalSticker-_LtE-PRY.mjs} +1 -1
- package/dist/{TechnicalSticker-D1PqG_yT.mjs.map → TechnicalSticker-_LtE-PRY.mjs.map} +1 -1
- package/dist/{TextArea-wwV-s5Oa.mjs → TextArea-8TuVvmvj.mjs} +2 -2
- package/dist/{TextArea-wwV-s5Oa.mjs.map → TextArea-8TuVvmvj.mjs.map} +1 -1
- package/dist/{Toggle-iG2x_IZR.mjs → Toggle-Dcn2Rqgm.mjs} +2 -2
- package/dist/{Toggle-iG2x_IZR.mjs.map → Toggle-Dcn2Rqgm.mjs.map} +1 -1
- package/dist/components/BottomPanel/index.mjs +1 -1
- package/dist/components/Breadcrumbs/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/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +13 -13
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +7 -7
- 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 +2 -2
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +3 -3
- 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/LoadingShimmer/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 +1 -1
- 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/Popover/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +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/Spinner/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +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/TextArea/index.mjs +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{date-range-rule-value-C3wrh0jw.d.mts → date-range-rule-value-jZAHuxZJ.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-CCfFnaib.d.mts → filter-size-context-BGczB5R9.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{index-D-RD2Kfg.d.mts → index-BRKXhLGa.d.mts} +2 -2
- package/dist/{index-Nip77QqW.d.mts → index-BZmGEbsA.d.mts} +3 -3
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +13 -13
- package/dist/inputFields.d.mts +3 -3
- package/dist/{intersperse-DQAyfeEw.mjs → intersperse-Bxcrxj2Q.mjs} +1 -1
- package/dist/{intersperse-DQAyfeEw.mjs.map → intersperse-Bxcrxj2Q.mjs.map} +1 -1
- package/dist/{operators-C4yL6qbl.d.mts → operators-x_ZENhrT.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/{types-I9z-0m7q.d.mts → types-N8PYonjD.d.mts} +2 -2
- package/dist/{types-B8aAvU2a2.d.mts → types-gnF3MPfk2.d.mts} +2 -2
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/{url-state-BOkOTKNZ.d.mts → url-state-C2gl07_y.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-CjXG2vjy.d.mts → useFilterStateV2-BQYcAdKR.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-C61u9KvG.mjs → useFormField-DsvC5dOb.mjs} +2 -2
- package/dist/{useFormField-C61u9KvG.mjs.map → useFormField-DsvC5dOb.mjs.map} +1 -1
- package/dist/{useFormGroup-C89-oI4w.mjs → useFormGroup-CH3kiXoa.mjs} +1 -1
- package/dist/{useFormGroup-C89-oI4w.mjs.map → useFormGroup-CH3kiXoa.mjs.map} +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-C07D6XjI.d.mts → validation-CMtfUd-R.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-zYNPNlRW.d.mts → value-control-resolver-Au9JNS5z.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/package.json +1 -1
- package/dist/TableControls-DxAUnR9v.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-
|
|
1
|
+
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-B3YqkjQp.mjs";
|
|
2
2
|
import { a as TableCellProps, i as TableCell } from "./TableCell-DorRxyke.mjs";
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-BljsXKrL.mjs";
|
|
4
4
|
import { n as ReorderConfig, t as DragDirection } from "./useTableBoxDragAndDrop-CbbH3pMK.mjs";
|
|
5
|
-
import { t as RowAction } from "./TableBoxRowActions-
|
|
5
|
+
import { t as RowAction } from "./TableBoxRowActions-h6HNEv9F.mjs";
|
|
6
6
|
import * as _$react from "react";
|
|
7
7
|
import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
|
|
8
8
|
import * as _$styled_components0 from "styled-components";
|
|
@@ -273,4 +273,4 @@ declare const TableBoxCell: ({
|
|
|
273
273
|
}: TableBoxCellProps) => _$react_jsx_runtime0.JSX.Element;
|
|
274
274
|
//#endregion
|
|
275
275
|
export { TableBox as a, PinnedActionsCell as i, TableBoxCellProps as n, TableBoxContext as o, InlineEditConfig as r, TableBoxProps as s, TableBoxCell as t };
|
|
276
|
-
//# sourceMappingURL=TableBoxCell-
|
|
276
|
+
//# sourceMappingURL=TableBoxCell-CHGw9HVj.d.mts.map
|
package/dist/TableBoxCell.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-
|
|
1
|
+
import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-CHGw9HVj.mjs";
|
|
2
2
|
export { TableBoxCellProps, TableBoxCell as default };
|
package/dist/TableBoxField.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-CSwzFqdv.mjs";
|
|
2
2
|
import { ImplementsFormField } from "./inputFields.mjs";
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-
|
|
4
|
-
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-BljsXKrL.mjs";
|
|
4
|
+
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-CHGw9HVj.mjs";
|
|
5
5
|
import { MouseEvent, ReactNode } from "react";
|
|
6
6
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-CSwzFqdv.mjs";
|
|
2
2
|
import { t as TableRow } from "./TableRow-Dr61XJNw.mjs";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -83,4 +83,4 @@ declare const TableBoxRowOverlay: ({
|
|
|
83
83
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
84
84
|
//#endregion
|
|
85
85
|
export { TableBoxRowOverlay as n, TableBoxRowProps as r, TableBoxRow as t };
|
|
86
|
-
//# sourceMappingURL=TableBoxRow-
|
|
86
|
+
//# sourceMappingURL=TableBoxRow-BljsXKrL.d.mts.map
|
package/dist/TableBoxRow.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-
|
|
1
|
+
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-BljsXKrL.mjs";
|
|
2
2
|
export { TableBoxRowOverlay, TableBoxRowProps, TableBoxRow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-CSwzFqdv.mjs";
|
|
2
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -54,4 +54,4 @@ declare const RowActions: ({
|
|
|
54
54
|
}: RowActionsProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { RowActionsContainerWithFadeWidth as i, RowActions as n, RowActionsContainer as r, RowAction as t };
|
|
57
|
-
//# sourceMappingURL=TableBoxRowActions-
|
|
57
|
+
//# sourceMappingURL=TableBoxRowActions-h6HNEv9F.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-
|
|
1
|
+
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-h6HNEv9F.mjs";
|
|
2
2
|
export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
|
|
@@ -14,18 +14,18 @@ import { Z_INDICES } from "./lib/zindex.mjs";
|
|
|
14
14
|
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
15
15
|
import { n as Stack, t as HStack } from "./Stack-ChsImaEY.mjs";
|
|
16
16
|
import { n as Button, t as IconButton } from "./IconButton-CqTPMhjV.mjs";
|
|
17
|
-
import { r as
|
|
17
|
+
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-BepWbJHz.mjs";
|
|
18
|
+
import { r as InputGroup } from "./Input-Bc2yWH3j.mjs";
|
|
18
19
|
import Input_default from "./components/Input/index.mjs";
|
|
19
|
-
import { c as MenuList, s as MenuItem } from "./Menu-
|
|
20
|
-
import { n as DropdownMenu_default } from "./DropdownMenu-
|
|
21
|
-
import { t as Combobox } from "./Combobox-
|
|
22
|
-
import { s as Popover_default } from "./Popover-
|
|
23
|
-
import {
|
|
24
|
-
import { t as Toggle } from "./Toggle-iG2x_IZR.mjs";
|
|
20
|
+
import { c as MenuList, s as MenuItem } from "./Menu-Cd6oxjAe.mjs";
|
|
21
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-CuKSNxc9.mjs";
|
|
22
|
+
import { t as Combobox } from "./Combobox-1M6EwVmq.mjs";
|
|
23
|
+
import { s as Popover_default } from "./Popover-opVa9Xhc.mjs";
|
|
24
|
+
import { t as Toggle } from "./Toggle-Dcn2Rqgm.mjs";
|
|
25
25
|
import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue, t as formatDateFilterValue } from "./date-filter-CZeChs9T.mjs";
|
|
26
|
-
import { t as ListBox } from "./ListBox-
|
|
27
|
-
import { m as FormField, o as ComboboxField } from "./FormField-
|
|
28
|
-
import { r as DatePicker, t as DateRangePicker } from "./DatePicker-
|
|
26
|
+
import { t as ListBox } from "./ListBox-CFBhILRy.mjs";
|
|
27
|
+
import { m as FormField, o as ComboboxField } from "./FormField-ByT0avVx.mjs";
|
|
28
|
+
import { r as DatePicker, t as DateRangePicker } from "./DatePicker-D9JurBBj.mjs";
|
|
29
29
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
30
30
|
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
31
31
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1226,6 +1226,7 @@ const OPERATORS_BY_TYPE = {
|
|
|
1226
1226
|
"is_not_empty"
|
|
1227
1227
|
],
|
|
1228
1228
|
tags_conditions: ["is"],
|
|
1229
|
+
signals: ["is"],
|
|
1229
1230
|
date_range: ["is"]
|
|
1230
1231
|
};
|
|
1231
1232
|
/** Operators that have no value control (the operator itself is the predicate). */
|
|
@@ -1338,7 +1339,8 @@ function getOperatorLabel(operator, fieldType) {
|
|
|
1338
1339
|
function emptyValueForFieldType(type) {
|
|
1339
1340
|
switch (type) {
|
|
1340
1341
|
case "multi_choices":
|
|
1341
|
-
case "tags_conditions":
|
|
1342
|
+
case "tags_conditions":
|
|
1343
|
+
case "signals": return [];
|
|
1342
1344
|
default: return "";
|
|
1343
1345
|
}
|
|
1344
1346
|
}
|
|
@@ -1435,8 +1437,7 @@ function draftValueFor(field, operator) {
|
|
|
1435
1437
|
if (isValuelessOperator(operator)) return null;
|
|
1436
1438
|
if (field.type === "boolean") return true;
|
|
1437
1439
|
if (isRangeOperator(operator)) return emptyValueForRule(field, operator);
|
|
1438
|
-
|
|
1439
|
-
return "";
|
|
1440
|
+
return emptyValueForFieldType(field.type);
|
|
1440
1441
|
}
|
|
1441
1442
|
//#endregion
|
|
1442
1443
|
//#region components/DataTable/TableControls/FiltersV2/fieldPickerOptions.ts
|
|
@@ -3402,7 +3403,8 @@ function isDraftRuleValue(rule, registry) {
|
|
|
3402
3403
|
if (isRangeOperator(rule.operator)) return !isCompleteDateRange(rule.value);
|
|
3403
3404
|
switch (field.type) {
|
|
3404
3405
|
case "multi_choices":
|
|
3405
|
-
case "tags_conditions":
|
|
3406
|
+
case "tags_conditions":
|
|
3407
|
+
case "signals": return Array.isArray(rule.value) && rule.value.length === 0;
|
|
3406
3408
|
case "date": return rule.value === "" || rule.value == null;
|
|
3407
3409
|
case "date_range": return false;
|
|
3408
3410
|
case "boolean": return false;
|
|
@@ -3422,7 +3424,8 @@ function isRuleAllowed(rule, registry, options = { allowDraftValues: false }) {
|
|
|
3422
3424
|
return typeof rule.value === "string" && rule.value.length > 0;
|
|
3423
3425
|
}
|
|
3424
3426
|
if (registry.get(rule.fieldId)?.type === "date_range") return isCompleteDateRange(rule.value);
|
|
3425
|
-
|
|
3427
|
+
const conditionGroupType = registry.get(rule.fieldId)?.type;
|
|
3428
|
+
if (conditionGroupType === "tags_conditions" || conditionGroupType === "signals") return Array.isArray(rule.value) && rule.value.length > 0;
|
|
3426
3429
|
return rule.value != null && typeof rule.value !== "boolean";
|
|
3427
3430
|
}
|
|
3428
3431
|
/**
|
|
@@ -3445,7 +3448,8 @@ function hasCompleteValue(rule, registry) {
|
|
|
3445
3448
|
case "boolean": return typeof value === "boolean";
|
|
3446
3449
|
case "date": return typeof value === "string" && value.length > 0;
|
|
3447
3450
|
case "multi_choices": return Array.isArray(value) ? value.length > 0 : typeof value === "string" && value.length > 0;
|
|
3448
|
-
case "tags_conditions":
|
|
3451
|
+
case "tags_conditions":
|
|
3452
|
+
case "signals": return Array.isArray(value) && value.length > 0;
|
|
3449
3453
|
case "date_range": return isCompleteDateRange(value);
|
|
3450
3454
|
default:
|
|
3451
3455
|
if (typeof value === "string") return value.length > 0;
|
|
@@ -4190,6 +4194,7 @@ const KNOWN_TYPES = new Set([
|
|
|
4190
4194
|
"date",
|
|
4191
4195
|
"array",
|
|
4192
4196
|
"tags_conditions",
|
|
4197
|
+
"signals",
|
|
4193
4198
|
"date_range"
|
|
4194
4199
|
]);
|
|
4195
4200
|
function normalizeFieldType(raw) {
|
|
@@ -4277,4 +4282,4 @@ function decodeBase64(input) {
|
|
|
4277
4282
|
//#endregion
|
|
4278
4283
|
export { TableControlsProvider as A, getOperatorsForType as C, reconcileValueForOperator as D, isValuelessOperator as E, ControlBar as F, DataTableCompactBar as I, TableViewConfiguration as M, TableViewConfigurationDropdown as N, dateRuleIntent as O, TableControls as P, getOperatorsForField as S, isRangeOperator as T, FILTER_SIZE_TOKENS as _, encodeFilterStateToUrlParam as a, emptyValueForRule as b, FilterBar_default as c, isFilterStateV2 as d, pruneToRegistry as f, resolveValueControl as g, PillShell as h, decodeFilterStateFromUrl as i, useTableControls as j, TableControlsContext as k, useFilterStateV2 as l, isEmptyState as m, applyFilterStateToSearchParams as n, FieldRegistry as o, EMPTY_FILTER_STATE as p, decodeFilterStateFromString as r, buildFieldRegistry as s, FILTER_STATE_URL_PARAM as t, hasCompleteValue as u, useFilterBarSize as v, isCompleteDateRange as w, getDefaultOperatorForType as x, resolveDateRangeRuleValue as y };
|
|
4279
4284
|
|
|
4280
|
-
//# sourceMappingURL=TableControls-
|
|
4285
|
+
//# sourceMappingURL=TableControls-CYTpBlQN.mjs.map
|