From 530f56207acff1ee944621889b583c5da125b38e Mon Sep 17 00:00:00 2001 From: "fanky.eu" <jakub.webisti@gmail.com> Date: Fri, 26 Mar 2021 09:58:43 +0100 Subject: [PATCH] Updated Tailwind to 2.0.4, gulp-postcss and tailwindcss-elevation --- package.json | 6 +++--- source/css/atoms/form-field.pcss | 2 +- source/css/atoms/list.pcss | 2 +- source/css/molecules/candidate-table-row.pcss | 2 +- source/css/molecules/chips.pcss | 2 +- source/css/organisms/candidate-card-list.pcss | 2 +- source/css/organisms/navbar.pcss | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 2392ff7..3b7d3b3 100755 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "patternlab-node": "^2.12.0", "styleguidekit-assets-default": "^3.0.0", "styleguidekit-mustache-default": "^3.0.0", - "tailwindcss-elevation": "^0.3.4", + "tailwindcss-elevation": "^1.0.1", "vue": "^2.6.11", "vue2-flip-countdown": "^0.10.0" }, @@ -56,7 +56,7 @@ "color": "^3.1.2", "gulp-add-src": "^1.0.0", "gulp-concat": "^2.6.1", - "gulp-postcss": "^8.0.0", + "gulp-postcss": "^9.0.0", "gulp-rename": "^2.0.0", "lodash": "^4.17.15", "postcss-assets": "^5.0.0", @@ -69,7 +69,7 @@ "rollup-plugin-terser": "^6.1.0", "rollup-plugin-vue": "^5.1.9", "tailwind-css-variables": "^2.0.3", - "tailwindcss": "^1.4.6", + "tailwindcss": "^2.0.4", "tailwindcss-typography": "^3.1.0", "vinyl-buffer": "^1.0.1", "vinyl-source-stream": "^2.0.0", diff --git a/source/css/atoms/form-field.pcss b/source/css/atoms/form-field.pcss index 7da6e0f..90c39b4 100644 --- a/source/css/atoms/form-field.pcss +++ b/source/css/atoms/form-field.pcss @@ -1,5 +1,5 @@ .text-input-addon { - @apply flex items-center bg-grey-125 text-grey-300 font-normal py-3 px-4 text-lg whitespace-no-wrap border border-grey-200 transition duration-200; + @apply flex items-center bg-grey-125 text-grey-300 font-normal py-3 px-4 text-lg whitespace-nowrap border border-grey-200 transition duration-200; } .text-input { diff --git a/source/css/atoms/list.pcss b/source/css/atoms/list.pcss index ca9147f..540aa25 100644 --- a/source/css/atoms/list.pcss +++ b/source/css/atoms/list.pcss @@ -46,7 +46,7 @@ .unordered-list--dense, .content-block ul { - @apply row-gap-0; + @apply gap-y-0; } .unordered-list--linked, diff --git a/source/css/molecules/candidate-table-row.pcss b/source/css/molecules/candidate-table-row.pcss index 35ed99e..540a464 100644 --- a/source/css/molecules/candidate-table-row.pcss +++ b/source/css/molecules/candidate-table-row.pcss @@ -44,7 +44,7 @@ } .candidate-table-row__affiliation { - @apply flex items-center justify-start whitespace-no-wrap py-1 pl-6 pr-4; + @apply flex items-center justify-start whitespace-nowrap py-1 pl-6 pr-4; grid-area: affiliation; } diff --git a/source/css/molecules/chips.pcss b/source/css/molecules/chips.pcss index d9c379c..9eb68c7 100644 --- a/source/css/molecules/chips.pcss +++ b/source/css/molecules/chips.pcss @@ -4,7 +4,7 @@ py-2 px-3 text-xs font-bold leading-none tracking-normal - whitespace-no-wrap; + whitespace-nowrap; } .chip--condensed { diff --git a/source/css/organisms/candidate-card-list.pcss b/source/css/organisms/candidate-card-list.pcss index 3b189c1..2b3920a 100644 --- a/source/css/organisms/candidate-card-list.pcss +++ b/source/css/organisms/candidate-card-list.pcss @@ -1,5 +1,5 @@ .candidate-card-list { - @apply grid grid-flow-row gap-0 row-gap-4; + @apply grid grid-flow-row gap-0 gap-y-4; } @responsive { diff --git a/source/css/organisms/navbar.pcss b/source/css/organisms/navbar.pcss index ccfaec2..a00a3ac 100644 --- a/source/css/organisms/navbar.pcss +++ b/source/css/organisms/navbar.pcss @@ -59,7 +59,7 @@ } .navbar-menu__submenu .navbar-menu__link { - @apply text-lg text-grey-200 font-body normal-case leading-normal pl-4 whitespace-no-wrap; + @apply text-lg text-grey-200 font-body normal-case leading-normal pl-4 whitespace-nowrap; } .navbar-menu__link, -- GitLab