@pie-lib/editable-html 12.2.0-next.0 → 12.2.0-next.11

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/CHANGELOG.md CHANGED
@@ -3,69 +3,89 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [12.1.0-next.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.1.0-next.2...@pie-lib/editable-html@12.1.0-next.4) (2026-01-27)
6
+ # [12.2.0-next.11](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.10...@pie-lib/editable-html@12.2.0-next.11) (2026-03-18)
7
7
 
8
8
  **Note:** Version bump only for package @pie-lib/editable-html
9
9
 
10
+ # [12.2.0-next.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.9...@pie-lib/editable-html@12.2.0-next.10) (2026-03-18)
10
11
 
12
+ **Note:** Version bump only for package @pie-lib/editable-html
11
13
 
12
-
13
-
14
- # [12.1.0-next.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.1.0-next.1...@pie-lib/editable-html@12.1.0-next.2) (2026-01-26)
14
+ # [12.2.0-next.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.8...@pie-lib/editable-html@12.2.0-next.9) (2026-03-11)
15
15
 
16
16
  **Note:** Version bump only for package @pie-lib/editable-html
17
17
 
18
+ # [12.2.0-next.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.7...@pie-lib/editable-html@12.2.0-next.8) (2026-03-11)
18
19
 
20
+ ### Bug Fixes
19
21
 
22
+ - bump pie-framework/mathquill PD-5791 ([6dd160a](https://github.com/pie-framework/pie-lib/commit/6dd160a980fd53c2acd704b503266863c24bcf23))
20
23
 
24
+ # [12.2.0-next.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.6...@pie-lib/editable-html@12.2.0-next.7) (2026-03-09)
21
25
 
22
- # [12.1.0-next.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.21.2...@pie-lib/editable-html@12.1.0-next.1) (2026-01-26)
26
+ ### Features
23
27
 
28
+ - remove jQuery dependency via MathQuill 1.2.0-beta.0 Interface v3 shim PD-5791 ([d427f32](https://github.com/pie-framework/pie-lib/commit/d427f32d5547de9610579d83b454c568def7ea74))
24
29
 
25
- ### Bug Fixes
30
+ # [12.2.0-next.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.5...@pie-lib/editable-html@12.2.0-next.6) (2026-03-04)
26
31
 
27
- * add missing dependencies for dnd-kit ([c50ec8e](https://github.com/pie-framework/pie-lib/commit/c50ec8e0a839e574aa61db78ecd121c6fdbc70c9))
28
- * choice render for both img and math ([39bc638](https://github.com/pie-framework/pie-lib/commit/39bc638070fc5e9c5f2b50d0d70698f80a32ecb9))
29
- * fix math rendering issues after React, mui and drag upgrade for drag-in-the-blank ([6dc3c95](https://github.com/pie-framework/pie-lib/commit/6dc3c95c041be02015a9005133fe750e1ff78842))
30
- * fixed circular dependencies and bumped versions, plus image upload handling [PD-5141] ([7b5fbc9](https://github.com/pie-framework/pie-lib/commit/7b5fbc9126446916d42d6b3597232a231567b2d8))
31
- * implemented image, responseArea, math, and some custom toolbars [PD-5141] ([d1dd966](https://github.com/pie-framework/pie-lib/commit/d1dd966188d14f3e4a9c6e4c7dbc4a92da727fd5))
32
- * prevent math re-rendering issues when dragging choices over blanks ([b316544](https://github.com/pie-framework/pie-lib/commit/b316544f0d574f7f57b70e2de4d8bab2086a4151))
33
- * remove carets from [@pie-lib](https://github.com/pie-lib) dependencies and configure lerna to use exact versions ([c9cd800](https://github.com/pie-framework/pie-lib/commit/c9cd800844abca09e7acf1fd35b2ddf51a6d86df))
34
- * remove carret, point to specific libs version ([09939a5](https://github.com/pie-framework/pie-lib/commit/09939a5aca19d7dda03d62c93d4d524f98dd69da))
35
- * remove exports and publish ([#2068](https://github.com/pie-framework/pie-lib/issues/2068)) ([60a96cd](https://github.com/pie-framework/pie-lib/commit/60a96cde0ec65f6b1cac0ae329aa33a0abc50d05))
36
- * use fixed lib deps ([de7c64d](https://github.com/pie-framework/pie-lib/commit/de7c64d14f13259fe44d47405e4421baef21e24e))
37
- * **editable-html:** add slateEditorExtraStyles prop ([0b71f34](https://github.com/pie-framework/pie-lib/commit/0b71f3412aeb90d613d41a9afe93b9ccd13f09c4))
38
- * **editable-html:** replace ReactDOM.render() with createRoot() for React 18 compatibility ([e9618b5](https://github.com/pie-framework/pie-lib/commit/e9618b5d892ee98d08f4440934eec9be58ee170a))
32
+ **Note:** Version bump only for package @pie-lib/editable-html
39
33
 
34
+ # [12.2.0-next.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.3...@pie-lib/editable-html@12.2.0-next.5) (2026-02-26)
40
35
 
41
- ### Features
36
+ **Note:** Version bump only for package @pie-lib/editable-html
42
37
 
43
- * bump react and react-dom ([01dc19e](https://github.com/pie-framework/pie-lib/commit/01dc19e88bbc8d372c561d1511df1a82937d45af))
44
- * drag library update ([fb7a4d0](https://github.com/pie-framework/pie-lib/commit/fb7a4d0ce761f2f4c1a122854cfa306abb8ea7c8))
45
- * initial work for tiptap changes [PD-5141] ([d73e617](https://github.com/pie-framework/pie-lib/commit/d73e6179c01e1497688c630da98213b31e9f4938))
46
- * packages/editable-html mui update PD-5268 ([6b8d201](https://github.com/pie-framework/pie-lib/commit/6b8d201cfc0bf7e26eea58e296109c463544075f))
47
- * sync latest changes from dev ([c936e9c](https://github.com/pie-framework/pie-lib/commit/c936e9c7f9e095e7d9b9805ac2bf72bd271e05f1))
48
- * updates for drag-in-the-blank ([0c096d8](https://github.com/pie-framework/pie-lib/commit/0c096d887f97edecd2dac68cda136b2d265dc7d5))
38
+ # [12.2.0-next.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.2...@pie-lib/editable-html@12.2.0-next.3) (2026-02-25)
49
39
 
40
+ ### Bug Fixes
50
41
 
42
+ - **deps:** update [@pie-lib](https://github.com/pie-lib) dependencies to published versions ([134fbdc](https://github.com/pie-framework/pie-lib/commit/134fbdc90c6a15f89a736340578d70fb80a983b3))
51
43
 
44
+ # [12.2.0-next.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.2.0-next.1...@pie-lib/editable-html@12.2.0-next.2) (2026-02-25)
52
45
 
46
+ **Note:** Version bump only for package @pie-lib/editable-html
53
47
 
54
- # [12.0.0-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.21.3-next.0...@pie-lib/editable-html@12.0.0-next.0) (2026-01-19)
48
+ # [12.1.0-next.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.1.0-next.2...@pie-lib/editable-html@12.1.0-next.4) (2026-01-27)
55
49
 
56
50
  **Note:** Version bump only for package @pie-lib/editable-html
57
51
 
52
+ # [12.1.0-next.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@12.1.0-next.1...@pie-lib/editable-html@12.1.0-next.2) (2026-01-26)
58
53
 
54
+ **Note:** Version bump only for package @pie-lib/editable-html
59
55
 
56
+ # [12.1.0-next.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.21.2...@pie-lib/editable-html@12.1.0-next.1) (2026-01-26)
60
57
 
58
+ ### Bug Fixes
61
59
 
62
- ## [11.21.3-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.35.0-mui-update.0...@pie-lib/editable-html@11.21.3-next.0) (2026-01-19)
60
+ - add missing dependencies for dnd-kit ([c50ec8e](https://github.com/pie-framework/pie-lib/commit/c50ec8e0a839e574aa61db78ecd121c6fdbc70c9))
61
+ - choice render for both img and math ([39bc638](https://github.com/pie-framework/pie-lib/commit/39bc638070fc5e9c5f2b50d0d70698f80a32ecb9))
62
+ - fix math rendering issues after React, mui and drag upgrade for drag-in-the-blank ([6dc3c95](https://github.com/pie-framework/pie-lib/commit/6dc3c95c041be02015a9005133fe750e1ff78842))
63
+ - fixed circular dependencies and bumped versions, plus image upload handling [PD-5141] ([7b5fbc9](https://github.com/pie-framework/pie-lib/commit/7b5fbc9126446916d42d6b3597232a231567b2d8))
64
+ - implemented image, responseArea, math, and some custom toolbars [PD-5141] ([d1dd966](https://github.com/pie-framework/pie-lib/commit/d1dd966188d14f3e4a9c6e4c7dbc4a92da727fd5))
65
+ - prevent math re-rendering issues when dragging choices over blanks ([b316544](https://github.com/pie-framework/pie-lib/commit/b316544f0d574f7f57b70e2de4d8bab2086a4151))
66
+ - remove carets from [@pie-lib](https://github.com/pie-lib) dependencies and configure lerna to use exact versions ([c9cd800](https://github.com/pie-framework/pie-lib/commit/c9cd800844abca09e7acf1fd35b2ddf51a6d86df))
67
+ - remove carret, point to specific libs version ([09939a5](https://github.com/pie-framework/pie-lib/commit/09939a5aca19d7dda03d62c93d4d524f98dd69da))
68
+ - remove exports and publish ([#2068](https://github.com/pie-framework/pie-lib/issues/2068)) ([60a96cd](https://github.com/pie-framework/pie-lib/commit/60a96cde0ec65f6b1cac0ae329aa33a0abc50d05))
69
+ - use fixed lib deps ([de7c64d](https://github.com/pie-framework/pie-lib/commit/de7c64d14f13259fe44d47405e4421baef21e24e))
70
+ - **editable-html:** add slateEditorExtraStyles prop ([0b71f34](https://github.com/pie-framework/pie-lib/commit/0b71f3412aeb90d613d41a9afe93b9ccd13f09c4))
71
+ - **editable-html:** replace ReactDOM.render() with createRoot() for React 18 compatibility ([e9618b5](https://github.com/pie-framework/pie-lib/commit/e9618b5d892ee98d08f4440934eec9be58ee170a))
63
72
 
64
- **Note:** Version bump only for package @pie-lib/editable-html
73
+ ### Features
65
74
 
75
+ - bump react and react-dom ([01dc19e](https://github.com/pie-framework/pie-lib/commit/01dc19e88bbc8d372c561d1511df1a82937d45af))
76
+ - drag library update ([fb7a4d0](https://github.com/pie-framework/pie-lib/commit/fb7a4d0ce761f2f4c1a122854cfa306abb8ea7c8))
77
+ - initial work for tiptap changes [PD-5141] ([d73e617](https://github.com/pie-framework/pie-lib/commit/d73e6179c01e1497688c630da98213b31e9f4938))
78
+ - packages/editable-html mui update PD-5268 ([6b8d201](https://github.com/pie-framework/pie-lib/commit/6b8d201cfc0bf7e26eea58e296109c463544075f))
79
+ - sync latest changes from dev ([c936e9c](https://github.com/pie-framework/pie-lib/commit/c936e9c7f9e095e7d9b9805ac2bf72bd271e05f1))
80
+ - updates for drag-in-the-blank ([0c096d8](https://github.com/pie-framework/pie-lib/commit/0c096d887f97edecd2dac68cda136b2d265dc7d5))
66
81
 
82
+ # [12.0.0-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.21.3-next.0...@pie-lib/editable-html@12.0.0-next.0) (2026-01-19)
67
83
 
84
+ **Note:** Version bump only for package @pie-lib/editable-html
68
85
 
86
+ ## [11.21.3-next.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.35.0-mui-update.0...@pie-lib/editable-html@11.21.3-next.0) (2026-01-19)
87
+
88
+ **Note:** Version bump only for package @pie-lib/editable-html
69
89
 
70
90
  ## [11.21.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/editable-html@11.21.1...@pie-lib/editable-html@11.21.2) (2025-11-27)
71
91
 
package/lib/editor.js CHANGED
@@ -39,7 +39,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
39
39
  var _debug = _interopRequireDefault(require("debug"));
40
40
  var _styles = require("@mui/material/styles");
41
41
  var _renderUi = require("@pie-lib/render-ui");
42
- var _alertDialog = _interopRequireDefault(require("./shared/alert-dialog"));
42
+ var _alertDialog = _interopRequireDefault(require("../../config-ui/src/alert-dialog"));
43
43
  var _serialization = _interopRequireWildcard(require("./serialization"));
44
44
  var serialization = _serialization;
45
45
  exports.serialization = _serialization;
package/package.json CHANGED
@@ -1,15 +1,12 @@
1
1
  {
2
2
  "name": "@pie-lib/editable-html",
3
- "version": "12.2.0-next.0+c7578ca",
3
+ "version": "12.2.0-next.11",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.jsx",
8
8
  "author": "pie-framework developers",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/pie-framework/pie-lib"
12
- },
9
+ "repository": "pie-framework/pie-lib",
13
10
  "dependencies": {
14
11
  "@dnd-kit/core": "6.3.1",
15
12
  "@dnd-kit/modifiers": "9.0.0",
@@ -18,11 +15,11 @@
18
15
  "@emotion/style": "^0.8.0",
19
16
  "@mui/icons-material": "^7.3.4",
20
17
  "@mui/material": "^7.3.4",
21
- "@pie-lib/drag": "^3.2.0-next.0+c7578ca",
22
- "@pie-lib/math-input": "^7.2.0-next.0+c7578ca",
23
- "@pie-lib/math-rendering": "^4.2.0-next.0+c7578ca",
24
- "@pie-lib/math-toolbar": "^2.2.0-next.0+c7578ca",
25
- "@pie-lib/render-ui": "^5.2.0-next.0+c7578ca",
18
+ "@pie-lib/drag": "^3.2.0-next.6",
19
+ "@pie-lib/math-input": "^7.2.0-next.9",
20
+ "@pie-lib/math-rendering": "^4.2.0-next.3",
21
+ "@pie-lib/math-toolbar": "^2.2.0-next.11",
22
+ "@pie-lib/render-ui": "^5.2.0-next.6",
26
23
  "change-case": "^3.0.2",
27
24
  "classnames": "^2.2.6",
28
25
  "debug": "^4.1.1",
@@ -44,7 +41,7 @@
44
41
  "to-style": "^1.3.3"
45
42
  },
46
43
  "devDependencies": {
47
- "@pie-framework/mathquill": "^1.1.3",
44
+ "@pie-framework/mathquill": "1.2.1-beta.0",
48
45
  "react": "^18.2.0",
49
46
  "react-dom": "^18.2.0"
50
47
  },
@@ -54,6 +51,6 @@
54
51
  "publishConfig": {
55
52
  "access": "public"
56
53
  },
57
- "gitHead": "c7578cae82de46ec0dae41b7d1ef924401e6226d",
54
+ "gitHead": "2e7523e9d0895728783bb65dbed8c0bfe282c0f5",
58
55
  "scripts": {}
59
56
  }
@@ -1,68 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports["default"] = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
- var _material = require("@mui/material");
11
- var _styles = require("@mui/material/styles");
12
- var StyledDialogTitle = (0, _styles.styled)(_material.DialogTitle)(function () {
13
- return {
14
- fontSize: 'max(1.25rem, 18px)'
15
- };
16
- });
17
- var StyledDialogContentText = (0, _styles.styled)(_material.DialogContentText)(function () {
18
- return {
19
- fontSize: 'max(1rem, 14px)'
20
- };
21
- });
22
- var AlertDialog = function AlertDialog(_ref) {
23
- var text = _ref.text,
24
- title = _ref.title,
25
- onClose = _ref.onClose,
26
- onConfirm = _ref.onConfirm,
27
- open = _ref.open,
28
- onCloseText = _ref.onCloseText,
29
- onConfirmText = _ref.onConfirmText,
30
- disableAutoFocus = _ref.disableAutoFocus,
31
- disableEnforceFocus = _ref.disableEnforceFocus,
32
- disableRestoreFocus = _ref.disableRestoreFocus;
33
- return /*#__PURE__*/_react["default"].createElement(_material.Dialog, {
34
- open: open,
35
- disableAutoFocus: disableAutoFocus,
36
- disableEnforceFocus: disableEnforceFocus,
37
- disableRestoreFocus: disableRestoreFocus,
38
- onClose: onClose
39
- }, title && /*#__PURE__*/_react["default"].createElement(StyledDialogTitle, null, title), text && /*#__PURE__*/_react["default"].createElement(_material.DialogContent, null, /*#__PURE__*/_react["default"].createElement(StyledDialogContentText, null, text)), /*#__PURE__*/_react["default"].createElement(_material.DialogActions, null, onClose && /*#__PURE__*/_react["default"].createElement(_material.Button, {
40
- onClick: onClose,
41
- color: "primary"
42
- }, onCloseText), onConfirm && /*#__PURE__*/_react["default"].createElement(_material.Button, {
43
- autoFocus: true,
44
- onClick: onConfirm,
45
- color: "primary"
46
- }, onConfirmText)));
47
- };
48
- AlertDialog.defaultProps = {
49
- onCloseText: 'CANCEL',
50
- onConfirmText: 'OK',
51
- disableAutoFocus: false,
52
- disableEnforceFocus: false,
53
- disableRestoreFocus: false
54
- };
55
- AlertDialog.propTypes = {
56
- text: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].object]),
57
- title: _propTypes["default"].string,
58
- onClose: _propTypes["default"].func,
59
- onConfirm: _propTypes["default"].func,
60
- open: _propTypes["default"].bool,
61
- onConfirmText: _propTypes["default"].string,
62
- onCloseText: _propTypes["default"].string,
63
- disableAutoFocus: _propTypes["default"].bool,
64
- disableEnforceFocus: _propTypes["default"].bool,
65
- disableRestoreFocus: _propTypes["default"].bool
66
- };
67
- var _default = exports["default"] = AlertDialog;
68
- //# sourceMappingURL=alert-dialog.js.map