@fluentui/web-components 1.6.3 → 2.1.0
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 +103 -1
- package/CHANGELOG.md +40 -2
- package/dist/dts/calendar/calendar.stories.d.ts +86 -0
- package/dist/dts/calendar/calendar.styles.d.ts +7 -0
- package/dist/dts/calendar/index.d.ts +18 -0
- package/dist/dts/color/palette.d.ts +43 -1
- package/dist/dts/color/recipes/contrast-and-delta-swatch-set.d.ts +11 -0
- package/dist/dts/color/recipes/contrast-swatch.d.ts +12 -0
- package/dist/dts/color/recipes/delta-swatch-set.d.ts +36 -0
- package/dist/dts/color/recipes/{neutral-divider.d.ts → delta-swatch.d.ts} +3 -2
- package/dist/dts/color/recipes/focus-stroke.d.ts +2 -2
- package/dist/dts/color/recipes/foreground-on-accent.d.ts +6 -0
- package/dist/dts/color/recipes/gradient-shadow-stroke.d.ts +7 -0
- package/dist/dts/color/recipes/gradient-swatch.d.ts +36 -0
- package/dist/dts/color/recipes/neutral-layer-1.d.ts +4 -0
- package/dist/dts/color/recipes/neutral-layer-2.d.ts +1 -5
- package/dist/dts/color/recipes/neutral-layer-3.d.ts +1 -1
- package/dist/dts/color/recipes/neutral-layer-4.d.ts +1 -1
- package/dist/dts/color/recipes/neutral-layer-floating.d.ts +1 -1
- package/dist/dts/color/recipes/underline-stroke.d.ts +7 -0
- package/dist/dts/color/swatch.d.ts +7 -0
- package/dist/dts/color/utilities/base-layer-luminance.d.ts +2 -2
- package/dist/dts/combobox/index.d.ts +1 -2
- package/dist/dts/custom-elements.d.ts +4 -2
- package/dist/dts/data-grid/data-grid-row.styles.d.ts +1 -1
- package/dist/dts/data-grid/index.d.ts +1 -1
- package/dist/dts/design-system-provider/index.d.ts +14 -29
- package/dist/dts/design-tokens.d.ts +198 -82
- package/dist/dts/menu/index.d.ts +11 -6
- package/dist/dts/menu/menu.stories.d.ts +1 -1
- package/dist/dts/select/index.d.ts +1 -1
- package/dist/dts/select/select.stories.d.ts +8 -0
- package/dist/dts/select/select.styles.d.ts +1 -0
- package/dist/dts/skeleton/skeleton.stories.d.ts +1 -0
- package/dist/dts/styles/elevation.d.ts +44 -5
- package/dist/dts/styles/patterns/button.styles.d.ts +7 -6
- package/dist/dts/styles/patterns/index.d.ts +1 -1
- package/dist/dts/styles/patterns/input.styles.d.ts +22 -0
- package/dist/dts/text-area/text-area.stories.d.ts +1 -1
- package/dist/dts/tree-view/tree-view.stories.d.ts +0 -5
- package/dist/esm/accordion/accordion-item/accordion-item.styles.js +54 -17
- package/dist/esm/accordion/accordion-item/index.js +4 -22
- package/dist/esm/accordion/accordion.styles.js +4 -4
- package/dist/esm/anchor/anchor.stories.js +2 -2
- package/dist/esm/anchor/anchor.styles.js +8 -2
- package/dist/esm/badge/badge.styles.js +10 -2
- package/dist/esm/breadcrumb-item/breadcrumb-item.styles.js +44 -53
- package/dist/esm/breadcrumb-item/index.js +2 -4
- package/dist/esm/button/button.stories.js +1 -1
- package/dist/esm/button/button.styles.js +21 -71
- package/dist/esm/calendar/calendar.stories.js +115 -0
- package/dist/esm/calendar/calendar.styles.js +133 -0
- package/dist/esm/calendar/index.js +31 -0
- package/dist/esm/card/card.stories.js +14 -0
- package/dist/esm/card/card.styles.js +23 -32
- package/dist/esm/card/index.js +1 -1
- package/dist/esm/checkbox/checkbox.styles.js +58 -51
- package/dist/esm/checkbox/index.js +5 -13
- package/dist/esm/color/palette.js +174 -12
- package/dist/esm/color/recipes/contrast-and-delta-swatch-set.js +28 -0
- package/dist/esm/color/recipes/contrast-swatch.js +12 -0
- package/dist/esm/color/recipes/delta-swatch-set.js +53 -0
- package/dist/esm/color/recipes/{neutral-divider.js → delta-swatch.js} +3 -2
- package/dist/esm/color/recipes/focus-stroke.js +4 -3
- package/dist/esm/color/recipes/foreground-on-accent.js +14 -0
- package/dist/esm/color/recipes/gradient-shadow-stroke.js +54 -0
- package/dist/esm/color/recipes/gradient-swatch.js +36 -0
- package/dist/esm/color/recipes/neutral-layer-1.js +7 -1
- package/dist/esm/color/recipes/neutral-layer-2.js +3 -9
- package/dist/esm/color/recipes/neutral-layer-3.js +3 -3
- package/dist/esm/color/recipes/neutral-layer-4.js +3 -3
- package/dist/esm/color/recipes/neutral-layer-floating.js +3 -4
- package/dist/esm/color/recipes/underline-stroke.js +31 -0
- package/dist/esm/color/swatch.js +22 -2
- package/dist/esm/color/utilities/base-layer-luminance.js +2 -2
- package/dist/esm/combobox/combobox.stories.js +1 -0
- package/dist/esm/combobox/index.js +6 -9
- package/dist/esm/custom-elements.js +3 -1
- package/dist/esm/data-grid/data-grid-cell.styles.js +4 -4
- package/dist/esm/data-grid/data-grid-row.styles.js +3 -3
- package/dist/esm/design-system-provider/design-system-provider.vscode.definition.json +17 -9
- package/dist/esm/design-system-provider/index.js +24 -39
- package/dist/esm/design-tokens.js +303 -217
- package/dist/esm/dialog/dialog.styles.js +2 -3
- package/dist/esm/divider/divider.styles.js +1 -2
- package/dist/esm/flipper/flipper.styles.js +28 -65
- package/dist/esm/flipper/index.js +4 -8
- package/dist/esm/listbox/listbox.styles.js +8 -29
- package/dist/esm/listbox-option/listbox-option.styles.js +52 -35
- package/dist/esm/menu/index.js +16 -6
- package/dist/esm/menu/menu.stories.js +16 -2
- package/dist/esm/menu/menu.styles.js +38 -27
- package/dist/esm/menu-item/index.js +6 -33
- package/dist/esm/menu-item/menu-item.stories.js +1 -1
- package/dist/esm/menu-item/menu-item.styles.js +58 -84
- package/dist/esm/number-field/index.js +7 -3
- package/dist/esm/number-field/number-field.styles.js +30 -175
- package/dist/esm/progress/progress/index.js +1 -1
- package/dist/esm/progress/progress/progress.styles.js +13 -18
- package/dist/esm/progress/progress-ring/progress-ring.styles.js +65 -69
- package/dist/esm/radio/index.js +3 -1
- package/dist/esm/radio/radio.stories.js +3 -2
- package/dist/esm/radio/radio.styles.js +52 -42
- package/dist/esm/radio-group/radio-group.styles.js +0 -2
- package/dist/esm/select/index.js +6 -9
- package/dist/esm/select/select.stories.js +10 -2
- package/dist/esm/select/select.styles.js +100 -124
- package/dist/esm/select/select.vscode.definition.json +3 -0
- package/dist/esm/skeleton/skeleton.stories.js +3 -2
- package/dist/esm/skeleton/skeleton.styles.js +11 -6
- package/dist/esm/slider/slider.styles.js +54 -14
- package/dist/esm/slider-label/slider-label.styles.js +5 -6
- package/dist/esm/styles/direction.js +1 -1
- package/dist/esm/styles/elevation.js +54 -5
- package/dist/esm/styles/patterns/button.styles.js +274 -294
- package/dist/esm/styles/patterns/index.js +1 -1
- package/dist/esm/styles/patterns/input.styles.js +218 -0
- package/dist/esm/switch/index.js +3 -1
- package/dist/esm/switch/switch.stories.js +3 -3
- package/dist/esm/switch/switch.styles.js +79 -60
- package/dist/esm/tabs/tab/tab.styles.js +11 -14
- package/dist/esm/tabs/tabs.styles.js +9 -8
- package/dist/esm/text-area/text-area.stories.js +2 -2
- package/dist/esm/text-area/text-area.styles.js +16 -96
- package/dist/esm/text-field/text-field.stories.js +1 -1
- package/dist/esm/text-field/text-field.styles.js +16 -144
- package/dist/esm/toolbar/index.js +1 -0
- package/dist/esm/toolbar/toolbar.styles.js +56 -56
- package/dist/esm/tooltip/index.js +2 -4
- package/dist/esm/tooltip/tooltip.styles.js +14 -14
- package/dist/esm/tree-item/index.js +2 -8
- package/dist/esm/tree-item/tree-item.styles.js +45 -80
- package/dist/esm/tree-view/tree-view.stories.js +23 -11
- package/dist/fluent-web-components.api.json +4900 -2353
- package/dist/web-components.d.ts +397 -100
- package/dist/web-components.js +2240 -2175
- package/dist/web-components.min.js +158 -128
- package/docs/api-report.md +338 -80
- package/package.json +2 -5
- package/public/switches.ts +13 -14
- package/dist/dts/color/recipes/accent-fill.d.ts +0 -7
- package/dist/dts/color/recipes/accent-foreground.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-fill-contrast.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-fill-input.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-fill-inverse.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-fill-layer.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-fill-stealth.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-fill.d.ts +0 -14
- package/dist/dts/color/recipes/neutral-foreground-hint.d.ts +0 -10
- package/dist/dts/color/recipes/neutral-foreground.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-layer-card-container.d.ts +0 -6
- package/dist/dts/color/recipes/neutral-stroke-strong.d.ts +0 -7
- package/dist/dts/color/recipes/neutral-stroke.d.ts +0 -7
- package/dist/dts/styles/patterns/input.d.ts +0 -4
- package/dist/dts/utilities/math.d.ts +0 -24
- package/dist/esm/color/recipes/accent-fill.js +0 -18
- package/dist/esm/color/recipes/accent-foreground.js +0 -31
- package/dist/esm/color/recipes/neutral-fill-contrast.js +0 -26
- package/dist/esm/color/recipes/neutral-fill-input.js +0 -14
- package/dist/esm/color/recipes/neutral-fill-inverse.js +0 -26
- package/dist/esm/color/recipes/neutral-fill-layer.js +0 -7
- package/dist/esm/color/recipes/neutral-fill-stealth.js +0 -14
- package/dist/esm/color/recipes/neutral-fill.js +0 -21
- package/dist/esm/color/recipes/neutral-foreground-hint.js +0 -10
- package/dist/esm/color/recipes/neutral-foreground.js +0 -6
- package/dist/esm/color/recipes/neutral-layer-card-container.js +0 -9
- package/dist/esm/color/recipes/neutral-stroke-strong.js +0 -15
- package/dist/esm/color/recipes/neutral-stroke.js +0 -18
- package/dist/esm/styles/patterns/input.js +0 -31
- package/dist/esm/utilities/math.js +0 -49
package/docs/api-report.md
CHANGED
|
@@ -16,6 +16,7 @@ import { Breadcrumb } from '@microsoft/fast-foundation';
|
|
|
16
16
|
import { BreadcrumbItem } from '@microsoft/fast-foundation';
|
|
17
17
|
import { BreadcrumbItemOptions } from '@microsoft/fast-foundation';
|
|
18
18
|
import { Button as Button_2 } from '@microsoft/fast-foundation';
|
|
19
|
+
import { CalendarOptions } from '@microsoft/fast-foundation';
|
|
19
20
|
import { Card as Card_2 } from '@microsoft/fast-foundation';
|
|
20
21
|
import { CheckboxOptions } from '@microsoft/fast-foundation';
|
|
21
22
|
import { Combobox as Combobox_2 } from '@microsoft/fast-foundation';
|
|
@@ -44,7 +45,7 @@ import { HorizontalScroll as HorizontalScroll_2 } from '@microsoft/fast-foundati
|
|
|
44
45
|
import { HorizontalScrollOptions } from '@microsoft/fast-foundation';
|
|
45
46
|
import { Listbox } from '@microsoft/fast-foundation';
|
|
46
47
|
import { ListboxOption } from '@microsoft/fast-foundation';
|
|
47
|
-
import { Menu } from '@microsoft/fast-foundation';
|
|
48
|
+
import { Menu as Menu_2 } from '@microsoft/fast-foundation';
|
|
48
49
|
import { MenuItem } from '@microsoft/fast-foundation';
|
|
49
50
|
import { MenuItemOptions } from '@microsoft/fast-foundation';
|
|
50
51
|
import { NumberField as NumberField_2 } from '@microsoft/fast-foundation';
|
|
@@ -75,28 +76,31 @@ import { TreeItemOptions } from '@microsoft/fast-foundation';
|
|
|
75
76
|
import { TreeView } from '@microsoft/fast-foundation';
|
|
76
77
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
77
78
|
|
|
79
|
+
// @public (undocumented)
|
|
80
|
+
export const accentBaseColor: CSSDesignToken<Swatch>;
|
|
81
|
+
|
|
78
82
|
// Warning: (ae-internal-missing-underscore) The name "AccentButtonStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
79
83
|
//
|
|
80
84
|
// @internal (undocumented)
|
|
81
|
-
export const AccentButtonStyles: ElementStyles;
|
|
85
|
+
export const AccentButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
82
86
|
|
|
83
87
|
// @public (undocumented)
|
|
84
88
|
export const accentFillActive: CSSDesignToken<Swatch>;
|
|
85
89
|
|
|
86
90
|
// @public (undocumented)
|
|
87
|
-
export const accentFillActiveDelta:
|
|
91
|
+
export const accentFillActiveDelta: DesignToken<number>;
|
|
88
92
|
|
|
89
93
|
// @public (undocumented)
|
|
90
94
|
export const accentFillFocus: CSSDesignToken<Swatch>;
|
|
91
95
|
|
|
92
96
|
// @public (undocumented)
|
|
93
|
-
export const accentFillFocusDelta:
|
|
97
|
+
export const accentFillFocusDelta: DesignToken<number>;
|
|
94
98
|
|
|
95
99
|
// @public (undocumented)
|
|
96
100
|
export const accentFillHover: CSSDesignToken<Swatch>;
|
|
97
101
|
|
|
98
102
|
// @public (undocumented)
|
|
99
|
-
export const accentFillHoverDelta:
|
|
103
|
+
export const accentFillHoverDelta: DesignToken<number>;
|
|
100
104
|
|
|
101
105
|
// @public (undocumented)
|
|
102
106
|
export const accentFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -105,13 +109,13 @@ export const accentFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
105
109
|
export const accentFillRest: CSSDesignToken<Swatch>;
|
|
106
110
|
|
|
107
111
|
// @public (undocumented)
|
|
108
|
-
export const accentFillRestDelta:
|
|
112
|
+
export const accentFillRestDelta: DesignToken<number>;
|
|
109
113
|
|
|
110
114
|
// @public (undocumented)
|
|
111
115
|
export const accentForegroundActive: CSSDesignToken<Swatch>;
|
|
112
116
|
|
|
113
117
|
// @public (undocumented)
|
|
114
|
-
export const accentForegroundActiveDelta:
|
|
118
|
+
export const accentForegroundActiveDelta: DesignToken<number>;
|
|
115
119
|
|
|
116
120
|
// @public @deprecated (undocumented)
|
|
117
121
|
export const accentForegroundCut: CSSDesignToken<Swatch>;
|
|
@@ -123,13 +127,13 @@ export const accentForegroundCutLarge: CSSDesignToken<Swatch>;
|
|
|
123
127
|
export const accentForegroundFocus: CSSDesignToken<Swatch>;
|
|
124
128
|
|
|
125
129
|
// @public (undocumented)
|
|
126
|
-
export const accentForegroundFocusDelta:
|
|
130
|
+
export const accentForegroundFocusDelta: DesignToken<number>;
|
|
127
131
|
|
|
128
132
|
// @public (undocumented)
|
|
129
133
|
export const accentForegroundHover: CSSDesignToken<Swatch>;
|
|
130
134
|
|
|
131
135
|
// @public (undocumented)
|
|
132
|
-
export const accentForegroundHoverDelta:
|
|
136
|
+
export const accentForegroundHoverDelta: DesignToken<number>;
|
|
133
137
|
|
|
134
138
|
// @public (undocumented)
|
|
135
139
|
export const accentForegroundRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -138,11 +142,26 @@ export const accentForegroundRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
138
142
|
export const accentForegroundRest: CSSDesignToken<Swatch>;
|
|
139
143
|
|
|
140
144
|
// @public (undocumented)
|
|
141
|
-
export const accentForegroundRestDelta:
|
|
145
|
+
export const accentForegroundRestDelta: DesignToken<number>;
|
|
142
146
|
|
|
143
147
|
// @public (undocumented)
|
|
144
148
|
export const accentPalette: DesignToken<Palette<Swatch>>;
|
|
145
149
|
|
|
150
|
+
// @public (undocumented)
|
|
151
|
+
export const accentStrokeControlActive: CSSDesignToken<Swatch>;
|
|
152
|
+
|
|
153
|
+
// @public (undocumented)
|
|
154
|
+
export const accentStrokeControlFocus: CSSDesignToken<Swatch>;
|
|
155
|
+
|
|
156
|
+
// @public (undocumented)
|
|
157
|
+
export const accentStrokeControlHover: CSSDesignToken<Swatch>;
|
|
158
|
+
|
|
159
|
+
// @public (undocumented)
|
|
160
|
+
export const accentStrokeControlRecipe: DesignToken<InteractiveColorRecipe>;
|
|
161
|
+
|
|
162
|
+
// @public (undocumented)
|
|
163
|
+
export const accentStrokeControlRest: CSSDesignToken<Swatch>;
|
|
164
|
+
|
|
146
165
|
export { Accordion }
|
|
147
166
|
|
|
148
167
|
export { AccordionItem }
|
|
@@ -163,6 +182,7 @@ export const allComponents: {
|
|
|
163
182
|
fluentBreadcrumb: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Breadcrumb>;
|
|
164
183
|
fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundationElementDefinition<BreadcrumbItemOptions> | undefined) => FoundationElementRegistry<BreadcrumbItemOptions, Constructable<FoundationElement>>;
|
|
165
184
|
fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Button>;
|
|
185
|
+
fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
166
186
|
fluentCard: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, Card>;
|
|
167
187
|
fluentCheckbox: (overrideDefinition?: OverrideFoundationElementDefinition<CheckboxOptions> | undefined) => FoundationElementRegistry<CheckboxOptions, Constructable<FoundationElement>>;
|
|
168
188
|
fluentCombobox: (overrideDefinition?: OverrideFoundationElementDefinition<ComboboxOptions> | undefined) => FoundationElementRegistry<ComboboxOptions, Constructable<FoundationElement>>;
|
|
@@ -211,7 +231,7 @@ export const allComponents: {
|
|
|
211
231
|
// Warning: (ae-internal-missing-underscore) The name "ambientShadow" should be prefixed with an underscore because the declaration is marked as @internal
|
|
212
232
|
//
|
|
213
233
|
// @internal @deprecated
|
|
214
|
-
export const ambientShadow = "0 0
|
|
234
|
+
export const ambientShadow = "0 0 2px rgba(0, 0, 0, 0.14)";
|
|
215
235
|
|
|
216
236
|
// Warning: (ae-internal-missing-underscore) The name "Anchor" should be prefixed with an underscore because the declaration is marked as @internal
|
|
217
237
|
//
|
|
@@ -254,7 +274,7 @@ export const badgeStyles: (context: ElementDefinitionContext, definition: Founda
|
|
|
254
274
|
// Warning: (ae-internal-missing-underscore) The name "baseButtonStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
255
275
|
//
|
|
256
276
|
// @internal (undocumented)
|
|
257
|
-
export const baseButtonStyles: (context:
|
|
277
|
+
export const baseButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
258
278
|
|
|
259
279
|
// @public (undocumented)
|
|
260
280
|
export const baseHeightMultiplier: CSSDesignToken<number>;
|
|
@@ -314,7 +334,10 @@ export const cardStyles: (context: ElementDefinitionContext, definition: Foundat
|
|
|
314
334
|
export const checkboxStyles: (context: ElementDefinitionContext, definition: CheckboxOptions) => ElementStyles;
|
|
315
335
|
|
|
316
336
|
// @public (undocumented)
|
|
317
|
-
export
|
|
337
|
+
export interface ColorRecipe {
|
|
338
|
+
// (undocumented)
|
|
339
|
+
evaluate(element: HTMLElement, reference?: Swatch): Swatch;
|
|
340
|
+
}
|
|
318
341
|
|
|
319
342
|
// Warning: (ae-internal-missing-underscore) The name "Combobox" should be prefixed with an underscore because the declaration is marked as @internal
|
|
320
343
|
//
|
|
@@ -329,7 +352,7 @@ export class Combobox extends Combobox_2 {
|
|
|
329
352
|
}
|
|
330
353
|
|
|
331
354
|
// @public
|
|
332
|
-
export type ComboboxAppearance =
|
|
355
|
+
export type ComboboxAppearance = 'filled' | 'outline';
|
|
333
356
|
|
|
334
357
|
// @public
|
|
335
358
|
export const comboboxStyles: (context: ElementDefinitionContext, definition: ComboboxOptions) => ElementStyles;
|
|
@@ -350,7 +373,7 @@ export const dataGridCellStyles: (context: ElementDefinitionContext, definition:
|
|
|
350
373
|
export { DataGridRow }
|
|
351
374
|
|
|
352
375
|
// @public
|
|
353
|
-
export const dataGridRowStyles: (context: ElementDefinitionContext,
|
|
376
|
+
export const dataGridRowStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
354
377
|
|
|
355
378
|
// @public
|
|
356
379
|
export const dataGridStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
@@ -370,10 +393,11 @@ export class DesignSystemProvider extends FoundationElement {
|
|
|
370
393
|
accentForegroundFocusDelta: number;
|
|
371
394
|
accentForegroundHoverDelta: number;
|
|
372
395
|
accentForegroundRestDelta: number;
|
|
373
|
-
accentPalette: Palette;
|
|
374
396
|
baseHeightMultiplier: number;
|
|
375
397
|
baseHorizontalSpacingMultiplier: number;
|
|
376
398
|
baseLayerLuminance: number;
|
|
399
|
+
// (undocumented)
|
|
400
|
+
connectedCallback(): void;
|
|
377
401
|
controlCornerRadius: number;
|
|
378
402
|
density: number;
|
|
379
403
|
designUnit: number;
|
|
@@ -381,6 +405,7 @@ export class DesignSystemProvider extends FoundationElement {
|
|
|
381
405
|
disabledOpacity: number;
|
|
382
406
|
fillColor: Swatch;
|
|
383
407
|
focusStrokeWidth: number;
|
|
408
|
+
layerCornerRadius: number;
|
|
384
409
|
neutralBaseColor: Swatch;
|
|
385
410
|
neutralFillActiveDelta: number;
|
|
386
411
|
neutralFillFocusDelta: number;
|
|
@@ -398,7 +423,6 @@ export class DesignSystemProvider extends FoundationElement {
|
|
|
398
423
|
neutralFillStrongActiveDelta: number;
|
|
399
424
|
neutralFillStrongFocusDelta: number;
|
|
400
425
|
neutralFillStrongHoverDelta: number;
|
|
401
|
-
neutralPalette: Palette;
|
|
402
426
|
neutralStrokeActiveDelta: number;
|
|
403
427
|
neutralStrokeDividerRestDelta: number;
|
|
404
428
|
neutralStrokeFocusDelta: number;
|
|
@@ -440,7 +464,7 @@ export const direction: CSSDesignToken<Direction>;
|
|
|
440
464
|
// Warning: (ae-internal-missing-underscore) The name "directionalShadow" should be prefixed with an underscore because the declaration is marked as @internal
|
|
441
465
|
//
|
|
442
466
|
// @internal @deprecated (undocumented)
|
|
443
|
-
export const directionalShadow = "0 calc(var(--elevation) * 0.
|
|
467
|
+
export const directionalShadow = "0 calc(var(--elevation) * 0.5px) calc((var(--elevation) * 1px)) rgba(0, 0, 0, 0.2)";
|
|
444
468
|
|
|
445
469
|
// @public
|
|
446
470
|
export class DirectionalStyleSheetBehavior implements Behavior {
|
|
@@ -466,12 +490,58 @@ export const elevatedCornerRadius: CSSDesignToken<number>;
|
|
|
466
490
|
export const elevation: string;
|
|
467
491
|
|
|
468
492
|
// @public (undocumented)
|
|
469
|
-
export
|
|
493
|
+
export interface ElevationRecipe {
|
|
494
|
+
// (undocumented)
|
|
495
|
+
evaluate(element: HTMLElement, size: number, reference?: Swatch): string;
|
|
496
|
+
}
|
|
470
497
|
|
|
471
|
-
//
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
498
|
+
// @public (undocumented)
|
|
499
|
+
export const elevationShadowCardActive: CSSDesignToken<string>;
|
|
500
|
+
|
|
501
|
+
// @public (undocumented)
|
|
502
|
+
export const elevationShadowCardActiveSize: CSSDesignToken<number>;
|
|
503
|
+
|
|
504
|
+
// @public (undocumented)
|
|
505
|
+
export const elevationShadowCardFocus: CSSDesignToken<string>;
|
|
506
|
+
|
|
507
|
+
// @public (undocumented)
|
|
508
|
+
export const elevationShadowCardFocusSize: CSSDesignToken<number>;
|
|
509
|
+
|
|
510
|
+
// @public (undocumented)
|
|
511
|
+
export const elevationShadowCardHover: CSSDesignToken<string>;
|
|
512
|
+
|
|
513
|
+
// @public (undocumented)
|
|
514
|
+
export const elevationShadowCardHoverSize: CSSDesignToken<number>;
|
|
515
|
+
|
|
516
|
+
// @public (undocumented)
|
|
517
|
+
export const elevationShadowCardRest: CSSDesignToken<string>;
|
|
518
|
+
|
|
519
|
+
// @public (undocumented)
|
|
520
|
+
export const elevationShadowCardRestSize: CSSDesignToken<number>;
|
|
521
|
+
|
|
522
|
+
// @public (undocumented)
|
|
523
|
+
export const elevationShadowDialog: CSSDesignToken<string>;
|
|
524
|
+
|
|
525
|
+
// @public (undocumented)
|
|
526
|
+
export const elevationShadowDialogSize: CSSDesignToken<number>;
|
|
527
|
+
|
|
528
|
+
// @public (undocumented)
|
|
529
|
+
export const elevationShadowFlyout: CSSDesignToken<string>;
|
|
530
|
+
|
|
531
|
+
// @public (undocumented)
|
|
532
|
+
export const elevationShadowFlyoutSize: CSSDesignToken<number>;
|
|
533
|
+
|
|
534
|
+
// @public (undocumented)
|
|
535
|
+
export const elevationShadowRecipe: DesignToken<ElevationRecipe>;
|
|
536
|
+
|
|
537
|
+
// @public (undocumented)
|
|
538
|
+
export const elevationShadowTooltip: CSSDesignToken<string>;
|
|
539
|
+
|
|
540
|
+
// @public (undocumented)
|
|
541
|
+
export const elevationShadowTooltipSize: CSSDesignToken<number>;
|
|
542
|
+
|
|
543
|
+
// @public (undocumented)
|
|
544
|
+
export const fillColor: CSSDesignToken<Swatch>;
|
|
475
545
|
|
|
476
546
|
export { Flipper }
|
|
477
547
|
|
|
@@ -508,6 +578,9 @@ export const fluentBreadcrumbItem: (overrideDefinition?: OverrideFoundationEleme
|
|
|
508
578
|
// @public
|
|
509
579
|
export const fluentButton: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Button>;
|
|
510
580
|
|
|
581
|
+
// @public
|
|
582
|
+
export const fluentCalendar: (overrideDefinition?: OverrideFoundationElementDefinition<CalendarOptions> | undefined) => FoundationElementRegistry<CalendarOptions, Constructable<FoundationElement>>;
|
|
583
|
+
|
|
511
584
|
// @public
|
|
512
585
|
export const fluentCard: (overrideDefinition?: OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => FoundationElementRegistry<FoundationElementDefinition, typeof Card>;
|
|
513
586
|
|
|
@@ -663,10 +736,10 @@ export const foregroundOnAccentHover: CSSDesignToken<Swatch>;
|
|
|
663
736
|
export const foregroundOnAccentHoverLarge: CSSDesignToken<Swatch>;
|
|
664
737
|
|
|
665
738
|
// @public @deprecated (undocumented)
|
|
666
|
-
export const foregroundOnAccentLargeRecipe: DesignToken<
|
|
739
|
+
export const foregroundOnAccentLargeRecipe: DesignToken<InteractiveColorRecipe>;
|
|
667
740
|
|
|
668
741
|
// @public (undocumented)
|
|
669
|
-
export const foregroundOnAccentRecipe: DesignToken<
|
|
742
|
+
export const foregroundOnAccentRecipe: DesignToken<InteractiveColorRecipe>;
|
|
670
743
|
|
|
671
744
|
// @public (undocumented)
|
|
672
745
|
export const foregroundOnAccentRest: CSSDesignToken<Swatch>;
|
|
@@ -691,10 +764,38 @@ export const horizontalScrollStyles: (context: ElementDefinitionContext, definit
|
|
|
691
764
|
// Warning: (ae-internal-missing-underscore) The name "HypertextStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
692
765
|
//
|
|
693
766
|
// @internal (undocumented)
|
|
694
|
-
export const HypertextStyles: ElementStyles;
|
|
767
|
+
export const HypertextStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
768
|
+
|
|
769
|
+
// Warning: (ae-internal-missing-underscore) The name "inputFilledForcedColorStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
770
|
+
//
|
|
771
|
+
// @internal (undocumented)
|
|
772
|
+
export const inputFilledForcedColorStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, rootSelector: string) => ElementStyles;
|
|
773
|
+
|
|
774
|
+
// Warning: (ae-internal-missing-underscore) The name "inputFilledStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
775
|
+
//
|
|
776
|
+
// @internal (undocumented)
|
|
777
|
+
export const inputFilledStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, rootSelector: string) => ElementStyles;
|
|
778
|
+
|
|
779
|
+
// Warning: (ae-internal-missing-underscore) The name "inputForcedColorStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
780
|
+
//
|
|
781
|
+
// @internal (undocumented)
|
|
782
|
+
export const inputForcedColorStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, rootSelector: string) => ElementStyles;
|
|
783
|
+
|
|
784
|
+
// Warning: (ae-internal-missing-underscore) The name "inputStateStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
785
|
+
//
|
|
786
|
+
// @internal (undocumented)
|
|
787
|
+
export const inputStateStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, rootSelector: string) => ElementStyles;
|
|
788
|
+
|
|
789
|
+
// Warning: (ae-internal-missing-underscore) The name "inputStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
790
|
+
//
|
|
791
|
+
// @internal (undocumented)
|
|
792
|
+
export const inputStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, rootSelector: string) => ElementStyles;
|
|
695
793
|
|
|
696
794
|
// @public (undocumented)
|
|
697
|
-
export
|
|
795
|
+
export interface InteractiveColorRecipe {
|
|
796
|
+
// (undocumented)
|
|
797
|
+
evaluate(element: HTMLElement, reference?: Swatch): InteractiveSwatchSet;
|
|
798
|
+
}
|
|
698
799
|
|
|
699
800
|
// @public (undocumented)
|
|
700
801
|
export interface InteractiveSwatchSet {
|
|
@@ -715,14 +816,18 @@ export const layerCornerRadius: CSSDesignToken<number>;
|
|
|
715
816
|
// Warning: (ae-internal-missing-underscore) The name "LightweightButtonStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
716
817
|
//
|
|
717
818
|
// @internal (undocumented)
|
|
718
|
-
export const LightweightButtonStyles: ElementStyles;
|
|
819
|
+
export const LightweightButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
719
820
|
|
|
720
821
|
export { Listbox }
|
|
721
822
|
|
|
722
823
|
// @public
|
|
723
824
|
export const listboxStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
724
825
|
|
|
725
|
-
|
|
826
|
+
// @public
|
|
827
|
+
export class Menu extends Menu_2 {
|
|
828
|
+
// @internal (undocumented)
|
|
829
|
+
connectedCallback(): void;
|
|
830
|
+
}
|
|
726
831
|
|
|
727
832
|
export { MenuItem }
|
|
728
833
|
|
|
@@ -732,6 +837,9 @@ export const menuItemStyles: (context: ElementDefinitionContext, definition: Men
|
|
|
732
837
|
// @public
|
|
733
838
|
export const menuStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;
|
|
734
839
|
|
|
840
|
+
// @public (undocumented)
|
|
841
|
+
export const neutralBaseColor: CSSDesignToken<Swatch>;
|
|
842
|
+
|
|
735
843
|
// @public @deprecated (undocumented)
|
|
736
844
|
export const neutralContrastFillActive: CSSDesignToken<Swatch>;
|
|
737
845
|
|
|
@@ -760,49 +868,76 @@ export const neutralContrastFillRestDelta: CSSDesignToken<number>;
|
|
|
760
868
|
export const neutralDivider: CSSDesignToken<Swatch>;
|
|
761
869
|
|
|
762
870
|
// @public @deprecated (undocumented)
|
|
763
|
-
export const neutralDividerRestDelta:
|
|
871
|
+
export const neutralDividerRestDelta: DesignToken<number>;
|
|
764
872
|
|
|
765
873
|
// @public (undocumented)
|
|
766
874
|
export const neutralFillActive: CSSDesignToken<Swatch>;
|
|
767
875
|
|
|
768
876
|
// @public (undocumented)
|
|
769
|
-
export const neutralFillActiveDelta:
|
|
877
|
+
export const neutralFillActiveDelta: DesignToken<number>;
|
|
770
878
|
|
|
771
879
|
// @public @deprecated (undocumented)
|
|
772
880
|
export const neutralFillCard: CSSDesignToken<Swatch>;
|
|
773
881
|
|
|
774
882
|
// @public @deprecated (undocumented)
|
|
775
|
-
export const neutralFillCardDelta:
|
|
883
|
+
export const neutralFillCardDelta: DesignToken<number>;
|
|
776
884
|
|
|
777
885
|
// @public (undocumented)
|
|
778
886
|
export const neutralFillFocus: CSSDesignToken<Swatch>;
|
|
779
887
|
|
|
780
888
|
// @public (undocumented)
|
|
781
|
-
export const neutralFillFocusDelta:
|
|
889
|
+
export const neutralFillFocusDelta: DesignToken<number>;
|
|
782
890
|
|
|
783
891
|
// @public (undocumented)
|
|
784
892
|
export const neutralFillHover: CSSDesignToken<Swatch>;
|
|
785
893
|
|
|
786
894
|
// @public (undocumented)
|
|
787
|
-
export const neutralFillHoverDelta:
|
|
895
|
+
export const neutralFillHoverDelta: DesignToken<number>;
|
|
788
896
|
|
|
789
897
|
// @public (undocumented)
|
|
790
898
|
export const neutralFillInputActive: CSSDesignToken<Swatch>;
|
|
791
899
|
|
|
792
900
|
// @public (undocumented)
|
|
793
|
-
export const neutralFillInputActiveDelta:
|
|
901
|
+
export const neutralFillInputActiveDelta: DesignToken<number>;
|
|
902
|
+
|
|
903
|
+
// @public (undocumented)
|
|
904
|
+
export const neutralFillInputAltActive: CSSDesignToken<Swatch>;
|
|
905
|
+
|
|
906
|
+
// @public (undocumented)
|
|
907
|
+
export const neutralFillInputAltActiveDelta: DesignToken<number>;
|
|
908
|
+
|
|
909
|
+
// @public (undocumented)
|
|
910
|
+
export const neutralFillInputAltFocus: CSSDesignToken<Swatch>;
|
|
911
|
+
|
|
912
|
+
// @public (undocumented)
|
|
913
|
+
export const neutralFillInputAltFocusDelta: DesignToken<number>;
|
|
914
|
+
|
|
915
|
+
// @public (undocumented)
|
|
916
|
+
export const neutralFillInputAltHover: CSSDesignToken<Swatch>;
|
|
917
|
+
|
|
918
|
+
// @public (undocumented)
|
|
919
|
+
export const neutralFillInputAltHoverDelta: DesignToken<number>;
|
|
920
|
+
|
|
921
|
+
// @public (undocumented)
|
|
922
|
+
export const neutralFillInputAltRecipe: DesignToken<InteractiveColorRecipe>;
|
|
923
|
+
|
|
924
|
+
// @public (undocumented)
|
|
925
|
+
export const neutralFillInputAltRest: CSSDesignToken<Swatch>;
|
|
926
|
+
|
|
927
|
+
// @public (undocumented)
|
|
928
|
+
export const neutralFillInputAltRestDelta: DesignToken<number>;
|
|
794
929
|
|
|
795
930
|
// @public (undocumented)
|
|
796
931
|
export const neutralFillInputFocus: CSSDesignToken<Swatch>;
|
|
797
932
|
|
|
798
933
|
// @public (undocumented)
|
|
799
|
-
export const neutralFillInputFocusDelta:
|
|
934
|
+
export const neutralFillInputFocusDelta: DesignToken<number>;
|
|
800
935
|
|
|
801
936
|
// @public (undocumented)
|
|
802
937
|
export const neutralFillInputHover: CSSDesignToken<Swatch>;
|
|
803
938
|
|
|
804
939
|
// @public (undocumented)
|
|
805
|
-
export const neutralFillInputHoverDelta:
|
|
940
|
+
export const neutralFillInputHoverDelta: DesignToken<number>;
|
|
806
941
|
|
|
807
942
|
// @public (undocumented)
|
|
808
943
|
export const neutralFillInputRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -811,24 +946,24 @@ export const neutralFillInputRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
811
946
|
export const neutralFillInputRest: CSSDesignToken<Swatch>;
|
|
812
947
|
|
|
813
948
|
// @public (undocumented)
|
|
814
|
-
export const neutralFillInputRestDelta:
|
|
949
|
+
export const neutralFillInputRestDelta: DesignToken<number>;
|
|
815
950
|
|
|
816
951
|
// @public @deprecated (undocumented)
|
|
817
952
|
export const neutralFillInverseActive: CSSDesignToken<Swatch>;
|
|
818
953
|
|
|
819
|
-
// @public (undocumented)
|
|
954
|
+
// @public @deprecated (undocumented)
|
|
820
955
|
export const neutralFillInverseActiveDelta: CSSDesignToken<number>;
|
|
821
956
|
|
|
822
957
|
// @public @deprecated (undocumented)
|
|
823
958
|
export const neutralFillInverseFocus: CSSDesignToken<Swatch>;
|
|
824
959
|
|
|
825
|
-
// @public (undocumented)
|
|
960
|
+
// @public @deprecated (undocumented)
|
|
826
961
|
export const neutralFillInverseFocusDelta: CSSDesignToken<number>;
|
|
827
962
|
|
|
828
963
|
// @public @deprecated (undocumented)
|
|
829
964
|
export const neutralFillInverseHover: CSSDesignToken<Swatch>;
|
|
830
965
|
|
|
831
|
-
// @public (undocumented)
|
|
966
|
+
// @public @deprecated (undocumented)
|
|
832
967
|
export const neutralFillInverseHoverDelta: CSSDesignToken<number>;
|
|
833
968
|
|
|
834
969
|
// @public @deprecated (undocumented)
|
|
@@ -837,17 +972,38 @@ export const neutralFillInverseRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
837
972
|
// @public @deprecated (undocumented)
|
|
838
973
|
export const neutralFillInverseRest: CSSDesignToken<Swatch>;
|
|
839
974
|
|
|
840
|
-
// @public (undocumented)
|
|
975
|
+
// @public @deprecated (undocumented)
|
|
841
976
|
export const neutralFillInverseRestDelta: CSSDesignToken<number>;
|
|
842
977
|
|
|
843
978
|
// @public (undocumented)
|
|
844
|
-
export const
|
|
979
|
+
export const neutralFillLayerActive: CSSDesignToken<Swatch>;
|
|
980
|
+
|
|
981
|
+
// @public (undocumented)
|
|
982
|
+
export const neutralFillLayerActiveDelta: DesignToken<number>;
|
|
983
|
+
|
|
984
|
+
// @public (undocumented)
|
|
985
|
+
export const neutralFillLayerAltRecipe: DesignToken<InteractiveColorRecipe>;
|
|
986
|
+
|
|
987
|
+
// @public (undocumented)
|
|
988
|
+
export const neutralFillLayerAltRest: CSSDesignToken<Swatch>;
|
|
989
|
+
|
|
990
|
+
// @public (undocumented)
|
|
991
|
+
export const neutralFillLayerAltRestDelta: DesignToken<number>;
|
|
992
|
+
|
|
993
|
+
// @public (undocumented)
|
|
994
|
+
export const neutralFillLayerHover: CSSDesignToken<Swatch>;
|
|
995
|
+
|
|
996
|
+
// @public (undocumented)
|
|
997
|
+
export const neutralFillLayerHoverDelta: DesignToken<number>;
|
|
998
|
+
|
|
999
|
+
// @public (undocumented)
|
|
1000
|
+
export const neutralFillLayerRecipe: DesignToken<InteractiveColorRecipe>;
|
|
845
1001
|
|
|
846
1002
|
// @public (undocumented)
|
|
847
1003
|
export const neutralFillLayerRest: CSSDesignToken<Swatch>;
|
|
848
1004
|
|
|
849
1005
|
// @public (undocumented)
|
|
850
|
-
export const neutralFillLayerRestDelta:
|
|
1006
|
+
export const neutralFillLayerRestDelta: DesignToken<number>;
|
|
851
1007
|
|
|
852
1008
|
// @public (undocumented)
|
|
853
1009
|
export const neutralFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -856,25 +1012,52 @@ export const neutralFillRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
856
1012
|
export const neutralFillRest: CSSDesignToken<Swatch>;
|
|
857
1013
|
|
|
858
1014
|
// @public (undocumented)
|
|
859
|
-
export const neutralFillRestDelta:
|
|
1015
|
+
export const neutralFillRestDelta: DesignToken<number>;
|
|
1016
|
+
|
|
1017
|
+
// @public (undocumented)
|
|
1018
|
+
export const neutralFillSecondaryActive: CSSDesignToken<Swatch>;
|
|
1019
|
+
|
|
1020
|
+
// @public (undocumented)
|
|
1021
|
+
export const neutralFillSecondaryActiveDelta: DesignToken<number>;
|
|
1022
|
+
|
|
1023
|
+
// @public (undocumented)
|
|
1024
|
+
export const neutralFillSecondaryFocus: CSSDesignToken<Swatch>;
|
|
1025
|
+
|
|
1026
|
+
// @public (undocumented)
|
|
1027
|
+
export const neutralFillSecondaryFocusDelta: DesignToken<number>;
|
|
1028
|
+
|
|
1029
|
+
// @public (undocumented)
|
|
1030
|
+
export const neutralFillSecondaryHover: CSSDesignToken<Swatch>;
|
|
1031
|
+
|
|
1032
|
+
// @public (undocumented)
|
|
1033
|
+
export const neutralFillSecondaryHoverDelta: DesignToken<number>;
|
|
1034
|
+
|
|
1035
|
+
// @public (undocumented)
|
|
1036
|
+
export const neutralFillSecondaryRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1037
|
+
|
|
1038
|
+
// @public (undocumented)
|
|
1039
|
+
export const neutralFillSecondaryRest: CSSDesignToken<Swatch>;
|
|
1040
|
+
|
|
1041
|
+
// @public (undocumented)
|
|
1042
|
+
export const neutralFillSecondaryRestDelta: DesignToken<number>;
|
|
860
1043
|
|
|
861
1044
|
// @public (undocumented)
|
|
862
1045
|
export const neutralFillStealthActive: CSSDesignToken<Swatch>;
|
|
863
1046
|
|
|
864
1047
|
// @public (undocumented)
|
|
865
|
-
export const neutralFillStealthActiveDelta:
|
|
1048
|
+
export const neutralFillStealthActiveDelta: DesignToken<number>;
|
|
866
1049
|
|
|
867
1050
|
// @public (undocumented)
|
|
868
1051
|
export const neutralFillStealthFocus: CSSDesignToken<Swatch>;
|
|
869
1052
|
|
|
870
1053
|
// @public (undocumented)
|
|
871
|
-
export const neutralFillStealthFocusDelta:
|
|
1054
|
+
export const neutralFillStealthFocusDelta: DesignToken<number>;
|
|
872
1055
|
|
|
873
1056
|
// @public (undocumented)
|
|
874
1057
|
export const neutralFillStealthHover: CSSDesignToken<Swatch>;
|
|
875
1058
|
|
|
876
1059
|
// @public (undocumented)
|
|
877
|
-
export const neutralFillStealthHoverDelta:
|
|
1060
|
+
export const neutralFillStealthHoverDelta: DesignToken<number>;
|
|
878
1061
|
|
|
879
1062
|
// @public (undocumented)
|
|
880
1063
|
export const neutralFillStealthRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -883,25 +1066,25 @@ export const neutralFillStealthRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
883
1066
|
export const neutralFillStealthRest: CSSDesignToken<Swatch>;
|
|
884
1067
|
|
|
885
1068
|
// @public (undocumented)
|
|
886
|
-
export const neutralFillStealthRestDelta:
|
|
1069
|
+
export const neutralFillStealthRestDelta: DesignToken<number>;
|
|
887
1070
|
|
|
888
1071
|
// @public (undocumented)
|
|
889
1072
|
export const neutralFillStrongActive: CSSDesignToken<Swatch>;
|
|
890
1073
|
|
|
891
1074
|
// @public (undocumented)
|
|
892
|
-
export const neutralFillStrongActiveDelta:
|
|
1075
|
+
export const neutralFillStrongActiveDelta: DesignToken<number>;
|
|
893
1076
|
|
|
894
1077
|
// @public (undocumented)
|
|
895
1078
|
export const neutralFillStrongFocus: CSSDesignToken<Swatch>;
|
|
896
1079
|
|
|
897
1080
|
// @public (undocumented)
|
|
898
|
-
export const neutralFillStrongFocusDelta:
|
|
1081
|
+
export const neutralFillStrongFocusDelta: DesignToken<number>;
|
|
899
1082
|
|
|
900
1083
|
// @public (undocumented)
|
|
901
1084
|
export const neutralFillStrongHover: CSSDesignToken<Swatch>;
|
|
902
1085
|
|
|
903
1086
|
// @public (undocumented)
|
|
904
|
-
export const neutralFillStrongHoverDelta:
|
|
1087
|
+
export const neutralFillStrongHoverDelta: DesignToken<number>;
|
|
905
1088
|
|
|
906
1089
|
// @public (undocumented)
|
|
907
1090
|
export const neutralFillStrongRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -910,31 +1093,31 @@ export const neutralFillStrongRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
910
1093
|
export const neutralFillStrongRest: CSSDesignToken<Swatch>;
|
|
911
1094
|
|
|
912
1095
|
// @public (undocumented)
|
|
913
|
-
export const neutralFillStrongRestDelta:
|
|
1096
|
+
export const neutralFillStrongRestDelta: DesignToken<number>;
|
|
914
1097
|
|
|
915
1098
|
// @public @deprecated (undocumented)
|
|
916
1099
|
export const neutralFillToggleActive: CSSDesignToken<Swatch>;
|
|
917
1100
|
|
|
918
1101
|
// @public @deprecated (undocumented)
|
|
919
|
-
export const neutralFillToggleActiveDelta:
|
|
1102
|
+
export const neutralFillToggleActiveDelta: DesignToken<number>;
|
|
920
1103
|
|
|
921
1104
|
// @public @deprecated (undocumented)
|
|
922
1105
|
export const neutralFillToggleFocus: CSSDesignToken<Swatch>;
|
|
923
1106
|
|
|
924
1107
|
// @public @deprecated (undocumented)
|
|
925
|
-
export const neutralFillToggleFocusDelta:
|
|
1108
|
+
export const neutralFillToggleFocusDelta: DesignToken<number>;
|
|
926
1109
|
|
|
927
1110
|
// @public @deprecated (undocumented)
|
|
928
1111
|
export const neutralFillToggleHover: CSSDesignToken<Swatch>;
|
|
929
1112
|
|
|
930
1113
|
// @public @deprecated (undocumented)
|
|
931
|
-
export const neutralFillToggleHoverDelta:
|
|
1114
|
+
export const neutralFillToggleHoverDelta: DesignToken<number>;
|
|
932
1115
|
|
|
933
1116
|
// @public @deprecated (undocumented)
|
|
934
1117
|
export const neutralFillToggleRest: CSSDesignToken<Swatch>;
|
|
935
1118
|
|
|
936
1119
|
// @public @deprecated (undocumented)
|
|
937
|
-
export const neutralFillToggleRestDelta:
|
|
1120
|
+
export const neutralFillToggleRestDelta: DesignToken<number>;
|
|
938
1121
|
|
|
939
1122
|
// @public @deprecated (undocumented)
|
|
940
1123
|
export const neutralFocus: CSSDesignToken<Swatch>;
|
|
@@ -942,6 +1125,12 @@ export const neutralFocus: CSSDesignToken<Swatch>;
|
|
|
942
1125
|
// @public @deprecated (undocumented)
|
|
943
1126
|
export const neutralFocusInnerAccent: CSSDesignToken<Swatch>;
|
|
944
1127
|
|
|
1128
|
+
// @public (undocumented)
|
|
1129
|
+
export const neutralForegroundActive: CSSDesignToken<Swatch>;
|
|
1130
|
+
|
|
1131
|
+
// @public (undocumented)
|
|
1132
|
+
export const neutralForegroundFocus: CSSDesignToken<Swatch>;
|
|
1133
|
+
|
|
945
1134
|
// @public (undocumented)
|
|
946
1135
|
export const neutralForegroundHint: CSSDesignToken<Swatch>;
|
|
947
1136
|
|
|
@@ -949,7 +1138,10 @@ export const neutralForegroundHint: CSSDesignToken<Swatch>;
|
|
|
949
1138
|
export const neutralForegroundHintRecipe: DesignToken<ColorRecipe>;
|
|
950
1139
|
|
|
951
1140
|
// @public (undocumented)
|
|
952
|
-
export const
|
|
1141
|
+
export const neutralForegroundHover: CSSDesignToken<Swatch>;
|
|
1142
|
+
|
|
1143
|
+
// @public (undocumented)
|
|
1144
|
+
export const neutralForegroundRecipe: DesignToken<InteractiveColorRecipe>;
|
|
953
1145
|
|
|
954
1146
|
// @public (undocumented)
|
|
955
1147
|
export const neutralForegroundRest: CSSDesignToken<Swatch>;
|
|
@@ -1021,7 +1213,34 @@ export const neutralPalette: DesignToken<Palette<Swatch>>;
|
|
|
1021
1213
|
export const neutralStrokeActive: CSSDesignToken<Swatch>;
|
|
1022
1214
|
|
|
1023
1215
|
// @public (undocumented)
|
|
1024
|
-
export const neutralStrokeActiveDelta:
|
|
1216
|
+
export const neutralStrokeActiveDelta: DesignToken<number>;
|
|
1217
|
+
|
|
1218
|
+
// @public (undocumented)
|
|
1219
|
+
export const neutralStrokeControlActive: CSSDesignToken<Swatch>;
|
|
1220
|
+
|
|
1221
|
+
// @public (undocumented)
|
|
1222
|
+
export const neutralStrokeControlActiveDelta: DesignToken<number>;
|
|
1223
|
+
|
|
1224
|
+
// @public (undocumented)
|
|
1225
|
+
export const neutralStrokeControlFocus: CSSDesignToken<Swatch>;
|
|
1226
|
+
|
|
1227
|
+
// @public (undocumented)
|
|
1228
|
+
export const neutralStrokeControlFocusDelta: DesignToken<number>;
|
|
1229
|
+
|
|
1230
|
+
// @public (undocumented)
|
|
1231
|
+
export const neutralStrokeControlHover: CSSDesignToken<Swatch>;
|
|
1232
|
+
|
|
1233
|
+
// @public (undocumented)
|
|
1234
|
+
export const neutralStrokeControlHoverDelta: DesignToken<number>;
|
|
1235
|
+
|
|
1236
|
+
// @public (undocumented)
|
|
1237
|
+
export const neutralStrokeControlRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1238
|
+
|
|
1239
|
+
// @public (undocumented)
|
|
1240
|
+
export const neutralStrokeControlRest: CSSDesignToken<Swatch>;
|
|
1241
|
+
|
|
1242
|
+
// @public (undocumented)
|
|
1243
|
+
export const neutralStrokeControlRestDelta: DesignToken<number>;
|
|
1025
1244
|
|
|
1026
1245
|
// @public (undocumented)
|
|
1027
1246
|
export const neutralStrokeDividerRecipe: DesignToken<ColorRecipe>;
|
|
@@ -1030,19 +1249,55 @@ export const neutralStrokeDividerRecipe: DesignToken<ColorRecipe>;
|
|
|
1030
1249
|
export const neutralStrokeDividerRest: CSSDesignToken<Swatch>;
|
|
1031
1250
|
|
|
1032
1251
|
// @public (undocumented)
|
|
1033
|
-
export const neutralStrokeDividerRestDelta:
|
|
1252
|
+
export const neutralStrokeDividerRestDelta: DesignToken<number>;
|
|
1034
1253
|
|
|
1035
1254
|
// @public (undocumented)
|
|
1036
1255
|
export const neutralStrokeFocus: CSSDesignToken<Swatch>;
|
|
1037
1256
|
|
|
1038
1257
|
// @public (undocumented)
|
|
1039
|
-
export const neutralStrokeFocusDelta:
|
|
1258
|
+
export const neutralStrokeFocusDelta: DesignToken<number>;
|
|
1040
1259
|
|
|
1041
1260
|
// @public (undocumented)
|
|
1042
1261
|
export const neutralStrokeHover: CSSDesignToken<Swatch>;
|
|
1043
1262
|
|
|
1044
1263
|
// @public (undocumented)
|
|
1045
|
-
export const neutralStrokeHoverDelta:
|
|
1264
|
+
export const neutralStrokeHoverDelta: DesignToken<number>;
|
|
1265
|
+
|
|
1266
|
+
// @public (undocumented)
|
|
1267
|
+
export const neutralStrokeInputActive: CSSDesignToken<Swatch>;
|
|
1268
|
+
|
|
1269
|
+
// @public (undocumented)
|
|
1270
|
+
export const neutralStrokeInputFocus: CSSDesignToken<Swatch>;
|
|
1271
|
+
|
|
1272
|
+
// @public (undocumented)
|
|
1273
|
+
export const neutralStrokeInputHover: CSSDesignToken<Swatch>;
|
|
1274
|
+
|
|
1275
|
+
// @public (undocumented)
|
|
1276
|
+
export const neutralStrokeInputRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1277
|
+
|
|
1278
|
+
// @public (undocumented)
|
|
1279
|
+
export const neutralStrokeInputRest: CSSDesignToken<Swatch>;
|
|
1280
|
+
|
|
1281
|
+
// @public (undocumented)
|
|
1282
|
+
export const neutralStrokeLayerActive: CSSDesignToken<Swatch>;
|
|
1283
|
+
|
|
1284
|
+
// @public (undocumented)
|
|
1285
|
+
export const neutralStrokeLayerActiveDelta: DesignToken<number>;
|
|
1286
|
+
|
|
1287
|
+
// @public (undocumented)
|
|
1288
|
+
export const neutralStrokeLayerHover: CSSDesignToken<Swatch>;
|
|
1289
|
+
|
|
1290
|
+
// @public (undocumented)
|
|
1291
|
+
export const neutralStrokeLayerHoverDelta: DesignToken<number>;
|
|
1292
|
+
|
|
1293
|
+
// @public (undocumented)
|
|
1294
|
+
export const neutralStrokeLayerRecipe: DesignToken<InteractiveColorRecipe>;
|
|
1295
|
+
|
|
1296
|
+
// @public (undocumented)
|
|
1297
|
+
export const neutralStrokeLayerRest: CSSDesignToken<Swatch>;
|
|
1298
|
+
|
|
1299
|
+
// @public (undocumented)
|
|
1300
|
+
export const neutralStrokeLayerRestDelta: DesignToken<number>;
|
|
1046
1301
|
|
|
1047
1302
|
// @public (undocumented)
|
|
1048
1303
|
export const neutralStrokeRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -1051,25 +1306,25 @@ export const neutralStrokeRecipe: DesignToken<InteractiveColorRecipe>;
|
|
|
1051
1306
|
export const neutralStrokeRest: CSSDesignToken<Swatch>;
|
|
1052
1307
|
|
|
1053
1308
|
// @public (undocumented)
|
|
1054
|
-
export const neutralStrokeRestDelta:
|
|
1309
|
+
export const neutralStrokeRestDelta: DesignToken<number>;
|
|
1055
1310
|
|
|
1056
1311
|
// @public (undocumented)
|
|
1057
1312
|
export const neutralStrokeStrongActive: CSSDesignToken<Swatch>;
|
|
1058
1313
|
|
|
1059
1314
|
// @public (undocumented)
|
|
1060
|
-
export const neutralStrokeStrongActiveDelta:
|
|
1315
|
+
export const neutralStrokeStrongActiveDelta: DesignToken<number>;
|
|
1061
1316
|
|
|
1062
1317
|
// @public (undocumented)
|
|
1063
1318
|
export const neutralStrokeStrongFocus: CSSDesignToken<Swatch>;
|
|
1064
1319
|
|
|
1065
1320
|
// @public (undocumented)
|
|
1066
|
-
export const neutralStrokeStrongFocusDelta:
|
|
1321
|
+
export const neutralStrokeStrongFocusDelta: DesignToken<number>;
|
|
1067
1322
|
|
|
1068
1323
|
// @public (undocumented)
|
|
1069
1324
|
export const neutralStrokeStrongHover: CSSDesignToken<Swatch>;
|
|
1070
1325
|
|
|
1071
1326
|
// @public (undocumented)
|
|
1072
|
-
export const neutralStrokeStrongHoverDelta:
|
|
1327
|
+
export const neutralStrokeStrongHoverDelta: DesignToken<number>;
|
|
1073
1328
|
|
|
1074
1329
|
// @public (undocumented)
|
|
1075
1330
|
export const neutralStrokeStrongRecipe: DesignToken<InteractiveColorRecipe>;
|
|
@@ -1099,7 +1354,7 @@ export const OptionStyles: (context: ElementDefinitionContext, definition: Found
|
|
|
1099
1354
|
// Warning: (ae-internal-missing-underscore) The name "OutlineButtonStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
1100
1355
|
//
|
|
1101
1356
|
// @internal (undocumented)
|
|
1102
|
-
export const OutlineButtonStyles: ElementStyles;
|
|
1357
|
+
export const OutlineButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
1103
1358
|
|
|
1104
1359
|
// @public @deprecated (undocumented)
|
|
1105
1360
|
export const outlineWidth: CSSDesignToken<number>;
|
|
@@ -1121,7 +1376,8 @@ export type PaletteRGB = Palette<SwatchRGB>;
|
|
|
1121
1376
|
|
|
1122
1377
|
// @public (undocumented)
|
|
1123
1378
|
export const PaletteRGB: Readonly<{
|
|
1124
|
-
create
|
|
1379
|
+
create: typeof create;
|
|
1380
|
+
from: typeof from;
|
|
1125
1381
|
}>;
|
|
1126
1382
|
|
|
1127
1383
|
// @public
|
|
@@ -1151,7 +1407,7 @@ export const radioGroupStyles: (context: ElementDefinitionContext, definition: F
|
|
|
1151
1407
|
// @public
|
|
1152
1408
|
export const RadioStyles: (context: ElementDefinitionContext, definition: RadioOptions) => ElementStyles;
|
|
1153
1409
|
|
|
1154
|
-
// @public (undocumented)
|
|
1410
|
+
// @public @deprecated (undocumented)
|
|
1155
1411
|
export interface Recipe<T> {
|
|
1156
1412
|
// (undocumented)
|
|
1157
1413
|
evaluate(element: HTMLElement, reference?: Swatch): T;
|
|
@@ -1170,7 +1426,7 @@ export class Select extends Select_2 {
|
|
|
1170
1426
|
}
|
|
1171
1427
|
|
|
1172
1428
|
// @public
|
|
1173
|
-
export type SelectAppearance = 'filled' | 'outline';
|
|
1429
|
+
export type SelectAppearance = 'filled' | 'outline' | 'stealth';
|
|
1174
1430
|
|
|
1175
1431
|
// @public
|
|
1176
1432
|
export const selectStyles: (context: any, definition: any) => ElementStyles;
|
|
@@ -1193,15 +1449,15 @@ export const sliderStyles: (context: ElementDefinitionContext, definition: Slide
|
|
|
1193
1449
|
// @public
|
|
1194
1450
|
export enum StandardLuminance {
|
|
1195
1451
|
// (undocumented)
|
|
1196
|
-
DarkMode = 0.
|
|
1452
|
+
DarkMode = 0.15,
|
|
1197
1453
|
// (undocumented)
|
|
1198
|
-
LightMode =
|
|
1454
|
+
LightMode = 0.98
|
|
1199
1455
|
}
|
|
1200
1456
|
|
|
1201
1457
|
// Warning: (ae-internal-missing-underscore) The name "StealthButtonStyles" should be prefixed with an underscore because the declaration is marked as @internal
|
|
1202
1458
|
//
|
|
1203
1459
|
// @internal (undocumented)
|
|
1204
|
-
export const StealthButtonStyles: ElementStyles;
|
|
1460
|
+
export const StealthButtonStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition, interactivitySelector?: string, nonInteractivitySelector?: string) => ElementStyles;
|
|
1205
1461
|
|
|
1206
1462
|
// @public (undocumented)
|
|
1207
1463
|
export const strokeWidth: CSSDesignToken<number>;
|
|
@@ -1370,13 +1626,15 @@ export const typeRampPlus6LineHeight: CSSDesignToken<string>;
|
|
|
1370
1626
|
|
|
1371
1627
|
// Warnings were encountered during analysis:
|
|
1372
1628
|
//
|
|
1373
|
-
// dist/dts/
|
|
1374
|
-
// dist/dts/
|
|
1375
|
-
// dist/dts/custom-elements.d.ts:
|
|
1376
|
-
// dist/dts/custom-elements.d.ts:
|
|
1377
|
-
// dist/dts/custom-elements.d.ts:
|
|
1378
|
-
// dist/dts/custom-elements.d.ts:93:5 - (ae-incompatible-release-tags) The symbol "
|
|
1379
|
-
// dist/dts/custom-elements.d.ts:94:5 - (ae-incompatible-release-tags) The symbol "
|
|
1629
|
+
// dist/dts/color/palette.d.ts:70:5 - (ae-forgotten-export) The symbol "create" needs to be exported by the entry point index.d.ts
|
|
1630
|
+
// dist/dts/color/palette.d.ts:71:5 - (ae-forgotten-export) The symbol "from" needs to be exported by the entry point index.d.ts
|
|
1631
|
+
// dist/dts/custom-elements.d.ts:50:5 - (ae-incompatible-release-tags) The symbol "fluentAnchor" is marked as @public, but its signature references "Anchor" which is marked as @internal
|
|
1632
|
+
// dist/dts/custom-elements.d.ts:52:5 - (ae-incompatible-release-tags) The symbol "fluentBadge" is marked as @public, but its signature references "Badge" which is marked as @internal
|
|
1633
|
+
// dist/dts/custom-elements.d.ts:55:5 - (ae-incompatible-release-tags) The symbol "fluentButton" is marked as @public, but its signature references "Button" which is marked as @internal
|
|
1634
|
+
// dist/dts/custom-elements.d.ts:93:5 - (ae-incompatible-release-tags) The symbol "fluentTextArea" is marked as @public, but its signature references "TextArea" which is marked as @internal
|
|
1635
|
+
// dist/dts/custom-elements.d.ts:94:5 - (ae-incompatible-release-tags) The symbol "fluentTextField" is marked as @public, but its signature references "TextField" which is marked as @internal
|
|
1636
|
+
// dist/dts/custom-elements.d.ts:95:5 - (ae-incompatible-release-tags) The symbol "fluentToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal
|
|
1637
|
+
// dist/dts/custom-elements.d.ts:96:5 - (ae-incompatible-release-tags) The symbol "fluentTooltip" is marked as @public, but its signature references "Tooltip" which is marked as @internal
|
|
1380
1638
|
|
|
1381
1639
|
// (No @packageDocumentation comment for this package)
|
|
1382
1640
|
|