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
|
@@ -46,20 +46,30 @@ declare const calendarProps: {
|
|
|
46
46
|
fontSizeMedium: string;
|
|
47
47
|
fontSizeLarge: string;
|
|
48
48
|
opacityDisabled: string;
|
|
49
|
+
colorOpacitySecondary: number;
|
|
50
|
+
colorOpacitySecondaryHover: number;
|
|
51
|
+
colorOpacitySecondaryPressed: number;
|
|
52
|
+
colorSecondary: string;
|
|
53
|
+
colorSecondaryHover: string;
|
|
54
|
+
colorSecondaryPressed: string;
|
|
55
|
+
colorTertiary: string;
|
|
56
|
+
colorTertiaryHover: string;
|
|
57
|
+
colorTertiaryPressed: string;
|
|
58
|
+
colorQuaternary: string;
|
|
59
|
+
colorQuaternaryHover: string;
|
|
60
|
+
colorQuaternaryPressed: string;
|
|
49
61
|
color: string;
|
|
50
62
|
colorHover: string;
|
|
51
63
|
colorPressed: string;
|
|
52
64
|
colorFocus: string;
|
|
53
65
|
colorDisabled: string;
|
|
54
66
|
textColor: string;
|
|
67
|
+
textColorTertiary: string;
|
|
55
68
|
textColorHover: string;
|
|
56
69
|
textColorPressed: string;
|
|
57
70
|
textColorFocus: string;
|
|
58
71
|
textColorDisabled: string;
|
|
59
72
|
textColorText: string;
|
|
60
|
-
textColorTextDepth1: string;
|
|
61
|
-
textColorTextDepth2: string;
|
|
62
|
-
textColorTextDepth3: string;
|
|
63
73
|
textColorTextHover: string;
|
|
64
74
|
textColorTextPressed: string;
|
|
65
75
|
textColorTextFocus: string;
|
|
@@ -206,9 +216,8 @@ declare const calendarProps: {
|
|
|
206
216
|
borderDisabledError: string;
|
|
207
217
|
rippleColorError: string;
|
|
208
218
|
waveOpacity: string;
|
|
209
|
-
fontWeightText: string;
|
|
210
219
|
fontWeight: string;
|
|
211
|
-
|
|
220
|
+
fontWeightStrong: string;
|
|
212
221
|
paddingTiny: string;
|
|
213
222
|
paddingSmall: string;
|
|
214
223
|
paddingMedium: string;
|
|
@@ -264,20 +273,30 @@ declare const calendarProps: {
|
|
|
264
273
|
fontSizeMedium: string;
|
|
265
274
|
fontSizeLarge: string;
|
|
266
275
|
opacityDisabled: string;
|
|
276
|
+
colorOpacitySecondary: number;
|
|
277
|
+
colorOpacitySecondaryHover: number;
|
|
278
|
+
colorOpacitySecondaryPressed: number;
|
|
279
|
+
colorSecondary: string;
|
|
280
|
+
colorSecondaryHover: string;
|
|
281
|
+
colorSecondaryPressed: string;
|
|
282
|
+
colorTertiary: string;
|
|
283
|
+
colorTertiaryHover: string;
|
|
284
|
+
colorTertiaryPressed: string;
|
|
285
|
+
colorQuaternary: string;
|
|
286
|
+
colorQuaternaryHover: string;
|
|
287
|
+
colorQuaternaryPressed: string;
|
|
267
288
|
color: string;
|
|
268
289
|
colorHover: string;
|
|
269
290
|
colorPressed: string;
|
|
270
291
|
colorFocus: string;
|
|
271
292
|
colorDisabled: string;
|
|
272
293
|
textColor: string;
|
|
294
|
+
textColorTertiary: string;
|
|
273
295
|
textColorHover: string;
|
|
274
296
|
textColorPressed: string;
|
|
275
297
|
textColorFocus: string;
|
|
276
298
|
textColorDisabled: string;
|
|
277
299
|
textColorText: string;
|
|
278
|
-
textColorTextDepth1: string;
|
|
279
|
-
textColorTextDepth2: string;
|
|
280
|
-
textColorTextDepth3: string;
|
|
281
300
|
textColorTextHover: string;
|
|
282
301
|
textColorTextPressed: string;
|
|
283
302
|
textColorTextFocus: string;
|
|
@@ -424,9 +443,8 @@ declare const calendarProps: {
|
|
|
424
443
|
borderDisabledError: string;
|
|
425
444
|
rippleColorError: string;
|
|
426
445
|
waveOpacity: string;
|
|
427
|
-
fontWeightText: string;
|
|
428
446
|
fontWeight: string;
|
|
429
|
-
|
|
447
|
+
fontWeightStrong: string;
|
|
430
448
|
paddingTiny: string;
|
|
431
449
|
paddingSmall: string;
|
|
432
450
|
paddingMedium: string;
|
|
@@ -482,20 +500,30 @@ declare const calendarProps: {
|
|
|
482
500
|
fontSizeMedium: string;
|
|
483
501
|
fontSizeLarge: string;
|
|
484
502
|
opacityDisabled: string;
|
|
503
|
+
colorOpacitySecondary: number;
|
|
504
|
+
colorOpacitySecondaryHover: number;
|
|
505
|
+
colorOpacitySecondaryPressed: number;
|
|
506
|
+
colorSecondary: string;
|
|
507
|
+
colorSecondaryHover: string;
|
|
508
|
+
colorSecondaryPressed: string;
|
|
509
|
+
colorTertiary: string;
|
|
510
|
+
colorTertiaryHover: string;
|
|
511
|
+
colorTertiaryPressed: string;
|
|
512
|
+
colorQuaternary: string;
|
|
513
|
+
colorQuaternaryHover: string;
|
|
514
|
+
colorQuaternaryPressed: string;
|
|
485
515
|
color: string;
|
|
486
516
|
colorHover: string;
|
|
487
517
|
colorPressed: string;
|
|
488
518
|
colorFocus: string;
|
|
489
519
|
colorDisabled: string;
|
|
490
520
|
textColor: string;
|
|
521
|
+
textColorTertiary: string;
|
|
491
522
|
textColorHover: string;
|
|
492
523
|
textColorPressed: string;
|
|
493
524
|
textColorFocus: string;
|
|
494
525
|
textColorDisabled: string;
|
|
495
526
|
textColorText: string;
|
|
496
|
-
textColorTextDepth1: string;
|
|
497
|
-
textColorTextDepth2: string;
|
|
498
|
-
textColorTextDepth3: string;
|
|
499
527
|
textColorTextHover: string;
|
|
500
528
|
textColorTextPressed: string;
|
|
501
529
|
textColorTextFocus: string;
|
|
@@ -642,9 +670,8 @@ declare const calendarProps: {
|
|
|
642
670
|
borderDisabledError: string;
|
|
643
671
|
rippleColorError: string;
|
|
644
672
|
waveOpacity: string;
|
|
645
|
-
fontWeightText: string;
|
|
646
673
|
fontWeight: string;
|
|
647
|
-
|
|
674
|
+
fontWeightStrong: string;
|
|
648
675
|
paddingTiny: string;
|
|
649
676
|
paddingSmall: string;
|
|
650
677
|
paddingMedium: string;
|
|
@@ -711,20 +738,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
711
738
|
fontSizeMedium: string;
|
|
712
739
|
fontSizeLarge: string;
|
|
713
740
|
opacityDisabled: string;
|
|
741
|
+
colorOpacitySecondary: number;
|
|
742
|
+
colorOpacitySecondaryHover: number;
|
|
743
|
+
colorOpacitySecondaryPressed: number;
|
|
744
|
+
colorSecondary: string;
|
|
745
|
+
colorSecondaryHover: string;
|
|
746
|
+
colorSecondaryPressed: string;
|
|
747
|
+
colorTertiary: string;
|
|
748
|
+
colorTertiaryHover: string;
|
|
749
|
+
colorTertiaryPressed: string;
|
|
750
|
+
colorQuaternary: string;
|
|
751
|
+
colorQuaternaryHover: string;
|
|
752
|
+
colorQuaternaryPressed: string;
|
|
714
753
|
color: string;
|
|
715
754
|
colorHover: string;
|
|
716
755
|
colorPressed: string;
|
|
717
756
|
colorFocus: string;
|
|
718
757
|
colorDisabled: string;
|
|
719
758
|
textColor: string;
|
|
759
|
+
textColorTertiary: string;
|
|
720
760
|
textColorHover: string;
|
|
721
761
|
textColorPressed: string;
|
|
722
762
|
textColorFocus: string;
|
|
723
763
|
textColorDisabled: string;
|
|
724
764
|
textColorText: string;
|
|
725
|
-
textColorTextDepth1: string;
|
|
726
|
-
textColorTextDepth2: string;
|
|
727
|
-
textColorTextDepth3: string;
|
|
728
765
|
textColorTextHover: string;
|
|
729
766
|
textColorTextPressed: string;
|
|
730
767
|
textColorTextFocus: string;
|
|
@@ -871,9 +908,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
871
908
|
borderDisabledError: string;
|
|
872
909
|
rippleColorError: string;
|
|
873
910
|
waveOpacity: string;
|
|
874
|
-
fontWeightText: string;
|
|
875
911
|
fontWeight: string;
|
|
876
|
-
|
|
912
|
+
fontWeightStrong: string;
|
|
877
913
|
paddingTiny: string;
|
|
878
914
|
paddingSmall: string;
|
|
879
915
|
paddingMedium: string;
|
|
@@ -929,20 +965,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
929
965
|
fontSizeMedium: string;
|
|
930
966
|
fontSizeLarge: string;
|
|
931
967
|
opacityDisabled: string;
|
|
968
|
+
colorOpacitySecondary: number;
|
|
969
|
+
colorOpacitySecondaryHover: number;
|
|
970
|
+
colorOpacitySecondaryPressed: number;
|
|
971
|
+
colorSecondary: string;
|
|
972
|
+
colorSecondaryHover: string;
|
|
973
|
+
colorSecondaryPressed: string;
|
|
974
|
+
colorTertiary: string;
|
|
975
|
+
colorTertiaryHover: string;
|
|
976
|
+
colorTertiaryPressed: string;
|
|
977
|
+
colorQuaternary: string;
|
|
978
|
+
colorQuaternaryHover: string;
|
|
979
|
+
colorQuaternaryPressed: string;
|
|
932
980
|
color: string;
|
|
933
981
|
colorHover: string;
|
|
934
982
|
colorPressed: string;
|
|
935
983
|
colorFocus: string;
|
|
936
984
|
colorDisabled: string;
|
|
937
985
|
textColor: string;
|
|
986
|
+
textColorTertiary: string;
|
|
938
987
|
textColorHover: string;
|
|
939
988
|
textColorPressed: string;
|
|
940
989
|
textColorFocus: string;
|
|
941
990
|
textColorDisabled: string;
|
|
942
991
|
textColorText: string;
|
|
943
|
-
textColorTextDepth1: string;
|
|
944
|
-
textColorTextDepth2: string;
|
|
945
|
-
textColorTextDepth3: string;
|
|
946
992
|
textColorTextHover: string;
|
|
947
993
|
textColorTextPressed: string;
|
|
948
994
|
textColorTextFocus: string;
|
|
@@ -1089,9 +1135,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1089
1135
|
borderDisabledError: string;
|
|
1090
1136
|
rippleColorError: string;
|
|
1091
1137
|
waveOpacity: string;
|
|
1092
|
-
fontWeightText: string;
|
|
1093
1138
|
fontWeight: string;
|
|
1094
|
-
|
|
1139
|
+
fontWeightStrong: string;
|
|
1095
1140
|
paddingTiny: string;
|
|
1096
1141
|
paddingSmall: string;
|
|
1097
1142
|
paddingMedium: string;
|
|
@@ -1147,20 +1192,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1147
1192
|
fontSizeMedium: string;
|
|
1148
1193
|
fontSizeLarge: string;
|
|
1149
1194
|
opacityDisabled: string;
|
|
1195
|
+
colorOpacitySecondary: number;
|
|
1196
|
+
colorOpacitySecondaryHover: number;
|
|
1197
|
+
colorOpacitySecondaryPressed: number;
|
|
1198
|
+
colorSecondary: string;
|
|
1199
|
+
colorSecondaryHover: string;
|
|
1200
|
+
colorSecondaryPressed: string;
|
|
1201
|
+
colorTertiary: string;
|
|
1202
|
+
colorTertiaryHover: string;
|
|
1203
|
+
colorTertiaryPressed: string;
|
|
1204
|
+
colorQuaternary: string;
|
|
1205
|
+
colorQuaternaryHover: string;
|
|
1206
|
+
colorQuaternaryPressed: string;
|
|
1150
1207
|
color: string;
|
|
1151
1208
|
colorHover: string;
|
|
1152
1209
|
colorPressed: string;
|
|
1153
1210
|
colorFocus: string;
|
|
1154
1211
|
colorDisabled: string;
|
|
1155
1212
|
textColor: string;
|
|
1213
|
+
textColorTertiary: string;
|
|
1156
1214
|
textColorHover: string;
|
|
1157
1215
|
textColorPressed: string;
|
|
1158
1216
|
textColorFocus: string;
|
|
1159
1217
|
textColorDisabled: string;
|
|
1160
1218
|
textColorText: string;
|
|
1161
|
-
textColorTextDepth1: string;
|
|
1162
|
-
textColorTextDepth2: string;
|
|
1163
|
-
textColorTextDepth3: string;
|
|
1164
1219
|
textColorTextHover: string;
|
|
1165
1220
|
textColorTextPressed: string;
|
|
1166
1221
|
textColorTextFocus: string;
|
|
@@ -1307,9 +1362,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1307
1362
|
borderDisabledError: string;
|
|
1308
1363
|
rippleColorError: string;
|
|
1309
1364
|
waveOpacity: string;
|
|
1310
|
-
fontWeightText: string;
|
|
1311
1365
|
fontWeight: string;
|
|
1312
|
-
|
|
1366
|
+
fontWeightStrong: string;
|
|
1313
1367
|
paddingTiny: string;
|
|
1314
1368
|
paddingSmall: string;
|
|
1315
1369
|
paddingMedium: string;
|
|
@@ -1430,9 +1484,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1430
1484
|
tableHeaderColor: string;
|
|
1431
1485
|
hoverColor: string;
|
|
1432
1486
|
tableColorHover: string;
|
|
1487
|
+
tableColorStriped: string;
|
|
1433
1488
|
pressedColor: string;
|
|
1434
1489
|
opacityDisabled: string;
|
|
1435
1490
|
inputColorDisabled: string;
|
|
1491
|
+
buttonColor2: string;
|
|
1492
|
+
buttonColor2Hover: string;
|
|
1493
|
+
buttonColor2Pressed: string;
|
|
1436
1494
|
boxShadow1: string;
|
|
1437
1495
|
boxShadow2: string;
|
|
1438
1496
|
boxShadow3: string;
|
|
@@ -1497,20 +1555,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1497
1555
|
fontSizeMedium: string;
|
|
1498
1556
|
fontSizeLarge: string;
|
|
1499
1557
|
opacityDisabled: string;
|
|
1558
|
+
colorOpacitySecondary: number;
|
|
1559
|
+
colorOpacitySecondaryHover: number;
|
|
1560
|
+
colorOpacitySecondaryPressed: number;
|
|
1561
|
+
colorSecondary: string;
|
|
1562
|
+
colorSecondaryHover: string;
|
|
1563
|
+
colorSecondaryPressed: string;
|
|
1564
|
+
colorTertiary: string;
|
|
1565
|
+
colorTertiaryHover: string;
|
|
1566
|
+
colorTertiaryPressed: string;
|
|
1567
|
+
colorQuaternary: string;
|
|
1568
|
+
colorQuaternaryHover: string;
|
|
1569
|
+
colorQuaternaryPressed: string;
|
|
1500
1570
|
color: string;
|
|
1501
1571
|
colorHover: string;
|
|
1502
1572
|
colorPressed: string;
|
|
1503
1573
|
colorFocus: string;
|
|
1504
1574
|
colorDisabled: string;
|
|
1505
1575
|
textColor: string;
|
|
1576
|
+
textColorTertiary: string;
|
|
1506
1577
|
textColorHover: string;
|
|
1507
1578
|
textColorPressed: string;
|
|
1508
1579
|
textColorFocus: string;
|
|
1509
1580
|
textColorDisabled: string;
|
|
1510
1581
|
textColorText: string;
|
|
1511
|
-
textColorTextDepth1: string;
|
|
1512
|
-
textColorTextDepth2: string;
|
|
1513
|
-
textColorTextDepth3: string;
|
|
1514
1582
|
textColorTextHover: string;
|
|
1515
1583
|
textColorTextPressed: string;
|
|
1516
1584
|
textColorTextFocus: string;
|
|
@@ -1657,9 +1725,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1657
1725
|
borderDisabledError: string;
|
|
1658
1726
|
rippleColorError: string;
|
|
1659
1727
|
waveOpacity: string;
|
|
1660
|
-
fontWeightText: string;
|
|
1661
1728
|
fontWeight: string;
|
|
1662
|
-
|
|
1729
|
+
fontWeightStrong: string;
|
|
1663
1730
|
paddingTiny: string;
|
|
1664
1731
|
paddingSmall: string;
|
|
1665
1732
|
paddingMedium: string;
|
|
@@ -1757,20 +1824,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1757
1824
|
fontSizeMedium: string;
|
|
1758
1825
|
fontSizeLarge: string;
|
|
1759
1826
|
opacityDisabled: string;
|
|
1827
|
+
colorOpacitySecondary: number;
|
|
1828
|
+
colorOpacitySecondaryHover: number;
|
|
1829
|
+
colorOpacitySecondaryPressed: number;
|
|
1830
|
+
colorSecondary: string;
|
|
1831
|
+
colorSecondaryHover: string;
|
|
1832
|
+
colorSecondaryPressed: string;
|
|
1833
|
+
colorTertiary: string;
|
|
1834
|
+
colorTertiaryHover: string;
|
|
1835
|
+
colorTertiaryPressed: string;
|
|
1836
|
+
colorQuaternary: string;
|
|
1837
|
+
colorQuaternaryHover: string;
|
|
1838
|
+
colorQuaternaryPressed: string;
|
|
1760
1839
|
color: string;
|
|
1761
1840
|
colorHover: string;
|
|
1762
1841
|
colorPressed: string;
|
|
1763
1842
|
colorFocus: string;
|
|
1764
1843
|
colorDisabled: string;
|
|
1765
1844
|
textColor: string;
|
|
1845
|
+
textColorTertiary: string;
|
|
1766
1846
|
textColorHover: string;
|
|
1767
1847
|
textColorPressed: string;
|
|
1768
1848
|
textColorFocus: string;
|
|
1769
1849
|
textColorDisabled: string;
|
|
1770
1850
|
textColorText: string;
|
|
1771
|
-
textColorTextDepth1: string;
|
|
1772
|
-
textColorTextDepth2: string;
|
|
1773
|
-
textColorTextDepth3: string;
|
|
1774
1851
|
textColorTextHover: string;
|
|
1775
1852
|
textColorTextPressed: string;
|
|
1776
1853
|
textColorTextFocus: string;
|
|
@@ -1917,9 +1994,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1917
1994
|
borderDisabledError: string;
|
|
1918
1995
|
rippleColorError: string;
|
|
1919
1996
|
waveOpacity: string;
|
|
1920
|
-
fontWeightText: string;
|
|
1921
1997
|
fontWeight: string;
|
|
1922
|
-
|
|
1998
|
+
fontWeightStrong: string;
|
|
1923
1999
|
paddingTiny: string;
|
|
1924
2000
|
paddingSmall: string;
|
|
1925
2001
|
paddingMedium: string;
|
|
@@ -1975,20 +2051,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1975
2051
|
fontSizeMedium: string;
|
|
1976
2052
|
fontSizeLarge: string;
|
|
1977
2053
|
opacityDisabled: string;
|
|
2054
|
+
colorOpacitySecondary: number;
|
|
2055
|
+
colorOpacitySecondaryHover: number;
|
|
2056
|
+
colorOpacitySecondaryPressed: number;
|
|
2057
|
+
colorSecondary: string;
|
|
2058
|
+
colorSecondaryHover: string;
|
|
2059
|
+
colorSecondaryPressed: string;
|
|
2060
|
+
colorTertiary: string;
|
|
2061
|
+
colorTertiaryHover: string;
|
|
2062
|
+
colorTertiaryPressed: string;
|
|
2063
|
+
colorQuaternary: string;
|
|
2064
|
+
colorQuaternaryHover: string;
|
|
2065
|
+
colorQuaternaryPressed: string;
|
|
1978
2066
|
color: string;
|
|
1979
2067
|
colorHover: string;
|
|
1980
2068
|
colorPressed: string;
|
|
1981
2069
|
colorFocus: string;
|
|
1982
2070
|
colorDisabled: string;
|
|
1983
2071
|
textColor: string;
|
|
2072
|
+
textColorTertiary: string;
|
|
1984
2073
|
textColorHover: string;
|
|
1985
2074
|
textColorPressed: string;
|
|
1986
2075
|
textColorFocus: string;
|
|
1987
2076
|
textColorDisabled: string;
|
|
1988
2077
|
textColorText: string;
|
|
1989
|
-
textColorTextDepth1: string;
|
|
1990
|
-
textColorTextDepth2: string;
|
|
1991
|
-
textColorTextDepth3: string;
|
|
1992
2078
|
textColorTextHover: string;
|
|
1993
2079
|
textColorTextPressed: string;
|
|
1994
2080
|
textColorTextFocus: string;
|
|
@@ -2135,9 +2221,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2135
2221
|
borderDisabledError: string;
|
|
2136
2222
|
rippleColorError: string;
|
|
2137
2223
|
waveOpacity: string;
|
|
2138
|
-
fontWeightText: string;
|
|
2139
2224
|
fontWeight: string;
|
|
2140
|
-
|
|
2225
|
+
fontWeightStrong: string;
|
|
2141
2226
|
paddingTiny: string;
|
|
2142
2227
|
paddingSmall: string;
|
|
2143
2228
|
paddingMedium: string;
|
|
@@ -2193,20 +2278,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2193
2278
|
fontSizeMedium: string;
|
|
2194
2279
|
fontSizeLarge: string;
|
|
2195
2280
|
opacityDisabled: string;
|
|
2281
|
+
colorOpacitySecondary: number;
|
|
2282
|
+
colorOpacitySecondaryHover: number;
|
|
2283
|
+
colorOpacitySecondaryPressed: number;
|
|
2284
|
+
colorSecondary: string;
|
|
2285
|
+
colorSecondaryHover: string;
|
|
2286
|
+
colorSecondaryPressed: string;
|
|
2287
|
+
colorTertiary: string;
|
|
2288
|
+
colorTertiaryHover: string;
|
|
2289
|
+
colorTertiaryPressed: string;
|
|
2290
|
+
colorQuaternary: string;
|
|
2291
|
+
colorQuaternaryHover: string;
|
|
2292
|
+
colorQuaternaryPressed: string;
|
|
2196
2293
|
color: string;
|
|
2197
2294
|
colorHover: string;
|
|
2198
2295
|
colorPressed: string;
|
|
2199
2296
|
colorFocus: string;
|
|
2200
2297
|
colorDisabled: string;
|
|
2201
2298
|
textColor: string;
|
|
2299
|
+
textColorTertiary: string;
|
|
2202
2300
|
textColorHover: string;
|
|
2203
2301
|
textColorPressed: string;
|
|
2204
2302
|
textColorFocus: string;
|
|
2205
2303
|
textColorDisabled: string;
|
|
2206
2304
|
textColorText: string;
|
|
2207
|
-
textColorTextDepth1: string;
|
|
2208
|
-
textColorTextDepth2: string;
|
|
2209
|
-
textColorTextDepth3: string;
|
|
2210
2305
|
textColorTextHover: string;
|
|
2211
2306
|
textColorTextPressed: string;
|
|
2212
2307
|
textColorTextFocus: string;
|
|
@@ -2353,9 +2448,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2353
2448
|
borderDisabledError: string;
|
|
2354
2449
|
rippleColorError: string;
|
|
2355
2450
|
waveOpacity: string;
|
|
2356
|
-
fontWeightText: string;
|
|
2357
2451
|
fontWeight: string;
|
|
2358
|
-
|
|
2452
|
+
fontWeightStrong: string;
|
|
2359
2453
|
paddingTiny: string;
|
|
2360
2454
|
paddingSmall: string;
|
|
2361
2455
|
paddingMedium: string;
|
|
@@ -58,20 +58,30 @@ declare const calendarLight: import("../../_mixins").Theme<"Calendar", {
|
|
|
58
58
|
fontSizeMedium: string;
|
|
59
59
|
fontSizeLarge: string;
|
|
60
60
|
opacityDisabled: string;
|
|
61
|
+
colorOpacitySecondary: number;
|
|
62
|
+
colorOpacitySecondaryHover: number;
|
|
63
|
+
colorOpacitySecondaryPressed: number;
|
|
64
|
+
colorSecondary: string;
|
|
65
|
+
colorSecondaryHover: string;
|
|
66
|
+
colorSecondaryPressed: string;
|
|
67
|
+
colorTertiary: string;
|
|
68
|
+
colorTertiaryHover: string;
|
|
69
|
+
colorTertiaryPressed: string;
|
|
70
|
+
colorQuaternary: string;
|
|
71
|
+
colorQuaternaryHover: string;
|
|
72
|
+
colorQuaternaryPressed: string;
|
|
61
73
|
color: string;
|
|
62
74
|
colorHover: string;
|
|
63
75
|
colorPressed: string;
|
|
64
76
|
colorFocus: string;
|
|
65
77
|
colorDisabled: string;
|
|
66
78
|
textColor: string;
|
|
79
|
+
textColorTertiary: string;
|
|
67
80
|
textColorHover: string;
|
|
68
81
|
textColorPressed: string;
|
|
69
82
|
textColorFocus: string;
|
|
70
83
|
textColorDisabled: string;
|
|
71
84
|
textColorText: string;
|
|
72
|
-
textColorTextDepth1: string;
|
|
73
|
-
textColorTextDepth2: string;
|
|
74
|
-
textColorTextDepth3: string;
|
|
75
85
|
textColorTextHover: string;
|
|
76
86
|
textColorTextPressed: string;
|
|
77
87
|
textColorTextFocus: string;
|
|
@@ -218,9 +228,8 @@ declare const calendarLight: import("../../_mixins").Theme<"Calendar", {
|
|
|
218
228
|
borderDisabledError: string;
|
|
219
229
|
rippleColorError: string;
|
|
220
230
|
waveOpacity: string;
|
|
221
|
-
fontWeightText: string;
|
|
222
231
|
fontWeight: string;
|
|
223
|
-
|
|
232
|
+
fontWeightStrong: string;
|
|
224
233
|
paddingTiny: string;
|
|
225
234
|
paddingSmall: string;
|
|
226
235
|
paddingMedium: string;
|
package/es/card/src/Card.d.ts
CHANGED
|
@@ -340,9 +340,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
340
340
|
tableHeaderColor: string;
|
|
341
341
|
hoverColor: string;
|
|
342
342
|
tableColorHover: string;
|
|
343
|
+
tableColorStriped: string;
|
|
343
344
|
pressedColor: string;
|
|
344
345
|
opacityDisabled: string;
|
|
345
346
|
inputColorDisabled: string;
|
|
347
|
+
buttonColor2: string;
|
|
348
|
+
buttonColor2Hover: string;
|
|
349
|
+
buttonColor2Pressed: string;
|
|
346
350
|
boxShadow1: string;
|
|
347
351
|
boxShadow2: string;
|
|
348
352
|
boxShadow3: string;
|
|
@@ -1316,9 +1316,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1316
1316
|
tableHeaderColor: string;
|
|
1317
1317
|
hoverColor: string;
|
|
1318
1318
|
tableColorHover: string;
|
|
1319
|
+
tableColorStriped: string;
|
|
1319
1320
|
pressedColor: string;
|
|
1320
1321
|
opacityDisabled: string;
|
|
1321
1322
|
inputColorDisabled: string;
|
|
1323
|
+
buttonColor2: string;
|
|
1324
|
+
buttonColor2Hover: string;
|
|
1325
|
+
buttonColor2Pressed: string;
|
|
1322
1326
|
boxShadow1: string;
|
|
1323
1327
|
boxShadow2: string;
|
|
1324
1328
|
boxShadow3: string;
|
|
@@ -89,9 +89,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
89
|
tableHeaderColor: string;
|
|
90
90
|
hoverColor: string;
|
|
91
91
|
tableColorHover: string;
|
|
92
|
+
tableColorStriped: string;
|
|
92
93
|
pressedColor: string;
|
|
93
94
|
opacityDisabled: string;
|
|
94
95
|
inputColorDisabled: string;
|
|
96
|
+
buttonColor2: string;
|
|
97
|
+
buttonColor2Hover: string;
|
|
98
|
+
buttonColor2Pressed: string;
|
|
95
99
|
boxShadow1: string;
|
|
96
100
|
boxShadow2: string;
|
|
97
101
|
boxShadow3: string;
|
|
@@ -101,9 +101,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
tableHeaderColor: string;
|
|
102
102
|
hoverColor: string;
|
|
103
103
|
tableColorHover: string;
|
|
104
|
+
tableColorStriped: string;
|
|
104
105
|
pressedColor: string;
|
|
105
106
|
opacityDisabled: string;
|
|
106
107
|
inputColorDisabled: string;
|
|
108
|
+
buttonColor2: string;
|
|
109
|
+
buttonColor2Hover: string;
|
|
110
|
+
buttonColor2Pressed: string;
|
|
107
111
|
boxShadow1: string;
|
|
108
112
|
boxShadow2: string;
|
|
109
113
|
boxShadow3: string;
|
|
@@ -82,9 +82,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
tableHeaderColor: string;
|
|
83
83
|
hoverColor: string;
|
|
84
84
|
tableColorHover: string;
|
|
85
|
+
tableColorStriped: string;
|
|
85
86
|
pressedColor: string;
|
|
86
87
|
opacityDisabled: string;
|
|
87
88
|
inputColorDisabled: string;
|
|
89
|
+
buttonColor2: string;
|
|
90
|
+
buttonColor2Hover: string;
|
|
91
|
+
buttonColor2Pressed: string;
|
|
88
92
|
boxShadow1: string;
|
|
89
93
|
boxShadow2: string;
|
|
90
94
|
boxShadow3: string;
|
|
@@ -32,7 +32,7 @@ declare const checkboxProps: {
|
|
|
32
32
|
};
|
|
33
33
|
'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
|
|
34
34
|
onUpdateChecked: PropType<MaybeArray<OnUpdateChecked>>;
|
|
35
|
-
|
|
35
|
+
privateInsideTable: BooleanConstructor;
|
|
36
36
|
onChange: PropType<MaybeArray<OnUpdateChecked>>;
|
|
37
37
|
theme: PropType<import("../../_mixins").Theme<"Checkbox", {
|
|
38
38
|
fontSizeSmall: string;
|
|
@@ -151,7 +151,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
151
151
|
};
|
|
152
152
|
'onUpdate:checked': PropType<MaybeArray<OnUpdateChecked>>;
|
|
153
153
|
onUpdateChecked: PropType<MaybeArray<OnUpdateChecked>>;
|
|
154
|
-
|
|
154
|
+
privateInsideTable: BooleanConstructor;
|
|
155
155
|
onChange: PropType<MaybeArray<OnUpdateChecked>>;
|
|
156
156
|
theme: PropType<import("../../_mixins").Theme<"Checkbox", {
|
|
157
157
|
fontSizeSmall: string;
|
|
@@ -311,9 +311,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
311
311
|
tableHeaderColor: string;
|
|
312
312
|
hoverColor: string;
|
|
313
313
|
tableColorHover: string;
|
|
314
|
+
tableColorStriped: string;
|
|
314
315
|
pressedColor: string;
|
|
315
316
|
opacityDisabled: string;
|
|
316
317
|
inputColorDisabled: string;
|
|
318
|
+
buttonColor2: string;
|
|
319
|
+
buttonColor2Hover: string;
|
|
320
|
+
buttonColor2Pressed: string;
|
|
317
321
|
boxShadow1: string;
|
|
318
322
|
boxShadow2: string;
|
|
319
323
|
boxShadow3: string;
|
|
@@ -416,7 +420,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
416
420
|
uncheckedValue?: unknown;
|
|
417
421
|
'onUpdate:checked'?: unknown;
|
|
418
422
|
onUpdateChecked?: unknown;
|
|
419
|
-
|
|
423
|
+
privateInsideTable?: unknown;
|
|
420
424
|
onChange?: unknown;
|
|
421
425
|
theme?: unknown;
|
|
422
426
|
themeOverrides?: unknown;
|
|
@@ -427,7 +431,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
427
431
|
defaultChecked: string | number | boolean;
|
|
428
432
|
checkedValue: string | number | boolean;
|
|
429
433
|
uncheckedValue: string | number | boolean;
|
|
430
|
-
|
|
434
|
+
privateInsideTable: boolean;
|
|
431
435
|
} & {
|
|
432
436
|
value?: string | number | undefined;
|
|
433
437
|
label?: string | undefined;
|
|
@@ -529,6 +533,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
529
533
|
defaultChecked: string | number | boolean;
|
|
530
534
|
checkedValue: string | number | boolean;
|
|
531
535
|
uncheckedValue: string | number | boolean;
|
|
532
|
-
|
|
536
|
+
privateInsideTable: boolean;
|
|
533
537
|
}>;
|
|
534
538
|
export default _default;
|
|
@@ -9,6 +9,7 @@ import CheckMark from './CheckMark';
|
|
|
9
9
|
import LineMark from './LineMark';
|
|
10
10
|
import { checkboxGroupInjectionKey } from './CheckboxGroup';
|
|
11
11
|
import style from './styles/index.cssr';
|
|
12
|
+
import { on } from 'evtd';
|
|
12
13
|
const checkboxProps = Object.assign(Object.assign({}, useTheme.props), { size: String, checked: {
|
|
13
14
|
type: [Boolean, String, Number],
|
|
14
15
|
default: undefined
|
|
@@ -29,7 +30,7 @@ const checkboxProps = Object.assign(Object.assign({}, useTheme.props), { size: S
|
|
|
29
30
|
default: false
|
|
30
31
|
}, 'onUpdate:checked': [Function, Array], onUpdateChecked: [Function, Array],
|
|
31
32
|
// private
|
|
32
|
-
|
|
33
|
+
privateInsideTable: Boolean,
|
|
33
34
|
// deprecated
|
|
34
35
|
onChange: [Function, Array] });
|
|
35
36
|
export default defineComponent({
|
|
@@ -191,21 +192,19 @@ export default defineComponent({
|
|
|
191
192
|
});
|
|
192
193
|
},
|
|
193
194
|
render() {
|
|
194
|
-
const { $slots, renderedChecked, mergedDisabled, indeterminate,
|
|
195
|
+
const { $slots, renderedChecked, mergedDisabled, indeterminate, privateInsideTable, cssVars, labelId, label, mergedClsPrefix, focusable, handleKeyUp, handleKeyDown, handleClick } = this;
|
|
195
196
|
return (h("div", { class: [
|
|
196
197
|
`${mergedClsPrefix}-checkbox`,
|
|
197
198
|
renderedChecked && `${mergedClsPrefix}-checkbox--checked`,
|
|
198
199
|
mergedDisabled && `${mergedClsPrefix}-checkbox--disabled`,
|
|
199
200
|
indeterminate && `${mergedClsPrefix}-checkbox--indeterminate`,
|
|
200
|
-
|
|
201
|
+
privateInsideTable && `${mergedClsPrefix}-checkbox--table-header`
|
|
201
202
|
], tabindex: mergedDisabled || !focusable ? undefined : 0, role: "checkbox", "aria-checked": indeterminate ? 'mixed' : renderedChecked, "aria-labelledby": labelId, style: cssVars, onKeyup: handleKeyUp, onKeydown: handleKeyDown, onClick: handleClick, onMousedown: () => {
|
|
202
|
-
|
|
203
|
+
on('selectstart', window, (e) => {
|
|
203
204
|
e.preventDefault();
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
window.removeEventListener('selectstart', preventDefault);
|
|
208
|
-
}, 0);
|
|
205
|
+
}, {
|
|
206
|
+
once: true
|
|
207
|
+
});
|
|
209
208
|
} },
|
|
210
209
|
h("div", { class: `${mergedClsPrefix}-checkbox-box` },
|
|
211
210
|
h(NIconSwitchTransition, null, {
|