@incognia/cosmik 0.4.1 → 0.4.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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.cjs10.js"),u=require("./index.cjs11.js");function r({className:e}){return t.jsxRuntimeExports.jsx("div",{className:u.cn("absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700 ease-[cubic-bezier(0,1,1,0)]",e)})}exports.default=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./index.cjs10.js"),u=require("./index.cjs11.js");function o({className:e}){return t.jsxRuntimeExports.jsx("div",{className:u.cn("absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700",e)})}exports.default=o;
2
2
  //# sourceMappingURL=index.cjs12.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs12.js","sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700 ease-[cubic-bezier(0,1,1,0)]',\n className\n )}\n ></div>\n )\n}\n"],"names":["LoadingDot","className","jsx","cn"],"mappings":"8KAMwB,SAAAA,EAAW,CAAE,UAAAC,GAAoB,CAErD,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,gGACAF,CACF,CAAA,CAAA,CAGN"}
1
+ {"version":3,"file":"index.cjs12.js","sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700',\n className\n )}\n ></div>\n )\n}\n"],"names":["LoadingDot","className","jsx","cn"],"mappings":"8KAMwB,SAAAA,EAAW,CAAE,UAAAC,GAAoB,CAErD,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWC,EAAA,GACT,mEACAF,CACF,CAAA,CAAA,CAGN"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs10.js"),t=require("./index.cjs11.js"),s=require("./index.cjs12.js");function l({className:i}){return e.jsxRuntimeExports.jsx("div",{role:"alert","aria-busy":!0,className:t.cn("flex items-center",i),children:e.jsxRuntimeExports.jsxs("div",{className:"inline-block relative w-[76px] h-[48px]",children:[e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis1"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-32 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-[56px] animate-loading-ellipsis3"})]})})}exports.Loading=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs10.js"),i=require("./index.cjs11.js"),s=require("./index.cjs12.js");function l({className:t}){return e.jsxRuntimeExports.jsx("div",{role:"alert","aria-busy":!0,className:i.cn("flex items-center justify-center",t),children:e.jsxRuntimeExports.jsxs("div",{className:"inline-block relative w-[76px] h-[48px]",children:[e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis1"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-8 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-32 animate-loading-ellipsis2"}),e.jsxRuntimeExports.jsx(s.default,{className:"left-[56px] animate-loading-ellipsis3"})]})})}exports.Loading=l;
2
2
  //# sourceMappingURL=index.cjs8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs8.js","sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-[48px]\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"names":["Loading","className","jsx","cn","jsxs","LoadingDot"],"mappings":"gLAOgB,SAAAA,EAAQ,CAAE,UAAAC,GAAoB,CAE1C,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,KAAK,QACL,YAAW,GACX,UAAWC,EAAAA,GAAG,oBAAqBF,CAAS,EAE5C,SAAAG,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,0CACb,SAAA,CAACF,EAAAA,kBAAAA,IAAAG,EAAA,QAAA,CAAW,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,mCAAoC,CAAA,EAC1DH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,uCAAwC,CAAA,CAAA,EAChE,CAAA,CAAA,CAGN"}
1
+ {"version":3,"file":"index.cjs8.js","sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center justify-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-[48px]\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"names":["Loading","className","jsx","cn","jsxs","LoadingDot"],"mappings":"gLAOgB,SAAAA,EAAQ,CAAE,UAAAC,GAAoB,CAE1C,OAAAC,EAAA,kBAAA,IAAC,MAAA,CACC,KAAK,QACL,YAAW,GACX,UAAWC,EAAAA,GAAG,mCAAoCF,CAAS,EAE3D,SAAAG,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,0CACb,SAAA,CAACF,EAAAA,kBAAAA,IAAAG,EAAA,QAAA,CAAW,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,kCAAmC,CAAA,EACzDH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,mCAAoC,CAAA,EAC1DH,EAAAA,kBAAAA,IAACG,EAAW,QAAA,CAAA,UAAU,uCAAwC,CAAA,CAAA,EAChE,CAAA,CAAA,CAGN"}
@@ -1,12 +1,12 @@
1
- import { j as o } from "./index.es10.js";
2
- import { cn as r } from "./index.es11.js";
3
- function s({ className: e }) {
4
- return /* @__PURE__ */ o.jsx(
1
+ import { j as t } from "./index.es10.js";
2
+ import { cn as p } from "./index.es11.js";
3
+ function s({ className: o }) {
4
+ return /* @__PURE__ */ t.jsx(
5
5
  "div",
6
6
  {
7
- className: r(
8
- "absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700 ease-[cubic-bezier(0,1,1,0)]",
9
- e
7
+ className: p(
8
+ "absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700",
9
+ o
10
10
  )
11
11
  }
12
12
  );
@@ -1 +1 @@
1
- {"version":3,"file":"index.es12.js","sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700 ease-[cubic-bezier(0,1,1,0)]',\n className\n )}\n ></div>\n )\n}\n"],"names":["LoadingDot","className","jsx","cn"],"mappings":";;AAMwB,SAAAA,EAAW,EAAE,WAAAC,KAAoB;AAErD,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
1
+ {"version":3,"file":"index.es12.js","sources":["../src/Loading/LoadingDot.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\n\ntype Props = {\n className?: string\n}\n\nexport default function LoadingDot({ className }: Props) {\n return (\n <div\n className={cn(\n 'absolute top-[18px] w-[12px] h-[12px] rounded-full bg-purple-700',\n className\n )}\n ></div>\n )\n}\n"],"names":["LoadingDot","className","jsx","cn"],"mappings":";;AAMwB,SAAAA,EAAW,EAAE,WAAAC,KAAoB;AAErD,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAF;AAAA,MACF;AAAA,IAAA;AAAA,EAAA;AAGN;"}
package/dist/index.es8.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { j as e } from "./index.es10.js";
2
2
  import { cn as a } from "./index.es11.js";
3
3
  import i from "./index.es12.js";
4
- function m({ className: s }) {
4
+ function r({ className: s }) {
5
5
  return /* @__PURE__ */ e.jsx(
6
6
  "div",
7
7
  {
8
8
  role: "alert",
9
9
  "aria-busy": !0,
10
- className: a("flex items-center", s),
10
+ className: a("flex items-center justify-center", s),
11
11
  children: /* @__PURE__ */ e.jsxs("div", { className: "inline-block relative w-[76px] h-[48px]", children: [
12
12
  /* @__PURE__ */ e.jsx(i, { className: "left-8 animate-loading-ellipsis1" }),
13
13
  /* @__PURE__ */ e.jsx(i, { className: "left-8 animate-loading-ellipsis2" }),
@@ -18,6 +18,6 @@ function m({ className: s }) {
18
18
  );
19
19
  }
20
20
  export {
21
- m as Loading
21
+ r as Loading
22
22
  };
23
23
  //# sourceMappingURL=index.es8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es8.js","sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-[48px]\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"names":["Loading","className","jsx","cn","jsxs","LoadingDot"],"mappings":";;;AAOgB,SAAAA,EAAQ,EAAE,WAAAC,KAAoB;AAE1C,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAW;AAAA,MACX,WAAWC,EAAG,qBAAqBF,CAAS;AAAA,MAE5C,UAAAG,gBAAAA,EAAA,KAAC,OAAI,EAAA,WAAU,2CACb,UAAA;AAAA,QAACF,gBAAAA,EAAAA,IAAAG,GAAA,EAAW,WAAU,mCAAmC,CAAA;AAAA,QACzDH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,mCAAmC,CAAA;AAAA,QACzDH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,oCAAoC,CAAA;AAAA,QAC1DH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,wCAAwC,CAAA;AAAA,MAAA,GAChE;AAAA,IAAA;AAAA,EAAA;AAGN;"}
1
+ {"version":3,"file":"index.es8.js","sources":["../src/Loading/index.tsx"],"sourcesContent":["import { cn } from '../lib/utils'\nimport LoadingDot from './LoadingDot'\n\ntype Props = {\n className?: string\n}\n\nexport function Loading({ className }: Props) {\n return (\n <div\n role=\"alert\"\n aria-busy={true}\n className={cn('flex items-center justify-center', className)}\n >\n <div className=\"inline-block relative w-[76px] h-[48px]\">\n <LoadingDot className=\"left-8 animate-loading-ellipsis1\" />\n <LoadingDot className=\"left-8 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-32 animate-loading-ellipsis2\" />\n <LoadingDot className=\"left-[56px] animate-loading-ellipsis3\" />\n </div>\n </div>\n )\n}\n"],"names":["Loading","className","jsx","cn","jsxs","LoadingDot"],"mappings":";;;AAOgB,SAAAA,EAAQ,EAAE,WAAAC,KAAoB;AAE1C,SAAAC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,aAAW;AAAA,MACX,WAAWC,EAAG,oCAAoCF,CAAS;AAAA,MAE3D,UAAAG,gBAAAA,EAAA,KAAC,OAAI,EAAA,WAAU,2CACb,UAAA;AAAA,QAACF,gBAAAA,EAAAA,IAAAG,GAAA,EAAW,WAAU,mCAAmC,CAAA;AAAA,QACzDH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,mCAAmC,CAAA;AAAA,QACzDH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,oCAAoC,CAAA;AAAA,QAC1DH,gBAAAA,EAAAA,IAACG,GAAW,EAAA,WAAU,wCAAwC,CAAA;AAAA,MAAA,GAChE;AAAA,IAAA;AAAA,EAAA;AAGN;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "homepage": "https://inloco.github.io/cosmik",
3
3
  "name": "@incognia/cosmik",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
7
7
  "types": "dist/index.d.ts",
@@ -42,8 +42,8 @@
42
42
  "postcss": "^8.4.31",
43
43
  "postcss-cli": "^10.1.0",
44
44
  "storybook": "^7.4.0",
45
- "tailwindcss": "^3.3.3",
46
- "tailwindcss-animate": "^1.0.6",
45
+ "tailwindcss": "^3.3.5",
46
+ "tailwindcss-animate": "^1.0.7",
47
47
  "typescript": "^5.0.2",
48
48
  "vite": "^4.4.5",
49
49
  "vite-plugin-dts": "^3.5.2"