@alfalab/core-components-tabs 6.5.0 → 7.0.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 (101) hide show
  1. package/components/primary-tablist/Component.d.ts +1 -9
  2. package/components/primary-tablist/Component.desktop.js +2 -2
  3. package/components/primary-tablist/Component.js +1 -1
  4. package/components/primary-tablist/Component.mobile.js +3 -3
  5. package/components/primary-tablist/Component.responsive.js +2 -2
  6. package/components/primary-tablist/index.css +20 -20
  7. package/components/primary-tablist/mobile.css +23 -23
  8. package/components/scrollable-container/Component.js +1 -1
  9. package/components/scrollable-container/index.css +5 -5
  10. package/components/secondary-tablist/Component.d.ts +1 -9
  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 +11 -11
  16. package/components/secondary-tablist/mobile.css +13 -13
  17. package/components/tab/Component.js +1 -1
  18. package/components/tab/index.css +3 -3
  19. package/components/tabs/Component.d.ts +1 -1
  20. package/components/tabs/Component.desktop.d.ts +1 -1
  21. package/components/tabs/Component.desktop.js +3 -3
  22. package/components/tabs/Component.mobile.d.ts +1 -1
  23. package/components/tabs/Component.mobile.js +3 -3
  24. package/components/tabs/Component.responsive.d.ts +1 -1
  25. package/components/tabs/Component.responsive.js +3 -3
  26. package/cssm/components/primary-tablist/Component.d.ts +1 -9
  27. package/cssm/components/secondary-tablist/Component.d.ts +1 -9
  28. package/cssm/typings.d.ts +11 -10
  29. package/desktop.js +3 -3
  30. package/esm/components/primary-tablist/Component.d.ts +1 -9
  31. package/esm/components/primary-tablist/Component.desktop.js +2 -2
  32. package/esm/components/primary-tablist/Component.js +1 -1
  33. package/esm/components/primary-tablist/Component.mobile.js +3 -3
  34. package/esm/components/primary-tablist/Component.responsive.js +2 -2
  35. package/esm/components/primary-tablist/index.css +20 -20
  36. package/esm/components/primary-tablist/mobile.css +23 -23
  37. package/esm/components/scrollable-container/Component.js +1 -1
  38. package/esm/components/scrollable-container/index.css +5 -5
  39. package/esm/components/secondary-tablist/Component.d.ts +1 -9
  40. package/esm/components/secondary-tablist/Component.desktop.js +2 -2
  41. package/esm/components/secondary-tablist/Component.js +1 -1
  42. package/esm/components/secondary-tablist/Component.mobile.js +3 -3
  43. package/esm/components/secondary-tablist/Component.responsive.js +2 -2
  44. package/esm/components/secondary-tablist/index.css +11 -11
  45. package/esm/components/secondary-tablist/mobile.css +13 -13
  46. package/esm/components/tab/Component.js +1 -1
  47. package/esm/components/tab/index.css +3 -3
  48. package/esm/components/tabs/Component.desktop.js +3 -3
  49. package/esm/components/tabs/Component.mobile.js +3 -3
  50. package/esm/components/tabs/Component.responsive.js +3 -3
  51. package/esm/desktop.js +3 -3
  52. package/esm/index.js +3 -3
  53. package/esm/index.module-66e990cf.js +4 -0
  54. package/esm/index.module-86f8da62.js +4 -0
  55. package/esm/mobile.js +3 -3
  56. package/esm/responsive.js +3 -3
  57. package/esm/{tslib.es6-b50bf201.d.ts → tslib.es6-d5128bef.d.ts} +0 -0
  58. package/esm/{tslib.es6-b50bf201.js → tslib.es6-d5128bef.js} +0 -0
  59. package/esm/typings.d.ts +11 -10
  60. package/index.js +3 -3
  61. package/index.module-046e1e07.js +6 -0
  62. package/index.module-2d671700.js +6 -0
  63. package/mobile.js +3 -3
  64. package/modern/components/primary-tablist/Component.d.ts +1 -9
  65. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  66. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  67. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  68. package/modern/components/primary-tablist/index.css +20 -20
  69. package/modern/components/primary-tablist/mobile.css +23 -23
  70. package/modern/components/scrollable-container/Component.js +1 -1
  71. package/modern/components/scrollable-container/index.css +5 -5
  72. package/modern/components/secondary-tablist/Component.d.ts +1 -9
  73. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  74. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  75. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  76. package/modern/components/secondary-tablist/index.css +11 -11
  77. package/modern/components/secondary-tablist/mobile.css +13 -13
  78. package/modern/components/tab/Component.js +1 -1
  79. package/modern/components/tab/index.css +3 -3
  80. package/modern/components/tabs/Component.desktop.js +2 -2
  81. package/modern/components/tabs/Component.mobile.js +2 -2
  82. package/modern/components/tabs/Component.responsive.js +2 -2
  83. package/modern/desktop.js +2 -2
  84. package/modern/index.js +2 -2
  85. package/modern/index.module-66e990cf.js +4 -0
  86. package/modern/index.module-86f8da62.js +4 -0
  87. package/modern/mobile.js +2 -2
  88. package/modern/responsive.js +2 -2
  89. package/modern/typings.d.ts +11 -10
  90. package/package.json +6 -6
  91. package/responsive.js +3 -3
  92. package/{tslib.es6-996824db.d.ts → tslib.es6-ca2042ba.d.ts} +0 -0
  93. package/{tslib.es6-996824db.js → tslib.es6-ca2042ba.js} +0 -0
  94. package/typings.d.ts +11 -10
  95. package/CHANGELOG.md +0 -378
  96. package/esm/index.module-4bf6c045.js +0 -4
  97. package/esm/index.module-c15e7c79.js +0 -4
  98. package/index.module-960245fb.js +0 -6
  99. package/index.module-d67ef5e7.js +0 -6
  100. package/modern/index.module-4bf6c045.js +0 -4
  101. package/modern/index.module-c15e7c79.js +0 -4
@@ -1,14 +1,6 @@
1
1
  /// <reference types="react" />
2
- import React from 'react';
3
2
  import { Styles } from "../../typings";
4
3
  declare const PrimaryTabList: ({ size, styles, className, containerClassName, titles, selectedId, scrollable, fullWidthScroll, onChange, dataTestId, }: Pick<import("../../typings").TabsProps, "className" | "onChange" | "size" | "dataTestId" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "fullWidthScroll"> & {
5
- titles?: {
6
- title: string;
7
- id: React.ReactText;
8
- disabled?: boolean | undefined;
9
- rightAddons?: React.ReactNode;
10
- hidden?: boolean | undefined;
11
- toggleClassName?: string | undefined;
12
- }[] | undefined;
4
+ titles?: import("../../typings").TabListTitle[] | undefined;
13
5
  } & Styles) => JSX.Element;
14
6
  export { PrimaryTabList };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  require('@alfalab/core-components-keyboard-focusable');
8
8
  require('classnames');
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
10
10
  require('../scrollable-container/Component.js');
11
11
  require('../../useTabs.js');
12
12
  var components_primaryTablist_Component = require('./Component.js');
13
- var index_module = require('../../index.module-d67ef5e7.js');
13
+ var index_module = require('../../index.module-2d671700.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  var coreComponentsKeyboardFocusable = require('@alfalab/core-components-keyboard-focusable');
8
8
  var cn = require('classnames');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  require('@alfalab/core-components-keyboard-focusable');
8
8
  var cn = require('classnames');
@@ -10,14 +10,14 @@ require('compute-scroll-into-view');
10
10
  require('../scrollable-container/Component.js');
11
11
  require('../../useTabs.js');
12
12
  var components_primaryTablist_Component = require('./Component.js');
13
- var index_module = require('../../index.module-d67ef5e7.js');
13
+ var index_module = require('../../index.module-2d671700.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
17
17
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
19
19
 
20
- var mobileStyles = {"title":"tabs__title_dhwzv tabs__title_astus","mobile":"tabs__mobile_dhwzv"};
20
+ var mobileStyles = {"title":"tabs__title_15atz tabs__title_1i10x","mobile":"tabs__mobile_15atz"};
21
21
  require('./mobile.css')
22
22
 
23
23
  var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  require('@alfalab/core-components-keyboard-focusable');
8
8
  require('classnames');
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
10
10
  require('../scrollable-container/Component.js');
11
11
  require('../../useTabs.js');
12
12
  require('./Component.js');
13
- require('../../index.module-d67ef5e7.js');
13
+ require('../../index.module-2d671700.js');
14
14
  var components_primaryTablist_Component_desktop = require('./Component.desktop.js');
15
15
  var hooks = require('@alfalab/hooks');
16
16
  var components_primaryTablist_Component_mobile = require('./Component.mobile.js');
@@ -1,4 +1,4 @@
1
- /* hash: t09rb */
1
+ /* hash: 16csi */
2
2
  :root {
3
3
  --color-light-border-accent: #ef3124;
4
4
  --color-light-border-link: #007aff;
@@ -82,12 +82,12 @@
82
82
 
83
83
  /* size xl */
84
84
  }
85
- .tabs__component_astus {
85
+ .tabs__component_1i10x {
86
86
  position: relative;
87
87
  display: inline-flex;
88
88
  min-width: 100%
89
89
  }
90
- .tabs__component_astus:before {
90
+ .tabs__component_1i10x:before {
91
91
  content: '';
92
92
  display: block;
93
93
  position: absolute;
@@ -96,15 +96,15 @@
96
96
  width: 100%;
97
97
  background-color: var(--primary-tablist-bottom-border-color);
98
98
  }
99
- .tabs__fullWidthScroll_astus {
99
+ .tabs__fullWidthScroll_1i10x {
100
100
  min-width: calc(100% - 2 * var(--gap-m));
101
101
  margin: 0 var(--gap-m);
102
102
  }
103
- .tabs__container_astus {
103
+ .tabs__container_1i10x {
104
104
  position: relative;
105
105
  overflow: hidden;
106
106
  }
107
- .tabs__title_astus {
107
+ .tabs__title_1i10x {
108
108
  display: flex;
109
109
  align-items: center;
110
110
  height: 100%;
@@ -122,22 +122,22 @@
122
122
  cursor: pointer;
123
123
  outline: none
124
124
  }
125
- .tabs__title_astus:not(.tabs__disabled_astus):hover {
125
+ .tabs__title_1i10x:not(.tabs__disabled_1i10x):hover {
126
126
  color: var(--primary-tablist-hover-color);
127
127
  }
128
- .tabs__focused_astus {
128
+ .tabs__focused_1i10x {
129
129
  outline: 2px solid var(--focus-color);
130
130
  outline-offset: 2px;
131
131
  }
132
- .tabs__selected_astus {
132
+ .tabs__selected_1i10x {
133
133
  cursor: default;
134
134
  color: var(--primary-tablist-selected-color);
135
135
  }
136
- .tabs__disabled_astus {
136
+ .tabs__disabled_1i10x {
137
137
  cursor: var(--disabled-cursor);
138
138
  color: var(--primary-tablist-disabled-color);
139
139
  }
140
- .tabs__line_astus {
140
+ .tabs__line_1i10x {
141
141
  position: absolute;
142
142
  height: 3px;
143
143
  bottom: 0;
@@ -146,46 +146,46 @@
146
146
  transition: transform 0.2s ease, width 0.2s ease;
147
147
  }
148
148
  /* sizes */
149
- .tabs__s_astus .tabs__title_astus, .tabs__xs_astus .tabs__title_astus, .tabs__xxs_astus .tabs__title_astus {
149
+ .tabs__s_1i10x .tabs__title_1i10x, .tabs__xs_1i10x .tabs__title_1i10x, .tabs__xxs_1i10x .tabs__title_1i10x {
150
150
  padding: var(--primary-tablist-s-padding);
151
151
  font-size: var(--primary-tablist-s-font-size);
152
152
  font-weight: var(--primary-tablist-s-font-weight);
153
153
  font-family: var(--primary-tablist-s-font-family);
154
154
  line-height: 24px;
155
155
  }
156
- .tabs__s_astus .tabs__title_astus + .tabs__title_astus, .tabs__xs_astus .tabs__title_astus + .tabs__title_astus, .tabs__xxs_astus .tabs__title_astus + .tabs__title_astus {
156
+ .tabs__s_1i10x .tabs__title_1i10x + .tabs__title_1i10x, .tabs__xs_1i10x .tabs__title_1i10x + .tabs__title_1i10x, .tabs__xxs_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
157
157
  margin-left: var(--primary-tablist-s-gaps);
158
158
  }
159
- .tabs__m_astus .tabs__title_astus {
159
+ .tabs__m_1i10x .tabs__title_1i10x {
160
160
  padding: var(--primary-tablist-m-padding);
161
161
  font-size: var(--primary-tablist-m-font-size);
162
162
  font-weight: var(--primary-tablist-m-font-weight);
163
163
  font-family: var(--primary-tablist-m-font-family);
164
164
  line-height: 24px;
165
165
  }
166
- .tabs__m_astus .tabs__title_astus + .tabs__title_astus {
166
+ .tabs__m_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
167
167
  margin-left: var(--primary-tablist-m-gaps);
168
168
  }
169
- .tabs__l_astus .tabs__title_astus {
169
+ .tabs__l_1i10x .tabs__title_1i10x {
170
170
  padding: var(--primary-tablist-l-padding);
171
171
  font-size: var(--primary-tablist-l-font-size);
172
172
  font-weight: var(--primary-tablist-l-font-weight);
173
173
  font-family: var(--primary-tablist-l-font-family);
174
174
  line-height: 24px;
175
175
  }
176
- .tabs__l_astus .tabs__title_astus + .tabs__title_astus {
176
+ .tabs__l_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
177
177
  margin-left: var(--primary-tablist-l-gaps);
178
178
  }
179
- .tabs__xl_astus .tabs__title_astus {
179
+ .tabs__xl_1i10x .tabs__title_1i10x {
180
180
  padding: var(--primary-tablist-xl-padding);
181
181
  font-size: var(--primary-tablist-xl-font-size);
182
182
  font-weight: var(--primary-tablist-xl-font-weight);
183
183
  font-family: var(--primary-tablist-xl-font-family);
184
184
  line-height: 32px;
185
185
  }
186
- .tabs__xl_astus .tabs__title_astus + .tabs__title_astus {
186
+ .tabs__xl_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
187
187
  margin-left: var(--primary-tablist-xl-gaps);
188
188
  }
189
- .tabs__rightAddons_astus {
189
+ .tabs__rightAddons_1i10x {
190
190
  margin-left: var(--gap-xs);
191
191
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1ae0x */
1
+ /* hash: 16i1o */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -86,11 +86,11 @@
86
86
  /* size l */
87
87
 
88
88
  /* size xl */
89
- }.tabs__component_astus {
89
+ }.tabs__component_1i10x {
90
90
  position: relative;
91
91
  display: inline-flex;
92
92
  min-width: 100%
93
- }.tabs__component_astus:before {
93
+ }.tabs__component_1i10x:before {
94
94
  content: '';
95
95
  display: block;
96
96
  position: absolute;
@@ -98,13 +98,13 @@
98
98
  height: 1px;
99
99
  width: 100%;
100
100
  background-color: var(--primary-tablist-bottom-border-color);
101
- }.tabs__fullWidthScroll_astus {
101
+ }.tabs__fullWidthScroll_1i10x {
102
102
  min-width: calc(100% - 2 * var(--gap-m));
103
103
  margin: 0 var(--gap-m);
104
- }.tabs__container_astus {
104
+ }.tabs__container_1i10x {
105
105
  position: relative;
106
106
  overflow: hidden;
107
- }.tabs__title_astus {
107
+ }.tabs__title_1i10x {
108
108
  display: flex;
109
109
  align-items: center;
110
110
  height: 100%;
@@ -121,57 +121,57 @@
121
121
  user-select: none;
122
122
  cursor: pointer;
123
123
  outline: none
124
- }.tabs__title_astus:not(.tabs__disabled_astus):hover {
124
+ }.tabs__title_1i10x:not(.tabs__disabled_1i10x):hover {
125
125
  color: var(--primary-tablist-hover-color);
126
- }.tabs__focused_astus {
126
+ }.tabs__focused_1i10x {
127
127
  outline: 2px solid var(--focus-color);
128
128
  outline-offset: 2px;
129
- }.tabs__selected_astus {
129
+ }.tabs__selected_1i10x {
130
130
  cursor: default;
131
131
  color: var(--primary-tablist-selected-color);
132
- }.tabs__disabled_astus {
132
+ }.tabs__disabled_1i10x {
133
133
  cursor: var(--disabled-cursor);
134
134
  color: var(--primary-tablist-disabled-color);
135
- }.tabs__line_astus {
135
+ }.tabs__line_1i10x {
136
136
  position: absolute;
137
137
  height: 3px;
138
138
  bottom: 0;
139
139
  left: 0;
140
140
  background-color: var(--primary-tablist-line-color);
141
141
  transition: transform 0.2s ease, width 0.2s ease;
142
- }/* sizes */.tabs__s_astus .tabs__title_astus, .tabs__xs_astus .tabs__title_astus, .tabs__xxs_astus .tabs__title_astus {
142
+ }/* sizes */.tabs__s_1i10x .tabs__title_1i10x, .tabs__xs_1i10x .tabs__title_1i10x, .tabs__xxs_1i10x .tabs__title_1i10x {
143
143
  padding: var(--primary-tablist-s-padding);
144
144
  font-size: var(--primary-tablist-s-font-size);
145
145
  font-weight: var(--primary-tablist-s-font-weight);
146
146
  font-family: var(--primary-tablist-s-font-family);
147
147
  line-height: 24px;
148
- }.tabs__s_astus .tabs__title_astus + .tabs__title_astus, .tabs__xs_astus .tabs__title_astus + .tabs__title_astus, .tabs__xxs_astus .tabs__title_astus + .tabs__title_astus {
148
+ }.tabs__s_1i10x .tabs__title_1i10x + .tabs__title_1i10x, .tabs__xs_1i10x .tabs__title_1i10x + .tabs__title_1i10x, .tabs__xxs_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
149
149
  margin-left: var(--primary-tablist-s-gaps);
150
- }.tabs__m_astus .tabs__title_astus {
150
+ }.tabs__m_1i10x .tabs__title_1i10x {
151
151
  padding: var(--primary-tablist-m-padding);
152
152
  font-size: var(--primary-tablist-m-font-size);
153
153
  font-weight: var(--primary-tablist-m-font-weight);
154
154
  font-family: var(--primary-tablist-m-font-family);
155
155
  line-height: 24px;
156
- }.tabs__m_astus .tabs__title_astus + .tabs__title_astus {
156
+ }.tabs__m_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
157
157
  margin-left: var(--primary-tablist-m-gaps);
158
- }.tabs__l_astus .tabs__title_astus {
158
+ }.tabs__l_1i10x .tabs__title_1i10x {
159
159
  padding: var(--primary-tablist-l-padding);
160
160
  font-size: var(--primary-tablist-l-font-size);
161
161
  font-weight: var(--primary-tablist-l-font-weight);
162
162
  font-family: var(--primary-tablist-l-font-family);
163
163
  line-height: 24px;
164
- }.tabs__l_astus .tabs__title_astus + .tabs__title_astus {
164
+ }.tabs__l_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
165
165
  margin-left: var(--primary-tablist-l-gaps);
166
- }.tabs__xl_astus .tabs__title_astus {
166
+ }.tabs__xl_1i10x .tabs__title_1i10x {
167
167
  padding: var(--primary-tablist-xl-padding);
168
168
  font-size: var(--primary-tablist-xl-font-size);
169
169
  font-weight: var(--primary-tablist-xl-font-weight);
170
170
  font-family: var(--primary-tablist-xl-font-family);
171
171
  line-height: 32px;
172
- }.tabs__xl_astus .tabs__title_astus + .tabs__title_astus {
172
+ }.tabs__xl_1i10x .tabs__title_1i10x + .tabs__title_1i10x {
173
173
  margin-left: var(--primary-tablist-xl-gaps);
174
- }.tabs__rightAddons_astus {
174
+ }.tabs__rightAddons_1i10x {
175
175
  margin-left: var(--gap-xs);
176
176
  }
177
177
  :root {
@@ -966,15 +966,15 @@
966
966
  /* size xl */
967
967
  --secondary-tablist-xl-gaps: var(--gap-m);
968
968
  }
969
- .tabs__title_dhwzv {
969
+ .tabs__title_15atz {
970
970
  }
971
- .tabs__mobile_dhwzv .tabs__title_dhwzv {
971
+ .tabs__mobile_15atz .tabs__title_15atz {
972
972
  padding: var(--primary-tablist-mobile-padding);
973
973
  font-size: var(--primary-tablist-mobile-font-size);
974
974
  font-weight: var(--primary-tablist-mobile-font-weight);
975
975
  font-family: var(--primary-tablist-mobile-font-family);
976
976
  line-height: 24px
977
977
  }
978
- .tabs__mobile_dhwzv .tabs__title_dhwzv + .tabs__title_dhwzv {
978
+ .tabs__mobile_15atz .tabs__title_15atz + .tabs__title_15atz {
979
979
  margin-left: var(--primary-tablist-mobile-gaps);
980
980
  }
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
13
13
  var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultLegacy(computeScrollIntoView);
14
14
 
15
- var styles = {"container":"tabs__container_te8ps","fullWidthScroll":"tabs__fullWidthScroll_te8ps"};
15
+ var styles = {"container":"tabs__container_1lbqj","fullWidthScroll":"tabs__fullWidthScroll_1lbqj"};
16
16
  require('./index.css')
17
17
 
18
18
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 31dvk */
1
+ /* hash: zibwx */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -36,19 +36,19 @@
36
36
 
37
37
  /* size xl */
38
38
  }
39
- .tabs__container_te8ps {
39
+ .tabs__container_1lbqj {
40
40
  position: relative;
41
41
  overflow-x: auto;
42
42
  overflow-y: hidden;
43
43
  scroll-behavior: smooth;
44
44
  scrollbar-width: none
45
45
  }
46
- .tabs__container_te8ps::-webkit-scrollbar {
46
+ .tabs__container_1lbqj::-webkit-scrollbar {
47
47
  display: none;
48
48
  }
49
- .tabs__container_te8ps > * {
49
+ .tabs__container_1lbqj > * {
50
50
  flex-shrink: 0;
51
51
  }
52
- .tabs__fullWidthScroll_te8ps {
52
+ .tabs__fullWidthScroll_1lbqj {
53
53
  margin: 0 var(--gap-m-neg);
54
54
  }
@@ -1,15 +1,7 @@
1
1
  /// <reference types="react" />
2
- import React from 'react';
3
2
  import { Styles } from "../../typings";
4
3
  declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, }: Pick<import("../../typings").TabsProps, "className" | "onChange" | "size" | "dataTestId" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "fullWidthScroll"> & {
5
- titles?: {
6
- title: string;
7
- id: React.ReactText;
8
- disabled?: boolean | undefined;
9
- rightAddons?: React.ReactNode;
10
- hidden?: boolean | undefined;
11
- toggleClassName?: string | undefined;
12
- }[] | undefined;
4
+ titles?: import("../../typings").TabListTitle[] | undefined;
13
5
  } & {
14
6
  tagSize?: "xxs" | "xs" | "s" | "m" | "l" | "xl" | undefined;
15
7
  } & Styles) => JSX.Element;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  require('classnames');
8
8
  require('compute-scroll-into-view');
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
10
10
  require('../../useTabs.js');
11
11
  require('@alfalab/core-components-tag');
12
12
  var components_secondaryTablist_Component = require('./Component.js');
13
- var index_module = require('../../index.module-960245fb.js');
13
+ var index_module = require('../../index.module-046e1e07.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  require('compute-scroll-into-view');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  require('compute-scroll-into-view');
@@ -10,14 +10,14 @@ require('../scrollable-container/Component.js');
10
10
  require('../../useTabs.js');
11
11
  require('@alfalab/core-components-tag');
12
12
  var components_secondaryTablist_Component = require('./Component.js');
13
- var index_module = require('../../index.module-960245fb.js');
13
+ var index_module = require('../../index.module-046e1e07.js');
14
14
 
15
15
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
16
 
17
17
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
19
19
 
20
- var mobileStyles = {"title":"tabs__title_e27qw tabs__title_1h1r1","mobile":"tabs__mobile_e27qw"};
20
+ var mobileStyles = {"title":"tabs__title_1laet tabs__title_9tjz1","mobile":"tabs__mobile_1laet"};
21
21
  require('./mobile.css')
22
22
 
23
23
  var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = require('react');
7
7
  require('classnames');
8
8
  require('compute-scroll-into-view');
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
10
10
  require('../../useTabs.js');
11
11
  require('@alfalab/core-components-tag');
12
12
  require('./Component.js');
13
- require('../../index.module-960245fb.js');
13
+ require('../../index.module-046e1e07.js');
14
14
  var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
15
15
  var hooks = require('@alfalab/hooks');
16
16
  var components_secondaryTablist_Component_mobile = require('./Component.mobile.js');
@@ -1,4 +1,4 @@
1
- /* hash: 1djcn */
1
+ /* hash: 19ndf */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -44,35 +44,35 @@
44
44
  /* size xl */
45
45
  --secondary-tablist-xl-gaps: var(--gap-m);
46
46
  }
47
- .tabs__component_1h1r1 {
47
+ .tabs__component_9tjz1 {
48
48
  position: relative;
49
49
  display: inline-flex;
50
50
  }
51
- .tabs__fullWidthScroll_1h1r1 {
51
+ .tabs__fullWidthScroll_9tjz1 {
52
52
  margin: 0 var(--gap-m);
53
53
  }
54
- .tabs__container_1h1r1 {
54
+ .tabs__container_9tjz1 {
55
55
  overflow: hidden;
56
56
  }
57
- .tabs__title_1h1r1 {
57
+ .tabs__title_9tjz1 {
58
58
  white-space: nowrap;
59
59
  }
60
60
  /* sizes */
61
- .tabs__xxs_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
61
+ .tabs__xxs_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
62
62
  margin-left: var(--secondary-tablist-xxs-gaps);
63
63
  }
64
- .tabs__xs_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
64
+ .tabs__xs_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
65
65
  margin-left: var(--secondary-tablist-xs-gaps);
66
66
  }
67
- .tabs__s_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
67
+ .tabs__s_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
68
68
  margin-left: var(--secondary-tablist-s-gaps);
69
69
  }
70
- .tabs__m_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
70
+ .tabs__m_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
71
71
  margin-left: var(--secondary-tablist-m-gaps);
72
72
  }
73
- .tabs__l_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
73
+ .tabs__l_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
74
74
  margin-left: var(--secondary-tablist-l-gaps);
75
75
  }
76
- .tabs__xl_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
76
+ .tabs__xl_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: x28f2 */
1
+ /* hash: xv21g */
2
2
  :root {
3
3
  }:root {
4
4
  }:root {
@@ -49,26 +49,26 @@
49
49
 
50
50
  /* size xl */
51
51
  --secondary-tablist-xl-gaps: var(--gap-m);
52
- }.tabs__component_1h1r1 {
52
+ }.tabs__component_9tjz1 {
53
53
  position: relative;
54
54
  display: inline-flex;
55
- }.tabs__fullWidthScroll_1h1r1 {
55
+ }.tabs__fullWidthScroll_9tjz1 {
56
56
  margin: 0 var(--gap-m);
57
- }.tabs__container_1h1r1 {
57
+ }.tabs__container_9tjz1 {
58
58
  overflow: hidden;
59
- }.tabs__title_1h1r1 {
59
+ }.tabs__title_9tjz1 {
60
60
  white-space: nowrap;
61
- }/* sizes */.tabs__xxs_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
61
+ }/* sizes */.tabs__xxs_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
62
62
  margin-left: var(--secondary-tablist-xxs-gaps);
63
- }.tabs__xs_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
63
+ }.tabs__xs_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
64
64
  margin-left: var(--secondary-tablist-xs-gaps);
65
- }.tabs__s_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
65
+ }.tabs__s_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
66
66
  margin-left: var(--secondary-tablist-s-gaps);
67
- }.tabs__m_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
67
+ }.tabs__m_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
68
68
  margin-left: var(--secondary-tablist-m-gaps);
69
- }.tabs__l_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
69
+ }.tabs__l_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
70
70
  margin-left: var(--secondary-tablist-l-gaps);
71
- }.tabs__xl_1h1r1 .tabs__title_1h1r1 + .tabs__title_1h1r1 {
71
+ }.tabs__xl_9tjz1 .tabs__title_9tjz1 + .tabs__title_9tjz1 {
72
72
  margin-left: var(--secondary-tablist-xl-gaps);
73
73
  }
74
74
  :root {
@@ -863,8 +863,8 @@
863
863
  /* size xl */
864
864
  --secondary-tablist-xl-gaps: var(--gap-m);
865
865
  }
866
- .tabs__title_e27qw {
866
+ .tabs__title_1laet {
867
867
  }
868
- .tabs__mobile_e27qw .tabs__title_e27qw + .tabs__title_e27qw {
868
+ .tabs__mobile_1laet .tabs__title_1laet + .tabs__title_1laet {
869
869
  margin-left: var(--secondary-tablist-mobile-gaps);
870
870
  }
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
10
10
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
11
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
12
12
 
13
- var styles = {"component":"tabs__component_m7qvy","hidden":"tabs__hidden_m7qvy"};
13
+ var styles = {"component":"tabs__component_1tfxy","hidden":"tabs__hidden_1tfxy"};
14
14
  require('./index.css')
15
15
 
16
16
  var Tab = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: o9xs4 */
2
- .tabs__component_m7qvy {
1
+ /* hash: nh45r */
2
+ .tabs__component_1tfxy {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_m7qvy {
6
+ .tabs__hidden_1tfxy {
7
7
  display: none;
8
8
  }
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { TabsProps } from "../../typings";
3
- declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, fullWidthScroll, keepMounted, dataTestId, onChange, }: Pick<TabsProps, "className" | "children" | "onChange" | "size" | "dataTestId" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "fullWidthScroll" | "keepMounted" | "TabList">) => JSX.Element;
3
+ declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, fullWidthScroll, keepMounted, dataTestId, onChange, }: Pick<TabsProps, "children" | "className" | "onChange" | "size" | "dataTestId" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "fullWidthScroll" | "keepMounted" | "TabList">) => JSX.Element;
4
4
  export { Tabs };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { TabsProps } from "../../typings";
3
3
  type TabsDesktopProps = Omit<TabsProps, 'TabList' | 'fullWidthScroll'>;
4
- declare const TabsDesktop: ({ view, scrollable, size, ...restProps }: Pick<TabsProps, "className" | "children" | "onChange" | "size" | "dataTestId" | "view" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted">) => JSX.Element;
4
+ declare const TabsDesktop: ({ view, scrollable, size, ...restProps }: Pick<TabsProps, "children" | "className" | "onChange" | "size" | "dataTestId" | "view" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted">) => JSX.Element;
5
5
  export { TabsDesktopProps, TabsDesktop };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-996824db.js');
5
+ var tslib_es6 = require('../../tslib.es6-ca2042ba.js');
6
6
  var React = 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
  require('../scrollable-container/Component.js');
11
11
  require('../../useTabs.js');
12
12
  require('../primary-tablist/Component.js');
13
- require('../../index.module-d67ef5e7.js');
13
+ require('../../index.module-2d671700.js');
14
14
  var components_primaryTablist_Component_desktop = require('../primary-tablist/Component.desktop.js');
15
15
  require('@alfalab/core-components-tag');
16
16
  require('../secondary-tablist/Component.js');
17
- require('../../index.module-960245fb.js');
17
+ require('../../index.module-046e1e07.js');
18
18
  var components_secondaryTablist_Component_desktop = require('../secondary-tablist/Component.desktop.js');
19
19
  var components_tabs_Component = require('./Component.js');
20
20