@fluentui/react-tabs 9.6.3 → 9.6.5
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.
- package/CHANGELOG.md +32 -8
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabList.js +1 -1
- package/lib/TabList.js.map +1 -1
- package/lib/components/Tab/index.js +5 -6
- package/lib/components/Tab/index.js.map +1 -1
- package/lib/components/Tab/useTabStyles.styles.js +78 -46
- package/lib/components/Tab/useTabStyles.styles.js.map +1 -1
- package/lib/components/TabList/index.js +6 -7
- package/lib/components/TabList/index.js.map +1 -1
- package/lib-commonjs/Tab.js +36 -2
- package/lib-commonjs/Tab.js.map +1 -1
- package/lib-commonjs/TabList.js +36 -2
- package/lib-commonjs/TabList.js.map +1 -1
- package/lib-commonjs/components/Tab/index.js +40 -7
- package/lib-commonjs/components/Tab/index.js.map +1 -1
- package/lib-commonjs/components/Tab/useTabStyles.styles.js +176 -122
- package/lib-commonjs/components/Tab/useTabStyles.styles.js.map +1 -1
- package/lib-commonjs/components/TabList/index.js +41 -8
- package/lib-commonjs/components/TabList/index.js.map +1 -1
- package/package.json +7 -7
package/lib-commonjs/Tab.js
CHANGED
|
@@ -2,5 +2,39 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
Tab: function() {
|
|
13
|
+
return _index.Tab;
|
|
14
|
+
},
|
|
15
|
+
renderTab_unstable: function() {
|
|
16
|
+
return _index.renderTab_unstable;
|
|
17
|
+
},
|
|
18
|
+
tabClassNames: function() {
|
|
19
|
+
return _index.tabClassNames;
|
|
20
|
+
},
|
|
21
|
+
useTabAnimatedIndicatorStyles_unstable: function() {
|
|
22
|
+
return _index.useTabAnimatedIndicatorStyles_unstable;
|
|
23
|
+
},
|
|
24
|
+
useTabButtonStyles_unstable: function() {
|
|
25
|
+
return _index.useTabButtonStyles_unstable;
|
|
26
|
+
},
|
|
27
|
+
useTabContentStyles_unstable: function() {
|
|
28
|
+
return _index.useTabContentStyles_unstable;
|
|
29
|
+
},
|
|
30
|
+
useTabIndicatorStyles_unstable: function() {
|
|
31
|
+
return _index.useTabIndicatorStyles_unstable;
|
|
32
|
+
},
|
|
33
|
+
useTabStyles_unstable: function() {
|
|
34
|
+
return _index.useTabStyles_unstable;
|
|
35
|
+
},
|
|
36
|
+
useTab_unstable: function() {
|
|
37
|
+
return _index.useTab_unstable;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const _index = require("./components/Tab/index");
|
package/lib-commonjs/Tab.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Tab.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/Tab.ts"],"sourcesContent":["export type { TabInternalSlots, TabProps, TabSlots, TabState, TabValue } from './components/Tab/index';\nexport {\n Tab,\n renderTab_unstable,\n tabClassNames,\n useTabAnimatedIndicatorStyles_unstable,\n useTabButtonStyles_unstable,\n useTabContentStyles_unstable,\n useTabIndicatorStyles_unstable,\n useTabStyles_unstable,\n useTab_unstable,\n} from './components/Tab/index';\n"],"names":["Tab","renderTab_unstable","tabClassNames","useTabAnimatedIndicatorStyles_unstable","useTabButtonStyles_unstable","useTabContentStyles_unstable","useTabIndicatorStyles_unstable","useTabStyles_unstable","useTab_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEEA,GAAG;eAAHA,UAAG;;IACHC,kBAAkB;eAAlBA,yBAAkB;;IAClBC,aAAa;eAAbA,oBAAa;;IACbC,sCAAsC;eAAtCA,6CAAsC;;IACtCC,2BAA2B;eAA3BA,kCAA2B;;IAC3BC,4BAA4B;eAA5BA,mCAA4B;;IAC5BC,8BAA8B;eAA9BA,qCAA8B;;IAC9BC,qBAAqB;eAArBA,4BAAqB;;IACrBC,eAAe;eAAfA,sBAAe;;;uBACV"}
|
package/lib-commonjs/TabList.js
CHANGED
|
@@ -2,5 +2,39 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
TabList: function() {
|
|
13
|
+
return _index.TabList;
|
|
14
|
+
},
|
|
15
|
+
TabListContext: function() {
|
|
16
|
+
return _index.TabListContext;
|
|
17
|
+
},
|
|
18
|
+
TabListProvider: function() {
|
|
19
|
+
return _index.TabListProvider;
|
|
20
|
+
},
|
|
21
|
+
renderTabList_unstable: function() {
|
|
22
|
+
return _index.renderTabList_unstable;
|
|
23
|
+
},
|
|
24
|
+
tabListClassNames: function() {
|
|
25
|
+
return _index.tabListClassNames;
|
|
26
|
+
},
|
|
27
|
+
useTabListContextValues_unstable: function() {
|
|
28
|
+
return _index.useTabListContextValues_unstable;
|
|
29
|
+
},
|
|
30
|
+
useTabListContext_unstable: function() {
|
|
31
|
+
return _index.useTabListContext_unstable;
|
|
32
|
+
},
|
|
33
|
+
useTabListStyles_unstable: function() {
|
|
34
|
+
return _index.useTabListStyles_unstable;
|
|
35
|
+
},
|
|
36
|
+
useTabList_unstable: function() {
|
|
37
|
+
return _index.useTabList_unstable;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const _index = require("./components/TabList/index");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/TabList.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/TabList.ts"],"sourcesContent":["export type {\n RegisterTabEventHandler,\n SelectTabData,\n SelectTabEvent,\n SelectTabEventHandler,\n TabListContextValue,\n TabListContextValues,\n TabListProps,\n TabListSlots,\n TabListState,\n TabRegisterData,\n} from './components/TabList/index';\nexport {\n TabList,\n TabListContext,\n TabListProvider,\n renderTabList_unstable,\n tabListClassNames,\n useTabListContextValues_unstable,\n useTabListContext_unstable,\n useTabListStyles_unstable,\n useTabList_unstable,\n} from './components/TabList/index';\n"],"names":["TabList","TabListContext","TabListProvider","renderTabList_unstable","tabListClassNames","useTabListContextValues_unstable","useTabListContext_unstable","useTabListStyles_unstable","useTabList_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAaEA,OAAO;eAAPA,cAAO;;IACPC,cAAc;eAAdA,qBAAc;;IACdC,eAAe;eAAfA,sBAAe;;IACfC,sBAAsB;eAAtBA,6BAAsB;;IACtBC,iBAAiB;eAAjBA,wBAAiB;;IACjBC,gCAAgC;eAAhCA,uCAAgC;;IAChCC,0BAA0B;eAA1BA,iCAA0B;;IAC1BC,yBAAyB;eAAzBA,gCAAyB;;IACzBC,mBAAmB;eAAnBA,0BAAmB;;;uBACd"}
|
|
@@ -2,10 +2,43 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
Tab: function() {
|
|
13
|
+
return _Tab.Tab;
|
|
14
|
+
},
|
|
15
|
+
renderTab_unstable: function() {
|
|
16
|
+
return _renderTab.renderTab_unstable;
|
|
17
|
+
},
|
|
18
|
+
tabClassNames: function() {
|
|
19
|
+
return _useTabStylesstyles.tabClassNames;
|
|
20
|
+
},
|
|
21
|
+
useTabAnimatedIndicatorStyles_unstable: function() {
|
|
22
|
+
return _useTabAnimatedIndicatorstyles.useTabAnimatedIndicatorStyles_unstable;
|
|
23
|
+
},
|
|
24
|
+
useTabButtonStyles_unstable: function() {
|
|
25
|
+
return _useTabStylesstyles.useTabButtonStyles_unstable;
|
|
26
|
+
},
|
|
27
|
+
useTabContentStyles_unstable: function() {
|
|
28
|
+
return _useTabStylesstyles.useTabContentStyles_unstable;
|
|
29
|
+
},
|
|
30
|
+
useTabIndicatorStyles_unstable: function() {
|
|
31
|
+
return _useTabStylesstyles.useTabIndicatorStyles_unstable;
|
|
32
|
+
},
|
|
33
|
+
useTabStyles_unstable: function() {
|
|
34
|
+
return _useTabStylesstyles.useTabStyles_unstable;
|
|
35
|
+
},
|
|
36
|
+
useTab_unstable: function() {
|
|
37
|
+
return _useTab.useTab_unstable;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
const _Tab = require("./Tab");
|
|
41
|
+
const _renderTab = require("./renderTab");
|
|
42
|
+
const _useTab = require("./useTab");
|
|
43
|
+
const _useTabStylesstyles = require("./useTabStyles.styles");
|
|
44
|
+
const _useTabAnimatedIndicatorstyles = require("./useTabAnimatedIndicator.styles");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Tab/index.ts"],"sourcesContent":["export
|
|
1
|
+
{"version":3,"sources":["../src/components/Tab/index.ts"],"sourcesContent":["export { Tab } from './Tab';\nexport type { TabInternalSlots, TabProps, TabSlots, TabState, TabValue } from './Tab.types';\nexport { renderTab_unstable } from './renderTab';\nexport { useTab_unstable } from './useTab';\nexport {\n tabClassNames,\n useTabButtonStyles_unstable,\n useTabContentStyles_unstable,\n useTabIndicatorStyles_unstable,\n useTabStyles_unstable,\n} from './useTabStyles.styles';\nexport { useTabAnimatedIndicatorStyles_unstable } from './useTabAnimatedIndicator.styles';\n"],"names":["Tab","renderTab_unstable","tabClassNames","useTabAnimatedIndicatorStyles_unstable","useTabButtonStyles_unstable","useTabContentStyles_unstable","useTabIndicatorStyles_unstable","useTabStyles_unstable","useTab_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAASA,GAAG;eAAHA,QAAG;;IAEHC,kBAAkB;eAAlBA,6BAAkB;;IAGzBC,aAAa;eAAbA,iCAAa;;IAMNC,sCAAsC;eAAtCA,qEAAsC;;IAL7CC,2BAA2B;eAA3BA,+CAA2B;;IAC3BC,4BAA4B;eAA5BA,gDAA4B;;IAC5BC,8BAA8B;eAA9BA,kDAA8B;;IAC9BC,qBAAqB;eAArBA,yCAAqB;;IANdC,eAAe;eAAfA,uBAAe;;;qBAHJ;2BAEe;wBACH;oCAOzB;+CACgD"}
|
|
@@ -169,11 +169,13 @@ const iconClassNames = {
|
|
|
169
169
|
B0q3jbp: "f1iywnoi",
|
|
170
170
|
Be9ayug: "f9n45c4"
|
|
171
171
|
},
|
|
172
|
+
disabledCursor: {
|
|
173
|
+
Bceei9c: "fdrzuqr"
|
|
174
|
+
},
|
|
172
175
|
disabled: {
|
|
173
176
|
De3pzq: "f1c21dwh",
|
|
174
177
|
Bptxc3x: "fato7r6",
|
|
175
|
-
cl4aha: "fao1bnu"
|
|
176
|
-
Bceei9c: "fdrzuqr"
|
|
178
|
+
cl4aha: "fao1bnu"
|
|
177
179
|
},
|
|
178
180
|
selected: {
|
|
179
181
|
Bptxc3x: "f1cadz5z",
|
|
@@ -182,8 +184,104 @@ const iconClassNames = {
|
|
|
182
184
|
cl4aha: "ffplhdr",
|
|
183
185
|
B0q3jbp: "fjo17wb",
|
|
184
186
|
Be9ayug: "f148789c"
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
+
}
|
|
188
|
+
}, {
|
|
189
|
+
d: [
|
|
190
|
+
".f122n59{align-items:center;}",
|
|
191
|
+
".f13qh94s{display:grid;}",
|
|
192
|
+
".fi64zpg{flex-shrink:0;}",
|
|
193
|
+
".f1u07yai{grid-auto-flow:column;}",
|
|
194
|
+
".frn2hmy{grid-template-columns:auto;}",
|
|
195
|
+
".f1olsevy{grid-template-rows:auto;}",
|
|
196
|
+
".f1s6fcnf{outline-style:none;}",
|
|
197
|
+
".f10pi13n{position:relative;}",
|
|
198
|
+
[
|
|
199
|
+
".f3bhgqh{border:none;}",
|
|
200
|
+
{
|
|
201
|
+
p: -2
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
[
|
|
205
|
+
".ft85np5{border-radius:var(--borderRadiusMedium);}",
|
|
206
|
+
{
|
|
207
|
+
p: -1
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
".f1k6fduh{cursor:pointer;}",
|
|
211
|
+
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
212
|
+
".f1i3iumi{line-height:var(--lineHeightBase300);}",
|
|
213
|
+
[
|
|
214
|
+
".f1a3p1vp{overflow:hidden;}",
|
|
215
|
+
{
|
|
216
|
+
p: -1
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
".f1cxpek8{text-transform:none;}",
|
|
220
|
+
".f4d9j23{justify-content:center;}",
|
|
221
|
+
".f1s9ku6b{justify-content:start;}",
|
|
222
|
+
".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",
|
|
223
|
+
[
|
|
224
|
+
".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",
|
|
225
|
+
{
|
|
226
|
+
p: -1
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
[
|
|
230
|
+
".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",
|
|
231
|
+
{
|
|
232
|
+
p: -1
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",
|
|
236
|
+
[
|
|
237
|
+
".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",
|
|
238
|
+
{
|
|
239
|
+
p: -1
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
[
|
|
243
|
+
".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",
|
|
244
|
+
{
|
|
245
|
+
p: -1
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
[
|
|
249
|
+
".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",
|
|
250
|
+
{
|
|
251
|
+
p: -1
|
|
252
|
+
}
|
|
253
|
+
],
|
|
254
|
+
[
|
|
255
|
+
".fwkd1rq{padding:var(--spacingVerticalS) var(--spacingHorizontalMNudge);}",
|
|
256
|
+
{
|
|
257
|
+
p: -1
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
".f1c21dwh{background-color:var(--colorTransparentBackground);}",
|
|
261
|
+
".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",
|
|
262
|
+
".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",
|
|
263
|
+
".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",
|
|
264
|
+
".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",
|
|
265
|
+
".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",
|
|
266
|
+
".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",
|
|
267
|
+
".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",
|
|
268
|
+
".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",
|
|
269
|
+
".fhovq9v{background-color:var(--colorSubtleBackground);}",
|
|
270
|
+
".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",
|
|
271
|
+
".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",
|
|
272
|
+
".fdrzuqr{cursor:not-allowed;}",
|
|
273
|
+
".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",
|
|
274
|
+
".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",
|
|
275
|
+
".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",
|
|
276
|
+
".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",
|
|
277
|
+
".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",
|
|
278
|
+
".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",
|
|
279
|
+
".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",
|
|
280
|
+
".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}"
|
|
281
|
+
]
|
|
282
|
+
});
|
|
283
|
+
const useCircularAppearanceStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
284
|
+
base: {
|
|
187
285
|
Beyfa6y: 0,
|
|
188
286
|
Bbmb7ep: 0,
|
|
189
287
|
Btl43ni: 0,
|
|
@@ -192,8 +290,13 @@ const iconClassNames = {
|
|
|
192
290
|
Bptxc3x: "ftorr8m",
|
|
193
291
|
cl4aha: "f16lqpmv"
|
|
194
292
|
},
|
|
195
|
-
|
|
196
|
-
|
|
293
|
+
medium: {
|
|
294
|
+
Dbcxam: 0,
|
|
295
|
+
rjzwhg: 0,
|
|
296
|
+
Bblux5w: "f1lj1ynd"
|
|
297
|
+
},
|
|
298
|
+
subtle: {
|
|
299
|
+
De3pzq: "fhovq9v",
|
|
197
300
|
Bgfg5da: 0,
|
|
198
301
|
B9xav0g: 0,
|
|
199
302
|
oivjwe: 0,
|
|
@@ -212,7 +315,7 @@ const iconClassNames = {
|
|
|
212
315
|
B4j52fo: 0,
|
|
213
316
|
irswps: "fp7rvkm",
|
|
214
317
|
sj55zd: "fkfq4zb",
|
|
215
|
-
B95qlz1: "
|
|
318
|
+
B95qlz1: "f1bifk9c",
|
|
216
319
|
Eo63ln: 0,
|
|
217
320
|
r9osk6: 0,
|
|
218
321
|
Itrz8y: 0,
|
|
@@ -231,7 +334,7 @@ const iconClassNames = {
|
|
|
231
334
|
Bblwbaf: 0,
|
|
232
335
|
B0ezav: "ft57sj0",
|
|
233
336
|
r4wkhp: "f1fcoy83",
|
|
234
|
-
B7xitij: "
|
|
337
|
+
B7xitij: "fo6hitd",
|
|
235
338
|
d3wsvi: 0,
|
|
236
339
|
Hdqn7s: 0,
|
|
237
340
|
zu5y1p: 0,
|
|
@@ -251,7 +354,7 @@ const iconClassNames = {
|
|
|
251
354
|
goa3yj: "fhn220o",
|
|
252
355
|
p743kt: "f15qf7sh"
|
|
253
356
|
},
|
|
254
|
-
|
|
357
|
+
subtleSelected: {
|
|
255
358
|
De3pzq: "f16xkysk",
|
|
256
359
|
Bgfg5da: 0,
|
|
257
360
|
B9xav0g: 0,
|
|
@@ -310,8 +413,8 @@ const iconClassNames = {
|
|
|
310
413
|
goa3yj: "fmle6oo",
|
|
311
414
|
p743kt: "f1d3itm4"
|
|
312
415
|
},
|
|
313
|
-
|
|
314
|
-
De3pzq: "
|
|
416
|
+
subtleDisabled: {
|
|
417
|
+
De3pzq: "fhovq9v",
|
|
315
418
|
sj55zd: "f1s2aq7o",
|
|
316
419
|
Bgfg5da: 0,
|
|
317
420
|
B9xav0g: 0,
|
|
@@ -331,7 +434,8 @@ const iconClassNames = {
|
|
|
331
434
|
B4j52fo: 0,
|
|
332
435
|
irswps: "fp7rvkm"
|
|
333
436
|
},
|
|
334
|
-
|
|
437
|
+
subtleDisabledSelected: {
|
|
438
|
+
De3pzq: "f1bg9a2p",
|
|
335
439
|
Bgfg5da: 0,
|
|
336
440
|
B9xav0g: 0,
|
|
337
441
|
oivjwe: 0,
|
|
@@ -348,9 +452,10 @@ const iconClassNames = {
|
|
|
348
452
|
g2u3we: 0,
|
|
349
453
|
icvyot: 0,
|
|
350
454
|
B4j52fo: 0,
|
|
351
|
-
irswps: "fegtqic"
|
|
455
|
+
irswps: "fegtqic",
|
|
456
|
+
sj55zd: "f1s2aq7o"
|
|
352
457
|
},
|
|
353
|
-
|
|
458
|
+
filled: {
|
|
354
459
|
De3pzq: "f16xq7d1",
|
|
355
460
|
sj55zd: "fkfq4zb",
|
|
356
461
|
B95qlz1: "fwwxidx",
|
|
@@ -358,7 +463,7 @@ const iconClassNames = {
|
|
|
358
463
|
B7xitij: "f14i52sd",
|
|
359
464
|
p743kt: "f15qf7sh"
|
|
360
465
|
},
|
|
361
|
-
|
|
466
|
+
filledSelected: {
|
|
362
467
|
De3pzq: "ffp7eso",
|
|
363
468
|
sj55zd: "f1phragk",
|
|
364
469
|
B95qlz1: "f1lm9dni",
|
|
@@ -366,7 +471,7 @@ const iconClassNames = {
|
|
|
366
471
|
B7xitij: "f1g6ncd0",
|
|
367
472
|
p743kt: "fl71aob"
|
|
368
473
|
},
|
|
369
|
-
|
|
474
|
+
filledDisabled: {
|
|
370
475
|
De3pzq: "f1bg9a2p",
|
|
371
476
|
Bgfg5da: 0,
|
|
372
477
|
B9xav0g: 0,
|
|
@@ -387,7 +492,8 @@ const iconClassNames = {
|
|
|
387
492
|
irswps: "fp7rvkm",
|
|
388
493
|
sj55zd: "f1s2aq7o"
|
|
389
494
|
},
|
|
390
|
-
|
|
495
|
+
filledDisabledSelected: {
|
|
496
|
+
De3pzq: "f1bg9a2p",
|
|
391
497
|
Bgfg5da: 0,
|
|
392
498
|
B9xav0g: 0,
|
|
393
499
|
oivjwe: 0,
|
|
@@ -404,109 +510,26 @@ const iconClassNames = {
|
|
|
404
510
|
g2u3we: 0,
|
|
405
511
|
icvyot: 0,
|
|
406
512
|
B4j52fo: 0,
|
|
407
|
-
irswps: "fegtqic"
|
|
513
|
+
irswps: "fegtqic",
|
|
514
|
+
sj55zd: "f1s2aq7o"
|
|
408
515
|
}
|
|
409
516
|
}, {
|
|
410
517
|
d: [
|
|
411
|
-
".f122n59{align-items:center;}",
|
|
412
|
-
".f13qh94s{display:grid;}",
|
|
413
|
-
".fi64zpg{flex-shrink:0;}",
|
|
414
|
-
".f1u07yai{grid-auto-flow:column;}",
|
|
415
|
-
".frn2hmy{grid-template-columns:auto;}",
|
|
416
|
-
".f1olsevy{grid-template-rows:auto;}",
|
|
417
|
-
".f1s6fcnf{outline-style:none;}",
|
|
418
|
-
".f10pi13n{position:relative;}",
|
|
419
518
|
[
|
|
420
|
-
".
|
|
421
|
-
{
|
|
422
|
-
p: -2
|
|
423
|
-
}
|
|
424
|
-
],
|
|
425
|
-
[
|
|
426
|
-
".ft85np5{border-radius:var(--borderRadiusMedium);}",
|
|
427
|
-
{
|
|
428
|
-
p: -1
|
|
429
|
-
}
|
|
430
|
-
],
|
|
431
|
-
".f1k6fduh{cursor:pointer;}",
|
|
432
|
-
".fk6fouc{font-family:var(--fontFamilyBase);}",
|
|
433
|
-
".f1i3iumi{line-height:var(--lineHeightBase300);}",
|
|
434
|
-
[
|
|
435
|
-
".f1a3p1vp{overflow:hidden;}",
|
|
436
|
-
{
|
|
437
|
-
p: -1
|
|
438
|
-
}
|
|
439
|
-
],
|
|
440
|
-
".f1cxpek8{text-transform:none;}",
|
|
441
|
-
".f4d9j23{justify-content:center;}",
|
|
442
|
-
".f1s9ku6b{justify-content:start;}",
|
|
443
|
-
".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",
|
|
444
|
-
[
|
|
445
|
-
".f1wmopi4{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalSNudge);}",
|
|
446
|
-
{
|
|
447
|
-
p: -1
|
|
448
|
-
}
|
|
449
|
-
],
|
|
450
|
-
[
|
|
451
|
-
".f12or63q{padding:var(--spacingVerticalXXS) var(--spacingHorizontalSNudge);}",
|
|
452
|
-
{
|
|
453
|
-
p: -1
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",
|
|
457
|
-
[
|
|
458
|
-
".f1w08f2p{padding:var(--spacingVerticalM) var(--spacingHorizontalMNudge);}",
|
|
459
|
-
{
|
|
460
|
-
p: -1
|
|
461
|
-
}
|
|
462
|
-
],
|
|
463
|
-
[
|
|
464
|
-
".fymxs25{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalMNudge);}",
|
|
465
|
-
{
|
|
466
|
-
p: -1
|
|
467
|
-
}
|
|
468
|
-
],
|
|
469
|
-
[
|
|
470
|
-
".f1ssfvub{padding:var(--spacingVerticalL) var(--spacingHorizontalMNudge);}",
|
|
519
|
+
".f44lkw9{border-radius:var(--borderRadiusCircular);}",
|
|
471
520
|
{
|
|
472
521
|
p: -1
|
|
473
522
|
}
|
|
474
523
|
],
|
|
524
|
+
".ftorr8m .fui-Tab__icon{color:inherit;}",
|
|
525
|
+
".f16lqpmv .fui-Tab__content{color:inherit;}",
|
|
475
526
|
[
|
|
476
|
-
".
|
|
527
|
+
".f1lj1ynd{padding-block:var(--spacingVerticalSNudge);}",
|
|
477
528
|
{
|
|
478
529
|
p: -1
|
|
479
530
|
}
|
|
480
531
|
],
|
|
481
|
-
".f1c21dwh{background-color:var(--colorTransparentBackground);}",
|
|
482
|
-
".f9rvdkv:enabled:hover{background-color:var(--colorTransparentBackgroundHover);}",
|
|
483
|
-
".f1051ucx:enabled:active{background-color:var(--colorTransparentBackgroundPressed);}",
|
|
484
|
-
".fmmjozx .fui-Tab__icon{color:var(--colorNeutralForeground2);}",
|
|
485
|
-
".fqhzt5g:enabled:hover .fui-Tab__icon{color:var(--colorNeutralForeground2Hover);}",
|
|
486
|
-
".f7l5cgy:enabled:active .fui-Tab__icon{color:var(--colorNeutralForeground2Pressed);}",
|
|
487
|
-
".fpkze5g .fui-Tab__content{color:var(--colorNeutralForeground2);}",
|
|
488
|
-
".f1iywnoi:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground2Hover);}",
|
|
489
|
-
".f9n45c4:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground2Pressed);}",
|
|
490
532
|
".fhovq9v{background-color:var(--colorSubtleBackground);}",
|
|
491
|
-
".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",
|
|
492
|
-
".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",
|
|
493
|
-
".fato7r6 .fui-Tab__icon{color:var(--colorNeutralForegroundDisabled);}",
|
|
494
|
-
".fao1bnu .fui-Tab__content{color:var(--colorNeutralForegroundDisabled);}",
|
|
495
|
-
".fdrzuqr{cursor:not-allowed;}",
|
|
496
|
-
".f1cadz5z .fui-Tab__icon{color:var(--colorCompoundBrandForeground1);}",
|
|
497
|
-
".fwhdxxj:enabled:hover .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Hover);}",
|
|
498
|
-
".fintccb:enabled:active .fui-Tab__icon{color:var(--colorCompoundBrandForeground1Pressed);}",
|
|
499
|
-
".ffplhdr .fui-Tab__content{color:var(--colorNeutralForeground1);}",
|
|
500
|
-
".fjo17wb:enabled:hover .fui-Tab__content{color:var(--colorNeutralForeground1Hover);}",
|
|
501
|
-
".f148789c:enabled:active .fui-Tab__content{color:var(--colorNeutralForeground1Pressed);}",
|
|
502
|
-
[
|
|
503
|
-
".f44lkw9{border-radius:var(--borderRadiusCircular);}",
|
|
504
|
-
{
|
|
505
|
-
p: -1
|
|
506
|
-
}
|
|
507
|
-
],
|
|
508
|
-
".ftorr8m .fui-Tab__icon{color:inherit;}",
|
|
509
|
-
".f16lqpmv .fui-Tab__content{color:inherit;}",
|
|
510
533
|
[
|
|
511
534
|
".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",
|
|
512
535
|
{
|
|
@@ -514,7 +537,7 @@ const iconClassNames = {
|
|
|
514
537
|
}
|
|
515
538
|
],
|
|
516
539
|
".fkfq4zb{color:var(--colorNeutralForeground2);}",
|
|
517
|
-
".
|
|
540
|
+
".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",
|
|
518
541
|
[
|
|
519
542
|
".ft57sj0:enabled:hover{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Hover);}",
|
|
520
543
|
{
|
|
@@ -522,7 +545,7 @@ const iconClassNames = {
|
|
|
522
545
|
}
|
|
523
546
|
],
|
|
524
547
|
".f1fcoy83:enabled:hover{color:var(--colorNeutralForeground2Hover);}",
|
|
525
|
-
".
|
|
548
|
+
".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",
|
|
526
549
|
[
|
|
527
550
|
".fhn220o:enabled:active{border:solid var(--strokeWidthThin) var(--colorNeutralStroke1Pressed);}",
|
|
528
551
|
{
|
|
@@ -561,6 +584,7 @@ const iconClassNames = {
|
|
|
561
584
|
p: -2
|
|
562
585
|
}
|
|
563
586
|
],
|
|
587
|
+
".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",
|
|
564
588
|
[
|
|
565
589
|
".fegtqic{border:solid var(--strokeWidthThin) var(--colorNeutralStrokeDisabled);}",
|
|
566
590
|
{
|
|
@@ -576,7 +600,6 @@ const iconClassNames = {
|
|
|
576
600
|
".f1mn5ei1:enabled:hover{color:var(--colorNeutralForegroundOnBrand);}",
|
|
577
601
|
".f1g6ncd0:enabled:active{background-color:var(--colorBrandBackgroundPressed);}",
|
|
578
602
|
".fl71aob:enabled:active{color:var(--colorNeutralForegroundOnBrand);}",
|
|
579
|
-
".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",
|
|
580
603
|
[
|
|
581
604
|
".fp7rvkm{border:solid var(--strokeWidthThin) var(--colorTransparentStroke);}",
|
|
582
605
|
{
|
|
@@ -613,6 +636,26 @@ const iconClassNames = {
|
|
|
613
636
|
"fqa318h"
|
|
614
637
|
],
|
|
615
638
|
Bhxq17a: "f1vjpng2"
|
|
639
|
+
},
|
|
640
|
+
circular: {
|
|
641
|
+
B8q5s1w: "f8hki3x",
|
|
642
|
+
Bci5o5g: [
|
|
643
|
+
"f1d2448m",
|
|
644
|
+
"ffh67wi"
|
|
645
|
+
],
|
|
646
|
+
n8qw10: "f1bjia2o",
|
|
647
|
+
Bdrgwmp: [
|
|
648
|
+
"ffh67wi",
|
|
649
|
+
"f1d2448m"
|
|
650
|
+
],
|
|
651
|
+
Bn4voq9: "f1p7hgxw",
|
|
652
|
+
Bfpq7zp: "f1way5bb",
|
|
653
|
+
g9k6zt: "f9znhxp",
|
|
654
|
+
j6ew2k: [
|
|
655
|
+
"fzgyhws",
|
|
656
|
+
"fqxug60"
|
|
657
|
+
],
|
|
658
|
+
Bhxq17a: "f1vjpng2"
|
|
616
659
|
}
|
|
617
660
|
}, {
|
|
618
661
|
d: [
|
|
@@ -624,7 +667,9 @@ const iconClassNames = {
|
|
|
624
667
|
".f1way5bb[data-fui-focus-visible]{outline-color:transparent;}",
|
|
625
668
|
".f9znhxp[data-fui-focus-visible]{outline-style:solid;}",
|
|
626
669
|
".fqa318h[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2);}",
|
|
627
|
-
".f1vjpng2[data-fui-focus-visible]{z-index:1;}"
|
|
670
|
+
".f1vjpng2[data-fui-focus-visible]{z-index:1;}",
|
|
671
|
+
".fzgyhws[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}",
|
|
672
|
+
".fqxug60[data-fui-focus-visible]{box-shadow:var(--shadow4),0 0 0 var(--strokeWidthThick) var(--colorStrokeFocus2),0 0 0 var(--strokeWidthThin) var(--colorNeutralStrokeOnBrand) inset;}"
|
|
628
673
|
]
|
|
629
674
|
});
|
|
630
675
|
/** Indicator styles for when pending selection */ const usePendingIndicatorStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
@@ -1073,28 +1118,37 @@ const useTabButtonStyles_unstable = (state, slot)=>{
|
|
|
1073
1118
|
'use no memo';
|
|
1074
1119
|
const rootStyles = useRootStyles();
|
|
1075
1120
|
const focusStyles = useFocusStyles();
|
|
1121
|
+
const circularStyles = useCircularAppearanceStyles();
|
|
1076
1122
|
const { appearance, disabled, selected, size, vertical } = state;
|
|
1077
1123
|
const isSubtleCircular = appearance === 'subtle-circular';
|
|
1078
1124
|
const isFilledCircular = appearance === 'filled-circular';
|
|
1079
1125
|
const isCircular = isSubtleCircular || isFilledCircular;
|
|
1080
1126
|
const circularAppearance = [
|
|
1081
|
-
|
|
1127
|
+
circularStyles.base,
|
|
1128
|
+
focusStyles.circular,
|
|
1129
|
+
// sizes
|
|
1130
|
+
size === 'medium' && circularStyles.medium,
|
|
1082
1131
|
// subtle-circular appearance
|
|
1083
|
-
isSubtleCircular &&
|
|
1084
|
-
selected && isSubtleCircular &&
|
|
1085
|
-
disabled && isSubtleCircular &&
|
|
1086
|
-
selected && disabled && isSubtleCircular &&
|
|
1132
|
+
isSubtleCircular && circularStyles.subtle,
|
|
1133
|
+
selected && isSubtleCircular && circularStyles.subtleSelected,
|
|
1134
|
+
disabled && isSubtleCircular && circularStyles.subtleDisabled,
|
|
1135
|
+
selected && disabled && isSubtleCircular && circularStyles.subtleDisabledSelected,
|
|
1087
1136
|
// filled-circular appearance
|
|
1088
|
-
isFilledCircular &&
|
|
1089
|
-
selected && isFilledCircular &&
|
|
1090
|
-
disabled && isFilledCircular &&
|
|
1091
|
-
selected && disabled && isFilledCircular &&
|
|
1137
|
+
isFilledCircular && circularStyles.filled,
|
|
1138
|
+
selected && isFilledCircular && circularStyles.filledSelected,
|
|
1139
|
+
disabled && isFilledCircular && circularStyles.filledDisabled,
|
|
1140
|
+
selected && disabled && isFilledCircular && circularStyles.filledDisabledSelected
|
|
1141
|
+
];
|
|
1142
|
+
const regularAppearance = [
|
|
1143
|
+
focusStyles.base,
|
|
1144
|
+
!disabled && appearance === 'subtle' && rootStyles.subtle,
|
|
1145
|
+
!disabled && appearance === 'transparent' && rootStyles.transparent,
|
|
1146
|
+
!disabled && selected && rootStyles.selected,
|
|
1147
|
+
disabled && rootStyles.disabled
|
|
1092
1148
|
];
|
|
1093
1149
|
slot.className = (0, _react.mergeClasses)(rootStyles.button, // orientation
|
|
1094
1150
|
vertical ? rootStyles.vertical : rootStyles.horizontal, // size
|
|
1095
|
-
size === 'small' && (vertical ? rootStyles.smallVertical : rootStyles.smallHorizontal), size === 'medium' && (vertical ? rootStyles.mediumVertical : rootStyles.mediumHorizontal), size === 'large' && (vertical ? rootStyles.largeVertical : rootStyles.largeHorizontal),
|
|
1096
|
-
!disabled && selected && rootStyles.selected
|
|
1097
|
-
], disabled && rootStyles.disabled, slot.className);
|
|
1151
|
+
size === 'small' && (vertical ? rootStyles.smallVertical : rootStyles.smallHorizontal), size === 'medium' && (vertical ? rootStyles.mediumVertical : rootStyles.mediumHorizontal), size === 'large' && (vertical ? rootStyles.largeVertical : rootStyles.largeHorizontal), ...isCircular ? circularAppearance : regularAppearance, disabled && rootStyles.disabledCursor, slot.className);
|
|
1098
1152
|
return state;
|
|
1099
1153
|
};
|
|
1100
1154
|
const useTabContentStyles_unstable = (state)=>{
|