@okta/odyssey-react-mui 1.33.0 → 1.35.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.
- package/dist/cjs/Buttons/BaseButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
- package/dist/cjs/Dialog.cjs +9 -1
- package/dist/cjs/Dialog.cjs.map +1 -1
- package/dist/cjs/Select.cjs +3 -1
- package/dist/cjs/Select.cjs.map +1 -1
- package/dist/cjs/Typography.cjs +8 -4
- package/dist/cjs/Typography.cjs.map +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +269 -0
- package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs.map +1 -0
- package/dist/cjs/labs/OdysseyPickers/index.cjs +9 -1
- package/dist/cjs/labs/OdysseyPickers/index.cjs.map +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +19 -6
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs +2 -2
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavLogo.cjs +3 -3
- package/dist/cjs/ui-shell/SideNav/SideNavLogo.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +6 -0
- package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShellProvider.cjs +11 -8
- package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +2 -2
- package/dist/cjs/ui-shell/WideUiShellContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/renderUiShell.cjs +13 -0
- package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/uiShellSharedConstants.cjs +2 -1
- package/dist/cjs/ui-shell/uiShellSharedConstants.cjs.map +1 -1
- package/dist/esm/Buttons/BaseButton.js +1 -1
- package/dist/esm/Buttons/BaseButton.js.map +1 -1
- package/dist/esm/Dialog.js +9 -1
- package/dist/esm/Dialog.js.map +1 -1
- package/dist/esm/Select.js +3 -1
- package/dist/esm/Select.js.map +1 -1
- package/dist/esm/Typography.js +8 -4
- package/dist/esm/Typography.js.map +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +263 -0
- package/dist/esm/labs/OdysseyPickers/SearchDropdown.js.map +1 -0
- package/dist/esm/labs/OdysseyPickers/index.js +1 -0
- package/dist/esm/labs/OdysseyPickers/index.js.map +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +20 -7
- package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNav.js +2 -2
- package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavLogo.js +3 -3
- package/dist/esm/ui-shell/SideNav/SideNavLogo.js.map +1 -1
- package/dist/esm/ui-shell/UiShell.js +6 -0
- package/dist/esm/ui-shell/UiShell.js.map +1 -1
- package/dist/esm/ui-shell/UiShellProvider.js +9 -7
- package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js.map +1 -1
- package/dist/esm/ui-shell/renderUiShell.js +13 -0
- package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
- package/dist/esm/ui-shell/uiShellSharedConstants.js +1 -0
- package/dist/esm/ui-shell/uiShellSharedConstants.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.scss +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Buttons/BaseButton.d.ts +1 -1
- package/dist/types/Dialog.d.ts.map +1 -1
- package/dist/types/Select.d.ts +1 -0
- package/dist/types/Select.d.ts.map +1 -1
- package/dist/types/Typography.d.ts +6 -2
- package/dist/types/Typography.d.ts.map +1 -1
- package/dist/types/labs/DatePickers/DateTimePicker.d.ts.map +1 -1
- package/dist/types/labs/OdysseyPickers/SearchDropdown.d.ts +33 -0
- package/dist/types/labs/OdysseyPickers/SearchDropdown.d.ts.map +1 -0
- package/dist/types/labs/OdysseyPickers/index.d.ts +2 -0
- package/dist/types/labs/OdysseyPickers/index.d.ts.map +1 -1
- package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavLogo.d.ts +1 -1
- package/dist/types/ui-shell/SideNav/SideNavLogo.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShell.d.ts +5 -20
- package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShellProvider.d.ts +33 -6
- package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
- package/dist/types/ui-shell/WideUiShellContent.d.ts.map +1 -1
- package/dist/types/ui-shell/renderUiShell.d.ts +2 -0
- package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/uiShellSharedConstants.d.ts +1 -0
- package/dist/types/ui-shell/uiShellSharedConstants.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -76,6 +76,6 @@ export type BaseButtonProps = {
|
|
|
76
76
|
startIcon?: ReactElement;
|
|
77
77
|
};
|
|
78
78
|
export type AdditionalBaseButtonProps = Pick<HtmlProps, "ariaControls" | "ariaDescribedBy" | "ariaExpanded" | "ariaHasPopup" | "ariaLabel" | "ariaLabelledBy" | "tabIndex" | "testId" | "translate">;
|
|
79
|
-
declare const MemoizedBaseButton: import("react").MemoExoticComponent<({ ariaControls, ariaDescribedBy, ariaExpanded, ariaHasPopup, ariaLabel, ariaLabelledBy, buttonRef, endIcon, href, id, isDisabled, isFullWidth: isFullWidthProp, label,
|
|
79
|
+
declare const MemoizedBaseButton: import("react").MemoExoticComponent<({ ariaControls, ariaDescribedBy, ariaExpanded, ariaHasPopup, ariaLabel, ariaLabelledBy, buttonRef, children, endIcon, href, id, isDisabled, isFullWidth: isFullWidthProp, label, onClick, size, startIcon, tabIndex, testId, tooltipText, translate, type, variant: variantProp, }: BaseButtonProps & AdditionalBaseButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
80
80
|
export { MemoizedBaseButton as BaseButton };
|
|
81
81
|
//# sourceMappingURL=BaseButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAUH,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,OAAO,EAML,YAAY,EACZ,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAUH,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,OAAO,EAML,YAAY,EACZ,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,4BAA4B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,0BAA0B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,8BAA8B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,2BAA2B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,6BAA6B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,yBAAyB,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,WAAW,CAAC,CAAC;AAqG5C,QAAA,MAAM,cAAc,kRAtFjB,WAAW,sDAsFqB,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
package/dist/types/Select.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export type SelectOption = {
|
|
|
53
53
|
text: string;
|
|
54
54
|
type?: "heading" | "option";
|
|
55
55
|
value?: string;
|
|
56
|
+
language?: string;
|
|
56
57
|
};
|
|
57
58
|
export type SelectValueType<HasMultipleChoices> = HasMultipleChoices extends true ? string[] : string;
|
|
58
59
|
export type SelectProps<Value extends SelectValueType<HasMultipleChoices>, HasMultipleChoices extends boolean> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,OAAO,EAQL,WAAW,IAAI,cAAc,EAE9B,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAEL,WAAW,EAGZ,MAAM,iBAAiB,CAAC;AAQzB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCE,CAAC;AAElC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAYH,OAAO,EAQL,WAAW,IAAI,cAAc,EAE9B,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAEL,WAAW,EAGZ,MAAM,iBAAiB,CAAC;AAQzB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCE,CAAC;AAElC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAyDF,MAAM,MAAM,eAAe,CAAC,kBAAkB,IAC5C,kBAAkB,SAAS,IAAI,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC;AAEtD,MAAM,MAAM,WAAW,CACrB,KAAK,SAAS,eAAe,CAAC,kBAAkB,CAAC,EACjD,kBAAkB,SAAS,OAAO,IAChC;IACF;;OAEG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC,CAAC;IACrD;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IACxC;;OAEG;IACH,+CAA+C;IAC/C,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GAAG,IAAI,CACN,mBAAmB,EACjB,cAAc,GACd,kBAAkB,GAClB,MAAM,GACN,mBAAmB,GACnB,IAAI,GACJ,YAAY,GACZ,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,MAAM,CACT,GACC,IAAI,CAAC,SAAS,EAAE,iBAAiB,GAAG,QAAQ,GAAG,WAAW,CAAC,CAAC;AAyW9D,QAAA,MAAM,cAAc,wCAjVlB,KAAK,SAAS,eAAe,CAAC,kBAAkB,CAAC,EACjD,kBAAkB,SAAS,OAAO,4UAyBjC,WAAW,CAAC,KAAK,EAAE,kBAAkB,CAAC,uDAuTN,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -37,9 +37,13 @@ export type TypographyProps = {
|
|
|
37
37
|
* The variant of Typography to render.
|
|
38
38
|
*/
|
|
39
39
|
variant?: keyof typeof typographyVariantMapping;
|
|
40
|
+
/**
|
|
41
|
+
* If true, the component is presentational and should be ignored by screen readers.
|
|
42
|
+
*/
|
|
43
|
+
isPresentational?: boolean;
|
|
40
44
|
} & Pick<HtmlProps, "ariaCurrent" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "testId" | "translate">;
|
|
41
|
-
declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component: componentProp, testId, translate, typographyRef, variant, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
42
|
-
declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, translate, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
45
|
+
declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component: componentProp, testId, translate, typographyRef, variant, isPresentational, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
46
|
+
declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, translate, isPresentational, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
43
47
|
declare const MemoizedHeading2: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, translate, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
44
48
|
declare const MemoizedHeading3: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, translate, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
45
49
|
declare const MemoizedHeading4: import("react").MemoExoticComponent<({ ariaCurrent, ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, translate, }: TypographyProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,aAAa,GACb,SAAS,CAAC;AAEd,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,sBAAsB,EACtB,kBAAkB,CAAC,SAAS,CAAC,CAarB,CAAC;AAEX,eAAO,MAAM,qBAAqB,4EAMxB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,aAAa,GACb,SAAS,CAAC;AAEd,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,sBAAsB,EACtB,kBAAkB,CAAC,SAAS,CAAC,CAarB,CAAC;AAEX,eAAO,MAAM,qBAAqB,4EAMxB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC7C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,wBAAwB,CAAC;IAChD;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,GAAG,IAAI,CACN,SAAS,EACP,aAAa,GACb,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,QAAQ,GACR,WAAW,CACd,CAAC;AA4DF,QAAA,MAAM,kBAAkB,6MA7CrB,eAAe,sDA6CyB,CAAC;AA8B5C,QAAA,MAAM,gBAAgB,sKAhBnB,eAAe,sDAgBqB,CAAC;AA4BxC,QAAA,MAAM,gBAAgB,oJAfnB,eAAe,sDAeqB,CAAC;AA4BxC,QAAA,MAAM,gBAAgB,oJAfnB,eAAe,sDAeqB,CAAC;AA4BxC,QAAA,MAAM,gBAAgB,oJAfnB,eAAe,sDAeqB,CAAC;AA4BxC,QAAA,MAAM,gBAAgB,oJAfnB,eAAe,sDAeqB,CAAC;AA4BxC,QAAA,MAAM,gBAAgB,oJAfnB,eAAe,sDAeqB,CAAC;AA4BxC,QAAA,MAAM,iBAAiB,oJAfpB,eAAe,sDAeuB,CAAC;AA4B1C,QAAA,MAAM,mBAAmB,oJAftB,eAAe,sDAe2B,CAAC;AA4B9C,QAAA,MAAM,eAAe,oJAflB,eAAe,sDAemB,CAAC;AA0BtC,QAAA,MAAM,cAAc,uIAdjB,eAAe,sDAciB,CAAC;AA0BpC,QAAA,MAAM,gBAAgB,uIAdnB,eAAe,sDAcqB,CAAC;AAGxC,OAAO,EACL,kBAAkB,IAAI,UAAU,EAChC,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,cAAc,IAAI,MAAM,EACxB,gBAAgB,IAAI,QAAQ,EAC5B,iBAAiB,IAAI,SAAS,EAC9B,mBAAmB,IAAI,WAAW,EAClC,eAAe,IAAI,OAAO,GAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../../src/labs/DatePickers/DateTimePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiBH,OAAO,EAEL,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAkCnE,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,GACrD,IAAI,CACF,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,YAAY,GACZ,YAAY,GACZ,YAAY,CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../../src/labs/DatePickers/DateTimePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiBH,OAAO,EAEL,qBAAqB,EACtB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAkCnE,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,GACrD,IAAI,CACF,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,YAAY,GACZ,YAAY,GACZ,YAAY,CACf,CAAC;AAgOJ,QAAA,MAAM,sBAAsB,0XAzMzB,mBAAmB,sDAyM6B,CAAC;AAGpD,OAAO,EAAE,sBAAsB,IAAI,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ReactNode } from "react";
|
|
13
|
+
import { type AdornmentSize, type BasePickerProps, type BasePickerType } from "./ComposablePicker.js";
|
|
14
|
+
import { type LabelDescription, type Metadata } from "./Picker.js";
|
|
15
|
+
type Adornment = ReactNode | string;
|
|
16
|
+
type ExtraType = {
|
|
17
|
+
content: ReactNode | string;
|
|
18
|
+
size?: AdornmentSize;
|
|
19
|
+
onClick: () => void;
|
|
20
|
+
};
|
|
21
|
+
type AdornmentLabelDescription = LabelDescription & {
|
|
22
|
+
adornment: Adornment;
|
|
23
|
+
extra?: ExtraType;
|
|
24
|
+
onClick?: () => void;
|
|
25
|
+
isInteractive?: boolean;
|
|
26
|
+
};
|
|
27
|
+
export type CustomOptionType = AdornmentLabelDescription & Partial<Metadata>;
|
|
28
|
+
export type SearchDropdownProps<OptionType extends CustomOptionType, HasMultipleChoices extends boolean | undefined, IsCustomValueAllowed extends boolean | undefined> = BasePickerProps<OptionType, HasMultipleChoices, IsCustomValueAllowed> & {
|
|
29
|
+
adornmentSize?: AdornmentSize;
|
|
30
|
+
};
|
|
31
|
+
declare const MemoizedSearchDropdown: BasePickerType;
|
|
32
|
+
export { MemoizedSearchDropdown as SearchDropdown };
|
|
33
|
+
//# sourceMappingURL=SearchDropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchDropdown.d.ts","sourceRoot":"","sources":["../../../../src/labs/OdysseyPickers/SearchDropdown.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAIL,SAAS,EAGV,MAAM,OAAO,CAAC;AAGf,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,uBAAuB,CAAC;AAK/B,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAMd,MAAM,aAAa,CAAC;AAGrB,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AACpC,KAAK,SAAS,GAAG;IACf,OAAO,EAAE,SAAS,GAAG,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,yBAAyB,GAAG,gBAAgB,GAAG;IAClD,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,yBAAyB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAkO7E,MAAM,MAAM,mBAAmB,CAC7B,UAAU,SAAS,gBAAgB,EACnC,kBAAkB,SAAS,OAAO,GAAG,SAAS,EAC9C,oBAAoB,SAAS,OAAO,GAAG,SAAS,IAC9C,eAAe,CAAC,UAAU,EAAE,kBAAkB,EAAE,oBAAoB,CAAC,GAAG;IAC1E,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAsHF,QAAA,MAAM,sBAAsB,EAA2B,cAAc,CAAC;AAItE,OAAO,EAAE,sBAAsB,IAAI,cAAc,EAAE,CAAC"}
|
|
@@ -12,4 +12,6 @@
|
|
|
12
12
|
export { adornmentSizeValues } from "./ComposablePicker.js";
|
|
13
13
|
export * from "./Picker.js";
|
|
14
14
|
export * from "./PickerWithOptionAdornment.js";
|
|
15
|
+
export { SearchDropdown } from "./SearchDropdown.js";
|
|
16
|
+
export type { SearchDropdownProps, CustomOptionType, } from "./SearchDropdown.js";
|
|
15
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/labs/OdysseyPickers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/labs/OdysseyPickers/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,cAAc,aAAa,CAAC;AAC5B,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EACV,mBAAmB,EACnB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NarrowUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/NarrowUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAWjD,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"NarrowUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/NarrowUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAeH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAWjD,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAwMlC,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,GAC/D,IAAI,CAAC,wBAAwB,EAAE,cAAc,GAAG,aAAa,CAAC,GAC9D,mBAAmB,CAAC;AA4MtB,QAAA,MAAM,4BAA4B,+LAjM/B,yBAAyB,sDAiMmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { SideNavLogoProps } from "./types.js";
|
|
13
|
-
declare const MemoizedSideNavLogo: import("react").MemoExoticComponent<({ imageAltText,
|
|
13
|
+
declare const MemoizedSideNavLogo: import("react").MemoExoticComponent<({ imageAltText, imageUrl, logoComponent, ...optionalProps }: SideNavLogoProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
14
14
|
export { MemoizedSideNavLogo as SideNavLogo };
|
|
15
15
|
//# sourceMappingURL=SideNavLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNavLogo.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNavLogo.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"SideNavLogo.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNavLogo.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AA8D9C,QAAA,MAAM,mBAAmB,oGAnCtB,gBAAgB,sDAmC0B,CAAC;AAG9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
|
|
@@ -11,18 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { type SetStateAction } from "react";
|
|
13
13
|
import { type ReactRootElements } from "../web-component/createReactRootElements.js";
|
|
14
|
+
import { UiShellProviderProps } from "./UiShellProvider.js";
|
|
14
15
|
import { UiShellNavComponentProps, UiShellContentProps } from "./uiShellContentTypes.js";
|
|
15
|
-
import {
|
|
16
|
+
import { MessageBus } from "./createMessageBus.js";
|
|
16
17
|
export declare const defaultComponentProps: UiShellNavComponentProps;
|
|
17
18
|
export type UiShellProps = {
|
|
18
|
-
/**
|
|
19
|
-
* Sets a custom background color for the app content area.
|
|
20
|
-
*/
|
|
21
|
-
appBackgroundColor?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Sets either a gray or white background color for the app content area.
|
|
24
|
-
*/
|
|
25
|
-
appBackgroundContrastMode?: ContrastMode;
|
|
26
19
|
/**
|
|
27
20
|
* Notifies when subscribed to prop changes.
|
|
28
21
|
*
|
|
@@ -35,15 +28,7 @@ export type UiShellProps = {
|
|
|
35
28
|
*
|
|
36
29
|
* The props coming in this callback go directly to a React state; therefore, it shares the same signature and provides a previous state.
|
|
37
30
|
*/
|
|
38
|
-
subscribeToPropChanges:
|
|
39
|
-
/**
|
|
40
|
-
* Sets a custom background color for the side nav area.
|
|
41
|
-
*/
|
|
42
|
-
sideNavBackgroundColor?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Sets a custom background color for the top nav area.
|
|
45
|
-
*/
|
|
46
|
-
topNavBackgroundColor?: string;
|
|
31
|
+
subscribeToPropChanges: MessageBus<SetStateAction<UiShellNavComponentProps>>["subscribe"];
|
|
47
32
|
/**
|
|
48
33
|
* Element inside UI Shell's React root component renders into. If using a web component, this is going to exist inside it.
|
|
49
34
|
*/
|
|
@@ -52,7 +37,7 @@ export type UiShellProps = {
|
|
|
52
37
|
* Typically, this is your `<head>` element. If using a web component, you need to create one yourself as Shadow DOM's don't have a `<head>`.
|
|
53
38
|
*/
|
|
54
39
|
uiShellStylesElement: ReactRootElements["stylesRootElement"];
|
|
55
|
-
} & Pick<UiShellContentProps, "appElement" | "appElementScrollingMode" | "hasStandardAppContentPadding" | "initialVisibleSections" | "onError" | "optionalComponents">;
|
|
56
|
-
declare const MemoizedUiShell: import("react").MemoExoticComponent<({ appBackgroundColor, appBackgroundContrastMode, appElement, appElementScrollingMode, hasStandardAppContentPadding, initialVisibleSections, onError, onSubscriptionCreated, optionalComponents, sideNavBackgroundColor, subscribeToPropChanges, topNavBackgroundColor, uiShellAppElement, uiShellStylesElement, }: UiShellProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
|
|
40
|
+
} & UiShellProviderProps & Pick<UiShellContentProps, "appElement" | "appElementScrollingMode" | "hasStandardAppContentPadding" | "initialVisibleSections" | "onError" | "optionalComponents">;
|
|
41
|
+
declare const MemoizedUiShell: import("react").MemoExoticComponent<({ appBackgroundColor, appBackgroundContrastMode, appElement, appElementScrollingMode, closeSideNavMenu, hasStandardAppContentPadding, initialVisibleSections, onError, onSubscriptionCreated, optionalComponents, sideNavBackgroundColor, subscribeToCloseRightSideMenu, subscribeToCloseSideNavMenu, subscribeToPropChanges, topNavBackgroundColor, uiShellAppElement, uiShellStylesElement, }: UiShellProps) => import("@emotion/react/jsx-runtime").JSX.Element | null>;
|
|
57
42
|
export { MemoizedUiShell as UiShell };
|
|
58
43
|
//# sourceMappingURL=UiShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiShell.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/UiShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"UiShell.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/UiShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAIrF,OAAO,EAAmB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,wBAG1B,CAAC;AAIX,MAAM,MAAM,YAAY,GAAG;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,IAAI,CAAC;IAClC;;;;;OAKG;IACH,sBAAsB,EAAE,UAAU,CAChC,cAAc,CAAC,wBAAwB,CAAC,CACzC,CAAC,WAAW,CAAC,CAAC;IACf;;OAEG;IACH,iBAAiB,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACvD;;OAEG;IACH,oBAAoB,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;CAC9D,GAAG,oBAAoB,GACtB,IAAI,CACF,mBAAmB,EACjB,YAAY,GACZ,yBAAyB,GACzB,8BAA8B,GAC9B,wBAAwB,GACxB,SAAS,GACT,oBAAoB,CACvB,CAAC;AA8GJ,QAAA,MAAM,eAAe,waAnFlB,YAAY,6DAmFsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -12,20 +12,47 @@
|
|
|
12
12
|
import { PropsWithChildren } from "react";
|
|
13
13
|
import { ContrastColors } from "../createContrastColors.js";
|
|
14
14
|
import { MessageBus } from "./createMessageBus.js";
|
|
15
|
+
import { ContrastMode } from "../useContrastMode.js";
|
|
16
|
+
export declare const defaultCloseSideNavMessageBus: MessageBus<void>;
|
|
17
|
+
export declare const defaultSubscribeToCloseRightSideMenu: () => () => void;
|
|
15
18
|
export type UiShellColors = {
|
|
19
|
+
/**
|
|
20
|
+
* Sets a custom background color for the app content area.
|
|
21
|
+
*/
|
|
16
22
|
appBackgroundColor: string;
|
|
23
|
+
/**
|
|
24
|
+
* Sets a custom background color for the side nav area.
|
|
25
|
+
*/
|
|
17
26
|
sideNavBackgroundColor: string;
|
|
18
|
-
sideNavContrastColors?: ContrastColors
|
|
27
|
+
sideNavContrastColors?: ContrastColors;
|
|
28
|
+
/**
|
|
29
|
+
* Sets a custom background color for the top nav area.
|
|
30
|
+
*/
|
|
19
31
|
topNavBackgroundColor: string;
|
|
20
32
|
};
|
|
21
33
|
export type UiShellContext = {
|
|
22
|
-
|
|
23
|
-
|
|
34
|
+
/**
|
|
35
|
+
* This is a callback that publishes a change to all subscribers listening for when to close the side nav.
|
|
36
|
+
*/
|
|
37
|
+
closeSideNavMenu: MessageBus<void>["publish"];
|
|
38
|
+
/**
|
|
39
|
+
* This is a callback that provides a subscriber callback to listen for changes to state.
|
|
40
|
+
* It allows UI Shell to listen for a publisher that asks us to close the side nav.
|
|
41
|
+
*/
|
|
42
|
+
subscribeToCloseSideNavMenu: MessageBus<void>["subscribe"];
|
|
43
|
+
/**
|
|
44
|
+
* This is a callback that provides a subscriber callback to listen for changes to state.
|
|
45
|
+
* It allows UI Shell to listen for a publisher that asks us to close the right-side menu.
|
|
46
|
+
*/
|
|
47
|
+
subscribeToCloseRightSideMenu: MessageBus<void>["subscribe"];
|
|
24
48
|
} & UiShellColors;
|
|
25
49
|
export declare const useUiShellContext: () => UiShellContext | undefined;
|
|
26
50
|
export type UiShellProviderProps = {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Sets either a gray or white background color for the app content area.
|
|
53
|
+
*/
|
|
54
|
+
appBackgroundContrastMode?: ContrastMode;
|
|
55
|
+
} & Partial<UiShellContext>;
|
|
56
|
+
declare const MemoizedUiShellProvider: import("react").MemoExoticComponent<({ appBackgroundColor, appBackgroundContrastMode, children, closeSideNavMenu, sideNavBackgroundColor, subscribeToCloseRightSideMenu, subscribeToCloseSideNavMenu, topNavBackgroundColor, }: PropsWithChildren<UiShellProviderProps>) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
30
57
|
export { MemoizedUiShellProvider as UiShellProvider };
|
|
31
58
|
//# sourceMappingURL=UiShellProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiShellProvider.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/UiShellProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAGL,iBAAiB,EAGlB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,cAAc,EAEf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAoB,UAAU,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"UiShellProvider.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/UiShellProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAGL,iBAAiB,EAGlB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,cAAc,EAEf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAoB,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,eAAO,MAAM,6BAA6B,kBAAqB,CAAC;AAChE,eAAO,MAAM,oCAAoC,kBAAiB,CAAC;AAEnE,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,cAAc,CAAC;IACvC;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,gBAAgB,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;IAC9C;;;OAGG;IACH,2BAA2B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC;IAC3D;;;OAGG;IACH,6BAA6B,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC;CAC9D,GAAG,aAAa,CAAC;AAIlB,eAAO,MAAM,iBAAiB,kCAE7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,yBAAyB,CAAC,EAAE,YAAY,CAAC;CAC1C,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAqE5B,QAAA,MAAM,uBAAuB,kOA1D1B,iBAAiB,CAAC,oBAAoB,CAAC,sDA0DW,CAAC;AAEtD,OAAO,EAAE,uBAAuB,IAAI,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WideUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/WideUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAWH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"WideUiShellContent.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/WideUiShellContent.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAWH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,EACpB,MAAM,0BAA0B,CAAC;AAqDlC,MAAM,MAAM,uBAAuB,GAAG,wBAAwB,GAC5D,mBAAmB,CAAC;AAwItB,QAAA,MAAM,0BAA0B,iNArH7B,uBAAuB,sDAqHiC,CAAC;AAG5D,OAAO,EAAE,0BAA0B,IAAI,kBAAkB,EAAE,CAAC"}
|
|
@@ -33,6 +33,8 @@ export declare const renderUiShell: ({ appBackgroundColor, appBackgroundContrast
|
|
|
33
33
|
parentElement: HTMLElement;
|
|
34
34
|
} & Pick<UiShellProps, "appBackgroundColor" | "appBackgroundContrastMode" | "appElementScrollingMode" | "hasStandardAppContentPadding" | "initialVisibleSections" | "sideNavBackgroundColor" | "topNavBackgroundColor"> & Partial<Pick<UiShellProps, "appElement">>) => {
|
|
35
35
|
appElement: HTMLDivElement;
|
|
36
|
+
closeRightSideMenu: import("./createMessageBus.js").PublishMessage<void>;
|
|
37
|
+
closeSideNavMenu: import("./createMessageBus.js").PublishMessage<void>;
|
|
36
38
|
setComponentProps: (value: SetStateAction<UiShellNavComponentProps>) => void;
|
|
37
39
|
slottedElements: Record<"banners" | "topNavLeftSide" | "sideNavFooter" | "rightSideMenu" | "topNavRightSide", HTMLDivElement>;
|
|
38
40
|
uiShellElement: import("../web-component/renderReactInWebComponent.js").ReactInWebComponentElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderUiShell.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/renderUiShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,EAAW,YAAY,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAIpE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAC7C,MAAM,QAAQ,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,EAClD,MAAM,CAOP,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,6OAWvB;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,WAAW,CAAC;CAC5B,GAAG,IAAI,CACN,YAAY,EACV,oBAAoB,GACpB,2BAA2B,GAC3B,yBAAyB,GACzB,8BAA8B,GAC9B,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,CAC1B,GACC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"renderUiShell.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/renderUiShell.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,EAAW,YAAY,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AAIpE,eAAO,MAAM,0BAA0B,EAAE,MAAM,CAC7C,MAAM,QAAQ,CAAC,YAAY,CAAC,CAAC,oBAAoB,CAAC,EAClD,MAAM,CAOP,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,6OAWvB;IACD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,WAAW,CAAC;CAC5B,GAAG,IAAI,CACN,YAAY,EACV,oBAAoB,GACpB,2BAA2B,GAC3B,yBAAyB,GACzB,8BAA8B,GAC9B,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,CAC1B,GACC,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;;;;;;CA0F1C,CAAC"}
|
|
@@ -14,4 +14,5 @@ export declare const SIDE_NAV_WIDTH = "300px";
|
|
|
14
14
|
export declare const TOP_NAV_HEIGHT = "4.571428571428571rem";
|
|
15
15
|
export declare const UI_SHELL_BASE_Z_INDEX = 100;
|
|
16
16
|
export declare const UI_SHELL_OVERLAY_Z_INDEX = 200;
|
|
17
|
+
export declare const emptySideNavItems: never[];
|
|
17
18
|
//# sourceMappingURL=uiShellSharedConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uiShellSharedConstants.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/uiShellSharedConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"uiShellSharedConstants.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/uiShellSharedConstants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAQH,eAAO,MAAM,wCAAwC,SAAS,CAAC;AAE/D,eAAO,MAAM,cAAc,UAAU,CAAC;AAEtC,eAAO,MAAM,cAAc,yBAAkB,CAAC;AAE9C,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,eAAO,MAAM,iBAAiB,SAA4C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okta/odyssey-react-mui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"description": "React MUI components for Odyssey, Okta's design system",
|
|
5
5
|
"author": "Okta, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@mui/system": "^5.16.14",
|
|
119
119
|
"@mui/utils": "^5.16.14",
|
|
120
120
|
"@mui/x-date-pickers": "^7.2.0",
|
|
121
|
-
"@okta/odyssey-design-tokens": "1.
|
|
121
|
+
"@okta/odyssey-design-tokens": "1.35.0",
|
|
122
122
|
"@types/luxon": "^3.4.2",
|
|
123
123
|
"date-fns": "^2.30.0",
|
|
124
124
|
"dom-accessibility-api": "^0.7.0",
|
|
@@ -136,8 +136,7 @@
|
|
|
136
136
|
"@babel/preset-env": "^7.26.0",
|
|
137
137
|
"@babel/preset-react": "^7.26.3",
|
|
138
138
|
"@babel/preset-typescript": "^7.26.0",
|
|
139
|
-
"@
|
|
140
|
-
"@okta/browserslist-config-odyssey": "1.33.0",
|
|
139
|
+
"@okta/browserslist-config-odyssey": "1.35.0",
|
|
141
140
|
"@okta/odyssey-icons": "workspace:*",
|
|
142
141
|
"@okta/odyssey-typescript": "workspace:*",
|
|
143
142
|
"@svgr/cli": "^7.0.0",
|
|
@@ -157,6 +156,7 @@
|
|
|
157
156
|
"babel-plugin-replace-import-extension": "^1.1.4",
|
|
158
157
|
"chokidar-cli": "^3.0.0",
|
|
159
158
|
"concurrently": "^8.2.2",
|
|
159
|
+
"happy-dom": "^17.1.9",
|
|
160
160
|
"jest-axe": "^5.0.1",
|
|
161
161
|
"properties": "1.2.1",
|
|
162
162
|
"react": "^18.3.1",
|
|
@@ -166,12 +166,12 @@
|
|
|
166
166
|
"tsd": "^0.31.2",
|
|
167
167
|
"tsx": "^4.7.3",
|
|
168
168
|
"typescript": "^5.6.3",
|
|
169
|
-
"vitest": "^
|
|
169
|
+
"vitest": "^3.0.7",
|
|
170
170
|
"yargs": "^17.7.2"
|
|
171
171
|
},
|
|
172
172
|
"peerDependencies": {
|
|
173
173
|
"react": "^18.3.1",
|
|
174
174
|
"react-dom": "^18.3.1"
|
|
175
175
|
},
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "607600137fd7b41089a3f81c10dcd1e4ad479853"
|
|
177
177
|
}
|