@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.
- package/dist/{chunk-57T6QK3M.js → chunk-4ERWOH67.js} +43 -1
- package/dist/chunk-4ERWOH67.js.map +1 -0
- package/dist/{chunk-K6FHU4HN.js → chunk-JEHQIJS2.js} +20 -3
- package/dist/{chunk-K6FHU4HN.js.map → chunk-JEHQIJS2.js.map} +1 -1
- package/dist/{chunk-VJEXXX2P.js → chunk-RSFGV7CG.js} +2 -2
- package/dist/{chunk-LR5TUYFD.js → chunk-S4UQSTZN.js} +3 -3
- package/dist/hierarchy/index.js +2 -2
- package/dist/layout/index.js +3 -3
- package/dist/primitives/index.js +1 -1
- package/dist/reporting/index.js +1 -1
- package/dist/services/index.d.ts +19 -2
- package/dist/services/index.js +1 -1
- package/dist/shell/index.js +4 -4
- package/dist/shell/oplytics-shell.css +1 -1
- package/dist/tour/index.d.ts +16 -3
- package/dist/tour/index.js +440 -274
- package/dist/tour/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-57T6QK3M.js.map +0 -1
- /package/dist/{chunk-VJEXXX2P.js.map → chunk-RSFGV7CG.js.map} +0 -0
- /package/dist/{chunk-LR5TUYFD.js.map → chunk-S4UQSTZN.js.map} +0 -0
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
Tooltip,
|
|
14
14
|
TooltipContent,
|
|
15
15
|
TooltipTrigger
|
|
16
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
1256
|
+
//# sourceMappingURL=chunk-S4UQSTZN.js.map
|
package/dist/hierarchy/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
hierarchyCodeFor,
|
|
7
7
|
idReference,
|
|
8
8
|
readActiveEnterpriseCookie
|
|
9
|
-
} from "../chunk-
|
|
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-
|
|
30
|
+
import "../chunk-JEHQIJS2.js";
|
|
31
31
|
import "../chunk-JT3XLKKD.js";
|
|
32
32
|
import "../chunk-BKGUIIN2.js";
|
|
33
33
|
export {
|
package/dist/layout/index.js
CHANGED
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
policyDeploymentConfig,
|
|
20
20
|
sqdcpConfig,
|
|
21
21
|
useSidebarResize
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-S4UQSTZN.js";
|
|
23
23
|
import "../chunk-4QJMLQSH.js";
|
|
24
|
-
import "../chunk-
|
|
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-
|
|
28
|
+
import "../chunk-JEHQIJS2.js";
|
|
29
29
|
import "../chunk-JT3XLKKD.js";
|
|
30
30
|
import "../chunk-BKGUIIN2.js";
|
|
31
31
|
export {
|
package/dist/primitives/index.js
CHANGED
package/dist/reporting/index.js
CHANGED
package/dist/services/index.d.ts
CHANGED
|
@@ -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 };
|
package/dist/services/index.js
CHANGED
package/dist/shell/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildCrossServiceLinks
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4ERWOH67.js";
|
|
4
4
|
import {
|
|
5
5
|
CrossServiceNav,
|
|
6
6
|
DashboardLayout,
|
|
7
7
|
HealthFooter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-S4UQSTZN.js";
|
|
9
9
|
import "../chunk-4QJMLQSH.js";
|
|
10
|
-
import "../chunk-
|
|
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-
|
|
14
|
+
import "../chunk-JEHQIJS2.js";
|
|
15
15
|
import "../chunk-JT3XLKKD.js";
|
|
16
16
|
import "../chunk-BKGUIIN2.js";
|
|
17
17
|
|