@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,2 +1,2 @@
|
|
|
1
|
-
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-
|
|
1
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-jZAHuxZJ.mjs";
|
|
2
2
|
export { resolveDateRangeRuleValue };
|
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-N8PYonjD.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-B3YqkjQp.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-BdtxI1N2.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-N8PYonjD.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-BGczB5R9.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-BGczB5R9.mjs";
|
|
2
2
|
export { FILTER_SIZE_TOKENS, FilterBarContext, FilterBarContextValue, FilterSizeTokens, useFilterBarSize, useFilterSizeTokens };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-jYjPeD7F.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-BRKXhLGa.d.mts.map
|
|
@@ -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-D-8iwYVj.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-CgPds2tq.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-BZmGEbsA.d.mts.map
|
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-Au9JNS5z.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-jYjPeD7F.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-BRKXhLGa.mjs";
|
|
4
4
|
export { FilterBarProps, FilterBar as default, resolveValueControl };
|
package/dist/index4.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PillShellProps, t as PillShell } from "./PillShell-
|
|
1
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-ChTB_koa.mjs";
|
|
2
2
|
export { PillShellProps, PillShell as default };
|
package/dist/index5.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as dateRuleIntent } from "./date-rule-intent-CC1LdkE7.mjs";
|
|
2
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-
|
|
3
|
-
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-
|
|
4
|
-
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-
|
|
5
|
-
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-
|
|
6
|
-
import { t as FilterBar } from "./FilterBar-
|
|
7
|
-
import { t as FilterBarProps } from "./index-
|
|
8
|
-
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-
|
|
9
|
-
import { n as PillShellProps, t as PillShell } from "./PillShell-
|
|
10
|
-
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, l as isCompleteDateRange, r as emptyValueForRule, s as getOperatorsForField, u as isRangeOperator } from "./operators-
|
|
11
|
-
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-
|
|
12
|
-
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-
|
|
13
|
-
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-
|
|
14
|
-
import { t as ValueControlProps } from "./types-
|
|
2
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-N8PYonjD.mjs";
|
|
3
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-jZAHuxZJ.mjs";
|
|
4
|
+
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-BdtxI1N2.mjs";
|
|
5
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-Au9JNS5z.mjs";
|
|
6
|
+
import { t as FilterBar } from "./FilterBar-jYjPeD7F.mjs";
|
|
7
|
+
import { t as FilterBarProps } from "./index-BRKXhLGa.mjs";
|
|
8
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-BGczB5R9.mjs";
|
|
9
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-ChTB_koa.mjs";
|
|
10
|
+
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, l as isCompleteDateRange, r as emptyValueForRule, s as getOperatorsForField, u as isRangeOperator } from "./operators-x_ZENhrT.mjs";
|
|
11
|
+
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-C2gl07_y.mjs";
|
|
12
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-BQYcAdKR.mjs";
|
|
13
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-CMtfUd-R.mjs";
|
|
14
|
+
import { t as ValueControlProps } from "./types-gnF3MPfk2.mjs";
|
|
15
15
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FILTER_SIZE_TOKENS, FILTER_STATE_URL_PARAM, FieldRegistry, FilterBar, FilterBarProps, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterSizeTokens, FilterStateV2, PillShell, PillShellProps, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UrlStateCodecResult, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, applyFilterStateToSearchParams, buildFieldRegistry, dateRuleIntent, decodeFilterStateFromString, decodeFilterStateFromUrl, emptyValueForRule, encodeFilterStateToUrlParam, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isCompleteDateRange, isEmptyState, isFilterStateV2, isRangeOperator, isValuelessOperator, pruneToRegistry, reconcileValueForOperator, resolveDateRangeRuleValue, resolveValueControl, useFilterBarSize, useFilterStateV2 };
|
package/dist/inputFields.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as CheckboxProps } from "./Checkbox-C-hMfItK.mjs";
|
|
2
|
-
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-
|
|
3
|
-
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-
|
|
2
|
+
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-BuwVssvZ.mjs";
|
|
3
|
+
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-gJC4v7ER.mjs";
|
|
4
4
|
import { n as FormFieldBaseProps } from "./FormField-CK8o1sMB.mjs";
|
|
5
5
|
import { a as InputProps } from "./Input-Ce8FvSYf.mjs";
|
|
6
6
|
import { n as RadioGroupProps } from "./RadioGroup-CxL6LW4q.mjs";
|
|
7
7
|
import { i as SegmentedControlProps } from "./SegmentedControl-vCnGsdXo.mjs";
|
|
8
|
-
import { i as SelectProps } from "./Select-
|
|
8
|
+
import { i as SelectProps } from "./Select-sQb4dQwT.mjs";
|
|
9
9
|
import { t as TextAreaProps } from "./TextArea-DOofaXJi.mjs";
|
|
10
10
|
import { n as ToggleProps } from "./Toggle-2nrUX591.mjs";
|
|
11
11
|
import * as _$react from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intersperse-
|
|
1
|
+
{"version":3,"file":"intersperse-Bxcrxj2Q.mjs","names":[],"sources":["../lib/intersperse.ts"],"sourcesContent":["/**\n * @name intersperse\n *\n * Inserts an element between array items using a separator function. The\n * separator function is passed the previous index, the previous element, and\n * the next element.\n *\n * ```typescript\n * const nodeList: React.ReactNode[] = [...]\n * const commaSeparatedList = intersperse(nodeList, () => ', ')\n * const advancedSeparatedList = intersperse(nodeList, i => <Separator key={i}/>)\n * ```\n */\nexport function intersperse<T>(arr: T[], separator: (n: number, prev: T, curr: T) => T): T[] {\n return arr.flatMap((a, i) => (i > 0 ? [separator(i - 1, arr[i - 1], a), a] : [a]));\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,YAAe,KAAU,WAAoD;AAC3F,QAAO,IAAI,SAAS,GAAG,MAAO,IAAI,IAAI,CAAC,UAAU,IAAI,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, l as FilterRule, r as DateRangeFilterValue, s as FilterFieldType, u as FilterRuleValue } from "./types-N8PYonjD.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/operators.d.ts
|
|
4
4
|
declare function getOperatorsForType(type: FilterFieldType): ReadonlyArray<FilterOperator>;
|
|
@@ -68,4 +68,4 @@ declare function emptyValueForRule(field: Pick<FilterField, 'type'>, operator: F
|
|
|
68
68
|
declare function reconcileValueForOperator(field: Pick<FilterField, 'type'>, nextOperator: FilterOperator, previousOperator: FilterOperator, value: FilterRuleValue): FilterRuleValue;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { getDefaultOperatorForType as a, getOperatorsForType as c, isValuelessOperator as d, reconcileValueForOperator as f, fieldHasMultipleOperators as i, isCompleteDateRange as l, emptyValueForFieldType as n, getOperatorLabel as o, withValue as p, emptyValueForRule as r, getOperatorsForField as s, carriesDateRange as t, isRangeOperator as u };
|
|
71
|
-
//# sourceMappingURL=operators-
|
|
71
|
+
//# sourceMappingURL=operators-x_ZENhrT.d.mts.map
|
package/dist/operators.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, i as fieldHasMultipleOperators, l as isCompleteDateRange, n as emptyValueForFieldType, o as getOperatorLabel, p as withValue, r as emptyValueForRule, s as getOperatorsForField, t as carriesDateRange, u as isRangeOperator } from "./operators-
|
|
1
|
+
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, i as fieldHasMultipleOperators, l as isCompleteDateRange, n as emptyValueForFieldType, o as getOperatorLabel, p as withValue, r as emptyValueForRule, s as getOperatorsForField, t as carriesDateRange, u as isRangeOperator } from "./operators-x_ZENhrT.mjs";
|
|
2
2
|
export { carriesDateRange, emptyValueForFieldType, emptyValueForRule, fieldHasMultipleOperators, getDefaultOperatorForType, getOperatorLabel, getOperatorsForField, getOperatorsForType, isCompleteDateRange, isRangeOperator, isValuelessOperator, reconcileValueForOperator, withValue };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
2
|
import { n as Stack, t as HStack } from "../../Stack-ChsImaEY.mjs";
|
|
3
|
-
import { t as LoadingShimmer } from "../../LoadingShimmer-
|
|
4
|
-
import { t as Card_default } from "../../CardV2-
|
|
5
|
-
import { h as Table, m as TableHeaderCell, n as TableBody, p as TableRow, r as TableHead, s as TableCell } from "../../Table-
|
|
6
|
-
import { n as PageHeaderContainer } from "../../PageHeader-
|
|
3
|
+
import { t as LoadingShimmer } from "../../LoadingShimmer-Dizk2sZu.mjs";
|
|
4
|
+
import { t as Card_default } from "../../CardV2-M3o4BELp.mjs";
|
|
5
|
+
import { h as Table, m as TableHeaderCell, n as TableBody, p as TableRow, r as TableHead, s as TableCell } from "../../Table-B1gRr2XT.mjs";
|
|
6
|
+
import { n as PageHeaderContainer } from "../../PageHeader-DJOlcAiW.mjs";
|
|
7
7
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region patterns/containers.tsx
|
|
@@ -14,7 +14,7 @@ import { c as RelativeDateFilterValue } from "./types-D8rWSj3z.mjs";
|
|
|
14
14
|
* - The Rules pill owns `compound.groups` (OR-of-AND / DNF).
|
|
15
15
|
*/
|
|
16
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';
|
|
17
|
+
type FilterFieldType = 'string' | 'email' | 'choices' | 'multi_choices' | 'boolean' | 'integer' | 'float' | 'date' | 'array' /** OR-of-AND tag conditions (`FilterTagsCondition[][]`). */ | 'tags_conditions' /** OR-of-AND platform-signal conditions (`SignalsConditionalGroup`). */ | 'signals' /** ISO date range (`DateRangeFilterValue`). */ | 'date_range';
|
|
18
18
|
/**
|
|
19
19
|
* Per-rule operator vocabulary.
|
|
20
20
|
*
|
|
@@ -169,4 +169,4 @@ declare const EMPTY_FILTER_STATE: FilterStateV2;
|
|
|
169
169
|
declare function isEmptyState(state: FilterStateV2): boolean;
|
|
170
170
|
//#endregion
|
|
171
171
|
export { FilterField as a, FilterOperator as c, FilterRuleValueChange as d, FilterSize as f, isEmptyState as h, EMPTY_FILTER_STATE as i, FilterRule as l, TopLevelFilterRule as m, CompoundExpression as n, FilterFieldSource as o, FilterStateV2 as p, DateRangeFilterValue as r, FilterFieldType as s, AndGroup as t, FilterRuleValue as u };
|
|
172
|
-
//# sourceMappingURL=types-
|
|
172
|
+
//# sourceMappingURL=types-N8PYonjD.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-N8PYonjD.mjs";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/value-controls/types.d.ts
|
|
@@ -44,4 +44,4 @@ interface ValueControlProps {
|
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ValueControlProps as t };
|
|
47
|
-
//# sourceMappingURL=types-
|
|
47
|
+
//# sourceMappingURL=types-gnF3MPfk2.d.mts.map
|
package/dist/types4.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-N8PYonjD.mjs";
|
|
2
2
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterStateV2, TopLevelFilterRule, isEmptyState };
|
package/dist/types5.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as ValueControlProps } from "./types-gnF3MPfk2.mjs";
|
|
2
2
|
export { ValueControlProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as FilterStateV2 } from "./types-
|
|
1
|
+
import { p as FilterStateV2 } from "./types-N8PYonjD.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/url-state.d.ts
|
|
4
4
|
/**
|
|
@@ -39,4 +39,4 @@ declare function applyFilterStateToSearchParams(params: URLSearchParams, state:
|
|
|
39
39
|
declare function decodeFilterStateFromString(raw: string | null | undefined): FilterStateV2 | null;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { decodeFilterStateFromUrl as a, decodeFilterStateFromString as i, UrlStateCodecResult as n, encodeFilterStateToUrlParam as o, applyFilterStateToSearchParams as r, FILTER_STATE_URL_PARAM as t };
|
|
42
|
-
//# sourceMappingURL=url-state-
|
|
42
|
+
//# sourceMappingURL=url-state-C2gl07_y.d.mts.map
|
package/dist/url-state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-
|
|
1
|
+
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-C2gl07_y.mjs";
|
|
2
2
|
export { FILTER_STATE_URL_PARAM, UrlStateCodecResult, applyFilterStateToSearchParams, decodeFilterStateFromString, decodeFilterStateFromUrl, encodeFilterStateToUrlParam };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as FilterRule, n as CompoundExpression, p as FilterStateV2 } from "./types-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { l as FilterRule, n as CompoundExpression, p as FilterStateV2 } from "./types-N8PYonjD.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-BdtxI1N2.mjs";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/useFilterStateV2.d.ts
|
|
5
5
|
interface UseFilterStateV2Options {
|
|
@@ -90,4 +90,4 @@ interface UseFilterStateV2Result {
|
|
|
90
90
|
declare function useFilterStateV2(options: UseFilterStateV2Options): UseFilterStateV2Result;
|
|
91
91
|
//#endregion
|
|
92
92
|
export { UseFilterStateV2Result as n, useFilterStateV2 as r, UseFilterStateV2Options as t };
|
|
93
|
-
//# sourceMappingURL=useFilterStateV2-
|
|
93
|
+
//# sourceMappingURL=useFilterStateV2-BQYcAdKR.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-
|
|
1
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-BQYcAdKR.mjs";
|
|
2
2
|
export { UseFilterStateV2Options, UseFilterStateV2Result, useFilterStateV2 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useFormGroup } from "./useFormGroup-
|
|
1
|
+
import { n as useFormGroup } from "./useFormGroup-CH3kiXoa.mjs";
|
|
2
2
|
import { createContext, useContext } from "react";
|
|
3
3
|
//#region components/FormControl/useFormField.ts
|
|
4
4
|
const FormControlContext = createContext({});
|
|
@@ -22,4 +22,4 @@ const useFormField = (props) => {
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { useFormField as n, FormControlContext as t };
|
|
24
24
|
|
|
25
|
-
//# sourceMappingURL=useFormField-
|
|
25
|
+
//# sourceMappingURL=useFormField-DsvC5dOb.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormField-
|
|
1
|
+
{"version":3,"file":"useFormField-DsvC5dOb.mjs","names":[],"sources":["../components/FormControl/useFormField.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nimport useFormGroup from 'design-system/components/ConfigFormGroup/useFormGroup';\nimport type ErrorProps from 'design-system/types/ErrorProps';\n\nexport interface FormControlContextProps extends ErrorProps {\n inputId?: string;\n helperTextId?: string;\n errorTextId?: string;\n warningTextId?: string;\n labelId?: string;\n disabled?: boolean;\n maxLength?: number;\n configField?: boolean;\n}\n\nexport const FormControlContext = createContext<FormControlContextProps>({});\n\nconst useFormField = (props: Partial<FormControlContextProps>) => {\n const group = useFormGroup();\n const field = useContext(FormControlContext);\n\n const inputId = props.inputId ?? field.inputId;\n\n return {\n configField: props.configField ?? group.configField,\n hasError: props.hasError ?? field.hasError,\n hasWarning: props.hasWarning ?? field.hasWarning,\n inputId,\n helperTextId: props.helperTextId ?? field.helperTextId,\n errorTextId: props.errorTextId ?? field.errorTextId,\n warningTextId: props.warningTextId ?? field.warningTextId,\n labelId: props.labelId ?? field.labelId,\n disabled: props.disabled ?? field.disabled,\n maxLength: props.maxLength ?? field.maxLength,\n };\n};\n\nexport default useFormField;\n"],"mappings":";;;AAgBA,MAAa,qBAAqB,cAAuC,EAAE,CAAC;AAE5E,MAAM,gBAAgB,UAA4C;CAChE,MAAM,QAAQ,cAAc;CAC5B,MAAM,QAAQ,WAAW,mBAAmB;CAE5C,MAAM,UAAU,MAAM,WAAW,MAAM;AAEvC,QAAO;EACL,aAAa,MAAM,eAAe,MAAM;EACxC,UAAU,MAAM,YAAY,MAAM;EAClC,YAAY,MAAM,cAAc,MAAM;EACtC;EACA,cAAc,MAAM,gBAAgB,MAAM;EAC1C,aAAa,MAAM,eAAe,MAAM;EACxC,eAAe,MAAM,iBAAiB,MAAM;EAC5C,SAAS,MAAM,WAAW,MAAM;EAChC,UAAU,MAAM,YAAY,MAAM;EAClC,WAAW,MAAM,aAAa,MAAM;EACrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormGroup-
|
|
1
|
+
{"version":3,"file":"useFormGroup-CH3kiXoa.mjs","names":[],"sources":["../components/ConfigFormGroup/useFormGroup.ts"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nexport interface FormGroupContextProps {\n configField?: boolean;\n /**\n * The z-index to use when labels are rendered as tooltips (e.g. when configField is true).\n */\n labelTooltipZIndex?: number;\n}\n\nexport const FormGroupContext = createContext<FormGroupContextProps>({});\n\nconst useFormGroup = (props?: Partial<FormGroupContextProps>) => {\n const field = useContext(FormGroupContext);\n\n return {\n configField: props?.configField ?? field.configField,\n labelTooltipZIndex: props?.labelTooltipZIndex ?? field.labelTooltipZIndex,\n };\n};\n\nexport default useFormGroup;\n"],"mappings":";;AAUA,MAAa,mBAAmB,cAAqC,EAAE,CAAC;AAExE,MAAM,gBAAgB,UAA2C;CAC/D,MAAM,QAAQ,WAAW,iBAAiB;AAE1C,QAAO;EACL,aAAa,OAAO,eAAe,MAAM;EACzC,oBAAoB,OAAO,sBAAsB,MAAM;EACxD"}
|
package/dist/useTruncation.d.mts
CHANGED
package/dist/utils.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as FilterRule, p as FilterStateV2 } from "./types-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { l as FilterRule, p as FilterStateV2 } from "./types-N8PYonjD.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-BdtxI1N2.mjs";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/validation.d.ts
|
|
5
5
|
/**
|
|
@@ -48,4 +48,4 @@ declare function pruneToRegistry(state: FilterStateV2, registry: FieldRegistry |
|
|
|
48
48
|
declare function hasCompleteValue(rule: FilterRule, registry: FieldRegistry): boolean;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { isFilterStateV2 as n, pruneToRegistry as r, hasCompleteValue as t };
|
|
51
|
-
//# sourceMappingURL=validation-
|
|
51
|
+
//# sourceMappingURL=validation-CMtfUd-R.d.mts.map
|
package/dist/validation.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-
|
|
1
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-CMtfUd-R.mjs";
|
|
2
2
|
export { hasCompleteValue, isFilterStateV2, pruneToRegistry };
|
package/dist/{value-control-resolver-zYNPNlRW.d.mts → value-control-resolver-Au9JNS5z.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-N8PYonjD.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/FilterBar/value-control-resolver.d.ts
|
|
@@ -45,4 +45,4 @@ type ValueControlResolver = (opts: ResolveValueControlOptions) => ReactNode | un
|
|
|
45
45
|
declare function resolveValueControl(opts: ResolveValueControlOptions, hostResolver?: ValueControlResolver): ReactNode;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { ValueControlResolver as n, resolveValueControl as r, ResolveValueControlOptions as t };
|
|
48
|
-
//# sourceMappingURL=value-control-resolver-
|
|
48
|
+
//# sourceMappingURL=value-control-resolver-Au9JNS5z.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-
|
|
1
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-Au9JNS5z.mjs";
|
|
2
2
|
export { ResolveValueControlOptions, ValueControlResolver, resolveValueControl };
|