@okta/odyssey-react-mui 0.14.1

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 (105) hide show
  1. package/.browserslistrc +1 -0
  2. package/.eslintrc.cjs +18 -0
  3. package/CHANGELOG.md +10 -0
  4. package/LICENSE +187 -0
  5. package/README.md +64 -0
  6. package/babel.config.cjs +91 -0
  7. package/dist/components/Link/Link.d.ts +18 -0
  8. package/dist/components/Link/Link.d.ts.map +1 -0
  9. package/dist/components/Link/Link.js +36 -0
  10. package/dist/components/Link/Link.js.map +1 -0
  11. package/dist/components/Link/index.d.ts +13 -0
  12. package/dist/components/Link/index.d.ts.map +1 -0
  13. package/dist/components/Link/index.js +13 -0
  14. package/dist/components/Link/index.js.map +1 -0
  15. package/dist/components/PasswordInput/PasswordInput.d.ts +22 -0
  16. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -0
  17. package/dist/components/PasswordInput/PasswordInput.js +83 -0
  18. package/dist/components/PasswordInput/PasswordInput.js.map +1 -0
  19. package/dist/components/PasswordInput/index.d.ts +13 -0
  20. package/dist/components/PasswordInput/index.d.ts.map +1 -0
  21. package/dist/components/PasswordInput/index.js +13 -0
  22. package/dist/components/PasswordInput/index.js.map +1 -0
  23. package/dist/components/index.d.ts +14 -0
  24. package/dist/components/index.d.ts.map +1 -0
  25. package/dist/components/index.js +14 -0
  26. package/dist/components/index.js.map +1 -0
  27. package/dist/index.d.ts +14 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +14 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/themes/index.d.ts +13 -0
  32. package/dist/themes/index.d.ts.map +1 -0
  33. package/dist/themes/index.js +13 -0
  34. package/dist/themes/index.js.map +1 -0
  35. package/dist/themes/odyssey/components.d.ts +14 -0
  36. package/dist/themes/odyssey/components.d.ts.map +1 -0
  37. package/dist/themes/odyssey/components.js +303 -0
  38. package/dist/themes/odyssey/components.js.map +1 -0
  39. package/dist/themes/odyssey/components.types.d.ts +75 -0
  40. package/dist/themes/odyssey/components.types.d.ts.map +1 -0
  41. package/dist/themes/odyssey/components.types.js +13 -0
  42. package/dist/themes/odyssey/components.types.js.map +1 -0
  43. package/dist/themes/odyssey/index.d.ts +13 -0
  44. package/dist/themes/odyssey/index.d.ts.map +1 -0
  45. package/dist/themes/odyssey/index.js +13 -0
  46. package/dist/themes/odyssey/index.js.map +1 -0
  47. package/dist/themes/odyssey/palette.d.ts +14 -0
  48. package/dist/themes/odyssey/palette.d.ts.map +1 -0
  49. package/dist/themes/odyssey/palette.js +94 -0
  50. package/dist/themes/odyssey/palette.js.map +1 -0
  51. package/dist/themes/odyssey/shape.d.ts +14 -0
  52. package/dist/themes/odyssey/shape.d.ts.map +1 -0
  53. package/dist/themes/odyssey/shape.js +16 -0
  54. package/dist/themes/odyssey/shape.js.map +1 -0
  55. package/dist/themes/odyssey/spacing.d.ts +14 -0
  56. package/dist/themes/odyssey/spacing.d.ts.map +1 -0
  57. package/dist/themes/odyssey/spacing.js +14 -0
  58. package/dist/themes/odyssey/spacing.js.map +1 -0
  59. package/dist/themes/odyssey/theme.d.ts +15 -0
  60. package/dist/themes/odyssey/theme.d.ts.map +1 -0
  61. package/dist/themes/odyssey/theme.js +27 -0
  62. package/dist/themes/odyssey/theme.js.map +1 -0
  63. package/dist/themes/odyssey/typography.d.ts +14 -0
  64. package/dist/themes/odyssey/typography.d.ts.map +1 -0
  65. package/dist/themes/odyssey/typography.js +90 -0
  66. package/dist/themes/odyssey/typography.js.map +1 -0
  67. package/dist/themes/odyssey/typography.types.d.ts +34 -0
  68. package/dist/themes/odyssey/typography.types.d.ts.map +1 -0
  69. package/dist/themes/odyssey/typography.types.js +2 -0
  70. package/dist/themes/odyssey/typography.types.js.map +1 -0
  71. package/dist/utils/index.d.ts +13 -0
  72. package/dist/utils/index.d.ts.map +1 -0
  73. package/dist/utils/index.js +13 -0
  74. package/dist/utils/index.js.map +1 -0
  75. package/dist/utils/oid.d.ts +15 -0
  76. package/dist/utils/oid.d.ts.map +1 -0
  77. package/dist/utils/oid.js +20 -0
  78. package/dist/utils/oid.js.map +1 -0
  79. package/jest.config.cjs +15 -0
  80. package/jest.setup.js +15 -0
  81. package/package.json +32 -0
  82. package/src/components/Link/Link.tsx +44 -0
  83. package/src/components/Link/index.tsx +13 -0
  84. package/src/components/PasswordInput/PasswordInput.test.tsx +51 -0
  85. package/src/components/PasswordInput/PasswordInput.tsx +111 -0
  86. package/src/components/PasswordInput/index.ts +13 -0
  87. package/src/components/index.ts +14 -0
  88. package/src/index.ts +14 -0
  89. package/src/themes/index.ts +13 -0
  90. package/src/themes/odyssey/components.ts +321 -0
  91. package/src/themes/odyssey/components.types.ts +78 -0
  92. package/src/themes/odyssey/index.ts +13 -0
  93. package/src/themes/odyssey/palette.ts +100 -0
  94. package/src/themes/odyssey/shape.ts +18 -0
  95. package/src/themes/odyssey/spacing.ts +27 -0
  96. package/src/themes/odyssey/theme.ts +29 -0
  97. package/src/themes/odyssey/typography.ts +92 -0
  98. package/src/themes/odyssey/typography.types.ts +36 -0
  99. package/src/utils/index.ts +13 -0
  100. package/src/utils/oid.test.ts +21 -0
  101. package/src/utils/oid.ts +22 -0
  102. package/test/a11yCheck.ts +28 -0
  103. package/test/index.ts +13 -0
  104. package/tsconfig.json +3 -0
  105. package/tsconfig.production.json +7 -0
@@ -0,0 +1,100 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { ThemeOptions } from "@mui/material";
14
+
15
+ export const palette: ThemeOptions["palette"] = {
16
+ mode: "light",
17
+ common: {
18
+ black: "#1d1d21",
19
+ white: "#ffffff",
20
+ },
21
+ primary: {
22
+ light: "#a7b5ec",
23
+ main: "#1662dd",
24
+ dark: "#00297a",
25
+ contrastText: "#ffffff",
26
+ },
27
+ secondary: {
28
+ light: "#80C7CA",
29
+ main: "#2D8C9E",
30
+ dark: "#004650",
31
+ contrastText: "#ffffff",
32
+ },
33
+ error: {
34
+ light: "#f88c90",
35
+ main: "#da372c",
36
+ dark: "#640019",
37
+ contrastText: "#ffffff",
38
+ },
39
+ warning: {
40
+ light: "#f9dc77",
41
+ main: "#ffc61c",
42
+ dark: "#663800",
43
+ contrastText: "#1d1d21",
44
+ },
45
+ info: {
46
+ light: "#a7b5ec",
47
+ main: "#1662dd",
48
+ dark: "#00297a",
49
+ contrastText: "#ffffff",
50
+ },
51
+ success: {
52
+ light: "#84d2b1",
53
+ main: "#00b478",
54
+ dark: "#00503c",
55
+ contrastText: "#ffffff",
56
+ },
57
+ grey: {
58
+ 50: "#f5f5f6",
59
+ 100: "#ebebed",
60
+ 200: "#d7d7dc",
61
+ 300: "#c1c1c8",
62
+ 400: "#aaaab4",
63
+ 500: "#8c8c96",
64
+ 600: "#6e6e78",
65
+ 700: "#585862",
66
+ 800: "#41414b",
67
+ 900: "#1d1d21",
68
+ // These are "Accent" colors. MUI's palette matches them to the standard greys.
69
+ A100: "#ebebed",
70
+ A200: "#d7d7dc",
71
+ A400: "#aaaab4",
72
+ A700: "#585862",
73
+ },
74
+ text: {
75
+ primary: "#1d1d21",
76
+ secondary: "#6e6e78",
77
+ // We do not currently have a unique disabled color.
78
+ disabled: "#6e6e78",
79
+ },
80
+ // Currently mapping this to ColorBorderDisplay.
81
+ divider: "#d7d7dc",
82
+ background: {
83
+ paper: "#ffffff",
84
+ default: "#ffffff",
85
+ },
86
+ action: {
87
+ // We have no equivalents here. It's likely we will update these as their uses are discovered.
88
+ active: "rgba(0, 0, 0, 0.54)",
89
+ hover: "rgba(0, 0, 0, 0.04)",
90
+ hoverOpacity: 0.04,
91
+ selected: "rgba(0, 0, 0, 0.08)",
92
+ selectedOpacity: 0.08,
93
+ disabled: "rgba(0, 0, 0, 0.26)",
94
+ disabledBackground: "rgba(0, 0, 0, 0.12)",
95
+ disabledOpacity: 0.38,
96
+ focus: "rgba(0, 0, 0, 0.12)",
97
+ focusOpacity: 0.12,
98
+ activatedOpacity: 0.12,
99
+ },
100
+ };
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { ThemeOptions } from "@mui/material";
14
+ import * as Tokens from "@okta/odyssey-design-tokens";
15
+
16
+ export const shape: ThemeOptions["shape"] = {
17
+ borderRadius: Tokens.BorderRadiusBase,
18
+ };
@@ -0,0 +1,27 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { ThemeOptions } from "@mui/material";
14
+ import * as Tokens from "@okta/odyssey-design-tokens";
15
+
16
+ export const spacing: ThemeOptions["spacing"] = [
17
+ 0,
18
+ Tokens.SpaceScale0,
19
+ Tokens.SpaceScale1,
20
+ Tokens.SpaceScale2,
21
+ Tokens.SpaceScale3,
22
+ Tokens.SpaceScale4,
23
+ Tokens.SpaceScale5,
24
+ Tokens.SpaceScale6,
25
+ Tokens.SpaceScale7,
26
+ Tokens.SpaceScale8,
27
+ ];
@@ -0,0 +1,29 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { createTheme } from "@mui/material/styles";
14
+
15
+ import { palette } from "./palette";
16
+ import { shape } from "./shape";
17
+ import { spacing } from "./spacing";
18
+ import { typography } from "./typography";
19
+ import "./typography.types";
20
+ import { components } from "./components";
21
+ import "./components.types";
22
+
23
+ export const theme = createTheme({
24
+ palette,
25
+ shape,
26
+ spacing,
27
+ typography,
28
+ components,
29
+ });
@@ -0,0 +1,92 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { ThemeOptions } from "@mui/material";
14
+ import * as Tokens from "@okta/odyssey-design-tokens";
15
+
16
+ export const typography: ThemeOptions["typography"] = {
17
+ htmlFontSize: 16,
18
+ fontFamily: Tokens.FontFamilyBase,
19
+ fontSize: 14,
20
+ fontWeightLight: 300,
21
+ fontWeightRegular: Number(Tokens.FontWeightNormal),
22
+ fontWeightMedium: 500,
23
+ fontWeightBold: Number(Tokens.FontWeightBold),
24
+ h1: {
25
+ fontFamily: Tokens.FontFamilyBase,
26
+ fontWeight: Tokens.FontWeightBold,
27
+ fontSize: Tokens.FontSizeHeading1,
28
+ lineHeight: Tokens.FontLineHeightHeading1,
29
+ letterSpacing: "initial",
30
+ marginBottom: Tokens.SpaceScale1,
31
+ },
32
+ h2: {
33
+ fontFamily: Tokens.FontFamilyBase,
34
+ fontWeight: Tokens.FontWeightBold,
35
+ fontSize: Tokens.FontSizeHeading2,
36
+ lineHeight: Tokens.FontLineHeightHeading2,
37
+ letterSpacing: "initial",
38
+ marginBottom: Tokens.SpaceScale1,
39
+ },
40
+ h3: {
41
+ fontFamily: Tokens.FontFamilyBase,
42
+ fontWeight: Tokens.FontWeightBold,
43
+ fontSize: Tokens.FontSizeHeading3,
44
+ lineHeight: Tokens.FontLineHeightHeading3,
45
+ letterSpacing: "initial",
46
+ marginBottom: Tokens.SpaceScale1,
47
+ },
48
+ h4: {
49
+ fontFamily: Tokens.FontFamilyBase,
50
+ fontWeight: Tokens.FontWeightBold,
51
+ fontSize: Tokens.FontSizeHeading4,
52
+ lineHeight: Tokens.FontLineHeightHeading4,
53
+ letterSpacing: "initial",
54
+ marginBottom: Tokens.SpaceScale1,
55
+ },
56
+ h5: {
57
+ fontFamily: Tokens.FontFamilyBase,
58
+ fontWeight: Tokens.FontWeightBold,
59
+ fontSize: Tokens.FontSizeHeading5,
60
+ lineHeight: Tokens.FontLineHeightHeading5,
61
+ letterSpacing: "initial",
62
+ marginBottom: Tokens.SpaceScale1,
63
+ },
64
+ h6: {
65
+ fontFamily: Tokens.FontFamilyBase,
66
+ fontWeight: Tokens.FontWeightBold,
67
+ fontSize: Tokens.FontScale2,
68
+ lineHeight: Tokens.FontLineHeightHeading6,
69
+ letterSpacing: "initial",
70
+ marginBottom: Tokens.SpaceScale1,
71
+ },
72
+ subtitle1: undefined,
73
+ subtitle2: undefined,
74
+ body: {
75
+ fontFamily: Tokens.FontFamilyBase,
76
+ fontWeight: Number(Tokens.FontWeightNormal),
77
+ fontSize: Tokens.FontScale1,
78
+ lineHeight: Tokens.FontLineHeightBody,
79
+ letterSpacing: "initial",
80
+ },
81
+ body1: undefined,
82
+ body2: undefined,
83
+ button: undefined,
84
+ caption: {
85
+ fontFamily: Tokens.FontFamilyBase,
86
+ fontWeight: Tokens.FontWeightNormal,
87
+ fontSize: Tokens.FontScale0,
88
+ lineHeight: Tokens.FontLineHeightBody,
89
+ letterSpacing: "initial",
90
+ },
91
+ overline: undefined,
92
+ };
@@ -0,0 +1,36 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { CSSProperties } from "react";
14
+
15
+ declare module "@mui/material/styles" {
16
+ interface TypographyVariants {
17
+ body: CSSProperties;
18
+ }
19
+ interface TypographyVariantsOptions {
20
+ body?: CSSProperties;
21
+ }
22
+ }
23
+
24
+ declare module "@mui/material/Typography" {
25
+ interface TypographyPropsVariantOverrides {
26
+ body1: false;
27
+ body2: false;
28
+ body: true;
29
+ button: false;
30
+ overline: false;
31
+ subtitle1: false;
32
+ subtitle2: false;
33
+ default: true; // used by Link
34
+ monochrome: true; // used by Link
35
+ }
36
+ }
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ export { oid, useOid } from "./oid";
@@ -0,0 +1,21 @@
1
+ /*!
2
+ * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { oid, length } from "./oid";
14
+
15
+ describe("oid", () => {
16
+ it("returns a nice id string", () => {
17
+ const result = oid();
18
+ expect(typeof result).toBe("string");
19
+ expect(result).toHaveLength(length);
20
+ });
21
+ });
@@ -0,0 +1,22 @@
1
+ /*!
2
+ * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import { useMemo } from "react";
14
+
15
+ export const length = 6;
16
+
17
+ export const oid = (): string => Math.random().toString(36).slice(-length);
18
+
19
+ export const useOid = (id?: string): string => {
20
+ const _oid = useMemo(oid, [oid]);
21
+ return id || _oid;
22
+ };
@@ -0,0 +1,28 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ import type { RenderResult } from "@testing-library/react";
14
+ // eslint-disable-next-line import/no-extraneous-dependencies
15
+ import { axe } from "jest-axe";
16
+
17
+ export const a11yCheck = (renderFn: () => RenderResult): void => {
18
+ describe("accessibility", () => {
19
+ it("meets WCAG 2.1 AA criteria", async () => {
20
+ const { container } = renderFn();
21
+ const results = await axe(container, {
22
+ runOnly: ["section508", "wcag21a", "wcag21aa"],
23
+ });
24
+
25
+ expect(results).toHaveNoViolations();
26
+ });
27
+ });
28
+ };
package/test/index.ts ADDED
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+
13
+ export * from "./a11yCheck";
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@okta/odyssey-typescript/tsconfig.react.json"
3
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "@okta/odyssey-typescript/tsconfig.react.types.json",
3
+ "compilerOptions": {
4
+ "outDir": "dist"
5
+ },
6
+ "exclude": ["./test", "**/*.test.**", "**/dist/**/*"]
7
+ }