geoiq-frontend-ui-kit 1.0.2 → 1.0.4

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,5 +1,5 @@
1
1
  import { cva as t } from "class-variance-authority";
2
- import { defaultTypographyVariant as o } from "./index.es15.js";
2
+ import { defaultTypographyVariant as o } from "./index.es14.js";
3
3
  const n = t("", {
4
4
  variants: {
5
5
  variant: {
@@ -1,11 +1,22 @@
1
- import { cva as e } from "class-variance-authority";
2
- const a = e("relative flex w-60 touch-none select-none items-center", {
3
- variants: {
4
- variant: {}
5
- },
6
- defaultVariants: {}
7
- });
1
+ const p = {
2
+ h1: "h1",
3
+ h2: "h2",
4
+ h3: "h3",
5
+ h4: "h4",
6
+ h5: "h5",
7
+ body1: "p",
8
+ body2: "p",
9
+ body3: "p",
10
+ body4: "p",
11
+ overline1: "p",
12
+ overline2: "p",
13
+ overline3: "p",
14
+ "cta-large": "p",
15
+ "cta-normal": "p",
16
+ "cta-small": "p"
17
+ }, a = "body1";
8
18
  export {
9
- a as SliderVariants
19
+ a as defaultTypographyVariant,
20
+ p as variantElementMap
10
21
  };
11
22
  //# sourceMappingURL=index.es14.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es14.js","sources":["../src/components/core/slider/slider.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const SliderVariants = cva(\"relative flex w-60 touch-none select-none items-center\", {\n variants: {\n variant: {},\n },\n defaultVariants: {\n },\n});\n"],"names":["SliderVariants","cva"],"mappings":";AAEa,MAAAA,IAAiBC,EAAI,2DAA2D;AAAA,EAC3F,UAAU;AAAA,IACR,SAAS,CAAC;AAAA,EACZ;AAAA,EACA,iBAAiB,CACjB;AACF,CAAC;"}
1
+ {"version":3,"file":"index.es14.js","sources":["../src/components/core/typography/typography.config.ts"],"sourcesContent":["export const variantElementMap = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n body1: \"p\",\n body2: \"p\",\n body3: \"p\",\n body4: \"p\",\n overline1: \"p\",\n overline2: \"p\",\n overline3: \"p\",\n \"cta-large\": \"p\",\n \"cta-normal\": \"p\",\n \"cta-small\": \"p\",\n };\n\n\nexport const defaultTypographyVariant = \"body1\";"],"names":["variantElementMap","defaultTypographyVariant"],"mappings":"AAAO,MAAMA,IAAoB;AAAA,EAC7B,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,cAAc;AAAA,EACd,aAAa;AACf,GAGWC,IAA2B;"}
@@ -1,22 +1,11 @@
1
- const p = {
2
- h1: "h1",
3
- h2: "h2",
4
- h3: "h3",
5
- h4: "h4",
6
- h5: "h5",
7
- body1: "p",
8
- body2: "p",
9
- body3: "p",
10
- body4: "p",
11
- overline1: "p",
12
- overline2: "p",
13
- overline3: "p",
14
- "cta-large": "p",
15
- "cta-normal": "p",
16
- "cta-small": "p"
17
- }, a = "body1";
1
+ import { cva as e } from "class-variance-authority";
2
+ const a = e("relative flex w-60 touch-none select-none items-center", {
3
+ variants: {
4
+ variant: {}
5
+ },
6
+ defaultVariants: {}
7
+ });
18
8
  export {
19
- a as defaultTypographyVariant,
20
- p as variantElementMap
9
+ a as SliderVariants
21
10
  };
22
11
  //# sourceMappingURL=index.es15.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es15.js","sources":["../src/components/core/typography/typography.config.ts"],"sourcesContent":["export const variantElementMap = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n body1: \"p\",\n body2: \"p\",\n body3: \"p\",\n body4: \"p\",\n overline1: \"p\",\n overline2: \"p\",\n overline3: \"p\",\n \"cta-large\": \"p\",\n \"cta-normal\": \"p\",\n \"cta-small\": \"p\",\n };\n\n\nexport const defaultTypographyVariant = \"body1\";"],"names":["variantElementMap","defaultTypographyVariant"],"mappings":"AAAO,MAAMA,IAAoB;AAAA,EAC7B,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,WAAW;AAAA,EACX,WAAW;AAAA,EACX,WAAW;AAAA,EACX,aAAa;AAAA,EACb,cAAc;AAAA,EACd,aAAa;AACf,GAGWC,IAA2B;"}
1
+ {"version":3,"file":"index.es15.js","sources":["../src/components/core/slider/slider.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const SliderVariants = cva(\"relative flex w-60 touch-none select-none items-center\", {\n variants: {\n variant: {},\n },\n defaultVariants: {\n },\n});\n"],"names":["SliderVariants","cva"],"mappings":";AAEa,MAAAA,IAAiBC,EAAI,2DAA2D;AAAA,EAC3F,UAAU;AAAA,IACR,SAAS,CAAC;AAAA,EACZ;AAAA,EACA,iBAAiB,CACjB;AACF,CAAC;"}
package/dist/index.es5.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as o from "react";
2
2
  import { cn as m } from "./index.es12.js";
3
3
  import { TypographyVariants as n } from "./index.es11.js";
4
- import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es15.js";
4
+ import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es14.js";
5
5
  const c = o.forwardRef(({ className: t, variant: r = y, ...a }, e) => {
6
6
  const p = i[r];
7
7
  return /* @__PURE__ */ o.createElement(
package/dist/index.es7.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as e from "react";
2
2
  import * as r from "@radix-ui/react-slider";
3
3
  import { cn as l } from "./index.es12.js";
4
- import { SliderVariants as s } from "./index.es14.js";
4
+ import { SliderVariants as s } from "./index.es15.js";
5
5
  const t = e.forwardRef(({ className: o, ...a }, i) => /* @__PURE__ */ e.createElement(
6
6
  r.Root,
7
7
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "geoiq-frontend-ui-kit",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
7
7
  "module": "dist/index.es.js",
package/dist/index.cjs.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs2.js"),e=require("./index.cjs3.js"),t=require("./index.cjs4.js"),n=require("./index.cjs5.js"),s=require("./index.cjs6.js"),o=require("./index.cjs7.js"),i=require("./index.cjs8.js"),a=require("./index.cjs9.js"),c=require("./index.cjs10.js"),p=require("./index.cjs11.js");exports.Button=r.Button;exports.Spinner=e.Spinner;exports.Checkbox=t.Checkbox;exports.Typography=n.Typography;exports.Progress=s.Progress;exports.Slider=o.Slider;exports.ButtonVariants=i.ButtonVariants;exports.SpinnerVariants=a.SpinnerVariants;exports.CheckboxVariants=c.CheckboxVariants;exports.TypographyVariants=p.TypographyVariants;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("class-variance-authority"),e=a.cva("peer h-6 w-6 shrink-0 rounded-sm border hover:border-brand-primary disabled:bg-bg7 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand-primary data-[state=checked]:text-white data-[state=checked]:border-brand-primary",{variants:{variant:{}},defaultVariants:{}});exports.CheckboxVariants=e;
2
- //# sourceMappingURL=index.cjs10.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs10.js","sources":["../src/components/core/checkbox/checkbox.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const CheckboxVariants = cva(\"peer h-6 w-6 shrink-0 rounded-sm border hover:border-brand-primary disabled:bg-bg7 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand-primary data-[state=checked]:text-white data-[state=checked]:border-brand-primary\", {\n variants: {\n variant: {},\n },\n defaultVariants: {\n },\n});\n"],"names":["CheckboxVariants","cva"],"mappings":"4HAEaA,EAAmBC,MAAI,qPAAsP,CACxR,SAAU,CACR,QAAS,CAAC,CACZ,EACA,gBAAiB,CACjB,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),o=require("./index.cjs15.js"),e=t.cva("",{variants:{variant:{h1:"font-bold text-4xl",h2:"font-bold text-3xl",h3:"font-bold text-2xl",h4:"font-bold text-xl",h5:"font-semibold text-lg",body1:"font-semibold text-base",body2:"font-normal text-sm",body3:"font-medium text-xs",body4:"font-medium text-xs",overline1:"font-semibold text-xs",overline2:"font-semibold text-xs",overline3:"font-bold text-xs","cta-large":"font-semibold text-base","cta-normal":"font-semibold text-sm","cta-small":"font-semibold text-xs"}},defaultVariants:{variant:o.defaultTypographyVariant}});exports.TypographyVariants=e;
2
- //# sourceMappingURL=index.cjs11.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs11.js","sources":["../src/components/core/typography/typography.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\nimport { defaultTypographyVariant } from \"./typography.config\";\n\nexport const TypographyVariants = cva(\"\", {\n variants: {\n variant: {\n h1: \"font-bold text-4xl\",\n h2: \"font-bold text-3xl\",\n h3: \"font-bold text-2xl\",\n h4: \"font-bold text-xl\",\n h5: \"font-semibold text-lg\",\n body1: \"font-semibold text-base\",\n body2: \"font-normal text-sm\",\n body3: \"font-medium text-xs\",\n body4: \"font-medium text-xs\",\n overline1: \"font-semibold text-xs\",\n overline2: \"font-semibold text-xs\",\n overline3: \"font-bold text-xs\",\n \"cta-large\": \"font-semibold text-base\",\n \"cta-normal\": \"font-semibold text-sm\",\n \"cta-small\": \"font-semibold text-xs\",\n },\n },\n defaultVariants: {\n variant: defaultTypographyVariant,\n },\n});\n"],"names":["TypographyVariants","cva","defaultTypographyVariant"],"mappings":"0JAGaA,EAAqBC,MAAI,GAAI,CACxC,SAAU,CACR,QAAS,CACP,GAAI,qBACJ,GAAI,qBACJ,GAAI,qBACJ,GAAI,oBACJ,GAAI,wBACJ,MAAO,0BACP,MAAO,sBACP,MAAO,sBACP,MAAO,sBACP,UAAW,wBACX,UAAW,wBACX,UAAW,oBACX,YAAa,0BACb,aAAc,wBACd,YAAa,uBACf,CACF,EACA,gBAAiB,CACf,QAASC,EAAA,wBACX,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("clsx"),t=require("tailwind-merge");function n(...e){return t.twMerge(r.clsx(e))}exports.cn=n;
2
- //# sourceMappingURL=index.cjs12.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs12.js","sources":["../src/lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\nimport { twMerge } from \"tailwind-merge\"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n"],"names":["cn","inputs","twMerge","clsx"],"mappings":"oIAGO,SAASA,KAAMC,EAAsB,CACnC,OAAAC,UAAQC,EAAAA,KAAKF,CAAM,CAAC,CAC7B"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("class-variance-authority"),e=r.cva("relative h-2 w-full overflow-hidden rounded-full bg-stroke1 min-w-64 ",{variants:{variant:{}},defaultVariants:{}});exports.ProgressVariants=e;
2
- //# sourceMappingURL=index.cjs13.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs13.js","sources":["../src/components/core/progress/progress.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const ProgressVariants = cva(\"relative h-2 w-full overflow-hidden rounded-full bg-stroke1 min-w-64 \", {\n variants: {\n variant: {},\n },\n defaultVariants: {\n },\n});\n"],"names":["ProgressVariants","cva"],"mappings":"4HAEaA,EAAmBC,MAAI,0EAA2E,CAC7G,SAAU,CACR,QAAS,CAAC,CACZ,EACA,gBAAiB,CACjB,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva("relative flex w-60 touch-none select-none items-center",{variants:{variant:{}},defaultVariants:{}});exports.SliderVariants=t;
2
- //# sourceMappingURL=index.cjs14.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs14.js","sources":["../src/components/core/slider/slider.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const SliderVariants = cva(\"relative flex w-60 touch-none select-none items-center\", {\n variants: {\n variant: {},\n },\n defaultVariants: {\n },\n});\n"],"names":["SliderVariants","cva"],"mappings":"4HAEaA,EAAiBC,MAAI,0DAA2D,CAC3F,SAAU,CACR,QAAS,CAAC,CACZ,EACA,gBAAiB,CACjB,CACF,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",body1:"p",body2:"p",body3:"p",body4:"p",overline1:"p",overline2:"p",overline3:"p","cta-large":"p","cta-normal":"p","cta-small":"p"},e="body1";exports.defaultTypographyVariant=e;exports.variantElementMap=a;
2
- //# sourceMappingURL=index.cjs15.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs15.js","sources":["../src/components/core/typography/typography.config.ts"],"sourcesContent":["export const variantElementMap = {\n h1: \"h1\",\n h2: \"h2\",\n h3: \"h3\",\n h4: \"h4\",\n h5: \"h5\",\n body1: \"p\",\n body2: \"p\",\n body3: \"p\",\n body4: \"p\",\n overline1: \"p\",\n overline2: \"p\",\n overline3: \"p\",\n \"cta-large\": \"p\",\n \"cta-normal\": \"p\",\n \"cta-small\": \"p\",\n };\n\n\nexport const defaultTypographyVariant = \"body1\";"],"names":["variantElementMap","defaultTypographyVariant"],"mappings":"gFAAO,MAAMA,EAAoB,CAC7B,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,MAAO,IACP,MAAO,IACP,MAAO,IACP,MAAO,IACP,UAAW,IACX,UAAW,IACX,UAAW,IACX,YAAa,IACb,aAAc,IACd,YAAa,GACf,EAGWC,EAA2B"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),f=require("@radix-ui/react-slot"),d=require("lucide-react"),b=require("./index.cjs12.js"),c=require("./index.cjs8.js");function g(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=g(m),u=r.forwardRef(({className:e,variant:n,size:t,asChild:a=!1,loading:s,...o},l)=>{const i=a?f.Slot:"button";return r.createElement(i,{className:b.cn(c.ButtonVariants({variant:n,size:t,className:e})),ref:l,...o},s?r.createElement(r.Fragment,null,r.createElement(d.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}),"Please wait..."):o.children)});u.displayName="Button";exports.ButtonVariants=c.ButtonVariants;exports.Button=u;
2
- //# sourceMappingURL=index.cjs2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs2.js","sources":["../src/components/core/button/button.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { Loader2 } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\nimport { ButtonVariants } from \"./button.styles\";\nimport { ButtonProps } from \"./button.types\";\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(\n ({ className, variant, size, asChild = false, loading, ...props }, ref) => {\n const Comp = asChild ? Slot : \"button\";\n return (\n <Comp\n className={cn(ButtonVariants({ variant, size, className }))}\n ref={ref}\n {...props}\n >\n {loading ? (\n <>\n <Loader2 className=\"mr-2 h-4 w-4 animate-spin\" />\n Please wait...\n </>\n ) : (\n props.children\n )}\n </Comp>\n );\n }\n);\n\nButton.displayName = \"Button\";\n\nexport { Button, ButtonVariants };\n"],"names":["Button","React","className","variant","size","asChild","loading","props","ref","Comp","Slot","cn","ButtonVariants","Loader2"],"mappings":"0fAOMA,EAASC,EAAM,WACnB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,KAAAC,EAAM,QAAAC,EAAU,GAAO,QAAAC,EAAS,GAAGC,CAAM,EAAGC,IAAQ,CACnE,MAAAC,EAAOJ,EAAUK,EAAO,KAAA,SAE5B,OAAAT,EAAA,cAACQ,EAAA,CACC,UAAWE,KAAGC,iBAAe,CAAE,QAAAT,EAAS,KAAAC,EAAM,UAAAF,CAAA,CAAW,CAAC,EAC1D,IAAAM,EACC,GAAGD,CAAA,EAEHD,kCAEIL,EAAA,cAAAY,EAAAA,QAAA,CAAQ,UAAU,2BAA4B,CAAA,EAAE,gBAEnD,EAEAN,EAAM,QAAA,CAId,CACF,EAEAP,EAAO,YAAc"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),s=require("lucide-react"),u=require("./index.cjs12.js"),c=require("./index.cjs9.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=l(a),i=o.forwardRef(({className:e,variant:r,size:t,...n},p)=>(console.log(e,r,t),o.createElement(s.Loader2,{className:u.cn(c.SpinnerVariants({variant:r,size:t,className:e}))})));i.displayName="Spinner";exports.SpinnerVariants=c.SpinnerVariants;exports.Spinner=i;
2
- //# sourceMappingURL=index.cjs3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs3.js","sources":["../src/components/core/spinner/spinner.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Loader2 } from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\nimport { SpinnerVariants } from \"./spinner.styles\";\nimport { SpinnerProps } from \"./spinner.types\";\n\nconst Spinner = React.forwardRef<SVGSVGElement, SpinnerProps>(\n ({ className, variant, size, ...props }, ref) => {\n console.log(className, variant, size);\n\n return (\n <Loader2 className={cn(SpinnerVariants({ variant, size, className }))} />\n );\n }\n);\n\nSpinner.displayName = \"Spinner\";\n\nexport { Spinner, SpinnerVariants };\n"],"names":["Spinner","React","className","variant","size","props","ref","Loader2","cn","SpinnerVariants"],"mappings":"wdAMMA,EAAUC,EAAM,WACpB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,KAAAC,EAAM,GAAGC,GAASC,KAC/B,QAAA,IAAIJ,EAAWC,EAASC,CAAI,EAGlCH,EAAA,cAACM,UAAQ,CAAA,UAAWC,EAAG,GAAAC,kBAAgB,CAAE,QAAAN,EAAS,KAAAC,EAAM,UAAAF,CAAA,CAAW,CAAC,CAAG,CAAA,EAG7E,EAEAF,EAAQ,YAAc"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),m=require("@radix-ui/react-checkbox"),b=require("lucide-react"),s=require("./index.cjs10.js"),o=require("./index.cjs12.js");function i(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(c,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return c.default=e,Object.freeze(c)}const r=i(u),a=i(m),l=r.forwardRef(({className:e,...c},t)=>r.createElement(a.Root,{ref:t,className:o.cn(s.CheckboxVariants({className:e})),...c},r.createElement(a.Indicator,{className:o.cn("flex items-center justify-center text-current")},r.createElement(b.Check,{className:"h-6 w-6"}))));l.displayName=a.Root.displayName;exports.CheckboxVariants=s.CheckboxVariants;exports.Checkbox=l;
2
- //# sourceMappingURL=index.cjs4.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs4.js","sources":["../src/components/core/checkbox/checkbox.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as CheckboxPrimitive from \"@radix-ui/react-checkbox\";\nimport { Check } from \"lucide-react\";\nimport { CheckboxVariants } from \"./checkbox.styles\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n className={cn(CheckboxVariants({ className }))}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n className={cn(\"flex items-center justify-center text-current\")}\n >\n <Check className=\"h-6 w-6\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n));\n\nCheckbox.displayName = CheckboxPrimitive.Root.displayName;\n\nexport { Checkbox, CheckboxVariants };\n"],"names":["Checkbox","React","className","props","ref","CheckboxPrimitive","cn","CheckboxVariants","Check"],"mappings":"sgBASMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BH,EAAA,cAACI,EAAkB,KAAlB,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAGC,EAAAA,iBAAiB,CAAE,UAAAL,CAAW,CAAA,CAAC,EAC5C,GAAGC,CAAA,EAEJF,EAAA,cAACI,EAAkB,UAAlB,CACC,UAAWC,KAAG,+CAA+C,CAAA,EAE7DL,EAAA,cAACO,EAAAA,MAAM,CAAA,UAAU,SAAU,CAAA,CAC7B,CACF,CACD,EAEDR,EAAS,YAAcK,EAAkB,KAAK"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),s=require("./index.cjs12.js"),c=require("./index.cjs11.js"),n=require("./index.cjs15.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const o=l(i),p=o.forwardRef(({className:e,variant:r=n.defaultTypographyVariant,...t},a)=>{const y=n.variantElementMap[r];return o.createElement(y,{className:s.cn(c.TypographyVariants({variant:r,className:e})),ref:a,...t},t.children)});p.displayName="Typography";exports.TypographyVariants=c.TypographyVariants;exports.Typography=p;
2
- //# sourceMappingURL=index.cjs5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs5.js","sources":["../src/components/core/typography/typography.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport { TypographyVariants } from \"./typography.styles\";\nimport { TypographyProps } from \"./typography.types\";\nimport {\n defaultTypographyVariant,\n variantElementMap,\n} from \"./typography.config\";\n\nconst Typography = React.forwardRef<\n HTMLHeadingElement | HTMLParagraphElement,\n TypographyProps\n>(({ className, variant = defaultTypographyVariant, ...props }, ref) => {\n const Comp: React.ElementType = variantElementMap[\n variant as keyof typeof variantElementMap\n ] as React.ElementType;\n\n return (\n <Comp\n className={cn(TypographyVariants({ variant, className }))}\n ref={ref}\n {...props}\n >\n {props.children}\n </Comp>\n );\n});\n\nTypography.displayName = \"Typography\";\n\nexport { Typography, TypographyVariants };\n"],"names":["Typography","React","className","variant","defaultTypographyVariant","props","ref","Comp","variantElementMap","cn","TypographyVariants"],"mappings":"6dASMA,EAAaC,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAUC,2BAA0B,GAAGC,CAAM,EAAGC,IAAQ,CAChE,MAAAC,EAA0BC,oBAC9BL,CACF,EAGE,OAAAF,EAAA,cAACM,EAAA,CACC,UAAWE,EAAG,GAAAC,EAAA,mBAAmB,CAAE,QAAAP,EAAS,UAAAD,CAAW,CAAA,CAAC,EACxD,IAAAI,EACC,GAAGD,CAAA,EAEHA,EAAM,QAAA,CAGb,CAAC,EAEDL,EAAW,YAAc"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),l=require("@radix-ui/react-progress"),u=require("./index.cjs12.js"),m=require("./index.cjs13.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=n(i),a=n(l),c=o.forwardRef(({className:e,value:t,...r},s)=>(console.log(t),o.createElement(a.Root,{ref:s,className:u.cn(m.ProgressVariants({className:e})),...r},o.createElement(a.Indicator,{className:"h-full flex-1 bg-brand-primary transition-all w-32",style:{transform:`translateX(-${100-(t||0)}%)`}}))));c.displayName=a.Root.displayName;exports.Progress=c;
2
- //# sourceMappingURL=index.cjs6.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs6.js","sources":["../src/components/core/progress/progress.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as ProgressPrimitive from \"@radix-ui/react-progress\"\n\nimport { cn } from \"@/lib/utils\"\nimport {ProgressVariants} from \"./progress.styles\"\n\nconst Progress = React.forwardRef<\n React.ElementRef<typeof ProgressPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>\n>(({ className, value, ...props }, ref) => {\n \n console.log(value);\n \n \n return (\n <ProgressPrimitive.Root\n ref={ref}\n className={cn(\n ProgressVariants({className})\n )}\n {...props}\n >\n <ProgressPrimitive.Indicator\n className=\"h-full flex-1 bg-brand-primary transition-all w-32\"\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n)})\n\n\nProgress.displayName = ProgressPrimitive.Root.displayName\n\nexport { Progress }\n"],"names":["Progress","React","className","value","props","ref","ProgressPrimitive","cn","ProgressVariants"],"mappings":"4eAMMA,EAAWC,EAAM,WAGrB,CAAC,CAAE,UAAAC,EAAW,MAAAC,EAAO,GAAGC,CAAM,EAAGC,KAE/B,QAAQ,IAAIF,CAAK,EAInBF,EAAA,cAACK,EAAkB,KAAlB,CACC,IAAAD,EACA,UAAWE,EAAA,GACTC,EAAA,iBAAiB,CAAC,UAAAN,EAAU,CAC9B,EACC,GAAGE,CAAA,EAEJH,EAAA,cAACK,EAAkB,UAAlB,CACC,UAAU,sDACV,MAAO,CAAE,UAAW,eAAe,KAAOH,GAAS,EAAE,IAAK,CAAA,CAC5D,CAAA,EAEF,EAGFH,EAAS,YAAcM,EAAkB,KAAK"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),c=require("@radix-ui/react-slider"),d=require("./index.cjs12.js"),u=require("./index.cjs14.js");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=l(s),o=l(c),n=i.forwardRef(({className:e,...t},r)=>i.createElement(o.Root,{ref:r,className:d.cn(u.SliderVariants({className:e})),...t},i.createElement(o.Track,{className:"relative h-0.5 w-full grow overflow-hidden rounded-full bg-slate-300"},i.createElement(o.Range,{className:"absolute h-full bg-brand-primary"})),i.createElement(o.Thumb,{className:"block h-3 w-3 rounded-full border-2 border-primary bg-brand-primary ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 shadow-lg"})));n.displayName=o.Root.displayName;exports.Slider=n;
2
- //# sourceMappingURL=index.cjs7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs7.js","sources":["../src/components/core/slider/slider.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as SliderPrimitive from \"@radix-ui/react-slider\"\n\nimport { cn } from \"@/lib/utils\"\nimport {SliderVariants} from \"./slider.styles\"\n\nconst Slider = React.forwardRef<\n React.ElementRef<typeof SliderPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <SliderPrimitive.Root\n ref={ref}\n className={cn(SliderVariants({className}))}\n {...props}\n >\n <SliderPrimitive.Track className=\"relative h-0.5 w-full grow overflow-hidden rounded-full bg-slate-300\">\n <SliderPrimitive.Range className=\"absolute h-full bg-brand-primary\" />\n \n </SliderPrimitive.Track>\n<SliderPrimitive.Thumb className=\"block h-3 w-3 rounded-full border-2 border-primary bg-brand-primary ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 shadow-lg\" /> \n </SliderPrimitive.Root>\n))\nSlider.displayName = SliderPrimitive.Root.displayName\n\nexport { Slider }\n\n\n\n"],"names":["Slider","React","className","props","ref","SliderPrimitive","cn","SliderVariants"],"mappings":"0eAMMA,EAASC,EAAM,WAGnB,CAAC,CAAE,UAAAC,EAAW,GAAGC,CAAM,EAAGC,IAC1BH,EAAA,cAACI,EAAgB,KAAhB,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAGC,EAAAA,eAAe,CAAC,UAAAL,CAAU,CAAA,CAAC,EACxC,GAAGC,CAAA,EAEHF,EAAA,cAAAI,EAAgB,MAAhB,CAAsB,UAAU,sEAAA,EAC9BJ,EAAA,cAAAI,EAAgB,MAAhB,CAAsB,UAAU,kCAAmC,CAAA,CAEtE,EACHJ,EAAA,cAAAI,EAAgB,MAAhB,CAAsB,UAAU,+QAA+Q,CAC5S,CACH,EACDL,EAAO,YAAcK,EAAgB,KAAK"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{primary:"bg-brand-primary text-white hover:shadow-lg",secondary:"border border-stroke2 hover:bg-stroke2",teritiary:"text-brand-primary hover:bg-bg3"},size:{default:"h-10 px-[22px] py-2",sm:"h-8 rounded-md px-[22px] py-2",lg:"h-12 rounded-md px-[22px] py-[12px]"}},defaultVariants:{variant:"primary",size:"default"}});exports.ButtonVariants=r;
2
- //# sourceMappingURL=index.cjs8.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs8.js","sources":["../src/components/core/button/button.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\"\n\n\nexport const ButtonVariants = cva(\n \"inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50\",\n {\n variants: {\n variant: {\n primary: \"bg-brand-primary text-white hover:shadow-lg\",\n secondary:\n \"border border-stroke2 hover:bg-stroke2\",\n teritiary:\n \"text-brand-primary hover:bg-bg3\",\n },\n size: {\n default: \"h-10 px-[22px] py-2\",\n sm: \"h-8 rounded-md px-[22px] py-2\",\n lg: \"h-12 rounded-md px-[22px] py-[12px]\",\n },\n },\n defaultVariants: {\n variant: \"primary\",\n size: \"default\",\n },\n }\n )"],"names":["ButtonVariants","cva"],"mappings":"4HAGaA,EAAiBC,EAAA,IAC1B,yRACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,8CACT,UACE,yCACF,UACE,kCACJ,EACA,KAAM,CACJ,QAAS,sBACT,GAAI,gCACJ,GAAI,qCACN,CACF,EACA,gBAAiB,CACf,QAAS,UACT,KAAM,SACR,CACF,CACF"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("class-variance-authority"),t=a.cva("animate-spin",{variants:{variant:{},size:{default:"h-4 w-4",sm:"h-3 w-3",md:"h-4 w-4",lg:"h-5 w-5",xl:"h-6 w-6"}},defaultVariants:{size:"default"}});exports.SpinnerVariants=t;
2
- //# sourceMappingURL=index.cjs9.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs9.js","sources":["../src/components/core/spinner/spinner.styles.ts"],"sourcesContent":["import { cva } from \"class-variance-authority\";\n\nexport const SpinnerVariants = cva(\"animate-spin\", {\n variants: {\n variant: {},\n size: {\n default: \"h-4 w-4\",\n sm:'h-3 w-3',\n md:'h-4 w-4',\n lg:'h-5 w-5',\n xl:'h-6 w-6'\n\n },\n },\n defaultVariants: {\n size: \"default\",\n },\n});\n"],"names":["SpinnerVariants","cva"],"mappings":"4HAEaA,EAAkBC,MAAI,eAAgB,CACjD,SAAU,CACR,QAAS,CAAC,EACV,KAAM,CACJ,QAAS,UACT,GAAG,UACH,GAAG,UACH,GAAG,UACH,GAAG,SAEL,CACF,EACA,gBAAiB,CACf,KAAM,SACR,CACF,CAAC"}