@ydtb/tk-scope-app 0.25.4 → 0.26.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.
@@ -11,7 +11,7 @@ export declare class ErrorBoundary extends Component<Props, State> {
11
11
  constructor(props: Props);
12
12
  static getDerivedStateFromError(error: Error): State;
13
13
  componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
14
- render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
14
+ render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
15
15
  }
16
16
  export {};
17
17
  //# sourceMappingURL=ErrorBoundary.d.ts.map
@@ -3773,6 +3773,6 @@ export declare const tokensApi: import("@ydtb/tk-scope-api-client").ToolClient<{
3773
3773
  scopeId: string;
3774
3774
  scopeType: string;
3775
3775
  scopeChain: import("@ydtb/tk-scope-extension/orpc").ScopeChainEntry[];
3776
- }>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("@orpc/server").Schema<import("@ydtb/tk-scope-tokens/types").TokenListGroup[], import("@ydtb/tk-scope-tokens/types").TokenListGroup[]>, Record<never, never>, Record<never, never>>;
3776
+ }>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<import("@ydtb/tk-scope-tokens/types").TokenListGroup[], import("@ydtb/tk-scope-tokens/types").TokenListGroup[]>, Record<never, never>, Record<never, never>>;
3777
3777
  }>;
3778
3778
  //# sourceMappingURL=platform-api.d.ts.map
@@ -1,22 +1,17 @@
1
- import type { ReactNode } from "react";
2
- interface WizardPageProps {
3
- icon?: React.ComponentType<{
4
- className?: string;
5
- }>;
6
- title: string;
7
- subtitle: string;
8
- steps?: number;
9
- currentStep?: number;
10
- /** Render the wizard content inside its canonical card frame. Required for sidebar layering. */
11
- framed?: boolean;
12
- sidebar?: ReactNode;
13
- sidebarTitle?: string;
14
- children: ReactNode;
15
- }
16
- export declare function ProgressBar({ current, total }: {
17
- current: number;
18
- total: number;
19
- }): import("react/jsx-runtime").JSX.Element;
20
- export declare function WizardPage({ icon: Icon, title, subtitle, steps, currentStep, framed, sidebar, sidebarTitle, children, }: WizardPageProps): import("react/jsx-runtime").JSX.Element;
21
- export {};
1
+ /**
2
+ * @deprecated Import presentational wizard UI from
3
+ * `@ydtb/tk-scope-ui/components/wizard` instead.
4
+ *
5
+ * Compatibility shim.
6
+ *
7
+ * WizardPage is presentational UI and now lives in @ydtb/tk-scope-ui.
8
+ * Keep this onboarding export so existing app/tool imports do not break while
9
+ * callers migrate to @ydtb/tk-scope-ui/components/wizard.
10
+ *
11
+ * TODO(remove-shim): after at least one release window, grep for callers using
12
+ * `@ydtb/tk-scope-app/client/onboarding` solely for WizardPage/ProgressBar.
13
+ * If none remain, remove this shim from the onboarding export surface.
14
+ */
15
+ export { ProgressBar, WizardPage, } from "@ydtb/tk-scope-ui/components/wizard";
16
+ export type { WizardPageProps } from "@ydtb/tk-scope-ui/components/wizard";
22
17
  //# sourceMappingURL=WizardPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WizardPage.d.ts","sourceRoot":"","sources":["../../../src/onboarding/WizardPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAClD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gGAAgG;IAChG,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,2CAEjF;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EAAE,IAAI,EACV,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,MAAc,EACd,OAAO,EACP,YAAgC,EAChC,QAAQ,GACT,EAAE,eAAe,2CA8DjB"}
1
+ {"version":3,"file":"WizardPage.d.ts","sourceRoot":"","sources":["../../../src/onboarding/WizardPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EACL,WAAW,EACX,UAAU,GACX,MAAM,qCAAqC,CAAA;AAC5C,YAAY,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA"}
@@ -1,14 +1,16 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { StepProgress } from "@ydtb/tk-scope-ui/components/step-progress";
3
- export function ProgressBar({ current, total }) {
4
- return _jsx(StepProgress, { current: current, total: total });
5
- }
6
- export function WizardPage({ icon: Icon, title, subtitle, steps, currentStep, framed = false, sidebar, sidebarTitle = "Helpful details", children, }) {
7
- const showStepper = steps != null && steps > 1;
8
- const content = (_jsxs("div", { className: "flex w-full flex-col items-center bg-card", children: [showStepper && _jsx(ProgressBar, { current: currentStep ?? 0, total: steps }), Icon && (_jsx("div", { className: `flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 text-primary${showStepper ? " mt-6 sm:mt-8" : ""}`, children: _jsx(Icon, { className: "h-6 w-6" }) })), _jsx("h1", { className: `text-center text-2xl font-bold tracking-tight text-foreground sm:text-3xl${Icon ? " mt-4" : showStepper ? " mt-6 sm:mt-8" : ""}`, children: title }), subtitle ? _jsx("p", { className: "mt-2 text-center text-sm text-muted-foreground", children: subtitle }) : null, _jsx("div", { className: "mt-10 w-full", children: children })] }));
9
- if (!framed) {
10
- return (_jsxs("div", { className: "flex w-full flex-col items-center", children: [content, sidebar ? (_jsxs("aside", { className: "mt-4 rounded-xl border border-border bg-muted/20 px-4 py-4 text-left shadow-sm", children: [_jsx("div", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: sidebarTitle }), _jsx("div", { className: "mt-2 text-sm leading-relaxed text-muted-foreground", children: sidebar })] })) : null] }));
11
- }
12
- return (_jsxs("div", { className: "isolate relative w-full", children: [_jsx("div", { className: "relative z-10 rounded-2xl border border-border bg-card p-8 shadow-sm", children: content }), sidebar ? (_jsxs("aside", { className: "relative z-0 mt-4 rounded-xl border border-border bg-muted/20 px-4 py-4 text-left shadow-sm lg:absolute lg:left-[calc(100%-1px)] lg:top-1/2 lg:mt-0 lg:w-64 lg:-translate-y-1/2 lg:rounded-l-none lg:rounded-r-xl lg:border-l-0", children: [_jsx("div", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: sidebarTitle }), _jsx("div", { className: "mt-2 text-sm leading-relaxed text-muted-foreground", children: sidebar })] })) : null] }));
13
- }
1
+ /**
2
+ * @deprecated Import presentational wizard UI from
3
+ * `@ydtb/tk-scope-ui/components/wizard` instead.
4
+ *
5
+ * Compatibility shim.
6
+ *
7
+ * WizardPage is presentational UI and now lives in @ydtb/tk-scope-ui.
8
+ * Keep this onboarding export so existing app/tool imports do not break while
9
+ * callers migrate to @ydtb/tk-scope-ui/components/wizard.
10
+ *
11
+ * TODO(remove-shim): after at least one release window, grep for callers using
12
+ * `@ydtb/tk-scope-app/client/onboarding` solely for WizardPage/ProgressBar.
13
+ * If none remain, remove this shim from the onboarding export surface.
14
+ */
15
+ export { ProgressBar, WizardPage, } from "@ydtb/tk-scope-ui/components/wizard";
14
16
  //# sourceMappingURL=WizardPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WizardPage.js","sourceRoot":"","sources":["../../../src/onboarding/WizardPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAA;AAgBzE,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK,EAAsC;IAChF,OAAO,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAI,CAAA;AACzD,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,EACzB,IAAI,EAAE,IAAI,EACV,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,MAAM,GAAG,KAAK,EACd,OAAO,EACP,YAAY,GAAG,iBAAiB,EAChC,QAAQ,GACQ;IAChB,MAAM,WAAW,GAAG,KAAK,IAAI,IAAI,IAAI,KAAK,GAAG,CAAC,CAAA;IAE9C,MAAM,OAAO,GAAG,CACd,eAAK,SAAS,EAAC,2CAA2C,aACvD,WAAW,IAAI,KAAC,WAAW,IAAC,OAAO,EAAE,WAAW,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,GAAI,EAEvE,IAAI,IAAI,CACP,cACE,SAAS,EAAE,mFACT,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAClC,EAAE,YAEF,KAAC,IAAI,IAAC,SAAS,EAAC,SAAS,GAAG,GACxB,CACP,EAED,aACE,SAAS,EAAE,4EACT,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EACnD,EAAE,YAED,KAAK,GACH,EAEJ,QAAQ,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,gDAAgD,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,EAE/F,cAAK,SAAS,EAAC,cAAc,YAAE,QAAQ,GAAO,IAC1C,CACP,CAAA;IAED,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,CACL,eAAK,SAAS,EAAC,mCAAmC,aAC/C,OAAO,EACP,OAAO,CAAC,CAAC,CAAC,CACT,iBAAO,SAAS,EAAC,gFAAgF,aAC/F,cAAK,SAAS,EAAC,qEAAqE,YACjF,YAAY,GACT,EACN,cAAK,SAAS,EAAC,oDAAoD,YAAE,OAAO,GAAO,IAC7E,CACT,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAA;IACH,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,sEAAsE,YAClF,OAAO,GACJ,EACL,OAAO,CAAC,CAAC,CAAC,CACT,iBAAO,SAAS,EAAC,iOAAiO,aAChP,cAAK,SAAS,EAAC,qEAAqE,YACjF,YAAY,GACT,EACN,cAAK,SAAS,EAAC,oDAAoD,YAAE,OAAO,GAAO,IAC7E,CACT,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAA;AACH,CAAC"}
1
+ {"version":3,"file":"WizardPage.js","sourceRoot":"","sources":["../../../src/onboarding/WizardPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EACL,WAAW,EACX,UAAU,GACX,MAAM,qCAAqC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ydtb/tk-scope-app",
3
- "version": "0.25.4",
3
+ "version": "0.26.0",
4
4
  "private": false,
5
5
  "description": "Platform client shell for tk-scope — pages, layouts, dashboard chrome, onboarding, auth strategies",
6
6
  "type": "module",
@@ -84,21 +84,21 @@
84
84
  "@orpc/tanstack-query": "^1.13.14",
85
85
  "@ydtb/core-client": "^0.13.2",
86
86
  "@ydtb/tk-scope": "0.14.2",
87
- "@ydtb/tk-scope-api-client": "0.13.0",
88
- "@ydtb/tk-scope-extension": "0.23.12",
89
- "@ydtb/tk-scope-dashboard": "0.25.4",
90
- "@ydtb/tk-scope-launchpad": "0.23.12",
91
- "@ydtb/tk-scope-events": "0.23.12",
92
87
  "@ydtb/tk-scope-auth": "0.23.12",
88
+ "@ydtb/tk-scope-extension": "0.23.12",
93
89
  "@ydtb/tk-scope-lib": "0.13.0",
90
+ "@ydtb/tk-scope-api-client": "0.13.0",
91
+ "@ydtb/tk-scope-dashboard": "0.26.0",
92
+ "@ydtb/tk-scope-events": "0.23.12",
93
+ "@ydtb/tk-scope-search": "0.23.12",
94
+ "@ydtb/tk-scope-launchpad": "0.23.12",
94
95
  "@ydtb/tk-scope-notifications": "0.23.12",
96
+ "@ydtb/tk-scope-shell": "0.26.0",
97
+ "@ydtb/tk-scope-tokens": "0.26.0",
95
98
  "@ydtb/tk-scope-onboarding": "0.23.12",
96
- "@ydtb/tk-scope-platform": "0.23.12",
99
+ "@ydtb/tk-scope-ui": "0.26.0",
97
100
  "@ydtb/tk-scope-query-client": "0.14.0",
98
- "@ydtb/tk-scope-search": "0.23.12",
99
- "@ydtb/tk-scope-shell": "0.25.1",
100
- "@ydtb/tk-scope-ui": "0.25.1",
101
- "@ydtb/tk-scope-tokens": "0.25.1"
101
+ "@ydtb/tk-scope-platform": "0.23.12"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "@tanstack/react-query": ">=5.99.0 <6.0.0",