@stytch/vanilla-js 5.4.0 → 5.5.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/CHANGELOG.md +11 -0
- package/dist/adminPortal/components/DeleteConnection.d.ts +5 -2
- package/dist/adminPortal/components/Select.d.ts +2 -0
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/adminPortal/scim/AdminPortalSCIM.d.ts +11 -1
- package/dist/adminPortal/scim/SCIMConnectionDangerZoneSection.d.ts +5 -0
- package/dist/adminPortal/scim/SCIMConnectionDetailsSection.d.ts +5 -0
- package/dist/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.d.ts +7 -0
- package/dist/adminPortal/scim/SCIMConnectionTokenRotationSection.d.ts +5 -0
- package/dist/adminPortal/scim/mountAdminPortalSCIM.d.ts +1 -1
- package/dist/adminPortal/sso/AdminPortalSSO.d.ts +2 -2
- package/dist/adminPortal/sso/IdpInfo.d.ts +6 -2
- package/dist/adminPortal/sso/RoleAssignmentsSection.d.ts +2 -2
- package/dist/adminPortal/sso/SSONewConnectionConfigureScreen.d.ts +3 -3
- package/dist/adminPortal/sso/SSORouter.d.ts +7 -7
- package/dist/adminPortal/sso/TaggedConnection.d.ts +5 -2
- package/dist/adminPortal/utils/Connection.d.ts +1 -1
- package/dist/adminPortal/utils/ConnectionType.d.ts +1 -1
- package/dist/adminPortal/utils/getSsoRoleAssignments.d.ts +8 -0
- package/dist/adminPortal/utils/prependAsterisks.d.ts +1 -0
- package/dist/adminPortal/utils/useMutateScimConnection.d.ts +1 -1
- package/dist/adminPortal/utils/useMutateSsoConnection.d.ts +2 -5
- package/dist/b2b/index.esm.js +12 -5
- package/dist/b2b/index.headless.esm.js +1 -1
- package/dist/b2b/index.headless.js +1 -1
- package/dist/b2b/index.js +12 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @stytch/vanilla-js
|
|
2
2
|
|
|
3
|
+
## 5.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- db75c01d: Add Role Assignments component to Admin Portal's SCIM management component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- aafbe641: Add support for external SSO connections to Admin Portal
|
|
12
|
+
- e296c21a: Fix race condition when entering phone number
|
|
13
|
+
|
|
3
14
|
## 5.4.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Connection } from '../utils/Connection';
|
|
3
|
+
import { ConnectionType } from '../utils/ConnectionType';
|
|
3
4
|
interface DeleteConnectionModalProps {
|
|
4
5
|
connectionName: string | undefined;
|
|
6
|
+
connectionType: ConnectionType | undefined;
|
|
5
7
|
isOpen: boolean;
|
|
6
8
|
close: () => void;
|
|
7
9
|
confirm: () => Promise<void>;
|
|
8
10
|
}
|
|
9
|
-
export declare const DeleteConfirmModal: ({ connectionName, ...modalProps }: DeleteConnectionModalProps) => React.JSX.Element;
|
|
11
|
+
export declare const DeleteConfirmModal: ({ connectionName, connectionType, ...modalProps }: DeleteConnectionModalProps) => React.JSX.Element;
|
|
10
12
|
export declare const useDeleteConnection: ({ onConfirm }?: {
|
|
11
13
|
onConfirm?: (() => void) | undefined;
|
|
12
14
|
}) => {
|
|
13
|
-
handleRequestDelete: (connection: Pick<Connection, 'displayName' | 'id'>) => void;
|
|
15
|
+
handleRequestDelete: (connection: Pick<Connection, 'connectionType' | 'displayName' | 'id'>) => void;
|
|
14
16
|
modalProps: {
|
|
15
17
|
connectionName: string | undefined;
|
|
18
|
+
connectionType: ConnectionType | undefined;
|
|
16
19
|
isOpen: boolean;
|
|
17
20
|
close: () => void;
|
|
18
21
|
confirm: () => Promise<void>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SelectCoreProps } from '../shared/components/Select';
|
|
3
|
+
import { LabelProps } from './Label';
|
|
3
4
|
import { MenuItemFields } from './MenuItem';
|
|
4
5
|
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"select" | "disabled" | "fullWidth" | "readOnlyContainer" | "checkIcon" | "menuPaper" | "selectContainer" | "selectContainerOpen">;
|
|
5
6
|
export type SelectItem = MenuItemFields;
|
|
6
7
|
export type SelectProps<U extends string | number | string[] | number[]> = SelectCoreProps<U, SelectItem> & {
|
|
7
8
|
width?: number;
|
|
9
|
+
labelColor?: LabelProps['labelColor'];
|
|
8
10
|
};
|
|
9
11
|
export declare const Select: <U extends string | number | string[] | number[]>(props: SelectProps<U>) => JSX.Element;
|