@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,565 +1,315 @@
|
|
|
1
|
-
|
|
2
|
-
@import '
|
|
3
|
-
|
|
4
|
-
// @component-prefix:ant-;
|
|
5
|
-
.font(@style: normal, @weight: 400, @size: @size-font-base) {
|
|
6
|
-
font-weight: @weight;
|
|
7
|
-
font-size: @size;
|
|
8
|
-
font-family: @font-family-primary;
|
|
9
|
-
font-style: @style;
|
|
10
|
-
}
|
|
1
|
+
/* stylelint-disable no-descending-specificity */
|
|
2
|
+
@import './select.less';
|
|
3
|
+
@import './variables.less';
|
|
11
4
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@margin-lg: 24px; // containers
|
|
17
|
-
@margin-md: 16px; // small containers and buttons
|
|
18
|
-
@margin-sm: 12px; // Form controls and items
|
|
19
|
-
@margin-xs: 8px; // small items
|
|
20
|
-
@margin-xss: 4px; // more small
|
|
21
|
-
|
|
22
|
-
@ald-border-color-base: #a3adc8;
|
|
23
|
-
@border-color-split: hsv(0, 0, 94%); // split border inside a component
|
|
24
|
-
@border-color-inverse: #fff;
|
|
25
|
-
@border-width-base: 1px; // width of the border for a component
|
|
26
|
-
@border-style-base: solid; // style of a components border
|
|
27
|
-
@border-color-disabled: #dfe2ed;
|
|
28
|
-
@select-option-height-lg: @ald-height-lg;
|
|
29
|
-
@select-option-line-height-lg: 16px;
|
|
30
|
-
@select-option-height-base: @ald-height-base;
|
|
31
|
-
@select-option-height-sm: @ald-height-sm;
|
|
32
|
-
@line-height-base: 1.5715;
|
|
33
|
-
// @mode: compact;
|
|
34
|
-
|
|
35
|
-
// Base Text
|
|
36
|
-
// @text-color-base: #313e75;
|
|
37
|
-
// @text-color-disabled: #313e75;
|
|
38
|
-
@text-font-base-size: 14px;
|
|
39
|
-
// @text-lint-height-base: 22px;
|
|
40
|
-
|
|
41
|
-
//Background Color
|
|
42
|
-
// @background-color-base: #fff;
|
|
43
|
-
// @background-color-disabled: #f7f8fc;
|
|
44
|
-
|
|
45
|
-
@ald-prefix: ~'@{component-prefix}';
|
|
46
|
-
@select-prefix-cls-legacy: ~'@{component-prefix}-select-legacy';
|
|
47
|
-
@select-input-fontSize: @text-font-base-size;
|
|
48
|
-
@select-input-fontSize-sm: @text-font-base-size - 2px;
|
|
49
|
-
// @color-font-list-primary-normal: @palette-black-6; // $color-black-6
|
|
50
|
-
// @color-box-shadow-focused: #c0c4d3;
|
|
51
|
-
// @color-background-matchHeight: #ffcf3c;
|
|
52
|
-
.@{select-prefix-cls-legacy} {
|
|
53
|
-
position: relative;
|
|
54
|
-
display: inline-block;
|
|
55
|
-
min-width: 120px;
|
|
56
|
-
padding: 0 36px 0 11px;
|
|
57
|
-
overflow: hidden;
|
|
58
|
-
border: 1px solid transparent;
|
|
59
|
-
border-radius: @ald-border-radius-base;
|
|
60
|
-
outline: none;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
transition: all 0.2s;
|
|
63
|
-
user-select: none;
|
|
64
|
-
|
|
65
|
-
&-selector-wrap {
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
|
-
}
|
|
5
|
+
.ald-select {
|
|
6
|
+
.ant-select-selector:not(.ant-select-customize-input) {
|
|
7
|
+
background-color: @selector-bgColor-default;
|
|
8
|
+
border-color: @selector-borderColor-default;
|
|
69
9
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
width: 100%;
|
|
73
|
-
min-height: @ald-height-base;
|
|
74
|
-
max-height: @ald-height-base * 3.5px;
|
|
75
|
-
overflow-x: hidden;
|
|
76
|
-
overflow-y: auto;
|
|
77
|
-
border-radius: @ald-border-radius-base;
|
|
78
|
-
transition: all 0.2s;
|
|
79
|
-
|
|
80
|
-
&::-webkit-scrollbar {
|
|
81
|
-
width: 2px;
|
|
82
|
-
background-color: transparent;
|
|
10
|
+
.ald-select-selector-prefix {
|
|
11
|
+
color: @selector-labelColor-default;
|
|
83
12
|
}
|
|
84
13
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-selector-label {
|
|
91
|
-
display: flex;
|
|
92
|
-
flex-shrink: 0;
|
|
93
|
-
align-items: center;
|
|
94
|
-
max-width: 50%;
|
|
95
|
-
height: @ald-height-base;
|
|
96
|
-
margin-right: @ald-select-label-margin-right;
|
|
97
|
-
overflow: hidden;
|
|
98
|
-
color: @NL30;
|
|
99
|
-
font-size: @select-input-fontSize;
|
|
100
|
-
line-height: @ald-height-base;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-values-wrapper {
|
|
104
|
-
position: relative;
|
|
105
|
-
width: 100%;
|
|
106
|
-
color: @NL0;
|
|
107
|
-
line-height: @ald-height-base;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&-bordered {
|
|
111
|
-
border: 1px solid @NL90;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&-bordered:not(&-disabled):not(&-focused):hover {
|
|
115
|
-
border: 1px solid @B40;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// &:not(&-bordered):not(&-disabled):hover {
|
|
119
|
-
// // background-color: @palette-gray-2;
|
|
120
|
-
// // border: 1px solid transparent;
|
|
121
|
-
// }
|
|
122
|
-
|
|
123
|
-
&-focused:not(&-bordered):not(&-disabled) {
|
|
124
|
-
// background-color: @color-background-tree-normal;
|
|
125
|
-
// border: 1px solid @color-background-button-primary-hover;
|
|
126
|
-
border-radius: 4px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&-focused {
|
|
130
|
-
// box-shadow: 0 0 6px 0 @color-box-shadow-focused;
|
|
14
|
+
.ant-select-selection-placeholder {
|
|
15
|
+
color: @selector-placeholderColor-default;
|
|
16
|
+
}
|
|
131
17
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
18
|
+
.ant-select-selection-item {
|
|
19
|
+
color: @selector-valueColor-default;
|
|
20
|
+
background-color: initial;
|
|
21
|
+
border: none;
|
|
137
22
|
}
|
|
138
23
|
}
|
|
139
24
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
right: 8px;
|
|
145
|
-
display: flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
justify-content: center;
|
|
148
|
-
height: 100%;
|
|
149
|
-
// color: @color-text-table-empty;
|
|
150
|
-
// transition: all 0.2s;
|
|
25
|
+
&.ant-select-disabled .ant-select-selector:not(.ant-select-customize-input) {
|
|
26
|
+
background-color: @selector-bgColor-disabled;
|
|
27
|
+
border-color: @selector-borderColor-disabled;
|
|
28
|
+
cursor: initial;
|
|
151
29
|
|
|
152
|
-
|
|
153
|
-
|
|
30
|
+
.ald-select-selector-prefix {
|
|
31
|
+
color: @selector-labelColor-disabled;
|
|
154
32
|
}
|
|
155
|
-
}
|
|
156
33
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
overflow: hidden;
|
|
160
|
-
font-size: @select-input-fontSize;
|
|
161
|
-
transition: margin 0.2s;
|
|
162
|
-
|
|
163
|
-
&-text {
|
|
164
|
-
overflow: hidden;
|
|
165
|
-
color: @NL0;
|
|
166
|
-
font-size: @select-input-fontSize-sm;
|
|
167
|
-
line-height: 22px;
|
|
168
|
-
white-space: nowrap;
|
|
169
|
-
text-overflow: ellipsis;
|
|
34
|
+
.ant-select-selection-placeholder {
|
|
35
|
+
color: @selector-placeholderColor-disabled;
|
|
170
36
|
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
&-tag-item {
|
|
174
|
-
max-width: 100%;
|
|
175
|
-
margin-right: 8px;
|
|
176
|
-
margin-bottom: 5px;
|
|
177
|
-
}
|
|
178
37
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
transition: margin 0.2s;
|
|
184
|
-
.@{select-prefix-cls-legacy}-overflow-item {
|
|
185
|
-
white-space: nowrap;
|
|
186
|
-
|
|
187
|
-
&:not(:first-child)::before {
|
|
188
|
-
content: ',';
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&-rest {
|
|
192
|
-
&::before {
|
|
193
|
-
content: '' !important;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
38
|
+
.ant-select-selection-item {
|
|
39
|
+
color: @selector-valueColor-disabled;
|
|
40
|
+
background-color: initial;
|
|
41
|
+
border: none;
|
|
196
42
|
}
|
|
197
43
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
font-size: @select-input-fontSize-sm;
|
|
201
|
-
line-height: 22px;
|
|
202
|
-
white-space: nowrap;
|
|
203
|
-
text-overflow: ellipsis;
|
|
44
|
+
input {
|
|
45
|
+
cursor: initial;
|
|
204
46
|
}
|
|
205
47
|
}
|
|
206
48
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&-input {
|
|
216
|
-
position: absolute;
|
|
217
|
-
top: 9px;
|
|
218
|
-
left: 0;
|
|
219
|
-
box-sizing: content-box;
|
|
220
|
-
padding: 0;
|
|
221
|
-
background: none;
|
|
222
|
-
border: none;
|
|
223
|
-
outline: none;
|
|
49
|
+
&.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) {
|
|
50
|
+
.ant-select-selector {
|
|
51
|
+
background-color: @selector-bgColor-disabled;
|
|
52
|
+
border-color: @selector-borderColor-disabled;
|
|
53
|
+
cursor: initial;
|
|
54
|
+
}
|
|
224
55
|
}
|
|
225
56
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
57
|
+
&:not(.ant-select-disabled):hover,
|
|
58
|
+
&.ant-select.ant-select-focused:not(.ant-select-disabled) {
|
|
59
|
+
.ant-select-selector {
|
|
60
|
+
border-color: @selector-borderColor-active;
|
|
61
|
+
box-shadow: 0 0 0 0.5px @B60;
|
|
230
62
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
top: 0;
|
|
234
|
-
left: 0;
|
|
235
|
-
z-index: -1;
|
|
236
|
-
visibility: hidden;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&-small {
|
|
240
|
-
border-radius: @ald-border-radius-sm;
|
|
241
|
-
.@{select-prefix-cls-legacy} {
|
|
242
|
-
&-selector {
|
|
243
|
-
min-height: @ald-height-sm;
|
|
244
|
-
max-height: @ald-height-sm * 3.5px;
|
|
245
|
-
border-radius: @ald-border-radius-sm;
|
|
63
|
+
&:focus-visible {
|
|
64
|
+
outline: none;
|
|
246
65
|
}
|
|
247
66
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
color: @NL30;
|
|
251
|
-
font-size: @select-input-fontSize-sm;
|
|
252
|
-
line-height: @ald-height-sm;
|
|
67
|
+
.ald-select-selector-prefix {
|
|
68
|
+
color: @selector-labelColor-active;
|
|
253
69
|
}
|
|
254
70
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
line-height: @ald-height-sm;
|
|
71
|
+
.ant-select-selection-placeholder {
|
|
72
|
+
color: @selector-placeholderColor-active;
|
|
258
73
|
}
|
|
74
|
+
}
|
|
259
75
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
76
|
+
&.ant-select-open {
|
|
77
|
+
.ant-select-selection-overflow,
|
|
78
|
+
.ant-select-selection-item {
|
|
79
|
+
color: @selector-valueColor-active;
|
|
80
|
+
background-color: initial;
|
|
81
|
+
border: none;
|
|
266
82
|
}
|
|
83
|
+
}
|
|
267
84
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
85
|
+
&:not(.ant-select-open) {
|
|
86
|
+
.ant-select-selector {
|
|
87
|
+
border-color: @selector-borderColor-default;
|
|
88
|
+
box-shadow: none;
|
|
271
89
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
90
|
+
&:focus-visible {
|
|
91
|
+
outline: none;
|
|
92
|
+
}
|
|
275
93
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
94
|
+
.ald-select-selector-prefix {
|
|
95
|
+
color: @selector-labelColor-default;
|
|
96
|
+
}
|
|
279
97
|
|
|
280
|
-
|
|
281
|
-
|
|
98
|
+
.ant-select-selection-placeholder {
|
|
99
|
+
color: @selector-placeholderColor-default;
|
|
100
|
+
}
|
|
282
101
|
}
|
|
283
102
|
}
|
|
284
103
|
}
|
|
285
104
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
105
|
+
.ant-select-clear,
|
|
106
|
+
.ant-select-arrow {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
color: @NL50;
|
|
111
|
+
font-size: inherit;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.ant-select-disabled {
|
|
115
|
+
.ant-select-clear,
|
|
116
|
+
.ant-select-arrow {
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
color: @NL60;
|
|
121
|
+
font-size: inherit;
|
|
303
122
|
}
|
|
304
123
|
}
|
|
305
124
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
.@{select-prefix-cls-legacy} {
|
|
309
|
-
&-selector {
|
|
310
|
-
min-height: @ald-height-lg;
|
|
311
|
-
max-height: @ald-height-lg * 3.5px;
|
|
312
|
-
}
|
|
125
|
+
&.ald-select-large {
|
|
126
|
+
font-size: @selector-fontSize-large;
|
|
313
127
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
128
|
+
.ant-select-selector {
|
|
129
|
+
align-items: center;
|
|
130
|
+
height: @selector-height-large;
|
|
131
|
+
padding: 0 @selector-paddingHorizontal-large;
|
|
132
|
+
line-height: @selector-lineHeight-large;
|
|
133
|
+
border-radius: @selector-borderRadius-large;
|
|
319
134
|
|
|
320
|
-
|
|
321
|
-
|
|
135
|
+
.ald-select-selector-prefix {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
margin-right: @prefix-marginRight-large;
|
|
322
139
|
}
|
|
323
140
|
|
|
324
|
-
|
|
325
|
-
|
|
141
|
+
.ant-select-selection-item,
|
|
142
|
+
.ant-select-selection-placeholder {
|
|
143
|
+
line-height: @selector-lineHeight-large;
|
|
326
144
|
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
327
147
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}
|
|
148
|
+
&.ald-select-middle {
|
|
149
|
+
font-size: @selector-fontSize-middle;
|
|
331
150
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
151
|
+
.ant-select-selector {
|
|
152
|
+
align-items: center;
|
|
153
|
+
height: @selector-height-middle;
|
|
154
|
+
padding: 0 @selector-paddingHorizontal-middle;
|
|
155
|
+
line-height: @selector-lineHeight-middle;
|
|
156
|
+
border-radius: @selector-borderRadius-middle;
|
|
335
157
|
|
|
336
|
-
|
|
337
|
-
|
|
158
|
+
.ald-select-selector-prefix {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
margin-right: @prefix-marginRight-middle;
|
|
338
162
|
}
|
|
339
163
|
|
|
340
|
-
|
|
341
|
-
|
|
164
|
+
.ant-select-selection-item,
|
|
165
|
+
.ant-select-selection-placeholder {
|
|
166
|
+
line-height: @selector-lineHeight-middle;
|
|
342
167
|
}
|
|
343
168
|
}
|
|
344
169
|
}
|
|
345
170
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
171
|
+
&.ald-select-small {
|
|
172
|
+
font-size: @selector-fontSize-small;
|
|
173
|
+
|
|
174
|
+
.ant-select-selector {
|
|
175
|
+
align-items: center;
|
|
176
|
+
height: @selector-height-small;
|
|
177
|
+
padding: 0 @selector-paddingHorizontal-small;
|
|
178
|
+
line-height: @selector-lineHeight-small;
|
|
179
|
+
border-radius: @selector-borderRadius-small;
|
|
355
180
|
|
|
356
|
-
|
|
357
|
-
|
|
181
|
+
.ald-select-selector-prefix {
|
|
182
|
+
display: flex;
|
|
183
|
+
align-items: center;
|
|
184
|
+
margin-right: @prefix-marginRight-small;
|
|
358
185
|
}
|
|
359
186
|
|
|
360
|
-
|
|
361
|
-
|
|
187
|
+
.ant-select-selection-item,
|
|
188
|
+
.ant-select-selection-placeholder {
|
|
189
|
+
line-height: @selector-lineHeight-small;
|
|
362
190
|
}
|
|
363
191
|
}
|
|
364
192
|
}
|
|
365
193
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
194
|
+
&.ald-select-mini {
|
|
195
|
+
font-size: @selector-fontSize-mini;
|
|
369
196
|
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
197
|
+
.ant-select-selector {
|
|
198
|
+
align-items: center;
|
|
199
|
+
height: @selector-height-mini;
|
|
200
|
+
padding: 0 @selector-paddingHorizontal-mini;
|
|
201
|
+
line-height: @selector-lineHeight-mini;
|
|
202
|
+
border-radius: @selector-borderRadius-mini;
|
|
373
203
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
204
|
+
.ald-select-selector-prefix {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
margin-right: @prefix-marginRight-mini;
|
|
208
|
+
}
|
|
377
209
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
display: inline-flex;
|
|
210
|
+
.ant-select-selection-item,
|
|
211
|
+
.ant-select-selection-placeholder {
|
|
212
|
+
line-height: @selector-lineHeight-mini;
|
|
382
213
|
}
|
|
383
214
|
}
|
|
384
215
|
}
|
|
385
216
|
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
padding: 4px 0;
|
|
390
|
-
background: @BG100;
|
|
391
|
-
border: 1px solid @NL90;
|
|
392
|
-
border-radius: @ald-border-radius-base;
|
|
393
|
-
box-shadow: @shadow-actionsheet;
|
|
394
|
-
&.@{select-prefix-cls-legacy}-hidden {
|
|
395
|
-
display: none;
|
|
217
|
+
&.ant-select-multiple {
|
|
218
|
+
.ant-select-selection-search {
|
|
219
|
+
margin-inline-start: 0;
|
|
396
220
|
}
|
|
397
|
-
}
|
|
398
221
|
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
222
|
+
.ant-select-selection-overflow {
|
|
223
|
+
.ant-select-selection-overflow-item {
|
|
224
|
+
display: flex;
|
|
225
|
+
align-items: center;
|
|
226
|
+
line-height: inherit;
|
|
227
|
+
|
|
228
|
+
.ant-select-selection-item {
|
|
229
|
+
height: auto;
|
|
230
|
+
margin-top: 0;
|
|
231
|
+
|
|
232
|
+
.ant-select-selection-item-content {
|
|
233
|
+
display: flex;
|
|
234
|
+
align-items: center;
|
|
235
|
+
margin: 0;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.ant-select-selection-item-remove {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
margin: 0;
|
|
242
|
+
font-size: inherit;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
402
245
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
// color: @color-text-table-empty;
|
|
406
|
-
text-align: center;
|
|
246
|
+
.ald-select-multiple-tag-default {
|
|
247
|
+
color: inherit;
|
|
407
248
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
249
|
+
&::before {
|
|
250
|
+
content: ',';
|
|
251
|
+
}
|
|
252
|
+
}
|
|
412
253
|
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
254
|
+
.ant-select-selection-search-input {
|
|
255
|
+
height: inherit;
|
|
256
|
+
line-height: inherit;
|
|
257
|
+
caret-color: @B60;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
416
260
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
261
|
+
.ant-select-selection-overflow-item:first-of-type {
|
|
262
|
+
.ald-select-multiple-tag-default::before {
|
|
263
|
+
content: '';
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
422
267
|
|
|
423
|
-
|
|
424
|
-
|
|
268
|
+
.ant-select-selector::after {
|
|
269
|
+
height: 1.5715em;
|
|
270
|
+
}
|
|
425
271
|
}
|
|
426
|
-
|
|
427
|
-
// &-button-active {
|
|
428
|
-
// color: @color-text-button-text-hover;
|
|
429
|
-
// background: @palette-gray-4;
|
|
430
|
-
// border-color: @palette-gray-4;
|
|
431
|
-
// }
|
|
432
272
|
}
|
|
433
273
|
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
274
|
+
.ald-select-dropdown {
|
|
275
|
+
.ald-select-item {
|
|
276
|
+
display: flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
margin: 0 4px;
|
|
279
|
+
padding: 0;
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
background-color: @select-option-bgColor;
|
|
282
|
+
border-radius: 6px;
|
|
442
283
|
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
display: flex;
|
|
446
|
-
align-items: center;
|
|
447
|
-
box-sizing: border-box;
|
|
448
|
-
max-width: 100%;
|
|
449
|
-
height: @select-option-height-lg;
|
|
450
|
-
// margin-top: 4px;
|
|
451
|
-
padding: 8px 12px 8px 36px;
|
|
452
|
-
overflow: hidden;
|
|
453
|
-
color: @NL0;
|
|
454
|
-
font-size: 12px;
|
|
455
|
-
line-height: @select-option-line-height-lg;
|
|
456
|
-
white-space: nowrap;
|
|
457
|
-
text-overflow: ellipsis;
|
|
458
|
-
cursor: pointer;
|
|
459
|
-
transition: background-color 0.3s ease;
|
|
460
|
-
user-select: none;
|
|
461
|
-
|
|
462
|
-
&-icon,
|
|
463
|
-
&-all-icon {
|
|
464
|
-
position: absolute;
|
|
465
|
-
top: 50%;
|
|
466
|
-
left: 12px;
|
|
467
|
-
margin-top: -2px;
|
|
468
|
-
color: @B40;
|
|
469
|
-
transform: translateY(-50%);
|
|
470
|
-
|
|
471
|
-
&-checkbox {
|
|
472
|
-
.@{component-prefix}-checkbox-inner {
|
|
473
|
-
border-color: @NL90;
|
|
474
|
-
// background-color: @BG100;
|
|
475
|
-
border-radius: 4px;
|
|
476
|
-
box-shadow: none;
|
|
477
|
-
// &::after {
|
|
478
|
-
// // border-color: @B40;
|
|
479
|
-
// }
|
|
480
|
-
}
|
|
284
|
+
&:hover {
|
|
285
|
+
background-color: @select-option-bgColor-hover;
|
|
481
286
|
}
|
|
482
|
-
// .@{component-prefix}-checkbox-indeterminate {
|
|
483
|
-
// .@{component-prefix}-checkbox-inner {
|
|
484
|
-
// &::after {
|
|
485
|
-
// border-color: green;
|
|
486
|
-
// }
|
|
487
|
-
// }
|
|
488
|
-
// }
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
&-isHover {
|
|
492
|
-
background-color: @NL97;
|
|
493
|
-
}
|
|
494
287
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
288
|
+
.ald-select-single-check {
|
|
289
|
+
display: flex;
|
|
290
|
+
align-items: center;
|
|
291
|
+
justify-content: center;
|
|
292
|
+
// width: 26px;
|
|
293
|
+
width: 1em;
|
|
294
|
+
margin-right: 8px;
|
|
295
|
+
margin-left: 12px;
|
|
296
|
+
}
|
|
498
297
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
298
|
+
.ald-select-multiple-checkbox {
|
|
299
|
+
width: 16px;
|
|
300
|
+
height: 16px;
|
|
301
|
+
margin-right: 10px;
|
|
302
|
+
margin-left: 14px;
|
|
303
|
+
pointer-events: none;
|
|
505
304
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
// background-color: @NL97;
|
|
511
|
-
}
|
|
512
|
-
}
|
|
305
|
+
.ant-checkbox {
|
|
306
|
+
top: 0;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
513
309
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
box-sizing: border-box;
|
|
519
|
-
max-width: 100%;
|
|
520
|
-
height: @select-option-height-lg;
|
|
521
|
-
// margin-right: 8px;
|
|
522
|
-
padding: 8px 12px 8px 36px;
|
|
523
|
-
overflow: hidden;
|
|
524
|
-
color: @NL0;
|
|
525
|
-
font-size: 12px;
|
|
526
|
-
line-height: @select-option-line-height-lg;
|
|
527
|
-
white-space: nowrap;
|
|
528
|
-
text-overflow: ellipsis;
|
|
529
|
-
cursor: pointer;
|
|
530
|
-
transition: background-color 0.3s ease;
|
|
531
|
-
user-select: none;
|
|
532
|
-
|
|
533
|
-
&:not(&-disabled):hover {
|
|
534
|
-
background-color: @NL97;
|
|
310
|
+
.ant-select-item-option-content {
|
|
311
|
+
color: @select-option-color;
|
|
312
|
+
font-weight: 400;
|
|
313
|
+
}
|
|
535
314
|
}
|
|
536
315
|
}
|
|
537
|
-
|
|
538
|
-
.@{select-prefix-cls-legacy}-footer-button-group {
|
|
539
|
-
display: flex;
|
|
540
|
-
align-items: center;
|
|
541
|
-
justify-content: flex-end;
|
|
542
|
-
box-sizing: border-box;
|
|
543
|
-
width: 100%;
|
|
544
|
-
height: 52px;
|
|
545
|
-
margin-top: 4px;
|
|
546
|
-
padding: 0 20px;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
.@{select-prefix-cls-legacy}-footer-button-group:first-child button {
|
|
550
|
-
margin-right: 8px;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
.@{select-prefix-cls-legacy}-list-search-bar {
|
|
554
|
-
box-sizing: border-box;
|
|
555
|
-
max-width: 100%;
|
|
556
|
-
padding: 0 20px 16px 12px;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
.@{select-prefix-cls-legacy}-list-group {
|
|
560
|
-
padding: 6px 12px;
|
|
561
|
-
// color: @color-background-button-primary-hover;
|
|
562
|
-
font-weight: normal;
|
|
563
|
-
font-size: 12px;
|
|
564
|
-
line-height: 20px;
|
|
565
|
-
}
|