@povio/ui 5.0.0-rc.7 → 5.0.0-rc.8
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/dist/Button-BPTvffuk.js +86 -0
- package/dist/{Calendar-BTjajO6i.js → Calendar-BxtOuqIM.js} +3 -3
- package/dist/{Checkbox-CV1ILXXO.js → Checkbox-DYxXYfKL.js} +3 -2
- package/dist/CheckboxCheckmark-D_uc9pon.js +44 -0
- package/dist/{ComponentGallery-Dp0kZVZM.js → ComponentGallery-Da70Y4_Q.js} +17 -17
- package/dist/{DatePicker-DOLL7mkc.js → DatePicker-wulRNGyL.js} +6 -6
- package/dist/{DatePickerInput-BLBcySA2.js → DatePickerInput-BB_vPlKu.js} +3 -3
- package/dist/{DateRangePicker-BF-1CztH.js → DateRangePicker-B0tMVREG.js} +6 -6
- package/dist/{DateTimePicker-Cj0qvJUz.js → DateTimePicker-WGMr0bEH.js} +6 -6
- package/dist/{FileInput-Br5DQaGQ.js → FileInput-DP105Iy9.js} +2 -2
- package/dist/{FileUpload--7ub3EZO.js → FileUpload-CgNDIvzg.js} +3 -3
- package/dist/{Form-BJ12MjE-.d.ts → Form-DbEWnCKc.d.ts} +1 -1
- package/dist/{FormField-B99dLt8o.js → FormField-AY25LzbW.js} +3 -96
- package/dist/{FormFieldError-DeOHHLo2.js → FormFieldError-BVAO5p7H.js} +2 -13
- package/dist/{InputItem-CIxbTxZu.js → InputItem-ZeN-aIz8.js} +11 -11
- package/dist/{Inputs-DJSKiaWY.js → Inputs-BC5q5Cvj.js} +1 -1
- package/dist/{Inputs-DA73LmLc.d.ts → Inputs-O84btFJL.d.ts} +1 -1
- package/dist/{NumberRangeInput-B8-LHfg3.js → NumberRangeInput-B_sMIpP1.js} +2 -2
- package/dist/{PaginationList-DtvuP63b.js → PaginationList-DptMNpNs.js} +1 -1
- package/dist/{Progress-B3mY9rIP.js → Progress-Du30L4_s.js} +2 -27
- package/dist/{RadioGroup-DOw3PRoX.js → RadioGroup-CUGNSJql.js} +3 -82
- package/dist/{RichTextEditor-D4yN7Wj7.js → RichTextEditor-VDOpj7sk.js} +3 -3
- package/dist/{Select-UR0ec2Ux.js → Select-B2pAfwRk.js} +2 -2
- package/dist/{Slider-CzEmKYBF.js → Slider-Clc1szFY.js} +1 -1
- package/dist/{Switch-CqnGEdeD.js → Switch-CimmMqEk.js} +3 -27
- package/dist/{Table-BN2_J_Ne.js → Table-CqepqSfe.js} +2 -1
- package/dist/{TextArea-D8WkKsGn.js → TextArea-B3teIhsJ.js} +3 -5
- package/dist/TextArea.cva-Bb73hriz.js +5 -0
- package/dist/{TimePicker-C4taAOFQ.js → TimePicker-CU_yL2sY.js} +4 -4
- package/dist/{Toast-DtG3pA61.js → Toast-DPbnLlBi.js} +1 -1
- package/dist/{ToggleGroup-DOk27fgI.js → ToggleGroup-BULVwErp.js} +1 -1
- package/dist/{Button-C5rv4Cr2.js → button.cva-rv5Uq4aW.js} +1 -84
- package/dist/{CheckboxCheckmark-CpC3wlMs.js → checkbox.cva-IfOByVLA.js} +1 -42
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/alert.js +116 -1
- package/dist/components/autocomplete.js +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox-group.js +3 -3
- package/dist/components/checkbox.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/date-time-picker.js +1 -1
- package/dist/components/file-input.js +1 -1
- package/dist/components/file-upload-container.js +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/form-field.js +1 -1
- package/dist/components/icon-button.js +1 -1
- package/dist/components/inline-icon-button.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/number-field.js +3 -3
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/pagination-list.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/query-autocomplete.js +1 -1
- package/dist/components/query-select.js +2 -2
- package/dist/components/radio-group.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/split-button.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tag.js +93 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/text-button.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toggle-button.js +1 -1
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/app-canvas.d.ts +79 -0
- package/dist/config/app-canvas.js +2253 -0
- package/dist/config/ui-config.d.ts +1 -1
- package/dist/config/ui-configurator.d.ts +1 -920
- package/dist/config/ui-configurator.js +127 -1174
- package/dist/configuration.context-f_FSPWhQ.d.ts +926 -0
- package/dist/{datePickerValue.utils-DCgoSrP3.js → datePickerValue.utils-CIFHjKwv.js} +1 -1
- package/dist/{dynamicInputs-iP39lVKf.d.ts → dynamicInputs-ByVMnx4Z.d.ts} +1 -1
- package/dist/formFieldError.cva-CsXaQRHX.js +14 -0
- package/dist/formFieldHelper.cva-B8F9LmsE.js +96 -0
- package/dist/grip-vertical-BVxcjdfr.js +54 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +24 -19
- package/dist/inspection-model-LuI36xTg.js +1339 -0
- package/dist/progress.cva-WQB8BGbk.js +28 -0
- package/dist/radio.cva-DGbvTymp.js +82 -0
- package/dist/rhf/checkbox.js +1 -1
- package/dist/rhf/date-picker.js +1 -1
- package/dist/rhf/date-range-picker.js +1 -1
- package/dist/rhf/date-time-picker.js +1 -1
- package/dist/rhf/file-input.js +1 -1
- package/dist/rhf/file-upload.js +1 -1
- package/dist/rhf/inputs.d.ts +1 -1
- package/dist/rhf/number-range-input.js +1 -1
- package/dist/rhf/radio-group.js +1 -1
- package/dist/rhf/rich-text-editor.js +1 -1
- package/dist/rhf/select.js +1 -1
- package/dist/rhf/slider.js +1 -1
- package/dist/rhf/switch.js +1 -1
- package/dist/rhf/text-area.js +1 -1
- package/dist/rhf/time-picker.js +1 -1
- package/dist/rhf/toggle-group.js +1 -1
- package/dist/rhf.d.ts +2 -2
- package/dist/rhf.js +24 -19
- package/dist/rich-text-editor.js +1 -1
- package/dist/{staticDateTimeSegments-DtU63_dw.js → staticDateTimeSegments-sf_ND7zL.js} +1 -1
- package/dist/{staticSelect.utils-uHa8f_c6.js → staticSelect.utils-CzlnLPPd.js} +3 -3
- package/dist/status.cva-6HxNR4EP.js +130 -0
- package/dist/styles/app-canvas.css +733 -0
- package/dist/styles/configurator.css +19 -5
- package/dist/switch.cva-BX3HOxbL.js +27 -0
- package/dist/{table.cva-D5oQ-QvA.js → table.cva-DlMT-zLD.js} +1 -54
- package/dist/{Tag-DPg5sL1Z.js → tag.cva-B3MudLeC.js} +1 -92
- package/dist/tanstack/checkbox.js +1 -1
- package/dist/tanstack/date-picker.js +1 -1
- package/dist/tanstack/date-range-picker.js +1 -1
- package/dist/tanstack/date-time-picker.js +1 -1
- package/dist/tanstack/file-input.js +1 -1
- package/dist/tanstack/file-upload.js +1 -1
- package/dist/tanstack/form.d.ts +1 -1
- package/dist/tanstack/form.js +1 -1
- package/dist/tanstack/inputs.d.ts +2 -2
- package/dist/tanstack/inputs.js +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.js +1 -1
- package/dist/tanstack/select.js +1 -1
- package/dist/tanstack/slider.js +1 -1
- package/dist/tanstack/switch.js +1 -1
- package/dist/tanstack/table.js +2 -2
- package/dist/tanstack/text-area.js +1 -1
- package/dist/tanstack/time-picker.js +1 -1
- package/dist/tanstack/toggle-group.js +1 -1
- package/dist/tanstack.d.ts +4 -4
- package/dist/tanstack.js +39 -31
- package/dist/{toast.runtime-cxex9e4E.js → toast.runtime-Zf-XyAC3.js} +1 -1
- package/dist/{useFieldAccessibility-ScC6Mtd5.js → useFieldAccessibility-CcBTgGfm.js} +1 -1
- package/dist/{useFormAutosave-DfuP7drj.js → useFormAutosave-BD_TFqDF.js} +1 -1
- package/dist/{useStaticInputHandoff-NeZVnci-.js → useStaticInputHandoff-kkQrc6DA.js} +1 -1
- package/dist/{useTableColumnConfig-Di0_w80v.js → useTableColumnConfig-aVUWC2Mp.js} +2 -2
- package/package.json +7 -1
- package/dist/Alert-CnvEb1D_.js +0 -244
- package/dist/token-classes-Bfcx0get.js +0 -163
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
2
|
-
import { i as checkboxContentWrapperDefinition, o as checkboxGroupLabelDefinition, r as checkboxContentRowDefinition } from "../CheckboxCheckmark-CpC3wlMs.js";
|
|
3
2
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
3
|
import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
|
|
5
|
-
import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } from "../Checkbox-
|
|
4
|
+
import { n as CheckboxBase, r as $ed8ccb2e23e76301$export$4aa08d5625cb8ead } from "../Checkbox-DYxXYfKL.js";
|
|
6
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
|
|
7
6
|
import { t as FieldController } from "../form.binding-CG1RPv6o.js";
|
|
8
|
-
import {
|
|
7
|
+
import { n as FormFieldLabel, t as FormField } from "../FormField-AY25LzbW.js";
|
|
9
8
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "../input.cva-DJA8ovm_.js";
|
|
9
|
+
import { a as checkboxGroupLabelDefinition, n as checkboxContentRowDefinition, r as checkboxContentWrapperDefinition } from "../checkbox.cva-IfOByVLA.js";
|
|
10
10
|
import { memo } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { useLabel } from "@react-aria/label";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CheckboxBase, t as Checkbox } from "../Checkbox-
|
|
1
|
+
import { n as CheckboxBase, t as Checkbox } from "../Checkbox-DYxXYfKL.js";
|
|
2
2
|
export { Checkbox, CheckboxBase };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DatePicker } from "../DatePicker-
|
|
1
|
+
import { t as DatePicker } from "../DatePicker-wulRNGyL.js";
|
|
2
2
|
export { DatePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as isDateRangePresetValue, c as resolveDateRangePreset, i as hydrateRelativeDateRangeValue, n as dateRangePresetValues, o as isRelativeDateRangeValue, r as getDateRangePreset, s as isStoredRelativeDateRangeValue, t as DateRangePicker } from "../DateRangePicker-
|
|
1
|
+
import { a as isDateRangePresetValue, c as resolveDateRangePreset, i as hydrateRelativeDateRangeValue, n as dateRangePresetValues, o as isRelativeDateRangeValue, r as getDateRangePreset, s as isStoredRelativeDateRangeValue, t as DateRangePicker } from "../DateRangePicker-B0tMVREG.js";
|
|
2
2
|
export { DateRangePicker, dateRangePresetValues, getDateRangePreset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, resolveDateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DateTimePicker } from "../DateTimePicker-
|
|
1
|
+
import { t as DateTimePicker } from "../DateTimePicker-WGMr0bEH.js";
|
|
2
2
|
export { DateTimePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileInput } from "../FileInput-
|
|
1
|
+
import { t as FileInput } from "../FileInput-DP105Iy9.js";
|
|
2
2
|
export { FileInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileUpload } from "../FileUpload
|
|
1
|
+
import { t as FileUpload } from "../FileUpload-CgNDIvzg.js";
|
|
2
2
|
export { FileUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FormField } from "../FormField-
|
|
1
|
+
import { t as FormField } from "../FormField-AY25LzbW.js";
|
|
2
2
|
export { FormField };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Tooltip } from "../Tooltip-CpG1nz7Y.js";
|
|
2
|
-
import { t as Button } from "../Button-
|
|
2
|
+
import { t as Button } from "../Button-BPTvffuk.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/buttons/IconButton/IconButton.tsx
|
package/dist/components/input.js
CHANGED
|
@@ -4,11 +4,11 @@ import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
|
|
|
4
4
|
import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../Input-BsbLZDtC.js";
|
|
5
5
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
|
|
6
6
|
import { t as FieldController } from "../form.binding-CG1RPv6o.js";
|
|
7
|
-
import { t as FormField } from "../FormField-
|
|
7
|
+
import { t as FormField } from "../FormField-AY25LzbW.js";
|
|
8
8
|
import { t as inputBaseDefinition } from "../input.cva-DJA8ovm_.js";
|
|
9
9
|
import { t as TooltipWrapper } from "../TooltipWrapper-3jyN0Wss.js";
|
|
10
|
-
import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-
|
|
11
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-
|
|
10
|
+
import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-CcBTgGfm.js";
|
|
11
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-kkQrc6DA.js";
|
|
12
12
|
import { memo, useEffect, useRef, useState } from "react";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
import { useFocusVisible } from "@react-aria/interactions";
|
|
@@ -5,11 +5,11 @@ import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../Input-BsbLZDt
|
|
|
5
5
|
import { a as $a3be900807531178$re_export$useLocale } from "../exports-BNrTn8Tj.js";
|
|
6
6
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
|
|
7
7
|
import { t as FieldController } from "../form.binding-CG1RPv6o.js";
|
|
8
|
-
import { t as FormField } from "../FormField-
|
|
8
|
+
import { t as FormField } from "../FormField-AY25LzbW.js";
|
|
9
9
|
import { t as inputBaseDefinition } from "../input.cva-DJA8ovm_.js";
|
|
10
10
|
import { t as TooltipWrapper } from "../TooltipWrapper-3jyN0Wss.js";
|
|
11
|
-
import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-
|
|
12
|
-
import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-
|
|
11
|
+
import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-CcBTgGfm.js";
|
|
12
|
+
import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-kkQrc6DA.js";
|
|
13
13
|
import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "../numberStatic.utils-BX50PSee.js";
|
|
14
14
|
import { t as IntlUtils } from "../intl.utils-zwAFoZ0U.js";
|
|
15
15
|
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as NumberRangeInput } from "../NumberRangeInput-
|
|
1
|
+
import { t as NumberRangeInput } from "../NumberRangeInput-B_sMIpP1.js";
|
|
2
2
|
export { NumberRangeInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationList } from "../PaginationList-
|
|
1
|
+
import { t as PaginationList } from "../PaginationList-DptMNpNs.js";
|
|
2
2
|
export { PaginationList };
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as Typography } from "../Typography-LU4z2pR1.js";
|
|
3
3
|
import "../i18n-CX2EjhJI.js";
|
|
4
4
|
import { NumberField } from "./number-field.js";
|
|
5
|
-
import { t as PaginationList } from "../PaginationList-
|
|
5
|
+
import { t as PaginationList } from "../PaginationList-DptMNpNs.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Progress } from "../Progress-
|
|
1
|
+
import { t as Progress } from "../Progress-Du30L4_s.js";
|
|
2
2
|
export { Progress };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-CG1RPv6o.js";
|
|
4
|
-
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-kkQrc6DA.js";
|
|
5
5
|
import { Autocomplete } from "./autocomplete.js";
|
|
6
6
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
7
7
|
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
|
|
3
3
|
import { t as FieldController } from "../form.binding-CG1RPv6o.js";
|
|
4
|
-
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-
|
|
5
|
-
import { t as Select } from "../Select-
|
|
4
|
+
import { t as getStaticInputFocusTarget } from "../useStaticInputHandoff-kkQrc6DA.js";
|
|
5
|
+
import { t as Select } from "../Select-B2pAfwRk.js";
|
|
6
6
|
import { n as getQueryItems, r as getSelectionIdsToResolve, t as useQueryAutocomplete } from "../useQueryAutocomplete-CraXvRm_.js";
|
|
7
7
|
import { memo, useCallback, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RadioGroup } from "../RadioGroup-
|
|
1
|
+
import { t as RadioGroup } from "../RadioGroup-CUGNSJql.js";
|
|
2
2
|
export { RadioGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../Select-
|
|
1
|
+
import { t as Select } from "../Select-B2pAfwRk.js";
|
|
2
2
|
export { Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Slider } from "../Slider-
|
|
1
|
+
import { t as Slider } from "../Slider-Clc1szFY.js";
|
|
2
2
|
export { Slider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as DropdownMenu } from "../DropdownMenu-5jmtgLXd.js";
|
|
2
2
|
import { t as ChevronDown } from "../chevron-down-B4Pr8bD3.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
-
import { t as Button } from "../Button-
|
|
4
|
+
import { t as Button } from "../Button-BPTvffuk.js";
|
|
5
5
|
import { IconButton } from "./icon-button.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Switch } from "../Switch-
|
|
1
|
+
import { t as Switch } from "../Switch-CimmMqEk.js";
|
|
2
2
|
export { Switch };
|
package/dist/components/tag.js
CHANGED
|
@@ -1,2 +1,94 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
2
|
+
import { t as X } from "../x-B6vfz8Ps.js";
|
|
3
|
+
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
|
+
import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
|
|
5
|
+
import { t as IconSlot } from "../IconSlot-DSK7qNxc.js";
|
|
6
|
+
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-D6KlWSFL.js";
|
|
7
|
+
import { t as Typography } from "../Typography-LU4z2pR1.js";
|
|
8
|
+
import { t as tagDefinition } from "../tag.cva-B3MudLeC.js";
|
|
9
|
+
import "../i18n-CX2EjhJI.js";
|
|
10
|
+
import { c } from "react/compiler-runtime";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { useTranslation } from "react-i18next";
|
|
13
|
+
//#region src/components/text/Tag/Tag.tsx
|
|
14
|
+
const Tag = (t0) => {
|
|
15
|
+
const $ = c(19);
|
|
16
|
+
const { className, children, dismissible, dismissable, isDisabled, disabled, onRemove, onDismiss, dismissButtonProps, excludeFromTabOrder, onPress, contentRef, textSize: textSizeProp, ...appearanceProps } = t0;
|
|
17
|
+
const uiConfig = UIConfig.useConfig();
|
|
18
|
+
const textSize = textSizeProp ?? uiConfig.tag.textSize;
|
|
19
|
+
const isDismissible = dismissible ?? dismissable ?? false;
|
|
20
|
+
const resolvedIsDisabled = isDisabled ?? disabled;
|
|
21
|
+
const tagCva = UIOverrides.useCva("tag.cva", tagDefinition);
|
|
22
|
+
const { t } = useTranslation("ui");
|
|
23
|
+
const t1 = onRemove ?? onDismiss ?? onPress;
|
|
24
|
+
let t2;
|
|
25
|
+
if ($[0] !== t) {
|
|
26
|
+
t2 = t(_temp);
|
|
27
|
+
$[0] = t;
|
|
28
|
+
$[1] = t2;
|
|
29
|
+
} else t2 = $[1];
|
|
30
|
+
let t3;
|
|
31
|
+
if ($[2] !== dismissButtonProps || $[3] !== excludeFromTabOrder || $[4] !== resolvedIsDisabled || $[5] !== t1 || $[6] !== t2) {
|
|
32
|
+
t3 = {
|
|
33
|
+
...dismissButtonProps,
|
|
34
|
+
excludeFromTabOrder,
|
|
35
|
+
isDisabled: resolvedIsDisabled,
|
|
36
|
+
onPress: t1,
|
|
37
|
+
"aria-label": t2
|
|
38
|
+
};
|
|
39
|
+
$[2] = dismissButtonProps;
|
|
40
|
+
$[3] = excludeFromTabOrder;
|
|
41
|
+
$[4] = resolvedIsDisabled;
|
|
42
|
+
$[5] = t1;
|
|
43
|
+
$[6] = t2;
|
|
44
|
+
$[7] = t3;
|
|
45
|
+
} else t3 = $[7];
|
|
46
|
+
const buttonProps = t3;
|
|
47
|
+
const t4 = tagCva({
|
|
48
|
+
...appearanceProps,
|
|
49
|
+
className: clsx("pointer-events-none", className)
|
|
50
|
+
});
|
|
51
|
+
const t5 = contentRef;
|
|
52
|
+
let t6;
|
|
53
|
+
if ($[8] !== children || $[9] !== t5 || $[10] !== textSize) {
|
|
54
|
+
t6 = /* @__PURE__ */ jsx(Typography, {
|
|
55
|
+
ref: t5,
|
|
56
|
+
size: textSize,
|
|
57
|
+
as: "span",
|
|
58
|
+
className: "truncate",
|
|
59
|
+
children
|
|
60
|
+
});
|
|
61
|
+
$[8] = children;
|
|
62
|
+
$[9] = t5;
|
|
63
|
+
$[10] = textSize;
|
|
64
|
+
$[11] = t6;
|
|
65
|
+
} else t6 = $[11];
|
|
66
|
+
let t7;
|
|
67
|
+
if ($[12] !== buttonProps || $[13] !== isDismissible) {
|
|
68
|
+
t7 = isDismissible && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
69
|
+
...buttonProps,
|
|
70
|
+
className: "pointer-events-auto shrink-0",
|
|
71
|
+
children: /* @__PURE__ */ jsx(IconSlot, { icon: X })
|
|
72
|
+
});
|
|
73
|
+
$[12] = buttonProps;
|
|
74
|
+
$[13] = isDismissible;
|
|
75
|
+
$[14] = t7;
|
|
76
|
+
} else t7 = $[14];
|
|
77
|
+
let t8;
|
|
78
|
+
if ($[15] !== t4 || $[16] !== t6 || $[17] !== t7) {
|
|
79
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
80
|
+
className: t4,
|
|
81
|
+
children: [t6, t7]
|
|
82
|
+
});
|
|
83
|
+
$[15] = t4;
|
|
84
|
+
$[16] = t6;
|
|
85
|
+
$[17] = t7;
|
|
86
|
+
$[18] = t8;
|
|
87
|
+
} else t8 = $[18];
|
|
88
|
+
return t8;
|
|
89
|
+
};
|
|
90
|
+
function _temp($) {
|
|
91
|
+
return $.ui.tag.dismiss;
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
2
94
|
export { Tag };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "../TextArea-
|
|
1
|
+
import { t as TextArea } from "../TextArea-B3teIhsJ.js";
|
|
2
2
|
export { TextArea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { t as TimePicker } from "../TimePicker-CU_yL2sY.js";
|
|
2
2
|
export { TimePicker };
|
package/dist/components/toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ToggleGroup } from "../ToggleGroup-
|
|
1
|
+
import { t as ToggleGroup } from "../ToggleGroup-BULVwErp.js";
|
|
2
2
|
export { ToggleGroup };
|
|
@@ -5,7 +5,7 @@ let nextToastId = 0;
|
|
|
5
5
|
const enqueueToast = (color, params, options) => {
|
|
6
6
|
const id = `povio-toast-${++nextToastId}`;
|
|
7
7
|
activateToastRenderer();
|
|
8
|
-
import("../toast.runtime-
|
|
8
|
+
import("../toast.runtime-Zf-XyAC3.js").then(({ showToast }) => showToast(id, color, params, options));
|
|
9
9
|
return id;
|
|
10
10
|
};
|
|
11
11
|
const useToast = () => {
|
|
@@ -22,7 +22,7 @@ const useToast = () => {
|
|
|
22
22
|
return enqueueToast("neutral", params_2, options_2);
|
|
23
23
|
}, []);
|
|
24
24
|
const closeToast = useCallback((id) => {
|
|
25
|
-
import("../toast.runtime-
|
|
25
|
+
import("../toast.runtime-Zf-XyAC3.js").then(({ dismissToast }) => dismissToast(id));
|
|
26
26
|
}, []);
|
|
27
27
|
return useMemo(() => ({
|
|
28
28
|
successToast,
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import "../configuration.context-f_FSPWhQ.js";
|
|
2
|
+
//#region src/app-canvas/route-model.d.ts
|
|
3
|
+
/** Structural TanStack Router contract; no router runtime is bundled with UI. */
|
|
4
|
+
interface CanvasRoute {
|
|
5
|
+
id?: string;
|
|
6
|
+
path?: string;
|
|
7
|
+
fullPath?: string;
|
|
8
|
+
children?: readonly CanvasRoute[] | object;
|
|
9
|
+
options?: {
|
|
10
|
+
id?: string;
|
|
11
|
+
path?: string;
|
|
12
|
+
component?: unknown;
|
|
13
|
+
lazyFn?: unknown;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
interface CanvasRouter {
|
|
17
|
+
routeTree: CanvasRoute;
|
|
18
|
+
routesById?: object;
|
|
19
|
+
}
|
|
20
|
+
interface CanvasRouteExample {
|
|
21
|
+
params?: Record<string, string>;
|
|
22
|
+
search?: Record<string, unknown>;
|
|
23
|
+
title?: string;
|
|
24
|
+
}
|
|
25
|
+
interface DiscoverCanvasPagesOptions {
|
|
26
|
+
examples?: Record<string, CanvasRouteExample>;
|
|
27
|
+
exclude?: string[];
|
|
28
|
+
}
|
|
29
|
+
interface CanvasPage {
|
|
30
|
+
id: string;
|
|
31
|
+
title: string;
|
|
32
|
+
path: string;
|
|
33
|
+
href?: string;
|
|
34
|
+
parentId?: string;
|
|
35
|
+
missingParams: string[];
|
|
36
|
+
kind: "page" | "unresolved";
|
|
37
|
+
}
|
|
38
|
+
interface CanvasPosition {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}
|
|
42
|
+
interface CanvasPageLayout extends CanvasPage, CanvasPosition {
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
}
|
|
46
|
+
/** Catalog route destinations without executing loaders or needing every dynamic parameter. */
|
|
47
|
+
declare function discoverCanvasPages(router: CanvasRouter, options?: DiscoverCanvasPagesOptions): CanvasPage[];
|
|
48
|
+
/** Deterministic masonry placement. Full measured heights (including 20,000px pages) are never capped. */
|
|
49
|
+
declare function layoutCanvasPages(pages: readonly CanvasPage[], width: number, heights: Record<string, number>, positions?: Record<string, CanvasPosition>): CanvasPageLayout[];
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/app-canvas/AppCanvas.d.ts
|
|
52
|
+
interface CanvasBreakpoint {
|
|
53
|
+
id: string;
|
|
54
|
+
label: string;
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
}
|
|
58
|
+
declare const defaultCanvasBreakpoints: CanvasBreakpoint[];
|
|
59
|
+
interface AppCanvasProps {
|
|
60
|
+
router: CanvasRouter;
|
|
61
|
+
examples?: Record<string, CanvasRouteExample>;
|
|
62
|
+
exclude?: string[];
|
|
63
|
+
breakpoints?: CanvasBreakpoint[];
|
|
64
|
+
storageKey?: string;
|
|
65
|
+
frameUrl?: (page: CanvasPage) => string;
|
|
66
|
+
}
|
|
67
|
+
/** Live route artboards. The camera transforms only the canvas, never the iframe viewport width. */
|
|
68
|
+
declare function AppCanvas({ router, examples, exclude, breakpoints, storageKey, frameUrl }: AppCanvasProps): import("react").JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/app-canvas/AppCanvasFrameBridge.d.ts
|
|
71
|
+
/** Mount once inside the application's existing UIConfigurationProvider. No separate app copy or theme fork. */
|
|
72
|
+
declare function AppCanvasFrameBridge({ href }: {
|
|
73
|
+
href?: string;
|
|
74
|
+
}): null;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/app-canvas/protocol.d.ts
|
|
77
|
+
declare const isAppCanvasFrame: () => boolean;
|
|
78
|
+
//#endregion
|
|
79
|
+
export { AppCanvas, AppCanvasFrameBridge, type AppCanvasProps, type CanvasBreakpoint, type CanvasPage, type CanvasPosition, type CanvasRouteExample, type CanvasRouter, defaultCanvasBreakpoints, discoverCanvasPages, isAppCanvasFrame, layoutCanvasPages };
|