naive-ui 2.20.2 → 2.21.2
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 +5 -1
- package/es/_internal/selection/src/Selection.d.ts +5 -1
- package/es/_internal/suffix/src/Suffix.d.ts +5 -2
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +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/src/styles/button.cssr.js +1 -0
- package/es/button/styles/dark.js +3 -0
- package/es/button/styles/light.d.ts +14 -5
- package/es/button/styles/light.js +10 -3
- package/es/calendar/src/Calendar.d.ts +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 +8 -9
- 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 +9 -10
- 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 +329 -127
- package/es/date-picker/src/DatePicker.js +7 -17
- package/es/date-picker/src/config.d.ts +9 -0
- package/es/date-picker/src/config.js +8 -0
- package/es/date-picker/src/panel/date.d.ts +53 -20
- package/es/date-picker/src/panel/daterange.d.ts +52 -19
- package/es/date-picker/src/panel/datetime.d.ts +53 -20
- package/es/date-picker/src/panel/datetimerange.d.ts +52 -19
- package/es/date-picker/src/panel/month.d.ts +88 -61
- package/es/date-picker/src/panel/month.js +9 -6
- package/es/date-picker/src/panel/use-calendar.d.ts +61 -28
- package/es/date-picker/src/panel/use-calendar.js +9 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +50 -17
- package/es/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +48 -15
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +32 -10
- package/es/dialog/src/Dialog.d.ts +105 -38
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +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/form/src/FormItemGridItem.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/grid/src/Grid.js +1 -0
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/image/src/ImagePreview.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/input/src/Input.d.ts +5 -0
- package/es/input/src/Input.js +9 -3
- package/es/input/src/interface.d.ts +1 -0
- package/es/input-number/src/InputNumber.d.ts +179 -50
- package/es/input-number/src/InputNumber.js +22 -6
- 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/locales/index.d.ts +2 -0
- package/es/locales/index.js +1 -0
- package/es/locales/utils/index.d.ts +8 -0
- package/es/locales/utils/index.js +4 -0
- package/es/log/src/Log.d.ts +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 +33 -8
- package/es/menu/src/Menu.js +32 -10
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +12 -2
- package/es/menu/src/MenuOptionContent.d.ts +7 -2
- package/es/menu/src/Submenu.d.ts +21 -17
- package/es/menu/src/interface.d.ts +23 -4
- package/es/menu/src/styles/index.cssr.js +6 -1
- package/es/menu/src/utils.d.ts +4 -2
- package/es/menu/src/utils.js +16 -2
- package/es/menu/styles/light.d.ts +2 -0
- package/es/menu/styles/light.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +34 -12
- package/es/modal/src/Modal.d.ts +174 -66
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +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/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +21 -12
- package/es/pagination/src/Pagination.js +16 -6
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +151 -57
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- 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/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/time-picker/src/Panel.d.ts +18 -5
- package/es/time-picker/src/TimePicker.d.ts +145 -50
- package/es/time-picker/src/TimePicker.js +3 -0
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +9 -5
- package/es/transfer/src/Transfer.d.ts +146 -52
- 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 +10 -6
- package/es/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +6 -2
- 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 +19 -6
- 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 +5 -1
- package/lib/_internal/selection/src/Selection.d.ts +5 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +5 -2
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +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/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/dark.js +3 -0
- package/lib/button/styles/light.d.ts +14 -5
- package/lib/button/styles/light.js +10 -3
- package/lib/calendar/src/Calendar.d.ts +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 +8 -9
- 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 +9 -10
- 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 +329 -127
- package/lib/date-picker/src/DatePicker.js +7 -17
- package/lib/date-picker/src/config.d.ts +9 -0
- package/lib/date-picker/src/config.js +9 -1
- package/lib/date-picker/src/panel/date.d.ts +53 -20
- package/lib/date-picker/src/panel/daterange.d.ts +52 -19
- package/lib/date-picker/src/panel/datetime.d.ts +53 -20
- package/lib/date-picker/src/panel/datetimerange.d.ts +52 -19
- package/lib/date-picker/src/panel/month.d.ts +88 -61
- package/lib/date-picker/src/panel/month.js +9 -6
- package/lib/date-picker/src/panel/use-calendar.d.ts +61 -28
- package/lib/date-picker/src/panel/use-calendar.js +8 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +50 -17
- package/lib/date-picker/src/panel/use-dual-calendar.js +4 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +48 -15
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +32 -10
- package/lib/dialog/src/Dialog.d.ts +105 -38
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +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/form/src/FormItemGridItem.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/grid/src/Grid.js +1 -0
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/image/src/ImagePreview.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/input/src/Input.d.ts +5 -0
- package/lib/input/src/Input.js +9 -3
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input-number/src/InputNumber.d.ts +179 -50
- package/lib/input-number/src/InputNumber.js +22 -6
- 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/locales/index.d.ts +2 -0
- package/lib/locales/index.js +3 -1
- package/lib/locales/utils/index.d.ts +8 -0
- package/lib/locales/utils/index.js +8 -0
- package/lib/log/src/Log.d.ts +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 +33 -8
- package/lib/menu/src/Menu.js +31 -9
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +12 -2
- package/lib/menu/src/MenuOptionContent.d.ts +7 -2
- package/lib/menu/src/Submenu.d.ts +21 -17
- package/lib/menu/src/interface.d.ts +23 -4
- package/lib/menu/src/styles/index.cssr.js +6 -1
- package/lib/menu/src/utils.d.ts +4 -2
- package/lib/menu/src/utils.js +22 -3
- package/lib/menu/styles/light.d.ts +2 -0
- package/lib/menu/styles/light.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +34 -12
- package/lib/modal/src/Modal.d.ts +174 -66
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +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/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +21 -12
- package/lib/pagination/src/Pagination.js +16 -6
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +151 -57
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- 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/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/time-picker/src/Panel.d.ts +18 -5
- package/lib/time-picker/src/TimePicker.d.ts +145 -50
- package/lib/time-picker/src/TimePicker.js +3 -0
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +9 -5
- package/lib/transfer/src/Transfer.d.ts +146 -52
- 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 +10 -6
- package/lib/tree/src/TreeNodeCheckbox.d.ts +4 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +6 -2
- 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 +19 -6
- 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 +10 -9
- package/web-types.json +205 -14
|
@@ -112,20 +112,30 @@ declare const dynamicTagsProps: {
|
|
|
112
112
|
fontSizeMedium: string;
|
|
113
113
|
fontSizeLarge: string;
|
|
114
114
|
opacityDisabled: string;
|
|
115
|
+
colorOpacitySecondary: number;
|
|
116
|
+
colorOpacitySecondaryHover: number;
|
|
117
|
+
colorOpacitySecondaryPressed: number;
|
|
118
|
+
colorSecondary: string;
|
|
119
|
+
colorSecondaryHover: string;
|
|
120
|
+
colorSecondaryPressed: string;
|
|
121
|
+
colorTertiary: string;
|
|
122
|
+
colorTertiaryHover: string;
|
|
123
|
+
colorTertiaryPressed: string;
|
|
124
|
+
colorQuaternary: string;
|
|
125
|
+
colorQuaternaryHover: string;
|
|
126
|
+
colorQuaternaryPressed: string;
|
|
115
127
|
color: string;
|
|
116
128
|
colorHover: string;
|
|
117
129
|
colorPressed: string;
|
|
118
130
|
colorFocus: string;
|
|
119
131
|
colorDisabled: string;
|
|
120
132
|
textColor: string;
|
|
133
|
+
textColorTertiary: string;
|
|
121
134
|
textColorHover: string;
|
|
122
135
|
textColorPressed: string;
|
|
123
136
|
textColorFocus: string;
|
|
124
137
|
textColorDisabled: string;
|
|
125
138
|
textColorText: string;
|
|
126
|
-
textColorTextDepth1: string;
|
|
127
|
-
textColorTextDepth2: string;
|
|
128
|
-
textColorTextDepth3: string;
|
|
129
139
|
textColorTextHover: string;
|
|
130
140
|
textColorTextPressed: string;
|
|
131
141
|
textColorTextFocus: string;
|
|
@@ -272,9 +282,8 @@ declare const dynamicTagsProps: {
|
|
|
272
282
|
borderDisabledError: string;
|
|
273
283
|
rippleColorError: string;
|
|
274
284
|
waveOpacity: string;
|
|
275
|
-
fontWeightText: string;
|
|
276
285
|
fontWeight: string;
|
|
277
|
-
|
|
286
|
+
fontWeightStrong: string;
|
|
278
287
|
paddingTiny: string;
|
|
279
288
|
paddingSmall: string;
|
|
280
289
|
paddingMedium: string;
|
|
@@ -438,20 +447,30 @@ declare const dynamicTagsProps: {
|
|
|
438
447
|
fontSizeMedium: string;
|
|
439
448
|
fontSizeLarge: string;
|
|
440
449
|
opacityDisabled: string;
|
|
450
|
+
colorOpacitySecondary: number;
|
|
451
|
+
colorOpacitySecondaryHover: number;
|
|
452
|
+
colorOpacitySecondaryPressed: number;
|
|
453
|
+
colorSecondary: string;
|
|
454
|
+
colorSecondaryHover: string;
|
|
455
|
+
colorSecondaryPressed: string;
|
|
456
|
+
colorTertiary: string;
|
|
457
|
+
colorTertiaryHover: string;
|
|
458
|
+
colorTertiaryPressed: string;
|
|
459
|
+
colorQuaternary: string;
|
|
460
|
+
colorQuaternaryHover: string;
|
|
461
|
+
colorQuaternaryPressed: string;
|
|
441
462
|
color: string;
|
|
442
463
|
colorHover: string;
|
|
443
464
|
colorPressed: string;
|
|
444
465
|
colorFocus: string;
|
|
445
466
|
colorDisabled: string;
|
|
446
467
|
textColor: string;
|
|
468
|
+
textColorTertiary: string;
|
|
447
469
|
textColorHover: string;
|
|
448
470
|
textColorPressed: string;
|
|
449
471
|
textColorFocus: string;
|
|
450
472
|
textColorDisabled: string;
|
|
451
473
|
textColorText: string;
|
|
452
|
-
textColorTextDepth1: string;
|
|
453
|
-
textColorTextDepth2: string;
|
|
454
|
-
textColorTextDepth3: string;
|
|
455
474
|
textColorTextHover: string;
|
|
456
475
|
textColorTextPressed: string;
|
|
457
476
|
textColorTextFocus: string;
|
|
@@ -598,9 +617,8 @@ declare const dynamicTagsProps: {
|
|
|
598
617
|
borderDisabledError: string;
|
|
599
618
|
rippleColorError: string;
|
|
600
619
|
waveOpacity: string;
|
|
601
|
-
fontWeightText: string;
|
|
602
620
|
fontWeight: string;
|
|
603
|
-
|
|
621
|
+
fontWeightStrong: string;
|
|
604
622
|
paddingTiny: string;
|
|
605
623
|
paddingSmall: string;
|
|
606
624
|
paddingMedium: string;
|
|
@@ -764,20 +782,30 @@ declare const dynamicTagsProps: {
|
|
|
764
782
|
fontSizeMedium: string;
|
|
765
783
|
fontSizeLarge: string;
|
|
766
784
|
opacityDisabled: string;
|
|
785
|
+
colorOpacitySecondary: number;
|
|
786
|
+
colorOpacitySecondaryHover: number;
|
|
787
|
+
colorOpacitySecondaryPressed: number;
|
|
788
|
+
colorSecondary: string;
|
|
789
|
+
colorSecondaryHover: string;
|
|
790
|
+
colorSecondaryPressed: string;
|
|
791
|
+
colorTertiary: string;
|
|
792
|
+
colorTertiaryHover: string;
|
|
793
|
+
colorTertiaryPressed: string;
|
|
794
|
+
colorQuaternary: string;
|
|
795
|
+
colorQuaternaryHover: string;
|
|
796
|
+
colorQuaternaryPressed: string;
|
|
767
797
|
color: string;
|
|
768
798
|
colorHover: string;
|
|
769
799
|
colorPressed: string;
|
|
770
800
|
colorFocus: string;
|
|
771
801
|
colorDisabled: string;
|
|
772
802
|
textColor: string;
|
|
803
|
+
textColorTertiary: string;
|
|
773
804
|
textColorHover: string;
|
|
774
805
|
textColorPressed: string;
|
|
775
806
|
textColorFocus: string;
|
|
776
807
|
textColorDisabled: string;
|
|
777
808
|
textColorText: string;
|
|
778
|
-
textColorTextDepth1: string;
|
|
779
|
-
textColorTextDepth2: string;
|
|
780
|
-
textColorTextDepth3: string;
|
|
781
809
|
textColorTextHover: string;
|
|
782
810
|
textColorTextPressed: string;
|
|
783
811
|
textColorTextFocus: string;
|
|
@@ -924,9 +952,8 @@ declare const dynamicTagsProps: {
|
|
|
924
952
|
borderDisabledError: string;
|
|
925
953
|
rippleColorError: string;
|
|
926
954
|
waveOpacity: string;
|
|
927
|
-
fontWeightText: string;
|
|
928
955
|
fontWeight: string;
|
|
929
|
-
|
|
956
|
+
fontWeightStrong: string;
|
|
930
957
|
paddingTiny: string;
|
|
931
958
|
paddingSmall: string;
|
|
932
959
|
paddingMedium: string;
|
|
@@ -1126,20 +1153,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1126
1153
|
fontSizeMedium: string;
|
|
1127
1154
|
fontSizeLarge: string;
|
|
1128
1155
|
opacityDisabled: string;
|
|
1156
|
+
colorOpacitySecondary: number;
|
|
1157
|
+
colorOpacitySecondaryHover: number;
|
|
1158
|
+
colorOpacitySecondaryPressed: number;
|
|
1159
|
+
colorSecondary: string;
|
|
1160
|
+
colorSecondaryHover: string;
|
|
1161
|
+
colorSecondaryPressed: string;
|
|
1162
|
+
colorTertiary: string;
|
|
1163
|
+
colorTertiaryHover: string;
|
|
1164
|
+
colorTertiaryPressed: string;
|
|
1165
|
+
colorQuaternary: string;
|
|
1166
|
+
colorQuaternaryHover: string;
|
|
1167
|
+
colorQuaternaryPressed: string;
|
|
1129
1168
|
color: string;
|
|
1130
1169
|
colorHover: string;
|
|
1131
1170
|
colorPressed: string;
|
|
1132
1171
|
colorFocus: string;
|
|
1133
1172
|
colorDisabled: string;
|
|
1134
1173
|
textColor: string;
|
|
1174
|
+
textColorTertiary: string;
|
|
1135
1175
|
textColorHover: string;
|
|
1136
1176
|
textColorPressed: string;
|
|
1137
1177
|
textColorFocus: string;
|
|
1138
1178
|
textColorDisabled: string;
|
|
1139
1179
|
textColorText: string;
|
|
1140
|
-
textColorTextDepth1: string;
|
|
1141
|
-
textColorTextDepth2: string;
|
|
1142
|
-
textColorTextDepth3: string;
|
|
1143
1180
|
textColorTextHover: string;
|
|
1144
1181
|
textColorTextPressed: string;
|
|
1145
1182
|
textColorTextFocus: string;
|
|
@@ -1286,9 +1323,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1286
1323
|
borderDisabledError: string;
|
|
1287
1324
|
rippleColorError: string;
|
|
1288
1325
|
waveOpacity: string;
|
|
1289
|
-
fontWeightText: string;
|
|
1290
1326
|
fontWeight: string;
|
|
1291
|
-
|
|
1327
|
+
fontWeightStrong: string;
|
|
1292
1328
|
paddingTiny: string;
|
|
1293
1329
|
paddingSmall: string;
|
|
1294
1330
|
paddingMedium: string;
|
|
@@ -1452,20 +1488,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1452
1488
|
fontSizeMedium: string;
|
|
1453
1489
|
fontSizeLarge: string;
|
|
1454
1490
|
opacityDisabled: string;
|
|
1491
|
+
colorOpacitySecondary: number;
|
|
1492
|
+
colorOpacitySecondaryHover: number;
|
|
1493
|
+
colorOpacitySecondaryPressed: number;
|
|
1494
|
+
colorSecondary: string;
|
|
1495
|
+
colorSecondaryHover: string;
|
|
1496
|
+
colorSecondaryPressed: string;
|
|
1497
|
+
colorTertiary: string;
|
|
1498
|
+
colorTertiaryHover: string;
|
|
1499
|
+
colorTertiaryPressed: string;
|
|
1500
|
+
colorQuaternary: string;
|
|
1501
|
+
colorQuaternaryHover: string;
|
|
1502
|
+
colorQuaternaryPressed: string;
|
|
1455
1503
|
color: string;
|
|
1456
1504
|
colorHover: string;
|
|
1457
1505
|
colorPressed: string;
|
|
1458
1506
|
colorFocus: string;
|
|
1459
1507
|
colorDisabled: string;
|
|
1460
1508
|
textColor: string;
|
|
1509
|
+
textColorTertiary: string;
|
|
1461
1510
|
textColorHover: string;
|
|
1462
1511
|
textColorPressed: string;
|
|
1463
1512
|
textColorFocus: string;
|
|
1464
1513
|
textColorDisabled: string;
|
|
1465
1514
|
textColorText: string;
|
|
1466
|
-
textColorTextDepth1: string;
|
|
1467
|
-
textColorTextDepth2: string;
|
|
1468
|
-
textColorTextDepth3: string;
|
|
1469
1515
|
textColorTextHover: string;
|
|
1470
1516
|
textColorTextPressed: string;
|
|
1471
1517
|
textColorTextFocus: string;
|
|
@@ -1612,9 +1658,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1612
1658
|
borderDisabledError: string;
|
|
1613
1659
|
rippleColorError: string;
|
|
1614
1660
|
waveOpacity: string;
|
|
1615
|
-
fontWeightText: string;
|
|
1616
1661
|
fontWeight: string;
|
|
1617
|
-
|
|
1662
|
+
fontWeightStrong: string;
|
|
1618
1663
|
paddingTiny: string;
|
|
1619
1664
|
paddingSmall: string;
|
|
1620
1665
|
paddingMedium: string;
|
|
@@ -1778,20 +1823,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1778
1823
|
fontSizeMedium: string;
|
|
1779
1824
|
fontSizeLarge: string;
|
|
1780
1825
|
opacityDisabled: string;
|
|
1826
|
+
colorOpacitySecondary: number;
|
|
1827
|
+
colorOpacitySecondaryHover: number;
|
|
1828
|
+
colorOpacitySecondaryPressed: number;
|
|
1829
|
+
colorSecondary: string;
|
|
1830
|
+
colorSecondaryHover: string;
|
|
1831
|
+
colorSecondaryPressed: string;
|
|
1832
|
+
colorTertiary: string;
|
|
1833
|
+
colorTertiaryHover: string;
|
|
1834
|
+
colorTertiaryPressed: string;
|
|
1835
|
+
colorQuaternary: string;
|
|
1836
|
+
colorQuaternaryHover: string;
|
|
1837
|
+
colorQuaternaryPressed: string;
|
|
1781
1838
|
color: string;
|
|
1782
1839
|
colorHover: string;
|
|
1783
1840
|
colorPressed: string;
|
|
1784
1841
|
colorFocus: string;
|
|
1785
1842
|
colorDisabled: string;
|
|
1786
1843
|
textColor: string;
|
|
1844
|
+
textColorTertiary: string;
|
|
1787
1845
|
textColorHover: string;
|
|
1788
1846
|
textColorPressed: string;
|
|
1789
1847
|
textColorFocus: string;
|
|
1790
1848
|
textColorDisabled: string;
|
|
1791
1849
|
textColorText: string;
|
|
1792
|
-
textColorTextDepth1: string;
|
|
1793
|
-
textColorTextDepth2: string;
|
|
1794
|
-
textColorTextDepth3: string;
|
|
1795
1850
|
textColorTextHover: string;
|
|
1796
1851
|
textColorTextPressed: string;
|
|
1797
1852
|
textColorTextFocus: string;
|
|
@@ -1938,9 +1993,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1938
1993
|
borderDisabledError: string;
|
|
1939
1994
|
rippleColorError: string;
|
|
1940
1995
|
waveOpacity: string;
|
|
1941
|
-
fontWeightText: string;
|
|
1942
1996
|
fontWeight: string;
|
|
1943
|
-
|
|
1997
|
+
fontWeightStrong: string;
|
|
1944
1998
|
paddingTiny: string;
|
|
1945
1999
|
paddingSmall: string;
|
|
1946
2000
|
paddingMedium: string;
|
|
@@ -2036,6 +2090,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2036
2090
|
isCompositing: boolean;
|
|
2037
2091
|
blur: () => void;
|
|
2038
2092
|
focus: () => void;
|
|
2093
|
+
select: () => void;
|
|
2039
2094
|
activate: () => void;
|
|
2040
2095
|
deactivate: () => void;
|
|
2041
2096
|
} | null>;
|
|
@@ -2122,9 +2177,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2122
2177
|
tableHeaderColor: string;
|
|
2123
2178
|
hoverColor: string;
|
|
2124
2179
|
tableColorHover: string;
|
|
2180
|
+
tableColorStriped: string;
|
|
2125
2181
|
pressedColor: string;
|
|
2126
2182
|
opacityDisabled: string;
|
|
2127
2183
|
inputColorDisabled: string;
|
|
2184
|
+
buttonColor2: string;
|
|
2185
|
+
buttonColor2Hover: string;
|
|
2186
|
+
buttonColor2Pressed: string;
|
|
2128
2187
|
boxShadow1: string;
|
|
2129
2188
|
boxShadow2: string;
|
|
2130
2189
|
boxShadow3: string;
|
|
@@ -2230,20 +2289,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2230
2289
|
fontSizeMedium: string;
|
|
2231
2290
|
fontSizeLarge: string;
|
|
2232
2291
|
opacityDisabled: string;
|
|
2292
|
+
colorOpacitySecondary: number;
|
|
2293
|
+
colorOpacitySecondaryHover: number;
|
|
2294
|
+
colorOpacitySecondaryPressed: number;
|
|
2295
|
+
colorSecondary: string;
|
|
2296
|
+
colorSecondaryHover: string;
|
|
2297
|
+
colorSecondaryPressed: string;
|
|
2298
|
+
colorTertiary: string;
|
|
2299
|
+
colorTertiaryHover: string;
|
|
2300
|
+
colorTertiaryPressed: string;
|
|
2301
|
+
colorQuaternary: string;
|
|
2302
|
+
colorQuaternaryHover: string;
|
|
2303
|
+
colorQuaternaryPressed: string;
|
|
2233
2304
|
color: string;
|
|
2234
2305
|
colorHover: string;
|
|
2235
2306
|
colorPressed: string;
|
|
2236
2307
|
colorFocus: string;
|
|
2237
2308
|
colorDisabled: string;
|
|
2238
2309
|
textColor: string;
|
|
2310
|
+
textColorTertiary: string;
|
|
2239
2311
|
textColorHover: string;
|
|
2240
2312
|
textColorPressed: string;
|
|
2241
2313
|
textColorFocus: string;
|
|
2242
2314
|
textColorDisabled: string;
|
|
2243
2315
|
textColorText: string;
|
|
2244
|
-
textColorTextDepth1: string;
|
|
2245
|
-
textColorTextDepth2: string;
|
|
2246
|
-
textColorTextDepth3: string;
|
|
2247
2316
|
textColorTextHover: string;
|
|
2248
2317
|
textColorTextPressed: string;
|
|
2249
2318
|
textColorTextFocus: string;
|
|
@@ -2390,9 +2459,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2390
2459
|
borderDisabledError: string;
|
|
2391
2460
|
rippleColorError: string;
|
|
2392
2461
|
waveOpacity: string;
|
|
2393
|
-
fontWeightText: string;
|
|
2394
2462
|
fontWeight: string;
|
|
2395
|
-
|
|
2463
|
+
fontWeightStrong: string;
|
|
2396
2464
|
paddingTiny: string;
|
|
2397
2465
|
paddingSmall: string;
|
|
2398
2466
|
paddingMedium: string;
|
|
@@ -2612,20 +2680,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2612
2680
|
fontSizeMedium: string;
|
|
2613
2681
|
fontSizeLarge: string;
|
|
2614
2682
|
opacityDisabled: string;
|
|
2683
|
+
colorOpacitySecondary: number;
|
|
2684
|
+
colorOpacitySecondaryHover: number;
|
|
2685
|
+
colorOpacitySecondaryPressed: number;
|
|
2686
|
+
colorSecondary: string;
|
|
2687
|
+
colorSecondaryHover: string;
|
|
2688
|
+
colorSecondaryPressed: string;
|
|
2689
|
+
colorTertiary: string;
|
|
2690
|
+
colorTertiaryHover: string;
|
|
2691
|
+
colorTertiaryPressed: string;
|
|
2692
|
+
colorQuaternary: string;
|
|
2693
|
+
colorQuaternaryHover: string;
|
|
2694
|
+
colorQuaternaryPressed: string;
|
|
2615
2695
|
color: string;
|
|
2616
2696
|
colorHover: string;
|
|
2617
2697
|
colorPressed: string;
|
|
2618
2698
|
colorFocus: string;
|
|
2619
2699
|
colorDisabled: string;
|
|
2620
2700
|
textColor: string;
|
|
2701
|
+
textColorTertiary: string;
|
|
2621
2702
|
textColorHover: string;
|
|
2622
2703
|
textColorPressed: string;
|
|
2623
2704
|
textColorFocus: string;
|
|
2624
2705
|
textColorDisabled: string;
|
|
2625
2706
|
textColorText: string;
|
|
2626
|
-
textColorTextDepth1: string;
|
|
2627
|
-
textColorTextDepth2: string;
|
|
2628
|
-
textColorTextDepth3: string;
|
|
2629
2707
|
textColorTextHover: string;
|
|
2630
2708
|
textColorTextPressed: string;
|
|
2631
2709
|
textColorTextFocus: string;
|
|
@@ -2772,9 +2850,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2772
2850
|
borderDisabledError: string;
|
|
2773
2851
|
rippleColorError: string;
|
|
2774
2852
|
waveOpacity: string;
|
|
2775
|
-
fontWeightText: string;
|
|
2776
2853
|
fontWeight: string;
|
|
2777
|
-
|
|
2854
|
+
fontWeightStrong: string;
|
|
2778
2855
|
paddingTiny: string;
|
|
2779
2856
|
paddingSmall: string;
|
|
2780
2857
|
paddingMedium: string;
|
|
@@ -2938,20 +3015,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2938
3015
|
fontSizeMedium: string;
|
|
2939
3016
|
fontSizeLarge: string;
|
|
2940
3017
|
opacityDisabled: string;
|
|
3018
|
+
colorOpacitySecondary: number;
|
|
3019
|
+
colorOpacitySecondaryHover: number;
|
|
3020
|
+
colorOpacitySecondaryPressed: number;
|
|
3021
|
+
colorSecondary: string;
|
|
3022
|
+
colorSecondaryHover: string;
|
|
3023
|
+
colorSecondaryPressed: string;
|
|
3024
|
+
colorTertiary: string;
|
|
3025
|
+
colorTertiaryHover: string;
|
|
3026
|
+
colorTertiaryPressed: string;
|
|
3027
|
+
colorQuaternary: string;
|
|
3028
|
+
colorQuaternaryHover: string;
|
|
3029
|
+
colorQuaternaryPressed: string;
|
|
2941
3030
|
color: string;
|
|
2942
3031
|
colorHover: string;
|
|
2943
3032
|
colorPressed: string;
|
|
2944
3033
|
colorFocus: string;
|
|
2945
3034
|
colorDisabled: string;
|
|
2946
3035
|
textColor: string;
|
|
3036
|
+
textColorTertiary: string;
|
|
2947
3037
|
textColorHover: string;
|
|
2948
3038
|
textColorPressed: string;
|
|
2949
3039
|
textColorFocus: string;
|
|
2950
3040
|
textColorDisabled: string;
|
|
2951
3041
|
textColorText: string;
|
|
2952
|
-
textColorTextDepth1: string;
|
|
2953
|
-
textColorTextDepth2: string;
|
|
2954
|
-
textColorTextDepth3: string;
|
|
2955
3042
|
textColorTextHover: string;
|
|
2956
3043
|
textColorTextPressed: string;
|
|
2957
3044
|
textColorTextFocus: string;
|
|
@@ -3098,9 +3185,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3098
3185
|
borderDisabledError: string;
|
|
3099
3186
|
rippleColorError: string;
|
|
3100
3187
|
waveOpacity: string;
|
|
3101
|
-
fontWeightText: string;
|
|
3102
3188
|
fontWeight: string;
|
|
3103
|
-
|
|
3189
|
+
fontWeightStrong: string;
|
|
3104
3190
|
paddingTiny: string;
|
|
3105
3191
|
paddingSmall: string;
|
|
3106
3192
|
paddingMedium: string;
|
|
@@ -3264,20 +3350,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3264
3350
|
fontSizeMedium: string;
|
|
3265
3351
|
fontSizeLarge: string;
|
|
3266
3352
|
opacityDisabled: string;
|
|
3353
|
+
colorOpacitySecondary: number;
|
|
3354
|
+
colorOpacitySecondaryHover: number;
|
|
3355
|
+
colorOpacitySecondaryPressed: number;
|
|
3356
|
+
colorSecondary: string;
|
|
3357
|
+
colorSecondaryHover: string;
|
|
3358
|
+
colorSecondaryPressed: string;
|
|
3359
|
+
colorTertiary: string;
|
|
3360
|
+
colorTertiaryHover: string;
|
|
3361
|
+
colorTertiaryPressed: string;
|
|
3362
|
+
colorQuaternary: string;
|
|
3363
|
+
colorQuaternaryHover: string;
|
|
3364
|
+
colorQuaternaryPressed: string;
|
|
3267
3365
|
color: string;
|
|
3268
3366
|
colorHover: string;
|
|
3269
3367
|
colorPressed: string;
|
|
3270
3368
|
colorFocus: string;
|
|
3271
3369
|
colorDisabled: string;
|
|
3272
3370
|
textColor: string;
|
|
3371
|
+
textColorTertiary: string;
|
|
3273
3372
|
textColorHover: string;
|
|
3274
3373
|
textColorPressed: string;
|
|
3275
3374
|
textColorFocus: string;
|
|
3276
3375
|
textColorDisabled: string;
|
|
3277
3376
|
textColorText: string;
|
|
3278
|
-
textColorTextDepth1: string;
|
|
3279
|
-
textColorTextDepth2: string;
|
|
3280
|
-
textColorTextDepth3: string;
|
|
3281
3377
|
textColorTextHover: string;
|
|
3282
3378
|
textColorTextPressed: string;
|
|
3283
3379
|
textColorTextFocus: string;
|
|
@@ -3424,9 +3520,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3424
3520
|
borderDisabledError: string;
|
|
3425
3521
|
rippleColorError: string;
|
|
3426
3522
|
waveOpacity: string;
|
|
3427
|
-
fontWeightText: string;
|
|
3428
3523
|
fontWeight: string;
|
|
3429
|
-
|
|
3524
|
+
fontWeightStrong: string;
|
|
3430
3525
|
paddingTiny: string;
|
|
3431
3526
|
paddingSmall: string;
|
|
3432
3527
|
paddingMedium: string;
|
|
@@ -75,20 +75,30 @@ declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
|
|
|
75
75
|
fontSizeMedium: string;
|
|
76
76
|
fontSizeLarge: string;
|
|
77
77
|
opacityDisabled: string;
|
|
78
|
+
colorOpacitySecondary: number;
|
|
79
|
+
colorOpacitySecondaryHover: number;
|
|
80
|
+
colorOpacitySecondaryPressed: number;
|
|
81
|
+
colorSecondary: string;
|
|
82
|
+
colorSecondaryHover: string;
|
|
83
|
+
colorSecondaryPressed: string;
|
|
84
|
+
colorTertiary: string;
|
|
85
|
+
colorTertiaryHover: string;
|
|
86
|
+
colorTertiaryPressed: string;
|
|
87
|
+
colorQuaternary: string;
|
|
88
|
+
colorQuaternaryHover: string;
|
|
89
|
+
colorQuaternaryPressed: string;
|
|
78
90
|
color: string;
|
|
79
91
|
colorHover: string;
|
|
80
92
|
colorPressed: string;
|
|
81
93
|
colorFocus: string;
|
|
82
94
|
colorDisabled: string;
|
|
83
95
|
textColor: string;
|
|
96
|
+
textColorTertiary: string;
|
|
84
97
|
textColorHover: string;
|
|
85
98
|
textColorPressed: string;
|
|
86
99
|
textColorFocus: string;
|
|
87
100
|
textColorDisabled: string;
|
|
88
101
|
textColorText: string;
|
|
89
|
-
textColorTextDepth1: string;
|
|
90
|
-
textColorTextDepth2: string;
|
|
91
|
-
textColorTextDepth3: string;
|
|
92
102
|
textColorTextHover: string;
|
|
93
103
|
textColorTextPressed: string;
|
|
94
104
|
textColorTextFocus: string;
|
|
@@ -235,9 +245,8 @@ declare const dynamicTagsLight: import("../../_mixins").Theme<"DynamicTags", {
|
|
|
235
245
|
borderDisabledError: string;
|
|
236
246
|
rippleColorError: string;
|
|
237
247
|
waveOpacity: string;
|
|
238
|
-
fontWeightText: string;
|
|
239
248
|
fontWeight: string;
|
|
240
|
-
|
|
249
|
+
fontWeightStrong: string;
|
|
241
250
|
paddingTiny: string;
|
|
242
251
|
paddingSmall: string;
|
|
243
252
|
paddingMedium: string;
|
|
@@ -232,9 +232,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
232
232
|
tableHeaderColor: string;
|
|
233
233
|
hoverColor: string;
|
|
234
234
|
tableColorHover: string;
|
|
235
|
+
tableColorStriped: string;
|
|
235
236
|
pressedColor: string;
|
|
236
237
|
opacityDisabled: string;
|
|
237
238
|
inputColorDisabled: string;
|
|
239
|
+
buttonColor2: string;
|
|
240
|
+
buttonColor2Hover: string;
|
|
241
|
+
buttonColor2Pressed: string;
|
|
238
242
|
boxShadow1: string;
|
|
239
243
|
boxShadow2: string;
|
|
240
244
|
boxShadow3: string;
|
|
@@ -137,7 +137,7 @@ export declare const formItemGiProps: {
|
|
|
137
137
|
readonly default: true;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
export declare const formItemGiPropKeys: ("label" | "size" | "first" | "offset" | "span" | "required" | "path" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "suffix" | "labelPlacement" | "labelAlign" | "labelStyle" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "
|
|
140
|
+
export declare const formItemGiPropKeys: ("label" | "size" | "first" | "offset" | "span" | "required" | "path" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "suffix" | "labelPlacement" | "labelAlign" | "labelStyle" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset")[];
|
|
141
141
|
export declare type FormItemGiProps = ExtractPublicPropTypes<typeof formItemGiProps>;
|
|
142
142
|
declare const _default: import("vue").DefineComponent<{
|
|
143
143
|
readonly label: StringConstructor;
|
|
@@ -425,8 +425,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
425
425
|
rule?: import("./interface").FormItemRule | import("./interface").FormItemRule[] | undefined;
|
|
426
426
|
validationStatus?: "error" | "success" | "warning" | undefined;
|
|
427
427
|
feedback?: string | undefined;
|
|
428
|
-
privateColStart?: number | undefined;
|
|
429
428
|
privateSpan?: number | undefined;
|
|
429
|
+
privateColStart?: number | undefined;
|
|
430
430
|
privateOffset?: number | undefined;
|
|
431
431
|
}>, {
|
|
432
432
|
first: boolean;
|
|
@@ -8,6 +8,8 @@ const lodash_1 = require("lodash");
|
|
|
8
8
|
exports.default = (0, vue_1.defineComponent)({
|
|
9
9
|
name: 'GlobalStyle',
|
|
10
10
|
setup() {
|
|
11
|
+
if (typeof document === 'undefined')
|
|
12
|
+
return; // TODO: inject style for SSR
|
|
11
13
|
const NConfigProvider = (0, vue_1.inject)(ConfigProvider_1.configProviderInjectionKey, null);
|
|
12
14
|
const { body } = document;
|
|
13
15
|
const { style } = body;
|
package/lib/grid/src/Grid.js
CHANGED
|
@@ -132,6 +132,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
132
132
|
const suffixPropValue = (_b = maybeSuffixNode.props) === null || _b === void 0 ? void 0 : _b.suffix;
|
|
133
133
|
if (suffixPropValue !== undefined && suffixPropValue !== false) {
|
|
134
134
|
suffixSpan = (_d = (_c = maybeSuffixNode.props) === null || _c === void 0 ? void 0 : _c.span) !== null && _d !== void 0 ? _d : GridItem_1.defaultSpan;
|
|
135
|
+
maybeSuffixNode.props.privateSpan = suffixSpan;
|
|
135
136
|
maybeSuffixNode.props.privateColStart =
|
|
136
137
|
responsiveCols + 1 - suffixSpan;
|
|
137
138
|
maybeSuffixNode.props.privateShow = true;
|
|
@@ -19,7 +19,7 @@ export declare const gridItemProps: {
|
|
|
19
19
|
readonly default: true;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
export declare const gridItemPropKeys: ("offset" | "span" | "suffix" | "
|
|
22
|
+
export declare const gridItemPropKeys: ("offset" | "span" | "suffix" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset")[];
|
|
23
23
|
export declare type GridItemProps = ExtractPublicPropTypes<typeof gridItemProps>;
|
|
24
24
|
declare const _default: import("vue").DefineComponent<{
|
|
25
25
|
readonly span: {
|
|
@@ -60,8 +60,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
60
60
|
suffix: boolean;
|
|
61
61
|
privateShow: boolean;
|
|
62
62
|
} & {
|
|
63
|
-
privateColStart?: number | undefined;
|
|
64
63
|
privateSpan?: number | undefined;
|
|
64
|
+
privateColStart?: number | undefined;
|
|
65
65
|
privateOffset?: number | undefined;
|
|
66
66
|
}>, {
|
|
67
67
|
offset: string | number;
|
|
@@ -30,6 +30,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
handlePreviewDblclick: () => void;
|
|
31
31
|
syncTransformOrigin: () => void;
|
|
32
32
|
handleAfterLeave: () => void;
|
|
33
|
+
handleDragStart: (e: Event) => void;
|
|
33
34
|
zoomIn: () => void;
|
|
34
35
|
zoomOut: () => void;
|
|
35
36
|
rotateCounterclockwise: () => void;
|