@powerhousedao/design-system 1.39.12-dev.1 → 1.39.13-dev.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.
@@ -1 +1 @@
1
- {"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/settings-modal-v2/mocks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;GAS9B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;GA+BxB,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;GAG1C,CAAC"}
1
+ {"version":3,"file":"mocks.d.ts","sourceRoot":"","sources":["../../../../../../src/connect/components/modal/settings-modal-v2/mocks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;GAS9B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;GA8CxB,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;GAG1C,CAAC"}
@@ -37,6 +37,20 @@ export const mockPackages = [
37
37
  ],
38
38
  removable: true,
39
39
  },
40
+ {
41
+ id: "@powerhousedao/builder-tools2",
42
+ name: "Builder Tooling",
43
+ description: "The real world assets portfolio reporting package for the sky ecosystem.",
44
+ category: "Finance",
45
+ publisher: "@powerhousedao",
46
+ publisherUrl: "https://www.powerhouse.inc/",
47
+ modules: [
48
+ "Analytics Processor (Switchboard)",
49
+ "RWA Portfolio Report Document Model (Connect)",
50
+ "RWA Portfolio Report Editor (Connect)",
51
+ ],
52
+ removable: true,
53
+ },
40
54
  ];
41
55
  export const mockDocumentModelEditorOptions = [
42
56
  { label: "V1", value: "document-model-editor" },
@@ -30,5 +30,5 @@ export const PackageManagerList = (props) => {
30
30
  const handleUninstall = useCallback((id) => {
31
31
  onUninstall(id);
32
32
  }, [onUninstall]);
33
- return (_jsxs("div", { ...rest, className: twMerge("flex flex-col items-stretch overflow-hidden", className), children: [_jsx("h3", { className: "mb-4 font-semibold text-gray-900", children: "Installed Packages" }), _jsx("div", { className: "flex-1 overflow-y-auto pr-2", children: _jsx("ul", { className: "flex flex-col items-stretch gap-4 pr-2", children: packages.map((pkg) => (_jsx(PackageManagerListItem, { package: pkg, onUninstall: handleUninstall, mutable: mutable }, pkg.id))) }) })] }));
33
+ return (_jsxs("div", { ...rest, className: twMerge("flex max-h-[370px] flex-col items-stretch overflow-hidden", className), children: [_jsx("h3", { className: "mb-4 font-semibold text-gray-900", children: "Installed Packages" }), _jsx("div", { className: "flex-1 overflow-y-auto pr-2", children: _jsx("ul", { className: "flex flex-col items-stretch gap-4 pr-2", children: packages.map((pkg) => (_jsx(PackageManagerListItem, { package: pkg, onUninstall: handleUninstall, mutable: mutable }, pkg.id))) }) })] }));
34
34
  };
@@ -18,5 +18,5 @@ export function SettingsModal(props) {
18
18
  }, onOpenChange: onOpenChange, overlayProps: {
19
19
  ...overlayProps,
20
20
  className: twMerge("py-28", overlayProps?.className),
21
- }, ...restProps, children: [_jsxs("div", { className: "flex justify-between border-b border-slate-50 p-4", children: [_jsx("h1", { className: "text-center text-xl font-semibold", children: title }), _jsx("button", { type: "button", className: "flex size-6 items-center justify-center rounded-md outline-none", onClick: () => onOpenChange?.(false), children: _jsx(Icon, { name: "XmarkLight", size: 24 }) })] }), _jsxs("div", { className: "flex flex-1 overflow-hidden", children: [_jsx("div", { className: "flex flex-col gap-y-1 p-3 pt-6", children: tabsContent }), _jsx("div", { className: "m-6 flex h-full flex-1 flex-col overflow-hidden rounded-lg border border-slate-50", children: typeof SelectedTabComponent === "function" ? (_jsx(SelectedTabComponent, {})) : (SelectedTabComponent) })] })] }));
21
+ }, ...restProps, children: [_jsxs("div", { className: "flex justify-between border-b border-slate-50 p-4", children: [_jsx("h1", { className: "text-center text-xl font-semibold", children: title }), _jsx("button", { type: "button", className: "flex size-6 items-center justify-center rounded-md outline-none", onClick: () => onOpenChange?.(false), children: _jsx(Icon, { name: "XmarkLight", size: 24 }) })] }), _jsxs("div", { className: "flex flex-1", children: [_jsx("div", { className: "flex flex-col gap-y-1 p-3 pt-6", children: tabsContent }), _jsx("div", { className: "m-6 flex h-full flex-1 flex-col overflow-hidden rounded-lg border border-slate-50", children: typeof SelectedTabComponent === "function" ? (_jsx(SelectedTabComponent, {})) : (SelectedTabComponent) })] })] }));
22
22
  }
package/dist/style.css CHANGED
@@ -1439,6 +1439,9 @@
1439
1439
  .max-h-\[300px\] {
1440
1440
  max-height: 300px;
1441
1441
  }
1442
+ .max-h-\[370px\] {
1443
+ max-height: 370px;
1444
+ }
1442
1445
  .max-h-screen {
1443
1446
  max-height: 100vh;
1444
1447
  }