@jumpgroup/jump-design-system 0.1.9 → 0.2.1

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 (120) hide show
  1. package/dist/cjs/{index-46644e39.js → index-79e97f36.js} +25 -4
  2. package/dist/cjs/index-79e97f36.js.map +1 -0
  3. package/dist/cjs/jump-badge.cjs.entry.js +24 -0
  4. package/dist/cjs/jump-badge.cjs.entry.js.map +1 -0
  5. package/dist/cjs/jump-button.cjs.entry.js +2 -2
  6. package/dist/cjs/jump-card.cjs.entry.js +34 -0
  7. package/dist/cjs/jump-card.cjs.entry.js.map +1 -0
  8. package/dist/cjs/jump-design-system.cjs.js +3 -3
  9. package/dist/cjs/jump-design-system.cjs.js.map +1 -1
  10. package/dist/cjs/jump-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/jump-pagination.cjs.entry.js +4 -4
  12. package/dist/cjs/loader.cjs.js +2 -2
  13. package/dist/collection/collection-manifest.json +4 -2
  14. package/dist/collection/components/jump-badge/jump-badge.css +25 -0
  15. package/dist/collection/components/jump-badge/jump-badge.js +62 -0
  16. package/dist/collection/components/jump-badge/jump-badge.js.map +1 -0
  17. package/dist/collection/components/jump-badge/jump-badge.stories.js +26 -0
  18. package/dist/collection/components/jump-badge/jump-badge.stories.js.map +1 -0
  19. package/dist/collection/components/jump-badge/test/jump-badge.e2e.js +10 -0
  20. package/dist/collection/components/jump-badge/test/jump-badge.e2e.js.map +1 -0
  21. package/dist/collection/components/jump-badge/test/jump-badge.spec.js +18 -0
  22. package/dist/collection/components/jump-badge/test/jump-badge.spec.js.map +1 -0
  23. package/dist/collection/components/jump-button/{jump-button.stories.js → jump-button-filled.stories.js} +12 -10
  24. package/dist/collection/components/jump-button/jump-button-filled.stories.js.map +1 -0
  25. package/dist/collection/components/jump-button/jump-button-outline.stories.js +376 -0
  26. package/dist/collection/components/jump-button/jump-button-outline.stories.js.map +1 -0
  27. package/dist/collection/components/jump-button/jump-button.js +1 -1
  28. package/dist/collection/components/jump-card/jump-card-border-radius.stories.js +114 -0
  29. package/dist/collection/components/jump-card/jump-card-border-radius.stories.js.map +1 -0
  30. package/dist/collection/components/jump-card/jump-card-border.stories.js +113 -0
  31. package/dist/collection/components/jump-card/jump-card-border.stories.js.map +1 -0
  32. package/dist/collection/components/jump-card/jump-card-boxed.stories.js +114 -0
  33. package/dist/collection/components/jump-card/jump-card-boxed.stories.js.map +1 -0
  34. package/dist/collection/components/jump-card/jump-card-horizontal.stories.js +114 -0
  35. package/dist/collection/components/jump-card/jump-card-horizontal.stories.js.map +1 -0
  36. package/dist/collection/components/jump-card/jump-card-media-rounded.stories.js +125 -0
  37. package/dist/collection/components/jump-card/jump-card-media-rounded.stories.js.map +1 -0
  38. package/dist/collection/components/jump-card/jump-card-no-image.stories.js +112 -0
  39. package/dist/collection/components/jump-card/jump-card-no-image.stories.js.map +1 -0
  40. package/dist/collection/components/jump-card/jump-card-shadow.stories.js +113 -0
  41. package/dist/collection/components/jump-card/jump-card-shadow.stories.js.map +1 -0
  42. package/dist/collection/components/jump-card/jump-card-top-border-content-radius.stories.js +114 -0
  43. package/dist/collection/components/jump-card/jump-card-top-border-content-radius.stories.js.map +1 -0
  44. package/dist/collection/components/jump-card/jump-card-video.stories.js +111 -0
  45. package/dist/collection/components/jump-card/jump-card-video.stories.js.map +1 -0
  46. package/dist/collection/components/jump-card/jump-card.css +99 -0
  47. package/dist/collection/components/jump-card/jump-card.js +232 -0
  48. package/dist/collection/components/jump-card/jump-card.js.map +1 -0
  49. package/dist/collection/components/jump-card/jump-card.stories.js +113 -0
  50. package/dist/collection/components/jump-card/jump-card.stories.js.map +1 -0
  51. package/dist/collection/components/jump-card/test/jump-card.e2e.js +10 -0
  52. package/dist/collection/components/jump-card/test/jump-card.e2e.js.map +1 -0
  53. package/dist/collection/components/jump-card/test/jump-card.spec.js +18 -0
  54. package/dist/collection/components/jump-card/test/jump-card.spec.js.map +1 -0
  55. package/dist/collection/components/jump-pagination/jump-pagination-pages.stories.js +94 -0
  56. package/dist/collection/components/jump-pagination/jump-pagination-pages.stories.js.map +1 -0
  57. package/dist/collection/components/jump-pagination/{jump-pagination.stories.js → jump-pagination-products.stories.js} +18 -18
  58. package/dist/collection/components/jump-pagination/jump-pagination-products.stories.js.map +1 -0
  59. package/dist/collection/components/jump-pagination/jump-pagination.js +3 -3
  60. package/dist/components/jump-badge.d.ts +11 -0
  61. package/dist/components/jump-badge.js +40 -0
  62. package/dist/components/jump-badge.js.map +1 -0
  63. package/dist/components/jump-button.js +1 -1
  64. package/dist/components/jump-card.d.ts +11 -0
  65. package/dist/components/jump-card.js +59 -0
  66. package/dist/components/jump-card.js.map +1 -0
  67. package/dist/components/jump-pagination.js +3 -3
  68. package/dist/esm/{index-b0176170.js → index-7feee8ea.js} +25 -4
  69. package/dist/esm/index-7feee8ea.js.map +1 -0
  70. package/dist/esm/jump-badge.entry.js +20 -0
  71. package/dist/esm/jump-badge.entry.js.map +1 -0
  72. package/dist/esm/jump-button.entry.js +2 -2
  73. package/dist/esm/jump-card.entry.js +30 -0
  74. package/dist/esm/jump-card.entry.js.map +1 -0
  75. package/dist/esm/jump-design-system.js +4 -4
  76. package/dist/esm/jump-design-system.js.map +1 -1
  77. package/dist/esm/jump-icon.entry.js +1 -1
  78. package/dist/esm/jump-pagination.entry.js +4 -4
  79. package/dist/esm/loader.js +3 -3
  80. package/dist/jump-design-system/jump-design-system.esm.js +1 -1
  81. package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
  82. package/dist/jump-design-system/p-7cfed9c6.entry.js +2 -0
  83. package/dist/jump-design-system/p-7cfed9c6.entry.js.map +1 -0
  84. package/dist/jump-design-system/{p-0d2b55a8.entry.js → p-8ec7e589.entry.js} +2 -2
  85. package/dist/jump-design-system/p-99238e3f.entry.js +2 -0
  86. package/dist/jump-design-system/p-99238e3f.entry.js.map +1 -0
  87. package/dist/jump-design-system/{p-c34f0f2c.entry.js → p-9fd6e0a0.entry.js} +2 -2
  88. package/dist/jump-design-system/{p-3cbc3a68.entry.js → p-bc02e346.entry.js} +2 -2
  89. package/dist/jump-design-system/p-c560071a.js +3 -0
  90. package/dist/jump-design-system/p-c560071a.js.map +1 -0
  91. package/dist/jump-design-system-elements.json +78 -0
  92. package/dist/types/components/jump-badge/jump-badge.d.ts +11 -0
  93. package/dist/types/components/jump-badge/jump-badge.stories.d.ts +19 -0
  94. package/dist/types/components/jump-button/jump-button-outline.stories.d.ts +164 -0
  95. package/dist/types/components/jump-card/jump-card-border-radius.stories.d.ts +77 -0
  96. package/dist/types/components/jump-card/jump-card-border.stories.d.ts +77 -0
  97. package/dist/types/components/jump-card/jump-card-boxed.stories.d.ts +77 -0
  98. package/dist/types/components/jump-card/jump-card-horizontal.stories.d.ts +77 -0
  99. package/dist/types/components/jump-card/jump-card-media-rounded.stories.d.ts +79 -0
  100. package/dist/types/components/jump-card/jump-card-no-image.stories.d.ts +77 -0
  101. package/dist/types/components/jump-card/jump-card-shadow.stories.d.ts +77 -0
  102. package/dist/types/components/jump-card/jump-card-top-border-content-radius.stories.d.ts +77 -0
  103. package/dist/types/components/jump-card/jump-card-video.stories.d.ts +77 -0
  104. package/dist/types/components/jump-card/jump-card.d.ts +47 -0
  105. package/dist/types/components/jump-card/jump-card.stories.d.ts +77 -0
  106. package/dist/types/components/jump-pagination/jump-pagination-pages.stories.d.ts +69 -0
  107. package/dist/types/components/jump-pagination/{jump-pagination.stories.d.ts → jump-pagination-products.stories.d.ts} +0 -2
  108. package/dist/types/components.d.ts +130 -0
  109. package/package.json +1 -1
  110. package/readme.md +4 -3
  111. package/dist/cjs/index-46644e39.js.map +0 -1
  112. package/dist/collection/components/jump-button/jump-button.stories.js.map +0 -1
  113. package/dist/collection/components/jump-pagination/jump-pagination.stories.js.map +0 -1
  114. package/dist/esm/index-b0176170.js.map +0 -1
  115. package/dist/jump-design-system/p-68bce598.js +0 -3
  116. package/dist/jump-design-system/p-68bce598.js.map +0 -1
  117. /package/dist/jump-design-system/{p-0d2b55a8.entry.js.map → p-8ec7e589.entry.js.map} +0 -0
  118. /package/dist/jump-design-system/{p-c34f0f2c.entry.js.map → p-9fd6e0a0.entry.js.map} +0 -0
  119. /package/dist/jump-design-system/{p-3cbc3a68.entry.js.map → p-bc02e346.entry.js.map} +0 -0
  120. /package/dist/types/components/jump-button/{jump-button.stories.d.ts → jump-button-filled.stories.d.ts} +0 -0
@@ -0,0 +1,376 @@
1
+ import feather from "feather-icons";
2
+ export default {
3
+ title: 'Components/Button/Outline',
4
+ tags: ['autodocs'],
5
+ argTypes: {
6
+ label: {
7
+ name: 'Etichetta',
8
+ description: 'Imposta il testo del bottone',
9
+ control: 'text'
10
+ },
11
+ variant: {
12
+ name: 'Variante',
13
+ description: 'Imposta la variante di colore del bottone',
14
+ control: 'select',
15
+ options: [
16
+ 'primary',
17
+ 'secondary',
18
+ 'neutral',
19
+ 'white'
20
+ ],
21
+ },
22
+ outline: {
23
+ name: 'Outline',
24
+ description: 'Imposta se il bottone deve avere il solo bordo',
25
+ control: 'boolean'
26
+ },
27
+ size: {
28
+ name: 'Dimensione',
29
+ description: 'Imposta la dimensione del bottone',
30
+ control: 'select',
31
+ options: [
32
+ 'small',
33
+ 'medium',
34
+ 'large'
35
+ ],
36
+ labels: {
37
+ small: 'Piccolo',
38
+ medium: 'Medio',
39
+ large: 'Grande'
40
+ }
41
+ },
42
+ pill: {
43
+ name: 'Bordo a Pillola',
44
+ description: 'Imposta se il bottone deve avere il bordo completamente stondato a pillola',
45
+ control: 'boolean'
46
+ },
47
+ disabled: {
48
+ name: 'Disabilitato',
49
+ description: 'Imposta se il bottone deve essere disabilitato',
50
+ control: 'boolean'
51
+ },
52
+ text: {
53
+ name: 'Testo',
54
+ description: 'Imposta se il bottone è solo testo, quindi senza bordo, sfondo e padding',
55
+ control: 'boolean'
56
+ },
57
+ showIcon: {
58
+ name: 'Mostra Icona',
59
+ description: 'Imposta se il bottone deve mostrare un\'icona',
60
+ control: 'boolean'
61
+ },
62
+ iconOnly: {
63
+ name: 'Mostra solo Icona',
64
+ description: 'Imposta se il bottone deve mostrare solo l\'icona',
65
+ control: 'boolean',
66
+ if: {
67
+ arg: 'showIcon',
68
+ eq: true
69
+ },
70
+ },
71
+ iconName: {
72
+ name: 'Nome Icona',
73
+ control: 'select',
74
+ options: Object.keys(feather.icons),
75
+ description: 'Seleziona il nome dell\'icona dal menu a tendina',
76
+ defaultValue: Object.keys(feather.icons)[0],
77
+ if: {
78
+ arg: 'showIcon',
79
+ eq: true
80
+ },
81
+ },
82
+ iconPosition: {
83
+ name: 'Posizione Icona',
84
+ description: 'Imposta la posizione dell\'icona',
85
+ defaultValue: 'left',
86
+ control: 'select',
87
+ options: [
88
+ 'left',
89
+ 'right'
90
+ ],
91
+ if: {
92
+ arg: 'showIcon',
93
+ eq: true
94
+ },
95
+ labels: {
96
+ left: 'Sinistra',
97
+ right: 'Destra'
98
+ }
99
+ },
100
+ type: {
101
+ name: 'Tipo di bottone',
102
+ description: 'Imposta il tipo di bottone',
103
+ default: 'button',
104
+ control: 'select',
105
+ if: {
106
+ arg: 'href',
107
+ exists: false
108
+ },
109
+ options: [
110
+ 'button',
111
+ 'submit',
112
+ 'reset'
113
+ ],
114
+ labels: {
115
+ button: 'button',
116
+ submit: 'submit',
117
+ reset: 'reset',
118
+ }
119
+ },
120
+ name: {
121
+ name: 'Nome del bottone',
122
+ description: 'Imposta il nome del bottone',
123
+ control: 'text',
124
+ if: {
125
+ arg: 'href',
126
+ exists: false
127
+ }
128
+ },
129
+ value: {
130
+ name: 'Value del bottone',
131
+ description: 'Imposta il value del bottone',
132
+ control: 'text',
133
+ if: {
134
+ arg: 'href',
135
+ exists: false
136
+ }
137
+ },
138
+ ariaLabel: {
139
+ name: 'Aria Label',
140
+ description: 'Imposta aria label',
141
+ control: 'text',
142
+ },
143
+ href: {
144
+ name: 'Href',
145
+ description: 'Imposta l\'href del link',
146
+ control: 'text',
147
+ },
148
+ target: {
149
+ name: 'Target',
150
+ description: 'Imposta il target del link',
151
+ default: '_self',
152
+ control: 'select',
153
+ if: {
154
+ arg: 'href',
155
+ exists: true
156
+ },
157
+ options: [
158
+ '_blank',
159
+ '_parent',
160
+ '_self',
161
+ '_top'
162
+ ],
163
+ labels: {
164
+ _blank: '_blank',
165
+ _parent: '_parent',
166
+ _self: '_self',
167
+ _top: '_top'
168
+ }
169
+ },
170
+ id: {
171
+ name: 'ID',
172
+ description: 'Imposta l\'id del bottone',
173
+ control: 'text'
174
+ },
175
+ }
176
+ };
177
+ // TODO: non far passare gli undefined
178
+ const Anchor = (args) => {
179
+ return `<jump-button id="${args.id}" class="${args.class}" "variant="${args.variant}" size="${args.size}" href="${args.href}" target="${args.target}" ariaLabel="${args.ariaLabel}" ${args.pill == true ? ' pill' : ''}${args.outline == true ? ' outline' : ''}${args.text == true ? ' text' : ''}${!args.label || args.iconOnly ? ' only-icon' : ''}>${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot="prefix" name="${args.iconName}"></jump-icon>` : ''}${!args.iconOnly ? args.label : ''}${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot="suffix" name="${args.iconName}"></jump-icon>` : ''}</jump-button>`;
180
+ };
181
+ const Button = (args) => {
182
+ return `<jump-button id="${args.id}"
183
+ class="${args.class}"
184
+ variant="${args.variant}"
185
+ size="${args.size}"
186
+ type="${args.type}"
187
+ ariaLabel="${args.ariaLabel}"
188
+ name="${args.name}"
189
+ value="${args.value}" ${args.disabled == true ? ' disabled' : ''}"
190
+ ${args.pill == true ? ' pill' : ''}
191
+ ${args.outline == true ? ' outline' : ''}
192
+ ${args.text == true ? ' text' : ''}
193
+ ${!args.label || args.iconOnly ? ' only-icon' : ''}>
194
+
195
+ ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot="prefix" name="${args.iconName}"></jump-icon>` : ''}${!args.iconOnly ? args.label : ''}${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot="suffix" name="${args.iconName}"></jump-icon>` : ''}</jump-button>`;
196
+ };
197
+ const Template = (args) => `${args.href ? Anchor(args) : !args.label && !args.showIcon ? 'Errore nella configurazione del bottone' : Button(args)}`;
198
+ export const OutlinePrimary = Template.bind({});
199
+ OutlinePrimary.args = {
200
+ label: 'Outline Primary',
201
+ variant: 'primary',
202
+ outline: true,
203
+ pill: false,
204
+ size: 'medium',
205
+ disabled: false,
206
+ text: false,
207
+ showIcon: false,
208
+ iconOnly: false,
209
+ iconName: Object.keys(feather.icons)[0],
210
+ iconPosition: 'left',
211
+ type: 'button',
212
+ name: 'nome bottone',
213
+ value: 'value bottone',
214
+ ariaLabel: 'sono un bottone'
215
+ };
216
+ export const OutlineSecondary = Template.bind({});
217
+ OutlineSecondary.args = {
218
+ label: 'Outline Secondary',
219
+ variant: 'secondary',
220
+ outline: true,
221
+ pill: false,
222
+ size: 'medium',
223
+ disabled: false,
224
+ text: false,
225
+ showIcon: false,
226
+ iconOnly: false,
227
+ iconName: Object.keys(feather.icons)[0],
228
+ iconPosition: 'left',
229
+ type: 'button',
230
+ name: 'nome bottone',
231
+ value: 'value bottone',
232
+ ariaLabel: 'sono un bottone'
233
+ };
234
+ export const OutlineGrey = Template.bind({});
235
+ OutlineGrey.args = {
236
+ label: 'Outline Neutral',
237
+ variant: 'neutral',
238
+ outline: true,
239
+ pill: false,
240
+ size: 'medium',
241
+ disabled: false,
242
+ text: false,
243
+ showIcon: false,
244
+ iconOnly: false,
245
+ iconName: Object.keys(feather.icons)[0],
246
+ iconPosition: 'left',
247
+ type: 'button',
248
+ name: 'nome bottone',
249
+ value: 'value bottone',
250
+ ariaLabel: 'sono un bottone'
251
+ };
252
+ export const OutlineWhite = Template.bind({});
253
+ OutlineWhite.args = {
254
+ label: 'Outline White',
255
+ variant: 'white',
256
+ outline: true,
257
+ pill: false,
258
+ size: 'medium',
259
+ disabled: false,
260
+ text: false,
261
+ showIcon: false,
262
+ iconOnly: false,
263
+ iconName: Object.keys(feather.icons)[0],
264
+ iconPosition: 'left',
265
+ type: 'button',
266
+ name: 'nome bottone',
267
+ value: 'value bottone',
268
+ ariaLabel: 'sono un bottone'
269
+ };
270
+ export const OutlinePillPrimary = Template.bind({});
271
+ OutlinePillPrimary.args = {
272
+ label: 'Pill Primary',
273
+ variant: 'primary',
274
+ outline: true,
275
+ pill: true,
276
+ size: 'medium',
277
+ disabled: false,
278
+ text: false,
279
+ showIcon: false,
280
+ iconOnly: false,
281
+ iconName: Object.keys(feather.icons)[0],
282
+ iconPosition: 'left',
283
+ type: 'button',
284
+ name: 'nome bottone',
285
+ value: 'value bottone',
286
+ ariaLabel: 'sono un bottone'
287
+ };
288
+ const TemplateWithIcon = (args) => `<jump-button id="${args.id}" class="${args.class}" variant="${args.variant}" size="${args.size}" type="${args.type}" ariaLabel="${args.ariaLabel}" name="${args.name}" value="${args.value}" ${args.disabled == true ? ' disabled' : ''}${args.pill == true ? ' pill' : ''}${args.outline == true ? ' outline' : ''}${args.text == true ? ' text' : ''}> ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot="prefix" name="${args.iconName}"></jump-icon>` : ''}${args.label}${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot="suffix" name="${args.iconName}"></jump-icon>` : ''}</jump-button>`;
289
+ export const ButtonWithIcon = TemplateWithIcon.bind({});
290
+ ButtonWithIcon.args = {
291
+ label: 'Primary',
292
+ variant: 'primary',
293
+ outline: true,
294
+ pill: false,
295
+ size: 'medium',
296
+ disabled: false,
297
+ text: false,
298
+ showIcon: true,
299
+ iconName: 'home',
300
+ iconPosition: 'left',
301
+ type: 'button',
302
+ name: 'nome bottone',
303
+ value: 'value bottone',
304
+ ariaLabel: 'sono un bottone'
305
+ };
306
+ const TemplateWithOnlyIcon = (args) => `<jump-button
307
+ id="${args.id}"
308
+ class="${args.class}"
309
+ variant="${args.variant}"
310
+ size="${args.size}"
311
+ type="${args.type}"
312
+ ariaLabel="${args.ariaLabel}"
313
+ name="${args.name}"
314
+ value="${args.value}"
315
+ ${args.disabled == true ? ' disabled' : ''}
316
+ ${args.pill == true ? ' pill' : ''}
317
+ ${args.outline == true ? ' outline' : ''}
318
+ ${args.text == true ? ' text' : ''}
319
+ ${!args.label ? ' only-icon' : ''}>
320
+ ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot="prefix" name="${args.iconName}"></jump-icon>` : ''}
321
+ ${args.label}
322
+ ${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot="suffix" name="${args.iconName}"></jump-icon>` : ''}
323
+ </jump-button>`;
324
+ export const ButtonWithOnlyIconSquare = TemplateWithOnlyIcon.bind({});
325
+ ButtonWithOnlyIconSquare.args = {
326
+ label: '',
327
+ variant: 'primary',
328
+ outline: true,
329
+ pill: false,
330
+ size: 'medium',
331
+ disabled: false,
332
+ text: false,
333
+ showIcon: true,
334
+ iconName: 'home',
335
+ iconPosition: 'left',
336
+ type: 'button',
337
+ name: 'nome bottone',
338
+ value: 'value bottone',
339
+ ariaLabel: 'sono un bottone'
340
+ };
341
+ export const ButtonWithOnlyIconPill = TemplateWithOnlyIcon.bind({});
342
+ ButtonWithOnlyIconPill.args = {
343
+ label: '',
344
+ variant: 'primary',
345
+ outline: true,
346
+ pill: true,
347
+ size: 'medium',
348
+ disabled: false,
349
+ text: false,
350
+ showIcon: true,
351
+ iconName: 'home',
352
+ iconPosition: 'left',
353
+ type: 'button',
354
+ name: 'nome bottone',
355
+ value: 'value bottone',
356
+ ariaLabel: 'sono un bottone'
357
+ };
358
+ export const Disabled = Template.bind({});
359
+ Disabled.args = {
360
+ label: 'Disabled',
361
+ variant: 'primary',
362
+ outline: true,
363
+ pill: false,
364
+ size: 'medium',
365
+ disabled: true,
366
+ text: false,
367
+ showIcon: false,
368
+ iconOnly: false,
369
+ iconName: Object.keys(feather.icons)[0],
370
+ iconPosition: 'left',
371
+ type: 'button',
372
+ name: 'nome bottone',
373
+ value: 'value bottone',
374
+ ariaLabel: 'sono un bottone'
375
+ };
376
+ //# sourceMappingURL=jump-button-outline.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jump-button-outline.stories.js","sourceRoot":"","sources":["../../../src/components/jump-button/jump-button-outline.stories.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,eAAe,CAAC;AAEpC,eAAe;IACb,KAAK,EAAE,2BAA2B;IAClC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,8BAA8B;YAC3C,OAAO,EAAE,MAAM;SAChB;QACD,OAAO,EAAE;YACP,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,2CAA2C;YACxD,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE;gBACP,SAAS;gBACT,WAAW;gBACX,SAAS;gBACT,OAAO;aACR;SACF;QACD,OAAO,EAAG;YACR,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,gDAAgD;YAC7D,OAAO,EAAE,SAAS;SACnB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,mCAAmC;YAChD,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE;gBACP,OAAO;gBACP,QAAQ;gBACR,OAAO;aACR;YACD,MAAM,EAAE;gBACN,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,OAAO;gBACf,KAAK,EAAE,QAAQ;aAChB;SACF;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,4EAA4E;YACzF,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,gDAAgD;YAC7D,OAAO,EAAE,SAAS;SACnB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,0EAA0E;YACvF,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,+CAA+C;YAC5D,OAAO,EAAE,SAAS;SACnB;QACD,QAAQ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e;IACtB,SAAS,EAAE,iBAAiB;CAC7B,CAAC","sourcesContent":["import feather from 'feather-icons';\n\nexport default {\n title: 'Components/Button/Outline',\n tags: ['autodocs'],\n argTypes: {\n label: {\n name: 'Etichetta',\n description: 'Imposta il testo del bottone',\n control: 'text'\n },\n variant: {\n name: 'Variante',\n description: 'Imposta la variante di colore del bottone',\n control: 'select',\n options: [\n 'primary',\n 'secondary',\n 'neutral',\n 'white'\n ],\n },\n outline : {\n name: 'Outline',\n description: 'Imposta se il bottone deve avere il solo bordo',\n control: 'boolean'\n },\n size: {\n name: 'Dimensione',\n description: 'Imposta la dimensione del bottone',\n control: 'select',\n options: [\n 'small',\n 'medium',\n 'large'\n ],\n labels: {\n small: 'Piccolo',\n medium: 'Medio',\n large: 'Grande'\n }\n },\n pill: {\n name: 'Bordo a Pillola',\n description: 'Imposta se il bottone deve avere il bordo completamente stondato a pillola',\n control: 'boolean'\n },\n disabled: {\n name: 'Disabilitato',\n description: 'Imposta se il bottone deve essere disabilitato',\n control: 'boolean'\n },\n text: {\n name: 'Testo',\n description: 'Imposta se il bottone è solo testo, quindi senza bordo, sfondo e padding',\n control: 'boolean'\n },\n showIcon: {\n name: 'Mostra Icona',\n description: 'Imposta se il bottone deve mostrare un\\'icona',\n control: 'boolean'\n },\n iconOnly: {\n name: 'Mostra solo Icona',\n description: 'Imposta se il bottone deve mostrare solo l\\'icona',\n control: 'boolean',\n if: {\n arg: 'showIcon',\n eq: true\n },\n },\n iconName: {\n name: 'Nome Icona',\n control: 'select',\n options: Object.keys(feather.icons),\n description: 'Seleziona il nome dell\\'icona dal menu a tendina',\n defaultValue: Object.keys(feather.icons)[0],\n if: {\n arg: 'showIcon',\n eq: true\n },\n },\n iconPosition: {\n name: 'Posizione Icona',\n description: 'Imposta la posizione dell\\'icona',\n defaultValue: 'left',\n control: 'select',\n options: [\n 'left',\n 'right'\n ],\n if: {\n arg: 'showIcon',\n eq: true\n },\n labels: {\n left: 'Sinistra',\n right: 'Destra'\n }\n },\n type: {\n name: 'Tipo di bottone',\n description: 'Imposta il tipo di bottone',\n default: 'button',\n control: 'select',\n if:{\n arg: 'href',\n exists: false\n },\n options: [\n 'button',\n 'submit',\n 'reset'\n ],\n labels: {\n button: 'button',\n submit: 'submit',\n reset: 'reset',\n }\n },\n name: {\n name: 'Nome del bottone',\n description: 'Imposta il nome del bottone',\n control: 'text',\n if:{\n arg: 'href',\n exists: false\n }\n },\n value: {\n name: 'Value del bottone',\n description: 'Imposta il value del bottone',\n control: 'text',\n if:{\n arg: 'href',\n exists: false\n }\n },\n ariaLabel: {\n name: 'Aria Label',\n description: 'Imposta aria label',\n control: 'text',\n },\n href: {\n name: 'Href',\n description: 'Imposta l\\'href del link',\n control: 'text',\n },\n target: {\n name: 'Target',\n description: 'Imposta il target del link',\n default: '_self',\n control: 'select',\n if:{\n arg: 'href',\n exists: true\n },\n options: [\n '_blank',\n '_parent',\n '_self',\n '_top'\n ],\n labels: {\n _blank: '_blank',\n _parent: '_parent',\n _self: '_self',\n _top: '_top'\n }\n },\n id: {\n name: 'ID',\n description: 'Imposta l\\'id del bottone',\n control: 'text'\n },\n }\n};\n\n// TODO: non far passare gli undefined\n\nconst Anchor = (args) => {\n return `<jump-button id=\"${args.id}\" class=\"${args.class}\" \"variant=\"${args.variant}\" size=\"${args.size}\" href=\"${args.href}\" target=\"${args.target}\" ariaLabel=\"${args.ariaLabel}\" ${args.pill == true ? ' pill' : ''}${args.outline == true ? ' outline' : ''}${args.text == true ? ' text' : ''}${ !args.label || args.iconOnly ? ' only-icon' : ''}>${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot=\"prefix\" name=\"${args.iconName}\"></jump-icon>` : ''}${ !args.iconOnly ? args.label : ''}${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot=\"suffix\" name=\"${args.iconName}\"></jump-icon>` : ''}</jump-button>`\n}\n\nconst Button = (args) => {\n return `<jump-button id=\"${args.id}\" \n class=\"${args.class}\"\n variant=\"${args.variant}\" \n size=\"${args.size}\" \n type=\"${args.type}\" \n ariaLabel=\"${args.ariaLabel}\" \n name=\"${args.name}\" \n value=\"${args.value}\" ${args.disabled == true ? ' disabled' : ''}\"\n ${args.pill == true ? ' pill' : ''}\n ${args.outline == true ? ' outline' : ''}\n ${args.text == true ? ' text' : ''} \n ${ !args.label || args.iconOnly ? ' only-icon' : ''}>\n \n ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot=\"prefix\" name=\"${args.iconName}\"></jump-icon>` : ''}${ !args.iconOnly ? args.label : ''}${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot=\"suffix\" name=\"${args.iconName}\"></jump-icon>` : ''}</jump-button>`\n}\n\nconst Template = (args) => \n`${ args.href ? Anchor(args) : !args.label && !args.showIcon ? 'Errore nella configurazione del bottone' : Button(args)}`;\n\nexport const OutlinePrimary = Template.bind({});\nOutlinePrimary.args = {\n label: 'Outline Primary',\n variant: 'primary',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const OutlineSecondary = Template.bind({});\nOutlineSecondary.args = {\n label: 'Outline Secondary',\n variant: 'secondary',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const OutlineGrey = Template.bind({});\nOutlineGrey.args = {\n label: 'Outline Neutral',\n variant: 'neutral',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const OutlineWhite = Template.bind({});\nOutlineWhite.args = {\n label: 'Outline White',\n variant: 'white',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const OutlinePillPrimary = Template.bind({});\nOutlinePillPrimary.args = {\n label: 'Pill Primary',\n variant: 'primary',\n outline: true,\n pill: true,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nconst TemplateWithIcon = (args) => `<jump-button id=\"${args.id}\" class=\"${args.class}\" variant=\"${args.variant}\" size=\"${args.size}\" type=\"${args.type}\" ariaLabel=\"${args.ariaLabel}\" name=\"${args.name}\" value=\"${args.value}\" ${args.disabled == true ? ' disabled' : ''}${args.pill == true ? ' pill' : ''}${args.outline == true ? ' outline' : ''}${args.text == true ? ' text' : ''}> ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot=\"prefix\" name=\"${args.iconName}\"></jump-icon>` : ''}${ args.label }${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot=\"suffix\" name=\"${args.iconName}\"></jump-icon>` : ''}</jump-button>`\n\nexport const ButtonWithIcon = TemplateWithIcon.bind({});\nButtonWithIcon.args = {\n label: 'Primary',\n variant: 'primary',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: true,\n iconName: 'home',\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nconst TemplateWithOnlyIcon = (args) => \n `<jump-button\n id=\"${args.id}\"\n class=\"${args.class}\"\n variant=\"${args.variant}\" \n size=\"${args.size}\" \n type=\"${args.type}\" \n ariaLabel=\"${args.ariaLabel}\" \n name=\"${args.name}\" \n value=\"${args.value}\" \n ${args.disabled == true ? ' disabled' : ''}\n ${args.pill == true ? ' pill' : ''}\n ${args.outline == true ? ' outline' : ''}\n ${args.text == true ? ' text' : ''}\n ${ !args.label ? ' only-icon' : ''}>\n ${args.iconPosition == 'left' && args.showIcon ? `<jump-icon slot=\"prefix\" name=\"${args.iconName}\"></jump-icon>` : ''}\n ${ args.label }\n ${args.iconPosition == 'right' && args.showIcon ? `<jump-icon slot=\"suffix\" name=\"${args.iconName}\"></jump-icon>` : ''}\n </jump-button>`\n\nexport const ButtonWithOnlyIconSquare = TemplateWithOnlyIcon.bind({});\nButtonWithOnlyIconSquare.args = {\n label: '',\n variant: 'primary',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: true,\n iconName: 'home',\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const ButtonWithOnlyIconPill = TemplateWithOnlyIcon.bind({});\nButtonWithOnlyIconPill.args = {\n label: '',\n variant: 'primary',\n outline: true,\n pill: true,\n size: 'medium',\n disabled: false,\n text: false,\n showIcon: true,\n iconName: 'home',\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n\nexport const Disabled = Template.bind({});\nDisabled.args = {\n label: 'Disabled',\n variant: 'primary',\n outline: true,\n pill: false,\n size: 'medium',\n disabled: true,\n text: false,\n showIcon: false,\n iconOnly: false,\n iconName: Object.keys(feather.icons)[0],\n iconPosition: 'left',\n type: 'button',\n name: 'nome bottone',\n value: 'value bottone',\n ariaLabel: 'sono un bottone'\n};\n"]}
@@ -18,7 +18,7 @@ export class AppButton {
18
18
  this.buttonId = undefined;
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '99f1066ec9ae582f15275114e8cf95f37d3914d0' }, this.href ? (h("a", { href: this.href, id: this.buttonId, class: this.class, "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, target: this.target }, h("slot", { name: "prefix" }), !this.onlyIcon && h("slot", null), h("slot", { name: "suffix" }))) : (h("button", { id: this.buttonId, class: this.class, "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" })))));
21
+ return (h(Host, { key: '21647cd89a0a179d5c035f5e7f533f54375311cf' }, this.href ? (h("a", { href: this.href, id: this.buttonId, class: this.class, "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, target: this.target }, h("slot", { name: "prefix" }), !this.onlyIcon && h("slot", null), h("slot", { name: "suffix" }))) : (h("button", { id: this.buttonId, class: this.class, "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" })))));
22
22
  }
23
23
  static get is() { return "jump-button"; }
24
24
  static get originalStyleUrls() {
@@ -0,0 +1,114 @@
1
+ export default {
2
+ title: 'Components/Card/BorderRadiusCard',
3
+ tags: ['autodocs'],
4
+ argTypes: {
5
+ horizontal: {
6
+ name: 'Direzione della card',
7
+ description: 'Di default è verticale, se si imposta horizontal su true diventa Orizzontale',
8
+ control: 'boolean',
9
+ defaultValue: false
10
+ },
11
+ dark: {
12
+ name: 'Card di colore scuro',
13
+ description: 'Di default ha lo sfondo bianco, se si imposta dark su true diventa con sfondo grigio scuro',
14
+ control: 'boolean',
15
+ defaultValue: false
16
+ },
17
+ border: {
18
+ name: 'Card con bordo',
19
+ control: 'boolean',
20
+ defaultValue: false
21
+ },
22
+ shadow: {
23
+ name: 'Card con ombra',
24
+ control: 'boolean',
25
+ defaultValue: false
26
+ },
27
+ borderRadius: {
28
+ name: 'Bordi arrotondati',
29
+ description: 'Imposta i bordi della card arrotondati',
30
+ control: 'boolean',
31
+ // if:{
32
+ // arg: 'topBorderContentRadius',
33
+ // eq: false
34
+ // }
35
+ },
36
+ topBorderContentRadius: {
37
+ name: 'Border top Content',
38
+ description: 'Border top del Content (esclusa la sezione media) arrotondato',
39
+ control: 'boolean',
40
+ // if:{
41
+ // arg: 'borderRadius',
42
+ // eq: false
43
+ // }
44
+ },
45
+ boxed: {
46
+ name: 'Boxed',
47
+ description: 'Imposta un padding intorno al media',
48
+ control: 'boolean',
49
+ },
50
+ roundedMedia: {
51
+ name: 'Immagine o Video arrotondati',
52
+ description: 'Imposta l\'immagine o il video arrotondati e senza sfondo',
53
+ control: 'boolean',
54
+ },
55
+ imgSrc: {
56
+ name: 'Url del\'immagine',
57
+ description: 'Url dell\'immagine da visualizzare, si attiva solo se non è presente videoSrc',
58
+ control: 'text',
59
+ if: {
60
+ arg: 'videoSrc',
61
+ exists: false
62
+ }
63
+ },
64
+ imgAlt: {
65
+ name: 'Alt dell\'immagine',
66
+ description: 'Alt dell\'immagine da visualizzare, si attiva solo se è presente imgSrc',
67
+ control: 'text',
68
+ if: {
69
+ arg: 'imgSrc',
70
+ exists: true
71
+ }
72
+ },
73
+ videoSrc: {
74
+ name: 'Url del video',
75
+ description: 'Url del video da visualizzare, si attiva solo se non è presente imgSrc',
76
+ control: 'text',
77
+ if: {
78
+ arg: 'imgSrc',
79
+ exists: false
80
+ }
81
+ },
82
+ }
83
+ };
84
+ const Template = (args) => {
85
+ var _a;
86
+ return `<jump-card class="${(_a = args.class) !== null && _a !== void 0 ? _a : ''}"
87
+ ${args.videoSrc ? `video-src="${args.videoSrc}"` : ''}
88
+ ${args.imgSrc ? `img-src="${args.imgSrc}"` : ''}
89
+ ${args.imgAlt ? `img-alt="${args.imgAlt}"` : ''}
90
+ ${args.border == true ? 'border' : ''}
91
+ ${args.horizontal == true ? 'horizontal' : ''}
92
+ ${args.dark == true ? 'dark' : ''}
93
+ ${args.borderRadius == true ? 'border-radius' : ''}
94
+ ${args.topBorderContentRadius == true ? 'top-border-content-radius' : ''}
95
+ ${args.boxed == true ? 'boxed' : ''}
96
+ ${args.roundedMedia == true ? 'rounded-media' : ''}
97
+ ${args.shadow == true ? 'shadow' : ''}
98
+ >
99
+ <div class="ContentWrapper" slot="body">
100
+ <h3 style="margin-top: 0">Titolo della card</h3>
101
+ <p>Testo della card</p>
102
+ </div>
103
+ <jump-button slot="footer" id="#card" class=" "variant="secondary" size="medium" href="#" target="_self" ariaLabel="sono un bottone" text>
104
+ Scopri di più<jump-icon slot="suffix" name="arrow-right"></jump-icon></jump-button>
105
+ </jump-card>`;
106
+ };
107
+ export const CardWithBorderRadius = Template.bind({});
108
+ CardWithBorderRadius.args = {
109
+ imgSrc: 'https://picsum.photos/300/200',
110
+ imgAlt: 'Immagine',
111
+ borderRadius: true,
112
+ shadow: true,
113
+ };
114
+ //# sourceMappingURL=jump-card-border-radius.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jump-card-border-radius.stories.js","sourceRoot":"","sources":["../../../src/components/jump-card/jump-card-border-radius.stories.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE,kCAAkC;IACzC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,8EAA8E;YAC3F,OAAO,EAAE,SAAS;YAClB,YAAY,EAAE,KAAK;SACpB;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,4FAA4F;YACzG,OAAO,EAAE,SAAS;YAClB,YAAY,EA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1B,MAAM,EAAE,+BAA+B;IACvC,MAAM,EAAE,UAAU;IAClB,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;CACb,CAAC","sourcesContent":["export default {\n title: 'Components/Card/BorderRadiusCard',\n tags: ['autodocs'],\n argTypes: {\n horizontal: {\n name: 'Direzione della card',\n description: 'Di default è verticale, se si imposta horizontal su true diventa Orizzontale',\n control: 'boolean',\n defaultValue: false\n },\n dark: {\n name: 'Card di colore scuro',\n description: 'Di default ha lo sfondo bianco, se si imposta dark su true diventa con sfondo grigio scuro',\n control: 'boolean',\n defaultValue: false\n },\n border:{\n name: 'Card con bordo',\n control: 'boolean',\n defaultValue: false\n },\n shadow:{\n name: 'Card con ombra',\n control: 'boolean',\n defaultValue: false\n },\n borderRadius: {\n name: 'Bordi arrotondati',\n description: 'Imposta i bordi della card arrotondati',\n control: 'boolean',\n // if:{\n // arg: 'topBorderContentRadius',\n // eq: false\n // }\n },\n topBorderContentRadius: {\n name: 'Border top Content',\n description: 'Border top del Content (esclusa la sezione media) arrotondato',\n control: 'boolean',\n // if:{\n // arg: 'borderRadius',\n // eq: false\n // }\n },\n boxed: {\n name: 'Boxed',\n description: 'Imposta un padding intorno al media',\n control: 'boolean',\n },\n roundedMedia: {\n name: 'Immagine o Video arrotondati',\n description: 'Imposta l\\'immagine o il video arrotondati e senza sfondo',\n control: 'boolean',\n },\n imgSrc: {\n name: 'Url del\\'immagine',\n description: 'Url dell\\'immagine da visualizzare, si attiva solo se non è presente videoSrc',\n control: 'text',\n if:{\n arg: 'videoSrc',\n exists: false\n }\n },\n imgAlt: {\n name: 'Alt dell\\'immagine',\n description: 'Alt dell\\'immagine da visualizzare, si attiva solo se è presente imgSrc',\n control: 'text',\n if:{\n arg: 'imgSrc',\n exists: true\n }\n },\n videoSrc: {\n name: 'Url del video',\n description: 'Url del video da visualizzare, si attiva solo se non è presente imgSrc',\n control: 'text',\n if:{\n arg: 'imgSrc',\n exists: false\n }\n },\n }\n};\n\nconst Template = (args) => {\n return `<jump-card class=\"${args.class ?? ''}\" \n ${args.videoSrc ? `video-src=\"${args.videoSrc}\"` : ''} \n ${args.imgSrc ? `img-src=\"${args.imgSrc}\"` : ''} \n ${args.imgAlt ? `img-alt=\"${args.imgAlt}\"` : ''} \n ${args.border == true ? 'border' : ''} \n ${args.horizontal == true ? 'horizontal' : ''} \n ${args.dark == true ? 'dark' : ''} \n ${args.borderRadius == true ? 'border-radius' : ''} \n ${args.topBorderContentRadius == true ? 'top-border-content-radius' : ''} \n ${args.boxed == true ? 'boxed' : ''} \n ${args.roundedMedia == true ? 'rounded-media' : ''} \n ${args.shadow == true ? 'shadow' : ''} \n > \n <div class=\"ContentWrapper\" slot=\"body\">\n <h3 style=\"margin-top: 0\">Titolo della card</h3>\n <p>Testo della card</p>\n </div>\n <jump-button slot=\"footer\" id=\"#card\" class=\" \"variant=\"secondary\" size=\"medium\" href=\"#\" target=\"_self\" ariaLabel=\"sono un bottone\" text>\n Scopri di più<jump-icon slot=\"suffix\" name=\"arrow-right\"></jump-icon></jump-button>\n </jump-card>`\n}\n\nexport const CardWithBorderRadius = Template.bind({});\nCardWithBorderRadius.args = {\n imgSrc: 'https://picsum.photos/300/200',\n imgAlt: 'Immagine',\n borderRadius: true,\n shadow: true,\n};"]}