marko 5.35.7 → 5.35.9
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/bin/markoc.js +0 -2
- package/dist/compiler/index.js +2 -0
- package/dist/core-tags/core/await/AsyncValue.js +1 -0
- package/dist/core-tags/core/await/renderer.js +1 -0
- package/dist/node-require/hot-reload.js +1 -3
- package/dist/node-require/index.js +1 -1
- package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +4 -2
- package/dist/node_modules/@internal/components-entry/index.js +13 -13
- package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +4 -3
- package/dist/node_modules/@internal/components-registry/index-browser.js +40 -36
- package/dist/node_modules/@internal/components-registry/index.js +2 -2
- package/dist/node_modules/@internal/components-util/index-browser.js +16 -16
- package/dist/node_modules/@internal/components-util/index.js +7 -7
- package/dist/node_modules/@internal/create-readable/index-browser.js +2 -2
- package/dist/node_modules/@internal/create-readable/index.js +9 -9
- package/dist/node_modules/@internal/preserve-tag/index-browser.js +5 -5
- package/dist/node_modules/@internal/preserve-tag/index.js +1 -1
- package/dist/node_modules/@internal/require/index-webpack.js +1 -0
- package/dist/node_modules/@internal/set-immediate/index-browser.js +1 -1
- package/dist/node_modules/@internal/set-immediate/index-worker.js +2 -2
- package/dist/node_modules/@internal/set-immediate/index.js +2 -2
- package/dist/runtime/RenderResult.js +4 -3
- package/dist/runtime/components/Component.js +107 -106
- package/dist/runtime/components/ComponentDef.js +25 -25
- package/dist/runtime/components/ComponentsContext.js +6 -6
- package/dist/runtime/components/GlobalComponentsContext.js +3 -3
- package/dist/runtime/components/KeySequence.js +3 -3
- package/dist/runtime/components/ServerComponent.js +8 -7
- package/dist/runtime/components/State.js +20 -24
- package/dist/runtime/components/attach-detach.js +7 -7
- package/dist/runtime/components/defineComponent.js +0 -1
- package/dist/runtime/components/dom-data.js +5 -5
- package/dist/runtime/components/event-delegation.js +10 -10
- package/dist/runtime/components/legacy/defineRenderer-legacy.js +14 -13
- package/dist/runtime/components/legacy/dependencies/index.js +9 -10
- package/dist/runtime/components/legacy/jquery.js +1 -0
- package/dist/runtime/components/legacy/renderer-legacy.js +33 -32
- package/dist/runtime/components/renderer.js +29 -29
- package/dist/runtime/components/update-manager.js +4 -4
- package/dist/runtime/createOut.js +1 -1
- package/dist/runtime/dom-insert.js +5 -5
- package/dist/runtime/helpers/_change-case.js +2 -2
- package/dist/runtime/helpers/dynamic-tag.js +18 -13
- package/dist/runtime/helpers/render-tag.js +1 -1
- package/dist/runtime/helpers/serialize-noop.js +5 -0
- package/dist/runtime/helpers/style-value.js +1 -1
- package/dist/runtime/helpers/tags-compat/dom-debug.mjs +1 -0
- package/dist/runtime/helpers/tags-compat/dom.mjs +1 -0
- package/dist/runtime/helpers/tags-compat/html-debug.js +1 -1
- package/dist/runtime/helpers/tags-compat/html-debug.mjs +3 -2
- package/dist/runtime/helpers/tags-compat/html.js +3 -1
- package/dist/runtime/helpers/tags-compat/html.mjs +3 -2
- package/dist/runtime/helpers/tags-compat/runtime-dom.js +38 -35
- package/dist/runtime/helpers/tags-compat/runtime-html.js +24 -65
- package/dist/runtime/html/AsyncStream.js +25 -24
- package/dist/runtime/html/BufferedWriter.js +2 -2
- package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
- package/dist/runtime/html/helpers/attr.js +4 -3
- package/dist/runtime/html/helpers/attrs.js +1 -0
- package/dist/runtime/html/helpers/data-marko.js +2 -3
- package/dist/runtime/html/helpers/escape-quotes.js +1 -1
- package/dist/runtime/html/helpers/escape-xml.js +1 -1
- package/dist/runtime/html/helpers/merge-attrs.js +1 -0
- package/dist/runtime/html/index.js +1 -1
- package/dist/runtime/renderable.js +5 -5
- package/dist/runtime/vdom/AsyncVDOMBuilder.js +86 -85
- package/dist/runtime/vdom/VComponent.js +4 -4
- package/dist/runtime/vdom/VDocumentFragment.js +7 -7
- package/dist/runtime/vdom/VElement.js +41 -42
- package/dist/runtime/vdom/VFragment.js +9 -9
- package/dist/runtime/vdom/VNode.js +34 -35
- package/dist/runtime/vdom/VText.js +8 -8
- package/dist/runtime/vdom/helpers/attrs.js +1 -0
- package/dist/runtime/vdom/helpers/const-element.js +3 -3
- package/dist/runtime/vdom/hot-reload.js +14 -14
- package/dist/runtime/vdom/index.js +1 -1
- package/dist/runtime/vdom/morphdom/fragment.js +5 -5
- package/dist/runtime/vdom/morphdom/helpers.js +5 -5
- package/dist/runtime/vdom/morphdom/index.js +67 -68
- package/dist/runtime/vdom/vdom.js +14 -14
- package/dist/taglib/index.js +1 -0
- package/index.d.ts +1 -5
- package/package.json +4 -4
- package/src/compiler/index.js +2 -0
- package/src/core-tags/core/await/AsyncValue.js +1 -0
- package/src/core-tags/core/await/renderer.js +1 -0
- package/src/node-require/hot-reload.js +0 -2
- package/src/node-require/index.js +1 -1
- package/src/node_modules/@internal/components-define-widget-legacy/index-browser.js +4 -2
- package/src/node_modules/@internal/components-entry/index.js +2 -2
- package/src/node_modules/@internal/components-entry-legacy/index-browser.js +1 -0
- package/src/node_modules/@internal/components-registry/index-browser.js +8 -4
- package/src/node_modules/@internal/components-util/index-browser.js +1 -1
- package/src/node_modules/@internal/create-readable/index-browser.js +1 -1
- package/src/node_modules/@internal/require/index-webpack.js +1 -0
- package/src/runtime/RenderResult.js +1 -0
- package/src/runtime/components/Component.js +2 -1
- package/src/runtime/components/ComponentDef.js +4 -4
- package/src/runtime/components/ServerComponent.js +1 -0
- package/src/runtime/components/State.js +6 -10
- package/src/runtime/components/defineComponent.js +0 -1
- package/src/runtime/components/legacy/defineRenderer-legacy.js +1 -0
- package/src/runtime/components/legacy/dependencies/index.js +0 -1
- package/src/runtime/components/legacy/jquery.js +1 -0
- package/src/runtime/components/legacy/renderer-legacy.js +1 -0
- package/src/runtime/helpers/dynamic-tag.js +11 -6
- package/src/runtime/helpers/serialize-noop.js +5 -0
- package/src/runtime/helpers/tags-compat/dom-debug.mjs +1 -0
- package/src/runtime/helpers/tags-compat/dom.mjs +1 -0
- package/src/runtime/helpers/tags-compat/html-debug.js +1 -1
- package/src/runtime/helpers/tags-compat/html-debug.mjs +3 -2
- package/src/runtime/helpers/tags-compat/html.js +3 -1
- package/src/runtime/helpers/tags-compat/html.mjs +3 -2
- package/src/runtime/helpers/tags-compat/runtime-dom.js +23 -20
- package/src/runtime/helpers/tags-compat/runtime-html.js +18 -59
- package/src/runtime/html/AsyncStream.js +1 -0
- package/src/runtime/html/helpers/attr.js +1 -0
- package/src/runtime/html/helpers/attrs.js +1 -0
- package/src/runtime/html/helpers/data-marko.js +0 -1
- package/src/runtime/html/helpers/merge-attrs.js +1 -0
- package/src/runtime/vdom/AsyncVDOMBuilder.js +1 -0
- package/src/runtime/vdom/VElement.js +1 -2
- package/src/runtime/vdom/VNode.js +0 -1
- package/src/runtime/vdom/helpers/attrs.js +1 -0
- package/src/runtime/vdom/morphdom/index.js +0 -1
- package/src/taglib/index.js +1 -0
- package/tags-html.d.ts +7 -9
package/tags-html.d.ts
CHANGED
|
@@ -188,7 +188,6 @@ declare global {
|
|
|
188
188
|
| "prev"
|
|
189
189
|
| "search"
|
|
190
190
|
| "tag"
|
|
191
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
192
191
|
| (string & {});
|
|
193
192
|
|
|
194
193
|
/**
|
|
@@ -316,7 +315,6 @@ declare global {
|
|
|
316
315
|
| "nofullscreen"
|
|
317
316
|
| "noplaybackrate"
|
|
318
317
|
| "noremoteplayback"
|
|
319
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
320
318
|
| (string & {});
|
|
321
319
|
|
|
322
320
|
/**
|
|
@@ -820,7 +818,6 @@ declare global {
|
|
|
820
818
|
| "opener"
|
|
821
819
|
| "prev"
|
|
822
820
|
| "search"
|
|
823
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
824
821
|
| (string & {});
|
|
825
822
|
/**
|
|
826
823
|
* Specifies the browsing context in which the linked resource will be opened.
|
|
@@ -854,6 +851,8 @@ declare global {
|
|
|
854
851
|
interface Head extends HTMLAttributes<HTMLHeadElement> {
|
|
855
852
|
/** @deprecated */
|
|
856
853
|
profile?: AttrString;
|
|
854
|
+
/** @see https://ogp.me/ */
|
|
855
|
+
prefix?: AttrString;
|
|
857
856
|
}
|
|
858
857
|
interface Header extends HTMLAttributes<HTMLElement> {}
|
|
859
858
|
interface HGroup extends HTMLAttributes<HTMLElement> {}
|
|
@@ -876,6 +875,8 @@ declare global {
|
|
|
876
875
|
manifest?: AttrString;
|
|
877
876
|
/** @deprecated */
|
|
878
877
|
version?: AttrString;
|
|
878
|
+
/** @see https://ogp.me/ */
|
|
879
|
+
prefix?: AttrString;
|
|
879
880
|
}
|
|
880
881
|
interface I extends HTMLAttributes<HTMLElement> {}
|
|
881
882
|
interface IFrame extends HTMLAttributes<HTMLIFrameElement> {
|
|
@@ -930,7 +931,6 @@ declare global {
|
|
|
930
931
|
| "allow-top-navigation-by-user-activation"
|
|
931
932
|
| "allow-top-navigation-to-custom-protocols"
|
|
932
933
|
| "allow-top-navigation"
|
|
933
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
934
934
|
| (string & {});
|
|
935
935
|
/**
|
|
936
936
|
* The URL of the page to embed in the iframe.
|
|
@@ -1435,7 +1435,6 @@ declare global {
|
|
|
1435
1435
|
| "prev"
|
|
1436
1436
|
| "search"
|
|
1437
1437
|
| "stylesheet"
|
|
1438
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1439
1438
|
| (string & {});
|
|
1440
1439
|
|
|
1441
1440
|
/**
|
|
@@ -1509,6 +1508,9 @@ declare global {
|
|
|
1509
1508
|
* @see https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-name
|
|
1510
1509
|
*/
|
|
1511
1510
|
name?: AttrString;
|
|
1511
|
+
|
|
1512
|
+
/** @see https://ogp.me/ */
|
|
1513
|
+
property?: AttrString;
|
|
1512
1514
|
}
|
|
1513
1515
|
interface Meter extends HTMLAttributes<HTMLMeterElement> {
|
|
1514
1516
|
/**
|
|
@@ -1786,7 +1788,6 @@ declare global {
|
|
|
1786
1788
|
| "application/javascript"
|
|
1787
1789
|
| "module"
|
|
1788
1790
|
| "import-map"
|
|
1789
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1790
1791
|
| (string & {});
|
|
1791
1792
|
|
|
1792
1793
|
/** @deprecated */
|
|
@@ -2244,7 +2245,6 @@ declare global {
|
|
|
2244
2245
|
| "nofullscreen"
|
|
2245
2246
|
| "noplaybackrate"
|
|
2246
2247
|
| "noremoteplayback"
|
|
2247
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
2248
2248
|
| (string & {});
|
|
2249
2249
|
|
|
2250
2250
|
/**
|
|
@@ -3780,7 +3780,6 @@ type AttrTarget =
|
|
|
3780
3780
|
| "_parent"
|
|
3781
3781
|
| "_self"
|
|
3782
3782
|
| "_top"
|
|
3783
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
3784
3783
|
| (string & {});
|
|
3785
3784
|
type AttrReferrerPolicy =
|
|
3786
3785
|
| AttrMissing
|
|
@@ -3853,5 +3852,4 @@ type AttrAutoComplete =
|
|
|
3853
3852
|
| "mobile"
|
|
3854
3853
|
| "fax"
|
|
3855
3854
|
| "pager"
|
|
3856
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
3857
3855
|
| (string & {});
|