naive-ui 2.20.3 → 2.21.3
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/scrollbar/src/ScrollBar.d.ts +1 -0
- package/es/_internal/scrollbar/src/ScrollBar.js +9 -4
- package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -0
- package/es/_internal/selection/src/Selection.d.ts +4 -0
- package/es/_internal/suffix/src/Suffix.d.ts +4 -1
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +2 -1
- package/es/_styles/common/light.d.ts +4 -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 +4 -0
- package/es/auto-complete/src/AutoComplete.d.ts +9 -1
- package/es/auto-complete/src/AutoComplete.js +5 -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 +128 -56
- package/es/button/src/interface.d.ts +1 -1
- 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 +144 -50
- package/es/calendar/styles/light.d.ts +14 -5
- package/es/card/src/Card.d.ts +4 -0
- package/es/cascader/src/Cascader.d.ts +4 -0
- package/es/cascader/src/CascaderOption.d.ts +4 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +4 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +4 -0
- package/es/checkbox/src/Checkbox.d.ts +9 -5
- package/es/checkbox/src/Checkbox.js +3 -3
- package/es/collapse/src/Collapse.d.ts +4 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +18 -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 +184 -51
- package/es/data-table/src/DataTable.js +11 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +21 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +22 -6
- package/es/data-table/src/TableParts/Body.d.ts +26 -6
- package/es/data-table/src/TableParts/Body.js +77 -39
- package/es/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +42 -10
- package/es/data-table/src/TableParts/Header.d.ts +21 -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 +14 -19
- package/es/data-table/src/use-table-data.js +3 -3
- package/es/data-table/styles/light.d.ts +20 -5
- package/es/data-table/styles/light.js +4 -4
- package/es/date-picker/src/DatePicker.d.ts +299 -105
- package/es/date-picker/src/panel/date.d.ts +47 -16
- package/es/date-picker/src/panel/daterange.d.ts +48 -17
- package/es/date-picker/src/panel/datetime.d.ts +47 -16
- package/es/date-picker/src/panel/datetimerange.d.ts +48 -17
- package/es/date-picker/src/panel/month.d.ts +47 -16
- package/es/date-picker/src/panel/use-calendar.d.ts +47 -16
- package/es/date-picker/src/panel/use-calendar.js +2 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +48 -17
- package/es/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +46 -15
- package/es/date-picker/styles/light.d.ts +28 -10
- package/es/dialog/src/Dialog.d.ts +102 -35
- package/es/dialog/src/styles/index.cssr.js +1 -0
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +4 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +4 -0
- package/es/drawer/src/DrawerContent.d.ts +4 -0
- package/es/dropdown/index.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +11 -7
- package/es/dropdown/src/DropdownGroup.d.ts +2 -3
- package/es/dropdown/src/DropdownGroupHeader.js +3 -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 +5 -4
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/es/dropdown/src/interface.d.ts +9 -30
- package/es/dynamic-input/src/DynamicInput.d.ts +144 -50
- package/es/dynamic-input/src/InputPreset.d.ts +18 -5
- package/es/dynamic-input/src/PairPreset.d.ts +18 -5
- package/es/dynamic-input/styles/light.d.ts +14 -5
- package/es/dynamic-tags/src/DynamicTags.d.ts +145 -50
- package/es/dynamic-tags/styles/light.d.ts +14 -5
- package/es/ellipsis/src/Ellipsis.d.ts +4 -0
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/image/src/Image.d.ts +25 -16
- package/es/image/src/Image.js +33 -5
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/ImagePreview.d.ts +1 -0
- package/es/image/src/ImagePreview.js +51 -4
- package/es/image/src/interface.d.ts +6 -0
- package/es/image/src/interface.js +1 -0
- package/es/image/src/styles/index.cssr.js +4 -3
- package/es/input/src/Input.d.ts +5 -0
- package/es/input/src/Input.js +6 -0
- package/es/input/src/interface.d.ts +1 -0
- package/es/input/src/styles/input.cssr.js +2 -1
- package/es/input-number/src/InputNumber.d.ts +179 -50
- package/es/input-number/src/InputNumber.js +26 -7
- package/es/input-number/src/utils.d.ts +1 -0
- package/es/input-number/src/utils.js +4 -0
- package/es/input-number/styles/light.d.ts +14 -5
- package/es/layout/src/Layout.d.ts +8 -0
- package/es/layout/src/LayoutContent.d.ts +4 -0
- package/es/layout/src/LayoutSider.d.ts +4 -0
- package/es/log/src/Log.d.ts +10 -25
- package/es/log/src/Log.js +2 -11
- package/es/log/src/LogLine.d.ts +1 -0
- package/es/log/src/LogLine.js +12 -10
- package/es/mention/src/Mention.d.ts +5 -0
- package/es/menu/index.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +20 -6
- package/es/menu/src/Menu.js +2 -1
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +9 -1
- package/es/menu/src/MenuOptionContent.d.ts +4 -1
- package/es/menu/src/Submenu.d.ts +18 -16
- 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 +32 -10
- package/es/modal/src/Modal.d.ts +169 -61
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +11 -0
- package/es/notification/src/NotificationContainer.js +7 -2
- package/es/notification/src/NotificationProvider.d.ts +17 -0
- package/es/notification/src/NotificationProvider.js +38 -3
- package/es/notification/src/styles/index.cssr.d.ts +2 -1
- package/es/notification/src/styles/index.cssr.js +41 -12
- package/es/pagination/src/Pagination.d.ts +5 -0
- package/es/popconfirm/src/Popconfirm.d.ts +149 -55
- package/es/popconfirm/styles/light.d.ts +14 -5
- package/es/popover/src/Popover.d.ts +6 -6
- package/es/popover/src/Popover.js +2 -5
- package/es/popover/src/PopoverBody.d.ts +5 -5
- package/es/popover/src/PopoverBody.js +2 -1
- package/es/popover/src/styles/index.cssr.js +0 -1
- package/es/popselect/src/Popselect.d.ts +9 -5
- package/es/popselect/src/PopselectPanel.d.ts +4 -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 +4 -0
- package/es/slider/src/Slider.d.ts +71 -91
- package/es/slider/src/Slider.js +342 -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/switch/src/Switch.d.ts +16 -1
- package/es/switch/src/Switch.js +17 -4
- package/es/switch/src/styles/index.cssr.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 +11 -12
- package/es/tabs/src/Tabs.js +58 -18
- 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 +4 -0
- package/es/theme-editor/src/ThemeEditor.js +9 -2
- package/es/time-picker/src/Panel.d.ts +18 -5
- package/es/time-picker/src/TimePicker.d.ts +145 -50
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +9 -5
- package/es/transfer/src/Transfer.d.ts +144 -50
- package/es/transfer/src/TransferFilter.d.ts +18 -5
- package/es/transfer/src/TransferList.d.ts +18 -5
- package/es/transfer/src/TransferListItem.d.ts +18 -5
- package/es/transfer/styles/light.d.ts +14 -5
- package/es/tree/src/Tree.d.ts +12 -4
- package/es/tree/src/Tree.js +32 -6
- package/es/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/es/tree-select/src/TreeSelect.d.ts +4 -0
- package/es/upload/index.d.ts +1 -2
- package/es/upload/src/Upload.d.ts +151 -59
- package/es/upload/src/Upload.js +69 -16
- package/es/upload/src/UploadFile.d.ts +18 -5
- package/es/upload/src/UploadProgress.d.ts +18 -5
- package/es/upload/src/interface.d.ts +14 -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/scrollbar/src/ScrollBar.d.ts +1 -0
- package/lib/_internal/scrollbar/src/ScrollBar.js +9 -4
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -0
- package/lib/_internal/selection/src/Selection.d.ts +4 -0
- package/lib/_internal/suffix/src/Suffix.d.ts +4 -1
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +2 -1
- package/lib/_styles/common/light.d.ts +4 -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 +4 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +9 -1
- package/lib/auto-complete/src/AutoComplete.js +5 -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 +126 -54
- package/lib/button/src/interface.d.ts +1 -1
- 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 +144 -50
- package/lib/calendar/styles/light.d.ts +14 -5
- package/lib/card/src/Card.d.ts +4 -0
- package/lib/cascader/src/Cascader.d.ts +4 -0
- package/lib/cascader/src/CascaderOption.d.ts +4 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +4 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +4 -0
- package/lib/checkbox/src/Checkbox.d.ts +9 -5
- package/lib/checkbox/src/Checkbox.js +3 -3
- package/lib/collapse/src/Collapse.d.ts +4 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +18 -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 +184 -51
- package/lib/data-table/src/DataTable.js +11 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +21 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +22 -6
- package/lib/data-table/src/TableParts/Body.d.ts +26 -6
- package/lib/data-table/src/TableParts/Body.js +77 -39
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +42 -10
- package/lib/data-table/src/TableParts/Header.d.ts +21 -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 +14 -19
- package/lib/data-table/src/use-table-data.js +3 -3
- package/lib/data-table/styles/light.d.ts +20 -5
- package/lib/data-table/styles/light.js +4 -4
- package/lib/date-picker/src/DatePicker.d.ts +299 -105
- package/lib/date-picker/src/panel/date.d.ts +47 -16
- package/lib/date-picker/src/panel/daterange.d.ts +48 -17
- package/lib/date-picker/src/panel/datetime.d.ts +47 -16
- package/lib/date-picker/src/panel/datetimerange.d.ts +48 -17
- package/lib/date-picker/src/panel/month.d.ts +47 -16
- package/lib/date-picker/src/panel/use-calendar.d.ts +47 -16
- package/lib/date-picker/src/panel/use-calendar.js +2 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +48 -17
- package/lib/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +46 -15
- package/lib/date-picker/styles/light.d.ts +28 -10
- package/lib/dialog/src/Dialog.d.ts +102 -35
- package/lib/dialog/src/styles/index.cssr.js +1 -0
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +4 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +4 -0
- package/lib/drawer/src/DrawerContent.d.ts +4 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +11 -7
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -3
- package/lib/dropdown/src/DropdownGroupHeader.js +3 -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 +5 -4
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/lib/dropdown/src/interface.d.ts +9 -30
- package/lib/dynamic-input/src/DynamicInput.d.ts +144 -50
- package/lib/dynamic-input/src/InputPreset.d.ts +18 -5
- package/lib/dynamic-input/src/PairPreset.d.ts +18 -5
- package/lib/dynamic-input/styles/light.d.ts +14 -5
- package/lib/dynamic-tags/src/DynamicTags.d.ts +145 -50
- package/lib/dynamic-tags/styles/light.d.ts +14 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +4 -0
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/image/src/Image.d.ts +25 -16
- package/lib/image/src/Image.js +32 -4
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/ImagePreview.d.ts +1 -0
- package/lib/image/src/ImagePreview.js +51 -4
- package/lib/image/src/interface.d.ts +6 -0
- package/lib/image/src/interface.js +2 -0
- package/lib/image/src/styles/index.cssr.js +3 -2
- package/lib/input/src/Input.d.ts +5 -0
- package/lib/input/src/Input.js +6 -0
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input/src/styles/input.cssr.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +179 -50
- package/lib/input-number/src/InputNumber.js +25 -6
- package/lib/input-number/src/utils.d.ts +1 -0
- package/lib/input-number/src/utils.js +6 -1
- package/lib/input-number/styles/light.d.ts +14 -5
- package/lib/layout/src/Layout.d.ts +8 -0
- package/lib/layout/src/LayoutContent.d.ts +4 -0
- package/lib/layout/src/LayoutSider.d.ts +4 -0
- package/lib/log/src/Log.d.ts +10 -25
- package/lib/log/src/Log.js +2 -11
- package/lib/log/src/LogLine.d.ts +1 -0
- package/lib/log/src/LogLine.js +11 -9
- package/lib/mention/src/Mention.d.ts +5 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +20 -6
- package/lib/menu/src/Menu.js +2 -1
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +9 -1
- package/lib/menu/src/MenuOptionContent.d.ts +4 -1
- package/lib/menu/src/Submenu.d.ts +18 -16
- 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 +32 -10
- package/lib/modal/src/Modal.d.ts +169 -61
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +11 -0
- package/lib/notification/src/NotificationContainer.js +7 -2
- package/lib/notification/src/NotificationProvider.d.ts +17 -0
- package/lib/notification/src/NotificationProvider.js +38 -3
- package/lib/notification/src/styles/index.cssr.d.ts +2 -1
- package/lib/notification/src/styles/index.cssr.js +41 -12
- package/lib/pagination/src/Pagination.d.ts +5 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +149 -55
- package/lib/popconfirm/styles/light.d.ts +14 -5
- package/lib/popover/src/Popover.d.ts +6 -6
- package/lib/popover/src/Popover.js +2 -5
- package/lib/popover/src/PopoverBody.d.ts +5 -5
- package/lib/popover/src/PopoverBody.js +2 -1
- package/lib/popover/src/styles/index.cssr.js +0 -1
- package/lib/popselect/src/Popselect.d.ts +9 -5
- package/lib/popselect/src/PopselectPanel.d.ts +4 -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 +4 -0
- package/lib/slider/src/Slider.d.ts +71 -91
- package/lib/slider/src/Slider.js +340 -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/switch/src/Switch.d.ts +16 -1
- package/lib/switch/src/Switch.js +17 -4
- package/lib/switch/src/styles/index.cssr.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 +10 -11
- package/lib/tabs/src/Tabs.js +57 -17
- 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 +4 -0
- package/lib/theme-editor/src/ThemeEditor.js +9 -2
- package/lib/time-picker/src/Panel.d.ts +18 -5
- package/lib/time-picker/src/TimePicker.d.ts +145 -50
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +9 -5
- package/lib/transfer/src/Transfer.d.ts +144 -50
- package/lib/transfer/src/TransferFilter.d.ts +18 -5
- package/lib/transfer/src/TransferList.d.ts +18 -5
- package/lib/transfer/src/TransferListItem.d.ts +18 -5
- package/lib/transfer/styles/light.d.ts +14 -5
- package/lib/tree/src/Tree.d.ts +12 -4
- package/lib/tree/src/Tree.js +32 -6
- package/lib/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/lib/tree-select/src/TreeSelect.d.ts +4 -0
- package/lib/upload/index.d.ts +1 -2
- package/lib/upload/src/Upload.d.ts +151 -59
- package/lib/upload/src/Upload.js +69 -16
- package/lib/upload/src/UploadFile.d.ts +18 -5
- package/lib/upload/src/UploadProgress.d.ts +18 -5
- package/lib/upload/src/interface.d.ts +14 -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 +8 -7
- package/web-types.json +245 -14
|
@@ -182,20 +182,30 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
182
182
|
fontSizeMedium: string;
|
|
183
183
|
fontSizeLarge: string;
|
|
184
184
|
opacityDisabled: string;
|
|
185
|
+
colorOpacitySecondary: string;
|
|
186
|
+
colorOpacitySecondaryHover: string;
|
|
187
|
+
colorOpacitySecondaryPressed: string;
|
|
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;
|
|
185
197
|
color: string;
|
|
186
198
|
colorHover: string;
|
|
187
199
|
colorPressed: string;
|
|
188
200
|
colorFocus: string;
|
|
189
201
|
colorDisabled: string;
|
|
190
202
|
textColor: string;
|
|
203
|
+
textColorTertiary: string;
|
|
191
204
|
textColorHover: string;
|
|
192
205
|
textColorPressed: string;
|
|
193
206
|
textColorFocus: string;
|
|
194
207
|
textColorDisabled: string;
|
|
195
208
|
textColorText: string;
|
|
196
|
-
textColorTextDepth1: string;
|
|
197
|
-
textColorTextDepth2: string;
|
|
198
|
-
textColorTextDepth3: string;
|
|
199
209
|
textColorTextHover: string;
|
|
200
210
|
textColorTextPressed: string;
|
|
201
211
|
textColorTextFocus: string;
|
|
@@ -342,9 +352,8 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
342
352
|
borderDisabledError: string;
|
|
343
353
|
rippleColorError: string;
|
|
344
354
|
waveOpacity: string;
|
|
345
|
-
fontWeightText: string;
|
|
346
355
|
fontWeight: string;
|
|
347
|
-
|
|
356
|
+
fontWeightStrong: string;
|
|
348
357
|
paddingTiny: string;
|
|
349
358
|
paddingSmall: string;
|
|
350
359
|
paddingMedium: string;
|
|
@@ -398,20 +407,30 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
398
407
|
fontSizeMedium: string;
|
|
399
408
|
fontSizeLarge: string;
|
|
400
409
|
opacityDisabled: string;
|
|
410
|
+
colorOpacitySecondary: string;
|
|
411
|
+
colorOpacitySecondaryHover: string;
|
|
412
|
+
colorOpacitySecondaryPressed: string;
|
|
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;
|
|
401
422
|
color: string;
|
|
402
423
|
colorHover: string;
|
|
403
424
|
colorPressed: string;
|
|
404
425
|
colorFocus: string;
|
|
405
426
|
colorDisabled: string;
|
|
406
427
|
textColor: string;
|
|
428
|
+
textColorTertiary: string;
|
|
407
429
|
textColorHover: string;
|
|
408
430
|
textColorPressed: string;
|
|
409
431
|
textColorFocus: string;
|
|
410
432
|
textColorDisabled: string;
|
|
411
433
|
textColorText: string;
|
|
412
|
-
textColorTextDepth1: string;
|
|
413
|
-
textColorTextDepth2: string;
|
|
414
|
-
textColorTextDepth3: string;
|
|
415
434
|
textColorTextHover: string;
|
|
416
435
|
textColorTextPressed: string;
|
|
417
436
|
textColorTextFocus: string;
|
|
@@ -558,9 +577,8 @@ declare const datePickerLight: import("../../_mixins").Theme<"DatePicker", {
|
|
|
558
577
|
borderDisabledError: string;
|
|
559
578
|
rippleColorError: string;
|
|
560
579
|
waveOpacity: string;
|
|
561
|
-
fontWeightText: string;
|
|
562
580
|
fontWeight: string;
|
|
563
|
-
|
|
581
|
+
fontWeightStrong: string;
|
|
564
582
|
paddingTiny: string;
|
|
565
583
|
paddingSmall: string;
|
|
566
584
|
paddingMedium: string;
|
|
@@ -97,20 +97,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
fontSizeMedium: string;
|
|
98
98
|
fontSizeLarge: string;
|
|
99
99
|
opacityDisabled: string;
|
|
100
|
+
colorOpacitySecondary: string;
|
|
101
|
+
colorOpacitySecondaryHover: string;
|
|
102
|
+
colorOpacitySecondaryPressed: string;
|
|
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: string;
|
|
334
|
+
colorOpacitySecondaryHover: string;
|
|
335
|
+
colorOpacitySecondaryPressed: string;
|
|
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: string;
|
|
567
|
+
colorOpacitySecondaryHover: string;
|
|
568
|
+
colorOpacitySecondaryPressed: string;
|
|
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;
|
|
@@ -800,9 +827,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
800
827
|
tableHeaderColor: string;
|
|
801
828
|
hoverColor: string;
|
|
802
829
|
tableColorHover: string;
|
|
830
|
+
tableColorStriped: string;
|
|
803
831
|
pressedColor: string;
|
|
804
832
|
opacityDisabled: string;
|
|
805
833
|
inputColorDisabled: string;
|
|
834
|
+
buttonColor2: string;
|
|
835
|
+
buttonColor2Hover: string;
|
|
836
|
+
buttonColor2Pressed: string;
|
|
806
837
|
boxShadow1: string;
|
|
807
838
|
boxShadow2: string;
|
|
808
839
|
boxShadow3: string;
|
|
@@ -873,20 +904,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
873
904
|
fontSizeMedium: string;
|
|
874
905
|
fontSizeLarge: string;
|
|
875
906
|
opacityDisabled: string;
|
|
907
|
+
colorOpacitySecondary: string;
|
|
908
|
+
colorOpacitySecondaryHover: string;
|
|
909
|
+
colorOpacitySecondaryPressed: string;
|
|
910
|
+
colorSecondary: string;
|
|
911
|
+
colorSecondaryHover: string;
|
|
912
|
+
colorSecondaryPressed: string;
|
|
913
|
+
colorTertiary: string;
|
|
914
|
+
colorTertiaryHover: string;
|
|
915
|
+
colorTertiaryPressed: string;
|
|
916
|
+
colorQuaternary: string;
|
|
917
|
+
colorQuaternaryHover: string;
|
|
918
|
+
colorQuaternaryPressed: string;
|
|
876
919
|
color: string;
|
|
877
920
|
colorHover: string;
|
|
878
921
|
colorPressed: string;
|
|
879
922
|
colorFocus: string;
|
|
880
923
|
colorDisabled: string;
|
|
881
924
|
textColor: string;
|
|
925
|
+
textColorTertiary: string;
|
|
882
926
|
textColorHover: string;
|
|
883
927
|
textColorPressed: string;
|
|
884
928
|
textColorFocus: string;
|
|
885
929
|
textColorDisabled: string;
|
|
886
930
|
textColorText: string;
|
|
887
|
-
textColorTextDepth1: string;
|
|
888
|
-
textColorTextDepth2: string;
|
|
889
|
-
textColorTextDepth3: string;
|
|
890
931
|
textColorTextHover: string;
|
|
891
932
|
textColorTextPressed: string;
|
|
892
933
|
textColorTextFocus: string;
|
|
@@ -1033,9 +1074,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1033
1074
|
borderDisabledError: string;
|
|
1034
1075
|
rippleColorError: string;
|
|
1035
1076
|
waveOpacity: string;
|
|
1036
|
-
fontWeightText: string;
|
|
1037
1077
|
fontWeight: string;
|
|
1038
|
-
|
|
1078
|
+
fontWeightStrong: string;
|
|
1039
1079
|
paddingTiny: string;
|
|
1040
1080
|
paddingSmall: string;
|
|
1041
1081
|
paddingMedium: string;
|
|
@@ -1161,20 +1201,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1161
1201
|
fontSizeMedium: string;
|
|
1162
1202
|
fontSizeLarge: string;
|
|
1163
1203
|
opacityDisabled: string;
|
|
1204
|
+
colorOpacitySecondary: string;
|
|
1205
|
+
colorOpacitySecondaryHover: string;
|
|
1206
|
+
colorOpacitySecondaryPressed: string;
|
|
1207
|
+
colorSecondary: string;
|
|
1208
|
+
colorSecondaryHover: string;
|
|
1209
|
+
colorSecondaryPressed: string;
|
|
1210
|
+
colorTertiary: string;
|
|
1211
|
+
colorTertiaryHover: string;
|
|
1212
|
+
colorTertiaryPressed: string;
|
|
1213
|
+
colorQuaternary: string;
|
|
1214
|
+
colorQuaternaryHover: string;
|
|
1215
|
+
colorQuaternaryPressed: string;
|
|
1164
1216
|
color: string;
|
|
1165
1217
|
colorHover: string;
|
|
1166
1218
|
colorPressed: string;
|
|
1167
1219
|
colorFocus: string;
|
|
1168
1220
|
colorDisabled: string;
|
|
1169
1221
|
textColor: string;
|
|
1222
|
+
textColorTertiary: string;
|
|
1170
1223
|
textColorHover: string;
|
|
1171
1224
|
textColorPressed: string;
|
|
1172
1225
|
textColorFocus: string;
|
|
1173
1226
|
textColorDisabled: string;
|
|
1174
1227
|
textColorText: string;
|
|
1175
|
-
textColorTextDepth1: string;
|
|
1176
|
-
textColorTextDepth2: string;
|
|
1177
|
-
textColorTextDepth3: string;
|
|
1178
1228
|
textColorTextHover: string;
|
|
1179
1229
|
textColorTextPressed: string;
|
|
1180
1230
|
textColorTextFocus: string;
|
|
@@ -1321,9 +1371,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1321
1371
|
borderDisabledError: string;
|
|
1322
1372
|
rippleColorError: string;
|
|
1323
1373
|
waveOpacity: string;
|
|
1324
|
-
fontWeightText: string;
|
|
1325
1374
|
fontWeight: string;
|
|
1326
|
-
|
|
1375
|
+
fontWeightStrong: string;
|
|
1327
1376
|
paddingTiny: string;
|
|
1328
1377
|
paddingSmall: string;
|
|
1329
1378
|
paddingMedium: string;
|
|
@@ -1385,20 +1434,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1385
1434
|
fontSizeMedium: string;
|
|
1386
1435
|
fontSizeLarge: string;
|
|
1387
1436
|
opacityDisabled: string;
|
|
1437
|
+
colorOpacitySecondary: string;
|
|
1438
|
+
colorOpacitySecondaryHover: string;
|
|
1439
|
+
colorOpacitySecondaryPressed: string;
|
|
1440
|
+
colorSecondary: string;
|
|
1441
|
+
colorSecondaryHover: string;
|
|
1442
|
+
colorSecondaryPressed: string;
|
|
1443
|
+
colorTertiary: string;
|
|
1444
|
+
colorTertiaryHover: string;
|
|
1445
|
+
colorTertiaryPressed: string;
|
|
1446
|
+
colorQuaternary: string;
|
|
1447
|
+
colorQuaternaryHover: string;
|
|
1448
|
+
colorQuaternaryPressed: string;
|
|
1388
1449
|
color: string;
|
|
1389
1450
|
colorHover: string;
|
|
1390
1451
|
colorPressed: string;
|
|
1391
1452
|
colorFocus: string;
|
|
1392
1453
|
colorDisabled: string;
|
|
1393
1454
|
textColor: string;
|
|
1455
|
+
textColorTertiary: string;
|
|
1394
1456
|
textColorHover: string;
|
|
1395
1457
|
textColorPressed: string;
|
|
1396
1458
|
textColorFocus: string;
|
|
1397
1459
|
textColorDisabled: string;
|
|
1398
1460
|
textColorText: string;
|
|
1399
|
-
textColorTextDepth1: string;
|
|
1400
|
-
textColorTextDepth2: string;
|
|
1401
|
-
textColorTextDepth3: string;
|
|
1402
1461
|
textColorTextHover: string;
|
|
1403
1462
|
textColorTextPressed: string;
|
|
1404
1463
|
textColorTextFocus: string;
|
|
@@ -1545,9 +1604,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1545
1604
|
borderDisabledError: string;
|
|
1546
1605
|
rippleColorError: string;
|
|
1547
1606
|
waveOpacity: string;
|
|
1548
|
-
fontWeightText: string;
|
|
1549
1607
|
fontWeight: string;
|
|
1550
|
-
|
|
1608
|
+
fontWeightStrong: string;
|
|
1551
1609
|
paddingTiny: string;
|
|
1552
1610
|
paddingSmall: string;
|
|
1553
1611
|
paddingMedium: string;
|
|
@@ -1609,20 +1667,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1609
1667
|
fontSizeMedium: string;
|
|
1610
1668
|
fontSizeLarge: string;
|
|
1611
1669
|
opacityDisabled: string;
|
|
1670
|
+
colorOpacitySecondary: string;
|
|
1671
|
+
colorOpacitySecondaryHover: string;
|
|
1672
|
+
colorOpacitySecondaryPressed: string;
|
|
1673
|
+
colorSecondary: string;
|
|
1674
|
+
colorSecondaryHover: string;
|
|
1675
|
+
colorSecondaryPressed: string;
|
|
1676
|
+
colorTertiary: string;
|
|
1677
|
+
colorTertiaryHover: string;
|
|
1678
|
+
colorTertiaryPressed: string;
|
|
1679
|
+
colorQuaternary: string;
|
|
1680
|
+
colorQuaternaryHover: string;
|
|
1681
|
+
colorQuaternaryPressed: string;
|
|
1612
1682
|
color: string;
|
|
1613
1683
|
colorHover: string;
|
|
1614
1684
|
colorPressed: string;
|
|
1615
1685
|
colorFocus: string;
|
|
1616
1686
|
colorDisabled: string;
|
|
1617
1687
|
textColor: string;
|
|
1688
|
+
textColorTertiary: string;
|
|
1618
1689
|
textColorHover: string;
|
|
1619
1690
|
textColorPressed: string;
|
|
1620
1691
|
textColorFocus: string;
|
|
1621
1692
|
textColorDisabled: string;
|
|
1622
1693
|
textColorText: string;
|
|
1623
|
-
textColorTextDepth1: string;
|
|
1624
|
-
textColorTextDepth2: string;
|
|
1625
|
-
textColorTextDepth3: string;
|
|
1626
1694
|
textColorTextHover: string;
|
|
1627
1695
|
textColorTextPressed: string;
|
|
1628
1696
|
textColorTextFocus: string;
|
|
@@ -1769,9 +1837,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1769
1837
|
borderDisabledError: string;
|
|
1770
1838
|
rippleColorError: string;
|
|
1771
1839
|
waveOpacity: string;
|
|
1772
|
-
fontWeightText: string;
|
|
1773
1840
|
fontWeight: string;
|
|
1774
|
-
|
|
1841
|
+
fontWeightStrong: string;
|
|
1775
1842
|
paddingTiny: string;
|
|
1776
1843
|
paddingSmall: string;
|
|
1777
1844
|
paddingMedium: string;
|
|
@@ -68,6 +68,7 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('dialog', `
|
|
|
68
68
|
font-size: var(--font-size);
|
|
69
69
|
margin: var(--content-margin);
|
|
70
70
|
position: relative;
|
|
71
|
+
word-break: break-word;
|
|
71
72
|
`, [(0, cssr_1.c)('&:last-child', 'margin-bottom: 0;')]), (0, cssr_1.cE)('action', `
|
|
72
73
|
display: flex;
|
|
73
74
|
justify-content: flex-end;
|
|
@@ -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: string;
|
|
74
|
+
colorOpacitySecondaryHover: string;
|
|
75
|
+
colorOpacitySecondaryPressed: string;
|
|
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;
|
|
@@ -333,9 +333,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
333
333
|
tableHeaderColor: string;
|
|
334
334
|
hoverColor: string;
|
|
335
335
|
tableColorHover: string;
|
|
336
|
+
tableColorStriped: string;
|
|
336
337
|
pressedColor: string;
|
|
337
338
|
opacityDisabled: string;
|
|
338
339
|
inputColorDisabled: string;
|
|
340
|
+
buttonColor2: string;
|
|
341
|
+
buttonColor2Hover: string;
|
|
342
|
+
buttonColor2Pressed: string;
|
|
339
343
|
boxShadow1: string;
|
|
340
344
|
boxShadow2: string;
|
|
341
345
|
boxShadow3: string;
|
|
@@ -94,9 +94,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
tableHeaderColor: string;
|
|
95
95
|
hoverColor: string;
|
|
96
96
|
tableColorHover: string;
|
|
97
|
+
tableColorStriped: string;
|
|
97
98
|
pressedColor: string;
|
|
98
99
|
opacityDisabled: string;
|
|
99
100
|
inputColorDisabled: string;
|
|
101
|
+
buttonColor2: string;
|
|
102
|
+
buttonColor2Hover: string;
|
|
103
|
+
buttonColor2Pressed: string;
|
|
100
104
|
boxShadow1: string;
|
|
101
105
|
boxShadow2: string;
|
|
102
106
|
boxShadow3: string;
|
|
@@ -103,9 +103,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
103
103
|
tableHeaderColor: string;
|
|
104
104
|
hoverColor: string;
|
|
105
105
|
tableColorHover: string;
|
|
106
|
+
tableColorStriped: string;
|
|
106
107
|
pressedColor: string;
|
|
107
108
|
opacityDisabled: string;
|
|
108
109
|
inputColorDisabled: string;
|
|
110
|
+
buttonColor2: string;
|
|
111
|
+
buttonColor2Hover: string;
|
|
112
|
+
buttonColor2Pressed: string;
|
|
109
113
|
boxShadow1: string;
|
|
110
114
|
boxShadow2: string;
|
|
111
115
|
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>;
|
|
@@ -295,7 +295,7 @@ declare const dropdownProps: {
|
|
|
295
295
|
default: string;
|
|
296
296
|
};
|
|
297
297
|
readonly arrowStyle: PropType<string | CSSProperties>;
|
|
298
|
-
readonly
|
|
298
|
+
readonly flip: {
|
|
299
299
|
type: BooleanConstructor;
|
|
300
300
|
default: boolean;
|
|
301
301
|
};
|
|
@@ -607,7 +607,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
607
607
|
default: string;
|
|
608
608
|
};
|
|
609
609
|
readonly arrowStyle: PropType<string | CSSProperties>;
|
|
610
|
-
readonly
|
|
610
|
+
readonly flip: {
|
|
611
611
|
type: BooleanConstructor;
|
|
612
612
|
default: boolean;
|
|
613
613
|
};
|
|
@@ -713,9 +713,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
713
713
|
tableHeaderColor: string;
|
|
714
714
|
hoverColor: string;
|
|
715
715
|
tableColorHover: string;
|
|
716
|
+
tableColorStriped: string;
|
|
716
717
|
pressedColor: string;
|
|
717
718
|
opacityDisabled: string;
|
|
718
719
|
inputColorDisabled: string;
|
|
720
|
+
buttonColor2: string;
|
|
721
|
+
buttonColor2Hover: string;
|
|
722
|
+
buttonColor2Pressed: string;
|
|
719
723
|
boxShadow1: string;
|
|
720
724
|
boxShadow2: string;
|
|
721
725
|
boxShadow3: string;
|
|
@@ -822,7 +826,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
822
826
|
} | undefined;
|
|
823
827
|
};
|
|
824
828
|
}>;
|
|
825
|
-
tmNodes: import("vue").ComputedRef<TreeNode<
|
|
829
|
+
tmNodes: import("vue").ComputedRef<TreeNode<import("../..").MenuOption | import("../../menu/src/interface").MenuRenderOption, import("../..").MenuGroupOption, import("../../menu/src/interface").MenuIgnoredOption>[]>;
|
|
826
830
|
mergedShow: import("vue").ComputedRef<boolean>;
|
|
827
831
|
doUpdateShow: (value: boolean) => void;
|
|
828
832
|
cssVars: import("vue").ComputedRef<any>;
|
|
@@ -856,7 +860,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
856
860
|
readonly getDisabled?: unknown;
|
|
857
861
|
readonly displayDirective?: unknown;
|
|
858
862
|
readonly arrowStyle?: unknown;
|
|
859
|
-
readonly
|
|
863
|
+
readonly flip?: unknown;
|
|
860
864
|
readonly width?: unknown;
|
|
861
865
|
readonly overlap?: unknown;
|
|
862
866
|
readonly internalExtraClass?: unknown;
|
|
@@ -874,6 +878,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
874
878
|
readonly maxWidth?: unknown;
|
|
875
879
|
} & {
|
|
876
880
|
size: "small" | "medium" | "large" | "huge";
|
|
881
|
+
flip: boolean;
|
|
877
882
|
disabled: boolean;
|
|
878
883
|
duration: number;
|
|
879
884
|
raw: boolean;
|
|
@@ -884,7 +889,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
884
889
|
showArrow: boolean;
|
|
885
890
|
delay: number;
|
|
886
891
|
displayDirective: "show" | "if";
|
|
887
|
-
filp: boolean;
|
|
888
892
|
animated: boolean;
|
|
889
893
|
defaultShow: boolean;
|
|
890
894
|
internalExtraClass: string[];
|
|
@@ -1129,6 +1133,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1129
1133
|
}>, {
|
|
1130
1134
|
size: "small" | "medium" | "large" | "huge";
|
|
1131
1135
|
show: boolean | undefined;
|
|
1136
|
+
flip: boolean;
|
|
1132
1137
|
width: number | "trigger";
|
|
1133
1138
|
disabled: boolean;
|
|
1134
1139
|
duration: number;
|
|
@@ -1141,7 +1146,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1141
1146
|
showArrow: boolean;
|
|
1142
1147
|
delay: number;
|
|
1143
1148
|
displayDirective: "show" | "if";
|
|
1144
|
-
filp: boolean;
|
|
1145
1149
|
animated: boolean;
|
|
1146
1150
|
defaultShow: boolean;
|
|
1147
1151
|
internalExtraClass: string[];
|
|
@@ -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;
|
|
@@ -35,17 +35,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
35
35
|
const { rawNode } = this.tmNode;
|
|
36
36
|
return ((0, vue_1.h)("div", { class: `${clsPrefix}-dropdown-option` },
|
|
37
37
|
(0, vue_1.h)("div", { class: `${clsPrefix}-dropdown-option-body ${clsPrefix}-dropdown-option-body--group` },
|
|
38
|
-
(0, vue_1.h)("div", { "
|
|
38
|
+
(0, vue_1.h)("div", { "data-dropdown-option": true, class: [
|
|
39
39
|
`${clsPrefix}-dropdown-option-body__prefix`,
|
|
40
40
|
showIcon && `${clsPrefix}-dropdown-option-body__prefix--show-icon`
|
|
41
41
|
] }, (0, _utils_1.render)(rawNode.icon)),
|
|
42
|
-
(0, vue_1.h)("div", { class: `${clsPrefix}-dropdown-option-body__label`, "
|
|
42
|
+
(0, vue_1.h)("div", { class: `${clsPrefix}-dropdown-option-body__label`, "data-dropdown-option": true }, renderLabel
|
|
43
43
|
? renderLabel(rawNode)
|
|
44
44
|
: (0, _utils_1.render)((_a = rawNode.title) !== null && _a !== void 0 ? _a : rawNode[this.labelField])),
|
|
45
45
|
(0, vue_1.h)("div", { class: [
|
|
46
46
|
`${clsPrefix}-dropdown-option-body__suffix`,
|
|
47
47
|
hasSubmenu &&
|
|
48
48
|
`${clsPrefix}-dropdown-option-body__suffix--has-submenu`
|
|
49
|
-
], "
|
|
49
|
+
], "data-dropdown-option": true }))));
|
|
50
50
|
}
|
|
51
51
|
});
|