@mastors/flexer 1.2.3 → 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 +29 -2
  2. package/_index.scss +8 -0
  3. package/package.json +8 -4
package/README.md CHANGED
@@ -86,7 +86,10 @@ Or import only the SCSS source to compile yourself:
86
86
 
87
87
  ```json
88
88
  {
89
- ".": "./dist/mastors-flexer.css",
89
+ ".": {
90
+ "sass": "./scss/index.scss",
91
+ "style": "./dist/mastors-flexer.css"
92
+ },
90
93
  "./scss": "./scss/index.scss",
91
94
  "./scss/*": "./scss/*"
92
95
  }
@@ -219,7 +222,31 @@ Breakpoints: `sm:` `md:` `lg:` `xl:` `2xl:`
219
222
 
220
223
  ## Changelog
221
224
 
222
- See the [root CHANGELOG](../../README.md#changelog).
225
+ ### 1.2.4
226
+
227
+ - Added `"sass"` export condition to `exports["."]` — bundlers now resolve the SCSS entry point automatically
228
+ - Added root-level `_index.scss` forwarding `scss/index` — enables `@use "@mastors/flexer"` via Sass `loadPaths: ['node_modules']` with no custom importer required
229
+ - Added `_index.scss` to `"files"` so the entry point is included in published packages
230
+
231
+ ### 1.2.3
232
+
233
+ - Patch release — dependency and tooling updates
234
+
235
+ ### 1.2.0
236
+
237
+ - Added `flex-container()` mixin — one-call flex container configuration (direction, wrap, justify, align, gap, inline)
238
+ - Added `flex-item()` mixin — one-call flex item configuration (grow, shrink, basis, align-self, order)
239
+ - Added `flex-center()` mixin — single-line centering shorthand; also ships `flex-center-x()` and `flex-center-y()` axis variants
240
+ - Added `generate-flex-utilities()` generator — emit a complete flex utility set from a config map with per-axis opt-in and a single `responsive` flag
241
+ - Updated dependency: `@mastors/core@1.2.0`
242
+
243
+ ### 1.1.0
244
+
245
+ - Updated dependencies: `@mastors/core@1.1.0`
246
+
247
+ ### 1.0.0
248
+
249
+ - Initial release
223
250
 
224
251
  ## License
225
252
 
package/_index.scss ADDED
@@ -0,0 +1,8 @@
1
+ // @mastors/flexer — _index.scss
2
+ // ─────────────────────────────────────────────────────────────
3
+ // Root-level Sass entry point.
4
+ // Allows consumers to @use "@mastors/flexer" 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/flexer",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Mastors Flexer — complete flexbox utility class system",
5
5
  "license": "MIT",
6
6
  "author": "Mastors Contributors",
@@ -21,11 +21,15 @@
21
21
  "sass": "./scss/index.scss",
22
22
  "style": "./dist/mastors-flexer.css",
23
23
  "exports": {
24
- ".": "./dist/mastors-flexer.css",
24
+ ".": {
25
+ "sass": "./scss/index.scss",
26
+ "style": "./dist/mastors-flexer.css"
27
+ },
25
28
  "./scss": "./scss/index.scss",
26
29
  "./scss/*": "./scss/*"
27
30
  },
28
31
  "files": [
32
+ "_index.scss",
29
33
  "dist",
30
34
  "scss",
31
35
  "README.md"
@@ -33,8 +37,8 @@
33
37
  "devDependencies": {
34
38
  "rimraf": "^5.0.0",
35
39
  "sass": "^1.80.0",
36
- "@mastors/build-utils": "2.0.0",
37
- "@mastors/sass-config": "1.0.1"
40
+ "@mastors/sass-config": "1.0.1",
41
+ "@mastors/build-utils": "2.0.0"
38
42
  },
39
43
  "peerDependencies": {
40
44
  "@mastors/core": ">=1.0.0",