@haklex/rich-ext-poll 0.14.0 → 0.15.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/{PollNode-CBnlpO_n.js → PollNode-ByEgheLY.js} +4 -4
- package/dist/augment.d.ts +1 -1
- package/dist/augment.d.ts.map +1 -1
- package/dist/{edit-BN-stlV1.js → edit-DIdJ2aUc.js} +1 -1
- package/dist/edit.mjs +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{node-Cfo4dTJX.js → node-C0P4FnWU.js} +1 -1
- package/dist/node.mjs +2 -2
- package/dist/static.mjs +2 -2
- package/package.json +9 -9
|
@@ -10,7 +10,7 @@ import { createRendererDecoration } from "@haklex/rich-editor/renderers";
|
|
|
10
10
|
*/
|
|
11
11
|
var POLL_NODE_KEY = "Poll";
|
|
12
12
|
//#endregion
|
|
13
|
-
//#region \0@oxc-project+runtime@0.
|
|
13
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/typeof.js
|
|
14
14
|
function _typeof(o) {
|
|
15
15
|
"@babel/helpers - typeof";
|
|
16
16
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -20,7 +20,7 @@ function _typeof(o) {
|
|
|
20
20
|
}, _typeof(o);
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
|
-
//#region \0@oxc-project+runtime@0.
|
|
23
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/toPrimitive.js
|
|
24
24
|
function toPrimitive(t, r) {
|
|
25
25
|
if ("object" != _typeof(t) || !t) return t;
|
|
26
26
|
var e = t[Symbol.toPrimitive];
|
|
@@ -32,13 +32,13 @@ function toPrimitive(t, r) {
|
|
|
32
32
|
return ("string" === r ? String : Number)(t);
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
|
-
//#region \0@oxc-project+runtime@0.
|
|
35
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/toPropertyKey.js
|
|
36
36
|
function toPropertyKey(t) {
|
|
37
37
|
var i = toPrimitive(t, "string");
|
|
38
38
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
39
39
|
}
|
|
40
40
|
//#endregion
|
|
41
|
-
//#region \0@oxc-project+runtime@0.
|
|
41
|
+
//#region \0@oxc-project+runtime@0.130.0/helpers/defineProperty.js
|
|
42
42
|
function _defineProperty(e, r, t) {
|
|
43
43
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
44
44
|
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,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,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,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,OAAO,QAAQ,4BAA4B,CAAC;IAC1C,UAAU,cAAc;QACtB,IAAI,CAAC,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;KACzC;CACF;AAED,eAAO,MAAM,oBAAoB,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { n as $isPollNode, o as _defineProperty, r as PollNode } from "./PollNode-
|
|
2
|
+
import { n as $isPollNode, o as _defineProperty, r as PollNode } from "./PollNode-ByEgheLY.js";
|
|
3
3
|
import { $getNodeByKey, $insertNodes } from "lexical";
|
|
4
4
|
import { CalendarClock, ChevronDown, ChevronUp, Plus, Vote, X } from "lucide-react";
|
|
5
5
|
import { createContext, createElement, useCallback, useContext, useEffect, useRef, useState } from "react";
|
package/dist/edit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as __augmentLoaded_poll } from "./augment-C11dJqbp.js";
|
|
2
|
-
import { a as pollEditClasses, i as PollEditDecorator, n as $createPollEditNode, r as PollEditNode, t as pollEditNodes } from "./edit-
|
|
2
|
+
import { a as pollEditClasses, i as PollEditDecorator, n as $createPollEditNode, r as PollEditNode, t as pollEditNodes } from "./edit-DIdJ2aUc.js";
|
|
3
3
|
export { $createPollEditNode, PollEditDecorator, PollEditNode, __augmentLoaded_poll, pollEditClasses, pollEditNodes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __augmentLoaded_poll } from "./augment-C11dJqbp.js";
|
|
2
|
-
import { a as pollEditClasses, i as PollEditDecorator, n as $createPollEditNode, r as PollEditNode, t as pollEditNodes } from "./edit-
|
|
3
|
-
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-
|
|
4
|
-
import { n as extractPolls, t as pollNodes } from "./node-
|
|
2
|
+
import { a as pollEditClasses, i as PollEditDecorator, n as $createPollEditNode, r as PollEditNode, t as pollEditNodes } from "./edit-DIdJ2aUc.js";
|
|
3
|
+
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-ByEgheLY.js";
|
|
4
|
+
import { n as extractPolls, t as pollNodes } from "./node-C0P4FnWU.js";
|
|
5
5
|
import { a as usePollDataAdapter, i as useInitialPollState, n as PollRenderer, o as pollClasses, r as PollDataProvider } from "./renderer-Drfczj5J.js";
|
|
6
6
|
export { $createPollEditNode, $createPollNode, $isPollNode, POLL_NODE_KEY, PollDataProvider, PollEditDecorator, PollEditNode, PollNode, PollRenderer, __augmentLoaded_poll, createOptionId, createPollId, extractPolls, pollClasses, pollEditClasses, pollEditNodes, pollNodes, useInitialPollState, usePollDataAdapter };
|
package/dist/node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as __augmentLoaded_poll } from "./augment-C11dJqbp.js";
|
|
2
|
-
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-
|
|
3
|
-
import { n as extractPolls, t as pollNodes } from "./node-
|
|
2
|
+
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-ByEgheLY.js";
|
|
3
|
+
import { n as extractPolls, t as pollNodes } from "./node-C0P4FnWU.js";
|
|
4
4
|
export { $createPollNode, $isPollNode, POLL_NODE_KEY, PollNode, __augmentLoaded_poll, createOptionId, createPollId, extractPolls, pollNodes };
|
package/dist/static.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_poll } from "./augment-C11dJqbp.js";
|
|
2
|
-
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-
|
|
3
|
-
import { n as extractPolls, t as pollNodes } from "./node-
|
|
2
|
+
import { a as createPollId, i as createOptionId, n as $isPollNode, r as PollNode, s as POLL_NODE_KEY, t as $createPollNode } from "./PollNode-ByEgheLY.js";
|
|
3
|
+
import { n as extractPolls, t as pollNodes } from "./node-C0P4FnWU.js";
|
|
4
4
|
import { a as usePollDataAdapter, i as useInitialPollState, n as PollRenderer, o as pollClasses, r as PollDataProvider } from "./renderer-Drfczj5J.js";
|
|
5
5
|
export { $createPollNode, $isPollNode, POLL_NODE_KEY, PollDataProvider, PollNode, PollRenderer, __augmentLoaded_poll, createOptionId, createPollId, extractPolls, pollClasses, pollNodes, useInitialPollState, usePollDataAdapter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-poll",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "Reader-facing vote/poll widget extension",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"nanoid": "^5.1.
|
|
41
|
-
"@haklex/rich-style-token": "0.
|
|
40
|
+
"nanoid": "^5.1.11",
|
|
41
|
+
"@haklex/rich-style-token": "0.15.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@lexical/react": "^0.44.0",
|
|
45
|
-
"@types/react": "^19.2.
|
|
45
|
+
"@types/react": "^19.2.15",
|
|
46
46
|
"@types/react-dom": "^19.2.3",
|
|
47
47
|
"@vanilla-extract/css": "^1.20.1",
|
|
48
48
|
"@vanilla-extract/vite-plugin": "^5.2.2",
|
|
@@ -50,16 +50,16 @@
|
|
|
50
50
|
"react": "19.2.5",
|
|
51
51
|
"react-dom": "19.2.5",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
|
-
"
|
|
54
|
-
"vite
|
|
55
|
-
"@haklex/rich-editor": "0.
|
|
53
|
+
"unplugin-dts": "^1.0.1",
|
|
54
|
+
"vite": "^8.0.13",
|
|
55
|
+
"@haklex/rich-editor": "0.15.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"lexical": "^0.44.0",
|
|
59
59
|
"lucide-react": "^1.0.0",
|
|
60
60
|
"react": ">=19",
|
|
61
|
-
"@haklex/rich-editor": "0.
|
|
62
|
-
"@haklex/rich-editor-ui": "0.
|
|
61
|
+
"@haklex/rich-editor": "0.15.0",
|
|
62
|
+
"@haklex/rich-editor-ui": "0.15.0"
|
|
63
63
|
},
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|