@burdenoff/fe-libs 2026.529.6 → 2026.530.2

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 +1 @@
1
- {"version":3,"file":"AutoBreadcrumbs.d.ts","sourceRoot":"","sources":["../../src/chrome/AutoBreadcrumbs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAWH,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAE9D;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,MAAM,QAElD;AAiBD,wBAAgB,eAAe,mDAgH9B"}
1
+ {"version":3,"file":"AutoBreadcrumbs.d.ts","sourceRoot":"","sources":["../../src/chrome/AutoBreadcrumbs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAYH,wBAAgB,sBAAsB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAE9D;AAED,wBAAgB,wBAAwB,CAAC,EAAE,EAAE,MAAM,QAElD;AAiBD,wBAAgB,eAAe,mDAgI9B"}
@@ -57,9 +57,11 @@ function m() {
57
57
  children: /* @__PURE__ */ s("ol", {
58
58
  className: "flex min-w-0 flex-wrap items-center gap-0.5",
59
59
  children: [
60
- /* @__PURE__ */ o("li", { children: /* @__PURE__ */ s("button", {
61
- type: "button",
62
- onClick: () => p("/"),
60
+ /* @__PURE__ */ o("li", { children: /* @__PURE__ */ s("a", {
61
+ href: "/",
62
+ onClick: (e) => {
63
+ e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0 || (e.preventDefault(), p("/"));
64
+ },
63
65
  className: "inline-flex items-center gap-1 rounded-md p-1.5 text-text-secondary transition-colors duration-150 hover:bg-action-ghost-bg-hover hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-strong",
64
66
  "aria-label": v,
65
67
  children: [/* @__PURE__ */ o(a, { className: "size-3.5" }), /* @__PURE__ */ o("span", {
@@ -81,9 +83,11 @@ function m() {
81
83
  className: "inline-flex max-w-[220px] items-center truncate rounded-md px-1.5 py-0.5 font-semibold text-text-primary sm:max-w-[320px]",
82
84
  "aria-current": "page",
83
85
  children: e.label
84
- }) : /* @__PURE__ */ o("button", {
85
- type: "button",
86
- onClick: () => p(e.path),
86
+ }) : /* @__PURE__ */ o("a", {
87
+ href: e.path,
88
+ onClick: (t) => {
89
+ t.metaKey || t.ctrlKey || t.shiftKey || t.button !== 0 || (t.preventDefault(), p(e.path));
90
+ },
87
91
  className: "inline-flex max-w-[140px] items-center truncate rounded-md px-1.5 py-0.5 text-text-secondary transition-colors duration-150 hover:bg-action-ghost-bg-hover hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-strong sm:max-w-[200px]",
88
92
  children: e.label
89
93
  }), !e.isLast && /* @__PURE__ */ o("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"NavItemRenderer.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/NavItemRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiC,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGvC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAwJpD,CAAC"}
1
+ {"version":3,"file":"NavItemRenderer.d.ts","sourceRoot":"","sources":["../../../src/chrome/sideNavigation/NavItemRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAiC,MAAM,OAAO,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGvC,UAAU,oBAAoB;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;CACpB;AAWD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAwNpD,CAAC"}
@@ -1,85 +1,101 @@
1
1
  import { isItemDirectlyActive as e, isItemOrChildActive as t } from "./helpers.js";
2
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
2
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
3
  //#region src/chrome/sideNavigation/NavItemRenderer.tsx
4
- var i = ({ item: a, depth: o, maxDepth: s, currentPath: c, expandedItems: l, toggleExpand: u, onItemClick: d, onToggleCollapse: f, collapsed: p }) => {
5
- let m = a.children && a.children.length > 0 && o < s, h = l.has(a.id), g = t(a, c), _ = e(a, c), v = o === 0 ? "w-icon-md h-icon-md" : "w-4 h-4", y = o === 0 ? "py-2" : "py-1.5", b = (e) => {
6
- let t = e.currentTarget.closest("nav"), n = t?.scrollTop, r = () => {
4
+ function a(e) {
5
+ return e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0;
6
+ }
7
+ var o = ({ item: s, depth: c, maxDepth: l, currentPath: u, expandedItems: d, toggleExpand: f, onItemClick: p, onToggleCollapse: m, collapsed: h }) => {
8
+ let g = s.children && s.children.length > 0 && c < l, _ = d.has(s.id), v = t(s, u), y = e(s, u), b = c === 0 ? "w-icon-md h-icon-md" : "w-4 h-4", x = c === 0 ? "py-2" : "py-1.5", S = g ? h && c === 0 ? s.homePath || s.children?.[0]?.path || s.path : s.homePath || s.path : s.path, C = `
9
+ w-full flex items-center gap-icon-gap ${x} rounded-button
10
+ transition-colors duration-200 ease-out
11
+ active:scale-[0.98]
12
+ ${h && c === 0 ? "md:px-2 md:justify-center" : "px-card-padding"}
13
+ ${y && !g || y && g ? "bg-action-primary-bg text-action-primary-text shadow-sm" : v && !_ && !g ? "bg-action-ghost-bg-hover text-text-primary" : v && g ? "text-text-primary" : "text-text-secondary hover:bg-action-ghost-bg-hover hover:text-text-primary"}
14
+ `, w = (e) => {
15
+ let t = e.closest("nav"), n = t?.scrollTop;
16
+ return () => {
7
17
  t && n !== void 0 && (t.scrollTop = n);
8
18
  };
9
- if (p && o === 0 && m) {
10
- d(a.homePath || a.children?.[0]?.path || a.path), requestAnimationFrame(r);
19
+ }, T = (e) => {
20
+ if (a(e)) return;
21
+ let t = w(e.currentTarget);
22
+ if (e.preventDefault(), h && c === 0 && g) {
23
+ p(s.homePath || s.children?.[0]?.path || s.path), requestAnimationFrame(t);
11
24
  return;
12
25
  }
13
- m ? (u(a.id), requestAnimationFrame(r)) : (d(a.path), window.innerWidth < 768 && f && !p && f(), requestAnimationFrame(r));
14
- };
15
- return /* @__PURE__ */ r("li", { children: [/* @__PURE__ */ n("div", {
26
+ g ? (f(s.id), requestAnimationFrame(t)) : (p(s.path), window.innerWidth < 768 && m && !h && m(), requestAnimationFrame(t));
27
+ }, E = (e) => {
28
+ e.button === 0 && !e.ctrlKey && !e.metaKey && !e.shiftKey && e.preventDefault();
29
+ }, D = /* @__PURE__ */ i(n, { children: [
30
+ s.icon && /* @__PURE__ */ r("div", {
31
+ className: `${b} flex-shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full [&>svg]:stroke-[1.75]`,
32
+ children: typeof s.icon == "string" ? /* @__PURE__ */ r("svg", {
33
+ className: "w-full h-full",
34
+ fill: "none",
35
+ stroke: "currentColor",
36
+ viewBox: "0 0 24 24",
37
+ children: /* @__PURE__ */ r("path", {
38
+ strokeLinecap: "round",
39
+ strokeLinejoin: "round",
40
+ strokeWidth: 2,
41
+ d: s.icon
42
+ })
43
+ }) : s.icon
44
+ }),
45
+ /* @__PURE__ */ r("span", {
46
+ className: `text-body-sm font-medium flex-1 text-left ${h && c === 0 ? "md:hidden" : ""}`,
47
+ children: s.label
48
+ }),
49
+ s.badge !== void 0 && s.badge > 0 && /* @__PURE__ */ r("span", {
50
+ className: `text-xs bg-status-error-bg text-status-error-text px-2 py-0.5 rounded-pill ${h && c === 0 ? "md:hidden" : ""}`,
51
+ children: s.badge
52
+ }),
53
+ g && !(h && c === 0) && /* @__PURE__ */ r("svg", {
54
+ className: `w-4 h-4 transition-transform ${_ ? "rotate-90" : ""}`,
55
+ fill: "none",
56
+ stroke: "currentColor",
57
+ viewBox: "0 0 24 24",
58
+ children: /* @__PURE__ */ r("path", {
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ strokeWidth: 2,
62
+ d: "M9 5l7 7-7 7"
63
+ })
64
+ })
65
+ ] });
66
+ return /* @__PURE__ */ i("li", { children: [/* @__PURE__ */ r("div", {
16
67
  className: "relative",
17
- children: /* @__PURE__ */ r("button", {
68
+ children: S ? /* @__PURE__ */ r("a", {
69
+ href: S,
70
+ onClick: T,
71
+ onMouseDown: E,
72
+ className: C,
73
+ "aria-label": s.label,
74
+ "aria-expanded": g ? _ : void 0,
75
+ children: D
76
+ }) : /* @__PURE__ */ r("button", {
18
77
  type: "button",
19
- onClick: (e) => b(e),
20
- onMouseDown: (e) => {
21
- e.preventDefault();
22
- },
23
- className: `
24
- w-full flex items-center gap-icon-gap ${y} rounded-button
25
- transition-colors duration-200 ease-out
26
- active:scale-[0.98]
27
- ${p && o === 0 ? "md:px-2 md:justify-center" : "px-card-padding"}
28
- ${_ && !m || _ && m ? "bg-action-primary-bg text-action-primary-text shadow-sm" : g && !h && !m ? "bg-action-ghost-bg-hover text-text-primary" : g && m ? "text-text-primary" : "text-text-secondary hover:bg-action-ghost-bg-hover hover:text-text-primary"}
29
- `,
30
- "aria-label": a.label,
31
- children: [
32
- a.icon && /* @__PURE__ */ n("div", {
33
- className: `${v} flex-shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full [&>svg]:stroke-[1.75]`,
34
- children: typeof a.icon == "string" ? /* @__PURE__ */ n("svg", {
35
- className: "w-full h-full",
36
- fill: "none",
37
- stroke: "currentColor",
38
- viewBox: "0 0 24 24",
39
- children: /* @__PURE__ */ n("path", {
40
- strokeLinecap: "round",
41
- strokeLinejoin: "round",
42
- strokeWidth: 2,
43
- d: a.icon
44
- })
45
- }) : a.icon
46
- }),
47
- /* @__PURE__ */ n("span", {
48
- className: `text-body-sm font-medium flex-1 text-left ${p && o === 0 ? "md:hidden" : ""}`,
49
- children: a.label
50
- }),
51
- a.badge !== void 0 && a.badge > 0 && /* @__PURE__ */ n("span", {
52
- className: `text-xs bg-status-error-bg text-status-error-text px-2 py-0.5 rounded-pill ${p && o === 0 ? "md:hidden" : ""}`,
53
- children: a.badge
54
- }),
55
- m && !(p && o === 0) && /* @__PURE__ */ n("svg", {
56
- className: `w-4 h-4 transition-transform ${h ? "rotate-90" : ""}`,
57
- fill: "none",
58
- stroke: "currentColor",
59
- viewBox: "0 0 24 24",
60
- children: /* @__PURE__ */ n("path", {
61
- strokeLinecap: "round",
62
- strokeLinejoin: "round",
63
- strokeWidth: 2,
64
- d: "M9 5l7 7-7 7"
65
- })
66
- })
67
- ]
78
+ onClick: T,
79
+ onMouseDown: E,
80
+ className: C,
81
+ "aria-label": s.label,
82
+ "aria-expanded": g ? _ : void 0,
83
+ children: D
68
84
  })
69
- }), m && h && !p && /* @__PURE__ */ n("ul", {
85
+ }), g && _ && !h && /* @__PURE__ */ r("ul", {
70
86
  className: "mt-1 ml-6 space-y-1 border-l border-border-subtle pl-3 animate-in fade-in-0 slide-in-from-top-2 duration-200",
71
- children: a.children.map((e) => /* @__PURE__ */ n(i, {
87
+ children: s.children.map((e) => /* @__PURE__ */ r(o, {
72
88
  item: e,
73
- depth: o + 1,
74
- maxDepth: s,
75
- currentPath: c,
76
- expandedItems: l,
77
- toggleExpand: u,
78
- onItemClick: d,
79
- onToggleCollapse: f,
80
- collapsed: p
89
+ depth: c + 1,
90
+ maxDepth: l,
91
+ currentPath: u,
92
+ expandedItems: d,
93
+ toggleExpand: f,
94
+ onItemClick: p,
95
+ onToggleCollapse: m,
96
+ collapsed: h
81
97
  }, e.id))
82
98
  })] });
83
99
  };
84
100
  //#endregion
85
- export { i as NavItemRenderer };
101
+ export { o as NavItemRenderer };
@@ -1 +1 @@
1
- {"version":3,"file":"SearchPage.d.ts","sourceRoot":"","sources":["../../../src/shared/pages/SearchPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,EAEL,KAAK,aAAa,EAKnB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,UAAU,CAAC;AAwB7D,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,iBAAiB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;IAC9E,sDAAsD;IACtD,cAAc,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;K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,CAAC;IACrB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CACzF;AAED,wBAAgB,UAAU,CAAC,EACzB,iBAAuC,EACvC,eAAmC,EACnC,cAAgC,EAChC,qBAA0B,EAC1B,WAA8D,EAC9D,QAAyD,EACzD,kBAAkB,GACnB,GAAE,eAAoB,2CAooBtB"}
@@ -203,158 +203,176 @@ function d({ entityTypeOptions: d = a, entityTypeIcons: he = i, productOptions:
203
203
  children: ye
204
204
  })]
205
205
  }),
206
- /* @__PURE__ */ u(re, {
207
- inputValue: dt,
208
- placeholder: ve,
209
- onInputChange: ft,
210
- onSubmit: gt,
211
- onClear: () => {
212
- ft(""), Ve("");
213
- }
206
+ /* @__PURE__ */ u("div", {
207
+ "data-tour": "search-input",
208
+ children: /* @__PURE__ */ u(re, {
209
+ inputValue: dt,
210
+ placeholder: ve,
211
+ onInputChange: ft,
212
+ onSubmit: gt,
213
+ onClear: () => {
214
+ ft(""), Ve("");
215
+ }
216
+ })
214
217
  }),
215
- /* @__PURE__ */ u(ie, {
216
- searchMode: g,
217
- sortBy: _,
218
- showFilters: lt,
219
- activeFilterCount: Ct,
220
- onSearchModeChange: (e) => {
221
- He(e), Y(1);
222
- },
223
- onSortByChange: (e) => {
224
- Ue(e), Y(1);
225
- },
226
- onToggleFilters: () => ut(!lt),
227
- onClearFilters: St
218
+ /* @__PURE__ */ u("div", {
219
+ "data-tour": "search-toolbar",
220
+ children: /* @__PURE__ */ u(ie, {
221
+ searchMode: g,
222
+ sortBy: _,
223
+ showFilters: lt,
224
+ activeFilterCount: Ct,
225
+ onSearchModeChange: (e) => {
226
+ He(e), Y(1);
227
+ },
228
+ onSortByChange: (e) => {
229
+ Ue(e), Y(1);
230
+ },
231
+ onToggleFilters: () => ut(!lt),
232
+ onClearFilters: St
233
+ })
228
234
  }),
229
- lt && /* @__PURE__ */ u(ae, {
230
- entityTypeOptions: d,
231
- selectedTypes: v,
232
- excludedTypes: y,
233
- availableProductOptions: Dt,
234
- selectedProducts: b,
235
- facets: ot,
236
- projectId: C,
237
- createdBy: x,
238
- updatedBy: S,
239
- dateFrom: w,
240
- dateTo: T,
241
- updatedDateFrom: D,
242
- updatedDateTo: k,
243
- tagIdsInput: M,
244
- tagKeysInput: P,
245
- tagPathsInput: I,
246
- tagVocabularyKeysInput: R,
247
- tagMatchAll: B,
248
- includeDescendants: H,
249
- tagDepth: W,
250
- metadataConditions: K,
251
- onToggleEntityType: _t,
252
- onToggleExcludedType: vt,
253
- onToggleProductSource: Ot,
254
- onProjectIdChange: (e) => {
255
- Ye(e), Y(1);
256
- },
257
- onCreatedByChange: (e) => {
258
- qe(e), Y(1);
259
- },
260
- onUpdatedByChange: (e) => {
261
- Je(e), Y(1);
262
- },
263
- onDateFromChange: (e) => {
264
- Xe(e), Y(1);
265
- },
266
- onDateToChange: (e) => {
267
- E(e), Y(1);
268
- },
269
- onUpdatedDateFromChange: (e) => {
270
- O(e), Y(1);
271
- },
272
- onUpdatedDateToChange: (e) => {
273
- Ze(e), Y(1);
274
- },
275
- onTagIdsChange: (e) => {
276
- N(e), Y(1);
277
- },
278
- onTagKeysChange: (e) => {
279
- F(e), Y(1);
280
- },
281
- onTagPathsChange: (e) => {
282
- L(e), Y(1);
283
- },
284
- onTagVocabularyKeysChange: (e) => {
285
- z(e), Y(1);
286
- },
287
- onTagMatchAllChange: (e) => {
288
- V(e), Y(1);
289
- },
290
- onIncludeDescendantsChange: (e) => {
291
- U(e), Y(1);
292
- },
293
- onTagDepthChange: (e) => {
294
- G(e), Y(1);
295
- },
296
- onAddMetadataCondition: yt,
297
- onUpdateMetadataCondition: bt,
298
- onRemoveMetadataCondition: xt,
299
- children: /* @__PURE__ */ u(oe, {
300
- excludeIdsInput: A,
235
+ lt && /* @__PURE__ */ u("div", {
236
+ "data-tour": "search-filters-panel",
237
+ children: /* @__PURE__ */ u(ae, {
238
+ entityTypeOptions: d,
301
239
  selectedTypes: v,
302
240
  excludedTypes: y,
303
- selectedProducts: b,
304
- entityTypeOptions: d,
305
241
  availableProductOptions: Dt,
242
+ selectedProducts: b,
243
+ facets: ot,
244
+ projectId: C,
306
245
  createdBy: x,
307
246
  updatedBy: S,
308
- projectId: C,
309
247
  dateFrom: w,
310
248
  dateTo: T,
311
249
  updatedDateFrom: D,
312
250
  updatedDateTo: k,
313
- builtTagFilter: $,
314
- normalizedMetadataConditionsCount: Q.length,
315
- normalizedExcludeIds: Z,
316
- activeFilterCount: Ct,
317
- onExcludeIdsChange: (e) => {
318
- j(e), Y(1);
319
- },
251
+ tagIdsInput: M,
252
+ tagKeysInput: P,
253
+ tagPathsInput: I,
254
+ tagVocabularyKeysInput: R,
255
+ tagMatchAll: B,
256
+ includeDescendants: H,
257
+ tagDepth: W,
258
+ metadataConditions: K,
320
259
  onToggleEntityType: _t,
321
260
  onToggleExcludedType: vt,
322
261
  onToggleProductSource: Ot,
323
- onClearCreatedBy: () => qe(""),
324
- onClearUpdatedBy: () => Je(""),
325
- onClearProjectId: () => Ye(""),
326
- onClearCreatedDateRange: () => {
327
- Xe(""), E("");
262
+ onProjectIdChange: (e) => {
263
+ Ye(e), Y(1);
264
+ },
265
+ onCreatedByChange: (e) => {
266
+ qe(e), Y(1);
328
267
  },
329
- onClearUpdatedDateRange: () => {
330
- O(""), Ze("");
268
+ onUpdatedByChange: (e) => {
269
+ Je(e), Y(1);
331
270
  },
332
- onClearTagFilter: () => {
333
- N(""), F(""), L(""), z(""), V(!1), U(!0), G("");
271
+ onDateFromChange: (e) => {
272
+ Xe(e), Y(1);
334
273
  },
335
- onClearMetadataConditions: () => q([]),
336
- onClearExcludeIds: () => j("")
274
+ onDateToChange: (e) => {
275
+ E(e), Y(1);
276
+ },
277
+ onUpdatedDateFromChange: (e) => {
278
+ O(e), Y(1);
279
+ },
280
+ onUpdatedDateToChange: (e) => {
281
+ Ze(e), Y(1);
282
+ },
283
+ onTagIdsChange: (e) => {
284
+ N(e), Y(1);
285
+ },
286
+ onTagKeysChange: (e) => {
287
+ F(e), Y(1);
288
+ },
289
+ onTagPathsChange: (e) => {
290
+ L(e), Y(1);
291
+ },
292
+ onTagVocabularyKeysChange: (e) => {
293
+ z(e), Y(1);
294
+ },
295
+ onTagMatchAllChange: (e) => {
296
+ V(e), Y(1);
297
+ },
298
+ onIncludeDescendantsChange: (e) => {
299
+ U(e), Y(1);
300
+ },
301
+ onTagDepthChange: (e) => {
302
+ G(e), Y(1);
303
+ },
304
+ onAddMetadataCondition: yt,
305
+ onUpdateMetadataCondition: bt,
306
+ onRemoveMetadataCondition: xt,
307
+ children: /* @__PURE__ */ u(oe, {
308
+ excludeIdsInput: A,
309
+ selectedTypes: v,
310
+ excludedTypes: y,
311
+ selectedProducts: b,
312
+ entityTypeOptions: d,
313
+ availableProductOptions: Dt,
314
+ createdBy: x,
315
+ updatedBy: S,
316
+ projectId: C,
317
+ dateFrom: w,
318
+ dateTo: T,
319
+ updatedDateFrom: D,
320
+ updatedDateTo: k,
321
+ builtTagFilter: $,
322
+ normalizedMetadataConditionsCount: Q.length,
323
+ normalizedExcludeIds: Z,
324
+ activeFilterCount: Ct,
325
+ onExcludeIdsChange: (e) => {
326
+ j(e), Y(1);
327
+ },
328
+ onToggleEntityType: _t,
329
+ onToggleExcludedType: vt,
330
+ onToggleProductSource: Ot,
331
+ onClearCreatedBy: () => qe(""),
332
+ onClearUpdatedBy: () => Je(""),
333
+ onClearProjectId: () => Ye(""),
334
+ onClearCreatedDateRange: () => {
335
+ Xe(""), E("");
336
+ },
337
+ onClearUpdatedDateRange: () => {
338
+ O(""), Ze("");
339
+ },
340
+ onClearTagFilter: () => {
341
+ N(""), F(""), L(""), z(""), V(!1), U(!0), G("");
342
+ },
343
+ onClearMetadataConditions: () => q([]),
344
+ onClearExcludeIds: () => j("")
345
+ })
337
346
  })
338
347
  }),
339
- h && /* @__PURE__ */ u(se, {
340
- isSearching: we,
341
- error: ct,
342
- total: et,
343
- searchTimeMs: it
348
+ h && /* @__PURE__ */ u("div", {
349
+ "data-tour": "search-results-status",
350
+ children: /* @__PURE__ */ u(se, {
351
+ isSearching: we,
352
+ error: ct,
353
+ total: et,
354
+ searchTimeMs: it
355
+ })
344
356
  }),
345
- /* @__PURE__ */ u(ce, {
346
- isSearching: we,
347
- error: ct,
348
- query: h,
349
- results: Qe,
350
- getEntityIcon: Et,
351
- onResultClick: Tt
357
+ /* @__PURE__ */ u("div", {
358
+ "data-tour": "search-results-list",
359
+ children: /* @__PURE__ */ u(ce, {
360
+ isSearching: we,
361
+ error: ct,
362
+ query: h,
363
+ results: Qe,
364
+ getEntityIcon: Et,
365
+ onResultClick: Tt
366
+ })
352
367
  }),
353
- Qe.length > 0 && wt > 1 && /* @__PURE__ */ u(le, {
354
- currentPage: J,
355
- totalPages: wt,
356
- hasMore: nt,
357
- onPageChange: Y
368
+ Qe.length > 0 && wt > 1 && /* @__PURE__ */ u("div", {
369
+ "data-tour": "search-pagination",
370
+ children: /* @__PURE__ */ u(le, {
371
+ currentPage: J,
372
+ totalPages: wt,
373
+ hasMore: nt,
374
+ onPageChange: Y
375
+ })
358
376
  })
359
377
  ]
360
378
  })
@@ -31,7 +31,7 @@ export interface AppShellConfig {
31
31
  /** Brand initial for PWA banner icon */
32
32
  brandInitial?: string;
33
33
  /** Default gateway for top-level ApolloProvider */
34
- defaultGateway?: 'workspace' | 'global';
34
+ defaultGateway?: "workspace" | "global";
35
35
  /** Enable GraphQL subscriptions */
36
36
  enableSubscriptions?: boolean;
37
37
  /** Static fallback translations (keyed by locale) */
@@ -43,14 +43,14 @@ export interface AppShellConfig {
43
43
  refetchOnWindowFocus?: boolean;
44
44
  };
45
45
  /** Toaster position */
46
- toasterPosition?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
46
+ toasterPosition?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
47
47
  /** Frontend telemetry sinks. MFEs emit to the shell event bus only. */
48
48
  observability?: AppShellObservabilityConfig;
49
49
  }
50
50
  export interface AppShellObservabilityConfig {
51
51
  enabled?: boolean;
52
52
  appVersion?: string;
53
- appEnv?: 'dev' | 'alpha' | 'prod';
53
+ appEnv?: "dev" | "alpha" | "prod";
54
54
  devtools?: boolean;
55
55
  broadcast?: boolean;
56
56
  rybbit?: {
@@ -92,5 +92,5 @@ export interface AppShellProviderProps {
92
92
  /** Optional callback to clear external auth stores (e.g., microfe-auth's zustand store) */
93
93
  clearAuthStore?: () => void;
94
94
  }
95
- export declare function AppShellProvider({ config, children, clearAuthStore }: AppShellProviderProps): import("react/jsx-runtime").JSX.Element;
95
+ export declare function AppShellProvider({ config, children, clearAuthStore, }: AppShellProviderProps): import("react/jsx-runtime").JSX.Element;
96
96
  //# sourceMappingURL=AppShellProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1F,OAAO,EAAiB,KAAK,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAYlE,OAAO,EAAgB,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAQL,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;AAuBnB,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IAEpB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sBAAsB;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+CAA+C;IAC/C,aAAa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M,CAAC;KACxB,CAAC;IACF,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,wBAAwB;IACvC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACtC;AA8ED,wBAAgB,kCAAkC,CAChD,WAAW,EAAE,MAAM,EACnB,GAAG,EAAE,wBAAwB,GAC5B,2BAA2B,CAmC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAsYD,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,QAAQ,EACR,cAAc,GACf,EAAE,qBAAqB,2CA+SvB"}
@@ -367,8 +367,8 @@ function xe({ config: n, children: i, clearAuthStore: a }) {
367
367
  try {
368
368
  let e = sessionStorage.getItem("bf-active-profile");
369
369
  if (!e) return !1;
370
- let t = localStorage.getItem(`bf-p-${e}-tokens`), n = localStorage.getItem(`bf-p-${e}-auth-storage`), r = t ? JSON.parse(t).accessToken : null, i = n ? JSON.parse(n).state?.accessToken : null;
371
- return !!(r || i);
370
+ let t = localStorage.getItem(`bf-p-${e}-tokens`), n = localStorage.getItem(`bf-p-${e}-auth-storage`), r = 5e3, i = Date.now(), a = t ? JSON.parse(t) : null, o = !!(a?.accessToken && typeof a.expiresAt == "number" && a.expiresAt - r > i), s = n ? JSON.parse(n) : null, c = !!(s?.state?.accessToken && typeof s.state.expiresAt == "number" && s.state.expiresAt - r > i);
371
+ return o || c;
372
372
  } catch {
373
373
  return !1;
374
374
  }
@@ -1,7 +1,9 @@
1
1
  import { TourTooltipProps } from './types';
2
2
  /**
3
3
  * TourTooltip Component
4
- * Displays tour step content with navigation controls
4
+ * Displays tour step content with navigation controls. Responsive across all
5
+ * screen sizes: the body scrolls when tall, the navigation footer stays pinned
6
+ * and on-screen, and the card never exceeds the viewport.
5
7
  */
6
8
  export declare const TourTooltip: import('react').NamedExoticComponent<TourTooltipProps>;
7
9
  //# sourceMappingURL=TourTooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TourTooltip.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTooltip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAiB,MAAM,SAAS,CAAC;AA0G/D;;;GAGG;AACH,eAAO,MAAM,WAAW,wDA2StB,CAAC"}
1
+ {"version":3,"file":"TourTooltip.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTooltip.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAiB,MAAM,SAAS,CAAC;AAmJ/D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,wDAkVtB,CAAC"}
@@ -1,74 +1,129 @@
1
- import { memo as e, useEffect as t, useMemo as n, useState as r } from "react";
2
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
1
+ import { memo as e, useEffect as t, useLayoutEffect as n, useMemo as r, useRef as i, useState as a } from "react";
2
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
3
3
  //#region src/shared/tours/TourTooltip.tsx
4
- var o = 320, s = 16, c = 10;
5
- function l(e, t) {
4
+ var c = 320, l = 16, u = 10, d = 18;
5
+ function f() {
6
+ return typeof window > "u" ? {
7
+ vw: 1024,
8
+ vh: 768
9
+ } : {
10
+ vw: window.innerWidth,
11
+ vh: window.innerHeight
12
+ };
13
+ }
14
+ function p(e, t, n) {
15
+ let { vw: r, vh: i } = f(), { width: a, height: o } = n, s = Math.max(l, r - a - l), c = Math.max(l, i - o - l), p = (e) => Math.min(Math.max(e, l), s), m = (e) => Math.min(Math.max(e, l), c);
6
16
  if (!e) return {
7
- top: window.innerHeight / 2 - 100,
8
- left: window.innerWidth / 2 - o / 2,
9
- arrowPosition: "top"
17
+ top: m((i - o) / 2),
18
+ left: p((r - a) / 2),
19
+ arrowPosition: "none",
20
+ arrowOffset: 0
10
21
  };
11
- let n = window.innerWidth, r = window.innerHeight, i = e.top, a = r - e.bottom, l = e.left, u = n - e.right, d = t;
12
- (t === "AUTO" || t === "CENTER") && (d = a >= 200 + s ? "BOTTOM" : i >= 200 + s ? "TOP" : u >= o + s ? "RIGHT" : l >= o + s ? "LEFT" : "BOTTOM");
13
- let f, p, m;
14
- switch (d) {
22
+ let h = e.top, g = i - e.bottom, _ = e.left, v = r - e.right, y = o + u + l, b = a + u + l, x = g >= y, S = h >= y, C = v >= b, w = _ >= b, T = x ? "BOTTOM" : S ? "TOP" : C ? "RIGHT" : w ? "LEFT" : "BOTTOM", E = t;
23
+ t === "AUTO" || t === "CENTER" ? E = T : t === "BOTTOM" && x || t === "TOP" && S || t === "RIGHT" && C || t === "LEFT" && w || (E = T);
24
+ let D = e.left + e.width / 2, O = e.top + e.height / 2, k, A, j;
25
+ switch (E) {
15
26
  case "TOP":
16
- f = e.top - 200 - c - s, p = e.left + e.width / 2 - o / 2, m = "bottom";
17
- break;
18
- case "BOTTOM":
19
- f = e.bottom + c + s, p = e.left + e.width / 2 - o / 2, m = "top";
27
+ k = e.top - o - u - l, A = D - a / 2, j = "bottom";
20
28
  break;
21
29
  case "LEFT":
22
- f = e.top + e.height / 2 - 200 / 2, p = e.left - o - c - s, m = "right";
30
+ k = O - o / 2, A = e.left - a - u - l, j = "right";
23
31
  break;
24
32
  case "RIGHT":
25
- f = e.top + e.height / 2 - 200 / 2, p = e.right + c + s, m = "left";
33
+ k = O - o / 2, A = e.right + u + l, j = "left";
34
+ break;
35
+ default:
36
+ k = e.bottom + u + l, A = D - a / 2, j = "top";
26
37
  break;
27
- default: f = e.bottom + c + s, p = e.left + e.width / 2 - o / 2, m = "top";
28
38
  }
29
- return p < s ? p = s : p + o > n - s && (p = n - o - s), f < s ? f = s : f + 200 > r - s && (f = r - 200 - s), {
30
- top: f,
31
- left: p,
32
- arrowPosition: m
39
+ let M = p(A), N = m(k), P = 0;
40
+ if (j === "top" || j === "bottom") {
41
+ let e = D - M;
42
+ e < 0 || e > a ? j = "none" : P = Math.min(Math.max(e, d), a - d);
43
+ } else {
44
+ let e = O - N;
45
+ e < 0 || e > o ? j = "none" : P = Math.min(Math.max(e, d), o - d);
46
+ }
47
+ return {
48
+ top: N,
49
+ left: M,
50
+ arrowPosition: j,
51
+ arrowOffset: P
33
52
  };
34
53
  }
35
- var u = e(function({ step: e, stepIndex: s, totalSteps: u, onNext: d, onPrevious: f, onSkip: p, onComplete: m, canGoNext: h, canGoPrevious: g, isLastStep: _, placement: v, targetRect: y }) {
36
- let [b, x] = r(!1);
54
+ var m = e(function({ step: e, stepIndex: d, totalSteps: m, onNext: h, onPrevious: g, onSkip: _, onComplete: v, canGoNext: y, canGoPrevious: b, isLastStep: x, placement: S, targetRect: C }) {
55
+ let [w, T] = a(!1), E = i(null), [D, O] = a(f), [k, A] = a({
56
+ width: c,
57
+ height: 220
58
+ }), j = Math.min(c, D.vw - 2 * l), M = D.vh - 2 * l, N = Math.min(k.height, M);
37
59
  t(() => {
38
- let e = setTimeout(() => x(!0), 50);
60
+ T(!1);
61
+ let e = setTimeout(() => T(!0), 50);
39
62
  return () => clearTimeout(e);
40
- }, [e.id]);
41
- let S = n(() => l(y, v), [y, v]), C = e.media?.filter((e) => e.position === "HEADER") ?? [], w = e.media?.filter((e) => e.position === "INLINE" || e.position === "BODY") ?? [];
42
- return /* @__PURE__ */ a("div", {
63
+ }, [e.id]), n(() => {
64
+ let e = () => {
65
+ O(f());
66
+ let e = E.current;
67
+ if (!e) return;
68
+ let t = e.getBoundingClientRect();
69
+ A((e) => Math.abs(e.width - t.width) > 1 || Math.abs(e.height - t.height) > 1 ? {
70
+ width: t.width,
71
+ height: t.height
72
+ } : e);
73
+ };
74
+ return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
75
+ }, [
76
+ e.id,
77
+ e.title,
78
+ e.content,
79
+ j
80
+ ]);
81
+ let P = r(() => p(C, S, {
82
+ width: j,
83
+ height: N
84
+ }), [
85
+ C,
86
+ S,
87
+ j,
88
+ N,
89
+ D.vw,
90
+ D.vh
91
+ ]), F = e.media?.filter((e) => e.position === "HEADER") ?? [], I = e.media?.filter((e) => e.position === "INLINE" || e.position === "BODY") ?? [];
92
+ return /* @__PURE__ */ s("div", {
43
93
  className: "tour-tooltip",
44
94
  style: {
45
95
  position: "fixed",
46
- top: S.top,
47
- left: S.left,
48
- width: o,
96
+ top: P.top,
97
+ left: P.left,
98
+ width: j,
49
99
  zIndex: 1e4,
50
- opacity: +!!b,
51
- transform: b ? "translateY(0)" : "translateY(10px)",
100
+ opacity: +!!w,
101
+ transform: w ? "translateY(0)" : "translateY(10px)",
52
102
  transition: "opacity 0.2s ease-out, transform 0.2s ease-out"
53
103
  },
54
104
  role: "dialog",
55
105
  "aria-labelledby": `tour-step-title-${e.id}`,
56
106
  "aria-describedby": `tour-step-content-${e.id}`,
57
- children: [/* @__PURE__ */ a("div", {
107
+ children: [/* @__PURE__ */ s("div", {
108
+ ref: E,
58
109
  style: {
59
- backgroundColor: "white",
110
+ display: "flex",
111
+ flexDirection: "column",
112
+ maxHeight: M,
113
+ backgroundColor: "var(--color-bg-surface)",
60
114
  borderRadius: 12,
61
115
  boxShadow: "0 10px 40px rgba(0, 0, 0, 0.2)",
62
116
  overflow: "hidden"
63
117
  },
64
118
  children: [
65
- C.length > 0 && /* @__PURE__ */ i("div", {
119
+ F.length > 0 && /* @__PURE__ */ o("div", {
66
120
  style: {
67
121
  width: "100%",
68
122
  maxHeight: 160,
69
- overflow: "hidden"
123
+ overflow: "hidden",
124
+ flexShrink: 0
70
125
  },
71
- children: C.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ i("img", {
126
+ children: F.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ o("img", {
72
127
  src: e.media.cdnUrl,
73
128
  alt: e.media.altText || e.media.name,
74
129
  style: {
@@ -76,7 +131,7 @@ var u = e(function({ step: e, stepIndex: s, totalSteps: u, onNext: d, onPrevious
76
131
  height: "auto",
77
132
  display: "block"
78
133
  }
79
- }, e.id) : e.media.type === "VIDEO" ? /* @__PURE__ */ i("video", {
134
+ }, e.id) : e.media.type === "VIDEO" ? /* @__PURE__ */ o("video", {
80
135
  src: e.media.cdnUrl,
81
136
  controls: !0,
82
137
  style: {
@@ -85,66 +140,75 @@ var u = e(function({ step: e, stepIndex: s, totalSteps: u, onNext: d, onPrevious
85
140
  }
86
141
  }, e.id) : null)
87
142
  }),
88
- /* @__PURE__ */ a("div", {
89
- style: { padding: 20 },
143
+ /* @__PURE__ */ s("div", {
144
+ style: {
145
+ flex: "1 1 auto",
146
+ minHeight: 0,
147
+ overflowY: "auto",
148
+ padding: 20
149
+ },
90
150
  children: [
91
- /* @__PURE__ */ a("div", {
151
+ /* @__PURE__ */ s("div", {
92
152
  style: {
93
153
  display: "flex",
94
154
  alignItems: "center",
95
155
  justifyContent: "space-between",
96
- marginBottom: 12
156
+ marginBottom: 12,
157
+ gap: 8
97
158
  },
98
- children: [/* @__PURE__ */ a("span", {
159
+ children: [/* @__PURE__ */ s("span", {
99
160
  style: {
100
161
  fontSize: 12,
101
- color: "#6b7280",
102
- fontWeight: 500
162
+ color: "var(--color-text-secondary)",
163
+ fontWeight: 500,
164
+ whiteSpace: "nowrap"
103
165
  },
104
166
  children: [
105
167
  "Step ",
106
- s + 1,
168
+ d + 1,
107
169
  " of ",
108
- u
170
+ m
109
171
  ]
110
- }), /* @__PURE__ */ i("div", {
172
+ }), /* @__PURE__ */ o("div", {
111
173
  style: {
112
174
  display: "flex",
113
- gap: 4
175
+ gap: 4,
176
+ flexWrap: "wrap",
177
+ justifyContent: "flex-end"
114
178
  },
115
- children: Array.from({ length: u }).map((e, t) => /* @__PURE__ */ i("div", { style: {
179
+ children: Array.from({ length: m }).map((e, t) => /* @__PURE__ */ o("div", { style: {
116
180
  width: 8,
117
181
  height: 8,
118
182
  borderRadius: "50%",
119
- backgroundColor: t <= s ? "#3b82f6" : "#e5e7eb",
183
+ backgroundColor: t <= d ? "var(--color-action-primary-bg)" : "var(--color-border-default)",
120
184
  transition: "background-color 0.2s"
121
185
  } }, t))
122
186
  })]
123
187
  }),
124
- /* @__PURE__ */ i("h3", {
188
+ /* @__PURE__ */ o("h3", {
125
189
  id: `tour-step-title-${e.id}`,
126
190
  style: {
127
191
  fontSize: 18,
128
192
  fontWeight: 600,
129
- color: "#111827",
193
+ color: "var(--color-text-primary)",
130
194
  margin: "0 0 8px 0",
131
195
  lineHeight: 1.3
132
196
  },
133
197
  children: e.title
134
198
  }),
135
- /* @__PURE__ */ i("p", {
199
+ /* @__PURE__ */ o("p", {
136
200
  id: `tour-step-content-${e.id}`,
137
201
  style: {
138
202
  fontSize: 14,
139
- color: "#4b5563",
203
+ color: "var(--color-text-secondary)",
140
204
  margin: 0,
141
205
  lineHeight: 1.6
142
206
  },
143
207
  children: e.content
144
208
  }),
145
- w.length > 0 && /* @__PURE__ */ i("div", {
209
+ I.length > 0 && /* @__PURE__ */ o("div", {
146
210
  style: { marginTop: 12 },
147
- children: w.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ i("img", {
211
+ children: I.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ o("img", {
148
212
  src: e.media.cdnUrl,
149
213
  alt: e.media.altText || e.media.name,
150
214
  style: {
@@ -156,120 +220,125 @@ var u = e(function({ step: e, stepIndex: s, totalSteps: u, onNext: d, onPrevious
156
220
  })
157
221
  ]
158
222
  }),
159
- /* @__PURE__ */ a("div", {
223
+ /* @__PURE__ */ s("div", {
160
224
  style: {
161
225
  display: "flex",
162
226
  alignItems: "center",
163
227
  justifyContent: "space-between",
164
228
  padding: "12px 20px",
165
- borderTop: "1px solid #e5e7eb",
166
- backgroundColor: "#f9fafb"
229
+ borderTop: "1px solid var(--color-border-default)",
230
+ backgroundColor: "var(--color-bg-canvas)",
231
+ flexShrink: 0,
232
+ gap: 8
167
233
  },
168
- children: [/* @__PURE__ */ i("button", {
234
+ children: [/* @__PURE__ */ o("button", {
169
235
  type: "button",
170
- onClick: p,
236
+ onClick: _,
171
237
  style: {
172
238
  padding: "8px 12px",
173
239
  fontSize: 14,
174
- color: "#6b7280",
240
+ color: "var(--color-text-tertiary)",
175
241
  backgroundColor: "transparent",
176
242
  border: "none",
177
243
  borderRadius: 6,
178
244
  cursor: "pointer",
179
- transition: "color 0.2s"
245
+ transition: "color 0.2s",
246
+ whiteSpace: "nowrap"
180
247
  },
181
- onMouseEnter: (e) => e.currentTarget.style.color = "#111827",
182
- onMouseLeave: (e) => e.currentTarget.style.color = "#6b7280",
248
+ onMouseEnter: (e) => e.currentTarget.style.color = "var(--color-text-primary)",
249
+ onMouseLeave: (e) => e.currentTarget.style.color = "var(--color-text-tertiary)",
183
250
  children: "Skip tour"
184
- }), /* @__PURE__ */ a("div", {
251
+ }), /* @__PURE__ */ s("div", {
185
252
  style: {
186
253
  display: "flex",
187
254
  gap: 8
188
255
  },
189
- children: [g && /* @__PURE__ */ i("button", {
256
+ children: [b && /* @__PURE__ */ o("button", {
190
257
  type: "button",
191
- onClick: f,
258
+ onClick: g,
192
259
  style: {
193
260
  padding: "8px 16px",
194
261
  fontSize: 14,
195
- color: "#374151",
196
- backgroundColor: "white",
197
- border: "1px solid #d1d5db",
262
+ color: "var(--color-text-primary)",
263
+ backgroundColor: "var(--color-bg-surface)",
264
+ border: "1px solid var(--color-border-default)",
198
265
  borderRadius: 6,
199
266
  cursor: "pointer",
200
- transition: "all 0.2s"
267
+ transition: "all 0.2s",
268
+ whiteSpace: "nowrap"
201
269
  },
202
270
  onMouseEnter: (e) => {
203
- e.currentTarget.style.backgroundColor = "#f3f4f6";
271
+ e.currentTarget.style.backgroundColor = "var(--color-bg-muted)";
204
272
  },
205
273
  onMouseLeave: (e) => {
206
- e.currentTarget.style.backgroundColor = "white";
274
+ e.currentTarget.style.backgroundColor = "var(--color-bg-surface)";
207
275
  },
208
276
  children: "Previous"
209
- }), /* @__PURE__ */ i("button", {
277
+ }), /* @__PURE__ */ o("button", {
210
278
  type: "button",
211
- onClick: _ ? m : d,
212
- disabled: !h,
279
+ onClick: x ? v : h,
280
+ disabled: !y,
213
281
  style: {
214
282
  padding: "8px 16px",
215
283
  fontSize: 14,
216
284
  fontWeight: 500,
217
- color: "white",
218
- backgroundColor: h ? "#3b82f6" : "#93c5fd",
285
+ color: "var(--color-action-primary-text)",
286
+ backgroundColor: y ? "var(--color-action-primary-bg)" : "var(--color-action-primary-bgDisabled)",
219
287
  border: "none",
220
288
  borderRadius: 6,
221
- cursor: h ? "pointer" : "not-allowed",
222
- transition: "background-color 0.2s"
289
+ cursor: y ? "pointer" : "not-allowed",
290
+ transition: "background-color 0.2s",
291
+ whiteSpace: "nowrap"
223
292
  },
224
293
  onMouseEnter: (e) => {
225
- h && (e.currentTarget.style.backgroundColor = "#2563eb");
294
+ y && (e.currentTarget.style.backgroundColor = "var(--color-action-primary-bgHover)");
226
295
  },
227
296
  onMouseLeave: (e) => {
228
- e.currentTarget.style.backgroundColor = h ? "#3b82f6" : "#93c5fd";
297
+ e.currentTarget.style.backgroundColor = y ? "var(--color-action-primary-bg)" : "var(--color-action-primary-bgDisabled)";
229
298
  },
230
- children: _ ? "Finish" : "Next"
299
+ children: x ? "Finish" : "Next"
231
300
  })]
232
301
  })]
233
302
  })
234
303
  ]
235
- }), /* @__PURE__ */ i("div", { style: {
304
+ }), P.arrowPosition !== "none" && /* @__PURE__ */ o("div", { style: {
236
305
  position: "absolute",
237
306
  width: 0,
238
307
  height: 0,
239
- ...S.arrowPosition === "top" && {
240
- top: -c,
241
- left: "50%",
242
- marginLeft: -c,
243
- borderLeft: `${c}px solid transparent`,
244
- borderRight: `${c}px solid transparent`,
245
- borderBottom: `${c}px solid white`
308
+ ...P.arrowPosition === "top" && {
309
+ top: -u,
310
+ left: P.arrowOffset,
311
+ marginLeft: -u,
312
+ borderLeft: `${u}px solid transparent`,
313
+ borderRight: `${u}px solid transparent`,
314
+ borderBottom: `${u}px solid var(--color-bg-surface)`
246
315
  },
247
- ...S.arrowPosition === "bottom" && {
248
- bottom: -c,
249
- left: "50%",
250
- marginLeft: -c,
251
- borderLeft: `${c}px solid transparent`,
252
- borderRight: `${c}px solid transparent`,
253
- borderTop: `${c}px solid white`
316
+ ...P.arrowPosition === "bottom" && {
317
+ bottom: -u,
318
+ left: P.arrowOffset,
319
+ marginLeft: -u,
320
+ borderLeft: `${u}px solid transparent`,
321
+ borderRight: `${u}px solid transparent`,
322
+ borderTop: `${u}px solid var(--color-bg-surface)`
254
323
  },
255
- ...S.arrowPosition === "left" && {
256
- left: -c,
257
- top: "50%",
258
- marginTop: -c,
259
- borderTop: `${c}px solid transparent`,
260
- borderBottom: `${c}px solid transparent`,
261
- borderRight: `${c}px solid white`
324
+ ...P.arrowPosition === "left" && {
325
+ left: -u,
326
+ top: P.arrowOffset,
327
+ marginTop: -u,
328
+ borderTop: `${u}px solid transparent`,
329
+ borderBottom: `${u}px solid transparent`,
330
+ borderRight: `${u}px solid var(--color-bg-surface)`
262
331
  },
263
- ...S.arrowPosition === "right" && {
264
- right: -c,
265
- top: "50%",
266
- marginTop: -c,
267
- borderTop: `${c}px solid transparent`,
268
- borderBottom: `${c}px solid transparent`,
269
- borderLeft: `${c}px solid white`
332
+ ...P.arrowPosition === "right" && {
333
+ right: -u,
334
+ top: P.arrowOffset,
335
+ marginTop: -u,
336
+ borderTop: `${u}px solid transparent`,
337
+ borderBottom: `${u}px solid transparent`,
338
+ borderLeft: `${u}px solid var(--color-bg-surface)`
270
339
  }
271
340
  } })]
272
341
  });
273
342
  });
274
343
  //#endregion
275
- export { u as TourTooltip };
344
+ export { m as TourTooltip };
@@ -1 +1 @@
1
- {"version":3,"file":"routeCatalog.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/routeCatalog.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC;AAgQD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGtD;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,SAA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"}
@@ -230,6 +230,141 @@ var e = { vibecontrols: [
230
230
  pageId: "settings",
231
231
  pageLabel: "Settings",
232
232
  path: "/conversations/settings"
233
+ },
234
+ {
235
+ productId: "vibecontrols",
236
+ moduleId: "auth",
237
+ moduleLabel: "Auth",
238
+ pageId: "home",
239
+ pageLabel: "Auth",
240
+ path: "/auth/security",
241
+ isModuleHome: !0
242
+ },
243
+ {
244
+ productId: "vibecontrols",
245
+ moduleId: "groups",
246
+ moduleLabel: "Groups and Teams",
247
+ pageId: "home",
248
+ pageLabel: "Groups and Teams",
249
+ path: "/groups",
250
+ isModuleHome: !0
251
+ },
252
+ {
253
+ productId: "vibecontrols",
254
+ moduleId: "tags",
255
+ moduleLabel: "Tags",
256
+ pageId: "home",
257
+ pageLabel: "Tags",
258
+ path: "/tags",
259
+ isModuleHome: !0
260
+ },
261
+ {
262
+ productId: "vibecontrols",
263
+ moduleId: "files",
264
+ moduleLabel: "Files",
265
+ pageId: "home",
266
+ pageLabel: "Files",
267
+ path: "/files/browse",
268
+ isModuleHome: !0
269
+ },
270
+ {
271
+ productId: "vibecontrols",
272
+ moduleId: "security",
273
+ moduleLabel: "Vault",
274
+ pageId: "home",
275
+ pageLabel: "Vault",
276
+ path: "/security",
277
+ isModuleHome: !0
278
+ },
279
+ {
280
+ productId: "vibecontrols",
281
+ moduleId: "integrations",
282
+ moduleLabel: "Integrations",
283
+ pageId: "home",
284
+ pageLabel: "Integrations",
285
+ path: "/integrations",
286
+ isModuleHome: !0
287
+ },
288
+ {
289
+ productId: "vibecontrols",
290
+ moduleId: "export",
291
+ moduleLabel: "Exports",
292
+ pageId: "home",
293
+ pageLabel: "Exports",
294
+ path: "/export",
295
+ isModuleHome: !0
296
+ },
297
+ {
298
+ productId: "vibecontrols",
299
+ moduleId: "organizations",
300
+ moduleLabel: "Organizations",
301
+ pageId: "home",
302
+ pageLabel: "Organizations",
303
+ path: "/organizations",
304
+ isModuleHome: !0
305
+ },
306
+ {
307
+ productId: "vibecontrols",
308
+ moduleId: "workspaces",
309
+ moduleLabel: "Workspaces",
310
+ pageId: "home",
311
+ pageLabel: "Workspaces",
312
+ path: "/workspaces",
313
+ isModuleHome: !0
314
+ },
315
+ {
316
+ productId: "vibecontrols",
317
+ moduleId: "billing",
318
+ moduleLabel: "Billing",
319
+ pageId: "home",
320
+ pageLabel: "Billing",
321
+ path: "/billing/overview",
322
+ isModuleHome: !0
323
+ },
324
+ {
325
+ productId: "vibecontrols",
326
+ moduleId: "store",
327
+ moduleLabel: "Marketplace",
328
+ pageId: "home",
329
+ pageLabel: "Marketplace",
330
+ path: "/store/marketplace",
331
+ isModuleHome: !0
332
+ },
333
+ {
334
+ productId: "vibecontrols",
335
+ moduleId: "channels",
336
+ moduleLabel: "Channels",
337
+ pageId: "home",
338
+ pageLabel: "Channels",
339
+ path: "/channels",
340
+ isModuleHome: !0
341
+ },
342
+ {
343
+ productId: "vibecontrols",
344
+ moduleId: "devportal",
345
+ moduleLabel: "Developer Portal",
346
+ pageId: "home",
347
+ pageLabel: "Developer Portal",
348
+ path: "/devportal",
349
+ isModuleHome: !0
350
+ },
351
+ {
352
+ productId: "vibecontrols",
353
+ moduleId: "feature-previews",
354
+ moduleLabel: "Feature Previews",
355
+ pageId: "home",
356
+ pageLabel: "Feature Previews",
357
+ path: "/feature-previews",
358
+ isModuleHome: !0
359
+ },
360
+ {
361
+ productId: "vibecontrols",
362
+ moduleId: "search",
363
+ moduleLabel: "Search",
364
+ pageId: "home",
365
+ pageLabel: "Search",
366
+ path: "/search",
367
+ isModuleHome: !0
233
368
  }
234
369
  ] }, t = /* @__PURE__ */ new Map();
235
370
  function n(e) {
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAkBzF;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../src/ui/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAI1D,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,2CAuBzF;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
package/dist/ui/switch.js CHANGED
@@ -7,11 +7,11 @@ import * as n from "@radix-ui/react-switch";
7
7
  function r({ className: r, ...i }) {
8
8
  return /* @__PURE__ */ t(n.Root, {
9
9
  "data-slot": "switch",
10
- className: e("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", r),
10
+ className: e("peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-border-default shadow-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:ring-action-primary-bg/40 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-action-primary-bg data-[state=checked]:bg-action-primary-bg data-[state=unchecked]:bg-bg-sunken", r),
11
11
  ...i,
12
12
  children: /* @__PURE__ */ t(n.Thumb, {
13
13
  "data-slot": "switch-thumb",
14
- className: e("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
14
+ className: e("pointer-events-none block size-4 rounded-full border border-border-default bg-bg-surface shadow-sm ring-0 transition-transform dark:bg-text-primary data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
15
15
  })
16
16
  });
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.529.6",
3
+ "version": "2026.530.2",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "imports": {