naive-ui 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -1
- package/es/_internal/selection/src/Selection.d.ts +4 -1
- package/es/_internal/suffix/src/Suffix.d.ts +5 -2
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +5 -2
- package/es/_styles/global/index.cssr.js +9 -4
- package/es/_styles/transitions/icon-switch.cssr.js +6 -2
- package/es/_utils/naive/extract-public-props.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +3 -0
- package/es/alert/src/Alert.js +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -1
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/avatar/src/Avatar.d.ts +8 -1
- package/es/avatar/src/Avatar.js +41 -9
- package/es/avatar/src/styles/index.cssr.js +2 -2
- package/es/button/src/Button.d.ts +149 -52
- package/es/button/src/Button.js +131 -58
- package/es/button/src/interface.d.ts +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/dark.js +3 -0
- package/es/button/styles/light.d.ts +14 -5
- package/es/button/styles/light.js +10 -3
- package/es/calendar/src/Calendar.d.ts +143 -50
- package/es/calendar/styles/light.d.ts +14 -5
- package/es/card/src/Card.d.ts +3 -0
- package/es/cascader/src/Cascader.d.ts +3 -0
- package/es/cascader/src/Cascader.js +2 -2
- package/es/cascader/src/CascaderOption.d.ts +3 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/es/checkbox/src/Checkbox.d.ts +8 -5
- package/es/checkbox/src/Checkbox.js +8 -9
- package/es/collapse/src/Collapse.d.ts +3 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/es/color-picker/src/ColorPicker.d.ts +126 -45
- package/es/color-picker/styles/light.d.ts +14 -5
- package/es/data-table/src/DataTable.d.ts +183 -51
- package/es/data-table/src/DataTable.js +11 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/es/data-table/src/TableParts/Body.d.ts +25 -6
- package/es/data-table/src/TableParts/Body.js +60 -22
- package/es/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +40 -10
- package/es/data-table/src/TableParts/Header.d.ts +20 -5
- package/es/data-table/src/TableParts/Header.js +1 -1
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +8 -9
- package/es/data-table/styles/light.d.ts +20 -5
- package/es/data-table/styles/light.js +3 -3
- package/es/date-picker/src/DatePicker.d.ts +328 -127
- package/es/date-picker/src/DatePicker.js +7 -17
- package/es/date-picker/src/config.d.ts +9 -0
- package/es/date-picker/src/config.js +8 -0
- package/es/date-picker/src/panel/date.d.ts +51 -19
- package/es/date-picker/src/panel/daterange.d.ts +49 -17
- package/es/date-picker/src/panel/datetime.d.ts +51 -19
- package/es/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/es/date-picker/src/panel/month.d.ts +86 -60
- package/es/date-picker/src/panel/month.js +9 -6
- package/es/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/es/date-picker/src/panel/use-calendar.js +7 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/es/date-picker/src/panel/use-panel-common.d.ts +47 -15
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +32 -10
- package/es/dialog/src/Dialog.d.ts +104 -38
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +3 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/es/drawer/src/DrawerContent.d.ts +3 -0
- package/es/dropdown/index.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +5 -2
- package/es/dropdown/src/DropdownGroup.d.ts +2 -3
- package/es/dropdown/src/DropdownMenu.d.ts +3 -4
- package/es/dropdown/src/DropdownMenu.js +5 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -4
- package/es/dropdown/src/DropdownOption.js +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/es/dropdown/src/interface.d.ts +9 -30
- package/es/dropdown/src/utils.d.ts +1 -0
- package/es/dropdown/src/utils.js +10 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/es/dynamic-input/src/InputPreset.d.ts +17 -5
- package/es/dynamic-input/src/PairPreset.d.ts +17 -5
- package/es/dynamic-input/styles/light.d.ts +14 -5
- package/es/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/es/dynamic-tags/styles/light.d.ts +14 -5
- package/es/ellipsis/src/Ellipsis.d.ts +3 -0
- package/es/form/src/FormItemGridItem.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/grid/src/Grid.js +1 -0
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/image/src/ImagePreview.js +3 -2
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/input/src/Input.d.ts +4 -0
- package/es/input/src/Input.js +9 -3
- package/es/input/src/interface.d.ts +1 -0
- package/es/input-number/src/InputNumber.d.ts +144 -50
- package/es/input-number/styles/light.d.ts +14 -5
- package/es/layout/src/Layout.d.ts +6 -0
- package/es/layout/src/LayoutContent.d.ts +3 -0
- package/es/layout/src/LayoutSider.d.ts +3 -0
- package/es/locales/common/deDE.d.ts +3 -0
- package/es/locales/common/deDE.js +93 -0
- package/es/locales/common/nbNO.d.ts +3 -0
- package/es/locales/common/nbNO.js +93 -0
- package/es/locales/date/deDE.d.ts +3 -0
- package/es/locales/date/deDE.js +6 -0
- package/es/locales/date/nbNO.d.ts +3 -0
- package/es/locales/date/nbNO.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +5 -0
- package/es/locales/utils/index.d.ts +8 -0
- package/es/locales/utils/index.js +4 -0
- package/es/log/src/Log.d.ts +3 -0
- package/es/mention/src/Mention.d.ts +4 -0
- package/es/menu/index.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +32 -8
- package/es/menu/src/Menu.js +32 -10
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +11 -2
- package/es/menu/src/MenuOptionContent.d.ts +7 -2
- package/es/menu/src/Submenu.d.ts +21 -17
- package/es/menu/src/interface.d.ts +23 -4
- package/es/menu/src/styles/index.cssr.js +6 -1
- package/es/menu/src/utils.d.ts +4 -2
- package/es/menu/src/utils.js +16 -2
- package/es/menu/styles/light.d.ts +2 -0
- package/es/menu/styles/light.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +33 -12
- package/es/modal/src/BodyWrapper.js +6 -0
- package/es/modal/src/Modal.d.ts +185 -65
- package/es/modal/src/Modal.js +5 -1
- package/es/modal/src/interface.d.ts +1 -0
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +3 -0
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +20 -12
- package/es/pagination/src/Pagination.js +16 -6
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +145 -52
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +14 -5
- package/es/popselect/src/Popselect.d.ts +3 -0
- package/es/popselect/src/PopselectPanel.d.ts +3 -0
- package/es/radio/src/Radio.d.ts +3 -0
- package/es/radio/src/RadioButton.d.ts +3 -0
- package/es/radio/src/use-radio.d.ts +2 -0
- package/es/radio/src/use-radio.js +6 -3
- package/es/select/src/Select.d.ts +9 -2
- package/es/select/src/Select.js +20 -14
- package/es/slider/src/Slider.d.ts +70 -91
- package/es/slider/src/Slider.js +326 -583
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/styles/index.cssr.js +86 -16
- package/es/slider/src/utils.d.ts +10 -1
- package/es/slider/src/utils.js +9 -0
- package/es/slider/styles/_common.d.ts +1 -0
- package/es/slider/styles/_common.js +1 -0
- package/es/slider/styles/light.d.ts +1 -0
- package/es/space/src/Space.js +2 -0
- package/es/steps/src/Step.js +1 -1
- package/es/table/src/Table.d.ts +35 -0
- package/es/table/src/Table.js +8 -4
- package/es/table/src/styles/index.cssr.js +1 -1
- package/es/table/styles/light.d.ts +3 -0
- package/es/table/styles/light.js +2 -2
- package/es/tabs/index.d.ts +2 -0
- package/es/tabs/index.js +1 -0
- package/es/tabs/src/Tab.d.ts +35 -18
- package/es/tabs/src/Tab.js +14 -17
- package/es/tabs/src/TabPane.d.ts +1 -0
- package/es/tabs/src/TabPane.js +2 -1
- package/es/tabs/src/Tabs.d.ts +4 -0
- package/es/tabs/src/Tabs.js +65 -21
- package/es/tabs/src/interface.d.ts +3 -2
- package/es/tag/src/Tag.d.ts +8 -3
- package/es/tag/src/Tag.js +10 -2
- package/es/tag/src/styles/index.cssr.js +10 -5
- package/es/tag/src/styles/rtl.cssr.js +7 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/time-picker/src/Panel.d.ts +17 -5
- package/es/time-picker/src/TimePicker.d.ts +144 -50
- package/es/time-picker/src/TimePicker.js +3 -0
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +3 -0
- package/es/transfer/src/Transfer.d.ts +145 -52
- package/es/transfer/src/TransferFilter.d.ts +17 -5
- package/es/transfer/src/TransferList.d.ts +17 -5
- package/es/transfer/src/TransferListItem.d.ts +17 -5
- package/es/transfer/styles/light.d.ts +14 -5
- package/es/tree/src/Tree.d.ts +13 -9
- package/es/tree/src/Tree.js +59 -23
- package/es/tree/src/TreeNode.js +4 -4
- package/es/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/interface.d.ts +1 -1
- package/es/tree/src/utils.d.ts +1 -1
- package/es/tree/src/utils.js +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +5 -2
- package/es/upload/src/Upload.d.ts +146 -52
- package/es/upload/src/Upload.js +6 -10
- package/es/upload/src/UploadFile.d.ts +18 -6
- package/es/upload/src/UploadFile.js +1 -1
- package/es/upload/src/UploadProgress.d.ts +17 -5
- package/es/upload/src/UploadTrigger.js +2 -2
- package/es/upload/src/interface.d.ts +2 -1
- package/es/upload/styles/light.d.ts +14 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -1
- package/lib/_internal/selection/src/Selection.d.ts +4 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +5 -2
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +5 -2
- package/lib/_styles/global/index.cssr.js +10 -5
- package/lib/_styles/transitions/icon-switch.cssr.js +7 -2
- package/lib/_utils/naive/extract-public-props.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +3 -0
- package/lib/alert/src/Alert.js +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -1
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/avatar/src/Avatar.d.ts +8 -1
- package/lib/avatar/src/Avatar.js +40 -8
- package/lib/avatar/src/styles/index.cssr.js +2 -2
- package/lib/button/src/Button.d.ts +149 -52
- package/lib/button/src/Button.js +129 -56
- package/lib/button/src/interface.d.ts +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/dark.js +3 -0
- package/lib/button/styles/light.d.ts +14 -5
- package/lib/button/styles/light.js +10 -3
- package/lib/calendar/src/Calendar.d.ts +143 -50
- package/lib/calendar/styles/light.d.ts +14 -5
- package/lib/card/src/Card.d.ts +3 -0
- package/lib/cascader/src/Cascader.d.ts +3 -0
- package/lib/cascader/src/Cascader.js +2 -2
- package/lib/cascader/src/CascaderOption.d.ts +3 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/lib/checkbox/src/Checkbox.d.ts +8 -5
- package/lib/checkbox/src/Checkbox.js +8 -9
- package/lib/collapse/src/Collapse.d.ts +3 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/lib/color-picker/src/ColorPicker.d.ts +126 -45
- package/lib/color-picker/styles/light.d.ts +14 -5
- package/lib/data-table/src/DataTable.d.ts +183 -51
- package/lib/data-table/src/DataTable.js +11 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/lib/data-table/src/TableParts/Body.d.ts +25 -6
- package/lib/data-table/src/TableParts/Body.js +60 -22
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +40 -10
- package/lib/data-table/src/TableParts/Header.d.ts +20 -5
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +8 -9
- package/lib/data-table/styles/light.d.ts +20 -5
- package/lib/data-table/styles/light.js +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +328 -127
- package/lib/date-picker/src/DatePicker.js +7 -17
- package/lib/date-picker/src/config.d.ts +9 -0
- package/lib/date-picker/src/config.js +9 -1
- package/lib/date-picker/src/panel/date.d.ts +51 -19
- package/lib/date-picker/src/panel/daterange.d.ts +49 -17
- package/lib/date-picker/src/panel/datetime.d.ts +51 -19
- package/lib/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/lib/date-picker/src/panel/month.d.ts +86 -60
- package/lib/date-picker/src/panel/month.js +9 -6
- package/lib/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/lib/date-picker/src/panel/use-calendar.js +6 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/lib/date-picker/src/panel/use-panel-common.d.ts +47 -15
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +32 -10
- package/lib/dialog/src/Dialog.d.ts +104 -38
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +3 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/lib/drawer/src/DrawerContent.d.ts +3 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +5 -2
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -3
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -4
- package/lib/dropdown/src/DropdownMenu.js +5 -4
- package/lib/dropdown/src/DropdownOption.d.ts +3 -4
- package/lib/dropdown/src/DropdownOption.js +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/lib/dropdown/src/interface.d.ts +9 -30
- package/lib/dropdown/src/utils.d.ts +1 -0
- package/lib/dropdown/src/utils.js +12 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/lib/dynamic-input/src/InputPreset.d.ts +17 -5
- package/lib/dynamic-input/src/PairPreset.d.ts +17 -5
- package/lib/dynamic-input/styles/light.d.ts +14 -5
- package/lib/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/lib/dynamic-tags/styles/light.d.ts +14 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +3 -0
- package/lib/form/src/FormItemGridItem.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/grid/src/Grid.js +1 -0
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +2 -1
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/input/src/Input.d.ts +4 -0
- package/lib/input/src/Input.js +9 -3
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input-number/src/InputNumber.d.ts +144 -50
- package/lib/input-number/styles/light.d.ts +14 -5
- package/lib/layout/src/Layout.d.ts +6 -0
- package/lib/layout/src/LayoutContent.d.ts +3 -0
- package/lib/layout/src/LayoutSider.d.ts +3 -0
- package/lib/locales/common/deDE.d.ts +3 -0
- package/lib/locales/common/deDE.js +95 -0
- package/lib/locales/common/nbNO.d.ts +3 -0
- package/lib/locales/common/nbNO.js +95 -0
- package/lib/locales/date/deDE.d.ts +3 -0
- package/lib/locales/date/deDE.js +11 -0
- package/lib/locales/date/nbNO.d.ts +3 -0
- package/lib/locales/date/nbNO.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +11 -1
- package/lib/locales/utils/index.d.ts +8 -0
- package/lib/locales/utils/index.js +8 -0
- package/lib/log/src/Log.d.ts +3 -0
- package/lib/mention/src/Mention.d.ts +4 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +32 -8
- package/lib/menu/src/Menu.js +31 -9
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +11 -2
- package/lib/menu/src/MenuOptionContent.d.ts +7 -2
- package/lib/menu/src/Submenu.d.ts +21 -17
- package/lib/menu/src/interface.d.ts +23 -4
- package/lib/menu/src/styles/index.cssr.js +6 -1
- package/lib/menu/src/utils.d.ts +4 -2
- package/lib/menu/src/utils.js +22 -3
- package/lib/menu/styles/light.d.ts +2 -0
- package/lib/menu/styles/light.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +33 -12
- package/lib/modal/src/BodyWrapper.js +6 -0
- package/lib/modal/src/Modal.d.ts +185 -65
- package/lib/modal/src/Modal.js +5 -1
- package/lib/modal/src/interface.d.ts +1 -0
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +20 -12
- package/lib/pagination/src/Pagination.js +16 -6
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +145 -52
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +14 -5
- package/lib/popselect/src/Popselect.d.ts +3 -0
- package/lib/popselect/src/PopselectPanel.d.ts +3 -0
- package/lib/radio/src/Radio.d.ts +3 -0
- package/lib/radio/src/RadioButton.d.ts +3 -0
- package/lib/radio/src/use-radio.d.ts +2 -0
- package/lib/radio/src/use-radio.js +6 -3
- package/lib/select/src/Select.d.ts +9 -2
- package/lib/select/src/Select.js +20 -14
- package/lib/slider/src/Slider.d.ts +70 -91
- package/lib/slider/src/Slider.js +324 -581
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/styles/index.cssr.js +86 -16
- package/lib/slider/src/utils.d.ts +10 -1
- package/lib/slider/src/utils.js +11 -1
- package/lib/slider/styles/_common.d.ts +1 -0
- package/lib/slider/styles/_common.js +1 -0
- package/lib/slider/styles/light.d.ts +1 -0
- package/lib/space/src/Space.js +2 -0
- package/lib/steps/src/Step.js +1 -1
- package/lib/table/src/Table.d.ts +35 -0
- package/lib/table/src/Table.js +8 -4
- package/lib/table/src/styles/index.cssr.js +1 -1
- package/lib/table/styles/light.d.ts +3 -0
- package/lib/table/styles/light.js +2 -2
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/src/Tab.d.ts +35 -18
- package/lib/tabs/src/Tab.js +13 -16
- package/lib/tabs/src/TabPane.d.ts +1 -0
- package/lib/tabs/src/TabPane.js +2 -1
- package/lib/tabs/src/Tabs.d.ts +4 -0
- package/lib/tabs/src/Tabs.js +64 -20
- package/lib/tabs/src/interface.d.ts +3 -2
- package/lib/tag/src/Tag.d.ts +8 -3
- package/lib/tag/src/Tag.js +10 -1
- package/lib/tag/src/styles/index.cssr.js +10 -5
- package/lib/tag/src/styles/rtl.cssr.js +7 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/time-picker/src/Panel.d.ts +17 -5
- package/lib/time-picker/src/TimePicker.d.ts +144 -50
- package/lib/time-picker/src/TimePicker.js +3 -0
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +3 -0
- package/lib/transfer/src/Transfer.d.ts +145 -52
- package/lib/transfer/src/TransferFilter.d.ts +17 -5
- package/lib/transfer/src/TransferList.d.ts +17 -5
- package/lib/transfer/src/TransferListItem.d.ts +17 -5
- package/lib/transfer/styles/light.d.ts +14 -5
- package/lib/tree/src/Tree.d.ts +13 -9
- package/lib/tree/src/Tree.js +58 -22
- package/lib/tree/src/TreeNode.js +4 -4
- package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/interface.d.ts +1 -1
- package/lib/tree/src/utils.d.ts +1 -1
- package/lib/tree/src/utils.js +4 -4
- package/lib/tree-select/src/TreeSelect.d.ts +5 -2
- package/lib/upload/src/Upload.d.ts +146 -52
- package/lib/upload/src/Upload.js +6 -10
- package/lib/upload/src/UploadFile.d.ts +18 -6
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/UploadProgress.d.ts +17 -5
- package/lib/upload/src/UploadTrigger.js +2 -2
- package/lib/upload/src/interface.d.ts +2 -1
- package/lib/upload/styles/light.d.ts +14 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -5
- package/web-types.json +182 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ExtractPropTypes } from 'vue';
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { Shortcuts } from '../interface';
|
|
3
3
|
import type { DateItem, MonthItem, YearItem } from '../utils';
|
|
4
4
|
declare const useCalendarProps: {
|
|
5
5
|
readonly actions: {
|
|
6
|
-
readonly type:
|
|
6
|
+
readonly type: PropType<string[]>;
|
|
7
7
|
readonly default: () => string[];
|
|
8
8
|
};
|
|
9
9
|
readonly active: BooleanConstructor;
|
|
@@ -16,19 +16,19 @@ declare const useCalendarProps: {
|
|
|
16
16
|
readonly default: "HH:mm:ss";
|
|
17
17
|
};
|
|
18
18
|
readonly value: {
|
|
19
|
-
readonly type:
|
|
19
|
+
readonly type: PropType<import("../interface").Value | null>;
|
|
20
20
|
readonly default: null;
|
|
21
21
|
};
|
|
22
|
-
readonly shortcuts:
|
|
22
|
+
readonly shortcuts: PropType<Shortcuts>;
|
|
23
23
|
readonly onConfirm: FunctionConstructor;
|
|
24
|
-
readonly onClose:
|
|
24
|
+
readonly onClose: PropType<import("../interface").OnClose>;
|
|
25
25
|
readonly onTabOut: FunctionConstructor;
|
|
26
26
|
readonly onUpdateValue: {
|
|
27
|
-
readonly type:
|
|
27
|
+
readonly type: PropType<import("../interface").OnPanelUpdateValue>;
|
|
28
28
|
readonly required: true;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
|
-
declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, type: 'date' | 'datetime' | 'month'): {
|
|
31
|
+
declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, type: 'date' | 'datetime' | 'month' | 'year'): {
|
|
32
32
|
handleDateClick: (dateItem: DateItem | MonthItem | YearItem) => void;
|
|
33
33
|
handleDateInputBlur: () => void;
|
|
34
34
|
handleDateInput: (value: string) => void;
|
|
@@ -134,6 +134,9 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
134
134
|
pressedColor: string;
|
|
135
135
|
opacityDisabled: string;
|
|
136
136
|
inputColorDisabled: string;
|
|
137
|
+
buttonColor2: string;
|
|
138
|
+
buttonColor2Hover: string;
|
|
139
|
+
buttonColor2Pressed: string;
|
|
137
140
|
boxShadow1: string;
|
|
138
141
|
boxShadow2: string;
|
|
139
142
|
boxShadow3: string;
|
|
@@ -207,11 +210,13 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
207
210
|
calendarLeftPaddingDaterange: string;
|
|
208
211
|
calendarLeftPaddingDatetimerange: string;
|
|
209
212
|
calendarLeftPaddingMonth: string;
|
|
213
|
+
calendarLeftPaddingYear: string;
|
|
210
214
|
calendarRightPaddingDate: string;
|
|
211
215
|
calendarRightPaddingDatetime: string;
|
|
212
216
|
calendarRightPaddingDaterange: string;
|
|
213
217
|
calendarRightPaddingDatetimerange: string;
|
|
214
218
|
calendarRightPaddingMonth: string;
|
|
219
|
+
calendarRightPaddingYear: string;
|
|
215
220
|
};
|
|
216
221
|
peers: {
|
|
217
222
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -288,20 +293,30 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
288
293
|
fontSizeMedium: string;
|
|
289
294
|
fontSizeLarge: string;
|
|
290
295
|
opacityDisabled: string;
|
|
296
|
+
colorOpacitySecondary: number;
|
|
297
|
+
colorOpacitySecondaryHover: number;
|
|
298
|
+
colorOpacitySecondaryPressed: number;
|
|
299
|
+
colorSecondary: string;
|
|
300
|
+
colorSecondaryHover: string;
|
|
301
|
+
colorSecondaryPressed: string;
|
|
302
|
+
colorTertiary: string;
|
|
303
|
+
colorTertiaryHover: string;
|
|
304
|
+
colorTertiaryPressed: string;
|
|
305
|
+
colorQuaternary: string;
|
|
306
|
+
colorQuaternaryHover: string;
|
|
307
|
+
colorQuaternaryPressed: string;
|
|
291
308
|
color: string;
|
|
292
309
|
colorHover: string;
|
|
293
310
|
colorPressed: string;
|
|
294
311
|
colorFocus: string;
|
|
295
312
|
colorDisabled: string;
|
|
296
313
|
textColor: string;
|
|
314
|
+
textColorTertiary: string;
|
|
297
315
|
textColorHover: string;
|
|
298
316
|
textColorPressed: string;
|
|
299
317
|
textColorFocus: string;
|
|
300
318
|
textColorDisabled: string;
|
|
301
319
|
textColorText: string;
|
|
302
|
-
textColorTextDepth1: string;
|
|
303
|
-
textColorTextDepth2: string;
|
|
304
|
-
textColorTextDepth3: string;
|
|
305
320
|
textColorTextHover: string;
|
|
306
321
|
textColorTextPressed: string;
|
|
307
322
|
textColorTextFocus: string;
|
|
@@ -448,9 +463,8 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
448
463
|
borderDisabledError: string;
|
|
449
464
|
rippleColorError: string;
|
|
450
465
|
waveOpacity: string;
|
|
451
|
-
fontWeightText: string;
|
|
452
466
|
fontWeight: string;
|
|
453
|
-
|
|
467
|
+
fontWeightStrong: string;
|
|
454
468
|
paddingTiny: string;
|
|
455
469
|
paddingSmall: string;
|
|
456
470
|
paddingMedium: string;
|
|
@@ -504,20 +518,30 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
504
518
|
fontSizeMedium: string;
|
|
505
519
|
fontSizeLarge: string;
|
|
506
520
|
opacityDisabled: string;
|
|
521
|
+
colorOpacitySecondary: number;
|
|
522
|
+
colorOpacitySecondaryHover: number;
|
|
523
|
+
colorOpacitySecondaryPressed: number;
|
|
524
|
+
colorSecondary: string;
|
|
525
|
+
colorSecondaryHover: string;
|
|
526
|
+
colorSecondaryPressed: string;
|
|
527
|
+
colorTertiary: string;
|
|
528
|
+
colorTertiaryHover: string;
|
|
529
|
+
colorTertiaryPressed: string;
|
|
530
|
+
colorQuaternary: string;
|
|
531
|
+
colorQuaternaryHover: string;
|
|
532
|
+
colorQuaternaryPressed: string;
|
|
507
533
|
color: string;
|
|
508
534
|
colorHover: string;
|
|
509
535
|
colorPressed: string;
|
|
510
536
|
colorFocus: string;
|
|
511
537
|
colorDisabled: string;
|
|
512
538
|
textColor: string;
|
|
539
|
+
textColorTertiary: string;
|
|
513
540
|
textColorHover: string;
|
|
514
541
|
textColorPressed: string;
|
|
515
542
|
textColorFocus: string;
|
|
516
543
|
textColorDisabled: string;
|
|
517
544
|
textColorText: string;
|
|
518
|
-
textColorTextDepth1: string;
|
|
519
|
-
textColorTextDepth2: string;
|
|
520
|
-
textColorTextDepth3: string;
|
|
521
545
|
textColorTextHover: string;
|
|
522
546
|
textColorTextPressed: string;
|
|
523
547
|
textColorTextFocus: string;
|
|
@@ -664,9 +688,8 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
664
688
|
borderDisabledError: string;
|
|
665
689
|
rippleColorError: string;
|
|
666
690
|
waveOpacity: string;
|
|
667
|
-
fontWeightText: string;
|
|
668
691
|
fontWeight: string;
|
|
669
|
-
|
|
692
|
+
fontWeightStrong: string;
|
|
670
693
|
paddingTiny: string;
|
|
671
694
|
paddingSmall: string;
|
|
672
695
|
paddingMedium: string;
|
|
@@ -782,20 +805,30 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
782
805
|
fontSizeMedium: string;
|
|
783
806
|
fontSizeLarge: string;
|
|
784
807
|
opacityDisabled: string;
|
|
808
|
+
colorOpacitySecondary: number;
|
|
809
|
+
colorOpacitySecondaryHover: number;
|
|
810
|
+
colorOpacitySecondaryPressed: number;
|
|
811
|
+
colorSecondary: string;
|
|
812
|
+
colorSecondaryHover: string;
|
|
813
|
+
colorSecondaryPressed: string;
|
|
814
|
+
colorTertiary: string;
|
|
815
|
+
colorTertiaryHover: string;
|
|
816
|
+
colorTertiaryPressed: string;
|
|
817
|
+
colorQuaternary: string;
|
|
818
|
+
colorQuaternaryHover: string;
|
|
819
|
+
colorQuaternaryPressed: string;
|
|
785
820
|
color: string;
|
|
786
821
|
colorHover: string;
|
|
787
822
|
colorPressed: string;
|
|
788
823
|
colorFocus: string;
|
|
789
824
|
colorDisabled: string;
|
|
790
825
|
textColor: string;
|
|
826
|
+
textColorTertiary: string;
|
|
791
827
|
textColorHover: string;
|
|
792
828
|
textColorPressed: string;
|
|
793
829
|
textColorFocus: string;
|
|
794
830
|
textColorDisabled: string;
|
|
795
831
|
textColorText: string;
|
|
796
|
-
textColorTextDepth1: string;
|
|
797
|
-
textColorTextDepth2: string;
|
|
798
|
-
textColorTextDepth3: string;
|
|
799
832
|
textColorTextHover: string;
|
|
800
833
|
textColorTextPressed: string;
|
|
801
834
|
textColorTextFocus: string;
|
|
@@ -942,9 +975,8 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
942
975
|
borderDisabledError: string;
|
|
943
976
|
rippleColorError: string;
|
|
944
977
|
waveOpacity: string;
|
|
945
|
-
fontWeightText: string;
|
|
946
978
|
fontWeight: string;
|
|
947
|
-
|
|
979
|
+
fontWeightStrong: string;
|
|
948
980
|
paddingTiny: string;
|
|
949
981
|
paddingSmall: string;
|
|
950
982
|
paddingMedium: string;
|
|
@@ -1098,7 +1130,7 @@ declare function useCalendar(props: ExtractPropTypes<typeof useCalendarProps>, t
|
|
|
1098
1130
|
declare namespace useCalendar {
|
|
1099
1131
|
var props: {
|
|
1100
1132
|
readonly actions: {
|
|
1101
|
-
readonly type:
|
|
1133
|
+
readonly type: PropType<string[]>;
|
|
1102
1134
|
readonly default: () => string[];
|
|
1103
1135
|
};
|
|
1104
1136
|
readonly active: BooleanConstructor;
|
|
@@ -1111,15 +1143,15 @@ declare namespace useCalendar {
|
|
|
1111
1143
|
readonly default: "HH:mm:ss";
|
|
1112
1144
|
};
|
|
1113
1145
|
readonly value: {
|
|
1114
|
-
readonly type:
|
|
1146
|
+
readonly type: PropType<import("../interface").Value | null>;
|
|
1115
1147
|
readonly default: null;
|
|
1116
1148
|
};
|
|
1117
|
-
readonly shortcuts:
|
|
1149
|
+
readonly shortcuts: PropType<Shortcuts>;
|
|
1118
1150
|
readonly onConfirm: FunctionConstructor;
|
|
1119
|
-
readonly onClose:
|
|
1151
|
+
readonly onClose: PropType<import("../interface").OnClose>;
|
|
1120
1152
|
readonly onTabOut: FunctionConstructor;
|
|
1121
1153
|
readonly onUpdateValue: {
|
|
1122
|
-
readonly type:
|
|
1154
|
+
readonly type: PropType<import("../interface").OnPanelUpdateValue>;
|
|
1123
1155
|
readonly required: true;
|
|
1124
1156
|
};
|
|
1125
1157
|
};
|
|
@@ -77,6 +77,8 @@ function useCalendar(props, type) {
|
|
|
77
77
|
return (0, date_fns_1.getTime)((0, date_fns_1.startOfSecond)(value));
|
|
78
78
|
if (type === 'month')
|
|
79
79
|
return (0, date_fns_1.getTime)((0, date_fns_1.startOfMonth)(value));
|
|
80
|
+
if (type === 'year')
|
|
81
|
+
return (0, date_fns_1.getTime)((0, date_fns_1.startOfYear)(value));
|
|
80
82
|
return (0, date_fns_1.getTime)((0, date_fns_1.startOfDay)(value));
|
|
81
83
|
}
|
|
82
84
|
function mergedIsDateDisabled(ts) {
|
|
@@ -145,7 +147,7 @@ function useCalendar(props, type) {
|
|
|
145
147
|
newValue = Date.now();
|
|
146
148
|
}
|
|
147
149
|
newValue = (0, date_fns_1.getTime)((0, date_fns_1.set)(newValue, dateItem.dateObject));
|
|
148
|
-
panelCommon.doUpdateValue(sanitizeValue(newValue), type === 'date');
|
|
150
|
+
panelCommon.doUpdateValue(sanitizeValue(newValue), type === 'date' || type === 'year');
|
|
149
151
|
if (type === 'date') {
|
|
150
152
|
panelCommon.doClose();
|
|
151
153
|
}
|
|
@@ -153,6 +155,9 @@ function useCalendar(props, type) {
|
|
|
153
155
|
panelCommon.disableTransitionOneTick();
|
|
154
156
|
scrollYearMonth(newValue);
|
|
155
157
|
}
|
|
158
|
+
else if (type === 'year') {
|
|
159
|
+
panelCommon.doClose();
|
|
160
|
+
}
|
|
156
161
|
}
|
|
157
162
|
function deriveDateInputValue(time) {
|
|
158
163
|
// If not selected, display nothing,
|
|
@@ -132,6 +132,9 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
132
132
|
pressedColor: string;
|
|
133
133
|
opacityDisabled: string;
|
|
134
134
|
inputColorDisabled: string;
|
|
135
|
+
buttonColor2: string;
|
|
136
|
+
buttonColor2Hover: string;
|
|
137
|
+
buttonColor2Pressed: string;
|
|
135
138
|
boxShadow1: string;
|
|
136
139
|
boxShadow2: string;
|
|
137
140
|
boxShadow3: string;
|
|
@@ -205,11 +208,13 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
205
208
|
calendarLeftPaddingDaterange: string;
|
|
206
209
|
calendarLeftPaddingDatetimerange: string;
|
|
207
210
|
calendarLeftPaddingMonth: string;
|
|
211
|
+
calendarLeftPaddingYear: string;
|
|
208
212
|
calendarRightPaddingDate: string;
|
|
209
213
|
calendarRightPaddingDatetime: string;
|
|
210
214
|
calendarRightPaddingDaterange: string;
|
|
211
215
|
calendarRightPaddingDatetimerange: string;
|
|
212
216
|
calendarRightPaddingMonth: string;
|
|
217
|
+
calendarRightPaddingYear: string;
|
|
213
218
|
};
|
|
214
219
|
peers: {
|
|
215
220
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -286,20 +291,30 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
286
291
|
fontSizeMedium: string;
|
|
287
292
|
fontSizeLarge: string;
|
|
288
293
|
opacityDisabled: string;
|
|
294
|
+
colorOpacitySecondary: number;
|
|
295
|
+
colorOpacitySecondaryHover: number;
|
|
296
|
+
colorOpacitySecondaryPressed: number;
|
|
297
|
+
colorSecondary: string;
|
|
298
|
+
colorSecondaryHover: string;
|
|
299
|
+
colorSecondaryPressed: string;
|
|
300
|
+
colorTertiary: string;
|
|
301
|
+
colorTertiaryHover: string;
|
|
302
|
+
colorTertiaryPressed: string;
|
|
303
|
+
colorQuaternary: string;
|
|
304
|
+
colorQuaternaryHover: string;
|
|
305
|
+
colorQuaternaryPressed: string;
|
|
289
306
|
color: string;
|
|
290
307
|
colorHover: string;
|
|
291
308
|
colorPressed: string;
|
|
292
309
|
colorFocus: string;
|
|
293
310
|
colorDisabled: string;
|
|
294
311
|
textColor: string;
|
|
312
|
+
textColorTertiary: string;
|
|
295
313
|
textColorHover: string;
|
|
296
314
|
textColorPressed: string;
|
|
297
315
|
textColorFocus: string;
|
|
298
316
|
textColorDisabled: string;
|
|
299
317
|
textColorText: string;
|
|
300
|
-
textColorTextDepth1: string;
|
|
301
|
-
textColorTextDepth2: string;
|
|
302
|
-
textColorTextDepth3: string;
|
|
303
318
|
textColorTextHover: string;
|
|
304
319
|
textColorTextPressed: string;
|
|
305
320
|
textColorTextFocus: string;
|
|
@@ -446,9 +461,8 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
446
461
|
borderDisabledError: string;
|
|
447
462
|
rippleColorError: string;
|
|
448
463
|
waveOpacity: string;
|
|
449
|
-
fontWeightText: string;
|
|
450
464
|
fontWeight: string;
|
|
451
|
-
|
|
465
|
+
fontWeightStrong: string;
|
|
452
466
|
paddingTiny: string;
|
|
453
467
|
paddingSmall: string;
|
|
454
468
|
paddingMedium: string;
|
|
@@ -502,20 +516,30 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
502
516
|
fontSizeMedium: string;
|
|
503
517
|
fontSizeLarge: string;
|
|
504
518
|
opacityDisabled: string;
|
|
519
|
+
colorOpacitySecondary: number;
|
|
520
|
+
colorOpacitySecondaryHover: number;
|
|
521
|
+
colorOpacitySecondaryPressed: number;
|
|
522
|
+
colorSecondary: string;
|
|
523
|
+
colorSecondaryHover: string;
|
|
524
|
+
colorSecondaryPressed: string;
|
|
525
|
+
colorTertiary: string;
|
|
526
|
+
colorTertiaryHover: string;
|
|
527
|
+
colorTertiaryPressed: string;
|
|
528
|
+
colorQuaternary: string;
|
|
529
|
+
colorQuaternaryHover: string;
|
|
530
|
+
colorQuaternaryPressed: string;
|
|
505
531
|
color: string;
|
|
506
532
|
colorHover: string;
|
|
507
533
|
colorPressed: string;
|
|
508
534
|
colorFocus: string;
|
|
509
535
|
colorDisabled: string;
|
|
510
536
|
textColor: string;
|
|
537
|
+
textColorTertiary: string;
|
|
511
538
|
textColorHover: string;
|
|
512
539
|
textColorPressed: string;
|
|
513
540
|
textColorFocus: string;
|
|
514
541
|
textColorDisabled: string;
|
|
515
542
|
textColorText: string;
|
|
516
|
-
textColorTextDepth1: string;
|
|
517
|
-
textColorTextDepth2: string;
|
|
518
|
-
textColorTextDepth3: string;
|
|
519
543
|
textColorTextHover: string;
|
|
520
544
|
textColorTextPressed: string;
|
|
521
545
|
textColorTextFocus: string;
|
|
@@ -662,9 +686,8 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
662
686
|
borderDisabledError: string;
|
|
663
687
|
rippleColorError: string;
|
|
664
688
|
waveOpacity: string;
|
|
665
|
-
fontWeightText: string;
|
|
666
689
|
fontWeight: string;
|
|
667
|
-
|
|
690
|
+
fontWeightStrong: string;
|
|
668
691
|
paddingTiny: string;
|
|
669
692
|
paddingSmall: string;
|
|
670
693
|
paddingMedium: string;
|
|
@@ -780,20 +803,30 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
780
803
|
fontSizeMedium: string;
|
|
781
804
|
fontSizeLarge: string;
|
|
782
805
|
opacityDisabled: string;
|
|
806
|
+
colorOpacitySecondary: number;
|
|
807
|
+
colorOpacitySecondaryHover: number;
|
|
808
|
+
colorOpacitySecondaryPressed: number;
|
|
809
|
+
colorSecondary: string;
|
|
810
|
+
colorSecondaryHover: string;
|
|
811
|
+
colorSecondaryPressed: string;
|
|
812
|
+
colorTertiary: string;
|
|
813
|
+
colorTertiaryHover: string;
|
|
814
|
+
colorTertiaryPressed: string;
|
|
815
|
+
colorQuaternary: string;
|
|
816
|
+
colorQuaternaryHover: string;
|
|
817
|
+
colorQuaternaryPressed: string;
|
|
783
818
|
color: string;
|
|
784
819
|
colorHover: string;
|
|
785
820
|
colorPressed: string;
|
|
786
821
|
colorFocus: string;
|
|
787
822
|
colorDisabled: string;
|
|
788
823
|
textColor: string;
|
|
824
|
+
textColorTertiary: string;
|
|
789
825
|
textColorHover: string;
|
|
790
826
|
textColorPressed: string;
|
|
791
827
|
textColorFocus: string;
|
|
792
828
|
textColorDisabled: string;
|
|
793
829
|
textColorText: string;
|
|
794
|
-
textColorTextDepth1: string;
|
|
795
|
-
textColorTextDepth2: string;
|
|
796
|
-
textColorTextDepth3: string;
|
|
797
830
|
textColorTextHover: string;
|
|
798
831
|
textColorTextPressed: string;
|
|
799
832
|
textColorTextFocus: string;
|
|
@@ -940,9 +973,8 @@ declare function useDualCalendar(props: ExtractPropTypes<typeof useDualCalendarP
|
|
|
940
973
|
borderDisabledError: string;
|
|
941
974
|
rippleColorError: string;
|
|
942
975
|
waveOpacity: string;
|
|
943
|
-
fontWeightText: string;
|
|
944
976
|
fontWeight: string;
|
|
945
|
-
|
|
977
|
+
fontWeightStrong: string;
|
|
946
978
|
paddingTiny: string;
|
|
947
979
|
paddingSmall: string;
|
|
948
980
|
paddingMedium: string;
|
|
@@ -98,6 +98,9 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
98
98
|
pressedColor: string;
|
|
99
99
|
opacityDisabled: string;
|
|
100
100
|
inputColorDisabled: string;
|
|
101
|
+
buttonColor2: string;
|
|
102
|
+
buttonColor2Hover: string;
|
|
103
|
+
buttonColor2Pressed: string;
|
|
101
104
|
boxShadow1: string;
|
|
102
105
|
boxShadow2: string;
|
|
103
106
|
boxShadow3: string;
|
|
@@ -171,11 +174,13 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
171
174
|
calendarLeftPaddingDaterange: string;
|
|
172
175
|
calendarLeftPaddingDatetimerange: string;
|
|
173
176
|
calendarLeftPaddingMonth: string;
|
|
177
|
+
calendarLeftPaddingYear: string;
|
|
174
178
|
calendarRightPaddingDate: string;
|
|
175
179
|
calendarRightPaddingDatetime: string;
|
|
176
180
|
calendarRightPaddingDaterange: string;
|
|
177
181
|
calendarRightPaddingDatetimerange: string;
|
|
178
182
|
calendarRightPaddingMonth: string;
|
|
183
|
+
calendarRightPaddingYear: string;
|
|
179
184
|
};
|
|
180
185
|
peers: {
|
|
181
186
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -252,20 +257,30 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
252
257
|
fontSizeMedium: string;
|
|
253
258
|
fontSizeLarge: string;
|
|
254
259
|
opacityDisabled: string;
|
|
260
|
+
colorOpacitySecondary: number;
|
|
261
|
+
colorOpacitySecondaryHover: number;
|
|
262
|
+
colorOpacitySecondaryPressed: number;
|
|
263
|
+
colorSecondary: string;
|
|
264
|
+
colorSecondaryHover: string;
|
|
265
|
+
colorSecondaryPressed: string;
|
|
266
|
+
colorTertiary: string;
|
|
267
|
+
colorTertiaryHover: string;
|
|
268
|
+
colorTertiaryPressed: string;
|
|
269
|
+
colorQuaternary: string;
|
|
270
|
+
colorQuaternaryHover: string;
|
|
271
|
+
colorQuaternaryPressed: string;
|
|
255
272
|
color: string;
|
|
256
273
|
colorHover: string;
|
|
257
274
|
colorPressed: string;
|
|
258
275
|
colorFocus: string;
|
|
259
276
|
colorDisabled: string;
|
|
260
277
|
textColor: string;
|
|
278
|
+
textColorTertiary: string;
|
|
261
279
|
textColorHover: string;
|
|
262
280
|
textColorPressed: string;
|
|
263
281
|
textColorFocus: string;
|
|
264
282
|
textColorDisabled: string;
|
|
265
283
|
textColorText: string;
|
|
266
|
-
textColorTextDepth1: string;
|
|
267
|
-
textColorTextDepth2: string;
|
|
268
|
-
textColorTextDepth3: string;
|
|
269
284
|
textColorTextHover: string;
|
|
270
285
|
textColorTextPressed: string;
|
|
271
286
|
textColorTextFocus: string;
|
|
@@ -412,9 +427,8 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
412
427
|
borderDisabledError: string;
|
|
413
428
|
rippleColorError: string;
|
|
414
429
|
waveOpacity: string;
|
|
415
|
-
fontWeightText: string;
|
|
416
430
|
fontWeight: string;
|
|
417
|
-
|
|
431
|
+
fontWeightStrong: string;
|
|
418
432
|
paddingTiny: string;
|
|
419
433
|
paddingSmall: string;
|
|
420
434
|
paddingMedium: string;
|
|
@@ -468,20 +482,30 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
468
482
|
fontSizeMedium: string;
|
|
469
483
|
fontSizeLarge: string;
|
|
470
484
|
opacityDisabled: string;
|
|
485
|
+
colorOpacitySecondary: number;
|
|
486
|
+
colorOpacitySecondaryHover: number;
|
|
487
|
+
colorOpacitySecondaryPressed: number;
|
|
488
|
+
colorSecondary: string;
|
|
489
|
+
colorSecondaryHover: string;
|
|
490
|
+
colorSecondaryPressed: string;
|
|
491
|
+
colorTertiary: string;
|
|
492
|
+
colorTertiaryHover: string;
|
|
493
|
+
colorTertiaryPressed: string;
|
|
494
|
+
colorQuaternary: string;
|
|
495
|
+
colorQuaternaryHover: string;
|
|
496
|
+
colorQuaternaryPressed: string;
|
|
471
497
|
color: string;
|
|
472
498
|
colorHover: string;
|
|
473
499
|
colorPressed: string;
|
|
474
500
|
colorFocus: string;
|
|
475
501
|
colorDisabled: string;
|
|
476
502
|
textColor: string;
|
|
503
|
+
textColorTertiary: string;
|
|
477
504
|
textColorHover: string;
|
|
478
505
|
textColorPressed: string;
|
|
479
506
|
textColorFocus: string;
|
|
480
507
|
textColorDisabled: string;
|
|
481
508
|
textColorText: string;
|
|
482
|
-
textColorTextDepth1: string;
|
|
483
|
-
textColorTextDepth2: string;
|
|
484
|
-
textColorTextDepth3: string;
|
|
485
509
|
textColorTextHover: string;
|
|
486
510
|
textColorTextPressed: string;
|
|
487
511
|
textColorTextFocus: string;
|
|
@@ -628,9 +652,8 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
628
652
|
borderDisabledError: string;
|
|
629
653
|
rippleColorError: string;
|
|
630
654
|
waveOpacity: string;
|
|
631
|
-
fontWeightText: string;
|
|
632
655
|
fontWeight: string;
|
|
633
|
-
|
|
656
|
+
fontWeightStrong: string;
|
|
634
657
|
paddingTiny: string;
|
|
635
658
|
paddingSmall: string;
|
|
636
659
|
paddingMedium: string;
|
|
@@ -746,20 +769,30 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
746
769
|
fontSizeMedium: string;
|
|
747
770
|
fontSizeLarge: string;
|
|
748
771
|
opacityDisabled: string;
|
|
772
|
+
colorOpacitySecondary: number;
|
|
773
|
+
colorOpacitySecondaryHover: number;
|
|
774
|
+
colorOpacitySecondaryPressed: number;
|
|
775
|
+
colorSecondary: string;
|
|
776
|
+
colorSecondaryHover: string;
|
|
777
|
+
colorSecondaryPressed: string;
|
|
778
|
+
colorTertiary: string;
|
|
779
|
+
colorTertiaryHover: string;
|
|
780
|
+
colorTertiaryPressed: string;
|
|
781
|
+
colorQuaternary: string;
|
|
782
|
+
colorQuaternaryHover: string;
|
|
783
|
+
colorQuaternaryPressed: string;
|
|
749
784
|
color: string;
|
|
750
785
|
colorHover: string;
|
|
751
786
|
colorPressed: string;
|
|
752
787
|
colorFocus: string;
|
|
753
788
|
colorDisabled: string;
|
|
754
789
|
textColor: string;
|
|
790
|
+
textColorTertiary: string;
|
|
755
791
|
textColorHover: string;
|
|
756
792
|
textColorPressed: string;
|
|
757
793
|
textColorFocus: string;
|
|
758
794
|
textColorDisabled: string;
|
|
759
795
|
textColorText: string;
|
|
760
|
-
textColorTextDepth1: string;
|
|
761
|
-
textColorTextDepth2: string;
|
|
762
|
-
textColorTextDepth3: string;
|
|
763
796
|
textColorTextHover: string;
|
|
764
797
|
textColorTextPressed: string;
|
|
765
798
|
textColorTextFocus: string;
|
|
@@ -906,9 +939,8 @@ declare function usePanelCommon(props: UsePanelCommonProps): {
|
|
|
906
939
|
borderDisabledError: string;
|
|
907
940
|
rippleColorError: string;
|
|
908
941
|
waveOpacity: string;
|
|
909
|
-
fontWeightText: string;
|
|
910
942
|
fontWeight: string;
|
|
911
|
-
|
|
943
|
+
fontWeightStrong: string;
|
|
912
944
|
paddingTiny: string;
|
|
913
945
|
paddingSmall: string;
|
|
914
946
|
paddingMedium: string;
|
|
@@ -17,10 +17,12 @@ declare const _default: {
|
|
|
17
17
|
calendarLeftPaddingDaterange: string;
|
|
18
18
|
calendarLeftPaddingDatetimerange: string;
|
|
19
19
|
calendarLeftPaddingMonth: string;
|
|
20
|
+
calendarLeftPaddingYear: string;
|
|
20
21
|
calendarRightPaddingDate: string;
|
|
21
22
|
calendarRightPaddingDatetime: string;
|
|
22
23
|
calendarRightPaddingDaterange: string;
|
|
23
24
|
calendarRightPaddingDatetimerange: string;
|
|
24
25
|
calendarRightPaddingMonth: string;
|
|
26
|
+
calendarRightPaddingYear: string;
|
|
25
27
|
};
|
|
26
28
|
export default _default;
|
|
@@ -20,9 +20,11 @@ exports.default = {
|
|
|
20
20
|
calendarLeftPaddingDaterange: '6px 12px 4px 12px',
|
|
21
21
|
calendarLeftPaddingDatetimerange: '4px 12px',
|
|
22
22
|
calendarLeftPaddingMonth: '0',
|
|
23
|
+
calendarLeftPaddingYear: '0',
|
|
23
24
|
calendarRightPaddingDate: '6px 12px 4px 12px',
|
|
24
25
|
calendarRightPaddingDatetime: '4px 12px',
|
|
25
26
|
calendarRightPaddingDaterange: '6px 12px 4px 12px',
|
|
26
27
|
calendarRightPaddingDatetimerange: '4px 12px',
|
|
27
|
-
calendarRightPaddingMonth: '0'
|
|
28
|
+
calendarRightPaddingMonth: '0',
|
|
29
|
+
calendarRightPaddingYear: '0'
|
|
28
30
|
};
|