loon-bulma-react 2026.0.60 → 2026.0.61

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.
@@ -11,8 +11,8 @@ type CheckBoxInputProps = StrictOmit<InputPropsType<string>, 'value' | 'onValueC
11
11
  /** foutmelding bij de input */ errorMessage?: string | ((s: InputErrorProps<boolean>) => string);
12
12
  /** info-melding bij de input */ infoMessage?: string | ((v: boolean) => string);
13
13
  onValueChanged?: (v: boolean) => void | Promise<void>;
14
- /** double-click handler for the checkbox */
15
- onDblClick?: (e: React.MouseEvent<HTMLInputElement>) => void | Promise<void>;
14
+ /** standard React double-click handler for the checkbox */
15
+ onDoubleClick?: (e: React.MouseEvent<HTMLElement>) => void | Promise<void>;
16
16
  };
17
17
  /**
18
18
  * Een checkbox input met een container eromheen. Om een checkbox in te voegen zonder container, gebruik dan de `<CB ... />`-component. DEze component 'wrapt' deze `CB`-component.
@@ -42,7 +42,7 @@ declare function CheckBox({ id, label, name, size: sizeProp, direction: directio
42
42
  * const [x, setX] = React.useState(false);
43
43
  * <CB name="test" label="test" value={x} onValueChanged={setX}/>
44
44
  */
45
- declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, onDblClick, size: sizeProp, alignment: alignmentProp, color, infoDataEl, }: // inverted = false,
45
+ declare function CB({ helpTag, errorMessage, infoMessage, label, disabled, keyboardType, title, name, value, required, spellCheck, id, autoComplete, readonly, autofocus, form, inputRef: ref, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onValueChanged, onDoubleClick, size: sizeProp, alignment: alignmentProp, color, infoDataEl, }: // inverted = false,
46
46
  StrictOmit<CheckBoxInputProps, 'direction' | 'labelHidden' | 'infoData'> & {
47
47
  infoDataEl?: React.ReactNode;
48
48
  }): React.JSX.Element;
package/dist/index.js CHANGED
@@ -16788,7 +16788,7 @@ function Gy({ id: e, label: n, name: r, size: i, direction: a, required: o = !1,
16788
16788
  })
16789
16789
  });
16790
16790
  }
16791
- function Ky({ helpTag: e, errorMessage: n = "", infoMessage: r = "", label: i, disabled: a = !1, keyboardType: o = "text", title: s, name: c, value: l = !1, required: u = !1, spellCheck: d = !1, id: f, autoComplete: p = "off", readonly: m = !1, autofocus: h = !1, form: g = void 0, inputRef: _, onBlur: v, onChange: y, onFocus: S, onKeyDown: C, onKeyUp: w, onValueChanged: T, onDblClick: E, size: D, alignment: O, color: k = void 0, infoDataEl: A }) {
16791
+ function Ky({ helpTag: e, errorMessage: n = "", infoMessage: r = "", label: i, disabled: a = !1, keyboardType: o = "text", title: s, name: c, value: l = !1, required: u = !1, spellCheck: d = !1, id: f, autoComplete: p = "off", readonly: m = !1, autofocus: h = !1, form: g = void 0, inputRef: _, onBlur: v, onChange: y, onFocus: S, onKeyDown: C, onKeyUp: w, onValueChanged: T, onDoubleClick: E, size: D, alignment: O, color: k = void 0, infoDataEl: A }) {
16792
16792
  let [j, M] = t.useState(!1), [N, P] = t.useState(!1), [F, I] = t.useState(!1), { defaults: L } = t.useContext(yh), { scheme: R } = Ne();
16793
16793
  k === void 0 && R === "dark" && (k = "light"), k === void 0 && R === "light" && (k = "dark");
16794
16794
  let ee = D ?? L.input.size, z = O ?? L.input.alignment, B = typeof n == "string" ? n : n({
@@ -16842,6 +16842,7 @@ function Ky({ helpTag: e, errorMessage: n = "", infoMessage: r = "", label: i, d
16842
16842
  htmlFor: f ?? c,
16843
16843
  onMouseEnter: () => P(!0),
16844
16844
  onMouseLeave: () => P(!1),
16845
+ onDoubleClick: U,
16845
16846
  children: [
16846
16847
  i ?? c,
16847
16848
  " ",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.60",
4
+ "version": "2026.0.61",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -92,12 +92,12 @@
92
92
  "eslint-plugin-standard": "^5.0.0",
93
93
  "eslint-plugin-testing-library": "^7.16.0",
94
94
  "globals": "^17.7.0",
95
- "happy-dom": "^20.11.0",
95
+ "happy-dom": "^20.11.1",
96
96
  "prettier": "^3.9.6",
97
97
  "react": "^19.2.8",
98
98
  "react-dom": "^19.2.8",
99
99
  "rollup-plugin-copy": "^3.5.0",
100
- "sass": "^1.101.3",
100
+ "sass": "^1.101.6",
101
101
  "typescript": "^6.0.3",
102
102
  "typescript-eslint": "^8.65.0",
103
103
  "vite": "^8.1.5",