@povio/ui 3.4.0-rc.3 → 3.4.0-rc.5
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 +13 -4
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuDesktop.js +1 -1
- package/dist/components/Menu/MenuItem.js +6 -3
- package/dist/components/Menu/MenuMobile.js +6 -3
- package/dist/components/Menu/MenuPopover.js +1 -1
- package/dist/components/buttons/IconButton/IconButton.js +1 -1
- package/dist/components/buttons/PillButton/PillButton.js +3 -3
- package/dist/components/buttons/PillButton/pillButton.cva.d.ts +1 -1
- package/dist/components/buttons/SplitButton/SplitButton.js +3 -3
- package/dist/components/buttons/TextButton/TextButton.js +1 -1
- package/dist/components/buttons/ToggleButton/ToggleButton.js +1 -1
- package/dist/components/buttons/shared/buttonContent.cva.d.ts +1 -1
- package/dist/components/inputs/Checkbox/Checkbox.js +1 -1
- package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +2 -3
- package/dist/components/inputs/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +2 -1
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +2 -1
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +2 -1
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +1 -0
- package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +196 -191
- package/dist/components/inputs/DateTime/shared/CalendarHeader.js +13 -9
- package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +7 -11
- package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +2 -1
- package/dist/components/inputs/DateTime/shared/DatePickerInput.js +2 -2
- package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +1 -1
- package/dist/components/inputs/DateTime/shared/DateTimeDialog.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 +3 -4
- package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +2 -1
- package/dist/components/inputs/DateTime/shared/TimePickerInput.js +46 -44
- package/dist/components/inputs/DateTime/shared/YearPicker.js +1 -1
- package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +46 -1
- package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +1 -1
- package/dist/components/inputs/File/FileUpload.js +1 -1
- 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 +5 -2
- package/dist/components/inputs/File/shared/FileUploadContentError.js +8 -5
- package/dist/components/inputs/File/shared/FileUploadContentFilled.js +8 -5
- package/dist/components/inputs/File/shared/FileUploadContentLoading.js +7 -4
- package/dist/components/inputs/File/shared/InputUploadContent.js +3 -3
- package/dist/components/inputs/File/shared/InputUploadFilled.js +3 -3
- 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 +4 -3
- package/dist/components/inputs/FormField/FormFieldHeaderClose.js +6 -3
- 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 +89 -87
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +2 -1
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +264 -253
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +1 -0
- package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +5 -4
- package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +3 -4
- package/dist/components/inputs/Input/TextArea/TextArea.d.ts +1 -0
- package/dist/components/inputs/Input/TextArea/TextArea.js +99 -98
- package/dist/components/inputs/Input/TextInput/TextInput.js +92 -90
- package/dist/components/inputs/Input/shared/InputContent.d.ts +2 -1
- package/dist/components/inputs/Input/shared/InputContent.js +49 -47
- 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 +1 -1
- 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 +1 -1
- package/dist/components/inputs/Selection/shared/SelectBase.d.ts +1 -0
- package/dist/components/inputs/Selection/shared/SelectBase.js +1 -1
- package/dist/components/inputs/Selection/shared/SelectDesktop.js +55 -53
- package/dist/components/inputs/Selection/shared/SelectInput.d.ts +2 -2
- package/dist/components/inputs/Selection/shared/SelectInput.js +56 -54
- package/dist/components/inputs/Selection/shared/SelectInputTags.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 +7 -3
- package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +6 -3
- package/dist/components/inputs/Selection/shared/select.context.js +8 -21
- package/dist/components/inputs/Skeleton/InputFrame.d.ts +1 -0
- package/dist/components/inputs/Skeleton/InputFrame.js +2 -2
- 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 +4 -3
- package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +3 -3
- package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +6 -9
- package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +5 -4
- package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +1 -1
- package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +9 -6
- package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +4 -5
- package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +6 -9
- 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 -3
- package/dist/components/inputs/shared/TooltipWrapper.d.ts +1 -1
- package/dist/components/inputs/shared/TooltipWrapper.js +1 -1
- package/dist/components/inputs/shared/form.binding.js +1 -1
- package/dist/components/inputs/shared/input.cva.js +1 -1
- package/dist/components/inputs/shared/useStaticInputHandoff.js +64 -38
- package/dist/components/navigation/Accordion/AccordionItem.js +5 -2
- package/dist/components/navigation/Stepper/StepperItem.js +6 -3
- package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
- package/dist/components/overlays/BottomSheet/BottomSheet.js +1 -1
- package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +6 -3
- package/dist/components/overlays/Drawer/Drawer.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +2 -2
- package/dist/components/overlays/Tooltip/Tooltip.js +14 -5
- package/dist/components/overlays/Tooltip/TooltipEllipsis.js +1 -1
- package/dist/components/segment/Segment.js +1 -1
- package/dist/components/segment/SegmentItem.js +1 -1
- package/dist/components/shared/pagination/PaginationList.js +6 -9
- 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/PaginatedTable.js +1 -1
- package/dist/components/table/Table.js +148 -40
- package/dist/components/text/Link/Link.js +1 -1
- package/dist/components/text/Pill/Pill.js +5 -2
- package/dist/components/text/Tag/Tag.js +5 -2
- package/dist/config/link.context.js +1 -1
- package/dist/config/router.context.js +1 -1
- package/dist/config/uiConfig.context.js +13 -6
- package/dist/config/uiOverrides.context.js +1 -1
- package/dist/hooks/useFilters.js +1 -1
- package/dist/hooks/useForm.js +1 -1
- package/dist/hooks/useIntersectionObserver.js +1 -1
- package/dist/hooks/useLocalStorage.js +1 -1
- package/dist/hooks/usePagination.js +1 -1
- package/dist/hooks/useScrollableListBox.js +1 -1
- package/dist/hooks/useSorting.js +1 -1
- package/dist/hooks/useStateAndRef.js +1 -1
- package/dist/hooks/useTableColumnConfig.js +1 -1
- package/dist/index.js +1 -40
- 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 +15 -0
- package/dist/react-icons-sprite-f6e85378.svg +1 -0
- package/dist/rhf/Inputs.js +1 -1
- package/dist/rhf.d.ts +0 -39
- package/dist/tanstack.d.ts +0 -39
- package/dist/tanstack.js +1 -40
- package/package.json +2 -1
- package/dist/assets/icons/Account.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.d.ts +0 -2
- package/dist/assets/icons/AlignCenter.js +0 -30
- package/dist/assets/icons/AlignLeft.d.ts +0 -2
- package/dist/assets/icons/AlignLeft.js +0 -30
- package/dist/assets/icons/AlignLeftRight.d.ts +0 -2
- package/dist/assets/icons/AlignLeftRight.js +0 -30
- package/dist/assets/icons/AlignRight.d.ts +0 -2
- package/dist/assets/icons/AlignRight.js +0 -30
- package/dist/assets/icons/ArrowDropDown.d.ts +0 -2
- package/dist/assets/icons/ArrowDropDown.js +0 -30
- package/dist/assets/icons/ArrowDropUp.d.ts +0 -2
- package/dist/assets/icons/ArrowDropUp.js +0 -30
- package/dist/assets/icons/ArrowLeft.d.ts +0 -2
- package/dist/assets/icons/ArrowLeft.js +0 -30
- package/dist/assets/icons/ArrowRight.d.ts +0 -2
- package/dist/assets/icons/ArrowRight.js +0 -30
- package/dist/assets/icons/Board.d.ts +0 -2
- package/dist/assets/icons/Bold.d.ts +0 -2
- package/dist/assets/icons/Bold.js +0 -30
- package/dist/assets/icons/BulletedList.d.ts +0 -2
- package/dist/assets/icons/BulletedList.js +0 -30
- package/dist/assets/icons/Calendar.d.ts +0 -2
- package/dist/assets/icons/Calendar.js +0 -32
- package/dist/assets/icons/Check.d.ts +0 -2
- package/dist/assets/icons/Check.js +0 -32
- package/dist/assets/icons/CheckCircle.d.ts +0 -2
- package/dist/assets/icons/CheckCircle.js +0 -30
- package/dist/assets/icons/CheckboxCheckmark.d.ts +0 -2
- package/dist/assets/icons/CheckboxCheckmark.js +0 -33
- package/dist/assets/icons/CheckboxIndeterminate.d.ts +0 -2
- package/dist/assets/icons/CheckboxIndeterminate.js +0 -33
- package/dist/assets/icons/ChevronDown.d.ts +0 -2
- package/dist/assets/icons/ChevronDown.js +0 -32
- package/dist/assets/icons/ChevronLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronLeft.js +0 -32
- package/dist/assets/icons/ChevronRight.d.ts +0 -2
- package/dist/assets/icons/ChevronRight.js +0 -32
- package/dist/assets/icons/ChevronUp.d.ts +0 -2
- package/dist/assets/icons/ChevronUp.js +0 -32
- package/dist/assets/icons/ChevronsLeft.d.ts +0 -2
- package/dist/assets/icons/ChevronsLeft.js +0 -32
- package/dist/assets/icons/ChevronsRight.d.ts +0 -2
- package/dist/assets/icons/ChevronsRight.js +0 -32
- package/dist/assets/icons/Clock.d.ts +0 -2
- package/dist/assets/icons/Clock.js +0 -30
- package/dist/assets/icons/Close.d.ts +0 -2
- package/dist/assets/icons/Close.js +0 -30
- package/dist/assets/icons/DateTime.d.ts +0 -2
- package/dist/assets/icons/DateTime.js +0 -39
- package/dist/assets/icons/DragIndicator.d.ts +0 -2
- package/dist/assets/icons/DragIndicator.js +0 -30
- package/dist/assets/icons/Edit.d.ts +0 -2
- package/dist/assets/icons/Emoji.d.ts +0 -2
- package/dist/assets/icons/File.d.ts +0 -2
- package/dist/assets/icons/File.js +0 -32
- package/dist/assets/icons/Grid.d.ts +0 -2
- package/dist/assets/icons/Highlight.d.ts +0 -2
- package/dist/assets/icons/Highlight.js +0 -30
- package/dist/assets/icons/HighlightOn.d.ts +0 -6
- package/dist/assets/icons/HighlightOn.js +0 -55
- package/dist/assets/icons/Home.d.ts +0 -2
- package/dist/assets/icons/Home.js +0 -30
- package/dist/assets/icons/Image.d.ts +0 -2
- package/dist/assets/icons/ImageError.d.ts +0 -2
- package/dist/assets/icons/Info.d.ts +0 -2
- package/dist/assets/icons/Info.js +0 -41
- package/dist/assets/icons/Italic.d.ts +0 -2
- package/dist/assets/icons/Italic.js +0 -30
- package/dist/assets/icons/Link.d.ts +0 -2
- package/dist/assets/icons/Link.js +0 -30
- package/dist/assets/icons/Loader.d.ts +0 -2
- package/dist/assets/icons/MapPin.d.ts +0 -2
- package/dist/assets/icons/Menu.d.ts +0 -2
- package/dist/assets/icons/Menu.js +0 -30
- package/dist/assets/icons/Minus.d.ts +0 -2
- package/dist/assets/icons/MoreHoriz.d.ts +0 -2
- package/dist/assets/icons/NumberedList.d.ts +0 -2
- package/dist/assets/icons/NumberedList.js +0 -30
- package/dist/assets/icons/Pause.d.ts +0 -2
- package/dist/assets/icons/Plus.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.d.ts +0 -2
- package/dist/assets/icons/PointerHorizontal.js +0 -30
- package/dist/assets/icons/PointerVertical.d.ts +0 -2
- package/dist/assets/icons/PointerVertical.js +0 -30
- package/dist/assets/icons/Retry.d.ts +0 -2
- package/dist/assets/icons/Search.d.ts +0 -2
- package/dist/assets/icons/Search.js +0 -30
- package/dist/assets/icons/Send.d.ts +0 -2
- package/dist/assets/icons/Send.js +0 -32
- package/dist/assets/icons/Share.d.ts +0 -2
- package/dist/assets/icons/Slash.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.d.ts +0 -2
- package/dist/assets/icons/Strikethrough.js +0 -30
- package/dist/assets/icons/TextColor.d.ts +0 -6
- package/dist/assets/icons/TextColor.js +0 -52
- package/dist/assets/icons/Today.d.ts +0 -2
- package/dist/assets/icons/Today.js +0 -30
- package/dist/assets/icons/Trash.d.ts +0 -2
- package/dist/assets/icons/Underlined.d.ts +0 -2
- package/dist/assets/icons/Underlined.js +0 -32
- package/dist/assets/icons/Upload.d.ts +0 -2
- package/dist/assets/icons/Upload.js +0 -39
- package/dist/assets/icons/User.d.ts +0 -2
- package/dist/assets/icons/Visibility.d.ts +0 -2
- package/dist/assets/icons/Visibility.js +0 -30
- package/dist/assets/icons/VisibilityOff.d.ts +0 -2
- package/dist/assets/icons/VisibilityOff.js +0 -30
- package/dist/assets/icons/WarningFilled.d.ts +0 -2
- package/dist/assets/icons/WarningFilled.js +0 -32
- package/dist/assets/icons/WarningOutlined.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
2
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
3
3
|
import { breadcrumbChevronDefinition, breadcrumbIconDefinition, breadcrumbItemDefinition, breadcrumbSegmentDefinition, breadcrumbsDefinition } from "./breadcrumbs.cva.js";
|
|
4
4
|
import { MenuDesktop } from "../Menu/MenuDesktop.js";
|
|
@@ -80,12 +80,18 @@ var Breadcrumbs$1 = ({ items, className, onAction, iconOnly: iconOnly_0 = false
|
|
|
80
80
|
/* @__PURE__ */ jsxs(Breadcrumb, {
|
|
81
81
|
id: firstItem.id,
|
|
82
82
|
className: breadcrumbSegmentCva({}),
|
|
83
|
-
children: [renderBreadcrumbLink(firstItem, false, iconOnly_0), /* @__PURE__ */ jsx(
|
|
83
|
+
children: [renderBreadcrumbLink(firstItem, false, iconOnly_0), /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
84
|
+
iconId: "ri-lucide-react-ChevronRight",
|
|
85
|
+
className: breadcrumbChevronCva({})
|
|
86
|
+
})]
|
|
84
87
|
}),
|
|
85
88
|
/* @__PURE__ */ jsxs(Breadcrumb, {
|
|
86
89
|
id: "ellipsis",
|
|
87
90
|
className: breadcrumbSegmentCva({}),
|
|
88
|
-
children: [renderEllipsis(), /* @__PURE__ */ jsx(
|
|
91
|
+
children: [renderEllipsis(), /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
92
|
+
iconId: "ri-lucide-react-ChevronRight",
|
|
93
|
+
className: breadcrumbChevronCva({})
|
|
94
|
+
})]
|
|
89
95
|
}),
|
|
90
96
|
/* @__PURE__ */ jsx(Breadcrumb, {
|
|
91
97
|
id: lastItem.id,
|
|
@@ -104,7 +110,10 @@ var Breadcrumbs$1 = ({ items, className, onAction, iconOnly: iconOnly_0 = false
|
|
|
104
110
|
children: (item_1) => /* @__PURE__ */ jsx(Breadcrumb, {
|
|
105
111
|
id: item_1.id,
|
|
106
112
|
className: breadcrumbSegmentCva({}),
|
|
107
|
-
children: ({ isCurrent: isCurrent_0 }) => /* @__PURE__ */ jsxs(Fragment, { children: [renderBreadcrumbLink(item_1, isCurrent_0, iconOnly_0 && item_1 === items[0]), !isCurrent_0 && /* @__PURE__ */ jsx(
|
|
113
|
+
children: ({ isCurrent: isCurrent_0 }) => /* @__PURE__ */ jsxs(Fragment, { children: [renderBreadcrumbLink(item_1, isCurrent_0, iconOnly_0 && item_1 === items[0]), !isCurrent_0 && /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
114
|
+
iconId: "ri-lucide-react-ChevronRight",
|
|
115
|
+
className: breadcrumbChevronCva({})
|
|
116
|
+
})] })
|
|
108
117
|
})
|
|
109
118
|
});
|
|
110
119
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MenuDesktop } from "./MenuDesktop.js";
|
|
2
2
|
import { MenuMobile } from "./MenuMobile.js";
|
|
3
3
|
import { useBreakpoint } from "../../hooks/useBreakpoint.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { c } from "react/compiler-runtime";
|
|
6
6
|
//#region src/components/Menu/Menu.tsx
|
|
7
7
|
var Menu = (props) => {
|
|
8
8
|
const $ = c(4);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MenuPopover } from "./MenuPopover.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { MenuTrigger } from "react-aria-components";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
//#region src/components/Menu/MenuDesktop.tsx
|
|
6
6
|
var MenuDesktop = (t0) => {
|
|
7
7
|
const $ = c(12);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
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
2
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
3
3
|
import { menuItemDefinition } from "./menu.cva.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { clsx } from "clsx";
|
|
7
6
|
import { MenuItem } from "react-aria-components";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
8
|
//#region src/components/Menu/MenuItem.tsx
|
|
9
9
|
var MenuItem$1 = (t0) => {
|
|
10
10
|
const $ = c(9);
|
|
@@ -19,7 +19,10 @@ var MenuItem$1 = (t0) => {
|
|
|
19
19
|
const t2 = content ?? label;
|
|
20
20
|
let t3;
|
|
21
21
|
if ($[0] !== hasSubmenu) {
|
|
22
|
-
t3 = hasSubmenu && /* @__PURE__ */ jsx(
|
|
22
|
+
t3 = hasSubmenu && /* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
23
|
+
iconId: "ri-lucide-react-ArrowRight",
|
|
24
|
+
className: "size-6"
|
|
25
|
+
});
|
|
23
26
|
$[0] = hasSubmenu;
|
|
24
27
|
$[1] = t3;
|
|
25
28
|
} else t3 = $[1];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
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
2
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
3
3
|
import { menuDefinition, menuItemDefinition } from "./menu.cva.js";
|
|
4
4
|
import { MenuItem as MenuItem$1 } from "./MenuItem.js";
|
|
5
5
|
import { BottomSheet } from "../overlays/BottomSheet/BottomSheet.js";
|
|
6
|
-
import { c } from "react/compiler-runtime";
|
|
7
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { clsx } from "clsx";
|
|
9
8
|
import { useRef, useState } from "react";
|
|
10
9
|
import { Button, Menu } from "react-aria-components";
|
|
10
|
+
import { c } from "react/compiler-runtime";
|
|
11
11
|
//#region src/components/Menu/MenuMobile.tsx
|
|
12
12
|
var MenuMobile = (t0) => {
|
|
13
13
|
const $ = c(23);
|
|
@@ -90,7 +90,10 @@ var MenuMobile = (t0) => {
|
|
|
90
90
|
isMobile: true
|
|
91
91
|
})),
|
|
92
92
|
onPress: onBack,
|
|
93
|
-
children: [/* @__PURE__ */ jsx(
|
|
93
|
+
children: [/* @__PURE__ */ jsx(ReactIconsSpriteIcon, {
|
|
94
|
+
iconId: "ri-lucide-react-ArrowLeft",
|
|
95
|
+
className: "size-6"
|
|
96
|
+
}), activeItem.label]
|
|
94
97
|
}), /* @__PURE__ */ jsx("div", {
|
|
95
98
|
onClickCapture: (e) => {
|
|
96
99
|
lastEventRef.current = e;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UIOverrides } from "../../config/uiOverrides.context.js";
|
|
2
2
|
import { menuDefinition, menuPopoverDefinition, menuPopoverWrapperDefinition } from "./menu.cva.js";
|
|
3
3
|
import { MenuItem as MenuItem$1 } from "./MenuItem.js";
|
|
4
|
-
import { c } from "react/compiler-runtime";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
import { useRef } from "react";
|
|
7
6
|
import { Menu, Popover, SubmenuTrigger } from "react-aria-components";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
8
|
//#region src/components/Menu/MenuPopover.tsx
|
|
9
9
|
var MenuPopover = (t0) => {
|
|
10
10
|
const $ = c(28);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tooltip } from "../../overlays/Tooltip/Tooltip.js";
|
|
2
2
|
import { Button } from "../Button/Button.js";
|
|
3
|
-
import { c } from "react/compiler-runtime";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { c } from "react/compiler-runtime";
|
|
5
5
|
//#region src/components/buttons/IconButton/IconButton.tsx
|
|
6
6
|
var IconButton = (t0) => {
|
|
7
7
|
const $ = c(11);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CloseIcon } from "../../../assets/icons/Close.js";
|
|
2
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
3
2
|
import { ButtonContent } from "../shared/ButtonContent.js";
|
|
4
3
|
import { pillButtonContent, pillButtonDefinition, pillButtonIconSize, pillButtonTypography } from "./pillButton.cva.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
4
|
import { jsx } from "react/jsx-runtime";
|
|
7
5
|
import { clsx } from "clsx";
|
|
8
6
|
import { Button, ToggleButton } from "react-aria-components";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
|
+
import { X } from "lucide-react";
|
|
9
9
|
//#region src/components/buttons/PillButton/PillButton.tsx
|
|
10
10
|
var PillButton = (t0) => {
|
|
11
11
|
const $ = c(17);
|
|
@@ -30,7 +30,7 @@ var PillButton = (t0) => {
|
|
|
30
30
|
className: props.className
|
|
31
31
|
}), pillButtonContent({ iconPosition: getIconPosition() }));
|
|
32
32
|
const T0 = ButtonContent;
|
|
33
|
-
const t3 = dismissable ?
|
|
33
|
+
const t3 = dismissable ? X : icon;
|
|
34
34
|
const t4 = dismissable ? "right" : iconPosition;
|
|
35
35
|
const t5 = pillButtonIconSize;
|
|
36
36
|
const t6 = pillButtonTypographyMap({ ...props });
|
|
@@ -31,7 +31,7 @@ export declare const pillButtonContentDefinition: {
|
|
|
31
31
|
}>;
|
|
32
32
|
};
|
|
33
33
|
export declare const pillButtonContent: (props?: ({
|
|
34
|
-
readonly iconPosition?: "
|
|
34
|
+
readonly iconPosition?: "left" | "right" | "none" | null | undefined;
|
|
35
35
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
36
36
|
export declare const pillButtonIconSize: string;
|
|
37
37
|
export declare const pillButtonTypography: (props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ChevronDownIcon } from "../../../assets/icons/ChevronDown.js";
|
|
2
1
|
import { Button } from "../Button/Button.js";
|
|
3
2
|
import { IconButton } from "../IconButton/IconButton.js";
|
|
4
3
|
import { Menu } from "../../Menu/Menu.js";
|
|
5
|
-
import { c } from "react/compiler-runtime";
|
|
6
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
5
|
import { clsx } from "clsx";
|
|
6
|
+
import { c } from "react/compiler-runtime";
|
|
7
|
+
import { ChevronDown } from "lucide-react";
|
|
8
8
|
//#region src/components/buttons/SplitButton/SplitButton.tsx
|
|
9
9
|
var SplitButton = (t0) => {
|
|
10
10
|
const $ = c(36);
|
|
@@ -85,7 +85,7 @@ var SplitButton = (t0) => {
|
|
|
85
85
|
variant,
|
|
86
86
|
color,
|
|
87
87
|
label: labelRight,
|
|
88
|
-
icon:
|
|
88
|
+
icon: ChevronDown,
|
|
89
89
|
className: "rounded-l-none! border-l-0!",
|
|
90
90
|
isDisabled: t3
|
|
91
91
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from "../Button/Button.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
//#region src/components/buttons/TextButton/TextButton.tsx
|
|
5
5
|
var TextButton = (t0) => {
|
|
6
6
|
const $ = c(7);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from "../Button/Button.js";
|
|
2
|
-
import { c } from "react/compiler-runtime";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
4
|
//#region src/components/buttons/ToggleButton/ToggleButton.tsx
|
|
5
5
|
var ToggleButton = (t0) => {
|
|
6
6
|
const $ = c(6);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ButtonContentConfig } from '../Button/button.cva';
|
|
2
2
|
import { UIOverrides } from '../../../config/uiOverrides.context';
|
|
3
3
|
export declare const buttonContentLabel: (props?: ({
|
|
4
|
-
iconPosition?: "
|
|
4
|
+
iconPosition?: "left" | "right" | "none" | null | undefined;
|
|
5
5
|
hideText?: boolean | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonContentVariantProps extends UIOverrides.VariantProps<ButtonContentConfig> {
|
|
@@ -5,10 +5,10 @@ import { checkboxContentClassName, checkboxIndicatorClass, checkboxTypography }
|
|
|
5
5
|
import { FormFieldError } from "../FormField/FormFieldError.js";
|
|
6
6
|
import { CheckContent } from "../shared/CheckContent.js";
|
|
7
7
|
import { CheckboxCheckmark } from "./CheckboxCheckmark.js";
|
|
8
|
-
import { c } from "react/compiler-runtime";
|
|
9
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
import { clsx } from "clsx";
|
|
11
10
|
import { Checkbox } from "react-aria-components";
|
|
11
|
+
import { c } from "react/compiler-runtime";
|
|
12
12
|
import { mergeRefs } from "@react-aria/utils";
|
|
13
13
|
//#region src/components/inputs/Checkbox/Checkbox.tsx
|
|
14
14
|
var CheckboxBase = (props) => {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { CheckboxCheckmarkIcon } from "../../../assets/icons/CheckboxCheckmark.js";
|
|
2
|
-
import { CheckboxIndeterminateIcon } from "../../../assets/icons/CheckboxIndeterminate.js";
|
|
3
1
|
import { UIOverrides } from "../../../config/uiOverrides.context.js";
|
|
4
2
|
import { checkboxDefinition, checkboxIconDefinition } from "./checkbox.cva.js";
|
|
5
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Check, Minus } from "lucide-react";
|
|
6
5
|
//#region src/components/inputs/Checkbox/CheckboxCheckmark.tsx
|
|
7
|
-
var CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon =
|
|
6
|
+
var CheckboxCheckmark = ({ variant, className, selectedIcon: SelectedIcon = Check, indeterminateIcon: IndeterminateIcon = Minus, ...props }) => {
|
|
8
7
|
const checkboxCva = UIOverrides.useCva("checkbox.cva", checkboxDefinition);
|
|
9
8
|
const checkboxIconCva = UIOverrides.useCva("checkbox.iconCva", checkboxIconDefinition);
|
|
10
9
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -6,10 +6,10 @@ import { CheckboxBase } from "./Checkbox.js";
|
|
|
6
6
|
import { FormFieldLabel } from "../FormField/FormFieldLabel.js";
|
|
7
7
|
import { FormField } from "../FormField/FormField.js";
|
|
8
8
|
import { inputBaseDefinition, inputSizeDefinition } from "../shared/input.cva.js";
|
|
9
|
-
import { c } from "react/compiler-runtime";
|
|
10
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
10
|
import { clsx } from "clsx";
|
|
12
11
|
import { CheckboxGroup } from "react-aria-components";
|
|
12
|
+
import { c } from "react/compiler-runtime";
|
|
13
13
|
import { useLabel } from "react-aria";
|
|
14
14
|
import { mergeRefs } from "@react-aria/utils";
|
|
15
15
|
//#region src/components/inputs/Checkbox/CheckboxGroup.tsx
|
|
@@ -12,6 +12,7 @@ interface DatePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<Da
|
|
|
12
12
|
ref?: Ref<DatePickerInputHandle & HTMLDivElement>;
|
|
13
13
|
disableDropdown?: boolean;
|
|
14
14
|
isClearable?: boolean;
|
|
15
|
+
isClearableIfDisabled?: boolean;
|
|
15
16
|
className?: string;
|
|
16
17
|
todayIcon?: DatePickerTodayIcon;
|
|
17
18
|
todayIconButtonSize?: DatePickerTodayIconButtonSize;
|
|
@@ -24,7 +24,7 @@ import { useCalendarState, useDatePickerState } from "react-stately";
|
|
|
24
24
|
//#region src/components/inputs/DateTime/DatePicker/DatePicker.tsx
|
|
25
25
|
var DatePickerBase = (props) => {
|
|
26
26
|
const ui = UIConfig.useConfig();
|
|
27
|
-
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDirty, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, className, placeholder, inputClassName, as: asProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, shouldUpdateDateOnMonthYearChange: shouldUpdateDateOnMonthYearChangeProp, granularity: granularityProp, autoFixYear: autoFixYearProp, format, ...rest } = props;
|
|
27
|
+
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDirty, isDisabled, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, className, placeholder, inputClassName, as: asProp, hideLabel: hideLabelProp, variant: variantProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, shouldUpdateDateOnMonthYearChange: shouldUpdateDateOnMonthYearChangeProp, granularity: granularityProp, autoFixYear: autoFixYearProp, format, ...rest } = props;
|
|
28
28
|
const as = asProp ?? ui.input.as;
|
|
29
29
|
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
30
30
|
const variant = variantProp ?? ui.input.variant;
|
|
@@ -227,6 +227,7 @@ var DatePickerBase = (props) => {
|
|
|
227
227
|
variant,
|
|
228
228
|
size,
|
|
229
229
|
isClearable,
|
|
230
|
+
isClearableIfDisabled,
|
|
230
231
|
headerProps,
|
|
231
232
|
todayIcon,
|
|
232
233
|
todayIconButtonSize,
|
|
@@ -12,6 +12,7 @@ interface DateRangePickerBaseProps extends FormFieldProps, InputVariantProps, Om
|
|
|
12
12
|
ref?: Ref<DatePickerInputHandle & HTMLDivElement>;
|
|
13
13
|
disableDropdown?: boolean;
|
|
14
14
|
isClearable?: boolean;
|
|
15
|
+
isClearableIfDisabled?: boolean;
|
|
15
16
|
hideSidebar?: boolean;
|
|
16
17
|
className?: string;
|
|
17
18
|
todayIcon?: DatePickerTodayIcon;
|
|
@@ -29,7 +29,7 @@ import { useDateRangePickerState, useRangeCalendarState } from "react-stately";
|
|
|
29
29
|
var DateRangePickerBase = (props) => {
|
|
30
30
|
const ui = UIConfig.useConfig();
|
|
31
31
|
const { t } = useTranslation();
|
|
32
|
-
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, className, hideSidebar, placeholder, inputClassName, hideLabel: hideLabelProp, variant: variantProp, as: asProp, size: sizeProp, isClearable: isClearableProp, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, autoFixYear: autoFixYearProp, allowPartialRange: allowPartialRangeProp, minValue, maxValue, ...rest } = props;
|
|
32
|
+
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, className, hideSidebar, placeholder, inputClassName, hideLabel: hideLabelProp, variant: variantProp, as: asProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, autoFixYear: autoFixYearProp, allowPartialRange: allowPartialRangeProp, minValue, maxValue, ...rest } = props;
|
|
33
33
|
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
34
34
|
const variant = variantProp ?? ui.input.variant;
|
|
35
35
|
const as = asProp ?? ui.input.as;
|
|
@@ -649,6 +649,7 @@ var DateRangePickerBase = (props) => {
|
|
|
649
649
|
variant,
|
|
650
650
|
size,
|
|
651
651
|
isClearable,
|
|
652
|
+
isClearableIfDisabled,
|
|
652
653
|
headerProps,
|
|
653
654
|
todayIcon,
|
|
654
655
|
todayIconButtonSize,
|
|
@@ -12,6 +12,7 @@ interface DateTimePickerBaseProps extends FormFieldProps, InputVariantProps, Omi
|
|
|
12
12
|
disableDropdown?: boolean;
|
|
13
13
|
isTimeOptional?: boolean;
|
|
14
14
|
isClearable?: boolean;
|
|
15
|
+
isClearableIfDisabled?: boolean;
|
|
15
16
|
todayIcon?: DatePickerTodayIcon;
|
|
16
17
|
todayIconButtonSize?: DatePickerTodayIconButtonSize;
|
|
17
18
|
todayIconButtonComponent?: DatePickerTodayIconButtonComponent;
|
|
@@ -23,7 +23,7 @@ import { useCalendarState, useDatePickerState } from "react-stately";
|
|
|
23
23
|
//#region src/components/inputs/DateTime/DateTimePicker/DateTimePicker.tsx
|
|
24
24
|
var DateTimePickerBase = (props) => {
|
|
25
25
|
const ui = UIConfig.useConfig();
|
|
26
|
-
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, isTimeOptional, placeholder, inputClassName, shouldShrinkInput, hideLabel: hideLabelProp, variant: variantProp, as: asProp, size: sizeProp, isClearable: isClearableProp, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, shouldUpdateDateOnMonthYearChange: shouldUpdateDateOnMonthYearChangeProp, timeZone: timeZoneProp, autoFixYear: autoFixYearProp, format, setDateValueOnDateSelection: setDateValueOnDateSelectionProp, ...rest } = props;
|
|
26
|
+
const { ref, label, tooltipText, helperText, isRequired, rightContent, isDisabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, onChange, onBlur, value, disableDropdown, isTimeOptional, placeholder, inputClassName, shouldShrinkInput, hideLabel: hideLabelProp, variant: variantProp, as: asProp, size: sizeProp, isClearable: isClearableProp, isClearableIfDisabled, todayIcon: todayIconProp, todayIconButtonSize: todayIconButtonSizeProp, todayIconButtonComponent: todayIconButtonComponentProp, todayIconPlacement: todayIconPlacementProp, shouldForceLeadingZeros: shouldForceLeadingZerosProp, disableManualEntry: disableManualEntryProp, shouldUpdateDateOnMonthYearChange: shouldUpdateDateOnMonthYearChangeProp, timeZone: timeZoneProp, autoFixYear: autoFixYearProp, format, setDateValueOnDateSelection: setDateValueOnDateSelectionProp, ...rest } = props;
|
|
27
27
|
const hideLabel = hideLabelProp ?? ui.input.hideLabel;
|
|
28
28
|
const variant = variantProp ?? ui.input.variant;
|
|
29
29
|
const as = asProp ?? ui.input.as;
|
|
@@ -205,6 +205,7 @@ var DateTimePickerBase = (props) => {
|
|
|
205
205
|
isDateTime: true,
|
|
206
206
|
shouldShrinkInput,
|
|
207
207
|
isClearable,
|
|
208
|
+
isClearableIfDisabled,
|
|
208
209
|
headerProps,
|
|
209
210
|
todayIcon,
|
|
210
211
|
todayIconButtonSize,
|
|
@@ -9,6 +9,7 @@ interface TimePickerBaseProps extends FormFieldProps, InputVariantProps, Omit<Ar
|
|
|
9
9
|
disableDropdown?: boolean;
|
|
10
10
|
date?: string | null;
|
|
11
11
|
isClearable?: boolean;
|
|
12
|
+
isClearableIfDisabled?: boolean;
|
|
12
13
|
isDirty?: boolean;
|
|
13
14
|
disableManualEntry?: boolean;
|
|
14
15
|
placeholder?: string;
|