Skip to content

Commit

Permalink
Merge pull request #1 from lynnlo/main
Browse files Browse the repository at this point in the history
Exposed Fill and TabIndex props to Icons
  • Loading branch information
shinokada committed Mar 18, 2024
2 parents e368497 + 78bb012 commit 474813a
Show file tree
Hide file tree
Showing 288 changed files with 7,040 additions and 287 deletions.
5,605 changes: 5,605 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/lib/Activity.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'activity';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand All @@ -38,5 +41,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'activity';
-->
6 changes: 5 additions & 1 deletion src/lib/Airplay.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'airplay';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -41,5 +44,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'airplay';
-->
6 changes: 5 additions & 1 deletion src/lib/AlertCircle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'alert circle';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'alert circle';
-->
6 changes: 5 additions & 1 deletion src/lib/AlertOctagon.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'alert octagon';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'alert octagon';
-->
6 changes: 5 additions & 1 deletion src/lib/AlertTriangle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'alert triangle';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -41,5 +44,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'alert triangle';
-->
6 changes: 5 additions & 1 deletion src/lib/AlignCenter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'align center';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'align center';
-->
6 changes: 5 additions & 1 deletion src/lib/AlignJustify.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'align justify';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'align justify';
-->
6 changes: 5 additions & 1 deletion src/lib/AlignLeft.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'align left';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'align left';
-->
6 changes: 5 additions & 1 deletion src/lib/AlignRight.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'align right';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'align right';
-->
6 changes: 5 additions & 1 deletion src/lib/Anchor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'anchor';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -41,5 +44,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'anchor';
-->
6 changes: 5 additions & 1 deletion src/lib/Aperture.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'aperture';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -54,5 +57,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'aperture';
-->
6 changes: 5 additions & 1 deletion src/lib/Archive.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'archive';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'archive';
-->
6 changes: 5 additions & 1 deletion src/lib/ArrowDown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'arrow down';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand All @@ -38,5 +41,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'arrow down';
-->
6 changes: 5 additions & 1 deletion src/lib/ArrowDownCircle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let size = ctx.size || '24';
export let role = ctx.role || 'img';
export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
export let fill = ctx.fill || 'none';
export let ariaLabel = 'arrow down circle';
</script>
Expand All @@ -12,8 +14,9 @@
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
fill={fill}
stroke={color}
tabIndex={tabIndex}
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
Expand Down Expand Up @@ -44,5 +47,6 @@
@prop export let size = ctx.size || '24';
@prop export let role = ctx.role || 'img';
@prop export let color = ctx.color || 'currentColor';
export let tabIndex = ctx.tabIndex || '-1';
@prop export let ariaLabel = 'arrow down circle';
-->
Loading

0 comments on commit 474813a

Please sign in to comment.