@mastors/gridder 1.2.2 → 1.2.4

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.
Files changed (3) hide show
  1. package/README.md +27 -2
  2. package/_index.scss +8 -0
  3. package/package.json +8 -4
package/README.md CHANGED
@@ -72,7 +72,10 @@ Or import only the SCSS source to compile yourself:
72
72
 
73
73
  ```json
74
74
  {
75
- ".": "./dist/mastors-gridder.css",
75
+ ".": {
76
+ "sass": "./scss/index.scss",
77
+ "style": "./dist/mastors-gridder.css"
78
+ },
76
79
  "./scss": "./scss/index.scss",
77
80
  "./scss/*": "./scss/*"
78
81
  }
@@ -208,7 +211,29 @@ Breakpoints: `sm:` `md:` `lg:` `xl:` `2xl:`
208
211
 
209
212
  ## Changelog
210
213
 
211
- See the [root CHANGELOG](../../README.md#changelog).
214
+ ### 1.2.4
215
+
216
+ - Added `"sass"` export condition to `exports["."]` — bundlers now resolve the SCSS entry point automatically
217
+ - Added root-level `_index.scss` forwarding `scss/index` — enables `@use "@mastors/gridder"` via Sass `loadPaths: ['node_modules']` with no custom importer required
218
+ - Added `_index.scss` to `"files"` so the entry point is included in published packages
219
+
220
+ ### 1.2.3
221
+
222
+ - Patch release — dependency and tooling updates
223
+
224
+ ### 1.2.0
225
+
226
+ - Added `gridder($area, ...)` mixin — named `grid-area` placement with optional `align-self` / `justify-self` overrides
227
+ - Added `gridder-areas($rows...)` mixin — declare `grid-template-areas` from a variadic list of quoted row strings
228
+ - Updated dependency: `@mastors/core@1.2.0`
229
+
230
+ ### 1.1.0
231
+
232
+ - Updated dependencies: `@mastors/core@1.1.0`
233
+
234
+ ### 1.0.0
235
+
236
+ - Initial release
212
237
 
213
238
  ## License
214
239
 
package/_index.scss ADDED
@@ -0,0 +1,8 @@
1
+ // @mastors/gridder — _index.scss
2
+ // ─────────────────────────────────────────────────────────────
3
+ // Root-level Sass entry point.
4
+ // Allows consumers to @use "@mastors/gridder" directly without
5
+ // any bundler alias or custom importer — works via loadPaths.
6
+ // ─────────────────────────────────────────────────────────────
7
+
8
+ @forward "scss/index";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastors/gridder",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Mastors Gridder — complete CSS Grid utility class system",
5
5
  "license": "MIT",
6
6
  "author": "Mastors Contributors",
@@ -22,11 +22,15 @@
22
22
  "sass": "./scss/index.scss",
23
23
  "style": "./dist/mastors-gridder.css",
24
24
  "exports": {
25
- ".": "./dist/mastors-gridder.css",
25
+ ".": {
26
+ "sass": "./scss/index.scss",
27
+ "style": "./dist/mastors-gridder.css"
28
+ },
26
29
  "./scss": "./scss/index.scss",
27
30
  "./scss/*": "./scss/*"
28
31
  },
29
32
  "files": [
33
+ "_index.scss",
30
34
  "dist",
31
35
  "scss",
32
36
  "README.md"
@@ -34,8 +38,8 @@
34
38
  "devDependencies": {
35
39
  "rimraf": "^5.0.0",
36
40
  "sass": "^1.80.0",
37
- "@mastors/build-utils": "2.0.0",
38
- "@mastors/sass-config": "1.0.1"
41
+ "@mastors/sass-config": "1.0.1",
42
+ "@mastors/build-utils": "2.0.0"
39
43
  },
40
44
  "peerDependencies": {
41
45
  "@mastors/core": ">=1.0.0",