@haklex/rich-ext-gallery 0.0.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/LICENSE +28 -0
- package/README.md +47 -0
- package/dist/GalleryEditRenderer.d.ts +4 -0
- package/dist/GalleryEditRenderer.d.ts.map +1 -0
- package/dist/GalleryNode.d.ts +32 -0
- package/dist/GalleryNode.d.ts.map +1 -0
- package/dist/GalleryRenderer.d.ts +6 -0
- package/dist/GalleryRenderer.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +5010 -0
- package/dist/rich-ext-gallery.css +889 -0
- package/dist/styles.css.d.ts +40 -0
- package/dist/styles.css.d.ts.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const gallery: string;
|
|
2
|
+
export declare const galleryGrid: string;
|
|
3
|
+
export declare const galleryMasonry: string;
|
|
4
|
+
export declare const galleryCarousel: string;
|
|
5
|
+
export declare const galleryContainer: string;
|
|
6
|
+
export declare const galleryItem: string;
|
|
7
|
+
export declare const galleryNav: string;
|
|
8
|
+
export declare const galleryNavPrev: string;
|
|
9
|
+
export declare const galleryNavNext: string;
|
|
10
|
+
export declare const galleryIndicators: string;
|
|
11
|
+
export declare const galleryIndicator: string;
|
|
12
|
+
export declare const galleryIndicatorActive: string;
|
|
13
|
+
export declare const galleryEditContainer: string;
|
|
14
|
+
export declare const galleryEditOverlay: string;
|
|
15
|
+
export declare const galleryEditLabel: string;
|
|
16
|
+
export declare const galleryEmptyState: string;
|
|
17
|
+
declare const _galleryDialogPopup: string;
|
|
18
|
+
export { _galleryDialogPopup as galleryDialogPopup };
|
|
19
|
+
export declare const galleryDialogHeader: string;
|
|
20
|
+
export declare const galleryDialogTitle: string;
|
|
21
|
+
export declare const galleryHeaderActions: string;
|
|
22
|
+
export declare const galleryHeaderClose: string;
|
|
23
|
+
export declare const galleryDialogBody: string;
|
|
24
|
+
export declare const galleryImageList: string;
|
|
25
|
+
export declare const galleryImageCard: string;
|
|
26
|
+
export declare const galleryImageDragHandle: string;
|
|
27
|
+
export declare const galleryImageThumb: string;
|
|
28
|
+
export declare const galleryImageThumbPlaceholder: string;
|
|
29
|
+
export declare const galleryImageFields: string;
|
|
30
|
+
export declare const galleryImageInput: string;
|
|
31
|
+
export declare const galleryImageActions: string;
|
|
32
|
+
export declare const galleryImageDeleteBtn: string;
|
|
33
|
+
export declare const galleryAddBtn: string;
|
|
34
|
+
export declare const galleryDialogFooter: string;
|
|
35
|
+
export declare const galleryFooterInfo: string;
|
|
36
|
+
export declare const galleryFooterActions: string;
|
|
37
|
+
export declare const galleryFooterBtnCancel: string;
|
|
38
|
+
export declare const galleryFooterBtnSave: string;
|
|
39
|
+
export declare const galleryDialogEmpty: string;
|
|
40
|
+
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../src/styles.css.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,QAIlB,CAAA;AAGF,eAAO,MAAM,WAAW,QAStB,CAAA;AAGF,eAAO,MAAM,cAAc,QAOzB,CAAA;AAQF,eAAO,MAAM,eAAe,QAE1B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAU3B,CAAA;AAEF,eAAO,MAAM,WAAW,QAQtB,CAAA;AAQF,eAAO,MAAM,UAAU,QAgBrB,CAAA;AAEF,eAAO,MAAM,cAAc,QAAqB,CAAA;AAChD,eAAO,MAAM,cAAc,QAAsB,CAAA;AAGjD,eAAO,MAAM,iBAAiB,QAQ5B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAY3B,CAAA;AAEF,eAAO,MAAM,sBAAsB,QAEjC,CAAA;AAGF,eAAO,MAAM,oBAAoB,QAQ/B,CAAA;AAEF,eAAO,MAAM,kBAAkB,QAc7B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAkB3B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAU5B,CAAA;AAGF,QAAA,MAAM,mBAAmB,QAAY,CAAA;AAsBrC,OAAO,EAAE,mBAAmB,IAAI,kBAAkB,EAAE,CAAA;AAGpD,eAAO,MAAM,mBAAmB,QAQ9B,CAAA;AAEF,eAAO,MAAM,kBAAkB,QAQ7B,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAK/B,CAAA;AAEF,eAAO,MAAM,kBAAkB,QAkB7B,CAAA;AAGF,eAAO,MAAM,iBAAiB,QAK5B,CAAA;AAEF,eAAO,MAAM,gBAAgB,QAI3B,CAAA;AAGF,eAAO,MAAM,gBAAgB,QAQ3B,CAAA;AAEF,eAAO,MAAM,sBAAsB,QAmBjC,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAU5B,CAAA;AAQF,eAAO,MAAM,4BAA4B,QAEvC,CAAA;AAEF,eAAO,MAAM,kBAAkB,QAM7B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAgB5B,CAAA;AAEF,eAAO,MAAM,mBAAmB,QAK9B,CAAA;AAEF,eAAO,MAAM,qBAAqB,QAgBhC,CAAA;AAGF,eAAO,MAAM,aAAa,QAmBxB,CAAA;AAGF,eAAO,MAAM,mBAAmB,QAS9B,CAAA;AAEF,eAAO,MAAM,iBAAiB,QAG5B,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAI/B,CAAA;AAYF,eAAO,MAAM,sBAAsB,QAUjC,CAAA;AAEF,eAAO,MAAM,oBAAoB,QAU/B,CAAA;AAGF,eAAO,MAAM,kBAAkB,QAU7B,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@haklex/rich-ext-gallery",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Image gallery extension with drag-and-drop",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.mjs",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./style.css": "./dist/rich-ext-gallery.css"
|
|
13
|
+
},
|
|
14
|
+
"main": "./dist/index.mjs",
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@dnd-kit/core": "^6.3.1",
|
|
20
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
21
|
+
"@dnd-kit/utilities": "^3.2.2",
|
|
22
|
+
"react-intersection-observer": "^9.15.1",
|
|
23
|
+
"react-photo-view": "^1.2.6",
|
|
24
|
+
"thumbhash": "^0.1.1"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/react": "^19.0.0",
|
|
28
|
+
"@types/react-dom": "^19.0.0",
|
|
29
|
+
"@vanilla-extract/css": "^1.17.1",
|
|
30
|
+
"@vanilla-extract/vite-plugin": "^4.0.20",
|
|
31
|
+
"lexical": "^0.39.0",
|
|
32
|
+
"lucide-react": "^0.574.0",
|
|
33
|
+
"react": "19.2.4",
|
|
34
|
+
"react-dom": "19.2.4",
|
|
35
|
+
"typescript": "^5.9.0",
|
|
36
|
+
"vite": "^7.3.1",
|
|
37
|
+
"vite-plugin-dts": "^4.5.0",
|
|
38
|
+
"@haklex/rich-editor": "0.0.1",
|
|
39
|
+
"@haklex/rich-style-token": "0.0.1",
|
|
40
|
+
"@haklex/rich-editor-ui": "0.0.1"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"lexical": "^0.39.0",
|
|
44
|
+
"lucide-react": "^0.574.0",
|
|
45
|
+
"react": ">=19",
|
|
46
|
+
"react-dom": ">=19",
|
|
47
|
+
"@haklex/rich-editor": "0.0.1",
|
|
48
|
+
"@haklex/rich-style-token": "0.0.1",
|
|
49
|
+
"@haklex/rich-editor-ui": "0.0.1"
|
|
50
|
+
},
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "vite build",
|
|
56
|
+
"dev:build": "vite build --watch"
|
|
57
|
+
},
|
|
58
|
+
"types": "./dist/index.d.ts"
|
|
59
|
+
}
|