diff --git a/changelog.md b/changelog.md index 27e2560..597b075 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.4] - 2024-03-06 + +### Fixed + +- Make sure the `GridLayout` and `GridGap` plugins are working with prefix. + ## [4.0.3] - 2024-03-05 ### Changed diff --git a/docs/GridLine.html b/docs/GridLine.html index 67511dd..e48ff1f 100644 --- a/docs/GridLine.html +++ b/docs/GridLine.html @@ -510,11 +510,11 @@

Responsive

document.html
<div class="
-  grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 
-  gap-x-gutter 
-  gap-y-48 md:gap-y-64 grid-line-x-24 md:grid-line-x-32 xl:grid-line-x-32 
-  grid-line-xfull grid-line-x-primary 
-  grid-line-y-0 md:grid-line-y md:grid-line-y-primary md:grid-line-x-tertiary 
+  grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4
+  gap-x-gutter
+  gap-y-48 md:gap-y-64 grid-line-x-24 md:grid-line-x-32 xl:grid-line-x-32
+  grid-line-xfull grid-line-x-primary
+  grid-line-y-0 md:grid-line-y md:grid-line-y-primary md:grid-line-x-tertiary
   lg:grid-line-y-secondary lg:grid-line-x-0
   xl:grid-line-x xl:grid-line-x-primary">
diff --git a/package.json b/package.json index afdad99..e5c7372 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@area17/a17-tailwind-plugins", - "version": "4.0.3", + "version": "4.0.4", "author": "A17 (https://area17.com/)", "description": "A collection of Tailwind plugins to help build responsive design systems in collaboration with A17 design and development build methodologies", "main": "index.js", diff --git a/src/GridGap/index.js b/src/GridGap/index.js index cfe33db..1d30fcf 100644 --- a/src/GridGap/index.js +++ b/src/GridGap/index.js @@ -18,5 +18,7 @@ module.exports = function ({ addBase, prefix }) { }, }; - addBase(styles); + addBase(styles, { + respectPrefix: false, + }); }; diff --git a/src/GridLayout/index.js b/src/GridLayout/index.js index c74a9dd..be64cf9 100644 --- a/src/GridLayout/index.js +++ b/src/GridLayout/index.js @@ -31,5 +31,7 @@ module.exports = function ({ addComponents, theme, prefix }) { }; } - addComponents(styles); + addComponents(styles, { + respectPrefix: false, + }); };