@burdenoff/microfe-workspaces 2026.1023.2 → 2026.1023.4
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DocsEnvironment } from '@burdenoff/fe-libs/shared/config';
|
|
1
2
|
import { LucideIcon } from 'lucide-react';
|
|
2
3
|
import { tWithFallback } from '../../../utils/i18n';
|
|
3
4
|
type Translator = Parameters<typeof tWithFallback>[0];
|
|
@@ -9,5 +10,9 @@ export interface Tip {
|
|
|
9
10
|
external?: boolean;
|
|
10
11
|
color: string;
|
|
11
12
|
}
|
|
12
|
-
export
|
|
13
|
+
export interface PickTipsOptions {
|
|
14
|
+
/** Override the detected docs environment (tests, previews). */
|
|
15
|
+
docsEnvironment?: DocsEnvironment;
|
|
16
|
+
}
|
|
17
|
+
export declare function pickTips(t: Translator, productId?: string, options?: PickTipsOptions): Tip[];
|
|
13
18
|
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { tWithFallback as e } from "../../../utils/i18n.js";
|
|
2
2
|
import { BookOpen as t, GitBranch as n, LayoutTemplate as r, Newspaper as i, Puzzle as a, Rocket as o, ScrollText as s, Shield as c, Sparkles as l, Users as u, Workflow as d } from "lucide-react";
|
|
3
|
+
import { buildProductDocsUrl as f } from "@burdenoff/fe-libs/shared/config";
|
|
3
4
|
//#region src/pages/dashboard/widgets/tipsCatalog.ts
|
|
4
|
-
function
|
|
5
|
+
function p(e, t, n) {
|
|
6
|
+
return f(e, "", { environment: n.docsEnvironment }) ?? t;
|
|
7
|
+
}
|
|
8
|
+
function m(n, r) {
|
|
5
9
|
return [
|
|
6
10
|
{
|
|
7
11
|
icon: t,
|
|
8
12
|
title: e(n, "dashboard.tips.vibecontrols.readDocs.title", "Read the docs"),
|
|
9
13
|
description: e(n, "dashboard.tips.vibecontrols.readDocs.description", "Guides, references, and tutorials at docs.vibecontrols.com."),
|
|
10
|
-
href: "https://docs.vibecontrols.com",
|
|
14
|
+
href: p("vibecontrols", "https://docs.vibecontrols.com", r),
|
|
11
15
|
external: !0,
|
|
12
16
|
color: "text-accent-blue"
|
|
13
17
|
},
|
|
@@ -43,7 +47,7 @@ function f(n) {
|
|
|
43
47
|
}
|
|
44
48
|
];
|
|
45
49
|
}
|
|
46
|
-
function
|
|
50
|
+
function h(n) {
|
|
47
51
|
return [
|
|
48
52
|
{
|
|
49
53
|
icon: o,
|
|
@@ -75,7 +79,7 @@ function p(n) {
|
|
|
75
79
|
}
|
|
76
80
|
];
|
|
77
81
|
}
|
|
78
|
-
function
|
|
82
|
+
function g(i, a) {
|
|
79
83
|
return [
|
|
80
84
|
{
|
|
81
85
|
icon: n,
|
|
@@ -102,7 +106,7 @@ function m(i) {
|
|
|
102
106
|
icon: t,
|
|
103
107
|
title: e(i, "dashboard.tips.fluidgrids.readDocs.title", "Read the docs"),
|
|
104
108
|
description: e(i, "dashboard.tips.fluidgrids.readDocs.description", "Guides and node reference at docs.fluidgrids.ai."),
|
|
105
|
-
href: "https://docs.fluidgrids.ai",
|
|
109
|
+
href: p("fluidgrids", "https://docs.fluidgrids.ai", a),
|
|
106
110
|
external: !0,
|
|
107
111
|
color: "text-status-warning-text"
|
|
108
112
|
},
|
|
@@ -116,8 +120,8 @@ function m(i) {
|
|
|
116
120
|
}
|
|
117
121
|
];
|
|
118
122
|
}
|
|
119
|
-
function
|
|
120
|
-
return t === "vibecontrols" ?
|
|
123
|
+
function _(e, t, n = {}) {
|
|
124
|
+
return t === "vibecontrols" ? m(e, n) : t === "fluidgrids" ? g(e, n) : h(e);
|
|
121
125
|
}
|
|
122
126
|
//#endregion
|
|
123
|
-
export {
|
|
127
|
+
export { _ as pickTips };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-workspaces",
|
|
3
|
-
"version": "2026.1023.
|
|
3
|
+
"version": "2026.1023.4",
|
|
4
4
|
"description": "Workspaces microfrontend for Burdenoff products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apollo/client": "^4.0.11",
|
|
51
|
-
"@burdenoff/fe-libs": "2026.
|
|
51
|
+
"@burdenoff/fe-libs": "2026.1023.13",
|
|
52
52
|
"@radix-ui/react-icons": "^1.3.2",
|
|
53
53
|
"@tanstack/react-query": "^5.62.13",
|
|
54
54
|
"axios": "^1.20.0",
|