@fluentui/web-components 3.0.0-alpha.11 → 3.0.0-alpha.12
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.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/progress-bar/progress-bar.styles.d.ts +1 -1
- package/dist/dts/slider/define.d.ts +1 -0
- package/dist/dts/slider/index.d.ts +5 -0
- package/dist/dts/slider/slider.d.ts +24 -0
- package/dist/dts/slider/slider.definition.d.ts +10 -0
- package/dist/dts/slider/slider.options.d.ts +15 -0
- package/dist/dts/slider/slider.styles.d.ts +4 -0
- package/dist/dts/slider/slider.template.d.ts +3 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -1
- package/dist/esm/slider/define.js +4 -0
- package/dist/esm/slider/define.js.map +1 -0
- package/dist/esm/slider/index.js +6 -0
- package/dist/esm/slider/index.js.map +1 -0
- package/dist/esm/slider/slider.definition.js +18 -0
- package/dist/esm/slider/slider.definition.js.map +1 -0
- package/dist/esm/slider/slider.js +59 -0
- package/dist/esm/slider/slider.js.map +1 -0
- package/dist/esm/slider/slider.options.js +10 -0
- package/dist/esm/slider/slider.options.js.map +1 -0
- package/dist/esm/slider/slider.styles.js +186 -0
- package/dist/esm/slider/slider.styles.js.map +1 -0
- package/dist/esm/slider/slider.template.js +5 -0
- package/dist/esm/slider/slider.template.js.map +1 -0
- package/dist/fluent-web-components.api.json +348 -1
- package/dist/web-components.d.ts +60 -1
- package/dist/web-components.js +598 -40
- package/dist/web-components.min.js +131 -127
- package/docs/api-report.md +33 -0
- package/package.json +8 -4
package/dist/web-components.js
CHANGED
|
@@ -3314,12 +3314,23 @@ const Orientation = {
|
|
|
3314
3314
|
* String values for use with KeyboardEvent.key
|
|
3315
3315
|
*/
|
|
3316
3316
|
const keyArrowDown = "ArrowDown";
|
|
3317
|
+
const keyArrowLeft = "ArrowLeft";
|
|
3318
|
+
const keyArrowRight = "ArrowRight";
|
|
3317
3319
|
const keyArrowUp = "ArrowUp";
|
|
3318
3320
|
const keyEnd = "End";
|
|
3319
3321
|
const keyEnter = "Enter";
|
|
3320
3322
|
const keyHome = "Home";
|
|
3321
3323
|
const keySpace = " ";
|
|
3322
3324
|
|
|
3325
|
+
/**
|
|
3326
|
+
* Expose ltr and rtl strings
|
|
3327
|
+
*/
|
|
3328
|
+
var Direction;
|
|
3329
|
+
(function (Direction) {
|
|
3330
|
+
Direction["ltr"] = "ltr";
|
|
3331
|
+
Direction["rtl"] = "rtl";
|
|
3332
|
+
})(Direction || (Direction = {}));
|
|
3333
|
+
|
|
3323
3334
|
/**
|
|
3324
3335
|
* This method keeps a given value within the bounds of a min and max value. If the value
|
|
3325
3336
|
* is larger than the max, the minimum value will be returned. If the value is smaller than the minimum,
|
|
@@ -3333,6 +3344,13 @@ function wrapInBounds(min, max, value) {
|
|
|
3333
3344
|
}
|
|
3334
3345
|
return value;
|
|
3335
3346
|
}
|
|
3347
|
+
/**
|
|
3348
|
+
* Ensures that a value is between a min and max value. If value is lower than min, min will be returned.
|
|
3349
|
+
* If value is greater than max, max will be returned.
|
|
3350
|
+
*/
|
|
3351
|
+
function limit(min, max, value) {
|
|
3352
|
+
return Math.min(Math.max(value, min), max);
|
|
3353
|
+
}
|
|
3336
3354
|
|
|
3337
3355
|
let uniqueIdCounter = 0;
|
|
3338
3356
|
/**
|
|
@@ -3672,6 +3690,19 @@ function accordionTemplate() {
|
|
|
3672
3690
|
})}></slot></template>`;
|
|
3673
3691
|
}
|
|
3674
3692
|
|
|
3693
|
+
/**
|
|
3694
|
+
* Determines the current localization direction of an element.
|
|
3695
|
+
*
|
|
3696
|
+
* @param rootNode - the HTMLElement to begin the query from, usually "this" when used in a component controller
|
|
3697
|
+
* @returns the localization direction of the element
|
|
3698
|
+
*
|
|
3699
|
+
* @public
|
|
3700
|
+
*/
|
|
3701
|
+
const getDirection = rootNode => {
|
|
3702
|
+
var _a;
|
|
3703
|
+
return ((_a = rootNode.closest("[dir]")) === null || _a === void 0 ? void 0 : _a.dir) === "rtl" ? Direction.rtl : Direction.ltr;
|
|
3704
|
+
};
|
|
3705
|
+
|
|
3675
3706
|
const proxySlotName = "form-associated-proxy";
|
|
3676
3707
|
const ElementInternalsKey = "ElementInternals";
|
|
3677
3708
|
/**
|
|
@@ -5174,6 +5205,451 @@ function progressTemplate(options = {}) {
|
|
|
5174
5205
|
return html`<template role="progressbar" aria-valuenow="${x => x.value}" aria-valuemin="${x => x.min}" aria-valuemax="${x => x.max}">${when(x => typeof x.value === "number", html`<div class="progress" part="progress" slot="determinate"><div class="determinate" part="determinate" style="width: ${x => x.percentComplete}%"></div></div>`)} ${when(x => typeof x.value !== "number", html`<div class="progress" part="progress" slot="indeterminate"><slot name="indeterminate">${staticallyCompose(options.indeterminateIndicator1)} ${staticallyCompose(options.indeterminateIndicator2)}</slot></div>`)}</template>`;
|
|
5175
5206
|
}
|
|
5176
5207
|
|
|
5208
|
+
/**
|
|
5209
|
+
* The orientation of a {@link @microsoft/fast-foundation#(FASTSlider:class)}.
|
|
5210
|
+
* @public
|
|
5211
|
+
*/
|
|
5212
|
+
const SliderOrientation = Orientation;
|
|
5213
|
+
/**
|
|
5214
|
+
* The selection modes of a {@link @microsoft/fast-foundation#(FASTSlider:class)}.
|
|
5215
|
+
* @public
|
|
5216
|
+
*/
|
|
5217
|
+
const SliderMode = {
|
|
5218
|
+
singleValue: "single-value"
|
|
5219
|
+
};
|
|
5220
|
+
|
|
5221
|
+
/**
|
|
5222
|
+
* Converts a pixel coordinate on the track to a percent of the track's range
|
|
5223
|
+
*/
|
|
5224
|
+
function convertPixelToPercent(pixelPos, minPosition, maxPosition, direction) {
|
|
5225
|
+
let pct = limit(0, 1, (pixelPos - minPosition) / (maxPosition - minPosition));
|
|
5226
|
+
if (direction === Direction.rtl) {
|
|
5227
|
+
pct = 1 - pct;
|
|
5228
|
+
}
|
|
5229
|
+
return pct;
|
|
5230
|
+
}
|
|
5231
|
+
|
|
5232
|
+
class _Slider extends FASTElement {}
|
|
5233
|
+
/**
|
|
5234
|
+
* A form-associated base class for the {@link @microsoft/fast-foundation#(Slider:class)} component.
|
|
5235
|
+
*
|
|
5236
|
+
* @beta
|
|
5237
|
+
*/
|
|
5238
|
+
class FormAssociatedSlider extends FormAssociated(_Slider) {
|
|
5239
|
+
constructor() {
|
|
5240
|
+
super(...arguments);
|
|
5241
|
+
this.proxy = document.createElement("input");
|
|
5242
|
+
}
|
|
5243
|
+
}
|
|
5244
|
+
|
|
5245
|
+
/**
|
|
5246
|
+
* A Slider Custom HTML Element.
|
|
5247
|
+
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#slider | ARIA slider }.
|
|
5248
|
+
*
|
|
5249
|
+
* @slot track - The track of the slider
|
|
5250
|
+
* @slot track-start - The track-start visual indicator
|
|
5251
|
+
* @slot thumb - The slider thumb
|
|
5252
|
+
* @slot - The default slot for labels
|
|
5253
|
+
* @csspart positioning-region - The region used to position the elements of the slider
|
|
5254
|
+
* @csspart track-container - The region containing the track elements
|
|
5255
|
+
* @csspart track-start - The element wrapping the track start slot
|
|
5256
|
+
* @csspart thumb-container - The thumb container element which is programatically positioned
|
|
5257
|
+
* @fires change - Fires a custom 'change' event when the slider value changes
|
|
5258
|
+
*
|
|
5259
|
+
* @public
|
|
5260
|
+
*/
|
|
5261
|
+
class FASTSlider extends FormAssociatedSlider {
|
|
5262
|
+
constructor() {
|
|
5263
|
+
super(...arguments);
|
|
5264
|
+
/**
|
|
5265
|
+
* @internal
|
|
5266
|
+
*/
|
|
5267
|
+
this.direction = Direction.ltr;
|
|
5268
|
+
/**
|
|
5269
|
+
* @internal
|
|
5270
|
+
*/
|
|
5271
|
+
this.isDragging = false;
|
|
5272
|
+
/**
|
|
5273
|
+
* @internal
|
|
5274
|
+
*/
|
|
5275
|
+
this.trackWidth = 0;
|
|
5276
|
+
/**
|
|
5277
|
+
* @internal
|
|
5278
|
+
*/
|
|
5279
|
+
this.trackMinWidth = 0;
|
|
5280
|
+
/**
|
|
5281
|
+
* @internal
|
|
5282
|
+
*/
|
|
5283
|
+
this.trackHeight = 0;
|
|
5284
|
+
/**
|
|
5285
|
+
* @internal
|
|
5286
|
+
*/
|
|
5287
|
+
this.trackLeft = 0;
|
|
5288
|
+
/**
|
|
5289
|
+
* @internal
|
|
5290
|
+
*/
|
|
5291
|
+
this.trackMinHeight = 0;
|
|
5292
|
+
/**
|
|
5293
|
+
* Custom function that generates a string for the component's "aria-valuetext" attribute based on the current value.
|
|
5294
|
+
*
|
|
5295
|
+
* @public
|
|
5296
|
+
*/
|
|
5297
|
+
this.valueTextFormatter = () => null;
|
|
5298
|
+
/**
|
|
5299
|
+
* The minimum allowed value.
|
|
5300
|
+
*
|
|
5301
|
+
* @defaultValue - 0
|
|
5302
|
+
* @public
|
|
5303
|
+
* @remarks
|
|
5304
|
+
* HTML Attribute: min
|
|
5305
|
+
*/
|
|
5306
|
+
this.min = 0; // Map to proxy element.
|
|
5307
|
+
/**
|
|
5308
|
+
* The maximum allowed value.
|
|
5309
|
+
*
|
|
5310
|
+
* @defaultValue - 10
|
|
5311
|
+
* @public
|
|
5312
|
+
* @remarks
|
|
5313
|
+
* HTML Attribute: max
|
|
5314
|
+
*/
|
|
5315
|
+
this.max = 10; // Map to proxy element.
|
|
5316
|
+
/**
|
|
5317
|
+
* The orientation of the slider.
|
|
5318
|
+
*
|
|
5319
|
+
* @public
|
|
5320
|
+
* @remarks
|
|
5321
|
+
* HTML Attribute: orientation
|
|
5322
|
+
*/
|
|
5323
|
+
this.orientation = Orientation.horizontal;
|
|
5324
|
+
/**
|
|
5325
|
+
* The selection mode.
|
|
5326
|
+
*
|
|
5327
|
+
* @public
|
|
5328
|
+
* @remarks
|
|
5329
|
+
* HTML Attribute: mode
|
|
5330
|
+
*/
|
|
5331
|
+
this.mode = SliderMode.singleValue;
|
|
5332
|
+
this.keypressHandler = e => {
|
|
5333
|
+
if (this.readOnly || this.disabled) {
|
|
5334
|
+
return;
|
|
5335
|
+
}
|
|
5336
|
+
if (e.key === keyHome) {
|
|
5337
|
+
e.preventDefault();
|
|
5338
|
+
this.direction !== Direction.rtl && this.orientation !== Orientation.vertical ? this.value = `${this.min}` : this.value = `${this.max}`;
|
|
5339
|
+
} else if (e.key === keyEnd) {
|
|
5340
|
+
e.preventDefault();
|
|
5341
|
+
this.direction !== Direction.rtl && this.orientation !== Orientation.vertical ? this.value = `${this.max}` : this.value = `${this.min}`;
|
|
5342
|
+
} else if (!e.shiftKey) {
|
|
5343
|
+
switch (e.key) {
|
|
5344
|
+
case keyArrowRight:
|
|
5345
|
+
case keyArrowUp:
|
|
5346
|
+
e.preventDefault();
|
|
5347
|
+
this.increment();
|
|
5348
|
+
break;
|
|
5349
|
+
case keyArrowLeft:
|
|
5350
|
+
case keyArrowDown:
|
|
5351
|
+
e.preventDefault();
|
|
5352
|
+
this.decrement();
|
|
5353
|
+
break;
|
|
5354
|
+
}
|
|
5355
|
+
}
|
|
5356
|
+
};
|
|
5357
|
+
this.setupTrackConstraints = () => {
|
|
5358
|
+
const clientRect = this.track.getBoundingClientRect();
|
|
5359
|
+
this.trackWidth = this.track.clientWidth;
|
|
5360
|
+
this.trackMinWidth = this.track.clientLeft;
|
|
5361
|
+
this.trackHeight = clientRect.top;
|
|
5362
|
+
this.trackMinHeight = clientRect.bottom;
|
|
5363
|
+
this.trackLeft = this.getBoundingClientRect().left;
|
|
5364
|
+
if (this.trackWidth === 0) {
|
|
5365
|
+
this.trackWidth = 1;
|
|
5366
|
+
}
|
|
5367
|
+
};
|
|
5368
|
+
this.setupListeners = (remove = false) => {
|
|
5369
|
+
const eventAction = `${remove ? "remove" : "add"}EventListener`;
|
|
5370
|
+
this[eventAction]("keydown", this.keypressHandler);
|
|
5371
|
+
this[eventAction]("mousedown", this.handleMouseDown);
|
|
5372
|
+
this.thumb[eventAction]("mousedown", this.handleThumbMouseDown, {
|
|
5373
|
+
passive: true
|
|
5374
|
+
});
|
|
5375
|
+
this.thumb[eventAction]("touchstart", this.handleThumbMouseDown, {
|
|
5376
|
+
passive: true
|
|
5377
|
+
});
|
|
5378
|
+
// removes handlers attached by mousedown handlers
|
|
5379
|
+
if (remove) {
|
|
5380
|
+
this.handleMouseDown(null);
|
|
5381
|
+
this.handleThumbMouseDown(null);
|
|
5382
|
+
}
|
|
5383
|
+
};
|
|
5384
|
+
/**
|
|
5385
|
+
* @internal
|
|
5386
|
+
*/
|
|
5387
|
+
this.initialValue = "";
|
|
5388
|
+
/**
|
|
5389
|
+
* Handle mouse moves during a thumb drag operation
|
|
5390
|
+
* If the event handler is null it removes the events
|
|
5391
|
+
*/
|
|
5392
|
+
this.handleThumbMouseDown = event => {
|
|
5393
|
+
const eventAction = `${event !== null ? "add" : "remove"}EventListener`;
|
|
5394
|
+
window[eventAction]("mouseup", this.handleWindowMouseUp);
|
|
5395
|
+
window[eventAction]("mousemove", this.handleMouseMove, {
|
|
5396
|
+
passive: true
|
|
5397
|
+
});
|
|
5398
|
+
window[eventAction]("touchmove", this.handleMouseMove, {
|
|
5399
|
+
passive: true
|
|
5400
|
+
});
|
|
5401
|
+
window[eventAction]("touchend", this.handleWindowMouseUp);
|
|
5402
|
+
this.isDragging = event !== null;
|
|
5403
|
+
};
|
|
5404
|
+
/**
|
|
5405
|
+
* Handle mouse moves during a thumb drag operation
|
|
5406
|
+
*/
|
|
5407
|
+
this.handleMouseMove = e => {
|
|
5408
|
+
if (this.readOnly || this.disabled || e.defaultPrevented) {
|
|
5409
|
+
return;
|
|
5410
|
+
}
|
|
5411
|
+
// update the value based on current position
|
|
5412
|
+
const sourceEvent = window.TouchEvent && e instanceof TouchEvent ? e.touches[0] : e;
|
|
5413
|
+
const eventValue = this.orientation === Orientation.horizontal ? sourceEvent.pageX - document.documentElement.scrollLeft - this.trackLeft : sourceEvent.pageY - document.documentElement.scrollTop;
|
|
5414
|
+
this.value = `${this.calculateNewValue(eventValue)}`;
|
|
5415
|
+
};
|
|
5416
|
+
/**
|
|
5417
|
+
* Handle a window mouse up during a drag operation
|
|
5418
|
+
*/
|
|
5419
|
+
this.handleWindowMouseUp = event => {
|
|
5420
|
+
this.stopDragging();
|
|
5421
|
+
};
|
|
5422
|
+
this.stopDragging = () => {
|
|
5423
|
+
this.isDragging = false;
|
|
5424
|
+
this.handleMouseDown(null);
|
|
5425
|
+
this.handleThumbMouseDown(null);
|
|
5426
|
+
};
|
|
5427
|
+
/**
|
|
5428
|
+
*
|
|
5429
|
+
* @param e - MouseEvent or null. If there is no event handler it will remove the events
|
|
5430
|
+
*/
|
|
5431
|
+
this.handleMouseDown = e => {
|
|
5432
|
+
const eventAction = `${e !== null ? "add" : "remove"}EventListener`;
|
|
5433
|
+
if (e === null || !this.disabled && !this.readOnly) {
|
|
5434
|
+
window[eventAction]("mouseup", this.handleWindowMouseUp);
|
|
5435
|
+
window.document[eventAction]("mouseleave", this.handleWindowMouseUp);
|
|
5436
|
+
window[eventAction]("mousemove", this.handleMouseMove);
|
|
5437
|
+
if (e) {
|
|
5438
|
+
this.setupTrackConstraints();
|
|
5439
|
+
const controlValue = this.orientation === Orientation.horizontal ? e.pageX - document.documentElement.scrollLeft - this.trackLeft : e.pageY - document.documentElement.scrollTop;
|
|
5440
|
+
this.value = `${this.calculateNewValue(controlValue)}`;
|
|
5441
|
+
}
|
|
5442
|
+
}
|
|
5443
|
+
};
|
|
5444
|
+
}
|
|
5445
|
+
readOnlyChanged() {
|
|
5446
|
+
if (this.proxy instanceof HTMLInputElement) {
|
|
5447
|
+
this.proxy.readOnly = this.readOnly;
|
|
5448
|
+
}
|
|
5449
|
+
}
|
|
5450
|
+
/**
|
|
5451
|
+
* The value property, typed as a number.
|
|
5452
|
+
*
|
|
5453
|
+
* @public
|
|
5454
|
+
*/
|
|
5455
|
+
get valueAsNumber() {
|
|
5456
|
+
return parseFloat(super.value);
|
|
5457
|
+
}
|
|
5458
|
+
set valueAsNumber(next) {
|
|
5459
|
+
this.value = next.toString();
|
|
5460
|
+
}
|
|
5461
|
+
/**
|
|
5462
|
+
* @internal
|
|
5463
|
+
*/
|
|
5464
|
+
valueChanged(previous, next) {
|
|
5465
|
+
if (this.$fastController.isConnected) {
|
|
5466
|
+
const nextAsNumber = parseFloat(next);
|
|
5467
|
+
const value = limit(this.min, this.max, this.convertToConstrainedValue(nextAsNumber)).toString();
|
|
5468
|
+
if (value !== next) {
|
|
5469
|
+
this.value = value;
|
|
5470
|
+
return;
|
|
5471
|
+
}
|
|
5472
|
+
super.valueChanged(previous, next);
|
|
5473
|
+
this.setThumbPositionForOrientation(this.direction);
|
|
5474
|
+
this.$emit("change");
|
|
5475
|
+
}
|
|
5476
|
+
}
|
|
5477
|
+
minChanged() {
|
|
5478
|
+
if (this.proxy instanceof HTMLInputElement) {
|
|
5479
|
+
this.proxy.min = `${this.min}`;
|
|
5480
|
+
}
|
|
5481
|
+
this.validate();
|
|
5482
|
+
}
|
|
5483
|
+
maxChanged() {
|
|
5484
|
+
if (this.proxy instanceof HTMLInputElement) {
|
|
5485
|
+
this.proxy.max = `${this.max}`;
|
|
5486
|
+
}
|
|
5487
|
+
this.validate();
|
|
5488
|
+
}
|
|
5489
|
+
stepChanged() {
|
|
5490
|
+
if (this.proxy instanceof HTMLInputElement) {
|
|
5491
|
+
this.proxy.step = `${this.step}`;
|
|
5492
|
+
}
|
|
5493
|
+
this.updateStepMultiplier();
|
|
5494
|
+
this.validate();
|
|
5495
|
+
}
|
|
5496
|
+
orientationChanged() {
|
|
5497
|
+
if (this.$fastController.isConnected) {
|
|
5498
|
+
this.setThumbPositionForOrientation(this.direction);
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5501
|
+
/**
|
|
5502
|
+
* @internal
|
|
5503
|
+
*/
|
|
5504
|
+
connectedCallback() {
|
|
5505
|
+
super.connectedCallback();
|
|
5506
|
+
this.proxy.setAttribute("type", "range");
|
|
5507
|
+
this.direction = getDirection(this);
|
|
5508
|
+
this.updateStepMultiplier();
|
|
5509
|
+
this.setupTrackConstraints();
|
|
5510
|
+
this.setupListeners();
|
|
5511
|
+
this.setupDefaultValue();
|
|
5512
|
+
this.setThumbPositionForOrientation(this.direction);
|
|
5513
|
+
}
|
|
5514
|
+
/**
|
|
5515
|
+
* @internal
|
|
5516
|
+
*/
|
|
5517
|
+
disconnectedCallback() {
|
|
5518
|
+
this.setupListeners(true);
|
|
5519
|
+
}
|
|
5520
|
+
/**
|
|
5521
|
+
* Increment the value by the step
|
|
5522
|
+
*
|
|
5523
|
+
* @public
|
|
5524
|
+
*/
|
|
5525
|
+
increment() {
|
|
5526
|
+
const newVal = this.direction !== Direction.rtl && this.orientation !== Orientation.vertical ? Number(this.value) + Number(this.stepValue) : Number(this.value) + Number(this.stepValue);
|
|
5527
|
+
const incrementedVal = this.convertToConstrainedValue(newVal);
|
|
5528
|
+
const incrementedValString = incrementedVal < Number(this.max) ? `${incrementedVal}` : `${this.max}`;
|
|
5529
|
+
this.value = incrementedValString;
|
|
5530
|
+
}
|
|
5531
|
+
/**
|
|
5532
|
+
* Decrement the value by the step
|
|
5533
|
+
*
|
|
5534
|
+
* @public
|
|
5535
|
+
*/
|
|
5536
|
+
decrement() {
|
|
5537
|
+
const newVal = this.direction !== Direction.rtl && this.orientation !== Orientation.vertical ? Number(this.value) - Number(this.stepValue) : Number(this.value) - Number(this.stepValue);
|
|
5538
|
+
const decrementedVal = this.convertToConstrainedValue(newVal);
|
|
5539
|
+
const decrementedValString = decrementedVal > Number(this.min) ? `${decrementedVal}` : `${this.min}`;
|
|
5540
|
+
this.value = decrementedValString;
|
|
5541
|
+
}
|
|
5542
|
+
/**
|
|
5543
|
+
* Gets the actual step value for the slider
|
|
5544
|
+
*
|
|
5545
|
+
*/
|
|
5546
|
+
get stepValue() {
|
|
5547
|
+
return this.step === undefined ? 1 : this.step;
|
|
5548
|
+
}
|
|
5549
|
+
/**
|
|
5550
|
+
* Places the thumb based on the current value
|
|
5551
|
+
*
|
|
5552
|
+
* @public
|
|
5553
|
+
* @param direction - writing mode
|
|
5554
|
+
*/
|
|
5555
|
+
setThumbPositionForOrientation(direction) {
|
|
5556
|
+
const newPct = convertPixelToPercent(Number(this.value), Number(this.min), Number(this.max), direction);
|
|
5557
|
+
const percentage = (1 - newPct) * 100;
|
|
5558
|
+
if (this.orientation === Orientation.horizontal) {
|
|
5559
|
+
this.position = this.isDragging ? `right: ${percentage}%; transition: none;` : `right: ${percentage}%; transition: all 0.2s ease;`;
|
|
5560
|
+
} else {
|
|
5561
|
+
this.position = this.isDragging ? `top: ${percentage}%; transition: none;` : `top: ${percentage}%; transition: all 0.2s ease;`;
|
|
5562
|
+
}
|
|
5563
|
+
}
|
|
5564
|
+
/**
|
|
5565
|
+
* Update the step multiplier used to ensure rounding errors from steps that
|
|
5566
|
+
* are not whole numbers
|
|
5567
|
+
*/
|
|
5568
|
+
updateStepMultiplier() {
|
|
5569
|
+
const stepString = this.stepValue + "";
|
|
5570
|
+
const decimalPlacesOfStep = !!(this.stepValue % 1) ? stepString.length - stepString.indexOf(".") - 1 : 0;
|
|
5571
|
+
this.stepMultiplier = Math.pow(10, decimalPlacesOfStep);
|
|
5572
|
+
}
|
|
5573
|
+
get midpoint() {
|
|
5574
|
+
return `${this.convertToConstrainedValue((this.max + this.min) / 2)}`;
|
|
5575
|
+
}
|
|
5576
|
+
setupDefaultValue() {
|
|
5577
|
+
if (typeof this.value === "string") {
|
|
5578
|
+
if (this.value.length === 0) {
|
|
5579
|
+
this.initialValue = this.midpoint;
|
|
5580
|
+
} else {
|
|
5581
|
+
const value = parseFloat(this.value);
|
|
5582
|
+
if (!Number.isNaN(value) && (value < this.min || value > this.max)) {
|
|
5583
|
+
this.value = this.midpoint;
|
|
5584
|
+
}
|
|
5585
|
+
}
|
|
5586
|
+
}
|
|
5587
|
+
}
|
|
5588
|
+
/**
|
|
5589
|
+
* Calculate the new value based on the given raw pixel value.
|
|
5590
|
+
*
|
|
5591
|
+
* @param rawValue - the value to be converted to a constrained value
|
|
5592
|
+
* @returns the constrained value
|
|
5593
|
+
*
|
|
5594
|
+
* @internal
|
|
5595
|
+
*/
|
|
5596
|
+
calculateNewValue(rawValue) {
|
|
5597
|
+
this.setupTrackConstraints();
|
|
5598
|
+
// update the value based on current position
|
|
5599
|
+
const newPosition = convertPixelToPercent(rawValue, this.orientation === Orientation.horizontal ? this.trackMinWidth : this.trackMinHeight, this.orientation === Orientation.horizontal ? this.trackWidth : this.trackHeight, this.direction);
|
|
5600
|
+
const newValue = (this.max - this.min) * newPosition + this.min;
|
|
5601
|
+
return this.convertToConstrainedValue(newValue);
|
|
5602
|
+
}
|
|
5603
|
+
convertToConstrainedValue(value) {
|
|
5604
|
+
if (isNaN(value)) {
|
|
5605
|
+
value = this.min;
|
|
5606
|
+
}
|
|
5607
|
+
/**
|
|
5608
|
+
* The following logic intends to overcome the issue with math in JavaScript with regards to floating point numbers.
|
|
5609
|
+
* This is needed as the `step` may be an integer but could also be a float. To accomplish this the step is assumed to be a float
|
|
5610
|
+
* and is converted to an integer by determining the number of decimal places it represent, multiplying it until it is an
|
|
5611
|
+
* integer and then dividing it to get back to the correct number.
|
|
5612
|
+
*/
|
|
5613
|
+
let constrainedValue = value - this.min;
|
|
5614
|
+
const roundedConstrainedValue = Math.round(constrainedValue / this.stepValue);
|
|
5615
|
+
const remainderValue = constrainedValue - roundedConstrainedValue * (this.stepMultiplier * this.stepValue) / this.stepMultiplier;
|
|
5616
|
+
constrainedValue = remainderValue >= Number(this.stepValue) / 2 ? constrainedValue - remainderValue + Number(this.stepValue) : constrainedValue - remainderValue;
|
|
5617
|
+
return constrainedValue + this.min;
|
|
5618
|
+
}
|
|
5619
|
+
}
|
|
5620
|
+
__decorate([attr({
|
|
5621
|
+
attribute: "readonly",
|
|
5622
|
+
mode: "boolean"
|
|
5623
|
+
})], FASTSlider.prototype, "readOnly", void 0);
|
|
5624
|
+
__decorate([observable], FASTSlider.prototype, "direction", void 0);
|
|
5625
|
+
__decorate([observable], FASTSlider.prototype, "isDragging", void 0);
|
|
5626
|
+
__decorate([observable], FASTSlider.prototype, "position", void 0);
|
|
5627
|
+
__decorate([observable], FASTSlider.prototype, "trackWidth", void 0);
|
|
5628
|
+
__decorate([observable], FASTSlider.prototype, "trackMinWidth", void 0);
|
|
5629
|
+
__decorate([observable], FASTSlider.prototype, "trackHeight", void 0);
|
|
5630
|
+
__decorate([observable], FASTSlider.prototype, "trackLeft", void 0);
|
|
5631
|
+
__decorate([observable], FASTSlider.prototype, "trackMinHeight", void 0);
|
|
5632
|
+
__decorate([observable], FASTSlider.prototype, "valueTextFormatter", void 0);
|
|
5633
|
+
__decorate([attr({
|
|
5634
|
+
converter: nullableNumberConverter
|
|
5635
|
+
})], FASTSlider.prototype, "min", void 0);
|
|
5636
|
+
__decorate([attr({
|
|
5637
|
+
converter: nullableNumberConverter
|
|
5638
|
+
})], FASTSlider.prototype, "max", void 0);
|
|
5639
|
+
__decorate([attr({
|
|
5640
|
+
converter: nullableNumberConverter
|
|
5641
|
+
})], FASTSlider.prototype, "step", void 0);
|
|
5642
|
+
__decorate([attr], FASTSlider.prototype, "orientation", void 0);
|
|
5643
|
+
__decorate([attr], FASTSlider.prototype, "mode", void 0);
|
|
5644
|
+
|
|
5645
|
+
/**
|
|
5646
|
+
* The template for the {@link @microsoft/fast-foundation#(FASTSlider:class)} component.
|
|
5647
|
+
* @public
|
|
5648
|
+
*/
|
|
5649
|
+
function sliderTemplate(options = {}) {
|
|
5650
|
+
return html`<template role="slider" tabindex="${x => x.disabled ? null : 0}" aria-valuetext="${x => x.valueTextFormatter(x.value)}" aria-valuenow="${x => x.value}" aria-valuemin="${x => x.min}" aria-valuemax="${x => x.max}" aria-disabled="${x => x.disabled ? true : void 0}" aria-readonly="${x => x.readOnly ? true : void 0}" aria-orientation="${x => x.orientation}" class="${x => x.orientation}"><div part="positioning-region" class="positioning-region"><div ${ref("track")} part="track-container" class="track"><slot name="track"></slot><div part="track-start" class="track-start" style="${x => x.position}"><slot name="track-start"></slot></div></div><slot></slot><div ${ref("thumb")} part="thumb-container" class="thumb-container" style="${x => x.position}"><slot name="thumb">${staticallyCompose(options.thumb)}</slot></div></div></template>`;
|
|
5651
|
+
}
|
|
5652
|
+
|
|
5177
5653
|
/**
|
|
5178
5654
|
* The template for the {@link @microsoft/fast-foundation#(FASTSwitch:class)} component.
|
|
5179
5655
|
* @public
|
|
@@ -5278,9 +5754,9 @@ function display(displayValue) {
|
|
|
5278
5754
|
*/
|
|
5279
5755
|
class Accordion extends FASTAccordion {}
|
|
5280
5756
|
|
|
5281
|
-
const template$
|
|
5757
|
+
const template$b = accordionTemplate();
|
|
5282
5758
|
|
|
5283
|
-
const styles$
|
|
5759
|
+
const styles$b = css`
|
|
5284
5760
|
${display('flex')}
|
|
5285
5761
|
|
|
5286
5762
|
:host{flex-direction:column;width:100%;contain:content}`;
|
|
@@ -5300,10 +5776,10 @@ const FluentDesignSystem = Object.freeze({
|
|
|
5300
5776
|
* @remarks
|
|
5301
5777
|
* HTML Element: \<fluent-accordion\>
|
|
5302
5778
|
*/
|
|
5303
|
-
const definition$
|
|
5779
|
+
const definition$b = Accordion.compose({
|
|
5304
5780
|
name: `${FluentDesignSystem.prefix}-accordion`,
|
|
5305
|
-
template: template$
|
|
5306
|
-
styles: styles$
|
|
5781
|
+
template: template$b,
|
|
5782
|
+
styles: styles$b
|
|
5307
5783
|
});
|
|
5308
5784
|
|
|
5309
5785
|
/**
|
|
@@ -6123,7 +6599,7 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
6123
6599
|
shadow64Brand: shadow64Brand
|
|
6124
6600
|
});
|
|
6125
6601
|
|
|
6126
|
-
const styles$
|
|
6602
|
+
const styles$a = css`
|
|
6127
6603
|
${display('block')}
|
|
6128
6604
|
|
|
6129
6605
|
:host{max-width:fit-content;contain:content}.heading{height:44px;display:grid;position:relative;vertical-align:middle;padding-inline:${spacingHorizontalM} ${spacingHorizontalMNudge};border-radius:${borderRadiusMedium};font-family:${fontFamilyBase};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};line-height:${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:${colorNeutralForeground1};background:${colorTransparentBackground};line-height:${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:${borderRadiusSmall}}.icon{display:flex;align-items:center;justify-content:center;pointer-events:none;position:relative;height:100%;padding-right:${spacingHorizontalS};grid-column:1 / span 1;grid-row:1}.region{margin:0 ${spacingHorizontalM}}::slotted([slot='start']),::slotted([slot='end']){justify-content:center;align-items:center;padding-right:${spacingHorizontalS};grid-column:2 / span 1;grid-row:1 / span 1}button:focus-visible::after{content:'';position:absolute;inset:0px;cursor:pointer;border-radius:${borderRadiusSmall};outline:none;border:2px solid ${colorStrokeFocus1};box-shadow:inset 0 0 0 1px ${colorStrokeFocus2}}:host([disabled]) .button{color:${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:${fontSizeBase300};line-height:${lineHeightBase300}}:host([size='small']) .heading{font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='large']) .heading{font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='extra-large']) .heading{font-size:${fontSizeBase500};line-height:${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}`;
|
|
@@ -6158,7 +6634,7 @@ const chevronDown20Filled = html.partial(`<svg
|
|
|
6158
6634
|
* The template for the fluent-accordion component.
|
|
6159
6635
|
* @public
|
|
6160
6636
|
*/
|
|
6161
|
-
const template$
|
|
6637
|
+
const template$a = accordionItemTemplate({
|
|
6162
6638
|
collapsedIcon: chevronRight20Filled,
|
|
6163
6639
|
expandedIcon: chevronDown20Filled
|
|
6164
6640
|
});
|
|
@@ -6172,10 +6648,10 @@ const template$9 = accordionItemTemplate({
|
|
|
6172
6648
|
* @remarks
|
|
6173
6649
|
* HTML Element: \<fluent-accordion-item\>
|
|
6174
6650
|
*/
|
|
6175
|
-
const definition$
|
|
6651
|
+
const definition$a = AccordionItem.compose({
|
|
6176
6652
|
name: `${FluentDesignSystem.prefix}-accordion-item`,
|
|
6177
|
-
template: template$
|
|
6178
|
-
styles: styles$
|
|
6653
|
+
template: template$a,
|
|
6654
|
+
styles: styles$a
|
|
6179
6655
|
});
|
|
6180
6656
|
|
|
6181
6657
|
/* TODO: This file is a direct copy of the React Avatar utils */
|
|
@@ -6429,7 +6905,7 @@ const defaultIconTemplate = html`<svg width="1em" height="1em" viewBox="0 0 20 2
|
|
|
6429
6905
|
function avatarTemplate() {
|
|
6430
6906
|
return html`<template role="img" data-color=${x => x.generateColor()}><slot>${x => x.name || x.initials ? x.generateInitials() : defaultIconTemplate}</slot><slot name="badge"></slot></template>`;
|
|
6431
6907
|
}
|
|
6432
|
-
const template$
|
|
6908
|
+
const template$9 = avatarTemplate();
|
|
6433
6909
|
|
|
6434
6910
|
const animations = {
|
|
6435
6911
|
fastOutSlowInMax: curveDecelerateMax,
|
|
@@ -6445,7 +6921,7 @@ const animations = {
|
|
|
6445
6921
|
/** Avatar styles
|
|
6446
6922
|
* @public
|
|
6447
6923
|
*/
|
|
6448
|
-
const styles$
|
|
6924
|
+
const styles$9 = css`
|
|
6449
6925
|
${display('inline-flex')} :host{position:relative;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;font-family:${fontFamilyBase};font-weight:${fontWeightSemibold};font-size:${fontSizeBase300};border-radius:${borderRadiusCircular};color:${colorNeutralForeground3};background-color:${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:${borderRadiusCircular}}::slotted([slot='badge']){position:absolute;bottom:0;right:0;box-shadow:0 0 0 ${strokeWidthThin} ${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 ${strokeWidthThick} ${colorNeutralBackground1}}:host([size='16']),:host([size='20']),:host([size='24']){font-size:${fontSizeBase100};font-weight:${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:${fontSizeBase200}}:host([size='36']){width:36px;height:36px}:host([size='40']){width:40px;height:40px}:host([size='48']),:host([size='56']){font-size:${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:${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:${fontSizeBase600}}:host([size='120']){width:120px;height:120px}:host([size='128']){width:128px;height:128px}:host([shape='square']){border-radius:${borderRadiusMedium}}:host([shape='square'][size='20']),:host([shape='square'][size='24']){border-radius:${borderRadiusSmall}}:host([shape='square'][size='56']),:host([shape='square'][size='64']),:host([shape='square'][size='72']){border-radius:${borderRadiusLarge}}:host([shape='square'][size='96']),:host([shape='square'][size='120']),:host([shape='square'][size='128']){border-radius:${borderRadiusXLarge}}:host([data-color='brand']){color:${colorNeutralForegroundStaticInverted};background-color:${colorBrandBackgroundStatic}}:host([data-color='dark-red']){color:${colorPaletteDarkRedForeground2};background-color:${colorPaletteDarkRedBackground2}}:host([data-color='cranberry']){color:${colorPaletteCranberryForeground2};background-color:${colorPaletteCranberryBackground2}}:host([data-color='red']){color:${colorPaletteRedForeground2};background-color:${colorPaletteRedBackground2}}:host([data-color='pumpkin']){color:${colorPalettePumpkinForeground2};background-color:${colorPalettePumpkinBackground2}}:host([data-color='peach']){color:${colorPalettePeachForeground2};background-color:${colorPalettePeachBackground2}}:host([data-color='marigold']){color:${colorPaletteMarigoldForeground2};background-color:${colorPaletteMarigoldBackground2}}:host([data-color='gold']){color:${colorPaletteGoldForeground2};background-color:${colorPaletteGoldBackground2}}:host([data-color='brass']){color:${colorPaletteBrassForeground2};background-color:${colorPaletteBrassBackground2}}:host([data-color='brown']){color:${colorPaletteBrownForeground2};background-color:${colorPaletteBrownBackground2}}:host([data-color='forest']){color:${colorPaletteForestForeground2};background-color:${colorPaletteForestBackground2}}:host([data-color='seafoam']){color:${colorPaletteSeafoamForeground2};background-color:${colorPaletteSeafoamBackground2}}:host([data-color='dark-green']){color:${colorPaletteDarkGreenForeground2};background-color:${colorPaletteDarkGreenBackground2}}:host([data-color='light-teal']){color:${colorPaletteLightTealForeground2};background-color:${colorPaletteLightTealBackground2}}:host([data-color='teal']){color:${colorPaletteTealForeground2};background-color:${colorPaletteTealBackground2}}:host([data-color='steel']){color:${colorPaletteSteelForeground2};background-color:${colorPaletteSteelBackground2}}:host([data-color='blue']){color:${colorPaletteBlueForeground2};background-color:${colorPaletteBlueBackground2}}:host([data-color='royal-blue']){color:${colorPaletteRoyalBlueForeground2};background-color:${colorPaletteRoyalBlueBackground2}}:host([data-color='cornflower']){color:${colorPaletteCornflowerForeground2};background-color:${colorPaletteCornflowerBackground2}}:host([data-color='navy']){color:${colorPaletteNavyForeground2};background-color:${colorPaletteNavyBackground2}}:host([data-color='lavender']){color:${colorPaletteLavenderForeground2};background-color:${colorPaletteLavenderBackground2}}:host([data-color='purple']){color:${colorPalettePurpleForeground2};background-color:${colorPalettePurpleBackground2}}:host([data-color='grape']){color:${colorPaletteGrapeForeground2};background-color:${colorPaletteGrapeBackground2}}:host([data-color='lilac']){color:${colorPaletteLilacForeground2};background-color:${colorPaletteLilacBackground2}}:host([data-color='pink']){color:${colorPalettePinkForeground2};background-color:${colorPalettePinkBackground2}}:host([data-color='magenta']){color:${colorPaletteMagentaForeground2};background-color:${colorPaletteMagentaBackground2}}:host([data-color='plum']){color:${colorPalettePlumForeground2};background-color:${colorPalettePlumBackground2}}:host([data-color='beige']){color:${colorPaletteBeigeForeground2};background-color:${colorPaletteBeigeBackground2}}:host([data-color='mink']){color:${colorPaletteMinkForeground2};background-color:${colorPaletteMinkBackground2}}:host([data-color='platinum']){color:${colorPalettePlatinumForeground2};background-color:${colorPalettePlatinumBackground2}}:host([data-color='anchor']){color:${colorPaletteAnchorForeground2};background-color:${colorPaletteAnchorBackground2}}:host([active]){transform:perspective(1px);transition-property:transform,opacity;transition-duration:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastEase},${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:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastEase},${animations.nullEasing}}:host([active])::before{box-shadow:${shadow8};border-style:solid;border-color:${colorBrandBackgroundStatic}}:host([active][appearance='shadow'])::before{border-style:none;border-color:none}:host([active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThick});border-width:${strokeWidthThick}}:host([size='56'][active]:not([appearance='shadow']))::before,:host([size='64'][active]:not([appearance='shadow']))::before{margin:calc(-2 * ${strokeWidthThicker});border-width:${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 * ${strokeWidthThickest});border-width:${strokeWidthThickest}}:host([size='20'][active][appearance])::before,:host([size='24'][active][appearance])::before,:host([size='28'][active][appearance])::before{box-shadow:${shadow4}}:host([size='56'][active][appearance])::before,:host([size='64'][active][appearance])::before{box-shadow:${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:${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:${durationUltraSlow},${durationFaster};transition-delay:${animations.fastOutSlowInMin},${animations.nullEasing}}:host([active='inactive'])::before{margin:0;opacity:0;transition-property:margin,opacity;transition-duration:${durationUltraSlow},${durationSlower};transition-delay:${animations.fastOutSlowInMin},${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}}`;
|
|
6450
6926
|
|
|
6451
6927
|
/**
|
|
@@ -6455,10 +6931,10 @@ const styles$8 = css`
|
|
|
6455
6931
|
* @remarks
|
|
6456
6932
|
* HTML Element: \<fluent-badge\>
|
|
6457
6933
|
*/
|
|
6458
|
-
const definition$
|
|
6934
|
+
const definition$9 = Avatar.compose({
|
|
6459
6935
|
name: `${FluentDesignSystem.prefix}-avatar`,
|
|
6460
|
-
template: template$
|
|
6461
|
-
styles: styles$
|
|
6936
|
+
template: template$9,
|
|
6937
|
+
styles: styles$9
|
|
6462
6938
|
});
|
|
6463
6939
|
|
|
6464
6940
|
/**
|
|
@@ -6545,7 +7021,7 @@ applyMixins(Badge, StartEnd);
|
|
|
6545
7021
|
function badgeTemplate(options = {}) {
|
|
6546
7022
|
return html` ${startSlotTemplate(options)}<slot>${staticallyCompose(options.defaultContent)}</slot>${endSlotTemplate(options)} `;
|
|
6547
7023
|
}
|
|
6548
|
-
const template$
|
|
7024
|
+
const template$8 = badgeTemplate();
|
|
6549
7025
|
|
|
6550
7026
|
const textPadding = spacingHorizontalXXS;
|
|
6551
7027
|
const badgeBaseStyles = css.partial`
|
|
@@ -6822,7 +7298,7 @@ const badgeTintStyles = css.partial`
|
|
|
6822
7298
|
/** Badge styles
|
|
6823
7299
|
* @public
|
|
6824
7300
|
*/
|
|
6825
|
-
const styles$
|
|
7301
|
+
const styles$8 = css`
|
|
6826
7302
|
:host([shape='square']){border-radius:${borderRadiusNone}}:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${borderRadiusSmall}}${badgeSizeStyles}
|
|
6827
7303
|
${badgeFilledStyles}
|
|
6828
7304
|
${badgeGhostStyles}
|
|
@@ -6840,10 +7316,10 @@ const styles$7 = css`
|
|
|
6840
7316
|
* @remarks
|
|
6841
7317
|
* HTML Element: \<fluent-badge\>
|
|
6842
7318
|
*/
|
|
6843
|
-
const definition$
|
|
7319
|
+
const definition$8 = Badge.compose({
|
|
6844
7320
|
name: `${FluentDesignSystem.prefix}-badge`,
|
|
6845
|
-
template: template$
|
|
6846
|
-
styles: styles$
|
|
7321
|
+
template: template$8,
|
|
7322
|
+
styles: styles$8
|
|
6847
7323
|
});
|
|
6848
7324
|
|
|
6849
7325
|
/**
|
|
@@ -6979,12 +7455,12 @@ function composeTemplate(options = {}) {
|
|
|
6979
7455
|
* The template for the Counter Badge component.
|
|
6980
7456
|
* @public
|
|
6981
7457
|
*/
|
|
6982
|
-
const template$
|
|
7458
|
+
const template$7 = composeTemplate();
|
|
6983
7459
|
|
|
6984
7460
|
/** Badge styles
|
|
6985
7461
|
* @public
|
|
6986
7462
|
*/
|
|
6987
|
-
const styles$
|
|
7463
|
+
const styles$7 = css`
|
|
6988
7464
|
:host([shape='rounded']){border-radius:${borderRadiusMedium}}:host([shape='rounded'][size='tiny']),:host([shape='rounded'][size='extra-small']),:host([shape='rounded'][size='small']){border-radius:${borderRadiusSmall}}${badgeSizeStyles}
|
|
6989
7465
|
${badgeFilledStyles}
|
|
6990
7466
|
${badgeGhostStyles}
|
|
@@ -7001,10 +7477,10 @@ const styles$6 = css`
|
|
|
7001
7477
|
* @remarks
|
|
7002
7478
|
* HTML Element: \<fluent-counter-badge\>
|
|
7003
7479
|
*/
|
|
7004
|
-
const definition$
|
|
7480
|
+
const definition$7 = CounterBadge.compose({
|
|
7005
7481
|
name: `${FluentDesignSystem.prefix}-counter-badge`,
|
|
7006
|
-
template: template$
|
|
7007
|
-
styles: styles$
|
|
7482
|
+
template: template$7,
|
|
7483
|
+
styles: styles$7
|
|
7008
7484
|
});
|
|
7009
7485
|
|
|
7010
7486
|
/**
|
|
@@ -7046,12 +7522,12 @@ const DividerAppearance = {
|
|
|
7046
7522
|
* Template for the Divider component
|
|
7047
7523
|
* @public
|
|
7048
7524
|
*/
|
|
7049
|
-
const template$
|
|
7525
|
+
const template$6 = dividerTemplate();
|
|
7050
7526
|
|
|
7051
7527
|
/** Divider styles
|
|
7052
7528
|
* @public
|
|
7053
7529
|
*/
|
|
7054
|
-
const styles$
|
|
7530
|
+
const styles$6 = css`
|
|
7055
7531
|
${display('flex')}
|
|
7056
7532
|
|
|
7057
7533
|
:host{contain:content}:host::after,:host::before{align-self:center;background:${colorNeutralStroke2};box-sizing:border-box;content:'';display:flex;flex-grow:1;height:${strokeWidthThin}}:host([inset]){padding:0 12px}:host ::slotted(*){color:${colorNeutralForeground2};font-family:${fontFamilyBase};font-size:${fontSizeBase200};font-weight:${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:${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:${colorNeutralStroke1}}:host([appearance='strong']) ::slotted(*){color:${colorNeutralForeground1}}:host([appearance='brand'])::before,:host([appearance='brand'])::after{background:${colorBrandStroke1}}:host([appearance='brand']) ::slotted(*){color:${colorBrandForeground1}}:host([appearance='subtle'])::before,:host([appearance='subtle'])::after{background:${colorNeutralStroke3}}:host([appearance='subtle']) ::slotted(*){color:${colorNeutralForeground3}}`;
|
|
@@ -7063,10 +7539,10 @@ const styles$5 = css`
|
|
|
7063
7539
|
* @remarks
|
|
7064
7540
|
* HTML Element: \<fluent-divider\>
|
|
7065
7541
|
*/
|
|
7066
|
-
const definition$
|
|
7542
|
+
const definition$6 = Divider.compose({
|
|
7067
7543
|
name: `${FluentDesignSystem.prefix}-divider`,
|
|
7068
|
-
template: template$
|
|
7069
|
-
styles: styles$
|
|
7544
|
+
template: template$6,
|
|
7545
|
+
styles: styles$6
|
|
7070
7546
|
});
|
|
7071
7547
|
|
|
7072
7548
|
/**
|
|
@@ -7111,13 +7587,13 @@ const ImageShape = {
|
|
|
7111
7587
|
* Template for the Image component
|
|
7112
7588
|
* @public
|
|
7113
7589
|
*/
|
|
7114
|
-
const template$
|
|
7590
|
+
const template$5 = html`<slot></slot>`;
|
|
7115
7591
|
|
|
7116
7592
|
/** Image styles
|
|
7117
7593
|
*
|
|
7118
7594
|
* @public
|
|
7119
7595
|
*/
|
|
7120
|
-
const styles$
|
|
7596
|
+
const styles$5 = css`
|
|
7121
7597
|
: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:${strokeWidthThin} solid ${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:${shadow4}}:host([shape='circular']) ::slotted(img){border-radius:${borderRadiusCircular}}`;
|
|
7122
7598
|
|
|
7123
7599
|
/**
|
|
@@ -7127,10 +7603,10 @@ const styles$4 = css`
|
|
|
7127
7603
|
* @remarks
|
|
7128
7604
|
* HTML Element: \<fluent-image\>
|
|
7129
7605
|
*/
|
|
7130
|
-
const definition$
|
|
7606
|
+
const definition$5 = Image.compose({
|
|
7131
7607
|
name: `${FluentDesignSystem.prefix}-image`,
|
|
7132
|
-
template: template$
|
|
7133
|
-
styles: styles$
|
|
7608
|
+
template: template$5,
|
|
7609
|
+
styles: styles$5
|
|
7134
7610
|
});
|
|
7135
7611
|
|
|
7136
7612
|
/**
|
|
@@ -7181,10 +7657,10 @@ const ProgressBarValidationState = {
|
|
|
7181
7657
|
error: 'error'
|
|
7182
7658
|
};
|
|
7183
7659
|
|
|
7184
|
-
/**
|
|
7660
|
+
/** ProgressBar styles
|
|
7185
7661
|
* @public
|
|
7186
7662
|
*/
|
|
7187
|
-
const styles$
|
|
7663
|
+
const styles$4 = css`
|
|
7188
7664
|
${display('flex')}
|
|
7189
7665
|
|
|
7190
7666
|
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${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:${colorPaletteRedBackground3}}:host([validation-state='error']) .indeterminate-indicator-1,:host([validation-state='error']) .indeterminate-indicator-2{background:linear-gradient(
|
|
@@ -7199,7 +7675,7 @@ const styles$3 = css`
|
|
|
7199
7675
|
to right,${colorBrandBackground2} 0%,${colorCompoundBrandBackground} 50%,${colorBrandBackground2}
|
|
7200
7676
|
);border-radius:${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}}`;
|
|
7201
7677
|
|
|
7202
|
-
const template$
|
|
7678
|
+
const template$4 = progressTemplate({
|
|
7203
7679
|
indeterminateIndicator1: `<span class="indeterminate-indicator-1" part="indeterminate-indicator-1></span>`,
|
|
7204
7680
|
indeterminateIndicator2: `<span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span>`
|
|
7205
7681
|
});
|
|
@@ -7212,8 +7688,90 @@ const template$3 = progressTemplate({
|
|
|
7212
7688
|
* @remarks
|
|
7213
7689
|
* HTML Element: \<fluent-progress-bar\>
|
|
7214
7690
|
*/
|
|
7215
|
-
const definition$
|
|
7691
|
+
const definition$4 = ProgressBar.compose({
|
|
7216
7692
|
name: `${FluentDesignSystem.prefix}-progress-bar`,
|
|
7693
|
+
template: template$4,
|
|
7694
|
+
styles: styles$4
|
|
7695
|
+
});
|
|
7696
|
+
|
|
7697
|
+
/**
|
|
7698
|
+
* The base class used for constructing a fluent-slider custom element
|
|
7699
|
+
* @public
|
|
7700
|
+
*/
|
|
7701
|
+
class Slider extends FASTSlider {
|
|
7702
|
+
handleChange(source, propertyName) {
|
|
7703
|
+
switch (propertyName) {
|
|
7704
|
+
case 'min':
|
|
7705
|
+
case 'max':
|
|
7706
|
+
case 'step':
|
|
7707
|
+
this.handleStepStyles();
|
|
7708
|
+
break;
|
|
7709
|
+
}
|
|
7710
|
+
}
|
|
7711
|
+
connectedCallback() {
|
|
7712
|
+
super.connectedCallback();
|
|
7713
|
+
Observable.getNotifier(this).subscribe(this, 'max');
|
|
7714
|
+
Observable.getNotifier(this).subscribe(this, 'min');
|
|
7715
|
+
Observable.getNotifier(this).subscribe(this, 'step');
|
|
7716
|
+
this.handleStepStyles();
|
|
7717
|
+
}
|
|
7718
|
+
disconnectedCallback() {
|
|
7719
|
+
super.disconnectedCallback();
|
|
7720
|
+
Observable.getNotifier(this).unsubscribe(this, 'max');
|
|
7721
|
+
Observable.getNotifier(this).unsubscribe(this, 'min');
|
|
7722
|
+
Observable.getNotifier(this).unsubscribe(this, 'step');
|
|
7723
|
+
}
|
|
7724
|
+
/**
|
|
7725
|
+
* Handles changes to step styling based on the step value
|
|
7726
|
+
* NOTE: This function is not a changed callback, stepStyles is not observable
|
|
7727
|
+
*/
|
|
7728
|
+
handleStepStyles() {
|
|
7729
|
+
if (this.step) {
|
|
7730
|
+
const totalSteps = 100 / Math.floor((this.max - this.min) / this.step);
|
|
7731
|
+
if (this.stepStyles !== undefined) {
|
|
7732
|
+
this.$fastController.removeStyles(this.stepStyles);
|
|
7733
|
+
}
|
|
7734
|
+
this.stepStyles = css /**css*/`
|
|
7735
|
+
:host{--step-rate:${totalSteps}%;color:blue}`;
|
|
7736
|
+
this.$fastController.addStyles(this.stepStyles);
|
|
7737
|
+
} else if (this.stepStyles !== undefined) {
|
|
7738
|
+
this.$fastController.removeStyles(this.stepStyles);
|
|
7739
|
+
}
|
|
7740
|
+
}
|
|
7741
|
+
}
|
|
7742
|
+
__decorate([attr], Slider.prototype, "size", void 0);
|
|
7743
|
+
|
|
7744
|
+
/**
|
|
7745
|
+
* SliderSize Constants
|
|
7746
|
+
* @public
|
|
7747
|
+
*/
|
|
7748
|
+
const SliderSize = {
|
|
7749
|
+
small: 'small',
|
|
7750
|
+
medium: 'medium'
|
|
7751
|
+
};
|
|
7752
|
+
|
|
7753
|
+
/** Text styles
|
|
7754
|
+
* @public
|
|
7755
|
+
*/
|
|
7756
|
+
const styles$3 = css`
|
|
7757
|
+
${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:${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 ${colorStrokeFocus2};outline:1px solid ${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:${colorBrandBackground};border-radius:${borderRadiusCircular};box-shadow:inset 0 0 0 var(--thumb-padding) ${colorNeutralBackground1},0 0 0 1px ${colorNeutralStroke1}}.thumb-cursor:hover{background-color:${colorCompoundBrandBackgroundHover}}.thumb-cursor:active{background-color:${colorCompoundBrandBackgroundPressed}}:host([disabled]) .thumb-cursor{background-color:${colorNeutralForegroundDisabled};box-shadow:inset 0 0 0 var(--thumb-padding) ${colorNeutralBackground1},0 0 0 1px ${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:${colorNeutralStrokeAccessible};border-radius:${borderRadiusMedium};overflow:hidden}:host([step]) .track::after{content:'';position:absolute;border-radius:${borderRadiusMedium};width:100%;inset:0 2px;background-image:repeating-linear-gradient(
|
|
7758
|
+
var(--slider-direction),#0000 0%,#0000 calc(var(--step-rate) - 1px),${colorNeutralBackground1} calc(var(--step-rate) - 1px),${colorNeutralBackground1} var(--step-rate)
|
|
7759
|
+
)}:host([orientation='vertical'][step]) .track::after{inset:-2px 0}:host([disabled]) .track{background-color:${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:${colorCompoundBrandBackground};position:absolute;height:100%;left:0;border-radius:${borderRadiusMedium}}:host([disabled]) .track-start{background-color:${colorNeutralForegroundDisabled}}:host(:hover) .track-start{background-color:${colorCompoundBrandBackgroundHover}}:host([disabled]:hover) .track-start{background-color:${colorNeutralForegroundDisabled}}.track-start:active{background-color:${colorCompoundBrandBackgroundPressed}}:host([orientation='vertical']) .track-start{height:auto;width:100%;bottom:0}`;
|
|
7760
|
+
|
|
7761
|
+
const template$3 = sliderTemplate({
|
|
7762
|
+
thumb: `<div class="thumb-cursor" tabindex="0"></div>`
|
|
7763
|
+
});
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
* The Fluent Slider Element.
|
|
7767
|
+
*
|
|
7768
|
+
*
|
|
7769
|
+
* @public
|
|
7770
|
+
* @remarks
|
|
7771
|
+
* HTML Element: \<fluent-slider\>
|
|
7772
|
+
*/
|
|
7773
|
+
const definition$3 = Slider.compose({
|
|
7774
|
+
name: `${FluentDesignSystem.prefix}-slider`,
|
|
7217
7775
|
template: template$3,
|
|
7218
7776
|
styles: styles$3
|
|
7219
7777
|
});
|
|
@@ -7492,4 +8050,4 @@ const setTheme = theme => {
|
|
|
7492
8050
|
}
|
|
7493
8051
|
};
|
|
7494
8052
|
|
|
7495
|
-
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$8 as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$8 as AvatarStyles, template$8 as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$7 as BadgeDefinition, BadgeShape, BadgeSize, styles$7 as BadgeStyles, template$7 as BadgeTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$6 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$6 as CounterBadgeStyles, template$6 as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$5 as DividerDefinition, DividerOrientation, DividerRole, styles$5 as DividerStyles, template$5 as DividerTemplate, Image, definition$4 as ImageDefinition, ImageFit, ImageShape, styles$4 as ImageStyles, template$4 as ImageTemplate, ProgressBar, definition$3 as ProgressBarDefinition, ProgressBarShape, styles$3 as ProgressBarStyles, template$3 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Spinner, SpinnerAppearance, definition$2 as SpinnerDefinition, SpinnerSize, styles$2 as SpinnerStyles, template$2 as SpinnerTemplate, Switch, SwitchLabelPosition, Text, TextAlign, definition as TextDefinition, TextFont, TextSize, styles as TextStyles, template as TextTemplate, TextWeight, definition$a as accordionDefinition, definition$9 as accordionItemDefinition, styles$9 as accordionItemStyles, template$9 as accordionItemTemplate, styles$a as accordionStyles, template$a as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$1 as definition, durationFast, durationFaster, durationNormal, durationSlow, durationSlower, durationUltraFast, durationUltraSlow, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, setTheme, shadow16, shadow16Brand, shadow2, shadow28, shadow28Brand, shadow2Brand, shadow4, shadow4Brand, shadow64, shadow64Brand, shadow8, shadow8Brand, spacingHorizontalL, spacingHorizontalM, spacingHorizontalMNudge, spacingHorizontalNone, spacingHorizontalS, spacingHorizontalSNudge, spacingHorizontalXL, spacingHorizontalXS, spacingHorizontalXXL, spacingHorizontalXXS, spacingHorizontalXXXL, spacingVerticalL, spacingVerticalM, spacingVerticalMNudge, spacingVerticalNone, spacingVerticalS, spacingVerticalSNudge, spacingVerticalXL, spacingVerticalXS, spacingVerticalXXL, spacingVerticalXXS, spacingVerticalXXXL, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, strokeWidthThin, styles$1 as switchStyles, template$1 as switchTemplate };
|
|
8053
|
+
export { Accordion, AccordionItem, AccordionItemExpandIconPosition, AccordionItemSize, Avatar, AvatarActive, AvatarAppearance, AvatarColor, definition$9 as AvatarDefinition, AvatarNamedColor, AvatarShape, AvatarSize, styles$9 as AvatarStyles, template$9 as AvatarTemplate, Badge, BadgeAppearance, BadgeColor, definition$8 as BadgeDefinition, BadgeShape, BadgeSize, styles$8 as BadgeStyles, template$8 as BadgeTemplate, CounterBadge, CounterBadgeAppearance, CounterBadgeColor, definition$7 as CounterBadgeDefinition, CounterBadgeShape, CounterBadgeSize, styles$7 as CounterBadgeStyles, template$7 as CounterBadgeTemplate, Divider, DividerAlignContent, DividerAppearance, definition$6 as DividerDefinition, DividerOrientation, DividerRole, styles$6 as DividerStyles, template$6 as DividerTemplate, Image, definition$5 as ImageDefinition, ImageFit, ImageShape, styles$5 as ImageStyles, template$5 as ImageTemplate, ProgressBar, definition$4 as ProgressBarDefinition, ProgressBarShape, styles$4 as ProgressBarStyles, template$4 as ProgressBarTemplate, ProgressBarThickness, ProgressBarValidationState, Slider, definition$3 as SliderDefinition, SliderOrientation, SliderSize, styles$3 as SliderStyles, template$3 as SliderTemplate, Spinner, SpinnerAppearance, definition$2 as SpinnerDefinition, SpinnerSize, styles$2 as SpinnerStyles, template$2 as SpinnerTemplate, Switch, SwitchLabelPosition, Text, TextAlign, definition as TextDefinition, TextFont, TextSize, styles as TextStyles, template as TextTemplate, TextWeight, definition$b as accordionDefinition, definition$a as accordionItemDefinition, styles$a as accordionItemStyles, template$a as accordionItemTemplate, styles$b as accordionStyles, template$b as accordionTemplate, borderRadiusCircular, borderRadiusLarge, borderRadiusMedium, borderRadiusNone, borderRadiusSmall, borderRadiusXLarge, colorBackgroundOverlay, colorBrandBackground, colorBrandBackground2, colorBrandBackgroundHover, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorBrandBackgroundStatic, colorBrandForeground1, colorBrandForeground2, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorBrandShadowAmbient, colorBrandShadowKey, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundDisabled, colorNeutralBackgroundInverted, colorNeutralBackgroundInvertedDisabled, colorNeutralBackgroundStatic, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground1Static, colorNeutralForeground2, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground2Hover, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground3, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInverted, colorNeutralForegroundInverted2, colorNeutralForegroundInvertedDisabled, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundOnBrand, colorNeutralForegroundStaticInverted, colorNeutralShadowAmbient, colorNeutralShadowAmbientDarker, colorNeutralShadowAmbientLighter, colorNeutralShadowKey, colorNeutralShadowKeyDarker, colorNeutralShadowKeyLighter, colorNeutralStencil1, colorNeutralStencil1Alpha, colorNeutralStencil2, colorNeutralStencil2Alpha, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorPaletteAnchorBackground2, colorPaletteAnchorBorderActive, colorPaletteAnchorForeground2, colorPaletteBeigeBackground2, colorPaletteBeigeBorderActive, colorPaletteBeigeForeground2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteBerryBorderActive, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBlueBackground2, colorPaletteBlueBorderActive, colorPaletteBlueForeground2, colorPaletteBrassBackground2, colorPaletteBrassBorderActive, colorPaletteBrassForeground2, colorPaletteBrownBackground2, colorPaletteBrownBorderActive, colorPaletteBrownForeground2, colorPaletteCornflowerBackground2, colorPaletteCornflowerBorderActive, colorPaletteCornflowerForeground2, colorPaletteCranberryBackground2, colorPaletteCranberryBorderActive, colorPaletteCranberryForeground2, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenBorderActive, colorPaletteDarkGreenForeground2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkRedBackground2, colorPaletteDarkRedBorderActive, colorPaletteDarkRedForeground2, colorPaletteForestBackground2, colorPaletteForestBorderActive, colorPaletteForestForeground2, colorPaletteGoldBackground2, colorPaletteGoldBorderActive, colorPaletteGoldForeground2, colorPaletteGrapeBackground2, colorPaletteGrapeBorderActive, colorPaletteGrapeForeground2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteGreenBorderActive, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenForegroundInverted, colorPaletteLavenderBackground2, colorPaletteLavenderBorderActive, colorPaletteLavenderForeground2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteLightGreenBorderActive, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightTealBackground2, colorPaletteLightTealBorderActive, colorPaletteLightTealForeground2, colorPaletteLilacBackground2, colorPaletteLilacBorderActive, colorPaletteLilacForeground2, colorPaletteMagentaBackground2, colorPaletteMagentaBorderActive, colorPaletteMagentaForeground2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteMarigoldBorderActive, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMinkBackground2, colorPaletteMinkBorderActive, colorPaletteMinkForeground2, colorPaletteNavyBackground2, colorPaletteNavyBorderActive, colorPaletteNavyForeground2, colorPalettePeachBackground2, colorPalettePeachBorderActive, colorPalettePeachForeground2, colorPalettePinkBackground2, colorPalettePinkBorderActive, colorPalettePinkForeground2, colorPalettePlatinumBackground2, colorPalettePlatinumBorderActive, colorPalettePlatinumForeground2, colorPalettePlumBackground2, colorPalettePlumBorderActive, colorPalettePlumForeground2, colorPalettePumpkinBackground2, colorPalettePumpkinBorderActive, colorPalettePumpkinForeground2, colorPalettePurpleBackground2, colorPalettePurpleBorderActive, colorPalettePurpleForeground2, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteRedBorderActive, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedForegroundInverted, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueBorderActive, colorPaletteRoyalBlueForeground2, colorPaletteSeafoamBackground2, colorPaletteSeafoamBorderActive, colorPaletteSeafoamForeground2, colorPaletteSteelBackground2, colorPaletteSteelBorderActive, colorPaletteSteelForeground2, colorPaletteTealBackground2, colorPaletteTealBorderActive, colorPaletteTealForeground2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteYellowBorderActive, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowForegroundInverted, colorScrollbarOverlay, colorStrokeFocus1, colorStrokeFocus2, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorTransparentStroke, colorTransparentStrokeDisabled, colorTransparentStrokeInteractive, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEase, curveEasyEaseMax, curveLinear, definition$1 as definition, durationFast, durationFaster, durationNormal, durationSlow, durationSlower, durationUltraFast, durationUltraSlow, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero1000, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontWeightBold, fontWeightMedium, fontWeightRegular, fontWeightSemibold, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero1000, lineHeightHero700, lineHeightHero800, lineHeightHero900, setTheme, shadow16, shadow16Brand, shadow2, shadow28, shadow28Brand, shadow2Brand, shadow4, shadow4Brand, shadow64, shadow64Brand, shadow8, shadow8Brand, spacingHorizontalL, spacingHorizontalM, spacingHorizontalMNudge, spacingHorizontalNone, spacingHorizontalS, spacingHorizontalSNudge, spacingHorizontalXL, spacingHorizontalXS, spacingHorizontalXXL, spacingHorizontalXXS, spacingHorizontalXXXL, spacingVerticalL, spacingVerticalM, spacingVerticalMNudge, spacingVerticalNone, spacingVerticalS, spacingVerticalSNudge, spacingVerticalXL, spacingVerticalXS, spacingVerticalXXL, spacingVerticalXXS, spacingVerticalXXXL, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, strokeWidthThin, styles$1 as switchStyles, template$1 as switchTemplate };
|