@alfalab/core-components-tabs 8.1.5 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/collapsible/index.d.ts +2 -0
  2. package/{collapsible.js → collapsible/index.js} +10 -10
  3. package/collapsible/package.json +3 -0
  4. package/components/primary-tablist/Component.collapsible.js +9 -9
  5. package/components/primary-tablist/Component.desktop.js +4 -3
  6. package/components/primary-tablist/Component.js +14 -4
  7. package/components/primary-tablist/Component.mobile.js +5 -4
  8. package/components/primary-tablist/Component.responsive.js +3 -2
  9. package/components/primary-tablist/index.css +30 -30
  10. package/components/primary-tablist/mobile.css +33 -33
  11. package/components/scroll-controls/Component.js +1 -1
  12. package/components/scroll-controls/index.css +14 -14
  13. package/components/scrollable-container/Component.js +1 -1
  14. package/components/scrollable-container/index.css +6 -6
  15. package/components/secondary-tablist/Component.desktop.js +1 -1
  16. package/components/secondary-tablist/Component.mobile.js +2 -2
  17. package/components/secondary-tablist/Component.responsive.js +1 -1
  18. package/components/secondary-tablist/index.css +11 -11
  19. package/components/secondary-tablist/mobile.css +13 -13
  20. package/components/tab/Component.js +1 -1
  21. package/components/tab/index.css +3 -3
  22. package/components/tabs/Component.collapsible.js +1 -1
  23. package/components/tabs/Component.desktop.js +4 -3
  24. package/components/tabs/Component.mobile.js +4 -3
  25. package/components/tabs/Component.responsive.js +4 -3
  26. package/cssm/collapsible/index.d.ts +2 -0
  27. package/cssm/{collapsible.js → collapsible/index.js} +11 -11
  28. package/cssm/components/primary-tablist/Component.desktop.js +2 -1
  29. package/cssm/components/primary-tablist/Component.js +14 -4
  30. package/cssm/components/primary-tablist/Component.mobile.js +2 -1
  31. package/cssm/components/primary-tablist/Component.responsive.js +2 -1
  32. package/cssm/components/tabs/Component.desktop.js +2 -1
  33. package/cssm/components/tabs/Component.mobile.js +2 -1
  34. package/cssm/components/tabs/Component.responsive.js +2 -1
  35. package/cssm/desktop/index.d.ts +4 -0
  36. package/cssm/desktop/index.js +40 -0
  37. package/cssm/index.js +2 -1
  38. package/cssm/mobile/index.d.ts +4 -0
  39. package/cssm/mobile/index.js +42 -0
  40. package/cssm/shared/index.d.ts +4 -0
  41. package/cssm/{shared.js → shared/index.js} +7 -7
  42. package/desktop/index.d.ts +4 -0
  43. package/desktop/index.js +37 -0
  44. package/desktop/package.json +3 -0
  45. package/esm/collapsible/index.d.ts +2 -0
  46. package/esm/collapsible/index.js +20 -0
  47. package/esm/components/primary-tablist/Component.collapsible.js +9 -9
  48. package/esm/components/primary-tablist/Component.desktop.js +4 -3
  49. package/esm/components/primary-tablist/Component.js +14 -4
  50. package/esm/components/primary-tablist/Component.mobile.js +5 -4
  51. package/esm/components/primary-tablist/Component.responsive.js +3 -2
  52. package/esm/components/primary-tablist/index.css +30 -30
  53. package/esm/components/primary-tablist/mobile.css +33 -33
  54. package/esm/components/scroll-controls/Component.js +1 -1
  55. package/esm/components/scroll-controls/index.css +14 -14
  56. package/esm/components/scrollable-container/Component.js +1 -1
  57. package/esm/components/scrollable-container/index.css +6 -6
  58. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  59. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  60. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  61. package/esm/components/secondary-tablist/index.css +11 -11
  62. package/esm/components/secondary-tablist/mobile.css +13 -13
  63. package/esm/components/tab/Component.js +1 -1
  64. package/esm/components/tab/index.css +3 -3
  65. package/esm/components/tabs/Component.collapsible.js +1 -1
  66. package/esm/components/tabs/Component.desktop.js +4 -3
  67. package/esm/components/tabs/Component.mobile.js +4 -3
  68. package/esm/components/tabs/Component.responsive.js +4 -3
  69. package/esm/desktop/index.d.ts +4 -0
  70. package/esm/desktop/index.js +26 -0
  71. package/esm/index.js +4 -3
  72. package/esm/index.module-0eaed9a1.js +4 -0
  73. package/esm/index.module-9c24fafb.js +4 -0
  74. package/esm/mobile/index.d.ts +4 -0
  75. package/esm/mobile/index.js +26 -0
  76. package/esm/shared/index.d.ts +4 -0
  77. package/esm/{shared.js → shared/index.js} +5 -5
  78. package/index.js +4 -3
  79. package/index.module-177df2c1.js +6 -0
  80. package/index.module-2f940b9f.js +6 -0
  81. package/mobile/index.d.ts +4 -0
  82. package/mobile/index.js +37 -0
  83. package/mobile/package.json +3 -0
  84. package/modern/collapsible/index.d.ts +2 -0
  85. package/modern/collapsible/index.js +19 -0
  86. package/modern/components/primary-tablist/Component.collapsible.js +9 -9
  87. package/modern/components/primary-tablist/Component.desktop.js +4 -3
  88. package/modern/components/primary-tablist/Component.js +14 -4
  89. package/modern/components/primary-tablist/Component.mobile.js +5 -4
  90. package/modern/components/primary-tablist/Component.responsive.js +3 -2
  91. package/modern/components/primary-tablist/index.css +30 -30
  92. package/modern/components/primary-tablist/mobile.css +33 -33
  93. package/modern/components/scroll-controls/Component.js +1 -1
  94. package/modern/components/scroll-controls/index.css +14 -14
  95. package/modern/components/scrollable-container/Component.js +1 -1
  96. package/modern/components/scrollable-container/index.css +6 -6
  97. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  98. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  99. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  100. package/modern/components/secondary-tablist/index.css +11 -11
  101. package/modern/components/secondary-tablist/mobile.css +13 -13
  102. package/modern/components/tab/Component.js +1 -1
  103. package/modern/components/tab/index.css +3 -3
  104. package/modern/components/tabs/Component.collapsible.js +1 -1
  105. package/modern/components/tabs/Component.desktop.js +4 -3
  106. package/modern/components/tabs/Component.mobile.js +4 -3
  107. package/modern/components/tabs/Component.responsive.js +4 -3
  108. package/modern/desktop/index.d.ts +4 -0
  109. package/modern/desktop/index.js +25 -0
  110. package/modern/index.js +4 -3
  111. package/modern/index.module-4070c7f9.js +4 -0
  112. package/modern/index.module-a791a93d.js +4 -0
  113. package/modern/mobile/index.d.ts +4 -0
  114. package/modern/mobile/index.js +25 -0
  115. package/modern/shared/index.d.ts +4 -0
  116. package/modern/{shared.js → shared/index.js} +5 -5
  117. package/package.json +5 -33
  118. package/shared/index.d.ts +4 -0
  119. package/{shared.js → shared/index.js} +5 -5
  120. package/shared/package.json +3 -0
  121. package/src/collapsible/index.ts +2 -0
  122. package/src/collapsible/package.json +3 -0
  123. package/src/components/primary-tablist/Component.tsx +18 -3
  124. package/src/desktop/index.ts +4 -0
  125. package/src/desktop/package.json +3 -0
  126. package/src/mobile/index.ts +4 -0
  127. package/src/mobile/package.json +3 -0
  128. package/src/shared/index.ts +4 -0
  129. package/src/shared/package.json +3 -0
  130. package/Component-0f4b9bed.d.ts +0 -100
  131. package/Component-4cd3936b.d.ts +0 -12
  132. package/Component-69921c40.d.ts +0 -184
  133. package/Component-89f0cb07.d.ts +0 -38
  134. package/Component-8b2c2707.d.ts +0 -14
  135. package/Component-bdb4c6b9.d.ts +0 -12
  136. package/Component-c76d6398.d.ts +0 -5
  137. package/Component-ebda875c.d.ts +0 -12
  138. package/Component.desktop-0aa4e915.d.ts +0 -5
  139. package/Component.desktop-785df74d.d.ts +0 -6
  140. package/Component.mobile-16b1285a.d.ts +0 -5
  141. package/Component.mobile-d7e9f69d.d.ts +0 -6
  142. package/Component.mobile-ebda875c.d.ts +0 -6
  143. package/Context-bdb4c6b9.d.ts +0 -4
  144. package/ResponsiveContext-baf4875b.d.ts +0 -5
  145. package/collapsible.d.ts +0 -2
  146. package/consts-f777ba1a.d.ts +0 -2
  147. package/cssm/Component-0f4b9bed.d.ts +0 -100
  148. package/cssm/Component-4cd3936b.d.ts +0 -12
  149. package/cssm/Component-69921c40.d.ts +0 -184
  150. package/cssm/Component-89f0cb07.d.ts +0 -38
  151. package/cssm/Component-8b2c2707.d.ts +0 -14
  152. package/cssm/Component-bdb4c6b9.d.ts +0 -12
  153. package/cssm/Component-c76d6398.d.ts +0 -5
  154. package/cssm/Component-ebda875c.d.ts +0 -12
  155. package/cssm/Component.desktop-0aa4e915.d.ts +0 -5
  156. package/cssm/Component.desktop-785df74d.d.ts +0 -6
  157. package/cssm/Component.mobile-16b1285a.d.ts +0 -5
  158. package/cssm/Component.mobile-d7e9f69d.d.ts +0 -6
  159. package/cssm/Component.mobile-ebda875c.d.ts +0 -6
  160. package/cssm/Context-bdb4c6b9.d.ts +0 -4
  161. package/cssm/ResponsiveContext-baf4875b.d.ts +0 -5
  162. package/cssm/collapsible.d.ts +0 -2
  163. package/cssm/consts-f777ba1a.d.ts +0 -2
  164. package/cssm/desktop-89f0cb07.d.ts +0 -2
  165. package/cssm/desktop.d.ts +0 -4
  166. package/cssm/desktop.js +0 -39
  167. package/cssm/hook-8abfea97.d.ts +0 -90
  168. package/cssm/index-136acbb1.d.ts +0 -28
  169. package/cssm/index-8b2c2707.d.ts +0 -6
  170. package/cssm/index-bdb4c6b9.d.ts +0 -2
  171. package/cssm/index-c44170fe.d.ts +0 -131
  172. package/cssm/index-c76d6398.d.ts +0 -140
  173. package/cssm/index-ebda875c.d.ts +0 -40
  174. package/cssm/index-f12ee135.d.ts +0 -324
  175. package/cssm/mobile-89f0cb07.d.ts +0 -2
  176. package/cssm/mobile-d7e9f69d.d.ts +0 -2
  177. package/cssm/mobile.d.ts +0 -4
  178. package/cssm/mobile.js +0 -41
  179. package/cssm/shared-4cd3936b.d.ts +0 -107
  180. package/cssm/shared.d.ts +0 -4
  181. package/cssm/types-1b036d4b.d.ts +0 -13
  182. package/cssm/types-4480ac4f.d.ts +0 -3
  183. package/cssm/typings-0f4b9bed.d.ts +0 -576
  184. package/cssm/typings-89f0cb07.d.ts +0 -93
  185. package/cssm/typings-bdb4c6b9.d.ts +0 -52
  186. package/cssm/useSkeleton-ebda875c.d.ts +0 -12
  187. package/cssm/utils-0f4b9bed.d.ts +0 -41
  188. package/cssm/utils-1574ad8b.d.ts +0 -29
  189. package/desktop-89f0cb07.d.ts +0 -2
  190. package/desktop.d.ts +0 -4
  191. package/desktop.js +0 -36
  192. package/esm/Component-0f4b9bed.d.ts +0 -100
  193. package/esm/Component-4cd3936b.d.ts +0 -12
  194. package/esm/Component-69921c40.d.ts +0 -184
  195. package/esm/Component-89f0cb07.d.ts +0 -38
  196. package/esm/Component-8b2c2707.d.ts +0 -14
  197. package/esm/Component-bdb4c6b9.d.ts +0 -12
  198. package/esm/Component-c76d6398.d.ts +0 -5
  199. package/esm/Component-ebda875c.d.ts +0 -12
  200. package/esm/Component.desktop-0aa4e915.d.ts +0 -5
  201. package/esm/Component.desktop-785df74d.d.ts +0 -6
  202. package/esm/Component.mobile-16b1285a.d.ts +0 -5
  203. package/esm/Component.mobile-d7e9f69d.d.ts +0 -6
  204. package/esm/Component.mobile-ebda875c.d.ts +0 -6
  205. package/esm/Context-bdb4c6b9.d.ts +0 -4
  206. package/esm/ResponsiveContext-baf4875b.d.ts +0 -5
  207. package/esm/collapsible.d.ts +0 -2
  208. package/esm/collapsible.js +0 -20
  209. package/esm/consts-f777ba1a.d.ts +0 -2
  210. package/esm/desktop-89f0cb07.d.ts +0 -2
  211. package/esm/desktop.d.ts +0 -4
  212. package/esm/desktop.js +0 -25
  213. package/esm/hook-8abfea97.d.ts +0 -90
  214. package/esm/index-136acbb1.d.ts +0 -28
  215. package/esm/index-8b2c2707.d.ts +0 -6
  216. package/esm/index-bdb4c6b9.d.ts +0 -2
  217. package/esm/index-c44170fe.d.ts +0 -131
  218. package/esm/index-c76d6398.d.ts +0 -140
  219. package/esm/index-ebda875c.d.ts +0 -105
  220. package/esm/index-f12ee135.d.ts +0 -324
  221. package/esm/index.module-55063a9a.js +0 -4
  222. package/esm/index.module-82cf190f.js +0 -4
  223. package/esm/mobile-89f0cb07.d.ts +0 -2
  224. package/esm/mobile-d7e9f69d.d.ts +0 -2
  225. package/esm/mobile.d.ts +0 -4
  226. package/esm/mobile.js +0 -25
  227. package/esm/shared-4cd3936b.d.ts +0 -107
  228. package/esm/shared.d.ts +0 -4
  229. package/esm/types-1b036d4b.d.ts +0 -13
  230. package/esm/types-4480ac4f.d.ts +0 -3
  231. package/esm/typings-0f4b9bed.d.ts +0 -576
  232. package/esm/typings-89f0cb07.d.ts +0 -93
  233. package/esm/typings-bdb4c6b9.d.ts +0 -52
  234. package/esm/useSkeleton-ebda875c.d.ts +0 -12
  235. package/esm/utils-0f4b9bed.d.ts +0 -41
  236. package/esm/utils-1574ad8b.d.ts +0 -29
  237. package/hook-8abfea97.d.ts +0 -90
  238. package/index-136acbb1.d.ts +0 -28
  239. package/index-8b2c2707.d.ts +0 -6
  240. package/index-bdb4c6b9.d.ts +0 -2
  241. package/index-c44170fe.d.ts +0 -131
  242. package/index-c76d6398.d.ts +0 -140
  243. package/index-ebda875c.d.ts +0 -105
  244. package/index-f12ee135.d.ts +0 -324
  245. package/index.module-869888c7.js +0 -6
  246. package/index.module-d1432e9e.js +0 -6
  247. package/mobile-89f0cb07.d.ts +0 -2
  248. package/mobile-d7e9f69d.d.ts +0 -2
  249. package/mobile.d.ts +0 -4
  250. package/mobile.js +0 -36
  251. package/modern/Component-0f4b9bed.d.ts +0 -100
  252. package/modern/Component-4cd3936b.d.ts +0 -12
  253. package/modern/Component-69921c40.d.ts +0 -184
  254. package/modern/Component-89f0cb07.d.ts +0 -38
  255. package/modern/Component-8b2c2707.d.ts +0 -14
  256. package/modern/Component-bdb4c6b9.d.ts +0 -12
  257. package/modern/Component-c76d6398.d.ts +0 -5
  258. package/modern/Component-ebda875c.d.ts +0 -12
  259. package/modern/Component.desktop-0aa4e915.d.ts +0 -5
  260. package/modern/Component.desktop-785df74d.d.ts +0 -6
  261. package/modern/Component.mobile-16b1285a.d.ts +0 -5
  262. package/modern/Component.mobile-d7e9f69d.d.ts +0 -6
  263. package/modern/Component.mobile-ebda875c.d.ts +0 -6
  264. package/modern/Context-bdb4c6b9.d.ts +0 -4
  265. package/modern/ResponsiveContext-baf4875b.d.ts +0 -5
  266. package/modern/collapsible.d.ts +0 -2
  267. package/modern/collapsible.js +0 -19
  268. package/modern/consts-f777ba1a.d.ts +0 -2
  269. package/modern/desktop-89f0cb07.d.ts +0 -2
  270. package/modern/desktop.d.ts +0 -4
  271. package/modern/desktop.js +0 -24
  272. package/modern/hook-8abfea97.d.ts +0 -90
  273. package/modern/index-136acbb1.d.ts +0 -28
  274. package/modern/index-8b2c2707.d.ts +0 -6
  275. package/modern/index-bdb4c6b9.d.ts +0 -2
  276. package/modern/index-c44170fe.d.ts +0 -131
  277. package/modern/index-c76d6398.d.ts +0 -140
  278. package/modern/index-ebda875c.d.ts +0 -105
  279. package/modern/index-f12ee135.d.ts +0 -324
  280. package/modern/index.module-2d531cfb.js +0 -4
  281. package/modern/index.module-7b0d0808.js +0 -4
  282. package/modern/mobile-89f0cb07.d.ts +0 -2
  283. package/modern/mobile-d7e9f69d.d.ts +0 -2
  284. package/modern/mobile.d.ts +0 -4
  285. package/modern/mobile.js +0 -24
  286. package/modern/shared-4cd3936b.d.ts +0 -107
  287. package/modern/shared.d.ts +0 -4
  288. package/modern/types-1b036d4b.d.ts +0 -13
  289. package/modern/types-4480ac4f.d.ts +0 -3
  290. package/modern/typings-0f4b9bed.d.ts +0 -576
  291. package/modern/typings-89f0cb07.d.ts +0 -93
  292. package/modern/typings-bdb4c6b9.d.ts +0 -52
  293. package/modern/useSkeleton-ebda875c.d.ts +0 -12
  294. package/modern/utils-0f4b9bed.d.ts +0 -41
  295. package/modern/utils-1574ad8b.d.ts +0 -29
  296. package/shared-4cd3936b.d.ts +0 -107
  297. package/shared.d.ts +0 -4
  298. package/src/collapsible.ts +0 -2
  299. package/src/desktop.ts +0 -4
  300. package/src/mobile.ts +0 -4
  301. package/src/shared.ts +0 -4
  302. package/types-1b036d4b.d.ts +0 -13
  303. package/types-4480ac4f.d.ts +0 -3
  304. package/typings-0f4b9bed.d.ts +0 -576
  305. package/typings-89f0cb07.d.ts +0 -93
  306. package/typings-bdb4c6b9.d.ts +0 -52
  307. package/useSkeleton-ebda875c.d.ts +0 -12
  308. package/utils-0f4b9bed.d.ts +0 -41
  309. package/utils-1574ad8b.d.ts +0 -29
@@ -0,0 +1,2 @@
1
+ export { TabsCollapsible, TabsCollapsibleProps } from "../components/tabs/Component.collapsible";
2
+ export * from "../components/tab/index";
@@ -0,0 +1,20 @@
1
+ export { TabsCollapsible } from '../components/tabs/Component.collapsible.js';
2
+ export { Tab } from '../components/tab/Component.js';
3
+ import 'tslib';
4
+ import 'react';
5
+ import '../components/primary-tablist/Component.collapsible.js';
6
+ import 'classnames';
7
+ import '@alfalab/core-components-badge/esm';
8
+ import '@alfalab/core-components-keyboard-focusable/esm';
9
+ import '@alfalab/core-components-picker-button/esm/desktop';
10
+ import '../hooks/use-tablist-titles.js';
11
+ import '@alfalab/core-components-mq/esm';
12
+ import '../hooks/use-collapsible-elements.js';
13
+ import '@juggle/resize-observer';
14
+ import '@alfalab/hooks';
15
+ import '../hooks/use-tabs.js';
16
+ import '@alfalab/core-components-shared/esm';
17
+ import '../synthetic-events.js';
18
+ import '../components/title/Component.js';
19
+ import '../index.module-0eaed9a1.js';
20
+ import '../components/tabs/Component.js';
@@ -7,7 +7,7 @@ import { PickerButtonDesktop } from '@alfalab/core-components-picker-button/esm/
7
7
  import { useTablistTitles } from '../../hooks/use-tablist-titles.js';
8
8
  import { createSyntheticMouseEvent } from '../../synthetic-events.js';
9
9
  import { Title } from '../title/Component.js';
10
- import { c as commonStyles } from '../../index.module-55063a9a.js';
10
+ import { s as styles } from '../../index.module-0eaed9a1.js';
11
11
  import '@alfalab/core-components-mq/esm';
12
12
  import '../../hooks/use-collapsible-elements.js';
13
13
  import '@juggle/resize-observer';
@@ -38,7 +38,7 @@ var CollapsiblePrimaryTabList = function (_a) {
38
38
  options.push({
39
39
  key: title.title,
40
40
  value: title.id,
41
- content: React.createElement(Title, __assign({}, title, { styles: commonStyles, isOption: true })),
41
+ content: React.createElement(Title, __assign({}, title, { styles: styles, isOption: true })),
42
42
  });
43
43
  }
44
44
  return options;
@@ -55,18 +55,18 @@ var CollapsiblePrimaryTabList = function (_a) {
55
55
  };
56
56
  var renderContent = function () {
57
57
  var _a;
58
- return (React.createElement("div", { role: 'tablist', "data-test-id": dataTestId, className: cn(commonStyles.component, className, size && commonStyles[size], (_a = {},
59
- _a[commonStyles.fullWidthScroll] = fullWidthScroll,
58
+ return (React.createElement("div", { role: 'tablist', "data-test-id": dataTestId, className: cn(styles.component, className, size && styles[size], (_a = {},
59
+ _a[styles.fullWidthScroll] = fullWidthScroll,
60
60
  _a)) },
61
61
  tablistTitles.map(function (_a, index) {
62
62
  _a.dataTestId; var restTitleProps = __rest(_a, ["dataTestId"]);
63
- return (React.createElement(KeyboardFocusable, { key: restTitleProps.id }, function (ref, focused) { return (React.createElement(Title, __assign({}, getTabListItemProps(index, ref), restTitleProps, { focused: focused, styles: commonStyles }))); }));
63
+ return (React.createElement(KeyboardFocusable, { key: restTitleProps.id }, function (ref, focused) { return (React.createElement(Title, __assign({}, getTabListItemProps(index, ref), restTitleProps, { focused: focused, styles: styles }))); }));
64
64
  }),
65
- collapsedOptions.length ? (React.createElement("span", { ref: addonRef, role: 'menu', className: commonStyles.pickerWrapper },
66
- React.createElement(PickerButtonDesktop, { fieldClassName: commonStyles.title, optionClassName: cn(commonStyles.pickerOption, size && commonStyles[size]), options: collapsedOptions, onChange: handleOptionsChange, rightAddons: collapsedAddonsLength ? (React.createElement(Badge, { view: 'count', content: collapsedAddonsLength })) : null, size: 'm', view: 'ghost', label: '\u0415\u0449\u0451', popoverPosition: 'bottom-end' }))) : null,
67
- React.createElement("div", { className: commonStyles.line, ref: lineRef })));
65
+ collapsedOptions.length ? (React.createElement("span", { ref: addonRef, role: 'menu', className: styles.pickerWrapper },
66
+ React.createElement(PickerButtonDesktop, { fieldClassName: styles.title, optionClassName: cn(styles.pickerOption, size && styles[size]), options: collapsedOptions, onChange: handleOptionsChange, rightAddons: collapsedAddonsLength ? (React.createElement(Badge, { view: 'count', content: collapsedAddonsLength })) : null, size: 'm', view: 'ghost', label: '\u0415\u0449\u0451', popoverPosition: 'bottom-end' }))) : null,
67
+ React.createElement("div", { className: styles.line, ref: lineRef })));
68
68
  };
69
- return (React.createElement("div", { ref: containerRef, className: cn(commonStyles.container, containerClassName) }, renderContent()));
69
+ return (React.createElement("div", { ref: containerRef, className: cn(styles.container, containerClassName) }, renderContent()));
70
70
  };
71
71
 
72
72
  export { CollapsiblePrimaryTabList };
@@ -1,11 +1,12 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { PrimaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-55063a9a.js';
4
+ import { s as styles } from '../../index.module-0eaed9a1.js';
5
+ import '@juggle/resize-observer';
5
6
  import 'classnames';
6
7
  import '@alfalab/core-components-keyboard-focusable/esm';
7
- import '../../hooks/use-tabs.js';
8
8
  import '@alfalab/core-components-shared/esm';
9
+ import '../../hooks/use-tabs.js';
9
10
  import '../scrollable-container/Component.js';
10
11
  import 'compute-scroll-into-view';
11
12
  import '../scroll-controls/Component.js';
@@ -18,7 +19,7 @@ import '../title/Component.js';
18
19
 
19
20
  var PrimaryTabListDesktop = function (_a) {
20
21
  var _b = _a.size, size = _b === void 0 ? 'm' : _b, restProps = __rest(_a, ["size"]);
21
- return (React.createElement(PrimaryTabList, __assign({}, restProps, { size: size, styles: commonStyles, platform: 'desktop' })));
22
+ return (React.createElement(PrimaryTabList, __assign({}, restProps, { size: size, styles: styles, platform: 'desktop' })));
22
23
  };
23
24
 
24
25
  export { PrimaryTabListDesktop };
@@ -1,11 +1,12 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React, { useRef, useEffect } from 'react';
3
+ import { ResizeObserver } from '@juggle/resize-observer';
3
4
  import cn from 'classnames';
4
5
  import { KeyboardFocusable } from '@alfalab/core-components-keyboard-focusable/esm';
6
+ import { fnUtils } from '@alfalab/core-components-shared/esm';
5
7
  import { useTabs } from '../../hooks/use-tabs.js';
6
8
  import { ScrollableContainer } from '../scrollable-container/Component.js';
7
9
  import { Title } from '../title/Component.js';
8
- import '@alfalab/core-components-shared/esm';
9
10
  import 'compute-scroll-into-view';
10
11
  import '../scroll-controls/Component.js';
11
12
  import 'lodash.debounce';
@@ -23,10 +24,19 @@ var PrimaryTabList = function (_a) {
23
24
  onChange: onChange,
24
25
  }), selectedTab = _f.selectedTab, focusedTab = _f.focusedTab, getTabListItemProps = _f.getTabListItemProps;
25
26
  useEffect(function () {
26
- if (selectedTab && lineRef.current) {
27
- lineRef.current.style.width = "".concat(selectedTab.offsetWidth, "px");
28
- lineRef.current.style.transform = "translateX(".concat(selectedTab.offsetLeft, "px)");
27
+ if (selectedTab) {
28
+ var updateLineWidth = function () {
29
+ if (lineRef.current) {
30
+ lineRef.current.style.width = "".concat(selectedTab.offsetWidth, "px");
31
+ lineRef.current.style.transform = "translateX(".concat(selectedTab.offsetLeft, "px)");
32
+ }
33
+ };
34
+ var ResizeObserver_1 = window.ResizeObserver || ResizeObserver;
35
+ var observer_1 = new ResizeObserver_1(updateLineWidth);
36
+ observer_1.observe(selectedTab);
37
+ return function () { return observer_1.disconnect(); };
29
38
  }
39
+ return fnUtils.noop;
30
40
  }, [selectedTab]);
31
41
  var renderContent = function () {
32
42
  var _a;
@@ -2,10 +2,11 @@ import { __assign, __rest } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { PrimaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-55063a9a.js';
5
+ import { s as styles$1 } from '../../index.module-0eaed9a1.js';
6
+ import '@juggle/resize-observer';
6
7
  import '@alfalab/core-components-keyboard-focusable/esm';
7
- import '../../hooks/use-tabs.js';
8
8
  import '@alfalab/core-components-shared/esm';
9
+ import '../../hooks/use-tabs.js';
9
10
  import '../scrollable-container/Component.js';
10
11
  import 'compute-scroll-into-view';
11
12
  import '../scroll-controls/Component.js';
@@ -16,10 +17,10 @@ import '@alfalab/icons-glyph/ChevronRightMIcon';
16
17
  import '../scroll-controls/utils.js';
17
18
  import '../title/Component.js';
18
19
 
19
- var mobileStyles = {"title":"tabs__title_psrdh tabs__title_1sfro","mobile":"tabs__mobile_psrdh"};
20
+ var mobileStyles = {"title":"tabs__title_vbdu8 tabs__title_h18s1","mobile":"tabs__mobile_vbdu8"};
20
21
  require('./mobile.css')
21
22
 
22
- var styles = __assign(__assign({}, commonStyles), mobileStyles);
23
+ var styles = __assign(__assign({}, styles$1), mobileStyles);
23
24
  var PrimaryTabListMobile = function (_a) {
24
25
  var className = _a.className, restProps = __rest(_a, ["className"]);
25
26
  return (React.createElement(PrimaryTabList, __assign({}, restProps, { styles: styles, className: cn(className, styles.mobile), platform: 'mobile' })));
@@ -4,10 +4,11 @@ import { useMatchMedia } from '@alfalab/core-components-mq/esm';
4
4
  import { PrimaryTabListDesktop } from './Component.desktop.js';
5
5
  import { PrimaryTabListMobile } from './Component.mobile.js';
6
6
  import './Component.js';
7
+ import '@juggle/resize-observer';
7
8
  import 'classnames';
8
9
  import '@alfalab/core-components-keyboard-focusable/esm';
9
- import '../../hooks/use-tabs.js';
10
10
  import '@alfalab/core-components-shared/esm';
11
+ import '../../hooks/use-tabs.js';
11
12
  import '../scrollable-container/Component.js';
12
13
  import 'compute-scroll-into-view';
13
14
  import '../scroll-controls/Component.js';
@@ -17,7 +18,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
17
18
  import '@alfalab/icons-glyph/ChevronRightMIcon';
18
19
  import '../scroll-controls/utils.js';
19
20
  import '../title/Component.js';
20
- import '../../index.module-55063a9a.js';
21
+ import '../../index.module-0eaed9a1.js';
21
22
 
22
23
  var PrimaryTabListResponsive = function (_a) {
23
24
  var size = _a.size, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, fullWidthScroll = _a.fullWidthScroll, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["size", "breakpoint", "fullWidthScroll", "defaultMatchMediaValue"]);
@@ -1,4 +1,4 @@
1
- /* hash: v5vzb */
1
+ /* hash: 15maf */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-accent: #ef3124;
@@ -83,11 +83,11 @@
83
83
  /* size l */
84
84
 
85
85
  /* size xl */
86
- } .tabs__component_1sfro {
86
+ } .tabs__component_h18s1 {
87
87
  position: relative;
88
88
  display: inline-flex;
89
89
  min-width: 100%
90
- } .tabs__component_1sfro:before {
90
+ } .tabs__component_h18s1:before {
91
91
  content: '';
92
92
  display: block;
93
93
  position: absolute;
@@ -95,17 +95,17 @@
95
95
  height: 1px;
96
96
  width: 100%;
97
97
  background-color: var(--primary-tablist-bottom-border-color);
98
- } .tabs__fullWidthScroll_1sfro {
98
+ } .tabs__fullWidthScroll_h18s1 {
99
99
  min-width: calc(100% - 2 * var(--gap-m));
100
100
  margin: 0 var(--gap-m);
101
- } .tabs__container_1sfro {
101
+ } .tabs__container_h18s1 {
102
102
  position: relative;
103
103
  overflow: hidden;
104
104
 
105
105
  /* focus-outline fix */
106
106
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
107
107
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
108
- } .tabs__title_1sfro {
108
+ } .tabs__title_h18s1 {
109
109
  display: flex;
110
110
  align-items: center;
111
111
  height: 100%;
@@ -121,78 +121,78 @@
121
121
  -webkit-user-select: none;
122
122
  user-select: none;
123
123
  outline: none
124
- } .tabs__title_1sfro:not(.tabs__disabled_1sfro):hover {
124
+ } .tabs__title_h18s1:not(.tabs__disabled_h18s1):hover {
125
125
  color: var(--primary-tablist-hover-color);
126
- } .tabs__focused_1sfro {
126
+ } .tabs__focused_h18s1 {
127
127
  outline: 2px solid var(--focus-color);
128
128
  outline-offset: 2px;
129
- } .tabs__collapsed_1sfro {
129
+ } .tabs__collapsed_h18s1 {
130
130
  order: 99;
131
131
  visibility: collapse;
132
- } .tabs__selected_1sfro {
132
+ } .tabs__selected_h18s1 {
133
133
  cursor: default;
134
134
  color: var(--primary-tablist-selected-color);
135
- } .tabs__disabled_1sfro {
135
+ } .tabs__disabled_h18s1 {
136
136
  cursor: var(--disabled-cursor);
137
137
  color: var(--primary-tablist-disabled-color);
138
- } .tabs__line_1sfro {
138
+ } .tabs__line_h18s1 {
139
139
  position: absolute;
140
140
  height: 3px;
141
141
  bottom: 0;
142
142
  left: 0;
143
143
  background-color: var(--primary-tablist-line-color);
144
144
  transition: transform 0.2s ease, width 0.2s ease;
145
- } .tabs__option_1sfro {
145
+ } .tabs__option_h18s1 {
146
146
  color: var(--color-light-text-primary);
147
- } /* sizes */ .tabs__s_1sfro .tabs__title_1sfro, .tabs__xs_1sfro .tabs__title_1sfro, .tabs__xxs_1sfro .tabs__title_1sfro {
147
+ } /* sizes */ .tabs__s_h18s1 .tabs__title_h18s1, .tabs__xs_h18s1 .tabs__title_h18s1, .tabs__xxs_h18s1 .tabs__title_h18s1 {
148
148
  padding: var(--primary-tablist-s-padding);
149
149
  font-size: var(--primary-tablist-s-font-size);
150
150
  font-weight: var(--primary-tablist-s-font-weight);
151
151
  font-family: var(--primary-tablist-s-font-family);
152
152
  line-height: 24px;
153
- } .tabs__s_1sfro .tabs__title_1sfro + .tabs__title_1sfro, .tabs__xs_1sfro .tabs__title_1sfro + .tabs__title_1sfro, .tabs__xxs_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
153
+ } .tabs__s_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1, .tabs__xs_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1, .tabs__xxs_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
154
154
  margin-left: var(--primary-tablist-s-gaps);
155
- } .tabs__s_1sfro .tabs__pickerWrapper_1sfro, .tabs__xs_1sfro .tabs__pickerWrapper_1sfro, .tabs__xxs_1sfro .tabs__pickerWrapper_1sfro {
155
+ } .tabs__s_h18s1 .tabs__pickerWrapper_h18s1, .tabs__xs_h18s1 .tabs__pickerWrapper_h18s1, .tabs__xxs_h18s1 .tabs__pickerWrapper_h18s1 {
156
156
  margin-left: var(--primary-tablist-s-gaps);
157
- } .tabs__s_1sfro .tabs__option_1sfro, .tabs__xs_1sfro .tabs__option_1sfro, .tabs__xxs_1sfro .tabs__option_1sfro {
157
+ } .tabs__s_h18s1 .tabs__option_h18s1, .tabs__xs_h18s1 .tabs__option_h18s1, .tabs__xxs_h18s1 .tabs__option_h18s1 {
158
158
  padding: 0;
159
- } .tabs__m_1sfro .tabs__title_1sfro {
159
+ } .tabs__m_h18s1 .tabs__title_h18s1 {
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
- } .tabs__m_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
165
+ } .tabs__m_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
166
166
  margin-left: var(--primary-tablist-m-gaps);
167
- } .tabs__m_1sfro .tabs__pickerWrapper_1sfro {
167
+ } .tabs__m_h18s1 .tabs__pickerWrapper_h18s1 {
168
168
  margin-left: var(--primary-tablist-m-gaps);
169
- } .tabs__m_1sfro .tabs__option_1sfro {
169
+ } .tabs__m_h18s1 .tabs__option_h18s1 {
170
170
  padding: 0;
171
- } .tabs__l_1sfro .tabs__title_1sfro {
171
+ } .tabs__l_h18s1 .tabs__title_h18s1 {
172
172
  padding: var(--primary-tablist-l-padding);
173
173
  font-size: var(--primary-tablist-l-font-size);
174
174
  font-weight: var(--primary-tablist-l-font-weight);
175
175
  font-family: var(--primary-tablist-l-font-family);
176
176
  line-height: 24px;
177
- } .tabs__l_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
177
+ } .tabs__l_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
178
178
  margin-left: var(--primary-tablist-l-gaps);
179
- } .tabs__l_1sfro .tabs__pickerWrapper_1sfro {
179
+ } .tabs__l_h18s1 .tabs__pickerWrapper_h18s1 {
180
180
  margin-left: var(--primary-tablist-l-gaps);
181
- } .tabs__l_1sfro .tabs__option_1sfro {
181
+ } .tabs__l_h18s1 .tabs__option_h18s1 {
182
182
  padding: 0;
183
- } .tabs__xl_1sfro .tabs__title_1sfro {
183
+ } .tabs__xl_h18s1 .tabs__title_h18s1 {
184
184
  padding: var(--primary-tablist-xl-padding);
185
185
  font-size: var(--primary-tablist-xl-font-size);
186
186
  font-weight: var(--primary-tablist-xl-font-weight);
187
187
  font-family: var(--primary-tablist-xl-font-family);
188
188
  line-height: 32px;
189
- } .tabs__xl_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
189
+ } .tabs__xl_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
190
190
  margin-left: var(--primary-tablist-xl-gaps);
191
- } .tabs__xl_1sfro .tabs__pickerWrapper_1sfro {
191
+ } .tabs__xl_h18s1 .tabs__pickerWrapper_h18s1 {
192
192
  margin-left: var(--primary-tablist-xl-gaps);
193
- } .tabs__xl_1sfro .tabs__option_1sfro {
193
+ } .tabs__xl_h18s1 .tabs__option_h18s1 {
194
194
  padding: 0;
195
- } .tabs__rightAddons_1sfro {
195
+ } .tabs__rightAddons_h18s1 {
196
196
  display: flex;
197
197
  justify-content: center;
198
198
  align-items: center;
@@ -1,4 +1,4 @@
1
- /* hash: 7mwh2 */
1
+ /* hash: xs08k */
2
2
  :root {
3
3
  }/* deprecated */:root {
4
4
  --color-light-border-accent: #ef3124;
@@ -90,11 +90,11 @@
90
90
  /* size l */
91
91
 
92
92
  /* size xl */
93
- }.tabs__component_1sfro {
93
+ }.tabs__component_h18s1 {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_1sfro:before {
97
+ }.tabs__component_h18s1:before {
98
98
  content: '';
99
99
  display: block;
100
100
  position: absolute;
@@ -102,17 +102,17 @@
102
102
  height: 1px;
103
103
  width: 100%;
104
104
  background-color: var(--primary-tablist-bottom-border-color);
105
- }.tabs__fullWidthScroll_1sfro {
105
+ }.tabs__fullWidthScroll_h18s1 {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_1sfro {
108
+ }.tabs__container_h18s1 {
109
109
  position: relative;
110
110
  overflow: hidden;
111
111
 
112
112
  /* focus-outline fix */
113
113
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
114
114
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
115
- }.tabs__title_1sfro {
115
+ }.tabs__title_h18s1 {
116
116
  display: flex;
117
117
  align-items: center;
118
118
  height: 100%;
@@ -128,78 +128,78 @@
128
128
  -webkit-user-select: none;
129
129
  user-select: none;
130
130
  outline: none
131
- }.tabs__title_1sfro:not(.tabs__disabled_1sfro):hover {
131
+ }.tabs__title_h18s1:not(.tabs__disabled_h18s1):hover {
132
132
  color: var(--primary-tablist-hover-color);
133
- }.tabs__focused_1sfro {
133
+ }.tabs__focused_h18s1 {
134
134
  outline: 2px solid var(--focus-color);
135
135
  outline-offset: 2px;
136
- }.tabs__collapsed_1sfro {
136
+ }.tabs__collapsed_h18s1 {
137
137
  order: 99;
138
138
  visibility: collapse;
139
- }.tabs__selected_1sfro {
139
+ }.tabs__selected_h18s1 {
140
140
  cursor: default;
141
141
  color: var(--primary-tablist-selected-color);
142
- }.tabs__disabled_1sfro {
142
+ }.tabs__disabled_h18s1 {
143
143
  cursor: var(--disabled-cursor);
144
144
  color: var(--primary-tablist-disabled-color);
145
- }.tabs__line_1sfro {
145
+ }.tabs__line_h18s1 {
146
146
  position: absolute;
147
147
  height: 3px;
148
148
  bottom: 0;
149
149
  left: 0;
150
150
  background-color: var(--primary-tablist-line-color);
151
151
  transition: transform 0.2s ease, width 0.2s ease;
152
- }.tabs__option_1sfro {
152
+ }.tabs__option_h18s1 {
153
153
  color: var(--color-light-text-primary);
154
- }/* sizes */.tabs__s_1sfro .tabs__title_1sfro, .tabs__xs_1sfro .tabs__title_1sfro, .tabs__xxs_1sfro .tabs__title_1sfro {
154
+ }/* sizes */.tabs__s_h18s1 .tabs__title_h18s1, .tabs__xs_h18s1 .tabs__title_h18s1, .tabs__xxs_h18s1 .tabs__title_h18s1 {
155
155
  padding: var(--primary-tablist-s-padding);
156
156
  font-size: var(--primary-tablist-s-font-size);
157
157
  font-weight: var(--primary-tablist-s-font-weight);
158
158
  font-family: var(--primary-tablist-s-font-family);
159
159
  line-height: 24px;
160
- }.tabs__s_1sfro .tabs__title_1sfro + .tabs__title_1sfro, .tabs__xs_1sfro .tabs__title_1sfro + .tabs__title_1sfro, .tabs__xxs_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
160
+ }.tabs__s_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1, .tabs__xs_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1, .tabs__xxs_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
161
161
  margin-left: var(--primary-tablist-s-gaps);
162
- }.tabs__s_1sfro .tabs__pickerWrapper_1sfro, .tabs__xs_1sfro .tabs__pickerWrapper_1sfro, .tabs__xxs_1sfro .tabs__pickerWrapper_1sfro {
162
+ }.tabs__s_h18s1 .tabs__pickerWrapper_h18s1, .tabs__xs_h18s1 .tabs__pickerWrapper_h18s1, .tabs__xxs_h18s1 .tabs__pickerWrapper_h18s1 {
163
163
  margin-left: var(--primary-tablist-s-gaps);
164
- }.tabs__s_1sfro .tabs__option_1sfro, .tabs__xs_1sfro .tabs__option_1sfro, .tabs__xxs_1sfro .tabs__option_1sfro {
164
+ }.tabs__s_h18s1 .tabs__option_h18s1, .tabs__xs_h18s1 .tabs__option_h18s1, .tabs__xxs_h18s1 .tabs__option_h18s1 {
165
165
  padding: 0;
166
- }.tabs__m_1sfro .tabs__title_1sfro {
166
+ }.tabs__m_h18s1 .tabs__title_h18s1 {
167
167
  padding: var(--primary-tablist-m-padding);
168
168
  font-size: var(--primary-tablist-m-font-size);
169
169
  font-weight: var(--primary-tablist-m-font-weight);
170
170
  font-family: var(--primary-tablist-m-font-family);
171
171
  line-height: 24px;
172
- }.tabs__m_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
172
+ }.tabs__m_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
173
173
  margin-left: var(--primary-tablist-m-gaps);
174
- }.tabs__m_1sfro .tabs__pickerWrapper_1sfro {
174
+ }.tabs__m_h18s1 .tabs__pickerWrapper_h18s1 {
175
175
  margin-left: var(--primary-tablist-m-gaps);
176
- }.tabs__m_1sfro .tabs__option_1sfro {
176
+ }.tabs__m_h18s1 .tabs__option_h18s1 {
177
177
  padding: 0;
178
- }.tabs__l_1sfro .tabs__title_1sfro {
178
+ }.tabs__l_h18s1 .tabs__title_h18s1 {
179
179
  padding: var(--primary-tablist-l-padding);
180
180
  font-size: var(--primary-tablist-l-font-size);
181
181
  font-weight: var(--primary-tablist-l-font-weight);
182
182
  font-family: var(--primary-tablist-l-font-family);
183
183
  line-height: 24px;
184
- }.tabs__l_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
184
+ }.tabs__l_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
185
185
  margin-left: var(--primary-tablist-l-gaps);
186
- }.tabs__l_1sfro .tabs__pickerWrapper_1sfro {
186
+ }.tabs__l_h18s1 .tabs__pickerWrapper_h18s1 {
187
187
  margin-left: var(--primary-tablist-l-gaps);
188
- }.tabs__l_1sfro .tabs__option_1sfro {
188
+ }.tabs__l_h18s1 .tabs__option_h18s1 {
189
189
  padding: 0;
190
- }.tabs__xl_1sfro .tabs__title_1sfro {
190
+ }.tabs__xl_h18s1 .tabs__title_h18s1 {
191
191
  padding: var(--primary-tablist-xl-padding);
192
192
  font-size: var(--primary-tablist-xl-font-size);
193
193
  font-weight: var(--primary-tablist-xl-font-weight);
194
194
  font-family: var(--primary-tablist-xl-font-family);
195
195
  line-height: 32px;
196
- }.tabs__xl_1sfro .tabs__title_1sfro + .tabs__title_1sfro {
196
+ }.tabs__xl_h18s1 .tabs__title_h18s1 + .tabs__title_h18s1 {
197
197
  margin-left: var(--primary-tablist-xl-gaps);
198
- }.tabs__xl_1sfro .tabs__pickerWrapper_1sfro {
198
+ }.tabs__xl_h18s1 .tabs__pickerWrapper_h18s1 {
199
199
  margin-left: var(--primary-tablist-xl-gaps);
200
- }.tabs__xl_1sfro .tabs__option_1sfro {
200
+ }.tabs__xl_h18s1 .tabs__option_h18s1 {
201
201
  padding: 0;
202
- }.tabs__rightAddons_1sfro {
202
+ }.tabs__rightAddons_h18s1 {
203
203
  display: flex;
204
204
  justify-content: center;
205
205
  align-items: center;
@@ -1107,13 +1107,13 @@
1107
1107
 
1108
1108
  /* size xl */
1109
1109
  --secondary-tablist-xl-gaps: var(--gap-m);
1110
- } .tabs__title_psrdh {
1111
- } .tabs__mobile_psrdh .tabs__title_psrdh {
1110
+ } .tabs__title_vbdu8 {
1111
+ } .tabs__mobile_vbdu8 .tabs__title_vbdu8 {
1112
1112
  padding: var(--primary-tablist-mobile-padding);
1113
1113
  font-size: var(--primary-tablist-mobile-font-size);
1114
1114
  font-weight: var(--primary-tablist-mobile-font-weight);
1115
1115
  font-family: var(--primary-tablist-mobile-font-family);
1116
1116
  line-height: var(--primary-tablist-mobile-line-height)
1117
- } .tabs__mobile_psrdh .tabs__title_psrdh + .tabs__title_psrdh {
1117
+ } .tabs__mobile_vbdu8 .tabs__title_vbdu8 + .tabs__title_vbdu8 {
1118
1118
  margin-left: var(--primary-tablist-mobile-gaps);
1119
1119
  }
@@ -7,7 +7,7 @@ import { ChevronLeftMIcon } from '@alfalab/icons-glyph/ChevronLeftMIcon';
7
7
  import { ChevronRightMIcon } from '@alfalab/icons-glyph/ChevronRightMIcon';
8
8
  import { getDisabledState, scrollIntoFirstTab, scrollIntoLastTab } from './utils.js';
9
9
 
10
- var styles = {"component":"tabs__component_lwa5e","borderVisible":"tabs__borderVisible_lwa5e","primary":"tabs__primary_lwa5e","button":"tabs__button_lwa5e","xl":"tabs__xl_lwa5e","secondary":"tabs__secondary_lwa5e","xs":"tabs__xs_lwa5e"};
10
+ var styles = {"component":"tabs__component_186lh","borderVisible":"tabs__borderVisible_186lh","primary":"tabs__primary_186lh","button":"tabs__button_186lh","xl":"tabs__xl_186lh","secondary":"tabs__secondary_186lh","xs":"tabs__xs_186lh"};
11
11
  require('./index.css')
12
12
 
13
13
  var ScrollControls = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 8x1k8 */
1
+ /* hash: 1wind */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -44,11 +44,11 @@
44
44
  /* size l */
45
45
 
46
46
  /* size xl */
47
- } .tabs__component_lwa5e {
47
+ } .tabs__component_186lh {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0
51
- } .tabs__component_lwa5e:before {
51
+ } .tabs__component_186lh:before {
52
52
  content: '';
53
53
  display: block;
54
54
  position: absolute;
@@ -57,12 +57,12 @@
57
57
  width: 1px;
58
58
  background-color: transparent;
59
59
  transition: background-color 0.3s ease;
60
- } .tabs__borderVisible_lwa5e:before {
60
+ } .tabs__borderVisible_186lh:before {
61
61
  background-color: var(--color-light-specialbg-tertiary-transparent);
62
- } .tabs__primary_lwa5e {
62
+ } .tabs__primary_186lh {
63
63
  align-items: flex-start;
64
64
  justify-content: flex-end
65
- } .tabs__primary_lwa5e:after {
65
+ } .tabs__primary_186lh:after {
66
66
  content: '';
67
67
  display: block;
68
68
  position: absolute;
@@ -70,25 +70,25 @@
70
70
  height: 1px;
71
71
  width: 100%;
72
72
  background-color: var(--primary-tablist-bottom-border-color);
73
- } .tabs__primary_lwa5e:before {
73
+ } .tabs__primary_186lh:before {
74
74
  bottom: 2px;
75
- } .tabs__primary_lwa5e {
75
+ } .tabs__primary_186lh {
76
76
 
77
- .tabs__button_lwa5e:first-child {
77
+ .tabs__button_186lh:first-child {
78
78
  padding-left: var(--gap-xs);
79
79
  margin-right: var(--gap-xs);
80
80
  }
81
- } .tabs__primary_lwa5e.tabs__xl_lwa5e .tabs__button_lwa5e:first-child {
81
+ } .tabs__primary_186lh.tabs__xl_186lh .tabs__button_186lh:first-child {
82
82
  margin-right: var(--gap-2xs);
83
- } .tabs__secondary_lwa5e {
83
+ } .tabs__secondary_186lh {
84
84
  align-items: center;
85
85
  justify-content: center
86
- } .tabs__secondary_lwa5e:before {
86
+ } .tabs__secondary_186lh:before {
87
87
  bottom: 0;
88
- } .tabs__secondary_lwa5e.tabs__xs_lwa5e {
88
+ } .tabs__secondary_186lh.tabs__xs_186lh {
89
89
  width: 76px;
90
90
 
91
- .tabs__button_lwa5e:first-child {
91
+ .tabs__button_186lh:first-child {
92
92
  margin-right: var(--gap-2xs);
93
93
  }
94
94
  }
@@ -9,7 +9,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
9
9
  import '@alfalab/icons-glyph/ChevronRightMIcon';
10
10
  import '../scroll-controls/utils.js';
11
11
 
12
- var styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_1hmt5","container":"tabs__container_1hmt5","fullWidthScroll":"tabs__fullWidthScroll_1hmt5"};
12
+ var styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_1l5jl","container":"tabs__container_1l5jl","fullWidthScroll":"tabs__fullWidthScroll_1l5jl"};
13
13
  require('./index.css')
14
14
 
15
15
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 118xw */
1
+ /* hash: 1o91h */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -42,9 +42,9 @@
42
42
  /* size l */
43
43
 
44
44
  /* size xl */
45
- } .tabs__scrollableContainerWrapper_1hmt5 {
45
+ } .tabs__scrollableContainerWrapper_1l5jl {
46
46
  display: flex;
47
- } .tabs__container_1hmt5 {
47
+ } .tabs__container_1l5jl {
48
48
  position: relative;
49
49
  overflow-x: auto;
50
50
  overflow-y: hidden;
@@ -55,11 +55,11 @@
55
55
  /* focus-outline fix */
56
56
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
57
57
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
58
- } .tabs__container_1hmt5::-webkit-scrollbar {
58
+ } .tabs__container_1l5jl::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_1hmt5 > * {
60
+ } .tabs__container_1l5jl > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_1hmt5 {
62
+ } .tabs__fullWidthScroll_1l5jl {
63
63
  padding-left: 0;
64
64
  margin: var(--gap-2xs-neg) var(--gap-m-neg);
65
65
  }
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { TagDesktop } from '@alfalab/core-components-tag/esm/desktop';
4
4
  import { SecondaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-82cf190f.js';
5
+ import { c as commonStyles } from '../../index.module-9c24fafb.js';
6
6
  import 'classnames';
7
7
  import '../../hooks/use-tabs.js';
8
8
  import '@alfalab/core-components-shared/esm';
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TagMobile } from '@alfalab/core-components-tag/esm/mobile';
5
5
  import { SecondaryTabList } from './Component.js';
6
- import { c as commonStyles } from '../../index.module-82cf190f.js';
6
+ import { c as commonStyles } from '../../index.module-9c24fafb.js';
7
7
  import '../../hooks/use-tabs.js';
8
8
  import '@alfalab/core-components-shared/esm';
9
9
  import '../scrollable-container/Component.js';
@@ -15,7 +15,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
15
15
  import '@alfalab/icons-glyph/ChevronRightMIcon';
16
16
  import '../scroll-controls/utils.js';
17
17
 
18
- var mobileStyles = {"title":"tabs__title_yk169 tabs__title_o2nwu","mobile":"tabs__mobile_yk169"};
18
+ var mobileStyles = {"title":"tabs__title_1bszl tabs__title_tladl","mobile":"tabs__mobile_1bszl"};
19
19
  require('./mobile.css')
20
20
 
21
21
  var styles = __assign(__assign({}, commonStyles), mobileStyles);