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

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
@@ -10,6 +10,10 @@ html {
10
10
  font-size: 14px;
11
11
  }
12
12
 
13
+ a {
14
+ @apply text-primary hover:underline;
15
+ }
16
+
13
17
  button:focus {
14
18
  @apply outline-none;
15
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xola/ui-kit",
3
- "version": "2.0.0-52",
3
+ "version": "2.0.0-55",
4
4
  "description": "Xola UI Kit",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -42,6 +42,7 @@
42
42
  "react-day-picker": "^7.4.10",
43
43
  "react-hot-toast": "^2.1.0",
44
44
  "react-hotkeys-hook": "^3.4.0",
45
+ "react-json-view": "^1.21.3",
45
46
  "react-select": "^5.1.0",
46
47
  "tippy.js": "^6.3.1"
47
48
  },
@@ -65,6 +65,52 @@ const colors = {
65
65
  },
66
66
  };
67
67
 
68
+ const spacing = {
69
+ 0: "0px",
70
+ 0.25: "1px",
71
+ 0.5: "2px",
72
+ 0.75: "3px",
73
+ 1: "4px",
74
+ 1.5: "6px",
75
+ 2: "8px",
76
+ 2.5: "10px",
77
+ 3: "12px",
78
+ 3.5: "14px",
79
+ 4: "16px",
80
+ 4.5: "18px",
81
+ 5: "20px",
82
+ 6: "24px",
83
+ 7: "28px",
84
+ 7.5: "30px",
85
+ 8: "32px",
86
+ 9: "36px",
87
+ 10: "40px",
88
+ 11: "44px",
89
+ 12: "48px",
90
+ 14: "56px",
91
+ 15: "60px",
92
+ 16: "64px",
93
+ 20: "80px",
94
+ 24: "96px",
95
+ 25: "100px",
96
+ 28: "112px",
97
+ 30: "120px",
98
+ 32: "128px",
99
+ 36: "144px",
100
+ 40: "160px",
101
+ 44: "176px",
102
+ 48: "192px",
103
+ 50: "200px",
104
+ 52: "208px",
105
+ 56: "224px",
106
+ 60: "240px",
107
+ 64: "256px",
108
+ 72: "288px",
109
+ 75: "300px",
110
+ 80: "320px",
111
+ 82: "350px",
112
+ 96: "384px",
113
+ };
68
114
  module.exports = {
69
115
  content: [
70
116
  "./src/**/*.js",
@@ -88,51 +134,7 @@ module.exports = {
88
134
  caution: colors.orange,
89
135
  },
90
136
 
91
- spacing: {
92
- 0: "0px",
93
- 0.25: "1px",
94
- 0.5: "2px",
95
- 0.75: "3px",
96
- 1: "4px",
97
- 1.5: "6px",
98
- 2: "8px",
99
- 2.5: "10px",
100
- 3: "12px",
101
- 3.5: "14px",
102
- 4: "16px",
103
- 4.5: "18px",
104
- 5: "20px",
105
- 6: "24px",
106
- 7: "28px",
107
- 7.5: "30px",
108
- 8: "32px",
109
- 9: "36px",
110
- 10: "40px",
111
- 11: "44px",
112
- 12: "48px",
113
- 14: "56px",
114
- 15: "60px",
115
- 16: "64px",
116
- 20: "80px",
117
- 24: "96px",
118
- 25: "100px",
119
- 28: "112px",
120
- 32: "128px",
121
- 36: "144px",
122
- 40: "160px",
123
- 44: "176px",
124
- 48: "192px",
125
- 50: "200px",
126
- 52: "208px",
127
- 56: "224px",
128
- 60: "240px",
129
- 64: "256px",
130
- 72: "288px",
131
- 75: "300px",
132
- 80: "320px",
133
- 82: "350px",
134
- 96: "384px",
135
- },
137
+ spacing,
136
138
 
137
139
  // Figma: https://www.figma.com/file/tL2vrxuBIzujkDfYvVjUhs/%F0%9F%9B%A0-Xola-DS-Desktop-Master-%F0%9F%9B%A0?node-id=1885%3A51905
138
140
  fontSize: {
@@ -203,6 +205,9 @@ module.exports = {
203
205
  tightest: "-.4px",
204
206
  // TODO: Other letter spacings are in EM and need to be converted to px
205
207
  },
208
+
209
+ minWidth: spacing,
210
+ maxWidth: spacing,
206
211
  },
207
212
  },
208
213