@saasquatch/mint-components 1.5.0-2 → 1.5.0-3

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 (68) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/mint-components.cjs.js +1 -1
  3. package/dist/cjs/sqm-brand_31.cjs.entry.js +295 -121
  4. package/dist/cjs/sqm-program-explainer-step-view-98958ab1.js +64 -0
  5. package/dist/cjs/sqm-program-explainer-step.cjs.entry.js +3 -16
  6. package/dist/cjs/sqm-program-explainer-view-ba7ed24a.js +44 -0
  7. package/dist/cjs/sqm-program-explainer.cjs.entry.js +4 -33
  8. package/dist/collection/components/sqm-program-explainer/ProgramExplainer.stories.js +42 -29
  9. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer-view.js +35 -28
  10. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +112 -5
  11. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step-view.js +35 -20
  12. package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +23 -46
  13. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeList.stories.js +5 -3
  14. package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +38 -19
  15. package/dist/collection/components/sqm-reward-exchange-list/SVGs.js +3 -0
  16. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +133 -87
  17. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +349 -3
  18. package/dist/collection/components/sqm-reward-exchange-list/useRewardExchangeList.js +17 -4
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/esm/mint-components.js +1 -1
  21. package/dist/esm/sqm-brand_31.entry.js +295 -121
  22. package/dist/esm/sqm-program-explainer-step-view-64fc0c37.js +62 -0
  23. package/dist/esm/sqm-program-explainer-step.entry.js +3 -16
  24. package/dist/esm/sqm-program-explainer-view-68f0d242.js +42 -0
  25. package/dist/esm/sqm-program-explainer.entry.js +7 -36
  26. package/dist/esm-es5/loader.js +1 -1
  27. package/dist/esm-es5/mint-components.js +1 -1
  28. package/dist/esm-es5/sqm-brand_31.entry.js +2 -2
  29. package/dist/esm-es5/sqm-program-explainer-step-view-64fc0c37.js +1 -0
  30. package/dist/esm-es5/sqm-program-explainer-step.entry.js +1 -1
  31. package/dist/esm-es5/sqm-program-explainer-view-68f0d242.js +1 -0
  32. package/dist/esm-es5/sqm-program-explainer.entry.js +1 -1
  33. package/dist/mint-components/mint-components.esm.js +1 -1
  34. package/dist/mint-components/mint-components.js +1 -1
  35. package/dist/mint-components/p-1435350e.system.js +1 -0
  36. package/dist/mint-components/p-16f5a7cb.system.js +1 -1
  37. package/dist/mint-components/p-259d31fc.entry.js +1 -0
  38. package/dist/mint-components/p-5cda79ed.system.entry.js +1 -0
  39. package/dist/mint-components/p-6d6be8bd.system.js +1 -0
  40. package/dist/mint-components/p-864f49d2.system.entry.js +1 -0
  41. package/dist/mint-components/p-8c4931a5.js +1 -0
  42. package/dist/mint-components/p-adcde089.system.entry.js +58 -0
  43. package/dist/mint-components/p-bf7fcf0c.js +1 -0
  44. package/dist/mint-components/{p-7300b0ae.entry.js → p-dd865aa8.entry.js} +15 -15
  45. package/dist/mint-components/p-f52bc20c.entry.js +1 -0
  46. package/dist/types/components/sqm-program-explainer/ProgramExplainer.stories.d.ts +3 -1
  47. package/dist/types/components/sqm-program-explainer/sqm-program-explainer-view.d.ts +9 -0
  48. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +23 -3
  49. package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +9 -12
  50. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeList.stories.d.ts +2 -0
  51. package/dist/types/components/sqm-reward-exchange-list/RewardExchangeListData.d.ts +85 -0
  52. package/dist/types/components/sqm-reward-exchange-list/SVGs.d.ts +1 -0
  53. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.d.ts +3 -0
  54. package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +53 -0
  55. package/dist/types/components/sqm-reward-exchange-list/useRewardExchangeList.d.ts +16 -0
  56. package/dist/types/components.d.ts +166 -19
  57. package/grapesjs/grapesjs.js +1 -1
  58. package/package.json +1 -1
  59. package/dist/cjs/sqm-program-explainer-step-view-0e66bea1.js +0 -49
  60. package/dist/esm/sqm-program-explainer-step-view-26920cf9.js +0 -47
  61. package/dist/esm-es5/sqm-program-explainer-step-view-26920cf9.js +0 -1
  62. package/dist/mint-components/p-1ea0804d.js +0 -1
  63. package/dist/mint-components/p-244f3d9b.system.entry.js +0 -1
  64. package/dist/mint-components/p-4fd17832.entry.js +0 -1
  65. package/dist/mint-components/p-9bda1dc4.system.entry.js +0 -1
  66. package/dist/mint-components/p-d12c666e.system.js +0 -1
  67. package/dist/mint-components/p-ded1509b.entry.js +0 -1
  68. package/dist/mint-components/p-f8c5f710.system.entry.js +0 -58
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-b0129cd6.js');
4
+ const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
5
+
6
+ function ProgramExplainerStepView(props) {
7
+ const style = {
8
+ Container: {
9
+ display: "flex",
10
+ flexDirection: "column",
11
+ width: "100%",
12
+ height: "444px",
13
+ color: props.color,
14
+ background: props.background,
15
+ padding: "24px",
16
+ "@media (max-width: 1024px)": {
17
+ flexDirection: "row",
18
+ width: "auto",
19
+ height: "auto",
20
+ },
21
+ },
22
+ Logo: {},
23
+ Text: {
24
+ "@media (max-width: 1024px)": {
25
+ marginLeft: "24px",
26
+ },
27
+ },
28
+ Title: {
29
+ fontSize: "16px",
30
+ fontWeight: "var(--sl-font-weight-bold)",
31
+ textTransform: "uppercase",
32
+ lineHeight: "24px",
33
+ marginTop: "24px",
34
+ "@media (max-width: 1024px)": {
35
+ margin: "0",
36
+ },
37
+ },
38
+ Description: {
39
+ fontSize: "16px",
40
+ lineHeight: "28px",
41
+ marginTop: "12px",
42
+ "@media (max-width: 1024px)": {
43
+ marginTop: "8px",
44
+ },
45
+ },
46
+ };
47
+ jssPresetDefault_esm.jss.setup(jssPresetDefault_esm.create());
48
+ const sheet = jssPresetDefault_esm.jss.createStyleSheet(style);
49
+ const styleString = sheet.toString();
50
+ return (index.h("div", { class: sheet.classes.Container },
51
+ index.h("style", { type: "text/css" }, styleString),
52
+ index.h("div", { class: sheet.classes.Logo },
53
+ index.h("div", { style: {
54
+ width: "64px",
55
+ height: "64px",
56
+ borderRadius: "100%",
57
+ background: "white",
58
+ } })),
59
+ index.h("div", { class: sheet.classes.Text },
60
+ index.h("div", { class: sheet.classes.Title }, props.title),
61
+ index.h("div", { class: sheet.classes.Description }, props.description))));
62
+ }
63
+
64
+ exports.ProgramExplainerStepView = ProgramExplainerStepView;
@@ -6,8 +6,7 @@ const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
7
  require('./jss-preset-default.esm-6304d24f.js');
8
8
  const utils = require('./utils-95e5317c.js');
9
- const cjs = require('./cjs-1066ec21.js');
10
- const sqmProgramExplainerStepView = require('./sqm-program-explainer-step-view-0e66bea1.js');
9
+ const sqmProgramExplainerStepView = require('./sqm-program-explainer-step-view-98958ab1.js');
11
10
 
12
11
  const ProgramExplainerStep = class {
13
12
  constructor(hostRef) {
@@ -16,20 +15,8 @@ const ProgramExplainerStep = class {
16
15
  }
17
16
  disconnectedCallback() { }
18
17
  render() {
19
- const props = useSidebarDemo(utils.getProps(this));
20
- return index.h(sqmProgramExplainerStepView.ProgramExplainerStepView, Object.assign({}, props));
18
+ return index.h(sqmProgramExplainerStepView.ProgramExplainerStepView, Object.assign({}, utils.getProps(this)));
21
19
  }
22
- };
23
- function useSidebarDemo(props) {
24
- return cjs.cjs({
25
- states: {
26
- active: false,
27
- },
28
- data: {
29
- label: props.label || "Dashboard",
30
- icon: props.icon || "house",
31
- },
32
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
33
- }
20
+ };
34
21
 
35
22
  exports.sqm_program_explainer_step = ProgramExplainerStep;
@@ -0,0 +1,44 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-b0129cd6.js');
4
+ const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
5
+
6
+ function ProgramExplainerView(props, children) {
7
+ const style = {
8
+ Container: {
9
+ display: "flex",
10
+ "@media (max-width: 1024px)": {
11
+ flexDirection: "column",
12
+ },
13
+ },
14
+ Card: {
15
+ padding: "24px",
16
+ color: props.color,
17
+ background: props.background,
18
+ },
19
+ Title: {
20
+ fontSize: "28px",
21
+ lineHeight: "36px",
22
+ fontWeight: "700",
23
+ },
24
+ Description: {
25
+ fontSize: "16px",
26
+ lineHeight: "28px",
27
+ fontWeight: "400",
28
+ marginTop: "8px",
29
+ },
30
+ };
31
+ jssPresetDefault_esm.jss.setup(jssPresetDefault_esm.create());
32
+ const sheet = jssPresetDefault_esm.jss.createStyleSheet(style);
33
+ const styleString = sheet.toString();
34
+ return (index.h("div", null,
35
+ index.h("style", { type: "text/css" }, styleString),
36
+ index.h("div", { class: sheet.classes.Card },
37
+ index.h("div", { class: sheet.classes.Title }, props.header)),
38
+ index.h("div", { class: sheet.classes.Container }, children),
39
+ index.h("div", { class: sheet.classes.Card },
40
+ index.h("div", { class: sheet.classes.Title }, props.title),
41
+ index.h("div", { class: sheet.classes.Description }, props.description))));
42
+ }
43
+
44
+ exports.ProgramExplainerView = ProgramExplainerView;
@@ -4,38 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
6
  const _extends = require('./extends-0302d27d.js');
7
- const jssPresetDefault_esm = require('./jss-preset-default.esm-6304d24f.js');
8
- const mixins = require('./mixins-7b7c59fe.js');
9
-
10
- const style = {
11
- ItemsContainer: {
12
- "min-width": "290px",
13
- "max-width": "320px",
14
- "box-sizing": "border-box",
15
- padding: "20px 15px",
16
- ...mixins.gap({ direction: "column", size: "4px" }),
17
- },
18
- };
19
- const vanillaStyle = `
20
- :host{
21
- width: 30vw;
22
- min-width: min-content;
23
- max-width: 320px;
24
- }
25
- `;
26
- jssPresetDefault_esm.jss.setup(jssPresetDefault_esm.create());
27
- const sheet = jssPresetDefault_esm.jss.createStyleSheet(style);
28
- const styleString = sheet.toString();
29
- function ProgramExplainerView(
30
- // @ts-ignore - Stencil requires props (even if empty)
31
- props, children) {
32
- return (index.h("div", null,
33
- index.h("div", { class: sheet.classes.ItemsContainer },
34
- index.h("style", { type: "text/css" },
35
- vanillaStyle,
36
- styleString),
37
- children)));
38
- }
7
+ require('./jss-preset-default.esm-6304d24f.js');
8
+ const utils = require('./utils-95e5317c.js');
9
+ const sqmProgramExplainerView = require('./sqm-program-explainer-view-ba7ed24a.js');
39
10
 
40
11
  const ProgramExplainer = class {
41
12
  constructor(hostRef) {
@@ -45,7 +16,7 @@ const ProgramExplainer = class {
45
16
  }
46
17
  disconnectedCallback() { }
47
18
  render() {
48
- return (index.h(ProgramExplainerView, null, index.h("slot", null)));
19
+ return (index.h(sqmProgramExplainerView.ProgramExplainerView, Object.assign({}, utils.getProps(this)), index.h("slot", null)));
49
20
  }
50
21
  };
51
22
 
@@ -1,33 +1,46 @@
1
+ import { h } from "@stencil/core";
2
+ import { ProgramExplainerView } from "./sqm-program-explainer-view";
3
+ import { ProgramExplainerStepView } from "../sqm-program-explainer-step/sqm-program-explainer-step-view";
1
4
  export default {
2
5
  title: "Components/Program Explainer",
3
6
  };
4
- export const DefaultProgramExplainerView = () => {
5
- const barProps = {
6
- data: {
7
- programs: [
8
- {
9
- key: "program1",
10
- label: "My Referral Program",
11
- },
12
- {
13
- key: "program2",
14
- label: "My Rewards Program",
15
- },
16
- ],
17
- },
18
- };
19
- const item1Props = {
20
- title: "hello",
21
- description: "world"
22
- };
23
- const item2Props = {
24
- title: "hello",
25
- description: "world"
26
- };
27
- return ("asd"
28
- // <ProgramExplainerView {...barProps}>
29
- // <ProgramExplainerStepView {...item1Props} />
30
- // <ProgramExplainerStepView {...item2Props} />
31
- // </ProgramExplainerView>
32
- );
7
+ const props = {
8
+ header: "Klip Rewards",
9
+ title: "Earn rewards with our loyalty program",
10
+ description: "Earn points by completing tasks like uploading your first video or sharing videos with friends. Use your points to redeem rewards like one free month of Klip Enterprise or two plane tickets to anywhere in North America.",
11
+ color: "black",
12
+ background: "#F3F0EC",
13
+ };
14
+ const steps1 = {
15
+ title: "Invite your friends to Klip",
16
+ description: "Earn up to $1200 in rewards for each referral",
17
+ color: "white",
18
+ background: "#5B3EDA",
19
+ };
20
+ const steps2 = {
21
+ title: "If your friend signs up for a Klip Business plan",
22
+ description: "Get a $50 VISA giftcard when they pay for their first month",
23
+ color: "black",
24
+ background: "#F3CC66",
25
+ };
26
+ const steps3 = {
27
+ title: "If your friend signs up for a Klip Enterprise plan",
28
+ description: "Get up to $1200 in rewards - a $200 VISA giftcard when our sales team qualifies them as a good fit for Klip, and a $1000 VISA giftcard when they become a paying customer",
29
+ color: "black",
30
+ background: "#D3CCF5",
31
+ };
32
+ export const OneStep = () => {
33
+ return (h(ProgramExplainerView, Object.assign({}, props),
34
+ h(ProgramExplainerStepView, Object.assign({}, steps1))));
35
+ };
36
+ export const TwoSteps = () => {
37
+ return (h(ProgramExplainerView, Object.assign({}, props),
38
+ h(ProgramExplainerStepView, Object.assign({}, steps1)),
39
+ h(ProgramExplainerStepView, Object.assign({}, steps2))));
40
+ };
41
+ export const ThreeSteps = () => {
42
+ return (h(ProgramExplainerView, Object.assign({}, props),
43
+ h(ProgramExplainerStepView, Object.assign({}, steps1)),
44
+ h(ProgramExplainerStepView, Object.assign({}, steps2)),
45
+ h(ProgramExplainerStepView, Object.assign({}, steps3))));
33
46
  };
@@ -1,33 +1,40 @@
1
1
  import { h } from "@stencil/core";
2
2
  import jss from "jss";
3
3
  import preset from "jss-preset-default";
4
- import { gap } from "../../global/mixins";
5
- const style = {
6
- ItemsContainer: {
7
- "min-width": "290px",
8
- "max-width": "320px",
9
- "box-sizing": "border-box",
10
- padding: "20px 15px",
11
- ...gap({ direction: "column", size: "4px" }),
12
- },
13
- };
14
- const vanillaStyle = `
15
- :host{
16
- width: 30vw;
17
- min-width: min-content;
18
- max-width: 320px;
19
- }
20
- `;
21
- jss.setup(preset());
22
- const sheet = jss.createStyleSheet(style);
23
- const styleString = sheet.toString();
24
- export function ProgramExplainerView(
25
- // @ts-ignore - Stencil requires props (even if empty)
26
- props, children) {
4
+ export function ProgramExplainerView(props, children) {
5
+ const style = {
6
+ Container: {
7
+ display: "flex",
8
+ "@media (max-width: 1024px)": {
9
+ flexDirection: "column",
10
+ },
11
+ },
12
+ Card: {
13
+ padding: "24px",
14
+ color: props.color,
15
+ background: props.background,
16
+ },
17
+ Title: {
18
+ fontSize: "28px",
19
+ lineHeight: "36px",
20
+ fontWeight: "700",
21
+ },
22
+ Description: {
23
+ fontSize: "16px",
24
+ lineHeight: "28px",
25
+ fontWeight: "400",
26
+ marginTop: "8px",
27
+ },
28
+ };
29
+ jss.setup(preset());
30
+ const sheet = jss.createStyleSheet(style);
31
+ const styleString = sheet.toString();
27
32
  return (h("div", null,
28
- h("div", { class: sheet.classes.ItemsContainer },
29
- h("style", { type: "text/css" },
30
- vanillaStyle,
31
- styleString),
32
- children)));
33
+ h("style", { type: "text/css" }, styleString),
34
+ h("div", { class: sheet.classes.Card },
35
+ h("div", { class: sheet.classes.Title }, props.header)),
36
+ h("div", { class: sheet.classes.Container }, children),
37
+ h("div", { class: sheet.classes.Card },
38
+ h("div", { class: sheet.classes.Title }, props.title),
39
+ h("div", { class: sheet.classes.Description }, props.description))));
33
40
  }
@@ -1,10 +1,9 @@
1
1
  import { withHooks } from "@saasquatch/stencil-hooks";
2
- import { Component, h, State } from "@stencil/core";
2
+ import { Component, h, Prop, State } from "@stencil/core";
3
+ import { getProps } from "../../utils/utils";
3
4
  import { ProgramExplainerView } from "./sqm-program-explainer-view";
4
5
  /**
5
- * A holder for navigation menu items
6
- *
7
- * @uiName Navigation Sidebar
6
+ * @uiName Program Explainer
8
7
  */
9
8
  export class ProgramExplainer {
10
9
  constructor() {
@@ -13,11 +12,119 @@ export class ProgramExplainer {
13
12
  }
14
13
  disconnectedCallback() { }
15
14
  render() {
16
- return (h(ProgramExplainerView, null,
15
+ return (h(ProgramExplainerView, Object.assign({}, getProps(this)),
17
16
  h("slot", null)));
18
17
  }
19
18
  static get is() { return "sqm-program-explainer"; }
20
19
  static get encapsulation() { return "shadow"; }
20
+ static get properties() { return {
21
+ "header": {
22
+ "type": "string",
23
+ "mutable": false,
24
+ "complexType": {
25
+ "original": "string",
26
+ "resolved": "string",
27
+ "references": {}
28
+ },
29
+ "required": false,
30
+ "optional": false,
31
+ "docs": {
32
+ "tags": [{
33
+ "text": "Header",
34
+ "name": "uiName"
35
+ }],
36
+ "text": ""
37
+ },
38
+ "attribute": "header",
39
+ "reflect": false
40
+ },
41
+ "title": {
42
+ "type": "string",
43
+ "mutable": false,
44
+ "complexType": {
45
+ "original": "string",
46
+ "resolved": "string",
47
+ "references": {}
48
+ },
49
+ "required": false,
50
+ "optional": false,
51
+ "docs": {
52
+ "tags": [{
53
+ "text": "Title",
54
+ "name": "uiName"
55
+ }],
56
+ "text": ""
57
+ },
58
+ "attribute": "title",
59
+ "reflect": false
60
+ },
61
+ "description": {
62
+ "type": "string",
63
+ "mutable": false,
64
+ "complexType": {
65
+ "original": "string",
66
+ "resolved": "string",
67
+ "references": {}
68
+ },
69
+ "required": false,
70
+ "optional": false,
71
+ "docs": {
72
+ "tags": [{
73
+ "text": "Description",
74
+ "name": "uiName"
75
+ }],
76
+ "text": ""
77
+ },
78
+ "attribute": "description",
79
+ "reflect": false
80
+ },
81
+ "color": {
82
+ "type": "string",
83
+ "mutable": false,
84
+ "complexType": {
85
+ "original": "string",
86
+ "resolved": "string",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [{
93
+ "text": "Color",
94
+ "name": "uiName"
95
+ }, {
96
+ "text": "color",
97
+ "name": "uiWidget"
98
+ }],
99
+ "text": ""
100
+ },
101
+ "attribute": "color",
102
+ "reflect": false
103
+ },
104
+ "background": {
105
+ "type": "string",
106
+ "mutable": false,
107
+ "complexType": {
108
+ "original": "string",
109
+ "resolved": "string",
110
+ "references": {}
111
+ },
112
+ "required": false,
113
+ "optional": false,
114
+ "docs": {
115
+ "tags": [{
116
+ "text": "Background",
117
+ "name": "uiName"
118
+ }, {
119
+ "text": "color",
120
+ "name": "uiWidget"
121
+ }],
122
+ "text": ""
123
+ },
124
+ "attribute": "background",
125
+ "reflect": false
126
+ }
127
+ }; }
21
128
  static get states() { return {
22
129
  "ignored": {}
23
130
  }; }
@@ -5,41 +5,56 @@ export function ProgramExplainerStepView(props) {
5
5
  const style = {
6
6
  Container: {
7
7
  display: "flex",
8
+ flexDirection: "column",
8
9
  width: "100%",
9
- height: "100%",
10
- placeItems: "center",
11
- placeContent: "center",
10
+ height: "444px",
12
11
  color: props.color,
13
12
  background: props.background,
13
+ padding: "24px",
14
+ "@media (max-width: 1024px)": {
15
+ flexDirection: "row",
16
+ width: "auto",
17
+ height: "auto",
18
+ },
14
19
  },
15
- Logo: {
16
- margin: "var(--sl-spacing-x-large)",
17
- },
20
+ Logo: {},
18
21
  Text: {
19
- margin: "var(--sl-spacing-x-large)",
22
+ "@media (max-width: 1024px)": {
23
+ marginLeft: "24px",
24
+ },
20
25
  },
21
26
  Title: {
27
+ fontSize: "16px",
28
+ fontWeight: "var(--sl-font-weight-bold)",
22
29
  textTransform: "uppercase",
23
- fontSize: "var(--sl-font-size-large)",
24
- fontWeight: "var(--sl-font-weight-semibold)",
30
+ lineHeight: "24px",
31
+ marginTop: "24px",
32
+ "@media (max-width: 1024px)": {
33
+ margin: "0",
34
+ },
25
35
  },
26
36
  Description: {
27
- fontSize: "var(--sl-font-size-medium)",
37
+ fontSize: "16px",
38
+ lineHeight: "28px",
39
+ marginTop: "12px",
40
+ "@media (max-width: 1024px)": {
41
+ marginTop: "8px",
42
+ },
28
43
  },
29
44
  };
30
45
  jss.setup(preset());
31
46
  const sheet = jss.createStyleSheet(style);
32
47
  const styleString = sheet.toString();
33
- return (h("div", { style: {
34
- resize: "both",
35
- overflow: "hidden",
36
- height: "600px",
37
- width: "500px",
38
- } },
39
- h("div", { class: sheet.classes.Container },
40
- h("style", { type: "text/css" }, styleString),
41
- h("div", { class: sheet.classes.Logo },
42
- h("div", { style: { width: "64px", height: "64px", background: "white" } })),
48
+ return (h("div", { class: sheet.classes.Container },
49
+ h("style", { type: "text/css" }, styleString),
50
+ h("div", { class: sheet.classes.Logo },
51
+ h("div", { style: {
52
+ width: "64px",
53
+ height: "64px",
54
+ borderRadius: "100%",
55
+ background: "white",
56
+ } })),
57
+ h("div", { class: sheet.classes.Text },
43
58
  h("div", { class: sheet.classes.Title }, props.title),
44
59
  h("div", { class: sheet.classes.Description }, props.description))));
45
60
  }