@massimo-cassandro/minimo 1.27.0 → 1.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/minimo",
3
- "version": "1.27.0",
3
+ "version": "1.27.1",
4
4
  "description": "Light css framework & utilities",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -409,7 +409,6 @@ export function buildFakeField({
409
409
  * domBuilder items is passed, it is rendered via `children` instead of `content`.
410
410
  * @param {string} [args.type=button] - button type.
411
411
  * @param {string | null} args.id - `id` attribute.
412
- * @param {string | number | null} [args.value=null] - button `value` attribute.
413
412
  * @param {string | null} [args.class=null] - optional class to be added to the button element.
414
413
  * @param {string | null} [args.classname=null] - Alias for `class`.
415
414
  * @param {string | null} [args.className=null] - Alias for `class`.
@@ -422,7 +421,6 @@ export function buildButton({
422
421
  content,
423
422
  type = 'button',
424
423
  id = null,
425
- value = null,
426
424
  class: classArg = null,
427
425
  classname: classnameArg = null,
428
426
  className: classNameArg = null,
@@ -440,8 +438,7 @@ export function buildButton({
440
438
  id: id,
441
439
  attrs: {
442
440
  ...(attrs??{}),
443
- type: type,
444
- value: value
441
+ type: type
445
442
  },
446
443
  ...(Array.isArray(content)
447
444
  ? { children: content }