Skip to content

*Changelog

Bryce Russell edited this page Jan 25, 2023 · 57 revisions

0.24

  • Added loop prop to <Map>
  • Tiny update to <Switch>, created documentation
  • Fix import error in <CodeCopy>

0.23

  • Rename <IconSwitch> to <IconSwitcher> to make it stand out more from <Switch>
  • Added <Show>, acts like a conditional/ternary statement mostly used for default <Switch>
  • Major refactor on <Switch>
    • Made name prop and its behavior optional
    • by default expects a <Show> component as a child with a number as a named slot
    • Filter/sorts numbered named slots and going in order will only render the first slot that contains content
  • Refactor <CodeCopy> to use <template>
  • Added <slot /> to <NoScriptProperty> and made the included hide class optional

0.22

  • 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>

0.21

  • Fix error with types not being found when importing, also fixes prop typing
  • Added <Network> prop back

0.20

  • Add start for <TableOfContents>, on pause until slots can be passed recursively or will have to use astro-json-element
  • Tiny refactor on <IconSwitch>, removed opinionated defaults

0.18-0.19

  • 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)

0.17

  • 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>

0.16

  • 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

0.15

  • Added <ThemeToggle> a dark mode button/script
  • Added <ThemeIcon>, animated icon switch on theme change, shows an icon related to the current theme

0.14

0.13

0.12

0.11

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 like reverse and filter in favor of using . dot notation when passing array
    • Added ability use named slots to target an index for alternative render
Clone this wiki locally