marko 6.0.159 → 6.0.160

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 +1 -1
  2. package/tags-html.d.ts +27 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.159",
3
+ "version": "6.0.160",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",
package/tags-html.d.ts CHANGED
@@ -627,6 +627,26 @@ declare global {
627
627
  clear?: AttrString;
628
628
  }
629
629
  interface Button extends HTMLAttributes<HTMLButtonElement> {
630
+ /**
631
+ * Specifies the action to be performed on an element being controlled specified via the commandfor attribute.
632
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-command
633
+ */
634
+ command?:
635
+ | AttrMissing
636
+ | "show-modal"
637
+ | "close"
638
+ | "request-close"
639
+ | "show-popover"
640
+ | "hide-popover"
641
+ | "toggle-popover"
642
+ | (string & {});
643
+
644
+ /**
645
+ * Specifies the id of the element being controlled
646
+ * @see https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-commandfor
647
+ */
648
+ commandfor?: AttrString;
649
+
630
650
  /**
631
651
  * Specifies whether the button should be disabled.
632
652
  * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-disabled
@@ -1665,6 +1685,13 @@ declare global {
1665
1685
  | "Refresh"
1666
1686
  | "X-UA-Compatible";
1667
1687
 
1688
+ /**
1689
+ * Specifies which media the metadata applies to (valid media query list).
1690
+ * Only has effect when name is "theme-color".
1691
+ * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-media
1692
+ */
1693
+ media?: AttrString;
1694
+
1668
1695
  /**
1669
1696
  * Specifies the metadata name for the content attribute.
1670
1697
  * @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name