geoiq-frontend-ui-kit 1.0.3 → 1.0.7
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/styles.css +1 -8
- package/dist/ui-kit-preset.js +61 -0
- package/package.json +7 -3
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.cjs10.js +0 -2
- package/dist/index.cjs10.js.map +0 -1
- package/dist/index.cjs11.js +0 -2
- package/dist/index.cjs11.js.map +0 -1
- package/dist/index.cjs12.js +0 -2
- package/dist/index.cjs12.js.map +0 -1
- package/dist/index.cjs13.js +0 -2
- package/dist/index.cjs13.js.map +0 -1
- package/dist/index.cjs14.js +0 -2
- package/dist/index.cjs14.js.map +0 -1
- package/dist/index.cjs15.js +0 -2
- package/dist/index.cjs15.js.map +0 -1
- package/dist/index.cjs2.js +0 -2
- package/dist/index.cjs2.js.map +0 -1
- package/dist/index.cjs3.js +0 -2
- package/dist/index.cjs3.js.map +0 -1
- package/dist/index.cjs4.js +0 -2
- package/dist/index.cjs4.js.map +0 -1
- package/dist/index.cjs5.js +0 -2
- package/dist/index.cjs5.js.map +0 -1
- package/dist/index.cjs6.js +0 -2
- package/dist/index.cjs6.js.map +0 -1
- package/dist/index.cjs7.js +0 -2
- package/dist/index.cjs7.js.map +0 -1
- package/dist/index.cjs8.js +0 -2
- package/dist/index.cjs8.js.map +0 -1
- package/dist/index.cjs9.js +0 -2
- package/dist/index.cjs9.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.4.
|
|
2
|
+
! tailwindcss v3.4.5 | MIT License | https://tailwindcss.com
|
|
3
3
|
*//*
|
|
4
4
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
5
5
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -605,9 +605,6 @@ video {
|
|
|
605
605
|
.inline-flex {
|
|
606
606
|
display: inline-flex;
|
|
607
607
|
}
|
|
608
|
-
.h-0 {
|
|
609
|
-
height: 0px;
|
|
610
|
-
}
|
|
611
608
|
.h-0\.5 {
|
|
612
609
|
height: 0.125rem;
|
|
613
610
|
}
|
|
@@ -766,10 +763,6 @@ video {
|
|
|
766
763
|
padding-left: 22px;
|
|
767
764
|
padding-right: 22px;
|
|
768
765
|
}
|
|
769
|
-
.py-1 {
|
|
770
|
-
padding-top: 0.25rem;
|
|
771
|
-
padding-bottom: 0.25rem;
|
|
772
|
-
}
|
|
773
766
|
.py-1\.5 {
|
|
774
767
|
padding-top: 0.375rem;
|
|
775
768
|
padding-bottom: 0.375rem;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
darkMode: ["selector"],
|
|
3
|
+
content: ["./src/components/**/*.{ts,js,jsx,tsx}"],
|
|
4
|
+
safelist: ["dark"],
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
brand: {
|
|
9
|
+
primary: "hsl(var(--primaryBrand) / <alpha-value>)",
|
|
10
|
+
secondary: "hsl(var(--secondaryBrand) / <alpha-value>)",
|
|
11
|
+
},
|
|
12
|
+
stroke1: "hsl(var(--stroke1) / <alpha-value>)",
|
|
13
|
+
stroke2: "hsl(var(--stroke2) / <alpha-value>)",
|
|
14
|
+
stroke3: "hsl(var(--stroke3) / <alpha-value>)",
|
|
15
|
+
stroke4: "hsl(var(--stroke4) / <alpha-value>)",
|
|
16
|
+
stroke5: "hsl(var(--stroke5) / <alpha-value>)",
|
|
17
|
+
bg1: "hsl(var(--bg1) / <alpha-value>)",
|
|
18
|
+
bg2: "hsl(var(--bg2) / <alpha-value>)",
|
|
19
|
+
bg3: "hsl(var(--bg3) / <alpha-value>)",
|
|
20
|
+
bg4: "hsl(var(--bg4) / <alpha-value>)",
|
|
21
|
+
bg5: "hsl(var(--bg5) / <alpha-value>)",
|
|
22
|
+
bg6: "hsl(var(--bg6) / <alpha-value>)",
|
|
23
|
+
bg7: "hsl(var(--bg7) / <alpha-value>)",
|
|
24
|
+
bg8: "hsl(var(--bg8) / <alpha-value>)",
|
|
25
|
+
text1: "hsl(var(--text1) / <alpha-value>)",
|
|
26
|
+
text2: "hsl(var(--text2) / <alpha-value>)",
|
|
27
|
+
text3: "hsl(var(--text3) / <alpha-value>)",
|
|
28
|
+
text4: "hsl(var(--text4) / <alpha-value>)",
|
|
29
|
+
text5: "hsl(var(--text5) / <alpha-value>)",
|
|
30
|
+
text6: "hsl(var(--text6) / <alpha-value>)",
|
|
31
|
+
danger: {
|
|
32
|
+
light: "hsl(var(--dangerLight) / <alpha-value>)",
|
|
33
|
+
DEFAULT: "hsl(var(--danger) / <alpha-value>)",
|
|
34
|
+
},
|
|
35
|
+
warning: {
|
|
36
|
+
light: "hsl(var(--warningLight) / <alpha-value>)",
|
|
37
|
+
DEFAULT: "hsl(var(--warning) / <alpha-value>)",
|
|
38
|
+
},
|
|
39
|
+
success: {
|
|
40
|
+
light: "hsl(var(--successLight) / <alpha-value>)",
|
|
41
|
+
DEFAULT: "hsl(var(--success) / <alpha-value>)",
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
keyframes: {
|
|
45
|
+
"accordion-down": {
|
|
46
|
+
from: { height: "0" },
|
|
47
|
+
to: { height: "var(--radix-accordion-content-height)" },
|
|
48
|
+
},
|
|
49
|
+
"accordion-up": {
|
|
50
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
51
|
+
to: { height: "0" },
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
animation: {
|
|
55
|
+
"accordion-down": "accordion-down 0.2s ease-out",
|
|
56
|
+
"accordion-up": "accordion-up 0.2s ease-out",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
plugins: [require("tailwindcss-animate")],
|
|
61
|
+
};
|
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.
|
|
4
|
+
"version": "1.0.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "vite",
|
|
15
15
|
"build": "tsc && vite build && npm run build:styles",
|
|
16
|
-
"build:styles": "postcss src/index.css -o dist/styles.css",
|
|
16
|
+
"build:styles": "postcss src/index.css -o dist/styles.css && cp ui-kit-preset.js dist/",
|
|
17
17
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
18
|
"preview": "vite preview",
|
|
19
19
|
"watch-build": "chokidar 'src/**/*' -c 'npm run build'",
|
|
20
20
|
"storybook": "storybook dev -p 6006",
|
|
21
|
-
"build-storybook": "storybook build"
|
|
21
|
+
"build-storybook": "storybook build",
|
|
22
|
+
"publish": "npm run build && npm publish",
|
|
23
|
+
"publish:patch": "npm version patch && npm run build && npm publish",
|
|
24
|
+
"publish:minor": "npm version minor && npm run build && npm publish",
|
|
25
|
+
"publish:major": "npm version major && npm run build && npm publish"
|
|
22
26
|
},
|
|
23
27
|
"dependencies": {
|
|
24
28
|
"@radix-ui/react-checkbox": "^1.1.0",
|
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
|
package/dist/index.cjs.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs10.js
DELETED
|
@@ -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
|
package/dist/index.cjs10.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs11.js
DELETED
|
@@ -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
|
package/dist/index.cjs11.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs12.js
DELETED
package/dist/index.cjs12.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs13.js
DELETED
|
@@ -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
|
package/dist/index.cjs13.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs14.js
DELETED
|
@@ -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
|
package/dist/index.cjs14.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs15.js
DELETED
|
@@ -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
|
package/dist/index.cjs15.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs2.js
DELETED
|
@@ -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
|
package/dist/index.cjs2.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs3.js
DELETED
|
@@ -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
|
package/dist/index.cjs3.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs4.js
DELETED
|
@@ -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
|
package/dist/index.cjs4.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs5.js
DELETED
|
@@ -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
|
package/dist/index.cjs5.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs6.js
DELETED
|
@@ -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
|
package/dist/index.cjs6.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs7.js
DELETED
|
@@ -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
|
package/dist/index.cjs7.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs8.js
DELETED
|
@@ -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
|
package/dist/index.cjs8.js.map
DELETED
|
@@ -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"}
|
package/dist/index.cjs9.js
DELETED
|
@@ -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
|
package/dist/index.cjs9.js.map
DELETED
|
@@ -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"}
|