@woosmap/ui 3.32.0 → 3.36.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 (37) hide show
  1. package/.storybook/preview.js +2 -2
  2. package/package.json +2 -2
  3. package/src/{styles/next-website → components/Demo}/MerchantDemo.styl +0 -0
  4. package/src/{styles/next-website/demo.styl → components/Demo/skeletondemo.styl} +12 -35
  5. package/src/styles/console/button.styl +5 -13
  6. package/src/styles/console/colors.styl +44 -43
  7. package/src/styles/console/fonts.styl +1 -1
  8. package/src/styles/console/mixins.styl +3 -0
  9. package/src/styles/console/tab.styl +51 -1
  10. package/src/styles/console/variables.styl +12 -0
  11. package/src/styles/style-console.styl +7 -10
  12. package/src/styles/style-website.styl +8 -9
  13. package/src/styles/website/button.styl +416 -128
  14. package/src/styles/website/card.styl +302 -0
  15. package/src/styles/website/colors.styl +279 -46
  16. package/src/styles/website/dropdown.styl +123 -0
  17. package/src/styles/website/fonts.styl +1 -1
  18. package/src/styles/website/input.styl +7 -7
  19. package/src/styles/website/mixins.styl +192 -4
  20. package/src/styles/website/popover.styl +8 -0
  21. package/src/styles/website/select.styl +47 -25
  22. package/src/styles/website/tab.styl +5 -4
  23. package/src/styles/website/variables.styl +111 -28
  24. package/src/styles/console/skeletondemo.styl +0 -588
  25. package/src/styles/next-website/button.styl +0 -416
  26. package/src/styles/next-website/colors.styl +0 -287
  27. package/src/styles/next-website/dropdown.styl +0 -82
  28. package/src/styles/next-website/font.styl +0 -1
  29. package/src/styles/next-website/input.styl +0 -138
  30. package/src/styles/next-website/mixins.styl +0 -128
  31. package/src/styles/next-website/select.styl +0 -113
  32. package/src/styles/next-website/tab.styl +0 -41
  33. package/src/styles/next-website/variables.styl +0 -120
  34. package/src/styles/style-next-website.styl +0 -26
  35. package/src/styles/website/MerchantDemo.styl +0 -203
  36. package/src/styles/website/skeletondemo.styl +0 -540
  37. package/src/styles/website/style.styl +0 -2
@@ -1,203 +0,0 @@
1
- .merchant
2
- &__mobilewrapper
3
- position relative
4
- height 58.2rem
5
- overflow hidden
6
- flex-grow 1
7
- &__mobilecontainer
8
- position relative
9
- height 100%
10
- width 28rem
11
- margin auto
12
- &__title
13
- text-align center
14
- color $light
15
- font-size 1.7rem
16
- font-weight 600
17
- margin 1rem 0 2rem 0
18
- &__mobile
19
- width 100%
20
- height 52.9rem
21
- background-color $light
22
- br(2)
23
- overflow hidden
24
- &--dirty
25
- &--details--dirty
26
- .merchant__mobile__header
27
- background #666767
28
- &--clean
29
- &--details
30
- .merchant__mobile__header
31
- background #4F70FF
32
- &--details
33
- height 52.9rem
34
- &__header
35
- padding 1.6rem
36
- color #fff
37
- text-transform uppercase
38
- font-size 1.7rem
39
- font-weight 600
40
- &__nav
41
- &__icons
42
- flexSpread()
43
- &__icons
44
- img
45
- max-height 1.2rem
46
- &__nav
47
- margin-top 2rem
48
- position relative
49
- .merchant__mobile--details &
50
- .merchant__mobile--details--dirty &
51
- flexAxis()
52
- &__avatar
53
- max-width 3.2rem
54
- &__back
55
- max-width 1.4rem
56
- opacity 0
57
- .merchant__mobile--details &
58
- .merchant__mobile--details--dirty &
59
- opacity 1
60
- &__button
61
- position absolute
62
- background-color transparent
63
- left -1.2rem
64
- &:hover
65
- background-color $dark30
66
-
67
- &__section
68
- font-size 1.5rem
69
- padding 1.4rem 2rem
70
- height 100%
71
- overflow auto
72
- .merchant__mobile--details &
73
- padding 0
74
- .merchant__mobile--details--dirty &
75
- border .1rem solid $dark20
76
- background-color $dark3
77
- margin 2rem
78
- br(1)
79
- height auto
80
- overflow hidden
81
- &__map
82
- overflow hidden
83
- height 20rem
84
- &__no-map
85
- height 6rem
86
- &__date
87
- color #C8C8C7
88
- font-size 1.4rem
89
- margin-bottom 1.6rem
90
- .merchant__mobile--details &
91
- .merchant__mobile--details--dirty &
92
- text-align center
93
- margin .4rem 0 0 0
94
- .merchant__mobile--details--dirty &
95
- margin 0 0 2rem 0
96
- &__transaction
97
- flexSpread()
98
- br(1)
99
- trans()
100
- cursor pointer
101
- height 6.2rem
102
- padding .8rem
103
- box-shadow 0 0 1rem $dark10
104
- width 100%
105
- margin-bottom 1.2rem
106
- &:hover
107
- background-color #666767
108
- .merchant__mobile--clean &
109
- background-color #4F70FF
110
- .merchant__mobile__section__transaction
111
- &__link
112
- color $light
113
- &__info
114
- &__name
115
- color $light
116
- &__date
117
- color $light50
118
- &__price
119
- color $light
120
- &__link
121
- color #999
122
- margin 0 .6rem 0 1.4rem
123
- img
124
- max-width .7rem
125
- &__info
126
- width 100%
127
- min-width 0
128
- margin-right 1.2rem
129
- .merchant__mobile--clean &
130
- flexMiddle()
131
- .merchant__mobile--details &
132
- margin 0
133
- &__address
134
- padding 1rem 2rem
135
- color#999
136
- text-align center
137
- &__logo
138
- sq(4.6)
139
- br(50)
140
- position relative
141
- margin-right 1.2rem
142
- flex-shrink 0
143
- .merchant__mobile--details &
144
- width 100%
145
- height 5rem
146
- img
147
- ellipsis()
148
- br(50)
149
- sq(4.6)
150
- background #fff
151
- border .1rem solid #f1f1f1
152
- box-shadow 0 0 .6rem $dark10
153
-
154
- .merchant__mobile--details &
155
- sq(8)
156
- position absolute
157
- left calc(50% - 4rem)
158
- top -4rem
159
- box-shadow 0 0 1rem $dark25
160
- border .3rem solid #fff
161
- &__name
162
- ellipsis()
163
- font-weight 500
164
- .merchant__mobile--details &
165
- .merchant__mobile--details--dirty &
166
- text-align center
167
- font-size 2rem
168
- &__date
169
- color #7E7F7F
170
- font-size 1.2rem
171
- &__price
172
- font-weight 600
173
- .merchant__mobile--details &
174
- .merchant__mobile--details--dirty &
175
- margin-top 1rem
176
- font-size 5rem
177
- line-height 1
178
- text-align center
179
- font-weight 400
180
- .merchant__mobile--details--dirty &
181
- font-size 3.5rem
182
-
183
- @media screen and (max-width 660px)
184
- .merchant
185
- &__mobilewrapper
186
- margin-right 0 !important
187
- @media screen and (max-width 370px)
188
- .merchant
189
- &__mobilewrapper
190
- width 100%
191
- &__mobilecontainer
192
- width 100%
193
- &__title
194
- color #454545
195
- &__mobile__section__transaction
196
- font-size 85%
197
- @media screen and (max-width 350px)
198
- .merchant
199
- &__mobile__section__transaction__info__logo
200
- &__mobile__section__transaction__info__logo img
201
- sq(3.6)
202
-
203
-
@@ -1,540 +0,0 @@
1
- // Vars
2
- $mapWidth = 40rem
3
- $mapWidthSmall = 40rem
4
- $mapHeight = 36rem
5
- $bigMapHeight = 59.5rem
6
-
7
- // Overall style
8
- .demo
9
- position relative
10
- height 100%
11
- margin-bottom 6rem
12
- .map
13
- height 100%
14
- width 100%
15
- .overlay
16
- br(1)
17
- position absolute
18
- top 0
19
- left 0
20
- z-index 10
21
- width 100%
22
- height 100%
23
- background-color $light70
24
- cursor not-allowed
25
- &--merchant
26
- .tab__content
27
- height 57rem
28
- max-height 57rem
29
- .demo__label
30
- white-space normal
31
- &--localities
32
- .tab__content
33
- height 55rem
34
- max-height 55rem
35
- &--map
36
- .tab__content
37
- height 49.6rem
38
- max-height 49.6rem
39
- &--localities
40
- &--uk
41
- .tab__content
42
- height 44.2rem
43
- max-height 44.2rem
44
- &__formcontainer
45
- width 100%
46
- height 100%
47
- position relative
48
- padding 1.6rem 2.6rem 3rem 2.6rem
49
- mbib(2)
50
- .input
51
- &__item
52
- min-width 16rem !important
53
- &--fr
54
- .tab__content
55
- height 37.2rem
56
- max-height 37.2rem
57
- &__formcontainer
58
- width 100%
59
- height 100%
60
- position relative
61
- padding 1.6rem 2.6rem 3rem 2.6rem
62
- mbib(2)
63
- .input
64
- &__item
65
- min-width 16rem !important
66
- &--address
67
- &--localitiesaddress
68
- &__formcontainer
69
- width 100%
70
- height 100%
71
- mbib(2)
72
- position relative
73
- padding 1.6rem 2.6rem 3rem 2.6rem
74
- .tab__content
75
- height 54.1rem
76
- max-height 54.1rem
77
- .demo__map
78
- height 59.5rem
79
-
80
- &--map
81
- .demo__map
82
- width 55rem
83
- height 55rem
84
-
85
- &__header
86
- margin-left auto
87
- margin-right auto
88
- margin-bottom 4rem
89
- &__title
90
- font-size 34px
91
- font-weight 600
92
- margin-bottom 3rem
93
- mbi(3)
94
- &--mini
95
- font-weight 600
96
- img
97
- display block
98
- &__desc
99
- font-size 2rem
100
- font-weight 400
101
- line-height 3.2rem
102
- margin-bottom 3rem
103
- &__list
104
- margin-left 60px
105
- li
106
- list-style disc
107
- list-style-position inside
108
- margin 5px 0 5px 0
109
- a
110
- color $primary
111
- font-weight 600
112
- cursor pointer
113
- p
114
- margin-bottom 20px
115
- &__cost
116
- display block
117
- margin-bottom 1rem
118
- color $dark40
119
- font-size 1.3rem
120
- line-height 1.3
121
- font-weight 400
122
- &__label
123
- font-weight 600
124
- font-size 2rem
125
- white-space nowrap
126
- .demo--merchant &
127
- .demo--geolocation &
128
- color black
129
- flexMiddle()
130
- mbi()
131
- width 100%
132
- white-space normal
133
- img
134
- width 4rem
135
- &--wide
136
- width 35rem
137
- .demo--merchant &
138
- width 100%
139
- &--filter
140
- white-space nowrap
141
- font-weight 400
142
- font-size 1.6rem
143
- line-height 1.4
144
- &__content
145
- display flex
146
- align-items stretch
147
- br(1)
148
- overflow hidden
149
- border .1rem solid $dark10
150
- &-wrapper
151
- padding 3rem
152
- br(1)
153
- // border .1rem solid $demoWrapperBorder
154
- background $demoWrapper
155
- // background radial-gradient(circle, $demoWrapper 0, $demoWrapper2 100% )
156
- box-shadow inset 0 0 30rem $demoWrapper2
157
- &-header
158
- flexMiddle()
159
- .demo--search &
160
- .demo--distance &
161
- .demo--address &
162
- .demo--localitiesaddress &
163
- .demo--localities &
164
- margin-bottom 1rem
165
- .demo__input-container
166
- margin-bottom 2rem
167
- .demo--address &
168
- .demo--localitiesaddress &
169
- .demo--localities &
170
- mbi(4)
171
- flex-wrap nowrap
172
- > :nth-child(2)
173
- width 100%
174
-
175
- &-footer
176
- &-header
177
- margin-bottom 3rem
178
- mbi(2rem)
179
- position relative
180
- z-index 20
181
- flex-wrap wrap
182
- flex-shrink 0
183
- &-footer
184
- margin-bottom 1rem
185
- flexSpread()
186
- z-index 15
187
- .demo__input-container
188
- margin-bottom 2rem
189
- .demo--distance &
190
- .demo--address &
191
- .demo--localitiesaddress &
192
- justify-content flex-start
193
- .demo--search &
194
- margin-bottom 3rem
195
- .demo__input-container
196
- margin-bottom 0rem
197
- .demo--address &
198
- .demo--localitiesaddress &
199
- mbi(4)
200
- :nth-child(2)
201
- .select
202
- min-width 18rem
203
- width 100%
204
- .demo__label--filter
205
- width auto !important
206
- .demo--map &
207
- justify-content flex-start
208
- mbi(4)
209
- .demo__label--filter
210
- font-weight 600
211
-
212
- &__input-container
213
- flexMiddle()
214
- mbi(2)
215
- &--inline
216
- width 100%
217
- flexMiddle()
218
- mbi(2)
219
- &__map
220
- overflow hidden
221
- flex-shrink 0
222
- width 50rem
223
- height $mapHeight
224
- z-index 1
225
- &--small
226
- width $mapWidthSmall
227
- button
228
- &:focus
229
- box-shadow 0 0 0 .1rem $focus
230
- .demo--localities &
231
- height $bigMapHeight
232
- &__results
233
- background $result
234
- width 30rem
235
- flex-shrink 0
236
- max-height $mapHeight
237
- box-shadow 0 0 1rem $dark15
238
- z-index 2
239
- .demo--localities &
240
- max-height unset
241
- .demo--localities--uk &
242
- width 50rem
243
- max-height unset
244
- .demo--localities--fr &
245
- width 50rem
246
- max-height unset
247
- .demo--merchant &
248
- width 100%
249
- height 100%
250
- max-height unset
251
- max-width 100%
252
- flexMiddle()
253
- padding 2rem
254
- mbi(2)
255
- background-color transparent
256
- box-shadow none
257
- .demo--address &
258
- .demo--localitiesaddress &
259
- width 34rem
260
- &__header
261
- background $tabHeader
262
- background linear-gradient(90deg, $tabHeader2 15%, $tabHeader 100%)
263
- padding 0 2rem
264
- height $tabBtnHeight + 1
265
- font-size 90%
266
- font-weight 400
267
- flexMiddle()
268
- mbi(2)
269
- text-transform uppercase
270
- color $tabBtnActive
271
- .demo--localities--uk &
272
- .demo--localities--fr &
273
- .demo--address &
274
- .demo--localitiesaddress &
275
- display none
276
- &__leftcontent
277
- position relative
278
- .demo--merchant &
279
- background-color #454545
280
- &__content
281
- position relative
282
- padding 2rem
283
- overflow-y auto
284
- height 100%
285
- min-height 20rem
286
- ul
287
- line-height 1.6
288
- mbib(1)
289
- .demo--localities--uk &
290
- .demo--localities--fr &
291
- .demo--address &
292
- .demo--localitiesaddress &
293
- padding 0
294
- font-size 1.5rem
295
- mbib(2)
296
- background-color #f3f9fd
297
- .demo--address &
298
- .demo--localitiesaddress &
299
- .demo--localities &
300
- height auto
301
- .localities-matched
302
- background-color $resultMatch
303
- &__item
304
- &:not(:last-child)
305
- margin-bottom 1.4rem
306
- &__api
307
- overflow hidden
308
- width 40rem
309
- flex-grow 1
310
- min-height $mapHeight
311
- background-color $tabContent
312
- box-shadow 0 0 1rem $dark15
313
- z-index 2
314
- min-width 0// To fit to Docs container
315
- &__footer
316
- mbib(2)
317
- input[type=text]
318
- .select__control
319
- .asyncselect__control
320
- min-width 22rem
321
- .demo--localities--uk &
322
- .demo--localities--fr &
323
- min-width 16rem
324
- &__input-container
325
- position relative
326
- .demo--localities--uk &
327
- .demo--localities--fr &
328
- width 100%
329
- .select
330
- width 100%
331
-
332
- // Responsiveness
333
- @media screen and (max-width 1090px)
334
- .demo
335
- &__results
336
- width 23rem
337
- &__map
338
- width 36rem
339
-
340
- @media screen and (max-width 999px)
341
- .demo
342
- &__header
343
- &__results
344
- &__map
345
- &__api
346
- &__footer
347
- &__input-container
348
- &__label
349
- &__label--filter
350
- .select
351
- .asyncselect-container
352
- width 100% !important
353
- &__content
354
- flexCol()
355
- align-items center
356
- &-footer
357
- .demo--distance &
358
- .demo--address &
359
- .demo--localitiesaddress &
360
- .demo--map &
361
- margin-bottom 0
362
- .demo
363
- &__label--filter
364
- margin-bottom 0
365
- mbi()
366
- &__input-container
367
- flex-direction row
368
- align-items center
369
- width auto !important
370
- margin-bottom 3rem
371
- .demo--search &
372
- .demo
373
- &__input-container
374
- flex-direction row
375
- align-items center
376
- width auto
377
- &__label--filter
378
- margin-bottom 0
379
- &-header
380
- .demo--address &
381
- .demo--localitiesaddress &
382
- flex-wrap wrap
383
- .demo--geolocation &
384
- margin-bottom 2rem
385
- .demo
386
- &__label
387
- margin-bottom 0
388
- .demo--distance &
389
- .demo--address &
390
- .demo--localitiesaddress &
391
- .demo--search &
392
- .demo--map &
393
- .demo
394
- &__input-container
395
- margin-right 0
396
- &__input-container
397
- align-items flex-start
398
- flex-direction column
399
- &__label
400
- margin-right 0 !important
401
- &__label--filter
402
- &__label
403
- margin-bottom 2rem
404
- input[type=text]
405
- .select__control
406
- .asyncselect__control
407
- min-width 100%
408
- &__results
409
- .demo--merchant &
410
- width auto
411
- flex-wrap wrap
412
- align-items flex-start
413
- justify-content center
414
- > :first-child
415
- margin-bottom 2rem
416
-
417
- &__leftcontent
418
- .demo--merchant &
419
- width 100%
420
- flexAxis()
421
- @media screen and (max-width 960px)
422
- .demo
423
- &__results
424
- &__content
425
- padding $tabPadding - .5
426
-
427
- @media screen and (max-width 720px)
428
- .demo
429
- &__title
430
- font-size 3rem
431
- &__desc
432
- font-size 1.75rem
433
- &__content
434
- &-wrapper
435
- padding 1.8rem
436
- &-footer
437
- flex-direction column
438
- .demo--distance &
439
- .demo--address &
440
- .demo--localitiesaddress &
441
- .demo--map &
442
- flex-direction row
443
- &__results
444
- .demo--merchant &
445
- width 100%
446
- justify-content center
447
- @media screen and (max-width 670px)
448
- .demo
449
- pre
450
- code
451
- .btn--tab
452
- font-size 85%
453
- &__results
454
- font-size 90%
455
- &__label
456
- &__label--filter
457
- font-size 90%
458
- .asyncselect__single-value
459
- .input__item
460
- font-size $inputFontSize - .2
461
- .demo--merchant &
462
- justify-content center
463
- &.demo--localities
464
- .demo
465
- &__content-header
466
- flex-direction column
467
- &__input-container
468
- margin-right 0
469
- @media screen and (max-width 440px)
470
- .demo
471
- &.demo--distance
472
- &.demo--address
473
- &.demo--localitiesaddress
474
- &.demo--map
475
- .demo__input-container
476
- &:nth-child(3)
477
- flex-direction column
478
- .demo__label--filter
479
- margin 0 0 2rem 0
480
- &.demo--geolocation
481
- .demo__label
482
- font-size 1.6rem
483
- &.demo--distance
484
- &.demo--localities
485
- &.demo--localities--uk
486
- &.demo--address
487
- &.demo--localitiesaddress
488
- .flag
489
- width 2rem
490
- height 1.4rem
491
- .demo__input-container--inline
492
- flex-direction column
493
- .select
494
- margin 0 0 2rem 0
495
- &.demo--localities--uk
496
- &.demo--address
497
- &.demo--localitiesaddress
498
- .demo__input-container--inline
499
- .input
500
- margin 0 0 2rem 0
501
- &.demo--search
502
- .demo
503
- &__content
504
- &-footer
505
- flex-direction row
506
- &__label--filter
507
- margin-bottom 2rem
508
- &__input-container
509
- align-items flex-start
510
- justify-content flex-start
511
- flex-direction column
512
- &.demo--merchant
513
- .demo__results
514
- padding 2rem 0
515
- &.demo--map
516
- .btn--group-container
517
- .btn
518
- font-size 1.4rem
519
- height 3.6rem
520
- padding 0 .8rem
521
- &__desc
522
- &__list
523
- margin-left 20px
524
- @media screen and (max-width 370px)
525
- .demo
526
- &.demo--merchant
527
- .demo
528
- &__label
529
- margin-bottom 0
530
- &__results
531
- padding 0 0 2rem 0
532
- &__leftcontent
533
- background-color transparent
534
- &__content
535
- border 0
536
- @media screen and (max-width 320px)
537
- .demo
538
- .btn--group-container
539
- .btn.btn--small.btn--group
540
- padding 0 .6rem