@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 { 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.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 "../../../../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);
|
|
@@ -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.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 { 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.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 { 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.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 { 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
|
});
|
|
@@ -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 { Button } from "../../../buttons/Button/Button.js";
|
|
3
2
|
import { InlineIconButton } from "../../../buttons/InlineIconButton/InlineIconButton.js";
|
|
4
3
|
import "../../../../config/i18n.js";
|
|
5
4
|
import { TextInput } from "../../Input/TextInput/TextInput.js";
|
|
6
5
|
import { ResponsivePopover } from "../../../overlays/ResponsivePopover/ResponsivePopover.js";
|
|
7
|
-
import {
|
|
6
|
+
import { Link } from "lucide-react";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { useEffect, useState } from "react";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
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) => {
|
|
@@ -79,7 +79,7 @@ var HyperlinkAction = (t0) => {
|
|
|
79
79
|
t9 = /* @__PURE__ */ jsx(InlineIconButton, {
|
|
80
80
|
color: "secondary",
|
|
81
81
|
label: t6,
|
|
82
|
-
icon:
|
|
82
|
+
icon: Link,
|
|
83
83
|
className: t7,
|
|
84
84
|
isDisabled: t8
|
|
85
85
|
});
|
|
@@ -90,13 +90,13 @@ var HyperlinkAction = (t0) => {
|
|
|
90
90
|
} else t9 = $[17];
|
|
91
91
|
let t10;
|
|
92
92
|
if ($[18] !== t) {
|
|
93
|
-
t10 = t(
|
|
93
|
+
t10 = t(_temp4);
|
|
94
94
|
$[18] = t;
|
|
95
95
|
$[19] = t10;
|
|
96
96
|
} else t10 = $[19];
|
|
97
97
|
let t11;
|
|
98
98
|
if ($[20] !== t) {
|
|
99
|
-
t11 = t(
|
|
99
|
+
t11 = t(_temp5);
|
|
100
100
|
$[20] = t;
|
|
101
101
|
$[21] = t11;
|
|
102
102
|
} else t11 = $[21];
|
|
@@ -119,7 +119,7 @@ var HyperlinkAction = (t0) => {
|
|
|
119
119
|
const t13 = !url;
|
|
120
120
|
let t14;
|
|
121
121
|
if ($[26] !== t) {
|
|
122
|
-
t14 = t(
|
|
122
|
+
t14 = t(_temp6);
|
|
123
123
|
$[26] = t;
|
|
124
124
|
$[27] = t14;
|
|
125
125
|
} else t14 = $[27];
|
|
@@ -148,7 +148,7 @@ var HyperlinkAction = (t0) => {
|
|
|
148
148
|
const t17 = !t16;
|
|
149
149
|
let t18;
|
|
150
150
|
if ($[34] !== t) {
|
|
151
|
-
t18 = t(
|
|
151
|
+
t18 = t(_temp7);
|
|
152
152
|
$[34] = t;
|
|
153
153
|
$[35] = t18;
|
|
154
154
|
} else t18 = $[35];
|
|
@@ -205,22 +205,16 @@ function _temp2($) {
|
|
|
205
205
|
function _temp3($_0) {
|
|
206
206
|
return $_0.ui.textEditor.link.label;
|
|
207
207
|
}
|
|
208
|
-
function _temp4(
|
|
209
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
210
|
-
...props,
|
|
211
|
-
iconId: "ri-lucide-react-Link"
|
|
212
|
-
});
|
|
213
|
-
}
|
|
214
|
-
function _temp5($_1) {
|
|
208
|
+
function _temp4($_1) {
|
|
215
209
|
return $_1.ui.textEditor.link.urlLabel;
|
|
216
210
|
}
|
|
217
|
-
function
|
|
211
|
+
function _temp5($_2) {
|
|
218
212
|
return $_2.ui.textEditor.link.urlPlaceholder;
|
|
219
213
|
}
|
|
220
|
-
function
|
|
214
|
+
function _temp6($_3) {
|
|
221
215
|
return $_3.ui.textEditor.link.apply;
|
|
222
216
|
}
|
|
223
|
-
function
|
|
217
|
+
function _temp7($_4) {
|
|
224
218
|
return $_4.ui.textEditor.link.remove;
|
|
225
219
|
}
|
|
226
220
|
//#endregion
|
|
@@ -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.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 { 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.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 { 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);
|