@behold/widget 0.5.63 → 0.5.64
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ export default class BaseElement extends HTMLElement {
|
|
37
37
|
/**
|
38
38
|
* Register a callback to fire on resize
|
39
39
|
*/
|
40
|
-
onResize(context:
|
40
|
+
onResize(context: Object, el: HTMLElement, cb: Function): void;
|
41
41
|
/**
|
42
42
|
* Register a callback to fire on intersection
|
43
43
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BaseElement.d.ts","sourceRoot":"","sources":["../../src/elements/BaseElement.ts"],"names":[],"mappings":"AAGA,QAAA,IAAI,WAAW;;;;;CAKd,CAAA;AA4BD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,WAAW;IAClD,KAAK,SAAgB;IACrB,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAY;IAC9C,kBAAkB,EAAE,MAAM,EAAE,CAAK;IACjC,gBAAgB,EAAE,OAAO,CAAQ;IACjC,kBAAkB,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAY;IACvD,yBAAyB,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAY;IAC9D,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAY;IAC1C,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAoB;IACtD,wBAAwB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAY;IACnD,eAAe,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAY;IAC1C,kBAAkB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAY;IAC7C,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAY;IACrC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAY;;IAkDzC;;OAEG;IACH,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAU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AAE,EAAE,MAAM,GAAG,IAAI;IAK3B;;;;;OAKG;IACH,EAAE,CAAC,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM;IASnD;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAK1B;;;OAGG;IACH,sBAAsB;CAcvB"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import BaseElement from './BaseElement';
|
2
2
|
/**
|
3
3
|
* @description
|
4
|
-
* Required props: 'post', 'widgetSettings', 'feedMetadata', 'medianPaletteHSL'
|
4
|
+
* Required props: 'post', 'widgetSettings', 'feedMetadata', 'medianPaletteHSL', 'index', 'totalPosts'
|
5
5
|
*/
|
6
6
|
export default class BasePost extends BaseElement {
|
7
7
|
label: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createElement.d.ts","sourceRoot":"","sources":["../../src/lib/createElement.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"createElement.d.ts","sourceRoot":"","sources":["../../src/lib/createElement.ts"],"names":[],"mappings":"AAGA,iBAAS,aAAa,CAAC,UAAU,GAAG,WAAW,EAC7C,IAAI,EAAE,iBAAiB,GACtB,UAAU,CAyDZ;AAED,eAAe,aAAa,CAAA;AAE5B,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;IAChC,QAAQ,CAAC,EAAE,qBAAqB,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,KAAK,qBAAqB,GAAG,IAAI,GAAG,MAAM,GAAG,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@behold/widget",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.64",
|
4
4
|
"author": "Griffin Johnston",
|
5
5
|
"license": "UNLICENSED",
|
6
6
|
"keywords": [
|
@@ -42,6 +42,7 @@
|
|
42
42
|
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
|
43
43
|
"@rollup/plugin-terser": "^0.4.4",
|
44
44
|
"@rollup/plugin-typescript": "^11.1.5",
|
45
|
+
"@rollup/plugin-image": "^3.0.3",
|
45
46
|
"autoprefixer": "^10.4.16",
|
46
47
|
"http-server": "^14.1.1",
|
47
48
|
"postcss": "^8.4.31",
|
@@ -52,8 +53,5 @@
|
|
52
53
|
"rollup-plugin-svg": "^2.0.0",
|
53
54
|
"tslib": "^2.6.2",
|
54
55
|
"typescript": "^5.3.3"
|
55
|
-
},
|
56
|
-
"dependencies": {
|
57
|
-
"@rollup/plugin-image": "^3.0.3"
|
58
56
|
}
|
59
57
|
}
|