@alfalab/core-components-tabs 6.0.1 → 6.2.1

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 (97) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/components/primary-tablist/Component.desktop.js +2 -2
  3. package/dist/components/primary-tablist/Component.js +1 -1
  4. package/dist/components/primary-tablist/Component.mobile.js +3 -3
  5. package/dist/components/primary-tablist/Component.responsive.js +2 -2
  6. package/dist/components/primary-tablist/index.css +23 -19
  7. package/dist/components/primary-tablist/mobile.css +125 -30
  8. package/dist/components/scrollable-container/Component.js +1 -1
  9. package/dist/components/scrollable-container/index.css +10 -3
  10. package/dist/components/secondary-tablist/Component.desktop.js +4 -4
  11. package/dist/components/secondary-tablist/Component.js +1 -1
  12. package/dist/components/secondary-tablist/Component.mobile.js +3 -3
  13. package/dist/components/secondary-tablist/Component.responsive.js +2 -2
  14. package/dist/components/secondary-tablist/index.css +28 -32
  15. package/dist/components/secondary-tablist/mobile.css +128 -41
  16. package/dist/components/tab/Component.js +1 -1
  17. package/dist/components/tab/index.css +3 -3
  18. package/dist/components/tabs/Component.desktop.js +4 -4
  19. package/dist/components/tabs/Component.mobile.js +3 -3
  20. package/dist/components/tabs/Component.responsive.js +3 -3
  21. package/dist/cssm/components/primary-tablist/index.module.css +6 -2
  22. package/dist/cssm/components/primary-tablist/mobile.module.css +4 -0
  23. package/dist/cssm/components/scrollable-container/index.module.css +7 -0
  24. package/dist/cssm/components/secondary-tablist/Component.desktop.js +2 -2
  25. package/dist/cssm/components/secondary-tablist/index.module.css +20 -24
  26. package/dist/cssm/components/secondary-tablist/mobile.module.css +4 -3
  27. package/dist/cssm/components/tabs/Component.desktop.js +1 -1
  28. package/dist/cssm/typings.d.ts +1 -1
  29. package/dist/cssm/vars.css +4 -0
  30. package/dist/desktop.js +3 -3
  31. package/dist/esm/components/primary-tablist/Component.desktop.js +2 -2
  32. package/dist/esm/components/primary-tablist/Component.js +1 -1
  33. package/dist/esm/components/primary-tablist/Component.mobile.js +3 -3
  34. package/dist/esm/components/primary-tablist/Component.responsive.js +2 -2
  35. package/dist/esm/components/primary-tablist/index.css +23 -19
  36. package/dist/esm/components/primary-tablist/mobile.css +125 -30
  37. package/dist/esm/components/scrollable-container/Component.js +1 -1
  38. package/dist/esm/components/scrollable-container/index.css +10 -3
  39. package/dist/esm/components/secondary-tablist/Component.desktop.js +4 -4
  40. package/dist/esm/components/secondary-tablist/Component.js +1 -1
  41. package/dist/esm/components/secondary-tablist/Component.mobile.js +3 -3
  42. package/dist/esm/components/secondary-tablist/Component.responsive.js +2 -2
  43. package/dist/esm/components/secondary-tablist/index.css +28 -32
  44. package/dist/esm/components/secondary-tablist/mobile.css +128 -41
  45. package/dist/esm/components/tab/Component.js +1 -1
  46. package/dist/esm/components/tab/index.css +3 -3
  47. package/dist/esm/components/tabs/Component.desktop.js +4 -4
  48. package/dist/esm/components/tabs/Component.mobile.js +3 -3
  49. package/dist/esm/components/tabs/Component.responsive.js +3 -3
  50. package/dist/esm/desktop.js +3 -3
  51. package/dist/esm/index.js +3 -3
  52. package/dist/esm/index.module-2f424545.js +4 -0
  53. package/dist/esm/index.module-7dc22d31.js +4 -0
  54. package/dist/esm/mobile.js +3 -3
  55. package/dist/esm/responsive.js +3 -3
  56. package/dist/esm/{tslib.es6-f32a8b0b.d.ts → tslib.es6-9ad58300.d.ts} +0 -0
  57. package/dist/esm/{tslib.es6-f32a8b0b.js → tslib.es6-9ad58300.js} +0 -0
  58. package/dist/esm/typings.d.ts +1 -1
  59. package/dist/index.js +3 -3
  60. package/dist/index.module-c212f00a.js +6 -0
  61. package/dist/index.module-ea992fa6.js +6 -0
  62. package/dist/mobile.js +3 -3
  63. package/dist/modern/components/primary-tablist/Component.desktop.js +1 -1
  64. package/dist/modern/components/primary-tablist/Component.mobile.js +2 -2
  65. package/dist/modern/components/primary-tablist/Component.responsive.js +1 -1
  66. package/dist/modern/components/primary-tablist/index.css +23 -19
  67. package/dist/modern/components/primary-tablist/mobile.css +125 -30
  68. package/dist/modern/components/scrollable-container/Component.js +1 -1
  69. package/dist/modern/components/scrollable-container/index.css +10 -3
  70. package/dist/modern/components/secondary-tablist/Component.desktop.js +2 -2
  71. package/dist/modern/components/secondary-tablist/Component.mobile.js +2 -2
  72. package/dist/modern/components/secondary-tablist/Component.responsive.js +1 -1
  73. package/dist/modern/components/secondary-tablist/index.css +28 -32
  74. package/dist/modern/components/secondary-tablist/mobile.css +128 -41
  75. package/dist/modern/components/tab/Component.js +1 -1
  76. package/dist/modern/components/tab/index.css +3 -3
  77. package/dist/modern/components/tabs/Component.desktop.js +3 -3
  78. package/dist/modern/components/tabs/Component.mobile.js +2 -2
  79. package/dist/modern/components/tabs/Component.responsive.js +2 -2
  80. package/dist/modern/desktop.js +2 -2
  81. package/dist/modern/index.js +2 -2
  82. package/dist/modern/index.module-2f424545.js +4 -0
  83. package/dist/modern/index.module-7dc22d31.js +4 -0
  84. package/dist/modern/mobile.js +2 -2
  85. package/dist/modern/responsive.js +2 -2
  86. package/dist/modern/typings.d.ts +1 -1
  87. package/dist/responsive.js +3 -3
  88. package/dist/{tslib.es6-a945f620.d.ts → tslib.es6-e6e536b3.d.ts} +0 -0
  89. package/dist/{tslib.es6-a945f620.js → tslib.es6-e6e536b3.js} +0 -0
  90. package/dist/typings.d.ts +1 -1
  91. package/package.json +3 -3
  92. package/dist/esm/index.module-5f8ab866.js +0 -4
  93. package/dist/esm/index.module-79dd2b67.js +0 -4
  94. package/dist/index.module-09355c68.js +0 -6
  95. package/dist/index.module-313ebd46.js +0 -6
  96. package/dist/modern/index.module-5f8ab866.js +0 -4
  97. package/dist/modern/index.module-79dd2b67.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: ymbos */
1
+ /* hash: 1rswn */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -13,13 +13,10 @@
13
13
  }:root {
14
14
  --gap-xs: 8px;
15
15
  --gap-s: 12px;
16
+ --gap-m: 16px;
16
17
  }:root {
17
18
  }:root {
18
19
  }:root {
19
- --size-s-height: 48px;
20
- --size-m-height: 56px;
21
- --size-l-height: 64px;
22
- --size-xl-height: 72px;
23
20
  }:root {
24
21
 
25
22
  /* mobile */
@@ -35,6 +32,12 @@
35
32
  /* mobile */
36
33
  --secondary-tablist-mobile-gaps: var(--gap-xs);
37
34
 
35
+ /* size xxs */
36
+ --secondary-tablist-xxs-gaps: var(--gap-xs);
37
+
38
+ /* size xs */
39
+ --secondary-tablist-xs-gaps: var(--gap-xs);
40
+
38
41
  /* size s */
39
42
  --secondary-tablist-s-gaps: var(--gap-s);
40
43
 
@@ -42,36 +45,32 @@
42
45
  --secondary-tablist-m-gaps: var(--gap-s);
43
46
 
44
47
  /* size l */
45
- --secondary-tablist-l-gaps: var(--gap-s);
48
+ --secondary-tablist-l-gaps: var(--gap-m);
46
49
 
47
50
  /* size xl */
48
- --secondary-tablist-xl-gaps: var(--gap-s);
49
- }.tabs__component_16m8j {
51
+ --secondary-tablist-xl-gaps: var(--gap-m);
52
+ }.tabs__component_9sv36 {
50
53
  position: relative;
51
54
  display: flex;
52
55
  align-items: center;
53
- }.tabs__container_16m8j {
56
+ }.tabs__container_9sv36 {
54
57
  display: flex;
55
58
  align-items: center;
56
- }.tabs__title_16m8j {
59
+ }.tabs__title_9sv36 {
57
60
  white-space: nowrap;
58
- }/* sizes */.tabs__s_16m8j {
59
- height: var(--size-s-height)
60
- }.tabs__s_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
61
- margin-left: var(--secondary-tablist-s-gaps);
62
- }.tabs__m_16m8j {
63
- height: var(--size-m-height)
64
- }.tabs__m_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
65
- margin-left: var(--secondary-tablist-m-gaps);
66
- }.tabs__l_16m8j {
67
- height: var(--size-l-height)
68
- }.tabs__l_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
69
- margin-left: var(--secondary-tablist-l-gaps);
70
- }.tabs__xl_16m8j {
71
- height: var(--size-xl-height)
72
- }.tabs__xl_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
73
- margin-left: var(--secondary-tablist-xl-gaps);
74
- }
61
+ }/* sizes */.tabs__xxs_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
62
+ margin-left: var(--secondary-tablist-xxs-gaps);
63
+ }.tabs__xs_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
64
+ margin-left: var(--secondary-tablist-xs-gaps);
65
+ }.tabs__s_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
66
+ margin-left: var(--secondary-tablist-s-gaps);
67
+ }.tabs__m_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
68
+ margin-left: var(--secondary-tablist-m-gaps);
69
+ }.tabs__l_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
70
+ margin-left: var(--secondary-tablist-l-gaps);
71
+ }.tabs__xl_9sv36 .tabs__title_9sv36 + .tabs__title_9sv36 {
72
+ margin-left: var(--secondary-tablist-xl-gaps);
73
+ }
75
74
  :root {
76
75
  --color-dark-indigo: #0b1f35;
77
76
  --color-dark-indigo-60: rgba(11, 31, 53, 0.6);
@@ -144,29 +143,72 @@
144
143
  --color-light-blue: #f5f7f9;
145
144
  }
146
145
  :root {
146
+ --color-static-corpbg-neutral: #bdc0c2;
147
+ --color-static-corpbg-primary: #212a33;
148
+ --color-static-corpbg-secondary: #384048;
149
+ --color-static-corpbg-tertiary: #7a7f85;
147
150
  --color-static-graphic-amethyst: #a489aa;
148
151
  --color-static-graphic-blackberry: #bfafc6;
152
+ --color-static-graphic-blue-chill: #0f9c8c;
149
153
  --color-static-graphic-blue-maya: #7eb3ff;
150
154
  --color-static-graphic-blue-moody: #7879cf;
151
155
  --color-static-graphic-blue-steel: #4f84ba;
152
156
  --color-static-graphic-botticelli: #cee5e5;
157
+ --color-static-graphic-boulder: #7a7a7a;
158
+ --color-static-graphic-brink-pink: #fc617c;
159
+ --color-static-graphic-burnt-sienna: #eb7a58;
153
160
  --color-static-graphic-carrot: #e8bba3;
161
+ --color-static-graphic-chatelle: #bfafc6;
162
+ --color-static-graphic-chathams-blue: #155966;
154
163
  --color-static-graphic-chick: #f2db9e;
164
+ --color-static-graphic-crete: #847128;
165
+ --color-static-graphic-curious-blue: #2381db;
166
+ --color-static-graphic-curious-blue-light: #3b99d9;
167
+ --color-static-graphic-eastern-blue: #269cb3;
168
+ --color-static-graphic-french-lilac: #d3baed;
169
+ --color-static-graphic-fuel-yellow: #f29d32;
170
+ --color-static-graphic-fun-blue: #1d6ab5;
155
171
  --color-static-graphic-gallery: #eee;
156
172
  --color-static-graphic-green-jungle: #2fc26e;
173
+ --color-static-graphic-hippie-blue: #5aa4b0;
174
+ --color-static-graphic-jaffa: #f07134;
175
+ --color-static-graphic-jaffa-light: #f18836;
176
+ --color-static-graphic-java: #15c0e0;
177
+ --color-static-graphic-jungle-green: #2ab79a;
157
178
  --color-static-graphic-lavender: #8888ad;
179
+ --color-static-graphic-mantis: #63cd4f;
180
+ --color-static-graphic-matisse: #16548f;
181
+ --color-static-graphic-milano-red: #cd1501;
182
+ --color-static-graphic-mirage: #1d2434;
183
+ --color-static-graphic-moon-raker: #e9dbf7;
184
+ --color-static-graphic-moss-green: #a6d29c;
185
+ --color-static-graphic-nevada: #626b75;
158
186
  --color-static-graphic-olive: #bfd3c9;
187
+ --color-static-graphic-olivine: #87b965;
159
188
  --color-static-graphic-peach: #fcc99b;
160
189
  --color-static-graphic-persimmon: #ff5c5c;
190
+ --color-static-graphic-pewter: #96a5a5;
191
+ --color-static-graphic-pickled-bluewood: #2d3f50;
192
+ --color-static-graphic-porsche: #e7b965;
161
193
  --color-static-graphic-raspberry: #dfb2bb;
194
+ --color-static-graphic-red-damask: #da713c;
195
+ --color-static-graphic-saffron: #f0c330;
162
196
  --color-static-graphic-salomie: #fee984;
163
197
  --color-static-graphic-sand: #f6bf65;
198
+ --color-static-graphic-sandy-brown: #f38f6f;
164
199
  --color-static-graphic-seawater: #aecfd9;
200
+ --color-static-graphic-serenade: #fff0e3;
165
201
  --color-static-graphic-sky: #a6c0db;
166
202
  --color-static-graphic-soft-peach: #f3eaeb;
167
203
  --color-static-graphic-solitude: #e8f2fe;
168
204
  --color-static-graphic-strawberry: #f8b6a9;
169
205
  --color-static-graphic-sundust: #d9d6ce;
206
+ --color-static-graphic-turkish-rose: #b56a6b;
207
+ --color-static-graphic-turquoise-blue: #6bd3e6;
208
+ --color-static-graphic-valencia: #d8463b;
209
+ --color-static-graphic-waikawa-gray: #5b6d9c;
210
+ --color-static-graphic-whisper: #f2eff6;
211
+ --color-static-graphic-zanah: #e1f0de;
170
212
  --color-static-local-light-blue: #f5f7f9;
171
213
  --color-static-overlay-black-high: rgba(0, 0, 0, 0.32);
172
214
  --color-static-overlay-black-low: rgba(0, 0, 0, 0.16);
@@ -190,13 +232,13 @@
190
232
  --color-static-status-purple: #673ab7;
191
233
  --color-static-status-red: #d91d0b;
192
234
  --color-static-status-teal: #219187;
193
- --color-static-status-blue-tint-90: rgb(230, 242, 255);
194
- --color-static-status-green-tint-90: rgb(231, 246, 239);
195
- --color-static-status-grey-tint-90: rgb(240, 242, 243);
196
- --color-static-status-orange-tint-90: rgb(252, 240, 230);
197
- --color-static-status-purple-tint-90: rgb(240, 235, 248);
198
- --color-static-status-red-tint-90: rgb(251, 232, 231);
199
- --color-static-status-teal-tint-90: rgb(233, 244, 243);
235
+ --color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
236
+ --color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
237
+ --color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
238
+ --color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
239
+ --color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
240
+ --color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
241
+ --color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
200
242
  }
201
243
  :root {
202
244
  --color-dark-bg-accent: #ef3124;
@@ -349,18 +391,33 @@
349
391
  --color-dark-bg-neutral-tint-30: rgb(127, 137, 149);
350
392
  --color-dark-bg-neutral-shade-15: rgb(61, 74, 88);
351
393
  --color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
394
+ --color-dark-bg-primary-alpha-40: rgba(11, 31, 53, 0.4);
352
395
  --color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
353
396
  --color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
354
397
  --color-dark-bg-primary-inverted-alpha-10: rgba(255, 255, 255, 0.1);
355
398
  --color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
356
399
  --color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
400
+ --color-dark-bg-primary-inverted-alpha-30: rgba(255, 255, 255, 0.3);
357
401
  --color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
358
402
  --color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
403
+ --color-dark-bg-primary-inverted-alpha-60: rgba(255, 255, 255, 0.6);
404
+ --color-dark-bg-primary-inverted-alpha-80: rgba(255, 255, 255, 0.8);
405
+ --color-dark-bg-primary-inverted-shade-7: rgb(237, 237, 237);
406
+ --color-dark-bg-primary-inverted-shade-15: rgb(217, 217, 217);
407
+ --color-dark-bg-primary-inverted-shade-20: rgb(204, 204, 204);
408
+ --color-dark-bg-secondary-alpha-30: rgba(35, 53, 73, 0.3);
409
+ --color-dark-bg-secondary-tint-7: rgb(50, 67, 86);
410
+ --color-dark-bg-secondary-tint-15: rgb(68, 83, 100);
359
411
  --color-dark-bg-secondary-inverted-alpha-7: rgba(182, 188, 195, 0.07);
360
412
  --color-dark-bg-secondary-inverted-alpha-15: rgba(182, 188, 195, 0.15);
413
+ --color-dark-bg-secondary-inverted-alpha-30: rgba(182, 188, 195, 0.3);
414
+ --color-dark-bg-secondary-inverted-shade-7: rgb(169, 175, 181);
415
+ --color-dark-bg-secondary-inverted-shade-15: rgb(155, 160, 166);
416
+ --color-dark-bg-secondary-inverted-shade-20: rgb(146, 150, 156);
361
417
  --color-dark-bg-tertiary-tint-7: rgb(74, 89, 104);
362
418
  --color-dark-border-tertiary-inverted-alpha-30: rgba(182, 188, 195, 0.3);
363
419
  --color-dark-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
420
+ --color-dark-graphic-accent-shade-15: rgb(203, 42, 31);
364
421
  --color-dark-graphic-accent-tint-10: rgb(241, 70, 58);
365
422
  --color-dark-graphic-accent-tint-30: rgb(244, 111, 102);
366
423
  --color-dark-graphic-negative-shade-30: rgb(169, 56, 48);
@@ -371,6 +428,7 @@
371
428
  --color-dark-graphic-primary-alpha-30: rgba(255, 255, 255, 0.3);
372
429
  --color-dark-graphic-primary-alpha-40: rgba(255, 255, 255, 0.4);
373
430
  --color-dark-graphic-primary-alpha-50: rgba(255, 255, 255, 0.5);
431
+ --color-dark-graphic-primary-shade-15: rgb(217, 217, 217);
374
432
  --color-dark-graphic-primary-shade-30: rgb(179, 179, 179);
375
433
  --color-dark-graphic-primary-shade-50: rgb(128, 128, 128);
376
434
  --color-dark-graphic-primary-tint-10: rgb(255, 255, 255);
@@ -381,6 +439,9 @@
381
439
  --color-dark-specialbg-component-tint-7: rgb(85, 99, 114);
382
440
  --color-dark-specialbg-component-tint-10: rgb(90, 104, 118);
383
441
  --color-dark-specialbg-component-tint-30: rgb(127, 137, 149);
442
+ --color-dark-specialbg-component-alpha-2: rgba(72, 87, 103, 0.02);
443
+ --color-dark-specialbg-component-alpha-14: rgba(72, 87, 103, 0.14);
444
+ --color-dark-specialbg-component-alpha-23: rgba(72, 87, 103, 0.23);
384
445
  --color-dark-specialbg-component-inverted-shade-15: rgba(9, 26, 45, 0.2095);
385
446
  --color-dark-text-link-shade-30: rgb(0, 85, 179);
386
447
  --color-dark-text-link-shade-50: rgb(0, 61, 128);
@@ -412,18 +473,33 @@
412
473
  --color-light-bg-neutral-shade-30: rgb(153, 155, 157);
413
474
  --color-light-bg-neutral-tint-15: rgb(224, 227, 230);
414
475
  --color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
476
+ --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
415
477
  --color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
416
478
  --color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
417
479
  --color-light-bg-primary-inverted-alpha-10: rgba(11, 31, 53, 0.1);
418
480
  --color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
419
481
  --color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
482
+ --color-light-bg-primary-inverted-alpha-30: rgba(11, 31, 53, 0.3);
420
483
  --color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
421
484
  --color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
485
+ --color-light-bg-primary-inverted-alpha-60: rgba(11, 31, 53, 0.6);
486
+ --color-light-bg-primary-inverted-alpha-80: rgba(11, 31, 53, 0.8);
487
+ --color-light-bg-primary-inverted-tint-7: rgb(28, 47, 67);
488
+ --color-light-bg-primary-inverted-tint-15: rgb(48, 65, 83);
489
+ --color-light-bg-primary-inverted-tint-20: rgb(60, 76, 93);
490
+ --color-light-bg-secondary-alpha-30: rgba(243, 244, 245, 0.3);
491
+ --color-light-bg-secondary-shade-7: rgb(226, 227, 228);
492
+ --color-light-bg-secondary-shade-15: rgb(207, 207, 208);
422
493
  --color-light-bg-secondary-inverted-alpha-7: rgba(35, 53, 73, 0.07);
423
494
  --color-light-bg-secondary-inverted-alpha-15: rgba(35, 53, 73, 0.15);
495
+ --color-light-bg-secondary-inverted-alpha-30: rgba(35, 53, 73, 0.3);
496
+ --color-light-bg-secondary-inverted-tint-7: rgb(50, 67, 86);
497
+ --color-light-bg-secondary-inverted-tint-15: rgb(68, 83, 100);
498
+ --color-light-bg-secondary-inverted-tint-20: rgb(79, 93, 109);
424
499
  --color-light-bg-tertiary-shade-7: rgb(215, 217, 219);
425
500
  --color-light-border-tertiary-inverted-alpha-30: rgba(109, 121, 134, 0.3);
426
501
  --color-light-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
502
+ --color-light-graphic-accent-tint-15: rgb(241, 80, 69);
427
503
  --color-light-graphic-accent-shade-10: rgb(215, 44, 32);
428
504
  --color-light-graphic-accent-shade-30: rgb(167, 34, 25);
429
505
  --color-light-graphic-negative-tint-30: rgb(245, 133, 125);
@@ -434,6 +510,7 @@
434
510
  --color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
435
511
  --color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
436
512
  --color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
513
+ --color-light-graphic-primary-tint-15: rgb(48, 65, 83);
437
514
  --color-light-graphic-primary-tint-30: rgb(84, 98, 114);
438
515
  --color-light-graphic-primary-tint-50: rgb(133, 143, 154);
439
516
  --color-light-graphic-primary-shade-10: rgb(10, 28, 48);
@@ -444,6 +521,9 @@
444
521
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
445
522
  --color-light-specialbg-component-shade-10: rgba(10, 28, 48, 0.163);
446
523
  --color-light-specialbg-component-shade-30: rgba(8, 22, 37, 0.349);
524
+ --color-light-specialbg-component-alpha-2: rgba(11, 31, 53, 0.02);
525
+ --color-light-specialbg-component-alpha-14: rgba(11, 31, 53, 0.14);
526
+ --color-light-specialbg-component-alpha-23: rgba(11, 31, 53, 0.23);
447
527
  --color-light-specialbg-component-inverted-tint-15: rgba(255, 255, 255, 0.2775);
448
528
  --color-light-text-link-tint-30: rgb(77, 162, 255);
449
529
  --color-light-text-link-tint-50: rgb(128, 189, 255);
@@ -475,6 +555,8 @@
475
555
  --color-dynamic-quinary-light: rgba(255, 255, 255, 0.16);
476
556
  --color-dynamic-secondary-dark: rgba(0, 0, 0, 0.64);
477
557
  --color-dynamic-secondary-light: rgba(255, 255, 255, 0.64);
558
+ --color-dynamic-senary-dark: rgba(0, 0, 0, 0.12);
559
+ --color-dynamic-senary-light: rgba(255, 255, 255, 0.12);
478
560
  --color-dynamic-tertiary-dark: rgba(0, 0, 0, 0.48);
479
561
  --color-dynamic-tertiary-light: rgba(255, 255, 255, 0.48);
480
562
  --color-static-primary-dark: rgba(0, 0, 0, 0.8);
@@ -485,6 +567,8 @@
485
567
  --color-static-quinary-light: rgba(255, 255, 255, 0.16);
486
568
  --color-static-secondary-dark: rgba(0, 0, 0, 0.64);
487
569
  --color-static-secondary-light: rgba(255, 255, 255, 0.64);
570
+ --color-static-senary-dark: rgba(0, 0, 0, 0.12);
571
+ --color-static-senary-light: rgba(255, 255, 255, 0.12);
488
572
  --color-static-tertiary-dark: rgba(0, 0, 0, 0.48);
489
573
  --color-static-tertiary-light: rgba(255, 255, 255, 0.48);
490
574
  }
@@ -632,6 +716,12 @@
632
716
  /* mobile */
633
717
  --secondary-tablist-mobile-gaps: var(--gap-xs);
634
718
 
719
+ /* size xxs */
720
+ --secondary-tablist-xxs-gaps: var(--gap-xs);
721
+
722
+ /* size xs */
723
+ --secondary-tablist-xs-gaps: var(--gap-xs);
724
+
635
725
  /* size s */
636
726
  --secondary-tablist-s-gaps: var(--gap-s);
637
727
 
@@ -639,16 +729,13 @@
639
729
  --secondary-tablist-m-gaps: var(--gap-s);
640
730
 
641
731
  /* size l */
642
- --secondary-tablist-l-gaps: var(--gap-s);
732
+ --secondary-tablist-l-gaps: var(--gap-m);
643
733
 
644
734
  /* size xl */
645
- --secondary-tablist-xl-gaps: var(--gap-s);
735
+ --secondary-tablist-xl-gaps: var(--gap-m);
646
736
  }
647
- .tabs__title_6w2ss {
737
+ .tabs__title_1wcu2 {
648
738
  }
649
- .tabs__title_6w2ss + .tabs__title_6w2ss {
739
+ .tabs__title_1wcu2 + .tabs__title_1wcu2 {
650
740
  margin-left: var(--secondary-tablist-mobile-gaps);
651
741
  }
652
- .tabs__mobile_6w2ss {
653
- height: 48px;
654
- }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"tabs__component_1tze2","hidden":"tabs__hidden_1tze2"};
4
+ var styles = {"component":"tabs__component_ckhif","hidden":"tabs__hidden_ckhif"};
5
5
  require('./index.css')
6
6
 
7
7
  const Tab = ({ children, hidden, className, disabled }) => children ? (React.createElement("div", { className: cn(styles.component, {
@@ -1,8 +1,8 @@
1
- /* hash: w2s42 */
2
- .tabs__component_1tze2 {
1
+ /* hash: 2w75p */
2
+ .tabs__component_ckhif {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_1tze2 {
6
+ .tabs__hidden_ckhif {
7
7
  display: none;
8
8
  }
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
5
5
  import '../scrollable-container/Component.js';
6
6
  import '../../useTabs.js';
7
7
  import '../primary-tablist/Component.js';
8
- import '../../index.module-5f8ab866.js';
8
+ import '../../index.module-7dc22d31.js';
9
9
  import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
10
10
  import '@alfalab/core-components-tag/dist/modern';
11
11
  import '../secondary-tablist/Component.js';
12
- import '../../index.module-79dd2b67.js';
12
+ import '../../index.module-2f424545.js';
13
13
  import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
14
14
  import { Tabs } from './Component.js';
15
15
 
@@ -17,6 +17,6 @@ const views = {
17
17
  primary: PrimaryTabListDesktop,
18
18
  secondary: SecondaryTabListDesktop,
19
19
  };
20
- const TabsDesktop = ({ view = 'primary', scrollable = false, size = 'm', ...restProps }) => (React.createElement(Tabs, Object.assign({ TabList: views[view], scrollable: scrollable, size: size }, restProps)));
20
+ const TabsDesktop = ({ view = 'primary', scrollable = false, size = view === 'primary' ? 'm' : 's', ...restProps }) => (React.createElement(Tabs, Object.assign({ TabList: views[view], scrollable: scrollable, size: size }, restProps)));
21
21
 
22
22
  export { TabsDesktop };
@@ -5,10 +5,10 @@ import 'compute-scroll-into-view';
5
5
  import '../scrollable-container/Component.js';
6
6
  import '../../useTabs.js';
7
7
  import '../primary-tablist/Component.js';
8
- import '../../index.module-5f8ab866.js';
8
+ import '../../index.module-7dc22d31.js';
9
9
  import '@alfalab/core-components-tag/dist/modern';
10
10
  import '../secondary-tablist/Component.js';
11
- import '../../index.module-79dd2b67.js';
11
+ import '../../index.module-2f424545.js';
12
12
  import { Tabs } from './Component.js';
13
13
  import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
14
14
  import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
5
5
  import '../scrollable-container/Component.js';
6
6
  import '../../useTabs.js';
7
7
  import '../primary-tablist/Component.js';
8
- import '../../index.module-5f8ab866.js';
8
+ import '../../index.module-7dc22d31.js';
9
9
  import '../primary-tablist/Component.desktop.js';
10
10
  import '@alfalab/core-components-tag/dist/modern';
11
11
  import '../secondary-tablist/Component.js';
12
- import '../../index.module-79dd2b67.js';
12
+ import '../../index.module-2f424545.js';
13
13
  import '../secondary-tablist/Component.desktop.js';
14
14
  import { Tabs } from './Component.js';
15
15
  import '@alfalab/hooks';
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
5
5
  export { ScrollableContainer } from './components/scrollable-container/Component.js';
6
6
  export { useTabs } from './useTabs.js';
7
7
  import './components/primary-tablist/Component.js';
8
- import './index.module-5f8ab866.js';
8
+ import './index.module-7dc22d31.js';
9
9
  export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
10
10
  import '@alfalab/core-components-tag/dist/modern';
11
11
  import './components/secondary-tablist/Component.js';
12
- import './index.module-79dd2b67.js';
12
+ import './index.module-2f424545.js';
13
13
  export { SecondaryTabListDesktop } from './components/secondary-tablist/Component.desktop.js';
14
14
  export { Tab } from './components/tab/Component.js';
15
15
  import './components/tabs/Component.js';
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
5
5
  export { ScrollableContainer } from './components/scrollable-container/Component.js';
6
6
  export { useTabs } from './useTabs.js';
7
7
  import './components/primary-tablist/Component.js';
8
- import './index.module-5f8ab866.js';
8
+ import './index.module-7dc22d31.js';
9
9
  import './components/primary-tablist/Component.desktop.js';
10
10
  import '@alfalab/core-components-tag/dist/modern';
11
11
  import './components/secondary-tablist/Component.js';
12
- import './index.module-79dd2b67.js';
12
+ import './index.module-2f424545.js';
13
13
  import './components/secondary-tablist/Component.desktop.js';
14
14
  export { Tab } from './components/tab/Component.js';
15
15
  import './components/tabs/Component.js';
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"tabs__component_9sv36","container":"tabs__container_9sv36","title":"tabs__title_9sv36","xxs":"tabs__xxs_9sv36","xs":"tabs__xs_9sv36","s":"tabs__s_9sv36","m":"tabs__m_9sv36","l":"tabs__l_9sv36","xl":"tabs__xl_9sv36"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"tabs__component_1h41f","container":"tabs__container_1h41f","title":"tabs__title_1h41f","disabled":"tabs__disabled_1h41f","focused":"tabs__focused_1h41f","selected":"tabs__selected_1h41f","line":"tabs__line_1h41f","s":"tabs__s_1h41f","xs":"tabs__xs_1h41f","xxs":"tabs__xxs_1h41f","m":"tabs__m_1h41f","l":"tabs__l_1h41f","xl":"tabs__xl_1h41f","rightAddons":"tabs__rightAddons_1h41f"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -5,10 +5,10 @@ import 'compute-scroll-into-view';
5
5
  export { ScrollableContainer } from './components/scrollable-container/Component.js';
6
6
  export { useTabs } from './useTabs.js';
7
7
  import './components/primary-tablist/Component.js';
8
- import './index.module-5f8ab866.js';
8
+ import './index.module-7dc22d31.js';
9
9
  import '@alfalab/core-components-tag/dist/modern';
10
10
  import './components/secondary-tablist/Component.js';
11
- import './index.module-79dd2b67.js';
11
+ import './index.module-2f424545.js';
12
12
  export { Tab } from './components/tab/Component.js';
13
13
  import './components/tabs/Component.js';
14
14
  export { PrimaryTabListMobile } from './components/primary-tablist/Component.mobile.js';
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
5
5
  export { ScrollableContainer } from './components/scrollable-container/Component.js';
6
6
  export { useTabs } from './useTabs.js';
7
7
  import './components/primary-tablist/Component.js';
8
- import './index.module-5f8ab866.js';
8
+ import './index.module-7dc22d31.js';
9
9
  import './components/primary-tablist/Component.desktop.js';
10
10
  import '@alfalab/core-components-tag/dist/modern';
11
11
  import './components/secondary-tablist/Component.js';
12
- import './index.module-79dd2b67.js';
12
+ import './index.module-2f424545.js';
13
13
  import './components/secondary-tablist/Component.desktop.js';
14
14
  export { Tab } from './components/tab/Component.js';
15
15
  import './components/tabs/Component.js';
@@ -26,7 +26,7 @@ type TabsProps = {
26
26
  /**
27
27
  * Высота заголовков табов
28
28
  */
29
- size?: 's' | 'm' | 'l' | 'xl';
29
+ size?: 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl';
30
30
  /**
31
31
  * Режим отображения по умолчанию
32
32
  */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-a945f620.js');
5
+ require('./tslib.es6-e6e536b3.js');
6
6
  require('react');
7
7
  require('@alfalab/core-components-keyboard-focusable');
8
8
  require('classnames');
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
10
10
  var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
11
11
  var useTabs = require('./useTabs.js');
12
12
  require('./components/primary-tablist/Component.js');
13
- require('./index.module-313ebd46.js');
13
+ require('./index.module-c212f00a.js');
14
14
  require('./components/primary-tablist/Component.desktop.js');
15
15
  require('@alfalab/core-components-tag');
16
16
  require('./components/secondary-tablist/Component.js');
17
- require('./index.module-09355c68.js');
17
+ require('./index.module-ea992fa6.js');
18
18
  require('./components/secondary-tablist/Component.desktop.js');
19
19
  var components_tab_Component = require('./components/tab/Component.js');
20
20
  require('./components/tabs/Component.js');
package/dist/typings.d.ts CHANGED
@@ -26,7 +26,7 @@ type TabsProps = {
26
26
  /**
27
27
  * Высота заголовков табов
28
28
  */
29
- size?: 's' | 'm' | 'l' | 'xl';
29
+ size?: 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl';
30
30
  /**
31
31
  * Режим отображения по умолчанию
32
32
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-tabs",
3
- "version": "6.0.1",
3
+ "version": "6.2.1",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@alfalab/core-components-keyboard-focusable": "^3.0.1",
23
- "@alfalab/core-components-tag": "^4.0.1",
23
+ "@alfalab/core-components-tag": "^4.2.0",
24
24
  "classnames": "^2.2.6",
25
25
  "compute-scroll-into-view": "^1.0.13",
26
26
  "lodash.debounce": "^4.0.8"
@@ -29,5 +29,5 @@
29
29
  "react": "^16.9.0 || ^17.0.1",
30
30
  "react-dom": "^16.9.0 || ^17.0.1"
31
31
  },
32
- "gitHead": "19a2d088b6c18a127940199cfd6e6fc4e8639ec5"
32
+ "gitHead": "5d7a9d540896b970928f3ea508e6046d303cb035"
33
33
  }
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_18h98","container":"tabs__container_18h98","title":"tabs__title_18h98","disabled":"tabs__disabled_18h98","focused":"tabs__focused_18h98","selected":"tabs__selected_18h98","line":"tabs__line_18h98","s":"tabs__s_18h98","m":"tabs__m_18h98","l":"tabs__l_18h98","xl":"tabs__xl_18h98","rightAddons":"tabs__rightAddons_18h98"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_16m8j","container":"tabs__container_16m8j","title":"tabs__title_16m8j","s":"tabs__s_16m8j","m":"tabs__m_16m8j","l":"tabs__l_16m8j","xl":"tabs__xl_16m8j"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_16m8j","container":"tabs__container_16m8j","title":"tabs__title_16m8j","s":"tabs__s_16m8j","m":"tabs__m_16m8j","l":"tabs__l_16m8j","xl":"tabs__xl_16m8j"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_18h98","container":"tabs__container_18h98","title":"tabs__title_18h98","disabled":"tabs__disabled_18h98","focused":"tabs__focused_18h98","selected":"tabs__selected_18h98","line":"tabs__line_18h98","s":"tabs__s_18h98","m":"tabs__m_18h98","l":"tabs__l_18h98","xl":"tabs__xl_18h98","rightAddons":"tabs__rightAddons_18h98"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_18h98","container":"tabs__container_18h98","title":"tabs__title_18h98","disabled":"tabs__disabled_18h98","focused":"tabs__focused_18h98","selected":"tabs__selected_18h98","line":"tabs__line_18h98","s":"tabs__s_18h98","m":"tabs__m_18h98","l":"tabs__l_18h98","xl":"tabs__xl_18h98","rightAddons":"tabs__rightAddons_18h98"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_16m8j","container":"tabs__container_16m8j","title":"tabs__title_16m8j","s":"tabs__s_16m8j","m":"tabs__m_16m8j","l":"tabs__l_16m8j","xl":"tabs__xl_16m8j"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };