@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: 3uchs */
1
+ /* hash: 37op8 */
2
2
  :root {
3
3
  }/* deprecated */:root {
4
4
  --color-light-border-accent: #ef3124;
@@ -90,11 +90,11 @@
90
90
  /* size l */
91
91
 
92
92
  /* size xl */
93
- }.tabs__component_1js6z {
93
+ }.tabs__component_1cyqm {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_1js6z:before {
97
+ }.tabs__component_1cyqm:before {
98
98
  content: '';
99
99
  display: block;
100
100
  position: absolute;
@@ -102,17 +102,17 @@
102
102
  height: 1px;
103
103
  width: 100%;
104
104
  background-color: var(--primary-tablist-bottom-border-color);
105
- }.tabs__fullWidthScroll_1js6z {
105
+ }.tabs__fullWidthScroll_1cyqm {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_1js6z {
108
+ }.tabs__container_1cyqm {
109
109
  position: relative;
110
110
  overflow: hidden;
111
111
 
112
112
  /* focus-outline fix */
113
113
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
114
114
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
115
- }.tabs__title_1js6z {
115
+ }.tabs__title_1cyqm {
116
116
  display: flex;
117
117
  align-items: center;
118
118
  height: 100%;
@@ -129,76 +129,76 @@
129
129
  user-select: none;
130
130
  cursor: pointer;
131
131
  outline: none
132
- }.tabs__title_1js6z:not(.tabs__disabled_1js6z):hover {
132
+ }.tabs__title_1cyqm:not(.tabs__disabled_1cyqm):hover {
133
133
  color: var(--primary-tablist-hover-color);
134
- }.tabs__focused_1js6z {
134
+ }.tabs__focused_1cyqm {
135
135
  outline: 2px solid var(--focus-color);
136
136
  outline-offset: 2px;
137
- }.tabs__collapsed_1js6z {
137
+ }.tabs__collapsed_1cyqm {
138
138
  order: 99;
139
139
  visibility: collapse;
140
- }.tabs__selected_1js6z {
140
+ }.tabs__selected_1cyqm {
141
141
  cursor: default;
142
142
  color: var(--primary-tablist-selected-color);
143
- }.tabs__disabled_1js6z {
143
+ }.tabs__disabled_1cyqm {
144
144
  cursor: var(--disabled-cursor);
145
145
  color: var(--primary-tablist-disabled-color);
146
- }.tabs__line_1js6z {
146
+ }.tabs__line_1cyqm {
147
147
  position: absolute;
148
148
  height: 3px;
149
149
  bottom: 0;
150
150
  left: 0;
151
151
  background-color: var(--primary-tablist-line-color);
152
152
  transition: transform 0.2s ease, width 0.2s ease;
153
- }/* sizes */.tabs__s_1js6z .tabs__title_1js6z, .tabs__xs_1js6z .tabs__title_1js6z, .tabs__xxs_1js6z .tabs__title_1js6z {
153
+ }/* sizes */.tabs__s_1cyqm .tabs__title_1cyqm, .tabs__xs_1cyqm .tabs__title_1cyqm, .tabs__xxs_1cyqm .tabs__title_1cyqm {
154
154
  padding: var(--primary-tablist-s-padding);
155
155
  font-size: var(--primary-tablist-s-font-size);
156
156
  font-weight: var(--primary-tablist-s-font-weight);
157
157
  font-family: var(--primary-tablist-s-font-family);
158
158
  line-height: 24px;
159
- }.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 {
159
+ }.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 {
160
160
  margin-left: var(--primary-tablist-s-gaps);
161
- }.tabs__s_1js6z .tabs__pickerWrapper_1js6z, .tabs__xs_1js6z .tabs__pickerWrapper_1js6z, .tabs__xxs_1js6z .tabs__pickerWrapper_1js6z {
161
+ }.tabs__s_1cyqm .tabs__pickerWrapper_1cyqm, .tabs__xs_1cyqm .tabs__pickerWrapper_1cyqm, .tabs__xxs_1cyqm .tabs__pickerWrapper_1cyqm {
162
162
  margin-left: var(--primary-tablist-s-gaps);
163
- }.tabs__s_1js6z .tabs__option_1js6z, .tabs__xs_1js6z .tabs__option_1js6z, .tabs__xxs_1js6z .tabs__option_1js6z {
163
+ }.tabs__s_1cyqm .tabs__option_1cyqm, .tabs__xs_1cyqm .tabs__option_1cyqm, .tabs__xxs_1cyqm .tabs__option_1cyqm {
164
164
  padding: 0;
165
- }.tabs__m_1js6z .tabs__title_1js6z {
165
+ }.tabs__m_1cyqm .tabs__title_1cyqm {
166
166
  padding: var(--primary-tablist-m-padding);
167
167
  font-size: var(--primary-tablist-m-font-size);
168
168
  font-weight: var(--primary-tablist-m-font-weight);
169
169
  font-family: var(--primary-tablist-m-font-family);
170
170
  line-height: 24px;
171
- }.tabs__m_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
171
+ }.tabs__m_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
172
172
  margin-left: var(--primary-tablist-m-gaps);
173
- }.tabs__m_1js6z .tabs__pickerWrapper_1js6z {
173
+ }.tabs__m_1cyqm .tabs__pickerWrapper_1cyqm {
174
174
  margin-left: var(--primary-tablist-m-gaps);
175
- }.tabs__m_1js6z .tabs__option_1js6z {
175
+ }.tabs__m_1cyqm .tabs__option_1cyqm {
176
176
  padding: 0;
177
- }.tabs__l_1js6z .tabs__title_1js6z {
177
+ }.tabs__l_1cyqm .tabs__title_1cyqm {
178
178
  padding: var(--primary-tablist-l-padding);
179
179
  font-size: var(--primary-tablist-l-font-size);
180
180
  font-weight: var(--primary-tablist-l-font-weight);
181
181
  font-family: var(--primary-tablist-l-font-family);
182
182
  line-height: 24px;
183
- }.tabs__l_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
183
+ }.tabs__l_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
184
184
  margin-left: var(--primary-tablist-l-gaps);
185
- }.tabs__l_1js6z .tabs__pickerWrapper_1js6z {
185
+ }.tabs__l_1cyqm .tabs__pickerWrapper_1cyqm {
186
186
  margin-left: var(--primary-tablist-l-gaps);
187
- }.tabs__l_1js6z .tabs__option_1js6z {
187
+ }.tabs__l_1cyqm .tabs__option_1cyqm {
188
188
  padding: 0;
189
- }.tabs__xl_1js6z .tabs__title_1js6z {
189
+ }.tabs__xl_1cyqm .tabs__title_1cyqm {
190
190
  padding: var(--primary-tablist-xl-padding);
191
191
  font-size: var(--primary-tablist-xl-font-size);
192
192
  font-weight: var(--primary-tablist-xl-font-weight);
193
193
  font-family: var(--primary-tablist-xl-font-family);
194
194
  line-height: 32px;
195
- }.tabs__xl_1js6z .tabs__title_1js6z + .tabs__title_1js6z {
195
+ }.tabs__xl_1cyqm .tabs__title_1cyqm + .tabs__title_1cyqm {
196
196
  margin-left: var(--primary-tablist-xl-gaps);
197
- }.tabs__xl_1js6z .tabs__pickerWrapper_1js6z {
197
+ }.tabs__xl_1cyqm .tabs__pickerWrapper_1cyqm {
198
198
  margin-left: var(--primary-tablist-xl-gaps);
199
- }.tabs__xl_1js6z .tabs__option_1js6z {
199
+ }.tabs__xl_1cyqm .tabs__option_1cyqm {
200
200
  padding: 0;
201
- }.tabs__rightAddons_1js6z {
201
+ }.tabs__rightAddons_1cyqm {
202
202
  display: flex;
203
203
  justify-content: center;
204
204
  align-items: center;
@@ -473,6 +473,7 @@
473
473
  --color-dark-bg-primary-alpha-15: rgba(18, 18, 18, 0.15);
474
474
  --color-dark-bg-primary-alpha-16: rgba(18, 18, 18, 0.16);
475
475
  --color-dark-bg-primary-alpha-20: rgba(18, 18, 18, 0.2);
476
+ --color-dark-bg-primary-alpha-30: rgba(18, 18, 18, 0.3);
476
477
  --color-dark-bg-primary-alpha-32: rgba(18, 18, 18, 0.32);
477
478
  --color-dark-bg-primary-alpha-37: rgba(18, 18, 18, 0.37);
478
479
  --color-dark-bg-primary-alpha-40: rgba(18, 18, 18, 0.4);
@@ -624,6 +625,7 @@
624
625
  --color-light-bg-primary-alpha-15: rgba(255, 255, 255, 0.15);
625
626
  --color-light-bg-primary-alpha-16: rgba(255, 255, 255, 0.16);
626
627
  --color-light-bg-primary-alpha-20: rgba(255, 255, 255, 0.2);
628
+ --color-light-bg-primary-alpha-30: rgba(255, 255, 255, 0.3);
627
629
  --color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
628
630
  --color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
629
631
  --color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
@@ -1088,13 +1090,13 @@
1088
1090
 
1089
1091
  /* size xl */
1090
1092
  --secondary-tablist-xl-gaps: var(--gap-m);
1091
- } .tabs__title_1dhj3 {
1092
- } .tabs__mobile_1dhj3 .tabs__title_1dhj3 {
1093
+ } .tabs__title_134hg {
1094
+ } .tabs__mobile_134hg .tabs__title_134hg {
1093
1095
  padding: var(--primary-tablist-mobile-padding);
1094
1096
  font-size: var(--primary-tablist-mobile-font-size);
1095
1097
  font-weight: var(--primary-tablist-mobile-font-weight);
1096
1098
  font-family: var(--primary-tablist-mobile-font-family);
1097
1099
  line-height: var(--primary-tablist-mobile-line-height)
1098
- } .tabs__mobile_1dhj3 .tabs__title_1dhj3 + .tabs__title_1dhj3 {
1100
+ } .tabs__mobile_134hg .tabs__title_134hg + .tabs__title_134hg {
1099
1101
  margin-left: var(--primary-tablist-mobile-gaps);
1100
1102
  }
@@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
2
2
  import cn from 'classnames';
3
3
  import computeScrollIntoView from 'compute-scroll-into-view';
4
4
 
5
- const styles = {"container":"tabs__container_101i3","fullWidthScroll":"tabs__fullWidthScroll_101i3"};
5
+ const styles = {"container":"tabs__container_1bei4","fullWidthScroll":"tabs__fullWidthScroll_1bei4"};
6
6
  require('./index.css')
7
7
 
8
8
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 6bs6x */
1
+ /* hash: hc2ou */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -42,7 +42,7 @@
42
42
  /* size l */
43
43
 
44
44
  /* size xl */
45
- } .tabs__container_101i3 {
45
+ } .tabs__container_1bei4 {
46
46
  position: relative;
47
47
  overflow-x: auto;
48
48
  overflow-y: hidden;
@@ -52,10 +52,10 @@
52
52
  /* focus-outline fix */
53
53
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
54
54
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
55
- } .tabs__container_101i3::-webkit-scrollbar {
55
+ } .tabs__container_1bei4::-webkit-scrollbar {
56
56
  display: none;
57
- } .tabs__container_101i3 > * {
57
+ } .tabs__container_1bei4 > * {
58
58
  flex-shrink: 0;
59
- } .tabs__fullWidthScroll_101i3 {
59
+ } .tabs__fullWidthScroll_1bei4 {
60
60
  margin: 0 var(--gap-m-neg);
61
61
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SecondaryTabList } from './Component.js';
3
- import { c as commonStyles } from '../../index.module-07bd96a9.js';
3
+ import { c as commonStyles } from '../../index.module-22d4e7eb.js';
4
4
  import 'classnames';
5
5
  import '@alfalab/core-components-tag/modern';
6
6
  import '../../hooks/use-tabs.js';
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { SecondaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-07bd96a9.js';
4
+ import { c as commonStyles } from '../../index.module-22d4e7eb.js';
5
5
  import '@alfalab/core-components-tag/modern';
6
6
  import '../../hooks/use-tabs.js';
7
7
  import '../scrollable-container/Component.js';
8
8
  import 'compute-scroll-into-view';
9
9
 
10
- const mobileStyles = {"title":"tabs__title_1d52w tabs__title_of7lb","mobile":"tabs__mobile_1d52w"};
10
+ const mobileStyles = {"title":"tabs__title_nx9ay tabs__title_e25yi","mobile":"tabs__mobile_nx9ay"};
11
11
  require('./mobile.css')
12
12
 
13
13
  const styles = {
@@ -8,7 +8,7 @@ import '@alfalab/core-components-tag/modern';
8
8
  import '../../hooks/use-tabs.js';
9
9
  import '../scrollable-container/Component.js';
10
10
  import 'compute-scroll-into-view';
11
- import '../../index.module-07bd96a9.js';
11
+ import '../../index.module-22d4e7eb.js';
12
12
 
13
13
  const SecondaryTabListResponsive = ({ size, defaultMatch = 'desktop', fullWidthScroll, ...restProps }) => {
14
14
  const [view] = useMedia([
@@ -1,4 +1,4 @@
1
- /* hash: 4l9rm */
1
+ /* hash: 3ylz2 */
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 */
@@ -50,29 +50,29 @@
50
50
 
51
51
  /* size xl */
52
52
  --secondary-tablist-xl-gaps: var(--gap-m);
53
- } .tabs__component_of7lb {
53
+ } .tabs__component_e25yi {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_of7lb {
56
+ } .tabs__fullWidthScroll_e25yi {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_of7lb {
58
+ } .tabs__container_e25yi {
59
59
  overflow: hidden;
60
60
 
61
61
  /* focus-outline fix */
62
62
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
63
63
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
64
- } .tabs__title_of7lb {
64
+ } .tabs__title_e25yi {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
66
+ } /* sizes */ .tabs__xxs_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
68
+ } .tabs__xs_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
70
+ } .tabs__s_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
72
+ } .tabs__m_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
74
+ } .tabs__l_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_of7lb .tabs__title_of7lb + .tabs__title_of7lb {
76
+ } .tabs__xl_e25yi .tabs__title_e25yi + .tabs__title_e25yi {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -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
- const styles = {"component":"tabs__component_fd0v5","hidden":"tabs__hidden_fd0v5"};
4
+ const styles = {"component":"tabs__component_m6h7x","hidden":"tabs__hidden_m6h7x"};
5
5
  require('./index.css')
6
6
 
7
7
  const Tab = ({ children, hidden, className, disabled, dataTestId }) => children ? (React.createElement("div", { className: cn(styles.component, {
@@ -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
  }
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
16
16
  import '../scrollable-container/Component.js';
17
17
  import 'compute-scroll-into-view';
18
18
  import '../title/Component.js';
19
- import '../../index.module-878a9975.js';
19
+ import '../../index.module-00e43dd6.js';
20
20
  import '../secondary-tablist/Component.js';
21
21
  import '@alfalab/core-components-tag/modern';
22
- import '../../index.module-07bd96a9.js';
22
+ import '../../index.module-22d4e7eb.js';
23
23
 
24
24
  const views = {
25
25
  primary: PrimaryTabListDesktop,
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
16
16
  import '../scrollable-container/Component.js';
17
17
  import 'compute-scroll-into-view';
18
18
  import '../title/Component.js';
19
- import '../../index.module-878a9975.js';
19
+ import '../../index.module-00e43dd6.js';
20
20
  import '../secondary-tablist/Component.js';
21
21
  import '@alfalab/core-components-tag/modern';
22
- import '../../index.module-07bd96a9.js';
22
+ import '../../index.module-22d4e7eb.js';
23
23
 
24
24
  const views = {
25
25
  primary: PrimaryTabListMobile,
@@ -17,12 +17,12 @@ 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-878a9975.js';
20
+ import '../../index.module-00e43dd6.js';
21
21
  import '../primary-tablist/Component.mobile.js';
22
22
  import '../secondary-tablist/Component.desktop.js';
23
23
  import '../secondary-tablist/Component.js';
24
24
  import '@alfalab/core-components-tag/modern';
25
- import '../../index.module-07bd96a9.js';
25
+ import '../../index.module-22d4e7eb.js';
26
26
  import '../secondary-tablist/Component.mobile.js';
27
27
 
28
28
  const views = {
package/modern/desktop.js CHANGED
@@ -15,10 +15,10 @@ import './hooks/use-tablist-titles.js';
15
15
  import '@alfalab/hooks';
16
16
  import './synthetic-events.js';
17
17
  import './components/title/Component.js';
18
- import './index.module-878a9975.js';
18
+ import './index.module-00e43dd6.js';
19
19
  import 'compute-scroll-into-view';
20
20
  import './components/secondary-tablist/Component.js';
21
21
  import '@alfalab/core-components-tag/modern';
22
- import './index.module-07bd96a9.js';
22
+ import './index.module-22d4e7eb.js';
23
23
  import './components/tabs/Component.js';
24
24
  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/modern/index.js CHANGED
@@ -17,12 +17,12 @@ 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-878a9975.js';
20
+ import './index.module-00e43dd6.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/modern';
26
- import './index.module-07bd96a9.js';
26
+ import './index.module-22d4e7eb.js';
27
27
  import './components/secondary-tablist/Component.mobile.js';
28
28
  import './components/tabs/Component.js';
@@ -0,0 +1,4 @@
1
+ const 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 };
@@ -0,0 +1,4 @@
1
+ const 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 };
package/modern/mobile.js CHANGED
@@ -16,9 +16,9 @@ import './hooks/use-collapsible-elements.js';
16
16
  import '@juggle/resize-observer';
17
17
  import './synthetic-events.js';
18
18
  import './components/title/Component.js';
19
- import './index.module-878a9975.js';
19
+ import './index.module-00e43dd6.js';
20
20
  import 'compute-scroll-into-view';
21
21
  import './components/secondary-tablist/Component.js';
22
22
  import '@alfalab/core-components-tag/modern';
23
- import './index.module-07bd96a9.js';
23
+ import './index.module-22d4e7eb.js';
24
24
  import './components/tabs/Component.js';
@@ -16,13 +16,13 @@ import '@alfalab/core-components-picker-button/modern/desktop';
16
16
  import './hooks/use-tablist-titles.js';
17
17
  import './synthetic-events.js';
18
18
  import './components/title/Component.js';
19
- import './index.module-878a9975.js';
19
+ import './index.module-00e43dd6.js';
20
20
  import './components/primary-tablist/Component.mobile.js';
21
21
  import 'compute-scroll-into-view';
22
22
  import './components/secondary-tablist/Component.desktop.js';
23
23
  import './components/secondary-tablist/Component.js';
24
24
  import '@alfalab/core-components-tag/modern';
25
- import './index.module-07bd96a9.js';
25
+ import './index.module-22d4e7eb.js';
26
26
  import './components/secondary-tablist/Component.mobile.js';
27
27
  import './components/tabs/Component.js';
28
28
  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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-tabs",
3
- "version": "7.3.16",
3
+ "version": "7.3.18",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@alfalab/core-components-keyboard-focusable": "^4.0.5",
21
- "@alfalab/core-components-tag": "^5.3.0",
22
- "@alfalab/core-components-picker-button": "^10.3.16",
23
- "@alfalab/core-components-badge": "^5.0.2",
21
+ "@alfalab/core-components-tag": "^5.3.1",
22
+ "@alfalab/core-components-picker-button": "^10.3.18",
23
+ "@alfalab/core-components-badge": "^5.1.0",
24
24
  "classnames": "^2.3.1",
25
25
  "compute-scroll-into-view": "^1.0.20",
26
26
  "lodash.debounce": "^4.0.8",
package/responsive.js CHANGED
@@ -21,13 +21,13 @@ require('@alfalab/core-components-picker-button/desktop');
21
21
  require('./hooks/use-tablist-titles.js');
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('./components/primary-tablist/Component.mobile.js');
26
26
  require('compute-scroll-into-view');
27
27
  require('./components/secondary-tablist/Component.desktop.js');
28
28
  require('./components/secondary-tablist/Component.js');
29
29
  require('@alfalab/core-components-tag');
30
- require('./index.module-530fdcfb.js');
30
+ require('./index.module-a807a8ff.js');
31
31
  require('./components/secondary-tablist/Component.mobile.js');
32
32
  require('./components/tabs/Component.js');
33
33
  require('@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 };