@powerhousedao/design-system 6.0.0-dev.248 → 6.0.0-dev.249
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/button-49Walvwn.d.ts.map +1 -1
- package/dist/{command-BYi2d3gV.d.ts → command-CjupIOR8.d.ts} +8 -8
- package/dist/{command-BYi2d3gV.d.ts.map → command-CjupIOR8.d.ts.map} +1 -1
- package/dist/connect/components/toast/toast.js +1 -1
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +136 -136
- package/dist/connect/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{src-D4e3Wkrz.js → src-BgCjYazJ.js} +6 -6
- package/dist/{src-D4e3Wkrz.js.map → src-BgCjYazJ.js.map} +1 -1
- package/dist/style.css +297 -200
- package/dist/ui/components/button/button.js +4 -4
- package/dist/ui/components/button/button.js.map +1 -1
- package/dist/ui/components/character-counter/character-counter.js +3 -3
- package/dist/ui/components/character-counter/character-counter.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox-base.js +2 -2
- package/dist/ui/components/checkbox/checkbox-base.js.map +1 -1
- package/dist/ui/components/checkbox/checkbox.js +1 -1
- package/dist/ui/components/command/command.d.ts +1 -1
- package/dist/ui/components/command/command.js +7 -7
- package/dist/ui/components/command/command.js.map +1 -1
- package/dist/ui/components/form-description/form-description.js +2 -2
- package/dist/ui/components/form-description/form-description.js.map +1 -1
- package/dist/ui/components/form-label/form-label.js +3 -3
- package/dist/ui/components/form-label/form-label.js.map +1 -1
- package/dist/ui/components/form-message/form-message.js +1 -1
- package/dist/ui/components/form-message/message-list.js +2 -2
- package/dist/ui/components/form-message/message-list.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete-input-container.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js +9 -9
- package/dist/ui/components/id-autocomplete/id-autocomplete-list-option.js.map +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete-list.js +1 -1
- package/dist/ui/components/id-autocomplete/id-autocomplete.js +2 -2
- package/dist/ui/components/id-autocomplete/id-autocomplete.js.map +1 -1
- package/dist/ui/components/index.d.ts +1 -1
- package/dist/ui/components/input/input.js +1 -1
- package/dist/ui/components/input/input.js.map +1 -1
- package/dist/ui/components/input/splitted-input-diff.js +2 -2
- package/dist/ui/components/input/splitted-input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/input-diff.js +2 -2
- package/dist/ui/components/input/subcomponent/input-diff.js.map +1 -1
- package/dist/ui/components/input/subcomponent/text-diff.js +1 -1
- package/dist/ui/components/popover/popover.js +3 -3
- package/dist/ui/components/popover/popover.js.map +1 -1
- package/dist/ui/components/radio-group-field/radio-group-field.js +1 -1
- package/dist/ui/components/radio-group-field/radio.js +2 -2
- package/dist/ui/components/radio-group-field/radio.js.map +1 -1
- package/dist/ui/components/search-autocomplete/search-autocomplete.js +1 -1
- package/dist/ui/components/select-field/content.js +3 -3
- package/dist/ui/components/select-field/content.js.map +1 -1
- package/dist/ui/components/select-field/select-field.js +2 -2
- package/dist/ui/components/select-field/select-field.js.map +1 -1
- package/dist/ui/components/select-field/selected-content.js +4 -4
- package/dist/ui/components/select-field/selected-content.js.map +1 -1
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js +4 -4
- package/dist/ui/components/select-field/subcomponents/CommandItemList.js.map +1 -1
- package/dist/ui/components/text-input/text-input.js +1 -1
- package/dist/ui/components/tooltip/tooltip.js +2 -2
- package/dist/ui/components/tooltip/tooltip.js.map +1 -1
- package/dist/ui/components/with-field-validation/with-field-validation.js +5 -10
- package/dist/ui/components/with-field-validation/with-field-validation.js.map +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/package.json +4 -4
- package/theme.css +2 -2
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as DropdownMenuTrigger, S as DropdownMenuLabel, _ as iconComponents, a as useEnterAnimation, b as DropdownMenuContent, c as SidebarFooter, d as Pagination, f as mergeClassNameProps, g as getDimensions, h as Icon, i as useAnimation, l as SidebarHeader, m as Modal, n as useWindowSize, o as useExitAnimation, p as PackageAnimation, r as usePagination, s as Sidebar, t as cn, u as SidebarPanel, v as iconNames, w as PowerhouseButton, x as DropdownMenuItem, y as DropdownMenu } from "./src-
|
|
1
|
+
import { C as DropdownMenuTrigger, S as DropdownMenuLabel, _ as iconComponents, a as useEnterAnimation, b as DropdownMenuContent, c as SidebarFooter, d as Pagination, f as mergeClassNameProps, g as getDimensions, h as Icon, i as useAnimation, l as SidebarHeader, m as Modal, n as useWindowSize, o as useExitAnimation, p as PackageAnimation, r as usePagination, s as Sidebar, t as cn, u as SidebarPanel, v as iconNames, w as PowerhouseButton, x as DropdownMenuItem, y as DropdownMenu } from "./src-BgCjYazJ.js";
|
|
2
2
|
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, Icon, Modal, PackageAnimation, Pagination, PowerhouseButton, Sidebar, SidebarFooter, SidebarHeader, SidebarPanel, cn, getDimensions, iconComponents, iconNames, mergeClassNameProps, useAnimation, useEnterAnimation, useExitAnimation, usePagination, useWindowSize };
|
|
@@ -10,7 +10,7 @@ import { clsx } from "clsx";
|
|
|
10
10
|
const PowerhouseButton = /* @__PURE__ */ forwardRef(function PowerhouseButton(props, ref) {
|
|
11
11
|
const { color = "dark", size = "medium", className = "", children, icon, iconPosition = "left", ...delegatedProps } = props;
|
|
12
12
|
return /* @__PURE__ */ jsxs("button", {
|
|
13
|
-
className: twMerge("flex items-center justify-center gap-2 border border-none outline-none
|
|
13
|
+
className: twMerge("flex items-center justify-center gap-2 border border-none transition outline-none disabled:cursor-not-allowed", twJoin({
|
|
14
14
|
light: "bg-gray-200 text-gray-600 hover:text-gray-700 hover:border-gray-300 active:border-slate-100 active:text-gray-600 disabled:text-gray-400",
|
|
15
15
|
dark: "bg-gray-800 text-slate-50 hover:bg-slate-800 active:border-slate-700 disabled:bg-gray-300 disabled:text-slate-100",
|
|
16
16
|
red: "bg-red-900 text-slate-50 hover:opacity-80 active:border-red-800 disabled:text-red-400 disabled:opacity-100",
|
|
@@ -3875,11 +3875,11 @@ function Modal(props) {
|
|
|
3875
3875
|
open,
|
|
3876
3876
|
children: /* @__PURE__ */ jsx(Portal$1, { children: /* @__PURE__ */ jsx(Overlay, {
|
|
3877
3877
|
...overlayProps,
|
|
3878
|
-
className: twMerge("data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in
|
|
3878
|
+
className: twMerge("fixed inset-0 grid place-items-center overflow-y-auto bg-slate-900/50 data-[state=closed]:animate-fade-out data-[state=open]:animate-fade-in", overlayProps?.className),
|
|
3879
3879
|
children: /* @__PURE__ */ jsxs(Content$1, {
|
|
3880
3880
|
...delegated,
|
|
3881
3881
|
...contentProps,
|
|
3882
|
-
className: twMerge("data-[state=closed]:animate-zoom-out data-[state=open]:animate-zoom-in
|
|
3882
|
+
className: twMerge("bg-white data-[state=closed]:animate-zoom-out data-[state=open]:animate-zoom-in", contentProps?.className),
|
|
3883
3883
|
children: [/* @__PURE__ */ jsxs(Root$2, { children: [/* @__PURE__ */ jsx(Title, { children: title || "Modal" }), /* @__PURE__ */ jsx(Description, { children: title || "Modal" })] }), children]
|
|
3884
3884
|
})
|
|
3885
3885
|
}) })
|
|
@@ -4354,9 +4354,9 @@ function SidebarPanel({ className, children, ...props }) {
|
|
|
4354
4354
|
return () => {
|
|
4355
4355
|
observer.disconnect();
|
|
4356
4356
|
};
|
|
4357
|
-
}, [
|
|
4357
|
+
}, []);
|
|
4358
4358
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
4359
|
-
className: twMerge("
|
|
4359
|
+
className: twMerge("scrollbar-none flex-1 overflow-auto text-gray-900 transition-shadow", className),
|
|
4360
4360
|
onScroll: (e) => checkContentScroll(e.currentTarget),
|
|
4361
4361
|
ref: containerRef,
|
|
4362
4362
|
...props,
|
|
@@ -4543,4 +4543,4 @@ function cn(...inputs) {
|
|
|
4543
4543
|
//#endregion
|
|
4544
4544
|
export { DropdownMenuTrigger as C, DropdownMenuLabel as S, iconComponents as _, useEnterAnimation as a, DropdownMenuContent as b, SidebarFooter as c, Pagination as d, mergeClassNameProps as f, getDimensions as g, Icon as h, useAnimation as i, SidebarHeader as l, Modal as m, useWindowSize as n, useExitAnimation as o, PackageAnimation as p, usePagination as r, Sidebar as s, cn as t, SidebarPanel as u, iconNames as v, PowerhouseButton as w, DropdownMenuItem as x, DropdownMenu as y };
|
|
4545
4545
|
|
|
4546
|
-
//# sourceMappingURL=src-
|
|
4546
|
+
//# sourceMappingURL=src-BgCjYazJ.js.map
|