@stytch/vanilla-js 5.3.1 → 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 +27 -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 +2 -2
- package/dist/adminPortal/index.js +2 -2
- 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/FeatureStateComponent.d.ts +10 -0
- package/dist/adminPortal/utils/getFeatureState.d.ts +9 -0
- package/dist/adminPortal/utils/getSsoRoleAssignments.d.ts +8 -0
- package/dist/adminPortal/utils/prependAsterisks.d.ts +1 -0
- package/dist/adminPortal/utils/useAdminPortalConfig.d.ts +4 -3
- package/dist/adminPortal/utils/useMutateScimConnection.d.ts +1 -1
- package/dist/adminPortal/utils/useMutateSsoConnection.d.ts +2 -5
- package/dist/b2b/index.esm.js +979 -1137
- package/dist/b2b/index.headless.esm.js +3 -3
- package/dist/b2b/index.headless.js +2 -2
- package/dist/b2b/index.js +971 -1129
- package/dist/{extractErrorMessage-Ch-qCHrd.js → extractErrorMessage-CW4Nxx1B.js} +1 -1
- package/dist/{extractErrorMessage-m6TJ9iVT.js → extractErrorMessage-Ca4zQC5N.js} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.headless.esm.js +28 -28
- package/dist/index.headless.js +28 -28
- package/dist/index.js +1 -1
- package/dist/{internal-DA5LySQi.js → internal-2fj7jjLQ.js} +746 -702
- package/dist/{internal-k7t3AQud.js → internal-C29Dtv6A.js} +746 -702
- package/package.json +15 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
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
|
+
|
|
14
|
+
## 5.4.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- d0b0584a: Add ability to create and update external SSO connections
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- b8a4f6a9: Ensure errors are caught when certain network requests fail in Admin Portal
|
|
23
|
+
- da85c4bc: Improve discovery menu UI for longer organization names
|
|
24
|
+
- 1e7d6888: Improve Error messages for Admin Portal components
|
|
25
|
+
- f2b9c90f: Fix edit SCIM group role assignments in Admin Portal's Automatic Role Assignments section
|
|
26
|
+
- Updated dependencies [d0b0584a]
|
|
27
|
+
- Updated dependencies [ae0e899e]
|
|
28
|
+
- @stytch/core@2.28.0
|
|
29
|
+
|
|
3
30
|
## 5.3.1
|
|
4
31
|
|
|
5
32
|
### Patch 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;
|