@jumpgroup/jump-design-system 0.1.4 → 0.1.5

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 (100) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/{index-c572276a.js → index-46644e39.js} +499 -152
  4. package/dist/cjs/index-46644e39.js.map +1 -0
  5. package/dist/cjs/jump-button.cjs.entry.js +22 -15
  6. package/dist/cjs/jump-button.cjs.entry.js.map +1 -1
  7. package/dist/cjs/jump-design-system.cjs.js +6 -4
  8. package/dist/cjs/jump-design-system.cjs.js.map +1 -1
  9. package/dist/cjs/jump-icon.cjs.entry.js +19 -30
  10. package/dist/cjs/jump-icon.cjs.entry.js.map +1 -1
  11. package/dist/cjs/jump-pagination.cjs.entry.js +22 -21
  12. package/dist/cjs/jump-pagination.cjs.entry.js.map +1 -1
  13. package/dist/cjs/loader.cjs.js +6 -4
  14. package/dist/cjs/loader.cjs.js.map +1 -1
  15. package/dist/collection/collection-manifest.json +2 -2
  16. package/dist/collection/components/app-icon/jump-icon.js +59 -59
  17. package/dist/collection/components/app-icon/jump-icon.js.map +1 -1
  18. package/dist/collection/components/app-icon/jump-icon.stories.js +16 -16
  19. package/dist/collection/components/app-icon/jump-icon.stories.js.map +1 -1
  20. package/dist/collection/components/app-icon/test/jump-icon.e2e.js +6 -6
  21. package/dist/collection/components/app-icon/test/jump-icon.e2e.js.map +1 -1
  22. package/dist/collection/components/app-icon/test/jump-icon.spec.js +7 -7
  23. package/dist/collection/components/app-icon/test/jump-icon.spec.js.map +1 -1
  24. package/dist/collection/components/jump-button/jump-button.js +266 -153
  25. package/dist/collection/components/jump-button/jump-button.js.map +1 -1
  26. package/dist/collection/components/jump-button/jump-button.stories.js +284 -167
  27. package/dist/collection/components/jump-button/jump-button.stories.js.map +1 -1
  28. package/dist/collection/components/jump-button/test/jump-button.e2e.js +6 -6
  29. package/dist/collection/components/jump-button/test/jump-button.e2e.js.map +1 -1
  30. package/dist/collection/components/jump-button/test/jump-button.spec.js +7 -7
  31. package/dist/collection/components/jump-button/test/jump-button.spec.js.map +1 -1
  32. package/dist/collection/components/jump-pagination/jump-pagination.js +175 -175
  33. package/dist/collection/components/jump-pagination/jump-pagination.js.map +1 -1
  34. package/dist/collection/components/jump-pagination/jump-pagination.stories.js +91 -92
  35. package/dist/collection/components/jump-pagination/jump-pagination.stories.js.map +1 -1
  36. package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js +6 -6
  37. package/dist/collection/components/jump-pagination/test/jump-pagination.e2e.js.map +1 -1
  38. package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js +7 -7
  39. package/dist/collection/components/jump-pagination/test/jump-pagination.spec.js.map +1 -1
  40. package/dist/collection/utils/utils.js +1 -1
  41. package/dist/collection/utils/utils.js.map +1 -1
  42. package/dist/collection/utils/utils.spec.js +12 -12
  43. package/dist/collection/utils/utils.spec.js.map +1 -1
  44. package/dist/components/index.d.ts +6 -0
  45. package/dist/components/index.js +1 -1
  46. package/dist/components/jump-button.d.ts +2 -2
  47. package/dist/components/jump-button.js +47 -34
  48. package/dist/components/jump-button.js.map +1 -1
  49. package/dist/components/jump-icon.d.ts +2 -2
  50. package/dist/components/jump-icon2.js +33 -44
  51. package/dist/components/jump-icon2.js.map +1 -1
  52. package/dist/components/jump-pagination.d.ts +2 -2
  53. package/dist/components/jump-pagination.js +47 -46
  54. package/dist/components/jump-pagination.js.map +1 -1
  55. package/dist/esm/app-globals-0f993ce5.js +5 -0
  56. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  57. package/dist/esm/{index-ad69454c.js → index-b0176170.js} +499 -152
  58. package/dist/esm/index-b0176170.js.map +1 -0
  59. package/dist/esm/jump-button.entry.js +22 -15
  60. package/dist/esm/jump-button.entry.js.map +1 -1
  61. package/dist/esm/jump-design-system.js +7 -5
  62. package/dist/esm/jump-design-system.js.map +1 -1
  63. package/dist/esm/jump-icon.entry.js +19 -30
  64. package/dist/esm/jump-icon.entry.js.map +1 -1
  65. package/dist/esm/jump-pagination.entry.js +22 -21
  66. package/dist/esm/jump-pagination.entry.js.map +1 -1
  67. package/dist/esm/loader.js +7 -5
  68. package/dist/esm/loader.js.map +1 -1
  69. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  70. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  71. package/dist/jump-design-system/p-0d2b55a8.entry.js +2 -0
  72. package/dist/jump-design-system/p-0d2b55a8.entry.js.map +1 -0
  73. package/dist/jump-design-system/{p-15ecd712.entry.js → p-3cbc3a68.entry.js} +3 -3
  74. package/dist/jump-design-system/p-3cbc3a68.entry.js.map +1 -0
  75. package/dist/jump-design-system/p-68bce598.js +3 -0
  76. package/dist/jump-design-system/p-68bce598.js.map +1 -0
  77. package/dist/jump-design-system/{p-42799645.entry.js → p-9e6ea006.entry.js} +2 -2
  78. package/dist/jump-design-system/p-9e6ea006.entry.js.map +1 -0
  79. package/dist/jump-design-system/p-e1255160.js +2 -0
  80. package/dist/jump-design-system/p-e1255160.js.map +1 -0
  81. package/dist/jump-design-system-elements.json +53 -1
  82. package/dist/types/components/app-icon/jump-icon.d.ts +10 -10
  83. package/dist/types/components/app-icon/jump-icon.stories.d.ts +14 -14
  84. package/dist/types/components/jump-button/jump-button.d.ts +53 -29
  85. package/dist/types/components/jump-button/jump-button.stories.d.ts +147 -85
  86. package/dist/types/components/jump-pagination/jump-pagination.d.ts +24 -24
  87. package/dist/types/components/jump-pagination/jump-pagination.stories.d.ts +63 -63
  88. package/dist/types/components.d.ts +52 -4
  89. package/dist/types/stencil-public-runtime.d.ts +46 -5
  90. package/loader/index.d.ts +1 -1
  91. package/package.json +2 -2
  92. package/readme.md +13 -8
  93. package/dist/cjs/index-c572276a.js.map +0 -1
  94. package/dist/esm/index-ad69454c.js.map +0 -1
  95. package/dist/jump-design-system/p-15ecd712.entry.js.map +0 -1
  96. package/dist/jump-design-system/p-42799645.entry.js.map +0 -1
  97. package/dist/jump-design-system/p-44f459bb.js +0 -3
  98. package/dist/jump-design-system/p-44f459bb.js.map +0 -1
  99. package/dist/jump-design-system/p-6ba563bd.entry.js +0 -2
  100. package/dist/jump-design-system/p-6ba563bd.entry.js.map +0 -1
@@ -1,157 +1,270 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class AppButton {
3
- constructor() {
4
- this.disabled = false;
5
- this.variant = 'primary';
6
- this.outline = false;
7
- this.size = 'medium';
8
- this.pill = false;
9
- this.text = false;
10
- this.onlyIcon = false;
11
- }
12
- render() {
13
- return (h(Host, null, h("button", { "data-variant": this.variant, "data-outline": this.outline, "data-size": this.size, "data-pill": this.pill, "data-text": this.text, "data-only-icon": this.onlyIcon, disabled: this.disabled }, h("slot", { name: "prefix" }), !this.onlyIcon && h("slot", null), h("slot", { name: "suffix" }))));
14
- }
15
- static get is() { return "jump-button"; }
16
- static get originalStyleUrls() {
17
- return {
18
- "$": ["jump-button.scss"]
19
- };
20
- }
21
- static get styleUrls() {
22
- return {
23
- "$": ["jump-button.css"]
24
- };
25
- }
26
- static get properties() {
27
- return {
28
- "disabled": {
29
- "type": "boolean",
30
- "mutable": false,
31
- "complexType": {
32
- "original": "boolean",
33
- "resolved": "boolean",
34
- "references": {}
35
- },
36
- "required": false,
37
- "optional": false,
38
- "docs": {
39
- "tags": [],
40
- "text": "Set the button as disabled"
41
- },
42
- "attribute": "disabled",
43
- "reflect": false,
44
- "defaultValue": "false"
45
- },
46
- "variant": {
47
- "type": "string",
48
- "mutable": false,
49
- "complexType": {
50
- "original": "'primary'|'secondary'|'tertiary'",
51
- "resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
52
- "references": {}
53
- },
54
- "required": false,
55
- "optional": false,
56
- "docs": {
57
- "tags": [],
58
- "text": "Indicates the variant of the button"
59
- },
60
- "attribute": "variant",
61
- "reflect": true,
62
- "defaultValue": "'primary'"
63
- },
64
- "outline": {
65
- "type": "boolean",
66
- "mutable": false,
67
- "complexType": {
68
- "original": "boolean",
69
- "resolved": "boolean",
70
- "references": {}
71
- },
72
- "required": false,
73
- "optional": false,
74
- "docs": {
75
- "tags": [],
76
- "text": "Indicates the button as outline"
77
- },
78
- "attribute": "outline",
79
- "reflect": true,
80
- "defaultValue": "false"
81
- },
82
- "size": {
83
- "type": "string",
84
- "mutable": false,
85
- "complexType": {
86
- "original": "string",
87
- "resolved": "string",
88
- "references": {}
89
- },
90
- "required": false,
91
- "optional": false,
92
- "docs": {
93
- "tags": [],
94
- "text": "Indicates the size of the button"
95
- },
96
- "attribute": "size",
97
- "reflect": true,
98
- "defaultValue": "'medium'"
99
- },
100
- "pill": {
101
- "type": "boolean",
102
- "mutable": false,
103
- "complexType": {
104
- "original": "boolean",
105
- "resolved": "boolean",
106
- "references": {}
107
- },
108
- "required": false,
109
- "optional": false,
110
- "docs": {
111
- "tags": [],
112
- "text": "Indicates the button as pill"
113
- },
114
- "attribute": "pill",
115
- "reflect": true,
116
- "defaultValue": "false"
117
- },
118
- "text": {
119
- "type": "boolean",
120
- "mutable": false,
121
- "complexType": {
122
- "original": "boolean",
123
- "resolved": "boolean",
124
- "references": {}
125
- },
126
- "required": false,
127
- "optional": false,
128
- "docs": {
129
- "tags": [],
130
- "text": "Indicates the button as text"
131
- },
132
- "attribute": "text",
133
- "reflect": true,
134
- "defaultValue": "false"
135
- },
136
- "onlyIcon": {
137
- "type": "boolean",
138
- "mutable": false,
139
- "complexType": {
140
- "original": "boolean",
141
- "resolved": "boolean",
142
- "references": {}
143
- },
144
- "required": false,
145
- "optional": false,
146
- "docs": {
147
- "tags": [],
148
- "text": "Indicates the button as only icon"
149
- },
150
- "attribute": "only-icon",
151
- "reflect": true,
152
- "defaultValue": "false"
153
- }
154
- };
155
- }
3
+ constructor() {
4
+ this.disabled = false;
5
+ this.variant = 'primary';
6
+ this.outline = false;
7
+ this.size = 'medium';
8
+ this.pill = false;
9
+ this.text = false;
10
+ this.onlyIcon = false;
11
+ this.href = '';
12
+ this.target = undefined;
13
+ this.type = 'button';
14
+ this.name = '';
15
+ this.value = '';
16
+ this.ariaLabel = '';
17
+ }
18
+ render() {
19
+ return (h(Host, { key: 'a55a80c6b7c4f83caaba83c8dea98b22b8784844' }, this.href ? (h("a", { href: this.href, "data-variant": this.variant, "data-outline": this.outline, "data-size": this.size, "data-pill": this.pill, "data-text": this.text, "data-only-icon": this.onlyIcon, "aria-label": this.ariaLabel, "data-target": this.target }, h("slot", { name: "prefix" }), !this.onlyIcon && h("slot", null), h("slot", { name: "suffix" }))) : (h("button", { "data-variant": this.variant, "data-outline": this.outline, "data-size": this.size, "data-pill": this.pill, "data-text": this.text, "data-only-icon": this.onlyIcon, disabled: this.disabled, "aria-label": this.ariaLabel, type: this.type, name: this.name, value: this.value }, h("slot", { name: "prefix" }), !this.onlyIcon && h("slot", null), h("slot", { name: "suffix" })))));
20
+ }
21
+ static get is() { return "jump-button"; }
22
+ static get originalStyleUrls() {
23
+ return {
24
+ "$": ["jump-button.scss"]
25
+ };
26
+ }
27
+ static get styleUrls() {
28
+ return {
29
+ "$": ["jump-button.css"]
30
+ };
31
+ }
32
+ static get properties() {
33
+ return {
34
+ "disabled": {
35
+ "type": "boolean",
36
+ "mutable": false,
37
+ "complexType": {
38
+ "original": "boolean",
39
+ "resolved": "boolean",
40
+ "references": {}
41
+ },
42
+ "required": false,
43
+ "optional": false,
44
+ "docs": {
45
+ "tags": [],
46
+ "text": "Set the button as disabled; Vale solo per i bottoni"
47
+ },
48
+ "attribute": "disabled",
49
+ "reflect": false,
50
+ "defaultValue": "false"
51
+ },
52
+ "variant": {
53
+ "type": "string",
54
+ "mutable": false,
55
+ "complexType": {
56
+ "original": "'primary'|'secondary'|'tertiary'|'neutral'",
57
+ "resolved": "\"neutral\" | \"primary\" | \"secondary\" | \"tertiary\"",
58
+ "references": {}
59
+ },
60
+ "required": false,
61
+ "optional": false,
62
+ "docs": {
63
+ "tags": [],
64
+ "text": "Indicates the variant of the button"
65
+ },
66
+ "attribute": "variant",
67
+ "reflect": true,
68
+ "defaultValue": "'primary'"
69
+ },
70
+ "outline": {
71
+ "type": "boolean",
72
+ "mutable": false,
73
+ "complexType": {
74
+ "original": "boolean",
75
+ "resolved": "boolean",
76
+ "references": {}
77
+ },
78
+ "required": false,
79
+ "optional": false,
80
+ "docs": {
81
+ "tags": [],
82
+ "text": "Indicates the button as outline"
83
+ },
84
+ "attribute": "outline",
85
+ "reflect": true,
86
+ "defaultValue": "false"
87
+ },
88
+ "size": {
89
+ "type": "string",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "string",
93
+ "resolved": "string",
94
+ "references": {}
95
+ },
96
+ "required": false,
97
+ "optional": false,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": "Indicates the size of the button"
101
+ },
102
+ "attribute": "size",
103
+ "reflect": true,
104
+ "defaultValue": "'medium'"
105
+ },
106
+ "pill": {
107
+ "type": "boolean",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "boolean",
111
+ "resolved": "boolean",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": false,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": "Indicates the button as pill"
119
+ },
120
+ "attribute": "pill",
121
+ "reflect": true,
122
+ "defaultValue": "false"
123
+ },
124
+ "text": {
125
+ "type": "boolean",
126
+ "mutable": false,
127
+ "complexType": {
128
+ "original": "boolean",
129
+ "resolved": "boolean",
130
+ "references": {}
131
+ },
132
+ "required": false,
133
+ "optional": false,
134
+ "docs": {
135
+ "tags": [],
136
+ "text": "Indicates the button as text"
137
+ },
138
+ "attribute": "text",
139
+ "reflect": true,
140
+ "defaultValue": "false"
141
+ },
142
+ "onlyIcon": {
143
+ "type": "boolean",
144
+ "mutable": false,
145
+ "complexType": {
146
+ "original": "boolean",
147
+ "resolved": "boolean",
148
+ "references": {}
149
+ },
150
+ "required": false,
151
+ "optional": false,
152
+ "docs": {
153
+ "tags": [],
154
+ "text": "Indicates the button as only icon"
155
+ },
156
+ "attribute": "only-icon",
157
+ "reflect": true,
158
+ "defaultValue": "false"
159
+ },
160
+ "href": {
161
+ "type": "string",
162
+ "mutable": false,
163
+ "complexType": {
164
+ "original": "string",
165
+ "resolved": "string",
166
+ "references": {}
167
+ },
168
+ "required": false,
169
+ "optional": false,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": "Indicates if button becames a anchor"
173
+ },
174
+ "attribute": "href",
175
+ "reflect": true,
176
+ "defaultValue": "''"
177
+ },
178
+ "target": {
179
+ "type": "string",
180
+ "mutable": false,
181
+ "complexType": {
182
+ "original": "'_blank' | '_parent' | '_self' | '_top'",
183
+ "resolved": "\"_blank\" | \"_parent\" | \"_self\" | \"_top\"",
184
+ "references": {}
185
+ },
186
+ "required": false,
187
+ "optional": false,
188
+ "docs": {
189
+ "tags": [],
190
+ "text": "Indicates the type of anchor's target"
191
+ },
192
+ "attribute": "target",
193
+ "reflect": true
194
+ },
195
+ "type": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "'button'|'submit'|'reset'",
200
+ "resolved": "\"button\" | \"reset\" | \"submit\"",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": false,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "Indicates type button"
208
+ },
209
+ "attribute": "type",
210
+ "reflect": true,
211
+ "defaultValue": "'button'"
212
+ },
213
+ "name": {
214
+ "type": "string",
215
+ "mutable": false,
216
+ "complexType": {
217
+ "original": "string",
218
+ "resolved": "string",
219
+ "references": {}
220
+ },
221
+ "required": false,
222
+ "optional": false,
223
+ "docs": {
224
+ "tags": [],
225
+ "text": "Indicates the name that the sender button will send"
226
+ },
227
+ "attribute": "name",
228
+ "reflect": true,
229
+ "defaultValue": "''"
230
+ },
231
+ "value": {
232
+ "type": "string",
233
+ "mutable": false,
234
+ "complexType": {
235
+ "original": "string",
236
+ "resolved": "string",
237
+ "references": {}
238
+ },
239
+ "required": false,
240
+ "optional": false,
241
+ "docs": {
242
+ "tags": [],
243
+ "text": "Indicates the value that the sender button will send"
244
+ },
245
+ "attribute": "value",
246
+ "reflect": true,
247
+ "defaultValue": "''"
248
+ },
249
+ "ariaLabel": {
250
+ "type": "string",
251
+ "mutable": false,
252
+ "complexType": {
253
+ "original": "string",
254
+ "resolved": "string",
255
+ "references": {}
256
+ },
257
+ "required": false,
258
+ "optional": false,
259
+ "docs": {
260
+ "tags": [],
261
+ "text": "Indicates the value of text alternative to an element that has no visible text on the screen"
262
+ },
263
+ "attribute": "aria-label",
264
+ "reflect": true,
265
+ "defaultValue": "''"
266
+ }
267
+ };
268
+ }
156
269
  }
157
270
  //# sourceMappingURL=jump-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jump-button.js","sourceRoot":"","sources":["../../../src/components/jump-button/jump-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,SAAS;;oBAIQ,KAAK;mBAKkC,SAAS;mBAKlC,KAAK;gBAKT,QAAQ;gBAKP,KAAK;gBAKL,KAAK;oBAKD,KAAK;;EAEhD,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,8BAAsB,IAAI,CAAC,OAAO,kBAAgB,IAAI,CAAC,OAAO,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,oBAAkB,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACtL,YAAM,IAAI,EAAC,QAAQ,GAAQ;QAEzB,CAAC,IAAI,CAAC,QAAQ,IAAI,eAAa;QAEjC,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACpB,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'jump-button',\n styleUrl: 'jump-button.scss',\n shadow: false,\n})\nexport class AppButton {\n /**\n * Set the button as disabled\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates the variant of the button\n */\n @Prop({reflect: true}) variant: 'primary'|'secondary'|'tertiary' = 'primary';\n\n /**\n * Indicates the button as outline\n */\n @Prop({reflect: true}) outline: boolean = false;\n\n /**\n * Indicates the size of the button\n */\n @Prop({reflect: true}) size: string = 'medium';\n\n /**\n * Indicates the button as pill\n */\n @Prop({reflect: true}) pill: boolean = false;\n\n /**\n * Indicates the button as text\n */\n @Prop({reflect: true}) text: boolean = false;\n\n /**\n * Indicates the button as only icon\n **/\n @Prop({reflect: true}) onlyIcon: boolean = false;\n\n render() {\n return (\n <Host>\n <button data-variant={this.variant} data-outline={this.outline} data-size={this.size} data-pill={this.pill} data-text={this.text} data-only-icon={this.onlyIcon} disabled={this.disabled} >\n <slot name=\"prefix\"></slot>\n {\n !this.onlyIcon && <slot></slot>\n }\n <slot name=\"suffix\"></slot>\n </button>\n </Host>\n );\n }\n\n}\n"]}
1
+ {"version":3,"file":"jump-button.js","sourceRoot":"","sources":["../../../src/components/jump-button/jump-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,SAAS;;wBAIQ,KAAK;uBAK4C,SAAS;uBAK5C,KAAK;oBAKT,QAAQ;oBAKP,KAAK;oBAKL,KAAK;wBAKD,KAAK;oBAKV,EAAE;;oBAUiB,QAAQ;oBAK3B,EAAE;qBAKD,EAAE;yBAKE,EAAE;;IAE7C,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,uDACF,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,SAAG,IAAI,EAAE,IAAI,CAAC,IAAI,kBAAgB,IAAI,CAAC,OAAO,kBAAgB,IAAI,CAAC,OAAO,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,oBAAkB,IAAI,CAAC,QAAQ,gBAAc,IAAI,CAAC,SAAS,iBAAe,IAAI,CAAC,MAAM;YAC/N,YAAM,IAAI,EAAC,QAAQ,GAAQ;YAC1B,CAAC,IAAI,CAAC,QAAQ,IAAI,eAAa;YAChC,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACzB,CACL,CAAC,CAAC,CAAC,CACF,8BAAsB,IAAI,CAAC,OAAO,kBAAgB,IAAI,CAAC,OAAO,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,eAAa,IAAI,CAAC,IAAI,oBAAkB,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBAAc,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK;YACvQ,YAAM,IAAI,EAAC,QAAQ,GAAQ;YAC1B,CAAC,IAAI,CAAC,QAAQ,IAAI,eAAa;YAChC,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACpB,CACV,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'jump-button',\n styleUrl: 'jump-button.scss',\n shadow: false,\n})\nexport class AppButton {\n /**\n * Set the button as disabled; Vale solo per i bottoni\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Indicates the variant of the button\n */\n @Prop({reflect: true}) variant: 'primary'|'secondary'|'tertiary'|'neutral' = 'primary';\n\n /**\n * Indicates the button as outline\n */\n @Prop({reflect: true}) outline: boolean = false;\n\n /**\n * Indicates the size of the button\n */\n @Prop({reflect: true}) size: string = 'medium';\n\n /**\n * Indicates the button as pill\n */\n @Prop({reflect: true}) pill: boolean = false;\n\n /**\n * Indicates the button as text\n */\n @Prop({reflect: true}) text: boolean = false;\n\n /**\n * Indicates the button as only icon\n **/\n @Prop({reflect: true}) onlyIcon: boolean = false;\n\n /**\n * Indicates if button becames a anchor\n **/\n @Prop({reflect: true}) href: string = '';\n\n /**\n * Indicates the type of anchor's target \n **/\n @Prop({reflect: true}) target: '_blank' | '_parent' | '_self' | '_top'\n\n /**\n * Indicates type button\n **/\n @Prop({reflect: true}) type: 'button'|'submit'|'reset' = 'button';\n\n /**\n * Indicates the name that the sender button will send\n **/\n @Prop({reflect: true}) name: string = '';\n\n /**\n * Indicates the value that the sender button will send\n **/\n @Prop({reflect: true}) value: string = '';\n\n /**\n * Indicates the value of text alternative to an element that has no visible text on the screen\n **/\n @Prop({reflect: true}) ariaLabel: string = '';\n\n render() {\n return (\n <Host>\n {this.href ? (\n <a href={this.href} data-variant={this.variant} data-outline={this.outline} data-size={this.size} data-pill={this.pill} data-text={this.text} data-only-icon={this.onlyIcon} aria-label={this.ariaLabel} data-target={this.target}>\n <slot name=\"prefix\"></slot>\n {!this.onlyIcon && <slot></slot>}\n <slot name=\"suffix\"></slot>\n </a>\n ) : ( \n <button data-variant={this.variant} data-outline={this.outline} data-size={this.size} data-pill={this.pill} data-text={this.text} data-only-icon={this.onlyIcon} disabled={this.disabled} aria-label={this.ariaLabel} type={this.type} name={this.name} value={this.value}>\n <slot name=\"prefix\"></slot>\n {!this.onlyIcon && <slot></slot> }\n <slot name=\"suffix\"></slot>\n </button>\n )}\n </Host>\n );\n }\n\n}\n"]}