@pie-lib/editable-html-tip-tap 3.0.5-next.20261012010413 → 3.0.5-next.20261012220936

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.
@@ -5,10 +5,14 @@ import { styled as o } from "@mui/material/styles";
5
5
  import { color as s } from "@pie-lib/render-ui";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
7
  //#region src/components/TiptapContainer.tsx
8
- var u = o("div", { shouldForwardProp: (e) => !["noBorder", "error"].includes(e) })(({ theme: e, noBorder: t, error: n }) => ({
8
+ var u = o("div", { shouldForwardProp: (e) => ![
9
+ "noBorder",
10
+ "error",
11
+ "highlightShape"
12
+ ].includes(e) })(({ theme: e, noBorder: t, error: n, highlightShape: r }) => ({
9
13
  position: "relative",
10
14
  padding: "0px",
11
- border: t ? "none" : "1px solid #ccc",
15
+ border: t ? "none" : `1px solid ${r ? s.borderDark() : s.border()}`,
12
16
  borderRadius: "4px",
13
17
  cursor: "text",
14
18
  "& [data-slate-editor=\"true\"]": {
@@ -87,6 +91,7 @@ var u = o("div", { shouldForwardProp: (e) => !["noBorder", "error"].includes(e)
87
91
  overflowY: "auto",
88
92
  color: s.text(),
89
93
  backgroundColor: n ? e.palette.action.selected : s.background(),
94
+ borderRadius: "4px",
90
95
  ...t && {
91
96
  "&::-webkit-scrollbar": { display: "none" },
92
97
  scrollbarWidth: "none",
@@ -139,6 +144,7 @@ function p(o) {
139
144
  return /* @__PURE__ */ l(u, {
140
145
  noBorder: S && S.noBorder,
141
146
  error: S && S.error,
147
+ highlightShape: j,
142
148
  className: o.className,
143
149
  style: {
144
150
  width: N.width,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-lib/editable-html-tip-tap",
3
- "version": "3.0.5-next.20261012010413",
3
+ "version": "3.0.5-next.20261012220936",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,10 +13,10 @@
13
13
  "@dnd-kit/utilities": "3.2.2",
14
14
  "@mui/icons-material": "^7.3.4",
15
15
  "@mui/material": "^7.3.4",
16
- "@pie-lib/drag": "5.0.5-next.20261012010413",
17
- "@pie-lib/math-input": "9.0.5-next.20261012010413",
18
- "@pie-lib/math-toolbar": "4.0.5-next.20261012010413",
19
- "@pie-lib/render-ui": "8.0.5-next.20261012010413",
16
+ "@pie-lib/drag": "5.0.5-next.20261012213240",
17
+ "@pie-lib/math-input": "9.0.5-next.20261012213240",
18
+ "@pie-lib/math-toolbar": "4.0.5-next.20261012213240",
19
+ "@pie-lib/render-ui": "8.0.5-next.20261012213240",
20
20
  "@pie-lib/translator": "5.0.2-next.20261006160832",
21
21
  "@tiptap/core": "3.31.4",
22
22
  "@tiptap/extension-character-count": "3.31.4",
@@ -44,7 +44,7 @@
44
44
  "react-portal": "^4.2.0",
45
45
  "tippy.js": "latest",
46
46
  "to-style": "^1.3.3",
47
- "@pie-element/shared-lodash": "0.1.3-next.20261006160832",
47
+ "@pie-element/shared-lodash": "0.1.3-next.20261012213240",
48
48
  "clsx": "^2.1.1",
49
49
  "prosemirror-state": "^1.4.4",
50
50
  "@pie-element/shared-math-rendering-mathjax": "0.1.6-next.20261012010413",