@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
|
@@ -705,7 +705,7 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
705
705
|
children: [
|
|
706
706
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_themes_components_alert_dialog.Title, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
707
707
|
defaultMessage: "Disconnect shared connection",
|
|
708
|
-
id: "
|
|
708
|
+
id: "squg8w",
|
|
709
709
|
description: "Dialog title for disconnecting an organization-owned connection"
|
|
710
710
|
}) }),
|
|
711
711
|
error && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_themes.Callout.Root, {
|
|
@@ -714,13 +714,13 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
714
714
|
role: "alert",
|
|
715
715
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_themes.Callout.Text, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
716
716
|
defaultMessage: "An error occurred while disconnecting this connection. Please refresh the page and try again.",
|
|
717
|
-
id: "
|
|
717
|
+
id: "4jVbNf",
|
|
718
718
|
description: "Error message when disconnecting an organization-owned connection fails"
|
|
719
719
|
}) })
|
|
720
720
|
}),
|
|
721
721
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_elements_alert_dialog.Description, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
722
722
|
defaultMessage: "Are you sure you want to disconnect the {integrationName} account your organization shares with everyone? Members will lose access to it.",
|
|
723
|
-
id: "
|
|
723
|
+
id: "Z6BA1i",
|
|
724
724
|
description: "Confirmation message for disconnecting an organization-owned connection",
|
|
725
725
|
values: { integrationName: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_themes.Text, {
|
|
726
726
|
as: "span",
|
|
@@ -766,7 +766,7 @@ const DisconnectSharedConnectionDialog = ({ integrationName, installationId, ope
|
|
|
766
766
|
const AdminRow = ({ integration, name = integration.name, nested = false, status, description = nested ? null : integration.description, dimmed = false, actions }) => {
|
|
767
767
|
const actionsTitle = require_lib_i18n_use_translation.useTranslation()({
|
|
768
768
|
defaultMessage: "More actions",
|
|
769
|
-
id: "
|
|
769
|
+
id: "Uul0bl",
|
|
770
770
|
description: "Accessible title for a provider row's overflow actions menu"
|
|
771
771
|
});
|
|
772
772
|
const promoted = actions.find((action) => action.promoted);
|
|
@@ -849,7 +849,7 @@ const ConnectedViaStatus = ({ method }) => {
|
|
|
849
849
|
description: "Status text for a connection established with client credentials"
|
|
850
850
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
851
851
|
defaultMessage: "Connected via OAuth",
|
|
852
|
-
id: "
|
|
852
|
+
id: "pJcK/M",
|
|
853
853
|
description: "Status text for a connection established with OAuth"
|
|
854
854
|
})
|
|
855
855
|
});
|
|
@@ -859,7 +859,7 @@ const DisabledForOrganizationStatus = () => {
|
|
|
859
859
|
state: "neutral",
|
|
860
860
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
861
861
|
defaultMessage: "Disabled for your organization",
|
|
862
|
-
id: "
|
|
862
|
+
id: "CtyB4Q",
|
|
863
863
|
description: "Status for a provider the organization has disabled"
|
|
864
864
|
})
|
|
865
865
|
});
|
|
@@ -907,7 +907,7 @@ const DisabledStatus = ({ configuration }) => {
|
|
|
907
907
|
state: "neutral",
|
|
908
908
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
909
909
|
defaultMessage: "Disabled by developer",
|
|
910
|
-
id: "
|
|
910
|
+
id: "yc3wqV",
|
|
911
911
|
description: "Status text for a shared connection the developer has disabled"
|
|
912
912
|
})
|
|
913
913
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DisabledForOrganizationStatus, {});
|
|
@@ -927,7 +927,7 @@ const SharedConnectionAdminStatus = ({ integration, account, method, nested, con
|
|
|
927
927
|
state: "warning",
|
|
928
928
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
929
929
|
defaultMessage: "Needs attention",
|
|
930
|
-
id: "
|
|
930
|
+
id: "m2et65",
|
|
931
931
|
description: "Status for a shared connection that stopped working and needs the admin to fix it"
|
|
932
932
|
})
|
|
933
933
|
});
|
|
@@ -984,11 +984,11 @@ const SharedConnectionAccountRow = ({ integration, account, nested = false, onAd
|
|
|
984
984
|
description: "Menu option to update the API key for a needs-reauthorization installation"
|
|
985
985
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
986
986
|
defaultMessage: "Rotate API key",
|
|
987
|
-
id: "
|
|
987
|
+
id: "H9wfJb",
|
|
988
988
|
description: "Menu option to rotate an organization-owned API key"
|
|
989
989
|
}) : method === "client_credentials" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
990
990
|
defaultMessage: "Update client credentials",
|
|
991
|
-
id: "
|
|
991
|
+
id: "EapvF+",
|
|
992
992
|
description: "Menu option to update an organization-owned integration's client credentials"
|
|
993
993
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
994
994
|
defaultMessage: "Reauthorize",
|
|
@@ -1093,7 +1093,7 @@ const SharedConnectionAccountRow = ({ integration, account, nested = false, onAd
|
|
|
1093
1093
|
}),
|
|
1094
1094
|
description: nested ? null : needsOrganizationCredentials ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
1095
1095
|
defaultMessage: "Enter your organization's OAuth client to make this connectable.",
|
|
1096
|
-
id: "
|
|
1096
|
+
id: "fuTxTU",
|
|
1097
1097
|
description: "Second line of a shared connection row whose organization OAuth credentials have not been entered yet"
|
|
1098
1098
|
}) : integration.description,
|
|
1099
1099
|
dimmed: !configuration.enabled,
|
|
@@ -1178,7 +1178,7 @@ const ProviderSettingsItem = ({ integration }) => {
|
|
|
1178
1178
|
state: "neutral",
|
|
1179
1179
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
1180
1180
|
defaultMessage: "Not configured",
|
|
1181
|
-
id: "
|
|
1181
|
+
id: "1n86DJ",
|
|
1182
1182
|
description: "Status for a provider whose organization credentials have not been entered yet"
|
|
1183
1183
|
})
|
|
1184
1184
|
}) : null,
|
|
@@ -1287,7 +1287,7 @@ const PipesAdminSections = ({ integrations, sharedIntegrations, isSharedLoading,
|
|
|
1287
1287
|
children: [(isSharedLoading || sharedIntegrations.length > 0) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_widgets_pipes_pipes.PipesSection, {
|
|
1288
1288
|
title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
1289
1289
|
defaultMessage: "Shared connections",
|
|
1290
|
-
id: "Fcd
|
|
1290
|
+
id: "Fcd+bK",
|
|
1291
1291
|
description: "Heading for the section listing connections the organization owns"
|
|
1292
1292
|
}),
|
|
1293
1293
|
description: organizationName ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
@@ -1304,12 +1304,12 @@ const PipesAdminSections = ({ integrations, sharedIntegrations, isSharedLoading,
|
|
|
1304
1304
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_widgets_pipes_pipes.PipesSection, {
|
|
1305
1305
|
title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
1306
1306
|
defaultMessage: "Provider settings",
|
|
1307
|
-
id: "
|
|
1307
|
+
id: "iYyowi",
|
|
1308
1308
|
description: "Heading for the section of provider settings governing members' own connections"
|
|
1309
1309
|
}),
|
|
1310
1310
|
description: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_lib_i18n_translation.Translation, {
|
|
1311
1311
|
defaultMessage: "What members of this organization can connect to, and with which scopes.",
|
|
1312
|
-
id: "
|
|
1312
|
+
id: "au5JER",
|
|
1313
1313
|
description: "Description of the provider settings section"
|
|
1314
1314
|
}),
|
|
1315
1315
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_card_list.Root, { children: integrations.length > 0 ? integrations.map((integration) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProviderSettingsItem, { integration }, integration.id)) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_widgets_pipes_pipes.PipesEmptyItem, { isFiltered: false }) })
|