Skip to content

Commit

Permalink
Switch from element components to a massive {#if} block
Browse files Browse the repository at this point in the history
Obviously this is very ugly but it's far better for bundle size.
  • Loading branch information
rgossiaux committed Mar 18, 2022
1 parent 2dbc93c commit 8bc5fab
Show file tree
Hide file tree
Showing 42 changed files with 493 additions and 667 deletions.
1 change: 0 additions & 1 deletion src/lib/components/label/Label.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
if (passive) delete allProps["onClick"];
</script>

<!-- svelte-ignore a11y-label-has-associated-control -->
<Render
{...allProps}
name={"Label"}
Expand Down
22 changes: 0 additions & 22 deletions src/lib/internal/elements/A.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Address.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Article.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Aside.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/B.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Bdi.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Bdo.svelte

This file was deleted.

19 changes: 0 additions & 19 deletions src/lib/internal/elements/Blockquote.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Button.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Cite.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Code.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Data.svelte

This file was deleted.

19 changes: 0 additions & 19 deletions src/lib/internal/elements/Datalist.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Dd.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Div.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Dl.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Dt.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Em.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Footer.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/Form.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/H1.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/H2.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/H3.svelte

This file was deleted.

14 changes: 0 additions & 14 deletions src/lib/internal/elements/H4.svelte

This file was deleted.

Loading

1 comment on commit 8bc5fab

@vercel
Copy link

@vercel vercel bot commented on 8bc5fab Mar 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.