@opensumi/ide-components 2.12.1-next-079c1930
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/README.md +65 -0
- package/dist/index.css +1 -0
- package/dist/index.js +26330 -0
- package/lib/badge/index.d.ts +4 -0
- package/lib/badge/index.d.ts.map +1 -0
- package/lib/badge/index.js +13 -0
- package/lib/badge/index.js.map +1 -0
- package/lib/badge/styles.less +17 -0
- package/lib/button/index.d.ts +54 -0
- package/lib/button/index.d.ts.map +1 -0
- package/lib/button/index.js +68 -0
- package/lib/button/index.js.map +1 -0
- package/lib/button/style.less +251 -0
- package/lib/checkbox/index.d.ts +9 -0
- package/lib/checkbox/index.d.ts.map +1 -0
- package/lib/checkbox/index.js +27 -0
- package/lib/checkbox/index.js.map +1 -0
- package/lib/checkbox/style.less +80 -0
- package/lib/common.d.ts +7 -0
- package/lib/common.d.ts.map +1 -0
- package/lib/common.js +11 -0
- package/lib/common.js.map +1 -0
- package/lib/dialog/index.d.ts +26 -0
- package/lib/dialog/index.d.ts.map +1 -0
- package/lib/dialog/index.js +28 -0
- package/lib/dialog/index.js.map +1 -0
- package/lib/dialog/styles.less +85 -0
- package/lib/dropdown/dropdown.d.ts +48 -0
- package/lib/dropdown/dropdown.d.ts.map +1 -0
- package/lib/dropdown/dropdown.js +80 -0
- package/lib/dropdown/dropdown.js.map +1 -0
- package/lib/dropdown/index.d.ts +5 -0
- package/lib/dropdown/index.d.ts.map +1 -0
- package/lib/dropdown/index.js +8 -0
- package/lib/dropdown/index.js.map +1 -0
- package/lib/dropdown/style.less +254 -0
- package/lib/icon/icon.d.ts +33 -0
- package/lib/icon/icon.d.ts.map +1 -0
- package/lib/icon/icon.js +71 -0
- package/lib/icon/icon.js.map +1 -0
- package/lib/icon/iconfont/iconManager.d.ts +187 -0
- package/lib/icon/iconfont/iconManager.d.ts.map +1 -0
- package/lib/icon/iconfont/iconManager.js +67 -0
- package/lib/icon/iconfont/iconManager.js.map +1 -0
- package/lib/icon/iconfont/iconMap.d.ts +160 -0
- package/lib/icon/iconfont/iconMap.d.ts.map +1 -0
- package/lib/icon/iconfont/iconMap.js +165 -0
- package/lib/icon/iconfont/iconMap.js.map +1 -0
- package/lib/icon/iconfont/iconfont.css +646 -0
- package/lib/icon/iconfont/iconfont.eot +0 -0
- package/lib/icon/iconfont/iconfont.html +1522 -0
- package/lib/icon/iconfont/iconfont.svg +333 -0
- 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/icon/iconfont-cn.d.ts +15 -0
- package/lib/icon/iconfont-cn.d.ts.map +1 -0
- package/lib/icon/iconfont-cn.js +78 -0
- package/lib/icon/iconfont-cn.js.map +1 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/icon/index.d.ts.map +1 -0
- package/lib/icon/index.js +9 -0
- package/lib/icon/index.js.map +1 -0
- package/lib/icon/styles.less +105 -0
- package/lib/icon/util.d.ts +29 -0
- package/lib/icon/util.d.ts.map +1 -0
- package/lib/icon/util.js +53 -0
- package/lib/icon/util.js.map +1 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +23 -0
- package/lib/index.js.map +1 -0
- package/lib/input/HistoryInputBox.d.ts +38 -0
- package/lib/input/HistoryInputBox.d.ts.map +1 -0
- package/lib/input/HistoryInputBox.js +114 -0
- package/lib/input/HistoryInputBox.js.map +1 -0
- package/lib/input/Input.d.ts +43 -0
- package/lib/input/Input.d.ts.map +1 -0
- package/lib/input/Input.js +124 -0
- package/lib/input/Input.js.map +1 -0
- package/lib/input/ProxiedInput.d.ts +8 -0
- package/lib/input/ProxiedInput.d.ts.map +1 -0
- package/lib/input/ProxiedInput.js +67 -0
- package/lib/input/ProxiedInput.js.map +1 -0
- package/lib/input/TextArea.d.ts +6 -0
- package/lib/input/TextArea.d.ts.map +1 -0
- package/lib/input/TextArea.js +11 -0
- package/lib/input/TextArea.js.map +1 -0
- package/lib/input/ValidateInput.d.ts +20 -0
- package/lib/input/ValidateInput.d.ts.map +1 -0
- package/lib/input/ValidateInput.js +59 -0
- package/lib/input/ValidateInput.js.map +1 -0
- package/lib/input/index.d.ts +5 -0
- package/lib/input/index.d.ts.map +1 -0
- package/lib/input/index.js +8 -0
- package/lib/input/index.js.map +1 -0
- package/lib/input/input.less +83 -0
- package/lib/input/validate-input.less +88 -0
- package/lib/locale-context-provider.d.ts +16 -0
- package/lib/locale-context-provider.d.ts.map +1 -0
- package/lib/locale-context-provider.js +26 -0
- package/lib/locale-context-provider.js.map +1 -0
- package/lib/menu/MenuContext.d.ts +8 -0
- package/lib/menu/MenuContext.d.ts.map +1 -0
- package/lib/menu/MenuContext.js +8 -0
- package/lib/menu/MenuContext.js.map +1 -0
- package/lib/menu/MenuItem.d.ts +29 -0
- package/lib/menu/MenuItem.d.ts.map +1 -0
- package/lib/menu/MenuItem.js +32 -0
- package/lib/menu/MenuItem.js.map +1 -0
- package/lib/menu/SubMenu.d.ts +30 -0
- package/lib/menu/SubMenu.d.ts.map +1 -0
- package/lib/menu/SubMenu.js +28 -0
- package/lib/menu/SubMenu.js.map +1 -0
- package/lib/menu/index.d.ts +64 -0
- package/lib/menu/index.d.ts.map +1 -0
- package/lib/menu/index.js +203 -0
- package/lib/menu/index.js.map +1 -0
- package/lib/menu/style.less +513 -0
- package/lib/message/index.d.ts +10 -0
- package/lib/message/index.d.ts.map +1 -0
- package/lib/message/index.js +21 -0
- package/lib/message/index.js.map +1 -0
- package/lib/message/message.d.ts +42 -0
- package/lib/message/message.d.ts.map +1 -0
- package/lib/message/message.js +128 -0
- package/lib/message/message.js.map +1 -0
- package/lib/message/style.less +76 -0
- package/lib/modal/Modal.d.ts +127 -0
- package/lib/modal/Modal.d.ts.map +1 -0
- package/lib/modal/Modal.js +87 -0
- package/lib/modal/Modal.js.map +1 -0
- package/lib/modal/index.d.ts +5 -0
- package/lib/modal/index.d.ts.map +1 -0
- package/lib/modal/index.js +8 -0
- package/lib/modal/index.js.map +1 -0
- package/lib/modal/locale.d.ts +8 -0
- package/lib/modal/locale.d.ts.map +1 -0
- package/lib/modal/locale.js +23 -0
- package/lib/modal/locale.js.map +1 -0
- package/lib/modal/style.less +168 -0
- package/lib/notification/index.d.ts +8 -0
- package/lib/notification/index.d.ts.map +1 -0
- package/lib/notification/index.js +80 -0
- package/lib/notification/index.js.map +1 -0
- package/lib/notification/notification.d.ts +44 -0
- package/lib/notification/notification.d.ts.map +1 -0
- package/lib/notification/notification.js +156 -0
- package/lib/notification/notification.js.map +1 -0
- package/lib/notification/notification.less +231 -0
- package/lib/overlay/index.d.ts +19 -0
- package/lib/overlay/index.d.ts.map +1 -0
- package/lib/overlay/index.js +13 -0
- package/lib/overlay/index.js.map +1 -0
- package/lib/overlay/styles.less +44 -0
- package/lib/popover/index.d.ts +28 -0
- package/lib/popover/index.d.ts.map +1 -0
- package/lib/popover/index.js +127 -0
- package/lib/popover/index.js.map +1 -0
- package/lib/popover/styles.less +135 -0
- package/lib/recycle-list/RecycleList.d.ts +105 -0
- package/lib/recycle-list/RecycleList.d.ts.map +1 -0
- package/lib/recycle-list/RecycleList.js +253 -0
- package/lib/recycle-list/RecycleList.js.map +1 -0
- package/lib/recycle-list/index.d.ts +2 -0
- package/lib/recycle-list/index.d.ts.map +1 -0
- package/lib/recycle-list/index.js +5 -0
- package/lib/recycle-list/index.js.map +1 -0
- package/lib/recycle-tree/RecycleTree.d.ts +254 -0
- package/lib/recycle-tree/RecycleTree.d.ts.map +1 -0
- package/lib/recycle-tree/RecycleTree.js +635 -0
- package/lib/recycle-tree/RecycleTree.js.map +1 -0
- package/lib/recycle-tree/TreeNodeRendererWrap.d.ts +37 -0
- package/lib/recycle-tree/TreeNodeRendererWrap.d.ts.map +1 -0
- package/lib/recycle-tree/TreeNodeRendererWrap.js +18 -0
- package/lib/recycle-tree/TreeNodeRendererWrap.js.map +1 -0
- package/lib/recycle-tree/decorators/Adaptive/index.d.ts +10 -0
- package/lib/recycle-tree/decorators/Adaptive/index.d.ts.map +1 -0
- package/lib/recycle-tree/decorators/Adaptive/index.js +97 -0
- package/lib/recycle-tree/decorators/Adaptive/index.js.map +1 -0
- package/lib/recycle-tree/decorators/Filter/filter.less +11 -0
- package/lib/recycle-tree/decorators/Filter/index.d.ts +26 -0
- package/lib/recycle-tree/decorators/Filter/index.d.ts.map +1 -0
- package/lib/recycle-tree/decorators/Filter/index.js +53 -0
- package/lib/recycle-tree/decorators/Filter/index.js.map +1 -0
- package/lib/recycle-tree/decorators/index.d.ts +3 -0
- package/lib/recycle-tree/decorators/index.d.ts.map +1 -0
- package/lib/recycle-tree/decorators/index.js +6 -0
- package/lib/recycle-tree/decorators/index.js.map +1 -0
- package/lib/recycle-tree/index.d.ts +7 -0
- package/lib/recycle-tree/index.d.ts.map +1 -0
- package/lib/recycle-tree/index.js +10 -0
- package/lib/recycle-tree/index.js.map +1 -0
- package/lib/recycle-tree/prompt/NewPromptHandle.d.ts +12 -0
- package/lib/recycle-tree/prompt/NewPromptHandle.d.ts.map +1 -0
- package/lib/recycle-tree/prompt/NewPromptHandle.js +21 -0
- package/lib/recycle-tree/prompt/NewPromptHandle.js.map +1 -0
- package/lib/recycle-tree/prompt/PromptHandle.d.ts +59 -0
- package/lib/recycle-tree/prompt/PromptHandle.d.ts.map +1 -0
- package/lib/recycle-tree/prompt/PromptHandle.js +200 -0
- package/lib/recycle-tree/prompt/PromptHandle.js.map +1 -0
- package/lib/recycle-tree/prompt/RenamePromptHandle.d.ts +10 -0
- package/lib/recycle-tree/prompt/RenamePromptHandle.d.ts.map +1 -0
- package/lib/recycle-tree/prompt/RenamePromptHandle.js +21 -0
- package/lib/recycle-tree/prompt/RenamePromptHandle.js.map +1 -0
- package/lib/recycle-tree/prompt/index.d.ts +4 -0
- package/lib/recycle-tree/prompt/index.d.ts.map +1 -0
- package/lib/recycle-tree/prompt/index.js +7 -0
- package/lib/recycle-tree/prompt/index.js.map +1 -0
- package/lib/recycle-tree/tree/Tree.d.ts +20 -0
- package/lib/recycle-tree/tree/Tree.d.ts.map +1 -0
- package/lib/recycle-tree/tree/Tree.js +43 -0
- package/lib/recycle-tree/tree/Tree.js.map +1 -0
- package/lib/recycle-tree/tree/TreeNode.d.ts +222 -0
- package/lib/recycle-tree/tree/TreeNode.d.ts.map +1 -0
- package/lib/recycle-tree/tree/TreeNode.js +1099 -0
- package/lib/recycle-tree/tree/TreeNode.js.map +1 -0
- package/lib/recycle-tree/tree/decoration/CompositeDecoration.d.ts +60 -0
- package/lib/recycle-tree/tree/decoration/CompositeDecoration.d.ts.map +1 -0
- package/lib/recycle-tree/tree/decoration/CompositeDecoration.js +328 -0
- package/lib/recycle-tree/tree/decoration/CompositeDecoration.js.map +1 -0
- package/lib/recycle-tree/tree/decoration/Decoration.d.ts +79 -0
- package/lib/recycle-tree/tree/decoration/Decoration.d.ts.map +1 -0
- package/lib/recycle-tree/tree/decoration/Decoration.js +183 -0
- package/lib/recycle-tree/tree/decoration/Decoration.js.map +1 -0
- package/lib/recycle-tree/tree/decoration/DecorationManager.d.ts +34 -0
- package/lib/recycle-tree/tree/decoration/DecorationManager.d.ts.map +1 -0
- package/lib/recycle-tree/tree/decoration/DecorationManager.js +166 -0
- package/lib/recycle-tree/tree/decoration/DecorationManager.js.map +1 -0
- package/lib/recycle-tree/tree/decoration/index.d.ts +4 -0
- package/lib/recycle-tree/tree/decoration/index.d.ts.map +1 -0
- package/lib/recycle-tree/tree/decoration/index.js +7 -0
- package/lib/recycle-tree/tree/decoration/index.js.map +1 -0
- package/lib/recycle-tree/tree/index.d.ts +5 -0
- package/lib/recycle-tree/tree/index.d.ts.map +1 -0
- package/lib/recycle-tree/tree/index.js +8 -0
- package/lib/recycle-tree/tree/index.js.map +1 -0
- package/lib/recycle-tree/tree/model/TreeModel.d.ts +50 -0
- package/lib/recycle-tree/tree/model/TreeModel.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/TreeModel.js +81 -0
- package/lib/recycle-tree/tree/model/TreeModel.js.map +1 -0
- package/lib/recycle-tree/tree/model/index.d.ts +2 -0
- package/lib/recycle-tree/tree/model/index.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/index.js +5 -0
- package/lib/recycle-tree/tree/model/index.js.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateManager.d.ts +65 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateManager.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateManager.js +191 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateManager.js.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateWatcher.d.ts +15 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateWatcher.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateWatcher.js +104 -0
- package/lib/recycle-tree/tree/model/treeState/TreeStateWatcher.js.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/index.d.ts +4 -0
- package/lib/recycle-tree/tree/model/treeState/index.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/index.js +8 -0
- package/lib/recycle-tree/tree/model/treeState/index.js.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/types.d.ts +21 -0
- package/lib/recycle-tree/tree/model/treeState/types.d.ts.map +1 -0
- package/lib/recycle-tree/tree/model/treeState/types.js +18 -0
- package/lib/recycle-tree/tree/model/treeState/types.js.map +1 -0
- package/lib/recycle-tree/types/index.d.ts +4 -0
- package/lib/recycle-tree/types/index.d.ts.map +1 -0
- package/lib/recycle-tree/types/index.js +7 -0
- package/lib/recycle-tree/types/index.js.map +1 -0
- package/lib/recycle-tree/types/tree-node.d.ts +70 -0
- package/lib/recycle-tree/types/tree-node.d.ts.map +1 -0
- package/lib/recycle-tree/types/tree-node.js +11 -0
- package/lib/recycle-tree/types/tree-node.js.map +1 -0
- package/lib/recycle-tree/types/tree.d.ts +8 -0
- package/lib/recycle-tree/types/tree.d.ts.map +1 -0
- package/lib/recycle-tree/types/tree.js +3 -0
- package/lib/recycle-tree/types/tree.js.map +1 -0
- package/lib/recycle-tree/types/watcher.d.ts +114 -0
- package/lib/recycle-tree/types/watcher.d.ts.map +1 -0
- package/lib/recycle-tree/types/watcher.js +46 -0
- package/lib/recycle-tree/types/watcher.js.map +1 -0
- package/lib/scrollbars/index.d.ts +14 -0
- package/lib/scrollbars/index.d.ts.map +1 -0
- package/lib/scrollbars/index.js +52 -0
- package/lib/scrollbars/index.js.map +1 -0
- package/lib/scrollbars/styles.less +46 -0
- package/lib/select/index.d.ts +119 -0
- package/lib/select/index.d.ts.map +1 -0
- package/lib/select/index.js +327 -0
- package/lib/select/index.js.map +1 -0
- package/lib/select/style.less +224 -0
- package/lib/style/base.less +542 -0
- package/lib/style/index.less +14 -0
- package/lib/style/mixins.less +135 -0
- package/lib/style/motion/fade.less +31 -0
- package/lib/style/motion/move.less +120 -0
- package/lib/style/motion/other.less +45 -0
- package/lib/style/motion/slide.less +120 -0
- package/lib/style/motion/swing.less +34 -0
- package/lib/style/motion/zoom.less +162 -0
- package/lib/style/variable.less +204 -0
- package/lib/tabs/index.d.ts +12 -0
- package/lib/tabs/index.d.ts.map +1 -0
- package/lib/tabs/index.js +24 -0
- package/lib/tabs/index.js.map +1 -0
- package/lib/tabs/style.less +34 -0
- package/lib/tooltip/index.d.ts +7 -0
- package/lib/tooltip/index.d.ts.map +1 -0
- package/lib/tooltip/index.js +58 -0
- package/lib/tooltip/index.js.map +1 -0
- package/lib/tooltip/style.less +41 -0
- package/lib/utils/deprecated.d.ts +3 -0
- package/lib/utils/deprecated.d.ts.map +1 -0
- package/lib/utils/deprecated.js +18 -0
- package/lib/utils/deprecated.js.map +1 -0
- package/lib/utils/disposable.d.ts +37 -0
- package/lib/utils/disposable.d.ts.map +1 -0
- package/lib/utils/disposable.js +140 -0
- package/lib/utils/disposable.js.map +1 -0
- package/lib/utils/event.d.ts +189 -0
- package/lib/utils/event.d.ts.map +1 -0
- package/lib/utils/event.js +569 -0
- package/lib/utils/event.js.map +1 -0
- package/lib/utils/index.d.ts +10 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js +13 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/iterator.d.ts +14 -0
- package/lib/utils/iterator.d.ts.map +1 -0
- package/lib/utils/iterator.js +9 -0
- package/lib/utils/iterator.js.map +1 -0
- package/lib/utils/linkedList.d.ts +18 -0
- package/lib/utils/linkedList.d.ts.map +1 -0
- package/lib/utils/linkedList.js +139 -0
- package/lib/utils/linkedList.js.map +1 -0
- package/lib/utils/motion.d.ts +24 -0
- package/lib/utils/motion.d.ts.map +1 -0
- package/lib/utils/motion.js +17 -0
- package/lib/utils/motion.js.map +1 -0
- package/lib/utils/os.d.ts +4 -0
- package/lib/utils/os.d.ts.map +1 -0
- package/lib/utils/os.js +22 -0
- package/lib/utils/os.js.map +1 -0
- package/lib/utils/path.d.ts +92 -0
- package/lib/utils/path.d.ts.map +1 -0
- package/lib/utils/path.js +1712 -0
- package/lib/utils/path.js.map +1 -0
- package/lib/utils/process.d.ts +6 -0
- package/lib/utils/process.d.ts.map +1 -0
- package/lib/utils/process.js +17 -0
- package/lib/utils/process.js.map +1 -0
- package/lib/utils/raf.d.ts +10 -0
- package/lib/utils/raf.d.ts.map +1 -0
- package/lib/utils/raf.js +33 -0
- package/lib/utils/raf.js.map +1 -0
- package/lib/utils/type.d.ts +4 -0
- package/lib/utils/type.d.ts.map +1 -0
- package/lib/utils/type.js +9 -0
- package/lib/utils/type.js.map +1 -0
- package/lib/utils/warning.d.ts +8 -0
- package/lib/utils/warning.d.ts.map +1 -0
- package/lib/utils/warning.js +40 -0
- package/lib/utils/warning.js.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.move-motion(@className, @keyframeName) {
|
|
2
|
+
.make-motion(@className, @keyframeName);
|
|
3
|
+
.@{className}-enter,
|
|
4
|
+
.@{className}-appear {
|
|
5
|
+
opacity: 0;
|
|
6
|
+
animation-timing-function: @ease-out-circ;
|
|
7
|
+
}
|
|
8
|
+
.@{className}-leave {
|
|
9
|
+
animation-timing-function: @ease-in-circ;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.move-motion(move-up, antMoveUp);
|
|
14
|
+
.move-motion(move-down, antMoveDown);
|
|
15
|
+
.move-motion(move-left, antMoveLeft);
|
|
16
|
+
.move-motion(move-right, antMoveRight);
|
|
17
|
+
|
|
18
|
+
@keyframes antMoveDownIn {
|
|
19
|
+
0% {
|
|
20
|
+
transform: translateY(100%);
|
|
21
|
+
transform-origin: 0 0;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
100% {
|
|
25
|
+
transform: translateY(0%);
|
|
26
|
+
transform-origin: 0 0;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes antMoveDownOut {
|
|
32
|
+
0% {
|
|
33
|
+
transform: translateY(0%);
|
|
34
|
+
transform-origin: 0 0;
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
100% {
|
|
38
|
+
transform: translateY(100%);
|
|
39
|
+
transform-origin: 0 0;
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes antMoveLeftIn {
|
|
45
|
+
0% {
|
|
46
|
+
transform: translateX(-100%);
|
|
47
|
+
transform-origin: 0 0;
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
transform: translateX(0%);
|
|
52
|
+
transform-origin: 0 0;
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@keyframes antMoveLeftOut {
|
|
58
|
+
0% {
|
|
59
|
+
transform: translateX(0%);
|
|
60
|
+
transform-origin: 0 0;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
transform: translateX(-100%);
|
|
65
|
+
transform-origin: 0 0;
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes antMoveRightIn {
|
|
71
|
+
0% {
|
|
72
|
+
transform: translateX(100%);
|
|
73
|
+
transform-origin: 0 0;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
100% {
|
|
77
|
+
transform: translateX(0%);
|
|
78
|
+
transform-origin: 0 0;
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes antMoveRightOut {
|
|
84
|
+
0% {
|
|
85
|
+
transform: translateX(0%);
|
|
86
|
+
transform-origin: 0 0;
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
transform: translateX(100%);
|
|
91
|
+
transform-origin: 0 0;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@keyframes antMoveUpIn {
|
|
97
|
+
0% {
|
|
98
|
+
transform: translateY(-100%);
|
|
99
|
+
transform-origin: 0 0;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
100% {
|
|
103
|
+
transform: translateY(0%);
|
|
104
|
+
transform-origin: 0 0;
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@keyframes antMoveUpOut {
|
|
110
|
+
0% {
|
|
111
|
+
transform: translateY(0%);
|
|
112
|
+
transform-origin: 0 0;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
100% {
|
|
116
|
+
transform: translateY(-100%);
|
|
117
|
+
transform-origin: 0 0;
|
|
118
|
+
opacity: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@keyframes loadingCircle {
|
|
2
|
+
100% {
|
|
3
|
+
transform: rotate(360deg);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[ant-click-animating='true'],
|
|
8
|
+
[ant-click-animating-without-extra-node='true'] {
|
|
9
|
+
position: relative;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
html {
|
|
13
|
+
--antd-wave-shadow-color: @primary-color;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[ant-click-animating-without-extra-node='true']::after,
|
|
17
|
+
.ant-click-animating-node {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
display: block;
|
|
24
|
+
border-radius: inherit;
|
|
25
|
+
box-shadow: 0 0 0 0 @primary-color;
|
|
26
|
+
box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
|
27
|
+
opacity: 0.2;
|
|
28
|
+
animation: fadeEffect 2s @ease-out-circ, waveEffect 0.4s @ease-out-circ;
|
|
29
|
+
animation-fill-mode: forwards;
|
|
30
|
+
content: '';
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@keyframes waveEffect {
|
|
35
|
+
100% {
|
|
36
|
+
box-shadow: 0 0 0 @primary-color;
|
|
37
|
+
box-shadow: 0 0 0 @wave-animation-width var(--antd-wave-shadow-color);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@keyframes fadeEffect {
|
|
42
|
+
100% {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.slide-motion(@className, @keyframeName) {
|
|
2
|
+
.make-motion(@className, @keyframeName);
|
|
3
|
+
.@{className}-enter,
|
|
4
|
+
.@{className}-appear {
|
|
5
|
+
opacity: 0;
|
|
6
|
+
animation-timing-function: @ease-out-quint;
|
|
7
|
+
}
|
|
8
|
+
.@{className}-leave {
|
|
9
|
+
animation-timing-function: @ease-in-quint;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.slide-motion(slide-up, antSlideUp);
|
|
14
|
+
.slide-motion(slide-down, antSlideDown);
|
|
15
|
+
.slide-motion(slide-left, antSlideLeft);
|
|
16
|
+
.slide-motion(slide-right, antSlideRight);
|
|
17
|
+
|
|
18
|
+
@keyframes antSlideUpIn {
|
|
19
|
+
0% {
|
|
20
|
+
transform: scaleY(0.8);
|
|
21
|
+
transform-origin: 0% 0%;
|
|
22
|
+
opacity: 0;
|
|
23
|
+
}
|
|
24
|
+
100% {
|
|
25
|
+
transform: scaleY(1);
|
|
26
|
+
transform-origin: 0% 0%;
|
|
27
|
+
opacity: 1;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes antSlideUpOut {
|
|
32
|
+
0% {
|
|
33
|
+
transform: scaleY(1);
|
|
34
|
+
transform-origin: 0% 0%;
|
|
35
|
+
opacity: 1;
|
|
36
|
+
}
|
|
37
|
+
100% {
|
|
38
|
+
transform: scaleY(0.8);
|
|
39
|
+
transform-origin: 0% 0%;
|
|
40
|
+
opacity: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@keyframes antSlideDownIn {
|
|
45
|
+
0% {
|
|
46
|
+
transform: scaleY(0.8);
|
|
47
|
+
transform-origin: 100% 100%;
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
100% {
|
|
51
|
+
transform: scaleY(1);
|
|
52
|
+
transform-origin: 100% 100%;
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@keyframes antSlideDownOut {
|
|
58
|
+
0% {
|
|
59
|
+
transform: scaleY(1);
|
|
60
|
+
transform-origin: 100% 100%;
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
100% {
|
|
64
|
+
transform: scaleY(0.8);
|
|
65
|
+
transform-origin: 100% 100%;
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes antSlideLeftIn {
|
|
71
|
+
0% {
|
|
72
|
+
transform: scaleX(0.8);
|
|
73
|
+
transform-origin: 0% 0%;
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
100% {
|
|
77
|
+
transform: scaleX(1);
|
|
78
|
+
transform-origin: 0% 0%;
|
|
79
|
+
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@keyframes antSlideLeftOut {
|
|
84
|
+
0% {
|
|
85
|
+
transform: scaleX(1);
|
|
86
|
+
transform-origin: 0% 0%;
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
100% {
|
|
90
|
+
transform: scaleX(0.8);
|
|
91
|
+
transform-origin: 0% 0%;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@keyframes antSlideRightIn {
|
|
97
|
+
0% {
|
|
98
|
+
transform: scaleX(0.8);
|
|
99
|
+
transform-origin: 100% 0%;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
}
|
|
102
|
+
100% {
|
|
103
|
+
transform: scaleX(1);
|
|
104
|
+
transform-origin: 100% 0%;
|
|
105
|
+
opacity: 1;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@keyframes antSlideRightOut {
|
|
110
|
+
0% {
|
|
111
|
+
transform: scaleX(1);
|
|
112
|
+
transform-origin: 100% 0%;
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
100% {
|
|
116
|
+
transform: scaleX(0.8);
|
|
117
|
+
transform-origin: 100% 0%;
|
|
118
|
+
opacity: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.swing-motion(@className, @keyframeName) {
|
|
2
|
+
.@{className}-enter,
|
|
3
|
+
.@{className}-appear {
|
|
4
|
+
.motion-common();
|
|
5
|
+
|
|
6
|
+
animation-play-state: paused;
|
|
7
|
+
}
|
|
8
|
+
.@{className}-enter.@{className}-enter-active,
|
|
9
|
+
.@{className}-appear.@{className}-appear-active {
|
|
10
|
+
animation-name: ~'@{keyframeName}In';
|
|
11
|
+
animation-play-state: running;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.swing-motion(swing, antSwing);
|
|
16
|
+
|
|
17
|
+
@keyframes antSwingIn {
|
|
18
|
+
0%,
|
|
19
|
+
100% {
|
|
20
|
+
transform: translateX(0);
|
|
21
|
+
}
|
|
22
|
+
20% {
|
|
23
|
+
transform: translateX(-10px);
|
|
24
|
+
}
|
|
25
|
+
40% {
|
|
26
|
+
transform: translateX(10px);
|
|
27
|
+
}
|
|
28
|
+
60% {
|
|
29
|
+
transform: translateX(-5px);
|
|
30
|
+
}
|
|
31
|
+
80% {
|
|
32
|
+
transform: translateX(5px);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
.zoom-motion(@className, @keyframeName, @duration: @animation-duration-base) {
|
|
2
|
+
.make-motion(@className, @keyframeName, @duration);
|
|
3
|
+
.@{className}-enter,
|
|
4
|
+
.@{className}-appear {
|
|
5
|
+
transform: scale(0); // need this by yiminghe
|
|
6
|
+
opacity: 0;
|
|
7
|
+
animation-timing-function: @ease-out-circ;
|
|
8
|
+
}
|
|
9
|
+
.@{className}-leave {
|
|
10
|
+
animation-timing-function: @ease-in-out-circ;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// For Modal, Select choosen item
|
|
15
|
+
.zoom-motion(zoom, antZoom);
|
|
16
|
+
// For Popover, Popconfirm, Dropdown
|
|
17
|
+
.zoom-motion(zoom-big, antZoomBig);
|
|
18
|
+
// For Tooltip
|
|
19
|
+
.zoom-motion(zoom-big-fast, antZoomBig, @animation-duration-fast);
|
|
20
|
+
|
|
21
|
+
.zoom-motion(zoom-up, antZoomUp);
|
|
22
|
+
.zoom-motion(zoom-down, antZoomDown);
|
|
23
|
+
.zoom-motion(zoom-left, antZoomLeft);
|
|
24
|
+
.zoom-motion(zoom-right, antZoomRight);
|
|
25
|
+
|
|
26
|
+
@keyframes antZoomIn {
|
|
27
|
+
0% {
|
|
28
|
+
transform: scale(0.2);
|
|
29
|
+
opacity: 0;
|
|
30
|
+
}
|
|
31
|
+
100% {
|
|
32
|
+
transform: scale(1);
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@keyframes antZoomOut {
|
|
38
|
+
0% {
|
|
39
|
+
transform: scale(1);
|
|
40
|
+
}
|
|
41
|
+
100% {
|
|
42
|
+
transform: scale(0.2);
|
|
43
|
+
opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes antZoomBigIn {
|
|
48
|
+
0% {
|
|
49
|
+
transform: scale(0.8);
|
|
50
|
+
opacity: 0;
|
|
51
|
+
}
|
|
52
|
+
100% {
|
|
53
|
+
transform: scale(1);
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
@keyframes antZoomBigOut {
|
|
59
|
+
0% {
|
|
60
|
+
transform: scale(1);
|
|
61
|
+
}
|
|
62
|
+
100% {
|
|
63
|
+
transform: scale(0.8);
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@keyframes antZoomUpIn {
|
|
69
|
+
0% {
|
|
70
|
+
transform: scale(0.8);
|
|
71
|
+
transform-origin: 50% 0%;
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
100% {
|
|
75
|
+
transform: scale(1);
|
|
76
|
+
transform-origin: 50% 0%;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes antZoomUpOut {
|
|
81
|
+
0% {
|
|
82
|
+
transform: scale(1);
|
|
83
|
+
transform-origin: 50% 0%;
|
|
84
|
+
}
|
|
85
|
+
100% {
|
|
86
|
+
transform: scale(0.8);
|
|
87
|
+
transform-origin: 50% 0%;
|
|
88
|
+
opacity: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@keyframes antZoomLeftIn {
|
|
93
|
+
0% {
|
|
94
|
+
transform: scale(0.8);
|
|
95
|
+
transform-origin: 0% 50%;
|
|
96
|
+
opacity: 0;
|
|
97
|
+
}
|
|
98
|
+
100% {
|
|
99
|
+
transform: scale(1);
|
|
100
|
+
transform-origin: 0% 50%;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes antZoomLeftOut {
|
|
105
|
+
0% {
|
|
106
|
+
transform: scale(1);
|
|
107
|
+
transform-origin: 0% 50%;
|
|
108
|
+
}
|
|
109
|
+
100% {
|
|
110
|
+
transform: scale(0.8);
|
|
111
|
+
transform-origin: 0% 50%;
|
|
112
|
+
opacity: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@keyframes antZoomRightIn {
|
|
117
|
+
0% {
|
|
118
|
+
transform: scale(0.8);
|
|
119
|
+
transform-origin: 100% 50%;
|
|
120
|
+
opacity: 0;
|
|
121
|
+
}
|
|
122
|
+
100% {
|
|
123
|
+
transform: scale(1);
|
|
124
|
+
transform-origin: 100% 50%;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@keyframes antZoomRightOut {
|
|
129
|
+
0% {
|
|
130
|
+
transform: scale(1);
|
|
131
|
+
transform-origin: 100% 50%;
|
|
132
|
+
}
|
|
133
|
+
100% {
|
|
134
|
+
transform: scale(0.8);
|
|
135
|
+
transform-origin: 100% 50%;
|
|
136
|
+
opacity: 0;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@keyframes antZoomDownIn {
|
|
141
|
+
0% {
|
|
142
|
+
transform: scale(0.8);
|
|
143
|
+
transform-origin: 50% 100%;
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
100% {
|
|
147
|
+
transform: scale(1);
|
|
148
|
+
transform-origin: 50% 100%;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@keyframes antZoomDownOut {
|
|
153
|
+
0% {
|
|
154
|
+
transform: scale(1);
|
|
155
|
+
transform-origin: 50% 100%;
|
|
156
|
+
}
|
|
157
|
+
100% {
|
|
158
|
+
transform: scale(0.8);
|
|
159
|
+
transform-origin: 50% 100%;
|
|
160
|
+
opacity: 0;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
@kt-prefix: kt;
|
|
2
|
+
|
|
3
|
+
// An override for the html selector for theme prefixes
|
|
4
|
+
@html-selector: html;
|
|
5
|
+
|
|
6
|
+
// -------- Colors -----------
|
|
7
|
+
@primary-color: #1890ff;
|
|
8
|
+
@info-color: #1890ff;
|
|
9
|
+
@success-color: #52c41a;
|
|
10
|
+
@processing-color: #1890ff;
|
|
11
|
+
@error-color: #f5222d;
|
|
12
|
+
@highlight-color: #f5222d;
|
|
13
|
+
@warning-color: #faad14;
|
|
14
|
+
@normal-color: #d9d9d9;
|
|
15
|
+
@white: #fff;
|
|
16
|
+
@black: #000;
|
|
17
|
+
|
|
18
|
+
@primary-1 : #e6f7ff;
|
|
19
|
+
@yellow-1: #f6ffed;
|
|
20
|
+
|
|
21
|
+
@font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
|
|
22
|
+
'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji',
|
|
23
|
+
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
24
|
+
@code-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
25
|
+
@text-color-inverse: @white;
|
|
26
|
+
@text-selection-bg: @primary-color;
|
|
27
|
+
// Background color for `<body>`
|
|
28
|
+
@body-background: #fff;
|
|
29
|
+
// Base background color for most components
|
|
30
|
+
@component-background: #fff;
|
|
31
|
+
@text-color: fade(@black, 65%);
|
|
32
|
+
@text-color-secondary: fade(@black, 45%);
|
|
33
|
+
@font-size-base: 14px;
|
|
34
|
+
@font-size-lg: @font-size-base + 2px;
|
|
35
|
+
@font-variant-base: tabular-nums;
|
|
36
|
+
@line-height-base: 1.5;
|
|
37
|
+
@font-feature-settings-base: 'tnum';
|
|
38
|
+
@border-radius-base: 4px;
|
|
39
|
+
@icon-color-hover: fade(@black, 75%);
|
|
40
|
+
@heading-color: fade(#000, 85%);
|
|
41
|
+
@icon-color: inherit;
|
|
42
|
+
@font-size-sm: 12px;
|
|
43
|
+
@text-color-dark: fade(@white, 85%);
|
|
44
|
+
|
|
45
|
+
@background-color-light: hsv(0, 0, 98%); // background of header and selected item
|
|
46
|
+
@background-color-base: hsv(0, 0, 96%); // Default grey background color
|
|
47
|
+
|
|
48
|
+
// z-index list, order by `z-index`
|
|
49
|
+
@zindex-badge: 1;
|
|
50
|
+
@zindex-table-fixed: 1;
|
|
51
|
+
@zindex-affix: 10;
|
|
52
|
+
@zindex-back-top: 10;
|
|
53
|
+
@zindex-picker-panel: 10;
|
|
54
|
+
@zindex-popup-close: 10;
|
|
55
|
+
@zindex-modal: 1000;
|
|
56
|
+
@zindex-modal-mask: 1000;
|
|
57
|
+
@zindex-message: 1010;
|
|
58
|
+
@zindex-notification: 1010;
|
|
59
|
+
@zindex-popover: 1030;
|
|
60
|
+
@zindex-dropdown: 1050;
|
|
61
|
+
@zindex-picker: 1050;
|
|
62
|
+
@zindex-tooltip: 1060;
|
|
63
|
+
|
|
64
|
+
// Shadow
|
|
65
|
+
@shadow-color: rgba(0, 0, 0, 0.15);
|
|
66
|
+
@shadow-color-inverse: @component-background;
|
|
67
|
+
@box-shadow-base: @shadow-1-down;
|
|
68
|
+
@shadow-1-up: 0 -2px 8px @shadow-color;
|
|
69
|
+
@shadow-1-down: 0 2px 8px @shadow-color;
|
|
70
|
+
@shadow-1-left: -2px 0 8px @shadow-color;
|
|
71
|
+
@shadow-1-right: 2px 0 8px @shadow-color;
|
|
72
|
+
@shadow-2: 0 4px 12px @shadow-color;
|
|
73
|
+
|
|
74
|
+
// LINK
|
|
75
|
+
@link-color: @primary-color;
|
|
76
|
+
@link-hover-color: #40a9ff;
|
|
77
|
+
@link-active-color: #096dd9;
|
|
78
|
+
@link-decoration: none;
|
|
79
|
+
@link-hover-decoration: none;
|
|
80
|
+
|
|
81
|
+
// ICONFONT
|
|
82
|
+
@iconfont-css-prefix: anticon;
|
|
83
|
+
|
|
84
|
+
// Message
|
|
85
|
+
// ---
|
|
86
|
+
@message-notice-content-padding: 10px 16px;
|
|
87
|
+
|
|
88
|
+
// Animation
|
|
89
|
+
@ease-base-out: cubic-bezier(0.7, 0.3, 0.1, 1);
|
|
90
|
+
@ease-base-in: cubic-bezier(0.9, 0, 0.3, 0.7);
|
|
91
|
+
@ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
92
|
+
@ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
93
|
+
@ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
94
|
+
@ease-out-back: cubic-bezier(0.12, 0.4, 0.29, 1.46);
|
|
95
|
+
@ease-in-back: cubic-bezier(0.71, -0.46, 0.88, 0.6);
|
|
96
|
+
@ease-in-out-back: cubic-bezier(0.71, -0.46, 0.29, 1.46);
|
|
97
|
+
@ease-out-circ: cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
98
|
+
@ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.34);
|
|
99
|
+
@ease-in-out-circ: cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
|
100
|
+
@ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
|
|
101
|
+
@ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
102
|
+
@ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
|
|
103
|
+
|
|
104
|
+
//Dropdown
|
|
105
|
+
@dropdown-vertical-padding: 5px;
|
|
106
|
+
@dropdown-edge-child-vertical-padding: 4px;
|
|
107
|
+
@dropdown-font-size: @font-size-base;
|
|
108
|
+
@dropdown-line-height: 22px;
|
|
109
|
+
@dropdown-selected-color: @primary-color;
|
|
110
|
+
|
|
111
|
+
// vertical paddings
|
|
112
|
+
@padding-lg: 24px; // containers
|
|
113
|
+
@padding-md: 16px; // small containers and buttons
|
|
114
|
+
@padding-sm: 12px; // Form controls and items
|
|
115
|
+
@padding-xs: 8px; // small items
|
|
116
|
+
|
|
117
|
+
// vertical padding for all form controls
|
|
118
|
+
@control-padding-horizontal: @padding-sm;
|
|
119
|
+
@control-padding-horizontal-sm: @padding-xs;
|
|
120
|
+
|
|
121
|
+
// The background colors for active and hover states for things like
|
|
122
|
+
// list items or table cells.
|
|
123
|
+
@item-active-bg: @primary-1;
|
|
124
|
+
@item-hover-bg: @primary-1;
|
|
125
|
+
|
|
126
|
+
// Disabled states
|
|
127
|
+
@disabled-color: fade(#000, 25%);
|
|
128
|
+
@disabled-bg: @background-color-base;
|
|
129
|
+
@disabled-color-dark: fade(#fff, 35%);
|
|
130
|
+
|
|
131
|
+
// Border color
|
|
132
|
+
@border-color-base: hsv(0, 0, 85%); // base border outline a component
|
|
133
|
+
@border-color-split: hsv(0, 0, 91%); // split border inside a component
|
|
134
|
+
@border-color-inverse: @white;
|
|
135
|
+
@border-width-base: 1px; // width of the border for a component
|
|
136
|
+
@border-style-base: solid; // style of a components border
|
|
137
|
+
|
|
138
|
+
// Modal
|
|
139
|
+
// --
|
|
140
|
+
@modal-body-padding: 24px;
|
|
141
|
+
@modal-header-bg: @component-background;
|
|
142
|
+
@modal-heading-color: @heading-color;
|
|
143
|
+
@modal-footer-bg: transparent;
|
|
144
|
+
@modal-footer-border-color-split: @border-color-split;
|
|
145
|
+
@modal-mask-bg: fade(@black, 45%);
|
|
146
|
+
|
|
147
|
+
// Animation
|
|
148
|
+
@animation-duration-slow: 0.3s; // Modal
|
|
149
|
+
@animation-duration-base: 0.2s;
|
|
150
|
+
@animation-duration-fast: 0.1s; // Tooltip
|
|
151
|
+
|
|
152
|
+
// Media queries breakpoints
|
|
153
|
+
// Extra small screen / phone
|
|
154
|
+
@screen-xs: 480px;
|
|
155
|
+
@screen-xs-min: @screen-xs;
|
|
156
|
+
|
|
157
|
+
// Small screen / tablet
|
|
158
|
+
@screen-sm: 576px;
|
|
159
|
+
@screen-sm-min: @screen-sm;
|
|
160
|
+
|
|
161
|
+
// Medium screen / desktop
|
|
162
|
+
@screen-md: 768px;
|
|
163
|
+
@screen-md-min: @screen-md;
|
|
164
|
+
|
|
165
|
+
// Large screen / wide desktop
|
|
166
|
+
@screen-lg: 992px;
|
|
167
|
+
@screen-lg-min: @screen-lg;
|
|
168
|
+
|
|
169
|
+
// Extra large screen / full hd
|
|
170
|
+
@screen-xl: 1200px;
|
|
171
|
+
@screen-xl-min: @screen-xl;
|
|
172
|
+
|
|
173
|
+
// Extra extra large screen / large desktop
|
|
174
|
+
@screen-xxl: 1600px;
|
|
175
|
+
@screen-xxl-min: @screen-xxl;
|
|
176
|
+
// provide a maximum
|
|
177
|
+
@screen-xs-max: (@screen-sm-min - 1px);
|
|
178
|
+
@screen-sm-max: (@screen-md-min - 1px);
|
|
179
|
+
@screen-md-max: (@screen-lg-min - 1px);
|
|
180
|
+
@screen-lg-max: (@screen-xl-min - 1px);
|
|
181
|
+
@screen-xl-max: (@screen-xxl-min - 1px);
|
|
182
|
+
|
|
183
|
+
// Menu
|
|
184
|
+
// ---
|
|
185
|
+
@menu-inline-toplevel-item-height: 40px;
|
|
186
|
+
@menu-item-height: 40px;
|
|
187
|
+
@menu-collapsed-width: 80px;
|
|
188
|
+
@menu-bg: @component-background;
|
|
189
|
+
@menu-popup-bg: @component-background;
|
|
190
|
+
@menu-item-color: @text-color;
|
|
191
|
+
@menu-highlight-color: @primary-color;
|
|
192
|
+
@menu-item-active-bg: @item-active-bg;
|
|
193
|
+
@menu-item-active-border-width: 3px;
|
|
194
|
+
@menu-item-group-title-color: @text-color-secondary;
|
|
195
|
+
@menu-icon-size: @font-size-base;
|
|
196
|
+
@menu-icon-size-lg: @font-size-lg;
|
|
197
|
+
|
|
198
|
+
@menu-item-vertical-margin: 4px;
|
|
199
|
+
@menu-item-font-size: @font-size-base;
|
|
200
|
+
@menu-item-boundary-margin: 8px;
|
|
201
|
+
|
|
202
|
+
// Motion
|
|
203
|
+
// ---
|
|
204
|
+
@wave-animation-width: 6px;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.less';
|
|
3
|
+
export interface ITabsProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
tabs: (string | React.ReactNode)[];
|
|
6
|
+
value: number | string;
|
|
7
|
+
mini?: boolean;
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
onChange: (index: number) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const Tabs: (props: ITabsProps) => JSX.Element;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;IACnC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,IAAI,UAAW,UAAU,gBA+BrC,CAAC"}
|