@adamosuiteservices/ui 1.7.10 → 1.7.12

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-color:var(--neutrals-100);border-radius:4px}::-webkit-scrollbar-thumb{background-color:var(--neutrals-300);border-radius:4px}
1
+ ::-webkit-scrollbar{width:6px;height: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"),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;
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:leading-none adm:font-semibold adm:text-neutral-700",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
@@ -107,7 +107,7 @@ function O({
107
107
  u,
108
108
  {
109
109
  "data-slot": "dialog-title",
110
- className: o("adm:text-lg adm:leading-none adm:font-semibold", a),
110
+ className: o("adm:leading-none adm:font-semibold adm:text-neutral-700", a),
111
111
  ...d
112
112
  }
113
113
  );