@aloudata/aloudata-design 0.2.6 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/Avatar/index.d.ts +15 -0
- package/es/Avatar/index.js +33 -0
- package/es/Avatar/style/index.d.ts +2 -0
- package/es/Avatar/style/index.js +2 -0
- package/es/Avatar/style/index.less +34 -0
- package/es/Breadcrumb/index.d.ts +8 -0
- package/es/Breadcrumb/index.js +36 -0
- package/es/Breadcrumb/style/index.d.ts +2 -0
- package/es/Breadcrumb/style/index.js +2 -0
- package/es/Breadcrumb/style/index.less +36 -0
- package/es/Button/index.d.ts +4 -4
- package/es/Button/index.js +45 -25
- package/es/Button/style/index.less +185 -150
- package/es/Button/style/variables.less +67 -0
- package/es/Checkbox/style/index.less +35 -1
- package/es/ConfigProvider/index.d.ts +1 -0
- package/es/ConfigProvider/index.js +1 -0
- package/es/Dropdown/Button.js +1 -1
- package/es/Dropdown/style/index.less +41 -8
- package/es/Empty/image/Authority.d.ts +3 -0
- package/es/Empty/image/Authority.js +360 -0
- package/es/Empty/image/Dataspace.d.ts +3 -0
- package/es/Empty/image/Dataspace.js +271 -0
- package/es/Empty/image/Search.d.ts +3 -0
- package/es/Empty/image/Search.js +156 -0
- package/es/Empty/image/Simple.d.ts +3 -0
- package/es/Empty/image/Simple.js +20 -0
- package/es/Empty/image/Worksheet.d.ts +3 -0
- package/es/Empty/image/Worksheet.js +270 -0
- package/es/Empty/image/empty.d.ts +3 -0
- package/es/Empty/image/empty.js +139 -0
- package/es/Empty/index.d.ts +21 -5
- package/es/Empty/index.js +84 -54
- package/es/Empty/style/index.less +56 -11
- package/es/Form/style/index.less +8 -0
- package/es/Icon/antdIconfont.d.ts +4 -0
- package/es/Icon/antdIconfont.js +2 -0
- package/es/Icon/components/Icon.d.ts +32 -0
- package/es/Icon/components/Icon.js +27 -0
- package/es/Icon/components/createFromScripts.d.ts +1 -0
- package/es/Icon/components/createFromScripts.js +35 -0
- package/es/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/es/Icon/icons/AddLine.d.ts +13 -0
- package/es/Icon/icons/AddLine.js +66 -0
- package/es/Icon/icons/AlertFill.d.ts +13 -0
- package/es/Icon/icons/AlertFill.js +73 -0
- package/es/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/es/Icon/icons/ArrowsDownLine.js +66 -0
- package/es/Icon/icons/CancelFill.d.ts +13 -0
- package/es/Icon/icons/CancelFill.js +73 -0
- package/es/Icon/icons/CheckFill.d.ts +13 -0
- package/es/Icon/icons/CheckFill.js +73 -0
- package/es/Icon/icons/CloseLine.d.ts +13 -0
- package/es/Icon/icons/CloseLine.js +66 -0
- package/es/Icon/icons/DatabaseLine.d.ts +13 -0
- package/es/Icon/icons/DatabaseLine.js +66 -0
- package/es/Icon/icons/Deleteline.d.ts +13 -0
- package/es/Icon/icons/Deleteline.js +66 -0
- package/es/Icon/icons/DownloadLine.d.ts +13 -0
- package/es/Icon/icons/DownloadLine.js +73 -0
- package/es/Icon/icons/ErrorFill.d.ts +13 -0
- package/es/Icon/icons/ErrorFill.js +73 -0
- package/es/Icon/icons/EyeOffLine.d.ts +13 -0
- package/es/Icon/icons/EyeOffLine.js +73 -0
- package/es/Icon/icons/EyeOnLine.d.ts +13 -0
- package/es/Icon/icons/EyeOnLine.js +66 -0
- package/es/Icon/icons/FileLine.d.ts +13 -0
- package/es/Icon/icons/FileLine.js +73 -0
- package/es/Icon/icons/HomeFill.d.ts +13 -0
- package/es/Icon/icons/HomeFill.js +73 -0
- package/es/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/es/Icon/icons/LightningLine.d.ts +13 -0
- package/es/Icon/icons/LightningLine.js +66 -0
- package/es/Icon/icons/Loading.d.ts +13 -0
- package/es/Icon/icons/Loading.js +66 -0
- package/es/Icon/icons/More.d.ts +13 -0
- package/es/Icon/icons/More.js +66 -0
- package/es/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/es/Icon/icons/NewWindowsLine.js +74 -0
- package/es/Icon/icons/SearchLine.d.ts +13 -0
- package/es/Icon/icons/SearchLine.js +73 -0
- package/es/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/es/Icon/icons/SortAscendingLine.js +66 -0
- package/es/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/es/Icon/icons/SortDescendingLine.js +66 -0
- package/es/Icon/icons/TextLine.d.ts +13 -0
- package/es/Icon/icons/TextLine.js +73 -0
- package/es/Icon/icons/UserLine.d.ts +13 -0
- package/es/Icon/icons/UserLine.js +73 -0
- package/es/Icon/icons/style.css +9 -0
- package/es/Icon/icons/style.css.d.ts +10 -0
- package/es/Icon/index.d.ts +2 -13
- package/es/Icon/index.js +2 -45
- package/es/Icon/index.less +9 -17
- package/es/Icon/style/index.d.ts +1 -0
- package/es/Icon/style/index.js +1 -0
- package/es/Icon/style/index.less +0 -0
- package/es/Input/components/Group/index.d.ts +4 -2
- package/es/Input/components/Group/index.js +23 -1
- package/es/Input/components/Input/index.d.ts +1 -1
- package/es/Input/components/Input/index.js +12 -0
- package/es/Input/components/Password/index.d.ts +7 -1
- package/es/Input/components/Password/index.js +29 -6
- package/es/Input/style/index.less +278 -43
- package/es/InputNumber/index.d.ts +4 -0
- package/es/InputNumber/index.js +32 -0
- package/es/InputNumber/style/index.d.ts +2 -0
- package/es/InputNumber/style/index.js +2 -0
- package/es/InputNumber/style/index.less +224 -0
- package/es/Menu/Divider.d.ts +2 -1
- package/es/Menu/MenuItem.d.ts +2 -1
- package/es/Menu/SubMenu.d.ts +2 -1
- package/es/Menu/SubMenu.js +1 -1
- package/es/Menu/index.d.ts +2 -1
- package/es/Menu/style/index.less +5 -5
- package/es/Modal/index.d.ts +21 -0
- package/es/Modal/index.js +95 -0
- package/es/Modal/style/index.d.ts +2 -0
- package/es/Modal/style/index.js +2 -0
- package/es/Modal/style/index.less +206 -0
- package/es/Navigator/components/Header/index.d.ts +9 -0
- package/es/Navigator/components/Header/index.js +18 -0
- package/es/Navigator/components/Menu/index.d.ts +7 -13
- package/es/Navigator/components/Menu/index.js +26 -162
- package/es/Navigator/components/MenuItem/index.d.ts +21 -0
- package/es/Navigator/components/MenuItem/index.js +39 -0
- package/es/Navigator/index.d.ts +19 -8
- package/es/Navigator/index.js +6 -15
- package/es/Navigator/style/bg.png +0 -0
- package/es/Navigator/style/index.less +105 -174
- package/es/Popover/index.d.ts +5 -0
- package/es/Popover/index.js +22 -0
- package/es/Popover/style/index.d.ts +2 -0
- package/es/Popover/style/index.js +2 -0
- package/es/Popover/style/index.less +37 -0
- package/es/Radio/index.d.ts +2 -3
- package/es/Select/index.d.ts +37 -9
- package/es/Select/index.js +155 -7
- package/es/Select/rc-select/BaseSelect.d.ts +116 -0
- package/es/Select/rc-select/BaseSelect.js +641 -0
- package/es/Select/rc-select/OptGroup.d.ts +12 -0
- package/es/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
- package/es/Select/rc-select/Option.d.ts +14 -0
- package/es/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
- package/es/Select/rc-select/OptionList.d.ts +10 -0
- package/es/Select/rc-select/OptionList.js +401 -0
- package/es/Select/rc-select/Select.d.ts +109 -0
- package/es/Select/rc-select/Select.js +547 -0
- package/es/Select/rc-select/SelectContext.d.ts +20 -0
- package/es/Select/rc-select/SelectContext.js +4 -0
- package/es/Select/rc-select/SelectTrigger.d.ts +30 -0
- package/es/Select/rc-select/SelectTrigger.js +136 -0
- package/es/Select/rc-select/Selector/Input.d.ts +26 -0
- package/es/Select/rc-select/Selector/Input.js +114 -0
- package/es/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
- package/es/Select/rc-select/Selector/MultipleSelector.js +236 -0
- package/es/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
- package/es/Select/rc-select/Selector/SingleSelector.js +112 -0
- package/es/Select/rc-select/Selector/index.d.ts +80 -0
- package/es/Select/rc-select/Selector/index.js +194 -0
- package/es/Select/rc-select/TransBtn.d.ts +12 -0
- package/es/Select/rc-select/TransBtn.js +42 -0
- package/es/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
- package/es/Select/rc-select/hooks/useBaseProps.js +11 -0
- package/es/Select/rc-select/hooks/useCache.d.ts +7 -0
- package/es/Select/rc-select/hooks/useCache.js +49 -0
- package/es/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
- package/es/Select/rc-select/hooks/useDelayReset.js +50 -0
- package/es/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
- package/es/Select/rc-select/hooks/useFilterOptions.js +75 -0
- package/es/Select/rc-select/hooks/useId.d.ts +5 -0
- package/es/Select/rc-select/hooks/useId.js +47 -0
- package/es/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
- package/es/Select/rc-select/hooks/useLayoutEffect.js +17 -0
- package/es/Select/rc-select/hooks/useLock.d.ts +7 -0
- package/es/Select/rc-select/hooks/useLock.js +35 -0
- package/es/Select/rc-select/hooks/useOptions.d.ts +11 -0
- package/es/Select/rc-select/hooks/useOptions.js +53 -0
- package/es/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
- package/es/Select/rc-select/hooks/useRefFunc.js +15 -0
- package/es/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
- package/es/Select/rc-select/hooks/useSelectTriggerControl.js +40 -0
- package/es/Select/rc-select/index.d.ts +10 -0
- package/es/Select/rc-select/index.js +7 -0
- package/es/Select/rc-select/interface.d.ts +10 -0
- package/es/Select/{interface.js → rc-select/interface.js} +0 -0
- package/es/Select/rc-select/utils/commonUtil.d.ts +4 -0
- package/es/Select/rc-select/utils/commonUtil.js +12 -0
- package/es/Select/rc-select/utils/keyUtil.d.ts +2 -0
- package/es/Select/rc-select/utils/keyUtil.js +8 -0
- package/es/Select/rc-select/utils/legacyUtil.d.ts +3 -0
- package/es/Select/rc-select/utils/legacyUtil.js +58 -0
- package/es/Select/rc-select/utils/platformUtil.d.ts +1 -0
- package/es/Select/rc-select/utils/platformUtil.js +4 -0
- package/es/Select/rc-select/utils/valueUtil.d.ts +22 -0
- package/es/Select/rc-select/utils/valueUtil.js +157 -0
- package/es/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
- package/es/Select/rc-select/utils/warningPropsUtil.js +114 -0
- package/es/Select/style/index.d.ts +1 -0
- package/es/Select/style/index.js +3 -1
- package/es/Select/style/index.less +230 -480
- package/es/Select/style/multiple.less +222 -0
- package/es/Select/style/rtl.less +168 -0
- package/es/Select/style/select.less +337 -0
- package/es/Select/style/single.less +179 -0
- package/es/Select/style/status.less +48 -0
- package/es/Select/style/variables.less +67 -0
- package/es/Select/style/variables.less.d.ts +100 -0
- package/es/Select/utils/iconUtil.d.ts +24 -0
- package/es/Select/utils/iconUtil.js +82 -0
- package/es/Space/index.d.ts +1 -1
- package/es/Space/index.js +0 -1
- package/es/Table/Table.d.ts +5 -0
- package/es/Table/Table.js +473 -0
- package/es/Table/index.d.ts +2 -4
- package/es/Table/index.js +2 -463
- package/es/Table/interface.d.ts +11 -15
- package/es/Table/style/index.less +51 -21
- package/es/Tabs/index.d.ts +2 -1
- package/es/Tabs/index.js +10 -4
- package/es/Tabs/style/index.less +73 -7
- package/es/Tooltip/style/index.less +2 -1
- package/es/index.d.ts +15 -2
- package/es/index.js +8 -1
- package/es/style/index.less +3 -1
- package/es/style/mixins/index.less +8 -0
- package/es/style/themes/default/index.less +10 -10
- package/es/style/themes/default/scrollBar.less +13 -0
- package/es/style/themes/default/themeColor.module.less +58 -94
- package/es/style/themes/default/themeColor.module.less.d.ts +1 -17
- package/lib/Avatar/index.d.ts +15 -0
- package/lib/Avatar/index.js +57 -0
- package/lib/Avatar/style/index.d.ts +2 -0
- package/lib/Avatar/style/index.js +5 -0
- package/lib/Avatar/style/index.less +34 -0
- package/lib/Breadcrumb/index.d.ts +8 -0
- package/lib/Breadcrumb/index.js +50 -0
- package/lib/Breadcrumb/style/index.d.ts +2 -0
- package/lib/Breadcrumb/style/index.js +5 -0
- package/lib/Breadcrumb/style/index.less +36 -0
- package/lib/Button/index.d.ts +4 -4
- package/lib/Button/index.js +45 -25
- package/lib/Button/style/index.less +185 -150
- package/lib/Button/style/variables.less +67 -0
- package/lib/Checkbox/style/index.less +35 -1
- package/lib/ConfigProvider/index.d.ts +1 -0
- package/lib/ConfigProvider/index.js +26 -0
- package/lib/Dropdown/Button.js +1 -1
- package/lib/Dropdown/style/index.less +41 -8
- package/lib/Empty/image/Authority.d.ts +3 -0
- package/lib/Empty/image/Authority.js +374 -0
- package/lib/Empty/image/Dataspace.d.ts +3 -0
- package/lib/Empty/image/Dataspace.js +285 -0
- package/lib/Empty/image/Search.d.ts +3 -0
- package/lib/Empty/image/Search.js +170 -0
- package/lib/Empty/image/Simple.d.ts +3 -0
- package/lib/Empty/image/Simple.js +34 -0
- package/lib/Empty/image/Worksheet.d.ts +3 -0
- package/lib/Empty/image/Worksheet.js +284 -0
- package/lib/Empty/image/empty.d.ts +3 -0
- package/lib/Empty/image/empty.js +153 -0
- package/lib/Empty/index.d.ts +21 -5
- package/lib/Empty/index.js +94 -53
- package/lib/Empty/style/index.less +56 -11
- package/lib/Form/style/index.less +8 -0
- package/lib/Icon/antdIconfont.d.ts +4 -0
- package/lib/Icon/antdIconfont.js +13 -0
- package/lib/Icon/components/Icon.d.ts +32 -0
- package/lib/Icon/components/Icon.js +38 -0
- package/lib/Icon/components/createFromScripts.d.ts +1 -0
- package/lib/Icon/components/createFromScripts.js +41 -0
- package/lib/Icon/iconSvgs/arrows_right_sm.svg +3 -0
- package/lib/Icon/icons/AddLine.d.ts +13 -0
- package/lib/Icon/icons/AddLine.js +83 -0
- package/lib/Icon/icons/AlertFill.d.ts +13 -0
- package/lib/Icon/icons/AlertFill.js +90 -0
- package/lib/Icon/icons/ArrowsDownLine.d.ts +13 -0
- package/lib/Icon/icons/ArrowsDownLine.js +83 -0
- package/lib/Icon/icons/CancelFill.d.ts +13 -0
- package/lib/Icon/icons/CancelFill.js +90 -0
- package/lib/Icon/icons/CheckFill.d.ts +13 -0
- package/lib/Icon/icons/CheckFill.js +90 -0
- package/lib/Icon/icons/CloseLine.d.ts +13 -0
- package/lib/Icon/icons/CloseLine.js +83 -0
- package/lib/Icon/icons/DatabaseLine.d.ts +13 -0
- package/lib/Icon/icons/DatabaseLine.js +83 -0
- package/lib/Icon/icons/Deleteline.d.ts +13 -0
- package/lib/Icon/icons/Deleteline.js +83 -0
- package/lib/Icon/icons/DownloadLine.d.ts +13 -0
- package/lib/Icon/icons/DownloadLine.js +90 -0
- package/lib/Icon/icons/ErrorFill.d.ts +13 -0
- package/lib/Icon/icons/ErrorFill.js +90 -0
- package/lib/Icon/icons/EyeOffLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOffLine.js +90 -0
- package/lib/Icon/icons/EyeOnLine.d.ts +13 -0
- package/lib/Icon/icons/EyeOnLine.js +83 -0
- package/lib/Icon/icons/FileLine.d.ts +13 -0
- package/lib/Icon/icons/FileLine.js +90 -0
- package/lib/Icon/icons/HomeFill.d.ts +13 -0
- package/lib/Icon/icons/HomeFill.js +90 -0
- package/lib/Icon/icons/IconBase.withSpan.tpl +58 -0
- package/lib/Icon/icons/LightningLine.d.ts +13 -0
- package/lib/Icon/icons/LightningLine.js +83 -0
- package/lib/Icon/icons/Loading.d.ts +13 -0
- package/lib/Icon/icons/Loading.js +83 -0
- package/lib/Icon/icons/More.d.ts +13 -0
- package/lib/Icon/icons/More.js +83 -0
- package/lib/Icon/icons/NewWindowsLine.d.ts +13 -0
- package/lib/Icon/icons/NewWindowsLine.js +91 -0
- package/lib/Icon/icons/SearchLine.d.ts +13 -0
- package/lib/Icon/icons/SearchLine.js +90 -0
- package/lib/Icon/icons/SortAscendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortAscendingLine.js +83 -0
- package/lib/Icon/icons/SortDescendingLine.d.ts +13 -0
- package/lib/Icon/icons/SortDescendingLine.js +83 -0
- package/lib/Icon/icons/TextLine.d.ts +13 -0
- package/lib/Icon/icons/TextLine.js +90 -0
- package/lib/Icon/icons/UserLine.d.ts +13 -0
- package/lib/Icon/icons/UserLine.js +90 -0
- package/lib/Icon/icons/style.css +9 -0
- package/lib/Icon/icons/style.css.d.ts +10 -0
- package/lib/Icon/index.d.ts +2 -13
- package/lib/Icon/index.js +2 -51
- package/lib/Icon/index.less +9 -17
- package/lib/Icon/style/index.d.ts +1 -0
- package/lib/Icon/style/index.js +1 -0
- package/lib/Icon/style/index.less +0 -0
- package/lib/Input/components/Group/index.d.ts +4 -2
- package/lib/Input/components/Group/index.js +24 -1
- package/lib/Input/components/Input/index.d.ts +1 -1
- package/lib/Input/components/Input/index.js +13 -0
- package/lib/Input/components/Password/index.d.ts +7 -1
- package/lib/Input/components/Password/index.js +30 -5
- package/lib/Input/style/index.less +278 -43
- package/lib/InputNumber/index.d.ts +4 -0
- package/lib/InputNumber/index.js +45 -0
- package/lib/InputNumber/style/index.d.ts +2 -0
- package/lib/InputNumber/style/index.js +5 -0
- package/lib/InputNumber/style/index.less +224 -0
- package/lib/Menu/Divider.d.ts +2 -1
- package/lib/Menu/MenuItem.d.ts +2 -1
- package/lib/Menu/SubMenu.d.ts +2 -1
- package/lib/Menu/SubMenu.js +1 -1
- package/lib/Menu/index.d.ts +2 -1
- package/lib/Menu/style/index.less +5 -5
- package/lib/Modal/index.d.ts +21 -0
- package/lib/Modal/index.js +121 -0
- package/lib/Modal/style/index.d.ts +2 -0
- package/lib/Modal/style/index.js +5 -0
- package/lib/Modal/style/index.less +206 -0
- package/lib/Navigator/components/Header/index.d.ts +9 -0
- package/lib/Navigator/components/Header/index.js +28 -0
- package/lib/Navigator/components/Menu/index.d.ts +7 -13
- package/lib/Navigator/components/Menu/index.js +25 -162
- package/lib/Navigator/components/MenuItem/index.d.ts +21 -0
- package/lib/Navigator/components/MenuItem/index.js +56 -0
- package/lib/Navigator/index.d.ts +19 -8
- package/lib/Navigator/index.js +7 -15
- package/lib/Navigator/style/bg.png +0 -0
- package/lib/Navigator/style/index.less +105 -174
- package/lib/Popover/index.d.ts +5 -0
- package/lib/Popover/index.js +35 -0
- package/lib/Popover/style/index.d.ts +2 -0
- package/lib/Popover/style/index.js +5 -0
- package/lib/Popover/style/index.less +37 -0
- package/lib/Radio/index.d.ts +2 -3
- package/lib/Select/index.d.ts +37 -9
- package/lib/Select/index.js +167 -18
- package/lib/Select/rc-select/BaseSelect.d.ts +116 -0
- package/lib/Select/rc-select/BaseSelect.js +672 -0
- package/lib/Select/rc-select/OptGroup.d.ts +12 -0
- package/lib/Select/{OptionsList → rc-select}/OptGroup.js +1 -0
- package/lib/Select/rc-select/Option.d.ts +14 -0
- package/lib/Select/{OptionsList/Options.js → rc-select/Option.js} +1 -0
- package/lib/Select/rc-select/OptionList.d.ts +10 -0
- package/lib/Select/rc-select/OptionList.js +427 -0
- package/lib/Select/rc-select/Select.d.ts +109 -0
- package/lib/Select/rc-select/Select.js +545 -0
- package/lib/Select/rc-select/SelectContext.d.ts +20 -0
- package/lib/Select/rc-select/SelectContext.js +19 -0
- package/lib/Select/rc-select/SelectTrigger.d.ts +30 -0
- package/lib/Select/rc-select/SelectTrigger.js +153 -0
- package/lib/Select/rc-select/Selector/Input.d.ts +26 -0
- package/lib/Select/rc-select/Selector/Input.js +132 -0
- package/lib/Select/rc-select/Selector/MultipleSelector.d.ts +16 -0
- package/lib/Select/rc-select/Selector/MultipleSelector.js +257 -0
- package/lib/Select/rc-select/Selector/SingleSelector.d.ts +8 -0
- package/lib/Select/rc-select/Selector/SingleSelector.js +129 -0
- package/lib/Select/rc-select/Selector/index.d.ts +80 -0
- package/lib/Select/rc-select/Selector/index.js +203 -0
- package/lib/Select/rc-select/TransBtn.d.ts +12 -0
- package/lib/Select/rc-select/TransBtn.js +59 -0
- package/lib/Select/rc-select/hooks/useBaseProps.d.ts +13 -0
- package/lib/Select/rc-select/hooks/useBaseProps.js +28 -0
- package/lib/Select/rc-select/hooks/useCache.d.ts +7 -0
- package/lib/Select/rc-select/hooks/useCache.js +63 -0
- package/lib/Select/rc-select/hooks/useDelayReset.d.ts +5 -0
- package/lib/Select/rc-select/hooks/useDelayReset.js +62 -0
- package/lib/Select/rc-select/hooks/useFilterOptions.d.ts +3 -0
- package/lib/Select/rc-select/hooks/useFilterOptions.js +91 -0
- package/lib/Select/rc-select/hooks/useId.d.ts +5 -0
- package/lib/Select/rc-select/hooks/useId.js +68 -0
- package/lib/Select/rc-select/hooks/useLayoutEffect.d.ts +5 -0
- package/lib/Select/rc-select/hooks/useLayoutEffect.js +32 -0
- package/lib/Select/rc-select/hooks/useLock.d.ts +7 -0
- package/lib/Select/rc-select/hooks/useLock.js +49 -0
- package/lib/Select/rc-select/hooks/useOptions.d.ts +11 -0
- package/lib/Select/rc-select/hooks/useOptions.js +68 -0
- package/lib/Select/rc-select/hooks/useRefFunc.d.ts +5 -0
- package/lib/Select/rc-select/hooks/useRefFunc.js +29 -0
- package/lib/Select/rc-select/hooks/useSelectTriggerControl.d.ts +1 -0
- package/lib/Select/rc-select/hooks/useSelectTriggerControl.js +54 -0
- package/lib/Select/rc-select/index.d.ts +10 -0
- package/lib/Select/rc-select/index.js +45 -0
- package/lib/Select/rc-select/interface.d.ts +10 -0
- package/lib/Select/{interface.js → rc-select/interface.js} +0 -0
- package/lib/Select/rc-select/utils/commonUtil.d.ts +4 -0
- package/lib/Select/rc-select/utils/commonUtil.js +23 -0
- package/lib/Select/rc-select/utils/keyUtil.d.ts +2 -0
- package/lib/Select/rc-select/utils/keyUtil.js +17 -0
- package/lib/Select/rc-select/utils/legacyUtil.d.ts +3 -0
- package/lib/Select/rc-select/utils/legacyUtil.js +73 -0
- package/lib/Select/rc-select/utils/platformUtil.d.ts +1 -0
- package/lib/Select/rc-select/utils/platformUtil.js +11 -0
- package/lib/Select/rc-select/utils/valueUtil.d.ts +22 -0
- package/lib/Select/rc-select/utils/valueUtil.js +172 -0
- package/lib/Select/rc-select/utils/warningPropsUtil.d.ts +3 -0
- package/lib/Select/rc-select/utils/warningPropsUtil.js +132 -0
- package/lib/Select/style/index.d.ts +1 -0
- package/lib/Select/style/index.js +2 -0
- package/lib/Select/style/index.less +230 -480
- package/lib/Select/style/multiple.less +222 -0
- package/lib/Select/style/rtl.less +168 -0
- package/lib/Select/style/select.less +337 -0
- package/lib/Select/style/single.less +179 -0
- package/lib/Select/style/status.less +48 -0
- package/lib/Select/style/variables.less +67 -0
- package/lib/Select/style/variables.less.d.ts +100 -0
- package/lib/Select/utils/iconUtil.d.ts +24 -0
- package/lib/Select/utils/iconUtil.js +102 -0
- package/lib/Space/index.d.ts +1 -1
- package/lib/Space/index.js +0 -6
- package/lib/Table/Table.d.ts +5 -0
- package/lib/Table/Table.js +501 -0
- package/lib/Table/index.d.ts +2 -4
- package/lib/Table/index.js +2 -478
- package/lib/Table/interface.d.ts +11 -15
- package/lib/Table/style/index.less +51 -21
- package/lib/Tabs/index.d.ts +2 -1
- package/lib/Tabs/index.js +11 -4
- package/lib/Tabs/style/index.less +73 -7
- package/lib/Tooltip/style/index.less +2 -1
- package/lib/index.d.ts +15 -2
- package/lib/index.js +56 -0
- package/lib/style/index.less +3 -1
- package/lib/style/mixins/index.less +8 -0
- package/lib/style/themes/default/index.less +10 -10
- package/lib/style/themes/default/scrollBar.less +13 -0
- package/lib/style/themes/default/themeColor.module.less +58 -94
- package/lib/style/themes/default/themeColor.module.less.d.ts +1 -17
- package/package.json +3 -2
- package/es/Icon/iconfont/demo.css +0 -539
- package/es/Icon/iconfont/demo_index.html +0 -720
- package/es/Icon/iconfont/iconfont.css +0 -109
- package/es/Icon/iconfont/iconfont.js +0 -46
- package/es/Icon/iconfont/iconfont.json +0 -170
- package/es/Icon/iconfont/iconfont.ttf +0 -0
- package/es/Icon/iconfont/iconfont.woff +0 -0
- package/es/Icon/iconfont/iconfont.woff2 +0 -0
- package/es/Select/BaseSelect.d.ts +0 -5
- package/es/Select/BaseSelect.js +0 -413
- package/es/Select/OptionsList/OptGroup.d.ts +0 -7
- package/es/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
- package/es/Select/OptionsList/OptionItem/RenderGroup.js +0 -16
- package/es/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
- package/es/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -45
- package/es/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
- package/es/Select/OptionsList/OptionItem/RenderOption.js +0 -79
- package/es/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
- package/es/Select/OptionsList/OptionItem/RenderTooltip.js +0 -25
- package/es/Select/OptionsList/OptionItem.d.ts +0 -4
- package/es/Select/OptionsList/OptionItem.js +0 -4
- package/es/Select/OptionsList/Options.d.ts +0 -7
- package/es/Select/OptionsList/index.d.ts +0 -4
- package/es/Select/OptionsList/index.js +0 -176
- package/es/Select/Selector/index.d.ts +0 -4
- package/es/Select/Selector/index.js +0 -252
- package/es/Select/VirtualList.d.ts +0 -5
- package/es/Select/VirtualList.js +0 -29
- package/es/Select/hooks/useCacheOption.d.ts +0 -9
- package/es/Select/hooks/useCacheOption.js +0 -107
- package/es/Select/interface.d.ts +0 -235
- package/es/Select/utils.d.ts +0 -21
- package/es/Select/utils.js +0 -193
- package/lib/Icon/iconfont/demo.css +0 -539
- package/lib/Icon/iconfont/demo_index.html +0 -720
- package/lib/Icon/iconfont/iconfont.css +0 -109
- package/lib/Icon/iconfont/iconfont.js +0 -48
- package/lib/Icon/iconfont/iconfont.json +0 -170
- package/lib/Icon/iconfont/iconfont.ttf +0 -0
- package/lib/Icon/iconfont/iconfont.woff +0 -0
- package/lib/Icon/iconfont/iconfont.woff2 +0 -0
- package/lib/Select/BaseSelect.d.ts +0 -5
- package/lib/Select/BaseSelect.js +0 -446
- package/lib/Select/OptionsList/OptGroup.d.ts +0 -7
- package/lib/Select/OptionsList/OptionItem/RenderGroup.d.ts +0 -9
- package/lib/Select/OptionsList/OptionItem/RenderGroup.js +0 -27
- package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.d.ts +0 -10
- package/lib/Select/OptionsList/OptionItem/RenderLabelIcon.js +0 -60
- package/lib/Select/OptionsList/OptionItem/RenderOption.d.ts +0 -16
- package/lib/Select/OptionsList/OptionItem/RenderOption.js +0 -94
- package/lib/Select/OptionsList/OptionItem/RenderTooltip.d.ts +0 -8
- package/lib/Select/OptionsList/OptionItem/RenderTooltip.js +0 -37
- package/lib/Select/OptionsList/OptionItem.d.ts +0 -4
- package/lib/Select/OptionsList/OptionItem.js +0 -39
- package/lib/Select/OptionsList/Options.d.ts +0 -7
- package/lib/Select/OptionsList/index.d.ts +0 -4
- package/lib/Select/OptionsList/index.js +0 -195
- package/lib/Select/Selector/index.d.ts +0 -4
- package/lib/Select/Selector/index.js +0 -276
- package/lib/Select/VirtualList.d.ts +0 -5
- package/lib/Select/VirtualList.js +0 -42
- package/lib/Select/hooks/useCacheOption.d.ts +0 -9
- package/lib/Select/hooks/useCacheOption.js +0 -113
- package/lib/Select/interface.d.ts +0 -235
- package/lib/Select/utils.d.ts +0 -21
- package/lib/Select/utils.js +0 -233
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
|
+
@import './variables.less';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.ant-btn {
|
|
7
|
-
&.ant-btn {
|
|
4
|
+
.ant-btn.ald-btn {
|
|
5
|
+
&.ald-btn {
|
|
8
6
|
// &-loading::before{
|
|
9
7
|
// // display: none !important;
|
|
10
8
|
// }
|
|
@@ -17,233 +15,218 @@
|
|
|
17
15
|
display: inline-flex;
|
|
18
16
|
align-items: center;
|
|
19
17
|
justify-content: center;
|
|
20
|
-
height: @
|
|
21
|
-
padding: 0 11px;
|
|
18
|
+
height: @height-base;
|
|
22
19
|
font-weight: 500;
|
|
23
20
|
font-size: 12px;
|
|
24
|
-
line-height: @
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-icon-left {
|
|
31
|
-
margin-left: -4px;
|
|
32
|
-
}
|
|
21
|
+
line-height: @height-base;
|
|
22
|
+
text-shadow: none;
|
|
23
|
+
vertical-align: bottom;
|
|
24
|
+
}
|
|
33
25
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
}
|
|
26
|
+
&.ant-btn-loading::before {
|
|
27
|
+
display: none;
|
|
38
28
|
}
|
|
39
29
|
|
|
40
30
|
&-primary {
|
|
41
|
-
|
|
42
|
-
background-color: @
|
|
43
|
-
border-color: @
|
|
44
|
-
border-radius: @ald-border-radius-base;
|
|
31
|
+
color: @Button-primary-color;
|
|
32
|
+
background-color: @Button-primary-bgColor;
|
|
33
|
+
border-color: @Button-primary-bgColor;
|
|
45
34
|
box-shadow: none;
|
|
46
35
|
|
|
47
36
|
&:focus {
|
|
48
|
-
text-shadow: @text-shadow;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
border-
|
|
37
|
+
//text-shadow: @text-shadow;
|
|
38
|
+
color: @Button-primary-color;
|
|
39
|
+
background-color: @Button-primary-bgColor;
|
|
40
|
+
border-color: @Button-primary-bgColor;
|
|
52
41
|
box-shadow: none;
|
|
53
42
|
}
|
|
54
43
|
|
|
55
44
|
&:hover,
|
|
56
|
-
&:active
|
|
57
|
-
|
|
58
|
-
color: @
|
|
59
|
-
|
|
60
|
-
border-color: @B20;
|
|
45
|
+
&:active {
|
|
46
|
+
color: @Button-primary-color-active;
|
|
47
|
+
background-color: @Button-primary-bgColor-active;
|
|
48
|
+
border-color: @Button-primary-bgColor-active;
|
|
61
49
|
}
|
|
62
50
|
|
|
51
|
+
&.ant-btn-loading,
|
|
63
52
|
&[disabled] {
|
|
64
|
-
color: @
|
|
65
|
-
background-color: @
|
|
66
|
-
border-color:
|
|
53
|
+
color: @Button-primary-color-disable;
|
|
54
|
+
background-color: @Button-primary-bgColor-disable;
|
|
55
|
+
border-color: @Button-primary-bgColor-disable;
|
|
67
56
|
cursor: default;
|
|
68
57
|
|
|
69
58
|
&:hover,
|
|
70
59
|
&:focus,
|
|
71
60
|
&:active {
|
|
72
|
-
color: @
|
|
73
|
-
background-color: @
|
|
74
|
-
border-color:
|
|
61
|
+
color: @Button-primary-color-disable;
|
|
62
|
+
background-color: @Button-primary-bgColor-disable;
|
|
63
|
+
border-color: @Button-primary-bgColor-disable;
|
|
75
64
|
}
|
|
76
65
|
}
|
|
77
66
|
}
|
|
78
67
|
|
|
79
|
-
&-dangerous
|
|
80
|
-
color: @
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
border-color: @SC40;
|
|
68
|
+
&-dangerous {
|
|
69
|
+
color: @Button-dangerous-color;
|
|
70
|
+
background-color: @Button-dangerous-bgColor;
|
|
71
|
+
border-color: @Button-dangerous-bgColor;
|
|
84
72
|
box-shadow: unset;
|
|
85
73
|
|
|
86
74
|
&:focus {
|
|
87
|
-
color: @
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
border-color: @SC40;
|
|
75
|
+
color: @Button-dangerous-color;
|
|
76
|
+
background-color: @Button-dangerous-bgColor;
|
|
77
|
+
border-color: @Button-dangerous-bgColor;
|
|
91
78
|
box-shadow: unset;
|
|
92
79
|
}
|
|
93
80
|
|
|
94
81
|
&:hover,
|
|
95
|
-
&:active
|
|
96
|
-
|
|
97
|
-
color: @
|
|
98
|
-
|
|
99
|
-
border-color: @SC20;
|
|
82
|
+
&:active {
|
|
83
|
+
color: @Button-dangerous-color-active;
|
|
84
|
+
background-color: @Button-dangerous-bgColor-active;
|
|
85
|
+
border-color: @Button-dangerous-bgColor-active;
|
|
100
86
|
}
|
|
101
87
|
|
|
102
|
-
&[disabled]
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
88
|
+
&[disabled],
|
|
89
|
+
&.ant-btn-loading {
|
|
90
|
+
color: @Button-dangerous-color-disable;
|
|
91
|
+
background-color: @Button-dangerous-bgColor-disable;
|
|
92
|
+
border-color: @Button-dangerous-bgColor-disable;
|
|
106
93
|
cursor: default;
|
|
107
94
|
|
|
108
95
|
&:hover,
|
|
109
96
|
&:focus,
|
|
110
97
|
&:active {
|
|
111
|
-
color: @
|
|
112
|
-
background-color: @
|
|
113
|
-
border-color:
|
|
98
|
+
color: @Button-dangerous-color-disable;
|
|
99
|
+
background-color: @Button-dangerous-bgColor-disable;
|
|
100
|
+
border-color: @Button-dangerous-bgColor-disable;
|
|
114
101
|
}
|
|
115
102
|
}
|
|
116
103
|
}
|
|
117
104
|
|
|
105
|
+
&.ant-btn-circle {
|
|
106
|
+
justify-content: center;
|
|
107
|
+
min-width: @height-base;
|
|
108
|
+
height: @height-base;
|
|
109
|
+
padding: 0;
|
|
110
|
+
border-radius: 50%;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&-default,
|
|
118
114
|
&-secondary {
|
|
119
|
-
color: @
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
border-color: @
|
|
123
|
-
border-radius: @ald-border-radius-base;
|
|
115
|
+
color: @Button-secondary-color;
|
|
116
|
+
background-color: @Button-secondary-bgColor;
|
|
117
|
+
border: 1px solid;
|
|
118
|
+
border-color: @Button-secondary-borderColor;
|
|
124
119
|
box-shadow: none;
|
|
125
120
|
|
|
126
121
|
&:focus {
|
|
127
|
-
color: @
|
|
128
|
-
text-shadow: @text-shadow;
|
|
129
|
-
background-color: @
|
|
130
|
-
border-color: @
|
|
131
|
-
border-radius: @ald-border-radius-base;
|
|
122
|
+
color: @Button-secondary-color;
|
|
123
|
+
//text-shadow: @text-shadow;
|
|
124
|
+
background-color: @Button-secondary-bgColor;
|
|
125
|
+
border-color: @Button-secondary-borderColor;
|
|
132
126
|
box-shadow: none;
|
|
133
127
|
}
|
|
134
128
|
|
|
135
129
|
&:hover,
|
|
136
|
-
&:active
|
|
137
|
-
|
|
138
|
-
color: @
|
|
139
|
-
|
|
140
|
-
border-color: @NL90;
|
|
130
|
+
&:active {
|
|
131
|
+
color: @Button-secondary-color-active;
|
|
132
|
+
background-color: @Button-secondary-bgColor-active;
|
|
133
|
+
border-color: @Button-secondary-borderColor-active;
|
|
141
134
|
}
|
|
142
135
|
|
|
143
|
-
&[disabled]
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
136
|
+
&[disabled],
|
|
137
|
+
&.ant-btn-loading {
|
|
138
|
+
color: @Button-secondary-color-disable;
|
|
139
|
+
background-color: @Button-secondary-bgColor-disable;
|
|
140
|
+
border-color: @Button-secondary-borderColor;
|
|
147
141
|
cursor: default;
|
|
148
142
|
|
|
149
143
|
&:hover,
|
|
150
144
|
&:focus,
|
|
151
145
|
&:active {
|
|
152
|
-
color: @
|
|
153
|
-
background-color: @
|
|
154
|
-
border-color: @
|
|
146
|
+
color: @Button-secondary-color-disable;
|
|
147
|
+
background-color: @Button-secondary-bgColor-disable;
|
|
148
|
+
border-color: @Button-secondary-borderColor;
|
|
155
149
|
}
|
|
156
150
|
}
|
|
157
151
|
}
|
|
158
152
|
|
|
159
153
|
&-text {
|
|
160
|
-
color: @
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
border-color: @BG100;
|
|
164
|
-
border-radius: @ald-border-radius-base;
|
|
154
|
+
color: @Button-text-color;
|
|
155
|
+
background-color: @Button-text-bgColor;
|
|
156
|
+
border: none;
|
|
165
157
|
box-shadow: none;
|
|
166
158
|
|
|
167
|
-
&:focus
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
background-color: @
|
|
171
|
-
border-color: @BG100;
|
|
172
|
-
border-radius: @ald-border-radius-base;
|
|
159
|
+
&:focus,
|
|
160
|
+
&:active {
|
|
161
|
+
color: @Button-text-color;
|
|
162
|
+
background-color: @Button-text-bgColor;
|
|
173
163
|
box-shadow: none;
|
|
174
164
|
}
|
|
175
165
|
|
|
176
166
|
&:hover,
|
|
177
|
-
&:active,
|
|
178
167
|
&.ant-btn-loading {
|
|
179
|
-
|
|
180
|
-
color: @
|
|
181
|
-
background-color: @NL97;
|
|
168
|
+
color: @Button-text-color-active;
|
|
169
|
+
background-color: @Button-text-bgColor-active;
|
|
182
170
|
}
|
|
183
171
|
|
|
184
172
|
&[disabled] {
|
|
185
|
-
color: @
|
|
186
|
-
background-color:
|
|
187
|
-
border-color: transparent;
|
|
173
|
+
color: @Button-text-color-disable;
|
|
174
|
+
background-color: @Button-text-bgColor-disable;
|
|
188
175
|
cursor: default;
|
|
189
176
|
|
|
190
177
|
&:hover,
|
|
191
178
|
&:focus,
|
|
192
179
|
&:active {
|
|
193
|
-
color: @
|
|
194
|
-
background-color:
|
|
195
|
-
border-color: transparent;
|
|
180
|
+
color: @Button-text-color-disable;
|
|
181
|
+
background-color: @Button-text-bgColor-disable;
|
|
196
182
|
}
|
|
197
183
|
}
|
|
198
184
|
}
|
|
199
185
|
|
|
200
186
|
&-link {
|
|
201
|
-
color: @
|
|
187
|
+
color: @Button-link-color;
|
|
202
188
|
font-weight: 400;
|
|
203
|
-
text-shadow: @text-shadow;
|
|
204
|
-
background-color: @
|
|
205
|
-
border-color: @
|
|
206
|
-
border-radius: @ald-border-radius-base;
|
|
189
|
+
//text-shadow: @text-shadow;
|
|
190
|
+
background-color: @Button-link-bgColor;
|
|
191
|
+
border-color: @Button-link-bgColor;
|
|
207
192
|
box-shadow: none;
|
|
208
193
|
|
|
209
194
|
&:focus {
|
|
210
|
-
color: @
|
|
195
|
+
color: @Button-link-color;
|
|
211
196
|
font-weight: 400;
|
|
212
|
-
text-shadow: @text-shadow;
|
|
213
|
-
background-color: @
|
|
214
|
-
border-color: @
|
|
215
|
-
border-radius: @ald-border-radius-base;
|
|
197
|
+
//text-shadow: @text-shadow;
|
|
198
|
+
background-color: @Button-link-bgColor;
|
|
199
|
+
border-color: @Button-link-bgColor;
|
|
216
200
|
box-shadow: none;
|
|
217
201
|
}
|
|
218
202
|
|
|
219
203
|
&:hover,
|
|
220
|
-
&:active
|
|
221
|
-
|
|
222
|
-
color: @
|
|
223
|
-
|
|
224
|
-
border-color: @BG100;
|
|
204
|
+
&:active {
|
|
205
|
+
color: @Button-link-color-active;
|
|
206
|
+
background-color: @Button-link-bgColor-active;
|
|
207
|
+
border-color: @Button-link-bgColor-active;
|
|
225
208
|
}
|
|
226
209
|
|
|
227
|
-
&[disabled]
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
210
|
+
&[disabled],
|
|
211
|
+
&.ant-btn-loading {
|
|
212
|
+
color: @Button-link-color-disable;
|
|
213
|
+
background-color: @Button-link-bgColor-disable;
|
|
214
|
+
border-color: @Button-link-bgColor-disable;
|
|
231
215
|
cursor: default;
|
|
232
216
|
|
|
233
217
|
&:hover,
|
|
234
218
|
&:focus,
|
|
235
219
|
&:active {
|
|
236
|
-
color: @
|
|
237
|
-
background-color:
|
|
238
|
-
border-color:
|
|
220
|
+
color: @Button-link-color-disable;
|
|
221
|
+
background-color: @Button-link-bgColor-disable;
|
|
222
|
+
border-color: @Button-link-bgColor-disable;
|
|
239
223
|
}
|
|
240
224
|
}
|
|
241
225
|
}
|
|
242
226
|
|
|
243
|
-
|
|
227
|
+
&.ant-btn-icon-only {
|
|
244
228
|
justify-content: center;
|
|
245
|
-
width:
|
|
246
|
-
height: @ald-height-base;
|
|
229
|
+
width: initial;
|
|
247
230
|
padding: 0;
|
|
248
231
|
vertical-align: bottom;
|
|
249
232
|
|
|
@@ -254,52 +237,104 @@
|
|
|
254
237
|
display: flex;
|
|
255
238
|
align-items: center;
|
|
256
239
|
justify-content: center;
|
|
257
|
-
margin
|
|
240
|
+
margin: 0;
|
|
258
241
|
}
|
|
259
242
|
}
|
|
260
243
|
|
|
261
|
-
&-
|
|
262
|
-
justify-content: center;
|
|
263
|
-
width: @ald-height-base;
|
|
244
|
+
&-large {
|
|
264
245
|
min-width: auto;
|
|
265
|
-
|
|
266
|
-
border-
|
|
246
|
+
height: @Button-height-large;
|
|
247
|
+
padding: @Button-border-padding-large;
|
|
248
|
+
font-size: @Button-text-size-large;
|
|
249
|
+
border-radius: @Button-borderRadius-large;
|
|
250
|
+
|
|
251
|
+
&.ant-btn-icon-only {
|
|
252
|
+
min-width: @Button-height-large;
|
|
253
|
+
height: @Button-height-large;
|
|
254
|
+
border-radius: @Button-borderRadius-large;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
&.ant-btn-circle {
|
|
258
|
+
min-width: @Button-height-large;
|
|
259
|
+
height: @Button-height-large;
|
|
260
|
+
border-radius: 50%;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.aldicon-icon-left + span {
|
|
264
|
+
margin-left: @Button-leftIcon-marginRight-large;
|
|
265
|
+
}
|
|
267
266
|
}
|
|
268
267
|
|
|
269
|
-
&-
|
|
268
|
+
&-middle {
|
|
270
269
|
min-width: auto;
|
|
271
|
-
height:
|
|
272
|
-
|
|
270
|
+
height: @Button-height-middle;
|
|
271
|
+
padding: @Button-border-padding-middle;
|
|
272
|
+
font-size: @Button-text-size-middle;
|
|
273
|
+
border-radius: @Button-borderRadius-middle;
|
|
274
|
+
|
|
275
|
+
&.ant-btn-icon-only {
|
|
276
|
+
min-width: @Button-height-middle;
|
|
277
|
+
height: @Button-height-middle;
|
|
278
|
+
border-radius: @Button-borderRadius-middle;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
&.ant-btn-circle {
|
|
282
|
+
min-width: @Button-height-middle;
|
|
283
|
+
height: @Button-height-middle;
|
|
284
|
+
border-radius: 50%;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.aldicon-icon-left + span {
|
|
288
|
+
margin-left: @Button-leftIcon-marginRight-middle;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&-small {
|
|
293
|
+
height: @Button-height-small;
|
|
294
|
+
padding: @Button-border-padding-small;
|
|
295
|
+
font-size: @Button-text-size-small;
|
|
296
|
+
line-height: 22px;
|
|
297
|
+
border-radius: @Button-borderRadius-small;
|
|
273
298
|
|
|
274
299
|
&.ant-btn-icon-only {
|
|
275
|
-
width:
|
|
276
|
-
|
|
277
|
-
|
|
300
|
+
min-width: @Button-height-small;
|
|
301
|
+
height: @Button-height-small;
|
|
302
|
+
border-radius: @Button-borderRadius-small;
|
|
278
303
|
}
|
|
279
304
|
|
|
280
305
|
&.ant-btn-circle {
|
|
281
|
-
width:
|
|
282
|
-
height:
|
|
306
|
+
min-width: @Button-height-small;
|
|
307
|
+
height: @Button-height-small;
|
|
283
308
|
border-radius: 50%;
|
|
284
309
|
}
|
|
310
|
+
|
|
311
|
+
.aldicon-icon-left + span {
|
|
312
|
+
margin-left: @Button-leftIcon-marginRight-small;
|
|
313
|
+
}
|
|
285
314
|
}
|
|
286
315
|
|
|
287
|
-
&-
|
|
288
|
-
height:
|
|
316
|
+
&-mini {
|
|
317
|
+
height: @Button-height-mini;
|
|
318
|
+
padding: @Button-border-padding-mini;
|
|
319
|
+
font-size: @Button-text-size-mini;
|
|
289
320
|
line-height: 22px;
|
|
290
|
-
border-radius: @
|
|
321
|
+
border-radius: @Button-borderRadius-mini;
|
|
291
322
|
|
|
292
323
|
&.ant-btn-icon-only {
|
|
293
|
-
width:
|
|
294
|
-
height:
|
|
295
|
-
border-radius: @
|
|
324
|
+
min-width: @Button-height-mini;
|
|
325
|
+
height: @Button-height-mini;
|
|
326
|
+
border-radius: @Button-borderRadius-mini;
|
|
296
327
|
}
|
|
297
328
|
|
|
298
329
|
&.ant-btn-circle {
|
|
299
|
-
width:
|
|
300
|
-
height:
|
|
330
|
+
min-width: @Button-height-mini;
|
|
331
|
+
height: @Button-height-mini;
|
|
301
332
|
border-radius: 50%;
|
|
302
333
|
}
|
|
334
|
+
|
|
335
|
+
.aldicon-icon-left + span {
|
|
336
|
+
margin-left: @Button-leftIcon-marginRight-mini;
|
|
337
|
+
}
|
|
303
338
|
}
|
|
304
339
|
}
|
|
305
340
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
@ald-prefix: ald;
|
|
2
|
+
@ald-iconfont-css-prefix: aldicon;
|
|
3
|
+
|
|
4
|
+
@Button-padding: 0 12px;
|
|
5
|
+
|
|
6
|
+
/** size控制 **/
|
|
7
|
+
@Button-height-large: 36px;
|
|
8
|
+
@Button-text-size-large: 16px;
|
|
9
|
+
@Button-borderRadius-large: 8px;
|
|
10
|
+
@Button-border-padding-large: 0 11px;
|
|
11
|
+
@Button-leftIcon-marginRight-large: 8px;
|
|
12
|
+
|
|
13
|
+
@Button-height-middle: 32px;
|
|
14
|
+
@Button-text-size-middle: 14px;
|
|
15
|
+
@Button-borderRadius-middle: 6px;
|
|
16
|
+
@Button-border-padding-middle: 0 11px;
|
|
17
|
+
@Button-leftIcon-marginRight-middle: 8px;
|
|
18
|
+
|
|
19
|
+
@Button-height-small: 28px;
|
|
20
|
+
@Button-text-size-small: 12px;
|
|
21
|
+
@Button-borderRadius-small: 4px;
|
|
22
|
+
@Button-border-padding-small: 0 7px;
|
|
23
|
+
@Button-leftIcon-marginRight-small: 4px;
|
|
24
|
+
|
|
25
|
+
@Button-height-mini: 24px;
|
|
26
|
+
@Button-text-size-mini: 12px;
|
|
27
|
+
@Button-borderRadius-mini: 4px;
|
|
28
|
+
@Button-border-padding-mini: 0 7px;
|
|
29
|
+
@Button-leftIcon-marginRight-mini: 4px;
|
|
30
|
+
|
|
31
|
+
/**** type控制 ****/
|
|
32
|
+
@Button-primary-bgColor: @B60;
|
|
33
|
+
@Button-primary-bgColor-active: @B50;
|
|
34
|
+
@Button-primary-bgColor-disable: @B90;
|
|
35
|
+
@Button-primary-color: @ND0;
|
|
36
|
+
@Button-primary-color-active: @ND0;
|
|
37
|
+
@Button-primary-color-disable: @ND0;
|
|
38
|
+
|
|
39
|
+
@Button-dangerous-bgColor: @SC60;
|
|
40
|
+
@Button-dangerous-bgColor-active: @SC50;
|
|
41
|
+
@Button-dangerous-bgColor-disable: @SC90;
|
|
42
|
+
@Button-dangerous-color: @ND0;
|
|
43
|
+
@Button-dangerous-color-active: @ND0;
|
|
44
|
+
@Button-dangerous-color-disable: @ND0;
|
|
45
|
+
|
|
46
|
+
@Button-secondary-bgColor: @BG97;
|
|
47
|
+
@Button-secondary-bgColor-active: @BG95;
|
|
48
|
+
@Button-secondary-bgColor-disable: @BG97;
|
|
49
|
+
@Button-secondary-color: @NL30;
|
|
50
|
+
@Button-secondary-color-active: @B60;
|
|
51
|
+
@Button-secondary-color-disable: @NL80;
|
|
52
|
+
@Button-secondary-borderColor: @NL90;
|
|
53
|
+
@Button-secondary-borderColor-active: @B60;
|
|
54
|
+
|
|
55
|
+
@Button-text-bgColor: transparent;
|
|
56
|
+
@Button-text-bgColor-active: @NL97;
|
|
57
|
+
@Button-text-bgColor-disable: @BG100;
|
|
58
|
+
@Button-text-color: @NL30;
|
|
59
|
+
@Button-text-color-active: @B60;
|
|
60
|
+
@Button-text-color-disable: @NL80;
|
|
61
|
+
|
|
62
|
+
@Button-link-bgColor: @BG100;
|
|
63
|
+
@Button-link-bgColor-active: @BG100;
|
|
64
|
+
@Button-link-bgColor-disable: @BG100;
|
|
65
|
+
@Button-link-color: @B60;
|
|
66
|
+
@Button-link-color-active: @B50;
|
|
67
|
+
@Button-link-color-disable: @B90;
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
@import '../../style/index.less';
|
|
2
2
|
|
|
3
3
|
.ald-checkbox {
|
|
4
|
+
height: 20px;
|
|
5
|
+
color: @NL0;
|
|
6
|
+
font-size: 14px;
|
|
7
|
+
line-height: 20px;
|
|
8
|
+
|
|
9
|
+
.ant-checkbox-wrapper {
|
|
10
|
+
height: 20px;
|
|
11
|
+
color: @NL0;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
line-height: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
4
17
|
.ant-checkbox-inner {
|
|
18
|
+
width: 16px;
|
|
19
|
+
height: 16px;
|
|
5
20
|
background-color: @BG97;
|
|
6
21
|
border-color: @NL60;
|
|
7
22
|
border-radius: 4px;
|
|
@@ -34,6 +49,13 @@
|
|
|
34
49
|
}
|
|
35
50
|
|
|
36
51
|
.ant-checkbox-disabled {
|
|
52
|
+
cursor: default;
|
|
53
|
+
|
|
54
|
+
& + span {
|
|
55
|
+
color: @NL0;
|
|
56
|
+
cursor: default;
|
|
57
|
+
}
|
|
58
|
+
|
|
37
59
|
.ant-checkbox-inner {
|
|
38
60
|
background-color: @NL90;
|
|
39
61
|
border-color: @NL90;
|
|
@@ -64,6 +86,11 @@
|
|
|
64
86
|
}
|
|
65
87
|
}
|
|
66
88
|
}
|
|
89
|
+
|
|
90
|
+
.ant-checkbox + span {
|
|
91
|
+
padding-right: 10px;
|
|
92
|
+
padding-left: 10px;
|
|
93
|
+
}
|
|
67
94
|
}
|
|
68
95
|
|
|
69
96
|
.ant-checkbox-group.ald-checkbox,
|
|
@@ -72,8 +99,15 @@
|
|
|
72
99
|
border-color: @B60;
|
|
73
100
|
}
|
|
74
101
|
|
|
75
|
-
.ant-checkbox:hover .ant-checkbox-inner,
|
|
76
102
|
.ant-checkbox-input:focus + .ant-checkbox-inner {
|
|
103
|
+
border-color: @NL60;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ant-checkbox:hover .ant-checkbox-inner {
|
|
77
107
|
border-color: @B60;
|
|
78
108
|
}
|
|
79
109
|
}
|
|
110
|
+
|
|
111
|
+
.ald-checkbox.ant-checkbox-wrapper-disabled {
|
|
112
|
+
cursor: default;
|
|
113
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { ConfigProvider } from 'antd';
|
|
2
|
+
export { RenderEmptyHandler, ConfigContext, ConfigConsumer, CSPConfig, DirectionType, ConfigConsumerProps, configConsumerProps, globalConfig, } from 'antd/lib/config-provider/';
|
|
2
3
|
export type { ConfigProviderProps } from 'antd/lib/config-provider';
|
|
3
4
|
export default ConfigProvider;
|
|
@@ -3,12 +3,38 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
Object.defineProperty(exports, "ConfigConsumer", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _configProvider2.ConfigConsumer;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "ConfigContext", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _configProvider2.ConfigContext;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "configConsumerProps", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _configProvider2.configConsumerProps;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
6
24
|
exports.default = void 0;
|
|
25
|
+
Object.defineProperty(exports, "globalConfig", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _configProvider2.globalConfig;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
7
31
|
|
|
8
32
|
require("antd/es/config-provider/style");
|
|
9
33
|
|
|
10
34
|
var _configProvider = _interopRequireDefault(require("antd/es/config-provider"));
|
|
11
35
|
|
|
36
|
+
var _configProvider2 = require("antd/lib/config-provider/");
|
|
37
|
+
|
|
12
38
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
39
|
|
|
14
40
|
var _default = _configProvider.default;
|
package/lib/Dropdown/Button.js
CHANGED
|
@@ -41,6 +41,6 @@ function DropdownButton(props) {
|
|
|
41
41
|
disabled: disabled,
|
|
42
42
|
onVisibleChange: onVisibleChange
|
|
43
43
|
}, /*#__PURE__*/_react.default.createElement(_Button.default, Object.assign({}, buttonProps), children, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
44
|
-
type: "
|
|
44
|
+
type: "arrows-down-line"
|
|
45
45
|
})));
|
|
46
46
|
}
|