@burdenoff/fluidgrids-fe-sdk 2026.731.6 → 2026.801.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.
package/dist/index.js CHANGED
@@ -5506,7 +5506,7 @@ function TemplatesPage() {
5506
5506
  const [search, setSearch] = useState("");
5507
5507
  const [activeCategory, setActiveCategory] = useState("all");
5508
5508
  const [duplicatingId, setDuplicatingId] = useState(null);
5509
- const [activeSource, setActiveSource] = useState("workspace");
5509
+ const [activeSource, setActiveSource] = useState("store");
5510
5510
  const { workflows, loading, error, refetch } = useWorkflowDefinitions({
5511
5511
  status: "ACTIVE" /* Active */,
5512
5512
  limit: 100
@@ -5640,6 +5640,18 @@ function TemplatesPage() {
5640
5640
  ] })
5641
5641
  ] }),
5642
5642
  /* @__PURE__ */ jsxs("div", { className: "flex gap-1 p-1 bg-background-secondary rounded-lg w-fit mb-6", children: [
5643
+ /* @__PURE__ */ jsxs(
5644
+ "button",
5645
+ {
5646
+ onClick: () => setActiveSource("store"),
5647
+ className: `px-4 py-2 rounded-md text-sm font-medium transition-colors ${activeSource === "store" ? "bg-background-primary text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
5648
+ children: [
5649
+ /* @__PURE__ */ jsx(Icon, { icon: "mdi:store", className: "inline mr-1.5", width: 16 }),
5650
+ "From Store",
5651
+ storeTotalCount > 0 && /* @__PURE__ */ jsx("span", { className: "ml-1.5 text-xs bg-primary/10 text-primary px-1.5 py-0.5 rounded-full", children: storeTotalCount })
5652
+ ]
5653
+ }
5654
+ ),
5643
5655
  /* @__PURE__ */ jsxs(
5644
5656
  "button",
5645
5657
  {
@@ -5657,18 +5669,6 @@ function TemplatesPage() {
5657
5669
  "My Templates"
5658
5670
  ]
5659
5671
  }
5660
- ),
5661
- /* @__PURE__ */ jsxs(
5662
- "button",
5663
- {
5664
- onClick: () => setActiveSource("store"),
5665
- className: `px-4 py-2 rounded-md text-sm font-medium transition-colors ${activeSource === "store" ? "bg-background-primary text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
5666
- children: [
5667
- /* @__PURE__ */ jsx(Icon, { icon: "mdi:store", className: "inline mr-1.5", width: 16 }),
5668
- "From Store",
5669
- storeTotalCount > 0 && /* @__PURE__ */ jsx("span", { className: "ml-1.5 text-xs bg-primary/10 text-primary px-1.5 py-0.5 rounded-full", children: storeTotalCount })
5670
- ]
5671
- }
5672
5672
  )
5673
5673
  ] }),
5674
5674
  /* @__PURE__ */ jsxs("div", { className: "relative max-w-md mb-6", children: [