@agility/plenum-ui 2.1.0 → 2.1.1
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/tailwind.css +58525 -1
- package/package.json +1 -1
- package/tailwind.config.js +46 -59
package/package.json
CHANGED
package/tailwind.config.js
CHANGED
|
@@ -1,48 +1,56 @@
|
|
|
1
|
-
/* eslint-disable no-undef */
|
|
2
|
-
const defaultTheme = require("tailwindcss/defaultTheme")
|
|
3
|
-
|
|
4
1
|
/** @type {import('tailwindcss').Config} */
|
|
5
2
|
module.exports = {
|
|
6
|
-
|
|
7
|
-
theme: {
|
|
8
|
-
screens: {
|
|
9
|
-
"6xs": "320px",
|
|
10
|
-
"3xs": "360px",
|
|
11
|
-
"2xs": "375px",
|
|
12
|
-
xs: "414px",
|
|
13
|
-
sm: "640px",
|
|
14
|
-
md: "768px",
|
|
15
|
-
lg: "1024px",
|
|
16
|
-
xl: "1173px",
|
|
17
|
-
"2xl": "1294px",
|
|
18
|
-
"3xl": "1424px",
|
|
19
|
-
"4xl": "1920px",
|
|
20
|
-
"5xl": "2560px"
|
|
21
|
-
},
|
|
3
|
+
mode: "development",
|
|
22
4
|
|
|
5
|
+
content: [
|
|
6
|
+
"./app/**/*.{js,ts,jsx,tsx}",
|
|
7
|
+
"./pages/**/*.{js,ts,jsx,tsx}",
|
|
8
|
+
"./components/**/*/.{js,ts,jsx,tsx}",
|
|
9
|
+
"./stories/**/*.{js,ts,jsx,tsx}",
|
|
10
|
+
"./.storybook/*.{js,ts,jsx,tsx}"
|
|
11
|
+
],
|
|
12
|
+
safelist: [
|
|
13
|
+
"text-xs",
|
|
14
|
+
"text-sm",
|
|
15
|
+
"text-base",
|
|
16
|
+
"text-lg",
|
|
17
|
+
"text-xl",
|
|
18
|
+
"text-2xl",
|
|
19
|
+
"text-3xl",
|
|
20
|
+
"text-4xl",
|
|
21
|
+
"text-5xl",
|
|
22
|
+
"text-6xl",
|
|
23
|
+
"font-thin",
|
|
24
|
+
"font-extralight",
|
|
25
|
+
"font-light",
|
|
26
|
+
"font-normal",
|
|
27
|
+
"font-medium",
|
|
28
|
+
"font-semibold",
|
|
29
|
+
"font-bold",
|
|
30
|
+
"font-extrabold",
|
|
31
|
+
"font-black",
|
|
32
|
+
{
|
|
33
|
+
pattern:
|
|
34
|
+
/^(bg|text|border(-(t|r|b|l))?)-((gray)|(red)|(orange)|(yellow)|(blue)|(light-blue)|(cyan)|(green)|(purple)|(teal)|(violet)|(pink)|(rose))-(50|100|200|300|400|500|600|700|800|900)|(mx|my|m|px|py|p)-\d.$/
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
theme: {
|
|
23
38
|
extend: {
|
|
24
|
-
flex: {
|
|
25
|
-
"unset!": "unset !important"
|
|
26
|
-
},
|
|
27
|
-
boxShadow: {
|
|
28
|
-
"actions-bar": "0px 2px 4px rgba(0, 0, 0, 0.06)"
|
|
29
|
-
},
|
|
30
39
|
fontFamily: {
|
|
31
|
-
sans: ["TTInterphasesPro", "
|
|
40
|
+
sans: ["TTInterphasesPro", "sans-serif"]
|
|
32
41
|
},
|
|
33
|
-
|
|
42
|
+
backgroundImage: (theme) => ({
|
|
43
|
+
"label-gradient-focus": "linear-gradient(to top, #FFF 10px, transparent 10px)",
|
|
44
|
+
"label-gradient-idle": "linear-gradient(to top, #FFF 10px, transparent 10px)"
|
|
45
|
+
}),
|
|
34
46
|
gridTemplateColumns: {
|
|
35
47
|
// Simple 16 column grid
|
|
36
|
-
mainContainer: "max-content 1fr 1fr"
|
|
37
|
-
diffContainer: " 0.5fr 3fr",
|
|
38
|
-
moduleCard: "min-content 1fr"
|
|
48
|
+
mainContainer: "max-content 1fr 1fr"
|
|
39
49
|
},
|
|
40
|
-
|
|
41
50
|
gridTemplateRows: {
|
|
42
51
|
// Simple 16 column grid
|
|
43
52
|
header: "max-content 1fr 1fr"
|
|
44
53
|
},
|
|
45
|
-
|
|
46
54
|
colors: {
|
|
47
55
|
"transparent-white-05": "rgba(255, 255, 255, 0.05)",
|
|
48
56
|
"transparent-white-10": "rgba(255, 255, 255, 0.1)",
|
|
@@ -209,11 +217,9 @@ module.exports = {
|
|
|
209
217
|
"rose-800": "#9F1239",
|
|
210
218
|
"rose-900": "#881337"
|
|
211
219
|
},
|
|
212
|
-
|
|
213
220
|
fontWeight: {
|
|
214
221
|
medium: 600
|
|
215
222
|
},
|
|
216
|
-
|
|
217
223
|
fontSize: {
|
|
218
224
|
xs: ["0.75rem", "1rem"],
|
|
219
225
|
sm: ["0.875rem", "1.25rem"],
|
|
@@ -229,22 +235,11 @@ module.exports = {
|
|
|
229
235
|
"8xl": ["6rem", "6rem"],
|
|
230
236
|
"9xl": ["8rem", "8rem"]
|
|
231
237
|
},
|
|
232
|
-
transitionTimingFunction: {
|
|
233
|
-
"in-expo": "cubic-bezier(0.95, 0.05, 0.795, 0.035)",
|
|
234
|
-
"out-expo": "cubic-bezier(0.19, 1, 0.22, 1)",
|
|
235
|
-
"tab-underline": "cubic-bezier(.7,0,.28,1)"
|
|
236
|
-
},
|
|
237
|
-
transitionProperty: {
|
|
238
|
-
left: "left",
|
|
239
|
-
height: "height"
|
|
240
|
-
},
|
|
241
|
-
|
|
242
238
|
animation: {
|
|
243
239
|
enter: "fadeInLeft 300ms ease-out",
|
|
244
240
|
exit: "fadeOutLeft 300ms ease-in forwards",
|
|
245
241
|
quickBounce: "quickBounce 200ms ease-out forwards",
|
|
246
|
-
fadeIn: "fadeIn 400ms ease-in-out forwards"
|
|
247
|
-
drawLine: "drawLine 1s ease-tab-underline forwards"
|
|
242
|
+
fadeIn: "fadeIn 400ms ease-in-out forwards"
|
|
248
243
|
},
|
|
249
244
|
|
|
250
245
|
keyframes: {
|
|
@@ -286,21 +281,13 @@ module.exports = {
|
|
|
286
281
|
opacity: "0",
|
|
287
282
|
transform: "translate(-2rem)"
|
|
288
283
|
}
|
|
289
|
-
},
|
|
290
|
-
drawLine: {
|
|
291
|
-
"0%": {
|
|
292
|
-
width: "0%"
|
|
293
|
-
},
|
|
294
|
-
"100%": {
|
|
295
|
-
width: "100%"
|
|
296
|
-
}
|
|
297
284
|
}
|
|
285
|
+
},
|
|
286
|
+
transitionProperty: {
|
|
287
|
+
left: "left",
|
|
288
|
+
height: "height"
|
|
298
289
|
}
|
|
299
290
|
}
|
|
300
291
|
},
|
|
301
|
-
plugins: [
|
|
302
|
-
require("@tailwindcss/forms"),
|
|
303
|
-
require("@tailwindcss/typography"),
|
|
304
|
-
require("@headlessui/tailwindcss")({ prefix: "ui" })
|
|
305
|
-
]
|
|
292
|
+
plugins: [require("@tailwindcss/forms"), require("@tailwindcss/typography"), require("@headlessui/tailwindcss")]
|
|
306
293
|
}
|