@fluentui/web-components 3.0.0-beta.21 → 3.0.0-beta.23
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 +22 -2
- package/dist/dts/accordion/accordion.bench.d.ts +3 -0
- package/dist/dts/accordion/accordion.options.d.ts +3 -3
- package/dist/dts/accordion-item/accordion-item.bench.d.ts +3 -0
- package/dist/dts/accordion-item/accordion-item.d.ts +2 -5
- package/dist/dts/accordion-item/accordion-item.options.d.ts +2 -2
- package/dist/dts/accordion-item/accordion-item.template.d.ts +1 -1
- package/dist/dts/accordion-item/index.d.ts +2 -1
- package/dist/dts/anchor-button/anchor-button.bench.d.ts +3 -0
- package/dist/dts/anchor-button/anchor-button.d.ts +1 -1
- package/dist/dts/anchor-button/anchor-button.options.d.ts +4 -4
- package/dist/dts/anchor-button/index.d.ts +3 -2
- package/dist/dts/avatar/avatar.bench.d.ts +3 -0
- package/dist/dts/avatar/avatar.options.d.ts +6 -6
- package/dist/dts/badge/badge.bench.d.ts +3 -0
- package/dist/dts/badge/badge.options.d.ts +5 -5
- package/dist/dts/button/button.bench.d.ts +3 -0
- package/dist/dts/button/button.options.d.ts +6 -6
- package/dist/dts/button/index.d.ts +4 -3
- package/dist/dts/checkbox/checkbox.bench.d.ts +3 -0
- package/dist/dts/checkbox/checkbox.d.ts +1 -4
- package/dist/dts/checkbox/checkbox.options.d.ts +3 -3
- package/dist/dts/checkbox/index.d.ts +4 -3
- package/dist/dts/compound-button/compound-button.bench.d.ts +3 -0
- package/dist/dts/compound-button/compound-button.options.d.ts +3 -3
- package/dist/dts/counter-badge/counter-badge.bench.d.ts +3 -0
- package/dist/dts/counter-badge/counter-badge.options.d.ts +5 -5
- package/dist/dts/dialog/dialog.bench.d.ts +3 -0
- package/dist/dts/dialog/dialog.d.ts +12 -146
- package/dist/dts/dialog/dialog.options.d.ts +2 -2
- package/dist/dts/dialog/index.d.ts +1 -1
- package/dist/dts/dialog-body/define.d.ts +1 -0
- package/dist/dts/dialog-body/dialog-body.bench.d.ts +3 -0
- package/dist/dts/dialog-body/dialog-body.d.ts +14 -0
- package/dist/dts/dialog-body/dialog-body.definition.d.ts +9 -0
- package/dist/dts/dialog-body/dialog-body.styles.d.ts +4 -0
- package/dist/dts/dialog-body/dialog-body.template.d.ts +6 -0
- package/dist/dts/dialog-body/index.d.ts +4 -0
- package/dist/dts/divider/divider.bench.d.ts +3 -0
- package/dist/dts/divider/divider.d.ts +4 -7
- package/dist/dts/divider/divider.options.d.ts +4 -4
- package/dist/dts/form-associated/form-associated.d.ts +4 -4
- package/dist/dts/image/image.bench.d.ts +3 -0
- package/dist/dts/image/image.options.d.ts +2 -2
- package/dist/dts/index-rollup.d.ts +30 -35
- package/dist/dts/index.d.ts +50 -34
- package/dist/dts/label/label.bench.d.ts +3 -0
- package/dist/dts/label/label.d.ts +0 -2
- package/dist/dts/label/label.options.d.ts +2 -2
- package/dist/dts/menu/menu.bench.d.ts +3 -0
- package/dist/dts/menu/menu.d.ts +27 -25
- package/dist/dts/menu-button/index.d.ts +4 -3
- package/dist/dts/menu-button/menu-button.bench.d.ts +3 -0
- package/dist/dts/menu-button/menu-button.options.d.ts +4 -4
- package/dist/dts/menu-item/index.d.ts +4 -3
- package/dist/dts/menu-item/menu-item.bench.d.ts +3 -0
- package/dist/dts/menu-item/menu-item.d.ts +2 -2
- package/dist/dts/menu-item/menu-item.options.d.ts +1 -1
- package/dist/dts/menu-list/menu-list.bench.d.ts +3 -0
- package/dist/dts/patterns/start-end.d.ts +3 -3
- package/dist/dts/progress-bar/index.d.ts +3 -2
- package/dist/dts/progress-bar/progress-bar.bench.d.ts +3 -0
- package/dist/dts/progress-bar/progress-bar.options.d.ts +4 -4
- package/dist/dts/radio/index.d.ts +2 -1
- package/dist/dts/radio/radio.bench.d.ts +3 -0
- package/dist/dts/radio/radio.d.ts +2 -2
- package/dist/dts/radio-group/radio-group.bench.d.ts +3 -0
- package/dist/dts/radio-group/radio-group.options.d.ts +1 -1
- package/dist/dts/slider/index.d.ts +3 -2
- package/dist/dts/slider/slider.bench.d.ts +3 -0
- package/dist/dts/slider/slider.options.d.ts +4 -4
- package/dist/dts/spinner/spinner.bench.d.ts +3 -0
- package/dist/dts/spinner/spinner.d.ts +0 -2
- package/dist/dts/spinner/spinner.options.d.ts +2 -2
- package/dist/dts/switch/index.d.ts +3 -2
- package/dist/dts/switch/switch.bench.d.ts +3 -0
- package/dist/dts/switch/switch.d.ts +1 -2
- package/dist/dts/switch/switch.options.d.ts +1 -1
- package/dist/dts/tab/index.d.ts +4 -3
- package/dist/dts/tab/tab.bench.d.ts +3 -0
- package/dist/dts/tab/tab.d.ts +1 -1
- package/dist/dts/tab/tab.template.d.ts +1 -1
- package/dist/dts/tab-panel/tab-panel.bench.d.ts +3 -0
- package/dist/dts/tabs/index.d.ts +4 -3
- package/dist/dts/tabs/tabs.bench.d.ts +3 -0
- package/dist/dts/tabs/tabs.d.ts +13 -9
- package/dist/dts/tabs/tabs.options.d.ts +4 -4
- package/dist/dts/text/text.bench.d.ts +3 -0
- package/dist/dts/text/text.options.d.ts +4 -4
- package/dist/dts/text-input/text-input.bench.d.ts +3 -0
- package/dist/dts/text-input/text-input.d.ts +0 -3
- package/dist/dts/text-input/text-input.options.d.ts +4 -4
- package/dist/dts/theme/design-tokens.d.ts +1744 -0
- package/dist/dts/theme/set-theme.d.ts +5 -1
- package/dist/dts/toggle-button/index.d.ts +4 -3
- package/dist/dts/toggle-button/toggle-button.bench.d.ts +3 -0
- package/dist/dts/toggle-button/toggle-button.options.d.ts +4 -4
- package/dist/dts/utils/behaviors/match-media-stylesheet-behavior.d.ts +1 -1
- package/dist/dts/utils/display.d.ts +1 -1
- package/dist/dts/utils/template-helpers.d.ts +1 -1
- package/dist/dts/utils/typings.d.ts +1 -1
- package/dist/esm/accordion/accordion.bench.js +30 -0
- package/dist/esm/accordion/accordion.bench.js.map +1 -0
- package/dist/esm/accordion/accordion.options.js +1 -1
- package/dist/esm/accordion-item/accordion-item.bench.js +14 -0
- package/dist/esm/accordion-item/accordion-item.bench.js.map +1 -0
- package/dist/esm/accordion-item/accordion-item.js +0 -1
- package/dist/esm/accordion-item/accordion-item.js.map +1 -1
- package/dist/esm/accordion-item/index.js.map +1 -1
- package/dist/esm/anchor-button/anchor-button.bench.js +11 -0
- package/dist/esm/anchor-button/anchor-button.bench.js.map +1 -0
- package/dist/esm/anchor-button/index.js +2 -2
- package/dist/esm/anchor-button/index.js.map +1 -1
- package/dist/esm/avatar/avatar.bench.js +10 -0
- package/dist/esm/avatar/avatar.bench.js.map +1 -0
- package/dist/esm/badge/badge.bench.js +11 -0
- package/dist/esm/badge/badge.bench.js.map +1 -0
- package/dist/esm/button/button.bench.js +11 -0
- package/dist/esm/button/button.bench.js.map +1 -0
- package/dist/esm/button/button.js +26 -26
- package/dist/esm/button/button.js.map +1 -1
- package/dist/esm/button/index.js +3 -3
- package/dist/esm/button/index.js.map +1 -1
- package/dist/esm/checkbox/checkbox.bench.js +11 -0
- package/dist/esm/checkbox/checkbox.bench.js.map +1 -0
- package/dist/esm/checkbox/checkbox.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/compound-button.bench.js +15 -0
- package/dist/esm/compound-button/compound-button.bench.js.map +1 -0
- package/dist/esm/counter-badge/counter-badge.bench.js +11 -0
- package/dist/esm/counter-badge/counter-badge.bench.js.map +1 -0
- package/dist/esm/dialog/dialog.bench.js +11 -0
- package/dist/esm/dialog/dialog.bench.js.map +1 -0
- package/dist/esm/dialog/dialog.js +32 -306
- package/dist/esm/dialog/dialog.js.map +1 -1
- package/dist/esm/dialog/dialog.options.js +1 -1
- package/dist/esm/dialog/dialog.options.js.map +1 -1
- package/dist/esm/dialog/dialog.styles.js +61 -84
- package/dist/esm/dialog/dialog.styles.js.map +1 -1
- package/dist/esm/dialog/dialog.template.js +17 -54
- package/dist/esm/dialog/dialog.template.js.map +1 -1
- package/dist/esm/dialog/index.js +1 -1
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/dialog-body/define.js +4 -0
- package/dist/esm/dialog-body/define.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.bench.js +11 -0
- package/dist/esm/dialog-body/dialog-body.bench.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.definition.js +17 -0
- package/dist/esm/dialog-body/dialog-body.definition.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.js +22 -0
- package/dist/esm/dialog-body/dialog-body.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.styles.js +79 -0
- package/dist/esm/dialog-body/dialog-body.styles.js.map +1 -0
- package/dist/esm/dialog-body/dialog-body.template.js +42 -0
- package/dist/esm/dialog-body/dialog-body.template.js.map +1 -0
- package/dist/esm/dialog-body/index.js +5 -0
- package/dist/esm/dialog-body/index.js.map +1 -0
- package/dist/esm/divider/divider.bench.js +10 -0
- package/dist/esm/divider/divider.bench.js.map +1 -0
- package/dist/esm/divider/divider.js +1 -1
- package/dist/esm/divider/divider.js.map +1 -1
- package/dist/esm/form-associated/form-associated.js +66 -66
- package/dist/esm/form-associated/form-associated.js.map +1 -1
- package/dist/esm/image/image.bench.js +14 -0
- package/dist/esm/image/image.bench.js.map +1 -0
- package/dist/esm/index-rollup.js +30 -35
- package/dist/esm/index-rollup.js.map +1 -1
- package/dist/esm/index.js +34 -33
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/label/label.bench.js +11 -0
- package/dist/esm/label/label.bench.js.map +1 -0
- package/dist/esm/label/label.js.map +1 -1
- package/dist/esm/menu/menu.bench.js +31 -0
- package/dist/esm/menu/menu.bench.js.map +1 -0
- package/dist/esm/menu/menu.js +25 -23
- package/dist/esm/menu/menu.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-button/menu-button.bench.js +11 -0
- package/dist/esm/menu-button/menu-button.bench.js.map +1 -0
- package/dist/esm/menu-item/index.js +2 -2
- package/dist/esm/menu-item/index.js.map +1 -1
- package/dist/esm/menu-item/menu-item.bench.js +11 -0
- package/dist/esm/menu-item/menu-item.bench.js.map +1 -0
- package/dist/esm/menu-list/menu-list.bench.js +21 -0
- package/dist/esm/menu-list/menu-list.bench.js.map +1 -0
- package/dist/esm/menu-list/menu-list.js +2 -1
- package/dist/esm/menu-list/menu-list.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/progress-bar/progress-bar.bench.js +10 -0
- package/dist/esm/progress-bar/progress-bar.bench.js.map +1 -0
- package/dist/esm/radio/index.js +1 -1
- package/dist/esm/radio/index.js.map +1 -1
- package/dist/esm/radio/radio.bench.js +11 -0
- package/dist/esm/radio/radio.bench.js.map +1 -0
- package/dist/esm/radio/radio.js +11 -11
- package/dist/esm/radio/radio.js.map +1 -1
- package/dist/esm/radio-group/radio-group.bench.js +21 -0
- package/dist/esm/radio-group/radio-group.bench.js.map +1 -0
- package/dist/esm/slider/index.js +1 -1
- package/dist/esm/slider/index.js.map +1 -1
- package/dist/esm/slider/slider.bench.js +10 -0
- package/dist/esm/slider/slider.bench.js.map +1 -0
- package/dist/esm/slider/slider.template.js +1 -1
- package/dist/esm/slider/slider.template.js.map +1 -1
- package/dist/esm/spinner/spinner.bench.js +10 -0
- package/dist/esm/spinner/spinner.bench.js.map +1 -0
- package/dist/esm/spinner/spinner.js.map +1 -1
- package/dist/esm/switch/index.js +1 -1
- package/dist/esm/switch/index.js.map +1 -1
- package/dist/esm/switch/switch.bench.js +11 -0
- package/dist/esm/switch/switch.bench.js.map +1 -0
- package/dist/esm/switch/switch.js +5 -5
- package/dist/esm/switch/switch.js.map +1 -1
- package/dist/esm/tab/index.js +2 -2
- package/dist/esm/tab/index.js.map +1 -1
- package/dist/esm/tab/tab.bench.js +11 -0
- package/dist/esm/tab/tab.bench.js.map +1 -0
- package/dist/esm/tab-panel/tab-panel.bench.js +13 -0
- package/dist/esm/tab-panel/tab-panel.bench.js.map +1 -0
- package/dist/esm/tabs/index.js +2 -2
- package/dist/esm/tabs/index.js.map +1 -1
- package/dist/esm/tabs/tabs.bench.js +32 -0
- package/dist/esm/tabs/tabs.bench.js.map +1 -0
- package/dist/esm/tabs/tabs.js +13 -9
- package/dist/esm/tabs/tabs.js.map +1 -1
- package/dist/esm/text/text.bench.js +13 -0
- package/dist/esm/text/text.bench.js.map +1 -0
- package/dist/esm/text-input/text-input.bench.js +10 -0
- package/dist/esm/text-input/text-input.bench.js.map +1 -0
- package/dist/esm/text-input/text-input.js.map +1 -1
- package/dist/esm/theme/design-tokens.js +1744 -0
- package/dist/esm/theme/design-tokens.js.map +1 -1
- package/dist/esm/theme/set-theme.js +5 -1
- package/dist/esm/theme/set-theme.js.map +1 -1
- package/dist/esm/toggle-button/index.js +3 -3
- package/dist/esm/toggle-button/index.js.map +1 -1
- package/dist/esm/toggle-button/toggle-button.bench.js +11 -0
- package/dist/esm/toggle-button/toggle-button.bench.js.map +1 -0
- package/dist/web-components.d.ts +1850 -213
- package/dist/web-components.js +1325 -2747
- package/dist/web-components.min.js +253 -255
- package/package.json +19 -3
- package/dist/fluent-web-components.api.json +0 -29683
- package/docs/api-report.md +0 -3212
- package/playwright.config.ts +0 -24
- package/project.json +0 -6
- package/tensile.config.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @fluentui/web-components
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 05 Jun 2024 04:06:30 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [3.0.0-beta.23](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.23)
|
|
8
|
+
|
|
9
|
+
Wed, 05 Jun 2024 04:06:30 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.22..@fluentui/web-components_v3.0.0-beta.23)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- chore: migrate to package.json#files for npm publish scope" ([PR #31519](https://github.com/microsoft/fluentui/pull/31519) by martinhochel@microsoft.com)
|
|
15
|
+
- Refactor fluent-dialog and add fluent-dialog-body ([PR #31512](https://github.com/microsoft/fluentui/pull/31512) by rupertdavid@microsoft.com)
|
|
16
|
+
- fix(web-components): remove tabindex from slider thumb causing duplicate focus regions ([PR #31402](https://github.com/microsoft/fluentui/pull/31402) by 13071055+chrisdholt@users.noreply.github.com)
|
|
17
|
+
|
|
18
|
+
## [3.0.0-beta.22](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.22)
|
|
19
|
+
|
|
20
|
+
Mon, 03 Jun 2024 04:06:55 GMT
|
|
21
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.21..@fluentui/web-components_v3.0.0-beta.22)
|
|
22
|
+
|
|
23
|
+
### Changes
|
|
24
|
+
|
|
25
|
+
- chore: Export component definitions from rollup bundle ([PR #31403](https://github.com/microsoft/fluentui/pull/31403) by 863023+radium-v@users.noreply.github.com)
|
|
26
|
+
|
|
7
27
|
## [3.0.0-beta.21](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.21)
|
|
8
28
|
|
|
9
|
-
Fri, 24 May 2024 04:06:
|
|
29
|
+
Fri, 24 May 2024 04:06:21 GMT
|
|
10
30
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.20..@fluentui/web-components_v3.0.0-beta.21)
|
|
11
31
|
|
|
12
32
|
### Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ValuesOf } from '../utils/index.js';
|
|
2
2
|
/**
|
|
3
|
-
* Expand mode for {@link
|
|
3
|
+
* Expand mode for {@link Accordion}
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export declare const AccordionExpandMode: {
|
|
@@ -8,7 +8,7 @@ export declare const AccordionExpandMode: {
|
|
|
8
8
|
readonly multi: "multi";
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Type for the {@link
|
|
11
|
+
* Type for the {@link Accordion} Expand Mode
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;
|
|
@@ -7,7 +7,7 @@ import { AccordionItemExpandIconPosition, AccordionItemSize } from './accordion-
|
|
|
7
7
|
* Accordion Item configuration options
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type AccordionItemOptions = StartEndOptions<AccordionItem> & {
|
|
11
11
|
expandedIcon?: StaticallyComposableHTML<AccordionItem>;
|
|
12
12
|
collapsedIcon?: StaticallyComposableHTML<AccordionItem>;
|
|
13
13
|
};
|
|
@@ -33,7 +33,6 @@ export declare class AccordionItem extends FASTElement {
|
|
|
33
33
|
* Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the
|
|
34
34
|
* heading element.
|
|
35
35
|
*
|
|
36
|
-
* @defaultValue 2
|
|
37
36
|
* @public
|
|
38
37
|
* @remarks
|
|
39
38
|
* HTML attribute: heading-level
|
|
@@ -67,7 +66,6 @@ export declare class AccordionItem extends FASTElement {
|
|
|
67
66
|
* Defines accordion header font size.
|
|
68
67
|
*
|
|
69
68
|
* @public
|
|
70
|
-
* @default 'medium'
|
|
71
69
|
* @remarks
|
|
72
70
|
* HTML Attribute: size
|
|
73
71
|
*/
|
|
@@ -84,9 +82,8 @@ export declare class AccordionItem extends FASTElement {
|
|
|
84
82
|
* Sets expand and collapsed icon position.
|
|
85
83
|
*
|
|
86
84
|
* @public
|
|
87
|
-
* @default 'start'
|
|
88
85
|
* @remarks
|
|
89
|
-
* HTML Attribute:
|
|
86
|
+
* HTML Attribute: expand-icon-position
|
|
90
87
|
*/
|
|
91
88
|
expandIconPosition?: AccordionItemExpandIconPosition;
|
|
92
89
|
/**
|
|
@@ -12,7 +12,7 @@ export declare const AccordionItemSize: {
|
|
|
12
12
|
* Applies font size to accordion header
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type AccordionItemSize = ValuesOf<typeof AccordionItemSize>;
|
|
16
16
|
/**
|
|
17
17
|
* An Accordion Item expand/collapse icon can appear at the start or end of the accordion
|
|
18
18
|
*/
|
|
@@ -24,4 +24,4 @@ export declare const AccordionItemExpandIconPosition: {
|
|
|
24
24
|
* Applies expand/collapse icon position
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
|
-
export
|
|
27
|
+
export type AccordionItemExpandIconPosition = ValuesOf<typeof AccordionItemExpandIconPosition>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { AccordionItem, AccordionItemOptions } from './accordion-item.js';
|
|
2
|
+
import type { AccordionItem, AccordionItemOptions } from './accordion-item.js';
|
|
3
3
|
export declare function accordionItemTemplate<T extends AccordionItem>(options?: AccordionItemOptions): ElementViewTemplate<T>;
|
|
4
4
|
/**
|
|
5
5
|
* The template for the fluent-accordion component.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { AccordionItem
|
|
1
|
+
export { AccordionItem } from './accordion-item.js';
|
|
2
|
+
export type { AccordionItemOptions } from './accordion-item.js';
|
|
2
3
|
export { AccordionItemSize, AccordionItemExpandIconPosition } from './accordion-item.options.js';
|
|
3
4
|
export { styles as accordionItemStyles } from './accordion-item.styles.js';
|
|
4
5
|
export { definition as accordionItemDefinition } from './accordion-item.definition.js';
|
|
@@ -6,7 +6,7 @@ import type { AnchorButtonAppearance, AnchorButtonShape, AnchorButtonSize, Ancho
|
|
|
6
6
|
* Anchor configuration options
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type AnchorOptions = StartEndOptions<AnchorButton>;
|
|
10
10
|
/**
|
|
11
11
|
* An Anchor Custom HTML Element.
|
|
12
12
|
* Based largely on the {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element }.
|
|
@@ -15,7 +15,7 @@ export declare const AnchorButtonAppearance: {
|
|
|
15
15
|
* An Anchor Button can be secondary, primary, outline, subtle, transparent
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type AnchorButtonAppearance = ValuesOf<typeof AnchorButtonAppearance>;
|
|
19
19
|
/**
|
|
20
20
|
* An Anchor Button can be square, circular or rounded.
|
|
21
21
|
* @public
|
|
@@ -29,7 +29,7 @@ export declare const AnchorButtonShape: {
|
|
|
29
29
|
* An Anchor Button can be square, circular or rounded
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
export
|
|
32
|
+
export type AnchorButtonShape = ValuesOf<typeof AnchorButtonShape>;
|
|
33
33
|
/**
|
|
34
34
|
* An Anchor Button can be a size of small, medium or large.
|
|
35
35
|
* @public
|
|
@@ -43,7 +43,7 @@ export declare const AnchorButtonSize: {
|
|
|
43
43
|
* An Anchor Button can be on of several preset sizes.
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
|
-
export
|
|
46
|
+
export type AnchorButtonSize = ValuesOf<typeof AnchorButtonSize>;
|
|
47
47
|
export { AnchorOptions as AnchorButtonOptions };
|
|
48
48
|
/**
|
|
49
49
|
* Anchor target values.
|
|
@@ -61,4 +61,4 @@ export declare const AnchorTarget: {
|
|
|
61
61
|
*
|
|
62
62
|
* @public
|
|
63
63
|
*/
|
|
64
|
-
export
|
|
64
|
+
export type AnchorTarget = ValuesOf<typeof AnchorTarget>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
export { definition as AnchorButtonDefinition } from './anchor-button.definition.js';
|
|
1
2
|
export { AnchorButton } from './anchor-button.js';
|
|
2
|
-
export {
|
|
3
|
+
export { AnchorButtonAppearance, AnchorButtonShape, AnchorButtonSize, AnchorTarget } from './anchor-button.options.js';
|
|
4
|
+
export type { AnchorButtonOptions } from './anchor-button.options.js';
|
|
3
5
|
export { template as AnchorButtonTemplate } from './anchor-button.template.js';
|
|
4
|
-
export { definition as AnchorButtonDefinition } from './anchor-button.definition.js';
|
|
@@ -9,7 +9,7 @@ export declare const AvatarActive: {
|
|
|
9
9
|
/**
|
|
10
10
|
* The types of Avatar active state
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type AvatarActive = ValuesOf<typeof AvatarActive>;
|
|
13
13
|
/**
|
|
14
14
|
* The Avatar Shape
|
|
15
15
|
*/
|
|
@@ -20,7 +20,7 @@ export declare const AvatarShape: {
|
|
|
20
20
|
/**
|
|
21
21
|
* The types of Avatar Shape
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type AvatarShape = ValuesOf<typeof AvatarShape>;
|
|
24
24
|
/**
|
|
25
25
|
* The Avatar Appearance when "active"
|
|
26
26
|
*/
|
|
@@ -32,7 +32,7 @@ export declare const AvatarAppearance: {
|
|
|
32
32
|
/**
|
|
33
33
|
* The appearance when "active"
|
|
34
34
|
*/
|
|
35
|
-
export
|
|
35
|
+
export type AvatarAppearance = ValuesOf<typeof AvatarAppearance>;
|
|
36
36
|
/**
|
|
37
37
|
* A specific named color for the Avatar
|
|
38
38
|
*/
|
|
@@ -72,7 +72,7 @@ export declare const AvatarNamedColor: {
|
|
|
72
72
|
* An avatar can be one of named colors
|
|
73
73
|
* @public
|
|
74
74
|
*/
|
|
75
|
-
export
|
|
75
|
+
export type AvatarNamedColor = ValuesOf<typeof AvatarNamedColor>;
|
|
76
76
|
/**
|
|
77
77
|
* Supported Avatar colors
|
|
78
78
|
*/
|
|
@@ -114,7 +114,7 @@ export declare const AvatarColor: {
|
|
|
114
114
|
/**
|
|
115
115
|
* The Avatar Color
|
|
116
116
|
*/
|
|
117
|
-
export
|
|
117
|
+
export type AvatarColor = ValuesOf<typeof AvatarColor>;
|
|
118
118
|
/**
|
|
119
119
|
* The Avatar Sizes
|
|
120
120
|
* @public
|
|
@@ -139,4 +139,4 @@ export declare const AvatarSize: {
|
|
|
139
139
|
* A Avatar can be on of several preset sizes.
|
|
140
140
|
* @public
|
|
141
141
|
*/
|
|
142
|
-
export
|
|
142
|
+
export type AvatarSize = ValuesOf<typeof AvatarSize>;
|
|
@@ -4,7 +4,7 @@ import type { Badge } from './badge.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* @internal - marking as internal update when Badge PR for start/end is in
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type BadgeOptions = StartEndOptions<Badge> & {
|
|
8
8
|
defaultContent?: StaticallyComposableHTML;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
@@ -21,7 +21,7 @@ export declare const BadgeAppearance: {
|
|
|
21
21
|
* A Badge can be filled, outline, ghost, inverted
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
export
|
|
24
|
+
export type BadgeAppearance = ValuesOf<typeof BadgeAppearance>;
|
|
25
25
|
/**
|
|
26
26
|
* BadgeColor constants
|
|
27
27
|
* @public
|
|
@@ -40,7 +40,7 @@ export declare const BadgeColor: {
|
|
|
40
40
|
* A Badge can be one of preset colors
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type BadgeColor = ValuesOf<typeof BadgeColor>;
|
|
44
44
|
/**
|
|
45
45
|
* A Badge can be square, circular or rounded.
|
|
46
46
|
* @public
|
|
@@ -54,7 +54,7 @@ export declare const BadgeShape: {
|
|
|
54
54
|
* A Badge can be one of preset colors
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
57
|
-
export
|
|
57
|
+
export type BadgeShape = ValuesOf<typeof BadgeShape>;
|
|
58
58
|
/**
|
|
59
59
|
* A Badge can be square, circular or rounded.
|
|
60
60
|
* @public
|
|
@@ -71,4 +71,4 @@ export declare const BadgeSize: {
|
|
|
71
71
|
* A Badge can be on of several preset sizes.
|
|
72
72
|
* @public
|
|
73
73
|
*/
|
|
74
|
-
export
|
|
74
|
+
export type BadgeSize = ValuesOf<typeof BadgeSize>;
|
|
@@ -16,7 +16,7 @@ export declare const ButtonAppearance: {
|
|
|
16
16
|
* A Button can be secondary, primary, outline, subtle, transparent
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type ButtonAppearance = ValuesOf<typeof ButtonAppearance>;
|
|
20
20
|
/**
|
|
21
21
|
* A Button can be square, circular or rounded.
|
|
22
22
|
* @public
|
|
@@ -30,7 +30,7 @@ export declare const ButtonShape: {
|
|
|
30
30
|
* A Button can be square, circular or rounded
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type ButtonShape = ValuesOf<typeof ButtonShape>;
|
|
34
34
|
/**
|
|
35
35
|
* A Button can be a size of small, medium or large.
|
|
36
36
|
* @public
|
|
@@ -44,7 +44,7 @@ export declare const ButtonSize: {
|
|
|
44
44
|
* A Button can be on of several preset sizes.
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
export
|
|
47
|
+
export type ButtonSize = ValuesOf<typeof ButtonSize>;
|
|
48
48
|
/**
|
|
49
49
|
* Button type values.
|
|
50
50
|
*
|
|
@@ -60,12 +60,12 @@ export declare const ButtonType: {
|
|
|
60
60
|
*
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
|
-
export
|
|
63
|
+
export type ButtonType = ValuesOf<typeof ButtonType>;
|
|
64
64
|
/**
|
|
65
65
|
* Button configuration options.
|
|
66
66
|
* @public
|
|
67
67
|
*/
|
|
68
|
-
export
|
|
68
|
+
export type ButtonOptions = StartEndOptions<Button>;
|
|
69
69
|
/**
|
|
70
70
|
* Button `formtarget` attribute values.
|
|
71
71
|
* @public
|
|
@@ -80,4 +80,4 @@ export declare const ButtonFormTarget: {
|
|
|
80
80
|
* Types for the `formtarget` attribute values.
|
|
81
81
|
* @public
|
|
82
82
|
*/
|
|
83
|
-
export
|
|
83
|
+
export type ButtonFormTarget = ValuesOf<typeof ButtonFormTarget>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export { definition as ButtonDefinition } from './button.definition.js';
|
|
1
2
|
export { Button } from './button.js';
|
|
2
|
-
export { ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType
|
|
3
|
-
export {
|
|
3
|
+
export { ButtonAppearance, ButtonFormTarget, ButtonShape, ButtonSize, ButtonType } from './button.options.js';
|
|
4
|
+
export type { ButtonOptions } from './button.options.js';
|
|
4
5
|
export { styles as ButtonStyles } from './button.styles.js';
|
|
5
|
-
export {
|
|
6
|
+
export { template as ButtonTemplate } from './button.template.js';
|
|
@@ -5,7 +5,7 @@ import { CheckboxLabelPosition, CheckboxShape, CheckboxSize } from './checkbox.o
|
|
|
5
5
|
* Checkbox configuration options
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type CheckboxOptions = {
|
|
9
9
|
checkedIndicator?: StaticallyComposableHTML<Checkbox>;
|
|
10
10
|
indeterminateIndicator?: StaticallyComposableHTML<Checkbox>;
|
|
11
11
|
};
|
|
@@ -27,7 +27,6 @@ export declare class Checkbox extends FormAssociatedCheckbox {
|
|
|
27
27
|
* Sets shape of the checkbox.
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
|
-
* @default 'square'
|
|
31
30
|
* @remarks
|
|
32
31
|
* HTML Attribute: shape
|
|
33
32
|
*/
|
|
@@ -36,7 +35,6 @@ export declare class Checkbox extends FormAssociatedCheckbox {
|
|
|
36
35
|
* Sets size of the checkbox.
|
|
37
36
|
*
|
|
38
37
|
* @public
|
|
39
|
-
* @default 'medium'
|
|
40
38
|
* @remarks
|
|
41
39
|
* HTML Attribute: size
|
|
42
40
|
*/
|
|
@@ -45,7 +43,6 @@ export declare class Checkbox extends FormAssociatedCheckbox {
|
|
|
45
43
|
* Sets position of the label relative to the input
|
|
46
44
|
*
|
|
47
45
|
* @public
|
|
48
|
-
* @default 'after'
|
|
49
46
|
* @remarks
|
|
50
47
|
* HTML Attribute: label-position
|
|
51
48
|
*/
|
|
@@ -7,7 +7,7 @@ export declare const CheckboxShape: {
|
|
|
7
7
|
readonly circular: "circular";
|
|
8
8
|
readonly square: "square";
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type CheckboxShape = ValuesOf<typeof CheckboxShape>;
|
|
11
11
|
/**
|
|
12
12
|
* Checkbox size
|
|
13
13
|
* @public
|
|
@@ -16,7 +16,7 @@ export declare const CheckboxSize: {
|
|
|
16
16
|
readonly medium: "medium";
|
|
17
17
|
readonly large: "large";
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type CheckboxSize = ValuesOf<typeof CheckboxSize>;
|
|
20
20
|
/**
|
|
21
21
|
* Checkbox label position
|
|
22
22
|
* @public
|
|
@@ -25,4 +25,4 @@ export declare const CheckboxLabelPosition: {
|
|
|
25
25
|
readonly before: "before";
|
|
26
26
|
readonly after: "after";
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type CheckboxLabelPosition = ValuesOf<typeof CheckboxLabelPosition>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { Checkbox, CheckboxOptions } from './checkbox.js';
|
|
2
|
-
export { CheckboxLabelPosition, CheckboxShape, CheckboxSize } from './checkbox.options.js';
|
|
3
1
|
export { definition as CheckboxDefinition } from './checkbox.definition.js';
|
|
4
|
-
export {
|
|
2
|
+
export { Checkbox } from './checkbox.js';
|
|
3
|
+
export type { CheckboxOptions } from './checkbox.js';
|
|
4
|
+
export { CheckboxLabelPosition, CheckboxShape, CheckboxSize } from './checkbox.options.js';
|
|
5
5
|
export { styles as CheckboxStyles } from './checkbox.styles.js';
|
|
6
|
+
export { template as CheckboxTemplate } from './checkbox.template.js';
|
|
@@ -19,7 +19,7 @@ export declare const CompoundButtonAppearance: {
|
|
|
19
19
|
* A Compound Button can be secondary, primary, outline, subtle, transparent
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export type CompoundButtonAppearance = ValuesOf<typeof CompoundButtonAppearance>;
|
|
23
23
|
/**
|
|
24
24
|
* A Compound Button can be square, circular or rounded.
|
|
25
25
|
* @public
|
|
@@ -33,7 +33,7 @@ export declare const CompoundButtonShape: {
|
|
|
33
33
|
* A Compound Button can be square, circular or rounded
|
|
34
34
|
* @public
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export type CompoundButtonShape = ValuesOf<typeof CompoundButtonShape>;
|
|
37
37
|
/**
|
|
38
38
|
* A Compound Button can be a size of small, medium or large.
|
|
39
39
|
* @public
|
|
@@ -47,5 +47,5 @@ export declare const CompoundButtonSize: {
|
|
|
47
47
|
* A Compound Button can be on of several preset sizes.
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
50
|
-
export
|
|
50
|
+
export type CompoundButtonSize = ValuesOf<typeof CompoundButtonSize>;
|
|
51
51
|
export { ButtonOptions as CompoundButtonOptions };
|
|
@@ -4,7 +4,7 @@ import type { ValuesOf } from '../utils/index.js';
|
|
|
4
4
|
* CounterBadge options
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type CounterBadgeOptions = BadgeOptions;
|
|
8
8
|
/**
|
|
9
9
|
* CounterBadgeAppearance constants
|
|
10
10
|
* @public
|
|
@@ -17,7 +17,7 @@ export declare const CounterBadgeAppearance: {
|
|
|
17
17
|
* A CounterBadge can have an appearance of filled or ghost
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type CounterBadgeAppearance = ValuesOf<typeof CounterBadgeAppearance>;
|
|
21
21
|
/**
|
|
22
22
|
* CounterBadgeColor constants
|
|
23
23
|
* @public
|
|
@@ -36,7 +36,7 @@ export declare const CounterBadgeColor: {
|
|
|
36
36
|
* A CounterBadge can be one of preset colors
|
|
37
37
|
* @public
|
|
38
38
|
*/
|
|
39
|
-
export
|
|
39
|
+
export type CounterBadgeColor = ValuesOf<typeof CounterBadgeColor>;
|
|
40
40
|
/**
|
|
41
41
|
* A CounterBadge shape can be circular or rounded.
|
|
42
42
|
* @public
|
|
@@ -49,7 +49,7 @@ export declare const CounterBadgeShape: {
|
|
|
49
49
|
* A CounterBadge can be one of preset colors
|
|
50
50
|
* @public
|
|
51
51
|
*/
|
|
52
|
-
export
|
|
52
|
+
export type CounterBadgeShape = ValuesOf<typeof CounterBadgeShape>;
|
|
53
53
|
/**
|
|
54
54
|
* A CounterBadge can be square, circular or rounded.
|
|
55
55
|
* @public
|
|
@@ -66,4 +66,4 @@ export declare const CounterBadgeSize: {
|
|
|
66
66
|
* A CounterBadge can be on of several preset sizes.
|
|
67
67
|
* @public
|
|
68
68
|
*/
|
|
69
|
-
export
|
|
69
|
+
export type CounterBadgeSize = ValuesOf<typeof CounterBadgeSize>;
|