@fluentui/web-components 3.0.0-rc.17 → 3.0.0-rc.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -2
- package/custom-elements.json +26 -53
- package/dist/esm/compound-button/compound-button.template.d.ts +3 -1
- package/dist/esm/compound-button/compound-button.template.js +7 -2
- package/dist/esm/compound-button/compound-button.template.js.map +1 -1
- package/dist/esm/define-all.d.ts +42 -0
- package/dist/esm/define-all.js +43 -0
- package/dist/esm/define-all.js.map +1 -0
- package/dist/esm/dialog/dialog.d.ts +37 -9
- package/dist/esm/dialog/dialog.js +87 -45
- package/dist/esm/dialog/dialog.js.map +1 -1
- package/dist/esm/dialog/dialog.template.js +5 -3
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/drawer/drawer.d.ts +36 -7
- package/dist/esm/drawer/drawer.js +74 -42
- package/dist/esm/drawer/drawer.js.map +1 -1
- package/dist/esm/drawer/drawer.template.js +5 -3
- package/dist/esm/drawer/drawer.template.js.map +1 -1
- package/dist/esm/index-all-rollup.d.ts +2 -0
- package/dist/esm/index-all-rollup.js +9 -0
- package/dist/esm/index-all-rollup.js.map +1 -0
- package/dist/esm/index-rollup.d.ts +1 -43
- package/dist/esm/index-rollup.js +6 -43
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/menu-list/menu-list.base.js +7 -1
- package/dist/esm/menu-list/menu-list.base.js.map +1 -1
- package/dist/esm/theme/index.d.ts +1 -1
- package/dist/esm/theme/index.js +1 -1
- package/dist/esm/theme/index.js.map +1 -1
- package/dist/esm/theme/set-theme.d.ts +0 -5
- package/dist/esm/theme/set-theme.js +0 -7
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/tree/tree.base.js +3 -0
- package/dist/esm/tree/tree.base.js.map +1 -1
- package/dist/esm/tree/tree.js +1 -1
- package/dist/esm/tree/tree.js.map +1 -1
- package/dist/esm/tree/tree.template.js +1 -1
- package/dist/web-components-all.js +14970 -0
- package/dist/web-components-all.min.js +47 -0
- package/dist/web-components.d.ts +74 -22
- package/dist/web-components.js +6014 -5407
- package/dist/web-components.min.js +21 -546
- package/package.json +18 -5
|
@@ -32,7 +32,6 @@ import { DrawerPosition, DrawerSize, DrawerType } from './drawer.options.js';
|
|
|
32
32
|
* @tag fluent-drawer
|
|
33
33
|
*/
|
|
34
34
|
export declare class Drawer extends FASTElement {
|
|
35
|
-
protected roleAttrObserver: MutationObserver;
|
|
36
35
|
/**
|
|
37
36
|
* Determines whether the drawer should be displayed as modal or non-modal
|
|
38
37
|
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
@@ -40,7 +39,6 @@ export declare class Drawer extends FASTElement {
|
|
|
40
39
|
* @public
|
|
41
40
|
*/
|
|
42
41
|
type: DrawerType;
|
|
43
|
-
protected typeChanged(): void;
|
|
44
42
|
/**
|
|
45
43
|
* The ID of the element that labels the drawer.
|
|
46
44
|
*
|
|
@@ -60,6 +58,7 @@ export declare class Drawer extends FASTElement {
|
|
|
60
58
|
* @defaultValue start
|
|
61
59
|
*/
|
|
62
60
|
position: DrawerPosition;
|
|
61
|
+
role: string | null;
|
|
63
62
|
/**
|
|
64
63
|
* @public
|
|
65
64
|
* @defaultValue medium
|
|
@@ -72,10 +71,42 @@ export declare class Drawer extends FASTElement {
|
|
|
72
71
|
* @public
|
|
73
72
|
*/
|
|
74
73
|
dialog: HTMLDialogElement;
|
|
75
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
76
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
77
|
+
*
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
get dialogDescribedby(): string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
83
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
get dialogLabel(): string | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
90
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
91
|
+
*
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
get dialogLabelledby(): string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
97
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
98
|
+
*
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
get dialogModal(): boolean | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
104
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
105
|
+
*
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
get dialogRole(): string | null;
|
|
76
109
|
connectedCallback(): void;
|
|
77
|
-
/** @internal */
|
|
78
|
-
disconnectedCallback(): void;
|
|
79
110
|
/**
|
|
80
111
|
* Method to emit an event after the dialog's open state changes
|
|
81
112
|
* HTML spec proposal: https://github.com/whatwg/html/issues/9733
|
|
@@ -115,6 +146,4 @@ export declare class Drawer extends FASTElement {
|
|
|
115
146
|
* @public
|
|
116
147
|
*/
|
|
117
148
|
cancelHandler(): void;
|
|
118
|
-
protected observeRoleAttr(): void;
|
|
119
|
-
protected updateDialogRole(): void;
|
|
120
149
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { attr, FASTElement, observable, Updates } from '@microsoft/fast-element';
|
|
2
|
+
import { attr, FASTElement, observable, Updates, volatile } from '@microsoft/fast-element';
|
|
3
3
|
import { DrawerPosition, DrawerSize, DrawerType } from './drawer.options.js';
|
|
4
4
|
/**
|
|
5
5
|
* A Drawer component that allows content to be displayed in a side panel. It can be rendered as modal or non-modal.
|
|
@@ -35,13 +35,6 @@ import { DrawerPosition, DrawerSize, DrawerType } from './drawer.options.js';
|
|
|
35
35
|
export class Drawer extends FASTElement {
|
|
36
36
|
constructor() {
|
|
37
37
|
super(...arguments);
|
|
38
|
-
/**
|
|
39
|
-
* Determines whether the drawer should be displayed as modal or non-modal
|
|
40
|
-
* When rendered as a modal, an overlay is applied over the rest of the view.
|
|
41
|
-
*
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
this.type = DrawerType.modal;
|
|
45
38
|
/**
|
|
46
39
|
* Sets the position of the drawer (start/end).
|
|
47
40
|
*
|
|
@@ -80,28 +73,67 @@ export class Drawer extends FASTElement {
|
|
|
80
73
|
});
|
|
81
74
|
};
|
|
82
75
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
76
|
+
/**
|
|
77
|
+
* The `aria-describedby` attribute value for the dialog, which is determined by the `ariaDescribedby` property. This
|
|
78
|
+
* is used to ensure that the dialog's accessible description is properly announced by assistive technologies.
|
|
79
|
+
*
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
get dialogDescribedby() {
|
|
83
|
+
if (this.dialog) {
|
|
84
|
+
return this.ariaDescribedby;
|
|
86
85
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* The `aria-label` attribute value for the dialog, which is determined by the `ariaLabel` property. This is used to
|
|
89
|
+
* ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
get dialogLabel() {
|
|
94
|
+
if (this.dialog) {
|
|
95
|
+
return this.ariaLabel;
|
|
90
96
|
}
|
|
91
|
-
|
|
92
|
-
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The `aria-labelledby` attribute value for the dialog, which is determined by the `ariaLabelledby` property. This is
|
|
100
|
+
* used to ensure that the dialog's accessible name is properly announced by assistive technologies.
|
|
101
|
+
*
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
get dialogLabelledby() {
|
|
105
|
+
if (this.dialog) {
|
|
106
|
+
return this.ariaLabelledby;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The modal state of the dialog, which is determined by the `type` property. If the dialog is not a non-modal dialog,
|
|
111
|
+
* the modal state will be true, otherwise it will be undefined.
|
|
112
|
+
*
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
get dialogModal() {
|
|
116
|
+
if (this.dialog && this.type === DrawerType.modal) {
|
|
117
|
+
return true;
|
|
93
118
|
}
|
|
94
119
|
}
|
|
95
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* The role of the dialog, which is determined by the `type` property. If the dialog is an alert dialog, the role will
|
|
122
|
+
* be 'alertdialog', otherwise it will be undefined.
|
|
123
|
+
*
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
get dialogRole() {
|
|
127
|
+
if (this.dialog && this.type === DrawerType.modal) {
|
|
128
|
+
return 'dialog';
|
|
129
|
+
}
|
|
130
|
+
return this.role;
|
|
131
|
+
}
|
|
96
132
|
connectedCallback() {
|
|
97
133
|
super.connectedCallback();
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/** @internal */
|
|
102
|
-
disconnectedCallback() {
|
|
103
|
-
super.disconnectedCallback();
|
|
104
|
-
this.roleAttrObserver.disconnect();
|
|
134
|
+
Updates.enqueue(() => {
|
|
135
|
+
this.type = this.type ?? DrawerType.modal;
|
|
136
|
+
});
|
|
105
137
|
}
|
|
106
138
|
/**
|
|
107
139
|
* Method to show the drawer
|
|
@@ -150,24 +182,6 @@ export class Drawer extends FASTElement {
|
|
|
150
182
|
cancelHandler() {
|
|
151
183
|
this.hide();
|
|
152
184
|
}
|
|
153
|
-
observeRoleAttr() {
|
|
154
|
-
if (this.roleAttrObserver) {
|
|
155
|
-
return;
|
|
156
|
-
}
|
|
157
|
-
this.roleAttrObserver = new MutationObserver(() => {
|
|
158
|
-
this.updateDialogRole();
|
|
159
|
-
});
|
|
160
|
-
this.roleAttrObserver.observe(this, {
|
|
161
|
-
attributes: true,
|
|
162
|
-
attributeFilter: ['role'],
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
updateDialogRole() {
|
|
166
|
-
if (!this.dialog) {
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
this.dialog.role = this.type === DrawerType.modal ? 'dialog' : this.role;
|
|
170
|
-
}
|
|
171
185
|
}
|
|
172
186
|
__decorate([
|
|
173
187
|
attr
|
|
@@ -181,10 +195,28 @@ __decorate([
|
|
|
181
195
|
__decorate([
|
|
182
196
|
attr
|
|
183
197
|
], Drawer.prototype, "position", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
observable
|
|
200
|
+
], Drawer.prototype, "role", void 0);
|
|
184
201
|
__decorate([
|
|
185
202
|
attr({ attribute: 'size' })
|
|
186
203
|
], Drawer.prototype, "size", void 0);
|
|
187
204
|
__decorate([
|
|
188
205
|
observable
|
|
189
206
|
], Drawer.prototype, "dialog", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
volatile
|
|
209
|
+
], Drawer.prototype, "dialogDescribedby", null);
|
|
210
|
+
__decorate([
|
|
211
|
+
volatile
|
|
212
|
+
], Drawer.prototype, "dialogLabel", null);
|
|
213
|
+
__decorate([
|
|
214
|
+
volatile
|
|
215
|
+
], Drawer.prototype, "dialogLabelledby", null);
|
|
216
|
+
__decorate([
|
|
217
|
+
volatile
|
|
218
|
+
], Drawer.prototype, "dialogModal", null);
|
|
219
|
+
__decorate([
|
|
220
|
+
volatile
|
|
221
|
+
], Drawer.prototype, "dialogRole", null);
|
|
190
222
|
//# sourceMappingURL=drawer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../src/drawer/drawer.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"drawer.js","sourceRoot":"","sources":["../../../src/drawer/drawer.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QA0BE;;;;;WAKG;QAEI,aAAQ,GAAmB,cAAc,CAAC,KAAK,CAAC;QAKvD;;;;WAIG;QAEI,SAAI,GAAe,UAAU,CAAC,MAAM,CAAC;QAqF5C;;;;;WAKG;QACI,eAAU,GAAG,GAAS,EAAE;YAC7B,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;gBACnB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM;gBAC9C,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ;aAC/C,CAAC,CAAC;QACL,CAAC,CAAC;QAEF;;;;;WAKG;QACI,qBAAgB,GAAG,GAAS,EAAE;YACnC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE;gBACzB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ;gBAC9C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
@@ -8,9 +8,11 @@ export function drawerTemplate() {
|
|
|
8
8
|
<dialog
|
|
9
9
|
class="dialog"
|
|
10
10
|
part="dialog"
|
|
11
|
-
aria-describedby="${x => x.
|
|
12
|
-
aria-labelledby="${x => x.
|
|
13
|
-
aria-label="${x => x.
|
|
11
|
+
aria-describedby="${x => x.dialogDescribedby}"
|
|
12
|
+
aria-labelledby="${x => x.dialogLabelledby}"
|
|
13
|
+
aria-label="${x => x.dialogLabel}"
|
|
14
|
+
aria-modal="${x => x.dialogModal}"
|
|
15
|
+
role="${x => x.dialogRole}"
|
|
14
16
|
size="${x => x.size}"
|
|
15
17
|
position="${x => x.position}"
|
|
16
18
|
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.template.js","sourceRoot":"","sources":["../../../src/drawer/drawer.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAG9E;;;GAGG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,IAAI,CAAG;;;;0BAIU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"drawer.template.js","sourceRoot":"","sources":["../../../src/drawer/drawer.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,IAAI,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAG9E;;;GAGG;AACH,MAAM,UAAU,cAAc;IAC5B,OAAO,IAAI,CAAG;;;;0BAIU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,iBAAiB;yBACzB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB;oBAC5B,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;oBAClB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW;cACxB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU;cACjB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI;kBACP,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ;gBACjB,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,KAAmB,CAAC;iBAC9C,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,EAAE;QAC/B,GAAG,CAAC,QAAQ,CAAC;;;;GAIlB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAgC,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './define-all.js';
|
|
2
|
+
// import setTheme for export on globalThis for CDN
|
|
3
|
+
import { setTheme } from './theme/index.js';
|
|
4
|
+
// Expose all exports from index.ts
|
|
5
|
+
export * from './index.js';
|
|
6
|
+
// Expose setTheme under Fluent namespace on globalThis for CDN/script-tag consumers
|
|
7
|
+
// @ts-expect-error - CDN bundle intentionally sets globals
|
|
8
|
+
globalThis.Fluent = { ...globalThis.Fluent, setTheme };
|
|
9
|
+
//# sourceMappingURL=index-all-rollup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-all-rollup.js","sourceRoot":"","sources":["../../src/index-all-rollup.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAEzB,mDAAmD;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,mCAAmC;AACnC,cAAc,YAAY,CAAC;AAE3B,oFAAoF;AACpF,2DAA2D;AAC3D,UAAU,CAAC,MAAM,GAAG,EAAE,GAAG,UAAU,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,43 +1 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './accordion/define.js';
|
|
3
|
-
import './anchor-button/define.js';
|
|
4
|
-
import './avatar/define.js';
|
|
5
|
-
import './badge/define.js';
|
|
6
|
-
import './button/define.js';
|
|
7
|
-
import './checkbox/define.js';
|
|
8
|
-
import './compound-button/define.js';
|
|
9
|
-
import './counter-badge/define.js';
|
|
10
|
-
import './dialog/define.js';
|
|
11
|
-
import './dialog-body/define.js';
|
|
12
|
-
import './divider/define.js';
|
|
13
|
-
import './drawer/define.js';
|
|
14
|
-
import './drawer-body/define.js';
|
|
15
|
-
import './dropdown/define.js';
|
|
16
|
-
import './field/define.js';
|
|
17
|
-
import './image/define.js';
|
|
18
|
-
import './label/define.js';
|
|
19
|
-
import './link/define.js';
|
|
20
|
-
import './listbox/define.js';
|
|
21
|
-
import './menu-button/define.js';
|
|
22
|
-
import './menu-item/define.js';
|
|
23
|
-
import './menu-list/define.js';
|
|
24
|
-
import './menu/define.js';
|
|
25
|
-
import './message-bar/define.js';
|
|
26
|
-
import './option/define.js';
|
|
27
|
-
import './progress-bar/define.js';
|
|
28
|
-
import './radio-group/define.js';
|
|
29
|
-
import './radio/define.js';
|
|
30
|
-
import './rating-display/define.js';
|
|
31
|
-
import './slider/define.js';
|
|
32
|
-
import './spinner/define.js';
|
|
33
|
-
import './switch/define.js';
|
|
34
|
-
import './tab/define.js';
|
|
35
|
-
import './tablist/define.js';
|
|
36
|
-
import './textarea/define.js';
|
|
37
|
-
import './text-input/define.js';
|
|
38
|
-
import './text/define.js';
|
|
39
|
-
import './toggle-button/define.js';
|
|
40
|
-
import './tooltip/define.js';
|
|
41
|
-
import './tree/define.js';
|
|
42
|
-
import './tree-item/define.js';
|
|
43
|
-
export { setTheme } from './theme/set-theme.js';
|
|
1
|
+
import './define-all.js';
|
package/dist/esm/index-rollup.js
CHANGED
|
@@ -1,44 +1,7 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import './checkbox/define.js';
|
|
8
|
-
import './compound-button/define.js';
|
|
9
|
-
import './counter-badge/define.js';
|
|
10
|
-
import './dialog/define.js';
|
|
11
|
-
import './dialog-body/define.js';
|
|
12
|
-
import './divider/define.js';
|
|
13
|
-
import './drawer/define.js';
|
|
14
|
-
import './drawer-body/define.js';
|
|
15
|
-
import './dropdown/define.js';
|
|
16
|
-
import './field/define.js';
|
|
17
|
-
import './image/define.js';
|
|
18
|
-
import './label/define.js';
|
|
19
|
-
import './link/define.js';
|
|
20
|
-
import './listbox/define.js';
|
|
21
|
-
import './menu-button/define.js';
|
|
22
|
-
import './menu-item/define.js';
|
|
23
|
-
import './menu-list/define.js';
|
|
24
|
-
import './menu/define.js';
|
|
25
|
-
import './message-bar/define.js';
|
|
26
|
-
import './option/define.js';
|
|
27
|
-
import './progress-bar/define.js';
|
|
28
|
-
import './radio-group/define.js';
|
|
29
|
-
import './radio/define.js';
|
|
30
|
-
import './rating-display/define.js';
|
|
31
|
-
import './slider/define.js';
|
|
32
|
-
import './spinner/define.js';
|
|
33
|
-
import './switch/define.js';
|
|
34
|
-
import './tab/define.js';
|
|
35
|
-
import './tablist/define.js';
|
|
36
|
-
import './textarea/define.js';
|
|
37
|
-
import './text-input/define.js';
|
|
38
|
-
import './text/define.js';
|
|
39
|
-
import './toggle-button/define.js';
|
|
40
|
-
import './tooltip/define.js';
|
|
41
|
-
import './tree/define.js';
|
|
42
|
-
import './tree-item/define.js';
|
|
43
|
-
export { setTheme } from './theme/set-theme.js';
|
|
1
|
+
import './define-all.js';
|
|
2
|
+
// import setTheme for export on globalThis for CDN
|
|
3
|
+
import { setTheme } from './theme/index.js';
|
|
4
|
+
// Expose setTheme under Fluent namespace on globalThis for CDN/script-tag consumers
|
|
5
|
+
// @ts-expect-error - CDN bundle intentionally sets globals
|
|
6
|
+
globalThis.Fluent = { ...globalThis.Fluent, setTheme };
|
|
44
7
|
//# sourceMappingURL=index-rollup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-rollup.js","sourceRoot":"","sources":["../../src/index-rollup.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index-rollup.js","sourceRoot":"","sources":["../../src/index-rollup.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAC;AAEzB,mDAAmD;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,oFAAoF;AACpF,2DAA2D;AAC3D,UAAU,CAAC,MAAM,GAAG,EAAE,GAAG,UAAU,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export { BaseTextInput, TextInput, TextInputAppearance, TextInputControlSize, Te
|
|
|
50
50
|
export type { TextInputOptions } from './text-input/index.js';
|
|
51
51
|
export { Text, TextAlign, TextDefinition, TextFont, TextSize, TextStyles, TextTemplate, TextWeight, } from './text/index.js';
|
|
52
52
|
export * from './theme/design-tokens.js';
|
|
53
|
-
export { setTheme,
|
|
53
|
+
export { setTheme, type Theme } from './theme/index.js';
|
|
54
54
|
export { ToggleButton, ToggleButtonAppearance, ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, ToggleButtonStyles, ToggleButtonTemplate, } from './toggle-button/index.js';
|
|
55
55
|
export type { ToggleButtonOptions } from './toggle-button/index.js';
|
|
56
56
|
export { Tooltip, TooltipDefinition, TooltipPositioningOption, TooltipStyles, TooltipTemplate, } from './tooltip/index.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -40,7 +40,7 @@ export { BaseTextArea, TextArea, TextAreaAppearance, TextAreaAppearancesForDispl
|
|
|
40
40
|
export { BaseTextInput, TextInput, TextInputAppearance, TextInputControlSize, TextInputDefinition, TextInputStyles, TextInputTemplate, TextInputType, } from './text-input/index.js';
|
|
41
41
|
export { Text, TextAlign, TextDefinition, TextFont, TextSize, TextStyles, TextTemplate, TextWeight, } from './text/index.js';
|
|
42
42
|
export * from './theme/design-tokens.js';
|
|
43
|
-
export { setTheme
|
|
43
|
+
export { setTheme } from './theme/index.js';
|
|
44
44
|
export { ToggleButton, ToggleButtonAppearance, ToggleButtonDefinition, ToggleButtonShape, ToggleButtonSize, ToggleButtonStyles, ToggleButtonTemplate, } from './toggle-button/index.js';
|
|
45
45
|
export { Tooltip, TooltipDefinition, TooltipPositioningOption, TooltipStyles, TooltipTemplate, } from './tooltip/index.js';
|
|
46
46
|
export { BaseTree, Tree, TreeDefinition, TreeTemplate, TreeStyles } from './tree/index.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EACL,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EACV,SAAS,EACT,WAAW,EACX,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,UAAU,EACV,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,UAAU,GACX,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,gBAAgB,GACjB,MAA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,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,WAAW,EACX,aAAa,EACb,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,mCAAmC,EACnC,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,aAAa,GACd,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,IAAI,EACJ,SAAS,EACT,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,UAAU,GACX,MAAM,iBAAiB,CAAC;AACzB,cAAc,0BAA0B,CAAC;AACzC,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EACL,MAAM,EACN,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,YAAY,EACZ,cAAc,EACd,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,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AC;AAC5B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC3F,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtG,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
|
-
import { FASTElement, observable, Updates } from '@microsoft/fast-element';
|
|
2
|
+
import { FASTElement, Observable, observable, Updates } from '@microsoft/fast-element';
|
|
3
3
|
import { isHTMLElement } from '../utils/typings.js';
|
|
4
4
|
import { isMenuItem, MenuItemRole } from '../menu-item/menu-item.options.js';
|
|
5
5
|
/**
|
|
@@ -89,6 +89,9 @@ export class BaseMenuList extends FASTElement {
|
|
|
89
89
|
*/
|
|
90
90
|
disconnectedCallback() {
|
|
91
91
|
super.disconnectedCallback();
|
|
92
|
+
Array.from(this.children).forEach(child => {
|
|
93
|
+
Observable.getNotifier(child).unsubscribe(this, 'hidden');
|
|
94
|
+
});
|
|
92
95
|
this.menuChildren = undefined;
|
|
93
96
|
this.removeEventListener('change', this.changedMenuItemHandler);
|
|
94
97
|
}
|
|
@@ -110,6 +113,9 @@ export class BaseMenuList extends FASTElement {
|
|
|
110
113
|
}
|
|
111
114
|
setItems() {
|
|
112
115
|
const children = Array.from(this.children);
|
|
116
|
+
children.forEach((child) => {
|
|
117
|
+
Observable.getNotifier(child).subscribe(this, 'hidden');
|
|
118
|
+
});
|
|
113
119
|
this.menuChildren = children.filter(child => !child.hasAttribute('hidden'));
|
|
114
120
|
/**
|
|
115
121
|
* Set the indent attribute on MenuItem elements based on their
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu-list.base.js","sourceRoot":"","sources":["../../../src/menu-list/menu-list.base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"menu-list.base.js","sourceRoot":"","sources":["../../../src/menu-list/menu-list.base.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAE7E;;;;;GAKG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAajC,YAAY,CAAC,QAAuB,EAAE,QAAuB;QACrE,4DAA4D;QAC5D,4CAA4C;QAC5C,sCAAsC;QACtC,IAAI,IAAI,CAAC,eAAe,CAAC,WAAW,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,EAAE,CAAC;YACxE,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClB,CAAC;IACH,CAAC;aAMc,0BAAqB,GAAG,YAAY,AAAf,CAAgB;IAEpD;QACE,KAAK,EAAE,CAAC;QA5BV;;;;WAIG;QACI,qBAAgB,GAAqB,IAAI,CAAC,eAAe,EAAE,CAAC;QAsDnE;;WAEG;QACa,iBAAY,GAAG,GAAY,EAAE;YAC3C,OAAO,CACL,IAAI,CAAC,aAAa,KAAK,IAAI;gBAC3B,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC;gBACjC,IAAI,CAAC,aAAa,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,UAAU,CACvD,CAAC;QACJ,CAAC,CAAC;QAwDF;;WAEG;QACK,2BAAsB,GAAG,CAAC,CAAQ,EAAQ,EAAE;YAClD,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,EAAE,C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ACO,iBAAiB,CAAC,EAAW;QACrC,OAAO,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,IAAI,IAAI,YAAY,CAAC,qBAAqB,CAAC,CAAC;IAC7G,CAAC;;AA7JM;IADN,UAAU;2CACkB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { borderRadiusNone, borderRadiusSmall, borderRadiusMedium, borderRadiusLarge, borderRadiusXLarge, borderRadiusCircular, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontSizeHero1000, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero700, lineHeightHero800, lineHeightHero900, lineHeightHero1000, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontWeightRegular, fontWeightMedium, fontWeightSemibold, fontWeightBold, strokeWidthThin, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, spacingHorizontalNone, spacingHorizontalXXS, spacingHorizontalXS, spacingHorizontalSNudge, spacingHorizontalS, spacingHorizontalMNudge, spacingHorizontalM, spacingHorizontalL, spacingHorizontalXL, spacingHorizontalXXL, spacingHorizontalXXXL, spacingVerticalNone, spacingVerticalXXS, spacingVerticalXS, spacingVerticalSNudge, spacingVerticalS, spacingVerticalMNudge, spacingVerticalM, spacingVerticalL, spacingVerticalXL, spacingVerticalXXL, spacingVerticalXXXL, durationUltraFast, durationFaster, durationFast, durationNormal, durationSlow, durationSlower, durationUltraSlow, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEaseMax, curveEasyEase, curveLinear, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground2, colorNeutralForeground2Hover, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground3, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInvertedDisabled, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorBrandForeground1, colorBrandForeground2, colorNeutralForeground1Static, colorNeutralForegroundStaticInverted, colorNeutralForegroundInverted, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundInverted2, colorNeutralForegroundOnBrand, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundInverted, colorNeutralBackgroundStatic, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorNeutralBackgroundDisabled, colorNeutralBackgroundInvertedDisabled, colorNeutralStencil1, colorNeutralStencil2, colorNeutralStencil1Alpha, colorNeutralStencil2Alpha, colorBackgroundOverlay, colorScrollbarOverlay, colorBrandBackground, colorBrandBackgroundHover, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorBrandBackgroundStatic, colorBrandBackground2, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorTransparentStroke, colorTransparentStrokeInteractive, colorTransparentStrokeDisabled, colorStrokeFocus1, colorStrokeFocus2, colorNeutralShadowAmbient, colorNeutralShadowKey, colorNeutralShadowAmbientLighter, colorNeutralShadowKeyLighter, colorNeutralShadowAmbientDarker, colorNeutralShadowKeyDarker, colorBrandShadowAmbient, colorBrandShadowKey, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedBorderActive, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenBorderActive, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowBorderActive, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBerryBorderActive, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightGreenBorderActive, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMarigoldBorderActive, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteDarkRedBackground2, colorPaletteDarkRedForeground2, colorPaletteDarkRedBorderActive, colorPaletteCranberryBackground2, colorPaletteCranberryForeground2, colorPaletteCranberryBorderActive, colorPalettePumpkinBackground2, colorPalettePumpkinForeground2, colorPalettePumpkinBorderActive, colorPalettePeachBackground2, colorPalettePeachForeground2, colorPalettePeachBorderActive, colorPaletteGoldBackground2, colorPaletteGoldForeground2, colorPaletteGoldBorderActive, colorPaletteBrassBackground2, colorPaletteBrassForeground2, colorPaletteBrassBorderActive, colorPaletteBrownBackground2, colorPaletteBrownForeground2, colorPaletteBrownBorderActive, colorPaletteForestBackground2, colorPaletteForestForeground2, colorPaletteForestBorderActive, colorPaletteSeafoamBackground2, colorPaletteSeafoamForeground2, colorPaletteSeafoamBorderActive, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenForeground2, colorPaletteDarkGreenBorderActive, colorPaletteLightTealBackground2, colorPaletteLightTealForeground2, colorPaletteLightTealBorderActive, colorPaletteTealBackground2, colorPaletteTealForeground2, colorPaletteTealBorderActive, colorPaletteSteelBackground2, colorPaletteSteelForeground2, colorPaletteSteelBorderActive, colorPaletteBlueBackground2, colorPaletteBlueForeground2, colorPaletteBlueBorderActive, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueForeground2, colorPaletteRoyalBlueBorderActive, colorPaletteCornflowerBackground2, colorPaletteCornflowerForeground2, colorPaletteCornflowerBorderActive, colorPaletteNavyBackground2, colorPaletteNavyForeground2, colorPaletteNavyBorderActive, colorPaletteLavenderBackground2, colorPaletteLavenderForeground2, colorPaletteLavenderBorderActive, colorPalettePurpleBackground2, colorPalettePurpleForeground2, colorPalettePurpleBorderActive, colorPaletteGrapeBackground2, colorPaletteGrapeForeground2, colorPaletteGrapeBorderActive, colorPaletteLilacBackground2, colorPaletteLilacForeground2, colorPaletteLilacBorderActive, colorPalettePinkBackground2, colorPalettePinkForeground2, colorPalettePinkBorderActive, colorPaletteMagentaBackground2, colorPaletteMagentaForeground2, colorPaletteMagentaBorderActive, colorPalettePlumBackground2, colorPalettePlumForeground2, colorPalettePlumBorderActive, colorPaletteBeigeBackground2, colorPaletteBeigeForeground2, colorPaletteBeigeBorderActive, colorPaletteMinkBackground2, colorPaletteMinkForeground2, colorPaletteMinkBorderActive, colorPalettePlatinumBackground2, colorPalettePlatinumForeground2, colorPalettePlatinumBorderActive, colorPaletteAnchorBackground2, colorPaletteAnchorForeground2, colorPaletteAnchorBorderActive, colorPaletteRedForegroundInverted, colorPaletteGreenForegroundInverted, colorPaletteYellowForegroundInverted, shadow2, shadow4, shadow8, shadow16, shadow28, shadow64, shadow2Brand, shadow4Brand, shadow8Brand, shadow16Brand, shadow28Brand, shadow64Brand, } from './design-tokens.js';
|
|
2
|
-
export { setTheme,
|
|
2
|
+
export { setTheme, type Theme } from './set-theme.js';
|
package/dist/esm/theme/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { borderRadiusNone, borderRadiusSmall, borderRadiusMedium, borderRadiusLarge, borderRadiusXLarge, borderRadiusCircular, fontSizeBase100, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontSizeBase500, fontSizeBase600, fontSizeHero700, fontSizeHero800, fontSizeHero900, fontSizeHero1000, lineHeightBase100, lineHeightBase200, lineHeightBase300, lineHeightBase400, lineHeightBase500, lineHeightBase600, lineHeightHero700, lineHeightHero800, lineHeightHero900, lineHeightHero1000, fontFamilyBase, fontFamilyMonospace, fontFamilyNumeric, fontWeightRegular, fontWeightMedium, fontWeightSemibold, fontWeightBold, strokeWidthThin, strokeWidthThick, strokeWidthThicker, strokeWidthThickest, spacingHorizontalNone, spacingHorizontalXXS, spacingHorizontalXS, spacingHorizontalSNudge, spacingHorizontalS, spacingHorizontalMNudge, spacingHorizontalM, spacingHorizontalL, spacingHorizontalXL, spacingHorizontalXXL, spacingHorizontalXXXL, spacingVerticalNone, spacingVerticalXXS, spacingVerticalXS, spacingVerticalSNudge, spacingVerticalS, spacingVerticalMNudge, spacingVerticalM, spacingVerticalL, spacingVerticalXL, spacingVerticalXXL, spacingVerticalXXXL, durationUltraFast, durationFaster, durationFast, durationNormal, durationSlow, durationSlower, durationUltraSlow, curveAccelerateMax, curveAccelerateMid, curveAccelerateMin, curveDecelerateMax, curveDecelerateMid, curveDecelerateMin, curveEasyEaseMax, curveEasyEase, curveLinear, colorNeutralForeground1, colorNeutralForeground1Hover, colorNeutralForeground1Pressed, colorNeutralForeground1Selected, colorNeutralForeground2, colorNeutralForeground2Hover, colorNeutralForeground2Pressed, colorNeutralForeground2Selected, colorNeutralForeground2BrandHover, colorNeutralForeground2BrandPressed, colorNeutralForeground2BrandSelected, colorNeutralForeground3, colorNeutralForeground3Hover, colorNeutralForeground3Pressed, colorNeutralForeground3Selected, colorNeutralForeground3BrandHover, colorNeutralForeground3BrandPressed, colorNeutralForeground3BrandSelected, colorNeutralForeground4, colorNeutralForegroundDisabled, colorNeutralForegroundInvertedDisabled, colorBrandForegroundLink, colorBrandForegroundLinkHover, colorBrandForegroundLinkPressed, colorBrandForegroundLinkSelected, colorNeutralForeground2Link, colorNeutralForeground2LinkHover, colorNeutralForeground2LinkPressed, colorNeutralForeground2LinkSelected, colorCompoundBrandForeground1, colorCompoundBrandForeground1Hover, colorCompoundBrandForeground1Pressed, colorBrandForeground1, colorBrandForeground2, colorNeutralForeground1Static, colorNeutralForegroundStaticInverted, colorNeutralForegroundInverted, colorNeutralForegroundInvertedHover, colorNeutralForegroundInvertedPressed, colorNeutralForegroundInvertedSelected, colorNeutralForegroundInverted2, colorNeutralForegroundOnBrand, colorNeutralForegroundInvertedLink, colorNeutralForegroundInvertedLinkHover, colorNeutralForegroundInvertedLinkPressed, colorNeutralForegroundInvertedLinkSelected, colorBrandForegroundInverted, colorBrandForegroundInvertedHover, colorBrandForegroundInvertedPressed, colorBrandForegroundOnLight, colorBrandForegroundOnLightHover, colorBrandForegroundOnLightPressed, colorBrandForegroundOnLightSelected, colorNeutralBackground1, colorNeutralBackground1Hover, colorNeutralBackground1Pressed, colorNeutralBackground1Selected, colorNeutralBackground2, colorNeutralBackground2Hover, colorNeutralBackground2Pressed, colorNeutralBackground2Selected, colorNeutralBackground3, colorNeutralBackground3Hover, colorNeutralBackground3Pressed, colorNeutralBackground3Selected, colorNeutralBackground4, colorNeutralBackground4Hover, colorNeutralBackground4Pressed, colorNeutralBackground4Selected, colorNeutralBackground5, colorNeutralBackground5Hover, colorNeutralBackground5Pressed, colorNeutralBackground5Selected, colorNeutralBackground6, colorNeutralBackgroundInverted, colorNeutralBackgroundStatic, colorSubtleBackground, colorSubtleBackgroundHover, colorSubtleBackgroundPressed, colorSubtleBackgroundSelected, colorSubtleBackgroundLightAlphaHover, colorSubtleBackgroundLightAlphaPressed, colorSubtleBackgroundLightAlphaSelected, colorSubtleBackgroundInverted, colorSubtleBackgroundInvertedHover, colorSubtleBackgroundInvertedPressed, colorSubtleBackgroundInvertedSelected, colorTransparentBackground, colorTransparentBackgroundHover, colorTransparentBackgroundPressed, colorTransparentBackgroundSelected, colorNeutralBackgroundDisabled, colorNeutralBackgroundInvertedDisabled, colorNeutralStencil1, colorNeutralStencil2, colorNeutralStencil1Alpha, colorNeutralStencil2Alpha, colorBackgroundOverlay, colorScrollbarOverlay, colorBrandBackground, colorBrandBackgroundHover, colorBrandBackgroundPressed, colorBrandBackgroundSelected, colorCompoundBrandBackground, colorCompoundBrandBackgroundHover, colorCompoundBrandBackgroundPressed, colorBrandBackgroundStatic, colorBrandBackground2, colorBrandBackgroundInverted, colorBrandBackgroundInvertedHover, colorBrandBackgroundInvertedPressed, colorBrandBackgroundInvertedSelected, colorNeutralStrokeAccessible, colorNeutralStrokeAccessibleHover, colorNeutralStrokeAccessiblePressed, colorNeutralStrokeAccessibleSelected, colorNeutralStroke1, colorNeutralStroke1Hover, colorNeutralStroke1Pressed, colorNeutralStroke1Selected, colorNeutralStroke2, colorNeutralStroke3, colorNeutralStrokeOnBrand, colorNeutralStrokeOnBrand2, colorNeutralStrokeOnBrand2Hover, colorNeutralStrokeOnBrand2Pressed, colorNeutralStrokeOnBrand2Selected, colorBrandStroke1, colorBrandStroke2, colorCompoundBrandStroke, colorCompoundBrandStrokeHover, colorCompoundBrandStrokePressed, colorNeutralStrokeDisabled, colorNeutralStrokeInvertedDisabled, colorTransparentStroke, colorTransparentStrokeInteractive, colorTransparentStrokeDisabled, colorStrokeFocus1, colorStrokeFocus2, colorNeutralShadowAmbient, colorNeutralShadowKey, colorNeutralShadowAmbientLighter, colorNeutralShadowKeyLighter, colorNeutralShadowAmbientDarker, colorNeutralShadowKeyDarker, colorBrandShadowAmbient, colorBrandShadowKey, colorPaletteRedBackground1, colorPaletteRedBackground2, colorPaletteRedBackground3, colorPaletteRedForeground1, colorPaletteRedForeground2, colorPaletteRedForeground3, colorPaletteRedBorderActive, colorPaletteRedBorder1, colorPaletteRedBorder2, colorPaletteGreenBackground1, colorPaletteGreenBackground2, colorPaletteGreenBackground3, colorPaletteGreenForeground1, colorPaletteGreenForeground2, colorPaletteGreenForeground3, colorPaletteGreenBorderActive, colorPaletteGreenBorder1, colorPaletteGreenBorder2, colorPaletteDarkOrangeBackground1, colorPaletteDarkOrangeBackground2, colorPaletteDarkOrangeBackground3, colorPaletteDarkOrangeForeground1, colorPaletteDarkOrangeForeground2, colorPaletteDarkOrangeForeground3, colorPaletteDarkOrangeBorderActive, colorPaletteDarkOrangeBorder1, colorPaletteDarkOrangeBorder2, colorPaletteYellowBackground1, colorPaletteYellowBackground2, colorPaletteYellowBackground3, colorPaletteYellowForeground1, colorPaletteYellowForeground2, colorPaletteYellowForeground3, colorPaletteYellowBorderActive, colorPaletteYellowBorder1, colorPaletteYellowBorder2, colorPaletteBerryBackground1, colorPaletteBerryBackground2, colorPaletteBerryBackground3, colorPaletteBerryForeground1, colorPaletteBerryForeground2, colorPaletteBerryForeground3, colorPaletteBerryBorderActive, colorPaletteBerryBorder1, colorPaletteBerryBorder2, colorPaletteLightGreenBackground1, colorPaletteLightGreenBackground2, colorPaletteLightGreenBackground3, colorPaletteLightGreenForeground1, colorPaletteLightGreenForeground2, colorPaletteLightGreenForeground3, colorPaletteLightGreenBorderActive, colorPaletteLightGreenBorder1, colorPaletteLightGreenBorder2, colorPaletteMarigoldBackground1, colorPaletteMarigoldBackground2, colorPaletteMarigoldBackground3, colorPaletteMarigoldForeground1, colorPaletteMarigoldForeground2, colorPaletteMarigoldForeground3, colorPaletteMarigoldBorderActive, colorPaletteMarigoldBorder1, colorPaletteMarigoldBorder2, colorPaletteDarkRedBackground2, colorPaletteDarkRedForeground2, colorPaletteDarkRedBorderActive, colorPaletteCranberryBackground2, colorPaletteCranberryForeground2, colorPaletteCranberryBorderActive, colorPalettePumpkinBackground2, colorPalettePumpkinForeground2, colorPalettePumpkinBorderActive, colorPalettePeachBackground2, colorPalettePeachForeground2, colorPalettePeachBorderActive, colorPaletteGoldBackground2, colorPaletteGoldForeground2, colorPaletteGoldBorderActive, colorPaletteBrassBackground2, colorPaletteBrassForeground2, colorPaletteBrassBorderActive, colorPaletteBrownBackground2, colorPaletteBrownForeground2, colorPaletteBrownBorderActive, colorPaletteForestBackground2, colorPaletteForestForeground2, colorPaletteForestBorderActive, colorPaletteSeafoamBackground2, colorPaletteSeafoamForeground2, colorPaletteSeafoamBorderActive, colorPaletteDarkGreenBackground2, colorPaletteDarkGreenForeground2, colorPaletteDarkGreenBorderActive, colorPaletteLightTealBackground2, colorPaletteLightTealForeground2, colorPaletteLightTealBorderActive, colorPaletteTealBackground2, colorPaletteTealForeground2, colorPaletteTealBorderActive, colorPaletteSteelBackground2, colorPaletteSteelForeground2, colorPaletteSteelBorderActive, colorPaletteBlueBackground2, colorPaletteBlueForeground2, colorPaletteBlueBorderActive, colorPaletteRoyalBlueBackground2, colorPaletteRoyalBlueForeground2, colorPaletteRoyalBlueBorderActive, colorPaletteCornflowerBackground2, colorPaletteCornflowerForeground2, colorPaletteCornflowerBorderActive, colorPaletteNavyBackground2, colorPaletteNavyForeground2, colorPaletteNavyBorderActive, colorPaletteLavenderBackground2, colorPaletteLavenderForeground2, colorPaletteLavenderBorderActive, colorPalettePurpleBackground2, colorPalettePurpleForeground2, colorPalettePurpleBorderActive, colorPaletteGrapeBackground2, colorPaletteGrapeForeground2, colorPaletteGrapeBorderActive, colorPaletteLilacBackground2, colorPaletteLilacForeground2, colorPaletteLilacBorderActive, colorPalettePinkBackground2, colorPalettePinkForeground2, colorPalettePinkBorderActive, colorPaletteMagentaBackground2, colorPaletteMagentaForeground2, colorPaletteMagentaBorderActive, colorPalettePlumBackground2, colorPalettePlumForeground2, colorPalettePlumBorderActive, colorPaletteBeigeBackground2, colorPaletteBeigeForeground2, colorPaletteBeigeBorderActive, colorPaletteMinkBackground2, colorPaletteMinkForeground2, colorPaletteMinkBorderActive, colorPalettePlatinumBackground2, colorPalettePlatinumForeground2, colorPalettePlatinumBorderActive, colorPaletteAnchorBackground2, colorPaletteAnchorForeground2, colorPaletteAnchorBorderActive, colorPaletteRedForegroundInverted, colorPaletteGreenForegroundInverted, colorPaletteYellowForegroundInverted, shadow2, shadow4, shadow8, shadow16, shadow28, shadow64, shadow2Brand, shadow4Brand, shadow8Brand, shadow16Brand, shadow28Brand, shadow64Brand, } from './design-tokens.js';
|
|
2
|
-
export { setTheme
|
|
2
|
+
export { setTheme } from './set-theme.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACj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EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,mCAAmC,EACnC,oCAAoC,EACpC,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,aAAa,EACb,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,uBAAuB,EACvB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,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Aa,EACb,aAAa,EACb,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAc,MAAM,gBAAgB,CAAC"}
|
|
@@ -22,8 +22,3 @@ export type Theme = Record<string, string | number>;
|
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
24
|
export declare function setTheme(theme: Theme | null, node?: Document | HTMLElement): void;
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
28
|
-
*/
|
|
29
|
-
export declare function setThemeFor(element: HTMLElement, theme: Theme | null): void;
|
|
@@ -180,11 +180,4 @@ function forceRepaint(element) {
|
|
|
180
180
|
Updates.process();
|
|
181
181
|
element.style.setProperty(name, currentValue);
|
|
182
182
|
}
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
* @deprecated Use `setTheme(theme, element)` instead.
|
|
186
|
-
*/
|
|
187
|
-
export function setThemeFor(element, theme) {
|
|
188
|
-
setThemePropertiesOnElement(theme, element);
|
|
189
|
-
}
|
|
190
183
|
//# sourceMappingURL=set-theme.js.map
|