-
Notifications
You must be signed in to change notification settings - Fork 4
*Changelog
Bryce Russell edited this page Jan 2, 2023
·
57 revisions
- Refactor
<CodeCopy>
to use<template>
- Tiny refactor
<NoScriptProperty>
, added<slot />
and made the included class optional
- Added
<Switch>
component, uses named slots like a switch statement - Tiny refactor on
<Map>
, added index to slot function arguments and made array detection more robust - Moved
<keyboardProp>
and<NetworkProperty>
to component archive, too niche/specialized - Rename dynamic CSS scripts from
{name}Prop
to{name}Property
- Tiny refactor on
<ScrollProperty>
and<MouseProperty>
, added ability to override default variable names - Move
<NoScriptProperty>
to style components - Added
default
prop to<NoScriptProperty>
Fix error with types not being found when importing, also fixes prop typing- Added
<Network>
prop back
- Add start for
<TableOfContents>
, on pause until slots can be passed recursively or will have to useastro-json-element
- Tiny refactor on
<IconSwitch>
, removed opinionated defaults
- Fix import typos that only showed after publishing
- Temporarily removed
<NetworkProp>
from exporting due to weird bug (It was a space in the project folder)
- Added
<CodeCopy>
a copy code button that gets attached to code blocks - Renamed
<ThemeIcon>
to<IconSwitch>
because it also works with<CodeCopy>
- Rename
<ThemeToggle>
to<MultiThemeToggle>
to be more consise and match<DarkThemeToggle>
- Old
<ThemeToggle>
renamed<DarkThemeToggle>
, a simpler theme toggle for websites with only light/dark - Refactor
<ThemeToggle>
into a more advanced multi theme script - Refactor
<AnimatedSpriteSheet>
and<ThemeIcon>
into new more consistent pattern for style components
- Added
<ThemeToggle>
a dark mode button/script - Added
<ThemeIcon>
, animated icon switch on theme change, shows an icon related to the current theme
- Remove trailing slashes from
<Breadcrumb>
url
- Refactor
<NetworkProp>
- Added ability to target page number for alternative render inside
<Pagination>
using slots - Fix package.json
- Added
defaults
prop to<Navigation>
- Fix repository link in package.json
0.11
- Added
before
andafter
prop to<Pagination>
to give more control over which links are displayed - Added
hide
prop to<AnimatedSpriteSheet>
as an option to hide the default animation element
0.10
- Fixed
<AnimatedSpriteSheet>
, all spritesheet orientations should now work (horizontal, vertical, and grids)
0.09
- Added
<AnimatedSpriteSheet>
, a CSS stylesheet template for animating spritesheets using CSS keyframe animations - Refactor
<Map>
component- Data is now passed like this:
<Map {...array}>
- Ditch prop abstraction of
Array.prototype
methods likereverse
andfilter
in favor of using.
dot notation when passing array - Added ability use named slots to target an index for alternative render
- Data is now passed like this: