@readerseye2/cr_viewer 1.0.19 → 1.0.22

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/dist/index.js CHANGED
@@ -3,12 +3,6 @@ var Vi = Object.defineProperty;
3
3
  var qi = (e, t, n) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var Ar = (e, t, n) => qi(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { jsx as x, jsxs as X, Fragment as yt } from "react/jsx-runtime";
6
- import "@fontsource/noto-sans-kr/400.css";
7
- import "@fontsource/noto-sans-kr/700.css";
8
- import "@fontsource/noto-serif-kr/400.css";
9
- import "@fontsource/noto-serif-kr/700.css";
10
- import "@fontsource/nanum-myeongjo/400.css";
11
- import "@fontsource/nanum-myeongjo/700.css";
12
6
  import * as dt from "react";
13
7
  import N, { createContext as Ft, useContext as Ue, useMemo as ve, useLayoutEffect as Tt, useRef as ie, useEffect as Se, useCallback as Z, createElement as hn, memo as Wt, useState as et, useId as ji } from "react";
14
8
  import Ui from "react-dom";
@@ -5056,8 +5050,9 @@ function Ta() {
5056
5050
  fontSize: r,
5057
5051
  lineHeight: o,
5058
5052
  overflow: "hidden",
5059
- // padding: `${marginY}px ${marginX}px`,
5060
- WebkitOverflowScrolling: "touch"
5053
+ WebkitTextSizeAdjust: "none",
5054
+ MozTextSizeAdjust: "none",
5055
+ textSizeAdjust: "none"
5061
5056
  }),
5062
5057
  [n, i.bg, i.fg, r, o]
5063
5058
  ), b = ve(
@@ -7390,11 +7385,13 @@ function Lu() {
7390
7385
  fontSize: d,
7391
7386
  lineHeight: v,
7392
7387
  overflow: "hidden",
7393
- WebkitOverflowScrolling: "touch",
7394
7388
  width: "100%",
7395
7389
  height: "100%",
7396
7390
  position: "relative",
7397
- boxSizing: "border-box"
7391
+ boxSizing: "border-box",
7392
+ WebkitTextSizeAdjust: "none",
7393
+ MozTextSizeAdjust: "none",
7394
+ textSizeAdjust: "none"
7398
7395
  }),
7399
7396
  [a, l.bg, l.fg, d, v]
7400
7397
  ), {
@@ -7628,7 +7625,7 @@ function Lu() {
7628
7625
  backfaceVisibility: "hidden",
7629
7626
  WebkitBackfaceVisibility: "hidden"
7630
7627
  }, Vt = !P && (!S || _ !== null);
7631
- return console.log("여기리랜더"), /* @__PURE__ */ X("div", { ref: y, style: { ...E, touchAction: "pan-y" }, ...pe, children: [
7628
+ return console.log("여기리랜더"), /* @__PURE__ */ X("div", { ref: y, style: { ...E, touchAction: "none" }, ...pe, children: [
7632
7629
  /* @__PURE__ */ X(
7633
7630
  "div",
7634
7631
  {
@@ -8789,7 +8786,7 @@ const Pd = ({ isOpen: e, onClose: t, text: n }) => e ? /* @__PURE__ */ x(
8789
8786
  )
8790
8787
  }
8791
8788
  ) : null, Bd = (e, t, n) => Math.min(n, Math.max(t, e));
8792
- function qd({
8789
+ function Nd({
8793
8790
  section: e,
8794
8791
  initialViewerState: t,
8795
8792
  initialProgressRunIndex: n,
@@ -8906,5 +8903,5 @@ function zd() {
8906
8903
  );
8907
8904
  }
8908
8905
  export {
8909
- qd as CRViewer
8906
+ Nd as CRViewer
8910
8907
  };
package/package.json CHANGED
@@ -1,73 +1,70 @@
1
- {
2
- "name": "@readerseye2/cr_viewer",
3
- "version": "1.0.19",
4
- "type": "module",
5
- "main": "./dist/index.cjs",
6
- "module": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "require": "./dist/index.cjs"
13
- }
14
- },
15
- "files": [
16
- "dist"
17
- ],
18
- "scripts": {
19
- "dev": "npm update @readerseye2/cr_type && vite",
20
- "build": "vite build",
21
- "build:lib": "vite build --mode lib",
22
- "preview": "vite preview",
23
- "lint": "eslint src",
24
- "deploy_npm": "npm run build:lib && npm version patch && npm publish --access public"
25
- },
26
- "peerDependencies": {
27
- "react": "^18.0.0 || ^19.0.0",
28
- "react-dom": "^18.0.0 || ^19.0.0"
29
- },
30
- "dependencies": {
31
- "@fontsource/nanum-myeongjo": "^5.2.11",
32
- "@fontsource/noto-sans-kr": "^5.2.9",
33
- "@fontsource/noto-serif-kr": "^5.2.9",
34
- "@readerseye2/cr_type": "^1.0.84",
35
- "lodash": "^4.17.21",
36
- "react-icons": "^5.0.0",
37
- "react-virtuoso": "^4.0.0",
38
- "use-sync-external-store": "^1.6.0",
39
- "zustand": "^5.0.0"
40
- },
41
- "devDependencies": {
42
- "@eslint/js": "^9.0.0",
43
- "@types/lodash": "^4.17.21",
44
- "@types/node": "^25.1.0",
45
- "@types/react": "^19.0.0",
46
- "@types/react-dom": "^19.0.0",
47
- "@vitejs/plugin-react": "^4.3.0",
48
- "eslint": "^9.0.0",
49
- "eslint-config-prettier": "^10.0.0",
50
- "eslint-plugin-prettier": "^5.0.0",
51
- "eslint-plugin-react-hooks": "^5.0.0",
52
- "eslint-plugin-react-refresh": "^0.4.0",
53
- "globals": "^16.0.0",
54
- "prettier": "^3.0.0",
55
- "react": "^19.0.0",
56
- "react-dom": "^19.0.0",
57
- "sass": "^1.80.0",
58
- "typescript": "^5.8.0",
59
- "typescript-eslint": "^8.0.0",
60
- "vite": "^6.0.0",
61
- "vite-plugin-css-injected-by-js": "^3.5.2",
62
- "vite-plugin-dts": "^4.0.0"
63
- },
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/bnri/CR_viewer.git"
67
- },
68
- "author": "guripong",
69
- "license": "MIT",
70
- "publishConfig": {
71
- "access": "public"
72
- }
73
- }
1
+ {
2
+ "name": "@readerseye2/cr_viewer",
3
+ "version": "1.0.22",
4
+ "type": "module",
5
+ "main": "./dist/index.cjs",
6
+ "module": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "scripts": {
19
+ "dev": "npm update @readerseye2/cr_type && vite",
20
+ "build": "vite build",
21
+ "build:lib": "vite build --mode lib",
22
+ "preview": "vite preview",
23
+ "lint": "eslint src",
24
+ "deploy_npm": "npm run build:lib && npm version patch && npm publish --access public"
25
+ },
26
+ "peerDependencies": {
27
+ "react": "^18.0.0 || ^19.0.0",
28
+ "react-dom": "^18.0.0 || ^19.0.0"
29
+ },
30
+ "dependencies": {
31
+ "@readerseye2/cr_type": "^1.0.84",
32
+ "lodash": "^4.17.21",
33
+ "react-icons": "^5.0.0",
34
+ "react-virtuoso": "^4.0.0",
35
+ "use-sync-external-store": "^1.6.0",
36
+ "zustand": "^5.0.0"
37
+ },
38
+ "devDependencies": {
39
+ "@eslint/js": "^9.0.0",
40
+ "@types/lodash": "^4.17.21",
41
+ "@types/node": "^25.1.0",
42
+ "@types/react": "^19.0.0",
43
+ "@types/react-dom": "^19.0.0",
44
+ "@vitejs/plugin-react": "^4.3.0",
45
+ "eslint": "^9.0.0",
46
+ "eslint-config-prettier": "^10.0.0",
47
+ "eslint-plugin-prettier": "^5.0.0",
48
+ "eslint-plugin-react-hooks": "^5.0.0",
49
+ "eslint-plugin-react-refresh": "^0.4.0",
50
+ "globals": "^16.0.0",
51
+ "prettier": "^3.0.0",
52
+ "react": "^19.0.0",
53
+ "react-dom": "^19.0.0",
54
+ "sass": "^1.80.0",
55
+ "typescript": "^5.8.0",
56
+ "typescript-eslint": "^8.0.0",
57
+ "vite": "^6.0.0",
58
+ "vite-plugin-css-injected-by-js": "^3.5.2",
59
+ "vite-plugin-dts": "^4.0.0"
60
+ },
61
+ "repository": {
62
+ "type": "git",
63
+ "url": "https://github.com/bnri/CR_viewer.git"
64
+ },
65
+ "author": "guripong",
66
+ "license": "MIT",
67
+ "publishConfig": {
68
+ "access": "public"
69
+ }
70
+ }