@fluentui/web-components 3.0.0-alpha.10 → 3.0.0-alpha.11
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 +22 -1
- package/CHANGELOG.md +12 -2
- package/dist/esm/accordion/accordion.styles.js +1 -0
- package/dist/esm/accordion/accordion.styles.js.map +1 -1
- package/dist/esm/accordion-item/accordion-item.styles.js +1 -0
- package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
- package/dist/esm/avatar/avatar.styles.js +1 -0
- package/dist/esm/avatar/avatar.styles.js.map +1 -1
- package/dist/esm/divider/divider.styles.js +4 -0
- package/dist/esm/divider/divider.styles.js.map +1 -1
- package/dist/esm/image/image.styles.js +4 -0
- package/dist/esm/image/image.styles.js.map +1 -1
- package/dist/esm/progress-bar/progress-bar.styles.js +1 -0
- package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/esm/spinner/spinner.styles.js +1 -0
- package/dist/esm/spinner/spinner.styles.js.map +1 -1
- package/dist/esm/styles/partials/badge.partials.js +1 -0
- package/dist/esm/styles/partials/badge.partials.js.map +1 -1
- package/dist/esm/switch/switch.styles.js +1 -0
- package/dist/esm/switch/switch.styles.js.map +1 -1
- package/dist/esm/text/text.styles.js +4 -0
- package/dist/esm/text/text.styles.js.map +1 -1
- package/dist/web-components.js +638 -547
- package/dist/web-components.min.js +126 -125
- package/package.json +3 -3
package/dist/web-components.js
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
1
|
import { composedContains, composedParent } from '@microsoft/fast-element/utilities';
|
|
2
2
|
|
|
3
|
+
let kernelMode;
|
|
4
|
+
const kernelAttr = "fast-kernel";
|
|
5
|
+
try {
|
|
6
|
+
if (document.currentScript) {
|
|
7
|
+
kernelMode = document.currentScript.getAttribute(kernelAttr);
|
|
8
|
+
} else {
|
|
9
|
+
const scripts = document.getElementsByTagName("script");
|
|
10
|
+
const currentScript = scripts[scripts.length - 1];
|
|
11
|
+
kernelMode = currentScript.getAttribute(kernelAttr);
|
|
12
|
+
}
|
|
13
|
+
} catch (e) {
|
|
14
|
+
kernelMode = "isolate";
|
|
15
|
+
}
|
|
16
|
+
let KernelServiceId;
|
|
17
|
+
switch (kernelMode) {
|
|
18
|
+
case "share":
|
|
19
|
+
// share the kernel across major versions
|
|
20
|
+
KernelServiceId = Object.freeze({
|
|
21
|
+
updateQueue: 1,
|
|
22
|
+
observable: 2,
|
|
23
|
+
contextEvent: 3,
|
|
24
|
+
elementRegistry: 4
|
|
25
|
+
});
|
|
26
|
+
break;
|
|
27
|
+
case "share-v2":
|
|
28
|
+
// only share the kernel with other v2 instances
|
|
29
|
+
KernelServiceId = Object.freeze({
|
|
30
|
+
updateQueue: 1.2,
|
|
31
|
+
observable: 2.2,
|
|
32
|
+
contextEvent: 3.2,
|
|
33
|
+
elementRegistry: 4.2
|
|
34
|
+
});
|
|
35
|
+
break;
|
|
36
|
+
default:
|
|
37
|
+
// fully isolate the kernel from all other FAST instances
|
|
38
|
+
const postfix = `-${Math.random().toString(36).substring(2, 8)}`;
|
|
39
|
+
KernelServiceId = Object.freeze({
|
|
40
|
+
updateQueue: `1.2${postfix}`,
|
|
41
|
+
observable: `2.2${postfix}`,
|
|
42
|
+
contextEvent: `3.2${postfix}`,
|
|
43
|
+
elementRegistry: `4.2${postfix}`
|
|
44
|
+
});
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Determines whether or not an object is a function.
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
const isFunction = object => typeof object === "function";
|
|
52
|
+
/**
|
|
53
|
+
* Determines whether or not an object is a string.
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
const isString = object => typeof object === "string";
|
|
57
|
+
/**
|
|
58
|
+
* A function which does nothing.
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
const noop = () => void 0;
|
|
62
|
+
|
|
3
63
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
64
|
|
|
5
65
|
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
@@ -118,66 +178,14 @@ function createMetadataLocator() {
|
|
|
118
178
|
return metadata;
|
|
119
179
|
};
|
|
120
180
|
}
|
|
121
|
-
|
|
122
|
-
let kernelMode;
|
|
123
|
-
const kernelAttr = "fast-kernel";
|
|
124
|
-
try {
|
|
125
|
-
if (document.currentScript) {
|
|
126
|
-
kernelMode = document.currentScript.getAttribute(kernelAttr);
|
|
127
|
-
} else {
|
|
128
|
-
const scripts = document.getElementsByTagName("script");
|
|
129
|
-
const currentScript = scripts[scripts.length - 1];
|
|
130
|
-
kernelMode = currentScript.getAttribute(kernelAttr);
|
|
131
|
-
}
|
|
132
|
-
} catch (e) {
|
|
133
|
-
kernelMode = "isolate";
|
|
134
|
-
}
|
|
135
|
-
let KernelServiceId;
|
|
136
|
-
switch (kernelMode) {
|
|
137
|
-
case "share":
|
|
138
|
-
// share the kernel across major versions
|
|
139
|
-
KernelServiceId = Object.freeze({
|
|
140
|
-
updateQueue: 1,
|
|
141
|
-
observable: 2,
|
|
142
|
-
contextEvent: 3,
|
|
143
|
-
elementRegistry: 4
|
|
144
|
-
});
|
|
145
|
-
break;
|
|
146
|
-
case "share-v2":
|
|
147
|
-
// only share the kernel with other v2 instances
|
|
148
|
-
KernelServiceId = Object.freeze({
|
|
149
|
-
updateQueue: 1.2,
|
|
150
|
-
observable: 2.2,
|
|
151
|
-
contextEvent: 3.2,
|
|
152
|
-
elementRegistry: 4.2
|
|
153
|
-
});
|
|
154
|
-
break;
|
|
155
|
-
default:
|
|
156
|
-
// fully isolate the kernel from all other FAST instances
|
|
157
|
-
const postfix = `-${Math.random().toString(36).substring(2, 8)}`;
|
|
158
|
-
KernelServiceId = Object.freeze({
|
|
159
|
-
updateQueue: `1.2${postfix}`,
|
|
160
|
-
observable: `2.2${postfix}`,
|
|
161
|
-
contextEvent: `3.2${postfix}`,
|
|
162
|
-
elementRegistry: `4.2${postfix}`
|
|
163
|
-
});
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
/**
|
|
167
|
-
* Determines whether or not an object is a function.
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const isFunction = object => typeof object === "function";
|
|
171
|
-
/**
|
|
172
|
-
* Determines whether or not an object is a string.
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
175
|
-
const isString = object => typeof object === "string";
|
|
176
181
|
/**
|
|
177
|
-
*
|
|
182
|
+
* Makes a type noop for JSON serialization.
|
|
183
|
+
* @param type - The type to make noop for JSON serialization.
|
|
178
184
|
* @internal
|
|
179
185
|
*/
|
|
180
|
-
|
|
186
|
+
function makeSerializationNoop(type) {
|
|
187
|
+
type.prototype.toJSON = noop;
|
|
188
|
+
}
|
|
181
189
|
|
|
182
190
|
/**
|
|
183
191
|
* The type of HTML aspect to target.
|
|
@@ -573,10 +581,6 @@ const Observable = FAST.getById(KernelServiceId.observable, () => {
|
|
|
573
581
|
this.propertyName = void 0;
|
|
574
582
|
this.notifier = void 0;
|
|
575
583
|
this.next = void 0;
|
|
576
|
-
/**
|
|
577
|
-
* Opts out of JSON stringification.
|
|
578
|
-
*/
|
|
579
|
-
this.toJSON = noop;
|
|
580
584
|
}
|
|
581
585
|
setMode(isAsync) {
|
|
582
586
|
this.isAsync = this.needsQueue = isAsync;
|
|
@@ -674,6 +678,7 @@ const Observable = FAST.getById(KernelServiceId.observable, () => {
|
|
|
674
678
|
}
|
|
675
679
|
}
|
|
676
680
|
}
|
|
681
|
+
makeSerializationNoop(ExpressionNotifierImplementation);
|
|
677
682
|
return Object.freeze({
|
|
678
683
|
/**
|
|
679
684
|
* @internal
|
|
@@ -815,6 +820,62 @@ const ExecutionContext = Object.freeze({
|
|
|
815
820
|
}
|
|
816
821
|
});
|
|
817
822
|
|
|
823
|
+
/**
|
|
824
|
+
* Captures a binding expression along with related information and capabilities.
|
|
825
|
+
*
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
828
|
+
class Binding {
|
|
829
|
+
/**
|
|
830
|
+
* Creates a binding.
|
|
831
|
+
* @param evaluate - Evaluates the binding.
|
|
832
|
+
* @param policy - The security policy to associate with this binding.
|
|
833
|
+
* @param isVolatile - Indicates whether the binding is volatile.
|
|
834
|
+
*/
|
|
835
|
+
constructor(evaluate, policy, isVolatile = false) {
|
|
836
|
+
this.evaluate = evaluate;
|
|
837
|
+
this.policy = policy;
|
|
838
|
+
this.isVolatile = isVolatile;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
class OneWayBinding extends Binding {
|
|
843
|
+
createObserver(subscriber) {
|
|
844
|
+
return Observable.binding(this.evaluate, subscriber, this.isVolatile);
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Creates an standard binding.
|
|
849
|
+
* @param expression - The binding to refresh when changed.
|
|
850
|
+
* @param policy - The security policy to associate with th binding.
|
|
851
|
+
* @param isVolatile - Indicates whether the binding is volatile or not.
|
|
852
|
+
* @returns A binding configuration.
|
|
853
|
+
* @public
|
|
854
|
+
*/
|
|
855
|
+
function oneWay(expression, policy, isVolatile = Observable.isVolatileBinding(expression)) {
|
|
856
|
+
return new OneWayBinding(expression, policy, isVolatile);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
class OneTimeBinding extends Binding {
|
|
860
|
+
createObserver() {
|
|
861
|
+
return this;
|
|
862
|
+
}
|
|
863
|
+
bind(controller) {
|
|
864
|
+
return this.evaluate(controller.source, controller.context);
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
makeSerializationNoop(OneTimeBinding);
|
|
868
|
+
/**
|
|
869
|
+
* Creates a one time binding
|
|
870
|
+
* @param expression - The binding to refresh when signaled.
|
|
871
|
+
* @param policy - The security policy to associate with th binding.
|
|
872
|
+
* @returns A binding configuration.
|
|
873
|
+
* @public
|
|
874
|
+
*/
|
|
875
|
+
function oneTime(expression, policy) {
|
|
876
|
+
return new OneTimeBinding(expression, policy);
|
|
877
|
+
}
|
|
878
|
+
|
|
818
879
|
let DefaultStyleStrategy;
|
|
819
880
|
function reduceStyles(styles) {
|
|
820
881
|
return styles.map(x => x instanceof ElementStyles ? reduceStyles(x.styles) : [x]).reduce((prev, curr) => prev.concat(curr), []);
|
|
@@ -933,6 +994,88 @@ function cssDirective() {
|
|
|
933
994
|
};
|
|
934
995
|
}
|
|
935
996
|
|
|
997
|
+
function handleChange(directive, controller, observer) {
|
|
998
|
+
controller.source.style.setProperty(directive.targetAspect, observer.bind(controller));
|
|
999
|
+
}
|
|
1000
|
+
/**
|
|
1001
|
+
* Enables bindings in CSS.
|
|
1002
|
+
*
|
|
1003
|
+
* @public
|
|
1004
|
+
*/
|
|
1005
|
+
class CSSBindingDirective {
|
|
1006
|
+
/**
|
|
1007
|
+
* Creates an instance of CSSBindingDirective.
|
|
1008
|
+
* @param dataBinding - The binding to use in CSS.
|
|
1009
|
+
* @param targetAspect - The CSS property to target.
|
|
1010
|
+
*/
|
|
1011
|
+
constructor(dataBinding, targetAspect) {
|
|
1012
|
+
this.dataBinding = dataBinding;
|
|
1013
|
+
this.targetAspect = targetAspect;
|
|
1014
|
+
}
|
|
1015
|
+
/**
|
|
1016
|
+
* Creates a CSS fragment to interpolate into the CSS document.
|
|
1017
|
+
* @returns - the string to interpolate into CSS
|
|
1018
|
+
*/
|
|
1019
|
+
createCSS(add) {
|
|
1020
|
+
add(this);
|
|
1021
|
+
return `var(${this.targetAspect})`;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Executed when this behavior is attached to a controller.
|
|
1025
|
+
* @param controller - Controls the behavior lifecycle.
|
|
1026
|
+
*/
|
|
1027
|
+
addedCallback(controller) {
|
|
1028
|
+
var _a;
|
|
1029
|
+
const element = controller.source;
|
|
1030
|
+
if (!element.$cssBindings) {
|
|
1031
|
+
element.$cssBindings = new Map();
|
|
1032
|
+
const setAttribute = element.setAttribute;
|
|
1033
|
+
element.setAttribute = (attr, value) => {
|
|
1034
|
+
setAttribute.call(element, attr, value);
|
|
1035
|
+
if (attr === "style") {
|
|
1036
|
+
element.$cssBindings.forEach((v, k) => handleChange(k, v.controller, v.observer));
|
|
1037
|
+
}
|
|
1038
|
+
};
|
|
1039
|
+
}
|
|
1040
|
+
const observer = (_a = controller[this.targetAspect]) !== null && _a !== void 0 ? _a : controller[this.targetAspect] = this.dataBinding.createObserver(this, this);
|
|
1041
|
+
observer.controller = controller;
|
|
1042
|
+
controller.source.$cssBindings.set(this, {
|
|
1043
|
+
controller,
|
|
1044
|
+
observer
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Executed when this behavior's host is connected.
|
|
1049
|
+
* @param controller - Controls the behavior lifecycle.
|
|
1050
|
+
*/
|
|
1051
|
+
connectedCallback(controller) {
|
|
1052
|
+
handleChange(this, controller, controller[this.targetAspect]);
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Executed when this behavior is detached from a controller.
|
|
1056
|
+
* @param controller - Controls the behavior lifecycle.
|
|
1057
|
+
*/
|
|
1058
|
+
removedCallback(controller) {
|
|
1059
|
+
if (controller.source.$cssBindings) {
|
|
1060
|
+
controller.source.$cssBindings.delete(this);
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
* Called when a subject this instance has subscribed to changes.
|
|
1065
|
+
* @param subject - The subject of the change.
|
|
1066
|
+
* @param args - The event args detailing the change that occurred.
|
|
1067
|
+
*
|
|
1068
|
+
* @internal
|
|
1069
|
+
*/
|
|
1070
|
+
handleChange(_, observer) {
|
|
1071
|
+
handleChange(this, observer.controller, observer);
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
CSSDirective.define(CSSBindingDirective);
|
|
1075
|
+
|
|
1076
|
+
const marker$1 = `${Math.random().toString(36).substring(2, 8)}`;
|
|
1077
|
+
let varId = 0;
|
|
1078
|
+
const nextCSSVariable = () => `--v${marker$1}${++varId}`;
|
|
936
1079
|
function collectStyles(strings, values) {
|
|
937
1080
|
const styles = [];
|
|
938
1081
|
let cssString = "";
|
|
@@ -943,7 +1086,11 @@ function collectStyles(strings, values) {
|
|
|
943
1086
|
for (let i = 0, ii = strings.length - 1; i < ii; ++i) {
|
|
944
1087
|
cssString += strings[i];
|
|
945
1088
|
let value = values[i];
|
|
946
|
-
if (
|
|
1089
|
+
if (isFunction(value)) {
|
|
1090
|
+
value = new CSSBindingDirective(oneWay(value), nextCSSVariable()).createCSS(add);
|
|
1091
|
+
} else if (value instanceof Binding) {
|
|
1092
|
+
value = new CSSBindingDirective(value, nextCSSVariable()).createCSS(add);
|
|
1093
|
+
} else if (CSSDirective.getForInstance(value) !== void 0) {
|
|
947
1094
|
value = value.createCSS(add);
|
|
948
1095
|
}
|
|
949
1096
|
if (value instanceof ElementStyles || value instanceof CSSStyleSheet) {
|
|
@@ -1166,24 +1313,6 @@ function htmlDirective(options) {
|
|
|
1166
1313
|
HTMLDirective.define(type, options);
|
|
1167
1314
|
};
|
|
1168
1315
|
}
|
|
1169
|
-
/**
|
|
1170
|
-
* Captures a binding expression along with related information and capabilities.
|
|
1171
|
-
*
|
|
1172
|
-
* @public
|
|
1173
|
-
*/
|
|
1174
|
-
class Binding {
|
|
1175
|
-
/**
|
|
1176
|
-
* Creates a binding.
|
|
1177
|
-
* @param evaluate - Evaluates the binding.
|
|
1178
|
-
* @param policy - The security policy to associate with this binding.
|
|
1179
|
-
* @param isVolatile - Indicates whether the binding is volatile.
|
|
1180
|
-
*/
|
|
1181
|
-
constructor(evaluate, policy, isVolatile = false) {
|
|
1182
|
-
this.evaluate = evaluate;
|
|
1183
|
-
this.policy = policy;
|
|
1184
|
-
this.isVolatile = isVolatile;
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
1316
|
/**
|
|
1188
1317
|
* A base class used for attribute directives that don't need internal state.
|
|
1189
1318
|
* @public
|
|
@@ -1195,11 +1324,6 @@ class StatelessAttachedAttributeDirective {
|
|
|
1195
1324
|
*/
|
|
1196
1325
|
constructor(options) {
|
|
1197
1326
|
this.options = options;
|
|
1198
|
-
/**
|
|
1199
|
-
* Opts out of JSON stringification.
|
|
1200
|
-
* @internal
|
|
1201
|
-
*/
|
|
1202
|
-
this.toJSON = noop;
|
|
1203
1327
|
}
|
|
1204
1328
|
/**
|
|
1205
1329
|
* Creates a placeholder string based on the directive's index within the template.
|
|
@@ -1218,28 +1342,8 @@ class StatelessAttachedAttributeDirective {
|
|
|
1218
1342
|
return this;
|
|
1219
1343
|
}
|
|
1220
1344
|
}
|
|
1345
|
+
makeSerializationNoop(StatelessAttachedAttributeDirective);
|
|
1221
1346
|
|
|
1222
|
-
class OnChangeBinding extends Binding {
|
|
1223
|
-
createObserver(_, subscriber) {
|
|
1224
|
-
return Observable.binding(this.evaluate, subscriber, this.isVolatile);
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
class OneTimeBinding extends Binding {
|
|
1228
|
-
constructor() {
|
|
1229
|
-
super(...arguments);
|
|
1230
|
-
/**
|
|
1231
|
-
* Opts out of JSON stringification.
|
|
1232
|
-
* @internal
|
|
1233
|
-
*/
|
|
1234
|
-
this.toJSON = noop;
|
|
1235
|
-
}
|
|
1236
|
-
createObserver() {
|
|
1237
|
-
return this;
|
|
1238
|
-
}
|
|
1239
|
-
bind(controller) {
|
|
1240
|
-
return this.evaluate(controller.source, controller.context);
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
1347
|
function updateContent(target, aspect, value, controller) {
|
|
1244
1348
|
// If there's no actual value, then this equates to the
|
|
1245
1349
|
// empty string for the purposes of content bindings.
|
|
@@ -1430,27 +1534,6 @@ class HTMLBindingDirective {
|
|
|
1430
1534
|
HTMLDirective.define(HTMLBindingDirective, {
|
|
1431
1535
|
aspected: true
|
|
1432
1536
|
});
|
|
1433
|
-
/**
|
|
1434
|
-
* Creates an standard binding.
|
|
1435
|
-
* @param expression - The binding to refresh when changed.
|
|
1436
|
-
* @param policy - The security policy to associate with th binding.
|
|
1437
|
-
* @param isVolatile - Indicates whether the binding is volatile or not.
|
|
1438
|
-
* @returns A binding configuration.
|
|
1439
|
-
* @public
|
|
1440
|
-
*/
|
|
1441
|
-
function bind(expression, policy, isVolatile = Observable.isVolatileBinding(expression)) {
|
|
1442
|
-
return new OnChangeBinding(expression, policy, isVolatile);
|
|
1443
|
-
}
|
|
1444
|
-
/**
|
|
1445
|
-
* Creates a one time binding
|
|
1446
|
-
* @param expression - The binding to refresh when signaled.
|
|
1447
|
-
* @param policy - The security policy to associate with th binding.
|
|
1448
|
-
* @returns A binding configuration.
|
|
1449
|
-
* @public
|
|
1450
|
-
*/
|
|
1451
|
-
function oneTime(expression, policy) {
|
|
1452
|
-
return new OneTimeBinding(expression, policy);
|
|
1453
|
-
}
|
|
1454
1537
|
|
|
1455
1538
|
function removeNodeSequence(firstNode, lastNode) {
|
|
1456
1539
|
const parent = firstNode.parentNode;
|
|
@@ -1503,11 +1586,6 @@ class HTMLView {
|
|
|
1503
1586
|
* The length of the current collection within a repeat context.
|
|
1504
1587
|
*/
|
|
1505
1588
|
this.length = 0;
|
|
1506
|
-
/**
|
|
1507
|
-
* Opts out of JSON stringification.
|
|
1508
|
-
* @internal
|
|
1509
|
-
*/
|
|
1510
|
-
this.toJSON = noop;
|
|
1511
1589
|
this.firstChild = fragment.firstChild;
|
|
1512
1590
|
this.lastChild = fragment.lastChild;
|
|
1513
1591
|
}
|
|
@@ -1685,6 +1763,7 @@ class HTMLView {
|
|
|
1685
1763
|
}
|
|
1686
1764
|
}
|
|
1687
1765
|
}
|
|
1766
|
+
makeSerializationNoop(HTMLView);
|
|
1688
1767
|
Observable.defineProperty(HTMLView.prototype, "index");
|
|
1689
1768
|
Observable.defineProperty(HTMLView.prototype, "length");
|
|
1690
1769
|
|
|
@@ -2026,11 +2105,6 @@ class ViewTemplate {
|
|
|
2026
2105
|
constructor(html, factories = {}, policy) {
|
|
2027
2106
|
this.policy = policy;
|
|
2028
2107
|
this.result = null;
|
|
2029
|
-
/**
|
|
2030
|
-
* Opts out of JSON stringification.
|
|
2031
|
-
* @internal
|
|
2032
|
-
*/
|
|
2033
|
-
this.toJSON = noop;
|
|
2034
2108
|
this.html = html;
|
|
2035
2109
|
this.factories = factories;
|
|
2036
2110
|
}
|
|
@@ -2111,7 +2185,7 @@ class ViewTemplate {
|
|
|
2111
2185
|
let definition;
|
|
2112
2186
|
html += currentString;
|
|
2113
2187
|
if (isFunction(currentValue)) {
|
|
2114
|
-
currentValue = new HTMLBindingDirective(
|
|
2188
|
+
currentValue = new HTMLBindingDirective(oneWay(currentValue));
|
|
2115
2189
|
} else if (currentValue instanceof Binding) {
|
|
2116
2190
|
currentValue = new HTMLBindingDirective(currentValue);
|
|
2117
2191
|
} else if (!(definition = HTMLDirective.getForInstance(currentValue))) {
|
|
@@ -2123,6 +2197,7 @@ class ViewTemplate {
|
|
|
2123
2197
|
return new ViewTemplate(html + strings[strings.length - 1], factories, policy);
|
|
2124
2198
|
}
|
|
2125
2199
|
}
|
|
2200
|
+
makeSerializationNoop(ViewTemplate);
|
|
2126
2201
|
/**
|
|
2127
2202
|
* Transforms a template literal string into a ViewTemplate.
|
|
2128
2203
|
* @param strings - The string fragments that are interpolated with the values.
|
|
@@ -2648,11 +2723,6 @@ class ElementController extends PropertyChangeNotifier {
|
|
|
2648
2723
|
* If `null` then the element is managing its own rendering.
|
|
2649
2724
|
*/
|
|
2650
2725
|
this.view = null;
|
|
2651
|
-
/**
|
|
2652
|
-
* Opts out of JSON stringification.
|
|
2653
|
-
* @internal
|
|
2654
|
-
*/
|
|
2655
|
-
this.toJSON = noop;
|
|
2656
2726
|
this.source = element;
|
|
2657
2727
|
this.definition = definition;
|
|
2658
2728
|
const shadowOptions = definition.shadowOptions;
|
|
@@ -2692,6 +2762,27 @@ class ElementController extends PropertyChangeNotifier {
|
|
|
2692
2762
|
Observable.track(this, isConnectedPropertyName);
|
|
2693
2763
|
return this.stage === 1 /* Stages.connected */;
|
|
2694
2764
|
}
|
|
2765
|
+
/**
|
|
2766
|
+
* The context the expression is evaluated against.
|
|
2767
|
+
*/
|
|
2768
|
+
get context() {
|
|
2769
|
+
var _a, _b;
|
|
2770
|
+
return (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.context) !== null && _b !== void 0 ? _b : ExecutionContext.default;
|
|
2771
|
+
}
|
|
2772
|
+
/**
|
|
2773
|
+
* Indicates whether the controller is bound.
|
|
2774
|
+
*/
|
|
2775
|
+
get isBound() {
|
|
2776
|
+
var _a, _b;
|
|
2777
|
+
return (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.isBound) !== null && _b !== void 0 ? _b : false;
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Indicates how the source's lifetime relates to the controller's lifetime.
|
|
2781
|
+
*/
|
|
2782
|
+
get sourceLifetime() {
|
|
2783
|
+
var _a;
|
|
2784
|
+
return (_a = this.view) === null || _a === void 0 ? void 0 : _a.sourceLifetime;
|
|
2785
|
+
}
|
|
2695
2786
|
/**
|
|
2696
2787
|
* Gets/sets the template used to render the component.
|
|
2697
2788
|
* @remarks
|
|
@@ -2752,6 +2843,14 @@ class ElementController extends PropertyChangeNotifier {
|
|
|
2752
2843
|
this.addStyles(value);
|
|
2753
2844
|
}
|
|
2754
2845
|
}
|
|
2846
|
+
/**
|
|
2847
|
+
* Registers an unbind handler with the controller.
|
|
2848
|
+
* @param behavior - An object to call when the controller unbinds.
|
|
2849
|
+
*/
|
|
2850
|
+
onUnbind(behavior) {
|
|
2851
|
+
var _a;
|
|
2852
|
+
(_a = this.view) === null || _a === void 0 ? void 0 : _a.onUnbind(behavior);
|
|
2853
|
+
}
|
|
2755
2854
|
/**
|
|
2756
2855
|
* Adds the behavior to the component.
|
|
2757
2856
|
* @param behavior - The behavior to add.
|
|
@@ -2978,6 +3077,7 @@ class ElementController extends PropertyChangeNotifier {
|
|
|
2978
3077
|
elementControllerStrategy = strategy;
|
|
2979
3078
|
}
|
|
2980
3079
|
}
|
|
3080
|
+
makeSerializationNoop(ElementController);
|
|
2981
3081
|
// Set default strategy for ElementController
|
|
2982
3082
|
ElementController.setStrategy(ElementController);
|
|
2983
3083
|
/**
|
|
@@ -5150,16 +5250,6 @@ class FASTSwitch extends FormAssociatedSwitch {
|
|
|
5150
5250
|
this.proxy.readOnly = this.readOnly;
|
|
5151
5251
|
}
|
|
5152
5252
|
}
|
|
5153
|
-
/**
|
|
5154
|
-
* @internal
|
|
5155
|
-
*/
|
|
5156
|
-
checkedChanged(prev, next) {
|
|
5157
|
-
super.checkedChanged(prev, next);
|
|
5158
|
-
/**
|
|
5159
|
-
* @deprecated - this behavior already exists in the template and should not exist in the class.
|
|
5160
|
-
*/
|
|
5161
|
-
this.checked ? this.classList.add("checked") : this.classList.remove("checked");
|
|
5162
|
-
}
|
|
5163
5253
|
}
|
|
5164
5254
|
__decorate([attr({
|
|
5165
5255
|
attribute: "readonly",
|
|
@@ -5193,7 +5283,7 @@ const template$a = accordionTemplate();
|
|
|
5193
5283
|
const styles$a = css`
|
|
5194
5284
|
${display('flex')}
|
|
5195
5285
|
|
|
5196
|
-
:host{flex-direction:column;width:100
|
|
5286
|
+
:host{flex-direction:column;width:100%;contain:content}`;
|
|
5197
5287
|
|
|
5198
5288
|
const FluentDesignSystem = Object.freeze({
|
|
5199
5289
|
prefix: 'fluent',
|
|
@@ -5646,397 +5736,397 @@ const shadow28Brand = create('shadow28Brand');
|
|
|
5646
5736
|
const shadow64Brand = create('shadow64Brand');
|
|
5647
5737
|
|
|
5648
5738
|
var tokens = /*#__PURE__*/Object.freeze({
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
5739
|
+
__proto__: null,
|
|
5740
|
+
borderRadiusNone: borderRadiusNone,
|
|
5741
|
+
borderRadiusSmall: borderRadiusSmall,
|
|
5742
|
+
borderRadiusMedium: borderRadiusMedium,
|
|
5743
|
+
borderRadiusLarge: borderRadiusLarge,
|
|
5744
|
+
borderRadiusXLarge: borderRadiusXLarge,
|
|
5745
|
+
borderRadiusCircular: borderRadiusCircular,
|
|
5746
|
+
fontSizeBase100: fontSizeBase100,
|
|
5747
|
+
fontSizeBase200: fontSizeBase200,
|
|
5748
|
+
fontSizeBase300: fontSizeBase300,
|
|
5749
|
+
fontSizeBase400: fontSizeBase400,
|
|
5750
|
+
fontSizeBase500: fontSizeBase500,
|
|
5751
|
+
fontSizeBase600: fontSizeBase600,
|
|
5752
|
+
fontSizeHero700: fontSizeHero700,
|
|
5753
|
+
fontSizeHero800: fontSizeHero800,
|
|
5754
|
+
fontSizeHero900: fontSizeHero900,
|
|
5755
|
+
fontSizeHero1000: fontSizeHero1000,
|
|
5756
|
+
lineHeightBase100: lineHeightBase100,
|
|
5757
|
+
lineHeightBase200: lineHeightBase200,
|
|
5758
|
+
lineHeightBase300: lineHeightBase300,
|
|
5759
|
+
lineHeightBase400: lineHeightBase400,
|
|
5760
|
+
lineHeightBase500: lineHeightBase500,
|
|
5761
|
+
lineHeightBase600: lineHeightBase600,
|
|
5762
|
+
lineHeightHero700: lineHeightHero700,
|
|
5763
|
+
lineHeightHero800: lineHeightHero800,
|
|
5764
|
+
lineHeightHero900: lineHeightHero900,
|
|
5765
|
+
lineHeightHero1000: lineHeightHero1000,
|
|
5766
|
+
fontFamilyBase: fontFamilyBase,
|
|
5767
|
+
fontFamilyMonospace: fontFamilyMonospace,
|
|
5768
|
+
fontFamilyNumeric: fontFamilyNumeric,
|
|
5769
|
+
fontWeightRegular: fontWeightRegular,
|
|
5770
|
+
fontWeightMedium: fontWeightMedium,
|
|
5771
|
+
fontWeightSemibold: fontWeightSemibold,
|
|
5772
|
+
fontWeightBold: fontWeightBold,
|
|
5773
|
+
strokeWidthThin: strokeWidthThin,
|
|
5774
|
+
strokeWidthThick: strokeWidthThick,
|
|
5775
|
+
strokeWidthThicker: strokeWidthThicker,
|
|
5776
|
+
strokeWidthThickest: strokeWidthThickest,
|
|
5777
|
+
spacingHorizontalNone: spacingHorizontalNone,
|
|
5778
|
+
spacingHorizontalXXS: spacingHorizontalXXS,
|
|
5779
|
+
spacingHorizontalXS: spacingHorizontalXS,
|
|
5780
|
+
spacingHorizontalSNudge: spacingHorizontalSNudge,
|
|
5781
|
+
spacingHorizontalS: spacingHorizontalS,
|
|
5782
|
+
spacingHorizontalMNudge: spacingHorizontalMNudge,
|
|
5783
|
+
spacingHorizontalM: spacingHorizontalM,
|
|
5784
|
+
spacingHorizontalL: spacingHorizontalL,
|
|
5785
|
+
spacingHorizontalXL: spacingHorizontalXL,
|
|
5786
|
+
spacingHorizontalXXL: spacingHorizontalXXL,
|
|
5787
|
+
spacingHorizontalXXXL: spacingHorizontalXXXL,
|
|
5788
|
+
spacingVerticalNone: spacingVerticalNone,
|
|
5789
|
+
spacingVerticalXXS: spacingVerticalXXS,
|
|
5790
|
+
spacingVerticalXS: spacingVerticalXS,
|
|
5791
|
+
spacingVerticalSNudge: spacingVerticalSNudge,
|
|
5792
|
+
spacingVerticalS: spacingVerticalS,
|
|
5793
|
+
spacingVerticalMNudge: spacingVerticalMNudge,
|
|
5794
|
+
spacingVerticalM: spacingVerticalM,
|
|
5795
|
+
spacingVerticalL: spacingVerticalL,
|
|
5796
|
+
spacingVerticalXL: spacingVerticalXL,
|
|
5797
|
+
spacingVerticalXXL: spacingVerticalXXL,
|
|
5798
|
+
spacingVerticalXXXL: spacingVerticalXXXL,
|
|
5799
|
+
durationUltraFast: durationUltraFast,
|
|
5800
|
+
durationFaster: durationFaster,
|
|
5801
|
+
durationFast: durationFast,
|
|
5802
|
+
durationNormal: durationNormal,
|
|
5803
|
+
durationSlow: durationSlow,
|
|
5804
|
+
durationSlower: durationSlower,
|
|
5805
|
+
durationUltraSlow: durationUltraSlow,
|
|
5806
|
+
curveAccelerateMax: curveAccelerateMax,
|
|
5807
|
+
curveAccelerateMid: curveAccelerateMid,
|
|
5808
|
+
curveAccelerateMin: curveAccelerateMin,
|
|
5809
|
+
curveDecelerateMax: curveDecelerateMax,
|
|
5810
|
+
curveDecelerateMid: curveDecelerateMid,
|
|
5811
|
+
curveDecelerateMin: curveDecelerateMin,
|
|
5812
|
+
curveEasyEaseMax: curveEasyEaseMax,
|
|
5813
|
+
curveEasyEase: curveEasyEase,
|
|
5814
|
+
curveLinear: curveLinear,
|
|
5815
|
+
colorNeutralForeground1: colorNeutralForeground1,
|
|
5816
|
+
colorNeutralForeground1Hover: colorNeutralForeground1Hover,
|
|
5817
|
+
colorNeutralForeground1Pressed: colorNeutralForeground1Pressed,
|
|
5818
|
+
colorNeutralForeground1Selected: colorNeutralForeground1Selected,
|
|
5819
|
+
colorNeutralForeground2: colorNeutralForeground2,
|
|
5820
|
+
colorNeutralForeground2Hover: colorNeutralForeground2Hover,
|
|
5821
|
+
colorNeutralForeground2Pressed: colorNeutralForeground2Pressed,
|
|
5822
|
+
colorNeutralForeground2Selected: colorNeutralForeground2Selected,
|
|
5823
|
+
colorNeutralForeground2BrandHover: colorNeutralForeground2BrandHover,
|
|
5824
|
+
colorNeutralForeground2BrandPressed: colorNeutralForeground2BrandPressed,
|
|
5825
|
+
colorNeutralForeground2BrandSelected: colorNeutralForeground2BrandSelected,
|
|
5826
|
+
colorNeutralForeground3: colorNeutralForeground3,
|
|
5827
|
+
colorNeutralForeground3Hover: colorNeutralForeground3Hover,
|
|
5828
|
+
colorNeutralForeground3Pressed: colorNeutralForeground3Pressed,
|
|
5829
|
+
colorNeutralForeground3Selected: colorNeutralForeground3Selected,
|
|
5830
|
+
colorNeutralForeground3BrandHover: colorNeutralForeground3BrandHover,
|
|
5831
|
+
colorNeutralForeground3BrandPressed: colorNeutralForeground3BrandPressed,
|
|
5832
|
+
colorNeutralForeground3BrandSelected: colorNeutralForeground3BrandSelected,
|
|
5833
|
+
colorNeutralForeground4: colorNeutralForeground4,
|
|
5834
|
+
colorNeutralForegroundDisabled: colorNeutralForegroundDisabled,
|
|
5835
|
+
colorNeutralForegroundInvertedDisabled: colorNeutralForegroundInvertedDisabled,
|
|
5836
|
+
colorBrandForegroundLink: colorBrandForegroundLink,
|
|
5837
|
+
colorBrandForegroundLinkHover: colorBrandForegroundLinkHover,
|
|
5838
|
+
colorBrandForegroundLinkPressed: colorBrandForegroundLinkPressed,
|
|
5839
|
+
colorBrandForegroundLinkSelected: colorBrandForegroundLinkSelected,
|
|
5840
|
+
colorNeutralForeground2Link: colorNeutralForeground2Link,
|
|
5841
|
+
colorNeutralForeground2LinkHover: colorNeutralForeground2LinkHover,
|
|
5842
|
+
colorNeutralForeground2LinkPressed: colorNeutralForeground2LinkPressed,
|
|
5843
|
+
colorNeutralForeground2LinkSelected: colorNeutralForeground2LinkSelected,
|
|
5844
|
+
colorCompoundBrandForeground1: colorCompoundBrandForeground1,
|
|
5845
|
+
colorCompoundBrandForeground1Hover: colorCompoundBrandForeground1Hover,
|
|
5846
|
+
colorCompoundBrandForeground1Pressed: colorCompoundBrandForeground1Pressed,
|
|
5847
|
+
colorBrandForeground1: colorBrandForeground1,
|
|
5848
|
+
colorBrandForeground2: colorBrandForeground2,
|
|
5849
|
+
colorNeutralForeground1Static: colorNeutralForeground1Static,
|
|
5850
|
+
colorNeutralForegroundStaticInverted: colorNeutralForegroundStaticInverted,
|
|
5851
|
+
colorNeutralForegroundInverted: colorNeutralForegroundInverted,
|
|
5852
|
+
colorNeutralForegroundInvertedHover: colorNeutralForegroundInvertedHover,
|
|
5853
|
+
colorNeutralForegroundInvertedPressed: colorNeutralForegroundInvertedPressed,
|
|
5854
|
+
colorNeutralForegroundInvertedSelected: colorNeutralForegroundInvertedSelected,
|
|
5855
|
+
colorNeutralForegroundInverted2: colorNeutralForegroundInverted2,
|
|
5856
|
+
colorNeutralForegroundOnBrand: colorNeutralForegroundOnBrand,
|
|
5857
|
+
colorNeutralForegroundInvertedLink: colorNeutralForegroundInvertedLink,
|
|
5858
|
+
colorNeutralForegroundInvertedLinkHover: colorNeutralForegroundInvertedLinkHover,
|
|
5859
|
+
colorNeutralForegroundInvertedLinkPressed: colorNeutralForegroundInvertedLinkPressed,
|
|
5860
|
+
colorNeutralForegroundInvertedLinkSelected: colorNeutralForegroundInvertedLinkSelected,
|
|
5861
|
+
colorBrandForegroundInverted: colorBrandForegroundInverted,
|
|
5862
|
+
colorBrandForegroundInvertedHover: colorBrandForegroundInvertedHover,
|
|
5863
|
+
colorBrandForegroundInvertedPressed: colorBrandForegroundInvertedPressed,
|
|
5864
|
+
colorBrandForegroundOnLight: colorBrandForegroundOnLight,
|
|
5865
|
+
colorBrandForegroundOnLightHover: colorBrandForegroundOnLightHover,
|
|
5866
|
+
colorBrandForegroundOnLightPressed: colorBrandForegroundOnLightPressed,
|
|
5867
|
+
colorBrandForegroundOnLightSelected: colorBrandForegroundOnLightSelected,
|
|
5868
|
+
colorNeutralBackground1: colorNeutralBackground1,
|
|
5869
|
+
colorNeutralBackground1Hover: colorNeutralBackground1Hover,
|
|
5870
|
+
colorNeutralBackground1Pressed: colorNeutralBackground1Pressed,
|
|
5871
|
+
colorNeutralBackground1Selected: colorNeutralBackground1Selected,
|
|
5872
|
+
colorNeutralBackground2: colorNeutralBackground2,
|
|
5873
|
+
colorNeutralBackground2Hover: colorNeutralBackground2Hover,
|
|
5874
|
+
colorNeutralBackground2Pressed: colorNeutralBackground2Pressed,
|
|
5875
|
+
colorNeutralBackground2Selected: colorNeutralBackground2Selected,
|
|
5876
|
+
colorNeutralBackground3: colorNeutralBackground3,
|
|
5877
|
+
colorNeutralBackground3Hover: colorNeutralBackground3Hover,
|
|
5878
|
+
colorNeutralBackground3Pressed: colorNeutralBackground3Pressed,
|
|
5879
|
+
colorNeutralBackground3Selected: colorNeutralBackground3Selected,
|
|
5880
|
+
colorNeutralBackground4: colorNeutralBackground4,
|
|
5881
|
+
colorNeutralBackground4Hover: colorNeutralBackground4Hover,
|
|
5882
|
+
colorNeutralBackground4Pressed: colorNeutralBackground4Pressed,
|
|
5883
|
+
colorNeutralBackground4Selected: colorNeutralBackground4Selected,
|
|
5884
|
+
colorNeutralBackground5: colorNeutralBackground5,
|
|
5885
|
+
colorNeutralBackground5Hover: colorNeutralBackground5Hover,
|
|
5886
|
+
colorNeutralBackground5Pressed: colorNeutralBackground5Pressed,
|
|
5887
|
+
colorNeutralBackground5Selected: colorNeutralBackground5Selected,
|
|
5888
|
+
colorNeutralBackground6: colorNeutralBackground6,
|
|
5889
|
+
colorNeutralBackgroundInverted: colorNeutralBackgroundInverted,
|
|
5890
|
+
colorNeutralBackgroundStatic: colorNeutralBackgroundStatic,
|
|
5891
|
+
colorSubtleBackground: colorSubtleBackground,
|
|
5892
|
+
colorSubtleBackgroundHover: colorSubtleBackgroundHover,
|
|
5893
|
+
colorSubtleBackgroundPressed: colorSubtleBackgroundPressed,
|
|
5894
|
+
colorSubtleBackgroundSelected: colorSubtleBackgroundSelected,
|
|
5895
|
+
colorSubtleBackgroundLightAlphaHover: colorSubtleBackgroundLightAlphaHover,
|
|
5896
|
+
colorSubtleBackgroundLightAlphaPressed: colorSubtleBackgroundLightAlphaPressed,
|
|
5897
|
+
colorSubtleBackgroundLightAlphaSelected: colorSubtleBackgroundLightAlphaSelected,
|
|
5898
|
+
colorSubtleBackgroundInverted: colorSubtleBackgroundInverted,
|
|
5899
|
+
colorSubtleBackgroundInvertedHover: colorSubtleBackgroundInvertedHover,
|
|
5900
|
+
colorSubtleBackgroundInvertedPressed: colorSubtleBackgroundInvertedPressed,
|
|
5901
|
+
colorSubtleBackgroundInvertedSelected: colorSubtleBackgroundInvertedSelected,
|
|
5902
|
+
colorTransparentBackground: colorTransparentBackground,
|
|
5903
|
+
colorTransparentBackgroundHover: colorTransparentBackgroundHover,
|
|
5904
|
+
colorTransparentBackgroundPressed: colorTransparentBackgroundPressed,
|
|
5905
|
+
colorTransparentBackgroundSelected: colorTransparentBackgroundSelected,
|
|
5906
|
+
colorNeutralBackgroundDisabled: colorNeutralBackgroundDisabled,
|
|
5907
|
+
colorNeutralBackgroundInvertedDisabled: colorNeutralBackgroundInvertedDisabled,
|
|
5908
|
+
colorNeutralStencil1: colorNeutralStencil1,
|
|
5909
|
+
colorNeutralStencil2: colorNeutralStencil2,
|
|
5910
|
+
colorNeutralStencil1Alpha: colorNeutralStencil1Alpha,
|
|
5911
|
+
colorNeutralStencil2Alpha: colorNeutralStencil2Alpha,
|
|
5912
|
+
colorBackgroundOverlay: colorBackgroundOverlay,
|
|
5913
|
+
colorScrollbarOverlay: colorScrollbarOverlay,
|
|
5914
|
+
colorBrandBackground: colorBrandBackground,
|
|
5915
|
+
colorBrandBackgroundHover: colorBrandBackgroundHover,
|
|
5916
|
+
colorBrandBackgroundPressed: colorBrandBackgroundPressed,
|
|
5917
|
+
colorBrandBackgroundSelected: colorBrandBackgroundSelected,
|
|
5918
|
+
colorCompoundBrandBackground: colorCompoundBrandBackground,
|
|
5919
|
+
colorCompoundBrandBackgroundHover: colorCompoundBrandBackgroundHover,
|
|
5920
|
+
colorCompoundBrandBackgroundPressed: colorCompoundBrandBackgroundPressed,
|
|
5921
|
+
colorBrandBackgroundStatic: colorBrandBackgroundStatic,
|
|
5922
|
+
colorBrandBackground2: colorBrandBackground2,
|
|
5923
|
+
colorBrandBackgroundInverted: colorBrandBackgroundInverted,
|
|
5924
|
+
colorBrandBackgroundInvertedHover: colorBrandBackgroundInvertedHover,
|
|
5925
|
+
colorBrandBackgroundInvertedPressed: colorBrandBackgroundInvertedPressed,
|
|
5926
|
+
colorBrandBackgroundInvertedSelected: colorBrandBackgroundInvertedSelected,
|
|
5927
|
+
colorNeutralStrokeAccessible: colorNeutralStrokeAccessible,
|
|
5928
|
+
colorNeutralStrokeAccessibleHover: colorNeutralStrokeAccessibleHover,
|
|
5929
|
+
colorNeutralStrokeAccessiblePressed: colorNeutralStrokeAccessiblePressed,
|
|
5930
|
+
colorNeutralStrokeAccessibleSelected: colorNeutralStrokeAccessibleSelected,
|
|
5931
|
+
colorNeutralStroke1: colorNeutralStroke1,
|
|
5932
|
+
colorNeutralStroke1Hover: colorNeutralStroke1Hover,
|
|
5933
|
+
colorNeutralStroke1Pressed: colorNeutralStroke1Pressed,
|
|
5934
|
+
colorNeutralStroke1Selected: colorNeutralStroke1Selected,
|
|
5935
|
+
colorNeutralStroke2: colorNeutralStroke2,
|
|
5936
|
+
colorNeutralStroke3: colorNeutralStroke3,
|
|
5937
|
+
colorNeutralStrokeOnBrand: colorNeutralStrokeOnBrand,
|
|
5938
|
+
colorNeutralStrokeOnBrand2: colorNeutralStrokeOnBrand2,
|
|
5939
|
+
colorNeutralStrokeOnBrand2Hover: colorNeutralStrokeOnBrand2Hover,
|
|
5940
|
+
colorNeutralStrokeOnBrand2Pressed: colorNeutralStrokeOnBrand2Pressed,
|
|
5941
|
+
colorNeutralStrokeOnBrand2Selected: colorNeutralStrokeOnBrand2Selected,
|
|
5942
|
+
colorBrandStroke1: colorBrandStroke1,
|
|
5943
|
+
colorBrandStroke2: colorBrandStroke2,
|
|
5944
|
+
colorCompoundBrandStroke: colorCompoundBrandStroke,
|
|
5945
|
+
colorCompoundBrandStrokeHover: colorCompoundBrandStrokeHover,
|
|
5946
|
+
colorCompoundBrandStrokePressed: colorCompoundBrandStrokePressed,
|
|
5947
|
+
colorNeutralStrokeDisabled: colorNeutralStrokeDisabled,
|
|
5948
|
+
colorNeutralStrokeInvertedDisabled: colorNeutralStrokeInvertedDisabled,
|
|
5949
|
+
colorTransparentStroke: colorTransparentStroke,
|
|
5950
|
+
colorTransparentStrokeInteractive: colorTransparentStrokeInteractive,
|
|
5951
|
+
colorTransparentStrokeDisabled: colorTransparentStrokeDisabled,
|
|
5952
|
+
colorStrokeFocus1: colorStrokeFocus1,
|
|
5953
|
+
colorStrokeFocus2: colorStrokeFocus2,
|
|
5954
|
+
colorNeutralShadowAmbient: colorNeutralShadowAmbient,
|
|
5955
|
+
colorNeutralShadowKey: colorNeutralShadowKey,
|
|
5956
|
+
colorNeutralShadowAmbientLighter: colorNeutralShadowAmbientLighter,
|
|
5957
|
+
colorNeutralShadowKeyLighter: colorNeutralShadowKeyLighter,
|
|
5958
|
+
colorNeutralShadowAmbientDarker: colorNeutralShadowAmbientDarker,
|
|
5959
|
+
colorNeutralShadowKeyDarker: colorNeutralShadowKeyDarker,
|
|
5960
|
+
colorBrandShadowAmbient: colorBrandShadowAmbient,
|
|
5961
|
+
colorBrandShadowKey: colorBrandShadowKey,
|
|
5962
|
+
colorPaletteRedBackground1: colorPaletteRedBackground1,
|
|
5963
|
+
colorPaletteRedBackground2: colorPaletteRedBackground2,
|
|
5964
|
+
colorPaletteRedBackground3: colorPaletteRedBackground3,
|
|
5965
|
+
colorPaletteRedForeground1: colorPaletteRedForeground1,
|
|
5966
|
+
colorPaletteRedForeground2: colorPaletteRedForeground2,
|
|
5967
|
+
colorPaletteRedForeground3: colorPaletteRedForeground3,
|
|
5968
|
+
colorPaletteRedBorderActive: colorPaletteRedBorderActive,
|
|
5969
|
+
colorPaletteRedBorder1: colorPaletteRedBorder1,
|
|
5970
|
+
colorPaletteRedBorder2: colorPaletteRedBorder2,
|
|
5971
|
+
colorPaletteGreenBackground1: colorPaletteGreenBackground1,
|
|
5972
|
+
colorPaletteGreenBackground2: colorPaletteGreenBackground2,
|
|
5973
|
+
colorPaletteGreenBackground3: colorPaletteGreenBackground3,
|
|
5974
|
+
colorPaletteGreenForeground1: colorPaletteGreenForeground1,
|
|
5975
|
+
colorPaletteGreenForeground2: colorPaletteGreenForeground2,
|
|
5976
|
+
colorPaletteGreenForeground3: colorPaletteGreenForeground3,
|
|
5977
|
+
colorPaletteGreenBorderActive: colorPaletteGreenBorderActive,
|
|
5978
|
+
colorPaletteGreenBorder1: colorPaletteGreenBorder1,
|
|
5979
|
+
colorPaletteGreenBorder2: colorPaletteGreenBorder2,
|
|
5980
|
+
colorPaletteDarkOrangeBackground1: colorPaletteDarkOrangeBackground1,
|
|
5981
|
+
colorPaletteDarkOrangeBackground2: colorPaletteDarkOrangeBackground2,
|
|
5982
|
+
colorPaletteDarkOrangeBackground3: colorPaletteDarkOrangeBackground3,
|
|
5983
|
+
colorPaletteDarkOrangeForeground1: colorPaletteDarkOrangeForeground1,
|
|
5984
|
+
colorPaletteDarkOrangeForeground2: colorPaletteDarkOrangeForeground2,
|
|
5985
|
+
colorPaletteDarkOrangeForeground3: colorPaletteDarkOrangeForeground3,
|
|
5986
|
+
colorPaletteDarkOrangeBorderActive: colorPaletteDarkOrangeBorderActive,
|
|
5987
|
+
colorPaletteDarkOrangeBorder1: colorPaletteDarkOrangeBorder1,
|
|
5988
|
+
colorPaletteDarkOrangeBorder2: colorPaletteDarkOrangeBorder2,
|
|
5989
|
+
colorPaletteYellowBackground1: colorPaletteYellowBackground1,
|
|
5990
|
+
colorPaletteYellowBackground2: colorPaletteYellowBackground2,
|
|
5991
|
+
colorPaletteYellowBackground3: colorPaletteYellowBackground3,
|
|
5992
|
+
colorPaletteYellowForeground1: colorPaletteYellowForeground1,
|
|
5993
|
+
colorPaletteYellowForeground2: colorPaletteYellowForeground2,
|
|
5994
|
+
colorPaletteYellowForeground3: colorPaletteYellowForeground3,
|
|
5995
|
+
colorPaletteYellowBorderActive: colorPaletteYellowBorderActive,
|
|
5996
|
+
colorPaletteYellowBorder1: colorPaletteYellowBorder1,
|
|
5997
|
+
colorPaletteYellowBorder2: colorPaletteYellowBorder2,
|
|
5998
|
+
colorPaletteBerryBackground1: colorPaletteBerryBackground1,
|
|
5999
|
+
colorPaletteBerryBackground2: colorPaletteBerryBackground2,
|
|
6000
|
+
colorPaletteBerryBackground3: colorPaletteBerryBackground3,
|
|
6001
|
+
colorPaletteBerryForeground1: colorPaletteBerryForeground1,
|
|
6002
|
+
colorPaletteBerryForeground2: colorPaletteBerryForeground2,
|
|
6003
|
+
colorPaletteBerryForeground3: colorPaletteBerryForeground3,
|
|
6004
|
+
colorPaletteBerryBorderActive: colorPaletteBerryBorderActive,
|
|
6005
|
+
colorPaletteBerryBorder1: colorPaletteBerryBorder1,
|
|
6006
|
+
colorPaletteBerryBorder2: colorPaletteBerryBorder2,
|
|
6007
|
+
colorPaletteLightGreenBackground1: colorPaletteLightGreenBackground1,
|
|
6008
|
+
colorPaletteLightGreenBackground2: colorPaletteLightGreenBackground2,
|
|
6009
|
+
colorPaletteLightGreenBackground3: colorPaletteLightGreenBackground3,
|
|
6010
|
+
colorPaletteLightGreenForeground1: colorPaletteLightGreenForeground1,
|
|
6011
|
+
colorPaletteLightGreenForeground2: colorPaletteLightGreenForeground2,
|
|
6012
|
+
colorPaletteLightGreenForeground3: colorPaletteLightGreenForeground3,
|
|
6013
|
+
colorPaletteLightGreenBorderActive: colorPaletteLightGreenBorderActive,
|
|
6014
|
+
colorPaletteLightGreenBorder1: colorPaletteLightGreenBorder1,
|
|
6015
|
+
colorPaletteLightGreenBorder2: colorPaletteLightGreenBorder2,
|
|
6016
|
+
colorPaletteMarigoldBackground1: colorPaletteMarigoldBackground1,
|
|
6017
|
+
colorPaletteMarigoldBackground2: colorPaletteMarigoldBackground2,
|
|
6018
|
+
colorPaletteMarigoldBackground3: colorPaletteMarigoldBackground3,
|
|
6019
|
+
colorPaletteMarigoldForeground1: colorPaletteMarigoldForeground1,
|
|
6020
|
+
colorPaletteMarigoldForeground2: colorPaletteMarigoldForeground2,
|
|
6021
|
+
colorPaletteMarigoldForeground3: colorPaletteMarigoldForeground3,
|
|
6022
|
+
colorPaletteMarigoldBorderActive: colorPaletteMarigoldBorderActive,
|
|
6023
|
+
colorPaletteMarigoldBorder1: colorPaletteMarigoldBorder1,
|
|
6024
|
+
colorPaletteMarigoldBorder2: colorPaletteMarigoldBorder2,
|
|
6025
|
+
colorPaletteDarkRedBackground2: colorPaletteDarkRedBackground2,
|
|
6026
|
+
colorPaletteDarkRedForeground2: colorPaletteDarkRedForeground2,
|
|
6027
|
+
colorPaletteDarkRedBorderActive: colorPaletteDarkRedBorderActive,
|
|
6028
|
+
colorPaletteCranberryBackground2: colorPaletteCranberryBackground2,
|
|
6029
|
+
colorPaletteCranberryForeground2: colorPaletteCranberryForeground2,
|
|
6030
|
+
colorPaletteCranberryBorderActive: colorPaletteCranberryBorderActive,
|
|
6031
|
+
colorPalettePumpkinBackground2: colorPalettePumpkinBackground2,
|
|
6032
|
+
colorPalettePumpkinForeground2: colorPalettePumpkinForeground2,
|
|
6033
|
+
colorPalettePumpkinBorderActive: colorPalettePumpkinBorderActive,
|
|
6034
|
+
colorPalettePeachBackground2: colorPalettePeachBackground2,
|
|
6035
|
+
colorPalettePeachForeground2: colorPalettePeachForeground2,
|
|
6036
|
+
colorPalettePeachBorderActive: colorPalettePeachBorderActive,
|
|
6037
|
+
colorPaletteGoldBackground2: colorPaletteGoldBackground2,
|
|
6038
|
+
colorPaletteGoldForeground2: colorPaletteGoldForeground2,
|
|
6039
|
+
colorPaletteGoldBorderActive: colorPaletteGoldBorderActive,
|
|
6040
|
+
colorPaletteBrassBackground2: colorPaletteBrassBackground2,
|
|
6041
|
+
colorPaletteBrassForeground2: colorPaletteBrassForeground2,
|
|
6042
|
+
colorPaletteBrassBorderActive: colorPaletteBrassBorderActive,
|
|
6043
|
+
colorPaletteBrownBackground2: colorPaletteBrownBackground2,
|
|
6044
|
+
colorPaletteBrownForeground2: colorPaletteBrownForeground2,
|
|
6045
|
+
colorPaletteBrownBorderActive: colorPaletteBrownBorderActive,
|
|
6046
|
+
colorPaletteForestBackground2: colorPaletteForestBackground2,
|
|
6047
|
+
colorPaletteForestForeground2: colorPaletteForestForeground2,
|
|
6048
|
+
colorPaletteForestBorderActive: colorPaletteForestBorderActive,
|
|
6049
|
+
colorPaletteSeafoamBackground2: colorPaletteSeafoamBackground2,
|
|
6050
|
+
colorPaletteSeafoamForeground2: colorPaletteSeafoamForeground2,
|
|
6051
|
+
colorPaletteSeafoamBorderActive: colorPaletteSeafoamBorderActive,
|
|
6052
|
+
colorPaletteDarkGreenBackground2: colorPaletteDarkGreenBackground2,
|
|
6053
|
+
colorPaletteDarkGreenForeground2: colorPaletteDarkGreenForeground2,
|
|
6054
|
+
colorPaletteDarkGreenBorderActive: colorPaletteDarkGreenBorderActive,
|
|
6055
|
+
colorPaletteLightTealBackground2: colorPaletteLightTealBackground2,
|
|
6056
|
+
colorPaletteLightTealForeground2: colorPaletteLightTealForeground2,
|
|
6057
|
+
colorPaletteLightTealBorderActive: colorPaletteLightTealBorderActive,
|
|
6058
|
+
colorPaletteTealBackground2: colorPaletteTealBackground2,
|
|
6059
|
+
colorPaletteTealForeground2: colorPaletteTealForeground2,
|
|
6060
|
+
colorPaletteTealBorderActive: colorPaletteTealBorderActive,
|
|
6061
|
+
colorPaletteSteelBackground2: colorPaletteSteelBackground2,
|
|
6062
|
+
colorPaletteSteelForeground2: colorPaletteSteelForeground2,
|
|
6063
|
+
colorPaletteSteelBorderActive: colorPaletteSteelBorderActive,
|
|
6064
|
+
colorPaletteBlueBackground2: colorPaletteBlueBackground2,
|
|
6065
|
+
colorPaletteBlueForeground2: colorPaletteBlueForeground2,
|
|
6066
|
+
colorPaletteBlueBorderActive: colorPaletteBlueBorderActive,
|
|
6067
|
+
colorPaletteRoyalBlueBackground2: colorPaletteRoyalBlueBackground2,
|
|
6068
|
+
colorPaletteRoyalBlueForeground2: colorPaletteRoyalBlueForeground2,
|
|
6069
|
+
colorPaletteRoyalBlueBorderActive: colorPaletteRoyalBlueBorderActive,
|
|
6070
|
+
colorPaletteCornflowerBackground2: colorPaletteCornflowerBackground2,
|
|
6071
|
+
colorPaletteCornflowerForeground2: colorPaletteCornflowerForeground2,
|
|
6072
|
+
colorPaletteCornflowerBorderActive: colorPaletteCornflowerBorderActive,
|
|
6073
|
+
colorPaletteNavyBackground2: colorPaletteNavyBackground2,
|
|
6074
|
+
colorPaletteNavyForeground2: colorPaletteNavyForeground2,
|
|
6075
|
+
colorPaletteNavyBorderActive: colorPaletteNavyBorderActive,
|
|
6076
|
+
colorPaletteLavenderBackground2: colorPaletteLavenderBackground2,
|
|
6077
|
+
colorPaletteLavenderForeground2: colorPaletteLavenderForeground2,
|
|
6078
|
+
colorPaletteLavenderBorderActive: colorPaletteLavenderBorderActive,
|
|
6079
|
+
colorPalettePurpleBackground2: colorPalettePurpleBackground2,
|
|
6080
|
+
colorPalettePurpleForeground2: colorPalettePurpleForeground2,
|
|
6081
|
+
colorPalettePurpleBorderActive: colorPalettePurpleBorderActive,
|
|
6082
|
+
colorPaletteGrapeBackground2: colorPaletteGrapeBackground2,
|
|
6083
|
+
colorPaletteGrapeForeground2: colorPaletteGrapeForeground2,
|
|
6084
|
+
colorPaletteGrapeBorderActive: colorPaletteGrapeBorderActive,
|
|
6085
|
+
colorPaletteLilacBackground2: colorPaletteLilacBackground2,
|
|
6086
|
+
colorPaletteLilacForeground2: colorPaletteLilacForeground2,
|
|
6087
|
+
colorPaletteLilacBorderActive: colorPaletteLilacBorderActive,
|
|
6088
|
+
colorPalettePinkBackground2: colorPalettePinkBackground2,
|
|
6089
|
+
colorPalettePinkForeground2: colorPalettePinkForeground2,
|
|
6090
|
+
colorPalettePinkBorderActive: colorPalettePinkBorderActive,
|
|
6091
|
+
colorPaletteMagentaBackground2: colorPaletteMagentaBackground2,
|
|
6092
|
+
colorPaletteMagentaForeground2: colorPaletteMagentaForeground2,
|
|
6093
|
+
colorPaletteMagentaBorderActive: colorPaletteMagentaBorderActive,
|
|
6094
|
+
colorPalettePlumBackground2: colorPalettePlumBackground2,
|
|
6095
|
+
colorPalettePlumForeground2: colorPalettePlumForeground2,
|
|
6096
|
+
colorPalettePlumBorderActive: colorPalettePlumBorderActive,
|
|
6097
|
+
colorPaletteBeigeBackground2: colorPaletteBeigeBackground2,
|
|
6098
|
+
colorPaletteBeigeForeground2: colorPaletteBeigeForeground2,
|
|
6099
|
+
colorPaletteBeigeBorderActive: colorPaletteBeigeBorderActive,
|
|
6100
|
+
colorPaletteMinkBackground2: colorPaletteMinkBackground2,
|
|
6101
|
+
colorPaletteMinkForeground2: colorPaletteMinkForeground2,
|
|
6102
|
+
colorPaletteMinkBorderActive: colorPaletteMinkBorderActive,
|
|
6103
|
+
colorPalettePlatinumBackground2: colorPalettePlatinumBackground2,
|
|
6104
|
+
colorPalettePlatinumForeground2: colorPalettePlatinumForeground2,
|
|
6105
|
+
colorPalettePlatinumBorderActive: colorPalettePlatinumBorderActive,
|
|
6106
|
+
colorPaletteAnchorBackground2: colorPaletteAnchorBackground2,
|
|
6107
|
+
colorPaletteAnchorForeground2: colorPaletteAnchorForeground2,
|
|
6108
|
+
colorPaletteAnchorBorderActive: colorPaletteAnchorBorderActive,
|
|
6109
|
+
colorPaletteRedForegroundInverted: colorPaletteRedForegroundInverted,
|
|
6110
|
+
colorPaletteGreenForegroundInverted: colorPaletteGreenForegroundInverted,
|
|
6111
|
+
colorPaletteYellowForegroundInverted: colorPaletteYellowForegroundInverted,
|
|
6112
|
+
shadow2: shadow2,
|
|
6113
|
+
shadow4: shadow4,
|
|
6114
|
+
shadow8: shadow8,
|
|
6115
|
+
shadow16: shadow16,
|
|
6116
|
+
shadow28: shadow28,
|
|
6117
|
+
shadow64: shadow64,
|
|
6118
|
+
shadow2Brand: shadow2Brand,
|
|
6119
|
+
shadow4Brand: shadow4Brand,
|
|
6120
|
+
shadow8Brand: shadow8Brand,
|
|
6121
|
+
shadow16Brand: shadow16Brand,
|
|
6122
|
+
shadow28Brand: shadow28Brand,
|
|
6123
|
+
shadow64Brand: shadow64Brand
|
|
6034
6124
|
});
|
|
6035
6125
|
|
|
6036
6126
|
const styles$9 = css`
|
|
6037
6127
|
${display('block')}
|
|
6038
6128
|
|
|
6039
|
-
:host{max-width:fit-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}`;
|
|
6129
|
+
: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}`;
|
|
6040
6130
|
|
|
6041
6131
|
const chevronRight20Filled = html.partial(`<svg
|
|
6042
6132
|
width="20"
|
|
@@ -6356,7 +6446,7 @@ const animations = {
|
|
|
6356
6446
|
* @public
|
|
6357
6447
|
*/
|
|
6358
6448
|
const styles$8 = css`
|
|
6359
|
-
${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}}.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}}`;
|
|
6449
|
+
${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}}`;
|
|
6360
6450
|
|
|
6361
6451
|
/**
|
|
6362
6452
|
* The Fluent Avatar Element.
|
|
@@ -6475,6 +6565,7 @@ const badgeBaseStyles = css.partial`
|
|
|
6475
6565
|
border-color: ${colorTransparentStroke};
|
|
6476
6566
|
background-color: ${colorBrandBackground};
|
|
6477
6567
|
color: ${colorNeutralForegroundOnBrand};
|
|
6568
|
+
contain: content;
|
|
6478
6569
|
}
|
|
6479
6570
|
|
|
6480
6571
|
::slotted(svg) {
|
|
@@ -6963,7 +7054,7 @@ const template$5 = dividerTemplate();
|
|
|
6963
7054
|
const styles$5 = css`
|
|
6964
7055
|
${display('flex')}
|
|
6965
7056
|
|
|
6966
|
-
: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}}`;
|
|
7057
|
+
: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}}`;
|
|
6967
7058
|
|
|
6968
7059
|
/**
|
|
6969
7060
|
* The Fluent Divider Element
|
|
@@ -7027,7 +7118,7 @@ const template$4 = html`<slot></slot>`;
|
|
|
7027
7118
|
* @public
|
|
7028
7119
|
*/
|
|
7029
7120
|
const styles$4 = css`
|
|
7030
|
-
: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}}`;
|
|
7121
|
+
: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}}`;
|
|
7031
7122
|
|
|
7032
7123
|
/**
|
|
7033
7124
|
* The Fluent Image Element
|
|
@@ -7096,7 +7187,7 @@ const ProgressBarValidationState = {
|
|
|
7096
7187
|
const styles$3 = css`
|
|
7097
7188
|
${display('flex')}
|
|
7098
7189
|
|
|
7099
|
-
:host{align-items:center;height:2px;overflow-x:hidden;border-radius:${borderRadiusMedium}}: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(
|
|
7190
|
+
: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(
|
|
7100
7191
|
to right,${colorPaletteRedBackground2} 0%,${colorPaletteRedBackground3} 50%,${colorPaletteRedBackground2}
|
|
7101
7192
|
)}:host([validation-state='warning']) .determinate{background-color:${colorPaletteDarkOrangeBackground3}}:host([validation-state='warning']) .indeterminate-indicator-1,:host([validation-state='warning']) .indeterminate-indicator-2{background:linear-gradient(
|
|
7102
7193
|
to right,${colorPaletteDarkOrangeBackground2} 0%,${colorPaletteDarkOrangeBackground3} 50%,${colorPaletteDarkOrangeBackground2}
|
|
@@ -7181,7 +7272,7 @@ const template$2 = progressRingTemplate({
|
|
|
7181
7272
|
const styles$2 = css`
|
|
7182
7273
|
${display('flex')}
|
|
7183
7274
|
|
|
7184
|
-
:host{display:flex;align-items:center;height:32px;width:32px}: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:${colorBrandStroke2};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${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:${colorNeutralStrokeOnBrand2}}.indeterminate-indicator-1{stroke:${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:${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)}}`;
|
|
7275
|
+
: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:${colorBrandStroke2};stroke-width:1.5px}:host([appearance='inverted']) .background{stroke:rgba(255,255,255,0.2)}.determinate{stroke:${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:${colorNeutralStrokeOnBrand2}}.indeterminate-indicator-1{stroke:${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:${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)}}`;
|
|
7185
7276
|
|
|
7186
7277
|
/**
|
|
7187
7278
|
* The Fluent Spinner Element. Implements {@link @microsoft/fast-foundation#ProgressRing },
|
|
@@ -7220,7 +7311,7 @@ const template$1 = switchTemplate({
|
|
|
7220
7311
|
const styles$1 = css`
|
|
7221
7312
|
${display('inline-flex')}
|
|
7222
7313
|
|
|
7223
|
-
:host{align-items:center;flex-direction:row-reverse;outline:none;user-select:none}: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:${colorNeutralForeground1};line-height:${lineHeightBase300};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};font-family:${fontFamilyBase};padding:${spacingVerticalXS} ${spacingHorizontalXS};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${spacingHorizontalXXS};box-sizing:border-box;width:40px;height:20px;background-color:${colorTransparentBackground};border:1px solid ${colorNeutralStrokeAccessible};border-radius:${borderRadiusCircular};outline:none;cursor:pointer;margin:${spacingVerticalS} ${spacingHorizontalS}}:host(:hover) .switch{background:none;border-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .switch{border-color:${colorNeutralStrokeAccessiblePressed}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${colorNeutralStrokeDisabled};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${colorCompoundBrandBackground}}:host([aria-checked='true']:hover) .switch{background:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandBackgroundHover}}:host([aria-checked='true']:active) .switch{background:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandBackgroundPressed}}:host([aria-checked='true'][disabled]) .switch{background:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${colorNeutralForeground3};transition-duration:${durationNormal};transition-timing-function:${curveEasyEase};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${colorNeutralForegroundInverted};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${colorNeutralForegroundInvertedHover}}:host([aria-checked='true']:active) .checked-indicator{background:${colorNeutralForegroundInvertedPressed}}:host(:hover) .checked-indicator{background-color:${colorNeutralForeground3Hover}}:host(:active) .checked-indicator{background-color:${colorNeutralForeground3Pressed}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${colorNeutralForegroundDisabled}}`;
|
|
7314
|
+
: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:${colorNeutralForeground1};line-height:${lineHeightBase300};font-size:${fontSizeBase300};font-weight:${fontWeightRegular};font-family:${fontFamilyBase};padding:${spacingVerticalXS} ${spacingHorizontalXS};cursor:pointer}.label__hidden{display:none}.switch{display:flex;align-items:center;padding:0 ${spacingHorizontalXXS};box-sizing:border-box;width:40px;height:20px;background-color:${colorTransparentBackground};border:1px solid ${colorNeutralStrokeAccessible};border-radius:${borderRadiusCircular};outline:none;cursor:pointer;margin:${spacingVerticalS} ${spacingHorizontalS}}:host(:hover) .switch{background:none;border-color:${colorNeutralStrokeAccessibleHover}}:host(:active) .switch{border-color:${colorNeutralStrokeAccessiblePressed}}:host([disabled]) .switch,:host([readonly]) .switch{border:1px solid ${colorNeutralStrokeDisabled};background-color:none;pointer:default}:host([aria-checked='true']) .switch{background:${colorCompoundBrandBackground}}:host([aria-checked='true']:hover) .switch{background:${colorCompoundBrandBackgroundHover};border-color:${colorCompoundBrandBackgroundHover}}:host([aria-checked='true']:active) .switch{background:${colorCompoundBrandBackgroundPressed};border-color:${colorCompoundBrandBackgroundPressed}}:host([aria-checked='true'][disabled]) .switch{background:${colorNeutralBackgroundDisabled};border-color:${colorNeutralStrokeDisabled}}.checked-indicator{height:14px;width:14px;border-radius:50%;background-color:${colorNeutralForeground3};transition-duration:${durationNormal};transition-timing-function:${curveEasyEase};transition-property:transform}:host([aria-checked='true']) .checked-indicator{background-color:${colorNeutralForegroundInverted};transform:translateX(20px)}:host([aria-checked='true']:hover) .checked-indicator{background:${colorNeutralForegroundInvertedHover}}:host([aria-checked='true']:active) .checked-indicator{background:${colorNeutralForegroundInvertedPressed}}:host(:hover) .checked-indicator{background-color:${colorNeutralForeground3Hover}}:host(:active) .checked-indicator{background-color:${colorNeutralForeground3Pressed}}:host([disabled]) .checked-indicator,:host([readonly]) .checked-indicator{background:${colorNeutralForegroundDisabled}}:host([aria-checked='true'][disabled]) .checked-indicator{background:${colorNeutralForegroundDisabled}}`;
|
|
7224
7315
|
|
|
7225
7316
|
/**
|
|
7226
7317
|
* The Fluent Switch Element.
|
|
@@ -7374,7 +7465,7 @@ const template = html`<slot></slot>`;
|
|
|
7374
7465
|
const styles = css`
|
|
7375
7466
|
${display('inline')}
|
|
7376
7467
|
|
|
7377
|
-
::slotted(*){font-family:${fontFamilyBase};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${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:${fontSizeBase100};line-height:${lineHeightBase100}}:host([size='200']) ::slotted(*){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='400']) ::slotted(*){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='500']) ::slotted(*){font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([size='600']) ::slotted(*){font-size:${fontSizeBase600};line-height:${lineHeightBase600}}:host([size='700']) ::slotted(*){font-size:${fontSizeHero700};line-height:${lineHeightHero700}}:host([size='800']) ::slotted(*){font-size:${fontSizeHero800};line-height:${lineHeightHero800}}:host([size='900']) ::slotted(*){font-size:${fontSizeHero900};line-height:${lineHeightHero900}}:host([size='1000']) ::slotted(*){font-size:${fontSizeHero1000};line-height:${lineHeightHero1000}}:host([font='monospace']) ::slotted(*){font-family:${fontFamilyMonospace}}:host([font='numeric']) ::slotted(*){font-family:${fontFamilyNumeric}}:host([weight='medium']) ::slotted(*){font-weight:${fontWeightMedium}}:host([weight='semibold']) ::slotted(*){font-weight:${fontWeightSemibold}}:host([weight='bold']) ::slotted(*){font-weight:${fontWeightBold}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`;
|
|
7468
|
+
:host{contain:content}::slotted(*){font-family:${fontFamilyBase};font-size:${fontSizeBase300};line-height:${lineHeightBase300};font-weight:${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:${fontSizeBase100};line-height:${lineHeightBase100}}:host([size='200']) ::slotted(*){font-size:${fontSizeBase200};line-height:${lineHeightBase200}}:host([size='400']) ::slotted(*){font-size:${fontSizeBase400};line-height:${lineHeightBase400}}:host([size='500']) ::slotted(*){font-size:${fontSizeBase500};line-height:${lineHeightBase500}}:host([size='600']) ::slotted(*){font-size:${fontSizeBase600};line-height:${lineHeightBase600}}:host([size='700']) ::slotted(*){font-size:${fontSizeHero700};line-height:${lineHeightHero700}}:host([size='800']) ::slotted(*){font-size:${fontSizeHero800};line-height:${lineHeightHero800}}:host([size='900']) ::slotted(*){font-size:${fontSizeHero900};line-height:${lineHeightHero900}}:host([size='1000']) ::slotted(*){font-size:${fontSizeHero1000};line-height:${lineHeightHero1000}}:host([font='monospace']) ::slotted(*){font-family:${fontFamilyMonospace}}:host([font='numeric']) ::slotted(*){font-family:${fontFamilyNumeric}}:host([weight='medium']) ::slotted(*){font-weight:${fontWeightMedium}}:host([weight='semibold']) ::slotted(*){font-weight:${fontWeightSemibold}}:host([weight='bold']) ::slotted(*){font-weight:${fontWeightBold}}:host([align='center']) ::slotted(*){text-align:center}:host([align='end']) ::slotted(*){text-align:end}:host([align='justify']) ::slotted(*){text-align:justify}`;
|
|
7378
7469
|
|
|
7379
7470
|
/**
|
|
7380
7471
|
* The Fluent Text Element.
|