From 845225ffebbe1c4f6d974558dff87a09759d7422 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 3 Apr 2022 12:15:56 -0700 Subject: [PATCH] fix: use correct View icon [ci skip] --- docs/src/pages/components/Link.svx | 36 +++++++++++++++------ src/icons/Incomplete16.svelte | 51 ------------------------------ src/icons/View.svelte | 47 +++++++-------------------- 3 files changed, 39 insertions(+), 95 deletions(-) delete mode 100644 src/icons/Incomplete16.svelte diff --git a/docs/src/pages/components/Link.svx b/docs/src/pages/components/Link.svx index b8d08cbc..1743f75f 100644 --- a/docs/src/pages/components/Link.svx +++ b/docs/src/pages/components/Link.svx @@ -10,7 +10,9 @@ components: ["Link", "OutboundLink"] ### Default -Carbon Design System + + Carbon Design System + ### Target _blank @@ -18,19 +20,25 @@ If setting `target` to `"_blank"`, the `Link` component will automatically set ` You can override the `rel` attribute with a custom value. -Carbon Design System + + Carbon Design System + ### Outbound link An alternative to manually setting `target` to `"_blank"` is to use the `OutboundLink`. -Carbon Design System + + Carbon Design System + ### Inline variant
Visit the - Carbon Design System. + + Carbon Design System + .
### Link with icon @@ -39,21 +47,31 @@ Note that `inline` must be `false` when rendering a link with an icon.
Visit the - Carbon Design System. + + Carbon Design System + .
### Large size -Carbon Design System + + Carbon Design System + ### Small size -Carbon Design System + + Carbon Design System + ### Disabled -Carbon Design System + + Carbon Design System + ### Visited styles -Carbon Design System \ No newline at end of file + + Carbon Design System + \ No newline at end of file diff --git a/src/icons/Incomplete16.svelte b/src/icons/Incomplete16.svelte deleted file mode 100644 index 23c303d2..00000000 --- a/src/icons/Incomplete16.svelte +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - {#if title} - {title} - {/if} - - diff --git a/src/icons/View.svelte b/src/icons/View.svelte index 45fb70d7..4d738240 100644 --- a/src/icons/View.svelte +++ b/src/icons/View.svelte @@ -1,53 +1,30 @@ - + {#if title}{title}{/if} - - {#if title} - {title} - {/if} -