geoiq-frontend-ui-kit 1.0.4 → 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.
@@ -1,5 +1,5 @@
1
1
  import { cva as t } from "class-variance-authority";
2
- import { defaultTypographyVariant as o } from "./index.es14.js";
2
+ import { defaultTypographyVariant as o } from "./index.es15.js";
3
3
  const n = t("", {
4
4
  variants: {
5
5
  variant: {
@@ -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.es14.js.map
@@ -1 +1 @@
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
+ {"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,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.es15.js.map
@@ -1 +1 @@
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;"}
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;"}
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.es14.js";
4
+ import { defaultTypographyVariant as y, variantElementMap as i } from "./index.es15.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.es15.js";
4
+ import { SliderVariants as s } from "./index.es14.js";
5
5
  const t = e.forwardRef(({ className: o, ...a }, i) => /* @__PURE__ */ e.createElement(
6
6
  r.Root,
7
7
  {
package/dist/styles.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- ! tailwindcss v3.4.4 | MIT License | https://tailwindcss.com
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",
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",