@ukic/web-components 2.35.0 → 2.35.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 (68) hide show
  1. package/README.md +1 -0
  2. package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
  3. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  4. package/dist/cjs/ic-toast.cjs.entry.js +2 -2
  5. package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
  6. package/dist/collection/components/ic-accordion/ic-accordion.stories.js +635 -0
  7. package/dist/collection/components/ic-alert/ic-alert.stories.js +257 -0
  8. package/dist/collection/components/ic-back-to-top/ic-back-to-top.stories.js +162 -0
  9. package/dist/collection/components/ic-badge/ic-badge.stories.js +1082 -0
  10. package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.stories.js +502 -0
  11. package/dist/collection/components/ic-button/ic-button.stories.js +2218 -0
  12. package/dist/collection/components/ic-card/ic-card.stories.js +1034 -0
  13. package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +687 -0
  14. package/dist/collection/components/ic-chip/ic-chip.stories.js +670 -0
  15. package/dist/collection/components/ic-classification-banner/ic-classification-banner.stories.js +131 -0
  16. package/dist/collection/components/ic-data-entity/ic-data-entity.stories.js +487 -0
  17. package/dist/collection/components/ic-dialog/ic-dialog.stories.js +1256 -0
  18. package/dist/collection/components/ic-empty-state/ic-empty-state.stories.js +397 -0
  19. package/dist/collection/components/ic-footer/ic-footer.stories.js +383 -0
  20. package/dist/collection/components/ic-hero/ic-hero.stories.js +489 -0
  21. package/dist/collection/components/ic-link/ic-link.stories.js +114 -0
  22. package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +416 -0
  23. package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +7 -35
  24. package/dist/collection/components/ic-page-header/ic-page-header.stories.js +557 -0
  25. package/dist/collection/components/ic-pagination/ic-pagination.stories.js +125 -0
  26. package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +486 -0
  27. package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +450 -0
  28. package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +591 -0
  29. package/dist/collection/components/ic-section-container/ic-section-container.stories.js +62 -0
  30. package/dist/collection/components/ic-select/ic-select-searchable.stories.js +953 -0
  31. package/dist/collection/components/ic-select/ic-select-single.stories.js +780 -0
  32. package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +2526 -0
  33. package/dist/collection/components/ic-skeleton/ic-skeleton.stories.js +141 -0
  34. package/dist/collection/components/ic-status-tag/ic-status-tag.stories.js +161 -0
  35. package/dist/collection/components/ic-stepper/ic-stepper.stories.js +327 -0
  36. package/dist/collection/components/ic-switch/ic-switch.stories.js +171 -0
  37. package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +388 -0
  38. package/dist/collection/components/ic-text-field/ic-text-field.stories.js +1083 -0
  39. package/dist/collection/components/ic-theme/ic-theme.stories.js +171 -0
  40. package/dist/collection/components/ic-toast/ic-toast.js +2 -2
  41. package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
  42. package/dist/collection/components/ic-toast/ic-toast.stories.js +413 -0
  43. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +3 -3
  44. package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
  45. package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +537 -0
  46. package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +610 -0
  47. package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +356 -0
  48. package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +1083 -0
  49. package/dist/collection/components/ic-typography/ic-typography.stories.js +437 -0
  50. package/dist/collection/patterns/top-nav-content-footer.stories.js +109 -0
  51. package/dist/collection/patterns/z-index.stories.js +474 -0
  52. package/dist/components/ic-navigation-item.js +1 -1
  53. package/dist/components/ic-navigation-item.js.map +1 -1
  54. package/dist/components/ic-toast.js +2 -2
  55. package/dist/components/ic-toast.js.map +1 -1
  56. package/dist/core/core.esm.js +1 -1
  57. package/dist/core/p-3e8023ff.entry.js +2 -0
  58. package/dist/core/p-3e8023ff.entry.js.map +1 -0
  59. package/dist/core/{p-7e8a4abd.entry.js → p-bfaa257c.entry.js} +2 -2
  60. package/dist/core/{p-7e8a4abd.entry.js.map → p-bfaa257c.entry.js.map} +1 -1
  61. package/dist/esm/ic-navigation-item.entry.js +1 -1
  62. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  63. package/dist/esm/ic-toast.entry.js +2 -2
  64. package/dist/esm/ic-toast.entry.js.map +1 -1
  65. package/hydrate/index.js +3 -3
  66. package/package.json +15 -11
  67. package/dist/core/p-dfb3e76e.entry.js +0 -2
  68. package/dist/core/p-dfb3e76e.entry.js.map +0 -1
@@ -0,0 +1,502 @@
1
+ import { html } from "lit-html";
2
+
3
+ const defaultArgs = {
4
+ appearance: "default",
5
+ backBreadcrumbOnly: false,
6
+ collapsed: false,
7
+ current: false,
8
+ href: "/",
9
+ pageTitle: "Home",
10
+ iconSlot: true,
11
+ };
12
+
13
+ export default {
14
+ title: "Web Components/Breadcrumb",
15
+ component: "ic-breadcrumb-group",
16
+ };
17
+
18
+ export const Default = {
19
+ render: () => html`
20
+ <ic-breadcrumb-group>
21
+ <ic-breadcrumb
22
+ page-title="Breadcrumb 1"
23
+ href="/breadcrumb-1"
24
+ ></ic-breadcrumb>
25
+ </ic-breadcrumb-group>
26
+ <ic-breadcrumb-group>
27
+ <ic-breadcrumb
28
+ current="true"
29
+ page-title="Breadcrumb 1"
30
+ href="/breadcrumb-1"
31
+ ></ic-breadcrumb>
32
+ </ic-breadcrumb-group>
33
+ <ic-breadcrumb-group>
34
+ <ic-breadcrumb
35
+ page-title="Breadcrumb 1"
36
+ href="/breadcrumb-1"
37
+ ></ic-breadcrumb>
38
+ <ic-breadcrumb
39
+ current="true"
40
+ page-title="Breadcrumb 2"
41
+ href="/breadcrumb-2"
42
+ ></ic-breadcrumb>
43
+ </ic-breadcrumb-group>
44
+ <ic-breadcrumb-group>
45
+ <ic-breadcrumb
46
+ page-title="Breadcrumb 1"
47
+ href="/breadcrumb-1"
48
+ ></ic-breadcrumb>
49
+ <ic-breadcrumb
50
+ page-title="Breadcrumb 2"
51
+ href="/breadcrumb-2"
52
+ ></ic-breadcrumb>
53
+ <ic-breadcrumb
54
+ current="true"
55
+ page-title="Breadcrumb 3"
56
+ href="/breadcrumb-3"
57
+ ></ic-breadcrumb>
58
+ </ic-breadcrumb-group>
59
+ `,
60
+
61
+ name: "Default",
62
+ };
63
+
64
+ export const SlottedLinks = {
65
+ render: () => html`
66
+ <ic-breadcrumb-group>
67
+ <ic-breadcrumb page-title="breadcrumb-1">
68
+ <ic-link>
69
+ <a slot="router-item" href="/breadcrumb-1"> Breadcrumb 1 </a>
70
+ </ic-link>
71
+ </ic-breadcrumb>
72
+ </ic-breadcrumb-group>
73
+ <ic-breadcrumb-group>
74
+ <ic-breadcrumb current="page" page-title="breadcrumb 1">
75
+ Breadcrumb 1
76
+ </ic-breadcrumb>
77
+ </ic-breadcrumb-group>
78
+ <ic-breadcrumb-group>
79
+ <ic-breadcrumb page-title="breadcrumb-1">
80
+ <ic-link
81
+ ><a slot="router-item" href="/breadcrumb-1">Breadcrumb 1</a></ic-link
82
+ >
83
+ </ic-breadcrumb>
84
+ <ic-breadcrumb current="page" page-title="breadcrumb 2">
85
+ Breadcrumb 2
86
+ </ic-breadcrumb>
87
+ </ic-breadcrumb-group>
88
+ <ic-breadcrumb-group>
89
+ <ic-breadcrumb page-title="breadcrumb 1">
90
+ <ic-link
91
+ ><a slot="router-item" href="/breadcrumb-1">Breadcrumb 1</a></ic-link
92
+ >
93
+ </ic-breadcrumb>
94
+ <ic-breadcrumb page-title="breadcrumb 2">
95
+ <ic-link
96
+ ><a slot="router-item" href="/breadcrumb-2">Breadcrumb 2</a></ic-link
97
+ >
98
+ </ic-breadcrumb>
99
+ <ic-breadcrumb current="page" page-title="breadcrumb 3">
100
+ Breadcrumb 3
101
+ </ic-breadcrumb>
102
+ </ic-breadcrumb-group>
103
+ `,
104
+
105
+ name: "Slotted links",
106
+ };
107
+
108
+ export const Back = {
109
+ render: () => html`
110
+ <ic-breadcrumb-group back-breadcrumb-only="true">
111
+ <ic-breadcrumb
112
+ page-title="Breadcrumb 1"
113
+ href="/breadcrumb-1"
114
+ ></ic-breadcrumb>
115
+ </ic-breadcrumb-group>
116
+ <ic-breadcrumb-group back-breadcrumb-only="true">
117
+ <ic-breadcrumb
118
+ page-title="Breadcrumb 1"
119
+ href="/breadcrumb-1"
120
+ ></ic-breadcrumb>
121
+ <ic-breadcrumb
122
+ current="true"
123
+ page-title="Breadcrumb 2"
124
+ href="/breadcrumb-2"
125
+ ></ic-breadcrumb>
126
+ </ic-breadcrumb-group>
127
+ <ic-breadcrumb-group back-breadcrumb-only="true">
128
+ <ic-breadcrumb
129
+ page-title="Breadcrumb 1"
130
+ href="/breadcrumb-1"
131
+ ></ic-breadcrumb>
132
+ <ic-breadcrumb
133
+ page-title="Breadcrumb 2"
134
+ href="/breadcrumb-2"
135
+ ></ic-breadcrumb>
136
+ <ic-breadcrumb
137
+ current="true"
138
+ page-title="Breadcrumb 3"
139
+ href="/breadcrumb-3"
140
+ ></ic-breadcrumb>
141
+ </ic-breadcrumb-group>
142
+ `,
143
+
144
+ name: "Back",
145
+ };
146
+
147
+ export const Appearance = {
148
+ render: () =>
149
+ html`<ic-breadcrumb-group>
150
+ <ic-breadcrumb page-title="Breadcrumb 1" href="/breadcrumb-1">
151
+ <svg
152
+ slot="icon"
153
+ width="24"
154
+ height="24"
155
+ viewBox="0 0 24 24"
156
+ fill="none"
157
+ xmlns="http://www.w3.org/2000/svg"
158
+ >
159
+ <path
160
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
161
+ fill="currentColor"
162
+ ></path>
163
+ </svg>
164
+ </ic-breadcrumb>
165
+ <ic-breadcrumb page-title="Breadcrumb 2" current="true" href="/">
166
+ <svg
167
+ slot="icon"
168
+ width="24"
169
+ height="24"
170
+ viewBox="0 0 24 24"
171
+ fill="none"
172
+ xmlns="http://www.w3.org/2000/svg"
173
+ >
174
+ <path
175
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
176
+ fill="currentColor"
177
+ ></path>
178
+ </svg>
179
+ </ic-breadcrumb>
180
+ </ic-breadcrumb-group>
181
+ <ic-breadcrumb-group back-breadcrumb-only="true">
182
+ <ic-breadcrumb
183
+ page-title="Breadcrumb 1"
184
+ href="/breadcrumb-1"
185
+ ></ic-breadcrumb>
186
+ <ic-breadcrumb
187
+ current="true"
188
+ page-title="Breadcrumb 2"
189
+ href="/breadcrumb-2"
190
+ ></ic-breadcrumb> </ic-breadcrumb-group
191
+ ><ic-breadcrumb-group appearance="dark">
192
+ <ic-breadcrumb page-title="Breadcrumb 1" href="/breadcrumb-1">
193
+ <svg
194
+ slot="icon"
195
+ width="24"
196
+ height="24"
197
+ viewBox="0 0 24 24"
198
+ fill="none"
199
+ xmlns="http://www.w3.org/2000/svg"
200
+ >
201
+ <path
202
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
203
+ fill="currentColor"
204
+ ></path>
205
+ </svg>
206
+ </ic-breadcrumb>
207
+ <ic-breadcrumb page-title="Breadcrumb 2" current="true" href="/">
208
+ <svg
209
+ slot="icon"
210
+ width="24"
211
+ height="24"
212
+ viewBox="0 0 24 24"
213
+ fill="none"
214
+ xmlns="http://www.w3.org/2000/svg"
215
+ >
216
+ <path
217
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
218
+ fill="currentColor"
219
+ ></path>
220
+ </svg>
221
+ </ic-breadcrumb>
222
+ </ic-breadcrumb-group>
223
+ <ic-breadcrumb-group appearance="dark" back-breadcrumb-only="true">
224
+ <ic-breadcrumb
225
+ page-title="Breadcrumb 1"
226
+ href="/breadcrumb-1"
227
+ ></ic-breadcrumb>
228
+ <ic-breadcrumb
229
+ current="true"
230
+ page-title="Breadcrumb 2"
231
+ href="/breadcrumb-2"
232
+ ></ic-breadcrumb>
233
+ </ic-breadcrumb-group>
234
+ <div style="background-color: black; width: fit-content;">
235
+ <ic-breadcrumb-group appearance="light">
236
+ <ic-breadcrumb page-title="Breadcrumb 1" href="/breadcrumb-1">
237
+ <svg
238
+ slot="icon"
239
+ width="24"
240
+ height="24"
241
+ viewBox="0 0 24 24"
242
+ fill="none"
243
+ xmlns="http://www.w3.org/2000/svg"
244
+ >
245
+ <path
246
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
247
+ fill="currentColor"
248
+ ></path>
249
+ </svg>
250
+ </ic-breadcrumb>
251
+ <ic-breadcrumb page-title="Breadcrumb 2" current="true" href="/">
252
+ <svg
253
+ slot="icon"
254
+ width="24"
255
+ height="24"
256
+ viewBox="0 0 24 24"
257
+ fill="none"
258
+ xmlns="http://www.w3.org/2000/svg"
259
+ >
260
+ <path
261
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
262
+ fill="currentColor"
263
+ ></path>
264
+ </svg>
265
+ </ic-breadcrumb>
266
+ </ic-breadcrumb-group>
267
+ </div>
268
+ <div style="background-color: black; width: fit-content;">
269
+ <ic-breadcrumb-group appearance="light" back-breadcrumb-only="true">
270
+ <ic-breadcrumb
271
+ page-title="Breadcrumb 1"
272
+ href="/breadcrumb-1"
273
+ ></ic-breadcrumb>
274
+ <ic-breadcrumb
275
+ current="true"
276
+ page-title="Breadcrumb 2"
277
+ href="/breadcrumb-2"
278
+ ></ic-breadcrumb>
279
+ </ic-breadcrumb-group>
280
+ </div>`,
281
+
282
+ name: "Appearance",
283
+ };
284
+
285
+ export const Icon = {
286
+ render: () => html`
287
+ <ic-breadcrumb-group>
288
+ <ic-breadcrumb
289
+ page-title="Breadcrumb 1"
290
+ href="/breadcrumb-1"
291
+ current="true"
292
+ >
293
+ <svg
294
+ slot="icon"
295
+ width="24"
296
+ height="24"
297
+ viewBox="0 0 24 24"
298
+ fill="none"
299
+ xmlns="http://www.w3.org/2000/svg"
300
+ >
301
+ <path
302
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
303
+ fill="currentColor"
304
+ ></path>
305
+ </svg>
306
+ </ic-breadcrumb>
307
+ </ic-breadcrumb-group>
308
+ <ic-breadcrumb-group>
309
+ <ic-breadcrumb page-title="Breadcrumb 1" href="/breadcrumb-1">
310
+ <svg
311
+ slot="icon"
312
+ width="24"
313
+ height="24"
314
+ viewBox="0 0 24 24"
315
+ fill="none"
316
+ xmlns="http://www.w3.org/2000/svg"
317
+ >
318
+ <path
319
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
320
+ fill="currentColor"
321
+ ></path>
322
+ </svg>
323
+ </ic-breadcrumb>
324
+ <ic-breadcrumb page-title="Breadcrumb 2" href="/breadcrumb-2">
325
+ <svg
326
+ slot="icon"
327
+ width="24"
328
+ height="24"
329
+ viewBox="0 0 24 24"
330
+ fill="none"
331
+ xmlns="http://www.w3.org/2000/svg"
332
+ >
333
+ <path
334
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
335
+ fill="currentColor"
336
+ ></path>
337
+ </svg>
338
+ </ic-breadcrumb>
339
+ </ic-breadcrumb-group>
340
+ <ic-breadcrumb-group>
341
+ <ic-breadcrumb page-title="Breadcrumb 1" href="/breadcrumb-1">
342
+ <svg
343
+ slot="icon"
344
+ width="24"
345
+ height="24"
346
+ viewBox="0 0 24 24"
347
+ fill="none"
348
+ xmlns="http://www.w3.org/2000/svg"
349
+ >
350
+ <path
351
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
352
+ fill="currentColor"
353
+ ></path>
354
+ </svg>
355
+ </ic-breadcrumb>
356
+ <ic-breadcrumb page-title="Breadcrumb 2" current="true" href="/">
357
+ <svg
358
+ slot="icon"
359
+ width="24"
360
+ height="24"
361
+ viewBox="0 0 24 24"
362
+ fill="none"
363
+ xmlns="http://www.w3.org/2000/svg"
364
+ >
365
+ <path
366
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
367
+ fill="currentColor"
368
+ ></path>
369
+ </svg>
370
+ </ic-breadcrumb>
371
+ </ic-breadcrumb-group>
372
+ `,
373
+
374
+ name: "Icon",
375
+ };
376
+
377
+ export const Collapsed = {
378
+ render: () => html`
379
+ <ic-breadcrumb-group collapsed="true">
380
+ <ic-breadcrumb
381
+ page-title="Breadcrumb 1"
382
+ href="/breadcrumb-1"
383
+ ></ic-breadcrumb>
384
+ </ic-breadcrumb-group>
385
+ <ic-breadcrumb-group collapsed="true">
386
+ <ic-breadcrumb
387
+ page-title="Breadcrumb 1"
388
+ href="/breadcrumb-1"
389
+ ></ic-breadcrumb>
390
+ <ic-breadcrumb
391
+ current="page"
392
+ page-title="Breadcrumb 2"
393
+ href="/breadcrumb-2"
394
+ ></ic-breadcrumb>
395
+ </ic-breadcrumb-group>
396
+ <ic-breadcrumb-group collapsed="true">
397
+ <ic-breadcrumb
398
+ page-title="Breadcrumb 1"
399
+ href="/breadcrumb-1"
400
+ ></ic-breadcrumb>
401
+ <ic-breadcrumb
402
+ page-title="Breadcrumb 2"
403
+ href="/breadcrumb-2"
404
+ ></ic-breadcrumb>
405
+ <ic-breadcrumb
406
+ current="page"
407
+ page-title="Breadcrumb 3"
408
+ href="/breadcrumb-3"
409
+ ></ic-breadcrumb>
410
+ </ic-breadcrumb-group>
411
+ `,
412
+
413
+ name: "Collapsed",
414
+ };
415
+
416
+ export const SlottedLinksCollapsed = {
417
+ render: () => html`
418
+ <ic-breadcrumb-group collapsed="true">
419
+ <ic-breadcrumb page-title="breadcrumb 1">
420
+ <ic-link
421
+ ><a slot="router-item" href="/breadcrumb-1">Breadcrumb 1</a></ic-link
422
+ >
423
+ </ic-breadcrumb>
424
+ <ic-breadcrumb page-title="breadcrumb 2">
425
+ <ic-link
426
+ ><a slot="router-item" href="/breadcrumb-2">Breadcrumb 2</a></ic-link
427
+ >
428
+ </ic-breadcrumb>
429
+ <ic-breadcrumb current="page" page-title="breadcrumb 3">
430
+ <ic-link
431
+ ><a slot="router-item" href="/breadcrumb-3">Breadcrumb 3</a></ic-link
432
+ >
433
+ </ic-breadcrumb>
434
+ </ic-breadcrumb-group>
435
+ `,
436
+
437
+ name: "Slotted links collapsed",
438
+ };
439
+
440
+ export const Playground = {
441
+ render: (args) =>
442
+ html`<div
443
+ style="background-color: ${args.appearance == "light"
444
+ ? "black"
445
+ : null}; width: fit-content;"
446
+ >
447
+ <ic-breadcrumb-group
448
+ appearance=${args.appearance}
449
+ back-breadcrumb-only=${args.backBreadcrumbOnly}
450
+ collapsed=${args.collapsed}
451
+ >
452
+ <ic-breadcrumb
453
+ current=${args.current}
454
+ page-title=${args.pageTitle}
455
+ href=${args.href}
456
+ >
457
+ <svg
458
+ slot=${args.iconSlot}
459
+ width="24"
460
+ height="24"
461
+ viewBox="0 0 24 24"
462
+ fill="none"
463
+ xmlns="http://www.w3.org/2000/svg"
464
+ >
465
+ <path
466
+ d="M12 6.19L17 10.69V18.5H15V12.5H9V18.5H7V10.69L12 6.19ZM12 3.5L2 12.5H5V20.5H11V14.5H13V20.5H19V12.5H22L12 3.5Z"
467
+ fill="currentColor"
468
+ ></path>
469
+ </svg>
470
+ </ic-breadcrumb>
471
+ <ic-breadcrumb
472
+ page-title="Breadcrumb 2"
473
+ href="/breadcrumb-2"
474
+ ></ic-breadcrumb>
475
+ <ic-breadcrumb
476
+ page-title="Breadcrumb 3"
477
+ href="/breadcrumb-3"
478
+ ></ic-breadcrumb>
479
+ </ic-breadcrumb-group>
480
+ </div>`,
481
+
482
+ args: defaultArgs,
483
+
484
+ argTypes: {
485
+ appearance: {
486
+ options: ["default", "dark", "light"],
487
+
488
+ control: {
489
+ type: "radio",
490
+ },
491
+ },
492
+
493
+ iconSlot: {
494
+ mapping: {
495
+ true: "icon",
496
+ false: "",
497
+ },
498
+ },
499
+ },
500
+
501
+ name: "Playground",
502
+ };