@alfalab/core-components-tabs 7.2.4 → 7.2.5

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 (210) hide show
  1. package/Component-0d7ca9a7.d.ts +40 -0
  2. package/Component-3e68f8db.d.ts +11 -0
  3. package/Component-3fe0d3e6.d.ts +234 -0
  4. package/Component-85892853.d.ts +5 -0
  5. package/Component-97288072.d.ts +49 -0
  6. package/Component-bdb4c6b9.d.ts +12 -0
  7. package/Component-db573794.d.ts +33 -0
  8. package/Component-e67996e9.d.ts +168 -0
  9. package/Component-ebda875c.d.ts +135 -0
  10. package/Context-bdb4c6b9.d.ts +4 -0
  11. package/ResponsiveContext-baf4875b.d.ts +5 -0
  12. package/components/primary-tablist/Component.desktop.js +3 -3
  13. package/components/primary-tablist/Component.js +2 -2
  14. package/components/primary-tablist/Component.mobile.js +4 -4
  15. package/components/primary-tablist/Component.responsive.js +3 -3
  16. package/components/primary-tablist/index.css +29 -29
  17. package/components/primary-tablist/mobile.css +32 -32
  18. package/components/scrollable-container/Component.js +1 -1
  19. package/components/scrollable-container/index.css +5 -5
  20. package/components/secondary-tablist/Component.desktop.js +2 -2
  21. package/components/secondary-tablist/Component.js +1 -1
  22. package/components/secondary-tablist/Component.mobile.js +3 -3
  23. package/components/secondary-tablist/Component.responsive.js +2 -2
  24. package/components/secondary-tablist/index.css +11 -11
  25. package/components/secondary-tablist/mobile.css +13 -13
  26. package/components/tab/Component.js +1 -1
  27. package/components/tab/index.css +3 -3
  28. package/components/tabs/Component.desktop.js +4 -4
  29. package/components/tabs/Component.mobile.js +4 -4
  30. package/components/tabs/Component.responsive.js +4 -4
  31. package/components/title/Component.js +1 -1
  32. package/components/title/index.js +1 -1
  33. package/cssm/Component-0d7ca9a7.d.ts +40 -0
  34. package/cssm/Component-3e68f8db.d.ts +11 -0
  35. package/cssm/Component-3fe0d3e6.d.ts +234 -0
  36. package/cssm/Component-85892853.d.ts +5 -0
  37. package/cssm/Component-97288072.d.ts +49 -0
  38. package/cssm/Component-bdb4c6b9.d.ts +12 -0
  39. package/cssm/Component-db573794.d.ts +33 -0
  40. package/cssm/Component-e67996e9.d.ts +168 -0
  41. package/cssm/Component-ebda875c.d.ts +135 -0
  42. package/cssm/Context-bdb4c6b9.d.ts +4 -0
  43. package/cssm/ResponsiveContext-baf4875b.d.ts +5 -0
  44. package/cssm/components/primary-tablist/Component.desktop.js +1 -1
  45. package/cssm/components/primary-tablist/Component.js +1 -1
  46. package/cssm/components/primary-tablist/Component.mobile.js +1 -1
  47. package/cssm/components/primary-tablist/Component.responsive.js +1 -1
  48. package/cssm/components/tabs/Component.desktop.js +1 -1
  49. package/cssm/components/tabs/Component.mobile.js +1 -1
  50. package/cssm/components/tabs/Component.responsive.js +1 -1
  51. package/cssm/desktop.js +1 -1
  52. package/cssm/getDataTestId-3fe0d3e6.d.ts +2 -0
  53. package/cssm/hook-edac5428.d.ts +54 -0
  54. package/cssm/index-0d7ca9a7.d.ts +27 -0
  55. package/cssm/index-136acbb1.d.ts +28 -0
  56. package/cssm/index-3e68f8db.d.ts +98 -0
  57. package/cssm/index-3fe0d3e6.d.ts +1 -0
  58. package/cssm/index-48646db0.d.ts +2 -0
  59. package/cssm/index-7ca84eff.d.ts +196 -0
  60. package/cssm/index-bdb4c6b9.d.ts +2 -0
  61. package/cssm/index-e67996e9.d.ts +1 -0
  62. package/cssm/index-ebda875c.d.ts +3 -0
  63. package/cssm/index.js +1 -1
  64. package/cssm/mobile.js +1 -1
  65. package/cssm/responsive.js +1 -1
  66. package/cssm/typings-85892853.d.ts +553 -0
  67. package/cssm/typings-bdb4c6b9.d.ts +52 -0
  68. package/cssm/utils-1574ad8b.d.ts +28 -0
  69. package/cssm/utils-85892853.d.ts +38 -0
  70. package/desktop.js +4 -4
  71. package/esm/Component-0d7ca9a7.d.ts +40 -0
  72. package/esm/Component-3e68f8db.d.ts +11 -0
  73. package/esm/Component-3fe0d3e6.d.ts +234 -0
  74. package/esm/Component-85892853.d.ts +5 -0
  75. package/esm/Component-97288072.d.ts +49 -0
  76. package/esm/Component-bdb4c6b9.d.ts +12 -0
  77. package/esm/Component-db573794.d.ts +33 -0
  78. package/esm/Component-e67996e9.d.ts +168 -0
  79. package/esm/Component-ebda875c.d.ts +135 -0
  80. package/esm/Context-bdb4c6b9.d.ts +4 -0
  81. package/esm/ResponsiveContext-baf4875b.d.ts +5 -0
  82. package/esm/components/primary-tablist/Component.desktop.js +3 -3
  83. package/esm/components/primary-tablist/Component.js +2 -2
  84. package/esm/components/primary-tablist/Component.mobile.js +4 -4
  85. package/esm/components/primary-tablist/Component.responsive.js +3 -3
  86. package/esm/components/primary-tablist/index.css +29 -29
  87. package/esm/components/primary-tablist/mobile.css +32 -32
  88. package/esm/components/scrollable-container/Component.js +1 -1
  89. package/esm/components/scrollable-container/index.css +5 -5
  90. package/esm/components/secondary-tablist/Component.desktop.js +2 -2
  91. package/esm/components/secondary-tablist/Component.js +1 -1
  92. package/esm/components/secondary-tablist/Component.mobile.js +3 -3
  93. package/esm/components/secondary-tablist/Component.responsive.js +2 -2
  94. package/esm/components/secondary-tablist/index.css +11 -11
  95. package/esm/components/secondary-tablist/mobile.css +13 -13
  96. package/esm/components/tab/Component.js +1 -1
  97. package/esm/components/tab/index.css +3 -3
  98. package/esm/components/tabs/Component.desktop.js +4 -4
  99. package/esm/components/tabs/Component.mobile.js +4 -4
  100. package/esm/components/tabs/Component.responsive.js +4 -4
  101. package/esm/components/title/Component.js +1 -1
  102. package/esm/components/title/index.js +1 -1
  103. package/esm/desktop.js +4 -4
  104. package/esm/getDataTestId-3fe0d3e6.d.ts +2 -0
  105. package/esm/hook-edac5428.d.ts +54 -0
  106. package/esm/hooks/use-collapsible-elements.js +1 -1
  107. package/esm/hooks/use-tablist-titles.js +1 -1
  108. package/esm/index-0d7ca9a7.d.ts +27 -0
  109. package/esm/index-136acbb1.d.ts +28 -0
  110. package/esm/index-3e68f8db.d.ts +98 -0
  111. package/esm/index-3fe0d3e6.d.ts +1 -0
  112. package/esm/index-48646db0.d.ts +2 -0
  113. package/esm/index-7ca84eff.d.ts +196 -0
  114. package/esm/index-bdb4c6b9.d.ts +2 -0
  115. package/esm/index-e67996e9.d.ts +1 -0
  116. package/esm/index-ebda875c.d.ts +3 -0
  117. package/esm/index.js +4 -4
  118. package/esm/index.module-06a4ba0a.js +4 -0
  119. package/esm/index.module-fff420f1.js +4 -0
  120. package/esm/mobile.js +4 -4
  121. package/esm/responsive.js +4 -4
  122. package/esm/synthetic-events.js +1 -1
  123. package/esm/{tslib.es6-c7045249.d.ts → tslib.es6-442504cd.d.ts} +0 -0
  124. package/esm/{tslib.es6-c7045249.js → tslib.es6-442504cd.js} +0 -0
  125. package/esm/typings-85892853.d.ts +553 -0
  126. package/esm/typings-bdb4c6b9.d.ts +52 -0
  127. package/esm/utils-1574ad8b.d.ts +28 -0
  128. package/esm/utils-85892853.d.ts +38 -0
  129. package/getDataTestId-3fe0d3e6.d.ts +2 -0
  130. package/hook-edac5428.d.ts +54 -0
  131. package/hooks/use-collapsible-elements.js +1 -1
  132. package/hooks/use-tablist-titles.js +1 -1
  133. package/index-0d7ca9a7.d.ts +27 -0
  134. package/index-136acbb1.d.ts +28 -0
  135. package/index-3e68f8db.d.ts +98 -0
  136. package/index-3fe0d3e6.d.ts +1 -0
  137. package/index-48646db0.d.ts +2 -0
  138. package/index-7ca84eff.d.ts +196 -0
  139. package/index-bdb4c6b9.d.ts +2 -0
  140. package/index-e67996e9.d.ts +1 -0
  141. package/index-ebda875c.d.ts +3 -0
  142. package/index.js +4 -4
  143. package/index.module-a1b32357.js +6 -0
  144. package/index.module-cfa18052.js +6 -0
  145. package/mobile.js +4 -4
  146. package/modern/Component-0d7ca9a7.d.ts +40 -0
  147. package/modern/Component-3e68f8db.d.ts +11 -0
  148. package/modern/Component-3fe0d3e6.d.ts +234 -0
  149. package/modern/Component-85892853.d.ts +5 -0
  150. package/modern/Component-97288072.d.ts +49 -0
  151. package/modern/Component-bdb4c6b9.d.ts +12 -0
  152. package/modern/Component-db573794.d.ts +33 -0
  153. package/modern/Component-e67996e9.d.ts +168 -0
  154. package/modern/Component-ebda875c.d.ts +135 -0
  155. package/modern/Context-bdb4c6b9.d.ts +4 -0
  156. package/modern/ResponsiveContext-baf4875b.d.ts +5 -0
  157. package/modern/components/primary-tablist/Component.desktop.js +2 -2
  158. package/modern/components/primary-tablist/Component.js +1 -1
  159. package/modern/components/primary-tablist/Component.mobile.js +3 -3
  160. package/modern/components/primary-tablist/Component.responsive.js +2 -2
  161. package/modern/components/primary-tablist/index.css +29 -29
  162. package/modern/components/primary-tablist/mobile.css +32 -32
  163. package/modern/components/scrollable-container/Component.js +1 -1
  164. package/modern/components/scrollable-container/index.css +5 -5
  165. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  166. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  167. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  168. package/modern/components/secondary-tablist/index.css +11 -11
  169. package/modern/components/secondary-tablist/mobile.css +13 -13
  170. package/modern/components/tab/Component.js +1 -1
  171. package/modern/components/tab/index.css +3 -3
  172. package/modern/components/tabs/Component.desktop.js +3 -3
  173. package/modern/components/tabs/Component.mobile.js +3 -3
  174. package/modern/components/tabs/Component.responsive.js +3 -3
  175. package/modern/desktop.js +3 -3
  176. package/modern/getDataTestId-3fe0d3e6.d.ts +2 -0
  177. package/modern/hook-edac5428.d.ts +54 -0
  178. package/modern/index-0d7ca9a7.d.ts +27 -0
  179. package/modern/index-136acbb1.d.ts +28 -0
  180. package/modern/index-3e68f8db.d.ts +98 -0
  181. package/modern/index-3fe0d3e6.d.ts +1 -0
  182. package/modern/index-48646db0.d.ts +2 -0
  183. package/modern/index-7ca84eff.d.ts +196 -0
  184. package/modern/index-bdb4c6b9.d.ts +2 -0
  185. package/modern/index-e67996e9.d.ts +1 -0
  186. package/modern/index-ebda875c.d.ts +3 -0
  187. package/modern/index.js +3 -3
  188. package/modern/index.module-06a4ba0a.js +4 -0
  189. package/modern/index.module-fff420f1.js +4 -0
  190. package/modern/mobile.js +3 -3
  191. package/modern/responsive.js +3 -3
  192. package/modern/typings-85892853.d.ts +553 -0
  193. package/modern/typings-bdb4c6b9.d.ts +52 -0
  194. package/modern/utils-1574ad8b.d.ts +28 -0
  195. package/modern/utils-85892853.d.ts +38 -0
  196. package/package.json +1 -1
  197. package/responsive.js +4 -4
  198. package/synthetic-events.js +1 -1
  199. package/{tslib.es6-f581fd25.d.ts → tslib.es6-e85b77d3.d.ts} +0 -0
  200. package/{tslib.es6-f581fd25.js → tslib.es6-e85b77d3.js} +0 -0
  201. package/typings-85892853.d.ts +553 -0
  202. package/typings-bdb4c6b9.d.ts +52 -0
  203. package/utils-1574ad8b.d.ts +28 -0
  204. package/utils-85892853.d.ts +38 -0
  205. package/esm/index.module-0d5bb957.js +0 -4
  206. package/esm/index.module-464ce309.js +0 -4
  207. package/index.module-1f2c27dd.js +0 -6
  208. package/index.module-4ae8ce0c.js +0 -6
  209. package/modern/index.module-0d5bb957.js +0 -4
  210. package/modern/index.module-464ce309.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 5p70f */
1
+ /* hash: cw4b5 */
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_quf9b {
47
+ .tabs__component_1bxy3 {
48
48
  position: relative;
49
49
  display: inline-flex;
50
50
  }
51
- .tabs__fullWidthScroll_quf9b {
51
+ .tabs__fullWidthScroll_1bxy3 {
52
52
  margin: 0 var(--gap-m);
53
53
  }
54
- .tabs__container_quf9b {
54
+ .tabs__container_1bxy3 {
55
55
  overflow: hidden;
56
56
  }
57
- .tabs__title_quf9b {
57
+ .tabs__title_1bxy3 {
58
58
  white-space: nowrap;
59
59
  }
60
60
  /* sizes */
61
- .tabs__xxs_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
61
+ .tabs__xxs_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
62
62
  margin-left: var(--secondary-tablist-xxs-gaps);
63
63
  }
64
- .tabs__xs_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
64
+ .tabs__xs_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
65
65
  margin-left: var(--secondary-tablist-xs-gaps);
66
66
  }
67
- .tabs__s_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
67
+ .tabs__s_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
68
68
  margin-left: var(--secondary-tablist-s-gaps);
69
69
  }
70
- .tabs__m_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
70
+ .tabs__m_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
71
71
  margin-left: var(--secondary-tablist-m-gaps);
72
72
  }
73
- .tabs__l_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
73
+ .tabs__l_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
74
74
  margin-left: var(--secondary-tablist-l-gaps);
75
75
  }
76
- .tabs__xl_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
76
+ .tabs__xl_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1srp7 */
1
+ /* hash: 1mjp4 */
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_quf9b {
52
+ }.tabs__component_1bxy3 {
53
53
  position: relative;
54
54
  display: inline-flex;
55
- }.tabs__fullWidthScroll_quf9b {
55
+ }.tabs__fullWidthScroll_1bxy3 {
56
56
  margin: 0 var(--gap-m);
57
- }.tabs__container_quf9b {
57
+ }.tabs__container_1bxy3 {
58
58
  overflow: hidden;
59
- }.tabs__title_quf9b {
59
+ }.tabs__title_1bxy3 {
60
60
  white-space: nowrap;
61
- }/* sizes */.tabs__xxs_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
61
+ }/* sizes */.tabs__xxs_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
62
62
  margin-left: var(--secondary-tablist-xxs-gaps);
63
- }.tabs__xs_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
63
+ }.tabs__xs_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
64
64
  margin-left: var(--secondary-tablist-xs-gaps);
65
- }.tabs__s_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
65
+ }.tabs__s_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
66
66
  margin-left: var(--secondary-tablist-s-gaps);
67
- }.tabs__m_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
67
+ }.tabs__m_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
68
68
  margin-left: var(--secondary-tablist-m-gaps);
69
- }.tabs__l_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
69
+ }.tabs__l_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
70
70
  margin-left: var(--secondary-tablist-l-gaps);
71
- }.tabs__xl_quf9b .tabs__title_quf9b + .tabs__title_quf9b {
71
+ }.tabs__xl_1bxy3 .tabs__title_1bxy3 + .tabs__title_1bxy3 {
72
72
  margin-left: var(--secondary-tablist-xl-gaps);
73
73
  }
74
74
  :root {
@@ -885,8 +885,8 @@
885
885
  /* size xl */
886
886
  --secondary-tablist-xl-gaps: var(--gap-m);
887
887
  }
888
- .tabs__title_9tim9 {
888
+ .tabs__title_etw6z {
889
889
  }
890
- .tabs__mobile_9tim9 .tabs__title_9tim9 + .tabs__title_9tim9 {
890
+ .tabs__mobile_etw6z .tabs__title_etw6z + .tabs__title_etw6z {
891
891
  margin-left: var(--secondary-tablist-mobile-gaps);
892
892
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"tabs__component_aq3ap","hidden":"tabs__hidden_aq3ap"};
4
+ var styles = {"component":"tabs__component_rlmfg","hidden":"tabs__hidden_rlmfg"};
5
5
  require('./index.css')
6
6
 
7
7
  var Tab = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 1xeky */
2
- .tabs__component_aq3ap {
1
+ /* hash: vdue4 */
2
+ .tabs__component_rlmfg {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_aq3ap {
6
+ .tabs__hidden_rlmfg {
7
7
  display: none;
8
8
  }
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7045249.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-442504cd.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
- import '@alfalab/core-components/picker-button/desktop';
5
4
  import '@alfalab/core-components-badge/esm';
6
5
  import '@alfalab/core-components-keyboard-focusable/esm';
6
+ import '@alfalab/core-components-picker-button/esm/desktop';
7
7
  import '@alfalab/hooks';
8
8
  import '@juggle/resize-observer';
9
9
  import '../../hooks/use-collapsible-elements.js';
@@ -14,11 +14,11 @@ import 'compute-scroll-into-view';
14
14
  import '../scrollable-container/Component.js';
15
15
  import '../title/Component.js';
16
16
  import '../primary-tablist/Component.js';
17
- import '../../index.module-0d5bb957.js';
17
+ import '../../index.module-06a4ba0a.js';
18
18
  import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
19
19
  import '@alfalab/core-components-tag/esm';
20
20
  import '../secondary-tablist/Component.js';
21
- import '../../index.module-464ce309.js';
21
+ import '../../index.module-fff420f1.js';
22
22
  import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
23
23
  import { Tabs } from './Component.js';
24
24
 
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7045249.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-442504cd.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
- import '@alfalab/core-components/picker-button/desktop';
5
4
  import '@alfalab/core-components-badge/esm';
6
5
  import '@alfalab/core-components-keyboard-focusable/esm';
6
+ import '@alfalab/core-components-picker-button/esm/desktop';
7
7
  import '@alfalab/hooks';
8
8
  import '@juggle/resize-observer';
9
9
  import '../../hooks/use-collapsible-elements.js';
@@ -14,10 +14,10 @@ import 'compute-scroll-into-view';
14
14
  import '../scrollable-container/Component.js';
15
15
  import '../title/Component.js';
16
16
  import '../primary-tablist/Component.js';
17
- import '../../index.module-0d5bb957.js';
17
+ import '../../index.module-06a4ba0a.js';
18
18
  import '@alfalab/core-components-tag/esm';
19
19
  import '../secondary-tablist/Component.js';
20
- import '../../index.module-464ce309.js';
20
+ import '../../index.module-fff420f1.js';
21
21
  import { Tabs } from './Component.js';
22
22
  import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
23
23
  import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7045249.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-442504cd.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
- import '@alfalab/core-components/picker-button/desktop';
5
4
  import '@alfalab/core-components-badge/esm';
6
5
  import '@alfalab/core-components-keyboard-focusable/esm';
6
+ import '@alfalab/core-components-picker-button/esm/desktop';
7
7
  import '@alfalab/hooks';
8
8
  import '@juggle/resize-observer';
9
9
  import '../../hooks/use-collapsible-elements.js';
@@ -14,11 +14,11 @@ import 'compute-scroll-into-view';
14
14
  import '../scrollable-container/Component.js';
15
15
  import '../title/Component.js';
16
16
  import '../primary-tablist/Component.js';
17
- import '../../index.module-0d5bb957.js';
17
+ import '../../index.module-06a4ba0a.js';
18
18
  import '../primary-tablist/Component.desktop.js';
19
19
  import '@alfalab/core-components-tag/esm';
20
20
  import '../secondary-tablist/Component.js';
21
- import '../../index.module-464ce309.js';
21
+ import '../../index.module-fff420f1.js';
22
22
  import '../secondary-tablist/Component.desktop.js';
23
23
  import { Tabs } from './Component.js';
24
24
  import '../primary-tablist/Component.mobile.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-c7045249.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-442504cd.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-c7045249.js';
1
+ import '../../tslib.es6-442504cd.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { Title } from './Component.js';
package/esm/desktop.js CHANGED
@@ -1,9 +1,9 @@
1
- import './tslib.es6-c7045249.js';
1
+ import './tslib.es6-442504cd.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
- import '@alfalab/core-components/picker-button/desktop';
5
4
  import '@alfalab/core-components-badge/esm';
6
5
  import '@alfalab/core-components-keyboard-focusable/esm';
6
+ import '@alfalab/core-components-picker-button/esm/desktop';
7
7
  import '@alfalab/hooks';
8
8
  import '@juggle/resize-observer';
9
9
  export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
@@ -14,11 +14,11 @@ import 'compute-scroll-into-view';
14
14
  export { ScrollableContainer } from './components/scrollable-container/Component.js';
15
15
  import './components/title/Component.js';
16
16
  import './components/primary-tablist/Component.js';
17
- import './index.module-0d5bb957.js';
17
+ import './index.module-06a4ba0a.js';
18
18
  export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
19
19
  import '@alfalab/core-components-tag/esm';
20
20
  import './components/secondary-tablist/Component.js';
21
- import './index.module-464ce309.js';
21
+ import './index.module-fff420f1.js';
22
22
  export { SecondaryTabListDesktop } from './components/secondary-tablist/Component.desktop.js';
23
23
  export { Tab } from './components/tab/Component.js';
24
24
  import './components/tabs/Component.js';
@@ -0,0 +1,2 @@
1
+ declare const getDataTestId: (dataTestId?: string | undefined, element?: string | undefined) => string | undefined;
2
+ export { getDataTestId };
@@ -0,0 +1,54 @@
1
+ /// <reference types="react" />
2
+ import { BaseSelectProps, OptionShape } from "./index-3e68f8db";
3
+ type useSelectWithApplyProps = {
4
+ /**
5
+ * Список выбранных пунктов
6
+ */
7
+ selected: BaseSelectProps['selected'];
8
+ /**
9
+ * Список вариантов выбора
10
+ */
11
+ options: BaseSelectProps['options'];
12
+ /**
13
+ * Обработчик выбора
14
+ */
15
+ onChange: BaseSelectProps['onChange'];
16
+ /**
17
+ * Компонент выпадающего меню
18
+ */
19
+ OptionsList?: BaseSelectProps['OptionsList'];
20
+ /**
21
+ * Показывать кнопку очистки
22
+ */
23
+ showClear?: boolean;
24
+ /**
25
+ * Показывать пункт "Выбрать все"
26
+ */
27
+ showSelectAll?: boolean;
28
+ };
29
+ declare const SELECT_ALL_KEY = "select_all";
30
+ declare function useSelectWithApply({ options, selected, onChange, OptionsList, showClear, showSelectAll, }: useSelectWithApplyProps): {
31
+ OptionsList: import("react").ForwardRefExoticComponent<import("./index-3e68f8db").OptionsListProps & {
32
+ showClear?: boolean | undefined;
33
+ onClose?: (() => void) | undefined;
34
+ selectedDraft?: OptionShape[] | undefined;
35
+ OptionsList?: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<unknown>> | undefined;
36
+ } & import("react").RefAttributes<unknown>>;
37
+ optionsListProps: {
38
+ OptionsList: import("react").FC<import("./index-3e68f8db").OptionsListProps> | undefined;
39
+ showClear: boolean;
40
+ onClear: () => void;
41
+ onApply: () => void;
42
+ onClose: () => void;
43
+ selectedDraft: OptionShape[];
44
+ };
45
+ allowUnselect: boolean;
46
+ multiple: boolean;
47
+ options: (OptionShape | import("./index-3e68f8db").GroupShape | {
48
+ key: string;
49
+ content: string;
50
+ })[];
51
+ onChange: (payload: import("./index-3e68f8db").BaseSelectChangePayload) => void;
52
+ selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
53
+ };
54
+ export { SELECT_ALL_KEY, useSelectWithApply };
@@ -1,4 +1,4 @@
1
- import { b as __spreadArray } from '../tslib.es6-c7045249.js';
1
+ import { b as __spreadArray } from '../tslib.es6-442504cd.js';
2
2
  import { useState, useRef } from 'react';
3
3
  import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
4
4
  import { ResizeObserver } from '@juggle/resize-observer';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../tslib.es6-c7045249.js';
1
+ import { a as __assign } from '../tslib.es6-442504cd.js';
2
2
  import { useMemo } from 'react';
3
3
  import { useMedia } from '@alfalab/hooks';
4
4
  import '@juggle/resize-observer';
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
+ import { ButtonProps } from "./index-ebda875c";
5
+ import { AdditionalMobileProps } from "./index-3e68f8db";
6
+ import { PickerButtonDesktopProps } from "./Component-0d7ca9a7";
7
+ type PickerButtonMatchMedia = "desktop" | "mobile";
8
+ type PickerButtonProps = PickerButtonDesktopProps & AdditionalMobileProps & {
9
+ /**
10
+ * Контрольная точка, с нее начинается desktop версия
11
+ * @default 1024
12
+ */
13
+ breakpoint?: number;
14
+ };
15
+ declare const PickerButton: React.ForwardRefExoticComponent<Omit<import("./index-3e68f8db").BaseSelectProps, "placeholder" | "onFocus" | "size" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "fieldProps" | "Arrow" | "Field"> & Pick<ButtonProps, "rightAddons" | "leftAddons" | "view" | "loading"> & {
16
+ options: ((import("./index-3e68f8db").OptionShape | import("./index-3e68f8db").GroupShape) & {
17
+ icon?: React.FC<React.SVGProps<SVGSVGElement>> | undefined;
18
+ })[];
19
+ size?: import("./Component-0d7ca9a7").PickerButtonSize | undefined;
20
+ variant?: import("./Component-0d7ca9a7").PickerButtonVariant | undefined;
21
+ } & AdditionalMobileProps & {
22
+ breakpoint?: number | undefined;
23
+ } & React.RefAttributes<HTMLInputElement>>;
24
+ type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps;
25
+ declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<HTMLInputElement>>;
26
+ export { PickerButtonMatchMedia, PickerButtonProps, PickerButton, PickerButtonMobileProps, PickerButtonMobile };
27
+ export type { PickerButtonDesktopProps, PickerButtonSize, PickerButtonVariant } from "./Component-0d7ca9a7";
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { FC, ReactNode } from "react";
3
+ /**
4
+ * Набор констант для z-index соответствующих классов компонентов.
5
+ * Значения выбраны по приоритету.
6
+ */
7
+ declare const stackingOrder: {
8
+ FOCUSED: number;
9
+ DEFAULT: number;
10
+ POPOVER: number;
11
+ MODAL: number;
12
+ TOAST: number;
13
+ };
14
+ declare const StackingContext: import("react").Context<number>;
15
+ type StackProps = {
16
+ /**
17
+ * Render prop, в который передается функция.
18
+ * Функция принимает аргумент со значением z-index из текущего контекста.
19
+ */
20
+ children: (value: number) => ReactNode;
21
+ /**
22
+ * Исходное значение для z-index.
23
+ * @default 5
24
+ */
25
+ value?: number;
26
+ };
27
+ declare const Stack: FC<StackProps>;
28
+ export { stackingOrder, StackingContext, StackProps, Stack };
@@ -0,0 +1,98 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { ReactNode } from "react";
4
+ import { FormControlProps } from "./Component-e67996e9";
5
+ import { BaseSelectProps, OptionProps, OptionShape } from "./typings-85892853";
6
+ type SelectFieldProps = FormControlProps & Record<string, unknown>;
7
+ type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
8
+ /**
9
+ * Пропсы, которые будут прокинуты в компонент поля
10
+ */
11
+ fieldProps?: SelectFieldProps;
12
+ };
13
+ declare const Select: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "fieldProps"> & {
14
+ fieldProps?: SelectFieldProps | undefined;
15
+ } & React.RefAttributes<HTMLDivElement>>;
16
+ // eslint-disable-next-line @typescript-eslint/naming-convention
17
+ type useSelectWithLoadingProps = {
18
+ loading?: boolean;
19
+ visibleOptions?: BaseSelectProps["visibleOptions"];
20
+ Option?: React.FC<OptionProps>;
21
+ };
22
+ declare function useSelectWithLoading({ loading, visibleOptions, Option }: useSelectWithLoadingProps): {
23
+ Option: (props: OptionProps) => JSX.Element;
24
+ options: OptionShape[];
25
+ } | null;
26
+ type OptionsFetcherResponse = {
27
+ options: OptionShape[];
28
+ hasMore: boolean;
29
+ };
30
+ // eslint-disable-next-line @typescript-eslint/naming-convention
31
+ type useLazyLoadingProps = {
32
+ /** Количество элементов на "странице" */
33
+ limit?: number;
34
+ /** Начальный номер "страницы" */
35
+ initialOffset?: number;
36
+ /** Скелетон загружаемых элементов */
37
+ skeleton?: React.ReactNode;
38
+ /** Компонент пункта меню */
39
+ Option?: React.FC<OptionProps>;
40
+ /**
41
+ * Функция-загрузчик опций.
42
+ * @param offset - текущая страница
43
+ * @param limit - количество элементов на странице
44
+ * @param queryString - строчные данные, пробрасываемые для поиска из кастомного инпута, расположенного в заголовке OptionsList
45
+ * @returns Promise<{
46
+ * options - список опций следующей "страницы". Они аппендятся к предыдущим
47
+ * hasMore - указывает, есть ли еще незагруженные элементы (в случае false перестает загружать "следующую страницу")
48
+ * }>
49
+ */
50
+ optionsFetcher(offset: number, limit: number, queryString?: string): Promise<OptionsFetcherResponse>;
51
+ };
52
+ declare function useLazyLoading({ limit, initialOffset, optionsFetcher, skeleton, Option }: useLazyLoadingProps): {
53
+ optionsProps: {
54
+ Option: (props: OptionProps) => JSX.Element;
55
+ options: OptionShape[];
56
+ optionsListProps: {
57
+ ref: React.RefObject<HTMLDivElement>;
58
+ inputProps: {
59
+ onChange: (event: React.ChangeEvent<HTMLInputElement>, payload: {
60
+ value: string;
61
+ }) => void;
62
+ value: string;
63
+ };
64
+ };
65
+ onOpen: (payload: {
66
+ open?: boolean;
67
+ }) => void;
68
+ };
69
+ reset: () => void;
70
+ };
71
+ type SkeletonProps = {
72
+ /**
73
+ * Флаг, явно задающий состояние, при котором контент закрывается прелоадером
74
+ */
75
+ visible?: boolean;
76
+ /**
77
+ * Флаг явного включения анимации скелета
78
+ */
79
+ animate?: boolean;
80
+ /**
81
+ * Дополнительный класс
82
+ */
83
+ className?: string;
84
+ /**
85
+ * Идентификатор для систем автоматизированного тестирования
86
+ */
87
+ dataTestId?: string;
88
+ /**
89
+ * Дочерние элементы.
90
+ */
91
+ children?: ReactNode;
92
+ };
93
+ declare const Skeleton: React.FC<SkeletonProps>;
94
+ export { SelectFieldProps, SelectProps, Select, useSelectWithLoading, useLazyLoading, SkeletonProps, Skeleton };
95
+ export * from "./hook-edac5428";
96
+ export * from "./index-48646db0";
97
+ export * from "./typings-85892853";
98
+ export * from "./utils-85892853";
@@ -0,0 +1 @@
1
+ export * from "./getDataTestId-3fe0d3e6";
@@ -0,0 +1,2 @@
1
+ export * from "./Component-85892853";
2
+ export * from "./index-ebda875c";