naive-ui 2.20.0 → 2.21.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/select-menu/src/SelectMenu.d.ts +4 -1
- package/es/_internal/selection/src/Selection.d.ts +4 -1
- package/es/_internal/suffix/src/Suffix.d.ts +5 -2
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +5 -2
- package/es/_styles/global/index.cssr.js +9 -4
- package/es/_styles/transitions/icon-switch.cssr.js +6 -2
- package/es/_utils/naive/extract-public-props.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +3 -0
- package/es/alert/src/Alert.js +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -1
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/avatar/src/Avatar.d.ts +8 -1
- package/es/avatar/src/Avatar.js +41 -9
- package/es/avatar/src/styles/index.cssr.js +2 -2
- package/es/button/src/Button.d.ts +149 -52
- package/es/button/src/Button.js +131 -58
- package/es/button/src/interface.d.ts +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/dark.js +3 -0
- package/es/button/styles/light.d.ts +14 -5
- package/es/button/styles/light.js +10 -3
- package/es/calendar/src/Calendar.d.ts +143 -50
- package/es/calendar/styles/light.d.ts +14 -5
- package/es/card/src/Card.d.ts +3 -0
- package/es/cascader/src/Cascader.d.ts +3 -0
- package/es/cascader/src/Cascader.js +2 -2
- package/es/cascader/src/CascaderOption.d.ts +3 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/es/checkbox/src/Checkbox.d.ts +8 -5
- package/es/checkbox/src/Checkbox.js +8 -9
- package/es/collapse/src/Collapse.d.ts +3 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/es/color-picker/src/ColorPicker.d.ts +126 -45
- package/es/color-picker/styles/light.d.ts +14 -5
- package/es/data-table/src/DataTable.d.ts +183 -51
- package/es/data-table/src/DataTable.js +11 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/es/data-table/src/TableParts/Body.d.ts +25 -6
- package/es/data-table/src/TableParts/Body.js +60 -22
- package/es/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +40 -10
- package/es/data-table/src/TableParts/Header.d.ts +20 -5
- package/es/data-table/src/TableParts/Header.js +1 -1
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +8 -9
- package/es/data-table/styles/light.d.ts +20 -5
- package/es/data-table/styles/light.js +3 -3
- package/es/date-picker/src/DatePicker.d.ts +328 -127
- package/es/date-picker/src/DatePicker.js +7 -17
- package/es/date-picker/src/config.d.ts +9 -0
- package/es/date-picker/src/config.js +8 -0
- package/es/date-picker/src/panel/date.d.ts +51 -19
- package/es/date-picker/src/panel/daterange.d.ts +49 -17
- package/es/date-picker/src/panel/datetime.d.ts +51 -19
- package/es/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/es/date-picker/src/panel/month.d.ts +86 -60
- package/es/date-picker/src/panel/month.js +9 -6
- package/es/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/es/date-picker/src/panel/use-calendar.js +7 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/es/date-picker/src/panel/use-panel-common.d.ts +47 -15
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +32 -10
- package/es/dialog/src/Dialog.d.ts +104 -38
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +3 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/es/drawer/src/DrawerContent.d.ts +3 -0
- package/es/dropdown/index.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +5 -2
- package/es/dropdown/src/DropdownGroup.d.ts +2 -3
- package/es/dropdown/src/DropdownMenu.d.ts +3 -4
- package/es/dropdown/src/DropdownMenu.js +5 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -4
- package/es/dropdown/src/DropdownOption.js +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/es/dropdown/src/interface.d.ts +9 -30
- package/es/dropdown/src/utils.d.ts +1 -0
- package/es/dropdown/src/utils.js +10 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/es/dynamic-input/src/InputPreset.d.ts +17 -5
- package/es/dynamic-input/src/PairPreset.d.ts +17 -5
- package/es/dynamic-input/styles/light.d.ts +14 -5
- package/es/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/es/dynamic-tags/styles/light.d.ts +14 -5
- package/es/ellipsis/src/Ellipsis.d.ts +3 -0
- package/es/form/src/FormItemGridItem.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/grid/src/Grid.js +1 -0
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/image/src/ImagePreview.js +3 -2
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/input/src/Input.d.ts +4 -0
- package/es/input/src/Input.js +9 -3
- package/es/input/src/interface.d.ts +1 -0
- package/es/input-number/src/InputNumber.d.ts +144 -50
- package/es/input-number/styles/light.d.ts +14 -5
- package/es/layout/src/Layout.d.ts +6 -0
- package/es/layout/src/LayoutContent.d.ts +3 -0
- package/es/layout/src/LayoutSider.d.ts +3 -0
- package/es/locales/common/deDE.d.ts +3 -0
- package/es/locales/common/deDE.js +93 -0
- package/es/locales/common/nbNO.d.ts +3 -0
- package/es/locales/common/nbNO.js +93 -0
- package/es/locales/date/deDE.d.ts +3 -0
- package/es/locales/date/deDE.js +6 -0
- package/es/locales/date/nbNO.d.ts +3 -0
- package/es/locales/date/nbNO.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +5 -0
- package/es/locales/utils/index.d.ts +8 -0
- package/es/locales/utils/index.js +4 -0
- package/es/log/src/Log.d.ts +3 -0
- package/es/mention/src/Mention.d.ts +4 -0
- package/es/menu/index.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +32 -8
- package/es/menu/src/Menu.js +32 -10
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +11 -2
- package/es/menu/src/MenuOptionContent.d.ts +7 -2
- package/es/menu/src/Submenu.d.ts +21 -17
- package/es/menu/src/interface.d.ts +23 -4
- package/es/menu/src/styles/index.cssr.js +6 -1
- package/es/menu/src/utils.d.ts +4 -2
- package/es/menu/src/utils.js +16 -2
- package/es/menu/styles/light.d.ts +2 -0
- package/es/menu/styles/light.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +33 -12
- package/es/modal/src/BodyWrapper.js +6 -0
- package/es/modal/src/Modal.d.ts +185 -65
- package/es/modal/src/Modal.js +5 -1
- package/es/modal/src/interface.d.ts +1 -0
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +3 -0
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +20 -12
- package/es/pagination/src/Pagination.js +16 -6
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +145 -52
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +14 -5
- package/es/popselect/src/Popselect.d.ts +3 -0
- package/es/popselect/src/PopselectPanel.d.ts +3 -0
- package/es/radio/src/Radio.d.ts +3 -0
- package/es/radio/src/RadioButton.d.ts +3 -0
- package/es/radio/src/use-radio.d.ts +2 -0
- package/es/radio/src/use-radio.js +6 -3
- package/es/select/src/Select.d.ts +9 -2
- package/es/select/src/Select.js +20 -14
- package/es/slider/src/Slider.d.ts +70 -91
- package/es/slider/src/Slider.js +326 -583
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/styles/index.cssr.js +86 -16
- package/es/slider/src/utils.d.ts +10 -1
- package/es/slider/src/utils.js +9 -0
- package/es/slider/styles/_common.d.ts +1 -0
- package/es/slider/styles/_common.js +1 -0
- package/es/slider/styles/light.d.ts +1 -0
- package/es/space/src/Space.js +2 -0
- package/es/steps/src/Step.js +1 -1
- package/es/table/src/Table.d.ts +35 -0
- package/es/table/src/Table.js +8 -4
- package/es/table/src/styles/index.cssr.js +1 -1
- package/es/table/styles/light.d.ts +3 -0
- package/es/table/styles/light.js +2 -2
- package/es/tabs/index.d.ts +2 -0
- package/es/tabs/index.js +1 -0
- package/es/tabs/src/Tab.d.ts +35 -18
- package/es/tabs/src/Tab.js +14 -17
- package/es/tabs/src/TabPane.d.ts +1 -0
- package/es/tabs/src/TabPane.js +2 -1
- package/es/tabs/src/Tabs.d.ts +4 -0
- package/es/tabs/src/Tabs.js +65 -21
- package/es/tabs/src/interface.d.ts +3 -2
- package/es/tag/src/Tag.d.ts +8 -3
- package/es/tag/src/Tag.js +10 -2
- package/es/tag/src/styles/index.cssr.js +10 -5
- package/es/tag/src/styles/rtl.cssr.js +7 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/time-picker/src/Panel.d.ts +17 -5
- package/es/time-picker/src/TimePicker.d.ts +144 -50
- package/es/time-picker/src/TimePicker.js +3 -0
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +3 -0
- package/es/transfer/src/Transfer.d.ts +145 -52
- package/es/transfer/src/TransferFilter.d.ts +17 -5
- package/es/transfer/src/TransferList.d.ts +17 -5
- package/es/transfer/src/TransferListItem.d.ts +17 -5
- package/es/transfer/styles/light.d.ts +14 -5
- package/es/tree/src/Tree.d.ts +13 -9
- package/es/tree/src/Tree.js +59 -23
- package/es/tree/src/TreeNode.js +4 -4
- package/es/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/interface.d.ts +1 -1
- package/es/tree/src/utils.d.ts +1 -1
- package/es/tree/src/utils.js +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +5 -2
- package/es/upload/src/Upload.d.ts +146 -52
- package/es/upload/src/Upload.js +6 -10
- package/es/upload/src/UploadFile.d.ts +18 -6
- package/es/upload/src/UploadFile.js +1 -1
- package/es/upload/src/UploadProgress.d.ts +17 -5
- package/es/upload/src/UploadTrigger.js +2 -2
- package/es/upload/src/interface.d.ts +2 -1
- package/es/upload/styles/light.d.ts +14 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -1
- package/lib/_internal/selection/src/Selection.d.ts +4 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +5 -2
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +5 -2
- package/lib/_styles/global/index.cssr.js +10 -5
- package/lib/_styles/transitions/icon-switch.cssr.js +7 -2
- package/lib/_utils/naive/extract-public-props.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +3 -0
- package/lib/alert/src/Alert.js +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -1
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/avatar/src/Avatar.d.ts +8 -1
- package/lib/avatar/src/Avatar.js +40 -8
- package/lib/avatar/src/styles/index.cssr.js +2 -2
- package/lib/button/src/Button.d.ts +149 -52
- package/lib/button/src/Button.js +129 -56
- package/lib/button/src/interface.d.ts +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/dark.js +3 -0
- package/lib/button/styles/light.d.ts +14 -5
- package/lib/button/styles/light.js +10 -3
- package/lib/calendar/src/Calendar.d.ts +143 -50
- package/lib/calendar/styles/light.d.ts +14 -5
- package/lib/card/src/Card.d.ts +3 -0
- package/lib/cascader/src/Cascader.d.ts +3 -0
- package/lib/cascader/src/Cascader.js +2 -2
- package/lib/cascader/src/CascaderOption.d.ts +3 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/lib/checkbox/src/Checkbox.d.ts +8 -5
- package/lib/checkbox/src/Checkbox.js +8 -9
- package/lib/collapse/src/Collapse.d.ts +3 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/lib/color-picker/src/ColorPicker.d.ts +126 -45
- package/lib/color-picker/styles/light.d.ts +14 -5
- package/lib/data-table/src/DataTable.d.ts +183 -51
- package/lib/data-table/src/DataTable.js +11 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/lib/data-table/src/TableParts/Body.d.ts +25 -6
- package/lib/data-table/src/TableParts/Body.js +60 -22
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +40 -10
- package/lib/data-table/src/TableParts/Header.d.ts +20 -5
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +8 -9
- package/lib/data-table/styles/light.d.ts +20 -5
- package/lib/data-table/styles/light.js +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +328 -127
- package/lib/date-picker/src/DatePicker.js +7 -17
- package/lib/date-picker/src/config.d.ts +9 -0
- package/lib/date-picker/src/config.js +9 -1
- package/lib/date-picker/src/panel/date.d.ts +51 -19
- package/lib/date-picker/src/panel/daterange.d.ts +49 -17
- package/lib/date-picker/src/panel/datetime.d.ts +51 -19
- package/lib/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/lib/date-picker/src/panel/month.d.ts +86 -60
- package/lib/date-picker/src/panel/month.js +9 -6
- package/lib/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/lib/date-picker/src/panel/use-calendar.js +6 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/lib/date-picker/src/panel/use-panel-common.d.ts +47 -15
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +32 -10
- package/lib/dialog/src/Dialog.d.ts +104 -38
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +3 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/lib/drawer/src/DrawerContent.d.ts +3 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +5 -2
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -3
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -4
- package/lib/dropdown/src/DropdownMenu.js +5 -4
- package/lib/dropdown/src/DropdownOption.d.ts +3 -4
- package/lib/dropdown/src/DropdownOption.js +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/lib/dropdown/src/interface.d.ts +9 -30
- package/lib/dropdown/src/utils.d.ts +1 -0
- package/lib/dropdown/src/utils.js +12 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/lib/dynamic-input/src/InputPreset.d.ts +17 -5
- package/lib/dynamic-input/src/PairPreset.d.ts +17 -5
- package/lib/dynamic-input/styles/light.d.ts +14 -5
- package/lib/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/lib/dynamic-tags/styles/light.d.ts +14 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +3 -0
- package/lib/form/src/FormItemGridItem.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/grid/src/Grid.js +1 -0
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +2 -1
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/input/src/Input.d.ts +4 -0
- package/lib/input/src/Input.js +9 -3
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input-number/src/InputNumber.d.ts +144 -50
- package/lib/input-number/styles/light.d.ts +14 -5
- package/lib/layout/src/Layout.d.ts +6 -0
- package/lib/layout/src/LayoutContent.d.ts +3 -0
- package/lib/layout/src/LayoutSider.d.ts +3 -0
- package/lib/locales/common/deDE.d.ts +3 -0
- package/lib/locales/common/deDE.js +95 -0
- package/lib/locales/common/nbNO.d.ts +3 -0
- package/lib/locales/common/nbNO.js +95 -0
- package/lib/locales/date/deDE.d.ts +3 -0
- package/lib/locales/date/deDE.js +11 -0
- package/lib/locales/date/nbNO.d.ts +3 -0
- package/lib/locales/date/nbNO.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +11 -1
- package/lib/locales/utils/index.d.ts +8 -0
- package/lib/locales/utils/index.js +8 -0
- package/lib/log/src/Log.d.ts +3 -0
- package/lib/mention/src/Mention.d.ts +4 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +32 -8
- package/lib/menu/src/Menu.js +31 -9
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +11 -2
- package/lib/menu/src/MenuOptionContent.d.ts +7 -2
- package/lib/menu/src/Submenu.d.ts +21 -17
- package/lib/menu/src/interface.d.ts +23 -4
- package/lib/menu/src/styles/index.cssr.js +6 -1
- package/lib/menu/src/utils.d.ts +4 -2
- package/lib/menu/src/utils.js +22 -3
- package/lib/menu/styles/light.d.ts +2 -0
- package/lib/menu/styles/light.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +33 -12
- package/lib/modal/src/BodyWrapper.js +6 -0
- package/lib/modal/src/Modal.d.ts +185 -65
- package/lib/modal/src/Modal.js +5 -1
- package/lib/modal/src/interface.d.ts +1 -0
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +20 -12
- package/lib/pagination/src/Pagination.js +16 -6
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +145 -52
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +14 -5
- package/lib/popselect/src/Popselect.d.ts +3 -0
- package/lib/popselect/src/PopselectPanel.d.ts +3 -0
- package/lib/radio/src/Radio.d.ts +3 -0
- package/lib/radio/src/RadioButton.d.ts +3 -0
- package/lib/radio/src/use-radio.d.ts +2 -0
- package/lib/radio/src/use-radio.js +6 -3
- package/lib/select/src/Select.d.ts +9 -2
- package/lib/select/src/Select.js +20 -14
- package/lib/slider/src/Slider.d.ts +70 -91
- package/lib/slider/src/Slider.js +324 -581
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/styles/index.cssr.js +86 -16
- package/lib/slider/src/utils.d.ts +10 -1
- package/lib/slider/src/utils.js +11 -1
- package/lib/slider/styles/_common.d.ts +1 -0
- package/lib/slider/styles/_common.js +1 -0
- package/lib/slider/styles/light.d.ts +1 -0
- package/lib/space/src/Space.js +2 -0
- package/lib/steps/src/Step.js +1 -1
- package/lib/table/src/Table.d.ts +35 -0
- package/lib/table/src/Table.js +8 -4
- package/lib/table/src/styles/index.cssr.js +1 -1
- package/lib/table/styles/light.d.ts +3 -0
- package/lib/table/styles/light.js +2 -2
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/src/Tab.d.ts +35 -18
- package/lib/tabs/src/Tab.js +13 -16
- package/lib/tabs/src/TabPane.d.ts +1 -0
- package/lib/tabs/src/TabPane.js +2 -1
- package/lib/tabs/src/Tabs.d.ts +4 -0
- package/lib/tabs/src/Tabs.js +64 -20
- package/lib/tabs/src/interface.d.ts +3 -2
- package/lib/tag/src/Tag.d.ts +8 -3
- package/lib/tag/src/Tag.js +10 -1
- package/lib/tag/src/styles/index.cssr.js +10 -5
- package/lib/tag/src/styles/rtl.cssr.js +7 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/time-picker/src/Panel.d.ts +17 -5
- package/lib/time-picker/src/TimePicker.d.ts +144 -50
- package/lib/time-picker/src/TimePicker.js +3 -0
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +3 -0
- package/lib/transfer/src/Transfer.d.ts +145 -52
- package/lib/transfer/src/TransferFilter.d.ts +17 -5
- package/lib/transfer/src/TransferList.d.ts +17 -5
- package/lib/transfer/src/TransferListItem.d.ts +17 -5
- package/lib/transfer/styles/light.d.ts +14 -5
- package/lib/tree/src/Tree.d.ts +13 -9
- package/lib/tree/src/Tree.js +58 -22
- package/lib/tree/src/TreeNode.js +4 -4
- package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/interface.d.ts +1 -1
- package/lib/tree/src/utils.d.ts +1 -1
- package/lib/tree/src/utils.js +4 -4
- package/lib/tree-select/src/TreeSelect.d.ts +5 -2
- package/lib/upload/src/Upload.d.ts +146 -52
- package/lib/upload/src/Upload.js +6 -10
- package/lib/upload/src/UploadFile.d.ts +18 -6
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/UploadProgress.d.ts +17 -5
- package/lib/upload/src/UploadTrigger.js +2 -2
- package/lib/upload/src/interface.d.ts +2 -1
- package/lib/upload/styles/light.d.ts +14 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -5
- package/web-types.json +182 -9
|
@@ -45,11 +45,13 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
45
45
|
calendarLeftPaddingDaterange: string;
|
|
46
46
|
calendarLeftPaddingDatetimerange: string;
|
|
47
47
|
calendarLeftPaddingMonth: string;
|
|
48
|
+
calendarLeftPaddingYear: string;
|
|
48
49
|
calendarRightPaddingDate: string;
|
|
49
50
|
calendarRightPaddingDatetime: string;
|
|
50
51
|
calendarRightPaddingDaterange: string;
|
|
51
52
|
calendarRightPaddingDatetimerange: string;
|
|
52
53
|
calendarRightPaddingMonth: string;
|
|
54
|
+
calendarRightPaddingYear: string;
|
|
53
55
|
};
|
|
54
56
|
export declare type DatePickerThemeVars = ReturnType<typeof self>;
|
|
55
57
|
declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
@@ -98,11 +100,13 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
98
100
|
calendarLeftPaddingDaterange: string;
|
|
99
101
|
calendarLeftPaddingDatetimerange: string;
|
|
100
102
|
calendarLeftPaddingMonth: string;
|
|
103
|
+
calendarLeftPaddingYear: string;
|
|
101
104
|
calendarRightPaddingDate: string;
|
|
102
105
|
calendarRightPaddingDatetime: string;
|
|
103
106
|
calendarRightPaddingDaterange: string;
|
|
104
107
|
calendarRightPaddingDatetimerange: string;
|
|
105
108
|
calendarRightPaddingMonth: string;
|
|
109
|
+
calendarRightPaddingYear: string;
|
|
106
110
|
}, {
|
|
107
111
|
Input: import("../../_mixins").Theme<"Input", {
|
|
108
112
|
countTextColor: string;
|
|
@@ -178,20 +182,30 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
178
182
|
fontSizeMedium: string;
|
|
179
183
|
fontSizeLarge: string;
|
|
180
184
|
opacityDisabled: string;
|
|
185
|
+
colorOpacitySecondary: number;
|
|
186
|
+
colorOpacitySecondaryHover: number;
|
|
187
|
+
colorOpacitySecondaryPressed: number;
|
|
188
|
+
colorSecondary: string;
|
|
189
|
+
colorSecondaryHover: string;
|
|
190
|
+
colorSecondaryPressed: string;
|
|
191
|
+
colorTertiary: string;
|
|
192
|
+
colorTertiaryHover: string;
|
|
193
|
+
colorTertiaryPressed: string;
|
|
194
|
+
colorQuaternary: string;
|
|
195
|
+
colorQuaternaryHover: string;
|
|
196
|
+
colorQuaternaryPressed: string;
|
|
181
197
|
color: string;
|
|
182
198
|
colorHover: string;
|
|
183
199
|
colorPressed: string;
|
|
184
200
|
colorFocus: string;
|
|
185
201
|
colorDisabled: string;
|
|
186
202
|
textColor: string;
|
|
203
|
+
textColorTertiary: string;
|
|
187
204
|
textColorHover: string;
|
|
188
205
|
textColorPressed: string;
|
|
189
206
|
textColorFocus: string;
|
|
190
207
|
textColorDisabled: string;
|
|
191
208
|
textColorText: string;
|
|
192
|
-
textColorTextDepth1: string;
|
|
193
|
-
textColorTextDepth2: string;
|
|
194
|
-
textColorTextDepth3: string;
|
|
195
209
|
textColorTextHover: string;
|
|
196
210
|
textColorTextPressed: string;
|
|
197
211
|
textColorTextFocus: string;
|
|
@@ -338,9 +352,8 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
338
352
|
borderDisabledError: string;
|
|
339
353
|
rippleColorError: string;
|
|
340
354
|
waveOpacity: string;
|
|
341
|
-
fontWeightText: string;
|
|
342
355
|
fontWeight: string;
|
|
343
|
-
|
|
356
|
+
fontWeightStrong: string;
|
|
344
357
|
paddingTiny: string;
|
|
345
358
|
paddingSmall: string;
|
|
346
359
|
paddingMedium: string;
|
|
@@ -394,20 +407,30 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
394
407
|
fontSizeMedium: string;
|
|
395
408
|
fontSizeLarge: string;
|
|
396
409
|
opacityDisabled: string;
|
|
410
|
+
colorOpacitySecondary: number;
|
|
411
|
+
colorOpacitySecondaryHover: number;
|
|
412
|
+
colorOpacitySecondaryPressed: number;
|
|
413
|
+
colorSecondary: string;
|
|
414
|
+
colorSecondaryHover: string;
|
|
415
|
+
colorSecondaryPressed: string;
|
|
416
|
+
colorTertiary: string;
|
|
417
|
+
colorTertiaryHover: string;
|
|
418
|
+
colorTertiaryPressed: string;
|
|
419
|
+
colorQuaternary: string;
|
|
420
|
+
colorQuaternaryHover: string;
|
|
421
|
+
colorQuaternaryPressed: string;
|
|
397
422
|
color: string;
|
|
398
423
|
colorHover: string;
|
|
399
424
|
colorPressed: string;
|
|
400
425
|
colorFocus: string;
|
|
401
426
|
colorDisabled: string;
|
|
402
427
|
textColor: string;
|
|
428
|
+
textColorTertiary: string;
|
|
403
429
|
textColorHover: string;
|
|
404
430
|
textColorPressed: string;
|
|
405
431
|
textColorFocus: string;
|
|
406
432
|
textColorDisabled: string;
|
|
407
433
|
textColorText: string;
|
|
408
|
-
textColorTextDepth1: string;
|
|
409
|
-
textColorTextDepth2: string;
|
|
410
|
-
textColorTextDepth3: string;
|
|
411
434
|
textColorTextHover: string;
|
|
412
435
|
textColorTextPressed: string;
|
|
413
436
|
textColorTextFocus: string;
|
|
@@ -554,9 +577,8 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
554
577
|
borderDisabledError: string;
|
|
555
578
|
rippleColorError: string;
|
|
556
579
|
waveOpacity: string;
|
|
557
|
-
fontWeightText: string;
|
|
558
580
|
fontWeight: string;
|
|
559
|
-
|
|
581
|
+
fontWeightStrong: string;
|
|
560
582
|
paddingTiny: string;
|
|
561
583
|
paddingSmall: string;
|
|
562
584
|
paddingMedium: string;
|
|
@@ -29,7 +29,7 @@ declare const dialogProps: {
|
|
|
29
29
|
};
|
|
30
30
|
export declare type DialogProps = ExtractPublicPropTypes<typeof dialogProps>;
|
|
31
31
|
export { dialogProps };
|
|
32
|
-
export declare const dialogPropKeys: ("type" | "content" | "icon" | "title" | "action" | "
|
|
32
|
+
export declare const dialogPropKeys: ("type" | "content" | "icon" | "title" | "action" | "positiveText" | "negativeText" | "loading" | "bordered" | "onClose" | "closable" | "showIcon" | "iconPlacement" | "onPositiveClick" | "onNegativeClick")[];
|
|
33
33
|
declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
icon: PropType<() => VNodeChild>;
|
|
35
35
|
type: {
|
|
@@ -97,20 +97,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
fontSizeMedium: string;
|
|
98
98
|
fontSizeLarge: string;
|
|
99
99
|
opacityDisabled: string;
|
|
100
|
+
colorOpacitySecondary: number;
|
|
101
|
+
colorOpacitySecondaryHover: number;
|
|
102
|
+
colorOpacitySecondaryPressed: number;
|
|
103
|
+
colorSecondary: string;
|
|
104
|
+
colorSecondaryHover: string;
|
|
105
|
+
colorSecondaryPressed: string;
|
|
106
|
+
colorTertiary: string;
|
|
107
|
+
colorTertiaryHover: string;
|
|
108
|
+
colorTertiaryPressed: string;
|
|
109
|
+
colorQuaternary: string;
|
|
110
|
+
colorQuaternaryHover: string;
|
|
111
|
+
colorQuaternaryPressed: string;
|
|
100
112
|
color: string;
|
|
101
113
|
colorHover: string;
|
|
102
114
|
colorPressed: string;
|
|
103
115
|
colorFocus: string;
|
|
104
116
|
colorDisabled: string;
|
|
105
117
|
textColor: string;
|
|
118
|
+
textColorTertiary: string;
|
|
106
119
|
textColorHover: string;
|
|
107
120
|
textColorPressed: string;
|
|
108
121
|
textColorFocus: string;
|
|
109
122
|
textColorDisabled: string;
|
|
110
123
|
textColorText: string;
|
|
111
|
-
textColorTextDepth1: string;
|
|
112
|
-
textColorTextDepth2: string;
|
|
113
|
-
textColorTextDepth3: string;
|
|
114
124
|
textColorTextHover: string;
|
|
115
125
|
textColorTextPressed: string;
|
|
116
126
|
textColorTextFocus: string;
|
|
@@ -257,9 +267,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
257
267
|
borderDisabledError: string;
|
|
258
268
|
rippleColorError: string;
|
|
259
269
|
waveOpacity: string;
|
|
260
|
-
fontWeightText: string;
|
|
261
270
|
fontWeight: string;
|
|
262
|
-
|
|
271
|
+
fontWeightStrong: string;
|
|
263
272
|
paddingTiny: string;
|
|
264
273
|
paddingSmall: string;
|
|
265
274
|
paddingMedium: string;
|
|
@@ -321,20 +330,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
321
330
|
fontSizeMedium: string;
|
|
322
331
|
fontSizeLarge: string;
|
|
323
332
|
opacityDisabled: string;
|
|
333
|
+
colorOpacitySecondary: number;
|
|
334
|
+
colorOpacitySecondaryHover: number;
|
|
335
|
+
colorOpacitySecondaryPressed: number;
|
|
336
|
+
colorSecondary: string;
|
|
337
|
+
colorSecondaryHover: string;
|
|
338
|
+
colorSecondaryPressed: string;
|
|
339
|
+
colorTertiary: string;
|
|
340
|
+
colorTertiaryHover: string;
|
|
341
|
+
colorTertiaryPressed: string;
|
|
342
|
+
colorQuaternary: string;
|
|
343
|
+
colorQuaternaryHover: string;
|
|
344
|
+
colorQuaternaryPressed: string;
|
|
324
345
|
color: string;
|
|
325
346
|
colorHover: string;
|
|
326
347
|
colorPressed: string;
|
|
327
348
|
colorFocus: string;
|
|
328
349
|
colorDisabled: string;
|
|
329
350
|
textColor: string;
|
|
351
|
+
textColorTertiary: string;
|
|
330
352
|
textColorHover: string;
|
|
331
353
|
textColorPressed: string;
|
|
332
354
|
textColorFocus: string;
|
|
333
355
|
textColorDisabled: string;
|
|
334
356
|
textColorText: string;
|
|
335
|
-
textColorTextDepth1: string;
|
|
336
|
-
textColorTextDepth2: string;
|
|
337
|
-
textColorTextDepth3: string;
|
|
338
357
|
textColorTextHover: string;
|
|
339
358
|
textColorTextPressed: string;
|
|
340
359
|
textColorTextFocus: string;
|
|
@@ -481,9 +500,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
481
500
|
borderDisabledError: string;
|
|
482
501
|
rippleColorError: string;
|
|
483
502
|
waveOpacity: string;
|
|
484
|
-
fontWeightText: string;
|
|
485
503
|
fontWeight: string;
|
|
486
|
-
|
|
504
|
+
fontWeightStrong: string;
|
|
487
505
|
paddingTiny: string;
|
|
488
506
|
paddingSmall: string;
|
|
489
507
|
paddingMedium: string;
|
|
@@ -545,20 +563,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
545
563
|
fontSizeMedium: string;
|
|
546
564
|
fontSizeLarge: string;
|
|
547
565
|
opacityDisabled: string;
|
|
566
|
+
colorOpacitySecondary: number;
|
|
567
|
+
colorOpacitySecondaryHover: number;
|
|
568
|
+
colorOpacitySecondaryPressed: number;
|
|
569
|
+
colorSecondary: string;
|
|
570
|
+
colorSecondaryHover: string;
|
|
571
|
+
colorSecondaryPressed: string;
|
|
572
|
+
colorTertiary: string;
|
|
573
|
+
colorTertiaryHover: string;
|
|
574
|
+
colorTertiaryPressed: string;
|
|
575
|
+
colorQuaternary: string;
|
|
576
|
+
colorQuaternaryHover: string;
|
|
577
|
+
colorQuaternaryPressed: string;
|
|
548
578
|
color: string;
|
|
549
579
|
colorHover: string;
|
|
550
580
|
colorPressed: string;
|
|
551
581
|
colorFocus: string;
|
|
552
582
|
colorDisabled: string;
|
|
553
583
|
textColor: string;
|
|
584
|
+
textColorTertiary: string;
|
|
554
585
|
textColorHover: string;
|
|
555
586
|
textColorPressed: string;
|
|
556
587
|
textColorFocus: string;
|
|
557
588
|
textColorDisabled: string;
|
|
558
589
|
textColorText: string;
|
|
559
|
-
textColorTextDepth1: string;
|
|
560
|
-
textColorTextDepth2: string;
|
|
561
|
-
textColorTextDepth3: string;
|
|
562
590
|
textColorTextHover: string;
|
|
563
591
|
textColorTextPressed: string;
|
|
564
592
|
textColorTextFocus: string;
|
|
@@ -705,9 +733,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
705
733
|
borderDisabledError: string;
|
|
706
734
|
rippleColorError: string;
|
|
707
735
|
waveOpacity: string;
|
|
708
|
-
fontWeightText: string;
|
|
709
736
|
fontWeight: string;
|
|
710
|
-
|
|
737
|
+
fontWeightStrong: string;
|
|
711
738
|
paddingTiny: string;
|
|
712
739
|
paddingSmall: string;
|
|
713
740
|
paddingMedium: string;
|
|
@@ -803,6 +830,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
803
830
|
pressedColor: string;
|
|
804
831
|
opacityDisabled: string;
|
|
805
832
|
inputColorDisabled: string;
|
|
833
|
+
buttonColor2: string;
|
|
834
|
+
buttonColor2Hover: string;
|
|
835
|
+
buttonColor2Pressed: string;
|
|
806
836
|
boxShadow1: string;
|
|
807
837
|
boxShadow2: string;
|
|
808
838
|
boxShadow3: string;
|
|
@@ -873,20 +903,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
873
903
|
fontSizeMedium: string;
|
|
874
904
|
fontSizeLarge: string;
|
|
875
905
|
opacityDisabled: string;
|
|
906
|
+
colorOpacitySecondary: number;
|
|
907
|
+
colorOpacitySecondaryHover: number;
|
|
908
|
+
colorOpacitySecondaryPressed: number;
|
|
909
|
+
colorSecondary: string;
|
|
910
|
+
colorSecondaryHover: string;
|
|
911
|
+
colorSecondaryPressed: string;
|
|
912
|
+
colorTertiary: string;
|
|
913
|
+
colorTertiaryHover: string;
|
|
914
|
+
colorTertiaryPressed: string;
|
|
915
|
+
colorQuaternary: string;
|
|
916
|
+
colorQuaternaryHover: string;
|
|
917
|
+
colorQuaternaryPressed: string;
|
|
876
918
|
color: string;
|
|
877
919
|
colorHover: string;
|
|
878
920
|
colorPressed: string;
|
|
879
921
|
colorFocus: string;
|
|
880
922
|
colorDisabled: string;
|
|
881
923
|
textColor: string;
|
|
924
|
+
textColorTertiary: string;
|
|
882
925
|
textColorHover: string;
|
|
883
926
|
textColorPressed: string;
|
|
884
927
|
textColorFocus: string;
|
|
885
928
|
textColorDisabled: string;
|
|
886
929
|
textColorText: string;
|
|
887
|
-
textColorTextDepth1: string;
|
|
888
|
-
textColorTextDepth2: string;
|
|
889
|
-
textColorTextDepth3: string;
|
|
890
930
|
textColorTextHover: string;
|
|
891
931
|
textColorTextPressed: string;
|
|
892
932
|
textColorTextFocus: string;
|
|
@@ -1033,9 +1073,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1033
1073
|
borderDisabledError: string;
|
|
1034
1074
|
rippleColorError: string;
|
|
1035
1075
|
waveOpacity: string;
|
|
1036
|
-
fontWeightText: string;
|
|
1037
1076
|
fontWeight: string;
|
|
1038
|
-
|
|
1077
|
+
fontWeightStrong: string;
|
|
1039
1078
|
paddingTiny: string;
|
|
1040
1079
|
paddingSmall: string;
|
|
1041
1080
|
paddingMedium: string;
|
|
@@ -1161,20 +1200,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1161
1200
|
fontSizeMedium: string;
|
|
1162
1201
|
fontSizeLarge: string;
|
|
1163
1202
|
opacityDisabled: string;
|
|
1203
|
+
colorOpacitySecondary: number;
|
|
1204
|
+
colorOpacitySecondaryHover: number;
|
|
1205
|
+
colorOpacitySecondaryPressed: number;
|
|
1206
|
+
colorSecondary: string;
|
|
1207
|
+
colorSecondaryHover: string;
|
|
1208
|
+
colorSecondaryPressed: string;
|
|
1209
|
+
colorTertiary: string;
|
|
1210
|
+
colorTertiaryHover: string;
|
|
1211
|
+
colorTertiaryPressed: string;
|
|
1212
|
+
colorQuaternary: string;
|
|
1213
|
+
colorQuaternaryHover: string;
|
|
1214
|
+
colorQuaternaryPressed: string;
|
|
1164
1215
|
color: string;
|
|
1165
1216
|
colorHover: string;
|
|
1166
1217
|
colorPressed: string;
|
|
1167
1218
|
colorFocus: string;
|
|
1168
1219
|
colorDisabled: string;
|
|
1169
1220
|
textColor: string;
|
|
1221
|
+
textColorTertiary: string;
|
|
1170
1222
|
textColorHover: string;
|
|
1171
1223
|
textColorPressed: string;
|
|
1172
1224
|
textColorFocus: string;
|
|
1173
1225
|
textColorDisabled: string;
|
|
1174
1226
|
textColorText: string;
|
|
1175
|
-
textColorTextDepth1: string;
|
|
1176
|
-
textColorTextDepth2: string;
|
|
1177
|
-
textColorTextDepth3: string;
|
|
1178
1227
|
textColorTextHover: string;
|
|
1179
1228
|
textColorTextPressed: string;
|
|
1180
1229
|
textColorTextFocus: string;
|
|
@@ -1321,9 +1370,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1321
1370
|
borderDisabledError: string;
|
|
1322
1371
|
rippleColorError: string;
|
|
1323
1372
|
waveOpacity: string;
|
|
1324
|
-
fontWeightText: string;
|
|
1325
1373
|
fontWeight: string;
|
|
1326
|
-
|
|
1374
|
+
fontWeightStrong: string;
|
|
1327
1375
|
paddingTiny: string;
|
|
1328
1376
|
paddingSmall: string;
|
|
1329
1377
|
paddingMedium: string;
|
|
@@ -1385,20 +1433,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1385
1433
|
fontSizeMedium: string;
|
|
1386
1434
|
fontSizeLarge: string;
|
|
1387
1435
|
opacityDisabled: string;
|
|
1436
|
+
colorOpacitySecondary: number;
|
|
1437
|
+
colorOpacitySecondaryHover: number;
|
|
1438
|
+
colorOpacitySecondaryPressed: number;
|
|
1439
|
+
colorSecondary: string;
|
|
1440
|
+
colorSecondaryHover: string;
|
|
1441
|
+
colorSecondaryPressed: string;
|
|
1442
|
+
colorTertiary: string;
|
|
1443
|
+
colorTertiaryHover: string;
|
|
1444
|
+
colorTertiaryPressed: string;
|
|
1445
|
+
colorQuaternary: string;
|
|
1446
|
+
colorQuaternaryHover: string;
|
|
1447
|
+
colorQuaternaryPressed: string;
|
|
1388
1448
|
color: string;
|
|
1389
1449
|
colorHover: string;
|
|
1390
1450
|
colorPressed: string;
|
|
1391
1451
|
colorFocus: string;
|
|
1392
1452
|
colorDisabled: string;
|
|
1393
1453
|
textColor: string;
|
|
1454
|
+
textColorTertiary: string;
|
|
1394
1455
|
textColorHover: string;
|
|
1395
1456
|
textColorPressed: string;
|
|
1396
1457
|
textColorFocus: string;
|
|
1397
1458
|
textColorDisabled: string;
|
|
1398
1459
|
textColorText: string;
|
|
1399
|
-
textColorTextDepth1: string;
|
|
1400
|
-
textColorTextDepth2: string;
|
|
1401
|
-
textColorTextDepth3: string;
|
|
1402
1460
|
textColorTextHover: string;
|
|
1403
1461
|
textColorTextPressed: string;
|
|
1404
1462
|
textColorTextFocus: string;
|
|
@@ -1545,9 +1603,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1545
1603
|
borderDisabledError: string;
|
|
1546
1604
|
rippleColorError: string;
|
|
1547
1605
|
waveOpacity: string;
|
|
1548
|
-
fontWeightText: string;
|
|
1549
1606
|
fontWeight: string;
|
|
1550
|
-
|
|
1607
|
+
fontWeightStrong: string;
|
|
1551
1608
|
paddingTiny: string;
|
|
1552
1609
|
paddingSmall: string;
|
|
1553
1610
|
paddingMedium: string;
|
|
@@ -1609,20 +1666,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1609
1666
|
fontSizeMedium: string;
|
|
1610
1667
|
fontSizeLarge: string;
|
|
1611
1668
|
opacityDisabled: string;
|
|
1669
|
+
colorOpacitySecondary: number;
|
|
1670
|
+
colorOpacitySecondaryHover: number;
|
|
1671
|
+
colorOpacitySecondaryPressed: number;
|
|
1672
|
+
colorSecondary: string;
|
|
1673
|
+
colorSecondaryHover: string;
|
|
1674
|
+
colorSecondaryPressed: string;
|
|
1675
|
+
colorTertiary: string;
|
|
1676
|
+
colorTertiaryHover: string;
|
|
1677
|
+
colorTertiaryPressed: string;
|
|
1678
|
+
colorQuaternary: string;
|
|
1679
|
+
colorQuaternaryHover: string;
|
|
1680
|
+
colorQuaternaryPressed: string;
|
|
1612
1681
|
color: string;
|
|
1613
1682
|
colorHover: string;
|
|
1614
1683
|
colorPressed: string;
|
|
1615
1684
|
colorFocus: string;
|
|
1616
1685
|
colorDisabled: string;
|
|
1617
1686
|
textColor: string;
|
|
1687
|
+
textColorTertiary: string;
|
|
1618
1688
|
textColorHover: string;
|
|
1619
1689
|
textColorPressed: string;
|
|
1620
1690
|
textColorFocus: string;
|
|
1621
1691
|
textColorDisabled: string;
|
|
1622
1692
|
textColorText: string;
|
|
1623
|
-
textColorTextDepth1: string;
|
|
1624
|
-
textColorTextDepth2: string;
|
|
1625
|
-
textColorTextDepth3: string;
|
|
1626
1693
|
textColorTextHover: string;
|
|
1627
1694
|
textColorTextPressed: string;
|
|
1628
1695
|
textColorTextFocus: string;
|
|
@@ -1769,9 +1836,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1769
1836
|
borderDisabledError: string;
|
|
1770
1837
|
rippleColorError: string;
|
|
1771
1838
|
waveOpacity: string;
|
|
1772
|
-
fontWeightText: string;
|
|
1773
1839
|
fontWeight: string;
|
|
1774
|
-
|
|
1840
|
+
fontWeightStrong: string;
|
|
1775
1841
|
paddingTiny: string;
|
|
1776
1842
|
paddingSmall: string;
|
|
1777
1843
|
paddingMedium: string;
|
|
@@ -1791,10 +1857,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1791
1857
|
rippleDuration: string;
|
|
1792
1858
|
}, any>;
|
|
1793
1859
|
}>> | undefined;
|
|
1860
|
+
positiveText?: string | undefined;
|
|
1861
|
+
negativeText?: string | undefined;
|
|
1794
1862
|
onClose?: (() => void) | undefined;
|
|
1795
1863
|
iconPlacement?: IconPlacement | undefined;
|
|
1796
|
-
negativeText?: string | undefined;
|
|
1797
|
-
positiveText?: string | undefined;
|
|
1798
1864
|
onPositiveClick?: ((e: MouseEvent) => void) | undefined;
|
|
1799
1865
|
onNegativeClick?: ((e: MouseEvent) => void) | undefined;
|
|
1800
1866
|
}>, {
|
|
@@ -117,10 +117,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
117
|
title?: string | (() => import("vue").VNodeChild) | undefined;
|
|
118
118
|
action?: (() => import("vue").VNodeChild) | undefined;
|
|
119
119
|
to?: string | HTMLElement | undefined;
|
|
120
|
+
positiveText?: string | undefined;
|
|
121
|
+
negativeText?: string | undefined;
|
|
120
122
|
onClose?: (() => unknown) | undefined;
|
|
121
123
|
iconPlacement?: import("./interface").IconPlacement | undefined;
|
|
122
|
-
negativeText?: string | undefined;
|
|
123
|
-
positiveText?: string | undefined;
|
|
124
124
|
onPositiveClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
125
125
|
onNegativeClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
126
126
|
onMaskClick?: ((e: MouseEvent) => void) | undefined;
|
|
@@ -46,14 +46,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
icon?: (() => import("vue").VNodeChild) | undefined;
|
|
47
47
|
title?: string | (() => import("vue").VNodeChild) | undefined;
|
|
48
48
|
action?: (() => import("vue").VNodeChild) | undefined;
|
|
49
|
+
positiveText?: string | undefined;
|
|
50
|
+
negativeText?: string | undefined;
|
|
49
51
|
loading?: boolean | undefined;
|
|
50
52
|
bordered?: boolean | undefined;
|
|
51
53
|
onClose?: (() => unknown) | undefined;
|
|
52
54
|
closable?: boolean | undefined;
|
|
53
55
|
showIcon?: boolean | undefined;
|
|
54
56
|
iconPlacement?: import("./interface").IconPlacement | undefined;
|
|
55
|
-
negativeText?: string | undefined;
|
|
56
|
-
positiveText?: string | undefined;
|
|
57
57
|
onPositiveClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
58
58
|
onNegativeClick?: ((e: MouseEvent) => unknown) | undefined;
|
|
59
59
|
onMaskClick?: ((e: MouseEvent) => void) | undefined;
|
|
@@ -70,20 +70,30 @@ declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
|
70
70
|
fontSizeMedium: string;
|
|
71
71
|
fontSizeLarge: string;
|
|
72
72
|
opacityDisabled: string;
|
|
73
|
+
colorOpacitySecondary: number;
|
|
74
|
+
colorOpacitySecondaryHover: number;
|
|
75
|
+
colorOpacitySecondaryPressed: number;
|
|
76
|
+
colorSecondary: string;
|
|
77
|
+
colorSecondaryHover: string;
|
|
78
|
+
colorSecondaryPressed: string;
|
|
79
|
+
colorTertiary: string;
|
|
80
|
+
colorTertiaryHover: string;
|
|
81
|
+
colorTertiaryPressed: string;
|
|
82
|
+
colorQuaternary: string;
|
|
83
|
+
colorQuaternaryHover: string;
|
|
84
|
+
colorQuaternaryPressed: string;
|
|
73
85
|
color: string;
|
|
74
86
|
colorHover: string;
|
|
75
87
|
colorPressed: string;
|
|
76
88
|
colorFocus: string;
|
|
77
89
|
colorDisabled: string;
|
|
78
90
|
textColor: string;
|
|
91
|
+
textColorTertiary: string;
|
|
79
92
|
textColorHover: string;
|
|
80
93
|
textColorPressed: string;
|
|
81
94
|
textColorFocus: string;
|
|
82
95
|
textColorDisabled: string;
|
|
83
96
|
textColorText: string;
|
|
84
|
-
textColorTextDepth1: string;
|
|
85
|
-
textColorTextDepth2: string;
|
|
86
|
-
textColorTextDepth3: string;
|
|
87
97
|
textColorTextHover: string;
|
|
88
98
|
textColorTextPressed: string;
|
|
89
99
|
textColorTextFocus: string;
|
|
@@ -230,9 +240,8 @@ declare const dialogLight: import("../../_mixins").Theme<"Dialog", {
|
|
|
230
240
|
borderDisabledError: string;
|
|
231
241
|
rippleColorError: string;
|
|
232
242
|
waveOpacity: string;
|
|
233
|
-
fontWeightText: string;
|
|
234
243
|
fontWeight: string;
|
|
235
|
-
|
|
244
|
+
fontWeightStrong: string;
|
|
236
245
|
paddingTiny: string;
|
|
237
246
|
paddingSmall: string;
|
|
238
247
|
paddingMedium: string;
|
|
@@ -336,6 +336,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
336
336
|
pressedColor: string;
|
|
337
337
|
opacityDisabled: string;
|
|
338
338
|
inputColorDisabled: string;
|
|
339
|
+
buttonColor2: string;
|
|
340
|
+
buttonColor2Hover: string;
|
|
341
|
+
buttonColor2Pressed: string;
|
|
339
342
|
boxShadow1: string;
|
|
340
343
|
boxShadow2: string;
|
|
341
344
|
boxShadow3: string;
|
|
@@ -97,6 +97,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
pressedColor: string;
|
|
98
98
|
opacityDisabled: string;
|
|
99
99
|
inputColorDisabled: string;
|
|
100
|
+
buttonColor2: string;
|
|
101
|
+
buttonColor2Hover: string;
|
|
102
|
+
buttonColor2Pressed: string;
|
|
100
103
|
boxShadow1: string;
|
|
101
104
|
boxShadow2: string;
|
|
102
105
|
boxShadow3: string;
|
|
@@ -106,6 +106,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
106
106
|
pressedColor: string;
|
|
107
107
|
opacityDisabled: string;
|
|
108
108
|
inputColorDisabled: string;
|
|
109
|
+
buttonColor2: string;
|
|
110
|
+
buttonColor2Hover: string;
|
|
111
|
+
buttonColor2Pressed: string;
|
|
109
112
|
boxShadow1: string;
|
|
110
113
|
boxShadow2: string;
|
|
111
114
|
boxShadow3: string;
|
package/lib/dropdown/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { default as NDropdown } from './src/Dropdown';
|
|
2
2
|
export type { DropdownProps } from './src/Dropdown';
|
|
3
|
-
export type { DropdownOption, DropdownGroupOption,
|
|
3
|
+
export type { DropdownOption, DropdownGroupOption, DropdownDividerOption, DropdownRenderOption } from './src/interface';
|
|
@@ -2,7 +2,7 @@ import { PropType, CSSProperties, InjectionKey, Ref } from 'vue';
|
|
|
2
2
|
import { Key, TreeNode } from 'treemate';
|
|
3
3
|
import { FollowerPlacement } from 'vueuc';
|
|
4
4
|
import { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
5
|
-
import {
|
|
5
|
+
import { DropdownMixedOption, OnUpdateValue, OnUpdateValueImpl, RenderLabel, RenderIcon, RenderLabelImpl, RenderIconImpl } from './interface';
|
|
6
6
|
export interface DropdownInjection {
|
|
7
7
|
renderLabelRef: Ref<RenderLabelImpl | undefined>;
|
|
8
8
|
renderIconRef: Ref<RenderIconImpl | undefined>;
|
|
@@ -716,6 +716,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
716
716
|
pressedColor: string;
|
|
717
717
|
opacityDisabled: string;
|
|
718
718
|
inputColorDisabled: string;
|
|
719
|
+
buttonColor2: string;
|
|
720
|
+
buttonColor2Hover: string;
|
|
721
|
+
buttonColor2Pressed: string;
|
|
719
722
|
boxShadow1: string;
|
|
720
723
|
boxShadow2: string;
|
|
721
724
|
boxShadow3: string;
|
|
@@ -822,7 +825,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
822
825
|
} | undefined;
|
|
823
826
|
};
|
|
824
827
|
}>;
|
|
825
|
-
tmNodes: import("vue").ComputedRef<TreeNode<
|
|
828
|
+
tmNodes: import("vue").ComputedRef<TreeNode<import("../..").MenuOption | import("../../menu/src/interface").MenuRenderOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>[]>;
|
|
826
829
|
mergedShow: import("vue").ComputedRef<boolean>;
|
|
827
830
|
doUpdateShow: (value: boolean) => void;
|
|
828
831
|
cssVars: import("vue").ComputedRef<any>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TreeNode } from 'treemate';
|
|
3
|
-
import { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
clsPrefix: {
|
|
6
5
|
type: StringConstructor;
|
|
7
6
|
required: true;
|
|
8
7
|
};
|
|
9
8
|
tmNode: {
|
|
10
|
-
type: PropType<TreeNode<
|
|
9
|
+
type: PropType<TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>>;
|
|
11
10
|
required: true;
|
|
12
11
|
};
|
|
13
12
|
parentKey: {
|
|
@@ -20,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
19
|
parentKey?: unknown;
|
|
21
20
|
} & {
|
|
22
21
|
clsPrefix: string;
|
|
23
|
-
tmNode: TreeNode<
|
|
22
|
+
tmNode: TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>;
|
|
24
23
|
parentKey: string | number | null;
|
|
25
24
|
} & {}>, {
|
|
26
25
|
parentKey: string | number | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionKey, PropType, Ref, CSSProperties } from 'vue';
|
|
2
2
|
import { TreeNode } from 'treemate';
|
|
3
|
-
import { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
4
3
|
export interface NDropdownMenuInjection {
|
|
5
4
|
showIconRef: Ref<boolean>;
|
|
6
5
|
hasSubmenuRef: Ref<boolean>;
|
|
@@ -14,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
13
|
required: true;
|
|
15
14
|
};
|
|
16
15
|
tmNodes: {
|
|
17
|
-
type: PropType<TreeNode<
|
|
16
|
+
type: PropType<TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>[]>;
|
|
18
17
|
default: () => never[];
|
|
19
18
|
};
|
|
20
19
|
parentKey: {
|
|
@@ -31,12 +30,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
31
30
|
clsPrefix: string;
|
|
32
31
|
showArrow: boolean;
|
|
33
32
|
parentKey: string | number;
|
|
34
|
-
tmNodes: TreeNode<
|
|
33
|
+
tmNodes: TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>[];
|
|
35
34
|
} & {
|
|
36
35
|
arrowStyle?: string | CSSProperties | undefined;
|
|
37
36
|
}>, {
|
|
38
37
|
showArrow: boolean;
|
|
39
38
|
parentKey: string | number;
|
|
40
|
-
tmNodes: TreeNode<
|
|
39
|
+
tmNodes: TreeNode<import("../..").MenuOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>[];
|
|
41
40
|
}>;
|
|
42
41
|
export default _default;
|