@povio/ui 5.0.0-rc.6 → 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-C2tjrHWn.js → ComponentGallery-Da70Y4_Q.js} +19 -178
- 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 +457 -466
- 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 +570 -6
- 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/src/configurator/README.md +1 -1
- package/dist/Alert-CnvEb1D_.js +0 -244
|
@@ -1,14 +1,6 @@
|
|
|
1
|
-
import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
|
|
2
|
-
import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
3
1
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
|
-
import { t as $984a1fc08f87e4f3$export$a6c7ac8248d6e38a } from "./Link-FupWOW1f.js";
|
|
5
|
-
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
|
|
6
|
-
import { t as $75afe627ae0cc0fa$export$d2b052e7b4be1756 } from "./ToggleButton-BW1ensey.js";
|
|
7
|
-
import { t as LinkContext } from "./link.context-J7aQtMOr.js";
|
|
8
|
-
import { t as ButtonContent } from "./ButtonContent-c7lJayVQ.js";
|
|
9
2
|
import { n as uiOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
10
3
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
11
|
-
import { jsx } from "react/jsx-runtime";
|
|
12
4
|
//#region src/components/buttons/Button/button.cva.ts
|
|
13
5
|
const buttonDefinition = UIOverrides.defineConfig({
|
|
14
6
|
base: [
|
|
@@ -428,79 +420,4 @@ const buttonTypography = compoundMapper({ default: {
|
|
|
428
420
|
className: "font-bold"
|
|
429
421
|
} });
|
|
430
422
|
//#endregion
|
|
431
|
-
|
|
432
|
-
const getContentIconPosition = ({ icon, startIcon, endIcon, iconPosition }) => {
|
|
433
|
-
if (startIcon || !endIcon && icon && iconPosition !== "right") return "left";
|
|
434
|
-
if (endIcon || icon) return "right";
|
|
435
|
-
return "none";
|
|
436
|
-
};
|
|
437
|
-
const Button = ({ icon: Icon, startIcon, endIcon, iconPosition, children, isLoading: isLoadingProp, loading, className, link, iconClassName, noDisableWhenLoading, disableWhileLoading, contentRef, variant: variantProp, size: sizeProp, width: widthProp, fullWidth, ...props }) => {
|
|
438
|
-
const linkContext = LinkContext.useLinkContext();
|
|
439
|
-
const uiConfig = UIConfig.useConfig();
|
|
440
|
-
const variant = variantProp ?? uiConfig.button.variant;
|
|
441
|
-
const size = sizeProp ?? uiConfig.button.size;
|
|
442
|
-
const width = fullWidth ? "fill" : widthProp;
|
|
443
|
-
const isLoading = isLoadingProp ?? loading;
|
|
444
|
-
const shouldDisableWhileLoading = disableWhileLoading ?? !noDisableWhenLoading;
|
|
445
|
-
const contentIconPosition = getContentIconPosition({
|
|
446
|
-
icon: Icon,
|
|
447
|
-
startIcon,
|
|
448
|
-
endIcon,
|
|
449
|
-
iconPosition
|
|
450
|
-
});
|
|
451
|
-
const buttonCva = UIOverrides.useCva("button.cva", buttonDefinition);
|
|
452
|
-
const buttonSizeCva = UIOverrides.useCva("button.sizeCva", buttonSizeDefinition);
|
|
453
|
-
const buttonContentCva = UIOverrides.useCva("button.contentCva", buttonContentDefinition);
|
|
454
|
-
const buttonIconSizeCva = UIOverrides.useCva("button.iconSize", buttonIconSizeDefinition);
|
|
455
|
-
const typographyMap = UIOverrides.useMapper("button.typography", buttonTypography);
|
|
456
|
-
const Component = (() => {
|
|
457
|
-
if (link) return linkContext?.LinkComponent ?? $984a1fc08f87e4f3$export$a6c7ac8248d6e38a;
|
|
458
|
-
if (props.toggle != null) return $75afe627ae0cc0fa$export$d2b052e7b4be1756;
|
|
459
|
-
return $7705c033048f6da7$export$353f5b6fc5456de1;
|
|
460
|
-
})();
|
|
461
|
-
if (link && !link.to && link.href) link.to = link.href;
|
|
462
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
463
|
-
...props,
|
|
464
|
-
...link,
|
|
465
|
-
isDisabled: props.isDisabled || isLoading && shouldDisableWhileLoading,
|
|
466
|
-
className: clsx(buttonCva({
|
|
467
|
-
...props,
|
|
468
|
-
variant,
|
|
469
|
-
size,
|
|
470
|
-
width,
|
|
471
|
-
className
|
|
472
|
-
}), buttonSizeCva({
|
|
473
|
-
...props,
|
|
474
|
-
variant,
|
|
475
|
-
size
|
|
476
|
-
}), buttonContentCva({
|
|
477
|
-
...props,
|
|
478
|
-
variant,
|
|
479
|
-
size,
|
|
480
|
-
iconPosition: contentIconPosition
|
|
481
|
-
})),
|
|
482
|
-
children: /* @__PURE__ */ jsx(ButtonContent, {
|
|
483
|
-
ref: contentRef,
|
|
484
|
-
isLoading,
|
|
485
|
-
icon: Icon,
|
|
486
|
-
startIcon,
|
|
487
|
-
endIcon,
|
|
488
|
-
content: children,
|
|
489
|
-
hideText: props.iconOnly,
|
|
490
|
-
iconPosition,
|
|
491
|
-
iconClassName: buttonIconSizeCva({
|
|
492
|
-
...props,
|
|
493
|
-
variant,
|
|
494
|
-
size,
|
|
495
|
-
className: iconClassName
|
|
496
|
-
}),
|
|
497
|
-
typography: typographyMap({
|
|
498
|
-
...props,
|
|
499
|
-
variant,
|
|
500
|
-
size
|
|
501
|
-
})
|
|
502
|
-
})
|
|
503
|
-
});
|
|
504
|
-
};
|
|
505
|
-
//#endregion
|
|
506
|
-
export { buttonSizeDefinition as a, buttonIconSizeDefinition as i, buttonContentDefinition as n, buttonDefinition as r, Button as t };
|
|
423
|
+
export { buttonTypography as a, buttonSizeDefinition as i, buttonDefinition as n, buttonIconSizeDefinition as r, buttonContentDefinition as t };
|
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
|
|
2
|
-
import { t as Check } from "./check-DYMBkp_Z.js";
|
|
3
1
|
import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
|
|
4
2
|
import { t as uiGroupOutlineClass } from "./outline.clsx-50W_vNDl.js";
|
|
5
3
|
import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
//#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/minus.mjs
|
|
8
|
-
/**
|
|
9
|
-
* @license lucide-react v1.43.0 - ISC
|
|
10
|
-
*
|
|
11
|
-
* This source code is licensed under the ISC license.
|
|
12
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/
|
|
14
|
-
const __iconData = {
|
|
15
|
-
name: "minus",
|
|
16
|
-
size: 24,
|
|
17
|
-
node: [["path", {
|
|
18
|
-
d: "M5 12h14",
|
|
19
|
-
key: "1ays0h"
|
|
20
|
-
}]]
|
|
21
|
-
};
|
|
22
|
-
__iconData.node;
|
|
23
|
-
const Minus = createLucideIcon(__iconData);
|
|
24
|
-
//#endregion
|
|
25
4
|
//#region src/components/inputs/Checkbox/checkbox.cva.ts
|
|
26
5
|
const checkboxDefinition = UIOverrides.defineConfig({
|
|
27
6
|
base: [
|
|
@@ -155,24 +134,4 @@ const checkboxIconDefinition = UIOverrides.defineConfig({
|
|
|
155
134
|
}
|
|
156
135
|
});
|
|
157
136
|
//#endregion
|
|
158
|
-
|
|
159
|
-
const CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = Check, indeterminateIcon: IndeterminateIcon = Minus, ...props }) => {
|
|
160
|
-
const checkboxCva = UIOverrides.useCva("checkbox.cva", checkboxDefinition);
|
|
161
|
-
const checkboxIconCva = UIOverrides.useCva("checkbox.iconCva", checkboxIconDefinition);
|
|
162
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
163
|
-
className: checkboxCva({
|
|
164
|
-
variant,
|
|
165
|
-
...props,
|
|
166
|
-
className
|
|
167
|
-
}),
|
|
168
|
-
children: [/* @__PURE__ */ jsx(SelectedIcon, { className: checkboxIconCva({
|
|
169
|
-
...props,
|
|
170
|
-
iconVariant: "selected"
|
|
171
|
-
}) }), /* @__PURE__ */ jsx(IndeterminateIcon, { className: checkboxIconCva({
|
|
172
|
-
...props,
|
|
173
|
-
iconVariant: "indeterminate"
|
|
174
|
-
}) })]
|
|
175
|
-
});
|
|
176
|
-
};
|
|
177
|
-
//#endregion
|
|
178
|
-
export { checkboxDefinition as a, checkboxIndicatorClass as c, checkboxContentWrapperDefinition as i, checkboxTypography as l, checkboxContentClassName as n, checkboxGroupLabelDefinition as o, checkboxContentRowDefinition as r, checkboxIconDefinition as s, CheckboxCheckmark as t, Minus as u };
|
|
137
|
+
export { checkboxGroupLabelDefinition as a, checkboxTypography as c, checkboxDefinition as i, checkboxContentRowDefinition as n, checkboxIconDefinition as o, checkboxContentWrapperDefinition as r, checkboxIndicatorClass as s, checkboxContentClassName as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
2
2
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
3
3
|
import { t as Typography } from "../Typography-LU4z2pR1.js";
|
|
4
|
-
import { t as Button } from "../Button-
|
|
4
|
+
import { t as Button } from "../Button-BPTvffuk.js";
|
|
5
5
|
import { t as Dialog } from "../Dialog-9manOgMA.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
package/dist/components/alert.js
CHANGED
|
@@ -1,2 +1,117 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
|
|
2
|
+
import { t as IconSlot } from "../IconSlot-DSK7qNxc.js";
|
|
3
|
+
import { t as Typography } from "../Typography-LU4z2pR1.js";
|
|
4
|
+
import { t as Spinner } from "../Spinner-BeVTUzzx.js";
|
|
5
|
+
import { n as statusSeparatorDefinition, r as alertDefinition, t as statusIconDefinition } from "../status.cva-6HxNR4EP.js";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/status/Alert/Alert.tsx
|
|
9
|
+
const Alert = (t0) => {
|
|
10
|
+
const $ = c(31);
|
|
11
|
+
const { variant, color, text, isLoading: t1, rightContent, hasSeparator, icon: Icon, className } = t0;
|
|
12
|
+
const isLoading = t1 === void 0 ? false : t1;
|
|
13
|
+
const alertCva = UIOverrides.useCva("alert.cva", alertDefinition);
|
|
14
|
+
const iconCva = UIOverrides.useCva("status.iconCva", statusIconDefinition);
|
|
15
|
+
const separatorCva = UIOverrides.useCva("status.separatorCva", statusSeparatorDefinition);
|
|
16
|
+
let t2;
|
|
17
|
+
if ($[0] !== alertCva || $[1] !== className || $[2] !== color || $[3] !== variant) {
|
|
18
|
+
t2 = alertCva({
|
|
19
|
+
variant,
|
|
20
|
+
color,
|
|
21
|
+
className
|
|
22
|
+
});
|
|
23
|
+
$[0] = alertCva;
|
|
24
|
+
$[1] = className;
|
|
25
|
+
$[2] = color;
|
|
26
|
+
$[3] = variant;
|
|
27
|
+
$[4] = t2;
|
|
28
|
+
} else t2 = $[4];
|
|
29
|
+
let t3;
|
|
30
|
+
if ($[5] !== isLoading) {
|
|
31
|
+
t3 = isLoading && /* @__PURE__ */ jsx(Spinner, {
|
|
32
|
+
size: "default",
|
|
33
|
+
className: "shrink-0"
|
|
34
|
+
});
|
|
35
|
+
$[5] = isLoading;
|
|
36
|
+
$[6] = t3;
|
|
37
|
+
} else t3 = $[6];
|
|
38
|
+
let t4;
|
|
39
|
+
if ($[7] !== Icon || $[8] !== color || $[9] !== iconCva || $[10] !== isLoading || $[11] !== variant) {
|
|
40
|
+
t4 = !isLoading && Icon && /* @__PURE__ */ jsx(IconSlot, {
|
|
41
|
+
icon: Icon,
|
|
42
|
+
className: iconCva({
|
|
43
|
+
variant,
|
|
44
|
+
color
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
$[7] = Icon;
|
|
48
|
+
$[8] = color;
|
|
49
|
+
$[9] = iconCva;
|
|
50
|
+
$[10] = isLoading;
|
|
51
|
+
$[11] = variant;
|
|
52
|
+
$[12] = t4;
|
|
53
|
+
} else t4 = $[12];
|
|
54
|
+
let t5;
|
|
55
|
+
if ($[13] !== text) {
|
|
56
|
+
t5 = /* @__PURE__ */ jsx(Typography, {
|
|
57
|
+
size: "large",
|
|
58
|
+
children: text
|
|
59
|
+
});
|
|
60
|
+
$[13] = text;
|
|
61
|
+
$[14] = t5;
|
|
62
|
+
} else t5 = $[14];
|
|
63
|
+
let t6;
|
|
64
|
+
if ($[15] !== t3 || $[16] !== t4 || $[17] !== t5) {
|
|
65
|
+
t6 = /* @__PURE__ */ jsxs("div", {
|
|
66
|
+
className: "flex w-full items-start gap-alert-gap-icon-to-text px-alert-side-default py-alert-height-content",
|
|
67
|
+
children: [
|
|
68
|
+
t3,
|
|
69
|
+
t4,
|
|
70
|
+
t5
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
$[15] = t3;
|
|
74
|
+
$[16] = t4;
|
|
75
|
+
$[17] = t5;
|
|
76
|
+
$[18] = t6;
|
|
77
|
+
} else t6 = $[18];
|
|
78
|
+
let t7;
|
|
79
|
+
if ($[19] !== color || $[20] !== hasSeparator || $[21] !== rightContent || $[22] !== separatorCva || $[23] !== variant) {
|
|
80
|
+
t7 = !!rightContent && /* @__PURE__ */ jsxs(Fragment, { children: [hasSeparator && /* @__PURE__ */ jsx("div", { className: separatorCva({
|
|
81
|
+
variant,
|
|
82
|
+
color
|
|
83
|
+
}) }), /* @__PURE__ */ jsx("div", {
|
|
84
|
+
className: "flex w-full shrink-0 flex-wrap items-center justify-end gap-toast-gap-action px-alert-side-default py-alert-height-actions-mobile md:w-auto md:justify-center md:py-alert-height-actions-desktop",
|
|
85
|
+
children: rightContent
|
|
86
|
+
})] });
|
|
87
|
+
$[19] = color;
|
|
88
|
+
$[20] = hasSeparator;
|
|
89
|
+
$[21] = rightContent;
|
|
90
|
+
$[22] = separatorCva;
|
|
91
|
+
$[23] = variant;
|
|
92
|
+
$[24] = t7;
|
|
93
|
+
} else t7 = $[24];
|
|
94
|
+
let t8;
|
|
95
|
+
if ($[25] !== t6 || $[26] !== t7) {
|
|
96
|
+
t8 = /* @__PURE__ */ jsxs("div", {
|
|
97
|
+
className: "flex w-auto flex-col items-center md:flex-row",
|
|
98
|
+
children: [t6, t7]
|
|
99
|
+
});
|
|
100
|
+
$[25] = t6;
|
|
101
|
+
$[26] = t7;
|
|
102
|
+
$[27] = t8;
|
|
103
|
+
} else t8 = $[27];
|
|
104
|
+
let t9;
|
|
105
|
+
if ($[28] !== t2 || $[29] !== t8) {
|
|
106
|
+
t9 = /* @__PURE__ */ jsx("div", {
|
|
107
|
+
className: t2,
|
|
108
|
+
children: t8
|
|
109
|
+
});
|
|
110
|
+
$[28] = t2;
|
|
111
|
+
$[29] = t8;
|
|
112
|
+
$[30] = t9;
|
|
113
|
+
} else t9 = $[30];
|
|
114
|
+
return t9;
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
2
117
|
export { Alert };
|
|
@@ -2,10 +2,10 @@ import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
|
|
|
2
2
|
import { r as selectInputTagsContentWrapperDefinition } from "../selectDesktop.cva-CHAMxhfO.js";
|
|
3
3
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
4
4
|
import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
|
|
5
|
-
import { n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-
|
|
5
|
+
import { n as StaticSelectTrailingContent, r as SelectBase, t as getStaticSelectValue } from "../staticSelect.utils-CzlnLPPd.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 { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "../useStaticInputHandoff-
|
|
8
|
+
import { i as InputFrame, n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "../useStaticInputHandoff-kkQrc6DA.js";
|
|
9
9
|
import { memo, useRef, useState } from "react";
|
|
10
10
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Button } from "../Button-
|
|
1
|
+
import { t as Button } from "../Button-BPTvffuk.js";
|
|
2
2
|
export { Button };
|
|
@@ -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,
|