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

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,70 +3,58 @@
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)
7
-
8
- **Note:** Version bump only for package @pie-lib/editable-html
9
-
10
-
6
+ # [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)
11
7
 
8
+ ### Bug Fixes
12
9
 
10
+ - **deps:** update [@pie-lib](https://github.com/pie-lib) dependencies to published versions ([134fbdc](https://github.com/pie-framework/pie-lib/commit/134fbdc90c6a15f89a736340578d70fb80a983b3))
13
11
 
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)
12
+ # [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)
15
13
 
16
14
  **Note:** Version bump only for package @pie-lib/editable-html
17
15
 
16
+ # [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)
18
17
 
18
+ **Note:** Version bump only for package @pie-lib/editable-html
19
19
 
20
+ # [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)
20
21
 
22
+ **Note:** Version bump only for package @pie-lib/editable-html
21
23
 
22
24
  # [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)
23
25
 
24
-
25
26
  ### Bug Fixes
26
27
 
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))
39
-
28
+ - add missing dependencies for dnd-kit ([c50ec8e](https://github.com/pie-framework/pie-lib/commit/c50ec8e0a839e574aa61db78ecd121c6fdbc70c9))
29
+ - choice render for both img and math ([39bc638](https://github.com/pie-framework/pie-lib/commit/39bc638070fc5e9c5f2b50d0d70698f80a32ecb9))
30
+ - 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))
31
+ - fixed circular dependencies and bumped versions, plus image upload handling [PD-5141] ([7b5fbc9](https://github.com/pie-framework/pie-lib/commit/7b5fbc9126446916d42d6b3597232a231567b2d8))
32
+ - implemented image, responseArea, math, and some custom toolbars [PD-5141] ([d1dd966](https://github.com/pie-framework/pie-lib/commit/d1dd966188d14f3e4a9c6e4c7dbc4a92da727fd5))
33
+ - prevent math re-rendering issues when dragging choices over blanks ([b316544](https://github.com/pie-framework/pie-lib/commit/b316544f0d574f7f57b70e2de4d8bab2086a4151))
34
+ - 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))
35
+ - remove carret, point to specific libs version ([09939a5](https://github.com/pie-framework/pie-lib/commit/09939a5aca19d7dda03d62c93d4d524f98dd69da))
36
+ - remove exports and publish ([#2068](https://github.com/pie-framework/pie-lib/issues/2068)) ([60a96cd](https://github.com/pie-framework/pie-lib/commit/60a96cde0ec65f6b1cac0ae329aa33a0abc50d05))
37
+ - use fixed lib deps ([de7c64d](https://github.com/pie-framework/pie-lib/commit/de7c64d14f13259fe44d47405e4421baef21e24e))
38
+ - **editable-html:** add slateEditorExtraStyles prop ([0b71f34](https://github.com/pie-framework/pie-lib/commit/0b71f3412aeb90d613d41a9afe93b9ccd13f09c4))
39
+ - **editable-html:** replace ReactDOM.render() with createRoot() for React 18 compatibility ([e9618b5](https://github.com/pie-framework/pie-lib/commit/e9618b5d892ee98d08f4440934eec9be58ee170a))
40
40
 
41
41
  ### Features
42
42
 
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))
49
-
50
-
51
-
52
-
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))
53
49
 
54
50
  # [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)
55
51
 
56
52
  **Note:** Version bump only for package @pie-lib/editable-html
57
53
 
58
-
59
-
60
-
61
-
62
54
  ## [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)
63
55
 
64
56
  **Note:** Version bump only for package @pie-lib/editable-html
65
57
 
66
-
67
-
68
-
69
-
70
58
  ## [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
59
 
72
60
  **Note:** Version bump only for package @pie-lib/editable-html
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.3",
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.2",
19
+ "@pie-lib/math-input": "^7.2.0-next.2",
20
+ "@pie-lib/math-rendering": "^4.2.0-next.1",
21
+ "@pie-lib/math-toolbar": "^2.2.0-next.3",
22
+ "@pie-lib/render-ui": "^5.2.0-next.2",
26
23
  "change-case": "^3.0.2",
27
24
  "classnames": "^2.2.6",
28
25
  "debug": "^4.1.1",
@@ -54,6 +51,6 @@
54
51
  "publishConfig": {
55
52
  "access": "public"
56
53
  },
57
- "gitHead": "c7578cae82de46ec0dae41b7d1ef924401e6226d",
54
+ "gitHead": "01fa85c5f94bfdef2cd95f49bd465ec0b702fe6d",
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