@povio/ui 3.4.0-rc.8 → 3.4.0-rc.9
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/components/Breadcrumbs/Breadcrumbs.js +7 -16
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDesktop.js +1 -1
- package/dist/components/Menu/MenuItem.js +3 -6
- package/dist/components/Menu/MenuMobile.js +4 -7
- package/dist/components/Menu/MenuPopover.js +1 -1
- package/dist/components/buttons/Button/Button.js +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +1 -1
- package/dist/components/buttons/PillButton/PillButton.js +2 -2
- package/dist/components/buttons/SplitButton/SplitButton.js +3 -9
- package/dist/components/buttons/TextButton/TextButton.js +1 -1
- package/dist/components/buttons/ToggleButton/ToggleButton.js +1 -1
- package/dist/components/buttons/shared/ButtonContent.js +2 -2
- package/dist/components/inputs/Checkbox/Checkbox.js +1 -1
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +1 -1
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +1 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +1 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/Calendar.js +1 -1
- package/dist/components/inputs/DateTime/shared/CalendarCell.js +1 -1
- package/dist/components/inputs/DateTime/shared/CalendarGrid.js +1 -1
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +4 -11
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +8 -26
- package/dist/components/inputs/DateTime/shared/DateField.js +2 -2
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +3 -3
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +2 -2
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +1 -1
- package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +1 -1
- package/dist/components/inputs/DateTime/shared/MonthPicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/RangeCalendar.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimeField.js +1 -1
- package/dist/components/inputs/DateTime/shared/TimePickerForm.js +2 -2
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +1 -1
- package/dist/components/inputs/DateTime/shared/YearPicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +1 -1
- package/dist/components/inputs/File/FileUpload.js +2 -2
- package/dist/components/inputs/File/FileUploadContainer.js +1 -1
- package/dist/components/inputs/File/InputUpload.js +1 -1
- package/dist/components/inputs/File/shared/FileCard.js +1 -1
- package/dist/components/inputs/File/shared/FileCardList.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContent.js +1 -1
- package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +3 -6
- package/dist/components/inputs/File/shared/FileUploadContentError.js +5 -14
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +5 -14
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +4 -10
- package/dist/components/inputs/File/shared/InputUploadContent.js +7 -13
- package/dist/components/inputs/File/shared/InputUploadFilled.js +3 -9
- package/dist/components/inputs/FormField/FormField.js +1 -1
- package/dist/components/inputs/FormField/FormFieldError.js +1 -1
- package/dist/components/inputs/FormField/FormFieldHeader.js +3 -4
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +3 -6
- package/dist/components/inputs/FormField/FormFieldHelper.js +1 -1
- package/dist/components/inputs/FormField/FormFieldLabel.js +1 -1
- package/dist/components/inputs/Input/NumberInput/NumberInput.js +1 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +1 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +2 -2
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/inputs/Input/TextArea/TextArea.js +1 -1
- package/dist/components/inputs/Input/TextInput/TextInput.js +1 -1
- package/dist/components/inputs/Input/shared/InputContent.js +1 -1
- package/dist/components/inputs/Inputs/Form.js +1 -1
- package/dist/components/inputs/Inputs/InputItem.js +1 -1
- package/dist/components/inputs/Inputs/Inputs.js +1 -1
- package/dist/components/inputs/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/inputs/Selection/Autocomplete/Autocomplete.js +2 -2
- package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +1 -1
- package/dist/components/inputs/Selection/Select/QuerySelect.js +1 -1
- package/dist/components/inputs/Selection/Select/Select.js +3 -3
- package/dist/components/inputs/Selection/shared/SelectBase.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +3 -3
- package/dist/components/inputs/Selection/shared/SelectInput.js +4 -5
- package/dist/components/inputs/Selection/shared/SelectInputTags.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBox.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectMobile.js +3 -6
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +3 -6
- package/dist/components/inputs/Selection/shared/select.context.js +1 -1
- package/dist/components/inputs/Skeleton/InputFrame.js +3 -3
- package/dist/components/inputs/Slider/Slider.js +1 -1
- package/dist/components/inputs/TextEditor/TextEditor.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +3 -4
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +11 -17
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +2 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +3 -4
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +4 -8
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +2 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +2 -2
- package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +1 -1
- package/dist/components/inputs/Toggle/Toggle.js +1 -1
- package/dist/components/inputs/shared/CheckContent.js +1 -1
- package/dist/components/inputs/shared/InputClear.js +6 -15
- package/dist/components/inputs/shared/TooltipWrapper.js +1 -1
- package/dist/components/inputs/shared/form.binding.js +1 -1
- package/dist/components/navigation/Accordion/Accordion.js +1 -1
- package/dist/components/navigation/Accordion/AccordionItem.js +3 -6
- package/dist/components/navigation/Stepper/Stepper.js +2 -2
- package/dist/components/navigation/Stepper/StepperItem.js +3 -6
- package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
- package/dist/components/overlays/ActionModal/ActionModal.js +1 -1
- package/dist/components/overlays/BottomSheet/BottomSheet.js +2 -2
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +3 -6
- package/dist/components/overlays/Drawer/Drawer.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +3 -6
- package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +6 -8
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +1 -1
- package/dist/components/segment/Segment.js +3 -3
- package/dist/components/segment/SegmentItem.js +1 -1
- package/dist/components/shared/pagination/Pagination.js +1 -1
- package/dist/components/shared/pagination/PaginationList.js +14 -38
- package/dist/components/status/Loader/Loader.js +1 -1
- package/dist/components/status/Toast/Toast.js +1 -1
- package/dist/components/status/Toast/useToast.js +1 -1
- package/dist/components/table/ColumnConfig.js +1 -1
- package/dist/components/table/InfiniteTable.js +1 -1
- package/dist/components/table/PaginatedTable.js +1 -1
- package/dist/components/table/Table.js +39 -154
- package/dist/components/text/Link/Link.js +1 -1
- package/dist/components/text/Pill/Pill.js +3 -6
- package/dist/components/text/Tag/Tag.js +3 -6
- package/dist/config/confirmation.context.js +1 -1
- package/dist/config/link.context.js +1 -1
- package/dist/config/router.context.js +1 -1
- package/dist/config/theme.context.js +1 -1
- package/dist/config/uiConfig.context.js +5 -14
- package/dist/config/uiOverrides.context.js +1 -1
- package/dist/rhf/Inputs.js +1 -1
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js +0 -15
- package/dist/react-icons-sprite-dad1d156.svg +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateSegmentItem } from "./DateSegmentItem.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/inputs/DateTime/shared/TimeField.tsx
|
|
5
5
|
var TimeField = (t0) => {
|
|
6
6
|
const $ = c(8);
|
|
@@ -3,12 +3,12 @@ import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconBu
|
|
|
3
3
|
import { useBreakpoint } from "../../../../hooks/useBreakpoint.js";
|
|
4
4
|
import { getPlaceholder } from "./DateSegmentItem.js";
|
|
5
5
|
import { useLongPressRepeat } from "../../../../hooks/useLongPressRepeat.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { useEffect, useRef } from "react";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
import { useDateSegment, useLocale, useTimeField } from "react-aria";
|
|
11
|
-
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
12
12
|
import { Time } from "@internationalized/date";
|
|
13
13
|
import { useTimeFieldState } from "@react-stately/datepicker";
|
|
14
14
|
//#region src/components/inputs/DateTime/shared/TimePickerForm.tsx
|
|
@@ -7,11 +7,11 @@ import { inputBaseDefinition, inputSizeDefinition } from "../../shared/input.cva
|
|
|
7
7
|
import { useFirefoxDateSegmentSelectionGuard } from "./useFirefoxDateSegmentSelectionGuard.js";
|
|
8
8
|
import { InputClear } from "../../shared/InputClear.js";
|
|
9
9
|
import { TimeField } from "./TimeField.js";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { useRef, useState } from "react";
|
|
13
12
|
import { Button } from "react-aria-components";
|
|
14
13
|
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useFocusVisible, useFocusWithin, useHover } from "react-aria";
|
|
16
16
|
import { mergeRefs } from "@react-aria/utils";
|
|
17
17
|
//#region src/components/inputs/DateTime/shared/TimePickerInput.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
2
2
|
import { useScrollableListBox } from "../../../../hooks/useScrollableListBox.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
4
|
import { useRef } from "react";
|
|
6
5
|
import { ListBox, ListBoxItem } from "react-aria-components";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { today } from "@internationalized/date";
|
|
9
9
|
import { useDateFormatter } from "@react-aria/i18n";
|
|
10
10
|
//#region src/components/inputs/DateTime/shared/YearPicker.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IconButton } from "../../../buttons/IconButton/IconButton.js";
|
|
2
2
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/DateTime/shared/datePickerTodayIcon.tsx
|
|
6
6
|
var TodayIcon = (t0) => {
|
|
7
7
|
const $ = c(9);
|
|
@@ -8,11 +8,11 @@ import { FileCardList } from "./shared/FileCardList.js";
|
|
|
8
8
|
import { FileUploadContentEmpty } from "./shared/FileUploadContentEmpty.js";
|
|
9
9
|
import { FileUploadContent } from "./shared/FileUploadContent.js";
|
|
10
10
|
import { fileUploadDropZoneDefinition } from "./shared/fileUpload.cva.js";
|
|
11
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { clsx } from "clsx";
|
|
13
12
|
import { useCallback, useState } from "react";
|
|
14
13
|
import { DropZone } from "react-aria-components";
|
|
15
14
|
import { c } from "react/compiler-runtime";
|
|
15
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { mergeRefs, useLabels } from "@react-aria/utils";
|
|
17
17
|
import { useTranslation } from "react-i18next";
|
|
18
18
|
//#region src/components/inputs/File/FileUpload.tsx
|
|
@@ -142,7 +142,7 @@ var FileUploadBase = (props) => {
|
|
|
142
142
|
isContainer: !!children,
|
|
143
143
|
className: "group/file-upload-drop-zone"
|
|
144
144
|
}),
|
|
145
|
-
children: children ? /* @__PURE__ */ jsxs(Fragment, { children: [children({
|
|
145
|
+
children: children ? /* @__PURE__ */ jsxs(Fragment$1, { children: [children({
|
|
146
146
|
files: uploadState,
|
|
147
147
|
onRemove: handleRemove,
|
|
148
148
|
onCancel: handleCancelUpload
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FileUpload } from "./FileUpload.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/inputs/File/FileUploadContainer.tsx
|
|
5
5
|
var FileUploadContainer = (props) => {
|
|
6
6
|
const $ = c(2);
|
|
@@ -4,10 +4,10 @@ import { FormField } from "../FormField/FormField.js";
|
|
|
4
4
|
import { FileUtils } from "../../../utils/file.utils.js";
|
|
5
5
|
import { InputUploadContent } from "./shared/InputUploadContent.js";
|
|
6
6
|
import { InputUploadFilled } from "./shared/InputUploadFilled.js";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { useState } from "react";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import { mergeRefs, useLabels } from "@react-aria/utils";
|
|
12
12
|
//#region src/components/inputs/File/InputUpload.tsx
|
|
13
13
|
var InputUploadBase = ({ ref: _ref, label, tooltipText, variant, helperText, isRequired, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, className, onChange, onInvalidFileType, value, defaultValue, allowsMultiple = false, hideLabel, acceptedFileTypes, size, ...rest }) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FileUploadContentError } from "./FileUploadContentError.js";
|
|
2
2
|
import { FileUploadContentFilled } from "./FileUploadContentFilled.js";
|
|
3
3
|
import { FileUploadContentLoading } from "./FileUploadContentLoading.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/inputs/File/shared/FileCard.tsx
|
|
8
8
|
var FileCard = (t0) => {
|
|
9
9
|
const $ = c(31);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FileCard } from "./FileCard.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { clsx } from "clsx";
|
|
4
3
|
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/File/shared/FileCardList.tsx
|
|
6
6
|
var FileCardList = (t0) => {
|
|
7
7
|
const $ = c(20);
|
|
@@ -2,9 +2,9 @@ import { FileUploadContentError } from "./FileUploadContentError.js";
|
|
|
2
2
|
import { FileUploadContentFilled } from "./FileUploadContentFilled.js";
|
|
3
3
|
import { FileUploadContentLoading } from "./FileUploadContentLoading.js";
|
|
4
4
|
import { FileUploadContentEmpty } from "./FileUploadContentEmpty.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { FileTrigger } from "react-aria-components";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/inputs/File/shared/FileUploadContent.tsx
|
|
9
9
|
var FileUploadContent = (t0) => {
|
|
10
10
|
const $ = c(63);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
3
2
|
import { Button } from "../../../buttons/Button/Button.js";
|
|
4
3
|
import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
5
|
-
import {
|
|
4
|
+
import { Upload } from "lucide-react";
|
|
6
5
|
import { clsx } from "clsx";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/inputs/File/shared/FileUploadContentEmpty.tsx
|
|
8
8
|
var FileUploadContentEmpty = ({ variant, as, isDisabled, title, browseText, uploadText, singleFile, hideButton = false, className, browseButtonProps }) => {
|
|
9
9
|
const { size: browseButtonSize = "xs", variant: browseButtonVariant = "outlined", width: browseButtonWidth = "hug", ...browseButtonRestProps } = browseButtonProps ?? {};
|
|
@@ -18,10 +18,7 @@ var FileUploadContentEmpty = ({ variant, as, isDisabled, title, browseText, uplo
|
|
|
18
18
|
"flex-row": variant === "horizontal",
|
|
19
19
|
"opacity-50": isDisabled
|
|
20
20
|
}),
|
|
21
|
-
children: [/* @__PURE__ */ jsx(
|
|
22
|
-
iconId: "ri-lucide-react-Upload",
|
|
23
|
-
className: "h-6 w-6 text-text-default-1"
|
|
24
|
-
}), /* @__PURE__ */ jsx(Typography, {
|
|
21
|
+
children: [/* @__PURE__ */ jsx(Upload, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsx(Typography, {
|
|
25
22
|
variant: "prominent-1",
|
|
26
23
|
size: "label-1",
|
|
27
24
|
as: "span",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
3
2
|
import { Button as Button$1 } from "../../../buttons/Button/Button.js";
|
|
4
3
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
5
4
|
import "../../../../config/i18n.js";
|
|
6
5
|
import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
7
|
-
import {
|
|
6
|
+
import { CircleAlert, X } from "lucide-react";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { FileTrigger } from "react-aria-components";
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/File/shared/FileUploadContentError.tsx
|
|
12
12
|
var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove, browseButtonProps }) => {
|
|
@@ -27,10 +27,7 @@ var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, file
|
|
|
27
27
|
"flex-row": variant === "horizontal",
|
|
28
28
|
"opacity-50": isDisabled
|
|
29
29
|
}),
|
|
30
|
-
children: [/* @__PURE__ */ jsx(
|
|
31
|
-
iconId: "ri-lucide-react-CircleAlert",
|
|
32
|
-
className: "h-6 w-6 text-elevation-fill-warning-1"
|
|
33
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
30
|
+
children: [/* @__PURE__ */ jsx(CircleAlert, { className: "h-6 w-6 text-elevation-fill-warning-1" }), /* @__PURE__ */ jsxs("div", {
|
|
34
31
|
className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
|
|
35
32
|
"max-w-full items-center": variant === "vertical",
|
|
36
33
|
"max-w-[calc(100%_-_32px)]": variant === "horizontal"
|
|
@@ -73,10 +70,7 @@ var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, file
|
|
|
73
70
|
onPress: () => {
|
|
74
71
|
onRemove(state.id ?? "");
|
|
75
72
|
},
|
|
76
|
-
icon:
|
|
77
|
-
...props,
|
|
78
|
-
iconId: "ri-lucide-react-X"
|
|
79
|
-
})
|
|
73
|
+
icon: X
|
|
80
74
|
}) : /* @__PURE__ */ jsx(TextButton, {
|
|
81
75
|
className: "text-interactive-text-primary-idle lowercase",
|
|
82
76
|
onPress: () => {
|
|
@@ -101,10 +95,7 @@ var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, file
|
|
|
101
95
|
onPress: () => {
|
|
102
96
|
onRemove(state.id ?? "");
|
|
103
97
|
},
|
|
104
|
-
icon:
|
|
105
|
-
...props_0,
|
|
106
|
-
iconId: "ri-lucide-react-X"
|
|
107
|
-
})
|
|
98
|
+
icon: X
|
|
108
99
|
}) : /* @__PURE__ */ jsx(TextButton, {
|
|
109
100
|
color: "secondary",
|
|
110
101
|
onPress: () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
3
2
|
import { Button as Button$1 } from "../../../buttons/Button/Button.js";
|
|
4
3
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
5
4
|
import "../../../../config/i18n.js";
|
|
6
5
|
import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
7
6
|
import { FileUtils } from "../../../../utils/file.utils.js";
|
|
8
|
-
import {
|
|
7
|
+
import { CheckCircle, X } from "lucide-react";
|
|
9
8
|
import { clsx } from "clsx";
|
|
10
9
|
import { FileTrigger } from "react-aria-components";
|
|
10
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useTranslation } from "react-i18next";
|
|
12
12
|
//#region src/components/inputs/File/shared/FileUploadContentFilled.tsx
|
|
13
13
|
var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove, browseButtonProps }) => {
|
|
@@ -28,10 +28,7 @@ var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fil
|
|
|
28
28
|
"flex-row": variant === "horizontal",
|
|
29
29
|
"opacity-50": isDisabled
|
|
30
30
|
}),
|
|
31
|
-
children: [/* @__PURE__ */ jsx(
|
|
32
|
-
iconId: "ri-lucide-react-CheckCircle",
|
|
33
|
-
className: "h-6 w-6 text-text-default-1"
|
|
34
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
31
|
+
children: [/* @__PURE__ */ jsx(CheckCircle, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
|
|
35
32
|
className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
|
|
36
33
|
"max-w-full items-center": variant === "vertical",
|
|
37
34
|
"max-w-[calc(100%-32px)]": variant === "horizontal"
|
|
@@ -75,10 +72,7 @@ var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fil
|
|
|
75
72
|
onPress: () => {
|
|
76
73
|
onRemove(state.id ?? "");
|
|
77
74
|
},
|
|
78
|
-
icon:
|
|
79
|
-
...props,
|
|
80
|
-
iconId: "ri-lucide-react-X"
|
|
81
|
-
})
|
|
75
|
+
icon: X
|
|
82
76
|
}) : /* @__PURE__ */ jsx(TextButton, {
|
|
83
77
|
className: clsx(variant === "vertical" && "text-interactive-text-primary-idle lowercase [&>span>span]:font-medium!"),
|
|
84
78
|
color: variant === "horizontal" ? "secondary" : "primary",
|
|
@@ -104,10 +98,7 @@ var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fil
|
|
|
104
98
|
onPress: () => {
|
|
105
99
|
onRemove(state.id ?? "");
|
|
106
100
|
},
|
|
107
|
-
icon:
|
|
108
|
-
...props_0,
|
|
109
|
-
iconId: "ri-lucide-react-X"
|
|
110
|
-
}),
|
|
101
|
+
icon: X,
|
|
111
102
|
isDisabled
|
|
112
103
|
}) : /* @__PURE__ */ jsx(TextButton, {
|
|
113
104
|
color: "secondary",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
3
2
|
import { Button } from "../../../buttons/Button/Button.js";
|
|
4
3
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
5
4
|
import "../../../../config/i18n.js";
|
|
6
5
|
import { FileUtils } from "../../../../utils/file.utils.js";
|
|
7
6
|
import { ProgressBar } from "./ProgressBar.js";
|
|
8
|
-
import {
|
|
7
|
+
import { File, X } from "lucide-react";
|
|
9
8
|
import { clsx } from "clsx";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/File/shared/FileUploadContentLoading.tsx
|
|
12
12
|
var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleFile, onCancel, cancelButtonProps }) => {
|
|
@@ -29,10 +29,7 @@ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleF
|
|
|
29
29
|
"w-full flex-col": variant === "vertical",
|
|
30
30
|
"w-1/2": variant === "horizontal"
|
|
31
31
|
}),
|
|
32
|
-
children: [/* @__PURE__ */ jsx(
|
|
33
|
-
iconId: "ri-lucide-react-File",
|
|
34
|
-
className: "h-6 w-6 text-text-default-1"
|
|
35
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
32
|
+
children: [/* @__PURE__ */ jsx(File, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
|
|
36
33
|
className: clsx("flex flex-col", {
|
|
37
34
|
"max-w-full gap-file-upload-content-gap-icon-to-content text-center": variant === "vertical",
|
|
38
35
|
"max-w-[calc(100%-32px)] gap-file-upload-content-gap-text-to-text": variant === "horizontal"
|
|
@@ -62,10 +59,7 @@ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleF
|
|
|
62
59
|
onPress: () => {
|
|
63
60
|
onCancel(index);
|
|
64
61
|
},
|
|
65
|
-
icon:
|
|
66
|
-
...props,
|
|
67
|
-
iconId: "ri-lucide-react-X"
|
|
68
|
-
})
|
|
62
|
+
icon: X
|
|
69
63
|
})]
|
|
70
64
|
})]
|
|
71
65
|
}), as === "button" && variant === "vertical" && /* @__PURE__ */ jsx(Button, {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
3
2
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
4
3
|
import { Button as Button$1 } from "../../../buttons/Button/Button.js";
|
|
@@ -7,10 +6,11 @@ import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
|
7
6
|
import { inputSizeDefinition } from "../../shared/input.cva.js";
|
|
8
7
|
import { inputButtonSizeMapping } from "../inputUpload.types.js";
|
|
9
8
|
import { inputUploadButton, inputUploadDropZone } from "./inputUploadButton.cva.js";
|
|
10
|
-
import {
|
|
9
|
+
import { Upload } from "lucide-react";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { DropZone, FileTrigger } from "react-aria-components";
|
|
13
12
|
import { c } from "react/compiler-runtime";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useTranslation } from "react-i18next";
|
|
15
15
|
//#region src/components/inputs/File/shared/InputUploadContent.tsx
|
|
16
16
|
var InputUploadContent = (props) => {
|
|
@@ -86,8 +86,8 @@ var InputUploadContent = (props) => {
|
|
|
86
86
|
if ($[19] !== buttonText || $[20] !== isDisabled || $[21] !== t || $[22] !== variant) {
|
|
87
87
|
t7 = variant === "nested" && /* @__PURE__ */ jsx(TextButton, {
|
|
88
88
|
isDisabled,
|
|
89
|
-
icon:
|
|
90
|
-
children: buttonText ?? t(
|
|
89
|
+
icon: Upload,
|
|
90
|
+
children: buttonText ?? t(_temp2)
|
|
91
91
|
});
|
|
92
92
|
$[19] = buttonText;
|
|
93
93
|
$[20] = isDisabled;
|
|
@@ -117,7 +117,7 @@ var InputUploadContent = (props) => {
|
|
|
117
117
|
width: "hug",
|
|
118
118
|
isDisabled,
|
|
119
119
|
className: "truncate",
|
|
120
|
-
children: buttonText ?? t(
|
|
120
|
+
children: buttonText ?? t(_temp3)
|
|
121
121
|
});
|
|
122
122
|
$[30] = buttonText;
|
|
123
123
|
$[31] = isDisabled;
|
|
@@ -159,16 +159,10 @@ var InputUploadContent = (props) => {
|
|
|
159
159
|
function _temp($) {
|
|
160
160
|
return $.ui.fileUpload.emptyText;
|
|
161
161
|
}
|
|
162
|
-
function _temp2(
|
|
163
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
164
|
-
...props_0,
|
|
165
|
-
iconId: "ri-lucide-react-Upload"
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
function _temp3($_0) {
|
|
162
|
+
function _temp2($_0) {
|
|
169
163
|
return $_0.ui.fileUpload.upload;
|
|
170
164
|
}
|
|
171
|
-
function
|
|
165
|
+
function _temp3($_1) {
|
|
172
166
|
return $_1.ui.fileUpload.uploadFile;
|
|
173
167
|
}
|
|
174
168
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
3
2
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
4
3
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
5
4
|
import { inputSizeDefinition } from "../../shared/input.cva.js";
|
|
6
|
-
import {
|
|
5
|
+
import { X } from "lucide-react";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/inputs/File/shared/InputUploadFilled.tsx
|
|
10
10
|
var InputUploadFilled = (t0) => {
|
|
11
11
|
const $ = c(14);
|
|
@@ -41,7 +41,7 @@ var InputUploadFilled = (t0) => {
|
|
|
41
41
|
t4 = /* @__PURE__ */ jsx(InlineIconButton, {
|
|
42
42
|
label: "Remove files",
|
|
43
43
|
color: "secondary",
|
|
44
|
-
icon:
|
|
44
|
+
icon: X,
|
|
45
45
|
isDisabled,
|
|
46
46
|
onPress: onRemove
|
|
47
47
|
});
|
|
@@ -65,11 +65,5 @@ var InputUploadFilled = (t0) => {
|
|
|
65
65
|
function _temp(file) {
|
|
66
66
|
return file.name;
|
|
67
67
|
}
|
|
68
|
-
function _temp2(props) {
|
|
69
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
70
|
-
...props,
|
|
71
|
-
iconId: "ri-lucide-react-X"
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
68
|
//#endregion
|
|
75
69
|
export { InputUploadFilled };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FormFieldError } from "./FormFieldError.js";
|
|
2
2
|
import { FormFieldHeader } from "./FormFieldHeader.js";
|
|
3
3
|
import { FormFieldHelper } from "./FormFieldHelper.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/FormField/FormField.tsx
|
|
7
7
|
var FormField = (t0) => {
|
|
8
8
|
const $ = c(39);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { formFieldErrorDefinition } from "./formFieldError.cva.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/FormField/FormFieldError.tsx
|
|
7
7
|
var FormFieldError = (t0) => {
|
|
8
8
|
const $ = c(7);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
2
|
import { Typography } from "../../text/Typography/Typography.js";
|
|
4
3
|
import { Tooltip as Tooltip$1 } from "../../overlays/Tooltip/Tooltip.js";
|
|
5
4
|
import { formFieldHeaderDefinition } from "./formFieldHeader.cva.js";
|
|
6
5
|
import { FormFieldLabel } from "./FormFieldLabel.js";
|
|
7
|
-
import {
|
|
6
|
+
import { Info } from "lucide-react";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { Focusable } from "react-aria-components";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/components/inputs/FormField/FormFieldHeader.tsx
|
|
12
12
|
var FormFieldHeader = (t0) => {
|
|
13
13
|
const $ = c(24);
|
|
@@ -40,8 +40,7 @@ var FormFieldHeader = (t0) => {
|
|
|
40
40
|
if ($[9] !== isDisabled || $[10] !== tooltipText) {
|
|
41
41
|
t4 = tooltipText && /* @__PURE__ */ jsx(Tooltip$1, {
|
|
42
42
|
text: tooltipText,
|
|
43
|
-
children: /* @__PURE__ */ jsx(Focusable, { children: /* @__PURE__ */ jsx(
|
|
44
|
-
iconId: "ri-lucide-react-Info",
|
|
43
|
+
children: /* @__PURE__ */ jsx(Focusable, { children: /* @__PURE__ */ jsx(Info, {
|
|
45
44
|
className: clsx("size-6", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover"),
|
|
46
45
|
tabIndex: 0
|
|
47
46
|
}) })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import "../../../config/i18n.js";
|
|
3
|
-
import {
|
|
2
|
+
import { X } from "lucide-react";
|
|
4
3
|
import { Button } from "react-aria-components";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
7
7
|
//#region src/components/inputs/FormField/FormFieldHeaderClose.tsx
|
|
8
8
|
var FormFieldHeaderClose = (t0) => {
|
|
@@ -17,10 +17,7 @@ var FormFieldHeaderClose = (t0) => {
|
|
|
17
17
|
} else t1 = $[1];
|
|
18
18
|
let t2;
|
|
19
19
|
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
20
|
-
t2 = /* @__PURE__ */ jsx(
|
|
21
|
-
iconId: "ri-lucide-react-X",
|
|
22
|
-
className: "size-6 text-interactive-text-secondary-idle"
|
|
23
|
-
});
|
|
20
|
+
t2 = /* @__PURE__ */ jsx(X, { className: "size-6 text-interactive-text-secondary-idle" });
|
|
24
21
|
$[2] = t2;
|
|
25
22
|
} else t2 = $[2];
|
|
26
23
|
let t3;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { formFieldHelperDefinition } from "./formFieldHelper.cva.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { clsx } from "clsx";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/FormField/FormFieldHelper.tsx
|
|
7
7
|
var FormFieldHelper = (t0) => {
|
|
8
8
|
const $ = c(7);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { typographyDefinition } from "../../text/Typography/typography.cva.js";
|
|
3
3
|
import { labelDefinition, labelTypography } from "../shared/label.cva.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { Label } from "react-aria-components";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/inputs/FormField/FormFieldLabel.tsx
|
|
9
9
|
var FormFieldLabel = (t0) => {
|
|
10
10
|
const $ = c(16);
|
|
@@ -9,11 +9,11 @@ import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
|
9
9
|
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
10
10
|
import { InputContent } from "../shared/InputContent.js";
|
|
11
11
|
import { getStaticNumberDisplayValue } from "../shared/numberStatic.utils.js";
|
|
12
|
-
import { jsx } from "react/jsx-runtime";
|
|
13
12
|
import { clsx } from "clsx";
|
|
14
13
|
import { useEffect, useRef, useState } from "react";
|
|
15
14
|
import { Input, useLocale } from "react-aria-components";
|
|
16
15
|
import { c } from "react/compiler-runtime";
|
|
16
|
+
import { jsx } from "react/jsx-runtime";
|
|
17
17
|
import { useFocusVisible, useNumberField } from "react-aria";
|
|
18
18
|
import { mergeRefs } from "@react-aria/utils";
|
|
19
19
|
import { useNumberFieldState } from "react-stately";
|
|
@@ -3,11 +3,11 @@ import { FormFieldLabel } from "../../FormField/FormFieldLabel.js";
|
|
|
3
3
|
import { FormField } from "../../FormField/FormField.js";
|
|
4
4
|
import { InputClear } from "../../shared/InputClear.js";
|
|
5
5
|
import { TooltipWrapper } from "../../shared/TooltipWrapper.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
7
|
import { useEffect, useRef } from "react";
|
|
9
8
|
import { Input, useLocale } from "react-aria-components";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useFocusVisible, useNumberField } from "react-aria";
|
|
12
12
|
import { mergeRefs } from "@react-aria/utils";
|
|
13
13
|
import { useNumberFieldState } from "react-stately";
|
|
@@ -9,11 +9,11 @@ import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
|
9
9
|
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
10
10
|
import { getStaticNumberDisplayValue } from "../shared/numberStatic.utils.js";
|
|
11
11
|
import { NumberRangeField } from "./NumberRangeField.js";
|
|
12
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
12
|
import { clsx } from "clsx";
|
|
14
13
|
import { useRef, useState } from "react";
|
|
15
14
|
import { useLocale } from "react-aria-components";
|
|
16
15
|
import { c } from "react/compiler-runtime";
|
|
16
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useFocusVisible, useFocusWithin, useHover } from "react-aria";
|
|
18
18
|
//#region src/components/inputs/Input/NumberRangeInput/NumberRangeInput.tsx
|
|
19
19
|
var EMPTY_RANGE = {
|
|
@@ -184,7 +184,7 @@ var NumberRangeInputInner = (t0) => {
|
|
|
184
184
|
labelPlacement: "content-wrapper",
|
|
185
185
|
children: (t2) => {
|
|
186
186
|
const { id, ...dataAttributeProps } = t2;
|
|
187
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
187
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
188
188
|
/* @__PURE__ */ jsxs("div", {
|
|
189
189
|
className: "min-w-0 flex-1",
|
|
190
190
|
children: [/* @__PURE__ */ jsx(FormFieldLabel, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../config/i18n.js";
|
|
2
2
|
import { TextInput } from "../TextInput/TextInput.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Eye, EyeOff } from "lucide-react";
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
-
import {
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
//#region src/components/inputs/Input/PasswordInput/PasswordInput.tsx
|
|
9
9
|
var PasswordInput = (props) => {
|
|
@@ -7,11 +7,11 @@ import { inputSideDefinition, inputSizeDefinition, useInputCva } from "../../sha
|
|
|
7
7
|
import { InputClear } from "../../shared/InputClear.js";
|
|
8
8
|
import { TooltipWrapper } from "../../shared/TooltipWrapper.js";
|
|
9
9
|
import { textAreaWrapperDefinition } from "./TextArea.cva.js";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { useRef } from "react";
|
|
13
12
|
import { TextArea } from "react-aria-components";
|
|
14
13
|
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useTextField } from "react-aria";
|
|
16
16
|
import { mergeRefs } from "@react-aria/utils";
|
|
17
17
|
//#region src/components/inputs/Input/TextArea/TextArea.tsx
|
|
@@ -7,11 +7,11 @@ import { TooltipWrapper } from "../../shared/TooltipWrapper.js";
|
|
|
7
7
|
import { InputFrame } from "../../Skeleton/InputFrame.js";
|
|
8
8
|
import { useStaticInputHandoff } from "../../shared/useStaticInputHandoff.js";
|
|
9
9
|
import { InputContent } from "../shared/InputContent.js";
|
|
10
|
-
import { jsx } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { useEffect, useRef, useState } from "react";
|
|
13
12
|
import { Input } from "react-aria-components";
|
|
14
13
|
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
import { useFocusVisible, useTextField } from "react-aria";
|
|
16
16
|
import { mergeRefs } from "@react-aria/utils";
|
|
17
17
|
//#region src/components/inputs/Input/TextInput/TextInput.tsx
|
|
@@ -5,10 +5,10 @@ import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconBu
|
|
|
5
5
|
import { FormFieldLabel } from "../../FormField/FormFieldLabel.js";
|
|
6
6
|
import { inputContentWrapperDefinition, inputSizeDefinition } from "../../shared/input.cva.js";
|
|
7
7
|
import { InputClear } from "../../shared/InputClear.js";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { clsx } from "clsx";
|
|
10
9
|
import { isValidElement } from "react";
|
|
11
10
|
import { c } from "react/compiler-runtime";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/components/inputs/Input/shared/InputContent.tsx
|
|
13
13
|
var InputContent = (t0) => {
|
|
14
14
|
const $ = c(66);
|
|
@@ -2,8 +2,8 @@ import { StringUtils } from "../../../utils/string.utils.js";
|
|
|
2
2
|
import { ZodUtils } from "../../../utils/zod.utils.js";
|
|
3
3
|
import { getDefaultInputComponentType } from "../../../helpers/dynamicInputs.js";
|
|
4
4
|
import { InputItem } from "./InputItem.js";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/components/inputs/Inputs/Form.tsx
|
|
9
9
|
var createFieldComponent = (field, schemaKeyType, form) => {
|
|
@@ -16,8 +16,8 @@ import { QuerySelect } from "../Selection/Select/QuerySelect.js";
|
|
|
16
16
|
import { Slider } from "../Slider/Slider.js";
|
|
17
17
|
import { Toggle } from "../Toggle/Toggle.js";
|
|
18
18
|
import { Segment } from "../../segment/Segment.js";
|
|
19
|
-
import { jsx } from "react/jsx-runtime";
|
|
20
19
|
import { c } from "react/compiler-runtime";
|
|
20
|
+
import { jsx } from "react/jsx-runtime";
|
|
21
21
|
//#region src/components/inputs/Inputs/InputItem.tsx
|
|
22
22
|
var componentRegistry = {
|
|
23
23
|
toggle: Toggle,
|