@fluentui/web-components 3.0.0-rc.26 → 3.0.0-rc.27
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 +12 -2
- package/README.md +26 -0
- package/custom-elements.json +49 -64
- package/dist/esm/accordion/accordion.styles.css +11 -7
- package/dist/esm/accordion/accordion.template.html +4 -3
- package/dist/esm/accordion-item/accordion-item.styles.css +174 -170
- package/dist/esm/accordion-item/accordion-item.template.html +38 -31
- package/dist/esm/anchor-button/anchor-button.styles.css +224 -223
- package/dist/esm/anchor-button/anchor-button.template.html +8 -11
- package/dist/esm/avatar/avatar.styles.css +475 -470
- package/dist/esm/avatar/avatar.template.html +10 -14
- package/dist/esm/badge/badge.styles.css +264 -266
- package/dist/esm/badge/badge.template.html +5 -2
- package/dist/esm/button/button.base.js +2 -0
- package/dist/esm/button/button.base.js.map +1 -1
- package/dist/esm/button/button.styles.css +260 -259
- package/dist/esm/button/button.template.html +8 -10
- package/dist/esm/checkbox/checkbox.base.js +2 -0
- package/dist/esm/checkbox/checkbox.base.js.map +1 -1
- package/dist/esm/checkbox/checkbox.styles.css +146 -142
- package/dist/esm/checkbox/checkbox.template.html +21 -16
- package/dist/esm/compound-button/compound-button.styles.css +363 -365
- package/dist/esm/compound-button/compound-button.template.html +9 -11
- package/dist/esm/counter-badge/counter-badge.styles.css +177 -177
- package/dist/esm/counter-badge/counter-badge.template.html +5 -2
- package/dist/esm/dialog/dialog.styles.css +65 -66
- package/dist/esm/dialog/dialog.template.html +18 -15
- package/dist/esm/dialog-body/dialog-body.styles.css +81 -76
- package/dist/esm/dialog-body/dialog-body.styles.js +1 -0
- package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -1
- package/dist/esm/dialog-body/dialog-body.template.html +2 -1
- package/dist/esm/divider/divider.styles.css +105 -101
- package/dist/esm/divider/divider.template.html +6 -1
- package/dist/esm/drawer/drawer.styles.css +124 -119
- package/dist/esm/drawer/drawer.template.html +5 -2
- package/dist/esm/drawer-body/drawer-body.styles.css +29 -26
- package/dist/esm/drawer-body/drawer-body.template.html +5 -2
- package/dist/esm/dropdown/dropdown.base.d.ts +1 -1
- package/dist/esm/dropdown/dropdown.base.js +3 -1
- package/dist/esm/dropdown/dropdown.base.js.map +1 -1
- package/dist/esm/dropdown/dropdown.styles.css +192 -190
- package/dist/esm/dropdown/dropdown.styles.js +1 -0
- package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
- package/dist/esm/dropdown/dropdown.template.html +26 -19
- package/dist/esm/field/field.styles.css +125 -121
- package/dist/esm/field/field.template.html +3 -2
- package/dist/esm/image/image.styles.css +49 -50
- package/dist/esm/image/image.template.html +6 -1
- package/dist/esm/label/label.styles.css +34 -30
- package/dist/esm/label/label.template.html +5 -2
- package/dist/esm/link/link.styles.css +58 -54
- package/dist/esm/link/link.template.html +4 -7
- package/dist/esm/listbox/listbox.styles.css +40 -36
- package/dist/esm/listbox/listbox.template.html +4 -6
- package/dist/esm/menu/menu.styles.css +56 -52
- package/dist/esm/menu/menu.template.html +6 -5
- package/dist/esm/menu-button/menu-button.styles.css +260 -259
- package/dist/esm/menu-button/menu-button.template.html +23 -14
- package/dist/esm/menu-item/menu-item.js +2 -0
- package/dist/esm/menu-item/menu-item.js.map +1 -1
- package/dist/esm/menu-item/menu-item.styles.css +141 -137
- package/dist/esm/menu-item/menu-item.template.html +48 -17
- package/dist/esm/menu-list/menu-list.styles.css +19 -15
- package/dist/esm/menu-list/menu-list.template.html +4 -3
- package/dist/esm/message-bar/message-bar.styles.css +83 -84
- package/dist/esm/message-bar/message-bar.template.html +7 -2
- package/dist/esm/option/option.styles.css +117 -114
- package/dist/esm/option/option.template.html +17 -14
- package/dist/esm/progress-bar/progress-bar.styles.css +83 -79
- package/dist/esm/progress-bar/progress-bar.template.html +4 -1
- package/dist/esm/radio/radio.styles.css +100 -96
- package/dist/esm/radio/radio.template.html +6 -9
- package/dist/esm/radio-group/radio-group.styles.css +45 -41
- package/dist/esm/radio-group/radio-group.template.html +11 -10
- package/dist/esm/rating-display/rating-display.styles.css +136 -134
- package/dist/esm/rating-display/rating-display.template.html +5 -2
- package/dist/esm/slider/slider.js +2 -0
- package/dist/esm/slider/slider.js.map +1 -1
- package/dist/esm/slider/slider.styles.css +186 -182
- package/dist/esm/slider/slider.template.html +13 -15
- package/dist/esm/spinner/spinner.styles.css +155 -151
- package/dist/esm/spinner/spinner.template.html +16 -11
- package/dist/esm/switch/switch.styles.css +112 -108
- package/dist/esm/switch/switch.template.html +9 -8
- package/dist/esm/tab/tab.js +2 -0
- package/dist/esm/tab/tab.js.map +1 -1
- package/dist/esm/tab/tab.styles.css +112 -108
- package/dist/esm/tab/tab.template.html +6 -5
- package/dist/esm/tablist/tablist.styles.css +194 -190
- package/dist/esm/tablist/tablist.template.html +2 -5
- package/dist/esm/text/text.styles.css +105 -101
- package/dist/esm/text/text.template.html +6 -1
- package/dist/esm/text-input/text-input.base.d.ts +0 -7
- package/dist/esm/text-input/text-input.base.js +3 -14
- package/dist/esm/text-input/text-input.base.js.map +1 -1
- package/dist/esm/text-input/text-input.styles.css +199 -195
- package/dist/esm/text-input/text-input.template.html +34 -35
- package/dist/esm/text-input/text-input.template.js +1 -4
- package/dist/esm/text-input/text-input.template.js.map +1 -1
- package/dist/esm/textarea/textarea.base.js +2 -0
- package/dist/esm/textarea/textarea.base.js.map +1 -1
- package/dist/esm/textarea/textarea.styles.css +254 -250
- package/dist/esm/textarea/textarea.template.html +28 -27
- package/dist/esm/toggle-button/toggle-button.styles.css +360 -357
- package/dist/esm/toggle-button/toggle-button.template.html +8 -10
- package/dist/esm/tooltip/tooltip.styles.css +81 -77
- package/dist/esm/tooltip/tooltip.template.html +6 -1
- package/dist/esm/tree/tree.styles.css +9 -5
- package/dist/esm/tree/tree.template.html +3 -2
- package/dist/esm/tree-item/tree-item.base.js +2 -0
- package/dist/esm/tree-item/tree-item.base.js.map +1 -1
- package/dist/esm/tree-item/tree-item.styles.css +157 -153
- package/dist/esm/tree-item/tree-item.template.html +8 -7
- package/dist/esm/utils/autofocus.d.ts +12 -0
- package/dist/esm/utils/autofocus.js +25 -0
- package/dist/esm/utils/autofocus.js.map +1 -0
- package/dist/web-components-all.js +23 -17
- package/dist/web-components-all.min.js +15 -15
- package/dist/web-components.d.ts +1 -8
- package/dist/web-components.js +23 -17
- package/dist/web-components.min.js +15 -15
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 12 Jun 2026 04:07:31 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-rc.27](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.27)
|
|
8
|
+
|
|
9
|
+
Fri, 12 Jun 2026 04:07:31 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.26..@fluentui/web-components_v3.0.0-rc.27)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- feat(web-components): generate SSR templates and stylesheets into src/ and copy into dist during compile ([PR #36259](https://github.com/microsoft/fluentui/pull/36259) by 863023+radium-v@users.noreply.github.com)
|
|
15
|
+
- fix: make sure autofocus works on all focusable custom elements during initial page load ([PR #36296](https://github.com/microsoft/fluentui/pull/36296) by machi@microsoft.com)
|
|
16
|
+
|
|
7
17
|
## [3.0.0-rc.26](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-rc.26)
|
|
8
18
|
|
|
9
|
-
Thu, 11 Jun 2026 04:07:
|
|
19
|
+
Thu, 11 Jun 2026 04:07:32 GMT
|
|
10
20
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-rc.25..@fluentui/web-components_v3.0.0-rc.26)
|
|
11
21
|
|
|
12
22
|
### Changes
|
package/README.md
CHANGED
|
@@ -88,6 +88,32 @@ import CEM from '@fluentui/custom-elements.json' with { type: 'json' };
|
|
|
88
88
|
|
|
89
89
|
To start the component development environment, run `yarn start`.
|
|
90
90
|
|
|
91
|
+
### SSR templates and stylesheets
|
|
92
|
+
|
|
93
|
+
Each component ships a declarative-shadow-DOM template (`*.template.html`) and an extracted stylesheet (`*.styles.css`) next to its `*.template.ts` and `*.styles.ts` sources. These files are generated from the TypeScript sources and committed to the repo so the DSD output is visible without running a build.
|
|
94
|
+
|
|
95
|
+
After editing a `*.template.ts` or `*.styles.ts`, regenerate the matching HTML and CSS with:
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
yarn generate:ssr
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
To check that the committed files match what the generators would produce (for example, before opening a PR), run:
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
yarn check:ssr
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
`yarn compile` does not regenerate these files; it copies them from `src/` into `dist/esm/` alongside the compiled JS.
|
|
108
|
+
|
|
109
|
+
Use the `yarn check:ssr` summary to avoid clobbering intentional SSR-only edits:
|
|
110
|
+
|
|
111
|
+
- `stale`: the committed source and generated file are unchanged, but regeneration disagrees with disk. Rebase if needed, then run `yarn generate:ssr`, review the generated diff, and commit it with the related source or generator change.
|
|
112
|
+
- `hand-edited`: the generated HTML/CSS changed without a matching `*.template.ts` or `*.styles.ts` change. Do not overwrite it blindly; either move the intended delta into the TypeScript source or generator before regenerating, or reapply and call out the intentional SSR-only edit in the PR.
|
|
113
|
+
- `conflicts`: both the TypeScript source and generated file changed, and regeneration still disagrees with disk. Treat this like a merge conflict: inspect the current generated-file diff, regenerate, then preserve only the intentional SSR delta before committing.
|
|
114
|
+
|
|
115
|
+
Keep generated-file updates scoped to the component you changed. If `yarn check:ssr` reports unrelated stale files, leave them out of your PR and coordinate a dedicated cleanup.
|
|
116
|
+
|
|
91
117
|
### Known issue with Storybook site hot-reloading during development
|
|
92
118
|
|
|
93
119
|
Storybook will watch modules for changes and hot-reload the module when necessary. This is usually great but poses a problem when the module being hot-reloaded defines a custom element. A custom element name can only be defined by the `CustomElementsRegistry` once, so reloading a module that defines a custom element will attempt to re-register the custom element name, throwing an error because the name has already been defined. This error will manifest with the following message:
|
package/custom-elements.json
CHANGED
|
@@ -9401,6 +9401,35 @@
|
|
|
9401
9401
|
}
|
|
9402
9402
|
]
|
|
9403
9403
|
},
|
|
9404
|
+
{
|
|
9405
|
+
"kind": "javascript-module",
|
|
9406
|
+
"path": "src/utils/autofocus.ts",
|
|
9407
|
+
"declarations": [
|
|
9408
|
+
{
|
|
9409
|
+
"kind": "function",
|
|
9410
|
+
"name": "maybeSetAutoFocus",
|
|
9411
|
+
"parameters": [
|
|
9412
|
+
{
|
|
9413
|
+
"name": "element",
|
|
9414
|
+
"type": {
|
|
9415
|
+
"text": "HTMLElement"
|
|
9416
|
+
}
|
|
9417
|
+
}
|
|
9418
|
+
],
|
|
9419
|
+
"description": "Artificial sets the focus to the given element, if no other element in the\ndocument is currently focused and the given element meets the following\nconditions:\n\n- is connected to DOM\n- has `autofocus` attribute\n- is visible\n\nFor more details of this issue, see https://codepen.io/editor/marchbox/pen/019e9ab9-cd81-7c21-a3ae-1b7fe2d3458a"
|
|
9420
|
+
}
|
|
9421
|
+
],
|
|
9422
|
+
"exports": [
|
|
9423
|
+
{
|
|
9424
|
+
"kind": "js",
|
|
9425
|
+
"name": "maybeSetAutoFocus",
|
|
9426
|
+
"declaration": {
|
|
9427
|
+
"name": "maybeSetAutoFocus",
|
|
9428
|
+
"module": "src/utils/autofocus.ts"
|
|
9429
|
+
}
|
|
9430
|
+
}
|
|
9431
|
+
]
|
|
9432
|
+
},
|
|
9404
9433
|
{
|
|
9405
9434
|
"kind": "javascript-module",
|
|
9406
9435
|
"path": "./dist/esm/button/button.base.js",
|
|
@@ -25498,26 +25527,6 @@
|
|
|
25498
25527
|
],
|
|
25499
25528
|
"description": "Clicks the inner control when the component is clicked."
|
|
25500
25529
|
},
|
|
25501
|
-
{
|
|
25502
|
-
"kind": "method",
|
|
25503
|
-
"name": "focusinHandler",
|
|
25504
|
-
"privacy": "public",
|
|
25505
|
-
"return": {
|
|
25506
|
-
"type": {
|
|
25507
|
-
"text": "boolean | void"
|
|
25508
|
-
}
|
|
25509
|
-
},
|
|
25510
|
-
"parameters": [
|
|
25511
|
-
{
|
|
25512
|
-
"name": "e",
|
|
25513
|
-
"type": {
|
|
25514
|
-
"text": "FocusEvent"
|
|
25515
|
-
},
|
|
25516
|
-
"description": "the event object"
|
|
25517
|
-
}
|
|
25518
|
-
],
|
|
25519
|
-
"description": "Focuses the inner control when the component is focused."
|
|
25520
|
-
},
|
|
25521
25530
|
{
|
|
25522
25531
|
"kind": "method",
|
|
25523
25532
|
"name": "select",
|
|
@@ -26140,30 +26149,6 @@
|
|
|
26140
26149
|
"module": "src/text-input/text-input.base.ts"
|
|
26141
26150
|
}
|
|
26142
26151
|
},
|
|
26143
|
-
{
|
|
26144
|
-
"kind": "method",
|
|
26145
|
-
"name": "focusinHandler",
|
|
26146
|
-
"privacy": "public",
|
|
26147
|
-
"return": {
|
|
26148
|
-
"type": {
|
|
26149
|
-
"text": "boolean | void"
|
|
26150
|
-
}
|
|
26151
|
-
},
|
|
26152
|
-
"parameters": [
|
|
26153
|
-
{
|
|
26154
|
-
"name": "e",
|
|
26155
|
-
"type": {
|
|
26156
|
-
"text": "FocusEvent"
|
|
26157
|
-
},
|
|
26158
|
-
"description": "the event object"
|
|
26159
|
-
}
|
|
26160
|
-
],
|
|
26161
|
-
"description": "Focuses the inner control when the component is focused.",
|
|
26162
|
-
"inheritedFrom": {
|
|
26163
|
-
"name": "BaseTextInput",
|
|
26164
|
-
"module": "src/text-input/text-input.base.ts"
|
|
26165
|
-
}
|
|
26166
|
-
},
|
|
26167
26152
|
{
|
|
26168
26153
|
"kind": "method",
|
|
26169
26154
|
"name": "select",
|
|
@@ -28536,7 +28521,7 @@
|
|
|
28536
28521
|
},
|
|
28537
28522
|
{
|
|
28538
28523
|
"kind": "javascript-module",
|
|
28539
|
-
"path": "src/
|
|
28524
|
+
"path": "src/accordion-item/accordion-item.definition-async.ts",
|
|
28540
28525
|
"declarations": [
|
|
28541
28526
|
{
|
|
28542
28527
|
"kind": "variable",
|
|
@@ -28545,7 +28530,7 @@
|
|
|
28545
28530
|
"text": "PartialFASTElementDefinition"
|
|
28546
28531
|
},
|
|
28547
28532
|
"default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
|
|
28548
|
-
"description": "The async definition configuration for the fluent-
|
|
28533
|
+
"description": "The async definition configuration for the fluent-accordion-item element.",
|
|
28549
28534
|
"privacy": "public"
|
|
28550
28535
|
}
|
|
28551
28536
|
],
|
|
@@ -28555,20 +28540,20 @@
|
|
|
28555
28540
|
"name": "definition",
|
|
28556
28541
|
"declaration": {
|
|
28557
28542
|
"name": "definition",
|
|
28558
|
-
"module": "src/
|
|
28543
|
+
"module": "src/accordion-item/accordion-item.definition-async.ts"
|
|
28559
28544
|
}
|
|
28560
28545
|
}
|
|
28561
28546
|
]
|
|
28562
28547
|
},
|
|
28563
28548
|
{
|
|
28564
28549
|
"kind": "javascript-module",
|
|
28565
|
-
"path": "src/
|
|
28550
|
+
"path": "src/accordion-item/define-async.ts",
|
|
28566
28551
|
"declarations": [],
|
|
28567
28552
|
"exports": []
|
|
28568
28553
|
},
|
|
28569
28554
|
{
|
|
28570
28555
|
"kind": "javascript-module",
|
|
28571
|
-
"path": "src/
|
|
28556
|
+
"path": "src/anchor-button/anchor-button.definition-async.ts",
|
|
28572
28557
|
"declarations": [
|
|
28573
28558
|
{
|
|
28574
28559
|
"kind": "variable",
|
|
@@ -28577,7 +28562,7 @@
|
|
|
28577
28562
|
"text": "PartialFASTElementDefinition"
|
|
28578
28563
|
},
|
|
28579
28564
|
"default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
|
|
28580
|
-
"description": "The async definition configuration for the fluent-
|
|
28565
|
+
"description": "The async definition configuration for the fluent-anchor-button element.",
|
|
28581
28566
|
"privacy": "public"
|
|
28582
28567
|
}
|
|
28583
28568
|
],
|
|
@@ -28587,20 +28572,20 @@
|
|
|
28587
28572
|
"name": "definition",
|
|
28588
28573
|
"declaration": {
|
|
28589
28574
|
"name": "definition",
|
|
28590
|
-
"module": "src/
|
|
28575
|
+
"module": "src/anchor-button/anchor-button.definition-async.ts"
|
|
28591
28576
|
}
|
|
28592
28577
|
}
|
|
28593
28578
|
]
|
|
28594
28579
|
},
|
|
28595
28580
|
{
|
|
28596
28581
|
"kind": "javascript-module",
|
|
28597
|
-
"path": "src/
|
|
28582
|
+
"path": "src/anchor-button/define-async.ts",
|
|
28598
28583
|
"declarations": [],
|
|
28599
28584
|
"exports": []
|
|
28600
28585
|
},
|
|
28601
28586
|
{
|
|
28602
28587
|
"kind": "javascript-module",
|
|
28603
|
-
"path": "src/
|
|
28588
|
+
"path": "src/avatar/avatar.definition-async.ts",
|
|
28604
28589
|
"declarations": [
|
|
28605
28590
|
{
|
|
28606
28591
|
"kind": "variable",
|
|
@@ -28609,7 +28594,7 @@
|
|
|
28609
28594
|
"text": "PartialFASTElementDefinition"
|
|
28610
28595
|
},
|
|
28611
28596
|
"default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
|
|
28612
|
-
"description": "The async definition configuration for the fluent-
|
|
28597
|
+
"description": "The async definition configuration for the fluent-avatar element.",
|
|
28613
28598
|
"privacy": "public"
|
|
28614
28599
|
}
|
|
28615
28600
|
],
|
|
@@ -28619,20 +28604,20 @@
|
|
|
28619
28604
|
"name": "definition",
|
|
28620
28605
|
"declaration": {
|
|
28621
28606
|
"name": "definition",
|
|
28622
|
-
"module": "src/
|
|
28607
|
+
"module": "src/avatar/avatar.definition-async.ts"
|
|
28623
28608
|
}
|
|
28624
28609
|
}
|
|
28625
28610
|
]
|
|
28626
28611
|
},
|
|
28627
28612
|
{
|
|
28628
28613
|
"kind": "javascript-module",
|
|
28629
|
-
"path": "src/
|
|
28614
|
+
"path": "src/avatar/define-async.ts",
|
|
28630
28615
|
"declarations": [],
|
|
28631
28616
|
"exports": []
|
|
28632
28617
|
},
|
|
28633
28618
|
{
|
|
28634
28619
|
"kind": "javascript-module",
|
|
28635
|
-
"path": "src/
|
|
28620
|
+
"path": "src/badge/badge.definition-async.ts",
|
|
28636
28621
|
"declarations": [
|
|
28637
28622
|
{
|
|
28638
28623
|
"kind": "variable",
|
|
@@ -28641,7 +28626,7 @@
|
|
|
28641
28626
|
"text": "PartialFASTElementDefinition"
|
|
28642
28627
|
},
|
|
28643
28628
|
"default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
|
|
28644
|
-
"description": "The async definition configuration for the fluent-
|
|
28629
|
+
"description": "The async definition configuration for the fluent-badge element.",
|
|
28645
28630
|
"privacy": "public"
|
|
28646
28631
|
}
|
|
28647
28632
|
],
|
|
@@ -28651,20 +28636,20 @@
|
|
|
28651
28636
|
"name": "definition",
|
|
28652
28637
|
"declaration": {
|
|
28653
28638
|
"name": "definition",
|
|
28654
|
-
"module": "src/
|
|
28639
|
+
"module": "src/badge/badge.definition-async.ts"
|
|
28655
28640
|
}
|
|
28656
28641
|
}
|
|
28657
28642
|
]
|
|
28658
28643
|
},
|
|
28659
28644
|
{
|
|
28660
28645
|
"kind": "javascript-module",
|
|
28661
|
-
"path": "src/
|
|
28646
|
+
"path": "src/badge/define-async.ts",
|
|
28662
28647
|
"declarations": [],
|
|
28663
28648
|
"exports": []
|
|
28664
28649
|
},
|
|
28665
28650
|
{
|
|
28666
28651
|
"kind": "javascript-module",
|
|
28667
|
-
"path": "src/
|
|
28652
|
+
"path": "src/button/button.definition-async.ts",
|
|
28668
28653
|
"declarations": [
|
|
28669
28654
|
{
|
|
28670
28655
|
"kind": "variable",
|
|
@@ -28673,7 +28658,7 @@
|
|
|
28673
28658
|
"text": "PartialFASTElementDefinition"
|
|
28674
28659
|
},
|
|
28675
28660
|
"default": "{ name: tagName, templateOptions: 'defer-and-hydrate', }",
|
|
28676
|
-
"description": "The async definition configuration for the fluent-
|
|
28661
|
+
"description": "The async definition configuration for the fluent-button element.",
|
|
28677
28662
|
"privacy": "public"
|
|
28678
28663
|
}
|
|
28679
28664
|
],
|
|
@@ -28683,14 +28668,14 @@
|
|
|
28683
28668
|
"name": "definition",
|
|
28684
28669
|
"declaration": {
|
|
28685
28670
|
"name": "definition",
|
|
28686
|
-
"module": "src/
|
|
28671
|
+
"module": "src/button/button.definition-async.ts"
|
|
28687
28672
|
}
|
|
28688
28673
|
}
|
|
28689
28674
|
]
|
|
28690
28675
|
},
|
|
28691
28676
|
{
|
|
28692
28677
|
"kind": "javascript-module",
|
|
28693
|
-
"path": "src/
|
|
28678
|
+
"path": "src/button/define-async.ts",
|
|
28694
28679
|
"declarations": [],
|
|
28695
28680
|
"exports": []
|
|
28696
28681
|
},
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
:host([hidden]) {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
:host {
|
|
5
|
+
display: flex;
|
|
6
|
+
}
|
|
1
7
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
contain: content;
|
|
8
|
-
}
|
|
8
|
+
:host {
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
width: 100%;
|
|
11
|
+
contain: content;
|
|
12
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<f-template name="fluent-accordion" shadowrootmode="open">
|
|
2
|
-
<template>
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<template>
|
|
3
|
+
{{styles}}
|
|
4
|
+
<slot f-slotted="{slottedAccordionItems filter elements()}"></slot>
|
|
5
|
+
</template>
|
|
5
6
|
</f-template>
|