@alfalab/core-components-tabs 7.6.1 → 7.6.2

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 (84) hide show
  1. package/Component-ebda875c.d.ts +9 -139
  2. package/components/primary-tablist/Component.desktop.js +1 -1
  3. package/components/primary-tablist/Component.mobile.js +2 -2
  4. package/components/primary-tablist/Component.responsive.js +1 -1
  5. package/components/primary-tablist/index.css +29 -29
  6. package/components/primary-tablist/mobile.css +40 -32
  7. package/components/scrollable-container/Component.js +1 -1
  8. package/components/scrollable-container/index.css +5 -5
  9. package/components/secondary-tablist/Component.desktop.js +1 -1
  10. package/components/secondary-tablist/Component.mobile.js +2 -2
  11. package/components/secondary-tablist/Component.responsive.js +1 -1
  12. package/components/secondary-tablist/index.css +11 -11
  13. package/components/secondary-tablist/mobile.css +21 -13
  14. package/components/tab/Component.js +1 -1
  15. package/components/tab/index.css +3 -3
  16. package/components/tabs/Component.desktop.js +2 -2
  17. package/components/tabs/Component.mobile.js +2 -2
  18. package/components/tabs/Component.responsive.js +2 -2
  19. package/cssm/Component-ebda875c.d.ts +9 -139
  20. package/cssm/hook-3e68f8db.d.ts +15 -4
  21. package/desktop.js +2 -2
  22. package/esm/Component-ebda875c.d.ts +9 -139
  23. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  24. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  25. package/esm/components/primary-tablist/Component.responsive.js +1 -1
  26. package/esm/components/primary-tablist/index.css +29 -29
  27. package/esm/components/primary-tablist/mobile.css +40 -32
  28. package/esm/components/scrollable-container/Component.js +1 -1
  29. package/esm/components/scrollable-container/index.css +5 -5
  30. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  31. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  32. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  33. package/esm/components/secondary-tablist/index.css +11 -11
  34. package/esm/components/secondary-tablist/mobile.css +21 -13
  35. package/esm/components/tab/Component.js +1 -1
  36. package/esm/components/tab/index.css +3 -3
  37. package/esm/components/tabs/Component.desktop.js +2 -2
  38. package/esm/components/tabs/Component.mobile.js +2 -2
  39. package/esm/components/tabs/Component.responsive.js +2 -2
  40. package/esm/desktop.js +2 -2
  41. package/esm/hook-3e68f8db.d.ts +15 -4
  42. package/esm/index.js +2 -2
  43. package/esm/index.module-a01a44bb.js +4 -0
  44. package/esm/index.module-cb6197d8.js +4 -0
  45. package/esm/mobile.js +2 -2
  46. package/esm/responsive.js +2 -2
  47. package/hook-3e68f8db.d.ts +15 -4
  48. package/index.js +2 -2
  49. package/index.module-44b9585d.js +6 -0
  50. package/index.module-77258299.js +6 -0
  51. package/mobile.js +2 -2
  52. package/modern/Component-ebda875c.d.ts +9 -139
  53. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  54. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  55. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  56. package/modern/components/primary-tablist/index.css +29 -29
  57. package/modern/components/primary-tablist/mobile.css +40 -32
  58. package/modern/components/scrollable-container/Component.js +1 -1
  59. package/modern/components/scrollable-container/index.css +5 -5
  60. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  61. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  62. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  63. package/modern/components/secondary-tablist/index.css +11 -11
  64. package/modern/components/secondary-tablist/mobile.css +21 -13
  65. package/modern/components/tab/Component.js +1 -1
  66. package/modern/components/tab/index.css +3 -3
  67. package/modern/components/tabs/Component.desktop.js +2 -2
  68. package/modern/components/tabs/Component.mobile.js +2 -2
  69. package/modern/components/tabs/Component.responsive.js +2 -2
  70. package/modern/desktop.js +2 -2
  71. package/modern/hook-3e68f8db.d.ts +15 -4
  72. package/modern/index.js +2 -2
  73. package/modern/index.module-71e56d00.js +4 -0
  74. package/modern/index.module-cd918b29.js +4 -0
  75. package/modern/mobile.js +2 -2
  76. package/modern/responsive.js +2 -2
  77. package/package.json +2 -2
  78. package/responsive.js +2 -2
  79. package/esm/index.module-034dbb9c.js +0 -4
  80. package/esm/index.module-d708e46d.js +0 -4
  81. package/index.module-e58b3aeb.js +0 -6
  82. package/index.module-ff79a885.js +0 -6
  83. package/modern/index.module-b206f4c3.js +0 -4
  84. package/modern/index.module-e619079c.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1aasz */
1
+ /* hash: 9mt3v */
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_1kkyz {
93
+ }.tabs__component_no3qa {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_1kkyz:before {
97
+ }.tabs__component_no3qa: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_1kkyz {
105
+ }.tabs__fullWidthScroll_no3qa {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_1kkyz {
108
+ }.tabs__container_no3qa {
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_1kkyz {
115
+ }.tabs__title_no3qa {
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_1kkyz:not(.tabs__disabled_1kkyz):hover {
132
+ }.tabs__title_no3qa:not(.tabs__disabled_no3qa):hover {
133
133
  color: var(--primary-tablist-hover-color);
134
- }.tabs__focused_1kkyz {
134
+ }.tabs__focused_no3qa {
135
135
  outline: 2px solid var(--focus-color);
136
136
  outline-offset: 2px;
137
- }.tabs__collapsed_1kkyz {
137
+ }.tabs__collapsed_no3qa {
138
138
  order: 99;
139
139
  visibility: collapse;
140
- }.tabs__selected_1kkyz {
140
+ }.tabs__selected_no3qa {
141
141
  cursor: default;
142
142
  color: var(--primary-tablist-selected-color);
143
- }.tabs__disabled_1kkyz {
143
+ }.tabs__disabled_no3qa {
144
144
  cursor: var(--disabled-cursor);
145
145
  color: var(--primary-tablist-disabled-color);
146
- }.tabs__line_1kkyz {
146
+ }.tabs__line_no3qa {
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_1kkyz .tabs__title_1kkyz, .tabs__xs_1kkyz .tabs__title_1kkyz, .tabs__xxs_1kkyz .tabs__title_1kkyz {
153
+ }/* sizes */.tabs__s_no3qa .tabs__title_no3qa, .tabs__xs_no3qa .tabs__title_no3qa, .tabs__xxs_no3qa .tabs__title_no3qa {
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_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz, .tabs__xs_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz, .tabs__xxs_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz {
159
+ }.tabs__s_no3qa .tabs__title_no3qa + .tabs__title_no3qa, .tabs__xs_no3qa .tabs__title_no3qa + .tabs__title_no3qa, .tabs__xxs_no3qa .tabs__title_no3qa + .tabs__title_no3qa {
160
160
  margin-left: var(--primary-tablist-s-gaps);
161
- }.tabs__s_1kkyz .tabs__pickerWrapper_1kkyz, .tabs__xs_1kkyz .tabs__pickerWrapper_1kkyz, .tabs__xxs_1kkyz .tabs__pickerWrapper_1kkyz {
161
+ }.tabs__s_no3qa .tabs__pickerWrapper_no3qa, .tabs__xs_no3qa .tabs__pickerWrapper_no3qa, .tabs__xxs_no3qa .tabs__pickerWrapper_no3qa {
162
162
  margin-left: var(--primary-tablist-s-gaps);
163
- }.tabs__s_1kkyz .tabs__option_1kkyz, .tabs__xs_1kkyz .tabs__option_1kkyz, .tabs__xxs_1kkyz .tabs__option_1kkyz {
163
+ }.tabs__s_no3qa .tabs__option_no3qa, .tabs__xs_no3qa .tabs__option_no3qa, .tabs__xxs_no3qa .tabs__option_no3qa {
164
164
  padding: 0;
165
- }.tabs__m_1kkyz .tabs__title_1kkyz {
165
+ }.tabs__m_no3qa .tabs__title_no3qa {
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_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz {
171
+ }.tabs__m_no3qa .tabs__title_no3qa + .tabs__title_no3qa {
172
172
  margin-left: var(--primary-tablist-m-gaps);
173
- }.tabs__m_1kkyz .tabs__pickerWrapper_1kkyz {
173
+ }.tabs__m_no3qa .tabs__pickerWrapper_no3qa {
174
174
  margin-left: var(--primary-tablist-m-gaps);
175
- }.tabs__m_1kkyz .tabs__option_1kkyz {
175
+ }.tabs__m_no3qa .tabs__option_no3qa {
176
176
  padding: 0;
177
- }.tabs__l_1kkyz .tabs__title_1kkyz {
177
+ }.tabs__l_no3qa .tabs__title_no3qa {
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_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz {
183
+ }.tabs__l_no3qa .tabs__title_no3qa + .tabs__title_no3qa {
184
184
  margin-left: var(--primary-tablist-l-gaps);
185
- }.tabs__l_1kkyz .tabs__pickerWrapper_1kkyz {
185
+ }.tabs__l_no3qa .tabs__pickerWrapper_no3qa {
186
186
  margin-left: var(--primary-tablist-l-gaps);
187
- }.tabs__l_1kkyz .tabs__option_1kkyz {
187
+ }.tabs__l_no3qa .tabs__option_no3qa {
188
188
  padding: 0;
189
- }.tabs__xl_1kkyz .tabs__title_1kkyz {
189
+ }.tabs__xl_no3qa .tabs__title_no3qa {
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_1kkyz .tabs__title_1kkyz + .tabs__title_1kkyz {
195
+ }.tabs__xl_no3qa .tabs__title_no3qa + .tabs__title_no3qa {
196
196
  margin-left: var(--primary-tablist-xl-gaps);
197
- }.tabs__xl_1kkyz .tabs__pickerWrapper_1kkyz {
197
+ }.tabs__xl_no3qa .tabs__pickerWrapper_no3qa {
198
198
  margin-left: var(--primary-tablist-xl-gaps);
199
- }.tabs__xl_1kkyz .tabs__option_1kkyz {
199
+ }.tabs__xl_no3qa .tabs__option_no3qa {
200
200
  padding: 0;
201
- }.tabs__rightAddons_1kkyz {
201
+ }.tabs__rightAddons_no3qa {
202
202
  display: flex;
203
203
  justify-content: center;
204
204
  align-items: center;
@@ -516,6 +516,10 @@
516
516
  --color-dark-bg-secondary-inverted-tint-7: rgb(244, 245, 246);
517
517
  --color-dark-bg-secondary-inverted-tint-15: rgb(245, 246, 246);
518
518
  --color-dark-bg-tertiary-tint-7: rgb(59, 59, 61);
519
+ --color-dark-border-key-alpha-7: rgba(255, 255, 255, 0.07);
520
+ --color-dark-border-key-alpha-15: rgba(255, 255, 255, 0.15);
521
+ --color-dark-border-key-inverted-alpha-7: rgba(0, 0, 0, 0.07);
522
+ --color-dark-border-key-inverted-alpha-15: rgba(0, 0, 0, 0.15);
519
523
  --color-dark-border-underline-alpha-30: rgba(70, 70, 73, 0.3);
520
524
  --color-dark-border-underline-inverted-alpha-30: rgba(197, 197, 199, 0.3);
521
525
  --color-dark-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
@@ -668,6 +672,10 @@
668
672
  --color-light-bg-secondary-inverted-shade-7: rgb(30, 30, 32);
669
673
  --color-light-bg-secondary-inverted-shade-15: rgb(27, 27, 29);
670
674
  --color-light-bg-tertiary-shade-7: rgb(217, 217, 219);
675
+ --color-light-border-key-alpha-7: rgba(0, 0, 0, 0.07);
676
+ --color-light-border-key-alpha-15: rgba(0, 0, 0, 0.15);
677
+ --color-light-border-key-inverted-alpha-7: rgba(255, 255, 255, 0.07);
678
+ --color-light-border-key-inverted-alpha-15: rgba(255, 255, 255, 0.15);
671
679
  --color-light-border-underline-alpha-30: rgba(197, 197, 199, 0.3);
672
680
  --color-light-border-underline-inverted-alpha-30: rgba(70, 70, 73, 0.3);
673
681
  --color-light-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
@@ -1090,13 +1098,13 @@
1090
1098
 
1091
1099
  /* size xl */
1092
1100
  --secondary-tablist-xl-gaps: var(--gap-m);
1093
- } .tabs__title_vi93p {
1094
- } .tabs__mobile_vi93p .tabs__title_vi93p {
1101
+ } .tabs__title_1t2w8 {
1102
+ } .tabs__mobile_1t2w8 .tabs__title_1t2w8 {
1095
1103
  padding: var(--primary-tablist-mobile-padding);
1096
1104
  font-size: var(--primary-tablist-mobile-font-size);
1097
1105
  font-weight: var(--primary-tablist-mobile-font-weight);
1098
1106
  font-family: var(--primary-tablist-mobile-font-family);
1099
1107
  line-height: var(--primary-tablist-mobile-line-height)
1100
- } .tabs__mobile_vi93p .tabs__title_vi93p + .tabs__title_vi93p {
1108
+ } .tabs__mobile_1t2w8 .tabs__title_1t2w8 + .tabs__title_1t2w8 {
1101
1109
  margin-left: var(--primary-tablist-mobile-gaps);
1102
1110
  }
@@ -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_13s9r","fullWidthScroll":"tabs__fullWidthScroll_13s9r"};
5
+ const styles = {"container":"tabs__container_1bjzb","fullWidthScroll":"tabs__fullWidthScroll_1bjzb"};
6
6
  require('./index.css')
7
7
 
8
8
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1bdp8 */
1
+ /* hash: w1tz4 */
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_13s9r {
45
+ } .tabs__container_1bjzb {
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_13s9r::-webkit-scrollbar {
55
+ } .tabs__container_1bjzb::-webkit-scrollbar {
56
56
  display: none;
57
- } .tabs__container_13s9r > * {
57
+ } .tabs__container_1bjzb > * {
58
58
  flex-shrink: 0;
59
- } .tabs__fullWidthScroll_13s9r {
59
+ } .tabs__fullWidthScroll_1bjzb {
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-e619079c.js';
3
+ import { c as commonStyles } from '../../index.module-71e56d00.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-e619079c.js';
4
+ import { c as commonStyles } from '../../index.module-71e56d00.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_gb0y4 tabs__title_loebc","mobile":"tabs__mobile_gb0y4"};
10
+ const mobileStyles = {"title":"tabs__title_hucc5 tabs__title_1rcsr","mobile":"tabs__mobile_hucc5"};
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-e619079c.js';
11
+ import '../../index.module-71e56d00.js';
12
12
 
13
13
  const SecondaryTabListResponsive = ({ size, defaultMatch = 'desktop', fullWidthScroll, ...restProps }) => {
14
14
  const [view] = useMedia([
@@ -1,4 +1,4 @@
1
- /* hash: 1dg4q */
1
+ /* hash: cs4u7 */
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_loebc {
53
+ } .tabs__component_1rcsr {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_loebc {
56
+ } .tabs__fullWidthScroll_1rcsr {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_loebc {
58
+ } .tabs__container_1rcsr {
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_loebc {
64
+ } .tabs__title_1rcsr {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_loebc .tabs__title_loebc + .tabs__title_loebc {
66
+ } /* sizes */ .tabs__xxs_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_loebc .tabs__title_loebc + .tabs__title_loebc {
68
+ } .tabs__xs_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_loebc .tabs__title_loebc + .tabs__title_loebc {
70
+ } .tabs__s_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_loebc .tabs__title_loebc + .tabs__title_loebc {
72
+ } .tabs__m_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_loebc .tabs__title_loebc + .tabs__title_loebc {
74
+ } .tabs__l_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_loebc .tabs__title_loebc + .tabs__title_loebc {
76
+ } .tabs__xl_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: lzopu */
1
+ /* hash: l3965 */
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_loebc {
54
+ }.tabs__component_1rcsr {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_loebc {
57
+ }.tabs__fullWidthScroll_1rcsr {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_loebc {
59
+ }.tabs__container_1rcsr {
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_loebc {
65
+ }.tabs__title_1rcsr {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_loebc .tabs__title_loebc + .tabs__title_loebc {
67
+ }/* sizes */.tabs__xxs_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_loebc .tabs__title_loebc + .tabs__title_loebc {
69
+ }.tabs__xs_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_loebc .tabs__title_loebc + .tabs__title_loebc {
71
+ }.tabs__s_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_loebc .tabs__title_loebc + .tabs__title_loebc {
73
+ }.tabs__m_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_loebc .tabs__title_loebc + .tabs__title_loebc {
75
+ }.tabs__l_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_loebc .tabs__title_loebc + .tabs__title_loebc {
77
+ }.tabs__xl_1rcsr .tabs__title_1rcsr + .tabs__title_1rcsr {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35;
@@ -389,6 +389,10 @@
389
389
  --color-dark-bg-secondary-inverted-tint-7: rgb(244, 245, 246);
390
390
  --color-dark-bg-secondary-inverted-tint-15: rgb(245, 246, 246);
391
391
  --color-dark-bg-tertiary-tint-7: rgb(59, 59, 61);
392
+ --color-dark-border-key-alpha-7: rgba(255, 255, 255, 0.07);
393
+ --color-dark-border-key-alpha-15: rgba(255, 255, 255, 0.15);
394
+ --color-dark-border-key-inverted-alpha-7: rgba(0, 0, 0, 0.07);
395
+ --color-dark-border-key-inverted-alpha-15: rgba(0, 0, 0, 0.15);
392
396
  --color-dark-border-underline-alpha-30: rgba(70, 70, 73, 0.3);
393
397
  --color-dark-border-underline-inverted-alpha-30: rgba(197, 197, 199, 0.3);
394
398
  --color-dark-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
@@ -541,6 +545,10 @@
541
545
  --color-light-bg-secondary-inverted-shade-7: rgb(30, 30, 32);
542
546
  --color-light-bg-secondary-inverted-shade-15: rgb(27, 27, 29);
543
547
  --color-light-bg-tertiary-shade-7: rgb(217, 217, 219);
548
+ --color-light-border-key-alpha-7: rgba(0, 0, 0, 0.07);
549
+ --color-light-border-key-alpha-15: rgba(0, 0, 0, 0.15);
550
+ --color-light-border-key-inverted-alpha-7: rgba(255, 255, 255, 0.07);
551
+ --color-light-border-key-inverted-alpha-15: rgba(255, 255, 255, 0.15);
544
552
  --color-light-border-underline-alpha-30: rgba(197, 197, 199, 0.3);
545
553
  --color-light-border-underline-inverted-alpha-30: rgba(70, 70, 73, 0.3);
546
554
  --color-light-graphic-accent-alpha-30: rgba(239, 49, 36, 0.3);
@@ -963,7 +971,7 @@
963
971
 
964
972
  /* size xl */
965
973
  --secondary-tablist-xl-gaps: var(--gap-m);
966
- } .tabs__title_gb0y4 {
967
- } .tabs__mobile_gb0y4 .tabs__title_gb0y4 + .tabs__title_gb0y4 {
974
+ } .tabs__title_hucc5 {
975
+ } .tabs__mobile_hucc5 .tabs__title_hucc5 + .tabs__title_hucc5 {
968
976
  margin-left: var(--secondary-tablist-mobile-gaps);
969
977
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"tabs__component_tspkr","hidden":"tabs__hidden_tspkr"};
4
+ const styles = {"component":"tabs__component_1dqs4","hidden":"tabs__hidden_1dqs4"};
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: zchhc */
2
- .tabs__component_tspkr {
1
+ /* hash: 7gx3f */
2
+ .tabs__component_1dqs4 {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_tspkr {
6
+ .tabs__hidden_1dqs4 {
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-b206f4c3.js';
19
+ import '../../index.module-cd918b29.js';
20
20
  import '../secondary-tablist/Component.js';
21
21
  import '@alfalab/core-components-tag/modern';
22
- import '../../index.module-e619079c.js';
22
+ import '../../index.module-71e56d00.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-b206f4c3.js';
19
+ import '../../index.module-cd918b29.js';
20
20
  import '../secondary-tablist/Component.js';
21
21
  import '@alfalab/core-components-tag/modern';
22
- import '../../index.module-e619079c.js';
22
+ import '../../index.module-71e56d00.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-b206f4c3.js';
20
+ import '../../index.module-cd918b29.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-e619079c.js';
25
+ import '../../index.module-71e56d00.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-b206f4c3.js';
18
+ import './index.module-cd918b29.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-e619079c.js';
22
+ import './index.module-71e56d00.js';
23
23
  import './components/tabs/Component.js';
24
24
  import '@juggle/resize-observer';
@@ -29,17 +29,22 @@ type UseSelectWithApplyProps = {
29
29
  * Показывать пункт "Выбрать все"
30
30
  */
31
31
  showSelectAll?: boolean;
32
+ /**
33
+ * Показывать пункт "Выбрать все" в заголовке списка
34
+ */
35
+ showHeaderWithSelectAll?: boolean;
32
36
  };
33
37
  declare const SELECT_ALL_KEY = "select_all";
34
- declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, }: UseSelectWithApplyProps): {
38
+ declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, }: UseSelectWithApplyProps): {
35
39
  OptionsList: import("react").ForwardRefExoticComponent<import("./index-3e68f8db").OptionsListProps & {
36
40
  showClear?: boolean | undefined;
37
41
  onClose?: (() => void) | undefined;
38
42
  selectedDraft?: OptionShape[] | undefined;
39
- OptionsList?: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined; /**
40
- * Пропсы, которые будут прокинуты в компонент списка
41
- */
43
+ OptionsList?: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
42
44
  Footer?: import("react").FC<import("./Component-ebda875c").FooterProps> | undefined;
45
+ Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
46
+ headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
47
+ showHeaderWithSelectAll?: boolean | undefined;
43
48
  } & import("react").RefAttributes<HTMLDivElement>>;
44
49
  optionsListProps: {
45
50
  OptionsList: import("react").FC<import("./index-3e68f8db").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
@@ -48,6 +53,12 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
48
53
  onApply: () => void;
49
54
  onClose: () => void;
50
55
  selectedDraft: OptionShape[];
56
+ showHeaderWithSelectAll: boolean;
57
+ headerProps: {
58
+ indeterminate: boolean;
59
+ checked: boolean;
60
+ onChange: () => void;
61
+ };
51
62
  };
52
63
  allowUnselect: boolean;
53
64
  multiple: boolean;
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-b206f4c3.js';
20
+ import './index.module-cd918b29.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-e619079c.js';
26
+ import './index.module-71e56d00.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_1rcsr","fullWidthScroll":"tabs__fullWidthScroll_1rcsr","container":"tabs__container_1rcsr","title":"tabs__title_1rcsr","xxs":"tabs__xxs_1rcsr","xs":"tabs__xs_1rcsr","s":"tabs__s_1rcsr","m":"tabs__m_1rcsr","l":"tabs__l_1rcsr","xl":"tabs__xl_1rcsr"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"tabs__component_no3qa","fullWidthScroll":"tabs__fullWidthScroll_no3qa","container":"tabs__container_no3qa","title":"tabs__title_no3qa","disabled":"tabs__disabled_no3qa","focused":"tabs__focused_no3qa","collapsed":"tabs__collapsed_no3qa","selected":"tabs__selected_no3qa","line":"tabs__line_no3qa","s":"tabs__s_no3qa","xs":"tabs__xs_no3qa","xxs":"tabs__xxs_no3qa","pickerWrapper":"tabs__pickerWrapper_no3qa","option":"tabs__option_no3qa","m":"tabs__m_no3qa","l":"tabs__l_no3qa","xl":"tabs__xl_no3qa","rightAddons":"tabs__rightAddons_no3qa"};
2
+ require('./components/primary-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-b206f4c3.js';
19
+ import './index.module-cd918b29.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-e619079c.js';
23
+ import './index.module-71e56d00.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-b206f4c3.js';
19
+ import './index.module-cd918b29.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-e619079c.js';
25
+ import './index.module-71e56d00.js';
26
26
  import './components/secondary-tablist/Component.mobile.js';
27
27
  import './components/tabs/Component.js';
28
28
  import '@juggle/resize-observer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-tabs",
3
- "version": "7.6.1",
3
+ "version": "7.6.2",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@alfalab/core-components-keyboard-focusable": "^4.0.6",
21
21
  "@alfalab/core-components-tag": "^5.3.2",
22
- "@alfalab/core-components-picker-button": "^10.3.24",
22
+ "@alfalab/core-components-picker-button": "^10.3.25",
23
23
  "@alfalab/core-components-badge": "^5.1.0",
24
24
  "classnames": "^2.3.1",
25
25
  "compute-scroll-into-view": "^1.0.20",
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-e58b3aeb.js');
24
+ require('./index.module-77258299.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-ff79a885.js');
30
+ require('./index.module-44b9585d.js');
31
31
  require('./components/secondary-tablist/Component.mobile.js');
32
32
  require('./components/tabs/Component.js');
33
33
  require('@juggle/resize-observer');
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_loebc","fullWidthScroll":"tabs__fullWidthScroll_loebc","container":"tabs__container_loebc","title":"tabs__title_loebc","xxs":"tabs__xxs_loebc","xs":"tabs__xs_loebc","s":"tabs__s_loebc","m":"tabs__m_loebc","l":"tabs__l_loebc","xl":"tabs__xl_loebc"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_1kkyz","fullWidthScroll":"tabs__fullWidthScroll_1kkyz","container":"tabs__container_1kkyz","title":"tabs__title_1kkyz","disabled":"tabs__disabled_1kkyz","focused":"tabs__focused_1kkyz","collapsed":"tabs__collapsed_1kkyz","selected":"tabs__selected_1kkyz","line":"tabs__line_1kkyz","s":"tabs__s_1kkyz","xs":"tabs__xs_1kkyz","xxs":"tabs__xxs_1kkyz","pickerWrapper":"tabs__pickerWrapper_1kkyz","option":"tabs__option_1kkyz","m":"tabs__m_1kkyz","l":"tabs__l_1kkyz","xl":"tabs__xl_1kkyz","rightAddons":"tabs__rightAddons_1kkyz"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_1kkyz","fullWidthScroll":"tabs__fullWidthScroll_1kkyz","container":"tabs__container_1kkyz","title":"tabs__title_1kkyz","disabled":"tabs__disabled_1kkyz","focused":"tabs__focused_1kkyz","collapsed":"tabs__collapsed_1kkyz","selected":"tabs__selected_1kkyz","line":"tabs__line_1kkyz","s":"tabs__s_1kkyz","xs":"tabs__xs_1kkyz","xxs":"tabs__xxs_1kkyz","pickerWrapper":"tabs__pickerWrapper_1kkyz","option":"tabs__option_1kkyz","m":"tabs__m_1kkyz","l":"tabs__l_1kkyz","xl":"tabs__xl_1kkyz","rightAddons":"tabs__rightAddons_1kkyz"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;