Skip to content

Commit

Permalink
fix: add missing usePromisifyModal().ok
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKam committed Nov 9, 2023
1 parent 728d88d commit cba8147
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 17 deletions.
8 changes: 8 additions & 0 deletions packages/antd-plus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @orca-fe/painter

## 0.3.11

### Patch Changes

- Updated dependencies
- @orca-fe/hooks@1.10.1
- @orca-fe/pocket@3.2.12

## 0.3.10

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/antd-plus/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/antd-plus",
"version": "0.3.10",
"version": "0.3.11",
"description": "Transformer Container",
"keywords": [
"react",
Expand Down Expand Up @@ -36,9 +36,9 @@
"clear": "rimraf lib es"
},
"dependencies": {
"@orca-fe/hooks": "^1.10.0",
"@orca-fe/hooks": "^1.10.1",
"@orca-fe/jss-plugin-auto-prefix": "^0.0.1",
"@orca-fe/pocket": "^3.2.11",
"@orca-fe/pocket": "^3.2.12",
"@orca-fe/simple-jss": "^0.0.3",
"@orca-fe/tools": "^0.10.0",
"ahooks": "^3.7.8",
Expand Down
6 changes: 6 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @orca-fe/hooks

## 1.10.1

### Patch Changes

- fix: add missing `usePromisifyModal().ok`

## 1.10.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/hooks",
"version": "1.10.0",
"version": "1.10.1",
"description": "React Hooks Collections",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/src/usePromisifyModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function usePromisifyModal(options: UsePromisifyModalOptions = {}
instance,
);

return { show, hide, instance: instanceWithContext, resume, minimize };
return { show, hide, instance: instanceWithContext, resume, minimize, ok };
}

export const usePromisifyDrawer = (options: UsePromisifyModalOptions = {}) =>
Expand Down
9 changes: 9 additions & 0 deletions packages/painter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @orca-fe/painter

## 1.4.46

### Patch Changes

- Updated dependencies
- @orca-fe/hooks@1.10.1
- @orca-fe/pocket@3.2.12
- @orca-fe/transformer@0.3.27

## 1.4.45

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/painter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/painter",
"version": "1.4.45",
"version": "1.4.46",
"description": "Konva Painter",
"keywords": [
"react",
Expand Down Expand Up @@ -37,17 +37,17 @@
"clear": "rimraf lib es"
},
"dependencies": {
"@orca-fe/hooks": "^1.10.0",
"@orca-fe/hooks": "^1.10.1",
"@orca-fe/jss-plugin-auto-prefix": "^0.0.1",
"@orca-fe/pocket": "^3.2.11",
"@orca-fe/pocket": "^3.2.12",
"@orca-fe/simple-jss": "^0.0.3",
"@orca-fe/tools": "^0.10.0",
"ahooks": "^3.7.8",
"classnames": "^2.3.2",
"color": "^4.2.3",
"react-colorful": "^5.6.1",
"tslib": "^2.6.0",
"@orca-fe/transformer": "^0.3.26"
"@orca-fe/transformer": "^0.3.27"
},
"peerDependencies": {
"@ant-design/icons": "^4.7.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/pdf-viewer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @orca-fe/pdf-viewer

## 1.19.10

### Patch Changes

- Updated dependencies
- @orca-fe/hooks@1.10.1
- @orca-fe/painter@1.4.46
- @orca-fe/pocket@3.2.12

## 1.19.9

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/pdf-viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/pdf-viewer",
"version": "1.19.9",
"version": "1.19.10",
"description": "PDF Viewer",
"keywords": [
"react",
Expand Down Expand Up @@ -38,11 +38,11 @@
"clear": "rimraf lib es"
},
"dependencies": {
"@orca-fe/hooks": "^1.10.0",
"@orca-fe/hooks": "^1.10.1",
"@orca-fe/jss-plugin-auto-prefix": "^0.0.1",
"@orca-fe/painter": "^1.4.45",
"@orca-fe/painter": "^1.4.46",
"@orca-fe/pdfjs-dist-browserify": "^3.8.24",
"@orca-fe/pocket": "^3.2.11",
"@orca-fe/pocket": "^3.2.12",
"@orca-fe/simple-jss": "^0.0.3",
"@orca-fe/tools": "^0.10.0",
"ahooks": "^3.7.8",
Expand Down
7 changes: 7 additions & 0 deletions packages/pocket/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @orca-fe/pocket

## 3.2.12

### Patch Changes

- Updated dependencies
- @orca-fe/hooks@1.10.1

## 3.2.11

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/pocket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/pocket",
"version": "3.2.11",
"version": "3.2.12",
"description": "UI components by orca-team",
"keywords": [
"react",
Expand Down Expand Up @@ -39,7 +39,7 @@
"clear": "rimraf lib es"
},
"dependencies": {
"@orca-fe/hooks": "^1.10.0",
"@orca-fe/hooks": "^1.10.1",
"@orca-fe/jss-plugin-auto-prefix": "^0.0.1",
"@orca-fe/tools": "^0.10.0",
"@rc-component/trigger": "^1.13.3",
Expand Down
7 changes: 7 additions & 0 deletions packages/transformer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @orca-fe/painter

## 0.3.27

### Patch Changes

- Updated dependencies
- @orca-fe/hooks@1.10.1

## 0.3.26

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orca-fe/transformer",
"version": "0.3.26",
"version": "0.3.27",
"description": "Transformer Container",
"keywords": [
"react",
Expand Down Expand Up @@ -42,7 +42,7 @@
"gl-matrix": "^3.4.3",
"prefix-classnames": "^0.0.7",
"tslib": "^2.6.0",
"@orca-fe/hooks": "^1.10.0",
"@orca-fe/hooks": "^1.10.1",
"@orca-fe/tools": "^0.10.0"
},
"peerDependencies": {
Expand Down

1 comment on commit cba8147

@vercel
Copy link

@vercel vercel bot commented on cba8147 Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.