@haklex/rich-editor-ui 0.32.0 → 0.33.0
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.mjs +10 -10
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ import { $getNodeByKey, $getRoot } from "lexical";
|
|
|
12
12
|
import { createPortal } from "react-dom";
|
|
13
13
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
14
14
|
import { Tooltip } from "@base-ui/react/tooltip";
|
|
15
|
-
//#region ../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.21.
|
|
15
|
+
//#region ../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.21.2/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js
|
|
16
16
|
function toPrimitive(t, r) {
|
|
17
17
|
if ("object" != typeof t || !t) return t;
|
|
18
18
|
var e = t[Symbol.toPrimitive];
|
|
@@ -185,15 +185,16 @@ function ActionButton({ variant, size, end = false, danger = false, icon = false
|
|
|
185
185
|
if (end) semanticParts.push(semanticClassNames$1.actionButtonEnd);
|
|
186
186
|
if (danger) semanticParts.push(semanticClassNames$1.actionButtonDanger);
|
|
187
187
|
if (icon) semanticParts.push(semanticClassNames$1.actionButtonIcon);
|
|
188
|
+
const recipeClass = actionButton$1({
|
|
189
|
+
variant,
|
|
190
|
+
size,
|
|
191
|
+
end,
|
|
192
|
+
danger,
|
|
193
|
+
icon,
|
|
194
|
+
rounded
|
|
195
|
+
});
|
|
188
196
|
return /* @__PURE__ */ jsx("button", {
|
|
189
|
-
className: `${
|
|
190
|
-
variant,
|
|
191
|
-
size,
|
|
192
|
-
end,
|
|
193
|
-
danger,
|
|
194
|
-
icon,
|
|
195
|
-
rounded
|
|
196
|
-
})} ${semanticParts.join(" ")}${className ? ` ${className}` : ""}`,
|
|
197
|
+
className: `${recipeClass} ${semanticParts.join(" ")}${className ? ` ${className}` : ""}`,
|
|
197
198
|
type,
|
|
198
199
|
...props
|
|
199
200
|
});
|
|
@@ -2076,7 +2077,6 @@ function SegmentedControl({ items, value, onChange, size = "sm", fullWidth = fal
|
|
|
2076
2077
|
case "End":
|
|
2077
2078
|
e.preventDefault();
|
|
2078
2079
|
nextIndex = enabledItems.length - 1;
|
|
2079
|
-
break;
|
|
2080
2080
|
}
|
|
2081
2081
|
if (nextIndex !== currentIndex) {
|
|
2082
2082
|
const nextItem = enabledItems[nextIndex];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-editor-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "UI components for haklex rich editor",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,26 +21,26 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@haklex/rich-style-token": "0.
|
|
24
|
+
"@haklex/rich-style-token": "0.33.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@lexical/react": "^0.
|
|
28
|
-
"@types/react": "^19.2.
|
|
29
|
-
"@types/react-dom": "^19.2.
|
|
30
|
-
"@vanilla-extract/css": "^1.21.
|
|
27
|
+
"@lexical/react": "^0.49.0",
|
|
28
|
+
"@types/react": "^19.2.18",
|
|
29
|
+
"@types/react-dom": "^19.2.4",
|
|
30
|
+
"@vanilla-extract/css": "^1.21.2",
|
|
31
31
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
32
|
-
"@vanilla-extract/vite-plugin": "^5.2.
|
|
33
|
-
"lexical": "^0.
|
|
32
|
+
"@vanilla-extract/vite-plugin": "^5.2.6",
|
|
33
|
+
"lexical": "^0.49.0",
|
|
34
34
|
"react": "^19.2.8",
|
|
35
35
|
"react-dom": "^19.2.8",
|
|
36
36
|
"typescript": "^7.0.2",
|
|
37
37
|
"unplugin-dts": "^1.0.3",
|
|
38
|
-
"vite": "^8.
|
|
38
|
+
"vite": "^8.2.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@base-ui/react": ">=1.5.0",
|
|
42
|
-
"@lexical/react": "^0.
|
|
43
|
-
"lexical": "^0.
|
|
42
|
+
"@lexical/react": "^0.49.0",
|
|
43
|
+
"lexical": "^0.49.0",
|
|
44
44
|
"lucide-react": "^1.0.0",
|
|
45
45
|
"react": ">=19",
|
|
46
46
|
"react-dom": ">=19",
|