Skip to content

Commit 657002e

Browse files
authored
Merge pull request #12 from grlt-hub/3.0.2
3.0.2
2 parents 5ceb7ea + 5778153 commit 657002e

File tree

7 files changed

+199
-89
lines changed

7 files changed

+199
-89
lines changed

CHANGELOG.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
1-
# Change Log
1+
# Changelog
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](http://semver.org).
55

6-
## 3.0.1
6+
## v3.1.0
7+
8+
### Added
9+
10+
- Now `when` supports any `Unit` from Effector. (#11)
11+
12+
### Changed
13+
14+
- `Component` return type from `React.JSX.Element` to `React.ReactNode`. (#10)
15+
16+
Big thanks to @TheCoffeeFox for spotting the type improvements!
17+
18+
## v3.0.1
719

820
### Fixed
921

package-lock.json

Lines changed: 83 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grlt-hub/react-slots",
3-
"version": "3.0.1",
3+
"version": "3.1.0",
44
"type": "module",
55
"private": false,
66
"main": "dist/index.js",
@@ -10,10 +10,11 @@
1010
"author": "Viktor Pasynok",
1111
"license": "MIT",
1212
"devDependencies": {
13-
"@rslib/core": "0.17.0",
13+
"@rslib/core": "0.17.1",
1414
"@size-limit/preset-small-lib": "11.2.0",
1515
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
1616
"clean-publish": "6.0.1",
17+
"patronum": "2.3.0",
1718
"prettier": "3.6.2",
1819
"prettier-plugin-organize-imports": "4.3.0",
1920
"size-limit": "11.2.0",

sandbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createSlotIdentifier, createSlots } from './src';
44

55
const { slotsApi } = createSlots({
66
ConfirmScreenBottom: createSlotIdentifier<{ id: number }>(),
7-
} as const);
7+
});
88

99
const appGate = createGate<number>();
1010

0 commit comments

Comments
 (0)