@povio/ui 5.0.0 → 5.0.1-rc.2
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/{Autocomplete-DbALLWP0.js → Autocomplete-BKJ5sYdA.js} +5 -5
- package/dist/{Autocomplete.bound-DCPZBYKR.js → Autocomplete.bound-B6RmJlR6.js} +2 -2
- package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-B7i7tj1S.js} +1 -1
- package/dist/{Calendar-B9jqOJB6.js → Calendar-DLlUsZP2.js} +3 -3
- package/dist/{Calendar.lazy-4d7pbB4k.js → Calendar.lazy-9hn-y6c8.js} +3 -3
- package/dist/{Checkbox.bound-DyQFIVCw.js → Checkbox.bound-DQYJMtCs.js} +1 -1
- package/dist/{CheckboxGroup-CK_tTvvI.js → CheckboxGroup-CneFMbCF.js} +1 -1
- package/dist/{CheckboxGroup.bound-DyCp83EI.js → CheckboxGroup.bound-BddvGfb_.js} +2 -2
- package/dist/{DatePicker-CJj3Gp_S.js → DatePicker-DUCe_SVM.js} +7 -6
- package/dist/{DatePicker.bound-BWPOirPV.js → DatePicker.bound-r5FQhOff.js} +2 -2
- package/dist/{DatePickerInput-C5-kkdpq.js → DatePickerInput-C9wcjFvV.js} +9 -7
- package/dist/{DateRangePicker-BO92JO3A.js → DateRangePicker-CkiT1lEf.js} +8 -7
- package/dist/{DateRangePicker.bound-cDWQPCUj.js → DateRangePicker.bound-Chl_cUUj.js} +2 -2
- package/dist/{DateTimePicker-DSzd33fp.js → DateTimePicker-B7qiGRqC.js} +7 -6
- package/dist/{DateTimePicker.bound-BQUJXvBQ.js → DateTimePicker.bound-LMdGgruS.js} +2 -2
- package/dist/{Dialog-DN5703sy.js → Dialog-B10YV23i.js} +1 -1
- package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-Dt8nr5qS.js} +2 -2
- package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BjGcbdmX.js} +1 -1
- package/dist/{FileInput-dTcR3V93.js → FileInput-CDzclNi2.js} +2 -2
- package/dist/{FileInput.bound-B5b7BLGg.js → FileInput.bound-Vz2EeuOP.js} +2 -2
- package/dist/{FileUpload-JogkVfav.js → FileUpload-u81ZwwEt.js} +2 -2
- package/dist/{FileUpload.bound-TTr9FNMS.js → FileUpload.bound-LBo4ERNC.js} +2 -2
- package/dist/{FormField-dduTMkNH.js → FormField-ClLu7Hix.js} +2 -2
- package/dist/{Input-Dq2Raco6.js → Input-g9gG6FBB.js} +5 -4
- package/dist/{Input.bound-CB0WNCLI.js → Input.bound-lFOANQBr.js} +2 -2
- package/dist/{InputContent-5WKp0yNK.js → InputContent-qLj8x_zH.js} +7 -5
- package/dist/{NumberField-BQwc6a7u.js → NumberField-DodaCw5J.js} +5 -4
- package/dist/{NumberField.bound-Ha6jrlsv.js → NumberField.bound-DxgcOvm1.js} +2 -2
- package/dist/{NumberRangeInput-KngK-OvN.js → NumberRangeInput-BIBCaGE4.js} +4 -3
- package/dist/{NumberRangeInput.bound-VafOPEAu.js → NumberRangeInput.bound-BIWKaOMj.js} +2 -2
- package/dist/{PasswordInput.bound-D4tGX20e.js → PasswordInput.bound-BqTCYsLj.js} +2 -2
- package/dist/{RadioGroup-Dvq0TiEB.js → RadioGroup-HMm5cKXh.js} +1 -1
- package/dist/{RadioGroup.bound-B-xm1dwo.js → RadioGroup.bound-Bj5CLIlT.js} +2 -2
- package/dist/{RangeCalendar-p7ajg_wH.js → RangeCalendar-DQ6Ls8z7.js} +3 -3
- package/dist/{RichTextEditor-DLBfexN_.js → RichTextEditor-CHmqhNmA.js} +13 -9
- package/dist/{Select-hIRIXRz1.js → Select-s_1onwY9.js} +7 -7
- package/dist/{Select.bound-BrAIDjfv.js → Select.bound-CaNRXZDU.js} +2 -2
- package/dist/{SelectListBox-ysubv-kl.js → SelectListBox-BuKr994Y.js} +13 -4
- package/dist/{Slider-DCsCCPFx.js → Slider-8J-Ny6BX.js} +1 -1
- package/dist/{Slider.bound-CByTXPTr.js → Slider.bound-DgNK0NK1.js} +2 -2
- package/dist/{Switch.bound-Dv0cHsMM.js → Switch.bound-D8QsLsS4.js} +1 -1
- package/dist/{TabsFilters-ka2sUZPi.js → TabsFilters-DtZrvnTC.js} +1 -1
- package/dist/{TextArea-CqT0_Bn-.js → TextArea-CsTjCZIE.js} +2 -2
- package/dist/{TextArea.bound-kHkY_d9o.js → TextArea.bound-JYXWI2Vn.js} +2 -2
- package/dist/{TimePicker-Duw94UIt.js → TimePicker-BSM4Ioa_.js} +11 -9
- package/dist/{TimePicker.bound-DX5pXlgZ.js → TimePicker.bound-DGNPAcDB.js} +2 -2
- package/dist/{TimePickerForm-BiWPFcsD.js → TimePickerForm-Bv8S3M_p.js} +2 -2
- package/dist/{ToastContainer-DtpZaefx.js → ToastContainer-Cdp4jsgT.js} +24 -1
- package/dist/{ToggleGroup-Co1-A0Ti.js → ToggleGroup-BDKfPYek.js} +1 -1
- package/dist/{ToggleGroup.bound-DphkH_jH.js → ToggleGroup.bound-CF5hXyw8.js} +2 -2
- package/dist/{TooltipWrapper-DcrEabVw.js → TooltipWrapper-DmcWMIp0.js} +1 -1
- package/dist/components/alert-dialog.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bottom-sheet-header.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/checkbox-group.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/dialog.js +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- 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/input-frame.js +5 -4
- package/dist/components/input.js +1 -1
- package/dist/components/number-field.js +1 -1
- package/dist/components/number-range-input.js +1 -1
- package/dist/components/page-header.js +1 -1
- package/dist/components/password-input.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/style-definitions.js +2 -2
- package/dist/components/tabs-filters.js +1 -1
- package/dist/components/tag.js +1 -1
- package/dist/components/text-area.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-group.js +1 -1
- package/dist/components/use-toast.js +2 -2
- package/dist/config/confirmation.js +1 -1
- package/dist/config/resources.d.ts +1 -1
- package/dist/config/resources.js +1 -1
- package/dist/{confirmation.context-Bc2yEVp_.js → confirmation.context-ByjNx2uA.js} +1 -1
- package/dist/{dist-fFtzh872.js → dist-C8Tl4DGt.js} +1 -1
- package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-CcFuz2Yo.js} +1 -1
- package/dist/{form.binding-DOR5gIQf.js → form.binding-Ddx5NGCq.js} +1 -1
- package/dist/hooks/use-async-list.js +1 -1
- package/dist/hooks/use-filters.js +1 -1
- package/dist/{i18n-D8vXIoiq.js → i18n-DxbqkvyK.js} +14 -6
- package/dist/{i18n-DM-PUcxQ.d.ts → i18n-JT8Yui4a.d.ts} +12 -4
- package/dist/{import-C7W0Wv2r.js → import-Duf36Dbs.js} +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +42 -42
- package/dist/inputRow.clsx-BbcaXVta.js +6 -0
- package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/{routing.utils-DfxEt0_Y.js → routing.utils-C5FAT_Qg.js} +2 -2
- package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
- package/dist/{staticDateTimeSegments-BVvFHWOs.js → staticDateTimeSegments-DeeSpTzj.js} +1 -1
- package/dist/tanstack/autocomplete.js +1 -1
- package/dist/tanstack/checkbox-group.js +1 -1
- 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.js +2 -2
- package/dist/tanstack/input.js +1 -1
- package/dist/tanstack/number-field.js +1 -1
- package/dist/tanstack/number-range-input.js +1 -1
- package/dist/tanstack/password-input.js +1 -1
- package/dist/tanstack/radio-group.js +1 -1
- package/dist/tanstack/rich-text-editor.js +2 -2
- 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.d.ts +1 -1
- package/dist/tanstack/table.js +1 -1
- 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-CJKor9l-.d.ts → tanstack-DzNVI2Rj.d.ts} +1 -1
- package/dist/tanstack.d.ts +3 -3
- package/dist/tanstack.js +42 -42
- package/dist/{toast.runtime-BWQLlbZW.js → toast.runtime-CvmhLbUP.js} +1 -1
- package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-BVZ1va2U.js} +67 -14
- package/dist/{useFilters-DMi94RZK.js → useFilters-Bp9x3-09.js} +71 -78
- package/dist/{useForm-Cb7KWLds.js → useForm-C7wrpJ2t.js} +1 -1
- package/dist/{useFormAutosave-BPGlChiY.js → useFormAutosave-Cy0wTigY.js} +2 -2
- package/dist/{useTableColumnConfig-D4BGhlBT.js → useTableColumnConfig-yf7pvTbe.js} +694 -223
- package/dist/{useTableNav-hQCt_TbI.d.ts → useTableNav-DxuUTKn5.d.ts} +4 -1
- package/dist/utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/TableDnd-CuHxANWh.js +0 -133
|
@@ -12,12 +12,12 @@ import { t as isEqual } from "./isEqual-LFw0W5rU.js";
|
|
|
12
12
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
13
13
|
import { t as Button } from "./Button-dRFJundh.js";
|
|
14
14
|
import { IconButton } from "./components/icon-button.js";
|
|
15
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
15
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-ClLu7Hix.js";
|
|
16
16
|
import { i as inputSideDefinition, o as useInputCva } from "./input.cva-2C6_W5jD.js";
|
|
17
|
-
import "./i18n-
|
|
17
|
+
import "./i18n-DxbqkvyK.js";
|
|
18
18
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
19
|
-
import { t as Input } from "./Input-
|
|
20
|
-
import { t as Select } from "./Select-
|
|
19
|
+
import { t as Input } from "./Input-g9gG6FBB.js";
|
|
20
|
+
import { t as Select } from "./Select-s_1onwY9.js";
|
|
21
21
|
import { Popover } from "./components/popover.js";
|
|
22
22
|
import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Baseline, Bold, ChevronDown, Highlighter, Italic, Link, List, ListOrdered, Strikethrough, Underline } from "lucide-react";
|
|
23
23
|
import $ahdqC$react, { createContext, forwardRef, memo, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -533,11 +533,15 @@ const RichTextEditorToolbar = ({ editor }) => {
|
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region src/components/inputs/RichTextEditor/RichTextEditor.tsx
|
|
535
535
|
const extensions = [
|
|
536
|
-
StarterKit.configure({
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
536
|
+
StarterKit.configure({
|
|
537
|
+
heading: { levels: [
|
|
538
|
+
1,
|
|
539
|
+
2,
|
|
540
|
+
3
|
|
541
|
+
] },
|
|
542
|
+
link: false,
|
|
543
|
+
underline: false
|
|
544
|
+
}),
|
|
541
545
|
TextAlign.configure({ types: ["heading", "paragraph"] }),
|
|
542
546
|
Underline$1,
|
|
543
547
|
TextStyle,
|
|
@@ -13,17 +13,17 @@ import { t as Button } from "./Button-dRFJundh.js";
|
|
|
13
13
|
import { BottomSheet } from "./components/bottom-sheet.js";
|
|
14
14
|
import { t as useBreakpoint } from "./useBreakpoint-CJ3mx7UF.js";
|
|
15
15
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
16
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
16
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-ClLu7Hix.js";
|
|
17
17
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
18
18
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
19
|
-
import "./i18n-
|
|
20
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
19
|
+
import "./i18n-DxbqkvyK.js";
|
|
20
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
21
21
|
import { t as popoverDefinition } from "./popover.cva-DAbfSma6.js";
|
|
22
22
|
import { n as useStaticInputHandoff, t as getStaticInputFocusTarget } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
23
23
|
import { InputFrame } from "./components/input-frame.js";
|
|
24
|
-
import { t as Input } from "./Input-
|
|
24
|
+
import { t as Input } from "./Input-g9gG6FBB.js";
|
|
25
25
|
import { Tag } from "./components/tag.js";
|
|
26
|
-
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-
|
|
26
|
+
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "./selectDesktop.cva-30JAvtgB.js";
|
|
27
27
|
import { ChevronDown, Search, X } from "lucide-react";
|
|
28
28
|
import { c } from "react/compiler-runtime";
|
|
29
29
|
import { Fragment, createContext, use, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
@@ -686,7 +686,7 @@ const SelectInput = ({ ref, placeholder, variant, as, size, isDisabled, isInvali
|
|
|
686
686
|
//#region src/components/inputs/Selection/shared/SelectListBox.lazy.tsx
|
|
687
687
|
let loadedListBox;
|
|
688
688
|
let pendingListBox;
|
|
689
|
-
const loadSelectListBox = () => pendingListBox ??= import("./SelectListBox-
|
|
689
|
+
const loadSelectListBox = () => pendingListBox ??= import("./SelectListBox-BuKr994Y.js").then(({ SelectListBox }) => {
|
|
690
690
|
loadedListBox = SelectListBox;
|
|
691
691
|
return SelectListBox;
|
|
692
692
|
}).catch((error) => {
|
|
@@ -912,7 +912,7 @@ const SelectDesktop = ({ ref, error, ignoreTriggerWidth, showSelectionContent, i
|
|
|
912
912
|
isOpen,
|
|
913
913
|
onOpenChange: setIsOpen,
|
|
914
914
|
className: clsx("origin-(--trigger-anchor-point) transition-[opacity,scale] duration-150 ease-out starting:scale-96 starting:opacity-0 entering:scale-96 entering:opacity-0 exiting:scale-96 exiting:opacity-0 exiting:duration-100 motion-reduce:transition-none", selectPopoverCva({})),
|
|
915
|
-
style: {
|
|
915
|
+
style: { minWidth: !ignoreTriggerWidth ? popoverWidth : void 0 },
|
|
916
916
|
offset: 0,
|
|
917
917
|
children: isSearchInPopover ? /* @__PURE__ */ jsx("div", {
|
|
918
918
|
className: clsx(popoverCva({}), "flex max-h-80! flex-col overflow-hidden"),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as SelectInner } from "./Select-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as SelectInner } from "./Select-s_1onwY9.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Selection/Select/Select.bound.tsx
|
|
@@ -5,9 +5,9 @@ import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$e
|
|
|
5
5
|
import { n as $a3be900807531178$re_export$ListLayout, r as $a3be900807531178$re_export$Rect } from "./exports-BNrTn8Tj.js";
|
|
6
6
|
import { t as Spinner } from "./Spinner-DqjP06T1.js";
|
|
7
7
|
import { t as CheckboxCheckmark } from "./CheckboxCheckmark-DYhxLfZN.js";
|
|
8
|
-
import "./i18n-
|
|
8
|
+
import "./i18n-DxbqkvyK.js";
|
|
9
9
|
import { t as selectListBoxItemDefinition } from "./selectItem.cva-B6vxey2R.js";
|
|
10
|
-
import { c as LoadingItemId, o as SelectContext } from "./Select-
|
|
10
|
+
import { c as LoadingItemId, o as SelectContext } from "./Select-s_1onwY9.js";
|
|
11
11
|
import { t as useIntersectionObserver } from "./useIntersectionObserver-DFAhTsV0.js";
|
|
12
12
|
import { Check } from "lucide-react";
|
|
13
13
|
import $ahdqC$react, { createContext, useCallback, useContext, useLayoutEffect, useMemo, useRef } from "react";
|
|
@@ -230,6 +230,7 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
230
230
|
const { fieldState, onChange, listItems, selectableListItems, selectedIds, isMultiple, onClear, onSelectAll, hasLoadMore, isLoading } = SelectContext.useSelect();
|
|
231
231
|
const listBoxRef = useRef(null);
|
|
232
232
|
const hasRequestedAtTopRef = useRef(false);
|
|
233
|
+
const isLoadMorePendingRef = useRef(false);
|
|
233
234
|
const isReverseScrollAnchoredRef = useRef(!isReversed);
|
|
234
235
|
const reverseScrollBottomOffsetRef = useRef(0);
|
|
235
236
|
const previousLoadedItemIdsRef = useRef([]);
|
|
@@ -258,6 +259,13 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
258
259
|
useLayoutEffect(() => {
|
|
259
260
|
hasRequestedAtTopRef.current = false;
|
|
260
261
|
}, [loadMoreResetKey]);
|
|
262
|
+
useLayoutEffect(() => {
|
|
263
|
+
if (!isLoading) isLoadMorePendingRef.current = false;
|
|
264
|
+
}, [
|
|
265
|
+
isLoading,
|
|
266
|
+
hasLoadMore,
|
|
267
|
+
loadMoreResetKey
|
|
268
|
+
]);
|
|
261
269
|
useLayoutEffect(() => {
|
|
262
270
|
const previousLoadedItemIds = previousLoadedItemIdsRef.current;
|
|
263
271
|
const preservesExistingItems = previousLoadedItemIds.length > 0 && previousLoadedItemIds.every((itemId, index) => loadedItemIds[index] === itemId);
|
|
@@ -316,10 +324,11 @@ const SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true
|
|
|
316
324
|
};
|
|
317
325
|
const requestLoadMore = useCallback(() => {
|
|
318
326
|
const current = loadMoreStateRef.current;
|
|
319
|
-
if (!current || current.isLoading || !current.hasLoadMore) return;
|
|
327
|
+
if (!current || current.isLoading || !current.hasLoadMore || !current.onLoadMore || isLoadMorePendingRef.current) return;
|
|
320
328
|
if (current.isReversed && (!isReverseScrollAnchoredRef.current || (listBoxRef.current?.scrollTop ?? 0) > 1 || hasRequestedAtTopRef.current)) return;
|
|
321
329
|
if (current.isReversed) hasRequestedAtTopRef.current = true;
|
|
322
|
-
current
|
|
330
|
+
isLoadMorePendingRef.current = true;
|
|
331
|
+
current.onLoadMore();
|
|
323
332
|
}, []);
|
|
324
333
|
const onScroll = (event) => {
|
|
325
334
|
if (!isReversed || !hasLoadMore || !isReverseScrollAnchoredRef.current) return;
|
|
@@ -3,7 +3,7 @@ import { i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$
|
|
|
3
3
|
import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
|
|
4
4
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
5
5
|
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
6
|
-
import { t as FormField } from "./FormField-
|
|
6
|
+
import { t as FormField } from "./FormField-ClLu7Hix.js";
|
|
7
7
|
import $ahdqC$react, { createContext, forwardRef, useContext, useRef } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { mergeProps } from "react-aria/mergeProps";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as SliderBase } from "./Slider-
|
|
1
|
+
import { n as SliderBase } from "./Slider-8J-Ny6BX.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Slider/Slider.bound.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SwitchBase } from "./Switch-BfpSMMpv.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Switch/Switch.bound.tsx
|
|
@@ -4,7 +4,7 @@ import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementT
|
|
|
4
4
|
import { t as $91fe5e721c7f36c1$export$17f80983afe4e444 } from "./SelectionIndicator-C3hniBa2.js";
|
|
5
5
|
import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
|
|
6
6
|
import { t as Button } from "./Button-dRFJundh.js";
|
|
7
|
-
import "./i18n-
|
|
7
|
+
import "./i18n-DxbqkvyK.js";
|
|
8
8
|
import { Link } from "./components/link.js";
|
|
9
9
|
import { Badge } from "./components/badge.js";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -3,10 +3,10 @@ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
|
3
3
|
import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-BkLF-JA3.js";
|
|
4
4
|
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
5
5
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
6
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
6
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-ClLu7Hix.js";
|
|
7
7
|
import { a as inputSizeDefinition, i as inputSideDefinition, o as useInputCva } from "./input.cva-2C6_W5jD.js";
|
|
8
8
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
9
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
9
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
10
10
|
import { t as textAreaWrapperDefinition } from "./TextArea.cva-ENXI55ec.js";
|
|
11
11
|
import $ahdqC$react, { createContext, forwardRef, memo, useRef, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as TextAreaBase } from "./TextArea-
|
|
1
|
+
import { n as TextAreaBase } from "./TextArea-CsTjCZIE.js";
|
|
2
2
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
3
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/Input/TextArea/TextArea.bound.tsx
|
|
@@ -6,18 +6,19 @@ import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
|
6
6
|
import { IconButton } from "./components/icon-button.js";
|
|
7
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
8
8
|
import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
|
|
9
|
-
import { n as FormFieldLabel, t as FormField } from "./FormField-
|
|
9
|
+
import { n as FormFieldLabel, t as FormField } from "./FormField-ClLu7Hix.js";
|
|
10
10
|
import { a as inputSizeDefinition, t as inputBaseDefinition } from "./input.cva-2C6_W5jD.js";
|
|
11
11
|
import { t as resolveInputLayout } from "./inputLayout-KdAtunGk.js";
|
|
12
12
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
13
|
-
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-
|
|
13
|
+
import { a as getStaticTimeSegments, c as useFirefoxDateSegmentSelectionGuard, d as $8e7461aabf74661f$export$60e84778edff6d26, i as getStaticDateTimeFocusTarget, l as DateSegmentItem, o as DateTimeDialogFooter, s as DateTimeDialog } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
14
14
|
import { t as DateTimeUtils } from "./date-time.utils-0F9qduim.js";
|
|
15
15
|
import { t as datePickerInputContentRowDefinition } from "./datePickerInput.cva-CWkV2fut.js";
|
|
16
|
-
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-
|
|
16
|
+
import { n as InputClear, t as TooltipWrapper } from "./TooltipWrapper-DmcWMIp0.js";
|
|
17
|
+
import { n as inputTrailingRowClass, r as inputTrailingRowInsetClass, t as inputContentRowClass } from "./inputRow.clsx-BbcaXVta.js";
|
|
17
18
|
import { t as normalizeDatePickerValue } from "./datePickerValue.utils-CkmPaD6I.js";
|
|
18
19
|
import { n as useStaticInputHandoff } from "./useStaticInputHandoff-BN0fOerH.js";
|
|
19
20
|
import { InputFrame } from "./components/input-frame.js";
|
|
20
|
-
import { t as TimePickerForm } from "./TimePickerForm-
|
|
21
|
+
import { t as TimePickerForm } from "./TimePickerForm-Bv8S3M_p.js";
|
|
21
22
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
22
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
24
|
import { GregorianCalendar, Time, getLocalTimeZone, now, toCalendarDateTime, toTime, toZoned, today } from "@internationalized/date";
|
|
@@ -123,10 +124,10 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
123
124
|
...focusWithinProps,
|
|
124
125
|
...hoverProps,
|
|
125
126
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
126
|
-
className: clsx(inputSizeCva({
|
|
127
|
+
className: clsx(inputContentRowClass, "pr-0!", inputSizeCva({
|
|
127
128
|
size,
|
|
128
129
|
as
|
|
129
|
-
})
|
|
130
|
+
})),
|
|
130
131
|
children: [
|
|
131
132
|
disableManualEntry && /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
|
|
132
133
|
onPress,
|
|
@@ -153,15 +154,16 @@ const TimePickerInput = ({ ref, as, fieldProps, state, isDisabled, isDirty, isRe
|
|
|
153
154
|
}) })
|
|
154
155
|
]
|
|
155
156
|
}), /* @__PURE__ */ jsxs("div", {
|
|
156
|
-
className: clsx(inputSizeCva({
|
|
157
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
157
158
|
size,
|
|
158
159
|
as
|
|
159
|
-
}),
|
|
160
|
+
}), inputTrailingRowInsetClass),
|
|
160
161
|
children: [isClearable && /* @__PURE__ */ jsx(InputClear, {
|
|
161
162
|
onClear: () => {
|
|
162
163
|
if (onClear) onClear();
|
|
163
164
|
else state.setValue(null);
|
|
164
165
|
},
|
|
166
|
+
as,
|
|
165
167
|
show: canClear && (!isDisabled || isClearableIfDisabled === true)
|
|
166
168
|
}), (!disableDropdown || disableManualEntry) && /* @__PURE__ */ jsx(IconButton, {
|
|
167
169
|
label: headerProps?.label ?? "Open time picker",
|
|
@@ -407,7 +409,7 @@ const TimePickerInner = ({ defaultValue: _defaultValue, renderStaticInput, isFor
|
|
|
407
409
|
staticPressTarget: "action",
|
|
408
410
|
showClear: timeValue != null,
|
|
409
411
|
wrapContentAndTrailing: true,
|
|
410
|
-
trailingClassName:
|
|
412
|
+
trailingClassName: inputTrailingRowInsetClass,
|
|
411
413
|
action: showDropdown ? {
|
|
412
414
|
icon: ui.dateInput.timeIcon,
|
|
413
415
|
onClick: () => {},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as TimePickerInner } from "./TimePicker-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as TimePickerInner } from "./TimePicker-BSM4Ioa_.js";
|
|
4
4
|
import { memo } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/DateTime/TimePicker/TimePicker.bound.tsx
|
|
@@ -2,8 +2,8 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
3
3
|
import { IconButton } from "./components/icon-button.js";
|
|
4
4
|
import { t as useBreakpoint } from "./useBreakpoint-CJ3mx7UF.js";
|
|
5
|
-
import { u as getPlaceholder } from "./staticDateTimeSegments-
|
|
6
|
-
import "./i18n-
|
|
5
|
+
import { u as getPlaceholder } from "./staticDateTimeSegments-DeeSpTzj.js";
|
|
6
|
+
import "./i18n-DxbqkvyK.js";
|
|
7
7
|
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { useEffect, useRef } from "react";
|
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
2
2
|
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
3
3
|
import { i as toastContainerDefinition, o as toastWrapper } from "./toast.cva-B6NXTwbZ.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as xo, t as R } from "./dist-C8Tl4DGt.js";
|
|
5
5
|
import { i as subscribeToToastActivation, n as isToastRendererActive, r as isToastRendererInactive } from "./toastActivation.store-BELtcr76.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { useSyncExternalStore } from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/status/Toast/ToastRenderer.tsx
|
|
10
|
+
const SlideBottom = R({
|
|
11
|
+
enter: "animate-toast-enter-bottom motion-reduce:animate-toast-fade-in",
|
|
12
|
+
exit: "animate-toast-exit-bottom motion-reduce:animate-toast-fade-out",
|
|
13
|
+
collapseDuration: 200
|
|
14
|
+
});
|
|
15
|
+
const SlideTop = R({
|
|
16
|
+
enter: "animate-toast-enter-top motion-reduce:animate-toast-fade-in",
|
|
17
|
+
exit: "animate-toast-exit-top motion-reduce:animate-toast-fade-out",
|
|
18
|
+
collapseDuration: 200
|
|
19
|
+
});
|
|
20
|
+
const ToastTransition = (props) => {
|
|
21
|
+
const $ = c(3);
|
|
22
|
+
const Transition = props.position.startsWith("bottom") ? SlideBottom : SlideTop;
|
|
23
|
+
let t0;
|
|
24
|
+
if ($[0] !== Transition || $[1] !== props) {
|
|
25
|
+
t0 = /* @__PURE__ */ jsx(Transition, { ...props });
|
|
26
|
+
$[0] = Transition;
|
|
27
|
+
$[1] = props;
|
|
28
|
+
$[2] = t0;
|
|
29
|
+
} else t0 = $[2];
|
|
30
|
+
return t0;
|
|
31
|
+
};
|
|
10
32
|
const ToastRenderer = () => {
|
|
11
33
|
const $ = c(6);
|
|
12
34
|
const uiConfig = UIConfig.useConfig();
|
|
@@ -27,6 +49,7 @@ const ToastRenderer = () => {
|
|
|
27
49
|
position: uiConfig.toast.position,
|
|
28
50
|
className: t0,
|
|
29
51
|
toastClassName: toastWrapper,
|
|
52
|
+
transition: ToastTransition,
|
|
30
53
|
autoClose: 2500,
|
|
31
54
|
icon: false,
|
|
32
55
|
closeButton: false,
|
|
@@ -5,7 +5,7 @@ import { n as $bc25b811ec97a172$export$40258cc1d95ff477, t as $75afe627ae0cc0fa$
|
|
|
5
5
|
import { t as Typography } from "./Typography-DCLnPa3P.js";
|
|
6
6
|
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
7
7
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
8
|
-
import { t as FormField } from "./FormField-
|
|
8
|
+
import { t as FormField } from "./FormField-ClLu7Hix.js";
|
|
9
9
|
import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
|
|
10
10
|
import { n as toggleGroupItemDefinition, t as toggleGroupDefinition } from "./toggleGroup.cva-CINSHakM.js";
|
|
11
11
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
|
|
2
|
-
import { t as FieldController } from "./form.binding-
|
|
3
|
-
import { n as ToggleGroupBase } from "./ToggleGroup-
|
|
2
|
+
import { t as FieldController } from "./form.binding-Ddx5NGCq.js";
|
|
3
|
+
import { n as ToggleGroupBase } from "./ToggleGroup-BDKfPYek.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ToggleGroup/ToggleGroup.bound.tsx
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "./clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
|
|
3
3
|
import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
|
|
4
4
|
import { n as inputClearClassDefinition } from "./input.cva-2C6_W5jD.js";
|
|
5
|
-
import "./i18n-
|
|
5
|
+
import "./i18n-DxbqkvyK.js";
|
|
6
6
|
import { t as tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva-t4NQ9zz9.js";
|
|
7
7
|
import { X } from "lucide-react";
|
|
8
8
|
import { Suspense, lazy } from "react";
|
|
@@ -2,7 +2,7 @@ import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
|
2
2
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
3
3
|
import { t as UIConfig } from "../uiConfig.context-3DN9w6oU.js";
|
|
4
4
|
import { t as Button } from "../Button-dRFJundh.js";
|
|
5
|
-
import { t as Dialog } from "../Dialog-
|
|
5
|
+
import { t as Dialog } from "../Dialog-B10YV23i.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { useId } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Autocomplete } from "../Autocomplete-
|
|
1
|
+
import { t as Autocomplete } from "../Autocomplete-BKJ5sYdA.js";
|
|
2
2
|
export { Autocomplete };
|
package/dist/components/badge.js
CHANGED
|
@@ -5,7 +5,7 @@ import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-C1YB5d
|
|
|
5
5
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
6
6
|
import { t as UIConfig } from "../uiConfig.context-3DN9w6oU.js";
|
|
7
7
|
import { r as badgeButtonDefinition } from "../badgeButton.cva-CqaR8KBt.js";
|
|
8
|
-
import "../i18n-
|
|
8
|
+
import "../i18n-DxbqkvyK.js";
|
|
9
9
|
import { X } from "lucide-react";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import { t as IconSlot } from "../IconSlot-CqNuZl0E.js";
|
|
|
3
3
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-C1YB5dOw.js";
|
|
4
4
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
5
5
|
import { n as uiOutlineClass } from "../outline.clsx-DGGQQRkM.js";
|
|
6
|
-
import "../i18n-
|
|
6
|
+
import "../i18n-DxbqkvyK.js";
|
|
7
7
|
import { X } from "lucide-react";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Breadcrumbs } from "../Breadcrumbs-
|
|
1
|
+
import { t as Breadcrumbs } from "../Breadcrumbs-B7i7tj1S.js";
|
|
2
2
|
export { Breadcrumbs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CheckboxGroup } from "../CheckboxGroup-
|
|
1
|
+
import { t as CheckboxGroup } from "../CheckboxGroup-CneFMbCF.js";
|
|
2
2
|
export { CheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DatePicker } from "../DatePicker-
|
|
1
|
+
import { t as DatePicker } from "../DatePicker-DUCe_SVM.js";
|
|
2
2
|
export { DatePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as formatRelativeDaysValue, c as hydrateRelativeDateRangeValue, d as isStoredRelativeDateRangeValue, f as parseRelativeDaysValue, i as formatRelativeDaysOffset, l as isDateRangePresetValue, o as getDateRangePreset, p as resolveDateRangePreset, r as dateRangePresetValues, s as getRelativeDaysOffset, t as DateRangePicker, u as isRelativeDateRangeValue } from "../DateRangePicker-
|
|
1
|
+
import { a as formatRelativeDaysValue, c as hydrateRelativeDateRangeValue, d as isStoredRelativeDateRangeValue, f as parseRelativeDaysValue, i as formatRelativeDaysOffset, l as isDateRangePresetValue, o as getDateRangePreset, p as resolveDateRangePreset, r as dateRangePresetValues, s as getRelativeDaysOffset, t as DateRangePicker, u as isRelativeDateRangeValue } from "../DateRangePicker-CkiT1lEf.js";
|
|
2
2
|
export { DateRangePicker, dateRangePresetValues, formatRelativeDaysOffset, formatRelativeDaysValue, getDateRangePreset, getRelativeDaysOffset, hydrateRelativeDateRangeValue, isDateRangePresetValue, isRelativeDateRangeValue, isStoredRelativeDateRangeValue, parseRelativeDaysValue, resolveDateRangePreset };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DateTimePicker } from "../DateTimePicker-
|
|
1
|
+
import { t as DateTimePicker } from "../DateTimePicker-B7qiGRqC.js";
|
|
2
2
|
export { DateTimePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Dialog } from "../Dialog-
|
|
1
|
+
import { t as Dialog } from "../Dialog-B10YV23i.js";
|
|
2
2
|
export { Dialog };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as MenuItem } from "../DropdownMenuDesktop-
|
|
2
|
-
import { t as DropdownMenu } from "../DropdownMenu-
|
|
1
|
+
import { r as MenuItem } from "../DropdownMenuDesktop-BjGcbdmX.js";
|
|
2
|
+
import { t as DropdownMenu } from "../DropdownMenu-Dt8nr5qS.js";
|
|
3
3
|
export { DropdownMenu, MenuItem };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileInput } from "../FileInput-
|
|
1
|
+
import { t as FileInput } from "../FileInput-CDzclNi2.js";
|
|
2
2
|
export { FileInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FileUpload } from "../FileUpload-
|
|
1
|
+
import { t as FileUpload } from "../FileUpload-u81ZwwEt.js";
|
|
2
2
|
export { FileUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FormField } from "../FormField-
|
|
1
|
+
import { t as FormField } from "../FormField-ClLu7Hix.js";
|
|
2
2
|
export { FormField };
|
|
@@ -6,10 +6,11 @@ import { t as Spinner } from "../Spinner-DqjP06T1.js";
|
|
|
6
6
|
import { t as UIConfig } from "../uiConfig.context-3DN9w6oU.js";
|
|
7
7
|
import { IconButton } from "./icon-button.js";
|
|
8
8
|
import { t as useFieldAccessibility } from "../useFieldAccessibility-eZIMECmG.js";
|
|
9
|
-
import { n as FormFieldLabel, t as FormField } from "../FormField-
|
|
9
|
+
import { n as FormFieldLabel, t as FormField } from "../FormField-ClLu7Hix.js";
|
|
10
10
|
import { a as inputSizeDefinition, r as inputContentWrapperDefinition, t as inputBaseDefinition } from "../input.cva-2C6_W5jD.js";
|
|
11
11
|
import { t as resolveInputLayout } from "../inputLayout-KdAtunGk.js";
|
|
12
|
-
import { n as InputClear, t as TooltipWrapper } from "../TooltipWrapper-
|
|
12
|
+
import { n as InputClear, t as TooltipWrapper } from "../TooltipWrapper-DmcWMIp0.js";
|
|
13
|
+
import { n as inputTrailingRowClass, t as inputContentRowClass } from "../inputRow.clsx-BbcaXVta.js";
|
|
13
14
|
import { isValidElement, useId, useLayoutEffect, useRef } from "react";
|
|
14
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
16
|
//#region src/components/inputs/Skeleton/InputFrame.tsx
|
|
@@ -101,7 +102,7 @@ const InputFrame = (props) => {
|
|
|
101
102
|
const isInputContentGroup = contentGroup === "input";
|
|
102
103
|
const contentRow = /* @__PURE__ */ jsxs("div", {
|
|
103
104
|
...dataAttributeProps,
|
|
104
|
-
className: clsx(isInputContentGroup && inputFrameContentGroupClassNames.input, "group/input-frame
|
|
105
|
+
className: clsx(isInputContentGroup && inputFrameContentGroupClassNames.input, "group/input-frame", inputContentRowClass, inputSizeCva({
|
|
105
106
|
size,
|
|
106
107
|
as
|
|
107
108
|
}), typographySize && typographyCva({ size: typographySize }), contentClassName),
|
|
@@ -176,7 +177,7 @@ const InputFrame = (props) => {
|
|
|
176
177
|
trailingAction
|
|
177
178
|
] }) : null;
|
|
178
179
|
const trailingRow = wrapTrailingContent && trailingContentNodes ? /* @__PURE__ */ jsx("div", {
|
|
179
|
-
className: clsx(
|
|
180
|
+
className: clsx(inputTrailingRowClass, inputSizeCva({
|
|
180
181
|
size,
|
|
181
182
|
as
|
|
182
183
|
}), !isTrailingInteractive && "pointer-events-none", trailingClassName),
|
package/dist/components/input.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputComponent, t as Input } from "../Input-
|
|
1
|
+
import { n as InputComponent, t as Input } from "../Input-g9gG6FBB.js";
|
|
2
2
|
export { Input, InputComponent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as NumberFieldComponent, t as NumberField } from "../NumberField-
|
|
1
|
+
import { n as NumberFieldComponent, t as NumberField } from "../NumberField-DodaCw5J.js";
|
|
2
2
|
export { NumberField, NumberFieldComponent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as NumberRangeInput } from "../NumberRangeInput-
|
|
1
|
+
import { t as NumberRangeInput } from "../NumberRangeInput-BIBCaGE4.js";
|
|
2
2
|
export { NumberRangeInput };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
|
-
import { t as Breadcrumbs } from "../Breadcrumbs-
|
|
2
|
+
import { t as Breadcrumbs } from "../Breadcrumbs-B7i7tj1S.js";
|
|
3
3
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
4
4
|
import { Link as Link$1 } from "./link.js";
|
|
5
5
|
import { ChevronLeft } from "lucide-react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../i18n-
|
|
2
|
-
import { t as Input } from "../Input-
|
|
1
|
+
import "../i18n-DxbqkvyK.js";
|
|
2
|
+
import { t as Input } from "../Input-g9gG6FBB.js";
|
|
3
3
|
import { Eye, EyeOff } from "lucide-react";
|
|
4
4
|
import { memo, useState } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RadioGroup } from "../RadioGroup-
|
|
1
|
+
import { t as RadioGroup } from "../RadioGroup-HMm5cKXh.js";
|
|
2
2
|
export { RadioGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../Select-
|
|
1
|
+
import { t as Select } from "../Select-s_1onwY9.js";
|
|
2
2
|
export { Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Slider } from "../Slider-
|
|
1
|
+
import { t as Slider } from "../Slider-8J-Ny6BX.js";
|
|
2
2
|
export { Slider };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as clsx } from "../clsx-CnD0nOiA.js";
|
|
2
2
|
import { t as Button } from "../Button-dRFJundh.js";
|
|
3
3
|
import { IconButton } from "./icon-button.js";
|
|
4
|
-
import { t as DropdownMenu } from "../DropdownMenu-
|
|
4
|
+
import { t as DropdownMenu } from "../DropdownMenu-Dt8nr5qS.js";
|
|
5
5
|
import { ChevronDown } from "lucide-react";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as StyleMergeUtils } from "../uiOverrides.context-DNEQlTx0.js";
|
|
2
2
|
import { a as breadcrumbsDefinition, i as breadcrumbSegmentDefinition, n as breadcrumbIconDefinition, r as breadcrumbItemDefinition, t as breadcrumbChevronDefinition } from "../breadcrumbs.cva-CnBIZUB3.js";
|
|
3
|
-
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "../dropdownMenu.cva-
|
|
3
|
+
import { i as menuPopoverWrapperDefinition, n as menuItemDefinition, r as menuPopoverDefinition, t as dropdownMenuDefinition } from "../dropdownMenu.cva-CcFuz2Yo.js";
|
|
4
4
|
import { i as tooltipTextDefinition, n as tooltipPointerHorizontalDefinition, r as tooltipPointerVerticalDefinition, t as tooltipDefinition } from "../tooltip.cva-BEyxvcG2.js";
|
|
5
5
|
import { t as typographyDefinition } from "../typography.cva-CHsHX_Wp.js";
|
|
6
6
|
import { i as buttonSizeDefinition, n as buttonDefinition, r as buttonIconSizeDefinition, t as buttonContentDefinition } from "../button.cva-CMkwxrFU.js";
|
|
@@ -19,7 +19,7 @@ import { t as textAreaWrapperDefinition } from "../TextArea.cva-ENXI55ec.js";
|
|
|
19
19
|
import { i as radioDefinition, n as radioContentRowDefinition, r as radioContentWrapperDefinition } from "../radio.cva-DistaZtZ.js";
|
|
20
20
|
import { t as selectListBoxItemDefinition } from "../selectItem.cva-B6vxey2R.js";
|
|
21
21
|
import { t as tagDefinition } from "../tag.cva-ExMNsTN-.js";
|
|
22
|
-
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "../selectDesktop.cva-
|
|
22
|
+
import { n as selectInputTagsContentWrapperDefinition, t as selectPopoverDefinition } from "../selectDesktop.cva-30JAvtgB.js";
|
|
23
23
|
import { a as accordionHeadingTitleDefinition, c as accordionPanelContentDefinition, i as accordionHeadingSubtitleDefinition, l as accordionPanelDefinition, n as accordionDefinition, o as accordionIconDefinition, r as accordionHeadingDefinition, s as accordionItemDefinition, t as accordionChevronDefinition, u as accordionTriggerDefinition } from "../accordion.cva-DwxY-k1e.js";
|
|
24
24
|
import { a as stepperSeparatorDefinition, i as stepperNumberDefinition, n as stepperIconDefinition, o as stepperSubtextDefinition, r as stepperItemDefinition, s as stepperTitleDefinition, t as stepperDefinition } from "../stepper.cva-Cecphqeo.js";
|
|
25
25
|
import { t as linkDefinition } from "../link.cva-C24YVAsJ.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TabsFilters, t as ListTabs } from "../TabsFilters-
|
|
1
|
+
import { n as TabsFilters, t as ListTabs } from "../TabsFilters-DtZrvnTC.js";
|
|
2
2
|
export { ListTabs, TabsFilters };
|
package/dist/components/tag.js
CHANGED
|
@@ -4,7 +4,7 @@ import { t as IconSlot } from "../IconSlot-CqNuZl0E.js";
|
|
|
4
4
|
import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "../Button-C1YB5dOw.js";
|
|
5
5
|
import { t as Typography } from "../Typography-DCLnPa3P.js";
|
|
6
6
|
import { t as UIConfig } from "../uiConfig.context-3DN9w6oU.js";
|
|
7
|
-
import "../i18n-
|
|
7
|
+
import "../i18n-DxbqkvyK.js";
|
|
8
8
|
import { t as tagDefinition } from "../tag.cva-ExMNsTN-.js";
|
|
9
9
|
import { X } from "lucide-react";
|
|
10
10
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextArea } from "../TextArea-
|
|
1
|
+
import { t as TextArea } from "../TextArea-CsTjCZIE.js";
|
|
2
2
|
export { TextArea };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TimePicker } from "../TimePicker-
|
|
1
|
+
import { t as TimePicker } from "../TimePicker-BSM4Ioa_.js";
|
|
2
2
|
export { TimePicker };
|