smoothly 0.3.5 → 0.3.7

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 +9 -15
  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-9bc77fba.entry.js → p-a1c137fc.entry.js} +1 -1
  92. package/dist/smoothly/p-af26b4ed.entry.js +1 -0
  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, Listen, Prop, Watch } from "@stencil/core";
1
+ import { h } from "@stencil/core";
2
2
  import { Date } from "isoly";
3
3
  export class InputDate {
4
4
  onStart(next) {
@@ -11,178 +11,187 @@ export class InputDate {
11
11
  render() {
12
12
  var _a;
13
13
  return [
14
- h("smoothly-input", { name: this.name, onClick: () => (this.open = !this.open), disabled: this.disabled, type: "date", value: this.value, onSmoothlyInput: e => (this.value = e.detail.value) },
15
- h("slot", null)),
14
+ h("smoothly-input", { name: this.name, onClick: () => (this.open = !this.open), disabled: this.disabled, type: "date", value: this.value, onSmoothlyInput: e => (this.value = e.detail.value) }, h("slot", null)),
16
15
  this.open && !this.disabled
17
16
  ? [
18
17
  h("div", { onClick: () => (this.open = false) }),
19
- h("nav", null,
20
- h("div", { class: "arrow" }),
21
- h("smoothly-calendar", { doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : Date.now(), onValueChanged: event => {
22
- this.value = event.detail;
23
- event.stopPropagation();
24
- }, max: this.max, min: this.min })),
18
+ h("nav", null, h("div", { class: "arrow" }), h("smoothly-calendar", { doubleInput: false, value: (_a = this.value) !== null && _a !== void 0 ? _a : Date.now(), onValueChanged: event => {
19
+ this.value = event.detail;
20
+ event.stopPropagation();
21
+ }, max: this.max, min: this.min })),
25
22
  ]
26
23
  : [],
27
24
  ];
28
25
  }
29
26
  static get is() { return "smoothly-input-date"; }
30
27
  static get encapsulation() { return "scoped"; }
31
- static get originalStyleUrls() { return {
32
- "$": ["style.css"]
33
- }; }
34
- static get styleUrls() { return {
35
- "$": ["style.css"]
36
- }; }
37
- static get properties() { return {
38
- "name": {
39
- "type": "string",
40
- "mutable": false,
41
- "complexType": {
42
- "original": "string",
43
- "resolved": "string",
44
- "references": {}
45
- },
46
- "required": false,
47
- "optional": false,
48
- "docs": {
49
- "tags": [],
50
- "text": ""
28
+ static get originalStyleUrls() {
29
+ return {
30
+ "$": ["style.css"]
31
+ };
32
+ }
33
+ static get styleUrls() {
34
+ return {
35
+ "$": ["style.css"]
36
+ };
37
+ }
38
+ static get properties() {
39
+ return {
40
+ "name": {
41
+ "type": "string",
42
+ "mutable": false,
43
+ "complexType": {
44
+ "original": "string",
45
+ "resolved": "string",
46
+ "references": {}
47
+ },
48
+ "required": false,
49
+ "optional": false,
50
+ "docs": {
51
+ "tags": [],
52
+ "text": ""
53
+ },
54
+ "attribute": "name",
55
+ "reflect": true
51
56
  },
52
- "attribute": "name",
53
- "reflect": true
54
- },
55
- "value": {
56
- "type": "string",
57
- "mutable": true,
58
- "complexType": {
59
- "original": "Date",
60
- "resolved": "string | undefined",
61
- "references": {
62
- "Date": {
63
- "location": "import",
64
- "path": "isoly"
57
+ "value": {
58
+ "type": "string",
59
+ "mutable": true,
60
+ "complexType": {
61
+ "original": "Date",
62
+ "resolved": "string | undefined",
63
+ "references": {
64
+ "Date": {
65
+ "location": "import",
66
+ "path": "isoly"
67
+ }
65
68
  }
66
- }
67
- },
68
- "required": false,
69
- "optional": true,
70
- "docs": {
71
- "tags": [],
72
- "text": ""
69
+ },
70
+ "required": false,
71
+ "optional": true,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": ""
75
+ },
76
+ "attribute": "value",
77
+ "reflect": false
73
78
  },
74
- "attribute": "value",
75
- "reflect": false
76
- },
77
- "open": {
78
- "type": "boolean",
79
- "mutable": true,
80
- "complexType": {
81
- "original": "boolean",
82
- "resolved": "boolean",
83
- "references": {}
79
+ "open": {
80
+ "type": "boolean",
81
+ "mutable": true,
82
+ "complexType": {
83
+ "original": "boolean",
84
+ "resolved": "boolean",
85
+ "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": ""
92
+ },
93
+ "attribute": "open",
94
+ "reflect": false
84
95
  },
85
- "required": false,
86
- "optional": false,
87
- "docs": {
88
- "tags": [],
89
- "text": ""
90
- },
91
- "attribute": "open",
92
- "reflect": false
93
- },
94
- "max": {
95
- "type": "string",
96
- "mutable": true,
97
- "complexType": {
98
- "original": "Date",
99
- "resolved": "string",
100
- "references": {
101
- "Date": {
102
- "location": "import",
103
- "path": "isoly"
96
+ "max": {
97
+ "type": "string",
98
+ "mutable": true,
99
+ "complexType": {
100
+ "original": "Date",
101
+ "resolved": "string",
102
+ "references": {
103
+ "Date": {
104
+ "location": "import",
105
+ "path": "isoly"
106
+ }
104
107
  }
105
- }
106
- },
107
- "required": false,
108
- "optional": false,
109
- "docs": {
110
- "tags": [],
111
- "text": ""
108
+ },
109
+ "required": false,
110
+ "optional": false,
111
+ "docs": {
112
+ "tags": [],
113
+ "text": ""
114
+ },
115
+ "attribute": "max",
116
+ "reflect": false
112
117
  },
113
- "attribute": "max",
114
- "reflect": false
115
- },
116
- "min": {
117
- "type": "string",
118
- "mutable": true,
119
- "complexType": {
120
- "original": "Date",
121
- "resolved": "string",
122
- "references": {
123
- "Date": {
124
- "location": "import",
125
- "path": "isoly"
118
+ "min": {
119
+ "type": "string",
120
+ "mutable": true,
121
+ "complexType": {
122
+ "original": "Date",
123
+ "resolved": "string",
124
+ "references": {
125
+ "Date": {
126
+ "location": "import",
127
+ "path": "isoly"
128
+ }
126
129
  }
127
- }
128
- },
129
- "required": false,
130
- "optional": false,
131
- "docs": {
132
- "tags": [],
133
- "text": ""
130
+ },
131
+ "required": false,
132
+ "optional": false,
133
+ "docs": {
134
+ "tags": [],
135
+ "text": ""
136
+ },
137
+ "attribute": "min",
138
+ "reflect": false
134
139
  },
135
- "attribute": "min",
136
- "reflect": false
137
- },
138
- "disabled": {
139
- "type": "boolean",
140
- "mutable": true,
141
- "complexType": {
142
- "original": "boolean",
143
- "resolved": "boolean",
144
- "references": {}
145
- },
146
- "required": false,
147
- "optional": false,
148
- "docs": {
149
- "tags": [],
150
- "text": ""
151
- },
152
- "attribute": "disabled",
153
- "reflect": false
154
- }
155
- }; }
156
- static get events() { return [{
157
- "method": "valueChanged",
158
- "name": "valueChanged",
159
- "bubbles": true,
160
- "cancelable": true,
161
- "composed": true,
162
- "docs": {
163
- "tags": [],
164
- "text": ""
165
- },
166
- "complexType": {
167
- "original": "Date",
168
- "resolved": "string",
169
- "references": {
170
- "Date": {
171
- "location": "import",
172
- "path": "isoly"
140
+ "disabled": {
141
+ "type": "boolean",
142
+ "mutable": true,
143
+ "complexType": {
144
+ "original": "boolean",
145
+ "resolved": "boolean",
146
+ "references": {}
147
+ },
148
+ "required": false,
149
+ "optional": false,
150
+ "docs": {
151
+ "tags": [],
152
+ "text": ""
153
+ },
154
+ "attribute": "disabled",
155
+ "reflect": false
156
+ }
157
+ };
158
+ }
159
+ static get events() {
160
+ return [{
161
+ "method": "valueChanged",
162
+ "name": "valueChanged",
163
+ "bubbles": true,
164
+ "cancelable": true,
165
+ "composed": true,
166
+ "docs": {
167
+ "tags": [],
168
+ "text": ""
169
+ },
170
+ "complexType": {
171
+ "original": "Date",
172
+ "resolved": "string",
173
+ "references": {
174
+ "Date": {
175
+ "location": "import",
176
+ "path": "isoly"
177
+ }
173
178
  }
174
179
  }
175
- }
176
- }]; }
177
- static get watchers() { return [{
178
- "propName": "value",
179
- "methodName": "onStart"
180
- }]; }
181
- static get listeners() { return [{
182
- "name": "dateSet",
183
- "method": "dateSetHandler",
184
- "target": undefined,
185
- "capture": false,
186
- "passive": false
187
- }]; }
180
+ }];
181
+ }
182
+ static get watchers() {
183
+ return [{
184
+ "propName": "value",
185
+ "methodName": "onStart"
186
+ }];
187
+ }
188
+ static get listeners() {
189
+ return [{
190
+ "name": "dateSet",
191
+ "method": "dateSetHandler",
192
+ "target": undefined,
193
+ "capture": false,
194
+ "passive": false
195
+ }];
196
+ }
188
197
  }