@rebasepro/plugin-insights 0.16.0 → 0.16.1-canary.g2d1aec8
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/components/CollectionInsightsInline.d.ts +1 -1
- package/dist/components/HomeCardInsightSlot.d.ts +1 -1
- package/dist/components/HomeInsightsSlot.d.ts +1 -1
- package/dist/components/InsightWidget.d.ts +1 -1
- package/dist/components/InsightWidgetSkeleton.d.ts +1 -1
- package/dist/components/InsightsScorecardView.d.ts +1 -1
- package/dist/engine/InsightsCache.d.ts +1 -1
- package/dist/engine/InsightsProvider.d.ts +1 -1
- package/dist/engine/useInsightsData.d.ts +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/types/engine.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/useInsightsPlugin.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { InsightDefinition } from "../types";
|
|
2
|
+
import type { InsightDefinition } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Renders scorecard insight widgets inline within a collection's list view,
|
|
5
5
|
* positioned below the title and above the main data list.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { InsightDefinition } from "../types";
|
|
2
|
+
import type { InsightDefinition } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Renders compact insight widgets inline within a home page collection card.
|
|
5
5
|
* Injected via the `home.card.widget` slot.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ScorecardConfig } from "../types";
|
|
2
|
+
import type { ScorecardConfig } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* Skeleton loader for scorecard insight widgets — displays animated
|
|
5
5
|
* shimmer placeholders that exactly match the final rendered layout
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type { DataRow, ScorecardFormat, ScorecardConfig, InsightDataResult, InsightDefinition, InsightsPluginConfig } from "./types";
|
|
2
|
-
export { useInsightsPlugin } from "./useInsightsPlugin";
|
|
3
|
-
export { InsightsProvider, useInsightsEngine } from "./engine/InsightsProvider";
|
|
4
|
-
export { InsightsCache } from "./engine/InsightsCache";
|
|
5
|
-
export { useInsightsData } from "./engine/useInsightsData";
|
|
6
|
-
export { InsightsScorecardView } from "./components/InsightsScorecardView";
|
|
7
|
-
export { InsightWidget } from "./components/InsightWidget";
|
|
8
|
-
export { InsightWidgetSkeleton } from "./components/InsightWidgetSkeleton";
|
|
1
|
+
export type { DataRow, ScorecardFormat, ScorecardConfig, InsightDataResult, InsightDefinition, InsightsPluginConfig } from "./types/index.js";
|
|
2
|
+
export { useInsightsPlugin } from "./useInsightsPlugin.js";
|
|
3
|
+
export { InsightsProvider, useInsightsEngine } from "./engine/InsightsProvider.js";
|
|
4
|
+
export { InsightsCache } from "./engine/InsightsCache.js";
|
|
5
|
+
export { useInsightsData } from "./engine/useInsightsData.js";
|
|
6
|
+
export { InsightsScorecardView } from "./components/InsightsScorecardView.js";
|
|
7
|
+
export { InsightWidget } from "./components/InsightWidget.js";
|
|
8
|
+
export { InsightWidgetSkeleton } from "./components/InsightWidgetSkeleton.js";
|
package/dist/types/engine.d.ts
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./engine";
|
|
2
|
-
export * from "./widgets";
|
|
1
|
+
export * from "./engine.js";
|
|
2
|
+
export * from "./widgets.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/plugin-insights",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.16.
|
|
4
|
+
"version": "0.16.1-canary.g2d1aec8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.es.js",
|
|
7
7
|
"module": "./dist/index.es.js",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rebasepro/
|
|
20
|
-
"@rebasepro/
|
|
21
|
-
"@rebasepro/
|
|
22
|
-
"@rebasepro/
|
|
19
|
+
"@rebasepro/admin-types": "0.16.1-canary.g2d1aec8",
|
|
20
|
+
"@rebasepro/app": "0.16.1-canary.g2d1aec8",
|
|
21
|
+
"@rebasepro/types": "0.16.1-canary.g2d1aec8",
|
|
22
|
+
"@rebasepro/ui": "0.16.1-canary.g2d1aec8"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": ">=19.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"scripts": {
|
|
86
86
|
"dev": "vite",
|
|
87
|
-
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
|
|
87
|
+
"build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
|
|
88
88
|
"test": "jest --passWithNoTests"
|
|
89
89
|
}
|
|
90
90
|
}
|