@apdesign/web-react 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +123 -0
- package/README.zh-CN.md +123 -0
- package/dist/arco-icon.min.js +8 -0
- package/dist/arco.development.js +8735 -0
- package/dist/arco.min.js +17 -0
- package/dist/css/arco.css +25560 -0
- package/dist/css/arco.min.css +1 -0
- package/dist/css/index.less +73 -0
- package/es/Affix/index.d.ts +10 -0
- package/es/Affix/index.js +172 -0
- package/es/Affix/interface.d.ts +52 -0
- package/es/Affix/interface.js +1 -0
- package/es/Affix/style/css.js +2 -0
- package/es/Affix/style/index.css +1 -0
- package/es/Affix/style/index.d.ts +2 -0
- package/es/Affix/style/index.js +2 -0
- package/es/Affix/style/index.less +8 -0
- package/es/Alert/index.d.ts +5 -0
- package/es/Alert/index.js +100 -0
- package/es/Alert/interface.d.ts +66 -0
- package/es/Alert/interface.js +1 -0
- package/es/Alert/style/css.js +2 -0
- package/es/Alert/style/index.css +1 -0
- package/es/Alert/style/index.d.ts +2 -0
- package/es/Alert/style/index.js +2 -0
- package/es/Alert/style/index.less +207 -0
- package/es/Alert/style/token.less +56 -0
- package/es/Anchor/anchor.d.ts +9 -0
- package/es/Anchor/anchor.js +275 -0
- package/es/Anchor/context.d.ts +11 -0
- package/es/Anchor/context.js +8 -0
- package/es/Anchor/index.d.ts +4 -0
- package/es/Anchor/index.js +2 -0
- package/es/Anchor/interface.d.ts +105 -0
- package/es/Anchor/interface.js +1 -0
- package/es/Anchor/link.d.ts +6 -0
- package/es/Anchor/link.js +69 -0
- package/es/Anchor/style/css.js +3 -0
- package/es/Anchor/style/direction.less +66 -0
- package/es/Anchor/style/index.css +1 -0
- package/es/Anchor/style/index.d.ts +3 -0
- package/es/Anchor/style/index.js +3 -0
- package/es/Anchor/style/index.less +130 -0
- package/es/Anchor/style/token.less +33 -0
- package/es/Anchor/utils.d.ts +4 -0
- package/es/Anchor/utils.js +42 -0
- package/es/AutoComplete/index.d.ts +12 -0
- package/es/AutoComplete/index.js +161 -0
- package/es/AutoComplete/interface.d.ts +127 -0
- package/es/AutoComplete/interface.js +1 -0
- package/es/AutoComplete/style/css.js +4 -0
- package/es/AutoComplete/style/index.css +1 -0
- package/es/AutoComplete/style/index.d.ts +4 -0
- package/es/AutoComplete/style/index.js +4 -0
- package/es/AutoComplete/style/index.less +44 -0
- package/es/AutoComplete/style/token.less +29 -0
- package/es/Avatar/avatar.d.ts +6 -0
- package/es/Avatar/avatar.js +81 -0
- package/es/Avatar/context.d.ts +4 -0
- package/es/Avatar/context.js +2 -0
- package/es/Avatar/group.d.ts +6 -0
- package/es/Avatar/group.js +67 -0
- package/es/Avatar/index.d.ts +8 -0
- package/es/Avatar/index.js +6 -0
- package/es/Avatar/interface.d.ts +95 -0
- package/es/Avatar/interface.js +1 -0
- package/es/Avatar/style/css.js +3 -0
- package/es/Avatar/style/index.css +1 -0
- package/es/Avatar/style/index.d.ts +3 -0
- package/es/Avatar/style/index.js +3 -0
- package/es/Avatar/style/index.less +148 -0
- package/es/Avatar/style/token.less +26 -0
- package/es/BackTop/index.d.ts +7 -0
- package/es/BackTop/index.js +93 -0
- package/es/BackTop/interface.d.ts +37 -0
- package/es/BackTop/interface.js +1 -0
- package/es/BackTop/style/css.js +2 -0
- package/es/BackTop/style/index.css +1 -0
- package/es/BackTop/style/index.d.ts +2 -0
- package/es/BackTop/style/index.js +2 -0
- package/es/BackTop/style/index.less +37 -0
- package/es/BackTop/style/token.less +12 -0
- package/es/Badge/count.d.ts +8 -0
- package/es/Badge/count.js +33 -0
- package/es/Badge/index.d.ts +5 -0
- package/es/Badge/index.js +114 -0
- package/es/Badge/interface.d.ts +57 -0
- package/es/Badge/interface.js +1 -0
- package/es/Badge/style/css.js +2 -0
- package/es/Badge/style/index.css +1 -0
- package/es/Badge/style/index.d.ts +2 -0
- package/es/Badge/style/index.js +2 -0
- package/es/Badge/style/index.less +176 -0
- package/es/Badge/style/token.less +30 -0
- package/es/Breadcrumb/index.d.ts +8 -0
- package/es/Breadcrumb/index.js +95 -0
- package/es/Breadcrumb/interface.d.ts +78 -0
- package/es/Breadcrumb/interface.js +1 -0
- package/es/Breadcrumb/item.d.ts +8 -0
- package/es/Breadcrumb/item.js +65 -0
- package/es/Breadcrumb/style/css.js +3 -0
- package/es/Breadcrumb/style/index.css +1 -0
- package/es/Breadcrumb/style/index.d.ts +3 -0
- package/es/Breadcrumb/style/index.js +3 -0
- package/es/Breadcrumb/style/index.less +88 -0
- package/es/Breadcrumb/style/token.less +23 -0
- package/es/Button/group.d.ts +5 -0
- package/es/Button/group.js +35 -0
- package/es/Button/index.d.ts +15 -0
- package/es/Button/index.js +132 -0
- package/es/Button/interface.d.ts +105 -0
- package/es/Button/interface.js +1 -0
- package/es/Button/style/css.js +2 -0
- package/es/Button/style/index.css +1 -0
- package/es/Button/style/index.d.ts +2 -0
- package/es/Button/style/index.js +2 -0
- package/es/Button/style/index.less +394 -0
- package/es/Button/style/token.less +326 -0
- package/es/Calendar/header/header.d.ts +2 -0
- package/es/Calendar/header/header.js +65 -0
- package/es/Calendar/header/panel-header.d.ts +2 -0
- package/es/Calendar/header/panel-header.js +28 -0
- package/es/Calendar/hooks/useCellClassName.d.ts +1 -0
- package/es/Calendar/hooks/useCellClassName.js +53 -0
- package/es/Calendar/index.d.ts +7 -0
- package/es/Calendar/index.js +142 -0
- package/es/Calendar/interface.d.ts +122 -0
- package/es/Calendar/interface.js +1 -0
- package/es/Calendar/month.d.ts +15 -0
- package/es/Calendar/month.js +133 -0
- package/es/Calendar/style/css.js +4 -0
- package/es/Calendar/style/index.css +1 -0
- package/es/Calendar/style/index.d.ts +4 -0
- package/es/Calendar/style/index.js +4 -0
- package/es/Calendar/style/index.less +475 -0
- package/es/Calendar/style/token.less +39 -0
- package/es/Calendar/week-list.d.ts +10 -0
- package/es/Calendar/week-list.js +17 -0
- package/es/Calendar/year.d.ts +13 -0
- package/es/Calendar/year.js +59 -0
- package/es/Card/grid.d.ts +5 -0
- package/es/Card/grid.js +13 -0
- package/es/Card/index.d.ts +10 -0
- package/es/Card/index.js +76 -0
- package/es/Card/interface.d.ts +99 -0
- package/es/Card/interface.js +1 -0
- package/es/Card/meta.d.ts +5 -0
- package/es/Card/meta.js +42 -0
- package/es/Card/style/css.js +3 -0
- package/es/Card/style/index.css +1 -0
- package/es/Card/style/index.d.ts +3 -0
- package/es/Card/style/index.js +3 -0
- package/es/Card/style/index.less +225 -0
- package/es/Card/style/token.less +38 -0
- package/es/Carousel/arrow.d.ts +4 -0
- package/es/Carousel/arrow.js +36 -0
- package/es/Carousel/index.d.ts +5 -0
- package/es/Carousel/index.js +288 -0
- package/es/Carousel/indicator.d.ts +4 -0
- package/es/Carousel/indicator.js +57 -0
- package/es/Carousel/interface.d.ts +144 -0
- package/es/Carousel/interface.js +1 -0
- package/es/Carousel/style/css.js +2 -0
- package/es/Carousel/style/index.css +1 -0
- package/es/Carousel/style/index.d.ts +2 -0
- package/es/Carousel/style/index.js +2 -0
- package/es/Carousel/style/index.less +535 -0
- package/es/Carousel/style/slide.less +345 -0
- package/es/Carousel/style/token.less +34 -0
- package/es/Cascader/base/node.d.ts +78 -0
- package/es/Cascader/base/node.js +201 -0
- package/es/Cascader/base/store.d.ts +43 -0
- package/es/Cascader/base/store.js +166 -0
- package/es/Cascader/cascader.d.ts +17 -0
- package/es/Cascader/cascader.js +344 -0
- package/es/Cascader/hook/useRefCurrent.d.ts +3 -0
- package/es/Cascader/hook/useRefCurrent.js +41 -0
- package/es/Cascader/index.d.ts +5 -0
- package/es/Cascader/index.js +3 -0
- package/es/Cascader/interface.d.ts +308 -0
- package/es/Cascader/interface.js +1 -0
- package/es/Cascader/panel/list.d.ts +4 -0
- package/es/Cascader/panel/list.js +383 -0
- package/es/Cascader/panel/option.d.ts +23 -0
- package/es/Cascader/panel/option.js +12 -0
- package/es/Cascader/panel/search-panel.d.ts +28 -0
- package/es/Cascader/panel/search-panel.js +206 -0
- package/es/Cascader/style/css.js +6 -0
- package/es/Cascader/style/index.css +1 -0
- package/es/Cascader/style/index.d.ts +6 -0
- package/es/Cascader/style/index.js +6 -0
- package/es/Cascader/style/index.less +219 -0
- package/es/Cascader/style/rtl.less +60 -0
- package/es/Cascader/style/token.less +25 -0
- package/es/Cascader/util.d.ts +24 -0
- package/es/Cascader/util.js +111 -0
- package/es/Checkbox/checkbox.d.ts +14 -0
- package/es/Checkbox/checkbox.js +122 -0
- package/es/Checkbox/group.d.ts +17 -0
- package/es/Checkbox/group.js +109 -0
- package/es/Checkbox/icon-check.d.ts +3 -0
- package/es/Checkbox/icon-check.js +6 -0
- package/es/Checkbox/index.d.ts +4 -0
- package/es/Checkbox/index.js +3 -0
- package/es/Checkbox/interface.d.ts +102 -0
- package/es/Checkbox/interface.js +1 -0
- package/es/Checkbox/style/css.js +2 -0
- package/es/Checkbox/style/index.css +1 -0
- package/es/Checkbox/style/index.d.ts +2 -0
- package/es/Checkbox/style/index.js +2 -0
- package/es/Checkbox/style/index.less +200 -0
- package/es/Checkbox/style/token.less +37 -0
- package/es/Checkbox/useCheckbox.d.ts +22 -0
- package/es/Checkbox/useCheckbox.js +103 -0
- package/es/Collapse/collapse.d.ts +14 -0
- package/es/Collapse/collapse.js +120 -0
- package/es/Collapse/index.d.ts +3 -0
- package/es/Collapse/index.js +2 -0
- package/es/Collapse/interface.d.ts +111 -0
- package/es/Collapse/interface.js +1 -0
- package/es/Collapse/item.d.ts +7 -0
- package/es/Collapse/item.js +101 -0
- package/es/Collapse/style/css.js +2 -0
- package/es/Collapse/style/index.css +1 -0
- package/es/Collapse/style/index.d.ts +2 -0
- package/es/Collapse/style/index.js +2 -0
- package/es/Collapse/style/index.less +189 -0
- package/es/Collapse/style/token.less +35 -0
- package/es/ColorPicker/colors.d.ts +1 -0
- package/es/ColorPicker/colors.js +24 -0
- package/es/ColorPicker/control-bar.d.ts +12 -0
- package/es/ColorPicker/control-bar.js +36 -0
- package/es/ColorPicker/hooks/useColorPicker.d.ts +30 -0
- package/es/ColorPicker/hooks/useColorPicker.js +94 -0
- package/es/ColorPicker/hooks/useControlBlock.d.ts +11 -0
- package/es/ColorPicker/hooks/useControlBlock.js +71 -0
- package/es/ColorPicker/index.d.ts +5 -0
- package/es/ColorPicker/index.js +59 -0
- package/es/ColorPicker/input-alpha.d.ts +7 -0
- package/es/ColorPicker/input-alpha.js +9 -0
- package/es/ColorPicker/input-hex.d.ts +11 -0
- package/es/ColorPicker/input-hex.js +59 -0
- package/es/ColorPicker/input-rgb.d.ts +10 -0
- package/es/ColorPicker/input-rgb.js +21 -0
- package/es/ColorPicker/interface.d.ts +126 -0
- package/es/ColorPicker/interface.js +1 -0
- package/es/ColorPicker/palette.d.ts +7 -0
- package/es/ColorPicker/palette.js +25 -0
- package/es/ColorPicker/panel.d.ts +20 -0
- package/es/ColorPicker/panel.js +114 -0
- package/es/ColorPicker/style/css.js +4 -0
- package/es/ColorPicker/style/index.css +1 -0
- package/es/ColorPicker/style/index.d.ts +4 -0
- package/es/ColorPicker/style/index.js +4 -0
- package/es/ColorPicker/style/index.less +310 -0
- package/es/ColorPicker/style/token.less +57 -0
- package/es/Comment/index.d.ts +7 -0
- package/es/Comment/index.js +50 -0
- package/es/Comment/interface.d.ts +41 -0
- package/es/Comment/interface.js +1 -0
- package/es/Comment/style/css.js +2 -0
- package/es/Comment/style/index.css +1 -0
- package/es/Comment/style/index.d.ts +2 -0
- package/es/Comment/style/index.js +2 -0
- package/es/Comment/style/index.less +94 -0
- package/es/Comment/style/token.less +17 -0
- package/es/ConfigProvider/context.d.ts +4 -0
- package/es/ConfigProvider/context.js +34 -0
- package/es/ConfigProvider/index.d.ts +11 -0
- package/es/ConfigProvider/index.js +98 -0
- package/es/ConfigProvider/interface.d.ts +248 -0
- package/es/ConfigProvider/interface.js +1 -0
- package/es/ConfigProvider/style/css.js +1 -0
- package/es/ConfigProvider/style/index.d.ts +1 -0
- package/es/ConfigProvider/style/index.js +1 -0
- package/es/ConfigProvider/util.d.ts +2 -0
- package/es/ConfigProvider/util.js +118 -0
- package/es/DatePicker/__test__/utils.d.ts +4 -0
- package/es/DatePicker/__test__/utils.js +34 -0
- package/es/DatePicker/context.d.ts +8 -0
- package/es/DatePicker/context.js +2 -0
- package/es/DatePicker/hooks/useCellClassName.d.ts +1 -0
- package/es/DatePicker/hooks/useCellClassName.js +107 -0
- package/es/DatePicker/index.d.ts +4 -0
- package/es/DatePicker/index.js +85 -0
- package/es/DatePicker/interface.d.ts +518 -0
- package/es/DatePicker/interface.js +1 -0
- package/es/DatePicker/panels/body.d.ts +30 -0
- package/es/DatePicker/panels/body.js +44 -0
- package/es/DatePicker/panels/date/index.d.ts +24 -0
- package/es/DatePicker/panels/date/index.js +159 -0
- package/es/DatePicker/panels/footer.d.ts +1 -0
- package/es/DatePicker/panels/footer.js +20 -0
- package/es/DatePicker/panels/header.d.ts +20 -0
- package/es/DatePicker/panels/header.js +54 -0
- package/es/DatePicker/panels/month/index.d.ts +17 -0
- package/es/DatePicker/panels/month/index.js +84 -0
- package/es/DatePicker/panels/quarter/index.d.ts +17 -0
- package/es/DatePicker/panels/quarter/index.js +64 -0
- package/es/DatePicker/panels/range/index.d.ts +28 -0
- package/es/DatePicker/panels/range/index.js +146 -0
- package/es/DatePicker/panels/shortcuts.d.ts +4 -0
- package/es/DatePicker/panels/shortcuts.js +25 -0
- package/es/DatePicker/panels/week/index.d.ts +16 -0
- package/es/DatePicker/panels/week/index.js +37 -0
- package/es/DatePicker/panels/week-list.d.ts +8 -0
- package/es/DatePicker/panels/week-list.js +12 -0
- package/es/DatePicker/panels/year/index.d.ts +16 -0
- package/es/DatePicker/panels/year/index.js +64 -0
- package/es/DatePicker/picker-range.d.ts +4 -0
- package/es/DatePicker/picker-range.js +685 -0
- package/es/DatePicker/picker.d.ts +18 -0
- package/es/DatePicker/picker.js +403 -0
- package/es/DatePicker/style/css.js +7 -0
- package/es/DatePicker/style/date.less +101 -0
- package/es/DatePicker/style/index.css +1 -0
- package/es/DatePicker/style/index.d.ts +7 -0
- package/es/DatePicker/style/index.js +7 -0
- package/es/DatePicker/style/index.less +302 -0
- package/es/DatePicker/style/month.less +26 -0
- package/es/DatePicker/style/quarter.less +8 -0
- package/es/DatePicker/style/range.less +9 -0
- package/es/DatePicker/style/rtl.less +54 -0
- package/es/DatePicker/style/shortcuts.less +25 -0
- package/es/DatePicker/style/token.less +60 -0
- package/es/DatePicker/style/week.less +68 -0
- package/es/DatePicker/style/year.less +8 -0
- package/es/DatePicker/util.d.ts +9 -0
- package/es/DatePicker/util.js +96 -0
- package/es/Descriptions/index.d.ts +7 -0
- package/es/Descriptions/index.js +151 -0
- package/es/Descriptions/interface.d.ts +79 -0
- package/es/Descriptions/interface.js +1 -0
- package/es/Descriptions/style/css.js +2 -0
- package/es/Descriptions/style/index.css +1 -0
- package/es/Descriptions/style/index.d.ts +2 -0
- package/es/Descriptions/style/index.js +2 -0
- package/es/Descriptions/style/index.less +213 -0
- package/es/Descriptions/style/token.less +45 -0
- package/es/Divider/index.d.ts +5 -0
- package/es/Divider/index.js +45 -0
- package/es/Divider/interface.d.ts +21 -0
- package/es/Divider/interface.js +1 -0
- package/es/Divider/style/css.js +2 -0
- package/es/Divider/style/index.css +1 -0
- package/es/Divider/style/index.d.ts +2 -0
- package/es/Divider/style/index.js +2 -0
- package/es/Divider/style/index.less +63 -0
- package/es/Divider/style/token.less +15 -0
- package/es/Drawer/index.d.ts +5 -0
- package/es/Drawer/index.js +201 -0
- package/es/Drawer/interface.d.ts +185 -0
- package/es/Drawer/interface.js +1 -0
- package/es/Drawer/style/css.js +3 -0
- package/es/Drawer/style/index.css +1 -0
- package/es/Drawer/style/index.d.ts +3 -0
- package/es/Drawer/style/index.js +3 -0
- package/es/Drawer/style/index.less +137 -0
- package/es/Drawer/style/token.less +16 -0
- package/es/Dropdown/button.d.ts +5 -0
- package/es/Dropdown/button.js +72 -0
- package/es/Dropdown/index.d.ts +8 -0
- package/es/Dropdown/index.js +170 -0
- package/es/Dropdown/interface.d.ts +109 -0
- package/es/Dropdown/interface.js +1 -0
- package/es/Dropdown/style/css.js +4 -0
- package/es/Dropdown/style/index.css +1 -0
- package/es/Dropdown/style/index.d.ts +4 -0
- package/es/Dropdown/style/index.js +4 -0
- package/es/Dropdown/style/index.less +182 -0
- package/es/Dropdown/style/token.less +57 -0
- package/es/Empty/index.d.ts +5 -0
- package/es/Empty/index.js +43 -0
- package/es/Empty/interface.d.ts +23 -0
- package/es/Empty/interface.js +1 -0
- package/es/Empty/style/css.js +2 -0
- package/es/Empty/style/index.css +1 -0
- package/es/Empty/style/index.d.ts +2 -0
- package/es/Empty/style/index.js +2 -0
- package/es/Empty/style/index.less +32 -0
- package/es/Empty/style/token.less +7 -0
- package/es/Form/context.d.ts +14 -0
- package/es/Form/context.js +37 -0
- package/es/Form/control.d.ts +66 -0
- package/es/Form/control.js +434 -0
- package/es/Form/form-item.d.ts +7 -0
- package/es/Form/form-item.js +263 -0
- package/es/Form/form-label.d.ts +9 -0
- package/es/Form/form-label.js +72 -0
- package/es/Form/form-list.d.ts +6 -0
- package/es/Form/form-list.js +148 -0
- package/es/Form/form-provider.d.ts +4 -0
- package/es/Form/form-provider.js +33 -0
- package/es/Form/form.d.ts +8 -0
- package/es/Form/form.js +159 -0
- package/es/Form/hooks/useContext.d.ts +10 -0
- package/es/Form/hooks/useContext.js +42 -0
- package/es/Form/hooks/useState.d.ts +3 -0
- package/es/Form/hooks/useState.js +56 -0
- package/es/Form/hooks/useWatch.d.ts +3 -0
- package/es/Form/hooks/useWatch.js +63 -0
- package/es/Form/index.d.ts +24 -0
- package/es/Form/index.js +19 -0
- package/es/Form/interface.d.ts +533 -0
- package/es/Form/interface.js +15 -0
- package/es/Form/promisify.d.ts +2 -0
- package/es/Form/promisify.js +50 -0
- package/es/Form/store.d.ts +95 -0
- package/es/Form/store.js +526 -0
- package/es/Form/style/css.js +3 -0
- package/es/Form/style/index.css +1 -0
- package/es/Form/style/index.d.ts +3 -0
- package/es/Form/style/index.js +3 -0
- package/es/Form/style/index.less +242 -0
- package/es/Form/style/status.less +237 -0
- package/es/Form/style/token.less +76 -0
- package/es/Form/useForm.d.ts +3 -0
- package/es/Form/useForm.js +57 -0
- package/es/Form/utils.d.ts +14 -0
- package/es/Form/utils.js +198 -0
- package/es/Grid/col.d.ts +5 -0
- package/es/Grid/col.js +93 -0
- package/es/Grid/context.d.ts +20 -0
- package/es/Grid/context.js +4 -0
- package/es/Grid/grid-item.d.ts +7 -0
- package/es/Grid/grid-item.js +91 -0
- package/es/Grid/grid.d.ts +5 -0
- package/es/Grid/grid.js +134 -0
- package/es/Grid/hooks/useResponsiveState.d.ts +2 -0
- package/es/Grid/hooks/useResponsiveState.js +63 -0
- package/es/Grid/index.d.ts +11 -0
- package/es/Grid/index.js +9 -0
- package/es/Grid/interface.d.ts +239 -0
- package/es/Grid/interface.js +1 -0
- package/es/Grid/row.d.ts +5 -0
- package/es/Grid/row.js +121 -0
- package/es/Grid/style/col.less +148 -0
- package/es/Grid/style/css.js +2 -0
- package/es/Grid/style/grid.less +11 -0
- package/es/Grid/style/index.css +1 -0
- package/es/Grid/style/index.d.ts +2 -0
- package/es/Grid/style/index.js +2 -0
- package/es/Grid/style/index.less +3 -0
- package/es/Grid/style/row.less +44 -0
- package/es/Grid/utils.d.ts +11 -0
- package/es/Grid/utils.js +51 -0
- package/es/Icon/addFromIconFontCn.d.ts +9 -0
- package/es/Icon/addFromIconFontCn.js +57 -0
- package/es/Icon/index.d.ts +25 -0
- package/es/Icon/index.js +72 -0
- package/es/Icon/style/css.js +0 -0
- package/es/Icon/style/index.d.ts +0 -0
- package/es/Icon/style/index.js +0 -0
- package/es/Image/image-footer.d.ts +13 -0
- package/es/Image/image-footer.js +50 -0
- package/es/Image/image-preview-arrow.d.ts +9 -0
- package/es/Image/image-preview-arrow.js +30 -0
- package/es/Image/image-preview-group.d.ts +10 -0
- package/es/Image/image-preview-group.js +173 -0
- package/es/Image/image-preview-toolbar.d.ts +14 -0
- package/es/Image/image-preview-toolbar.js +111 -0
- package/es/Image/image-preview.d.ts +7 -0
- package/es/Image/image-preview.js +451 -0
- package/es/Image/image.d.ts +11 -0
- package/es/Image/image.js +195 -0
- package/es/Image/index.d.ts +3 -0
- package/es/Image/index.js +2 -0
- package/es/Image/interface.d.ts +274 -0
- package/es/Image/interface.js +1 -0
- package/es/Image/previewGroupContext.d.ts +25 -0
- package/es/Image/previewGroupContext.js +14 -0
- package/es/Image/style/css.js +2 -0
- package/es/Image/style/image.less +226 -0
- package/es/Image/style/index.css +1 -0
- package/es/Image/style/index.d.ts +2 -0
- package/es/Image/style/index.js +2 -0
- package/es/Image/style/index.less +6 -0
- package/es/Image/style/preview.less +248 -0
- package/es/Image/style/rtl.less +16 -0
- package/es/Image/style/token.less +120 -0
- package/es/Image/style/trigger.less +13 -0
- package/es/Image/trigger-for-toolbar.d.ts +10 -0
- package/es/Image/trigger-for-toolbar.js +8 -0
- package/es/Image/utils/getFixTranslate.d.ts +1 -0
- package/es/Image/utils/getFixTranslate.js +39 -0
- package/es/Image/utils/getScale.d.ts +13 -0
- package/es/Image/utils/getScale.js +80 -0
- package/es/Image/utils/hooks/useImageStatus.d.ts +11 -0
- package/es/Image/utils/hooks/useImageStatus.js +34 -0
- package/es/Image/utils/hooks/useShowFooter.d.ts +8 -0
- package/es/Image/utils/hooks/useShowFooter.js +7 -0
- package/es/Input/autoSizeTextAreaHeight.d.ts +5 -0
- package/es/Input/autoSizeTextAreaHeight.js +99 -0
- package/es/Input/group.d.ts +7 -0
- package/es/Input/group.js +37 -0
- package/es/Input/index.d.ts +7 -0
- package/es/Input/index.js +2 -0
- package/es/Input/input-element.d.ts +4 -0
- package/es/Input/input-element.js +227 -0
- package/es/Input/input.d.ts +17 -0
- package/es/Input/input.js +154 -0
- package/es/Input/interface.d.ts +325 -0
- package/es/Input/interface.js +1 -0
- package/es/Input/password.d.ts +5 -0
- package/es/Input/password.js +93 -0
- package/es/Input/search.d.ts +5 -0
- package/es/Input/search.js +77 -0
- package/es/Input/style/css.js +3 -0
- package/es/Input/style/index.css +1 -0
- package/es/Input/style/index.d.ts +3 -0
- package/es/Input/style/index.js +3 -0
- package/es/Input/style/index.less +404 -0
- package/es/Input/style/password.less +14 -0
- package/es/Input/style/rtl.less +141 -0
- package/es/Input/style/search.less +39 -0
- package/es/Input/style/size.less +200 -0
- package/es/Input/style/status.less +42 -0
- package/es/Input/style/textarea.less +48 -0
- package/es/Input/style/token.less +129 -0
- package/es/Input/textarea.d.ts +12 -0
- package/es/Input/textarea.js +169 -0
- package/es/Input/useComposition.d.ts +17 -0
- package/es/Input/useComposition.js +72 -0
- package/es/InputNumber/Decimal.d.ts +21 -0
- package/es/InputNumber/Decimal.js +194 -0
- package/es/InputNumber/index.d.ts +6 -0
- package/es/InputNumber/index.js +248 -0
- package/es/InputNumber/interface.d.ts +141 -0
- package/es/InputNumber/interface.js +1 -0
- package/es/InputNumber/style/css.js +3 -0
- package/es/InputNumber/style/index.css +1 -0
- package/es/InputNumber/style/index.d.ts +3 -0
- package/es/InputNumber/style/index.js +3 -0
- package/es/InputNumber/style/index.less +170 -0
- package/es/InputNumber/style/token.less +21 -0
- package/es/InputNumber/useSelectionRange.d.ts +4 -0
- package/es/InputNumber/useSelectionRange.js +26 -0
- package/es/InputNumber/utils.d.ts +28 -0
- package/es/InputNumber/utils.js +113 -0
- package/es/InputTag/index.d.ts +3 -0
- package/es/InputTag/index.js +2 -0
- package/es/InputTag/input-tag.d.ts +9 -0
- package/es/InputTag/input-tag.js +503 -0
- package/es/InputTag/interface.d.ts +215 -0
- package/es/InputTag/interface.js +1 -0
- package/es/InputTag/style/css.js +3 -0
- package/es/InputTag/style/index.css +1 -0
- package/es/InputTag/style/index.d.ts +3 -0
- package/es/InputTag/style/index.js +3 -0
- package/es/InputTag/style/index.less +364 -0
- package/es/InputTag/style/mixin.less +23 -0
- package/es/InputTag/style/token.less +103 -0
- package/es/Layout/content.d.ts +4 -0
- package/es/Layout/content.js +35 -0
- package/es/Layout/footer.d.ts +4 -0
- package/es/Layout/footer.js +35 -0
- package/es/Layout/header.d.ts +4 -0
- package/es/Layout/header.js +35 -0
- package/es/Layout/index.d.ts +17 -0
- package/es/Layout/index.js +87 -0
- package/es/Layout/interface.d.ts +121 -0
- package/es/Layout/interface.js +1 -0
- package/es/Layout/sider.d.ts +10 -0
- package/es/Layout/sider.js +143 -0
- package/es/Layout/style/css.js +4 -0
- package/es/Layout/style/index.css +1 -0
- package/es/Layout/style/index.d.ts +4 -0
- package/es/Layout/style/index.js +4 -0
- package/es/Layout/style/index.less +102 -0
- package/es/Layout/style/token.less +13 -0
- package/es/Link/index.d.ts +5 -0
- package/es/Link/index.js +63 -0
- package/es/Link/interface.d.ts +30 -0
- package/es/Link/interface.js +1 -0
- package/es/Link/style/css.js +2 -0
- package/es/Link/style/index.css +1 -0
- package/es/Link/style/index.d.ts +2 -0
- package/es/Link/style/index.js +2 -0
- package/es/Link/style/index.less +107 -0
- package/es/Link/style/token.less +33 -0
- package/es/List/index.d.ts +12 -0
- package/es/List/index.js +232 -0
- package/es/List/interface.d.ts +192 -0
- package/es/List/interface.js +1 -0
- package/es/List/item.d.ts +7 -0
- package/es/List/item.js +62 -0
- package/es/List/meta.d.ts +4 -0
- package/es/List/meta.js +41 -0
- package/es/List/style/css.js +6 -0
- package/es/List/style/index.css +1 -0
- package/es/List/style/index.d.ts +6 -0
- package/es/List/style/index.js +6 -0
- package/es/List/style/index.less +208 -0
- package/es/List/style/token.less +49 -0
- package/es/Mentions/index.d.ts +5 -0
- package/es/Mentions/index.js +152 -0
- package/es/Mentions/interface.d.ts +92 -0
- package/es/Mentions/interface.js +1 -0
- package/es/Mentions/style/css.js +2 -0
- package/es/Mentions/style/index.css +1 -0
- package/es/Mentions/style/index.d.ts +2 -0
- package/es/Mentions/style/index.js +2 -0
- package/es/Mentions/style/index.less +39 -0
- package/es/Mentions/style/token.less +6 -0
- package/es/Mentions/utils.d.ts +9 -0
- package/es/Mentions/utils.js +21 -0
- package/es/Menu/context.d.ts +16 -0
- package/es/Menu/context.js +3 -0
- package/es/Menu/indent.d.ts +5 -0
- package/es/Menu/indent.js +35 -0
- package/es/Menu/index.d.ts +13 -0
- package/es/Menu/index.js +202 -0
- package/es/Menu/interface.d.ts +233 -0
- package/es/Menu/interface.js +1 -0
- package/es/Menu/item-group.d.ts +6 -0
- package/es/Menu/item-group.js +21 -0
- package/es/Menu/item.d.ts +6 -0
- package/es/Menu/item.js +84 -0
- package/es/Menu/overflow-wrap.d.ts +9 -0
- package/es/Menu/overflow-wrap.js +131 -0
- package/es/Menu/style/css.js +4 -0
- package/es/Menu/style/index.css +1 -0
- package/es/Menu/style/index.d.ts +4 -0
- package/es/Menu/style/index.js +4 -0
- package/es/Menu/style/index.less +581 -0
- package/es/Menu/style/token.less +99 -0
- package/es/Menu/sub-menu/index.d.ts +6 -0
- package/es/Menu/sub-menu/index.js +34 -0
- package/es/Menu/sub-menu/inline.d.ts +5 -0
- package/es/Menu/sub-menu/inline.js +154 -0
- package/es/Menu/sub-menu/pop.d.ts +5 -0
- package/es/Menu/sub-menu/pop.js +99 -0
- package/es/Menu/util.d.ts +16 -0
- package/es/Menu/util.js +134 -0
- package/es/Message/index.d.ts +30 -0
- package/es/Message/index.js +189 -0
- package/es/Message/interface.d.ts +83 -0
- package/es/Message/interface.js +1 -0
- package/es/Message/style/css.js +2 -0
- package/es/Message/style/index.css +1 -0
- package/es/Message/style/index.d.ts +2 -0
- package/es/Message/style/index.js +2 -0
- package/es/Message/style/index.less +193 -0
- package/es/Message/style/token.less +54 -0
- package/es/Message/useMessage.d.ts +5 -0
- package/es/Message/useMessage.js +71 -0
- package/es/Modal/config.d.ts +10 -0
- package/es/Modal/config.js +28 -0
- package/es/Modal/confirm.d.ts +14 -0
- package/es/Modal/confirm.js +142 -0
- package/es/Modal/index.d.ts +2 -0
- package/es/Modal/index.js +2 -0
- package/es/Modal/interface.d.ts +190 -0
- package/es/Modal/interface.js +1 -0
- package/es/Modal/locale.d.ts +0 -0
- package/es/Modal/locale.js +0 -0
- package/es/Modal/modal.d.ts +18 -0
- package/es/Modal/modal.js +324 -0
- package/es/Modal/style/css.js +3 -0
- package/es/Modal/style/index.css +1 -0
- package/es/Modal/style/index.d.ts +3 -0
- package/es/Modal/style/index.js +3 -0
- package/es/Modal/style/index.less +255 -0
- package/es/Modal/style/token.less +36 -0
- package/es/Modal/useModal/hookModal.d.ts +8 -0
- package/es/Modal/useModal/hookModal.js +62 -0
- package/es/Modal/useModal/index.d.ts +4 -0
- package/es/Modal/useModal/index.js +63 -0
- package/es/Notification/index.d.ts +26 -0
- package/es/Notification/index.js +204 -0
- package/es/Notification/interface.d.ts +77 -0
- package/es/Notification/interface.js +1 -0
- package/es/Notification/style/css.js +2 -0
- package/es/Notification/style/index.css +1 -0
- package/es/Notification/style/index.d.ts +2 -0
- package/es/Notification/style/index.js +2 -0
- package/es/Notification/style/index.less +240 -0
- package/es/Notification/style/token.less +58 -0
- package/es/Notification/useNotification.d.ts +5 -0
- package/es/Notification/useNotification.js +68 -0
- package/es/PageHeader/index.d.ts +8 -0
- package/es/PageHeader/index.js +90 -0
- package/es/PageHeader/interface.d.ts +44 -0
- package/es/PageHeader/interface.js +1 -0
- package/es/PageHeader/style/css.js +3 -0
- package/es/PageHeader/style/index.css +1 -0
- package/es/PageHeader/style/index.d.ts +3 -0
- package/es/PageHeader/style/index.js +3 -0
- package/es/PageHeader/style/index.less +160 -0
- package/es/PageHeader/style/token.less +31 -0
- package/es/Pagination/index.d.ts +3 -0
- package/es/Pagination/index.js +2 -0
- package/es/Pagination/interface.d.ts +133 -0
- package/es/Pagination/interface.js +1 -0
- package/es/Pagination/page-item.d.ts +62 -0
- package/es/Pagination/page-item.js +143 -0
- package/es/Pagination/page-jumper.d.ts +13 -0
- package/es/Pagination/page-jumper.js +84 -0
- package/es/Pagination/page-options.d.ts +13 -0
- package/es/Pagination/page-options.js +29 -0
- package/es/Pagination/pagination.d.ts +11 -0
- package/es/Pagination/pagination.js +252 -0
- package/es/Pagination/style/css.js +4 -0
- package/es/Pagination/style/index.css +1 -0
- package/es/Pagination/style/index.d.ts +4 -0
- package/es/Pagination/style/index.js +4 -0
- package/es/Pagination/style/index.less +338 -0
- package/es/Pagination/style/token.less +72 -0
- package/es/Popconfirm/index.d.ts +7 -0
- package/es/Popconfirm/index.js +131 -0
- package/es/Popconfirm/interface.d.ts +128 -0
- package/es/Popconfirm/interface.js +1 -0
- package/es/Popconfirm/style/css.js +5 -0
- package/es/Popconfirm/style/index.css +1 -0
- package/es/Popconfirm/style/index.d.ts +5 -0
- package/es/Popconfirm/style/index.js +5 -0
- package/es/Popconfirm/style/index.less +75 -0
- package/es/Popconfirm/style/token.less +12 -0
- package/es/Popover/index.d.ts +7 -0
- package/es/Popover/index.js +49 -0
- package/es/Popover/interface.d.ts +20 -0
- package/es/Popover/interface.js +1 -0
- package/es/Popover/style/css.js +3 -0
- package/es/Popover/style/index.css +1 -0
- package/es/Popover/style/index.d.ts +3 -0
- package/es/Popover/style/index.js +3 -0
- package/es/Popover/style/index.less +52 -0
- package/es/Popover/style/token.less +13 -0
- package/es/Portal/Portal.d.ts +15 -0
- package/es/Portal/Portal.js +57 -0
- package/es/Portal/index.d.ts +19 -0
- package/es/Portal/index.js +48 -0
- package/es/Progress/circle-progress.d.ts +8 -0
- package/es/Progress/circle-progress.js +68 -0
- package/es/Progress/index.d.ts +5 -0
- package/es/Progress/index.js +71 -0
- package/es/Progress/interface.d.ts +87 -0
- package/es/Progress/interface.js +1 -0
- package/es/Progress/line-progess.d.ts +2 -0
- package/es/Progress/line-progess.js +62 -0
- package/es/Progress/steps-progress.d.ts +2 -0
- package/es/Progress/steps-progress.js +62 -0
- package/es/Progress/style/css.js +3 -0
- package/es/Progress/style/index.css +1 -0
- package/es/Progress/style/index.d.ts +3 -0
- package/es/Progress/style/index.js +3 -0
- package/es/Progress/style/index.less +429 -0
- package/es/Progress/style/token.less +59 -0
- package/es/Radio/group.d.ts +10 -0
- package/es/Radio/group.js +97 -0
- package/es/Radio/index.d.ts +5 -0
- package/es/Radio/index.js +3 -0
- package/es/Radio/interface.d.ts +103 -0
- package/es/Radio/interface.js +1 -0
- package/es/Radio/radio.d.ts +11 -0
- package/es/Radio/radio.js +107 -0
- package/es/Radio/style/css.js +2 -0
- package/es/Radio/style/index.css +1 -0
- package/es/Radio/style/index.d.ts +2 -0
- package/es/Radio/style/index.js +2 -0
- package/es/Radio/style/index.less +330 -0
- package/es/Radio/style/token.less +57 -0
- package/es/Rate/index.d.ts +5 -0
- package/es/Rate/index.js +161 -0
- package/es/Rate/interface.d.ts +70 -0
- package/es/Rate/interface.js +1 -0
- package/es/Rate/style/css.js +3 -0
- package/es/Rate/style/index.css +1 -0
- package/es/Rate/style/index.d.ts +3 -0
- package/es/Rate/style/index.js +3 -0
- package/es/Rate/style/index.less +116 -0
- package/es/Rate/style/token.less +13 -0
- package/es/ResizeBox/index.d.ts +13 -0
- package/es/ResizeBox/index.js +225 -0
- package/es/ResizeBox/interface.d.ts +264 -0
- package/es/ResizeBox/interface.js +1 -0
- package/es/ResizeBox/resize-trigger.d.ts +30 -0
- package/es/ResizeBox/resize-trigger.js +91 -0
- package/es/ResizeBox/split-group.d.ts +4 -0
- package/es/ResizeBox/split-group.js +321 -0
- package/es/ResizeBox/split.d.ts +5 -0
- package/es/ResizeBox/split.js +150 -0
- package/es/ResizeBox/style/css.js +2 -0
- package/es/ResizeBox/style/index.css +1 -0
- package/es/ResizeBox/style/index.d.ts +2 -0
- package/es/ResizeBox/style/index.js +2 -0
- package/es/ResizeBox/style/index.less +148 -0
- package/es/ResizeBox/style/token.less +5 -0
- package/es/Result/403.d.ts +1 -0
- package/es/Result/403.js +160 -0
- package/es/Result/404.d.ts +1 -0
- package/es/Result/404.js +126 -0
- package/es/Result/500.d.ts +1 -0
- package/es/Result/500.js +164 -0
- package/es/Result/index.d.ts +7 -0
- package/es/Result/index.js +69 -0
- package/es/Result/interface.d.ts +35 -0
- package/es/Result/interface.js +1 -0
- package/es/Result/style/css.js +2 -0
- package/es/Result/style/index.css +1 -0
- package/es/Result/style/index.d.ts +2 -0
- package/es/Result/style/index.js +2 -0
- package/es/Result/style/index.less +96 -0
- package/es/Result/style/token.less +30 -0
- package/es/Select/index.d.ts +3 -0
- package/es/Select/index.js +2 -0
- package/es/Select/interface.d.ts +315 -0
- package/es/Select/interface.js +1 -0
- package/es/Select/opt-group.d.ts +6 -0
- package/es/Select/opt-group.js +32 -0
- package/es/Select/option.d.ts +6 -0
- package/es/Select/option.js +73 -0
- package/es/Select/select.d.ts +10 -0
- package/es/Select/select.js +672 -0
- package/es/Select/style/css.js +6 -0
- package/es/Select/style/index.css +1 -0
- package/es/Select/style/index.d.ts +6 -0
- package/es/Select/style/index.js +6 -0
- package/es/Select/style/index.less +123 -0
- package/es/Select/style/mixin.less +418 -0
- package/es/Select/style/token.less +133 -0
- package/es/Select/utils.d.ts +26 -0
- package/es/Select/utils.js +189 -0
- package/es/Skeleton/image.d.ts +2 -0
- package/es/Skeleton/image.js +12 -0
- package/es/Skeleton/index.d.ts +7 -0
- package/es/Skeleton/index.js +54 -0
- package/es/Skeleton/interface.d.ts +50 -0
- package/es/Skeleton/interface.js +1 -0
- package/es/Skeleton/style/css.js +2 -0
- package/es/Skeleton/style/index.css +1 -0
- package/es/Skeleton/style/index.d.ts +2 -0
- package/es/Skeleton/style/index.js +2 -0
- package/es/Skeleton/style/index.less +99 -0
- package/es/Skeleton/style/token.less +13 -0
- package/es/Skeleton/text.d.ts +2 -0
- package/es/Skeleton/text.js +21 -0
- package/es/Slider/button.d.ts +21 -0
- package/es/Slider/button.js +178 -0
- package/es/Slider/dots.d.ts +17 -0
- package/es/Slider/dots.js +33 -0
- package/es/Slider/hooks/useInterval.d.ts +24 -0
- package/es/Slider/hooks/useInterval.js +125 -0
- package/es/Slider/hooks/useLegalValue.d.ts +15 -0
- package/es/Slider/hooks/useLegalValue.js +107 -0
- package/es/Slider/index.d.ts +5 -0
- package/es/Slider/index.js +351 -0
- package/es/Slider/input.d.ts +15 -0
- package/es/Slider/input.js +81 -0
- package/es/Slider/interface.d.ts +122 -0
- package/es/Slider/interface.js +1 -0
- package/es/Slider/marks.d.ts +16 -0
- package/es/Slider/marks.js +26 -0
- package/es/Slider/style/css.js +5 -0
- package/es/Slider/style/index.css +1 -0
- package/es/Slider/style/index.d.ts +5 -0
- package/es/Slider/style/index.js +5 -0
- package/es/Slider/style/index.less +326 -0
- package/es/Slider/style/rtl.less +19 -0
- package/es/Slider/style/token.less +51 -0
- package/es/Slider/ticks.d.ts +13 -0
- package/es/Slider/ticks.js +29 -0
- package/es/Slider/utils.d.ts +11 -0
- package/es/Slider/utils.js +86 -0
- package/es/Space/index.d.ts +5 -0
- package/es/Space/index.js +115 -0
- package/es/Space/interface.d.ts +38 -0
- package/es/Space/interface.js +1 -0
- package/es/Space/style/css.js +2 -0
- package/es/Space/style/index.css +1 -0
- package/es/Space/style/index.d.ts +2 -0
- package/es/Space/style/index.js +2 -0
- package/es/Space/style/index.less +35 -0
- package/es/Space/toArray.d.ts +1 -0
- package/es/Space/toArray.js +14 -0
- package/es/Spin/dot-loading.d.ts +5 -0
- package/es/Spin/dot-loading.js +43 -0
- package/es/Spin/index.d.ts +5 -0
- package/es/Spin/index.js +86 -0
- package/es/Spin/interface.d.ts +50 -0
- package/es/Spin/interface.js +1 -0
- package/es/Spin/style/css.js +2 -0
- package/es/Spin/style/index.css +1 -0
- package/es/Spin/style/index.d.ts +2 -0
- package/es/Spin/style/index.js +2 -0
- package/es/Spin/style/index.less +128 -0
- package/es/Spin/style/token.less +16 -0
- package/es/Statistic/countdown.d.ts +5 -0
- package/es/Statistic/countdown.js +68 -0
- package/es/Statistic/index.d.ts +8 -0
- package/es/Statistic/index.js +150 -0
- package/es/Statistic/interface.d.ts +139 -0
- package/es/Statistic/interface.js +1 -0
- package/es/Statistic/style/css.js +3 -0
- package/es/Statistic/style/index.css +1 -0
- package/es/Statistic/style/index.d.ts +3 -0
- package/es/Statistic/style/index.js +3 -0
- package/es/Statistic/style/index.less +66 -0
- package/es/Statistic/style/token.less +16 -0
- package/es/Statistic/util.d.ts +1 -0
- package/es/Statistic/util.js +42 -0
- package/es/Steps/index.d.ts +8 -0
- package/es/Steps/index.js +69 -0
- package/es/Steps/interface.d.ts +124 -0
- package/es/Steps/interface.js +1 -0
- package/es/Steps/step.d.ts +5 -0
- package/es/Steps/step.js +72 -0
- package/es/Steps/style/arrow.less +301 -0
- package/es/Steps/style/circle.less +358 -0
- package/es/Steps/style/css.js +2 -0
- package/es/Steps/style/dot.less +292 -0
- package/es/Steps/style/index.css +1 -0
- package/es/Steps/style/index.d.ts +2 -0
- package/es/Steps/style/index.js +2 -0
- package/es/Steps/style/index.less +80 -0
- package/es/Steps/style/navigation.less +85 -0
- package/es/Steps/style/token.less +137 -0
- package/es/Switch/index.d.ts +10 -0
- package/es/Switch/index.js +112 -0
- package/es/Switch/interface.d.ts +65 -0
- package/es/Switch/interface.js +1 -0
- package/es/Switch/style/css.js +2 -0
- package/es/Switch/style/index.css +1 -0
- package/es/Switch/style/index.d.ts +2 -0
- package/es/Switch/style/index.js +2 -0
- package/es/Switch/style/index.less +410 -0
- package/es/Switch/style/token.less +50 -0
- package/es/Table/__test__/common/columns.d.ts +11 -0
- package/es/Table/__test__/common/columns.js +193 -0
- package/es/Table/__test__/common/data.d.ts +29 -0
- package/es/Table/__test__/common/data.js +139 -0
- package/es/Table/colgroup.d.ts +13 -0
- package/es/Table/colgroup.js +46 -0
- package/es/Table/constant.d.ts +2 -0
- package/es/Table/constant.js +2 -0
- package/es/Table/hooks/useColumns.d.ts +3 -0
- package/es/Table/hooks/useColumns.js +191 -0
- package/es/Table/hooks/useComponent.d.ts +30 -0
- package/es/Table/hooks/useComponent.js +64 -0
- package/es/Table/hooks/useExpand.d.ts +3 -0
- package/es/Table/hooks/useExpand.js +66 -0
- package/es/Table/hooks/useRowSelection.d.ts +12 -0
- package/es/Table/hooks/useRowSelection.js +158 -0
- package/es/Table/hooks/useSorter.d.ts +7 -0
- package/es/Table/hooks/useSorter.js +122 -0
- package/es/Table/hooks/useStickyClassNames.d.ts +3 -0
- package/es/Table/hooks/useStickyClassNames.js +38 -0
- package/es/Table/hooks/useStickyOffsets.d.ts +3 -0
- package/es/Table/hooks/useStickyOffsets.js +66 -0
- package/es/Table/index.d.ts +8 -0
- package/es/Table/index.js +5 -0
- package/es/Table/interface.d.ts +704 -0
- package/es/Table/interface.js +1 -0
- package/es/Table/style/css.js +11 -0
- package/es/Table/style/filters-popup.less +45 -0
- package/es/Table/style/index.css +1 -0
- package/es/Table/style/index.d.ts +11 -0
- package/es/Table/style/index.js +11 -0
- package/es/Table/style/index.less +954 -0
- package/es/Table/style/token.less +96 -0
- package/es/Table/summary/cell.d.ts +12 -0
- package/es/Table/summary/cell.js +30 -0
- package/es/Table/summary/context.d.ts +10 -0
- package/es/Table/summary/context.js +2 -0
- package/es/Table/summary/index.d.ts +8 -0
- package/es/Table/summary/index.js +8 -0
- package/es/Table/summary/row.d.ts +7 -0
- package/es/Table/summary/row.js +56 -0
- package/es/Table/table.d.ts +10 -0
- package/es/Table/table.js +701 -0
- package/es/Table/tbody/index.d.ts +3 -0
- package/es/Table/tbody/index.js +119 -0
- package/es/Table/tbody/td.d.ts +25 -0
- package/es/Table/tbody/td.js +117 -0
- package/es/Table/tbody/tr.d.ts +16 -0
- package/es/Table/tbody/tr.js +140 -0
- package/es/Table/tfoot/index.d.ts +3 -0
- package/es/Table/tfoot/index.js +9 -0
- package/es/Table/thead/column.d.ts +3 -0
- package/es/Table/thead/column.js +220 -0
- package/es/Table/thead/index.d.ts +3 -0
- package/es/Table/thead/index.js +91 -0
- package/es/Table/utils.d.ts +17 -0
- package/es/Table/utils.js +211 -0
- package/es/Tabs/hook/useDomSize.d.ts +11 -0
- package/es/Tabs/hook/useDomSize.js +34 -0
- package/es/Tabs/hook/useHeaderScroll.d.ts +9 -0
- package/es/Tabs/hook/useHeaderScroll.js +86 -0
- package/es/Tabs/index.d.ts +4 -0
- package/es/Tabs/index.js +2 -0
- package/es/Tabs/interface.d.ts +213 -0
- package/es/Tabs/interface.js +1 -0
- package/es/Tabs/style/css.js +3 -0
- package/es/Tabs/style/index.css +1 -0
- package/es/Tabs/style/index.d.ts +3 -0
- package/es/Tabs/style/index.js +3 -0
- package/es/Tabs/style/index.less +779 -0
- package/es/Tabs/style/rtl.less +103 -0
- package/es/Tabs/style/token.less +137 -0
- package/es/Tabs/style/vertical.less +202 -0
- package/es/Tabs/tab-content.d.ts +9 -0
- package/es/Tabs/tab-content.js +34 -0
- package/es/Tabs/tab-header/dropdown-icon.d.ts +1 -0
- package/es/Tabs/tab-header/dropdown-icon.js +54 -0
- package/es/Tabs/tab-header/index.d.ts +4 -0
- package/es/Tabs/tab-header/index.js +305 -0
- package/es/Tabs/tab-header/tab-ink.d.ts +11 -0
- package/es/Tabs/tab-header/tab-ink.js +58 -0
- package/es/Tabs/tab-header/tab-nav-icon.d.ts +17 -0
- package/es/Tabs/tab-header/tab-nav-icon.js +79 -0
- package/es/Tabs/tab-header/tab-title.d.ts +17 -0
- package/es/Tabs/tab-header/tab-title.js +56 -0
- package/es/Tabs/tab-pane.d.ts +8 -0
- package/es/Tabs/tab-pane.js +38 -0
- package/es/Tabs/tabs.d.ts +18 -0
- package/es/Tabs/tabs.js +153 -0
- package/es/Tabs/utils.d.ts +12 -0
- package/es/Tabs/utils.js +37 -0
- package/es/Tag/index.d.ts +5 -0
- package/es/Tag/index.js +135 -0
- package/es/Tag/interface.d.ts +72 -0
- package/es/Tag/interface.js +1 -0
- package/es/Tag/style/css.js +2 -0
- package/es/Tag/style/index.css +1 -0
- package/es/Tag/style/index.d.ts +2 -0
- package/es/Tag/style/index.js +2 -0
- package/es/Tag/style/index.less +177 -0
- package/es/Tag/style/token.less +149 -0
- package/es/TimePicker/context.d.ts +7 -0
- package/es/TimePicker/context.js +2 -0
- package/es/TimePicker/index.d.ts +4 -0
- package/es/TimePicker/index.js +49 -0
- package/es/TimePicker/interface.d.ts +244 -0
- package/es/TimePicker/interface.js +1 -0
- package/es/TimePicker/picker.d.ts +15 -0
- package/es/TimePicker/picker.js +223 -0
- package/es/TimePicker/range-picker.d.ts +12 -0
- package/es/TimePicker/range-picker.js +56 -0
- package/es/TimePicker/style/css.js +5 -0
- package/es/TimePicker/style/index.css +1 -0
- package/es/TimePicker/style/index.d.ts +5 -0
- package/es/TimePicker/style/index.js +5 -0
- package/es/TimePicker/style/index.less +95 -0
- package/es/TimePicker/style/token.less +24 -0
- package/es/TimePicker/time-column.d.ts +17 -0
- package/es/TimePicker/time-column.js +55 -0
- package/es/TimePicker/time-picker.d.ts +24 -0
- package/es/TimePicker/time-picker.js +236 -0
- package/es/TimePicker/util.d.ts +7 -0
- package/es/TimePicker/util.js +55 -0
- package/es/Timeline/index.d.ts +3 -0
- package/es/Timeline/index.js +2 -0
- package/es/Timeline/interface.d.ts +95 -0
- package/es/Timeline/interface.js +1 -0
- package/es/Timeline/item.d.ts +7 -0
- package/es/Timeline/item.js +67 -0
- package/es/Timeline/style/css.js +2 -0
- package/es/Timeline/style/horizontal.less +82 -0
- package/es/Timeline/style/index.css +1 -0
- package/es/Timeline/style/index.d.ts +2 -0
- package/es/Timeline/style/index.js +2 -0
- package/es/Timeline/style/index.less +260 -0
- package/es/Timeline/style/rtl.less +65 -0
- package/es/Timeline/style/token.less +25 -0
- package/es/Timeline/timeline.d.ts +10 -0
- package/es/Timeline/timeline.js +97 -0
- package/es/Tooltip/index.d.ts +10 -0
- package/es/Tooltip/index.js +90 -0
- package/es/Tooltip/interface.d.ts +92 -0
- package/es/Tooltip/interface.js +1 -0
- package/es/Tooltip/style/css.js +3 -0
- package/es/Tooltip/style/index.css +1 -0
- package/es/Tooltip/style/index.d.ts +3 -0
- package/es/Tooltip/style/index.js +3 -0
- package/es/Tooltip/style/index.less +69 -0
- package/es/Tooltip/style/token.less +14 -0
- package/es/Transfer/index.d.ts +5 -0
- package/es/Transfer/index.js +223 -0
- package/es/Transfer/interface.d.ts +225 -0
- package/es/Transfer/interface.js +1 -0
- package/es/Transfer/item.d.ts +3 -0
- package/es/Transfer/item.js +117 -0
- package/es/Transfer/list.d.ts +5 -0
- package/es/Transfer/list.js +152 -0
- package/es/Transfer/style/css.js +6 -0
- package/es/Transfer/style/index.css +1 -0
- package/es/Transfer/style/index.d.ts +6 -0
- package/es/Transfer/style/index.js +6 -0
- package/es/Transfer/style/index.less +330 -0
- package/es/Transfer/style/token.less +49 -0
- package/es/Tree/animation.d.ts +7 -0
- package/es/Tree/animation.js +119 -0
- package/es/Tree/context.d.ts +27 -0
- package/es/Tree/context.js +2 -0
- package/es/Tree/index.d.ts +73 -0
- package/es/Tree/index.js +750 -0
- package/es/Tree/interface.d.ts +344 -0
- package/es/Tree/interface.js +1 -0
- package/es/Tree/node-list.d.ts +3 -0
- package/es/Tree/node-list.js +125 -0
- package/es/Tree/node.d.ts +12 -0
- package/es/Tree/node.js +268 -0
- package/es/Tree/style/css.js +3 -0
- package/es/Tree/style/index.css +1 -0
- package/es/Tree/style/index.d.ts +3 -0
- package/es/Tree/style/index.js +3 -0
- package/es/Tree/style/index.less +467 -0
- package/es/Tree/style/token.less +53 -0
- package/es/Tree/util.d.ts +13 -0
- package/es/Tree/util.js +169 -0
- package/es/TreeSelect/hook/useKeyCache.d.ts +6 -0
- package/es/TreeSelect/hook/useKeyCache.js +83 -0
- package/es/TreeSelect/hook/useStateValue.d.ts +19 -0
- package/es/TreeSelect/hook/useStateValue.js +139 -0
- package/es/TreeSelect/hook/useTreeData.d.ts +3 -0
- package/es/TreeSelect/hook/useTreeData.js +33 -0
- package/es/TreeSelect/index.d.ts +4 -0
- package/es/TreeSelect/index.js +2 -0
- package/es/TreeSelect/interface.d.ts +211 -0
- package/es/TreeSelect/interface.js +10 -0
- package/es/TreeSelect/style/css.js +5 -0
- package/es/TreeSelect/style/index.css +1 -0
- package/es/TreeSelect/style/index.d.ts +5 -0
- package/es/TreeSelect/style/index.js +5 -0
- package/es/TreeSelect/style/index.less +42 -0
- package/es/TreeSelect/style/token.less +5 -0
- package/es/TreeSelect/tree-list.d.ts +12 -0
- package/es/TreeSelect/tree-list.js +144 -0
- package/es/TreeSelect/tree-select.d.ts +12 -0
- package/es/TreeSelect/tree-select.js +343 -0
- package/es/TreeSelect/utils.d.ts +1 -0
- package/es/TreeSelect/utils.js +13 -0
- package/es/Trigger/getPopupStyle.d.ts +20 -0
- package/es/Trigger/getPopupStyle.js +394 -0
- package/es/Trigger/index.d.ts +123 -0
- package/es/Trigger/index.js +917 -0
- package/es/Trigger/interface.d.ts +246 -0
- package/es/Trigger/interface.js +1 -0
- package/es/Trigger/portal.d.ts +8 -0
- package/es/Trigger/portal.js +24 -0
- package/es/Trigger/style/css.js +2 -0
- package/es/Trigger/style/index.css +1 -0
- package/es/Trigger/style/index.d.ts +2 -0
- package/es/Trigger/style/index.js +2 -0
- package/es/Trigger/style/index.less +66 -0
- package/es/Trigger/style/token.less +5 -0
- package/es/Typography/base.d.ts +6 -0
- package/es/Typography/base.js +217 -0
- package/es/Typography/edit-content.d.ts +4 -0
- package/es/Typography/edit-content.js +30 -0
- package/es/Typography/ellipsis.d.ts +6 -0
- package/es/Typography/ellipsis.js +204 -0
- package/es/Typography/index.d.ts +13 -0
- package/es/Typography/index.js +11 -0
- package/es/Typography/interface.d.ts +262 -0
- package/es/Typography/interface.js +1 -0
- package/es/Typography/operations.d.ts +3 -0
- package/es/Typography/operations.js +88 -0
- package/es/Typography/paragraph.d.ts +4 -0
- package/es/Typography/paragraph.js +25 -0
- package/es/Typography/style/css.js +5 -0
- package/es/Typography/style/index.css +1 -0
- package/es/Typography/style/index.d.ts +5 -0
- package/es/Typography/style/index.js +5 -0
- package/es/Typography/style/index.less +336 -0
- package/es/Typography/style/token.less +58 -0
- package/es/Typography/text.d.ts +3 -0
- package/es/Typography/text.js +19 -0
- package/es/Typography/title.d.ts +4 -0
- package/es/Typography/title.js +31 -0
- package/es/Typography/typography.d.ts +4 -0
- package/es/Typography/typography.js +13 -0
- package/es/Typography/useCssEllipsis.d.ts +6 -0
- package/es/Typography/useCssEllipsis.js +69 -0
- package/es/Typography/useEllipsis.d.ts +21 -0
- package/es/Typography/useEllipsis.js +217 -0
- package/es/Upload/index.d.ts +3 -0
- package/es/Upload/index.js +2 -0
- package/es/Upload/interface.d.ts +337 -0
- package/es/Upload/interface.js +6 -0
- package/es/Upload/list/index.d.ts +6 -0
- package/es/Upload/list/index.js +125 -0
- package/es/Upload/list/pictureItem.d.ts +9 -0
- package/es/Upload/list/pictureItem.js +57 -0
- package/es/Upload/list/textItem.d.ts +9 -0
- package/es/Upload/list/textItem.js +103 -0
- package/es/Upload/list/uploadProgress.d.ts +14 -0
- package/es/Upload/list/uploadProgress.js +60 -0
- package/es/Upload/request.d.ts +3 -0
- package/es/Upload/request.js +64 -0
- package/es/Upload/style/css.js +6 -0
- package/es/Upload/style/index.css +1 -0
- package/es/Upload/style/index.d.ts +6 -0
- package/es/Upload/style/index.js +6 -0
- package/es/Upload/style/index.less +620 -0
- package/es/Upload/style/token.less +102 -0
- package/es/Upload/trigger-node.d.ts +6 -0
- package/es/Upload/trigger-node.js +132 -0
- package/es/Upload/upload.d.ts +12 -0
- package/es/Upload/upload.js +225 -0
- package/es/Upload/uploader.d.ts +28 -0
- package/es/Upload/uploader.js +256 -0
- package/es/Upload/util.d.ts +4 -0
- package/es/Upload/util.js +114 -0
- package/es/VerificationCode/index.d.ts +4 -0
- package/es/VerificationCode/index.js +2 -0
- package/es/VerificationCode/interface.d.ts +80 -0
- package/es/VerificationCode/interface.js +1 -0
- package/es/VerificationCode/style/css.js +3 -0
- package/es/VerificationCode/style/index.css +1 -0
- package/es/VerificationCode/style/index.d.ts +3 -0
- package/es/VerificationCode/style/index.js +3 -0
- package/es/VerificationCode/style/index.less +36 -0
- package/es/VerificationCode/style/token.less +1 -0
- package/es/VerificationCode/verification-code.d.ts +5 -0
- package/es/VerificationCode/verification-code.js +79 -0
- package/es/Watermark/index.d.ts +4 -0
- package/es/Watermark/index.js +2 -0
- package/es/Watermark/interface.d.ts +70 -0
- package/es/Watermark/interface.js +1 -0
- package/es/Watermark/style/css.js +1 -0
- package/es/Watermark/style/index.css +0 -0
- package/es/Watermark/style/index.d.ts +1 -0
- package/es/Watermark/style/index.js +1 -0
- package/es/Watermark/style/index.less +1 -0
- package/es/Watermark/style/token.less +1 -0
- package/es/Watermark/watermark.d.ts +5 -0
- package/es/Watermark/watermark.js +67 -0
- package/es/_class/Draggable/index.d.ts +2 -0
- package/es/_class/Draggable/index.js +35 -0
- package/es/_class/Draggable/interface.d.ts +24 -0
- package/es/_class/Draggable/interface.js +1 -0
- package/es/_class/Draggable/item.d.ts +3 -0
- package/es/_class/Draggable/item.js +88 -0
- package/es/_class/Draggable/style/index.css +1 -0
- package/es/_class/Draggable/style/index.less +52 -0
- package/es/_class/OverflowEllipsis/OverflowItem.d.ts +10 -0
- package/es/_class/OverflowEllipsis/OverflowItem.js +23 -0
- package/es/_class/OverflowEllipsis/index.d.ts +11 -0
- package/es/_class/OverflowEllipsis/index.js +109 -0
- package/es/_class/OverflowEllipsis/style/index.css +1 -0
- package/es/_class/OverflowEllipsis/style/index.less +29 -0
- package/es/_class/VirtualList/Filler.d.ts +15 -0
- package/es/_class/VirtualList/Filler.js +30 -0
- package/es/_class/VirtualList/index.d.ts +39 -0
- package/es/_class/VirtualList/index.js +485 -0
- package/es/_class/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/es/_class/VirtualList/utils/algorithmUtil.js +70 -0
- package/es/_class/VirtualList/utils/itemUtil.d.ts +75 -0
- package/es/_class/VirtualList/utils/itemUtil.js +132 -0
- package/es/_class/icon-hover.d.ts +10 -0
- package/es/_class/icon-hover.js +36 -0
- package/es/_class/notice.d.ts +50 -0
- package/es/_class/notice.js +170 -0
- package/es/_class/notification.d.ts +15 -0
- package/es/_class/notification.js +93 -0
- package/es/_class/picker/input-range.d.ts +35 -0
- package/es/_class/picker/input-range.js +173 -0
- package/es/_class/picker/input.d.ts +31 -0
- package/es/_class/picker/input.js +114 -0
- package/es/_class/picker/style/index.css +1 -0
- package/es/_class/picker/style/index.less +185 -0
- package/es/_class/picker/style/status.less +20 -0
- package/es/_class/picker/style/token.less +60 -0
- package/es/_class/select-view.d.ts +158 -0
- package/es/_class/select-view.js +368 -0
- package/es/_hooks/useVerificationCode/index.d.ts +2 -0
- package/es/_hooks/useVerificationCode/index.js +119 -0
- package/es/_hooks/useVerificationCode/interface.d.ts +63 -0
- package/es/_hooks/useVerificationCode/interface.js +1 -0
- package/es/_hooks/useWatermark/index.d.ts +2 -0
- package/es/_hooks/useWatermark/index.js +307 -0
- package/es/_hooks/useWatermark/interface.d.ts +81 -0
- package/es/_hooks/useWatermark/interface.js +1 -0
- package/es/_hooks/useWatermark/utils.d.ts +1 -0
- package/es/_hooks/useWatermark/utils.js +15 -0
- package/es/_util/CSSTransition.d.ts +2 -0
- package/es/_util/CSSTransition.js +85 -0
- package/es/_util/classNames.d.ts +5 -0
- package/es/_util/classNames.js +61 -0
- package/es/_util/clipboard.d.ts +1 -0
- package/es/_util/clipboard.js +83 -0
- package/es/_util/color.d.ts +27 -0
- package/es/_util/color.js +190 -0
- package/es/_util/constant.d.ts +3 -0
- package/es/_util/constant.js +17 -0
- package/es/_util/contextHolder.d.ts +9 -0
- package/es/_util/contextHolder.js +47 -0
- package/es/_util/dayjs.d.ts +21 -0
- package/es/_util/dayjs.js +294 -0
- package/es/_util/dom.d.ts +12 -0
- package/es/_util/dom.js +64 -0
- package/es/_util/fillNBSP.d.ts +1 -0
- package/es/_util/fillNBSP.js +6 -0
- package/es/_util/getHighlightText.d.ts +5 -0
- package/es/_util/getHighlightText.js +32 -0
- package/es/_util/getHotkeyHandler.d.ts +16 -0
- package/es/_util/getHotkeyHandler.js +35 -0
- package/es/_util/getStringLength.d.ts +1 -0
- package/es/_util/getStringLength.js +13 -0
- package/es/_util/hooks/useComputedState.d.ts +4 -0
- package/es/_util/hooks/useComputedState.js +25 -0
- package/es/_util/hooks/useCreate.d.ts +1 -0
- package/es/_util/hooks/useCreate.js +8 -0
- package/es/_util/hooks/useForceUpdate.d.ts +2 -0
- package/es/_util/hooks/useForceUpdate.js +21 -0
- package/es/_util/hooks/useId.d.ts +6 -0
- package/es/_util/hooks/useId.js +33 -0
- package/es/_util/hooks/useInView.d.ts +11 -0
- package/es/_util/hooks/useInView.js +60 -0
- package/es/_util/hooks/useIntersectionObserver.d.ts +7 -0
- package/es/_util/hooks/useIntersectionObserver.js +29 -0
- package/es/_util/hooks/useInterval.d.ts +1 -0
- package/es/_util/hooks/useInterval.js +29 -0
- package/es/_util/hooks/useIsFirstRender.d.ts +1 -0
- package/es/_util/hooks/useIsFirstRender.js +8 -0
- package/es/_util/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/es/_util/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/es/_util/hooks/useKeyboardEvent.d.ts +14 -0
- package/es/_util/hooks/useKeyboardEvent.js +29 -0
- package/es/_util/hooks/useMergeProps.d.ts +4 -0
- package/es/_util/hooks/useMergeProps.js +31 -0
- package/es/_util/hooks/useMergeValue.d.ts +5 -0
- package/es/_util/hooks/useMergeValue.js +44 -0
- package/es/_util/hooks/useOverflowHidden.d.ts +5 -0
- package/es/_util/hooks/useOverflowHidden.js +43 -0
- package/es/_util/hooks/useOverrideRef.d.ts +5 -0
- package/es/_util/hooks/useOverrideRef.js +18 -0
- package/es/_util/hooks/usePersistCallback.d.ts +1 -0
- package/es/_util/hooks/usePersistCallback.js +40 -0
- package/es/_util/hooks/usePrevious.d.ts +2 -0
- package/es/_util/hooks/usePrevious.js +8 -0
- package/es/_util/hooks/useRefs.d.ts +1 -0
- package/es/_util/hooks/useRefs.js +15 -0
- package/es/_util/hooks/useResizeObserver.d.ts +6 -0
- package/es/_util/hooks/useResizeObserver.js +25 -0
- package/es/_util/hooks/useStateCallback.d.ts +5 -0
- package/es/_util/hooks/useStateCallback.js +30 -0
- package/es/_util/hooks/useStateWithPromise.d.ts +2 -0
- package/es/_util/hooks/useStateWithPromise.js +47 -0
- package/es/_util/hooks/useUpdate.d.ts +2 -0
- package/es/_util/hooks/useUpdate.js +13 -0
- package/es/_util/hooks/useWatch.d.ts +2 -0
- package/es/_util/hooks/useWatch.js +10 -0
- package/es/_util/include.d.ts +1 -0
- package/es/_util/include.js +10 -0
- package/es/_util/is.d.ts +27 -0
- package/es/_util/is.js +131 -0
- package/es/_util/keycode.d.ts +36 -0
- package/es/_util/keycode.js +37 -0
- package/es/_util/mergeProps.d.ts +1 -0
- package/es/_util/mergeProps.js +23 -0
- package/es/_util/mergedToString.d.ts +2 -0
- package/es/_util/mergedToString.js +20 -0
- package/es/_util/omit.d.ts +1 -0
- package/es/_util/omit.js +22 -0
- package/es/_util/pad.d.ts +2 -0
- package/es/_util/pad.js +18 -0
- package/es/_util/pick.d.ts +4 -0
- package/es/_util/pick.js +25 -0
- package/es/_util/raf.d.ts +3 -0
- package/es/_util/raf.js +29 -0
- package/es/_util/react-dom.d.ts +13 -0
- package/es/_util/react-dom.js +105 -0
- package/es/_util/resizeObserver.d.ts +21 -0
- package/es/_util/resizeObserver.js +90 -0
- package/es/_util/responsiveObserve.d.ts +15 -0
- package/es/_util/responsiveObserve.js +85 -0
- package/es/_util/scrollIntoView.d.ts +2 -0
- package/es/_util/scrollIntoView.js +27 -0
- package/es/_util/style.d.ts +3 -0
- package/es/_util/style.js +38 -0
- package/es/_util/throttleByRaf.d.ts +4 -0
- package/es/_util/throttleByRaf.js +45 -0
- package/es/_util/throttleByRafV2.d.ts +4 -0
- package/es/_util/throttleByRafV2.js +49 -0
- package/es/_util/type.d.ts +4 -0
- package/es/_util/type.js +1 -0
- package/es/_util/warning.d.ts +1 -0
- package/es/_util/warning.js +11 -0
- package/es/index.d.ts +142 -0
- package/es/index.js +72 -0
- package/es/locale/ar-EG.d.ts +228 -0
- package/es/locale/ar-EG.js +167 -0
- package/es/locale/de-DE.d.ts +228 -0
- package/es/locale/de-DE.js +165 -0
- package/es/locale/default.d.ts +2 -0
- package/es/locale/default.js +2 -0
- package/es/locale/en-US.d.ts +234 -0
- package/es/locale/en-US.js +172 -0
- package/es/locale/es-ES.d.ts +228 -0
- package/es/locale/es-ES.js +165 -0
- package/es/locale/fr-FR.d.ts +228 -0
- package/es/locale/fr-FR.js +165 -0
- package/es/locale/id-ID.d.ts +228 -0
- package/es/locale/id-ID.js +165 -0
- package/es/locale/interface.d.ts +39 -0
- package/es/locale/interface.js +1 -0
- package/es/locale/it-IT.d.ts +228 -0
- package/es/locale/it-IT.js +165 -0
- package/es/locale/ja-JP.d.ts +281 -0
- package/es/locale/ja-JP.js +218 -0
- package/es/locale/ko-KR.d.ts +228 -0
- package/es/locale/ko-KR.js +165 -0
- package/es/locale/ms-MY.d.ts +228 -0
- package/es/locale/ms-MY.js +165 -0
- package/es/locale/pt-BR.d.ts +228 -0
- package/es/locale/pt-BR.js +165 -0
- package/es/locale/pt-PT.d.ts +228 -0
- package/es/locale/pt-PT.js +165 -0
- package/es/locale/ru-RU.d.ts +228 -0
- package/es/locale/ru-RU.js +165 -0
- package/es/locale/th-TH.d.ts +228 -0
- package/es/locale/th-TH.js +165 -0
- package/es/locale/tr-TR.d.ts +229 -0
- package/es/locale/tr-TR.js +167 -0
- package/es/locale/vi-VN.d.ts +228 -0
- package/es/locale/vi-VN.js +166 -0
- package/es/locale/zh-CN.d.ts +281 -0
- package/es/locale/zh-CN.js +219 -0
- package/es/locale/zh-HK.d.ts +281 -0
- package/es/locale/zh-HK.js +219 -0
- package/es/locale/zh-TW.d.ts +281 -0
- package/es/locale/zh-TW.js +218 -0
- package/es/style/animation/fade.less +42 -0
- package/es/style/animation/slide.less +116 -0
- package/es/style/animation/zoom.less +171 -0
- package/es/style/animation.less +3 -0
- package/es/style/icon.less +94 -0
- package/es/style/index.css +1 -0
- package/es/style/index.less +10 -0
- package/es/style/mixin.less +24 -0
- package/es/style/mixins/clearfix.less +13 -0
- package/es/style/mixins/index.css +0 -0
- package/es/style/mixins/index.less +2 -0
- package/es/style/normalize.less +375 -0
- package/es/style/theme/color/colors.less +469 -0
- package/es/style/theme/color/compiled-colors.less +569 -0
- package/es/style/theme/color/css-variables.less +438 -0
- package/es/style/theme/color/getRgbStr.js +16 -0
- package/es/style/theme/color/palette-dark.js +9 -0
- package/es/style/theme/color/palette.js +9 -0
- package/es/style/theme/component.less +15 -0
- package/es/style/theme/css-variables.less +158 -0
- package/es/style/theme/default.less +49 -0
- package/es/style/theme/global.less +393 -0
- package/hooks/es/index.d.ts +2 -0
- package/hooks/es/index.js +2 -0
- package/hooks/es/useVerificationCode/index.d.ts +2 -0
- package/hooks/es/useVerificationCode/index.js +2 -0
- package/hooks/es/useWatermark/index.d.ts +2 -0
- package/hooks/es/useWatermark/index.js +2 -0
- package/hooks/lib/index.d.ts +2 -0
- package/hooks/lib/index.js +10 -0
- package/hooks/lib/useVerificationCode/index.d.ts +2 -0
- package/hooks/lib/useVerificationCode/index.js +7 -0
- package/hooks/lib/useWatermark/index.d.ts +2 -0
- package/hooks/lib/useWatermark/index.js +7 -0
- package/hooks/package.json +20 -0
- package/icon/icons.json +895 -0
- package/icon/index.d.ts +289 -0
- package/icon/index.es.js +282 -0
- package/icon/index.js +2263 -0
- package/icon/package.json +13 -0
- package/icon/react-icon/IconAlignCenter/index.js +48 -0
- package/icon/react-icon/IconAlignLeft/index.js +48 -0
- package/icon/react-icon/IconAlignRight/index.js +48 -0
- package/icon/react-icon/IconAlipayCircle/index.js +50 -0
- package/icon/react-icon/IconApps/index.js +58 -0
- package/icon/react-icon/IconArchive/index.js +54 -0
- package/icon/react-icon/IconArrowDown/index.js +48 -0
- package/icon/react-icon/IconArrowFall/index.js +58 -0
- package/icon/react-icon/IconArrowLeft/index.js +48 -0
- package/icon/react-icon/IconArrowRight/index.js +48 -0
- package/icon/react-icon/IconArrowRise/index.js +60 -0
- package/icon/react-icon/IconArrowUp/index.js +48 -0
- package/icon/react-icon/IconAt/index.js +48 -0
- package/icon/react-icon/IconAttachment/index.js +48 -0
- package/icon/react-icon/IconBackward/index.js +48 -0
- package/icon/react-icon/IconBgColors/index.js +58 -0
- package/icon/react-icon/IconBold/index.js +48 -0
- package/icon/react-icon/IconBook/index.js +49 -0
- package/icon/react-icon/IconBranch/index.js +48 -0
- package/icon/react-icon/IconBrush/index.js +48 -0
- package/icon/react-icon/IconBug/index.js +49 -0
- package/icon/react-icon/IconBulb/index.js +48 -0
- package/icon/react-icon/IconBytedanceColor/index.js +57 -0
- package/icon/react-icon/IconCalendar/index.js +48 -0
- package/icon/react-icon/IconCalendarClock/index.js +54 -0
- package/icon/react-icon/IconCamera/index.js +48 -0
- package/icon/react-icon/IconCaretDown/index.js +50 -0
- package/icon/react-icon/IconCaretLeft/index.js +50 -0
- package/icon/react-icon/IconCaretRight/index.js +50 -0
- package/icon/react-icon/IconCaretUp/index.js +50 -0
- package/icon/react-icon/IconCheck/index.js +48 -0
- package/icon/react-icon/IconCheckCircle/index.js +48 -0
- package/icon/react-icon/IconCheckCircleFill/index.js +52 -0
- package/icon/react-icon/IconCheckSquare/index.js +48 -0
- package/icon/react-icon/IconChineseFill/index.js +56 -0
- package/icon/react-icon/IconClockCircle/index.js +48 -0
- package/icon/react-icon/IconClose/index.js +48 -0
- package/icon/react-icon/IconCloseCircle/index.js +48 -0
- package/icon/react-icon/IconCloseCircleFill/index.js +52 -0
- package/icon/react-icon/IconCloud/index.js +48 -0
- package/icon/react-icon/IconCloudDownload/index.js +48 -0
- package/icon/react-icon/IconCode/index.js +48 -0
- package/icon/react-icon/IconCodeBlock/index.js +48 -0
- package/icon/react-icon/IconCodeSandbox/index.js +50 -0
- package/icon/react-icon/IconCodeSquare/index.js +48 -0
- package/icon/react-icon/IconCodepen/index.js +50 -0
- package/icon/react-icon/IconCommand/index.js +48 -0
- package/icon/react-icon/IconCommon/index.js +48 -0
- package/icon/react-icon/IconCompass/index.js +50 -0
- package/icon/react-icon/IconCopy/index.js +48 -0
- package/icon/react-icon/IconCopyright/index.js +48 -0
- package/icon/react-icon/IconCustomerService/index.js +48 -0
- package/icon/react-icon/IconDashboard/index.js +51 -0
- package/icon/react-icon/IconDelete/index.js +48 -0
- package/icon/react-icon/IconDesktop/index.js +48 -0
- package/icon/react-icon/IconDice/index.js +102 -0
- package/icon/react-icon/IconDoubleDown/index.js +48 -0
- package/icon/react-icon/IconDoubleLeft/index.js +48 -0
- package/icon/react-icon/IconDoubleRight/index.js +48 -0
- package/icon/react-icon/IconDoubleUp/index.js +48 -0
- package/icon/react-icon/IconDown/index.js +48 -0
- package/icon/react-icon/IconDownCircle/index.js +53 -0
- package/icon/react-icon/IconDownload/index.js +48 -0
- package/icon/react-icon/IconDragArrow/index.js +48 -0
- package/icon/react-icon/IconDragDot/index.js +52 -0
- package/icon/react-icon/IconDragDotVertical/index.js +52 -0
- package/icon/react-icon/IconDriveFile/index.js +48 -0
- package/icon/react-icon/IconEar/index.js +48 -0
- package/icon/react-icon/IconEdit/index.js +48 -0
- package/icon/react-icon/IconEmail/index.js +54 -0
- package/icon/react-icon/IconEmpty/index.js +48 -0
- package/icon/react-icon/IconEnglishFill/index.js +52 -0
- package/icon/react-icon/IconEraser/index.js +48 -0
- package/icon/react-icon/IconExclamation/index.js +58 -0
- package/icon/react-icon/IconExclamationCircle/index.js +48 -0
- package/icon/react-icon/IconExclamationCircleFill/index.js +52 -0
- package/icon/react-icon/IconExclamationPolygonFill/index.js +52 -0
- package/icon/react-icon/IconExpand/index.js +48 -0
- package/icon/react-icon/IconExperiment/index.js +48 -0
- package/icon/react-icon/IconExport/index.js +48 -0
- package/icon/react-icon/IconEye/index.js +51 -0
- package/icon/react-icon/IconEyeInvisible/index.js +50 -0
- package/icon/react-icon/IconFaceBookCircleFill/index.js +50 -0
- package/icon/react-icon/IconFaceFrownFill/index.js +52 -0
- package/icon/react-icon/IconFaceMehFill/index.js +52 -0
- package/icon/react-icon/IconFaceSmileFill/index.js +52 -0
- package/icon/react-icon/IconFacebook/index.js +50 -0
- package/icon/react-icon/IconFacebookSquareFill/index.js +50 -0
- package/icon/react-icon/IconFile/index.js +48 -0
- package/icon/react-icon/IconFileAudio/index.js +54 -0
- package/icon/react-icon/IconFileImage/index.js +48 -0
- package/icon/react-icon/IconFilePdf/index.js +50 -0
- package/icon/react-icon/IconFileVideo/index.js +50 -0
- package/icon/react-icon/IconFilter/index.js +48 -0
- package/icon/react-icon/IconFindReplace/index.js +48 -0
- package/icon/react-icon/IconFire/index.js +48 -0
- package/icon/react-icon/IconFolder/index.js +48 -0
- package/icon/react-icon/IconFolderAdd/index.js +48 -0
- package/icon/react-icon/IconFolderDelete/index.js +48 -0
- package/icon/react-icon/IconFontColors/index.js +48 -0
- package/icon/react-icon/IconFormula/index.js +48 -0
- package/icon/react-icon/IconForward/index.js +48 -0
- package/icon/react-icon/IconFullscreen/index.js +48 -0
- package/icon/react-icon/IconFullscreenExit/index.js +48 -0
- package/icon/react-icon/IconGift/index.js +48 -0
- package/icon/react-icon/IconGithub/index.js +50 -0
- package/icon/react-icon/IconGitlab/index.js +50 -0
- package/icon/react-icon/IconGoogle/index.js +50 -0
- package/icon/react-icon/IconGoogleCircleFill/index.js +50 -0
- package/icon/react-icon/IconH1/index.js +48 -0
- package/icon/react-icon/IconH2/index.js +48 -0
- package/icon/react-icon/IconH3/index.js +48 -0
- package/icon/react-icon/IconH4/index.js +48 -0
- package/icon/react-icon/IconH5/index.js +48 -0
- package/icon/react-icon/IconH6/index.js +48 -0
- package/icon/react-icon/IconH7/index.js +48 -0
- package/icon/react-icon/IconHeart/index.js +48 -0
- package/icon/react-icon/IconHeartFill/index.js +50 -0
- package/icon/react-icon/IconHighlight/index.js +48 -0
- package/icon/react-icon/IconHistory/index.js +48 -0
- package/icon/react-icon/IconHome/index.js +50 -0
- package/icon/react-icon/IconIdcard/index.js +54 -0
- package/icon/react-icon/IconImage/index.js +56 -0
- package/icon/react-icon/IconImageClose/index.js +62 -0
- package/icon/react-icon/IconImport/index.js +48 -0
- package/icon/react-icon/IconInfo/index.js +62 -0
- package/icon/react-icon/IconInfoCircle/index.js +48 -0
- package/icon/react-icon/IconInfoCircleFill/index.js +52 -0
- package/icon/react-icon/IconInteraction/index.js +48 -0
- package/icon/react-icon/IconItalic/index.js +48 -0
- package/icon/react-icon/IconLanguage/index.js +50 -0
- package/icon/react-icon/IconLarkColor/index.js +54 -0
- package/icon/react-icon/IconLaunch/index.js +48 -0
- package/icon/react-icon/IconLayout/index.js +48 -0
- package/icon/react-icon/IconLeft/index.js +48 -0
- package/icon/react-icon/IconLeftCircle/index.js +52 -0
- package/icon/react-icon/IconLineHeight/index.js +54 -0
- package/icon/react-icon/IconLink/index.js +48 -0
- package/icon/react-icon/IconList/index.js +48 -0
- package/icon/react-icon/IconLiveBroadcast/index.js +48 -0
- package/icon/react-icon/IconLoading/index.js +48 -0
- package/icon/react-icon/IconLocation/index.js +52 -0
- package/icon/react-icon/IconLock/index.js +54 -0
- package/icon/react-icon/IconLoop/index.js +48 -0
- package/icon/react-icon/IconMan/index.js +48 -0
- package/icon/react-icon/IconMenu/index.js +48 -0
- package/icon/react-icon/IconMenuFold/index.js +48 -0
- package/icon/react-icon/IconMenuUnfold/index.js +48 -0
- package/icon/react-icon/IconMessage/index.js +48 -0
- package/icon/react-icon/IconMessageBanned/index.js +48 -0
- package/icon/react-icon/IconMindMapping/index.js +48 -0
- package/icon/react-icon/IconMinus/index.js +48 -0
- package/icon/react-icon/IconMinusCircle/index.js +48 -0
- package/icon/react-icon/IconMinusCircleFill/index.js +52 -0
- package/icon/react-icon/IconMobile/index.js +54 -0
- package/icon/react-icon/IconMoon/index.js +48 -0
- package/icon/react-icon/IconMoonFill/index.js +50 -0
- package/icon/react-icon/IconMore/index.js +52 -0
- package/icon/react-icon/IconMoreVertical/index.js +52 -0
- package/icon/react-icon/IconMosaic/index.js +52 -0
- package/icon/react-icon/IconMusic/index.js +48 -0
- package/icon/react-icon/IconMute/index.js +48 -0
- package/icon/react-icon/IconMuteFill/index.js +56 -0
- package/icon/react-icon/IconNav/index.js +48 -0
- package/icon/react-icon/IconNotification/index.js +48 -0
- package/icon/react-icon/IconNotificationClose/index.js +48 -0
- package/icon/react-icon/IconObliqueLine/index.js +48 -0
- package/icon/react-icon/IconOrderedList/index.js +54 -0
- package/icon/react-icon/IconOriginalSize/index.js +54 -0
- package/icon/react-icon/IconPalette/index.js +69 -0
- package/icon/react-icon/IconPaste/index.js +58 -0
- package/icon/react-icon/IconPause/index.js +58 -0
- package/icon/react-icon/IconPauseCircle/index.js +50 -0
- package/icon/react-icon/IconPauseCircleFill/index.js +52 -0
- package/icon/react-icon/IconPen/index.js +48 -0
- package/icon/react-icon/IconPenFill/index.js +55 -0
- package/icon/react-icon/IconPhone/index.js +48 -0
- package/icon/react-icon/IconPlayArrow/index.js +48 -0
- package/icon/react-icon/IconPlayArrowFill/index.js +50 -0
- package/icon/react-icon/IconPlayCircle/index.js +51 -0
- package/icon/react-icon/IconPlayCircleFill/index.js +52 -0
- package/icon/react-icon/IconPlus/index.js +48 -0
- package/icon/react-icon/IconPlusCircle/index.js +48 -0
- package/icon/react-icon/IconPlusCircleFill/index.js +52 -0
- package/icon/react-icon/IconPoweroff/index.js +48 -0
- package/icon/react-icon/IconPrinter/index.js +48 -0
- package/icon/react-icon/IconPublic/index.js +48 -0
- package/icon/react-icon/IconPushpin/index.js +48 -0
- package/icon/react-icon/IconQq/index.js +50 -0
- package/icon/react-icon/IconQqCircleFill/index.js +50 -0
- package/icon/react-icon/IconQqZone/index.js +50 -0
- package/icon/react-icon/IconQrcode/index.js +48 -0
- package/icon/react-icon/IconQuestion/index.js +48 -0
- package/icon/react-icon/IconQuestionCircle/index.js +50 -0
- package/icon/react-icon/IconQuestionCircleFill/index.js +52 -0
- package/icon/react-icon/IconQuote/index.js +52 -0
- package/icon/react-icon/IconRecord/index.js +55 -0
- package/icon/react-icon/IconRecordStop/index.js +55 -0
- package/icon/react-icon/IconRedo/index.js +48 -0
- package/icon/react-icon/IconRefresh/index.js +48 -0
- package/icon/react-icon/IconReply/index.js +48 -0
- package/icon/react-icon/IconRight/index.js +48 -0
- package/icon/react-icon/IconRightCircle/index.js +52 -0
- package/icon/react-icon/IconRobot/index.js +52 -0
- package/icon/react-icon/IconRobotAdd/index.js +48 -0
- package/icon/react-icon/IconRotateLeft/index.js +48 -0
- package/icon/react-icon/IconRotateRight/index.js +48 -0
- package/icon/react-icon/IconSafe/index.js +48 -0
- package/icon/react-icon/IconSave/index.js +48 -0
- package/icon/react-icon/IconScan/index.js +48 -0
- package/icon/react-icon/IconSchedule/index.js +52 -0
- package/icon/react-icon/IconScissor/index.js +48 -0
- package/icon/react-icon/IconSearch/index.js +48 -0
- package/icon/react-icon/IconSelectAll/index.js +48 -0
- package/icon/react-icon/IconSend/index.js +49 -0
- package/icon/react-icon/IconSettings/index.js +50 -0
- package/icon/react-icon/IconShake/index.js +55 -0
- package/icon/react-icon/IconShareAlt/index.js +48 -0
- package/icon/react-icon/IconShareExternal/index.js +49 -0
- package/icon/react-icon/IconShareInternal/index.js +48 -0
- package/icon/react-icon/IconShrink/index.js +48 -0
- package/icon/react-icon/IconSkin/index.js +48 -0
- package/icon/react-icon/IconSkipNext/index.js +51 -0
- package/icon/react-icon/IconSkipNextFill/index.js +56 -0
- package/icon/react-icon/IconSkipPrevious/index.js +52 -0
- package/icon/react-icon/IconSkipPreviousFill/index.js +56 -0
- package/icon/react-icon/IconSort/index.js +48 -0
- package/icon/react-icon/IconSortAscending/index.js +48 -0
- package/icon/react-icon/IconSortDescending/index.js +48 -0
- package/icon/react-icon/IconSound/index.js +51 -0
- package/icon/react-icon/IconSoundFill/index.js +58 -0
- package/icon/react-icon/IconStamp/index.js +48 -0
- package/icon/react-icon/IconStar/index.js +48 -0
- package/icon/react-icon/IconStarFill/index.js +50 -0
- package/icon/react-icon/IconStop/index.js +48 -0
- package/icon/react-icon/IconStorage/index.js +56 -0
- package/icon/react-icon/IconStrikethrough/index.js +48 -0
- package/icon/react-icon/IconSubscribe/index.js +48 -0
- package/icon/react-icon/IconSubscribeAdd/index.js +48 -0
- package/icon/react-icon/IconSubscribed/index.js +48 -0
- package/icon/react-icon/IconSun/index.js +110 -0
- package/icon/react-icon/IconSunFill/index.js +56 -0
- package/icon/react-icon/IconSwap/index.js +48 -0
- package/icon/react-icon/IconSync/index.js +48 -0
- package/icon/react-icon/IconTag/index.js +54 -0
- package/icon/react-icon/IconTags/index.js +52 -0
- package/icon/react-icon/IconThumbDown/index.js +48 -0
- package/icon/react-icon/IconThumbDownFill/index.js +56 -0
- package/icon/react-icon/IconThumbUp/index.js +48 -0
- package/icon/react-icon/IconThumbUpFill/index.js +56 -0
- package/icon/react-icon/IconThunderbolt/index.js +48 -0
- package/icon/react-icon/IconTiktokColor/index.js +59 -0
- package/icon/react-icon/IconToBottom/index.js +52 -0
- package/icon/react-icon/IconToLeft/index.js +52 -0
- package/icon/react-icon/IconToRight/index.js +52 -0
- package/icon/react-icon/IconToTop/index.js +52 -0
- package/icon/react-icon/IconTool/index.js +48 -0
- package/icon/react-icon/IconTranslate/index.js +48 -0
- package/icon/react-icon/IconTrophy/index.js +48 -0
- package/icon/react-icon/IconTwitter/index.js +50 -0
- package/icon/react-icon/IconTwitterCircleFill/index.js +50 -0
- package/icon/react-icon/IconUnderline/index.js +48 -0
- package/icon/react-icon/IconUndo/index.js +48 -0
- package/icon/react-icon/IconUnlock/index.js +54 -0
- package/icon/react-icon/IconUnorderedList/index.js +48 -0
- package/icon/react-icon/IconUp/index.js +48 -0
- package/icon/react-icon/IconUpCircle/index.js +52 -0
- package/icon/react-icon/IconUpload/index.js +48 -0
- package/icon/react-icon/IconUser/index.js +52 -0
- package/icon/react-icon/IconUserAdd/index.js +48 -0
- package/icon/react-icon/IconUserGroup/index.js +56 -0
- package/icon/react-icon/IconVideoCamera/index.js +48 -0
- package/icon/react-icon/IconVoice/index.js +48 -0
- package/icon/react-icon/IconWechat/index.js +50 -0
- package/icon/react-icon/IconWechatpay/index.js +50 -0
- package/icon/react-icon/IconWeibo/index.js +50 -0
- package/icon/react-icon/IconWeiboCircleFill/index.js +50 -0
- package/icon/react-icon/IconWifi/index.js +52 -0
- package/icon/react-icon/IconWoman/index.js +48 -0
- package/icon/react-icon/IconXiguaColor/index.js +48 -0
- package/icon/react-icon/IconZoomIn/index.js +48 -0
- package/icon/react-icon/IconZoomOut/index.js +48 -0
- package/icon/react-icon/context.d.ts +6 -0
- package/icon/react-icon/context.js +5 -0
- package/icon/react-icon-cjs/IconAlignCenter/index.js +67 -0
- package/icon/react-icon-cjs/IconAlignLeft/index.js +67 -0
- package/icon/react-icon-cjs/IconAlignRight/index.js +67 -0
- package/icon/react-icon-cjs/IconAlipayCircle/index.js +69 -0
- package/icon/react-icon-cjs/IconApps/index.js +77 -0
- package/icon/react-icon-cjs/IconArchive/index.js +73 -0
- package/icon/react-icon-cjs/IconArrowDown/index.js +67 -0
- package/icon/react-icon-cjs/IconArrowFall/index.js +77 -0
- package/icon/react-icon-cjs/IconArrowLeft/index.js +67 -0
- package/icon/react-icon-cjs/IconArrowRight/index.js +67 -0
- package/icon/react-icon-cjs/IconArrowRise/index.js +79 -0
- package/icon/react-icon-cjs/IconArrowUp/index.js +67 -0
- package/icon/react-icon-cjs/IconAt/index.js +67 -0
- package/icon/react-icon-cjs/IconAttachment/index.js +67 -0
- package/icon/react-icon-cjs/IconBackward/index.js +67 -0
- package/icon/react-icon-cjs/IconBgColors/index.js +77 -0
- package/icon/react-icon-cjs/IconBold/index.js +67 -0
- package/icon/react-icon-cjs/IconBook/index.js +68 -0
- package/icon/react-icon-cjs/IconBranch/index.js +67 -0
- package/icon/react-icon-cjs/IconBrush/index.js +67 -0
- package/icon/react-icon-cjs/IconBug/index.js +68 -0
- package/icon/react-icon-cjs/IconBulb/index.js +67 -0
- package/icon/react-icon-cjs/IconBytedanceColor/index.js +76 -0
- package/icon/react-icon-cjs/IconCalendar/index.js +67 -0
- package/icon/react-icon-cjs/IconCalendarClock/index.js +73 -0
- package/icon/react-icon-cjs/IconCamera/index.js +67 -0
- package/icon/react-icon-cjs/IconCaretDown/index.js +69 -0
- package/icon/react-icon-cjs/IconCaretLeft/index.js +69 -0
- package/icon/react-icon-cjs/IconCaretRight/index.js +69 -0
- package/icon/react-icon-cjs/IconCaretUp/index.js +69 -0
- package/icon/react-icon-cjs/IconCheck/index.js +67 -0
- package/icon/react-icon-cjs/IconCheckCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconCheckCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconCheckSquare/index.js +67 -0
- package/icon/react-icon-cjs/IconChineseFill/index.js +75 -0
- package/icon/react-icon-cjs/IconClockCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconClose/index.js +67 -0
- package/icon/react-icon-cjs/IconCloseCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconCloseCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconCloud/index.js +67 -0
- package/icon/react-icon-cjs/IconCloudDownload/index.js +67 -0
- package/icon/react-icon-cjs/IconCode/index.js +67 -0
- package/icon/react-icon-cjs/IconCodeBlock/index.js +67 -0
- package/icon/react-icon-cjs/IconCodeSandbox/index.js +69 -0
- package/icon/react-icon-cjs/IconCodeSquare/index.js +67 -0
- package/icon/react-icon-cjs/IconCodepen/index.js +69 -0
- package/icon/react-icon-cjs/IconCommand/index.js +67 -0
- package/icon/react-icon-cjs/IconCommon/index.js +67 -0
- package/icon/react-icon-cjs/IconCompass/index.js +69 -0
- package/icon/react-icon-cjs/IconCopy/index.js +67 -0
- package/icon/react-icon-cjs/IconCopyright/index.js +67 -0
- package/icon/react-icon-cjs/IconCustomerService/index.js +67 -0
- package/icon/react-icon-cjs/IconDashboard/index.js +70 -0
- package/icon/react-icon-cjs/IconDelete/index.js +67 -0
- package/icon/react-icon-cjs/IconDesktop/index.js +67 -0
- package/icon/react-icon-cjs/IconDice/index.js +121 -0
- package/icon/react-icon-cjs/IconDoubleDown/index.js +67 -0
- package/icon/react-icon-cjs/IconDoubleLeft/index.js +67 -0
- package/icon/react-icon-cjs/IconDoubleRight/index.js +67 -0
- package/icon/react-icon-cjs/IconDoubleUp/index.js +67 -0
- package/icon/react-icon-cjs/IconDown/index.js +67 -0
- package/icon/react-icon-cjs/IconDownCircle/index.js +72 -0
- package/icon/react-icon-cjs/IconDownload/index.js +67 -0
- package/icon/react-icon-cjs/IconDragArrow/index.js +67 -0
- package/icon/react-icon-cjs/IconDragDot/index.js +71 -0
- package/icon/react-icon-cjs/IconDragDotVertical/index.js +71 -0
- package/icon/react-icon-cjs/IconDriveFile/index.js +67 -0
- package/icon/react-icon-cjs/IconEar/index.js +67 -0
- package/icon/react-icon-cjs/IconEdit/index.js +67 -0
- package/icon/react-icon-cjs/IconEmail/index.js +73 -0
- package/icon/react-icon-cjs/IconEmpty/index.js +67 -0
- package/icon/react-icon-cjs/IconEnglishFill/index.js +71 -0
- package/icon/react-icon-cjs/IconEraser/index.js +67 -0
- package/icon/react-icon-cjs/IconExclamation/index.js +77 -0
- package/icon/react-icon-cjs/IconExclamationCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconExclamationCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconExclamationPolygonFill/index.js +71 -0
- package/icon/react-icon-cjs/IconExpand/index.js +67 -0
- package/icon/react-icon-cjs/IconExperiment/index.js +67 -0
- package/icon/react-icon-cjs/IconExport/index.js +67 -0
- package/icon/react-icon-cjs/IconEye/index.js +70 -0
- package/icon/react-icon-cjs/IconEyeInvisible/index.js +69 -0
- package/icon/react-icon-cjs/IconFaceBookCircleFill/index.js +69 -0
- package/icon/react-icon-cjs/IconFaceFrownFill/index.js +71 -0
- package/icon/react-icon-cjs/IconFaceMehFill/index.js +71 -0
- package/icon/react-icon-cjs/IconFaceSmileFill/index.js +71 -0
- package/icon/react-icon-cjs/IconFacebook/index.js +69 -0
- package/icon/react-icon-cjs/IconFacebookSquareFill/index.js +69 -0
- package/icon/react-icon-cjs/IconFile/index.js +67 -0
- package/icon/react-icon-cjs/IconFileAudio/index.js +73 -0
- package/icon/react-icon-cjs/IconFileImage/index.js +67 -0
- package/icon/react-icon-cjs/IconFilePdf/index.js +69 -0
- package/icon/react-icon-cjs/IconFileVideo/index.js +69 -0
- package/icon/react-icon-cjs/IconFilter/index.js +67 -0
- package/icon/react-icon-cjs/IconFindReplace/index.js +67 -0
- package/icon/react-icon-cjs/IconFire/index.js +67 -0
- package/icon/react-icon-cjs/IconFolder/index.js +67 -0
- package/icon/react-icon-cjs/IconFolderAdd/index.js +67 -0
- package/icon/react-icon-cjs/IconFolderDelete/index.js +67 -0
- package/icon/react-icon-cjs/IconFontColors/index.js +67 -0
- package/icon/react-icon-cjs/IconFormula/index.js +67 -0
- package/icon/react-icon-cjs/IconForward/index.js +67 -0
- package/icon/react-icon-cjs/IconFullscreen/index.js +67 -0
- package/icon/react-icon-cjs/IconFullscreenExit/index.js +67 -0
- package/icon/react-icon-cjs/IconGift/index.js +67 -0
- package/icon/react-icon-cjs/IconGithub/index.js +69 -0
- package/icon/react-icon-cjs/IconGitlab/index.js +69 -0
- package/icon/react-icon-cjs/IconGoogle/index.js +69 -0
- package/icon/react-icon-cjs/IconGoogleCircleFill/index.js +69 -0
- package/icon/react-icon-cjs/IconH1/index.js +67 -0
- package/icon/react-icon-cjs/IconH2/index.js +67 -0
- package/icon/react-icon-cjs/IconH3/index.js +67 -0
- package/icon/react-icon-cjs/IconH4/index.js +67 -0
- package/icon/react-icon-cjs/IconH5/index.js +67 -0
- package/icon/react-icon-cjs/IconH6/index.js +67 -0
- package/icon/react-icon-cjs/IconH7/index.js +67 -0
- package/icon/react-icon-cjs/IconHeart/index.js +67 -0
- package/icon/react-icon-cjs/IconHeartFill/index.js +69 -0
- package/icon/react-icon-cjs/IconHighlight/index.js +67 -0
- package/icon/react-icon-cjs/IconHistory/index.js +67 -0
- package/icon/react-icon-cjs/IconHome/index.js +69 -0
- package/icon/react-icon-cjs/IconIdcard/index.js +73 -0
- package/icon/react-icon-cjs/IconImage/index.js +75 -0
- package/icon/react-icon-cjs/IconImageClose/index.js +81 -0
- package/icon/react-icon-cjs/IconImport/index.js +67 -0
- package/icon/react-icon-cjs/IconInfo/index.js +81 -0
- package/icon/react-icon-cjs/IconInfoCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconInfoCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconInteraction/index.js +67 -0
- package/icon/react-icon-cjs/IconItalic/index.js +67 -0
- package/icon/react-icon-cjs/IconLanguage/index.js +69 -0
- package/icon/react-icon-cjs/IconLarkColor/index.js +73 -0
- package/icon/react-icon-cjs/IconLaunch/index.js +67 -0
- package/icon/react-icon-cjs/IconLayout/index.js +67 -0
- package/icon/react-icon-cjs/IconLeft/index.js +67 -0
- package/icon/react-icon-cjs/IconLeftCircle/index.js +71 -0
- package/icon/react-icon-cjs/IconLineHeight/index.js +73 -0
- package/icon/react-icon-cjs/IconLink/index.js +67 -0
- package/icon/react-icon-cjs/IconList/index.js +67 -0
- package/icon/react-icon-cjs/IconLiveBroadcast/index.js +67 -0
- package/icon/react-icon-cjs/IconLoading/index.js +67 -0
- package/icon/react-icon-cjs/IconLocation/index.js +71 -0
- package/icon/react-icon-cjs/IconLock/index.js +73 -0
- package/icon/react-icon-cjs/IconLoop/index.js +67 -0
- package/icon/react-icon-cjs/IconMan/index.js +67 -0
- package/icon/react-icon-cjs/IconMenu/index.js +67 -0
- package/icon/react-icon-cjs/IconMenuFold/index.js +67 -0
- package/icon/react-icon-cjs/IconMenuUnfold/index.js +67 -0
- package/icon/react-icon-cjs/IconMessage/index.js +67 -0
- package/icon/react-icon-cjs/IconMessageBanned/index.js +67 -0
- package/icon/react-icon-cjs/IconMindMapping/index.js +67 -0
- package/icon/react-icon-cjs/IconMinus/index.js +67 -0
- package/icon/react-icon-cjs/IconMinusCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconMinusCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconMobile/index.js +73 -0
- package/icon/react-icon-cjs/IconMoon/index.js +67 -0
- package/icon/react-icon-cjs/IconMoonFill/index.js +69 -0
- package/icon/react-icon-cjs/IconMore/index.js +71 -0
- package/icon/react-icon-cjs/IconMoreVertical/index.js +71 -0
- package/icon/react-icon-cjs/IconMosaic/index.js +71 -0
- package/icon/react-icon-cjs/IconMusic/index.js +67 -0
- package/icon/react-icon-cjs/IconMute/index.js +67 -0
- package/icon/react-icon-cjs/IconMuteFill/index.js +75 -0
- package/icon/react-icon-cjs/IconNav/index.js +67 -0
- package/icon/react-icon-cjs/IconNotification/index.js +67 -0
- package/icon/react-icon-cjs/IconNotificationClose/index.js +67 -0
- package/icon/react-icon-cjs/IconObliqueLine/index.js +67 -0
- package/icon/react-icon-cjs/IconOrderedList/index.js +73 -0
- package/icon/react-icon-cjs/IconOriginalSize/index.js +73 -0
- package/icon/react-icon-cjs/IconPalette/index.js +88 -0
- package/icon/react-icon-cjs/IconPaste/index.js +77 -0
- package/icon/react-icon-cjs/IconPause/index.js +77 -0
- package/icon/react-icon-cjs/IconPauseCircle/index.js +69 -0
- package/icon/react-icon-cjs/IconPauseCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconPen/index.js +67 -0
- package/icon/react-icon-cjs/IconPenFill/index.js +74 -0
- package/icon/react-icon-cjs/IconPhone/index.js +67 -0
- package/icon/react-icon-cjs/IconPlayArrow/index.js +67 -0
- package/icon/react-icon-cjs/IconPlayArrowFill/index.js +69 -0
- package/icon/react-icon-cjs/IconPlayCircle/index.js +70 -0
- package/icon/react-icon-cjs/IconPlayCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconPlus/index.js +67 -0
- package/icon/react-icon-cjs/IconPlusCircle/index.js +67 -0
- package/icon/react-icon-cjs/IconPlusCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconPoweroff/index.js +67 -0
- package/icon/react-icon-cjs/IconPrinter/index.js +67 -0
- package/icon/react-icon-cjs/IconPublic/index.js +67 -0
- package/icon/react-icon-cjs/IconPushpin/index.js +67 -0
- package/icon/react-icon-cjs/IconQq/index.js +69 -0
- package/icon/react-icon-cjs/IconQqCircleFill/index.js +69 -0
- package/icon/react-icon-cjs/IconQqZone/index.js +69 -0
- package/icon/react-icon-cjs/IconQrcode/index.js +67 -0
- package/icon/react-icon-cjs/IconQuestion/index.js +67 -0
- package/icon/react-icon-cjs/IconQuestionCircle/index.js +69 -0
- package/icon/react-icon-cjs/IconQuestionCircleFill/index.js +71 -0
- package/icon/react-icon-cjs/IconQuote/index.js +71 -0
- package/icon/react-icon-cjs/IconRecord/index.js +74 -0
- package/icon/react-icon-cjs/IconRecordStop/index.js +74 -0
- package/icon/react-icon-cjs/IconRedo/index.js +67 -0
- package/icon/react-icon-cjs/IconRefresh/index.js +67 -0
- package/icon/react-icon-cjs/IconReply/index.js +67 -0
- package/icon/react-icon-cjs/IconRight/index.js +67 -0
- package/icon/react-icon-cjs/IconRightCircle/index.js +71 -0
- package/icon/react-icon-cjs/IconRobot/index.js +71 -0
- package/icon/react-icon-cjs/IconRobotAdd/index.js +67 -0
- package/icon/react-icon-cjs/IconRotateLeft/index.js +67 -0
- package/icon/react-icon-cjs/IconRotateRight/index.js +67 -0
- package/icon/react-icon-cjs/IconSafe/index.js +67 -0
- package/icon/react-icon-cjs/IconSave/index.js +67 -0
- package/icon/react-icon-cjs/IconScan/index.js +67 -0
- package/icon/react-icon-cjs/IconSchedule/index.js +71 -0
- package/icon/react-icon-cjs/IconScissor/index.js +67 -0
- package/icon/react-icon-cjs/IconSearch/index.js +67 -0
- package/icon/react-icon-cjs/IconSelectAll/index.js +67 -0
- package/icon/react-icon-cjs/IconSend/index.js +68 -0
- package/icon/react-icon-cjs/IconSettings/index.js +69 -0
- package/icon/react-icon-cjs/IconShake/index.js +74 -0
- package/icon/react-icon-cjs/IconShareAlt/index.js +67 -0
- package/icon/react-icon-cjs/IconShareExternal/index.js +68 -0
- package/icon/react-icon-cjs/IconShareInternal/index.js +67 -0
- package/icon/react-icon-cjs/IconShrink/index.js +67 -0
- package/icon/react-icon-cjs/IconSkin/index.js +67 -0
- package/icon/react-icon-cjs/IconSkipNext/index.js +70 -0
- package/icon/react-icon-cjs/IconSkipNextFill/index.js +75 -0
- package/icon/react-icon-cjs/IconSkipPrevious/index.js +71 -0
- package/icon/react-icon-cjs/IconSkipPreviousFill/index.js +75 -0
- package/icon/react-icon-cjs/IconSort/index.js +67 -0
- package/icon/react-icon-cjs/IconSortAscending/index.js +67 -0
- package/icon/react-icon-cjs/IconSortDescending/index.js +67 -0
- package/icon/react-icon-cjs/IconSound/index.js +70 -0
- package/icon/react-icon-cjs/IconSoundFill/index.js +77 -0
- package/icon/react-icon-cjs/IconStamp/index.js +67 -0
- package/icon/react-icon-cjs/IconStar/index.js +67 -0
- package/icon/react-icon-cjs/IconStarFill/index.js +69 -0
- package/icon/react-icon-cjs/IconStop/index.js +67 -0
- package/icon/react-icon-cjs/IconStorage/index.js +75 -0
- package/icon/react-icon-cjs/IconStrikethrough/index.js +67 -0
- package/icon/react-icon-cjs/IconSubscribe/index.js +67 -0
- package/icon/react-icon-cjs/IconSubscribeAdd/index.js +67 -0
- package/icon/react-icon-cjs/IconSubscribed/index.js +67 -0
- package/icon/react-icon-cjs/IconSun/index.js +129 -0
- package/icon/react-icon-cjs/IconSunFill/index.js +75 -0
- package/icon/react-icon-cjs/IconSwap/index.js +67 -0
- package/icon/react-icon-cjs/IconSync/index.js +67 -0
- package/icon/react-icon-cjs/IconTag/index.js +73 -0
- package/icon/react-icon-cjs/IconTags/index.js +71 -0
- package/icon/react-icon-cjs/IconThumbDown/index.js +67 -0
- package/icon/react-icon-cjs/IconThumbDownFill/index.js +75 -0
- package/icon/react-icon-cjs/IconThumbUp/index.js +67 -0
- package/icon/react-icon-cjs/IconThumbUpFill/index.js +75 -0
- package/icon/react-icon-cjs/IconThunderbolt/index.js +67 -0
- package/icon/react-icon-cjs/IconTiktokColor/index.js +78 -0
- package/icon/react-icon-cjs/IconToBottom/index.js +71 -0
- package/icon/react-icon-cjs/IconToLeft/index.js +71 -0
- package/icon/react-icon-cjs/IconToRight/index.js +71 -0
- package/icon/react-icon-cjs/IconToTop/index.js +71 -0
- package/icon/react-icon-cjs/IconTool/index.js +67 -0
- package/icon/react-icon-cjs/IconTranslate/index.js +67 -0
- package/icon/react-icon-cjs/IconTrophy/index.js +67 -0
- package/icon/react-icon-cjs/IconTwitter/index.js +69 -0
- package/icon/react-icon-cjs/IconTwitterCircleFill/index.js +69 -0
- package/icon/react-icon-cjs/IconUnderline/index.js +67 -0
- package/icon/react-icon-cjs/IconUndo/index.js +67 -0
- package/icon/react-icon-cjs/IconUnlock/index.js +73 -0
- package/icon/react-icon-cjs/IconUnorderedList/index.js +67 -0
- package/icon/react-icon-cjs/IconUp/index.js +67 -0
- package/icon/react-icon-cjs/IconUpCircle/index.js +71 -0
- package/icon/react-icon-cjs/IconUpload/index.js +67 -0
- package/icon/react-icon-cjs/IconUser/index.js +71 -0
- package/icon/react-icon-cjs/IconUserAdd/index.js +67 -0
- package/icon/react-icon-cjs/IconUserGroup/index.js +75 -0
- package/icon/react-icon-cjs/IconVideoCamera/index.js +67 -0
- package/icon/react-icon-cjs/IconVoice/index.js +67 -0
- package/icon/react-icon-cjs/IconWechat/index.js +69 -0
- package/icon/react-icon-cjs/IconWechatpay/index.js +69 -0
- package/icon/react-icon-cjs/IconWeibo/index.js +69 -0
- package/icon/react-icon-cjs/IconWeiboCircleFill/index.js +69 -0
- package/icon/react-icon-cjs/IconWifi/index.js +71 -0
- package/icon/react-icon-cjs/IconWoman/index.js +67 -0
- package/icon/react-icon-cjs/IconXiguaColor/index.js +67 -0
- package/icon/react-icon-cjs/IconZoomIn/index.js +67 -0
- package/icon/react-icon-cjs/IconZoomOut/index.js +67 -0
- package/icon/react-icon-cjs/context.d.ts +6 -0
- package/icon/react-icon-cjs/context.js +13 -0
- package/lib/Affix/index.d.ts +10 -0
- package/lib/Affix/index.js +196 -0
- package/lib/Affix/interface.d.ts +52 -0
- package/lib/Affix/interface.js +2 -0
- package/lib/Affix/style/css.js +2 -0
- package/lib/Affix/style/index.css +1 -0
- package/lib/Affix/style/index.d.ts +2 -0
- package/lib/Affix/style/index.js +4 -0
- package/lib/Affix/style/index.less +8 -0
- package/lib/Alert/index.d.ts +5 -0
- package/lib/Alert/index.js +124 -0
- package/lib/Alert/interface.d.ts +66 -0
- package/lib/Alert/interface.js +2 -0
- package/lib/Alert/style/css.js +2 -0
- package/lib/Alert/style/index.css +1 -0
- package/lib/Alert/style/index.d.ts +2 -0
- package/lib/Alert/style/index.js +4 -0
- package/lib/Alert/style/index.less +207 -0
- package/lib/Alert/style/token.less +56 -0
- package/lib/Anchor/anchor.d.ts +9 -0
- package/lib/Anchor/anchor.js +299 -0
- package/lib/Anchor/context.d.ts +11 -0
- package/lib/Anchor/context.js +10 -0
- package/lib/Anchor/index.d.ts +4 -0
- package/lib/Anchor/index.js +7 -0
- package/lib/Anchor/interface.d.ts +105 -0
- package/lib/Anchor/interface.js +2 -0
- package/lib/Anchor/link.d.ts +6 -0
- package/lib/Anchor/link.js +93 -0
- package/lib/Anchor/style/css.js +3 -0
- package/lib/Anchor/style/direction.less +66 -0
- package/lib/Anchor/style/index.css +1 -0
- package/lib/Anchor/style/index.d.ts +3 -0
- package/lib/Anchor/style/index.js +5 -0
- package/lib/Anchor/style/index.less +130 -0
- package/lib/Anchor/style/token.less +33 -0
- package/lib/Anchor/utils.d.ts +4 -0
- package/lib/Anchor/utils.js +52 -0
- package/lib/AutoComplete/index.d.ts +12 -0
- package/lib/AutoComplete/index.js +185 -0
- package/lib/AutoComplete/interface.d.ts +127 -0
- package/lib/AutoComplete/interface.js +2 -0
- package/lib/AutoComplete/style/css.js +4 -0
- package/lib/AutoComplete/style/index.css +1 -0
- package/lib/AutoComplete/style/index.d.ts +4 -0
- package/lib/AutoComplete/style/index.js +6 -0
- package/lib/AutoComplete/style/index.less +44 -0
- package/lib/AutoComplete/style/token.less +29 -0
- package/lib/Avatar/avatar.d.ts +6 -0
- package/lib/Avatar/avatar.js +105 -0
- package/lib/Avatar/context.d.ts +4 -0
- package/lib/Avatar/context.js +4 -0
- package/lib/Avatar/group.d.ts +6 -0
- package/lib/Avatar/group.js +91 -0
- package/lib/Avatar/index.d.ts +8 -0
- package/lib/Avatar/index.js +21 -0
- package/lib/Avatar/interface.d.ts +95 -0
- package/lib/Avatar/interface.js +2 -0
- package/lib/Avatar/style/css.js +3 -0
- package/lib/Avatar/style/index.css +1 -0
- package/lib/Avatar/style/index.d.ts +3 -0
- package/lib/Avatar/style/index.js +5 -0
- package/lib/Avatar/style/index.less +148 -0
- package/lib/Avatar/style/token.less +26 -0
- package/lib/BackTop/index.d.ts +7 -0
- package/lib/BackTop/index.js +117 -0
- package/lib/BackTop/interface.d.ts +37 -0
- package/lib/BackTop/interface.js +2 -0
- package/lib/BackTop/style/css.js +2 -0
- package/lib/BackTop/style/index.css +1 -0
- package/lib/BackTop/style/index.d.ts +2 -0
- package/lib/BackTop/style/index.js +4 -0
- package/lib/BackTop/style/index.less +37 -0
- package/lib/BackTop/style/token.less +12 -0
- package/lib/Badge/count.d.ts +8 -0
- package/lib/Badge/count.js +57 -0
- package/lib/Badge/index.d.ts +5 -0
- package/lib/Badge/index.js +138 -0
- package/lib/Badge/interface.d.ts +57 -0
- package/lib/Badge/interface.js +2 -0
- package/lib/Badge/style/css.js +2 -0
- package/lib/Badge/style/index.css +1 -0
- package/lib/Badge/style/index.d.ts +2 -0
- package/lib/Badge/style/index.js +4 -0
- package/lib/Badge/style/index.less +176 -0
- package/lib/Badge/style/token.less +30 -0
- package/lib/Breadcrumb/index.d.ts +8 -0
- package/lib/Breadcrumb/index.js +119 -0
- package/lib/Breadcrumb/interface.d.ts +78 -0
- package/lib/Breadcrumb/interface.js +2 -0
- package/lib/Breadcrumb/item.d.ts +8 -0
- package/lib/Breadcrumb/item.js +89 -0
- package/lib/Breadcrumb/style/css.js +3 -0
- package/lib/Breadcrumb/style/index.css +1 -0
- package/lib/Breadcrumb/style/index.d.ts +3 -0
- package/lib/Breadcrumb/style/index.js +5 -0
- package/lib/Breadcrumb/style/index.less +88 -0
- package/lib/Breadcrumb/style/token.less +23 -0
- package/lib/Button/group.d.ts +5 -0
- package/lib/Button/group.js +59 -0
- package/lib/Button/index.d.ts +15 -0
- package/lib/Button/index.js +156 -0
- package/lib/Button/interface.d.ts +105 -0
- package/lib/Button/interface.js +2 -0
- package/lib/Button/style/css.js +2 -0
- package/lib/Button/style/index.css +1 -0
- package/lib/Button/style/index.d.ts +2 -0
- package/lib/Button/style/index.js +4 -0
- package/lib/Button/style/index.less +394 -0
- package/lib/Button/style/token.less +326 -0
- package/lib/Calendar/header/header.d.ts +2 -0
- package/lib/Calendar/header/header.js +89 -0
- package/lib/Calendar/header/panel-header.d.ts +2 -0
- package/lib/Calendar/header/panel-header.js +33 -0
- package/lib/Calendar/hooks/useCellClassName.d.ts +1 -0
- package/lib/Calendar/hooks/useCellClassName.js +59 -0
- package/lib/Calendar/index.d.ts +7 -0
- package/lib/Calendar/index.js +166 -0
- package/lib/Calendar/interface.d.ts +122 -0
- package/lib/Calendar/interface.js +2 -0
- package/lib/Calendar/month.d.ts +15 -0
- package/lib/Calendar/month.js +140 -0
- package/lib/Calendar/style/css.js +4 -0
- package/lib/Calendar/style/index.css +1 -0
- package/lib/Calendar/style/index.d.ts +4 -0
- package/lib/Calendar/style/index.js +6 -0
- package/lib/Calendar/style/index.less +475 -0
- package/lib/Calendar/style/token.less +39 -0
- package/lib/Calendar/week-list.d.ts +10 -0
- package/lib/Calendar/week-list.js +22 -0
- package/lib/Calendar/year.d.ts +13 -0
- package/lib/Calendar/year.js +64 -0
- package/lib/Card/grid.d.ts +5 -0
- package/lib/Card/grid.js +37 -0
- package/lib/Card/index.d.ts +10 -0
- package/lib/Card/index.js +100 -0
- package/lib/Card/interface.d.ts +99 -0
- package/lib/Card/interface.js +2 -0
- package/lib/Card/meta.d.ts +5 -0
- package/lib/Card/meta.js +66 -0
- package/lib/Card/style/css.js +3 -0
- package/lib/Card/style/index.css +1 -0
- package/lib/Card/style/index.d.ts +3 -0
- package/lib/Card/style/index.js +5 -0
- package/lib/Card/style/index.less +225 -0
- package/lib/Card/style/token.less +38 -0
- package/lib/Carousel/arrow.d.ts +4 -0
- package/lib/Carousel/arrow.js +60 -0
- package/lib/Carousel/index.d.ts +5 -0
- package/lib/Carousel/index.js +312 -0
- package/lib/Carousel/indicator.d.ts +4 -0
- package/lib/Carousel/indicator.js +81 -0
- package/lib/Carousel/interface.d.ts +144 -0
- package/lib/Carousel/interface.js +2 -0
- package/lib/Carousel/style/css.js +2 -0
- package/lib/Carousel/style/index.css +1 -0
- package/lib/Carousel/style/index.d.ts +2 -0
- package/lib/Carousel/style/index.js +4 -0
- package/lib/Carousel/style/index.less +535 -0
- package/lib/Carousel/style/slide.less +345 -0
- package/lib/Carousel/style/token.less +34 -0
- package/lib/Cascader/base/node.d.ts +78 -0
- package/lib/Cascader/base/node.js +203 -0
- package/lib/Cascader/base/store.d.ts +43 -0
- package/lib/Cascader/base/store.js +171 -0
- package/lib/Cascader/cascader.d.ts +17 -0
- package/lib/Cascader/cascader.js +369 -0
- package/lib/Cascader/hook/useRefCurrent.d.ts +3 -0
- package/lib/Cascader/hook/useRefCurrent.js +46 -0
- package/lib/Cascader/index.d.ts +5 -0
- package/lib/Cascader/index.js +18 -0
- package/lib/Cascader/interface.d.ts +308 -0
- package/lib/Cascader/interface.js +2 -0
- package/lib/Cascader/panel/list.d.ts +4 -0
- package/lib/Cascader/panel/list.js +409 -0
- package/lib/Cascader/panel/option.d.ts +23 -0
- package/lib/Cascader/panel/option.js +17 -0
- package/lib/Cascader/panel/search-panel.d.ts +28 -0
- package/lib/Cascader/panel/search-panel.js +232 -0
- package/lib/Cascader/style/css.js +6 -0
- package/lib/Cascader/style/index.css +1 -0
- package/lib/Cascader/style/index.d.ts +6 -0
- package/lib/Cascader/style/index.js +8 -0
- package/lib/Cascader/style/index.less +219 -0
- package/lib/Cascader/style/rtl.less +60 -0
- package/lib/Cascader/style/token.less +25 -0
- package/lib/Cascader/util.d.ts +24 -0
- package/lib/Cascader/util.js +125 -0
- package/lib/Checkbox/checkbox.d.ts +14 -0
- package/lib/Checkbox/checkbox.js +146 -0
- package/lib/Checkbox/group.d.ts +17 -0
- package/lib/Checkbox/group.js +135 -0
- package/lib/Checkbox/icon-check.d.ts +3 -0
- package/lib/Checkbox/icon-check.js +12 -0
- package/lib/Checkbox/index.d.ts +4 -0
- package/lib/Checkbox/index.js +10 -0
- package/lib/Checkbox/interface.d.ts +102 -0
- package/lib/Checkbox/interface.js +2 -0
- package/lib/Checkbox/style/css.js +2 -0
- package/lib/Checkbox/style/index.css +1 -0
- package/lib/Checkbox/style/index.d.ts +2 -0
- package/lib/Checkbox/style/index.js +4 -0
- package/lib/Checkbox/style/index.less +200 -0
- package/lib/Checkbox/style/token.less +37 -0
- package/lib/Checkbox/useCheckbox.d.ts +22 -0
- package/lib/Checkbox/useCheckbox.js +105 -0
- package/lib/Collapse/collapse.d.ts +14 -0
- package/lib/Collapse/collapse.js +145 -0
- package/lib/Collapse/index.d.ts +3 -0
- package/lib/Collapse/index.js +7 -0
- package/lib/Collapse/interface.d.ts +111 -0
- package/lib/Collapse/interface.js +2 -0
- package/lib/Collapse/item.d.ts +7 -0
- package/lib/Collapse/item.js +125 -0
- package/lib/Collapse/style/css.js +2 -0
- package/lib/Collapse/style/index.css +1 -0
- package/lib/Collapse/style/index.d.ts +2 -0
- package/lib/Collapse/style/index.js +4 -0
- package/lib/Collapse/style/index.less +189 -0
- package/lib/Collapse/style/token.less +35 -0
- package/lib/ColorPicker/colors.d.ts +1 -0
- package/lib/ColorPicker/colors.js +27 -0
- package/lib/ColorPicker/control-bar.d.ts +12 -0
- package/lib/ColorPicker/control-bar.js +62 -0
- package/lib/ColorPicker/hooks/useColorPicker.d.ts +30 -0
- package/lib/ColorPicker/hooks/useColorPicker.js +101 -0
- package/lib/ColorPicker/hooks/useControlBlock.d.ts +12 -0
- package/lib/ColorPicker/hooks/useControlBlock.js +75 -0
- package/lib/ColorPicker/index.d.ts +5 -0
- package/lib/ColorPicker/index.js +83 -0
- package/lib/ColorPicker/input-alpha.d.ts +7 -0
- package/lib/ColorPicker/input-alpha.js +35 -0
- package/lib/ColorPicker/input-hex.d.ts +11 -0
- package/lib/ColorPicker/input-hex.js +85 -0
- package/lib/ColorPicker/input-rgb.d.ts +10 -0
- package/lib/ColorPicker/input-rgb.js +47 -0
- package/lib/ColorPicker/interface.d.ts +126 -0
- package/lib/ColorPicker/interface.js +2 -0
- package/lib/ColorPicker/palette.d.ts +7 -0
- package/lib/ColorPicker/palette.js +48 -0
- package/lib/ColorPicker/panel.d.ts +20 -0
- package/lib/ColorPicker/panel.js +140 -0
- package/lib/ColorPicker/style/css.js +4 -0
- package/lib/ColorPicker/style/index.css +1 -0
- package/lib/ColorPicker/style/index.d.ts +4 -0
- package/lib/ColorPicker/style/index.js +6 -0
- package/lib/ColorPicker/style/index.less +310 -0
- package/lib/ColorPicker/style/token.less +57 -0
- package/lib/Comment/index.d.ts +7 -0
- package/lib/Comment/index.js +74 -0
- package/lib/Comment/interface.d.ts +41 -0
- package/lib/Comment/interface.js +2 -0
- package/lib/Comment/style/css.js +2 -0
- package/lib/Comment/style/index.css +1 -0
- package/lib/Comment/style/index.d.ts +2 -0
- package/lib/Comment/style/index.js +4 -0
- package/lib/Comment/style/index.less +94 -0
- package/lib/Comment/style/token.less +17 -0
- package/lib/ConfigProvider/context.d.ts +4 -0
- package/lib/ConfigProvider/context.js +59 -0
- package/lib/ConfigProvider/index.d.ts +11 -0
- package/lib/ConfigProvider/index.js +123 -0
- package/lib/ConfigProvider/interface.d.ts +248 -0
- package/lib/ConfigProvider/interface.js +2 -0
- package/lib/ConfigProvider/style/css.js +1 -0
- package/lib/ConfigProvider/style/index.d.ts +1 -0
- package/lib/ConfigProvider/style/index.js +3 -0
- package/lib/ConfigProvider/util.d.ts +2 -0
- package/lib/ConfigProvider/util.js +123 -0
- package/lib/DatePicker/__test__/utils.d.ts +4 -0
- package/lib/DatePicker/__test__/utils.js +41 -0
- package/lib/DatePicker/context.d.ts +8 -0
- package/lib/DatePicker/context.js +4 -0
- package/lib/DatePicker/hooks/useCellClassName.d.ts +1 -0
- package/lib/DatePicker/hooks/useCellClassName.js +113 -0
- package/lib/DatePicker/index.d.ts +4 -0
- package/lib/DatePicker/index.js +90 -0
- package/lib/DatePicker/interface.d.ts +518 -0
- package/lib/DatePicker/interface.js +2 -0
- package/lib/DatePicker/panels/body.d.ts +30 -0
- package/lib/DatePicker/panels/body.js +68 -0
- package/lib/DatePicker/panels/date/index.d.ts +24 -0
- package/lib/DatePicker/panels/date/index.js +183 -0
- package/lib/DatePicker/panels/footer.d.ts +1 -0
- package/lib/DatePicker/panels/footer.js +26 -0
- package/lib/DatePicker/panels/header.d.ts +20 -0
- package/lib/DatePicker/panels/header.js +59 -0
- package/lib/DatePicker/panels/month/index.d.ts +17 -0
- package/lib/DatePicker/panels/month/index.js +108 -0
- package/lib/DatePicker/panels/quarter/index.d.ts +17 -0
- package/lib/DatePicker/panels/quarter/index.js +88 -0
- package/lib/DatePicker/panels/range/index.d.ts +28 -0
- package/lib/DatePicker/panels/range/index.js +170 -0
- package/lib/DatePicker/panels/shortcuts.d.ts +4 -0
- package/lib/DatePicker/panels/shortcuts.js +49 -0
- package/lib/DatePicker/panels/week/index.d.ts +16 -0
- package/lib/DatePicker/panels/week/index.js +61 -0
- package/lib/DatePicker/panels/week-list.d.ts +8 -0
- package/lib/DatePicker/panels/week-list.js +17 -0
- package/lib/DatePicker/panels/year/index.d.ts +16 -0
- package/lib/DatePicker/panels/year/index.js +88 -0
- package/lib/DatePicker/picker-range.d.ts +4 -0
- package/lib/DatePicker/picker-range.js +709 -0
- package/lib/DatePicker/picker.d.ts +18 -0
- package/lib/DatePicker/picker.js +427 -0
- package/lib/DatePicker/style/css.js +7 -0
- package/lib/DatePicker/style/date.less +101 -0
- package/lib/DatePicker/style/index.css +1 -0
- package/lib/DatePicker/style/index.d.ts +7 -0
- package/lib/DatePicker/style/index.js +9 -0
- package/lib/DatePicker/style/index.less +302 -0
- package/lib/DatePicker/style/month.less +26 -0
- package/lib/DatePicker/style/quarter.less +8 -0
- package/lib/DatePicker/style/range.less +9 -0
- package/lib/DatePicker/style/rtl.less +54 -0
- package/lib/DatePicker/style/shortcuts.less +25 -0
- package/lib/DatePicker/style/token.less +60 -0
- package/lib/DatePicker/style/week.less +68 -0
- package/lib/DatePicker/style/year.less +8 -0
- package/lib/DatePicker/util.d.ts +9 -0
- package/lib/DatePicker/util.js +108 -0
- package/lib/Descriptions/index.d.ts +7 -0
- package/lib/Descriptions/index.js +175 -0
- package/lib/Descriptions/interface.d.ts +79 -0
- package/lib/Descriptions/interface.js +2 -0
- package/lib/Descriptions/style/css.js +2 -0
- package/lib/Descriptions/style/index.css +1 -0
- package/lib/Descriptions/style/index.d.ts +2 -0
- package/lib/Descriptions/style/index.js +4 -0
- package/lib/Descriptions/style/index.less +213 -0
- package/lib/Descriptions/style/token.less +45 -0
- package/lib/Divider/index.d.ts +5 -0
- package/lib/Divider/index.js +69 -0
- package/lib/Divider/interface.d.ts +21 -0
- package/lib/Divider/interface.js +2 -0
- package/lib/Divider/style/css.js +2 -0
- package/lib/Divider/style/index.css +1 -0
- package/lib/Divider/style/index.d.ts +2 -0
- package/lib/Divider/style/index.js +4 -0
- package/lib/Divider/style/index.less +63 -0
- package/lib/Divider/style/token.less +15 -0
- package/lib/Drawer/index.d.ts +5 -0
- package/lib/Drawer/index.js +225 -0
- package/lib/Drawer/interface.d.ts +185 -0
- package/lib/Drawer/interface.js +2 -0
- package/lib/Drawer/style/css.js +3 -0
- package/lib/Drawer/style/index.css +1 -0
- package/lib/Drawer/style/index.d.ts +3 -0
- package/lib/Drawer/style/index.js +5 -0
- package/lib/Drawer/style/index.less +137 -0
- package/lib/Drawer/style/token.less +16 -0
- package/lib/Dropdown/button.d.ts +5 -0
- package/lib/Dropdown/button.js +96 -0
- package/lib/Dropdown/index.d.ts +8 -0
- package/lib/Dropdown/index.js +194 -0
- package/lib/Dropdown/interface.d.ts +109 -0
- package/lib/Dropdown/interface.js +2 -0
- package/lib/Dropdown/style/css.js +4 -0
- package/lib/Dropdown/style/index.css +1 -0
- package/lib/Dropdown/style/index.d.ts +4 -0
- package/lib/Dropdown/style/index.js +6 -0
- package/lib/Dropdown/style/index.less +182 -0
- package/lib/Dropdown/style/token.less +57 -0
- package/lib/Empty/index.d.ts +5 -0
- package/lib/Empty/index.js +67 -0
- package/lib/Empty/interface.d.ts +23 -0
- package/lib/Empty/interface.js +2 -0
- package/lib/Empty/style/css.js +2 -0
- package/lib/Empty/style/index.css +1 -0
- package/lib/Empty/style/index.d.ts +2 -0
- package/lib/Empty/style/index.js +4 -0
- package/lib/Empty/style/index.less +32 -0
- package/lib/Empty/style/token.less +7 -0
- package/lib/Form/context.d.ts +14 -0
- package/lib/Form/context.js +40 -0
- package/lib/Form/control.d.ts +66 -0
- package/lib/Form/control.js +458 -0
- package/lib/Form/form-item.d.ts +7 -0
- package/lib/Form/form-item.js +287 -0
- package/lib/Form/form-label.d.ts +9 -0
- package/lib/Form/form-label.js +96 -0
- package/lib/Form/form-list.d.ts +6 -0
- package/lib/Form/form-list.js +172 -0
- package/lib/Form/form-provider.d.ts +4 -0
- package/lib/Form/form-provider.js +54 -0
- package/lib/Form/form.d.ts +8 -0
- package/lib/Form/form.js +183 -0
- package/lib/Form/hooks/useContext.d.ts +10 -0
- package/lib/Form/hooks/useContext.js +47 -0
- package/lib/Form/hooks/useState.d.ts +3 -0
- package/lib/Form/hooks/useState.js +61 -0
- package/lib/Form/hooks/useWatch.d.ts +3 -0
- package/lib/Form/hooks/useWatch.js +68 -0
- package/lib/Form/index.d.ts +24 -0
- package/lib/Form/index.js +24 -0
- package/lib/Form/interface.d.ts +533 -0
- package/lib/Form/interface.js +18 -0
- package/lib/Form/promisify.d.ts +2 -0
- package/lib/Form/promisify.js +52 -0
- package/lib/Form/store.d.ts +95 -0
- package/lib/Form/store.js +531 -0
- package/lib/Form/style/css.js +3 -0
- package/lib/Form/style/index.css +1 -0
- package/lib/Form/style/index.d.ts +3 -0
- package/lib/Form/style/index.js +5 -0
- package/lib/Form/style/index.less +242 -0
- package/lib/Form/style/status.less +237 -0
- package/lib/Form/style/token.less +76 -0
- package/lib/Form/useForm.d.ts +3 -0
- package/lib/Form/useForm.js +65 -0
- package/lib/Form/utils.d.ts +14 -0
- package/lib/Form/utils.js +211 -0
- package/lib/Grid/col.d.ts +5 -0
- package/lib/Grid/col.js +117 -0
- package/lib/Grid/context.d.ts +20 -0
- package/lib/Grid/context.js +7 -0
- package/lib/Grid/grid-item.d.ts +7 -0
- package/lib/Grid/grid-item.js +115 -0
- package/lib/Grid/grid.d.ts +5 -0
- package/lib/Grid/grid.js +158 -0
- package/lib/Grid/hooks/useResponsiveState.d.ts +2 -0
- package/lib/Grid/hooks/useResponsiveState.js +86 -0
- package/lib/Grid/index.d.ts +11 -0
- package/lib/Grid/index.js +14 -0
- package/lib/Grid/interface.d.ts +239 -0
- package/lib/Grid/interface.js +2 -0
- package/lib/Grid/row.d.ts +5 -0
- package/lib/Grid/row.js +145 -0
- package/lib/Grid/style/col.less +148 -0
- package/lib/Grid/style/css.js +2 -0
- package/lib/Grid/style/grid.less +11 -0
- package/lib/Grid/style/index.css +1 -0
- package/lib/Grid/style/index.d.ts +2 -0
- package/lib/Grid/style/index.js +4 -0
- package/lib/Grid/style/index.less +3 -0
- package/lib/Grid/style/row.less +44 -0
- package/lib/Grid/utils.d.ts +11 -0
- package/lib/Grid/utils.js +56 -0
- package/lib/Icon/addFromIconFontCn.d.ts +9 -0
- package/lib/Icon/addFromIconFontCn.js +82 -0
- package/lib/Icon/index.d.ts +25 -0
- package/lib/Icon/index.js +96 -0
- package/lib/Icon/style/css.js +0 -0
- package/lib/Icon/style/index.d.ts +0 -0
- package/lib/Icon/style/index.js +0 -0
- package/lib/Image/image-footer.d.ts +13 -0
- package/lib/Image/image-footer.js +57 -0
- package/lib/Image/image-preview-arrow.d.ts +9 -0
- package/lib/Image/image-preview-arrow.js +54 -0
- package/lib/Image/image-preview-group.d.ts +10 -0
- package/lib/Image/image-preview-group.js +197 -0
- package/lib/Image/image-preview-toolbar.d.ts +14 -0
- package/lib/Image/image-preview-toolbar.js +135 -0
- package/lib/Image/image-preview.d.ts +7 -0
- package/lib/Image/image-preview.js +475 -0
- package/lib/Image/image.d.ts +11 -0
- package/lib/Image/image.js +219 -0
- package/lib/Image/index.d.ts +3 -0
- package/lib/Image/index.js +7 -0
- package/lib/Image/interface.d.ts +274 -0
- package/lib/Image/interface.js +2 -0
- package/lib/Image/previewGroupContext.d.ts +25 -0
- package/lib/Image/previewGroupContext.js +17 -0
- package/lib/Image/style/css.js +2 -0
- package/lib/Image/style/image.less +226 -0
- package/lib/Image/style/index.css +1 -0
- package/lib/Image/style/index.d.ts +2 -0
- package/lib/Image/style/index.js +4 -0
- package/lib/Image/style/index.less +6 -0
- package/lib/Image/style/preview.less +248 -0
- package/lib/Image/style/rtl.less +16 -0
- package/lib/Image/style/token.less +120 -0
- package/lib/Image/style/trigger.less +13 -0
- package/lib/Image/trigger-for-toolbar.d.ts +10 -0
- package/lib/Image/trigger-for-toolbar.js +15 -0
- package/lib/Image/utils/getFixTranslate.d.ts +1 -0
- package/lib/Image/utils/getFixTranslate.js +42 -0
- package/lib/Image/utils/getScale.d.ts +13 -0
- package/lib/Image/utils/getScale.js +83 -0
- package/lib/Image/utils/hooks/useImageStatus.d.ts +12 -0
- package/lib/Image/utils/hooks/useImageStatus.js +37 -0
- package/lib/Image/utils/hooks/useShowFooter.d.ts +8 -0
- package/lib/Image/utils/hooks/useShowFooter.js +10 -0
- package/lib/Input/autoSizeTextAreaHeight.d.ts +5 -0
- package/lib/Input/autoSizeTextAreaHeight.js +101 -0
- package/lib/Input/group.d.ts +7 -0
- package/lib/Input/group.js +61 -0
- package/lib/Input/index.d.ts +7 -0
- package/lib/Input/index.js +7 -0
- package/lib/Input/input-element.d.ts +4 -0
- package/lib/Input/input-element.js +251 -0
- package/lib/Input/input.d.ts +17 -0
- package/lib/Input/input.js +180 -0
- package/lib/Input/interface.d.ts +325 -0
- package/lib/Input/interface.js +2 -0
- package/lib/Input/password.d.ts +5 -0
- package/lib/Input/password.js +117 -0
- package/lib/Input/search.d.ts +5 -0
- package/lib/Input/search.js +101 -0
- package/lib/Input/style/css.js +3 -0
- package/lib/Input/style/index.css +1 -0
- package/lib/Input/style/index.d.ts +3 -0
- package/lib/Input/style/index.js +5 -0
- package/lib/Input/style/index.less +404 -0
- package/lib/Input/style/password.less +14 -0
- package/lib/Input/style/rtl.less +141 -0
- package/lib/Input/style/search.less +39 -0
- package/lib/Input/style/size.less +200 -0
- package/lib/Input/style/status.less +42 -0
- package/lib/Input/style/textarea.less +48 -0
- package/lib/Input/style/token.less +129 -0
- package/lib/Input/textarea.d.ts +12 -0
- package/lib/Input/textarea.js +193 -0
- package/lib/Input/useComposition.d.ts +17 -0
- package/lib/Input/useComposition.js +75 -0
- package/lib/InputNumber/Decimal.d.ts +21 -0
- package/lib/InputNumber/Decimal.js +199 -0
- package/lib/InputNumber/index.d.ts +6 -0
- package/lib/InputNumber/index.js +272 -0
- package/lib/InputNumber/interface.d.ts +141 -0
- package/lib/InputNumber/interface.js +2 -0
- package/lib/InputNumber/style/css.js +3 -0
- package/lib/InputNumber/style/index.css +1 -0
- package/lib/InputNumber/style/index.d.ts +3 -0
- package/lib/InputNumber/style/index.js +5 -0
- package/lib/InputNumber/style/index.less +170 -0
- package/lib/InputNumber/style/token.less +21 -0
- package/lib/InputNumber/useSelectionRange.d.ts +4 -0
- package/lib/InputNumber/useSelectionRange.js +32 -0
- package/lib/InputNumber/utils.d.ts +28 -0
- package/lib/InputNumber/utils.js +122 -0
- package/lib/InputTag/index.d.ts +3 -0
- package/lib/InputTag/index.js +7 -0
- package/lib/InputTag/input-tag.d.ts +9 -0
- package/lib/InputTag/input-tag.js +527 -0
- package/lib/InputTag/interface.d.ts +215 -0
- package/lib/InputTag/interface.js +2 -0
- package/lib/InputTag/style/css.js +3 -0
- package/lib/InputTag/style/index.css +1 -0
- package/lib/InputTag/style/index.d.ts +3 -0
- package/lib/InputTag/style/index.js +5 -0
- package/lib/InputTag/style/index.less +364 -0
- package/lib/InputTag/style/mixin.less +23 -0
- package/lib/InputTag/style/token.less +103 -0
- package/lib/Layout/content.d.ts +4 -0
- package/lib/Layout/content.js +59 -0
- package/lib/Layout/footer.d.ts +4 -0
- package/lib/Layout/footer.js +59 -0
- package/lib/Layout/header.d.ts +4 -0
- package/lib/Layout/header.js +59 -0
- package/lib/Layout/index.d.ts +17 -0
- package/lib/Layout/index.js +112 -0
- package/lib/Layout/interface.d.ts +121 -0
- package/lib/Layout/interface.js +2 -0
- package/lib/Layout/sider.d.ts +10 -0
- package/lib/Layout/sider.js +168 -0
- package/lib/Layout/style/css.js +4 -0
- package/lib/Layout/style/index.css +1 -0
- package/lib/Layout/style/index.d.ts +4 -0
- package/lib/Layout/style/index.js +6 -0
- package/lib/Layout/style/index.less +102 -0
- package/lib/Layout/style/token.less +13 -0
- package/lib/Link/index.d.ts +5 -0
- package/lib/Link/index.js +87 -0
- package/lib/Link/interface.d.ts +30 -0
- package/lib/Link/interface.js +2 -0
- package/lib/Link/style/css.js +2 -0
- package/lib/Link/style/index.css +1 -0
- package/lib/Link/style/index.d.ts +2 -0
- package/lib/Link/style/index.js +4 -0
- package/lib/Link/style/index.less +107 -0
- package/lib/Link/style/token.less +33 -0
- package/lib/List/index.d.ts +12 -0
- package/lib/List/index.js +256 -0
- package/lib/List/interface.d.ts +192 -0
- package/lib/List/interface.js +2 -0
- package/lib/List/item.d.ts +7 -0
- package/lib/List/item.js +86 -0
- package/lib/List/meta.d.ts +4 -0
- package/lib/List/meta.js +65 -0
- package/lib/List/style/css.js +6 -0
- package/lib/List/style/index.css +1 -0
- package/lib/List/style/index.d.ts +6 -0
- package/lib/List/style/index.js +8 -0
- package/lib/List/style/index.less +208 -0
- package/lib/List/style/token.less +49 -0
- package/lib/Mentions/index.d.ts +5 -0
- package/lib/Mentions/index.js +176 -0
- package/lib/Mentions/interface.d.ts +92 -0
- package/lib/Mentions/interface.js +2 -0
- package/lib/Mentions/style/css.js +2 -0
- package/lib/Mentions/style/index.css +1 -0
- package/lib/Mentions/style/index.d.ts +2 -0
- package/lib/Mentions/style/index.js +4 -0
- package/lib/Mentions/style/index.less +39 -0
- package/lib/Mentions/style/token.less +6 -0
- package/lib/Mentions/utils.d.ts +9 -0
- package/lib/Mentions/utils.js +27 -0
- package/lib/Menu/context.d.ts +16 -0
- package/lib/Menu/context.js +5 -0
- package/lib/Menu/indent.d.ts +5 -0
- package/lib/Menu/indent.js +60 -0
- package/lib/Menu/index.d.ts +13 -0
- package/lib/Menu/index.js +226 -0
- package/lib/Menu/interface.d.ts +233 -0
- package/lib/Menu/interface.js +2 -0
- package/lib/Menu/item-group.d.ts +6 -0
- package/lib/Menu/item-group.js +45 -0
- package/lib/Menu/item.d.ts +6 -0
- package/lib/Menu/item.js +108 -0
- package/lib/Menu/overflow-wrap.d.ts +9 -0
- package/lib/Menu/overflow-wrap.js +155 -0
- package/lib/Menu/style/css.js +4 -0
- package/lib/Menu/style/index.css +1 -0
- package/lib/Menu/style/index.d.ts +4 -0
- package/lib/Menu/style/index.js +6 -0
- package/lib/Menu/style/index.less +581 -0
- package/lib/Menu/style/token.less +99 -0
- package/lib/Menu/sub-menu/index.d.ts +6 -0
- package/lib/Menu/sub-menu/index.js +58 -0
- package/lib/Menu/sub-menu/inline.d.ts +5 -0
- package/lib/Menu/sub-menu/inline.js +178 -0
- package/lib/Menu/sub-menu/pop.d.ts +5 -0
- package/lib/Menu/sub-menu/pop.js +123 -0
- package/lib/Menu/util.d.ts +16 -0
- package/lib/Menu/util.js +143 -0
- package/lib/Message/index.d.ts +30 -0
- package/lib/Message/index.js +194 -0
- package/lib/Message/interface.d.ts +83 -0
- package/lib/Message/interface.js +2 -0
- package/lib/Message/style/css.js +2 -0
- package/lib/Message/style/index.css +1 -0
- package/lib/Message/style/index.d.ts +2 -0
- package/lib/Message/style/index.js +4 -0
- package/lib/Message/style/index.less +193 -0
- package/lib/Message/style/token.less +54 -0
- package/lib/Message/useMessage.d.ts +5 -0
- package/lib/Message/useMessage.js +95 -0
- package/lib/Modal/config.d.ts +10 -0
- package/lib/Modal/config.js +35 -0
- package/lib/Modal/confirm.d.ts +14 -0
- package/lib/Modal/confirm.js +149 -0
- package/lib/Modal/index.d.ts +2 -0
- package/lib/Modal/index.js +7 -0
- package/lib/Modal/interface.d.ts +190 -0
- package/lib/Modal/interface.js +2 -0
- package/lib/Modal/locale.d.ts +0 -0
- package/lib/Modal/locale.js +0 -0
- package/lib/Modal/modal.d.ts +18 -0
- package/lib/Modal/modal.js +348 -0
- package/lib/Modal/style/css.js +3 -0
- package/lib/Modal/style/index.css +1 -0
- package/lib/Modal/style/index.d.ts +3 -0
- package/lib/Modal/style/index.js +5 -0
- package/lib/Modal/style/index.less +255 -0
- package/lib/Modal/style/token.less +36 -0
- package/lib/Modal/useModal/hookModal.d.ts +8 -0
- package/lib/Modal/useModal/hookModal.js +86 -0
- package/lib/Modal/useModal/index.d.ts +4 -0
- package/lib/Modal/useModal/index.js +87 -0
- package/lib/Notification/index.d.ts +26 -0
- package/lib/Notification/index.js +209 -0
- package/lib/Notification/interface.d.ts +77 -0
- package/lib/Notification/interface.js +2 -0
- package/lib/Notification/style/css.js +2 -0
- package/lib/Notification/style/index.css +1 -0
- package/lib/Notification/style/index.d.ts +2 -0
- package/lib/Notification/style/index.js +4 -0
- package/lib/Notification/style/index.less +240 -0
- package/lib/Notification/style/token.less +58 -0
- package/lib/Notification/useNotification.d.ts +5 -0
- package/lib/Notification/useNotification.js +92 -0
- package/lib/PageHeader/index.d.ts +8 -0
- package/lib/PageHeader/index.js +114 -0
- package/lib/PageHeader/interface.d.ts +44 -0
- package/lib/PageHeader/interface.js +2 -0
- package/lib/PageHeader/style/css.js +3 -0
- package/lib/PageHeader/style/index.css +1 -0
- package/lib/PageHeader/style/index.d.ts +3 -0
- package/lib/PageHeader/style/index.js +5 -0
- package/lib/PageHeader/style/index.less +160 -0
- package/lib/PageHeader/style/token.less +31 -0
- package/lib/Pagination/index.d.ts +3 -0
- package/lib/Pagination/index.js +7 -0
- package/lib/Pagination/interface.d.ts +133 -0
- package/lib/Pagination/interface.js +2 -0
- package/lib/Pagination/page-item.d.ts +62 -0
- package/lib/Pagination/page-item.js +170 -0
- package/lib/Pagination/page-jumper.d.ts +13 -0
- package/lib/Pagination/page-jumper.js +108 -0
- package/lib/Pagination/page-options.d.ts +13 -0
- package/lib/Pagination/page-options.js +53 -0
- package/lib/Pagination/pagination.d.ts +11 -0
- package/lib/Pagination/pagination.js +276 -0
- package/lib/Pagination/style/css.js +4 -0
- package/lib/Pagination/style/index.css +1 -0
- package/lib/Pagination/style/index.d.ts +4 -0
- package/lib/Pagination/style/index.js +6 -0
- package/lib/Pagination/style/index.less +338 -0
- package/lib/Pagination/style/token.less +72 -0
- package/lib/Popconfirm/index.d.ts +7 -0
- package/lib/Popconfirm/index.js +155 -0
- package/lib/Popconfirm/interface.d.ts +128 -0
- package/lib/Popconfirm/interface.js +2 -0
- package/lib/Popconfirm/style/css.js +5 -0
- package/lib/Popconfirm/style/index.css +1 -0
- package/lib/Popconfirm/style/index.d.ts +5 -0
- package/lib/Popconfirm/style/index.js +7 -0
- package/lib/Popconfirm/style/index.less +75 -0
- package/lib/Popconfirm/style/token.less +12 -0
- package/lib/Popover/index.d.ts +7 -0
- package/lib/Popover/index.js +73 -0
- package/lib/Popover/interface.d.ts +20 -0
- package/lib/Popover/interface.js +2 -0
- package/lib/Popover/style/css.js +3 -0
- package/lib/Popover/style/index.css +1 -0
- package/lib/Popover/style/index.d.ts +3 -0
- package/lib/Popover/style/index.js +5 -0
- package/lib/Popover/style/index.less +52 -0
- package/lib/Popover/style/token.less +13 -0
- package/lib/Portal/Portal.d.ts +15 -0
- package/lib/Portal/Portal.js +62 -0
- package/lib/Portal/index.d.ts +19 -0
- package/lib/Portal/index.js +72 -0
- package/lib/Progress/circle-progress.d.ts +8 -0
- package/lib/Progress/circle-progress.js +92 -0
- package/lib/Progress/index.d.ts +5 -0
- package/lib/Progress/index.js +95 -0
- package/lib/Progress/interface.d.ts +87 -0
- package/lib/Progress/interface.js +2 -0
- package/lib/Progress/line-progess.d.ts +2 -0
- package/lib/Progress/line-progess.js +86 -0
- package/lib/Progress/steps-progress.d.ts +2 -0
- package/lib/Progress/steps-progress.js +88 -0
- package/lib/Progress/style/css.js +3 -0
- package/lib/Progress/style/index.css +1 -0
- package/lib/Progress/style/index.d.ts +3 -0
- package/lib/Progress/style/index.js +5 -0
- package/lib/Progress/style/index.less +429 -0
- package/lib/Progress/style/token.less +59 -0
- package/lib/Radio/group.d.ts +10 -0
- package/lib/Radio/group.js +123 -0
- package/lib/Radio/index.d.ts +5 -0
- package/lib/Radio/index.js +10 -0
- package/lib/Radio/interface.d.ts +103 -0
- package/lib/Radio/interface.js +2 -0
- package/lib/Radio/radio.d.ts +11 -0
- package/lib/Radio/radio.js +131 -0
- package/lib/Radio/style/css.js +2 -0
- package/lib/Radio/style/index.css +1 -0
- package/lib/Radio/style/index.d.ts +2 -0
- package/lib/Radio/style/index.js +4 -0
- package/lib/Radio/style/index.less +330 -0
- package/lib/Radio/style/token.less +57 -0
- package/lib/Rate/index.d.ts +5 -0
- package/lib/Rate/index.js +185 -0
- package/lib/Rate/interface.d.ts +70 -0
- package/lib/Rate/interface.js +2 -0
- package/lib/Rate/style/css.js +3 -0
- package/lib/Rate/style/index.css +1 -0
- package/lib/Rate/style/index.d.ts +3 -0
- package/lib/Rate/style/index.js +5 -0
- package/lib/Rate/style/index.less +116 -0
- package/lib/Rate/style/token.less +13 -0
- package/lib/ResizeBox/index.d.ts +13 -0
- package/lib/ResizeBox/index.js +249 -0
- package/lib/ResizeBox/interface.d.ts +264 -0
- package/lib/ResizeBox/interface.js +2 -0
- package/lib/ResizeBox/resize-trigger.d.ts +30 -0
- package/lib/ResizeBox/resize-trigger.js +116 -0
- package/lib/ResizeBox/split-group.d.ts +4 -0
- package/lib/ResizeBox/split-group.js +345 -0
- package/lib/ResizeBox/split.d.ts +5 -0
- package/lib/ResizeBox/split.js +174 -0
- package/lib/ResizeBox/style/css.js +2 -0
- package/lib/ResizeBox/style/index.css +1 -0
- package/lib/ResizeBox/style/index.d.ts +2 -0
- package/lib/ResizeBox/style/index.js +4 -0
- package/lib/ResizeBox/style/index.less +148 -0
- package/lib/ResizeBox/style/token.less +5 -0
- package/lib/Result/403.d.ts +1 -0
- package/lib/Result/403.js +166 -0
- package/lib/Result/404.d.ts +1 -0
- package/lib/Result/404.js +132 -0
- package/lib/Result/500.d.ts +1 -0
- package/lib/Result/500.js +170 -0
- package/lib/Result/index.d.ts +7 -0
- package/lib/Result/index.js +93 -0
- package/lib/Result/interface.d.ts +35 -0
- package/lib/Result/interface.js +2 -0
- package/lib/Result/style/css.js +2 -0
- package/lib/Result/style/index.css +1 -0
- package/lib/Result/style/index.d.ts +2 -0
- package/lib/Result/style/index.js +4 -0
- package/lib/Result/style/index.less +96 -0
- package/lib/Result/style/token.less +30 -0
- package/lib/Select/index.d.ts +3 -0
- package/lib/Select/index.js +7 -0
- package/lib/Select/interface.d.ts +315 -0
- package/lib/Select/interface.js +2 -0
- package/lib/Select/opt-group.d.ts +6 -0
- package/lib/Select/opt-group.js +37 -0
- package/lib/Select/option.d.ts +6 -0
- package/lib/Select/option.js +78 -0
- package/lib/Select/select.d.ts +10 -0
- package/lib/Select/select.js +696 -0
- package/lib/Select/style/css.js +6 -0
- package/lib/Select/style/index.css +1 -0
- package/lib/Select/style/index.d.ts +6 -0
- package/lib/Select/style/index.js +8 -0
- package/lib/Select/style/index.less +123 -0
- package/lib/Select/style/mixin.less +418 -0
- package/lib/Select/style/token.less +133 -0
- package/lib/Select/utils.d.ts +26 -0
- package/lib/Select/utils.js +200 -0
- package/lib/Skeleton/image.d.ts +2 -0
- package/lib/Skeleton/image.js +18 -0
- package/lib/Skeleton/index.d.ts +7 -0
- package/lib/Skeleton/index.js +78 -0
- package/lib/Skeleton/interface.d.ts +50 -0
- package/lib/Skeleton/interface.js +2 -0
- package/lib/Skeleton/style/css.js +2 -0
- package/lib/Skeleton/style/index.css +1 -0
- package/lib/Skeleton/style/index.d.ts +2 -0
- package/lib/Skeleton/style/index.js +4 -0
- package/lib/Skeleton/style/index.less +99 -0
- package/lib/Skeleton/style/token.less +13 -0
- package/lib/Skeleton/text.d.ts +2 -0
- package/lib/Skeleton/text.js +27 -0
- package/lib/Slider/button.d.ts +21 -0
- package/lib/Slider/button.js +202 -0
- package/lib/Slider/dots.d.ts +17 -0
- package/lib/Slider/dots.js +57 -0
- package/lib/Slider/hooks/useInterval.d.ts +24 -0
- package/lib/Slider/hooks/useInterval.js +127 -0
- package/lib/Slider/hooks/useLegalValue.d.ts +15 -0
- package/lib/Slider/hooks/useLegalValue.js +110 -0
- package/lib/Slider/index.d.ts +5 -0
- package/lib/Slider/index.js +375 -0
- package/lib/Slider/input.d.ts +15 -0
- package/lib/Slider/input.js +105 -0
- package/lib/Slider/interface.d.ts +122 -0
- package/lib/Slider/interface.js +2 -0
- package/lib/Slider/marks.d.ts +16 -0
- package/lib/Slider/marks.js +47 -0
- package/lib/Slider/style/css.js +5 -0
- package/lib/Slider/style/index.css +1 -0
- package/lib/Slider/style/index.d.ts +5 -0
- package/lib/Slider/style/index.js +7 -0
- package/lib/Slider/style/index.less +326 -0
- package/lib/Slider/style/rtl.less +19 -0
- package/lib/Slider/style/token.less +51 -0
- package/lib/Slider/ticks.d.ts +13 -0
- package/lib/Slider/ticks.js +53 -0
- package/lib/Slider/utils.d.ts +11 -0
- package/lib/Slider/utils.js +99 -0
- package/lib/Space/index.d.ts +5 -0
- package/lib/Space/index.js +139 -0
- package/lib/Space/interface.d.ts +38 -0
- package/lib/Space/interface.js +2 -0
- package/lib/Space/style/css.js +2 -0
- package/lib/Space/style/index.css +1 -0
- package/lib/Space/style/index.d.ts +2 -0
- package/lib/Space/style/index.js +4 -0
- package/lib/Space/style/index.less +35 -0
- package/lib/Space/toArray.d.ts +1 -0
- package/lib/Space/toArray.js +20 -0
- package/lib/Spin/dot-loading.d.ts +5 -0
- package/lib/Spin/dot-loading.js +65 -0
- package/lib/Spin/index.d.ts +5 -0
- package/lib/Spin/index.js +110 -0
- package/lib/Spin/interface.d.ts +50 -0
- package/lib/Spin/interface.js +2 -0
- package/lib/Spin/style/css.js +2 -0
- package/lib/Spin/style/index.css +1 -0
- package/lib/Spin/style/index.d.ts +2 -0
- package/lib/Spin/style/index.js +4 -0
- package/lib/Spin/style/index.less +128 -0
- package/lib/Spin/style/token.less +16 -0
- package/lib/Statistic/countdown.d.ts +5 -0
- package/lib/Statistic/countdown.js +92 -0
- package/lib/Statistic/index.d.ts +8 -0
- package/lib/Statistic/index.js +174 -0
- package/lib/Statistic/interface.d.ts +139 -0
- package/lib/Statistic/interface.js +2 -0
- package/lib/Statistic/style/css.js +3 -0
- package/lib/Statistic/style/index.css +1 -0
- package/lib/Statistic/style/index.d.ts +3 -0
- package/lib/Statistic/style/index.js +5 -0
- package/lib/Statistic/style/index.less +66 -0
- package/lib/Statistic/style/token.less +16 -0
- package/lib/Statistic/util.d.ts +1 -0
- package/lib/Statistic/util.js +46 -0
- package/lib/Steps/index.d.ts +8 -0
- package/lib/Steps/index.js +93 -0
- package/lib/Steps/interface.d.ts +124 -0
- package/lib/Steps/interface.js +2 -0
- package/lib/Steps/step.d.ts +5 -0
- package/lib/Steps/step.js +96 -0
- package/lib/Steps/style/arrow.less +301 -0
- package/lib/Steps/style/circle.less +358 -0
- package/lib/Steps/style/css.js +2 -0
- package/lib/Steps/style/dot.less +292 -0
- package/lib/Steps/style/index.css +1 -0
- package/lib/Steps/style/index.d.ts +2 -0
- package/lib/Steps/style/index.js +4 -0
- package/lib/Steps/style/index.less +80 -0
- package/lib/Steps/style/navigation.less +85 -0
- package/lib/Steps/style/token.less +137 -0
- package/lib/Switch/index.d.ts +10 -0
- package/lib/Switch/index.js +136 -0
- package/lib/Switch/interface.d.ts +65 -0
- package/lib/Switch/interface.js +2 -0
- package/lib/Switch/style/css.js +2 -0
- package/lib/Switch/style/index.css +1 -0
- package/lib/Switch/style/index.d.ts +2 -0
- package/lib/Switch/style/index.js +4 -0
- package/lib/Switch/style/index.less +410 -0
- package/lib/Switch/style/token.less +50 -0
- package/lib/Table/__test__/common/columns.d.ts +11 -0
- package/lib/Table/__test__/common/columns.js +199 -0
- package/lib/Table/__test__/common/data.d.ts +29 -0
- package/lib/Table/__test__/common/data.js +142 -0
- package/lib/Table/colgroup.d.ts +13 -0
- package/lib/Table/colgroup.js +67 -0
- package/lib/Table/constant.d.ts +2 -0
- package/lib/Table/constant.js +5 -0
- package/lib/Table/hooks/useColumns.d.ts +3 -0
- package/lib/Table/hooks/useColumns.js +196 -0
- package/lib/Table/hooks/useComponent.d.ts +31 -0
- package/lib/Table/hooks/useComponent.js +70 -0
- package/lib/Table/hooks/useExpand.d.ts +3 -0
- package/lib/Table/hooks/useExpand.js +69 -0
- package/lib/Table/hooks/useRowSelection.d.ts +12 -0
- package/lib/Table/hooks/useRowSelection.js +161 -0
- package/lib/Table/hooks/useSorter.d.ts +7 -0
- package/lib/Table/hooks/useSorter.js +128 -0
- package/lib/Table/hooks/useStickyClassNames.d.ts +3 -0
- package/lib/Table/hooks/useStickyClassNames.js +43 -0
- package/lib/Table/hooks/useStickyOffsets.d.ts +3 -0
- package/lib/Table/hooks/useStickyOffsets.js +68 -0
- package/lib/Table/index.d.ts +9 -0
- package/lib/Table/index.js +10 -0
- package/lib/Table/interface.d.ts +704 -0
- package/lib/Table/interface.js +2 -0
- package/lib/Table/style/css.js +11 -0
- package/lib/Table/style/filters-popup.less +45 -0
- package/lib/Table/style/index.css +1 -0
- package/lib/Table/style/index.d.ts +11 -0
- package/lib/Table/style/index.js +13 -0
- package/lib/Table/style/index.less +954 -0
- package/lib/Table/style/token.less +96 -0
- package/lib/Table/summary/cell.d.ts +12 -0
- package/lib/Table/summary/cell.js +35 -0
- package/lib/Table/summary/context.d.ts +10 -0
- package/lib/Table/summary/context.js +5 -0
- package/lib/Table/summary/index.d.ts +8 -0
- package/lib/Table/summary/index.js +13 -0
- package/lib/Table/summary/row.d.ts +7 -0
- package/lib/Table/summary/row.js +80 -0
- package/lib/Table/table.d.ts +10 -0
- package/lib/Table/table.js +725 -0
- package/lib/Table/tbody/index.d.ts +3 -0
- package/lib/Table/tbody/index.js +143 -0
- package/lib/Table/tbody/td.d.ts +25 -0
- package/lib/Table/tbody/td.js +141 -0
- package/lib/Table/tbody/tr.d.ts +16 -0
- package/lib/Table/tbody/tr.js +164 -0
- package/lib/Table/tfoot/index.d.ts +3 -0
- package/lib/Table/tfoot/index.js +14 -0
- package/lib/Table/thead/column.d.ts +3 -0
- package/lib/Table/thead/column.js +244 -0
- package/lib/Table/thead/index.d.ts +3 -0
- package/lib/Table/thead/index.js +115 -0
- package/lib/Table/utils.d.ts +17 -0
- package/lib/Table/utils.js +224 -0
- package/lib/Tabs/hook/useDomSize.d.ts +11 -0
- package/lib/Tabs/hook/useDomSize.js +37 -0
- package/lib/Tabs/hook/useHeaderScroll.d.ts +9 -0
- package/lib/Tabs/hook/useHeaderScroll.js +89 -0
- package/lib/Tabs/index.d.ts +4 -0
- package/lib/Tabs/index.js +7 -0
- package/lib/Tabs/interface.d.ts +213 -0
- package/lib/Tabs/interface.js +2 -0
- package/lib/Tabs/style/css.js +3 -0
- package/lib/Tabs/style/index.css +1 -0
- package/lib/Tabs/style/index.d.ts +3 -0
- package/lib/Tabs/style/index.js +5 -0
- package/lib/Tabs/style/index.less +779 -0
- package/lib/Tabs/style/rtl.less +103 -0
- package/lib/Tabs/style/token.less +137 -0
- package/lib/Tabs/style/vertical.less +202 -0
- package/lib/Tabs/tab-content.d.ts +9 -0
- package/lib/Tabs/tab-content.js +59 -0
- package/lib/Tabs/tab-header/dropdown-icon.d.ts +1 -0
- package/lib/Tabs/tab-header/dropdown-icon.js +79 -0
- package/lib/Tabs/tab-header/index.d.ts +4 -0
- package/lib/Tabs/tab-header/index.js +329 -0
- package/lib/Tabs/tab-header/tab-ink.d.ts +11 -0
- package/lib/Tabs/tab-header/tab-ink.js +82 -0
- package/lib/Tabs/tab-header/tab-nav-icon.d.ts +17 -0
- package/lib/Tabs/tab-header/tab-nav-icon.js +103 -0
- package/lib/Tabs/tab-header/tab-title.d.ts +17 -0
- package/lib/Tabs/tab-header/tab-title.js +61 -0
- package/lib/Tabs/tab-pane.d.ts +8 -0
- package/lib/Tabs/tab-pane.js +62 -0
- package/lib/Tabs/tabs.d.ts +18 -0
- package/lib/Tabs/tabs.js +178 -0
- package/lib/Tabs/utils.d.ts +12 -0
- package/lib/Tabs/utils.js +43 -0
- package/lib/Tag/index.d.ts +5 -0
- package/lib/Tag/index.js +159 -0
- package/lib/Tag/interface.d.ts +72 -0
- package/lib/Tag/interface.js +2 -0
- package/lib/Tag/style/css.js +2 -0
- package/lib/Tag/style/index.css +1 -0
- package/lib/Tag/style/index.d.ts +2 -0
- package/lib/Tag/style/index.js +4 -0
- package/lib/Tag/style/index.less +177 -0
- package/lib/Tag/style/token.less +149 -0
- package/lib/TimePicker/context.d.ts +7 -0
- package/lib/TimePicker/context.js +4 -0
- package/lib/TimePicker/index.d.ts +4 -0
- package/lib/TimePicker/index.js +54 -0
- package/lib/TimePicker/interface.d.ts +244 -0
- package/lib/TimePicker/interface.js +2 -0
- package/lib/TimePicker/picker.d.ts +15 -0
- package/lib/TimePicker/picker.js +247 -0
- package/lib/TimePicker/range-picker.d.ts +12 -0
- package/lib/TimePicker/range-picker.js +80 -0
- package/lib/TimePicker/style/css.js +5 -0
- package/lib/TimePicker/style/index.css +1 -0
- package/lib/TimePicker/style/index.d.ts +5 -0
- package/lib/TimePicker/style/index.js +7 -0
- package/lib/TimePicker/style/index.less +95 -0
- package/lib/TimePicker/style/token.less +24 -0
- package/lib/TimePicker/time-column.d.ts +17 -0
- package/lib/TimePicker/time-column.js +80 -0
- package/lib/TimePicker/time-picker.d.ts +24 -0
- package/lib/TimePicker/time-picker.js +260 -0
- package/lib/TimePicker/util.d.ts +7 -0
- package/lib/TimePicker/util.js +64 -0
- package/lib/Timeline/index.d.ts +3 -0
- package/lib/Timeline/index.js +7 -0
- package/lib/Timeline/interface.d.ts +95 -0
- package/lib/Timeline/interface.js +2 -0
- package/lib/Timeline/item.d.ts +7 -0
- package/lib/Timeline/item.js +91 -0
- package/lib/Timeline/style/css.js +2 -0
- package/lib/Timeline/style/horizontal.less +82 -0
- package/lib/Timeline/style/index.css +1 -0
- package/lib/Timeline/style/index.d.ts +2 -0
- package/lib/Timeline/style/index.js +4 -0
- package/lib/Timeline/style/index.less +260 -0
- package/lib/Timeline/style/rtl.less +65 -0
- package/lib/Timeline/style/token.less +25 -0
- package/lib/Timeline/timeline.d.ts +10 -0
- package/lib/Timeline/timeline.js +121 -0
- package/lib/Tooltip/index.d.ts +10 -0
- package/lib/Tooltip/index.js +114 -0
- package/lib/Tooltip/interface.d.ts +92 -0
- package/lib/Tooltip/interface.js +2 -0
- package/lib/Tooltip/style/css.js +3 -0
- package/lib/Tooltip/style/index.css +1 -0
- package/lib/Tooltip/style/index.d.ts +3 -0
- package/lib/Tooltip/style/index.js +5 -0
- package/lib/Tooltip/style/index.less +69 -0
- package/lib/Tooltip/style/token.less +14 -0
- package/lib/Transfer/index.d.ts +5 -0
- package/lib/Transfer/index.js +247 -0
- package/lib/Transfer/interface.d.ts +225 -0
- package/lib/Transfer/interface.js +2 -0
- package/lib/Transfer/item.d.ts +3 -0
- package/lib/Transfer/item.js +141 -0
- package/lib/Transfer/list.d.ts +5 -0
- package/lib/Transfer/list.js +178 -0
- package/lib/Transfer/style/css.js +6 -0
- package/lib/Transfer/style/index.css +1 -0
- package/lib/Transfer/style/index.d.ts +6 -0
- package/lib/Transfer/style/index.js +8 -0
- package/lib/Transfer/style/index.less +330 -0
- package/lib/Transfer/style/token.less +49 -0
- package/lib/Tree/animation.d.ts +7 -0
- package/lib/Tree/animation.js +143 -0
- package/lib/Tree/context.d.ts +27 -0
- package/lib/Tree/context.js +5 -0
- package/lib/Tree/index.d.ts +73 -0
- package/lib/Tree/index.js +774 -0
- package/lib/Tree/interface.d.ts +344 -0
- package/lib/Tree/interface.js +2 -0
- package/lib/Tree/node-list.d.ts +3 -0
- package/lib/Tree/node-list.js +149 -0
- package/lib/Tree/node.d.ts +12 -0
- package/lib/Tree/node.js +292 -0
- package/lib/Tree/style/css.js +3 -0
- package/lib/Tree/style/index.css +1 -0
- package/lib/Tree/style/index.d.ts +3 -0
- package/lib/Tree/style/index.js +5 -0
- package/lib/Tree/style/index.less +467 -0
- package/lib/Tree/style/token.less +53 -0
- package/lib/Tree/util.d.ts +13 -0
- package/lib/Tree/util.js +179 -0
- package/lib/TreeSelect/hook/useKeyCache.d.ts +6 -0
- package/lib/TreeSelect/hook/useKeyCache.js +88 -0
- package/lib/TreeSelect/hook/useStateValue.d.ts +19 -0
- package/lib/TreeSelect/hook/useStateValue.js +146 -0
- package/lib/TreeSelect/hook/useTreeData.d.ts +3 -0
- package/lib/TreeSelect/hook/useTreeData.js +39 -0
- package/lib/TreeSelect/index.d.ts +4 -0
- package/lib/TreeSelect/index.js +7 -0
- package/lib/TreeSelect/interface.d.ts +211 -0
- package/lib/TreeSelect/interface.js +13 -0
- package/lib/TreeSelect/style/css.js +5 -0
- package/lib/TreeSelect/style/index.css +1 -0
- package/lib/TreeSelect/style/index.d.ts +5 -0
- package/lib/TreeSelect/style/index.js +7 -0
- package/lib/TreeSelect/style/index.less +42 -0
- package/lib/TreeSelect/style/token.less +5 -0
- package/lib/TreeSelect/tree-list.d.ts +12 -0
- package/lib/TreeSelect/tree-list.js +168 -0
- package/lib/TreeSelect/tree-select.d.ts +12 -0
- package/lib/TreeSelect/tree-select.js +367 -0
- package/lib/TreeSelect/utils.d.ts +1 -0
- package/lib/TreeSelect/utils.js +17 -0
- package/lib/Trigger/getPopupStyle.d.ts +20 -0
- package/lib/Trigger/getPopupStyle.js +398 -0
- package/lib/Trigger/index.d.ts +123 -0
- package/lib/Trigger/index.js +942 -0
- package/lib/Trigger/interface.d.ts +246 -0
- package/lib/Trigger/interface.js +2 -0
- package/lib/Trigger/portal.d.ts +8 -0
- package/lib/Trigger/portal.js +29 -0
- package/lib/Trigger/style/css.js +2 -0
- package/lib/Trigger/style/index.css +1 -0
- package/lib/Trigger/style/index.d.ts +2 -0
- package/lib/Trigger/style/index.js +4 -0
- package/lib/Trigger/style/index.less +66 -0
- package/lib/Trigger/style/token.less +5 -0
- package/lib/Typography/base.d.ts +6 -0
- package/lib/Typography/base.js +241 -0
- package/lib/Typography/edit-content.d.ts +4 -0
- package/lib/Typography/edit-content.js +54 -0
- package/lib/Typography/ellipsis.d.ts +6 -0
- package/lib/Typography/ellipsis.js +228 -0
- package/lib/Typography/index.d.ts +13 -0
- package/lib/Typography/index.js +16 -0
- package/lib/Typography/interface.d.ts +262 -0
- package/lib/Typography/interface.js +2 -0
- package/lib/Typography/operations.d.ts +3 -0
- package/lib/Typography/operations.js +113 -0
- package/lib/Typography/paragraph.d.ts +4 -0
- package/lib/Typography/paragraph.js +49 -0
- package/lib/Typography/style/css.js +5 -0
- package/lib/Typography/style/index.css +1 -0
- package/lib/Typography/style/index.d.ts +5 -0
- package/lib/Typography/style/index.js +7 -0
- package/lib/Typography/style/index.less +336 -0
- package/lib/Typography/style/token.less +58 -0
- package/lib/Typography/text.d.ts +3 -0
- package/lib/Typography/text.js +43 -0
- package/lib/Typography/title.d.ts +4 -0
- package/lib/Typography/title.js +55 -0
- package/lib/Typography/typography.d.ts +4 -0
- package/lib/Typography/typography.js +37 -0
- package/lib/Typography/useCssEllipsis.d.ts +6 -0
- package/lib/Typography/useCssEllipsis.js +71 -0
- package/lib/Typography/useEllipsis.d.ts +21 -0
- package/lib/Typography/useEllipsis.js +242 -0
- package/lib/Upload/index.d.ts +3 -0
- package/lib/Upload/index.js +7 -0
- package/lib/Upload/interface.d.ts +337 -0
- package/lib/Upload/interface.js +9 -0
- package/lib/Upload/list/index.d.ts +6 -0
- package/lib/Upload/list/index.js +151 -0
- package/lib/Upload/list/pictureItem.d.ts +9 -0
- package/lib/Upload/list/pictureItem.js +81 -0
- package/lib/Upload/list/textItem.d.ts +9 -0
- package/lib/Upload/list/textItem.js +127 -0
- package/lib/Upload/list/uploadProgress.d.ts +14 -0
- package/lib/Upload/list/uploadProgress.js +84 -0
- package/lib/Upload/request.d.ts +3 -0
- package/lib/Upload/request.js +66 -0
- package/lib/Upload/style/css.js +6 -0
- package/lib/Upload/style/index.css +1 -0
- package/lib/Upload/style/index.d.ts +6 -0
- package/lib/Upload/style/index.js +8 -0
- package/lib/Upload/style/index.less +620 -0
- package/lib/Upload/style/token.less +102 -0
- package/lib/Upload/trigger-node.d.ts +6 -0
- package/lib/Upload/trigger-node.js +156 -0
- package/lib/Upload/upload.d.ts +12 -0
- package/lib/Upload/upload.js +249 -0
- package/lib/Upload/uploader.d.ts +28 -0
- package/lib/Upload/uploader.js +261 -0
- package/lib/Upload/util.d.ts +4 -0
- package/lib/Upload/util.js +120 -0
- package/lib/VerificationCode/index.d.ts +4 -0
- package/lib/VerificationCode/index.js +7 -0
- package/lib/VerificationCode/interface.d.ts +80 -0
- package/lib/VerificationCode/interface.js +2 -0
- package/lib/VerificationCode/style/css.js +3 -0
- package/lib/VerificationCode/style/index.css +1 -0
- package/lib/VerificationCode/style/index.d.ts +3 -0
- package/lib/VerificationCode/style/index.js +5 -0
- package/lib/VerificationCode/style/index.less +36 -0
- package/lib/VerificationCode/style/token.less +1 -0
- package/lib/VerificationCode/verification-code.d.ts +5 -0
- package/lib/VerificationCode/verification-code.js +105 -0
- package/lib/Watermark/index.d.ts +4 -0
- package/lib/Watermark/index.js +7 -0
- package/lib/Watermark/interface.d.ts +70 -0
- package/lib/Watermark/interface.js +2 -0
- package/lib/Watermark/style/css.js +1 -0
- package/lib/Watermark/style/index.css +0 -0
- package/lib/Watermark/style/index.d.ts +1 -0
- package/lib/Watermark/style/index.js +3 -0
- package/lib/Watermark/style/index.less +1 -0
- package/lib/Watermark/style/token.less +1 -0
- package/lib/Watermark/watermark.d.ts +5 -0
- package/lib/Watermark/watermark.js +93 -0
- package/lib/_class/Draggable/index.d.ts +2 -0
- package/lib/_class/Draggable/index.js +60 -0
- package/lib/_class/Draggable/interface.d.ts +24 -0
- package/lib/_class/Draggable/interface.js +2 -0
- package/lib/_class/Draggable/item.d.ts +3 -0
- package/lib/_class/Draggable/item.js +112 -0
- package/lib/_class/Draggable/style/index.css +1 -0
- package/lib/_class/Draggable/style/index.less +52 -0
- package/lib/_class/OverflowEllipsis/OverflowItem.d.ts +10 -0
- package/lib/_class/OverflowEllipsis/OverflowItem.js +48 -0
- package/lib/_class/OverflowEllipsis/index.d.ts +11 -0
- package/lib/_class/OverflowEllipsis/index.js +134 -0
- package/lib/_class/OverflowEllipsis/style/index.css +1 -0
- package/lib/_class/OverflowEllipsis/style/index.less +29 -0
- package/lib/_class/VirtualList/Filler.d.ts +15 -0
- package/lib/_class/VirtualList/Filler.js +51 -0
- package/lib/_class/VirtualList/index.d.ts +39 -0
- package/lib/_class/VirtualList/index.js +509 -0
- package/lib/_class/VirtualList/utils/algorithmUtil.d.ts +23 -0
- package/lib/_class/VirtualList/utils/algorithmUtil.js +75 -0
- package/lib/_class/VirtualList/utils/itemUtil.d.ts +75 -0
- package/lib/_class/VirtualList/utils/itemUtil.js +147 -0
- package/lib/_class/icon-hover.d.ts +10 -0
- package/lib/_class/icon-hover.js +61 -0
- package/lib/_class/notice.d.ts +50 -0
- package/lib/_class/notice.js +194 -0
- package/lib/_class/notification.d.ts +15 -0
- package/lib/_class/notification.js +95 -0
- package/lib/_class/picker/input-range.d.ts +35 -0
- package/lib/_class/picker/input-range.js +197 -0
- package/lib/_class/picker/input.d.ts +31 -0
- package/lib/_class/picker/input.js +138 -0
- package/lib/_class/picker/style/index.css +1 -0
- package/lib/_class/picker/style/index.less +185 -0
- package/lib/_class/picker/style/status.less +20 -0
- package/lib/_class/picker/style/token.less +60 -0
- package/lib/_class/select-view.d.ts +158 -0
- package/lib/_class/select-view.js +392 -0
- package/lib/_hooks/useVerificationCode/index.d.ts +2 -0
- package/lib/_hooks/useVerificationCode/index.js +125 -0
- package/lib/_hooks/useVerificationCode/interface.d.ts +63 -0
- package/lib/_hooks/useVerificationCode/interface.js +2 -0
- package/lib/_hooks/useWatermark/index.d.ts +2 -0
- package/lib/_hooks/useWatermark/index.js +313 -0
- package/lib/_hooks/useWatermark/interface.d.ts +81 -0
- package/lib/_hooks/useWatermark/interface.js +2 -0
- package/lib/_hooks/useWatermark/utils.d.ts +1 -0
- package/lib/_hooks/useWatermark/utils.js +19 -0
- package/lib/_util/CSSTransition.d.ts +2 -0
- package/lib/_util/CSSTransition.js +107 -0
- package/lib/_util/classNames.d.ts +5 -0
- package/lib/_util/classNames.js +67 -0
- package/lib/_util/clipboard.d.ts +1 -0
- package/lib/_util/clipboard.js +86 -0
- package/lib/_util/color.d.ts +27 -0
- package/lib/_util/color.js +202 -0
- package/lib/_util/constant.d.ts +3 -0
- package/lib/_util/constant.js +26 -0
- package/lib/_util/contextHolder.d.ts +9 -0
- package/lib/_util/contextHolder.js +68 -0
- package/lib/_util/dayjs.d.ts +21 -0
- package/lib/_util/dayjs.js +311 -0
- package/lib/_util/dom.d.ts +12 -0
- package/lib/_util/dom.js +70 -0
- package/lib/_util/fillNBSP.d.ts +1 -0
- package/lib/_util/fillNBSP.js +9 -0
- package/lib/_util/getHighlightText.d.ts +5 -0
- package/lib/_util/getHighlightText.js +57 -0
- package/lib/_util/getHotkeyHandler.d.ts +16 -0
- package/lib/_util/getHotkeyHandler.js +38 -0
- package/lib/_util/getStringLength.d.ts +1 -0
- package/lib/_util/getStringLength.js +16 -0
- package/lib/_util/hooks/useComputedState.d.ts +4 -0
- package/lib/_util/hooks/useComputedState.js +28 -0
- package/lib/_util/hooks/useCreate.d.ts +1 -0
- package/lib/_util/hooks/useCreate.js +30 -0
- package/lib/_util/hooks/useForceUpdate.d.ts +2 -0
- package/lib/_util/hooks/useForceUpdate.js +24 -0
- package/lib/_util/hooks/useId.d.ts +6 -0
- package/lib/_util/hooks/useId.js +36 -0
- package/lib/_util/hooks/useInView.d.ts +11 -0
- package/lib/_util/hooks/useInView.js +81 -0
- package/lib/_util/hooks/useIntersectionObserver.d.ts +7 -0
- package/lib/_util/hooks/useIntersectionObserver.js +32 -0
- package/lib/_util/hooks/useInterval.d.ts +1 -0
- package/lib/_util/hooks/useInterval.js +33 -0
- package/lib/_util/hooks/useIsFirstRender.d.ts +1 -0
- package/lib/_util/hooks/useIsFirstRender.js +11 -0
- package/lib/_util/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/lib/_util/hooks/useIsomorphicLayoutEffect.js +8 -0
- package/lib/_util/hooks/useKeyboardEvent.d.ts +14 -0
- package/lib/_util/hooks/useKeyboardEvent.js +32 -0
- package/lib/_util/hooks/useMergeProps.d.ts +4 -0
- package/lib/_util/hooks/useMergeProps.js +37 -0
- package/lib/_util/hooks/useMergeValue.d.ts +5 -0
- package/lib/_util/hooks/useMergeValue.js +50 -0
- package/lib/_util/hooks/useOverflowHidden.d.ts +5 -0
- package/lib/_util/hooks/useOverflowHidden.js +46 -0
- package/lib/_util/hooks/useOverrideRef.d.ts +5 -0
- package/lib/_util/hooks/useOverrideRef.js +40 -0
- package/lib/_util/hooks/usePersistCallback.d.ts +1 -0
- package/lib/_util/hooks/usePersistCallback.js +43 -0
- package/lib/_util/hooks/usePrevious.d.ts +2 -0
- package/lib/_util/hooks/usePrevious.js +11 -0
- package/lib/_util/hooks/useRefs.d.ts +1 -0
- package/lib/_util/hooks/useRefs.js +18 -0
- package/lib/_util/hooks/useResizeObserver.d.ts +6 -0
- package/lib/_util/hooks/useResizeObserver.js +31 -0
- package/lib/_util/hooks/useStateCallback.d.ts +5 -0
- package/lib/_util/hooks/useStateCallback.js +32 -0
- package/lib/_util/hooks/useStateWithPromise.d.ts +2 -0
- package/lib/_util/hooks/useStateWithPromise.js +49 -0
- package/lib/_util/hooks/useUpdate.d.ts +2 -0
- package/lib/_util/hooks/useUpdate.js +16 -0
- package/lib/_util/hooks/useWatch.d.ts +2 -0
- package/lib/_util/hooks/useWatch.js +16 -0
- package/lib/_util/include.d.ts +1 -0
- package/lib/_util/include.js +13 -0
- package/lib/_util/is.d.ts +27 -0
- package/lib/_util/is.js +159 -0
- package/lib/_util/keycode.d.ts +36 -0
- package/lib/_util/keycode.js +40 -0
- package/lib/_util/mergeProps.d.ts +1 -0
- package/lib/_util/mergeProps.js +26 -0
- package/lib/_util/mergedToString.d.ts +2 -0
- package/lib/_util/mergedToString.js +26 -0
- package/lib/_util/omit.d.ts +1 -0
- package/lib/_util/omit.js +25 -0
- package/lib/_util/pad.d.ts +2 -0
- package/lib/_util/pad.js +23 -0
- package/lib/_util/pick.d.ts +4 -0
- package/lib/_util/pick.js +30 -0
- package/lib/_util/raf.d.ts +3 -0
- package/lib/_util/raf.js +33 -0
- package/lib/_util/react-dom.d.ts +13 -0
- package/lib/_util/react-dom.js +113 -0
- package/lib/_util/resizeObserver.d.ts +21 -0
- package/lib/_util/resizeObserver.js +114 -0
- package/lib/_util/responsiveObserve.d.ts +15 -0
- package/lib/_util/responsiveObserve.js +88 -0
- package/lib/_util/scrollIntoView.d.ts +2 -0
- package/lib/_util/scrollIntoView.js +33 -0
- package/lib/_util/style.d.ts +3 -0
- package/lib/_util/style.js +44 -0
- package/lib/_util/throttleByRaf.d.ts +4 -0
- package/lib/_util/throttleByRaf.js +48 -0
- package/lib/_util/throttleByRafV2.d.ts +4 -0
- package/lib/_util/throttleByRafV2.js +52 -0
- package/lib/_util/type.d.ts +4 -0
- package/lib/_util/type.js +2 -0
- package/lib/_util/warning.d.ts +1 -0
- package/lib/_util/warning.js +14 -0
- package/lib/index.d.ts +142 -0
- package/lib/index.js +150 -0
- package/lib/locale/ar-EG.d.ts +228 -0
- package/lib/locale/ar-EG.js +169 -0
- package/lib/locale/de-DE.d.ts +228 -0
- package/lib/locale/de-DE.js +167 -0
- package/lib/locale/default.d.ts +2 -0
- package/lib/locale/default.js +7 -0
- package/lib/locale/en-US.d.ts +234 -0
- package/lib/locale/en-US.js +174 -0
- package/lib/locale/es-ES.d.ts +228 -0
- package/lib/locale/es-ES.js +167 -0
- package/lib/locale/fr-FR.d.ts +228 -0
- package/lib/locale/fr-FR.js +167 -0
- package/lib/locale/id-ID.d.ts +228 -0
- package/lib/locale/id-ID.js +167 -0
- package/lib/locale/interface.d.ts +39 -0
- package/lib/locale/interface.js +2 -0
- package/lib/locale/it-IT.d.ts +228 -0
- package/lib/locale/it-IT.js +167 -0
- package/lib/locale/ja-JP.d.ts +281 -0
- package/lib/locale/ja-JP.js +220 -0
- package/lib/locale/ko-KR.d.ts +228 -0
- package/lib/locale/ko-KR.js +167 -0
- package/lib/locale/ms-MY.d.ts +228 -0
- package/lib/locale/ms-MY.js +167 -0
- package/lib/locale/pt-BR.d.ts +228 -0
- package/lib/locale/pt-BR.js +167 -0
- package/lib/locale/pt-PT.d.ts +228 -0
- package/lib/locale/pt-PT.js +167 -0
- package/lib/locale/ru-RU.d.ts +228 -0
- package/lib/locale/ru-RU.js +167 -0
- package/lib/locale/th-TH.d.ts +228 -0
- package/lib/locale/th-TH.js +167 -0
- package/lib/locale/tr-TR.d.ts +229 -0
- package/lib/locale/tr-TR.js +169 -0
- package/lib/locale/vi-VN.d.ts +228 -0
- package/lib/locale/vi-VN.js +168 -0
- package/lib/locale/zh-CN.d.ts +281 -0
- package/lib/locale/zh-CN.js +221 -0
- package/lib/locale/zh-HK.d.ts +281 -0
- package/lib/locale/zh-HK.js +221 -0
- package/lib/locale/zh-TW.d.ts +281 -0
- package/lib/locale/zh-TW.js +220 -0
- package/lib/style/animation/fade.less +42 -0
- package/lib/style/animation/slide.less +116 -0
- package/lib/style/animation/zoom.less +171 -0
- package/lib/style/animation.less +3 -0
- package/lib/style/icon.less +94 -0
- package/lib/style/index.css +1 -0
- package/lib/style/index.less +10 -0
- package/lib/style/mixin.less +24 -0
- package/lib/style/mixins/clearfix.less +13 -0
- package/lib/style/mixins/index.css +0 -0
- package/lib/style/mixins/index.less +2 -0
- package/lib/style/normalize.less +375 -0
- package/lib/style/theme/color/colors.less +469 -0
- package/lib/style/theme/color/compiled-colors.less +569 -0
- package/lib/style/theme/color/css-variables.less +438 -0
- package/lib/style/theme/color/getRgbStr.js +16 -0
- package/lib/style/theme/color/palette-dark.js +9 -0
- package/lib/style/theme/color/palette.js +9 -0
- package/lib/style/theme/component.less +15 -0
- package/lib/style/theme/css-variables.less +158 -0
- package/lib/style/theme/default.less +49 -0
- package/lib/style/theme/global.less +393 -0
- package/package.json +169 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import '../../../style/theme/default.less';
|
|
2
|
+
@import '../../../Input/style/token.less';
|
|
3
|
+
|
|
4
|
+
@picker-size-mini: @size-mini;
|
|
5
|
+
@picker-size-small: @size-small;
|
|
6
|
+
@picker-size-default: @size-default;
|
|
7
|
+
@picker-size-large: @size-large;
|
|
8
|
+
|
|
9
|
+
@picker-size-mini-font-size-text: @font-size-body-1;
|
|
10
|
+
@picker-size-small-font-size-text: @font-size-body-3;
|
|
11
|
+
@picker-size-default-font-size-text: @font-size-body-3;
|
|
12
|
+
@picker-size-large-font-size-text: @font-size-body-3;
|
|
13
|
+
|
|
14
|
+
@picker-input-border-radius: @radius-small;
|
|
15
|
+
|
|
16
|
+
@picker-color-shadow_focus: var(~'@{arco-cssvars-prefix}-color-primary-light-2');
|
|
17
|
+
@picker-size-shadow_focus: @shadow-distance-none;
|
|
18
|
+
@picker-color-shadow_error_focus: var(~'@{arco-cssvars-prefix}-color-danger-light-2');
|
|
19
|
+
@picker-size-shadow_error_focus: @shadow-distance-none;
|
|
20
|
+
|
|
21
|
+
@picker-color-bg: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
22
|
+
@picker-color-bg_hover: var(~'@{arco-cssvars-prefix}-color-fill-3');
|
|
23
|
+
@picker-color-bg_focus: var(~'@{arco-cssvars-prefix}-color-bg-2');
|
|
24
|
+
@picker-color-bg_disabled: var(~'@{arco-cssvars-prefix}-color-fill-2');
|
|
25
|
+
@picker-color-bg_error: var(~'@{arco-cssvars-prefix}-color-danger-light-1');
|
|
26
|
+
@picker-color-bg_error_hover: var(~'@{arco-cssvars-prefix}-color-danger-light-2');
|
|
27
|
+
@picker-color-bg_error_focus: var(~'@{arco-cssvars-prefix}-color-bg-2');
|
|
28
|
+
|
|
29
|
+
@picker-color-border: @color-transparent;
|
|
30
|
+
@picker-color-border_hover: @color-transparent;
|
|
31
|
+
@picker-color-border_focus: @color-primary-6;
|
|
32
|
+
@picker-color-border_disabled: @color-transparent;
|
|
33
|
+
@picker-color-border_error: @color-transparent;
|
|
34
|
+
@picker-color-border_error_hover: @color-transparent;
|
|
35
|
+
@picker-color-border_error_focus: @color-danger-6;
|
|
36
|
+
|
|
37
|
+
@picker-color-placeholder: var(~'@{arco-cssvars-prefix}-color-text-3');
|
|
38
|
+
@picker-color-placeholder_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
39
|
+
@picker-color-text: var(~'@{arco-cssvars-prefix}-color-text-1');
|
|
40
|
+
@picker-color-text_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
41
|
+
@picker-color-icon: var(~'@{arco-cssvars-prefix}-color-text-2');
|
|
42
|
+
@picker-color-icon_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
43
|
+
@picker-color-separator: var(~'@{arco-cssvars-prefix}-color-text-3');
|
|
44
|
+
@picker-color-separator_disabled: var(~'@{arco-cssvars-prefix}-color-text-4');
|
|
45
|
+
|
|
46
|
+
@picker-range-color-bg-input_focus: var(~'@{arco-cssvars-prefix}-color-primary-light-1');
|
|
47
|
+
|
|
48
|
+
// calc
|
|
49
|
+
@picker-padding-horizontal: @spacing-2; // 4px
|
|
50
|
+
@picker-input-padding-horizontal: @input-padding-horizontal - @picker-padding-horizontal; // 8px
|
|
51
|
+
|
|
52
|
+
// warning
|
|
53
|
+
@picker-color-shadow_warning_focus: @input-color-shadow_warning_focus;
|
|
54
|
+
@picker-size-shadow_warning_focus: @picker-size-shadow_error_focus;
|
|
55
|
+
@picker-color-bg_warning: @input-color-bg_warning;
|
|
56
|
+
@picker-color-bg_warning_hover: @input-color-bg_warning_hover;
|
|
57
|
+
@picker-color-bg_warning_focus: @input-color-bg_warning_focus;
|
|
58
|
+
@picker-color-border_warning: @input-color-border_warning;
|
|
59
|
+
@picker-color-border_warning_hover: @input-color-border_warning_hover;
|
|
60
|
+
@picker-color-border_warning_focus: @input-color-border_warning_focus;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import React, { ReactNode, CSSProperties, ReactElement } from 'react';
|
|
2
|
+
import { InputTagProps } from '../InputTag';
|
|
3
|
+
import { InputComponentProps } from '../Input/interface';
|
|
4
|
+
export interface SelectViewCommonProps extends Pick<InputTagProps<unknown>, 'animation' | 'renderTag' | 'dragToSort'> {
|
|
5
|
+
id?: string;
|
|
6
|
+
style?: CSSProperties;
|
|
7
|
+
className?: string | string[];
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
inputValue?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @zh 选择框默认文字。
|
|
12
|
+
* @en Placeholder of element
|
|
13
|
+
*/
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @zh 是否需要边框
|
|
17
|
+
* @en Whether to render border
|
|
18
|
+
* @defaultValue true
|
|
19
|
+
*/
|
|
20
|
+
bordered?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @zh
|
|
23
|
+
* 使单选模式可搜索,传入 `{ retainInputValue: true }` 在搜索框聚焦时保留现有内容
|
|
24
|
+
* 传入 `{ retainInputValueWhileSelect: true }` 在多选选择时保留输入框内容。
|
|
25
|
+
* @en
|
|
26
|
+
* Whether single mode Select is searchable. `{ retainInputValue: true }` to retain the existing content when the search box is focused,
|
|
27
|
+
* `{ retainInputValueWhileSelect: true }` to retain the existing content when multiple selection is selected.
|
|
28
|
+
*/
|
|
29
|
+
showSearch?: boolean | {
|
|
30
|
+
retainInputValue?: boolean;
|
|
31
|
+
retainInputValueWhileSelect?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @zh 分别不同尺寸的选择器。对应 `24px`, `28px`, `32px`, `36px`
|
|
35
|
+
* @en Height of element, `24px` `28px` `32px` `36px`
|
|
36
|
+
*/
|
|
37
|
+
size?: 'mini' | 'small' | 'default' | 'large';
|
|
38
|
+
/**
|
|
39
|
+
* @zh 是否为禁用状态。
|
|
40
|
+
* @en Whether is disabled
|
|
41
|
+
*/
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @zh 是否是错误状态。(废弃,下个大版本移除,使用 status='error' 替代)
|
|
45
|
+
* @en Whether the textarea is error.(Deprecated, removed in the next major version, use status='error' instead)
|
|
46
|
+
* @deprecated
|
|
47
|
+
*/
|
|
48
|
+
error?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @zh 状态
|
|
51
|
+
* @en Status
|
|
52
|
+
* @version 2.45.0
|
|
53
|
+
*/
|
|
54
|
+
status?: 'error' | 'warning';
|
|
55
|
+
/**
|
|
56
|
+
* @zh 是否为加载状态。
|
|
57
|
+
* @en Whether is in loading
|
|
58
|
+
*/
|
|
59
|
+
loading?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @zh 允许清除值。
|
|
62
|
+
* @en Whether allow to clear selected options
|
|
63
|
+
*/
|
|
64
|
+
allowClear?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @zh 最多显示多少个 `tag`,仅在多选或标签模式有效。设置 `responsive` 响应式显示标签数不建议在选项较多时使用,可能存在性能问题,
|
|
67
|
+
* @en The maximum number of `tags` is displayed, only valid in `multiple` and `label` mode. Setting the number of `responsive` responsive display tags is not recommended when there are many options, as there may be performance issues.
|
|
68
|
+
* @version Object type in 2.37.0. `responsive ` in `2.62.0`
|
|
69
|
+
*/
|
|
70
|
+
maxTagCount?: number | 'responsive' | {
|
|
71
|
+
count: number | 'responsive';
|
|
72
|
+
render?: (invisibleTagCount: number) => ReactNode;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @zh 前缀。
|
|
76
|
+
* @en Customize select suffix
|
|
77
|
+
* @version 2.11.0
|
|
78
|
+
*/
|
|
79
|
+
prefix?: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* @zh 自定义选择框后缀图标。
|
|
82
|
+
* @en Customize select suffix icon
|
|
83
|
+
*/
|
|
84
|
+
suffixIcon?: ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* @zh 自定义箭头图标,设置为 `null` 不显示箭头图标。
|
|
87
|
+
* @en Customize select arrow icon.
|
|
88
|
+
*/
|
|
89
|
+
arrowIcon?: ReactNode | null;
|
|
90
|
+
/**
|
|
91
|
+
* @zh 多选时配置选中项的删除图标。当传入`null`,不显示删除图标。
|
|
92
|
+
* @en Customize the delete icon of tags selected in `multiple` and `label` mode.
|
|
93
|
+
*/
|
|
94
|
+
removeIcon?: ReactNode | null;
|
|
95
|
+
/**
|
|
96
|
+
* @zh `allowClear` 时配置清除按钮的图标。
|
|
97
|
+
* @en Configure the icon of the clear button when `allowClear`.
|
|
98
|
+
* @version 2.26.0
|
|
99
|
+
*/
|
|
100
|
+
clearIcon?: ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* @zh 设置宽度自适应。minWidth 默认为 0,maxWidth 默认为 100%
|
|
103
|
+
* @en auto width. minWidth defaults to 0, maxWidth defaults to 100%
|
|
104
|
+
* @version 2.54.0
|
|
105
|
+
*/
|
|
106
|
+
autoWidth?: boolean | {
|
|
107
|
+
minWidth?: CSSProperties['minWidth'];
|
|
108
|
+
maxWidth?: CSSProperties['maxWidth'];
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* @zh 选择框前添加元素
|
|
112
|
+
* @en The label text displayed before (on the left side of) the select field
|
|
113
|
+
* @version 2.41.0
|
|
114
|
+
*/
|
|
115
|
+
addBefore?: ReactNode;
|
|
116
|
+
/**
|
|
117
|
+
* @zh 鼠标点击下拉框时的回调
|
|
118
|
+
* @en Callback when the mouse clicks on the drop-down box
|
|
119
|
+
*/
|
|
120
|
+
onClick?: (e: any) => void;
|
|
121
|
+
/**
|
|
122
|
+
* @zh 键盘输入时的回调
|
|
123
|
+
* @en Callback when keyboard pressed
|
|
124
|
+
* @version 2.40.0
|
|
125
|
+
*/
|
|
126
|
+
onKeyDown?: (e: any) => void;
|
|
127
|
+
}
|
|
128
|
+
export interface SelectViewProps extends SelectViewCommonProps {
|
|
129
|
+
value?: any;
|
|
130
|
+
popupVisible?: boolean;
|
|
131
|
+
allowCreate?: boolean;
|
|
132
|
+
isEmptyValue: boolean;
|
|
133
|
+
isMultiple?: boolean;
|
|
134
|
+
prefixCls: string;
|
|
135
|
+
rtl?: boolean;
|
|
136
|
+
ariaControls?: string;
|
|
137
|
+
renderText: (value: any) => {
|
|
138
|
+
text: any;
|
|
139
|
+
disabled: any;
|
|
140
|
+
};
|
|
141
|
+
renderView?: (eleView: ReactElement) => ReactElement;
|
|
142
|
+
onSort?: (value: any) => void;
|
|
143
|
+
onRemoveCheckedItem?: (item: any, index: number, e: any) => void;
|
|
144
|
+
onChangeInputValue?: InputComponentProps['onChange'];
|
|
145
|
+
onPaste?: (e: any) => void;
|
|
146
|
+
onClear?: (e: any) => void;
|
|
147
|
+
onFocus?: (e: any) => void;
|
|
148
|
+
onBlur?: (e: any) => void;
|
|
149
|
+
}
|
|
150
|
+
export declare type SelectViewHandle = {
|
|
151
|
+
dom: HTMLDivElement;
|
|
152
|
+
getRootDOMNode: () => HTMLDivElement;
|
|
153
|
+
focus: () => void;
|
|
154
|
+
blur: () => void;
|
|
155
|
+
getWidth: () => number;
|
|
156
|
+
};
|
|
157
|
+
declare const SelectViewComponent: React.ForwardRefExoticComponent<SelectViewProps & React.RefAttributes<SelectViewHandle>>;
|
|
158
|
+
export default SelectViewComponent;
|
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
21
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22
|
+
}) : function(o, v) {
|
|
23
|
+
o["default"] = v;
|
|
24
|
+
});
|
|
25
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
|
+
if (mod && mod.__esModule) return mod;
|
|
27
|
+
var result = {};
|
|
28
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
29
|
+
__setModuleDefault(result, mod);
|
|
30
|
+
return result;
|
|
31
|
+
};
|
|
32
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
33
|
+
var t = {};
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
37
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
38
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
39
|
+
t[p[i]] = s[p[i]];
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
};
|
|
43
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
44
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
45
|
+
if (!m) return o;
|
|
46
|
+
var i = m.call(o), r, ar = [], e;
|
|
47
|
+
try {
|
|
48
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
49
|
+
}
|
|
50
|
+
catch (error) { e = { error: error }; }
|
|
51
|
+
finally {
|
|
52
|
+
try {
|
|
53
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
54
|
+
}
|
|
55
|
+
finally { if (e) throw e.error; }
|
|
56
|
+
}
|
|
57
|
+
return ar;
|
|
58
|
+
};
|
|
59
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
60
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
61
|
+
};
|
|
62
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
63
|
+
var react_1 = __importStar(require("react"));
|
|
64
|
+
var pick_1 = require("../_util/pick");
|
|
65
|
+
var is_1 = require("../_util/is");
|
|
66
|
+
var classNames_1 = __importDefault(require("../_util/classNames"));
|
|
67
|
+
var ConfigProvider_1 = require("../ConfigProvider");
|
|
68
|
+
var IconDown_1 = __importDefault(require("../../icon/react-icon-cjs/IconDown"));
|
|
69
|
+
var IconLoading_1 = __importDefault(require("../../icon/react-icon-cjs/IconLoading"));
|
|
70
|
+
var IconClose_1 = __importDefault(require("../../icon/react-icon-cjs/IconClose"));
|
|
71
|
+
var IconSearch_1 = __importDefault(require("../../icon/react-icon-cjs/IconSearch"));
|
|
72
|
+
var InputTag_1 = __importDefault(require("../InputTag"));
|
|
73
|
+
var input_element_1 = __importDefault(require("../Input/input-element"));
|
|
74
|
+
var include_1 = __importDefault(require("../_util/include"));
|
|
75
|
+
var useForceUpdate_1 = __importDefault(require("../_util/hooks/useForceUpdate"));
|
|
76
|
+
var usePersistCallback_1 = __importDefault(require("../_util/hooks/usePersistCallback"));
|
|
77
|
+
var icon_hover_1 = __importDefault(require("./icon-hover"));
|
|
78
|
+
var keycode_1 = require("../_util/keycode");
|
|
79
|
+
var fillNBSP_1 = __importDefault(require("../_util/fillNBSP"));
|
|
80
|
+
var Tag_1 = __importDefault(require("../Tag"));
|
|
81
|
+
var SearchStatus = {
|
|
82
|
+
BEFORE: 0,
|
|
83
|
+
EDITING: 1,
|
|
84
|
+
NONE: 2,
|
|
85
|
+
};
|
|
86
|
+
var DUMMY_TAG_COUNT = 1;
|
|
87
|
+
var CoreSelectView = react_1.default.forwardRef(function (props, ref) {
|
|
88
|
+
var _a, _b;
|
|
89
|
+
var id = props.id, style = props.style, className = props.className, size = props.size, bordered = props.bordered, allowClear = props.allowClear, allowCreate = props.allowCreate, status = props.status, loading = props.loading, disabled = props.disabled, animation = props.animation, prefixCls = props.prefixCls, suffixIcon = props.suffixIcon, arrowIcon = props.arrowIcon, removeIcon = props.removeIcon, clearIcon = props.clearIcon, placeholder = props.placeholder, renderText = props.renderText, value = props.value, inputValue = props.inputValue, popupVisible = props.popupVisible, maxTagCount = props.maxTagCount, isMultiple = props.isMultiple, isEmptyValue = props.isEmptyValue, prefix = props.prefix, ariaControls = props.ariaControls, renderTag = props.renderTag, dragToSort = props.dragToSort, rtl = props.rtl, htmlDataAttributes = props.htmlDataAttributes, onKeyDown = props.onKeyDown, onChangeInputValue = props.onChangeInputValue, onPaste = props.onPaste, onClear = props.onClear, onFocus = props.onFocus, onBlur = props.onBlur, onRemoveCheckedItem = props.onRemoveCheckedItem, onSort = props.onSort, rest = __rest(props, ["id", "style", "className", "size", "bordered", "allowClear", "allowCreate", "status", "loading", "disabled", "animation", "prefixCls", "suffixIcon", "arrowIcon", "removeIcon", "clearIcon", "placeholder", "renderText", "value", "inputValue", "popupVisible", "maxTagCount", "isMultiple", "isEmptyValue", "prefix", "ariaControls", "renderTag", "dragToSort", "rtl", "htmlDataAttributes", "onKeyDown", "onChangeInputValue", "onPaste", "onClear", "onFocus", "onBlur", "onRemoveCheckedItem", "onSort"]);
|
|
90
|
+
// refs
|
|
91
|
+
var refInput = (0, react_1.useRef)(null);
|
|
92
|
+
var refWrapper = (0, react_1.useRef)(null);
|
|
93
|
+
// state
|
|
94
|
+
var _c = (0, react_1.useContext)(ConfigProvider_1.ConfigContext), ctxSize = _c.size, getPrefixCls = _c.getPrefixCls;
|
|
95
|
+
var _d = __read((0, react_1.useState)(SearchStatus.NONE), 2), searchStatus = _d[0], setSearchStatus = _d[1];
|
|
96
|
+
var _e = __read((0, react_1.useState)(false), 2), focused = _e[0], setFocused = _e[1];
|
|
97
|
+
var forceUpdate = (0, useForceUpdate_1.default)();
|
|
98
|
+
// TODO:Will the search be completely controlled by showSearch? Next major version needs to be considered
|
|
99
|
+
var showSearch = 'showSearch' in props ? props.showSearch : isMultiple;
|
|
100
|
+
var canFocusInput = showSearch || allowCreate;
|
|
101
|
+
var mergedSize = size || ctxSize;
|
|
102
|
+
var mergedFocused = focused || popupVisible;
|
|
103
|
+
var isRetainInputValueSearch = (0, is_1.isObject)(showSearch) && showSearch.retainInputValue;
|
|
104
|
+
// the formatted text of value.
|
|
105
|
+
var renderedValue = !isMultiple && value !== undefined ? renderText(value).text : '';
|
|
106
|
+
// Avoid losing focus caused by clicking certain icons
|
|
107
|
+
var keepFocus = function (event) {
|
|
108
|
+
event && event.preventDefault();
|
|
109
|
+
};
|
|
110
|
+
var handleFocus = function (action) {
|
|
111
|
+
var element = canFocusInput ? refInput.current : refWrapper.current;
|
|
112
|
+
if (element) {
|
|
113
|
+
action === 'focus' ? element.focus() : element.blur();
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
var tryTriggerFocusChange = function (action, event) {
|
|
117
|
+
// The focus event at this time should be triggered by the input element
|
|
118
|
+
if (canFocusInput && event.target === refWrapper.current) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (action === 'focus') {
|
|
122
|
+
setFocused(true);
|
|
123
|
+
onFocus && onFocus(event);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
setFocused(false);
|
|
127
|
+
onBlur && onBlur(event);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
var tryTriggerKeyDown = function (event) {
|
|
131
|
+
// The keyboard event at this time should be triggered by the input element, ignoring the bubbling up keyboard event
|
|
132
|
+
if (canFocusInput && event.currentTarget === refWrapper.current) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
// Prevent the default behavior of the browser when pressing Enter, to avoid submit event in <form>
|
|
136
|
+
var keyCode = event.keyCode || event.which;
|
|
137
|
+
if (keyCode === keycode_1.Enter.code) {
|
|
138
|
+
event.preventDefault();
|
|
139
|
+
}
|
|
140
|
+
onKeyDown && onKeyDown(event);
|
|
141
|
+
};
|
|
142
|
+
(0, react_1.useEffect)(function () {
|
|
143
|
+
handleFocus(popupVisible ? 'focus' : 'blur');
|
|
144
|
+
if (canFocusInput) {
|
|
145
|
+
setSearchStatus(popupVisible ? SearchStatus.BEFORE : SearchStatus.NONE);
|
|
146
|
+
}
|
|
147
|
+
}, [popupVisible]);
|
|
148
|
+
(0, react_1.useImperativeHandle)(ref, function () { return ({
|
|
149
|
+
dom: refWrapper.current,
|
|
150
|
+
getRootDOMNode: function () { return refWrapper.current; },
|
|
151
|
+
focus: handleFocus.bind(null, 'focus'),
|
|
152
|
+
blur: handleFocus.bind(null, 'blur'),
|
|
153
|
+
getWidth: function () { return refWrapper.current && refWrapper.current.clientWidth; },
|
|
154
|
+
}); });
|
|
155
|
+
var mergedArrowIcon = 'arrowIcon' in props ? (arrowIcon === null ? null : (react_1.default.createElement("div", { className: prefixCls + "-arrow-icon" }, arrowIcon))) : (react_1.default.createElement("div", { className: prefixCls + "-arrow-icon" },
|
|
156
|
+
react_1.default.createElement(IconDown_1.default, null)));
|
|
157
|
+
var mergedSuffixIcon = loading ? (react_1.default.createElement("span", { className: prefixCls + "-loading-icon" },
|
|
158
|
+
react_1.default.createElement(IconLoading_1.default, null))) : suffixIcon ? (react_1.default.createElement("span", { className: prefixCls + "-suffix-icon" }, suffixIcon)) : props.showSearch && popupVisible ? (react_1.default.createElement("div", { className: prefixCls + "-search-icon" },
|
|
159
|
+
react_1.default.createElement(IconSearch_1.default, null))) : (mergedArrowIcon);
|
|
160
|
+
// event handling of input box
|
|
161
|
+
var inputEventHandlers = {
|
|
162
|
+
paste: onPaste,
|
|
163
|
+
keyDown: tryTriggerKeyDown,
|
|
164
|
+
focus: function (event) {
|
|
165
|
+
event.stopPropagation();
|
|
166
|
+
tryTriggerFocusChange('focus', event);
|
|
167
|
+
},
|
|
168
|
+
blur: function (event) {
|
|
169
|
+
event.stopPropagation();
|
|
170
|
+
tryTriggerFocusChange('blur', event);
|
|
171
|
+
},
|
|
172
|
+
change: function (newValue, event) {
|
|
173
|
+
setSearchStatus(SearchStatus.EDITING);
|
|
174
|
+
onChangeInputValue && onChangeInputValue(newValue, event);
|
|
175
|
+
},
|
|
176
|
+
};
|
|
177
|
+
var renderSingle = function () {
|
|
178
|
+
var _a;
|
|
179
|
+
var _inputValue;
|
|
180
|
+
switch (searchStatus) {
|
|
181
|
+
case SearchStatus.BEFORE:
|
|
182
|
+
_inputValue = inputValue || (isRetainInputValueSearch ? renderedValue : '');
|
|
183
|
+
break;
|
|
184
|
+
case SearchStatus.EDITING:
|
|
185
|
+
_inputValue = inputValue || '';
|
|
186
|
+
break;
|
|
187
|
+
default:
|
|
188
|
+
_inputValue = renderedValue;
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
// <input> is used to input and display placeholder, in other cases use <span> to display value to support displaying rich text
|
|
192
|
+
var needShowInput = !!((mergedFocused && canFocusInput) || isEmptyValue);
|
|
193
|
+
var inputProps = {
|
|
194
|
+
style: { width: '100%' },
|
|
195
|
+
// _inputValue after renderText(value) may be rich text, but the value of <input> cannot be object
|
|
196
|
+
value: needShowInput && typeof _inputValue !== 'object' ? _inputValue : '',
|
|
197
|
+
// Allow placeholder to display the selected value first when searching
|
|
198
|
+
placeholder: canFocusInput && renderedValue && typeof renderedValue !== 'object'
|
|
199
|
+
? renderedValue
|
|
200
|
+
: placeholder,
|
|
201
|
+
};
|
|
202
|
+
if (canFocusInput) {
|
|
203
|
+
inputProps.onPaste = inputEventHandlers.paste;
|
|
204
|
+
inputProps.onKeyDown = inputEventHandlers.keyDown;
|
|
205
|
+
inputProps.onFocus = inputEventHandlers.focus;
|
|
206
|
+
inputProps.onBlur = inputEventHandlers.blur;
|
|
207
|
+
inputProps.onChange = inputEventHandlers.change;
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
// Avoid input getting focus by Tab
|
|
211
|
+
// Do NOT pass [disabled] to <input>, otherwise the click event will not be triggered
|
|
212
|
+
// https://stackoverflow.com/questions/7833854/jquery-detect-click-on-disabled-submit-button
|
|
213
|
+
inputProps.tabIndex = -1;
|
|
214
|
+
inputProps.style.pointerEvents = 'none';
|
|
215
|
+
}
|
|
216
|
+
return (react_1.default.createElement("span", { className: prefixCls + "-view-selector" },
|
|
217
|
+
react_1.default.createElement(input_element_1.default, __assign({ "aria-hidden": !needShowInput || undefined, ref: refInput, disabled: disabled, className: (0, classNames_1.default)(prefixCls + "-view-input", (_a = {},
|
|
218
|
+
_a[prefixCls + "-hidden"] = !needShowInput,
|
|
219
|
+
_a)), autoComplete: "off" }, inputProps)),
|
|
220
|
+
needShowInput ? (react_1.default.createElement("span", { className: prefixCls + "-view-value-mirror" }, (0, fillNBSP_1.default)(inputProps.value ? _inputValue : inputProps.placeholder))) : null,
|
|
221
|
+
react_1.default.createElement("span", { style: needShowInput ? { display: 'none' } : {}, className: prefixCls + "-view-value" }, (0, fillNBSP_1.default)(isEmptyValue ? inputProps.placeholder : _inputValue))));
|
|
222
|
+
};
|
|
223
|
+
var renderTextFn = (0, usePersistCallback_1.default)(renderText);
|
|
224
|
+
var tagsToShow = (0, react_1.useMemo)(function () {
|
|
225
|
+
if (!isMultiple) {
|
|
226
|
+
return [];
|
|
227
|
+
}
|
|
228
|
+
var usedValue = (0, is_1.isUndefined)(value) ? [] : [].concat(value);
|
|
229
|
+
var tagsToShow = [];
|
|
230
|
+
var maxTagCountValue = (0, is_1.isObject)(maxTagCount) ? maxTagCount.count : maxTagCount;
|
|
231
|
+
var maxTagCountIsNumber = typeof maxTagCountValue === 'number';
|
|
232
|
+
// loop from start
|
|
233
|
+
for (var i = 0; i < usedValue.length; i++) {
|
|
234
|
+
if (maxTagCountIsNumber && tagsToShow.length >= maxTagCountValue + DUMMY_TAG_COUNT) {
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
var v = usedValue[i];
|
|
238
|
+
var result = renderTextFn(v);
|
|
239
|
+
tagsToShow.push({
|
|
240
|
+
value: v,
|
|
241
|
+
label: result.text,
|
|
242
|
+
closable: !result.disabled,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
return tagsToShow;
|
|
246
|
+
}, [value, isMultiple, maxTagCount, renderTextFn]);
|
|
247
|
+
var renderMultiple = function () {
|
|
248
|
+
var usedValue = (0, is_1.isUndefined)(value) ? [] : [].concat(value);
|
|
249
|
+
var maxTagCountValue = (0, is_1.isObject)(maxTagCount) ? maxTagCount.count : maxTagCount;
|
|
250
|
+
var maxTagCountRender = function (invisibleCount) {
|
|
251
|
+
var dom = (0, is_1.isObject)(maxTagCount) && (0, is_1.isFunction)(maxTagCount.render)
|
|
252
|
+
? maxTagCount.render(invisibleCount)
|
|
253
|
+
: "+" + invisibleCount + "...";
|
|
254
|
+
if (renderTag) {
|
|
255
|
+
// 执行 renderTag 逻辑。。 这里只是为了兼容以前 select-view 里会对 +x... 节点执行 renderTag 逻辑
|
|
256
|
+
// 可能不大合理,按理说 maxTagCount.render 就行,但这里要保持以前的行为不变。
|
|
257
|
+
return dom;
|
|
258
|
+
}
|
|
259
|
+
return (react_1.default.createElement(Tag_1.default, { className: (0, classNames_1.default)(getPrefixCls('input-tag') + "-tag", prefixCls + "-tag") }, dom));
|
|
260
|
+
};
|
|
261
|
+
var findLastClosableTagIndex = function () {
|
|
262
|
+
// loop from end
|
|
263
|
+
for (var i = usedValue.length - 1; i >= 0; i--) {
|
|
264
|
+
var v = usedValue[i];
|
|
265
|
+
var result = renderTextFn(v);
|
|
266
|
+
if (!result.disabled) {
|
|
267
|
+
return i;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
return -1;
|
|
271
|
+
};
|
|
272
|
+
var eventHandlers = {
|
|
273
|
+
onPaste: inputEventHandlers.paste,
|
|
274
|
+
onKeyDown: inputEventHandlers.keyDown,
|
|
275
|
+
onFocus: inputEventHandlers.focus,
|
|
276
|
+
onBlur: inputEventHandlers.blur,
|
|
277
|
+
onInputChange: inputEventHandlers.change,
|
|
278
|
+
onRemove: function (value, index, event) {
|
|
279
|
+
// Should always delete the last option value when press Backspace
|
|
280
|
+
var keyCode = event.keyCode || event.which;
|
|
281
|
+
var lastClosableTagIndex = -1;
|
|
282
|
+
if (keyCode === keycode_1.Backspace.code &&
|
|
283
|
+
(lastClosableTagIndex = findLastClosableTagIndex()) !== -1) {
|
|
284
|
+
value = usedValue[lastClosableTagIndex];
|
|
285
|
+
index = lastClosableTagIndex;
|
|
286
|
+
}
|
|
287
|
+
// If there is a limit on the maximum number of tags, the parameters passed into InputTag need to be recalculated
|
|
288
|
+
maxTagCount && forceUpdate();
|
|
289
|
+
onRemoveCheckedItem && onRemoveCheckedItem(value, index, event);
|
|
290
|
+
},
|
|
291
|
+
};
|
|
292
|
+
// Avoid properties from configProvider affecting here
|
|
293
|
+
var inputPropsOverrideConfigProvider = {
|
|
294
|
+
suffix: null,
|
|
295
|
+
prefix: null,
|
|
296
|
+
addBefore: null,
|
|
297
|
+
addAfter: null,
|
|
298
|
+
allowClear: false,
|
|
299
|
+
labelInValue: false,
|
|
300
|
+
};
|
|
301
|
+
return (react_1.default.createElement(InputTag_1.default, __assign({}, inputPropsOverrideConfigProvider, {
|
|
302
|
+
// Avoid when clicking outside the browser window, InputTag out of focus
|
|
303
|
+
className: mergedFocused ? getPrefixCls('input-tag') + "-focus" : '', ref: refInput, disabled: disabled, dragToSort: dragToSort, disableInput: !showSearch, animation: animation, placeholder: placeholder, value: tagsToShow, inputValue: inputValue, size: mergedSize, tagClassName: prefixCls + "-tag", renderTag: renderTag, icon: { removeIcon: removeIcon }, maxTagCount: maxTagCount
|
|
304
|
+
? {
|
|
305
|
+
count: (0, is_1.isObject)(maxTagCount) ? maxTagCount.count : maxTagCount,
|
|
306
|
+
render: maxTagCountValue === 'responsive'
|
|
307
|
+
? maxTagCountRender
|
|
308
|
+
: function () { return maxTagCountRender(usedValue.length - maxTagCountValue); },
|
|
309
|
+
popoverProps: { disabled: true },
|
|
310
|
+
}
|
|
311
|
+
: undefined, onChange: function (newValue, reason) {
|
|
312
|
+
if (onSort && reason === 'sort') {
|
|
313
|
+
// const indexOfMaxTagCount = newValue.indexOf(MAX_TAG_COUNT_VALUE_PLACEHOLDER);
|
|
314
|
+
// // inject the invisible values tags to middle after dragging the "+x" tag
|
|
315
|
+
// if (indexOfMaxTagCount > -1) {
|
|
316
|
+
// const headArr = newValue.slice(0, indexOfMaxTagCount);
|
|
317
|
+
// const tailArr = newValue.slice(indexOfMaxTagCount + 1);
|
|
318
|
+
// const midArr = usedValue.slice(-invisibleTagCount);
|
|
319
|
+
// onSort(headArr.concat(midArr, tailArr));
|
|
320
|
+
// } else {
|
|
321
|
+
// }
|
|
322
|
+
onSort(newValue);
|
|
323
|
+
}
|
|
324
|
+
} }, eventHandlers)));
|
|
325
|
+
};
|
|
326
|
+
var selectStatus = status || (props.error ? 'error' : undefined);
|
|
327
|
+
var mergedClearIcon = !disabled && !isEmptyValue && allowClear ? (react_1.default.createElement(icon_hover_1.default, { size: mergedSize, key: "clearIcon", className: prefixCls + "-clear-icon", onClick: onClear, onMouseDown: keepFocus }, clearIcon !== undefined && clearIcon !== null ? clearIcon : react_1.default.createElement(IconClose_1.default, null))) : null;
|
|
328
|
+
var classNameStr = (0, classNames_1.default)(prefixCls, prefixCls + "-" + (isMultiple ? 'multiple' : 'single'), (_a = {},
|
|
329
|
+
_a[prefixCls + "-show-search"] = showSearch,
|
|
330
|
+
_a[prefixCls + "-open"] = popupVisible,
|
|
331
|
+
_a[prefixCls + "-size-" + mergedSize] = mergedSize,
|
|
332
|
+
_a[prefixCls + "-focused"] = mergedFocused,
|
|
333
|
+
_a[prefixCls + "-" + selectStatus] = selectStatus,
|
|
334
|
+
_a[prefixCls + "-disabled"] = disabled,
|
|
335
|
+
_a[prefixCls + "-no-border"] = !bordered,
|
|
336
|
+
_a[prefixCls + "-rtl"] = rtl,
|
|
337
|
+
_a), className);
|
|
338
|
+
return (react_1.default.createElement("div", __assign({ role: "combobox", "aria-haspopup": "listbox", "aria-autocomplete": "list", "aria-expanded": popupVisible, "aria-disabled": disabled, "aria-controls": ariaControls }, (0, include_1.default)(rest, ['onClick', 'onMouseEnter', 'onMouseLeave']), htmlDataAttributes, { ref: refWrapper, tabIndex: disabled ? -1 : 0, id: id, style: style, className: classNameStr,
|
|
339
|
+
// When there is an input box, the keyboard events are handled inside the input box to avoid triggering redundant events in the Chinese input method
|
|
340
|
+
onKeyDown: tryTriggerKeyDown, onFocus: function (event) {
|
|
341
|
+
if (!disabled && !dragToSort) {
|
|
342
|
+
// Focus on the input, otherwise you need to press the Tab key twice to focus on the input box
|
|
343
|
+
if (canFocusInput) {
|
|
344
|
+
refInput.current && refInput.current.focus();
|
|
345
|
+
}
|
|
346
|
+
else {
|
|
347
|
+
tryTriggerFocusChange('focus', event);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}, onBlur: function (event) { return tryTriggerFocusChange('blur', event); } }),
|
|
351
|
+
react_1.default.createElement("div", { title: typeof renderedValue === 'string' ? renderedValue : undefined, className: (0, classNames_1.default)(prefixCls + "-view", (_b = {},
|
|
352
|
+
_b[prefixCls + "-view-with-prefix"] = prefix,
|
|
353
|
+
_b)), onClick: function (e) { return popupVisible && canFocusInput && e.stopPropagation(); } },
|
|
354
|
+
prefix && (react_1.default.createElement("div", { "aria-hidden": "true", className: (0, classNames_1.default)(prefixCls + "-prefix"), onMouseDown: function (event) { return focused && keepFocus(event); } }, prefix)),
|
|
355
|
+
isMultiple ? renderMultiple() : renderSingle(),
|
|
356
|
+
react_1.default.createElement("div", { "aria-hidden": "true", className: prefixCls + "-suffix", onMouseDown: function (event) { return focused && keepFocus(event); } },
|
|
357
|
+
mergedClearIcon,
|
|
358
|
+
mergedSuffixIcon))));
|
|
359
|
+
});
|
|
360
|
+
var SelectView = function (props, ref) {
|
|
361
|
+
var _a;
|
|
362
|
+
var prefixCls = props.prefixCls, id = props.id, style = props.style, className = props.className, addBefore = props.addBefore, rtl = props.rtl, renderView = props.renderView, propsAutoWidth = props.autoWidth, rest = __rest(props, ["prefixCls", "id", "style", "className", "addBefore", "rtl", "renderView", "autoWidth"]);
|
|
363
|
+
var autoWidth = propsAutoWidth
|
|
364
|
+
? __assign({ minWidth: 0, maxWidth: '100%' }, ((0, is_1.isObject)(propsAutoWidth) ? propsAutoWidth : {})) : null;
|
|
365
|
+
var refCoreSelectView = (0, react_1.useRef)(null);
|
|
366
|
+
var needAddBefore = addBefore !== null && addBefore !== undefined;
|
|
367
|
+
// const needAddAfter = addAfter !== null && addAfter !== undefined;
|
|
368
|
+
var needAddAfter = false;
|
|
369
|
+
var needWrapper = needAddBefore || needAddAfter;
|
|
370
|
+
var propsAppliedToRoot = {
|
|
371
|
+
id: id,
|
|
372
|
+
style: __assign(__assign(__assign({}, autoWidth), { width: autoWidth ? 'auto' : undefined }), style),
|
|
373
|
+
className: className,
|
|
374
|
+
};
|
|
375
|
+
var htmlDataAttributes = (0, pick_1.pickDataAttributes)(rest);
|
|
376
|
+
(0, react_1.useImperativeHandle)(ref, function () { return refCoreSelectView.current; });
|
|
377
|
+
var eleCoreSelectView = (react_1.default.createElement(CoreSelectView, __assign({}, props, { ref: refCoreSelectView, id: needWrapper ? undefined : propsAppliedToRoot.id, style: needWrapper ? undefined : propsAppliedToRoot.style, className: needWrapper ? undefined : propsAppliedToRoot.className, htmlDataAttributes: needWrapper ? {} : htmlDataAttributes })));
|
|
378
|
+
if (typeof renderView === 'function') {
|
|
379
|
+
eleCoreSelectView = renderView(eleCoreSelectView);
|
|
380
|
+
}
|
|
381
|
+
if (!needWrapper) {
|
|
382
|
+
return eleCoreSelectView;
|
|
383
|
+
}
|
|
384
|
+
return (react_1.default.createElement("div", __assign({}, htmlDataAttributes, propsAppliedToRoot, { className: (0, classNames_1.default)(prefixCls + "-wrapper", (_a = {},
|
|
385
|
+
_a[prefixCls + "-wrapper-rtl"] = rtl,
|
|
386
|
+
_a), propsAppliedToRoot.className) }),
|
|
387
|
+
needAddBefore && react_1.default.createElement("div", { className: prefixCls + "-addbefore" }, addBefore),
|
|
388
|
+
eleCoreSelectView));
|
|
389
|
+
};
|
|
390
|
+
var SelectViewComponent = react_1.default.forwardRef(SelectView);
|
|
391
|
+
SelectViewComponent.displayName = 'SelectView';
|
|
392
|
+
exports.default = SelectViewComponent;
|