@htmlbricks/hb-payment-paypal 0.8.39 → 0.8.42
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/extra/docs.ts +13 -5
- package/package.json +3 -3
- package/release/docs.js +11 -4
- package/release/docs.js.map +1 -1
- package/release/docs.mjs +11 -4
- package/release/docs.ts +13 -5
- package/release/manifest.json +12 -4
package/extra/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
// payByCard: { action: "payByCard" },
|
|
@@ -24,15 +25,22 @@ export const styleSetup: StyleSetup = {
|
|
|
24
25
|
parts: cssParts,
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
const examples: Component[] = [
|
|
29
|
+
{
|
|
30
|
+
currency: "EUR",
|
|
31
|
+
total: 40,
|
|
32
|
+
paypalid: "test",
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
28
36
|
definitions: null,
|
|
29
37
|
storybookArgs,
|
|
30
38
|
styleSetup,
|
|
31
39
|
htmlSlots,
|
|
32
40
|
i18n: i18nLanguages,
|
|
33
|
-
examples
|
|
34
|
-
name: "",
|
|
35
|
-
category: "",
|
|
36
|
-
tags: [],
|
|
41
|
+
examples,
|
|
42
|
+
name: "hb-payment-paypal",
|
|
43
|
+
category: "payment",
|
|
44
|
+
tags: ["payment"],
|
|
37
45
|
size: {},
|
|
38
46
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@htmlbricks/hb-payment-paypal",
|
|
3
3
|
"displayName": "Svelte Paypal Payment WebComponent",
|
|
4
4
|
"description": "Svelte Paypal Payment WebComponent",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.42",
|
|
6
6
|
"main": "release/release.js",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepublish": "npm run build:release"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@htmlbricks/hb-jsutils": "^0.8.
|
|
33
|
+
"@htmlbricks/hb-jsutils": "^0.8.42",
|
|
34
34
|
"@htmlbricks/manifester": "^0.0.5",
|
|
35
35
|
"@rollup/plugin-alias": "^3.1.2",
|
|
36
36
|
"@rollup/plugin-commonjs": "^18.0.0",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"html5-webcomponents"
|
|
82
82
|
],
|
|
83
83
|
"contributors": [],
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "d6919a86b5627d502a37fe2a28830a32724d0a52"
|
|
85
85
|
}
|
package/release/docs.js
CHANGED
|
@@ -19,16 +19,23 @@ export var styleSetup = {
|
|
|
19
19
|
vars: cssVars,
|
|
20
20
|
parts: cssParts
|
|
21
21
|
};
|
|
22
|
+
var examples = [
|
|
23
|
+
{
|
|
24
|
+
currency: "EUR",
|
|
25
|
+
total: 40,
|
|
26
|
+
paypalid: "test"
|
|
27
|
+
},
|
|
28
|
+
];
|
|
22
29
|
export var componentSetup = {
|
|
23
30
|
definitions: null,
|
|
24
31
|
storybookArgs: storybookArgs,
|
|
25
32
|
styleSetup: styleSetup,
|
|
26
33
|
htmlSlots: htmlSlots,
|
|
27
34
|
i18n: i18nLanguages,
|
|
28
|
-
examples:
|
|
29
|
-
name: "",
|
|
30
|
-
category: "",
|
|
31
|
-
tags: [],
|
|
35
|
+
examples: examples,
|
|
36
|
+
name: "hb-payment-paypal",
|
|
37
|
+
category: "payment",
|
|
38
|
+
tags: ["payment"],
|
|
32
39
|
size: {}
|
|
33
40
|
};
|
|
34
41
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../extra/docs.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,IAAM,aAAa,GAAG;IAC5B,sCAAsC;IACtC,gBAAgB,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE;IAChD,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACzC,QAAQ,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;CACzC,CAAC;AAEF,IAAM,OAAO,GAAa;IACzB;QACC,IAAI,EAAE,sBAAsB;QAC5B,YAAY,EAAE,wCAAwC;QACtD,WAAW,EAAE,EAAE;QACf,SAAS,EAAE,QAAQ;KACnB;CACD,CAAC;AACF,MAAM,CAAC,IAAM,QAAQ,GAAc,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,CAAC,CAAC;AACvF,MAAM,CAAC,IAAM,SAAS,GAAe,EAAE,CAAC;AACxC,MAAM,CAAC,IAAM,aAAa,GAAe,EAAE,CAAC;AAE5C,MAAM,CAAC,IAAM,UAAU,GAAe;IACrC,IAAI,EAAE,OAAO;IACb,KAAK,EAAE,QAAQ;CACf,CAAC;AAEF,IAAM,QAAQ,GAAgB;IAC7B;QACC,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,MAAM;KAChB;CACD,CAAC;AACF,MAAM,CAAC,IAAM,cAAc,GAA+C;IACzE,WAAW,EAAE,IAAI;IACjB,aAAa,eAAA;IACb,UAAU,YAAA;IACV,SAAS,WAAA;IACT,IAAI,EAAE,aAAa;IACnB,QAAQ,UAAA;IACR,IAAI,EAAE,mBAAmB;IACzB,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,CAAC,SAAS,CAAC;IACjB,IAAI,EAAE,EAAE;CACR,CAAC"}
|
package/release/docs.mjs
CHANGED
|
@@ -19,16 +19,23 @@ export var styleSetup = {
|
|
|
19
19
|
vars: cssVars,
|
|
20
20
|
parts: cssParts
|
|
21
21
|
};
|
|
22
|
+
var examples = [
|
|
23
|
+
{
|
|
24
|
+
currency: "EUR",
|
|
25
|
+
total: 40,
|
|
26
|
+
paypalid: "test"
|
|
27
|
+
},
|
|
28
|
+
];
|
|
22
29
|
export var componentSetup = {
|
|
23
30
|
definitions: null,
|
|
24
31
|
storybookArgs: storybookArgs,
|
|
25
32
|
styleSetup: styleSetup,
|
|
26
33
|
htmlSlots: htmlSlots,
|
|
27
34
|
i18n: i18nLanguages,
|
|
28
|
-
examples:
|
|
29
|
-
name: "",
|
|
30
|
-
category: "",
|
|
31
|
-
tags: [],
|
|
35
|
+
examples: examples,
|
|
36
|
+
name: "hb-payment-paypal",
|
|
37
|
+
category: "payment",
|
|
38
|
+
tags: ["payment"],
|
|
32
39
|
size: {}
|
|
33
40
|
};
|
|
34
41
|
//# sourceMappingURL=docs.js.map
|
package/release/docs.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CssPart, CssVar, HtmlSlot, i18nLang, StyleSetup, ComponentSetup } from "@htmlbricks/hb-jsutils/main";
|
|
2
|
+
import type { Component } from "../app/types/webcomponent.type";
|
|
2
3
|
|
|
3
4
|
export const storybookArgs = {
|
|
4
5
|
// payByCard: { action: "payByCard" },
|
|
@@ -24,15 +25,22 @@ export const styleSetup: StyleSetup = {
|
|
|
24
25
|
parts: cssParts,
|
|
25
26
|
};
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
const examples: Component[] = [
|
|
29
|
+
{
|
|
30
|
+
currency: "EUR",
|
|
31
|
+
total: 40,
|
|
32
|
+
paypalid: "test",
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
export const componentSetup: ComponentSetup & { examples: Component[] } = {
|
|
28
36
|
definitions: null,
|
|
29
37
|
storybookArgs,
|
|
30
38
|
styleSetup,
|
|
31
39
|
htmlSlots,
|
|
32
40
|
i18n: i18nLanguages,
|
|
33
|
-
examples
|
|
34
|
-
name: "",
|
|
35
|
-
category: "",
|
|
36
|
-
tags: [],
|
|
41
|
+
examples,
|
|
42
|
+
name: "hb-payment-paypal",
|
|
43
|
+
category: "payment",
|
|
44
|
+
tags: ["payment"],
|
|
37
45
|
size: {},
|
|
38
46
|
};
|
package/release/manifest.json
CHANGED
|
@@ -102,9 +102,17 @@
|
|
|
102
102
|
},
|
|
103
103
|
"htmlSlots": [],
|
|
104
104
|
"i18n": [],
|
|
105
|
-
"examples": [
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
"examples": [
|
|
106
|
+
{
|
|
107
|
+
"currency": "EUR",
|
|
108
|
+
"total": 40,
|
|
109
|
+
"paypalid": "test"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"name": "hb-payment-paypal",
|
|
113
|
+
"category": "payment",
|
|
114
|
+
"tags": [
|
|
115
|
+
"payment"
|
|
116
|
+
],
|
|
109
117
|
"size": {}
|
|
110
118
|
}
|