@fluentui/web-components 3.0.0-alpha.14 → 3.0.0-alpha.16

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 CHANGED
@@ -2,7 +2,37 @@
2
2
  "name": "@fluentui/web-components",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 06 Apr 2023 04:22:02 GMT",
5
+ "date": "Tue, 11 Apr 2023 04:24:52 GMT",
6
+ "tag": "@fluentui/web-components_v3.0.0-alpha.16",
7
+ "version": "3.0.0-alpha.16",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "mibaraka@microsoft.com",
12
+ "package": "@fluentui/web-components",
13
+ "commit": "30b72e9804a37880b4b90c0bcd400635506f300e",
14
+ "comment": "Adding Tabs, Tab and Tab-Panel"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Fri, 07 Apr 2023 04:17:30 GMT",
21
+ "tag": "@fluentui/web-components_v3.0.0-alpha.15",
22
+ "version": "3.0.0-alpha.15",
23
+ "comments": {
24
+ "prerelease": [
25
+ {
26
+ "author": "brianbrady@microsoft.com",
27
+ "package": "@fluentui/web-components",
28
+ "commit": "48980fef03e94733a686deea7dc9454eba6dd8c4",
29
+ "comment": "feat(label): adds label as a new web component"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Thu, 06 Apr 2023 04:22:08 GMT",
6
36
  "tag": "@fluentui/web-components_v3.0.0-alpha.14",
7
37
  "version": "3.0.0-alpha.14",
8
38
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,30 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Thu, 06 Apr 2023 04:22:02 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 11 Apr 2023 04:24:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-alpha.16)
8
+
9
+ Tue, 11 Apr 2023 04:24:52 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-alpha.15..@fluentui/web-components_v3.0.0-alpha.16)
11
+
12
+ ### Changes
13
+
14
+ - Adding Tabs, Tab and Tab-Panel ([PR #27505](https://github.com/microsoft/fluentui/pull/27505) by mibaraka@microsoft.com)
15
+
16
+ ## [3.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-alpha.15)
17
+
18
+ Fri, 07 Apr 2023 04:17:30 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-alpha.14..@fluentui/web-components_v3.0.0-alpha.15)
20
+
21
+ ### Changes
22
+
23
+ - feat(label): adds label as a new web component ([PR #27344](https://github.com/microsoft/fluentui/pull/27344) by brianbrady@microsoft.com)
24
+
7
25
  ## [3.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-alpha.14)
8
26
 
9
- Thu, 06 Apr 2023 04:22:02 GMT
27
+ Thu, 06 Apr 2023 04:22:08 GMT
10
28
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-alpha.13..@fluentui/web-components_v3.0.0-alpha.14)
11
29
 
12
30
  ### Changes
@@ -6,6 +6,7 @@ export * from './button/index.js';
6
6
  export * from './counter-badge/index.js';
7
7
  export * from './divider/index.js';
8
8
  export * from './image/index.js';
9
+ export * from './label/index.js';
9
10
  export * from './menu-button/index.js';
10
11
  export * from './progress-bar/index.js';
11
12
  export * from './slider/index.js';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export * from './label.js';
2
+ export { definition as LabelDefinition } from './label.definition.js';
3
+ export { styles as LabelStyles } from './label.styles.js';
4
+ export { template as LabelTemplate } from './label.template.js';
@@ -0,0 +1,42 @@
1
+ import { FASTElement } from '@microsoft/fast-element';
2
+ import { LabelSize, LabelWeight } from './label.options.js';
3
+ /**
4
+ * The base class used for constructing a fluent-label custom element
5
+ * @public
6
+ */
7
+ export declare class Label extends FASTElement {
8
+ /**
9
+ * Specifies font size of a label
10
+ *
11
+ * @public
12
+ * @default 'medium'
13
+ * @remarks
14
+ * HTML Attribute: size
15
+ */
16
+ size?: LabelSize;
17
+ /**
18
+ * Specifies font weight of a label
19
+ *
20
+ * @public
21
+ * @default 'regular'
22
+ * @remarks
23
+ * HTML Attribute: weight
24
+ */
25
+ weight?: LabelWeight;
26
+ /**
27
+ * Specifies styles for label when associated input is disabled
28
+ *
29
+ * @public
30
+ * @remarks
31
+ * HTML Attribute: disabled
32
+ */
33
+ disabled: boolean;
34
+ /**
35
+ * Specifies styles for label when associated input is a required field
36
+ *
37
+ * @public
38
+ * @remarks
39
+ * HTML Attribute: required
40
+ */
41
+ required: boolean;
42
+ }
@@ -0,0 +1,10 @@
1
+ import { Label } from './label.js';
2
+ /**
3
+ * The Fluent Label Element.
4
+ *
5
+ *
6
+ * @public
7
+ * @remarks
8
+ * HTML Element: \<fluent-label\>
9
+ */
10
+ export declare const definition: import("@microsoft/fast-element").FASTElementDefinition<typeof Label>;
@@ -0,0 +1,26 @@
1
+ import { ValuesOf } from '@microsoft/fast-foundation';
2
+ /**
3
+ * A Labels font size can be small, medium, or large
4
+ */
5
+ export declare const LabelSize: {
6
+ readonly small: "small";
7
+ readonly medium: "medium";
8
+ readonly large: "large";
9
+ };
10
+ /**
11
+ * Applies font size to label
12
+ * @public
13
+ */
14
+ export declare type LabelSize = ValuesOf<typeof LabelSize>;
15
+ /**
16
+ * A label can have a font weight of regular or strong
17
+ */
18
+ export declare const LabelWeight: {
19
+ readonly regular: "regular";
20
+ readonly semibold: "semibold";
21
+ };
22
+ /**
23
+ * Applies font weight to label
24
+ * @public
25
+ */
26
+ export declare type LabelWeight = ValuesOf<typeof LabelWeight>;
@@ -0,0 +1,4 @@
1
+ /** Label styles
2
+ * @public
3
+ */
4
+ export declare const styles: import("@microsoft/fast-element").ElementStyles;
@@ -0,0 +1,8 @@
1
+ import { ElementViewTemplate } from '@microsoft/fast-element';
2
+ import { Label } from './label.js';
3
+ /**
4
+ * The template for the Fluent label web-component.
5
+ * @public
6
+ */
7
+ export declare function labelTemplate<T extends Label>(): ElementViewTemplate<T>;
8
+ export declare const template: ElementViewTemplate<Label>;
package/dist/esm/index.js CHANGED
@@ -6,6 +6,7 @@ export * from './button/index.js';
6
6
  export * from './counter-badge/index.js';
7
7
  export * from './divider/index.js';
8
8
  export * from './image/index.js';
9
+ export * from './label/index.js';
9
10
  export * from './menu-button/index.js';
10
11
  export * from './progress-bar/index.js';
11
12
  export * from './slider/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAEhC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FluentDesignSystem } from '../fluent-design-system.js';
2
+ import { definition } from './label.definition.js';
3
+ definition.define(FluentDesignSystem.registry);
4
+ //# sourceMappingURL=define.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"define.js","sourceRoot":"","sources":["../../../src/label/define.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,UAAU,CAAC,MAAM,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './label.js';
2
+ export { definition as LabelDefinition } from './label.definition.js';
3
+ export { styles as LabelStyles } from './label.styles.js';
4
+ export { template as LabelTemplate } from './label.template.js';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { FluentDesignSystem } from '../fluent-design-system.js';
2
+ import { Label } from './label.js';
3
+ import { styles } from './label.styles.js';
4
+ import { template } from './label.template.js';
5
+ /**
6
+ * The Fluent Label Element.
7
+ *
8
+ *
9
+ * @public
10
+ * @remarks
11
+ * HTML Element: \<fluent-label\>
12
+ */
13
+ export const definition = Label.compose({
14
+ name: `${FluentDesignSystem.prefix}-label`,
15
+ template,
16
+ styles,
17
+ });
18
+ //# sourceMappingURL=label.definition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.definition.js","sourceRoot":"","sources":["../../../src/label/label.definition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC;IACtC,IAAI,EAAE,GAAG,kBAAkB,CAAC,MAAM,QAAQ;IAC1C,QAAQ;IACR,MAAM;CACP,CAAC,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { __decorate } from "tslib";
2
+ import { attr, FASTElement } from '@microsoft/fast-element';
3
+ /**
4
+ * The base class used for constructing a fluent-label custom element
5
+ * @public
6
+ */
7
+ export class Label extends FASTElement {
8
+ constructor() {
9
+ super(...arguments);
10
+ /**
11
+ * Specifies styles for label when associated input is disabled
12
+ *
13
+ * @public
14
+ * @remarks
15
+ * HTML Attribute: disabled
16
+ */
17
+ this.disabled = false;
18
+ /**
19
+ * Specifies styles for label when associated input is a required field
20
+ *
21
+ * @public
22
+ * @remarks
23
+ * HTML Attribute: required
24
+ */
25
+ this.required = false;
26
+ }
27
+ }
28
+ __decorate([
29
+ attr
30
+ ], Label.prototype, "size", void 0);
31
+ __decorate([
32
+ attr
33
+ ], Label.prototype, "weight", void 0);
34
+ __decorate([
35
+ attr({ mode: 'boolean' })
36
+ ], Label.prototype, "disabled", void 0);
37
+ __decorate([
38
+ attr({ mode: 'boolean' })
39
+ ], Label.prototype, "required", void 0);
40
+ //# sourceMappingURL=label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.js","sourceRoot":"","sources":["../../../src/label/label.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAG5D;;;GAGG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QAuBE;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;QAEjC;;;;;;WAMG;QAEI,aAAQ,GAAY,KAAK,CAAC;IACnC,CAAC;CAAA;AAhCC;IADC,IAAI;mCACmB;AAWxB;IADC,IAAI;qCACuB;AAU5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;uCACO;AAUjC;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;uCACO"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * A Labels font size can be small, medium, or large
3
+ */
4
+ export const LabelSize = {
5
+ small: 'small',
6
+ medium: 'medium',
7
+ large: 'large',
8
+ };
9
+ /**
10
+ * A label can have a font weight of regular or strong
11
+ */
12
+ export const LabelWeight = {
13
+ regular: 'regular',
14
+ semibold: 'semibold',
15
+ };
16
+ //# sourceMappingURL=label.options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.options.js","sourceRoot":"","sources":["../../../src/label/label.options.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACN,CAAC;AAQX;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACZ,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { css } from '@microsoft/fast-element';
2
+ import { display } from '@microsoft/fast-foundation';
3
+ import { colorNeutralForeground1, colorNeutralForegroundDisabled, colorPaletteRedForeground1, fontFamilyBase, fontSizeBase200, fontSizeBase300, fontSizeBase400, fontWeightRegular, fontWeightSemibold, lineHeightBase200, lineHeightBase300, lineHeightBase400, spacingHorizontalXS, } from '../theme/design-tokens.js';
4
+ /** Label styles
5
+ * @public
6
+ */
7
+ export const styles = css `
8
+ ${display('flex')}
9
+
10
+ :host {
11
+ font-family: ${fontFamilyBase};
12
+ font-size: ${fontSizeBase300};
13
+ line-height: ${lineHeightBase300};
14
+ font-weight: ${fontWeightRegular};
15
+ color: ${colorNeutralForeground1};
16
+ }
17
+ .asterisk {
18
+ color: ${colorPaletteRedForeground1};
19
+ margin-left: ${spacingHorizontalXS};
20
+ }
21
+ :host([size='small']) {
22
+ font-size: ${fontSizeBase200};
23
+ line-height: ${lineHeightBase200};
24
+ }
25
+ :host([size='large']) {
26
+ font-size: ${fontSizeBase400};
27
+ line-height: ${lineHeightBase400};
28
+ font-weight: ${fontWeightSemibold};
29
+ }
30
+ :host([weight='semibold']) {
31
+ font-weight: ${fontWeightSemibold};
32
+ }
33
+ :host([disabled]),
34
+ :host([disabled]) .asterisk {
35
+ color: ${colorNeutralForegroundDisabled};
36
+ }
37
+ `;
38
+ //# sourceMappingURL=label.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.styles.js","sourceRoot":"","sources":["../../../src/label/label.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;IACrB,OAAO,CAAC,MAAM,CAAC;;;mBAGA,cAAc;iBAChB,eAAe;mBACb,iBAAiB;mBACjB,iBAAiB;aACvB,uBAAuB;;;aAGvB,0BAA0B;mBACpB,mBAAmB;;;iBAGrB,eAAe;mBACb,iBAAiB;;;iBAGnB,eAAe;mBACb,iBAAiB;mBACjB,kBAAkB;;;mBAGlB,kBAAkB;;;;aAIxB,8BAA8B;;CAE1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { html } from '@microsoft/fast-element';
2
+ /**
3
+ * The template for the Fluent label web-component.
4
+ * @public
5
+ */
6
+ export function labelTemplate() {
7
+ return html `
8
+ <slot></slot>
9
+ <span part="asterisk" class="asterisk" ?hidden="${x => !x.required}">*</span>
10
+ `;
11
+ }
12
+ export const template = labelTemplate();
13
+ //# sourceMappingURL=label.template.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"label.template.js","sourceRoot":"","sources":["../../../src/label/label.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGpE;;;GAGG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,IAAI,CAAG;;sDAEsC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;GACnE,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAA+B,aAAa,EAAE,CAAC"}
@@ -14281,6 +14281,257 @@
14281
14281
  "endIndex": 5
14282
14282
  }
14283
14283
  },
14284
+ {
14285
+ "kind": "Class",
14286
+ "canonicalReference": "@fluentui/web-components!Label:class",
14287
+ "docComment": "/**\n * The base class used for constructing a fluent-label custom element\n *\n * @public\n */\n",
14288
+ "excerptTokens": [
14289
+ {
14290
+ "kind": "Content",
14291
+ "text": "export declare class Label extends "
14292
+ },
14293
+ {
14294
+ "kind": "Reference",
14295
+ "text": "FASTElement",
14296
+ "canonicalReference": "@microsoft/fast-element!FASTElement:interface"
14297
+ },
14298
+ {
14299
+ "kind": "Content",
14300
+ "text": " "
14301
+ }
14302
+ ],
14303
+ "releaseTag": "Public",
14304
+ "name": "Label",
14305
+ "preserveMemberOrder": false,
14306
+ "members": [
14307
+ {
14308
+ "kind": "Property",
14309
+ "canonicalReference": "@fluentui/web-components!Label#disabled:member",
14310
+ "docComment": "/**\n * Specifies styles for label when associated input is disabled\n *\n * @remarks\n *\n * HTML Attribute: disabled\n *\n * @public\n */\n",
14311
+ "excerptTokens": [
14312
+ {
14313
+ "kind": "Content",
14314
+ "text": "disabled: "
14315
+ },
14316
+ {
14317
+ "kind": "Content",
14318
+ "text": "boolean"
14319
+ },
14320
+ {
14321
+ "kind": "Content",
14322
+ "text": ";"
14323
+ }
14324
+ ],
14325
+ "isReadonly": false,
14326
+ "isOptional": false,
14327
+ "releaseTag": "Public",
14328
+ "name": "disabled",
14329
+ "propertyTypeTokenRange": {
14330
+ "startIndex": 1,
14331
+ "endIndex": 2
14332
+ },
14333
+ "isStatic": false,
14334
+ "isProtected": false
14335
+ },
14336
+ {
14337
+ "kind": "Property",
14338
+ "canonicalReference": "@fluentui/web-components!Label#required:member",
14339
+ "docComment": "/**\n * Specifies styles for label when associated input is a required field\n *\n * @remarks\n *\n * HTML Attribute: required\n *\n * @public\n */\n",
14340
+ "excerptTokens": [
14341
+ {
14342
+ "kind": "Content",
14343
+ "text": "required: "
14344
+ },
14345
+ {
14346
+ "kind": "Content",
14347
+ "text": "boolean"
14348
+ },
14349
+ {
14350
+ "kind": "Content",
14351
+ "text": ";"
14352
+ }
14353
+ ],
14354
+ "isReadonly": false,
14355
+ "isOptional": false,
14356
+ "releaseTag": "Public",
14357
+ "name": "required",
14358
+ "propertyTypeTokenRange": {
14359
+ "startIndex": 1,
14360
+ "endIndex": 2
14361
+ },
14362
+ "isStatic": false,
14363
+ "isProtected": false
14364
+ },
14365
+ {
14366
+ "kind": "Property",
14367
+ "canonicalReference": "@fluentui/web-components!Label#size:member",
14368
+ "docComment": "/**\n * Specifies font size of a label\n *\n * @default 'medium'\n *\n * @remarks\n *\n * HTML Attribute: size\n *\n * @public\n */\n",
14369
+ "excerptTokens": [
14370
+ {
14371
+ "kind": "Content",
14372
+ "text": "size?: "
14373
+ },
14374
+ {
14375
+ "kind": "Reference",
14376
+ "text": "LabelSize",
14377
+ "canonicalReference": "@fluentui/web-components!~LabelSize:type"
14378
+ },
14379
+ {
14380
+ "kind": "Content",
14381
+ "text": ";"
14382
+ }
14383
+ ],
14384
+ "isReadonly": false,
14385
+ "isOptional": true,
14386
+ "releaseTag": "Public",
14387
+ "name": "size",
14388
+ "propertyTypeTokenRange": {
14389
+ "startIndex": 1,
14390
+ "endIndex": 2
14391
+ },
14392
+ "isStatic": false,
14393
+ "isProtected": false
14394
+ },
14395
+ {
14396
+ "kind": "Property",
14397
+ "canonicalReference": "@fluentui/web-components!Label#weight:member",
14398
+ "docComment": "/**\n * Specifies font weight of a label\n *\n * @default 'regular'\n *\n * @remarks\n *\n * HTML Attribute: weight\n *\n * @public\n */\n",
14399
+ "excerptTokens": [
14400
+ {
14401
+ "kind": "Content",
14402
+ "text": "weight?: "
14403
+ },
14404
+ {
14405
+ "kind": "Reference",
14406
+ "text": "LabelWeight",
14407
+ "canonicalReference": "@fluentui/web-components!~LabelWeight:type"
14408
+ },
14409
+ {
14410
+ "kind": "Content",
14411
+ "text": ";"
14412
+ }
14413
+ ],
14414
+ "isReadonly": false,
14415
+ "isOptional": true,
14416
+ "releaseTag": "Public",
14417
+ "name": "weight",
14418
+ "propertyTypeTokenRange": {
14419
+ "startIndex": 1,
14420
+ "endIndex": 2
14421
+ },
14422
+ "isStatic": false,
14423
+ "isProtected": false
14424
+ }
14425
+ ],
14426
+ "extendsTokenRange": {
14427
+ "startIndex": 1,
14428
+ "endIndex": 2
14429
+ },
14430
+ "implementsTokenRanges": []
14431
+ },
14432
+ {
14433
+ "kind": "Variable",
14434
+ "canonicalReference": "@fluentui/web-components!LabelDefinition:var",
14435
+ "docComment": "/**\n * The Fluent Label Element.\n *\n * @remarks\n *\n * HTML Element: \\<fluent-label\\>\n *\n * @public\n */\n",
14436
+ "excerptTokens": [
14437
+ {
14438
+ "kind": "Content",
14439
+ "text": "definition: "
14440
+ },
14441
+ {
14442
+ "kind": "Content",
14443
+ "text": "import(\"@microsoft/fast-element\")."
14444
+ },
14445
+ {
14446
+ "kind": "Reference",
14447
+ "text": "FASTElementDefinition",
14448
+ "canonicalReference": "@microsoft/fast-element!FASTElementDefinition:class"
14449
+ },
14450
+ {
14451
+ "kind": "Content",
14452
+ "text": "<typeof "
14453
+ },
14454
+ {
14455
+ "kind": "Reference",
14456
+ "text": "Label",
14457
+ "canonicalReference": "@fluentui/web-components!Label:class"
14458
+ },
14459
+ {
14460
+ "kind": "Content",
14461
+ "text": ">"
14462
+ }
14463
+ ],
14464
+ "isReadonly": true,
14465
+ "releaseTag": "Public",
14466
+ "name": "LabelDefinition",
14467
+ "variableTypeTokenRange": {
14468
+ "startIndex": 1,
14469
+ "endIndex": 6
14470
+ }
14471
+ },
14472
+ {
14473
+ "kind": "Variable",
14474
+ "canonicalReference": "@fluentui/web-components!LabelStyles:var",
14475
+ "docComment": "/**\n * Label styles\n *\n * @public\n */\n",
14476
+ "excerptTokens": [
14477
+ {
14478
+ "kind": "Content",
14479
+ "text": "styles: "
14480
+ },
14481
+ {
14482
+ "kind": "Content",
14483
+ "text": "import(\"@microsoft/fast-element\")."
14484
+ },
14485
+ {
14486
+ "kind": "Reference",
14487
+ "text": "ElementStyles",
14488
+ "canonicalReference": "@microsoft/fast-element!ElementStyles:class"
14489
+ }
14490
+ ],
14491
+ "isReadonly": true,
14492
+ "releaseTag": "Public",
14493
+ "name": "LabelStyles",
14494
+ "variableTypeTokenRange": {
14495
+ "startIndex": 1,
14496
+ "endIndex": 3
14497
+ }
14498
+ },
14499
+ {
14500
+ "kind": "Variable",
14501
+ "canonicalReference": "@fluentui/web-components!LabelTemplate:var",
14502
+ "docComment": "",
14503
+ "excerptTokens": [
14504
+ {
14505
+ "kind": "Content",
14506
+ "text": "template: "
14507
+ },
14508
+ {
14509
+ "kind": "Reference",
14510
+ "text": "ElementViewTemplate",
14511
+ "canonicalReference": "@microsoft/fast-element!ElementViewTemplate:interface"
14512
+ },
14513
+ {
14514
+ "kind": "Content",
14515
+ "text": "<"
14516
+ },
14517
+ {
14518
+ "kind": "Reference",
14519
+ "text": "Label",
14520
+ "canonicalReference": "@fluentui/web-components!Label:class"
14521
+ },
14522
+ {
14523
+ "kind": "Content",
14524
+ "text": ">"
14525
+ }
14526
+ ],
14527
+ "isReadonly": true,
14528
+ "releaseTag": "Public",
14529
+ "name": "LabelTemplate",
14530
+ "variableTypeTokenRange": {
14531
+ "startIndex": 1,
14532
+ "endIndex": 5
14533
+ }
14534
+ },
14284
14535
  {
14285
14536
  "kind": "Variable",
14286
14537
  "canonicalReference": "@fluentui/web-components!lineHeightBase100:var",