@alfalab/core-components-tabs 8.4.0 → 8.4.1

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 (88) hide show
  1. package/collapsible/index.js +1 -1
  2. package/components/primary-tablist/Component.collapsible.js +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 +30 -30
  7. package/components/primary-tablist/mobile.css +33 -33
  8. package/components/scroll-controls/Component.js +1 -1
  9. package/components/scroll-controls/index.css +14 -14
  10. package/components/scrollable-container/Component.js +1 -1
  11. package/components/scrollable-container/index.css +6 -6
  12. package/components/secondary-tablist/Component.desktop.js +1 -1
  13. package/components/secondary-tablist/Component.mobile.js +2 -2
  14. package/components/secondary-tablist/Component.responsive.js +1 -1
  15. package/components/secondary-tablist/index.css +11 -11
  16. package/components/secondary-tablist/mobile.css +13 -13
  17. package/components/tab/Component.js +1 -1
  18. package/components/tab/index.css +3 -3
  19. package/components/tabs/Component.collapsible.js +1 -1
  20. package/components/tabs/Component.desktop.js +2 -2
  21. package/components/tabs/Component.mobile.js +2 -2
  22. package/components/tabs/Component.responsive.js +2 -2
  23. package/desktop/index.js +2 -2
  24. package/esm/collapsible/index.js +1 -1
  25. package/esm/components/primary-tablist/Component.collapsible.js +1 -1
  26. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  27. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  28. package/esm/components/primary-tablist/Component.responsive.js +1 -1
  29. package/esm/components/primary-tablist/index.css +30 -30
  30. package/esm/components/primary-tablist/mobile.css +33 -33
  31. package/esm/components/scroll-controls/Component.js +1 -1
  32. package/esm/components/scroll-controls/index.css +14 -14
  33. package/esm/components/scrollable-container/Component.js +1 -1
  34. package/esm/components/scrollable-container/index.css +6 -6
  35. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  36. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  37. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  38. package/esm/components/secondary-tablist/index.css +11 -11
  39. package/esm/components/secondary-tablist/mobile.css +13 -13
  40. package/esm/components/tab/Component.js +1 -1
  41. package/esm/components/tab/index.css +3 -3
  42. package/esm/components/tabs/Component.collapsible.js +1 -1
  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/index.js +2 -2
  47. package/esm/index.js +2 -2
  48. package/esm/index.module-7b8a0cb9.js +4 -0
  49. package/esm/index.module-dbd0d61f.js +4 -0
  50. package/esm/mobile/index.js +2 -2
  51. package/index.js +2 -2
  52. package/index.module-4d9a1064.js +6 -0
  53. package/index.module-7229be12.js +6 -0
  54. package/mobile/index.js +2 -2
  55. package/modern/collapsible/index.js +1 -1
  56. package/modern/components/primary-tablist/Component.collapsible.js +1 -1
  57. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  58. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  59. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  60. package/modern/components/primary-tablist/index.css +30 -30
  61. package/modern/components/primary-tablist/mobile.css +33 -33
  62. package/modern/components/scroll-controls/Component.js +1 -1
  63. package/modern/components/scroll-controls/index.css +14 -14
  64. package/modern/components/scrollable-container/Component.js +1 -1
  65. package/modern/components/scrollable-container/index.css +6 -6
  66. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  67. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  68. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  69. package/modern/components/secondary-tablist/index.css +11 -11
  70. package/modern/components/secondary-tablist/mobile.css +13 -13
  71. package/modern/components/tab/Component.js +1 -1
  72. package/modern/components/tab/index.css +3 -3
  73. package/modern/components/tabs/Component.collapsible.js +1 -1
  74. package/modern/components/tabs/Component.desktop.js +2 -2
  75. package/modern/components/tabs/Component.mobile.js +2 -2
  76. package/modern/components/tabs/Component.responsive.js +2 -2
  77. package/modern/desktop/index.js +2 -2
  78. package/modern/index.js +2 -2
  79. package/modern/index.module-377caacf.js +4 -0
  80. package/modern/index.module-e6e7da51.js +4 -0
  81. package/modern/mobile/index.js +2 -2
  82. package/package.json +2 -2
  83. package/esm/index.module-0a75418b.js +0 -4
  84. package/esm/index.module-8df2f26a.js +0 -4
  85. package/index.module-031086a6.js +0 -6
  86. package/index.module-f7bbfca9.js +0 -6
  87. package/modern/index.module-8f42452f.js +0 -4
  88. package/modern/index.module-d13de803.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: 4uacb */
1
+ /* hash: 5zfi7 */
2
2
  :root {
3
3
  }/* deprecated */:root {
4
4
  --color-light-accent-primary: #ef3124;
@@ -90,11 +90,11 @@
90
90
  /* size l */
91
91
 
92
92
  /* size xl */
93
- }.tabs__component_1klrp {
93
+ }.tabs__component_nkcwu {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_1klrp:before {
97
+ }.tabs__component_nkcwu: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_1klrp {
105
+ }.tabs__fullWidthScroll_nkcwu {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_1klrp {
108
+ }.tabs__container_nkcwu {
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_1klrp {
115
+ }.tabs__title_nkcwu {
116
116
  display: flex;
117
117
  align-items: center;
118
118
  height: 100%;
@@ -128,78 +128,78 @@
128
128
  -webkit-user-select: none;
129
129
  user-select: none;
130
130
  outline: none
131
- }.tabs__title_1klrp:not(.tabs__disabled_1klrp):hover {
131
+ }.tabs__title_nkcwu:not(.tabs__disabled_nkcwu):hover {
132
132
  color: var(--primary-tablist-hover-color);
133
- }.tabs__focused_1klrp {
133
+ }.tabs__focused_nkcwu {
134
134
  outline: 2px solid var(--focus-color);
135
135
  outline-offset: 2px;
136
- }.tabs__collapsed_1klrp {
136
+ }.tabs__collapsed_nkcwu {
137
137
  order: 99;
138
138
  visibility: collapse;
139
- }.tabs__selected_1klrp {
139
+ }.tabs__selected_nkcwu {
140
140
  cursor: default;
141
141
  color: var(--primary-tablist-selected-color);
142
- }.tabs__disabled_1klrp {
142
+ }.tabs__disabled_nkcwu {
143
143
  cursor: var(--disabled-cursor);
144
144
  color: var(--primary-tablist-disabled-color);
145
- }.tabs__line_1klrp {
145
+ }.tabs__line_nkcwu {
146
146
  position: absolute;
147
147
  height: 3px;
148
148
  bottom: 0;
149
149
  left: 0;
150
150
  background-color: var(--primary-tablist-line-color);
151
151
  transition: transform 0.2s ease, width 0.2s ease;
152
- }.tabs__option_1klrp {
152
+ }.tabs__option_nkcwu {
153
153
  color: var(--color-light-text-primary);
154
- }/* sizes */.tabs__s_1klrp .tabs__title_1klrp, .tabs__xs_1klrp .tabs__title_1klrp, .tabs__xxs_1klrp .tabs__title_1klrp {
154
+ }/* sizes */.tabs__s_nkcwu .tabs__title_nkcwu, .tabs__xs_nkcwu .tabs__title_nkcwu, .tabs__xxs_nkcwu .tabs__title_nkcwu {
155
155
  padding: var(--primary-tablist-s-padding);
156
156
  font-size: var(--primary-tablist-s-font-size);
157
157
  font-weight: var(--primary-tablist-s-font-weight);
158
158
  font-family: var(--primary-tablist-s-font-family);
159
159
  line-height: 24px;
160
- }.tabs__s_1klrp .tabs__title_1klrp + .tabs__title_1klrp, .tabs__xs_1klrp .tabs__title_1klrp + .tabs__title_1klrp, .tabs__xxs_1klrp .tabs__title_1klrp + .tabs__title_1klrp {
160
+ }.tabs__s_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu, .tabs__xs_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu, .tabs__xxs_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu {
161
161
  margin-left: var(--primary-tablist-s-gaps);
162
- }.tabs__s_1klrp .tabs__pickerWrapper_1klrp, .tabs__xs_1klrp .tabs__pickerWrapper_1klrp, .tabs__xxs_1klrp .tabs__pickerWrapper_1klrp {
162
+ }.tabs__s_nkcwu .tabs__pickerWrapper_nkcwu, .tabs__xs_nkcwu .tabs__pickerWrapper_nkcwu, .tabs__xxs_nkcwu .tabs__pickerWrapper_nkcwu {
163
163
  margin-left: var(--primary-tablist-s-gaps);
164
- }.tabs__s_1klrp .tabs__option_1klrp, .tabs__xs_1klrp .tabs__option_1klrp, .tabs__xxs_1klrp .tabs__option_1klrp {
164
+ }.tabs__s_nkcwu .tabs__option_nkcwu, .tabs__xs_nkcwu .tabs__option_nkcwu, .tabs__xxs_nkcwu .tabs__option_nkcwu {
165
165
  padding: 0;
166
- }.tabs__m_1klrp .tabs__title_1klrp {
166
+ }.tabs__m_nkcwu .tabs__title_nkcwu {
167
167
  padding: var(--primary-tablist-m-padding);
168
168
  font-size: var(--primary-tablist-m-font-size);
169
169
  font-weight: var(--primary-tablist-m-font-weight);
170
170
  font-family: var(--primary-tablist-m-font-family);
171
171
  line-height: 24px;
172
- }.tabs__m_1klrp .tabs__title_1klrp + .tabs__title_1klrp {
172
+ }.tabs__m_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu {
173
173
  margin-left: var(--primary-tablist-m-gaps);
174
- }.tabs__m_1klrp .tabs__pickerWrapper_1klrp {
174
+ }.tabs__m_nkcwu .tabs__pickerWrapper_nkcwu {
175
175
  margin-left: var(--primary-tablist-m-gaps);
176
- }.tabs__m_1klrp .tabs__option_1klrp {
176
+ }.tabs__m_nkcwu .tabs__option_nkcwu {
177
177
  padding: 0;
178
- }.tabs__l_1klrp .tabs__title_1klrp {
178
+ }.tabs__l_nkcwu .tabs__title_nkcwu {
179
179
  padding: var(--primary-tablist-l-padding);
180
180
  font-size: var(--primary-tablist-l-font-size);
181
181
  font-weight: var(--primary-tablist-l-font-weight);
182
182
  font-family: var(--primary-tablist-l-font-family);
183
183
  line-height: 24px;
184
- }.tabs__l_1klrp .tabs__title_1klrp + .tabs__title_1klrp {
184
+ }.tabs__l_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu {
185
185
  margin-left: var(--primary-tablist-l-gaps);
186
- }.tabs__l_1klrp .tabs__pickerWrapper_1klrp {
186
+ }.tabs__l_nkcwu .tabs__pickerWrapper_nkcwu {
187
187
  margin-left: var(--primary-tablist-l-gaps);
188
- }.tabs__l_1klrp .tabs__option_1klrp {
188
+ }.tabs__l_nkcwu .tabs__option_nkcwu {
189
189
  padding: 0;
190
- }.tabs__xl_1klrp .tabs__title_1klrp {
190
+ }.tabs__xl_nkcwu .tabs__title_nkcwu {
191
191
  padding: var(--primary-tablist-xl-padding);
192
192
  font-size: var(--primary-tablist-xl-font-size);
193
193
  font-weight: var(--primary-tablist-xl-font-weight);
194
194
  font-family: var(--primary-tablist-xl-font-family);
195
195
  line-height: 32px;
196
- }.tabs__xl_1klrp .tabs__title_1klrp + .tabs__title_1klrp {
196
+ }.tabs__xl_nkcwu .tabs__title_nkcwu + .tabs__title_nkcwu {
197
197
  margin-left: var(--primary-tablist-xl-gaps);
198
- }.tabs__xl_1klrp .tabs__pickerWrapper_1klrp {
198
+ }.tabs__xl_nkcwu .tabs__pickerWrapper_nkcwu {
199
199
  margin-left: var(--primary-tablist-xl-gaps);
200
- }.tabs__xl_1klrp .tabs__option_1klrp {
200
+ }.tabs__xl_nkcwu .tabs__option_nkcwu {
201
201
  padding: 0;
202
- }.tabs__rightAddons_1klrp {
202
+ }.tabs__rightAddons_nkcwu {
203
203
  display: flex;
204
204
  justify-content: center;
205
205
  align-items: center;
@@ -1765,13 +1765,13 @@
1765
1765
 
1766
1766
  /* size xl */
1767
1767
  --secondary-tablist-xl-gaps: var(--gap-m);
1768
- } .tabs__title_1olzw {
1769
- } .tabs__mobile_1olzw .tabs__title_1olzw {
1768
+ } .tabs__title_ao93q {
1769
+ } .tabs__mobile_ao93q .tabs__title_ao93q {
1770
1770
  padding: var(--primary-tablist-mobile-padding);
1771
1771
  font-size: var(--primary-tablist-mobile-font-size);
1772
1772
  font-weight: var(--primary-tablist-mobile-font-weight);
1773
1773
  font-family: var(--primary-tablist-mobile-font-family);
1774
1774
  line-height: var(--primary-tablist-mobile-line-height)
1775
- } .tabs__mobile_1olzw .tabs__title_1olzw + .tabs__title_1olzw {
1775
+ } .tabs__mobile_ao93q .tabs__title_ao93q + .tabs__title_ao93q {
1776
1776
  margin-left: var(--primary-tablist-mobile-gaps);
1777
1777
  }
@@ -6,7 +6,7 @@ import { ChevronLeftMIcon } from '@alfalab/icons-glyph/ChevronLeftMIcon';
6
6
  import { ChevronRightMIcon } from '@alfalab/icons-glyph/ChevronRightMIcon';
7
7
  import { getDisabledState, scrollIntoFirstTab, scrollIntoLastTab } from './utils.js';
8
8
 
9
- const styles = {"component":"tabs__component_1y1xn","borderVisible":"tabs__borderVisible_1y1xn","primary":"tabs__primary_1y1xn","button":"tabs__button_1y1xn","xl":"tabs__xl_1y1xn","secondary":"tabs__secondary_1y1xn","xs":"tabs__xs_1y1xn"};
9
+ const styles = {"component":"tabs__component_bjpan","borderVisible":"tabs__borderVisible_bjpan","primary":"tabs__primary_bjpan","button":"tabs__button_bjpan","xl":"tabs__xl_bjpan","secondary":"tabs__secondary_bjpan","xs":"tabs__xs_bjpan"};
10
10
  require('./index.css')
11
11
 
12
12
  const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: uaww1 */
1
+ /* hash: 1bfrx */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
@@ -44,11 +44,11 @@
44
44
  /* size l */
45
45
 
46
46
  /* size xl */
47
- } .tabs__component_1y1xn {
47
+ } .tabs__component_bjpan {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0
51
- } .tabs__component_1y1xn:before {
51
+ } .tabs__component_bjpan:before {
52
52
  content: '';
53
53
  display: block;
54
54
  position: absolute;
@@ -57,12 +57,12 @@
57
57
  width: 1px;
58
58
  background-color: transparent;
59
59
  transition: background-color 0.3s ease;
60
- } .tabs__borderVisible_1y1xn:before {
60
+ } .tabs__borderVisible_bjpan:before {
61
61
  background-color: var(--color-light-neutral-translucent-300);
62
- } .tabs__primary_1y1xn {
62
+ } .tabs__primary_bjpan {
63
63
  align-items: flex-start;
64
64
  justify-content: flex-end
65
- } .tabs__primary_1y1xn:after {
65
+ } .tabs__primary_bjpan:after {
66
66
  content: '';
67
67
  display: block;
68
68
  position: absolute;
@@ -70,25 +70,25 @@
70
70
  height: 1px;
71
71
  width: 100%;
72
72
  background-color: var(--primary-tablist-bottom-border-color);
73
- } .tabs__primary_1y1xn:before {
73
+ } .tabs__primary_bjpan:before {
74
74
  bottom: 2px;
75
- } .tabs__primary_1y1xn {
75
+ } .tabs__primary_bjpan {
76
76
 
77
- .tabs__button_1y1xn:first-child {
77
+ .tabs__button_bjpan:first-child {
78
78
  padding-left: var(--gap-xs);
79
79
  margin-right: var(--gap-xs);
80
80
  }
81
- } .tabs__primary_1y1xn.tabs__xl_1y1xn .tabs__button_1y1xn:first-child {
81
+ } .tabs__primary_bjpan.tabs__xl_bjpan .tabs__button_bjpan:first-child {
82
82
  margin-right: var(--gap-2xs);
83
- } .tabs__secondary_1y1xn {
83
+ } .tabs__secondary_bjpan {
84
84
  align-items: center;
85
85
  justify-content: center
86
- } .tabs__secondary_1y1xn:before {
86
+ } .tabs__secondary_bjpan:before {
87
87
  bottom: 0;
88
- } .tabs__secondary_1y1xn.tabs__xs_1y1xn {
88
+ } .tabs__secondary_bjpan.tabs__xs_bjpan {
89
89
  width: 76px;
90
90
 
91
- .tabs__button_1y1xn:first-child {
91
+ .tabs__button_bjpan:first-child {
92
92
  margin-right: var(--gap-2xs);
93
93
  }
94
94
  }
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
8
8
  import '@alfalab/icons-glyph/ChevronRightMIcon';
9
9
  import '../scroll-controls/utils.js';
10
10
 
11
- const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_ycm8i","container":"tabs__container_ycm8i","fullWidthScroll":"tabs__fullWidthScroll_ycm8i"};
11
+ const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_3to0z","container":"tabs__container_3to0z","fullWidthScroll":"tabs__fullWidthScroll_3to0z"};
12
12
  require('./index.css')
13
13
 
14
14
  /**
@@ -1,4 +1,4 @@
1
- /* hash: ws2cg */
1
+ /* hash: oxv2t */
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,9 +42,9 @@
42
42
  /* size l */
43
43
 
44
44
  /* size xl */
45
- } .tabs__scrollableContainerWrapper_ycm8i {
45
+ } .tabs__scrollableContainerWrapper_3to0z {
46
46
  display: flex;
47
- } .tabs__container_ycm8i {
47
+ } .tabs__container_3to0z {
48
48
  position: relative;
49
49
  overflow-x: auto;
50
50
  overflow-y: hidden;
@@ -55,11 +55,11 @@
55
55
  /* focus-outline fix */
56
56
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
57
57
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
58
- } .tabs__container_ycm8i::-webkit-scrollbar {
58
+ } .tabs__container_3to0z::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_ycm8i > * {
60
+ } .tabs__container_3to0z > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_ycm8i {
62
+ } .tabs__fullWidthScroll_3to0z {
63
63
  padding-left: 0;
64
64
  margin: var(--gap-2xs-neg) var(--gap-m-neg);
65
65
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TagDesktop } from '@alfalab/core-components-tag/modern/desktop';
3
3
  import { SecondaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-d13de803.js';
4
+ import { c as commonStyles } from '../../index.module-e6e7da51.js';
5
5
  import 'classnames';
6
6
  import '../../hooks/use-tabs.js';
7
7
  import '@alfalab/core-components-shared/modern';
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TagMobile } from '@alfalab/core-components-tag/modern/mobile';
4
4
  import { SecondaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-d13de803.js';
5
+ import { c as commonStyles } from '../../index.module-e6e7da51.js';
6
6
  import '../../hooks/use-tabs.js';
7
7
  import '@alfalab/core-components-shared/modern';
8
8
  import '../scrollable-container/Component.js';
@@ -14,7 +14,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
14
14
  import '@alfalab/icons-glyph/ChevronRightMIcon';
15
15
  import '../scroll-controls/utils.js';
16
16
 
17
- const mobileStyles = {"title":"tabs__title_1w5sm tabs__title_zjoej","mobile":"tabs__mobile_1w5sm"};
17
+ const mobileStyles = {"title":"tabs__title_gx8tm tabs__title_1kn1n","mobile":"tabs__mobile_gx8tm"};
18
18
  require('./mobile.css')
19
19
 
20
20
  const styles = {
@@ -15,7 +15,7 @@ import '@alfalab/core-components-icon-button/modern';
15
15
  import '@alfalab/icons-glyph/ChevronLeftMIcon';
16
16
  import '@alfalab/icons-glyph/ChevronRightMIcon';
17
17
  import '../scroll-controls/utils.js';
18
- import '../../index.module-d13de803.js';
18
+ import '../../index.module-e6e7da51.js';
19
19
  import '@alfalab/core-components-tag/modern/mobile';
20
20
 
21
21
  const SecondaryTabListResponsive = ({ defaultMatchMediaValue, fullWidthScroll, breakpoint = 1024, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: yf374 */
1
+ /* hash: zk8d0 */
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_zjoej {
53
+ } .tabs__component_1kn1n {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_zjoej {
56
+ } .tabs__fullWidthScroll_1kn1n {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_zjoej {
58
+ } .tabs__container_1kn1n {
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_zjoej {
64
+ } .tabs__title_1kn1n {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
66
+ } /* sizes */ .tabs__xxs_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
68
+ } .tabs__xs_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
70
+ } .tabs__s_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
72
+ } .tabs__m_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
74
+ } .tabs__l_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
76
+ } .tabs__xl_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: 11fqj */
1
+ /* hash: 1p9no */
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_zjoej {
54
+ }.tabs__component_1kn1n {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_zjoej {
57
+ }.tabs__fullWidthScroll_1kn1n {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_zjoej {
59
+ }.tabs__container_1kn1n {
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_zjoej {
65
+ }.tabs__title_1kn1n {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
67
+ }/* sizes */.tabs__xxs_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
69
+ }.tabs__xs_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
71
+ }.tabs__s_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
73
+ }.tabs__m_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
75
+ }.tabs__l_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_zjoej .tabs__title_zjoej + .tabs__title_zjoej {
77
+ }.tabs__xl_1kn1n .tabs__title_1kn1n + .tabs__title_1kn1n {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35;
@@ -1637,7 +1637,7 @@
1637
1637
 
1638
1638
  /* size xl */
1639
1639
  --secondary-tablist-xl-gaps: var(--gap-m);
1640
- } .tabs__title_1w5sm {
1641
- } .tabs__mobile_1w5sm .tabs__title_1w5sm + .tabs__title_1w5sm {
1640
+ } .tabs__title_gx8tm {
1641
+ } .tabs__mobile_gx8tm .tabs__title_gx8tm + .tabs__title_gx8tm {
1642
1642
  margin-left: var(--secondary-tablist-mobile-gaps);
1643
1643
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"tabs__component_ejg4s","hidden":"tabs__hidden_ejg4s"};
4
+ const styles = {"component":"tabs__component_1i6au","hidden":"tabs__hidden_1i6au"};
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: jfldl */
2
- .tabs__component_ejg4s {
1
+ /* hash: 1c5ei */
2
+ .tabs__component_1i6au {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_ejg4s {
6
+ .tabs__hidden_1i6au {
7
7
  display: none;
8
8
  }
@@ -14,7 +14,7 @@ import '../../hooks/use-tabs.js';
14
14
  import '@alfalab/core-components-shared/modern';
15
15
  import '../../synthetic-events.js';
16
16
  import '../title/Component.js';
17
- import '../../index.module-8f42452f.js';
17
+ import '../../index.module-377caacf.js';
18
18
 
19
19
  const TabsCollapsible = ({ ...restProps }) => (React.createElement(Tabs, { TabList: CollapsiblePrimaryTabList, ...restProps }));
20
20
 
@@ -17,10 +17,10 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
17
17
  import '@alfalab/icons-glyph/ChevronRightMIcon';
18
18
  import '../scroll-controls/utils.js';
19
19
  import '../title/Component.js';
20
- import '../../index.module-8f42452f.js';
20
+ import '../../index.module-377caacf.js';
21
21
  import '@alfalab/core-components-tag/modern/desktop';
22
22
  import '../secondary-tablist/Component.js';
23
- import '../../index.module-d13de803.js';
23
+ import '../../index.module-e6e7da51.js';
24
24
 
25
25
  const views = {
26
26
  primary: PrimaryTabListDesktop,
@@ -17,10 +17,10 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
17
17
  import '@alfalab/icons-glyph/ChevronRightMIcon';
18
18
  import '../scroll-controls/utils.js';
19
19
  import '../title/Component.js';
20
- import '../../index.module-8f42452f.js';
20
+ import '../../index.module-377caacf.js';
21
21
  import '@alfalab/core-components-tag/modern/mobile';
22
22
  import '../secondary-tablist/Component.js';
23
- import '../../index.module-d13de803.js';
23
+ import '../../index.module-e6e7da51.js';
24
24
 
25
25
  const views = {
26
26
  primary: PrimaryTabListMobile,
@@ -19,12 +19,12 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
19
19
  import '@alfalab/icons-glyph/ChevronRightMIcon';
20
20
  import '../scroll-controls/utils.js';
21
21
  import '../title/Component.js';
22
- import '../../index.module-8f42452f.js';
22
+ import '../../index.module-377caacf.js';
23
23
  import '../primary-tablist/Component.mobile.js';
24
24
  import '../secondary-tablist/Component.desktop.js';
25
25
  import '@alfalab/core-components-tag/modern/desktop';
26
26
  import '../secondary-tablist/Component.js';
27
- import '../../index.module-d13de803.js';
27
+ import '../../index.module-e6e7da51.js';
28
28
  import '../secondary-tablist/Component.mobile.js';
29
29
  import '@alfalab/core-components-tag/modern/mobile';
30
30
 
@@ -18,8 +18,8 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
18
18
  import '@alfalab/icons-glyph/ChevronRightMIcon';
19
19
  import '../components/scroll-controls/utils.js';
20
20
  import '../components/title/Component.js';
21
- import '../index.module-8f42452f.js';
21
+ import '../index.module-377caacf.js';
22
22
  import '@alfalab/core-components-tag/modern/desktop';
23
23
  import '../components/secondary-tablist/Component.js';
24
- import '../index.module-d13de803.js';
24
+ import '../index.module-e6e7da51.js';
25
25
  import '../components/tabs/Component.js';
package/modern/index.js CHANGED
@@ -20,12 +20,12 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
20
20
  import '@alfalab/icons-glyph/ChevronRightMIcon';
21
21
  import './components/scroll-controls/utils.js';
22
22
  import './components/title/Component.js';
23
- import './index.module-8f42452f.js';
23
+ import './index.module-377caacf.js';
24
24
  import './components/primary-tablist/Component.mobile.js';
25
25
  import './components/secondary-tablist/Component.desktop.js';
26
26
  import '@alfalab/core-components-tag/modern/desktop';
27
27
  import './components/secondary-tablist/Component.js';
28
- import './index.module-d13de803.js';
28
+ import './index.module-e6e7da51.js';
29
29
  import './components/secondary-tablist/Component.mobile.js';
30
30
  import '@alfalab/core-components-tag/modern/mobile';
31
31
  import './components/tabs/Component.js';
@@ -0,0 +1,4 @@
1
+ const styles = {"component":"tabs__component_nkcwu","fullWidthScroll":"tabs__fullWidthScroll_nkcwu","container":"tabs__container_nkcwu","title":"tabs__title_nkcwu","disabled":"tabs__disabled_nkcwu","focused":"tabs__focused_nkcwu","collapsed":"tabs__collapsed_nkcwu","selected":"tabs__selected_nkcwu","line":"tabs__line_nkcwu","option":"tabs__option_nkcwu","s":"tabs__s_nkcwu","xs":"tabs__xs_nkcwu","xxs":"tabs__xxs_nkcwu","pickerWrapper":"tabs__pickerWrapper_nkcwu","m":"tabs__m_nkcwu","l":"tabs__l_nkcwu","xl":"tabs__xl_nkcwu","rightAddons":"tabs__rightAddons_nkcwu"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { styles as s };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"tabs__component_1kn1n","fullWidthScroll":"tabs__fullWidthScroll_1kn1n","container":"tabs__container_1kn1n","title":"tabs__title_1kn1n","xxs":"tabs__xxs_1kn1n","xs":"tabs__xs_1kn1n","s":"tabs__s_1kn1n","m":"tabs__m_1kn1n","l":"tabs__l_1kn1n","xl":"tabs__xl_1kn1n"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -18,8 +18,8 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
18
18
  import '@alfalab/icons-glyph/ChevronRightMIcon';
19
19
  import '../components/scroll-controls/utils.js';
20
20
  import '../components/title/Component.js';
21
- import '../index.module-8f42452f.js';
21
+ import '../index.module-377caacf.js';
22
22
  import '@alfalab/core-components-tag/modern/mobile';
23
23
  import '../components/secondary-tablist/Component.js';
24
- import '../index.module-d13de803.js';
24
+ import '../index.module-e6e7da51.js';
25
25
  import '../components/tabs/Component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-tabs",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@alfalab/core-components-keyboard-focusable": "^4.1.0",
18
18
  "@alfalab/core-components-tag": "^8.0.0",
19
- "@alfalab/core-components-picker-button": "^11.4.0",
19
+ "@alfalab/core-components-picker-button": "^11.4.1",
20
20
  "@alfalab/core-components-badge": "^5.4.0",
21
21
  "@alfalab/core-components-mq": "^4.2.0",
22
22
  "@alfalab/hooks": "^1.13.0",
@@ -1,4 +0,0 @@
1
- var styles = {"component":"tabs__component_1klrp","fullWidthScroll":"tabs__fullWidthScroll_1klrp","container":"tabs__container_1klrp","title":"tabs__title_1klrp","disabled":"tabs__disabled_1klrp","focused":"tabs__focused_1klrp","collapsed":"tabs__collapsed_1klrp","selected":"tabs__selected_1klrp","line":"tabs__line_1klrp","option":"tabs__option_1klrp","s":"tabs__s_1klrp","xs":"tabs__xs_1klrp","xxs":"tabs__xxs_1klrp","pickerWrapper":"tabs__pickerWrapper_1klrp","m":"tabs__m_1klrp","l":"tabs__l_1klrp","xl":"tabs__xl_1klrp","rightAddons":"tabs__rightAddons_1klrp"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_zjoej","fullWidthScroll":"tabs__fullWidthScroll_zjoej","container":"tabs__container_zjoej","title":"tabs__title_zjoej","xxs":"tabs__xxs_zjoej","xs":"tabs__xs_zjoej","s":"tabs__s_zjoej","m":"tabs__m_zjoej","l":"tabs__l_zjoej","xl":"tabs__xl_zjoej"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {"component":"tabs__component_1klrp","fullWidthScroll":"tabs__fullWidthScroll_1klrp","container":"tabs__container_1klrp","title":"tabs__title_1klrp","disabled":"tabs__disabled_1klrp","focused":"tabs__focused_1klrp","collapsed":"tabs__collapsed_1klrp","selected":"tabs__selected_1klrp","line":"tabs__line_1klrp","option":"tabs__option_1klrp","s":"tabs__s_1klrp","xs":"tabs__xs_1klrp","xxs":"tabs__xxs_1klrp","pickerWrapper":"tabs__pickerWrapper_1klrp","m":"tabs__m_1klrp","l":"tabs__l_1klrp","xl":"tabs__xl_1klrp","rightAddons":"tabs__rightAddons_1klrp"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.styles = styles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_zjoej","fullWidthScroll":"tabs__fullWidthScroll_zjoej","container":"tabs__container_zjoej","title":"tabs__title_zjoej","xxs":"tabs__xxs_zjoej","xs":"tabs__xs_zjoej","s":"tabs__s_zjoej","m":"tabs__m_zjoej","l":"tabs__l_zjoej","xl":"tabs__xl_zjoej"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,4 +0,0 @@
1
- const styles = {"component":"tabs__component_1klrp","fullWidthScroll":"tabs__fullWidthScroll_1klrp","container":"tabs__container_1klrp","title":"tabs__title_1klrp","disabled":"tabs__disabled_1klrp","focused":"tabs__focused_1klrp","collapsed":"tabs__collapsed_1klrp","selected":"tabs__selected_1klrp","line":"tabs__line_1klrp","option":"tabs__option_1klrp","s":"tabs__s_1klrp","xs":"tabs__xs_1klrp","xxs":"tabs__xxs_1klrp","pickerWrapper":"tabs__pickerWrapper_1klrp","m":"tabs__m_1klrp","l":"tabs__l_1klrp","xl":"tabs__xl_1klrp","rightAddons":"tabs__rightAddons_1klrp"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };
@@ -1,4 +0,0 @@
1
- const commonStyles = {"component":"tabs__component_zjoej","fullWidthScroll":"tabs__fullWidthScroll_zjoej","container":"tabs__container_zjoej","title":"tabs__title_zjoej","xxs":"tabs__xxs_zjoej","xs":"tabs__xs_zjoej","s":"tabs__s_zjoej","m":"tabs__m_zjoej","l":"tabs__l_zjoej","xl":"tabs__xl_zjoej"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };