@profitliga/ui 1.2.89 → 1.2.91
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/SortUpFillIcon-v8yN3M01.js +333 -0
- package/dist/components/Accordion/AccordionContent.vue.d.ts +11 -7
- package/dist/components/Accordion/AccordionHeader.vue.d.ts +11 -7
- package/dist/components/Accordion/AccordionItem.vue.d.ts +11 -7
- package/dist/components/Accordion/AccordionRoot.vue.d.ts +11 -7
- package/dist/components/Accordion/AccordionTrigger.vue.d.ts +12 -9
- package/dist/components/AlertDialog/AlertDialog.stories.d.ts +3 -3
- package/dist/components/AlertDialog/AlertDialogAction.vue.d.ts +11 -7
- package/dist/components/AlertDialog/AlertDialogCancel.vue.d.ts +11 -7
- package/dist/components/AlertDialog/AlertDialogContent.vue.d.ts +12 -22
- package/dist/components/AlertDialog/AlertDialogDescription.vue.d.ts +11 -7
- package/dist/components/AlertDialog/AlertDialogOverlay.vue.d.ts +1 -2
- package/dist/components/AlertDialog/AlertDialogPortal.vue.d.ts +14 -7
- package/dist/components/AlertDialog/AlertDialogRoot.vue.d.ts +11 -7
- package/dist/components/AlertDialog/AlertDialogTitle.vue.d.ts +11 -7
- package/dist/components/AlertDialog/AlertDialogTrigger.vue.d.ts +11 -7
- package/dist/components/AlertDialog/index.d.ts +1 -3
- package/dist/components/Badge/Badge.vue.d.ts +1 -2
- package/dist/components/BottomSheet/BottomSheet.stories.d.ts +0 -1
- package/dist/components/BottomSheet/BottomSheet.vue.d.ts +205 -36
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -2
- package/dist/components/Button/Button.vue.d.ts +12 -8
- package/dist/components/Calendar/CalendarCellTrigger.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarGrid.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarGridBody.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarGridRow.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarHeadCell.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarHeader.vue.d.ts +11 -7
- package/dist/components/Calendar/CalendarHeading.vue.d.ts +1 -2
- package/dist/components/Calendar/CalendarNext.vue.d.ts +1 -2
- package/dist/components/Calendar/CalendarPrev.vue.d.ts +1 -2
- package/dist/components/Calendar/CalendarRoot.vue.d.ts +21 -17
- package/dist/components/Checkbox/Checkbox.vue.d.ts +14 -11
- package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +14 -11
- package/dist/components/Combobox/ComboboxAnchor.vue.d.ts +11 -7
- package/dist/components/Combobox/ComboboxClear.vue.d.ts +2 -3
- package/dist/components/Combobox/ComboboxContent.vue.d.ts +11 -7
- package/dist/components/Combobox/ComboboxInput.vue.d.ts +1 -2
- package/dist/components/Combobox/ComboboxItem.vue.d.ts +11 -7
- package/dist/components/Combobox/ComboboxRoot.vue.d.ts +11 -7
- package/dist/components/Combobox/ComboboxTrigger.vue.d.ts +1 -2
- package/dist/components/Combobox/ComboboxViewport.vue.d.ts +11 -7
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +1 -2
- package/dist/components/DataTable/DataTable.vue.d.ts +15 -20
- package/dist/components/DataTable/components/DataTableBody.vue.d.ts +8 -13
- package/dist/components/DataTable/components/DataTableFooter.vue.d.ts +8 -13
- package/dist/components/DataTable/components/DataTableHead.vue.d.ts +8 -13
- package/dist/components/DataTable/components/DataTablePagination.vue.d.ts +3 -5
- package/dist/components/DataTable/shared/mock/OrderStatus/OrderStatus.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/accepted.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/approval.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/assembled.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/awaitingPayment.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/cancelled.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/complaint.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/confirmation.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/dedlineChanged.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/delayDelivery.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/documentsIssued.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/error.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/handedShipment.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderSupplier.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/orderedSupplier.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/paid.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyPickup.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/readyShipment.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/receivedClient.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedPayment.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/reservedShipment.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/returned.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/sentSupplier.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferAvailability.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/transferCustom.vue.d.ts +1 -2
- package/dist/components/DataTable/shared/mock/OrderStatus/icons/warning.vue.d.ts +1 -2
- package/dist/components/DatePicker/DatePicker.stories.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.vue.d.ts +3 -7
- package/dist/components/DatePicker/DatePickerArrow.vue.d.ts +1 -2
- package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +14 -10
- package/dist/components/DatePicker/DatePickerCell.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerCellTrigger.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerContent.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerField.vue.d.ts +17 -13
- package/dist/components/DatePicker/DatePickerGrid.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerGridBody.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerGridRow.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerHeadCell.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerHeader.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerHeading.vue.d.ts +1 -2
- package/dist/components/DatePicker/DatePickerInput.vue.d.ts +11 -7
- package/dist/components/DatePicker/DatePickerNext.vue.d.ts +1 -2
- package/dist/components/DatePicker/DatePickerPrev.vue.d.ts +1 -2
- package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +17 -14
- package/dist/components/DatePicker/DatePickerTrigger.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +14 -14
- package/dist/components/DateRangePicker/DateRangePickerArrow.vue.d.ts +1 -2
- package/dist/components/DateRangePicker/DateRangePickerCalendar.vue.d.ts +18 -14
- package/dist/components/DateRangePicker/DateRangePickerCellTrigger.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerField.vue.d.ts +1 -2
- package/dist/components/DateRangePicker/DateRangePickerGrid.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerGridBody.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerGridRow.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerHeadCell.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerHeader.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerHeading.vue.d.ts +1 -2
- package/dist/components/DateRangePicker/DateRangePickerInput.vue.d.ts +11 -7
- package/dist/components/DateRangePicker/DateRangePickerNext.vue.d.ts +1 -2
- package/dist/components/DateRangePicker/DateRangePickerPrev.vue.d.ts +1 -2
- package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +17 -14
- package/dist/components/DateRangePicker/DateRangePickerTrigger.vue.d.ts +11 -7
- package/dist/components/Dialog/Dialog.stories.d.ts +4 -1
- package/dist/components/Dialog/Dialog.vue.d.ts +21 -25
- package/dist/components/Dialog/DialogActions.vue.d.ts +11 -7
- package/dist/components/Dialog/DialogClose.vue.d.ts +1 -2
- package/dist/components/Dialog/DialogContent.vue.d.ts +15 -13
- package/dist/components/Dialog/DialogDescription.vue.d.ts +11 -7
- package/dist/components/Dialog/DialogOverlay.vue.d.ts +1 -2
- package/dist/components/Dialog/DialogTitle.vue.d.ts +11 -7
- package/dist/components/Divider/Divider.vue.d.ts +11 -7
- package/dist/components/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +19 -24
- package/dist/components/Drawer/DrawerContent.vue.d.ts +15 -13
- package/dist/components/Drawer/DrawerOverlay.vue.d.ts +11 -7
- package/dist/components/Drawer/DrawerPortal.vue.d.ts +11 -7
- package/dist/components/Drawer/DrawerRoot.vue.d.ts +11 -7
- package/dist/components/Drawer/DrawerTrigger.vue.d.ts +11 -7
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +6 -3
- package/dist/components/DropdownMenu/DropdownMenu.vue.d.ts +18 -20
- package/dist/components/DropdownMenu/DropdownMenuArrow.vue.d.ts +1 -2
- package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +11 -7
- package/dist/components/DropdownMenu/DropdownMenuItem.vue.d.ts +11 -7
- package/dist/components/DropdownMenu/DropdownMenuSeparator.vue.d.ts +1 -2
- package/dist/components/DropdownMenu/DropdownMenuSubContent.vue.d.ts +13 -9
- package/dist/components/DropdownMenu/DropdownMenuSubTrigger.vue.d.ts +11 -7
- package/dist/components/File/File.vue.d.ts +2 -3
- package/dist/components/FormField/FormField.vue.d.ts +12 -9
- package/dist/components/Image/Image.vue.d.ts +2 -3
- package/dist/components/Image/ImageModalProvider.vue.d.ts +11 -7
- package/dist/components/InputNumber/InputNumber.vue.d.ts +4 -6
- package/dist/components/InputText/InputText.vue.d.ts +21 -15
- package/dist/components/Label/Label.vue.d.ts +11 -7
- package/dist/components/Message/Message.vue.d.ts +12 -8
- package/dist/components/OTPCode/OTPCode.vue.d.ts +6 -6
- package/dist/components/OverlayBadge/OverlayBadge.vue.d.ts +11 -7
- package/dist/components/OverlayLayer/OverlayLayer.stories.d.ts +41 -0
- package/dist/components/OverlayLayer/OverlayLayer.vue.d.ts +32 -0
- package/dist/components/OverlayLayer/index.d.ts +3 -0
- package/dist/components/Pagination/PaginationEllipsis.vue.d.ts +1 -2
- package/dist/components/Pagination/PaginationFirst.vue.d.ts +1 -2
- package/dist/components/Pagination/PaginationLast.vue.d.ts +1 -2
- package/dist/components/Pagination/PaginationList.vue.d.ts +18 -14
- package/dist/components/Pagination/PaginationListItem.vue.d.ts +11 -7
- package/dist/components/Pagination/PaginationNext.vue.d.ts +1 -2
- package/dist/components/Pagination/PaginationPrev.vue.d.ts +1 -2
- package/dist/components/Popover/Popover.vue.d.ts +17 -19
- package/dist/components/Popover/PopoverArrow.vue.d.ts +1 -2
- package/dist/components/Popover/PopoverContent.vue.d.ts +13 -9
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -2
- package/dist/components/RadioGroup/RadioGroupItem.vue.d.ts +1 -2
- package/dist/components/RadioGroup/RadioGroupRoot.vue.d.ts +14 -10
- package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +3 -5
- package/dist/components/RangeCalendar/RangeCalendarCell.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarCellTrigger.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarGrid.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarGridBody.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarGridRow.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarHeadCell.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarHeader.vue.d.ts +11 -7
- package/dist/components/RangeCalendar/RangeCalendarHeading.vue.d.ts +1 -2
- package/dist/components/RangeCalendar/RangeCalendarNext.vue.d.ts +1 -2
- package/dist/components/RangeCalendar/RangeCalendarPrev.vue.d.ts +1 -2
- package/dist/components/RangeCalendar/RangeCalendarRoot.vue.d.ts +23 -18
- package/dist/components/Schedule/Schedule.vue.d.ts +4 -6
- package/dist/components/ScheduleMobile/ScheduleMobile.vue.d.ts +28 -7
- package/dist/components/ScheduleMobile/ScheduleMobileModal.vue.d.ts +3 -4
- package/dist/components/ScrollArea/ScrollAreaRoot.vue.d.ts +281 -10
- package/dist/components/ScrollArea/ScrollAreaScrollbar.vue.d.ts +1 -2
- package/dist/components/ScrollArea/ScrollAreaViewport.vue.d.ts +11 -7
- package/dist/components/Select/SelectContent.vue.d.ts +12 -19
- package/dist/components/Select/SelectItem.vue.d.ts +11 -7
- package/dist/components/Select/SelectRoot.vue.d.ts +11 -7
- package/dist/components/Select/SelectSeparator.vue.d.ts +1 -2
- package/dist/components/Select/SelectTrigger.vue.d.ts +13 -10
- package/dist/components/Select/SelectValue.vue.d.ts +14 -10
- package/dist/components/Select/SelectViewport.vue.d.ts +12 -9
- package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -2
- package/dist/components/Spinner/Spinner.vue.d.ts +1 -2
- package/dist/components/Stepper/StepperIndicator.vue.d.ts +1 -2
- package/dist/components/Stepper/StepperItem.vue.d.ts +11 -7
- package/dist/components/Stepper/StepperRoot.vue.d.ts +365 -13
- package/dist/components/Stepper/StepperSeparator.vue.d.ts +1 -2
- package/dist/components/Switch/SwitchRoot.vue.d.ts +12 -9
- package/dist/components/Switch/SwitchThumb.vue.d.ts +1 -2
- package/dist/components/Tabs/TabsList.vue.d.ts +11 -7
- package/dist/components/Tabs/TabsRoot.vue.d.ts +14 -10
- package/dist/components/Tabs/TabsTrigger.vue.d.ts +11 -7
- package/dist/components/Tag/Tag.vue.d.ts +12 -8
- package/dist/components/Textarea/Textarea.vue.d.ts +21 -15
- package/dist/components/TimeField/TimeField.vue.d.ts +3 -5
- package/dist/components/Toast/ToastClose.vue.d.ts +1 -2
- package/dist/components/Toast/ToastDescription.vue.d.ts +11 -7
- package/dist/components/Toast/ToastProvider.vue.d.ts +11 -7
- package/dist/components/Toast/ToastRoot.vue.d.ts +11 -7
- package/dist/components/Toast/ToastTitle.vue.d.ts +11 -7
- package/dist/components/Toast/ToastViewport.vue.d.ts +1 -2
- package/dist/components/Toast/Toaster.vue.d.ts +1 -2
- package/dist/components/Tooltip/TooltipArrow.vue.d.ts +1 -2
- package/dist/components/Tooltip/TooltipContent.vue.d.ts +12 -10
- package/dist/components/Tooltip/index.d.ts +1 -6
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +6606 -6159
- package/dist/icons/colored/BonusIcon.vue.d.ts +1 -2
- package/dist/icons/colored/CashbackIcon.vue.d.ts +1 -2
- package/dist/icons/colored/CertificateIcon.vue.d.ts +1 -2
- package/dist/icons/colored/DiscountIcon.vue.d.ts +1 -2
- package/dist/icons/colored/ExcelIcon.vue.d.ts +1 -2
- package/dist/icons/colored/FaviconIcon.vue.d.ts +1 -2
- package/dist/icons/colored/GiftColorIcon.vue.d.ts +1 -2
- package/dist/icons/colored/MaxIcon.vue.d.ts +1 -2
- package/dist/icons/colored/PdfIcon.vue.d.ts +1 -2
- package/dist/icons/colored/SberPayColorIcon.vue.d.ts +1 -2
- package/dist/icons/colored/ShieldIcon.vue.d.ts +1 -2
- package/dist/icons/colored/SpbIcon.vue.d.ts +1 -2
- package/dist/icons/colored/TelegramColorIcon.vue.d.ts +1 -2
- package/dist/icons/colored/TruesignFullIcon.vue.d.ts +1 -2
- package/dist/icons/colored/TruesignIcon.vue.d.ts +1 -2
- package/dist/icons/colored/WarehousePointIcon.vue.d.ts +1 -2
- package/dist/icons/colored/WordIcon.vue.d.ts +1 -2
- package/dist/icons/index.js +2656 -2
- package/dist/icons/monochrome/AngleBottomIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AngleDoubleLeftIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AngleDoubleRightIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AngleLeftIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AngleRightIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AngleTopIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ArrowRightTopIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AtIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/AvatarIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BagIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BanIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BankIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BarsIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BellIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BookIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BoxIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BoxLineIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BoxStopIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BriefcaseIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/BuildingIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CalendarIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CameraIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CarIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CarSearchIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CartCrossedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CartIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CatalogToIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CevronBottomIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CevronLeftIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CevronRightIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CevronTopIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CheckFilledIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CheckIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CheckRoundedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ClockIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ClockPayIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CloseIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CloseRoundedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CogIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CommentIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CommentsIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CopyIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CreditCardIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CrossedBoxIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CrumpledBoxIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/CubeIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/DeliveryIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/DeliveryTimeIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/DownloadIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ErrorFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ErrorIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ExclamationBoxIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/EyeCloseIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/EyeIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FileEditIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FileExportIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FileIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FileUploadIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FilterFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FilterIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/FilterSlashIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/GiftIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/GuardIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/HeadSetIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/HeartFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/HeartOutlinedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/HomeIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ImageIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/InfoFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/InfoIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/LikeIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ListIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/LocationIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/LockIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MailBoxIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MailIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MailWarningIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MapIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MapPointFilledIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MapPointIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MessageIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MinusIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/MoneyBillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/NewIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/OilIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PackageIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PencelLineIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PercentCircleIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PersonIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PinIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PlusIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PlusRoundedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/PrintIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ProcentIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/QrIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/QuestionIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/QuestionRoundedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ReplaceIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/Replay2Icon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ReplayIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ReplayOffIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ReturnIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/RubIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/RumpledPackageIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SberPayIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SearchIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SearchMinusIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SearchPlusIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SendIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SettingsIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ShieldErrorIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ShopIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ShoppingCartIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SignOutIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SmartphoneIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SmsIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SortDownFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SortDownIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SortUpFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SortUpIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/StarFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/StarIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/SyncIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/TelegramIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/TimerIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/TrashIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/TruckFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/TruckIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/UploadIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/UserIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/UsersIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/Wallet2Icon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WalletIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WarehouseIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WarnRoundedIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WarningFillIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WarningIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/WeightIcon.vue.d.ts +1 -2
- package/dist/icons/monochrome/ZapIcon.vue.d.ts +1 -2
- package/dist/parseFileSize.util-jznvHBCL.js +548 -0
- package/dist/styles/mixins.scss +14 -0
- package/dist/styles/vars.scss +15 -8
- package/dist/ui.css +1 -2
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +171 -2
- package/dist/utils/useOverlayLayer.util.d.ts +26 -0
- package/package.json +49 -51
- package/src/styles/mixins.scss +14 -0
- package/src/styles/vars.scss +15 -8
- package/dist/components/AlertDialog/AlertDialog.vue.d.ts +0 -56
- package/dist/components/Tooltip/TooltipPortal.vue.d.ts +0 -17
- package/dist/components/Tooltip/TooltipRoot.vue.d.ts +0 -40
- package/dist/components/Tooltip/TooltipTrigger.vue.d.ts +0 -17
- package/dist/icons-CXIS8gFg.js +0 -2420
- package/dist/utils/useLockZoom.util.d.ts +0 -4
- package/dist/utils-DaKJDD4y.js +0 -796
package/dist/utils/index.js
CHANGED
|
@@ -1,3 +1,172 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toValue as x, unref as S, h as p } from "vue";
|
|
2
|
+
import { p as h } from "../parseFileSize.util-jznvHBCL.js";
|
|
3
|
+
import { O as U, a as N, c as T, b as V, f as I, u as M } from "../parseFileSize.util-jznvHBCL.js";
|
|
2
4
|
export * from "@internationalized/date";
|
|
3
|
-
|
|
5
|
+
import { default as q } from "dayjs";
|
|
6
|
+
function R() {
|
|
7
|
+
const e = /* @__PURE__ */ new Map();
|
|
8
|
+
return {
|
|
9
|
+
on(t, r) {
|
|
10
|
+
const n = e.get(t) ?? [];
|
|
11
|
+
n.push(r), e.set(t, n);
|
|
12
|
+
},
|
|
13
|
+
off(t, r) {
|
|
14
|
+
const n = e.get(t);
|
|
15
|
+
n && e.set(
|
|
16
|
+
t,
|
|
17
|
+
n.filter((o) => o !== r)
|
|
18
|
+
);
|
|
19
|
+
},
|
|
20
|
+
emit(t, r) {
|
|
21
|
+
const n = e.get(t);
|
|
22
|
+
n && n.forEach(
|
|
23
|
+
(o) => o(r)
|
|
24
|
+
);
|
|
25
|
+
},
|
|
26
|
+
listeners(t) {
|
|
27
|
+
const r = e.get(t);
|
|
28
|
+
return r ? [...r] : [];
|
|
29
|
+
},
|
|
30
|
+
// Количество слушателей для события
|
|
31
|
+
listenerCount(t) {
|
|
32
|
+
return e.get(t)?.length ?? 0;
|
|
33
|
+
},
|
|
34
|
+
// Список всех типов событий с зарегистрированными слушателями
|
|
35
|
+
eventNames() {
|
|
36
|
+
return Array.from(e.keys());
|
|
37
|
+
},
|
|
38
|
+
clear() {
|
|
39
|
+
e.clear();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
const d = /* @__PURE__ */ new WeakMap();
|
|
44
|
+
function g(e) {
|
|
45
|
+
const t = S(e);
|
|
46
|
+
return t?.$el ?? t;
|
|
47
|
+
}
|
|
48
|
+
function E(e) {
|
|
49
|
+
return typeof e == "string" ? document.querySelector(e) : g(e);
|
|
50
|
+
}
|
|
51
|
+
function z(e, t, r = {}) {
|
|
52
|
+
const n = E(e);
|
|
53
|
+
if (!n) return () => {
|
|
54
|
+
};
|
|
55
|
+
const o = d.get(n);
|
|
56
|
+
o && (o(), d.delete(n));
|
|
57
|
+
const i = (c) => {
|
|
58
|
+
const a = c.target instanceof Node ? c.target : null;
|
|
59
|
+
if (!a) return;
|
|
60
|
+
const y = (x(r.ignore) ?? []).map((l) => typeof l == "string" ? document.querySelector(l) : g(l)).filter((l) => l != null);
|
|
61
|
+
n.contains(a) || y.some((l) => l.contains(a)) || t(c);
|
|
62
|
+
};
|
|
63
|
+
document.addEventListener("mousedown", i, { capture: !0 }), document.addEventListener("touchstart", i, { capture: !0 });
|
|
64
|
+
const s = () => {
|
|
65
|
+
document.removeEventListener("mousedown", i, { capture: !0 }), document.removeEventListener("touchstart", i, { capture: !0 }), d.delete(n);
|
|
66
|
+
};
|
|
67
|
+
return d.set(n, s), s;
|
|
68
|
+
}
|
|
69
|
+
function k(e, t = "₽", r = 2) {
|
|
70
|
+
return `${e.toLocaleString("en-US", {
|
|
71
|
+
minimumFractionDigits: r,
|
|
72
|
+
maximumFractionDigits: r
|
|
73
|
+
}).replace(/,/g, " ")} ${t}`;
|
|
74
|
+
}
|
|
75
|
+
function O(e) {
|
|
76
|
+
return e.reduce((t, r) => t + r, 0);
|
|
77
|
+
}
|
|
78
|
+
function Y(e) {
|
|
79
|
+
const t = e.replace(/[^\d.,]/g, "").replace(",", ".");
|
|
80
|
+
return parseFloat(t) || 0;
|
|
81
|
+
}
|
|
82
|
+
let u = null, m = 0;
|
|
83
|
+
function F() {
|
|
84
|
+
const e = window.scrollY;
|
|
85
|
+
return document.body.style.position = "fixed", document.body.style.top = `-${e}px`, () => {
|
|
86
|
+
document.body.style.position = "", document.body.style.top = "", window.scrollTo(0, e);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
const v = () => {
|
|
90
|
+
m++, m === 1 && !u && (u = F());
|
|
91
|
+
}, L = () => {
|
|
92
|
+
m > 0 && m--, m === 0 && u && (u(), u = null);
|
|
93
|
+
}, P = () => ({
|
|
94
|
+
unlockScroll: L,
|
|
95
|
+
lockScroll: v
|
|
96
|
+
});
|
|
97
|
+
function w(e) {
|
|
98
|
+
if (!e) return;
|
|
99
|
+
const t = Array.isArray(e) ? e : [e], r = {
|
|
100
|
+
image: ["image/*"],
|
|
101
|
+
pdf: ["application/pdf"],
|
|
102
|
+
excel: [
|
|
103
|
+
"application/vnd.ms-excel",
|
|
104
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
105
|
+
],
|
|
106
|
+
word: [
|
|
107
|
+
"application/msword",
|
|
108
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
109
|
+
],
|
|
110
|
+
all: ["*/*"]
|
|
111
|
+
};
|
|
112
|
+
return t.flatMap((n) => r[n] || []).join(",");
|
|
113
|
+
}
|
|
114
|
+
function _(e = {}) {
|
|
115
|
+
return new Promise((t) => {
|
|
116
|
+
const r = document.createElement("input");
|
|
117
|
+
r.type = "file", r.style.display = "none", e.multiple && e.maxFiles && e.maxFiles > 1 && (r.multiple = !0);
|
|
118
|
+
const n = w(e.accept);
|
|
119
|
+
n && (r.accept = n), r.addEventListener("change", (o) => {
|
|
120
|
+
const i = o.target;
|
|
121
|
+
let s = [];
|
|
122
|
+
if (i.files && i.files.length > 0 && (s = Array.from(i.files), e.maxFiles && s.length > e.maxFiles && (s = s.slice(0, e.maxFiles)), e.maxFileSize)) {
|
|
123
|
+
const a = h(e.maxFileSize);
|
|
124
|
+
s = s.filter((f) => f.size <= a);
|
|
125
|
+
}
|
|
126
|
+
if (document.body.removeChild(r), e.returnType === "raw") {
|
|
127
|
+
t(s);
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
const c = s.map((a) => ({
|
|
131
|
+
id: crypto.randomUUID(),
|
|
132
|
+
url: URL.createObjectURL(a),
|
|
133
|
+
name: a.name,
|
|
134
|
+
mime: a.type,
|
|
135
|
+
size: a.size
|
|
136
|
+
}));
|
|
137
|
+
t(c);
|
|
138
|
+
}), document.body.appendChild(r), r.click();
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
const $ = (e, t = !0) => {
|
|
142
|
+
const r = typeof e == "string" ? parseFloat(e) : e;
|
|
143
|
+
if (isNaN(r))
|
|
144
|
+
return "<span>0.<small>00</small>₽</span>";
|
|
145
|
+
const n = r.toLocaleString("ru-RU", {
|
|
146
|
+
minimumFractionDigits: 2,
|
|
147
|
+
maximumFractionDigits: 2
|
|
148
|
+
}), [o, i = "00"] = n.split(",");
|
|
149
|
+
return t ? `<span class="price-number">${o}<small style="margin-right: 4px">.${i}</small>₽</span>` : p("span", { class: "price-number" }, [
|
|
150
|
+
`${o}.`,
|
|
151
|
+
p("small", { style: { marginRight: "4px" } }, i),
|
|
152
|
+
"₽"
|
|
153
|
+
]);
|
|
154
|
+
};
|
|
155
|
+
export {
|
|
156
|
+
R as EventBus,
|
|
157
|
+
U as OVERLAY_LAYER_BASE,
|
|
158
|
+
N as OVERLAY_LAYER_STEP,
|
|
159
|
+
T as OVERLAY_TOP_LAYER_VAR,
|
|
160
|
+
V as breakpoints,
|
|
161
|
+
q as dayjs,
|
|
162
|
+
I as formatFileSize,
|
|
163
|
+
k as formatPrice,
|
|
164
|
+
z as onClickOutside,
|
|
165
|
+
_ as openFileDialog,
|
|
166
|
+
h as parseFileSize,
|
|
167
|
+
Y as parsePrice,
|
|
168
|
+
$ as priceFormat,
|
|
169
|
+
O as sumPrices,
|
|
170
|
+
P as useBodyScroll,
|
|
171
|
+
M as useOverlayLayer
|
|
172
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MaybeRefOrGetter, Ref } from 'vue';
|
|
2
|
+
/** z-index первого открытого overlay */
|
|
3
|
+
export declare const OVERLAY_LAYER_BASE = 1000;
|
|
4
|
+
/** Шаг между соседними слоями */
|
|
5
|
+
export declare const OVERLAY_LAYER_STEP = 10;
|
|
6
|
+
/**
|
|
7
|
+
* CSS-переменная с z-index самого верхнего открытого слоя.
|
|
8
|
+
* Всплывающий контент (Select, Combobox, Tooltip, календари) поднимается
|
|
9
|
+
* над ней через `calc(var(--ui-overlay-top-layer) + 1)`.
|
|
10
|
+
*/
|
|
11
|
+
export declare const OVERLAY_TOP_LAYER_VAR = "--ui-overlay-top-layer";
|
|
12
|
+
/**
|
|
13
|
+
* Выдаёт z-index слоя на время, пока overlay открыт.
|
|
14
|
+
*
|
|
15
|
+
* Порталы reka-ui — это обычный `Teleport`, их содержимое смонтировано всегда,
|
|
16
|
+
* поэтому слой нельзя привязывать к монтированию: он выдаётся по `open`.
|
|
17
|
+
* Каждый следующий открытый overlay встаёт над всеми уже открытыми.
|
|
18
|
+
*
|
|
19
|
+
* При закрытии слой освобождается, но значение сохраняется до следующего
|
|
20
|
+
* открытия — иначе анимация закрытия проигрывалась бы под соседними overlay.
|
|
21
|
+
*
|
|
22
|
+
* @param open реактивный признак открытости overlay
|
|
23
|
+
* @param zIndex явный override: число используется как есть, `'auto'`
|
|
24
|
+
* и `undefined` означают «выдать следующий слой»
|
|
25
|
+
*/
|
|
26
|
+
export declare function useOverlayLayer(open: MaybeRefOrGetter<boolean>, zIndex?: MaybeRefOrGetter<number | 'auto' | undefined>): Readonly<Ref<number | undefined>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@profitliga/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.91",
|
|
4
4
|
"author": "Profit League<dev@pr-lg.ru>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Vue 3 UI component library with TypeScript and SCSS",
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"format": "prettier --write \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
43
43
|
"format:check": "prettier --check \"src/**/*.{ts,tsx,vue,scss,css,json}\"",
|
|
44
44
|
"check": "npm run type-check && npm run lint && npm run format:check",
|
|
45
|
-
"storybook": "storybook dev -p 6006
|
|
46
|
-
"storybook:tunnel": "ngrok http 6006",
|
|
45
|
+
"storybook": "storybook dev -p 6006",
|
|
47
46
|
"build-storybook": "storybook build",
|
|
48
47
|
"prepare": "husky"
|
|
49
48
|
},
|
|
@@ -57,64 +56,63 @@
|
|
|
57
56
|
]
|
|
58
57
|
},
|
|
59
58
|
"peerDependencies": {
|
|
60
|
-
"@internationalized/date": "^3.12.
|
|
61
|
-
"@lucide/vue": "^1.
|
|
59
|
+
"@internationalized/date": "^3.12.0",
|
|
60
|
+
"@lucide/vue": "^1.7.0",
|
|
62
61
|
"@tanstack/vue-table": "8.21.3",
|
|
63
|
-
"@vueuse/core": "14.
|
|
64
|
-
"dayjs": "1.11.
|
|
65
|
-
"reka-ui": "2.
|
|
66
|
-
"tailwindcss": "4.
|
|
67
|
-
"vue": "3.5.
|
|
62
|
+
"@vueuse/core": "14.1.0",
|
|
63
|
+
"dayjs": "1.11.19",
|
|
64
|
+
"reka-ui": "2.7.0",
|
|
65
|
+
"tailwindcss": "4.1.18",
|
|
66
|
+
"vue": "3.5.26"
|
|
68
67
|
},
|
|
69
68
|
"devDependencies": {
|
|
70
|
-
"@chromatic-com/storybook": "^5.
|
|
71
|
-
"@eslint/js": "^
|
|
72
|
-
"@internationalized/date": "^3.12.
|
|
73
|
-
"@lucide/vue": "^1.
|
|
74
|
-
"@storybook/addon-a11y": "^10.
|
|
75
|
-
"@storybook/addon-docs": "^10.
|
|
76
|
-
"@storybook/addon-mcp": "^0.
|
|
77
|
-
"@storybook/addon-onboarding": "^10.
|
|
78
|
-
"@storybook/addon-vitest": "^10.
|
|
79
|
-
"@storybook/vue3-vite": "^10.
|
|
80
|
-
"@tailwindcss/vite": "^4.
|
|
69
|
+
"@chromatic-com/storybook": "^5.0.0",
|
|
70
|
+
"@eslint/js": "^9.39.2",
|
|
71
|
+
"@internationalized/date": "^3.12.0",
|
|
72
|
+
"@lucide/vue": "^1.7.0",
|
|
73
|
+
"@storybook/addon-a11y": "^10.2.0",
|
|
74
|
+
"@storybook/addon-docs": "^10.2.0",
|
|
75
|
+
"@storybook/addon-mcp": "^0.2.2",
|
|
76
|
+
"@storybook/addon-onboarding": "^10.2.0",
|
|
77
|
+
"@storybook/addon-vitest": "^10.2.0",
|
|
78
|
+
"@storybook/vue3-vite": "^10.2.0",
|
|
79
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
81
80
|
"@tanstack/vue-table": "^8.21.3",
|
|
82
81
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
83
|
-
"@types/node": "^
|
|
84
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
85
|
-
"@vitejs/plugin-vue-jsx": "^5.1.
|
|
86
|
-
"@vitest/browser-playwright": "^4.
|
|
87
|
-
"@vitest/coverage-v8": "^4.
|
|
88
|
-
"@vueuse/core": "^14.
|
|
82
|
+
"@types/node": "^25.0.3",
|
|
83
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
84
|
+
"@vitejs/plugin-vue-jsx": "^5.1.3",
|
|
85
|
+
"@vitest/browser-playwright": "^4.0.16",
|
|
86
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
87
|
+
"@vueuse/core": "^14.1.0",
|
|
89
88
|
"chromatic": "^13.3.5",
|
|
90
|
-
"dayjs": "^1.11.
|
|
91
|
-
"eslint": "^
|
|
89
|
+
"dayjs": "^1.11.19",
|
|
90
|
+
"eslint": "^9.39.2",
|
|
92
91
|
"eslint-config-prettier": "^10.1.8",
|
|
93
|
-
"eslint-plugin-storybook": "10.
|
|
94
|
-
"eslint-plugin-vue": "^10.
|
|
95
|
-
"globals": "^17.
|
|
92
|
+
"eslint-plugin-storybook": "10.2.0",
|
|
93
|
+
"eslint-plugin-vue": "^10.7.0",
|
|
94
|
+
"globals": "^17.1.0",
|
|
96
95
|
"husky": "^9.1.7",
|
|
97
|
-
"lightningcss": "^1.
|
|
98
|
-
"lint-staged": "^16.
|
|
99
|
-
"playwright": "^1.
|
|
100
|
-
"prettier": "^3.
|
|
101
|
-
"reka-ui": "2.
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"tailwindcss": "4.3.3",
|
|
96
|
+
"lightningcss": "^1.31.1",
|
|
97
|
+
"lint-staged": "^16.2.7",
|
|
98
|
+
"playwright": "^1.57.0",
|
|
99
|
+
"prettier": "^3.8.1",
|
|
100
|
+
"reka-ui": "2.7.0",
|
|
101
|
+
"sass": "^1.97.1",
|
|
102
|
+
"sonda": "^0.10.1",
|
|
103
|
+
"storybook": "^10.2.10",
|
|
104
|
+
"tailwindcss": "4.1.18",
|
|
107
105
|
"typescript": "^5.9.3",
|
|
108
|
-
"typescript-eslint": "^8.
|
|
109
|
-
"vite": "^
|
|
106
|
+
"typescript-eslint": "^8.53.1",
|
|
107
|
+
"vite": "^7.3.0",
|
|
110
108
|
"vite-plugin-compression": "^0.5.1",
|
|
111
|
-
"vite-plugin-dts": "^5.
|
|
112
|
-
"vite-plugin-static-copy": "^
|
|
113
|
-
"vitest": "^4.
|
|
114
|
-
"vue": "^3.5.
|
|
115
|
-
"vue-eslint-parser": "^10.
|
|
109
|
+
"vite-plugin-dts": "^4.5.4",
|
|
110
|
+
"vite-plugin-static-copy": "^3.1.6",
|
|
111
|
+
"vitest": "^4.0.16",
|
|
112
|
+
"vue": "^3.5.26",
|
|
113
|
+
"vue-eslint-parser": "^10.2.0",
|
|
116
114
|
"vue-router": "^4.6.4",
|
|
117
|
-
"vue-tsc": "^3.
|
|
115
|
+
"vue-tsc": "^3.2.1"
|
|
118
116
|
},
|
|
119
117
|
"keywords": [
|
|
120
118
|
"vue",
|
|
@@ -126,6 +124,6 @@
|
|
|
126
124
|
],
|
|
127
125
|
"resolutions": {
|
|
128
126
|
"@microsoft/api-extractor": "7.48.1",
|
|
129
|
-
"@internationalized/date": "3.12.
|
|
127
|
+
"@internationalized/date": "3.12.0"
|
|
130
128
|
}
|
|
131
129
|
}
|
package/src/styles/mixins.scss
CHANGED
|
@@ -116,6 +116,20 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
/// Поднимает всплывающий контент (Select, Combobox, Tooltip, календари) над
|
|
120
|
+
/// самым верхним открытым слоем overlay.
|
|
121
|
+
///
|
|
122
|
+
/// `--ui-overlay-top-layer` пишет аллокатор слоёв
|
|
123
|
+
/// (`src/utils/useOverlayLayer.util.ts`) при каждом открытии и закрытии
|
|
124
|
+
/// overlay. Fallback = OVERLAY_LAYER_BASE - OVERLAY_LAYER_STEP: когда ничего
|
|
125
|
+
/// не открыто, всплывающий контент стоит чуть ниже базы слоёв.
|
|
126
|
+
///
|
|
127
|
+
/// reka-ui копирует вычисленный z-index контента на свою обёртку
|
|
128
|
+
/// [data-reka-popper-content-wrapper], поэтому отдельная обёртка не нужна.
|
|
129
|
+
@mixin overlay-popper-layer {
|
|
130
|
+
z-index: calc(var(--ui-overlay-top-layer, 990) + 1);
|
|
131
|
+
}
|
|
132
|
+
|
|
119
133
|
// ✨ Кастомный скроллбар
|
|
120
134
|
@mixin custom-scrollbar($direction) {
|
|
121
135
|
box-sizing: content-box;
|
package/src/styles/vars.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use './mixins.scss' as *;
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
4
|
//GLOBAL
|
|
3
5
|
--animation-duration: 0.3s;
|
|
@@ -16,9 +18,6 @@
|
|
|
16
18
|
--input-height: 40px;
|
|
17
19
|
--input-height-large: 44px;
|
|
18
20
|
|
|
19
|
-
// Kept at 1rem (16px) at every size — Safari on iOS/iPadOS auto-zooms the
|
|
20
|
-
// page when a focused input's font-size is below 16px, regardless of
|
|
21
|
-
// viewport width.
|
|
22
21
|
--input-font-size-extrasmall: 1rem;
|
|
23
22
|
--input-font-size-small: 1rem;
|
|
24
23
|
--input-font-size: 1rem;
|
|
@@ -37,12 +36,20 @@
|
|
|
37
36
|
--input-border-color-disabled: var(--theme-neutral-border-disabled);
|
|
38
37
|
}
|
|
39
38
|
|
|
40
|
-
|
|
39
|
+
@include respond(lg) {
|
|
40
|
+
:root {
|
|
41
|
+
--input-font-size-extrasmall: 0.75rem;
|
|
42
|
+
--input-font-size-small: 0.875rem;
|
|
43
|
+
--input-font-size: 1rem;
|
|
44
|
+
--input-font-size-large: 1rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Слои overlay раздаёт аллокатор из src/utils/useOverlayLayer.util.ts
|
|
49
|
+
// (OVERLAY_LAYER_BASE = 1000, шаг 10). Он же пишет --ui-overlay-top-layer
|
|
50
|
+
// с z-index самого верхнего открытого слоя.
|
|
41
51
|
:root {
|
|
42
|
-
--
|
|
43
|
-
--drawer-z-index: 1000;
|
|
44
|
-
--confirm-z-index: 1008;
|
|
45
|
-
--toast-z-index: 1009;
|
|
52
|
+
--toast-z-index: 9999;
|
|
46
53
|
|
|
47
54
|
//BOX-SHADOW
|
|
48
55
|
--dropdown-shadow: -1px 1px 10px 0 #8d8f9340;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { TBreakpoints } from '../../types/global.types';
|
|
2
|
-
import { IAlertDialogContentProps } from './AlertDialogContent.vue';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
-
export interface IAlertDialogTitleProps {
|
|
5
|
-
text?: string;
|
|
6
|
-
as?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface AlertDialogProps {
|
|
9
|
-
title?: IAlertDialogTitleProps;
|
|
10
|
-
width?: number;
|
|
11
|
-
zIndex?: number | 'auto';
|
|
12
|
-
breakpointMobile?: TBreakpoints;
|
|
13
|
-
contentProps?: IAlertDialogContentProps;
|
|
14
|
-
}
|
|
15
|
-
type __VLS_Props = AlertDialogProps;
|
|
16
|
-
type __VLS_ModelProps = {
|
|
17
|
-
'open'?: boolean;
|
|
18
|
-
};
|
|
19
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
20
|
-
declare var __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_30: {}, __VLS_55: {}, __VLS_57: {}, __VLS_59: {};
|
|
21
|
-
type __VLS_Slots = {} & {
|
|
22
|
-
trigger?: (props: typeof __VLS_9) => any;
|
|
23
|
-
} & {
|
|
24
|
-
title?: (props: typeof __VLS_11) => any;
|
|
25
|
-
} & {
|
|
26
|
-
default?: (props: typeof __VLS_13) => any;
|
|
27
|
-
} & {
|
|
28
|
-
actions?: (props: typeof __VLS_15) => any;
|
|
29
|
-
} & {
|
|
30
|
-
trigger?: (props: typeof __VLS_30) => any;
|
|
31
|
-
} & {
|
|
32
|
-
title?: (props: typeof __VLS_55) => any;
|
|
33
|
-
} & {
|
|
34
|
-
default?: (props: typeof __VLS_57) => any;
|
|
35
|
-
} & {
|
|
36
|
-
actions?: (props: typeof __VLS_59) => any;
|
|
37
|
-
};
|
|
38
|
-
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
39
|
-
"update:open": (value: boolean) => any;
|
|
40
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
42
|
-
}>, {
|
|
43
|
-
title: IAlertDialogTitleProps;
|
|
44
|
-
width: number;
|
|
45
|
-
zIndex: number | "auto";
|
|
46
|
-
breakpointMobile: TBreakpoints;
|
|
47
|
-
contentProps: IAlertDialogContentProps;
|
|
48
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
-
declare const _default: typeof __VLS_export;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
-
new (): {
|
|
54
|
-
$slots: S;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TooltipPortalProps } from 'reka-ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_8: {}, __VLS_17: {};
|
|
4
|
-
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof __VLS_8) => any;
|
|
6
|
-
} & {
|
|
7
|
-
default?: (props: typeof __VLS_17) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: DefineComponent<TooltipPortalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipPortalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { TooltipRootProps } from 'reka-ui';
|
|
2
|
-
import { TBreakpoints } from '../../types/global.types';
|
|
3
|
-
import { InjectionKey, Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
-
export interface ITooltipRootProps extends TooltipRootProps {
|
|
5
|
-
breakpointMobile?: TBreakpoints;
|
|
6
|
-
}
|
|
7
|
-
export interface ITooltipAdaptiveContext {
|
|
8
|
-
isMobile: Ref<boolean>;
|
|
9
|
-
isOpen: Ref<boolean>;
|
|
10
|
-
}
|
|
11
|
-
export declare const TOOLTIP_ADAPTIVE_KEY: InjectionKey<ITooltipAdaptiveContext>;
|
|
12
|
-
export declare function injectTooltipAdaptiveContext(): ITooltipAdaptiveContext;
|
|
13
|
-
declare const _default: typeof __VLS_export;
|
|
14
|
-
export default _default;
|
|
15
|
-
declare const __VLS_export: __VLS_WithSlots< DefineComponent<ITooltipRootProps & {
|
|
16
|
-
open?: boolean;
|
|
17
|
-
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
|
-
"update:open": (value: boolean) => any;
|
|
19
|
-
}, string, PublicProps, Readonly<ITooltipRootProps & {
|
|
20
|
-
open?: boolean;
|
|
21
|
-
}> & Readonly<{
|
|
22
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
23
|
-
}>, {
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
defaultOpen: boolean;
|
|
26
|
-
breakpointMobile: TBreakpoints;
|
|
27
|
-
delayDuration: number;
|
|
28
|
-
disableHoverableContent: boolean;
|
|
29
|
-
disableClosingTrigger: boolean;
|
|
30
|
-
ignoreNonKeyboardFocus: boolean;
|
|
31
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
32
|
-
default?: (props: {}) => any;
|
|
33
|
-
} & {
|
|
34
|
-
default?: (props: {}) => any;
|
|
35
|
-
}>;
|
|
36
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
37
|
-
new (): {
|
|
38
|
-
$slots: S;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TooltipTriggerProps } from 'reka-ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_8: {}, __VLS_19: {};
|
|
4
|
-
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof __VLS_8) => any;
|
|
6
|
-
} & {
|
|
7
|
-
default?: (props: typeof __VLS_19) => any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_base: DefineComponent<TooltipTriggerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|