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