Skip to content

Releases: histoire-dev/histoire

v0.4.3

09 May 14:37
Compare
Choose a tag to compare

Bug Fixes

  • config: replace arrays by default instead of merging (95c29dd)
  • mark all vue packages as external (4d31997)

v0.4.2

09 May 14:05
Compare
Choose a tag to compare

Bug Fixes

  • revert vue back to peer dep (737fa16)

v0.4.1

09 May 13:58
Compare
Choose a tag to compare

Bug Fixes

  • missing @types/markdown-it peer dep (549e5bf)

v0.4.0

09 May 13:38
Compare
Choose a tag to compare

Bug Fixes

  • remove import to @vue/runtime-core (e8e81c9)
  • sandbox style included in main app (bce793d)
  • single layout no iframe => couldn't scroll (6afdd25)
  • slot optimization in overflow menu (0b11e00)

Features

  • full text search in markdown docs, fix #70 (d6e23ce)
  • initial work to pre-bundle the client (#87) (9e8cba9)
  • remove mandatory vue3 vite plugin (fde0929)
  • tailwind: disable iframe (08401bd)

v0.3.3

08 May 15:00
Compare
Choose a tag to compare

Bug Fixes

  • don't optimize histoire/client, fix #79 (ea22d1b)
  • search: duplicate keys (d94c778)
  • search: remove no result animation (649490e)

Features

  • search: greatly reduce index download size (305e560)

v0.3.2

06 May 14:42
Compare
Choose a tag to compare

Features

v0.3.1

02 May 22:18
Compare
Choose a tag to compare

Bug Fixes

v0.3.0

02 May 00:19
Compare
Choose a tag to compare

Migrating from v0.2

  • The default dist folder is now .histoire/dist from histoire-dist
    -> If you didn't customize it: either takes this into account or add outDir: 'histoire-dist' to your config.

  • The setup function export for Vue 3 has been changed from default to setupVue3 and the type handler has been renamed from defineVue3StorySetup to defineSetupVue3

Before:

import { defineVue3StorySetup } from 'histoire/client'

export default defineVue3StorySetup(({ app }) => {
  app.provide('demo', 42)
})

After:

import { defineSetupVue3 } from 'histoire/client'

export const setupVue3 = defineSetupVue3(({ app }) => {
  app.provide('demo', 42)
})

Bug Fixes

  • add names to apps (28f3448)
  • build preload links (ebcf1d3)
  • build: disable minify to preserve function/variable names (db84feb)
  • collect story loader not clearing vite cache (a6bbc53)
  • controls css missing component style (921073a)
  • dev: favicon respects base (439f5fb)
  • docs: dark: hr (351e4dd)
  • folder issue when selecting nested story (e24357a)
  • grid, use manual CSS var (a3accb0)
  • handle viteConfig.base, fix #69 (959d06c)
  • init host variant state (a752bcc)
  • renamed api (da5e34a)
  • search: loading ux (9348009)
  • search: new search didn't include story title for variants (95943d5)
  • split controls dist style in two (4c248ec)
  • Story: docsOnly shouldn't display variant number (4fe00e6)
  • tailwind: dark: better drop shadow design (3993802)
  • vue: Anonymous components (a81fef6)
  • vue: codegen append text with no leading space to previous line (f0f4816)
  • vue: codegen cleanup $setup. more (b234c9e)
  • vue: codegen content on new line if at least one attribute (9c89037)
  • vue: codegen: improved event listeners (fee85a0)
  • vue: codegen: only put content on same line if it's text (ca13bc5)
  • vue: godegen custom directives (be1b287)

Features

Performance Improvements

  • faster design tokens initial render (c18d457)

v0.2.5

20 Apr 13:51
Compare
Choose a tag to compare

Bug Fixes

  • HstColorShades: handle long names (03974ea)
  • remove outline on dropdowns (67cb60d)
  • vue3: codegen: convert " to ' in function props (0a7b0ae)

Features

v0.2.4

19 Apr 10:46
Compare
Choose a tag to compare

Bug Fixes