@orago/dodo 0.0.8 → 0.0.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/dist/plugins/index.cjs +1 -1
- package/dist/plugins/index.d.ts +3 -3
- package/dist/plugins/index.mjs +1 -1
- package/dist/plugins/plugin-style.cjs +1 -1
- package/dist/plugins/plugin-style.cjs.map +1 -1
- package/dist/plugins/plugin-style.d.ts +26 -4
- package/dist/plugins/plugin-style.mjs +1 -1
- package/dist/plugins/plugin-style.mjs.map +1 -1
- package/dist/plugins/plugin-tracking.d.ts +10 -1
- package/package.json +1 -1
- package/src/plugins/index.ts +2 -2
package/dist/plugins/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./plugin-animate.cjs"),t=require("./plugin-schema.cjs"),n=require("./plugin-tracking.cjs"),r=require("./plugin-style.cjs"),i=require("./addon-methods.cjs");exports.$dodoEach=i.$dodoEach,exports.$dodoFocus=i.$dodoFocus,exports.$dodoInDom=i.$dodoInDom,exports.$dodoRemove=i.$dodoRemove,exports.$dodoReplace=i.$dodoReplace,exports.$dodoSiblings=i.$dodoSiblings,exports.$dodoSwap=i.$dodoSwap,exports.$dodoTextAreaTabSupport=i.$dodoTextAreaTabSupport,exports.$dodoUnwrap=i.$dodoUnwrap,exports.$dodoWrap=i.$dodoWrap,exports.DodoRef=n.DodoRef,exports.FinchPlugin=r.FinchPlugin,exports.SchemaPlugin=t.SchemaPlugin,exports.SizeTrackingPlugin=n.SizeTrackingPlugin,exports.StateTrackingPlugin=n.StateTrackingPlugin,exports.animateStyles=e.animateStyles;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./plugin-animate.cjs"),t=require("./plugin-schema.cjs"),n=require("./plugin-tracking.cjs"),r=require("./plugin-style.cjs"),i=require("./addon-methods.cjs");exports.$dodoEach=i.$dodoEach,exports.$dodoFocus=i.$dodoFocus,exports.$dodoInDom=i.$dodoInDom,exports.$dodoRemove=i.$dodoRemove,exports.$dodoReplace=i.$dodoReplace,exports.$dodoSiblings=i.$dodoSiblings,exports.$dodoStyleRef=r.$dodoStyleRef,exports.$dodoSwap=i.$dodoSwap,exports.$dodoTextAreaTabSupport=i.$dodoTextAreaTabSupport,exports.$dodoUnwrap=i.$dodoUnwrap,exports.$dodoWrap=i.$dodoWrap,exports.DodoRef=n.DodoRef,exports.DodoTagGroup=n.DodoTagGroup,exports.FinchPlugin=r.FinchPlugin,exports.FinchSheet=r.FinchSheet,exports.SchemaPlugin=t.SchemaPlugin,exports.SizeTrackingPlugin=n.SizeTrackingPlugin,exports.StateTrackingPlugin=n.StateTrackingPlugin,exports.animateStyles=e.animateStyles;
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { animateStyles } from "./plugin-animate.js";
|
|
2
2
|
import { SchemaPlugin } from "./plugin-schema.js";
|
|
3
|
-
import { DodoRef, SizeTrackingPlugin, StateTrackingPlugin } from "./plugin-tracking.js";
|
|
4
|
-
import { FinchPlugin } from "./plugin-style.js";
|
|
3
|
+
import { DodoRef, DodoTagGroup, SizeTrackingPlugin, StateTrackingPlugin } from "./plugin-tracking.js";
|
|
4
|
+
import { $dodoStyleRef, FinchPlugin, FinchSheet } from "./plugin-style.js";
|
|
5
5
|
import { $dodoEach, $dodoFocus, $dodoInDom, $dodoRemove, $dodoReplace, $dodoSiblings, $dodoSwap, $dodoTextAreaTabSupport, $dodoUnwrap, $dodoWrap } from "./addon-methods.js";
|
|
6
|
-
export { $dodoEach, $dodoFocus, $dodoInDom, $dodoRemove, $dodoReplace, $dodoSiblings, $dodoSwap, $dodoTextAreaTabSupport, $dodoUnwrap, $dodoWrap, DodoRef, FinchPlugin, SchemaPlugin, SizeTrackingPlugin, StateTrackingPlugin, animateStyles };
|
|
6
|
+
export { $dodoEach, $dodoFocus, $dodoInDom, $dodoRemove, $dodoReplace, $dodoSiblings, $dodoStyleRef, $dodoSwap, $dodoTextAreaTabSupport, $dodoUnwrap, $dodoWrap, DodoRef, DodoTagGroup, FinchPlugin, FinchSheet, SchemaPlugin, SizeTrackingPlugin, StateTrackingPlugin, animateStyles };
|
package/dist/plugins/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{animateStyles as e}from"./plugin-animate.mjs";import{SchemaPlugin as t}from"./plugin-schema.mjs";import{DodoRef as n,
|
|
1
|
+
import{animateStyles as e}from"./plugin-animate.mjs";import{SchemaPlugin as t}from"./plugin-schema.mjs";import{DodoRef as n,DodoTagGroup as r,SizeTrackingPlugin as i,StateTrackingPlugin as a}from"./plugin-tracking.mjs";import{$dodoStyleRef as o,FinchPlugin as s,FinchSheet as c}from"./plugin-style.mjs";import{$dodoEach as l,$dodoFocus as u,$dodoInDom as d,$dodoRemove as f,$dodoReplace as p,$dodoSiblings as m,$dodoSwap as h,$dodoTextAreaTabSupport as g,$dodoUnwrap as _,$dodoWrap as v}from"./addon-methods.mjs";export{l as $dodoEach,u as $dodoFocus,d as $dodoInDom,f as $dodoRemove,p as $dodoReplace,m as $dodoSiblings,o as $dodoStyleRef,h as $dodoSwap,g as $dodoTextAreaTabSupport,_ as $dodoUnwrap,v as $dodoWrap,n as DodoRef,r as DodoTagGroup,s as FinchPlugin,c as FinchSheet,t as SchemaPlugin,i as SizeTrackingPlugin,a as StateTrackingPlugin,e as animateStyles};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("../dodo.cjs")
|
|
1
|
+
const e=require("../dodo.cjs"),t=require("./plugin-tracking.cjs");let n=require("@orago/kiwi/finch/finch");var r=class{static sheet(t){return e.oo(`style`).value(n.Builder.renderSheet(t,{indent:0,gap:1}))}},i=class{constructor(){this.style=e.oo(`style`),this.groups=new Set}add(...e){for(let t of e)this.groups.add(t);return this}delete(...e){for(let t of e)this.groups.delete(t);return this}render(){let e=n.Builder.group(Array.from(this.groups));return this.style.value(n.Builder.renderSheet(e,{indent:0,gap:1})),this}};function a(r){let a=new t.DodoTagGroup,o=new i,s=n.Builder.group([n.Builder.style(a.getQuerySelector(),r)]);return o.add(s).render(),{group:a,sheet:o,use:e=>a.reference()(e),head(t=document.head){return e.oo(t).append(o.style),this}}}exports.$dodoStyleRef=a,exports.FinchPlugin=r,exports.FinchSheet=i;
|
|
2
2
|
//# sourceMappingURL=plugin-style.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-style.cjs","names":["oo","Builder"],"sources":["../../src/plugins/plugin-style.ts"],"sourcesContent":["import { Builder, BuilderGroup, FinchStyle } from \"@orago/kiwi/finch/finch\";\r\nimport { type Dodo, Extractable, oo } from \"../dodo.js\";\r\nimport { DodoTagGroup } from \"./plugin-tracking.js\";\r\n\r\nexport class FinchPlugin {\r\n\tstatic sheet(group: BuilderGroup): Dodo {\r\n\t\treturn oo(\"style\").value(\r\n\t\t\tBuilder.renderSheet(group, { indent: 0, gap: 1 }),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport class FinchSheet {\r\n\tstyle = oo(\"style\");\r\n\tgroups: Set<BuilderGroup> = new Set();\r\n\tconstructor() {}\r\n\r\n\tadd(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.add(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\tdelete(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.delete(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\trender(): this {\r\n\t\tconst grouped = Builder.group(Array.from(this.groups));\r\n\t\tthis.style.value(Builder.renderSheet(grouped, { indent: 0, gap: 1 }));\r\n\t\treturn this;\r\n\t}\r\n}\r\n\r\nexport function $dodoStyleRef(style: FinchStyle) {\r\n\tconst group = new DodoTagGroup();\r\n\tconst sheet = new FinchSheet();\r\n\tconst style_group = Builder.group([\r\n\t\tBuilder.style(group.getQuerySelector(), style),\r\n\t]);\r\n\tsheet.add(style_group).render();\r\n\r\n\treturn {\r\n\t\tgroup,\r\n\t\tsheet,\r\n\t\tuse: (dodo: Dodo) => group.reference()(dodo),\r\n\t\t/**\r\n\t\t * add to dom head\r\n\t\t */\r\n\t\thead(head: Extractable = document.head) {\r\n\t\t\too(head).append(sheet.style);\r\n\t\t\treturn this;\r\n\t\t},\r\n\t};\r\n}\r\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin-style.cjs","names":["oo","Builder","DodoTagGroup"],"sources":["../../src/plugins/plugin-style.ts"],"sourcesContent":["import { Builder, BuilderGroup, FinchStyle } from \"@orago/kiwi/finch/finch\";\r\nimport { type Dodo, Extractable, oo } from \"../dodo.js\";\r\nimport { DodoTagGroup } from \"./plugin-tracking.js\";\r\n\r\nexport class FinchPlugin {\r\n\tstatic sheet(group: BuilderGroup): Dodo {\r\n\t\treturn oo(\"style\").value(\r\n\t\t\tBuilder.renderSheet(group, { indent: 0, gap: 1 }),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport class FinchSheet {\r\n\tstyle = oo(\"style\");\r\n\tgroups: Set<BuilderGroup> = new Set();\r\n\tconstructor() {}\r\n\r\n\tadd(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.add(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\tdelete(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.delete(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\trender(): this {\r\n\t\tconst grouped = Builder.group(Array.from(this.groups));\r\n\t\tthis.style.value(Builder.renderSheet(grouped, { indent: 0, gap: 1 }));\r\n\t\treturn this;\r\n\t}\r\n}\r\n\r\nexport function $dodoStyleRef(style: FinchStyle) {\r\n\tconst group = new DodoTagGroup();\r\n\tconst sheet = new FinchSheet();\r\n\tconst style_group = Builder.group([\r\n\t\tBuilder.style(group.getQuerySelector(), style),\r\n\t]);\r\n\tsheet.add(style_group).render();\r\n\r\n\treturn {\r\n\t\tgroup,\r\n\t\tsheet,\r\n\t\tuse: (dodo: Dodo) => group.reference()(dodo),\r\n\t\t/**\r\n\t\t * add to dom head\r\n\t\t */\r\n\t\thead(head: Extractable = document.head) {\r\n\t\t\too(head).append(sheet.style);\r\n\t\t\treturn this;\r\n\t\t},\r\n\t};\r\n}\r\n"],"mappings":"2GAIA,IAAa,EAAb,KAAyB,CACxB,OAAO,MAAM,EAA2B,CACvC,OAAOA,EAAAA,GAAG,OAAO,CAAC,CAAC,MAClBC,EAAAA,QAAQ,YAAY,EAAO,CAAE,OAAQ,EAAG,IAAK,CAAE,CAAC,CACjD,CACD,CACD,EAEa,EAAb,KAAwB,CAGvB,aAAc,CAFND,KAAAA,MAAAA,EAAAA,GAAG,OAAO,EACU,KAAA,OAAA,IAAI,GACjB,CAEf,IAAI,GAAG,EAA8B,CACpC,IAAK,IAAM,KAAS,EACnB,KAAK,OAAO,IAAI,CAAK,EAEtB,OAAO,IACR,CAEA,OAAO,GAAG,EAA8B,CACvC,IAAK,IAAM,KAAS,EACnB,KAAK,OAAO,OAAO,CAAK,EAEzB,OAAO,IACR,CAEA,QAAe,CACd,IAAM,EAAUC,EAAAA,QAAQ,MAAM,MAAM,KAAK,KAAK,MAAM,CAAC,EAErD,OADA,KAAK,MAAM,MAAMA,EAAAA,QAAQ,YAAY,EAAS,CAAE,OAAQ,EAAG,IAAK,CAAE,CAAC,CAAC,EAC7D,IACR,CACD,EAEA,SAAgB,EAAc,EAAmB,CAChD,IAAM,EAAQ,IAAIC,EAAAA,aACZ,EAAQ,IAAI,EACZ,EAAcD,EAAAA,QAAQ,MAAM,CACjCA,EAAAA,QAAQ,MAAM,EAAM,iBAAiB,EAAG,CAAK,CAC9C,CAAC,EAGD,OAFA,EAAM,IAAI,CAAW,CAAC,CAAC,OAAO,EAEvB,CACN,QACA,QACA,IAAM,GAAe,EAAM,UAAU,CAAC,CAAC,CAAI,EAI3C,KAAK,EAAoB,SAAS,KAAM,CAEvC,OADA,EAAA,GAAG,CAAI,CAAC,CAAC,OAAO,EAAM,KAAK,EACpB,IACR,CACD,CACD"}
|
|
@@ -1,10 +1,32 @@
|
|
|
1
|
-
import { Dodo } from "../dodo.js";
|
|
2
|
-
import "./plugin-tracking.js";
|
|
3
|
-
import { BuilderGroup } from "@orago/kiwi/finch/finch";
|
|
1
|
+
import { Dodo, Extractable } from "../dodo.js";
|
|
2
|
+
import { DodoTagGroup } from "./plugin-tracking.js";
|
|
3
|
+
import { BuilderGroup, FinchStyle } from "@orago/kiwi/finch/finch";
|
|
4
4
|
//#region src/plugins/plugin-style.d.ts
|
|
5
5
|
declare class FinchPlugin {
|
|
6
6
|
static sheet(group: BuilderGroup): Dodo;
|
|
7
7
|
}
|
|
8
|
+
declare class FinchSheet {
|
|
9
|
+
style: Dodo<HTMLElement>;
|
|
10
|
+
groups: Set<BuilderGroup>;
|
|
11
|
+
constructor();
|
|
12
|
+
add(...groups: BuilderGroup[]): this;
|
|
13
|
+
delete(...groups: BuilderGroup[]): this;
|
|
14
|
+
render(): this;
|
|
15
|
+
}
|
|
16
|
+
declare function $dodoStyleRef(style: FinchStyle): {
|
|
17
|
+
group: DodoTagGroup;
|
|
18
|
+
sheet: FinchSheet;
|
|
19
|
+
use: (dodo: Dodo) => void;
|
|
20
|
+
/**
|
|
21
|
+
* add to dom head
|
|
22
|
+
*/
|
|
23
|
+
head(head?: Extractable): {
|
|
24
|
+
group: DodoTagGroup;
|
|
25
|
+
sheet: FinchSheet;
|
|
26
|
+
use: (dodo: Dodo) => void;
|
|
27
|
+
head(head?: Extractable): /*elided*/ any;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
8
30
|
//#endregion
|
|
9
|
-
export { FinchPlugin };
|
|
31
|
+
export { $dodoStyleRef, FinchPlugin, FinchSheet };
|
|
10
32
|
//# sourceMappingURL=plugin-style.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{oo as e}from"../dodo.mjs";import"./plugin-tracking.mjs";import{Builder as
|
|
1
|
+
import{oo as e}from"../dodo.mjs";import{DodoTagGroup as t}from"./plugin-tracking.mjs";import{Builder as n}from"@orago/kiwi/finch/finch";var r=class{static sheet(t){return e(`style`).value(n.renderSheet(t,{indent:0,gap:1}))}},i=class{constructor(){this.style=e(`style`),this.groups=new Set}add(...e){for(let t of e)this.groups.add(t);return this}delete(...e){for(let t of e)this.groups.delete(t);return this}render(){let e=n.group(Array.from(this.groups));return this.style.value(n.renderSheet(e,{indent:0,gap:1})),this}};function a(r){let a=new t,o=new i,s=n.group([n.style(a.getQuerySelector(),r)]);return o.add(s).render(),{group:a,sheet:o,use:e=>a.reference()(e),head(t=document.head){return e(t).append(o.style),this}}}export{a as $dodoStyleRef,r as FinchPlugin,i as FinchSheet};
|
|
2
2
|
//# sourceMappingURL=plugin-style.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-style.mjs","names":[],"sources":["../../src/plugins/plugin-style.ts"],"sourcesContent":["import { Builder, BuilderGroup, FinchStyle } from \"@orago/kiwi/finch/finch\";\r\nimport { type Dodo, Extractable, oo } from \"../dodo.js\";\r\nimport { DodoTagGroup } from \"./plugin-tracking.js\";\r\n\r\nexport class FinchPlugin {\r\n\tstatic sheet(group: BuilderGroup): Dodo {\r\n\t\treturn oo(\"style\").value(\r\n\t\t\tBuilder.renderSheet(group, { indent: 0, gap: 1 }),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport class FinchSheet {\r\n\tstyle = oo(\"style\");\r\n\tgroups: Set<BuilderGroup> = new Set();\r\n\tconstructor() {}\r\n\r\n\tadd(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.add(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\tdelete(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.delete(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\trender(): this {\r\n\t\tconst grouped = Builder.group(Array.from(this.groups));\r\n\t\tthis.style.value(Builder.renderSheet(grouped, { indent: 0, gap: 1 }));\r\n\t\treturn this;\r\n\t}\r\n}\r\n\r\nexport function $dodoStyleRef(style: FinchStyle) {\r\n\tconst group = new DodoTagGroup();\r\n\tconst sheet = new FinchSheet();\r\n\tconst style_group = Builder.group([\r\n\t\tBuilder.style(group.getQuerySelector(), style),\r\n\t]);\r\n\tsheet.add(style_group).render();\r\n\r\n\treturn {\r\n\t\tgroup,\r\n\t\tsheet,\r\n\t\tuse: (dodo: Dodo) => group.reference()(dodo),\r\n\t\t/**\r\n\t\t * add to dom head\r\n\t\t */\r\n\t\thead(head: Extractable = document.head) {\r\n\t\t\too(head).append(sheet.style);\r\n\t\t\treturn this;\r\n\t\t},\r\n\t};\r\n}\r\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin-style.mjs","names":[],"sources":["../../src/plugins/plugin-style.ts"],"sourcesContent":["import { Builder, BuilderGroup, FinchStyle } from \"@orago/kiwi/finch/finch\";\r\nimport { type Dodo, Extractable, oo } from \"../dodo.js\";\r\nimport { DodoTagGroup } from \"./plugin-tracking.js\";\r\n\r\nexport class FinchPlugin {\r\n\tstatic sheet(group: BuilderGroup): Dodo {\r\n\t\treturn oo(\"style\").value(\r\n\t\t\tBuilder.renderSheet(group, { indent: 0, gap: 1 }),\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport class FinchSheet {\r\n\tstyle = oo(\"style\");\r\n\tgroups: Set<BuilderGroup> = new Set();\r\n\tconstructor() {}\r\n\r\n\tadd(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.add(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\tdelete(...groups: BuilderGroup[]): this {\r\n\t\tfor (const group of groups) {\r\n\t\t\tthis.groups.delete(group);\r\n\t\t}\r\n\t\treturn this;\r\n\t}\r\n\r\n\trender(): this {\r\n\t\tconst grouped = Builder.group(Array.from(this.groups));\r\n\t\tthis.style.value(Builder.renderSheet(grouped, { indent: 0, gap: 1 }));\r\n\t\treturn this;\r\n\t}\r\n}\r\n\r\nexport function $dodoStyleRef(style: FinchStyle) {\r\n\tconst group = new DodoTagGroup();\r\n\tconst sheet = new FinchSheet();\r\n\tconst style_group = Builder.group([\r\n\t\tBuilder.style(group.getQuerySelector(), style),\r\n\t]);\r\n\tsheet.add(style_group).render();\r\n\r\n\treturn {\r\n\t\tgroup,\r\n\t\tsheet,\r\n\t\tuse: (dodo: Dodo) => group.reference()(dodo),\r\n\t\t/**\r\n\t\t * add to dom head\r\n\t\t */\r\n\t\thead(head: Extractable = document.head) {\r\n\t\t\too(head).append(sheet.style);\r\n\t\t\treturn this;\r\n\t\t},\r\n\t};\r\n}\r\n"],"mappings":"wIAIA,IAAa,EAAb,KAAyB,CACxB,OAAO,MAAM,EAA2B,CACvC,OAAO,EAAG,OAAO,CAAC,CAAC,MAClB,EAAQ,YAAY,EAAO,CAAE,OAAQ,EAAG,IAAK,CAAE,CAAC,CACjD,CACD,CACD,EAEa,EAAb,KAAwB,CAGvB,aAAc,CAFN,KAAA,MAAA,EAAG,OAAO,EACU,KAAA,OAAA,IAAI,GACjB,CAEf,IAAI,GAAG,EAA8B,CACpC,IAAK,IAAM,KAAS,EACnB,KAAK,OAAO,IAAI,CAAK,EAEtB,OAAO,IACR,CAEA,OAAO,GAAG,EAA8B,CACvC,IAAK,IAAM,KAAS,EACnB,KAAK,OAAO,OAAO,CAAK,EAEzB,OAAO,IACR,CAEA,QAAe,CACd,IAAM,EAAU,EAAQ,MAAM,MAAM,KAAK,KAAK,MAAM,CAAC,EAErD,OADA,KAAK,MAAM,MAAM,EAAQ,YAAY,EAAS,CAAE,OAAQ,EAAG,IAAK,CAAE,CAAC,CAAC,EAC7D,IACR,CACD,EAEA,SAAgB,EAAc,EAAmB,CAChD,IAAM,EAAQ,IAAI,EACZ,EAAQ,IAAI,EACZ,EAAc,EAAQ,MAAM,CACjC,EAAQ,MAAM,EAAM,iBAAiB,EAAG,CAAK,CAC9C,CAAC,EAGD,OAFA,EAAM,IAAI,CAAW,CAAC,CAAC,OAAO,EAEvB,CACN,QACA,QACA,IAAM,GAAe,EAAM,UAAU,CAAC,CAAC,CAAI,EAI3C,KAAK,EAAoB,SAAS,KAAM,CAEvC,OADA,EAAG,CAAI,CAAC,CAAC,OAAO,EAAM,KAAK,EACpB,IACR,CACD,CACD"}
|
|
@@ -35,6 +35,15 @@ declare class SizeTrackingPlugin {
|
|
|
35
35
|
static initNodeTracking(node: Dodo): void;
|
|
36
36
|
static plugin(): DodoGlobalPlugin;
|
|
37
37
|
}
|
|
38
|
+
declare class DodoTagGroup {
|
|
39
|
+
static index: number;
|
|
40
|
+
tag_id: number;
|
|
41
|
+
getTag(): string;
|
|
42
|
+
getQuerySelector(): string;
|
|
43
|
+
reference(value?: string): (node: Dodo<any>) => void;
|
|
44
|
+
findAll(): Dodo[];
|
|
45
|
+
count(): number;
|
|
46
|
+
}
|
|
38
47
|
//#endregion
|
|
39
|
-
export { DodoRef, SizeTrackingPlugin, StateTrackingPlugin };
|
|
48
|
+
export { DodoRef, DodoTagGroup, SizeTrackingPlugin, StateTrackingPlugin };
|
|
40
49
|
//# sourceMappingURL=plugin-tracking.d.ts.map
|
package/package.json
CHANGED
package/src/plugins/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { animateStyles } from "./plugin-animate.js";
|
|
2
2
|
export { SchemaPlugin } from "./plugin-schema.js";
|
|
3
|
-
export
|
|
3
|
+
export * from "./plugin-style.js";
|
|
4
4
|
export {
|
|
5
5
|
DodoRef,
|
|
6
6
|
SizeTrackingPlugin,
|
|
7
7
|
StateTrackingPlugin,
|
|
8
|
+
DodoTagGroup,
|
|
8
9
|
} from "./plugin-tracking.js";
|
|
9
|
-
|
|
10
10
|
export * from "./addon-methods.js";
|