@adamosuiteservices/ui 1.5.6 → 1.6.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.
@@ -1 +1 @@
1
- ::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:var(--neutrals-300);border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:var(--neutrals-400)}
1
+ ::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background-color:var(--neutrals-100);border-radius:4px}::-webkit-scrollbar-thumb{background-color:var(--neutrals-300);border-radius:4px}
package/dist/dialog.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs");require("react");const o=require("./index-BFyr34mw.cjs"),d=require("./index-DoxiiusW.cjs"),m=require("./x-CBKgg4YL.cjs");function u({...a}){return t.jsxRuntimeExports.jsx(o.Root,{"data-slot":"dialog",...a})}function c({...a}){return t.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"dialog-trigger",...a})}function s({...a}){return t.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"dialog-portal",...a})}function g({...a}){return t.jsxRuntimeExports.jsx(o.Close,{"data-slot":"dialog-close",...a})}function n({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"dialog-overlay",className:d.cn("adm:data-[state=open]:animate-in adm:data-[state=closed]:animate-out adm:data-[state=closed]:fade-out-0 adm:data-[state=open]:fade-in-0 adm:fixed adm:inset-0 adm:z-50 adm:bg-black/50",a),...e})}function x({className:a,children:e,showCloseButton:i=!0,theme:r,...l}){return t.jsxRuntimeExports.jsxs(s,{"data-slot":"dialog-portal",children:[t.jsxRuntimeExports.jsx(n,{}),t.jsxRuntimeExports.jsxs(o.Content,{"data-theme":r,"data-slot":"dialog-content",className:d.cn("adm:bg-background adm:data-[state=open]:animate-in adm:data-[state=closed]:animate-out adm:data-[state=closed]:fade-out-0 adm:data-[state=open]:fade-in-0 adm:data-[state=closed]:zoom-out-95 adm:data-[state=open]:zoom-in-95 adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:grid adm:w-full adm:max-w-[calc(100%-2rem)] adm:translate-x-[-50%] adm:translate-y-[-50%] adm:gap-4 adm:rounded-lg adm:border adm:p-6 adm:shadow-xs adm:duration-200 adm:sm:max-w-lg",a),...l,children:[e,i&&t.jsxRuntimeExports.jsxs(o.Close,{"data-slot":"dialog-close",className:"adm:ring-offset-background adm:focus:ring-ring adm:data-[state=open]:bg-accent adm:data-[state=open]:text-muted-foreground adm:absolute adm:top-4 adm:right-4 adm:rounded-xs adm:opacity-70 adm:transition-opacity adm:hover:opacity-100 adm:focus:ring-2 adm:focus:ring-offset-2 adm:focus:outline-hidden adm:disabled:pointer-events-none adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0 adm:[&_svg:not([class*=size-])]:size-4",children:[t.jsxRuntimeExports.jsx(m.X,{}),t.jsxRuntimeExports.jsx("span",{className:"adm:sr-only",children:"Close"})]})]})]})}function p({className:a,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:d.cn("adm:flex adm:flex-col adm:gap-2 adm:text-center adm:sm:text-left",a),...e})}function f({className:a,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:d.cn("adm:flex adm:flex-col-reverse adm:gap-2 adm:sm:flex-row adm:sm:justify-end",a),...e})}function j({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Title,{"data-slot":"dialog-title",className:d.cn("adm:text-lg adm:leading-none adm:font-semibold",a),...e})}function D({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Description,{"data-slot":"dialog-description",className:d.cn("adm:text-muted-foreground adm:text-sm",a),...e})}function R({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Description,{"data-slot":"dialog-description",className:d.cn("adm:mt-2 adm:mb-6",a),...e})}exports.Dialog=u;exports.DialogBody=R;exports.DialogClose=g;exports.DialogContent=x;exports.DialogDescription=D;exports.DialogFooter=f;exports.DialogHeader=p;exports.DialogOverlay=n;exports.DialogPortal=s;exports.DialogTitle=j;exports.DialogTrigger=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./jsx-runtime-BB_1_6y_.cjs");require("react");const o=require("./index-BFyr34mw.cjs"),s=require("./index-DoxiiusW.cjs"),m=require("./x-CBKgg4YL.cjs");function u({...a}){return t.jsxRuntimeExports.jsx(o.Root,{"data-slot":"dialog",...a})}function g({...a}){return t.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"dialog-trigger",...a})}function d({...a}){return t.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"dialog-portal",...a})}function c({...a}){return t.jsxRuntimeExports.jsx(o.Close,{"data-slot":"dialog-close",...a})}function i({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"dialog-overlay",className:s.cn("adm:data-[state=open]:animate-in adm:data-[state=closed]:animate-out adm:data-[state=closed]:fade-out-0 adm:data-[state=open]:fade-in-0 adm:fixed adm:inset-0 adm:z-50 adm:bg-black/50",a),...e})}function x({className:a,children:e,showCloseButton:n=!0,theme:r,...l}){return t.jsxRuntimeExports.jsxs(d,{"data-slot":"dialog-portal",children:[t.jsxRuntimeExports.jsx(i,{}),t.jsxRuntimeExports.jsxs(o.Content,{"data-theme":r,"data-slot":"dialog-content",className:s.cn("adm:bg-background adm:data-[state=open]:animate-in adm:data-[state=closed]:animate-out adm:data-[state=closed]:fade-out-0 adm:data-[state=open]:fade-in-0 adm:data-[state=closed]:zoom-out-95 adm:data-[state=open]:zoom-in-95 adm:fixed adm:top-[50%] adm:left-[50%] adm:z-50 adm:grid adm:w-full adm:max-w-[calc(100%-2rem)] adm:translate-x-[-50%] adm:translate-y-[-50%] adm:gap-4 adm:rounded-lg adm:border adm:p-6 adm:shadow-xs adm:duration-200 adm:sm:max-w-lg",a),...l,children:[e,n&&t.jsxRuntimeExports.jsxs(o.Close,{"data-slot":"dialog-close",className:"adm:ring-offset-background adm:focus:ring-ring adm:data-[state=open]:bg-accent adm:data-[state=open]:text-muted-foreground adm:absolute adm:top-4 adm:right-4 adm:rounded-xs adm:opacity-70 adm:transition-opacity adm:hover:opacity-100 adm:focus:ring-2 adm:focus:ring-offset-2 adm:focus:outline-hidden adm:disabled:pointer-events-none adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0 adm:[&_svg:not([class*=size-])]:size-4",children:[t.jsxRuntimeExports.jsx(m.X,{}),t.jsxRuntimeExports.jsx("span",{className:"adm:sr-only",children:"Close"})]})]})]})}function p({className:a,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:s.cn("adm:flex adm:flex-col adm:gap-2",a),...e})}function f({className:a,...e}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:s.cn("adm:flex adm:gap-2 adm:sm:flex-row adm:sm:justify-start",a),...e})}function j({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Title,{"data-slot":"dialog-title",className:s.cn("adm:text-lg adm:leading-none adm:font-semibold",a),...e})}function D({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Description,{"data-slot":"dialog-description",className:s.cn("adm:text-muted-foreground adm:text-sm",a),...e})}function R({className:a,...e}){return t.jsxRuntimeExports.jsx(o.Description,{"data-slot":"dialog-description",className:s.cn("adm:mt-2 adm:mb-6",a),...e})}exports.Dialog=u;exports.DialogBody=R;exports.DialogClose=c;exports.DialogContent=x;exports.DialogDescription=D;exports.DialogFooter=f;exports.DialogHeader=p;exports.DialogOverlay=i;exports.DialogPortal=d;exports.DialogTitle=j;exports.DialogTrigger=g;
package/dist/dialog.js CHANGED
@@ -81,7 +81,7 @@ function T({ className: a, ...d }) {
81
81
  "div",
82
82
  {
83
83
  "data-slot": "dialog-header",
84
- className: o("adm:flex adm:flex-col adm:gap-2 adm:text-center adm:sm:text-left", a),
84
+ className: o("adm:flex adm:flex-col adm:gap-2", a),
85
85
  ...d
86
86
  }
87
87
  );
@@ -92,7 +92,7 @@ function k({ className: a, ...d }) {
92
92
  {
93
93
  "data-slot": "dialog-footer",
94
94
  className: o(
95
- "adm:flex adm:flex-col-reverse adm:gap-2 adm:sm:flex-row adm:sm:justify-end",
95
+ "adm:flex adm:gap-2 adm:sm:flex-row adm:sm:justify-start",
96
96
  a
97
97
  ),
98
98
  ...d