marko 5.38.33 → 5.38.34

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tags-html.d.ts +27 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.38.33",
3
+ "version": "5.38.34",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@marko/compiler": "^5.39.62",
73
- "@marko/runtime-tags": "^6.0.159",
73
+ "@marko/runtime-tags": "^6.0.160",
74
74
  "app-module-path": "^2.2.0",
75
75
  "argly": "^1.2.0",
76
76
  "browser-refresh-client": "1.1.4",
package/tags-html.d.ts CHANGED
@@ -528,6 +528,26 @@ declare global {
528
528
  clear?: AttrString;
529
529
  }
530
530
  interface Button extends HTMLAttributes<HTMLButtonElement> {
531
+ /**
532
+ * Specifies the action to be performed on an element being controlled specified via the commandfor attribute.
533
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-command
534
+ */
535
+ command?:
536
+ | AttrMissing
537
+ | "show-modal"
538
+ | "close"
539
+ | "request-close"
540
+ | "show-popover"
541
+ | "hide-popover"
542
+ | "toggle-popover"
543
+ | (string & {});
544
+
545
+ /**
546
+ * Specifies the id of the element being controlled
547
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-commandfor
548
+ */
549
+ commandfor?: AttrString;
550
+
531
551
  /**
532
552
  * Specifies whether the button should be disabled.
533
553
  * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
@@ -1563,6 +1583,13 @@ declare global {
1563
1583
  | "Refresh"
1564
1584
  | "X-UA-Compatible";
1565
1585
 
1586
+ /**
1587
+ * Specifies which media the metadata applies to (valid media query list).
1588
+ * Only has effect when name is "theme-color".
1589
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-media
1590
+ */
1591
+ media?: AttrString;
1592
+
1566
1593
  /**
1567
1594
  * Specifies the metadata name for the content attribute.
1568
1595
  * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name