@alfalab/core-components-tabs 7.3.2 → 7.3.4

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 (144) hide show
  1. package/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  2. package/Component-3e68f8db.d.ts +2 -2
  3. package/Component-3fe0d3e6.d.ts +8 -0
  4. package/{Component-85892853.d.ts → Component-cac440c1.d.ts} +1 -1
  5. package/components/primary-tablist/Component.desktop.js +2 -2
  6. package/components/primary-tablist/Component.js +1 -1
  7. package/components/primary-tablist/Component.mobile.js +3 -3
  8. package/components/primary-tablist/Component.responsive.js +2 -2
  9. package/components/primary-tablist/index.css +38 -68
  10. package/components/primary-tablist/mobile.css +150 -163
  11. package/components/scrollable-container/Component.js +1 -1
  12. package/components/scrollable-container/index.css +14 -13
  13. package/components/secondary-tablist/Component.desktop.js +2 -2
  14. package/components/secondary-tablist/Component.js +1 -1
  15. package/components/secondary-tablist/Component.mobile.js +3 -3
  16. package/components/secondary-tablist/Component.responsive.js +2 -2
  17. package/components/secondary-tablist/index.css +20 -26
  18. package/components/secondary-tablist/mobile.css +130 -142
  19. package/components/tab/Component.js +1 -1
  20. package/components/tab/index.css +3 -3
  21. package/components/tabs/Component.desktop.js +3 -3
  22. package/components/tabs/Component.mobile.js +3 -3
  23. package/components/tabs/Component.responsive.js +3 -3
  24. package/components/title/Component.js +1 -1
  25. package/components/title/index.js +1 -1
  26. package/cssm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  27. package/cssm/Component-3e68f8db.d.ts +2 -2
  28. package/cssm/Component-3fe0d3e6.d.ts +8 -0
  29. package/{esm/Component-85892853.d.ts → cssm/Component-cac440c1.d.ts} +1 -1
  30. package/cssm/components/primary-tablist/index.module.css +37 -67
  31. package/cssm/components/primary-tablist/mobile.module.css +12 -12
  32. package/cssm/components/scrollable-container/index.module.css +13 -12
  33. package/cssm/components/secondary-tablist/index.module.css +19 -25
  34. package/cssm/components/secondary-tablist/mobile.module.css +11 -8
  35. package/cssm/index-3e68f8db.d.ts +4 -4
  36. package/cssm/index-3fe0d3e6.d.ts +2 -0
  37. package/cssm/index-48646db0.d.ts +1 -1
  38. package/cssm/index-7ca84eff.d.ts +6 -0
  39. package/cssm/index-ebda875c.d.ts +1 -1
  40. package/cssm/{typings-85892853.d.ts → typings-cac440c1.d.ts} +1 -5
  41. package/cssm/{utils-85892853.d.ts → utils-cac440c1.d.ts} +1 -1
  42. package/cssm/vars.css +9 -2
  43. package/desktop.js +3 -3
  44. package/esm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  45. package/esm/Component-3e68f8db.d.ts +2 -2
  46. package/esm/Component-3fe0d3e6.d.ts +8 -0
  47. package/{cssm/Component-85892853.d.ts → esm/Component-cac440c1.d.ts} +1 -1
  48. package/esm/components/primary-tablist/Component.desktop.js +2 -2
  49. package/esm/components/primary-tablist/Component.js +1 -1
  50. package/esm/components/primary-tablist/Component.mobile.js +3 -3
  51. package/esm/components/primary-tablist/Component.responsive.js +2 -2
  52. package/esm/components/primary-tablist/index.css +38 -68
  53. package/esm/components/primary-tablist/mobile.css +150 -163
  54. package/esm/components/scrollable-container/Component.js +1 -1
  55. package/esm/components/scrollable-container/index.css +14 -13
  56. package/esm/components/secondary-tablist/Component.desktop.js +2 -2
  57. package/esm/components/secondary-tablist/Component.js +1 -1
  58. package/esm/components/secondary-tablist/Component.mobile.js +3 -3
  59. package/esm/components/secondary-tablist/Component.responsive.js +2 -2
  60. package/esm/components/secondary-tablist/index.css +20 -26
  61. package/esm/components/secondary-tablist/mobile.css +130 -142
  62. package/esm/components/tab/Component.js +1 -1
  63. package/esm/components/tab/index.css +3 -3
  64. package/esm/components/tabs/Component.desktop.js +3 -3
  65. package/esm/components/tabs/Component.mobile.js +3 -3
  66. package/esm/components/tabs/Component.responsive.js +3 -3
  67. package/esm/components/title/Component.js +1 -1
  68. package/esm/components/title/index.js +1 -1
  69. package/esm/desktop.js +3 -3
  70. package/esm/hooks/use-collapsible-elements.js +1 -1
  71. package/esm/hooks/use-tablist-titles.js +1 -1
  72. package/esm/index-3e68f8db.d.ts +4 -4
  73. package/esm/index-3fe0d3e6.d.ts +2 -0
  74. package/esm/index-48646db0.d.ts +1 -1
  75. package/esm/index-7ca84eff.d.ts +6 -0
  76. package/esm/index-ebda875c.d.ts +1 -1
  77. package/esm/index.js +3 -3
  78. package/esm/index.module-ba97f96d.js +4 -0
  79. package/esm/index.module-da19acab.js +4 -0
  80. package/esm/mobile.js +3 -3
  81. package/esm/responsive.js +3 -3
  82. package/esm/synthetic-events.js +1 -1
  83. package/esm/{tslib.es6-b7cce272.d.ts → tslib.es6-ef625021.d.ts} +0 -0
  84. package/esm/{tslib.es6-b7cce272.js → tslib.es6-ef625021.js} +0 -0
  85. package/esm/{typings-85892853.d.ts → typings-cac440c1.d.ts} +1 -5
  86. package/esm/{utils-85892853.d.ts → utils-cac440c1.d.ts} +1 -1
  87. package/hooks/use-collapsible-elements.js +1 -1
  88. package/hooks/use-tablist-titles.js +1 -1
  89. package/index-3e68f8db.d.ts +4 -4
  90. package/index-3fe0d3e6.d.ts +2 -0
  91. package/index-48646db0.d.ts +1 -1
  92. package/index-7ca84eff.d.ts +6 -0
  93. package/index-ebda875c.d.ts +1 -1
  94. package/index.js +3 -3
  95. package/index.module-3b1c7c9a.js +6 -0
  96. package/index.module-88a600f7.js +6 -0
  97. package/mobile.js +3 -3
  98. package/modern/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
  99. package/modern/Component-3e68f8db.d.ts +2 -2
  100. package/modern/Component-3fe0d3e6.d.ts +8 -0
  101. package/modern/{Component-85892853.d.ts → Component-cac440c1.d.ts} +1 -1
  102. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  103. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  104. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  105. package/modern/components/primary-tablist/index.css +38 -68
  106. package/modern/components/primary-tablist/mobile.css +150 -163
  107. package/modern/components/scrollable-container/Component.js +1 -1
  108. package/modern/components/scrollable-container/index.css +14 -13
  109. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  110. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  111. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  112. package/modern/components/secondary-tablist/index.css +20 -26
  113. package/modern/components/secondary-tablist/mobile.css +130 -142
  114. package/modern/components/tab/Component.js +1 -1
  115. package/modern/components/tab/index.css +3 -3
  116. package/modern/components/tabs/Component.desktop.js +2 -2
  117. package/modern/components/tabs/Component.mobile.js +2 -2
  118. package/modern/components/tabs/Component.responsive.js +2 -2
  119. package/modern/desktop.js +2 -2
  120. package/modern/index-3e68f8db.d.ts +4 -4
  121. package/modern/index-3fe0d3e6.d.ts +2 -0
  122. package/modern/index-48646db0.d.ts +1 -1
  123. package/modern/index-7ca84eff.d.ts +6 -0
  124. package/modern/index-ebda875c.d.ts +1 -1
  125. package/modern/index.js +2 -2
  126. package/modern/index.module-08b2503f.js +4 -0
  127. package/modern/index.module-a4ad700d.js +4 -0
  128. package/modern/mobile.js +2 -2
  129. package/modern/responsive.js +2 -2
  130. package/modern/{typings-85892853.d.ts → typings-cac440c1.d.ts} +1 -5
  131. package/modern/{utils-85892853.d.ts → utils-cac440c1.d.ts} +1 -1
  132. package/package.json +2 -2
  133. package/responsive.js +3 -3
  134. package/synthetic-events.js +1 -1
  135. package/{tslib.es6-310680f9.d.ts → tslib.es6-860bcbc6.d.ts} +0 -0
  136. package/{tslib.es6-310680f9.js → tslib.es6-860bcbc6.js} +0 -0
  137. package/{typings-85892853.d.ts → typings-cac440c1.d.ts} +1 -5
  138. package/{utils-85892853.d.ts → utils-cac440c1.d.ts} +1 -1
  139. package/esm/index.module-260b2e11.js +0 -4
  140. package/esm/index.module-6cb75603.js +0 -4
  141. package/index.module-26e594f4.js +0 -6
  142. package/index.module-3d214349.js +0 -6
  143. package/modern/index.module-651ee496.js +0 -4
  144. package/modern/index.module-c197fcff.js +0 -4
@@ -1,20 +1,22 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
2
3
  --color-light-border-accent: #ef3124;
3
4
  --color-light-border-link: #007aff;
4
5
  --color-light-border-primary: #dbdee1;
5
6
  --color-light-text-primary: #0b1f35;
6
7
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
7
8
  --color-light-text-tertiary: rgba(11, 31, 53, 0.3);
8
- }
9
- :root {
9
+ } :root {
10
+ } :root {
11
+ } :root {
10
12
 
11
13
  /* Hard */
12
14
 
13
15
  /* Up */
14
16
 
15
17
  /* Hard up */
16
- }
17
- :root {
18
+ } :root {
19
+ } :root {
18
20
  --gap-2xs: 4px;
19
21
  --gap-xs: 8px;
20
22
  --gap-s: 12px;
@@ -22,16 +24,13 @@
22
24
  --gap-l: 20px;
23
25
  --gap-2xl: 32px;
24
26
  --gap-2xs-neg: -4px;
25
- }
26
- :root {
27
+ } :root {
27
28
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
28
29
  sans-serif;
29
- }
30
- :root {
30
+ } :root {
31
31
  --focus-color: var(--color-light-border-link);
32
32
  --disabled-cursor: not-allowed;
33
- }
34
- :root {
33
+ } :root {
35
34
  --primary-tablist-color: var(--color-light-text-secondary);
36
35
  --primary-tablist-hover-color: var(--color-light-text-primary);
37
36
  --primary-tablist-selected-color: var(--color-light-text-primary);
@@ -83,13 +82,11 @@
83
82
  /* size l */
84
83
 
85
84
  /* size xl */
86
- }
87
- .component {
85
+ } .component {
88
86
  position: relative;
89
87
  display: inline-flex;
90
88
  min-width: 100%
91
- }
92
- .component:before {
89
+ } .component:before {
93
90
  content: '';
94
91
  display: block;
95
92
  position: absolute;
@@ -97,20 +94,17 @@
97
94
  height: 1px;
98
95
  width: 100%;
99
96
  background-color: var(--primary-tablist-bottom-border-color);
100
- }
101
- .fullWidthScroll {
97
+ } .fullWidthScroll {
102
98
  min-width: calc(100% - 2 * var(--gap-m));
103
99
  margin: 0 var(--gap-m);
104
- }
105
- .container {
100
+ } .container {
106
101
  position: relative;
107
102
  overflow: hidden;
108
103
 
109
104
  /* focus-outline fix */
110
105
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
111
106
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
112
- }
113
- .title {
107
+ } .title {
114
108
  display: flex;
115
109
  align-items: center;
116
110
  height: 100%;
@@ -127,100 +121,76 @@
127
121
  user-select: none;
128
122
  cursor: pointer;
129
123
  outline: none
130
- }
131
- .title:not(.disabled):hover {
124
+ } .title:not(.disabled):hover {
132
125
  color: var(--primary-tablist-hover-color);
133
- }
134
- .focused {
126
+ } .focused {
135
127
  outline: 2px solid var(--focus-color);
136
128
  outline-offset: 2px;
137
- }
138
- .collapsed {
129
+ } .collapsed {
139
130
  order: 99;
140
131
  visibility: collapse;
141
- }
142
- .selected {
132
+ } .selected {
143
133
  cursor: default;
144
134
  color: var(--primary-tablist-selected-color);
145
- }
146
- .disabled {
135
+ } .disabled {
147
136
  cursor: var(--disabled-cursor);
148
137
  color: var(--primary-tablist-disabled-color);
149
- }
150
- .line {
138
+ } .line {
151
139
  position: absolute;
152
140
  height: 3px;
153
141
  bottom: 0;
154
142
  left: 0;
155
143
  background-color: var(--primary-tablist-line-color);
156
144
  transition: transform 0.2s ease, width 0.2s ease;
157
- }
158
- /* sizes */
159
- .s .title, .xs .title, .xxs .title {
145
+ } /* sizes */ .s .title, .xs .title, .xxs .title {
160
146
  padding: var(--primary-tablist-s-padding);
161
147
  font-size: var(--primary-tablist-s-font-size);
162
148
  font-weight: var(--primary-tablist-s-font-weight);
163
149
  font-family: var(--primary-tablist-s-font-family);
164
150
  line-height: 24px;
165
- }
166
- .s .title + .title, .xs .title + .title, .xxs .title + .title {
151
+ } .s .title + .title, .xs .title + .title, .xxs .title + .title {
167
152
  margin-left: var(--primary-tablist-s-gaps);
168
- }
169
- .s .pickerWrapper, .xs .pickerWrapper, .xxs .pickerWrapper {
153
+ } .s .pickerWrapper, .xs .pickerWrapper, .xxs .pickerWrapper {
170
154
  margin-left: var(--primary-tablist-s-gaps);
171
- }
172
- .s .option, .xs .option, .xxs .option {
155
+ } .s .option, .xs .option, .xxs .option {
173
156
  padding: 0;
174
- }
175
- .m .title {
157
+ } .m .title {
176
158
  padding: var(--primary-tablist-m-padding);
177
159
  font-size: var(--primary-tablist-m-font-size);
178
160
  font-weight: var(--primary-tablist-m-font-weight);
179
161
  font-family: var(--primary-tablist-m-font-family);
180
162
  line-height: 24px;
181
- }
182
- .m .title + .title {
163
+ } .m .title + .title {
183
164
  margin-left: var(--primary-tablist-m-gaps);
184
- }
185
- .m .pickerWrapper {
165
+ } .m .pickerWrapper {
186
166
  margin-left: var(--primary-tablist-m-gaps);
187
- }
188
- .m .option {
167
+ } .m .option {
189
168
  padding: 0;
190
- }
191
- .l .title {
169
+ } .l .title {
192
170
  padding: var(--primary-tablist-l-padding);
193
171
  font-size: var(--primary-tablist-l-font-size);
194
172
  font-weight: var(--primary-tablist-l-font-weight);
195
173
  font-family: var(--primary-tablist-l-font-family);
196
174
  line-height: 24px;
197
- }
198
- .l .title + .title {
175
+ } .l .title + .title {
199
176
  margin-left: var(--primary-tablist-l-gaps);
200
- }
201
- .l .pickerWrapper {
177
+ } .l .pickerWrapper {
202
178
  margin-left: var(--primary-tablist-l-gaps);
203
- }
204
- .l .option {
179
+ } .l .option {
205
180
  padding: 0;
206
- }
207
- .xl .title {
181
+ } .xl .title {
208
182
  padding: var(--primary-tablist-xl-padding);
209
183
  font-size: var(--primary-tablist-xl-font-size);
210
184
  font-weight: var(--primary-tablist-xl-font-weight);
211
185
  font-family: var(--primary-tablist-xl-font-family);
212
186
  line-height: 32px;
213
- }
214
- .xl .title + .title {
187
+ } .xl .title + .title {
215
188
  margin-left: var(--primary-tablist-xl-gaps);
216
- }
217
- .xl .pickerWrapper {
189
+ } .xl .pickerWrapper {
218
190
  margin-left: var(--primary-tablist-xl-gaps);
219
- }
220
- .xl .option {
191
+ } .xl .option {
221
192
  padding: 0;
222
- }
223
- .rightAddons {
193
+ } .rightAddons {
224
194
  display: flex;
225
195
  justify-content: center;
226
196
  align-items: center;
@@ -1,20 +1,23 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
10
14
  --gap-s: 12px;
11
15
  --gap-xl: 24px;
12
- }
13
- :root {
16
+ } :root {
14
17
  --font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
15
18
  sans-serif;
16
- }
17
- :root {
19
+ } :root {
20
+ } :root {
18
21
 
19
22
  /* mobile */
20
23
  --primary-tablist-mobile-gaps: var(--gap-xl);
@@ -45,17 +48,14 @@
45
48
  /* size l */
46
49
 
47
50
  /* size xl */
48
- }
49
- .title {
51
+ } .title {
50
52
  composes: title from 'index.module.css';
51
- }
52
- .mobile .title {
53
+ } .mobile .title {
53
54
  padding: var(--primary-tablist-mobile-padding);
54
55
  font-size: var(--primary-tablist-mobile-font-size);
55
56
  font-weight: var(--primary-tablist-mobile-font-weight);
56
57
  font-family: var(--primary-tablist-mobile-font-family);
57
58
  line-height: var(--primary-tablist-mobile-line-height)
58
- }
59
- .mobile .title + .title {
59
+ } .mobile .title + .title {
60
60
  margin-left: var(--primary-tablist-mobile-gaps);
61
61
  }
@@ -1,17 +1,22 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
10
14
  --gap-2xs: 4px;
11
15
  --gap-2xs-neg: -4px;
12
16
  --gap-m-neg: -16px;
13
- }
14
- :root {
17
+ } :root {
18
+ } :root {
19
+ } :root {
15
20
 
16
21
  /* mobile */
17
22
 
@@ -36,8 +41,7 @@
36
41
  /* size l */
37
42
 
38
43
  /* size xl */
39
- }
40
- .container {
44
+ } .container {
41
45
  position: relative;
42
46
  overflow-x: auto;
43
47
  overflow-y: hidden;
@@ -47,13 +51,10 @@
47
51
  /* focus-outline fix */
48
52
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
49
53
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
50
- }
51
- .container::-webkit-scrollbar {
54
+ } .container::-webkit-scrollbar {
52
55
  display: none;
53
- }
54
- .container > * {
56
+ } .container > * {
55
57
  flex-shrink: 0;
56
- }
57
- .fullWidthScroll {
58
+ } .fullWidthScroll {
58
59
  margin: 0 var(--gap-m-neg);
59
60
  }
@@ -1,19 +1,24 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
10
14
  --gap-2xs: 4px;
11
15
  --gap-xs: 8px;
12
16
  --gap-s: 12px;
13
17
  --gap-m: 16px;
14
18
  --gap-2xs-neg: -4px;
15
- }
16
- :root {
19
+ } :root {
20
+ } :root {
21
+ } :root {
17
22
 
18
23
  /* mobile */
19
24
 
@@ -44,40 +49,29 @@
44
49
 
45
50
  /* size xl */
46
51
  --secondary-tablist-xl-gaps: var(--gap-m);
47
- }
48
- .component {
52
+ } .component {
49
53
  position: relative;
50
54
  display: inline-flex;
51
- }
52
- .fullWidthScroll {
55
+ } .fullWidthScroll {
53
56
  margin: 0 var(--gap-m);
54
- }
55
- .container {
57
+ } .container {
56
58
  overflow: hidden;
57
59
 
58
60
  /* focus-outline fix */
59
61
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
60
62
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
61
- }
62
- .title {
63
+ } .title {
63
64
  white-space: nowrap;
64
- }
65
- /* sizes */
66
- .xxs .title + .title {
65
+ } /* sizes */ .xxs .title + .title {
67
66
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- }
69
- .xs .title + .title {
67
+ } .xs .title + .title {
70
68
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }
72
- .s .title + .title {
69
+ } .s .title + .title {
73
70
  margin-left: var(--secondary-tablist-s-gaps);
74
- }
75
- .m .title + .title {
71
+ } .m .title + .title {
76
72
  margin-left: var(--secondary-tablist-m-gaps);
77
- }
78
- .l .title + .title {
73
+ } .l .title + .title {
79
74
  margin-left: var(--secondary-tablist-l-gaps);
80
- }
81
- .xl .title + .title {
75
+ } .xl .title + .title {
82
76
  margin-left: var(--secondary-tablist-xl-gaps);
83
77
  }
@@ -1,15 +1,20 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
10
14
  --gap-xs: 8px;
11
- }
12
- :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
13
18
 
14
19
  /* mobile */
15
20
 
@@ -35,10 +40,8 @@
35
40
  /* size l */
36
41
 
37
42
  /* size xl */
38
- }
39
- .title {
43
+ } .title {
40
44
  composes: title from 'index.module.css';
41
- }
42
- .mobile .title + .title {
45
+ } .mobile .title + .title {
43
46
  margin-left: var(--secondary-tablist-mobile-gaps);
44
47
  }
@@ -2,8 +2,8 @@
2
2
  import React from "react";
3
3
  import { ReactNode } from "react";
4
4
  import { FormControlProps } from "./Component-e67996e9";
5
- import { BaseSelectProps, OptionProps, OptionShape } from "./typings-85892853";
6
- type SelectFieldProps = FormControlProps & Record<string, unknown>;
5
+ import { BaseSelectProps, OptionProps, OptionShape } from "./typings-cac440c1";
6
+ type SelectFieldProps = Omit<FormControlProps, "size"> & Record<string, unknown>;
7
7
  type SelectProps = Omit<BaseSelectProps, "fieldProps"> & {
8
8
  /**
9
9
  * Пропсы, которые будут прокинуты в компонент поля
@@ -94,5 +94,5 @@ declare const Skeleton: React.FC<SkeletonProps>;
94
94
  export { SelectFieldProps, SelectProps, Select, useSelectWithLoading, useLazyLoading, SkeletonProps, Skeleton };
95
95
  export * from "./hook-edac5428";
96
96
  export * from "./index-48646db0";
97
- export * from "./typings-85892853";
98
- export * from "./utils-85892853";
97
+ export * from "./typings-cac440c1";
98
+ export * from "./utils-cac440c1";
@@ -1 +1,3 @@
1
+ declare const isClient: () => boolean;
2
+ export { isClient };
1
3
  export * from "./getDataTestId-3fe0d3e6";
@@ -1,2 +1,2 @@
1
- export * from "./Component-85892853";
1
+ export * from "./Component-cac440c1";
2
2
  export * from "./index-ebda875c";
@@ -24,6 +24,12 @@ type BottomSheetProps = {
24
24
  * Кнопка действия (обычно, это кнопка закрытия)
25
25
  */
26
26
  actionButton?: ReactNode;
27
+ /**
28
+ * Нода, компонент или функция возвращающая их
29
+ *
30
+ * Контейнер к которому будут добавляться порталы
31
+ */
32
+ container?: BaseModalProps["container"];
27
33
  /**
28
34
  * Дополнительный класс
29
35
  */
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  /// <reference types="react-transition-group" />
3
- export * from "./Component-85892853";
3
+ export * from "./Component-cac440c1";
@@ -250,10 +250,6 @@ type FieldProps = {
250
250
  * Дополнительный класс
251
251
  */
252
252
  className?: string;
253
- /**
254
- * Размер компонента
255
- */
256
- size?: 's' | 'm' | 'l' | 'xl';
257
253
  /**
258
254
  * Выбранный пункт
259
255
  */
@@ -328,7 +324,7 @@ type FieldProps = {
328
324
  * Идентификатор для систем автоматизированного тестирования
329
325
  */
330
326
  dataTestId?: string;
331
- };
327
+ } & Record<string, any>;
332
328
  type ArrowProps = {
333
329
  /**
334
330
  * Дополнительный класс
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape } from "./typings-85892853";
2
+ import { BaseSelectProps, GroupShape, OptionShape } from "./typings-cac440c1";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
package/cssm/vars.css CHANGED
@@ -1,12 +1,19 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
10
17
 
11
18
  /* mobile */
12
19
 
package/desktop.js CHANGED
@@ -7,7 +7,7 @@ var components_tab_Component = require('./components/tab/Component.js');
7
7
  var components_tabs_Component_desktop = require('./components/tabs/Component.desktop.js');
8
8
  var hooks_useTabs = require('./hooks/use-tabs.js');
9
9
  var hooks_useCollapsibleElements = require('./hooks/use-collapsible-elements.js');
10
- require('./tslib.es6-310680f9.js');
10
+ require('./tslib.es6-860bcbc6.js');
11
11
  require('react');
12
12
  require('./components/primary-tablist/Component.js');
13
13
  require('classnames');
@@ -18,11 +18,11 @@ require('./hooks/use-tablist-titles.js');
18
18
  require('@alfalab/hooks');
19
19
  require('./synthetic-events.js');
20
20
  require('./components/title/Component.js');
21
- require('./index.module-3d214349.js');
21
+ require('./index.module-88a600f7.js');
22
22
  require('compute-scroll-into-view');
23
23
  require('./components/secondary-tablist/Component.js');
24
24
  require('@alfalab/core-components-tag');
25
- require('./index.module-26e594f4.js');
25
+ require('./index.module-3b1c7c9a.js');
26
26
  require('./components/tabs/Component.js');
27
27
  require('@juggle/resize-observer');
28
28
 
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { FC, SVGProps } from 'react';
3
- import { OptionShape } from "./typings-85892853";
4
- import { OptionProps as BaseOptionProps } from "./typings-85892853";
3
+ import { OptionShape } from "./typings-cac440c1";
4
+ import { OptionProps as BaseOptionProps } from "./typings-cac440c1";
5
5
  type OptionProps = Omit<BaseOptionProps, 'option'> & {
6
6
  option: OptionShape & {
7
7
  icon?: FC<SVGProps<SVGSVGElement>>;
@@ -75,6 +75,10 @@ type TextBaseProps = {
75
75
  * Добавляет отступы к тэгу 'p'
76
76
  */
77
77
  defaultMargins?: never;
78
+ /**
79
+ * Количество строк (не поддерживает IE)
80
+ */
81
+ rowLimit?: 1 | 2 | 3;
78
82
  };
79
83
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
80
84
  tag?: "p";
@@ -119,6 +123,10 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
119
123
  * Контент (native prop)
120
124
  */
121
125
  children?: React.ReactNode;
126
+ /**
127
+ * Количество строк (не поддерживает IE)
128
+ */
129
+ rowLimit?: 1 | 2 | 3;
122
130
  };
123
131
  type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
124
132
  declare const Typography: {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { FC } from 'react';
3
- import { OptionProps } from "./typings-85892853";
3
+ import { OptionProps } from "./typings-cac440c1";
4
4
  declare const BaseOption: FC<OptionProps>;
5
5
  export { BaseOption };
@@ -1,7 +1,7 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-ef625021.js';
2
2
  import React from 'react';
3
3
  import { PrimaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-6cb75603.js';
4
+ import { c as commonStyles } from '../../index.module-ba97f96d.js';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-badge/esm';
7
7
  import '@alfalab/core-components-keyboard-focusable/esm';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-b7cce272.js';
1
+ import { a as __assign } from '../../tslib.es6-ef625021.js';
2
2
  import React, { useRef, useEffect, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Badge } from '@alfalab/core-components-badge/esm';
@@ -1,8 +1,8 @@
1
- import { a as __assign, _ as __rest } from '../../tslib.es6-b7cce272.js';
1
+ import { a as __assign, _ as __rest } from '../../tslib.es6-ef625021.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { PrimaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-6cb75603.js';
5
+ import { c as commonStyles } from '../../index.module-ba97f96d.js';
6
6
  import '@alfalab/core-components-badge/esm';
7
7
  import '@alfalab/core-components-keyboard-focusable/esm';
8
8
  import '@alfalab/core-components-picker-button/esm/desktop';
@@ -16,7 +16,7 @@ import '../scrollable-container/Component.js';
16
16
  import 'compute-scroll-into-view';
17
17
  import '../title/Component.js';
18
18
 
19
- var mobileStyles = {"title":"tabs__title_1f5an tabs__title_vx28z","mobile":"tabs__mobile_1f5an"};
19
+ var mobileStyles = {"title":"tabs__title_1awe6 tabs__title_mcuzy","mobile":"tabs__mobile_1awe6"};
20
20
  require('./mobile.css')
21
21
 
22
22
  var styles = __assign(__assign({}, commonStyles), mobileStyles);
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-ef625021.js';
2
2
  import React from 'react';
3
3
  import { useMedia } from '@alfalab/hooks';
4
4
  import { PrimaryTabListDesktop } from './Component.desktop.js';
@@ -16,7 +16,7 @@ import '../../synthetic-events.js';
16
16
  import '../scrollable-container/Component.js';
17
17
  import 'compute-scroll-into-view';
18
18
  import '../title/Component.js';
19
- import '../../index.module-6cb75603.js';
19
+ import '../../index.module-ba97f96d.js';
20
20
 
21
21
  var PrimaryTabListResponsive = function (_a) {
22
22
  var size = _a.size, _b = _a.defaultMatch, defaultMatch = _b === void 0 ? 'desktop' : _b, collapsible = _a.collapsible, collapsedTabsIds = _a.collapsedTabsIds, fullWidthScroll = _a.fullWidthScroll, restProps = __rest(_a, ["size", "defaultMatch", "collapsible", "collapsedTabsIds", "fullWidthScroll"]);