@pie-element/passage 7.1.2-next.2 → 7.1.2-next.21

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 (49) hide show
  1. package/author.js +2 -0
  2. package/dist/author/common.js +6 -5
  3. package/dist/author/design.js +2 -2
  4. package/dist/author/index.js +2 -2
  5. package/dist/author/passage.js +1 -1
  6. package/dist/browser/assets/Symbola-4c507403.woff2 +0 -0
  7. package/dist/browser/author/index.js +15493 -20147
  8. package/dist/browser/author/index.js.map +1 -1
  9. package/dist/browser/controller/index.js +1 -1
  10. package/dist/browser/controller/index.js.map +1 -1
  11. package/dist/browser/delivery/index.js +3 -3
  12. package/dist/browser/delivery/index.js.map +1 -1
  13. package/dist/browser/{dist-4njad0Sq.js → dist-CL_dVuEz.js} +2704 -2719
  14. package/dist/browser/dist-CL_dVuEz.js.map +1 -0
  15. package/dist/browser/{dist-BC24ne2o.js → dist-CiWlBjsz.js} +6 -2
  16. package/dist/browser/dist-CiWlBjsz.js.map +1 -0
  17. package/dist/browser/editor-runtime/assets/Symbola-4c507403.woff2 +0 -0
  18. package/dist/browser/editor-runtime/author/index.js +17745 -0
  19. package/dist/browser/editor-runtime/author/index.js.map +1 -0
  20. package/dist/browser/editor-runtime/controller/index.js +64 -0
  21. package/dist/browser/editor-runtime/controller/index.js.map +1 -0
  22. package/dist/browser/editor-runtime/delivery/index.js +117 -0
  23. package/dist/browser/editor-runtime/delivery/index.js.map +1 -0
  24. package/dist/browser/editor-runtime/dist-BheNTcCX.js +9603 -0
  25. package/dist/browser/editor-runtime/dist-BheNTcCX.js.map +1 -0
  26. package/dist/browser/editor-runtime/dist-CiWlBjsz.js +92 -0
  27. package/dist/browser/editor-runtime/dist-CiWlBjsz.js.map +1 -0
  28. package/dist/browser/editor-runtime/print/index.js +49 -0
  29. package/dist/browser/editor-runtime/print/index.js.map +1 -0
  30. package/dist/browser/editor-runtime/rolldown-runtime-CHQKHQ89.js +32 -0
  31. package/dist/browser/{stimulus-tabs-sQwIoGOW.js → editor-runtime/stimulus-tabs-DEn90RCI.js} +81 -43
  32. package/dist/browser/editor-runtime/stimulus-tabs-DEn90RCI.js.map +1 -0
  33. package/dist/browser/print/index.js +4 -3
  34. package/dist/browser/print/index.js.map +1 -1
  35. package/dist/browser/rolldown-runtime-CWhphoD1.js +32 -0
  36. package/dist/browser/stimulus-tabs-BNJlKOyN.js +256 -0
  37. package/dist/browser/stimulus-tabs-BNJlKOyN.js.map +1 -0
  38. package/dist/delivery/index.js +1 -1
  39. package/dist/delivery/stimulus-tabs.d.ts +7 -0
  40. package/dist/delivery/stimulus-tabs.js +69 -32
  41. package/dist/index.iife.js +31 -31
  42. package/module/print.js +15815 -0
  43. package/module/print.js.map +1 -0
  44. package/package.json +43 -22
  45. package/print.js +2 -0
  46. package/dist/browser/dist-4njad0Sq.js.map +0 -1
  47. package/dist/browser/dist-BC24ne2o.js.map +0 -1
  48. package/dist/browser/passage.css +0 -2
  49. package/dist/browser/stimulus-tabs-sQwIoGOW.js.map +0 -1
package/package.json CHANGED
@@ -1,25 +1,31 @@
1
1
  {
2
2
  "name": "@pie-element/passage",
3
- "version": "7.1.2-next.2",
3
+ "version": "7.1.2-next.21",
4
4
  "description": "",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/pie-framework/pie-elements-ng.git",
8
+ "directory": "packages/elements-react/passage"
9
+ },
5
10
  "dependencies": {
6
11
  "@emotion/react": "^11.14.0",
7
- "@emotion/style": "^0.8.0",
8
12
  "@mui/icons-material": "^7.3.4",
9
13
  "@mui/material": "^7.3.4",
10
- "@pie-lib/render-ui": "6.1.1-next.37",
14
+ "@pie-lib/render-ui": "6.2.0-next.48",
11
15
  "prop-types": "^15.8.1",
12
- "@pie-lib/config-ui": "13.0.4-next.30",
13
- "@pie-element/shared-configure-events": "0.1.0",
14
- "@pie-lib/editable-html-tip-tap": "2.1.2-next.30",
15
- "@pie-element/shared-lodash": "0.1.1-next.0",
16
- "@pie-element/shared-player-events": "0.1.0",
17
- "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.0",
18
- "debug": "^4.4.3"
16
+ "@pie-lib/config-ui": "14.0.0-next.42",
17
+ "@pie-element/shared-configure-events": "0.1.1-next.0",
18
+ "@pie-lib/editable-html-tip-tap": "3.0.0-next.42",
19
+ "@pie-element/shared-lodash": "0.1.1-next.2",
20
+ "@pie-element/shared-player-events": "0.1.1-next.2",
21
+ "@pie-element/shared-math-rendering-mathjax": "0.1.1-next.4",
22
+ "debug": "^4.4.3",
23
+ "react": "^18.2.0",
24
+ "react-dom": "^18.2.0"
19
25
  },
20
26
  "peerDependencies": {
21
- "react": "^18.0.0",
22
- "react-dom": "^18.0.0"
27
+ "react": "^18.2.0 || ^19.0.0",
28
+ "react-dom": "^18.2.0 || ^19.0.0"
23
29
  },
24
30
  "exports": {
25
31
  ".": {
@@ -31,6 +37,7 @@
31
37
  "default": "./dist/delivery/index.js"
32
38
  },
33
39
  "./browser/delivery": {
40
+ "types": "./dist/delivery/index.d.ts",
34
41
  "default": "./dist/browser/delivery/index.js"
35
42
  },
36
43
  "./author": {
@@ -38,6 +45,7 @@
38
45
  "default": "./dist/author/index.js"
39
46
  },
40
47
  "./browser/author": {
48
+ "types": "./dist/author/index.d.ts",
41
49
  "default": "./dist/browser/author/index.js"
42
50
  },
43
51
  "./configure": {
@@ -53,38 +61,41 @@
53
61
  "default": "./dist/controller/index.js"
54
62
  },
55
63
  "./browser/controller": {
64
+ "types": "./dist/controller/index.d.ts",
56
65
  "default": "./dist/browser/controller/index.js"
57
66
  },
58
67
  "./print": {
59
68
  "types": "./dist/print/index.d.ts",
60
69
  "default": "./dist/print/index.js"
61
70
  },
71
+ "./print.js": {
72
+ "types": "./dist/print/index.d.ts",
73
+ "default": "./dist/print/index.js"
74
+ },
62
75
  "./browser/print": {
76
+ "types": "./dist/print/index.d.ts",
63
77
  "default": "./dist/browser/print/index.js"
64
78
  },
65
79
  "./runtime-support": {
66
80
  "types": "./dist/runtime-support.d.ts",
67
81
  "default": "./dist/runtime-support.js"
68
- }
82
+ },
83
+ "./package.json": "./package.json"
69
84
  },
70
85
  "type": "module",
71
86
  "main": "./dist/index.js",
72
87
  "types": "./dist/index.d.ts",
73
88
  "files": [
89
+ "author.js",
74
90
  "configure.js",
75
91
  "controller.js",
76
- "dist"
92
+ "dist",
93
+ "module",
94
+ "print.js"
77
95
  ],
78
96
  "sideEffects": false,
79
- "devDependencies": {
80
- "vite": "^8.0.1",
81
- "typescript": "^5.9.3",
82
- "@vitejs/plugin-react": "^6.0.1",
83
- "@types/react": "^18.2.0",
84
- "@types/react-dom": "^18.2.0"
85
- },
86
97
  "scripts": {
87
- "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
98
+ "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config ../../../tools/vite/element-browser-editor-runtime.config.ts && bun x vite build --config ../../../tools/vite/element-legacy-print.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
88
99
  "dev": "bun x vite",
89
100
  "demo": "bun x vite --mode demo",
90
101
  "test": "bun x vitest run"
@@ -95,6 +106,16 @@
95
106
  "browserSharedDependencies": {
96
107
  "react": "18.2.0",
97
108
  "react-dom": "18.2.0"
109
+ },
110
+ "browserEditorRuntime": {
111
+ "name": "@pie-element/shared-editor-runtime",
112
+ "version": "0.1.1-next.0",
113
+ "views": {
114
+ "delivery": "editor-runtime/delivery",
115
+ "author": "editor-runtime/author",
116
+ "print": "editor-runtime/print",
117
+ "controller": "editor-runtime/controller"
118
+ }
98
119
  }
99
120
  }
100
121
  }
package/print.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/print/index.js';
2
+ export * from './dist/print/index.js';