@powerhousedao/design-system 1.39.15-dev.4 → 1.39.15-dev.6
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/src/connect/components/modal/confirmation-modal.js +1 -1
- package/dist/src/connect/components/modal/delete-drive-modal.js +1 -1
- package/dist/src/connect/components/modal/read-required-modal.js +1 -1
- package/dist/src/connect/components/modal/upgrade-drive-modal.js +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -10,5 +10,5 @@ export function ConnectConfirmationModal(props) {
|
|
|
10
10
|
}, onOpenChange: onOpenChange, overlayProps: {
|
|
11
11
|
...overlayProps,
|
|
12
12
|
className: overlayProps?.className,
|
|
13
|
-
}, ...restProps, children: _jsxs("div", { ...mergeClassNameProps(containerProps, "w-[400px] p-6 text-slate-300"), children: [_jsx("div", { ...mergeClassNameProps(headerProps, "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800"), children: header }), _jsxs("div", { ...mergeClassNameProps(bodyProps, "my-6 rounded-md bg-slate-50 p-4 text-center
|
|
13
|
+
}, ...restProps, children: _jsxs("div", { ...mergeClassNameProps(containerProps, "w-[400px] p-6 text-slate-300"), children: [_jsx("div", { ...mergeClassNameProps(headerProps, "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800"), children: header }), _jsxs("div", { ...mergeClassNameProps(bodyProps, "my-6 rounded-md bg-slate-50 p-4 text-center"), children: [body, children] }), _jsxs("div", { ...mergeClassNameProps(buttonContainerProps, "mt-8 flex justify-between gap-3"), children: [_jsx("button", { onClick: onCancel, ...mergeClassNameProps(cancelButtonProps, twMerge(buttonStyles, "flex-1 bg-slate-50 text-slate-800")), children: cancelLabel }), _jsx("button", { onClick: onContinue, ...mergeClassNameProps(continueButtonProps, twMerge(buttonStyles, "flex-1 bg-gray-800 text-gray-50")), children: continueLabel })] })] }) }));
|
|
14
14
|
}
|
|
@@ -11,5 +11,5 @@ export const ConnectDeleteDriveModal = (props) => {
|
|
|
11
11
|
className: inputName !== driveName
|
|
12
12
|
? "bg-red-600 hover:scale-100 cursor-not-allowed active:opacity-100"
|
|
13
13
|
: "bg-red-900",
|
|
14
|
-
}, ...confirmationModalProps, children: _jsxs("div", { children: [_jsx("div", { className: "my-6 rounded-md bg-slate-50 p-4 text-center
|
|
14
|
+
}, ...confirmationModalProps, children: _jsxs("div", { children: [_jsx("div", { className: "my-6 rounded-md bg-slate-50 p-4 text-center", children: body }), _jsx("div", { children: _jsx(FormInput, { hideErrors: true, icon: _jsx(Icon, { name: "Lock" }), onChange: (e) => setInputName(e.target.value), placeholder: inputPlaceholder, value: inputName }) })] }) }));
|
|
15
15
|
};
|
|
@@ -42,6 +42,6 @@ export function ReadRequiredModal(props) {
|
|
|
42
42
|
}, onOpenChange: onOpenChange, overlayProps: {
|
|
43
43
|
...overlayProps,
|
|
44
44
|
className: overlayProps?.className,
|
|
45
|
-
}, ...restProps, children: _jsxs("div", { ...mergeClassNameProps(containerProps, "w-[500px] p-6 text-slate-300"), children: [_jsx("div", { ...mergeClassNameProps(headerProps, "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800"), children: header }), _jsxs("div", { ref: contentRef, ...mergeClassNameProps(bodyProps, "my-6 max-h-[245px] overflow-scroll rounded-md bg-slate-50 p-4 text-center
|
|
45
|
+
}, ...restProps, children: _jsxs("div", { ...mergeClassNameProps(containerProps, "w-[500px] p-6 text-slate-300"), children: [_jsx("div", { ...mergeClassNameProps(headerProps, "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800"), children: header }), _jsxs("div", { ref: contentRef, ...mergeClassNameProps(bodyProps, "my-6 max-h-[245px] overflow-scroll rounded-md bg-slate-50 p-4 text-center"), children: [body, children] }), _jsx("div", { ...mergeClassNameProps(buttonContainerProps, "mt-8 flex justify-between gap-3"), children: _jsx("button", { disabled: disableClose, onClick: onContinue, ...mergeClassNameProps(continueButtonProps, twMerge(buttonStyles, "flex-1 bg-gray-800 text-gray-50", disableClose &&
|
|
46
46
|
"cursor-not-allowed bg-gray-300 hover:scale-100")), children: closeLabel }) })] }) }));
|
|
47
47
|
}
|
|
@@ -10,5 +10,5 @@ export function ConnectUpgradeDriveModal(props) {
|
|
|
10
10
|
}, onOpenChange: onOpenChange, overlayProps: {
|
|
11
11
|
...overlayProps,
|
|
12
12
|
className: overlayProps?.className,
|
|
13
|
-
}, ...restProps, children: _jsxs("div", { className: "w-[400px] p-6 text-slate-300", children: [_jsx("div", { className: "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800", children: header }), _jsx("div", { className: "my-6 rounded-md bg-slate-50 p-4 text-center
|
|
13
|
+
}, ...restProps, children: _jsxs("div", { className: "w-[400px] p-6 text-slate-300", children: [_jsx("div", { className: "border-b border-slate-50 pb-2 text-2xl font-bold text-gray-800", children: header }), _jsx("div", { className: "my-6 rounded-md bg-slate-50 p-4 text-center", children: body }), _jsxs("div", { className: "mt-8 flex justify-between gap-3", children: [_jsx("button", { className: twMerge(buttonStyles, "flex-1 bg-slate-50 text-slate-800"), onClick: () => onOpenChange?.(false), children: cancelLabel }), _jsx("button", { className: twMerge(buttonStyles, "flex-1 bg-gray-800 text-gray-50"), onClick: onContinue, children: continueLabel })] })] }) }));
|
|
14
14
|
}
|