@roblexperu/style 1.1.9 → 1.2.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 (56) hide show
  1. package/README.md +1 -1
  2. package/package.json +10 -11
  3. package/public/css/roblex-style.css +4 -4
  4. package/public/css/roblex-style.css.map +1 -1
  5. package/scripts/normalize-css.js +6 -0
  6. package/scripts/version-update.js +1 -1
  7. package/src/atoms/_avatar.scss +8 -5
  8. package/src/atoms/_buttons.scss +36 -33
  9. package/src/atoms/_check-radio.scss +5 -3
  10. package/src/atoms/_index.scss +10 -10
  11. package/src/atoms/_inputs.scss +19 -16
  12. package/src/atoms/_radio-button.scss +4 -2
  13. package/src/atoms/_toggle-button.scss +4 -2
  14. package/src/icons/_index.scss +1 -1
  15. package/src/main.scss +9 -9
  16. package/src/mixins/_flexbox.scss +4 -2
  17. package/src/mixins/_fonts.scss +41 -14
  18. package/src/mixins/_index.scss +3 -3
  19. package/src/mixins/_media.scss +7 -5
  20. package/src/organisms/_calculate.scss +18 -15
  21. package/src/organisms/_card.scss +4 -2
  22. package/src/organisms/_dropdown.scss +15 -11
  23. package/src/organisms/_footer.scss +24 -20
  24. package/src/organisms/_header-collapsed-sidepanel.scss +3 -1
  25. package/src/organisms/_header.scss +6 -3
  26. package/src/organisms/_index.scss +14 -14
  27. package/src/organisms/_modal.scss +9 -6
  28. package/src/organisms/_navbar-header.scss +6 -3
  29. package/src/organisms/_schedule-notifications.scss +3 -1
  30. package/src/organisms/_snack-bar.scss +5 -3
  31. package/src/organisms/_steps.scss +13 -9
  32. package/src/organisms/_trading-calculator.scss +18 -13
  33. package/src/pages/_accounts.scss +8 -4
  34. package/src/pages/_authentication.scss +3 -1
  35. package/src/pages/_changes.scss +17 -13
  36. package/src/pages/_index.scss +6 -6
  37. package/src/pages/_operations.scss +41 -37
  38. package/src/pages/_profile.scss +16 -12
  39. package/src/typography/_colors.scss +3 -1
  40. package/src/typography/_font-family.scss +6 -3
  41. package/src/typography/_index.scss +6 -6
  42. package/src/typography/_maax.scss +4 -1
  43. package/src/typography/_publica-sans-round-sizing.scss +4 -1
  44. package/src/typography/_publica-sans-round.scss +5 -1
  45. package/src/typography/_roblex-icons.scss +12 -9
  46. package/src/utility/_authentication.scss +4 -2
  47. package/src/utility/_display.scss +13 -5
  48. package/src/utility/_flex-grid.scss +5 -2
  49. package/src/utility/_index.scss +5 -5
  50. package/src/utility/_page.scss +9 -6
  51. package/src/utility/_sweet-alert.scss +36 -32
  52. package/src/vars/_flexbox.scss +4 -2
  53. package/src/vars/_index.scss +4 -4
  54. package/test/sass/flexbox.test.scss +164 -161
  55. package/test/sass/fonts.test.scss +47 -44
  56. package/test/sass/media.test.scss +38 -35
@@ -1,14 +1,17 @@
1
- @import '../../node_modules/sass-true/sass/true';
2
- @import '../../src/mixins/flexbox';
1
+ @use '../../node_modules/sass-true/sass/report';
2
+ @use '../../src/mixins/flexbox';
3
+ @use "../../node_modules/sass-true/sass/assert";
4
+ @use "../../node_modules/sass-true/sass/module";
5
+ @use "../../node_modules/sass-true/sass/test";
3
6
 
4
- @include describe('flexbox mixin') {
5
- @include it('sets display to flex with vendor-prefixed fallbacks') {
6
- @include assert {
7
- @include output {
8
- @include flexbox;
7
+ @include module.describe('flexbox mixin') {
8
+ @include test.it('sets display to flex with vendor-prefixed fallbacks') {
9
+ @include assert.assert {
10
+ @include assert.output {
11
+ @include flexbox.flexbox;
9
12
  }
10
13
 
11
- @include expect {
14
+ @include assert.expect {
12
15
  display: -webkit-box !important;
13
16
  display: -moz-box !important;
14
17
  display: -webkit-flex !important;
@@ -19,14 +22,14 @@
19
22
  }
20
23
  }
21
24
 
22
- @include describe('inline-flex mixin') {
23
- @include it('sets display to inline-flex with vendor-prefixed fallbacks') {
24
- @include assert {
25
- @include output {
26
- @include inline-flex;
25
+ @include module.describe('inline-flex mixin') {
26
+ @include test.it('sets display to inline-flex with vendor-prefixed fallbacks') {
27
+ @include assert.assert {
28
+ @include assert.output {
29
+ @include flexbox.inline-flex;
27
30
  }
28
31
 
29
- @include expect {
32
+ @include assert.expect {
30
33
  display: -webkit-inline-box !important;
31
34
  display: -moz-inline-box !important;
32
35
  display: -webkit-inline-flex !important;
@@ -37,14 +40,14 @@
37
40
  }
38
41
  }
39
42
 
40
- @include describe('flex-direction mixin') {
41
- @include it('defaults to row') {
42
- @include assert {
43
- @include output {
44
- @include flex-direction;
43
+ @include module.describe('flex-direction mixin') {
44
+ @include test.it('defaults to row') {
45
+ @include assert.assert {
46
+ @include assert.output {
47
+ @include flexbox.flex-direction;
45
48
  }
46
49
 
47
- @include expect {
50
+ @include assert.expect {
48
51
  -webkit-box-direction: normal !important;
49
52
  -webkit-box-orient: horizontal !important;
50
53
  -moz-box-direction: normal !important;
@@ -56,13 +59,13 @@
56
59
  }
57
60
  }
58
61
 
59
- @include it('reverses the box direction for row-reverse') {
60
- @include assert {
61
- @include output {
62
- @include flex-direction(row-reverse);
62
+ @include test.it('reverses the box direction for row-reverse') {
63
+ @include assert.assert {
64
+ @include assert.output {
65
+ @include flexbox.flex-direction(row-reverse);
63
66
  }
64
67
 
65
- @include expect {
68
+ @include assert.expect {
66
69
  -webkit-box-direction: reverse !important;
67
70
  -webkit-box-orient: horizontal !important;
68
71
  -moz-box-direction: reverse !important;
@@ -74,13 +77,13 @@
74
77
  }
75
78
  }
76
79
 
77
- @include it('switches the box orientation to vertical for column') {
78
- @include assert {
79
- @include output {
80
- @include flex-direction(column);
80
+ @include test.it('switches the box orientation to vertical for column') {
81
+ @include assert.assert {
82
+ @include assert.output {
83
+ @include flexbox.flex-direction(column);
81
84
  }
82
85
 
83
- @include expect {
86
+ @include assert.expect {
84
87
  -webkit-box-direction: normal !important;
85
88
  -webkit-box-orient: vertical !important;
86
89
  -moz-box-direction: normal !important;
@@ -92,13 +95,13 @@
92
95
  }
93
96
  }
94
97
 
95
- @include it('reverses the box direction for column-reverse') {
96
- @include assert {
97
- @include output {
98
- @include flex-direction(column-reverse);
98
+ @include test.it('reverses the box direction for column-reverse') {
99
+ @include assert.assert {
100
+ @include assert.output {
101
+ @include flexbox.flex-direction(column-reverse);
99
102
  }
100
103
 
101
- @include expect {
104
+ @include assert.expect {
102
105
  -webkit-box-direction: reverse !important;
103
106
  -webkit-box-orient: vertical !important;
104
107
  -moz-box-direction: reverse !important;
@@ -111,14 +114,14 @@
111
114
  }
112
115
  }
113
116
 
114
- @include describe('flex-wrap mixin') {
115
- @include it('maps the default nowrap value to -ms-flex-wrap: none') {
116
- @include assert {
117
- @include output {
118
- @include flex-wrap;
117
+ @include module.describe('flex-wrap mixin') {
118
+ @include test.it('maps the default nowrap value to -ms-flex-wrap: none') {
119
+ @include assert.assert {
120
+ @include assert.output {
121
+ @include flexbox.flex-wrap;
119
122
  }
120
123
 
121
- @include expect {
124
+ @include assert.expect {
122
125
  -webkit-flex-wrap: nowrap !important;
123
126
  -ms-flex-wrap: none !important;
124
127
  flex-wrap: nowrap !important;
@@ -126,13 +129,13 @@
126
129
  }
127
130
  }
128
131
 
129
- @include it('passes non-nowrap values straight through to -ms-flex-wrap') {
130
- @include assert {
131
- @include output {
132
- @include flex-wrap(wrap);
132
+ @include test.it('passes non-nowrap values straight through to -ms-flex-wrap') {
133
+ @include assert.assert {
134
+ @include assert.output {
135
+ @include flexbox.flex-wrap(wrap);
133
136
  }
134
137
 
135
- @include expect {
138
+ @include assert.expect {
136
139
  -webkit-flex-wrap: wrap !important;
137
140
  -ms-flex-wrap: wrap !important;
138
141
  flex-wrap: wrap !important;
@@ -141,14 +144,14 @@
141
144
  }
142
145
  }
143
146
 
144
- @include describe('flex-flow mixin') {
145
- @include it('defaults to row nowrap') {
146
- @include assert {
147
- @include output {
148
- @include flex-flow;
147
+ @include module.describe('flex-flow mixin') {
148
+ @include test.it('defaults to row nowrap') {
149
+ @include assert.assert {
150
+ @include assert.output {
151
+ @include flexbox.flex-flow;
149
152
  }
150
153
 
151
- @include expect {
154
+ @include assert.expect {
152
155
  -webkit-flex-flow: row nowrap !important;
153
156
  -ms-flex-flow: row nowrap !important;
154
157
  flex-flow: row nowrap !important;
@@ -156,13 +159,13 @@
156
159
  }
157
160
  }
158
161
 
159
- @include it('accepts a custom value list') {
160
- @include assert {
161
- @include output {
162
- @include flex-flow(column wrap);
162
+ @include test.it('accepts a custom value list') {
163
+ @include assert.assert {
164
+ @include assert.output {
165
+ @include flexbox.flex-flow(column wrap);
163
166
  }
164
167
 
165
- @include expect {
168
+ @include assert.expect {
166
169
  -webkit-flex-flow: column wrap !important;
167
170
  -ms-flex-flow: column wrap !important;
168
171
  flex-flow: column wrap !important;
@@ -171,14 +174,14 @@
171
174
  }
172
175
  }
173
176
 
174
- @include describe('order mixin') {
175
- @include it('defaults to 0, offsetting the box-ordinal-group properties by 1') {
176
- @include assert {
177
- @include output {
178
- @include order;
177
+ @include module.describe('order mixin') {
178
+ @include test.it('defaults to 0, offsetting the box-ordinal-group properties by 1') {
179
+ @include assert.assert {
180
+ @include assert.output {
181
+ @include flexbox.order;
179
182
  }
180
183
 
181
- @include expect {
184
+ @include assert.expect {
182
185
  -webkit-box-ordinal-group: 1 !important;
183
186
  -moz-box-ordinal-group: 1 !important;
184
187
  -webkit-order: 0 !important;
@@ -188,13 +191,13 @@
188
191
  }
189
192
  }
190
193
 
191
- @include it('offsets a custom order by 1 for the box-ordinal-group properties') {
192
- @include assert {
193
- @include output {
194
- @include order(2);
194
+ @include test.it('offsets a custom order by 1 for the box-ordinal-group properties') {
195
+ @include assert.assert {
196
+ @include assert.output {
197
+ @include flexbox.order(2);
195
198
  }
196
199
 
197
- @include expect {
200
+ @include assert.expect {
198
201
  -webkit-box-ordinal-group: 3 !important;
199
202
  -moz-box-ordinal-group: 3 !important;
200
203
  -webkit-order: 2 !important;
@@ -205,14 +208,14 @@
205
208
  }
206
209
  }
207
210
 
208
- @include describe('flex-grow mixin') {
209
- @include it('defaults to 1') {
210
- @include assert {
211
- @include output {
212
- @include flex-grow;
211
+ @include module.describe('flex-grow mixin') {
212
+ @include test.it('defaults to 1') {
213
+ @include assert.assert {
214
+ @include assert.output {
215
+ @include flexbox.flex-grow;
213
216
  }
214
217
 
215
- @include expect {
218
+ @include assert.expect {
216
219
  -webkit-box-flex: 1 !important;
217
220
  -moz-box-flex: 1 !important;
218
221
  -webkit-flex-grow: 1 !important;
@@ -223,14 +226,14 @@
223
226
  }
224
227
  }
225
228
 
226
- @include describe('flex-shrink mixin') {
227
- @include it('defaults to 0') {
228
- @include assert {
229
- @include output {
230
- @include flex-shrink;
229
+ @include module.describe('flex-shrink mixin') {
230
+ @include test.it('defaults to 0') {
231
+ @include assert.assert {
232
+ @include assert.output {
233
+ @include flexbox.flex-shrink;
231
234
  }
232
235
 
233
- @include expect {
236
+ @include assert.expect {
234
237
  -webkit-flex-shrink: 0 !important;
235
238
  -moz-flex-shrink: 0 !important;
236
239
  -ms-flex: 0 !important;
@@ -240,14 +243,14 @@
240
243
  }
241
244
  }
242
245
 
243
- @include describe('flex-basis mixin') {
244
- @include it('defaults to auto') {
245
- @include assert {
246
- @include output {
247
- @include flex-basis;
246
+ @include module.describe('flex-basis mixin') {
247
+ @include test.it('defaults to auto') {
248
+ @include assert.assert {
249
+ @include assert.output {
250
+ @include flexbox.flex-basis;
248
251
  }
249
252
 
250
- @include expect {
253
+ @include assert.expect {
251
254
  -ms-flex-preferred-size: auto !important;
252
255
  -webkit-flex-basis: auto !important;
253
256
  flex-basis: auto !important;
@@ -256,14 +259,14 @@
256
259
  }
257
260
  }
258
261
 
259
- @include describe('flex mixin') {
260
- @include it('defaults to grow:1 shrink:0 basis:auto') {
261
- @include assert {
262
- @include output {
263
- @include flex;
262
+ @include module.describe('flex mixin') {
263
+ @include test.it('defaults to grow:1 shrink:0 basis:auto') {
264
+ @include assert.assert {
265
+ @include assert.output {
266
+ @include flexbox.flex;
264
267
  }
265
268
 
266
- @include expect {
269
+ @include assert.expect {
267
270
  -webkit-box: 1 !important;
268
271
  -moz-box: 1 !important;
269
272
  -webkit-flex: 1 0 auto !important;
@@ -273,13 +276,13 @@
273
276
  }
274
277
  }
275
278
 
276
- @include it('uses the flex shorthand property alone when basis is initial') {
277
- @include assert {
278
- @include output {
279
- @include flex(1, 0, initial);
279
+ @include test.it('uses the flex shorthand property alone when basis is initial') {
280
+ @include assert.assert {
281
+ @include assert.output {
282
+ @include flexbox.flex(1, 0, initial);
280
283
  }
281
284
 
282
- @include expect {
285
+ @include assert.expect {
283
286
  -webkit-flex: initial !important;
284
287
  -ms-flex: initial !important;
285
288
  flex: initial !important;
@@ -288,14 +291,14 @@
288
291
  }
289
292
  }
290
293
 
291
- @include describe('justify-content mixin') {
292
- @include it('maps flex-start to box-pack: start') {
293
- @include assert {
294
- @include output {
295
- @include justify-content(flex-start);
294
+ @include module.describe('justify-content mixin') {
295
+ @include test.it('maps flex-start to box-pack: start') {
296
+ @include assert.assert {
297
+ @include assert.output {
298
+ @include flexbox.justify-content(flex-start);
296
299
  }
297
300
 
298
- @include expect {
301
+ @include assert.expect {
299
302
  -webkit-box-pack: start !important;
300
303
  -moz-box-pack: start !important;
301
304
  -ms-flex-pack: start !important;
@@ -305,13 +308,13 @@
305
308
  }
306
309
  }
307
310
 
308
- @include it('maps flex-end to box-pack: end') {
309
- @include assert {
310
- @include output {
311
- @include justify-content(flex-end);
311
+ @include test.it('maps flex-end to box-pack: end') {
312
+ @include assert.assert {
313
+ @include assert.output {
314
+ @include flexbox.justify-content(flex-end);
312
315
  }
313
316
 
314
- @include expect {
317
+ @include assert.expect {
315
318
  -webkit-box-pack: end !important;
316
319
  -moz-box-pack: end !important;
317
320
  -ms-flex-pack: end !important;
@@ -321,13 +324,13 @@
321
324
  }
322
325
  }
323
326
 
324
- @include it('maps space-between to box-pack: justify') {
325
- @include assert {
326
- @include output {
327
- @include justify-content(space-between);
327
+ @include test.it('maps space-between to box-pack: justify') {
328
+ @include assert.assert {
329
+ @include assert.output {
330
+ @include flexbox.justify-content(space-between);
328
331
  }
329
332
 
330
- @include expect {
333
+ @include assert.expect {
331
334
  -webkit-box-pack: justify !important;
332
335
  -moz-box-pack: justify !important;
333
336
  -ms-flex-pack: justify !important;
@@ -337,13 +340,13 @@
337
340
  }
338
341
  }
339
342
 
340
- @include it('maps space-around to -ms-flex-pack: distribute, without a box-pack fallback') {
341
- @include assert {
342
- @include output {
343
- @include justify-content(space-around);
343
+ @include test.it('maps space-around to -ms-flex-pack: distribute, without a box-pack fallback') {
344
+ @include assert.assert {
345
+ @include assert.output {
346
+ @include flexbox.justify-content(space-around);
344
347
  }
345
348
 
346
- @include expect {
349
+ @include assert.expect {
347
350
  -ms-flex-pack: distribute !important;
348
351
  -webkit-justify-content: space-around !important;
349
352
  justify-content: space-around !important;
@@ -351,13 +354,13 @@
351
354
  }
352
355
  }
353
356
 
354
- @include it('passes other values straight through to box-pack') {
355
- @include assert {
356
- @include output {
357
- @include justify-content(center);
357
+ @include test.it('passes other values straight through to box-pack') {
358
+ @include assert.assert {
359
+ @include assert.output {
360
+ @include flexbox.justify-content(center);
358
361
  }
359
362
 
360
- @include expect {
363
+ @include assert.expect {
361
364
  -webkit-box-pack: center !important;
362
365
  -moz-box-pack: center !important;
363
366
  -ms-flex-pack: center !important;
@@ -368,14 +371,14 @@
368
371
  }
369
372
  }
370
373
 
371
- @include describe('align-items mixin') {
372
- @include it('defaults to stretch') {
373
- @include assert {
374
- @include output {
375
- @include align-items;
374
+ @include module.describe('align-items mixin') {
375
+ @include test.it('defaults to stretch') {
376
+ @include assert.assert {
377
+ @include assert.output {
378
+ @include flexbox.align-items;
376
379
  }
377
380
 
378
- @include expect {
381
+ @include assert.expect {
379
382
  -webkit-box-align: stretch !important;
380
383
  -moz-box-align: stretch !important;
381
384
  -ms-flex-align: stretch !important;
@@ -385,13 +388,13 @@
385
388
  }
386
389
  }
387
390
 
388
- @include it('maps flex-start to box-align: start') {
389
- @include assert {
390
- @include output {
391
- @include align-items(flex-start);
391
+ @include test.it('maps flex-start to box-align: start') {
392
+ @include assert.assert {
393
+ @include assert.output {
394
+ @include flexbox.align-items(flex-start);
392
395
  }
393
396
 
394
- @include expect {
397
+ @include assert.expect {
395
398
  -webkit-box-align: start !important;
396
399
  -moz-box-align: start !important;
397
400
  -ms-flex-align: start !important;
@@ -401,13 +404,13 @@
401
404
  }
402
405
  }
403
406
 
404
- @include it('maps flex-end to box-align: end') {
405
- @include assert {
406
- @include output {
407
- @include align-items(flex-end);
407
+ @include test.it('maps flex-end to box-align: end') {
408
+ @include assert.assert {
409
+ @include assert.output {
410
+ @include flexbox.align-items(flex-end);
408
411
  }
409
412
 
410
- @include expect {
413
+ @include assert.expect {
411
414
  -webkit-box-align: end !important;
412
415
  -moz-box-align: end !important;
413
416
  -ms-flex-align: end !important;
@@ -418,14 +421,14 @@
418
421
  }
419
422
  }
420
423
 
421
- @include describe('align-self mixin') {
422
- @include it('defaults to auto') {
423
- @include assert {
424
- @include output {
425
- @include align-self;
424
+ @include module.describe('align-self mixin') {
425
+ @include test.it('defaults to auto') {
426
+ @include assert.assert {
427
+ @include assert.output {
428
+ @include flexbox.align-self;
426
429
  }
427
430
 
428
- @include expect {
431
+ @include assert.expect {
429
432
  -webkit-align-self: auto !important;
430
433
  -ms-flex-item-align: auto !important;
431
434
  align-self: auto !important;
@@ -433,13 +436,13 @@
433
436
  }
434
437
  }
435
438
 
436
- @include it('maps flex-end to -ms-flex-item-align: end') {
437
- @include assert {
438
- @include output {
439
- @include align-self(flex-end);
439
+ @include test.it('maps flex-end to -ms-flex-item-align: end') {
440
+ @include assert.assert {
441
+ @include assert.output {
442
+ @include flexbox.align-self(flex-end);
440
443
  }
441
444
 
442
- @include expect {
445
+ @include assert.expect {
443
446
  -webkit-align-self: flex-end !important;
444
447
  -ms-flex-item-align: end !important;
445
448
  align-self: flex-end !important;
@@ -448,14 +451,14 @@
448
451
  }
449
452
  }
450
453
 
451
- @include describe('align-content mixin') {
452
- @include it('defaults to stretch') {
453
- @include assert {
454
- @include output {
455
- @include align-content;
454
+ @include module.describe('align-content mixin') {
455
+ @include test.it('defaults to stretch') {
456
+ @include assert.assert {
457
+ @include assert.output {
458
+ @include flexbox.align-content;
456
459
  }
457
460
 
458
- @include expect {
461
+ @include assert.expect {
459
462
  -webkit-align-content: stretch !important;
460
463
  -ms-flex-line-pack: stretch !important;
461
464
  align-content: stretch !important;
@@ -463,13 +466,13 @@
463
466
  }
464
467
  }
465
468
 
466
- @include it('maps flex-start to -ms-flex-line-pack: start') {
467
- @include assert {
468
- @include output {
469
- @include align-content(flex-start);
469
+ @include test.it('maps flex-start to -ms-flex-line-pack: start') {
470
+ @include assert.assert {
471
+ @include assert.output {
472
+ @include flexbox.align-content(flex-start);
470
473
  }
471
474
 
472
- @include expect {
475
+ @include assert.expect {
473
476
  -webkit-align-content: flex-start !important;
474
477
  -ms-flex-line-pack: start !important;
475
478
  align-content: flex-start !important;