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
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const zhTW = {
|
|
4
|
+
name: 'zh-TW',
|
|
5
|
+
global: {
|
|
6
|
+
undo: '撤銷',
|
|
7
|
+
redo: '重做',
|
|
8
|
+
confirm: '確認'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: '確認',
|
|
12
|
+
negativeText: '取消'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: '請選擇',
|
|
16
|
+
loading: '載入中',
|
|
17
|
+
loadingRequiredMessage: (label) => `載入全部 ${label} 的子節點後才可選中`
|
|
18
|
+
},
|
|
19
|
+
Time: {
|
|
20
|
+
dateFormat: 'yyyy-MM-dd',
|
|
21
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
22
|
+
},
|
|
23
|
+
DatePicker: {
|
|
24
|
+
yearFormat: 'yyyy年',
|
|
25
|
+
monthFormat: 'MMM',
|
|
26
|
+
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'yyyy-MM',
|
|
29
|
+
dateFormat: 'yyyy-MM-dd',
|
|
30
|
+
dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
32
|
+
clear: '清除',
|
|
33
|
+
now: '此刻',
|
|
34
|
+
confirm: '確認',
|
|
35
|
+
selectTime: '選擇時間',
|
|
36
|
+
selectDate: '選擇日期',
|
|
37
|
+
datePlaceholder: '選擇日期',
|
|
38
|
+
datetimePlaceholder: '選擇日期時間',
|
|
39
|
+
monthPlaceholder: '選擇月份',
|
|
40
|
+
yearPlaceholder: '選擇年份',
|
|
41
|
+
quarterPlaceholder: '選擇季度',
|
|
42
|
+
startDatePlaceholder: '開始日期',
|
|
43
|
+
endDatePlaceholder: '結束日期',
|
|
44
|
+
startDatetimePlaceholder: '開始日期時間',
|
|
45
|
+
endDatetimePlaceholder: '結束日期時間',
|
|
46
|
+
monthBeforeYear: false,
|
|
47
|
+
firstDayOfWeek: 0,
|
|
48
|
+
today: '今天'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: '選擇全部表格資料',
|
|
52
|
+
uncheckTableAll: '取消選擇全部表格資料',
|
|
53
|
+
confirm: '確認',
|
|
54
|
+
clear: '重置'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: '源項',
|
|
58
|
+
targetTitle: '目標項'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: '無數據'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: '請選擇'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: '請選擇時間',
|
|
68
|
+
positiveText: '確認',
|
|
69
|
+
negativeText: '取消',
|
|
70
|
+
now: '此刻'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: '跳至',
|
|
74
|
+
selectionSuffix: '頁'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: '添加'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: '載入中'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: '請輸入'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: '請輸入'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: '添加'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: '主題編輯器',
|
|
93
|
+
clearAllVars: '清除全部變數',
|
|
94
|
+
clearSearch: '清除搜索',
|
|
95
|
+
filterCompName: '過濾組件名',
|
|
96
|
+
filterVarName: '過濾變數名',
|
|
97
|
+
import: '導入',
|
|
98
|
+
export: '匯出',
|
|
99
|
+
restore: '恢復默認'
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
exports.default = zhTW;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const zh_TW_1 = __importDefault(require("date-fns/locale/zh-TW"));
|
|
7
|
+
const datezhTW = {
|
|
8
|
+
name: 'zh-TW',
|
|
9
|
+
locale: zh_TW_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = datezhTW;
|
package/lib/locales/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default as zhCN } from './common/zhCN';
|
|
2
|
+
export { default as zhTW } from './common/zhTW';
|
|
2
3
|
export { default as enUS } from './common/enUS';
|
|
3
4
|
export { default as ruRU } from './common/ruRU';
|
|
4
5
|
export { default as ukUA } from './common/ukUA';
|
|
@@ -8,6 +9,7 @@ export { default as deDE } from './common/deDE';
|
|
|
8
9
|
export { default as nbNO } from './common/nbNO';
|
|
9
10
|
export { default as frFR } from './common/frFR';
|
|
10
11
|
export { default as dateZhCN } from './date/zhCN';
|
|
12
|
+
export { default as dateZhTW } from './date/zhTW';
|
|
11
13
|
export { default as dateEnUS } from './date/enUS';
|
|
12
14
|
export { default as dateRuRU } from './date/ruRU';
|
|
13
15
|
export { default as dateUkUA } from './date/ukUA';
|
package/lib/locales/index.js
CHANGED
|
@@ -3,9 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createLocale = exports.dateFrFR = exports.dateNbNO = exports.dateDeDE = exports.dateIdID = exports.dateJaJP = exports.dateUkUA = exports.dateRuRU = exports.dateEnUS = exports.dateZhCN = exports.frFR = exports.nbNO = exports.deDE = exports.idID = exports.jaJP = exports.ukUA = exports.ruRU = exports.enUS = exports.zhCN = void 0;
|
|
6
|
+
exports.createLocale = exports.dateFrFR = exports.dateNbNO = exports.dateDeDE = exports.dateIdID = exports.dateJaJP = exports.dateUkUA = exports.dateRuRU = exports.dateEnUS = exports.dateZhTW = exports.dateZhCN = exports.frFR = exports.nbNO = exports.deDE = exports.idID = exports.jaJP = exports.ukUA = exports.ruRU = exports.enUS = exports.zhTW = exports.zhCN = void 0;
|
|
7
7
|
var zhCN_1 = require("./common/zhCN");
|
|
8
8
|
Object.defineProperty(exports, "zhCN", { enumerable: true, get: function () { return __importDefault(zhCN_1).default; } });
|
|
9
|
+
var zhTW_1 = require("./common/zhTW");
|
|
10
|
+
Object.defineProperty(exports, "zhTW", { enumerable: true, get: function () { return __importDefault(zhTW_1).default; } });
|
|
9
11
|
var enUS_1 = require("./common/enUS");
|
|
10
12
|
Object.defineProperty(exports, "enUS", { enumerable: true, get: function () { return __importDefault(enUS_1).default; } });
|
|
11
13
|
var ruRU_1 = require("./common/ruRU");
|
|
@@ -24,6 +26,8 @@ var frFR_1 = require("./common/frFR");
|
|
|
24
26
|
Object.defineProperty(exports, "frFR", { enumerable: true, get: function () { return __importDefault(frFR_1).default; } });
|
|
25
27
|
var zhCN_2 = require("./date/zhCN");
|
|
26
28
|
Object.defineProperty(exports, "dateZhCN", { enumerable: true, get: function () { return __importDefault(zhCN_2).default; } });
|
|
29
|
+
var zhTW_2 = require("./date/zhTW");
|
|
30
|
+
Object.defineProperty(exports, "dateZhTW", { enumerable: true, get: function () { return __importDefault(zhTW_2).default; } });
|
|
27
31
|
var enUS_2 = require("./date/enUS");
|
|
28
32
|
Object.defineProperty(exports, "dateEnUS", { enumerable: true, get: function () { return __importDefault(enUS_2).default; } });
|
|
29
33
|
var ruRU_2 = require("./date/ruRU");
|
package/lib/log/src/Log.d.ts
CHANGED
|
@@ -403,12 +403,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
403
403
|
handleWheel: import("lodash").DebouncedFunc<(e: WheelEvent) => void>;
|
|
404
404
|
handleScroll: (e: Event) => void;
|
|
405
405
|
cssVars: import("vue").ComputedRef<{
|
|
406
|
-
'--bezier': string;
|
|
407
|
-
'--loader-font-size': string;
|
|
408
|
-
'--loader-border': string;
|
|
409
|
-
'--loader-color': string;
|
|
410
|
-
'--loader-text-color': string;
|
|
411
|
-
'--loading-color': string;
|
|
406
|
+
'--n-bezier': string;
|
|
407
|
+
'--n-loader-font-size': string;
|
|
408
|
+
'--n-loader-border': string;
|
|
409
|
+
'--n-loader-color': string;
|
|
410
|
+
'--n-loader-text-color': string;
|
|
411
|
+
'--n-loading-color': string;
|
|
412
412
|
}>;
|
|
413
413
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
414
414
|
readonly loading?: unknown;
|
package/lib/log/src/Log.js
CHANGED
|
@@ -165,12 +165,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
165
165
|
cssVars: (0, vue_1.computed)(() => {
|
|
166
166
|
const { self: { loaderFontSize, loaderTextColor, loaderColor, loaderBorder, loadingColor }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
167
167
|
return {
|
|
168
|
-
'--bezier': cubicBezierEaseInOut,
|
|
169
|
-
'--loader-font-size': loaderFontSize,
|
|
170
|
-
'--loader-border': loaderBorder,
|
|
171
|
-
'--loader-color': loaderColor,
|
|
172
|
-
'--loader-text-color': loaderTextColor,
|
|
173
|
-
'--loading-color': loadingColor
|
|
168
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
169
|
+
'--n-loader-font-size': loaderFontSize,
|
|
170
|
+
'--n-loader-border': loaderBorder,
|
|
171
|
+
'--n-loader-color': loaderColor,
|
|
172
|
+
'--n-loader-text-color': loaderTextColor,
|
|
173
|
+
'--n-loading-color': loadingColor
|
|
174
174
|
};
|
|
175
175
|
})
|
|
176
176
|
};
|
|
@@ -13,21 +13,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
13
13
|
const cssr_1 = require("../../../_utils/cssr");
|
|
14
14
|
|
|
15
15
|
const fade_in_scale_up_cssr_1 = __importDefault(require("../../../_styles/transitions/fade-in-scale-up.cssr")); // vars:
|
|
16
|
-
// --bezier
|
|
17
|
-
// --loading-color
|
|
18
|
-
// --loader-border
|
|
19
|
-
// --loader-color
|
|
20
|
-
// --loader-text-color
|
|
21
|
-
// --loader-font-size
|
|
22
|
-
// --loading-color
|
|
16
|
+
// --n-bezier
|
|
17
|
+
// --n-loading-color
|
|
18
|
+
// --n-loader-border
|
|
19
|
+
// --n-loader-color
|
|
20
|
+
// --n-loader-text-color
|
|
21
|
+
// --n-loader-font-size
|
|
22
|
+
// --n-loading-color
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
exports.default = (0, cssr_1.cB)('log', `
|
|
26
26
|
position: relative;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
transition:
|
|
29
|
-
border-color .3s var(--bezier),
|
|
30
|
-
color .3s var(--bezier);
|
|
28
|
+
transition: border-color .3s var(--n-bezier);
|
|
31
29
|
`, [(0, cssr_1.cE)('lines', `
|
|
32
30
|
margin: 0;
|
|
33
31
|
white-space: pre-wrap;
|
|
@@ -35,9 +33,9 @@ exports.default = (0, cssr_1.cB)('log', `
|
|
|
35
33
|
margin: 0;
|
|
36
34
|
`), (0, cssr_1.cB)('log-loader', `
|
|
37
35
|
transition:
|
|
38
|
-
color .3s var(--bezier),
|
|
39
|
-
background-color .3s var(--bezier),
|
|
40
|
-
border-color .3s var(--bezier);
|
|
36
|
+
color .3s var(--n-bezier),
|
|
37
|
+
background-color .3s var(--n-bezier),
|
|
38
|
+
border-color .3s var(--n-bezier);
|
|
41
39
|
box-sizing: border-box;
|
|
42
40
|
position: absolute;
|
|
43
41
|
right: 16px;
|
|
@@ -47,10 +45,10 @@ exports.default = (0, cssr_1.cB)('log', `
|
|
|
47
45
|
line-height: 34px;
|
|
48
46
|
white-space: nowrap;
|
|
49
47
|
overflow: hidden;
|
|
50
|
-
border: var(--loader-border);
|
|
51
|
-
color: var(--loader-text-color);
|
|
52
|
-
background-color: var(--loader-color);
|
|
53
|
-
font-size: var(--loader-font-size);
|
|
48
|
+
border: var(--n-loader-border);
|
|
49
|
+
color: var(--n-loader-text-color);
|
|
50
|
+
background-color: var(--n-loader-color);
|
|
51
|
+
font-size: var(--n-loader-font-size);
|
|
54
52
|
`, [(0, fade_in_scale_up_cssr_1.default)(), (0, cssr_1.cE)('content', `
|
|
55
53
|
display: inline-block;
|
|
56
54
|
vertical-align: bottom;
|
|
@@ -59,7 +57,7 @@ exports.default = (0, cssr_1.cB)('log', `
|
|
|
59
57
|
padding-right: 20px;
|
|
60
58
|
white-space: nowrap;
|
|
61
59
|
`), (0, cssr_1.cB)('base-loading', `
|
|
62
|
-
color: var(--loading-color);
|
|
60
|
+
color: var(--n-loading-color);
|
|
63
61
|
position: absolute;
|
|
64
62
|
left: 12px;
|
|
65
63
|
top: calc(50% - 10px);
|
|
@@ -1093,7 +1093,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1093
1093
|
focus: () => void;
|
|
1094
1094
|
blur: () => void;
|
|
1095
1095
|
cssVars: import("vue").ComputedRef<{
|
|
1096
|
-
'--menu-box-shadow': string;
|
|
1096
|
+
'--n-menu-box-shadow': string;
|
|
1097
1097
|
}>;
|
|
1098
1098
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
1099
1099
|
readonly to?: unknown;
|
|
@@ -305,7 +305,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
305
305
|
cssVars: (0, vue_1.computed)(() => {
|
|
306
306
|
const { self: { menuBoxShadow } } = themeRef.value;
|
|
307
307
|
return {
|
|
308
|
-
'--menu-box-shadow': menuBoxShadow
|
|
308
|
+
'--n-menu-box-shadow': menuBoxShadow
|
|
309
309
|
};
|
|
310
310
|
})
|
|
311
311
|
};
|
|
@@ -12,9 +12,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
12
12
|
|
|
13
13
|
const fade_in_scale_up_cssr_1 = __importDefault(require("../../../_styles/transitions/fade-in-scale-up.cssr"));
|
|
14
14
|
|
|
15
|
-
const cssr_1 = require("../../../_utils/cssr"); // --menu-box-shadow
|
|
15
|
+
const cssr_1 = require("../../../_utils/cssr"); // --n-menu-box-shadow
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('mention', 'width: 100%; z-index: auto; position: relative;'), (0, cssr_1.cB)('mention-menu', `
|
|
19
|
-
box-shadow: var(--menu-box-shadow);
|
|
19
|
+
box-shadow: var(--n-menu-box-shadow);
|
|
20
20
|
`, [(0, fade_in_scale_up_cssr_1.default)()])]);
|
package/lib/menu/src/Menu.js
CHANGED
|
@@ -210,55 +210,58 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
210
210
|
const { common: { cubicBezierEaseInOut }, self } = themeRef.value;
|
|
211
211
|
const { borderRadius, borderColorHorizontal, fontSize, itemHeight, dividerColor } = self;
|
|
212
212
|
const vars = {
|
|
213
|
-
'--divider-color': dividerColor,
|
|
214
|
-
'--bezier': cubicBezierEaseInOut,
|
|
215
|
-
'--font-size': fontSize,
|
|
216
|
-
'--border-color-horizontal': borderColorHorizontal,
|
|
217
|
-
'--border-radius': borderRadius,
|
|
218
|
-
'--item-height': itemHeight
|
|
213
|
+
'--n-divider-color': dividerColor,
|
|
214
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
215
|
+
'--n-font-size': fontSize,
|
|
216
|
+
'--n-border-color-horizontal': borderColorHorizontal,
|
|
217
|
+
'--n-border-radius': borderRadius,
|
|
218
|
+
'--n-item-height': itemHeight
|
|
219
219
|
};
|
|
220
220
|
if (inverted) {
|
|
221
|
-
vars['--group-text-color'] = self.groupTextColorInverted;
|
|
222
|
-
vars['--color'] = self.colorInverted;
|
|
223
|
-
vars['--item-text-color'] = self.itemTextColorInverted;
|
|
224
|
-
vars['--arrow-color'] = self.arrowColorInverted;
|
|
225
|
-
vars['--arrow-color-hover'] = self.arrowColorHoverInverted;
|
|
226
|
-
vars['--arrow-color-active'] = self.arrowColorActiveInverted;
|
|
227
|
-
vars['--arrow-color-child-active'] =
|
|
221
|
+
vars['--n-group-text-color'] = self.groupTextColorInverted;
|
|
222
|
+
vars['--n-color'] = self.colorInverted;
|
|
223
|
+
vars['--n-item-text-color'] = self.itemTextColorInverted;
|
|
224
|
+
vars['--n-arrow-color'] = self.arrowColorInverted;
|
|
225
|
+
vars['--n-arrow-color-hover'] = self.arrowColorHoverInverted;
|
|
226
|
+
vars['--n-arrow-color-active'] = self.arrowColorActiveInverted;
|
|
227
|
+
vars['--n-arrow-color-child-active'] =
|
|
228
228
|
self.arrowColorChildActiveInverted;
|
|
229
|
-
vars['--item-icon-color'] = self.itemIconColorInverted;
|
|
230
|
-
vars['--item-text-color-hover'] = self.itemTextColorHoverInverted;
|
|
231
|
-
vars['--item-icon-color-hover'] = self.itemIconColorHoverInverted;
|
|
232
|
-
vars['--item-text-color-active'] = self.itemTextColorActiveInverted;
|
|
233
|
-
vars['--item-icon-color-active'] = self.itemIconColorActiveInverted;
|
|
234
|
-
vars['--item-icon-color-collapsed'] =
|
|
229
|
+
vars['--n-item-icon-color'] = self.itemIconColorInverted;
|
|
230
|
+
vars['--n-item-text-color-hover'] = self.itemTextColorHoverInverted;
|
|
231
|
+
vars['--n-item-icon-color-hover'] = self.itemIconColorHoverInverted;
|
|
232
|
+
vars['--n-item-text-color-active'] = self.itemTextColorActiveInverted;
|
|
233
|
+
vars['--n-item-icon-color-active'] = self.itemIconColorActiveInverted;
|
|
234
|
+
vars['--n-item-icon-color-collapsed'] =
|
|
235
235
|
self.itemIconColorCollapsedInverted;
|
|
236
|
-
vars['--item-color-active'] = self.itemColorActiveInverted;
|
|
237
|
-
vars['--item-color-active-collapsed'] =
|
|
236
|
+
vars['--n-item-color-active'] = self.itemColorActiveInverted;
|
|
237
|
+
vars['--n-item-color-active-collapsed'] =
|
|
238
238
|
self.itemColorActiveCollapsedInverted;
|
|
239
|
-
vars['--item-text-color-child-active'] =
|
|
239
|
+
vars['--n-item-text-color-child-active'] =
|
|
240
240
|
self.itemTextColorChildActiveInverted;
|
|
241
|
-
vars['--item-icon-color-child-active'] =
|
|
241
|
+
vars['--n-item-icon-color-child-active'] =
|
|
242
242
|
self.itemIconColorChildActiveInverted;
|
|
243
243
|
}
|
|
244
244
|
else {
|
|
245
|
-
vars['--group-text-color'] = self.groupTextColor;
|
|
246
|
-
vars['--color'] = self.color;
|
|
247
|
-
vars['--item-text-color'] = self.itemTextColor;
|
|
248
|
-
vars['--arrow-color'] = self.arrowColor;
|
|
249
|
-
vars['--arrow-color-hover'] = self.arrowColorHover;
|
|
250
|
-
vars['--arrow-color-active'] = self.arrowColorActive;
|
|
251
|
-
vars['--arrow-color-child-active'] = self.arrowColorChildActive;
|
|
252
|
-
vars['--item-icon-color'] = self.itemIconColor;
|
|
253
|
-
vars['--item-text-color-hover'] = self.itemTextColorHover;
|
|
254
|
-
vars['--item-icon-color-hover'] = self.itemIconColorHover;
|
|
255
|
-
vars['--item-text-color-active'] = self.itemTextColorActive;
|
|
256
|
-
vars['--item-icon-color-active'] = self.itemIconColorActive;
|
|
257
|
-
vars['--item-icon-color-collapsed'] = self.itemIconColorCollapsed;
|
|
258
|
-
vars['--item-color-active'] = self.itemColorActive;
|
|
259
|
-
vars['--item-color-active-collapsed'] =
|
|
260
|
-
|
|
261
|
-
vars['--item-
|
|
245
|
+
vars['--n-group-text-color'] = self.groupTextColor;
|
|
246
|
+
vars['--n-color'] = self.color;
|
|
247
|
+
vars['--n-item-text-color'] = self.itemTextColor;
|
|
248
|
+
vars['--n-arrow-color'] = self.arrowColor;
|
|
249
|
+
vars['--n-arrow-color-hover'] = self.arrowColorHover;
|
|
250
|
+
vars['--n-arrow-color-active'] = self.arrowColorActive;
|
|
251
|
+
vars['--n-arrow-color-child-active'] = self.arrowColorChildActive;
|
|
252
|
+
vars['--n-item-icon-color'] = self.itemIconColor;
|
|
253
|
+
vars['--n-item-text-color-hover'] = self.itemTextColorHover;
|
|
254
|
+
vars['--n-item-icon-color-hover'] = self.itemIconColorHover;
|
|
255
|
+
vars['--n-item-text-color-active'] = self.itemTextColorActive;
|
|
256
|
+
vars['--n-item-icon-color-active'] = self.itemIconColorActive;
|
|
257
|
+
vars['--n-item-icon-color-collapsed'] = self.itemIconColorCollapsed;
|
|
258
|
+
vars['--n-item-color-active'] = self.itemColorActive;
|
|
259
|
+
vars['--n-item-color-active-collapsed'] =
|
|
260
|
+
self.itemColorActiveCollapsed;
|
|
261
|
+
vars['--n-item-text-color-child-active'] =
|
|
262
|
+
self.itemTextColorChildActive;
|
|
263
|
+
vars['--n-item-icon-color-child-active'] =
|
|
264
|
+
self.itemIconColorChildActive;
|
|
262
265
|
}
|
|
263
266
|
return vars;
|
|
264
267
|
})
|
|
@@ -13,37 +13,37 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
13
13
|
const cssr_1 = require("../../../_utils/cssr");
|
|
14
14
|
|
|
15
15
|
const fade_in_height_expand_cssr_1 = __importDefault(require("../../../_styles/transitions/fade-in-height-expand.cssr")); // vars:
|
|
16
|
-
// --color
|
|
17
|
-
// --group-text-color
|
|
18
|
-
// --bezier
|
|
19
|
-
// --font-size
|
|
20
|
-
// --border-color-horizontal
|
|
21
|
-
// --border-radius
|
|
22
|
-
// --item-color-active
|
|
23
|
-
// --item-color-active-collapsed
|
|
24
|
-
// --arrow-color
|
|
25
|
-
// --arrow-color-hover
|
|
26
|
-
// --arrow-color-active
|
|
27
|
-
// --arrow-color-child-active
|
|
28
|
-
// --item-text-color
|
|
29
|
-
// --item-text-color-hover
|
|
30
|
-
// --item-text-color-active
|
|
31
|
-
// --item-text-color-child-active
|
|
32
|
-
// --item-icon-color
|
|
33
|
-
// --item-icon-color-hover
|
|
34
|
-
// --item-icon-color-active
|
|
35
|
-
// --item-icon-color-collapsed
|
|
36
|
-
// --item-icon-color-child-active
|
|
37
|
-
// --item-height
|
|
16
|
+
// --n-color
|
|
17
|
+
// --n-group-text-color
|
|
18
|
+
// --n-bezier
|
|
19
|
+
// --n-font-size
|
|
20
|
+
// --n-border-color-horizontal
|
|
21
|
+
// --n-border-radius
|
|
22
|
+
// --n-item-color-active
|
|
23
|
+
// --n-item-color-active-collapsed
|
|
24
|
+
// --n-arrow-color
|
|
25
|
+
// --n-arrow-color-hover
|
|
26
|
+
// --n-arrow-color-active
|
|
27
|
+
// --n-arrow-color-child-active
|
|
28
|
+
// --n-item-text-color
|
|
29
|
+
// --n-item-text-color-hover
|
|
30
|
+
// --n-item-text-color-active
|
|
31
|
+
// --n-item-text-color-child-active
|
|
32
|
+
// --n-item-icon-color
|
|
33
|
+
// --n-item-icon-color-hover
|
|
34
|
+
// --n-item-icon-color-active
|
|
35
|
+
// --n-item-icon-color-collapsed
|
|
36
|
+
// --n-item-icon-color-child-active
|
|
37
|
+
// --n-item-height
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
41
|
-
background-color: var(--color);
|
|
42
|
-
color: var(--item-text-color);
|
|
41
|
+
background-color: var(--n-color);
|
|
42
|
+
color: var(--n-item-text-color);
|
|
43
43
|
overflow: hidden;
|
|
44
|
-
transition: background-color .3s var(--bezier);
|
|
44
|
+
transition: background-color .3s var(--n-bezier);
|
|
45
45
|
box-sizing: border-box;
|
|
46
|
-
font-size: var(--font-size);
|
|
46
|
+
font-size: var(--n-font-size);
|
|
47
47
|
padding-bottom: 6px;
|
|
48
48
|
`, [(0, cssr_1.cM)('horizontal', {
|
|
49
49
|
display: 'inline-flex',
|
|
@@ -55,25 +55,25 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
55
55
|
}, [(0, cssr_1.c)('&::before', {
|
|
56
56
|
backgroundColor: '#0000 !important'
|
|
57
57
|
}), (0, cssr_1.cM)('selected', [(0, cssr_1.cB)('menu-item-content', {
|
|
58
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
58
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
59
59
|
})])]), (0, cssr_1.cB)('menu-item-content', {
|
|
60
60
|
padding: '0 20px',
|
|
61
61
|
borderBottom: '2px solid #0000'
|
|
62
62
|
}, [(0, cssr_1.cM)('child-active', {
|
|
63
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
63
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
64
64
|
}), (0, cssr_1.cNotM)('disabled', [hoverStyle({
|
|
65
|
-
borderBottom: '2px solid var(--border-color-horizontal)'
|
|
65
|
+
borderBottom: '2px solid var(--n-border-color-horizontal)'
|
|
66
66
|
}, null)])])]), (0, cssr_1.cM)('collapsed', [(0, cssr_1.cB)('menu-item', [(0, cssr_1.cM)('selected', [(0, cssr_1.c)('&::before', {
|
|
67
|
-
backgroundColor: 'var(--item-color-active-collapsed) !important'
|
|
67
|
+
backgroundColor: 'var(--n-item-color-active-collapsed) !important'
|
|
68
68
|
})])]), (0, cssr_1.cB)('menu-item-content', [(0, cssr_1.cB)('menu-item-content-header', {
|
|
69
69
|
opacity: 0
|
|
70
70
|
}), (0, cssr_1.cE)('arrow', {
|
|
71
71
|
opacity: 0
|
|
72
72
|
}), (0, cssr_1.cE)('icon', {
|
|
73
|
-
color: 'var(--item-icon-color-collapsed)'
|
|
73
|
+
color: 'var(--n-item-icon-color-collapsed)'
|
|
74
74
|
})])]), (0, cssr_1.cB)('menu-item', `
|
|
75
|
-
transition: background-color .3s var(--bezier);
|
|
76
|
-
height: var(--item-height);
|
|
75
|
+
transition: background-color .3s var(--n-bezier);
|
|
76
|
+
height: var(--n-item-height);
|
|
77
77
|
margin-top: 6px;
|
|
78
78
|
position: relative;
|
|
79
79
|
`, [(0, cssr_1.c)('&::before', `
|
|
@@ -86,20 +86,20 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
86
86
|
top: 0;
|
|
87
87
|
bottom: 0;
|
|
88
88
|
pointer-events: none;
|
|
89
|
-
border-radius: var(--border-radius);
|
|
90
|
-
transition: background-color .3s var(--bezier);
|
|
89
|
+
border-radius: var(--n-border-radius);
|
|
90
|
+
transition: background-color .3s var(--n-bezier);
|
|
91
91
|
`), (0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:active::before', {
|
|
92
|
-
backgroundColor: 'var(--item-color-active)'
|
|
92
|
+
backgroundColor: 'var(--n-item-color-active)'
|
|
93
93
|
})]), (0, cssr_1.cM)('selected', [(0, cssr_1.c)('&::before', {
|
|
94
|
-
backgroundColor: 'var(--item-color-active)'
|
|
94
|
+
backgroundColor: 'var(--n-item-color-active)'
|
|
95
95
|
}), (0, cssr_1.cB)('menu-item-content', [(0, cssr_1.cE)('arrow', {
|
|
96
|
-
color: 'var(--arrow-color-active)'
|
|
96
|
+
color: 'var(--n-arrow-color-active)'
|
|
97
97
|
}), (0, cssr_1.cE)('icon', {
|
|
98
|
-
color: 'var(--item-icon-color-active)'
|
|
98
|
+
color: 'var(--n-item-icon-color-active)'
|
|
99
99
|
}), (0, cssr_1.cB)('menu-item-content-header', {
|
|
100
|
-
color: 'var(--item-text-color-active)'
|
|
100
|
+
color: 'var(--n-item-text-color-active)'
|
|
101
101
|
}, [(0, cssr_1.cE)('extra', {
|
|
102
|
-
color: 'var(--item-text-color-active)'
|
|
102
|
+
color: 'var(--n-item-text-color-active)'
|
|
103
103
|
})])])])]), (0, cssr_1.cB)('menu-item-content', `
|
|
104
104
|
box-sizing: border-box;
|
|
105
105
|
line-height: 1.75;
|
|
@@ -113,37 +113,37 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
113
113
|
z-index: auto;
|
|
114
114
|
padding-right: 18px;
|
|
115
115
|
transition:
|
|
116
|
-
background-color .3s var(--bezier),
|
|
117
|
-
padding-left .3s var(--bezier),
|
|
118
|
-
border-color .3s var(--bezier);
|
|
116
|
+
background-color .3s var(--n-bezier),
|
|
117
|
+
padding-left .3s var(--n-bezier),
|
|
118
|
+
border-color .3s var(--n-bezier);
|
|
119
119
|
`, [(0, cssr_1.cM)('disabled', {
|
|
120
120
|
opacity: '.45',
|
|
121
121
|
cursor: 'not-allowed'
|
|
122
122
|
}), (0, cssr_1.cM)('collapsed', [(0, cssr_1.cE)('arrow', {
|
|
123
123
|
transform: 'rotate(0)'
|
|
124
124
|
})]), (0, cssr_1.cM)('child-active', [(0, cssr_1.cB)('menu-item-content-header', {
|
|
125
|
-
color: 'var(--item-text-color-child-active)'
|
|
125
|
+
color: 'var(--n-item-text-color-child-active)'
|
|
126
126
|
}, [(0, cssr_1.cE)('extra', {
|
|
127
|
-
color: 'var(--item-text-color-child-active)'
|
|
127
|
+
color: 'var(--n-item-text-color-child-active)'
|
|
128
128
|
})]), (0, cssr_1.cE)('arrow', {
|
|
129
|
-
color: 'var(--arrow-color-child-active)'
|
|
129
|
+
color: 'var(--n-arrow-color-child-active)'
|
|
130
130
|
}), (0, cssr_1.cE)('icon', {
|
|
131
|
-
color: 'var(--item-icon-color-child-active)'
|
|
131
|
+
color: 'var(--n-item-icon-color-child-active)'
|
|
132
132
|
})]), (0, cssr_1.cNotM)('disabled', [hoverStyle(null, [(0, cssr_1.cE)('arrow', {
|
|
133
|
-
color: 'var(--arrow-color-hover)'
|
|
133
|
+
color: 'var(--n-arrow-color-hover)'
|
|
134
134
|
}), (0, cssr_1.cE)('icon', {
|
|
135
|
-
color: 'var(--item-icon-color-hover)'
|
|
135
|
+
color: 'var(--n-item-icon-color-hover)'
|
|
136
136
|
}), (0, cssr_1.cB)('menu-item-content-header', {
|
|
137
|
-
color: 'var(--item-text-color-hover)'
|
|
137
|
+
color: 'var(--n-item-text-color-hover)'
|
|
138
138
|
}, [(0, cssr_1.cE)('extra', {
|
|
139
|
-
color: 'var(--item-text-color-hover)'
|
|
139
|
+
color: 'var(--n-item-text-color-hover)'
|
|
140
140
|
})])])]), (0, cssr_1.cE)('icon', `
|
|
141
141
|
grid-area: icon;
|
|
142
|
-
color: var(--item-icon-color);
|
|
142
|
+
color: var(--n-item-icon-color);
|
|
143
143
|
transition:
|
|
144
|
-
color .3s var(--bezier),
|
|
145
|
-
font-size .3s var(--bezier),
|
|
146
|
-
margin-right .3s var(--bezier);
|
|
144
|
+
color .3s var(--n-bezier),
|
|
145
|
+
font-size .3s var(--n-bezier),
|
|
146
|
+
margin-right .3s var(--n-bezier);
|
|
147
147
|
box-sizing: content-box;
|
|
148
148
|
display: inline-flex;
|
|
149
149
|
align-items: center;
|
|
@@ -151,23 +151,23 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
151
151
|
`), (0, cssr_1.cE)('arrow', `
|
|
152
152
|
grid-area: arrow;
|
|
153
153
|
font-size: 16px;
|
|
154
|
-
color: var(--arrow-color);
|
|
154
|
+
color: var(--n-arrow-color);
|
|
155
155
|
transform: rotate(180deg);
|
|
156
156
|
opacity: 1;
|
|
157
157
|
transition:
|
|
158
|
-
color .3s var(--bezier),
|
|
159
|
-
transform 0.2s var(--bezier),
|
|
160
|
-
opacity 0.2s var(--bezier);
|
|
158
|
+
color .3s var(--n-bezier),
|
|
159
|
+
transform 0.2s var(--n-bezier),
|
|
160
|
+
opacity 0.2s var(--n-bezier);
|
|
161
161
|
`), (0, cssr_1.cB)('menu-item-content-header', `
|
|
162
162
|
grid-area: content;
|
|
163
163
|
transition:
|
|
164
|
-
color .3s var(--bezier),
|
|
165
|
-
opacity .3s var(--bezier);
|
|
164
|
+
color .3s var(--n-bezier),
|
|
165
|
+
opacity .3s var(--n-bezier);
|
|
166
166
|
opacity: 1;
|
|
167
167
|
white-space: nowrap;
|
|
168
168
|
overflow: hidden;
|
|
169
169
|
text-overflow: ellipsis;
|
|
170
|
-
color: var(--item-text-color);
|
|
170
|
+
color: var(--n-item-text-color);
|
|
171
171
|
`, [(0, cssr_1.c)('a', `
|
|
172
172
|
text-decoration: none;
|
|
173
173
|
color: inherit;
|
|
@@ -180,14 +180,14 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
180
180
|
bottom: 0;
|
|
181
181
|
`)]), (0, cssr_1.cE)('extra', `
|
|
182
182
|
font-size: .93em;
|
|
183
|
-
color: var(--group-text-color);
|
|
184
|
-
transition: color .3s var(--bezier);
|
|
183
|
+
color: var(--n-group-text-color);
|
|
184
|
+
transition: color .3s var(--n-bezier);
|
|
185
185
|
`)])]), (0, cssr_1.cB)('submenu', {
|
|
186
186
|
cursor: 'pointer',
|
|
187
187
|
position: 'relative',
|
|
188
188
|
marginTop: '6px'
|
|
189
189
|
}, [(0, cssr_1.cB)('menu-item-content', `
|
|
190
|
-
height: var(--item-height);
|
|
190
|
+
height: var(--n-item-height);
|
|
191
191
|
`), (0, cssr_1.cB)('submenu-children', {
|
|
192
192
|
overflow: 'hidden',
|
|
193
193
|
padding: 0
|
|
@@ -195,21 +195,21 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('menu', `
|
|
|
195
195
|
duration: '.2s'
|
|
196
196
|
})])]), (0, cssr_1.cB)('menu-item-group', [(0, cssr_1.cB)('menu-item-group-title', `
|
|
197
197
|
margin-top: 6px;
|
|
198
|
-
color: var(--group-text-color);
|
|
198
|
+
color: var(--n-group-text-color);
|
|
199
199
|
cursor: default;
|
|
200
200
|
font-size: .93em;
|
|
201
201
|
height: 36px;
|
|
202
202
|
display: flex;
|
|
203
203
|
align-items: center;
|
|
204
204
|
transition:
|
|
205
|
-
padding-left .3s var(--bezier),
|
|
206
|
-
color .3s var(--bezier);
|
|
205
|
+
padding-left .3s var(--n-bezier),
|
|
206
|
+
color .3s var(--n-bezier);
|
|
207
207
|
`)])]), (0, cssr_1.cB)('menu-tooltip', [(0, cssr_1.c)('a', `
|
|
208
208
|
color: inherit;
|
|
209
209
|
text-decoration: none;
|
|
210
210
|
`)]), (0, cssr_1.cB)('menu-divider', `
|
|
211
|
-
transition: background-color .3s var(--bezier);
|
|
212
|
-
background-color: var(--divider-color);
|
|
211
|
+
transition: background-color .3s var(--n-bezier);
|
|
212
|
+
background-color: var(--n-divider-color);
|
|
213
213
|
height: 1px;
|
|
214
214
|
margin: 6px 18px;
|
|
215
215
|
`)]);
|