smoothly 0.3.5 → 0.3.6

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 (103) hide show
  1. package/dist/cjs/{index-3efe2a41.js → index-3fb97927.js} +467 -269
  2. package/dist/cjs/{index-2a011313.js → index-7b75b331.js} +1 -1
  3. package/dist/cjs/index.cjs.js +2 -2
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/smoothly-accordion_53.cjs.entry.js +68 -26
  6. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  7. package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
  8. package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  10. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  11. package/dist/cjs/smoothly.cjs.js +3 -3
  12. package/dist/collection/collection-manifest.json +2 -2
  13. package/dist/collection/components/App.js +38 -46
  14. package/dist/collection/components/accordion/index.js +65 -55
  15. package/dist/collection/components/accordion-item/index.js +133 -131
  16. package/dist/collection/components/app/index.js +37 -32
  17. package/dist/collection/components/app-demo/index.js +39 -68
  18. package/dist/collection/components/backtotop/index.js +73 -66
  19. package/dist/collection/components/button/index.js +144 -141
  20. package/dist/collection/components/calendar/index.js +277 -268
  21. package/dist/collection/components/checkbox/index.js +120 -110
  22. package/dist/collection/components/dialog/index.js +97 -93
  23. package/dist/collection/components/dialog-demo/index.js +2 -3
  24. package/dist/collection/components/display/index.js +108 -102
  25. package/dist/collection/components/display-amount/index.js +68 -63
  26. package/dist/collection/components/display-date-time/index.js +35 -30
  27. package/dist/collection/components/display-demo/index.js +23 -129
  28. package/dist/collection/components/frame/index.js +134 -124
  29. package/dist/collection/components/google-font/index.js +26 -24
  30. package/dist/collection/components/icon/index.js +116 -107
  31. package/dist/collection/components/icon-demo/index.js +11 -7
  32. package/dist/collection/components/input/index.js +364 -355
  33. package/dist/collection/components/input-date/index.js +165 -156
  34. package/dist/collection/components/input-date-range/index.js +220 -213
  35. package/dist/collection/components/input-demo/index.js +2 -87
  36. package/dist/collection/components/input-month/index.js +65 -57
  37. package/dist/collection/components/item/index.js +101 -87
  38. package/dist/collection/components/menu-options/index.js +287 -275
  39. package/dist/collection/components/notification/index.js +74 -63
  40. package/dist/collection/components/notifier/index.js +31 -23
  41. package/dist/collection/components/option/index.js +227 -223
  42. package/dist/collection/components/picker/index.js +404 -397
  43. package/dist/collection/components/popup/index.js +73 -69
  44. package/dist/collection/components/quiet/index.js +33 -28
  45. package/dist/collection/components/radio/index.js +98 -91
  46. package/dist/collection/components/radio-button/index.js +92 -83
  47. package/dist/collection/components/radio-button/item/index.js +91 -66
  48. package/dist/collection/components/radio-button/item/style.css +11 -14
  49. package/dist/collection/components/radio-group/index.js +33 -27
  50. package/dist/collection/components/reorder/index.js +28 -23
  51. package/dist/collection/components/room/index.js +73 -71
  52. package/dist/collection/components/select/index.js +82 -75
  53. package/dist/collection/components/select-demo/index.js +24 -42
  54. package/dist/collection/components/selector/index.js +71 -68
  55. package/dist/collection/components/skeleton/index.js +112 -106
  56. package/dist/collection/components/spinner/index.js +50 -46
  57. package/dist/collection/components/submit/index.js +174 -163
  58. package/dist/collection/components/svg/index.js +65 -60
  59. package/dist/collection/components/tab/index.js +84 -75
  60. package/dist/collection/components/tab-switch/index.js +32 -23
  61. package/dist/collection/components/table/cell/index.js +12 -9
  62. package/dist/collection/components/table/demo/index.js +13 -59
  63. package/dist/collection/components/table/expandable/cell/index.js +100 -95
  64. package/dist/collection/components/table/expandable/row/index.js +85 -79
  65. package/dist/collection/components/table/header/index.js +33 -28
  66. package/dist/collection/components/table/index.js +44 -36
  67. package/dist/collection/components/table/row/index.js +26 -20
  68. package/dist/collection/components/trigger/index.js +174 -166
  69. package/dist/collection/components/trigger-sink/index.js +73 -65
  70. package/dist/collection/components/trigger-source/index.js +71 -63
  71. package/dist/collection/components/tuple/index.js +19 -17
  72. package/dist/collection/components/urlencoded/index.js +22 -20
  73. package/dist/collection/model/Listenable.js +4 -2
  74. package/dist/custom-elements/index.js +67 -25
  75. package/dist/esm/{index-1d438ba2.js → index-3b463176.js} +1 -1
  76. package/dist/esm/{index-4d9efff8.js → index-fcf8bdd3.js} +467 -269
  77. package/dist/esm/index.js +2 -2
  78. package/dist/esm/loader.js +3 -3
  79. package/dist/esm/polyfills/css-shim.js +1 -1
  80. package/dist/esm/smoothly-accordion_53.entry.js +68 -26
  81. package/dist/esm/smoothly-google-font.entry.js +1 -1
  82. package/dist/esm/smoothly-radio-group.entry.js +1 -1
  83. package/dist/esm/smoothly-reorder.entry.js +1 -1
  84. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  85. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  86. package/dist/esm/smoothly.js +3 -3
  87. package/dist/smoothly/index.esm.js +1 -1
  88. package/dist/smoothly/{p-d5d4832d.entry.js → p-0833f25c.entry.js} +1 -1
  89. package/dist/smoothly/{p-919ae3e8.entry.js → p-2bf8c660.entry.js} +1 -1
  90. package/dist/smoothly/{p-8e4e941e.entry.js → p-3bd18eea.entry.js} +1 -1
  91. package/dist/smoothly/p-8ab82f55.entry.js +1 -0
  92. package/dist/smoothly/{p-9bc77fba.entry.js → p-a1c137fc.entry.js} +1 -1
  93. package/dist/smoothly/p-af90d05a.js +2 -0
  94. package/dist/smoothly/{p-76e88859.js → p-e5191036.js} +1 -1
  95. package/dist/smoothly/{p-7a5eda51.entry.js → p-f67259c5.entry.js} +1 -1
  96. package/dist/smoothly/smoothly.esm.js +1 -1
  97. package/dist/types/components/radio-button/item/index.d.ts +2 -0
  98. package/dist/types/components.d.ts +3 -1
  99. package/dist/types/stencil-public-runtime.d.ts +15 -4
  100. package/loader/package.json +1 -0
  101. package/package.json +6 -6
  102. package/dist/smoothly/p-191ee4b8.js +0 -2
  103. package/dist/smoothly/p-78b676aa.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Event, h } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { Notice } from "../../model";
3
3
  export class SmoothlyDisplayDemo {
4
4
  noticeWarning(notice) {
@@ -7,137 +7,31 @@ export class SmoothlyDisplayDemo {
7
7
  }
8
8
  render() {
9
9
  return [
10
- h("main", null,
11
- h("smoothly-popup", null,
12
- h("div", null, "Popup, click me"),
13
- h("div", { color: "dark", slot: "popup" }, "1 line popup")),
14
- h("smoothly-display-date-time", { datetime: "2019-08-15T08:08:17.65Z" }),
15
- h("dl", null,
16
- h("dt", null, "text"),
17
- h("dd", null,
18
- h("smoothly-display", { type: "text", value: "text" })),
19
- h("dt", null, "postal code"),
20
- h("dd", null,
21
- h("smoothly-display", { type: "postal-code", value: "752 31" })),
22
- h("dt", null, "password"),
23
- h("dd", null,
24
- h("smoothly-display", { type: "password", value: "password" })),
25
- h("dt", null, "email"),
26
- h("dd", null,
27
- h("smoothly-display", { type: "email", value: "test@example.com" })),
28
- h("dt", null, "price"),
29
- h("dd", null,
30
- h("smoothly-display", { type: "price", value: "13.37", currency: "SEK" })),
31
- h("dt", null, "display amount without decimals"),
32
- h("dd", null,
33
- h("smoothly-display-amount", { amount: 200, currency: "SEK", toInteger: true })),
34
- h("dt", null, "display amount with decimals if they are set, otherwise no decimal"),
35
- h("dd", null,
36
- h("smoothly-display-amount", { amount: 200.20, currency: "SEK", toInteger: true })),
37
- h("dt", null, "display amount with decimals"),
38
- h("dd", null,
39
- h("smoothly-display-amount", { amount: 200.20, currency: "SEK" })),
40
- h("dt", null, "percent"),
41
- h("dd", null,
42
- h("smoothly-display", { type: "percent", value: "42" })),
43
- h("dt", null, "phone"),
44
- h("dd", null,
45
- h("smoothly-display", { type: "phone", value: "0101881108" })),
46
- h("dt", null, "card number"),
47
- h("dd", null,
48
- h("smoothly-display", { type: "card-number", value: "4111111111111111" })),
49
- h("dt", null, "card expires"),
50
- h("dd", null,
51
- h("smoothly-display", { type: "card-expires", value: "7/22" })),
52
- h("dt", null, "card csc"),
53
- h("dd", null,
54
- h("smoothly-display", { type: "card-csc", value: "987" })),
55
- h("dt", null, "date"),
56
- h("dd", null,
57
- h("smoothly-display", { type: "date", value: "2022-07-07" })),
58
- h("dt", null, "date time"),
59
- h("dd", null,
60
- h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "short", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T02:02:02Z" })),
61
- h("dd", null,
62
- h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "long", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" }, value: "2022-07-07T02:02:02Z" })),
63
- h("dd", null,
64
- h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T12:22:24Z" })),
65
- h("dd", null,
66
- h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T12:22:24Z" })),
67
- h("dd", null,
68
- h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })),
69
- h("dd", null,
70
- h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })),
71
- h("dd", null,
72
- h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZone: "+01:00" }, value: "2022-07-07T12:15Z" })),
73
- h("dt", null, "Deprecated display date time"),
74
- h("dd", null,
75
- h("smoothly-display-date-time", { datetime: "2019-01-31T20:01:34" })),
76
- h("dt", null, "Display amount"),
77
- h("dd", null,
78
- h("smoothly-display-amount", { currency: "SEK", amount: "1289.5" })),
79
- h("dt", null, "Quiet"),
80
- h("dd", null,
81
- h("smoothly-quiet", { color: "dark" }, "-"))),
82
- h("smoothly-skeleton", { period: 3, distance: "20rem", width: "20rem" }),
83
- h("smoothly-skeleton", { period: 3, distance: "20rem", color: "200,200,255" }),
84
- h("smoothly-skeleton", { period: 3, distance: "20rem", color: "var(--smoothly-warning-color)" }),
85
- h("smoothly-skeleton", { period: 3, distance: "20rem" }),
86
- h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem", width: "20rem" }),
87
- h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }),
88
- h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }),
89
- h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }),
90
- h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem", width: "20rem" }),
91
- h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }),
92
- h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }),
93
- h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }),
94
- h("smoothly-urlencoded", { data: "hej=hopp&tjena=moss" }),
95
- h("div", { style: { display: "flex", justifyContent: "space-between" } },
96
- h("smoothly-popup", { direction: "down" },
97
- "Click for popup",
98
- h("span", { slot: "popup", color: "dark", style: { whiteSpace: "nowrap" } }, "Some popup stuff that has a lot of text")),
99
- h("smoothly-popup", { direction: "down" },
100
- "Click for popup",
101
- h("span", { slot: "popup", color: "dark", style: { whiteSpace: "nowrap" } }, "Some popup with a bunch of text."))),
102
- h("p", null, "Test of diffrent kinds of notifier:"),
103
- h("button", { onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"),
104
- h("button", { onClick: () => this.noticeWarning(Notice.succeded("This is a test success notice.")) }, "success"),
105
- h("button", { onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"),
106
- h("button", { onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"),
107
- h("button", { onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay"),
108
- h("div", { style: { position: "relative", height: "10em" } },
109
- "Large Spinner",
110
- h("smoothly-spinner", { active: true, size: "large", style: { "--background-color": "255,255,255", "--background-opacity": "0.2", "--spinner-color": "0,130,0", } })),
111
- h("div", { style: { position: "relative", height: "10em" } },
112
- "Medium Spinner",
113
- h("smoothly-spinner", { active: true, size: "medium" })),
114
- h("div", { style: { position: "relative", height: "10em" } },
115
- "Small Spinner",
116
- h("smoothly-spinner", { active: true, size: "small" })),
117
- h("div", { style: { position: "absolute", left: "500px", top: "150px" } },
118
- h("smoothly-svg", { url: "https://theme.payfunc.com/intergiro/animated-logo.svg" }))),
10
+ h("main", null, h("smoothly-popup", null, h("div", null, "Popup, click me"), h("div", { color: "dark", slot: "popup" }, "1 line popup")), h("smoothly-display-date-time", { datetime: "2019-08-15T08:08:17.65Z" }), h("dl", null, h("dt", null, "text"), h("dd", null, h("smoothly-display", { type: "text", value: "text" })), h("dt", null, "postal code"), h("dd", null, h("smoothly-display", { type: "postal-code", value: "752 31" })), h("dt", null, "password"), h("dd", null, h("smoothly-display", { type: "password", value: "password" })), h("dt", null, "email"), h("dd", null, h("smoothly-display", { type: "email", value: "test@example.com" })), h("dt", null, "price"), h("dd", null, h("smoothly-display", { type: "price", value: "13.37", currency: "SEK" })), h("dt", null, "display amount without decimals"), h("dd", null, h("smoothly-display-amount", { amount: 200, currency: "SEK", toInteger: true })), h("dt", null, "display amount with decimals if they are set, otherwise no decimal"), h("dd", null, h("smoothly-display-amount", { amount: 200.20, currency: "SEK", toInteger: true })), h("dt", null, "display amount with decimals"), h("dd", null, h("smoothly-display-amount", { amount: 200.20, currency: "SEK" })), h("dt", null, "percent"), h("dd", null, h("smoothly-display", { type: "percent", value: "42" })), h("dt", null, "phone"), h("dd", null, h("smoothly-display", { type: "phone", value: "0101881108" })), h("dt", null, "card number"), h("dd", null, h("smoothly-display", { type: "card-number", value: "4111111111111111" })), h("dt", null, "card expires"), h("dd", null, h("smoothly-display", { type: "card-expires", value: "7/22" })), h("dt", null, "card csc"), h("dd", null, h("smoothly-display", { type: "card-csc", value: "987" })), h("dt", null, "date"), h("dd", null, h("smoothly-display", { type: "date", value: "2022-07-07" })), h("dt", null, "date time"), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "short", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T02:02:02Z" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "long", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" }, value: "2022-07-07T02:02:02Z" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "2-digit", day: "2-digit", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T12:22:24Z" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "numeric", day: "numeric", hour: "numeric", minute: "numeric", second: "numeric" }, value: "2022-07-07T12:22:24Z" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", null, h("smoothly-display", { type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZone: "+01:00" }, value: "2022-07-07T12:15Z" })), h("dt", null, "Deprecated display date time"), h("dd", null, h("smoothly-display-date-time", { datetime: "2019-01-31T20:01:34" })), h("dt", null, "Display amount"), h("dd", null, h("smoothly-display-amount", { currency: "SEK", amount: "1289.5" })), h("dt", null, "Quiet"), h("dd", null, h("smoothly-quiet", { color: "dark" }, "-"))), h("smoothly-skeleton", { period: 3, distance: "20rem", width: "20rem" }), h("smoothly-skeleton", { period: 3, distance: "20rem", color: "200,200,255" }), h("smoothly-skeleton", { period: 3, distance: "20rem", color: "var(--smoothly-warning-color)" }), h("smoothly-skeleton", { period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem", width: "20rem" }), h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "center", period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem", width: "20rem" }), h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }), h("smoothly-skeleton", { align: "right", period: 3, distance: "20rem" }), h("smoothly-urlencoded", { data: "hej=hopp&tjena=moss" }), h("div", { style: { display: "flex", justifyContent: "space-between" } }, h("smoothly-popup", { direction: "down" }, "Click for popup", h("span", { slot: "popup", color: "dark", style: { whiteSpace: "nowrap" } }, "Some popup stuff that has a lot of text")), h("smoothly-popup", { direction: "down" }, "Click for popup", h("span", { slot: "popup", color: "dark", style: { whiteSpace: "nowrap" } }, "Some popup with a bunch of text."))), h("p", null, "Test of diffrent kinds of notifier:"), h("button", { onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { onClick: () => this.noticeWarning(Notice.succeded("This is a test success notice.")) }, "success"), h("button", { onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), h("button", { onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay"), h("div", { style: { position: "relative", height: "10em" } }, "Large Spinner", h("smoothly-spinner", { active: true, size: "large", style: { "--background-color": "255,255,255", "--background-opacity": "0.2", "--spinner-color": "0,130,0", } })), h("div", { style: { position: "relative", height: "10em" } }, "Medium Spinner", h("smoothly-spinner", { active: true, size: "medium" })), h("div", { style: { position: "relative", height: "10em" } }, "Small Spinner", h("smoothly-spinner", { active: true, size: "small" })), h("div", { style: { position: "absolute", left: "500px", top: "150px" } }, h("smoothly-svg", { url: "https://theme.payfunc.com/intergiro/animated-logo.svg" }))),
119
11
  ];
120
12
  }
121
13
  static get is() { return "smoothly-display-demo"; }
122
- static get events() { return [{
123
- "method": "notice",
124
- "name": "notice",
125
- "bubbles": true,
126
- "cancelable": true,
127
- "composed": true,
128
- "docs": {
129
- "tags": [],
130
- "text": ""
131
- },
132
- "complexType": {
133
- "original": "Notice",
134
- "resolved": "Notice",
135
- "references": {
136
- "Notice": {
137
- "location": "import",
138
- "path": "../../model"
14
+ static get events() {
15
+ return [{
16
+ "method": "notice",
17
+ "name": "notice",
18
+ "bubbles": true,
19
+ "cancelable": true,
20
+ "composed": true,
21
+ "docs": {
22
+ "tags": [],
23
+ "text": ""
24
+ },
25
+ "complexType": {
26
+ "original": "Notice",
27
+ "resolved": "Notice",
28
+ "references": {
29
+ "Notice": {
30
+ "location": "import",
31
+ "path": "../../model"
32
+ }
139
33
  }
140
34
  }
141
- }
142
- }]; }
35
+ }];
36
+ }
143
37
  }
@@ -1,4 +1,4 @@
1
- import { Component, Element, Event, h, Method, Prop } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { Message, Trigger } from "../../model";
3
3
  export class SmoothlyFrame {
4
4
  get contentWindow() {
@@ -32,137 +32,147 @@ export class SmoothlyFrame {
32
32
  }
33
33
  static get is() { return "smoothly-frame"; }
34
34
  static get encapsulation() { return "scoped"; }
35
- static get originalStyleUrls() { return {
36
- "$": ["style.css"]
37
- }; }
38
- static get styleUrls() { return {
39
- "$": ["style.css"]
40
- }; }
41
- static get properties() { return {
42
- "url": {
43
- "type": "string",
44
- "mutable": false,
45
- "complexType": {
46
- "original": "string",
47
- "resolved": "string",
48
- "references": {}
49
- },
50
- "required": false,
51
- "optional": false,
52
- "docs": {
53
- "tags": [],
54
- "text": ""
55
- },
56
- "attribute": "url",
57
- "reflect": false
58
- },
59
- "name": {
60
- "type": "string",
61
- "mutable": false,
62
- "complexType": {
63
- "original": "string",
64
- "resolved": "string",
65
- "references": {}
66
- },
67
- "required": false,
68
- "optional": false,
69
- "docs": {
70
- "tags": [],
71
- "text": ""
72
- },
73
- "attribute": "name",
74
- "reflect": false
75
- },
76
- "origin": {
77
- "type": "string",
78
- "mutable": false,
79
- "complexType": {
80
- "original": "string | undefined",
81
- "resolved": "string | undefined",
82
- "references": {}
83
- },
84
- "required": false,
85
- "optional": false,
86
- "docs": {
87
- "tags": [],
88
- "text": ""
35
+ static get originalStyleUrls() {
36
+ return {
37
+ "$": ["style.css"]
38
+ };
39
+ }
40
+ static get styleUrls() {
41
+ return {
42
+ "$": ["style.css"]
43
+ };
44
+ }
45
+ static get properties() {
46
+ return {
47
+ "url": {
48
+ "type": "string",
49
+ "mutable": false,
50
+ "complexType": {
51
+ "original": "string",
52
+ "resolved": "string",
53
+ "references": {}
54
+ },
55
+ "required": false,
56
+ "optional": false,
57
+ "docs": {
58
+ "tags": [],
59
+ "text": ""
60
+ },
61
+ "attribute": "url",
62
+ "reflect": false
89
63
  },
90
- "attribute": "origin",
91
- "reflect": false
92
- }
93
- }; }
94
- static get events() { return [{
95
- "method": "trigger",
96
- "name": "trigger",
97
- "bubbles": true,
98
- "cancelable": true,
99
- "composed": true,
100
- "docs": {
101
- "tags": [],
102
- "text": ""
64
+ "name": {
65
+ "type": "string",
66
+ "mutable": false,
67
+ "complexType": {
68
+ "original": "string",
69
+ "resolved": "string",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": false,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": ""
77
+ },
78
+ "attribute": "name",
79
+ "reflect": false
103
80
  },
104
- "complexType": {
105
- "original": "Trigger",
106
- "resolved": "Trigger",
107
- "references": {
108
- "Trigger": {
109
- "location": "import",
110
- "path": "../../model"
81
+ "origin": {
82
+ "type": "string",
83
+ "mutable": false,
84
+ "complexType": {
85
+ "original": "string | undefined",
86
+ "resolved": "string | undefined",
87
+ "references": {}
88
+ },
89
+ "required": false,
90
+ "optional": false,
91
+ "docs": {
92
+ "tags": [],
93
+ "text": ""
94
+ },
95
+ "attribute": "origin",
96
+ "reflect": false
97
+ }
98
+ };
99
+ }
100
+ static get events() {
101
+ return [{
102
+ "method": "trigger",
103
+ "name": "trigger",
104
+ "bubbles": true,
105
+ "cancelable": true,
106
+ "composed": true,
107
+ "docs": {
108
+ "tags": [],
109
+ "text": ""
110
+ },
111
+ "complexType": {
112
+ "original": "Trigger",
113
+ "resolved": "Trigger",
114
+ "references": {
115
+ "Trigger": {
116
+ "location": "import",
117
+ "path": "../../model"
118
+ }
111
119
  }
112
120
  }
113
- }
114
- }, {
115
- "method": "message",
116
- "name": "message",
117
- "bubbles": true,
118
- "cancelable": true,
119
- "composed": true,
120
- "docs": {
121
- "tags": [],
122
- "text": ""
123
- },
124
- "complexType": {
125
- "original": "Message<any>",
126
- "resolved": "Message<any>",
127
- "references": {
128
- "Message": {
129
- "location": "import",
130
- "path": "../../model"
121
+ }, {
122
+ "method": "message",
123
+ "name": "message",
124
+ "bubbles": true,
125
+ "cancelable": true,
126
+ "composed": true,
127
+ "docs": {
128
+ "tags": [],
129
+ "text": ""
130
+ },
131
+ "complexType": {
132
+ "original": "Message<any>",
133
+ "resolved": "Message<any>",
134
+ "references": {
135
+ "Message": {
136
+ "location": "import",
137
+ "path": "../../model"
138
+ }
131
139
  }
132
140
  }
133
- }
134
- }]; }
135
- static get methods() { return {
136
- "send": {
137
- "complexType": {
138
- "signature": "(message: string | Message<any>, content?: Trigger | any) => Promise<void>",
139
- "parameters": [{
140
- "tags": [],
141
- "text": ""
142
- }, {
143
- "tags": [],
144
- "text": ""
145
- }],
146
- "references": {
147
- "Promise": {
148
- "location": "global"
149
- },
150
- "Message": {
151
- "location": "import",
152
- "path": "../../model"
141
+ }];
142
+ }
143
+ static get methods() {
144
+ return {
145
+ "send": {
146
+ "complexType": {
147
+ "signature": "(message: string | Message<any>, content?: Trigger | any) => Promise<void>",
148
+ "parameters": [{
149
+ "tags": [],
150
+ "text": ""
151
+ }, {
152
+ "tags": [],
153
+ "text": ""
154
+ }],
155
+ "references": {
156
+ "Promise": {
157
+ "location": "global"
158
+ },
159
+ "Message": {
160
+ "location": "import",
161
+ "path": "../../model"
162
+ },
163
+ "Trigger": {
164
+ "location": "import",
165
+ "path": "../../model"
166
+ }
153
167
  },
154
- "Trigger": {
155
- "location": "import",
156
- "path": "../../model"
157
- }
168
+ "return": "Promise<void>"
158
169
  },
159
- "return": "Promise<void>"
160
- },
161
- "docs": {
162
- "text": "",
163
- "tags": []
170
+ "docs": {
171
+ "text": "",
172
+ "tags": []
173
+ }
164
174
  }
165
- }
166
- }; }
175
+ };
176
+ }
167
177
  static get elementRef() { return "element"; }
168
178
  }
@@ -1,4 +1,4 @@
1
- import { Component, h, Prop } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { GoogleFont } from "../../model/GoogleFont";
3
3
  export class SmoothlyGoogleFont {
4
4
  render() {
@@ -6,28 +6,30 @@ export class SmoothlyGoogleFont {
6
6
  }
7
7
  static get is() { return "smoothly-google-font"; }
8
8
  static get encapsulation() { return "scoped"; }
9
- static get properties() { return {
10
- "value": {
11
- "type": "string",
12
- "mutable": false,
13
- "complexType": {
14
- "original": "GoogleFont",
15
- "resolved": "string | undefined",
16
- "references": {
17
- "GoogleFont": {
18
- "location": "import",
19
- "path": "../../model/GoogleFont"
9
+ static get properties() {
10
+ return {
11
+ "value": {
12
+ "type": "string",
13
+ "mutable": false,
14
+ "complexType": {
15
+ "original": "GoogleFont",
16
+ "resolved": "string | undefined",
17
+ "references": {
18
+ "GoogleFont": {
19
+ "location": "import",
20
+ "path": "../../model/GoogleFont"
21
+ }
20
22
  }
21
- }
22
- },
23
- "required": false,
24
- "optional": true,
25
- "docs": {
26
- "tags": [],
27
- "text": ""
28
- },
29
- "attribute": "value",
30
- "reflect": false
31
- }
32
- }; }
23
+ },
24
+ "required": false,
25
+ "optional": true,
26
+ "docs": {
27
+ "tags": [],
28
+ "text": ""
29
+ },
30
+ "attribute": "value",
31
+ "reflect": false
32
+ }
33
+ };
34
+ }
33
35
  }