@timeax/service-builder 0.1.3 → 0.1.5

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
@@ -11895,9 +11895,14 @@ function AddServicePopover({
11895
11895
  variant: "radio",
11896
11896
  value: catalogMode,
11897
11897
  options: [
11898
- { key: "all", label: "All services" },
11899
- { key: "catalog", label: "Catalog group" }
11898
+ { value: "all", label: "All services", description: "Show all services" },
11899
+ {
11900
+ value: "catalog",
11901
+ label: "Catalog group",
11902
+ description: "Show all services in the current catalog group"
11903
+ }
11900
11904
  ],
11905
+ optGroupClassName: "gap-1",
11901
11906
  onChange: (event) => setCatalogMode(event.value)
11902
11907
  }
11903
11908
  ),
@@ -11905,12 +11910,11 @@ function AddServicePopover({
11905
11910
  InputField5,
11906
11911
  {
11907
11912
  variant: "treeselect",
11908
- mode: "button",
11909
- label: "Select group",
11910
- className: "w-fit!",
11913
+ placeholder: "Select group",
11911
11914
  disabled: catalogMode !== "catalog",
11912
11915
  multiple: false,
11913
11916
  value: treeValue,
11917
+ triggerClassName: "px-2",
11914
11918
  options: [{ key: UNGROUPED_TREE_VALUE, label: "Ungrouped" }, ...treeOptions],
11915
11919
  searchable: true,
11916
11920
  clearable: true,
@@ -11920,7 +11924,7 @@ function AddServicePopover({
11920
11924
  next === UNGROUPED_TREE_VALUE || next == null ? void 0 : next
11921
11925
  );
11922
11926
  },
11923
- button: /* @__PURE__ */ jsx53(FaFolderOpen, {})
11927
+ trailingIcons: [/* @__PURE__ */ jsx53(FaFolderOpen, {})]
11924
11928
  }
11925
11929
  ),
11926
11930
  catalogMode === "catalog" ? /* @__PURE__ */ jsxs35("div", { className: "text-xs text-slate-500 dark:text-slate-400", children: [