@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,10 +1,10 @@
|
|
|
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 { 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", {
|
|
@@ -93,9 +90,9 @@ var InputClearButton = (t0) => {
|
|
|
93
90
|
color: "secondary",
|
|
94
91
|
className,
|
|
95
92
|
label: t1,
|
|
96
|
-
icon:
|
|
93
|
+
icon: X,
|
|
97
94
|
onPress: onClear,
|
|
98
|
-
onMouseDown:
|
|
95
|
+
onMouseDown: _temp3,
|
|
99
96
|
excludeFromTabOrder: true,
|
|
100
97
|
style
|
|
101
98
|
});
|
|
@@ -113,13 +110,7 @@ function _temp($) {
|
|
|
113
110
|
function _temp2($) {
|
|
114
111
|
return $.ui.clearAlt;
|
|
115
112
|
}
|
|
116
|
-
function _temp3(
|
|
117
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
118
|
-
...props,
|
|
119
|
-
iconId: "ri-lucide-react-X"
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
function _temp4(e) {
|
|
113
|
+
function _temp3(e) {
|
|
123
114
|
return e.preventDefault();
|
|
124
115
|
}
|
|
125
116
|
//#endregion
|
|
@@ -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.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 { 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.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 { 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.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { Typography } from "../../text/Typography/Typography.js";
|
|
3
2
|
import "../../../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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { modalOverlay } from "../Modal/modal.cva.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { clsx } from "clsx";
|
|
4
3
|
import { Dialog, DialogTrigger, Modal, ModalOverlay } from "react-aria-components";
|
|
5
4
|
import { c } from "react/compiler-runtime";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/overlays/Drawer/Drawer.tsx
|
|
7
7
|
var Drawer = (t0) => {
|
|
8
8
|
const $ = c(25);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
2
|
import { InlineIconButton } from "../../buttons/InlineIconButton/InlineIconButton.js";
|
|
4
3
|
import "../../../config/i18n.js";
|
|
5
4
|
import { modalContentDefinition, modalMainDefinition, modalOverlayDefinition } from "./modal.cva.js";
|
|
6
|
-
import {
|
|
5
|
+
import { X } from "lucide-react";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
7
|
import { Dialog, Modal, ModalOverlay } from "react-aria-components";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
10
10
|
//#region src/components/overlays/Modal/Modal.tsx
|
|
11
11
|
var Modal$1 = ({ isOpen, portalContainerRef, onClose, aside, children, modalClassName, closeIconClassName, overlayClassName, showCloseIcon, isDismissable = true, isKeyboardDismissable, shouldCloseOnInteractOutside }) => {
|
|
@@ -42,10 +42,7 @@ var Modal$1 = ({ isOpen, portalContainerRef, onClose, aside, children, modalClas
|
|
|
42
42
|
children: [showCloseIcon && /* @__PURE__ */ jsx(InlineIconButton, {
|
|
43
43
|
color: "secondary",
|
|
44
44
|
onPress: onClose,
|
|
45
|
-
icon:
|
|
46
|
-
...props,
|
|
47
|
-
iconId: "ri-lucide-react-X"
|
|
48
|
-
}),
|
|
45
|
+
icon: X,
|
|
49
46
|
className: clsx("absolute top-0 right-0 p-modal-gap-desktop-modal-close-icon-top-right", closeIconClassName),
|
|
50
47
|
label: t(($) => $.ui.modal.closeBtn),
|
|
51
48
|
disableTooltip: true
|
|
@@ -2,9 +2,9 @@ import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
|
2
2
|
import { BottomSheet } from "../BottomSheet/BottomSheet.js";
|
|
3
3
|
import { useBreakpoint } from "../../../hooks/useBreakpoint.js";
|
|
4
4
|
import { popoverDefinition } from "../../shared/popover.cva.js";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
6
|
import { Dialog, DialogTrigger, Popover } from "react-aria-components";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/overlays/ResponsivePopover/ResponsivePopover.tsx
|
|
9
9
|
var ResponsivePopover = ({ trigger, isOpen, onOpenChange, children, popoverClassName, sheetLabel, bottomSheetProps, popoverProps }) => {
|
|
10
10
|
const popoverCva = UIOverrides.useCva("popover.cva", popoverDefinition);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ReactIconsSpriteIcon } from "../../../node_modules/.pnpm/react-icons-sprite@1.2.0-rc.2_lucide-react@1.28.0_react@19.2.3__react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/react-icons-sprite/dist/icon.js";
|
|
2
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
2
|
import { tooltipDefinition, tooltipPointerHorizontalDefinition, tooltipPointerVerticalDefinition, tooltipTextDefinition } from "./tooltip.cva.js";
|
|
4
3
|
import { Typography } from "../../text/Typography/Typography.js";
|
|
5
|
-
import {
|
|
4
|
+
import { Triangle, TriangleRight } from "lucide-react";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
|
-
import { Fragment
|
|
6
|
+
import { Fragment, useRef } from "react";
|
|
8
7
|
import { OverlayArrow, Tooltip, TooltipTrigger } from "react-aria-components";
|
|
9
8
|
import { c } from "react/compiler-runtime";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { useFocusable } from "react-aria";
|
|
11
11
|
//#region src/components/overlays/Tooltip/Tooltip.tsx
|
|
12
12
|
var CustomTrigger = (t0) => {
|
|
@@ -50,7 +50,7 @@ var Tooltip$1 = (t0) => {
|
|
|
50
50
|
const tooltipPointerHorizontalCva = UIOverrides.useCva("tooltip.pointerHorizontalCva", tooltipPointerHorizontalDefinition);
|
|
51
51
|
const tooltipPointerVerticalCva = UIOverrides.useCva("tooltip.pointerVerticalCva", tooltipPointerVerticalDefinition);
|
|
52
52
|
const tooltipTextCva = UIOverrides.useCva("tooltip.textCva", tooltipTextDefinition);
|
|
53
|
-
const Trigger = isNonInteractiveTrigger ? CustomTrigger : Fragment
|
|
53
|
+
const Trigger = isNonInteractiveTrigger ? CustomTrigger : Fragment;
|
|
54
54
|
const T0 = TooltipTrigger;
|
|
55
55
|
const t1 = delay ?? 0;
|
|
56
56
|
const t2 = closeDelay ?? 0;
|
|
@@ -82,8 +82,7 @@ var Tooltip$1 = (t0) => {
|
|
|
82
82
|
} else t5 = $[8];
|
|
83
83
|
let t6;
|
|
84
84
|
if ($[9] !== t5) {
|
|
85
|
-
t6 = /* @__PURE__ */ jsx(
|
|
86
|
-
iconId: "ri-lucide-react-Triangle",
|
|
85
|
+
t6 = /* @__PURE__ */ jsx(Triangle, {
|
|
87
86
|
className: t5,
|
|
88
87
|
fill: "currentColor",
|
|
89
88
|
strokeWidth: 0
|
|
@@ -100,8 +99,7 @@ var Tooltip$1 = (t0) => {
|
|
|
100
99
|
} else t7 = $[13];
|
|
101
100
|
let t8;
|
|
102
101
|
if ($[14] !== t7) {
|
|
103
|
-
t8 = /* @__PURE__ */ jsx(
|
|
104
|
-
iconId: "ri-lucide-react-TriangleRight",
|
|
102
|
+
t8 = /* @__PURE__ */ jsx(TriangleRight, {
|
|
105
103
|
className: t7,
|
|
106
104
|
fill: "currentColor",
|
|
107
105
|
strokeWidth: 0
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip } from "./Tooltip.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { useState } from "react";
|
|
4
3
|
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/overlays/Tooltip/TooltipEllipsis.tsx
|
|
6
6
|
var TooltipEllipsis = (t0) => {
|
|
7
7
|
const $ = c(8);
|
|
@@ -3,11 +3,11 @@ import { FieldController } from "../inputs/shared/form.binding.js";
|
|
|
3
3
|
import { FormField } from "../inputs/FormField/FormField.js";
|
|
4
4
|
import { segmentDefinition } from "./segment.cva.js";
|
|
5
5
|
import { SegmentItem } from "./SegmentItem.js";
|
|
6
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import { clsx } from "clsx";
|
|
8
|
-
import { Fragment
|
|
7
|
+
import { Fragment, useRef } from "react";
|
|
9
8
|
import { ToggleButtonGroup } from "react-aria-components";
|
|
10
9
|
import { c } from "react/compiler-runtime";
|
|
10
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useToggleButtonGroup } from "react-aria";
|
|
12
12
|
import { mergeRefs } from "@react-aria/utils";
|
|
13
13
|
import { useToggleGroupState } from "react-stately";
|
|
@@ -128,7 +128,7 @@ var SegmentBase = (t0) => {
|
|
|
128
128
|
} else t9 = $[32];
|
|
129
129
|
let t10;
|
|
130
130
|
if ($[33] !== items || $[34] !== props.isDisabled || $[35] !== segmentItemClassName || $[36] !== state) {
|
|
131
|
-
t10 = items.map((item, index) => /* @__PURE__ */ jsxs(Fragment
|
|
131
|
+
t10 = items.map((item, index) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SegmentItem, {
|
|
132
132
|
...item,
|
|
133
133
|
className: clsx(item.className, segmentItemClassName),
|
|
134
134
|
isDisabled: item.isDisabled || props.isDisabled,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
2
2
|
import { Typography } from "../text/Typography/Typography.js";
|
|
3
3
|
import { segmentItemDefinition } from "./segment.cva.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { ToggleButton } from "react-aria-components";
|
|
6
5
|
import { c } from "react/compiler-runtime";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/segment/SegmentItem.tsx
|
|
8
8
|
var SegmentItem = (t0) => {
|
|
9
9
|
const $ = c(23);
|
|
@@ -2,8 +2,8 @@ import { Typography } from "../../text/Typography/Typography.js";
|
|
|
2
2
|
import "../../../config/i18n.js";
|
|
3
3
|
import { NumberInput } from "../../inputs/Input/NumberInput/NumberInput.js";
|
|
4
4
|
import { PaginationList } from "./PaginationList.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
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
//#region src/components/shared/pagination/Pagination.tsx
|
|
9
9
|
var Pagination = ({ size = "s", variant = "subtle", color = "secondary", page, totalItems, totalPages, pageSize, hideText = true, hideFirstLast = true, hidePrevNext = false, hideNumbers = false, className, onPageChange, onPageSizeChange }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
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 "../../../config/i18n.js";
|
|
4
3
|
import { minWidth } from "./minWidth.cva.js";
|
|
5
|
-
import {
|
|
4
|
+
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
|
|
6
5
|
import { clsx } from "clsx";
|
|
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/shared/pagination/PaginationList.tsx
|
|
10
10
|
var PaginationList = (t0) => {
|
|
@@ -88,8 +88,8 @@ var PaginationList = (t0) => {
|
|
|
88
88
|
color,
|
|
89
89
|
variant,
|
|
90
90
|
iconOnly: hideText,
|
|
91
|
-
icon:
|
|
92
|
-
children: t(
|
|
91
|
+
icon: ChevronsLeft,
|
|
92
|
+
children: t(_temp)
|
|
93
93
|
});
|
|
94
94
|
$[17] = color;
|
|
95
95
|
$[18] = hideFirstLast;
|
|
@@ -110,8 +110,8 @@ var PaginationList = (t0) => {
|
|
|
110
110
|
color,
|
|
111
111
|
variant,
|
|
112
112
|
iconOnly: hideText,
|
|
113
|
-
icon:
|
|
114
|
-
children: t(
|
|
113
|
+
icon: ChevronLeft,
|
|
114
|
+
children: t(_temp2)
|
|
115
115
|
});
|
|
116
116
|
$[26] = color;
|
|
117
117
|
$[27] = hidePrevNext;
|
|
@@ -133,8 +133,8 @@ var PaginationList = (t0) => {
|
|
|
133
133
|
color,
|
|
134
134
|
variant,
|
|
135
135
|
iconOnly: hideText,
|
|
136
|
-
icon:
|
|
137
|
-
children: t(
|
|
136
|
+
icon: ChevronRight,
|
|
137
|
+
children: t(_temp3)
|
|
138
138
|
});
|
|
139
139
|
$[35] = color;
|
|
140
140
|
$[36] = hidePrevNext;
|
|
@@ -155,8 +155,8 @@ var PaginationList = (t0) => {
|
|
|
155
155
|
color,
|
|
156
156
|
variant,
|
|
157
157
|
iconOnly: hideText,
|
|
158
|
-
icon:
|
|
159
|
-
children: t(
|
|
158
|
+
icon: ChevronsRight,
|
|
159
|
+
children: t(_temp4)
|
|
160
160
|
});
|
|
161
161
|
$[44] = color;
|
|
162
162
|
$[45] = hideFirstLast;
|
|
@@ -191,40 +191,16 @@ var PaginationList = (t0) => {
|
|
|
191
191
|
} else t10 = $[60];
|
|
192
192
|
return t10;
|
|
193
193
|
};
|
|
194
|
-
function _temp(
|
|
195
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
196
|
-
...props,
|
|
197
|
-
iconId: "ri-lucide-react-ChevronsLeft"
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
function _temp2($) {
|
|
194
|
+
function _temp($) {
|
|
201
195
|
return $.ui.pagination.firstBtn;
|
|
202
196
|
}
|
|
203
|
-
function
|
|
204
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
205
|
-
...props_0,
|
|
206
|
-
iconId: "ri-lucide-react-ChevronLeft"
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
function _temp4($_0) {
|
|
197
|
+
function _temp2($_0) {
|
|
210
198
|
return $_0.ui.pagination.backBtn;
|
|
211
199
|
}
|
|
212
|
-
function
|
|
213
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
214
|
-
...props_1,
|
|
215
|
-
iconId: "ri-lucide-react-ChevronRight"
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
function _temp6($_1) {
|
|
200
|
+
function _temp3($_1) {
|
|
219
201
|
return $_1.ui.pagination.nextBtn;
|
|
220
202
|
}
|
|
221
|
-
function
|
|
222
|
-
return /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
223
|
-
...props_2,
|
|
224
|
-
iconId: "ri-lucide-react-ChevronsRight"
|
|
225
|
-
});
|
|
226
|
-
}
|
|
227
|
-
function _temp8($_2) {
|
|
203
|
+
function _temp4($_2) {
|
|
228
204
|
return $_2.ui.pagination.lastBtn;
|
|
229
205
|
}
|
|
230
206
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loader, loaderWrapper } from "./loader.cva.js";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/status/Loader/Loader.tsx
|
|
5
5
|
var Loader = (t0) => {
|
|
6
6
|
const $ = c(18);
|
|
@@ -4,8 +4,8 @@ import { Loader } from "../Loader/Loader.js";
|
|
|
4
4
|
import { UIConfig } from "../../../config/uiConfig.context.js";
|
|
5
5
|
import { Button } from "../../buttons/Button/Button.js";
|
|
6
6
|
import { buttonColorVariant, statusIconDefinition, statusSeparatorDefinition, toastContainerDefinition, toastDefinition, toastWrapper } from "./toast.cva.js";
|
|
7
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { ToastContainer } from "react-toastify";
|
|
10
10
|
//#region src/components/status/Toast/Toast.tsx
|
|
11
11
|
var Toast = ({ text, isLoading = false, actions = [], icon: Icon, ...props }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toast } from "./Toast.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
|
import { toast } from "react-toastify";
|
|
5
5
|
//#region src/components/status/Toast/useToast.tsx
|
|
6
6
|
var useToast = () => {
|
|
@@ -4,9 +4,9 @@ import { Checkbox } from "../inputs/Checkbox/Checkbox.js";
|
|
|
4
4
|
import { Modal } from "../overlays/Modal/Modal.js";
|
|
5
5
|
import { Table } from "./Table.js";
|
|
6
6
|
import { useTranslationMemo } from "../../hooks/useTranslationMemo.js";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { useEffect, useState } from "react";
|
|
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/table/ColumnConfig.tsx
|
|
12
12
|
var VisibilityCell = (t0) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Loader } from "../status/Loader/Loader.js";
|
|
2
2
|
import { useIntersectionObserver } from "../../hooks/useIntersectionObserver.js";
|
|
3
3
|
import { Table } from "./Table.js";
|
|
4
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { useCallback } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/table/InfiniteTable.tsx
|
|
7
7
|
var InfiniteTable = ({ hasNextPage, isFetchingNextPage = false, fetchNextPage, ...rest }) => {
|
|
8
8
|
const { ref } = useIntersectionObserver({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Pagination } from "../shared/pagination/Pagination.js";
|
|
2
2
|
import { Table } from "./Table.js";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/table/PaginatedTable.tsx
|
|
6
6
|
var PaginatedTable = (t0) => {
|
|
7
7
|
const $ = c(24);
|