@fluentui/web-components 3.0.0-alpha.23 → 3.0.0-alpha.25
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 +21 -2
- package/dist/dts/checkbox/checkbox.d.ts +35 -0
- package/dist/dts/checkbox/checkbox.definition.d.ts +9 -0
- package/dist/dts/checkbox/checkbox.options.d.ts +28 -0
- package/dist/dts/checkbox/checkbox.styles.d.ts +5 -0
- package/dist/dts/checkbox/checkbox.template.d.ts +7 -0
- package/dist/dts/checkbox/define.d.ts +1 -0
- package/dist/dts/checkbox/index.d.ts +5 -0
- package/dist/dts/index.d.ts +2 -0
- package/dist/esm/checkbox/checkbox.definition.js +17 -0
- package/dist/esm/checkbox/checkbox.definition.js.map +1 -0
- package/dist/esm/checkbox/checkbox.js +19 -0
- package/dist/esm/checkbox/checkbox.js.map +1 -0
- package/dist/esm/checkbox/checkbox.options.js +25 -0
- package/dist/esm/checkbox/checkbox.options.js.map +1 -0
- package/dist/esm/checkbox/checkbox.styles.js +164 -0
- package/dist/esm/checkbox/checkbox.styles.js.map +1 -0
- package/dist/esm/checkbox/checkbox.template.js +27 -0
- package/dist/esm/checkbox/checkbox.template.js.map +1 -0
- package/dist/esm/checkbox/define.js +4 -0
- package/dist/esm/checkbox/define.js.map +1 -0
- package/dist/esm/checkbox/index.js +6 -0
- package/dist/esm/checkbox/index.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.js +3 -0
- package/dist/esm/toggle-button/toggle-button.js.map +1 -1
- package/dist/fluent-web-components.api.json +442 -0
- package/dist/web-components.d.ts +95 -0
- package/dist/web-components.js +201 -35
- package/dist/web-components.min.js +167 -165
- package/docs/api-report.md +51 -0
- package/package.json +5 -1
- package/CHANGELOG.json +0 -3228
- package/dist/tsdoc-metadata.json +0 -11
package/docs/api-report.md
CHANGED
|
@@ -15,6 +15,7 @@ import { FASTAccordion } from '@microsoft/fast-foundation';
|
|
|
15
15
|
import { FASTAccordionItem } from '@microsoft/fast-foundation';
|
|
16
16
|
import { FASTAnchor } from '@microsoft/fast-foundation';
|
|
17
17
|
import { FASTButton } from '@microsoft/fast-foundation';
|
|
18
|
+
import { FASTCheckbox } from '@microsoft/fast-foundation';
|
|
18
19
|
import { FASTDivider } from '@microsoft/fast-foundation';
|
|
19
20
|
import { FASTElement } from '@microsoft/fast-element';
|
|
20
21
|
import { FASTElementDefinition } from '@microsoft/fast-element';
|
|
@@ -464,6 +465,49 @@ export type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
|
464
465
|
// @public
|
|
465
466
|
export const ButtonTemplate: ElementViewTemplate<Button>;
|
|
466
467
|
|
|
468
|
+
// @public
|
|
469
|
+
export class Checkbox extends FASTCheckbox {
|
|
470
|
+
labelPosition?: CheckboxLabelPosition;
|
|
471
|
+
shape?: CheckboxShape;
|
|
472
|
+
size?: CheckboxSize;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// @public
|
|
476
|
+
export const CheckboxDefinition: FASTElementDefinition<typeof Checkbox>;
|
|
477
|
+
|
|
478
|
+
// @public
|
|
479
|
+
export const CheckboxLabelPosition: {
|
|
480
|
+
readonly before: "before";
|
|
481
|
+
readonly after: "after";
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
// @public (undocumented)
|
|
485
|
+
export type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
|
|
486
|
+
|
|
487
|
+
// @public
|
|
488
|
+
export const CheckboxShape: {
|
|
489
|
+
readonly circular: "circular";
|
|
490
|
+
readonly square: "square";
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
// @public (undocumented)
|
|
494
|
+
export type CheckboxShape = ValuesOf<typeof CheckboxShape>;
|
|
495
|
+
|
|
496
|
+
// @public
|
|
497
|
+
export const CheckboxSize: {
|
|
498
|
+
readonly medium: "medium";
|
|
499
|
+
readonly large: "large";
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
// @public (undocumented)
|
|
503
|
+
export type CheckboxSize = ValuesOf<typeof CheckboxSize>;
|
|
504
|
+
|
|
505
|
+
// @public
|
|
506
|
+
export const CheckboxStyles: ElementStyles;
|
|
507
|
+
|
|
508
|
+
// @public
|
|
509
|
+
export const CheckboxTemplate: ElementViewTemplate<Checkbox>;
|
|
510
|
+
|
|
467
511
|
// @public (undocumented)
|
|
468
512
|
export const colorBackgroundOverlay: CSSDesignToken<string>;
|
|
469
513
|
|
|
@@ -1573,6 +1617,13 @@ export const durationUltraFast: CSSDesignToken<string>;
|
|
|
1573
1617
|
// @public (undocumented)
|
|
1574
1618
|
export const durationUltraSlow: CSSDesignToken<string>;
|
|
1575
1619
|
|
|
1620
|
+
// @public (undocumented)
|
|
1621
|
+
export const FluentDesignSystem: Readonly<{
|
|
1622
|
+
prefix: "fluent";
|
|
1623
|
+
shadowRootMode: "open";
|
|
1624
|
+
registry: CustomElementRegistry;
|
|
1625
|
+
}>;
|
|
1626
|
+
|
|
1576
1627
|
// @public (undocumented)
|
|
1577
1628
|
export const fontFamilyBase: CSSDesignToken<string>;
|
|
1578
1629
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fluentui/web-components",
|
|
3
3
|
"description": "A library of Fluent Web Components",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "3.0.0-alpha.
|
|
5
|
+
"version": "3.0.0-alpha.25",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft",
|
|
8
8
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
"types": "./dist/esm/button/define.d.ts",
|
|
49
49
|
"default": "./dist/esm/button/define.js"
|
|
50
50
|
},
|
|
51
|
+
"./checkbox": {
|
|
52
|
+
"types": "./dist/esm/checkbox/define.d.ts",
|
|
53
|
+
"default": "./dist/esm/checkbox/define.js"
|
|
54
|
+
},
|
|
51
55
|
"./compound-button": {
|
|
52
56
|
"types": "./dist/esm/compound-button/define.d.ts",
|
|
53
57
|
"default": "./dist/esm/compound-button/define.js"
|