@tangle-network/sandbox-ui 0.113.6 → 0.113.7

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.
@@ -27,6 +27,8 @@ interface IntegrationConnector {
27
27
  interface IntegrationProvider {
28
28
  providerId: string;
29
29
  displayName?: string;
30
+ /** The hub catalog's name for the provider ("GitHub", "Google Sheets"). */
31
+ title?: string;
30
32
  description?: string;
31
33
  iconUrl?: string;
32
34
  connectors?: IntegrationConnector[];
@@ -147,10 +147,10 @@ function rankOf(provider, rank) {
147
147
  return norm ?? Number.MAX_SAFE_INTEGER;
148
148
  }
149
149
  function displayNameOf(provider) {
150
- return provider.displayName ?? provider.providerId.replace(/[-_]/g, " ");
150
+ return provider.displayName ?? provider.title ?? provider.providerId.replace(/[-_]/g, " ");
151
151
  }
152
152
  function matchesQuery(provider, q) {
153
- const hay = `${provider.displayName ?? ""} ${provider.providerId} ${provider.description ?? ""}`.toLowerCase();
153
+ const hay = `${displayNameOf(provider)} ${provider.providerId} ${provider.description ?? ""}`.toLowerCase();
154
154
  return hay.includes(q);
155
155
  }
156
156
  function IntegrationsPanel({
@@ -372,7 +372,7 @@ function IntegrationsPanel({
372
372
  {
373
373
  id: provider.providerId,
374
374
  iconUrl: provider.iconUrl,
375
- displayName: provider.displayName,
375
+ displayName: displayNameOf(provider),
376
376
  size: LOGO_SIZE,
377
377
  className: "rounded-2xl"
378
378
  }
@@ -497,7 +497,7 @@ function IntegrationsPanel({
497
497
  {
498
498
  id: provider.providerId,
499
499
  iconUrl: provider.iconUrl,
500
- displayName: provider.displayName,
500
+ displayName: displayNameOf(provider),
501
501
  size: LOGO_SIZE,
502
502
  className: "rounded-2xl"
503
503
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.113.6",
3
+ "version": "0.113.7",
4
4
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
5
5
  "repository": {
6
6
  "type": "git",