@lerx/promise-modal 0.4.1 → 0.4.2
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.
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
export type Nullish
|
|
1
|
+
export type Nullish = null | undefined;
|
|
2
|
+
|
|
3
|
+
export type Nullable<T> = T | null;
|
|
4
|
+
|
|
5
|
+
export type Optional<T> = T | undefined;
|
|
2
6
|
|
|
3
7
|
/** Extract keys K from T and make them required */
|
|
4
8
|
export type PickRequired<T, K extends keyof T> = Required<Pick<T, K>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lerx/promise-modal",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Universal React modal utility that can be used outside React components with promise-based results for alert, confirm, and prompt modals",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -58,16 +58,15 @@
|
|
|
58
58
|
"size-limit": "size-limit",
|
|
59
59
|
"start": "yarn build && yarn storybook",
|
|
60
60
|
"storybook": "storybook dev -p 6006",
|
|
61
|
-
"storybook:upgrade": "npx storybook@latest upgrade --yes",
|
|
62
61
|
"test": "yarn build:chain && vitest",
|
|
63
62
|
"version:major": "yarn version major",
|
|
64
63
|
"version:minor": "yarn version minor",
|
|
65
64
|
"version:patch": "yarn version patch"
|
|
66
65
|
},
|
|
67
66
|
"dependencies": {
|
|
68
|
-
"@winglet/common-utils": "^0.4.
|
|
69
|
-
"@winglet/react-utils": "^0.4.
|
|
70
|
-
"@winglet/style-utils": "^0.4.
|
|
67
|
+
"@winglet/common-utils": "^0.4.4",
|
|
68
|
+
"@winglet/react-utils": "^0.4.2",
|
|
69
|
+
"@winglet/style-utils": "^0.4.2"
|
|
71
70
|
},
|
|
72
71
|
"devDependencies": {
|
|
73
72
|
"@types/react": "^19.0.0",
|