This repository has been archived by the owner on Feb 26, 2022. It is now read-only.
Releases: novacbn/svelte-feather
Releases · novacbn/svelte-feather
v0.1.0
v0.1.0
- (BREAKING) Components must be imported via
svelte-feather/components
now using theIcons
map
<script>
import {IconWifi} from "svelte-feather";
</script>
<IconWifi />
->
<script>
import {Icons} from "svelte-feather/components";
</script>
<Icons.Wifi />
-
(BREAKING) Updated default size of Icon Components to be
1em
(<Icons.Wifi />
), it is matches current font size of parent- Added original default Icon size of
24px
asICON_SIZES.medium
(<Icons.Wifi size="medium">
)
- Added original default Icon size of
-
Added Console warning about importing directly from
svelte-feather/components
-
Added export information for being able to import Icon Components directly, to improve Build Tools / IDE experience (i.e. slow code formatting)
- e.g.
import {Wifi} from "svelte-feather/components/Wifi";
- e.g.
-
Added new bundled Web Components build at
/dist/svelte-feather.webcomponents.js
//dist/svelte-feather.webcomponents.min.js
- If frontloading all the Icons at once and being Javascript-only is not a concern, this build is available in plain HTML via
<feather-${ICON}>
. e.g.<feather-wifi size="large">
- If frontloading all the Icons at once and being Javascript-only is not a concern, this build is available in plain HTML via
-
Bump Feather from
4.26.0
->4.28.0
-
Cleaned up some build code
-
Moved library files into root filesystem