@alfalab/core-components-tabs 8.1.0 → 8.1.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.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.js +2 -2
  24. package/esm/collapsible.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.js +2 -2
  47. package/esm/index.js +2 -2
  48. package/esm/index.module-e0497aa4.js +4 -0
  49. package/esm/index.module-ee44d88b.js +4 -0
  50. package/esm/mobile.js +2 -2
  51. package/index.js +2 -2
  52. package/index.module-ae0eca4b.js +6 -0
  53. package/index.module-ed812325.js +6 -0
  54. package/mobile.js +2 -2
  55. package/modern/collapsible.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.js +2 -2
  78. package/modern/index.js +2 -2
  79. package/modern/index.module-0162508b.js +4 -0
  80. package/modern/index.module-1d3d8c31.js +4 -0
  81. package/modern/mobile.js +2 -2
  82. package/package.json +2 -2
  83. package/esm/index.module-7fe2e8dc.js +0 -4
  84. package/esm/index.module-fbff2d78.js +0 -4
  85. package/index.module-447ba3e0.js +0 -6
  86. package/index.module-ee99c069.js +0 -6
  87. package/modern/index.module-22ff4191.js +0 -4
  88. package/modern/index.module-3f8f9d5d.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: j8scm */
1
+ /* hash: 1ygs1 */
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_1u3uq {
93
+ }.tabs__component_1m9uu {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_1u3uq:before {
97
+ }.tabs__component_1m9uu: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_1u3uq {
105
+ }.tabs__fullWidthScroll_1m9uu {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_1u3uq {
108
+ }.tabs__container_1m9uu {
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_1u3uq {
115
+ }.tabs__title_1m9uu {
116
116
  display: flex;
117
117
  align-items: center;
118
118
  height: 100%;
@@ -129,78 +129,78 @@
129
129
  user-select: none;
130
130
  cursor: pointer;
131
131
  outline: none
132
- }.tabs__title_1u3uq:not(.tabs__disabled_1u3uq):hover {
132
+ }.tabs__title_1m9uu:not(.tabs__disabled_1m9uu):hover {
133
133
  color: var(--primary-tablist-hover-color);
134
- }.tabs__focused_1u3uq {
134
+ }.tabs__focused_1m9uu {
135
135
  outline: 2px solid var(--focus-color);
136
136
  outline-offset: 2px;
137
- }.tabs__collapsed_1u3uq {
137
+ }.tabs__collapsed_1m9uu {
138
138
  order: 99;
139
139
  visibility: collapse;
140
- }.tabs__selected_1u3uq {
140
+ }.tabs__selected_1m9uu {
141
141
  cursor: default;
142
142
  color: var(--primary-tablist-selected-color);
143
- }.tabs__disabled_1u3uq {
143
+ }.tabs__disabled_1m9uu {
144
144
  cursor: var(--disabled-cursor);
145
145
  color: var(--primary-tablist-disabled-color);
146
- }.tabs__line_1u3uq {
146
+ }.tabs__line_1m9uu {
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
- }.tabs__option_1u3uq {
153
+ }.tabs__option_1m9uu {
154
154
  color: var(--color-light-text-primary);
155
- }/* sizes */.tabs__s_1u3uq .tabs__title_1u3uq, .tabs__xs_1u3uq .tabs__title_1u3uq, .tabs__xxs_1u3uq .tabs__title_1u3uq {
155
+ }/* sizes */.tabs__s_1m9uu .tabs__title_1m9uu, .tabs__xs_1m9uu .tabs__title_1m9uu, .tabs__xxs_1m9uu .tabs__title_1m9uu {
156
156
  padding: var(--primary-tablist-s-padding);
157
157
  font-size: var(--primary-tablist-s-font-size);
158
158
  font-weight: var(--primary-tablist-s-font-weight);
159
159
  font-family: var(--primary-tablist-s-font-family);
160
160
  line-height: 24px;
161
- }.tabs__s_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq, .tabs__xs_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq, .tabs__xxs_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq {
161
+ }.tabs__s_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu, .tabs__xs_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu, .tabs__xxs_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu {
162
162
  margin-left: var(--primary-tablist-s-gaps);
163
- }.tabs__s_1u3uq .tabs__pickerWrapper_1u3uq, .tabs__xs_1u3uq .tabs__pickerWrapper_1u3uq, .tabs__xxs_1u3uq .tabs__pickerWrapper_1u3uq {
163
+ }.tabs__s_1m9uu .tabs__pickerWrapper_1m9uu, .tabs__xs_1m9uu .tabs__pickerWrapper_1m9uu, .tabs__xxs_1m9uu .tabs__pickerWrapper_1m9uu {
164
164
  margin-left: var(--primary-tablist-s-gaps);
165
- }.tabs__s_1u3uq .tabs__option_1u3uq, .tabs__xs_1u3uq .tabs__option_1u3uq, .tabs__xxs_1u3uq .tabs__option_1u3uq {
165
+ }.tabs__s_1m9uu .tabs__option_1m9uu, .tabs__xs_1m9uu .tabs__option_1m9uu, .tabs__xxs_1m9uu .tabs__option_1m9uu {
166
166
  padding: 0;
167
- }.tabs__m_1u3uq .tabs__title_1u3uq {
167
+ }.tabs__m_1m9uu .tabs__title_1m9uu {
168
168
  padding: var(--primary-tablist-m-padding);
169
169
  font-size: var(--primary-tablist-m-font-size);
170
170
  font-weight: var(--primary-tablist-m-font-weight);
171
171
  font-family: var(--primary-tablist-m-font-family);
172
172
  line-height: 24px;
173
- }.tabs__m_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq {
173
+ }.tabs__m_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu {
174
174
  margin-left: var(--primary-tablist-m-gaps);
175
- }.tabs__m_1u3uq .tabs__pickerWrapper_1u3uq {
175
+ }.tabs__m_1m9uu .tabs__pickerWrapper_1m9uu {
176
176
  margin-left: var(--primary-tablist-m-gaps);
177
- }.tabs__m_1u3uq .tabs__option_1u3uq {
177
+ }.tabs__m_1m9uu .tabs__option_1m9uu {
178
178
  padding: 0;
179
- }.tabs__l_1u3uq .tabs__title_1u3uq {
179
+ }.tabs__l_1m9uu .tabs__title_1m9uu {
180
180
  padding: var(--primary-tablist-l-padding);
181
181
  font-size: var(--primary-tablist-l-font-size);
182
182
  font-weight: var(--primary-tablist-l-font-weight);
183
183
  font-family: var(--primary-tablist-l-font-family);
184
184
  line-height: 24px;
185
- }.tabs__l_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq {
185
+ }.tabs__l_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu {
186
186
  margin-left: var(--primary-tablist-l-gaps);
187
- }.tabs__l_1u3uq .tabs__pickerWrapper_1u3uq {
187
+ }.tabs__l_1m9uu .tabs__pickerWrapper_1m9uu {
188
188
  margin-left: var(--primary-tablist-l-gaps);
189
- }.tabs__l_1u3uq .tabs__option_1u3uq {
189
+ }.tabs__l_1m9uu .tabs__option_1m9uu {
190
190
  padding: 0;
191
- }.tabs__xl_1u3uq .tabs__title_1u3uq {
191
+ }.tabs__xl_1m9uu .tabs__title_1m9uu {
192
192
  padding: var(--primary-tablist-xl-padding);
193
193
  font-size: var(--primary-tablist-xl-font-size);
194
194
  font-weight: var(--primary-tablist-xl-font-weight);
195
195
  font-family: var(--primary-tablist-xl-font-family);
196
196
  line-height: 32px;
197
- }.tabs__xl_1u3uq .tabs__title_1u3uq + .tabs__title_1u3uq {
197
+ }.tabs__xl_1m9uu .tabs__title_1m9uu + .tabs__title_1m9uu {
198
198
  margin-left: var(--primary-tablist-xl-gaps);
199
- }.tabs__xl_1u3uq .tabs__pickerWrapper_1u3uq {
199
+ }.tabs__xl_1m9uu .tabs__pickerWrapper_1m9uu {
200
200
  margin-left: var(--primary-tablist-xl-gaps);
201
- }.tabs__xl_1u3uq .tabs__option_1u3uq {
201
+ }.tabs__xl_1m9uu .tabs__option_1m9uu {
202
202
  padding: 0;
203
- }.tabs__rightAddons_1u3uq {
203
+ }.tabs__rightAddons_1m9uu {
204
204
  display: flex;
205
205
  justify-content: center;
206
206
  align-items: center;
@@ -1108,13 +1108,13 @@
1108
1108
 
1109
1109
  /* size xl */
1110
1110
  --secondary-tablist-xl-gaps: var(--gap-m);
1111
- } .tabs__title_135vc {
1112
- } .tabs__mobile_135vc .tabs__title_135vc {
1111
+ } .tabs__title_nd1k6 {
1112
+ } .tabs__mobile_nd1k6 .tabs__title_nd1k6 {
1113
1113
  padding: var(--primary-tablist-mobile-padding);
1114
1114
  font-size: var(--primary-tablist-mobile-font-size);
1115
1115
  font-weight: var(--primary-tablist-mobile-font-weight);
1116
1116
  font-family: var(--primary-tablist-mobile-font-family);
1117
1117
  line-height: var(--primary-tablist-mobile-line-height)
1118
- } .tabs__mobile_135vc .tabs__title_135vc + .tabs__title_135vc {
1118
+ } .tabs__mobile_nd1k6 .tabs__title_nd1k6 + .tabs__title_nd1k6 {
1119
1119
  margin-left: var(--primary-tablist-mobile-gaps);
1120
1120
  }
@@ -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_1i374","borderVisible":"tabs__borderVisible_1i374","primary":"tabs__primary_1i374","button":"tabs__button_1i374","xl":"tabs__xl_1i374","secondary":"tabs__secondary_1i374","xs":"tabs__xs_1i374"};
9
+ const styles = {"component":"tabs__component_1ov4g","borderVisible":"tabs__borderVisible_1ov4g","primary":"tabs__primary_1ov4g","button":"tabs__button_1ov4g","xl":"tabs__xl_1ov4g","secondary":"tabs__secondary_1ov4g","xs":"tabs__xs_1ov4g"};
10
10
  require('./index.css')
11
11
 
12
12
  const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: y6f39 */
1
+ /* hash: h4a1t */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -44,11 +44,11 @@
44
44
  /* size l */
45
45
 
46
46
  /* size xl */
47
- } .tabs__component_1i374 {
47
+ } .tabs__component_1ov4g {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0
51
- } .tabs__component_1i374:before {
51
+ } .tabs__component_1ov4g: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_1i374:before {
60
+ } .tabs__borderVisible_1ov4g:before {
61
61
  background-color: var(--color-light-specialbg-tertiary-transparent);
62
- } .tabs__primary_1i374 {
62
+ } .tabs__primary_1ov4g {
63
63
  align-items: flex-start;
64
64
  justify-content: flex-end
65
- } .tabs__primary_1i374:after {
65
+ } .tabs__primary_1ov4g: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_1i374:before {
73
+ } .tabs__primary_1ov4g:before {
74
74
  bottom: 2px;
75
- } .tabs__primary_1i374 {
75
+ } .tabs__primary_1ov4g {
76
76
 
77
- .tabs__button_1i374:first-child {
77
+ .tabs__button_1ov4g:first-child {
78
78
  padding-left: var(--gap-xs);
79
79
  margin-right: var(--gap-xs);
80
80
  }
81
- } .tabs__primary_1i374.tabs__xl_1i374 .tabs__button_1i374:first-child {
81
+ } .tabs__primary_1ov4g.tabs__xl_1ov4g .tabs__button_1ov4g:first-child {
82
82
  margin-right: var(--gap-2xs);
83
- } .tabs__secondary_1i374 {
83
+ } .tabs__secondary_1ov4g {
84
84
  align-items: center;
85
85
  justify-content: center
86
- } .tabs__secondary_1i374:before {
86
+ } .tabs__secondary_1ov4g:before {
87
87
  bottom: 0;
88
- } .tabs__secondary_1i374.tabs__xs_1i374 {
88
+ } .tabs__secondary_1ov4g.tabs__xs_1ov4g {
89
89
  width: 76px;
90
90
 
91
- .tabs__button_1i374:first-child {
91
+ .tabs__button_1ov4g: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_v4p4z","container":"tabs__container_v4p4z","fullWidthScroll":"tabs__fullWidthScroll_v4p4z"};
11
+ const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_12yp1","container":"tabs__container_12yp1","fullWidthScroll":"tabs__fullWidthScroll_12yp1"};
12
12
  require('./index.css')
13
13
 
14
14
  /**
@@ -1,4 +1,4 @@
1
- /* hash: 1kolo */
1
+ /* hash: 19g6e */
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_v4p4z {
45
+ } .tabs__scrollableContainerWrapper_12yp1 {
46
46
  display: flex;
47
- } .tabs__container_v4p4z {
47
+ } .tabs__container_12yp1 {
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_v4p4z::-webkit-scrollbar {
58
+ } .tabs__container_12yp1::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_v4p4z > * {
60
+ } .tabs__container_12yp1 > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_v4p4z {
62
+ } .tabs__fullWidthScroll_12yp1 {
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-3f8f9d5d.js';
4
+ import { c as commonStyles } from '../../index.module-1d3d8c31.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-3f8f9d5d.js';
5
+ import { c as commonStyles } from '../../index.module-1d3d8c31.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_1889x tabs__title_tc0jp","mobile":"tabs__mobile_1889x"};
17
+ const mobileStyles = {"title":"tabs__title_1yo78 tabs__title_dj6rt","mobile":"tabs__mobile_1yo78"};
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-3f8f9d5d.js';
18
+ import '../../index.module-1d3d8c31.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: 3thre */
1
+ /* hash: t0gua */
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_tc0jp {
53
+ } .tabs__component_dj6rt {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_tc0jp {
56
+ } .tabs__fullWidthScroll_dj6rt {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_tc0jp {
58
+ } .tabs__container_dj6rt {
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_tc0jp {
64
+ } .tabs__title_dj6rt {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
66
+ } /* sizes */ .tabs__xxs_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
68
+ } .tabs__xs_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
70
+ } .tabs__s_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
72
+ } .tabs__m_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
74
+ } .tabs__l_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
76
+ } .tabs__xl_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: lza89 */
1
+ /* hash: 4fwvo */
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_tc0jp {
54
+ }.tabs__component_dj6rt {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_tc0jp {
57
+ }.tabs__fullWidthScroll_dj6rt {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_tc0jp {
59
+ }.tabs__container_dj6rt {
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_tc0jp {
65
+ }.tabs__title_dj6rt {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
67
+ }/* sizes */.tabs__xxs_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
69
+ }.tabs__xs_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
71
+ }.tabs__s_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
73
+ }.tabs__m_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
75
+ }.tabs__l_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_tc0jp .tabs__title_tc0jp + .tabs__title_tc0jp {
77
+ }.tabs__xl_dj6rt .tabs__title_dj6rt + .tabs__title_dj6rt {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35;
@@ -979,7 +979,7 @@
979
979
 
980
980
  /* size xl */
981
981
  --secondary-tablist-xl-gaps: var(--gap-m);
982
- } .tabs__title_1889x {
983
- } .tabs__mobile_1889x .tabs__title_1889x + .tabs__title_1889x {
982
+ } .tabs__title_1yo78 {
983
+ } .tabs__mobile_1yo78 .tabs__title_1yo78 + .tabs__title_1yo78 {
984
984
  margin-left: var(--secondary-tablist-mobile-gaps);
985
985
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"tabs__component_k9tti","hidden":"tabs__hidden_k9tti"};
4
+ const styles = {"component":"tabs__component_s3tpx","hidden":"tabs__hidden_s3tpx"};
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: yw1ok */
2
- .tabs__component_k9tti {
1
+ /* hash: a6awt */
2
+ .tabs__component_s3tpx {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_k9tti {
6
+ .tabs__hidden_s3tpx {
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-22ff4191.js';
17
+ import '../../index.module-0162508b.js';
18
18
 
19
19
  const TabsCollapsible = ({ ...restProps }) => (React.createElement(Tabs, { TabList: CollapsiblePrimaryTabList, ...restProps }));
20
20
 
@@ -16,10 +16,10 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
16
16
  import '@alfalab/icons-glyph/ChevronRightMIcon';
17
17
  import '../scroll-controls/utils.js';
18
18
  import '../title/Component.js';
19
- import '../../index.module-22ff4191.js';
19
+ import '../../index.module-0162508b.js';
20
20
  import '@alfalab/core-components-tag/modern/desktop';
21
21
  import '../secondary-tablist/Component.js';
22
- import '../../index.module-3f8f9d5d.js';
22
+ import '../../index.module-1d3d8c31.js';
23
23
 
24
24
  const views = {
25
25
  primary: PrimaryTabListDesktop,
@@ -16,10 +16,10 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
16
16
  import '@alfalab/icons-glyph/ChevronRightMIcon';
17
17
  import '../scroll-controls/utils.js';
18
18
  import '../title/Component.js';
19
- import '../../index.module-22ff4191.js';
19
+ import '../../index.module-0162508b.js';
20
20
  import '@alfalab/core-components-tag/modern/mobile';
21
21
  import '../secondary-tablist/Component.js';
22
- import '../../index.module-3f8f9d5d.js';
22
+ import '../../index.module-1d3d8c31.js';
23
23
 
24
24
  const views = {
25
25
  primary: PrimaryTabListMobile,
@@ -18,12 +18,12 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
18
18
  import '@alfalab/icons-glyph/ChevronRightMIcon';
19
19
  import '../scroll-controls/utils.js';
20
20
  import '../title/Component.js';
21
- import '../../index.module-22ff4191.js';
21
+ import '../../index.module-0162508b.js';
22
22
  import '../primary-tablist/Component.mobile.js';
23
23
  import '../secondary-tablist/Component.desktop.js';
24
24
  import '@alfalab/core-components-tag/modern/desktop';
25
25
  import '../secondary-tablist/Component.js';
26
- import '../../index.module-3f8f9d5d.js';
26
+ import '../../index.module-1d3d8c31.js';
27
27
  import '../secondary-tablist/Component.mobile.js';
28
28
  import '@alfalab/core-components-tag/modern/mobile';
29
29
 
package/modern/desktop.js CHANGED
@@ -17,8 +17,8 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
17
17
  import '@alfalab/icons-glyph/ChevronRightMIcon';
18
18
  import './components/scroll-controls/utils.js';
19
19
  import './components/title/Component.js';
20
- import './index.module-22ff4191.js';
20
+ import './index.module-0162508b.js';
21
21
  import '@alfalab/core-components-tag/modern/desktop';
22
22
  import './components/secondary-tablist/Component.js';
23
- import './index.module-3f8f9d5d.js';
23
+ import './index.module-1d3d8c31.js';
24
24
  import './components/tabs/Component.js';
package/modern/index.js CHANGED
@@ -19,12 +19,12 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
19
19
  import '@alfalab/icons-glyph/ChevronRightMIcon';
20
20
  import './components/scroll-controls/utils.js';
21
21
  import './components/title/Component.js';
22
- import './index.module-22ff4191.js';
22
+ import './index.module-0162508b.js';
23
23
  import './components/primary-tablist/Component.mobile.js';
24
24
  import './components/secondary-tablist/Component.desktop.js';
25
25
  import '@alfalab/core-components-tag/modern/desktop';
26
26
  import './components/secondary-tablist/Component.js';
27
- import './index.module-3f8f9d5d.js';
27
+ import './index.module-1d3d8c31.js';
28
28
  import './components/secondary-tablist/Component.mobile.js';
29
29
  import '@alfalab/core-components-tag/modern/mobile';
30
30
  import './components/tabs/Component.js';
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"tabs__component_1m9uu","fullWidthScroll":"tabs__fullWidthScroll_1m9uu","container":"tabs__container_1m9uu","title":"tabs__title_1m9uu","disabled":"tabs__disabled_1m9uu","focused":"tabs__focused_1m9uu","collapsed":"tabs__collapsed_1m9uu","selected":"tabs__selected_1m9uu","line":"tabs__line_1m9uu","option":"tabs__option_1m9uu","s":"tabs__s_1m9uu","xs":"tabs__xs_1m9uu","xxs":"tabs__xxs_1m9uu","pickerWrapper":"tabs__pickerWrapper_1m9uu","m":"tabs__m_1m9uu","l":"tabs__l_1m9uu","xl":"tabs__xl_1m9uu","rightAddons":"tabs__rightAddons_1m9uu"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"tabs__component_dj6rt","fullWidthScroll":"tabs__fullWidthScroll_dj6rt","container":"tabs__container_dj6rt","title":"tabs__title_dj6rt","xxs":"tabs__xxs_dj6rt","xs":"tabs__xs_dj6rt","s":"tabs__s_dj6rt","m":"tabs__m_dj6rt","l":"tabs__l_dj6rt","xl":"tabs__xl_dj6rt"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
package/modern/mobile.js CHANGED
@@ -17,8 +17,8 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
17
17
  import '@alfalab/icons-glyph/ChevronRightMIcon';
18
18
  import './components/scroll-controls/utils.js';
19
19
  import './components/title/Component.js';
20
- import './index.module-22ff4191.js';
20
+ import './index.module-0162508b.js';
21
21
  import '@alfalab/core-components-tag/modern/mobile';
22
22
  import './components/secondary-tablist/Component.js';
23
- import './index.module-3f8f9d5d.js';
23
+ import './index.module-1d3d8c31.js';
24
24
  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.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@alfalab/core-components-keyboard-focusable": "^4.1.0",
46
46
  "@alfalab/core-components-tag": "^6.0.1",
47
- "@alfalab/core-components-picker-button": "^11.1.4",
47
+ "@alfalab/core-components-picker-button": "^11.1.5",
48
48
  "@alfalab/core-components-badge": "^5.2.0",
49
49
  "@alfalab/core-components-mq": "^4.2.0",
50
50
  "@alfalab/hooks": "^1.13.0",
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_1u3uq","fullWidthScroll":"tabs__fullWidthScroll_1u3uq","container":"tabs__container_1u3uq","title":"tabs__title_1u3uq","disabled":"tabs__disabled_1u3uq","focused":"tabs__focused_1u3uq","collapsed":"tabs__collapsed_1u3uq","selected":"tabs__selected_1u3uq","line":"tabs__line_1u3uq","option":"tabs__option_1u3uq","s":"tabs__s_1u3uq","xs":"tabs__xs_1u3uq","xxs":"tabs__xxs_1u3uq","pickerWrapper":"tabs__pickerWrapper_1u3uq","m":"tabs__m_1u3uq","l":"tabs__l_1u3uq","xl":"tabs__xl_1u3uq","rightAddons":"tabs__rightAddons_1u3uq"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_tc0jp","fullWidthScroll":"tabs__fullWidthScroll_tc0jp","container":"tabs__container_tc0jp","title":"tabs__title_tc0jp","xxs":"tabs__xxs_tc0jp","xs":"tabs__xs_tc0jp","s":"tabs__s_tc0jp","m":"tabs__m_tc0jp","l":"tabs__l_tc0jp","xl":"tabs__xl_tc0jp"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_tc0jp","fullWidthScroll":"tabs__fullWidthScroll_tc0jp","container":"tabs__container_tc0jp","title":"tabs__title_tc0jp","xxs":"tabs__xxs_tc0jp","xs":"tabs__xs_tc0jp","s":"tabs__s_tc0jp","m":"tabs__m_tc0jp","l":"tabs__l_tc0jp","xl":"tabs__xl_tc0jp"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_1u3uq","fullWidthScroll":"tabs__fullWidthScroll_1u3uq","container":"tabs__container_1u3uq","title":"tabs__title_1u3uq","disabled":"tabs__disabled_1u3uq","focused":"tabs__focused_1u3uq","collapsed":"tabs__collapsed_1u3uq","selected":"tabs__selected_1u3uq","line":"tabs__line_1u3uq","option":"tabs__option_1u3uq","s":"tabs__s_1u3uq","xs":"tabs__xs_1u3uq","xxs":"tabs__xxs_1u3uq","pickerWrapper":"tabs__pickerWrapper_1u3uq","m":"tabs__m_1u3uq","l":"tabs__l_1u3uq","xl":"tabs__xl_1u3uq","rightAddons":"tabs__rightAddons_1u3uq"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,4 +0,0 @@
1
- const commonStyles = {"component":"tabs__component_1u3uq","fullWidthScroll":"tabs__fullWidthScroll_1u3uq","container":"tabs__container_1u3uq","title":"tabs__title_1u3uq","disabled":"tabs__disabled_1u3uq","focused":"tabs__focused_1u3uq","collapsed":"tabs__collapsed_1u3uq","selected":"tabs__selected_1u3uq","line":"tabs__line_1u3uq","option":"tabs__option_1u3uq","s":"tabs__s_1u3uq","xs":"tabs__xs_1u3uq","xxs":"tabs__xxs_1u3uq","pickerWrapper":"tabs__pickerWrapper_1u3uq","m":"tabs__m_1u3uq","l":"tabs__l_1u3uq","xl":"tabs__xl_1u3uq","rightAddons":"tabs__rightAddons_1u3uq"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- const commonStyles = {"component":"tabs__component_tc0jp","fullWidthScroll":"tabs__fullWidthScroll_tc0jp","container":"tabs__container_tc0jp","title":"tabs__title_tc0jp","xxs":"tabs__xxs_tc0jp","xs":"tabs__xs_tc0jp","s":"tabs__s_tc0jp","m":"tabs__m_tc0jp","l":"tabs__l_tc0jp","xl":"tabs__xl_tc0jp"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };