@okta/odyssey-react-mui 1.35.4 → 1.36.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/dist/cjs/StringWithValue.cjs.map +1 -0
- package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
- package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -0
- package/dist/cjs/ui-shell/InnerAppContainer.cjs.map +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -2
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs +88 -59
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/types.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.cjs +26 -0
- package/dist/cjs/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.cjs.map +1 -0
- package/dist/cjs/ui-shell/index.cjs +8 -1
- package/dist/cjs/ui-shell/index.cjs.map +1 -1
- package/dist/cjs/useMountLifecycleEffect.cjs +36 -0
- package/dist/cjs/useMountLifecycleEffect.cjs.map +1 -0
- package/dist/cjs/useSessionStorageState.cjs +64 -0
- package/dist/cjs/useSessionStorageState.cjs.map +1 -0
- package/dist/{index.js → cjs/web-component/odysseyWebComponentVersion.generated.cjs} +8 -14
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -0
- package/dist/cjs/web-component/renderReactInWebComponent.cjs +53 -19
- package/dist/cjs/web-component/renderReactInWebComponent.cjs.map +1 -1
- package/dist/esm/StringWithValue.js.map +1 -0
- package/dist/esm/theme/useMediaQuery.js.map +1 -1
- package/dist/esm/ui-shell/InnerAppContainer.js +1 -0
- package/dist/esm/ui-shell/InnerAppContainer.js.map +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -2
- package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNav.js +88 -59
- package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/types.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.js +19 -0
- package/dist/esm/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.js.map +1 -0
- package/dist/esm/ui-shell/index.js +1 -1
- package/dist/esm/ui-shell/index.js.map +1 -1
- package/dist/esm/useMountLifecycleEffect.js +29 -0
- package/dist/esm/useMountLifecycleEffect.js.map +1 -0
- package/dist/esm/useSessionStorageState.js +56 -0
- package/dist/esm/useSessionStorageState.js.map +1 -0
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +12 -0
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -0
- package/dist/esm/web-component/renderReactInWebComponent.js +49 -17
- package/dist/esm/web-component/renderReactInWebComponent.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/StringWithValue.d.ts.map +1 -0
- package/dist/types/theme/useMediaQuery.d.ts +1 -1
- package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
- package/dist/types/ui-shell/InnerAppContainer.d.ts.map +1 -1
- package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/types.d.ts +13 -4
- package/dist/types/ui-shell/SideNav/types.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.d.ts +17 -0
- package/dist/types/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.d.ts.map +1 -0
- package/dist/types/ui-shell/index.d.ts +1 -1
- package/dist/types/ui-shell/index.d.ts.map +1 -1
- package/dist/types/ui-shell/renderUiShell.d.ts +1 -1
- package/dist/types/useMountLifecycleEffect.d.ts +16 -0
- package/dist/types/useMountLifecycleEffect.d.ts.map +1 -0
- package/dist/types/useSessionStorageState.d.ts +20 -0
- package/dist/types/useSessionStorageState.d.ts.map +1 -0
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +19 -0
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts.map +1 -0
- package/dist/types/web-component/renderReactInWebComponent.d.ts +29 -7
- package/dist/types/web-component/renderReactInWebComponent.d.ts.map +1 -1
- package/package.json +6 -5
- package/dist/cjs/theme/StringWithValue.cjs.map +0 -1
- package/dist/esm/theme/StringWithValue.js.map +0 -1
- package/dist/index.cjs +0 -231
- package/dist/index.d.ts +0 -22
- package/dist/index.d.ts.map +0 -1
- package/dist/index.mjs +0 -229
- package/dist/index.scss +0 -549
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/theme/StringWithValue.d.ts.map +0 -1
- /package/dist/cjs/{theme/StringWithValue.cjs → StringWithValue.cjs} +0 -0
- /package/dist/esm/{theme/StringWithValue.js → StringWithValue.js} +0 -0
- /package/dist/types/{theme/StringWithValue.d.ts → StringWithValue.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringWithValue.d.ts","sourceRoot":"","sources":["../../src/StringWithValue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,EAAE,GAAG,KAAK,GAAG,CAAC,CAAC"}
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import { StringWithValue } from "
|
|
12
|
+
import { StringWithValue } from "../StringWithValue.js";
|
|
13
13
|
export declare const useMediaQuery: <MediaQuery extends string>(mediaQuery: StringWithValue<MediaQuery>) => boolean;
|
|
14
14
|
//# sourceMappingURL=useMediaQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../../src/theme/useMediaQuery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useMediaQuery.d.ts","sourceRoot":"","sources":["../../../src/theme/useMediaQuery.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,eAAO,MAAM,aAAa,GAAI,UAAU,SAAS,MAAM,cACzC,eAAe,CAAC,UAAU,CAAC,YA0BxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InnerAppContainer.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/InnerAppContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"InnerAppContainer.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/InnerAppContainer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAgBH,eAAO,MAAM,yBAAyB;;eAkDkrF,WAAW;;;UAzCluF,CAAC;AAEF,eAAO,MAAM,yBAAyB;;eAuCkrF,WAAW;;;UA9BluF,CAAC;AAEF,eAAO,MAAM,yBAAyB;;eA4BkrF,WAAW;;;UAnBluF,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAWF,QAAA,MAAM,yBAAyB,8DATmB,sBAAsB,6DASf,CAAC;AAG1D,OAAO,EAAE,yBAAyB,IAAI,iBAAiB,EAAE,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;AAYjD,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;AAYjD,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;AA8MtB,QAAA,MAAM,4BAA4B,+LAnM/B,yBAAyB,sDAmMmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AA2BH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AA6B/C,eAAO,MAAM,sCAAsC,KAAK,CAAC;AACzD,eAAO,MAAM,wCAAwC,IAAI,CAAC;AA24B1D,QAAA,MAAM,eAAe,0NAhiBlB,YAAY,sDAgiBsB,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -181,10 +181,6 @@ export type SideNavItem = {
|
|
|
181
181
|
isExpanded?: never;
|
|
182
182
|
isSectionHeader?: never;
|
|
183
183
|
} | {
|
|
184
|
-
/**
|
|
185
|
-
* An array of side nav items to be displayed as nestedNavItems within Accordion
|
|
186
|
-
*/
|
|
187
|
-
nestedNavItems: Array<Omit<SideNavItem, "nestedNavItems" | "startIcon">>;
|
|
188
184
|
href?: never;
|
|
189
185
|
/**
|
|
190
186
|
* Whether the accordion (nav item with nestedNavItems) is expanded by default
|
|
@@ -199,6 +195,19 @@ export type SideNavItem = {
|
|
|
199
195
|
* If true, enables sorting for the accordion items
|
|
200
196
|
*/
|
|
201
197
|
isSectionHeader?: never;
|
|
198
|
+
/**
|
|
199
|
+
* An array of side nav items to be displayed as nestedNavItems within Accordion
|
|
200
|
+
*/
|
|
201
|
+
nestedNavItems: Array<Omit<SideNavItem, "nestedNavItems" | "startIcon">>;
|
|
202
|
+
} | {
|
|
203
|
+
href: string;
|
|
204
|
+
isDefaultExpanded?: never;
|
|
205
|
+
isExpanded?: never;
|
|
206
|
+
isSectionHeader?: never;
|
|
207
|
+
/**
|
|
208
|
+
* An array of side nav items to be displayed as nestedNavItems within Accordion
|
|
209
|
+
*/
|
|
210
|
+
nestedNavItems: Array<Omit<SideNavItem, "nestedNavItems" | "startIcon">>;
|
|
202
211
|
}) & Pick<HtmlProps, "translate">;
|
|
203
212
|
export type SideNavFooterItem = {
|
|
204
213
|
href?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM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CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACE,IAAI,CAAC,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC;CAC1E,GACD;IACE,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC;CAC1E,CACJ,GACC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAE/B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2025-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 declare const sessionStorageKey = "__uiShell-sideNav-isCollapsed";
|
|
13
|
+
export declare const useIsSideNavCollapsedSessionStorage: (isSideNavInitiallyCollapsed: boolean) => {
|
|
14
|
+
sessionState: boolean;
|
|
15
|
+
setSessionState: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useIsSideNavCollapsedSessionStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useIsSideNavCollapsedSessionStorage.d.ts","sourceRoot":"","sources":["../../../../src/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,eAAO,MAAM,iBAAiB,kCAAkC,CAAC;AAEjE,eAAO,MAAM,mCAAmC,gCACjB,OAAO;;;CAKlC,CAAC"}
|
|
@@ -20,5 +20,5 @@ export * from "./useHasUiShell.js";
|
|
|
20
20
|
export * from "./WideUiShellContent.js";
|
|
21
21
|
export * from "../web-component/renderReactInWebComponent.js";
|
|
22
22
|
export { UiShell, type UiShellProps } from "./UiShell.js";
|
|
23
|
-
export { adminAppUiShellBreakpoints } from "./useUiShellBreakpoints.js";
|
|
23
|
+
export { adminAppUiShellBreakpoints, useUiShellBreakpoints, } from "./useUiShellBreakpoints.js";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AAExC,cAAc,+CAA+C,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui-shell/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AAExC,cAAc,+CAA+C,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,4BAA4B,CAAC"}
|
|
@@ -37,6 +37,6 @@ export declare const renderUiShell: ({ appBackgroundColor, appBackgroundContrast
|
|
|
37
37
|
closeSideNavMenu: import("./createMessageBus.js").PublishMessage<void>;
|
|
38
38
|
setComponentProps: (value: SetStateAction<UiShellNavComponentProps>) => void;
|
|
39
39
|
slottedElements: Record<"banners" | "topNavLeftSide" | "sideNavFooter" | "rightSideMenu" | "topNavRightSide", HTMLDivElement>;
|
|
40
|
-
uiShellElement: import("../web-component/renderReactInWebComponent.js").
|
|
40
|
+
uiShellElement: import("../web-component/renderReactInWebComponent.js").WebComponentClass;
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=renderUiShell.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2025-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 declare const useMountLifecycleEffect: ({ onMount, onUpdate, }: {
|
|
13
|
+
onMount?: () => void;
|
|
14
|
+
onUpdate?: () => void;
|
|
15
|
+
}) => void;
|
|
16
|
+
//# sourceMappingURL=useMountLifecycleEffect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMountLifecycleEffect.d.ts","sourceRoot":"","sources":["../../src/useMountLifecycleEffect.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,eAAO,MAAM,uBAAuB,2BAGjC;IACD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,SAYA,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2025-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 declare const getSessionStorageValue: <Value>(key: string) => Value | null;
|
|
13
|
+
export declare const useSessionStorageState: <Value>({ initialState, key, }: {
|
|
14
|
+
initialState: Value;
|
|
15
|
+
key: string;
|
|
16
|
+
}) => {
|
|
17
|
+
sessionState: Value;
|
|
18
|
+
setSessionState: import("react").Dispatch<import("react").SetStateAction<Value>>;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=useSessionStorageState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSessionStorageState.d.ts","sourceRoot":"","sources":["../../src/useSessionStorageState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,eAAO,MAAM,sBAAsB,GAAI,KAAK,OAAO,MAAM,KAAG,KAAK,GAAG,IAgBnE,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,KAAK,0BAGzC;IACD,YAAY,EAAE,KAAK,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb;;;CAuCA,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2024-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* DO NOT UPDATE THIS FILE MANUALLY
|
|
14
|
+
* This file is managed by scripts/updateWebComponentVersion.ts and any changes made will be overwritten
|
|
15
|
+
* This script only needs to be run during release, and shouldn't be used during local development.
|
|
16
|
+
*/
|
|
17
|
+
declare const _default: "1-36-1";
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=odysseyWebComponentVersion.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odysseyWebComponentVersion.generated.d.ts","sourceRoot":"","sources":["../../../src/web-component/odysseyWebComponentVersion.generated.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH;;;;GAIG;;AACH,wBAAwB"}
|
|
@@ -12,21 +12,43 @@
|
|
|
12
12
|
import { type ReactNode } from "react";
|
|
13
13
|
import type { Root } from "react-dom/client";
|
|
14
14
|
import { type ReactRootElements } from "./createReactRootElements.js";
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
interface GetReactWebComponentOptions {
|
|
16
|
+
webComponentName?: string;
|
|
17
|
+
getReactComponent: (reactRootElements: ReactRootElements) => ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export declare const webComponentDataAttributeName = "data-odyssey-react-web-component";
|
|
20
|
+
export declare const versionedWebComponentName: string;
|
|
17
21
|
declare const SsrFriendlyHtmlElementClass: {
|
|
18
22
|
new (): HTMLElement;
|
|
19
23
|
prototype: HTMLElement;
|
|
20
24
|
};
|
|
21
|
-
export declare class
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
export declare class WebComponentClass extends SsrFriendlyHtmlElementClass {
|
|
26
|
+
#private;
|
|
27
|
+
readonly elementName: string;
|
|
24
28
|
reactRootPromise: Promise<Root | null>;
|
|
25
|
-
constructor(
|
|
29
|
+
constructor();
|
|
30
|
+
/**
|
|
31
|
+
* Provides the function used to initialize react content that is specific to this instance
|
|
32
|
+
* of the web component, which is used later in the connectedCallback.
|
|
33
|
+
*
|
|
34
|
+
* Always set immediately after creation via document.createElement
|
|
35
|
+
*/
|
|
36
|
+
setGetReactComponent(getReactComponent: GetReactComponentInWebComponent): void;
|
|
26
37
|
connectedCallback(): void;
|
|
27
38
|
disconnectedCallback(): void;
|
|
28
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns a constructed web component which manages it's own shadow dom and react dom roots
|
|
42
|
+
* A custom name can be specified, otherwise a default is provided
|
|
43
|
+
*/
|
|
44
|
+
export declare const getReactWebComponent: ({ webComponentName, getReactComponent, }: GetReactWebComponentOptions) => WebComponentClass;
|
|
45
|
+
export type GetReactComponentInWebComponent = (reactRootElements: ReactRootElements) => ReactNode;
|
|
29
46
|
export type RenderReactInWebComponentProps = {
|
|
47
|
+
/**
|
|
48
|
+
* Optional name given to this web component.
|
|
49
|
+
* Defaults to a 'odyssey-react-wc-' plus the current odyssey version
|
|
50
|
+
*/
|
|
51
|
+
webComponentName?: string;
|
|
30
52
|
/**
|
|
31
53
|
* This is a callback function for rendering your React component or app in the Web Component.
|
|
32
54
|
* It gives you access to the Shadow DOM elements if you need them for Odyssey, Emotion, or MUI.
|
|
@@ -64,6 +86,6 @@ export type RenderReactInWebComponentProps = {
|
|
|
64
86
|
*
|
|
65
87
|
* This is useful when global styles are causing conflicts with your React components.
|
|
66
88
|
*/
|
|
67
|
-
export declare const renderReactInWebComponent: ({ getReactComponent, webComponentChildren, webComponentParentElement, webComponentRootElement, }: RenderReactInWebComponentProps) =>
|
|
89
|
+
export declare const renderReactInWebComponent: ({ webComponentName, getReactComponent, webComponentChildren, webComponentParentElement, webComponentRootElement, }: RenderReactInWebComponentProps) => WebComponentClass;
|
|
68
90
|
export {};
|
|
69
91
|
//# sourceMappingURL=renderReactInWebComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderReactInWebComponent.d.ts","sourceRoot":"","sources":["../../../src/web-component/renderReactInWebComponent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"renderReactInWebComponent.d.ts","sourceRoot":"","sources":["../../../src/web-component/renderReactInWebComponent.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xC;;OAEG;IACH,uBAAuB,EAAE,WAAW,CAAC;CACtC,CACJ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,uHAMnC,8BAA8B,sBAwBhC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okta/odyssey-react-mui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.1",
|
|
4
4
|
"description": "React MUI components for Odyssey, Okta's design system",
|
|
5
5
|
"author": "Okta, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"ci:coverage": "NODE_ENV=test yarn vitest run --coverage --reporter=default",
|
|
90
90
|
"dev:coverage": "NODE_ENV=test yarn vitest --coverage",
|
|
91
91
|
"dev:source": "yarn build:source:esm --watch",
|
|
92
|
-
"dev:test": "NODE_ENV=test vitest",
|
|
92
|
+
"dev:test": "NODE_ENV=test vitest --reporter=verbose",
|
|
93
93
|
"dev:translationsJson": "yarn build:translationsJson --watch",
|
|
94
94
|
"dev:types": "yarn build:types --watch",
|
|
95
95
|
"dev": "yarn concurrently npm:dev:translationsJson npm:dev:types npm:dev:source",
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"generate:icons:components": "svgr ../odyssey-icons/dist/icons --out-dir ./src/icons.generated",
|
|
98
98
|
"generate:icons:index": "tsx scripts/generateIconsIndex.ts",
|
|
99
99
|
"generate:icons": "yarn generate:icons:clean && yarn generate:icons:components && yarn generate:icons:index",
|
|
100
|
+
"generate:webComponentVersion": "tsx scripts/updateWebComponentVersion.ts",
|
|
100
101
|
"playwright-install": "NODE_TLS_REJECT_UNAUTHORIZED=0 yarn playwright install --with-deps chromium",
|
|
101
102
|
"test": "NODE_ENV=test vitest run --reporter=default",
|
|
102
103
|
"typecheck": "tsc --noEmit --rootDir ./"
|
|
@@ -119,7 +120,7 @@
|
|
|
119
120
|
"@mui/system": "^5.17.1",
|
|
120
121
|
"@mui/utils": "^5.17.1",
|
|
121
122
|
"@mui/x-date-pickers": "^7.2.0",
|
|
122
|
-
"@okta/odyssey-design-tokens": "1.
|
|
123
|
+
"@okta/odyssey-design-tokens": "1.36.1",
|
|
123
124
|
"@types/luxon": "^3.4.2",
|
|
124
125
|
"date-fns": "^2.30.0",
|
|
125
126
|
"dom-accessibility-api": "^0.7.0",
|
|
@@ -137,7 +138,7 @@
|
|
|
137
138
|
"@babel/preset-env": "^7.26.0",
|
|
138
139
|
"@babel/preset-react": "^7.26.3",
|
|
139
140
|
"@babel/preset-typescript": "^7.26.0",
|
|
140
|
-
"@okta/browserslist-config-odyssey": "1.
|
|
141
|
+
"@okta/browserslist-config-odyssey": "1.36.1",
|
|
141
142
|
"@okta/odyssey-icons": "workspace:*",
|
|
142
143
|
"@okta/odyssey-typescript": "workspace:*",
|
|
143
144
|
"@svgr/cli": "^7.0.0",
|
|
@@ -176,5 +177,5 @@
|
|
|
176
177
|
"react": "^18.3.1",
|
|
177
178
|
"react-dom": "^18.3.1"
|
|
178
179
|
},
|
|
179
|
-
"gitHead": "
|
|
180
|
+
"gitHead": "b02afd7c90f3279d9dfc70225f31968f380ecda6"
|
|
180
181
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StringWithValue.cjs","names":[],"sources":["../../../src/theme/StringWithValue.ts"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 type StringWithValue<T extends string> = T extends \"\" ? never : T;\n"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StringWithValue.js","names":[],"sources":["../../../src/theme/StringWithValue.ts"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 type StringWithValue<T extends string> = T extends \"\" ? never : T;\n"],"mappings":"","ignoreList":[]}
|
package/dist/index.cjs
DELETED
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Mon, 21 Apr 2025 18:11:08 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
"BorderColorControl": "#8d8d8d",
|
|
8
|
-
"BorderColorDisplay": "#e1e1e1",
|
|
9
|
-
"BorderColorDisabled": "#e1e1e1",
|
|
10
|
-
"BorderColorDangerLight": "#fe8f7a",
|
|
11
|
-
"BorderColorDangerControl": "#e72500",
|
|
12
|
-
"BorderColorDangerDark": "#951800",
|
|
13
|
-
"BorderColorPrimaryControl": "#546be7",
|
|
14
|
-
"BorderColorPrimaryDark": "#2e40a5",
|
|
15
|
-
"BorderRadiusTight": "4px",
|
|
16
|
-
"BorderRadiusMain": "6px",
|
|
17
|
-
"BorderRadiusOuter": "12px",
|
|
18
|
-
"BorderRadiusRound": "1.5em",
|
|
19
|
-
"BorderStyleMain": "solid",
|
|
20
|
-
"BorderWidthMain": "1px",
|
|
21
|
-
"BorderWidthHeavy": "1.5px",
|
|
22
|
-
"DepthLow": "0px 1px 2px 0px rgba(39, 39, 39, 0.07)",
|
|
23
|
-
"DepthMedium": "0px 1px 4px 0px rgba(39, 39, 39, 0.08), 0px 4px 6px 0px rgba(39, 39, 39, 0.01), 0px 5px 15px 0px rgba(39, 39, 39, 0.05)",
|
|
24
|
-
"DepthHigh": "0px 1px 4px 0px rgba(39, 39, 39, 0.08), 0px 4px 10px 0px rgba(39, 39, 39, 0.08), 0px 8px 30px 0px rgba(39, 39, 39, 0.10)",
|
|
25
|
-
"FocusOutlineColorPrimary": "#546be7",
|
|
26
|
-
"FocusOutlineColorDanger": "#e72500",
|
|
27
|
-
"FocusOutlineOffsetMain": "2px",
|
|
28
|
-
"FocusOutlineOffsetTight": "0",
|
|
29
|
-
"FocusOutlineStyle": "solid",
|
|
30
|
-
"FocusOutlineWidthMain": "2px",
|
|
31
|
-
"FocusOutlineWidthTight": "1px",
|
|
32
|
-
"HueNeutral50": "#f4f4f4",
|
|
33
|
-
"HueNeutral100": "#ededed",
|
|
34
|
-
"HueNeutral200": "#e1e1e1",
|
|
35
|
-
"HueNeutral300": "#cbcbcb",
|
|
36
|
-
"HueNeutral400": "#aeaeae",
|
|
37
|
-
"HueNeutral500": "#8d8d8d",
|
|
38
|
-
"HueNeutral600": "#6e6e6e",
|
|
39
|
-
"HueNeutral700": "#4b4b4b",
|
|
40
|
-
"HueNeutral800": "#383838",
|
|
41
|
-
"HueNeutral900": "#272727",
|
|
42
|
-
"HueNeutralWhite": "#ffffff",
|
|
43
|
-
"HueBlue50": "#f2f3fd",
|
|
44
|
-
"HueBlue100": "#dbe0fa",
|
|
45
|
-
"HueBlue200": "#c1c9f6",
|
|
46
|
-
"HueBlue300": "#9daaf1",
|
|
47
|
-
"HueBlue400": "#7286eb",
|
|
48
|
-
"HueBlue500": "#546be7",
|
|
49
|
-
"HueBlue600": "#4C64E1",
|
|
50
|
-
"HueBlue700": "#2e40a5",
|
|
51
|
-
"HueBlue800": "#22307c",
|
|
52
|
-
"HueBlue900": "#182257",
|
|
53
|
-
"HueGreen50": "#defae7",
|
|
54
|
-
"HueGreen100": "#94f5b3",
|
|
55
|
-
"HueGreen200": "#7be09e",
|
|
56
|
-
"HueGreen300": "#59c282",
|
|
57
|
-
"HueGreen400": "#31a061",
|
|
58
|
-
"HueGreen500": "#16884a",
|
|
59
|
-
"HueGreen600": "#197f48",
|
|
60
|
-
"HueGreen700": "#0e562f",
|
|
61
|
-
"HueGreen800": "#0a4023",
|
|
62
|
-
"HueGreen900": "#072e19",
|
|
63
|
-
"HueRed50": "#fff0ee",
|
|
64
|
-
"HueRed100": "#ffd8d1",
|
|
65
|
-
"HueRed200": "#febbae",
|
|
66
|
-
"HueRed300": "#fe8f7a",
|
|
67
|
-
"HueRed400": "#fd4e2d",
|
|
68
|
-
"HueRed500": "#e72500",
|
|
69
|
-
"HueRed600": "#d92300",
|
|
70
|
-
"HueRed700": "#951800",
|
|
71
|
-
"HueRed800": "#711200",
|
|
72
|
-
"HueRed900": "#500d00",
|
|
73
|
-
"HueYellow50": "#fdfad9",
|
|
74
|
-
"HueYellow100": "#ffe01a",
|
|
75
|
-
"HueYellow200": "#f9c503",
|
|
76
|
-
"HueYellow300": "#eb9e05",
|
|
77
|
-
"HueYellow400": "#bf8004",
|
|
78
|
-
"HueYellow500": "#a16c03",
|
|
79
|
-
"HueYellow600": "#966603",
|
|
80
|
-
"HueYellow700": "#664402",
|
|
81
|
-
"HueYellow800": "#4c3302",
|
|
82
|
-
"HueYellow900": "#352401",
|
|
83
|
-
"HueAccentOne50": "#F5F2FD",
|
|
84
|
-
"HueAccentOne100": "#E4DFF1",
|
|
85
|
-
"HueAccentOne200": "#D2C2FF",
|
|
86
|
-
"HueAccentOne300": "#B89FFE",
|
|
87
|
-
"HueAccentOne400": "#9777F9",
|
|
88
|
-
"HueAccentOne500": "#8951FB",
|
|
89
|
-
"HueAccentOne600": "#6E47C9",
|
|
90
|
-
"HueAccentOne700": "#5227BE",
|
|
91
|
-
"HueAccentOne800": "#401895",
|
|
92
|
-
"HueAccentOne900": "#2B0679",
|
|
93
|
-
"HueAccentTwo50": "#FCF2E8",
|
|
94
|
-
"HueAccentTwo100": "#F7DCD6",
|
|
95
|
-
"HueAccentTwo200": "#F2C299",
|
|
96
|
-
"HueAccentTwo300": "#ED9B58",
|
|
97
|
-
"HueAccentTwo400": "#E06C07",
|
|
98
|
-
"HueAccentTwo500": "#C25608",
|
|
99
|
-
"HueAccentTwo600": "#964E1E",
|
|
100
|
-
"HueAccentTwo700": "#964E1E",
|
|
101
|
-
"HueAccentTwo800": "#50301B",
|
|
102
|
-
"HueAccentTwo900": "#3E1F09",
|
|
103
|
-
"HueAccentThree50": "#E1F7F7",
|
|
104
|
-
"HueAccentThree100": "#BCEBEA",
|
|
105
|
-
"HueAccentThree200": "#89D9D9",
|
|
106
|
-
"HueAccentThree300": "#5CBDBD",
|
|
107
|
-
"HueAccentThree400": "#269C9C",
|
|
108
|
-
"HueAccentThree500": "#008585",
|
|
109
|
-
"HueAccentThree600": "#1B6C6C",
|
|
110
|
-
"HueAccentThree700": "#255157",
|
|
111
|
-
"HueAccentThree800": "#1C3D3D",
|
|
112
|
-
"HueAccentThree900": "#12282B",
|
|
113
|
-
"HueAccentFour50": "#FFF2E6",
|
|
114
|
-
"HueAccentFour100": "#EBDFCA",
|
|
115
|
-
"HueAccentFour200": "#D6C9AD",
|
|
116
|
-
"HueAccentFour300": "#C2AB84",
|
|
117
|
-
"HueAccentFour400": "#A18A60",
|
|
118
|
-
"HueAccentFour500": "#87744D",
|
|
119
|
-
"HueAccentFour600": "#696803",
|
|
120
|
-
"HueAccentFour700": "#574931",
|
|
121
|
-
"HueAccentFour800": "#403727",
|
|
122
|
-
"HueAccentFour900": "#2E2618",
|
|
123
|
-
"PalettePrimaryLighter": "#f2f3fd",
|
|
124
|
-
"PalettePrimaryLight": "#9daaf1",
|
|
125
|
-
"PalettePrimaryMain": "#546be7",
|
|
126
|
-
"PalettePrimaryDark": "#2e40a5",
|
|
127
|
-
"PalettePrimaryDarker": "#22307c",
|
|
128
|
-
"PalettePrimaryText": "#4C64E1",
|
|
129
|
-
"PalettePrimaryHeading": "#182257",
|
|
130
|
-
"PalettePrimaryHighlight": "#dbe0fa",
|
|
131
|
-
"PaletteDangerLighter": "#fff0ee",
|
|
132
|
-
"PaletteDangerLight": "#fe8f7a",
|
|
133
|
-
"PaletteDangerMain": "#e72500",
|
|
134
|
-
"PaletteDangerDark": "#951800",
|
|
135
|
-
"PaletteDangerDarker": "#711200",
|
|
136
|
-
"PaletteDangerText": "#d92300",
|
|
137
|
-
"PaletteDangerHeading": "#500d00",
|
|
138
|
-
"PaletteDangerHighlight": "#ffd8d1",
|
|
139
|
-
"PaletteWarningLighter": "#fdfad9",
|
|
140
|
-
"PaletteWarningLight": "#eb9e05",
|
|
141
|
-
"PaletteWarningMain": "#a16c03",
|
|
142
|
-
"PaletteWarningDark": "#664402",
|
|
143
|
-
"PaletteWarningDarker": "#4c3302",
|
|
144
|
-
"PaletteWarningText": "#966603",
|
|
145
|
-
"PaletteWarningHeading": "#352401",
|
|
146
|
-
"PaletteWarningHighlight": "#ffe01a",
|
|
147
|
-
"PaletteSuccessLighter": "#defae7",
|
|
148
|
-
"PaletteSuccessLight": "#59c282",
|
|
149
|
-
"PaletteSuccessMain": "#16884a",
|
|
150
|
-
"PaletteSuccessDark": "#0e562f",
|
|
151
|
-
"PaletteSuccessDarker": "#0a4023",
|
|
152
|
-
"PaletteSuccessText": "#197f48",
|
|
153
|
-
"PaletteSuccessHeading": "#072e19",
|
|
154
|
-
"PaletteSuccessHighlight": "#94f5b3",
|
|
155
|
-
"PaletteNeutralMain": "#6e6e6e",
|
|
156
|
-
"PaletteNeutralDark": "#272727",
|
|
157
|
-
"PaletteAlphaOpaque": "FF",
|
|
158
|
-
"PaletteAlphaSemi": "BF",
|
|
159
|
-
"ShadowScale0": "0px 1px 4px rgba(29, 29, 33, 0.08), 0px 4px 6px rgba(29, 29, 33, 0.01), 0px 5px 15px rgba(29, 29, 33, 0.05)",
|
|
160
|
-
"ShadowScale1": "0px 1px 4px rgba(29, 29, 33, 0.08), 0px 4px 10px rgba(29, 29, 33, 0.08), 0px 8px 30px rgba(29, 29, 33, 0.1)",
|
|
161
|
-
"Spacing0": "0",
|
|
162
|
-
"Spacing1": "0.28571429rem",
|
|
163
|
-
"Spacing2": "0.57142857rem",
|
|
164
|
-
"Spacing3": "0.85714286rem",
|
|
165
|
-
"Spacing4": "1.14285714rem",
|
|
166
|
-
"Spacing5": "1.71428571rem",
|
|
167
|
-
"Spacing6": "2.28571429rem",
|
|
168
|
-
"Spacing7": "2.85714286rem",
|
|
169
|
-
"Spacing8": "3.42857143rem",
|
|
170
|
-
"Spacing9": "4rem",
|
|
171
|
-
"TransitionDurationMain": "100ms",
|
|
172
|
-
"TransitionDurationMainAsNumber": 100,
|
|
173
|
-
"TransitionTimingMain": "linear",
|
|
174
|
-
"TypographyColorBody": "#272727",
|
|
175
|
-
"TypographyColorHeading": "#272727",
|
|
176
|
-
"TypographyColorInverse": "#ffffff",
|
|
177
|
-
"TypographyColorSupport": "#4b4b4b",
|
|
178
|
-
"TypographyColorSubordinate": "#6e6e6e",
|
|
179
|
-
"TypographyColorDisabled": "#aeaeae",
|
|
180
|
-
"TypographyColorAction": "#4C64E1",
|
|
181
|
-
"TypographyColorDanger": "#d92300",
|
|
182
|
-
"TypographyColorSuccess": "#197f48",
|
|
183
|
-
"TypographyColorWarning": "#966603",
|
|
184
|
-
"TypographyFamilySystem": "'-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell'",
|
|
185
|
-
"TypographyFamilyFallback": "'Helvetica Neue', sans-serif",
|
|
186
|
-
"TypographyFamilyAeonik": "'Aeonik'",
|
|
187
|
-
"TypographyFamilyInter": "'Inter'",
|
|
188
|
-
"TypographyFamilyBody": "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
|
|
189
|
-
"TypographyFamilyHeading": "'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
|
|
190
|
-
"TypographyFamilyButton": "'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",
|
|
191
|
-
"TypographyFamilyMono": "'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
192
|
-
"TypographyScale0": "0.857rem",
|
|
193
|
-
"TypographyScale1": "1rem",
|
|
194
|
-
"TypographyScale2": "1.143rem",
|
|
195
|
-
"TypographyScale3": "1.286rem",
|
|
196
|
-
"TypographyScale4": "1.429rem",
|
|
197
|
-
"TypographyScale5": "1.571rem",
|
|
198
|
-
"TypographyScale6": "1.786rem",
|
|
199
|
-
"TypographyScale7": "2rem",
|
|
200
|
-
"TypographyScale8": "2.286rem",
|
|
201
|
-
"TypographyScale9": "2.571rem",
|
|
202
|
-
"TypographyScale10": "2.857rem",
|
|
203
|
-
"TypographyScale11": "3.214rem",
|
|
204
|
-
"TypographyScale12": "3.643rem",
|
|
205
|
-
"TypographySizeBase": "87.5%",
|
|
206
|
-
"TypographySizeOverline": "0.7142857143rem",
|
|
207
|
-
"TypographySizeSubordinate": "0.857rem",
|
|
208
|
-
"TypographySizeBody": "1rem",
|
|
209
|
-
"TypographySizeHeading6": "1.143rem",
|
|
210
|
-
"TypographySizeHeading5": "1.286rem",
|
|
211
|
-
"TypographySizeHeading4": "1.571rem",
|
|
212
|
-
"TypographySizeHeading3": "2rem",
|
|
213
|
-
"TypographySizeHeading2": "2.286rem",
|
|
214
|
-
"TypographySizeHeading1": "2.571rem",
|
|
215
|
-
"TypographyStyleNormal": "normal",
|
|
216
|
-
"TypographyWeightBody": "400",
|
|
217
|
-
"TypographyWeightBodyBold": "600",
|
|
218
|
-
"TypographyWeightHeading": "500",
|
|
219
|
-
"TypographyWeightHeadingBold": "700",
|
|
220
|
-
"TypographyLineHeightBody": 1.5,
|
|
221
|
-
"TypographyLineHeightUi": 1.2,
|
|
222
|
-
"TypographyLineHeightOverline": 1.3,
|
|
223
|
-
"TypographyLineHeightHeading6": 1.3,
|
|
224
|
-
"TypographyLineHeightHeading5": 1.3,
|
|
225
|
-
"TypographyLineHeightHeading4": 1.25,
|
|
226
|
-
"TypographyLineHeightHeading3": 1.25,
|
|
227
|
-
"TypographyLineHeightHeading2": 1.2,
|
|
228
|
-
"TypographyLineHeightHeading1": 1.2,
|
|
229
|
-
"TypographyLineLengthMax": "55ch",
|
|
230
|
-
"TypographyLetterSpacingOverline": ".05em"
|
|
231
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
-
*
|
|
5
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
*
|
|
10
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
declare function literalTuple<T extends string, U extends [T, ...T[]]>(...args: U): U;
|
|
13
|
-
declare const modern: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
14
|
-
declare const all: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
15
|
-
declare const config: {
|
|
16
|
-
all: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
17
|
-
development: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
18
|
-
modern: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
19
|
-
production: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
20
|
-
test: ["last 1 Chrome version", "last 1 Safari version", "last 1 Edge version", "last 1 Firefox version", "Firefox ESR"];
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,iBAAS,YAAY,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,GAAG,CAAC,CAE5E;AAED,QAAA,MAAM,MAAM,oHAMX,CAAC;AAEF,QAAA,MAAM,GAAG,oHAA0B,CAAC;AAEpC,QAAA,MAAM,MAAM;;;;;;CAMX,CAAC"}
|