@alfalab/core-components-tabs 8.5.0 → 8.5.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-aa0c1143.js +4 -0
  49. package/esm/index.module-d07623e2.js +4 -0
  50. package/esm/mobile/index.js +2 -2
  51. package/index.js +2 -2
  52. package/index.module-abadb192.js +6 -0
  53. package/index.module-b293cf9b.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-50acb6fd.js +4 -0
  80. package/modern/index.module-b97c5648.js +4 -0
  81. package/modern/mobile/index.js +2 -2
  82. package/package.json +4 -4
  83. package/esm/index.module-77f20a83.js +0 -4
  84. package/esm/index.module-b2867cef.js +0 -4
  85. package/index.module-269f7642.js +0 -6
  86. package/index.module-3e51b518.js +0 -6
  87. package/modern/index.module-2ee1459e.js +0 -4
  88. package/modern/index.module-5572b7e8.js +0 -4
@@ -1,4 +1,4 @@
1
- /* hash: z1wsb */
1
+ /* hash: 186ww */
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_fqd0f {
93
+ }.tabs__component_1gn40 {
94
94
  position: relative;
95
95
  display: inline-flex;
96
96
  min-width: 100%
97
- }.tabs__component_fqd0f:before {
97
+ }.tabs__component_1gn40: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_fqd0f {
105
+ }.tabs__fullWidthScroll_1gn40 {
106
106
  min-width: calc(100% - 2 * var(--gap-m));
107
107
  margin: 0 var(--gap-m);
108
- }.tabs__container_fqd0f {
108
+ }.tabs__container_1gn40 {
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_fqd0f {
115
+ }.tabs__title_1gn40 {
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_fqd0f:not(.tabs__disabled_fqd0f):hover {
131
+ }.tabs__title_1gn40:not(.tabs__disabled_1gn40):hover {
132
132
  color: var(--primary-tablist-hover-color);
133
- }.tabs__focused_fqd0f {
133
+ }.tabs__focused_1gn40 {
134
134
  outline: 2px solid var(--focus-color);
135
135
  outline-offset: 2px;
136
- }.tabs__collapsed_fqd0f {
136
+ }.tabs__collapsed_1gn40 {
137
137
  order: 99;
138
138
  visibility: collapse;
139
- }.tabs__selected_fqd0f {
139
+ }.tabs__selected_1gn40 {
140
140
  cursor: default;
141
141
  color: var(--primary-tablist-selected-color);
142
- }.tabs__disabled_fqd0f {
142
+ }.tabs__disabled_1gn40 {
143
143
  cursor: var(--disabled-cursor);
144
144
  color: var(--primary-tablist-disabled-color);
145
- }.tabs__line_fqd0f {
145
+ }.tabs__line_1gn40 {
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_fqd0f {
152
+ }.tabs__option_1gn40 {
153
153
  color: var(--color-light-text-primary);
154
- }/* sizes */.tabs__s_fqd0f .tabs__title_fqd0f, .tabs__xs_fqd0f .tabs__title_fqd0f, .tabs__xxs_fqd0f .tabs__title_fqd0f {
154
+ }/* sizes */.tabs__s_1gn40 .tabs__title_1gn40, .tabs__xs_1gn40 .tabs__title_1gn40, .tabs__xxs_1gn40 .tabs__title_1gn40 {
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_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f, .tabs__xs_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f, .tabs__xxs_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f {
160
+ }.tabs__s_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40, .tabs__xs_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40, .tabs__xxs_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40 {
161
161
  margin-left: var(--primary-tablist-s-gaps);
162
- }.tabs__s_fqd0f .tabs__pickerWrapper_fqd0f, .tabs__xs_fqd0f .tabs__pickerWrapper_fqd0f, .tabs__xxs_fqd0f .tabs__pickerWrapper_fqd0f {
162
+ }.tabs__s_1gn40 .tabs__pickerWrapper_1gn40, .tabs__xs_1gn40 .tabs__pickerWrapper_1gn40, .tabs__xxs_1gn40 .tabs__pickerWrapper_1gn40 {
163
163
  margin-left: var(--primary-tablist-s-gaps);
164
- }.tabs__s_fqd0f .tabs__option_fqd0f, .tabs__xs_fqd0f .tabs__option_fqd0f, .tabs__xxs_fqd0f .tabs__option_fqd0f {
164
+ }.tabs__s_1gn40 .tabs__option_1gn40, .tabs__xs_1gn40 .tabs__option_1gn40, .tabs__xxs_1gn40 .tabs__option_1gn40 {
165
165
  padding: 0;
166
- }.tabs__m_fqd0f .tabs__title_fqd0f {
166
+ }.tabs__m_1gn40 .tabs__title_1gn40 {
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_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f {
172
+ }.tabs__m_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40 {
173
173
  margin-left: var(--primary-tablist-m-gaps);
174
- }.tabs__m_fqd0f .tabs__pickerWrapper_fqd0f {
174
+ }.tabs__m_1gn40 .tabs__pickerWrapper_1gn40 {
175
175
  margin-left: var(--primary-tablist-m-gaps);
176
- }.tabs__m_fqd0f .tabs__option_fqd0f {
176
+ }.tabs__m_1gn40 .tabs__option_1gn40 {
177
177
  padding: 0;
178
- }.tabs__l_fqd0f .tabs__title_fqd0f {
178
+ }.tabs__l_1gn40 .tabs__title_1gn40 {
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_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f {
184
+ }.tabs__l_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40 {
185
185
  margin-left: var(--primary-tablist-l-gaps);
186
- }.tabs__l_fqd0f .tabs__pickerWrapper_fqd0f {
186
+ }.tabs__l_1gn40 .tabs__pickerWrapper_1gn40 {
187
187
  margin-left: var(--primary-tablist-l-gaps);
188
- }.tabs__l_fqd0f .tabs__option_fqd0f {
188
+ }.tabs__l_1gn40 .tabs__option_1gn40 {
189
189
  padding: 0;
190
- }.tabs__xl_fqd0f .tabs__title_fqd0f {
190
+ }.tabs__xl_1gn40 .tabs__title_1gn40 {
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_fqd0f .tabs__title_fqd0f + .tabs__title_fqd0f {
196
+ }.tabs__xl_1gn40 .tabs__title_1gn40 + .tabs__title_1gn40 {
197
197
  margin-left: var(--primary-tablist-xl-gaps);
198
- }.tabs__xl_fqd0f .tabs__pickerWrapper_fqd0f {
198
+ }.tabs__xl_1gn40 .tabs__pickerWrapper_1gn40 {
199
199
  margin-left: var(--primary-tablist-xl-gaps);
200
- }.tabs__xl_fqd0f .tabs__option_fqd0f {
200
+ }.tabs__xl_1gn40 .tabs__option_1gn40 {
201
201
  padding: 0;
202
- }.tabs__rightAddons_fqd0f {
202
+ }.tabs__rightAddons_1gn40 {
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_1twjd {
1769
- } .tabs__mobile_1twjd .tabs__title_1twjd {
1768
+ } .tabs__title_adhxp {
1769
+ } .tabs__mobile_adhxp .tabs__title_adhxp {
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_1twjd .tabs__title_1twjd + .tabs__title_1twjd {
1775
+ } .tabs__mobile_adhxp .tabs__title_adhxp + .tabs__title_adhxp {
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_u6hcr","borderVisible":"tabs__borderVisible_u6hcr","primary":"tabs__primary_u6hcr","button":"tabs__button_u6hcr","xl":"tabs__xl_u6hcr","secondary":"tabs__secondary_u6hcr","xs":"tabs__xs_u6hcr"};
9
+ const styles = {"component":"tabs__component_1f033","borderVisible":"tabs__borderVisible_1f033","primary":"tabs__primary_1f033","button":"tabs__button_1f033","xl":"tabs__xl_1f033","secondary":"tabs__secondary_1f033","xs":"tabs__xs_1f033"};
10
10
  require('./index.css')
11
11
 
12
12
  const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: y953g */
1
+ /* hash: 17e57 */
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_u6hcr {
47
+ } .tabs__component_1f033 {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0
51
- } .tabs__component_u6hcr:before {
51
+ } .tabs__component_1f033: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_u6hcr:before {
60
+ } .tabs__borderVisible_1f033:before {
61
61
  background-color: var(--color-light-neutral-translucent-300);
62
- } .tabs__primary_u6hcr {
62
+ } .tabs__primary_1f033 {
63
63
  align-items: flex-start;
64
64
  justify-content: flex-end
65
- } .tabs__primary_u6hcr:after {
65
+ } .tabs__primary_1f033: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_u6hcr:before {
73
+ } .tabs__primary_1f033:before {
74
74
  bottom: 2px;
75
- } .tabs__primary_u6hcr {
75
+ } .tabs__primary_1f033 {
76
76
 
77
- .tabs__button_u6hcr:first-child {
77
+ .tabs__button_1f033:first-child {
78
78
  padding-left: var(--gap-xs);
79
79
  margin-right: var(--gap-xs);
80
80
  }
81
- } .tabs__primary_u6hcr.tabs__xl_u6hcr .tabs__button_u6hcr:first-child {
81
+ } .tabs__primary_1f033.tabs__xl_1f033 .tabs__button_1f033:first-child {
82
82
  margin-right: var(--gap-2xs);
83
- } .tabs__secondary_u6hcr {
83
+ } .tabs__secondary_1f033 {
84
84
  align-items: center;
85
85
  justify-content: center
86
- } .tabs__secondary_u6hcr:before {
86
+ } .tabs__secondary_1f033:before {
87
87
  bottom: 0;
88
- } .tabs__secondary_u6hcr.tabs__xs_u6hcr {
88
+ } .tabs__secondary_1f033.tabs__xs_1f033 {
89
89
  width: 76px;
90
90
 
91
- .tabs__button_u6hcr:first-child {
91
+ .tabs__button_1f033: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_bnnxe","container":"tabs__container_bnnxe","fullWidthScroll":"tabs__fullWidthScroll_bnnxe"};
11
+ const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_wwf4m","container":"tabs__container_wwf4m","fullWidthScroll":"tabs__fullWidthScroll_wwf4m"};
12
12
  require('./index.css')
13
13
 
14
14
  /**
@@ -1,4 +1,4 @@
1
- /* hash: gizp1 */
1
+ /* hash: oxhje */
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_bnnxe {
45
+ } .tabs__scrollableContainerWrapper_wwf4m {
46
46
  display: flex;
47
- } .tabs__container_bnnxe {
47
+ } .tabs__container_wwf4m {
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_bnnxe::-webkit-scrollbar {
58
+ } .tabs__container_wwf4m::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_bnnxe > * {
60
+ } .tabs__container_wwf4m > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_bnnxe {
62
+ } .tabs__fullWidthScroll_wwf4m {
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-5572b7e8.js';
4
+ import { c as commonStyles } from '../../index.module-50acb6fd.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-5572b7e8.js';
5
+ import { c as commonStyles } from '../../index.module-50acb6fd.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_19or5 tabs__title_14u7v","mobile":"tabs__mobile_19or5"};
17
+ const mobileStyles = {"title":"tabs__title_rlmp1 tabs__title_1kcah","mobile":"tabs__mobile_rlmp1"};
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-5572b7e8.js';
18
+ import '../../index.module-50acb6fd.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: 1smpn */
1
+ /* hash: 2qlox */
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_14u7v {
53
+ } .tabs__component_1kcah {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_14u7v {
56
+ } .tabs__fullWidthScroll_1kcah {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_14u7v {
58
+ } .tabs__container_1kcah {
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_14u7v {
64
+ } .tabs__title_1kcah {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
66
+ } /* sizes */ .tabs__xxs_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
68
+ } .tabs__xs_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
70
+ } .tabs__s_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
72
+ } .tabs__m_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
74
+ } .tabs__l_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
76
+ } .tabs__xl_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: evptj */
1
+ /* hash: ups12 */
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_14u7v {
54
+ }.tabs__component_1kcah {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_14u7v {
57
+ }.tabs__fullWidthScroll_1kcah {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_14u7v {
59
+ }.tabs__container_1kcah {
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_14u7v {
65
+ }.tabs__title_1kcah {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
67
+ }/* sizes */.tabs__xxs_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
69
+ }.tabs__xs_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
71
+ }.tabs__s_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
73
+ }.tabs__m_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
75
+ }.tabs__l_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_14u7v .tabs__title_14u7v + .tabs__title_14u7v {
77
+ }.tabs__xl_1kcah .tabs__title_1kcah + .tabs__title_1kcah {
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_19or5 {
1641
- } .tabs__mobile_19or5 .tabs__title_19or5 + .tabs__title_19or5 {
1640
+ } .tabs__title_rlmp1 {
1641
+ } .tabs__mobile_rlmp1 .tabs__title_rlmp1 + .tabs__title_rlmp1 {
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_1q0ar","hidden":"tabs__hidden_1q0ar"};
4
+ const styles = {"component":"tabs__component_7oe7z","hidden":"tabs__hidden_7oe7z"};
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: 1ga89 */
2
- .tabs__component_1q0ar {
1
+ /* hash: 10g62 */
2
+ .tabs__component_7oe7z {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_1q0ar {
6
+ .tabs__hidden_7oe7z {
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-2ee1459e.js';
17
+ import '../../index.module-b97c5648.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-2ee1459e.js';
20
+ import '../../index.module-b97c5648.js';
21
21
  import '@alfalab/core-components-tag/modern/desktop';
22
22
  import '../secondary-tablist/Component.js';
23
- import '../../index.module-5572b7e8.js';
23
+ import '../../index.module-50acb6fd.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-2ee1459e.js';
20
+ import '../../index.module-b97c5648.js';
21
21
  import '@alfalab/core-components-tag/modern/mobile';
22
22
  import '../secondary-tablist/Component.js';
23
- import '../../index.module-5572b7e8.js';
23
+ import '../../index.module-50acb6fd.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-2ee1459e.js';
22
+ import '../../index.module-b97c5648.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-5572b7e8.js';
27
+ import '../../index.module-50acb6fd.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-2ee1459e.js';
21
+ import '../index.module-b97c5648.js';
22
22
  import '@alfalab/core-components-tag/modern/desktop';
23
23
  import '../components/secondary-tablist/Component.js';
24
- import '../index.module-5572b7e8.js';
24
+ import '../index.module-50acb6fd.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-2ee1459e.js';
23
+ import './index.module-b97c5648.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-5572b7e8.js';
28
+ import './index.module-50acb6fd.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 commonStyles = {"component":"tabs__component_1kcah","fullWidthScroll":"tabs__fullWidthScroll_1kcah","container":"tabs__container_1kcah","title":"tabs__title_1kcah","xxs":"tabs__xxs_1kcah","xs":"tabs__xs_1kcah","s":"tabs__s_1kcah","m":"tabs__m_1kcah","l":"tabs__l_1kcah","xl":"tabs__xl_1kcah"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -0,0 +1,4 @@
1
+ const styles = {"component":"tabs__component_1gn40","fullWidthScroll":"tabs__fullWidthScroll_1gn40","container":"tabs__container_1gn40","title":"tabs__title_1gn40","disabled":"tabs__disabled_1gn40","focused":"tabs__focused_1gn40","collapsed":"tabs__collapsed_1gn40","selected":"tabs__selected_1gn40","line":"tabs__line_1gn40","option":"tabs__option_1gn40","s":"tabs__s_1gn40","xs":"tabs__xs_1gn40","xxs":"tabs__xxs_1gn40","pickerWrapper":"tabs__pickerWrapper_1gn40","m":"tabs__m_1gn40","l":"tabs__l_1gn40","xl":"tabs__xl_1gn40","rightAddons":"tabs__rightAddons_1gn40"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { styles as s };
@@ -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-2ee1459e.js';
21
+ import '../index.module-b97c5648.js';
22
22
  import '@alfalab/core-components-tag/modern/mobile';
23
23
  import '../components/secondary-tablist/Component.js';
24
- import '../index.module-5572b7e8.js';
24
+ import '../index.module-50acb6fd.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.5.0",
3
+ "version": "8.5.1",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,12 +16,12 @@
16
16
  "dependencies": {
17
17
  "@alfalab/core-components-keyboard-focusable": "^4.1.0",
18
18
  "@alfalab/core-components-tag": "^8.0.1",
19
- "@alfalab/core-components-picker-button": "^11.5.0",
19
+ "@alfalab/core-components-picker-button": "^11.5.1",
20
20
  "@alfalab/core-components-badge": "^5.5.0",
21
21
  "@alfalab/core-components-mq": "^4.2.0",
22
22
  "@alfalab/hooks": "^1.13.0",
23
- "@alfalab/core-components-shared": "^0.9.0",
24
- "@alfalab/core-components-icon-button": "^6.5.0",
23
+ "@alfalab/core-components-shared": "^0.9.1",
24
+ "@alfalab/core-components-icon-button": "^6.5.1",
25
25
  "@alfalab/icons-glyph": "^2.139.0",
26
26
  "classnames": "^2.3.1",
27
27
  "compute-scroll-into-view": "^3.1.0",
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_14u7v","fullWidthScroll":"tabs__fullWidthScroll_14u7v","container":"tabs__container_14u7v","title":"tabs__title_14u7v","xxs":"tabs__xxs_14u7v","xs":"tabs__xs_14u7v","s":"tabs__s_14u7v","m":"tabs__m_14u7v","l":"tabs__l_14u7v","xl":"tabs__xl_14u7v"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var styles = {"component":"tabs__component_fqd0f","fullWidthScroll":"tabs__fullWidthScroll_fqd0f","container":"tabs__container_fqd0f","title":"tabs__title_fqd0f","disabled":"tabs__disabled_fqd0f","focused":"tabs__focused_fqd0f","collapsed":"tabs__collapsed_fqd0f","selected":"tabs__selected_fqd0f","line":"tabs__line_fqd0f","option":"tabs__option_fqd0f","s":"tabs__s_fqd0f","xs":"tabs__xs_fqd0f","xxs":"tabs__xxs_fqd0f","pickerWrapper":"tabs__pickerWrapper_fqd0f","m":"tabs__m_fqd0f","l":"tabs__l_fqd0f","xl":"tabs__xl_fqd0f","rightAddons":"tabs__rightAddons_fqd0f"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_14u7v","fullWidthScroll":"tabs__fullWidthScroll_14u7v","container":"tabs__container_14u7v","title":"tabs__title_14u7v","xxs":"tabs__xxs_14u7v","xs":"tabs__xs_14u7v","s":"tabs__s_14u7v","m":"tabs__m_14u7v","l":"tabs__l_14u7v","xl":"tabs__xl_14u7v"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {"component":"tabs__component_fqd0f","fullWidthScroll":"tabs__fullWidthScroll_fqd0f","container":"tabs__container_fqd0f","title":"tabs__title_fqd0f","disabled":"tabs__disabled_fqd0f","focused":"tabs__focused_fqd0f","collapsed":"tabs__collapsed_fqd0f","selected":"tabs__selected_fqd0f","line":"tabs__line_fqd0f","option":"tabs__option_fqd0f","s":"tabs__s_fqd0f","xs":"tabs__xs_fqd0f","xxs":"tabs__xxs_fqd0f","pickerWrapper":"tabs__pickerWrapper_fqd0f","m":"tabs__m_fqd0f","l":"tabs__l_fqd0f","xl":"tabs__xl_fqd0f","rightAddons":"tabs__rightAddons_fqd0f"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.styles = styles;
@@ -1,4 +0,0 @@
1
- const styles = {"component":"tabs__component_fqd0f","fullWidthScroll":"tabs__fullWidthScroll_fqd0f","container":"tabs__container_fqd0f","title":"tabs__title_fqd0f","disabled":"tabs__disabled_fqd0f","focused":"tabs__focused_fqd0f","collapsed":"tabs__collapsed_fqd0f","selected":"tabs__selected_fqd0f","line":"tabs__line_fqd0f","option":"tabs__option_fqd0f","s":"tabs__s_fqd0f","xs":"tabs__xs_fqd0f","xxs":"tabs__xxs_fqd0f","pickerWrapper":"tabs__pickerWrapper_fqd0f","m":"tabs__m_fqd0f","l":"tabs__l_fqd0f","xl":"tabs__xl_fqd0f","rightAddons":"tabs__rightAddons_fqd0f"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };