@@ -7,6 +7,9 @@ import SegmentedButtonItemTemplate from "./generated/templates/SegmentedButtonIt
7
7
8
8
import ToggleButton from "./ToggleButton.js" ;
9
9
import ButtonDesign from "./types/ButtonDesign.js" ;
10
+ import ButtonType from "./types/ButtonType.js" ;
11
+ import ButtonAccessibleRole from "./types/ButtonAccessibleRole.js" ;
12
+ import { AccessibilityAttributes } from "./Button.js" ;
10
13
import Icon from "./Icon.js" ;
11
14
12
15
import { SEGMENTEDBUTTONITEM_ARIA_DESCRIPTION } from "./generated/i18n/i18n-defaults.js" ;
@@ -61,6 +64,30 @@ class SegmentedButtonItem extends ToggleButton implements ISegmentedButtonItem {
61
64
@property ( { type : Boolean } )
62
65
declare submits : boolean ;
63
66
67
+ /**
68
+ * **Note:** The property is inherited and not supported. If set, it won't take any effect.
69
+ * @default {}
70
+ * @public
71
+ */
72
+ @property ( { type : Object } )
73
+ declare accessibilityAttributes : AccessibilityAttributes ;
74
+
75
+ /**
76
+ * **Note:** The property is inherited and not supported. If set, it won't take any effect.
77
+ * @default "Button"
78
+ * @public
79
+ */
80
+ @property ( { type : ButtonType , defaultValue : ButtonType . Button } )
81
+ declare type : `${ButtonType } `;
82
+
83
+ /**
84
+ * **Note:** The property is inherited and not supported. If set, it won't take any effect.
85
+ * @default "Button"
86
+ * @public
87
+ */
88
+ @property ( { type : ButtonAccessibleRole , defaultValue : ButtonAccessibleRole . Button } )
89
+ declare accessibleRole : `${ButtonAccessibleRole } `;
90
+
64
91
/**
65
92
* Defines the index of the item inside of the SegmentedButton.
66
93
* @default 0
0 commit comments