hy-app 0.1.2 → 0.1.3

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 (221) hide show
  1. package/README.md +1 -1
  2. package/api/http.ts +8 -8
  3. package/components/dialog/index.ts +2 -2
  4. package/components/hy-address-picker/hy-address-picker.vue +3 -29
  5. package/components/hy-address-picker/index.scss +27 -0
  6. package/components/hy-avatar/hy-avatar.vue +1 -45
  7. package/components/hy-avatar/index.scss +45 -0
  8. package/components/hy-avatar/typing.d.ts +1 -1
  9. package/components/hy-back-top/hy-back-top.vue +7 -22
  10. package/components/hy-back-top/index.scss +16 -0
  11. package/components/hy-back-top/props.ts +4 -4
  12. package/components/hy-back-top/typing.d.ts +2 -3
  13. package/components/hy-badge/hy-badge.vue +1 -72
  14. package/components/hy-badge/index.scss +72 -0
  15. package/components/hy-button/hy-button.vue +12 -124
  16. package/components/hy-button/index.scss +116 -0
  17. package/components/hy-calendar/header.vue +76 -0
  18. package/components/hy-calendar/hy-calendar.vue +366 -0
  19. package/components/hy-calendar/index.scss +171 -0
  20. package/components/hy-calendar/month.vue +524 -0
  21. package/components/hy-calendar/props.ts +37 -0
  22. package/components/hy-calendar/typing.d.ts +126 -0
  23. package/components/hy-card/hy-card.vue +21 -84
  24. package/components/hy-card/index.scss +57 -0
  25. package/components/hy-card/props.ts +2 -2
  26. package/components/hy-card/typing.d.ts +1 -1
  27. package/components/hy-cell/hy-cell.vue +1 -137
  28. package/components/hy-cell/index.scss +137 -0
  29. package/components/hy-check-button/hy-check-button.vue +1 -0
  30. package/components/hy-check-button/index.scss +5 -0
  31. package/components/hy-checkbox/hy-checkbox.vue +2 -95
  32. package/components/hy-checkbox/index.scss +94 -0
  33. package/components/hy-checkbox/typing.d.ts +1 -2
  34. package/components/hy-count-down/hy-count-down.vue +150 -0
  35. package/components/hy-count-down/index.scss +6 -0
  36. package/components/hy-count-down/index.ts +52 -0
  37. package/components/hy-count-down/props.ts +10 -0
  38. package/components/hy-count-down/typing.d.ts +20 -0
  39. package/components/hy-count-to/hy-count-to.vue +213 -0
  40. package/components/hy-count-to/index.scss +6 -0
  41. package/components/hy-count-to/props.ts +17 -0
  42. package/components/hy-count-to/typing.d.ts +48 -0
  43. package/components/hy-datetime-picker/hy-datetime-picker.vue +2 -28
  44. package/components/hy-datetime-picker/index.scss +28 -0
  45. package/components/hy-divider/hy-divider.vue +24 -49
  46. package/components/hy-divider/index.scss +25 -0
  47. package/components/hy-divider/props.ts +2 -2
  48. package/components/hy-divider/typing.d.ts +1 -1
  49. package/components/hy-dropdown/hy-dropdown.vue +43 -0
  50. package/components/hy-dropdown/index.scss +17 -0
  51. package/components/hy-dropdown/props.ts +17 -0
  52. package/components/hy-dropdown/typing.d.ts +48 -0
  53. package/components/hy-dropdown-item/hy-dropdown-item.vue +194 -0
  54. package/components/hy-dropdown-item/index.scss +96 -0
  55. package/components/hy-dropdown-item/props.ts +10 -0
  56. package/components/hy-dropdown-item/typing.d.ts +31 -0
  57. package/components/hy-empty/hy-empty.vue +8 -26
  58. package/components/hy-empty/index.scss +19 -0
  59. package/components/hy-empty/props.ts +2 -2
  60. package/components/hy-empty/typing.d.ts +1 -1
  61. package/components/hy-float-button/hy-float-button.vue +201 -0
  62. package/components/hy-float-button/index.scss +69 -0
  63. package/components/hy-float-button/props.ts +25 -0
  64. package/components/hy-float-button/typing.d.ts +93 -0
  65. package/components/hy-folding-panel/hy-folding-panel.vue +9 -12
  66. package/components/hy-folding-panel/index.scss +6 -0
  67. package/components/hy-folding-panel/props.ts +2 -2
  68. package/components/hy-folding-panel/typing.d.ts +2 -2
  69. package/components/hy-form/hy-form.vue +17 -34
  70. package/components/hy-form/index.scss +30 -0
  71. package/components/hy-form/props.ts +2 -0
  72. package/components/hy-form/typing.d.ts +9 -1
  73. package/components/hy-grid/hy-grid.vue +1 -43
  74. package/components/hy-grid/index.scss +40 -0
  75. package/components/hy-icon/hy-icon.vue +1 -93
  76. package/components/hy-icon/index.scss +84 -0
  77. package/components/hy-image/hy-image.vue +212 -0
  78. package/components/hy-image/index.scss +26 -0
  79. package/components/hy-image/props.ts +24 -0
  80. package/components/hy-image/typing.d.ts +76 -0
  81. package/components/hy-input/hy-input.vue +2 -72
  82. package/components/hy-input/index.scss +65 -0
  83. package/components/hy-line/hy-line.vue +4 -8
  84. package/components/hy-line/index.scss +5 -0
  85. package/components/hy-line/props.ts +3 -3
  86. package/components/hy-line/typing.d.ts +2 -2
  87. package/components/hy-line-progress/hy-line-progress.vue +15 -44
  88. package/components/hy-line-progress/index.scss +38 -0
  89. package/components/hy-line-progress/props.ts +2 -2
  90. package/components/hy-line-progress/typing.d.ts +1 -1
  91. package/components/hy-list/hy-list.vue +11 -41
  92. package/components/hy-list/index.scss +32 -0
  93. package/components/hy-list/props.ts +2 -2
  94. package/components/hy-loading/hy-loading.vue +95 -0
  95. package/components/hy-loading/index.scss +103 -0
  96. package/components/hy-loading/props.ts +17 -0
  97. package/components/hy-loading/typing.d.ts +52 -0
  98. package/components/hy-login/TheUserLogin.vue +16 -16
  99. package/components/hy-login/hy-login.vue +9 -9
  100. package/components/hy-login/props.ts +4 -4
  101. package/components/hy-modal/hy-modal.vue +11 -89
  102. package/components/hy-modal/index.scss +77 -0
  103. package/components/hy-modal/props.ts +2 -2
  104. package/components/hy-modal/typing.d.ts +1 -1
  105. package/components/hy-navbar/hy-navbar.vue +20 -92
  106. package/components/hy-navbar/index.scss +67 -0
  107. package/components/hy-navbar/props.ts +2 -2
  108. package/components/hy-navbar/typing.d.ts +1 -1
  109. package/components/hy-notice-bar/hy-column-notice.vue +11 -39
  110. package/components/hy-notice-bar/hy-notice-bar.vue +10 -12
  111. package/components/hy-notice-bar/hy-row-notice.vue +5 -56
  112. package/components/hy-notice-bar/index.scss +93 -0
  113. package/components/hy-notice-bar/props.ts +4 -2
  114. package/components/hy-notice-bar/typing.d.ts +13 -3
  115. package/components/hy-number-step/hy-number-step.vue +1 -70
  116. package/components/hy-number-step/index.scss +71 -0
  117. package/components/hy-overlay/hy-overlay.vue +2 -14
  118. package/components/hy-overlay/index.scss +9 -0
  119. package/components/hy-picker/hy-picker.vue +1 -68
  120. package/components/hy-picker/index.scss +68 -0
  121. package/components/hy-popup/hy-popup.vue +1 -74
  122. package/components/hy-popup/index.scss +60 -0
  123. package/components/hy-price/hy-price.vue +1 -11
  124. package/components/hy-price/index.scss +11 -0
  125. package/components/hy-qrcode/hy-qrcode.vue +15 -37
  126. package/components/hy-qrcode/index.scss +23 -0
  127. package/components/hy-qrcode/props.ts +2 -2
  128. package/components/hy-qrcode/typing.d.ts +2 -2
  129. package/components/hy-radio/hy-radio.vue +2 -101
  130. package/components/hy-radio/index.scss +93 -0
  131. package/components/hy-radio/typing.d.ts +1 -2
  132. package/components/hy-rate/hy-rate.vue +1 -33
  133. package/components/hy-rate/index.scss +33 -0
  134. package/components/hy-read-more/hy-read-more.vue +7 -30
  135. package/components/hy-read-more/index.scss +25 -0
  136. package/components/hy-read-more/props.ts +3 -3
  137. package/components/hy-read-more/typing.d.ts +1 -1
  138. package/components/hy-safe-bottom/hy-safe-bottom.vue +5 -9
  139. package/components/hy-safe-bottom/index.scss +5 -0
  140. package/components/hy-scroll-list/hy-scroll-list.vue +13 -43
  141. package/components/hy-scroll-list/index.scss +34 -0
  142. package/components/hy-scroll-list/props.ts +2 -2
  143. package/components/hy-scroll-list/typing.d.ts +1 -1
  144. package/components/hy-search/hy-search.vue +1 -83
  145. package/components/hy-search/index.scss +83 -0
  146. package/components/hy-slider/hy-slider.vue +14 -92
  147. package/components/hy-slider/index.scss +77 -0
  148. package/components/hy-status-bar/hy-status-bar.vue +41 -0
  149. package/components/hy-status-bar/index.scss +6 -0
  150. package/components/hy-status-bar/props.ts +8 -0
  151. package/components/hy-status-bar/typing.d.ts +12 -0
  152. package/components/hy-steps/hy-steps.vue +36 -163
  153. package/components/hy-steps/index.scss +131 -0
  154. package/components/hy-steps/props.ts +2 -2
  155. package/components/hy-steps/typing.d.ts +2 -2
  156. package/components/hy-subsection/hy-subsection.vue +40 -132
  157. package/components/hy-subsection/index.scss +82 -0
  158. package/components/hy-subsection/props.ts +1 -0
  159. package/components/hy-subsection/typing.d.ts +13 -4
  160. package/components/hy-swipe-action/hy-swipe-action.vue +294 -0
  161. package/components/hy-swipe-action/index.scss +9 -0
  162. package/components/hy-swipe-action/index.wxs +235 -0
  163. package/components/hy-swipe-action/props.ts +16 -0
  164. package/components/hy-swipe-action/typing.d.ts +55 -0
  165. package/components/hy-swipe-action/wxs.js +15 -0
  166. package/components/hy-swiper/hy-swiper-indicator.vue +5 -35
  167. package/components/hy-swiper/hy-swiper.vue +1 -54
  168. package/components/hy-swiper/index.scss +82 -0
  169. package/components/hy-switch/hy-switch.vue +62 -72
  170. package/components/hy-switch/index.scss +46 -0
  171. package/components/hy-switch/props.ts +4 -1
  172. package/components/hy-switch/typing.d.ts +14 -1
  173. package/components/hy-tabs/hy-tabs.vue +22 -81
  174. package/components/hy-tabs/index.scss +63 -0
  175. package/components/hy-tabs/props.ts +5 -5
  176. package/components/hy-tabs/typing.d.ts +1 -1
  177. package/components/hy-tag/hy-tag.vue +1 -214
  178. package/components/hy-tag/index.scss +204 -0
  179. package/components/hy-text/hy-text.vue +238 -0
  180. package/components/hy-text/index.scss +70 -0
  181. package/components/hy-text/index.ts +0 -0
  182. package/components/hy-text/props.ts +30 -0
  183. package/components/hy-text/typing.d.ts +98 -0
  184. package/components/hy-textarea/hy-textarea.vue +1 -46
  185. package/components/hy-textarea/index.scss +40 -0
  186. package/components/hy-tooltip/hy-tooltip.vue +42 -95
  187. package/components/hy-tooltip/index.scss +64 -0
  188. package/components/hy-tooltip/props.ts +2 -2
  189. package/components/hy-tooltip/typing.d.ts +1 -1
  190. package/components/hy-transition/hy-transition.vue +4 -2
  191. package/components/hy-transition/typing.d.ts +1 -13
  192. package/components/hy-upload/hy-upload.vue +37 -182
  193. package/components/hy-upload/index.scss +147 -0
  194. package/components/hy-upload/props.ts +2 -2
  195. package/components/hy-upload/typing.d.ts +11 -11
  196. package/components/hy-warn/hy-warn.vue +15 -123
  197. package/components/hy-warn/index.scss +109 -0
  198. package/components/hy-warn/props.ts +3 -3
  199. package/components/hy-warn/typing.d.ts +4 -3
  200. package/components/hy-waterfall/index.scss +82 -0
  201. package/components/index.ts +25 -1
  202. package/components/message/index.ts +54 -54
  203. package/config/color.ts +2 -1
  204. package/global/index.ts +6 -6
  205. package/global/register-properties.ts +2 -2
  206. package/index.scss +2 -1
  207. package/libs/css/common.scss +14 -2
  208. package/package.json +2 -2
  209. package/{libs/css → public/font}/iconfont.css +4 -4
  210. package/theme.scss +6 -4
  211. package/typing/modules/common.d.ts +16 -1
  212. package/utils/calendar.js +1021 -0
  213. package/utils/colorGradient.ts +112 -0
  214. package/utils/index.ts +2 -0
  215. package/utils/inside.ts +80 -34
  216. package/utils/inspect.ts +66 -0
  217. package/utils/utils.ts +11 -12
  218. package/libs/css/download.zip +0 -0
  219. /package/{libs/css → public/font}/iconfont.ttf +0 -0
  220. /package/{libs/css → public/font}/iconfont.woff +0 -0
  221. /package/{libs/css → public/font}/iconfont.woff2 +0 -0
@@ -0,0 +1,63 @@
1
+ @use "../../theme.scss" as *;
2
+ @use "../../libs/css/mixin.scss" as *;
3
+
4
+ .hy-tabs {
5
+ &__wrapper {
6
+ @include flex;
7
+ align-items: center;
8
+
9
+ &__scroll-view-wrapper {
10
+ flex: 1;
11
+ /* #ifndef APP-NVUE */
12
+ overflow: auto hidden;
13
+ /* #endif */
14
+ }
15
+
16
+ &__scroll-view {
17
+ @include flex;
18
+ flex: 1;
19
+ }
20
+
21
+ &__nav {
22
+ @include flex;
23
+ position: relative;
24
+
25
+ &__item {
26
+ padding: 0 11px;
27
+ @include flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ /* #ifdef H5 */
31
+ cursor: pointer;
32
+ /* #endif */
33
+
34
+ &--disabled {
35
+ /* #ifdef H5 */
36
+ cursor: not-allowed;
37
+ /* #endif */
38
+ }
39
+
40
+ &__text {
41
+ font-size: 15px;
42
+ color: $hy-text-color-grey;
43
+ white-space: nowrap !important;
44
+
45
+ &--disabled {
46
+ color: $hy-color-disable-bg !important;
47
+ }
48
+ }
49
+ }
50
+
51
+ &__line {
52
+ height: 3px;
53
+ background: $hy-primary;
54
+ width: 30px;
55
+ position: absolute;
56
+ bottom: 2px;
57
+ border-radius: $hy-border-radius-semicircle;
58
+ transition-property: transform;
59
+ transition-duration: 300ms;
60
+ }
61
+ }
62
+ }
63
+ }
@@ -1,4 +1,4 @@
1
- import IProps from "./typing";
1
+ import type IProps from "./typing";
2
2
 
3
3
  const defaultProps: IProps = {
4
4
  list: [],
@@ -7,20 +7,20 @@ const defaultProps: IProps = {
7
7
  duration: 300,
8
8
  lineColor: "#3c9cff",
9
9
  activeStyle: {
10
- color: "#303133"
10
+ color: "#303133",
11
11
  },
12
12
  inactiveStyle: {
13
- color: "#606266"
13
+ color: "#606266",
14
14
  },
15
15
  lineWidth: 20,
16
16
  lineHeight: 3,
17
17
  lineBgSize: "cover",
18
18
  itemStyle: {
19
- height: "44px"
19
+ height: "44px",
20
20
  },
21
21
  swiperHeight: "calc(100vh - 44px)",
22
22
  scrollable: true,
23
- iconStyle: {}
23
+ iconStyle: {},
24
24
  };
25
25
 
26
26
  export default defaultProps;
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from "vue";
1
+ import type { CSSProperties } from "vue";
2
2
  import BadgeProps from "../hy-badge/typing";
3
3
  export interface TabsItemVo extends AnyObject {
4
4
  /**
@@ -155,218 +155,5 @@ const clickHandler = () => {
155
155
  </script>
156
156
 
157
157
  <style lang="scss" scoped>
158
- @import "../../libs/css/mixin.scss";
159
- @import "../../theme.scss";
160
-
161
- .hy-tag {
162
- @include flex;
163
- align-items: center;
164
- border-style: solid;
165
-
166
- &__wrapper {
167
- position: relative;
168
- }
169
-
170
- /*禁用*/
171
- &--disabled {
172
- background-color: $hy-color-disable-bg;
173
- color: $hy-text-color-disable;
174
- border: 1px solid $hy-color-disable-icon;
175
- }
176
-
177
- &--circle {
178
- border-radius: 100px;
179
- }
180
-
181
- &--square {
182
- border-radius: 3px;
183
- }
184
-
185
- &__icon {
186
- margin-right: 4px;
187
- }
188
-
189
- &__text {
190
- &--small {
191
- font-size: $hy-font-size-sm;
192
- line-height: $hy-font-size-sm;
193
- }
194
-
195
- &--medium {
196
- font-size: $hy-font-size-base;
197
- line-height: $hy-font-size-base;
198
- }
199
-
200
- &--large {
201
- font-size: $hy-font-size-lg;
202
- line-height: $hy-font-size-lg;
203
- }
204
- }
205
-
206
- &--small {
207
- height: 22px;
208
- line-height: 22px;
209
- padding: 0 5px;
210
- }
211
-
212
- &--medium {
213
- height: 26px;
214
- line-height: 22px;
215
- padding: 0 10px;
216
- }
217
-
218
- &--large {
219
- height: 32px;
220
- line-height: 32px;
221
- padding: 0 15px;
222
- }
223
-
224
- &--primary {
225
- background-color: $hy-primary;
226
- border-width: 1px;
227
- border-color: $hy-primary;
228
- }
229
-
230
- &--primary--plain {
231
- border-width: 1px;
232
- border-color: $hy-primary;
233
- }
234
-
235
- &--primary--plain--fill {
236
- background-color: #ecf5ff;
237
- }
238
-
239
- &__text--primary {
240
- color: #ffffff;
241
- }
242
-
243
- &__text--primary--plain {
244
- color: $hy-primary;
245
- }
246
-
247
- &--error {
248
- background-color: $hy-error;
249
- border-width: 1px;
250
- border-color: $hy-error;
251
- }
252
-
253
- &--error--plain {
254
- border-width: 1px;
255
- border-color: $hy-error;
256
- }
257
-
258
- &--error--plain--fill {
259
- background-color: #fef0f0;
260
- }
261
-
262
- &__text--error {
263
- color: #ffffff;
264
- }
265
-
266
- &__text--error--plain {
267
- color: $hy-error;
268
- }
269
-
270
- &--warning {
271
- background-color: $hy-warning;
272
- border-width: 1px;
273
- border-color: $hy-warning;
274
- }
275
-
276
- &--warning--plain {
277
- border-width: 1px;
278
- border-color: $hy-warning;
279
- }
280
-
281
- &--warning--plain--fill {
282
- background-color: #fdf6ec;
283
- }
284
-
285
- &__text--warning {
286
- color: #ffffff;
287
- }
288
-
289
- &__text--warning--plain {
290
- color: $hy-warning;
291
- }
292
-
293
- &--success {
294
- background-color: $hy-success;
295
- border-width: 1px;
296
- border-color: $hy-success;
297
- }
298
-
299
- &--success--plain {
300
- border-width: 1px;
301
- border-color: $hy-success;
302
- }
303
-
304
- &--success--plain--fill {
305
- background-color: #f5fff0;
306
- }
307
-
308
- &__text--success {
309
- color: #ffffff;
310
- }
311
-
312
- &__text--success--plain {
313
- color: $hy-success;
314
- }
315
-
316
- &--info {
317
- background-color: $hy-info;
318
- border-width: 1px;
319
- border-color: $hy-info;
320
- }
321
-
322
- &--info--plain {
323
- border-width: 1px;
324
- border-color: $hy-info;
325
- }
326
-
327
- &--info--plain--fill {
328
- background-color: #f4f4f5;
329
- }
330
-
331
- &__text--info {
332
- color: #ffffff;
333
- }
334
-
335
- &__text--info--plain {
336
- color: $hy-info;
337
- }
338
-
339
- &__close {
340
- position: absolute;
341
- z-index: 999;
342
- top: 10px;
343
- right: 10px;
344
- border-radius: 100px;
345
- background-color: #c6c7cb;
346
- @include flex(row);
347
- align-items: center;
348
- justify-content: center;
349
- /* #ifndef APP-NVUE */
350
- transform: scale(0.6) translate(80%, -80%);
351
- /* #endif */
352
- /* #ifdef APP-NVUE */
353
- transform: scale(0.6) translate(50%, -50%);
354
- /* #endif */
355
-
356
- &--small {
357
- width: 18px;
358
- height: 18px;
359
- }
360
-
361
- &--medium {
362
- width: 22px;
363
- height: 22px;
364
- }
365
-
366
- &--large {
367
- width: 25px;
368
- height: 25px;
369
- }
370
- }
371
- }
158
+ @import "./index.scss";
372
159
  </style>
@@ -0,0 +1,204 @@
1
+ @use "../../theme.scss" as *;
2
+ @use "../../libs/css/mixin.scss" as *;
3
+
4
+ .hy-tag {
5
+ @include flex;
6
+ align-items: center;
7
+ border-style: solid;
8
+
9
+ &__wrapper {
10
+ position: relative;
11
+ }
12
+
13
+ /*禁用*/
14
+ &--disabled {
15
+ background-color: $hy-color-disable-bg;
16
+ color: $hy-text-color-disable;
17
+ border: 1px solid $hy-color-disable-icon;
18
+ }
19
+
20
+ &--circle {
21
+ border-radius: $hy-border-radius-semicircle;
22
+ }
23
+
24
+ &--square {
25
+ border-radius: $hy-border-radius-sm;
26
+ }
27
+
28
+ &__icon {
29
+ margin-right: $hy-border-margin-padding-sm;
30
+ }
31
+
32
+ &__text {
33
+ &--small {
34
+ font-size: $hy-font-size-sm;
35
+ line-height: $hy-font-size-sm;
36
+ }
37
+
38
+ &--medium {
39
+ font-size: $hy-font-size-base;
40
+ line-height: $hy-font-size-base;
41
+ }
42
+
43
+ &--large {
44
+ font-size: $hy-font-size-lg;
45
+ line-height: $hy-font-size-lg;
46
+ }
47
+ }
48
+
49
+ &--small {
50
+ height: 22px;
51
+ line-height: 22px;
52
+ padding: 0 $hy-border-margin-padding-sm;
53
+ }
54
+
55
+ &--medium {
56
+ height: 26px;
57
+ line-height: 22px;
58
+ padding: 0 $hy-border-margin-padding-base;
59
+ }
60
+
61
+ &--large {
62
+ height: 32px;
63
+ line-height: 32px;
64
+ padding: 0 15px;
65
+ }
66
+
67
+ &--primary {
68
+ background-color: $hy-primary;
69
+ border: 1px solid $hy-primary;
70
+ }
71
+
72
+ &--primary--plain {
73
+ border: 1px solid $hy-primary;
74
+ }
75
+
76
+ &--primary--plain--fill {
77
+ background-color: $hy-primary-light;
78
+ }
79
+
80
+ &__text--primary {
81
+ color: #ffffff;
82
+ }
83
+
84
+ &__text--primary--plain {
85
+ color: $hy-primary;
86
+ }
87
+
88
+ &--error {
89
+ background-color: $hy-error;
90
+ border: 1px solid $hy-error;
91
+ }
92
+
93
+ &--error--plain {
94
+ border: 1px solid $hy-error;
95
+ }
96
+
97
+ &--error--plain--fill {
98
+ background-color: $hy-error-light;
99
+ }
100
+
101
+ &__text--error {
102
+ color: #ffffff;
103
+ }
104
+
105
+ &__text--error--plain {
106
+ color: $hy-error;
107
+ }
108
+
109
+ &--warning {
110
+ background-color: $hy-warning;
111
+ border: 1px solid $hy-warning;
112
+ }
113
+
114
+ &--warning--plain {
115
+ border: 1px solid $hy-warning;
116
+ }
117
+
118
+ &--warning--plain--fill {
119
+ background-color: $hy-warning-light;
120
+ }
121
+
122
+ &__text--warning {
123
+ color: #ffffff;
124
+ }
125
+
126
+ &__text--warning--plain {
127
+ color: $hy-warning;
128
+ }
129
+
130
+ &--success {
131
+ background-color: $hy-success;
132
+ border: 1px solid $hy-success;
133
+ }
134
+
135
+ &--success--plain {
136
+ border: 1px solid $hy-success;
137
+ }
138
+
139
+ &--success--plain--fill {
140
+ background-color: $hy-success-light;
141
+ }
142
+
143
+ &__text--success {
144
+ color: #ffffff;
145
+ }
146
+
147
+ &__text--success--plain {
148
+ color: $hy-success;
149
+ }
150
+
151
+ &--info {
152
+ background-color: $hy-info;
153
+ border: 1px solid $hy-info;
154
+ }
155
+
156
+ &--info--plain {
157
+ border: 1px solid $hy-info;
158
+ }
159
+
160
+ &--info--plain--fill {
161
+ background-color: $hy-info-light;
162
+ }
163
+
164
+ &__text--info {
165
+ color: #ffffff;
166
+ }
167
+
168
+ &__text--info--plain {
169
+ color: $hy-info;
170
+ }
171
+
172
+ &__close {
173
+ position: absolute;
174
+ z-index: 999;
175
+ top: 10px;
176
+ right: 10px;
177
+ border-radius: $hy-border-radius-semicircle;
178
+ background-color: #c6c7cb;
179
+ @include flex(row);
180
+ align-items: center;
181
+ justify-content: center;
182
+ /* #ifndef APP-NVUE */
183
+ transform: scale(0.6) translate(80%, -80%);
184
+ /* #endif */
185
+ /* #ifdef APP-NVUE */
186
+ transform: scale(0.6) translate(50%, -50%);
187
+ /* #endif */
188
+
189
+ &--small {
190
+ width: 18px;
191
+ height: 18px;
192
+ }
193
+
194
+ &--medium {
195
+ width: 22px;
196
+ height: 22px;
197
+ }
198
+
199
+ &--large {
200
+ width: 25px;
201
+ height: 25px;
202
+ }
203
+ }
204
+ }