@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
|
@@ -338,7 +338,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
338
338
|
justify-content: flex-start;
|
|
339
339
|
margin-bottom: 8px;
|
|
340
340
|
`), (0, cssr_1.cE)('footer', `
|
|
341
|
-
border-top: 1px solid var(--u-border-color);
|
|
342
341
|
padding: 0px 20px;
|
|
343
342
|
flex-shrink: 0;
|
|
344
343
|
`), (0, cssr_1.cE)('input-container', `
|
|
@@ -346,6 +345,28 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
346
345
|
padding: 16px 0px;
|
|
347
346
|
`), (0, cssr_1.cE)('input', `
|
|
348
347
|
flex: 1;
|
|
348
|
+
`, [(0, cssr_1.c)('.u-input-wrapper', `
|
|
349
|
+
flex-wrap: wrap;
|
|
350
|
+
padding: 0 4px;
|
|
351
|
+
`, [(0, cssr_1.c)('.u-input__prefix', `
|
|
352
|
+
width: 100%;
|
|
353
|
+
margin: 0;
|
|
354
|
+
margin-top: 4px;
|
|
355
|
+
white-space: wrap;
|
|
356
|
+
`, [(0, cssr_1.c)('ul', `
|
|
357
|
+
border-top-left-radius: 12px;
|
|
358
|
+
border-top-right-radius: 12px;
|
|
359
|
+
`), (0, cssr_1.c)('li', `
|
|
360
|
+
padding: 12px;
|
|
361
|
+
`)]), (0, cssr_1.c)('.u-input__input-el', `
|
|
362
|
+
padding: 8px;
|
|
363
|
+
`), (0, cssr_1.c)('.u-input__placeholder', `
|
|
364
|
+
margin: 8px;
|
|
365
|
+
`)])]), (0, cssr_1.cE)('editing-block', `
|
|
366
|
+
width: 100%;
|
|
367
|
+
`), (0, cssr_1.cE)('input-suffix', `
|
|
368
|
+
color: var(--u-input-suffix-color) !important;
|
|
369
|
+
cursor: pointer;
|
|
349
370
|
margin-right: 4px;
|
|
350
371
|
`), (0, cssr_1.cE)('attach-btn', `
|
|
351
372
|
margin-left: 4px;
|
|
@@ -26,6 +26,7 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
26
26
|
footerBorderColor: string;
|
|
27
27
|
inputBackgroundColor: string;
|
|
28
28
|
inputBorderColor: string;
|
|
29
|
+
inputSuffixColor: string;
|
|
29
30
|
unreadNotificationBackgroundColor: string;
|
|
30
31
|
unreadNotificationTextColor: string;
|
|
31
32
|
typingIndicatorColor: string;
|
|
@@ -559,14 +560,6 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
559
560
|
iconSizeLarge: string;
|
|
560
561
|
rippleDuration: string;
|
|
561
562
|
}, any>;
|
|
562
|
-
Icon: import("../../_mixins").Theme<"Icon", {
|
|
563
|
-
color: string;
|
|
564
|
-
opacity1Depth: string;
|
|
565
|
-
opacity2Depth: string;
|
|
566
|
-
opacity3Depth: string;
|
|
567
|
-
opacity4Depth: string;
|
|
568
|
-
opacity5Depth: string;
|
|
569
|
-
}, any>;
|
|
570
563
|
List: import("../../_mixins").Theme<"List", {
|
|
571
564
|
iconSize: string;
|
|
572
565
|
iconSpace: string;
|
|
@@ -662,6 +655,46 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
662
655
|
codeColor: string;
|
|
663
656
|
codeBorder: string;
|
|
664
657
|
}, any>;
|
|
658
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
659
|
+
color: string;
|
|
660
|
+
opacity1Depth: string;
|
|
661
|
+
opacity2Depth: string;
|
|
662
|
+
opacity3Depth: string;
|
|
663
|
+
opacity4Depth: string;
|
|
664
|
+
opacity5Depth: string;
|
|
665
|
+
}, any>;
|
|
666
|
+
FooterAttachIcon: import("../../_mixins").Theme<"Icon", {
|
|
667
|
+
color: string;
|
|
668
|
+
opacity1Depth: string;
|
|
669
|
+
opacity2Depth: string;
|
|
670
|
+
opacity3Depth: string;
|
|
671
|
+
opacity4Depth: string;
|
|
672
|
+
opacity5Depth: string;
|
|
673
|
+
}, any>;
|
|
674
|
+
FooterSuffixIcon: import("../../_mixins").Theme<"Icon", {
|
|
675
|
+
color: string;
|
|
676
|
+
opacity1Depth: string;
|
|
677
|
+
opacity2Depth: string;
|
|
678
|
+
opacity3Depth: string;
|
|
679
|
+
opacity4Depth: string;
|
|
680
|
+
opacity5Depth: string;
|
|
681
|
+
}, any>;
|
|
682
|
+
HeaderShareIcon: import("../../_mixins").Theme<"Icon", {
|
|
683
|
+
color: string;
|
|
684
|
+
opacity1Depth: string;
|
|
685
|
+
opacity2Depth: string;
|
|
686
|
+
opacity3Depth: string;
|
|
687
|
+
opacity4Depth: string;
|
|
688
|
+
opacity5Depth: string;
|
|
689
|
+
}, any>;
|
|
690
|
+
HeaderProfileIcon: import("../../_mixins").Theme<"Icon", {
|
|
691
|
+
color: string;
|
|
692
|
+
opacity1Depth: string;
|
|
693
|
+
opacity2Depth: string;
|
|
694
|
+
opacity3Depth: string;
|
|
695
|
+
opacity4Depth: string;
|
|
696
|
+
opacity5Depth: string;
|
|
697
|
+
}, any>;
|
|
665
698
|
}>;
|
|
666
699
|
export default chatDark;
|
|
667
700
|
export type ChatTheme = typeof chatDark;
|
package/lib/chat/styles/dark.js
CHANGED
|
@@ -22,9 +22,13 @@ const chatDark = (0, _mixins_1.createTheme)({
|
|
|
22
22
|
Avatar: styles_4.avatarDark,
|
|
23
23
|
Badge: styles_5.badgeDark,
|
|
24
24
|
Button: styles_6.buttonDark,
|
|
25
|
-
Icon: styles_7.iconDark,
|
|
26
25
|
List: styles_8.listDark,
|
|
27
|
-
Typography: styles_9.typographyDark
|
|
26
|
+
Typography: styles_9.typographyDark,
|
|
27
|
+
StatusIcon: styles_7.iconDark,
|
|
28
|
+
FooterAttachIcon: styles_7.iconDark,
|
|
29
|
+
FooterSuffixIcon: styles_7.iconDark,
|
|
30
|
+
HeaderShareIcon: styles_7.iconDark,
|
|
31
|
+
HeaderProfileIcon: styles_7.iconDark
|
|
28
32
|
},
|
|
29
33
|
self: (vars) => {
|
|
30
34
|
const lightVars = (0, light_1.self)(vars);
|
|
@@ -27,6 +27,7 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
27
27
|
footerBorderColor: string;
|
|
28
28
|
inputBackgroundColor: string;
|
|
29
29
|
inputBorderColor: string;
|
|
30
|
+
inputSuffixColor: string;
|
|
30
31
|
unreadNotificationBackgroundColor: string;
|
|
31
32
|
unreadNotificationTextColor: string;
|
|
32
33
|
typingIndicatorColor: string;
|
|
@@ -63,6 +64,7 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
63
64
|
footerBorderColor: string;
|
|
64
65
|
inputBackgroundColor: string;
|
|
65
66
|
inputBorderColor: string;
|
|
67
|
+
inputSuffixColor: string;
|
|
66
68
|
unreadNotificationBackgroundColor: string;
|
|
67
69
|
unreadNotificationTextColor: string;
|
|
68
70
|
typingIndicatorColor: string;
|
|
@@ -596,14 +598,6 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
596
598
|
iconSizeLarge: string;
|
|
597
599
|
rippleDuration: string;
|
|
598
600
|
}, any>;
|
|
599
|
-
Icon: import("../../_mixins").Theme<"Icon", {
|
|
600
|
-
color: string;
|
|
601
|
-
opacity1Depth: string;
|
|
602
|
-
opacity2Depth: string;
|
|
603
|
-
opacity3Depth: string;
|
|
604
|
-
opacity4Depth: string;
|
|
605
|
-
opacity5Depth: string;
|
|
606
|
-
}, any>;
|
|
607
601
|
List: import("../../_mixins").Theme<"List", {
|
|
608
602
|
iconSize: string;
|
|
609
603
|
iconSpace: string;
|
|
@@ -699,6 +693,46 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
699
693
|
codeColor: string;
|
|
700
694
|
codeBorder: string;
|
|
701
695
|
}, any>;
|
|
696
|
+
StatusIcon: import("../../_mixins").Theme<"Icon", {
|
|
697
|
+
color: string;
|
|
698
|
+
opacity1Depth: string;
|
|
699
|
+
opacity2Depth: string;
|
|
700
|
+
opacity3Depth: string;
|
|
701
|
+
opacity4Depth: string;
|
|
702
|
+
opacity5Depth: string;
|
|
703
|
+
}, any>;
|
|
704
|
+
FooterAttachIcon: import("../../_mixins").Theme<"Icon", {
|
|
705
|
+
color: string;
|
|
706
|
+
opacity1Depth: string;
|
|
707
|
+
opacity2Depth: string;
|
|
708
|
+
opacity3Depth: string;
|
|
709
|
+
opacity4Depth: string;
|
|
710
|
+
opacity5Depth: string;
|
|
711
|
+
}, any>;
|
|
712
|
+
FooterSuffixIcon: import("../../_mixins").Theme<"Icon", {
|
|
713
|
+
color: string;
|
|
714
|
+
opacity1Depth: string;
|
|
715
|
+
opacity2Depth: string;
|
|
716
|
+
opacity3Depth: string;
|
|
717
|
+
opacity4Depth: string;
|
|
718
|
+
opacity5Depth: string;
|
|
719
|
+
}, any>;
|
|
720
|
+
HeaderShareIcon: import("../../_mixins").Theme<"Icon", {
|
|
721
|
+
color: string;
|
|
722
|
+
opacity1Depth: string;
|
|
723
|
+
opacity2Depth: string;
|
|
724
|
+
opacity3Depth: string;
|
|
725
|
+
opacity4Depth: string;
|
|
726
|
+
opacity5Depth: string;
|
|
727
|
+
}, any>;
|
|
728
|
+
HeaderProfileIcon: import("../../_mixins").Theme<"Icon", {
|
|
729
|
+
color: string;
|
|
730
|
+
opacity1Depth: string;
|
|
731
|
+
opacity2Depth: string;
|
|
732
|
+
opacity3Depth: string;
|
|
733
|
+
opacity4Depth: string;
|
|
734
|
+
opacity5Depth: string;
|
|
735
|
+
}, any>;
|
|
702
736
|
}>;
|
|
703
737
|
export default chatLight;
|
|
704
738
|
export type ChatThemeVars = ReturnType<typeof self>;
|
package/lib/chat/styles/light.js
CHANGED
|
@@ -54,6 +54,7 @@ const self = (vars) => {
|
|
|
54
54
|
footerBorderColor: elementsQuaternary,
|
|
55
55
|
inputBackgroundColor: surfacePrimary,
|
|
56
56
|
inputBorderColor: elementsQuaternary,
|
|
57
|
+
inputSuffixColor: brandPrimary400,
|
|
57
58
|
unreadNotificationBackgroundColor: brandPrimary400,
|
|
58
59
|
unreadNotificationTextColor: elementsSecondary,
|
|
59
60
|
typingIndicatorColor: textSecondary,
|
|
@@ -74,9 +75,13 @@ const chatLight = (0, _mixins_1.createTheme)({
|
|
|
74
75
|
Avatar: styles_4.avatarLight,
|
|
75
76
|
Badge: chatBadgeLight,
|
|
76
77
|
Button: styles_6.buttonLight,
|
|
77
|
-
Icon: styles_7.iconLight,
|
|
78
78
|
List: styles_8.listLight,
|
|
79
|
-
Typography: styles_9.typographyLight
|
|
79
|
+
Typography: styles_9.typographyLight,
|
|
80
|
+
StatusIcon: styles_7.iconLight,
|
|
81
|
+
FooterAttachIcon: styles_7.iconLight,
|
|
82
|
+
FooterSuffixIcon: styles_7.iconLight,
|
|
83
|
+
HeaderShareIcon: styles_7.iconLight,
|
|
84
|
+
HeaderProfileIcon: styles_7.iconLight
|
|
80
85
|
},
|
|
81
86
|
self: exports.self
|
|
82
87
|
});
|
|
@@ -711,14 +711,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
711
711
|
}, any>>>;
|
|
712
712
|
}>>, {
|
|
713
713
|
disabled: boolean | undefined;
|
|
714
|
-
checked: string | number | boolean | undefined;
|
|
715
|
-
focusable: boolean;
|
|
716
714
|
position: "left" | "right";
|
|
717
|
-
|
|
718
|
-
checkedValue: string | number | boolean;
|
|
719
|
-
uncheckedValue: string | number | boolean;
|
|
715
|
+
focusable: boolean;
|
|
720
716
|
indeterminate: boolean;
|
|
721
717
|
ripple: boolean;
|
|
722
718
|
privateInsideTable: boolean;
|
|
719
|
+
checked: string | number | boolean | undefined;
|
|
720
|
+
defaultChecked: string | number | boolean;
|
|
721
|
+
checkedValue: string | number | boolean;
|
|
722
|
+
uncheckedValue: string | number | boolean;
|
|
723
723
|
}, {}>;
|
|
724
724
|
export default _default;
|
package/lib/code/src/Code.d.ts
CHANGED
|
@@ -217,8 +217,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
217
217
|
inline: boolean;
|
|
218
218
|
trim: boolean;
|
|
219
219
|
code: string;
|
|
220
|
-
wordWrap: boolean;
|
|
221
220
|
uri: boolean;
|
|
221
|
+
wordWrap: boolean;
|
|
222
222
|
showLineNumbers: boolean;
|
|
223
223
|
internalNoHighlight: boolean;
|
|
224
224
|
}, {}>;
|
|
@@ -312,10 +312,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
312
312
|
boxSizing: string;
|
|
313
313
|
}, any>>>;
|
|
314
314
|
}>>, {
|
|
315
|
-
readonly displayDirective: "show" | "if";
|
|
316
315
|
readonly defaultExpandedNames: string | number | (string | number)[] | null;
|
|
317
316
|
readonly arrowPlacement: ArrowPlacement;
|
|
318
317
|
readonly accordion: boolean;
|
|
318
|
+
readonly displayDirective: "show" | "if";
|
|
319
319
|
readonly onExpandedNamesChange: MaybeArray<OnUpdateExpandedNames> | undefined;
|
|
320
320
|
}, {}>;
|
|
321
321
|
export default _default;
|
|
@@ -72,8 +72,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
bezier: string;
|
|
73
73
|
}, any>>>;
|
|
74
74
|
}>>, {
|
|
75
|
-
readonly appear: boolean;
|
|
76
75
|
readonly show: boolean;
|
|
76
|
+
readonly appear: boolean;
|
|
77
77
|
readonly collapsed: boolean | undefined;
|
|
78
78
|
}, {}>;
|
|
79
79
|
export default _default;
|
|
@@ -2905,12 +2905,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2905
2905
|
}>>, {
|
|
2906
2906
|
readonly disabled: boolean | undefined;
|
|
2907
2907
|
readonly to: string | boolean | HTMLElement;
|
|
2908
|
-
readonly show: boolean | undefined;
|
|
2909
2908
|
readonly placement: FollowerPlacement;
|
|
2909
|
+
readonly show: boolean | undefined;
|
|
2910
2910
|
readonly defaultShow: boolean;
|
|
2911
|
-
readonly actions: ActionType[];
|
|
2912
|
-
readonly showAlpha: boolean;
|
|
2913
2911
|
readonly modes: ColorPickerMode[];
|
|
2912
|
+
readonly showAlpha: boolean;
|
|
2914
2913
|
readonly showPreview: boolean;
|
|
2914
|
+
readonly actions: ActionType[];
|
|
2915
2915
|
}, {}>;
|
|
2916
2916
|
export default _default;
|
package/lib/components.d.ts
CHANGED
package/lib/components.js
CHANGED
|
@@ -115,3 +115,6 @@ __exportStar(require("./equation"), exports);
|
|
|
115
115
|
__exportStar(require("./toggle-button"), exports);
|
|
116
116
|
__exportStar(require("./flex"), exports);
|
|
117
117
|
__exportStar(require("./crop"), exports);
|
|
118
|
+
__exportStar(require("./header"), exports);
|
|
119
|
+
__exportStar(require("./icon-bar"), exports);
|
|
120
|
+
__exportStar(require("./qr-code"), exports);
|
|
@@ -2,7 +2,7 @@ import { type PropType, type ComputedRef, type ExtractPropTypes } from 'vue';
|
|
|
2
2
|
import { type Hljs } from '../../_mixins';
|
|
3
3
|
import type { UDateLocale, ULocale } from '../../locales';
|
|
4
4
|
import type { GlobalTheme, GlobalThemeOverrides, GlobalComponentConfig, GlobalIconConfig } from './interface';
|
|
5
|
-
import type { RtlProp, Breakpoints } from './internal-interface';
|
|
5
|
+
import type { RtlProp, Breakpoints, BreakpointProps, BreakpointThemeOverrides } from './internal-interface';
|
|
6
6
|
import type { Katex } from './katex';
|
|
7
7
|
export declare const configProviderProps: {
|
|
8
8
|
readonly abstract: BooleanConstructor;
|
|
@@ -29,6 +29,8 @@ export declare const configProviderProps: {
|
|
|
29
29
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
30
30
|
readonly icons: PropType<GlobalIconConfig>;
|
|
31
31
|
readonly breakpoints: PropType<Breakpoints>;
|
|
32
|
+
readonly breakpointProps: PropType<BreakpointProps>;
|
|
33
|
+
readonly breakpointThemeOverrides: PropType<BreakpointThemeOverrides>;
|
|
32
34
|
readonly preflightStyleDisabled: BooleanConstructor;
|
|
33
35
|
readonly inlineThemeDisabled: {
|
|
34
36
|
readonly type: BooleanConstructor;
|
|
@@ -66,6 +68,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
66
68
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
67
69
|
readonly icons: PropType<GlobalIconConfig>;
|
|
68
70
|
readonly breakpoints: PropType<Breakpoints>;
|
|
71
|
+
readonly breakpointProps: PropType<BreakpointProps>;
|
|
72
|
+
readonly breakpointThemeOverrides: PropType<BreakpointThemeOverrides>;
|
|
69
73
|
readonly preflightStyleDisabled: BooleanConstructor;
|
|
70
74
|
readonly inlineThemeDisabled: {
|
|
71
75
|
readonly type: BooleanConstructor;
|
|
@@ -107,6 +111,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
107
111
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
108
112
|
readonly icons: PropType<GlobalIconConfig>;
|
|
109
113
|
readonly breakpoints: PropType<Breakpoints>;
|
|
114
|
+
readonly breakpointProps: PropType<BreakpointProps>;
|
|
115
|
+
readonly breakpointThemeOverrides: PropType<BreakpointThemeOverrides>;
|
|
110
116
|
readonly preflightStyleDisabled: BooleanConstructor;
|
|
111
117
|
readonly inlineThemeDisabled: {
|
|
112
118
|
readonly type: BooleanConstructor;
|
|
@@ -30,6 +30,8 @@ exports.configProviderProps = {
|
|
|
30
30
|
componentOptions: Object,
|
|
31
31
|
icons: Object,
|
|
32
32
|
breakpoints: Object,
|
|
33
|
+
breakpointProps: Object,
|
|
34
|
+
breakpointThemeOverrides: Object,
|
|
33
35
|
preflightStyleDisabled: Boolean,
|
|
34
36
|
inlineThemeDisabled: {
|
|
35
37
|
type: Boolean,
|
|
@@ -62,26 +64,51 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
62
64
|
? theme
|
|
63
65
|
: Object.assign({}, inheritedTheme, theme);
|
|
64
66
|
});
|
|
67
|
+
const getActiveBreakpointValue = (breakpointMap) => {
|
|
68
|
+
if (!breakpointMap || !_utils_1.isBrowser) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
const currentWidth = windowWidthRef.value;
|
|
72
|
+
const breakpointWidths = Object.keys(breakpointMap)
|
|
73
|
+
.map(Number)
|
|
74
|
+
.filter((width) => width <= currentWidth)
|
|
75
|
+
.sort((a, b) => b - a);
|
|
76
|
+
if (breakpointWidths.length === 0) {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
const activeBreakpoint = breakpointWidths[0];
|
|
80
|
+
return breakpointMap[activeBreakpoint];
|
|
81
|
+
};
|
|
82
|
+
const activeBreakPointThemeOverridesRef = (0, vue_1.computed)(() => {
|
|
83
|
+
const { breakpointThemeOverrides } = props;
|
|
84
|
+
const breakpointThemeOverridesToUse = breakpointThemeOverrides !== null && breakpointThemeOverrides !== void 0 ? breakpointThemeOverrides : UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedBreakpointThemeOverridesRef.value;
|
|
85
|
+
return getActiveBreakpointValue(breakpointThemeOverridesToUse);
|
|
86
|
+
});
|
|
65
87
|
const mergedThemeOverridesRef = (0, vue_1.computed)(() => {
|
|
66
88
|
const { themeOverrides } = props;
|
|
67
|
-
// stop inheriting themeOverrides
|
|
68
89
|
if (themeOverrides === null)
|
|
69
90
|
return undefined;
|
|
70
|
-
|
|
91
|
+
let baseThemeOverrides;
|
|
71
92
|
if (themeOverrides === undefined) {
|
|
72
|
-
|
|
93
|
+
baseThemeOverrides = UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedThemeOverridesRef.value;
|
|
73
94
|
}
|
|
74
95
|
else {
|
|
75
96
|
const inheritedThemeOverrides = UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedThemeOverridesRef.value;
|
|
76
97
|
if (inheritedThemeOverrides === undefined) {
|
|
77
|
-
|
|
78
|
-
return themeOverrides;
|
|
98
|
+
baseThemeOverrides = themeOverrides;
|
|
79
99
|
}
|
|
80
100
|
else {
|
|
81
|
-
|
|
82
|
-
return (0, lodash_1.merge)({}, inheritedThemeOverrides, themeOverrides);
|
|
101
|
+
baseThemeOverrides = (0, lodash_1.merge)({}, inheritedThemeOverrides, themeOverrides);
|
|
83
102
|
}
|
|
84
103
|
}
|
|
104
|
+
const activeBreakPointThemeOverrides = activeBreakPointThemeOverridesRef.value;
|
|
105
|
+
if (!activeBreakPointThemeOverrides) {
|
|
106
|
+
return baseThemeOverrides;
|
|
107
|
+
}
|
|
108
|
+
if (!baseThemeOverrides) {
|
|
109
|
+
return activeBreakPointThemeOverrides;
|
|
110
|
+
}
|
|
111
|
+
return (0, lodash_1.merge)({}, baseThemeOverrides, activeBreakPointThemeOverrides);
|
|
85
112
|
});
|
|
86
113
|
const mergedNamespaceRef = (0, vooks_1.useMemo)(() => {
|
|
87
114
|
const { namespace } = props;
|
|
@@ -99,11 +126,41 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
99
126
|
const { icons } = props;
|
|
100
127
|
return icons === undefined ? UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedIconsRef.value : icons;
|
|
101
128
|
});
|
|
129
|
+
const windowWidthRef = (0, vue_1.ref)(_utils_1.isBrowser ? window.innerWidth : 1920);
|
|
130
|
+
const updateWindowWidth = () => {
|
|
131
|
+
if (_utils_1.isBrowser) {
|
|
132
|
+
windowWidthRef.value = window.innerWidth;
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
(0, vue_1.onMounted)(() => {
|
|
136
|
+
if (_utils_1.isBrowser) {
|
|
137
|
+
windowWidthRef.value = window.innerWidth;
|
|
138
|
+
window.addEventListener('resize', updateWindowWidth);
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
(0, vue_1.onBeforeUnmount)(() => {
|
|
142
|
+
if (_utils_1.isBrowser) {
|
|
143
|
+
window.removeEventListener('resize', updateWindowWidth);
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
const activeBreakPointPropsRef = (0, vue_1.computed)(() => {
|
|
147
|
+
const { breakpointProps } = props;
|
|
148
|
+
const breakpointPropsToUse = breakpointProps !== null && breakpointProps !== void 0 ? breakpointProps : UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedBreakpointPropsRef.value;
|
|
149
|
+
return getActiveBreakpointValue(breakpointPropsToUse);
|
|
150
|
+
});
|
|
102
151
|
const mergedComponentPropsRef = (0, vue_1.computed)(() => {
|
|
103
152
|
const { componentOptions } = props;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
153
|
+
const baseComponentOptions = componentOptions !== undefined
|
|
154
|
+
? componentOptions
|
|
155
|
+
: UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedComponentPropsRef.value;
|
|
156
|
+
const activeBreakPointProps = activeBreakPointPropsRef.value;
|
|
157
|
+
if (!activeBreakPointProps) {
|
|
158
|
+
return baseComponentOptions;
|
|
159
|
+
}
|
|
160
|
+
if (!baseComponentOptions) {
|
|
161
|
+
return activeBreakPointProps;
|
|
162
|
+
}
|
|
163
|
+
return (0, lodash_1.merge)({}, baseComponentOptions, activeBreakPointProps);
|
|
107
164
|
});
|
|
108
165
|
const mergedClsPrefixRef = (0, vue_1.computed)(() => {
|
|
109
166
|
const { clsPrefix } = props;
|
|
@@ -133,6 +190,18 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
133
190
|
const mergedBreakpointsRef = (0, vue_1.computed)(() => {
|
|
134
191
|
return props.breakpoints || (UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedBreakpointsRef.value);
|
|
135
192
|
});
|
|
193
|
+
const mergedBreakpointPropsRef = (0, vue_1.computed)(() => {
|
|
194
|
+
const { breakpointProps } = props;
|
|
195
|
+
return breakpointProps !== undefined
|
|
196
|
+
? breakpointProps
|
|
197
|
+
: UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedBreakpointPropsRef.value;
|
|
198
|
+
});
|
|
199
|
+
const mergedBreakpointThemeOverridesRef = (0, vue_1.computed)(() => {
|
|
200
|
+
const { breakpointThemeOverrides } = props;
|
|
201
|
+
return breakpointThemeOverrides !== undefined
|
|
202
|
+
? breakpointThemeOverrides
|
|
203
|
+
: UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.mergedBreakpointThemeOverridesRef.value;
|
|
204
|
+
});
|
|
136
205
|
const inlineThemeDisabled = props.inlineThemeDisabled || (UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.inlineThemeDisabled);
|
|
137
206
|
const preflightStyleDisabled = props.preflightStyleDisabled || (UConfigProvider === null || UConfigProvider === void 0 ? void 0 : UConfigProvider.preflightStyleDisabled);
|
|
138
207
|
const mergedThemeHashRef = (0, vue_1.computed)(() => {
|
|
@@ -159,6 +228,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
159
228
|
mergedRtlRef,
|
|
160
229
|
mergedIconsRef,
|
|
161
230
|
mergedComponentPropsRef,
|
|
231
|
+
mergedBreakpointPropsRef,
|
|
232
|
+
mergedBreakpointThemeOverridesRef,
|
|
162
233
|
mergedBorderedRef,
|
|
163
234
|
mergedNamespaceRef,
|
|
164
235
|
mergedClsPrefixRef,
|
|
@@ -13,4 +13,4 @@ export type GlobalThemeOverrides = {
|
|
|
13
13
|
} & {
|
|
14
14
|
[key in keyof GlobalThemeWithoutCommon]?: ExtractThemeOverrides<GlobalThemeWithoutCommon[key]>;
|
|
15
15
|
};
|
|
16
|
-
export type { GlobalIconConfig, GlobalComponentConfig } from './internal-interface';
|
|
16
|
+
export type { GlobalIconConfig, GlobalComponentConfig, BreakpointProps, BreakpointThemeOverrides } from './internal-interface';
|