@styleframe/loader 2.3.0 → 2.4.1
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.
- package/CHANGELOG.md +29 -0
- package/dist/index.cjs +317 -246
- package/dist/index.d.ts +11 -8
- package/dist/index.js +318 -245
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @styleframe/loader
|
|
2
2
|
|
|
3
|
+
## 2.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#113](https://github.com/styleframe-dev/styleframe/pull/113) [`b73095f`](https://github.com/styleframe-dev/styleframe/commit/b73095f114ef41158ab552e2784500215393b294) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Improve color previews and HMR handling
|
|
8
|
+
- Fix caching configuration in loader to use fsCache and moduleCache options
|
|
9
|
+
- Add HMR refetch handling for .styleframe.css virtual imports
|
|
10
|
+
- Update SwatchCard styling with proper footer alignment and better contrast
|
|
11
|
+
|
|
12
|
+
## 2.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#96](https://github.com/styleframe-dev/styleframe/pull/96) [`8460f16`](https://github.com/styleframe-dev/styleframe/commit/8460f169cec1199810e9203b357dac9f2f128c56) Thanks [@alexgrozav](https://github.com/alexgrozav)! - Rename `?recipe` imports to `?ts` and add named selector export support
|
|
17
|
+
- **Breaking:** Renamed import query parameter from `?recipe` to `?ts` for styleframe files
|
|
18
|
+
- Add support for exporting named selectors alongside recipes via `?ts` imports
|
|
19
|
+
- Add `_exportName` property to `Selector` and `Recipe` types for tracking named exports
|
|
20
|
+
- Replace `c12` with `chokidar` + `jiti` for simpler, more reliable config loading
|
|
21
|
+
- Add `onError` callback to `watchConfiguration` for error reporting during file watch
|
|
22
|
+
- Add file deletion detection with `unlink` handler in watch mode
|
|
23
|
+
- Simplify `loadConfiguration` API by merging `loadConfigurationFromPath`
|
|
24
|
+
- Add comprehensive unit tests for TypeScript selector consumer
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`8460f16`](https://github.com/styleframe-dev/styleframe/commit/8460f169cec1199810e9203b357dac9f2f128c56)]:
|
|
29
|
+
- @styleframe/transpiler@2.6.0
|
|
30
|
+
- @styleframe/core@2.6.0
|
|
31
|
+
|
|
3
32
|
## 2.3.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|