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
|
@@ -1453,12 +1453,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1453
1453
|
borderRadius: string;
|
|
1454
1454
|
borderRadiusSmall: string;
|
|
1455
1455
|
fontSize: string;
|
|
1456
|
+
fontSizeMini: string;
|
|
1456
1457
|
fontSizeTiny: string;
|
|
1457
1458
|
fontSizeSmall: string;
|
|
1458
1459
|
fontSizeMedium: string;
|
|
1459
1460
|
fontSizeLarge: string;
|
|
1460
1461
|
fontSizeHuge: string;
|
|
1461
1462
|
lineHeight: string;
|
|
1463
|
+
heightMini: string;
|
|
1462
1464
|
heightTiny: string;
|
|
1463
1465
|
heightSmall: string;
|
|
1464
1466
|
heightMedium: string;
|
|
@@ -133,12 +133,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
133
133
|
borderRadius: string;
|
|
134
134
|
borderRadiusSmall: string;
|
|
135
135
|
fontSize: string;
|
|
136
|
+
fontSizeMini: string;
|
|
136
137
|
fontSizeTiny: string;
|
|
137
138
|
fontSizeSmall: string;
|
|
138
139
|
fontSizeMedium: string;
|
|
139
140
|
fontSizeLarge: string;
|
|
140
141
|
fontSizeHuge: string;
|
|
141
142
|
lineHeight: string;
|
|
143
|
+
heightMini: string;
|
|
142
144
|
heightTiny: string;
|
|
143
145
|
heightSmall: string;
|
|
144
146
|
heightMedium: string;
|
|
@@ -109,12 +109,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
borderRadius: string;
|
|
110
110
|
borderRadiusSmall: string;
|
|
111
111
|
fontSize: string;
|
|
112
|
+
fontSizeMini: string;
|
|
112
113
|
fontSizeTiny: string;
|
|
113
114
|
fontSizeSmall: string;
|
|
114
115
|
fontSizeMedium: string;
|
|
115
116
|
fontSizeLarge: string;
|
|
116
117
|
fontSizeHuge: string;
|
|
117
118
|
lineHeight: string;
|
|
119
|
+
heightMini: string;
|
|
118
120
|
heightTiny: string;
|
|
119
121
|
heightSmall: string;
|
|
120
122
|
heightMedium: string;
|
|
@@ -121,12 +121,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
121
|
borderRadius: string;
|
|
122
122
|
borderRadiusSmall: string;
|
|
123
123
|
fontSize: string;
|
|
124
|
+
fontSizeMini: string;
|
|
124
125
|
fontSizeTiny: string;
|
|
125
126
|
fontSizeSmall: string;
|
|
126
127
|
fontSizeMedium: string;
|
|
127
128
|
fontSizeLarge: string;
|
|
128
129
|
fontSizeHuge: string;
|
|
129
130
|
lineHeight: string;
|
|
131
|
+
heightMini: string;
|
|
130
132
|
heightTiny: string;
|
|
131
133
|
heightSmall: string;
|
|
132
134
|
heightMedium: string;
|
|
@@ -102,12 +102,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
borderRadius: string;
|
|
103
103
|
borderRadiusSmall: string;
|
|
104
104
|
fontSize: string;
|
|
105
|
+
fontSizeMini: string;
|
|
105
106
|
fontSizeTiny: string;
|
|
106
107
|
fontSizeSmall: string;
|
|
107
108
|
fontSizeMedium: string;
|
|
108
109
|
fontSizeLarge: string;
|
|
109
110
|
fontSizeHuge: string;
|
|
110
111
|
lineHeight: string;
|
|
112
|
+
heightMini: string;
|
|
111
113
|
heightTiny: string;
|
|
112
114
|
heightSmall: string;
|
|
113
115
|
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-menu-border-radius
|
|
17
11
|
// --n-menu-box-shadow
|
|
18
12
|
// --n-menu-height
|
|
@@ -41,7 +35,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('cascader-menu', `
|
|
|
41
35
|
box-shadow: var(--n-menu-box-shadow);
|
|
42
36
|
color: var(--n-option-text-color);
|
|
43
37
|
background-color: var(--n-menu-color);
|
|
44
|
-
`, [(0, fade_in_scale_up_cssr_1.
|
|
38
|
+
`, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)({
|
|
45
39
|
transformOrigin: 'inherit',
|
|
46
40
|
duration: '0.2s'
|
|
47
41
|
}), (0, cssr_1.cE)('empty', `
|
|
@@ -121,7 +115,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('cascader-menu', `
|
|
|
121
115
|
fontSize: '16px'
|
|
122
116
|
}, [(0, cssr_1.cB)('cascader-option-icon', [(0, cssr_1.cM)('checkmark', {
|
|
123
117
|
color: 'var(--n-option-check-mark-color)'
|
|
124
|
-
}, [(0, fade_in_scale_up_cssr_1.
|
|
118
|
+
}, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)()]), (0, cssr_1.cM)('arrow', {
|
|
125
119
|
color: 'var(--n-option-arrow-color)'
|
|
126
120
|
})])]), (0, cssr_1.cM)('selected', {
|
|
127
121
|
color: 'var(--n-option-text-color-active)'
|
|
@@ -339,12 +339,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
339
339
|
borderRadius: string;
|
|
340
340
|
borderRadiusSmall: string;
|
|
341
341
|
fontSize: string;
|
|
342
|
+
fontSizeMini: string;
|
|
342
343
|
fontSizeTiny: string;
|
|
343
344
|
fontSizeSmall: string;
|
|
344
345
|
fontSizeMedium: string;
|
|
345
346
|
fontSizeLarge: string;
|
|
346
347
|
fontSizeHuge: string;
|
|
347
348
|
lineHeight: string;
|
|
349
|
+
heightMini: string;
|
|
348
350
|
heightTiny: string;
|
|
349
351
|
heightSmall: string;
|
|
350
352
|
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 icon_switch_cssr_1 =
|
|
9
|
+
const icon_switch_cssr_1 = require("../../../_styles/transitions/icon-switch.cssr"); // vars:
|
|
16
10
|
// --n-label-line-height
|
|
17
11
|
// --n-bezier
|
|
18
12
|
// --n-size
|
|
@@ -141,7 +135,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('checkbox', `
|
|
|
141
135
|
transform 0.3s var(--n-bezier),
|
|
142
136
|
opacity 0.3s var(--n-bezier),
|
|
143
137
|
border-color 0.3s var(--n-bezier);
|
|
144
|
-
`), (0, icon_switch_cssr_1.
|
|
138
|
+
`), (0, icon_switch_cssr_1.iconSwitchTransition)({
|
|
145
139
|
left: '1px',
|
|
146
140
|
top: '1px'
|
|
147
141
|
})])]), (0, cssr_1.cE)('label', `
|
|
@@ -210,12 +210,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
210
210
|
borderRadius: string;
|
|
211
211
|
borderRadiusSmall: string;
|
|
212
212
|
fontSize: string;
|
|
213
|
+
fontSizeMini: string;
|
|
213
214
|
fontSizeTiny: string;
|
|
214
215
|
fontSizeSmall: string;
|
|
215
216
|
fontSizeMedium: string;
|
|
216
217
|
fontSizeLarge: string;
|
|
217
218
|
fontSizeHuge: string;
|
|
218
219
|
lineHeight: string;
|
|
220
|
+
heightMini: string;
|
|
219
221
|
heightTiny: string;
|
|
220
222
|
heightSmall: string;
|
|
221
223
|
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_height_expand_cssr_1 =
|
|
9
|
+
const fade_in_height_expand_cssr_1 = require("../../../_styles/transitions/fade-in-height-expand.cssr"); // vars:
|
|
16
10
|
// --n-font-size
|
|
17
11
|
// --n-bezier
|
|
18
12
|
// --n-text-color
|
|
@@ -42,7 +36,7 @@ exports.default = (0, cssr_1.cB)('collapse', {
|
|
|
42
36
|
marginLeft: '4px'
|
|
43
37
|
})])]), (0, cssr_1.cE)('content-wrapper', [(0, cssr_1.cE)('content-inner', {
|
|
44
38
|
paddingTop: '16px'
|
|
45
|
-
}), (0, fade_in_height_expand_cssr_1.
|
|
39
|
+
}), (0, fade_in_height_expand_cssr_1.fadeInHeightExpandTransition)({
|
|
46
40
|
duration: '0.15s'
|
|
47
41
|
})]), (0, cssr_1.cM)('active', [(0, cssr_1.cE)('header', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('collapse-item-arrow', {
|
|
48
42
|
transform: 'rotate(90deg)'
|
|
@@ -1,19 +1,13 @@
|
|
|
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_height_expand_cssr_1 =
|
|
9
|
+
const fade_in_height_expand_cssr_1 = require("../../../_styles/transitions/fade-in-height-expand.cssr");
|
|
16
10
|
|
|
17
11
|
exports.default = (0, cssr_1.cB)('collapse-transition', {
|
|
18
12
|
width: '100%'
|
|
19
|
-
}, [(0, fade_in_height_expand_cssr_1.
|
|
13
|
+
}, [(0, fade_in_height_expand_cssr_1.fadeInHeightExpandTransition)()]);
|
|
@@ -104,12 +104,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
borderRadius: string;
|
|
105
105
|
borderRadiusSmall: string;
|
|
106
106
|
fontSize: string;
|
|
107
|
+
fontSizeMini: string;
|
|
107
108
|
fontSizeTiny: string;
|
|
108
109
|
fontSizeSmall: string;
|
|
109
110
|
fontSizeMedium: string;
|
|
110
111
|
fontSizeLarge: string;
|
|
111
112
|
fontSizeHuge: string;
|
|
112
113
|
lineHeight: string;
|
|
114
|
+
heightMini: string;
|
|
113
115
|
heightTiny: string;
|
|
114
116
|
heightSmall: string;
|
|
115
117
|
heightMedium: string;
|
|
@@ -42,6 +42,7 @@ export declare const colorPickerPanelProps: {
|
|
|
42
42
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
43
43
|
readonly renderLabel: PropType<RenderLabel>;
|
|
44
44
|
readonly onComplete: PropType<OnUpdateValue>;
|
|
45
|
+
readonly onConfirm: PropType<OnUpdateValue>;
|
|
45
46
|
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
46
47
|
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
47
48
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
@@ -926,6 +927,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
926
927
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
927
928
|
readonly renderLabel: PropType<RenderLabel>;
|
|
928
929
|
readonly onComplete: PropType<OnUpdateValue>;
|
|
930
|
+
readonly onConfirm: PropType<OnUpdateValue>;
|
|
929
931
|
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
930
932
|
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
931
933
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
@@ -1836,6 +1838,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1836
1838
|
readonly size: PropType<"small" | "medium" | "large">;
|
|
1837
1839
|
readonly renderLabel: PropType<RenderLabel>;
|
|
1838
1840
|
readonly onComplete: PropType<OnUpdateValue>;
|
|
1841
|
+
readonly onConfirm: PropType<OnUpdateValue>;
|
|
1839
1842
|
readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
|
|
1840
1843
|
readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
|
|
1841
1844
|
readonly 'onUpdate:value': PropType<MaybeArray<OnUpdateValue>>;
|
|
@@ -42,7 +42,7 @@ exports.colorPickerPanelProps = Object.assign(Object.assign({}, _mixins_1.useThe
|
|
|
42
42
|
}, actions: {
|
|
43
43
|
type: Array,
|
|
44
44
|
default: null
|
|
45
|
-
}, internalActions: Array, size: String, renderLabel: Function, onComplete: Function, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array] });
|
|
45
|
+
}, internalActions: Array, size: String, renderLabel: Function, onComplete: Function, onConfirm: Function, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array] });
|
|
46
46
|
exports.default = (0, vue_1.defineComponent)({
|
|
47
47
|
name: 'ColorPicker',
|
|
48
48
|
props: exports.colorPickerPanelProps,
|
|
@@ -312,6 +312,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
312
312
|
valueIndexRef.value = valueIndex + 1;
|
|
313
313
|
}
|
|
314
314
|
function handleConfirm() {
|
|
315
|
+
const { value } = mergedValueRef;
|
|
316
|
+
const { onConfirm } = props;
|
|
317
|
+
if (onConfirm) {
|
|
318
|
+
;
|
|
319
|
+
onConfirm(value);
|
|
320
|
+
}
|
|
315
321
|
doUpdateShow(false);
|
|
316
322
|
}
|
|
317
323
|
const undoableRef = (0, vue_1.computed)(() => valueIndexRef.value >= 1);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { VNodeChild } from 'vue';
|
|
2
2
|
export declare type OnUpdateValue = (value: string & null) => void;
|
|
3
|
+
export declare type OnConfirm = OnUpdateValue;
|
|
3
4
|
export declare type OnUpdateValueImpl = (value: string | null) => void;
|
|
5
|
+
export declare type OnConfirmImpl = OnUpdateValueImpl;
|
|
4
6
|
export declare type RenderLabel = (value: string | null) => VNodeChild;
|
|
@@ -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-color
|
|
17
11
|
// --n-text-color
|
|
18
12
|
// --n-border-radius
|
|
@@ -43,7 +37,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('color-picker', `
|
|
|
43
37
|
background-color .3s var(--n-bezier);
|
|
44
38
|
border-radius: var(--n-border-radius);
|
|
45
39
|
box-shadow: var(--n-box-shadow);
|
|
46
|
-
`, [(0, fade_in_scale_up_cssr_1.
|
|
40
|
+
`, [(0, fade_in_scale_up_cssr_1.fadeInScaleUpTransition)(), (0, cssr_1.cB)('input', `
|
|
47
41
|
text-align: center;
|
|
48
42
|
`)]), (0, cssr_1.cB)('color-picker-checkboard', `
|
|
49
43
|
background: white;
|
|
@@ -134,6 +134,7 @@ export declare const configProviderProps: {
|
|
|
134
134
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
135
135
|
readonly icons: PropType<GlobalIconConfig>;
|
|
136
136
|
readonly breakpoints: PropType<Breakpoints>;
|
|
137
|
+
readonly preflightStyleDisabled: BooleanConstructor;
|
|
137
138
|
readonly inlineThemeDisabled: {
|
|
138
139
|
readonly type: BooleanConstructor;
|
|
139
140
|
readonly default: undefined;
|
|
@@ -275,6 +276,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
275
276
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
276
277
|
readonly icons: PropType<GlobalIconConfig>;
|
|
277
278
|
readonly breakpoints: PropType<Breakpoints>;
|
|
279
|
+
readonly preflightStyleDisabled: BooleanConstructor;
|
|
278
280
|
readonly inlineThemeDisabled: {
|
|
279
281
|
readonly type: BooleanConstructor;
|
|
280
282
|
readonly default: undefined;
|
|
@@ -420,6 +422,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
420
422
|
readonly componentOptions: PropType<GlobalComponentConfig>;
|
|
421
423
|
readonly icons: PropType<GlobalIconConfig>;
|
|
422
424
|
readonly breakpoints: PropType<Breakpoints>;
|
|
425
|
+
readonly preflightStyleDisabled: BooleanConstructor;
|
|
423
426
|
readonly inlineThemeDisabled: {
|
|
424
427
|
readonly type: BooleanConstructor;
|
|
425
428
|
readonly default: undefined;
|
|
@@ -434,6 +437,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
434
437
|
tag: string;
|
|
435
438
|
as: string | undefined;
|
|
436
439
|
bordered: boolean | undefined;
|
|
440
|
+
preflightStyleDisabled: boolean;
|
|
437
441
|
inlineThemeDisabled: boolean;
|
|
438
442
|
}>;
|
|
439
443
|
export default _default;
|
|
@@ -29,6 +29,7 @@ exports.configProviderProps = {
|
|
|
29
29
|
componentOptions: Object,
|
|
30
30
|
icons: Object,
|
|
31
31
|
breakpoints: Object,
|
|
32
|
+
preflightStyleDisabled: Boolean,
|
|
32
33
|
inlineThemeDisabled: {
|
|
33
34
|
type: Boolean,
|
|
34
35
|
default: undefined
|
|
@@ -130,6 +131,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
130
131
|
return props.breakpoints || (NConfigProvider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.mergedBreakpointsRef.value);
|
|
131
132
|
});
|
|
132
133
|
const inlineThemeDisabled = props.inlineThemeDisabled || (NConfigProvider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.inlineThemeDisabled);
|
|
134
|
+
const preflightStyleDisabled = props.preflightStyleDisabled || (NConfigProvider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.preflightStyleDisabled);
|
|
133
135
|
const mergedThemeHashRef = (0, vue_1.computed)(() => {
|
|
134
136
|
const { value: theme } = mergedThemeRef;
|
|
135
137
|
const { value: mergedThemeOverrides } = mergedThemeOverridesRef;
|
|
@@ -179,7 +181,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
179
181
|
}),
|
|
180
182
|
mergedThemeRef,
|
|
181
183
|
mergedThemeOverridesRef,
|
|
182
|
-
inlineThemeDisabled: inlineThemeDisabled || false
|
|
184
|
+
inlineThemeDisabled: inlineThemeDisabled || false,
|
|
185
|
+
preflightStyleDisabled: preflightStyleDisabled || false
|
|
183
186
|
});
|
|
184
187
|
return {
|
|
185
188
|
mergedClsPrefix: mergedClsPrefixRef,
|