@okta/odyssey-react-mui 1.13.1 → 1.13.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okta/odyssey-react-mui",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
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.1",
54
+ "@okta/odyssey-design-tokens": "1.13.2",
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": "be8728a2fcf8943a503d9d5e7e39a7348a970d79"
66
+ "gitHead": "8a55b110963ec05ab28c11147593dd90aa7c17f4"
67
67
  }
@@ -10,12 +10,8 @@
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
12
 
13
- import { FC } from "react";
14
- export interface ForwardRefWithType extends FC<WithForwardRefProps<Option>> {
15
- <T extends Option>(props: WithForwardRefProps<T>): ReturnType<
16
- FC<WithForwardRefProps<T>>
17
- >;
18
- }
13
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
14
+ import React from "react";
19
15
 
20
16
  declare module "react" {
21
17
  type DataAttributeKey = `data-${string}`;
@@ -28,7 +28,6 @@ import { Field } from "./Field";
28
28
  import { FieldComponentProps } from "./FieldComponentProps";
29
29
  import type { HtmlProps } from "./HtmlProps";
30
30
  import { FocusHandle, getControlState, useInputValues } from "./inputUtils";
31
- import { ForwardRefWithType } from "./@types/react-augment";
32
31
 
33
32
  export type NativeSelectOption = {
34
33
  text: string;
@@ -105,7 +104,7 @@ export type NativeSelectProps<
105
104
  > &
106
105
  HtmlProps;
107
106
 
108
- const NativeSelect: ForwardRefWithType = forwardRef(
107
+ const NativeSelect = forwardRef(
109
108
  <
110
109
  Value extends NativeSelectValueType<HasMultipleChoices>,
111
110
  HasMultipleChoices extends boolean
package/src/index.ts CHANGED
@@ -52,7 +52,6 @@ export type {
52
52
  ThemeOptions,
53
53
  } from "@mui/material";
54
54
 
55
- export type { ForwardRefWithType } from "./@types/react-augment";
56
55
  export type { FocusHandle } from "./inputUtils";
57
56
 
58
57
  export { useOdysseyDesignTokens } from "./OdysseyDesignTokensContext";