react-motion-modal 1.3.0 → 1.3.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +6 -5
package/dist/index.js CHANGED
@@ -5363,7 +5363,7 @@ const yh = {
5363
5363
  ...rh,
5364
5364
  ...vh
5365
5365
  }, mi = /* @__PURE__ */ Fu(Th, ju), xh = ({ data: t, modals: e, index: n, initialParams: s }) => {
5366
- const i = e[t.name], r = t.params ?? s, o = r?.animate ?? s?.animate, a = r?.blur ?? s?.blur ?? !0, u = r?.onClose ?? s?.onClose, c = r?.backdrop ?? s?.backdrop, l = r?.body ?? s?.body, h = r?.position ?? s?.position ?? E.CENTER, f = r?.closeOnClickOutside ?? s?.closeOnClickOutside, d = o ? void 0 : Ti(h), p = ae((m) => m.active), g = ae((m) => m.closeModal);
5366
+ const i = e[t.name], r = t.params ?? s, o = r?.animate ?? s?.animate, a = r?.blur ?? s?.blur ?? !0, u = r?.onClose ?? s?.onClose, c = r?.backdrop ?? s?.backdrop, l = r?.body ?? s?.body, h = r?.position ?? s?.position ?? E.CENTER, f = r?.closeOnClickOutside ?? s?.closeOnClickOutside ?? !0, d = o ? void 0 : Ti(h), p = ae((m) => m.active), g = ae((m) => m.closeModal);
5367
5367
  return /* @__PURE__ */ gi(
5368
5368
  mi.div,
5369
5369
  {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "react-motion-modal",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
9
  "author": "Ngô Văn Sơn",
10
- "homepage": "https://github.com/sonnv1912/react-motion-modal",
10
+ "homepage": "https://sonnv1912.github.io/react-motion-modal/",
11
11
  "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610",
12
12
  "files": [
13
13
  "dist"
@@ -46,12 +46,13 @@
46
46
  "dev": "vite",
47
47
  "build": "tsc -b && vite build",
48
48
  "ci": "yarn build",
49
+ "check-types": "tsc -b --pretty false",
49
50
  "lint": "biome lint .",
50
51
  "format": "biome format --write .",
51
52
  "preview": "vite preview",
52
- "bump:patch": "npm version patch",
53
- "bump:minor": "npm version minor",
54
- "bump:major": "npm version major",
53
+ "bump:patch": "yarn version --patch --no-git-tag-version",
54
+ "bump:minor": "yarn version --minor --no-git-tag-version",
55
+ "bump:major": "yarn version --major --no-git-tag-version",
55
56
  "release:check": "yarn build && npm pack --dry-run"
56
57
  },
57
58
  "dependencies": {},