@pablo2410/shared-ui 0.21.0 → 0.22.1

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.
@@ -13,7 +13,7 @@ import {
13
13
  Tooltip,
14
14
  TooltipContent,
15
15
  TooltipTrigger
16
- } from "./chunk-K6FHU4HN.js";
16
+ } from "./chunk-JEHQIJS2.js";
17
17
  import {
18
18
  cn
19
19
  } from "./chunk-JT3XLKKD.js";
@@ -725,4 +725,4 @@ export {
725
725
  hierarchyCodeFor,
726
726
  HierarchyNavigator
727
727
  };
728
- //# sourceMappingURL=chunk-VJEXXX2P.js.map
728
+ //# sourceMappingURL=chunk-RSFGV7CG.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-4QJMLQSH.js";
5
5
  import {
6
6
  readActiveEnterpriseCookie
7
- } from "./chunk-VJEXXX2P.js";
7
+ } from "./chunk-RSFGV7CG.js";
8
8
  import {
9
9
  Avatar,
10
10
  AvatarFallback,
@@ -25,7 +25,7 @@ import {
25
25
  SidebarTrigger,
26
26
  useIsMobile,
27
27
  useSidebar
28
- } from "./chunk-K6FHU4HN.js";
28
+ } from "./chunk-JEHQIJS2.js";
29
29
  import {
30
30
  cn
31
31
  } from "./chunk-JT3XLKKD.js";
@@ -1253,4 +1253,4 @@ export {
1253
1253
  policyDeploymentConfig,
1254
1254
  SERVICE_CONFIGS
1255
1255
  };
1256
- //# sourceMappingURL=chunk-LR5TUYFD.js.map
1256
+ //# sourceMappingURL=chunk-S4UQSTZN.js.map
@@ -6,7 +6,7 @@ import {
6
6
  hierarchyCodeFor,
7
7
  idReference,
8
8
  readActiveEnterpriseCookie
9
- } from "../chunk-VJEXXX2P.js";
9
+ } from "../chunk-RSFGV7CG.js";
10
10
  import {
11
11
  ORG_HIERARCHY_PARAM,
12
12
  appendSelectionParam,
@@ -27,7 +27,7 @@ import {
27
27
  ORG_HIERARCHY_LABELS,
28
28
  ORG_HIERARCHY_LEVELS
29
29
  } from "../chunk-HLMIR5UV.js";
30
- import "../chunk-K6FHU4HN.js";
30
+ import "../chunk-JEHQIJS2.js";
31
31
  import "../chunk-JT3XLKKD.js";
32
32
  import "../chunk-BKGUIIN2.js";
33
33
  export {
@@ -19,13 +19,13 @@ import {
19
19
  policyDeploymentConfig,
20
20
  sqdcpConfig,
21
21
  useSidebarResize
22
- } from "../chunk-LR5TUYFD.js";
22
+ } from "../chunk-S4UQSTZN.js";
23
23
  import "../chunk-4QJMLQSH.js";
24
- import "../chunk-VJEXXX2P.js";
24
+ import "../chunk-RSFGV7CG.js";
25
25
  import "../chunk-DMUQ5WNO.js";
26
26
  import "../chunk-A6UTXAPS.js";
27
27
  import "../chunk-HLMIR5UV.js";
28
- import "../chunk-K6FHU4HN.js";
28
+ import "../chunk-JEHQIJS2.js";
29
29
  import "../chunk-JT3XLKKD.js";
30
30
  import "../chunk-BKGUIIN2.js";
31
31
  export {
@@ -269,7 +269,7 @@ import {
269
269
  useFormField,
270
270
  useIsMobile,
271
271
  useSidebar
272
- } from "../chunk-K6FHU4HN.js";
272
+ } from "../chunk-JEHQIJS2.js";
273
273
  import {
274
274
  Button,
275
275
  Dialog,
@@ -14,7 +14,7 @@ import {
14
14
  SelectValue,
15
15
  Switch,
16
16
  Textarea
17
- } from "../chunk-K6FHU4HN.js";
17
+ } from "../chunk-JEHQIJS2.js";
18
18
  import {
19
19
  cn
20
20
  } from "../chunk-JT3XLKKD.js";
@@ -74,8 +74,19 @@ interface ServiceDefinition {
74
74
  interface ServiceOnboardingContent {
75
75
  /** Opi's scripted opening line for this step — the always-available fallback if the live LLM narration call fails or AI is gated off. */
76
76
  hook: string;
77
- /** 2-4 short bullets: what's actually here, in plain language. */
77
+ /** 2-4 short bullets: what's actually here, in plain language. Superseded
78
+ * by `features` for display when both are present — kept for back-compat
79
+ * and as the fallback shape for any service not yet upgraded. */
78
80
  highlights: string[];
81
+ /**
82
+ * Named feature call-outs, richer than a flat bullet — one sentence each
83
+ * on what it does AND why the user should care, not just what it's
84
+ * called. Convention (not enforced): aim for 3 per service. Each `name`
85
+ * doubles as the natural spotlight-target label a later in-app tour
86
+ * (inside the service's own subdomain, once the tour follows the user
87
+ * in) can reuse — this is deliberately the same data written once.
88
+ */
89
+ features?: ServiceOnboardingFeature[];
79
90
  /** The one thing the step ends on. */
80
91
  firstAction: {
81
92
  label: string;
@@ -85,6 +96,12 @@ interface ServiceOnboardingContent {
85
96
  /** What Opi should say instead when the service has no data yet for this enterprise (empty-state framing), rather than pointing at the normal firstAction. */
86
97
  emptyStateHint?: string;
87
98
  }
99
+ interface ServiceOnboardingFeature {
100
+ /** Short feature name, e.g. "X-Matrix". */
101
+ name: string;
102
+ /** One deeper sentence — what it does and why the user should care. */
103
+ detail: string;
104
+ }
88
105
  declare const SERVICE_CATALOG: ServiceDefinition[];
89
106
  declare const coreServices: ServiceDefinition[];
90
107
  declare const hubServices: ServiceDefinition[];
@@ -96,4 +113,4 @@ declare const onboardingTourServices: ServiceDefinition[];
96
113
  declare function getServiceBySlug(slug: string): ServiceDefinition | undefined;
97
114
  declare function getServiceUrl(service: ServiceDefinition): string | null;
98
115
 
99
- export { DEFAULT_PLATFORM_DOMAIN, SERVICE_CATALOG, type ServiceCategory, type ServiceDefinition, type ServiceOnboardingContent, type ServiceStatus, comingSoonServices, coreServices, getPlatformDomain, getServiceBySlug, getServiceUrl, hubServices, inDevServices, liveServices, onboardingTourServices, platformUrl, portalUrl };
116
+ export { DEFAULT_PLATFORM_DOMAIN, SERVICE_CATALOG, type ServiceCategory, type ServiceDefinition, type ServiceOnboardingContent, type ServiceOnboardingFeature, type ServiceStatus, comingSoonServices, coreServices, getPlatformDomain, getServiceBySlug, getServiceUrl, hubServices, inDevServices, liveServices, onboardingTourServices, platformUrl, portalUrl };
@@ -12,7 +12,7 @@ import {
12
12
  liveServices,
13
13
  normalizeServiceSlug,
14
14
  onboardingTourServices
15
- } from "../chunk-57T6QK3M.js";
15
+ } from "../chunk-4ERWOH67.js";
16
16
  import {
17
17
  DEFAULT_PLATFORM_DOMAIN,
18
18
  getPlatformDomain,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  buildCrossServiceLinks
3
- } from "../chunk-57T6QK3M.js";
3
+ } from "../chunk-4ERWOH67.js";
4
4
  import {
5
5
  CrossServiceNav,
6
6
  DashboardLayout,
7
7
  HealthFooter
8
- } from "../chunk-LR5TUYFD.js";
8
+ } from "../chunk-S4UQSTZN.js";
9
9
  import "../chunk-4QJMLQSH.js";
10
- import "../chunk-VJEXXX2P.js";
10
+ import "../chunk-RSFGV7CG.js";
11
11
  import "../chunk-DMUQ5WNO.js";
12
12
  import "../chunk-A6UTXAPS.js";
13
13
  import "../chunk-HLMIR5UV.js";
14
- import "../chunk-K6FHU4HN.js";
14
+ import "../chunk-JEHQIJS2.js";
15
15
  import "../chunk-JT3XLKKD.js";
16
16
  import "../chunk-BKGUIIN2.js";
17
17