@haklex/rich-ext-gallery 0.14.1 → 0.15.1
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/{GalleryNode-Ne_f5BJ3.js → GalleryNode-W9JGAWLm.js} +4 -4
- package/dist/augment.d.ts +1 -1
- package/dist/augment.d.ts.map +1 -1
- package/dist/{edit-BCgxzZ0R.js → edit-CBg5FU-F.js} +2 -2
- package/dist/edit.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/node.mjs +1 -1
- package/dist/static.mjs +1 -1
- package/package.json +8 -8
|
@@ -9,7 +9,7 @@ import { createRendererDecoration } from "@haklex/rich-editor/renderers";
|
|
|
9
9
|
*/
|
|
10
10
|
var GALLERY_NODE_KEY = "Gallery";
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/typeof.js
|
|
13
13
|
function _typeof(o) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -19,7 +19,7 @@ function _typeof(o) {
|
|
|
19
19
|
}, _typeof(o);
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region \0@oxc-project+runtime@0.
|
|
22
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/toPrimitive.js
|
|
23
23
|
function toPrimitive(t, r) {
|
|
24
24
|
if ("object" != _typeof(t) || !t) return t;
|
|
25
25
|
var e = t[Symbol.toPrimitive];
|
|
@@ -31,13 +31,13 @@ function toPrimitive(t, r) {
|
|
|
31
31
|
return ("string" === r ? String : Number)(t);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region \0@oxc-project+runtime@0.
|
|
34
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js
|
|
35
35
|
function toPropertyKey(t) {
|
|
36
36
|
var i = toPrimitive(t, "string");
|
|
37
37
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region \0@oxc-project+runtime@0.
|
|
40
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/defineProperty.js
|
|
41
41
|
function _defineProperty(e, r, t) {
|
|
42
42
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
43
43
|
value: t,
|
package/dist/augment.d.ts
CHANGED
package/dist/augment.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"augment.d.ts","sourceRoot":"","sources":["../src/augment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,OAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"augment.d.ts","sourceRoot":"","sources":["../src/augment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,OAAO,QAAQ,4BAA4B,CAAC;IAC1C,UAAU,cAAc;QACtB,OAAO,CAAC,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC;KAC/C;CACF;AAED,eAAO,MAAM,uBAAuB,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as galleryImageDragHandle, D as galleryImageThumb, E as galleryImageList, O as galleryImageThumbPlaceholder, S as galleryImageDeleteBtn, T as galleryImageInput, _ as galleryFooterInfo, a as galleryDialogEmpty, b as galleryImageActions, c as galleryDialogPopup, d as galleryEditLabel, f as galleryEditOverlay, g as galleryFooterBtnSave, h as galleryFooterBtnCancel, i as galleryDialogBody, l as galleryDialogTitle, m as galleryFooterActions, o as galleryDialogFooter, p as galleryEmptyState, r as galleryAddBtn, s as galleryDialogHeader, t as GalleryRenderer, u as galleryEditContainer, v as galleryHeaderActions, w as galleryImageFields, x as galleryImageCard, y as galleryHeaderClose } from "./GalleryRenderer-qIFakkWM.js";
|
|
2
|
-
import { i as _defineProperty, r as GalleryNode } from "./GalleryNode-
|
|
2
|
+
import { i as _defineProperty, r as GalleryNode } from "./GalleryNode-W9JGAWLm.js";
|
|
3
3
|
import { $getNodeByKey, $insertNodes } from "lexical";
|
|
4
4
|
import { GripVertical, ImageIcon, Images, Pencil, Plus, Trash2, X } from "lucide-react";
|
|
5
5
|
import { createElement, useCallback, useRef, useState } from "react";
|
|
@@ -7,7 +7,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
7
7
|
import { DndContext, DragOverlay, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
8
8
|
import { SortableContext, arrayMove, useSortable, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
9
9
|
import { CSS } from "@dnd-kit/utilities";
|
|
10
|
-
import { useColorScheme } from "@haklex/rich-editor";
|
|
10
|
+
import { useColorScheme } from "@haklex/rich-editor/static";
|
|
11
11
|
import { SegmentedControl, presentDialog } from "@haklex/rich-editor-ui";
|
|
12
12
|
import { usePortalTheme, vars } from "@haklex/rich-style-token";
|
|
13
13
|
import { createPortal } from "react-dom";
|
package/dist/edit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as __augmentLoaded_gallery } from "./augment-BXUga8d3.js";
|
|
2
|
-
import { a as GalleryEditNode, i as $isGalleryEditNode, n as GalleryEditRenderer, r as $createGalleryEditNode, t as galleryEditNodes } from "./edit-
|
|
2
|
+
import { a as GalleryEditNode, i as $isGalleryEditNode, n as GalleryEditRenderer, r as $createGalleryEditNode, t as galleryEditNodes } from "./edit-CBg5FU-F.js";
|
|
3
3
|
export { $createGalleryEditNode, $isGalleryEditNode, GalleryEditNode, GalleryEditRenderer, __augmentLoaded_gallery, galleryEditNodes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __augmentLoaded_gallery } from "./augment-BXUga8d3.js";
|
|
2
2
|
import { t as GalleryRenderer } from "./GalleryRenderer-qIFakkWM.js";
|
|
3
|
-
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-
|
|
4
|
-
import { a as GalleryEditNode, i as $isGalleryEditNode, n as GalleryEditRenderer, r as $createGalleryEditNode, t as galleryEditNodes } from "./edit-
|
|
3
|
+
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-W9JGAWLm.js";
|
|
4
|
+
import { a as GalleryEditNode, i as $isGalleryEditNode, n as GalleryEditRenderer, r as $createGalleryEditNode, t as galleryEditNodes } from "./edit-CBg5FU-F.js";
|
|
5
5
|
import { galleryNodes } from "./node.mjs";
|
|
6
6
|
import "./renderer.mjs";
|
|
7
7
|
export { $createGalleryEditNode, $createGalleryNode, $isGalleryEditNode, $isGalleryNode, GALLERY_NODE_KEY, GalleryEditNode, GalleryEditRenderer, GalleryNode, GalleryRenderer, __augmentLoaded_gallery, galleryEditNodes, galleryNodes };
|
package/dist/node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_gallery } from "./augment-BXUga8d3.js";
|
|
2
|
-
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-
|
|
2
|
+
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-W9JGAWLm.js";
|
|
3
3
|
//#region src/node.ts
|
|
4
4
|
var galleryNodes = [GalleryNode];
|
|
5
5
|
//#endregion
|
package/dist/static.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __augmentLoaded_gallery } from "./augment-BXUga8d3.js";
|
|
2
2
|
import { n as GalleryRenderer_default, t as GalleryRenderer } from "./GalleryRenderer-qIFakkWM.js";
|
|
3
|
-
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-
|
|
3
|
+
import { a as GALLERY_NODE_KEY, n as $isGalleryNode, r as GalleryNode, t as $createGalleryNode } from "./GalleryNode-W9JGAWLm.js";
|
|
4
4
|
import { galleryNodes } from "./node.mjs";
|
|
5
5
|
import "./renderer.mjs";
|
|
6
6
|
export { $createGalleryNode, $isGalleryNode, GALLERY_NODE_KEY, GalleryNode, GalleryRenderer, __augmentLoaded_gallery, GalleryRenderer_default as default, galleryNodes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-gallery",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Image gallery extension with drag-and-drop",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -43,26 +43,26 @@
|
|
|
43
43
|
"react-intersection-observer": "^10.0.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/react": "^19.2.
|
|
46
|
+
"@types/react": "^19.2.15",
|
|
47
47
|
"@types/react-dom": "^19.2.3",
|
|
48
48
|
"@vanilla-extract/css": "^1.20.1",
|
|
49
49
|
"@vanilla-extract/vite-plugin": "^5.2.2",
|
|
50
50
|
"lexical": "^0.44.0",
|
|
51
|
-
"lucide-react": "^1.
|
|
51
|
+
"lucide-react": "^1.16.0",
|
|
52
52
|
"react": "19.2.5",
|
|
53
53
|
"react-dom": "19.2.5",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
|
-
"
|
|
56
|
-
"vite
|
|
55
|
+
"unplugin-dts": "^1.0.1",
|
|
56
|
+
"vite": "^8.0.13"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"lexical": "^0.44.0",
|
|
60
60
|
"lucide-react": "^1.0.0",
|
|
61
61
|
"react": ">=19",
|
|
62
62
|
"react-dom": ">=19",
|
|
63
|
-
"@haklex/rich-editor-ui": "0.
|
|
64
|
-
"@haklex/rich-style-token": "0.
|
|
65
|
-
"@haklex/rich-editor": "0.
|
|
63
|
+
"@haklex/rich-editor-ui": "0.15.1",
|
|
64
|
+
"@haklex/rich-style-token": "0.15.1",
|
|
65
|
+
"@haklex/rich-editor": "0.15.1"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|