loon-bulma-react 2026.0.27 → 2026.0.28
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.
|
@@ -15,6 +15,7 @@ type DataTableDropdownProps = {
|
|
|
15
15
|
* DataTable.Dropdown - A specialized dropdown component for use within DataTable.
|
|
16
16
|
* This component always uses a portal to render outside the table-container,
|
|
17
17
|
* preventing clipping issues caused by overflow properties on the table container.
|
|
18
|
+
* WIEHOE
|
|
18
19
|
*/
|
|
19
20
|
declare const DataTableDropdown: {
|
|
20
21
|
({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: DataTableDropdownProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -12665,8 +12665,8 @@ Tn.OptGroup = ({ label: t, children: e, disabled: n }) => /* @__PURE__ */ y("opt
|
|
|
12665
12665
|
Tn.Divider = ({ dividerChar: t = "-", repeat: e = 15 }) => /* @__PURE__ */ y("option", { disabled: !0, children: Array(e).join(t) });
|
|
12666
12666
|
function SM(t) {
|
|
12667
12667
|
let [e, n] = b.useState("0px"), [r, i] = b.useState("0px"), [o, s] = b.useState(!1), a = b.useCallback(
|
|
12668
|
-
function(
|
|
12669
|
-
t && t.current?.contains(
|
|
12668
|
+
function(f) {
|
|
12669
|
+
t && t.current?.contains(f.target) ? (f.preventDefault(), n(`${f.clientX}px`), i(`${f.clientY}px`), s(!0)) : s(!1);
|
|
12670
12670
|
},
|
|
12671
12671
|
[t, s, n, i]
|
|
12672
12672
|
), l = b.useCallback(
|
|
@@ -12674,10 +12674,15 @@ function SM(t) {
|
|
|
12674
12674
|
s(!1);
|
|
12675
12675
|
},
|
|
12676
12676
|
[s]
|
|
12677
|
+
), c = b.useCallback(
|
|
12678
|
+
function() {
|
|
12679
|
+
s(!1);
|
|
12680
|
+
},
|
|
12681
|
+
[s]
|
|
12677
12682
|
);
|
|
12678
|
-
return b.useEffect(() => (document.addEventListener("click", l), document.addEventListener("contextmenu", a), document.addEventListener("scroll", l), () => {
|
|
12679
|
-
document.removeEventListener("click", l), document.removeEventListener("contextmenu", a), document.removeEventListener("scroll", l);
|
|
12680
|
-
}), [l, a]), { x: e, y: r, show: o };
|
|
12683
|
+
return b.useEffect(() => (document.addEventListener("click", l), document.addEventListener("mousedown", c, !0), document.addEventListener("touchstart", c, !0), document.addEventListener("contextmenu", a), document.addEventListener("scroll", l), () => {
|
|
12684
|
+
document.removeEventListener("click", l), document.removeEventListener("mousedown", c, !0), document.removeEventListener("touchstart", c, !0), document.removeEventListener("contextmenu", a), document.removeEventListener("scroll", l);
|
|
12685
|
+
}), [l, a, c]), { x: e, y: r, show: o };
|
|
12681
12686
|
}
|
|
12682
12687
|
function EM({ outerRef: t, children: e }) {
|
|
12683
12688
|
let { x: n, y: r, show: i } = SM(t);
|
|
@@ -29506,7 +29511,7 @@ function hu(t, {
|
|
|
29506
29511
|
if (t.type.name === "hardBreak")
|
|
29507
29512
|
return !0;
|
|
29508
29513
|
if (t.isText)
|
|
29509
|
-
return
|
|
29514
|
+
return !/\S/.test((r = t.text) != null ? r : "");
|
|
29510
29515
|
}
|
|
29511
29516
|
if (t.isText)
|
|
29512
29517
|
return !t.text;
|
|
@@ -33505,6 +33510,12 @@ var HP = tn.create({
|
|
|
33505
33510
|
},
|
|
33506
33511
|
markdownTokenName: "strong",
|
|
33507
33512
|
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
33513
|
+
markdownOptions: {
|
|
33514
|
+
htmlReopen: {
|
|
33515
|
+
open: "<strong>",
|
|
33516
|
+
close: "</strong>"
|
|
33517
|
+
}
|
|
33518
|
+
},
|
|
33508
33519
|
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
33509
33520
|
addCommands() {
|
|
33510
33521
|
return {
|
|
@@ -33580,6 +33591,12 @@ var HP = tn.create({
|
|
|
33580
33591
|
},
|
|
33581
33592
|
markdownTokenName: "em",
|
|
33582
33593
|
parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
|
|
33594
|
+
markdownOptions: {
|
|
33595
|
+
htmlReopen: {
|
|
33596
|
+
open: "<em>",
|
|
33597
|
+
close: "</em>"
|
|
33598
|
+
}
|
|
33599
|
+
},
|
|
33583
33600
|
renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
|
|
33584
33601
|
addKeyboardShortcuts() {
|
|
33585
33602
|
return {
|
|
@@ -35275,6 +35292,8 @@ Ze.create({
|
|
|
35275
35292
|
const s = this.editor.isEmpty;
|
|
35276
35293
|
return e.descendants((a, l) => {
|
|
35277
35294
|
const c = i >= l && i <= l + a.nodeSize, u = !a.isLeaf && hu(a);
|
|
35295
|
+
if (!a.type.isTextblock)
|
|
35296
|
+
return this.options.includeChildren;
|
|
35278
35297
|
if ((c || !this.options.showOnlyCurrent) && u) {
|
|
35279
35298
|
const f = [this.options.emptyNodeClass];
|
|
35280
35299
|
s && f.push(this.options.emptyEditorClass);
|
package/dist/styles/_all.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loon-bulma-react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2026.0.
|
|
4
|
+
"version": "2026.0.28",
|
|
5
5
|
"description": "Bulma & React componenten voor Loon Salarissoftware",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,33 +29,33 @@
|
|
|
29
29
|
"@fortawesome/fontawesome-svg-core": "^7.2.0",
|
|
30
30
|
"@fortawesome/free-solid-svg-icons": "^7.2.0",
|
|
31
31
|
"@fortawesome/react-fontawesome": "^3.2.0",
|
|
32
|
-
"@tiptap/extension-bold": "^3.20.
|
|
33
|
-
"@tiptap/extension-bullet-list": "^3.20.
|
|
34
|
-
"@tiptap/extension-color": "^3.20.
|
|
35
|
-
"@tiptap/extension-document": "^3.20.
|
|
36
|
-
"@tiptap/extension-hard-break": "^3.20.
|
|
37
|
-
"@tiptap/extension-heading": "^3.20.
|
|
38
|
-
"@tiptap/extension-highlight": "^3.20.
|
|
39
|
-
"@tiptap/extension-history": "^3.20.
|
|
40
|
-
"@tiptap/extension-horizontal-rule": "^3.20.
|
|
41
|
-
"@tiptap/extension-image": "^3.20.
|
|
42
|
-
"@tiptap/extension-italic": "^3.20.
|
|
43
|
-
"@tiptap/extension-link": "^3.20.
|
|
44
|
-
"@tiptap/extension-list-item": "^3.20.
|
|
45
|
-
"@tiptap/extension-ordered-list": "^3.20.
|
|
46
|
-
"@tiptap/extension-paragraph": "^3.20.
|
|
47
|
-
"@tiptap/extension-strike": "^3.20.
|
|
48
|
-
"@tiptap/extension-subscript": "^3.20.
|
|
49
|
-
"@tiptap/extension-superscript": "^3.20.
|
|
50
|
-
"@tiptap/extension-table": "^3.20.
|
|
51
|
-
"@tiptap/extension-table-cell": "^3.20.
|
|
52
|
-
"@tiptap/extension-table-header": "^3.20.
|
|
53
|
-
"@tiptap/extension-table-row": "^3.20.
|
|
54
|
-
"@tiptap/extension-text": "^3.20.
|
|
55
|
-
"@tiptap/extension-text-align": "^3.20.
|
|
56
|
-
"@tiptap/extension-text-style": "^3.20.
|
|
57
|
-
"@tiptap/extension-underline": "^3.20.
|
|
58
|
-
"@tiptap/react": "^3.20.
|
|
32
|
+
"@tiptap/extension-bold": "^3.20.4",
|
|
33
|
+
"@tiptap/extension-bullet-list": "^3.20.4",
|
|
34
|
+
"@tiptap/extension-color": "^3.20.4",
|
|
35
|
+
"@tiptap/extension-document": "^3.20.4",
|
|
36
|
+
"@tiptap/extension-hard-break": "^3.20.4",
|
|
37
|
+
"@tiptap/extension-heading": "^3.20.4",
|
|
38
|
+
"@tiptap/extension-highlight": "^3.20.4",
|
|
39
|
+
"@tiptap/extension-history": "^3.20.4",
|
|
40
|
+
"@tiptap/extension-horizontal-rule": "^3.20.4",
|
|
41
|
+
"@tiptap/extension-image": "^3.20.4",
|
|
42
|
+
"@tiptap/extension-italic": "^3.20.4",
|
|
43
|
+
"@tiptap/extension-link": "^3.20.4",
|
|
44
|
+
"@tiptap/extension-list-item": "^3.20.4",
|
|
45
|
+
"@tiptap/extension-ordered-list": "^3.20.4",
|
|
46
|
+
"@tiptap/extension-paragraph": "^3.20.4",
|
|
47
|
+
"@tiptap/extension-strike": "^3.20.4",
|
|
48
|
+
"@tiptap/extension-subscript": "^3.20.4",
|
|
49
|
+
"@tiptap/extension-superscript": "^3.20.4",
|
|
50
|
+
"@tiptap/extension-table": "^3.20.4",
|
|
51
|
+
"@tiptap/extension-table-cell": "^3.20.4",
|
|
52
|
+
"@tiptap/extension-table-header": "^3.20.4",
|
|
53
|
+
"@tiptap/extension-table-row": "^3.20.4",
|
|
54
|
+
"@tiptap/extension-text": "^3.20.4",
|
|
55
|
+
"@tiptap/extension-text-align": "^3.20.4",
|
|
56
|
+
"@tiptap/extension-text-style": "^3.20.4",
|
|
57
|
+
"@tiptap/extension-underline": "^3.20.4",
|
|
58
|
+
"@tiptap/react": "^3.20.4",
|
|
59
59
|
"bulma": "^1.0.4",
|
|
60
60
|
"date-fns": "^4.1.0",
|
|
61
61
|
"npm": "^11.11.1",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"rollup-plugin-copy": "^3.5.0",
|
|
98
98
|
"sass": "^1.98.0",
|
|
99
99
|
"typescript": "^5.9.3",
|
|
100
|
-
"typescript-eslint": "^8.57.
|
|
100
|
+
"typescript-eslint": "^8.57.1",
|
|
101
101
|
"vite": "^7.3.1",
|
|
102
102
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
103
103
|
"vite-tsconfig-paths": "^6.1.1",
|