@workos-inc/widgets 1.20.3-next.1793998900035 → 1.21.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 +3 -8
- package/dist/cjs/widgets/organization-switcher/organization-switcher.cjs +2 -2
- package/dist/cjs/widgets/organization-switcher/organization-switcher.cjs.map +1 -1
- package/dist/cjs/widgets/pipes/pipes-connections.cjs +15 -15
- package/dist/cjs/widgets/pipes/pipes-connections.cjs.map +1 -1
- package/dist/cjs/widgets/pipes/pipes-credential-attribution.cjs +2 -2
- package/dist/cjs/widgets/pipes/pipes-credential-attribution.cjs.map +1 -1
- package/dist/cjs/widgets/pipes/pipes.cjs +6 -6
- package/dist/cjs/widgets/pipes/pipes.cjs.map +1 -1
- package/dist/cjs/widgets/pipes-admin/pipes-admin.cjs +15 -15
- package/dist/cjs/widgets/pipes-admin/pipes-admin.cjs.map +1 -1
- package/dist/cjs/widgets/user-sessions/user-sessions.cjs +1 -1
- package/dist/cjs/widgets/user-sessions/user-sessions.cjs.map +1 -1
- package/dist/esm/widgets/organization-switcher/organization-switcher.js +2 -2
- package/dist/esm/widgets/organization-switcher/organization-switcher.js.map +1 -1
- package/dist/esm/widgets/pipes/pipes-connections.js +15 -15
- package/dist/esm/widgets/pipes/pipes-connections.js.map +1 -1
- package/dist/esm/widgets/pipes/pipes-credential-attribution.js +2 -2
- package/dist/esm/widgets/pipes/pipes-credential-attribution.js.map +1 -1
- package/dist/esm/widgets/pipes/pipes.js +6 -6
- package/dist/esm/widgets/pipes/pipes.js.map +1 -1
- package/dist/esm/widgets/pipes-admin/pipes-admin.js +15 -15
- package/dist/esm/widgets/pipes-admin/pipes-admin.js.map +1 -1
- package/dist/esm/widgets/user-sessions/user-sessions.js +1 -1
- package/dist/esm/widgets/user-sessions/user-sessions.js.map +1 -1
- package/package.json +1 -1
- package/src/widgets/organization-switcher/organization-switcher.tsx +2 -2
- package/src/widgets/pipes/pipes-connections.tsx +15 -15
- package/src/widgets/pipes/pipes-credential-attribution.tsx +2 -2
- package/src/widgets/pipes/pipes.tsx +6 -6
- package/src/widgets/pipes-admin/pipes-admin.tsx +15 -15
- package/src/widgets/user-sessions/user-sessions.tsx +1 -1
|
@@ -699,7 +699,7 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
699
699
|
children: [
|
|
700
700
|
/* @__PURE__ */ jsx(Title$1, { children: /* @__PURE__ */ jsx(Translation, {
|
|
701
701
|
defaultMessage: "Disconnect shared connection",
|
|
702
|
-
id: "
|
|
702
|
+
id: "squg8w",
|
|
703
703
|
description: "Dialog title for disconnecting an organization-owned connection"
|
|
704
704
|
}) }),
|
|
705
705
|
error && /* @__PURE__ */ jsx(Callout.Root, {
|
|
@@ -708,13 +708,13 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
708
708
|
role: "alert",
|
|
709
709
|
children: /* @__PURE__ */ jsx(Callout.Text, { children: /* @__PURE__ */ jsx(Translation, {
|
|
710
710
|
defaultMessage: "An error occurred while disconnecting this connection. Please refresh the page and try again.",
|
|
711
|
-
id: "
|
|
711
|
+
id: "4jVbNf",
|
|
712
712
|
description: "Error message when disconnecting an organization-owned connection fails"
|
|
713
713
|
}) })
|
|
714
714
|
}),
|
|
715
715
|
/* @__PURE__ */ jsx(AlertDialogDescription, { children: /* @__PURE__ */ jsx(Translation, {
|
|
716
716
|
defaultMessage: "Are you sure you want to disconnect the {integrationName} account your organization shares with everyone? Members will lose access to it.",
|
|
717
|
-
id: "
|
|
717
|
+
id: "Z6BA1i",
|
|
718
718
|
description: "Confirmation message for disconnecting an organization-owned connection",
|
|
719
719
|
values: { integrationName: /* @__PURE__ */ jsx(Text, {
|
|
720
720
|
as: "span",
|
|
@@ -760,7 +760,7 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
760
760
|
const AdminRow = ({ integration, name = integration.name, nested = false, status, description = nested ? null : integration.description, dimmed = false, actions }) => {
|
|
761
761
|
const actionsTitle = useTranslation()({
|
|
762
762
|
defaultMessage: "More actions",
|
|
763
|
-
id: "
|
|
763
|
+
id: "Uul0bl",
|
|
764
764
|
description: "Accessible title for a provider row's overflow actions menu"
|
|
765
765
|
});
|
|
766
766
|
const promoted = actions.find((action) => action.promoted);
|
|
@@ -843,7 +843,7 @@ const ConnectedViaStatus = ({ method }) => {
|
|
|
843
843
|
description: "Status text for a connection established with client credentials"
|
|
844
844
|
}) : /* @__PURE__ */ jsx(Translation, {
|
|
845
845
|
defaultMessage: "Connected via OAuth",
|
|
846
|
-
id: "
|
|
846
|
+
id: "pJcK/M",
|
|
847
847
|
description: "Status text for a connection established with OAuth"
|
|
848
848
|
})
|
|
849
849
|
});
|
|
@@ -853,7 +853,7 @@ const DisabledForOrganizationStatus = () => {
|
|
|
853
853
|
state: "neutral",
|
|
854
854
|
children: /* @__PURE__ */ jsx(Translation, {
|
|
855
855
|
defaultMessage: "Disabled for your organization",
|
|
856
|
-
id: "
|
|
856
|
+
id: "CtyB4Q",
|
|
857
857
|
description: "Status for a provider the organization has disabled"
|
|
858
858
|
})
|
|
859
859
|
});
|
|
@@ -901,7 +901,7 @@ const DisabledStatus = ({ configuration }) => {
|
|
|
901
901
|
state: "neutral",
|
|
902
902
|
children: /* @__PURE__ */ jsx(Translation, {
|
|
903
903
|
defaultMessage: "Disabled by developer",
|
|
904
|
-
id: "
|
|
904
|
+
id: "yc3wqV",
|
|
905
905
|
description: "Status text for a shared connection the developer has disabled"
|
|
906
906
|
})
|
|
907
907
|
}) : /* @__PURE__ */ jsx(DisabledForOrganizationStatus, {});
|
|
@@ -921,7 +921,7 @@ const SharedConnectionAdminStatus = ({ integration, account, method, nested, con
|
|
|
921
921
|
state: "warning",
|
|
922
922
|
children: /* @__PURE__ */ jsx(Translation, {
|
|
923
923
|
defaultMessage: "Needs attention",
|
|
924
|
-
id: "
|
|
924
|
+
id: "m2et65",
|
|
925
925
|
description: "Status for a shared connection that stopped working and needs the admin to fix it"
|
|
926
926
|
})
|
|
927
927
|
});
|
|
@@ -978,11 +978,11 @@ const SharedConnectionAccountRow = ({ integration, account, nested = false, onAd
|
|
|
978
978
|
description: "Menu option to update the API key for a needs-reauthorization installation"
|
|
979
979
|
}) : /* @__PURE__ */ jsx(Translation, {
|
|
980
980
|
defaultMessage: "Rotate API key",
|
|
981
|
-
id: "
|
|
981
|
+
id: "H9wfJb",
|
|
982
982
|
description: "Menu option to rotate an organization-owned API key"
|
|
983
983
|
}) : method === "client_credentials" ? /* @__PURE__ */ jsx(Translation, {
|
|
984
984
|
defaultMessage: "Update client credentials",
|
|
985
|
-
id: "
|
|
985
|
+
id: "EapvF+",
|
|
986
986
|
description: "Menu option to update an organization-owned integration's client credentials"
|
|
987
987
|
}) : /* @__PURE__ */ jsx(Translation, {
|
|
988
988
|
defaultMessage: "Reauthorize",
|
|
@@ -1087,7 +1087,7 @@ const SharedConnectionAccountRow = ({ integration, account, nested = false, onAd
|
|
|
1087
1087
|
}),
|
|
1088
1088
|
description: nested ? null : needsOrganizationCredentials ? /* @__PURE__ */ jsx(Translation, {
|
|
1089
1089
|
defaultMessage: "Enter your organization's OAuth client to make this connectable.",
|
|
1090
|
-
id: "
|
|
1090
|
+
id: "fuTxTU",
|
|
1091
1091
|
description: "Second line of a shared connection row whose organization OAuth credentials have not been entered yet"
|
|
1092
1092
|
}) : integration.description,
|
|
1093
1093
|
dimmed: !configuration.enabled,
|
|
@@ -1172,7 +1172,7 @@ const ProviderSettingsItem = ({ integration }) => {
|
|
|
1172
1172
|
state: "neutral",
|
|
1173
1173
|
children: /* @__PURE__ */ jsx(Translation, {
|
|
1174
1174
|
defaultMessage: "Not configured",
|
|
1175
|
-
id: "
|
|
1175
|
+
id: "1n86DJ",
|
|
1176
1176
|
description: "Status for a provider whose organization credentials have not been entered yet"
|
|
1177
1177
|
})
|
|
1178
1178
|
}) : null,
|
|
@@ -1281,7 +1281,7 @@ const PipesAdminSections = ({ integrations, sharedIntegrations, isSharedLoading,
|
|
|
1281
1281
|
children: [(isSharedLoading || sharedIntegrations.length > 0) && /* @__PURE__ */ jsx(PipesSection, {
|
|
1282
1282
|
title: /* @__PURE__ */ jsx(Translation, {
|
|
1283
1283
|
defaultMessage: "Shared connections",
|
|
1284
|
-
id: "Fcd
|
|
1284
|
+
id: "Fcd+bK",
|
|
1285
1285
|
description: "Heading for the section listing connections the organization owns"
|
|
1286
1286
|
}),
|
|
1287
1287
|
description: organizationName ? /* @__PURE__ */ jsx(Translation, {
|
|
@@ -1298,12 +1298,12 @@ const PipesAdminSections = ({ integrations, sharedIntegrations, isSharedLoading,
|
|
|
1298
1298
|
}), /* @__PURE__ */ jsx(PipesSection, {
|
|
1299
1299
|
title: /* @__PURE__ */ jsx(Translation, {
|
|
1300
1300
|
defaultMessage: "Provider settings",
|
|
1301
|
-
id: "
|
|
1301
|
+
id: "iYyowi",
|
|
1302
1302
|
description: "Heading for the section of provider settings governing members' own connections"
|
|
1303
1303
|
}),
|
|
1304
1304
|
description: /* @__PURE__ */ jsx(Translation, {
|
|
1305
1305
|
defaultMessage: "What members of this organization can connect to, and with which scopes.",
|
|
1306
|
-
id: "
|
|
1306
|
+
id: "au5JER",
|
|
1307
1307
|
description: "Description of the provider settings section"
|
|
1308
1308
|
}),
|
|
1309
1309
|
children: /* @__PURE__ */ jsx(CardList, { children: integrations.length > 0 ? integrations.map((integration) => /* @__PURE__ */ jsx(ProviderSettingsItem, { integration }, integration.id)) : /* @__PURE__ */ jsx(PipesEmptyItem, { isFiltered: false }) })
|