@okta/odyssey-react-mui 1.13.8 → 1.13.9
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 +4 -0
- package/dist/Button.js +8 -2
- package/dist/Button.js.map +1 -1
- package/dist/src/Button.d.ts +1 -1
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/Button.tsx +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okta/odyssey-react-mui",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.9",
|
|
4
4
|
"description": "React MUI components for Odyssey, Okta's design system",
|
|
5
5
|
"author": "Okta, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@mui/system": "^5.14.9",
|
|
52
52
|
"@mui/utils": "^5.11.2",
|
|
53
53
|
"@mui/x-date-pickers": "^5.0.15",
|
|
54
|
-
"@okta/odyssey-design-tokens": "1.13.
|
|
54
|
+
"@okta/odyssey-design-tokens": "1.13.9",
|
|
55
55
|
"date-fns": "^2.30.0",
|
|
56
56
|
"i18next": "^23.5.1",
|
|
57
57
|
"material-react-table": "^2.0.2",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"react": ">=17 <19",
|
|
64
64
|
"react-dom": ">=17 <19"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c2ab862795fbdc1c11b7b3bb4118a7ed24600843"
|
|
67
67
|
}
|
package/src/Button.tsx
CHANGED
|
@@ -132,7 +132,10 @@ export type ButtonProps = {
|
|
|
132
132
|
HtmlProps;
|
|
133
133
|
|
|
134
134
|
const Button = ({
|
|
135
|
+
ariaControls,
|
|
135
136
|
ariaDescribedBy,
|
|
137
|
+
ariaExpanded,
|
|
138
|
+
ariaHasPopup,
|
|
136
139
|
ariaLabel,
|
|
137
140
|
ariaLabelledBy,
|
|
138
141
|
buttonRef,
|
|
@@ -177,9 +180,12 @@ const Button = ({
|
|
|
177
180
|
return (
|
|
178
181
|
<MuiButton
|
|
179
182
|
{...muiProps}
|
|
183
|
+
aria-controls={ariaControls}
|
|
184
|
+
aria-describedby={ariaDescribedBy}
|
|
185
|
+
aria-expanded={ariaExpanded}
|
|
186
|
+
aria-haspopup={ariaHasPopup}
|
|
180
187
|
aria-label={ariaLabel}
|
|
181
188
|
aria-labelledby={ariaLabelledBy}
|
|
182
|
-
aria-describedby={ariaDescribedBy}
|
|
183
189
|
data-se={testId}
|
|
184
190
|
disabled={isDisabled}
|
|
185
191
|
endIcon={endIcon}
|
|
@@ -199,7 +205,10 @@ const Button = ({
|
|
|
199
205
|
);
|
|
200
206
|
},
|
|
201
207
|
[
|
|
208
|
+
ariaControls,
|
|
202
209
|
ariaDescribedBy,
|
|
210
|
+
ariaExpanded,
|
|
211
|
+
ariaHasPopup,
|
|
203
212
|
ariaLabel,
|
|
204
213
|
ariaLabelledBy,
|
|
205
214
|
endIcon,
|