@xola/ui-kit 2.0.0-5 → 2.0.0-52

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/index.css CHANGED
@@ -1,4 +1,5 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");
2
+ @import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap");
2
3
 
3
4
  @tailwind base;
4
5
  @tailwind components;
@@ -61,7 +62,11 @@ h6 {
61
62
  @apply leading-p3 tracking-tightest;
62
63
  }
63
64
 
64
- .badge .icon {
65
+ .ui-badge .icon {
65
66
  position: relative;
66
67
  top: -1px;
67
68
  }
69
+
70
+ .font-bold {
71
+ @apply antialiased;
72
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xola/ui-kit",
3
- "version": "2.0.0-5",
3
+ "version": "2.0.0-52",
4
4
  "description": "Xola UI Kit",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -9,8 +9,9 @@
9
9
  "tailwind.config.js",
10
10
  "postcss.config.js"
11
11
  ],
12
- "main": "./build/ui-kit.umd.js",
13
- "module": "./build/ui-kit.es.js",
12
+ "main": "build/ui-kit.umd.js",
13
+ "module": "build/ui-kit.es.js",
14
+ "types": "index.d.ts",
14
15
  "scripts": {
15
16
  "prepare": "node scripts/prepare && vite build",
16
17
  "start": "node scripts/prepare && start-storybook -p 6006 -s public",
@@ -28,8 +29,8 @@
28
29
  },
29
30
  "dependencies": {
30
31
  "@headlessui/react": "^1.4.0",
31
- "@tailwindcss/forms": "^0.3.3",
32
- "@tailwindcss/line-clamp": "^0.2.1",
32
+ "@tailwindcss/forms": "^0.4.0",
33
+ "@tailwindcss/line-clamp": "^0.3.1",
33
34
  "@tippyjs/react": "^4.2.5",
34
35
  "clsx": "^1.1.1",
35
36
  "dayjs": "^1.10.7",
@@ -41,30 +42,32 @@
41
42
  "react-day-picker": "^7.4.10",
42
43
  "react-hot-toast": "^2.1.0",
43
44
  "react-hotkeys-hook": "^3.4.0",
45
+ "react-select": "^5.1.0",
44
46
  "tippy.js": "^6.3.1"
45
47
  },
46
48
  "devDependencies": {
47
49
  "@babel/core": "^7.14.8",
48
50
  "@babel/preset-env": "^7.15.6",
49
- "@storybook/addon-actions": "^6.3.6",
50
- "@storybook/addon-essentials": "^6.3.6",
51
- "@storybook/addon-links": "^6.3.6",
51
+ "@storybook/addon-actions": "^6.4.9",
52
+ "@storybook/addon-essentials": "^6.4.9",
53
+ "@storybook/addon-links": "^6.4.9",
52
54
  "@storybook/addon-postcss": "^2.0.0",
53
- "@storybook/addons": "^6.3.6",
54
- "@storybook/react": "^6.3.6",
55
- "@storybook/theming": "^6.3.6",
56
- "@xola/jslint": "0.0.2",
57
- "autoprefixer": "^10.3.1",
55
+ "@storybook/addons": "^6.4.9",
56
+ "@storybook/react": "^6.4.9",
57
+ "@storybook/theming": "^6.4.9",
58
+ "@xola/jslint": "^1.0.0",
59
+ "autoprefixer": "^10.4.2",
58
60
  "babel-jest": "^27.2.0",
59
61
  "babel-loader": "^8.2.2",
60
62
  "jest": "^27.2.0",
61
63
  "lodash": "^4.17.21",
62
- "postcss": "^8.3.6",
63
- "prettier": "^2.4.0",
64
+ "postcss": "^8.4.5",
65
+ "prettier": "^2.5.1",
66
+ "prettier-plugin-tailwindcss": "^0.1.7",
64
67
  "react": "^17.0.2",
65
68
  "react-dom": "^17.0.2",
66
69
  "storybook-css-modules-preset": "^1.1.1",
67
- "tailwindcss": "^2.2.15",
70
+ "tailwindcss": "^3.0.18",
68
71
  "vite": "^2.5.7"
69
72
  },
70
73
  "peerDependencies": {
@@ -73,7 +76,7 @@
73
76
  "postcss": "^8.3.6",
74
77
  "react": "^17.0.2",
75
78
  "react-dom": "^17.0.2",
76
- "tailwindcss": "^2.2.7"
79
+ "tailwindcss": "^3.0.18"
77
80
  },
78
81
  "prettier": {
79
82
  "semi": true,
@@ -8,6 +8,7 @@ const colors = {
8
8
  white: "#ffffff",
9
9
 
10
10
  gray: {
11
+ hover: "#F7F9FB",
11
12
  lighter: "#F0F2F4",
12
13
  light: "#E0E3E7",
13
14
  DEFAULT: "#BDC0C6",
@@ -23,28 +24,36 @@ const colors = {
23
24
  darker: "#0E44A8",
24
25
  },
25
26
 
27
+ turquoise: {
28
+ // TODO: We need other shades to match the scheme
29
+ DEFAULT: "#3FE2EE",
30
+ },
31
+
26
32
  green: {
27
33
  lighter: "#E2FFEF",
34
+ lightish: "#C1F9D9",
28
35
  light: "#33E781",
29
36
  DEFAULT: "#27CE70",
30
37
  dark: "#23B965",
31
- darker: "#1B8E4E", // Made up by Rushi till Barth gives us a color
38
+ darker: "#168848",
32
39
  },
33
40
 
34
41
  red: {
35
- lighter: "#FFEAEA",
42
+ lighter: "#FFF0F0",
43
+ lightish: "#FFE1E1",
36
44
  light: "#FFA1A1",
37
45
  DEFAULT: "#FF5A5A",
38
46
  dark: "#E93737",
39
- darker: "#E51919", // Made up by Rushi till Barth gives us a color
47
+ darker: "#CD1F1F",
40
48
  },
41
49
 
42
50
  yellow: {
43
51
  lighter: "#FFFAF0",
52
+ lightish: "#FFECC6",
44
53
  light: "#FFDB8E",
45
54
  DEFAULT: "#FFC03D",
46
55
  dark: "#EBAA24",
47
- darker: "#F0A200", // Made up by Rushi till Barth gives us a color
56
+ darker: "#987122",
48
57
  },
49
58
 
50
59
  orange: {
@@ -57,10 +66,7 @@ const colors = {
57
66
  };
58
67
 
59
68
  module.exports = {
60
- mode: "jit",
61
- darkMode: false,
62
-
63
- purge: [
69
+ content: [
64
70
  "./src/**/*.js",
65
71
  "./src/**/*.jsx",
66
72
  "./src/**/*.ts",
@@ -109,6 +115,7 @@ module.exports = {
109
115
  16: "64px",
110
116
  20: "80px",
111
117
  24: "96px",
118
+ 25: "100px",
112
119
  28: "112px",
113
120
  32: "128px",
114
121
  36: "144px",
@@ -121,6 +128,7 @@ module.exports = {
121
128
  60: "240px",
122
129
  64: "256px",
123
130
  72: "288px",
131
+ 75: "300px",
124
132
  80: "320px",
125
133
  82: "350px",
126
134
  96: "384px",
@@ -153,6 +161,7 @@ module.exports = {
153
161
  extend: {
154
162
  fontFamily: {
155
163
  sans: ["Inter", ...defaultTheme.fontFamily.sans],
164
+ mono: ["Roboto Mono", ...defaultTheme.fontFamily.mono],
156
165
  },
157
166
 
158
167
  // P1 - Big 16px 130%
@@ -192,7 +201,7 @@ module.exports = {
192
201
 
193
202
  letterSpacing: {
194
203
  tightest: "-.4px",
195
- // TODO: Other letter spacings are in EM and need to be coverted to px
204
+ // TODO: Other letter spacings are in EM and need to be converted to px
196
205
  },
197
206
  },
198
207
  },
Binary file
Binary file