smoothly 0.3.4 → 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 +18 -13
  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-59c574cb.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { Component, Event, h, Host, Listen, Prop, State, Watch } from "@stencil/core";
1
+ import { h, Host } from "@stencil/core";
2
2
  export class Notification {
3
3
  constructor() {
4
4
  this.tick = {};
@@ -47,74 +47,85 @@ export class Notification {
47
47
  this.onUpdatedNotice(this.notice);
48
48
  }
49
49
  render() {
50
- return (h(Host, { color: this.color, fill: "solid" },
51
- h("smoothly-trigger", { fill: "clear", name: "close" },
52
- h("smoothly-icon", { name: "close-circle-outline" })),
53
- h("p", null, this.notice.message)));
50
+ return (h(Host, { color: this.color, fill: "solid" }, h("smoothly-trigger", { fill: "clear", name: "close" }, h("smoothly-icon", { name: "close-circle-outline" })), h("p", null, this.notice.message)));
54
51
  }
55
52
  static get is() { return "smoothly-notification"; }
56
53
  static get encapsulation() { return "scoped"; }
57
- static get originalStyleUrls() { return {
58
- "$": ["style.css"]
59
- }; }
60
- static get styleUrls() { return {
61
- "$": ["style.css"]
62
- }; }
63
- static get properties() { return {
64
- "notice": {
65
- "type": "unknown",
66
- "mutable": false,
67
- "complexType": {
68
- "original": "Notice",
69
- "resolved": "Notice",
70
- "references": {
71
- "Notice": {
72
- "location": "import",
73
- "path": "../../model"
54
+ static get originalStyleUrls() {
55
+ return {
56
+ "$": ["style.css"]
57
+ };
58
+ }
59
+ static get styleUrls() {
60
+ return {
61
+ "$": ["style.css"]
62
+ };
63
+ }
64
+ static get properties() {
65
+ return {
66
+ "notice": {
67
+ "type": "unknown",
68
+ "mutable": false,
69
+ "complexType": {
70
+ "original": "Notice",
71
+ "resolved": "Notice",
72
+ "references": {
73
+ "Notice": {
74
+ "location": "import",
75
+ "path": "../../model"
76
+ }
74
77
  }
78
+ },
79
+ "required": false,
80
+ "optional": false,
81
+ "docs": {
82
+ "tags": [],
83
+ "text": ""
75
84
  }
76
- },
77
- "required": false,
78
- "optional": false,
79
- "docs": {
80
- "tags": [],
81
- "text": ""
82
85
  }
83
- }
84
- }; }
85
- static get states() { return {
86
- "tick": {}
87
- }; }
88
- static get events() { return [{
89
- "method": "remove",
90
- "name": "remove",
91
- "bubbles": true,
92
- "cancelable": true,
93
- "composed": true,
94
- "docs": {
95
- "tags": [],
96
- "text": ""
97
- },
98
- "complexType": {
99
- "original": "Notice",
100
- "resolved": "Notice",
101
- "references": {
102
- "Notice": {
103
- "location": "import",
104
- "path": "../../model"
86
+ };
87
+ }
88
+ static get states() {
89
+ return {
90
+ "tick": {}
91
+ };
92
+ }
93
+ static get events() {
94
+ return [{
95
+ "method": "remove",
96
+ "name": "remove",
97
+ "bubbles": true,
98
+ "cancelable": true,
99
+ "composed": true,
100
+ "docs": {
101
+ "tags": [],
102
+ "text": ""
103
+ },
104
+ "complexType": {
105
+ "original": "Notice",
106
+ "resolved": "Notice",
107
+ "references": {
108
+ "Notice": {
109
+ "location": "import",
110
+ "path": "../../model"
111
+ }
105
112
  }
106
113
  }
107
- }
108
- }]; }
109
- static get watchers() { return [{
110
- "propName": "notice",
111
- "methodName": "onUpdatedNotice"
112
- }]; }
113
- static get listeners() { return [{
114
- "name": "trigger",
115
- "method": "onTrigger",
116
- "target": undefined,
117
- "capture": false,
118
- "passive": false
119
- }]; }
114
+ }];
115
+ }
116
+ static get watchers() {
117
+ return [{
118
+ "propName": "notice",
119
+ "methodName": "onUpdatedNotice"
120
+ }];
121
+ }
122
+ static get listeners() {
123
+ return [{
124
+ "name": "trigger",
125
+ "method": "onTrigger",
126
+ "target": undefined,
127
+ "capture": false,
128
+ "passive": false
129
+ }];
130
+ }
120
131
  }
@@ -1,4 +1,4 @@
1
- import { Component, h, Listen, State } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  export class Notifier {
3
3
  constructor() {
4
4
  this.notices = [];
@@ -17,26 +17,34 @@ export class Notifier {
17
17
  }
18
18
  static get is() { return "smoothly-notifier"; }
19
19
  static get encapsulation() { return "scoped"; }
20
- static get originalStyleUrls() { return {
21
- "$": ["style.css"]
22
- }; }
23
- static get styleUrls() { return {
24
- "$": ["style.css"]
25
- }; }
26
- static get states() { return {
27
- "notices": {}
28
- }; }
29
- static get listeners() { return [{
30
- "name": "notice",
31
- "method": "onNotice",
32
- "target": undefined,
33
- "capture": false,
34
- "passive": false
35
- }, {
36
- "name": "remove",
37
- "method": "onRemove",
38
- "target": undefined,
39
- "capture": false,
40
- "passive": false
41
- }]; }
20
+ static get originalStyleUrls() {
21
+ return {
22
+ "$": ["style.css"]
23
+ };
24
+ }
25
+ static get styleUrls() {
26
+ return {
27
+ "$": ["style.css"]
28
+ };
29
+ }
30
+ static get states() {
31
+ return {
32
+ "notices": {}
33
+ };
34
+ }
35
+ static get listeners() {
36
+ return [{
37
+ "name": "notice",
38
+ "method": "onNotice",
39
+ "target": undefined,
40
+ "capture": false,
41
+ "passive": false
42
+ }, {
43
+ "name": "remove",
44
+ "method": "onRemove",
45
+ "target": undefined,
46
+ "capture": false,
47
+ "passive": false
48
+ }];
49
+ }
42
50
  }