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
|
@@ -142,12 +142,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
142
|
borderRadius: string;
|
|
143
143
|
borderRadiusSmall: string;
|
|
144
144
|
fontSize: string;
|
|
145
|
+
fontSizeMini: string;
|
|
145
146
|
fontSizeTiny: string;
|
|
146
147
|
fontSizeSmall: string;
|
|
147
148
|
fontSizeMedium: string;
|
|
148
149
|
fontSizeLarge: string;
|
|
149
150
|
fontSizeHuge: string;
|
|
150
151
|
lineHeight: string;
|
|
152
|
+
heightMini: string;
|
|
151
153
|
heightTiny: string;
|
|
152
154
|
heightSmall: string;
|
|
153
155
|
heightMedium: string;
|
|
@@ -167,12 +167,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
167
|
borderRadius: string;
|
|
168
168
|
borderRadiusSmall: string;
|
|
169
169
|
fontSize: string;
|
|
170
|
+
fontSizeMini: string;
|
|
170
171
|
fontSizeTiny: string;
|
|
171
172
|
fontSizeSmall: string;
|
|
172
173
|
fontSizeMedium: string;
|
|
173
174
|
fontSizeLarge: string;
|
|
174
175
|
fontSizeHuge: string;
|
|
175
176
|
lineHeight: string;
|
|
177
|
+
heightMini: string;
|
|
176
178
|
heightTiny: string;
|
|
177
179
|
heightSmall: string;
|
|
178
180
|
heightMedium: string;
|
|
@@ -136,12 +136,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
136
|
borderRadius: string;
|
|
137
137
|
borderRadiusSmall: string;
|
|
138
138
|
fontSize: string;
|
|
139
|
+
fontSizeMini: string;
|
|
139
140
|
fontSizeTiny: string;
|
|
140
141
|
fontSizeSmall: string;
|
|
141
142
|
fontSizeMedium: string;
|
|
142
143
|
fontSizeLarge: string;
|
|
143
144
|
fontSizeHuge: string;
|
|
144
145
|
lineHeight: string;
|
|
146
|
+
heightMini: string;
|
|
145
147
|
heightTiny: string;
|
|
146
148
|
heightSmall: string;
|
|
147
149
|
heightMedium: string;
|
|
@@ -167,12 +167,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
167
167
|
borderRadius: string;
|
|
168
168
|
borderRadiusSmall: string;
|
|
169
169
|
fontSize: string;
|
|
170
|
+
fontSizeMini: string;
|
|
170
171
|
fontSizeTiny: string;
|
|
171
172
|
fontSizeSmall: string;
|
|
172
173
|
fontSizeMedium: string;
|
|
173
174
|
fontSizeLarge: string;
|
|
174
175
|
fontSizeHuge: string;
|
|
175
176
|
lineHeight: string;
|
|
177
|
+
heightMini: string;
|
|
176
178
|
heightTiny: string;
|
|
177
179
|
heightSmall: string;
|
|
178
180
|
heightMedium: string;
|
|
@@ -144,12 +144,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
144
144
|
borderRadius: string;
|
|
145
145
|
borderRadiusSmall: string;
|
|
146
146
|
fontSize: string;
|
|
147
|
+
fontSizeMini: string;
|
|
147
148
|
fontSizeTiny: string;
|
|
148
149
|
fontSizeSmall: string;
|
|
149
150
|
fontSizeMedium: string;
|
|
150
151
|
fontSizeLarge: string;
|
|
151
152
|
fontSizeHuge: string;
|
|
152
153
|
lineHeight: string;
|
|
154
|
+
heightMini: string;
|
|
153
155
|
heightTiny: string;
|
|
154
156
|
heightSmall: string;
|
|
155
157
|
heightMedium: string;
|
|
@@ -174,12 +174,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
174
174
|
borderRadius: string;
|
|
175
175
|
borderRadiusSmall: string;
|
|
176
176
|
fontSize: string;
|
|
177
|
+
fontSizeMini: string;
|
|
177
178
|
fontSizeTiny: string;
|
|
178
179
|
fontSizeSmall: string;
|
|
179
180
|
fontSizeMedium: string;
|
|
180
181
|
fontSizeLarge: string;
|
|
181
182
|
fontSizeHuge: string;
|
|
182
183
|
lineHeight: string;
|
|
184
|
+
heightMini: string;
|
|
183
185
|
heightTiny: string;
|
|
184
186
|
heightSmall: string;
|
|
185
187
|
heightMedium: string;
|
|
@@ -224,12 +224,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
224
224
|
borderRadius: string;
|
|
225
225
|
borderRadiusSmall: string;
|
|
226
226
|
fontSize: string;
|
|
227
|
+
fontSizeMini: string;
|
|
227
228
|
fontSizeTiny: string;
|
|
228
229
|
fontSizeSmall: string;
|
|
229
230
|
fontSizeMedium: string;
|
|
230
231
|
fontSizeLarge: string;
|
|
231
232
|
fontSizeHuge: string;
|
|
232
233
|
lineHeight: string;
|
|
234
|
+
heightMini: string;
|
|
233
235
|
heightTiny: string;
|
|
234
236
|
heightSmall: string;
|
|
235
237
|
heightMedium: string;
|
|
@@ -1388,12 +1390,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1388
1390
|
borderRadius: string;
|
|
1389
1391
|
borderRadiusSmall: string;
|
|
1390
1392
|
fontSize: string;
|
|
1393
|
+
fontSizeMini: string;
|
|
1391
1394
|
fontSizeTiny: string;
|
|
1392
1395
|
fontSizeSmall: string;
|
|
1393
1396
|
fontSizeMedium: string;
|
|
1394
1397
|
fontSizeLarge: string;
|
|
1395
1398
|
fontSizeHuge: string;
|
|
1396
1399
|
lineHeight: string;
|
|
1400
|
+
heightMini: string;
|
|
1397
1401
|
heightTiny: string;
|
|
1398
1402
|
heightSmall: string;
|
|
1399
1403
|
heightMedium: string;
|
|
@@ -142,12 +142,14 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
142
142
|
borderRadius: string;
|
|
143
143
|
borderRadiusSmall: string;
|
|
144
144
|
fontSize: string;
|
|
145
|
+
fontSizeMini: string;
|
|
145
146
|
fontSizeTiny: string;
|
|
146
147
|
fontSizeSmall: string;
|
|
147
148
|
fontSizeMedium: string;
|
|
148
149
|
fontSizeLarge: string;
|
|
149
150
|
fontSizeHuge: string;
|
|
150
151
|
lineHeight: string;
|
|
152
|
+
heightMini: string;
|
|
151
153
|
heightTiny: string;
|
|
152
154
|
heightSmall: string;
|
|
153
155
|
heightMedium: string;
|
|
@@ -173,12 +173,14 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
173
173
|
borderRadius: string;
|
|
174
174
|
borderRadiusSmall: string;
|
|
175
175
|
fontSize: string;
|
|
176
|
+
fontSizeMini: string;
|
|
176
177
|
fontSizeTiny: string;
|
|
177
178
|
fontSizeSmall: string;
|
|
178
179
|
fontSizeMedium: string;
|
|
179
180
|
fontSizeLarge: string;
|
|
180
181
|
fontSizeHuge: string;
|
|
181
182
|
lineHeight: string;
|
|
183
|
+
heightMini: string;
|
|
182
184
|
heightTiny: string;
|
|
183
185
|
heightSmall: string;
|
|
184
186
|
heightMedium: string;
|
|
@@ -116,12 +116,14 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
116
116
|
borderRadius: string;
|
|
117
117
|
borderRadiusSmall: string;
|
|
118
118
|
fontSize: string;
|
|
119
|
+
fontSizeMini: string;
|
|
119
120
|
fontSizeTiny: string;
|
|
120
121
|
fontSizeSmall: string;
|
|
121
122
|
fontSizeMedium: string;
|
|
122
123
|
fontSizeLarge: string;
|
|
123
124
|
fontSizeHuge: string;
|
|
124
125
|
lineHeight: string;
|
|
126
|
+
heightMini: string;
|
|
125
127
|
heightTiny: string;
|
|
126
128
|
heightSmall: string;
|
|
127
129
|
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_scale_up_cssr_1 =
|
|
9
|
+
const fade_in_scale_up_cssr_1 = require("../../../_styles/transitions/fade-in-scale-up.cssr"); // vars:
|
|
16
10
|
// --n-bezier
|
|
17
11
|
// --n-icon-color
|
|
18
12
|
// --n-icon-color-disabled
|
|
@@ -69,8 +63,13 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('date-picker', `
|
|
|
69
63
|
`, [(0, cssr_1.cB)('date-picker-icon', `
|
|
70
64
|
color: var(--n-icon-color);
|
|
71
65
|
transition: color .3s var(--n-bezier);
|
|
66
|
+
`), (0, cssr_1.cB)('icon', `
|
|
67
|
+
color: var(--n-icon-color);
|
|
68
|
+
transition: color .3s var(--n-bezier);
|
|
72
69
|
`), (0, cssr_1.cM)('disabled', [(0, cssr_1.cB)('date-picker-icon', `
|
|
73
70
|
color: var(--n-icon-color-disabled);
|
|
71
|
+
`), (0, cssr_1.cB)('icon', `
|
|
72
|
+
color: var(--n-icon-color-disabled);
|
|
74
73
|
`)])]), (0, cssr_1.cB)('date-panel', `
|
|
75
74
|
outline: none;
|
|
76
75
|
margin: 4px 0;
|
|
@@ -80,7 +79,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('date-picker', `
|
|
|
80
79
|
background-color: var(--n-panel-color);
|
|
81
80
|
box-shadow: var(--n-panel-box-shadow);
|
|
82
81
|
color: var(--n-panel-text-color);
|
|
83
|
-
`, [(0, fade_in_scale_up_cssr_1.
|
|
82
|
+
`, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)(), (0, cssr_1.cB)('date-panel-calendar', {
|
|
84
83
|
padding: 'var(--n-calendar-left-padding)',
|
|
85
84
|
display: 'grid',
|
|
86
85
|
gridTemplateColumns: '1fr',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NDateLocale } from '../../locales';
|
|
2
2
|
import { Value } from './interface';
|
|
3
3
|
declare function getDerivedTimeFromKeyboardEvent(prevValue: number | null, event: KeyboardEvent): number;
|
|
4
4
|
export interface DateItem {
|
|
@@ -54,7 +54,7 @@ declare function monthArray(yearAnchorTs: number, valueTs: number | null, curren
|
|
|
54
54
|
declare function quarterArray(quarterTs: number, valueTs: number | null, currentTs: number): QuarterItem[];
|
|
55
55
|
declare function yearArray(valueTs: number | null, currentTs: number): YearItem[];
|
|
56
56
|
declare function strictParse(string: string, pattern: string, backup: Date, option: {
|
|
57
|
-
locale:
|
|
57
|
+
locale: NDateLocale['locale'];
|
|
58
58
|
}): Date;
|
|
59
59
|
declare function getDefaultTime(timeValue: string | undefined): {
|
|
60
60
|
hours: number;
|
|
@@ -817,12 +817,14 @@ export declare const NDialog: import("vue").DefineComponent<{
|
|
|
817
817
|
borderRadius: string;
|
|
818
818
|
borderRadiusSmall: string;
|
|
819
819
|
fontSize: string;
|
|
820
|
+
fontSizeMini: string;
|
|
820
821
|
fontSizeTiny: string;
|
|
821
822
|
fontSizeSmall: string;
|
|
822
823
|
fontSizeMedium: string;
|
|
823
824
|
fontSizeLarge: string;
|
|
824
825
|
fontSizeHuge: string;
|
|
825
826
|
lineHeight: string;
|
|
827
|
+
heightMini: string;
|
|
826
828
|
heightTiny: string;
|
|
827
829
|
heightSmall: string;
|
|
828
830
|
heightMedium: string;
|
|
@@ -362,12 +362,14 @@ export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
|
362
362
|
borderRadius: string;
|
|
363
363
|
borderRadiusSmall: string;
|
|
364
364
|
fontSize: string;
|
|
365
|
+
fontSizeMini: string;
|
|
365
366
|
fontSizeTiny: string;
|
|
366
367
|
fontSizeSmall: string;
|
|
367
368
|
fontSizeMedium: string;
|
|
368
369
|
fontSizeLarge: string;
|
|
369
370
|
fontSizeHuge: string;
|
|
370
371
|
lineHeight: string;
|
|
372
|
+
heightMini: string;
|
|
371
373
|
heightTiny: string;
|
|
372
374
|
heightSmall: string;
|
|
373
375
|
heightMedium: string;
|
|
@@ -697,12 +699,14 @@ export declare const NDialogProvider: import("vue").DefineComponent<{
|
|
|
697
699
|
borderRadius: string;
|
|
698
700
|
borderRadiusSmall: string;
|
|
699
701
|
fontSize: string;
|
|
702
|
+
fontSizeMini: string;
|
|
700
703
|
fontSizeTiny: string;
|
|
701
704
|
fontSizeSmall: string;
|
|
702
705
|
fontSizeMedium: string;
|
|
703
706
|
fontSizeLarge: string;
|
|
704
707
|
fontSizeHuge: string;
|
|
705
708
|
lineHeight: string;
|
|
709
|
+
heightMini: string;
|
|
706
710
|
heightTiny: string;
|
|
707
711
|
heightSmall: string;
|
|
708
712
|
heightMedium: string;
|
|
@@ -362,12 +362,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
362
362
|
borderRadius: string;
|
|
363
363
|
borderRadiusSmall: string;
|
|
364
364
|
fontSize: string;
|
|
365
|
+
fontSizeMini: string;
|
|
365
366
|
fontSizeTiny: string;
|
|
366
367
|
fontSizeSmall: string;
|
|
367
368
|
fontSizeMedium: string;
|
|
368
369
|
fontSizeLarge: string;
|
|
369
370
|
fontSizeHuge: string;
|
|
370
371
|
lineHeight: string;
|
|
372
|
+
heightMini: string;
|
|
371
373
|
heightTiny: string;
|
|
372
374
|
heightSmall: string;
|
|
373
375
|
heightMedium: string;
|
|
@@ -131,12 +131,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
131
|
borderRadius: string;
|
|
132
132
|
borderRadiusSmall: string;
|
|
133
133
|
fontSize: string;
|
|
134
|
+
fontSizeMini: string;
|
|
134
135
|
fontSizeTiny: string;
|
|
135
136
|
fontSizeSmall: string;
|
|
136
137
|
fontSizeMedium: string;
|
|
137
138
|
fontSizeLarge: string;
|
|
138
139
|
fontSizeHuge: string;
|
|
139
140
|
lineHeight: string;
|
|
141
|
+
heightMini: string;
|
|
140
142
|
heightTiny: string;
|
|
141
143
|
heightSmall: string;
|
|
142
144
|
heightMedium: string;
|
|
@@ -123,12 +123,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
123
123
|
borderRadius: string;
|
|
124
124
|
borderRadiusSmall: string;
|
|
125
125
|
fontSize: string;
|
|
126
|
+
fontSizeMini: string;
|
|
126
127
|
fontSizeTiny: string;
|
|
127
128
|
fontSizeSmall: string;
|
|
128
129
|
fontSizeMedium: string;
|
|
129
130
|
fontSizeLarge: string;
|
|
130
131
|
fontSizeHuge: string;
|
|
131
132
|
lineHeight: string;
|
|
133
|
+
heightMini: string;
|
|
132
134
|
heightTiny: string;
|
|
133
135
|
heightSmall: string;
|
|
134
136
|
heightMedium: string;
|
|
@@ -1,26 +1,20 @@
|
|
|
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 slide_in_from_right_1 =
|
|
9
|
+
const slide_in_from_right_1 = require("../../../_styles/transitions/slide-in-from-right");
|
|
16
10
|
|
|
17
|
-
const slide_in_from_left_1 =
|
|
11
|
+
const slide_in_from_left_1 = require("../../../_styles/transitions/slide-in-from-left");
|
|
18
12
|
|
|
19
|
-
const slide_in_from_top_1 =
|
|
13
|
+
const slide_in_from_top_1 = require("../../../_styles/transitions/slide-in-from-top");
|
|
20
14
|
|
|
21
|
-
const slide_in_from_bottom_1 =
|
|
15
|
+
const slide_in_from_bottom_1 = require("../../../_styles/transitions/slide-in-from-bottom");
|
|
22
16
|
|
|
23
|
-
const fade_in_cssr_1 =
|
|
17
|
+
const fade_in_cssr_1 = require("../../../_styles/transitions/fade-in.cssr"); // vars:
|
|
24
18
|
// --n-line-height
|
|
25
19
|
// --n-color
|
|
26
20
|
// --n-text-color
|
|
@@ -53,7 +47,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('drawer', `
|
|
|
53
47
|
background-color: var(--n-color);
|
|
54
48
|
color: var(--n-text-color);
|
|
55
49
|
box-sizing: border-box;
|
|
56
|
-
`, [(0, slide_in_from_right_1.
|
|
50
|
+
`, [(0, slide_in_from_right_1.slideInFromRightTransition)(), (0, slide_in_from_left_1.slideInFromLeftTransition)(), (0, slide_in_from_top_1.slideInFromTopTransition)(), (0, slide_in_from_bottom_1.slideInFromBottomTransition)(), (0, cssr_1.cM)('native-scrollbar', [(0, cssr_1.cB)('drawer-content-wrapper', `
|
|
57
51
|
overflow: auto;
|
|
58
52
|
height: 100%;
|
|
59
53
|
`)]), (0, cssr_1.cB)('drawer-content-wrapper', `
|
|
@@ -129,7 +123,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('drawer', `
|
|
|
129
123
|
bottom: 0;
|
|
130
124
|
`, [(0, cssr_1.cM)('invisible', `
|
|
131
125
|
background-color: rgba(0, 0, 0, 0)
|
|
132
|
-
`), (0, fade_in_cssr_1.
|
|
126
|
+
`), (0, fade_in_cssr_1.fadeInTransition)({
|
|
133
127
|
enterDuration: '0.2s',
|
|
134
128
|
leaveDuration: '0.2s',
|
|
135
129
|
enterCubicBezier: 'var(--n-bezier-in)',
|
|
@@ -750,12 +750,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
750
750
|
borderRadius: string;
|
|
751
751
|
borderRadiusSmall: string;
|
|
752
752
|
fontSize: string;
|
|
753
|
+
fontSizeMini: string;
|
|
753
754
|
fontSizeTiny: string;
|
|
754
755
|
fontSizeSmall: string;
|
|
755
756
|
fontSizeMedium: string;
|
|
756
757
|
fontSizeLarge: string;
|
|
757
758
|
fontSizeHuge: string;
|
|
758
759
|
lineHeight: string;
|
|
760
|
+
heightMini: string;
|
|
759
761
|
heightTiny: string;
|
|
760
762
|
heightSmall: string;
|
|
761
763
|
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_scale_up_cssr_1 =
|
|
9
|
+
const fade_in_scale_up_cssr_1 = require("../../../_styles/transitions/fade-in-scale-up.cssr"); // vars:
|
|
16
10
|
// --n-bezier
|
|
17
11
|
// --n-font-size
|
|
18
12
|
// --n-padding
|
|
@@ -47,7 +41,7 @@ exports.default = (0, cssr_1.cB)('dropdown-menu', `
|
|
|
47
41
|
transition:
|
|
48
42
|
background-color .3s var(--n-bezier),
|
|
49
43
|
box-shadow .3s var(--n-bezier);
|
|
50
|
-
`, [(0, fade_in_scale_up_cssr_1.
|
|
44
|
+
`, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)(), (0, cssr_1.cB)('dropdown-option', `
|
|
51
45
|
position: relative;
|
|
52
46
|
`, [(0, cssr_1.c)('a', `
|
|
53
47
|
text-decoration: none;
|
|
@@ -1800,12 +1800,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1800
1800
|
borderRadius: string;
|
|
1801
1801
|
borderRadiusSmall: string;
|
|
1802
1802
|
fontSize: string;
|
|
1803
|
+
fontSizeMini: string;
|
|
1803
1804
|
fontSizeTiny: string;
|
|
1804
1805
|
fontSizeSmall: string;
|
|
1805
1806
|
fontSizeMedium: string;
|
|
1806
1807
|
fontSizeLarge: string;
|
|
1807
1808
|
fontSizeHuge: string;
|
|
1808
1809
|
lineHeight: string;
|
|
1810
|
+
heightMini: string;
|
|
1809
1811
|
heightTiny: string;
|
|
1810
1812
|
heightSmall: string;
|
|
1811
1813
|
heightMedium: string;
|
|
@@ -105,12 +105,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
105
|
borderRadius: string;
|
|
106
106
|
borderRadiusSmall: string;
|
|
107
107
|
fontSize: string;
|
|
108
|
+
fontSizeMini: string;
|
|
108
109
|
fontSizeTiny: string;
|
|
109
110
|
fontSizeSmall: string;
|
|
110
111
|
fontSizeMedium: string;
|
|
111
112
|
fontSizeLarge: string;
|
|
112
113
|
fontSizeHuge: string;
|
|
113
114
|
lineHeight: string;
|
|
115
|
+
heightMini: string;
|
|
114
116
|
heightTiny: string;
|
|
115
117
|
heightSmall: string;
|
|
116
118
|
heightMedium: string;
|
|
@@ -114,12 +114,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
114
114
|
borderRadius: string;
|
|
115
115
|
borderRadiusSmall: string;
|
|
116
116
|
fontSize: string;
|
|
117
|
+
fontSizeMini: string;
|
|
117
118
|
fontSizeTiny: string;
|
|
118
119
|
fontSizeSmall: string;
|
|
119
120
|
fontSizeMedium: string;
|
|
120
121
|
fontSizeLarge: string;
|
|
121
122
|
fontSizeHuge: string;
|
|
122
123
|
lineHeight: string;
|
|
124
|
+
heightMini: string;
|
|
123
125
|
heightTiny: string;
|
|
124
126
|
heightSmall: string;
|
|
125
127
|
heightMedium: string;
|