@fluentui/web-components 3.0.0-beta.89 → 3.0.0-beta.90

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.
Files changed (128) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/dist/dts/accordion-item/accordion-item.base.d.ts +0 -12
  3. package/dist/dts/accordion-item/accordion-item.d.ts +0 -18
  4. package/dist/dts/avatar/avatar.base.d.ts +0 -12
  5. package/dist/dts/avatar/avatar.d.ts +13 -2
  6. package/dist/dts/badge/badge.d.ts +0 -30
  7. package/dist/dts/button/button.d.ts +0 -24
  8. package/dist/dts/checkbox/checkbox.d.ts +0 -16
  9. package/dist/dts/counter-badge/counter-badge.d.ts +0 -30
  10. package/dist/dts/divider/divider.d.ts +0 -18
  11. package/dist/dts/dropdown/dropdown.d.ts +0 -16
  12. package/dist/dts/image/image.d.ts +0 -36
  13. package/dist/dts/label/label.d.ts +0 -24
  14. package/dist/dts/link/link.d.ts +0 -12
  15. package/dist/dts/message-bar/message-bar.d.ts +0 -18
  16. package/dist/dts/progress-bar/progress-bar.d.ts +0 -12
  17. package/dist/dts/rating-display/rating-display.d.ts +0 -14
  18. package/dist/dts/slider/slider.d.ts +0 -1
  19. package/dist/dts/spinner/spinner.d.ts +0 -12
  20. package/dist/dts/styles/states/index.d.ts +0 -500
  21. package/dist/dts/tablist/tablist.d.ts +0 -8
  22. package/dist/dts/text/text.d.ts +1 -34
  23. package/dist/dts/text-input/text-input.d.ts +0 -12
  24. package/dist/dts/textarea/textarea.d.ts +0 -4
  25. package/dist/dts/tree-item/tree-item.d.ts +1 -1
  26. package/dist/esm/accordion-item/accordion-item.base.js +0 -17
  27. package/dist/esm/accordion-item/accordion-item.base.js.map +1 -1
  28. package/dist/esm/accordion-item/accordion-item.js +0 -26
  29. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  30. package/dist/esm/accordion-item/accordion-item.styles.js +19 -20
  31. package/dist/esm/accordion-item/accordion-item.styles.js.map +1 -1
  32. package/dist/esm/avatar/avatar.base.js +0 -3
  33. package/dist/esm/avatar/avatar.base.js.map +1 -1
  34. package/dist/esm/avatar/avatar.js +4 -2
  35. package/dist/esm/avatar/avatar.js.map +1 -1
  36. package/dist/esm/avatar/avatar.styles.js +31 -32
  37. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  38. package/dist/esm/badge/badge.js +1 -40
  39. package/dist/esm/badge/badge.js.map +1 -1
  40. package/dist/esm/badge/badge.styles.js +7 -10
  41. package/dist/esm/badge/badge.styles.js.map +1 -1
  42. package/dist/esm/button/button.js +0 -34
  43. package/dist/esm/button/button.js.map +1 -1
  44. package/dist/esm/button/button.styles.js +34 -35
  45. package/dist/esm/button/button.styles.js.map +1 -1
  46. package/dist/esm/checkbox/checkbox.js +1 -22
  47. package/dist/esm/checkbox/checkbox.js.map +1 -1
  48. package/dist/esm/checkbox/checkbox.styles.js +6 -6
  49. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  50. package/dist/esm/compound-button/compound-button.styles.js +12 -13
  51. package/dist/esm/compound-button/compound-button.styles.js.map +1 -1
  52. package/dist/esm/counter-badge/counter-badge.js +0 -42
  53. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  54. package/dist/esm/counter-badge/counter-badge.styles.js +3 -7
  55. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  56. package/dist/esm/divider/divider.js +0 -26
  57. package/dist/esm/divider/divider.js.map +1 -1
  58. package/dist/esm/divider/divider.styles.js +32 -35
  59. package/dist/esm/divider/divider.styles.js.map +1 -1
  60. package/dist/esm/dropdown/dropdown.js +1 -22
  61. package/dist/esm/dropdown/dropdown.js.map +1 -1
  62. package/dist/esm/dropdown/dropdown.styles.js +18 -18
  63. package/dist/esm/dropdown/dropdown.styles.js.map +1 -1
  64. package/dist/esm/image/image.js +0 -51
  65. package/dist/esm/image/image.js.map +1 -1
  66. package/dist/esm/image/image.styles.js +9 -10
  67. package/dist/esm/image/image.styles.js.map +1 -1
  68. package/dist/esm/label/label.js +0 -32
  69. package/dist/esm/label/label.js.map +1 -1
  70. package/dist/esm/label/label.styles.js +5 -6
  71. package/dist/esm/label/label.styles.js.map +1 -1
  72. package/dist/esm/link/link.js +0 -18
  73. package/dist/esm/link/link.js.map +1 -1
  74. package/dist/esm/link/link.styles.js +4 -5
  75. package/dist/esm/link/link.styles.js.map +1 -1
  76. package/dist/esm/message-bar/message-bar.js +0 -26
  77. package/dist/esm/message-bar/message-bar.js.map +1 -1
  78. package/dist/esm/message-bar/message-bar.styles.js +9 -10
  79. package/dist/esm/message-bar/message-bar.styles.js.map +1 -1
  80. package/dist/esm/progress-bar/progress-bar.js +0 -18
  81. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  82. package/dist/esm/progress-bar/progress-bar.styles.js +6 -7
  83. package/dist/esm/progress-bar/progress-bar.styles.js.map +1 -1
  84. package/dist/esm/radio-group/radio-group.styles.js +0 -1
  85. package/dist/esm/radio-group/radio-group.styles.js.map +1 -1
  86. package/dist/esm/rating-display/rating-display.js +0 -20
  87. package/dist/esm/rating-display/rating-display.js.map +1 -1
  88. package/dist/esm/rating-display/rating-display.styles.js +16 -19
  89. package/dist/esm/rating-display/rating-display.styles.js.map +1 -1
  90. package/dist/esm/slider/slider.js +1 -6
  91. package/dist/esm/slider/slider.js.map +1 -1
  92. package/dist/esm/slider/slider.styles.js +6 -7
  93. package/dist/esm/slider/slider.styles.js.map +1 -1
  94. package/dist/esm/spinner/spinner.js +0 -18
  95. package/dist/esm/spinner/spinner.js.map +1 -1
  96. package/dist/esm/spinner/spinner.styles.js +8 -9
  97. package/dist/esm/spinner/spinner.styles.js.map +1 -1
  98. package/dist/esm/styles/partials/badge.partials.js +42 -43
  99. package/dist/esm/styles/partials/badge.partials.js.map +1 -1
  100. package/dist/esm/styles/states/index.js +0 -500
  101. package/dist/esm/styles/states/index.js.map +1 -1
  102. package/dist/esm/tablist/tablist.js +1 -14
  103. package/dist/esm/tablist/tablist.js.map +1 -1
  104. package/dist/esm/tablist/tablist.styles.js +26 -27
  105. package/dist/esm/tablist/tablist.styles.js.map +1 -1
  106. package/dist/esm/text/text.js +1 -66
  107. package/dist/esm/text/text.js.map +1 -1
  108. package/dist/esm/text/text.styles.js +26 -27
  109. package/dist/esm/text/text.styles.js.map +1 -1
  110. package/dist/esm/text-input/text-input.js +0 -18
  111. package/dist/esm/text-input/text-input.js.map +1 -1
  112. package/dist/esm/text-input/text-input.styles.js +22 -23
  113. package/dist/esm/text-input/text-input.styles.js.map +1 -1
  114. package/dist/esm/textarea/textarea.js +1 -29
  115. package/dist/esm/textarea/textarea.js.map +1 -1
  116. package/dist/esm/textarea/textarea.styles.js +14 -14
  117. package/dist/esm/textarea/textarea.styles.js.map +1 -1
  118. package/dist/esm/toggle-button/toggle-button.styles.js +19 -20
  119. package/dist/esm/toggle-button/toggle-button.styles.js.map +1 -1
  120. package/dist/esm/tree-item/tree-item.js +1 -1
  121. package/dist/esm/tree-item/tree-item.js.map +1 -1
  122. package/dist/esm/tree-item/tree-item.styles.js.map +1 -1
  123. package/dist/esm/tree-item/tree-item.template.js +1 -1
  124. package/dist/esm/tree-item/tree-item.template.js.map +1 -1
  125. package/dist/web-components.d.ts +13 -363
  126. package/dist/web-components.js +178 -987
  127. package/dist/web-components.min.js +357 -354
  128. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,12 +1,22 @@
1
1
  # Change Log - @fluentui/web-components
2
2
 
3
- This log was last generated on Wed, 09 Apr 2025 04:06:30 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 10 Apr 2025 04:07:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [3.0.0-beta.90](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.90)
8
+
9
+ Thu, 10 Apr 2025 04:07:08 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.89..@fluentui/web-components_v3.0.0-beta.90)
11
+
12
+ ### Changes
13
+
14
+ - feat: remove use of custom states for presentational styling ([PR #34168](https://github.com/microsoft/fluentui/pull/34168) by 13071055+chrisdholt@users.noreply.github.com)
15
+ - fix typo in avatar styles for beige color ([PR #34221](https://github.com/microsoft/fluentui/pull/34221) by 13071055+chrisdholt@users.noreply.github.com)
16
+
7
17
  ## [3.0.0-beta.89](https://github.com/microsoft/fluentui/tree/@fluentui/web-components_v3.0.0-beta.89)
8
18
 
9
- Wed, 09 Apr 2025 04:06:30 GMT
19
+ Wed, 09 Apr 2025 04:06:41 GMT
10
20
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/web-components_v3.0.0-beta.88..@fluentui/web-components_v3.0.0-beta.89)
11
21
 
12
22
  ### Changes
@@ -36,12 +36,6 @@ export declare class BaseAccordionItem extends FASTElement {
36
36
  * HTML attribute: expanded
37
37
  */
38
38
  expanded: boolean;
39
- /**
40
- * Handles expanded changes
41
- * @param prev - previous value
42
- * @param next - next value
43
- */
44
- expandedChanged(prev: boolean, next: boolean): void;
45
39
  /**
46
40
  * Disables an accordion item
47
41
  *
@@ -50,12 +44,6 @@ export declare class BaseAccordionItem extends FASTElement {
50
44
  * HTML attribute: disabled
51
45
  */
52
46
  disabled: boolean;
53
- /**
54
- * Handles disabled changes
55
- * @param prev - previous value
56
- * @param next - next value
57
- */
58
- disabledChanged(prev: boolean, next: boolean): void;
59
47
  /**
60
48
  * The item ID
61
49
  *
@@ -26,12 +26,6 @@ export declare class AccordionItem extends BaseAccordionItem {
26
26
  * HTML Attribute: size
27
27
  */
28
28
  size?: AccordionItemSize;
29
- /**
30
- * Handles changes to size attribute
31
- * @param prev - previous value
32
- * @param next - next value
33
- */
34
- sizeChanged(prev: AccordionItemSize | undefined, next: AccordionItemSize | undefined): void;
35
29
  /**
36
30
  * Sets expand and collapsed icon position.
37
31
  *
@@ -40,12 +34,6 @@ export declare class AccordionItem extends BaseAccordionItem {
40
34
  * HTML Attribute: marker-position
41
35
  */
42
36
  markerPosition?: AccordionItemMarkerPosition;
43
- /**
44
- * Handles changes to marker-position attribute
45
- * @param prev - previous value
46
- * @param next - next value
47
- */
48
- markerPositionChanged(prev: AccordionItemMarkerPosition | undefined, next: AccordionItemMarkerPosition | undefined): void;
49
37
  /**
50
38
  * Sets the width of the focus state.
51
39
  *
@@ -54,12 +42,6 @@ export declare class AccordionItem extends BaseAccordionItem {
54
42
  * HTML Attribute: block
55
43
  */
56
44
  block: boolean;
57
- /**
58
- * Handles changes to block attribute
59
- * @param prev - previous value
60
- * @param next - next value
61
- */
62
- blockChanged(prev: boolean, next: boolean): void;
63
45
  }
64
46
  /**
65
47
  * Mark internal because exporting class and interface of the same name
@@ -1,5 +1,4 @@
1
1
  import { FASTElement } from '@microsoft/fast-element';
2
- import { type AvatarActive } from './avatar.options.js';
3
2
  /**
4
3
  * The base class used for constructing a fluent-avatar custom element
5
4
  * @public
@@ -27,16 +26,5 @@ export declare class BaseAvatar extends FASTElement {
27
26
  * HTML Attribute: name
28
27
  */
29
28
  initials?: string | undefined;
30
- /**
31
- * Optional activity indicator
32
- * * active: the avatar will be decorated according to activeAppearance
33
- * * inactive: the avatar will be reduced in size and partially transparent
34
- * * undefined: normal display
35
- *
36
- * @public
37
- * @remarks
38
- * HTML Attribute: active
39
- */
40
- active?: AvatarActive | undefined;
41
29
  constructor();
42
30
  }
@@ -1,5 +1,5 @@
1
1
  import { BaseAvatar } from './avatar.base.js';
2
- import { type AvatarAppearance, AvatarColor, AvatarNamedColor, type AvatarShape, type AvatarSize } from './avatar.options.js';
2
+ import { type AvatarActive, type AvatarAppearance, AvatarColor, AvatarNamedColor, type AvatarShape, type AvatarSize } from './avatar.options.js';
3
3
  /**
4
4
  * An Avatar Custom HTML Element.
5
5
  * Based on BaseAvatar and includes style and layout specific attributes
@@ -7,6 +7,17 @@ import { type AvatarAppearance, AvatarColor, AvatarNamedColor, type AvatarShape,
7
7
  * @public
8
8
  */
9
9
  export declare class Avatar extends BaseAvatar {
10
+ /**
11
+ * Optional activity indicator
12
+ * * active: the avatar will be decorated according to activeAppearance
13
+ * * inactive: the avatar will be reduced in size and partially transparent
14
+ * * undefined: normal display
15
+ *
16
+ * @public
17
+ * @remarks
18
+ * HTML Attribute: active
19
+ */
20
+ active?: AvatarActive | undefined;
10
21
  /**
11
22
  * The avatar can have a circular or square shape.
12
23
  *
@@ -79,7 +90,7 @@ export declare class Avatar extends BaseAvatar {
79
90
  /**
80
91
  * An array of the available Avatar named colors
81
92
  */
82
- static colors: ("anchor" | "beige" | "blue" | "brass" | "brown" | "cornflower" | "cranberry" | "dark-green" | "dark-red" | "forest" | "gold" | "grape" | "lavender" | "light-teal" | "lilac" | "magenta" | "marigold" | "mink" | "navy" | "peach" | "pink" | "platinum" | "plum" | "pumpkin" | "purple" | "red" | "royal-blue" | "seafoam" | "steel" | "teal")[];
93
+ static colors: ("anchor" | "dark-red" | "cranberry" | "red" | "pumpkin" | "peach" | "marigold" | "gold" | "brass" | "brown" | "forest" | "seafoam" | "dark-green" | "light-teal" | "teal" | "steel" | "blue" | "royal-blue" | "cornflower" | "navy" | "lavender" | "purple" | "grape" | "lilac" | "pink" | "magenta" | "plum" | "beige" | "mink" | "platinum")[];
83
94
  connectedCallback(): void;
84
95
  disconnectedCallback(): void;
85
96
  }
@@ -6,12 +6,6 @@ import { BadgeAppearance, BadgeColor, BadgeShape, BadgeSize } from './badge.opti
6
6
  * @public
7
7
  */
8
8
  export declare class Badge extends FASTElement {
9
- /**
10
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
11
- *
12
- * @internal
13
- */
14
- elementInternals: ElementInternals;
15
9
  /**
16
10
  * The appearance the badge should have.
17
11
  *
@@ -20,12 +14,6 @@ export declare class Badge extends FASTElement {
20
14
  * HTML Attribute: appearance
21
15
  */
22
16
  appearance: BadgeAppearance;
23
- /**
24
- * Handles changes to appearance attribute custom states
25
- * @param prev - the previous state
26
- * @param next - the next state
27
- */
28
- appearanceChanged(prev: BadgeAppearance | undefined, next: BadgeAppearance | undefined): void;
29
17
  /**
30
18
  * The color the badge should have.
31
19
  *
@@ -34,12 +22,6 @@ export declare class Badge extends FASTElement {
34
22
  * HTML Attribute: color
35
23
  */
36
24
  color: BadgeColor;
37
- /**
38
- * Handles changes to color attribute custom states
39
- * @param prev - the previous state
40
- * @param next - the next state
41
- */
42
- colorChanged(prev: BadgeColor | undefined, next: BadgeColor | undefined): void;
43
25
  /**
44
26
  * The shape the badge should have.
45
27
  *
@@ -48,12 +30,6 @@ export declare class Badge extends FASTElement {
48
30
  * HTML Attribute: shape
49
31
  */
50
32
  shape?: BadgeShape;
51
- /**
52
- * Handles changes to shape attribute custom states
53
- * @param prev - the previous state
54
- * @param next - the next state
55
- */
56
- shapeChanged(prev: BadgeShape | undefined, next: BadgeShape | undefined): void;
57
33
  /**
58
34
  * The size the badge should have.
59
35
  *
@@ -62,12 +38,6 @@ export declare class Badge extends FASTElement {
62
38
  * HTML Attribute: size
63
39
  */
64
40
  size?: BadgeSize;
65
- /**
66
- * Handles changes to size attribute custom states
67
- * @param prev - the previous state
68
- * @param next - the next state
69
- */
70
- sizeChanged(prev: BadgeSize | undefined, next: BadgeSize | undefined): void;
71
41
  }
72
42
  /**
73
43
  * Mark internal because exporting class and interface of the same name
@@ -16,12 +16,6 @@ export declare class Button extends BaseButton {
16
16
  * HTML Attribute: `appearance`
17
17
  */
18
18
  appearance?: ButtonAppearance;
19
- /**
20
- * Handles changes to appearance attribute custom states
21
- * @param prev - the previous state
22
- * @param next - the next state
23
- */
24
- appearanceChanged(prev: ButtonAppearance | undefined, next: ButtonAppearance | undefined): void;
25
19
  /**
26
20
  * The shape of the button.
27
21
  *
@@ -30,12 +24,6 @@ export declare class Button extends BaseButton {
30
24
  * HTML Attribute: `shape`
31
25
  */
32
26
  shape?: ButtonShape;
33
- /**
34
- * Handles changes to shape attribute custom states
35
- * @param prev - the previous state
36
- * @param next - the next state
37
- */
38
- shapeChanged(prev: ButtonShape | undefined, next: ButtonShape | undefined): void;
39
27
  /**
40
28
  * The size of the button.
41
29
  *
@@ -44,12 +32,6 @@ export declare class Button extends BaseButton {
44
32
  * HTML Attribute: `size`
45
33
  */
46
34
  size?: ButtonSize;
47
- /**
48
- * Handles changes to size attribute custom states
49
- * @param prev - the previous state
50
- * @param next - the next state
51
- */
52
- sizeChanged(prev: ButtonSize | undefined, next: ButtonSize | undefined): void;
53
35
  /**
54
36
  * Indicates that the button should only display as an icon with no text content.
55
37
  *
@@ -58,12 +40,6 @@ export declare class Button extends BaseButton {
58
40
  * HTML Attribute: `icon-only`
59
41
  */
60
42
  iconOnly: boolean;
61
- /**
62
- * Handles changes to icon only custom states
63
- * @param prev - the previous state
64
- * @param next - the next state
65
- */
66
- iconOnlyChanged(prev: boolean, next: boolean): void;
67
43
  }
68
44
  /**
69
45
  * @internal
@@ -34,14 +34,6 @@ export declare class Checkbox extends BaseCheckbox {
34
34
  * HTML Attribute: `shape`
35
35
  */
36
36
  shape?: CheckboxShape;
37
- /**
38
- * Applies shape states when the `shape` property changes.
39
- *
40
- * @param prev - the previous shape value
41
- * @param next - the next shape value
42
- * @internal
43
- */
44
- protected shapeChanged(prev: CheckboxShape | undefined, next: CheckboxShape | undefined): void;
45
37
  /**
46
38
  * Indicates the size of the control.
47
39
  *
@@ -50,14 +42,6 @@ export declare class Checkbox extends BaseCheckbox {
50
42
  * HTML Attribute: `size`
51
43
  */
52
44
  size?: CheckboxSize;
53
- /**
54
- * Applies size states when the `size` property changes.
55
- *
56
- * @param prev - the previous state
57
- * @param next - the next state
58
- * @internal
59
- */
60
- protected sizeChanged(prev: CheckboxSize | undefined, next: CheckboxSize | undefined): void;
61
45
  constructor();
62
46
  /**
63
47
  * Sets the ARIA checked state. If the `indeterminate` flag is true, the value will be 'mixed'.
@@ -20,12 +20,6 @@ export declare class CounterBadge extends FASTElement {
20
20
  * HTML Attribute: appearance
21
21
  */
22
22
  appearance?: CounterBadgeAppearance;
23
- /**
24
- * Handles changes to appearance attribute custom states
25
- * @param prev - the previous state
26
- * @param next - the next state
27
- */
28
- appearanceChanged(prev: CounterBadgeAppearance | undefined, next: CounterBadgeAppearance | undefined): void;
29
23
  /**
30
24
  * The color the badge should have.
31
25
  *
@@ -34,12 +28,6 @@ export declare class CounterBadge extends FASTElement {
34
28
  * HTML Attribute: color
35
29
  */
36
30
  color?: CounterBadgeColor;
37
- /**
38
- * Handles changes to color attribute custom states
39
- * @param prev - the previous state
40
- * @param next - the next state
41
- */
42
- colorChanged(prev: CounterBadgeColor | undefined, next: CounterBadgeColor | undefined): void;
43
31
  /**
44
32
  * The shape the badge should have.
45
33
  *
@@ -48,12 +36,6 @@ export declare class CounterBadge extends FASTElement {
48
36
  * HTML Attribute: shape
49
37
  */
50
38
  shape?: CounterBadgeShape;
51
- /**
52
- * Handles changes to shape attribute custom states
53
- * @param prev - the previous state
54
- * @param next - the next state
55
- */
56
- shapeChanged(prev: CounterBadgeShape | undefined, next: CounterBadgeShape | undefined): void;
57
39
  /**
58
40
  * The size the badge should have.
59
41
  *
@@ -62,12 +44,6 @@ export declare class CounterBadge extends FASTElement {
62
44
  * HTML Attribute: size
63
45
  */
64
46
  size?: CounterBadgeSize;
65
- /**
66
- * Handles changes to size attribute custom states
67
- * @param prev - the previous state
68
- * @param next - the next state
69
- */
70
- sizeChanged(prev: CounterBadgeSize | undefined, next: CounterBadgeSize | undefined): void;
71
47
  /**
72
48
  * The count the badge should have.
73
49
  *
@@ -102,12 +78,6 @@ export declare class CounterBadge extends FASTElement {
102
78
  * HTML Attribute: dot
103
79
  */
104
80
  dot: boolean;
105
- /**
106
- * Handles changes to dot attribute custom states
107
- * @param prev - the previous state
108
- * @param next - the next state
109
- */
110
- dotChanged(prev: boolean | undefined, next: boolean | undefined): void;
111
81
  /**
112
82
  * @internal
113
83
  * Function to set the count
@@ -13,34 +13,16 @@ export declare class Divider extends BaseDivider {
13
13
  * Determines the alignment of the content within the divider. Select from start or end. When not specified, the content will be aligned to the center.
14
14
  */
15
15
  alignContent?: DividerAlignContent;
16
- /**
17
- * Handles changes to align-content attribute custom states
18
- * @param prev - the previous state
19
- * @param next - the next state
20
- */
21
- alignContentChanged(prev: DividerAlignContent | undefined, next: DividerAlignContent | undefined): void;
22
16
  /**
23
17
  * @public
24
18
  * @remarks
25
19
  * A divider can have one of the preset appearances. Select from strong, brand, subtle. When not specified, the divider has its default appearance.
26
20
  */
27
21
  appearance?: DividerAppearance;
28
- /**
29
- * Handles changes to appearance attribute custom states
30
- * @param prev - the previous state
31
- * @param next - the next state
32
- */
33
- appearanceChanged(prev: DividerAppearance | undefined, next: DividerAppearance | undefined): void;
34
22
  /**
35
23
  * @public
36
24
  * @remarks
37
25
  * Adds padding to the beginning and end of the divider.
38
26
  */
39
27
  inset?: boolean;
40
- /**
41
- * Handles changes to inset custom states
42
- * @param prev - the previous state
43
- * @param next - the next state
44
- */
45
- insetChanged(prev: boolean, next: boolean): void;
46
28
  }
@@ -18,14 +18,6 @@ export declare class Dropdown extends BaseDropdown {
18
18
  * HTML Attribute: `appearance`
19
19
  */
20
20
  appearance: DropdownAppearance;
21
- /**
22
- * Swaps appearance states when the appearance property changes.
23
- *
24
- * @param prev - the previous appearance state
25
- * @param next - the current appearance state
26
- * @internal
27
- */
28
- appearanceChanged(prev: DropdownAppearance | undefined, next: DropdownAppearance | undefined): void;
29
21
  /**
30
22
  * The size of the dropdown.
31
23
  * @public
@@ -33,12 +25,4 @@ export declare class Dropdown extends BaseDropdown {
33
25
  * HTML Attribute: `size`
34
26
  */
35
27
  size?: DropdownSize;
36
- /**
37
- * Swaps size states when the size property changes.
38
- *
39
- * @param prev - the previous size state
40
- * @param next - the current size state
41
- * @internal
42
- */
43
- sizeChanged(prev: DropdownSize | undefined, next: DropdownSize | undefined): void;
44
28
  }
@@ -5,12 +5,6 @@ import { ImageFit, ImageShape } from './image.options.js';
5
5
  * @public
6
6
  */
7
7
  export declare class Image extends FASTElement {
8
- /**
9
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
10
- *
11
- * @internal
12
- */
13
- elementInternals: ElementInternals;
14
8
  /**
15
9
  * Image layout
16
10
  *
@@ -19,12 +13,6 @@ export declare class Image extends FASTElement {
19
13
  * HTML attribute: block.
20
14
  */
21
15
  block?: boolean;
22
- /**
23
- * Handles changes to block custom states
24
- * @param prev - the previous state
25
- * @param next - the next state
26
- */
27
- blockChanged(prev: boolean, next: boolean): void;
28
16
  /**
29
17
  * Image border
30
18
  *
@@ -33,12 +21,6 @@ export declare class Image extends FASTElement {
33
21
  * HTML attribute: border.
34
22
  */
35
23
  bordered?: boolean;
36
- /**
37
- * Handles changes to bordered custom states
38
- * @param prev - the previous state
39
- * @param next - the next state
40
- */
41
- borderedChanged(prev: boolean, next: boolean): void;
42
24
  /**
43
25
  * Image shadow
44
26
  *
@@ -47,12 +29,6 @@ export declare class Image extends FASTElement {
47
29
  * HTML attribute: shadow.
48
30
  */
49
31
  shadow?: boolean;
50
- /**
51
- * Handles changes to shadow custom states
52
- * @param prev - the previous state
53
- * @param next - the next state
54
- */
55
- shadowChanged(prev: boolean, next: boolean): void;
56
32
  /**
57
33
  * Image fit
58
34
  *
@@ -61,12 +37,6 @@ export declare class Image extends FASTElement {
61
37
  * HTML attribute: fit.
62
38
  */
63
39
  fit?: ImageFit;
64
- /**
65
- * Handles changes to fit attribute custom states
66
- * @param prev - the previous state
67
- * @param next - the next state
68
- */
69
- fitChanged(prev: ImageFit | undefined, next: ImageFit | undefined): void;
70
40
  /**
71
41
  * Image shape
72
42
  *
@@ -75,10 +45,4 @@ export declare class Image extends FASTElement {
75
45
  * HTML attribute: shape.
76
46
  */
77
47
  shape?: ImageShape;
78
- /**
79
- * Handles changes to shape attribute custom states
80
- * @param prev - the previous state
81
- * @param next - the next state
82
- */
83
- shapeChanged(prev: ImageShape | undefined, next: ImageShape | undefined): void;
84
48
  }
@@ -5,12 +5,6 @@ import { LabelSize, LabelWeight } from './label.options.js';
5
5
  * @public
6
6
  */
7
7
  export declare class Label extends FASTElement {
8
- /**
9
- * The internal {@link https://developer.mozilla.org/docs/Web/API/ElementInternals | `ElementInternals`} instance for the component.
10
- *
11
- * @internal
12
- */
13
- elementInternals: ElementInternals;
14
8
  /**
15
9
  * Specifies font size of a label
16
10
  *
@@ -19,12 +13,6 @@ export declare class Label extends FASTElement {
19
13
  * HTML Attribute: size
20
14
  */
21
15
  size?: LabelSize;
22
- /**
23
- * Handles changes to size attribute custom states
24
- * @param prev - the previous state
25
- * @param next - the next state
26
- */
27
- sizeChanged(prev: LabelSize | undefined, next: LabelSize | undefined): void;
28
16
  /**
29
17
  * Specifies font weight of a label
30
18
  *
@@ -33,12 +21,6 @@ export declare class Label extends FASTElement {
33
21
  * HTML Attribute: weight
34
22
  */
35
23
  weight?: LabelWeight;
36
- /**
37
- * Handles changes to weight attribute custom states
38
- * @param prev - the previous state
39
- * @param next - the next state
40
- */
41
- weightChanged(prev: LabelWeight | undefined, next: LabelWeight | undefined): void;
42
24
  /**
43
25
  * Specifies styles for label when associated input is disabled
44
26
  *
@@ -47,12 +29,6 @@ export declare class Label extends FASTElement {
47
29
  * HTML Attribute: disabled
48
30
  */
49
31
  disabled: boolean;
50
- /**
51
- * Handles changes to disabled attribute custom states
52
- * @param prev - the previous state
53
- * @param next - the next state
54
- */
55
- disabledChanged(prev: boolean | undefined, next: boolean | undefined): void;
56
32
  /**
57
33
  * Specifies styles for label when associated input is a required field
58
34
  *
@@ -19,12 +19,6 @@ export declare class Link extends BaseAnchor {
19
19
  * HTML Attribute: `appearance`
20
20
  */
21
21
  appearance?: LinkAppearance | undefined;
22
- /**
23
- * Handles changes to appearance attribute custom states
24
- * @param prev - the previous state
25
- * @param next - the next state
26
- */
27
- appearanceChanged(prev: LinkAppearance | undefined, next: LinkAppearance | undefined): void;
28
22
  /**
29
23
  * The link is inline with text
30
24
  * In chromium browsers, if the link is contained within a semantic
@@ -36,10 +30,4 @@ export declare class Link extends BaseAnchor {
36
30
  * HTML Attribute: `inline`
37
31
  */
38
32
  inline: boolean;
39
- /**
40
- * Handles changes to inline attribute custom states
41
- * @param prev - the previous state
42
- * @param next - the next state
43
- */
44
- inlineChanged(prev: boolean, next: boolean): void;
45
33
  }
@@ -24,12 +24,6 @@ export declare class MessageBar extends FASTElement {
24
24
  * HTML Attribute: `shape`
25
25
  */
26
26
  shape?: MessageBarShape;
27
- /**
28
- * Handles changes to shape attribute custom states
29
- * @param prev - the previous state
30
- * @param next - the next state
31
- */
32
- shapeChanged(prev: MessageBarShape | undefined, next: MessageBarShape | undefined): void;
33
27
  /**
34
28
  * Sets the layout of the control.
35
29
  *
@@ -38,12 +32,6 @@ export declare class MessageBar extends FASTElement {
38
32
  * HTML Attribute: `layout`
39
33
  */
40
34
  layout?: MessageBarLayout;
41
- /**
42
- * Handles changes to the layout attribute custom states
43
- * @param prev - the previous state
44
- * @param next - the next state
45
- */
46
- layoutChanged(prev: MessageBarLayout | undefined, next: MessageBarLayout | undefined): void;
47
35
  /**
48
36
  * Sets the intent of the control.
49
37
  *
@@ -52,12 +40,6 @@ export declare class MessageBar extends FASTElement {
52
40
  * HTML Attribute: `intent`
53
41
  */
54
42
  intent?: MessageBarIntent;
55
- /**
56
- * Handles changes to the intent attribute custom states
57
- * @param prev - the previous state
58
- * @param next - the next state
59
- */
60
- intentChanged(prev: MessageBarIntent | undefined, next: MessageBarIntent | undefined): void;
61
43
  /**
62
44
  * @public
63
45
  * Method to emit a `dismiss` event when the message bar is dismissed
@@ -14,22 +14,10 @@ export declare class ProgressBar extends BaseProgressBar {
14
14
  * HTML Attribute: `thickness`
15
15
  */
16
16
  thickness?: ProgressBarThickness;
17
- /**
18
- * Handles changes to thickness attribute custom states
19
- * @param prev - the previous state
20
- * @param next - the next state
21
- */
22
- thicknessChanged(prev: ProgressBarThickness | undefined, next: ProgressBarThickness | undefined): void;
23
17
  /**
24
18
  * The shape of the progress bar
25
19
  * @public
26
20
  * HTML Attribute: `shape`
27
21
  */
28
22
  shape?: ProgressBarShape;
29
- /**
30
- * Handles changes to shape attribute custom states
31
- * @param prev - the previous state
32
- * @param next - the next state
33
- */
34
- shapeChanged(prev: ProgressBarShape | undefined, next: ProgressBarShape | undefined): void;
35
23
  }
@@ -16,13 +16,6 @@ export declare class RatingDisplay extends BaseRatingDisplay {
16
16
  * HTML Attribute: `color`
17
17
  */
18
18
  color?: RatingDisplayColor;
19
- /**
20
- * Handles changes to the color attribute.
21
- *
22
- * @param prev - The previous state
23
- * @param next - The next state
24
- */
25
- colorChanged(prev: RatingDisplayColor | undefined, next: RatingDisplayColor | undefined): void;
26
19
  /**
27
20
  * The size of the component.
28
21
  *
@@ -32,13 +25,6 @@ export declare class RatingDisplay extends BaseRatingDisplay {
32
25
  * HTML Attribute: `size`
33
26
  */
34
27
  size?: RatingDisplaySize;
35
- /**
36
- * Handles changes to the size attribute.
37
- *
38
- * @param prev - The previous state
39
- * @param next - The next state
40
- */
41
- sizeChanged(prev: RatingDisplaySize | undefined, next: RatingDisplaySize | undefined): void;
42
28
  /**
43
29
  * Renders a single filled icon with a label next to it.
44
30
  *
@@ -38,7 +38,6 @@ export declare class Slider extends FASTElement implements SliderConfiguration {
38
38
  * HTML Attribute: size
39
39
  */
40
40
  size?: SliderSize;
41
- protected sizeChanged(prev: SliderSize | undefined, next: SliderSize | undefined): void;
42
41
  handleChange(_: any, propertyName: string): void;
43
42
  private stepStyles?;
44
43
  /**