@povio/ui 3.4.0-rc.7 → 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 +2 -2
- 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 +2 -2
- 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 +3 -7
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +3 -7
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +3 -7
- package/dist/components/inputs/File/shared/InputUploadContent.js +2 -2
- package/dist/components/inputs/File/shared/InputUploadFilled.js +2 -2
- 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 +2 -2
- 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 +14 -22
- 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 +2 -2
- 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 +2 -2
- 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 -149
- 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.1.1_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-8250f4ef.svg +0 -1
|
@@ -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.1.1_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,13 +1,12 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.1.1_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";
|
|
10
|
-
import {
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { useTranslation } from "react-i18next";
|
|
12
11
|
//#region src/components/inputs/File/shared/FileUploadContentError.tsx
|
|
13
12
|
var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove, browseButtonProps }) => {
|
|
@@ -28,10 +27,7 @@ var FileUploadContentError = ({ variant, as, isDisabled, state, browseText, file
|
|
|
28
27
|
"flex-row": variant === "horizontal",
|
|
29
28
|
"opacity-50": isDisabled
|
|
30
29
|
}),
|
|
31
|
-
children: [/* @__PURE__ */ jsx(
|
|
32
|
-
iconId: "ri-lucide-react-CircleAlert",
|
|
33
|
-
className: "h-6 w-6 text-elevation-fill-warning-1"
|
|
34
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
30
|
+
children: [/* @__PURE__ */ jsx(CircleAlert, { className: "h-6 w-6 text-elevation-fill-warning-1" }), /* @__PURE__ */ jsxs("div", {
|
|
35
31
|
className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
|
|
36
32
|
"max-w-full items-center": variant === "vertical",
|
|
37
33
|
"max-w-[calc(100%_-_32px)]": variant === "horizontal"
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.1.1_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";
|
|
11
|
-
import {
|
|
10
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { useTranslation } from "react-i18next";
|
|
13
12
|
//#region src/components/inputs/File/shared/FileUploadContentFilled.tsx
|
|
14
13
|
var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fileTriggerProps, removeWithIcon = false, singleFile, onRemove, browseButtonProps }) => {
|
|
@@ -29,10 +28,7 @@ var FileUploadContentFilled = ({ variant, as, isDisabled, state, browseText, fil
|
|
|
29
28
|
"flex-row": variant === "horizontal",
|
|
30
29
|
"opacity-50": isDisabled
|
|
31
30
|
}),
|
|
32
|
-
children: [/* @__PURE__ */ jsx(
|
|
33
|
-
iconId: "ri-lucide-react-CheckCircle",
|
|
34
|
-
className: "h-6 w-6 text-text-default-1"
|
|
35
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
31
|
+
children: [/* @__PURE__ */ jsx(CheckCircle, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
|
|
36
32
|
className: clsx("flex flex-col gap-file-upload-content-gap-text-to-text", {
|
|
37
33
|
"max-w-full items-center": variant === "vertical",
|
|
38
34
|
"max-w-[calc(100%-32px)]": variant === "horizontal"
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.1.1_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";
|
|
10
|
-
import {
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { useTranslation } from "react-i18next";
|
|
12
11
|
//#region src/components/inputs/File/shared/FileUploadContentLoading.tsx
|
|
13
12
|
var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleFile, onCancel, cancelButtonProps }) => {
|
|
@@ -30,10 +29,7 @@ var FileUploadContentLoading = ({ index, variant, as, state, isDisabled, singleF
|
|
|
30
29
|
"w-full flex-col": variant === "vertical",
|
|
31
30
|
"w-1/2": variant === "horizontal"
|
|
32
31
|
}),
|
|
33
|
-
children: [/* @__PURE__ */ jsx(
|
|
34
|
-
iconId: "ri-lucide-react-File",
|
|
35
|
-
className: "h-6 w-6 text-text-default-1"
|
|
36
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
32
|
+
children: [/* @__PURE__ */ jsx(File, { className: "h-6 w-6 text-text-default-1" }), /* @__PURE__ */ jsxs("div", {
|
|
37
33
|
className: clsx("flex flex-col", {
|
|
38
34
|
"max-w-full gap-file-upload-content-gap-icon-to-content text-center": variant === "vertical",
|
|
39
35
|
"max-w-[calc(100%-32px)] gap-file-upload-content-gap-text-to-text": variant === "horizontal"
|
|
@@ -6,11 +6,11 @@ import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
|
6
6
|
import { inputSizeDefinition } from "../../shared/input.cva.js";
|
|
7
7
|
import { inputButtonSizeMapping } from "../inputUpload.types.js";
|
|
8
8
|
import { inputUploadButton, inputUploadDropZone } from "./inputUploadButton.cva.js";
|
|
9
|
-
import {
|
|
9
|
+
import { Upload } from "lucide-react";
|
|
10
10
|
import { clsx } from "clsx";
|
|
11
11
|
import { DropZone, FileTrigger } from "react-aria-components";
|
|
12
12
|
import { c } from "react/compiler-runtime";
|
|
13
|
-
import {
|
|
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) => {
|
|
@@ -2,10 +2,10 @@ import { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
|
2
2
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
3
3
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
4
4
|
import { inputSizeDefinition } from "../../shared/input.cva.js";
|
|
5
|
-
import {
|
|
5
|
+
import { X } from "lucide-react";
|
|
6
6
|
import { clsx } from "clsx";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
-
import {
|
|
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);
|
|
@@ -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.1.1_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.1.1_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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputItem } from "./InputItem.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/Inputs/Inputs.tsx
|
|
5
5
|
function Inputs(t0) {
|
|
6
6
|
const $ = c(9);
|
|
@@ -6,10 +6,10 @@ import { FormFieldLabel } from "../FormField/FormFieldLabel.js";
|
|
|
6
6
|
import { FormField } from "../FormField/FormField.js";
|
|
7
7
|
import { inputBaseDefinition, inputSizeDefinition } from "../shared/input.cva.js";
|
|
8
8
|
import { radioContentClassName, radioContentRowDefinition, radioContentWrapperDefinition, radioDefinition, radioIndicatorClass, radioTypography } from "./radio.cva.js";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { clsx } from "clsx";
|
|
11
10
|
import { Radio, RadioGroup } from "react-aria-components";
|
|
12
11
|
import { c } from "react/compiler-runtime";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useLabel } from "react-aria";
|
|
14
14
|
import { mergeRefs } from "@react-aria/utils";
|
|
15
15
|
//#region src/components/inputs/RadioGroup/RadioGroup.tsx
|
|
@@ -7,10 +7,10 @@ import { selectInputTagsContentWrapperDefinition } from "../shared/selectInput.c
|
|
|
7
7
|
import { SelectBase } from "../shared/SelectBase.js";
|
|
8
8
|
import { StaticSelectTrailingContent } from "../shared/StaticSelectTrailingContent.js";
|
|
9
9
|
import { getStaticSelectValue } from "../shared/staticSelect.utils.js";
|
|
10
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { useRef, useState } from "react";
|
|
13
12
|
import { c } from "react/compiler-runtime";
|
|
13
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { mergeRefs } from "@react-aria/utils";
|
|
15
15
|
//#region src/components/inputs/Selection/Autocomplete/Autocomplete.tsx
|
|
16
16
|
function AutocompleteInner(t0) {
|
|
@@ -99,7 +99,7 @@ function AutocompleteInner(t0) {
|
|
|
99
99
|
children: props.leadingContent
|
|
100
100
|
}),
|
|
101
101
|
trailingContent,
|
|
102
|
-
children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment, { children: [isMultiple && !isEmpty && displayValue, /* @__PURE__ */ jsx("input", {
|
|
102
|
+
children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment$1, { children: [isMultiple && !isEmpty && displayValue, /* @__PURE__ */ jsx("input", {
|
|
103
103
|
disabled: isDisabled,
|
|
104
104
|
tabIndex: -1,
|
|
105
105
|
role: "combobox",
|
|
@@ -3,9 +3,9 @@ import { FieldController } from "../../shared/form.binding.js";
|
|
|
3
3
|
import { Autocomplete } from "./Autocomplete.js";
|
|
4
4
|
import { getQueryItems, getSelectionIdsToResolve } from "../shared/querySelect.utils.js";
|
|
5
5
|
import { useQueryAutocomplete } from "../../../../hooks/useQueryAutocomplete.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { useState } from "react";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { mergeRefs } from "@react-aria/utils";
|
|
10
10
|
//#region src/components/inputs/Selection/Autocomplete/QueryAutocomplete.tsx
|
|
11
11
|
var LoadedQueryAutocompleteContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, leadingContent, ...props }) => {
|
|
@@ -3,9 +3,9 @@ import { FieldController } from "../../shared/form.binding.js";
|
|
|
3
3
|
import { Select } from "./Select.js";
|
|
4
4
|
import { getQueryItems, getSelectionIdsToResolve } from "../shared/querySelect.utils.js";
|
|
5
5
|
import { useQueryAutocomplete } from "../../../../hooks/useQueryAutocomplete.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { useState } from "react";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
import { mergeRefs } from "@react-aria/utils";
|
|
10
10
|
//#region src/components/inputs/Selection/Select/QuerySelect.tsx
|
|
11
11
|
var LoadedQuerySelectContent = ({ query, queryParams, queryOptions, queryMap, resolveSelectedItemsWithIds, isQueryEnabledInitially = false, ...props }) => {
|
|
@@ -8,10 +8,10 @@ import { selectInputTagsContentWrapperDefinition } from "../shared/selectInput.c
|
|
|
8
8
|
import { SelectBase } from "../shared/SelectBase.js";
|
|
9
9
|
import { StaticSelectTrailingContent } from "../shared/StaticSelectTrailingContent.js";
|
|
10
10
|
import { getStaticSelectValue } from "../shared/staticSelect.utils.js";
|
|
11
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { clsx } from "clsx";
|
|
13
12
|
import { useRef, useState } from "react";
|
|
14
13
|
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { mergeRefs } from "@react-aria/utils";
|
|
16
16
|
//#region src/components/inputs/Selection/Select/Select.tsx
|
|
17
17
|
function SelectInner(t0) {
|
|
@@ -75,7 +75,7 @@ function SelectInner(t0) {
|
|
|
75
75
|
dataHasSelection: !isEmpty,
|
|
76
76
|
dataHasSearch: false
|
|
77
77
|
};
|
|
78
|
-
const buttonContent = isMultiple && !isEmpty ? /* @__PURE__ */ jsx(Fragment, { children: "\xA0" }) : isEmpty ? /* @__PURE__ */ jsx(Typography, {
|
|
78
|
+
const buttonContent = isMultiple && !isEmpty ? /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }) : isEmpty ? /* @__PURE__ */ jsx(Typography, {
|
|
79
79
|
size: "label-1",
|
|
80
80
|
as: "span",
|
|
81
81
|
className: "block truncate text-text-default-3",
|
|
@@ -106,7 +106,7 @@ function SelectInner(t0) {
|
|
|
106
106
|
}),
|
|
107
107
|
showClear: false,
|
|
108
108
|
trailingContent,
|
|
109
|
-
children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment, { children: [isMultiple && !isEmpty && displayValue, isSearchable ? /* @__PURE__ */ jsx("input", {
|
|
109
|
+
children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment$1, { children: [isMultiple && !isEmpty && displayValue, isSearchable ? /* @__PURE__ */ jsx("input", {
|
|
110
110
|
disabled: isDisabled,
|
|
111
111
|
tabIndex: -1,
|
|
112
112
|
role: "combobox",
|
|
@@ -3,8 +3,8 @@ import { useBreakpoint } from "../../../../hooks/useBreakpoint.js";
|
|
|
3
3
|
import { SelectContext } from "./select.context.js";
|
|
4
4
|
import { SelectDesktop } from "./SelectDesktop.js";
|
|
5
5
|
import { SelectMobile } from "./SelectMobile.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/inputs/Selection/shared/SelectBase.tsx
|
|
9
9
|
var SelectBase = (dProps) => {
|
|
10
10
|
const $ = c(21);
|
|
@@ -7,11 +7,11 @@ import { SelectContext } from "./select.context.js";
|
|
|
7
7
|
import { SelectInput } from "./SelectInput.js";
|
|
8
8
|
import { SelectListBox } from "./SelectListBox.js";
|
|
9
9
|
import { selectPopoverDefinition } from "./selectDesktop.cva.js";
|
|
10
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
|
-
import { Fragment
|
|
11
|
+
import { Fragment, useLayoutEffect, useRef, useState } from "react";
|
|
13
12
|
import { ComboBox, DialogTrigger, Popover } from "react-aria-components";
|
|
14
13
|
import { c } from "react/compiler-runtime";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useLabel, usePreventScroll } from "react-aria";
|
|
16
16
|
import { mergeRefs } from "@react-aria/utils";
|
|
17
17
|
//#region src/components/inputs/Selection/shared/SelectDesktop.tsx
|
|
@@ -179,7 +179,7 @@ var SelectDesktop = (t0) => {
|
|
|
179
179
|
$[42] = t9;
|
|
180
180
|
} else t9 = $[42];
|
|
181
181
|
const openChangeHandler = t9;
|
|
182
|
-
const WrapperComponent = isSearchable ? ComboBox : Fragment
|
|
182
|
+
const WrapperComponent = isSearchable ? ComboBox : Fragment;
|
|
183
183
|
const t10 = isMultiple ? null : fieldState.value;
|
|
184
184
|
const t11 = fieldState.inputValue;
|
|
185
185
|
const t12 = !!error;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../../node_modules/.pnpm/react-icons-sprite@1.1.1_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 "../../../../config/i18n.js";
|
|
@@ -9,11 +8,12 @@ import { SelectInputTags } from "./SelectInputTags.js";
|
|
|
9
8
|
import { SelectContext } from "./select.context.js";
|
|
10
9
|
import { selectInputTagsContentWrapperDefinition } from "./selectInput.cva.js";
|
|
11
10
|
import { useKeyInteractions } from "../../../../hooks/useKeyInteractions.js";
|
|
12
|
-
import {
|
|
11
|
+
import { ChevronDown } from "lucide-react";
|
|
13
12
|
import { clsx } from "clsx";
|
|
14
13
|
import { use, useRef, useState } from "react";
|
|
15
14
|
import { Button, ComboBoxStateContext, Input } 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
|
import { useTranslation } from "react-i18next";
|
|
19
19
|
//#region src/components/inputs/Selection/shared/SelectInput.tsx
|
|
@@ -311,7 +311,7 @@ var SelectInput = (t0) => {
|
|
|
311
311
|
className: clsx("group/select-trigger w-full truncate text-start outline-none disabled:text-text-default-3", showTags && "absolute inset-0 z-base"),
|
|
312
312
|
onKeyDown: onTriggerKeyDown,
|
|
313
313
|
...fieldProps,
|
|
314
|
-
children: [(as === "floating" && isEmpty || isMultiple && !isEmpty) && /* @__PURE__ */ jsx(Fragment, { children: "\xA0" }), (isEmpty || !isMultiple) && (as !== "floating" || !isEmpty) && /* @__PURE__ */ jsxs(Typography, {
|
|
314
|
+
children: [(as === "floating" && isEmpty || isMultiple && !isEmpty) && /* @__PURE__ */ jsx(Fragment$1, { children: "\xA0" }), (isEmpty || !isMultiple) && (as !== "floating" || !isEmpty) && /* @__PURE__ */ jsxs(Typography, {
|
|
315
315
|
size: "label-1",
|
|
316
316
|
as: "span",
|
|
317
317
|
className: clsx("truncate empty:before:inline-block empty:before:content-['']", isEmpty && "text-text-default-3 group-disabled/select-trigger:text-interactive-text-secondary-disabled"),
|
|
@@ -391,8 +391,7 @@ var SelectInput = (t0) => {
|
|
|
391
391
|
onPress: () => {
|
|
392
392
|
if (!isSearchable) setIsOpen(!isOpen);
|
|
393
393
|
},
|
|
394
|
-
children: /* @__PURE__ */ jsx(
|
|
395
|
-
iconId: "ri-lucide-react-ChevronDown",
|
|
394
|
+
children: /* @__PURE__ */ jsx(ChevronDown, {
|
|
396
395
|
className: clsx("size-6 shrink-0", isOpen && "rotate-180", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle"),
|
|
397
396
|
"aria-hidden": "true"
|
|
398
397
|
})
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tag } from "../../../text/Tag/Tag.js";
|
|
2
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/inputs/Selection/shared/SelectInputTags.tsx
|
|
5
5
|
var SelectInputTags = (t0) => {
|
|
6
6
|
const $ = c(25);
|