chore: update vue dependencies and upgrade tailwind config to 1.2

This commit is contained in:
Valentin Kaelin 2020-02-14 22:54:58 +01:00
parent 1e78548fcf
commit 5cefa56a48
3 changed files with 2236 additions and 1449 deletions

3441
client/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,21 +8,21 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"axios": "^0.19.0-beta.1", "axios": "^0.19.2",
"vue": "^2.6.6", "vue": "^2.6.11",
"vue-content-loader": "^0.2.2", "vue-content-loader": "^0.2.2",
"vue-router": "^3.0.6", "vue-router": "^3.1.5",
"vuex": "^3.1.1" "vuex": "^3.1.2"
}, },
"devDependencies": { "devDependencies": {
"@fullhuman/postcss-purgecss": "^1.3.0", "@fullhuman/postcss-purgecss": "^1.3.0",
"@vue/cli-plugin-babel": "^3.8.0", "@vue/cli-plugin-babel": "^3.12.1",
"@vue/cli-plugin-eslint": "^3.8.0", "@vue/cli-plugin-eslint": "^3.12.1",
"@vue/cli-service": "^3.8.4", "@vue/cli-service": "^3.12.1",
"babel-eslint": "^10.0.2", "babel-eslint": "^10.0.3",
"eslint": "^5.16.0", "eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0", "eslint-plugin-vue": "^5.2.3",
"tailwindcss": "^1.0.4", "tailwindcss": "^1.2.0",
"vue-template-compiler": "^2.5.21" "vue-template-compiler": "^2.6.11"
} }
} }

View file

@ -180,7 +180,7 @@ module.exports = {
none: '0', none: '0',
sm: '0.125rem', sm: '0.125rem',
default: '0.25rem', default: '0.25rem',
md: '.375rem', md: '0.375rem',
lg: '0.5rem', lg: '0.5rem',
full: '9999px', full: '9999px',
}, },
@ -193,6 +193,8 @@ module.exports = {
'8': '8px', '8': '8px',
}, },
boxShadow: { boxShadow: {
xs: '0 0 0 1px rgba(0, 0, 0, 0.05)',
sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)', default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)', md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)', lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
@ -311,6 +313,14 @@ module.exports = {
normal: '1.5', normal: '1.5',
relaxed: '1.625', relaxed: '1.625',
loose: '2', loose: '2',
'3': '.75rem',
'4': '1rem',
'5': '1.25rem',
'6': '1.5rem',
'7': '1.75rem',
'8': '2rem',
'9': '2.25rem',
'10': '2.5rem',
}, },
listStyleType: { listStyleType: {
none: 'none', none: 'none',
@ -326,7 +336,8 @@ module.exports = {
full: '100%', full: '100%',
screen: '100vh', screen: '100vh',
}, },
maxWidth: { maxWidth: (theme, { breakpoints }) => ({
none: 'none',
'12': '3rem', '12': '3rem',
xs: '20rem', xs: '20rem',
sm: '24rem', sm: '24rem',
@ -339,7 +350,8 @@ module.exports = {
'5xl': '64rem', '5xl': '64rem',
'6xl': '72rem', '6xl': '72rem',
full: '100%', full: '100%',
}, ...breakpoints(theme('screens')),
}),
minHeight: { minHeight: {
'0': '0', '0': '0',
full: '100%', full: '100%',
@ -389,6 +401,11 @@ module.exports = {
stroke: { stroke: {
current: 'currentColor', current: 'currentColor',
}, },
strokeWidth: {
'0': '0',
'1': '1',
'2': '2',
},
textColor: theme => theme('colors'), textColor: theme => theme('colors'),
width: theme => ({ width: theme => ({
auto: 'auto', auto: 'auto',
@ -432,6 +449,181 @@ module.exports = {
'40': '40', '40': '40',
'50': '50', '50': '50',
}, },
gap: theme => theme('spacing'),
gridTemplateColumns: {
none: 'none',
'1': 'repeat(1, minmax(0, 1fr))',
'2': 'repeat(2, minmax(0, 1fr))',
'3': 'repeat(3, minmax(0, 1fr))',
'4': 'repeat(4, minmax(0, 1fr))',
'5': 'repeat(5, minmax(0, 1fr))',
'6': 'repeat(6, minmax(0, 1fr))',
'7': 'repeat(7, minmax(0, 1fr))',
'8': 'repeat(8, minmax(0, 1fr))',
'9': 'repeat(9, minmax(0, 1fr))',
'10': 'repeat(10, minmax(0, 1fr))',
'11': 'repeat(11, minmax(0, 1fr))',
'12': 'repeat(12, minmax(0, 1fr))',
},
gridColumn: {
auto: 'auto',
'span-1': 'span 1 / span 1',
'span-2': 'span 2 / span 2',
'span-3': 'span 3 / span 3',
'span-4': 'span 4 / span 4',
'span-5': 'span 5 / span 5',
'span-6': 'span 6 / span 6',
'span-7': 'span 7 / span 7',
'span-8': 'span 8 / span 8',
'span-9': 'span 9 / span 9',
'span-10': 'span 10 / span 10',
'span-11': 'span 11 / span 11',
'span-12': 'span 12 / span 12',
},
gridColumnStart: {
auto: 'auto',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
'8': '8',
'9': '9',
'10': '10',
'11': '11',
'12': '12',
'13': '13',
},
gridColumnEnd: {
auto: 'auto',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
'8': '8',
'9': '9',
'10': '10',
'11': '11',
'12': '12',
'13': '13',
},
gridTemplateRows: {
none: 'none',
'1': 'repeat(1, minmax(0, 1fr))',
'2': 'repeat(2, minmax(0, 1fr))',
'3': 'repeat(3, minmax(0, 1fr))',
'4': 'repeat(4, minmax(0, 1fr))',
'5': 'repeat(5, minmax(0, 1fr))',
'6': 'repeat(6, minmax(0, 1fr))',
},
gridRow: {
auto: 'auto',
'span-1': 'span 1 / span 1',
'span-2': 'span 2 / span 2',
'span-3': 'span 3 / span 3',
'span-4': 'span 4 / span 4',
'span-5': 'span 5 / span 5',
'span-6': 'span 6 / span 6',
},
gridRowStart: {
auto: 'auto',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
},
gridRowEnd: {
auto: 'auto',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
},
transformOrigin: {
center: 'center',
top: 'top',
'top-right': 'top right',
right: 'right',
'bottom-right': 'bottom right',
bottom: 'bottom',
'bottom-left': 'bottom left',
left: 'left',
'top-left': 'top left',
},
scale: {
'0': '0',
'50': '.5',
'75': '.75',
'90': '.9',
'95': '.95',
'100': '1',
'105': '1.05',
'110': '1.1',
'125': '1.25',
'150': '1.5',
},
rotate: {
'-180': '-180deg',
'-90': '-90deg',
'-45': '-45deg',
'0': '0',
'45': '45deg',
'90': '90deg',
'180': '180deg',
},
translate: (theme, { negative }) => ({
...theme('spacing'),
...negative(theme('spacing')),
'-full': '-100%',
'-1/2': '-50%',
'1/2': '50%',
full: '100%',
}),
skew: {
'-12': '-12deg',
'-6': '-6deg',
'-3': '-3deg',
'0': '0',
'3': '3deg',
'6': '6deg',
'12': '12deg',
},
transitionProperty: {
none: 'none',
all: 'all',
default: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform',
colors: 'background-color, border-color, color, fill, stroke',
opacity: 'opacity',
shadow: 'box-shadow',
transform: 'transform',
},
transitionTimingFunction: {
linear: 'linear',
in: 'cubic-bezier(0.4, 0, 1, 1)',
out: 'cubic-bezier(0, 0, 0.2, 1)',
'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
},
transitionDuration: {
'75': '75ms',
'100': '100ms',
'150': '150ms',
'200': '200ms',
'300': '300ms',
'500': '500ms',
'700': '700ms',
'1000': '1000ms',
},
}, },
variants: { variants: {
accessibility: ['responsive', 'focus'], accessibility: ['responsive', 'focus'],
@ -450,6 +642,7 @@ module.exports = {
borderStyle: ['responsive'], borderStyle: ['responsive'],
borderWidth: ['responsive'], borderWidth: ['responsive'],
boxShadow: ['responsive', 'hover', 'focus'], boxShadow: ['responsive', 'hover', 'focus'],
boxSizing: ['responsive'],
cursor: ['responsive'], cursor: ['responsive'],
display: ['responsive'], display: ['responsive'],
fill: ['responsive'], fill: ['responsive'],
@ -459,6 +652,7 @@ module.exports = {
flexShrink: ['responsive'], flexShrink: ['responsive'],
flexWrap: ['responsive'], flexWrap: ['responsive'],
float: ['responsive'], float: ['responsive'],
clear: ['responsive'],
fontFamily: ['responsive'], fontFamily: ['responsive'],
fontSize: ['responsive'], fontSize: ['responsive'],
fontSmoothing: ['responsive'], fontSmoothing: ['responsive'],
@ -488,6 +682,7 @@ module.exports = {
position: ['responsive'], position: ['responsive'],
resize: ['responsive'], resize: ['responsive'],
stroke: ['responsive'], stroke: ['responsive'],
strokeWidth: ['responsive'],
tableLayout: ['responsive'], tableLayout: ['responsive'],
textAlign: ['responsive'], textAlign: ['responsive'],
textColor: ['responsive', 'hover', 'focus', 'group-hover'], textColor: ['responsive', 'hover', 'focus', 'group-hover'],
@ -500,7 +695,26 @@ module.exports = {
width: ['responsive'], width: ['responsive'],
wordBreak: ['responsive'], wordBreak: ['responsive'],
zIndex: ['responsive'], zIndex: ['responsive'],
gap: ['responsive'],
gridAutoFlow: ['responsive'],
gridTemplateColumns: ['responsive'],
gridColumn: ['responsive'],
gridColumnStart: ['responsive'],
gridColumnEnd: ['responsive'],
gridTemplateRows: ['responsive'],
gridRow: ['responsive'],
gridRowStart: ['responsive'],
gridRowEnd: ['responsive'],
transform: ['responsive'],
transformOrigin: ['responsive'],
scale: ['responsive', 'hover', 'focus'],
rotate: ['responsive', 'hover', 'focus'],
translate: ['responsive', 'hover', 'focus'],
skew: ['responsive', 'hover', 'focus'],
transitionProperty: ['responsive'],
transitionTimingFunction: ['responsive'],
transitionDuration: ['responsive'],
}, },
corePlugins: {}, corePlugins: {},
plugins: [], plugins: [],
} }