@uzum-tech/ui 1.11.2 → 1.12.1
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/index.js +54230 -49889
- package/dist/index.prod.js +4 -4
- package/es/_internal/close/src/Close.d.ts +2 -2
- package/es/_internal/icons/BurgerMenuIcon.d.ts +2 -0
- package/es/_internal/icons/BurgerMenuIcon.js +4 -0
- package/es/_internal/icons/Logout.d.ts +2 -0
- package/es/_internal/icons/Logout.js +4 -0
- package/es/_internal/icons/OzbekFlag.d.ts +2 -0
- package/es/_internal/icons/OzbekFlag.js +15 -0
- package/es/_internal/icons/RussiaFlag.d.ts +2 -0
- package/es/_internal/icons/RussiaFlag.js +11 -0
- package/es/_internal/icons/SendFilled.d.ts +2 -0
- package/es/_internal/icons/SendFilled.js +9 -0
- package/es/_internal/icons/index.d.ts +5 -0
- package/es/_internal/icons/index.js +5 -0
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +2 -2
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectMenu.d.ts +7 -7
- package/es/_internal/selection/src/Selection.d.ts +13 -13
- package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/es/_internal/typography/index.d.ts +1 -0
- package/es/_internal/typography/src/text.d.ts +42 -3
- package/es/_internal/typography/src/text.js +17 -4
- package/es/_internal/typography/src/variants.d.ts +105 -4
- package/es/_internal/typography/src/variants.js +84 -42
- package/es/_internal/typography/styles/dark.js +1 -1
- package/es/_internal/typography/styles/light.d.ts +1 -1
- package/es/_internal/typography/styles/light.js +1 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +1 -0
- package/es/_styles/common/light.js +1 -1
- package/es/affix/src/Affix.d.ts +3 -3
- package/es/alert/src/Alert.d.ts +3 -3
- package/es/anchor/src/AnchorAdapter.d.ts +5 -5
- package/es/auto-complete/src/AutoComplete.d.ts +3 -3
- package/es/avatar/src/Avatar.d.ts +1 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/badge/src/Badge.d.ts +1 -1
- package/es/button/src/Button.d.ts +7 -7
- package/es/card/src/Card.d.ts +3 -3
- package/es/card-list/src/CardList.d.ts +2 -2
- package/es/card-list/src/CardListItem.d.ts +1 -1
- package/es/carousel/src/Carousel.d.ts +8 -8
- package/es/carousel/src/CarouselDots.d.ts +2 -2
- package/es/cascader/src/Cascader.d.ts +12 -12
- package/es/cascader/src/CascaderMenu.d.ts +1 -1
- package/es/cascader/src/CascaderSelectMenu.d.ts +1 -1
- package/es/chat/src/Chat.d.ts +464 -83
- package/es/chat/src/Chat.js +17 -2
- package/es/chat/src/ChatListItems.d.ts +497 -94
- package/es/chat/src/ChatListItems.js +1 -1
- package/es/chat/src/ChatMessages.d.ts +501 -94
- package/es/chat/src/ChatMessages.js +115 -22
- package/es/chat/src/ChatParts/MainArea.d.ts +7 -3
- package/es/chat/src/ChatParts/MainArea.js +110 -14
- package/es/chat/src/ChatParts/Sidebar.d.ts +64 -11
- package/es/chat/src/interface.d.ts +18 -0
- package/es/chat/src/interface.js +6 -0
- package/es/chat/src/styles/index.cssr.js +22 -1
- package/es/chat/styles/dark.d.ts +41 -8
- package/es/chat/styles/dark.js +6 -2
- package/es/chat/styles/light.d.ts +42 -8
- package/es/chat/styles/light.js +7 -2
- package/es/checkbox/src/Checkbox.d.ts +5 -5
- package/es/code/src/Code.d.ts +1 -1
- package/es/collapse/src/Collapse.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +3 -3
- package/es/components.d.ts +3 -0
- package/es/components.js +3 -0
- package/es/config-provider/src/ConfigProvider.d.ts +7 -1
- package/es/config-provider/src/ConfigProvider.js +83 -12
- package/es/config-provider/src/interface.d.ts +1 -1
- package/es/config-provider/src/internal-interface.d.ts +212 -33
- package/es/countdown/src/Countdown.d.ts +1 -1
- package/es/create.js +34 -3
- package/es/data-table/src/DataTable.d.ts +6 -6
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/es/date-picker/src/DatePicker.d.ts +4 -4
- package/es/date-picker/src/panel/date.d.ts +1 -1
- package/es/date-picker/src/panel/daterange.d.ts +1 -1
- package/es/date-picker/src/panel/datetime.d.ts +1 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/es/date-picker/src/panel/panelMonth.d.ts +9 -9
- package/es/date-picker/src/panel/panelMonthContent.d.ts +1 -1
- package/es/date-picker/src/panel/panelYear.d.ts +9 -9
- package/es/date-picker/src/panel/panelYearContent.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +3 -3
- package/es/dialog/src/Dialog.d.ts +1 -1
- package/es/dialog/src/DialogEnvironment.d.ts +3 -3
- package/es/dialog/src/DialogProvider.d.ts +31 -29
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/drawer/src/Drawer.d.ts +7 -7
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/es/dropdown/src/Dropdown.d.ts +15 -15
- package/es/dropdown/src/DropdownMenu.d.ts +2 -2
- package/es/dropdown/src/DropdownOption.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/es/empty/src/Empty.d.ts +1 -1
- package/es/flex/src/Flex.d.ts +1 -1
- package/es/form/src/FormItem.d.ts +3 -3
- package/es/form/src/FormItemCol.d.ts +2 -2
- package/es/form/src/FormItemGridItem.d.ts +3 -3
- package/es/form/src/FormItemRow.d.ts +2 -2
- package/es/form/src/utils.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +2 -2
- package/es/grid/src/Grid.d.ts +3 -3
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/header/demos/mock.d.ts +2 -0
- package/es/header/demos/mock.js +235 -0
- package/es/header/index.d.ts +12 -0
- package/es/header/index.js +10 -0
- package/es/header/src/Header.d.ts +604 -0
- package/es/header/src/Header.js +320 -0
- package/es/header/src/HeaderActions.d.ts +120 -0
- package/es/header/src/HeaderActions.js +166 -0
- package/es/header/src/HeaderDesktopLayout.d.ts +25 -0
- package/es/header/src/HeaderDesktopLayout.js +24 -0
- package/es/header/src/HeaderMobileLayout.d.ts +25 -0
- package/es/header/src/HeaderMobileLayout.js +21 -0
- package/es/header/src/HeaderNavigation.d.ts +128 -0
- package/es/header/src/HeaderNavigation.js +172 -0
- package/es/header/src/HeaderSearchDesktop.d.ts +79 -0
- package/es/header/src/HeaderSearchDesktop.js +77 -0
- package/es/header/src/HeaderSearchMobile.d.ts +73 -0
- package/es/header/src/HeaderSearchMobile.js +126 -0
- package/es/header/src/HeaderSearchResults.d.ts +81 -0
- package/es/header/src/HeaderSearchResults.js +74 -0
- package/es/header/src/constants.d.ts +1 -0
- package/es/header/src/constants.js +1 -0
- package/es/header/src/interface.d.ts +58 -0
- package/es/header/src/interface.js +1 -0
- package/es/header/src/mobile/HeaderMobile.d.ts +218 -0
- package/es/header/src/mobile/HeaderMobile.js +241 -0
- package/es/header/src/styles/index.cssr.d.ts +6 -0
- package/es/header/src/styles/index.cssr.js +519 -0
- package/es/header/src/utils.d.ts +12 -0
- package/es/header/src/utils.js +47 -0
- package/es/header/styles/dark.d.ts +36 -0
- package/es/header/styles/dark.js +9 -0
- package/es/header/styles/index.d.ts +3 -0
- package/es/header/styles/index.js +2 -0
- package/es/header/styles/light.d.ts +72 -0
- package/es/header/styles/light.js +45 -0
- package/es/icon/src/Icon.d.ts +3 -0
- package/es/icon/src/Icon.js +3 -2
- package/es/icon-bar/index.d.ts +4 -0
- package/es/icon-bar/index.js +2 -0
- package/es/icon-bar/src/IconBar.d.ts +175 -0
- package/es/icon-bar/src/IconBar.js +57 -0
- package/es/icon-bar/src/IconBarItem.d.ts +163 -0
- package/es/icon-bar/src/IconBarItem.js +50 -0
- package/es/icon-bar/src/styles/index.cssr.d.ts +2 -0
- package/es/icon-bar/src/styles/index.cssr.js +62 -0
- package/es/icon-bar/styles/dark.d.ts +3 -0
- package/es/icon-bar/styles/dark.js +8 -0
- package/es/icon-bar/styles/index.d.ts +3 -0
- package/es/icon-bar/styles/index.js +2 -0
- package/es/icon-bar/styles/light.d.ts +19 -0
- package/es/icon-bar/styles/light.js +23 -0
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/input/src/Input.d.ts +8 -8
- package/es/input-number/src/InputNumber.d.ts +3 -3
- package/es/input-otp/src/InputOtp.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +2 -2
- package/es/legacy-grid/src/Row.d.ts +1 -1
- package/es/legacy-transfer/src/Transfer.d.ts +2 -2
- package/es/list/src/List.d.ts +6 -6
- package/es/list/src/ListItem.d.ts +4 -4
- package/es/locales/common/arDZ.js +11 -1
- package/es/locales/common/deDE.js +11 -1
- package/es/locales/common/enGB.js +11 -1
- package/es/locales/common/enUS.d.ts +10 -0
- package/es/locales/common/enUS.js +11 -1
- package/es/locales/common/eo.js +11 -1
- package/es/locales/common/esAR.js +11 -1
- package/es/locales/common/faIR.js +11 -1
- package/es/locales/common/frFR.js +11 -1
- package/es/locales/common/idID.js +11 -1
- package/es/locales/common/itIT.js +11 -1
- package/es/locales/common/jaJP.js +11 -1
- package/es/locales/common/koKR.js +11 -1
- package/es/locales/common/nbNO.js +11 -1
- package/es/locales/common/nlNL.js +11 -1
- package/es/locales/common/plPL.js +11 -1
- package/es/locales/common/ptBR.js +11 -1
- package/es/locales/common/ruRU.js +11 -1
- package/es/locales/common/skSK.js +11 -1
- package/es/locales/common/svSE.js +11 -1
- package/es/locales/common/thTH.js +11 -1
- package/es/locales/common/trTR.js +11 -1
- package/es/locales/common/ukUA.js +11 -1
- package/es/locales/common/viVN.js +11 -1
- package/es/locales/common/zhCN.js +11 -1
- package/es/locales/common/zhTW.js +11 -1
- package/es/log/src/Log.d.ts +2 -2
- package/es/mention/src/Mention.d.ts +3 -3
- package/es/menu/src/Menu.d.ts +5 -5
- package/es/menu/src/MenuOption.d.ts +1 -1
- package/es/menu/src/MenuOptionContent.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -1
- package/es/menu/src/Submenu.d.ts +1 -1
- package/es/message/src/MessageProvider.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +3 -3
- package/es/modal/src/Modal.d.ts +6 -6
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal-fullscreen/src/ModalFull.d.ts +2 -2
- package/es/notification/src/Notification.d.ts +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +1 -1
- package/es/notification/src/NotificationProvider.d.ts +9 -9
- package/es/number-animation/src/NumberAnimation.d.ts +2 -2
- package/es/pagination/src/Pagination.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +8 -8
- package/es/popover/src/Popover.d.ts +8 -8
- package/es/popover/src/PopoverBody.d.ts +2 -2
- package/es/popselect/src/Popselect.d.ts +81 -81
- package/es/popselect/src/PopselectPanel.d.ts +4 -4
- package/es/progress/src/Circle.d.ts +1 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +4 -4
- package/es/qr-code/index.d.ts +2 -0
- package/es/qr-code/index.js +1 -0
- package/es/qr-code/src/QrCode.d.ts +171 -0
- package/es/qr-code/src/QrCode.js +229 -0
- package/es/qr-code/src/qrcodegen.d.ts +95 -0
- package/es/qr-code/src/qrcodegen.js +949 -0
- package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/es/qr-code/src/styles/index.cssr.js +8 -0
- package/es/qr-code/styles/dark.d.ts +3 -0
- package/es/qr-code/styles/dark.js +11 -0
- package/es/qr-code/styles/index.d.ts +3 -0
- package/es/qr-code/styles/index.js +2 -0
- package/es/qr-code/styles/light.d.ts +9 -0
- package/es/qr-code/styles/light.js +12 -0
- package/es/radio/src/Radio.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +3 -3
- package/es/result/src/Result.d.ts +1 -1
- package/es/select/src/Select.d.ts +19 -19
- package/es/skeleton/src/Skeleton.d.ts +1 -1
- package/es/slider/src/Slider.d.ts +4 -4
- package/es/space/src/Space.d.ts +1 -1
- package/es/spin/src/Spin.d.ts +2 -2
- package/es/steps/src/Steps.d.ts +1 -1
- package/es/switch/src/Switch.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +4 -4
- package/es/tag/src/Tag.d.ts +2 -2
- package/es/tag/src/TagGroup.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/es/themes/dark.js +7 -1
- package/es/themes/light.js +7 -1
- package/es/time/src/Time.d.ts +1 -1
- package/es/time-picker/src/Panel.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +5 -5
- package/es/timeline/src/TimelineItem.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +8 -8
- package/es/transfer/src/Transfer.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +18 -18
- package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +15 -15
- package/es/typography/index.d.ts +1 -0
- package/es/typography/src/create-header.d.ts +1 -1
- package/es/typography/src/headers.d.ts +6 -6
- package/es/typography/src/text.d.ts +44 -5
- package/es/upload/src/Upload.d.ts +11 -11
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +2 -2
- package/es/watermark/src/Watermark.d.ts +7 -7
- package/lib/_internal/close/src/Close.d.ts +2 -2
- package/lib/_internal/icons/BurgerMenuIcon.d.ts +2 -0
- package/lib/_internal/icons/BurgerMenuIcon.js +6 -0
- package/lib/_internal/icons/Logout.d.ts +2 -0
- package/lib/_internal/icons/Logout.js +6 -0
- package/lib/_internal/icons/OzbekFlag.d.ts +2 -0
- package/lib/_internal/icons/OzbekFlag.js +17 -0
- package/lib/_internal/icons/RussiaFlag.d.ts +2 -0
- package/lib/_internal/icons/RussiaFlag.js +13 -0
- package/lib/_internal/icons/SendFilled.d.ts +2 -0
- package/lib/_internal/icons/SendFilled.js +11 -0
- package/lib/_internal/icons/index.d.ts +5 -0
- package/lib/_internal/icons/index.js +11 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +2 -2
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +7 -7
- package/lib/_internal/selection/src/Selection.d.ts +13 -13
- package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/_internal/typography/index.d.ts +1 -0
- package/lib/_internal/typography/src/text.d.ts +42 -3
- package/lib/_internal/typography/src/text.js +18 -5
- package/lib/_internal/typography/src/variants.d.ts +105 -4
- package/lib/_internal/typography/src/variants.js +87 -43
- package/lib/_internal/typography/styles/dark.js +2 -2
- package/lib/_internal/typography/styles/light.d.ts +1 -1
- package/lib/_internal/typography/styles/light.js +2 -2
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +1 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/affix/src/Affix.d.ts +3 -3
- package/lib/alert/src/Alert.d.ts +3 -3
- package/lib/anchor/src/AnchorAdapter.d.ts +5 -5
- package/lib/auto-complete/src/AutoComplete.d.ts +3 -3
- package/lib/avatar/src/Avatar.d.ts +1 -1
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/badge/src/Badge.d.ts +1 -1
- package/lib/button/src/Button.d.ts +7 -7
- package/lib/card/src/Card.d.ts +3 -3
- package/lib/card-list/src/CardList.d.ts +2 -2
- package/lib/card-list/src/CardListItem.d.ts +1 -1
- package/lib/carousel/src/Carousel.d.ts +8 -8
- package/lib/carousel/src/CarouselDots.d.ts +2 -2
- package/lib/cascader/src/Cascader.d.ts +12 -12
- package/lib/cascader/src/CascaderMenu.d.ts +1 -1
- package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -1
- package/lib/chat/src/Chat.d.ts +464 -83
- package/lib/chat/src/Chat.js +17 -2
- package/lib/chat/src/ChatListItems.d.ts +497 -94
- package/lib/chat/src/ChatListItems.js +1 -1
- package/lib/chat/src/ChatMessages.d.ts +501 -94
- package/lib/chat/src/ChatMessages.js +113 -20
- package/lib/chat/src/ChatParts/MainArea.d.ts +7 -3
- package/lib/chat/src/ChatParts/MainArea.js +108 -12
- package/lib/chat/src/ChatParts/Sidebar.d.ts +64 -11
- package/lib/chat/src/interface.d.ts +18 -0
- package/lib/chat/src/interface.js +7 -1
- package/lib/chat/src/styles/index.cssr.js +22 -1
- package/lib/chat/styles/dark.d.ts +41 -8
- package/lib/chat/styles/dark.js +6 -2
- package/lib/chat/styles/light.d.ts +42 -8
- package/lib/chat/styles/light.js +7 -2
- package/lib/checkbox/src/Checkbox.d.ts +5 -5
- package/lib/code/src/Code.d.ts +1 -1
- package/lib/collapse/src/Collapse.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +3 -3
- package/lib/components.d.ts +3 -0
- package/lib/components.js +3 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +7 -1
- package/lib/config-provider/src/ConfigProvider.js +81 -10
- package/lib/config-provider/src/interface.d.ts +1 -1
- package/lib/config-provider/src/internal-interface.d.ts +212 -33
- package/lib/countdown/src/Countdown.d.ts +1 -1
- package/lib/create.js +34 -3
- package/lib/data-table/src/DataTable.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +4 -4
- package/lib/date-picker/src/panel/date.d.ts +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
- package/lib/date-picker/src/panel/panelMonth.d.ts +9 -9
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +1 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +9 -9
- package/lib/date-picker/src/panel/panelYearContent.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +3 -3
- package/lib/dialog/src/Dialog.d.ts +1 -1
- package/lib/dialog/src/DialogEnvironment.d.ts +3 -3
- package/lib/dialog/src/DialogProvider.d.ts +31 -29
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/drawer/src/Drawer.d.ts +7 -7
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/lib/dropdown/src/Dropdown.d.ts +15 -15
- package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
- package/lib/dropdown/src/DropdownOption.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
- package/lib/empty/src/Empty.d.ts +1 -1
- package/lib/flex/src/Flex.d.ts +1 -1
- package/lib/form/src/FormItem.d.ts +3 -3
- package/lib/form/src/FormItemCol.d.ts +2 -2
- package/lib/form/src/FormItemGridItem.d.ts +3 -3
- package/lib/form/src/FormItemRow.d.ts +2 -2
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +2 -2
- package/lib/grid/src/Grid.d.ts +3 -3
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/header/demos/mock.d.ts +2 -0
- package/lib/header/demos/mock.js +238 -0
- package/lib/header/index.d.ts +12 -0
- package/lib/header/index.js +48 -0
- package/lib/header/src/Header.d.ts +604 -0
- package/lib/header/src/Header.js +349 -0
- package/lib/header/src/HeaderActions.d.ts +120 -0
- package/lib/header/src/HeaderActions.js +172 -0
- package/lib/header/src/HeaderDesktopLayout.d.ts +25 -0
- package/lib/header/src/HeaderDesktopLayout.js +27 -0
- package/lib/header/src/HeaderMobileLayout.d.ts +25 -0
- package/lib/header/src/HeaderMobileLayout.js +24 -0
- package/lib/header/src/HeaderNavigation.d.ts +128 -0
- package/lib/header/src/HeaderNavigation.js +175 -0
- package/lib/header/src/HeaderSearchDesktop.d.ts +79 -0
- package/lib/header/src/HeaderSearchDesktop.js +83 -0
- package/lib/header/src/HeaderSearchMobile.d.ts +73 -0
- package/lib/header/src/HeaderSearchMobile.js +132 -0
- package/lib/header/src/HeaderSearchResults.d.ts +81 -0
- package/lib/header/src/HeaderSearchResults.js +77 -0
- package/lib/header/src/constants.d.ts +1 -0
- package/lib/header/src/constants.js +4 -0
- package/lib/header/src/interface.d.ts +58 -0
- package/lib/header/src/interface.js +2 -0
- package/lib/header/src/mobile/HeaderMobile.d.ts +218 -0
- package/lib/header/src/mobile/HeaderMobile.js +244 -0
- package/lib/header/src/styles/index.cssr.d.ts +6 -0
- package/lib/header/src/styles/index.cssr.js +525 -0
- package/lib/header/src/utils.d.ts +12 -0
- package/lib/header/src/utils.js +58 -0
- package/lib/header/styles/dark.d.ts +36 -0
- package/lib/header/styles/dark.js +11 -0
- package/lib/header/styles/index.d.ts +3 -0
- package/lib/header/styles/index.js +10 -0
- package/lib/header/styles/light.d.ts +72 -0
- package/lib/header/styles/light.js +49 -0
- package/lib/icon/src/Icon.d.ts +3 -0
- package/lib/icon/src/Icon.js +3 -2
- package/lib/icon-bar/index.d.ts +4 -0
- package/lib/icon-bar/index.js +12 -0
- package/lib/icon-bar/src/IconBar.d.ts +175 -0
- package/lib/icon-bar/src/IconBar.js +63 -0
- package/lib/icon-bar/src/IconBarItem.d.ts +163 -0
- package/lib/icon-bar/src/IconBarItem.js +56 -0
- package/lib/icon-bar/src/styles/index.cssr.d.ts +2 -0
- package/lib/icon-bar/src/styles/index.cssr.js +67 -0
- package/lib/icon-bar/styles/dark.d.ts +3 -0
- package/lib/icon-bar/styles/dark.js +10 -0
- package/lib/icon-bar/styles/index.d.ts +3 -0
- package/lib/icon-bar/styles/index.js +10 -0
- package/lib/icon-bar/styles/light.d.ts +19 -0
- package/lib/icon-bar/styles/light.js +27 -0
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/input/src/Input.d.ts +8 -8
- package/lib/input-number/src/InputNumber.d.ts +3 -3
- package/lib/input-otp/src/InputOtp.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +2 -2
- package/lib/legacy-grid/src/Row.d.ts +1 -1
- package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
- package/lib/list/src/List.d.ts +6 -6
- package/lib/list/src/ListItem.d.ts +4 -4
- package/lib/locales/common/arDZ.js +11 -1
- package/lib/locales/common/deDE.js +11 -1
- package/lib/locales/common/enGB.js +11 -1
- package/lib/locales/common/enUS.d.ts +10 -0
- package/lib/locales/common/enUS.js +11 -1
- package/lib/locales/common/eo.js +11 -1
- package/lib/locales/common/esAR.js +11 -1
- package/lib/locales/common/faIR.js +11 -1
- package/lib/locales/common/frFR.js +11 -1
- package/lib/locales/common/idID.js +11 -1
- package/lib/locales/common/itIT.js +11 -1
- package/lib/locales/common/jaJP.js +11 -1
- package/lib/locales/common/koKR.js +11 -1
- package/lib/locales/common/nbNO.js +11 -1
- package/lib/locales/common/nlNL.js +11 -1
- package/lib/locales/common/plPL.js +11 -1
- package/lib/locales/common/ptBR.js +11 -1
- package/lib/locales/common/ruRU.js +11 -1
- package/lib/locales/common/skSK.js +11 -1
- package/lib/locales/common/svSE.js +11 -1
- package/lib/locales/common/thTH.js +11 -1
- package/lib/locales/common/trTR.js +11 -1
- package/lib/locales/common/ukUA.js +11 -1
- package/lib/locales/common/viVN.js +11 -1
- package/lib/locales/common/zhCN.js +11 -1
- package/lib/locales/common/zhTW.js +11 -1
- package/lib/log/src/Log.d.ts +2 -2
- package/lib/mention/src/Mention.d.ts +3 -3
- package/lib/menu/src/Menu.d.ts +5 -5
- package/lib/menu/src/MenuOption.d.ts +1 -1
- package/lib/menu/src/MenuOptionContent.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
- package/lib/menu/src/Submenu.d.ts +1 -1
- package/lib/message/src/MessageProvider.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +3 -3
- package/lib/modal/src/Modal.d.ts +6 -6
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal-fullscreen/src/ModalFull.d.ts +2 -2
- package/lib/notification/src/Notification.d.ts +2 -2
- package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
- package/lib/notification/src/NotificationProvider.d.ts +9 -9
- package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
- package/lib/pagination/src/Pagination.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +8 -8
- package/lib/popover/src/Popover.d.ts +8 -8
- package/lib/popover/src/PopoverBody.d.ts +2 -2
- package/lib/popselect/src/Popselect.d.ts +81 -81
- package/lib/popselect/src/PopselectPanel.d.ts +4 -4
- package/lib/progress/src/Circle.d.ts +1 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +4 -4
- package/lib/qr-code/index.d.ts +2 -0
- package/lib/qr-code/index.js +9 -0
- package/lib/qr-code/src/QrCode.d.ts +171 -0
- package/lib/qr-code/src/QrCode.js +235 -0
- package/lib/qr-code/src/qrcodegen.d.ts +95 -0
- package/lib/qr-code/src/qrcodegen.js +950 -0
- package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
- package/lib/qr-code/src/styles/index.cssr.js +13 -0
- package/lib/qr-code/styles/dark.d.ts +3 -0
- package/lib/qr-code/styles/dark.js +13 -0
- package/lib/qr-code/styles/index.d.ts +3 -0
- package/lib/qr-code/styles/index.js +10 -0
- package/lib/qr-code/styles/light.d.ts +9 -0
- package/lib/qr-code/styles/light.js +14 -0
- package/lib/radio/src/Radio.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +3 -3
- package/lib/result/src/Result.d.ts +1 -1
- package/lib/select/src/Select.d.ts +19 -19
- package/lib/skeleton/src/Skeleton.d.ts +1 -1
- package/lib/slider/src/Slider.d.ts +4 -4
- package/lib/space/src/Space.d.ts +1 -1
- package/lib/spin/src/Spin.d.ts +2 -2
- package/lib/steps/src/Steps.d.ts +1 -1
- package/lib/switch/src/Switch.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +4 -4
- package/lib/tag/src/Tag.d.ts +2 -2
- package/lib/tag/src/TagGroup.d.ts +1 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/lib/themes/dark.js +7 -1
- package/lib/themes/light.js +7 -1
- package/lib/time/src/Time.d.ts +1 -1
- package/lib/time-picker/src/Panel.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +5 -5
- package/lib/timeline/src/TimelineItem.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +8 -8
- package/lib/transfer/src/Transfer.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +18 -18
- package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +15 -15
- package/lib/typography/index.d.ts +1 -0
- package/lib/typography/src/create-header.d.ts +1 -1
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/typography/src/text.d.ts +44 -5
- package/lib/upload/src/Upload.d.ts +11 -11
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +2 -2
- package/lib/watermark/src/Watermark.d.ts +7 -7
- package/package.json +1 -1
- package/volar.d.ts +166 -153
- package/web-types.json +912 -3
|
@@ -41,9 +41,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
absolute: BooleanConstructor;
|
|
42
42
|
}>>, {
|
|
43
43
|
disabled: boolean;
|
|
44
|
-
round: boolean;
|
|
45
44
|
absolute: boolean;
|
|
46
|
-
|
|
45
|
+
round: boolean;
|
|
47
46
|
focusable: boolean;
|
|
47
|
+
isButtonTag: boolean;
|
|
48
48
|
}, {}>;
|
|
49
49
|
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { replaceable } from './replaceable';
|
|
3
|
+
export default replaceable('burgerMenu', h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
4
|
+
h("path", { d: "M3 12H15M3 6H21M3 18H21", stroke: "#101010", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { replaceable } from './replaceable';
|
|
3
|
+
export default replaceable('logout', h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none" },
|
|
4
|
+
h("path", { d: "M16 17L21 12M21 12L16 7M21 12H9M9 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21H9", stroke: "#101010", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { replaceable } from './replaceable';
|
|
3
|
+
export default replaceable('ozbekFlag', h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
+
h("g", { "clip-path": "url(#clip0_1120_2014)" },
|
|
5
|
+
h("rect", { width: "24", height: "24", rx: "12", fill: "#FBFBFB" }),
|
|
6
|
+
h("path", { d: "M23.3798 15.818C23.7821 14.6186 24 13.3347 24 11.9998C24 10.665 23.7821 9.38103 23.3798 8.18164L0.620206 8.18164C0.21795 9.38103 0 10.665 0 11.9998C0 13.3347 0.21795 14.6186 0.620206 15.818H23.3798Z", fill: "#FBFBFB" }),
|
|
7
|
+
h("path", { d: "M23.3797 8.18182H0.620117C2.21503 3.42632 6.70734 0 11.9999 0C17.2925 0 21.7848 3.42632 23.3797 8.18182Z", fill: "#0099B5" }),
|
|
8
|
+
h("path", { d: "M9.18066 2.39209C9.33998 2.39209 9.49554 2.40845 9.64551 2.43994C9.81623 2.47583 9.82506 2.70343 9.68262 2.8042C9.10672 3.21169 8.73047 3.88294 8.73047 4.64209C8.73047 5.40124 9.10672 6.07249 9.68262 6.47998C9.82506 6.58075 9.81623 6.80835 9.64551 6.84424C9.49554 6.87573 9.33998 6.89209 9.18066 6.89209C7.938 6.89209 6.93066 5.88473 6.93066 4.64209C6.93066 3.39945 7.938 2.39209 9.18066 2.39209ZM11.5498 5.38525C11.5797 5.29312 11.7103 5.29312 11.7402 5.38525L11.8691 5.77979H12.2842C12.3807 5.78008 12.4209 5.90353 12.3428 5.96045L12.0068 6.20459L12.1348 6.59912C12.1647 6.69113 12.0598 6.76795 11.9814 6.71143L11.6455 6.46729L11.3096 6.71143C11.2312 6.76835 11.1253 6.69125 11.1553 6.59912L11.2842 6.20459L10.9482 5.96045C10.8699 5.90351 10.91 5.77979 11.0068 5.77979H11.4219L11.5498 5.38525ZM13.8926 5.38525C13.9225 5.29312 14.0531 5.29312 14.083 5.38525L14.2109 5.77979H14.627C14.7235 5.78012 14.7636 5.90353 14.6855 5.96045L14.3496 6.20459L14.4775 6.59912C14.5074 6.69112 14.4026 6.7679 14.3242 6.71143L13.9883 6.46729L13.6523 6.71143C13.574 6.76837 13.4681 6.69125 13.498 6.59912L13.627 6.20459L13.291 5.96045C13.2126 5.90351 13.2527 5.77979 13.3496 5.77979H13.7646L13.8926 5.38525ZM16.2354 5.38525C16.2653 5.29312 16.3958 5.29312 16.4258 5.38525L16.5537 5.77979H16.9697C17.0662 5.78016 17.1063 5.90353 17.0283 5.96045L16.6924 6.20459L16.8203 6.59912C16.8502 6.69111 16.7453 6.76786 16.667 6.71143L16.3311 6.46729L15.9951 6.71143C15.9167 6.76837 15.8109 6.69125 15.8408 6.59912L15.9697 6.20459L15.6338 5.96045C15.5554 5.90351 15.5955 5.77979 15.6924 5.77979H16.1074L16.2354 5.38525ZM13.8926 2.68506C13.9225 2.59293 14.0531 2.59293 14.083 2.68506L14.2109 3.07959H14.627C14.7234 3.07993 14.7635 3.2033 14.6855 3.26025L14.3496 3.50439L14.4775 3.89893C14.5074 3.99096 14.4026 4.06783 14.3242 4.01123L13.9883 3.76709L13.6523 4.01123C13.574 4.06817 13.4681 3.99106 13.498 3.89893L13.627 3.50439L13.291 3.26025C13.2126 3.20331 13.2527 3.07959 13.3496 3.07959H13.7646L13.8926 2.68506ZM16.2354 2.68506C16.2653 2.59293 16.3958 2.59293 16.4258 2.68506L16.5537 3.07959H16.9697C17.0662 3.07997 17.1062 3.2033 17.0283 3.26025L16.6924 3.50439L16.8203 3.89893C16.8502 3.99095 16.7453 4.06779 16.667 4.01123L16.3311 3.76709L15.9951 4.01123C15.9167 4.06817 15.8109 3.99106 15.8408 3.89893L15.9697 3.50439L15.6338 3.26025C15.5554 3.20331 15.5955 3.07959 15.6924 3.07959H16.1074L16.2354 2.68506Z", fill: "#FBFBFB" }),
|
|
9
|
+
h("path", { d: "M23.3797 15.8184C21.7848 20.5739 17.2925 24.0002 11.9999 24.0002C6.70734 24.0002 2.21503 20.5739 0.620117 15.8184L23.3797 15.8184Z", fill: "#00C853" }),
|
|
10
|
+
h("path", { d: "M23.3797 8.18164C23.4401 8.36159 23.4963 8.54345 23.5482 8.7271H0.45166C0.503602 8.54345 0.559806 8.36159 0.620159 8.18164L23.3797 8.18164Z", fill: "#F44336" }),
|
|
11
|
+
h("path", { d: "M23.3797 15.818C23.4401 15.6381 23.4963 15.4562 23.5482 15.2726H0.45166C0.503602 15.4562 0.559806 15.6381 0.620159 15.818H23.3797Z", fill: "#F44336" })),
|
|
12
|
+
h("rect", { x: "0.5", y: "0.5", width: "23", height: "23", rx: "11.5", stroke: "black", "stroke-opacity": "0.08" }),
|
|
13
|
+
h("defs", null,
|
|
14
|
+
h("clipPath", { id: "clip0_1120_2014" },
|
|
15
|
+
h("rect", { width: "24", height: "24", rx: "12", fill: "white" })))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { replaceable } from './replaceable';
|
|
3
|
+
export default replaceable('russiaFlag', h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
4
|
+
h("g", { "clip-path": "url(#clip0_1120_1297)" },
|
|
5
|
+
h("path", { d: "M12.0001 0C6.85271 0 2.47511 3.2472 0.770508 7.8H23.2291C21.5251 3.2472 17.1475 0 12.0001 0Z", fill: "#FBFBFB" }),
|
|
6
|
+
h("path", { d: "M24 12C24 10.5198 23.7192 9.10925 23.2296 7.80005H0.7704C0.2808 9.10925 0 10.5198 0 12C0 13.4802 0.2808 14.8908 0.7704 16.2H23.229C23.7192 14.8908 24 13.4802 24 12Z", fill: "#3F51B5" }),
|
|
7
|
+
h("path", { d: "M23.2297 16.2002H0.770508C2.47511 20.753 6.85271 24.0002 12.0001 24.0002C17.1475 24.0002 21.5251 20.753 23.2297 16.2002Z", fill: "#D90026" })),
|
|
8
|
+
h("rect", { x: "0.5", y: "0.5", width: "23", height: "23", rx: "11.5", stroke: "black", "stroke-opacity": "0.08" }),
|
|
9
|
+
h("defs", null,
|
|
10
|
+
h("clipPath", { id: "clip0_1120_1297" },
|
|
11
|
+
h("rect", { width: "24", height: "24", rx: "12", fill: "white" })))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h, defineComponent } from 'vue';
|
|
2
|
+
export default defineComponent({
|
|
3
|
+
name: 'SendFilled',
|
|
4
|
+
render() {
|
|
5
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" },
|
|
6
|
+
h("g", { fill: "none" },
|
|
7
|
+
h("path", { d: "M12.815 12.197l-7.532 1.255a.5.5 0 0 0-.386.318L2.3 20.728c-.248.64.421 1.25 1.035.942l18-9a.75.75 0 0 0 0-1.341l-18-9c-.614-.307-1.283.303-1.035.942l2.598 6.958a.5.5 0 0 0 .386.318l7.532 1.255a.2.2 0 0 1 0 .395z", fill: "currentColor" }))));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
@@ -56,3 +56,8 @@ export { default as CheckmarkDoneSharp } from './CheckmarkDoneSharp';
|
|
|
56
56
|
export { default as PersonOutline } from './PersonOutline';
|
|
57
57
|
export { default as ArrowHookUpRight } from './ArrowHookUpRight';
|
|
58
58
|
export { default as PersonNote } from './PersonNote';
|
|
59
|
+
export { default as SendFilled } from './SendFilled';
|
|
60
|
+
export { default as RussiaFlag } from './RussiaFlag';
|
|
61
|
+
export { default as OzbekFlag } from './OzbekFlag';
|
|
62
|
+
export { default as LogoutIcon } from './Logout';
|
|
63
|
+
export { default as BurgerMenuIcon } from './BurgerMenuIcon';
|
|
@@ -56,3 +56,8 @@ export { default as CheckmarkDoneSharp } from './CheckmarkDoneSharp';
|
|
|
56
56
|
export { default as PersonOutline } from './PersonOutline';
|
|
57
57
|
export { default as ArrowHookUpRight } from './ArrowHookUpRight';
|
|
58
58
|
export { default as PersonNote } from './PersonNote';
|
|
59
|
+
export { default as SendFilled } from './SendFilled';
|
|
60
|
+
export { default as RussiaFlag } from './RussiaFlag';
|
|
61
|
+
export { default as OzbekFlag } from './OzbekFlag';
|
|
62
|
+
export { default as LogoutIcon } from './Logout';
|
|
63
|
+
export { default as BurgerMenuIcon } from './BurgerMenuIcon';
|
|
@@ -338,10 +338,10 @@ declare const SafeTopScrollbar: import("vue").DefineComponent<{
|
|
|
338
338
|
railColor: string;
|
|
339
339
|
}, any>>>;
|
|
340
340
|
}>>, {
|
|
341
|
+
readonly trigger: "none" | "hover";
|
|
342
|
+
readonly xScrollable: boolean;
|
|
341
343
|
readonly duration: number;
|
|
342
344
|
readonly scrollable: boolean;
|
|
343
|
-
readonly xScrollable: boolean;
|
|
344
|
-
readonly trigger: "none" | "hover";
|
|
345
345
|
readonly useUnifiedContainer: boolean;
|
|
346
346
|
readonly triggerDisplayManually: boolean;
|
|
347
347
|
readonly internalHoistYRail: boolean;
|
|
@@ -326,10 +326,10 @@ declare const Scrollbar: import("vue").DefineComponent<{
|
|
|
326
326
|
railColor: string;
|
|
327
327
|
}, any>>>;
|
|
328
328
|
}>>, {
|
|
329
|
+
readonly trigger: "none" | "hover";
|
|
330
|
+
readonly xScrollable: boolean;
|
|
329
331
|
readonly duration: number;
|
|
330
332
|
readonly scrollable: boolean;
|
|
331
|
-
readonly xScrollable: boolean;
|
|
332
|
-
readonly trigger: "none" | "hover";
|
|
333
333
|
readonly useUnifiedContainer: boolean;
|
|
334
334
|
readonly triggerDisplayManually: boolean;
|
|
335
335
|
readonly internalHoistYRail: boolean;
|
|
@@ -672,17 +672,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
672
672
|
value: Value | null;
|
|
673
673
|
loading: boolean;
|
|
674
674
|
inlineThemeDisabled: boolean;
|
|
675
|
+
resetMenuOnOptionsChange: boolean;
|
|
675
676
|
size: Size;
|
|
676
|
-
focusable: boolean;
|
|
677
677
|
show: boolean;
|
|
678
|
-
|
|
678
|
+
focusable: boolean;
|
|
679
679
|
multiple: boolean;
|
|
680
|
-
account: boolean;
|
|
681
|
-
showCheckmark: boolean;
|
|
682
|
-
labelField: string;
|
|
683
|
-
autoPending: boolean;
|
|
684
680
|
virtualScroll: boolean;
|
|
685
681
|
valueField: string;
|
|
686
|
-
|
|
682
|
+
labelField: string;
|
|
683
|
+
showCheckmark: boolean;
|
|
684
|
+
account: boolean;
|
|
685
|
+
scrollable: boolean;
|
|
686
|
+
autoPending: boolean;
|
|
687
687
|
}, {}>;
|
|
688
688
|
export default _default;
|
|
@@ -1177,25 +1177,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1177
1177
|
loading: boolean;
|
|
1178
1178
|
bordered: boolean | undefined;
|
|
1179
1179
|
inlineThemeDisabled: boolean;
|
|
1180
|
+
clearable: boolean;
|
|
1180
1181
|
size: SelectSize;
|
|
1181
|
-
active: boolean;
|
|
1182
1182
|
round: boolean;
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1183
|
+
loadingSkeleton: boolean;
|
|
1184
|
+
secondary: boolean;
|
|
1185
|
+
showArrow: boolean;
|
|
1186
1186
|
multiple: boolean;
|
|
1187
|
-
|
|
1188
|
-
labelField: string;
|
|
1187
|
+
filterable: boolean;
|
|
1189
1188
|
valueField: string;
|
|
1190
|
-
|
|
1191
|
-
|
|
1189
|
+
labelField: string;
|
|
1190
|
+
filled: boolean;
|
|
1191
|
+
ignoreComposition: boolean;
|
|
1192
|
+
counter: boolean;
|
|
1193
|
+
account: boolean;
|
|
1194
|
+
autofocus: boolean;
|
|
1195
|
+
pattern: string;
|
|
1196
|
+
active: boolean;
|
|
1192
1197
|
selectedOption: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => VNodeChild)> | null;
|
|
1193
1198
|
selectedOptions: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => VNodeChild)>[] | null;
|
|
1194
|
-
filterable: boolean;
|
|
1195
|
-
clearable: boolean;
|
|
1196
|
-
loadingSkeleton: boolean;
|
|
1197
1199
|
focused: boolean;
|
|
1198
|
-
ignoreComposition: boolean;
|
|
1199
|
-
counter: boolean;
|
|
1200
1200
|
}, {}>;
|
|
1201
1201
|
export default _default;
|
|
@@ -146,8 +146,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
146
146
|
}, any>>>;
|
|
147
147
|
}>>, {
|
|
148
148
|
readonly repeat: number;
|
|
149
|
-
readonly round: boolean;
|
|
150
149
|
readonly circle: boolean;
|
|
150
|
+
readonly round: boolean;
|
|
151
151
|
readonly text: boolean;
|
|
152
152
|
readonly animated: boolean;
|
|
153
153
|
readonly sharp: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, ExtractPublicPropTypes } from 'vue';
|
|
2
|
-
import { TypographyVariant } from './variants';
|
|
2
|
+
import { TypographyVariant, TypographyVariantOptions, TypographyVariantWeightsOptions } from './variants';
|
|
3
3
|
export declare const internalTextProps: {
|
|
4
4
|
readonly variant: {
|
|
5
5
|
readonly type: PropType<TypographyVariant>;
|
|
@@ -17,6 +17,18 @@ export declare const internalTextProps: {
|
|
|
17
17
|
readonly type: PropType<"default" | "success" | "info" | "warning" | "error">;
|
|
18
18
|
readonly default: "default";
|
|
19
19
|
};
|
|
20
|
+
readonly color: {
|
|
21
|
+
readonly type: PropType<string>;
|
|
22
|
+
readonly default: undefined;
|
|
23
|
+
};
|
|
24
|
+
readonly variantOptions: {
|
|
25
|
+
readonly type: PropType<TypographyVariantOptions>;
|
|
26
|
+
readonly default: () => {};
|
|
27
|
+
};
|
|
28
|
+
readonly variantWeightsOptions: {
|
|
29
|
+
readonly type: PropType<TypographyVariantWeightsOptions>;
|
|
30
|
+
readonly default: () => {};
|
|
31
|
+
};
|
|
20
32
|
readonly strong: BooleanConstructor;
|
|
21
33
|
readonly italic: BooleanConstructor;
|
|
22
34
|
readonly underline: BooleanConstructor;
|
|
@@ -94,6 +106,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
106
|
readonly type: PropType<"default" | "success" | "info" | "warning" | "error">;
|
|
95
107
|
readonly default: "default";
|
|
96
108
|
};
|
|
109
|
+
readonly color: {
|
|
110
|
+
readonly type: PropType<string>;
|
|
111
|
+
readonly default: undefined;
|
|
112
|
+
};
|
|
113
|
+
readonly variantOptions: {
|
|
114
|
+
readonly type: PropType<TypographyVariantOptions>;
|
|
115
|
+
readonly default: () => {};
|
|
116
|
+
};
|
|
117
|
+
readonly variantWeightsOptions: {
|
|
118
|
+
readonly type: PropType<TypographyVariantWeightsOptions>;
|
|
119
|
+
readonly default: () => {};
|
|
120
|
+
};
|
|
97
121
|
readonly strong: BooleanConstructor;
|
|
98
122
|
readonly italic: BooleanConstructor;
|
|
99
123
|
readonly underline: BooleanConstructor;
|
|
@@ -175,6 +199,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
175
199
|
readonly type: PropType<"default" | "success" | "info" | "warning" | "error">;
|
|
176
200
|
readonly default: "default";
|
|
177
201
|
};
|
|
202
|
+
readonly color: {
|
|
203
|
+
readonly type: PropType<string>;
|
|
204
|
+
readonly default: undefined;
|
|
205
|
+
};
|
|
206
|
+
readonly variantOptions: {
|
|
207
|
+
readonly type: PropType<TypographyVariantOptions>;
|
|
208
|
+
readonly default: () => {};
|
|
209
|
+
};
|
|
210
|
+
readonly variantWeightsOptions: {
|
|
211
|
+
readonly type: PropType<TypographyVariantWeightsOptions>;
|
|
212
|
+
readonly default: () => {};
|
|
213
|
+
};
|
|
178
214
|
readonly strong: BooleanConstructor;
|
|
179
215
|
readonly italic: BooleanConstructor;
|
|
180
216
|
readonly underline: BooleanConstructor;
|
|
@@ -234,13 +270,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
270
|
codeBorder: string;
|
|
235
271
|
}, any>>>;
|
|
236
272
|
}>>, {
|
|
237
|
-
readonly type: "default" | "info" | "
|
|
273
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
238
274
|
readonly tag: keyof HTMLElementTagNameMap;
|
|
275
|
+
readonly color: string;
|
|
239
276
|
readonly strong: boolean;
|
|
240
277
|
readonly text: string;
|
|
278
|
+
readonly variant: TypographyVariant;
|
|
241
279
|
readonly italic: boolean;
|
|
242
280
|
readonly underline: boolean;
|
|
243
281
|
readonly strikethrough: boolean;
|
|
244
|
-
readonly
|
|
282
|
+
readonly variantOptions: TypographyVariantOptions;
|
|
283
|
+
readonly variantWeightsOptions: TypographyVariantWeightsOptions;
|
|
245
284
|
}, {}>;
|
|
246
285
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, defineComponent, computed } from 'vue';
|
|
2
|
-
import
|
|
2
|
+
import typographyLight from '../styles/light';
|
|
3
3
|
import style from './styles/text.cssr';
|
|
4
4
|
import { getVariantCssVars, getVariantTag } from './variants';
|
|
5
5
|
import { useTheme, useConfig, useThemeClass } from '../../../_mixins';
|
|
@@ -16,6 +16,15 @@ export const internalTextProps = Object.assign(Object.assign({}, useTheme.props)
|
|
|
16
16
|
}, type: {
|
|
17
17
|
type: String,
|
|
18
18
|
default: 'default'
|
|
19
|
+
}, color: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: undefined
|
|
22
|
+
}, variantOptions: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default: () => ({})
|
|
25
|
+
}, variantWeightsOptions: {
|
|
26
|
+
type: Object,
|
|
27
|
+
default: () => ({})
|
|
19
28
|
}, strong: Boolean, italic: Boolean, underline: Boolean, strikethrough: Boolean });
|
|
20
29
|
export default defineComponent({
|
|
21
30
|
name: 'InternalUText',
|
|
@@ -24,6 +33,7 @@ export default defineComponent({
|
|
|
24
33
|
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
25
34
|
const themeRef = useTheme('Typography', '-text', style, typographyLight, props, mergedClsPrefixRef);
|
|
26
35
|
const cssVarsRef = computed(() => {
|
|
36
|
+
var _a;
|
|
27
37
|
const { variant } = props;
|
|
28
38
|
const textColorKey = props.type === 'default'
|
|
29
39
|
? 'textColor'
|
|
@@ -32,7 +42,7 @@ export default defineComponent({
|
|
|
32
42
|
const baseVars = {
|
|
33
43
|
'--u-bezier': cubicBezierEaseInOut,
|
|
34
44
|
'--u-a-text-color': aTextColor,
|
|
35
|
-
'--u-text-color': textColor,
|
|
45
|
+
'--u-text-color': (_a = props.color) !== null && _a !== void 0 ? _a : textColor,
|
|
36
46
|
'--u-font-weight-strong': fontWeightStrong,
|
|
37
47
|
'--u-font-famliy-mono': fontFamilyMono,
|
|
38
48
|
'--u-code-border-radius': codeBorderRadius,
|
|
@@ -44,12 +54,15 @@ export default defineComponent({
|
|
|
44
54
|
'--u-margin': margin,
|
|
45
55
|
'--u-prefix-color': blockquotePrefixColor
|
|
46
56
|
};
|
|
47
|
-
return getVariantCssVars(variant, baseVars, fontFamilyWixMadeforDisplay);
|
|
57
|
+
return getVariantCssVars(variant, baseVars, fontFamilyWixMadeforDisplay, props.variantOptions, props.variantWeightsOptions);
|
|
48
58
|
});
|
|
49
59
|
const themeClassHandle = inlineThemeDisabled
|
|
50
60
|
? useThemeClass('text', computed(() => `${(props === null || props === void 0 ? void 0 : props.variant) || ''}${(props === null || props === void 0 ? void 0 : props.tag) || ''}`), cssVarsRef, props)
|
|
51
61
|
: undefined;
|
|
52
|
-
const tagToRender = props.tag ||
|
|
62
|
+
const tagToRender = props.tag ||
|
|
63
|
+
(props.variant &&
|
|
64
|
+
getVariantTag(props.variant, props.variantOptions, props.variantWeightsOptions)) ||
|
|
65
|
+
'span';
|
|
53
66
|
return {
|
|
54
67
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
55
68
|
tagToRender,
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface TypographyVariantBase {
|
|
2
|
+
fontSize: string;
|
|
3
|
+
lineHeight: string;
|
|
4
|
+
letterSpacing: string;
|
|
5
|
+
tag: keyof HTMLElementTagNameMap;
|
|
6
|
+
}
|
|
7
|
+
export type TypographyVariantOptions = Record<PropertyKey, Record<PropertyKey, TypographyVariantBase>>;
|
|
8
|
+
export type TypographyVariantWeightsOptions = Record<PropertyKey, readonly string[]>;
|
|
2
9
|
export interface TypographyVariantConfig {
|
|
3
10
|
fontFamily: string;
|
|
4
11
|
fontSize: string;
|
|
@@ -8,6 +15,100 @@ export interface TypographyVariantConfig {
|
|
|
8
15
|
letterSpacing: string;
|
|
9
16
|
tag: keyof HTMLElementTagNameMap;
|
|
10
17
|
}
|
|
11
|
-
export declare
|
|
12
|
-
|
|
13
|
-
|
|
18
|
+
export declare const defaultVariantOptions: {
|
|
19
|
+
readonly display: {
|
|
20
|
+
readonly l: {
|
|
21
|
+
readonly fontSize: "42px";
|
|
22
|
+
readonly lineHeight: "48px";
|
|
23
|
+
readonly letterSpacing: "-0.014em";
|
|
24
|
+
readonly tag: "h1";
|
|
25
|
+
};
|
|
26
|
+
readonly s: {
|
|
27
|
+
readonly fontSize: "36px";
|
|
28
|
+
readonly lineHeight: "44px";
|
|
29
|
+
readonly letterSpacing: "-0.013em";
|
|
30
|
+
readonly tag: "h1";
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly heading: {
|
|
34
|
+
readonly l: {
|
|
35
|
+
readonly fontSize: "32px";
|
|
36
|
+
readonly lineHeight: "40px";
|
|
37
|
+
readonly letterSpacing: "-0.01em";
|
|
38
|
+
readonly tag: "h2";
|
|
39
|
+
};
|
|
40
|
+
readonly m: {
|
|
41
|
+
readonly fontSize: "28px";
|
|
42
|
+
readonly lineHeight: "36px";
|
|
43
|
+
readonly letterSpacing: "-0.009em";
|
|
44
|
+
readonly tag: "h2";
|
|
45
|
+
};
|
|
46
|
+
readonly s: {
|
|
47
|
+
readonly fontSize: "24px";
|
|
48
|
+
readonly lineHeight: "30px";
|
|
49
|
+
readonly letterSpacing: "-0.01em";
|
|
50
|
+
readonly tag: "h2";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
readonly title: {
|
|
54
|
+
readonly l: {
|
|
55
|
+
readonly fontSize: "22px";
|
|
56
|
+
readonly lineHeight: "32px";
|
|
57
|
+
readonly letterSpacing: "-0.01em";
|
|
58
|
+
readonly tag: "h3";
|
|
59
|
+
};
|
|
60
|
+
readonly m: {
|
|
61
|
+
readonly fontSize: "20px";
|
|
62
|
+
readonly lineHeight: "30px";
|
|
63
|
+
readonly letterSpacing: "-0.009em";
|
|
64
|
+
readonly tag: "h3";
|
|
65
|
+
};
|
|
66
|
+
readonly s: {
|
|
67
|
+
readonly fontSize: "18px";
|
|
68
|
+
readonly lineHeight: "28px";
|
|
69
|
+
readonly letterSpacing: "0";
|
|
70
|
+
readonly tag: "h3";
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
readonly body: {
|
|
74
|
+
readonly l: {
|
|
75
|
+
readonly fontSize: "16px";
|
|
76
|
+
readonly lineHeight: "24px";
|
|
77
|
+
readonly letterSpacing: "0.004em";
|
|
78
|
+
readonly tag: "p";
|
|
79
|
+
};
|
|
80
|
+
readonly m: {
|
|
81
|
+
readonly fontSize: "14px";
|
|
82
|
+
readonly lineHeight: "21px";
|
|
83
|
+
readonly letterSpacing: "0.006em";
|
|
84
|
+
readonly tag: "p";
|
|
85
|
+
};
|
|
86
|
+
readonly s: {
|
|
87
|
+
readonly fontSize: "12px";
|
|
88
|
+
readonly lineHeight: "16px";
|
|
89
|
+
readonly letterSpacing: "0.008em";
|
|
90
|
+
readonly tag: "p";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
declare const variantWeights: {
|
|
95
|
+
readonly display: readonly ["", "medium", "semi-bold", "bold"];
|
|
96
|
+
readonly heading: readonly ["medium", "semi-bold", "bold"];
|
|
97
|
+
readonly title: readonly ["medium", "semi-bold", "bold"];
|
|
98
|
+
readonly body: readonly ["medium", "semi-bold", "bold"];
|
|
99
|
+
};
|
|
100
|
+
type VariantWeights = typeof variantWeights;
|
|
101
|
+
type WeightSuffix<W> = W extends string ? (W extends '' ? '' : `-${W}`) : '';
|
|
102
|
+
export type TypographyVariantFromOptions<Options extends TypographyVariantOptions> = {
|
|
103
|
+
[Category in keyof Options & keyof VariantWeights]: {
|
|
104
|
+
[Size in keyof Options[Category]]: `${string & Category}-${string & Size}${WeightSuffix<VariantWeights[Category][number]>}`;
|
|
105
|
+
}[keyof Options[Category]];
|
|
106
|
+
}[keyof Options & keyof VariantWeights];
|
|
107
|
+
export type TypographyDefaultVariant = TypographyVariantFromOptions<typeof defaultVariantOptions>;
|
|
108
|
+
export type TypographyVariant = TypographyDefaultVariant | (string & {});
|
|
109
|
+
export declare function mergeVariantOptions(variantOptions?: TypographyVariantOptions): TypographyVariantOptions;
|
|
110
|
+
export declare function mergeVariantWeights(variantWeightsOptions?: Partial<Record<PropertyKey, readonly string[]>>): Record<PropertyKey, readonly string[]>;
|
|
111
|
+
export declare function getVariantCssVars(variant: TypographyVariant | undefined, baseVars: Record<string, string>, fontFamilyVariant: string, variantOptions?: TypographyVariantOptions, variantWeightsOptions?: Partial<Record<PropertyKey, readonly string[]>>): Record<string, string>;
|
|
112
|
+
export declare function getVariantTag(variant: TypographyVariant, variantOptions?: TypographyVariantOptions, variantWeightsOptions?: Partial<Record<PropertyKey, readonly string[]>>): keyof HTMLElementTagNameMap;
|
|
113
|
+
export declare const variantToCssVars: Record<string, TypographyVariantConfig>;
|
|
114
|
+
export {};
|