naive-ui 2.28.3 → 2.29.0
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/es/_internal/clear/src/Clear.js +6 -3
- package/es/_internal/clear/src/styles/index.cssr.js +5 -2
- package/es/_internal/loading/src/styles/index.cssr.js +1 -1
- package/es/_internal/menu-mask/src/styles/index.cssr.js +1 -1
- package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -0
- package/es/_internal/select-menu/src/styles/index.cssr.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +5 -3
- package/es/_internal/selection/src/styles/index.cssr.js +2 -0
- package/es/_internal/slot-machine/src/styles/index.cssr.js +2 -2
- package/es/_internal/suffix/src/Suffix.js +1 -1
- package/es/_mixins/use-style.js +11 -7
- package/es/_mixins/use-theme.js +9 -7
- package/es/_styles/common/_common.d.ts +2 -0
- package/es/_styles/common/_common.js +2 -0
- package/es/_styles/common/light.d.ts +2 -0
- package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-down.cssr.js +1 -1
- package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-height-expand.cssr.js +1 -1
- package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-scale-up.cssr.js +1 -1
- package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in-width-expand.cssr.js +1 -1
- package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-in.cssr.js +1 -1
- package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/es/_styles/transitions/fade-up-width-expand.cssr.js +1 -1
- package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/es/_styles/transitions/icon-switch.cssr.js +1 -1
- package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-bottom.js +1 -1
- package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-left.js +1 -1
- package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-right.js +1 -1
- package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/es/_styles/transitions/slide-in-from-top.js +1 -1
- package/es/_utils/naive/prop.d.ts +10 -1
- package/es/_utils/naive/prop.js +3 -0
- package/es/alert/src/Alert.d.ts +2 -0
- package/es/alert/src/styles/index.cssr.js +2 -2
- package/es/auto-complete/src/AutoComplete.d.ts +2 -0
- package/es/auto-complete/src/styles/index.cssr.js +1 -1
- package/es/avatar-group/src/AvatarGroup.d.ts +2 -0
- package/es/back-top/src/styles/index.cssr.js +1 -1
- package/es/badge/src/styles/index.cssr.js +1 -1
- package/es/button/src/styles/index.cssr.js +2 -2
- package/es/calendar/src/Calendar.d.ts +2 -0
- package/es/calendar/src/Calendar.js +3 -3
- package/es/card/src/Card.d.ts +2 -0
- package/es/cascader/src/Cascader.d.ts +2 -0
- package/es/cascader/src/CascaderMenu.d.ts +2 -0
- package/es/cascader/src/CascaderOption.d.ts +2 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/cascader/src/styles/index.cssr.js +1 -1
- package/es/checkbox/src/Checkbox.d.ts +2 -0
- package/es/checkbox/src/styles/index.cssr.js +1 -1
- package/es/collapse/src/Collapse.d.ts +2 -0
- package/es/collapse/src/styles/index.cssr.js +1 -1
- package/es/collapse-transition/src/styles/index.cssr.js +1 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +2 -0
- package/es/color-picker/src/ColorPicker.d.ts +3 -0
- package/es/color-picker/src/ColorPicker.js +7 -1
- package/es/color-picker/src/interface.d.ts +2 -0
- package/es/color-picker/src/styles/index.cssr.js +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +4 -0
- package/es/config-provider/src/ConfigProvider.js +4 -1
- package/es/config-provider/src/internal-interface.d.ts +1 -0
- package/es/data-table/src/DataTable.d.ts +422 -140
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +44 -14
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +44 -14
- package/es/data-table/src/TableParts/Body.d.ts +44 -14
- package/es/data-table/src/TableParts/Cell.d.ts +88 -28
- package/es/data-table/src/TableParts/Header.d.ts +44 -14
- package/es/data-table/src/styles/index.cssr.js +2 -2
- package/es/data-table/styles/light.d.ts +42 -14
- package/es/date-picker/src/DatePicker.d.ts +2 -0
- package/es/date-picker/src/DatePicker.js +20 -7
- package/es/date-picker/src/panel/date.d.ts +2 -0
- package/es/date-picker/src/panel/daterange.d.ts +2 -0
- package/es/date-picker/src/panel/datetime.d.ts +2 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/es/date-picker/src/panel/month.d.ts +2 -0
- package/es/date-picker/src/panel/monthrange.d.ts +2 -0
- package/es/date-picker/src/panel/panelHeader.d.ts +4 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/es/date-picker/src/panel/use-calendar.js +1 -1
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/es/date-picker/src/panel/use-dual-calendar.js +1 -1
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/es/date-picker/src/styles/index.cssr.js +6 -1
- package/es/date-picker/src/utils.d.ts +2 -2
- package/es/date-picker/src/utils.js +1 -1
- package/es/date-picker/src/validation-utils.js +1 -1
- package/es/dialog/src/Dialog.d.ts +2 -0
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/drawer/src/Drawer.d.ts +2 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -0
- package/es/drawer/src/DrawerContent.d.ts +2 -0
- package/es/drawer/src/styles/index.cssr.js +5 -5
- package/es/dropdown/src/Dropdown.d.ts +2 -0
- package/es/dropdown/src/styles/index.cssr.js +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +2 -0
- package/es/dynamic-input/src/InputPreset.d.ts +2 -0
- package/es/dynamic-input/src/PairPreset.d.ts +2 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +45 -13
- package/es/dynamic-tags/src/DynamicTags.js +4 -1
- package/es/dynamic-tags/styles/light.d.ts +3 -0
- package/es/ellipsis/src/Ellipsis.d.ts +2 -0
- package/es/form/src/styles/form-item.cssr.js +1 -1
- package/es/global-style/src/GlobalStyle.js +3 -1
- package/es/image/src/styles/index.cssr.js +3 -3
- package/es/input/src/Input.d.ts +2 -0
- package/es/input/src/Input.js +18 -11
- package/es/input/src/styles/input.cssr.js +1 -5
- package/es/input-number/src/InputNumber.d.ts +2 -0
- package/es/layout/src/Layout.d.ts +4 -0
- package/es/layout/src/LayoutContent.d.ts +2 -0
- package/es/layout/src/LayoutSider.d.ts +2 -0
- package/es/loading-bar/src/styles/index.cssr.js +1 -1
- package/es/locales/common/nlNL.d.ts +3 -0
- package/es/locales/common/nlNL.js +111 -0
- package/es/locales/date/deDE.js +1 -1
- package/es/locales/date/enGB.js +1 -1
- package/es/locales/date/enUS.d.ts +2 -2
- package/es/locales/date/enUS.js +1 -1
- package/es/locales/date/eo.js +1 -1
- package/es/locales/date/esAR.js +1 -1
- package/es/locales/date/frFR.js +1 -1
- package/es/locales/date/idID.js +1 -1
- package/es/locales/date/itIT.js +1 -1
- package/es/locales/date/jaJP.js +1 -1
- package/es/locales/date/koKR.js +1 -1
- package/es/locales/date/nbNO.js +1 -1
- package/es/locales/date/nlNL.d.ts +3 -0
- package/es/locales/date/nlNL.js +6 -0
- package/es/locales/date/plPL.js +1 -1
- package/es/locales/date/ptBR.js +1 -1
- package/es/locales/date/ruRU.js +1 -1
- package/es/locales/date/skSK.js +1 -1
- package/es/locales/date/thTH.js +1 -1
- package/es/locales/date/ukUA.js +1 -1
- package/es/locales/date/zhCN.js +1 -1
- package/es/locales/date/zhTW.js +1 -1
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/log/src/Log.d.ts +2 -0
- package/es/log/src/styles/index.cssr.js +1 -1
- package/es/mention/src/Mention.d.ts +2 -0
- package/es/mention/src/styles/index.cssr.js +2 -2
- package/es/menu/src/Menu.d.ts +2 -0
- package/es/menu/src/MenuOption.d.ts +2 -0
- package/es/menu/src/MenuOptionContent.js +1 -1
- package/es/menu/src/Submenu.d.ts +2 -0
- package/es/menu/src/styles/index.cssr.js +2 -2
- package/es/message/src/styles/index.cssr.js +3 -3
- package/es/modal/src/BodyWrapper.d.ts +2 -0
- package/es/modal/src/styles/index.cssr.js +2 -2
- package/es/notification/index.d.ts +2 -1
- package/es/notification/src/Notification.js +18 -17
- package/es/notification/src/NotificationContainer.d.ts +7 -2
- package/es/notification/src/NotificationContainer.js +17 -5
- package/es/notification/src/NotificationEnvironment.d.ts +3 -2
- package/es/notification/src/NotificationEnvironment.js +9 -1
- package/es/notification/src/NotificationProvider.d.ts +3 -3
- package/es/notification/src/NotificationProvider.js +5 -2
- package/es/notification/src/styles/index.cssr.js +41 -11
- package/es/pagination/src/Pagination.d.ts +446 -151
- package/es/pagination/src/Pagination.js +22 -13
- package/es/pagination/src/interface.d.ts +1 -0
- package/es/pagination/src/styles/index.cssr.js +38 -39
- package/es/pagination/styles/_common.d.ts +33 -13
- package/es/pagination/styles/_common.js +33 -13
- package/es/pagination/styles/light.d.ts +84 -28
- package/es/pagination/styles/light.js +6 -2
- package/es/popconfirm/src/Popconfirm.d.ts +2 -0
- package/es/popover/src/PopoverBody.js +6 -6
- package/es/popover/src/styles/index.cssr.js +22 -21
- package/es/popselect/src/Popselect.d.ts +35 -12
- package/es/popselect/src/Popselect.js +1 -0
- package/es/popselect/src/PopselectPanel.d.ts +10 -1
- package/es/popselect/src/PopselectPanel.js +21 -4
- package/es/popselect/src/interface.d.ts +3 -1
- package/es/popselect/src/styles/index.cssr.d.ts +2 -0
- package/es/popselect/src/styles/index.cssr.js +5 -0
- package/es/popselect/styles/light.d.ts +7 -1
- package/es/popselect/styles/light.js +8 -1
- package/es/select/src/Select.d.ts +3 -1
- package/es/select/src/Select.js +1 -1
- package/es/select/src/interface.d.ts +1 -1
- package/es/select/src/styles/index.cssr.js +1 -1
- package/es/slider/src/styles/index.cssr.js +1 -1
- package/es/spin/src/styles/index.cssr.js +1 -1
- package/es/steps/src/styles/index.cssr.js +1 -1
- package/es/switch/src/styles/index.cssr.js +1 -1
- package/es/tabs/src/styles/index.cssr.js +5 -4
- package/es/tag/src/Tag.d.ts +31 -4
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/tag/styles/_common.d.ts +1 -0
- package/es/tag/styles/_common.js +1 -0
- package/es/tag/styles/dark.js +3 -3
- package/es/tag/styles/light.d.ts +3 -0
- package/es/tag/styles/light.js +3 -3
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/es/theme-editor/src/ThemeEditor.js +113 -125
- package/es/time/src/Time.js +2 -2
- package/es/time-picker/src/Panel.d.ts +2 -0
- package/es/time-picker/src/TimePicker.d.ts +2 -0
- package/es/time-picker/src/TimePicker.js +7 -2
- package/es/time-picker/src/styles/index.cssr.js +1 -1
- package/es/time-picker/src/utils.js +1 -1
- package/es/tooltip/src/Tooltip.d.ts +2 -0
- package/es/transfer/src/Transfer.d.ts +2 -0
- package/es/transfer/src/TransferFilter.d.ts +2 -0
- package/es/transfer/src/TransferFilter.js +1 -1
- package/es/transfer/src/TransferList.d.ts +2 -0
- package/es/transfer/src/TransferListItem.d.ts +2 -0
- package/es/transfer/src/styles/index.cssr.js +1 -2
- package/es/tree/src/Tree.d.ts +2 -0
- package/es/tree/src/TreeNodeCheckbox.d.ts +2 -0
- package/es/tree/src/styles/index.cssr.js +2 -2
- package/es/tree-select/src/TreeSelect.d.ts +3 -1
- package/es/tree-select/src/TreeSelect.js +1 -1
- package/es/tree-select/src/styles/index.cssr.js +1 -1
- package/es/upload/src/Upload.d.ts +2 -0
- package/es/upload/src/Upload.js +16 -3
- package/es/upload/src/UploadFile.d.ts +2 -0
- package/es/upload/src/UploadProgress.d.ts +2 -0
- package/es/upload/src/interface.d.ts +2 -0
- package/es/upload/src/styles/index.cssr.js +4 -4
- package/es/upload/src/utils.d.ts +6 -0
- package/es/upload/src/utils.js +38 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/Clear.js +6 -3
- package/lib/_internal/clear/src/styles/index.cssr.js +5 -8
- package/lib/_internal/loading/src/styles/index.cssr.js +3 -9
- package/lib/_internal/menu-mask/src/styles/index.cssr.js +2 -8
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +2 -8
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -0
- package/lib/_internal/select-menu/src/styles/index.cssr.js +2 -8
- package/lib/_internal/selection/src/Selection.d.ts +5 -3
- package/lib/_internal/selection/src/styles/index.cssr.js +2 -0
- package/lib/_internal/slot-machine/src/styles/index.cssr.js +4 -10
- package/lib/_internal/suffix/src/Suffix.js +1 -1
- package/lib/_mixins/use-style.js +10 -6
- package/lib/_mixins/use-theme.js +9 -7
- package/lib/_styles/common/_common.d.ts +2 -0
- package/lib/_styles/common/_common.js +2 -0
- package/lib/_styles/common/light.d.ts +2 -0
- package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-down.cssr.js +3 -2
- package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-height-expand.cssr.js +3 -2
- package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-scale-up.cssr.js +3 -2
- package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in-width-expand.cssr.js +3 -2
- package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-in.cssr.js +3 -2
- package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
- package/lib/_styles/transitions/fade-up-width-expand.cssr.js +2 -1
- package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
- package/lib/_styles/transitions/icon-switch.cssr.js +3 -2
- package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-bottom.js +3 -2
- package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-left.js +3 -2
- package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-right.js +3 -2
- package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
- package/lib/_styles/transitions/slide-in-from-top.js +3 -2
- package/lib/_utils/naive/prop.d.ts +10 -1
- package/lib/_utils/naive/prop.js +3 -0
- package/lib/alert/src/Alert.d.ts +2 -0
- package/lib/alert/src/styles/index.cssr.js +2 -8
- package/lib/auto-complete/src/AutoComplete.d.ts +2 -0
- package/lib/auto-complete/src/styles/index.cssr.js +2 -8
- package/lib/avatar-group/src/AvatarGroup.d.ts +2 -0
- package/lib/back-top/src/styles/index.cssr.js +2 -8
- package/lib/badge/src/styles/index.cssr.js +3 -9
- package/lib/button/src/styles/index.cssr.js +4 -10
- package/lib/calendar/src/Calendar.d.ts +2 -0
- package/lib/calendar/src/Calendar.js +2 -2
- package/lib/card/src/Card.d.ts +2 -0
- package/lib/cascader/src/Cascader.d.ts +2 -0
- package/lib/cascader/src/CascaderMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderOption.d.ts +2 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/cascader/src/styles/index.cssr.js +3 -9
- package/lib/checkbox/src/Checkbox.d.ts +2 -0
- package/lib/checkbox/src/styles/index.cssr.js +2 -8
- package/lib/collapse/src/Collapse.d.ts +2 -0
- package/lib/collapse/src/styles/index.cssr.js +2 -8
- package/lib/collapse-transition/src/styles/index.cssr.js +2 -8
- package/lib/color-picker/src/ColorInputUnit.d.ts +2 -0
- package/lib/color-picker/src/ColorPicker.d.ts +3 -0
- package/lib/color-picker/src/ColorPicker.js +7 -1
- package/lib/color-picker/src/interface.d.ts +2 -0
- package/lib/color-picker/src/styles/index.cssr.js +2 -8
- package/lib/config-provider/src/ConfigProvider.d.ts +4 -0
- package/lib/config-provider/src/ConfigProvider.js +4 -1
- package/lib/config-provider/src/internal-interface.d.ts +1 -0
- package/lib/data-table/src/DataTable.d.ts +422 -140
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +44 -14
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +44 -14
- package/lib/data-table/src/TableParts/Body.d.ts +44 -14
- package/lib/data-table/src/TableParts/Cell.d.ts +88 -28
- package/lib/data-table/src/TableParts/Header.d.ts +44 -14
- package/lib/data-table/src/styles/index.cssr.js +5 -11
- package/lib/data-table/styles/light.d.ts +42 -14
- package/lib/date-picker/src/DatePicker.d.ts +2 -0
- package/lib/date-picker/src/DatePicker.js +18 -5
- package/lib/date-picker/src/panel/date.d.ts +2 -0
- package/lib/date-picker/src/panel/daterange.d.ts +2 -0
- package/lib/date-picker/src/panel/datetime.d.ts +2 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/lib/date-picker/src/panel/month.d.ts +2 -0
- package/lib/date-picker/src/panel/monthrange.d.ts +2 -0
- package/lib/date-picker/src/panel/panelHeader.d.ts +4 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/lib/date-picker/src/styles/index.cssr.js +7 -8
- package/lib/date-picker/src/utils.d.ts +2 -2
- package/lib/dialog/src/Dialog.d.ts +2 -0
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/drawer/src/Drawer.d.ts +2 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -0
- package/lib/drawer/src/DrawerContent.d.ts +2 -0
- package/lib/drawer/src/styles/index.cssr.js +7 -13
- package/lib/dropdown/src/Dropdown.d.ts +2 -0
- package/lib/dropdown/src/styles/index.cssr.js +2 -8
- package/lib/dynamic-input/src/DynamicInput.d.ts +2 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +2 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +2 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +45 -13
- package/lib/dynamic-tags/src/DynamicTags.js +4 -1
- package/lib/dynamic-tags/styles/light.d.ts +3 -0
- package/lib/ellipsis/src/Ellipsis.d.ts +2 -0
- package/lib/form/src/styles/form-item.cssr.js +2 -8
- package/lib/global-style/src/GlobalStyle.js +3 -1
- package/lib/image/src/styles/index.cssr.js +5 -11
- package/lib/input/src/Input.d.ts +2 -0
- package/lib/input/src/Input.js +18 -11
- package/lib/input/src/styles/input.cssr.js +1 -5
- package/lib/input-number/src/InputNumber.d.ts +2 -0
- package/lib/layout/src/Layout.d.ts +4 -0
- package/lib/layout/src/LayoutContent.d.ts +2 -0
- package/lib/layout/src/LayoutSider.d.ts +2 -0
- package/lib/loading-bar/src/styles/index.cssr.js +2 -8
- package/lib/locales/common/nlNL.d.ts +3 -0
- package/lib/locales/common/nlNL.js +113 -0
- package/lib/locales/date/enUS.d.ts +2 -2
- package/lib/locales/date/nlNL.d.ts +3 -0
- package/lib/locales/date/nlNL.js +11 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/log/src/Log.d.ts +2 -0
- package/lib/log/src/styles/index.cssr.js +2 -8
- package/lib/mention/src/Mention.d.ts +2 -0
- package/lib/mention/src/styles/index.cssr.js +2 -8
- package/lib/menu/src/Menu.d.ts +2 -0
- package/lib/menu/src/MenuOption.d.ts +2 -0
- package/lib/menu/src/MenuOptionContent.js +1 -1
- package/lib/menu/src/Submenu.d.ts +2 -0
- package/lib/menu/src/styles/index.cssr.js +3 -9
- package/lib/message/src/styles/index.cssr.js +4 -10
- package/lib/modal/src/BodyWrapper.d.ts +2 -0
- package/lib/modal/src/styles/index.cssr.js +4 -10
- package/lib/notification/index.d.ts +2 -1
- package/lib/notification/src/Notification.js +18 -17
- package/lib/notification/src/NotificationContainer.d.ts +7 -2
- package/lib/notification/src/NotificationContainer.js +16 -4
- package/lib/notification/src/NotificationEnvironment.d.ts +3 -2
- package/lib/notification/src/NotificationEnvironment.js +8 -0
- package/lib/notification/src/NotificationProvider.d.ts +3 -3
- package/lib/notification/src/NotificationProvider.js +5 -2
- package/lib/notification/src/styles/index.cssr.js +41 -11
- package/lib/pagination/src/Pagination.d.ts +446 -151
- package/lib/pagination/src/Pagination.js +19 -10
- package/lib/pagination/src/interface.d.ts +1 -0
- package/lib/pagination/src/styles/index.cssr.js +38 -39
- package/lib/pagination/styles/_common.d.ts +33 -13
- package/lib/pagination/styles/_common.js +33 -13
- package/lib/pagination/styles/light.d.ts +84 -28
- package/lib/pagination/styles/light.js +6 -2
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -0
- package/lib/popover/src/PopoverBody.js +6 -6
- package/lib/popover/src/styles/index.cssr.js +22 -21
- package/lib/popselect/src/Popselect.d.ts +35 -12
- package/lib/popselect/src/Popselect.js +1 -0
- package/lib/popselect/src/PopselectPanel.d.ts +10 -1
- package/lib/popselect/src/PopselectPanel.js +23 -3
- package/lib/popselect/src/interface.d.ts +3 -1
- package/lib/popselect/src/styles/index.cssr.d.ts +2 -0
- package/lib/popselect/src/styles/index.cssr.js +12 -0
- package/lib/popselect/styles/light.d.ts +7 -1
- package/lib/popselect/styles/light.js +10 -1
- package/lib/select/src/Select.d.ts +3 -1
- package/lib/select/src/Select.js +1 -1
- package/lib/select/src/interface.d.ts +1 -1
- package/lib/select/src/styles/index.cssr.js +2 -8
- package/lib/slider/src/styles/index.cssr.js +3 -9
- package/lib/spin/src/styles/index.cssr.js +2 -8
- package/lib/steps/src/styles/index.cssr.js +4 -10
- package/lib/switch/src/styles/index.cssr.js +3 -9
- package/lib/tabs/src/styles/index.cssr.js +5 -4
- package/lib/tag/src/Tag.d.ts +31 -4
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/tag/styles/_common.d.ts +1 -0
- package/lib/tag/styles/_common.js +1 -0
- package/lib/tag/styles/dark.js +3 -3
- package/lib/tag/styles/light.d.ts +3 -0
- package/lib/tag/styles/light.js +3 -3
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/lib/theme-editor/src/ThemeEditor.js +113 -125
- package/lib/time/src/Time.js +6 -3
- package/lib/time-picker/src/Panel.d.ts +2 -0
- package/lib/time-picker/src/TimePicker.d.ts +2 -0
- package/lib/time-picker/src/TimePicker.js +6 -1
- package/lib/time-picker/src/styles/index.cssr.js +2 -8
- package/lib/tooltip/src/Tooltip.d.ts +2 -0
- package/lib/transfer/src/Transfer.d.ts +2 -0
- package/lib/transfer/src/TransferFilter.d.ts +2 -0
- package/lib/transfer/src/TransferFilter.js +1 -1
- package/lib/transfer/src/TransferList.d.ts +2 -0
- package/lib/transfer/src/TransferListItem.d.ts +2 -0
- package/lib/transfer/src/styles/index.cssr.js +2 -9
- package/lib/tree/src/Tree.d.ts +2 -0
- package/lib/tree/src/TreeNodeCheckbox.d.ts +2 -0
- package/lib/tree/src/styles/index.cssr.js +6 -12
- package/lib/tree-select/src/TreeSelect.d.ts +3 -1
- package/lib/tree-select/src/TreeSelect.js +1 -1
- package/lib/tree-select/src/styles/index.cssr.js +2 -8
- package/lib/upload/src/Upload.d.ts +2 -0
- package/lib/upload/src/Upload.js +15 -2
- package/lib/upload/src/UploadFile.d.ts +2 -0
- package/lib/upload/src/UploadProgress.d.ts +2 -0
- package/lib/upload/src/interface.d.ts +2 -0
- package/lib/upload/src/styles/index.cssr.js +4 -10
- package/lib/upload/src/utils.d.ts +6 -0
- package/lib/upload/src/utils.js +40 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +13 -13
- package/volar.d.ts +24 -24
- package/web-types.json +23 -1
|
@@ -3,6 +3,10 @@ import type { InputProps } from '../../input';
|
|
|
3
3
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
import type { OnUpdateValue, DynamicTagsOption, OnCreate } from './interface';
|
|
5
5
|
declare const dynamicTagsProps: {
|
|
6
|
+
size: {
|
|
7
|
+
type: PropType<"small" | "medium" | "large">;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
6
10
|
closable: {
|
|
7
11
|
type: BooleanConstructor;
|
|
8
12
|
default: boolean;
|
|
@@ -30,10 +34,6 @@ declare const dynamicTagsProps: {
|
|
|
30
34
|
readonly default: "default";
|
|
31
35
|
};
|
|
32
36
|
round: BooleanConstructor;
|
|
33
|
-
size: {
|
|
34
|
-
readonly type: PropType<"small" | "medium" | "large">;
|
|
35
|
-
readonly default: "medium";
|
|
36
|
-
};
|
|
37
37
|
disabled: {
|
|
38
38
|
readonly type: PropType<boolean | undefined>;
|
|
39
39
|
readonly default: undefined;
|
|
@@ -306,11 +306,13 @@ declare const dynamicTagsProps: {
|
|
|
306
306
|
rippleDuration: string;
|
|
307
307
|
}, any>;
|
|
308
308
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
309
|
+
heightTiny: string;
|
|
309
310
|
heightSmall: string;
|
|
310
311
|
heightMedium: string;
|
|
311
312
|
heightLarge: string;
|
|
312
313
|
borderRadius: string;
|
|
313
314
|
opacityDisabled: string;
|
|
315
|
+
fontSizeTiny: string;
|
|
314
316
|
fontSizeSmall: string;
|
|
315
317
|
fontSizeMedium: string;
|
|
316
318
|
fontSizeLarge: string;
|
|
@@ -360,6 +362,7 @@ declare const dynamicTagsProps: {
|
|
|
360
362
|
closeColorError: string;
|
|
361
363
|
closeColorHoverError: string;
|
|
362
364
|
closeColorPressedError: string;
|
|
365
|
+
closeSizeTiny: string;
|
|
363
366
|
closeSizeSmall: string;
|
|
364
367
|
closeSizeMedium: string;
|
|
365
368
|
closeSizeLarge: string;
|
|
@@ -641,11 +644,13 @@ declare const dynamicTagsProps: {
|
|
|
641
644
|
rippleDuration: string;
|
|
642
645
|
}, any>;
|
|
643
646
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
647
|
+
heightTiny: string;
|
|
644
648
|
heightSmall: string;
|
|
645
649
|
heightMedium: string;
|
|
646
650
|
heightLarge: string;
|
|
647
651
|
borderRadius: string;
|
|
648
652
|
opacityDisabled: string;
|
|
653
|
+
fontSizeTiny: string;
|
|
649
654
|
fontSizeSmall: string;
|
|
650
655
|
fontSizeMedium: string;
|
|
651
656
|
fontSizeLarge: string;
|
|
@@ -695,6 +700,7 @@ declare const dynamicTagsProps: {
|
|
|
695
700
|
closeColorError: string;
|
|
696
701
|
closeColorHoverError: string;
|
|
697
702
|
closeColorPressedError: string;
|
|
703
|
+
closeSizeTiny: string;
|
|
698
704
|
closeSizeSmall: string;
|
|
699
705
|
closeSizeMedium: string;
|
|
700
706
|
closeSizeLarge: string;
|
|
@@ -976,11 +982,13 @@ declare const dynamicTagsProps: {
|
|
|
976
982
|
rippleDuration: string;
|
|
977
983
|
}, any>;
|
|
978
984
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
985
|
+
heightTiny: string;
|
|
979
986
|
heightSmall: string;
|
|
980
987
|
heightMedium: string;
|
|
981
988
|
heightLarge: string;
|
|
982
989
|
borderRadius: string;
|
|
983
990
|
opacityDisabled: string;
|
|
991
|
+
fontSizeTiny: string;
|
|
984
992
|
fontSizeSmall: string;
|
|
985
993
|
fontSizeMedium: string;
|
|
986
994
|
fontSizeLarge: string;
|
|
@@ -1030,6 +1038,7 @@ declare const dynamicTagsProps: {
|
|
|
1030
1038
|
closeColorError: string;
|
|
1031
1039
|
closeColorHoverError: string;
|
|
1032
1040
|
closeColorPressedError: string;
|
|
1041
|
+
closeSizeTiny: string;
|
|
1033
1042
|
closeSizeSmall: string;
|
|
1034
1043
|
closeSizeMedium: string;
|
|
1035
1044
|
closeSizeLarge: string;
|
|
@@ -1046,6 +1055,10 @@ declare const dynamicTagsProps: {
|
|
|
1046
1055
|
};
|
|
1047
1056
|
export declare type DynamicTagsProps = ExtractPublicPropTypes<typeof dynamicTagsProps>;
|
|
1048
1057
|
declare const _default: import("vue").DefineComponent<{
|
|
1058
|
+
size: {
|
|
1059
|
+
type: PropType<"small" | "medium" | "large">;
|
|
1060
|
+
default: string;
|
|
1061
|
+
};
|
|
1049
1062
|
closable: {
|
|
1050
1063
|
type: BooleanConstructor;
|
|
1051
1064
|
default: boolean;
|
|
@@ -1073,10 +1086,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1073
1086
|
readonly default: "default";
|
|
1074
1087
|
};
|
|
1075
1088
|
round: BooleanConstructor;
|
|
1076
|
-
size: {
|
|
1077
|
-
readonly type: PropType<"small" | "medium" | "large">;
|
|
1078
|
-
readonly default: "medium";
|
|
1079
|
-
};
|
|
1080
1089
|
disabled: {
|
|
1081
1090
|
readonly type: PropType<boolean | undefined>;
|
|
1082
1091
|
readonly default: undefined;
|
|
@@ -1349,11 +1358,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1349
1358
|
rippleDuration: string;
|
|
1350
1359
|
}, any>;
|
|
1351
1360
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
1361
|
+
heightTiny: string;
|
|
1352
1362
|
heightSmall: string;
|
|
1353
1363
|
heightMedium: string;
|
|
1354
1364
|
heightLarge: string;
|
|
1355
1365
|
borderRadius: string;
|
|
1356
1366
|
opacityDisabled: string;
|
|
1367
|
+
fontSizeTiny: string;
|
|
1357
1368
|
fontSizeSmall: string;
|
|
1358
1369
|
fontSizeMedium: string;
|
|
1359
1370
|
fontSizeLarge: string;
|
|
@@ -1403,6 +1414,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1403
1414
|
closeColorError: string;
|
|
1404
1415
|
closeColorHoverError: string;
|
|
1405
1416
|
closeColorPressedError: string;
|
|
1417
|
+
closeSizeTiny: string;
|
|
1406
1418
|
closeSizeSmall: string;
|
|
1407
1419
|
closeSizeMedium: string;
|
|
1408
1420
|
closeSizeLarge: string;
|
|
@@ -1684,11 +1696,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1684
1696
|
rippleDuration: string;
|
|
1685
1697
|
}, any>;
|
|
1686
1698
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
1699
|
+
heightTiny: string;
|
|
1687
1700
|
heightSmall: string;
|
|
1688
1701
|
heightMedium: string;
|
|
1689
1702
|
heightLarge: string;
|
|
1690
1703
|
borderRadius: string;
|
|
1691
1704
|
opacityDisabled: string;
|
|
1705
|
+
fontSizeTiny: string;
|
|
1692
1706
|
fontSizeSmall: string;
|
|
1693
1707
|
fontSizeMedium: string;
|
|
1694
1708
|
fontSizeLarge: string;
|
|
@@ -1738,6 +1752,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1738
1752
|
closeColorError: string;
|
|
1739
1753
|
closeColorHoverError: string;
|
|
1740
1754
|
closeColorPressedError: string;
|
|
1755
|
+
closeSizeTiny: string;
|
|
1741
1756
|
closeSizeSmall: string;
|
|
1742
1757
|
closeSizeMedium: string;
|
|
1743
1758
|
closeSizeLarge: string;
|
|
@@ -2019,11 +2034,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2019
2034
|
rippleDuration: string;
|
|
2020
2035
|
}, any>;
|
|
2021
2036
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
2037
|
+
heightTiny: string;
|
|
2022
2038
|
heightSmall: string;
|
|
2023
2039
|
heightMedium: string;
|
|
2024
2040
|
heightLarge: string;
|
|
2025
2041
|
borderRadius: string;
|
|
2026
2042
|
opacityDisabled: string;
|
|
2043
|
+
fontSizeTiny: string;
|
|
2027
2044
|
fontSizeSmall: string;
|
|
2028
2045
|
fontSizeMedium: string;
|
|
2029
2046
|
fontSizeLarge: string;
|
|
@@ -2073,6 +2090,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2073
2090
|
closeColorError: string;
|
|
2074
2091
|
closeColorHoverError: string;
|
|
2075
2092
|
closeColorPressedError: string;
|
|
2093
|
+
closeSizeTiny: string;
|
|
2076
2094
|
closeSizeSmall: string;
|
|
2077
2095
|
closeSizeMedium: string;
|
|
2078
2096
|
closeSizeLarge: string;
|
|
@@ -2100,7 +2118,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2100
2118
|
deactivate: () => void;
|
|
2101
2119
|
} | null>;
|
|
2102
2120
|
localizedAdd: import("vue").ComputedRef<string>;
|
|
2103
|
-
inputSize: import("vue").ComputedRef<"small" | "medium" | "
|
|
2121
|
+
inputSize: import("vue").ComputedRef<"small" | "medium" | "tiny">;
|
|
2104
2122
|
inputValue: import("vue").Ref<string>;
|
|
2105
2123
|
showInput: import("vue").Ref<boolean>;
|
|
2106
2124
|
inputForceFocused: import("vue").Ref<boolean>;
|
|
@@ -2205,12 +2223,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2205
2223
|
borderRadius: string;
|
|
2206
2224
|
borderRadiusSmall: string;
|
|
2207
2225
|
fontSize: string;
|
|
2226
|
+
fontSizeMini: string;
|
|
2208
2227
|
fontSizeTiny: string;
|
|
2209
2228
|
fontSizeSmall: string;
|
|
2210
2229
|
fontSizeMedium: string;
|
|
2211
2230
|
fontSizeLarge: string;
|
|
2212
2231
|
fontSizeHuge: string;
|
|
2213
2232
|
lineHeight: string;
|
|
2233
|
+
heightMini: string;
|
|
2214
2234
|
heightTiny: string;
|
|
2215
2235
|
heightSmall: string;
|
|
2216
2236
|
heightMedium: string;
|
|
@@ -2487,11 +2507,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2487
2507
|
rippleDuration: string;
|
|
2488
2508
|
}, any>;
|
|
2489
2509
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
2510
|
+
heightTiny: string;
|
|
2490
2511
|
heightSmall: string;
|
|
2491
2512
|
heightMedium: string;
|
|
2492
2513
|
heightLarge: string;
|
|
2493
2514
|
borderRadius: string;
|
|
2494
2515
|
opacityDisabled: string;
|
|
2516
|
+
fontSizeTiny: string;
|
|
2495
2517
|
fontSizeSmall: string;
|
|
2496
2518
|
fontSizeMedium: string;
|
|
2497
2519
|
fontSizeLarge: string;
|
|
@@ -2541,6 +2563,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2541
2563
|
closeColorError: string;
|
|
2542
2564
|
closeColorHoverError: string;
|
|
2543
2565
|
closeColorPressedError: string;
|
|
2566
|
+
closeSizeTiny: string;
|
|
2544
2567
|
closeSizeSmall: string;
|
|
2545
2568
|
closeSizeMedium: string;
|
|
2546
2569
|
closeSizeLarge: string;
|
|
@@ -2583,6 +2606,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2583
2606
|
themeClass: import("vue").Ref<string> | undefined;
|
|
2584
2607
|
onRender: (() => void) | undefined;
|
|
2585
2608
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2609
|
+
size: {
|
|
2610
|
+
type: PropType<"small" | "medium" | "large">;
|
|
2611
|
+
default: string;
|
|
2612
|
+
};
|
|
2586
2613
|
closable: {
|
|
2587
2614
|
type: BooleanConstructor;
|
|
2588
2615
|
default: boolean;
|
|
@@ -2610,10 +2637,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2610
2637
|
readonly default: "default";
|
|
2611
2638
|
};
|
|
2612
2639
|
round: BooleanConstructor;
|
|
2613
|
-
size: {
|
|
2614
|
-
readonly type: PropType<"small" | "medium" | "large">;
|
|
2615
|
-
readonly default: "medium";
|
|
2616
|
-
};
|
|
2617
2640
|
disabled: {
|
|
2618
2641
|
readonly type: PropType<boolean | undefined>;
|
|
2619
2642
|
readonly default: undefined;
|
|
@@ -2886,11 +2909,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2886
2909
|
rippleDuration: string;
|
|
2887
2910
|
}, any>;
|
|
2888
2911
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
2912
|
+
heightTiny: string;
|
|
2889
2913
|
heightSmall: string;
|
|
2890
2914
|
heightMedium: string;
|
|
2891
2915
|
heightLarge: string;
|
|
2892
2916
|
borderRadius: string;
|
|
2893
2917
|
opacityDisabled: string;
|
|
2918
|
+
fontSizeTiny: string;
|
|
2894
2919
|
fontSizeSmall: string;
|
|
2895
2920
|
fontSizeMedium: string;
|
|
2896
2921
|
fontSizeLarge: string;
|
|
@@ -2940,6 +2965,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2940
2965
|
closeColorError: string;
|
|
2941
2966
|
closeColorHoverError: string;
|
|
2942
2967
|
closeColorPressedError: string;
|
|
2968
|
+
closeSizeTiny: string;
|
|
2943
2969
|
closeSizeSmall: string;
|
|
2944
2970
|
closeSizeMedium: string;
|
|
2945
2971
|
closeSizeLarge: string;
|
|
@@ -3221,11 +3247,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3221
3247
|
rippleDuration: string;
|
|
3222
3248
|
}, any>;
|
|
3223
3249
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
3250
|
+
heightTiny: string;
|
|
3224
3251
|
heightSmall: string;
|
|
3225
3252
|
heightMedium: string;
|
|
3226
3253
|
heightLarge: string;
|
|
3227
3254
|
borderRadius: string;
|
|
3228
3255
|
opacityDisabled: string;
|
|
3256
|
+
fontSizeTiny: string;
|
|
3229
3257
|
fontSizeSmall: string;
|
|
3230
3258
|
fontSizeMedium: string;
|
|
3231
3259
|
fontSizeLarge: string;
|
|
@@ -3275,6 +3303,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3275
3303
|
closeColorError: string;
|
|
3276
3304
|
closeColorHoverError: string;
|
|
3277
3305
|
closeColorPressedError: string;
|
|
3306
|
+
closeSizeTiny: string;
|
|
3278
3307
|
closeSizeSmall: string;
|
|
3279
3308
|
closeSizeMedium: string;
|
|
3280
3309
|
closeSizeLarge: string;
|
|
@@ -3556,11 +3585,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3556
3585
|
rippleDuration: string;
|
|
3557
3586
|
}, any>;
|
|
3558
3587
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
3588
|
+
heightTiny: string;
|
|
3559
3589
|
heightSmall: string;
|
|
3560
3590
|
heightMedium: string;
|
|
3561
3591
|
heightLarge: string;
|
|
3562
3592
|
borderRadius: string;
|
|
3563
3593
|
opacityDisabled: string;
|
|
3594
|
+
fontSizeTiny: string;
|
|
3564
3595
|
fontSizeSmall: string;
|
|
3565
3596
|
fontSizeMedium: string;
|
|
3566
3597
|
fontSizeLarge: string;
|
|
@@ -3610,6 +3641,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3610
3641
|
closeColorError: string;
|
|
3611
3642
|
closeColorHoverError: string;
|
|
3612
3643
|
closeColorPressedError: string;
|
|
3644
|
+
closeSizeTiny: string;
|
|
3613
3645
|
closeSizeSmall: string;
|
|
3614
3646
|
closeSizeMedium: string;
|
|
3615
3647
|
closeSizeLarge: string;
|
|
@@ -11,7 +11,10 @@ import { useTheme, useFormItem, useLocale, useConfig, useThemeClass } from '../.
|
|
|
11
11
|
import { call, smallerSize, warnOnce } from '../../_utils';
|
|
12
12
|
import { dynamicTagsLight } from '../styles';
|
|
13
13
|
import style from './styles/index.cssr';
|
|
14
|
-
const dynamicTagsProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), commonProps), {
|
|
14
|
+
const dynamicTagsProps = Object.assign(Object.assign(Object.assign({}, useTheme.props), commonProps), { size: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: 'medium'
|
|
17
|
+
}, closable: {
|
|
15
18
|
type: Boolean,
|
|
16
19
|
default: true
|
|
17
20
|
}, defaultValue: {
|
|
@@ -266,11 +266,13 @@ declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
|
|
|
266
266
|
rippleDuration: string;
|
|
267
267
|
}, any>;
|
|
268
268
|
Tag: import("../../_mixins").Theme<"Tag", {
|
|
269
|
+
heightTiny: string;
|
|
269
270
|
heightSmall: string;
|
|
270
271
|
heightMedium: string;
|
|
271
272
|
heightLarge: string;
|
|
272
273
|
borderRadius: string;
|
|
273
274
|
opacityDisabled: string;
|
|
275
|
+
fontSizeTiny: string;
|
|
274
276
|
fontSizeSmall: string;
|
|
275
277
|
fontSizeMedium: string;
|
|
276
278
|
fontSizeLarge: string;
|
|
@@ -320,6 +322,7 @@ declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
|
|
|
320
322
|
closeColorError: string;
|
|
321
323
|
closeColorHoverError: string;
|
|
322
324
|
closeColorPressedError: string;
|
|
325
|
+
closeSizeTiny: string;
|
|
323
326
|
closeSizeSmall: string;
|
|
324
327
|
closeSizeMedium: string;
|
|
325
328
|
closeSizeLarge: string;
|
|
@@ -252,12 +252,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
252
252
|
borderRadius: string;
|
|
253
253
|
borderRadiusSmall: string;
|
|
254
254
|
fontSize: string;
|
|
255
|
+
fontSizeMini: string;
|
|
255
256
|
fontSizeTiny: string;
|
|
256
257
|
fontSizeSmall: string;
|
|
257
258
|
fontSizeMedium: string;
|
|
258
259
|
fontSizeLarge: string;
|
|
259
260
|
fontSizeHuge: string;
|
|
260
261
|
lineHeight: string;
|
|
262
|
+
heightMini: string;
|
|
261
263
|
heightTiny: string;
|
|
262
264
|
heightSmall: string;
|
|
263
265
|
heightMedium: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cB, cE, cM, c } from '../../../_utils/cssr';
|
|
2
|
-
import fadeDownTransition from '../../../_styles/transitions/fade-down.cssr'; // vars:
|
|
2
|
+
import { fadeDownTransition } from '../../../_styles/transitions/fade-down.cssr'; // vars:
|
|
3
3
|
// --n-line-height
|
|
4
4
|
// --n-blank-height
|
|
5
5
|
// --n-feedback-padding
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, watchEffect, onBeforeMount, onUnmounted, inject } from 'vue';
|
|
2
|
+
import { merge } from 'lodash-es';
|
|
2
3
|
import { warn } from '../../_utils';
|
|
3
4
|
import { commonLight } from '../../_styles/common';
|
|
4
5
|
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
5
|
-
import { merge } from 'lodash-es';
|
|
6
6
|
export default defineComponent({
|
|
7
7
|
name: 'GlobalStyle',
|
|
8
8
|
setup() {
|
|
@@ -20,6 +20,8 @@ export default defineComponent({
|
|
|
20
20
|
? merge({}, ((_a = NConfigProvider.mergedThemeRef.value) === null || _a === void 0 ? void 0 : _a.common) || commonLight, (_b = NConfigProvider.mergedThemeOverridesRef.value) === null || _b === void 0 ? void 0 : _b.common)
|
|
21
21
|
: commonLight;
|
|
22
22
|
if (styleApplied || !body.hasAttribute('n-styled')) {
|
|
23
|
+
style.setProperty('-webkit-text-size-adjust', '100%');
|
|
24
|
+
style.setProperty('-webkit-tap-highlight-color', 'transparent');
|
|
23
25
|
style.backgroundColor = bodyColor;
|
|
24
26
|
style.color = textColor2;
|
|
25
27
|
style.fontSize = fontSize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c, cB, cNotM } from '../../../_utils/cssr';
|
|
2
|
-
import fadeInTransition from '../../../_styles/transitions/fade-in.cssr';
|
|
3
|
-
import
|
|
2
|
+
import { fadeInTransition } from '../../../_styles/transitions/fade-in.cssr';
|
|
3
|
+
import { fadeInScaleUpTransition } from '../../../_styles/transitions/fade-in-scale-up.cssr'; // vars:
|
|
4
4
|
// --n-toolbar-icon-color
|
|
5
5
|
// --n-toolbar-color
|
|
6
6
|
// --n-toolbar-border-radius
|
|
@@ -49,7 +49,7 @@ export default c([c('body >', [cB('image-container', 'position: fixed;')]), cB('
|
|
|
49
49
|
bottom: 0;
|
|
50
50
|
display: flex;
|
|
51
51
|
pointer-events: none;
|
|
52
|
-
`, [
|
|
52
|
+
`, [fadeInScaleUpTransition()]), cB('image-preview', `
|
|
53
53
|
user-select: none;
|
|
54
54
|
pointer-events: all;
|
|
55
55
|
margin: auto;
|
package/es/input/src/Input.d.ts
CHANGED
|
@@ -691,12 +691,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
691
691
|
borderRadius: string;
|
|
692
692
|
borderRadiusSmall: string;
|
|
693
693
|
fontSize: string;
|
|
694
|
+
fontSizeMini: string;
|
|
694
695
|
fontSizeTiny: string;
|
|
695
696
|
fontSizeSmall: string;
|
|
696
697
|
fontSizeMedium: string;
|
|
697
698
|
fontSizeLarge: string;
|
|
698
699
|
fontSizeHuge: string;
|
|
699
700
|
lineHeight: string;
|
|
701
|
+
heightMini: string;
|
|
700
702
|
heightTiny: string;
|
|
701
703
|
heightSmall: string;
|
|
702
704
|
heightMedium: string;
|
package/es/input/src/Input.js
CHANGED
|
@@ -733,7 +733,8 @@ export default defineComponent({
|
|
|
733
733
|
}, mergedTheme: themeRef, cssVars: inlineThemeDisabled ? undefined : cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender });
|
|
734
734
|
},
|
|
735
735
|
render() {
|
|
736
|
-
const { mergedClsPrefix, mergedStatus, themeClass, onRender
|
|
736
|
+
const { mergedClsPrefix, mergedStatus, themeClass, onRender } = this;
|
|
737
|
+
const $slots = this.$slots;
|
|
737
738
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
738
739
|
return (h("div", { ref: "wrapperElRef", class: [
|
|
739
740
|
`${mergedClsPrefix}-input`,
|
|
@@ -796,8 +797,11 @@ export default defineComponent({
|
|
|
796
797
|
this.showCount ||
|
|
797
798
|
this.mergedShowPasswordOn ||
|
|
798
799
|
this.loading !== undefined ? (h("div", { class: `${mergedClsPrefix}-input__suffix` }, [
|
|
799
|
-
resolveWrappedSlot($slots
|
|
800
|
-
return ((this.clearable || children) && (h(NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
800
|
+
resolveWrappedSlot($slots['clear-icon-placeholder'], (children) => {
|
|
801
|
+
return ((this.clearable || children) && (h(NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
802
|
+
placeholder: () => children,
|
|
803
|
+
icon: () => { var _a, _b; return (_b = (_a = this.$slots)['clear-icon']) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
804
|
+
})));
|
|
801
805
|
}),
|
|
802
806
|
!this.internalLoadingBeforeSuffix ? children : null,
|
|
803
807
|
this.loading !== undefined ? (h(NBaseSuffix, { clsPrefix: mergedClsPrefix, loading: this.loading, showArrow: false, showClear: false, style: this.cssVars })) : null,
|
|
@@ -805,13 +809,13 @@ export default defineComponent({
|
|
|
805
809
|
this.showCount && this.type !== 'textarea' ? (h(WordCount, null, {
|
|
806
810
|
default: (props) => { var _a; return (_a = $slots.count) === null || _a === void 0 ? void 0 : _a.call($slots, props); }
|
|
807
811
|
})) : null,
|
|
808
|
-
this.mergedShowPasswordOn && this.type === 'password' ? (h(
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
812
|
+
this.mergedShowPasswordOn && this.type === 'password' ? (h("div", { class: `${mergedClsPrefix}-input__eye`, onMousedown: this.handlePasswordToggleMousedown, onClick: this.handlePasswordToggleClick }, this.passwordVisible
|
|
813
|
+
? resolveSlot($slots['password-visible-icon'], () => [
|
|
814
|
+
h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(EyeIcon, null) })
|
|
815
|
+
])
|
|
816
|
+
: resolveSlot($slots['password-invisible-icon'], () => [
|
|
817
|
+
h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(EyeOffIcon, null) })
|
|
818
|
+
]))) : null
|
|
815
819
|
])) : null;
|
|
816
820
|
})),
|
|
817
821
|
this.pair ? (h("span", { class: `${mergedClsPrefix}-input__separator` }, resolveSlot($slots.separator, () => [this.separator]))) : null,
|
|
@@ -824,7 +828,10 @@ export default defineComponent({
|
|
|
824
828
|
h("span", null, this.mergedPlaceholder[1]))) : null),
|
|
825
829
|
resolveWrappedSlot($slots.suffix, (children) => {
|
|
826
830
|
return ((this.clearable || children) && (h("div", { class: `${mergedClsPrefix}-input__suffix` }, [
|
|
827
|
-
this.clearable && (h(NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
831
|
+
this.clearable && (h(NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
832
|
+
icon: () => { var _a; return (_a = $slots['clear-icon']) === null || _a === void 0 ? void 0 : _a.call($slots); },
|
|
833
|
+
placeholder: () => { var _a; return (_a = $slots['clear-icon-placeholder']) === null || _a === void 0 ? void 0 : _a.call($slots); }
|
|
834
|
+
})),
|
|
828
835
|
children
|
|
829
836
|
])));
|
|
830
837
|
}))) : null,
|
|
@@ -190,11 +190,7 @@ cM('pair', [cE('input-el, placeholder', 'text-align: center;'), cE('separator',
|
|
|
190
190
|
color: var(--n-icon-color-hover);
|
|
191
191
|
`), c('&:active', `
|
|
192
192
|
color: var(--n-icon-color-pressed);
|
|
193
|
-
`),
|
|
194
|
-
color: var(--n-icon-color-hover);
|
|
195
|
-
`), c('&:active', `
|
|
196
|
-
color: var(--n-icon-color-pressed);
|
|
197
|
-
`)])]), c('&:hover', [cE('state-border', 'border: var(--n-border-hover);')]), cM('focus', 'background-color: var(--n-color-focus);', [cE('state-border', `
|
|
193
|
+
`)]), c('&:hover', [cE('state-border', 'border: var(--n-border-hover);')]), cM('focus', 'background-color: var(--n-color-focus);', [cE('state-border', `
|
|
198
194
|
border: var(--n-border-focus);
|
|
199
195
|
box-shadow: var(--n-box-shadow-focus);
|
|
200
196
|
`)])]), cE('border, state-border', `
|
|
@@ -1847,12 +1847,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1847
1847
|
borderRadius: string;
|
|
1848
1848
|
borderRadiusSmall: string;
|
|
1849
1849
|
fontSize: string;
|
|
1850
|
+
fontSizeMini: string;
|
|
1850
1851
|
fontSizeTiny: string;
|
|
1851
1852
|
fontSizeSmall: string;
|
|
1852
1853
|
fontSizeMedium: string;
|
|
1853
1854
|
fontSizeLarge: string;
|
|
1854
1855
|
fontSizeHuge: string;
|
|
1855
1856
|
lineHeight: string;
|
|
1857
|
+
heightMini: string;
|
|
1856
1858
|
heightTiny: string;
|
|
1857
1859
|
heightSmall: string;
|
|
1858
1860
|
heightMedium: string;
|
|
@@ -264,12 +264,14 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
|
|
|
264
264
|
borderRadius: string;
|
|
265
265
|
borderRadiusSmall: string;
|
|
266
266
|
fontSize: string;
|
|
267
|
+
fontSizeMini: string;
|
|
267
268
|
fontSizeTiny: string;
|
|
268
269
|
fontSizeSmall: string;
|
|
269
270
|
fontSizeMedium: string;
|
|
270
271
|
fontSizeLarge: string;
|
|
271
272
|
fontSizeHuge: string;
|
|
272
273
|
lineHeight: string;
|
|
274
|
+
heightMini: string;
|
|
273
275
|
heightTiny: string;
|
|
274
276
|
heightSmall: string;
|
|
275
277
|
heightMedium: string;
|
|
@@ -660,12 +662,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
660
662
|
borderRadius: string;
|
|
661
663
|
borderRadiusSmall: string;
|
|
662
664
|
fontSize: string;
|
|
665
|
+
fontSizeMini: string;
|
|
663
666
|
fontSizeTiny: string;
|
|
664
667
|
fontSizeSmall: string;
|
|
665
668
|
fontSizeMedium: string;
|
|
666
669
|
fontSizeLarge: string;
|
|
667
670
|
fontSizeHuge: string;
|
|
668
671
|
lineHeight: string;
|
|
672
|
+
heightMini: string;
|
|
669
673
|
heightTiny: string;
|
|
670
674
|
heightSmall: string;
|
|
671
675
|
heightMedium: string;
|
|
@@ -216,12 +216,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
216
216
|
borderRadius: string;
|
|
217
217
|
borderRadiusSmall: string;
|
|
218
218
|
fontSize: string;
|
|
219
|
+
fontSizeMini: string;
|
|
219
220
|
fontSizeTiny: string;
|
|
220
221
|
fontSizeSmall: string;
|
|
221
222
|
fontSizeMedium: string;
|
|
222
223
|
fontSizeLarge: string;
|
|
223
224
|
fontSizeHuge: string;
|
|
224
225
|
lineHeight: string;
|
|
226
|
+
heightMini: string;
|
|
225
227
|
heightTiny: string;
|
|
226
228
|
heightSmall: string;
|
|
227
229
|
heightMedium: string;
|
|
@@ -303,12 +303,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
303
303
|
borderRadius: string;
|
|
304
304
|
borderRadiusSmall: string;
|
|
305
305
|
fontSize: string;
|
|
306
|
+
fontSizeMini: string;
|
|
306
307
|
fontSizeTiny: string;
|
|
307
308
|
fontSizeSmall: string;
|
|
308
309
|
fontSizeMedium: string;
|
|
309
310
|
fontSizeLarge: string;
|
|
310
311
|
fontSizeHuge: string;
|
|
311
312
|
lineHeight: string;
|
|
313
|
+
heightMini: string;
|
|
312
314
|
heightTiny: string;
|
|
313
315
|
heightSmall: string;
|
|
314
316
|
heightMedium: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cB, cM } from '../../../_utils/cssr';
|
|
2
|
-
import fadeInTransition from '../../../_styles/transitions/fade-in.cssr'; // vars:
|
|
2
|
+
import { fadeInTransition } from '../../../_styles/transitions/fade-in.cssr'; // vars:
|
|
3
3
|
// --n-height
|
|
4
4
|
// --n-color-loading
|
|
5
5
|
// --n-color-error
|