@alfalab/core-components-tabs 8.0.4 → 8.0.6

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 (125) hide show
  1. package/Component-8b2c2707.d.ts +1 -1
  2. package/{Component-5e1b8383.d.ts → Component-dd8ca091.d.ts} +1 -1
  3. package/collapsible.js +2 -2
  4. package/components/primary-tablist/Component.collapsible.desktop.js +1 -1
  5. package/components/primary-tablist/Component.collapsible.mobile.js +2 -2
  6. package/components/primary-tablist/Component.collapsible.responsive.js +2 -2
  7. package/components/primary-tablist/Component.desktop.js +1 -1
  8. package/components/primary-tablist/Component.mobile.js +2 -2
  9. package/components/primary-tablist/Component.responsive.js +2 -2
  10. package/components/primary-tablist/index.css +29 -29
  11. package/components/primary-tablist/mobile.css +32 -32
  12. package/components/scrollable-container/Component.js +2 -4
  13. package/components/scrollable-container/index.css +5 -5
  14. package/components/secondary-tablist/Component.desktop.js +1 -1
  15. package/components/secondary-tablist/Component.mobile.js +2 -2
  16. package/components/secondary-tablist/Component.responsive.js +1 -1
  17. package/components/secondary-tablist/index.css +11 -11
  18. package/components/secondary-tablist/mobile.css +13 -13
  19. package/components/tab/Component.js +1 -1
  20. package/components/tab/index.css +3 -3
  21. package/components/tabs/Component.collabsible.desktop.js +1 -1
  22. package/components/tabs/Component.collapsible.mobile.js +2 -2
  23. package/components/tabs/Component.collapsible.responsive.js +2 -2
  24. package/components/tabs/Component.desktop.js +2 -2
  25. package/components/tabs/Component.mobile.js +3 -3
  26. package/components/tabs/Component.responsive.js +3 -3
  27. package/cssm/Component-8b2c2707.d.ts +1 -1
  28. package/cssm/{Component-5e1b8383.d.ts → Component-dd8ca091.d.ts} +1 -1
  29. package/cssm/components/scrollable-container/Component.js +1 -3
  30. package/{esm/hook-9ea9e32c.d.ts → cssm/hook-8abfea97.d.ts} +28 -13
  31. package/cssm/shared-4cd3936b.d.ts +6 -6
  32. package/{esm/typings-5e1b8383.d.ts → cssm/typings-dd8ca091.d.ts} +23 -1
  33. package/{modern/utils-5e1b8383.d.ts → cssm/utils-dd8ca091.d.ts} +6 -3
  34. package/desktop.js +2 -2
  35. package/esm/Component-8b2c2707.d.ts +1 -1
  36. package/{modern/Component-5e1b8383.d.ts → esm/Component-dd8ca091.d.ts} +1 -1
  37. package/esm/collapsible.js +2 -2
  38. package/esm/components/primary-tablist/Component.collapsible.desktop.js +1 -1
  39. package/esm/components/primary-tablist/Component.collapsible.mobile.js +2 -2
  40. package/esm/components/primary-tablist/Component.collapsible.responsive.js +2 -2
  41. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  42. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  43. package/esm/components/primary-tablist/Component.responsive.js +2 -2
  44. package/esm/components/primary-tablist/index.css +29 -29
  45. package/esm/components/primary-tablist/mobile.css +32 -32
  46. package/esm/components/scrollable-container/Component.js +2 -4
  47. package/esm/components/scrollable-container/index.css +5 -5
  48. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  49. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  50. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  51. package/esm/components/secondary-tablist/index.css +11 -11
  52. package/esm/components/secondary-tablist/mobile.css +13 -13
  53. package/esm/components/tab/Component.js +1 -1
  54. package/esm/components/tab/index.css +3 -3
  55. package/esm/components/tabs/Component.collabsible.desktop.js +1 -1
  56. package/esm/components/tabs/Component.collapsible.mobile.js +2 -2
  57. package/esm/components/tabs/Component.collapsible.responsive.js +2 -2
  58. package/esm/components/tabs/Component.desktop.js +2 -2
  59. package/esm/components/tabs/Component.mobile.js +3 -3
  60. package/esm/components/tabs/Component.responsive.js +3 -3
  61. package/esm/desktop.js +2 -2
  62. package/{hook-9ea9e32c.d.ts → esm/hook-8abfea97.d.ts} +28 -13
  63. package/esm/index.js +3 -3
  64. package/esm/index.module-0d6aac07.js +4 -0
  65. package/esm/index.module-dab47194.js +4 -0
  66. package/esm/mobile.js +3 -3
  67. package/esm/mobile.module-9b70a4fc.js +4 -0
  68. package/esm/shared-4cd3936b.d.ts +6 -6
  69. package/{modern/typings-5e1b8383.d.ts → esm/typings-dd8ca091.d.ts} +23 -1
  70. package/esm/{utils-5e1b8383.d.ts → utils-dd8ca091.d.ts} +6 -3
  71. package/{cssm/hook-9ea9e32c.d.ts → hook-8abfea97.d.ts} +28 -13
  72. package/index.js +3 -3
  73. package/index.module-1176452c.js +6 -0
  74. package/index.module-6fac1a11.js +6 -0
  75. package/mobile.js +3 -3
  76. package/{mobile.module-6c98e36e.js → mobile.module-6b11e45e.js} +1 -1
  77. package/modern/Component-8b2c2707.d.ts +1 -1
  78. package/{esm/Component-5e1b8383.d.ts → modern/Component-dd8ca091.d.ts} +1 -1
  79. package/modern/collapsible.js +2 -2
  80. package/modern/components/primary-tablist/Component.collapsible.desktop.js +1 -1
  81. package/modern/components/primary-tablist/Component.collapsible.mobile.js +2 -2
  82. package/modern/components/primary-tablist/Component.collapsible.responsive.js +2 -2
  83. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  84. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  85. package/modern/components/primary-tablist/Component.responsive.js +2 -2
  86. package/modern/components/primary-tablist/index.css +29 -29
  87. package/modern/components/primary-tablist/mobile.css +32 -32
  88. package/modern/components/scrollable-container/Component.js +2 -4
  89. package/modern/components/scrollable-container/index.css +5 -5
  90. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  91. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  92. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  93. package/modern/components/secondary-tablist/index.css +11 -11
  94. package/modern/components/secondary-tablist/mobile.css +13 -13
  95. package/modern/components/tab/Component.js +1 -1
  96. package/modern/components/tab/index.css +3 -3
  97. package/modern/components/tabs/Component.collabsible.desktop.js +1 -1
  98. package/modern/components/tabs/Component.collapsible.mobile.js +2 -2
  99. package/modern/components/tabs/Component.collapsible.responsive.js +2 -2
  100. package/modern/components/tabs/Component.desktop.js +2 -2
  101. package/modern/components/tabs/Component.mobile.js +3 -3
  102. package/modern/components/tabs/Component.responsive.js +3 -3
  103. package/modern/desktop.js +2 -2
  104. package/modern/{hook-9ea9e32c.d.ts → hook-8abfea97.d.ts} +28 -13
  105. package/modern/index.js +3 -3
  106. package/modern/index.module-2f2bbaf5.js +4 -0
  107. package/modern/index.module-9e23227a.js +4 -0
  108. package/modern/mobile.js +3 -3
  109. package/modern/mobile.module-a0b368a1.js +4 -0
  110. package/modern/shared-4cd3936b.d.ts +6 -6
  111. package/{typings-5e1b8383.d.ts → modern/typings-dd8ca091.d.ts} +23 -1
  112. package/{utils-5e1b8383.d.ts → modern/utils-dd8ca091.d.ts} +6 -3
  113. package/package.json +3 -3
  114. package/shared-4cd3936b.d.ts +6 -6
  115. package/src/components/scrollable-container/Component.tsx +1 -2
  116. package/{cssm/typings-5e1b8383.d.ts → typings-dd8ca091.d.ts} +23 -1
  117. package/{cssm/utils-5e1b8383.d.ts → utils-dd8ca091.d.ts} +6 -3
  118. package/esm/index.module-8dec482b.js +0 -4
  119. package/esm/index.module-966b3998.js +0 -4
  120. package/esm/mobile.module-39766406.js +0 -4
  121. package/index.module-07185e4d.js +0 -6
  122. package/index.module-56e66dc4.js +0 -6
  123. package/modern/index.module-9e555350.js +0 -4
  124. package/modern/index.module-d7578f28.js +0 -4
  125. package/modern/mobile.module-90edca62.js +0 -4
@@ -20,8 +20,8 @@ require('../../hooks/use-tabs.js');
20
20
  require('@alfalab/core-components-shared');
21
21
  require('../../synthetic-events.js');
22
22
  require('../title/Component.js');
23
- require('../../index.module-07185e4d.js');
24
- require('../../mobile.module-6c98e36e.js');
23
+ require('../../index.module-6fac1a11.js');
24
+ require('../../mobile.module-6b11e45e.js');
25
25
 
26
26
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
27
27
 
@@ -21,9 +21,9 @@ require('../../hooks/use-tabs.js');
21
21
  require('@alfalab/core-components-shared');
22
22
  require('../../synthetic-events.js');
23
23
  require('../title/Component.js');
24
- require('../../index.module-07185e4d.js');
24
+ require('../../index.module-6fac1a11.js');
25
25
  require('../primary-tablist/Component.collapsible.mobile.js');
26
- require('../../mobile.module-6c98e36e.js');
26
+ require('../../mobile.module-6b11e45e.js');
27
27
 
28
28
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
29
29
 
@@ -15,10 +15,10 @@ require('@alfalab/core-components-shared');
15
15
  require('../scrollable-container/Component.js');
16
16
  require('compute-scroll-into-view');
17
17
  require('../title/Component.js');
18
- require('../../index.module-07185e4d.js');
18
+ require('../../index.module-6fac1a11.js');
19
19
  require('@alfalab/core-components-tag/desktop');
20
20
  require('../secondary-tablist/Component.js');
21
- require('../../index.module-56e66dc4.js');
21
+ require('../../index.module-1176452c.js');
22
22
 
23
23
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
24
24
 
@@ -15,11 +15,11 @@ require('@alfalab/core-components-shared');
15
15
  require('../scrollable-container/Component.js');
16
16
  require('compute-scroll-into-view');
17
17
  require('../title/Component.js');
18
- require('../../index.module-07185e4d.js');
19
- require('../../mobile.module-6c98e36e.js');
18
+ require('../../index.module-6fac1a11.js');
19
+ require('../../mobile.module-6b11e45e.js');
20
20
  require('@alfalab/core-components-tag/mobile');
21
21
  require('../secondary-tablist/Component.js');
22
- require('../../index.module-56e66dc4.js');
22
+ require('../../index.module-1176452c.js');
23
23
 
24
24
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
25
25
 
@@ -17,13 +17,13 @@ require('@alfalab/core-components-shared');
17
17
  require('../scrollable-container/Component.js');
18
18
  require('compute-scroll-into-view');
19
19
  require('../title/Component.js');
20
- require('../../index.module-07185e4d.js');
20
+ require('../../index.module-6fac1a11.js');
21
21
  require('../primary-tablist/Component.mobile.js');
22
- require('../../mobile.module-6c98e36e.js');
22
+ require('../../mobile.module-6b11e45e.js');
23
23
  require('../secondary-tablist/Component.desktop.js');
24
24
  require('@alfalab/core-components-tag/desktop');
25
25
  require('../secondary-tablist/Component.js');
26
- require('../../index.module-56e66dc4.js');
26
+ require('../../index.module-1176452c.js');
27
27
  require('../secondary-tablist/Component.mobile.js');
28
28
  require('@alfalab/core-components-tag/mobile');
29
29
 
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { FC, SVGProps } from "react";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
5
5
  import { ButtonProps } from "./index-8b2c2707";
6
- import { FieldProps as BaseFieldProps } from "./typings-5e1b8383";
6
+ import { FieldProps as BaseFieldProps } from "./typings-dd8ca091";
7
7
  declare const getIcon: (variant: PickerButtonVariant, size: PickerButtonSize) => FC<SVGProps<SVGSVGElement>>;
8
8
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
9
9
  buttonSize?: PickerButtonSize;
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { FC, ReactNode } from "react";
4
4
  import { ModalMobileProps, ContentProps } from "./typings-bdb4c6b9";
5
5
  import { BottomSheetProps } from "./index-f12ee135";
6
- import { BaseSelectProps } from "./typings-5e1b8383";
6
+ import { BaseSelectProps } from "./typings-dd8ca091";
7
7
  type FooterProps = {
8
8
  /**
9
9
  * Контент футера
@@ -29,10 +29,8 @@ var ScrollableContainer = function (_a) {
29
29
  inline: 'nearest',
30
30
  });
31
31
  // TODO: animate?
32
- actions.forEach(function (_a, index) {
32
+ actions.forEach(function (_a) {
33
33
  var el = _a.el, left = _a.left;
34
- if (index === 0)
35
- return;
36
34
  // eslint-disable-next-line no-param-reassign
37
35
  el.scrollLeft =
38
36
  el.scrollLeft > left
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BaseSelectProps, OptionShape } from "./typings-5e1b8383";
2
+ import { BaseSelectProps, OptionShape } from "./typings-dd8ca091";
3
3
  type UseSelectWithApplyProps = {
4
4
  /**
5
5
  * Список выбранных пунктов
@@ -21,6 +21,14 @@ type UseSelectWithApplyProps = {
21
21
  * Пропсы, которые будут прокинуты в компонент списка
22
22
  */
23
23
  optionsListProps?: BaseSelectProps['optionsListProps'];
24
+ /**
25
+ * Включает отображение поиска
26
+ */
27
+ showSearch?: BaseSelectProps['showSearch'];
28
+ /**
29
+ * Настройки поиска
30
+ */
31
+ searchProps?: BaseSelectProps['searchProps'];
24
32
  /**
25
33
  * Показывать кнопку очистки
26
34
  */
@@ -35,21 +43,21 @@ type UseSelectWithApplyProps = {
35
43
  showHeaderWithSelectAll?: boolean;
36
44
  };
37
45
  declare const SELECT_ALL_KEY = "select_all";
38
- declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, }: UseSelectWithApplyProps): {
39
- OptionsList: import("react").ForwardRefExoticComponent<import("./typings-5e1b8383").OptionsListProps & {
46
+ declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
47
+ OptionsList: import("react").ForwardRefExoticComponent<import("./typings-dd8ca091").OptionsListProps & {
40
48
  showClear?: boolean | undefined;
41
- onClose?: (() => void) | undefined;
49
+ onClose?: (() => void) | undefined; /**
50
+ * Компонент выпадающего меню
51
+ */
42
52
  selectedDraft?: OptionShape[] | undefined;
43
- OptionsList?: import("react").FC<import("./typings-5e1b8383").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
44
- Footer?: import("react").FC<import("./Component-5e1b8383").FooterProps> | undefined;
53
+ OptionsList?: import("react").FC<import("./typings-dd8ca091").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
54
+ Footer?: import("react").FC<import("./Component-dd8ca091").FooterProps> | undefined;
45
55
  Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
46
- headerProps?: import("./Component-ebda875c").HeaderProps | undefined; /**
47
- * Показывать кнопку очистки
48
- */
56
+ headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
49
57
  showHeaderWithSelectAll?: boolean | undefined;
50
58
  } & import("react").RefAttributes<HTMLDivElement>>;
51
59
  optionsListProps: {
52
- OptionsList: import("react").FC<import("./typings-5e1b8383").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
60
+ OptionsList: import("react").FC<import("./typings-dd8ca091").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
53
61
  showClear: boolean;
54
62
  onClear: () => void;
55
63
  onApply: () => void;
@@ -64,12 +72,19 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
64
72
  };
65
73
  allowUnselect: boolean;
66
74
  multiple: boolean;
67
- options: (OptionShape | import("./typings-5e1b8383").GroupShape | {
75
+ options: (OptionShape | import("./typings-dd8ca091").GroupShape | {
68
76
  key: string;
69
77
  content: string;
70
78
  })[];
71
- onChange: (payload: import("./typings-5e1b8383").BaseSelectChangePayload) => void;
79
+ onChange: (payload: import("./typings-dd8ca091").BaseSelectChangePayload) => void;
72
80
  selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
81
+ showSearch: boolean | undefined;
82
+ searchProps: {
83
+ value: string;
84
+ onChange: import("react").Dispatch<import("react").SetStateAction<string>>;
85
+ componentProps?: import("./index-c44170fe").InputProps | undefined;
86
+ accessor?: ((option: OptionShape) => string) | undefined;
87
+ } | undefined;
73
88
  };
74
- export * from "./Component-5e1b8383";
89
+ export * from "./Component-dd8ca091";
75
90
  export { UseSelectWithApplyProps, SELECT_ALL_KEY, useSelectWithApply };
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { ReactNode } from "react";
4
- import { BaseSelectProps, OptionProps, OptionShape } from "./typings-5e1b8383";
4
+ import { BaseSelectProps, OptionProps, OptionShape } from "./typings-dd8ca091";
5
5
  import { BottomSheetProps } from "./index-f12ee135";
6
- import { UseSelectWithApplyProps } from "./hook-9ea9e32c";
6
+ import { UseSelectWithApplyProps } from "./hook-8abfea97";
7
7
  // eslint-disable-next-line @typescript-eslint/naming-convention
8
8
  type useSelectWithLoadingProps = {
9
9
  loading?: boolean;
@@ -100,8 +100,8 @@ type FooterProps = {
100
100
  };
101
101
  declare const Footer: ({ handleApply, handleClear, showClear }: FooterProps) => React.JSX.Element;
102
102
  export * from "./index-ebda875c";
103
- export * from "./Component-5e1b8383";
103
+ export * from "./Component-dd8ca091";
104
104
  export { useSelectWithLoading, useLazyLoading, AdditionalMobileProps, SelectMobileProps, SelectMobile, FooterProps, Footer };
105
- export * from "./hook-9ea9e32c";
106
- export * from "./typings-5e1b8383";
107
- export * from "./utils-5e1b8383";
105
+ export * from "./hook-8abfea97";
106
+ export * from "./typings-dd8ca091";
107
+ export * from "./utils-dd8ca091";
@@ -210,6 +210,23 @@ type BaseSelectProps = {
210
210
  * Компонент пункта меню
211
211
  */
212
212
  Option?: FC<OptionProps>;
213
+ /**
214
+ * Включает отображение поиска
215
+ */
216
+ showSearch?: boolean;
217
+ /**
218
+ * Компонент поиска
219
+ */
220
+ Search?: FC<SearchProps & RefAttributes<HTMLInputElement>>;
221
+ /**
222
+ * Настройки поиска
223
+ */
224
+ searchProps?: {
225
+ componentProps?: SearchProps;
226
+ accessor?: (option: OptionShape) => string;
227
+ value?: string;
228
+ onChange?: (value: string) => void;
229
+ };
213
230
  /**
214
231
  * Обработчик выбора
215
232
  */
@@ -345,6 +362,10 @@ type OptionsListProps = {
345
362
  * Дополнительный класс для компонента группы пунктов
346
363
  */
347
364
  optionGroupClassName?: string;
365
+ /**
366
+ * Дополнительный класс для скроллбара
367
+ */
368
+ scrollbarClassName?: string;
348
369
  /**
349
370
  * Размер компонента
350
371
  */
@@ -547,4 +568,5 @@ type CheckmarkProps = {
547
568
  */
548
569
  icon?: FC<SVGProps<SVGSVGElement>>;
549
570
  };
550
- export { AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps };
571
+ type SearchProps = InputProps;
572
+ export { AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps };
@@ -1,12 +1,13 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-5e1b8383";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-dd8ca091";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
6
6
  selected?: OptionShape | undefined;
7
7
  selectedMultiple?: OptionShape[] | undefined;
8
8
  }) => ReactNode[] | null;
9
- declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
9
+ declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected'], filterFn?: (option: OptionShape) => boolean): {
10
+ filteredOptions: (OptionShape | GroupShape)[];
10
11
  flatOptions: OptionShape[];
11
12
  selectedOptions: OptionShape[];
12
13
  };
@@ -33,6 +34,8 @@ type useVisibleOptionsArgs = {
33
34
  invalidate?: unknown;
34
35
  };
35
36
  declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
37
+ declare function defaultFilterFn(optionText: string, search: string): boolean;
38
+ declare function defaultAccessor(option: OptionShape): string;
36
39
  declare function usePrevious<T>(value: T): T | undefined;
37
40
  declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
38
- export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, usePrevious, lastIndexOf };
41
+ export { isGroup, isOptionShape, joinOptions, processOptions, useVisibleOptions, defaultFilterFn, defaultAccessor, usePrevious, lastIndexOf };
package/desktop.js CHANGED
@@ -16,10 +16,10 @@ require('@alfalab/core-components-shared');
16
16
  require('./components/scrollable-container/Component.js');
17
17
  require('compute-scroll-into-view');
18
18
  require('./components/title/Component.js');
19
- require('./index.module-07185e4d.js');
19
+ require('./index.module-6fac1a11.js');
20
20
  require('@alfalab/core-components-tag/desktop');
21
21
  require('./components/secondary-tablist/Component.js');
22
- require('./index.module-56e66dc4.js');
22
+ require('./index.module-1176452c.js');
23
23
  require('./components/tabs/Component.js');
24
24
 
25
25
 
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { FC, SVGProps } from "react";
4
4
  import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
5
5
  import { ButtonProps } from "./index-8b2c2707";
6
- import { FieldProps as BaseFieldProps } from "./typings-5e1b8383";
6
+ import { FieldProps as BaseFieldProps } from "./typings-dd8ca091";
7
7
  declare const getIcon: (variant: PickerButtonVariant, size: PickerButtonSize) => FC<SVGProps<SVGSVGElement>>;
8
8
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
9
9
  buttonSize?: PickerButtonSize;
@@ -3,7 +3,7 @@ import React from "react";
3
3
  import { FC, ReactNode } from "react";
4
4
  import { ModalMobileProps, ContentProps } from "./typings-bdb4c6b9";
5
5
  import { BottomSheetProps } from "./index-f12ee135";
6
- import { BaseSelectProps } from "./typings-5e1b8383";
6
+ import { BaseSelectProps } from "./typings-dd8ca091";
7
7
  type FooterProps = {
8
8
  /**
9
9
  * Контент футера
@@ -22,5 +22,5 @@ import './hooks/use-tabs.js';
22
22
  import '@alfalab/core-components-shared/esm';
23
23
  import './synthetic-events.js';
24
24
  import './components/title/Component.js';
25
- import './index.module-8dec482b.js';
26
- import './mobile.module-39766406.js';
25
+ import './index.module-dab47194.js';
26
+ import './mobile.module-9b70a4fc.js';
@@ -1,7 +1,7 @@
1
1
  import { __rest, __assign } from 'tslib';
2
2
  import React from 'react';
3
3
  import { CollapsiblePrimaryTabList } from './Component.collapsible.js';
4
- import { c as commonStyles } from '../../index.module-8dec482b.js';
4
+ import { c as commonStyles } from '../../index.module-dab47194.js';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-badge/esm';
7
7
  import '@alfalab/core-components-keyboard-focusable/esm';
@@ -2,8 +2,8 @@ import { __assign, __rest } from 'tslib';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { CollapsiblePrimaryTabList } from './Component.collapsible.js';
5
- import { c as commonStyles } from '../../index.module-8dec482b.js';
6
- import { m as mobileStyles } from '../../mobile.module-39766406.js';
5
+ import { c as commonStyles } from '../../index.module-dab47194.js';
6
+ import { m as mobileStyles } from '../../mobile.module-9b70a4fc.js';
7
7
  import '@alfalab/core-components-badge/esm';
8
8
  import '@alfalab/core-components-keyboard-focusable/esm';
9
9
  import '@alfalab/core-components-picker-button/esm/desktop';
@@ -16,8 +16,8 @@ import '../../hooks/use-tabs.js';
16
16
  import '@alfalab/core-components-shared/esm';
17
17
  import '../../synthetic-events.js';
18
18
  import '../title/Component.js';
19
- import '../../index.module-8dec482b.js';
20
- import '../../mobile.module-39766406.js';
19
+ import '../../index.module-dab47194.js';
20
+ import '../../mobile.module-9b70a4fc.js';
21
21
 
22
22
  var CollapsiblePrimaryTabListResponsive = function (_a) {
23
23
  var size = _a.size, fullWidthScroll = _a.fullWidthScroll, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["size", "fullWidthScroll", "breakpoint", "defaultMatchMediaValue"]);
@@ -1,7 +1,7 @@
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-8dec482b.js';
4
+ import { c as commonStyles } from '../../index.module-dab47194.js';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-keyboard-focusable/esm';
7
7
  import '../../hooks/use-tabs.js';
@@ -2,8 +2,8 @@ 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-8dec482b.js';
6
- import { m as mobileStyles } from '../../mobile.module-39766406.js';
5
+ import { c as commonStyles } from '../../index.module-dab47194.js';
6
+ import { m as mobileStyles } from '../../mobile.module-9b70a4fc.js';
7
7
  import '@alfalab/core-components-keyboard-focusable/esm';
8
8
  import '../../hooks/use-tabs.js';
9
9
  import '@alfalab/core-components-shared/esm';
@@ -11,8 +11,8 @@ import '@alfalab/core-components-shared/esm';
11
11
  import '../scrollable-container/Component.js';
12
12
  import 'compute-scroll-into-view';
13
13
  import '../title/Component.js';
14
- import '../../index.module-8dec482b.js';
15
- import '../../mobile.module-39766406.js';
14
+ import '../../index.module-dab47194.js';
15
+ import '../../mobile.module-9b70a4fc.js';
16
16
 
17
17
  var PrimaryTabListResponsive = function (_a) {
18
18
  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: xzgpw */
1
+ /* hash: fbtrt */
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_u0ax3 {
86
+ } .tabs__component_d0xly {
87
87
  position: relative;
88
88
  display: inline-flex;
89
89
  min-width: 100%
90
- } .tabs__component_u0ax3:before {
90
+ } .tabs__component_d0xly: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_u0ax3 {
98
+ } .tabs__fullWidthScroll_d0xly {
99
99
  min-width: calc(100% - 2 * var(--gap-m));
100
100
  margin: 0 var(--gap-m);
101
- } .tabs__container_u0ax3 {
101
+ } .tabs__container_d0xly {
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_u0ax3 {
108
+ } .tabs__title_d0xly {
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_u0ax3:not(.tabs__disabled_u0ax3):hover {
125
+ } .tabs__title_d0xly:not(.tabs__disabled_d0xly):hover {
126
126
  color: var(--primary-tablist-hover-color);
127
- } .tabs__focused_u0ax3 {
127
+ } .tabs__focused_d0xly {
128
128
  outline: 2px solid var(--focus-color);
129
129
  outline-offset: 2px;
130
- } .tabs__collapsed_u0ax3 {
130
+ } .tabs__collapsed_d0xly {
131
131
  order: 99;
132
132
  visibility: collapse;
133
- } .tabs__selected_u0ax3 {
133
+ } .tabs__selected_d0xly {
134
134
  cursor: default;
135
135
  color: var(--primary-tablist-selected-color);
136
- } .tabs__disabled_u0ax3 {
136
+ } .tabs__disabled_d0xly {
137
137
  cursor: var(--disabled-cursor);
138
138
  color: var(--primary-tablist-disabled-color);
139
- } .tabs__line_u0ax3 {
139
+ } .tabs__line_d0xly {
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_u0ax3 .tabs__title_u0ax3, .tabs__xs_u0ax3 .tabs__title_u0ax3, .tabs__xxs_u0ax3 .tabs__title_u0ax3 {
146
+ } /* sizes */ .tabs__s_d0xly .tabs__title_d0xly, .tabs__xs_d0xly .tabs__title_d0xly, .tabs__xxs_d0xly .tabs__title_d0xly {
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_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3, .tabs__xs_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3, .tabs__xxs_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3 {
152
+ } .tabs__s_d0xly .tabs__title_d0xly + .tabs__title_d0xly, .tabs__xs_d0xly .tabs__title_d0xly + .tabs__title_d0xly, .tabs__xxs_d0xly .tabs__title_d0xly + .tabs__title_d0xly {
153
153
  margin-left: var(--primary-tablist-s-gaps);
154
- } .tabs__s_u0ax3 .tabs__pickerWrapper_u0ax3, .tabs__xs_u0ax3 .tabs__pickerWrapper_u0ax3, .tabs__xxs_u0ax3 .tabs__pickerWrapper_u0ax3 {
154
+ } .tabs__s_d0xly .tabs__pickerWrapper_d0xly, .tabs__xs_d0xly .tabs__pickerWrapper_d0xly, .tabs__xxs_d0xly .tabs__pickerWrapper_d0xly {
155
155
  margin-left: var(--primary-tablist-s-gaps);
156
- } .tabs__s_u0ax3 .tabs__option_u0ax3, .tabs__xs_u0ax3 .tabs__option_u0ax3, .tabs__xxs_u0ax3 .tabs__option_u0ax3 {
156
+ } .tabs__s_d0xly .tabs__option_d0xly, .tabs__xs_d0xly .tabs__option_d0xly, .tabs__xxs_d0xly .tabs__option_d0xly {
157
157
  padding: 0;
158
- } .tabs__m_u0ax3 .tabs__title_u0ax3 {
158
+ } .tabs__m_d0xly .tabs__title_d0xly {
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_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3 {
164
+ } .tabs__m_d0xly .tabs__title_d0xly + .tabs__title_d0xly {
165
165
  margin-left: var(--primary-tablist-m-gaps);
166
- } .tabs__m_u0ax3 .tabs__pickerWrapper_u0ax3 {
166
+ } .tabs__m_d0xly .tabs__pickerWrapper_d0xly {
167
167
  margin-left: var(--primary-tablist-m-gaps);
168
- } .tabs__m_u0ax3 .tabs__option_u0ax3 {
168
+ } .tabs__m_d0xly .tabs__option_d0xly {
169
169
  padding: 0;
170
- } .tabs__l_u0ax3 .tabs__title_u0ax3 {
170
+ } .tabs__l_d0xly .tabs__title_d0xly {
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_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3 {
176
+ } .tabs__l_d0xly .tabs__title_d0xly + .tabs__title_d0xly {
177
177
  margin-left: var(--primary-tablist-l-gaps);
178
- } .tabs__l_u0ax3 .tabs__pickerWrapper_u0ax3 {
178
+ } .tabs__l_d0xly .tabs__pickerWrapper_d0xly {
179
179
  margin-left: var(--primary-tablist-l-gaps);
180
- } .tabs__l_u0ax3 .tabs__option_u0ax3 {
180
+ } .tabs__l_d0xly .tabs__option_d0xly {
181
181
  padding: 0;
182
- } .tabs__xl_u0ax3 .tabs__title_u0ax3 {
182
+ } .tabs__xl_d0xly .tabs__title_d0xly {
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_u0ax3 .tabs__title_u0ax3 + .tabs__title_u0ax3 {
188
+ } .tabs__xl_d0xly .tabs__title_d0xly + .tabs__title_d0xly {
189
189
  margin-left: var(--primary-tablist-xl-gaps);
190
- } .tabs__xl_u0ax3 .tabs__pickerWrapper_u0ax3 {
190
+ } .tabs__xl_d0xly .tabs__pickerWrapper_d0xly {
191
191
  margin-left: var(--primary-tablist-xl-gaps);
192
- } .tabs__xl_u0ax3 .tabs__option_u0ax3 {
192
+ } .tabs__xl_d0xly .tabs__option_d0xly {
193
193
  padding: 0;
194
- } .tabs__rightAddons_u0ax3 {
194
+ } .tabs__rightAddons_d0xly {
195
195
  display: flex;
196
196
  justify-content: center;
197
197
  align-items: center;