@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
|
@@ -3,9 +3,9 @@ import { SelectContext } from "./select.context.js";
|
|
|
3
3
|
import { SelectListBoxItem } from "./SelectListBoxItem.js";
|
|
4
4
|
import { SelectListBoxItemSelectAll } from "./SelectListBoxItemSelectAll.js";
|
|
5
5
|
import { SelectListBoxLoadingItem } from "./SelectListBoxLoadingItem.js";
|
|
6
|
-
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
7
|
import { ListBox, ListLayout, Virtualizer } from "react-aria-components";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/inputs/Selection/shared/SelectListBox.tsx
|
|
10
10
|
var SelectListBox = ({ label, selectionMode, isSearchable, isScrollable = true, virtualizerOptions, totalItems, newItemRender, onLoadMore, className, onClose, ...props }) => {
|
|
11
11
|
const { fieldState, onChange, listItems, selectableListItems, selectedIds, isMultiple, onClear, onSelectAll, hasLoadMore } = SelectContext.useSelect();
|
|
@@ -3,10 +3,10 @@ import "../../../../config/i18n.js";
|
|
|
3
3
|
import { CheckboxCheckmark } from "../../Checkbox/CheckboxCheckmark.js";
|
|
4
4
|
import { SelectContext } from "./select.context.js";
|
|
5
5
|
import { selectListBoxItemDefinition } from "./selectItem.cva.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import { useRef } from "react";
|
|
8
7
|
import { ListBoxItem } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/Selection/shared/SelectListBoxItem.tsx
|
|
12
12
|
var SelectListBoxItem = (t0) => {
|
|
@@ -3,10 +3,10 @@ import "../../../../config/i18n.js";
|
|
|
3
3
|
import { CheckboxCheckmark } from "../../Checkbox/CheckboxCheckmark.js";
|
|
4
4
|
import { SelectContext } from "./select.context.js";
|
|
5
5
|
import { selectListBoxItemDefinition } from "./selectItem.cva.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import { useRef } from "react";
|
|
8
7
|
import { ListBoxItem } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/Selection/shared/SelectListBoxItemSelectAll.tsx
|
|
12
12
|
var SelectListBoxItemSelectAll = (t0) => {
|
|
@@ -4,9 +4,9 @@ import "../../../../config/i18n.js";
|
|
|
4
4
|
import { SelectContext } from "./select.context.js";
|
|
5
5
|
import { selectListBoxItemDefinition } from "./selectItem.cva.js";
|
|
6
6
|
import { useIntersectionObserver } from "../../../../hooks/useIntersectionObserver.js";
|
|
7
|
-
import { jsx } from "react/jsx-runtime";
|
|
8
7
|
import { ListBoxItem } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import { useTranslation } from "react-i18next";
|
|
11
11
|
//#region src/components/inputs/Selection/shared/SelectListBoxLoadingItem.tsx
|
|
12
12
|
var SelectListBoxLoadingItem = (t0) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../../config/i18n.js";
|
|
2
2
|
import { TextButton } from "../../../buttons/TextButton/TextButton.js";
|
|
3
3
|
import { SelectContext } from "./select.context.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
//#region src/components/inputs/Selection/shared/SelectListBoxSelectionBar.tsx
|
|
9
9
|
var SelectListBoxSelectionBar = (t0) => {
|
|
@@ -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 { BottomSheet } from "../../../overlays/BottomSheet/BottomSheet.js";
|
|
3
2
|
import { FormField } from "../../FormField/FormField.js";
|
|
4
3
|
import { SelectContext } from "./select.context.js";
|
|
@@ -7,10 +6,11 @@ import { SelectListBox } from "./SelectListBox.js";
|
|
|
7
6
|
import { FormFieldHeaderClose } from "../../FormField/FormFieldHeaderClose.js";
|
|
8
7
|
import { TextInput } from "../../Input/TextInput/TextInput.js";
|
|
9
8
|
import { SelectListBoxSelectionBar } from "./SelectListBoxSelectionBar.js";
|
|
10
|
-
import {
|
|
9
|
+
import { Search } from "lucide-react";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { useRef } from "react";
|
|
13
12
|
import { DialogTrigger } from "react-aria-components";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useLabel } from "react-aria";
|
|
15
15
|
//#region src/components/inputs/Selection/shared/SelectMobile.tsx
|
|
16
16
|
var SelectMobile = ({ ref, error, showSelectionContent, inputClassName, containerClassName, leadingContent, trailingContent, customTrigger, onBlur, onMouseEnter, onFocusCapture, bottomSheetProps, ...props }) => {
|
|
@@ -110,10 +110,7 @@ var SelectMobile = ({ ref, error, showSelectionContent, inputClassName, containe
|
|
|
110
110
|
rightContent: /* @__PURE__ */ jsx(FormFieldHeaderClose, { onClose: close }),
|
|
111
111
|
inputClassName,
|
|
112
112
|
className: "mb-list-height-title-bottom px-list-side-title",
|
|
113
|
-
leadingIcon: !hideSearchIcon ? /* @__PURE__ */ jsx(
|
|
114
|
-
iconId: "ri-lucide-react-Search",
|
|
115
|
-
className: "size-6"
|
|
116
|
-
}) : void 0,
|
|
113
|
+
leadingIcon: !hideSearchIcon ? /* @__PURE__ */ jsx(Search, { className: "size-6" }) : void 0,
|
|
117
114
|
size: "default",
|
|
118
115
|
isClearable
|
|
119
116
|
}), /* @__PURE__ */ jsx(SelectListBox, {
|
|
@@ -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 { UIOverrides } from "../../../../config/uiOverrides.context.js";
|
|
3
2
|
import { inputSizeDefinition } from "../../shared/input.cva.js";
|
|
4
|
-
import {
|
|
3
|
+
import { ChevronDown } from "lucide-react";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/inputs/Selection/shared/StaticSelectTrailingContent.tsx
|
|
8
8
|
var StaticSelectTrailingContent = (t0) => {
|
|
9
9
|
const $ = c(10);
|
|
@@ -26,10 +26,7 @@ var StaticSelectTrailingContent = (t0) => {
|
|
|
26
26
|
tabIndex: -1,
|
|
27
27
|
className: clsx("self-stretch border-0! pl-1-5 outline-none", inputSizeCva({ size })),
|
|
28
28
|
"aria-hidden": "true",
|
|
29
|
-
children: /* @__PURE__ */ jsx(
|
|
30
|
-
iconId: "ri-lucide-react-ChevronDown",
|
|
31
|
-
className: clsx("size-6 shrink-0", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle")
|
|
32
|
-
})
|
|
29
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: clsx("size-6 shrink-0", isDisabled ? "text-interactive-text-secondary-disabled" : "text-interactive-text-secondary-idle") })
|
|
33
30
|
}) : void 0;
|
|
34
31
|
$[2] = hideDropdownIcon;
|
|
35
32
|
$[3] = inputSizeCva;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSelectItems } from "./useSelectItems.js";
|
|
2
2
|
import { useDebounceCallback } from "../../../../hooks/useDebounceCallback.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { createContext, use, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/Selection/shared/select.context.tsx
|
|
6
6
|
var SelectContext;
|
|
7
7
|
(function(_SelectContext) {
|
|
@@ -8,9 +8,9 @@ import { FormField } from "../FormField/FormField.js";
|
|
|
8
8
|
import { inputBaseDefinition, inputContentWrapperDefinition, inputSizeDefinition } from "../shared/input.cva.js";
|
|
9
9
|
import { InputClear } from "../shared/InputClear.js";
|
|
10
10
|
import { TooltipWrapper } from "../shared/TooltipWrapper.js";
|
|
11
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { clsx } from "clsx";
|
|
13
12
|
import { isValidElement, useId, useRef } from "react";
|
|
13
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region src/components/inputs/Skeleton/InputFrame.tsx
|
|
15
15
|
var InputFrame = (props) => {
|
|
16
16
|
const ui = UIConfig.useConfig();
|
|
@@ -99,7 +99,7 @@ var InputFrame = (props) => {
|
|
|
99
99
|
})
|
|
100
100
|
]
|
|
101
101
|
});
|
|
102
|
-
const trailingContentNodes = hasTrailingContent ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
102
|
+
const trailingContentNodes = hasTrailingContent ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
103
103
|
hasClear && /* @__PURE__ */ jsx(InputClear, {
|
|
104
104
|
onClear: () => onClear?.(),
|
|
105
105
|
className: clearClassName,
|
|
@@ -149,7 +149,7 @@ var InputFrame = (props) => {
|
|
|
149
149
|
const inputFrameContent = wrapContentAndTrailing ? /* @__PURE__ */ jsxs("div", {
|
|
150
150
|
className: clsx("flex w-full items-center gap-input-gap-input-text-to-elements", contentAndTrailingClassName),
|
|
151
151
|
children: [contentRow, trailingRow]
|
|
152
|
-
}) : /* @__PURE__ */ jsxs(Fragment, { children: [contentRow, trailingRow] });
|
|
152
|
+
}) : /* @__PURE__ */ jsxs(Fragment$1, { children: [contentRow, trailingRow] });
|
|
153
153
|
const shouldReplayStaticPress = (target) => staticPressTarget === "frame" || target instanceof Element && !!target.closest("[data-static-press-action]");
|
|
154
154
|
const isStaticPressActionTarget = (target_0) => target_0 instanceof Element && !!target_0.closest("[data-static-press-action]");
|
|
155
155
|
const isStaticClearActionTarget = (target_1) => target_1 instanceof Element && !!target_1.closest("[data-static-clear-action]");
|
|
@@ -3,10 +3,10 @@ import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
|
3
3
|
import { uiOutlineClass } from "../../outline.clsx.js";
|
|
4
4
|
import { FieldController } from "../shared/form.binding.js";
|
|
5
5
|
import { FormField } from "../FormField/FormField.js";
|
|
6
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
7
|
import { Slider, SliderThumb, SliderTrack } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { mergeRefs } from "@react-aria/utils";
|
|
11
11
|
//#region src/components/inputs/Slider/Slider.tsx
|
|
12
12
|
var SliderBase = (props) => {
|
|
@@ -6,10 +6,10 @@ import { FormFieldLabel } from "../FormField/FormFieldLabel.js";
|
|
|
6
6
|
import { FormField } from "../FormField/FormField.js";
|
|
7
7
|
import { inputSideDefinition } from "../shared/input.cva.js";
|
|
8
8
|
import { TextEditorToolbar } from "./Toolbar/TextEditorToolbar.js";
|
|
9
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { clsx } from "clsx";
|
|
11
10
|
import { useEffect, useRef, useState } from "react";
|
|
12
11
|
import { c } from "react/compiler-runtime";
|
|
12
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useFocusVisible, useFocusWithin, useHover, useLabel } from "react-aria";
|
|
14
14
|
import { mergeRefs } from "@react-aria/utils";
|
|
15
15
|
import { Color } from "@tiptap/extension-color";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
1
|
import { clsx } from "clsx";
|
|
3
2
|
import { ColorSwatch, ColorSwatchPicker, ColorSwatchPickerItem } from "react-aria-components";
|
|
4
3
|
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/inputs/TextEditor/Toolbar/ColorPicker.tsx
|
|
6
6
|
var ColorPicker = (t0) => {
|
|
7
7
|
const $ = c(8);
|
|
@@ -1,14 +1,14 @@
|
|
|
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 { useInputCva } from "../../shared/input.cva.js";
|
|
5
4
|
import { popoverDefinition } from "../../../shared/popover.cva.js";
|
|
6
5
|
import { ColorPicker } from "./ColorPicker.js";
|
|
7
|
-
import {
|
|
6
|
+
import { ChevronDown } from "lucide-react";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { useState } from "react";
|
|
10
9
|
import { Button, Dialog, DialogTrigger, Popover } from "react-aria-components";
|
|
11
10
|
import { c } from "react/compiler-runtime";
|
|
11
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region src/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.tsx
|
|
13
13
|
var ColorPickerDropdown = (t0) => {
|
|
14
14
|
const $ = c(28);
|
|
@@ -54,8 +54,7 @@ var ColorPickerDropdown = (t0) => {
|
|
|
54
54
|
} else t5 = $[7];
|
|
55
55
|
let t6;
|
|
56
56
|
if ($[8] !== t5) {
|
|
57
|
-
t6 = /* @__PURE__ */ jsx(
|
|
58
|
-
iconId: "ri-lucide-react-ChevronDown",
|
|
57
|
+
t6 = /* @__PURE__ */ jsx(ChevronDown, {
|
|
59
58
|
className: t5,
|
|
60
59
|
"aria-hidden": "true"
|
|
61
60
|
});
|
|
@@ -3,11 +3,11 @@ import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconBu
|
|
|
3
3
|
import "../../../../config/i18n.js";
|
|
4
4
|
import { TextInput } from "../../Input/TextInput/TextInput.js";
|
|
5
5
|
import { ResponsivePopover } from "../../../overlays/ResponsivePopover/ResponsivePopover.js";
|
|
6
|
-
import {
|
|
6
|
+
import { Link } from "lucide-react";
|
|
7
7
|
import { clsx } from "clsx";
|
|
8
8
|
import { useEffect, useState } from "react";
|
|
9
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
-
import {
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useTranslation } from "react-i18next";
|
|
12
12
|
//#region src/components/inputs/TextEditor/Toolbar/HyperlinkAction.tsx
|
|
13
13
|
var HyperlinkAction = (t0) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../../config/i18n.js";
|
|
2
2
|
import { Select } from "../../Selection/Select/Select.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
3
|
import { AlignCenter, AlignJustify, AlignLeft, AlignRight } from "lucide-react";
|
|
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/TextEditor/Toolbar/TextAlignSelect.tsx
|
|
8
8
|
var TextAlignSelect = (t0) => {
|
|
@@ -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 { ColorPickerDropdown } from "./ColorPickerDropdown.js";
|
|
3
2
|
import { defaultColors } from "../textEditor.types.js";
|
|
4
|
-
import {
|
|
3
|
+
import { Baseline } from "lucide-react";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/TextEditor/Toolbar/TextColorSelect.tsx
|
|
7
7
|
var TextColorSelect = (t0) => {
|
|
8
8
|
const $ = c(11);
|
|
@@ -27,8 +27,7 @@ var TextColorSelect = (t0) => {
|
|
|
27
27
|
const t3 = !editor.isEditable;
|
|
28
28
|
let t4;
|
|
29
29
|
if ($[4] !== textColor) {
|
|
30
|
-
t4 = /* @__PURE__ */ jsx(
|
|
31
|
-
iconId: "ri-lucide-react-Baseline",
|
|
30
|
+
t4 = /* @__PURE__ */ jsx(Baseline, {
|
|
32
31
|
className: "size-6",
|
|
33
32
|
style: { color: textColor }
|
|
34
33
|
});
|
|
@@ -5,8 +5,8 @@ import { TextHighlightSelect } from "./TextHighlightSelect.js";
|
|
|
5
5
|
import { TextListActions } from "./TextListActions.js";
|
|
6
6
|
import { TextMarksActions } from "./TextMarksActions.js";
|
|
7
7
|
import { TextStyleSelect } from "./TextStyleSelect.js";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region src/components/inputs/TextEditor/Toolbar/TextEditorToolbar.tsx
|
|
11
11
|
var TextEditorToolbar = (t0) => {
|
|
12
12
|
const $ = c(16);
|
|
@@ -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 { ColorPickerDropdown } from "./ColorPickerDropdown.js";
|
|
3
2
|
import { defaultColors } from "../textEditor.types.js";
|
|
4
|
-
import {
|
|
3
|
+
import { Highlighter } from "lucide-react";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/TextEditor/Toolbar/TextHighlightSelect.tsx
|
|
7
7
|
var TextHighlightSelect = (t0) => {
|
|
8
8
|
const $ = c(11);
|
|
@@ -28,14 +28,10 @@ var TextHighlightSelect = (t0) => {
|
|
|
28
28
|
const t3 = !editor.isEditable;
|
|
29
29
|
let t4;
|
|
30
30
|
if ($[4] !== highlightColor) {
|
|
31
|
-
t4 = highlightColor ? /* @__PURE__ */ jsx(
|
|
32
|
-
iconId: "ri-lucide-react-Highlighter",
|
|
31
|
+
t4 = highlightColor ? /* @__PURE__ */ jsx(Highlighter, {
|
|
33
32
|
className: "size-6",
|
|
34
33
|
style: { color: highlightColor }
|
|
35
|
-
}) : /* @__PURE__ */ jsx(
|
|
36
|
-
iconId: "ri-lucide-react-Highlighter",
|
|
37
|
-
className: "size-6"
|
|
38
|
-
});
|
|
34
|
+
}) : /* @__PURE__ */ jsx(Highlighter, { className: "size-6" });
|
|
39
35
|
$[4] = highlightColor;
|
|
40
36
|
$[5] = t4;
|
|
41
37
|
} else t4 = $[5];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
2
2
|
import "../../../../config/i18n.js";
|
|
3
|
-
import {
|
|
3
|
+
import { List, ListOrdered } from "lucide-react";
|
|
4
4
|
import { clsx } from "clsx";
|
|
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/TextEditor/Toolbar/TextListActions.tsx
|
|
9
9
|
var TextListActions = (t0) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
2
2
|
import "../../../../config/i18n.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Bold, Italic, Strikethrough, Underline } from "lucide-react";
|
|
4
4
|
import { clsx } from "clsx";
|
|
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/TextEditor/Toolbar/TextMarksActions.tsx
|
|
9
9
|
var TextMarksActions = (t0) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Typography } from "../../../text/Typography/Typography.js";
|
|
2
2
|
import "../../../../config/i18n.js";
|
|
3
3
|
import { Select } from "../../Selection/Select/Select.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
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/TextEditor/Toolbar/TextStyleSelect.tsx
|
|
8
8
|
var TextStyleSelect = (t0) => {
|
|
@@ -4,10 +4,10 @@ import { FieldController } from "../shared/form.binding.js";
|
|
|
4
4
|
import { FormFieldError } from "../FormField/FormFieldError.js";
|
|
5
5
|
import { CheckContent } from "../shared/CheckContent.js";
|
|
6
6
|
import { toggleContentClassName, toggleDefinition, toggleTypography } from "./toggle.cva.js";
|
|
7
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { Switch } from "react-aria-components";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { mergeRefs } from "@react-aria/utils";
|
|
12
12
|
//#region src/components/inputs/Toggle/Toggle.tsx
|
|
13
13
|
var ToggleBase = (props) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { typographyDefinition } from "../../text/Typography/typography.cva.js";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import clsx$1 from "clsx";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/shared/CheckContent.tsx
|
|
7
7
|
var CheckContent = (t0) => {
|
|
8
8
|
const $ = c(3);
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { UIConfig } from "../../../config/uiConfig.context.js";
|
|
3
2
|
import { InlineIconButton } from "../../buttons/InlineIconButton/InlineIconButton.js";
|
|
4
3
|
import "../../../config/i18n.js";
|
|
5
|
-
import {
|
|
4
|
+
import { X } from "lucide-react";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
9
9
|
//#region src/components/inputs/shared/InputClear.tsx
|
|
10
10
|
var InputClear = (t0) => {
|
|
@@ -29,10 +29,7 @@ var InputClear = (t0) => {
|
|
|
29
29
|
} else t2 = $[11];
|
|
30
30
|
let t3;
|
|
31
31
|
if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
|
|
32
|
-
t3 = /* @__PURE__ */ jsx(
|
|
33
|
-
iconId: "ri-lucide-react-X",
|
|
34
|
-
className: "h-6 w-6 shrink-0"
|
|
35
|
-
});
|
|
32
|
+
t3 = /* @__PURE__ */ jsx(X, { className: "h-6 w-6 shrink-0" });
|
|
36
33
|
$[12] = t3;
|
|
37
34
|
} else t3 = $[12];
|
|
38
35
|
t1 = /* @__PURE__ */ jsx("button", {
|
|
@@ -78,7 +75,7 @@ var InputClear = (t0) => {
|
|
|
78
75
|
return t2;
|
|
79
76
|
};
|
|
80
77
|
var InputClearButton = (t0) => {
|
|
81
|
-
const $ = c(
|
|
78
|
+
const $ = c(7);
|
|
82
79
|
const { onClear, className, style } = t0;
|
|
83
80
|
const { t } = useTranslation("ui");
|
|
84
81
|
let t1;
|
|
@@ -88,29 +85,24 @@ var InputClearButton = (t0) => {
|
|
|
88
85
|
$[1] = t1;
|
|
89
86
|
} else t1 = $[1];
|
|
90
87
|
let t2;
|
|
91
|
-
if ($[2]
|
|
92
|
-
t2 = /* @__PURE__ */ jsx(
|
|
93
|
-
$[2] = t2;
|
|
94
|
-
} else t2 = $[2];
|
|
95
|
-
let t3;
|
|
96
|
-
if ($[3] !== className || $[4] !== onClear || $[5] !== style || $[6] !== t1) {
|
|
97
|
-
t3 = /* @__PURE__ */ jsx(InlineIconButton, {
|
|
88
|
+
if ($[2] !== className || $[3] !== onClear || $[4] !== style || $[5] !== t1) {
|
|
89
|
+
t2 = /* @__PURE__ */ jsx(InlineIconButton, {
|
|
98
90
|
color: "secondary",
|
|
99
91
|
className,
|
|
100
92
|
label: t1,
|
|
101
|
-
icon:
|
|
93
|
+
icon: X,
|
|
102
94
|
onPress: onClear,
|
|
103
95
|
onMouseDown: _temp3,
|
|
104
96
|
excludeFromTabOrder: true,
|
|
105
97
|
style
|
|
106
98
|
});
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
110
|
-
$[
|
|
111
|
-
$[
|
|
112
|
-
} else
|
|
113
|
-
return
|
|
99
|
+
$[2] = className;
|
|
100
|
+
$[3] = onClear;
|
|
101
|
+
$[4] = style;
|
|
102
|
+
$[5] = t1;
|
|
103
|
+
$[6] = t2;
|
|
104
|
+
} else t2 = $[6];
|
|
105
|
+
return t2;
|
|
114
106
|
};
|
|
115
107
|
function _temp($) {
|
|
116
108
|
return $.ui.clearAlt;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { Tooltip } from "../../overlays/Tooltip/Tooltip.js";
|
|
3
3
|
import { tooltipWrapperTriggerDefinition } from "./tooltipWrapper.cva.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/inputs/shared/TooltipWrapper.tsx
|
|
7
7
|
var TooltipWrapper = (props) => {
|
|
8
8
|
const $ = c(14);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getFieldError } from "./form.types.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/shared/form.binding.tsx
|
|
5
5
|
function FieldController(t0) {
|
|
6
6
|
const $ = c(12);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { accordionDefinition } from "./accordion.cva.js";
|
|
3
3
|
import { AccordionItem } from "./AccordionItem.js";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { DisclosureGroup } from "react-aria-components";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/navigation/Accordion/Accordion.tsx
|
|
8
8
|
var Accordion = ({ items, variant = "filled", actionPosition = "right", allowsMultipleExpanded = false, expandedKeys, defaultExpandedKeys, onExpandedChange, className, disabled }) => {
|
|
9
9
|
return /* @__PURE__ */ jsx(DisclosureGroup, {
|
|
@@ -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 { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
2
|
import { Typography } from "../../text/Typography/Typography.js";
|
|
4
3
|
import { accordionChevronDefinition, accordionHeadingDefinition, accordionHeadingSubtitleDefinition, accordionHeadingTitleDefinition, accordionIconDefinition, accordionItemDefinition, accordionPanelContentDefinition, accordionPanelDefinition, accordionTriggerDefinition } from "./accordion.cva.js";
|
|
5
|
-
import {
|
|
4
|
+
import { ChevronDown } from "lucide-react";
|
|
6
5
|
import { Button, Disclosure, DisclosurePanel, Heading } from "react-aria-components";
|
|
6
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/navigation/Accordion/AccordionItem.tsx
|
|
8
8
|
var AccordionItem = ({ id, disabled, heading, subheading, children, icon: Icon, variant = "filled", actionPosition = "right", isSingle }) => {
|
|
9
9
|
const itemCva = UIOverrides.useCva("accordion.itemCva", accordionItemDefinition);
|
|
@@ -49,10 +49,7 @@ var AccordionItem = ({ id, disabled, heading, subheading, children, icon: Icon,
|
|
|
49
49
|
})
|
|
50
50
|
]
|
|
51
51
|
})
|
|
52
|
-
}), /* @__PURE__ */ jsx(
|
|
53
|
-
iconId: "ri-lucide-react-ChevronDown",
|
|
54
|
-
className: chevronCva({ isExpanded })
|
|
55
|
-
})]
|
|
52
|
+
}), /* @__PURE__ */ jsx(ChevronDown, { className: chevronCva({ isExpanded }) })]
|
|
56
53
|
}) }), /* @__PURE__ */ jsx(DisclosurePanel, {
|
|
57
54
|
className: panelCva({ isExpanded }),
|
|
58
55
|
children: /* @__PURE__ */ jsx("div", {
|
|
@@ -2,8 +2,8 @@ import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
|
2
2
|
import { stepperDefinition } from "./stepper.cva.js";
|
|
3
3
|
import { StepperItem } from "./StepperItem.js";
|
|
4
4
|
import { StepperSeparator } from "./StepperSeparator.js";
|
|
5
|
+
import { Fragment } from "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { Fragment as Fragment$1 } from "react";
|
|
7
7
|
//#region src/components/navigation/Stepper/Stepper.tsx
|
|
8
8
|
var Stepper = ({ steps, currentStep, orientation = "horizontal", contentOrientation = "horizontal", iconsOnly, titlesOnly, onStepClick, className }) => {
|
|
9
9
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -15,7 +15,7 @@ var Stepper = ({ steps, currentStep, orientation = "horizontal", contentOrientat
|
|
|
15
15
|
"aria-label": "Progress",
|
|
16
16
|
children: steps.map((step, index) => {
|
|
17
17
|
const status = index < currentStep ? "completed" : index === currentStep ? "active" : "todo";
|
|
18
|
-
return /* @__PURE__ */ jsxs(Fragment
|
|
18
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(StepperItem, {
|
|
19
19
|
step,
|
|
20
20
|
stepNumber: index + 1,
|
|
21
21
|
status,
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { stepperIconDefinition, stepperItemDefinition, stepperNumberDefinition, stepperSubtextDefinition, stepperTitleDefinition } from "./stepper.cva.js";
|
|
5
|
-
import {
|
|
4
|
+
import { Check } from "lucide-react";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
6
|
import { Button } from "react-aria-components";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/navigation/Stepper/StepperItem.tsx
|
|
10
10
|
var StepperItem = (t0) => {
|
|
11
11
|
const $ = c(31);
|
|
@@ -26,10 +26,7 @@ var StepperItem = (t0) => {
|
|
|
26
26
|
} else t1 = $[2];
|
|
27
27
|
let t2;
|
|
28
28
|
if ($[3] !== status || $[4] !== stepNumber || $[5] !== stepperNumberCva) {
|
|
29
|
-
t2 = status === "completed" ? /* @__PURE__ */ jsx(
|
|
30
|
-
iconId: "ri-lucide-react-Check",
|
|
31
|
-
className: "size-5 text-interactive-contained-primary-on-idle"
|
|
32
|
-
}) : /* @__PURE__ */ jsx(Typography, {
|
|
29
|
+
t2 = status === "completed" ? /* @__PURE__ */ jsx(Check, { className: "size-5 text-interactive-contained-primary-on-idle" }) : /* @__PURE__ */ jsx(Typography, {
|
|
33
30
|
className: stepperNumberCva({ status }),
|
|
34
31
|
variant: "prominent-1",
|
|
35
32
|
size: "label-3",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
2
2
|
import { stepperSeparatorDefinition } from "./stepper.cva.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/navigation/Stepper/StepperSeparator.tsx
|
|
6
6
|
var StepperSeparator = (t0) => {
|
|
7
7
|
const $ = c(6);
|
|
@@ -2,8 +2,8 @@ import { Typography } from "../../text/Typography/Typography.js";
|
|
|
2
2
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
3
3
|
import { Button } from "../../buttons/Button/Button.js";
|
|
4
4
|
import { Modal } from "../Modal/Modal.js";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { clsx } from "clsx";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/overlays/ActionModal/ActionModal.tsx
|
|
8
8
|
var textAlignClassMap = {
|
|
9
9
|
left: "text-left",
|
|
@@ -2,11 +2,11 @@ import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
|
2
2
|
import { BottomSheetHeader } from "./BottomSheetHeader.js";
|
|
3
3
|
import { useStateAndRef } from "../../../hooks/useStateAndRef.js";
|
|
4
4
|
import { DomUtils } from "../../../utils/dom.utils.js";
|
|
5
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
6
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
8
7
|
import { Dialog, DialogTrigger, Modal, ModalOverlay } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useResizeObserver, useViewportSize } from "@react-aria/utils";
|
|
11
11
|
import { AnimatePresence, animate, motion, useDragControls, useMotionValue } from "motion/react";
|
|
12
12
|
//#region src/components/overlays/BottomSheet/BottomSheet.tsx
|
|
@@ -175,7 +175,7 @@ var BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable = tr
|
|
|
175
175
|
className: "relative flex min-h-0 flex-1 flex-col items-stretch outline-none",
|
|
176
176
|
ref: dialogRef,
|
|
177
177
|
"aria-label": label,
|
|
178
|
-
children: ({ close }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
178
|
+
children: ({ close }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
179
179
|
/* @__PURE__ */ jsx("div", {
|
|
180
180
|
style: { minHeight: `${sheetMarginTop}px` },
|
|
181
181
|
className: clsx("shrink-0", height === "auto" && "grow")
|
|
@@ -1,10 +1,10 @@
|
|
|
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 "../../../config/i18n.js";
|
|
4
|
-
import {
|
|
3
|
+
import { X } from "lucide-react";
|
|
5
4
|
import { clsx } from "clsx";
|
|
6
5
|
import { Button } from "react-aria-components";
|
|
7
6
|
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { useTranslation } from "react-i18next";
|
|
9
9
|
//#region src/components/overlays/BottomSheet/BottomSheetHeader.tsx
|
|
10
10
|
var BottomSheetHeader = (t0) => {
|
|
@@ -47,10 +47,7 @@ var BottomSheetHeader = (t0) => {
|
|
|
47
47
|
onPress: onClose,
|
|
48
48
|
"aria-label": t(_temp),
|
|
49
49
|
className: "-m-2 shrink-0 p-2 text-interactive-text-secondary-idle focus-visible:outline-interactive-text-secondary-focus",
|
|
50
|
-
children: /* @__PURE__ */ jsx(
|
|
51
|
-
iconId: "ri-lucide-react-X",
|
|
52
|
-
className: "size-6"
|
|
53
|
-
})
|
|
50
|
+
children: /* @__PURE__ */ jsx(X, { className: "size-6" })
|
|
54
51
|
})]
|
|
55
52
|
});
|
|
56
53
|
$[6] = headerTypography;
|