@fluentui/web-components 2.1.2 → 2.2.2
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 +84 -1
- package/CHANGELOG.md +38 -2
- package/dist/dts/component-definitions.d.ts +2 -1
- package/dist/dts/custom-elements.d.ts +4 -2
- package/dist/dts/index.d.ts +1 -0
- package/dist/dts/listbox/index.d.ts +3 -6
- package/dist/dts/listbox/listbox.stories.d.ts +1 -1
- package/dist/dts/search/index.d.ts +38 -0
- package/dist/dts/search/search.stories.d.ts +75 -0
- package/dist/dts/search/search.styles.d.ts +4 -0
- package/dist/dts/search/search.template.d.ts +6 -0
- package/dist/esm/component-definitions.js +2 -0
- package/dist/esm/custom-elements.js +3 -1
- package/dist/esm/flipper/flipper.styles.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/listbox/index.js +3 -6
- package/dist/esm/search/index.js +52 -0
- package/dist/esm/search/search.stories.js +83 -0
- package/dist/esm/search/search.styles.js +108 -0
- package/dist/esm/search/search.template.js +82 -0
- package/dist/esm/search/search.vscode.definition.json +145 -0
- package/dist/esm/tabs/tab-panel/tab-panel.styles.js +3 -3
- package/dist/fluent-web-components.api.json +270 -5
- package/dist/web-components.d.ts +51 -2
- package/dist/web-components.js +1041 -517
- package/dist/web-components.min.js +157 -147
- package/docs/api-report.md +34 -9
- package/package.json +2 -3
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { css } from '@microsoft/fast-element';
|
|
2
|
+
import { Button, DesignToken, display, forcedColorsStylesheetBehavior, } from '@microsoft/fast-foundation';
|
|
3
|
+
import { heightNumber, inputFilledForcedColorStyles, inputFilledStyles, inputForcedColorStyles, inputStateStyles, inputStyles, } from '../styles';
|
|
4
|
+
import { appearanceBehavior } from '../utilities/behaviors';
|
|
5
|
+
import { bodyFont, controlCornerRadius, density, designUnit, neutralFillInputRecipe, neutralFillStealthRecipe, neutralForegroundRest, typeRampBaseFontSize, typeRampBaseLineHeight } from '../design-tokens';
|
|
6
|
+
const clearButtonHover = DesignToken.create("clear-button-hover").withDefault((target) => {
|
|
7
|
+
const buttonRecipe = neutralFillStealthRecipe.getValueFor(target);
|
|
8
|
+
const inputRecipe = neutralFillInputRecipe.getValueFor(target);
|
|
9
|
+
return buttonRecipe.evaluate(target, inputRecipe.evaluate(target).focus).hover;
|
|
10
|
+
});
|
|
11
|
+
const clearButtonActive = DesignToken.create("clear-button-active").withDefault((target) => {
|
|
12
|
+
const buttonRecipe = neutralFillStealthRecipe.getValueFor(target);
|
|
13
|
+
const inputRecipe = neutralFillInputRecipe.getValueFor(target);
|
|
14
|
+
return buttonRecipe.evaluate(target, inputRecipe.evaluate(target).focus).active;
|
|
15
|
+
});
|
|
16
|
+
export const searchFilledStyles = (context, definition) => css `
|
|
17
|
+
${inputFilledStyles(context, definition, '.root')}
|
|
18
|
+
`.withBehaviors(forcedColorsStylesheetBehavior(css `
|
|
19
|
+
${inputFilledForcedColorStyles(context, definition, '.root')}
|
|
20
|
+
`));
|
|
21
|
+
export const searchStyles = (context, definition) => css `
|
|
22
|
+
${display('inline-block')}
|
|
23
|
+
${inputStyles(context, definition, '.root')}
|
|
24
|
+
${inputStateStyles(context, definition, '.root')}
|
|
25
|
+
.root {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
}
|
|
29
|
+
.control {
|
|
30
|
+
-webkit-appearance: none;
|
|
31
|
+
color: inherit;
|
|
32
|
+
background: transparent;
|
|
33
|
+
border: 0;
|
|
34
|
+
height: calc(100% - 4px);
|
|
35
|
+
margin-top: auto;
|
|
36
|
+
margin-bottom: auto;
|
|
37
|
+
padding: 0 calc(${designUnit} * 2px + 1px);
|
|
38
|
+
font-family: inherit;
|
|
39
|
+
font-size: inherit;
|
|
40
|
+
line-height: inherit;
|
|
41
|
+
}
|
|
42
|
+
.clear-button {
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
margin: 1px;
|
|
46
|
+
height: calc(100% - 2px);
|
|
47
|
+
opacity: 0;
|
|
48
|
+
background: transparent;
|
|
49
|
+
color: ${neutralForegroundRest};
|
|
50
|
+
fill: currentcolor;
|
|
51
|
+
border: none;
|
|
52
|
+
border-radius: calc(${controlCornerRadius} * 1px);
|
|
53
|
+
min-width: calc(${heightNumber} * 1px);
|
|
54
|
+
font-size: ${typeRampBaseFontSize};
|
|
55
|
+
line-height: ${typeRampBaseLineHeight};
|
|
56
|
+
outline: none;
|
|
57
|
+
font-family: ${bodyFont};
|
|
58
|
+
padding: 0 calc((10 + (${designUnit} * 2 * ${density})) * 1px);
|
|
59
|
+
}
|
|
60
|
+
.clear-button:hover {
|
|
61
|
+
background: ${clearButtonHover};
|
|
62
|
+
}
|
|
63
|
+
.clear-button:active {
|
|
64
|
+
background: ${clearButtonActive};
|
|
65
|
+
}
|
|
66
|
+
:host(:hover:not([disabled], [readOnly])) .clear-button,
|
|
67
|
+
:host(:active:not([disabled], [readOnly])) .clear-button,
|
|
68
|
+
:host(:focus-within:not([disabled], [readOnly])) .clear-button {
|
|
69
|
+
opacity: 1;
|
|
70
|
+
}
|
|
71
|
+
:host(:hover:not([disabled], [readOnly])) .clear-button__hidden,
|
|
72
|
+
:host(:active:not([disabled], [readOnly])) .clear-button__hidden,
|
|
73
|
+
:host(:focus-within:not([disabled], [readOnly])) .clear-button__hidden {
|
|
74
|
+
opacity: 0;
|
|
75
|
+
}
|
|
76
|
+
.control::-webkit-search-cancel-button {
|
|
77
|
+
-webkit-appearance: none;
|
|
78
|
+
}
|
|
79
|
+
.input-wrapper {
|
|
80
|
+
display: flex;
|
|
81
|
+
position: relative;
|
|
82
|
+
width: 100%;
|
|
83
|
+
}
|
|
84
|
+
.start,
|
|
85
|
+
.end {
|
|
86
|
+
display: flex;
|
|
87
|
+
margin: 1px;
|
|
88
|
+
align-items: center;
|
|
89
|
+
}
|
|
90
|
+
.start {
|
|
91
|
+
display: flex;
|
|
92
|
+
margin-inline-start: 11px;
|
|
93
|
+
}
|
|
94
|
+
::slotted([slot="end"]) {
|
|
95
|
+
height: 100%
|
|
96
|
+
}
|
|
97
|
+
.clear-button__hidden {
|
|
98
|
+
opacity: 0;
|
|
99
|
+
}
|
|
100
|
+
.end {
|
|
101
|
+
margin-inline-end: 11px;
|
|
102
|
+
}
|
|
103
|
+
::slotted(${context.tagFor(Button)}) {
|
|
104
|
+
margin-inline-end: 1px;
|
|
105
|
+
}
|
|
106
|
+
`.withBehaviors(appearanceBehavior('filled', searchFilledStyles(context, definition)), forcedColorsStylesheetBehavior(css `
|
|
107
|
+
${inputForcedColorStyles(context, definition, '.root')}
|
|
108
|
+
`));
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { html, ref, slotted } from '@microsoft/fast-element';
|
|
2
|
+
import { endSlotTemplate, startSlotTemplate, whitespaceFilter, } from '@microsoft/fast-foundation';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export const searchTemplate = (context, definition) => html `
|
|
7
|
+
<template
|
|
8
|
+
class="
|
|
9
|
+
${x => (x.readOnly ? 'readonly' : '')}
|
|
10
|
+
"
|
|
11
|
+
>
|
|
12
|
+
<label
|
|
13
|
+
part="label"
|
|
14
|
+
for="control"
|
|
15
|
+
class="${x => (x.defaultSlottedNodes && x.defaultSlottedNodes.length ? 'label' : 'label label__hidden')}"
|
|
16
|
+
>
|
|
17
|
+
<slot ${slotted({ property: 'defaultSlottedNodes', filter: whitespaceFilter })}></slot>
|
|
18
|
+
</label>
|
|
19
|
+
<div class="root" part="root" ${ref('root')}>
|
|
20
|
+
${startSlotTemplate(context, definition)}
|
|
21
|
+
<div class="input-wrapper" part="input-wrapper">
|
|
22
|
+
<input
|
|
23
|
+
class="control"
|
|
24
|
+
part="control"
|
|
25
|
+
id="control"
|
|
26
|
+
@input="${x => x.handleTextInput()}"
|
|
27
|
+
@change="${x => x.handleChange()}"
|
|
28
|
+
?autofocus="${x => x.autofocus}"
|
|
29
|
+
?disabled="${x => x.disabled}"
|
|
30
|
+
list="${x => x.list}"
|
|
31
|
+
maxlength="${x => x.maxlength}"
|
|
32
|
+
minlength="${x => x.minlength}"
|
|
33
|
+
pattern="${x => x.pattern}"
|
|
34
|
+
placeholder="${x => x.placeholder}"
|
|
35
|
+
?readonly="${x => x.readOnly}"
|
|
36
|
+
?required="${x => x.required}"
|
|
37
|
+
size="${x => x.size}"
|
|
38
|
+
?spellcheck="${x => x.spellcheck}"
|
|
39
|
+
:value="${x => x.value}"
|
|
40
|
+
type="search"
|
|
41
|
+
aria-atomic="${x => x.ariaAtomic}"
|
|
42
|
+
aria-busy="${x => x.ariaBusy}"
|
|
43
|
+
aria-controls="${x => x.ariaControls}"
|
|
44
|
+
aria-current="${x => x.ariaCurrent}"
|
|
45
|
+
aria-describedby="${x => x.ariaDescribedby}"
|
|
46
|
+
aria-details="${x => x.ariaDetails}"
|
|
47
|
+
aria-disabled="${x => x.ariaDisabled}"
|
|
48
|
+
aria-errormessage="${x => x.ariaErrormessage}"
|
|
49
|
+
aria-flowto="${x => x.ariaFlowto}"
|
|
50
|
+
aria-haspopup="${x => x.ariaHaspopup}"
|
|
51
|
+
aria-hidden="${x => x.ariaHidden}"
|
|
52
|
+
aria-invalid="${x => x.ariaInvalid}"
|
|
53
|
+
aria-keyshortcuts="${x => x.ariaKeyshortcuts}"
|
|
54
|
+
aria-label="${x => x.ariaLabel}"
|
|
55
|
+
aria-labelledby="${x => x.ariaLabelledby}"
|
|
56
|
+
aria-live="${x => x.ariaLive}"
|
|
57
|
+
aria-owns="${x => x.ariaOwns}"
|
|
58
|
+
aria-relevant="${x => x.ariaRelevant}"
|
|
59
|
+
aria-roledescription="${x => x.ariaRoledescription}"
|
|
60
|
+
${ref('control')}
|
|
61
|
+
/>
|
|
62
|
+
<slot name="clear-button">
|
|
63
|
+
<button
|
|
64
|
+
class="clear-button ${x => (x.value ? '' : 'clear-button__hidden')}"
|
|
65
|
+
part="clear-button"
|
|
66
|
+
tabindex="-1"
|
|
67
|
+
@click=${x => x.handleClearInput()}
|
|
68
|
+
>
|
|
69
|
+
<slot name="clear-glyph">
|
|
70
|
+
<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
|
71
|
+
<path
|
|
72
|
+
d="m2.09 2.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L6 5.29l3.15-3.14a.5.5 0 1 1 .7.7L6.71 6l3.14 3.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L6 6.71 2.85 9.85a.5.5 0 0 1-.7-.7L5.29 6 2.15 2.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"
|
|
73
|
+
/>
|
|
74
|
+
</svg>
|
|
75
|
+
</slot>
|
|
76
|
+
</button>
|
|
77
|
+
</slot>
|
|
78
|
+
</div>
|
|
79
|
+
${endSlotTemplate(context, definition)}
|
|
80
|
+
</div>
|
|
81
|
+
</template>
|
|
82
|
+
`;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1.1,
|
|
3
|
+
"tags": [
|
|
4
|
+
{
|
|
5
|
+
"name": "fluent-search",
|
|
6
|
+
"title": "Search",
|
|
7
|
+
"description": "The Fluent UI search element",
|
|
8
|
+
"attributes": [
|
|
9
|
+
{
|
|
10
|
+
"name": "value",
|
|
11
|
+
"title": "Value",
|
|
12
|
+
"description": "The HTML value attribute of the search",
|
|
13
|
+
"required": false,
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "appearance",
|
|
18
|
+
"title": "Appearance",
|
|
19
|
+
"description": "The field's visual treatment",
|
|
20
|
+
"default": "outline",
|
|
21
|
+
"values": [{ "name": "outline" }, { "name": "filled" }],
|
|
22
|
+
"type": "string",
|
|
23
|
+
"required": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "autofocus",
|
|
27
|
+
"title": "Autofocus",
|
|
28
|
+
"description": "Determines if the element should receive document focus on page load",
|
|
29
|
+
"required": false,
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "placeholder",
|
|
35
|
+
"title": "Placeholder",
|
|
36
|
+
"description": "Sets the placeholder value of the element, generally used to provide a hint to the user",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "list",
|
|
42
|
+
"title": "List ID",
|
|
43
|
+
"description": "Allows associating a datalist to the component",
|
|
44
|
+
"required": false,
|
|
45
|
+
"type": "string",
|
|
46
|
+
"default": ""
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "maxlength",
|
|
50
|
+
"title": "Maximum length",
|
|
51
|
+
"description": "The maximum number of characters a user can enter",
|
|
52
|
+
"required": false,
|
|
53
|
+
"type": "number"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "minlength",
|
|
57
|
+
"title": "Minimum length",
|
|
58
|
+
"description": "The minimum number of characters a user can enter",
|
|
59
|
+
"required": false,
|
|
60
|
+
"type": "number"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "pattern",
|
|
64
|
+
"title": "Validation pattern",
|
|
65
|
+
"description": "A regular expression that the value must match to pass validation",
|
|
66
|
+
"required": false,
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "size",
|
|
71
|
+
"title": "Size",
|
|
72
|
+
"description": "Sets the width of the element to a specified number of characters",
|
|
73
|
+
"required": false,
|
|
74
|
+
"type": "number"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "spellcheck",
|
|
78
|
+
"title": "Spellcheck",
|
|
79
|
+
"description": "Controls whether or not to enable spell checking for the input field, or if the default spell checking configuration should be used",
|
|
80
|
+
"required": false,
|
|
81
|
+
"type": "boolean"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "name",
|
|
85
|
+
"title": "Name",
|
|
86
|
+
"description": "This element's value will be surfaced during form submission under the provided name",
|
|
87
|
+
"type": "string",
|
|
88
|
+
"default": "",
|
|
89
|
+
"required": false
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "required",
|
|
93
|
+
"title": "Required",
|
|
94
|
+
"description": "Require the field to be completed prior to form submission",
|
|
95
|
+
"type": "boolean",
|
|
96
|
+
"default": false,
|
|
97
|
+
"required": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "disabled",
|
|
101
|
+
"title": "Disabled",
|
|
102
|
+
"description": "Sets the disabled state of the field",
|
|
103
|
+
"type": "boolean",
|
|
104
|
+
"default": false,
|
|
105
|
+
"required": false
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "readonly",
|
|
109
|
+
"title": "Readonly",
|
|
110
|
+
"description": "When true, the control will be immutable by user interaction",
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"default": false,
|
|
113
|
+
"required": false
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"slots": [
|
|
117
|
+
{
|
|
118
|
+
"name": "",
|
|
119
|
+
"title": "Default slot",
|
|
120
|
+
"description": "The content of the field represents its visual label"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "start",
|
|
124
|
+
"title": "Start slot",
|
|
125
|
+
"description": "Contents of the start slot are positioned before the input area"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "end",
|
|
129
|
+
"title": "End slot",
|
|
130
|
+
"description": "Contents of the end slot are positioned after the input area"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "clear-button",
|
|
134
|
+
"title": "Clear button slot",
|
|
135
|
+
"description": "Contents of the clear button slot are positioned after the content and is what clears the value when a value is set"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "clear-glyph",
|
|
139
|
+
"title": "Clear glyph slot",
|
|
140
|
+
"description": "Contents of the clear button"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { css } from '@microsoft/fast-element';
|
|
2
2
|
import { display } from '@microsoft/fast-foundation';
|
|
3
|
-
import { bodyFont, density, designUnit,
|
|
3
|
+
import { bodyFont, density, designUnit, typeRampBaseFontSize, typeRampBaseLineHeight } from '../../design-tokens';
|
|
4
4
|
export const tabPanelStyles = (context, definition) => css `
|
|
5
5
|
${display('block')} :host {
|
|
6
6
|
box-sizing: border-box;
|
|
7
7
|
font-family: ${bodyFont};
|
|
8
|
-
font-size: ${
|
|
8
|
+
font-size: ${typeRampBaseFontSize};
|
|
9
9
|
font-weight: 400;
|
|
10
|
-
line-height: ${
|
|
10
|
+
line-height: ${typeRampBaseLineHeight};
|
|
11
11
|
padding: 0 calc((6 + (${designUnit} * 2 * ${density})) * 1px);
|
|
12
12
|
}
|
|
13
13
|
`;
|
|
@@ -2227,12 +2227,12 @@
|
|
|
2227
2227
|
},
|
|
2228
2228
|
{
|
|
2229
2229
|
"kind": "Content",
|
|
2230
|
-
"text": ", typeof import(\"
|
|
2230
|
+
"text": ", typeof import(\"./listbox/index\")."
|
|
2231
2231
|
},
|
|
2232
2232
|
{
|
|
2233
2233
|
"kind": "Reference",
|
|
2234
2234
|
"text": "Listbox",
|
|
2235
|
-
"canonicalReference": "@
|
|
2235
|
+
"canonicalReference": "@fluentui/web-components!Listbox:class"
|
|
2236
2236
|
},
|
|
2237
2237
|
{
|
|
2238
2238
|
"kind": "Content",
|
|
@@ -2641,7 +2641,61 @@
|
|
|
2641
2641
|
},
|
|
2642
2642
|
{
|
|
2643
2643
|
"kind": "Content",
|
|
2644
|
-
"text": ">;\n
|
|
2644
|
+
"text": ">;\n fluentSearch: (overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"kind": "Reference",
|
|
2648
|
+
"text": "OverrideFoundationElementDefinition",
|
|
2649
|
+
"canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"kind": "Content",
|
|
2653
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"kind": "Reference",
|
|
2657
|
+
"text": "SearchOptions",
|
|
2658
|
+
"canonicalReference": "@microsoft/fast-foundation!SearchOptions:type"
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"kind": "Content",
|
|
2662
|
+
"text": "> | undefined) => import(\"@microsoft/fast-foundation\")."
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"kind": "Reference",
|
|
2666
|
+
"text": "FoundationElementRegistry",
|
|
2667
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
"kind": "Content",
|
|
2671
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"kind": "Reference",
|
|
2675
|
+
"text": "SearchOptions",
|
|
2676
|
+
"canonicalReference": "@microsoft/fast-foundation!SearchOptions:type"
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "Content",
|
|
2680
|
+
"text": ", import(\"@microsoft/fast-element\")."
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"kind": "Reference",
|
|
2684
|
+
"text": "Constructable",
|
|
2685
|
+
"canonicalReference": "@microsoft/fast-element!Constructable:type"
|
|
2686
|
+
},
|
|
2687
|
+
{
|
|
2688
|
+
"kind": "Content",
|
|
2689
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"kind": "Reference",
|
|
2693
|
+
"text": "FoundationElement",
|
|
2694
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
|
|
2695
|
+
},
|
|
2696
|
+
{
|
|
2697
|
+
"kind": "Content",
|
|
2698
|
+
"text": ">>;\n fluentSelect: (overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
2645
2699
|
},
|
|
2646
2700
|
{
|
|
2647
2701
|
"kind": "Reference",
|
|
@@ -3323,7 +3377,7 @@
|
|
|
3323
3377
|
"name": "allComponents",
|
|
3324
3378
|
"variableTypeTokenRange": {
|
|
3325
3379
|
"startIndex": 1,
|
|
3326
|
-
"endIndex":
|
|
3380
|
+
"endIndex": 482
|
|
3327
3381
|
}
|
|
3328
3382
|
},
|
|
3329
3383
|
{
|
|
@@ -8515,7 +8569,7 @@
|
|
|
8515
8569
|
{
|
|
8516
8570
|
"kind": "Reference",
|
|
8517
8571
|
"text": "Listbox",
|
|
8518
|
-
"canonicalReference": "@
|
|
8572
|
+
"canonicalReference": "@fluentui/web-components!Listbox:class"
|
|
8519
8573
|
},
|
|
8520
8574
|
{
|
|
8521
8575
|
"kind": "Content",
|
|
@@ -9102,6 +9156,81 @@
|
|
|
9102
9156
|
"endIndex": 12
|
|
9103
9157
|
}
|
|
9104
9158
|
},
|
|
9159
|
+
{
|
|
9160
|
+
"kind": "Variable",
|
|
9161
|
+
"canonicalReference": "@fluentui/web-components!fluentSearch:var",
|
|
9162
|
+
"docComment": "/**\n * The Fluent Search Custom Element. Implements {@link @microsoft/fast-foundation#Search}, {@link @microsoft/fast-foundation#searchTemplate}\n *\n * @remarks\n *\n * HTML Element: \\<fluent-search\\>\n *\n * {@link https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/delegatesFocus | delegatesFocus}\n *\n * @public\n */\n",
|
|
9163
|
+
"excerptTokens": [
|
|
9164
|
+
{
|
|
9165
|
+
"kind": "Content",
|
|
9166
|
+
"text": "fluentSearch: "
|
|
9167
|
+
},
|
|
9168
|
+
{
|
|
9169
|
+
"kind": "Content",
|
|
9170
|
+
"text": "(overrideDefinition?: import(\"@microsoft/fast-foundation\")."
|
|
9171
|
+
},
|
|
9172
|
+
{
|
|
9173
|
+
"kind": "Reference",
|
|
9174
|
+
"text": "OverrideFoundationElementDefinition",
|
|
9175
|
+
"canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
|
|
9176
|
+
},
|
|
9177
|
+
{
|
|
9178
|
+
"kind": "Content",
|
|
9179
|
+
"text": "<"
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
"kind": "Reference",
|
|
9183
|
+
"text": "SearchOptions",
|
|
9184
|
+
"canonicalReference": "@microsoft/fast-foundation!SearchOptions:type"
|
|
9185
|
+
},
|
|
9186
|
+
{
|
|
9187
|
+
"kind": "Content",
|
|
9188
|
+
"text": "> | undefined) => import(\"@microsoft/fast-foundation\")."
|
|
9189
|
+
},
|
|
9190
|
+
{
|
|
9191
|
+
"kind": "Reference",
|
|
9192
|
+
"text": "FoundationElementRegistry",
|
|
9193
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"kind": "Content",
|
|
9197
|
+
"text": "<"
|
|
9198
|
+
},
|
|
9199
|
+
{
|
|
9200
|
+
"kind": "Reference",
|
|
9201
|
+
"text": "SearchOptions",
|
|
9202
|
+
"canonicalReference": "@microsoft/fast-foundation!SearchOptions:type"
|
|
9203
|
+
},
|
|
9204
|
+
{
|
|
9205
|
+
"kind": "Content",
|
|
9206
|
+
"text": ", import(\"@microsoft/fast-element\")."
|
|
9207
|
+
},
|
|
9208
|
+
{
|
|
9209
|
+
"kind": "Reference",
|
|
9210
|
+
"text": "Constructable",
|
|
9211
|
+
"canonicalReference": "@microsoft/fast-element!Constructable:type"
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
"kind": "Content",
|
|
9215
|
+
"text": "<import(\"@microsoft/fast-foundation\")."
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
"kind": "Reference",
|
|
9219
|
+
"text": "FoundationElement",
|
|
9220
|
+
"canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
|
|
9221
|
+
},
|
|
9222
|
+
{
|
|
9223
|
+
"kind": "Content",
|
|
9224
|
+
"text": ">>"
|
|
9225
|
+
}
|
|
9226
|
+
],
|
|
9227
|
+
"releaseTag": "Public",
|
|
9228
|
+
"name": "fluentSearch",
|
|
9229
|
+
"variableTypeTokenRange": {
|
|
9230
|
+
"startIndex": 1,
|
|
9231
|
+
"endIndex": 14
|
|
9232
|
+
}
|
|
9233
|
+
},
|
|
9105
9234
|
{
|
|
9106
9235
|
"kind": "Variable",
|
|
9107
9236
|
"canonicalReference": "@fluentui/web-components!fluentSelect:var",
|
|
@@ -10954,6 +11083,34 @@
|
|
|
10954
11083
|
"endIndex": 4
|
|
10955
11084
|
}
|
|
10956
11085
|
},
|
|
11086
|
+
{
|
|
11087
|
+
"kind": "Class",
|
|
11088
|
+
"canonicalReference": "@fluentui/web-components!Listbox:class",
|
|
11089
|
+
"docComment": "",
|
|
11090
|
+
"excerptTokens": [
|
|
11091
|
+
{
|
|
11092
|
+
"kind": "Content",
|
|
11093
|
+
"text": "export declare class Listbox extends "
|
|
11094
|
+
},
|
|
11095
|
+
{
|
|
11096
|
+
"kind": "Reference",
|
|
11097
|
+
"text": "FoundationListboxElement",
|
|
11098
|
+
"canonicalReference": "@microsoft/fast-foundation!Listbox:class"
|
|
11099
|
+
},
|
|
11100
|
+
{
|
|
11101
|
+
"kind": "Content",
|
|
11102
|
+
"text": " "
|
|
11103
|
+
}
|
|
11104
|
+
],
|
|
11105
|
+
"releaseTag": "Public",
|
|
11106
|
+
"name": "Listbox",
|
|
11107
|
+
"members": [],
|
|
11108
|
+
"extendsTokenRange": {
|
|
11109
|
+
"startIndex": 1,
|
|
11110
|
+
"endIndex": 3
|
|
11111
|
+
},
|
|
11112
|
+
"implementsTokenRanges": []
|
|
11113
|
+
},
|
|
10957
11114
|
{
|
|
10958
11115
|
"kind": "Variable",
|
|
10959
11116
|
"canonicalReference": "@fluentui/web-components!listboxStyles:var",
|
|
@@ -17615,6 +17772,114 @@
|
|
|
17615
17772
|
],
|
|
17616
17773
|
"extendsTokenRanges": []
|
|
17617
17774
|
},
|
|
17775
|
+
{
|
|
17776
|
+
"kind": "TypeAlias",
|
|
17777
|
+
"canonicalReference": "@fluentui/web-components!SearchAppearance:type",
|
|
17778
|
+
"docComment": "/**\n * Search appearances\n *\n * @public\n */\n",
|
|
17779
|
+
"excerptTokens": [
|
|
17780
|
+
{
|
|
17781
|
+
"kind": "Content",
|
|
17782
|
+
"text": "export declare type SearchAppearance = "
|
|
17783
|
+
},
|
|
17784
|
+
{
|
|
17785
|
+
"kind": "Content",
|
|
17786
|
+
"text": "'filled' | 'outline'"
|
|
17787
|
+
},
|
|
17788
|
+
{
|
|
17789
|
+
"kind": "Content",
|
|
17790
|
+
"text": ";"
|
|
17791
|
+
}
|
|
17792
|
+
],
|
|
17793
|
+
"releaseTag": "Public",
|
|
17794
|
+
"name": "SearchAppearance",
|
|
17795
|
+
"typeTokenRange": {
|
|
17796
|
+
"startIndex": 1,
|
|
17797
|
+
"endIndex": 2
|
|
17798
|
+
}
|
|
17799
|
+
},
|
|
17800
|
+
{
|
|
17801
|
+
"kind": "Variable",
|
|
17802
|
+
"canonicalReference": "@fluentui/web-components!searchStyles:var",
|
|
17803
|
+
"docComment": "/**\n * Styles for Search\n *\n * @public\n */\n",
|
|
17804
|
+
"excerptTokens": [
|
|
17805
|
+
{
|
|
17806
|
+
"kind": "Content",
|
|
17807
|
+
"text": "searchStyles: "
|
|
17808
|
+
},
|
|
17809
|
+
{
|
|
17810
|
+
"kind": "Content",
|
|
17811
|
+
"text": "(context: any, definition: any) => import(\"@microsoft/fast-element\")."
|
|
17812
|
+
},
|
|
17813
|
+
{
|
|
17814
|
+
"kind": "Reference",
|
|
17815
|
+
"text": "ElementStyles",
|
|
17816
|
+
"canonicalReference": "@microsoft/fast-element!ElementStyles:class"
|
|
17817
|
+
}
|
|
17818
|
+
],
|
|
17819
|
+
"releaseTag": "Public",
|
|
17820
|
+
"name": "searchStyles",
|
|
17821
|
+
"variableTypeTokenRange": {
|
|
17822
|
+
"startIndex": 1,
|
|
17823
|
+
"endIndex": 3
|
|
17824
|
+
}
|
|
17825
|
+
},
|
|
17826
|
+
{
|
|
17827
|
+
"kind": "Variable",
|
|
17828
|
+
"canonicalReference": "@fluentui/web-components!searchTemplate:var",
|
|
17829
|
+
"docComment": "/**\n * @public\n */\n",
|
|
17830
|
+
"excerptTokens": [
|
|
17831
|
+
{
|
|
17832
|
+
"kind": "Content",
|
|
17833
|
+
"text": "searchTemplate: "
|
|
17834
|
+
},
|
|
17835
|
+
{
|
|
17836
|
+
"kind": "Content",
|
|
17837
|
+
"text": "(context: "
|
|
17838
|
+
},
|
|
17839
|
+
{
|
|
17840
|
+
"kind": "Reference",
|
|
17841
|
+
"text": "ElementDefinitionContext",
|
|
17842
|
+
"canonicalReference": "@microsoft/fast-foundation!ElementDefinitionContext:interface"
|
|
17843
|
+
},
|
|
17844
|
+
{
|
|
17845
|
+
"kind": "Content",
|
|
17846
|
+
"text": ", definition: "
|
|
17847
|
+
},
|
|
17848
|
+
{
|
|
17849
|
+
"kind": "Reference",
|
|
17850
|
+
"text": "SearchOptions",
|
|
17851
|
+
"canonicalReference": "@microsoft/fast-foundation!SearchOptions:type"
|
|
17852
|
+
},
|
|
17853
|
+
{
|
|
17854
|
+
"kind": "Content",
|
|
17855
|
+
"text": ") => "
|
|
17856
|
+
},
|
|
17857
|
+
{
|
|
17858
|
+
"kind": "Reference",
|
|
17859
|
+
"text": "ViewTemplate",
|
|
17860
|
+
"canonicalReference": "@microsoft/fast-element!ViewTemplate:class"
|
|
17861
|
+
},
|
|
17862
|
+
{
|
|
17863
|
+
"kind": "Content",
|
|
17864
|
+
"text": "<"
|
|
17865
|
+
},
|
|
17866
|
+
{
|
|
17867
|
+
"kind": "Reference",
|
|
17868
|
+
"text": "Search",
|
|
17869
|
+
"canonicalReference": "@microsoft/fast-foundation!Search:class"
|
|
17870
|
+
},
|
|
17871
|
+
{
|
|
17872
|
+
"kind": "Content",
|
|
17873
|
+
"text": ">"
|
|
17874
|
+
}
|
|
17875
|
+
],
|
|
17876
|
+
"releaseTag": "Public",
|
|
17877
|
+
"name": "searchTemplate",
|
|
17878
|
+
"variableTypeTokenRange": {
|
|
17879
|
+
"startIndex": 1,
|
|
17880
|
+
"endIndex": 10
|
|
17881
|
+
}
|
|
17882
|
+
},
|
|
17618
17883
|
{
|
|
17619
17884
|
"kind": "TypeAlias",
|
|
17620
17885
|
"canonicalReference": "@fluentui/web-components!SelectAppearance:type",
|