@fluentui/web-components 3.0.0-beta.13 → 3.0.0-beta.15
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 +20 -2
- package/dist/dts/accordion/index.d.ts +2 -1
- package/dist/dts/accordion-item/index.d.ts +2 -2
- package/dist/dts/anchor-button/index.d.ts +2 -2
- package/dist/dts/avatar/index.d.ts +2 -2
- package/dist/dts/badge/index.d.ts +2 -2
- package/dist/dts/button/index.d.ts +2 -2
- package/dist/dts/checkbox/index.d.ts +2 -2
- package/dist/dts/compound-button/index.d.ts +2 -2
- package/dist/dts/counter-badge/index.d.ts +2 -2
- package/dist/dts/dialog/index.d.ts +2 -1
- package/dist/dts/divider/index.d.ts +2 -2
- package/dist/dts/image/index.d.ts +2 -2
- package/dist/dts/index-rollup.d.ts +35 -1
- package/dist/dts/index.d.ts +36 -34
- package/dist/dts/label/index.d.ts +2 -1
- package/dist/dts/menu/index.d.ts +1 -1
- package/dist/dts/menu-button/index.d.ts +2 -2
- package/dist/dts/menu-button/menu-button.options.d.ts +1 -1
- package/dist/dts/menu-item/index.d.ts +2 -1
- package/dist/dts/menu-list/index.d.ts +1 -1
- package/dist/dts/progress-bar/index.d.ts +2 -2
- package/dist/dts/radio/index.d.ts +1 -1
- package/dist/dts/radio-group/index.d.ts +2 -1
- package/dist/dts/slider/index.d.ts +2 -2
- package/dist/dts/spinner/index.d.ts +2 -2
- package/dist/dts/spinner/spinner.d.ts +10 -2
- package/dist/dts/spinner/spinner.template.d.ts +2 -3
- package/dist/dts/styles/partials/index.d.ts +1 -0
- package/dist/dts/styles/partials/typography.partials.d.ts +18 -0
- package/dist/dts/switch/index.d.ts +2 -2
- package/dist/dts/tab/index.d.ts +1 -1
- package/dist/dts/tab-panel/index.d.ts +1 -1
- package/dist/dts/tabs/index.d.ts +2 -2
- package/dist/dts/text/index.d.ts +2 -2
- package/dist/dts/text-input/index.d.ts +2 -2
- package/dist/dts/text-input/text-input.d.ts +4 -4
- package/dist/dts/text-input/text-input.options.d.ts +7 -7
- package/dist/dts/text-input/text-input.template.d.ts +2 -2
- package/dist/dts/toggle-button/index.d.ts +2 -2
- package/dist/esm/accordion/index.js +2 -1
- package/dist/esm/accordion/index.js.map +1 -1
- package/dist/esm/accordion-item/index.js +2 -2
- package/dist/esm/accordion-item/index.js.map +1 -1
- package/dist/esm/anchor-button/index.js +2 -2
- package/dist/esm/anchor-button/index.js.map +1 -1
- package/dist/esm/avatar/index.js +2 -2
- package/dist/esm/avatar/index.js.map +1 -1
- package/dist/esm/badge/index.js +2 -2
- package/dist/esm/badge/index.js.map +1 -1
- package/dist/esm/button/index.js +2 -2
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/checkbox/index.js +2 -2
- package/dist/esm/checkbox/index.js.map +1 -1
- package/dist/esm/compound-button/index.js +2 -2
- package/dist/esm/compound-button/index.js.map +1 -1
- package/dist/esm/counter-badge/index.js +2 -2
- package/dist/esm/counter-badge/index.js.map +1 -1
- package/dist/esm/dialog/index.js +2 -1
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/divider/index.js +2 -2
- package/dist/esm/divider/index.js.map +1 -1
- package/dist/esm/image/index.js +2 -2
- package/dist/esm/image/index.js.map +1 -1
- package/dist/esm/index-rollup.js +35 -1
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.js +36 -34
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/index.js +2 -1
- package/dist/esm/label/index.js.map +1 -1
- package/dist/esm/menu/index.js +1 -1
- package/dist/esm/menu/index.js.map +1 -1
- package/dist/esm/menu-button/index.js +2 -2
- package/dist/esm/menu-button/index.js.map +1 -1
- package/dist/esm/menu-item/index.js +2 -1
- package/dist/esm/menu-item/index.js.map +1 -1
- package/dist/esm/menu-list/index.js +1 -1
- package/dist/esm/menu-list/index.js.map +1 -1
- package/dist/esm/progress-bar/index.js +2 -2
- package/dist/esm/progress-bar/index.js.map +1 -1
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/radio/index.js.map +1 -1
- package/dist/esm/radio-group/index.js +2 -1
- package/dist/esm/radio-group/index.js.map +1 -1
- package/dist/esm/slider/index.js +2 -2
- package/dist/esm/slider/index.js.map +1 -1
- package/dist/esm/spinner/index.js +2 -2
- package/dist/esm/spinner/index.js.map +1 -1
- package/dist/esm/spinner/spinner.js +2 -2
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/spinner/spinner.template.js.map +1 -1
- package/dist/esm/styles/partials/index.js +1 -0
- package/dist/esm/styles/partials/index.js.map +1 -1
- package/dist/esm/styles/partials/typography.partials.js +105 -0
- package/dist/esm/styles/partials/typography.partials.js.map +1 -0
- package/dist/esm/switch/index.js +2 -2
- package/dist/esm/switch/index.js.map +1 -1
- package/dist/esm/tab/index.js +1 -1
- package/dist/esm/tab/index.js.map +1 -1
- package/dist/esm/tab-panel/index.js +1 -1
- package/dist/esm/tab-panel/index.js.map +1 -1
- package/dist/esm/tabs/index.js +2 -2
- package/dist/esm/tabs/index.js.map +1 -1
- package/dist/esm/text/index.js +2 -2
- package/dist/esm/text/index.js.map +1 -1
- package/dist/esm/text-input/index.js +2 -2
- package/dist/esm/text-input/index.js.map +1 -1
- package/dist/esm/text-input/text-input.js +3 -3
- package/dist/esm/text-input/text-input.options.js +6 -6
- package/dist/esm/toggle-button/index.js +2 -2
- package/dist/esm/toggle-button/index.js.map +1 -1
- package/dist/fluent-web-components.api.json +1013 -639
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/main.6c75b8cb.iframe.bundle.js +2 -0
- package/dist/storybook/project.json +1 -1
- package/dist/web-components.d.ts +102 -96
- package/dist/web-components.js +191 -86
- package/dist/web-components.min.js +227 -142
- package/docs/api-report.md +137 -94
- package/package.json +1 -1
- package/dist/dts/progress-ring/progress-ring.d.ts +0 -15
- package/dist/dts/progress-ring/progress-ring.options.d.ts +0 -9
- package/dist/esm/progress-ring/progress-ring.js +0 -16
- package/dist/esm/progress-ring/progress-ring.js.map +0 -1
- package/dist/esm/progress-ring/progress-ring.options.js +0 -2
- package/dist/esm/progress-ring/progress-ring.options.js.map +0 -1
- package/dist/storybook/main.e73a6496.iframe.bundle.js +0 -2
- /package/dist/storybook/{main.e73a6496.iframe.bundle.js.LICENSE.txt → main.6c75b8cb.iframe.bundle.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generatedAt":
|
|
1
|
+
{"generatedAt":1714536479937,"builder":{"name":"webpack5"},"hasCustomBabel":false,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Nx","packageManager":{"type":"yarn","version":"1.23.34"},"storybookVersion":"6.5.15","language":"typescript","storybookPackages":{"@storybook/html":{"version":null}},"framework":{"name":"html"},"addons":{"@storybook/addon-docs":{"version":"6.5.15"},"@storybook/addon-essentials":{"options":{"backgrounds":false,"viewport":false,"toolbars":false,"actions":true},"version":"6.5.15"}}}
|
package/dist/web-components.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Constructable } from '@microsoft/fast-element';
|
|
2
|
+
import { CSSDirective } from '@microsoft/fast-element';
|
|
2
3
|
import { Direction } from '@microsoft/fast-web-utilities';
|
|
3
4
|
import { ElementStyles } from '@microsoft/fast-element';
|
|
4
5
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
@@ -72,7 +73,7 @@ export declare const accordionDefinition: FASTElementDefinition<typeof Accordion
|
|
|
72
73
|
* Expand mode for {@link FASTAccordion}
|
|
73
74
|
* @public
|
|
74
75
|
*/
|
|
75
|
-
declare const AccordionExpandMode: {
|
|
76
|
+
export declare const AccordionExpandMode: {
|
|
76
77
|
readonly single: "single";
|
|
77
78
|
readonly multi: "multi";
|
|
78
79
|
};
|
|
@@ -81,7 +82,7 @@ declare const AccordionExpandMode: {
|
|
|
81
82
|
* Type for the {@link FASTAccordion} Expand Mode
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
|
-
declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
85
|
+
export declare type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
85
86
|
|
|
86
87
|
/**
|
|
87
88
|
*
|
|
@@ -411,6 +412,12 @@ export declare type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppeara
|
|
|
411
412
|
*/
|
|
412
413
|
export declare const AnchorButtonDefinition: FASTElementDefinition<typeof AnchorButton>;
|
|
413
414
|
|
|
415
|
+
/**
|
|
416
|
+
* Anchor configuration options
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
export declare type AnchorButtonOptions = StartEndOptions<AnchorButton>;
|
|
420
|
+
|
|
414
421
|
/**
|
|
415
422
|
* An Anchor Button can be square, circular or rounded.
|
|
416
423
|
* @public
|
|
@@ -449,14 +456,6 @@ export declare type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
|
|
|
449
456
|
*/
|
|
450
457
|
export declare const AnchorButtonTemplate: ElementViewTemplate<AnchorButton>;
|
|
451
458
|
|
|
452
|
-
/**
|
|
453
|
-
* Anchor configuration options
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
declare type AnchorOptions = StartEndOptions<AnchorButton>;
|
|
457
|
-
export { AnchorOptions as AnchorButtonOptions }
|
|
458
|
-
export { AnchorOptions }
|
|
459
|
-
|
|
460
459
|
/**
|
|
461
460
|
* Anchor target values.
|
|
462
461
|
*
|
|
@@ -1025,13 +1024,6 @@ export declare type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
|
1025
1024
|
*/
|
|
1026
1025
|
export declare const BadgeDefinition: FASTElementDefinition<typeof Badge>;
|
|
1027
1026
|
|
|
1028
|
-
/**
|
|
1029
|
-
* @internal - marking as internal update when Badge PR for start/end is in
|
|
1030
|
-
*/
|
|
1031
|
-
export declare type BadgeOptions = StartEndOptions<Badge> & {
|
|
1032
|
-
defaultContent?: StaticallyComposableHTML;
|
|
1033
|
-
};
|
|
1034
|
-
|
|
1035
1027
|
/**
|
|
1036
1028
|
* A Badge can be square, circular or rounded.
|
|
1037
1029
|
* @public
|
|
@@ -1120,7 +1112,7 @@ declare class BaseProgress extends FASTElement {
|
|
|
1120
1112
|
* @class TabList component
|
|
1121
1113
|
* @public
|
|
1122
1114
|
*/
|
|
1123
|
-
|
|
1115
|
+
declare class BaseTabs extends FASTElement {
|
|
1124
1116
|
/**
|
|
1125
1117
|
* The orientation
|
|
1126
1118
|
* @public
|
|
@@ -1540,7 +1532,6 @@ export declare type ButtonFormTarget = ValuesOf<typeof ButtonFormTarget>;
|
|
|
1540
1532
|
*/
|
|
1541
1533
|
declare type ButtonOptions = StartEndOptions<Button>;
|
|
1542
1534
|
export { ButtonOptions }
|
|
1543
|
-
export { ButtonOptions as CompoundButtonOptions }
|
|
1544
1535
|
export { ButtonOptions as MenuButtonOptions }
|
|
1545
1536
|
export { ButtonOptions as ToggleButtonOptions }
|
|
1546
1537
|
|
|
@@ -2568,12 +2559,6 @@ export declare type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
|
2568
2559
|
*/
|
|
2569
2560
|
export declare const CounterBadgeDefinition: FASTElementDefinition<typeof CounterBadge>;
|
|
2570
2561
|
|
|
2571
|
-
/**
|
|
2572
|
-
* CounterBadge options
|
|
2573
|
-
* @public
|
|
2574
|
-
*/
|
|
2575
|
-
export declare type CounterBadgeOptions = BadgeOptions;
|
|
2576
|
-
|
|
2577
2562
|
/**
|
|
2578
2563
|
* A CounterBadge shape can be circular or rounded.
|
|
2579
2564
|
* @public
|
|
@@ -2623,7 +2608,7 @@ export declare const CounterBadgeTemplate: ElementViewTemplate<CounterBadge>;
|
|
|
2623
2608
|
* Define all possible CSS display values.
|
|
2624
2609
|
* @public
|
|
2625
2610
|
*/
|
|
2626
|
-
|
|
2611
|
+
declare type CSSDisplayPropertyValue = 'block' | 'contents' | 'flex' | 'grid' | 'inherit' | 'initial' | 'inline' | 'inline-block' | 'inline-flex' | 'inline-grid' | 'inline-table' | 'list-item' | 'none' | 'run-in' | 'table' | 'table-caption' | 'table-cell' | 'table-column' | 'table-column-group' | 'table-footer-group' | 'table-header-group' | 'table-row' | 'table-row-group';
|
|
2627
2612
|
|
|
2628
2613
|
export declare const curveAccelerateMax = "var(--curveAccelerateMax)";
|
|
2629
2614
|
|
|
@@ -2654,7 +2639,7 @@ export declare const darkModeStylesheetBehavior: (styles: ElementStyles) => Matc
|
|
|
2654
2639
|
*
|
|
2655
2640
|
* @public
|
|
2656
2641
|
*/
|
|
2657
|
-
|
|
2642
|
+
declare class DelegatesARIALink {
|
|
2658
2643
|
/**
|
|
2659
2644
|
* See {@link https://www.w3.org/WAI/PF/aria/roles#link} for more information
|
|
2660
2645
|
* @public
|
|
@@ -2670,7 +2655,7 @@ export declare class DelegatesARIALink {
|
|
|
2670
2655
|
* TODO: https://github.com/microsoft/fast/issues/3317
|
|
2671
2656
|
* @internal
|
|
2672
2657
|
*/
|
|
2673
|
-
|
|
2658
|
+
declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties {
|
|
2674
2659
|
}
|
|
2675
2660
|
|
|
2676
2661
|
/**
|
|
@@ -2678,10 +2663,10 @@ export declare interface DelegatesARIALink extends ARIAGlobalStatesAndProperties
|
|
|
2678
2663
|
*
|
|
2679
2664
|
* @public
|
|
2680
2665
|
*/
|
|
2681
|
-
|
|
2666
|
+
declare class DelegatesARIATextbox {
|
|
2682
2667
|
}
|
|
2683
2668
|
|
|
2684
|
-
|
|
2669
|
+
declare interface DelegatesARIATextbox extends ARIAGlobalStatesAndProperties {
|
|
2685
2670
|
}
|
|
2686
2671
|
|
|
2687
2672
|
/**
|
|
@@ -2887,13 +2872,13 @@ export declare const DialogDefinition: FASTElementDefinition<typeof Dialog>;
|
|
|
2887
2872
|
* Dialog modal type
|
|
2888
2873
|
* @public
|
|
2889
2874
|
*/
|
|
2890
|
-
declare const DialogModalType: {
|
|
2875
|
+
export declare const DialogModalType: {
|
|
2891
2876
|
readonly modal: "modal";
|
|
2892
2877
|
readonly nonModal: "non-modal";
|
|
2893
2878
|
readonly alert: "alert";
|
|
2894
2879
|
};
|
|
2895
2880
|
|
|
2896
|
-
declare type DialogModalType = ValuesOf<typeof DialogModalType>;
|
|
2881
|
+
export declare type DialogModalType = ValuesOf<typeof DialogModalType>;
|
|
2897
2882
|
|
|
2898
2883
|
/** Dialog styles
|
|
2899
2884
|
* @public
|
|
@@ -3217,12 +3202,6 @@ declare const FormAssociatedTextField_base: typeof _TextField;
|
|
|
3217
3202
|
*/
|
|
3218
3203
|
export declare const getDirection: (rootNode: HTMLElement) => Direction;
|
|
3219
3204
|
|
|
3220
|
-
/**
|
|
3221
|
-
* A CSS fragment to set `display: none;` when the host is hidden using the [hidden] attribute.
|
|
3222
|
-
* @public
|
|
3223
|
-
*/
|
|
3224
|
-
export declare const hidden = ":host([hidden]){display:none}";
|
|
3225
|
-
|
|
3226
3205
|
/**
|
|
3227
3206
|
* The base class used for constucting a fluent image custom element
|
|
3228
3207
|
* @public
|
|
@@ -3376,7 +3355,7 @@ export declare const LabelDefinition: FASTElementDefinition<typeof Label>;
|
|
|
3376
3355
|
/**
|
|
3377
3356
|
* A Labels font size can be small, medium, or large
|
|
3378
3357
|
*/
|
|
3379
|
-
declare const LabelSize: {
|
|
3358
|
+
export declare const LabelSize: {
|
|
3380
3359
|
readonly small: "small";
|
|
3381
3360
|
readonly medium: "medium";
|
|
3382
3361
|
readonly large: "large";
|
|
@@ -3386,7 +3365,7 @@ declare const LabelSize: {
|
|
|
3386
3365
|
* Applies font size to label
|
|
3387
3366
|
* @public
|
|
3388
3367
|
*/
|
|
3389
|
-
declare type LabelSize = ValuesOf<typeof LabelSize>;
|
|
3368
|
+
export declare type LabelSize = ValuesOf<typeof LabelSize>;
|
|
3390
3369
|
|
|
3391
3370
|
/** Label styles
|
|
3392
3371
|
* @public
|
|
@@ -3398,7 +3377,7 @@ export declare const LabelTemplate: ElementViewTemplate<Label>;
|
|
|
3398
3377
|
/**
|
|
3399
3378
|
* A label can have a font weight of regular or strong
|
|
3400
3379
|
*/
|
|
3401
|
-
declare const LabelWeight: {
|
|
3380
|
+
export declare const LabelWeight: {
|
|
3402
3381
|
readonly regular: "regular";
|
|
3403
3382
|
readonly semibold: "semibold";
|
|
3404
3383
|
};
|
|
@@ -3407,7 +3386,7 @@ declare const LabelWeight: {
|
|
|
3407
3386
|
* Applies font weight to label
|
|
3408
3387
|
* @public
|
|
3409
3388
|
*/
|
|
3410
|
-
declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
3389
|
+
export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
|
|
3411
3390
|
|
|
3412
3391
|
/**
|
|
3413
3392
|
* This can be used to construct a behavior to apply a prefers color scheme: light only stylesheet.
|
|
@@ -4226,21 +4205,6 @@ export declare type ProgressOptions = {
|
|
|
4226
4205
|
indeterminateIndicator2?: StaticallyComposableHTML<ProgressBar>;
|
|
4227
4206
|
};
|
|
4228
4207
|
|
|
4229
|
-
/**
|
|
4230
|
-
* An circular Progress HTML Element.
|
|
4231
|
-
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#progressbar | ARIA progressbar }.
|
|
4232
|
-
*
|
|
4233
|
-
* @slot indeterminate - The slot for a custom indeterminate indicator
|
|
4234
|
-
* @slot determinate - The slot for a custom determinate indicator
|
|
4235
|
-
* @csspart progress - Represents the progress element
|
|
4236
|
-
* @csspart determinate - The determinate indicator
|
|
4237
|
-
* @csspart background - The background
|
|
4238
|
-
*
|
|
4239
|
-
* @public
|
|
4240
|
-
*/
|
|
4241
|
-
declare class ProgressRing extends BaseProgress {
|
|
4242
|
-
}
|
|
4243
|
-
|
|
4244
4208
|
/**
|
|
4245
4209
|
* A Radio Custom HTML Element.
|
|
4246
4210
|
* Implements the {@link https://www.w3.org/TR/wai-aria-1.1/#radio | ARIA radio }.
|
|
@@ -4425,7 +4389,7 @@ export declare const RadioGroupDefinition: FASTElementDefinition<typeof RadioGro
|
|
|
4425
4389
|
* Radio Group orientation
|
|
4426
4390
|
* @public
|
|
4427
4391
|
*/
|
|
4428
|
-
declare const RadioGroupOrientation: {
|
|
4392
|
+
export declare const RadioGroupOrientation: {
|
|
4429
4393
|
readonly horizontal: "horizontal"; /**
|
|
4430
4394
|
* Radio Group orientation
|
|
4431
4395
|
* @public
|
|
@@ -4437,7 +4401,7 @@ declare const RadioGroupOrientation: {
|
|
|
4437
4401
|
* Types of Radio Group orientation
|
|
4438
4402
|
* @public
|
|
4439
4403
|
*/
|
|
4440
|
-
declare type RadioGroupOrientation = ValuesOf<typeof RadioGroupOrientation>;
|
|
4404
|
+
export declare type RadioGroupOrientation = ValuesOf<typeof RadioGroupOrientation>;
|
|
4441
4405
|
|
|
4442
4406
|
/** RadioGroup styles
|
|
4443
4407
|
* @public
|
|
@@ -4844,7 +4808,7 @@ export declare const spacingVerticalXXXL = "var(--spacingVerticalXXXL)";
|
|
|
4844
4808
|
* The base class used for constructing a fluent-spinner custom element
|
|
4845
4809
|
* @public
|
|
4846
4810
|
*/
|
|
4847
|
-
export declare class Spinner extends
|
|
4811
|
+
export declare class Spinner extends BaseProgress {
|
|
4848
4812
|
/**
|
|
4849
4813
|
* The size of the spinner
|
|
4850
4814
|
*
|
|
@@ -4886,6 +4850,14 @@ export declare type SpinnerAppearance = ValuesOf<typeof SpinnerAppearance>;
|
|
|
4886
4850
|
*/
|
|
4887
4851
|
export declare const SpinnerDefinition: FASTElementDefinition<typeof Spinner>;
|
|
4888
4852
|
|
|
4853
|
+
/**
|
|
4854
|
+
* Progress configuration options
|
|
4855
|
+
* @public
|
|
4856
|
+
*/
|
|
4857
|
+
export declare type SpinnerOptions = {
|
|
4858
|
+
indeterminateIndicator?: StaticallyComposableHTML<Spinner>;
|
|
4859
|
+
};
|
|
4860
|
+
|
|
4889
4861
|
/**
|
|
4890
4862
|
* SpinnerSize constants
|
|
4891
4863
|
* @public
|
|
@@ -5329,41 +5301,6 @@ declare class _TextField extends FASTElement {
|
|
|
5329
5301
|
declare interface _TextField extends FormAssociated {
|
|
5330
5302
|
}
|
|
5331
5303
|
|
|
5332
|
-
export declare type TextFieldOptions = StartEndOptions<TextInput>;
|
|
5333
|
-
|
|
5334
|
-
/**
|
|
5335
|
-
* Text field sub-types
|
|
5336
|
-
* @public
|
|
5337
|
-
*/
|
|
5338
|
-
export declare const TextFieldType: {
|
|
5339
|
-
/**
|
|
5340
|
-
* An email TextField
|
|
5341
|
-
*/
|
|
5342
|
-
readonly email: "email";
|
|
5343
|
-
/**
|
|
5344
|
-
* A password TextField
|
|
5345
|
-
*/
|
|
5346
|
-
readonly password: "password";
|
|
5347
|
-
/**
|
|
5348
|
-
* A telephone TextField
|
|
5349
|
-
*/
|
|
5350
|
-
readonly tel: "tel";
|
|
5351
|
-
/**
|
|
5352
|
-
* A text TextField
|
|
5353
|
-
*/
|
|
5354
|
-
readonly text: "text";
|
|
5355
|
-
/**
|
|
5356
|
-
* A URL TextField
|
|
5357
|
-
*/
|
|
5358
|
-
readonly url: "url";
|
|
5359
|
-
};
|
|
5360
|
-
|
|
5361
|
-
/**
|
|
5362
|
-
* Types for the text field sub-types
|
|
5363
|
-
* @public
|
|
5364
|
-
*/
|
|
5365
|
-
export declare type TextFieldType = ValuesOf<typeof TextFieldType>;
|
|
5366
|
-
|
|
5367
5304
|
/**
|
|
5368
5305
|
* TextFont Constants
|
|
5369
5306
|
* @public
|
|
@@ -5430,7 +5367,7 @@ export declare class TextInput extends FormAssociatedTextField {
|
|
|
5430
5367
|
* @remarks
|
|
5431
5368
|
* HTML Attribute: type
|
|
5432
5369
|
*/
|
|
5433
|
-
type:
|
|
5370
|
+
type: TextInputType;
|
|
5434
5371
|
private typeChanged;
|
|
5435
5372
|
/**
|
|
5436
5373
|
* Allows associating a {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist | datalist} to the element by {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/id}.
|
|
@@ -5564,6 +5501,8 @@ export declare type TextInputControlSize = ValuesOf<typeof TextInputControlSize>
|
|
|
5564
5501
|
*/
|
|
5565
5502
|
export declare const TextInputDefinition: FASTElementDefinition<typeof TextInput>;
|
|
5566
5503
|
|
|
5504
|
+
export declare type TextInputOptions = StartEndOptions<TextInput>;
|
|
5505
|
+
|
|
5567
5506
|
/** TextInput styles
|
|
5568
5507
|
* @public
|
|
5569
5508
|
*/
|
|
@@ -5574,6 +5513,39 @@ export declare const TextInputStyles: ElementStyles;
|
|
|
5574
5513
|
*/
|
|
5575
5514
|
export declare const TextInputTemplate: ElementViewTemplate<TextInput>;
|
|
5576
5515
|
|
|
5516
|
+
/**
|
|
5517
|
+
* Text field sub-types
|
|
5518
|
+
* @public
|
|
5519
|
+
*/
|
|
5520
|
+
export declare const TextInputType: {
|
|
5521
|
+
/**
|
|
5522
|
+
* An email TextInput
|
|
5523
|
+
*/
|
|
5524
|
+
readonly email: "email";
|
|
5525
|
+
/**
|
|
5526
|
+
* A password TextInput
|
|
5527
|
+
*/
|
|
5528
|
+
readonly password: "password";
|
|
5529
|
+
/**
|
|
5530
|
+
* A telephone TextInput
|
|
5531
|
+
*/
|
|
5532
|
+
readonly tel: "tel";
|
|
5533
|
+
/**
|
|
5534
|
+
* A text TextInput
|
|
5535
|
+
*/
|
|
5536
|
+
readonly text: "text";
|
|
5537
|
+
/**
|
|
5538
|
+
* A URL TextInput
|
|
5539
|
+
*/
|
|
5540
|
+
readonly url: "url";
|
|
5541
|
+
};
|
|
5542
|
+
|
|
5543
|
+
/**
|
|
5544
|
+
* Types for the text field sub-types
|
|
5545
|
+
* @public
|
|
5546
|
+
*/
|
|
5547
|
+
export declare type TextInputType = ValuesOf<typeof TextInputType>;
|
|
5548
|
+
|
|
5577
5549
|
/**
|
|
5578
5550
|
* TextSize constants
|
|
5579
5551
|
* @public
|
|
@@ -5749,6 +5721,40 @@ export declare const ToggleButtonStyles: ElementStyles;
|
|
|
5749
5721
|
*/
|
|
5750
5722
|
export declare const ToggleButtonTemplate: ElementViewTemplate<ToggleButton>;
|
|
5751
5723
|
|
|
5724
|
+
export declare const typographyBody1StrongerStyles: CSSDirective;
|
|
5725
|
+
|
|
5726
|
+
export declare const typographyBody1StrongStyles: CSSDirective;
|
|
5727
|
+
|
|
5728
|
+
export declare const typographyBody1Styles: CSSDirective;
|
|
5729
|
+
|
|
5730
|
+
export declare const typographyBody2Styles: CSSDirective;
|
|
5731
|
+
|
|
5732
|
+
export declare const typographyCaption1StrongerStyles: CSSDirective;
|
|
5733
|
+
|
|
5734
|
+
export declare const typographyCaption1StrongStyles: CSSDirective;
|
|
5735
|
+
|
|
5736
|
+
export declare const typographyCaption1Styles: CSSDirective;
|
|
5737
|
+
|
|
5738
|
+
export declare const typographyCaption2StrongStyles: CSSDirective;
|
|
5739
|
+
|
|
5740
|
+
export declare const typographyCaption2Styles: CSSDirective;
|
|
5741
|
+
|
|
5742
|
+
export declare const typographyDisplayStyles: CSSDirective;
|
|
5743
|
+
|
|
5744
|
+
export declare const typographyLargeTitleStyles: CSSDirective;
|
|
5745
|
+
|
|
5746
|
+
export declare const typographySubtitle1Styles: CSSDirective;
|
|
5747
|
+
|
|
5748
|
+
export declare const typographySubtitle2StrongerStyles: CSSDirective;
|
|
5749
|
+
|
|
5750
|
+
export declare const typographySubtitle2Styles: CSSDirective;
|
|
5751
|
+
|
|
5752
|
+
export declare const typographyTitle1Styles: CSSDirective;
|
|
5753
|
+
|
|
5754
|
+
export declare const typographyTitle2Styles: CSSDirective;
|
|
5755
|
+
|
|
5756
|
+
export declare const typographyTitle3Styles: CSSDirective;
|
|
5757
|
+
|
|
5752
5758
|
/**
|
|
5753
5759
|
* Helper for enumerating a type from a const object
|
|
5754
5760
|
* Example: export type Foo = ValuesOf\<typeof Foo\>
|