@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.
- package/.browserslistrc +1 -0
- package/.eslintrc.cjs +18 -0
- package/CHANGELOG.md +10 -0
- package/LICENSE +187 -0
- package/README.md +64 -0
- package/babel.config.cjs +91 -0
- package/dist/components/Link/Link.d.ts +18 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/Link.js +36 -0
- package/dist/components/Link/Link.js.map +1 -0
- package/dist/components/Link/index.d.ts +13 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/Link/index.js +13 -0
- package/dist/components/Link/index.js.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +22 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -0
- package/dist/components/PasswordInput/PasswordInput.js +83 -0
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/components/PasswordInput/index.d.ts +13 -0
- package/dist/components/PasswordInput/index.d.ts.map +1 -0
- package/dist/components/PasswordInput/index.js +13 -0
- package/dist/components/PasswordInput/index.js.map +1 -0
- package/dist/components/index.d.ts +14 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +14 -0
- package/dist/components/index.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/themes/index.d.ts +13 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +13 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/themes/odyssey/components.d.ts +14 -0
- package/dist/themes/odyssey/components.d.ts.map +1 -0
- package/dist/themes/odyssey/components.js +303 -0
- package/dist/themes/odyssey/components.js.map +1 -0
- package/dist/themes/odyssey/components.types.d.ts +75 -0
- package/dist/themes/odyssey/components.types.d.ts.map +1 -0
- package/dist/themes/odyssey/components.types.js +13 -0
- package/dist/themes/odyssey/components.types.js.map +1 -0
- package/dist/themes/odyssey/index.d.ts +13 -0
- package/dist/themes/odyssey/index.d.ts.map +1 -0
- package/dist/themes/odyssey/index.js +13 -0
- package/dist/themes/odyssey/index.js.map +1 -0
- package/dist/themes/odyssey/palette.d.ts +14 -0
- package/dist/themes/odyssey/palette.d.ts.map +1 -0
- package/dist/themes/odyssey/palette.js +94 -0
- package/dist/themes/odyssey/palette.js.map +1 -0
- package/dist/themes/odyssey/shape.d.ts +14 -0
- package/dist/themes/odyssey/shape.d.ts.map +1 -0
- package/dist/themes/odyssey/shape.js +16 -0
- package/dist/themes/odyssey/shape.js.map +1 -0
- package/dist/themes/odyssey/spacing.d.ts +14 -0
- package/dist/themes/odyssey/spacing.d.ts.map +1 -0
- package/dist/themes/odyssey/spacing.js +14 -0
- package/dist/themes/odyssey/spacing.js.map +1 -0
- package/dist/themes/odyssey/theme.d.ts +15 -0
- package/dist/themes/odyssey/theme.d.ts.map +1 -0
- package/dist/themes/odyssey/theme.js +27 -0
- package/dist/themes/odyssey/theme.js.map +1 -0
- package/dist/themes/odyssey/typography.d.ts +14 -0
- package/dist/themes/odyssey/typography.d.ts.map +1 -0
- package/dist/themes/odyssey/typography.js +90 -0
- package/dist/themes/odyssey/typography.js.map +1 -0
- package/dist/themes/odyssey/typography.types.d.ts +34 -0
- package/dist/themes/odyssey/typography.types.d.ts.map +1 -0
- package/dist/themes/odyssey/typography.types.js +2 -0
- package/dist/themes/odyssey/typography.types.js.map +1 -0
- package/dist/utils/index.d.ts +13 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +13 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/oid.d.ts +15 -0
- package/dist/utils/oid.d.ts.map +1 -0
- package/dist/utils/oid.js +20 -0
- package/dist/utils/oid.js.map +1 -0
- package/jest.config.cjs +15 -0
- package/jest.setup.js +15 -0
- package/package.json +32 -0
- package/src/components/Link/Link.tsx +44 -0
- package/src/components/Link/index.tsx +13 -0
- package/src/components/PasswordInput/PasswordInput.test.tsx +51 -0
- package/src/components/PasswordInput/PasswordInput.tsx +111 -0
- package/src/components/PasswordInput/index.ts +13 -0
- package/src/components/index.ts +14 -0
- package/src/index.ts +14 -0
- package/src/themes/index.ts +13 -0
- package/src/themes/odyssey/components.ts +321 -0
- package/src/themes/odyssey/components.types.ts +78 -0
- package/src/themes/odyssey/index.ts +13 -0
- package/src/themes/odyssey/palette.ts +100 -0
- package/src/themes/odyssey/shape.ts +18 -0
- package/src/themes/odyssey/spacing.ts +27 -0
- package/src/themes/odyssey/theme.ts +29 -0
- package/src/themes/odyssey/typography.ts +92 -0
- package/src/themes/odyssey/typography.types.ts +36 -0
- package/src/utils/index.ts +13 -0
- package/src/utils/oid.test.ts +21 -0
- package/src/utils/oid.ts +22 -0
- package/test/a11yCheck.ts +28 -0
- package/test/index.ts +13 -0
- package/tsconfig.json +3 -0
- package/tsconfig.production.json +7 -0
|
@@ -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
|
+
export * from "./PasswordInput";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,iBAAiB,CAAC"}
|
|
@@ -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
|
+
export * from "./PasswordInput.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/PasswordInput/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport * from \"./PasswordInput\";\n"],"file":"index.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./PasswordInput";
|
|
13
|
+
export * from "./Link";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./PasswordInput/index.js";
|
|
13
|
+
export * from "./Link/index.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport * from \"./PasswordInput\";\nexport * from \"./Link\";\n"],"file":"index.js"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./components";
|
|
13
|
+
export * from "./themes";
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export * from "./components/index.js";
|
|
13
|
+
export * from "./themes/index.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport * from \"./components\";\nexport * from \"./themes\";\n"],"file":"index.js"}
|
|
@@ -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
|
+
export * from "./odyssey";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,WAAW,CAAC"}
|
|
@@ -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
|
+
export * from "./odyssey/index.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/themes/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport * from \"./odyssey\";\n"],"file":"index.js"}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
import type { ThemeOptions } from "@mui/material";
|
|
13
|
+
export declare const components: ThemeOptions["components"];
|
|
14
|
+
//# sourceMappingURL=components.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAkTjD,CAAC"}
|
|
@@ -0,0 +1,303 @@
|
|
|
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
|
+
export const components = {
|
|
13
|
+
MuiCssBaseline: {
|
|
14
|
+
styleOverrides: {
|
|
15
|
+
boxSizing: "border-box"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
MuiCircularProgress: {
|
|
19
|
+
defaultProps: {
|
|
20
|
+
size: "1.14285714rem",
|
|
21
|
+
thickness: 8,
|
|
22
|
+
color: "primary",
|
|
23
|
+
disableShrink: false,
|
|
24
|
+
variant: "indeterminate"
|
|
25
|
+
},
|
|
26
|
+
styleOverrides: {
|
|
27
|
+
root: ({
|
|
28
|
+
ownerState
|
|
29
|
+
}) => ({ ...(ownerState.color !== "inherit" && {
|
|
30
|
+
color: "#00297a"
|
|
31
|
+
})
|
|
32
|
+
}),
|
|
33
|
+
circle: ({
|
|
34
|
+
ownerState
|
|
35
|
+
}) => ({ ...(ownerState.variant === "indeterminate" && {
|
|
36
|
+
strokeDasharray: "160%, 360%"
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
MuiFormLabel: {
|
|
42
|
+
styleOverrides: {
|
|
43
|
+
root: {
|
|
44
|
+
color: "#1d1d21",
|
|
45
|
+
lineHeight: "1.42857143",
|
|
46
|
+
fontSize: "1rem",
|
|
47
|
+
fontWeight: 600
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
MuiInputBase: {
|
|
52
|
+
styleOverrides: {
|
|
53
|
+
root: {
|
|
54
|
+
lineHeight: "1.14285714"
|
|
55
|
+
},
|
|
56
|
+
input: {
|
|
57
|
+
boxSizing: "border-box",
|
|
58
|
+
height: "auto"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
MuiTypography: {
|
|
63
|
+
defaultProps: {
|
|
64
|
+
fontFamily: "'Public Sans', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif"
|
|
65
|
+
},
|
|
66
|
+
styleOverrides: {
|
|
67
|
+
paragraph: {
|
|
68
|
+
marginBottom: "1.14285714rem"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
MuiLink: {
|
|
73
|
+
styleOverrides: {
|
|
74
|
+
root: {
|
|
75
|
+
color: "#1662dd",
|
|
76
|
+
textDecoration: "none",
|
|
77
|
+
"&:hover": {
|
|
78
|
+
color: "#1662dd",
|
|
79
|
+
textDecoration: "underline"
|
|
80
|
+
},
|
|
81
|
+
"&:focus-visible": {
|
|
82
|
+
outlineColor: "#1662dd",
|
|
83
|
+
outlineOffset: "2px",
|
|
84
|
+
outlineStyle: "solid",
|
|
85
|
+
outlineWidth: "1px"
|
|
86
|
+
},
|
|
87
|
+
"&:visited": {
|
|
88
|
+
color: "#1662dd"
|
|
89
|
+
},
|
|
90
|
+
".Link-indicator, .Link-icon": {
|
|
91
|
+
display: "inline-block",
|
|
92
|
+
height: "1em",
|
|
93
|
+
lineHeight: 1
|
|
94
|
+
},
|
|
95
|
+
".Link-indicator": {
|
|
96
|
+
marginInlineStart: "0.57142857rem"
|
|
97
|
+
},
|
|
98
|
+
".Link-icon": {
|
|
99
|
+
marginInlineEnd: "0.57142857rem"
|
|
100
|
+
},
|
|
101
|
+
svg: {
|
|
102
|
+
fontSize: "1rem",
|
|
103
|
+
height: "1em",
|
|
104
|
+
position: "relative",
|
|
105
|
+
top: "-0.0625em",
|
|
106
|
+
verticalAlign: "middle",
|
|
107
|
+
width: "1em"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
variants: [{
|
|
112
|
+
props: {
|
|
113
|
+
variant: "monochrome"
|
|
114
|
+
},
|
|
115
|
+
style: {
|
|
116
|
+
color: "#1d1d21",
|
|
117
|
+
textDecoration: "underline",
|
|
118
|
+
"&:hover": {
|
|
119
|
+
color: "#6e6e78"
|
|
120
|
+
},
|
|
121
|
+
"&:focus-visible": {
|
|
122
|
+
outlineColor: "#1662dd",
|
|
123
|
+
outlineOffset: "2px",
|
|
124
|
+
outlineStyle: "solid",
|
|
125
|
+
outlineWidth: "1px"
|
|
126
|
+
},
|
|
127
|
+
"&:visited": {
|
|
128
|
+
color: "#1d1d21"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}]
|
|
132
|
+
},
|
|
133
|
+
MuiButtonBase: {
|
|
134
|
+
defaultProps: {
|
|
135
|
+
disableRipple: true
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
MuiButton: {
|
|
139
|
+
defaultProps: {
|
|
140
|
+
disableElevation: true
|
|
141
|
+
},
|
|
142
|
+
variants: [{
|
|
143
|
+
props: {
|
|
144
|
+
variant: "primary"
|
|
145
|
+
},
|
|
146
|
+
style: {
|
|
147
|
+
fontWeight: 600,
|
|
148
|
+
color: "#ffffff",
|
|
149
|
+
borderColor: "transparent",
|
|
150
|
+
backgroundColor: "#1662dd",
|
|
151
|
+
"&:hover, &:focus-visible": {
|
|
152
|
+
backgroundColor: "#00297a"
|
|
153
|
+
},
|
|
154
|
+
"&:active": {
|
|
155
|
+
backgroundColor: "#1662dd"
|
|
156
|
+
},
|
|
157
|
+
"&:disabled": {
|
|
158
|
+
color: "#ffffff",
|
|
159
|
+
backgroundColor: "#a7b5ec"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}, {
|
|
163
|
+
props: {
|
|
164
|
+
variant: "secondary"
|
|
165
|
+
},
|
|
166
|
+
style: {
|
|
167
|
+
backgroundColor: "#f5f5f6",
|
|
168
|
+
borderColor: "#d7d7dc",
|
|
169
|
+
color: "#1d1d21",
|
|
170
|
+
"&:hover": {
|
|
171
|
+
background: "#f2f5ff",
|
|
172
|
+
borderColor: "#a7b5ec",
|
|
173
|
+
color: "#1662dd"
|
|
174
|
+
},
|
|
175
|
+
"&:focus-visible": {
|
|
176
|
+
backgroundColor: "#1662dd",
|
|
177
|
+
color: "#1662dd"
|
|
178
|
+
},
|
|
179
|
+
"&:active": {
|
|
180
|
+
borderColor: "#1662dd"
|
|
181
|
+
},
|
|
182
|
+
"&:disabled": {
|
|
183
|
+
borderColor: "#ebebed",
|
|
184
|
+
backgroundColor: "#ebebed",
|
|
185
|
+
color: "#8c8c96"
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}, {
|
|
189
|
+
props: {
|
|
190
|
+
variant: "danger"
|
|
191
|
+
},
|
|
192
|
+
style: {
|
|
193
|
+
backgroundColor: "#da372c",
|
|
194
|
+
color: "#ffffff",
|
|
195
|
+
"&:hover": {
|
|
196
|
+
borderColor: "transparent",
|
|
197
|
+
backgroundColor: "#640019"
|
|
198
|
+
},
|
|
199
|
+
"&:focus-visible": {
|
|
200
|
+
outlineColor: "#f88c90",
|
|
201
|
+
backgroundColor: "#640019"
|
|
202
|
+
},
|
|
203
|
+
"&:active": {
|
|
204
|
+
borderColor: "transparent",
|
|
205
|
+
backgroundColor: "#da372c"
|
|
206
|
+
},
|
|
207
|
+
"&:disabled": {
|
|
208
|
+
color: "#ffffff",
|
|
209
|
+
borderColor: "#f88c90",
|
|
210
|
+
backgroundColor: "#f88c90"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}, {
|
|
214
|
+
props: {
|
|
215
|
+
variant: "floating"
|
|
216
|
+
},
|
|
217
|
+
style: {
|
|
218
|
+
backgroundColor: "#ffffff",
|
|
219
|
+
color: "#1d1d21",
|
|
220
|
+
borderColor: "transparent",
|
|
221
|
+
"&:hover, &:focus-visible": {
|
|
222
|
+
backgroundColor: "rgba(29, 29, 33, 0.1)",
|
|
223
|
+
borderColor: "transparent"
|
|
224
|
+
},
|
|
225
|
+
"&:active": {
|
|
226
|
+
backgroundColor: "rgba(29, 29, 33, 0.2)",
|
|
227
|
+
borderColor: "transparent"
|
|
228
|
+
},
|
|
229
|
+
"&:disabled": {
|
|
230
|
+
backgroundColor: "rgba(235, 235, 237, 0.6)",
|
|
231
|
+
color: "#6e6e78",
|
|
232
|
+
borderColor: "transparent"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}, {
|
|
236
|
+
props: {
|
|
237
|
+
size: "s"
|
|
238
|
+
},
|
|
239
|
+
style: {
|
|
240
|
+
paddingBlock: "calc(0.57142857rem - 1px)",
|
|
241
|
+
paddingInline: "calc(0.85714286rem - - 1px)",
|
|
242
|
+
fontSize: "1rem"
|
|
243
|
+
}
|
|
244
|
+
}, {
|
|
245
|
+
props: {
|
|
246
|
+
size: "l"
|
|
247
|
+
},
|
|
248
|
+
style: {
|
|
249
|
+
paddingBlock: "calc(1.14285714rem - 1px)",
|
|
250
|
+
paddingInline: "calc(1.14285714rem - 1px)"
|
|
251
|
+
}
|
|
252
|
+
}, {
|
|
253
|
+
props: {
|
|
254
|
+
fullWidth: true
|
|
255
|
+
},
|
|
256
|
+
style: {
|
|
257
|
+
display: "block",
|
|
258
|
+
width: "100%",
|
|
259
|
+
marginBlock: "0",
|
|
260
|
+
marginInline: "0",
|
|
261
|
+
"&:not(:last-child)": {
|
|
262
|
+
marginBlockEnd: "1.14285714rem"
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}],
|
|
266
|
+
styleOverrides: {
|
|
267
|
+
root: ({
|
|
268
|
+
ownerState
|
|
269
|
+
}) => ({ ...ownerState,
|
|
270
|
+
fontWeight: 600,
|
|
271
|
+
paddingBlock: "0.85714286rem",
|
|
272
|
+
paddingInline: "0.85714286rem",
|
|
273
|
+
display: "inline-block",
|
|
274
|
+
position: "relative",
|
|
275
|
+
marginBlock: "0",
|
|
276
|
+
marginInline: "0",
|
|
277
|
+
transitionProperty: "color, background-color, border-color, outline-offset, outline-color",
|
|
278
|
+
transitionDuration: "100ms",
|
|
279
|
+
transitionTimingFunction: "linear",
|
|
280
|
+
borderWidth: "1px",
|
|
281
|
+
borderStyle: "solid",
|
|
282
|
+
outlineColor: "transparent",
|
|
283
|
+
outlineOffset: "0",
|
|
284
|
+
fontSize: "1rem",
|
|
285
|
+
lineHeight: "1.14285714",
|
|
286
|
+
whiteSpace: "nowrap",
|
|
287
|
+
"& + &": {
|
|
288
|
+
marginInlineStart: "0.57142857rem"
|
|
289
|
+
},
|
|
290
|
+
"&:focus-visible": {
|
|
291
|
+
outlineOffset: "2px",
|
|
292
|
+
outlineStyle: "solid",
|
|
293
|
+
outlineWidth: "2px"
|
|
294
|
+
},
|
|
295
|
+
"&:disabled": {
|
|
296
|
+
cursor: "not-allowed",
|
|
297
|
+
pointerEvents: "inherit"
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/themes/odyssey/components.ts"],"names":["components","MuiCssBaseline","styleOverrides","boxSizing","MuiCircularProgress","defaultProps","size","thickness","color","disableShrink","variant","root","ownerState","circle","strokeDasharray","MuiFormLabel","lineHeight","fontSize","fontWeight","MuiInputBase","input","height","MuiTypography","fontFamily","paragraph","marginBottom","MuiLink","textDecoration","outlineColor","outlineOffset","outlineStyle","outlineWidth","display","marginInlineStart","marginInlineEnd","svg","position","top","verticalAlign","width","variants","props","style","MuiButtonBase","disableRipple","MuiButton","disableElevation","borderColor","backgroundColor","background","paddingBlock","paddingInline","fullWidth","marginBlock","marginInline","marginBlockEnd","transitionProperty","transitionDuration","transitionTimingFunction","borderWidth","borderStyle","whiteSpace","cursor","pointerEvents"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIA,OAAO,MAAMA,UAAsC,GAAG;AACpDC,EAAAA,cAAc,EAAE;AACdC,IAAAA,cAAc,EAAE;AACdC,MAAAA,SAAS,EAAE;AADG;AADF,GADoC;AAMpDC,EAAAA,mBAAmB,EAAE;AACnBC,IAAAA,YAAY,EAAE;AACZC,MAAAA,IAAI,EAAE,eADM;AAEZC,MAAAA,SAAS,EAAE,CAFC;AAGZC,MAAAA,KAA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UAAU,EAAE,QAnBa;AAqBzB,iBAAS;AACP5B,UAAAA,iBAAiB,EAAE;AADZ,SArBgB;AAyBzB,2BAAmB;AACjBJ,UAAAA,aAAa,EAAE,KADE;AAEjBC,UAAAA,YAAY,EAAE,OAFG;AAGjBC,UAAAA,YAAY,EAAE;AAHG,SAzBM;AA+BzB,sBAAc;AACZ+B,UAAAA,MAAM,EAAE,aADI;AAEZC,UAAAA,aAAa,EAAE;AAFH;AA/BW,OAArB;AADQ;AArIP;AAtIyC,CAA/C","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type { ThemeOptions } from \"@mui/material\";\n\nexport const components: ThemeOptions[\"components\"] = {\n MuiCssBaseline: {\n styleOverrides: {\n boxSizing: \"border-box\",\n },\n },\n MuiCircularProgress: {\n defaultProps: {\n size: \"1.14285714rem\",\n thickness: 8,\n color: \"primary\",\n disableShrink: false,\n variant: \"indeterminate\",\n },\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...(ownerState.color !== \"inherit\" && {\n color: \"#00297a\",\n }),\n }),\n circle: ({ ownerState }) => ({\n ...(ownerState.variant === \"indeterminate\" && {\n strokeDasharray: \"160%, 360%\",\n }),\n }),\n },\n },\n MuiFormLabel: {\n styleOverrides: {\n root: {\n color: \"#1d1d21\",\n lineHeight: \"1.42857143\",\n fontSize: \"1rem\",\n fontWeight: 600,\n },\n },\n },\n MuiInputBase: {\n styleOverrides: {\n root: {\n lineHeight: \"1.14285714\",\n },\n input: {\n boxSizing: \"border-box\",\n height: \"auto\",\n },\n },\n },\n MuiTypography: {\n defaultProps: {\n fontFamily:\n \"'Public Sans', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif\",\n },\n styleOverrides: {\n paragraph: {\n marginBottom: \"1.14285714rem\",\n },\n },\n },\n MuiLink: {\n styleOverrides: {\n root: {\n color: \"#1662dd\",\n textDecoration: \"none\",\n\n \"&:hover\": {\n color: \"#1662dd\",\n textDecoration: \"underline\",\n },\n\n \"&:focus-visible\": {\n outlineColor: \"#1662dd\",\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: \"#1662dd\",\n },\n\n \".Link-indicator, .Link-icon\": {\n display: \"inline-block\",\n height: \"1em\",\n lineHeight: 1,\n },\n\n \".Link-indicator\": {\n marginInlineStart: \"0.57142857rem\",\n },\n\n \".Link-icon\": {\n marginInlineEnd: \"0.57142857rem\",\n },\n svg: {\n fontSize: \"1rem\",\n height: \"1em\",\n position: \"relative\",\n top: \"-0.0625em\",\n verticalAlign: \"middle\",\n width: \"1em\",\n },\n },\n },\n variants: [\n {\n props: { variant: \"monochrome\" },\n style: {\n color: \"#1d1d21\",\n textDecoration: \"underline\",\n\n \"&:hover\": {\n color: \"#6e6e78\",\n },\n\n \"&:focus-visible\": {\n outlineColor: \"#1662dd\",\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"1px\",\n },\n\n \"&:visited\": {\n color: \"#1d1d21\",\n },\n },\n },\n ],\n },\n MuiButtonBase: {\n defaultProps: {\n disableRipple: true,\n },\n },\n MuiButton: {\n defaultProps: {\n disableElevation: true,\n },\n variants: [\n {\n props: { variant: \"primary\" },\n style: {\n fontWeight: 600,\n color: \"#ffffff\",\n borderColor: \"transparent\",\n backgroundColor: \"#1662dd\",\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: \"#00297a\",\n },\n\n \"&:active\": {\n backgroundColor: \"#1662dd\",\n },\n\n \"&:disabled\": {\n color: \"#ffffff\",\n backgroundColor: \"#a7b5ec\",\n },\n },\n },\n {\n props: { variant: \"secondary\" },\n style: {\n backgroundColor: \"#f5f5f6\",\n borderColor: \"#d7d7dc\",\n color: \"#1d1d21\",\n \"&:hover\": {\n background: \"#f2f5ff\",\n borderColor: \"#a7b5ec\",\n color: \"#1662dd\",\n },\n\n \"&:focus-visible\": {\n backgroundColor: \"#1662dd\",\n color: \"#1662dd\",\n },\n\n \"&:active\": {\n borderColor: \"#1662dd\",\n },\n\n \"&:disabled\": {\n borderColor: \"#ebebed\",\n backgroundColor: \"#ebebed\",\n color: \"#8c8c96\",\n },\n },\n },\n {\n props: { variant: \"danger\" },\n style: {\n backgroundColor: \"#da372c\",\n color: \"#ffffff\",\n \"&:hover\": {\n borderColor: \"transparent\",\n backgroundColor: \"#640019\",\n },\n\n \"&:focus-visible\": {\n outlineColor: \"#f88c90\",\n backgroundColor: \"#640019\",\n },\n\n \"&:active\": {\n borderColor: \"transparent\",\n backgroundColor: \"#da372c\",\n },\n\n \"&:disabled\": {\n color: \"#ffffff\",\n borderColor: \"#f88c90\",\n backgroundColor: \"#f88c90\",\n },\n },\n },\n {\n props: { variant: \"floating\" },\n style: {\n backgroundColor: \"#ffffff\",\n color: \"#1d1d21\",\n borderColor: \"transparent\",\n\n \"&:hover, &:focus-visible\": {\n backgroundColor: \"rgba(29, 29, 33, 0.1)\",\n borderColor: \"transparent\",\n },\n \"&:active\": {\n backgroundColor: \"rgba(29, 29, 33, 0.2)\",\n borderColor: \"transparent\",\n },\n \"&:disabled\": {\n backgroundColor: \"rgba(235, 235, 237, 0.6)\",\n color: \"#6e6e78\",\n borderColor: \"transparent\",\n },\n },\n },\n {\n props: { size: \"s\" },\n style: {\n paddingBlock: \"calc(0.57142857rem - 1px)\",\n paddingInline: \"calc(0.85714286rem - - 1px)\",\n fontSize: \"1rem\",\n },\n },\n {\n props: { size: \"l\" },\n style: {\n paddingBlock: \"calc(1.14285714rem - 1px)\",\n paddingInline: \"calc(1.14285714rem - 1px)\",\n },\n },\n {\n props: { fullWidth: true },\n style: {\n display: \"block\",\n width: \"100%\",\n marginBlock: \"0\",\n marginInline: \"0\",\n\n \"&:not(:last-child)\": {\n marginBlockEnd: \"1.14285714rem\",\n },\n },\n },\n ],\n styleOverrides: {\n root: ({ ownerState }) => ({\n ...ownerState,\n fontWeight: 600,\n paddingBlock: \"0.85714286rem\",\n paddingInline: \"0.85714286rem\",\n display: \"inline-block\",\n position: \"relative\",\n marginBlock: \"0\",\n marginInline: \"0\",\n transitionProperty:\n \"color, background-color, border-color, outline-offset, outline-color\",\n transitionDuration: \"100ms\",\n transitionTimingFunction: \"linear\",\n borderWidth: \"1px\",\n borderStyle: \"solid\",\n outlineColor: \"transparent\",\n outlineOffset: \"0\",\n fontSize: \"1rem\",\n lineHeight: \"1.14285714\",\n whiteSpace: \"nowrap\",\n\n \"& + &\": {\n marginInlineStart: \"0.57142857rem\",\n },\n\n \"&:focus-visible\": {\n outlineOffset: \"2px\",\n outlineStyle: \"solid\",\n outlineWidth: \"2px\",\n },\n\n \"&:disabled\": {\n cursor: \"not-allowed\",\n pointerEvents: \"inherit\", // in order to have cursor: not-allowed, must change pointer-events from 'none'\n },\n }),\n },\n },\n};\n"],"file":"components.js"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
declare module "@mui/material/Link" {
|
|
13
|
+
interface LinkPropsVariantOverrides {
|
|
14
|
+
default: true;
|
|
15
|
+
monochrome: true;
|
|
16
|
+
body1: false;
|
|
17
|
+
body2: false;
|
|
18
|
+
button: false;
|
|
19
|
+
caption: false;
|
|
20
|
+
h1: false;
|
|
21
|
+
h2: false;
|
|
22
|
+
h3: false;
|
|
23
|
+
h4: false;
|
|
24
|
+
h5: false;
|
|
25
|
+
h6: false;
|
|
26
|
+
inherit: false;
|
|
27
|
+
overline: false;
|
|
28
|
+
subtitle1: false;
|
|
29
|
+
subtitle2: false;
|
|
30
|
+
}
|
|
31
|
+
interface LinkPropsUnderlineOverrides {
|
|
32
|
+
none: false;
|
|
33
|
+
hover: false;
|
|
34
|
+
always: false;
|
|
35
|
+
}
|
|
36
|
+
interface LinkPropsColorOverrides {
|
|
37
|
+
inherit: false;
|
|
38
|
+
primary: false;
|
|
39
|
+
secondary: false;
|
|
40
|
+
error: false;
|
|
41
|
+
info: false;
|
|
42
|
+
warning: false;
|
|
43
|
+
success: false;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
declare module "@mui/material/Button" {
|
|
47
|
+
interface ButtonPropsVariantOverrides {
|
|
48
|
+
floating: true;
|
|
49
|
+
primary: true;
|
|
50
|
+
secondary: true;
|
|
51
|
+
danger: true;
|
|
52
|
+
text: false;
|
|
53
|
+
contained: false;
|
|
54
|
+
outlined: false;
|
|
55
|
+
}
|
|
56
|
+
interface ButtonPropsSizeOverrides {
|
|
57
|
+
s: true;
|
|
58
|
+
m: true;
|
|
59
|
+
l: true;
|
|
60
|
+
small: false;
|
|
61
|
+
medium: false;
|
|
62
|
+
large: false;
|
|
63
|
+
}
|
|
64
|
+
interface ButtonPropsColorOverrides {
|
|
65
|
+
inherit: false;
|
|
66
|
+
primary: false;
|
|
67
|
+
secondary: false;
|
|
68
|
+
error: false;
|
|
69
|
+
info: false;
|
|
70
|
+
warning: false;
|
|
71
|
+
success: false;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export {};
|
|
75
|
+
//# sourceMappingURL=components.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.types.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/components.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,QAAQ,oBAAoB,CAAC;IAClC,UAAU,yBAAyB;QACjC,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,IAAI,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;QACf,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,EAAE,EAAE,KAAK,CAAC;QACV,OAAO,EAAE,KAAK,CAAC;QACf,QAAQ,EAAE,KAAK,CAAC;QAChB,SAAS,EAAE,KAAK,CAAC;QACjB,SAAS,EAAE,KAAK,CAAC;KAClB;IAED,UAAU,2BAA2B;QACnC,IAAI,EAAE,KAAK,CAAC;QACZ,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;KACf;IAED,UAAU,uBAAuB;QAC/B,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;QACf,SAAS,EAAE,KAAK,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KAChB;CACF;AACD,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,2BAA2B;QACnC,QAAQ,EAAE,IAAI,CAAC;QACf,OAAO,EAAE,IAAI,CAAC;QACd,SAAS,EAAE,IAAI,CAAC;QAChB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,SAAS,EAAE,KAAK,CAAC;QACjB,QAAQ,EAAE,KAAK,CAAC;KACjB;IACD,UAAU,wBAAwB;QAChC,CAAC,EAAE,IAAI,CAAC;QACR,CAAC,EAAE,IAAI,CAAC;QACR,CAAC,EAAE,IAAI,CAAC;QACR,KAAK,EAAE,KAAK,CAAC;QACb,MAAM,EAAE,KAAK,CAAC;QACd,KAAK,EAAE,KAAK,CAAC;KACd;IACD,UAAU,yBAAyB;QACjC,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;QACf,SAAS,EAAE,KAAK,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC;QACb,IAAI,EAAE,KAAK,CAAC;QACZ,OAAO,EAAE,KAAK,CAAC;QACf,OAAO,EAAE,KAAK,CAAC;KAChB;CACF;AAED,OAAO,EAAE,CAAC"}
|
|
@@ -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
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=components.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/themes/odyssey/components.types.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAmEA","sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\ndeclare module \"@mui/material/Link\" {\n interface LinkPropsVariantOverrides {\n default: true;\n monochrome: true;\n body1: false;\n body2: false;\n button: false;\n caption: false;\n h1: false;\n h2: false;\n h3: false;\n h4: false;\n h5: false;\n h6: false;\n inherit: false;\n overline: false;\n subtitle1: false;\n subtitle2: false;\n }\n\n interface LinkPropsUnderlineOverrides {\n none: false;\n hover: false;\n always: false;\n }\n\n interface LinkPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\ndeclare module \"@mui/material/Button\" {\n interface ButtonPropsVariantOverrides {\n floating: true;\n primary: true;\n secondary: true;\n danger: true;\n text: false;\n contained: false;\n outlined: false;\n }\n interface ButtonPropsSizeOverrides {\n s: true;\n m: true;\n l: true;\n small: false;\n medium: false;\n large: false;\n }\n interface ButtonPropsColorOverrides {\n inherit: false;\n primary: false;\n secondary: false;\n error: false;\n info: false;\n warning: false;\n success: false;\n }\n}\n\nexport {};\n"],"file":"components.types.js"}
|
|
@@ -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
|
+
export { theme as odysseyTheme } from "./theme";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/themes/odyssey/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -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
|
+
export { theme as odysseyTheme } from "./theme.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|