Skip to content

Mischka [2.0.0]

This release separated out the Astro/Bookshop components so that they are centralised in a separate repository to be shared by all sites. The components are site mounted for CloudCannon preview sites and cloned then accessed via symlink for Amplify-hosted production sites.

It fully implemented a four-level design token / variable system for SCSS to ensure convenient and value-agnostic flow through of mutable properties from site repos to the centralised components.

  • Migrated components to centralised repo, including adding variable-populated SCSS and all inputs modularised:
    • Accordion
    • Accordion Group
    • Button
    • Card
    • Debugger
    • Grid
    • Group
    • Heading
    • Hero
    • Hero Textbox
    • Image
    • Link
    • Listing
    • Media List
    • Modal Button
    • Nav Button
    • Overline
    • Personnel
    • Quote
    • Resource List
    • Section
    • Spacer
    • Story Card
    • Story Card Layout
    • Story List
    • Subscribe
    • Subscribe Modal
    • Tag
    • Tag Group
    • Text Content
    • Video
  • Added third level (componentTokens) into design token/variable system.
  • Added data options:
    • Border colours
    • Card colours
    • Categories
    • Hero textbox types
    • Theme settings
      • Colours
      • Gaps
      • Resource card defaults
      • Story card defaults
  • Added the ability to override the colour of the heading component.
  • Added the ability to set padding size for heading and heroTextbox components.
  • Added new mid-base colour option.
  • Implemented new build settings in AWS Amplify to integrate centralised components repository.
  • Added the ability to manually add a gradient to a section background colour.
  • Removed simple components by updating components to be conditionally usable across Bookshop or as sub-components:
    • Card
    • Grid
    • Group
    • Heading
    • Section
  • Populated design tokens/variables system with all mutable values.
  • Separated colour variables to separate SCSS file for easier theming.
  • Added new background colour options for card and heroTextbox.
  • Made categories limited and consistent.
  • Fixed accordion component to remove extra padding from the label.
  • Updated process for shared TS functions to be centralised in components repo and simplified from Vite copying process.
  • Updated resources listing page ([…page].astro) to use data options settings for feature cards.
  • Updated storyList and storyCardLayout components to use data options settings for card defaults.
  • Updated the hover state for buttons to be visible on all backgrounds.
  • Update the input type for overrideBgColor property in section.