@okta/odyssey-react-mui 1.1.1 → 1.2.0

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 (110) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/Autocomplete.js +12 -1
  3. package/dist/Autocomplete.js.map +1 -1
  4. package/dist/OdysseyCacheProvider.js +4 -1
  5. package/dist/OdysseyCacheProvider.js.map +1 -1
  6. package/dist/OdysseyProvider.js +5 -1
  7. package/dist/OdysseyProvider.js.map +1 -1
  8. package/dist/OdysseyThemeProvider.js +5 -1
  9. package/dist/OdysseyThemeProvider.js.map +1 -1
  10. package/dist/OdysseyTranslationProvider.js +1 -1
  11. package/dist/OdysseyTranslationProvider.js.map +1 -1
  12. package/dist/PasswordField.js +11 -3
  13. package/dist/PasswordField.js.map +1 -1
  14. package/dist/Select.js +34 -33
  15. package/dist/Select.js.map +1 -1
  16. package/dist/Typography.js +0 -22
  17. package/dist/Typography.js.map +1 -1
  18. package/dist/createShadowDom.js +26 -0
  19. package/dist/createShadowDom.js.map +1 -0
  20. package/dist/{OdysseyI18n.js → i18n.js} +3 -2
  21. package/dist/i18n.js.map +1 -0
  22. package/dist/index.js +1 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/labs/datePickerTheme.js +4 -2
  25. package/dist/labs/datePickerTheme.js.map +1 -1
  26. package/dist/properties/ts/odyssey-react-mui.js +2 -0
  27. package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
  28. package/dist/src/Autocomplete.d.ts +23 -3
  29. package/dist/src/Autocomplete.d.ts.map +1 -1
  30. package/dist/src/OdysseyCacheProvider.d.ts +6 -1
  31. package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
  32. package/dist/src/OdysseyProvider.d.ts +1 -1
  33. package/dist/src/OdysseyProvider.d.ts.map +1 -1
  34. package/dist/src/OdysseyThemeProvider.d.ts +2 -1
  35. package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
  36. package/dist/src/OdysseyTranslationProvider.d.ts +1 -1
  37. package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
  38. package/dist/src/PasswordField.d.ts +8 -0
  39. package/dist/src/PasswordField.d.ts.map +1 -1
  40. package/dist/src/Select.d.ts +1 -54
  41. package/dist/src/Select.d.ts.map +1 -1
  42. package/dist/src/Typography.d.ts +11 -15
  43. package/dist/src/Typography.d.ts.map +1 -1
  44. package/dist/src/createShadowDom.d.ts +16 -0
  45. package/dist/src/createShadowDom.d.ts.map +1 -0
  46. package/dist/src/{OdysseyI18n.d.ts → i18n.d.ts} +5 -2
  47. package/dist/src/i18n.d.ts.map +1 -0
  48. package/dist/src/index.d.ts +1 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/properties/ts/odyssey-react-mui.d.ts +2 -0
  51. package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
  52. package/dist/src/theme/components.d.ts +4 -1
  53. package/dist/src/theme/components.d.ts.map +1 -1
  54. package/dist/src/theme/createOdysseyMuiTheme.d.ts +23 -0
  55. package/dist/src/theme/createOdysseyMuiTheme.d.ts.map +1 -0
  56. package/dist/src/theme/mixins.d.ts +3 -1
  57. package/dist/src/theme/mixins.d.ts.map +1 -1
  58. package/dist/src/theme/palette.d.ts +3 -1
  59. package/dist/src/theme/palette.d.ts.map +1 -1
  60. package/dist/src/theme/shape.d.ts +3 -1
  61. package/dist/src/theme/shape.d.ts.map +1 -1
  62. package/dist/src/theme/spacing.d.ts +3 -1
  63. package/dist/src/theme/spacing.d.ts.map +1 -1
  64. package/dist/src/theme/theme.d.ts +1 -8
  65. package/dist/src/theme/theme.d.ts.map +1 -1
  66. package/dist/src/theme/typography.d.ts +3 -1
  67. package/dist/src/theme/typography.d.ts.map +1 -1
  68. package/dist/theme/components.js +80 -63
  69. package/dist/theme/components.js.map +1 -1
  70. package/dist/theme/createOdysseyMuiTheme.js +51 -0
  71. package/dist/theme/createOdysseyMuiTheme.js.map +1 -0
  72. package/dist/theme/mixins.js +4 -1
  73. package/dist/theme/mixins.js.map +1 -1
  74. package/dist/theme/palette.js +4 -1
  75. package/dist/theme/palette.js.map +1 -1
  76. package/dist/theme/shape.js +4 -1
  77. package/dist/theme/shape.js.map +1 -1
  78. package/dist/theme/spacing.js +4 -1
  79. package/dist/theme/spacing.js.map +1 -1
  80. package/dist/theme/theme.js +1 -20
  81. package/dist/theme/theme.js.map +1 -1
  82. package/dist/theme/typography.js +4 -1
  83. package/dist/theme/typography.js.map +1 -1
  84. package/dist/tsconfig.production.tsbuildinfo +1 -1
  85. package/package.json +4 -4
  86. package/src/Autocomplete.tsx +44 -3
  87. package/src/OdysseyCacheProvider.tsx +9 -1
  88. package/src/OdysseyProvider.tsx +9 -2
  89. package/src/OdysseyThemeProvider.tsx +8 -2
  90. package/src/OdysseyTranslationProvider.test.tsx +2 -2
  91. package/src/OdysseyTranslationProvider.tsx +1 -1
  92. package/src/PasswordField.tsx +24 -8
  93. package/src/Select.tsx +147 -152
  94. package/src/Typography.tsx +0 -26
  95. package/src/createShadowDom.ts +46 -0
  96. package/src/{OdysseyI18n.ts → i18n.ts} +2 -2
  97. package/src/index.ts +1 -0
  98. package/src/labs/datePickerTheme.tsx +2 -2
  99. package/src/properties/odyssey-react-mui.properties +2 -0
  100. package/src/properties/ts/odyssey-react-mui.ts +1 -1
  101. package/src/theme/components.tsx +26 -9
  102. package/src/theme/createOdysseyMuiTheme.ts +47 -0
  103. package/src/theme/mixins.ts +5 -1
  104. package/src/theme/palette.ts +5 -3
  105. package/src/theme/shape.ts +5 -1
  106. package/src/theme/spacing.ts +5 -3
  107. package/src/theme/theme.ts +1 -26
  108. package/src/theme/typography.ts +5 -3
  109. package/dist/OdysseyI18n.js.map +0 -1
  110. package/dist/src/OdysseyI18n.d.ts.map +0 -1
@@ -15,8 +15,9 @@ import { DesignTokensOverride } from "./theme";
15
15
  export type OdysseyThemeProviderProps = {
16
16
  children: ReactNode;
17
17
  designTokensOverride?: DesignTokensOverride;
18
+ shadowRootElement?: HTMLDivElement;
18
19
  themeOverride?: ThemeOptions;
19
20
  };
20
- declare const MemoizedOdysseyThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, themeOverride, }: OdysseyThemeProviderProps) => JSX.Element>;
21
+ declare const MemoizedOdysseyThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, shadowRootElement, themeOverride, }: OdysseyThemeProviderProps) => JSX.Element>;
21
22
  export { MemoizedOdysseyThemeProvider as OdysseyThemeProvider };
22
23
  //# sourceMappingURL=OdysseyThemeProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAItE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AA8BF,QAAA,MAAM,4BAA4B,2FAxB/B,yBAAyB,iBAwBmC,CAAC;AAEhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAItE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AAmCF,QAAA,MAAM,4BAA4B,8GA5B/B,yBAAyB,iBA4BmC,CAAC;AAEhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
@@ -11,7 +11,7 @@
11
11
  */
12
12
  import { ReactNode } from "react";
13
13
  import { SupportedLanguages } from "./OdysseyTranslationProvider.types";
14
- import { resources } from "./OdysseyI18n";
14
+ import { resources } from "./i18n";
15
15
  export type TranslationOverrides = {
16
16
  [key in SupportedLanguages]?: Partial<(typeof resources)["en"]>;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAa,EAAa,SAAS,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,MAAM,oBAAoB,GAAG;KAChC,GAAG,IAAI,kBAAkB,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;CAChE,CAAC;AAcF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,0BAA0B,sDAIpC,+BAA+B,gBAmBjC,CAAC"}
1
+ {"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAmB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGpD,MAAM,MAAM,oBAAoB,GAAG;KAChC,GAAG,IAAI,kBAAkB,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;CAChE,CAAC;AAcF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,0BAA0B,sDAIpC,+BAA+B,gBAmBjC,CAAC"}
@@ -26,6 +26,10 @@ export type PasswordFieldProps = {
26
26
  * If `true`, the component will receive focus automatically.
27
27
  */
28
28
  hasInitialFocus?: boolean;
29
+ /**
30
+ * If `true`, the show/hide icon is not shown to the user
31
+ */
32
+ hasShowPassword?: boolean;
29
33
  /**
30
34
  * The helper text content.
31
35
  */
@@ -90,6 +94,10 @@ declare const MemoizedPasswordField: import("react").MemoExoticComponent<import(
90
94
  * If `true`, the component will receive focus automatically.
91
95
  */
92
96
  hasInitialFocus?: boolean | undefined;
97
+ /**
98
+ * If `true`, the show/hide icon is not shown to the user
99
+ */
100
+ hasShowPassword?: boolean | undefined;
93
101
  /**
94
102
  * The helper text content.
95
103
  */
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,gBA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AEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEA8G4C,CAAC;AAGlD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
@@ -71,59 +71,6 @@ export type SelectProps = {
71
71
  */
72
72
  value?: string | string[];
73
73
  } & SeleniumProps;
74
- declare const MemoizedSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
75
- /**
76
- * The error message for the Select
77
- */
78
- errorMessage?: string | undefined;
79
- /**
80
- * The hint text for the Select
81
- */
82
- hint?: string | undefined;
83
- /**
84
- * The id attribute of the Select
85
- */
86
- id?: string | undefined;
87
- /**
88
- * If `true`, the Select is disabled
89
- */
90
- isDisabled?: boolean | undefined;
91
- /**
92
- * If `true`, the Select allows multiple selections
93
- */
94
- isMultiSelect?: boolean | undefined;
95
- /**
96
- * If `true`, the Select is optional
97
- */
98
- isOptional?: boolean | undefined;
99
- /**
100
- * The label text for the Select
101
- */
102
- label: string;
103
- /**
104
- * The name of the `input` element. Defaults to the `id` if not set.
105
- */
106
- name?: string | undefined;
107
- /**
108
- * Callback fired when the Select loses focus
109
- */
110
- onBlur?: MuiSelectProps["onBlur"];
111
- /**
112
- * Callback fired when the value of the Select changes
113
- */
114
- onChange?: MuiSelectProps["onChange"];
115
- /**
116
- * Callback fired when the Select gains focus
117
- */
118
- onFocus?: MuiSelectProps["onFocus"];
119
- /**
120
- * The options for the Select
121
- */
122
- options: (string | SelectOption)[];
123
- /**
124
- * The value or values selected in the Select
125
- */
126
- value?: string | string[] | undefined;
127
- } & SeleniumProps & import("react").RefAttributes<HTMLSelectElement>>>;
74
+ declare const MemoizedSelect: import("react").MemoExoticComponent<({ errorMessage, hint, id: idOverride, isDisabled, isMultiSelect, isOptional, label, name: nameOverride, onBlur, onChange: onChangeProp, onFocus, value, testId, options, }: SelectProps) => JSX.Element>;
128
75
  export { MemoizedSelect as Select };
129
76
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAYH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CA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cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAoLlB,QAAA,MAAM,cAAc,mNApJjB,WAAW,iBAoJqB,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
@@ -32,10 +32,6 @@ export type TypographyProps = {
32
32
  * The text content of the component.
33
33
  */
34
34
  children: ReactNode;
35
- /**
36
- * Additional classes to add to the component.
37
- */
38
- classes?: object;
39
35
  /**
40
36
  * The color of the text.
41
37
  */
@@ -49,16 +45,16 @@ export type TypographyProps = {
49
45
  */
50
46
  variant?: keyof typeof typographyVariantMapping;
51
47
  } & SeleniumProps;
52
- declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component: componentProp, testId, variant, }: TypographyProps) => JSX.Element>;
53
- declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
54
- declare const MemoizedHeading2: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
55
- declare const MemoizedHeading3: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
56
- declare const MemoizedHeading4: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
57
- declare const MemoizedHeading5: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
58
- declare const MemoizedHeading6: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
59
- declare const MemoizedParagraph: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
60
- declare const MemoizedSubordinate: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
61
- declare const MemoizedSupport: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
62
- declare const MemoizedLegend: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, testId, }: TypographyProps) => JSX.Element>;
48
+ declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component: componentProp, testId, variant, }: TypographyProps) => JSX.Element>;
49
+ declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
50
+ declare const MemoizedHeading2: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
51
+ declare const MemoizedHeading3: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
52
+ declare const MemoizedHeading4: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
53
+ declare const MemoizedHeading5: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
54
+ declare const MemoizedHeading6: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
55
+ declare const MemoizedParagraph: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
56
+ declare const MemoizedSubordinate: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
57
+ declare const MemoizedSupport: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
58
+ declare const MemoizedLegend: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
63
59
  export { MemoizedTypography as Typography, MemoizedHeading1 as Heading1, MemoizedHeading2 as Heading2, MemoizedHeading3 as Heading3, MemoizedHeading4 as Heading4, MemoizedHeading5 as Heading5, MemoizedHeading6 as Heading6, MemoizedLegend as Legend, MemoizedParagraph as Paragraph, MemoizedSubordinate as Subordinate, MemoizedSupport as Support, };
64
60
  //# sourceMappingURL=Typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAiB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN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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 declare const createShadowDom: (containerElement: HTMLElement) => {
13
+ emotionRootElement: HTMLStyleElement;
14
+ shadowRootElement: HTMLDivElement;
15
+ };
16
+ //# sourceMappingURL=createShadowDom.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createShadowDom.d.ts","sourceRoot":"","sources":["../../src/createShadowDom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,eAAe,qBAAsB,WAAW;;;CAY5D,CAAC"}
@@ -78,6 +78,8 @@ export declare const resources: {
78
78
  "fielderror.screenreader.text": string;
79
79
  "fieldlabel.optional.text": string;
80
80
  "fieldlabel.required.text": string;
81
+ "passwordfield.icon.label.show": string;
82
+ "passwordfield.icon.label.hide": string;
81
83
  "severity.error": string;
82
84
  "severity.info": string;
83
85
  "severity.success": string;
@@ -440,5 +442,6 @@ export declare const resources: {
440
442
  "toast.close.text": string;
441
443
  };
442
444
  };
443
- export default i18n;
444
- //# sourceMappingURL=OdysseyI18n.d.ts.map
445
+ export declare const odysseyTranslate: import("i18next").TFunction<["translation", ..."translations"[]], undefined>;
446
+ export { i18n };
447
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,IAAI,MAAM,SAAS,CAAC;AAiC3B,OAAO,EACL,kBAAkB,EAEnB,MAAM,oCAAoC,CAAC;AAE5C,eAAO,MAAM,UAAU,EAAE,kBAAyB,CAAC;AACnD,eAAO,MAAM,SAAS,iBAAiB,CAAC;AACxC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BrB,CAAC;AAuBF,eAAO,MAAM,gBAAgB,8EAAoB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -53,6 +53,7 @@ export * from "./MenuItem";
53
53
  export * from "./NativeSelect";
54
54
  export * from "./NullElement";
55
55
  export * from "./OdysseyCacheProvider";
56
+ export { odysseyTranslate } from "./i18n";
56
57
  export * from "./OdysseyProvider";
57
58
  export * from "./OdysseyThemeProvider";
58
59
  export * from "./OdysseyTranslationProvider";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACL,WAAW;AACX,4FAA4F;AAC5F,WAAW;AACX,4FAA4F;AAC5F,iBAAiB;AACjB,4FAA4F;AAC5F,OAAO;AACP,4FAA4F;AAC5F,cAAc;AACd,4FAA4F;AAC5F,SAAS;AACT,4FAA4F;AAC5F,YAAY;AACZ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AAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -2,6 +2,8 @@ export declare const translation: {
2
2
  "fielderror.screenreader.text": string;
3
3
  "fieldlabel.optional.text": string;
4
4
  "fieldlabel.required.text": string;
5
+ "passwordfield.icon.label.show": string;
6
+ "passwordfield.icon.label.hide": string;
5
7
  "severity.error": string;
6
8
  "severity.info": string;
7
9
  "severity.success": string;
@@ -1 +1 @@
1
- {"version":3,"file":"odyssey-react-mui.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAA4e,CAAC"}
1
+ {"version":3,"file":"odyssey-react-mui.d.ts","sourceRoot":"","sources":["../../../../src/properties/ts/odyssey-react-mui.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;CAA4kB,CAAC"}
@@ -11,5 +11,8 @@
11
11
  */
12
12
  import { ThemeOptions } from "@mui/material";
13
13
  import { DesignTokens } from "./theme";
14
- export declare const components: (odysseyTokens: DesignTokens) => ThemeOptions["components"];
14
+ export declare const components: ({ odysseyTokens, shadowRootElement, }: {
15
+ odysseyTokens: DesignTokens;
16
+ shadowRootElement?: HTMLDivElement | undefined;
17
+ }) => ThemeOptions["components"];
15
18
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAsC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,eAAO,MAAM,UAAU,kBACN,YAAY,KAC1B,YAAY,CAAC,YAAY,CAwsE3B,CAAC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/theme/components.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAsC7C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC,eAAO,MAAM,UAAU;mBAIN,YAAY;;MAEzB,YAAY,CAAC,YAAY,CAqtE5B,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*!
2
+ * Copyright (c) 2023-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 * as Tokens from "@okta/odyssey-design-tokens";
13
+ import "./components.types";
14
+ import "./mixins.types";
15
+ import "./palette.types";
16
+ import "./typography.types";
17
+ export type DesignTokens = typeof Tokens;
18
+ export type DesignTokensOverride = Partial<typeof Tokens>;
19
+ export declare const createOdysseyMuiTheme: ({ odysseyTokens, shadowRootElement, }: {
20
+ odysseyTokens: DesignTokens;
21
+ shadowRootElement?: HTMLDivElement | undefined;
22
+ }) => import("@mui/material/styles").Theme;
23
+ //# sourceMappingURL=createOdysseyMuiTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createOdysseyMuiTheme.d.ts","sourceRoot":"","sources":["../../../src/theme/createOdysseyMuiTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAQtD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC;AACzC,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,qBAAqB;mBAIjB,YAAY;;0CAazB,CAAC"}
@@ -11,5 +11,7 @@
11
11
  */
12
12
  import type { ThemeOptions } from "@mui/material";
13
13
  import { DesignTokens } from "./theme";
14
- export declare const mixins: (odysseyTokens: DesignTokens) => ThemeOptions["mixins"];
14
+ export declare const mixins: ({ odysseyTokens, }: {
15
+ odysseyTokens: DesignTokens;
16
+ }) => ThemeOptions["mixins"];
15
17
  //# sourceMappingURL=mixins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mixins.d.ts","sourceRoot":"","sources":["../../../src/theme/mixins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,MAAM,kBAAmB,YAAY,KAAG,YAAY,CAAC,QAAQ,CAOzE,CAAC"}
1
+ {"version":3,"file":"mixins.d.ts","sourceRoot":"","sources":["../../../src/theme/mixins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,MAAM;mBAGF,YAAY;MACzB,YAAY,CAAC,QAAQ,CAOxB,CAAC"}
@@ -11,5 +11,7 @@
11
11
  */
12
12
  import type { ThemeOptions } from "@mui/material";
13
13
  import { DesignTokens } from "./theme";
14
- export declare const palette: (odysseyTokens: DesignTokens) => ThemeOptions["palette"];
14
+ export declare const palette: ({ odysseyTokens, }: {
15
+ odysseyTokens: DesignTokens;
16
+ }) => ThemeOptions["palette"];
15
17
  //# sourceMappingURL=palette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,OAAO,kBACH,YAAY,KAC1B,YAAY,CAAC,SAAS,CA0FxB,CAAC"}
1
+ {"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../src/theme/palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,OAAO;mBAGH,YAAY;MACzB,YAAY,CAAC,SAAS,CA0FzB,CAAC"}
@@ -11,5 +11,7 @@
11
11
  */
12
12
  import type { ThemeOptions } from "@mui/material";
13
13
  import { DesignTokens } from "./theme";
14
- export declare const shape: (odysseyTokens: DesignTokens) => ThemeOptions["shape"];
14
+ export declare const shape: ({ odysseyTokens, }: {
15
+ odysseyTokens: DesignTokens;
16
+ }) => ThemeOptions["shape"];
15
17
  //# sourceMappingURL=shape.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shape.d.ts","sourceRoot":"","sources":["../../../src/theme/shape.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,KAAK,kBAAmB,YAAY,KAAG,YAAY,CAAC,OAAO,CAUvE,CAAC"}
1
+ {"version":3,"file":"shape.d.ts","sourceRoot":"","sources":["../../../src/theme/shape.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,KAAK;mBAGD,YAAY;MACzB,YAAY,CAAC,OAAO,CAUvB,CAAC"}
@@ -11,5 +11,7 @@
11
11
  */
12
12
  import type { ThemeOptions } from "@mui/material";
13
13
  import type { DesignTokens } from "./theme";
14
- export declare const spacing: (odysseyTokens: DesignTokens) => ThemeOptions["spacing"];
14
+ export declare const spacing: ({ odysseyTokens, }: {
15
+ odysseyTokens: DesignTokens;
16
+ }) => ThemeOptions["spacing"];
15
17
  //# sourceMappingURL=spacing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../../src/theme/spacing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO,kBACH,YAAY,KAC1B,YAAY,CAAC,SAAS,CAaxB,CAAC"}
1
+ {"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../../src/theme/spacing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,OAAO;mBAGH,YAAY;MACzB,YAAY,CAAC,SAAS,CAazB,CAAC"}
@@ -9,12 +9,5 @@
9
9
  *
10
10
  * See the License for the specific language governing permissions and limitations under the License.
11
11
  */
12
- import * as Tokens from "@okta/odyssey-design-tokens";
13
- import "./components.types";
14
- import "./mixins.types";
15
- import "./palette.types";
16
- import "./typography.types";
17
- export type DesignTokens = typeof Tokens;
18
- export type DesignTokensOverride = Partial<typeof Tokens>;
19
- export declare const createOdysseyMuiTheme: (odysseyTokens: DesignTokens) => import("@mui/material/styles").Theme;
12
+ export * from "./createOdysseyMuiTheme";
20
13
  //# sourceMappingURL=theme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAQtD,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAE5B,MAAM,MAAM,YAAY,GAAG,OAAO,MAAM,CAAC;AACzC,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,OAAO,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,qBAAqB,kBAAmB,YAAY,yCAQ7D,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/theme/theme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,yBAAyB,CAAC"}
@@ -11,5 +11,7 @@
11
11
  */
12
12
  import type { ThemeOptions } from "@mui/material";
13
13
  import { DesignTokens } from "./theme";
14
- export declare const typography: (odysseyTokens: DesignTokens) => ThemeOptions["typography"];
14
+ export declare const typography: ({ odysseyTokens, }: {
15
+ odysseyTokens: DesignTokens;
16
+ }) => ThemeOptions["typography"];
15
17
  //# sourceMappingURL=typography.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/theme/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,UAAU,kBACN,YAAY,KAC1B,YAAY,CAAC,YAAY,CAoH3B,CAAC"}
1
+ {"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/theme/typography.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,UAAU;mBAGN,YAAY;MACzB,YAAY,CAAC,YAAY,CAoH5B,CAAC"}