@burdenoff/microfe-product 2026.520.2 → 2026.521.1

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.
Files changed (23) hide show
  1. package/dist/product-management/ProductManagementRoutes.d.ts.map +1 -1
  2. package/dist/product-management/ProductManagementRoutes.js +72 -73
  3. package/dist/product-management/ProductManagementRoutes.js.map +1 -1
  4. package/dist/product-management/modules/content-pages/components/ContentPageForm.js +4 -4
  5. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.d.ts.map +1 -1
  6. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js +183 -119
  7. package/dist/product-management/modules/content-pages/pages/ContentPagesListPage.js.map +1 -1
  8. package/dist/product-management/modules/feature-flags/components/FeatureFlagForm.js +4 -4
  9. package/dist/product-management/modules/feature-flags/pages/FeatureFlagCreatePage.js +4 -4
  10. package/dist/product-management/modules/feature-flags/pages/FeatureFlagDetailPage.js +9 -9
  11. package/dist/product-management/modules/feature-flags/pages/FeatureFlagEditPage.js +4 -4
  12. package/dist/product-management/modules/feature-flags/pages/FeatureFlagsListPage.js +6 -6
  13. package/dist/product-management/modules/press-kit/components/PressKitAssetForm.js +4 -4
  14. package/dist/product-management/modules/products/components/ProductForm.js +6 -6
  15. package/dist/product-management/modules/products/pages/ProductsListPage.d.ts.map +1 -1
  16. package/dist/product-management/modules/products/pages/ProductsListPage.js +152 -139
  17. package/dist/product-management/modules/products/pages/ProductsListPage.js.map +1 -1
  18. package/dist/product-management/modules/shortcuts/pages/ShortcutsListPage.js +6 -6
  19. package/package.json +1 -1
  20. package/dist/product/pages/ProductsLandingPage.d.ts +0 -10
  21. package/dist/product/pages/ProductsLandingPage.d.ts.map +0 -1
  22. package/dist/product/pages/ProductsLandingPage.js +0 -66
  23. package/dist/product/pages/ProductsLandingPage.js.map +0 -1
@@ -3,12 +3,12 @@ import { useProductConsole as t } from "../../../providers/ProductConsoleProvide
3
3
  import { LoadingState as n } from "../../../shared/components/feedback/LoadingState.js";
4
4
  import { ErrorState as r } from "../../../shared/components/feedback/ErrorState.js";
5
5
  import { nativeConfirm as i, nativeImpact as a, nativeNotify as o } from "../../../../utils/nativeBridge.js";
6
- import "../../../shared/index.js";
7
- import { FeatureFlagStatusBadge as s } from "../components/FeatureFlagStatusBadge.js";
8
- import { FeatureFlagTypeBadge as c } from "../components/FeatureFlagTypeBadge.js";
6
+ import { TagList as s } from "../../../shared/components/TagList.js";
7
+ import { AuditHistoryTab as c } from "../../../shared/components/AuditHistoryTab.js";
9
8
  import { useDeleteFeatureFlag as l, useFeatureFlag as u } from "../hooks/useFeatureFlags.js";
10
- import { TagList as d } from "../../../shared/components/TagList.js";
11
- import { AuditHistoryTab as f } from "../../../shared/components/AuditHistoryTab.js";
9
+ import "../../../shared/index.js";
10
+ import { FeatureFlagStatusBadge as d } from "../components/FeatureFlagStatusBadge.js";
11
+ import { FeatureFlagTypeBadge as f } from "../components/FeatureFlagTypeBadge.js";
12
12
  import { ArrowLeft as p, SquarePen as m, Trash2 as h } from "lucide-react";
13
13
  import { jsx as g, jsxs as _ } from "react/jsx-runtime";
14
14
  import { useParams as v } from "react-router-dom";
@@ -72,8 +72,8 @@ var y = () => {
72
72
  className: "text-2xl font-bold text-text-primary",
73
73
  children: S.name
74
74
  }),
75
- /* @__PURE__ */ g(s, { status: S.status }),
76
- /* @__PURE__ */ g(c, { flagType: S.flagType })
75
+ /* @__PURE__ */ g(d, { status: S.status }),
76
+ /* @__PURE__ */ g(f, { flagType: S.flagType })
77
77
  ]
78
78
  }),
79
79
  /* @__PURE__ */ g("code", {
@@ -86,7 +86,7 @@ var y = () => {
86
86
  }),
87
87
  S.tags && S.tags.length > 0 && /* @__PURE__ */ g("div", {
88
88
  className: "mt-2",
89
- children: /* @__PURE__ */ g(d, { tags: S.tags })
89
+ children: /* @__PURE__ */ g(s, { tags: S.tags })
90
90
  })
91
91
  ] }), /* @__PURE__ */ _("div", {
92
92
  className: "flex items-center gap-2",
@@ -214,7 +214,7 @@ var y = () => {
214
214
  children: [/* @__PURE__ */ g("h2", {
215
215
  className: "text-lg font-semibold text-text-primary p-6 pb-0",
216
216
  children: D("featureFlags.activityHistory", "Activity History")
217
- }), /* @__PURE__ */ g(f, {
217
+ }), /* @__PURE__ */ g(c, {
218
218
  resourceId: S.id,
219
219
  resourceType: "FeatureFlag"
220
220
  })]
@@ -2,9 +2,9 @@ import { useTr as e } from "../../../shared/hooks/useTr.js";
2
2
  import { useProductConsole as t } from "../../../providers/ProductConsoleProvider.js";
3
3
  import { LoadingState as n } from "../../../shared/components/feedback/LoadingState.js";
4
4
  import { ErrorState as r } from "../../../shared/components/feedback/ErrorState.js";
5
+ import { FeatureFlagForm as i } from "../components/FeatureFlagForm.js";
6
+ import { useFeatureFlag as a, useUpdateFeatureFlag as o } from "../hooks/useFeatureFlags.js";
5
7
  import "../../../shared/index.js";
6
- import { useFeatureFlag as i, useUpdateFeatureFlag as a } from "../hooks/useFeatureFlags.js";
7
- import { FeatureFlagForm as o } from "../components/FeatureFlagForm.js";
8
8
  import { useState as s } from "react";
9
9
  import { AlertTriangle as c, ArrowLeft as l } from "lucide-react";
10
10
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
@@ -12,7 +12,7 @@ import { useFeatureFlags as f } from "@burdenoff/fe-libs/shared/feature-flags";
12
12
  import { useParams as p } from "react-router-dom";
13
13
  //#region src/product-management/modules/feature-flags/pages/FeatureFlagEditPage.tsx
14
14
  var m = () => {
15
- let { id: m } = p(), { navigate: h, basePath: g } = t(), { featureFlag: _, loading: v, error: y, refetch: b } = i(m), { updateFeatureFlag: x, loading: S } = a(), { refreshFlags: C } = f(), [w, T] = s(null), E = e(), D = async (e) => {
15
+ let { id: m } = p(), { navigate: h, basePath: g } = t(), { featureFlag: _, loading: v, error: y, refetch: b } = a(m), { updateFeatureFlag: x, loading: S } = o(), { refreshFlags: C } = f(), [w, T] = s(null), E = e(), D = async (e) => {
16
16
  T(null);
17
17
  try {
18
18
  let t = await x(m, e);
@@ -69,7 +69,7 @@ var m = () => {
69
69
  className: "max-w-2xl",
70
70
  children: /* @__PURE__ */ u("div", {
71
71
  className: "bg-surface border border-default rounded-lg p-6 shadow-[var(--shadow-elevation-1)]",
72
- children: /* @__PURE__ */ u(o, {
72
+ children: /* @__PURE__ */ u(i, {
73
73
  featureFlag: _,
74
74
  onSubmit: D,
75
75
  onCancel: O,
@@ -6,10 +6,10 @@ import { SearchInput as i } from "../../../shared/components/input/SearchInput.j
6
6
  import { exportToCsv as a } from "../../../shared/utils/exportUtils.js";
7
7
  import { nativeConfirm as o, nativeImpact as s, nativeNotify as c } from "../../../../utils/nativeBridge.js";
8
8
  import { EmptyState as l } from "../../../shared/components/feedback/EmptyState.js";
9
+ import { useCreateFeatureFlag as u, useDeleteFeatureFlag as d, useFeatureFlags as f, useUpdateFeatureFlag as p } from "../hooks/useFeatureFlags.js";
9
10
  import "../../../shared/index.js";
10
- import { FeatureFlagStatusBadge as u } from "../components/FeatureFlagStatusBadge.js";
11
- import { FeatureFlagTypeBadge as d } from "../components/FeatureFlagTypeBadge.js";
12
- import { useCreateFeatureFlag as f, useDeleteFeatureFlag as p, useFeatureFlags as m, useUpdateFeatureFlag as h } from "../hooks/useFeatureFlags.js";
11
+ import { FeatureFlagStatusBadge as m } from "../components/FeatureFlagStatusBadge.js";
12
+ import { FeatureFlagTypeBadge as h } from "../components/FeatureFlagTypeBadge.js";
13
13
  import { useState as g } from "react";
14
14
  import { Download as _, Eye as v, Flag as y, Plus as b, RefreshCw as x, Sparkles as S, SquarePen as C, Trash2 as w } from "lucide-react";
15
15
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
@@ -187,7 +187,7 @@ var O = [
187
187
  ], k = () => {
188
188
  let { navigate: k, basePath: A } = t(), [j, M] = g(""), N = e(), [P, F] = g(""), [I, L] = g(""), R = {};
189
189
  j && (R.search = j), P && (R.status = P), I && (R.category = I);
190
- let { featureFlags: z, total: B, loading: V, error: H, refetch: U } = m(R, { limit: 100 }), { deleteFeatureFlag: W } = p(), { createFeatureFlag: G } = f(), { updateFeatureFlag: K } = h(), [q, J] = g(!1), Y = async () => {
190
+ let { featureFlags: z, total: B, loading: V, error: H, refetch: U } = f(R, { limit: 100 }), { deleteFeatureFlag: W } = d(), { createFeatureFlag: G } = u(), { updateFeatureFlag: K } = p(), [q, J] = g(!1), Y = async () => {
191
191
  s("light");
192
192
  let e = "This will create default VibeControls feature flags and reconcile defaultValue on any that already exist. Continue?", t = await o({
193
193
  title: "Seed defaults",
@@ -432,11 +432,11 @@ var O = [
432
432
  }),
433
433
  /* @__PURE__ */ T("td", {
434
434
  className: "px-4 py-3",
435
- children: /* @__PURE__ */ T(d, { flagType: e.flagType })
435
+ children: /* @__PURE__ */ T(h, { flagType: e.flagType })
436
436
  }),
437
437
  /* @__PURE__ */ T("td", {
438
438
  className: "px-4 py-3",
439
- children: /* @__PURE__ */ T(u, { status: e.status })
439
+ children: /* @__PURE__ */ T(m, { status: e.status })
440
440
  }),
441
441
  /* @__PURE__ */ T("td", {
442
442
  className: "px-4 py-3 text-sm text-text-secondary",
@@ -1,7 +1,7 @@
1
1
  import { useTr as e } from "../../../shared/hooks/useTr.js";
2
2
  import { useProducts as t } from "../../products/hooks/useProducts.js";
3
- import { ZodError as n } from "../../../../node_modules/zod/v4/classic/errors.js";
4
- import { TagInput as r } from "../../../shared/components/input/TagInput.js";
3
+ import { TagInput as n } from "../../../shared/components/input/TagInput.js";
4
+ import { ZodError as r } from "../../../../node_modules/zod/v4/classic/errors.js";
5
5
  import { useCreatePressKitAssetUpload as i } from "../hooks/usePressKitAssets.js";
6
6
  import { PRESS_KIT_CATEGORIES as a } from "../types/index.js";
7
7
  import { createPressKitAssetSchema as o, updatePressKitAssetSchema as s } from "../schemas/index.js";
@@ -52,7 +52,7 @@ function g({ asset: g, onSubmit: v, onCancel: y, loading: b }) {
52
52
  let e = S ? s : o, t = { ...w };
53
53
  return t.description || delete t.description, t.fileName || delete t.fileName, t.fileSize ?? delete t.fileSize, t.mimeType || delete t.mimeType, t.thumbnailUrl || delete t.thumbnailUrl, t.version || delete t.version, e.parse(t), k({}), !0;
54
54
  } catch (e) {
55
- if (e instanceof n) {
55
+ if (e instanceof r) {
56
56
  let t = {};
57
57
  e.issues.forEach((e) => {
58
58
  t[e.path.join(".")] = e.message;
@@ -494,7 +494,7 @@ function g({ asset: g, onSubmit: v, onCancel: y, loading: b }) {
494
494
  children: [/* @__PURE__ */ p("h3", {
495
495
  className: "text-sm font-semibold text-text-secondary uppercase tracking-wider",
496
496
  children: x("pressKit.tags", "Tags")
497
- }), /* @__PURE__ */ p(r, {
497
+ }), /* @__PURE__ */ p(n, {
498
498
  value: E,
499
499
  onChange: D,
500
500
  disabled: b
@@ -1,8 +1,8 @@
1
1
  import { useTr as e } from "../../../shared/hooks/useTr.js";
2
2
  import { ProductStatus as t } from "../types/index.js";
3
- import { ZodError as n } from "../../../../node_modules/zod/v4/classic/errors.js";
4
- import { createProductSchema as r, updateProductSchema as i } from "../schemas/index.js";
5
- import { TagInput as a } from "../../../shared/components/input/TagInput.js";
3
+ import { TagInput as n } from "../../../shared/components/input/TagInput.js";
4
+ import { ZodError as r } from "../../../../node_modules/zod/v4/classic/errors.js";
5
+ import { createProductSchema as i, updateProductSchema as a } from "../schemas/index.js";
6
6
  import { useState as o } from "react";
7
7
  import { ChevronDown as s, ChevronRight as c, Loader2 as l, Plus as u, Shield as d, X as f } from "lucide-react";
8
8
  import { jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -71,13 +71,13 @@ function g({ product: g, onSubmit: _, onCancel: v, loading: y }) {
71
71
  }), t;
72
72
  }, I = () => {
73
73
  try {
74
- let e = g ? i : r, t = {
74
+ let e = g ? a : i, t = {
75
75
  ...x,
76
76
  socialLinks: F()
77
77
  };
78
78
  return e.parse(t), O({}), !0;
79
79
  } catch (e) {
80
- if (e instanceof n) {
80
+ if (e instanceof r) {
81
81
  let t = {};
82
82
  e.issues.forEach((e) => {
83
83
  let n = e.path.join(".");
@@ -270,7 +270,7 @@ function g({ product: g, onSubmit: _, onCancel: v, loading: y }) {
270
270
  className: "block text-sm font-medium text-text-primary mb-1",
271
271
  children: b("products.tags", "Tags")
272
272
  }),
273
- /* @__PURE__ */ p(a, {
273
+ /* @__PURE__ */ p(n, {
274
274
  value: T,
275
275
  onChange: E,
276
276
  disabled: y
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductsListPage.tsx"],"names":[],"mappings":"AA0BA,wBAAgB,gBAAgB,4CAiX/B"}
1
+ {"version":3,"file":"ProductsListPage.d.ts","sourceRoot":"","sources":["../../../../../src/product-management/modules/products/pages/ProductsListPage.tsx"],"names":[],"mappings":"AA0BA,wBAAgB,gBAAgB,4CAiY/B"}