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;
|
|
@@ -16,7 +16,10 @@ const _mixins_1 = require("../../_mixins");
|
|
|
16
16
|
const _utils_1 = require("../../_utils");
|
|
17
17
|
const styles_1 = require("../styles");
|
|
18
18
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
19
|
-
const dynamicTagsProps = Object.assign(Object.assign(Object.assign({}, _mixins_1.useTheme.props), common_props_1.default), {
|
|
19
|
+
const dynamicTagsProps = Object.assign(Object.assign(Object.assign({}, _mixins_1.useTheme.props), common_props_1.default), { size: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: 'medium'
|
|
22
|
+
}, closable: {
|
|
20
23
|
type: Boolean,
|
|
21
24
|
default: true
|
|
22
25
|
}, 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,18 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
4
|
-
return mod && mod.__esModule ? mod : {
|
|
5
|
-
"default": mod
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: true
|
|
11
5
|
});
|
|
12
6
|
|
|
13
7
|
const cssr_1 = require("../../../_utils/cssr");
|
|
14
8
|
|
|
15
|
-
const fade_down_cssr_1 =
|
|
9
|
+
const fade_down_cssr_1 = require("../../../_styles/transitions/fade-down.cssr"); // vars:
|
|
16
10
|
// --n-line-height
|
|
17
11
|
// --n-blank-height
|
|
18
12
|
// --n-feedback-padding
|
|
@@ -102,7 +96,7 @@ exports.default = (0, cssr_1.cB)('form-item', {
|
|
|
102
96
|
color: 'var(--n-feedback-text-color-warning)'
|
|
103
97
|
}), (0, cssr_1.cM)('error', {
|
|
104
98
|
color: 'var(--n-feedback-text-color-error)'
|
|
105
|
-
}), (0, fade_down_cssr_1.
|
|
99
|
+
}), (0, fade_down_cssr_1.fadeDownTransition)({
|
|
106
100
|
fromOffset: '-3px',
|
|
107
101
|
enterDuration: '.3s',
|
|
108
102
|
leaveDuration: '.2s'
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const vue_1 = require("vue");
|
|
4
|
+
const lodash_1 = require("lodash");
|
|
4
5
|
const _utils_1 = require("../../_utils");
|
|
5
6
|
const common_1 = require("../../_styles/common");
|
|
6
7
|
const context_1 = require("../../config-provider/src/context");
|
|
7
|
-
const lodash_1 = require("lodash");
|
|
8
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
9
9
|
name: 'GlobalStyle',
|
|
10
10
|
setup() {
|
|
@@ -22,6 +22,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
22
22
|
? (0, lodash_1.merge)({}, ((_a = NConfigProvider.mergedThemeRef.value) === null || _a === void 0 ? void 0 : _a.common) || common_1.commonLight, (_b = NConfigProvider.mergedThemeOverridesRef.value) === null || _b === void 0 ? void 0 : _b.common)
|
|
23
23
|
: common_1.commonLight;
|
|
24
24
|
if (styleApplied || !body.hasAttribute('n-styled')) {
|
|
25
|
+
style.setProperty('-webkit-text-size-adjust', '100%');
|
|
26
|
+
style.setProperty('-webkit-tap-highlight-color', 'transparent');
|
|
25
27
|
style.backgroundColor = bodyColor;
|
|
26
28
|
style.color = textColor2;
|
|
27
29
|
style.fontSize = fontSize;
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
4
|
-
return mod && mod.__esModule ? mod : {
|
|
5
|
-
"default": mod
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: true
|
|
11
5
|
});
|
|
12
6
|
|
|
13
7
|
const cssr_1 = require("../../../_utils/cssr");
|
|
14
8
|
|
|
15
|
-
const fade_in_cssr_1 =
|
|
9
|
+
const fade_in_cssr_1 = require("../../../_styles/transitions/fade-in.cssr");
|
|
16
10
|
|
|
17
|
-
const fade_in_scale_up_cssr_1 =
|
|
11
|
+
const fade_in_scale_up_cssr_1 = require("../../../_styles/transitions/fade-in-scale-up.cssr"); // vars:
|
|
18
12
|
// --n-toolbar-icon-color
|
|
19
13
|
// --n-toolbar-color
|
|
20
14
|
// --n-toolbar-border-radius
|
|
@@ -37,7 +31,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.c)('body >', [(0, cssr_1.cB)('image-
|
|
|
37
31
|
top: 0;
|
|
38
32
|
bottom: 0;
|
|
39
33
|
background: rgba(0, 0, 0, .3);
|
|
40
|
-
`, [(0, fade_in_cssr_1.
|
|
34
|
+
`, [(0, fade_in_cssr_1.fadeInTransition)()]), (0, cssr_1.cB)('image-preview-toolbar', `
|
|
41
35
|
z-index: 1;
|
|
42
36
|
position: absolute;
|
|
43
37
|
left: 50%;
|
|
@@ -56,7 +50,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.c)('body >', [(0, cssr_1.cB)('image-
|
|
|
56
50
|
padding: 0 8px;
|
|
57
51
|
font-size: 28px;
|
|
58
52
|
cursor: pointer;
|
|
59
|
-
`), (0, fade_in_cssr_1.
|
|
53
|
+
`), (0, fade_in_cssr_1.fadeInTransition)()]), (0, cssr_1.cB)('image-preview-wrapper', `
|
|
60
54
|
position: absolute;
|
|
61
55
|
left: 0;
|
|
62
56
|
right: 0;
|
|
@@ -64,7 +58,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.c)('body >', [(0, cssr_1.cB)('image-
|
|
|
64
58
|
bottom: 0;
|
|
65
59
|
display: flex;
|
|
66
60
|
pointer-events: none;
|
|
67
|
-
`, [(0, fade_in_scale_up_cssr_1.
|
|
61
|
+
`, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)()]), (0, cssr_1.cB)('image-preview', `
|
|
68
62
|
user-select: none;
|
|
69
63
|
pointer-events: all;
|
|
70
64
|
margin: auto;
|
package/lib/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/lib/input/src/Input.js
CHANGED
|
@@ -738,7 +738,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
738
738
|
}, 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 });
|
|
739
739
|
},
|
|
740
740
|
render() {
|
|
741
|
-
const { mergedClsPrefix, mergedStatus, themeClass, onRender
|
|
741
|
+
const { mergedClsPrefix, mergedStatus, themeClass, onRender } = this;
|
|
742
|
+
const $slots = this.$slots;
|
|
742
743
|
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
743
744
|
return ((0, vue_1.h)("div", { ref: "wrapperElRef", class: [
|
|
744
745
|
`${mergedClsPrefix}-input`,
|
|
@@ -801,8 +802,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
801
802
|
this.showCount ||
|
|
802
803
|
this.mergedShowPasswordOn ||
|
|
803
804
|
this.loading !== undefined ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-input__suffix` }, [
|
|
804
|
-
(0, _utils_1.resolveWrappedSlot)($slots
|
|
805
|
-
return ((this.clearable || children) && ((0, vue_1.h)(_internal_1.NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
805
|
+
(0, _utils_1.resolveWrappedSlot)($slots['clear-icon-placeholder'], (children) => {
|
|
806
|
+
return ((this.clearable || children) && ((0, vue_1.h)(_internal_1.NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
807
|
+
placeholder: () => children,
|
|
808
|
+
icon: () => { var _a, _b; return (_b = (_a = this.$slots)['clear-icon']) === null || _b === void 0 ? void 0 : _b.call(_a); }
|
|
809
|
+
})));
|
|
806
810
|
}),
|
|
807
811
|
!this.internalLoadingBeforeSuffix ? children : null,
|
|
808
812
|
this.loading !== undefined ? ((0, vue_1.h)(_internal_1.NBaseSuffix, { clsPrefix: mergedClsPrefix, loading: this.loading, showArrow: false, showClear: false, style: this.cssVars })) : null,
|
|
@@ -810,13 +814,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
810
814
|
this.showCount && this.type !== 'textarea' ? ((0, vue_1.h)(WordCount_1.default, null, {
|
|
811
815
|
default: (props) => { var _a; return (_a = $slots.count) === null || _a === void 0 ? void 0 : _a.call($slots, props); }
|
|
812
816
|
})) : null,
|
|
813
|
-
this.mergedShowPasswordOn && this.type === 'password' ? ((0, vue_1.h)(
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
817
|
+
this.mergedShowPasswordOn && this.type === 'password' ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-input__eye`, onMousedown: this.handlePasswordToggleMousedown, onClick: this.handlePasswordToggleClick }, this.passwordVisible
|
|
818
|
+
? (0, _utils_1.resolveSlot)($slots['password-visible-icon'], () => [
|
|
819
|
+
(0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => (0, vue_1.h)(icons_1.EyeIcon, null) })
|
|
820
|
+
])
|
|
821
|
+
: (0, _utils_1.resolveSlot)($slots['password-invisible-icon'], () => [
|
|
822
|
+
(0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => (0, vue_1.h)(icons_1.EyeOffIcon, null) })
|
|
823
|
+
]))) : null
|
|
820
824
|
])) : null;
|
|
821
825
|
})),
|
|
822
826
|
this.pair ? ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-input__separator` }, (0, _utils_1.resolveSlot)($slots.separator, () => [this.separator]))) : null,
|
|
@@ -829,7 +833,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
829
833
|
(0, vue_1.h)("span", null, this.mergedPlaceholder[1]))) : null),
|
|
830
834
|
(0, _utils_1.resolveWrappedSlot)($slots.suffix, (children) => {
|
|
831
835
|
return ((this.clearable || children) && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-input__suffix` }, [
|
|
832
|
-
this.clearable && ((0, vue_1.h)(_internal_1.NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
836
|
+
this.clearable && ((0, vue_1.h)(_internal_1.NBaseClear, { clsPrefix: mergedClsPrefix, show: this.showClearButton, onClear: this.handleClear }, {
|
|
837
|
+
icon: () => { var _a; return (_a = $slots['clear-icon']) === null || _a === void 0 ? void 0 : _a.call($slots); },
|
|
838
|
+
placeholder: () => { var _a; return (_a = $slots['clear-icon-placeholder']) === null || _a === void 0 ? void 0 : _a.call($slots); }
|
|
839
|
+
})),
|
|
833
840
|
children
|
|
834
841
|
])));
|
|
835
842
|
}))) : null,
|
|
@@ -197,11 +197,7 @@ exports.default = (0, cssr_1.cB)('input', `
|
|
|
197
197
|
color: var(--n-icon-color-hover);
|
|
198
198
|
`), (0, cssr_1.c)('&:active', `
|
|
199
199
|
color: var(--n-icon-color-pressed);
|
|
200
|
-
`), (0, cssr_1.
|
|
201
|
-
color: var(--n-icon-color-hover);
|
|
202
|
-
`), (0, cssr_1.c)('&:active', `
|
|
203
|
-
color: var(--n-icon-color-pressed);
|
|
204
|
-
`)])]), (0, cssr_1.c)('&:hover', [(0, cssr_1.cE)('state-border', 'border: var(--n-border-hover);')]), (0, cssr_1.cM)('focus', 'background-color: var(--n-color-focus);', [(0, cssr_1.cE)('state-border', `
|
|
200
|
+
`)]), (0, cssr_1.c)('&:hover', [(0, cssr_1.cE)('state-border', 'border: var(--n-border-hover);')]), (0, cssr_1.cM)('focus', 'background-color: var(--n-color-focus);', [(0, cssr_1.cE)('state-border', `
|
|
205
201
|
border: var(--n-border-focus);
|
|
206
202
|
box-shadow: var(--n-box-shadow-focus);
|
|
207
203
|
`)])]), (0, cssr_1.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,18 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
4
|
-
return mod && mod.__esModule ? mod : {
|
|
5
|
-
"default": mod
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
|
|
9
3
|
Object.defineProperty(exports, "__esModule", {
|
|
10
4
|
value: true
|
|
11
5
|
});
|
|
12
6
|
|
|
13
7
|
const cssr_1 = require("../../../_utils/cssr");
|
|
14
8
|
|
|
15
|
-
const fade_in_cssr_1 =
|
|
9
|
+
const fade_in_cssr_1 = require("../../../_styles/transitions/fade-in.cssr"); // vars:
|
|
16
10
|
// --n-height
|
|
17
11
|
// --n-color-loading
|
|
18
12
|
// --n-color-error
|
|
@@ -25,7 +19,7 @@ exports.default = (0, cssr_1.cB)('loading-bar-container', `
|
|
|
25
19
|
left: 0;
|
|
26
20
|
right: 0;
|
|
27
21
|
height: 2px;
|
|
28
|
-
`, [(0, fade_in_cssr_1.
|
|
22
|
+
`, [(0, fade_in_cssr_1.fadeInTransition)({
|
|
29
23
|
enterDuration: '0.3s',
|
|
30
24
|
leaveDuration: '0.8s'
|
|
31
25
|
}), (0, cssr_1.cB)('loading-bar', `
|