@nextworks/blocks-sections 0.2.0-alpha.12 → 0.2.0-alpha.13
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/product-demo/KnowledgePanel.d.ts.map +1 -1
- package/dist/components/product-demo/KnowledgePanel.jsx +3 -1
- package/dist/components/product-demo/RunConsolePanel.d.ts.map +1 -1
- package/dist/components/product-demo/RunConsolePanel.jsx +6 -2
- package/dist/components/product-demo/WorkflowStudioPanel.d.ts.map +1 -1
- package/dist/components/product-demo/WorkflowStudioPanel.jsx +2 -1
- package/dist-types/components/product-demo/KnowledgePanel.d.ts.map +1 -1
- package/dist-types/components/product-demo/RunConsolePanel.d.ts.map +1 -1
- package/dist-types/components/product-demo/WorkflowStudioPanel.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KnowledgePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/KnowledgePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"KnowledgePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/KnowledgePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,mBAAmB,qBAqG5D"}
|
|
@@ -51,7 +51,9 @@ export function KnowledgePanel({ state }) {
|
|
|
51
51
|
{snippet.title}
|
|
52
52
|
</div>
|
|
53
53
|
{(snippet.excerptLabel || (source === null || source === void 0 ? void 0 : source.label)) && (<div className="mt-1 text-[11px] text-muted-foreground">
|
|
54
|
-
{[snippet.excerptLabel, source === null || source === void 0 ? void 0 : source.label]
|
|
54
|
+
{[snippet.excerptLabel, source === null || source === void 0 ? void 0 : source.label]
|
|
55
|
+
.filter(Boolean)
|
|
56
|
+
.join(" • ")}
|
|
55
57
|
</div>)}
|
|
56
58
|
</div>
|
|
57
59
|
{snippet.confidence && (<span className="rounded-full border border-border/60 bg-muted/60 px-2 py-1 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunConsolePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/RunConsolePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RunConsolePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/RunConsolePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,0BAA0B,CAAC;CACnC;AAwBD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,qBAoH9D"}
|
|
@@ -66,9 +66,13 @@ export function RunConsolePanel({ state }) {
|
|
|
66
66
|
return (<div key={entry.id} className={cn("rounded-xl border border-border/60 bg-background/70 px-3 py-2.5", isActive && "border-primary/40 bg-primary/6")}>
|
|
67
67
|
<div className="flex items-start justify-between gap-3">
|
|
68
68
|
<div className="min-w-0 flex-1">
|
|
69
|
-
<div className="text-sm text-card-foreground">
|
|
69
|
+
<div className="text-sm text-card-foreground">
|
|
70
|
+
{entry.message}
|
|
71
|
+
</div>
|
|
70
72
|
{(entry.source || entry.timestamp) && (<div className="mt-1 text-[11px] text-muted-foreground">
|
|
71
|
-
{[entry.source, entry.timestamp]
|
|
73
|
+
{[entry.source, entry.timestamp]
|
|
74
|
+
.filter(Boolean)
|
|
75
|
+
.join(" • ")}
|
|
72
76
|
</div>)}
|
|
73
77
|
{entry.detail && (<p className="mt-2 text-xs leading-relaxed text-muted-foreground">
|
|
74
78
|
{entry.detail}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStudioPanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/WorkflowStudioPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAGV,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AA0BD,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"WorkflowStudioPanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/WorkflowStudioPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAGV,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AA0BD,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,qBA0JtE"}
|
|
@@ -98,7 +98,8 @@ export function WorkflowStudioPanel({ state }) {
|
|
|
98
98
|
<div className="mt-3 flex flex-wrap gap-2">
|
|
99
99
|
{state.branches.map((branch) => {
|
|
100
100
|
var _a;
|
|
101
|
-
return (<div key={branch.id} className={cn("rounded-full border px-2.5 py-1 text-[10px] font-medium uppercase tracking-[0.14em]", getStatusClass(branch.status), branch.active &&
|
|
101
|
+
return (<div key={branch.id} className={cn("rounded-full border px-2.5 py-1 text-[10px] font-medium uppercase tracking-[0.14em]", getStatusClass(branch.status), branch.active &&
|
|
102
|
+
"border-primary/45 bg-primary/10 text-primary")}>
|
|
102
103
|
{(_a = branch.label) !== null && _a !== void 0 ? _a : `${branch.fromNodeId} → ${branch.toNodeId}`}
|
|
103
104
|
</div>);
|
|
104
105
|
})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KnowledgePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/KnowledgePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"KnowledgePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/KnowledgePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,8BAA8B,EAE/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AAgBD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,mBAAmB,qBAqG5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunConsolePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/RunConsolePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"RunConsolePanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/RunConsolePanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,0BAA0B,EAE3B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,0BAA0B,CAAC;CACnC;AAwBD,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,qBAoH9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStudioPanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/WorkflowStudioPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAGV,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AA0BD,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"WorkflowStudioPanel.d.ts","sourceRoot":"","sources":["../../../src/components/product-demo/WorkflowStudioPanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAGV,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,8BAA8B,CAAC;CACvC;AA0BD,wBAAgB,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,qBA0JtE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextworks/blocks-sections",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist-types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build": "npx tsc -p tsconfig.json && npx tsc -p tsconfig.json --emitDeclarationOnly --declaration --outDir dist-types"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@nextworks/blocks-core": "0.2.0-alpha.
|
|
24
|
+
"@nextworks/blocks-core": "0.2.0-alpha.13",
|
|
25
25
|
"lucide-react": "^0.542.0",
|
|
26
26
|
"motion": "^12.23.12"
|
|
27
27
|
},
|