@persona/design-system 0.10.0 → 0.10.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 +13 -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/{Calendar-DAfQCLOJ.d.mts → Calendar-CkjYG7Mj.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/{CheckboxGroupField-BYB4OBlW.d.mts → CheckboxGroupField-4dc7YXJY.d.mts} +2 -2
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-DH5ycYlG.d.mts → Combobox-Bm2eSg56.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BQQSKUBU.d.mts → ComboboxBase-B7ZcqU9p.d.mts} +2 -2
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-Da3Gv1k5.d.mts → ComboboxMultiSelect-BkdRrH6K.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-BUDovONU.d.mts → ComboboxSingleSelect-DIBRZmvS.d.mts} +3 -3
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-D12R7Nm2.d.mts → CompactBar-CfrrZ69k.d.mts} +1 -1
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{DataTable-fZ7SNbIH.d.mts → DataTable--_f1Obhj.d.mts} +7 -5
- package/dist/{DataTable-95ZxiPlV.mjs → DataTable-BoAAKhVH.mjs} +3 -3
- package/dist/DataTable-BoAAKhVH.mjs.map +1 -0
- package/dist/DataTable.d.mts +1 -1
- package/dist/{DateField-DLz13Ksl.d.mts → DateField-CwSq77Ri.d.mts} +1 -1
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-DYVWmbrb.d.mts → DatePicker-DRhY_0st.d.mts} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-Be8TYtjz.d.mts → DateRangePicker-CLuBLF1q.d.mts} +2 -2
- 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 +1 -1
- package/dist/{DropdownMenu-DAa2kNrt.d.mts → DropdownMenu-Bie2cWjb.d.mts} +2 -2
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FieldRegistry-d5tGpSch.d.mts → FieldRegistry-B5E-GN91.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-Bh18VyOK.d.mts → FilterBar-BQWpTi2b.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/{FormField-cSG93kuo.mjs → FormField-C4B2qFgh.mjs} +6 -6
- package/dist/{FormField-cSG93kuo.mjs.map → FormField-C4B2qFgh.mjs.map} +1 -1
- package/dist/HighlightedText.d.mts +1 -1
- package/dist/IndexTableLayout.d.mts +3 -3
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{ListBox-Bj5c626-.d.mts → ListBox-DIk8suJM.d.mts} +2 -2
- package/dist/{ListBox-C80J7DCG.mjs → ListBox-eoyBHtnJ.mjs} +1 -1
- package/dist/{ListBox-C80J7DCG.mjs.map → ListBox-eoyBHtnJ.mjs.map} +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-DsJRabgE.d.mts → ListBoxField-DF8rqPsu.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/{LogicRow-CcpD-Kk3.d.mts → LogicRow-uxpe1vZ1.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-C0FU9WEF.d.mts → Menu-CrThaUX2.d.mts} +2 -2
- package/dist/Menu.d.mts +1 -1
- package/dist/{PillShell-CXROf8gO.d.mts → PillShell-DqglbFHe.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Radio-DDT_l8rd.mjs → Radio-BstZg3DI.mjs} +1 -1
- package/dist/{Radio-DDT_l8rd.mjs.map → Radio-BstZg3DI.mjs.map} +1 -1
- package/dist/{RadioGroup-CmD8NFCL.mjs → RadioGroup-erKerwSt.mjs} +2 -2
- package/dist/{RadioGroup-CmD8NFCL.mjs.map → RadioGroup-erKerwSt.mjs.map} +1 -1
- package/dist/{RangeCalendar-cZSYjuOZ.d.mts → RangeCalendar-CK5ArbIQ.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SegmentedControl-CcKPfxBR.mjs → SegmentedControl-DQjIO6iX.mjs} +1 -1
- package/dist/{SegmentedControl-CcKPfxBR.mjs.map → SegmentedControl-DQjIO6iX.mjs.map} +1 -1
- package/dist/{Select-sBEBrNgo.d.mts → Select-CsxK6A5m.d.mts} +2 -2
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +22 -5
- package/dist/SmartTextInputField.d.mts +2 -2
- package/dist/SmartTextInputFunctionDialog.d.mts +2 -2
- package/dist/SmartTextInputListbox.d.mts +2 -2
- package/dist/SmartTextInputPopover.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-BRECnVTs.d.mts → TableBoxCell-okcOQ5Ec.d.mts} +4 -4
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-Lm_tn73M.d.mts → TableBoxField-DR-SJY9z.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-BS8Dc-zw.d.mts → TableBoxRow-DiuAB_rV.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-oLMb8XcM.d.mts → TableBoxRowActions-Cm4KJsAD.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableControls-UfObf-ZN.d.mts → TableControls-B9bvsNUc.d.mts} +10 -5
- package/dist/{TableControls-DxSFqRwJ.mjs → TableControls-n16XKO9S.mjs} +1298 -1286
- package/dist/TableControls-n16XKO9S.mjs.map +1 -0
- package/dist/TableControls.d.mts +2 -2
- package/dist/{TableControlsContext-Bhtb0cMs.d.mts → TableControlsContext-CZThYoj5.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-BDXe2Q1Y.d.mts → TableViewConfigurationDropdown-CvN7tE98.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TextArea-CFf0Lspu.mjs → TextArea-CaIEBz8d.mjs} +1 -1
- package/dist/{TextArea-CFf0Lspu.mjs.map → TextArea-CaIEBz8d.mjs.map} +1 -1
- package/dist/{Toggle-BLdemkh_.mjs → Toggle-BsqSNYok.mjs} +1 -1
- package/dist/{Toggle-BLdemkh_.mjs.map → Toggle-BsqSNYok.mjs.map} +1 -1
- package/dist/{chainTypes-BbFZn8a9.d.mts → chainTypes-Cjp0zZ4E.d.mts} +3 -3
- package/dist/{clientFilterUtils-c5xzvoBj.d.mts → clientFilterUtils-BXEpzorX.d.mts} +2 -2
- package/dist/clientFilterUtils.d.mts +1 -1
- package/dist/{codec-DIp7dhcN.d.mts → codec-KAvQRjTW.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +21 -21
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.d.mts +5 -5
- package/dist/components/DataTable/index.mjs +1 -1
- package/dist/components/DataTable/types.d.mts +1 -1
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/FormField/index.d.mts +4 -4
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/SmartTextInput/index.d.mts +2 -2
- package/dist/components/SmartTextInput/index.mjs +12 -3
- package/dist/components/SmartTextInput/index.mjs.map +1 -1
- package/dist/components/TableBox/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/VersionHistory/index.mjs +1 -1
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{date-range-rule-value-D01nn054.d.mts → date-range-rule-value-Dk6pZHnD.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-B4hQ_APa.d.mts → date-rule-intent-C5C8HB1v.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-Dj7Idc8j.d.mts → filter-size-context-5xQ3ycnC.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{filters-DDrsgRYy.d.mts → filters-ogUUmLEf.d.mts} +2 -2
- package/dist/filters.d.mts +1 -1
- package/dist/{helpers-D8_2I4ZX.d.mts → helpers-Dqw5PEva.d.mts} +2 -2
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-DsjvDLF8.d.mts → index-Ck939aXd.d.mts} +3 -3
- package/dist/{index-DkXly4xw.d.mts → index-DTAcGzW4.d.mts} +2 -2
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +14 -14
- package/dist/{inputFields-DyOZHse2.d.mts → inputFields-DVLg_2wz.d.mts} +4 -4
- package/dist/inputFields.d.mts +1 -1
- package/dist/{jsonSchema-COo0XQLA.d.mts → jsonSchema-DmOA0Lnu.d.mts} +2 -2
- package/dist/lib/PDSProvider.d.mts +8 -0
- package/dist/lib/PDSProvider.mjs +15 -11
- package/dist/lib/PDSProvider.mjs.map +1 -1
- package/dist/lib/chainTypes.d.mts +1 -1
- package/dist/lib/colorMode.d.mts +30 -0
- package/dist/lib/colorMode.mjs +71 -0
- package/dist/lib/colorMode.mjs.map +1 -0
- package/dist/lib/customFunctionSchema.d.mts +1 -1
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/jsonSchema.d.mts +1 -1
- package/dist/lib/jsonSchema.mjs.map +1 -1
- package/dist/lib/jsonSchemaType.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +1 -1
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +1 -1
- package/dist/lib/schemaOptions.d.mts +2 -2
- package/dist/lib/schemaOptions.mjs +20 -2
- package/dist/lib/schemaOptions.mjs.map +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/{listbox-options-D-DyLUdi.d.mts → listbox-options-DCmqWWgy.d.mts} +3 -3
- package/dist/listbox-options.d.mts +1 -1
- package/dist/{methodChain-BAUFBbR9.d.mts → methodChain-DaDvXsHF.d.mts} +2 -2
- package/dist/{operators-DjQXVNVI.d.mts → operators-Seez5p9U.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/patterns/IndexTableLayout/index.mjs +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/{schemaOptions-D536qhSd.d.mts → schemaOptions-BQgLOgtD.d.mts} +8 -3
- package/dist/{types-DHTFd-5t.d.mts → types-39QvBZuZ.d.mts} +1 -1
- package/dist/{types-CjQzH0MM.d.mts → types-BQP14Fng.d.mts} +2 -2
- package/dist/{types-Dx8PgO8a.d.mts → types-Bdi8Y7ll.d.mts} +3 -3
- package/dist/{types-DFU6M0OL.d.mts → types-DWU0Dmy9.d.mts} +3 -3
- package/dist/{types-BMpEizJP.d.mts → types-EodOhsjw.d.mts} +2 -2
- package/dist/{types-BhHdS6QP.d.mts → types-SOkNtcBq.d.mts} +2 -2
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +2 -2
- package/dist/types5.d.mts +2 -2
- package/dist/types6.d.mts +1 -1
- package/dist/types7.d.mts +1 -1
- package/dist/{url-state-D1muieS7.d.mts → url-state-CwaRVyXR.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-D5LvupTW.d.mts → useChain-DXkKKe-J.d.mts} +4 -4
- package/dist/useChainAtCursor.d.mts +4 -4
- package/dist/useCodeChainFunctionPanel.d.mts +1 -1
- package/dist/useColumnConfiguration.d.mts +2 -2
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-MH3zbQFr.d.mts → useFilterStateV2-Bzo27PR-.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useTableColumns-rLskKJhd.d.mts → useTableColumns-DdU0CLcU.d.mts} +2 -2
- package/dist/useTableColumns.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils4.d.mts +2 -2
- package/dist/{validation-Csi2SJxm.d.mts → validation-D6NPueNk.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/validation2.d.mts +3 -3
- package/dist/{value-control-resolver-BoBFvQ_0.d.mts → value-control-resolver-C-UrXVlB.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/llms.txt +9 -1
- package/package.json +3 -1
- package/skills/ui-authoring/COMPONENTS.md +1 -1
- package/skills/ui-authoring/TOKENS.md +10 -0
- package/dist/DataTable-95ZxiPlV.mjs.map +0 -1
- package/dist/TableControls-DxSFqRwJ.mjs.map +0 -1
- /package/dist/{index-BYd3Btr1.d.mts → index-DztUdPP_.d.mts} +0 -0
- /package/dist/{index-IJ_PXwxI2.d.mts → index-uMNhmxEh.d.mts} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as DragDirection } from "../../useTableBoxDragAndDrop-CKPIY98e.mjs";
|
|
2
|
-
import { a as TableBox, o as TableBoxContext, r as InlineEditConfig, s as TableBoxProps } from "../../TableBoxCell-
|
|
2
|
+
import { a as TableBox, o as TableBoxContext, r as InlineEditConfig, s as TableBoxProps } from "../../TableBoxCell-okcOQ5Ec.mjs";
|
|
3
3
|
export { DragDirection, InlineEditConfig, TableBoxContext, TableBoxProps, TableBox as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextAreaWithStyle } from "../../TextArea-
|
|
1
|
+
import { t as TextAreaWithStyle } from "../../TextArea-CaIEBz8d.mjs";
|
|
2
2
|
export { TextAreaWithStyle as TextArea, TextAreaWithStyle as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Toggle } from "../../Toggle-
|
|
1
|
+
import { t as Toggle } from "../../Toggle-BsqSNYok.mjs";
|
|
2
2
|
export { Toggle, Toggle as default };
|
|
@@ -8,7 +8,7 @@ import { n as Button, t as IconButton } from "../../IconButton-HWx5Hlmi.mjs";
|
|
|
8
8
|
import { n as DropdownMenu_default } from "../../DropdownMenu-CedsmO5h.mjs";
|
|
9
9
|
import { t as Spinner } from "../../Spinner-uVZyOh1T.mjs";
|
|
10
10
|
import { i as Modal_default } from "../../Modal-kjUptzg1.mjs";
|
|
11
|
-
import { t as TextAreaWithStyle } from "../../TextArea-
|
|
11
|
+
import { t as TextAreaWithStyle } from "../../TextArea-CaIEBz8d.mjs";
|
|
12
12
|
import { n as StatusIndicator } from "../../StatusIndicator-Bunn9YLV.mjs";
|
|
13
13
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
14
14
|
import { useCallback, useMemo, useState } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CompoundExpression, u as FilterRule } from "./types-
|
|
1
|
+
import { n as CompoundExpression, u as FilterRule } from "./types-EodOhsjw.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as FilterFieldType, r as DateRangeFilterValue, u as FilterRule } from "./types-
|
|
1
|
+
import { c as FilterFieldType, r as DateRangeFilterValue, u as FilterRule } from "./types-EodOhsjw.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/date-range-rule-value.d.ts
|
|
4
4
|
/**
|
|
@@ -14,4 +14,4 @@ import { c as FilterFieldType, r as DateRangeFilterValue, u as FilterRule } 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-Dk6pZHnD.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-Dk6pZHnD.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-39QvBZuZ.mjs";
|
|
2
|
+
import { t as DateFilterChange } from "./DateRangePicker-CLuBLF1q.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-C5C8HB1v.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-C5C8HB1v.mjs";
|
|
2
2
|
export { dateRuleIntent };
|
package/dist/display.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as FilterFieldType, d as FilterRuleValue, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-
|
|
1
|
+
import { c as FilterFieldType, d as FilterRuleValue, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-EodOhsjw.mjs";
|
|
2
2
|
import { i as CommonStrings } from "./strings-FWNWdSn1.mjs";
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/display.d.ts
|
|
4
4
|
interface ValueDisplayOptions {
|
|
@@ -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-B7ZcqU9p.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-B5E-GN91.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 { p as FilterSize } from "./types-
|
|
1
|
+
import { p as FilterSize } from "./types-EodOhsjw.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-5xQ3ycnC.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-5xQ3ycnC.mjs";
|
|
2
2
|
export { FILTER_SIZE_TOKENS, FilterBarContext, FilterBarContextValue, FilterSizeTokens, useFilterBarSize, useFilterSizeTokens };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as BaseFilterConfig, l as FilterTypeDefinition, t as ActiveFilter, u as FilterTypeResolver } from "./types-
|
|
1
|
+
import { i as BaseFilterConfig, l as FilterTypeDefinition, t as ActiveFilter, u as FilterTypeResolver } from "./types-Bdi8Y7ll.mjs";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -19,4 +19,4 @@ declare const Filters: <TFilter extends BaseFilterConfig>({
|
|
|
19
19
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { resolveFilterTypeDefinition as a, isFilterActive as i, FiltersContainer as n, synchronizeActiveFilters as o, getActiveFilters as r, Filters as t };
|
|
22
|
-
//# sourceMappingURL=filters-
|
|
22
|
+
//# sourceMappingURL=filters-ogUUmLEf.d.mts.map
|
package/dist/filters.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveFilterTypeDefinition, i as isFilterActive, n as FiltersContainer, o as synchronizeActiveFilters, r as getActiveFilters, t as Filters } from "./filters-
|
|
1
|
+
import { a as resolveFilterTypeDefinition, i as isFilterActive, n as FiltersContainer, o as synchronizeActiveFilters, r as getActiveFilters, t as Filters } from "./filters-ogUUmLEf.mjs";
|
|
2
2
|
export { Filters, FiltersContainer, getActiveFilters, isFilterActive, resolveFilterTypeDefinition, synchronizeActiveFilters };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as CheckboxProps } from "./Checkbox-B2MZShdu.mjs";
|
|
2
2
|
import { i as CommonStrings } from "./strings-FWNWdSn1.mjs";
|
|
3
|
-
import { S as RenderValueStickerFormatConfig, b as DatetimeConfig, d as DataTableColumnImageFormat, h as DataTableColumnStringFormat, l as DataTableColumnFormat, p as DataTableColumnPiiFormat, y as DateConfig } from "./types-
|
|
3
|
+
import { S as RenderValueStickerFormatConfig, b as DatetimeConfig, d as DataTableColumnImageFormat, h as DataTableColumnStringFormat, l as DataTableColumnFormat, p as DataTableColumnPiiFormat, y as DateConfig } from "./types-BQP14Fng.mjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region components/DataTable/helpers.d.ts
|
|
@@ -87,4 +87,4 @@ declare const renderAsLightweightImage: (value: unknown, config?: DataTableColum
|
|
|
87
87
|
declare const renderAsPDSFormat: <TData = unknown>(value: unknown, format?: DataTableColumnFormat<TData>, row?: TData, options?: PDSFormatOptions) => string | ReactNode;
|
|
88
88
|
//#endregion
|
|
89
89
|
export { renderAsDate as a, renderAsNumber as c, renderAsSticker as d, renderAsString as f, renderAsCopyableString as i, renderAsPDSFormat as l, renderAsCheckbox as n, renderAsDatetime as o, renderAsURL as p, renderAsCheckboxHeader as r, renderAsLightweightImage as s, PDSFormatOptions as t, renderAsPii as u };
|
|
90
|
-
//# sourceMappingURL=helpers-
|
|
90
|
+
//# sourceMappingURL=helpers-Dqw5PEva.d.mts.map
|
package/dist/helpers.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as renderAsDate, c as renderAsNumber, d as renderAsSticker, f as renderAsString, i as renderAsCopyableString, l as renderAsPDSFormat, n as renderAsCheckbox, o as renderAsDatetime, p as renderAsURL, r as renderAsCheckboxHeader, s as renderAsLightweightImage, t as PDSFormatOptions, u as renderAsPii } from "./helpers-
|
|
1
|
+
import { a as renderAsDate, c as renderAsNumber, d as renderAsSticker, f as renderAsString, i as renderAsCopyableString, l as renderAsPDSFormat, n as renderAsCheckbox, o as renderAsDatetime, p as renderAsURL, r as renderAsCheckboxHeader, s as renderAsLightweightImage, t as PDSFormatOptions, u as renderAsPii } from "./helpers-Dqw5PEva.mjs";
|
|
2
2
|
export { PDSFormatOptions, renderAsCheckbox, renderAsCheckboxHeader, renderAsCopyableString, renderAsDate, renderAsDatetime, renderAsLightweightImage, renderAsNumber, renderAsPDSFormat, renderAsPii, renderAsSticker, renderAsString, renderAsURL };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ListBoxItemProps, r as ListBoxProps$1 } from "./ListBox-
|
|
2
|
-
import { n as LogicRowProps } from "./LogicRow-
|
|
1
|
+
import { n as ListBoxItemProps, r as ListBoxProps$1 } from "./ListBox-DIk8suJM.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-uxpe1vZ1.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-Ck939aXd.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-BQWpTi2b.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-DTAcGzW4.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-C-UrXVlB.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-BQWpTi2b.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-DTAcGzW4.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-DqglbFHe.mjs";
|
|
2
2
|
export { PillShellProps, PillShell as default };
|
package/dist/index5.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
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 { _ as isNumericComparisonOperator, a as emptyValueForRule, b as reconcileValueForOperator, c as getDefaultOperatorForType, d as getOperatorsForType, n as NumericComparisonOperator, p as isCompleteDateRange, t as NUMERIC_COMPARISON_OPERATORS, u as getOperatorsForField, v as isRangeOperator, y as isValuelessOperator } 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-
|
|
1
|
+
import { a as FilterConditionOperator, c as FilterFieldType, d as FilterRuleValue, f as FilterRuleValueChange, g as isEmptyState, h as TopLevelFilterRule, i as EMPTY_FILTER_STATE, l as FilterOperator, m as FilterStateV2, n as CompoundExpression, o as FilterField, p as FilterSize, r as DateRangeFilterValue, s as FilterFieldSource, t as AndGroup, u as FilterRule } from "./types-EodOhsjw.mjs";
|
|
2
|
+
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-B5E-GN91.mjs";
|
|
3
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-C-UrXVlB.mjs";
|
|
4
|
+
import { t as FilterBar } from "./FilterBar-BQWpTi2b.mjs";
|
|
5
|
+
import { t as dateRuleIntent } from "./date-rule-intent-C5C8HB1v.mjs";
|
|
6
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-Dk6pZHnD.mjs";
|
|
7
|
+
import { t as FilterBarProps } from "./index-DTAcGzW4.mjs";
|
|
8
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-5xQ3ycnC.mjs";
|
|
9
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-DqglbFHe.mjs";
|
|
10
|
+
import { _ as isNumericComparisonOperator, a as emptyValueForRule, b as reconcileValueForOperator, c as getDefaultOperatorForType, d as getOperatorsForType, n as NumericComparisonOperator, p as isCompleteDateRange, t as NUMERIC_COMPARISON_OPERATORS, u as getOperatorsForField, v as isRangeOperator, y as isValuelessOperator } from "./operators-Seez5p9U.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-CwaRVyXR.mjs";
|
|
12
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-Bzo27PR-.mjs";
|
|
13
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-D6NPueNk.mjs";
|
|
14
|
+
import { t as ValueControlProps } from "./types-SOkNtcBq.mjs";
|
|
15
15
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FILTER_SIZE_TOKENS, FILTER_STATE_URL_PARAM, FieldRegistry, FilterBar, FilterBarProps, FilterConditionOperator, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterSizeTokens, FilterStateV2, NUMERIC_COMPARISON_OPERATORS, NumericComparisonOperator, PillShell, PillShellProps, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UrlStateCodecResult, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, applyFilterStateToSearchParams, buildFieldRegistry, dateRuleIntent, decodeFilterStateFromString, decodeFilterStateFromUrl, emptyValueForRule, encodeFilterStateToUrlParam, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isCompleteDateRange, isEmptyState, isFilterStateV2, isNumericComparisonOperator, isRangeOperator, isValuelessOperator, pruneToRegistry, reconcileValueForOperator, resolveDateRangeRuleValue, resolveValueControl, useFilterBarSize, useFilterStateV2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as CheckboxProps } from "./Checkbox-B2MZShdu.mjs";
|
|
2
|
-
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-
|
|
3
|
-
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-
|
|
2
|
+
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-BkdRrH6K.mjs";
|
|
3
|
+
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-DIBRZmvS.mjs";
|
|
4
4
|
import { n as FormFieldBaseProps } from "./FormField-mLbXDJ9B.mjs";
|
|
5
5
|
import { a as InputProps } from "./Input-Bg4bi6VZ.mjs";
|
|
6
6
|
import { n as RadioGroupProps } from "./RadioGroup-BxEmipHa.mjs";
|
|
7
7
|
import { i as SegmentedControlProps } from "./SegmentedControl-xjU-2IsJ.mjs";
|
|
8
|
-
import { i as SelectProps } from "./Select-
|
|
8
|
+
import { i as SelectProps } from "./Select-CsxK6A5m.mjs";
|
|
9
9
|
import { t as TextAreaProps } from "./TextArea-DFn4XuG-.mjs";
|
|
10
10
|
import { n as ToggleProps } from "./Toggle-xtPgGaGD.mjs";
|
|
11
11
|
import * as _$react from "react";
|
|
@@ -68,4 +68,4 @@ type ComboboxMultiSelectFieldProps<T = string> = ImplementsFormField & ComboboxM
|
|
|
68
68
|
declare const ComboboxField: (props: ComboboxSingleSelectFieldProps | ComboboxMultiSelectFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { ToggleField as _, ComboboxSingleSelectFieldProps as a, RadioGroupFieldProps as c, SelectField as d, SelectFieldProps as f, TextFieldProps as g, TextField as h, ComboboxMultiSelectFieldProps as i, SegmentedControlField as l, TextAreaFieldProps as m, CheckboxFieldProps as n, ImplementsFormField as o, TextAreaField as p, ComboboxField as r, RadioGroupField as s, CheckboxField as t, SegmentedControlFieldProps as u, ToggleFieldProps as v, splitOutFormFieldProps as y };
|
|
71
|
-
//# sourceMappingURL=inputFields-
|
|
71
|
+
//# sourceMappingURL=inputFields-DVLg_2wz.d.mts.map
|
package/dist/inputFields.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ToggleField, a as ComboboxSingleSelectFieldProps, c as RadioGroupFieldProps, d as SelectField, f as SelectFieldProps, g as TextFieldProps, h as TextField, i as ComboboxMultiSelectFieldProps, l as SegmentedControlField, m as TextAreaFieldProps, n as CheckboxFieldProps, o as ImplementsFormField, p as TextAreaField, r as ComboboxField, s as RadioGroupField, t as CheckboxField, u as SegmentedControlFieldProps, v as ToggleFieldProps, y as splitOutFormFieldProps } from "./inputFields-
|
|
1
|
+
import { _ as ToggleField, a as ComboboxSingleSelectFieldProps, c as RadioGroupFieldProps, d as SelectField, f as SelectFieldProps, g as TextFieldProps, h as TextField, i as ComboboxMultiSelectFieldProps, l as SegmentedControlField, m as TextAreaFieldProps, n as CheckboxFieldProps, o as ImplementsFormField, p as TextAreaField, r as ComboboxField, s as RadioGroupField, t as CheckboxField, u as SegmentedControlFieldProps, v as ToggleFieldProps, y as splitOutFormFieldProps } from "./inputFields-DVLg_2wz.mjs";
|
|
2
2
|
export { CheckboxField, CheckboxFieldProps, ComboboxField, ComboboxMultiSelectFieldProps, ComboboxSingleSelectFieldProps, ImplementsFormField, RadioGroupField, RadioGroupFieldProps, SegmentedControlField, SegmentedControlFieldProps, SelectField, SelectFieldProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, ToggleField, ToggleFieldProps, splitOutFormFieldProps };
|
|
@@ -193,7 +193,7 @@ interface JsonSchemaObject<PropertySchema = JsonSchema> extends JsonSchemaBase {
|
|
|
193
193
|
fieldType?: FieldTypeFor<'object'>;
|
|
194
194
|
isVariable?: boolean;
|
|
195
195
|
rootDescription?: string;
|
|
196
|
-
additionalProperties?: boolean;
|
|
196
|
+
additionalProperties?: boolean | JsonSchema;
|
|
197
197
|
baseSupportedFunctions?: string[];
|
|
198
198
|
}
|
|
199
199
|
declare const EMPTY_JSON_SCHEMA_OBJECT: JsonSchemaObject;
|
|
@@ -275,4 +275,4 @@ declare const isSchemaTypeAllowed: (schema: JsonSchema | FunctionJsonSchema | nu
|
|
|
275
275
|
declare const extendSchema: (schemaMap: ObjectSchemaMap, schemaToAdd: Partial<Record<keyof typeof schemaMap, Record<string, JsonSchema>>>) => ObjectSchemaMap;
|
|
276
276
|
//#endregion
|
|
277
277
|
export { isNonPrimitiveSchema as $, getNonNullableRefSchema as A, isJsonSchemaArray as B, JsonSchemaString as C, functionParametersFromJsonSchema as D, extendSchema as E, isFileField as F, isJsonSchemaInteger as G, isJsonSchemaChoices as H, isFileSchema as I, isJsonSchemaPlatformObject as J, isJsonSchemaNumber as K, isFileType as L, humanizeSchemaType as M, isArrayWithFileItems as N, genericArrayItemSchema as O, isConvertedTypeSchema as P, isJsonType as Q, isFunctionSchema as R, JsonSchemaRef as S, JsonSchemaTypes as T, isJsonSchemaDate as U, isJsonSchemaBoolean as V, isJsonSchemaDateTime as W, isJsonSchemaSecret as X, isJsonSchemaRef as Y, isJsonSchemaString as Z, JsonSchemaNull as _, JsonSchemaArray as a, FunctionConvertedTypeSchema as at, JsonSchemaObjectKey as b, JsonSchemaBasicTypes as c, FunctionParameterJsonSchema as ct, JsonSchemaCore as d, ObjectSchemaMap as dt, isOneOfSchema as et, JsonSchemaCustomTypes as f, JsonSchemaInteger as g, JsonSchemaFieldTypeRegistry as h, JsonSchemaAnyOf as i, CollectionMetaJsonSchema as it, getNonNullableType as j, getArrayItemType as k, JsonSchemaBoolean as l, FunctionReturnTypeJsonSchema as lt, JsonSchemaFieldType as m, JsonSchema as n, isPrecedingSchema as nt, JsonSchemaBase as o, FunctionGenericParameterSchema as ot, JsonSchemaEmpty as p, isJsonSchemaObject as q, JsonSchemaAllTypes as r, isSchemaTypeAllowed as rt, JsonSchemaBasic as s, FunctionJsonSchema as st, EMPTY_JSON_SCHEMA_OBJECT as t, isOneOfStringSchema as tt, JsonSchemaConst as u, GenericType as ut, JsonSchemaNumber as v, JsonSchemaStringifiableTypes as w, JsonSchemaObjectKeyRegistry as x, JsonSchemaObject as y, isGenericParameterSchema as z };
|
|
278
|
-
//# sourceMappingURL=jsonSchema-
|
|
278
|
+
//# sourceMappingURL=jsonSchema-DmOA0Lnu.d.mts.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { i as PersonaTheme } from "../theme-VNhXxAF3.mjs";
|
|
2
2
|
import { n as RouterAdapter } from "../types-HxiGiwQN.mjs";
|
|
3
3
|
import { n as CommonStringOverrides } from "../strings-FWNWdSn1.mjs";
|
|
4
|
+
import { ColorMode } from "./colorMode.mjs";
|
|
4
5
|
import { FC, PropsWithChildren } from "react";
|
|
5
6
|
|
|
6
7
|
//#region lib/PDSProvider.d.ts
|
|
@@ -18,6 +19,13 @@ interface PDSProviderProps {
|
|
|
18
19
|
* the historical English format.
|
|
19
20
|
*/
|
|
20
21
|
locale?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Installs the semantic palette for this mode on `theme` (`withPdsTheming(theme, colorMode)`) and
|
|
24
|
+
* publishes it as `--pds-*` variables on `:root`. Omit it to keep today's behaviour. Pass
|
|
25
|
+
* `readDocumentColorMode()` from `@persona/design-system/lib/colorMode` to follow the host
|
|
26
|
+
* dashboard.
|
|
27
|
+
*/
|
|
28
|
+
colorMode?: ColorMode;
|
|
21
29
|
}
|
|
22
30
|
declare const PDSProvider: FC<PropsWithChildren<PDSProviderProps>>;
|
|
23
31
|
//#endregion
|
package/dist/lib/PDSProvider.mjs
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import defaultTheme from "../theme.mjs";
|
|
1
|
+
import defaultTheme, { withPdsTheming } from "../theme.mjs";
|
|
2
2
|
import { t as ThemeProvider } from "../styledComponentsInterop-NxwFjeA4.mjs";
|
|
3
|
+
import { SemanticCssVariables } from "./colorMode.mjs";
|
|
3
4
|
import { s as PDSI18nProvider } from "../i18n-BscB9FUy.mjs";
|
|
4
5
|
import { n as RouterProvider } from "../RouterContext-nPSb55p9.mjs";
|
|
5
|
-
import {
|
|
6
|
+
import { useMemo } from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
8
|
//#region lib/PDSProvider.tsx
|
|
7
|
-
const PDSProvider = ({ children, theme = defaultTheme, router, strings, locale }) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
const PDSProvider = ({ children, theme = defaultTheme, router, strings, locale, colorMode }) => {
|
|
10
|
+
const providedTheme = useMemo(() => colorMode ? withPdsTheming(theme, colorMode) : theme, [theme, colorMode]);
|
|
11
|
+
const routed = router ? /* @__PURE__ */ jsx(RouterProvider, {
|
|
12
|
+
...router,
|
|
13
|
+
children
|
|
14
|
+
}) : children;
|
|
15
|
+
return /* @__PURE__ */ jsxs(ThemeProvider, {
|
|
16
|
+
theme: providedTheme,
|
|
17
|
+
children: [colorMode && /* @__PURE__ */ jsx(SemanticCssVariables, { mode: colorMode }), /* @__PURE__ */ jsx(PDSI18nProvider, {
|
|
11
18
|
strings,
|
|
12
19
|
locale,
|
|
13
|
-
children:
|
|
14
|
-
|
|
15
|
-
children
|
|
16
|
-
}) : children
|
|
17
|
-
})
|
|
20
|
+
children: routed
|
|
21
|
+
})]
|
|
18
22
|
});
|
|
19
23
|
};
|
|
20
24
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PDSProvider.mjs","names":[],"sources":["../../lib/PDSProvider.tsx"],"sourcesContent":["import type
|
|
1
|
+
{"version":3,"file":"PDSProvider.mjs","names":[],"sources":["../../lib/PDSProvider.tsx"],"sourcesContent":["import { type FC, type PropsWithChildren, useMemo } from 'react';\nimport { ThemeProvider } from 'styled-components';\n\nimport defaultTheme, { type PersonaTheme, withPdsTheming } from '@persona/design-system/theme';\nimport { type ColorMode, SemanticCssVariables } from 'design-system/lib/colorMode';\nimport { PDSI18nProvider, type CommonStringOverrides } from 'design-system/lib/i18n';\nimport { RouterProvider, type RouterAdapter } from 'design-system/lib/router';\n\ninterface PDSProviderProps {\n theme?: PersonaTheme;\n router?: RouterAdapter;\n /**\n * Translations for built-in component copy (table footer, column configuration, saved-view\n * tabs, filters). Keys you omit keep their English defaults. See `CommonStrings` in\n * `@persona/design-system/lib/i18n` for the keys.\n */\n strings?: CommonStringOverrides;\n /**\n * BCP 47 locale (e.g. `'fr-CA'`). Table dates and times follow it; omitted or `'en-US'` keeps\n * the historical English format.\n */\n locale?: string;\n /**\n * Installs the semantic palette for this mode on `theme` (`withPdsTheming(theme, colorMode)`) and\n * publishes it as `--pds-*` variables on `:root`. Omit it to keep today's behaviour. Pass\n * `readDocumentColorMode()` from `@persona/design-system/lib/colorMode` to follow the host\n * dashboard.\n */\n colorMode?: ColorMode;\n}\n\nconst PDSProvider: FC<PropsWithChildren<PDSProviderProps>> = ({\n children,\n theme = defaultTheme,\n router,\n strings,\n locale,\n colorMode,\n}) => {\n const providedTheme = useMemo(\n () => (colorMode ? withPdsTheming(theme, colorMode) : theme),\n [theme, colorMode],\n );\n const routed = router ? <RouterProvider {...router}>{children}</RouterProvider> : children;\n // Always mounted, even without `strings`/`locale` (it then inherits the outer values), so a host\n // that turns localization on or off later updates context instead of remounting the subtree.\n return (\n <ThemeProvider theme={providedTheme}>\n {colorMode && <SemanticCssVariables mode={colorMode} />}\n <PDSI18nProvider strings={strings} locale={locale}>\n {routed}\n </PDSI18nProvider>\n </ThemeProvider>\n );\n};\n\nexport default PDSProvider;\n"],"mappings":";;;;;;;;AA+BA,MAAM,eAAwD,EAC5D,UACA,QAAQ,cACR,QACA,SACA,QACA,gBACI;CACJ,MAAM,gBAAgB,cACb,YAAY,eAAe,OAAO,UAAU,GAAG,OACtD,CAAC,OAAO,UAAU,CACnB;CACD,MAAM,SAAS,SAAS,oBAAC,gBAAD;EAAgB,GAAI;EAAS;EAA0B,CAAA,GAAG;AAGlF,QACE,qBAAC,eAAD;EAAe,OAAO;YAAtB,CACG,aAAa,oBAAC,sBAAD,EAAsB,MAAM,WAAa,CAAA,EACvD,oBAAC,iBAAD;GAA0B;GAAiB;aACxC;GACe,CAAA,CACJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PossibleChainSchema, t as ChainRoot } from "../chainTypes-
|
|
1
|
+
import { n as PossibleChainSchema, t as ChainRoot } from "../chainTypes-Cjp0zZ4E.mjs";
|
|
2
2
|
export { ChainRoot, PossibleChainSchema };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { n as SemanticTokens } from "../semantic-DjKvtUi8.mjs";
|
|
2
|
+
import { i as PersonaTheme, r as PdsThemingMode } from "../theme-VNhXxAF3.mjs";
|
|
3
|
+
import { FC, PropsWithChildren } from "react";
|
|
4
|
+
import * as _$styled_components0 from "styled-components";
|
|
5
|
+
|
|
6
|
+
//#region lib/colorMode.d.ts
|
|
7
|
+
type ColorMode = Exclude<PdsThemingMode, 'off'>;
|
|
8
|
+
/** `'dark'` only when `<html data-color-mode="dark">`; anything else (absent, `DARK`, junk) is light. */
|
|
9
|
+
declare function readDocumentColorMode(doc?: Document): ColorMode;
|
|
10
|
+
/** `withPdsTheming(baseTheme, mode)`; `baseTheme` defaults to the PDS default theme. */
|
|
11
|
+
declare function createPdsTheme(mode: ColorMode, baseTheme?: PersonaTheme): PersonaTheme;
|
|
12
|
+
/** `FgPrimary` -> `--pds-fg-primary`, `FeedbackDanger1` -> `--pds-feedback-danger-1`. */
|
|
13
|
+
declare function semanticCssVariable(token: keyof SemanticTokens): string;
|
|
14
|
+
/** `--pds-*: value;` for every semantic token. */
|
|
15
|
+
declare function semanticCssDeclarations(semantic: SemanticTokens): string;
|
|
16
|
+
/** Global style: publishes the palette for `mode` on `:root`. */
|
|
17
|
+
declare const SemanticCssVariables: _$styled_components0.GlobalStyleComponent<{
|
|
18
|
+
mode: ColorMode;
|
|
19
|
+
}, _$styled_components0.DefaultTheme>;
|
|
20
|
+
/**
|
|
21
|
+
* Renders `children` in `mode`, whatever the surrounding mode is: a nested `ThemeProvider` with
|
|
22
|
+
* `withPdsTheming(outerTheme, mode)` and a `display: contents` wrapper carrying `data-color-mode`
|
|
23
|
+
* and the `--pds-*` declarations for `mode`.
|
|
24
|
+
*/
|
|
25
|
+
declare const ColorModeScope: FC<PropsWithChildren<{
|
|
26
|
+
mode: ColorMode;
|
|
27
|
+
}>>;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { ColorMode, ColorModeScope, SemanticCssVariables, createPdsTheme, readDocumentColorMode, semanticCssDeclarations, semanticCssVariable };
|
|
30
|
+
//# sourceMappingURL=colorMode.d.mts.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { semanticDark, semanticLight } from "../variables/semantic.mjs";
|
|
2
|
+
import defaultTheme, { withPdsTheming } from "../theme.mjs";
|
|
3
|
+
import { a as styled, n as createGlobalStyle, o as useTheme, t as ThemeProvider } from "../styledComponentsInterop-NxwFjeA4.mjs";
|
|
4
|
+
import { useMemo } from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
//#region lib/colorMode.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Colour-mode helpers for apps embedded in the Persona dashboard.
|
|
9
|
+
*
|
|
10
|
+
* The host stamps the dashboard's mode on `<html data-color-mode>` before first paint (an inline
|
|
11
|
+
* script in each app's `index.html`). These helpers read it, install the matching semantic palette
|
|
12
|
+
* on the styled-components theme, and publish that palette as `--pds-*` CSS custom properties so
|
|
13
|
+
* plain stylesheets resolve the same colours as PDS components.
|
|
14
|
+
*
|
|
15
|
+
* Most apps only need `PDSProvider colorMode={readDocumentColorMode()}`. `ColorModeScope` renders
|
|
16
|
+
* part of a page in the other mode.
|
|
17
|
+
*
|
|
18
|
+
* Portals: PDS overlays portal to `document.body`. styled-components context crosses the portal, so
|
|
19
|
+
* a PDS overlay opened inside a `ColorModeScope` renders in the scope's mode. CSS custom properties
|
|
20
|
+
* don't: plain CSS inside a portaled overlay resolves the `:root` palette, not the scope's.
|
|
21
|
+
*/
|
|
22
|
+
/** `'dark'` only when `<html data-color-mode="dark">`; anything else (absent, `DARK`, junk) is light. */
|
|
23
|
+
function readDocumentColorMode(doc = document) {
|
|
24
|
+
return doc.documentElement.dataset.colorMode === "dark" ? "dark" : "light";
|
|
25
|
+
}
|
|
26
|
+
/** `withPdsTheming(baseTheme, mode)`; `baseTheme` defaults to the PDS default theme. */
|
|
27
|
+
function createPdsTheme(mode, baseTheme = defaultTheme) {
|
|
28
|
+
return withPdsTheming(baseTheme, mode);
|
|
29
|
+
}
|
|
30
|
+
/** `FgPrimary` -> `--pds-fg-primary`, `FeedbackDanger1` -> `--pds-feedback-danger-1`. */
|
|
31
|
+
function semanticCssVariable(token) {
|
|
32
|
+
return `--pds-${token.replace(/([a-z])([A-Z0-9])/g, "$1-$2").replace(/([0-9])([A-Z])/g, "$1-$2").toLowerCase()}`;
|
|
33
|
+
}
|
|
34
|
+
/** `--pds-*: value;` for every semantic token. */
|
|
35
|
+
function semanticCssDeclarations(semantic) {
|
|
36
|
+
return Object.keys(semantic).map((token) => `${semanticCssVariable(token)}: ${semantic[token]};`).join("\n");
|
|
37
|
+
}
|
|
38
|
+
const semanticCss = {
|
|
39
|
+
light: semanticCssDeclarations(semanticLight),
|
|
40
|
+
dark: semanticCssDeclarations(semanticDark)
|
|
41
|
+
};
|
|
42
|
+
/** Global style: publishes the palette for `mode` on `:root`. */
|
|
43
|
+
const SemanticCssVariables = createGlobalStyle`
|
|
44
|
+
:root {
|
|
45
|
+
${({ mode }) => semanticCss[mode]}
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
const ColorModeScopeRoot = styled.div`
|
|
49
|
+
display: contents;
|
|
50
|
+
${({ $mode }) => semanticCss[$mode]}
|
|
51
|
+
`;
|
|
52
|
+
/**
|
|
53
|
+
* Renders `children` in `mode`, whatever the surrounding mode is: a nested `ThemeProvider` with
|
|
54
|
+
* `withPdsTheming(outerTheme, mode)` and a `display: contents` wrapper carrying `data-color-mode`
|
|
55
|
+
* and the `--pds-*` declarations for `mode`.
|
|
56
|
+
*/
|
|
57
|
+
const ColorModeScope = ({ children, mode }) => {
|
|
58
|
+
const outerTheme = useTheme();
|
|
59
|
+
return /* @__PURE__ */ jsx(ThemeProvider, {
|
|
60
|
+
theme: useMemo(() => withPdsTheming(outerTheme ?? defaultTheme, mode), [outerTheme, mode]),
|
|
61
|
+
children: /* @__PURE__ */ jsx(ColorModeScopeRoot, {
|
|
62
|
+
$mode: mode,
|
|
63
|
+
"data-color-mode": mode,
|
|
64
|
+
children
|
|
65
|
+
})
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { ColorModeScope, SemanticCssVariables, createPdsTheme, readDocumentColorMode, semanticCssDeclarations, semanticCssVariable };
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=colorMode.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colorMode.mjs","names":[],"sources":["../../lib/colorMode.tsx"],"sourcesContent":["/**\n * Colour-mode helpers for apps embedded in the Persona dashboard.\n *\n * The host stamps the dashboard's mode on `<html data-color-mode>` before first paint (an inline\n * script in each app's `index.html`). These helpers read it, install the matching semantic palette\n * on the styled-components theme, and publish that palette as `--pds-*` CSS custom properties so\n * plain stylesheets resolve the same colours as PDS components.\n *\n * Most apps only need `PDSProvider colorMode={readDocumentColorMode()}`. `ColorModeScope` renders\n * part of a page in the other mode.\n *\n * Portals: PDS overlays portal to `document.body`. styled-components context crosses the portal, so\n * a PDS overlay opened inside a `ColorModeScope` renders in the scope's mode. CSS custom properties\n * don't: plain CSS inside a portaled overlay resolves the `:root` palette, not the scope's.\n */\nimport { type FC, type PropsWithChildren, useMemo } from 'react';\nimport styled, { createGlobalStyle, ThemeProvider, useTheme } from 'styled-components';\n\nimport defaultTheme, {\n type PdsThemingMode,\n type PersonaTheme,\n withPdsTheming,\n} from 'design-system/theme';\nimport { semanticDark, semanticLight, type SemanticTokens } from 'design-system/variables/semantic';\n\nexport type ColorMode = Exclude<PdsThemingMode, 'off'>;\n\n/** `'dark'` only when `<html data-color-mode=\"dark\">`; anything else (absent, `DARK`, junk) is light. */\nexport function readDocumentColorMode(doc: Document = document): ColorMode {\n return doc.documentElement.dataset.colorMode === 'dark' ? 'dark' : 'light';\n}\n\n/** `withPdsTheming(baseTheme, mode)`; `baseTheme` defaults to the PDS default theme. */\nexport function createPdsTheme(\n mode: ColorMode,\n baseTheme: PersonaTheme = defaultTheme,\n): PersonaTheme {\n return withPdsTheming(baseTheme, mode);\n}\n\n/** `FgPrimary` -> `--pds-fg-primary`, `FeedbackDanger1` -> `--pds-feedback-danger-1`. */\nexport function semanticCssVariable(token: keyof SemanticTokens): string {\n return `--pds-${token\n .replace(/([a-z])([A-Z0-9])/g, '$1-$2')\n .replace(/([0-9])([A-Z])/g, '$1-$2')\n .toLowerCase()}`;\n}\n\n/** `--pds-*: value;` for every semantic token. */\nexport function semanticCssDeclarations(semantic: SemanticTokens): string {\n return (Object.keys(semantic) as (keyof SemanticTokens)[])\n .map((token) => `${semanticCssVariable(token)}: ${semantic[token]};`)\n .join('\\n');\n}\n\nconst semanticCss: Record<ColorMode, string> = {\n light: semanticCssDeclarations(semanticLight),\n dark: semanticCssDeclarations(semanticDark),\n};\n\n/** Global style: publishes the palette for `mode` on `:root`. */\nexport const SemanticCssVariables = createGlobalStyle<{ mode: ColorMode }>`\n :root {\n ${({ mode }) => semanticCss[mode]}\n }\n`;\n\nconst ColorModeScopeRoot = styled.div<{ $mode: ColorMode }>`\n display: contents;\n ${({ $mode }) => semanticCss[$mode]}\n`;\n\n/**\n * Renders `children` in `mode`, whatever the surrounding mode is: a nested `ThemeProvider` with\n * `withPdsTheming(outerTheme, mode)` and a `display: contents` wrapper carrying `data-color-mode`\n * and the `--pds-*` declarations for `mode`.\n */\nexport const ColorModeScope: FC<PropsWithChildren<{ mode: ColorMode }>> = ({ children, mode }) => {\n const outerTheme = useTheme() as PersonaTheme | undefined;\n const scopedTheme = useMemo(\n () => withPdsTheming(outerTheme ?? defaultTheme, mode),\n [outerTheme, mode],\n );\n\n return (\n <ThemeProvider theme={scopedTheme}>\n <ColorModeScopeRoot $mode={mode} data-color-mode={mode}>\n {children}\n </ColorModeScopeRoot>\n </ThemeProvider>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,sBAAsB,MAAgB,UAAqB;AACzE,QAAO,IAAI,gBAAgB,QAAQ,cAAc,SAAS,SAAS;;;AAIrE,SAAgB,eACd,MACA,YAA0B,cACZ;AACd,QAAO,eAAe,WAAW,KAAK;;;AAIxC,SAAgB,oBAAoB,OAAqC;AACvE,QAAO,SAAS,MACb,QAAQ,sBAAsB,QAAQ,CACtC,QAAQ,mBAAmB,QAAQ,CACnC,aAAa;;;AAIlB,SAAgB,wBAAwB,UAAkC;AACxE,QAAQ,OAAO,KAAK,SAAS,CAC1B,KAAK,UAAU,GAAG,oBAAoB,MAAM,CAAC,IAAI,SAAS,OAAO,GAAG,CACpE,KAAK,KAAK;;AAGf,MAAM,cAAyC;CAC7C,OAAO,wBAAwB,cAAc;CAC7C,MAAM,wBAAwB,aAAa;CAC5C;;AAGD,MAAa,uBAAuB,iBAAsC;;OAEnE,EAAE,WAAW,YAAY,MAAM;;;AAItC,MAAM,qBAAqB,OAAO,GAAyB;;KAEtD,EAAE,YAAY,YAAY,OAAO;;;;;;;AAQtC,MAAa,kBAA8D,EAAE,UAAU,WAAW;CAChG,MAAM,aAAa,UAAU;AAM7B,QACE,oBAAC,eAAD;EAAe,OANG,cACZ,eAAe,cAAc,cAAc,KAAK,EACtD,CAAC,YAAY,KAAK,CAIe;YAC/B,oBAAC,oBAAD;GAAoB,OAAO;GAAM,mBAAiB;GAC/C;GACkB,CAAA;EACP,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as DateFilterPreset, c as RelativeDateFilterValue, n as AbsoluteDateRange, o as DateFilterValue } from "../../types-
|
|
2
|
-
import { a as selectedPresetFor, i as resolveDateFilterValue, r as parseDateFilterValue } from "../../codec-
|
|
1
|
+
import { a as DateFilterPreset, c as RelativeDateFilterValue, n as AbsoluteDateRange, o as DateFilterValue } from "../../types-39QvBZuZ.mjs";
|
|
2
|
+
import { a as selectedPresetFor, i as resolveDateFilterValue, r as parseDateFilterValue } from "../../codec-KAvQRjTW.mjs";
|
|
3
3
|
export { AbsoluteDateRange, DateFilterPreset, DateFilterValue, RelativeDateFilterValue, parseDateFilterValue, resolveDateFilterValue, selectedPresetFor };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as isNonPrimitiveSchema, A as getNonNullableRefSchema, B as isJsonSchemaArray, C as JsonSchemaString, D as functionParametersFromJsonSchema, E as extendSchema, F as isFileField, G as isJsonSchemaInteger, H as isJsonSchemaChoices, I as isFileSchema, J as isJsonSchemaPlatformObject, K as isJsonSchemaNumber, L as isFileType, M as humanizeSchemaType, N as isArrayWithFileItems, O as genericArrayItemSchema, P as isConvertedTypeSchema, Q as isJsonType, R as isFunctionSchema, S as JsonSchemaRef, T as JsonSchemaTypes, U as isJsonSchemaDate, V as isJsonSchemaBoolean, W as isJsonSchemaDateTime, X as isJsonSchemaSecret, Y as isJsonSchemaRef, Z as isJsonSchemaString, _ as JsonSchemaNull, a as JsonSchemaArray, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, d as JsonSchemaCore, et as isOneOfSchema, f as JsonSchemaCustomTypes, g as JsonSchemaInteger, h as JsonSchemaFieldTypeRegistry, i as JsonSchemaAnyOf, j as getNonNullableType, k as getArrayItemType, l as JsonSchemaBoolean, m as JsonSchemaFieldType, n as JsonSchema, nt as isPrecedingSchema, o as JsonSchemaBase, p as JsonSchemaEmpty, q as isJsonSchemaObject, r as JsonSchemaAllTypes, rt as isSchemaTypeAllowed, s as JsonSchemaBasic, t as EMPTY_JSON_SCHEMA_OBJECT, tt as isOneOfStringSchema, u as JsonSchemaConst, v as JsonSchemaNumber, w as JsonSchemaStringifiableTypes, x as JsonSchemaObjectKeyRegistry, y as JsonSchemaObject, z as isGenericParameterSchema } from "../jsonSchema-
|
|
1
|
+
import { $ as isNonPrimitiveSchema, A as getNonNullableRefSchema, B as isJsonSchemaArray, C as JsonSchemaString, D as functionParametersFromJsonSchema, E as extendSchema, F as isFileField, G as isJsonSchemaInteger, H as isJsonSchemaChoices, I as isFileSchema, J as isJsonSchemaPlatformObject, K as isJsonSchemaNumber, L as isFileType, M as humanizeSchemaType, N as isArrayWithFileItems, O as genericArrayItemSchema, P as isConvertedTypeSchema, Q as isJsonType, R as isFunctionSchema, S as JsonSchemaRef, T as JsonSchemaTypes, U as isJsonSchemaDate, V as isJsonSchemaBoolean, W as isJsonSchemaDateTime, X as isJsonSchemaSecret, Y as isJsonSchemaRef, Z as isJsonSchemaString, _ as JsonSchemaNull, a as JsonSchemaArray, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, d as JsonSchemaCore, et as isOneOfSchema, f as JsonSchemaCustomTypes, g as JsonSchemaInteger, h as JsonSchemaFieldTypeRegistry, i as JsonSchemaAnyOf, j as getNonNullableType, k as getArrayItemType, l as JsonSchemaBoolean, m as JsonSchemaFieldType, n as JsonSchema, nt as isPrecedingSchema, o as JsonSchemaBase, p as JsonSchemaEmpty, q as isJsonSchemaObject, r as JsonSchemaAllTypes, rt as isSchemaTypeAllowed, s as JsonSchemaBasic, t as EMPTY_JSON_SCHEMA_OBJECT, tt as isOneOfStringSchema, u as JsonSchemaConst, v as JsonSchemaNumber, w as JsonSchemaStringifiableTypes, x as JsonSchemaObjectKeyRegistry, y as JsonSchemaObject, z as isGenericParameterSchema } from "../jsonSchema-DmOA0Lnu.mjs";
|
|
2
2
|
export { EMPTY_JSON_SCHEMA_OBJECT, JsonSchema, JsonSchemaAllTypes, JsonSchemaAnyOf, JsonSchemaArray, JsonSchemaBase, JsonSchemaBasic, JsonSchemaBasicTypes, JsonSchemaBoolean, JsonSchemaConst, JsonSchemaCore, JsonSchemaCustomTypes, JsonSchemaEmpty, JsonSchemaFieldType, JsonSchemaFieldTypeRegistry, JsonSchemaInteger, JsonSchemaNull, JsonSchemaNumber, JsonSchemaObject, JsonSchemaObjectKey, JsonSchemaObjectKeyRegistry, JsonSchemaRef, JsonSchemaString, JsonSchemaStringifiableTypes, JsonSchemaTypes, extendSchema, functionParametersFromJsonSchema, genericArrayItemSchema, getArrayItemType, getNonNullableRefSchema, getNonNullableType, humanizeSchemaType, isArrayWithFileItems, isConvertedTypeSchema, isFileField, isFileSchema, isFileType, isFunctionSchema, isGenericParameterSchema, isJsonSchemaArray, isJsonSchemaBoolean, isJsonSchemaChoices, isJsonSchemaDate, isJsonSchemaDateTime, isJsonSchemaInteger, isJsonSchemaNumber, isJsonSchemaObject, isJsonSchemaPlatformObject, isJsonSchemaRef, isJsonSchemaSecret, isJsonSchemaString, isJsonType, isNonPrimitiveSchema, isOneOfSchema, isOneOfStringSchema, isPrecedingSchema, isSchemaTypeAllowed };
|