naive-ui 2.21.5 → 2.23.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/clear/src/styles/index.cssr.js +10 -10
- package/es/_internal/close/src/styles/index.cssr.js +8 -8
- package/es/_internal/icons/Close.js +1 -1
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
- package/es/_internal/scrollbar/src/ScrollBar.js +15 -11
- package/es/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/es/_internal/select-menu/src/SelectMenu.d.ts +21 -21
- package/es/_internal/select-menu/src/SelectMenu.js +21 -21
- package/es/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/es/_internal/select-menu/styles/_common.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +44 -44
- package/es/_internal/selection/src/Selection.js +55 -53
- package/es/_internal/selection/src/styles/index.cssr.js +84 -80
- package/es/_mixins/common.d.ts +1 -0
- package/es/_mixins/common.js +1 -0
- package/es/_mixins/index.d.ts +1 -0
- package/es/_mixins/index.js +1 -0
- package/es/_mixins/use-css-vars-class.d.ts +2 -0
- package/es/_mixins/use-css-vars-class.js +22 -0
- package/es/_mixins/use-rtl.js +2 -0
- package/es/_mixins/use-style.js +3 -0
- package/es/_mixins/use-theme.js +3 -0
- package/es/_utils/composable/use-houdini.js +12 -9
- package/es/alert/src/Alert.d.ts +22 -22
- package/es/alert/src/Alert.js +22 -22
- package/es/alert/src/styles/index.cssr.js +45 -45
- package/es/anchor/src/AnchorAdapter.js +12 -12
- package/es/anchor/src/styles/index.cssr.js +41 -41
- package/es/auto-complete/src/AutoComplete.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/auto-complete/src/styles/index.cssr.js +4 -4
- package/es/avatar/index.d.ts +2 -0
- package/es/avatar/index.js +1 -0
- package/es/avatar/src/Avatar.d.ts +77 -36
- package/es/avatar/src/Avatar.js +46 -16
- package/es/avatar/src/AvatarGroup.d.ts +52 -0
- package/es/avatar/src/AvatarGroup.js +61 -0
- package/es/avatar/src/interface.d.ts +2 -0
- package/es/avatar/src/interface.js +1 -0
- package/es/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/es/avatar/src/styles/avatar-group.cssr.js +14 -0
- package/es/avatar/src/styles/index.cssr.js +21 -18
- package/es/avatar/styles/light.d.ts +3 -0
- package/es/avatar/styles/light.js +6 -2
- package/es/back-top/src/BackTop.d.ts +13 -13
- package/es/back-top/src/BackTop.js +13 -13
- package/es/back-top/src/styles/index.cssr.js +29 -29
- package/es/badge/src/Badge.d.ts +6 -6
- package/es/badge/src/Badge.js +6 -6
- package/es/badge/src/styles/index.cssr.js +15 -15
- package/es/breadcrumb/src/Breadcrumb.d.ts +8 -8
- package/es/breadcrumb/src/Breadcrumb.js +8 -8
- package/es/breadcrumb/src/styles/index.cssr.js +23 -23
- package/es/button/src/Button.d.ts +43 -38
- package/es/button/src/Button.js +124 -116
- package/es/button/src/styles/button.cssr.js +83 -80
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +23 -21
- package/es/calendar/src/Calendar.js +21 -21
- package/es/calendar/src/styles/index.cssr.js +57 -57
- package/es/card/src/Card.d.ts +28 -23
- package/es/card/src/Card.js +24 -23
- package/es/card/src/styles/index.cssr.js +71 -69
- package/es/carousel/src/Carousel.d.ts +5 -5
- package/es/carousel/src/Carousel.js +5 -5
- package/es/carousel/src/styles/index.cssr.js +10 -10
- package/es/cascader/src/Cascader.d.ts +160 -17
- package/es/cascader/src/Cascader.js +32 -24
- package/es/cascader/src/CascaderMenu.d.ts +345 -0
- package/es/cascader/src/CascaderMenu.js +7 -6
- package/es/cascader/src/CascaderOption.d.ts +18 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/es/cascader/src/styles/index.cssr.js +44 -44
- package/es/cascader/styles/dark.js +3 -1
- package/es/cascader/styles/light.d.ts +13 -0
- package/es/cascader/styles/light.js +4 -2
- package/es/checkbox/src/Checkbox.d.ts +23 -23
- package/es/checkbox/src/Checkbox.js +23 -23
- package/es/checkbox/src/styles/index.cssr.js +58 -58
- package/es/code/src/Code.d.ts +14 -14
- package/es/code/src/Code.js +26 -17
- package/es/code/src/styles/index.cssr.js +28 -28
- package/es/collapse/src/Collapse.d.ts +8 -8
- package/es/collapse/src/Collapse.js +8 -8
- package/es/collapse/src/styles/index.cssr.js +24 -24
- package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.js +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +10 -10
- package/es/color-picker/src/ColorPicker.js +10 -10
- package/es/color-picker/src/styles/index.cssr.js +28 -28
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/config-provider/src/ConfigProvider.d.ts +6 -0
- package/es/countdown/index.d.ts +2 -0
- package/es/countdown/index.js +1 -0
- package/es/countdown/src/Countdown.d.ts +72 -0
- package/es/countdown/src/Countdown.js +126 -0
- package/es/countdown/src/utils.d.ts +0 -0
- package/es/countdown/src/utils.js +1 -0
- package/es/data-table/src/DataTable.d.ts +39 -39
- package/es/data-table/src/DataTable.js +49 -55
- package/es/data-table/src/MainTable.js +2 -3
- package/es/data-table/src/TableParts/Body.d.ts +15 -4
- package/es/data-table/src/TableParts/Body.js +82 -28
- package/es/data-table/src/TableParts/Cell.js +2 -3
- package/es/data-table/src/TableParts/Header.js +2 -2
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +133 -132
- package/es/data-table/src/use-check.js +6 -2
- package/es/data-table/src/use-scroll.d.ts +2 -0
- package/es/data-table/src/use-scroll.js +34 -4
- package/es/data-table/src/use-table-data.js +3 -1
- package/es/data-table/styles/_common.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +70 -46
- package/es/date-picker/src/DatePicker.js +61 -52
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/interface.d.ts +2 -1
- package/es/date-picker/src/panel/date.d.ts +13 -10
- package/es/date-picker/src/panel/date.js +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +11 -9
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +13 -16
- package/es/date-picker/src/panel/datetime.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +11 -9
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.d.ts +17 -20
- package/es/date-picker/src/panel/month.js +23 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +13 -39
- package/es/date-picker/src/panel/use-calendar.js +41 -23
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
- package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
- package/es/date-picker/src/panel/use-panel-common.d.ts +9 -32
- package/es/date-picker/src/panel/use-panel-common.js +4 -8
- package/es/date-picker/src/styles/index.cssr.js +115 -115
- package/es/date-picker/src/utils.d.ts +19 -3
- package/es/date-picker/src/utils.js +40 -5
- 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 +4 -0
- package/es/descriptions/src/Descriptions.d.ts +18 -18
- package/es/descriptions/src/Descriptions.js +19 -20
- package/es/descriptions/src/styles/index.cssr.js +61 -61
- package/es/dialog/src/Dialog.d.ts +24 -24
- package/es/dialog/src/Dialog.js +22 -22
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +1 -1
- package/es/dialog/src/styles/index.cssr.js +45 -45
- package/es/divider/src/Divider.d.ts +4 -4
- package/es/divider/src/Divider.js +4 -4
- package/es/divider/src/styles/index.cssr.js +12 -12
- package/es/drawer/src/Drawer.d.ts +19 -19
- package/es/drawer/src/Drawer.js +19 -19
- package/es/drawer/src/styles/index.cssr.js +41 -40
- package/es/dropdown/src/Dropdown.js +34 -32
- package/es/dropdown/src/styles/index.cssr.js +59 -59
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/es/empty/src/Empty.d.ts +19 -15
- package/es/empty/src/Empty.js +12 -12
- package/es/empty/src/styles/index.cssr.js +20 -19
- package/es/form/src/Form.d.ts +27 -27
- package/es/form/src/FormItem.d.ts +42 -42
- package/es/form/src/FormItem.js +15 -15
- package/es/form/src/FormItemCol.d.ts +33 -27
- package/es/form/src/FormItemCol.js +1 -0
- package/es/form/src/FormItemGridItem.d.ts +33 -27
- package/es/form/src/FormItemGridItem.js +1 -0
- package/es/form/src/FormItemRow.d.ts +33 -27
- package/es/form/src/FormItemRow.js +1 -0
- package/es/form/src/styles/form-item.cssr.js +37 -37
- package/es/form/styles/_common.d.ts +0 -3
- package/es/form/styles/_common.js +0 -3
- package/es/form/styles/light.d.ts +3 -3
- package/es/form/styles/light.js +2 -2
- package/es/gradient-text/src/GradientText.d.ts +5 -5
- package/es/gradient-text/src/GradientText.js +5 -5
- package/es/gradient-text/src/styles/index.cssr.js +9 -9
- package/es/icon/src/Icon.d.ts +6 -6
- package/es/icon/src/Icon.js +4 -4
- package/es/icon/src/styles/index.cssr.js +7 -7
- package/es/image/src/Image.js +8 -12
- package/es/image/src/ImagePreview.d.ts +2 -2
- package/es/image/src/ImagePreview.js +13 -12
- package/es/image/src/styles/index.cssr.js +5 -5
- package/es/input/src/Input.d.ts +52 -47
- package/es/input/src/Input.js +54 -49
- package/es/input/src/InputGroupLabel.d.ts +8 -8
- package/es/input/src/InputGroupLabel.js +8 -8
- package/es/input/src/styles/input-group-label.cssr.js +18 -18
- package/es/input/src/styles/input.cssr.js +108 -109
- package/es/input-number/src/InputNumber.d.ts +11 -0
- package/es/input-number/src/InputNumber.js +5 -2
- package/es/input-number/src/utils.js +2 -1
- package/es/layout/src/Layout.d.ts +6 -6
- package/es/layout/src/Layout.js +3 -3
- package/es/layout/src/LayoutContent.d.ts +3 -3
- package/es/layout/src/LayoutFooter.js +7 -7
- package/es/layout/src/LayoutHeader.js +7 -7
- package/es/layout/src/LayoutSider.js +13 -13
- package/es/layout/src/styles/layout-footer.cssr.js +11 -11
- package/es/layout/src/styles/layout-header.cssr.js +11 -11
- package/es/layout/src/styles/layout-sider.cssr.js +32 -32
- package/es/layout/src/styles/layout.cssr.js +8 -8
- package/es/list/src/List.d.ts +10 -10
- package/es/list/src/List.js +10 -10
- package/es/list/src/styles/index.cssr.js +30 -30
- package/es/loading-bar/src/LoadingBar.d.ts +3 -3
- package/es/loading-bar/src/LoadingBar.js +3 -3
- package/es/loading-bar/src/styles/index.cssr.js +7 -7
- package/es/locales/common/deDE.js +2 -0
- package/es/locales/common/enUS.d.ts +2 -0
- package/es/locales/common/enUS.js +2 -0
- package/es/locales/common/frFR.js +7 -5
- package/es/locales/common/idID.js +2 -0
- package/es/locales/common/jaJP.js +2 -0
- package/es/locales/common/nbNO.js +2 -0
- package/es/locales/common/ruRU.js +2 -0
- package/es/locales/common/ukUA.js +2 -0
- package/es/locales/common/zhCN.js +2 -0
- package/es/locales/common/zhTW.d.ts +3 -0
- package/es/locales/common/zhTW.js +100 -0
- package/es/locales/date/zhTW.d.ts +3 -0
- package/es/locales/date/zhTW.js +6 -0
- package/es/locales/index.d.ts +2 -0
- package/es/locales/index.js +2 -0
- package/es/log/src/Log.d.ts +6 -6
- package/es/log/src/Log.js +6 -6
- package/es/log/src/styles/index.cssr.js +16 -18
- package/es/mention/src/Mention.d.ts +1 -1
- package/es/mention/src/Mention.js +1 -1
- package/es/mention/src/styles/index.cssr.js +2 -2
- package/es/menu/src/Menu.js +43 -40
- package/es/menu/src/styles/index.cssr.js +71 -71
- package/es/message/src/Message.d.ts +22 -22
- package/es/message/src/Message.js +22 -22
- package/es/message/src/styles/index.cssr.js +48 -48
- package/es/modal/src/BodyWrapper.d.ts +11 -2
- package/es/modal/src/BodyWrapper.js +23 -17
- package/es/modal/src/Modal.d.ts +14 -8
- package/es/modal/src/Modal.js +13 -7
- package/es/modal/src/presetProps.d.ts +2 -1
- package/es/modal/src/styles/index.cssr.js +8 -8
- package/es/notification/src/Notification.d.ts +24 -24
- package/es/notification/src/Notification.js +24 -24
- package/es/notification/src/styles/index.cssr.js +65 -65
- package/es/number-animation/index.d.ts +3 -0
- package/es/number-animation/index.js +1 -0
- package/es/number-animation/src/NumberAnimation.d.ts +79 -0
- package/es/number-animation/src/NumberAnimation.js +81 -0
- package/es/number-animation/src/utils.d.ts +8 -0
- package/es/number-animation/src/utils.js +17 -0
- package/es/page-header/src/PageHeader.d.ts +10 -10
- package/es/page-header/src/PageHeader.js +13 -13
- package/es/page-header/src/styles/index.cssr.js +25 -27
- package/es/pagination/src/Pagination.d.ts +42 -41
- package/es/pagination/src/Pagination.js +52 -45
- package/es/pagination/src/styles/index.cssr.js +81 -81
- package/es/popconfirm/src/Popconfirm.d.ts +2 -2
- package/es/popconfirm/src/PopconfirmPanel.d.ts +4 -4
- package/es/popconfirm/src/PopconfirmPanel.js +4 -4
- package/es/popconfirm/src/styles/index.cssr.js +8 -8
- package/es/popover/src/Popover.js +4 -1
- package/es/popover/src/PopoverBody.js +18 -18
- package/es/popover/src/styles/index.cssr.js +62 -62
- package/es/popselect/src/Popselect.d.ts +2 -11
- package/es/popselect/src/Popselect.js +2 -2
- package/es/popselect/src/PopselectPanel.d.ts +3 -11
- package/es/popselect/src/PopselectPanel.js +17 -11
- package/es/progress/src/Progress.d.ts +14 -14
- package/es/progress/src/Progress.js +14 -14
- package/es/progress/src/styles/index.cssr.js +53 -53
- package/es/radio/src/Radio.d.ts +15 -15
- package/es/radio/src/Radio.js +18 -18
- package/es/radio/src/RadioButton.js +4 -5
- package/es/radio/src/RadioGroup.d.ts +14 -14
- package/es/radio/src/RadioGroup.js +14 -14
- package/es/radio/src/styles/radio-group.cssr.js +51 -47
- package/es/radio/src/styles/radio.cssr.js +44 -40
- package/es/radio/src/use-radio.d.ts +0 -3
- package/es/radio/src/use-radio.js +1 -26
- package/es/rate/src/Rate.d.ts +4 -4
- package/es/rate/src/Rate.js +4 -4
- package/es/rate/src/styles/index.cssr.js +11 -11
- package/es/result/src/Result.d.ts +9 -9
- package/es/result/src/Result.js +9 -9
- package/es/result/src/styles/index.cssr.js +20 -20
- package/es/select/src/Select.d.ts +1 -1
- package/es/select/src/Select.js +1 -1
- package/es/select/src/styles/index.cssr.js +2 -2
- package/es/skeleton/src/Skeleton.d.ts +3 -3
- package/es/skeleton/src/Skeleton.js +3 -3
- package/es/skeleton/src/styles/index.cssr.js +12 -12
- package/es/slider/src/Slider.d.ts +29 -29
- package/es/slider/src/Slider.js +29 -29
- package/es/slider/src/styles/index.cssr.js +87 -87
- package/es/spin/src/Spin.d.ts +5 -5
- package/es/spin/src/Spin.js +5 -5
- package/es/spin/src/styles/index.cssr.js +15 -15
- package/es/statistic/src/Statistic.d.ts +25 -45
- package/es/statistic/src/Statistic.js +12 -19
- package/es/statistic/src/styles/index.cssr.js +19 -19
- package/es/steps/src/Step.d.ts +12 -12
- package/es/steps/src/Step.js +12 -12
- package/es/steps/src/styles/index.cssr.js +46 -46
- package/es/switch/src/Switch.d.ts +19 -19
- package/es/switch/src/Switch.js +26 -19
- package/es/switch/src/styles/index.cssr.js +59 -57
- package/es/table/src/Table.d.ts +21 -21
- package/es/table/src/Table.js +21 -21
- package/es/table/src/styles/index.cssr.js +55 -55
- package/es/tabs/src/styles/index.cssr.js +5 -1
- package/es/tabs/styles/light.js +1 -1
- package/es/tag/src/Tag.d.ts +27 -26
- package/es/tag/src/Tag.js +27 -26
- package/es/tag/src/styles/index.cssr.js +55 -55
- package/es/tag/src/styles/rtl.cssr.js +1 -1
- package/es/thing/src/Thing.js +5 -5
- package/es/thing/src/styles/index.cssr.js +11 -11
- package/es/time-picker/src/TimePicker.d.ts +19 -19
- package/es/time-picker/src/TimePicker.js +17 -17
- package/es/time-picker/src/styles/index.cssr.js +47 -47
- package/es/timeline/src/TimelineItem.d.ts +12 -12
- package/es/timeline/src/TimelineItem.js +12 -12
- package/es/timeline/src/styles/index.cssr.js +44 -44
- package/es/transfer/src/Transfer.d.ts +21 -21
- package/es/transfer/src/Transfer.js +21 -21
- package/es/transfer/src/TransferList.js +5 -7
- package/es/transfer/src/styles/index.cssr.js +47 -42
- package/es/tree/src/Tree.d.ts +11 -11
- package/es/tree/src/Tree.js +11 -11
- package/es/tree/src/dnd.js +2 -2
- package/es/tree/src/styles/index.cssr.js +33 -33
- package/es/tree-select/src/TreeSelect.d.ts +43 -6
- package/es/tree-select/src/TreeSelect.js +29 -14
- package/es/tree-select/src/styles/index.cssr.js +20 -11
- package/es/tree-select/styles/light.d.ts +6 -0
- package/es/tree-select/styles/light.js +5 -2
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/a.js +2 -2
- package/es/typography/src/blockquote.d.ts +5 -5
- package/es/typography/src/blockquote.js +5 -5
- package/es/typography/src/create-header.d.ts +8 -8
- package/es/typography/src/create-header.js +8 -8
- package/es/typography/src/headers.d.ts +48 -48
- package/es/typography/src/hr.d.ts +2 -1
- package/es/typography/src/hr.js +3 -1
- package/es/typography/src/ol.d.ts +7 -7
- package/es/typography/src/ol.js +7 -7
- package/es/typography/src/p.d.ts +5 -5
- package/es/typography/src/p.js +5 -5
- package/es/typography/src/styles/a.cssr.js +6 -6
- package/es/typography/src/styles/blockquote.cssr.js +11 -11
- package/es/typography/src/styles/header.cssr.js +19 -19
- package/es/typography/src/styles/hr.cssr.js +3 -3
- package/es/typography/src/styles/list.cssr.js +15 -15
- package/es/typography/src/styles/p.cssr.js +10 -10
- package/es/typography/src/styles/text.cssr.js +18 -18
- package/es/typography/src/text.d.ts +8 -7
- package/es/typography/src/text.js +9 -8
- package/es/typography/src/ul.d.ts +7 -7
- package/es/typography/src/ul.js +7 -7
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/upload/src/Upload.js +16 -16
- package/es/upload/src/styles/index.cssr.js +36 -36
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/styles/index.cssr.js +10 -10
- package/lib/_internal/close/src/styles/index.cssr.js +8 -8
- package/lib/_internal/icons/Close.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +10 -6
- package/lib/_internal/scrollbar/src/ScrollBar.js +15 -11
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +15 -15
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +21 -21
- package/lib/_internal/select-menu/src/SelectMenu.js +21 -21
- package/lib/_internal/select-menu/src/styles/index.cssr.js +35 -35
- package/lib/_internal/select-menu/styles/_common.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +44 -44
- package/lib/_internal/selection/src/Selection.js +55 -53
- package/lib/_internal/selection/src/styles/index.cssr.js +84 -80
- package/lib/_mixins/common.d.ts +1 -0
- package/lib/_mixins/common.js +4 -0
- package/lib/_mixins/index.d.ts +1 -0
- package/lib/_mixins/index.js +3 -1
- package/lib/_mixins/use-css-vars-class.d.ts +2 -0
- package/lib/_mixins/use-css-vars-class.js +29 -0
- package/lib/_mixins/use-rtl.js +2 -0
- package/lib/_mixins/use-style.js +3 -0
- package/lib/_mixins/use-theme.js +3 -0
- package/lib/_utils/composable/use-houdini.js +12 -9
- package/lib/alert/src/Alert.d.ts +22 -22
- package/lib/alert/src/Alert.js +22 -22
- package/lib/alert/src/styles/index.cssr.js +45 -45
- package/lib/anchor/src/AnchorAdapter.js +12 -12
- package/lib/anchor/src/styles/index.cssr.js +41 -41
- package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/auto-complete/src/styles/index.cssr.js +4 -4
- package/lib/avatar/index.d.ts +2 -0
- package/lib/avatar/index.js +3 -1
- package/lib/avatar/src/Avatar.d.ts +77 -36
- package/lib/avatar/src/Avatar.js +48 -17
- package/lib/avatar/src/AvatarGroup.d.ts +52 -0
- package/lib/avatar/src/AvatarGroup.js +67 -0
- package/lib/avatar/src/interface.d.ts +2 -0
- package/lib/avatar/src/interface.js +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.d.ts +2 -0
- package/lib/avatar/src/styles/avatar-group.cssr.js +21 -0
- package/lib/avatar/src/styles/index.cssr.js +20 -17
- package/lib/avatar/styles/light.d.ts +3 -0
- package/lib/avatar/styles/light.js +6 -2
- package/lib/back-top/src/BackTop.d.ts +13 -13
- package/lib/back-top/src/BackTop.js +13 -13
- package/lib/back-top/src/styles/index.cssr.js +29 -29
- package/lib/badge/src/Badge.d.ts +6 -6
- package/lib/badge/src/Badge.js +6 -6
- package/lib/badge/src/styles/index.cssr.js +15 -15
- package/lib/breadcrumb/src/Breadcrumb.d.ts +8 -8
- package/lib/breadcrumb/src/Breadcrumb.js +8 -8
- package/lib/breadcrumb/src/styles/index.cssr.js +23 -23
- package/lib/button/src/Button.d.ts +43 -38
- package/lib/button/src/Button.js +123 -115
- package/lib/button/src/styles/button.cssr.js +83 -80
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +23 -21
- package/lib/calendar/src/Calendar.js +21 -21
- package/lib/calendar/src/styles/index.cssr.js +57 -57
- package/lib/card/src/Card.d.ts +28 -23
- package/lib/card/src/Card.js +24 -23
- package/lib/card/src/styles/index.cssr.js +71 -69
- package/lib/carousel/src/Carousel.d.ts +5 -5
- package/lib/carousel/src/Carousel.js +5 -5
- package/lib/carousel/src/styles/index.cssr.js +10 -10
- package/lib/cascader/src/Cascader.d.ts +160 -17
- package/lib/cascader/src/Cascader.js +32 -24
- package/lib/cascader/src/CascaderMenu.d.ts +345 -0
- package/lib/cascader/src/CascaderMenu.js +7 -6
- package/lib/cascader/src/CascaderOption.d.ts +18 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/lib/cascader/src/styles/index.cssr.js +44 -44
- package/lib/cascader/styles/dark.js +3 -1
- package/lib/cascader/styles/light.d.ts +13 -0
- package/lib/cascader/styles/light.js +4 -2
- package/lib/checkbox/src/Checkbox.d.ts +23 -23
- package/lib/checkbox/src/Checkbox.js +23 -23
- package/lib/checkbox/src/styles/index.cssr.js +58 -58
- package/lib/code/src/Code.d.ts +14 -14
- package/lib/code/src/Code.js +26 -17
- package/lib/code/src/styles/index.cssr.js +28 -28
- package/lib/collapse/src/Collapse.d.ts +8 -8
- package/lib/collapse/src/Collapse.js +8 -8
- package/lib/collapse/src/styles/index.cssr.js +24 -24
- package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.js +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +10 -10
- package/lib/color-picker/src/ColorPicker.js +10 -10
- package/lib/color-picker/src/styles/index.cssr.js +28 -28
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +6 -0
- package/lib/countdown/index.d.ts +2 -0
- package/lib/countdown/index.js +8 -0
- package/lib/countdown/src/Countdown.d.ts +72 -0
- package/lib/countdown/src/Countdown.js +128 -0
- package/lib/countdown/src/utils.d.ts +0 -0
- package/lib/countdown/src/utils.js +1 -0
- package/lib/data-table/src/DataTable.d.ts +39 -39
- package/lib/data-table/src/DataTable.js +48 -54
- package/lib/data-table/src/MainTable.js +1 -2
- package/lib/data-table/src/TableParts/Body.d.ts +15 -4
- package/lib/data-table/src/TableParts/Body.js +80 -26
- package/lib/data-table/src/TableParts/Cell.js +2 -3
- package/lib/data-table/src/TableParts/Header.js +2 -2
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +133 -132
- package/lib/data-table/src/use-check.js +6 -2
- package/lib/data-table/src/use-scroll.d.ts +2 -0
- package/lib/data-table/src/use-scroll.js +34 -4
- package/lib/data-table/src/use-table-data.js +3 -1
- package/lib/data-table/styles/_common.js +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +70 -46
- package/lib/date-picker/src/DatePicker.js +61 -52
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/interface.d.ts +2 -1
- package/lib/date-picker/src/panel/date.d.ts +13 -10
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +11 -9
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +13 -16
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +11 -9
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +17 -20
- package/lib/date-picker/src/panel/month.js +23 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +13 -39
- package/lib/date-picker/src/panel/use-calendar.js +40 -21
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +9 -36
- package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
- package/lib/date-picker/src/panel/use-panel-common.d.ts +9 -32
- package/lib/date-picker/src/panel/use-panel-common.js +5 -8
- package/lib/date-picker/src/styles/index.cssr.js +115 -115
- package/lib/date-picker/src/utils.d.ts +19 -3
- package/lib/date-picker/src/utils.js +41 -4
- 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 +4 -0
- package/lib/descriptions/src/Descriptions.d.ts +18 -18
- package/lib/descriptions/src/Descriptions.js +19 -20
- package/lib/descriptions/src/styles/index.cssr.js +61 -61
- package/lib/dialog/src/Dialog.d.ts +24 -24
- package/lib/dialog/src/Dialog.js +22 -22
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +1 -1
- package/lib/dialog/src/styles/index.cssr.js +45 -45
- package/lib/divider/src/Divider.d.ts +4 -4
- package/lib/divider/src/Divider.js +4 -4
- package/lib/divider/src/styles/index.cssr.js +12 -12
- package/lib/drawer/src/Drawer.d.ts +19 -19
- package/lib/drawer/src/Drawer.js +19 -19
- package/lib/drawer/src/styles/index.cssr.js +41 -40
- package/lib/dropdown/src/Dropdown.js +34 -32
- package/lib/dropdown/src/styles/index.cssr.js +59 -59
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/lib/empty/src/Empty.d.ts +19 -15
- package/lib/empty/src/Empty.js +12 -12
- package/lib/empty/src/styles/index.cssr.js +19 -18
- package/lib/form/src/Form.d.ts +27 -27
- package/lib/form/src/FormItem.d.ts +42 -42
- package/lib/form/src/FormItem.js +15 -15
- package/lib/form/src/FormItemCol.d.ts +33 -27
- package/lib/form/src/FormItemCol.js +1 -0
- package/lib/form/src/FormItemGridItem.d.ts +33 -27
- package/lib/form/src/FormItemGridItem.js +1 -0
- package/lib/form/src/FormItemRow.d.ts +33 -27
- package/lib/form/src/FormItemRow.js +1 -0
- package/lib/form/src/styles/form-item.cssr.js +37 -37
- package/lib/form/styles/_common.d.ts +0 -3
- package/lib/form/styles/_common.js +0 -3
- package/lib/form/styles/light.d.ts +3 -3
- package/lib/form/styles/light.js +2 -2
- package/lib/gradient-text/src/GradientText.d.ts +5 -5
- package/lib/gradient-text/src/GradientText.js +5 -5
- package/lib/gradient-text/src/styles/index.cssr.js +9 -9
- package/lib/icon/src/Icon.d.ts +6 -6
- package/lib/icon/src/Icon.js +4 -4
- package/lib/icon/src/styles/index.cssr.js +7 -7
- package/lib/image/src/Image.js +7 -11
- package/lib/image/src/ImagePreview.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +12 -11
- package/lib/image/src/styles/index.cssr.js +5 -5
- package/lib/input/src/Input.d.ts +52 -47
- package/lib/input/src/Input.js +54 -49
- package/lib/input/src/InputGroupLabel.d.ts +8 -8
- package/lib/input/src/InputGroupLabel.js +8 -8
- package/lib/input/src/styles/input-group-label.cssr.js +18 -18
- package/lib/input/src/styles/input.cssr.js +108 -109
- package/lib/input-number/src/InputNumber.d.ts +11 -0
- package/lib/input-number/src/InputNumber.js +5 -2
- package/lib/input-number/src/utils.js +2 -1
- package/lib/layout/src/Layout.d.ts +6 -6
- package/lib/layout/src/Layout.js +3 -3
- package/lib/layout/src/LayoutContent.d.ts +3 -3
- package/lib/layout/src/LayoutFooter.js +7 -7
- package/lib/layout/src/LayoutHeader.js +7 -7
- package/lib/layout/src/LayoutSider.js +13 -13
- package/lib/layout/src/styles/layout-footer.cssr.js +11 -11
- package/lib/layout/src/styles/layout-header.cssr.js +11 -11
- package/lib/layout/src/styles/layout-sider.cssr.js +32 -32
- package/lib/layout/src/styles/layout.cssr.js +8 -8
- package/lib/list/src/List.d.ts +10 -10
- package/lib/list/src/List.js +10 -10
- package/lib/list/src/styles/index.cssr.js +30 -30
- package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
- package/lib/loading-bar/src/LoadingBar.js +3 -3
- package/lib/loading-bar/src/styles/index.cssr.js +7 -7
- package/lib/locales/common/deDE.js +2 -0
- package/lib/locales/common/enUS.d.ts +2 -0
- package/lib/locales/common/enUS.js +2 -0
- package/lib/locales/common/frFR.js +7 -5
- package/lib/locales/common/idID.js +2 -0
- package/lib/locales/common/jaJP.js +2 -0
- package/lib/locales/common/nbNO.js +2 -0
- package/lib/locales/common/ruRU.js +2 -0
- package/lib/locales/common/ukUA.js +2 -0
- package/lib/locales/common/zhCN.js +2 -0
- package/lib/locales/common/zhTW.d.ts +3 -0
- package/lib/locales/common/zhTW.js +102 -0
- package/lib/locales/date/zhTW.d.ts +3 -0
- package/lib/locales/date/zhTW.js +11 -0
- package/lib/locales/index.d.ts +2 -0
- package/lib/locales/index.js +5 -1
- package/lib/log/src/Log.d.ts +6 -6
- package/lib/log/src/Log.js +6 -6
- package/lib/log/src/styles/index.cssr.js +16 -18
- package/lib/mention/src/Mention.d.ts +1 -1
- package/lib/mention/src/Mention.js +1 -1
- package/lib/mention/src/styles/index.cssr.js +2 -2
- package/lib/menu/src/Menu.js +43 -40
- package/lib/menu/src/styles/index.cssr.js +71 -71
- package/lib/message/src/Message.d.ts +22 -22
- package/lib/message/src/Message.js +22 -22
- package/lib/message/src/styles/index.cssr.js +48 -48
- package/lib/modal/src/BodyWrapper.d.ts +11 -2
- package/lib/modal/src/BodyWrapper.js +23 -17
- package/lib/modal/src/Modal.d.ts +14 -8
- package/lib/modal/src/Modal.js +13 -7
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/styles/index.cssr.js +8 -8
- package/lib/notification/src/Notification.d.ts +24 -24
- package/lib/notification/src/Notification.js +24 -24
- package/lib/notification/src/styles/index.cssr.js +65 -65
- package/lib/number-animation/index.d.ts +3 -0
- package/lib/number-animation/index.js +8 -0
- package/lib/number-animation/src/NumberAnimation.d.ts +79 -0
- package/lib/number-animation/src/NumberAnimation.js +83 -0
- package/lib/number-animation/src/utils.d.ts +8 -0
- package/lib/number-animation/src/utils.js +21 -0
- package/lib/page-header/src/PageHeader.d.ts +10 -10
- package/lib/page-header/src/PageHeader.js +13 -13
- package/lib/page-header/src/styles/index.cssr.js +25 -27
- package/lib/pagination/src/Pagination.d.ts +42 -41
- package/lib/pagination/src/Pagination.js +52 -45
- package/lib/pagination/src/styles/index.cssr.js +81 -81
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -2
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +4 -4
- package/lib/popconfirm/src/PopconfirmPanel.js +4 -4
- package/lib/popconfirm/src/styles/index.cssr.js +8 -8
- package/lib/popover/src/Popover.js +4 -1
- package/lib/popover/src/PopoverBody.js +18 -18
- package/lib/popover/src/styles/index.cssr.js +62 -62
- package/lib/popselect/src/Popselect.d.ts +2 -11
- package/lib/popselect/src/Popselect.js +2 -2
- package/lib/popselect/src/PopselectPanel.d.ts +3 -11
- package/lib/popselect/src/PopselectPanel.js +16 -10
- package/lib/progress/src/Progress.d.ts +14 -14
- package/lib/progress/src/Progress.js +14 -14
- package/lib/progress/src/styles/index.cssr.js +53 -53
- package/lib/radio/src/Radio.d.ts +15 -15
- package/lib/radio/src/Radio.js +18 -18
- package/lib/radio/src/RadioButton.js +4 -5
- package/lib/radio/src/RadioGroup.d.ts +14 -14
- package/lib/radio/src/RadioGroup.js +14 -14
- package/lib/radio/src/styles/radio-group.cssr.js +51 -47
- package/lib/radio/src/styles/radio.cssr.js +44 -40
- package/lib/radio/src/use-radio.d.ts +0 -3
- package/lib/radio/src/use-radio.js +1 -26
- package/lib/rate/src/Rate.d.ts +4 -4
- package/lib/rate/src/Rate.js +4 -4
- package/lib/rate/src/styles/index.cssr.js +11 -11
- package/lib/result/src/Result.d.ts +9 -9
- package/lib/result/src/Result.js +9 -9
- package/lib/result/src/styles/index.cssr.js +20 -20
- package/lib/select/src/Select.d.ts +1 -1
- package/lib/select/src/Select.js +1 -1
- package/lib/select/src/styles/index.cssr.js +2 -2
- package/lib/skeleton/src/Skeleton.d.ts +3 -3
- package/lib/skeleton/src/Skeleton.js +3 -3
- package/lib/skeleton/src/styles/index.cssr.js +12 -12
- package/lib/slider/src/Slider.d.ts +29 -29
- package/lib/slider/src/Slider.js +29 -29
- package/lib/slider/src/styles/index.cssr.js +87 -87
- package/lib/spin/src/Spin.d.ts +5 -5
- package/lib/spin/src/Spin.js +5 -5
- package/lib/spin/src/styles/index.cssr.js +15 -15
- package/lib/statistic/src/Statistic.d.ts +25 -45
- package/lib/statistic/src/Statistic.js +12 -19
- package/lib/statistic/src/styles/index.cssr.js +19 -19
- package/lib/steps/src/Step.d.ts +12 -12
- package/lib/steps/src/Step.js +12 -12
- package/lib/steps/src/styles/index.cssr.js +46 -46
- package/lib/switch/src/Switch.d.ts +19 -19
- package/lib/switch/src/Switch.js +26 -19
- package/lib/switch/src/styles/index.cssr.js +59 -57
- package/lib/table/src/Table.d.ts +21 -21
- package/lib/table/src/Table.js +21 -21
- package/lib/table/src/styles/index.cssr.js +55 -55
- package/lib/tabs/src/styles/index.cssr.js +5 -1
- package/lib/tabs/styles/light.js +1 -1
- package/lib/tag/src/Tag.d.ts +27 -26
- package/lib/tag/src/Tag.js +27 -26
- package/lib/tag/src/styles/index.cssr.js +55 -55
- package/lib/tag/src/styles/rtl.cssr.js +1 -1
- package/lib/thing/src/Thing.js +5 -5
- package/lib/thing/src/styles/index.cssr.js +11 -11
- package/lib/time-picker/src/TimePicker.d.ts +19 -19
- package/lib/time-picker/src/TimePicker.js +17 -17
- package/lib/time-picker/src/styles/index.cssr.js +47 -47
- package/lib/timeline/src/TimelineItem.d.ts +12 -12
- package/lib/timeline/src/TimelineItem.js +12 -12
- package/lib/timeline/src/styles/index.cssr.js +44 -44
- package/lib/transfer/src/Transfer.d.ts +21 -21
- package/lib/transfer/src/Transfer.js +21 -21
- package/lib/transfer/src/TransferList.js +5 -7
- package/lib/transfer/src/styles/index.cssr.js +47 -42
- package/lib/tree/src/Tree.d.ts +11 -11
- package/lib/tree/src/Tree.js +11 -11
- package/lib/tree/src/dnd.js +2 -2
- package/lib/tree/src/styles/index.cssr.js +33 -33
- package/lib/tree-select/src/TreeSelect.d.ts +43 -6
- package/lib/tree-select/src/TreeSelect.js +28 -13
- package/lib/tree-select/src/styles/index.cssr.js +20 -11
- package/lib/tree-select/styles/light.d.ts +6 -0
- package/lib/tree-select/styles/light.js +5 -2
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/a.js +2 -2
- package/lib/typography/src/blockquote.d.ts +5 -5
- package/lib/typography/src/blockquote.js +5 -5
- package/lib/typography/src/create-header.d.ts +8 -8
- package/lib/typography/src/create-header.js +8 -8
- package/lib/typography/src/headers.d.ts +48 -48
- package/lib/typography/src/hr.d.ts +2 -1
- package/lib/typography/src/hr.js +3 -1
- package/lib/typography/src/ol.d.ts +7 -7
- package/lib/typography/src/ol.js +7 -7
- package/lib/typography/src/p.d.ts +5 -5
- package/lib/typography/src/p.js +5 -5
- package/lib/typography/src/styles/a.cssr.js +6 -6
- package/lib/typography/src/styles/blockquote.cssr.js +11 -11
- package/lib/typography/src/styles/header.cssr.js +19 -19
- package/lib/typography/src/styles/hr.cssr.js +3 -3
- package/lib/typography/src/styles/list.cssr.js +15 -15
- package/lib/typography/src/styles/p.cssr.js +10 -10
- package/lib/typography/src/styles/text.cssr.js +18 -18
- package/lib/typography/src/text.d.ts +8 -7
- package/lib/typography/src/text.js +9 -8
- package/lib/typography/src/ul.d.ts +7 -7
- package/lib/typography/src/ul.js +7 -7
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/upload/src/Upload.js +16 -16
- package/lib/upload/src/styles/index.cssr.js +36 -36
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +38 -36
- package/web-types.json +252 -11
|
@@ -28,15 +28,15 @@ export declare const formItemGiProps: {
|
|
|
28
28
|
readonly default: undefined;
|
|
29
29
|
};
|
|
30
30
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Form", {
|
|
31
|
+
blankHeightSmall: string;
|
|
32
|
+
blankHeightMedium: string;
|
|
33
|
+
blankHeightLarge: string;
|
|
31
34
|
lineHeight: string;
|
|
32
35
|
labelTextColor: string;
|
|
33
36
|
asteriskColor: string;
|
|
34
37
|
feedbackTextColorError: string;
|
|
35
38
|
feedbackTextColorWarning: string;
|
|
36
39
|
feedbackTextColor: string;
|
|
37
|
-
blankHeightSmall: string;
|
|
38
|
-
blankHeightMedium: string;
|
|
39
|
-
blankHeightLarge: string;
|
|
40
40
|
feedbackPadding: string;
|
|
41
41
|
feedbackHeightSmall: string;
|
|
42
42
|
feedbackHeightMedium: string;
|
|
@@ -59,15 +59,15 @@ export declare const formItemGiProps: {
|
|
|
59
59
|
labelTextAlignHorizontal: string;
|
|
60
60
|
}, any>>;
|
|
61
61
|
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
62
|
+
blankHeightSmall: string;
|
|
63
|
+
blankHeightMedium: string;
|
|
64
|
+
blankHeightLarge: string;
|
|
62
65
|
lineHeight: string;
|
|
63
66
|
labelTextColor: string;
|
|
64
67
|
asteriskColor: string;
|
|
65
68
|
feedbackTextColorError: string;
|
|
66
69
|
feedbackTextColorWarning: string;
|
|
67
70
|
feedbackTextColor: string;
|
|
68
|
-
blankHeightSmall: string;
|
|
69
|
-
blankHeightMedium: string;
|
|
70
|
-
blankHeightLarge: string;
|
|
71
71
|
feedbackPadding: string;
|
|
72
72
|
feedbackHeightSmall: string;
|
|
73
73
|
feedbackHeightMedium: string;
|
|
@@ -90,15 +90,15 @@ export declare const formItemGiProps: {
|
|
|
90
90
|
labelTextAlignHorizontal: string;
|
|
91
91
|
}, any>>>;
|
|
92
92
|
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
93
|
+
blankHeightSmall: string;
|
|
94
|
+
blankHeightMedium: string;
|
|
95
|
+
blankHeightLarge: string;
|
|
93
96
|
lineHeight: string;
|
|
94
97
|
labelTextColor: string;
|
|
95
98
|
asteriskColor: string;
|
|
96
99
|
feedbackTextColorError: string;
|
|
97
100
|
feedbackTextColorWarning: string;
|
|
98
101
|
feedbackTextColor: string;
|
|
99
|
-
blankHeightSmall: string;
|
|
100
|
-
blankHeightMedium: string;
|
|
101
|
-
blankHeightLarge: string;
|
|
102
102
|
feedbackPadding: string;
|
|
103
103
|
feedbackHeightSmall: string;
|
|
104
104
|
feedbackHeightMedium: string;
|
|
@@ -168,15 +168,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
168
168
|
readonly default: undefined;
|
|
169
169
|
};
|
|
170
170
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Form", {
|
|
171
|
+
blankHeightSmall: string;
|
|
172
|
+
blankHeightMedium: string;
|
|
173
|
+
blankHeightLarge: string;
|
|
171
174
|
lineHeight: string;
|
|
172
175
|
labelTextColor: string;
|
|
173
176
|
asteriskColor: string;
|
|
174
177
|
feedbackTextColorError: string;
|
|
175
178
|
feedbackTextColorWarning: string;
|
|
176
179
|
feedbackTextColor: string;
|
|
177
|
-
blankHeightSmall: string;
|
|
178
|
-
blankHeightMedium: string;
|
|
179
|
-
blankHeightLarge: string;
|
|
180
180
|
feedbackPadding: string;
|
|
181
181
|
feedbackHeightSmall: string;
|
|
182
182
|
feedbackHeightMedium: string;
|
|
@@ -199,15 +199,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
199
199
|
labelTextAlignHorizontal: string;
|
|
200
200
|
}, any>>;
|
|
201
201
|
readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
202
|
+
blankHeightSmall: string;
|
|
203
|
+
blankHeightMedium: string;
|
|
204
|
+
blankHeightLarge: string;
|
|
202
205
|
lineHeight: string;
|
|
203
206
|
labelTextColor: string;
|
|
204
207
|
asteriskColor: string;
|
|
205
208
|
feedbackTextColorError: string;
|
|
206
209
|
feedbackTextColorWarning: string;
|
|
207
210
|
feedbackTextColor: string;
|
|
208
|
-
blankHeightSmall: string;
|
|
209
|
-
blankHeightMedium: string;
|
|
210
|
-
blankHeightLarge: string;
|
|
211
211
|
feedbackPadding: string;
|
|
212
212
|
feedbackHeightSmall: string;
|
|
213
213
|
feedbackHeightMedium: string;
|
|
@@ -230,15 +230,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
230
230
|
labelTextAlignHorizontal: string;
|
|
231
231
|
}, any>>>;
|
|
232
232
|
readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
233
|
+
blankHeightSmall: string;
|
|
234
|
+
blankHeightMedium: string;
|
|
235
|
+
blankHeightLarge: string;
|
|
233
236
|
lineHeight: string;
|
|
234
237
|
labelTextColor: string;
|
|
235
238
|
asteriskColor: string;
|
|
236
239
|
feedbackTextColorError: string;
|
|
237
240
|
feedbackTextColorWarning: string;
|
|
238
241
|
feedbackTextColor: string;
|
|
239
|
-
blankHeightSmall: string;
|
|
240
|
-
blankHeightMedium: string;
|
|
241
|
-
blankHeightLarge: string;
|
|
242
242
|
feedbackPadding: string;
|
|
243
243
|
feedbackHeightSmall: string;
|
|
244
244
|
feedbackHeightMedium: string;
|
|
@@ -277,6 +277,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
277
277
|
readonly default: true;
|
|
278
278
|
};
|
|
279
279
|
}, {
|
|
280
|
+
formItemInstRef: import("vue").Ref<{
|
|
281
|
+
validate: import("./interface").FormItemValidate;
|
|
282
|
+
restoreValidation: () => void;
|
|
283
|
+
path?: string | undefined;
|
|
284
|
+
internalValidate: import("./interface").FormItemInternalValidate;
|
|
285
|
+
} | null>;
|
|
280
286
|
validate: import("./interface").FormItemValidate;
|
|
281
287
|
restoreValidation: () => void;
|
|
282
288
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -321,15 +327,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
321
327
|
size?: "small" | "medium" | "large" | undefined;
|
|
322
328
|
path?: string | undefined;
|
|
323
329
|
theme?: import("../../_mixins").Theme<"Form", {
|
|
330
|
+
blankHeightSmall: string;
|
|
331
|
+
blankHeightMedium: string;
|
|
332
|
+
blankHeightLarge: string;
|
|
324
333
|
lineHeight: string;
|
|
325
334
|
labelTextColor: string;
|
|
326
335
|
asteriskColor: string;
|
|
327
336
|
feedbackTextColorError: string;
|
|
328
337
|
feedbackTextColorWarning: string;
|
|
329
338
|
feedbackTextColor: string;
|
|
330
|
-
blankHeightSmall: string;
|
|
331
|
-
blankHeightMedium: string;
|
|
332
|
-
blankHeightLarge: string;
|
|
333
339
|
feedbackPadding: string;
|
|
334
340
|
feedbackHeightSmall: string;
|
|
335
341
|
feedbackHeightMedium: string;
|
|
@@ -352,15 +358,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
352
358
|
labelTextAlignHorizontal: string;
|
|
353
359
|
}, any> | undefined;
|
|
354
360
|
themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
361
|
+
blankHeightSmall: string;
|
|
362
|
+
blankHeightMedium: string;
|
|
363
|
+
blankHeightLarge: string;
|
|
355
364
|
lineHeight: string;
|
|
356
365
|
labelTextColor: string;
|
|
357
366
|
asteriskColor: string;
|
|
358
367
|
feedbackTextColorError: string;
|
|
359
368
|
feedbackTextColorWarning: string;
|
|
360
369
|
feedbackTextColor: string;
|
|
361
|
-
blankHeightSmall: string;
|
|
362
|
-
blankHeightMedium: string;
|
|
363
|
-
blankHeightLarge: string;
|
|
364
370
|
feedbackPadding: string;
|
|
365
371
|
feedbackHeightSmall: string;
|
|
366
372
|
feedbackHeightMedium: string;
|
|
@@ -383,15 +389,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
383
389
|
labelTextAlignHorizontal: string;
|
|
384
390
|
}, any>> | undefined;
|
|
385
391
|
builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
392
|
+
blankHeightSmall: string;
|
|
393
|
+
blankHeightMedium: string;
|
|
394
|
+
blankHeightLarge: string;
|
|
386
395
|
lineHeight: string;
|
|
387
396
|
labelTextColor: string;
|
|
388
397
|
asteriskColor: string;
|
|
389
398
|
feedbackTextColorError: string;
|
|
390
399
|
feedbackTextColorWarning: string;
|
|
391
400
|
feedbackTextColor: string;
|
|
392
|
-
blankHeightSmall: string;
|
|
393
|
-
blankHeightMedium: string;
|
|
394
|
-
blankHeightLarge: string;
|
|
395
401
|
feedbackPadding: string;
|
|
396
402
|
feedbackHeightSmall: string;
|
|
397
403
|
feedbackHeightMedium: string;
|
|
@@ -28,15 +28,15 @@ declare const formItemRowProps: {
|
|
|
28
28
|
readonly default: undefined;
|
|
29
29
|
};
|
|
30
30
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Form", {
|
|
31
|
+
blankHeightSmall: string;
|
|
32
|
+
blankHeightMedium: string;
|
|
33
|
+
blankHeightLarge: string;
|
|
31
34
|
lineHeight: string;
|
|
32
35
|
labelTextColor: string;
|
|
33
36
|
asteriskColor: string;
|
|
34
37
|
feedbackTextColorError: string;
|
|
35
38
|
feedbackTextColorWarning: string;
|
|
36
39
|
feedbackTextColor: string;
|
|
37
|
-
blankHeightSmall: string;
|
|
38
|
-
blankHeightMedium: string;
|
|
39
|
-
blankHeightLarge: string;
|
|
40
40
|
feedbackPadding: string;
|
|
41
41
|
feedbackHeightSmall: string;
|
|
42
42
|
feedbackHeightMedium: string;
|
|
@@ -59,15 +59,15 @@ declare const formItemRowProps: {
|
|
|
59
59
|
labelTextAlignHorizontal: string;
|
|
60
60
|
}, any>>;
|
|
61
61
|
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
62
|
+
blankHeightSmall: string;
|
|
63
|
+
blankHeightMedium: string;
|
|
64
|
+
blankHeightLarge: string;
|
|
62
65
|
lineHeight: string;
|
|
63
66
|
labelTextColor: string;
|
|
64
67
|
asteriskColor: string;
|
|
65
68
|
feedbackTextColorError: string;
|
|
66
69
|
feedbackTextColorWarning: string;
|
|
67
70
|
feedbackTextColor: string;
|
|
68
|
-
blankHeightSmall: string;
|
|
69
|
-
blankHeightMedium: string;
|
|
70
|
-
blankHeightLarge: string;
|
|
71
71
|
feedbackPadding: string;
|
|
72
72
|
feedbackHeightSmall: string;
|
|
73
73
|
feedbackHeightMedium: string;
|
|
@@ -90,15 +90,15 @@ declare const formItemRowProps: {
|
|
|
90
90
|
labelTextAlignHorizontal: string;
|
|
91
91
|
}, any>>>;
|
|
92
92
|
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
93
|
+
blankHeightSmall: string;
|
|
94
|
+
blankHeightMedium: string;
|
|
95
|
+
blankHeightLarge: string;
|
|
93
96
|
lineHeight: string;
|
|
94
97
|
labelTextColor: string;
|
|
95
98
|
asteriskColor: string;
|
|
96
99
|
feedbackTextColorError: string;
|
|
97
100
|
feedbackTextColorWarning: string;
|
|
98
101
|
feedbackTextColor: string;
|
|
99
|
-
blankHeightSmall: string;
|
|
100
|
-
blankHeightMedium: string;
|
|
101
|
-
blankHeightLarge: string;
|
|
102
102
|
feedbackPadding: string;
|
|
103
103
|
feedbackHeightSmall: string;
|
|
104
104
|
feedbackHeightMedium: string;
|
|
@@ -173,15 +173,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
173
|
readonly default: undefined;
|
|
174
174
|
};
|
|
175
175
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Form", {
|
|
176
|
+
blankHeightSmall: string;
|
|
177
|
+
blankHeightMedium: string;
|
|
178
|
+
blankHeightLarge: string;
|
|
176
179
|
lineHeight: string;
|
|
177
180
|
labelTextColor: string;
|
|
178
181
|
asteriskColor: string;
|
|
179
182
|
feedbackTextColorError: string;
|
|
180
183
|
feedbackTextColorWarning: string;
|
|
181
184
|
feedbackTextColor: string;
|
|
182
|
-
blankHeightSmall: string;
|
|
183
|
-
blankHeightMedium: string;
|
|
184
|
-
blankHeightLarge: string;
|
|
185
185
|
feedbackPadding: string;
|
|
186
186
|
feedbackHeightSmall: string;
|
|
187
187
|
feedbackHeightMedium: string;
|
|
@@ -204,15 +204,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
204
204
|
labelTextAlignHorizontal: string;
|
|
205
205
|
}, any>>;
|
|
206
206
|
themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
207
|
+
blankHeightSmall: string;
|
|
208
|
+
blankHeightMedium: string;
|
|
209
|
+
blankHeightLarge: string;
|
|
207
210
|
lineHeight: string;
|
|
208
211
|
labelTextColor: string;
|
|
209
212
|
asteriskColor: string;
|
|
210
213
|
feedbackTextColorError: string;
|
|
211
214
|
feedbackTextColorWarning: string;
|
|
212
215
|
feedbackTextColor: string;
|
|
213
|
-
blankHeightSmall: string;
|
|
214
|
-
blankHeightMedium: string;
|
|
215
|
-
blankHeightLarge: string;
|
|
216
216
|
feedbackPadding: string;
|
|
217
217
|
feedbackHeightSmall: string;
|
|
218
218
|
feedbackHeightMedium: string;
|
|
@@ -235,15 +235,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
235
|
labelTextAlignHorizontal: string;
|
|
236
236
|
}, any>>>;
|
|
237
237
|
builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
238
|
+
blankHeightSmall: string;
|
|
239
|
+
blankHeightMedium: string;
|
|
240
|
+
blankHeightLarge: string;
|
|
238
241
|
lineHeight: string;
|
|
239
242
|
labelTextColor: string;
|
|
240
243
|
asteriskColor: string;
|
|
241
244
|
feedbackTextColorError: string;
|
|
242
245
|
feedbackTextColorWarning: string;
|
|
243
246
|
feedbackTextColor: string;
|
|
244
|
-
blankHeightSmall: string;
|
|
245
|
-
blankHeightMedium: string;
|
|
246
|
-
blankHeightLarge: string;
|
|
247
247
|
feedbackPadding: string;
|
|
248
248
|
feedbackHeightSmall: string;
|
|
249
249
|
feedbackHeightMedium: string;
|
|
@@ -288,6 +288,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
288
288
|
alignItems: StringConstructor;
|
|
289
289
|
justifyContent: StringConstructor;
|
|
290
290
|
}, {
|
|
291
|
+
formItemColInstRef: import("vue").Ref<{
|
|
292
|
+
validate: import("./interface").FormItemValidate;
|
|
293
|
+
restoreValidation: () => void;
|
|
294
|
+
path?: string | undefined;
|
|
295
|
+
internalValidate: import("./interface").FormItemInternalValidate;
|
|
296
|
+
} | null>;
|
|
291
297
|
validate: import("./interface").FormItemValidate;
|
|
292
298
|
restoreValidation: () => void;
|
|
293
299
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
@@ -335,15 +341,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
335
341
|
justifyContent?: string | undefined;
|
|
336
342
|
path?: string | undefined;
|
|
337
343
|
theme?: import("../../_mixins").Theme<"Form", {
|
|
344
|
+
blankHeightSmall: string;
|
|
345
|
+
blankHeightMedium: string;
|
|
346
|
+
blankHeightLarge: string;
|
|
338
347
|
lineHeight: string;
|
|
339
348
|
labelTextColor: string;
|
|
340
349
|
asteriskColor: string;
|
|
341
350
|
feedbackTextColorError: string;
|
|
342
351
|
feedbackTextColorWarning: string;
|
|
343
352
|
feedbackTextColor: string;
|
|
344
|
-
blankHeightSmall: string;
|
|
345
|
-
blankHeightMedium: string;
|
|
346
|
-
blankHeightLarge: string;
|
|
347
353
|
feedbackPadding: string;
|
|
348
354
|
feedbackHeightSmall: string;
|
|
349
355
|
feedbackHeightMedium: string;
|
|
@@ -366,15 +372,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
366
372
|
labelTextAlignHorizontal: string;
|
|
367
373
|
}, any> | undefined;
|
|
368
374
|
themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
375
|
+
blankHeightSmall: string;
|
|
376
|
+
blankHeightMedium: string;
|
|
377
|
+
blankHeightLarge: string;
|
|
369
378
|
lineHeight: string;
|
|
370
379
|
labelTextColor: string;
|
|
371
380
|
asteriskColor: string;
|
|
372
381
|
feedbackTextColorError: string;
|
|
373
382
|
feedbackTextColorWarning: string;
|
|
374
383
|
feedbackTextColor: string;
|
|
375
|
-
blankHeightSmall: string;
|
|
376
|
-
blankHeightMedium: string;
|
|
377
|
-
blankHeightLarge: string;
|
|
378
384
|
feedbackPadding: string;
|
|
379
385
|
feedbackHeightSmall: string;
|
|
380
386
|
feedbackHeightMedium: string;
|
|
@@ -397,15 +403,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
397
403
|
labelTextAlignHorizontal: string;
|
|
398
404
|
}, any>> | undefined;
|
|
399
405
|
builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Form", {
|
|
406
|
+
blankHeightSmall: string;
|
|
407
|
+
blankHeightMedium: string;
|
|
408
|
+
blankHeightLarge: string;
|
|
400
409
|
lineHeight: string;
|
|
401
410
|
labelTextColor: string;
|
|
402
411
|
asteriskColor: string;
|
|
403
412
|
feedbackTextColorError: string;
|
|
404
413
|
feedbackTextColorWarning: string;
|
|
405
414
|
feedbackTextColor: string;
|
|
406
|
-
blankHeightSmall: string;
|
|
407
|
-
blankHeightMedium: string;
|
|
408
|
-
blankHeightLarge: string;
|
|
409
415
|
feedbackPadding: string;
|
|
410
416
|
feedbackHeightSmall: string;
|
|
411
417
|
feedbackHeightMedium: string;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { cB, cE, cM } from '../../../_utils/cssr';
|
|
2
2
|
import fadeDownTranstion from '../../../_styles/transitions/fade-down.cssr'; // vars:
|
|
3
|
-
// --line-height
|
|
4
|
-
// --blank-height
|
|
5
|
-
// --feedback-padding
|
|
6
|
-
// --feedback-font-size
|
|
7
|
-
// --label-font-size-left
|
|
8
|
-
// --label-font-size-top
|
|
9
|
-
// --label-height
|
|
10
|
-
// --label-padding
|
|
11
|
-
// --asterisk-color
|
|
12
|
-
// --label-text-color
|
|
13
|
-
// --bezier
|
|
14
|
-
// --feedback-text-color
|
|
15
|
-
// --feedback-text-color-warning
|
|
16
|
-
// --feedback-text-color-error
|
|
17
|
-
// --label-text-align
|
|
18
|
-
// --label-padding
|
|
3
|
+
// --n-line-height
|
|
4
|
+
// --n-blank-height
|
|
5
|
+
// --n-feedback-padding
|
|
6
|
+
// --n-feedback-font-size
|
|
7
|
+
// --n-label-font-size-left
|
|
8
|
+
// --n-label-font-size-top
|
|
9
|
+
// --n-label-height
|
|
10
|
+
// --n-label-padding
|
|
11
|
+
// --n-asterisk-color
|
|
12
|
+
// --n-label-text-color
|
|
13
|
+
// --n-bezier
|
|
14
|
+
// --n-feedback-text-color
|
|
15
|
+
// --n-feedback-text-color-warning
|
|
16
|
+
// --n-feedback-text-color-error
|
|
17
|
+
// --n-label-text-align
|
|
18
|
+
// --n-label-padding
|
|
19
19
|
|
|
20
20
|
export default cB('form-item', {
|
|
21
21
|
display: 'grid',
|
|
22
|
-
lineHeight: 'var(--line-height)'
|
|
22
|
+
lineHeight: 'var(--n-line-height)'
|
|
23
23
|
}, [cB('form-item-label', `
|
|
24
24
|
grid-area: label;
|
|
25
25
|
align-items: center;
|
|
26
26
|
line-height: 1.25;
|
|
27
|
-
text-align: var(--label-text-align);
|
|
28
|
-
font-size: var(--label-font-size);
|
|
29
|
-
height: var(--label-height);
|
|
30
|
-
padding: var(--label-padding);
|
|
31
|
-
color: var(--label-text-color);
|
|
32
|
-
transition: color .3s var(--bezier);
|
|
27
|
+
text-align: var(--n-label-text-align);
|
|
28
|
+
font-size: var(--n-label-font-size);
|
|
29
|
+
height: var(--n-label-height);
|
|
30
|
+
padding: var(--n-label-padding);
|
|
31
|
+
color: var(--n-label-text-color);
|
|
32
|
+
transition: color .3s var(--n-bezier);
|
|
33
33
|
box-sizing: border-box;
|
|
34
34
|
`, [cE('asterisk', `
|
|
35
|
-
color: var(--asterisk-color);
|
|
36
|
-
transition: color .3s var(--bezier);
|
|
35
|
+
color: var(--n-asterisk-color);
|
|
36
|
+
transition: color .3s var(--n-bezier);
|
|
37
37
|
`)]), cB('form-item-blank', {
|
|
38
38
|
gridArea: 'blank',
|
|
39
|
-
minHeight: 'var(--blank-height)'
|
|
39
|
+
minHeight: 'var(--n-blank-height)'
|
|
40
40
|
}), cM('left-labelled', `
|
|
41
41
|
grid-template-areas:
|
|
42
42
|
"label blank"
|
|
43
43
|
"label feedback";
|
|
44
44
|
grid-template-columns: auto minmax(0, 1fr);
|
|
45
45
|
`, [cB('form-item-label', `
|
|
46
|
-
height: var(--blank-height);
|
|
47
|
-
line-height: var(--blank-height);
|
|
46
|
+
height: var(--n-blank-height);
|
|
47
|
+
line-height: var(--n-blank-height);
|
|
48
48
|
box-sizing: border-box;
|
|
49
49
|
white-space: nowrap;
|
|
50
50
|
flex-shrink: 0;
|
|
@@ -54,7 +54,7 @@ export default cB('form-item', {
|
|
|
54
54
|
"label"
|
|
55
55
|
"blank"
|
|
56
56
|
"feedback";
|
|
57
|
-
grid-template-rows: var(--label-height) 1fr;
|
|
57
|
+
grid-template-rows: var(--n-label-height) 1fr;
|
|
58
58
|
grid-template-columns: minmax(0, 100%);
|
|
59
59
|
`, [cM('no-label', `
|
|
60
60
|
grid-template-areas:
|
|
@@ -64,7 +64,7 @@ export default cB('form-item', {
|
|
|
64
64
|
`), cB('form-item-label', {
|
|
65
65
|
display: 'flex',
|
|
66
66
|
alignItems: 'flex-end',
|
|
67
|
-
justifyContent: 'var(--label-text-align)'
|
|
67
|
+
justifyContent: 'var(--n-label-text-align)'
|
|
68
68
|
})]), cB('form-item-blank', `
|
|
69
69
|
box-sizing: border-box;
|
|
70
70
|
display: flex;
|
|
@@ -73,18 +73,18 @@ export default cB('form-item', {
|
|
|
73
73
|
`), cB('form-item-feedback-wrapper', `
|
|
74
74
|
grid-area: feedback;
|
|
75
75
|
box-sizing: border-box;
|
|
76
|
-
min-height: var(--feedback-height);
|
|
77
|
-
font-size: var(--feedback-font-size);
|
|
78
|
-
padding: var(--feedback-padding);
|
|
76
|
+
min-height: var(--n-feedback-height);
|
|
77
|
+
font-size: var(--n-feedback-font-size);
|
|
78
|
+
padding: var(--n-feedback-padding);
|
|
79
79
|
line-height: 1.25;
|
|
80
80
|
transform-origin: top left;
|
|
81
81
|
`, [cB('form-item-feedback', {
|
|
82
|
-
transition: 'color .3s var(--bezier)',
|
|
83
|
-
color: 'var(--feedback-text-color)'
|
|
82
|
+
transition: 'color .3s var(--n-bezier)',
|
|
83
|
+
color: 'var(--n-feedback-text-color)'
|
|
84
84
|
}, [cM('warning', {
|
|
85
|
-
color: 'var(--feedback-text-color-warning)'
|
|
85
|
+
color: 'var(--n-feedback-text-color-warning)'
|
|
86
86
|
}), cM('error', {
|
|
87
|
-
color: 'var(--feedback-text-color-error)'
|
|
87
|
+
color: 'var(--n-feedback-text-color-error)'
|
|
88
88
|
}), fadeDownTranstion({
|
|
89
89
|
fromOffset: '-3px',
|
|
90
90
|
enterDuration: '.3s',
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
2
|
import type { Theme } from '../../_mixins';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
|
+
blankHeightSmall: string;
|
|
5
|
+
blankHeightMedium: string;
|
|
6
|
+
blankHeightLarge: string;
|
|
4
7
|
lineHeight: string;
|
|
5
8
|
labelTextColor: string;
|
|
6
9
|
asteriskColor: string;
|
|
7
10
|
feedbackTextColorError: string;
|
|
8
11
|
feedbackTextColorWarning: string;
|
|
9
12
|
feedbackTextColor: string;
|
|
10
|
-
blankHeightSmall: string;
|
|
11
|
-
blankHeightMedium: string;
|
|
12
|
-
blankHeightLarge: string;
|
|
13
13
|
feedbackPadding: string;
|
|
14
14
|
feedbackHeightSmall: string;
|
|
15
15
|
feedbackHeightMedium: string;
|
package/es/form/styles/light.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { commonLight } from '../../_styles/common';
|
|
2
2
|
import commonVariables from './_common';
|
|
3
3
|
export const self = (vars) => {
|
|
4
|
-
const { textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
|
|
5
|
-
return Object.assign(Object.assign({}, commonVariables), { lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
|
|
4
|
+
const { heightSmall, heightMedium, heightLarge, textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
|
|
5
|
+
return Object.assign(Object.assign({}, commonVariables), { blankHeightSmall: heightSmall, blankHeightMedium: heightMedium, blankHeightLarge: heightLarge, lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
|
|
6
6
|
};
|
|
7
7
|
const formLight = {
|
|
8
8
|
name: 'Form',
|
|
@@ -115,11 +115,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
115
115
|
styleFontSize: import("vue").ComputedRef<string | number | undefined>;
|
|
116
116
|
styleBgImage: import("vue").ComputedRef<string | undefined>;
|
|
117
117
|
cssVars: import("vue").ComputedRef<{
|
|
118
|
-
'--bezier': string;
|
|
119
|
-
'--rotate': string;
|
|
120
|
-
'--color-start': string;
|
|
121
|
-
'--color-end': string;
|
|
122
|
-
'--font-weight': string;
|
|
118
|
+
'--n-bezier': string;
|
|
119
|
+
'--n-rotate': string;
|
|
120
|
+
'--n-color-start': string;
|
|
121
|
+
'--n-color-end': string;
|
|
122
|
+
'--n-font-weight': string;
|
|
123
123
|
}>;
|
|
124
124
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
125
125
|
readonly size?: unknown;
|
|
@@ -48,11 +48,11 @@ export default defineComponent({
|
|
|
48
48
|
const { value: type } = compatibleTypeRef;
|
|
49
49
|
const { common: { cubicBezierEaseInOut }, self: { rotate, [createKey('colorStart', type)]: colorStart, [createKey('colorEnd', type)]: colorEnd, fontWeight } } = themeRef.value;
|
|
50
50
|
return {
|
|
51
|
-
'--bezier': cubicBezierEaseInOut,
|
|
52
|
-
'--rotate': rotate,
|
|
53
|
-
'--color-start': colorStart,
|
|
54
|
-
'--color-end': colorEnd,
|
|
55
|
-
'--font-weight': fontWeight
|
|
51
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
52
|
+
'--n-rotate': rotate,
|
|
53
|
+
'--n-color-start': colorStart,
|
|
54
|
+
'--n-color-end': colorEnd,
|
|
55
|
+
'--n-font-weight': fontWeight
|
|
56
56
|
};
|
|
57
57
|
})
|
|
58
58
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { cB } from '../../../_utils/cssr'; // vars:
|
|
2
|
-
// --font-weight
|
|
3
|
-
// --rotate
|
|
4
|
-
// --bezier
|
|
5
|
-
// --color-start
|
|
6
|
-
// --color-end
|
|
2
|
+
// --n-font-weight
|
|
3
|
+
// --n-rotate
|
|
4
|
+
// --n-bezier
|
|
5
|
+
// --n-color-start
|
|
6
|
+
// --n-color-end
|
|
7
7
|
|
|
8
8
|
export default cB('gradient-text', `
|
|
9
9
|
display: inline-block;
|
|
10
|
-
font-weight: var(--font-weight);
|
|
10
|
+
font-weight: var(--n-font-weight);
|
|
11
11
|
-webkit-background-clip: text;
|
|
12
12
|
background-clip: text;
|
|
13
13
|
color: #0000;
|
|
14
14
|
white-space: nowrap;
|
|
15
|
-
background-image: linear-gradient(var(--rotate), var(--color-start) 0%, var(--color-end) 100%);
|
|
15
|
+
background-image: linear-gradient(var(--n-rotate), var(--n-color-start) 0%, var(--n-color-end) 100%);
|
|
16
16
|
transition:
|
|
17
|
-
--color-start .3s var(--bezier),
|
|
18
|
-
--color-end .3s var(--bezier);
|
|
17
|
+
--n-color-start .3s var(--n-bezier),
|
|
18
|
+
--n-color-end .3s var(--n-bezier);
|
|
19
19
|
`);
|
package/es/icon/src/Icon.d.ts
CHANGED
|
@@ -35,13 +35,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
color: string | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
cssVars: import("vue").ComputedRef<{
|
|
38
|
-
'--bezier': string;
|
|
39
|
-
'--color': string;
|
|
40
|
-
'--opacity': string;
|
|
38
|
+
'--n-bezier': string;
|
|
39
|
+
'--n-color': string;
|
|
40
|
+
'--n-opacity': string;
|
|
41
41
|
} | {
|
|
42
|
-
'--bezier': string;
|
|
43
|
-
'--color'?: undefined;
|
|
44
|
-
'--opacity'?: undefined;
|
|
42
|
+
'--n-bezier': string;
|
|
43
|
+
'--n-color'?: undefined;
|
|
44
|
+
'--n-opacity'?: undefined;
|
|
45
45
|
}>;
|
|
46
46
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
47
47
|
depth?: unknown;
|
package/es/icon/src/Icon.js
CHANGED
|
@@ -26,13 +26,13 @@ export default defineComponent({
|
|
|
26
26
|
if (depth !== undefined) {
|
|
27
27
|
const { color, [`opacity${depth}Depth`]: opacity } = self;
|
|
28
28
|
return {
|
|
29
|
-
'--bezier': cubicBezierEaseInOut,
|
|
30
|
-
'--color': color,
|
|
31
|
-
'--opacity': opacity
|
|
29
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
30
|
+
'--n-color': color,
|
|
31
|
+
'--n-opacity': opacity
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'--bezier': cubicBezierEaseInOut
|
|
35
|
+
'--n-bezier': cubicBezierEaseInOut
|
|
36
36
|
};
|
|
37
37
|
})
|
|
38
38
|
};
|