@fluentui/web-components 3.0.0-beta.6 → 3.0.0-beta.7
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 +11 -2
- package/dist/dts/theme/design-tokens.d.ts +384 -384
- package/dist/dts/theme/set-theme.d.ts +1 -2
- package/dist/esm/accordion-item/accordion-item.styles.js +25 -25
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +100 -100
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/badge/badge.styles.js +3 -3
- package/dist/esm/badge/badge.styles.js.map +1 -1
- package/dist/esm/button/button.styles.js +63 -63
- package/dist/esm/button/button.styles.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +37 -37
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
- package/dist/esm/compound-button/compound-button.styles.js +18 -18
- package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
- package/dist/esm/counter-badge/counter-badge.styles.js +2 -2
- package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +21 -21
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +13 -13
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/image/image.styles.js +4 -4
- package/dist/esm/image/image.styles.js.map +1 -1
- package/dist/esm/label/label.styles.js +14 -14
- package/dist/esm/label/label.styles.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.js +16 -16
- package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
- package/dist/esm/menu-list/menu-list.styles.js +4 -4
- package/dist/esm/menu-list/menu-list.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +25 -25
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/radio/radio.styles.js +32 -32
- package/dist/esm/radio/radio.styles.js.map +1 -1
- package/dist/esm/radio-group/radio-group.styles.js +9 -9
- package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
- package/dist/esm/slider/slider.styles.js +23 -22
- package/dist/esm/slider/slider.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +5 -5
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +75 -75
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +34 -34
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/tab/tab.styles.js +20 -20
- package/dist/esm/tab/tab.styles.js.map +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js +1 -1
- package/dist/esm/tab-panel/tab-panel.styles.js.map +1 -1
- package/dist/esm/tabs/tabs.styles.js +49 -49
- package/dist/esm/tabs/tabs.styles.js.map +1 -1
- package/dist/esm/text/text.styles.js +27 -27
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.js +67 -67
- package/dist/esm/text-input/text-input.styles.js.map +1 -1
- package/dist/esm/theme/design-tokens.js +385 -386
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/set-theme.js +2 -2
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.styles.js +24 -24
- package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/fluent-web-components.api.json +3077 -1541
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.b095c2e8.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +385 -386
- package/dist/web-components.js +683 -1705
- package/dist/web-components.min.js +191 -191
- package/docs/api-report.md +385 -386
- package/package.json +1 -1
- package/dist/storybook/main.c651bad5.iframe.bundle.js +0 -2
- /package/dist/storybook/{main.c651bad5.iframe.bundle.js.LICENSE.txt → main.b095c2e8.iframe.bundle.js.LICENSE.txt} +0 -0
package/dist/web-components.js
CHANGED
|
@@ -1030,16 +1030,6 @@ const CSSDirective = Object.freeze({
|
|
|
1030
1030
|
return type;
|
|
1031
1031
|
}
|
|
1032
1032
|
});
|
|
1033
|
-
/**
|
|
1034
|
-
* Decorator: Defines a CSSDirective.
|
|
1035
|
-
* @public
|
|
1036
|
-
*/
|
|
1037
|
-
function cssDirective() {
|
|
1038
|
-
/* eslint-disable-next-line @typescript-eslint/explicit-function-return-type */
|
|
1039
|
-
return function (type) {
|
|
1040
|
-
CSSDirective.define(type);
|
|
1041
|
-
};
|
|
1042
|
-
}
|
|
1043
1033
|
|
|
1044
1034
|
function handleChange(directive, controller, observer) {
|
|
1045
1035
|
controller.source.style.setProperty(directive.targetAspect, observer.bind(controller));
|
|
@@ -1349,17 +1339,6 @@ const HTMLDirective = Object.freeze({
|
|
|
1349
1339
|
}
|
|
1350
1340
|
}
|
|
1351
1341
|
});
|
|
1352
|
-
/**
|
|
1353
|
-
* Decorator: Defines an HTMLDirective.
|
|
1354
|
-
* @param options - Provides options that specify the directive's application.
|
|
1355
|
-
* @public
|
|
1356
|
-
*/
|
|
1357
|
-
function htmlDirective(options) {
|
|
1358
|
-
/* eslint-disable-next-line @typescript-eslint/explicit-function-return-type */
|
|
1359
|
-
return function (type) {
|
|
1360
|
-
HTMLDirective.define(type, options);
|
|
1361
|
-
};
|
|
1362
|
-
}
|
|
1363
1342
|
/**
|
|
1364
1343
|
* A base class used for attribute directives that don't need internal state.
|
|
1365
1344
|
* @public
|
|
@@ -4080,1469 +4059,393 @@ const AccordionItemExpandIconPosition = {
|
|
|
4080
4059
|
end: "end"
|
|
4081
4060
|
};
|
|
4082
4061
|
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
// Skip over any derived values already established locally, because
|
|
4468
|
-
// those will get updated via this.notifyDerived and this.notifyStatic
|
|
4469
|
-
if (!DesignTokenNode.isDerivedFor(this, token)) {
|
|
4470
|
-
const prev = DesignTokenNode.getLocalTokenValue(this, token);
|
|
4471
|
-
derivedValue = this.setupDerivedTokenValue(token, derivedValue.evaluator.value);
|
|
4472
|
-
const result = derivedValue.value;
|
|
4473
|
-
if (prev !== result) {
|
|
4474
|
-
DesignTokenNode.queueNotification(new DesignTokenChangeRecordImpl(this, 1 /* DesignTokenMutationType.change */, token, derivedValue.evaluator.value));
|
|
4475
|
-
}
|
|
4476
|
-
this.dispatch(new DesignTokenChangeRecordImpl(this, 0 /* DesignTokenMutationType.add */, token, derivedValue.evaluator.value));
|
|
4477
|
-
}
|
|
4478
|
-
});
|
|
4479
|
-
DesignTokenNode.notify();
|
|
4480
|
-
}
|
|
4481
|
-
/**
|
|
4482
|
-
* Returns the resolve value for a token
|
|
4483
|
-
*/
|
|
4484
|
-
getTokenValue(token) {
|
|
4485
|
-
/* eslint-disable-next-line */
|
|
4486
|
-
let node = this;
|
|
4487
|
-
let value;
|
|
4488
|
-
while (node !== null) {
|
|
4489
|
-
if (DesignTokenNode.isDerivedFor(node, token)) {
|
|
4490
|
-
value = node._derived.get(token).value;
|
|
4491
|
-
break;
|
|
4492
|
-
}
|
|
4493
|
-
if (DesignTokenNode.isAssigned(node, token)) {
|
|
4494
|
-
value = node._values.get(token);
|
|
4495
|
-
break;
|
|
4496
|
-
}
|
|
4497
|
-
node = node._parent;
|
|
4498
|
-
}
|
|
4499
|
-
if (value !== undefined) {
|
|
4500
|
-
return value;
|
|
4501
|
-
} else {
|
|
4502
|
-
throw new Error(`No value set for token ${token} in node tree.`);
|
|
4503
|
-
}
|
|
4504
|
-
}
|
|
4505
|
-
/**
|
|
4506
|
-
* Deletes the token value for a node
|
|
4507
|
-
*/
|
|
4508
|
-
deleteTokenValue(token) {
|
|
4509
|
-
if (DesignTokenNode.isAssigned(this, token)) {
|
|
4510
|
-
const prev = DesignTokenNode.getLocalTokenValue(this, token);
|
|
4511
|
-
this._values.delete(token);
|
|
4512
|
-
this.tearDownDerivedTokenValue(token);
|
|
4513
|
-
let newValue;
|
|
4514
|
-
try {
|
|
4515
|
-
newValue = this.getTokenValue(token);
|
|
4516
|
-
} catch (e) {
|
|
4517
|
-
newValue = undefined;
|
|
4518
|
-
}
|
|
4519
|
-
DesignTokenNode.queueNotification(new DesignTokenChangeRecordImpl(this, 2 /* DesignTokenMutationType.delete */, token));
|
|
4520
|
-
if (prev !== newValue) {
|
|
4521
|
-
this.dispatch(new DesignTokenChangeRecordImpl(this, 2 /* DesignTokenMutationType.delete */, token));
|
|
4522
|
-
}
|
|
4523
|
-
DesignTokenNode.notify();
|
|
4524
|
-
}
|
|
4525
|
-
}
|
|
4526
|
-
/**
|
|
4527
|
-
* Notifies that a token has been mutated
|
|
4528
|
-
*/
|
|
4529
|
-
dispatch(record) {
|
|
4530
|
-
var _a, _b, _c;
|
|
4531
|
-
if (this !== record.target) {
|
|
4532
|
-
const {
|
|
4533
|
-
token
|
|
4534
|
-
} = record;
|
|
4535
|
-
// If the node is assigned the token being dispatched and the assigned value does not depend on the token
|
|
4536
|
-
// (circular token reference) then terminate the dispatch.
|
|
4537
|
-
const isAssigned = DesignTokenNode.isAssigned(this, token);
|
|
4538
|
-
const containsCircularForToken = isAssigned && ((_a = this._derived.get(token)) === null || _a === void 0 ? void 0 : _a.evaluator.dependencies.has(token));
|
|
4539
|
-
if (isAssigned && !containsCircularForToken) {
|
|
4540
|
-
return;
|
|
4541
|
-
}
|
|
4542
|
-
// Delete token evaluations if the token is not assigned explicitly but is derived for the node and
|
|
4543
|
-
// the record is a delete type.
|
|
4544
|
-
if (record.type === 2 /* DesignTokenMutationType.delete */ && !isAssigned && DesignTokenNode.isDerivedFor(this, token)) {
|
|
4545
|
-
this.tearDownDerivedTokenValue(token);
|
|
4546
|
-
DesignTokenNode.queueNotification(new DesignTokenChangeRecordImpl(this, 2 /* DesignTokenMutationType.delete */, token));
|
|
4547
|
-
}
|
|
4548
|
-
if (containsCircularForToken) {
|
|
4549
|
-
record = new DesignTokenChangeRecordImpl(this, 1 /* DesignTokenMutationType.change */, token, (_b = this._derived.get(token)) === null || _b === void 0 ? void 0 : _b.evaluator.value);
|
|
4550
|
-
}
|
|
4551
|
-
const {
|
|
4552
|
-
value
|
|
4553
|
-
} = record;
|
|
4554
|
-
if (value && DesignTokenNode.isDerivedTokenValue(value)) {
|
|
4555
|
-
const dependencies = DerivedValueEvaluator.getOrCreate(value).dependencies;
|
|
4556
|
-
// If this is not the originator, check to see if this node
|
|
4557
|
-
// has any dependencies of the token value. If so, we need to evaluate for this node
|
|
4558
|
-
let evaluate = false;
|
|
4559
|
-
for (const dependency of dependencies) {
|
|
4560
|
-
if (DesignTokenNode.isAssigned(this, dependency)) {
|
|
4561
|
-
evaluate = true;
|
|
4562
|
-
break;
|
|
4563
|
-
}
|
|
4564
|
-
}
|
|
4565
|
-
if (evaluate) {
|
|
4566
|
-
const prev = (_c = this._derived.get(token)) === null || _c === void 0 ? void 0 : _c.value;
|
|
4567
|
-
const derivedValue = this.setupDerivedTokenValue(token, value);
|
|
4568
|
-
if (prev !== derivedValue.value) {
|
|
4569
|
-
const type = prev === undefined ? 0 /* DesignTokenMutationType.add */ : 1 /* DesignTokenMutationType.change */;
|
|
4570
|
-
const notification = new DesignTokenChangeRecordImpl(this, type, token, derivedValue.evaluator.value);
|
|
4571
|
-
DesignTokenNode.queueNotification(notification);
|
|
4572
|
-
record = notification;
|
|
4573
|
-
}
|
|
4574
|
-
}
|
|
4575
|
-
}
|
|
4576
|
-
}
|
|
4577
|
-
this.collectLocalChangeRecords(record).forEach(_record => {
|
|
4578
|
-
DesignTokenNode.queueNotification(_record);
|
|
4579
|
-
this.dispatch(_record);
|
|
4580
|
-
});
|
|
4581
|
-
this.notifyChildren(record);
|
|
4582
|
-
}
|
|
4583
|
-
/**
|
|
4584
|
-
* Generate change-records for local dependencies of a change record
|
|
4585
|
-
*/
|
|
4586
|
-
collectLocalChangeRecords(record) {
|
|
4587
|
-
const collected = new Map();
|
|
4588
|
-
for (const dependent of DesignTokenNode.getOrCreateDependencyGraph(this, record.token)) {
|
|
4589
|
-
if (dependent.value !== dependent.update().value) {
|
|
4590
|
-
collected.set(dependent.token, new DesignTokenChangeRecordImpl(this, 1 /* DesignTokenMutationType.change */, dependent.token, dependent.evaluator.value));
|
|
4591
|
-
}
|
|
4592
|
-
}
|
|
4593
|
-
return collected;
|
|
4594
|
-
}
|
|
4595
|
-
/**
|
|
4596
|
-
*
|
|
4597
|
-
* Notify children of changes to the node
|
|
4598
|
-
*/
|
|
4599
|
-
notifyChildren(...records) {
|
|
4600
|
-
if (this.children.length) {
|
|
4601
|
-
for (let i = 0, l = this.children.length; i < l; i++) {
|
|
4602
|
-
for (let j = 0; j < records.length; j++) {
|
|
4603
|
-
this.children[i].dispatch(records[j]);
|
|
4604
|
-
}
|
|
4605
|
-
}
|
|
4606
|
-
}
|
|
4607
|
-
}
|
|
4608
|
-
tearDownDerivedTokenValue(token) {
|
|
4609
|
-
if (DesignTokenNode.isDerivedFor(this, token)) {
|
|
4610
|
-
const value = this._derived.get(token);
|
|
4611
|
-
value.dispose();
|
|
4612
|
-
this._derived.delete(token);
|
|
4613
|
-
value.evaluator.dependencies.forEach(dependency => {
|
|
4614
|
-
DesignTokenNode.getOrCreateDependencyGraph(this, dependency).delete(value);
|
|
4615
|
-
});
|
|
4616
|
-
}
|
|
4617
|
-
}
|
|
4618
|
-
setupDerivedTokenValue(token, value, subscribeNode = false) {
|
|
4619
|
-
const deriver = new DerivedValue(token, DerivedValueEvaluator.getOrCreate(value), this, subscribeNode ? {
|
|
4620
|
-
handleChange: () => {
|
|
4621
|
-
if (deriver.value !== deriver.update().value) {
|
|
4622
|
-
const record = new DesignTokenChangeRecordImpl(this, 1 /* DesignTokenMutationType.change */, deriver.token, deriver.evaluator.value);
|
|
4623
|
-
DesignTokenNode.queueNotification(record);
|
|
4624
|
-
this.dispatch(record);
|
|
4625
|
-
DesignTokenNode.notify();
|
|
4626
|
-
}
|
|
4627
|
-
}
|
|
4628
|
-
} : undefined);
|
|
4629
|
-
this._derived.set(token, deriver);
|
|
4630
|
-
deriver.evaluator.dependencies.forEach(dependency => {
|
|
4631
|
-
if (dependency !== token) {
|
|
4632
|
-
DesignTokenNode.getOrCreateDependencyGraph(this, dependency).add(deriver);
|
|
4633
|
-
}
|
|
4634
|
-
});
|
|
4635
|
-
return deriver;
|
|
4636
|
-
}
|
|
4637
|
-
}
|
|
4638
|
-
DesignTokenNode._notifications = [];
|
|
4639
|
-
|
|
4640
|
-
class QueuedStyleSheetTarget {
|
|
4641
|
-
setProperty(name, value) {
|
|
4642
|
-
Updates.enqueue(() => this.target.setProperty(name, value));
|
|
4643
|
-
}
|
|
4644
|
-
removeProperty(name) {
|
|
4645
|
-
Updates.enqueue(() => this.target.removeProperty(name));
|
|
4646
|
-
}
|
|
4647
|
-
}
|
|
4648
|
-
/**
|
|
4649
|
-
* Handles setting properties for a FASTElement using Constructable Stylesheets
|
|
4650
|
-
*/
|
|
4651
|
-
class ConstructableStyleSheetTarget extends QueuedStyleSheetTarget {
|
|
4652
|
-
constructor(source) {
|
|
4653
|
-
super();
|
|
4654
|
-
const sheet = new CSSStyleSheet();
|
|
4655
|
-
this.target = sheet.cssRules[sheet.insertRule(":host{}")].style;
|
|
4656
|
-
source.$fastController.addStyles(new ElementStyles([sheet]));
|
|
4657
|
-
}
|
|
4658
|
-
}
|
|
4659
|
-
class DocumentStyleSheetTarget extends QueuedStyleSheetTarget {
|
|
4660
|
-
constructor() {
|
|
4661
|
-
super();
|
|
4662
|
-
const sheet = new CSSStyleSheet();
|
|
4663
|
-
this.target = sheet.cssRules[sheet.insertRule(":root{}")].style;
|
|
4664
|
-
document.adoptedStyleSheets = [...document.adoptedStyleSheets, sheet];
|
|
4665
|
-
}
|
|
4666
|
-
}
|
|
4667
|
-
class HeadStyleElementStyleSheetTarget extends QueuedStyleSheetTarget {
|
|
4668
|
-
constructor() {
|
|
4669
|
-
super();
|
|
4670
|
-
this.style = document.createElement("style");
|
|
4671
|
-
document.head.appendChild(this.style);
|
|
4672
|
-
const {
|
|
4673
|
-
sheet
|
|
4674
|
-
} = this.style;
|
|
4675
|
-
// Because the HTMLStyleElement has been appended,
|
|
4676
|
-
// there shouldn't exist a case where `sheet` is null,
|
|
4677
|
-
// but if-check it just in case.
|
|
4678
|
-
if (sheet) {
|
|
4679
|
-
// https://github.com/jsdom/jsdom uses https://github.com/NV/CSSOM for it's CSSOM implementation,
|
|
4680
|
-
// which implements the DOM Level 2 spec for CSSStyleSheet where insertRule() requires an index argument.
|
|
4681
|
-
const index = sheet.insertRule(":root{}", sheet.cssRules.length);
|
|
4682
|
-
this.target = sheet.cssRules[index].style;
|
|
4683
|
-
}
|
|
4684
|
-
}
|
|
4685
|
-
}
|
|
4686
|
-
/**
|
|
4687
|
-
* Handles setting properties for a FASTElement using an HTMLStyleElement
|
|
4688
|
-
*/
|
|
4689
|
-
class StyleElementStyleSheetTarget {
|
|
4690
|
-
constructor(target) {
|
|
4691
|
-
this.store = new Map();
|
|
4692
|
-
this.target = null;
|
|
4693
|
-
const controller = target.$fastController;
|
|
4694
|
-
this.style = document.createElement("style");
|
|
4695
|
-
controller.addStyles(this.style);
|
|
4696
|
-
Observable.getNotifier(controller).subscribe(this, "isConnected");
|
|
4697
|
-
this.handleChange(controller, "isConnected");
|
|
4698
|
-
}
|
|
4699
|
-
targetChanged() {
|
|
4700
|
-
if (this.target !== null) {
|
|
4701
|
-
for (const [key, value] of this.store.entries()) {
|
|
4702
|
-
this.target.setProperty(key, value);
|
|
4703
|
-
}
|
|
4704
|
-
}
|
|
4705
|
-
}
|
|
4706
|
-
setProperty(name, value) {
|
|
4707
|
-
this.store.set(name, value);
|
|
4708
|
-
Updates.enqueue(() => {
|
|
4709
|
-
if (this.target !== null) {
|
|
4710
|
-
this.target.setProperty(name, value);
|
|
4711
|
-
}
|
|
4712
|
-
});
|
|
4713
|
-
}
|
|
4714
|
-
removeProperty(name) {
|
|
4715
|
-
this.store.delete(name);
|
|
4716
|
-
Updates.enqueue(() => {
|
|
4717
|
-
if (this.target !== null) {
|
|
4718
|
-
this.target.removeProperty(name);
|
|
4719
|
-
}
|
|
4720
|
-
});
|
|
4721
|
-
}
|
|
4722
|
-
handleChange(source, key) {
|
|
4723
|
-
// HTMLStyleElement.sheet is null if the element isn't connected to the DOM,
|
|
4724
|
-
// so this method reacts to changes in DOM connection for the element hosting
|
|
4725
|
-
// the HTMLStyleElement.
|
|
4726
|
-
//
|
|
4727
|
-
// All rules applied via the CSSOM also get cleared when the element disconnects,
|
|
4728
|
-
// so we need to add a new rule each time and populate it with the stored properties
|
|
4729
|
-
const {
|
|
4730
|
-
sheet
|
|
4731
|
-
} = this.style;
|
|
4732
|
-
if (sheet) {
|
|
4733
|
-
// Safari will throw if we try to use the return result of insertRule()
|
|
4734
|
-
// to index the rule inline, so store as a const prior to indexing.
|
|
4735
|
-
// https://github.com/jsdom/jsdom uses https://github.com/NV/CSSOM for it's CSSOM implementation,
|
|
4736
|
-
// which implements the DOM Level 2 spec for CSSStyleSheet where insertRule() requires an index argument.
|
|
4737
|
-
const index = sheet.insertRule(":host{}", sheet.cssRules.length);
|
|
4738
|
-
this.target = sheet.cssRules[index].style;
|
|
4739
|
-
} else {
|
|
4740
|
-
this.target = null;
|
|
4741
|
-
}
|
|
4742
|
-
}
|
|
4743
|
-
}
|
|
4744
|
-
__decorate([observable], StyleElementStyleSheetTarget.prototype, "target", void 0);
|
|
4745
|
-
/**
|
|
4746
|
-
* Controls emission for default values. This control is capable
|
|
4747
|
-
* of emitting to multiple {@link PropertyTarget | PropertyTargets},
|
|
4748
|
-
* and only emits if it has at least one root.
|
|
4749
|
-
*
|
|
4750
|
-
* @internal
|
|
4751
|
-
*/
|
|
4752
|
-
class RootStyleSheetTarget {
|
|
4753
|
-
setProperty(name, value) {
|
|
4754
|
-
RootStyleSheetTarget.properties[name] = value;
|
|
4755
|
-
for (const target of RootStyleSheetTarget.roots.values()) {
|
|
4756
|
-
target.setProperty(name, value);
|
|
4757
|
-
}
|
|
4758
|
-
}
|
|
4759
|
-
removeProperty(name) {
|
|
4760
|
-
delete RootStyleSheetTarget.properties[name];
|
|
4761
|
-
for (const target of RootStyleSheetTarget.roots.values()) {
|
|
4762
|
-
target.removeProperty(name);
|
|
4763
|
-
}
|
|
4764
|
-
}
|
|
4765
|
-
static registerRoot(root) {
|
|
4766
|
-
const {
|
|
4767
|
-
roots
|
|
4768
|
-
} = RootStyleSheetTarget;
|
|
4769
|
-
if (!roots.has(root)) {
|
|
4770
|
-
roots.add(root);
|
|
4771
|
-
for (const key in RootStyleSheetTarget.properties) {
|
|
4772
|
-
root.setProperty(key, RootStyleSheetTarget.properties[key]);
|
|
4773
|
-
}
|
|
4774
|
-
}
|
|
4775
|
-
}
|
|
4776
|
-
static unregisterRoot(root) {
|
|
4777
|
-
const {
|
|
4778
|
-
roots
|
|
4779
|
-
} = RootStyleSheetTarget;
|
|
4780
|
-
if (roots.has(root)) {
|
|
4781
|
-
roots.delete(root);
|
|
4782
|
-
for (const key in RootStyleSheetTarget.properties) {
|
|
4783
|
-
root.removeProperty(key);
|
|
4784
|
-
}
|
|
4785
|
-
}
|
|
4786
|
-
}
|
|
4787
|
-
}
|
|
4788
|
-
RootStyleSheetTarget.roots = new Set();
|
|
4789
|
-
RootStyleSheetTarget.properties = {};
|
|
4790
|
-
// Caches PropertyTarget instances
|
|
4791
|
-
const propertyTargetCache = new WeakMap();
|
|
4792
|
-
// Use Constructable StyleSheets for FAST elements when supported, otherwise use
|
|
4793
|
-
// HTMLStyleElement instances
|
|
4794
|
-
const propertyTargetCtor = ElementStyles.supportsAdoptedStyleSheets ? ConstructableStyleSheetTarget : StyleElementStyleSheetTarget;
|
|
4795
|
-
/**
|
|
4796
|
-
* Manages creation and caching of PropertyTarget instances.
|
|
4797
|
-
*
|
|
4798
|
-
* @internal
|
|
4799
|
-
*/
|
|
4800
|
-
const PropertyTargetManager = Object.freeze({
|
|
4801
|
-
getOrCreate(source) {
|
|
4802
|
-
if (propertyTargetCache.has(source)) {
|
|
4803
|
-
/* eslint-disable-next-line @typescript-eslint/no-non-null-assertion */
|
|
4804
|
-
return propertyTargetCache.get(source);
|
|
4805
|
-
}
|
|
4806
|
-
let target;
|
|
4807
|
-
if (source instanceof Document) {
|
|
4808
|
-
target = ElementStyles.supportsAdoptedStyleSheets ? new DocumentStyleSheetTarget() : new HeadStyleElementStyleSheetTarget();
|
|
4809
|
-
} else {
|
|
4810
|
-
target = new propertyTargetCtor(source);
|
|
4811
|
-
}
|
|
4812
|
-
propertyTargetCache.set(source, target);
|
|
4813
|
-
return target;
|
|
4814
|
-
}
|
|
4815
|
-
});
|
|
4816
|
-
|
|
4817
|
-
/**
|
|
4818
|
-
* @public
|
|
4819
|
-
*/
|
|
4820
|
-
class DesignToken {
|
|
4821
|
-
constructor(configuration) {
|
|
4822
|
-
this.subscriberNotifier = {
|
|
4823
|
-
handleChange: (source, change) => {
|
|
4824
|
-
const record = {
|
|
4825
|
-
target: change.target === FASTDesignTokenNode.defaultNode ? "default" : change.target.target,
|
|
4826
|
-
token: this
|
|
4827
|
-
};
|
|
4828
|
-
this.subscribers.notify(record);
|
|
4829
|
-
}
|
|
4830
|
-
};
|
|
4831
|
-
this.name = configuration.name;
|
|
4832
|
-
Observable.getNotifier(this).subscribe(this.subscriberNotifier);
|
|
4833
|
-
}
|
|
4834
|
-
/**
|
|
4835
|
-
* The default value of the token (alias of {@link DesignToken.default})
|
|
4836
|
-
*/
|
|
4837
|
-
get $value() {
|
|
4838
|
-
return this.default;
|
|
4839
|
-
}
|
|
4840
|
-
/**
|
|
4841
|
-
* The default value of the token, or undefined if it has not been set.
|
|
4842
|
-
*/
|
|
4843
|
-
get default() {
|
|
4844
|
-
return FASTDesignTokenNode.defaultNode.getTokenValue(this);
|
|
4845
|
-
}
|
|
4846
|
-
get subscribers() {
|
|
4847
|
-
if (this._subscribers) {
|
|
4848
|
-
return this._subscribers;
|
|
4849
|
-
}
|
|
4850
|
-
this._subscribers = new SubscriberSet(this);
|
|
4851
|
-
return this._subscribers;
|
|
4852
|
-
}
|
|
4853
|
-
static isCSSDesignTokenConfiguration(config) {
|
|
4854
|
-
return typeof config.cssCustomPropertyName === "string";
|
|
4855
|
-
}
|
|
4856
|
-
static create(config) {
|
|
4857
|
-
if (typeof config === "string") {
|
|
4858
|
-
return new CSSDesignToken({
|
|
4859
|
-
name: config,
|
|
4860
|
-
cssCustomPropertyName: config
|
|
4861
|
-
});
|
|
4862
|
-
} else {
|
|
4863
|
-
return DesignToken.isCSSDesignTokenConfiguration(config) ? new CSSDesignToken(config) : new DesignToken(config);
|
|
4864
|
-
}
|
|
4865
|
-
}
|
|
4866
|
-
/**
|
|
4867
|
-
* Configures the strategy for resolving hierarchical relationships between FASTElement targets.
|
|
4868
|
-
*/
|
|
4869
|
-
static withStrategy(strategy) {
|
|
4870
|
-
FASTDesignTokenNode.withStrategy(strategy);
|
|
4871
|
-
}
|
|
4872
|
-
/**
|
|
4873
|
-
* Registers a target for emitting default style values.
|
|
4874
|
-
* {@link CSSDesignToken | CSSDesignTokens} with default values assigned via
|
|
4875
|
-
* {@link DesignToken.withDefault} will emit CSS custom properties to all
|
|
4876
|
-
* registered targets.
|
|
4877
|
-
* @param target - The target to register, defaults to the document
|
|
4878
|
-
*/
|
|
4879
|
-
static registerDefaultStyleTarget(target = document) {
|
|
4880
|
-
if (target instanceof FASTElement || target instanceof Document) {
|
|
4881
|
-
target = PropertyTargetManager.getOrCreate(target);
|
|
4882
|
-
}
|
|
4883
|
-
RootStyleSheetTarget.registerRoot(target);
|
|
4884
|
-
}
|
|
4885
|
-
/**
|
|
4886
|
-
* Unregister a target for default style emission.
|
|
4887
|
-
* @param target - The root to deregister, defaults to the document
|
|
4888
|
-
*/
|
|
4889
|
-
static unregisterDefaultStyleTarget(target = document) {
|
|
4890
|
-
if (target instanceof FASTElement || target instanceof Document) {
|
|
4891
|
-
target = PropertyTargetManager.getOrCreate(target);
|
|
4892
|
-
}
|
|
4893
|
-
RootStyleSheetTarget.unregisterRoot(target);
|
|
4894
|
-
}
|
|
4895
|
-
/**
|
|
4896
|
-
* Retrieves the value of the token for a target element.
|
|
4897
|
-
*/
|
|
4898
|
-
getValueFor(target) {
|
|
4899
|
-
return FASTDesignTokenNode.getOrCreate(target).getTokenValue(this);
|
|
4900
|
-
}
|
|
4901
|
-
/**
|
|
4902
|
-
* Sets the value of the token for a target element.
|
|
4903
|
-
*/
|
|
4904
|
-
setValueFor(target, value) {
|
|
4905
|
-
FASTDesignTokenNode.getOrCreate(target).setTokenValue(this, this.normalizeValue(value));
|
|
4906
|
-
}
|
|
4907
|
-
/**
|
|
4908
|
-
* Deletes the value of the token for a target element.
|
|
4909
|
-
*/
|
|
4910
|
-
deleteValueFor(target) {
|
|
4911
|
-
FASTDesignTokenNode.getOrCreate(target).deleteTokenValue(this);
|
|
4912
|
-
return this;
|
|
4913
|
-
}
|
|
4914
|
-
/**
|
|
4915
|
-
* Sets the default value of the token.
|
|
4916
|
-
*/
|
|
4917
|
-
withDefault(value) {
|
|
4918
|
-
FASTDesignTokenNode.defaultNode.setTokenValue(this, this.normalizeValue(value));
|
|
4919
|
-
return this;
|
|
4920
|
-
}
|
|
4921
|
-
/**
|
|
4922
|
-
* Subscribes a subscriber to notifications for the token.
|
|
4923
|
-
*/
|
|
4924
|
-
subscribe(subscriber) {
|
|
4925
|
-
this.subscribers.subscribe(subscriber);
|
|
4926
|
-
}
|
|
4927
|
-
/**
|
|
4928
|
-
* Unsubscribes a subscriber to notifications for the token.
|
|
4929
|
-
*/
|
|
4930
|
-
unsubscribe(subscriber) {
|
|
4931
|
-
this.subscribers.unsubscribe(subscriber);
|
|
4932
|
-
}
|
|
4933
|
-
/**
|
|
4934
|
-
* Alias the token to the provided token.
|
|
4935
|
-
* @param token - the token to alias to
|
|
4936
|
-
*/
|
|
4937
|
-
alias(token) {
|
|
4938
|
-
return resolve => resolve(token);
|
|
4939
|
-
}
|
|
4940
|
-
normalizeValue(value) {
|
|
4941
|
-
if (value instanceof DesignToken) {
|
|
4942
|
-
value = this.alias(value);
|
|
4943
|
-
}
|
|
4944
|
-
return value;
|
|
4945
|
-
}
|
|
4946
|
-
}
|
|
4947
|
-
/**
|
|
4948
|
-
* @public
|
|
4949
|
-
*/
|
|
4950
|
-
let CSSDesignToken = class CSSDesignToken extends DesignToken {
|
|
4951
|
-
constructor(configuration) {
|
|
4952
|
-
super(configuration);
|
|
4953
|
-
this.cssReflector = {
|
|
4954
|
-
handleChange: (source, record) => {
|
|
4955
|
-
const target = record.target === FASTDesignTokenNode.defaultNode ? FASTDesignTokenNode.rootStyleSheetTarget : record.target instanceof FASTDesignTokenNode ? PropertyTargetManager.getOrCreate(record.target.target) : null;
|
|
4956
|
-
if (target) {
|
|
4957
|
-
if (record.type === 2 /* DesignTokenMutationType.delete */) {
|
|
4958
|
-
target.removeProperty(this.cssCustomProperty);
|
|
4959
|
-
} else {
|
|
4960
|
-
target.setProperty(this.cssCustomProperty, this.resolveCSSValue(record.target.getTokenValue(this)));
|
|
4961
|
-
}
|
|
4962
|
-
}
|
|
4963
|
-
}
|
|
4964
|
-
};
|
|
4965
|
-
this.cssCustomProperty = `--${configuration.cssCustomPropertyName}`;
|
|
4966
|
-
this.cssVar = `var(${this.cssCustomProperty})`;
|
|
4967
|
-
Observable.getNotifier(this).subscribe(this.cssReflector);
|
|
4968
|
-
}
|
|
4969
|
-
/**
|
|
4970
|
-
* The DesignToken represented as a string that can be used in CSS.
|
|
4971
|
-
*/
|
|
4972
|
-
createCSS() {
|
|
4973
|
-
return this.cssVar;
|
|
4974
|
-
}
|
|
4975
|
-
/**
|
|
4976
|
-
* Creates HTML to be used within a template.
|
|
4977
|
-
*/
|
|
4978
|
-
createHTML() {
|
|
4979
|
-
return this.cssVar;
|
|
4980
|
-
}
|
|
4981
|
-
resolveCSSValue(value) {
|
|
4982
|
-
return value && typeof value.createCSS === "function" ? value.createCSS() : value;
|
|
4983
|
-
}
|
|
4984
|
-
};
|
|
4985
|
-
CSSDesignToken = __decorate([cssDirective(), htmlDirective()], CSSDesignToken);
|
|
4986
|
-
const defaultDesignTokenResolutionStrategy = {
|
|
4987
|
-
contains: composedContains,
|
|
4988
|
-
parent(element) {
|
|
4989
|
-
let parent = composedParent(element);
|
|
4990
|
-
while (parent !== null) {
|
|
4991
|
-
if (parent instanceof FASTElement) {
|
|
4992
|
-
return parent;
|
|
4993
|
-
}
|
|
4994
|
-
parent = composedParent(parent);
|
|
4995
|
-
}
|
|
4996
|
-
return null;
|
|
4997
|
-
}
|
|
4998
|
-
};
|
|
4999
|
-
class FASTDesignTokenNode extends DesignTokenNode {
|
|
5000
|
-
constructor(target) {
|
|
5001
|
-
super();
|
|
5002
|
-
this.target = target;
|
|
5003
|
-
// By default, nodes are not attached to the defaultNode for performance
|
|
5004
|
-
// reasons. However, that behavior can throw if retrieval for a node
|
|
5005
|
-
// happens before the bind() method is called. To guard against that,
|
|
5006
|
-
// lazily attach to the defaultNode when get/set/delete methods are called.
|
|
5007
|
-
this.setTokenValue = this.lazyAttachToDefault(super.setTokenValue);
|
|
5008
|
-
this.getTokenValue = this.lazyAttachToDefault(super.getTokenValue);
|
|
5009
|
-
this.deleteTokenValue = this.lazyAttachToDefault(super.deleteTokenValue);
|
|
5010
|
-
}
|
|
5011
|
-
static get strategy() {
|
|
5012
|
-
if (this._strategy === undefined) {
|
|
5013
|
-
FASTDesignTokenNode.withStrategy(defaultDesignTokenResolutionStrategy);
|
|
5014
|
-
}
|
|
5015
|
-
return this._strategy;
|
|
5016
|
-
}
|
|
5017
|
-
connectedCallback(controller) {
|
|
5018
|
-
let parent = FASTDesignTokenNode.findParent(controller.source);
|
|
5019
|
-
if (parent === null) {
|
|
5020
|
-
parent = FASTDesignTokenNode.defaultNode;
|
|
5021
|
-
}
|
|
5022
|
-
if (parent !== this.parent) {
|
|
5023
|
-
const reparent = [];
|
|
5024
|
-
for (const child of parent.children) {
|
|
5025
|
-
if (child instanceof FASTDesignTokenNode && FASTDesignTokenNode.strategy.contains(controller.source, child.target)) {
|
|
5026
|
-
reparent.push(child);
|
|
5027
|
-
}
|
|
5028
|
-
}
|
|
5029
|
-
parent.appendChild(this);
|
|
5030
|
-
for (const child of reparent) {
|
|
5031
|
-
this.appendChild(child);
|
|
5032
|
-
}
|
|
5033
|
-
}
|
|
5034
|
-
}
|
|
5035
|
-
disconnectedCallback(controller) {
|
|
5036
|
-
FASTDesignTokenNode.cache.delete(this.target);
|
|
5037
|
-
this.dispose();
|
|
5038
|
-
}
|
|
5039
|
-
static getOrCreate(target) {
|
|
5040
|
-
let found = FASTDesignTokenNode.cache.get(target);
|
|
5041
|
-
if (found) {
|
|
5042
|
-
return found;
|
|
5043
|
-
}
|
|
5044
|
-
found = new FASTDesignTokenNode(target);
|
|
5045
|
-
FASTDesignTokenNode.cache.set(target, found);
|
|
5046
|
-
target.$fastController.addBehavior(FASTDesignTokenNode.strategy);
|
|
5047
|
-
target.$fastController.addBehavior(found);
|
|
5048
|
-
return found;
|
|
5049
|
-
}
|
|
5050
|
-
static withStrategy(strategy) {
|
|
5051
|
-
this._strategy = strategy;
|
|
5052
|
-
}
|
|
5053
|
-
static findParent(target) {
|
|
5054
|
-
let current = FASTDesignTokenNode.strategy.parent(target);
|
|
5055
|
-
while (current !== null) {
|
|
5056
|
-
const node = FASTDesignTokenNode.cache.get(current);
|
|
5057
|
-
if (node) {
|
|
5058
|
-
return node;
|
|
5059
|
-
}
|
|
5060
|
-
current = FASTDesignTokenNode.strategy.parent(current);
|
|
5061
|
-
}
|
|
5062
|
-
return null;
|
|
5063
|
-
}
|
|
5064
|
-
/**
|
|
5065
|
-
* Creates a function from a function that lazily attaches the node to the default node.
|
|
5066
|
-
*/
|
|
5067
|
-
lazyAttachToDefault(fn) {
|
|
5068
|
-
const cb = (...args) => {
|
|
5069
|
-
if (this.parent === null) {
|
|
5070
|
-
FASTDesignTokenNode.defaultNode.appendChild(this);
|
|
5071
|
-
}
|
|
5072
|
-
return fn.apply(this, args);
|
|
5073
|
-
};
|
|
5074
|
-
return cb;
|
|
5075
|
-
}
|
|
5076
|
-
}
|
|
5077
|
-
FASTDesignTokenNode.defaultNode = new DesignTokenNode();
|
|
5078
|
-
FASTDesignTokenNode.rootStyleSheetTarget = new RootStyleSheetTarget();
|
|
5079
|
-
FASTDesignTokenNode.cache = new WeakMap();
|
|
5080
|
-
|
|
5081
|
-
const {
|
|
5082
|
-
create
|
|
5083
|
-
} = DesignToken;
|
|
5084
|
-
const borderRadiusNone = create("borderRadiusNone");
|
|
5085
|
-
const borderRadiusSmall = create("borderRadiusSmall");
|
|
5086
|
-
const borderRadiusMedium = create("borderRadiusMedium");
|
|
5087
|
-
const borderRadiusLarge = create("borderRadiusLarge");
|
|
5088
|
-
const borderRadiusXLarge = create("borderRadiusXLarge");
|
|
5089
|
-
const borderRadiusCircular = create("borderRadiusCircular");
|
|
5090
|
-
const fontSizeBase100 = create("fontSizeBase100");
|
|
5091
|
-
const fontSizeBase200 = create("fontSizeBase200");
|
|
5092
|
-
const fontSizeBase300 = create("fontSizeBase300");
|
|
5093
|
-
const fontSizeBase400 = create("fontSizeBase400");
|
|
5094
|
-
const fontSizeBase500 = create("fontSizeBase500");
|
|
5095
|
-
const fontSizeBase600 = create("fontSizeBase600");
|
|
5096
|
-
const fontSizeHero700 = create("fontSizeHero700");
|
|
5097
|
-
const fontSizeHero800 = create("fontSizeHero800");
|
|
5098
|
-
const fontSizeHero900 = create("fontSizeHero900");
|
|
5099
|
-
const fontSizeHero1000 = create("fontSizeHero1000");
|
|
5100
|
-
const lineHeightBase100 = create("lineHeightBase100");
|
|
5101
|
-
const lineHeightBase200 = create("lineHeightBase200");
|
|
5102
|
-
const lineHeightBase300 = create("lineHeightBase300");
|
|
5103
|
-
const lineHeightBase400 = create("lineHeightBase400");
|
|
5104
|
-
const lineHeightBase500 = create("lineHeightBase500");
|
|
5105
|
-
const lineHeightBase600 = create("lineHeightBase600");
|
|
5106
|
-
const lineHeightHero700 = create("lineHeightHero700");
|
|
5107
|
-
const lineHeightHero800 = create("lineHeightHero800");
|
|
5108
|
-
const lineHeightHero900 = create("lineHeightHero900");
|
|
5109
|
-
const lineHeightHero1000 = create("lineHeightHero1000");
|
|
5110
|
-
const fontFamilyBase = create("fontFamilyBase");
|
|
5111
|
-
const fontFamilyMonospace = create("fontFamilyMonospace");
|
|
5112
|
-
const fontFamilyNumeric = create("fontFamilyNumeric");
|
|
5113
|
-
const fontWeightRegular = create("fontWeightRegular");
|
|
5114
|
-
const fontWeightMedium = create("fontWeightMedium");
|
|
5115
|
-
const fontWeightSemibold = create("fontWeightSemibold");
|
|
5116
|
-
const fontWeightBold = create("fontWeightBold");
|
|
5117
|
-
const strokeWidthThin = create("strokeWidthThin");
|
|
5118
|
-
const strokeWidthThick = create("strokeWidthThick");
|
|
5119
|
-
const strokeWidthThicker = create("strokeWidthThicker");
|
|
5120
|
-
const strokeWidthThickest = create("strokeWidthThickest");
|
|
5121
|
-
const spacingHorizontalNone = create("spacingHorizontalNone");
|
|
5122
|
-
const spacingHorizontalXXS = create("spacingHorizontalXXS");
|
|
5123
|
-
const spacingHorizontalXS = create("spacingHorizontalXS");
|
|
5124
|
-
const spacingHorizontalSNudge = create("spacingHorizontalSNudge");
|
|
5125
|
-
const spacingHorizontalS = create("spacingHorizontalS");
|
|
5126
|
-
const spacingHorizontalMNudge = create("spacingHorizontalMNudge");
|
|
5127
|
-
const spacingHorizontalM = create("spacingHorizontalM");
|
|
5128
|
-
const spacingHorizontalL = create("spacingHorizontalL");
|
|
5129
|
-
const spacingHorizontalXL = create("spacingHorizontalXL");
|
|
5130
|
-
const spacingHorizontalXXL = create("spacingHorizontalXXL");
|
|
5131
|
-
const spacingHorizontalXXXL = create("spacingHorizontalXXXL");
|
|
5132
|
-
const spacingVerticalNone = create("spacingVerticalNone");
|
|
5133
|
-
const spacingVerticalXXS = create("spacingVerticalXXS");
|
|
5134
|
-
const spacingVerticalXS = create("spacingVerticalXS");
|
|
5135
|
-
const spacingVerticalSNudge = create("spacingVerticalSNudge");
|
|
5136
|
-
const spacingVerticalS = create("spacingVerticalS");
|
|
5137
|
-
const spacingVerticalMNudge = create("spacingVerticalMNudge");
|
|
5138
|
-
const spacingVerticalM = create("spacingVerticalM");
|
|
5139
|
-
const spacingVerticalL = create("spacingVerticalL");
|
|
5140
|
-
const spacingVerticalXL = create("spacingVerticalXL");
|
|
5141
|
-
const spacingVerticalXXL = create("spacingVerticalXXL");
|
|
5142
|
-
const spacingVerticalXXXL = create("spacingVerticalXXXL");
|
|
5143
|
-
const durationUltraFast = create("durationUltraFast");
|
|
5144
|
-
const durationFaster = create("durationFaster");
|
|
5145
|
-
const durationFast = create("durationFast");
|
|
5146
|
-
const durationNormal = create("durationNormal");
|
|
5147
|
-
const durationSlow = create("durationSlow");
|
|
5148
|
-
const durationSlower = create("durationSlower");
|
|
5149
|
-
const durationUltraSlow = create("durationUltraSlow");
|
|
5150
|
-
const curveAccelerateMax = create("curveAccelerateMax");
|
|
5151
|
-
const curveAccelerateMid = create("curveAccelerateMid");
|
|
5152
|
-
const curveAccelerateMin = create("curveAccelerateMin");
|
|
5153
|
-
const curveDecelerateMax = create("curveDecelerateMax");
|
|
5154
|
-
const curveDecelerateMid = create("curveDecelerateMid");
|
|
5155
|
-
const curveDecelerateMin = create("curveDecelerateMin");
|
|
5156
|
-
const curveEasyEaseMax = create("curveEasyEaseMax");
|
|
5157
|
-
const curveEasyEase = create("curveEasyEase");
|
|
5158
|
-
const curveLinear = create("curveLinear");
|
|
5159
|
-
const colorNeutralForeground1 = create("colorNeutralForeground1");
|
|
5160
|
-
const colorNeutralForeground1Hover = create("colorNeutralForeground1Hover");
|
|
5161
|
-
const colorNeutralForeground1Pressed = create("colorNeutralForeground1Pressed");
|
|
5162
|
-
const colorNeutralForeground1Selected = create("colorNeutralForeground1Selected");
|
|
5163
|
-
const colorNeutralForeground2 = create("colorNeutralForeground2");
|
|
5164
|
-
const colorNeutralForeground2Hover = create("colorNeutralForeground2Hover");
|
|
5165
|
-
const colorNeutralForeground2Pressed = create("colorNeutralForeground2Pressed");
|
|
5166
|
-
const colorNeutralForeground2Selected = create("colorNeutralForeground2Selected");
|
|
5167
|
-
const colorNeutralForeground2BrandHover = create("colorNeutralForeground2BrandHover");
|
|
5168
|
-
const colorNeutralForeground2BrandPressed = create("colorNeutralForeground2BrandPressed");
|
|
5169
|
-
const colorNeutralForeground2BrandSelected = create("colorNeutralForeground2BrandSelected");
|
|
5170
|
-
const colorNeutralForeground3 = create("colorNeutralForeground3");
|
|
5171
|
-
const colorNeutralForeground3Hover = create("colorNeutralForeground3Hover");
|
|
5172
|
-
const colorNeutralForeground3Pressed = create("colorNeutralForeground3Pressed");
|
|
5173
|
-
const colorNeutralForeground3Selected = create("colorNeutralForeground3Selected");
|
|
5174
|
-
const colorNeutralForeground3BrandHover = create("colorNeutralForeground3BrandHover");
|
|
5175
|
-
const colorNeutralForeground3BrandPressed = create("colorNeutralForeground3BrandPressed");
|
|
5176
|
-
const colorNeutralForeground3BrandSelected = create("colorNeutralForeground3BrandSelected");
|
|
5177
|
-
const colorNeutralForeground4 = create("colorNeutralForeground4");
|
|
5178
|
-
const colorNeutralForegroundDisabled = create("colorNeutralForegroundDisabled");
|
|
5179
|
-
const colorNeutralForegroundInvertedDisabled = create("colorNeutralForegroundInvertedDisabled");
|
|
5180
|
-
const colorBrandForegroundLink = create("colorBrandForegroundLink");
|
|
5181
|
-
const colorBrandForegroundLinkHover = create("colorBrandForegroundLinkHover");
|
|
5182
|
-
const colorBrandForegroundLinkPressed = create("colorBrandForegroundLinkPressed");
|
|
5183
|
-
const colorBrandForegroundLinkSelected = create("colorBrandForegroundLinkSelected");
|
|
5184
|
-
const colorNeutralForeground2Link = create("colorNeutralForeground2Link");
|
|
5185
|
-
const colorNeutralForeground2LinkHover = create("colorNeutralForeground2LinkHover");
|
|
5186
|
-
const colorNeutralForeground2LinkPressed = create("colorNeutralForeground2LinkPressed");
|
|
5187
|
-
const colorNeutralForeground2LinkSelected = create("colorNeutralForeground2LinkSelected");
|
|
5188
|
-
const colorCompoundBrandForeground1 = create("colorCompoundBrandForeground1");
|
|
5189
|
-
const colorCompoundBrandForeground1Hover = create("colorCompoundBrandForeground1Hover");
|
|
5190
|
-
const colorCompoundBrandForeground1Pressed = create("colorCompoundBrandForeground1Pressed");
|
|
5191
|
-
const colorBrandForeground1 = create("colorBrandForeground1");
|
|
5192
|
-
const colorBrandForeground2 = create("colorBrandForeground2");
|
|
5193
|
-
const colorNeutralForeground1Static = create("colorNeutralForeground1Static");
|
|
5194
|
-
const colorNeutralForegroundStaticInverted = create("colorNeutralForegroundStaticInverted");
|
|
5195
|
-
const colorNeutralForegroundInverted = create("colorNeutralForegroundInverted");
|
|
5196
|
-
const colorNeutralForegroundInvertedHover = create("colorNeutralForegroundInvertedHover");
|
|
5197
|
-
const colorNeutralForegroundInvertedPressed = create("colorNeutralForegroundInvertedPressed");
|
|
5198
|
-
const colorNeutralForegroundInvertedSelected = create("colorNeutralForegroundInvertedSelected");
|
|
5199
|
-
const colorNeutralForegroundInverted2 = create("colorNeutralForegroundInverted2");
|
|
5200
|
-
const colorNeutralForegroundOnBrand = create("colorNeutralForegroundOnBrand");
|
|
5201
|
-
const colorNeutralForegroundInvertedLink = create("colorNeutralForegroundInvertedLink");
|
|
5202
|
-
const colorNeutralForegroundInvertedLinkHover = create("colorNeutralForegroundInvertedLinkHover");
|
|
5203
|
-
const colorNeutralForegroundInvertedLinkPressed = create("colorNeutralForegroundInvertedLinkPressed");
|
|
5204
|
-
const colorNeutralForegroundInvertedLinkSelected = create("colorNeutralForegroundInvertedLinkSelected");
|
|
5205
|
-
const colorBrandForegroundInverted = create("colorBrandForegroundInverted");
|
|
5206
|
-
const colorBrandForegroundInvertedHover = create("colorBrandForegroundInvertedHover");
|
|
5207
|
-
const colorBrandForegroundInvertedPressed = create("colorBrandForegroundInvertedPressed");
|
|
5208
|
-
const colorBrandForegroundOnLight = create("colorBrandForegroundOnLight");
|
|
5209
|
-
const colorBrandForegroundOnLightHover = create("colorBrandForegroundOnLightHover");
|
|
5210
|
-
const colorBrandForegroundOnLightPressed = create("colorBrandForegroundOnLightPressed");
|
|
5211
|
-
const colorBrandForegroundOnLightSelected = create("colorBrandForegroundOnLightSelected");
|
|
5212
|
-
const colorNeutralBackground1 = create("colorNeutralBackground1");
|
|
5213
|
-
const colorNeutralBackground1Hover = create("colorNeutralBackground1Hover");
|
|
5214
|
-
const colorNeutralBackground1Pressed = create("colorNeutralBackground1Pressed");
|
|
5215
|
-
const colorNeutralBackground1Selected = create("colorNeutralBackground1Selected");
|
|
5216
|
-
const colorNeutralBackground2 = create("colorNeutralBackground2");
|
|
5217
|
-
const colorNeutralBackground2Hover = create("colorNeutralBackground2Hover");
|
|
5218
|
-
const colorNeutralBackground2Pressed = create("colorNeutralBackground2Pressed");
|
|
5219
|
-
const colorNeutralBackground2Selected = create("colorNeutralBackground2Selected");
|
|
5220
|
-
const colorNeutralBackground3 = create("colorNeutralBackground3");
|
|
5221
|
-
const colorNeutralBackground3Hover = create("colorNeutralBackground3Hover");
|
|
5222
|
-
const colorNeutralBackground3Pressed = create("colorNeutralBackground3Pressed");
|
|
5223
|
-
const colorNeutralBackground3Selected = create("colorNeutralBackground3Selected");
|
|
5224
|
-
const colorNeutralBackground4 = create("colorNeutralBackground4");
|
|
5225
|
-
const colorNeutralBackground4Hover = create("colorNeutralBackground4Hover");
|
|
5226
|
-
const colorNeutralBackground4Pressed = create("colorNeutralBackground4Pressed");
|
|
5227
|
-
const colorNeutralBackground4Selected = create("colorNeutralBackground4Selected");
|
|
5228
|
-
const colorNeutralBackground5 = create("colorNeutralBackground5");
|
|
5229
|
-
const colorNeutralBackground5Hover = create("colorNeutralBackground5Hover");
|
|
5230
|
-
const colorNeutralBackground5Pressed = create("colorNeutralBackground5Pressed");
|
|
5231
|
-
const colorNeutralBackground5Selected = create("colorNeutralBackground5Selected");
|
|
5232
|
-
const colorNeutralBackground6 = create("colorNeutralBackground6");
|
|
5233
|
-
const colorNeutralBackgroundInverted = create("colorNeutralBackgroundInverted");
|
|
5234
|
-
const colorNeutralBackgroundStatic = create("colorNeutralBackgroundStatic");
|
|
5235
|
-
const colorSubtleBackground = create("colorSubtleBackground");
|
|
5236
|
-
const colorSubtleBackgroundHover = create("colorSubtleBackgroundHover");
|
|
5237
|
-
const colorSubtleBackgroundPressed = create("colorSubtleBackgroundPressed");
|
|
5238
|
-
const colorSubtleBackgroundSelected = create("colorSubtleBackgroundSelected");
|
|
5239
|
-
const colorSubtleBackgroundLightAlphaHover = create("colorSubtleBackgroundLightAlphaHover");
|
|
5240
|
-
const colorSubtleBackgroundLightAlphaPressed = create("colorSubtleBackgroundLightAlphaPressed");
|
|
5241
|
-
const colorSubtleBackgroundLightAlphaSelected = create("colorSubtleBackgroundLightAlphaSelected");
|
|
5242
|
-
const colorSubtleBackgroundInverted = create("colorSubtleBackgroundInverted");
|
|
5243
|
-
const colorSubtleBackgroundInvertedHover = create("colorSubtleBackgroundInvertedHover");
|
|
5244
|
-
const colorSubtleBackgroundInvertedPressed = create("colorSubtleBackgroundInvertedPressed");
|
|
5245
|
-
const colorSubtleBackgroundInvertedSelected = create("colorSubtleBackgroundInvertedSelected");
|
|
5246
|
-
const colorTransparentBackground = create("colorTransparentBackground");
|
|
5247
|
-
const colorTransparentBackgroundHover = create("colorTransparentBackgroundHover");
|
|
5248
|
-
const colorTransparentBackgroundPressed = create("colorTransparentBackgroundPressed");
|
|
5249
|
-
const colorTransparentBackgroundSelected = create("colorTransparentBackgroundSelected");
|
|
5250
|
-
const colorNeutralBackgroundDisabled = create("colorNeutralBackgroundDisabled");
|
|
5251
|
-
const colorNeutralBackgroundInvertedDisabled = create("colorNeutralBackgroundInvertedDisabled");
|
|
5252
|
-
const colorNeutralStencil1 = create("colorNeutralStencil1");
|
|
5253
|
-
const colorNeutralStencil2 = create("colorNeutralStencil2");
|
|
5254
|
-
const colorNeutralStencil1Alpha = create("colorNeutralStencil1Alpha");
|
|
5255
|
-
const colorNeutralStencil2Alpha = create("colorNeutralStencil2Alpha");
|
|
5256
|
-
const colorBackgroundOverlay = create("colorBackgroundOverlay");
|
|
5257
|
-
const colorScrollbarOverlay = create("colorScrollbarOverlay");
|
|
5258
|
-
const colorBrandBackground = create("colorBrandBackground");
|
|
5259
|
-
const colorBrandBackgroundHover = create("colorBrandBackgroundHover");
|
|
5260
|
-
const colorBrandBackgroundPressed = create("colorBrandBackgroundPressed");
|
|
5261
|
-
const colorBrandBackgroundSelected = create("colorBrandBackgroundSelected");
|
|
5262
|
-
const colorCompoundBrandBackground = create("colorCompoundBrandBackground");
|
|
5263
|
-
const colorCompoundBrandBackgroundHover = create("colorCompoundBrandBackgroundHover");
|
|
5264
|
-
const colorCompoundBrandBackgroundPressed = create("colorCompoundBrandBackgroundPressed");
|
|
5265
|
-
const colorBrandBackgroundStatic = create("colorBrandBackgroundStatic");
|
|
5266
|
-
const colorBrandBackground2 = create("colorBrandBackground2");
|
|
5267
|
-
const colorBrandBackgroundInverted = create("colorBrandBackgroundInverted");
|
|
5268
|
-
const colorBrandBackgroundInvertedHover = create("colorBrandBackgroundInvertedHover");
|
|
5269
|
-
const colorBrandBackgroundInvertedPressed = create("colorBrandBackgroundInvertedPressed");
|
|
5270
|
-
const colorBrandBackgroundInvertedSelected = create("colorBrandBackgroundInvertedSelected");
|
|
5271
|
-
const colorNeutralStrokeAccessible = create("colorNeutralStrokeAccessible");
|
|
5272
|
-
const colorNeutralStrokeAccessibleHover = create("colorNeutralStrokeAccessibleHover");
|
|
5273
|
-
const colorNeutralStrokeAccessiblePressed = create("colorNeutralStrokeAccessiblePressed");
|
|
5274
|
-
const colorNeutralStrokeAccessibleSelected = create("colorNeutralStrokeAccessibleSelected");
|
|
5275
|
-
const colorNeutralStroke1 = create("colorNeutralStroke1");
|
|
5276
|
-
const colorNeutralStroke1Hover = create("colorNeutralStroke1Hover");
|
|
5277
|
-
const colorNeutralStroke1Pressed = create("colorNeutralStroke1Pressed");
|
|
5278
|
-
const colorNeutralStroke1Selected = create("colorNeutralStroke1Selected");
|
|
5279
|
-
const colorNeutralStroke2 = create("colorNeutralStroke2");
|
|
5280
|
-
const colorNeutralStroke3 = create("colorNeutralStroke3");
|
|
5281
|
-
const colorNeutralStrokeOnBrand = create("colorNeutralStrokeOnBrand");
|
|
5282
|
-
const colorNeutralStrokeOnBrand2 = create("colorNeutralStrokeOnBrand2");
|
|
5283
|
-
const colorNeutralStrokeOnBrand2Hover = create("colorNeutralStrokeOnBrand2Hover");
|
|
5284
|
-
const colorNeutralStrokeOnBrand2Pressed = create("colorNeutralStrokeOnBrand2Pressed");
|
|
5285
|
-
const colorNeutralStrokeOnBrand2Selected = create("colorNeutralStrokeOnBrand2Selected");
|
|
5286
|
-
const colorBrandStroke1 = create("colorBrandStroke1");
|
|
5287
|
-
const colorBrandStroke2 = create("colorBrandStroke2");
|
|
5288
|
-
const colorCompoundBrandStroke = create("colorCompoundBrandStroke");
|
|
5289
|
-
const colorCompoundBrandStrokeHover = create("colorCompoundBrandStrokeHover");
|
|
5290
|
-
const colorCompoundBrandStrokePressed = create("colorCompoundBrandStrokePressed");
|
|
5291
|
-
const colorNeutralStrokeDisabled = create("colorNeutralStrokeDisabled");
|
|
5292
|
-
const colorNeutralStrokeInvertedDisabled = create("colorNeutralStrokeInvertedDisabled");
|
|
5293
|
-
const colorTransparentStroke = create("colorTransparentStroke");
|
|
5294
|
-
const colorTransparentStrokeInteractive = create("colorTransparentStrokeInteractive");
|
|
5295
|
-
const colorTransparentStrokeDisabled = create("colorTransparentStrokeDisabled");
|
|
5296
|
-
const colorStrokeFocus1 = create("colorStrokeFocus1");
|
|
5297
|
-
const colorStrokeFocus2 = create("colorStrokeFocus2");
|
|
5298
|
-
const colorNeutralShadowAmbient = create("colorNeutralShadowAmbient");
|
|
5299
|
-
const colorNeutralShadowKey = create("colorNeutralShadowKey");
|
|
5300
|
-
const colorNeutralShadowAmbientLighter = create("colorNeutralShadowAmbientLighter");
|
|
5301
|
-
const colorNeutralShadowKeyLighter = create("colorNeutralShadowKeyLighter");
|
|
5302
|
-
const colorNeutralShadowAmbientDarker = create("colorNeutralShadowAmbientDarker");
|
|
5303
|
-
const colorNeutralShadowKeyDarker = create("colorNeutralShadowKeyDarker");
|
|
5304
|
-
const colorBrandShadowAmbient = create("colorBrandShadowAmbient");
|
|
5305
|
-
const colorBrandShadowKey = create("colorBrandShadowKey");
|
|
5306
|
-
const colorPaletteRedBackground1 = create("colorPaletteRedBackground1");
|
|
5307
|
-
const colorPaletteRedBackground2 = create("colorPaletteRedBackground2");
|
|
5308
|
-
const colorPaletteRedBackground3 = create("colorPaletteRedBackground3");
|
|
5309
|
-
const colorPaletteRedForeground1 = create("colorPaletteRedForeground1");
|
|
5310
|
-
const colorPaletteRedForeground2 = create("colorPaletteRedForeground2");
|
|
5311
|
-
const colorPaletteRedForeground3 = create("colorPaletteRedForeground3");
|
|
5312
|
-
const colorPaletteRedBorderActive = create("colorPaletteRedBorderActive");
|
|
5313
|
-
const colorPaletteRedBorder1 = create("colorPaletteRedBorder1");
|
|
5314
|
-
const colorPaletteRedBorder2 = create("colorPaletteRedBorder2");
|
|
5315
|
-
const colorPaletteGreenBackground1 = create("colorPaletteGreenBackground1");
|
|
5316
|
-
const colorPaletteGreenBackground2 = create("colorPaletteGreenBackground2");
|
|
5317
|
-
const colorPaletteGreenBackground3 = create("colorPaletteGreenBackground3");
|
|
5318
|
-
const colorPaletteGreenForeground1 = create("colorPaletteGreenForeground1");
|
|
5319
|
-
const colorPaletteGreenForeground2 = create("colorPaletteGreenForeground2");
|
|
5320
|
-
const colorPaletteGreenForeground3 = create("colorPaletteGreenForeground3");
|
|
5321
|
-
const colorPaletteGreenBorderActive = create("colorPaletteGreenBorderActive");
|
|
5322
|
-
const colorPaletteGreenBorder1 = create("colorPaletteGreenBorder1");
|
|
5323
|
-
const colorPaletteGreenBorder2 = create("colorPaletteGreenBorder2");
|
|
5324
|
-
const colorPaletteDarkOrangeBackground1 = create("colorPaletteDarkOrangeBackground1");
|
|
5325
|
-
const colorPaletteDarkOrangeBackground2 = create("colorPaletteDarkOrangeBackground2");
|
|
5326
|
-
const colorPaletteDarkOrangeBackground3 = create("colorPaletteDarkOrangeBackground3");
|
|
5327
|
-
const colorPaletteDarkOrangeForeground1 = create("colorPaletteDarkOrangeForeground1");
|
|
5328
|
-
const colorPaletteDarkOrangeForeground2 = create("colorPaletteDarkOrangeForeground2");
|
|
5329
|
-
const colorPaletteDarkOrangeForeground3 = create("colorPaletteDarkOrangeForeground3");
|
|
5330
|
-
const colorPaletteDarkOrangeBorderActive = create("colorPaletteDarkOrangeBorderActive");
|
|
5331
|
-
const colorPaletteDarkOrangeBorder1 = create("colorPaletteDarkOrangeBorder1");
|
|
5332
|
-
const colorPaletteDarkOrangeBorder2 = create("colorPaletteDarkOrangeBorder2");
|
|
5333
|
-
const colorPaletteYellowBackground1 = create("colorPaletteYellowBackground1");
|
|
5334
|
-
const colorPaletteYellowBackground2 = create("colorPaletteYellowBackground2");
|
|
5335
|
-
const colorPaletteYellowBackground3 = create("colorPaletteYellowBackground3");
|
|
5336
|
-
const colorPaletteYellowForeground1 = create("colorPaletteYellowForeground1");
|
|
5337
|
-
const colorPaletteYellowForeground2 = create("colorPaletteYellowForeground2");
|
|
5338
|
-
const colorPaletteYellowForeground3 = create("colorPaletteYellowForeground3");
|
|
5339
|
-
const colorPaletteYellowBorderActive = create("colorPaletteYellowBorderActive");
|
|
5340
|
-
const colorPaletteYellowBorder1 = create("colorPaletteYellowBorder1");
|
|
5341
|
-
const colorPaletteYellowBorder2 = create("colorPaletteYellowBorder2");
|
|
5342
|
-
const colorPaletteBerryBackground1 = create("colorPaletteBerryBackground1");
|
|
5343
|
-
const colorPaletteBerryBackground2 = create("colorPaletteBerryBackground2");
|
|
5344
|
-
const colorPaletteBerryBackground3 = create("colorPaletteBerryBackground3");
|
|
5345
|
-
const colorPaletteBerryForeground1 = create("colorPaletteBerryForeground1");
|
|
5346
|
-
const colorPaletteBerryForeground2 = create("colorPaletteBerryForeground2");
|
|
5347
|
-
const colorPaletteBerryForeground3 = create("colorPaletteBerryForeground3");
|
|
5348
|
-
const colorPaletteBerryBorderActive = create("colorPaletteBerryBorderActive");
|
|
5349
|
-
const colorPaletteBerryBorder1 = create("colorPaletteBerryBorder1");
|
|
5350
|
-
const colorPaletteBerryBorder2 = create("colorPaletteBerryBorder2");
|
|
5351
|
-
const colorPaletteLightGreenBackground1 = create("colorPaletteLightGreenBackground1");
|
|
5352
|
-
const colorPaletteLightGreenBackground2 = create("colorPaletteLightGreenBackground2");
|
|
5353
|
-
const colorPaletteLightGreenBackground3 = create("colorPaletteLightGreenBackground3");
|
|
5354
|
-
const colorPaletteLightGreenForeground1 = create("colorPaletteLightGreenForeground1");
|
|
5355
|
-
const colorPaletteLightGreenForeground2 = create("colorPaletteLightGreenForeground2");
|
|
5356
|
-
const colorPaletteLightGreenForeground3 = create("colorPaletteLightGreenForeground3");
|
|
5357
|
-
const colorPaletteLightGreenBorderActive = create("colorPaletteLightGreenBorderActive");
|
|
5358
|
-
const colorPaletteLightGreenBorder1 = create("colorPaletteLightGreenBorder1");
|
|
5359
|
-
const colorPaletteLightGreenBorder2 = create("colorPaletteLightGreenBorder2");
|
|
5360
|
-
const colorPaletteMarigoldBackground1 = create("colorPaletteMarigoldBackground1");
|
|
5361
|
-
const colorPaletteMarigoldBackground2 = create("colorPaletteMarigoldBackground2");
|
|
5362
|
-
const colorPaletteMarigoldBackground3 = create("colorPaletteMarigoldBackground3");
|
|
5363
|
-
const colorPaletteMarigoldForeground1 = create("colorPaletteMarigoldForeground1");
|
|
5364
|
-
const colorPaletteMarigoldForeground2 = create("colorPaletteMarigoldForeground2");
|
|
5365
|
-
const colorPaletteMarigoldForeground3 = create("colorPaletteMarigoldForeground3");
|
|
5366
|
-
const colorPaletteMarigoldBorderActive = create("colorPaletteMarigoldBorderActive");
|
|
5367
|
-
const colorPaletteMarigoldBorder1 = create("colorPaletteMarigoldBorder1");
|
|
5368
|
-
const colorPaletteMarigoldBorder2 = create("colorPaletteMarigoldBorder2");
|
|
5369
|
-
const colorPaletteDarkRedBackground2 = create("colorPaletteDarkRedBackground2");
|
|
5370
|
-
const colorPaletteDarkRedForeground2 = create("colorPaletteDarkRedForeground2");
|
|
5371
|
-
const colorPaletteDarkRedBorderActive = create("colorPaletteDarkRedBorderActive");
|
|
5372
|
-
const colorPaletteCranberryBackground2 = create("colorPaletteCranberryBackground2");
|
|
5373
|
-
const colorPaletteCranberryForeground2 = create("colorPaletteCranberryForeground2");
|
|
5374
|
-
const colorPaletteCranberryBorderActive = create("colorPaletteCranberryBorderActive");
|
|
5375
|
-
const colorPalettePumpkinBackground2 = create("colorPalettePumpkinBackground2");
|
|
5376
|
-
const colorPalettePumpkinForeground2 = create("colorPalettePumpkinForeground2");
|
|
5377
|
-
const colorPalettePumpkinBorderActive = create("colorPalettePumpkinBorderActive");
|
|
5378
|
-
const colorPalettePeachBackground2 = create("colorPalettePeachBackground2");
|
|
5379
|
-
const colorPalettePeachForeground2 = create("colorPalettePeachForeground2");
|
|
5380
|
-
const colorPalettePeachBorderActive = create("colorPalettePeachBorderActive");
|
|
5381
|
-
const colorPaletteGoldBackground2 = create("colorPaletteGoldBackground2");
|
|
5382
|
-
const colorPaletteGoldForeground2 = create("colorPaletteGoldForeground2");
|
|
5383
|
-
const colorPaletteGoldBorderActive = create("colorPaletteGoldBorderActive");
|
|
5384
|
-
const colorPaletteBrassBackground2 = create("colorPaletteBrassBackground2");
|
|
5385
|
-
const colorPaletteBrassForeground2 = create("colorPaletteBrassForeground2");
|
|
5386
|
-
const colorPaletteBrassBorderActive = create("colorPaletteBrassBorderActive");
|
|
5387
|
-
const colorPaletteBrownBackground2 = create("colorPaletteBrownBackground2");
|
|
5388
|
-
const colorPaletteBrownForeground2 = create("colorPaletteBrownForeground2");
|
|
5389
|
-
const colorPaletteBrownBorderActive = create("colorPaletteBrownBorderActive");
|
|
5390
|
-
const colorPaletteForestBackground2 = create("colorPaletteForestBackground2");
|
|
5391
|
-
const colorPaletteForestForeground2 = create("colorPaletteForestForeground2");
|
|
5392
|
-
const colorPaletteForestBorderActive = create("colorPaletteForestBorderActive");
|
|
5393
|
-
const colorPaletteSeafoamBackground2 = create("colorPaletteSeafoamBackground2");
|
|
5394
|
-
const colorPaletteSeafoamForeground2 = create("colorPaletteSeafoamForeground2");
|
|
5395
|
-
const colorPaletteSeafoamBorderActive = create("colorPaletteSeafoamBorderActive");
|
|
5396
|
-
const colorPaletteDarkGreenBackground2 = create("colorPaletteDarkGreenBackground2");
|
|
5397
|
-
const colorPaletteDarkGreenForeground2 = create("colorPaletteDarkGreenForeground2");
|
|
5398
|
-
const colorPaletteDarkGreenBorderActive = create("colorPaletteDarkGreenBorderActive");
|
|
5399
|
-
const colorPaletteLightTealBackground2 = create("colorPaletteLightTealBackground2");
|
|
5400
|
-
const colorPaletteLightTealForeground2 = create("colorPaletteLightTealForeground2");
|
|
5401
|
-
const colorPaletteLightTealBorderActive = create("colorPaletteLightTealBorderActive");
|
|
5402
|
-
const colorPaletteTealBackground2 = create("colorPaletteTealBackground2");
|
|
5403
|
-
const colorPaletteTealForeground2 = create("colorPaletteTealForeground2");
|
|
5404
|
-
const colorPaletteTealBorderActive = create("colorPaletteTealBorderActive");
|
|
5405
|
-
const colorPaletteSteelBackground2 = create("colorPaletteSteelBackground2");
|
|
5406
|
-
const colorPaletteSteelForeground2 = create("colorPaletteSteelForeground2");
|
|
5407
|
-
const colorPaletteSteelBorderActive = create("colorPaletteSteelBorderActive");
|
|
5408
|
-
const colorPaletteBlueBackground2 = create("colorPaletteBlueBackground2");
|
|
5409
|
-
const colorPaletteBlueForeground2 = create("colorPaletteBlueForeground2");
|
|
5410
|
-
const colorPaletteBlueBorderActive = create("colorPaletteBlueBorderActive");
|
|
5411
|
-
const colorPaletteRoyalBlueBackground2 = create("colorPaletteRoyalBlueBackground2");
|
|
5412
|
-
const colorPaletteRoyalBlueForeground2 = create("colorPaletteRoyalBlueForeground2");
|
|
5413
|
-
const colorPaletteRoyalBlueBorderActive = create("colorPaletteRoyalBlueBorderActive");
|
|
5414
|
-
const colorPaletteCornflowerBackground2 = create("colorPaletteCornflowerBackground2");
|
|
5415
|
-
const colorPaletteCornflowerForeground2 = create("colorPaletteCornflowerForeground2");
|
|
5416
|
-
const colorPaletteCornflowerBorderActive = create("colorPaletteCornflowerBorderActive");
|
|
5417
|
-
const colorPaletteNavyBackground2 = create("colorPaletteNavyBackground2");
|
|
5418
|
-
const colorPaletteNavyForeground2 = create("colorPaletteNavyForeground2");
|
|
5419
|
-
const colorPaletteNavyBorderActive = create("colorPaletteNavyBorderActive");
|
|
5420
|
-
const colorPaletteLavenderBackground2 = create("colorPaletteLavenderBackground2");
|
|
5421
|
-
const colorPaletteLavenderForeground2 = create("colorPaletteLavenderForeground2");
|
|
5422
|
-
const colorPaletteLavenderBorderActive = create("colorPaletteLavenderBorderActive");
|
|
5423
|
-
const colorPalettePurpleBackground2 = create("colorPalettePurpleBackground2");
|
|
5424
|
-
const colorPalettePurpleForeground2 = create("colorPalettePurpleForeground2");
|
|
5425
|
-
const colorPalettePurpleBorderActive = create("colorPalettePurpleBorderActive");
|
|
5426
|
-
const colorPaletteGrapeBackground2 = create("colorPaletteGrapeBackground2");
|
|
5427
|
-
const colorPaletteGrapeForeground2 = create("colorPaletteGrapeForeground2");
|
|
5428
|
-
const colorPaletteGrapeBorderActive = create("colorPaletteGrapeBorderActive");
|
|
5429
|
-
const colorPaletteLilacBackground2 = create("colorPaletteLilacBackground2");
|
|
5430
|
-
const colorPaletteLilacForeground2 = create("colorPaletteLilacForeground2");
|
|
5431
|
-
const colorPaletteLilacBorderActive = create("colorPaletteLilacBorderActive");
|
|
5432
|
-
const colorPalettePinkBackground2 = create("colorPalettePinkBackground2");
|
|
5433
|
-
const colorPalettePinkForeground2 = create("colorPalettePinkForeground2");
|
|
5434
|
-
const colorPalettePinkBorderActive = create("colorPalettePinkBorderActive");
|
|
5435
|
-
const colorPaletteMagentaBackground2 = create("colorPaletteMagentaBackground2");
|
|
5436
|
-
const colorPaletteMagentaForeground2 = create("colorPaletteMagentaForeground2");
|
|
5437
|
-
const colorPaletteMagentaBorderActive = create("colorPaletteMagentaBorderActive");
|
|
5438
|
-
const colorPalettePlumBackground2 = create("colorPalettePlumBackground2");
|
|
5439
|
-
const colorPalettePlumForeground2 = create("colorPalettePlumForeground2");
|
|
5440
|
-
const colorPalettePlumBorderActive = create("colorPalettePlumBorderActive");
|
|
5441
|
-
const colorPaletteBeigeBackground2 = create("colorPaletteBeigeBackground2");
|
|
5442
|
-
const colorPaletteBeigeForeground2 = create("colorPaletteBeigeForeground2");
|
|
5443
|
-
const colorPaletteBeigeBorderActive = create("colorPaletteBeigeBorderActive");
|
|
5444
|
-
const colorPaletteMinkBackground2 = create("colorPaletteMinkBackground2");
|
|
5445
|
-
const colorPaletteMinkForeground2 = create("colorPaletteMinkForeground2");
|
|
5446
|
-
const colorPaletteMinkBorderActive = create("colorPaletteMinkBorderActive");
|
|
5447
|
-
const colorPalettePlatinumBackground2 = create("colorPalettePlatinumBackground2");
|
|
5448
|
-
const colorPalettePlatinumForeground2 = create("colorPalettePlatinumForeground2");
|
|
5449
|
-
const colorPalettePlatinumBorderActive = create("colorPalettePlatinumBorderActive");
|
|
5450
|
-
const colorPaletteAnchorBackground2 = create("colorPaletteAnchorBackground2");
|
|
5451
|
-
const colorPaletteAnchorForeground2 = create("colorPaletteAnchorForeground2");
|
|
5452
|
-
const colorPaletteAnchorBorderActive = create("colorPaletteAnchorBorderActive");
|
|
5453
|
-
const colorPaletteRedForegroundInverted = create("colorPaletteRedForegroundInverted");
|
|
5454
|
-
const colorPaletteGreenForegroundInverted = create("colorPaletteGreenForegroundInverted");
|
|
5455
|
-
const colorPaletteYellowForegroundInverted = create("colorPaletteYellowForegroundInverted");
|
|
5456
|
-
const shadow2 = create("shadow2");
|
|
5457
|
-
const shadow4 = create("shadow4");
|
|
5458
|
-
const shadow8 = create("shadow8");
|
|
5459
|
-
const shadow16 = create("shadow16");
|
|
5460
|
-
const shadow28 = create("shadow28");
|
|
5461
|
-
const shadow64 = create("shadow64");
|
|
5462
|
-
const shadow2Brand = create("shadow2Brand");
|
|
5463
|
-
const shadow4Brand = create("shadow4Brand");
|
|
5464
|
-
const shadow8Brand = create("shadow8Brand");
|
|
5465
|
-
const shadow16Brand = create("shadow16Brand");
|
|
5466
|
-
const shadow28Brand = create("shadow28Brand");
|
|
5467
|
-
const shadow64Brand = create("shadow64Brand");
|
|
4062
|
+
const colorNeutralForeground1 = "--colorNeutralForeground1";
|
|
4063
|
+
const colorNeutralForeground1Hover = "--colorNeutralForeground1Hover";
|
|
4064
|
+
const colorNeutralForeground1Pressed = "--colorNeutralForeground1Pressed";
|
|
4065
|
+
const colorNeutralForeground1Selected = "--colorNeutralForeground1Selected";
|
|
4066
|
+
const colorNeutralForeground2 = "--colorNeutralForeground2";
|
|
4067
|
+
const colorNeutralForeground2Hover = "--colorNeutralForeground2Hover";
|
|
4068
|
+
const colorNeutralForeground2Pressed = "--colorNeutralForeground2Pressed";
|
|
4069
|
+
const colorNeutralForeground2Selected = "--colorNeutralForeground2Selected";
|
|
4070
|
+
const colorNeutralForeground2BrandHover = "--colorNeutralForeground2BrandHover";
|
|
4071
|
+
const colorNeutralForeground2BrandPressed = "--colorNeutralForeground2BrandPressed";
|
|
4072
|
+
const colorNeutralForeground2BrandSelected = "--colorNeutralForeground2BrandSelected";
|
|
4073
|
+
const colorNeutralForeground3 = "--colorNeutralForeground3";
|
|
4074
|
+
const colorNeutralForeground3Hover = "--colorNeutralForeground3Hover";
|
|
4075
|
+
const colorNeutralForeground3Pressed = "--colorNeutralForeground3Pressed";
|
|
4076
|
+
const colorNeutralForeground3Selected = "--colorNeutralForeground3Selected";
|
|
4077
|
+
const colorNeutralForeground3BrandHover = "--colorNeutralForeground3BrandHover";
|
|
4078
|
+
const colorNeutralForeground3BrandPressed = "--colorNeutralForeground3BrandPressed";
|
|
4079
|
+
const colorNeutralForeground3BrandSelected = "--colorNeutralForeground3BrandSelected";
|
|
4080
|
+
const colorNeutralForeground4 = "--colorNeutralForeground4";
|
|
4081
|
+
const colorNeutralForegroundDisabled = "--colorNeutralForegroundDisabled";
|
|
4082
|
+
const colorBrandForegroundLink = "--colorBrandForegroundLink";
|
|
4083
|
+
const colorBrandForegroundLinkHover = "--colorBrandForegroundLinkHover";
|
|
4084
|
+
const colorBrandForegroundLinkPressed = "--colorBrandForegroundLinkPressed";
|
|
4085
|
+
const colorBrandForegroundLinkSelected = "--colorBrandForegroundLinkSelected";
|
|
4086
|
+
const colorNeutralForeground2Link = "--colorNeutralForeground2Link";
|
|
4087
|
+
const colorNeutralForeground2LinkHover = "--colorNeutralForeground2LinkHover";
|
|
4088
|
+
const colorNeutralForeground2LinkPressed = "--colorNeutralForeground2LinkPressed";
|
|
4089
|
+
const colorNeutralForeground2LinkSelected = "--colorNeutralForeground2LinkSelected";
|
|
4090
|
+
const colorCompoundBrandForeground1 = "--colorCompoundBrandForeground1";
|
|
4091
|
+
const colorCompoundBrandForeground1Hover = "--colorCompoundBrandForeground1Hover";
|
|
4092
|
+
const colorCompoundBrandForeground1Pressed = "--colorCompoundBrandForeground1Pressed";
|
|
4093
|
+
const colorNeutralForegroundOnBrand = "--colorNeutralForegroundOnBrand";
|
|
4094
|
+
const colorNeutralForegroundInverted = "--colorNeutralForegroundInverted";
|
|
4095
|
+
const colorNeutralForegroundInvertedHover = "--colorNeutralForegroundInvertedHover";
|
|
4096
|
+
const colorNeutralForegroundInvertedPressed = "--colorNeutralForegroundInvertedPressed";
|
|
4097
|
+
const colorNeutralForegroundInvertedSelected = "--colorNeutralForegroundInvertedSelected";
|
|
4098
|
+
const colorNeutralForegroundInverted2 = "--colorNeutralForegroundInverted2";
|
|
4099
|
+
const colorNeutralForegroundStaticInverted = "--colorNeutralForegroundStaticInverted";
|
|
4100
|
+
const colorNeutralForegroundInvertedLink = "--colorNeutralForegroundInvertedLink";
|
|
4101
|
+
const colorNeutralForegroundInvertedLinkHover = "--colorNeutralForegroundInvertedLinkHover";
|
|
4102
|
+
const colorNeutralForegroundInvertedLinkPressed = "--colorNeutralForegroundInvertedLinkPressed";
|
|
4103
|
+
const colorNeutralForegroundInvertedLinkSelected = "--colorNeutralForegroundInvertedLinkSelected";
|
|
4104
|
+
const colorNeutralForegroundInvertedDisabled = "--colorNeutralForegroundInvertedDisabled";
|
|
4105
|
+
const colorBrandForeground1 = "--colorBrandForeground1";
|
|
4106
|
+
const colorBrandForeground2 = "--colorBrandForeground2";
|
|
4107
|
+
const colorNeutralForeground1Static = "--colorNeutralForeground1Static";
|
|
4108
|
+
const colorBrandForegroundInverted = "--colorBrandForegroundInverted";
|
|
4109
|
+
const colorBrandForegroundInvertedHover = "--colorBrandForegroundInvertedHover";
|
|
4110
|
+
const colorBrandForegroundInvertedPressed = "--colorBrandForegroundInvertedPressed";
|
|
4111
|
+
const colorBrandForegroundOnLight = "--colorBrandForegroundOnLight";
|
|
4112
|
+
const colorBrandForegroundOnLightHover = "--colorBrandForegroundOnLightHover";
|
|
4113
|
+
const colorBrandForegroundOnLightPressed = "--colorBrandForegroundOnLightPressed";
|
|
4114
|
+
const colorBrandForegroundOnLightSelected = "--colorBrandForegroundOnLightSelected";
|
|
4115
|
+
const colorNeutralBackground1 = "--colorNeutralBackground1";
|
|
4116
|
+
const colorNeutralBackground1Hover = "--colorNeutralBackground1Hover";
|
|
4117
|
+
const colorNeutralBackground1Pressed = "--colorNeutralBackground1Pressed";
|
|
4118
|
+
const colorNeutralBackground1Selected = "--colorNeutralBackground1Selected";
|
|
4119
|
+
const colorNeutralBackground2 = "--colorNeutralBackground2";
|
|
4120
|
+
const colorNeutralBackground2Hover = "--colorNeutralBackground2Hover";
|
|
4121
|
+
const colorNeutralBackground2Pressed = "--colorNeutralBackground2Pressed";
|
|
4122
|
+
const colorNeutralBackground2Selected = "--colorNeutralBackground2Selected";
|
|
4123
|
+
const colorNeutralBackground3 = "--colorNeutralBackground3";
|
|
4124
|
+
const colorNeutralBackground3Hover = "--colorNeutralBackground3Hover";
|
|
4125
|
+
const colorNeutralBackground3Pressed = "--colorNeutralBackground3Pressed";
|
|
4126
|
+
const colorNeutralBackground3Selected = "--colorNeutralBackground3Selected";
|
|
4127
|
+
const colorNeutralBackground4 = "--colorNeutralBackground4";
|
|
4128
|
+
const colorNeutralBackground4Hover = "--colorNeutralBackground4Hover";
|
|
4129
|
+
const colorNeutralBackground4Pressed = "--colorNeutralBackground4Pressed";
|
|
4130
|
+
const colorNeutralBackground4Selected = "--colorNeutralBackground4Selected";
|
|
4131
|
+
const colorNeutralBackground5 = "--colorNeutralBackground5";
|
|
4132
|
+
const colorNeutralBackground5Hover = "--colorNeutralBackground5Hover";
|
|
4133
|
+
const colorNeutralBackground5Pressed = "--colorNeutralBackground5Pressed";
|
|
4134
|
+
const colorNeutralBackground5Selected = "--colorNeutralBackground5Selected";
|
|
4135
|
+
const colorNeutralBackground6 = "--colorNeutralBackground6";
|
|
4136
|
+
const colorNeutralBackgroundStatic = "--colorNeutralBackgroundStatic";
|
|
4137
|
+
const colorNeutralBackgroundInverted = "--colorNeutralBackgroundInverted";
|
|
4138
|
+
const colorSubtleBackground = "--colorSubtleBackground";
|
|
4139
|
+
const colorSubtleBackgroundHover = "--colorSubtleBackgroundHover";
|
|
4140
|
+
const colorSubtleBackgroundPressed = "--colorSubtleBackgroundPressed";
|
|
4141
|
+
const colorSubtleBackgroundSelected = "--colorSubtleBackgroundSelected";
|
|
4142
|
+
const colorSubtleBackgroundLightAlphaHover = "--colorSubtleBackgroundLightAlphaHover";
|
|
4143
|
+
const colorSubtleBackgroundLightAlphaPressed = "--colorSubtleBackgroundLightAlphaPressed";
|
|
4144
|
+
const colorSubtleBackgroundLightAlphaSelected = "--colorSubtleBackgroundLightAlphaSelected";
|
|
4145
|
+
const colorSubtleBackgroundInverted = "--colorSubtleBackgroundInverted";
|
|
4146
|
+
const colorSubtleBackgroundInvertedHover = "--colorSubtleBackgroundInvertedHover";
|
|
4147
|
+
const colorSubtleBackgroundInvertedPressed = "--colorSubtleBackgroundInvertedPressed";
|
|
4148
|
+
const colorSubtleBackgroundInvertedSelected = "--colorSubtleBackgroundInvertedSelected";
|
|
4149
|
+
const colorTransparentBackground = "--colorTransparentBackground";
|
|
4150
|
+
const colorTransparentBackgroundHover = "--colorTransparentBackgroundHover";
|
|
4151
|
+
const colorTransparentBackgroundPressed = "--colorTransparentBackgroundPressed";
|
|
4152
|
+
const colorTransparentBackgroundSelected = "--colorTransparentBackgroundSelected";
|
|
4153
|
+
const colorNeutralBackgroundDisabled = "--colorNeutralBackgroundDisabled";
|
|
4154
|
+
const colorNeutralBackgroundInvertedDisabled = "--colorNeutralBackgroundInvertedDisabled";
|
|
4155
|
+
const colorNeutralStencil1 = "--colorNeutralStencil1";
|
|
4156
|
+
const colorNeutralStencil2 = "--colorNeutralStencil2";
|
|
4157
|
+
const colorNeutralStencil1Alpha = "--colorNeutralStencil1Alpha";
|
|
4158
|
+
const colorNeutralStencil2Alpha = "--colorNeutralStencil2Alpha";
|
|
4159
|
+
const colorBackgroundOverlay = "--colorBackgroundOverlay";
|
|
4160
|
+
const colorScrollbarOverlay = "--colorScrollbarOverlay";
|
|
4161
|
+
const colorBrandBackground = "--colorBrandBackground";
|
|
4162
|
+
const colorBrandBackgroundHover = "--colorBrandBackgroundHover";
|
|
4163
|
+
const colorBrandBackgroundPressed = "--colorBrandBackgroundPressed";
|
|
4164
|
+
const colorBrandBackgroundSelected = "--colorBrandBackgroundSelected";
|
|
4165
|
+
const colorCompoundBrandBackground = "--colorCompoundBrandBackground";
|
|
4166
|
+
const colorCompoundBrandBackgroundHover = "--colorCompoundBrandBackgroundHover";
|
|
4167
|
+
const colorCompoundBrandBackgroundPressed = "--colorCompoundBrandBackgroundPressed";
|
|
4168
|
+
const colorBrandBackgroundStatic = "--colorBrandBackgroundStatic";
|
|
4169
|
+
const colorBrandBackground2 = "--colorBrandBackground2";
|
|
4170
|
+
const colorBrandBackgroundInverted = "--colorBrandBackgroundInverted";
|
|
4171
|
+
const colorBrandBackgroundInvertedHover = "--colorBrandBackgroundInvertedHover";
|
|
4172
|
+
const colorBrandBackgroundInvertedPressed = "--colorBrandBackgroundInvertedPressed";
|
|
4173
|
+
const colorBrandBackgroundInvertedSelected = "--colorBrandBackgroundInvertedSelected";
|
|
4174
|
+
const colorNeutralStrokeAccessible = "--colorNeutralStrokeAccessible";
|
|
4175
|
+
const colorNeutralStrokeAccessibleHover = "--colorNeutralStrokeAccessibleHover";
|
|
4176
|
+
const colorNeutralStrokeAccessiblePressed = "--colorNeutralStrokeAccessiblePressed";
|
|
4177
|
+
const colorNeutralStrokeAccessibleSelected = "--colorNeutralStrokeAccessibleSelected";
|
|
4178
|
+
const colorNeutralStroke1 = "--colorNeutralStroke1";
|
|
4179
|
+
const colorNeutralStroke1Hover = "--colorNeutralStroke1Hover";
|
|
4180
|
+
const colorNeutralStroke1Pressed = "--colorNeutralStroke1Pressed";
|
|
4181
|
+
const colorNeutralStroke1Selected = "--colorNeutralStroke1Selected";
|
|
4182
|
+
const colorNeutralStroke2 = "--colorNeutralStroke2";
|
|
4183
|
+
const colorNeutralStroke3 = "--colorNeutralStroke3";
|
|
4184
|
+
const colorNeutralStrokeOnBrand = "--colorNeutralStrokeOnBrand";
|
|
4185
|
+
const colorNeutralStrokeOnBrand2 = "--colorNeutralStrokeOnBrand2";
|
|
4186
|
+
const colorNeutralStrokeOnBrand2Hover = "--colorNeutralStrokeOnBrand2Hover";
|
|
4187
|
+
const colorNeutralStrokeOnBrand2Pressed = "--colorNeutralStrokeOnBrand2Pressed";
|
|
4188
|
+
const colorNeutralStrokeOnBrand2Selected = "--colorNeutralStrokeOnBrand2Selected";
|
|
4189
|
+
const colorBrandStroke1 = "--colorBrandStroke1";
|
|
4190
|
+
const colorBrandStroke2 = "--colorBrandStroke2";
|
|
4191
|
+
const colorCompoundBrandStroke = "--colorCompoundBrandStroke";
|
|
4192
|
+
const colorCompoundBrandStrokeHover = "--colorCompoundBrandStrokeHover";
|
|
4193
|
+
const colorCompoundBrandStrokePressed = "--colorCompoundBrandStrokePressed";
|
|
4194
|
+
const colorNeutralStrokeDisabled = "--colorNeutralStrokeDisabled";
|
|
4195
|
+
const colorNeutralStrokeInvertedDisabled = "--colorNeutralStrokeInvertedDisabled";
|
|
4196
|
+
const colorTransparentStroke = "--colorTransparentStroke";
|
|
4197
|
+
const colorTransparentStrokeInteractive = "--colorTransparentStrokeInteractive";
|
|
4198
|
+
const colorTransparentStrokeDisabled = "--colorTransparentStrokeDisabled";
|
|
4199
|
+
const colorStrokeFocus1 = "--colorStrokeFocus1";
|
|
4200
|
+
const colorStrokeFocus2 = "--colorStrokeFocus2";
|
|
4201
|
+
const colorNeutralShadowAmbient = "--colorNeutralShadowAmbient";
|
|
4202
|
+
const colorNeutralShadowKey = "--colorNeutralShadowKey";
|
|
4203
|
+
const colorNeutralShadowAmbientLighter = "--colorNeutralShadowAmbientLighter";
|
|
4204
|
+
const colorNeutralShadowKeyLighter = "--colorNeutralShadowKeyLighter";
|
|
4205
|
+
const colorNeutralShadowAmbientDarker = "--colorNeutralShadowAmbientDarker";
|
|
4206
|
+
const colorNeutralShadowKeyDarker = "--colorNeutralShadowKeyDarker";
|
|
4207
|
+
const colorBrandShadowAmbient = "--colorBrandShadowAmbient";
|
|
4208
|
+
const colorBrandShadowKey = "--colorBrandShadowKey";
|
|
4209
|
+
const colorPaletteRedBackground1 = "--colorPaletteRedBackground1";
|
|
4210
|
+
const colorPaletteRedBackground2 = "--colorPaletteRedBackground2";
|
|
4211
|
+
const colorPaletteRedBackground3 = "--colorPaletteRedBackground3";
|
|
4212
|
+
const colorPaletteRedBorderActive = "--colorPaletteRedBorderActive";
|
|
4213
|
+
const colorPaletteRedBorder1 = "--colorPaletteRedBorder1";
|
|
4214
|
+
const colorPaletteRedBorder2 = "--colorPaletteRedBorder2";
|
|
4215
|
+
const colorPaletteRedForeground1 = "--colorPaletteRedForeground1";
|
|
4216
|
+
const colorPaletteRedForeground2 = "--colorPaletteRedForeground2";
|
|
4217
|
+
const colorPaletteRedForeground3 = "--colorPaletteRedForeground3";
|
|
4218
|
+
const colorPaletteRedForegroundInverted = "--colorPaletteRedForegroundInverted";
|
|
4219
|
+
const colorPaletteGreenBackground1 = "--colorPaletteGreenBackground1";
|
|
4220
|
+
const colorPaletteGreenBackground2 = "--colorPaletteGreenBackground2";
|
|
4221
|
+
const colorPaletteGreenBackground3 = "--colorPaletteGreenBackground3";
|
|
4222
|
+
const colorPaletteGreenBorderActive = "--colorPaletteGreenBorderActive";
|
|
4223
|
+
const colorPaletteGreenBorder1 = "--colorPaletteGreenBorder1";
|
|
4224
|
+
const colorPaletteGreenBorder2 = "--colorPaletteGreenBorder2";
|
|
4225
|
+
const colorPaletteGreenForeground1 = "--colorPaletteGreenForeground1";
|
|
4226
|
+
const colorPaletteGreenForeground2 = "--colorPaletteGreenForeground2";
|
|
4227
|
+
const colorPaletteGreenForeground3 = "--colorPaletteGreenForeground3";
|
|
4228
|
+
const colorPaletteGreenForegroundInverted = "--colorPaletteGreenForegroundInverted";
|
|
4229
|
+
const colorPaletteDarkOrangeBackground1 = "--colorPaletteDarkOrangeBackground1";
|
|
4230
|
+
const colorPaletteDarkOrangeBackground2 = "--colorPaletteDarkOrangeBackground2";
|
|
4231
|
+
const colorPaletteDarkOrangeBackground3 = "--colorPaletteDarkOrangeBackground3";
|
|
4232
|
+
const colorPaletteDarkOrangeBorderActive = "--colorPaletteDarkOrangeBorderActive";
|
|
4233
|
+
const colorPaletteDarkOrangeBorder1 = "--colorPaletteDarkOrangeBorder1";
|
|
4234
|
+
const colorPaletteDarkOrangeBorder2 = "--colorPaletteDarkOrangeBorder2";
|
|
4235
|
+
const colorPaletteDarkOrangeForeground1 = "--colorPaletteDarkOrangeForeground1";
|
|
4236
|
+
const colorPaletteDarkOrangeForeground2 = "--colorPaletteDarkOrangeForeground2";
|
|
4237
|
+
const colorPaletteDarkOrangeForeground3 = "--colorPaletteDarkOrangeForeground3";
|
|
4238
|
+
const colorPaletteYellowBackground1 = "--colorPaletteYellowBackground1";
|
|
4239
|
+
const colorPaletteYellowBackground2 = "--colorPaletteYellowBackground2";
|
|
4240
|
+
const colorPaletteYellowBackground3 = "--colorPaletteYellowBackground3";
|
|
4241
|
+
const colorPaletteYellowBorderActive = "--colorPaletteYellowBorderActive";
|
|
4242
|
+
const colorPaletteYellowBorder1 = "--colorPaletteYellowBorder1";
|
|
4243
|
+
const colorPaletteYellowBorder2 = "--colorPaletteYellowBorder2";
|
|
4244
|
+
const colorPaletteYellowForeground1 = "--colorPaletteYellowForeground1";
|
|
4245
|
+
const colorPaletteYellowForeground2 = "--colorPaletteYellowForeground2";
|
|
4246
|
+
const colorPaletteYellowForeground3 = "--colorPaletteYellowForeground3";
|
|
4247
|
+
const colorPaletteYellowForegroundInverted = "--colorPaletteYellowForegroundInverted";
|
|
4248
|
+
const colorPaletteBerryBackground1 = "--colorPaletteBerryBackground1";
|
|
4249
|
+
const colorPaletteBerryBackground2 = "--colorPaletteBerryBackground2";
|
|
4250
|
+
const colorPaletteBerryBackground3 = "--colorPaletteBerryBackground3";
|
|
4251
|
+
const colorPaletteBerryBorderActive = "--colorPaletteBerryBorderActive";
|
|
4252
|
+
const colorPaletteBerryBorder1 = "--colorPaletteBerryBorder1";
|
|
4253
|
+
const colorPaletteBerryBorder2 = "--colorPaletteBerryBorder2";
|
|
4254
|
+
const colorPaletteBerryForeground1 = "--colorPaletteBerryForeground1";
|
|
4255
|
+
const colorPaletteBerryForeground2 = "--colorPaletteBerryForeground2";
|
|
4256
|
+
const colorPaletteBerryForeground3 = "--colorPaletteBerryForeground3";
|
|
4257
|
+
const colorPaletteMarigoldBackground1 = "--colorPaletteMarigoldBackground1";
|
|
4258
|
+
const colorPaletteMarigoldBackground2 = "--colorPaletteMarigoldBackground2";
|
|
4259
|
+
const colorPaletteMarigoldBackground3 = "--colorPaletteMarigoldBackground3";
|
|
4260
|
+
const colorPaletteMarigoldBorderActive = "--colorPaletteMarigoldBorderActive";
|
|
4261
|
+
const colorPaletteMarigoldBorder1 = "--colorPaletteMarigoldBorder1";
|
|
4262
|
+
const colorPaletteMarigoldBorder2 = "--colorPaletteMarigoldBorder2";
|
|
4263
|
+
const colorPaletteMarigoldForeground1 = "--colorPaletteMarigoldForeground1";
|
|
4264
|
+
const colorPaletteMarigoldForeground2 = "--colorPaletteMarigoldForeground2";
|
|
4265
|
+
const colorPaletteMarigoldForeground3 = "--colorPaletteMarigoldForeground3";
|
|
4266
|
+
const colorPaletteLightGreenBackground1 = "--colorPaletteLightGreenBackground1";
|
|
4267
|
+
const colorPaletteLightGreenBackground2 = "--colorPaletteLightGreenBackground2";
|
|
4268
|
+
const colorPaletteLightGreenBackground3 = "--colorPaletteLightGreenBackground3";
|
|
4269
|
+
const colorPaletteLightGreenBorderActive = "--colorPaletteLightGreenBorderActive";
|
|
4270
|
+
const colorPaletteLightGreenBorder1 = "--colorPaletteLightGreenBorder1";
|
|
4271
|
+
const colorPaletteLightGreenBorder2 = "--colorPaletteLightGreenBorder2";
|
|
4272
|
+
const colorPaletteLightGreenForeground1 = "--colorPaletteLightGreenForeground1";
|
|
4273
|
+
const colorPaletteLightGreenForeground2 = "--colorPaletteLightGreenForeground2";
|
|
4274
|
+
const colorPaletteLightGreenForeground3 = "--colorPaletteLightGreenForeground3";
|
|
4275
|
+
const colorPaletteAnchorBackground2 = "--colorPaletteAnchorBackground2";
|
|
4276
|
+
const colorPaletteAnchorBorderActive = "--colorPaletteAnchorBorderActive";
|
|
4277
|
+
const colorPaletteAnchorForeground2 = "--colorPaletteAnchorForeground2";
|
|
4278
|
+
const colorPaletteBeigeBackground2 = "--colorPaletteBeigeBackground2";
|
|
4279
|
+
const colorPaletteBeigeBorderActive = "--colorPaletteBeigeBorderActive";
|
|
4280
|
+
const colorPaletteBeigeForeground2 = "--colorPaletteBeigeForeground2";
|
|
4281
|
+
const colorPaletteBlueBackground2 = "--colorPaletteBlueBackground2";
|
|
4282
|
+
const colorPaletteBlueBorderActive = "--colorPaletteBlueBorderActive";
|
|
4283
|
+
const colorPaletteBlueForeground2 = "--colorPaletteBlueForeground2";
|
|
4284
|
+
const colorPaletteBrassBackground2 = "--colorPaletteBrassBackground2";
|
|
4285
|
+
const colorPaletteBrassBorderActive = "--colorPaletteBrassBorderActive";
|
|
4286
|
+
const colorPaletteBrassForeground2 = "--colorPaletteBrassForeground2";
|
|
4287
|
+
const colorPaletteBrownBackground2 = "--colorPaletteBrownBackground2";
|
|
4288
|
+
const colorPaletteBrownBorderActive = "--colorPaletteBrownBorderActive";
|
|
4289
|
+
const colorPaletteBrownForeground2 = "--colorPaletteBrownForeground2";
|
|
4290
|
+
const colorPaletteCornflowerBackground2 = "--colorPaletteCornflowerBackground2";
|
|
4291
|
+
const colorPaletteCornflowerBorderActive = "--colorPaletteCornflowerBorderActive";
|
|
4292
|
+
const colorPaletteCornflowerForeground2 = "--colorPaletteCornflowerForeground2";
|
|
4293
|
+
const colorPaletteCranberryBackground2 = "--colorPaletteCranberryBackground2";
|
|
4294
|
+
const colorPaletteCranberryBorderActive = "--colorPaletteCranberryBorderActive";
|
|
4295
|
+
const colorPaletteCranberryForeground2 = "--colorPaletteCranberryForeground2";
|
|
4296
|
+
const colorPaletteDarkGreenBackground2 = "--colorPaletteDarkGreenBackground2";
|
|
4297
|
+
const colorPaletteDarkGreenBorderActive = "--colorPaletteDarkGreenBorderActive";
|
|
4298
|
+
const colorPaletteDarkGreenForeground2 = "--colorPaletteDarkGreenForeground2";
|
|
4299
|
+
const colorPaletteDarkRedBackground2 = "--colorPaletteDarkRedBackground2";
|
|
4300
|
+
const colorPaletteDarkRedBorderActive = "--colorPaletteDarkRedBorderActive";
|
|
4301
|
+
const colorPaletteDarkRedForeground2 = "--colorPaletteDarkRedForeground2";
|
|
4302
|
+
const colorPaletteForestBackground2 = "--colorPaletteForestBackground2";
|
|
4303
|
+
const colorPaletteForestBorderActive = "--colorPaletteForestBorderActive";
|
|
4304
|
+
const colorPaletteForestForeground2 = "--colorPaletteForestForeground2";
|
|
4305
|
+
const colorPaletteGoldBackground2 = "--colorPaletteGoldBackground2";
|
|
4306
|
+
const colorPaletteGoldBorderActive = "--colorPaletteGoldBorderActive";
|
|
4307
|
+
const colorPaletteGoldForeground2 = "--colorPaletteGoldForeground2";
|
|
4308
|
+
const colorPaletteGrapeBackground2 = "--colorPaletteGrapeBackground2";
|
|
4309
|
+
const colorPaletteGrapeBorderActive = "--colorPaletteGrapeBorderActive";
|
|
4310
|
+
const colorPaletteGrapeForeground2 = "--colorPaletteGrapeForeground2";
|
|
4311
|
+
const colorPaletteLavenderBackground2 = "--colorPaletteLavenderBackground2";
|
|
4312
|
+
const colorPaletteLavenderBorderActive = "--colorPaletteLavenderBorderActive";
|
|
4313
|
+
const colorPaletteLavenderForeground2 = "--colorPaletteLavenderForeground2";
|
|
4314
|
+
const colorPaletteLightTealBackground2 = "--colorPaletteLightTealBackground2";
|
|
4315
|
+
const colorPaletteLightTealBorderActive = "--colorPaletteLightTealBorderActive";
|
|
4316
|
+
const colorPaletteLightTealForeground2 = "--colorPaletteLightTealForeground2";
|
|
4317
|
+
const colorPaletteLilacBackground2 = "--colorPaletteLilacBackground2";
|
|
4318
|
+
const colorPaletteLilacBorderActive = "--colorPaletteLilacBorderActive";
|
|
4319
|
+
const colorPaletteLilacForeground2 = "--colorPaletteLilacForeground2";
|
|
4320
|
+
const colorPaletteMagentaBackground2 = "--colorPaletteMagentaBackground2";
|
|
4321
|
+
const colorPaletteMagentaBorderActive = "--colorPaletteMagentaBorderActive";
|
|
4322
|
+
const colorPaletteMagentaForeground2 = "--colorPaletteMagentaForeground2";
|
|
4323
|
+
const colorPaletteMinkBackground2 = "--colorPaletteMinkBackground2";
|
|
4324
|
+
const colorPaletteMinkBorderActive = "--colorPaletteMinkBorderActive";
|
|
4325
|
+
const colorPaletteMinkForeground2 = "--colorPaletteMinkForeground2";
|
|
4326
|
+
const colorPaletteNavyBackground2 = "--colorPaletteNavyBackground2";
|
|
4327
|
+
const colorPaletteNavyBorderActive = "--colorPaletteNavyBorderActive";
|
|
4328
|
+
const colorPaletteNavyForeground2 = "--colorPaletteNavyForeground2";
|
|
4329
|
+
const colorPalettePeachBackground2 = "--colorPalettePeachBackground2";
|
|
4330
|
+
const colorPalettePeachBorderActive = "--colorPalettePeachBorderActive";
|
|
4331
|
+
const colorPalettePeachForeground2 = "--colorPalettePeachForeground2";
|
|
4332
|
+
const colorPalettePinkBackground2 = "--colorPalettePinkBackground2";
|
|
4333
|
+
const colorPalettePinkBorderActive = "--colorPalettePinkBorderActive";
|
|
4334
|
+
const colorPalettePinkForeground2 = "--colorPalettePinkForeground2";
|
|
4335
|
+
const colorPalettePlatinumBackground2 = "--colorPalettePlatinumBackground2";
|
|
4336
|
+
const colorPalettePlatinumBorderActive = "--colorPalettePlatinumBorderActive";
|
|
4337
|
+
const colorPalettePlatinumForeground2 = "--colorPalettePlatinumForeground2";
|
|
4338
|
+
const colorPalettePlumBackground2 = "--colorPalettePlumBackground2";
|
|
4339
|
+
const colorPalettePlumBorderActive = "--colorPalettePlumBorderActive";
|
|
4340
|
+
const colorPalettePlumForeground2 = "--colorPalettePlumForeground2";
|
|
4341
|
+
const colorPalettePumpkinBackground2 = "--colorPalettePumpkinBackground2";
|
|
4342
|
+
const colorPalettePumpkinBorderActive = "--colorPalettePumpkinBorderActive";
|
|
4343
|
+
const colorPalettePumpkinForeground2 = "--colorPalettePumpkinForeground2";
|
|
4344
|
+
const colorPalettePurpleBackground2 = "--colorPalettePurpleBackground2";
|
|
4345
|
+
const colorPalettePurpleBorderActive = "--colorPalettePurpleBorderActive";
|
|
4346
|
+
const colorPalettePurpleForeground2 = "--colorPalettePurpleForeground2";
|
|
4347
|
+
const colorPaletteRoyalBlueBackground2 = "--colorPaletteRoyalBlueBackground2";
|
|
4348
|
+
const colorPaletteRoyalBlueBorderActive = "--colorPaletteRoyalBlueBorderActive";
|
|
4349
|
+
const colorPaletteRoyalBlueForeground2 = "--colorPaletteRoyalBlueForeground2";
|
|
4350
|
+
const colorPaletteSeafoamBackground2 = "--colorPaletteSeafoamBackground2";
|
|
4351
|
+
const colorPaletteSeafoamBorderActive = "--colorPaletteSeafoamBorderActive";
|
|
4352
|
+
const colorPaletteSeafoamForeground2 = "--colorPaletteSeafoamForeground2";
|
|
4353
|
+
const colorPaletteSteelBackground2 = "--colorPaletteSteelBackground2";
|
|
4354
|
+
const colorPaletteSteelBorderActive = "--colorPaletteSteelBorderActive";
|
|
4355
|
+
const colorPaletteSteelForeground2 = "--colorPaletteSteelForeground2";
|
|
4356
|
+
const colorPaletteTealBackground2 = "--colorPaletteTealBackground2";
|
|
4357
|
+
const colorPaletteTealBorderActive = "--colorPaletteTealBorderActive";
|
|
4358
|
+
const colorPaletteTealForeground2 = "--colorPaletteTealForeground2";
|
|
4359
|
+
const borderRadiusNone = "--borderRadiusNone";
|
|
4360
|
+
const borderRadiusSmall = "--borderRadiusSmall";
|
|
4361
|
+
const borderRadiusMedium = "--borderRadiusMedium";
|
|
4362
|
+
const borderRadiusLarge = "--borderRadiusLarge";
|
|
4363
|
+
const borderRadiusXLarge = "--borderRadiusXLarge";
|
|
4364
|
+
const borderRadiusCircular = "--borderRadiusCircular";
|
|
4365
|
+
const fontFamilyBase = "--fontFamilyBase";
|
|
4366
|
+
const fontFamilyMonospace = "--fontFamilyMonospace";
|
|
4367
|
+
const fontFamilyNumeric = "--fontFamilyNumeric";
|
|
4368
|
+
const fontSizeBase100 = "--fontSizeBase100";
|
|
4369
|
+
const fontSizeBase200 = "--fontSizeBase200";
|
|
4370
|
+
const fontSizeBase300 = "--fontSizeBase300";
|
|
4371
|
+
const fontSizeBase400 = "--fontSizeBase400";
|
|
4372
|
+
const fontSizeBase500 = "--fontSizeBase500";
|
|
4373
|
+
const fontSizeBase600 = "--fontSizeBase600";
|
|
4374
|
+
const fontSizeHero700 = "--fontSizeHero700";
|
|
4375
|
+
const fontSizeHero800 = "--fontSizeHero800";
|
|
4376
|
+
const fontSizeHero900 = "--fontSizeHero900";
|
|
4377
|
+
const fontSizeHero1000 = "--fontSizeHero1000";
|
|
4378
|
+
const fontWeightRegular = "--fontWeightRegular";
|
|
4379
|
+
const fontWeightMedium = "--fontWeightMedium";
|
|
4380
|
+
const fontWeightSemibold = "--fontWeightSemibold";
|
|
4381
|
+
const fontWeightBold = "--fontWeightBold";
|
|
4382
|
+
const lineHeightBase100 = "--lineHeightBase100";
|
|
4383
|
+
const lineHeightBase200 = "--lineHeightBase200";
|
|
4384
|
+
const lineHeightBase300 = "--lineHeightBase300";
|
|
4385
|
+
const lineHeightBase400 = "--lineHeightBase400";
|
|
4386
|
+
const lineHeightBase500 = "--lineHeightBase500";
|
|
4387
|
+
const lineHeightBase600 = "--lineHeightBase600";
|
|
4388
|
+
const lineHeightHero700 = "--lineHeightHero700";
|
|
4389
|
+
const lineHeightHero800 = "--lineHeightHero800";
|
|
4390
|
+
const lineHeightHero900 = "--lineHeightHero900";
|
|
4391
|
+
const lineHeightHero1000 = "--lineHeightHero1000";
|
|
4392
|
+
const shadow2 = "--shadow2";
|
|
4393
|
+
const shadow4 = "--shadow4";
|
|
4394
|
+
const shadow8 = "--shadow8";
|
|
4395
|
+
const shadow16 = "--shadow16";
|
|
4396
|
+
const shadow28 = "--shadow28";
|
|
4397
|
+
const shadow64 = "--shadow64";
|
|
4398
|
+
const shadow2Brand = "--shadow2Brand";
|
|
4399
|
+
const shadow4Brand = "--shadow4Brand";
|
|
4400
|
+
const shadow8Brand = "--shadow8Brand";
|
|
4401
|
+
const shadow16Brand = "--shadow16Brand";
|
|
4402
|
+
const shadow28Brand = "--shadow28Brand";
|
|
4403
|
+
const shadow64Brand = "--shadow64Brand";
|
|
4404
|
+
const strokeWidthThin = "--strokeWidthThin";
|
|
4405
|
+
const strokeWidthThick = "--strokeWidthThick";
|
|
4406
|
+
const strokeWidthThicker = "--strokeWidthThicker";
|
|
4407
|
+
const strokeWidthThickest = "--strokeWidthThickest";
|
|
4408
|
+
const spacingHorizontalNone = "--spacingHorizontalNone";
|
|
4409
|
+
const spacingHorizontalXXS = "--spacingHorizontalXXS";
|
|
4410
|
+
const spacingHorizontalXS = "--spacingHorizontalXS";
|
|
4411
|
+
const spacingHorizontalSNudge = "--spacingHorizontalSNudge";
|
|
4412
|
+
const spacingHorizontalS = "--spacingHorizontalS";
|
|
4413
|
+
const spacingHorizontalMNudge = "--spacingHorizontalMNudge";
|
|
4414
|
+
const spacingHorizontalM = "--spacingHorizontalM";
|
|
4415
|
+
const spacingHorizontalL = "--spacingHorizontalL";
|
|
4416
|
+
const spacingHorizontalXL = "--spacingHorizontalXL";
|
|
4417
|
+
const spacingHorizontalXXL = "--spacingHorizontalXXL";
|
|
4418
|
+
const spacingHorizontalXXXL = "--spacingHorizontalXXXL";
|
|
4419
|
+
const spacingVerticalNone = "--spacingVerticalNone";
|
|
4420
|
+
const spacingVerticalXXS = "--spacingVerticalXXS";
|
|
4421
|
+
const spacingVerticalXS = "--spacingVerticalXS";
|
|
4422
|
+
const spacingVerticalSNudge = "--spacingVerticalSNudge";
|
|
4423
|
+
const spacingVerticalS = "--spacingVerticalS";
|
|
4424
|
+
const spacingVerticalMNudge = "--spacingVerticalMNudge";
|
|
4425
|
+
const spacingVerticalM = "--spacingVerticalM";
|
|
4426
|
+
const spacingVerticalL = "--spacingVerticalL";
|
|
4427
|
+
const spacingVerticalXL = "--spacingVerticalXL";
|
|
4428
|
+
const spacingVerticalXXL = "--spacingVerticalXXL";
|
|
4429
|
+
const spacingVerticalXXXL = "--spacingVerticalXXXL";
|
|
4430
|
+
const durationUltraFast = "--durationUltraFast";
|
|
4431
|
+
const durationFaster = "--durationFaster";
|
|
4432
|
+
const durationFast = "--durationFast";
|
|
4433
|
+
const durationNormal = "--durationNormal";
|
|
4434
|
+
const durationSlow = "--durationSlow";
|
|
4435
|
+
const durationSlower = "--durationSlower";
|
|
4436
|
+
const durationUltraSlow = "--durationUltraSlow";
|
|
4437
|
+
const curveAccelerateMax = "--curveAccelerateMax";
|
|
4438
|
+
const curveAccelerateMid = "--curveAccelerateMid";
|
|
4439
|
+
const curveAccelerateMin = "--curveAccelerateMin";
|
|
4440
|
+
const curveDecelerateMax = "--curveDecelerateMax";
|
|
4441
|
+
const curveDecelerateMid = "--curveDecelerateMid";
|
|
4442
|
+
const curveDecelerateMin = "--curveDecelerateMin";
|
|
4443
|
+
const curveEasyEaseMax = "--curveEasyEaseMax";
|
|
4444
|
+
const curveEasyEase = "--curveEasyEase";
|
|
4445
|
+
const curveLinear = "--curveLinear";
|
|
5468
4446
|
|
|
5469
4447
|
var tokens = /*#__PURE__*/Object.freeze({
|
|
5470
4448
|
__proto__: null,
|
|
5471
|
-
borderRadiusNone: borderRadiusNone,
|
|
5472
|
-
borderRadiusSmall: borderRadiusSmall,
|
|
5473
|
-
borderRadiusMedium: borderRadiusMedium,
|
|
5474
|
-
borderRadiusLarge: borderRadiusLarge,
|
|
5475
|
-
borderRadiusXLarge: borderRadiusXLarge,
|
|
5476
|
-
borderRadiusCircular: borderRadiusCircular,
|
|
5477
|
-
fontSizeBase100: fontSizeBase100,
|
|
5478
|
-
fontSizeBase200: fontSizeBase200,
|
|
5479
|
-
fontSizeBase300: fontSizeBase300,
|
|
5480
|
-
fontSizeBase400: fontSizeBase400,
|
|
5481
|
-
fontSizeBase500: fontSizeBase500,
|
|
5482
|
-
fontSizeBase600: fontSizeBase600,
|
|
5483
|
-
fontSizeHero700: fontSizeHero700,
|
|
5484
|
-
fontSizeHero800: fontSizeHero800,
|
|
5485
|
-
fontSizeHero900: fontSizeHero900,
|
|
5486
|
-
fontSizeHero1000: fontSizeHero1000,
|
|
5487
|
-
lineHeightBase100: lineHeightBase100,
|
|
5488
|
-
lineHeightBase200: lineHeightBase200,
|
|
5489
|
-
lineHeightBase300: lineHeightBase300,
|
|
5490
|
-
lineHeightBase400: lineHeightBase400,
|
|
5491
|
-
lineHeightBase500: lineHeightBase500,
|
|
5492
|
-
lineHeightBase600: lineHeightBase600,
|
|
5493
|
-
lineHeightHero700: lineHeightHero700,
|
|
5494
|
-
lineHeightHero800: lineHeightHero800,
|
|
5495
|
-
lineHeightHero900: lineHeightHero900,
|
|
5496
|
-
lineHeightHero1000: lineHeightHero1000,
|
|
5497
|
-
fontFamilyBase: fontFamilyBase,
|
|
5498
|
-
fontFamilyMonospace: fontFamilyMonospace,
|
|
5499
|
-
fontFamilyNumeric: fontFamilyNumeric,
|
|
5500
|
-
fontWeightRegular: fontWeightRegular,
|
|
5501
|
-
fontWeightMedium: fontWeightMedium,
|
|
5502
|
-
fontWeightSemibold: fontWeightSemibold,
|
|
5503
|
-
fontWeightBold: fontWeightBold,
|
|
5504
|
-
strokeWidthThin: strokeWidthThin,
|
|
5505
|
-
strokeWidthThick: strokeWidthThick,
|
|
5506
|
-
strokeWidthThicker: strokeWidthThicker,
|
|
5507
|
-
strokeWidthThickest: strokeWidthThickest,
|
|
5508
|
-
spacingHorizontalNone: spacingHorizontalNone,
|
|
5509
|
-
spacingHorizontalXXS: spacingHorizontalXXS,
|
|
5510
|
-
spacingHorizontalXS: spacingHorizontalXS,
|
|
5511
|
-
spacingHorizontalSNudge: spacingHorizontalSNudge,
|
|
5512
|
-
spacingHorizontalS: spacingHorizontalS,
|
|
5513
|
-
spacingHorizontalMNudge: spacingHorizontalMNudge,
|
|
5514
|
-
spacingHorizontalM: spacingHorizontalM,
|
|
5515
|
-
spacingHorizontalL: spacingHorizontalL,
|
|
5516
|
-
spacingHorizontalXL: spacingHorizontalXL,
|
|
5517
|
-
spacingHorizontalXXL: spacingHorizontalXXL,
|
|
5518
|
-
spacingHorizontalXXXL: spacingHorizontalXXXL,
|
|
5519
|
-
spacingVerticalNone: spacingVerticalNone,
|
|
5520
|
-
spacingVerticalXXS: spacingVerticalXXS,
|
|
5521
|
-
spacingVerticalXS: spacingVerticalXS,
|
|
5522
|
-
spacingVerticalSNudge: spacingVerticalSNudge,
|
|
5523
|
-
spacingVerticalS: spacingVerticalS,
|
|
5524
|
-
spacingVerticalMNudge: spacingVerticalMNudge,
|
|
5525
|
-
spacingVerticalM: spacingVerticalM,
|
|
5526
|
-
spacingVerticalL: spacingVerticalL,
|
|
5527
|
-
spacingVerticalXL: spacingVerticalXL,
|
|
5528
|
-
spacingVerticalXXL: spacingVerticalXXL,
|
|
5529
|
-
spacingVerticalXXXL: spacingVerticalXXXL,
|
|
5530
|
-
durationUltraFast: durationUltraFast,
|
|
5531
|
-
durationFaster: durationFaster,
|
|
5532
|
-
durationFast: durationFast,
|
|
5533
|
-
durationNormal: durationNormal,
|
|
5534
|
-
durationSlow: durationSlow,
|
|
5535
|
-
durationSlower: durationSlower,
|
|
5536
|
-
durationUltraSlow: durationUltraSlow,
|
|
5537
|
-
curveAccelerateMax: curveAccelerateMax,
|
|
5538
|
-
curveAccelerateMid: curveAccelerateMid,
|
|
5539
|
-
curveAccelerateMin: curveAccelerateMin,
|
|
5540
|
-
curveDecelerateMax: curveDecelerateMax,
|
|
5541
|
-
curveDecelerateMid: curveDecelerateMid,
|
|
5542
|
-
curveDecelerateMin: curveDecelerateMin,
|
|
5543
|
-
curveEasyEaseMax: curveEasyEaseMax,
|
|
5544
|
-
curveEasyEase: curveEasyEase,
|
|
5545
|
-
curveLinear: curveLinear,
|
|
5546
4449
|
colorNeutralForeground1: colorNeutralForeground1,
|
|
5547
4450
|
colorNeutralForeground1Hover: colorNeutralForeground1Hover,
|
|
5548
4451
|
colorNeutralForeground1Pressed: colorNeutralForeground1Pressed,
|
|
@@ -5563,7 +4466,6 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5563
4466
|
colorNeutralForeground3BrandSelected: colorNeutralForeground3BrandSelected,
|
|
5564
4467
|
colorNeutralForeground4: colorNeutralForeground4,
|
|
5565
4468
|
colorNeutralForegroundDisabled: colorNeutralForegroundDisabled,
|
|
5566
|
-
colorNeutralForegroundInvertedDisabled: colorNeutralForegroundInvertedDisabled,
|
|
5567
4469
|
colorBrandForegroundLink: colorBrandForegroundLink,
|
|
5568
4470
|
colorBrandForegroundLinkHover: colorBrandForegroundLinkHover,
|
|
5569
4471
|
colorBrandForegroundLinkPressed: colorBrandForegroundLinkPressed,
|
|
@@ -5575,20 +4477,21 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5575
4477
|
colorCompoundBrandForeground1: colorCompoundBrandForeground1,
|
|
5576
4478
|
colorCompoundBrandForeground1Hover: colorCompoundBrandForeground1Hover,
|
|
5577
4479
|
colorCompoundBrandForeground1Pressed: colorCompoundBrandForeground1Pressed,
|
|
5578
|
-
|
|
5579
|
-
colorBrandForeground2: colorBrandForeground2,
|
|
5580
|
-
colorNeutralForeground1Static: colorNeutralForeground1Static,
|
|
5581
|
-
colorNeutralForegroundStaticInverted: colorNeutralForegroundStaticInverted,
|
|
4480
|
+
colorNeutralForegroundOnBrand: colorNeutralForegroundOnBrand,
|
|
5582
4481
|
colorNeutralForegroundInverted: colorNeutralForegroundInverted,
|
|
5583
4482
|
colorNeutralForegroundInvertedHover: colorNeutralForegroundInvertedHover,
|
|
5584
4483
|
colorNeutralForegroundInvertedPressed: colorNeutralForegroundInvertedPressed,
|
|
5585
4484
|
colorNeutralForegroundInvertedSelected: colorNeutralForegroundInvertedSelected,
|
|
5586
4485
|
colorNeutralForegroundInverted2: colorNeutralForegroundInverted2,
|
|
5587
|
-
|
|
4486
|
+
colorNeutralForegroundStaticInverted: colorNeutralForegroundStaticInverted,
|
|
5588
4487
|
colorNeutralForegroundInvertedLink: colorNeutralForegroundInvertedLink,
|
|
5589
4488
|
colorNeutralForegroundInvertedLinkHover: colorNeutralForegroundInvertedLinkHover,
|
|
5590
4489
|
colorNeutralForegroundInvertedLinkPressed: colorNeutralForegroundInvertedLinkPressed,
|
|
5591
4490
|
colorNeutralForegroundInvertedLinkSelected: colorNeutralForegroundInvertedLinkSelected,
|
|
4491
|
+
colorNeutralForegroundInvertedDisabled: colorNeutralForegroundInvertedDisabled,
|
|
4492
|
+
colorBrandForeground1: colorBrandForeground1,
|
|
4493
|
+
colorBrandForeground2: colorBrandForeground2,
|
|
4494
|
+
colorNeutralForeground1Static: colorNeutralForeground1Static,
|
|
5592
4495
|
colorBrandForegroundInverted: colorBrandForegroundInverted,
|
|
5593
4496
|
colorBrandForegroundInvertedHover: colorBrandForegroundInvertedHover,
|
|
5594
4497
|
colorBrandForegroundInvertedPressed: colorBrandForegroundInvertedPressed,
|
|
@@ -5617,8 +4520,8 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5617
4520
|
colorNeutralBackground5Pressed: colorNeutralBackground5Pressed,
|
|
5618
4521
|
colorNeutralBackground5Selected: colorNeutralBackground5Selected,
|
|
5619
4522
|
colorNeutralBackground6: colorNeutralBackground6,
|
|
5620
|
-
colorNeutralBackgroundInverted: colorNeutralBackgroundInverted,
|
|
5621
4523
|
colorNeutralBackgroundStatic: colorNeutralBackgroundStatic,
|
|
4524
|
+
colorNeutralBackgroundInverted: colorNeutralBackgroundInverted,
|
|
5622
4525
|
colorSubtleBackground: colorSubtleBackground,
|
|
5623
4526
|
colorSubtleBackgroundHover: colorSubtleBackgroundHover,
|
|
5624
4527
|
colorSubtleBackgroundPressed: colorSubtleBackgroundPressed,
|
|
@@ -5693,153 +4596,186 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5693
4596
|
colorPaletteRedBackground1: colorPaletteRedBackground1,
|
|
5694
4597
|
colorPaletteRedBackground2: colorPaletteRedBackground2,
|
|
5695
4598
|
colorPaletteRedBackground3: colorPaletteRedBackground3,
|
|
5696
|
-
colorPaletteRedForeground1: colorPaletteRedForeground1,
|
|
5697
|
-
colorPaletteRedForeground2: colorPaletteRedForeground2,
|
|
5698
|
-
colorPaletteRedForeground3: colorPaletteRedForeground3,
|
|
5699
4599
|
colorPaletteRedBorderActive: colorPaletteRedBorderActive,
|
|
5700
4600
|
colorPaletteRedBorder1: colorPaletteRedBorder1,
|
|
5701
4601
|
colorPaletteRedBorder2: colorPaletteRedBorder2,
|
|
4602
|
+
colorPaletteRedForeground1: colorPaletteRedForeground1,
|
|
4603
|
+
colorPaletteRedForeground2: colorPaletteRedForeground2,
|
|
4604
|
+
colorPaletteRedForeground3: colorPaletteRedForeground3,
|
|
4605
|
+
colorPaletteRedForegroundInverted: colorPaletteRedForegroundInverted,
|
|
5702
4606
|
colorPaletteGreenBackground1: colorPaletteGreenBackground1,
|
|
5703
4607
|
colorPaletteGreenBackground2: colorPaletteGreenBackground2,
|
|
5704
4608
|
colorPaletteGreenBackground3: colorPaletteGreenBackground3,
|
|
5705
|
-
colorPaletteGreenForeground1: colorPaletteGreenForeground1,
|
|
5706
|
-
colorPaletteGreenForeground2: colorPaletteGreenForeground2,
|
|
5707
|
-
colorPaletteGreenForeground3: colorPaletteGreenForeground3,
|
|
5708
4609
|
colorPaletteGreenBorderActive: colorPaletteGreenBorderActive,
|
|
5709
4610
|
colorPaletteGreenBorder1: colorPaletteGreenBorder1,
|
|
5710
4611
|
colorPaletteGreenBorder2: colorPaletteGreenBorder2,
|
|
4612
|
+
colorPaletteGreenForeground1: colorPaletteGreenForeground1,
|
|
4613
|
+
colorPaletteGreenForeground2: colorPaletteGreenForeground2,
|
|
4614
|
+
colorPaletteGreenForeground3: colorPaletteGreenForeground3,
|
|
4615
|
+
colorPaletteGreenForegroundInverted: colorPaletteGreenForegroundInverted,
|
|
5711
4616
|
colorPaletteDarkOrangeBackground1: colorPaletteDarkOrangeBackground1,
|
|
5712
4617
|
colorPaletteDarkOrangeBackground2: colorPaletteDarkOrangeBackground2,
|
|
5713
4618
|
colorPaletteDarkOrangeBackground3: colorPaletteDarkOrangeBackground3,
|
|
5714
|
-
colorPaletteDarkOrangeForeground1: colorPaletteDarkOrangeForeground1,
|
|
5715
|
-
colorPaletteDarkOrangeForeground2: colorPaletteDarkOrangeForeground2,
|
|
5716
|
-
colorPaletteDarkOrangeForeground3: colorPaletteDarkOrangeForeground3,
|
|
5717
4619
|
colorPaletteDarkOrangeBorderActive: colorPaletteDarkOrangeBorderActive,
|
|
5718
4620
|
colorPaletteDarkOrangeBorder1: colorPaletteDarkOrangeBorder1,
|
|
5719
4621
|
colorPaletteDarkOrangeBorder2: colorPaletteDarkOrangeBorder2,
|
|
4622
|
+
colorPaletteDarkOrangeForeground1: colorPaletteDarkOrangeForeground1,
|
|
4623
|
+
colorPaletteDarkOrangeForeground2: colorPaletteDarkOrangeForeground2,
|
|
4624
|
+
colorPaletteDarkOrangeForeground3: colorPaletteDarkOrangeForeground3,
|
|
5720
4625
|
colorPaletteYellowBackground1: colorPaletteYellowBackground1,
|
|
5721
4626
|
colorPaletteYellowBackground2: colorPaletteYellowBackground2,
|
|
5722
4627
|
colorPaletteYellowBackground3: colorPaletteYellowBackground3,
|
|
5723
|
-
colorPaletteYellowForeground1: colorPaletteYellowForeground1,
|
|
5724
|
-
colorPaletteYellowForeground2: colorPaletteYellowForeground2,
|
|
5725
|
-
colorPaletteYellowForeground3: colorPaletteYellowForeground3,
|
|
5726
4628
|
colorPaletteYellowBorderActive: colorPaletteYellowBorderActive,
|
|
5727
4629
|
colorPaletteYellowBorder1: colorPaletteYellowBorder1,
|
|
5728
4630
|
colorPaletteYellowBorder2: colorPaletteYellowBorder2,
|
|
4631
|
+
colorPaletteYellowForeground1: colorPaletteYellowForeground1,
|
|
4632
|
+
colorPaletteYellowForeground2: colorPaletteYellowForeground2,
|
|
4633
|
+
colorPaletteYellowForeground3: colorPaletteYellowForeground3,
|
|
4634
|
+
colorPaletteYellowForegroundInverted: colorPaletteYellowForegroundInverted,
|
|
5729
4635
|
colorPaletteBerryBackground1: colorPaletteBerryBackground1,
|
|
5730
4636
|
colorPaletteBerryBackground2: colorPaletteBerryBackground2,
|
|
5731
4637
|
colorPaletteBerryBackground3: colorPaletteBerryBackground3,
|
|
5732
|
-
colorPaletteBerryForeground1: colorPaletteBerryForeground1,
|
|
5733
|
-
colorPaletteBerryForeground2: colorPaletteBerryForeground2,
|
|
5734
|
-
colorPaletteBerryForeground3: colorPaletteBerryForeground3,
|
|
5735
4638
|
colorPaletteBerryBorderActive: colorPaletteBerryBorderActive,
|
|
5736
4639
|
colorPaletteBerryBorder1: colorPaletteBerryBorder1,
|
|
5737
4640
|
colorPaletteBerryBorder2: colorPaletteBerryBorder2,
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
colorPaletteLightGreenForeground1: colorPaletteLightGreenForeground1,
|
|
5742
|
-
colorPaletteLightGreenForeground2: colorPaletteLightGreenForeground2,
|
|
5743
|
-
colorPaletteLightGreenForeground3: colorPaletteLightGreenForeground3,
|
|
5744
|
-
colorPaletteLightGreenBorderActive: colorPaletteLightGreenBorderActive,
|
|
5745
|
-
colorPaletteLightGreenBorder1: colorPaletteLightGreenBorder1,
|
|
5746
|
-
colorPaletteLightGreenBorder2: colorPaletteLightGreenBorder2,
|
|
4641
|
+
colorPaletteBerryForeground1: colorPaletteBerryForeground1,
|
|
4642
|
+
colorPaletteBerryForeground2: colorPaletteBerryForeground2,
|
|
4643
|
+
colorPaletteBerryForeground3: colorPaletteBerryForeground3,
|
|
5747
4644
|
colorPaletteMarigoldBackground1: colorPaletteMarigoldBackground1,
|
|
5748
4645
|
colorPaletteMarigoldBackground2: colorPaletteMarigoldBackground2,
|
|
5749
4646
|
colorPaletteMarigoldBackground3: colorPaletteMarigoldBackground3,
|
|
5750
|
-
colorPaletteMarigoldForeground1: colorPaletteMarigoldForeground1,
|
|
5751
|
-
colorPaletteMarigoldForeground2: colorPaletteMarigoldForeground2,
|
|
5752
|
-
colorPaletteMarigoldForeground3: colorPaletteMarigoldForeground3,
|
|
5753
4647
|
colorPaletteMarigoldBorderActive: colorPaletteMarigoldBorderActive,
|
|
5754
4648
|
colorPaletteMarigoldBorder1: colorPaletteMarigoldBorder1,
|
|
5755
4649
|
colorPaletteMarigoldBorder2: colorPaletteMarigoldBorder2,
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
4650
|
+
colorPaletteMarigoldForeground1: colorPaletteMarigoldForeground1,
|
|
4651
|
+
colorPaletteMarigoldForeground2: colorPaletteMarigoldForeground2,
|
|
4652
|
+
colorPaletteMarigoldForeground3: colorPaletteMarigoldForeground3,
|
|
4653
|
+
colorPaletteLightGreenBackground1: colorPaletteLightGreenBackground1,
|
|
4654
|
+
colorPaletteLightGreenBackground2: colorPaletteLightGreenBackground2,
|
|
4655
|
+
colorPaletteLightGreenBackground3: colorPaletteLightGreenBackground3,
|
|
4656
|
+
colorPaletteLightGreenBorderActive: colorPaletteLightGreenBorderActive,
|
|
4657
|
+
colorPaletteLightGreenBorder1: colorPaletteLightGreenBorder1,
|
|
4658
|
+
colorPaletteLightGreenBorder2: colorPaletteLightGreenBorder2,
|
|
4659
|
+
colorPaletteLightGreenForeground1: colorPaletteLightGreenForeground1,
|
|
4660
|
+
colorPaletteLightGreenForeground2: colorPaletteLightGreenForeground2,
|
|
4661
|
+
colorPaletteLightGreenForeground3: colorPaletteLightGreenForeground3,
|
|
4662
|
+
colorPaletteAnchorBackground2: colorPaletteAnchorBackground2,
|
|
4663
|
+
colorPaletteAnchorBorderActive: colorPaletteAnchorBorderActive,
|
|
4664
|
+
colorPaletteAnchorForeground2: colorPaletteAnchorForeground2,
|
|
4665
|
+
colorPaletteBeigeBackground2: colorPaletteBeigeBackground2,
|
|
4666
|
+
colorPaletteBeigeBorderActive: colorPaletteBeigeBorderActive,
|
|
4667
|
+
colorPaletteBeigeForeground2: colorPaletteBeigeForeground2,
|
|
4668
|
+
colorPaletteBlueBackground2: colorPaletteBlueBackground2,
|
|
4669
|
+
colorPaletteBlueBorderActive: colorPaletteBlueBorderActive,
|
|
4670
|
+
colorPaletteBlueForeground2: colorPaletteBlueForeground2,
|
|
5771
4671
|
colorPaletteBrassBackground2: colorPaletteBrassBackground2,
|
|
5772
|
-
colorPaletteBrassForeground2: colorPaletteBrassForeground2,
|
|
5773
4672
|
colorPaletteBrassBorderActive: colorPaletteBrassBorderActive,
|
|
4673
|
+
colorPaletteBrassForeground2: colorPaletteBrassForeground2,
|
|
5774
4674
|
colorPaletteBrownBackground2: colorPaletteBrownBackground2,
|
|
5775
|
-
colorPaletteBrownForeground2: colorPaletteBrownForeground2,
|
|
5776
4675
|
colorPaletteBrownBorderActive: colorPaletteBrownBorderActive,
|
|
5777
|
-
|
|
5778
|
-
colorPaletteForestForeground2: colorPaletteForestForeground2,
|
|
5779
|
-
colorPaletteForestBorderActive: colorPaletteForestBorderActive,
|
|
5780
|
-
colorPaletteSeafoamBackground2: colorPaletteSeafoamBackground2,
|
|
5781
|
-
colorPaletteSeafoamForeground2: colorPaletteSeafoamForeground2,
|
|
5782
|
-
colorPaletteSeafoamBorderActive: colorPaletteSeafoamBorderActive,
|
|
5783
|
-
colorPaletteDarkGreenBackground2: colorPaletteDarkGreenBackground2,
|
|
5784
|
-
colorPaletteDarkGreenForeground2: colorPaletteDarkGreenForeground2,
|
|
5785
|
-
colorPaletteDarkGreenBorderActive: colorPaletteDarkGreenBorderActive,
|
|
5786
|
-
colorPaletteLightTealBackground2: colorPaletteLightTealBackground2,
|
|
5787
|
-
colorPaletteLightTealForeground2: colorPaletteLightTealForeground2,
|
|
5788
|
-
colorPaletteLightTealBorderActive: colorPaletteLightTealBorderActive,
|
|
5789
|
-
colorPaletteTealBackground2: colorPaletteTealBackground2,
|
|
5790
|
-
colorPaletteTealForeground2: colorPaletteTealForeground2,
|
|
5791
|
-
colorPaletteTealBorderActive: colorPaletteTealBorderActive,
|
|
5792
|
-
colorPaletteSteelBackground2: colorPaletteSteelBackground2,
|
|
5793
|
-
colorPaletteSteelForeground2: colorPaletteSteelForeground2,
|
|
5794
|
-
colorPaletteSteelBorderActive: colorPaletteSteelBorderActive,
|
|
5795
|
-
colorPaletteBlueBackground2: colorPaletteBlueBackground2,
|
|
5796
|
-
colorPaletteBlueForeground2: colorPaletteBlueForeground2,
|
|
5797
|
-
colorPaletteBlueBorderActive: colorPaletteBlueBorderActive,
|
|
5798
|
-
colorPaletteRoyalBlueBackground2: colorPaletteRoyalBlueBackground2,
|
|
5799
|
-
colorPaletteRoyalBlueForeground2: colorPaletteRoyalBlueForeground2,
|
|
5800
|
-
colorPaletteRoyalBlueBorderActive: colorPaletteRoyalBlueBorderActive,
|
|
4676
|
+
colorPaletteBrownForeground2: colorPaletteBrownForeground2,
|
|
5801
4677
|
colorPaletteCornflowerBackground2: colorPaletteCornflowerBackground2,
|
|
5802
|
-
colorPaletteCornflowerForeground2: colorPaletteCornflowerForeground2,
|
|
5803
4678
|
colorPaletteCornflowerBorderActive: colorPaletteCornflowerBorderActive,
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
4679
|
+
colorPaletteCornflowerForeground2: colorPaletteCornflowerForeground2,
|
|
4680
|
+
colorPaletteCranberryBackground2: colorPaletteCranberryBackground2,
|
|
4681
|
+
colorPaletteCranberryBorderActive: colorPaletteCranberryBorderActive,
|
|
4682
|
+
colorPaletteCranberryForeground2: colorPaletteCranberryForeground2,
|
|
4683
|
+
colorPaletteDarkGreenBackground2: colorPaletteDarkGreenBackground2,
|
|
4684
|
+
colorPaletteDarkGreenBorderActive: colorPaletteDarkGreenBorderActive,
|
|
4685
|
+
colorPaletteDarkGreenForeground2: colorPaletteDarkGreenForeground2,
|
|
4686
|
+
colorPaletteDarkRedBackground2: colorPaletteDarkRedBackground2,
|
|
4687
|
+
colorPaletteDarkRedBorderActive: colorPaletteDarkRedBorderActive,
|
|
4688
|
+
colorPaletteDarkRedForeground2: colorPaletteDarkRedForeground2,
|
|
4689
|
+
colorPaletteForestBackground2: colorPaletteForestBackground2,
|
|
4690
|
+
colorPaletteForestBorderActive: colorPaletteForestBorderActive,
|
|
4691
|
+
colorPaletteForestForeground2: colorPaletteForestForeground2,
|
|
4692
|
+
colorPaletteGoldBackground2: colorPaletteGoldBackground2,
|
|
4693
|
+
colorPaletteGoldBorderActive: colorPaletteGoldBorderActive,
|
|
4694
|
+
colorPaletteGoldForeground2: colorPaletteGoldForeground2,
|
|
5813
4695
|
colorPaletteGrapeBackground2: colorPaletteGrapeBackground2,
|
|
5814
|
-
colorPaletteGrapeForeground2: colorPaletteGrapeForeground2,
|
|
5815
4696
|
colorPaletteGrapeBorderActive: colorPaletteGrapeBorderActive,
|
|
4697
|
+
colorPaletteGrapeForeground2: colorPaletteGrapeForeground2,
|
|
4698
|
+
colorPaletteLavenderBackground2: colorPaletteLavenderBackground2,
|
|
4699
|
+
colorPaletteLavenderBorderActive: colorPaletteLavenderBorderActive,
|
|
4700
|
+
colorPaletteLavenderForeground2: colorPaletteLavenderForeground2,
|
|
4701
|
+
colorPaletteLightTealBackground2: colorPaletteLightTealBackground2,
|
|
4702
|
+
colorPaletteLightTealBorderActive: colorPaletteLightTealBorderActive,
|
|
4703
|
+
colorPaletteLightTealForeground2: colorPaletteLightTealForeground2,
|
|
5816
4704
|
colorPaletteLilacBackground2: colorPaletteLilacBackground2,
|
|
5817
|
-
colorPaletteLilacForeground2: colorPaletteLilacForeground2,
|
|
5818
4705
|
colorPaletteLilacBorderActive: colorPaletteLilacBorderActive,
|
|
5819
|
-
|
|
5820
|
-
colorPalettePinkForeground2: colorPalettePinkForeground2,
|
|
5821
|
-
colorPalettePinkBorderActive: colorPalettePinkBorderActive,
|
|
4706
|
+
colorPaletteLilacForeground2: colorPaletteLilacForeground2,
|
|
5822
4707
|
colorPaletteMagentaBackground2: colorPaletteMagentaBackground2,
|
|
5823
|
-
colorPaletteMagentaForeground2: colorPaletteMagentaForeground2,
|
|
5824
4708
|
colorPaletteMagentaBorderActive: colorPaletteMagentaBorderActive,
|
|
5825
|
-
|
|
5826
|
-
colorPalettePlumForeground2: colorPalettePlumForeground2,
|
|
5827
|
-
colorPalettePlumBorderActive: colorPalettePlumBorderActive,
|
|
5828
|
-
colorPaletteBeigeBackground2: colorPaletteBeigeBackground2,
|
|
5829
|
-
colorPaletteBeigeForeground2: colorPaletteBeigeForeground2,
|
|
5830
|
-
colorPaletteBeigeBorderActive: colorPaletteBeigeBorderActive,
|
|
4709
|
+
colorPaletteMagentaForeground2: colorPaletteMagentaForeground2,
|
|
5831
4710
|
colorPaletteMinkBackground2: colorPaletteMinkBackground2,
|
|
5832
|
-
colorPaletteMinkForeground2: colorPaletteMinkForeground2,
|
|
5833
4711
|
colorPaletteMinkBorderActive: colorPaletteMinkBorderActive,
|
|
4712
|
+
colorPaletteMinkForeground2: colorPaletteMinkForeground2,
|
|
4713
|
+
colorPaletteNavyBackground2: colorPaletteNavyBackground2,
|
|
4714
|
+
colorPaletteNavyBorderActive: colorPaletteNavyBorderActive,
|
|
4715
|
+
colorPaletteNavyForeground2: colorPaletteNavyForeground2,
|
|
4716
|
+
colorPalettePeachBackground2: colorPalettePeachBackground2,
|
|
4717
|
+
colorPalettePeachBorderActive: colorPalettePeachBorderActive,
|
|
4718
|
+
colorPalettePeachForeground2: colorPalettePeachForeground2,
|
|
4719
|
+
colorPalettePinkBackground2: colorPalettePinkBackground2,
|
|
4720
|
+
colorPalettePinkBorderActive: colorPalettePinkBorderActive,
|
|
4721
|
+
colorPalettePinkForeground2: colorPalettePinkForeground2,
|
|
5834
4722
|
colorPalettePlatinumBackground2: colorPalettePlatinumBackground2,
|
|
5835
|
-
colorPalettePlatinumForeground2: colorPalettePlatinumForeground2,
|
|
5836
4723
|
colorPalettePlatinumBorderActive: colorPalettePlatinumBorderActive,
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
4724
|
+
colorPalettePlatinumForeground2: colorPalettePlatinumForeground2,
|
|
4725
|
+
colorPalettePlumBackground2: colorPalettePlumBackground2,
|
|
4726
|
+
colorPalettePlumBorderActive: colorPalettePlumBorderActive,
|
|
4727
|
+
colorPalettePlumForeground2: colorPalettePlumForeground2,
|
|
4728
|
+
colorPalettePumpkinBackground2: colorPalettePumpkinBackground2,
|
|
4729
|
+
colorPalettePumpkinBorderActive: colorPalettePumpkinBorderActive,
|
|
4730
|
+
colorPalettePumpkinForeground2: colorPalettePumpkinForeground2,
|
|
4731
|
+
colorPalettePurpleBackground2: colorPalettePurpleBackground2,
|
|
4732
|
+
colorPalettePurpleBorderActive: colorPalettePurpleBorderActive,
|
|
4733
|
+
colorPalettePurpleForeground2: colorPalettePurpleForeground2,
|
|
4734
|
+
colorPaletteRoyalBlueBackground2: colorPaletteRoyalBlueBackground2,
|
|
4735
|
+
colorPaletteRoyalBlueBorderActive: colorPaletteRoyalBlueBorderActive,
|
|
4736
|
+
colorPaletteRoyalBlueForeground2: colorPaletteRoyalBlueForeground2,
|
|
4737
|
+
colorPaletteSeafoamBackground2: colorPaletteSeafoamBackground2,
|
|
4738
|
+
colorPaletteSeafoamBorderActive: colorPaletteSeafoamBorderActive,
|
|
4739
|
+
colorPaletteSeafoamForeground2: colorPaletteSeafoamForeground2,
|
|
4740
|
+
colorPaletteSteelBackground2: colorPaletteSteelBackground2,
|
|
4741
|
+
colorPaletteSteelBorderActive: colorPaletteSteelBorderActive,
|
|
4742
|
+
colorPaletteSteelForeground2: colorPaletteSteelForeground2,
|
|
4743
|
+
colorPaletteTealBackground2: colorPaletteTealBackground2,
|
|
4744
|
+
colorPaletteTealBorderActive: colorPaletteTealBorderActive,
|
|
4745
|
+
colorPaletteTealForeground2: colorPaletteTealForeground2,
|
|
4746
|
+
borderRadiusNone: borderRadiusNone,
|
|
4747
|
+
borderRadiusSmall: borderRadiusSmall,
|
|
4748
|
+
borderRadiusMedium: borderRadiusMedium,
|
|
4749
|
+
borderRadiusLarge: borderRadiusLarge,
|
|
4750
|
+
borderRadiusXLarge: borderRadiusXLarge,
|
|
4751
|
+
borderRadiusCircular: borderRadiusCircular,
|
|
4752
|
+
fontFamilyBase: fontFamilyBase,
|
|
4753
|
+
fontFamilyMonospace: fontFamilyMonospace,
|
|
4754
|
+
fontFamilyNumeric: fontFamilyNumeric,
|
|
4755
|
+
fontSizeBase100: fontSizeBase100,
|
|
4756
|
+
fontSizeBase200: fontSizeBase200,
|
|
4757
|
+
fontSizeBase300: fontSizeBase300,
|
|
4758
|
+
fontSizeBase400: fontSizeBase400,
|
|
4759
|
+
fontSizeBase500: fontSizeBase500,
|
|
4760
|
+
fontSizeBase600: fontSizeBase600,
|
|
4761
|
+
fontSizeHero700: fontSizeHero700,
|
|
4762
|
+
fontSizeHero800: fontSizeHero800,
|
|
4763
|
+
fontSizeHero900: fontSizeHero900,
|
|
4764
|
+
fontSizeHero1000: fontSizeHero1000,
|
|
4765
|
+
fontWeightRegular: fontWeightRegular,
|
|
4766
|
+
fontWeightMedium: fontWeightMedium,
|
|
4767
|
+
fontWeightSemibold: fontWeightSemibold,
|
|
4768
|
+
fontWeightBold: fontWeightBold,
|
|
4769
|
+
lineHeightBase100: lineHeightBase100,
|
|
4770
|
+
lineHeightBase200: lineHeightBase200,
|
|
4771
|
+
lineHeightBase300: lineHeightBase300,
|
|
4772
|
+
lineHeightBase400: lineHeightBase400,
|
|
4773
|
+
lineHeightBase500: lineHeightBase500,
|
|
4774
|
+
lineHeightBase600: lineHeightBase600,
|
|
4775
|
+
lineHeightHero700: lineHeightHero700,
|
|
4776
|
+
lineHeightHero800: lineHeightHero800,
|
|
4777
|
+
lineHeightHero900: lineHeightHero900,
|
|
4778
|
+
lineHeightHero1000: lineHeightHero1000,
|
|
5843
4779
|
shadow2: shadow2,
|
|
5844
4780
|
shadow4: shadow4,
|
|
5845
4781
|
shadow8: shadow8,
|
|
@@ -5851,13 +4787,55 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
5851
4787
|
shadow8Brand: shadow8Brand,
|
|
5852
4788
|
shadow16Brand: shadow16Brand,
|
|
5853
4789
|
shadow28Brand: shadow28Brand,
|
|
5854
|
-
shadow64Brand: shadow64Brand
|
|
4790
|
+
shadow64Brand: shadow64Brand,
|
|
4791
|
+
strokeWidthThin: strokeWidthThin,
|
|
4792
|
+
strokeWidthThick: strokeWidthThick,
|
|
4793
|
+
strokeWidthThicker: strokeWidthThicker,
|
|
4794
|
+
strokeWidthThickest: strokeWidthThickest,
|
|
4795
|
+
spacingHorizontalNone: spacingHorizontalNone,
|
|
4796
|
+
spacingHorizontalXXS: spacingHorizontalXXS,
|
|
4797
|
+
spacingHorizontalXS: spacingHorizontalXS,
|
|
4798
|
+
spacingHorizontalSNudge: spacingHorizontalSNudge,
|
|
4799
|
+
spacingHorizontalS: spacingHorizontalS,
|
|
4800
|
+
spacingHorizontalMNudge: spacingHorizontalMNudge,
|
|
4801
|
+
spacingHorizontalM: spacingHorizontalM,
|
|
4802
|
+
spacingHorizontalL: spacingHorizontalL,
|
|
4803
|
+
spacingHorizontalXL: spacingHorizontalXL,
|
|
4804
|
+
spacingHorizontalXXL: spacingHorizontalXXL,
|
|
4805
|
+
spacingHorizontalXXXL: spacingHorizontalXXXL,
|
|
4806
|
+
spacingVerticalNone: spacingVerticalNone,
|
|
4807
|
+
spacingVerticalXXS: spacingVerticalXXS,
|
|
4808
|
+
spacingVerticalXS: spacingVerticalXS,
|
|
4809
|
+
spacingVerticalSNudge: spacingVerticalSNudge,
|
|
4810
|
+
spacingVerticalS: spacingVerticalS,
|
|
4811
|
+
spacingVerticalMNudge: spacingVerticalMNudge,
|
|
4812
|
+
spacingVerticalM: spacingVerticalM,
|
|
4813
|
+
spacingVerticalL: spacingVerticalL,
|
|
4814
|
+
spacingVerticalXL: spacingVerticalXL,
|
|
4815
|
+
spacingVerticalXXL: spacingVerticalXXL,
|
|
4816
|
+
spacingVerticalXXXL: spacingVerticalXXXL,
|
|
4817
|
+
durationUltraFast: durationUltraFast,
|
|
4818
|
+
durationFaster: durationFaster,
|
|
4819
|
+
durationFast: durationFast,
|
|
4820
|
+
durationNormal: durationNormal,
|
|
4821
|
+
durationSlow: durationSlow,
|
|
4822
|
+
durationSlower: durationSlower,
|
|
4823
|
+
durationUltraSlow: durationUltraSlow,
|
|
4824
|
+
curveAccelerateMax: curveAccelerateMax,
|
|
4825
|
+
curveAccelerateMid: curveAccelerateMid,
|
|
4826
|
+
curveAccelerateMin: curveAccelerateMin,
|
|
4827
|
+
curveDecelerateMax: curveDecelerateMax,
|
|
4828
|
+
curveDecelerateMid: curveDecelerateMid,
|
|
4829
|
+
curveDecelerateMin: curveDecelerateMin,
|
|
4830
|
+
curveEasyEaseMax: curveEasyEaseMax,
|
|
4831
|
+
curveEasyEase: curveEasyEase,
|
|
4832
|
+
curveLinear: curveLinear
|
|
5855
4833
|
});
|
|
5856
4834
|
|
|
5857
4835
|
const styles$q = css`
|
|
5858
4836
|
${display("block")}
|
|
5859
4837
|
|
|
5860
|
-
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline
|
|
4838
|
+
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:var(${spacingHorizontalM}) var(${spacingHorizontalMNudge});border-radius:var(${borderRadiusMedium});font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});font-weight:var(${fontWeightRegular});line-height:var(${lineHeightBase300});grid-template-columns:auto auto 1fr auto}.heading-content{height:100%;display:flex;align-items:center}.button{box-sizing:border-box;appearance:none;border:none;outline:none;text-align:start;cursor:pointer;font-family:inherit;height:44px;color:var(${colorNeutralForeground1});background:var(${colorTransparentBackground});line-height:var(${lineHeightBase300});height:auto;padding:0;font-size:inherit;grid-column:auto / span 2;grid-row:1}.button::before{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${borderRadiusSmall})}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:var(${spacingHorizontalS});grid-column:1 / span 1;grid-row:1}.region{margin:0 var(${spacingHorizontalM})}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:var(${spacingHorizontalS});grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${borderRadiusSmall});outline:none;border:2px solid var(${colorStrokeFocus1});box-shadow:inset 0 0 0 1px var(${colorStrokeFocus2})}:host([disabled]) .button{color:var(${colorNeutralForegroundDisabled})}:host([disabled]) svg{filter:invert(89%) sepia(0%) saturate(569%) hue-rotate(155deg) brightness(88%) contrast(87%)}:host([expanded]) .region{display:block}:host([expanded]) .default-collapsed-icon,:host([expanded]) ::slotted([slot='collapsed-icon']),:host(:not([expanded])) .default-expanded-icon,:host(:not([expanded])) ::slotted([slot='expanded-icon']),:host([expanded]) ::slotted([slot='end']),::slotted([slot='start']),.region{display:none}:host([expanded]) ::slotted([slot='start']),:host([expanded]) ::slotted([slot='expanded-icon']),:host(:not([expanded])) ::slotted([slot='collapsed-icon']),::slotted([slot='end']){display:flex}.heading{font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300})}:host([size='small']) .heading{font-size:var(${fontSizeBase200});line-height:var(${lineHeightBase200})}:host([size='large']) .heading{font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400})}:host([size='extra-large']) .heading{font-size:var(${fontSizeBase500});line-height:var(${lineHeightBase500})}:host([expand-icon-position='end']) :slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) ::slotted(span[slot='start']),:host([expand-icon-position='end']) ::slotted(span[slot='end']){grid-column:1 / span 1;grid-row:1}:host([expand-icon-position='end']) .icon{grid-column:4 / span 1;grid-row:1;display:flex;padding-left:10px;padding-right:0}:host([expand-icon-position='end']) .button{grid-column:2 / span 3;grid-row:1}:host([block]){max-width:100%}:host([expand-icon-position='end']) .heading{grid-template-columns:auto auto 28px}:host([expand-icon-position='end']) .icon{grid-column:5 / span 1}:host([block][expand-icon-position='end']) .heading{grid-template-columns:auto 1fr}:host([block][expand-icon-position='end']) .icon{grid-column:5 / span 1}`;
|
|
5861
4839
|
|
|
5862
4840
|
const chevronRight20Filled = html.partial(`<svg
|
|
5863
4841
|
width="20"
|
|
@@ -6029,8 +5007,8 @@ const template$q = anchorTemplate();
|
|
|
6029
5007
|
const styles$p = css`
|
|
6030
5008
|
${display("inline-flex")}
|
|
6031
5009
|
|
|
6032
|
-
:host{--icon-spacing
|
|
6033
|
-
.control{background-color
|
|
5010
|
+
:host{--icon-spacing:var(${spacingHorizontalSNudge});contain:layout style;vertical-align:middle}:host .control{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;text-decoration-line:none;margin:0;min-height:32px;outline-style:none;background-color:var(${colorNeutralBackground1});color:var(${colorNeutralForeground1});border:var(${strokeWidthThin}) solid var(${colorNeutralStroke1});padding:0 var(${spacingHorizontalM});min-width:96px;border-radius:var(${borderRadiusMedium});font-size:var(${fontSizeBase300});font-family:var(${fontFamilyBase});font-weight:var(${fontWeightSemibold});line-height:var(${lineHeightBase300});transition-duration:var(${durationFaster});transition-property:background,border,color;transition-timing-function:var(${curveEasyEase});cursor:pointer}.content{display:inherit}:host(:hover) .control{background-color:var(${colorNeutralBackground1Hover});color:var(${colorNeutralForeground1Hover});border-color:var(${colorNeutralStroke1Hover})}:host(:hover:active) .control{background-color:var(${colorNeutralBackground1Pressed});border-color:var(${colorNeutralStroke1Pressed});color:var(${colorNeutralForeground1Pressed});outline-style:none}:host .control:focus-visible{border-color:var(${colorTransparentStroke});outline:var(${strokeWidthThick}) solid var(${colorTransparentStroke});box-shadow:var(${shadow4}),0 0 0 2px var(${colorStrokeFocus2})}@media screen and (prefers-reduced-motion:reduce){transition-duration:0.01ms}::slotted(svg){font-size:20px;height:20px;width:20px;fill:currentColor}[slot='start'],::slotted([slot='start']){margin-inline-end:var(--icon-spacing)}[slot='end'],::slotted([slot='end']){margin-inline-start:var(--icon-spacing)}:host([icon-only]) .control{min-width:32px;max-width:32px}:host([size='small']){--icon-spacing:var(${spacingHorizontalXS})}:host([size='small']) .control{min-height:24px;min-width:64px;padding:0 var(${spacingHorizontalS});border-radius:var(${borderRadiusSmall});font-size:var(${fontSizeBase200});line-height:var(${lineHeightBase200});font-weight:var(${fontWeightRegular})}:host([size='small'][icon-only]) .control{min-width:24px;max-width:24px}:host([size='large']) .control{min-height:40px;border-radius:var(${borderRadiusLarge});padding:0 var(${spacingHorizontalL});font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400})}:host([size='large'][icon-only]) .control{min-width:40px;max-width:40px}:host([size='large']) ::slotted(svg){font-size:24px;height:24px;width:24px}:host([shape='circular']) .control,:host([shape='circular']) .control:focus-visible{border-radius:var(${borderRadiusCircular})}:host([shape='square']) .control,:host([shape='square']) .control:focus-visible{border-radius:var(${borderRadiusNone})}:host([appearance='primary']) .control{background-color:var(${colorBrandBackground});color:var(${colorNeutralForegroundOnBrand});border-color:transparent}:host([appearance='primary']:hover) .control{background-color:var(${colorBrandBackgroundHover})}:host([appearance='primary']:hover) .control,:host([appearance='primary']:hover:active) .control{border-color:transparent;color:var(${colorNeutralForegroundOnBrand})}:host([appearance='primary']:hover:active) .control{background-color:var(${colorBrandBackgroundPressed})}:host([appearance='primary']) .control:focus-visible{border-color:var(${colorNeutralForegroundOnBrand});box-shadow:var(${shadow2}),0 0 0 2px var(${colorStrokeFocus2})}:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"])) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover) .control,:host(is:([disabled][appearance='primary'],[disabled-focusabale][appearance="primary"]):hover:active) .control{border-color:transparent}:host([appearance='outline']) .control{background-color:var(${colorTransparentBackground})}:host([appearance='outline']:hover) .control{background-color:var(${colorTransparentBackgroundHover})}:host([appearance='outline']:hover:active) .control{background-color:var(${colorTransparentBackgroundPressed})}:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"])) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover) .control,:host(is:([disabled][appearance='outline'],[disabled-focusabale][appearance="outline"]):hover:active) .control{background-color:var(${colorTransparentBackground})}:host([appearance='subtle']) .control{background-color:var(${colorSubtleBackground});color:var(${colorNeutralForeground2});border-color:transparent}:host([appearance='subtle']:hover) .control{background-color:var(${colorSubtleBackgroundHover});color:var(${colorNeutralForeground2Hover});border-color:transparent}:host([appearance='subtle']:hover:active) .control{background-color:var(${colorSubtleBackgroundPressed});color:var(${colorNeutralForeground2Pressed});border-color:transparent}:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"])) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover) .control,:host(is:([disabled][appearance='subtle'],[disabled-focusabale][appearance="subtle"]):hover:active) .control{background-color:var(${colorTransparentBackground});border-color:transparent}:host([appearance='subtle']:hover) ::slotted(svg){fill:var(${colorNeutralForeground2BrandHover})}:host([appearance='subtle']:hover:active) ::slotted(svg){fill:var(${colorNeutralForeground2BrandPressed})}:host([appearance='transparent']) .control{background-color:var(${colorTransparentBackground});color:var(${colorNeutralForeground2})}:host([appearance='transparent']:hover) .control{background-color:var(${colorTransparentBackgroundHover});color:var(${colorNeutralForeground2BrandHover})}:host([appearance='transparent']:hover:active) .control{background-color:var(${colorTransparentBackgroundPressed});color:var(${colorNeutralForeground2BrandPressed})}:host([appearance='transparent']) .control,:host([appearance='transparent']:hover) .control,:host([appearance='transparent']:hover:active) .control{border-color:transparent}:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"])) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover) .control,:host(is:([disabled][appearance='transparent'],[disabled-focusabale][appearance="transparent"]):hover:active) .control{border-color:transparent;background-color:var(${colorTransparentBackground})}:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable])) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover) .control,:host(:is([disabled],[disabled-focusable],[appearance][disabled],[appearance][disabled-focusable]):hover:active)
|
|
5011
|
+
.control{background-color:var(${colorNeutralBackgroundDisabled});border-color:var(${colorNeutralStrokeDisabled});color:var(${colorNeutralForegroundDisabled});cursor:not-allowed}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
6034
5012
|
:host([appearance='transparent']:hover) .control{border-color:Highlight}`));
|
|
6035
5013
|
|
|
6036
5014
|
const styles$o = css`
|
|
@@ -6229,7 +5207,7 @@ const animations = {
|
|
|
6229
5207
|
nullEasing: curveLinear
|
|
6230
5208
|
};
|
|
6231
5209
|
const styles$n = css`
|
|
6232
|
-
${display("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family
|
|
5210
|
+
${display("inline-flex")} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:var(${fontFamilyBase});font-weight:var(${fontWeightSemibold});font-size:var(${fontSizeBase300});border-radius:var(${borderRadiusCircular});color:var(${colorNeutralForeground3});background-color:var(${colorNeutralBackground6});contain:layout style}.default-icon,::slotted(svg){width:20px;height:20px;font-size:20px}::slotted(img){box-sizing:border-box;width:100%;height:100%;border-radius:var(${borderRadiusCircular})}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 var(${strokeWidthThin}) var(${colorNeutralBackground1})}:host([size='64']) ::slotted([slot='badge']),:host([size='72']) ::slotted([slot='badge']),:host([size='96']) ::slotted([slot='badge']),:host([size='120']) ::slotted([slot='badge']),:host([size='128']) ::slotted([slot='badge']){box-shadow:0 0 0 var(${strokeWidthThick}) var(${colorNeutralBackground1})}:host([size='16']),:host([size='20']),:host([size='24']){font-size:var(${fontSizeBase100});font-weight:var(${fontWeightRegular})}:host([size='16']){width:16px;height:16px}:host([size='20']){width:20px;height:20px}:host([size='24']){width:24px;height:24px}:host([size='16']) .default-icon,:host([size='16']) ::slotted(svg){width:12px;height:12px;font-size:12px}:host([size='20']) .default-icon,:host([size='24']) .default-icon,:host([size='20']) ::slotted(svg),:host([size='24']) ::slotted(svg){width:16px;height:16px;font-size:16px}:host([size='28']){width:28px;height:28px;font-size:var(${fontSizeBase200})}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:var(${fontSizeBase400})}:host([size='48']){width:48px;height:48px}:host([size='48']) .default-icon,:host([size='48']) ::slotted(svg){width:24px;height:24px;font-size:24px}:host([size='56']){width:56px;height:56px}:host([size='56']) .default-icon,:host([size='56']) ::slotted(svg){width:28px;height:28px;font-size:28px}:host([size='64']),:host([size='72']),:host([size='96']){font-size:var(${fontSizeBase500})}:host([size='64']) .default-icon,:host([size='72']) .default-icon,:host([size='64']) ::slotted(svg),:host([size='72']) ::slotted(svg){width:32px;height:32px;font-size:32px}:host([size='64']){width:64px;height:64px}:host([size='72']){width:72px;height:72px}:host([size='96']){width:96px;height:96px}:host([size='96']) .default-icon,:host([size='120']) .default-icon,:host([size='128']) .default-icon,:host([size='96']) ::slotted(svg),:host([size='120']) ::slotted(svg),:host([size='128']) ::slotted(svg){width:48px;height:48px;font-size:48px}:host([size='120']),:host([size='128']){font-size:var(${fontSizeBase600})}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:var(${borderRadiusMedium})}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:var(${borderRadiusSmall})}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:var(${borderRadiusLarge})}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:var(${borderRadiusXLarge})}:host([data-color='brand']){color:var(${colorNeutralForegroundStaticInverted});background-color:var(${colorBrandBackgroundStatic})}:host([data-color='dark-red']){color:var(${colorPaletteDarkRedForeground2});background-color:var(${colorPaletteDarkRedBackground2})}:host([data-color='cranberry']){color:var(${colorPaletteCranberryForeground2});background-color:var(${colorPaletteCranberryBackground2})}:host([data-color='red']){color:var(${colorPaletteRedForeground2});background-color:var(${colorPaletteRedBackground2})}:host([data-color='pumpkin']){color:var(${colorPalettePumpkinForeground2});background-color:var(${colorPalettePumpkinBackground2})}:host([data-color='peach']){color:var(${colorPalettePeachForeground2});background-color:var(${colorPalettePeachBackground2})}:host([data-color='marigold']){color:var(${colorPaletteMarigoldForeground2});background-color:var(${colorPaletteMarigoldBackground2})}:host([data-color='gold']){color:var(${colorPaletteGoldForeground2});background-color:var(${colorPaletteGoldBackground2})}:host([data-color='brass']){color:var(${colorPaletteBrassForeground2});background-color:var(${colorPaletteBrassBackground2})}:host([data-color='brown']){color:var(${colorPaletteBrownForeground2});background-color:var(${colorPaletteBrownBackground2})}:host([data-color='forest']){color:var(${colorPaletteForestForeground2});background-color:var(${colorPaletteForestBackground2})}:host([data-color='seafoam']){color:var(${colorPaletteSeafoamForeground2});background-color:var(${colorPaletteSeafoamBackground2})}:host([data-color='dark-green']){color:var(${colorPaletteDarkGreenForeground2});background-color:var(${colorPaletteDarkGreenBackground2})}:host([data-color='light-teal']){color:var(${colorPaletteLightTealForeground2});background-color:var(${colorPaletteLightTealBackground2})}:host([data-color='teal']){color:var(${colorPaletteTealForeground2});background-color:var(${colorPaletteTealBackground2})}:host([data-color='steel']){color:var(${colorPaletteSteelForeground2});background-color:var(${colorPaletteSteelBackground2})}:host([data-color='blue']){color:var(${colorPaletteBlueForeground2});background-color:var(${colorPaletteBlueBackground2})}:host([data-color='royal-blue']){color:var(${colorPaletteRoyalBlueForeground2});background-color:var(${colorPaletteRoyalBlueBackground2})}:host([data-color='cornflower']){color:var(${colorPaletteCornflowerForeground2});background-color:var(${colorPaletteCornflowerBackground2})}:host([data-color='navy']){color:var(${colorPaletteNavyForeground2});background-color:var(${colorPaletteNavyBackground2})}:host([data-color='lavender']){color:var(${colorPaletteLavenderForeground2});background-color:var(${colorPaletteLavenderBackground2})}:host([data-color='purple']){color:var(${colorPalettePurpleForeground2});background-color:var(${colorPalettePurpleBackground2})}:host([data-color='grape']){color:var(${colorPaletteGrapeForeground2});background-color:var(${colorPaletteGrapeBackground2})}:host([data-color='lilac']){color:var(${colorPaletteLilacForeground2});background-color:var(${colorPaletteLilacBackground2})}:host([data-color='pink']){color:var(${colorPalettePinkForeground2});background-color:var(${colorPalettePinkBackground2})}:host([data-color='magenta']){color:var(${colorPaletteMagentaForeground2});background-color:var(${colorPaletteMagentaBackground2})}:host([data-color='plum']){color:var(${colorPalettePlumForeground2});background-color:var(${colorPalettePlumBackground2})}:host([data-color='beige']){color:var(${colorPaletteBeigeForeground2});background-color:var(${colorPaletteBeigeBackground2})}:host([data-color='mink']){color:var(${colorPaletteMinkForeground2});background-color:var(${colorPaletteMinkBackground2})}:host([data-color='platinum']){color:var(${colorPalettePlatinumForeground2});background-color:var(${colorPalettePlatinumBackground2})}:host([data-color='anchor']){color:var(${colorPaletteAnchorForeground2});background-color:var(${colorPaletteAnchorBackground2})}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:var(${durationUltraSlow}),var(${durationFaster});transition-delay:var(${animations.fastEase}),var(${animations.nullEasing})}:host([active])::before{content:'';position:absolute;top:0;left:0;bottom:0;right:0;border-radius:inherit;transition-property:margin,opacity;transition-duration:var(${durationUltraSlow}),var(${durationSlower});transition-delay:var(${animations.fastEase}),var(${animations.nullEasing})}:host([active])::before{box-shadow:var(${shadow8});border-style:solid;border-color:var(${colorBrandBackgroundStatic})}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${strokeWidthThick}));border-width:var(${strokeWidthThick})}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${strokeWidthThicker}));border-width:var(${strokeWidthThicker})}:host([size='72'][active]:not([appearance='shadow']))::before,:host([size='96'][active]:not([appearance='shadow']))::before,:host([size='120'][active]:not([appearance='shadow']))::before,:host([size='128'][active]:not([appearance='shadow']))::before{margin:calc(-2 * var(${strokeWidthThickest}));border-width:var(${strokeWidthThickest})}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:var(${shadow4})}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:var(${shadow16})}:host([size='72'][active][appearance])::before,:host([size='96'][active][appearance])::before,:host([size='120'][active][appearance])::before,:host([size='128'][active][appearance])::before{box-shadow:var(${shadow28})}:host([active][appearance='ring'])::before{box-shadow:none}:host([active='inactive']){opacity:0.8;transform:scale(0.875);transition-property:transform,opacity;transition-duration:var(${durationUltraSlow}),var(${durationFaster});transition-delay:var(${animations.fastOutSlowInMin}),var(${animations.nullEasing})}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:var(${durationUltraSlow}),var(${durationSlower});transition-delay:var(${animations.fastOutSlowInMin}),var(${animations.nullEasing})}@media screen and (prefers-reduced-motion:reduce){:host([active]){transition-duration:0.01ms}:host([active])::before{transition-duration:0.01ms;transition-delay:0.01ms}}`;
|
|
6233
5211
|
|
|
6234
5212
|
const definition$p = Avatar.compose({
|
|
6235
5213
|
name: `${FluentDesignSystem.prefix}-avatar`,
|
|
@@ -6313,17 +5291,17 @@ const badgeBaseStyles = css.partial`
|
|
|
6313
5291
|
box-sizing: border-box;
|
|
6314
5292
|
align-items: center;
|
|
6315
5293
|
justify-content: center;
|
|
6316
|
-
font-family: ${fontFamilyBase};
|
|
6317
|
-
font-weight: ${fontWeightSemibold};
|
|
6318
|
-
font-size: ${fontSizeBase200};
|
|
6319
|
-
line-height: ${lineHeightBase200};
|
|
5294
|
+
font-family: var(${fontFamilyBase});
|
|
5295
|
+
font-weight: var(${fontWeightSemibold});
|
|
5296
|
+
font-size: var(${fontSizeBase200});
|
|
5297
|
+
line-height: var(${lineHeightBase200});
|
|
6320
5298
|
min-width: 20px;
|
|
6321
5299
|
height: 20px;
|
|
6322
|
-
padding-inline: calc(${spacingHorizontalXS} + ${textPadding});
|
|
6323
|
-
border-radius: ${borderRadiusCircular};
|
|
6324
|
-
border-color: ${colorTransparentStroke};
|
|
6325
|
-
background-color: ${colorBrandBackground};
|
|
6326
|
-
color: ${colorNeutralForegroundOnBrand};
|
|
5300
|
+
padding-inline: calc(var(${spacingHorizontalXS}) + var(${textPadding}));
|
|
5301
|
+
border-radius: var(${borderRadiusCircular});
|
|
5302
|
+
border-color: var(${colorTransparentStroke});
|
|
5303
|
+
background-color: var(${colorBrandBackground});
|
|
5304
|
+
color: var(${colorNeutralForegroundOnBrand});
|
|
6327
5305
|
contain: content;
|
|
6328
5306
|
}
|
|
6329
5307
|
|
|
@@ -6339,7 +5317,7 @@ const badgeBaseStyles = css.partial`
|
|
|
6339
5317
|
bottom: 0;
|
|
6340
5318
|
right: 0;
|
|
6341
5319
|
border-style: solid;
|
|
6342
|
-
border-width: ${strokeWidthThin};
|
|
5320
|
+
border-width: var(${strokeWidthThin});
|
|
6343
5321
|
border-color: inherit;
|
|
6344
5322
|
border-radius: inherit;
|
|
6345
5323
|
}
|
|
@@ -6370,9 +5348,9 @@ const badgeSizeStyles = css.partial`
|
|
|
6370
5348
|
:host([size='small']) {
|
|
6371
5349
|
min-width: 16px;
|
|
6372
5350
|
height: 16px;
|
|
6373
|
-
font-size: ${fontSizeBase100};
|
|
6374
|
-
line-height: ${lineHeightBase100};
|
|
6375
|
-
padding-inline: calc(${spacingHorizontalXXS} + ${textPadding});
|
|
5351
|
+
font-size: var(${fontSizeBase100});
|
|
5352
|
+
line-height: var(${lineHeightBase100});
|
|
5353
|
+
padding-inline: calc(var(${spacingHorizontalXXS}) + var(${textPadding}));
|
|
6376
5354
|
}
|
|
6377
5355
|
:host([size='small']) ::slotted(svg) {
|
|
6378
5356
|
font-size: 12px;
|
|
@@ -6380,9 +5358,9 @@ const badgeSizeStyles = css.partial`
|
|
|
6380
5358
|
:host([size='large']) {
|
|
6381
5359
|
min-width: 24px;
|
|
6382
5360
|
height: 24px;
|
|
6383
|
-
font-size: ${fontSizeBase200};
|
|
6384
|
-
line-height: ${lineHeightBase200};
|
|
6385
|
-
padding-inline: calc(${spacingHorizontalXS} + ${textPadding});
|
|
5361
|
+
font-size: var(${fontSizeBase200});
|
|
5362
|
+
line-height: var(${lineHeightBase200});
|
|
5363
|
+
padding-inline: calc(var(${spacingHorizontalXS}) + var(${textPadding}));
|
|
6386
5364
|
}
|
|
6387
5365
|
:host([size='large']) ::slotted(svg) {
|
|
6388
5366
|
font-size: 16px;
|
|
@@ -6390,9 +5368,9 @@ const badgeSizeStyles = css.partial`
|
|
|
6390
5368
|
:host([size='extra-large']) {
|
|
6391
5369
|
min-width: 32px;
|
|
6392
5370
|
height: 32px;
|
|
6393
|
-
font-size: ${fontSizeBase200};
|
|
6394
|
-
line-height: ${lineHeightBase200};
|
|
6395
|
-
padding-inline: calc(${spacingHorizontalSNudge} + ${textPadding});
|
|
5371
|
+
font-size: var(${fontSizeBase200});
|
|
5372
|
+
line-height: var(${lineHeightBase200});
|
|
5373
|
+
padding-inline: calc(var(${spacingHorizontalSNudge}) + var(${textPadding}));
|
|
6396
5374
|
}
|
|
6397
5375
|
:host([size='extra-large']) ::slotted(svg) {
|
|
6398
5376
|
font-size: 20px;
|
|
@@ -6400,163 +5378,163 @@ const badgeSizeStyles = css.partial`
|
|
|
6400
5378
|
`;
|
|
6401
5379
|
const badgeFilledStyles = css.partial`
|
|
6402
5380
|
:host([color='danger']) {
|
|
6403
|
-
background-color: ${colorPaletteRedBackground3};
|
|
6404
|
-
color: ${colorNeutralForegroundOnBrand};
|
|
5381
|
+
background-color: var(${colorPaletteRedBackground3});
|
|
5382
|
+
color: var(${colorNeutralForegroundOnBrand});
|
|
6405
5383
|
}
|
|
6406
5384
|
|
|
6407
5385
|
:host([color='important']) {
|
|
6408
|
-
background-color: ${colorNeutralForeground1};
|
|
6409
|
-
color: ${colorNeutralBackground1};
|
|
5386
|
+
background-color: var(${colorNeutralForeground1});
|
|
5387
|
+
color: var(${colorNeutralBackground1});
|
|
6410
5388
|
}
|
|
6411
5389
|
|
|
6412
5390
|
:host([color='informative']) {
|
|
6413
|
-
background-color: ${colorNeutralBackground5};
|
|
6414
|
-
color: ${colorNeutralForeground3};
|
|
5391
|
+
background-color: var(${colorNeutralBackground5});
|
|
5392
|
+
color: var(${colorNeutralForeground3});
|
|
6415
5393
|
}
|
|
6416
5394
|
|
|
6417
5395
|
:host([color='severe']) {
|
|
6418
|
-
background-color: ${colorPaletteDarkOrangeBackground3};
|
|
6419
|
-
color: ${colorNeutralForegroundOnBrand};
|
|
5396
|
+
background-color: var(${colorPaletteDarkOrangeBackground3});
|
|
5397
|
+
color: var(${colorNeutralForegroundOnBrand});
|
|
6420
5398
|
}
|
|
6421
5399
|
|
|
6422
5400
|
:host([color='subtle']) {
|
|
6423
|
-
background-color: ${colorNeutralBackground1};
|
|
6424
|
-
color: ${colorNeutralForeground1};
|
|
5401
|
+
background-color: var(${colorNeutralBackground1});
|
|
5402
|
+
color: var(${colorNeutralForeground1});
|
|
6425
5403
|
}
|
|
6426
5404
|
|
|
6427
5405
|
:host([color='success']) {
|
|
6428
|
-
background-color: ${colorPaletteGreenBackground3};
|
|
6429
|
-
color: ${colorNeutralForegroundOnBrand};
|
|
5406
|
+
background-color: var(${colorPaletteGreenBackground3});
|
|
5407
|
+
color: var(${colorNeutralForegroundOnBrand});
|
|
6430
5408
|
}
|
|
6431
5409
|
|
|
6432
5410
|
:host([color='warning']) {
|
|
6433
|
-
background-color: ${colorPaletteYellowBackground3};
|
|
6434
|
-
color: ${colorNeutralForeground1Static};
|
|
5411
|
+
background-color: var(${colorPaletteYellowBackground3});
|
|
5412
|
+
color: var(${colorNeutralForeground1Static});
|
|
6435
5413
|
}
|
|
6436
5414
|
`;
|
|
6437
5415
|
const badgeGhostStyles = css.partial`
|
|
6438
5416
|
:host([appearance='ghost']) {
|
|
6439
|
-
color: ${colorBrandForeground1};
|
|
5417
|
+
color: var(${colorBrandForeground1});
|
|
6440
5418
|
background-color: initial;
|
|
6441
5419
|
}
|
|
6442
5420
|
|
|
6443
5421
|
:host([appearance='ghost'][color='danger']) {
|
|
6444
|
-
color: ${colorPaletteRedForeground3};
|
|
5422
|
+
color: var(${colorPaletteRedForeground3});
|
|
6445
5423
|
}
|
|
6446
5424
|
|
|
6447
5425
|
:host([appearance='ghost'][color='important']) {
|
|
6448
|
-
color: ${colorNeutralForeground1};
|
|
5426
|
+
color: var(${colorNeutralForeground1});
|
|
6449
5427
|
}
|
|
6450
5428
|
|
|
6451
5429
|
:host([appearance='ghost'][color='informative']) {
|
|
6452
|
-
color: ${colorNeutralForeground3};
|
|
5430
|
+
color: var(${colorNeutralForeground3});
|
|
6453
5431
|
}
|
|
6454
5432
|
|
|
6455
5433
|
:host([appearance='ghost'][color='severe']) {
|
|
6456
|
-
color: ${colorPaletteDarkOrangeForeground3};
|
|
5434
|
+
color: var(${colorPaletteDarkOrangeForeground3});
|
|
6457
5435
|
}
|
|
6458
5436
|
|
|
6459
5437
|
:host([appearance='ghost'][color='subtle']) {
|
|
6460
|
-
color: ${colorNeutralForegroundInverted};
|
|
5438
|
+
color: var(${colorNeutralForegroundInverted});
|
|
6461
5439
|
}
|
|
6462
5440
|
|
|
6463
5441
|
:host([appearance='ghost'][color='success']) {
|
|
6464
|
-
color: ${colorPaletteGreenForeground3};
|
|
5442
|
+
color: var(${colorPaletteGreenForeground3});
|
|
6465
5443
|
}
|
|
6466
5444
|
|
|
6467
5445
|
:host([appearance='ghost'][color='warning']) {
|
|
6468
|
-
color: ${colorPaletteYellowForeground2};
|
|
5446
|
+
color: var(${colorPaletteYellowForeground2});
|
|
6469
5447
|
}
|
|
6470
5448
|
`;
|
|
6471
5449
|
const badgeOutlineStyles = css.partial`
|
|
6472
5450
|
:host([appearance='outline']) {
|
|
6473
5451
|
border-color: currentColor;
|
|
6474
|
-
color: ${colorBrandForeground1};
|
|
5452
|
+
color: var(${colorBrandForeground1});
|
|
6475
5453
|
background-color: initial;
|
|
6476
5454
|
}
|
|
6477
5455
|
|
|
6478
5456
|
:host([appearance='outline'][color='danger']) {
|
|
6479
|
-
color: ${colorPaletteRedForeground3};
|
|
5457
|
+
color: var(${colorPaletteRedForeground3});
|
|
6480
5458
|
}
|
|
6481
5459
|
|
|
6482
5460
|
:host([appearance='outline'][color='important']) {
|
|
6483
|
-
color: ${colorNeutralForeground3};
|
|
6484
|
-
border-color: ${colorNeutralStrokeAccessible};
|
|
5461
|
+
color: var(${colorNeutralForeground3});
|
|
5462
|
+
border-color: var(${colorNeutralStrokeAccessible});
|
|
6485
5463
|
}
|
|
6486
5464
|
|
|
6487
5465
|
:host([appearance='outline'][color='informative']) {
|
|
6488
|
-
color: ${colorNeutralForeground3};
|
|
6489
|
-
border-color: ${colorNeutralStroke2};
|
|
5466
|
+
color: var(${colorNeutralForeground3});
|
|
5467
|
+
border-color: var(${colorNeutralStroke2});
|
|
6490
5468
|
}
|
|
6491
5469
|
|
|
6492
5470
|
:host([appearance='outline'][color='severe']) {
|
|
6493
|
-
color: ${colorPaletteDarkOrangeForeground3};
|
|
5471
|
+
color: var(${colorPaletteDarkOrangeForeground3});
|
|
6494
5472
|
}
|
|
6495
5473
|
|
|
6496
5474
|
:host([appearance='outline'][color='subtle']) {
|
|
6497
|
-
color: ${colorNeutralForegroundStaticInverted};
|
|
5475
|
+
color: var(${colorNeutralForegroundStaticInverted});
|
|
6498
5476
|
}
|
|
6499
5477
|
|
|
6500
5478
|
:host([appearance='outline'][color='success']) {
|
|
6501
|
-
color: ${colorPaletteGreenForeground2};
|
|
5479
|
+
color: var(${colorPaletteGreenForeground2});
|
|
6502
5480
|
}
|
|
6503
5481
|
|
|
6504
5482
|
:host([appearance='outline'][color='warning']) {
|
|
6505
|
-
color: ${colorPaletteYellowForeground2};
|
|
5483
|
+
color: var(${colorPaletteYellowForeground2});
|
|
6506
5484
|
}
|
|
6507
5485
|
`;
|
|
6508
5486
|
const badgeTintStyles = css.partial`
|
|
6509
5487
|
:host([appearance='tint']) {
|
|
6510
|
-
background-color: ${colorBrandBackground2};
|
|
6511
|
-
color: ${colorBrandForeground2};
|
|
6512
|
-
border-color: ${colorBrandStroke2};
|
|
5488
|
+
background-color: var(${colorBrandBackground2});
|
|
5489
|
+
color: var(${colorBrandForeground2});
|
|
5490
|
+
border-color: var(${colorBrandStroke2});
|
|
6513
5491
|
}
|
|
6514
5492
|
|
|
6515
5493
|
:host([appearance='tint'][color='danger']) {
|
|
6516
|
-
background-color: ${colorPaletteRedBackground1};
|
|
6517
|
-
color: ${colorPaletteRedForeground1};
|
|
6518
|
-
border-color: ${colorPaletteRedBorder1};
|
|
5494
|
+
background-color: var(${colorPaletteRedBackground1});
|
|
5495
|
+
color: var(${colorPaletteRedForeground1});
|
|
5496
|
+
border-color: var(${colorPaletteRedBorder1});
|
|
6519
5497
|
}
|
|
6520
5498
|
|
|
6521
5499
|
:host([appearance='tint'][color='important']) {
|
|
6522
|
-
background-color: ${colorNeutralForeground3};
|
|
6523
|
-
color: ${colorNeutralBackground1};
|
|
6524
|
-
border-color: ${colorTransparentStroke};
|
|
5500
|
+
background-color: var(${colorNeutralForeground3});
|
|
5501
|
+
color: var(${colorNeutralBackground1});
|
|
5502
|
+
border-color: var(${colorTransparentStroke});
|
|
6525
5503
|
}
|
|
6526
5504
|
|
|
6527
5505
|
:host([appearance='tint'][color='informative']) {
|
|
6528
|
-
background-color: ${colorNeutralBackground4};
|
|
6529
|
-
color: ${colorNeutralForeground3};
|
|
6530
|
-
border-color: ${colorNeutralStroke2};
|
|
5506
|
+
background-color: var(${colorNeutralBackground4});
|
|
5507
|
+
color: var(${colorNeutralForeground3});
|
|
5508
|
+
border-color: var(${colorNeutralStroke2});
|
|
6531
5509
|
}
|
|
6532
5510
|
|
|
6533
5511
|
:host([appearance='tint'][color='severe']) {
|
|
6534
|
-
background-color: ${colorPaletteDarkOrangeBackground1};
|
|
6535
|
-
color: ${colorPaletteDarkOrangeForeground1};
|
|
6536
|
-
border-color: ${colorPaletteDarkOrangeBorder1};
|
|
5512
|
+
background-color: var(${colorPaletteDarkOrangeBackground1});
|
|
5513
|
+
color: var(${colorPaletteDarkOrangeForeground1});
|
|
5514
|
+
border-color: var(${colorPaletteDarkOrangeBorder1});
|
|
6537
5515
|
}
|
|
6538
5516
|
|
|
6539
5517
|
:host([appearance='tint'][color='subtle']) {
|
|
6540
|
-
background-color: ${colorNeutralBackground1};
|
|
6541
|
-
color: ${colorNeutralForeground3};
|
|
6542
|
-
border-color: ${colorNeutralStroke2};
|
|
5518
|
+
background-color: var(${colorNeutralBackground1});
|
|
5519
|
+
color: var(${colorNeutralForeground3});
|
|
5520
|
+
border-color: var(${colorNeutralStroke2});
|
|
6543
5521
|
}
|
|
6544
5522
|
|
|
6545
5523
|
:host([appearance='tint'][color='success']) {
|
|
6546
|
-
background-color: ${colorPaletteGreenBackground1};
|
|
6547
|
-
color: ${colorPaletteGreenForeground1};
|
|
6548
|
-
border-color: ${colorPaletteGreenBorder2};
|
|
5524
|
+
background-color: var(${colorPaletteGreenBackground1});
|
|
5525
|
+
color: var(${colorPaletteGreenForeground1});
|
|
5526
|
+
border-color: var(${colorPaletteGreenBorder2});
|
|
6549
5527
|
}
|
|
6550
5528
|
|
|
6551
5529
|
:host([appearance='tint'][color='warning']) {
|
|
6552
|
-
background-color: ${colorPaletteYellowBackground1};
|
|
6553
|
-
color: ${colorPaletteYellowForeground2};
|
|
6554
|
-
border-color: ${colorPaletteYellowBorder1};
|
|
5530
|
+
background-color: var(${colorPaletteYellowBackground1});
|
|
5531
|
+
color: var(${colorPaletteYellowForeground2});
|
|
5532
|
+
border-color: var(${colorPaletteYellowBorder1});
|
|
6555
5533
|
}
|
|
6556
5534
|
`;
|
|
6557
5535
|
|
|
6558
5536
|
const styles$m = css`
|
|
6559
|
-
:host([shape='square']){border-radius
|
|
5537
|
+
:host([shape='square']){border-radius:var(${borderRadiusNone})}:host([shape='rounded']){border-radius:var(${borderRadiusMedium})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${borderRadiusSmall})}${badgeSizeStyles}
|
|
6560
5538
|
${badgeFilledStyles}
|
|
6561
5539
|
${badgeGhostStyles}
|
|
6562
5540
|
${badgeOutlineStyles}
|
|
@@ -7372,7 +6350,7 @@ const template$m = checkboxTemplate({
|
|
|
7372
6350
|
|
|
7373
6351
|
const styles$l = css`
|
|
7374
6352
|
${display("inline-flex")}
|
|
7375
|
-
:host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family
|
|
6353
|
+
:host{align-items:center;outline:none;user-select:none;vertical-align:middle;cursor:pointer;font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});color:var(${colorNeutralForeground3});position:relative}:host(:focus-visible)::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:var(${borderRadiusMedium});outline:none;border:2px solid var(${colorStrokeFocus1});box-shadow:inset 0 0 0 1px var(${colorStrokeFocus2})}.control{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;margin:var(${spacingVerticalS}) var(${spacingHorizontalS});fill:currentcolor;height:16px;width:16px;border:var(${strokeWidthThin}) solid var(${colorNeutralStrokeAccessible});border-radius:var(${borderRadiusSmall});outline:none}.label{align-self:center;cursor:inherit;padding-inline:var(${spacingHorizontalS});padding-bottom:var(${spacingVerticalS});padding-top:var(${spacingVerticalS})}.label__hidden{display:none;visibility:hidden}.checked-indicator{display:flex;align-items:center;justify-content:center;color:var(${colorNeutralForegroundInverted});font-size:12px;margin:auto;opacity:0}.indeterminate-indicator{position:absolute;width:8px;height:8px;border-radius:var(${borderRadiusSmall});background-color:var(${colorCompoundBrandForeground1});opacity:0}:host(:hover){color:var(${colorNeutralForeground2})}:host(:hover) .control{border-color:var(${colorNeutralStrokeAccessibleHover})}:host(:hover) .indeterminate-indicator{background-color:var(${colorCompoundBrandForeground1Hover})}:host(:active) .control{border-color:var(${colorNeutralStrokeAccessiblePressed})}:host(:active) .indeterminate-indicator{background-color:var(${colorCompoundBrandForeground1Pressed})}:host([aria-checked='true']),:host([aria-checked='mixed']),:host(:active){color:var(${colorNeutralForeground1})}:host([aria-checked='true']) .control{background-color:var(${colorCompoundBrandBackground})}:host([aria-checked='true']:hover) .control{border-color:var(${colorCompoundBrandStrokeHover});background-color:var(${colorCompoundBrandBackgroundHover})}:host([aria-checked='true']:active) .control{background-color:var(${colorCompoundBrandBackgroundPressed})}:host([aria-checked='mixed']:hover) .control{border-color:var(${colorCompoundBrandStrokeHover})}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='mixed']) .indeterminate-indicator{opacity:1}:host([aria-checked='true']) .control,:host([aria-checked='mixed']) .control{border-color:var(${colorCompoundBrandStroke})}:host([aria-checked='mixed']:active) .control,:host([aria-checked='true']:active) .control{border-color:var(${colorCompoundBrandStrokePressed})}:host([label-position='before']){flex-direction:row-reverse}:host([label-position='before']) .label{padding-inline:var(${spacingHorizontalS}) var(${spacingHorizontalXS});padding-top:var(${spacingVerticalS});padding-bottom:var(${spacingVerticalS})}:host([size='large']) .control{width:20px;height:20px}:host([size='large']) .checked-indicator{font-size:16px;height:20px}:host([aria-checked='mixed'][size='large']) .indeterminate-indicator{height:10px;width:10px}:host([shape='circular']) .control,:host([shape='circular']) .indeterminate-indicator{border-radius:var(${borderRadiusCircular})}:host([disabled]) .control,:host([aria-checked='mixed'][disabled]) .control,:host([aria-checked='true'][disabled]) .control{background-color:var(${colorTransparentBackgroundHover});border-color:var(${colorNeutralStrokeDisabled})}:host([aria-checked='true'][disabled]) .checked-indicator,:host([disabled]) ::slotted([slot='start']),:host([disabled]) .label,:host([aria-checked='mixed'][disabled]) .label,:host([aria-checked='true'][disabled]) .label{color:var(${colorNeutralForegroundDisabled})}:host([disabled]) .indeterminate-indicator{background-color:var(${colorNeutralForegroundDisabled})}`;
|
|
7376
6354
|
|
|
7377
6355
|
const definition$m = Checkbox.compose({
|
|
7378
6356
|
name: `${FluentDesignSystem.prefix}-checkbox`,
|
|
@@ -7394,10 +6372,10 @@ const template$l = buttonTemplate();
|
|
|
7394
6372
|
const styles$k = css`
|
|
7395
6373
|
${styles$p}
|
|
7396
6374
|
|
|
7397
|
-
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size
|
|
7398
|
-
::slotted([slot='description']){color
|
|
7399
|
-
::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color
|
|
7400
|
-
::slotted([slot='description']){color
|
|
6375
|
+
:host .control,:host(:is([size])) .control{gap:12px;height:auto;padding-top:14px;padding-inline:12px;padding-bottom:16px;font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300})}.content{display:flex;flex-direction:column;text-align:start}::slotted([slot='description']){color:var(${colorNeutralForeground2});line-height:100%;font-size:var(${fontSizeBase200});font-weight:var(${fontWeightRegular})}::slotted(svg),:host([size='large']) ::slotted(svg){font-size:40px;height:40px;width:40px}:host(:hover) ::slotted([slot='description']){color:var(${colorNeutralForeground2Hover})}:host(:active) ::slotted([slot='description']){color:var(${colorNeutralForeground2Pressed})}:host(:is([appearance='primary'],[appearance='primary']:hover,[appearance='primary']:active))
|
|
6376
|
+
::slotted([slot='description']){color:var(${colorNeutralForegroundOnBrand})}:host(:is([appearance='subtle'],[appearance='subtle']:hover,[appearance='subtle']:active))
|
|
6377
|
+
::slotted([slot='description']),:host([appearance='transparent']) ::slotted([slot='description']){color:var(${colorNeutralForeground2})}:host([appearance='transparent']:hover) ::slotted([slot='description']){color:var(${colorNeutralForeground2BrandHover})}:host([appearance='transparent']:active) ::slotted([slot='description']){color:var(${colorNeutralForeground2BrandPressed})}:host(:is([disabled],[disabled][appearance],[disabled-focusable],[disabled-focusable][appearance]))
|
|
6378
|
+
::slotted([slot='description']){color:var(${colorNeutralForegroundDisabled})}:host([size='small']) .control{padding:8px;padding-bottom:10px}:host([icon-only]) .control{min-width:52px;max-width:52px;padding:var(${spacingHorizontalSNudge})}:host([icon-only][size='small']) .control{min-width:48px;max-width:48px;padding:var(${spacingHorizontalXS})}:host([icon-only][size='large']) .control{min-width:56px;max-width:56px;padding:var(${spacingHorizontalS})}:host([size='large']) .control{padding-top:18px;padding-inline:16px;padding-bottom:20px;font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400})}:host([size='large']) ::slotted([slot='description']){font-size:var(${fontSizeBase300})}`;
|
|
7401
6379
|
|
|
7402
6380
|
const definition$l = CompoundButton.compose({
|
|
7403
6381
|
name: `${FluentDesignSystem.prefix}-compound-button`,
|
|
@@ -7494,7 +6472,7 @@ function composeTemplate(options = {}) {
|
|
|
7494
6472
|
const template$k = composeTemplate();
|
|
7495
6473
|
|
|
7496
6474
|
const styles$j = css`
|
|
7497
|
-
:host([shape='rounded']){border-radius
|
|
6475
|
+
:host([shape='rounded']){border-radius:var(${borderRadiusMedium})}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:var(${borderRadiusSmall})}${badgeSizeStyles}
|
|
7498
6476
|
${badgeFilledStyles}
|
|
7499
6477
|
${badgeGhostStyles}
|
|
7500
6478
|
${badgeBaseStyles}
|
|
@@ -11036,7 +10014,7 @@ function textFieldTemplate(options = {}) {
|
|
|
11036
10014
|
const styles$i = css`
|
|
11037
10015
|
${display("flex")}
|
|
11038
10016
|
|
|
11039
|
-
:host{--dialog-backdrop
|
|
10017
|
+
:host{--dialog-backdrop:var(${colorBackgroundOverlay})}dialog{background:var(${colorNeutralBackground1});border:var(${strokeWidthThin}) solid var(${colorTransparentStroke});z-index:2;margin:auto auto;max-width:100%;width:100vw;border-radius:var(${borderRadiusXLarge});box-shadow:var(${shadow64});max-height:100vh;height:fit-content;overflow:unset;position:fixed;inset:0;padding:0}dialog::backdrop{background:var(--dialog-backdrop,rgba(0,0,0,0.4))}.root{box-sizing:border-box;display:flex;flex-direction:column;overflow:unset;max-height:calc(100vh - 48px);padding:var(${spacingVerticalXXL}) var(${spacingHorizontalXXL})}.title{font-size:var(${fontSizeBase500});line-height:var(${lineHeightBase500});font-weight:var(${fontWeightSemibold});font-family:var(${fontFamilyBase});color:var(${colorNeutralForeground1});margin-bottom:var(${spacingVerticalS});display:flex;justify-content:space-between;align-items:flex-start;column-gap:8px}.content{vertical-align:top;min-height:32px;color:var(${colorNeutralForeground1});font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});font-weight:var(${fontWeightRegular});font-family:var(${fontFamilyBase});overflow-y:auto;box-sizing:border-box}.actions{display:flex;grid-column-start:1;flex-direction:column;max-width:100vw;row-gap:var(${spacingVerticalS});padding-top:var(${spacingVerticalXXL});justify-self:stretch;width:100%}::slotted([slot='action']){width:100%}@media screen and (min-width:480px){::slotted([slot='action']){width:fit-content}dialog{max-width:600px;width:100%}.actions{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;column-gap:var(${spacingHorizontalS});padding-top:var(${spacingVerticalS});box-sizing:border-box}}`;
|
|
11040
10018
|
|
|
11041
10019
|
const definition$j = Dialog.compose({
|
|
11042
10020
|
name: `${FluentDesignSystem.prefix}-dialog`,
|
|
@@ -11078,7 +10056,7 @@ const template$i = dividerTemplate();
|
|
|
11078
10056
|
const styles$h = css`
|
|
11079
10057
|
${display("flex")}
|
|
11080
10058
|
|
|
11081
|
-
:host{contain:content}:host::after,:host::before{align-self:center;background
|
|
10059
|
+
:host{contain:content}:host::after,:host::before{align-self:center;background:var(${colorNeutralStroke2});box-sizing:border-box;content:'';display:flex;flex-grow:1;height:var(${strokeWidthThin})}:host([inset]){padding:0 12px}:host ::slotted(*){color:var(${colorNeutralForeground2});font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase200});font-weight:var(${fontWeightRegular});margin:0;padding:0 12px}:host([align-content='start'])::before,:host([align-content='end'])::after{flex-basis:12px;flex-grow:0;flex-shrink:0}:host([orientation='vertical']){height:100%;min-height:84px}:host([orientation='vertical']):empty{min-height:20px}:host([orientation='vertical']){flex-direction:column;align-items:center}:host([orientation='vertical'][inset])::before{margin-top:12px}:host([orientation='vertical'][inset])::after{margin-bottom:12px}:host([orientation='vertical']):empty::before,:host([orientation='vertical']):empty::after{height:10px;min-height:10px;flex-grow:0}:host([orientation='vertical'])::before,:host([orientation='vertical'])::after{width:var(${strokeWidthThin});min-height:20px;height:100%}:host([orientation='vertical']) ::slotted(*){display:flex;flex-direction:column;padding:12px 0;line-height:20px}:host([orientation='vertical'][align-content='start'])::before{min-height:8px}:host([orientation='vertical'][align-content='end'])::after{min-height:8px}:host([appearance='strong'])::before,:host([appearance='strong'])::after{background:var(${colorNeutralStroke1})}:host([appearance='strong']) ::slotted(*){color:var(${colorNeutralForeground1})}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:var(${colorBrandStroke1})}:host([appearance='brand']) ::slotted(*){color:var(${colorBrandForeground1})}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:var(${colorNeutralStroke3})}:host([appearance='subtle']) ::slotted(*){color:var(${colorNeutralForeground3})}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11082
10060
|
:host([appearance='strong'])::before,:host([appearance='strong'])::after,:host([appearance='brand'])::before,:host([appearance='brand'])::after,:host([appearance='subtle'])::before,:host([appearance='subtle'])::after,:host::after,:host::before{background:WindowText;color:WindowText}`));
|
|
11083
10061
|
|
|
11084
10062
|
const definition$i = Divider.compose({
|
|
@@ -11124,7 +10102,7 @@ const ImageShape = {
|
|
|
11124
10102
|
const template$h = html`<slot></slot>`;
|
|
11125
10103
|
|
|
11126
10104
|
const styles$g = css`
|
|
11127
|
-
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border
|
|
10105
|
+
:host{contain:content}:host ::slotted(img){box-sizing:border-box;min-height:8px;min-width:8px;display:inline-block}:host([block]) ::slotted(img){width:100%;height:auto}:host([bordered]) ::slotted(img){border:var(${strokeWidthThin}) solid var(${colorNeutralStroke2})}:host([fit='none']) ::slotted(img){object-fit:none;object-position:top left;height:100%;width:100%}:host([fit='center']) ::slotted(img){object-fit:none;object-position:center;height:100%;width:100%}:host([fit='contain']) ::slotted(img){object-fit:contain;object-position:center;height:100%;width:100%}:host([fit='cover']) ::slotted(img){object-fit:cover;object-position:center;height:100%;width:100%}:host([shadow]) ::slotted(img){box-shadow:var(${shadow4})}:host([shape='circular']) ::slotted(img){border-radius:var(${borderRadiusCircular})}:host([shape='rounded']) ::slotted(img){border-radius:var(${borderRadiusMedium})}`;
|
|
11128
10106
|
|
|
11129
10107
|
const definition$h = Image.compose({
|
|
11130
10108
|
name: `${FluentDesignSystem.prefix}-image`,
|
|
@@ -11159,7 +10137,7 @@ __decorateClass$a([attr({
|
|
|
11159
10137
|
const styles$f = css`
|
|
11160
10138
|
${display("flex")}
|
|
11161
10139
|
|
|
11162
|
-
:host{font-family
|
|
10140
|
+
:host{font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});font-weight:var(${fontWeightRegular});color:var(${colorNeutralForeground1})}.asterisk{color:var(${colorPaletteRedForeground1});margin-left:var(${spacingHorizontalXS})}:host([size='small']){font-size:var(${fontSizeBase200});line-height:var(${lineHeightBase200})}:host([size='large']){font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400});font-weight:var(${fontWeightSemibold})}:host([weight='semibold']){font-weight:var(${fontWeightSemibold})}:host([disabled]),:host([disabled]) .asterisk{color:var(${colorNeutralForegroundDisabled})}`;
|
|
11163
10141
|
|
|
11164
10142
|
function labelTemplate() {
|
|
11165
10143
|
return html`<slot></slot><span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>`;
|
|
@@ -11483,7 +10461,7 @@ const template$d = menuItemTemplate({
|
|
|
11483
10461
|
const styles$d = css`
|
|
11484
10462
|
${display("grid")}
|
|
11485
10463
|
|
|
11486
|
-
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background
|
|
10464
|
+
:host{grid-template-columns:20px 20px auto 20px;align-items:center;grid-gap:4px;height:32px;background:var(${colorNeutralBackground1});font:var(${fontWeightRegular}) var(${fontSizeBase300}) / var(${lineHeightBase300}) var(${fontFamilyBase});border-radius:var(${borderRadiusMedium});color:var(${colorNeutralForeground2});padding:0 10px;cursor:pointer;overflow:visible;contain:layout}:host(:hover){background:var(${colorNeutralBackground1Hover})}.content{white-space:nowrap;flex-grow:1;grid-column:auto / span 2;padding:0 2px}.checkbox,.radio{display:none}.input-container,.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']),:host([checked]) .checkbox,:host([checked]) .radio{display:inline-flex;justify-content:center;align-items:center;color:var(${colorNeutralForeground2})}.expand-collapse-glyph-container,::slotted([slot='start']),::slotted([slot='end']){height:32px;font-size:var(${fontSizeBase500});width:fit-content}.input-container{width:20px}::slotted([slot='end']){color:var(${colorNeutralForeground3});font:var(${fontWeightRegular}) var(${fontSizeBase200}) / var(${lineHeightBase200}) var(${fontFamilyBase});white-space:nowrap;grid-column:4 / span 1;justify-self:flex-end}.expand-collapse-glyph-container{grid-column:4 / span 1;justify-self:flex-end}:host(:hover) .input-container,:host(:hover) .expand-collapse-glyph-container,:host(:hover) .content{color:var(${colorNeutralForeground2Hover})}:host([icon]:hover) ::slotted([slot='start']){color:var(${colorCompoundBrandForeground1Hover})}:host(:active){background-color:var(${colorNeutralBackground1Selected})}:host(:active) .input-container,:host(:active) .expand-collapse-glyph-container,:host(:active) .content{color:var(${colorNeutralForeground2Pressed})}:host(:active) ::slotted([slot='start']){color:var(${colorCompoundBrandForeground1Pressed})}:host([disabled]){background-color:var(${colorNeutralBackgroundDisabled})}:host([disabled]) .content,:host([disabled]) .expand-collapse-glyph-container,:host([disabled]) ::slotted([slot='end']),:host([disabled]) ::slotted([slot='start']){color:var(${colorNeutralForegroundDisabled})}:host([data-indent]){display:grid}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']){display:grid}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1}:host([data-indent='2'][aria-haspopup='menu']) .expand-collapse-glyph-container{grid-column:5 / span 1}:host([data-indent='1']) .content{grid-column:2 / span 1}:host([data-indent='1'][role='menuitemcheckbox']) .content,:host([data-indent='1'][role='menuitemradio']) .content{grid-column:auto / span 1}:host([icon]) ::slotted([slot='end']),:host([data-indent='1']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}:host([data-indent='2']){display:grid;grid-template-columns:20px 20px auto auto}:host([data-indent='2']) .content{grid-column:3 / span 1}:host([data-indent='2']) .input-container{grid-column:1 / span 1}:host([data-indent='2']) ::slotted([slot='start']){grid-column:2 / span 1}:host([aria-haspopup='menu']){grid-template-columns:20px auto auto 20px}:host([data-indent='2'][aria-haspopup='menu']){grid-template-columns:20px 20px auto auto 20px}:host([aria-haspopup='menu']) ::slotted([slot='end']){grid-column:3 / span 1;justify-self:flex-end}:host([data-indent='2'][aria-haspopup='menu']) ::slotted([slot='end']){grid-column:4 / span 1;justify-self:flex-end}`;
|
|
11487
10465
|
|
|
11488
10466
|
const definition$d = MenuItem.compose({
|
|
11489
10467
|
name: `${FluentDesignSystem.prefix}-menu-item`,
|
|
@@ -11521,7 +10499,7 @@ const template$c = menuTemplate$1();
|
|
|
11521
10499
|
const styles$c = css`
|
|
11522
10500
|
${display("flex")}
|
|
11523
10501
|
|
|
11524
|
-
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color
|
|
10502
|
+
:host{flex-direction:column;height:fit-content;max-width:300px;min-width:160px;width:auto;background-color:var(${colorNeutralBackground1});border:1px solid var(${colorTransparentStroke});border-radius:var(${borderRadiusMedium});box-shadow:var(${shadow16});padding:4px;row-gap:2px}`;
|
|
11525
10503
|
|
|
11526
10504
|
const definition$c = MenuList.compose({
|
|
11527
10505
|
name: `${FluentDesignSystem.prefix}-menu-list`,
|
|
@@ -11566,17 +10544,17 @@ const ProgressBarValidationState = {
|
|
|
11566
10544
|
const styles$b = css`
|
|
11567
10545
|
${display("flex")}
|
|
11568
10546
|
|
|
11569
|
-
:host{align-items:center;height:2px;overflow-x:hidden;border-radius
|
|
11570
|
-
to right
|
|
11571
|
-
)}:host([validation-state='warning']) .determinate{background-color
|
|
11572
|
-
to right
|
|
11573
|
-
)}:host([validation-state='success']) .determinate{background-color
|
|
11574
|
-
to right
|
|
11575
|
-
)}.progress{background-color
|
|
11576
|
-
to right
|
|
11577
|
-
);border-radius
|
|
11578
|
-
to right
|
|
11579
|
-
);border-radius
|
|
10547
|
+
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:var(${borderRadiusMedium});contain:content}:host([thickness='large']),:host([thickness='large']) .progress,:host([thickness='large']) .determinate{height:4px}:host([shape='square']),:host([shape='square']) .progress,:host([shape='square']) .determinate{border-radius:0}:host([validation-state='error']) .determinate{background-color:var(${colorPaletteRedBackground3})}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
10548
|
+
to right,var(${colorPaletteRedBackground2}) 0%,var(${colorPaletteRedBackground3}) 50%,var(${colorPaletteRedBackground2})
|
|
10549
|
+
)}:host([validation-state='warning']) .determinate{background-color:var(${colorPaletteDarkOrangeBackground3})}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
10550
|
+
to right,var(${colorPaletteDarkOrangeBackground2}) 0%,var(${colorPaletteDarkOrangeBackground3}) 50%,var(${colorPaletteDarkOrangeBackground2})
|
|
10551
|
+
)}:host([validation-state='success']) .determinate{background-color:var(${colorPaletteGreenBackground3})}:host([validation-state='success']) .indeterminate-indicator-1,:host([validation-state='success']) .indeterminate-indicator-2{background:linear-gradient(
|
|
10552
|
+
to right,var(${colorPaletteGreenBackground2}) 0%,var(${colorPaletteGreenBackground3}) 50%,var(${colorPaletteGreenBackground2})
|
|
10553
|
+
)}.progress{background-color:var(${colorNeutralBackground6});border-radius:var(${borderRadiusMedium});width:100%;height:2px;display:flex;align-items:center;position:relative}.determinate{background-color:var(${colorCompoundBrandBackground});border-radius:var(${borderRadiusMedium});height:2px;transition:all 0.2s ease-in-out;display:flex}.indeterminate-indicator-1{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
10554
|
+
to right,var(${colorBrandBackground2}) 0%,var(${colorCompoundBrandBackground}) 50%,var(${colorBrandBackground2})
|
|
10555
|
+
);border-radius:var(${borderRadiusMedium});animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:40%;animation:indeterminate-1 3s infinite}.indeterminate-indicator-2{position:absolute;opacity:0;height:100%;background:linear-gradient(
|
|
10556
|
+
to right,var(${colorBrandBackground2}) 0%,var(${colorCompoundBrandBackground}) 50%,var(${colorBrandBackground2})
|
|
10557
|
+
);border-radius:var(${borderRadiusMedium});animation-timing-function:cubic-bezier(0.4,0,0.6,1);width:60%;animation:indeterminate-2 3s infinite}@keyframes indeterminate-1{0%{opacity:1;transform:translateX(-100%)}70%{opacity:1;transform:translateX(300%)}70.01%{opacity:0}100%{opacity:0;transform:translateX(300%)}}@keyframes indeterminate-2{0%{opacity:0;transform:translateX(-150%)}29.99%{opacity:0}30%{opacity:1;transform:translateX(-150%)}100%{transform:translateX(166.66%);opacity:1}}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11580
10558
|
.progress{background-color:HighlightText}.determinate,:host([validation-state='success']) .determinate,:host([validation-state='warning']) .determinate,:host([validation-state='error']) .determinate,:host([validation-state='success']) ..indeterminate-indicator-1,:host([validation-state='success']) ..indeterminate-indicator-2,:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2,:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background-color:Highlight}`));
|
|
11581
10559
|
|
|
11582
10560
|
const template$b = progressTemplate({
|
|
@@ -11595,7 +10573,7 @@ class Radio extends FASTRadio {}
|
|
|
11595
10573
|
const styles$a = css`
|
|
11596
10574
|
${display("inline-grid")}
|
|
11597
10575
|
|
|
11598
|
-
:host{grid-auto-flow:column;grid-template-columns:max-content;gap
|
|
10576
|
+
:host{grid-auto-flow:column;grid-template-columns:max-content;gap:var(${spacingHorizontalXS});align-items:center;height:32px;cursor:pointer;outline:none;position:relative;user-select:none;color:blue;color:var(--state-color,var(${colorNeutralForeground3}));padding-inline-end:var(${spacingHorizontalS});--control-border-color:var(${colorNeutralStrokeAccessible});--checked-indicator-background-color:var(${colorCompoundBrandForeground1});--state-color:var(${colorNeutralForeground3})}:host([disabled]){--control-border-color:var(${colorNeutralForegroundDisabled});--checked-indicator-background-color:var(${colorNeutralForegroundDisabled});--state-color:var(${colorNeutralForegroundDisabled})}.label{cursor:pointer;font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});font-weight:var(${fontWeightRegular});line-height:var(${lineHeightBase300})}.label__hidden{display:none}.control{box-sizing:border-box;align-items:center;border:1px solid var(--control-border-color,var(${colorNeutralStrokeAccessible}));border-radius:var(${borderRadiusCircular});display:flex;height:16px;justify-content:center;margin:var(${spacingVerticalS}) var(${spacingHorizontalS});position:relative;width:16px;justify-self:center}.checked-indicator{border-radius:var(${borderRadiusCircular});height:10px;opacity:0;width:10px}:host([aria-checked='false']:hover) .control{color:var(${colorNeutralForeground2})}:host(:focus-visible){border-radius:var(${borderRadiusSmall});box-shadow:0 0 0 3px var(${colorStrokeFocus2});outline:1px solid var(${colorStrokeFocus1})}:host(:hover) .control{border-color:var(${colorNeutralStrokeAccessibleHover})}:host(:active) .control{border-color:var(${colorNeutralStrokeAccessiblePressed})}:host([aria-checked='true']) .checked-indicator{opacity:1}:host([aria-checked='true']) .control{border-color:var(--control-border-color,var(${colorNeutralStrokeAccessible}))}:host([aria-checked='true']) .checked-indicator{background-color:var(--checked-indicator-background-color,var(${colorCompoundBrandForeground1}))}:host([aria-checked='true']:hover) .control{border-color:var(${colorCompoundBrandStrokeHover})}:host([aria-checked='true']:hover) .checked-indicator{background-color:var(${colorCompoundBrandStrokeHover})}:host([aria-checked='true']:active) .control{border-color:var(${colorCompoundBrandStrokePressed})}:host([aria-checked='true']:active) .checked-indicator{background:var(${colorCompoundBrandForeground1Pressed})}:host([disabled]){color:var(${colorNeutralForegroundDisabled});pointer-events:none}:host([disabled]) .control{pointer-events:none;border-color:var(${colorNeutralForegroundDisabled})}:host([disabled]) .checked-indicator{background:var(${colorNeutralForegroundDisabled})}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11599
10577
|
:host .control{border-color:InactiveBorder}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator{background-color:Highlight;border-color:ActiveBorder}`));
|
|
11600
10578
|
|
|
11601
10579
|
const template$a = radioTemplate({
|
|
@@ -11629,7 +10607,7 @@ __decorateClass$7([attr({
|
|
|
11629
10607
|
const styles$9 = css`
|
|
11630
10608
|
${display("flex")}
|
|
11631
10609
|
|
|
11632
|
-
:host{align-items:flex-start;flex-direction:column;row-gap
|
|
10610
|
+
:host{align-items:flex-start;flex-direction:column;row-gap:var(${spacingVerticalS})}:host([disabled]) ::slotted([role='radio']){--control-border-color:var(${colorNeutralForegroundDisabled});--checked-indicator-background-color:var(${colorNeutralForegroundDisabled});--state-color:var(${colorNeutralForegroundDisabled})}::slotted([slot='label']){color:var(${colorNeutralForeground1});padding:var(${spacingVerticalS}) var(${spacingHorizontalS}) var(${spacingVerticalS}) var(${spacingHorizontalXS});font:var(${fontWeightRegular}) var(${fontSizeBase300}) / var(${lineHeightBase300}) var(${fontFamilyBase});cursor:default}.positioning-region{display:flex;flex-wrap:wrap}:host([orientation='vertical']) .positioning-region{flex-direction:column;justify-content:flex-start}:host([orientation='horizontal']) .positioning-region{flex-direction:row}:host([orientation='horizontal']) ::slotted([role='radio']){padding-inline-end:var(${spacingHorizontalS})}:host([orientation='horizontal'][stacked]) ::slotted([role='radio']){display:flex;flex-direction:column;padding-inline:var(${spacingHorizontalS});height:auto;align-items:center;justify-content:center}:host([disabled]) ::slotted([role='radio']){pointer-events:none}`;
|
|
11633
10611
|
|
|
11634
10612
|
const template$9 = radioGroupTemplate();
|
|
11635
10613
|
|
|
@@ -11692,9 +10670,9 @@ const SliderSize = {
|
|
|
11692
10670
|
};
|
|
11693
10671
|
|
|
11694
10672
|
const styles$8 = css`
|
|
11695
|
-
${display("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius
|
|
11696
|
-
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px)
|
|
11697
|
-
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color
|
|
10673
|
+
${display("inline-grid")} :host{--thumb-size:18px;--thumb-padding:3px;--thumb-translate:calc(var(--thumb-size) * -0.5 + var(--track-width) / 2);--track-overhang:-2px;--track-width:4px;--fast-slider-height:calc(var(--thumb-size) * 10);--slider-direction:90deg;align-items:center;box-sizing:border-box;outline:none;cursor:pointer;user-select:none;border-radius:var(${borderRadiusSmall});touch-action:pan-y;min-width:calc(var(--thumb-size) * 1px);width:100%}:host([size='small']){--thumb-size:14px;--track-width:2px;--thumb-padding:3px}:host([orientation='vertical']){--slider-direction:0deg;height:160px;min-height:var(--thumb-size);touch-action:pan-x;padding:8px 0;width:auto;min-width:auto}:host([disabled]:hover){cursor:initial}:host(:focus-visible){box-shadow:0 0 0 2pt var(${colorStrokeFocus2});outline:1px solid var(${colorStrokeFocus1})}.thumb-cursor:focus{outline:0}.thumb-container{position:absolute;height:var(--thumb-size);width:var(--thumb-size);transition:all 0.2s ease}.thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.5))}:host([size='small']) .thumb-container{transform:translateX(calc(var(--thumb-size) * 0.5)) translateY(calc(var(--thumb-translate) * -1.35))}:host([orientation='vertical']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.5)) translateY(calc(var(--thumb-size) * -0.5))}:host([orientation='vertical'][size='small']) .thumb-container{transform:translateX(calc(var(--thumb-translate) * -1.35)) translateY(calc(var(--thumb-size) * -0.5))}.thumb-cursor{height:var(--thumb-size);width:var(--thumb-size);background-color:var(${colorBrandBackground});border-radius:var(${borderRadiusCircular});box-shadow:inset 0 0 0 var(--thumb-padding) var(${colorNeutralBackground1}),0 0 0 1px var(${colorNeutralStroke1})}.thumb-cursor:hover{background-color:var(${colorCompoundBrandBackgroundHover})}.thumb-cursor:active{background-color:var(${colorCompoundBrandBackgroundPressed})}:host([disabled]) .thumb-cursor{background-color:var(${colorNeutralForegroundDisabled});box-shadow:inset 0 0 0 var(--thumb-padding) var(${colorNeutralBackground1}),0 0 0 1px var(${colorNeutralStrokeDisabled})}.positioning-region{position:relative;display:grid}:host([orientation='horizontal']) .positioning-region{margin:0 8px;grid-template-rows:var(--thumb-size) var(--thumb-size)}:host([orientation='vertical']) .positioning-region{margin:8px 0;height:100%;grid-template-columns:var(--thumb-size) var(--thumb-size)}.track{align-self:start;position:absolute;background-color:var(${colorNeutralStrokeAccessible});border-radius:var(${borderRadiusMedium});overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:var(${borderRadiusMedium});width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
10674
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),var(${colorNeutralBackground1}) calc(var(--step-rate) - 1px),var(${colorNeutralBackground1}) var(--step-rate)
|
|
10675
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:var(${colorNeutralBackgroundDisabled})}:host([orientation='horizontal']) .track{right:var(--track-overhang);left:var(--track-overhang);align-self:start;height:var(--track-width);grid-row:2 / auto}:host([orientation='vertical']) .track{top:var(--track-overhang);bottom:var(--track-overhang);width:var(--track-width);height:100%;grid-column:2 / auto}.track-start{background-color:var(${colorCompoundBrandBackground});position:absolute;height:100%;left:0;border-radius:var(${borderRadiusMedium})}:host([disabled]) .track-start{background-color:var(${colorNeutralForegroundDisabled})}:host(:hover) .track-start{background-color:var(${colorCompoundBrandBackgroundHover})}:host([disabled]:hover) .track-start{background-color:var(${colorNeutralForegroundDisabled})}.track-start:active{background-color:var(${colorCompoundBrandBackgroundPressed})}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11698
10676
|
.track:hover,.track:active,.track{background:WindowText}.thumb-cursor:hover,.thumb-cursor:active,.thumb-cursor{background:ButtonText}:host(:hover) .track-start,.track-start:active,.track-start{background:Highlight}`));
|
|
11699
10677
|
|
|
11700
10678
|
const template$8 = sliderTemplate({
|
|
@@ -11757,7 +10735,7 @@ const template$7 = progressRingTemplate({
|
|
|
11757
10735
|
const styles$7 = css`
|
|
11758
10736
|
${display("flex")}
|
|
11759
10737
|
|
|
11760
|
-
:host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke
|
|
10738
|
+
:host{display:flex;align-items:center;height:32px;width:32px;contain:content}:host([size='tiny']){height:20px;width:20px}:host([size='extra-small']){height:24px;width:24px}:host([size='small']){height:28px;width:28px}:host([size='large']){height:36px;width:36px}:host([size='extra-large']){height:40px;width:40px}:host([size='huge']){height:44px;width:44px}.progress{height:100%;width:100%}.background{fill:none;stroke:var(${colorBrandStroke2});stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:var(${colorBrandStroke1});fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out}:host([appearance='inverted']) .determinite{stroke:var(${colorNeutralStrokeOnBrand2})}.indeterminate-indicator-1{stroke:var(${colorBrandStroke1});fill:none;stroke-width:1.5px;stroke-linecap:round;transform-origin:50% 50%;transform:rotate(-90deg);transition:all 0.2s ease-in-out;animation:spin-infinite 3s cubic-bezier(0.53,0.21,0.29,0.67) infinite}:host([appearance='inverted']) .indeterminate-indicator-1{stroke:var(${colorNeutralStrokeOnBrand2})}@keyframes spin-infinite{0%{stroke-dasharray:0.01px 43.97px;transform:rotate(0deg)}50%{stroke-dasharray:21.99px 21.99px;transform:rotate(450deg)}100%{stroke-dasharray:0.01px 43.97px;transform:rotate(1080deg)}}`;
|
|
11761
10739
|
|
|
11762
10740
|
const definition$7 = Spinner.compose({
|
|
11763
10741
|
name: `${FluentDesignSystem.prefix}-spinner`,
|
|
@@ -11791,7 +10769,7 @@ const template$6 = switchTemplate({
|
|
|
11791
10769
|
const styles$6 = css`
|
|
11792
10770
|
${display("inline-flex")}
|
|
11793
10771
|
|
|
11794
|
-
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color
|
|
10772
|
+
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none;contain:content}:host([label-position='before']){flex-direction:row}:host([label-position='above']){flex-direction:column;align-items:flex-start}:host([disabled]) .label,:host([readonly]) .label,:host([readonly]) .switch,:host([disabled]) .switch{cursor:not-allowed}.label{position:relative;color:var(${colorNeutralForeground1});line-height:var(${lineHeightBase300});font-size:var(${fontSizeBase300});font-weight:var(${fontWeightRegular});font-family:var(${fontFamilyBase});padding:var(${spacingVerticalXS}) var(${spacingHorizontalXS});cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 var(${spacingHorizontalXXS});box-sizing:border-box;width:40px;height:20px;background-color:var(${colorTransparentBackground});border:1px solid var(${colorNeutralStrokeAccessible});border-radius:var(${borderRadiusCircular});outline:none;cursor:pointer;margin:var(${spacingVerticalS}) var(${spacingHorizontalS})}:host(:hover) .switch{background:none;border-color:var(${colorNeutralStrokeAccessibleHover})}:host(:active) .switch{border-color:var(${colorNeutralStrokeAccessiblePressed})}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid var(${colorNeutralStrokeDisabled});background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:var(${colorCompoundBrandBackground})}:host([aria-checked='true']:hover) .switch{background:var(${colorCompoundBrandBackgroundHover});border-color:var(${colorCompoundBrandBackgroundHover})}:host([aria-checked='true']:active) .switch{background:var(${colorCompoundBrandBackgroundPressed});border-color:var(${colorCompoundBrandBackgroundPressed})}:host([aria-checked='true'][disabled]) .switch{background:var(${colorNeutralBackgroundDisabled});border-color:var(${colorNeutralStrokeDisabled})}.checked-indicator{height:14px;width:14px;border-radius:50%;margin-inline-start:0;background-color:var(${colorNeutralForeground3});transition-duration:var(${durationNormal});transition-timing-function:var(${curveEasyEase});transition-property:margin-inline-start}:host([aria-checked='true']) .checked-indicator{background-color:var(${colorNeutralForegroundInverted});margin-inline-start:calc(100% - 14px)}:host([aria-checked='true']:hover) .checked-indicator{background:var(${colorNeutralForegroundInvertedHover})}:host([aria-checked='true']:active) .checked-indicator{background:var(${colorNeutralForegroundInvertedPressed})}:host(:hover) .checked-indicator{background-color:var(${colorNeutralForeground3Hover})}:host(:active) .checked-indicator{background-color:var(${colorNeutralForeground3Pressed})}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:var(${colorNeutralForegroundDisabled})}:host([aria-checked='true'][disabled]) .checked-indicator{background:var(${colorNeutralForegroundDisabled})}:host(:focus-visible){border-color:var(${colorTransparentStroke});outline:var(${strokeWidthThick}) solid var(${colorTransparentStroke});box-shadow:var(${shadow4}),0 0 0 2px var(${colorStrokeFocus2})}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11795
10773
|
.switch{border-color:InactiveBorder}:host([aria-checked='true']) .switch,:host([aria-checked='true']:active) .switch,:host([aria-checked='true']:hover) .switch{background:Highlight;border-color:Highlight}.checked-indicator,:host(:hover) .checked-indicator,:host(:active) .checked-indicator{background-color:ActiveCaption}:host([aria-checked='true']) .checked-indicator,:host([aria-checked='true']:hover) .checked-indicator,:host([aria-checked='true']:active) .checked-indicator{background-color:ButtonFace}`));
|
|
11796
10774
|
|
|
11797
10775
|
const definition$6 = Switch.compose({
|
|
@@ -11914,7 +10892,7 @@ const template$5 = tabsTemplate({});
|
|
|
11914
10892
|
const styles$5 = css`
|
|
11915
10893
|
${display("grid")}
|
|
11916
10894
|
|
|
11917
|
-
:host{box-sizing:border-box;font-family
|
|
10895
|
+
:host{box-sizing:border-box;font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});color:var(${colorNeutralForeground2});grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}:host([disabled]){cursor:not-allowed;color:var(${colorNeutralForegroundDisabled})}:host([disabled]) ::slotted(fluent-tab){pointer-events:none;cursor:not-allowed;color:var(${colorNeutralForegroundDisabled})}:host([disabled]) ::slotted(fluent-tab:after){background-color:var(${colorNeutralForegroundDisabled})}:host([disabled]) ::slotted(fluent-tab[aria-selected='true'])::after{background-color:var(${colorNeutralForegroundDisabled})}:host([disabled]) ::slotted(fluent-tab:hover):before{content:unset}:host ::slotted(fluent-tab){border-radius:var(${borderRadiusMedium})}:host ::slotted(fluent-tab[aria-selected='true'])::before{background-color:var(${colorNeutralForegroundDisabled})}.tablist{display:grid;grid-template-rows:auto auto;grid-template-columns:auto;position:relative;width:max-content;align-self:end;box-sizing:border-box}::slotted([slot='start']),::slotted([slot='end']){display:flex;align-self:center}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}.tabpanel{grid-row:2;grid-column-start:1;grid-column-end:4;position:relative}:host([orientation='vertical']){grid-template-rows:auto 1fr auto;grid-template-columns:auto 1fr}:host([orientation='vertical']) .tablist{grid-row-start:2;grid-row-end:2;display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr;position:relative;width:max-content;justify-self:end;align-self:flex-start;width:100%}:host([orientation='vertical']) .tabpanel{grid-column:2;grid-row-start:1;grid-row-end:4}:host([orientation='vertical']) ::slotted([slot='end']){grid-row:3}:host([appearance='subtle']) ::slotted(fluent-tab:hover){background-color:var(${colorSubtleBackgroundHover});color:var(${colorNeutralForeground1Hover});fill:var(${colorCompoundBrandForeground1Hover})}:host([appearance='subtle']) ::slotted(fluent-tab:active){background-color:var(${colorSubtleBackgroundPressed});fill:var(${colorSubtleBackgroundPressed});color:var(${colorNeutralForeground1})}:host([size='small']) ::slotted(fluent-tab){font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});padding:var(${spacingVerticalSNudge}) var(${spacingHorizontalSNudge})}:host([size='large']) ::slotted(fluent-tab){font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400});padding:var(${spacingVerticalL}) var(${spacingHorizontalMNudge})}:host ::slotted(fluent-tab[data-animate='true'])::after{transition-property:transform;transition-duration:var(${durationSlow});transition-timing-function:var(${curveDecelerateMax})}:host ::slotted(fluent-tab)::after{height:var(${strokeWidthThicker});margin-top:auto;transform-origin:left;transform:translateX(var(--tabIndicatorOffset)) scaleX(var(--tabIndicatorScale))}:host([orientation='vertical']) ::slotted(fluent-tab)::after{width:var(${strokeWidthThicker});height:unset;margin-top:unset;transform-origin:top;transform:translateY(var(--tabIndicatorOffset)) scaleY(var(--tabIndicatorScale))}:host ::slotted(fluent-tab)::before{height:var(${strokeWidthThicker});border-radius:var(${borderRadiusCircular});content:'';inset:0;position:absolute;margin-top:auto}:host([orientation='vertical']) ::slotted(fluent-tab)::before{height:unset;width:var(${strokeWidthThicker});margin-inline-end:auto;transform-origin:top}:host ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:var(${strokeWidthThicker});margin-top:auto;transform-origin:left}:host([orientation='vertical']) ::slotted(fluent-tab[aria-selected='false']:hover)::after{height:unset;margin-inline-end:auto;transform-origin:top;width:var(${strokeWidthThicker})}:host([orientation='vertical']) ::slotted(fluent-tab){align-items:flex-start;grid-column:2;padding-top:var(${spacingVerticalSNudge});padding-bottom:var(${spacingVerticalSNudge})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab){padding-top:var(${spacingVerticalXXS});padding-bottom:var(${spacingVerticalXXS})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab){padding-top:var(${spacingVerticalS});padding-bottom:var(${spacingVerticalS})}:host([size='small']) ::slotted(fluent-tab)::after,:host([size='small']) ::slotted(fluent-tab)::before,:host([size='small']) ::slotted(fluent-tab:hover)::after{right:var(${spacingHorizontalSNudge});left:var(${spacingHorizontalSNudge})}:host ::slotted(fluent-tab)::after,:host ::slotted(fluent-tab)::before,:host ::slotted(fluent-tab:hover)::after{right:var(${spacingHorizontalMNudge});left:var(${spacingHorizontalMNudge})}:host([size='large']) ::slotted(fluent-tab)::after,:host([size='large']) ::slotted(fluent-tab)::before,:host([size='large']) ::slotted(fluent-tab:hover)::after{right:var(${spacingHorizontalMNudge});left:var(${spacingHorizontalMNudge})}:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='small']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${spacingVerticalSNudge});bottom:var(${spacingVerticalSNudge})}:host([orientation='vertical']) ::slotted(fluent-tab)::after,:host([orientation='vertical']) ::slotted(fluent-tab)::before,:host([orientation='vertical']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${spacingVerticalS});bottom:var(${spacingVerticalS})}:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::after,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab)::before,:host([orientation='vertical'][size='large']) ::slotted(fluent-tab:hover)::after{right:0;left:0;top:var(${spacingVerticalMNudge});bottom:var(${spacingVerticalMNudge})}`;
|
|
11918
10896
|
|
|
11919
10897
|
const definition$5 = Tabs.compose({
|
|
11920
10898
|
name: `${FluentDesignSystem.prefix}-tabs`,
|
|
@@ -11942,7 +10920,7 @@ const template$4 = tabTemplate({});
|
|
|
11942
10920
|
const styles$4 = css`
|
|
11943
10921
|
${display("inline-flex")}
|
|
11944
10922
|
|
|
11945
|
-
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height
|
|
10923
|
+
:host{position:relative;flex-direction:column;cursor:pointer;box-sizing:border-box;justify-content:center;line-height:var(${lineHeightBase300});font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});color:var(${colorNeutralForeground2});fill:currentcolor;grid-row:1;padding:var(${spacingHorizontalM}) var(${spacingHorizontalMNudge});border-radius:var(${borderRadiusMedium})}:host .tab-content{display:inline-flex;flex-direction:column;padding:0 2px}:host([aria-selected='true']){color:var(${colorNeutralForeground1});font-weight:var(${fontWeightSemibold})}:host .tab-content::after{content:var(--textContent);visibility:hidden;height:0;line-height:var(${lineHeightBase300});font-weight:var(${fontWeightSemibold})}:host([aria-selected='true'])::after{background-color:var(${colorCompoundBrandStroke});border-radius:var(${borderRadiusCircular});content:'';inset:0;position:absolute;z-index:2}:host([aria-selected='false']:hover)::after{background-color:var(${colorNeutralStroke1Hover});border-radius:var(${borderRadiusCircular});content:'';inset:0;position:absolute;z-index:1}:host([aria-selected='true'][disabled])::after{background-color:var(${colorNeutralForegroundDisabled})}::slotted([slot='start']),::slotted([slot='end']){display:flex}::slotted([slot='start']){margin-inline-end:11px}::slotted([slot='end']){margin-inline-start:11px}:host([disabled]){cursor:not-allowed;fill:var(${colorNeutralForegroundDisabled});color:var(${colorNeutralForegroundDisabled})}:host([disabled]:hover)::after{background-color:unset}:host(:focus){outline:none}:host(:focus-visible){border-radius:var(${borderRadiusSmall});box-shadow:0 0 0 3px var(${colorStrokeFocus2});outline:1px solid var(${colorStrokeFocus1})}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
11946
10924
|
:host([aria-selected='true'])::after{background-color:Highlight}`));
|
|
11947
10925
|
|
|
11948
10926
|
const definition$4 = Tab.compose({
|
|
@@ -11958,7 +10936,7 @@ const template$3 = tabPanelTemplate();
|
|
|
11958
10936
|
const styles$3 = css`
|
|
11959
10937
|
${display("block")}
|
|
11960
10938
|
|
|
11961
|
-
:host{box-sizing:border-box;padding
|
|
10939
|
+
:host{box-sizing:border-box;padding:var(${spacingHorizontalM}) var(${spacingHorizontalMNudge})}`;
|
|
11962
10940
|
|
|
11963
10941
|
const definition$3 = TabPanel.compose({
|
|
11964
10942
|
name: `${FluentDesignSystem.prefix}-tab-panel`,
|
|
@@ -12043,7 +11021,7 @@ const template$2 = html`<slot></slot>`;
|
|
|
12043
11021
|
const styles$2 = css`
|
|
12044
11022
|
${display("inline")}
|
|
12045
11023
|
|
|
12046
|
-
:host{contain:content}::slotted(*){font-family
|
|
11024
|
+
:host{contain:content}::slotted(*){font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});line-height:var(${lineHeightBase300});font-weight:var(${fontWeightRegular});text-align:start;white-space:normal;overflow:visible;text-overflow:clip;margin:0;display:inline}:host([nowrap]) ::slotted(*){white-space:nowrap;overflow:hidden}:host([truncate]) ::slotted(*){text-overflow:ellipsis}:host([block]),:host([block]) ::slotted(*){display:block}:host([italic]) ::slotted(*){font-style:italic}:host([underline]) ::slotted(*){text-decoration-line:underline}:host([strikethrough]) ::slotted(*){text-decoration-line:line-through}:host([underline][strikethrough]) ::slotted(*){text-decoration-line:line-through underline}:host([size='100']) ::slotted(*){font-size:var(${fontSizeBase100});line-height:var(${lineHeightBase100})}:host([size='200']) ::slotted(*){font-size:var(${fontSizeBase200});line-height:var(${lineHeightBase200})}:host([size='400']) ::slotted(*){font-size:var(${fontSizeBase400});line-height:var(${lineHeightBase400})}:host([size='500']) ::slotted(*){font-size:var(${fontSizeBase500});line-height:var(${lineHeightBase500})}:host([size='600']) ::slotted(*){font-size:var(${fontSizeBase600});line-height:var(${lineHeightBase600})}:host([size='700']) ::slotted(*){font-size:var(${fontSizeHero700});line-height:var(${lineHeightHero700})}:host([size='800']) ::slotted(*){font-size:var(${fontSizeHero800});line-height:var(${lineHeightHero800})}:host([size='900']) ::slotted(*){font-size:var(${fontSizeHero900});line-height:var(${lineHeightHero900})}:host([size='1000']) ::slotted(*){font-size:var(${fontSizeHero1000});line-height:var(${lineHeightHero1000})}:host([font='monospace']) ::slotted(*){font-family:var(${fontFamilyMonospace})}:host([font='numeric']) ::slotted(*){font-family:var(${fontFamilyNumeric})}:host([weight='medium']) ::slotted(*){font-weight:var(${fontWeightMedium})}:host([weight='semibold']) ::slotted(*){font-weight:var(${fontWeightSemibold})}:host([weight='bold']) ::slotted(*){font-weight:var(${fontWeightBold})}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`;
|
|
12047
11025
|
|
|
12048
11026
|
const definition$2 = Text.compose({
|
|
12049
11027
|
name: `${FluentDesignSystem.prefix}-text`,
|
|
@@ -12082,7 +11060,7 @@ const template$1 = textFieldTemplate();
|
|
|
12082
11060
|
const styles$1 = css`
|
|
12083
11061
|
${display("block")}
|
|
12084
11062
|
|
|
12085
|
-
:host{font-family
|
|
11063
|
+
:host{font-family:var(${fontFamilyBase});font-size:var(${fontSizeBase300});font-weight:var(${fontWeightRegular});line-height:var(${lineHeightBase300});max-width:400px}.label{display:flex;color:var(${colorNeutralForeground1});padding-bottom:var(${spacingVerticalXS});flex-shrink:0;padding-inline-end:var(${spacingHorizontalXS})}.label__hidden{display:none}.root{position:relative;box-sizing:border-box;height:32px;display:inline-flex;align-items:center;flex-direction:row;width:100%;padding:0 var(${spacingHorizontalMNudge});border:var(${strokeWidthThin}) solid var(${colorNeutralStroke1});border-bottom-color:var(${colorNeutralStrokeAccessible});border-radius:var(${borderRadiusMedium});gap:var(${spacingHorizontalXXS})}.root::after{box-sizing:border-box;content:'';position:absolute;left:-1px;bottom:0px;right:-1px;height:max(2px,var(${borderRadiusMedium}));border-radius:0 0 var(${borderRadiusMedium}) var(${borderRadiusMedium});border-bottom:2px solid var(${colorCompoundBrandStroke});clip-path:inset(calc(100% - 2px) 1px 0px);transform:scaleX(0);transition-property:transform;transition-duration:var(${durationUltraFast});transition-delay:var(${curveAccelerateMid})}.control{width:100%;height:100%;box-sizing:border-box;color:var(${colorNeutralForeground1});border-radius:var(${borderRadiusMedium});background:var(${colorTransparentBackground});font-family:var(${fontFamilyBase});font-weight:var(${fontWeightRegular});font-size:var(${fontSizeBase300});border:none;background:transparent;vertical-align:center}.control:focus-visible{outline:0;border:0}.control::placeholder{color:var(${colorNeutralForeground4})}:host ::slotted([slot='start']),:host ::slotted([slot='end']){display:flex;align-items:center;justify-content:center;color:var(${colorNeutralForeground3});font-size:var(${fontSizeBase500})}:host ::slotted([slot='start']){padding-right:var(${spacingHorizontalXXS})}:host ::slotted([slot='end']){padding-left:var(${spacingHorizontalXXS});gap:var(${spacingHorizontalXS})}:host(:hover) .root{border-color:var(${colorNeutralStroke1Hover});border-bottom-color:var(${colorNeutralStrokeAccessibleHover})}:host(:active) .root{border-color:var(${colorNeutralStroke1Pressed})}:host(:focus-within) .root{outline:transparent solid 2px;border-bottom:0}:host(:focus-within) .root::after{transform:scaleX(1);transition-property:transform;transition-duration:var(${durationNormal});transition-delay:var(${curveDecelerateMid})}:host(:focus-within:active) .root:after{border-bottom-color:var(${colorCompoundBrandStrokePressed})}:host([appearance='outline']:focus-within) .root{border:var(${strokeWidthThin}) solid var(${colorNeutralStroke1})}:host(:focus-within) .control{color:var(${colorNeutralForeground1})}:host([disabled]) .root{background:var(${colorTransparentBackground});border:var(${strokeWidthThin}) solid var(${colorNeutralStrokeDisabled})}:host([disabled]) .control::placeholder,:host([disabled]) ::slotted([slot='start']),:host([disabled]) ::slotted([slot='end']){color:var(${colorNeutralForegroundDisabled})}::selection{color:var(${colorNeutralForegroundInverted});background-color:var(${colorNeutralBackgroundInverted})}:host([control-size='small']) .control{font-size:var(${fontSizeBase200});font-weight:var(${fontWeightRegular});line-height:var(${lineHeightBase200})}:host([control-size='small']) .root{height:24px;gap:var(${spacingHorizontalXXS});padding:0 var(${spacingHorizontalSNudge})}:host([control-size='small']) ::slotted([slot='start']),:host([control-size='small']) ::slotted([slot='end']){font-size:var(${fontSizeBase400})}:host([control-size='large']) .control{font-size:var(${fontSizeBase400});font-weight:var(${fontWeightRegular});line-height:var(${lineHeightBase400})}:host([control-size='large']) .root{height:40px;gap:var(${spacingHorizontalS});padding:0 var(${spacingHorizontalM})}:host([control-size='large']) ::slotted([slot='start']),:host([control-size='large']) ::slotted([slot='end']){font-size:var(${fontSizeBase600})}:host([appearance='underline']) .root{background:var(${colorTransparentBackground});border:0;border-radius:0;border-bottom:var(${strokeWidthThin}) solid var(${colorNeutralStrokeAccessible})}:host([appearance='underline']:hover) .root{border-bottom-color:var(${colorNeutralStrokeAccessibleHover})}:host([appearance='underline']:active) .root{border-bottom-color:var(${colorNeutralStrokeAccessiblePressed})}:host([appearance='underline']:focus-within) .root{border:0;border-bottom-color:var(${colorNeutralStrokeAccessiblePressed})}:host([appearance='underline'][disabled]) .root{border-bottom-color:var(${colorNeutralStrokeDisabled})}:host([appearance='filled-lighter']) .root,:host([appearance='filled-darker']) .root{border:var(${strokeWidthThin}) solid var(${colorTransparentStroke});box-shadow:var(${shadow2})}:host([appearance='filled-lighter']) .root{background:var(${colorNeutralBackground1})}:host([appearance='filled-darker']) .root{background:var(${colorNeutralBackground3})}:host([appearance='filled-lighter']:hover) .root,:host([appearance='filled-darker']:hover) .root{border-color:var(${colorTransparentStrokeInteractive})}:host([appearance='filled-lighter']:active) .root,:host([appearance='filled-darker']:active) .root{border-color:var(${colorTransparentStrokeInteractive});background:var(${colorNeutralBackground3})}`;
|
|
12086
11064
|
|
|
12087
11065
|
const definition$1 = TextInput.compose({
|
|
12088
11066
|
name: `${FluentDesignSystem.prefix}-text-input`,
|
|
@@ -12167,7 +11145,7 @@ const template = buttonTemplate$1();
|
|
|
12167
11145
|
const styles = css`
|
|
12168
11146
|
${styles$p}
|
|
12169
11147
|
|
|
12170
|
-
:host([aria-pressed="true"]) .control{border-color
|
|
11148
|
+
:host([aria-pressed="true"]) .control{border-color:var(${colorNeutralStroke1});background-color:var(${colorNeutralBackground1Selected});color:var(${colorNeutralForeground1});border-width:var(${strokeWidthThin})}:host([aria-pressed='true']:hover) .control{border-color:var(${colorNeutralStroke1Hover});background-color:var(${colorNeutralBackground1Hover})}:host([aria-pressed='true']:active) .control{border-color:var(${colorNeutralStroke1Pressed});background-color:var(${colorNeutralBackground1Pressed})}:host([aria-pressed='true'][appearance='primary']) .control{border-color:transparent;background-color:var(${colorBrandBackgroundSelected});color:var(${colorNeutralForegroundOnBrand})}:host([aria-pressed='true'][appearance='primary']:hover) .control{background-color:var(${colorBrandBackgroundHover})}:host([aria-pressed='true'][appearance='primary']:active) .control{background-color:var(${colorBrandBackgroundPressed})}:host([aria-pressed='true'][appearance='subtle']) .control{border-color:transparent;background-color:var(${colorSubtleBackgroundSelected});color:var(${colorNeutralForeground2Selected})}:host([aria-pressed='true'][appearance='subtle']:hover) .control{background-color:var(${colorSubtleBackgroundHover});color:var(${colorNeutralForeground2Hover})}:host([aria-pressed='true'][appearance='subtle']:active) .control{background-color:var(${colorSubtleBackgroundPressed});color:var(${colorNeutralForeground2Pressed})}:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background-color:var(${colorTransparentBackgroundSelected})}:host([aria-pressed='true'][appearance='outline']:hover) .control,:host([aria-pressed='true'][appearance='transparent']:hover) .control{background-color:var(${colorTransparentBackgroundHover})}:host([aria-pressed='true'][appearance='outline']:active) .control,:host([aria-pressed='true'][appearance='transparent']:active) .control{background-color:var(${colorTransparentBackgroundPressed})}:host([aria-pressed='true'][appearance='transparent']) .control{border-color:transparent;color:var(${colorNeutralForeground2BrandSelected})}:host([aria-pressed='true'][appearance='transparent']:hover) .control{color:var(${colorNeutralForeground2BrandHover})}:host([aria-pressed='true'][appearance='transparent']:active) .control{color:var(${colorNeutralForeground2BrandPressed})}`.withBehaviors(forcedColorsStylesheetBehavior(css`
|
|
12171
11149
|
:host([aria-pressed='true']) .control,:host([aria-pressed='true'][appearance='primary']) .control,:host([aria-pressed='true'][appearance='subtle']) .control,:host([aria-pressed='true'][appearance='outline']) .control,:host([aria-pressed='true'][appearance='transparent']) .control,:host([aria-pressed='true'][appearance='transparent']) .control{background:SelectedItem;color:SelectedItemText}`));
|
|
12172
11150
|
|
|
12173
11151
|
const definition = ToggleButton.compose({
|
|
@@ -12182,12 +11160,12 @@ const definition = ToggleButton.compose({
|
|
|
12182
11160
|
const tokenNames = Object.keys(tokens);
|
|
12183
11161
|
const setTheme = theme => {
|
|
12184
11162
|
for (const t of tokenNames) {
|
|
12185
|
-
tokens[t]
|
|
11163
|
+
document.body.style.setProperty(tokens[t], theme[t]);
|
|
12186
11164
|
}
|
|
12187
11165
|
};
|
|
12188
11166
|
const setThemeFor = (element, theme) => {
|
|
12189
11167
|
for (const t of tokenNames) {
|
|
12190
|
-
tokens[t]
|
|
11168
|
+
element.style.setProperty(tokens[t], theme[t]);
|
|
12191
11169
|
}
|
|
12192
11170
|
};
|
|
12193
11171
|
|