@styleframe/core 2.5.0 → 2.6.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.
- package/CHANGELOG.md +14 -0
- package/dist/styleframe.d.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @styleframe/core
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
- **Breaking:** Renamed import query parameter from `?recipe` to `?ts` for styleframe files
|
|
9
|
+
- Add support for exporting named selectors alongside recipes via `?ts` imports
|
|
10
|
+
- Add `_exportName` property to `Selector` and `Recipe` types for tracking named exports
|
|
11
|
+
- Replace `c12` with `chokidar` + `jiti` for simpler, more reliable config loading
|
|
12
|
+
- Add `onError` callback to `watchConfiguration` for error reporting during file watch
|
|
13
|
+
- Add file deletion detection with `unlink` handler in watch mode
|
|
14
|
+
- Simplify `loadConfiguration` API by merging `loadConfigurationFromPath`
|
|
15
|
+
- Add comprehensive unit tests for TypeScript selector consumer
|
|
16
|
+
|
|
3
17
|
## 2.5.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/styleframe.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ export declare type Recipe<Name extends string = string, Variants extends Varian
|
|
|
390
390
|
css: VariantDeclarationsBlock;
|
|
391
391
|
}>;
|
|
392
392
|
_runtime?: RecipeRuntime<Variants>;
|
|
393
|
+
_exportName?: string;
|
|
393
394
|
};
|
|
394
395
|
|
|
395
396
|
export declare type RecipeRuntime<Variants extends VariantsBase = VariantsBase> = {
|
|
@@ -447,6 +448,7 @@ export declare type Selector = {
|
|
|
447
448
|
declarations: DeclarationsBlock;
|
|
448
449
|
variables: Variable[];
|
|
449
450
|
children: ContainerChild[];
|
|
451
|
+
_exportName?: string;
|
|
450
452
|
};
|
|
451
453
|
|
|
452
454
|
export declare interface Styleframe {
|