@alfalab/core-components-tabs 7.3.16 → 7.3.18

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 (104) hide show
  1. package/{Component-e67996e9.d.ts → Component-3ebe4754.d.ts} +8 -0
  2. package/component-3885b0d7.d.ts +1 -1
  3. package/components/primary-tablist/Component.desktop.js +1 -1
  4. package/components/primary-tablist/Component.mobile.js +2 -2
  5. package/components/primary-tablist/Component.responsive.js +1 -1
  6. package/components/primary-tablist/index.css +29 -29
  7. package/components/primary-tablist/mobile.css +34 -32
  8. package/components/scrollable-container/Component.js +1 -1
  9. package/components/scrollable-container/index.css +5 -5
  10. package/components/secondary-tablist/Component.desktop.js +1 -1
  11. package/components/secondary-tablist/Component.mobile.js +2 -2
  12. package/components/secondary-tablist/Component.responsive.js +1 -1
  13. package/components/secondary-tablist/index.css +11 -11
  14. package/components/secondary-tablist/mobile.css +15 -13
  15. package/components/tab/Component.js +1 -1
  16. package/components/tab/index.css +3 -3
  17. package/components/tabs/Component.desktop.js +2 -2
  18. package/components/tabs/Component.mobile.js +2 -2
  19. package/components/tabs/Component.responsive.js +2 -2
  20. package/cssm/{Component-e67996e9.d.ts → Component-3ebe4754.d.ts} +8 -0
  21. package/cssm/component-3885b0d7.d.ts +1 -1
  22. package/cssm/index-3e68f8db.d.ts +1 -1
  23. package/cssm/index-3ebe4754.d.ts +1 -0
  24. package/cssm/index-f12ee135.d.ts +1 -1
  25. package/{esm/types-24527f54.d.ts → cssm/types-996ad249.d.ts} +3 -2
  26. package/desktop.js +2 -2
  27. package/esm/{Component-e67996e9.d.ts → Component-3ebe4754.d.ts} +8 -0
  28. package/esm/component-3885b0d7.d.ts +1 -1
  29. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  30. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  31. package/esm/components/primary-tablist/Component.responsive.js +1 -1
  32. package/esm/components/primary-tablist/index.css +29 -29
  33. package/esm/components/primary-tablist/mobile.css +34 -32
  34. package/esm/components/scrollable-container/Component.js +1 -1
  35. package/esm/components/scrollable-container/index.css +5 -5
  36. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  37. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  38. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  39. package/esm/components/secondary-tablist/index.css +11 -11
  40. package/esm/components/secondary-tablist/mobile.css +15 -13
  41. package/esm/components/tab/Component.js +1 -1
  42. package/esm/components/tab/index.css +3 -3
  43. package/esm/components/tabs/Component.desktop.js +2 -2
  44. package/esm/components/tabs/Component.mobile.js +2 -2
  45. package/esm/components/tabs/Component.responsive.js +2 -2
  46. package/esm/desktop.js +2 -2
  47. package/esm/index-3e68f8db.d.ts +1 -1
  48. package/esm/index-3ebe4754.d.ts +1 -0
  49. package/esm/index-f12ee135.d.ts +1 -1
  50. package/esm/index.js +2 -2
  51. package/esm/index.module-260b2b5c.js +4 -0
  52. package/esm/index.module-fe01ad25.js +4 -0
  53. package/esm/mobile.js +2 -2
  54. package/esm/responsive.js +2 -2
  55. package/{modern/types-24527f54.d.ts → esm/types-996ad249.d.ts} +3 -2
  56. package/index-3e68f8db.d.ts +1 -1
  57. package/index-3ebe4754.d.ts +1 -0
  58. package/index-f12ee135.d.ts +1 -1
  59. package/index.js +2 -2
  60. package/index.module-a807a8ff.js +6 -0
  61. package/index.module-e04ac04b.js +6 -0
  62. package/mobile.js +2 -2
  63. package/modern/{Component-e67996e9.d.ts → Component-3ebe4754.d.ts} +8 -0
  64. package/modern/component-3885b0d7.d.ts +1 -1
  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 +29 -29
  69. package/modern/components/primary-tablist/mobile.css +34 -32
  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.desktop.js +1 -1
  73. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  74. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  75. package/modern/components/secondary-tablist/index.css +11 -11
  76. package/modern/components/secondary-tablist/mobile.css +15 -13
  77. package/modern/components/tab/Component.js +1 -1
  78. package/modern/components/tab/index.css +3 -3
  79. package/modern/components/tabs/Component.desktop.js +2 -2
  80. package/modern/components/tabs/Component.mobile.js +2 -2
  81. package/modern/components/tabs/Component.responsive.js +2 -2
  82. package/modern/desktop.js +2 -2
  83. package/modern/index-3e68f8db.d.ts +1 -1
  84. package/modern/index-3ebe4754.d.ts +1 -0
  85. package/modern/index-f12ee135.d.ts +1 -1
  86. package/modern/index.js +2 -2
  87. package/modern/index.module-00e43dd6.js +4 -0
  88. package/modern/index.module-22d4e7eb.js +4 -0
  89. package/modern/mobile.js +2 -2
  90. package/modern/responsive.js +2 -2
  91. package/{types-24527f54.d.ts → modern/types-996ad249.d.ts} +3 -2
  92. package/package.json +4 -4
  93. package/responsive.js +2 -2
  94. package/{cssm/types-24527f54.d.ts → types-996ad249.d.ts} +3 -2
  95. package/cssm/index-e67996e9.d.ts +0 -1
  96. package/esm/index-e67996e9.d.ts +0 -1
  97. package/esm/index.module-6a12ad86.js +0 -4
  98. package/esm/index.module-75d5a536.js +0 -4
  99. package/index-e67996e9.d.ts +0 -1
  100. package/index.module-530fdcfb.js +0 -6
  101. package/index.module-7c12577e.js +0 -6
  102. package/modern/index-e67996e9.d.ts +0 -1
  103. package/modern/index.module-07bd96a9.js +0 -4
  104. package/modern/index.module-878a9975.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: igueh */
1
+ /* hash: 1pcmb */
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 */
@@ -51,30 +51,30 @@
51
51
 
52
52
  /* size xl */
53
53
  --secondary-tablist-xl-gaps: var(--gap-m);
54
- }.tabs__component_of7lb {
54
+ }.tabs__component_e25yi {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_of7lb {
57
+ }.tabs__fullWidthScroll_e25yi {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_of7lb {
59
+ }.tabs__container_e25yi {
60
60
  overflow: hidden;
61
61
 
62
62
  /* focus-outline fix */
63
63
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
64
64
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
65
- }.tabs__title_of7lb {
65
+ }.tabs__title_e25yi {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
67
+ }/* sizes */.tabs__xxs_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
69
+ }.tabs__xs_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
71
+ }.tabs__s_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
73
+ }.tabs__m_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
75
+ }.tabs__l_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
77
+ }.tabs__xl_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35;
@@ -346,6 +346,7 @@
346
346
  --color-dark-bg-primary-alpha-15: rgba(18, 18, 18, 0.15);
347
347
  --color-dark-bg-primary-alpha-16: rgba(18, 18, 18, 0.16);
348
348
  --color-dark-bg-primary-alpha-20: rgba(18, 18, 18, 0.2);
349
+ --color-dark-bg-primary-alpha-30: rgba(18, 18, 18, 0.3);
349
350
  --color-dark-bg-primary-alpha-32: rgba(18, 18, 18, 0.32);
350
351
  --color-dark-bg-primary-alpha-37: rgba(18, 18, 18, 0.37);
351
352
  --color-dark-bg-primary-alpha-40: rgba(18, 18, 18, 0.4);
@@ -497,6 +498,7 @@
497
498
  --color-light-bg-primary-alpha-15: rgba(255, 255, 255, 0.15);
498
499
  --color-light-bg-primary-alpha-16: rgba(255, 255, 255, 0.16);
499
500
  --color-light-bg-primary-alpha-20: rgba(255, 255, 255, 0.2);
501
+ --color-light-bg-primary-alpha-30: rgba(255, 255, 255, 0.3);
500
502
  --color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
501
503
  --color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
502
504
  --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
@@ -961,7 +963,7 @@
961
963
 
962
964
  /* size xl */
963
965
  --secondary-tablist-xl-gaps: var(--gap-m);
964
- } .tabs__title_1d52w {
965
- } .tabs__mobile_1d52w .tabs__title_1d52w + .tabs__title_1d52w {
966
+ } .tabs__title_nx9ay {
967
+ } .tabs__mobile_nx9ay .tabs__title_nx9ay + .tabs__title_nx9ay {
966
968
  margin-left: var(--secondary-tablist-mobile-gaps);
967
969
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"tabs__component_fd0v5","hidden":"tabs__hidden_fd0v5"};
4
+ var styles = {"component":"tabs__component_m6h7x","hidden":"tabs__hidden_m6h7x"};
5
5
  require('./index.css')
6
6
 
7
7
  var Tab = function (_a) {
@@ -1,8 +1,8 @@
1
- /* hash: 10w9i */
2
- .tabs__component_fd0v5 {
1
+ /* hash: pvz05 */
2
+ .tabs__component_m6h7x {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_fd0v5 {
6
+ .tabs__hidden_m6h7x {
7
7
  display: none;
8
8
  }
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
17
17
  import '../scrollable-container/Component.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import '../title/Component.js';
20
- import '../../index.module-6a12ad86.js';
20
+ import '../../index.module-fe01ad25.js';
21
21
  import '../secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import '../../index.module-75d5a536.js';
23
+ import '../../index.module-260b2b5c.js';
24
24
 
25
25
  var views = {
26
26
  primary: PrimaryTabListDesktop,
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
17
17
  import '../scrollable-container/Component.js';
18
18
  import 'compute-scroll-into-view';
19
19
  import '../title/Component.js';
20
- import '../../index.module-6a12ad86.js';
20
+ import '../../index.module-fe01ad25.js';
21
21
  import '../secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import '../../index.module-75d5a536.js';
23
+ import '../../index.module-260b2b5c.js';
24
24
 
25
25
  var views = {
26
26
  primary: PrimaryTabListMobile,
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
18
18
  import '../scrollable-container/Component.js';
19
19
  import 'compute-scroll-into-view';
20
20
  import '../title/Component.js';
21
- import '../../index.module-6a12ad86.js';
21
+ import '../../index.module-fe01ad25.js';
22
22
  import '../primary-tablist/Component.mobile.js';
23
23
  import '../secondary-tablist/Component.desktop.js';
24
24
  import '../secondary-tablist/Component.js';
25
25
  import '@alfalab/core-components-tag/esm';
26
- import '../../index.module-75d5a536.js';
26
+ import '../../index.module-260b2b5c.js';
27
27
  import '../secondary-tablist/Component.mobile.js';
28
28
 
29
29
  var views = {
package/esm/desktop.js CHANGED
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
16
16
  import '@alfalab/hooks';
17
17
  import './synthetic-events.js';
18
18
  import './components/title/Component.js';
19
- import './index.module-6a12ad86.js';
19
+ import './index.module-fe01ad25.js';
20
20
  import 'compute-scroll-into-view';
21
21
  import './components/secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/esm';
23
- import './index.module-75d5a536.js';
23
+ import './index.module-260b2b5c.js';
24
24
  import './components/tabs/Component.js';
25
25
  import '@juggle/resize-observer';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { ReactNode } from "react";
4
- import { FormControlProps } from "./Component-e67996e9";
4
+ import { FormControlProps } from "./Component-3ebe4754";
5
5
  import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
6
6
  type SelectFieldProps = Omit<FormControlProps, "size"> & Record<string, unknown>;
7
7
  type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
@@ -0,0 +1 @@
1
+ export * from "./Component-3ebe4754";
@@ -1,3 +1,3 @@
1
1
  export * from "./component-3885b0d7";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-24527f54";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-996ad249";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-b64479aa";
package/esm/index.js CHANGED
@@ -18,12 +18,12 @@ import './hooks/use-collapsible-elements.js';
18
18
  import '@juggle/resize-observer';
19
19
  import './synthetic-events.js';
20
20
  import './components/title/Component.js';
21
- import './index.module-6a12ad86.js';
21
+ import './index.module-fe01ad25.js';
22
22
  import './components/primary-tablist/Component.mobile.js';
23
23
  import 'compute-scroll-into-view';
24
24
  import './components/secondary-tablist/Component.desktop.js';
25
25
  import './components/secondary-tablist/Component.js';
26
26
  import '@alfalab/core-components-tag/esm';
27
- import './index.module-75d5a536.js';
27
+ import './index.module-260b2b5c.js';
28
28
  import './components/secondary-tablist/Component.mobile.js';
29
29
  import './components/tabs/Component.js';
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"tabs__component_e25yi","fullWidthScroll":"tabs__fullWidthScroll_e25yi","container":"tabs__container_e25yi","title":"tabs__title_e25yi","xxs":"tabs__xxs_e25yi","xs":"tabs__xs_e25yi","s":"tabs__s_e25yi","m":"tabs__m_e25yi","l":"tabs__l_e25yi","xl":"tabs__xl_e25yi"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -0,0 +1,4 @@
1
+ var commonStyles = {"component":"tabs__component_1cyqm","fullWidthScroll":"tabs__fullWidthScroll_1cyqm","container":"tabs__container_1cyqm","title":"tabs__title_1cyqm","disabled":"tabs__disabled_1cyqm","focused":"tabs__focused_1cyqm","collapsed":"tabs__collapsed_1cyqm","selected":"tabs__selected_1cyqm","line":"tabs__line_1cyqm","s":"tabs__s_1cyqm","xs":"tabs__xs_1cyqm","xxs":"tabs__xxs_1cyqm","pickerWrapper":"tabs__pickerWrapper_1cyqm","option":"tabs__option_1cyqm","m":"tabs__m_1cyqm","l":"tabs__l_1cyqm","xl":"tabs__xl_1cyqm","rightAddons":"tabs__rightAddons_1cyqm"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
package/esm/mobile.js CHANGED
@@ -17,9 +17,9 @@ import './hooks/use-collapsible-elements.js';
17
17
  import '@juggle/resize-observer';
18
18
  import './synthetic-events.js';
19
19
  import './components/title/Component.js';
20
- import './index.module-6a12ad86.js';
20
+ import './index.module-fe01ad25.js';
21
21
  import 'compute-scroll-into-view';
22
22
  import './components/secondary-tablist/Component.js';
23
23
  import '@alfalab/core-components-tag/esm';
24
- import './index.module-75d5a536.js';
24
+ import './index.module-260b2b5c.js';
25
25
  import './components/tabs/Component.js';
package/esm/responsive.js CHANGED
@@ -17,13 +17,13 @@ import '@alfalab/core-components-picker-button/esm/desktop';
17
17
  import './hooks/use-tablist-titles.js';
18
18
  import './synthetic-events.js';
19
19
  import './components/title/Component.js';
20
- import './index.module-6a12ad86.js';
20
+ import './index.module-fe01ad25.js';
21
21
  import './components/primary-tablist/Component.mobile.js';
22
22
  import 'compute-scroll-into-view';
23
23
  import './components/secondary-tablist/Component.desktop.js';
24
24
  import './components/secondary-tablist/Component.js';
25
25
  import '@alfalab/core-components-tag/esm';
26
- import './index.module-75d5a536.js';
26
+ import './index.module-260b2b5c.js';
27
27
  import './components/secondary-tablist/Component.mobile.js';
28
28
  import './components/tabs/Component.js';
29
29
  import '@juggle/resize-observer';
@@ -5,6 +5,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
5
5
  import { NavigationBarProps } from "./index-e81c389f";
6
6
  type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
7
7
  type BorderColorType = "accent" | "key" | "key-inverted" | "link" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "underline" | "underline-inverted" | "graphic-attention" | "graphic-link" | "graphic-negative" | "graphic-positive" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
8
+ type GraphicColorType = "accent" | "link" | "attention" | "positive" | "negative" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "static-light" | "static-accent" | "static-dark";
8
9
  type ShadowType = "shadow-xs" | "shadow-s" | "shadow-m" | "shadow-l" | "shadow-xl" | "shadow-xs-hard" | "shadow-s-hard" | "shadow-m-hard" | "shadow-l-hard" | "shadow-xl-hard" | "shadow-xs-up" | "shadow-s-up" | "shadow-m-up" | "shadow-l-up" | "shadow-xl-up" | "shadow-xs-hard-up" | "shadow-s-hard-up" | "shadow-m-hard-up" | "shadow-l-hard-up" | "shadow-xl-hard-up";
9
10
  type GapType = "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
10
11
  type BottomSheetTitleAlign = 'center' | 'left';
@@ -189,7 +190,7 @@ type BottomSheetProps = {
189
190
  * По-умолчанию -[0, window.innerHeight - '24px']
190
191
  * массив должен состоять минимум из 2 элементов
191
192
  */
192
- magneticAreas?: number[];
193
+ magneticAreas?: Array<number | string>;
193
194
  /**
194
195
  * Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
195
196
  */
@@ -215,4 +216,4 @@ type BottomSheetProps = {
215
216
  */
216
217
  onMagnetize?: (index: number) => void;
217
218
  };
218
- export { BackgroundColorType, BorderColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
219
+ export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { ReactNode } from "react";
4
- import { FormControlProps } from "./Component-e67996e9";
4
+ import { FormControlProps } from "./Component-3ebe4754";
5
5
  import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
6
6
  type SelectFieldProps = Omit<FormControlProps, "size"> & Record<string, unknown>;
7
7
  type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
@@ -0,0 +1 @@
1
+ export * from "./Component-3ebe4754";
@@ -1,3 +1,3 @@
1
1
  export * from "./component-3885b0d7";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-24527f54";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-996ad249";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-b64479aa";
package/index.js CHANGED
@@ -22,13 +22,13 @@ require('./hooks/use-collapsible-elements.js');
22
22
  require('@juggle/resize-observer');
23
23
  require('./synthetic-events.js');
24
24
  require('./components/title/Component.js');
25
- require('./index.module-7c12577e.js');
25
+ require('./index.module-e04ac04b.js');
26
26
  require('./components/primary-tablist/Component.mobile.js');
27
27
  require('compute-scroll-into-view');
28
28
  require('./components/secondary-tablist/Component.desktop.js');
29
29
  require('./components/secondary-tablist/Component.js');
30
30
  require('@alfalab/core-components-tag');
31
- require('./index.module-530fdcfb.js');
31
+ require('./index.module-a807a8ff.js');
32
32
  require('./components/secondary-tablist/Component.mobile.js');
33
33
  require('./components/tabs/Component.js');
34
34
 
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"tabs__component_e25yi","fullWidthScroll":"tabs__fullWidthScroll_e25yi","container":"tabs__container_e25yi","title":"tabs__title_e25yi","xxs":"tabs__xxs_e25yi","xs":"tabs__xs_e25yi","s":"tabs__s_e25yi","m":"tabs__m_e25yi","l":"tabs__l_e25yi","xl":"tabs__xl_e25yi"};
4
+ require('./components/secondary-tablist/index.css')
5
+
6
+ exports.commonStyles = commonStyles;
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var commonStyles = {"component":"tabs__component_1cyqm","fullWidthScroll":"tabs__fullWidthScroll_1cyqm","container":"tabs__container_1cyqm","title":"tabs__title_1cyqm","disabled":"tabs__disabled_1cyqm","focused":"tabs__focused_1cyqm","collapsed":"tabs__collapsed_1cyqm","selected":"tabs__selected_1cyqm","line":"tabs__line_1cyqm","s":"tabs__s_1cyqm","xs":"tabs__xs_1cyqm","xxs":"tabs__xxs_1cyqm","pickerWrapper":"tabs__pickerWrapper_1cyqm","option":"tabs__option_1cyqm","m":"tabs__m_1cyqm","l":"tabs__l_1cyqm","xl":"tabs__xl_1cyqm","rightAddons":"tabs__rightAddons_1cyqm"};
4
+ require('./components/primary-tablist/index.css')
5
+
6
+ exports.commonStyles = commonStyles;
package/mobile.js CHANGED
@@ -21,11 +21,11 @@ require('./hooks/use-collapsible-elements.js');
21
21
  require('@juggle/resize-observer');
22
22
  require('./synthetic-events.js');
23
23
  require('./components/title/Component.js');
24
- require('./index.module-7c12577e.js');
24
+ require('./index.module-e04ac04b.js');
25
25
  require('compute-scroll-into-view');
26
26
  require('./components/secondary-tablist/Component.js');
27
27
  require('@alfalab/core-components-tag');
28
- require('./index.module-530fdcfb.js');
28
+ require('./index.module-a807a8ff.js');
29
29
  require('./components/tabs/Component.js');
30
30
 
31
31
 
@@ -66,6 +66,10 @@ type FormControlProps = HTMLAttributes<HTMLDivElement> & {
66
66
  * Дополнительный класс для поля
67
67
  */
68
68
  fieldClassName?: string;
69
+ /**
70
+ * Дополнительный класс для поля
71
+ */
72
+ inputWrapperClassName?: string;
69
73
  /**
70
74
  * Дополнительный класс для лейбла
71
75
  */
@@ -148,6 +152,10 @@ declare const FormControl: React.ForwardRefExoticComponent<React.HTMLAttributes<
148
152
  * Дополнительный класс для поля
149
153
  */
150
154
  fieldClassName?: string | undefined;
155
+ /**
156
+ * Дополнительный класс для поля
157
+ */
158
+ inputWrapperClassName?: string | undefined;
151
159
  /**
152
160
  * Дополнительный класс для лейбла
153
161
  */
@@ -4,7 +4,7 @@ import { FC, RefObject, ReactNode } from "react";
4
4
  import { NavigationBarProps } from "./index-e81c389f";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-24527f54";
7
+ import { BottomSheetProps } from "./types-996ad249";
8
8
  type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
9
9
  headerRef: RefObject<HTMLDivElement>;
10
10
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PrimaryTabList } from './Component.js';
3
- import { c as commonStyles } from '../../index.module-878a9975.js';
3
+ import { c as commonStyles } from '../../index.module-00e43dd6.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-badge/modern';
6
6
  import '@alfalab/core-components-keyboard-focusable/modern';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { PrimaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-878a9975.js';
4
+ import { c as commonStyles } from '../../index.module-00e43dd6.js';
5
5
  import '@alfalab/core-components-badge/modern';
6
6
  import '@alfalab/core-components-keyboard-focusable/modern';
7
7
  import '@alfalab/core-components-picker-button/modern/desktop';
@@ -15,7 +15,7 @@ import '../scrollable-container/Component.js';
15
15
  import 'compute-scroll-into-view';
16
16
  import '../title/Component.js';
17
17
 
18
- const mobileStyles = {"title":"tabs__title_1dhj3 tabs__title_1js6z","mobile":"tabs__mobile_1dhj3"};
18
+ const mobileStyles = {"title":"tabs__title_134hg tabs__title_1cyqm","mobile":"tabs__mobile_134hg"};
19
19
  require('./mobile.css')
20
20
 
21
21
  const styles = {
@@ -15,7 +15,7 @@ import '../../synthetic-events.js';
15
15
  import '../scrollable-container/Component.js';
16
16
  import 'compute-scroll-into-view';
17
17
  import '../title/Component.js';
18
- import '../../index.module-878a9975.js';
18
+ import '../../index.module-00e43dd6.js';
19
19
 
20
20
  const PrimaryTabListResponsive = ({ size, defaultMatch = 'desktop', collapsible, collapsedTabsIds, fullWidthScroll, ...restProps }) => {
21
21
  const [view] = useMedia([
@@ -1,4 +1,4 @@
1
- /* hash: 3y2c6 */
1
+ /* hash: eycu3 */
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_1js6z {
86
+ } .tabs__component_1cyqm {
87
87
  position: relative;
88
88
  display: inline-flex;
89
89
  min-width: 100%
90
- } .tabs__component_1js6z:before {
90
+ } .tabs__component_1cyqm: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_1js6z {
98
+ } .tabs__fullWidthScroll_1cyqm {
99
99
  min-width: calc(100% - 2 * var(--gap-m));
100
100
  margin: 0 var(--gap-m);
101
- } .tabs__container_1js6z {
101
+ } .tabs__container_1cyqm {
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_1js6z {
108
+ } .tabs__title_1cyqm {
109
109
  display: flex;
110
110
  align-items: center;
111
111
  height: 100%;
@@ -122,76 +122,76 @@
122
122
  user-select: none;
123
123
  cursor: pointer;
124
124
  outline: none
125
- } .tabs__title_1js6z:not(.tabs__disabled_1js6z):hover {
125
+ } .tabs__title_1cyqm:not(.tabs__disabled_1cyqm):hover {
126
126
  color: var(--primary-tablist-hover-color);
127
- } .tabs__focused_1js6z {
127
+ } .tabs__focused_1cyqm {
128
128
  outline: 2px solid var(--focus-color);
129
129
  outline-offset: 2px;
130
- } .tabs__collapsed_1js6z {
130
+ } .tabs__collapsed_1cyqm {
131
131
  order: 99;
132
132
  visibility: collapse;
133
- } .tabs__selected_1js6z {
133
+ } .tabs__selected_1cyqm {
134
134
  cursor: default;
135
135
  color: var(--primary-tablist-selected-color);
136
- } .tabs__disabled_1js6z {
136
+ } .tabs__disabled_1cyqm {
137
137
  cursor: var(--disabled-cursor);
138
138
  color: var(--primary-tablist-disabled-color);
139
- } .tabs__line_1js6z {
139
+ } .tabs__line_1cyqm {
140
140
  position: absolute;
141
141
  height: 3px;
142
142
  bottom: 0;
143
143
  left: 0;
144
144
  background-color: var(--primary-tablist-line-color);
145
145
  transition: transform 0.2s ease, width 0.2s ease;
146
- } /* sizes */ .tabs__s_1js6z .tabs__title_1js6z, .tabs__xs_1js6z .tabs__title_1js6z, .tabs__xxs_1js6z .tabs__title_1js6z {
146
+ } /* sizes */ .tabs__s_1cyqm .tabs__title_1cyqm, .tabs__xs_1cyqm .tabs__title_1cyqm, .tabs__xxs_1cyqm .tabs__title_1cyqm {
147
147
  padding: var(--primary-tablist-s-padding);
148
148
  font-size: var(--primary-tablist-s-font-size);
149
149
  font-weight: var(--primary-tablist-s-font-weight);
150
150
  font-family: var(--primary-tablist-s-font-family);
151
151
  line-height: 24px;
152
- } .tabs__s_1js6z .tabs__title_1js6z + .tabs__title_1js6z, .tabs__xs_1js6z .tabs__title_1js6z + .tabs__title_1js6z, .tabs__xxs_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
152
+ } .tabs__s_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm, .tabs__xs_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm, .tabs__xxs_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
153
153
  margin-left: var(--primary-tablist-s-gaps);
154
- } .tabs__s_1js6z .tabs__pickerWrapper_1js6z, .tabs__xs_1js6z .tabs__pickerWrapper_1js6z, .tabs__xxs_1js6z .tabs__pickerWrapper_1js6z {
154
+ } .tabs__s_1cyqm .tabs__pickerWrapper_1cyqm, .tabs__xs_1cyqm .tabs__pickerWrapper_1cyqm, .tabs__xxs_1cyqm .tabs__pickerWrapper_1cyqm {
155
155
  margin-left: var(--primary-tablist-s-gaps);
156
- } .tabs__s_1js6z .tabs__option_1js6z, .tabs__xs_1js6z .tabs__option_1js6z, .tabs__xxs_1js6z .tabs__option_1js6z {
156
+ } .tabs__s_1cyqm .tabs__option_1cyqm, .tabs__xs_1cyqm .tabs__option_1cyqm, .tabs__xxs_1cyqm .tabs__option_1cyqm {
157
157
  padding: 0;
158
- } .tabs__m_1js6z .tabs__title_1js6z {
158
+ } .tabs__m_1cyqm .tabs__title_1cyqm {
159
159
  padding: var(--primary-tablist-m-padding);
160
160
  font-size: var(--primary-tablist-m-font-size);
161
161
  font-weight: var(--primary-tablist-m-font-weight);
162
162
  font-family: var(--primary-tablist-m-font-family);
163
163
  line-height: 24px;
164
- } .tabs__m_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
164
+ } .tabs__m_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
165
165
  margin-left: var(--primary-tablist-m-gaps);
166
- } .tabs__m_1js6z .tabs__pickerWrapper_1js6z {
166
+ } .tabs__m_1cyqm .tabs__pickerWrapper_1cyqm {
167
167
  margin-left: var(--primary-tablist-m-gaps);
168
- } .tabs__m_1js6z .tabs__option_1js6z {
168
+ } .tabs__m_1cyqm .tabs__option_1cyqm {
169
169
  padding: 0;
170
- } .tabs__l_1js6z .tabs__title_1js6z {
170
+ } .tabs__l_1cyqm .tabs__title_1cyqm {
171
171
  padding: var(--primary-tablist-l-padding);
172
172
  font-size: var(--primary-tablist-l-font-size);
173
173
  font-weight: var(--primary-tablist-l-font-weight);
174
174
  font-family: var(--primary-tablist-l-font-family);
175
175
  line-height: 24px;
176
- } .tabs__l_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
176
+ } .tabs__l_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
177
177
  margin-left: var(--primary-tablist-l-gaps);
178
- } .tabs__l_1js6z .tabs__pickerWrapper_1js6z {
178
+ } .tabs__l_1cyqm .tabs__pickerWrapper_1cyqm {
179
179
  margin-left: var(--primary-tablist-l-gaps);
180
- } .tabs__l_1js6z .tabs__option_1js6z {
180
+ } .tabs__l_1cyqm .tabs__option_1cyqm {
181
181
  padding: 0;
182
- } .tabs__xl_1js6z .tabs__title_1js6z {
182
+ } .tabs__xl_1cyqm .tabs__title_1cyqm {
183
183
  padding: var(--primary-tablist-xl-padding);
184
184
  font-size: var(--primary-tablist-xl-font-size);
185
185
  font-weight: var(--primary-tablist-xl-font-weight);
186
186
  font-family: var(--primary-tablist-xl-font-family);
187
187
  line-height: 32px;
188
- } .tabs__xl_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
188
+ } .tabs__xl_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
189
189
  margin-left: var(--primary-tablist-xl-gaps);
190
- } .tabs__xl_1js6z .tabs__pickerWrapper_1js6z {
190
+ } .tabs__xl_1cyqm .tabs__pickerWrapper_1cyqm {
191
191
  margin-left: var(--primary-tablist-xl-gaps);
192
- } .tabs__xl_1js6z .tabs__option_1js6z {
192
+ } .tabs__xl_1cyqm .tabs__option_1cyqm {
193
193
  padding: 0;
194
- } .tabs__rightAddons_1js6z {
194
+ } .tabs__rightAddons_1cyqm {
195
195
  display: flex;
196
196
  justify-content: center;
197
197
  align-items: center;