styleframe 2.3.0 → 2.4.0

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 (2) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # styleframe
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#72](https://github.com/styleframe-dev/styleframe/pull/72) [`d98b650`](https://github.com/styleframe-dev/styleframe/commit/d98b65030170582ceacfabde3ba9ff7d92105389) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add support for .styleframe file imports
8
+
9
+ - [#75](https://github.com/styleframe-dev/styleframe/pull/75) [`72bb1f6`](https://github.com/styleframe-dev/styleframe/commit/72bb1f64aae1531496c5e7398c4bd3c11f5433f9) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add Tailwind-style utility functions
10
+
11
+ Add `createUseUtility` factory function and 15 utility categories (accessibility, backgrounds, borders, effects, filters, flexbox-grid, interactivity, layout, sizing, spacing, svg, tables, transforms, transitions-animation, typography) for generating composable CSS utility classes.
12
+
13
+ ### Patch Changes
14
+
15
+ - [#80](https://github.com/styleframe-dev/styleframe/pull/80) [`ff1a689`](https://github.com/styleframe-dev/styleframe/commit/ff1a689f36dc4294b2a7353949c6efd220451e9d) Thanks [@alexgrozav](https://github.com/alexgrozav)! - fix: Expand CSS selector escaping for arbitrary values
16
+
17
+ Consolidate escape logic into a single regex and extend escaping to cover additional special characters (#, (, ), %, ,) needed for arbitrary CSS value syntax like `[#1E3A8A]`, `[rgb(255,0,0)]`, and `[calc(100%-20px)]`.
18
+
19
+ - [#76](https://github.com/styleframe-dev/styleframe/pull/76) [`06afe2a`](https://github.com/styleframe-dev/styleframe/commit/06afe2af66c3ecd8c6a516336e594c1e8cb56de1) Thanks [@alexgrozav](https://github.com/alexgrozav)! - feat: add useUtilities function for registering all utility factories
20
+
21
+ Introduces `useUtilities()` that registers all ~180 utility composables with a Styleframe instance and returns their creator functions. This enables automatic utility class generation for recipe declarations.
22
+
23
+ Updated recipe documentation examples to use `useUtilities()` with destructured functions and demonstrate both `ref()` and `@variable.name` syntax for referencing design tokens.
24
+
25
+ - Updated dependencies [[`ff1a689`](https://github.com/styleframe-dev/styleframe/commit/ff1a689f36dc4294b2a7353949c6efd220451e9d), [`d98b650`](https://github.com/styleframe-dev/styleframe/commit/d98b65030170582ceacfabde3ba9ff7d92105389)]:
26
+ - @styleframe/transpiler@2.5.0
27
+ - @styleframe/plugin@2.3.0
28
+ - @styleframe/loader@2.3.0
29
+ - @styleframe/core@2.5.0
30
+
3
31
  ## 2.3.0
4
32
 
5
33
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styleframe",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "bin": {
5
5
  "styleframe": "./dist/cli.cjs"
6
6
  },
@@ -85,18 +85,18 @@
85
85
  },
86
86
  "peerDependencies": {
87
87
  "@styleframe/cli": "^2.3.0",
88
- "@styleframe/plugin": "^2.2.0",
89
- "@styleframe/core": "^2.4.0",
90
- "@styleframe/loader": "^2.2.0",
91
- "@styleframe/transpiler": "^2.4.0"
88
+ "@styleframe/plugin": "^2.3.0",
89
+ "@styleframe/core": "^2.5.0",
90
+ "@styleframe/loader": "^2.3.0",
91
+ "@styleframe/transpiler": "^2.5.0"
92
92
  },
93
93
  "devDependencies": {
94
94
  "@styleframe/config-typescript": "^2",
95
95
  "@styleframe/cli": "^2.3.0",
96
- "@styleframe/plugin": "^2.2.0",
97
- "@styleframe/core": "^2.4.0",
98
- "@styleframe/loader": "^2.2.0",
99
- "@styleframe/transpiler": "^2.4.0",
96
+ "@styleframe/plugin": "^2.3.0",
97
+ "@styleframe/core": "^2.5.0",
98
+ "@styleframe/loader": "^2.3.0",
99
+ "@styleframe/transpiler": "^2.5.0",
100
100
  "@types/node": "^22.15.17",
101
101
  "@vitest/coverage-v8": "^3.2.4",
102
102
  "bumpp": "^10.1.0",