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
package/lib/modal/src/Modal.d.ts
CHANGED
|
@@ -123,20 +123,30 @@ declare const modalProps: {
|
|
|
123
123
|
fontSizeMedium: string;
|
|
124
124
|
fontSizeLarge: string;
|
|
125
125
|
opacityDisabled: string;
|
|
126
|
+
colorOpacitySecondary: string;
|
|
127
|
+
colorOpacitySecondaryHover: string;
|
|
128
|
+
colorOpacitySecondaryPressed: string;
|
|
129
|
+
colorSecondary: string;
|
|
130
|
+
colorSecondaryHover: string;
|
|
131
|
+
colorSecondaryPressed: string;
|
|
132
|
+
colorTertiary: string;
|
|
133
|
+
colorTertiaryHover: string;
|
|
134
|
+
colorTertiaryPressed: string;
|
|
135
|
+
colorQuaternary: string;
|
|
136
|
+
colorQuaternaryHover: string;
|
|
137
|
+
colorQuaternaryPressed: string;
|
|
126
138
|
color: string;
|
|
127
139
|
colorHover: string;
|
|
128
140
|
colorPressed: string;
|
|
129
141
|
colorFocus: string;
|
|
130
142
|
colorDisabled: string;
|
|
131
143
|
textColor: string;
|
|
144
|
+
textColorTertiary: string;
|
|
132
145
|
textColorHover: string;
|
|
133
146
|
textColorPressed: string;
|
|
134
147
|
textColorFocus: string;
|
|
135
148
|
textColorDisabled: string;
|
|
136
149
|
textColorText: string;
|
|
137
|
-
textColorTextDepth1: string;
|
|
138
|
-
textColorTextDepth2: string;
|
|
139
|
-
textColorTextDepth3: string;
|
|
140
150
|
textColorTextHover: string;
|
|
141
151
|
textColorTextPressed: string;
|
|
142
152
|
textColorTextFocus: string;
|
|
@@ -283,9 +293,8 @@ declare const modalProps: {
|
|
|
283
293
|
borderDisabledError: string;
|
|
284
294
|
rippleColorError: string;
|
|
285
295
|
waveOpacity: string;
|
|
286
|
-
fontWeightText: string;
|
|
287
296
|
fontWeight: string;
|
|
288
|
-
|
|
297
|
+
fontWeightStrong: string;
|
|
289
298
|
paddingTiny: string;
|
|
290
299
|
paddingSmall: string;
|
|
291
300
|
paddingMedium: string;
|
|
@@ -388,20 +397,30 @@ declare const modalProps: {
|
|
|
388
397
|
fontSizeMedium: string;
|
|
389
398
|
fontSizeLarge: string;
|
|
390
399
|
opacityDisabled: string;
|
|
400
|
+
colorOpacitySecondary: string;
|
|
401
|
+
colorOpacitySecondaryHover: string;
|
|
402
|
+
colorOpacitySecondaryPressed: string;
|
|
403
|
+
colorSecondary: string;
|
|
404
|
+
colorSecondaryHover: string;
|
|
405
|
+
colorSecondaryPressed: string;
|
|
406
|
+
colorTertiary: string;
|
|
407
|
+
colorTertiaryHover: string;
|
|
408
|
+
colorTertiaryPressed: string;
|
|
409
|
+
colorQuaternary: string;
|
|
410
|
+
colorQuaternaryHover: string;
|
|
411
|
+
colorQuaternaryPressed: string;
|
|
391
412
|
color: string;
|
|
392
413
|
colorHover: string;
|
|
393
414
|
colorPressed: string;
|
|
394
415
|
colorFocus: string;
|
|
395
416
|
colorDisabled: string;
|
|
396
417
|
textColor: string;
|
|
418
|
+
textColorTertiary: string;
|
|
397
419
|
textColorHover: string;
|
|
398
420
|
textColorPressed: string;
|
|
399
421
|
textColorFocus: string;
|
|
400
422
|
textColorDisabled: string;
|
|
401
423
|
textColorText: string;
|
|
402
|
-
textColorTextDepth1: string;
|
|
403
|
-
textColorTextDepth2: string;
|
|
404
|
-
textColorTextDepth3: string;
|
|
405
424
|
textColorTextHover: string;
|
|
406
425
|
textColorTextPressed: string;
|
|
407
426
|
textColorTextFocus: string;
|
|
@@ -548,9 +567,8 @@ declare const modalProps: {
|
|
|
548
567
|
borderDisabledError: string;
|
|
549
568
|
rippleColorError: string;
|
|
550
569
|
waveOpacity: string;
|
|
551
|
-
fontWeightText: string;
|
|
552
570
|
fontWeight: string;
|
|
553
|
-
|
|
571
|
+
fontWeightStrong: string;
|
|
554
572
|
paddingTiny: string;
|
|
555
573
|
paddingSmall: string;
|
|
556
574
|
paddingMedium: string;
|
|
@@ -653,20 +671,30 @@ declare const modalProps: {
|
|
|
653
671
|
fontSizeMedium: string;
|
|
654
672
|
fontSizeLarge: string;
|
|
655
673
|
opacityDisabled: string;
|
|
674
|
+
colorOpacitySecondary: string;
|
|
675
|
+
colorOpacitySecondaryHover: string;
|
|
676
|
+
colorOpacitySecondaryPressed: string;
|
|
677
|
+
colorSecondary: string;
|
|
678
|
+
colorSecondaryHover: string;
|
|
679
|
+
colorSecondaryPressed: string;
|
|
680
|
+
colorTertiary: string;
|
|
681
|
+
colorTertiaryHover: string;
|
|
682
|
+
colorTertiaryPressed: string;
|
|
683
|
+
colorQuaternary: string;
|
|
684
|
+
colorQuaternaryHover: string;
|
|
685
|
+
colorQuaternaryPressed: string;
|
|
656
686
|
color: string;
|
|
657
687
|
colorHover: string;
|
|
658
688
|
colorPressed: string;
|
|
659
689
|
colorFocus: string;
|
|
660
690
|
colorDisabled: string;
|
|
661
691
|
textColor: string;
|
|
692
|
+
textColorTertiary: string;
|
|
662
693
|
textColorHover: string;
|
|
663
694
|
textColorPressed: string;
|
|
664
695
|
textColorFocus: string;
|
|
665
696
|
textColorDisabled: string;
|
|
666
697
|
textColorText: string;
|
|
667
|
-
textColorTextDepth1: string;
|
|
668
|
-
textColorTextDepth2: string;
|
|
669
|
-
textColorTextDepth3: string;
|
|
670
698
|
textColorTextHover: string;
|
|
671
699
|
textColorTextPressed: string;
|
|
672
700
|
textColorTextFocus: string;
|
|
@@ -813,9 +841,8 @@ declare const modalProps: {
|
|
|
813
841
|
borderDisabledError: string;
|
|
814
842
|
rippleColorError: string;
|
|
815
843
|
waveOpacity: string;
|
|
816
|
-
fontWeightText: string;
|
|
817
844
|
fontWeight: string;
|
|
818
|
-
|
|
845
|
+
fontWeightStrong: string;
|
|
819
846
|
paddingTiny: string;
|
|
820
847
|
paddingSmall: string;
|
|
821
848
|
paddingMedium: string;
|
|
@@ -992,20 +1019,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
992
1019
|
fontSizeMedium: string;
|
|
993
1020
|
fontSizeLarge: string;
|
|
994
1021
|
opacityDisabled: string;
|
|
1022
|
+
colorOpacitySecondary: string;
|
|
1023
|
+
colorOpacitySecondaryHover: string;
|
|
1024
|
+
colorOpacitySecondaryPressed: string;
|
|
1025
|
+
colorSecondary: string;
|
|
1026
|
+
colorSecondaryHover: string;
|
|
1027
|
+
colorSecondaryPressed: string;
|
|
1028
|
+
colorTertiary: string;
|
|
1029
|
+
colorTertiaryHover: string;
|
|
1030
|
+
colorTertiaryPressed: string;
|
|
1031
|
+
colorQuaternary: string;
|
|
1032
|
+
colorQuaternaryHover: string;
|
|
1033
|
+
colorQuaternaryPressed: string;
|
|
995
1034
|
color: string;
|
|
996
1035
|
colorHover: string;
|
|
997
1036
|
colorPressed: string;
|
|
998
1037
|
colorFocus: string;
|
|
999
1038
|
colorDisabled: string;
|
|
1000
1039
|
textColor: string;
|
|
1040
|
+
textColorTertiary: string;
|
|
1001
1041
|
textColorHover: string;
|
|
1002
1042
|
textColorPressed: string;
|
|
1003
1043
|
textColorFocus: string;
|
|
1004
1044
|
textColorDisabled: string;
|
|
1005
1045
|
textColorText: string;
|
|
1006
|
-
textColorTextDepth1: string;
|
|
1007
|
-
textColorTextDepth2: string;
|
|
1008
|
-
textColorTextDepth3: string;
|
|
1009
1046
|
textColorTextHover: string;
|
|
1010
1047
|
textColorTextPressed: string;
|
|
1011
1048
|
textColorTextFocus: string;
|
|
@@ -1152,9 +1189,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1152
1189
|
borderDisabledError: string;
|
|
1153
1190
|
rippleColorError: string;
|
|
1154
1191
|
waveOpacity: string;
|
|
1155
|
-
fontWeightText: string;
|
|
1156
1192
|
fontWeight: string;
|
|
1157
|
-
|
|
1193
|
+
fontWeightStrong: string;
|
|
1158
1194
|
paddingTiny: string;
|
|
1159
1195
|
paddingSmall: string;
|
|
1160
1196
|
paddingMedium: string;
|
|
@@ -1257,20 +1293,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1257
1293
|
fontSizeMedium: string;
|
|
1258
1294
|
fontSizeLarge: string;
|
|
1259
1295
|
opacityDisabled: string;
|
|
1296
|
+
colorOpacitySecondary: string;
|
|
1297
|
+
colorOpacitySecondaryHover: string;
|
|
1298
|
+
colorOpacitySecondaryPressed: string;
|
|
1299
|
+
colorSecondary: string;
|
|
1300
|
+
colorSecondaryHover: string;
|
|
1301
|
+
colorSecondaryPressed: string;
|
|
1302
|
+
colorTertiary: string;
|
|
1303
|
+
colorTertiaryHover: string;
|
|
1304
|
+
colorTertiaryPressed: string;
|
|
1305
|
+
colorQuaternary: string;
|
|
1306
|
+
colorQuaternaryHover: string;
|
|
1307
|
+
colorQuaternaryPressed: string;
|
|
1260
1308
|
color: string;
|
|
1261
1309
|
colorHover: string;
|
|
1262
1310
|
colorPressed: string;
|
|
1263
1311
|
colorFocus: string;
|
|
1264
1312
|
colorDisabled: string;
|
|
1265
1313
|
textColor: string;
|
|
1314
|
+
textColorTertiary: string;
|
|
1266
1315
|
textColorHover: string;
|
|
1267
1316
|
textColorPressed: string;
|
|
1268
1317
|
textColorFocus: string;
|
|
1269
1318
|
textColorDisabled: string;
|
|
1270
1319
|
textColorText: string;
|
|
1271
|
-
textColorTextDepth1: string;
|
|
1272
|
-
textColorTextDepth2: string;
|
|
1273
|
-
textColorTextDepth3: string;
|
|
1274
1320
|
textColorTextHover: string;
|
|
1275
1321
|
textColorTextPressed: string;
|
|
1276
1322
|
textColorTextFocus: string;
|
|
@@ -1417,9 +1463,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1417
1463
|
borderDisabledError: string;
|
|
1418
1464
|
rippleColorError: string;
|
|
1419
1465
|
waveOpacity: string;
|
|
1420
|
-
fontWeightText: string;
|
|
1421
1466
|
fontWeight: string;
|
|
1422
|
-
|
|
1467
|
+
fontWeightStrong: string;
|
|
1423
1468
|
paddingTiny: string;
|
|
1424
1469
|
paddingSmall: string;
|
|
1425
1470
|
paddingMedium: string;
|
|
@@ -1522,20 +1567,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1522
1567
|
fontSizeMedium: string;
|
|
1523
1568
|
fontSizeLarge: string;
|
|
1524
1569
|
opacityDisabled: string;
|
|
1570
|
+
colorOpacitySecondary: string;
|
|
1571
|
+
colorOpacitySecondaryHover: string;
|
|
1572
|
+
colorOpacitySecondaryPressed: string;
|
|
1573
|
+
colorSecondary: string;
|
|
1574
|
+
colorSecondaryHover: string;
|
|
1575
|
+
colorSecondaryPressed: string;
|
|
1576
|
+
colorTertiary: string;
|
|
1577
|
+
colorTertiaryHover: string;
|
|
1578
|
+
colorTertiaryPressed: string;
|
|
1579
|
+
colorQuaternary: string;
|
|
1580
|
+
colorQuaternaryHover: string;
|
|
1581
|
+
colorQuaternaryPressed: string;
|
|
1525
1582
|
color: string;
|
|
1526
1583
|
colorHover: string;
|
|
1527
1584
|
colorPressed: string;
|
|
1528
1585
|
colorFocus: string;
|
|
1529
1586
|
colorDisabled: string;
|
|
1530
1587
|
textColor: string;
|
|
1588
|
+
textColorTertiary: string;
|
|
1531
1589
|
textColorHover: string;
|
|
1532
1590
|
textColorPressed: string;
|
|
1533
1591
|
textColorFocus: string;
|
|
1534
1592
|
textColorDisabled: string;
|
|
1535
1593
|
textColorText: string;
|
|
1536
|
-
textColorTextDepth1: string;
|
|
1537
|
-
textColorTextDepth2: string;
|
|
1538
|
-
textColorTextDepth3: string;
|
|
1539
1594
|
textColorTextHover: string;
|
|
1540
1595
|
textColorTextPressed: string;
|
|
1541
1596
|
textColorTextFocus: string;
|
|
@@ -1682,9 +1737,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1682
1737
|
borderDisabledError: string;
|
|
1683
1738
|
rippleColorError: string;
|
|
1684
1739
|
waveOpacity: string;
|
|
1685
|
-
fontWeightText: string;
|
|
1686
1740
|
fontWeight: string;
|
|
1687
|
-
|
|
1741
|
+
fontWeightStrong: string;
|
|
1688
1742
|
paddingTiny: string;
|
|
1689
1743
|
paddingSmall: string;
|
|
1690
1744
|
paddingMedium: string;
|
|
@@ -1742,7 +1796,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1742
1796
|
isMounted: Readonly<import("vue").Ref<boolean>>;
|
|
1743
1797
|
containerRef: import("vue").Ref<HTMLElement | null>;
|
|
1744
1798
|
presetProps: import("vue").ComputedRef<Pick<Readonly<{
|
|
1745
|
-
[x: string & `on${string}`]: undefined;
|
|
1799
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1746
1800
|
type: "default" | "error" | "info" | "success" | "warning";
|
|
1747
1801
|
content: string | (() => import("vue").VNodeChild) | undefined;
|
|
1748
1802
|
size: "small" | "medium" | "large" | "huge";
|
|
@@ -1808,20 +1862,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1808
1862
|
fontSizeMedium: string;
|
|
1809
1863
|
fontSizeLarge: string;
|
|
1810
1864
|
opacityDisabled: string;
|
|
1865
|
+
colorOpacitySecondary: string;
|
|
1866
|
+
colorOpacitySecondaryHover: string;
|
|
1867
|
+
colorOpacitySecondaryPressed: string;
|
|
1868
|
+
colorSecondary: string;
|
|
1869
|
+
colorSecondaryHover: string;
|
|
1870
|
+
colorSecondaryPressed: string;
|
|
1871
|
+
colorTertiary: string;
|
|
1872
|
+
colorTertiaryHover: string;
|
|
1873
|
+
colorTertiaryPressed: string;
|
|
1874
|
+
colorQuaternary: string;
|
|
1875
|
+
colorQuaternaryHover: string;
|
|
1876
|
+
colorQuaternaryPressed: string;
|
|
1811
1877
|
color: string;
|
|
1812
1878
|
colorHover: string;
|
|
1813
1879
|
colorPressed: string;
|
|
1814
1880
|
colorFocus: string;
|
|
1815
1881
|
colorDisabled: string;
|
|
1816
1882
|
textColor: string;
|
|
1883
|
+
textColorTertiary: string;
|
|
1817
1884
|
textColorHover: string;
|
|
1818
1885
|
textColorPressed: string;
|
|
1819
1886
|
textColorFocus: string;
|
|
1820
1887
|
textColorDisabled: string;
|
|
1821
1888
|
textColorText: string;
|
|
1822
|
-
textColorTextDepth1: string;
|
|
1823
|
-
textColorTextDepth2: string;
|
|
1824
|
-
textColorTextDepth3: string;
|
|
1825
1889
|
textColorTextHover: string;
|
|
1826
1890
|
textColorTextPressed: string;
|
|
1827
1891
|
textColorTextFocus: string;
|
|
@@ -1968,9 +2032,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1968
2032
|
borderDisabledError: string;
|
|
1969
2033
|
rippleColorError: string;
|
|
1970
2034
|
waveOpacity: string;
|
|
1971
|
-
fontWeightText: string;
|
|
1972
2035
|
fontWeight: string;
|
|
1973
|
-
|
|
2036
|
+
fontWeightStrong: string;
|
|
1974
2037
|
paddingTiny: string;
|
|
1975
2038
|
paddingSmall: string;
|
|
1976
2039
|
paddingMedium: string;
|
|
@@ -2073,20 +2136,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2073
2136
|
fontSizeMedium: string;
|
|
2074
2137
|
fontSizeLarge: string;
|
|
2075
2138
|
opacityDisabled: string;
|
|
2139
|
+
colorOpacitySecondary: string;
|
|
2140
|
+
colorOpacitySecondaryHover: string;
|
|
2141
|
+
colorOpacitySecondaryPressed: string;
|
|
2142
|
+
colorSecondary: string;
|
|
2143
|
+
colorSecondaryHover: string;
|
|
2144
|
+
colorSecondaryPressed: string;
|
|
2145
|
+
colorTertiary: string;
|
|
2146
|
+
colorTertiaryHover: string;
|
|
2147
|
+
colorTertiaryPressed: string;
|
|
2148
|
+
colorQuaternary: string;
|
|
2149
|
+
colorQuaternaryHover: string;
|
|
2150
|
+
colorQuaternaryPressed: string;
|
|
2076
2151
|
color: string;
|
|
2077
2152
|
colorHover: string;
|
|
2078
2153
|
colorPressed: string;
|
|
2079
2154
|
colorFocus: string;
|
|
2080
2155
|
colorDisabled: string;
|
|
2081
2156
|
textColor: string;
|
|
2157
|
+
textColorTertiary: string;
|
|
2082
2158
|
textColorHover: string;
|
|
2083
2159
|
textColorPressed: string;
|
|
2084
2160
|
textColorFocus: string;
|
|
2085
2161
|
textColorDisabled: string;
|
|
2086
2162
|
textColorText: string;
|
|
2087
|
-
textColorTextDepth1: string;
|
|
2088
|
-
textColorTextDepth2: string;
|
|
2089
|
-
textColorTextDepth3: string;
|
|
2090
2163
|
textColorTextHover: string;
|
|
2091
2164
|
textColorTextPressed: string;
|
|
2092
2165
|
textColorTextFocus: string;
|
|
@@ -2233,9 +2306,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2233
2306
|
borderDisabledError: string;
|
|
2234
2307
|
rippleColorError: string;
|
|
2235
2308
|
waveOpacity: string;
|
|
2236
|
-
fontWeightText: string;
|
|
2237
2309
|
fontWeight: string;
|
|
2238
|
-
|
|
2310
|
+
fontWeightStrong: string;
|
|
2239
2311
|
paddingTiny: string;
|
|
2240
2312
|
paddingSmall: string;
|
|
2241
2313
|
paddingMedium: string;
|
|
@@ -2338,20 +2410,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2338
2410
|
fontSizeMedium: string;
|
|
2339
2411
|
fontSizeLarge: string;
|
|
2340
2412
|
opacityDisabled: string;
|
|
2413
|
+
colorOpacitySecondary: string;
|
|
2414
|
+
colorOpacitySecondaryHover: string;
|
|
2415
|
+
colorOpacitySecondaryPressed: string;
|
|
2416
|
+
colorSecondary: string;
|
|
2417
|
+
colorSecondaryHover: string;
|
|
2418
|
+
colorSecondaryPressed: string;
|
|
2419
|
+
colorTertiary: string;
|
|
2420
|
+
colorTertiaryHover: string;
|
|
2421
|
+
colorTertiaryPressed: string;
|
|
2422
|
+
colorQuaternary: string;
|
|
2423
|
+
colorQuaternaryHover: string;
|
|
2424
|
+
colorQuaternaryPressed: string;
|
|
2341
2425
|
color: string;
|
|
2342
2426
|
colorHover: string;
|
|
2343
2427
|
colorPressed: string;
|
|
2344
2428
|
colorFocus: string;
|
|
2345
2429
|
colorDisabled: string;
|
|
2346
2430
|
textColor: string;
|
|
2431
|
+
textColorTertiary: string;
|
|
2347
2432
|
textColorHover: string;
|
|
2348
2433
|
textColorPressed: string;
|
|
2349
2434
|
textColorFocus: string;
|
|
2350
2435
|
textColorDisabled: string;
|
|
2351
2436
|
textColorText: string;
|
|
2352
|
-
textColorTextDepth1: string;
|
|
2353
|
-
textColorTextDepth2: string;
|
|
2354
|
-
textColorTextDepth3: string;
|
|
2355
2437
|
textColorTextHover: string;
|
|
2356
2438
|
textColorTextPressed: string;
|
|
2357
2439
|
textColorTextFocus: string;
|
|
@@ -2498,9 +2580,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2498
2580
|
borderDisabledError: string;
|
|
2499
2581
|
rippleColorError: string;
|
|
2500
2582
|
waveOpacity: string;
|
|
2501
|
-
fontWeightText: string;
|
|
2502
2583
|
fontWeight: string;
|
|
2503
|
-
|
|
2584
|
+
fontWeightStrong: string;
|
|
2504
2585
|
paddingTiny: string;
|
|
2505
2586
|
paddingSmall: string;
|
|
2506
2587
|
paddingMedium: string;
|
|
@@ -2715,20 +2796,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2715
2796
|
fontSizeMedium: string;
|
|
2716
2797
|
fontSizeLarge: string;
|
|
2717
2798
|
opacityDisabled: string;
|
|
2799
|
+
colorOpacitySecondary: string;
|
|
2800
|
+
colorOpacitySecondaryHover: string;
|
|
2801
|
+
colorOpacitySecondaryPressed: string;
|
|
2802
|
+
colorSecondary: string;
|
|
2803
|
+
colorSecondaryHover: string;
|
|
2804
|
+
colorSecondaryPressed: string;
|
|
2805
|
+
colorTertiary: string;
|
|
2806
|
+
colorTertiaryHover: string;
|
|
2807
|
+
colorTertiaryPressed: string;
|
|
2808
|
+
colorQuaternary: string;
|
|
2809
|
+
colorQuaternaryHover: string;
|
|
2810
|
+
colorQuaternaryPressed: string;
|
|
2718
2811
|
color: string;
|
|
2719
2812
|
colorHover: string;
|
|
2720
2813
|
colorPressed: string;
|
|
2721
2814
|
colorFocus: string;
|
|
2722
2815
|
colorDisabled: string;
|
|
2723
2816
|
textColor: string;
|
|
2817
|
+
textColorTertiary: string;
|
|
2724
2818
|
textColorHover: string;
|
|
2725
2819
|
textColorPressed: string;
|
|
2726
2820
|
textColorFocus: string;
|
|
2727
2821
|
textColorDisabled: string;
|
|
2728
2822
|
textColorText: string;
|
|
2729
|
-
textColorTextDepth1: string;
|
|
2730
|
-
textColorTextDepth2: string;
|
|
2731
|
-
textColorTextDepth3: string;
|
|
2732
2823
|
textColorTextHover: string;
|
|
2733
2824
|
textColorTextPressed: string;
|
|
2734
2825
|
textColorTextFocus: string;
|
|
@@ -2875,9 +2966,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2875
2966
|
borderDisabledError: string;
|
|
2876
2967
|
rippleColorError: string;
|
|
2877
2968
|
waveOpacity: string;
|
|
2878
|
-
fontWeightText: string;
|
|
2879
2969
|
fontWeight: string;
|
|
2880
|
-
|
|
2970
|
+
fontWeightStrong: string;
|
|
2881
2971
|
paddingTiny: string;
|
|
2882
2972
|
paddingSmall: string;
|
|
2883
2973
|
paddingMedium: string;
|
|
@@ -2980,20 +3070,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2980
3070
|
fontSizeMedium: string;
|
|
2981
3071
|
fontSizeLarge: string;
|
|
2982
3072
|
opacityDisabled: string;
|
|
3073
|
+
colorOpacitySecondary: string;
|
|
3074
|
+
colorOpacitySecondaryHover: string;
|
|
3075
|
+
colorOpacitySecondaryPressed: string;
|
|
3076
|
+
colorSecondary: string;
|
|
3077
|
+
colorSecondaryHover: string;
|
|
3078
|
+
colorSecondaryPressed: string;
|
|
3079
|
+
colorTertiary: string;
|
|
3080
|
+
colorTertiaryHover: string;
|
|
3081
|
+
colorTertiaryPressed: string;
|
|
3082
|
+
colorQuaternary: string;
|
|
3083
|
+
colorQuaternaryHover: string;
|
|
3084
|
+
colorQuaternaryPressed: string;
|
|
2983
3085
|
color: string;
|
|
2984
3086
|
colorHover: string;
|
|
2985
3087
|
colorPressed: string;
|
|
2986
3088
|
colorFocus: string;
|
|
2987
3089
|
colorDisabled: string;
|
|
2988
3090
|
textColor: string;
|
|
3091
|
+
textColorTertiary: string;
|
|
2989
3092
|
textColorHover: string;
|
|
2990
3093
|
textColorPressed: string;
|
|
2991
3094
|
textColorFocus: string;
|
|
2992
3095
|
textColorDisabled: string;
|
|
2993
3096
|
textColorText: string;
|
|
2994
|
-
textColorTextDepth1: string;
|
|
2995
|
-
textColorTextDepth2: string;
|
|
2996
|
-
textColorTextDepth3: string;
|
|
2997
3097
|
textColorTextHover: string;
|
|
2998
3098
|
textColorTextPressed: string;
|
|
2999
3099
|
textColorTextFocus: string;
|
|
@@ -3140,9 +3240,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3140
3240
|
borderDisabledError: string;
|
|
3141
3241
|
rippleColorError: string;
|
|
3142
3242
|
waveOpacity: string;
|
|
3143
|
-
fontWeightText: string;
|
|
3144
3243
|
fontWeight: string;
|
|
3145
|
-
|
|
3244
|
+
fontWeightStrong: string;
|
|
3146
3245
|
paddingTiny: string;
|
|
3147
3246
|
paddingSmall: string;
|
|
3148
3247
|
paddingMedium: string;
|
|
@@ -3245,20 +3344,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3245
3344
|
fontSizeMedium: string;
|
|
3246
3345
|
fontSizeLarge: string;
|
|
3247
3346
|
opacityDisabled: string;
|
|
3347
|
+
colorOpacitySecondary: string;
|
|
3348
|
+
colorOpacitySecondaryHover: string;
|
|
3349
|
+
colorOpacitySecondaryPressed: string;
|
|
3350
|
+
colorSecondary: string;
|
|
3351
|
+
colorSecondaryHover: string;
|
|
3352
|
+
colorSecondaryPressed: string;
|
|
3353
|
+
colorTertiary: string;
|
|
3354
|
+
colorTertiaryHover: string;
|
|
3355
|
+
colorTertiaryPressed: string;
|
|
3356
|
+
colorQuaternary: string;
|
|
3357
|
+
colorQuaternaryHover: string;
|
|
3358
|
+
colorQuaternaryPressed: string;
|
|
3248
3359
|
color: string;
|
|
3249
3360
|
colorHover: string;
|
|
3250
3361
|
colorPressed: string;
|
|
3251
3362
|
colorFocus: string;
|
|
3252
3363
|
colorDisabled: string;
|
|
3253
3364
|
textColor: string;
|
|
3365
|
+
textColorTertiary: string;
|
|
3254
3366
|
textColorHover: string;
|
|
3255
3367
|
textColorPressed: string;
|
|
3256
3368
|
textColorFocus: string;
|
|
3257
3369
|
textColorDisabled: string;
|
|
3258
3370
|
textColorText: string;
|
|
3259
|
-
textColorTextDepth1: string;
|
|
3260
|
-
textColorTextDepth2: string;
|
|
3261
|
-
textColorTextDepth3: string;
|
|
3262
3371
|
textColorTextHover: string;
|
|
3263
3372
|
textColorTextPressed: string;
|
|
3264
3373
|
textColorTextFocus: string;
|
|
@@ -3405,9 +3514,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3405
3514
|
borderDisabledError: string;
|
|
3406
3515
|
rippleColorError: string;
|
|
3407
3516
|
waveOpacity: string;
|
|
3408
|
-
fontWeightText: string;
|
|
3409
3517
|
fontWeight: string;
|
|
3410
|
-
|
|
3518
|
+
fontWeightStrong: string;
|
|
3411
3519
|
paddingTiny: string;
|
|
3412
3520
|
paddingSmall: string;
|
|
3413
3521
|
paddingMedium: string;
|
|
@@ -56,20 +56,30 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
|
56
56
|
fontSizeMedium: string;
|
|
57
57
|
fontSizeLarge: string;
|
|
58
58
|
opacityDisabled: string;
|
|
59
|
+
colorOpacitySecondary: string;
|
|
60
|
+
colorOpacitySecondaryHover: string;
|
|
61
|
+
colorOpacitySecondaryPressed: string;
|
|
62
|
+
colorSecondary: string;
|
|
63
|
+
colorSecondaryHover: string;
|
|
64
|
+
colorSecondaryPressed: string;
|
|
65
|
+
colorTertiary: string;
|
|
66
|
+
colorTertiaryHover: string;
|
|
67
|
+
colorTertiaryPressed: string;
|
|
68
|
+
colorQuaternary: string;
|
|
69
|
+
colorQuaternaryHover: string;
|
|
70
|
+
colorQuaternaryPressed: string;
|
|
59
71
|
color: string;
|
|
60
72
|
colorHover: string;
|
|
61
73
|
colorPressed: string;
|
|
62
74
|
colorFocus: string;
|
|
63
75
|
colorDisabled: string;
|
|
64
76
|
textColor: string;
|
|
77
|
+
textColorTertiary: string;
|
|
65
78
|
textColorHover: string;
|
|
66
79
|
textColorPressed: string;
|
|
67
80
|
textColorFocus: string;
|
|
68
81
|
textColorDisabled: string;
|
|
69
82
|
textColorText: string;
|
|
70
|
-
textColorTextDepth1: string;
|
|
71
|
-
textColorTextDepth2: string;
|
|
72
|
-
textColorTextDepth3: string;
|
|
73
83
|
textColorTextHover: string;
|
|
74
84
|
textColorTextPressed: string;
|
|
75
85
|
textColorTextFocus: string;
|
|
@@ -216,9 +226,8 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
|
216
226
|
borderDisabledError: string;
|
|
217
227
|
rippleColorError: string;
|
|
218
228
|
waveOpacity: string;
|
|
219
|
-
fontWeightText: string;
|
|
220
229
|
fontWeight: string;
|
|
221
|
-
|
|
230
|
+
fontWeightStrong: string;
|
|
222
231
|
paddingTiny: string;
|
|
223
232
|
paddingSmall: string;
|
|
224
233
|
paddingMedium: string;
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
scrollable: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
required: true;
|
|
5
6
|
};
|
|
7
|
+
placement: {
|
|
8
|
+
type: PropType<"top-left" | "top-right" | "bottom-left" | "bottom-right">;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
6
11
|
}, {
|
|
7
12
|
mergedTheme: import("vue").Ref<{
|
|
8
13
|
common: {
|
|
@@ -74,9 +79,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
79
|
tableHeaderColor: string;
|
|
75
80
|
hoverColor: string;
|
|
76
81
|
tableColorHover: string;
|
|
82
|
+
tableColorStriped: string;
|
|
77
83
|
pressedColor: string;
|
|
78
84
|
opacityDisabled: string;
|
|
79
85
|
inputColorDisabled: string;
|
|
86
|
+
buttonColor2: string;
|
|
87
|
+
buttonColor2Hover: string;
|
|
88
|
+
buttonColor2Pressed: string;
|
|
80
89
|
boxShadow1: string;
|
|
81
90
|
boxShadow2: string;
|
|
82
91
|
boxShadow3: string;
|
|
@@ -145,7 +154,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
145
154
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
146
155
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
147
156
|
scrollable?: unknown;
|
|
157
|
+
placement?: unknown;
|
|
148
158
|
} & {
|
|
159
|
+
placement: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
149
160
|
scrollable: boolean;
|
|
150
161
|
} & {}>, {}>;
|
|
151
162
|
export default _default;
|
|
@@ -9,6 +9,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
9
9
|
scrollable: {
|
|
10
10
|
type: Boolean,
|
|
11
11
|
required: true
|
|
12
|
+
},
|
|
13
|
+
placement: {
|
|
14
|
+
type: String,
|
|
15
|
+
required: true
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
setup() {
|
|
@@ -20,10 +24,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
20
24
|
};
|
|
21
25
|
},
|
|
22
26
|
render() {
|
|
23
|
-
const { $slots, scrollable, mergedClsPrefix, mergedTheme } = this;
|
|
27
|
+
const { $slots, scrollable, mergedClsPrefix, mergedTheme, placement } = this;
|
|
24
28
|
return ((0, vue_1.h)("div", { class: [
|
|
25
29
|
`${mergedClsPrefix}-notification-container`,
|
|
26
|
-
scrollable && `${mergedClsPrefix}-notification-container--scrollable
|
|
30
|
+
scrollable && `${mergedClsPrefix}-notification-container--scrollable`,
|
|
31
|
+
`${mergedClsPrefix}-notification-container--${placement}`
|
|
27
32
|
] }, scrollable ? ((0, vue_1.h)(_internal_1.NScrollbar, { theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar }, $slots)) : ($slots)));
|
|
28
33
|
}
|
|
29
34
|
});
|