@para-ui/core 2.0.23 → 2.1.1

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.
Files changed (137) hide show
  1. package/Accordion/index.js +1 -1
  2. package/AutoBox/index.js +16 -3
  3. package/AutoTips/index.d.ts +2 -2
  4. package/AutoTips/index.js +1 -1
  5. package/Breadcrumbs/index.js +16 -3
  6. package/Button/index.js +42 -3
  7. package/ButtonGroup/index.js +42 -3
  8. package/Cascader/index.js +29 -3
  9. package/Checkbox/index.js +1 -1
  10. package/CheckboxGroup/index.js +3 -3
  11. package/ColorPicker/index.js +1 -1
  12. package/ComboSelect/index.js +315 -3
  13. package/Container/index.js +1 -1
  14. package/DatePicker/index.js +107 -3
  15. package/Desktop/index.js +2 -2
  16. package/Drawer/index.js +2 -2
  17. package/Form/index.js +185 -3
  18. package/FormItem/index.js +185 -3
  19. package/FunctionModal/index.js +107 -3
  20. package/GlobalContext/index.js +1 -1
  21. package/Help/index.js +16 -3
  22. package/IconList/index.js +55 -3
  23. package/InputLang/index.js +81 -3
  24. package/InputNumber/index.js +94 -3
  25. package/Loading/index.js +15 -2
  26. package/Menu/index.js +42 -3
  27. package/Message/index.js +55 -3
  28. package/Modal/index.js +107 -3
  29. package/MultiBox/index.js +68 -3
  30. package/Notification/index.js +55 -3
  31. package/PageHeader/index.js +55 -3
  32. package/Pagination/index.js +146 -3
  33. package/ParauiProvider/index.js +1 -1
  34. package/PopConfirm/index.js +94 -3
  35. package/Popover/index.js +1 -1
  36. package/Popper/index.js +1 -1
  37. package/README.md +19 -0
  38. package/Radio/index.js +1 -1
  39. package/RadioGroup/index.js +1 -1
  40. package/Search/index.js +94 -3
  41. package/Select/index.js +68 -3
  42. package/SingleBox/index.js +68 -3
  43. package/Slider/index.js +1 -1
  44. package/Split/index.js +1 -1
  45. package/Stepper/index.js +133 -3
  46. package/Switch/index.js +16 -3
  47. package/Table/index.js +237 -3
  48. package/Tabs/index.js +16 -3
  49. package/Tag/index.js +29 -3
  50. package/TextField/index.js +42 -3
  51. package/TimePicker/index.js +107 -3
  52. package/Timeline/index.js +1 -1
  53. package/ToggleButton/index.js +42 -3
  54. package/Tooltip/index.js +1 -1
  55. package/Transfer/index.js +120 -3
  56. package/Tree/index.js +107 -3
  57. package/Upload/index.js +107 -3
  58. package/cdn/Accordion/index.js +2 -2
  59. package/cdn/AutoBox/index.js +16 -3
  60. package/cdn/AutoTips/index.js +3 -3
  61. package/cdn/Breadcrumbs/index.js +16 -3
  62. package/cdn/Button/index.js +42 -3
  63. package/cdn/ButtonGroup/index.js +43 -4
  64. package/cdn/Cascader/index.js +29 -3
  65. package/cdn/Checkbox/index.js +1 -1
  66. package/cdn/CheckboxGroup/index.js +1 -1
  67. package/cdn/ColorPicker/index.js +1 -1
  68. package/cdn/ComboSelect/index.js +319 -7
  69. package/cdn/Container/index.js +1 -1
  70. package/cdn/DatePicker/index.js +110 -6
  71. package/cdn/Desktop/index.js +3 -3
  72. package/cdn/Drawer/index.js +2 -2
  73. package/cdn/Form/index.js +186 -4
  74. package/cdn/FormItem/index.js +186 -4
  75. package/cdn/FunctionModal/index.js +107 -3
  76. package/cdn/GlobalContext/index.js +1 -1
  77. package/cdn/Help/index.js +16 -3
  78. package/cdn/IconList/index.js +55 -3
  79. package/cdn/InputLang/index.js +81 -3
  80. package/cdn/InputNumber/index.js +94 -3
  81. package/cdn/Loading/index.js +14 -1
  82. package/cdn/Menu/index.js +42 -3
  83. package/cdn/Message/index.js +53 -1
  84. package/cdn/Modal/index.js +107 -3
  85. package/cdn/MultiBox/index.js +68 -3
  86. package/cdn/Notification/index.js +55 -3
  87. package/cdn/PageHeader/index.js +56 -4
  88. package/cdn/Pagination/index.js +148 -5
  89. package/cdn/ParauiProvider/index.js +2 -2
  90. package/cdn/PopConfirm/index.js +94 -3
  91. package/cdn/Popover/index.js +3 -3
  92. package/cdn/Popper/index.js +2 -2
  93. package/cdn/Radio/index.js +1 -1
  94. package/cdn/RadioGroup/index.js +1 -1
  95. package/cdn/Search/index.js +95 -4
  96. package/cdn/Select/index.js +69 -4
  97. package/cdn/SingleBox/index.js +69 -4
  98. package/cdn/Slider/index.js +1 -1
  99. package/cdn/Split/index.js +1 -1
  100. package/cdn/Stepper/index.js +134 -4
  101. package/cdn/Switch/index.js +15 -2
  102. package/cdn/Table/index.js +238 -4
  103. package/cdn/Tabs/index.js +17 -4
  104. package/cdn/Tag/index.js +27 -1
  105. package/cdn/TextField/index.js +42 -3
  106. package/cdn/TimePicker/index.js +110 -6
  107. package/cdn/Timeline/index.js +1 -1
  108. package/cdn/ToggleButton/index.js +42 -3
  109. package/cdn/Tooltip/index.js +3 -3
  110. package/cdn/Transfer/index.js +121 -4
  111. package/cdn/Tree/index.js +109 -5
  112. package/cdn/Upload/index.js +108 -4
  113. package/index.d.ts +55 -0
  114. package/index.js +679 -3
  115. package/package.json +41 -34
  116. package/style.css +1 -1
  117. package/Styles/fonts/SourceHanSansCN-Light.css +0 -8
  118. package/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
  119. package/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
  120. package/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
  121. package/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
  122. package/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
  123. package/Styles/index.d.ts +0 -1
  124. package/Styles/index.scss +0 -63
  125. package/Styles/index.ts +0 -1
  126. package/Styles/normalize.scss +0 -348
  127. package/Styles/theme.scss +0 -57
  128. package/cdn/Styles/fonts/SourceHanSansCN-Light.css +0 -8
  129. package/cdn/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
  130. package/cdn/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
  131. package/cdn/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
  132. package/cdn/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
  133. package/cdn/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
  134. package/cdn/Styles/index.scss +0 -63
  135. package/cdn/Styles/index.ts +0 -1
  136. package/cdn/Styles/normalize.scss +0 -348
  137. package/cdn/Styles/theme.scss +0 -57
package/package.json CHANGED
@@ -1,33 +1,30 @@
1
1
  {
2
2
  "name": "@para-ui/core",
3
3
  "private": false,
4
- "version": "2.0.23",
4
+ "version": "2.1.1",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
7
7
  "description": "Powered by Para FED",
8
8
  "author": "HKLMTT",
9
9
  "license": "ParaView",
10
10
  "scripts": {
11
- "start": "cd .. && npm run dev",
12
- "dev": "rimraf ../para-ui-docs/src/@para-ui/core && webpack --watch --mode development",
13
- "watch": "concurrently \"rimraf ../para-ui-docs/src/@para-ui/core && webpack --watch --mode development --config=webpack.dev.config.js\" \"tsc -w\"",
14
- "build:js": "webpack --mode production --config=webpack.config.js && node ./scripts/extract-css.js",
15
- "build:docs": "webpack --mode production --config=webpack.config.js --output-path=../para-ui-docs/src/@para-ui/core",
11
+ "start": "node run dev && webpack serve --mode=development --config=webpack.config.js",
12
+ "build": "npm run build:css && npm run build:js && npm run build:cdn",
13
+ "build:docs": "node run && webpack --config=webpack.config.js",
14
+ "build:js": "webpack --mode=production --config=webpack.config.js && node ./scripts/extract-css.js",
15
+ "build:css": "webpack --config=webpack.extract.css.js",
16
16
  "build:cdn": "webpack --config=webpack.cdn.config.js",
17
- "test": "jest",
18
- "rename:css": "node ./scripts/rename-css.js",
19
- "build:css": "webpack --config=webpack.extract.css.js && npm run build:js",
20
- "build": "npm run build:css && npm run build:cdn"
17
+ "npm:publish": "npm run build && cd dist && npm publish --access public"
21
18
  },
22
19
  "dependencies": {
23
20
  "@material-ui/core": "4.11.4",
24
21
  "@material-ui/icons": "4.11.2",
25
22
  "@material-ui/lab": "4.0.0-alpha.58",
26
- "@para-ui/core": "^2.0.0",
27
- "@para-ui/icons": "^2.0.0",
23
+ "@para-ui/core": "^2.0.9",
24
+ "@para-ui/icons": "^2.0.1",
25
+ "@paraview/lib": "^2.0.3",
28
26
  "clsx": "1.1.1",
29
27
  "moment": "2.29.1",
30
- "para-lib": "^1.4.16",
31
28
  "rc-cascader": "2.1.2",
32
29
  "rc-cropping": "1.0.1",
33
30
  "rc-drawer": "^4.4.2",
@@ -41,46 +38,48 @@
41
38
  "rc-upload": "4.3.1",
42
39
  "react": "^17.0.2",
43
40
  "react-color": "2.19.3",
44
- "react-dom": "^17.0.2"
41
+ "react-dom": "^17.0.2",
42
+ "react-intl-hooks": "^1.0.11",
43
+ "react-router-dom": "^5.3.0"
45
44
  },
46
45
  "devDependencies": {
46
+ "@para-snack/core": "^2.1.0",
47
47
  "@babel/core": "^7.13.13",
48
48
  "@babel/preset-env": "^7.13.12",
49
49
  "@babel/preset-react": "^7.13.13",
50
50
  "@babel/preset-typescript": "^7.15.0",
51
- "@swc/core": "^1.2.85",
52
- "@types/enzyme": "^3.10.9",
53
- "@types/jest": "^27.0.1",
54
- "@types/react": "^17.0.0",
55
- "@types/react-color": "^3.0.5",
56
- "@types/react-dom": "^17.0.0",
57
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
51
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
52
+ "@swc/core": "^1.2.118",
53
+ "@types/react": "^17.0.2",
54
+ "@types/react-color": "^3.0.6",
55
+ "@types/react-copy-to-clipboard": "^5.0.2",
56
+ "@types/react-dom": "^17.0.2",
57
+ "@types/react-router-dom": "^5.1.7",
58
+ "@types/react-syntax-highlighter": "^13.5.2",
58
59
  "concurrently": "^6.2.1",
59
60
  "copy-webpack-plugin": "^9.0.1",
60
61
  "css-loader": "^3.4.2",
61
- "enzyme": "^3.11.0",
62
- "esbuild-loader": "^2.15.1",
63
62
  "file-loader": "^5.1.0",
64
63
  "fs-extra": "^8.1.0",
65
- "jest": "^27.1.0",
66
- "jest-enzyme": "^7.1.2",
64
+ "html-webpack-plugin": "^5.5.0",
67
65
  "mini-css-extract-plugin": "^2.4.5",
68
66
  "node-sass": "^4.13.1",
69
- "rimraf": "^3.0.2",
67
+ "react-copy-to-clipboard": "^5.0.3",
68
+ "react-refresh": "^0.11.0",
69
+ "react-syntax-highlighter": "^15.4.4",
70
70
  "sass-loader": "^8.0.2",
71
71
  "style-loader": "^1.1.3",
72
- "swc-loader": "^0.1.14",
72
+ "swc-loader": "^0.1.15",
73
73
  "ts-loader": "^9.2.3",
74
- "ts-node": "^10.2.1",
75
74
  "typescript": "^4.2.3",
76
- "url-loader": "^3.0.0",
77
- "webpack": "5.44.0",
78
- "webpack-bundle-analyzer": "^4.4.2",
79
- "webpack-cli": "4.7.2",
80
- "webpack-dev-server": "4.0.0-beta.3"
75
+ "url-loader": "^4.1.1",
76
+ "webpack": "5.65.0",
77
+ "webpack-cli": "4.9.1",
78
+ "webpack-dev-server": "4.6.0"
81
79
  },
82
80
  "peerDependencies": {
83
81
  "@types/react": "^16.8.6 || ^17.0.0",
82
+ "@types/react-dom": "^16.8.6 || ^17.0.0",
84
83
  "react": "^16.8.0 || ^17.0.0",
85
84
  "react-dom": "^16.8.0 || ^17.0.0"
86
85
  },
@@ -102,5 +101,13 @@
102
101
  "last 1 firefox version",
103
102
  "last 1 safari version"
104
103
  ]
104
+ },
105
+ "dev": {
106
+ "debug": [
107
+ "http://192.168.7.27",
108
+ "http://192.168.3.1:10000",
109
+ "http://192.168.2.83:10000",
110
+ "http://10.10.2.48:10000"
111
+ ]
105
112
  }
106
- }
113
+ }
package/style.css CHANGED
@@ -32,7 +32,7 @@
32
32
 
33
33
  .sector-container{position:relative;z-index:20}.sector-container .sector-item-container{position:absolute;left:0;top:50%;transform:translateY(-50%);padding:0}.sector-container .sector-item-container .sector-item{display:inline-flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:24px;height:24px;background-color:#fff;border-radius:50%;box-shadow:4px 4px 6px rgba(70,75,105,0.2),-4px -4px 6px rgba(0,0,0,0.06);cursor:pointer;opacity:0}.sector-container .sector-item-container .sector-item svg{font-size:14px;color:rgba(46,55,67,0.701961)}.sector-container .sector-item-container .sector-item:hover{color:#3666d6}.sector-container .sector-item-container .sector-item:hover svg{color:inherit}.sector-container .sector-item-container .sector-item--del:hover{color:#eb6054}.sector-container .sector-item-container .sector-item--del:hover svg{color:inherit}
34
34
 
35
- .paraui-tree-treenode-leaf-last .paraui-tree-switcher-leaf-line::before{top:auto !important;bottom:auto !important;height:14px !important}@keyframes paraCheckboxEffect{0%{transform:scale(1);opacity:0.5}100%{transform:scale(1.6);opacity:0}}.paraui-tree-rtl{direction:rtl}.paraui-tree-rtl .paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator::after{right:-6px;left:unset}.paraui-tree .paraui-tree-treenode-rtl{direction:rtl}.paraui-tree-rtl .paraui-tree-switcher_close .paraui-tree-switcher-icon svg{transform:rotate(90deg)}.paraui-tree-show-line .paraui-tree-indent-unit::before .paraui-tree-rtl.paraui-tree-show-line .paraui-tree-indent-unit::before{right:auto;left:-13px;border-right:none;border-left:1px solid #d9d9d9}.paraui-tree-checkbox .paraui-tree-rtl.paraui-tree-checkbox{margin:4px 0 0 8px}.paraui-tree-select-dropdown-rtl .paraui-select-tree-checkbox{margin:4px 0 0 8px}.paraui-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';position:relative;top:0.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox-inner,.paraui-tree-checkbox:hover .paraui-tree-checkbox-inner,.paraui-tree-checkbox-input:focus+.paraui-tree-checkbox-inner{border-color:#3666d6}.paraui-tree-checkbox-checked::after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #3666d6;border-radius:2px;visibility:hidden;-webkit-animation:paraCheckboxEffect 0.36s ease-in-out;animation:paraCheckboxEffect 0.36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:'';box-sizing:border-box}.paraui-tree-checkbox:hover::after,.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox::after{visibility:visible}.paraui-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all 0.3s}.paraui-tree-checkbox-inner::after{position:absolute;top:50%;left:21.5%;display:table;width:6px;height:9px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%, -50%);opacity:0;transition:all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;content:' ';box-sizing:border-box}.paraui-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner::after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%, -50%);opacity:1;transition:all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;content:' '}.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner{background-color:#3666d6;border-color:#3666d6}.paraui-tree-checkbox-disabled{cursor:not-allowed}.paraui-tree-checkbox-disabled.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner::after{border-color:rgba(0,0,0,0.25);-webkit-animation-name:none;animation-name:none}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-input{cursor:not-allowed}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9 !important}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner::after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.paraui-tree-checkbox-disabled+span{color:rgba(0,0,0,0.25);cursor:not-allowed}.paraui-tree-checkbox-disabled:hover::after,.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox-disabled::after{visibility:hidden}.paraui-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.paraui-tree-checkbox-wrapper.paraui-tree-checkbox-wrapper-disabled{cursor:not-allowed}.paraui-tree-checkbox-wrapper+.paraui-tree-checkbox-wrapper{margin-left:8px}.paraui-tree-checkbox+span{padding-right:8px;padding-left:8px}.paraui-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';display:inline-block}.paraui-tree-checkbox-group-item{margin-right:8px}.paraui-tree-checkbox-group-item:last-child{margin-right:0}.paraui-tree-checkbox-group-item+.paraui-tree-checkbox-group-item{margin-left:0}.paraui-tree-checkbox-indeterminate .paraui-tree-checkbox-inner{background-color:#3666d6;border-color:#3666d6}.paraui-tree-checkbox-indeterminate .paraui-tree-checkbox-inner::after{top:50%;left:50%;width:8px;height:2px;background-color:#fff;border:0;transform:translate(-50%, -50%) scale(1);opacity:1;content:' '}.paraui-tree-checkbox-indeterminate.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner::after{background-color:rgba(0,0,0,0.25);border-color:rgba(0,0,0,0.25)}.paraui-tree{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';background:#fff;border-radius:2px;transition:background-color 0.3s}.paraui-tree-focused:not(:hover):not(.paraui-tree-active-focused){background:#e6f7ff}.paraui-tree-list-holder-inner{align-items:flex-start}.paraui-tree.paraui-tree-block-node .paraui-tree-list-holder-inner{align-items:stretch}.paraui-tree.paraui-tree-block-node .paraui-tree-list-holder-inner .paraui-tree-node-content-wrapper{flex:auto}.paraui-tree .paraui-tree-treenode{display:flex;align-items:flex-start;outline:none}.paraui-tree .paraui-tree-treenode-disabled .paraui-tree-node-content-wrapper{color:rgba(0,0,0,0.25);cursor:not-allowed}.paraui-tree .paraui-tree-treenode-disabled .paraui-tree-node-content-wrapper:hover{background:transparent}.paraui-tree .paraui-tree-treenode-active .paraui-tree-node-content-wrapper{background:#f5f5f5}.paraui-tree .paraui-tree-treenode.filter-node .paraui-tree-title{color:inherit;font-weight:500}.paraui-tree-indent{align-self:stretch;white-space:nowrap;user-select:none}.paraui-tree-indent-unit{display:inline-block;width:24px}.paraui-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.paraui-tree-switcher .paraui-tree-switcher-icon,.paraui-tree-switcher .paraui-select-tree-switcher-icon{display:inline-block;font-size:14px;vertical-align:middle;transition:transform 0.3s;color:inherit}.paraui-tree-switcher .paraui-tree-switcher-icon svg,.paraui-tree-switcher .paraui-select-tree-switcher-icon svg{font-size:inherit;color:inherit;transition:transform 0.3s}.paraui-tree-switcher-noop{cursor:default}.paraui-tree-switcher_close .paraui-tree-switcher-icon{transform:rotate(-90deg)}.paraui-tree-switcher_close .paraui-tree-switcher-icon svg{color:currentColor;transform:rotate(-90deg)}.paraui-tree-switcher-loading-icon{color:#3666d6;will-change:transform;transition:transform .3s ease-in-out;animation:loadingCircle 1s infinite linear;vertical-align:middle;font-size:14px !important}@keyframes loadingCircle{100%{transform:rotate(360deg)}}.paraui-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.paraui-tree-switcher-leaf-line::before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:' '}.paraui-tree-switcher-leaf-line::after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:' '}.paraui-tree-checkbox{top:initial;margin:6px 6px 0 0}.paraui-tree .paraui-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:2px 0 0 0;padding:0 6px;color:inherit;line-height:24px;background:transparent;border-radius:2px;cursor:pointer;transition:all 0.3s, border 0s, line-height 0s, box-shadow 0s}.paraui-tree .paraui-tree-node-content-wrapper:hover{background-color:rgba(171,176,185,0.121569);border-radius:8px}.paraui-tree .paraui-tree-node-content-wrapper.paraui-tree-node-selected{background-color:transparent;color:#3666d6}.paraui-tree .paraui-tree-node-content-wrapper .paraui-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.paraui-tree .paraui-tree-node-content-wrapper .paraui-tree-iconEle:empty{display:none}.paraui-tree-unselectable .paraui-tree-node-content-wrapper:hover{background-color:transparent}.paraui-tree-node-content-wrapper[draggable='true']{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#3666d6;border-radius:1px;pointer-events:none}.paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator::after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #3666d6;border-radius:50%;content:''}.paraui-tree .paraui-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #3666d6}.paraui-tree-show-line .paraui-tree-indent-unit{position:relative;height:100%}.paraui-tree-show-line .paraui-tree-indent-unit::before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:''}.paraui-tree-show-line .paraui-tree-indent-unit-end::before{display:none}.paraui-tree-show-line .paraui-tree-switcher{background:#fff}.paraui-tree-show-line .paraui-tree-switcher_close svg{transform:rotate(-90deg);color:inherit;font-size:14px;transition:transform 0.3s}.paraui-tree-show-line .paraui-tree-switcher_open svg{color:inherit;font-size:14px;transition:transform 0.3s}.paraui-tree-show-line .paraui-tree-switcher-line-icon{vertical-align:-0.225em;color:inherit;font-size:14px}.paraui-tree-node-content-wrapper:hover{background-color:transparent}.paraui-tree-node-content-wrapper .paraui-tree-treenode-more-wrapper{color:#3666d6}.paraui-tree .paraui-tree-node-content-wrapper--active{background-color:rgba(171,176,185,0.121569) !important;border-radius:8px !important}.paraui-tree .paraui-tree-node-content-wrapper--active .sector-anchor{opacity:1}.paraui-tree-title-wrapper{display:inline-flex;align-items:center;margin:0 -6px;padding:0 6px}.paraui-tree-title-wrapper .sector-anchor{position:relative;width:14px;height:14px;margin:1px 0 0 18px;line-height:14px;opacity:0;transition:opacity .3s}.paraui-tree-title-wrapper .sector-anchor:before{content:' ';position:absolute;left:-9px;top:0;width:1px;height:14px;background-color:rgba(171,176,185,0.2);pointer-events:none}.paraui-tree-title-wrapper .sector-anchor svg{font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-tree-title-wrapper .sector-anchor--active.sector-anchor svg{color:#3666d6}.paraui-tree-title-wrapper--active .sector-anchor{opacity:1}.paraui-tree-radioable .paraui-tree-iconEle{position:absolute;left:-25px;top:-1px}.paraui-tree-radioable .paraui-tree-checkbox{display:none !important}.paraui-tree-radioable .paraui-tree-checkbox-checked+.paraui-tree-node-content-wrapper{color:#3666d6}.paraui-tree-radioable .paraui-tree-node-radio{width:16px;height:16px;margin-top:4px}.paraui-tree-radioable-showradio .paraui-tree-node-content-wrapper{margin-left:22px}.paraui-motion-collapse{overflow:hidden;transition:height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important}
35
+ .paraui-tree-treenode-leaf-last .paraui-tree-switcher-leaf-line::before{top:auto !important;bottom:auto !important;height:14px !important}@keyframes paraCheckboxEffect{0%{transform:scale(1);opacity:0.5}100%{transform:scale(1.6);opacity:0}}.paraui-tree-rtl{direction:rtl}.paraui-tree-rtl .paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator::after{right:-6px;left:unset}.paraui-tree .paraui-tree-treenode-rtl{direction:rtl}.paraui-tree-rtl .paraui-tree-switcher_close .paraui-tree-switcher-icon svg{transform:rotate(90deg)}.paraui-tree-show-line .paraui-tree-indent-unit::before .paraui-tree-rtl.paraui-tree-show-line .paraui-tree-indent-unit::before{right:auto;left:-13px;border-right:none;border-left:1px solid #d9d9d9}.paraui-tree-checkbox .paraui-tree-rtl.paraui-tree-checkbox{margin:4px 0 0 8px}.paraui-tree-select-dropdown-rtl .paraui-select-tree-checkbox{margin:4px 0 0 8px}.paraui-tree-checkbox{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';position:relative;top:0.2em;line-height:1;white-space:nowrap;outline:none;cursor:pointer}.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox-inner,.paraui-tree-checkbox:hover .paraui-tree-checkbox-inner,.paraui-tree-checkbox-input:focus+.paraui-tree-checkbox-inner{border-color:#3666d6}.paraui-tree-checkbox-checked::after{position:absolute;top:0;left:0;width:100%;height:100%;border:1px solid #3666d6;border-radius:2px;visibility:hidden;-webkit-animation:paraCheckboxEffect 0.36s ease-in-out;animation:paraCheckboxEffect 0.36s ease-in-out;-webkit-animation-fill-mode:backwards;animation-fill-mode:backwards;content:'';box-sizing:border-box}.paraui-tree-checkbox:hover::after,.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox::after{visibility:visible}.paraui-tree-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;direction:ltr;background-color:#fff;border:1px solid #d9d9d9;border-radius:2px;border-collapse:separate;transition:all 0.3s}.paraui-tree-checkbox-inner::after{position:absolute;top:50%;left:21.5%;display:table;width:6px;height:9px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%, -50%);opacity:0;transition:all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;content:' ';box-sizing:border-box}.paraui-tree-checkbox-input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0}.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner::after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%, -50%);opacity:1;transition:all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;content:' '}.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner{background-color:#3666d6;border-color:#3666d6}.paraui-tree-checkbox-disabled{cursor:not-allowed}.paraui-tree-checkbox-disabled.paraui-tree-checkbox-checked .paraui-tree-checkbox-inner::after{border-color:rgba(0,0,0,0.25);-webkit-animation-name:none;animation-name:none}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-input{cursor:not-allowed}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner{background-color:#f5f5f5;border-color:#d9d9d9 !important}.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner::after{border-color:#f5f5f5;border-collapse:separate;-webkit-animation-name:none;animation-name:none}.paraui-tree-checkbox-disabled+span{color:rgba(0,0,0,0.25);cursor:not-allowed}.paraui-tree-checkbox-disabled:hover::after,.paraui-tree-checkbox-wrapper:hover .paraui-tree-checkbox-disabled::after{visibility:hidden}.paraui-tree-checkbox-wrapper{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';display:inline-flex;align-items:baseline;line-height:unset;cursor:pointer}.paraui-tree-checkbox-wrapper.paraui-tree-checkbox-wrapper-disabled{cursor:not-allowed}.paraui-tree-checkbox-wrapper+.paraui-tree-checkbox-wrapper{margin-left:8px}.paraui-tree-checkbox+span{padding-right:8px;padding-left:8px}.paraui-tree-checkbox-group{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';display:inline-block}.paraui-tree-checkbox-group-item{margin-right:8px}.paraui-tree-checkbox-group-item:last-child{margin-right:0}.paraui-tree-checkbox-group-item+.paraui-tree-checkbox-group-item{margin-left:0}.paraui-tree-checkbox-indeterminate .paraui-tree-checkbox-inner{background-color:#3666d6;border-color:#3666d6}.paraui-tree-checkbox-indeterminate .paraui-tree-checkbox-inner::after{top:50%;left:50%;width:8px;height:2px;background-color:#fff;border:0;transform:translate(-50%, -50%) scale(1);opacity:1;content:' '}.paraui-tree-checkbox-indeterminate.paraui-tree-checkbox-disabled .paraui-tree-checkbox-inner::after{background-color:rgba(0,0,0,0.25);border-color:rgba(0,0,0,0.25)}.paraui-tree{box-sizing:border-box;margin:0;padding:0;color:#2e3743;font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';background:#fff;border-radius:2px;transition:background-color 0.3s}.paraui-tree-focused:not(:hover):not(.paraui-tree-active-focused){background:#e6f7ff}.paraui-tree-list-holder-inner{align-items:flex-start}.paraui-tree.paraui-tree-block-node .paraui-tree-list-holder-inner{align-items:stretch}.paraui-tree.paraui-tree-block-node .paraui-tree-list-holder-inner .paraui-tree-node-content-wrapper{flex:auto}.paraui-tree .paraui-tree-treenode{display:flex;align-items:flex-start;outline:none}.paraui-tree .paraui-tree-treenode-disabled .paraui-tree-node-content-wrapper{color:rgba(0,0,0,0.25);cursor:not-allowed}.paraui-tree .paraui-tree-treenode-disabled .paraui-tree-node-content-wrapper:hover{background:transparent}.paraui-tree .paraui-tree-treenode-active .paraui-tree-node-content-wrapper{background:#f5f5f5}.paraui-tree .paraui-tree-treenode.filter-node .paraui-tree-title{color:inherit;font-weight:500}.paraui-tree-indent{align-self:stretch;white-space:nowrap;user-select:none}.paraui-tree-indent-unit{display:inline-block;width:24px}.paraui-tree-switcher{position:relative;flex:none;align-self:stretch;width:24px;margin:0;line-height:24px;text-align:center;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.paraui-tree-switcher .paraui-tree-switcher-icon,.paraui-tree-switcher .paraui-select-tree-switcher-icon{display:inline-block;font-size:14px;vertical-align:middle;transition:transform 0.3s;color:inherit}.paraui-tree-switcher .paraui-tree-switcher-icon svg,.paraui-tree-switcher .paraui-select-tree-switcher-icon svg{font-size:inherit;color:inherit;transition:transform 0.3s}.paraui-tree-switcher-noop{cursor:default}.paraui-tree-switcher_close .paraui-tree-switcher-icon{transform:rotate(-90deg)}.paraui-tree-switcher_close .paraui-tree-switcher-icon svg{color:currentColor;transform:rotate(-90deg)}.paraui-tree-switcher-loading-icon{color:#3666d6;will-change:transform;transition:transform .3s ease-in-out;animation:loadingCircle 1s infinite linear;vertical-align:middle;font-size:14px !important}@keyframes loadingCircle{100%{transform:rotate(360deg)}}.paraui-tree-switcher-leaf-line{position:relative;z-index:1;display:inline-block;width:100%;height:100%}.paraui-tree-switcher-leaf-line::before{position:absolute;top:0;bottom:-4px;margin-left:-1px;border-left:1px solid #d9d9d9;content:' '}.paraui-tree-switcher-leaf-line::after{position:absolute;width:10px;height:14px;margin-left:-1px;border-bottom:1px solid #d9d9d9;content:' '}.paraui-tree-checkbox{top:initial;margin:6px 6px 0 0}.paraui-tree .paraui-tree-node-content-wrapper{position:relative;z-index:auto;min-height:24px;margin:2px 0 0 0;padding:0 6px;color:inherit;line-height:24px;background:transparent;border-radius:2px;cursor:pointer;transition:all 0.3s, border 0s, line-height 0s, box-shadow 0s}.paraui-tree .paraui-tree-node-content-wrapper:hover{background-color:rgba(171,176,185,0.121569);border-radius:8px}.paraui-tree .paraui-tree-node-content-wrapper.paraui-tree-node-selected{background-color:transparent;color:#3666d6}.paraui-tree .paraui-tree-node-content-wrapper .paraui-tree-iconEle{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:top}.paraui-tree .paraui-tree-node-content-wrapper .paraui-tree-iconEle:empty{display:none}.paraui-tree-unselectable .paraui-tree-node-content-wrapper:hover{background-color:transparent}.paraui-tree-node-content-wrapper[draggable='true']{line-height:24px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator{position:absolute;z-index:1;height:2px;background-color:#3666d6;border-radius:1px;pointer-events:none}.paraui-tree-node-content-wrapper[draggable='true'] .paraui-tree-drop-indicator::after{position:absolute;top:-3px;left:-6px;width:8px;height:8px;background-color:transparent;border:2px solid #3666d6;border-radius:50%;content:''}.paraui-tree .paraui-tree-treenode.drop-container>[draggable]{box-shadow:0 0 0 2px #3666d6}.paraui-tree-show-line .paraui-tree-indent-unit{position:relative;height:100%}.paraui-tree-show-line .paraui-tree-indent-unit::before{position:absolute;top:0;right:12px;bottom:-4px;border-right:1px solid #d9d9d9;content:''}.paraui-tree-show-line .paraui-tree-indent-unit-end::before{display:none}.paraui-tree-show-line .paraui-tree-switcher{background:#fff}.paraui-tree-show-line .paraui-tree-switcher_close svg{transform:rotate(-90deg);color:inherit;font-size:14px;transition:transform 0.3s}.paraui-tree-show-line .paraui-tree-switcher_open svg{color:inherit;font-size:14px;transition:transform 0.3s}.paraui-tree-show-line .paraui-tree-switcher-line-icon{vertical-align:-0.225em;color:inherit;font-size:14px}.paraui-tree-node-content-wrapper:hover{background-color:transparent}.paraui-tree-node-content-wrapper .paraui-tree-treenode-more-wrapper{color:#3666d6}.paraui-tree .paraui-tree-node-content-wrapper--active{background-color:rgba(171,176,185,0.121569) !important;border-radius:8px !important}.paraui-tree .paraui-tree-node-content-wrapper--active .sector-anchor{opacity:1}.paraui-tree-node-content-wrapper .paraui-tree-iconEle-icon{display:inline-block;margin-right:5px;line-height:0;vertical-align:-3px}.paraui-tree-title-wrapper{display:inline-flex;align-items:center;margin:0 -6px;padding:0 6px}.paraui-tree-title-wrapper .sector-anchor{position:relative;width:14px;height:14px;margin:1px 0 0 18px;line-height:14px;opacity:0;transition:opacity .3s}.paraui-tree-title-wrapper .sector-anchor:before{content:' ';position:absolute;left:-9px;top:0;width:1px;height:14px;background-color:rgba(171,176,185,0.2);pointer-events:none}.paraui-tree-title-wrapper .sector-anchor svg{font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-tree-title-wrapper .sector-anchor--active.sector-anchor svg{color:#3666d6}.paraui-tree-title-wrapper--active .sector-anchor{opacity:1}.paraui-tree-radioable .paraui-tree-iconEle{position:absolute;left:-25px;top:-1px}.paraui-tree-radioable .paraui-tree-checkbox{display:none !important}.paraui-tree-radioable .paraui-tree-checkbox-checked+.paraui-tree-node-content-wrapper{color:#3666d6}.paraui-tree-radioable .paraui-tree-node-radio{width:16px;height:16px;margin-top:4px}.paraui-tree-radioable-showradio .paraui-tree-node-content-wrapper{margin-left:22px}.paraui-motion-collapse{overflow:hidden;transition:height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important}
36
36
 
37
37
  .paraui-tabs-horizontal{height:40px;min-height:auto;border-bottom:1px solid rgba(171,176,185,0.2)}.paraui-tabs-horizontal .paraui-tabs-tab-editable{position:relative}.paraui-tabs-horizontal .paraui-tabs-tab-editable-icon{position:absolute;right:-18px;top:4px;line-height:0;cursor:pointer}.paraui-tabs-horizontal .paraui-tabs-tab-editable-icon--interactive{visibility:hidden;transition:.3s;opacity:0}.paraui-tabs-horizontal .paraui-tabs-tab-editable-icon svg{color:inherit;font-size:12px}.paraui-tabs-tab{height:40px;min-width:auto;min-height:auto;padding:0 20px;margin:0;line-height:normal;text-transform:none;color:rgba(46,55,67,0.701961);background-color:#fff;overflow:visible;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;font-size:14px;font-weight:400;transition:.3s}.paraui-tabs-tab:hover{color:rgba(54,102,214,0.8)}.paraui-tabs-tab:hover .paraui-tabs-tab-editable-icon--interactive{visibility:visible;opacity:1}.paraui-tabs-tab:hover .paraui-tabs-tab-editable-icon--interactive svg{color:#eb6054}.paraui-tabs-tab--selected.paraui-tabs-tab{color:#3666d6;font-weight:700}.paraui-tabs-tab[disabled]{pointer-events:auto;cursor:not-allowed;color:rgba(46,55,67,0.4);opacity:0.6}.paraui-tabs-tab[disabled]:hover{color:rgba(46,55,67,0.4)}.paraui-tabs-indicator{height:1px;background-color:transparent}.paraui-tabs-indicator>span{position:absolute;height:1px;width:calc(100% - 40px);left:50%;top:0;transform:translateX(-50%);background-color:#3666d6}.paraui-tabs-scrollbtn>svg{color:rgba(46,55,67,0.701961)}.paraui-tabs-vertical{display:inline-flex;height:100%;min-width:100px;border-right:1px solid rgba(171,176,185,0.2)}.paraui-tabs-vertical .paraui-tabs-tab{margin:0;padding:0 12px 0 0}.paraui-tabs-vertical .paraui-tabs-tab:hover .paraui-tabs-tab-content--interactive{width:calc(100% - 18px)}.paraui-tabs-vertical .paraui-tabs-tab:hover .paraui-tabs-tab-editable-icon--interactive{width:auto;height:auto}.paraui-tabs-vertical .paraui-tabs-tab-content{display:inline-block;width:100%;text-align:right}.paraui-tabs-vertical .paraui-tabs-tab-editable{width:100%;display:inline-flex;align-items:center}.paraui-tabs-vertical .paraui-tabs-tab-editable-icon{margin-left:6px;line-height:0}.paraui-tabs-vertical .paraui-tabs-tab-editable-icon--interactive{width:0;height:0;visibility:hidden;transition:opacity .3s;opacity:0}.paraui-tabs-vertical .paraui-tabs-tab-editable-icon svg{color:inherit;font-size:12px}.paraui-tabs-vertical:not(.paraui-tabs-card) .paraui-tabs-tab--selected{background-color:rgba(54,102,214,0.0509804)}.paraui-tabs-vertical .paraui-tabs-indicator{width:1px;background-color:#3666d6}.paraui-tabs-card{border-bottom:none}.paraui-tabs-card .paraui-tabs-tab{border:1px solid rgba(171,176,185,0.4);margin:0;padding:0 20px}.paraui-tabs-card .paraui-tabs-tab:not(:last-child){border-right:none}.paraui-tabs-card .paraui-tabs-tab--selected{border-bottom-color:transparent}.paraui-tabs-card .paraui-tabs-indicator{display:none}.paraui-tabs-card--editable .paraui-tabs-tab-editable{display:inline-flex;align-items:center}.paraui-tabs-card--editable .paraui-tabs-tab-editable-icon{position:static;margin-left:6px}.paraui-tabs-card--editable .paraui-tabs-tab-editable-icon svg{color:inherit;font-size:12px}.paraui-tabs-card.paraui-tabs-vertical{border-right:none}.paraui-tabs-card.paraui-tabs-vertical .paraui-tabs-tab{border-right:1px solid rgba(171,176,185,0.4)}.paraui-tabs-card.paraui-tabs-vertical .paraui-tabs-tab:not(:last-child){border-bottom:none}.paraui-tabs-card.paraui-tabs-vertical .paraui-tabs-tab--selected{border-right-color:transparent;border-bottom-color:rgba(171,176,185,0.4)}.paraui-tabs-card.paraui-tabs-vertical .paraui-tabs-tab-content{display:inline-block;width:100%;text-align:center}
38
38
 
@@ -1,8 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @font-face {
4
- font-family: "SourceHanSansCN-Light";
5
- src: url("SourceHanSansCN-Light.otf") format("truetype");
6
- font-weight: normal;
7
- font-style: normal;
8
- }
@@ -1,8 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @font-face {
4
- font-family: "SourceHanSansCN-Medium";
5
- src: url("SourceHanSansCN-Medium.otf") format("truetype");
6
- font-weight: normal;
7
- font-style: normal;
8
- }
@@ -1,8 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- @font-face {
4
- font-family: "SourceHanSansCN-Regular";
5
- src: url("SourceHanSansCN-Regular.otf") format("truetype");
6
- font-weight: normal;
7
- font-style: normal;
8
- }
package/Styles/index.d.ts DELETED
@@ -1 +0,0 @@
1
- import './index.scss';
package/Styles/index.scss DELETED
@@ -1,63 +0,0 @@
1
- @import "normalize";
2
- @import "theme";
3
-
4
- * {
5
- font-family: $font-family;
6
- margin: 0;
7
- padding: 0;
8
- box-sizing: border-box;
9
- }
10
-
11
- html, body {
12
- width: 100%;
13
- height: 100%;
14
- overflow: hidden;
15
- }
16
-
17
- ol, ul {
18
- list-style: none;
19
- }
20
-
21
- a,
22
- h1,
23
- h2,
24
- h3,
25
- h4,
26
- h5,
27
- h6,
28
- input,
29
- select,
30
- button,
31
- textarea {
32
- outline: none;
33
- }
34
-
35
- // 滚动条整体宽度
36
- ::-webkit-scrollbar {
37
- width: 6px;
38
- height: 6px;
39
- }
40
-
41
- // 滚动条滑槽样式
42
- ::-webkit-scrollbar-track {
43
- border-radius: 8px;
44
- }
45
-
46
- // 滚动条样式
47
- ::-webkit-scrollbar-thumb {
48
- border-radius: 8px;
49
- background: #C6C6C6;
50
- }
51
-
52
- ::-webkit-scrollbar-thumb:hover {
53
- background: #cdcccc;
54
- }
55
-
56
- ::-webkit-scrollbar-thumb:active {
57
- background: #bababa;
58
- }
59
-
60
- // 浏览器失焦的样式
61
- ::-webkit-scrollbar-thumb:window-inactive {
62
- background-color: #C6C6C6;
63
- }
package/Styles/index.ts DELETED
@@ -1 +0,0 @@
1
- import './index.scss';
@@ -1,348 +0,0 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
-
3
- /* Document
4
- ========================================================================== */
5
-
6
- /**
7
- * 1. Correct the line height in all browsers.
8
- * 2. Prevent adjustments of font size after orientation changes in iOS.
9
- */
10
-
11
- html {
12
- -webkit-text-size-adjust: 100%; /* 2 */
13
- }
14
-
15
- /* Sections
16
- ========================================================================== */
17
-
18
- /**
19
- * Remove the margin in all browsers.
20
- */
21
-
22
- body {
23
- margin: 0;
24
- }
25
-
26
- /**
27
- * Render the `main` element consistently in IE.
28
- */
29
-
30
- main {
31
- display: block;
32
- }
33
-
34
- /**
35
- * Correct the font size and margin on `h1` elements within `section` and
36
- * `article` contexts in Chrome, Firefox, and Safari.
37
- */
38
-
39
- h1 {
40
- font-size: 2em;
41
- margin: 0.67em 0;
42
- }
43
-
44
- /* Grouping content
45
- ========================================================================== */
46
-
47
- /**
48
- * 1. Add the correct box sizing in Firefox.
49
- * 2. Show the overflow in Edge and IE.
50
- */
51
-
52
- hr {
53
- box-sizing: content-box; /* 1 */
54
- height: 0; /* 1 */
55
- overflow: visible; /* 2 */
56
- }
57
-
58
- /**
59
- * 1. Correct the inheritance and scaling of font size in all browsers.
60
- * 2. Correct the odd `em` font sizing in all browsers.
61
- */
62
-
63
- pre {
64
- font-family: monospace, monospace; /* 1 */
65
- font-size: 1em; /* 2 */
66
- }
67
-
68
- /* Text-level semantics
69
- ========================================================================== */
70
-
71
- /**
72
- * Remove the gray background on active links in IE 10.
73
- */
74
-
75
- a {
76
- background-color: transparent;
77
- }
78
-
79
- /**
80
- * 1. Remove the bottom border in Chrome 57-
81
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
82
- */
83
-
84
- abbr[title] {
85
- border-bottom: none; /* 1 */
86
- text-decoration: underline; /* 2 */
87
- text-decoration: underline dotted; /* 2 */
88
- }
89
-
90
- /**
91
- * Add the correct font weight in Chrome, Edge, and Safari.
92
- */
93
-
94
- b,
95
- strong {
96
- font-weight: bolder;
97
- }
98
-
99
- /**
100
- * 1. Correct the inheritance and scaling of font size in all browsers.
101
- * 2. Correct the odd `em` font sizing in all browsers.
102
- */
103
-
104
- code,
105
- kbd,
106
- samp {
107
- font-family: monospace, monospace; /* 1 */
108
- font-size: 1em; /* 2 */
109
- }
110
-
111
- /**
112
- * Add the correct font size in all browsers.
113
- */
114
-
115
- small {
116
- font-size: 80%;
117
- }
118
-
119
- /**
120
- * Prevent `sub` and `sup` elements from affecting the line height in
121
- * all browsers.
122
- */
123
-
124
- sub,
125
- sup {
126
- font-size: 75%;
127
- line-height: 0;
128
- position: relative;
129
- vertical-align: baseline;
130
- }
131
-
132
- sub {
133
- bottom: -0.25em;
134
- }
135
-
136
- sup {
137
- top: -0.5em;
138
- }
139
-
140
- /* Embedded content
141
- ========================================================================== */
142
-
143
- /**
144
- * Remove the border on images inside links in IE 10.
145
- */
146
-
147
- img {
148
- border-style: none;
149
- }
150
-
151
- /* Forms
152
- ========================================================================== */
153
-
154
- /**
155
- * 1. Change the font styles in all browsers.
156
- * 2. Remove the margin in Firefox and Safari.
157
- */
158
-
159
- button,
160
- input,
161
- optgroup,
162
- select,
163
- textarea {
164
- font-family: inherit; /* 1 */
165
- font-size: 100%; /* 1 */
166
- line-height: 1.15; /* 1 */
167
- margin: 0; /* 2 */
168
- }
169
-
170
- /**
171
- * Show the overflow in IE.
172
- * 1. Show the overflow in Edge.
173
- */
174
-
175
- button,
176
- input { /* 1 */
177
- overflow: visible;
178
- }
179
-
180
- /**
181
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
182
- * 1. Remove the inheritance of text transform in Firefox.
183
- */
184
-
185
- button,
186
- select { /* 1 */
187
- text-transform: none;
188
- }
189
-
190
- /**
191
- * Correct the inability to style clickable types in iOS and Safari.
192
- */
193
-
194
- button,
195
- [type="button"],
196
- [type="reset"],
197
- [type="submit"] {
198
- -webkit-appearance: button;
199
- }
200
-
201
- /**
202
- * Remove the inner border and padding in Firefox.
203
- */
204
-
205
- button::-moz-focus-inner,
206
- [type="button"]::-moz-focus-inner,
207
- [type="reset"]::-moz-focus-inner,
208
- [type="submit"]::-moz-focus-inner {
209
- border-style: none;
210
- padding: 0;
211
- }
212
-
213
- /**
214
- * Restore the focus styles unset by the previous rule.
215
- */
216
-
217
- button:-moz-focusring,
218
- [type="button"]:-moz-focusring,
219
- [type="reset"]:-moz-focusring,
220
- [type="submit"]:-moz-focusring {
221
- outline: 1px dotted ButtonText;
222
- }
223
-
224
- /**
225
- * Correct the padding in Firefox.
226
- */
227
-
228
- fieldset {
229
- padding: 0.35em 0.75em 0.625em;
230
- }
231
-
232
- /**
233
- * 1. Correct the text wrapping in Edge and IE.
234
- * 2. Correct the color inheritance from `fieldset` elements in IE.
235
- * 3. Remove the padding so developers are not caught out when they zero out
236
- * `fieldset` elements in all browsers.
237
- */
238
-
239
- legend {
240
- box-sizing: border-box; /* 1 */
241
- color: inherit; /* 2 */
242
- display: table; /* 1 */
243
- max-width: 100%; /* 1 */
244
- padding: 0; /* 3 */
245
- white-space: normal; /* 1 */
246
- }
247
-
248
- /**
249
- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
250
- */
251
-
252
- progress {
253
- vertical-align: baseline;
254
- }
255
-
256
- /**
257
- * Remove the default vertical scrollbar in IE 10+.
258
- */
259
-
260
- textarea {
261
- overflow: auto;
262
- }
263
-
264
- /**
265
- * 1. Add the correct box sizing in IE 10.
266
- * 2. Remove the padding in IE 10.
267
- */
268
-
269
- [type="checkbox"],
270
- [type="radio"] {
271
- box-sizing: border-box; /* 1 */
272
- padding: 0; /* 2 */
273
- }
274
-
275
- /**
276
- * Correct the cursor style of increment and decrement buttons in Chrome.
277
- */
278
-
279
- [type="number"]::-webkit-inner-spin-button,
280
- [type="number"]::-webkit-outer-spin-button {
281
- height: auto;
282
- }
283
-
284
- /**
285
- * 1. Correct the odd appearance in Chrome and Safari.
286
- * 2. Correct the outline style in Safari.
287
- */
288
-
289
- [type="search"] {
290
- -webkit-appearance: textfield; /* 1 */
291
- outline-offset: -2px; /* 2 */
292
- }
293
-
294
- /**
295
- * Remove the inner padding in Chrome and Safari on macOS.
296
- */
297
-
298
- [type="search"]::-webkit-search-decoration {
299
- -webkit-appearance: none;
300
- }
301
-
302
- /**
303
- * 1. Correct the inability to style clickable types in iOS and Safari.
304
- * 2. Change font properties to `inherit` in Safari.
305
- */
306
-
307
- ::-webkit-file-upload-button {
308
- -webkit-appearance: button; /* 1 */
309
- font: inherit; /* 2 */
310
- }
311
-
312
- /* Interactive
313
- ========================================================================== */
314
-
315
- /*
316
- * Add the correct display in Edge, IE 10+, and Firefox.
317
- */
318
-
319
- details {
320
- display: block;
321
- }
322
-
323
- /*
324
- * Add the correct display in all browsers.
325
- */
326
-
327
- summary {
328
- display: list-item;
329
- }
330
-
331
- /* Misc
332
- ========================================================================== */
333
-
334
- /**
335
- * Add the correct display in IE 10+.
336
- */
337
-
338
- template {
339
- display: none;
340
- }
341
-
342
- /**
343
- * Add the correct display in IE 10.
344
- */
345
-
346
- [hidden] {
347
- display: none;
348
- }