@alfalab/core-components-tabs 7.3.1 → 7.3.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 (109) hide show
  1. package/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  2. package/Component-3fe0d3e6.d.ts +10 -2
  3. package/components/primary-tablist/Component.desktop.js +2 -2
  4. package/components/primary-tablist/Component.js +1 -1
  5. package/components/primary-tablist/Component.mobile.js +3 -3
  6. package/components/primary-tablist/Component.responsive.js +2 -2
  7. package/components/primary-tablist/index.css +35 -29
  8. package/components/primary-tablist/mobile.css +38 -32
  9. package/components/scrollable-container/Component.js +1 -1
  10. package/components/scrollable-container/index.css +12 -6
  11. package/components/secondary-tablist/Component.desktop.js +2 -2
  12. package/components/secondary-tablist/Component.js +1 -1
  13. package/components/secondary-tablist/Component.mobile.js +3 -3
  14. package/components/secondary-tablist/Component.responsive.js +2 -2
  15. package/components/secondary-tablist/index.css +17 -11
  16. package/components/secondary-tablist/mobile.css +19 -13
  17. package/components/tab/Component.js +1 -1
  18. package/components/tab/index.css +3 -3
  19. package/components/tabs/Component.desktop.js +3 -3
  20. package/components/tabs/Component.mobile.js +3 -3
  21. package/components/tabs/Component.responsive.js +3 -3
  22. package/components/title/Component.js +1 -1
  23. package/components/title/index.js +1 -1
  24. package/cssm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  25. package/cssm/Component-3fe0d3e6.d.ts +10 -2
  26. package/cssm/components/primary-tablist/index.module.css +6 -0
  27. package/cssm/components/scrollable-container/index.module.css +7 -1
  28. package/cssm/components/secondary-tablist/index.module.css +6 -0
  29. package/cssm/index-3fe0d3e6.d.ts +2 -0
  30. package/desktop.js +3 -3
  31. package/esm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  32. package/esm/Component-3fe0d3e6.d.ts +10 -2
  33. package/esm/components/primary-tablist/Component.desktop.js +2 -2
  34. package/esm/components/primary-tablist/Component.js +1 -1
  35. package/esm/components/primary-tablist/Component.mobile.js +3 -3
  36. package/esm/components/primary-tablist/Component.responsive.js +2 -2
  37. package/esm/components/primary-tablist/index.css +35 -29
  38. package/esm/components/primary-tablist/mobile.css +38 -32
  39. package/esm/components/scrollable-container/Component.js +1 -1
  40. package/esm/components/scrollable-container/index.css +12 -6
  41. package/esm/components/secondary-tablist/Component.desktop.js +2 -2
  42. package/esm/components/secondary-tablist/Component.js +1 -1
  43. package/esm/components/secondary-tablist/Component.mobile.js +3 -3
  44. package/esm/components/secondary-tablist/Component.responsive.js +2 -2
  45. package/esm/components/secondary-tablist/index.css +17 -11
  46. package/esm/components/secondary-tablist/mobile.css +19 -13
  47. package/esm/components/tab/Component.js +1 -1
  48. package/esm/components/tab/index.css +3 -3
  49. package/esm/components/tabs/Component.desktop.js +3 -3
  50. package/esm/components/tabs/Component.mobile.js +3 -3
  51. package/esm/components/tabs/Component.responsive.js +3 -3
  52. package/esm/components/title/Component.js +1 -1
  53. package/esm/components/title/index.js +1 -1
  54. package/esm/desktop.js +3 -3
  55. package/esm/hooks/use-collapsible-elements.js +1 -1
  56. package/esm/hooks/use-tablist-titles.js +1 -1
  57. package/esm/index-3fe0d3e6.d.ts +2 -0
  58. package/esm/index.js +3 -3
  59. package/esm/index.module-10d535eb.js +4 -0
  60. package/esm/index.module-9c2f5300.js +4 -0
  61. package/esm/mobile.js +3 -3
  62. package/esm/responsive.js +3 -3
  63. package/esm/synthetic-events.js +1 -1
  64. package/esm/{tslib.es6-3747a020.d.ts → tslib.es6-62e0e458.d.ts} +0 -0
  65. package/esm/{tslib.es6-3747a020.js → tslib.es6-62e0e458.js} +0 -0
  66. package/hooks/use-collapsible-elements.js +1 -1
  67. package/hooks/use-tablist-titles.js +1 -1
  68. package/index-3fe0d3e6.d.ts +2 -0
  69. package/index.js +3 -3
  70. package/index.module-7dc52a7b.js +6 -0
  71. package/index.module-a5052a1c.js +6 -0
  72. package/mobile.js +3 -3
  73. package/modern/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  74. package/modern/Component-3fe0d3e6.d.ts +10 -2
  75. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  76. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  77. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  78. package/modern/components/primary-tablist/index.css +35 -29
  79. package/modern/components/primary-tablist/mobile.css +38 -32
  80. package/modern/components/scrollable-container/Component.js +1 -1
  81. package/modern/components/scrollable-container/index.css +12 -6
  82. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  83. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  84. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  85. package/modern/components/secondary-tablist/index.css +17 -11
  86. package/modern/components/secondary-tablist/mobile.css +19 -13
  87. package/modern/components/tab/Component.js +1 -1
  88. package/modern/components/tab/index.css +3 -3
  89. package/modern/components/tabs/Component.desktop.js +2 -2
  90. package/modern/components/tabs/Component.mobile.js +2 -2
  91. package/modern/components/tabs/Component.responsive.js +2 -2
  92. package/modern/desktop.js +2 -2
  93. package/modern/index-3fe0d3e6.d.ts +2 -0
  94. package/modern/index.js +2 -2
  95. package/modern/index.module-4d08392f.js +4 -0
  96. package/modern/index.module-cd099570.js +4 -0
  97. package/modern/mobile.js +2 -2
  98. package/modern/responsive.js +2 -2
  99. package/package.json +3 -3
  100. package/responsive.js +3 -3
  101. package/synthetic-events.js +1 -1
  102. package/{tslib.es6-72964df1.d.ts → tslib.es6-edd9cdac.d.ts} +0 -0
  103. package/{tslib.es6-72964df1.js → tslib.es6-edd9cdac.js} +0 -0
  104. package/esm/index.module-68c9b9de.js +0 -4
  105. package/esm/index.module-a7b5a656.js +0 -4
  106. package/index.module-396d3834.js +0 -6
  107. package/index.module-e526ba54.js +0 -6
  108. package/modern/index.module-21bf7188.js +0 -4
  109. package/modern/index.module-de52298e.js +0 -4
@@ -40,7 +40,7 @@ type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
40
40
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
41
41
  type TextBaseProps = {
42
42
  /**
43
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
43
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
44
44
  */
45
45
  view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
46
46
  /**
@@ -75,6 +75,10 @@ type TextBaseProps = {
75
75
  * Добавляет отступы к тэгу 'p'
76
76
  */
77
77
  defaultMargins?: never;
78
+ /**
79
+ * Количество строк (не поддерживает IE)
80
+ */
81
+ rowLimit?: 1 | 2 | 3;
78
82
  };
79
83
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
80
84
  tag?: "p";
@@ -88,7 +92,7 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
88
92
  */
89
93
  tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
90
94
  /**
91
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/инструкции-типографика--page)
95
+ * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
92
96
  */
93
97
  view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
94
98
  /**
@@ -119,6 +123,10 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
119
123
  * Контент (native prop)
120
124
  */
121
125
  children?: React.ReactNode;
126
+ /**
127
+ * Количество строк (не поддерживает IE)
128
+ */
129
+ rowLimit?: 1 | 2 | 3;
122
130
  };
123
131
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
124
132
  declare const Typography: {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var components_primaryTablist_Component = require('./Component.js');
6
- var index_module = require('../../index.module-e526ba54.js');
6
+ var index_module = require('../../index.module-7dc52a7b.js');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-badge');
9
9
  require('@alfalab/core-components-keyboard-focusable');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsBadge = require('@alfalab/core-components-badge');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var components_primaryTablist_Component = require('./Component.js');
7
- var index_module = require('../../index.module-e526ba54.js');
7
+ var index_module = require('../../index.module-7dc52a7b.js');
8
8
  require('@alfalab/core-components-badge');
9
9
  require('@alfalab/core-components-keyboard-focusable');
10
10
  require('@alfalab/core-components-picker-button/desktop');
@@ -23,7 +23,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
23
23
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
24
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
25
25
 
26
- var mobileStyles = {"title":"tabs__title_1mh0j tabs__title_1hdca","mobile":"tabs__mobile_1mh0j"};
26
+ var mobileStyles = {"title":"tabs__title_f1h14 tabs__title_1w0vv","mobile":"tabs__mobile_f1h14"};
27
27
  require('./mobile.css')
28
28
 
29
29
  var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var hooks = require('@alfalab/hooks');
6
6
  var components_primaryTablist_Component_desktop = require('./Component.desktop.js');
@@ -18,7 +18,7 @@ require('../../synthetic-events.js');
18
18
  require('../scrollable-container/Component.js');
19
19
  require('compute-scroll-into-view');
20
20
  require('../title/Component.js');
21
- require('../../index.module-e526ba54.js');
21
+ require('../../index.module-7dc52a7b.js');
22
22
 
23
23
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
24
24
 
@@ -1,4 +1,4 @@
1
- /* hash: 1979e */
1
+ /* hash: 1audr */
2
2
  :root {
3
3
  --color-light-border-accent: #ef3124;
4
4
  --color-light-border-link: #007aff;
@@ -16,11 +16,13 @@
16
16
  /* Hard up */
17
17
  }
18
18
  :root {
19
+ --gap-2xs: 4px;
19
20
  --gap-xs: 8px;
20
21
  --gap-s: 12px;
21
22
  --gap-m: 16px;
22
23
  --gap-l: 20px;
23
24
  --gap-2xl: 32px;
25
+ --gap-2xs-neg: -4px;
24
26
  }
25
27
  :root {
26
28
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
@@ -83,12 +85,12 @@
83
85
 
84
86
  /* size xl */
85
87
  }
86
- .tabs__component_1hdca {
88
+ .tabs__component_1w0vv {
87
89
  position: relative;
88
90
  display: inline-flex;
89
91
  min-width: 100%
90
92
  }
91
- .tabs__component_1hdca:before {
93
+ .tabs__component_1w0vv:before {
92
94
  content: '';
93
95
  display: block;
94
96
  position: absolute;
@@ -97,15 +99,19 @@
97
99
  width: 100%;
98
100
  background-color: var(--primary-tablist-bottom-border-color);
99
101
  }
100
- .tabs__fullWidthScroll_1hdca {
102
+ .tabs__fullWidthScroll_1w0vv {
101
103
  min-width: calc(100% - 2 * var(--gap-m));
102
104
  margin: 0 var(--gap-m);
103
105
  }
104
- .tabs__container_1hdca {
106
+ .tabs__container_1w0vv {
105
107
  position: relative;
106
108
  overflow: hidden;
109
+
110
+ /* focus-outline fix */
111
+ margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
112
+ padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
107
113
  }
108
- .tabs__title_1hdca {
114
+ .tabs__title_1w0vv {
109
115
  display: flex;
110
116
  align-items: center;
111
117
  height: 100%;
@@ -123,26 +129,26 @@
123
129
  cursor: pointer;
124
130
  outline: none
125
131
  }
126
- .tabs__title_1hdca:not(.tabs__disabled_1hdca):hover {
132
+ .tabs__title_1w0vv:not(.tabs__disabled_1w0vv):hover {
127
133
  color: var(--primary-tablist-hover-color);
128
134
  }
129
- .tabs__focused_1hdca {
135
+ .tabs__focused_1w0vv {
130
136
  outline: 2px solid var(--focus-color);
131
137
  outline-offset: 2px;
132
138
  }
133
- .tabs__collapsed_1hdca {
139
+ .tabs__collapsed_1w0vv {
134
140
  order: 99;
135
141
  visibility: collapse;
136
142
  }
137
- .tabs__selected_1hdca {
143
+ .tabs__selected_1w0vv {
138
144
  cursor: default;
139
145
  color: var(--primary-tablist-selected-color);
140
146
  }
141
- .tabs__disabled_1hdca {
147
+ .tabs__disabled_1w0vv {
142
148
  cursor: var(--disabled-cursor);
143
149
  color: var(--primary-tablist-disabled-color);
144
150
  }
145
- .tabs__line_1hdca {
151
+ .tabs__line_1w0vv {
146
152
  position: absolute;
147
153
  height: 3px;
148
154
  bottom: 0;
@@ -151,71 +157,71 @@
151
157
  transition: transform 0.2s ease, width 0.2s ease;
152
158
  }
153
159
  /* sizes */
154
- .tabs__s_1hdca .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca {
160
+ .tabs__s_1w0vv .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv {
155
161
  padding: var(--primary-tablist-s-padding);
156
162
  font-size: var(--primary-tablist-s-font-size);
157
163
  font-weight: var(--primary-tablist-s-font-weight);
158
164
  font-family: var(--primary-tablist-s-font-family);
159
165
  line-height: 24px;
160
166
  }
161
- .tabs__s_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
167
+ .tabs__s_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
162
168
  margin-left: var(--primary-tablist-s-gaps);
163
169
  }
164
- .tabs__s_1hdca .tabs__pickerWrapper_1hdca, .tabs__xs_1hdca .tabs__pickerWrapper_1hdca, .tabs__xxs_1hdca .tabs__pickerWrapper_1hdca {
170
+ .tabs__s_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xs_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xxs_1w0vv .tabs__pickerWrapper_1w0vv {
165
171
  margin-left: var(--primary-tablist-s-gaps);
166
172
  }
167
- .tabs__s_1hdca .tabs__option_1hdca, .tabs__xs_1hdca .tabs__option_1hdca, .tabs__xxs_1hdca .tabs__option_1hdca {
173
+ .tabs__s_1w0vv .tabs__option_1w0vv, .tabs__xs_1w0vv .tabs__option_1w0vv, .tabs__xxs_1w0vv .tabs__option_1w0vv {
168
174
  padding: 0;
169
175
  }
170
- .tabs__m_1hdca .tabs__title_1hdca {
176
+ .tabs__m_1w0vv .tabs__title_1w0vv {
171
177
  padding: var(--primary-tablist-m-padding);
172
178
  font-size: var(--primary-tablist-m-font-size);
173
179
  font-weight: var(--primary-tablist-m-font-weight);
174
180
  font-family: var(--primary-tablist-m-font-family);
175
181
  line-height: 24px;
176
182
  }
177
- .tabs__m_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
183
+ .tabs__m_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
178
184
  margin-left: var(--primary-tablist-m-gaps);
179
185
  }
180
- .tabs__m_1hdca .tabs__pickerWrapper_1hdca {
186
+ .tabs__m_1w0vv .tabs__pickerWrapper_1w0vv {
181
187
  margin-left: var(--primary-tablist-m-gaps);
182
188
  }
183
- .tabs__m_1hdca .tabs__option_1hdca {
189
+ .tabs__m_1w0vv .tabs__option_1w0vv {
184
190
  padding: 0;
185
191
  }
186
- .tabs__l_1hdca .tabs__title_1hdca {
192
+ .tabs__l_1w0vv .tabs__title_1w0vv {
187
193
  padding: var(--primary-tablist-l-padding);
188
194
  font-size: var(--primary-tablist-l-font-size);
189
195
  font-weight: var(--primary-tablist-l-font-weight);
190
196
  font-family: var(--primary-tablist-l-font-family);
191
197
  line-height: 24px;
192
198
  }
193
- .tabs__l_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
199
+ .tabs__l_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
194
200
  margin-left: var(--primary-tablist-l-gaps);
195
201
  }
196
- .tabs__l_1hdca .tabs__pickerWrapper_1hdca {
202
+ .tabs__l_1w0vv .tabs__pickerWrapper_1w0vv {
197
203
  margin-left: var(--primary-tablist-l-gaps);
198
204
  }
199
- .tabs__l_1hdca .tabs__option_1hdca {
205
+ .tabs__l_1w0vv .tabs__option_1w0vv {
200
206
  padding: 0;
201
207
  }
202
- .tabs__xl_1hdca .tabs__title_1hdca {
208
+ .tabs__xl_1w0vv .tabs__title_1w0vv {
203
209
  padding: var(--primary-tablist-xl-padding);
204
210
  font-size: var(--primary-tablist-xl-font-size);
205
211
  font-weight: var(--primary-tablist-xl-font-weight);
206
212
  font-family: var(--primary-tablist-xl-font-family);
207
213
  line-height: 32px;
208
214
  }
209
- .tabs__xl_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
215
+ .tabs__xl_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
210
216
  margin-left: var(--primary-tablist-xl-gaps);
211
217
  }
212
- .tabs__xl_1hdca .tabs__pickerWrapper_1hdca {
218
+ .tabs__xl_1w0vv .tabs__pickerWrapper_1w0vv {
213
219
  margin-left: var(--primary-tablist-xl-gaps);
214
220
  }
215
- .tabs__xl_1hdca .tabs__option_1hdca {
221
+ .tabs__xl_1w0vv .tabs__option_1w0vv {
216
222
  padding: 0;
217
223
  }
218
- .tabs__rightAddons_1hdca {
224
+ .tabs__rightAddons_1w0vv {
219
225
  display: flex;
220
226
  justify-content: center;
221
227
  align-items: center;
@@ -1,4 +1,4 @@
1
- /* hash: z7wgy */
1
+ /* hash: bovdu */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -17,12 +17,14 @@
17
17
 
18
18
  /* Hard up */
19
19
  }:root {
20
+ --gap-2xs: 4px;
20
21
  --gap-xs: 8px;
21
22
  --gap-s: 12px;
22
23
  --gap-m: 16px;
23
24
  --gap-l: 20px;
24
25
  --gap-xl: 24px;
25
26
  --gap-2xl: 32px;
27
+ --gap-2xs-neg: -4px;
26
28
  }:root {
27
29
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
28
30
  sans-serif;
@@ -88,11 +90,11 @@
88
90
  /* size l */
89
91
 
90
92
  /* size xl */
91
- }.tabs__component_1hdca {
93
+ }.tabs__component_1w0vv {
92
94
  position: relative;
93
95
  display: inline-flex;
94
96
  min-width: 100%
95
- }.tabs__component_1hdca:before {
97
+ }.tabs__component_1w0vv:before {
96
98
  content: '';
97
99
  display: block;
98
100
  position: absolute;
@@ -100,13 +102,17 @@
100
102
  height: 1px;
101
103
  width: 100%;
102
104
  background-color: var(--primary-tablist-bottom-border-color);
103
- }.tabs__fullWidthScroll_1hdca {
105
+ }.tabs__fullWidthScroll_1w0vv {
104
106
  min-width: calc(100% - 2 * var(--gap-m));
105
107
  margin: 0 var(--gap-m);
106
- }.tabs__container_1hdca {
108
+ }.tabs__container_1w0vv {
107
109
  position: relative;
108
110
  overflow: hidden;
109
- }.tabs__title_1hdca {
111
+
112
+ /* focus-outline fix */
113
+ margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
114
+ padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
115
+ }.tabs__title_1w0vv {
110
116
  display: flex;
111
117
  align-items: center;
112
118
  height: 100%;
@@ -123,76 +129,76 @@
123
129
  user-select: none;
124
130
  cursor: pointer;
125
131
  outline: none
126
- }.tabs__title_1hdca:not(.tabs__disabled_1hdca):hover {
132
+ }.tabs__title_1w0vv:not(.tabs__disabled_1w0vv):hover {
127
133
  color: var(--primary-tablist-hover-color);
128
- }.tabs__focused_1hdca {
134
+ }.tabs__focused_1w0vv {
129
135
  outline: 2px solid var(--focus-color);
130
136
  outline-offset: 2px;
131
- }.tabs__collapsed_1hdca {
137
+ }.tabs__collapsed_1w0vv {
132
138
  order: 99;
133
139
  visibility: collapse;
134
- }.tabs__selected_1hdca {
140
+ }.tabs__selected_1w0vv {
135
141
  cursor: default;
136
142
  color: var(--primary-tablist-selected-color);
137
- }.tabs__disabled_1hdca {
143
+ }.tabs__disabled_1w0vv {
138
144
  cursor: var(--disabled-cursor);
139
145
  color: var(--primary-tablist-disabled-color);
140
- }.tabs__line_1hdca {
146
+ }.tabs__line_1w0vv {
141
147
  position: absolute;
142
148
  height: 3px;
143
149
  bottom: 0;
144
150
  left: 0;
145
151
  background-color: var(--primary-tablist-line-color);
146
152
  transition: transform 0.2s ease, width 0.2s ease;
147
- }/* sizes */.tabs__s_1hdca .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca {
153
+ }/* sizes */.tabs__s_1w0vv .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv {
148
154
  padding: var(--primary-tablist-s-padding);
149
155
  font-size: var(--primary-tablist-s-font-size);
150
156
  font-weight: var(--primary-tablist-s-font-weight);
151
157
  font-family: var(--primary-tablist-s-font-family);
152
158
  line-height: 24px;
153
- }.tabs__s_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
159
+ }.tabs__s_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
154
160
  margin-left: var(--primary-tablist-s-gaps);
155
- }.tabs__s_1hdca .tabs__pickerWrapper_1hdca, .tabs__xs_1hdca .tabs__pickerWrapper_1hdca, .tabs__xxs_1hdca .tabs__pickerWrapper_1hdca {
161
+ }.tabs__s_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xs_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xxs_1w0vv .tabs__pickerWrapper_1w0vv {
156
162
  margin-left: var(--primary-tablist-s-gaps);
157
- }.tabs__s_1hdca .tabs__option_1hdca, .tabs__xs_1hdca .tabs__option_1hdca, .tabs__xxs_1hdca .tabs__option_1hdca {
163
+ }.tabs__s_1w0vv .tabs__option_1w0vv, .tabs__xs_1w0vv .tabs__option_1w0vv, .tabs__xxs_1w0vv .tabs__option_1w0vv {
158
164
  padding: 0;
159
- }.tabs__m_1hdca .tabs__title_1hdca {
165
+ }.tabs__m_1w0vv .tabs__title_1w0vv {
160
166
  padding: var(--primary-tablist-m-padding);
161
167
  font-size: var(--primary-tablist-m-font-size);
162
168
  font-weight: var(--primary-tablist-m-font-weight);
163
169
  font-family: var(--primary-tablist-m-font-family);
164
170
  line-height: 24px;
165
- }.tabs__m_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
171
+ }.tabs__m_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
166
172
  margin-left: var(--primary-tablist-m-gaps);
167
- }.tabs__m_1hdca .tabs__pickerWrapper_1hdca {
173
+ }.tabs__m_1w0vv .tabs__pickerWrapper_1w0vv {
168
174
  margin-left: var(--primary-tablist-m-gaps);
169
- }.tabs__m_1hdca .tabs__option_1hdca {
175
+ }.tabs__m_1w0vv .tabs__option_1w0vv {
170
176
  padding: 0;
171
- }.tabs__l_1hdca .tabs__title_1hdca {
177
+ }.tabs__l_1w0vv .tabs__title_1w0vv {
172
178
  padding: var(--primary-tablist-l-padding);
173
179
  font-size: var(--primary-tablist-l-font-size);
174
180
  font-weight: var(--primary-tablist-l-font-weight);
175
181
  font-family: var(--primary-tablist-l-font-family);
176
182
  line-height: 24px;
177
- }.tabs__l_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
183
+ }.tabs__l_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
178
184
  margin-left: var(--primary-tablist-l-gaps);
179
- }.tabs__l_1hdca .tabs__pickerWrapper_1hdca {
185
+ }.tabs__l_1w0vv .tabs__pickerWrapper_1w0vv {
180
186
  margin-left: var(--primary-tablist-l-gaps);
181
- }.tabs__l_1hdca .tabs__option_1hdca {
187
+ }.tabs__l_1w0vv .tabs__option_1w0vv {
182
188
  padding: 0;
183
- }.tabs__xl_1hdca .tabs__title_1hdca {
189
+ }.tabs__xl_1w0vv .tabs__title_1w0vv {
184
190
  padding: var(--primary-tablist-xl-padding);
185
191
  font-size: var(--primary-tablist-xl-font-size);
186
192
  font-weight: var(--primary-tablist-xl-font-weight);
187
193
  font-family: var(--primary-tablist-xl-font-family);
188
194
  line-height: 32px;
189
- }.tabs__xl_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
195
+ }.tabs__xl_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
190
196
  margin-left: var(--primary-tablist-xl-gaps);
191
- }.tabs__xl_1hdca .tabs__pickerWrapper_1hdca {
197
+ }.tabs__xl_1w0vv .tabs__pickerWrapper_1w0vv {
192
198
  margin-left: var(--primary-tablist-xl-gaps);
193
- }.tabs__xl_1hdca .tabs__option_1hdca {
199
+ }.tabs__xl_1w0vv .tabs__option_1w0vv {
194
200
  padding: 0;
195
- }.tabs__rightAddons_1hdca {
201
+ }.tabs__rightAddons_1w0vv {
196
202
  display: flex;
197
203
  justify-content: center;
198
204
  align-items: center;
@@ -1012,15 +1018,15 @@
1012
1018
  /* size xl */
1013
1019
  --secondary-tablist-xl-gaps: var(--gap-m);
1014
1020
  }
1015
- .tabs__title_1mh0j {
1021
+ .tabs__title_f1h14 {
1016
1022
  }
1017
- .tabs__mobile_1mh0j .tabs__title_1mh0j {
1023
+ .tabs__mobile_f1h14 .tabs__title_f1h14 {
1018
1024
  padding: var(--primary-tablist-mobile-padding);
1019
1025
  font-size: var(--primary-tablist-mobile-font-size);
1020
1026
  font-weight: var(--primary-tablist-mobile-font-weight);
1021
1027
  font-family: var(--primary-tablist-mobile-font-family);
1022
1028
  line-height: var(--primary-tablist-mobile-line-height)
1023
1029
  }
1024
- .tabs__mobile_1mh0j .tabs__title_1mh0j + .tabs__title_1mh0j {
1030
+ .tabs__mobile_f1h14 .tabs__title_f1h14 + .tabs__title_f1h14 {
1025
1031
  margin-left: var(--primary-tablist-mobile-gaps);
1026
1032
  }
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
10
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
11
11
  var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultCompat(computeScrollIntoView);
12
12
 
13
- var styles = {"container":"tabs__container_16rkk","fullWidthScroll":"tabs__fullWidthScroll_16rkk"};
13
+ var styles = {"container":"tabs__container_1lf44","fullWidthScroll":"tabs__fullWidthScroll_1lf44"};
14
14
  require('./index.css')
15
15
 
16
16
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1yssk */
1
+ /* hash: 1nw7t */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -8,6 +8,8 @@
8
8
  /* Hard up */
9
9
  }
10
10
  :root {
11
+ --gap-2xs: 4px;
12
+ --gap-2xs-neg: -4px;
11
13
  --gap-m-neg: -16px;
12
14
  }
13
15
  :root {
@@ -36,19 +38,23 @@
36
38
 
37
39
  /* size xl */
38
40
  }
39
- .tabs__container_16rkk {
41
+ .tabs__container_1lf44 {
40
42
  position: relative;
41
43
  overflow-x: auto;
42
44
  overflow-y: hidden;
43
45
  scroll-behavior: smooth;
44
- scrollbar-width: none
46
+ scrollbar-width: none;
47
+
48
+ /* focus-outline fix */
49
+ margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
50
+ padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
45
51
  }
46
- .tabs__container_16rkk::-webkit-scrollbar {
52
+ .tabs__container_1lf44::-webkit-scrollbar {
47
53
  display: none;
48
54
  }
49
- .tabs__container_16rkk > * {
55
+ .tabs__container_1lf44 > * {
50
56
  flex-shrink: 0;
51
57
  }
52
- .tabs__fullWidthScroll_16rkk {
58
+ .tabs__fullWidthScroll_1lf44 {
53
59
  margin: 0 var(--gap-m-neg);
54
60
  }
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var components_secondaryTablist_Component = require('./Component.js');
6
- var index_module = require('../../index.module-396d3834.js');
6
+ var index_module = require('../../index.module-a5052a1c.js');
7
7
  require('classnames');
8
8
  require('@alfalab/core-components-tag');
9
9
  require('../../hooks/use-tabs.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var coreComponentsTag = require('@alfalab/core-components-tag');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var components_secondaryTablist_Component = require('./Component.js');
7
- var index_module = require('../../index.module-396d3834.js');
7
+ var index_module = require('../../index.module-a5052a1c.js');
8
8
  require('@alfalab/core-components-tag');
9
9
  require('../../hooks/use-tabs.js');
10
10
  require('../scrollable-container/Component.js');
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var mobileStyles = {"title":"tabs__title_hy89h tabs__title_xep1h","mobile":"tabs__mobile_hy89h"};
18
+ var mobileStyles = {"title":"tabs__title_qaf9d tabs__title_1p09l","mobile":"tabs__mobile_qaf9d"};
19
19
  require('./mobile.css')
20
20
 
21
21
  var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../../tslib.es6-72964df1.js');
3
+ var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
4
4
  var React = require('react');
5
5
  var hooks = require('@alfalab/hooks');
6
6
  var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
@@ -11,7 +11,7 @@ require('@alfalab/core-components-tag');
11
11
  require('../../hooks/use-tabs.js');
12
12
  require('../scrollable-container/Component.js');
13
13
  require('compute-scroll-into-view');
14
- require('../../index.module-396d3834.js');
14
+ require('../../index.module-a5052a1c.js');
15
15
 
16
16
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
17
17
 
@@ -1,4 +1,4 @@
1
- /* hash: 12d87 */
1
+ /* hash: eu746 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -8,9 +8,11 @@
8
8
  /* Hard up */
9
9
  }
10
10
  :root {
11
+ --gap-2xs: 4px;
11
12
  --gap-xs: 8px;
12
13
  --gap-s: 12px;
13
14
  --gap-m: 16px;
15
+ --gap-2xs-neg: -4px;
14
16
  }
15
17
  :root {
16
18
 
@@ -44,35 +46,39 @@
44
46
  /* size xl */
45
47
  --secondary-tablist-xl-gaps: var(--gap-m);
46
48
  }
47
- .tabs__component_xep1h {
49
+ .tabs__component_1p09l {
48
50
  position: relative;
49
51
  display: inline-flex;
50
52
  }
51
- .tabs__fullWidthScroll_xep1h {
53
+ .tabs__fullWidthScroll_1p09l {
52
54
  margin: 0 var(--gap-m);
53
55
  }
54
- .tabs__container_xep1h {
56
+ .tabs__container_1p09l {
55
57
  overflow: hidden;
58
+
59
+ /* focus-outline fix */
60
+ margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
61
+ padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
56
62
  }
57
- .tabs__title_xep1h {
63
+ .tabs__title_1p09l {
58
64
  white-space: nowrap;
59
65
  }
60
66
  /* sizes */
61
- .tabs__xxs_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
67
+ .tabs__xxs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
62
68
  margin-left: var(--secondary-tablist-xxs-gaps);
63
69
  }
64
- .tabs__xs_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
70
+ .tabs__xs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
65
71
  margin-left: var(--secondary-tablist-xs-gaps);
66
72
  }
67
- .tabs__s_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
73
+ .tabs__s_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
68
74
  margin-left: var(--secondary-tablist-s-gaps);
69
75
  }
70
- .tabs__m_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
76
+ .tabs__m_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
71
77
  margin-left: var(--secondary-tablist-m-gaps);
72
78
  }
73
- .tabs__l_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
79
+ .tabs__l_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
74
80
  margin-left: var(--secondary-tablist-l-gaps);
75
81
  }
76
- .tabs__xl_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
82
+ .tabs__xl_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
77
83
  margin-left: var(--secondary-tablist-xl-gaps);
78
84
  }