@adamosuiteservices/ui 2.20.0 → 2.20.2

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/colors.css CHANGED
@@ -1 +1 @@
1
- :root{--default-25: oklch(.985 0 0);--default-50: oklch(.969 0 0);--default-100: oklch(.942 0 0);--default-200: oklch(.894 0 0);--default-300: oklch(.81 0 0);--default-400: oklch(.705 0 0);--default-500: oklch(.205 0 0);--default-600: oklch(.173 0 0);--default-700: oklch(.145 0 0);--default-800: oklch(.115 0 0);--default-900: oklch(.085 0 0);--default: var(--default-500);--sign-25: oklch(.9913 .0013 286.38);--sign-50: oklch(.9822 .0041 271.37);--sign-100: oklch(.9442 .0123 276.09);--sign-200: oklch(.8877 .025 275.88);--sign-300: oklch(.7804 .0516 277.7);--sign-400: oklch(.602 .0996 276.31);--sign-500: oklch(.4976 .1199 273.84);--sign-600: oklch(.4215 .1013 274.88);--sign-700: oklch(.386 .0871 274.07);--sign-800: oklch(.3227 .0681 274.09);--sign-900: oklch(.1925 .0327 274.82);--sign: var(--sign-500);--id-25: oklch(.9847 .0083 236.56);--id-50: oklch(.9771 .0125 236.62);--id-100: oklch(.9514 .025 236.82);--id-200: oklch(.9011 .0571 231.47);--id-300: oklch(.8297 .1025 229.8);--id-400: oklch(.7586 .1404 232.13);--id-500: oklch(.6861 .1512 238.37);--id-600: oklch(.5934 .139578 241.5185);--id-700: oklch(.5029 .1197 242.45);--id-800: oklch(.4438 .1014 241.26);--id-900: oklch(.3917 .086 241.41);--id: var(--id-500);--pay-25: oklch(.9796 .0075 186.9);--pay-50: oklch(.9572 .0138 191.39);--pay-100: oklch(.9142 .0277 188.27);--pay-200: oklch(.8315 .0554 187.51);--pay-300: oklch(.7477 .0802 186.37);--pay-400: oklch(.6706 .0984 184.77);--pay-500: oklch(.5963 .1044 182.21);--pay-600: oklch(.5091 .0885 182.45);--pay-700: oklch(.4146 .0713 182.72);--pay-800: oklch(.3181 .0532 183.32);--pay-900: oklch(.2094 .0331 184.68);--pay: var(--pay-500);--risk-25: oklch(.9873 .006673 295.4541);--risk-50: oklch(.9691 .0161 293.76);--risk-100: oklch(.9426 .0283 292.41);--risk-200: oklch(.8943 .0549 293.28);--risk-300: oklch(.8103 .1012 292.92);--risk-400: oklch(.7052 .1618 292.33);--risk-500: oklch(.6012 .2213 291.26);--risk-600: oklch(.5371 .2485 291.51);--risk-700: oklch(.4866 .2429 290.94);--risk-800: oklch(.4278 .2124 290.82);--risk-900: oklch(.3762 .1802 291.97);--risk: var(--risk-500);--check-25: oklch(.985 .02 265);--check-50: oklch(.96 .04 265);--check-100: oklch(.93 .07 265);--check-200: oklch(.87 .11 265);--check-300: oklch(.8 .15 265);--check-400: oklch(.73 .19 265);--check-500: oklch(.67 .215 265);--check-600: oklch(.62 .23 265);--check-700: oklch(.54 .2 265);--check-800: oklch(.46 .165 265);--check-900: oklch(.38 .13 265);--check: var(--primary-500);--neutrals-0: oklch(1 0 0);--neutrals-25: oklch(.9913 .0013 286.38);--neutrals-50: oklch(.9846 .0017 247.84);--neutrals-100: oklch(.967 .0029 264.54);--neutrals-200: oklch(.9276 .0058 264.53);--neutrals-300: oklch(.8745 .0081 253.86);--neutrals-400: oklch(.7162 .0166 257.21);--neutrals-500: oklch(.5537 .0205 261.3);--neutrals-600: oklch(.4517 .0207 248.28);--neutrals-700: oklch(.3758 .0275 256.82);--neutrals-800: oklch(.2808 .0286 252.97);--neutrals-900: oklch(.2129 .0303 261.25);--neutrals: var(--neutrals-500);--error-25: oklch(.9793 .0086 17.3);--error-50: oklch(.9566 .0185 17.48);--error-100: oklch(.9167 .0379 17.86);--error-200: oklch(.8342 .0807 18.91);--error-300: oklch(.7579 .1239 20.37);--error-400: oklch(.6897 .1695 22.57);--error-500: oklch(.6368 .2078 25.33);--error-600: oklch(.54 .1741 25.17);--error-700: oklch(.4398 .1373 24.79);--error-800: oklch(.4437 .1613 26.9);--error-900: oklch(.3958 .1331 25.72);--error: var(--error-500);--destructive-25: var(--error-25);--destructive-50: var(--error-50);--destructive-100: var(--error-100);--destructive-200: var(--error-200);--destructive-300: var(--error-300);--destructive-400: var(--error-400);--destructive-500: var(--error-500);--destructive-600: var(--error-500);--destructive-700: var(--error-700);--destructive-800: var(--error-800);--destructive-900: var(--error-900);--destructive: var(--error-500);--warning-25: oklch(.9863 .0102 81.8);--warning-50: oklch(.9734 .0209 79.1);--warning-100: oklch(.9489 .0434 81.89);--warning-200: oklch(.8981 .0848 80.33);--warning-300: oklch(.8522 .1214 79.12);--warning-400: oklch(.8075 .1498 75.8);--warning-500: oklch(.7686 .1647 70.08);--warning-600: oklch(.6509 .1388 70.3);--warning-700: oklch(.5297 .1114 71.53);--warning-800: oklch(.6658 .1574 58.32);--warning-900: oklch(.4137 .1054 45.9);--warning: var(--warning-500);--success-25: oklch(.9837 .0107 158.85);--success-50: oklch(.9675 .0214 158.6);--success-100: oklch(.9356 .0428 158.05);--success-200: oklch(.8762 .0868 156.45);--success-300: oklch(.818 .1286 154.62);--success-400: oklch(.7684 .1652 152.34);--success-500: oklch(.7227 .192 149.58);--success-600: oklch(.6271 .1699 149.21);--success-700: oklch(.4977 .1287 150.03);--success-800: oklch(.4479 .1083 151.33);--success-900: oklch(.3925 .0896 152.54);--success: var(--success-500);--waiting-25: oklch(.9885 .0063 236.62);--waiting-50: oklch(.9771 .0125 236.62);--waiting-100: oklch(.9514 .025 236.62);--waiting-200: oklch(.9011 .05 236.62);--waiting-300: oklch(.8297 .0875 236.62);--waiting-400: oklch(.7586 .125 236.62);--waiting-500: oklch(.6861 .1625 236.62);--waiting-600: oklch(.5934 .1438 236.62);--waiting-700: oklch(.5029 .125 236.62);--waiting-800: oklch(.4438 .1063 236.62);--waiting-900: oklch(.3917 .0875 236.62);--waiting: var(--waiting-500)}
1
+ :root{--default-25: oklch(.985 0 0);--default-50: oklch(.969 0 0);--default-100: oklch(.942 0 0);--default-200: oklch(.894 0 0);--default-300: oklch(.81 0 0);--default-400: oklch(.705 0 0);--default-500: oklch(.205 0 0);--default-600: oklch(.173 0 0);--default-700: oklch(.145 0 0);--default-800: oklch(.115 0 0);--default-900: oklch(.085 0 0);--default: var(--default-500);--sign-25: oklch(.9913 .0013 286.38);--sign-50: oklch(.9822 .0041 271.37);--sign-100: oklch(.9442 .0123 276.09);--sign-200: oklch(.8877 .025 275.88);--sign-300: oklch(.7804 .0516 277.7);--sign-400: oklch(.602 .0996 276.31);--sign-500: oklch(.4976 .1199 273.84);--sign-600: oklch(.4215 .1013 274.88);--sign-700: oklch(.386 .0871 274.07);--sign-800: oklch(.3227 .0681 274.09);--sign-900: oklch(.1925 .0327 274.82);--sign: var(--sign-500);--id-25: oklch(.9847 .0083 236.56);--id-50: oklch(.9771 .0125 236.62);--id-100: oklch(.9514 .025 236.82);--id-200: oklch(.9011 .0571 231.47);--id-300: oklch(.8297 .1025 229.8);--id-400: oklch(.7586 .1404 232.13);--id-500: oklch(.6861 .1512 238.37);--id-600: oklch(.5934 .139578 241.5185);--id-700: oklch(.5029 .1197 242.45);--id-800: oklch(.4438 .1014 241.26);--id-900: oklch(.3917 .086 241.41);--id: var(--id-500);--pay-25: oklch(.9796 .0075 186.9);--pay-50: oklch(.9572 .0138 191.39);--pay-100: oklch(.9142 .0277 188.27);--pay-200: oklch(.8315 .0554 187.51);--pay-300: oklch(.7477 .0802 186.37);--pay-400: oklch(.6706 .0984 184.77);--pay-500: oklch(.5963 .1044 182.21);--pay-600: oklch(.5091 .0885 182.45);--pay-700: oklch(.4146 .0713 182.72);--pay-800: oklch(.3181 .0532 183.32);--pay-900: oklch(.2094 .0331 184.68);--pay: var(--pay-500);--risk-25: oklch(.9873 .006673 295.4541);--risk-50: oklch(.9691 .0161 293.76);--risk-100: oklch(.9426 .0283 292.41);--risk-200: oklch(.8943 .0549 293.28);--risk-300: oklch(.8103 .1012 292.92);--risk-400: oklch(.7052 .1618 292.33);--risk-500: oklch(.6012 .2213 291.26);--risk-600: oklch(.5371 .2485 291.51);--risk-700: oklch(.4866 .2429 290.94);--risk-800: oklch(.4278 .2124 290.82);--risk-900: oklch(.3762 .1802 291.97);--risk: var(--risk-500);--check-25: oklch(.985 .02 265);--check-50: oklch(.96 .04 265);--check-100: oklch(.93 .07 265);--check-200: oklch(.87 .11 265);--check-300: oklch(.8 .15 265);--check-400: oklch(.73 .19 265);--check-500: oklch(.67 .215 265);--check-600: oklch(.62 .23 265);--check-700: oklch(.54 .2 265);--check-800: oklch(.46 .165 265);--check-900: oklch(.38 .13 265);--check: var(--check-500);--neutrals-0: oklch(1 0 0);--neutrals-25: oklch(.9913 .0013 286.38);--neutrals-50: oklch(.9846 .0017 247.84);--neutrals-100: oklch(.967 .0029 264.54);--neutrals-200: oklch(.9276 .0058 264.53);--neutrals-300: oklch(.8745 .0081 253.86);--neutrals-400: oklch(.7162 .0166 257.21);--neutrals-500: oklch(.5537 .0205 261.3);--neutrals-600: oklch(.4517 .0207 248.28);--neutrals-700: oklch(.3758 .0275 256.82);--neutrals-800: oklch(.2808 .0286 252.97);--neutrals-900: oklch(.2129 .0303 261.25);--neutrals: var(--neutrals-500);--error-25: oklch(.9793 .0086 17.3);--error-50: oklch(.9566 .0185 17.48);--error-100: oklch(.9167 .0379 17.86);--error-200: oklch(.8342 .0807 18.91);--error-300: oklch(.7579 .1239 20.37);--error-400: oklch(.6897 .1695 22.57);--error-500: oklch(.6368 .2078 25.33);--error-600: oklch(.54 .1741 25.17);--error-700: oklch(.4398 .1373 24.79);--error-800: oklch(.4437 .1613 26.9);--error-900: oklch(.3958 .1331 25.72);--error: var(--error-500);--destructive-25: var(--error-25);--destructive-50: var(--error-50);--destructive-100: var(--error-100);--destructive-200: var(--error-200);--destructive-300: var(--error-300);--destructive-400: var(--error-400);--destructive-500: var(--error-500);--destructive-600: var(--error-500);--destructive-700: var(--error-700);--destructive-800: var(--error-800);--destructive-900: var(--error-900);--destructive: var(--error-500);--warning-25: oklch(.9863 .0102 81.8);--warning-50: oklch(.9734 .0209 79.1);--warning-100: oklch(.9489 .0434 81.89);--warning-200: oklch(.8981 .0848 80.33);--warning-300: oklch(.8522 .1214 79.12);--warning-400: oklch(.8075 .1498 75.8);--warning-500: oklch(.7686 .1647 70.08);--warning-600: oklch(.6509 .1388 70.3);--warning-700: oklch(.5297 .1114 71.53);--warning-800: oklch(.6658 .1574 58.32);--warning-900: oklch(.4137 .1054 45.9);--warning: var(--warning-500);--success-25: oklch(.9837 .0107 158.85);--success-50: oklch(.9675 .0214 158.6);--success-100: oklch(.9356 .0428 158.05);--success-200: oklch(.8762 .0868 156.45);--success-300: oklch(.818 .1286 154.62);--success-400: oklch(.7684 .1652 152.34);--success-500: oklch(.7227 .192 149.58);--success-600: oklch(.6271 .1699 149.21);--success-700: oklch(.4977 .1287 150.03);--success-800: oklch(.4479 .1083 151.33);--success-900: oklch(.3925 .0896 152.54);--success: var(--success-500);--waiting-25: oklch(.9885 .0063 236.62);--waiting-50: oklch(.9771 .0125 236.62);--waiting-100: oklch(.9514 .025 236.62);--waiting-200: oklch(.9011 .05 236.62);--waiting-300: oklch(.8297 .0875 236.62);--waiting-400: oklch(.7586 .125 236.62);--waiting-500: oklch(.6861 .1625 236.62);--waiting-600: oklch(.5934 .1438 236.62);--waiting-700: oklch(.5029 .125 236.62);--waiting-800: oklch(.4438 .1063 236.62);--waiting-900: oklch(.3917 .0875 236.62);--waiting: var(--waiting-500)}
package/dist/dialog.cjs CHANGED
@@ -27,6 +27,6 @@
27
27
  adm:[&_svg]:pointer-events-none adm:[&_svg]:shrink-0
28
28
  adm:[&_svg:not([class*=size-])]:size-4
29
29
  `,children:[t.jsxRuntimeExports.jsx(r.Icon,{symbol:"close"}),t.jsxRuntimeExports.jsx("span",{className:"adm:sr-only",children:"Close"})]})]})]})}function p({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-header",className:s.cn("adm:flex adm:flex-col adm:gap-2",a),...o})}function f({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-footer",className:s.cn(`
30
- adm:flex adm:gap-6
30
+ adm:mt-10 adm:flex adm:gap-6
31
31
  adm:sm:flex-row adm:sm:justify-start
32
- `,a),...o})}function j({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Title,{"data-slot":"dialog-title",className:s.cn("adm:text-sm adm:font-semibold adm:text-foreground",a),...o})}function D({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Description,{"data-slot":"dialog-description",className:s.cn("adm:text-sm adm:text-foreground",a),...o})}function R({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-body",className:s.cn("adm:mt-4 adm:mb-10",a),...o})}exports.Dialog=x;exports.DialogBody=R;exports.DialogClose=u;exports.DialogContent=g;exports.DialogDescription=D;exports.DialogFooter=f;exports.DialogHeader=p;exports.DialogOverlay=i;exports.DialogPortal=d;exports.DialogTitle=j;exports.DialogTrigger=c;
32
+ `,a),...o})}function j({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Title,{"data-slot":"dialog-title",className:s.cn("adm:text-sm adm:font-semibold adm:text-foreground",a),...o})}function D({className:a,...o}){return t.jsxRuntimeExports.jsx(e.Description,{"data-slot":"dialog-description",className:s.cn("adm:text-sm adm:text-foreground",a),...o})}function R({className:a,...o}){return t.jsxRuntimeExports.jsx("div",{"data-slot":"dialog-body",className:s.cn("adm:mt-4",a),...o})}exports.Dialog=x;exports.DialogBody=R;exports.DialogClose=u;exports.DialogContent=g;exports.DialogDescription=D;exports.DialogFooter=f;exports.DialogHeader=p;exports.DialogOverlay=i;exports.DialogPortal=d;exports.DialogTitle=j;exports.DialogTrigger=c;
package/dist/dialog.js CHANGED
@@ -122,7 +122,7 @@ function k({ className: a, ...o }) {
122
122
  "data-slot": "dialog-footer",
123
123
  className: d(
124
124
  `
125
- adm:flex adm:gap-6
125
+ adm:mt-10 adm:flex adm:gap-6
126
126
  adm:sm:flex-row adm:sm:justify-start
127
127
  `,
128
128
  a
@@ -165,7 +165,7 @@ function P({
165
165
  "div",
166
166
  {
167
167
  "data-slot": "dialog-body",
168
- className: d("adm:mt-4 adm:mb-10", a),
168
+ className: d("adm:mt-4", a),
169
169
  ...o
170
170
  }
171
171
  );
@@ -1,4 +1,4 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./jsx-runtime-BB_1_6y_.cjs"),i=require("./spinner-DUZ2vcus.cjs"),a=require("react");class l{subscribers=[];subscribe(e){return this.subscribers.push(e),()=>{this.subscribers=this.subscribers.filter(r=>r!==e)}}emit(e){this.subscribers.forEach(r=>r(e))}}const s=new l;function c(){const[t,e]=a.useState(!1);return a.useEffect(()=>{const r=s.subscribe(({open:u})=>{e(u)});return()=>{r()}},[]),t?n.jsxRuntimeExports.jsx("div",{"data-slot":"full-screen-loader",className:`
2
- adm:fixed adm:inset-0 adm:z-100 adm:flex adm:items-center
3
- adm:justify-center adm:bg-black/20
4
- `,children:n.jsxRuntimeExports.jsx(i.Spinner,{className:"adm:text-4xl adm:text-primary"})}):null}class o{show(){s.emit({open:!0})}hide(){s.emit({open:!1})}}const b=new o;exports.FullScreenLoader=c;exports.FullScreenLoaderManager=b;exports.FullScreenLoaderObservable=s;
2
+ adm:pointer-events-auto adm:fixed adm:inset-0 adm:z-100 adm:flex
3
+ adm:items-center adm:justify-center adm:bg-black/20
4
+ `,children:n.jsxRuntimeExports.jsx(i.Spinner,{className:"adm:text-4xl adm:text-primary"})}):null}class o{show(){s.emit({open:!0})}hide(){s.emit({open:!1})}}const d=new o;exports.FullScreenLoader=c;exports.FullScreenLoaderManager=d;exports.FullScreenLoaderObservable=s;
@@ -1,7 +1,7 @@
1
1
  import { j as a } from "./jsx-runtime-BzflLqGi.js";
2
2
  import { S as i } from "./spinner-_-J3zJ_g.js";
3
- import { useState as c, useEffect as l } from "react";
4
- class u {
3
+ import { useState as o, useEffect as u } from "react";
4
+ class c {
5
5
  subscribers = [];
6
6
  subscribe(e) {
7
7
  return this.subscribers.push(e), () => {
@@ -12,10 +12,10 @@ class u {
12
12
  this.subscribers.forEach((s) => s(e));
13
13
  }
14
14
  }
15
- const t = new u();
15
+ const t = new c();
16
16
  function f() {
17
- const [r, e] = c(!1);
18
- return l(() => {
17
+ const [r, e] = o(!1);
18
+ return u(() => {
19
19
  const s = t.subscribe(({ open: n }) => {
20
20
  e(n);
21
21
  });
@@ -27,14 +27,14 @@ function f() {
27
27
  {
28
28
  "data-slot": "full-screen-loader",
29
29
  className: `
30
- adm:fixed adm:inset-0 adm:z-100 adm:flex adm:items-center
31
- adm:justify-center adm:bg-black/20
30
+ adm:pointer-events-auto adm:fixed adm:inset-0 adm:z-100 adm:flex
31
+ adm:items-center adm:justify-center adm:bg-black/20
32
32
  `,
33
33
  children: /* @__PURE__ */ a.jsx(i, { className: "adm:text-4xl adm:text-primary" })
34
34
  }
35
35
  ) : null;
36
36
  }
37
- class o {
37
+ class l {
38
38
  show() {
39
39
  t.emit({ open: !0 });
40
40
  }
@@ -42,7 +42,7 @@ class o {
42
42
  t.emit({ open: !1 });
43
43
  }
44
44
  }
45
- const p = new o();
45
+ const p = new l();
46
46
  export {
47
47
  f as FullScreenLoader,
48
48
  p as FullScreenLoaderManager,