@autobest-ui/components 2.2.1 → 2.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.
Files changed (243) hide show
  1. package/esm/accordion/style/index.css +1 -0
  2. package/esm/affix/style/index.css +1 -1
  3. package/esm/base.css +1 -1
  4. package/esm/checkbox/style/index.css +1 -1
  5. package/esm/confirm/style/index.css +1 -1
  6. package/esm/date-picker/style/index.css +1 -1
  7. package/esm/drawer/style/index.css +1 -1
  8. package/esm/ellipsis/style/index.css +1 -1
  9. package/esm/guide/style/index.css +1 -1
  10. package/esm/input-number/style/index.css +1 -1
  11. package/esm/lazy-image/style/index.css +1 -1
  12. package/esm/link-list/style/index.css +1 -1
  13. package/esm/loading/style/index.css +1 -1
  14. package/esm/loading-bar/style/index.css +1 -1
  15. package/esm/loading-container/style/index.css +1 -1
  16. package/esm/loading-icon/style/index.css +1 -1
  17. package/esm/mask/style/index.css +1 -1
  18. package/esm/message/style/index.css +1 -1
  19. package/esm/modal/style/index.css +1 -1
  20. package/esm/popover/style/index.css +1 -1
  21. package/esm/select/style/index.css +1 -1
  22. package/esm/skeleton/style/index.css +1 -1
  23. package/esm/style.css +1 -33
  24. package/esm/table/style/index.css +1 -1
  25. package/esm/tabs/style/index.css +1 -1
  26. package/esm/tooltip/style/index.css +1 -1
  27. package/lib/accordion/style/index.css +1 -0
  28. package/lib/affix/style/index.css +1 -1
  29. package/lib/base.css +1 -1
  30. package/lib/checkbox/style/index.css +1 -1
  31. package/lib/confirm/style/index.css +1 -1
  32. package/lib/date-picker/style/index.css +1 -1
  33. package/lib/drawer/style/index.css +1 -1
  34. package/lib/ellipsis/style/index.css +1 -1
  35. package/lib/guide/style/index.css +1 -1
  36. package/lib/input-number/style/index.css +1 -1
  37. package/lib/lazy-image/style/index.css +1 -1
  38. package/lib/link-list/style/index.css +1 -1
  39. package/lib/loading/style/index.css +1 -1
  40. package/lib/loading-bar/style/index.css +1 -1
  41. package/lib/loading-container/style/index.css +1 -1
  42. package/lib/loading-icon/style/index.css +1 -1
  43. package/lib/mask/style/index.css +1 -1
  44. package/lib/message/style/index.css +1 -1
  45. package/lib/modal/style/index.css +1 -1
  46. package/lib/popover/style/index.css +1 -1
  47. package/lib/select/style/index.css +1 -1
  48. package/lib/skeleton/style/index.css +1 -1
  49. package/lib/style.css +1 -33
  50. package/lib/table/style/index.css +1 -1
  51. package/lib/tabs/style/index.css +1 -1
  52. package/lib/tooltip/style/index.css +1 -1
  53. package/package.json +5 -3
  54. package/esm/accordion/style/index.d.ts +0 -1
  55. package/esm/accordion/style/index.js +0 -5
  56. package/esm/affix/style/index.d.ts +0 -1
  57. package/esm/affix/style/index.js +0 -5
  58. package/esm/affix/style/index.scss +0 -35
  59. package/esm/base.scss +0 -42
  60. package/esm/carousel/style/index.d.ts +0 -1
  61. package/esm/carousel/style/index.js +0 -5
  62. package/esm/carousel/style/index.scss +0 -37
  63. package/esm/checkbox/style/index.d.ts +0 -1
  64. package/esm/checkbox/style/index.js +0 -5
  65. package/esm/checkbox/style/index.scss +0 -118
  66. package/esm/collapse/style/index.d.ts +0 -1
  67. package/esm/collapse/style/index.js +0 -5
  68. package/esm/collapse/style/index.scss +0 -43
  69. package/esm/confirm/style/index.d.ts +0 -1
  70. package/esm/confirm/style/index.js +0 -7
  71. package/esm/confirm/style/index.scss +0 -44
  72. package/esm/date-picker/calendar/grid/index.scss +0 -90
  73. package/esm/date-picker/calendar/index.scss +0 -58
  74. package/esm/date-picker/style/index.d.ts +0 -1
  75. package/esm/date-picker/style/index.js +0 -11
  76. package/esm/date-picker/style/index.scss +0 -24
  77. package/esm/drawer/style/index.d.ts +0 -1
  78. package/esm/drawer/style/index.js +0 -7
  79. package/esm/drawer/style/index.scss +0 -44
  80. package/esm/ellipsis/style/index.d.ts +0 -1
  81. package/esm/ellipsis/style/index.js +0 -5
  82. package/esm/ellipsis/style/index.scss +0 -35
  83. package/esm/guide/style/index.d.ts +0 -1
  84. package/esm/guide/style/index.js +0 -7
  85. package/esm/guide/style/index.scss +0 -18
  86. package/esm/input-number/style/index.d.ts +0 -1
  87. package/esm/input-number/style/index.js +0 -5
  88. package/esm/input-number/style/index.scss +0 -70
  89. package/esm/lazy-image/style/index.d.ts +0 -1
  90. package/esm/lazy-image/style/index.js +0 -5
  91. package/esm/lazy-image/style/index.scss +0 -25
  92. package/esm/link-list/style/index.d.ts +0 -1
  93. package/esm/link-list/style/index.js +0 -7
  94. package/esm/link-list/style/index.scss +0 -125
  95. package/esm/loading/style/index.d.ts +0 -1
  96. package/esm/loading/style/index.js +0 -7
  97. package/esm/loading/style/index.scss +0 -21
  98. package/esm/loading-bar/style/index.d.ts +0 -1
  99. package/esm/loading-bar/style/index.js +0 -5
  100. package/esm/loading-bar/style/index.scss +0 -62
  101. package/esm/loading-container/style/index.d.ts +0 -1
  102. package/esm/loading-container/style/index.js +0 -7
  103. package/esm/loading-container/style/index.scss +0 -28
  104. package/esm/loading-icon/style/index.d.ts +0 -1
  105. package/esm/loading-icon/style/index.js +0 -5
  106. package/esm/loading-icon/style/index.scss +0 -24
  107. package/esm/mask/style/index.d.ts +0 -1
  108. package/esm/mask/style/index.js +0 -5
  109. package/esm/mask/style/index.scss +0 -35
  110. package/esm/message/style/index.d.ts +0 -1
  111. package/esm/message/style/index.js +0 -5
  112. package/esm/message/style/index.scss +0 -71
  113. package/esm/modal/style/index.d.ts +0 -1
  114. package/esm/modal/style/index.js +0 -7
  115. package/esm/modal/style/index.scss +0 -112
  116. package/esm/move/style/index.d.ts +0 -1
  117. package/esm/move/style/index.js +0 -5
  118. package/esm/move/style/index.scss +0 -7
  119. package/esm/popover/style/index.d.ts +0 -1
  120. package/esm/popover/style/index.js +0 -7
  121. package/esm/popover/style/index.scss +0 -60
  122. package/esm/portal/style/index.d.ts +0 -1
  123. package/esm/portal/style/index.js +0 -5
  124. package/esm/portal/style/index.scss +0 -0
  125. package/esm/script/style/index.d.ts +0 -1
  126. package/esm/script/style/index.js +0 -1
  127. package/esm/script/style/index.scss +0 -0
  128. package/esm/select/style/index.d.ts +0 -1
  129. package/esm/select/style/index.js +0 -7
  130. package/esm/select/style/index.scss +0 -126
  131. package/esm/show-more/style/index.d.ts +0 -1
  132. package/esm/show-more/style/index.js +0 -5
  133. package/esm/show-more/style/index.scss +0 -23
  134. package/esm/skeleton/style/index.d.ts +0 -1
  135. package/esm/skeleton/style/index.js +0 -5
  136. package/esm/skeleton/style/index.scss +0 -27
  137. package/esm/table/style/index.d.ts +0 -1
  138. package/esm/table/style/index.js +0 -9
  139. package/esm/table/style/index.scss +0 -45
  140. package/esm/tabs/style/index.d.ts +0 -1
  141. package/esm/tabs/style/index.js +0 -5
  142. package/esm/tabs/style/index.scss +0 -62
  143. package/esm/tooltip/style/index.d.ts +0 -1
  144. package/esm/tooltip/style/index.js +0 -7
  145. package/esm/tooltip/style/index.scss +0 -62
  146. package/esm/trigger/style/index.d.ts +0 -1
  147. package/esm/trigger/style/index.js +0 -5
  148. package/esm/trigger/style/index.scss +0 -79
  149. package/lib/accordion/style/index.d.ts +0 -1
  150. package/lib/accordion/style/index.js +0 -7
  151. package/lib/affix/style/index.d.ts +0 -1
  152. package/lib/affix/style/index.js +0 -7
  153. package/lib/affix/style/index.scss +0 -35
  154. package/lib/base.scss +0 -42
  155. package/lib/carousel/style/index.d.ts +0 -1
  156. package/lib/carousel/style/index.js +0 -7
  157. package/lib/carousel/style/index.scss +0 -37
  158. package/lib/checkbox/style/index.d.ts +0 -1
  159. package/lib/checkbox/style/index.js +0 -7
  160. package/lib/checkbox/style/index.scss +0 -118
  161. package/lib/collapse/style/index.d.ts +0 -1
  162. package/lib/collapse/style/index.js +0 -7
  163. package/lib/collapse/style/index.scss +0 -43
  164. package/lib/confirm/style/index.d.ts +0 -1
  165. package/lib/confirm/style/index.js +0 -9
  166. package/lib/confirm/style/index.scss +0 -44
  167. package/lib/date-picker/calendar/grid/index.scss +0 -90
  168. package/lib/date-picker/calendar/index.scss +0 -58
  169. package/lib/date-picker/style/index.d.ts +0 -1
  170. package/lib/date-picker/style/index.js +0 -13
  171. package/lib/date-picker/style/index.scss +0 -24
  172. package/lib/drawer/style/index.d.ts +0 -1
  173. package/lib/drawer/style/index.js +0 -9
  174. package/lib/drawer/style/index.scss +0 -44
  175. package/lib/ellipsis/style/index.d.ts +0 -1
  176. package/lib/ellipsis/style/index.js +0 -7
  177. package/lib/ellipsis/style/index.scss +0 -35
  178. package/lib/guide/style/index.d.ts +0 -1
  179. package/lib/guide/style/index.js +0 -9
  180. package/lib/guide/style/index.scss +0 -18
  181. package/lib/input-number/style/index.d.ts +0 -1
  182. package/lib/input-number/style/index.js +0 -7
  183. package/lib/input-number/style/index.scss +0 -70
  184. package/lib/lazy-image/style/index.d.ts +0 -1
  185. package/lib/lazy-image/style/index.js +0 -7
  186. package/lib/lazy-image/style/index.scss +0 -25
  187. package/lib/link-list/style/index.d.ts +0 -1
  188. package/lib/link-list/style/index.js +0 -9
  189. package/lib/link-list/style/index.scss +0 -125
  190. package/lib/loading/style/index.d.ts +0 -1
  191. package/lib/loading/style/index.js +0 -9
  192. package/lib/loading/style/index.scss +0 -21
  193. package/lib/loading-bar/style/index.d.ts +0 -1
  194. package/lib/loading-bar/style/index.js +0 -7
  195. package/lib/loading-bar/style/index.scss +0 -62
  196. package/lib/loading-container/style/index.d.ts +0 -1
  197. package/lib/loading-container/style/index.js +0 -9
  198. package/lib/loading-container/style/index.scss +0 -28
  199. package/lib/loading-icon/style/index.d.ts +0 -1
  200. package/lib/loading-icon/style/index.js +0 -7
  201. package/lib/loading-icon/style/index.scss +0 -24
  202. package/lib/mask/style/index.d.ts +0 -1
  203. package/lib/mask/style/index.js +0 -7
  204. package/lib/mask/style/index.scss +0 -35
  205. package/lib/message/style/index.d.ts +0 -1
  206. package/lib/message/style/index.js +0 -7
  207. package/lib/message/style/index.scss +0 -71
  208. package/lib/modal/style/index.d.ts +0 -1
  209. package/lib/modal/style/index.js +0 -9
  210. package/lib/modal/style/index.scss +0 -112
  211. package/lib/move/style/index.d.ts +0 -1
  212. package/lib/move/style/index.js +0 -7
  213. package/lib/move/style/index.scss +0 -7
  214. package/lib/popover/style/index.d.ts +0 -1
  215. package/lib/popover/style/index.js +0 -9
  216. package/lib/popover/style/index.scss +0 -60
  217. package/lib/portal/style/index.d.ts +0 -1
  218. package/lib/portal/style/index.js +0 -7
  219. package/lib/portal/style/index.scss +0 -0
  220. package/lib/script/style/index.d.ts +0 -1
  221. package/lib/script/style/index.js +0 -1
  222. package/lib/script/style/index.scss +0 -0
  223. package/lib/select/style/index.d.ts +0 -1
  224. package/lib/select/style/index.js +0 -9
  225. package/lib/select/style/index.scss +0 -126
  226. package/lib/show-more/style/index.d.ts +0 -1
  227. package/lib/show-more/style/index.js +0 -7
  228. package/lib/show-more/style/index.scss +0 -23
  229. package/lib/skeleton/style/index.d.ts +0 -1
  230. package/lib/skeleton/style/index.js +0 -7
  231. package/lib/skeleton/style/index.scss +0 -27
  232. package/lib/table/style/index.d.ts +0 -1
  233. package/lib/table/style/index.js +0 -11
  234. package/lib/table/style/index.scss +0 -45
  235. package/lib/tabs/style/index.d.ts +0 -1
  236. package/lib/tabs/style/index.js +0 -7
  237. package/lib/tabs/style/index.scss +0 -62
  238. package/lib/tooltip/style/index.d.ts +0 -1
  239. package/lib/tooltip/style/index.js +0 -9
  240. package/lib/tooltip/style/index.scss +0 -62
  241. package/lib/trigger/style/index.d.ts +0 -1
  242. package/lib/trigger/style/index.js +0 -7
  243. package/lib/trigger/style/index.scss +0 -79
@@ -1,35 +0,0 @@
1
- $namespace: ab-mask;
2
- $maskFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- position: fixed;
6
- top: 0;
7
- left: 0;
8
- z-index: 101;
9
- width: 100%;
10
- height: 100%;
11
- background-color: rgba(0, 0, 0, 0.45);
12
- transition: opacity 400ms cubic-bezier(.7, .3, .1, 1);
13
- }
14
-
15
- .#{$maskFade} {
16
- &-enter, &-appear {
17
- opacity: 0;
18
- }
19
-
20
- &-enter-active, &-appear-active, &-enter-done {
21
- opacity: 1;
22
- }
23
-
24
- &-exit {
25
- opacity: 1;
26
- }
27
-
28
- &-exit-active {
29
- opacity: 0;
30
- }
31
-
32
- &-exit-done {
33
- display: none;
34
- }
35
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,71 +0,0 @@
1
- $namespace: ab-message;
2
- $contentFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- &-container {
6
- position: fixed;
7
- left: 0;
8
- bottom: 0;
9
- }
10
-
11
- &-content {
12
- display: flex;
13
- align-items: center;
14
- justify-content: space-between;
15
- max-width: calc(100vw - .3rem);
16
- border-radius: .02rem;
17
- margin: .08rem .15rem;
18
- padding: .08rem;
19
- background-color: #333;
20
- color: #fff;
21
- box-shadow: 0 .04rem .08rem #00000059;
22
- transition: opacity 300ms;
23
- }
24
-
25
- &-close {
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- cursor: pointer;
30
- width: .2rem;
31
- height: .2rem;
32
- font-size: .2rem;
33
- margin-left: .08rem;
34
- color: #b0b0b0;
35
-
36
- &:hover {
37
- color: #fff;
38
- }
39
- }
40
- }
41
-
42
- .#{$contentFade} {
43
- &-enter, &-appear {
44
- opacity: 0;
45
- }
46
-
47
- &-enter-active, &-appear-active, &-enter-done {
48
- opacity: 1;
49
- }
50
-
51
- &-exit {
52
- opacity: 1;
53
- }
54
-
55
- &-exit-active {
56
- opacity: 0;
57
- }
58
-
59
- &-exit-done {
60
- display: none;
61
- }
62
- }
63
-
64
- @media only screen and (max-width: 767px) {
65
- .#{$namespace} {
66
- &-content {
67
- width: calc(100vw - .3rem);
68
- margin: .08rem .15rem;
69
- }
70
- }
71
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../mask/style/index');
7
- }
@@ -1,112 +0,0 @@
1
- $namespace: ab-modal;
2
- $modalFade: #{$namespace}-fade;
3
-
4
- .#{$namespace} {
5
- position: fixed;
6
- top: 0;
7
- right: 0;
8
- bottom: 0;
9
- left: 0;
10
- z-index: 101;
11
- overflow: auto;
12
- outline: 0;
13
-
14
- &.#{$namespace}-center {
15
- text-align: center;
16
-
17
- &:before {
18
- display: inline-block;
19
- width: 0;
20
- height: 100%;
21
- vertical-align: middle;
22
- content: '';
23
- }
24
-
25
- .#{$namespace}-content {
26
- top: 0;
27
- text-align: left;
28
- display: inline-block;
29
- vertical-align: middle;
30
- }
31
- }
32
-
33
- &-content {
34
- position: relative;
35
- background-color: #fff;
36
- max-width: calc(100vw - .3rem);
37
- margin-left: auto;
38
- margin-right: auto;
39
- overflow: auto;
40
- -webkit-overflow-scrolling: touch;
41
- transition: transform 300ms, opacity 300ms cubic-bezier(.7, .3, .1, 1);
42
- z-index: 101;
43
- }
44
-
45
- &-title {
46
- position: relative;
47
- width: 100%;
48
-
49
- .#{$namespace}-times {
50
- top: 50%;
51
- transform: translateY(-50%);
52
- }
53
- }
54
-
55
- &-times {
56
- position: absolute;
57
- top: .12rem;
58
- right: .12rem;
59
- font-size: .15rem;
60
- color: #b0b0b0;
61
- cursor: pointer;
62
-
63
- svg {
64
- display: block;
65
- }
66
-
67
- &:hover {
68
- color: #333;
69
- }
70
- }
71
- &-hidden {
72
- display: none;
73
- }
74
- }
75
-
76
- @media only screen and (max-width: 767px) {
77
- .#{$namespace}-content {
78
- width: calc(100vw - .3rem);
79
- }
80
- }
81
-
82
-
83
- .#{$modalFade} {
84
- &-enter, &-appear {
85
- transform: translate3d(0, -30px, 0);
86
- opacity: 0
87
- }
88
-
89
- &-enter-active, &-appear-active {
90
- transform: translateZ(0);
91
- opacity: 1
92
- }
93
-
94
- &-enter-done {
95
- transform: translateZ(0);
96
- opacity: 1
97
- }
98
-
99
- &-exit {
100
- transform: translateZ(0);
101
- opacity: 1
102
- }
103
-
104
- &-exit-active {
105
- transform: translate3d(0, -30px, 0);
106
- opacity: 0
107
- }
108
-
109
- &-exit-done {
110
- display: none;
111
- }
112
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,7 +0,0 @@
1
- $namespace: ab-move;
2
-
3
- .#{$namespace} {
4
- cursor: move;
5
- visibility: hidden;
6
- transform-origin: center center;
7
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../trigger/style/index');
7
- }
@@ -1,60 +0,0 @@
1
- $namespace: ab-popover;
2
-
3
- .#{$namespace} {
4
- &-wrap {
5
- background-color: #fff;
6
- background-clip: padding-box;
7
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
8
- padding: .08rem .11rem .05rem;
9
- min-width: 210px;
10
- border-radius: 4px;
11
- }
12
-
13
- &-inner {
14
- position: relative;
15
- width: 100%;
16
- overflow: hidden;
17
- font-size: .12rem;
18
-
19
- &-expand {
20
- padding-right: .1rem;
21
- }
22
- }
23
-
24
- &-arrow {
25
- position: absolute;
26
- display: block;
27
- width: 8px;
28
- height: 8px;
29
- border-top-color: transparent;
30
- border-left-color: transparent;
31
- border-style: solid;
32
- background-color: #fff;
33
- border-right-color: #fff;
34
- border-bottom-color: #fff;
35
- border-width: 4px;
36
- box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
37
- }
38
-
39
- &-close {
40
- position: absolute;
41
- right: .02rem;
42
- top: .05rem;
43
- cursor: pointer;
44
- padding: 0 .05rem;
45
- color: #bfbfbf;
46
- font-size: 0.2rem;
47
- line-height: 1;
48
- z-index: 2;
49
-
50
- &:hover {
51
- color: #4A4A4A;
52
- }
53
- }
54
- }
55
-
56
- @media only screen and (max-width: 767px) {
57
- .#{$namespace}-wrap {
58
- width: calc(100% - .3rem);
59
- }
60
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
File without changes
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
- "use strict";
File without changes
@@ -1 +0,0 @@
1
- export {};
@@ -1,7 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../trigger/style/index');
7
- }
@@ -1,126 +0,0 @@
1
- $namespace: ab-select;
2
-
3
- .#{$namespace} {
4
- &-wrap {
5
- min-width: 177px;
6
- background-color: #fff;
7
- background-clip: padding-box;
8
- border-radius: 4px;
9
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
10
- }
11
-
12
- &-title, &-content, &-bottom {
13
- display: flex;
14
- }
15
-
16
- &-title {
17
- padding: .09rem 0;
18
- background-color: transparent;
19
- cursor: context-menu;
20
- border-bottom: 1px solid #D7D7D7;
21
- font-weight: bold;
22
- color: #606060;
23
- font-size: .12rem;
24
- margin: 0 .1rem;
25
- }
26
-
27
- &-col {
28
- font-size: .12rem;
29
- padding-right: .07rem;
30
- flex: auto;
31
-
32
- &:last-child {
33
- padding-right: 0;
34
- }
35
-
36
- & > li {
37
- padding: .08rem .11rem;
38
- cursor: pointer;
39
-
40
- &:hover {
41
- background-color: #eee;
42
- }
43
-
44
- &.#{$namespace}-active {
45
- background-color: #e6f7ff;
46
- }
47
-
48
- &.#{$namespace}-unselect {
49
- background-color: transparent;
50
- cursor: context-menu;
51
- }
52
- }
53
- }
54
-
55
- &-input-group {
56
- position: relative;
57
- overflow: hidden;
58
- }
59
-
60
- &-input-control {
61
- -webkit-appearance: none;
62
- outline: none;
63
- user-select: none;
64
- width: 100%;
65
- border: 1px solid #ccc;
66
- border-radius: 2px;
67
- resize: none;
68
- transition: all .2s;
69
- background-color: #fff;
70
- text-overflow: ellipsis;
71
- padding: .08rem .28rem .07rem .07rem;
72
- font-size: .14rem;
73
- white-space: nowrap;
74
- overflow: hidden;
75
- max-width: 100%;
76
- cursor: pointer;
77
-
78
- &.#{$namespace}-focused {
79
- box-shadow: 0 0 4px rgba(#348FEE, 0.8);
80
- border-color: rgba(#348FEE, 0.8);
81
- }
82
-
83
- &.#{$namespace}-empty {
84
- color: #888;
85
- }
86
-
87
- &.error {
88
- background-color: rgb(255, 250, 205);
89
- }
90
- }
91
-
92
- &-icon {
93
- position: absolute;
94
- right: .21rem;
95
- top: 50%;
96
- color: #ccc;
97
- font-size: 0;
98
- transform: translate(100%, -50%);
99
- transition: transform .2s;
100
-
101
- svg {
102
- font-size: .12rem;
103
- }
104
- }
105
-
106
- &-active .#{$namespace}-icon {
107
- transform: translate(100%, -50%) rotate(180deg);
108
- }
109
- }
110
-
111
- @media only screen and (max-width: 767px) {
112
- .#{$namespace} {
113
- &-content {
114
- display: block;
115
- }
116
-
117
- &-input-control {
118
- padding: .1rem .05rem;
119
- font-size: .14rem;
120
- }
121
-
122
- &-col {
123
- padding-right: 0;
124
- }
125
- }
126
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,23 +0,0 @@
1
- $namespace: ab-show-more;
2
-
3
- .#{$namespace} {
4
- &-ellipsis {
5
- white-space: nowrap;
6
- }
7
-
8
- &-btn {
9
- color: #4068b0;
10
- cursor: pointer;
11
- }
12
-
13
- &-text, &-hidden {
14
- visibility: hidden;
15
- height: 0;
16
- display: block;
17
- overflow: hidden;
18
- }
19
-
20
- &-hidden {
21
- width: 0;
22
- }
23
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,27 +0,0 @@
1
- $namespace: ab-skeleton;
2
-
3
- .#{$namespace} {
4
- overflow: hidden;
5
-
6
- &-item {
7
- background: #f2f2f2;
8
- overflow: hidden;
9
- }
10
-
11
- &-active {
12
- .#{$namespace}-item {
13
- background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
14
- background-size: 400% 100%;
15
- animation: ab-skeleton-loading 1.4s ease infinite;
16
- }
17
- }
18
-
19
- @keyframes ab-skeleton-loading {
20
- 0% {
21
- background-position: 100% 50%;
22
- }
23
- 100% {
24
- background-position: 0 50%;
25
- }
26
- }
27
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
-
6
- require('../../loading-container/style/index');
7
-
8
- require('../../checkbox/style/index');
9
- }
@@ -1,45 +0,0 @@
1
- $namespace: ab-table;
2
-
3
- .#{$namespace} {
4
- overflow-x: auto;
5
-
6
- &-table {
7
- border-spacing: 0;
8
- width: 100%;
9
- table-layout: fixed;
10
- border-collapse: collapse;
11
- }
12
-
13
- &-header {
14
- overflow: hidden;
15
- }
16
-
17
- &-body {
18
- overflow: auto;
19
- }
20
-
21
- &-checkbox {
22
- width: .32rem;
23
- text-align: center;
24
- }
25
-
26
- &-checkbox-col {
27
- width: .32rem;
28
- }
29
-
30
- &-point {
31
- cursor: pointer;
32
- }
33
-
34
- &-title {
35
- display: flex;
36
- align-items: center;
37
- text-align: left;
38
- }
39
-
40
- &-arrow {
41
- font-size: .16rem;
42
- color: #fff;
43
- padding: 0 .05rem;
44
- }
45
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import { canUseDOM } from '@autobest-ui/utils';
2
-
3
- if (canUseDOM) {
4
- require('./index.scss');
5
- }
@@ -1,62 +0,0 @@
1
- $namespace: ab-tabs;
2
-
3
- .#{$namespace} {
4
- position: relative;
5
- display: flex;
6
-
7
- &-item {
8
- cursor: pointer;
9
-
10
- &.#{$namespace}-active {
11
- font-weight: bold;
12
- }
13
-
14
- &.#{$namespace}-disabled {
15
- cursor: not-allowed;
16
- opacity: 0.7;
17
- }
18
- }
19
-
20
- &-bar {
21
- position: absolute;
22
- background-color: #b22222;
23
- transition: all .25s;
24
- width: 0;
25
- height: 0;
26
- overflow: hidden;
27
- margin: 0;
28
- padding: 0;
29
- }
30
-
31
- &-top, &-bottom {
32
- flex-direction: row;
33
-
34
- > .#{$namespace}-bar {
35
- left: 0;
36
- }
37
- }
38
-
39
- &-left, &-right {
40
- flex-direction: column;
41
-
42
- > .#{$namespace}-bar {
43
- top: 0;
44
- }
45
- }
46
-
47
- &-top > &-bar {
48
- bottom: 0;
49
- }
50
-
51
- &-bottom > &-bar {
52
- top: 0;
53
- }
54
-
55
- &-left > &-bar {
56
- right: 0;
57
- }
58
-
59
- &-right > &-bar {
60
- left: 0;
61
- }
62
- }
@@ -1 +0,0 @@
1
- export {};