- Remove counter animation (a6a9b81d)
- vue: Codegen setup directives (92f91cc7)
- Typescript 5 + eslint 9 + antfu eslint (1e679fda)
- Guillaume Chau (@Akryum)
- StoryResponsivePreview full height (#708)
- Mobyrr (@Mobyrr)
- StoryResponsivePreview vertical resize (#704)
- Mobyrr (@Mobyrr)
- Force release all packages (fec0afd3)
- Guillaume Chau (@Akryum)
- percy: Support builder for options and adding types (#690)
- vue: Codegen: check before using
in
on nullable object (#688) - Revert "fix: Fix sandbox URL in getSandboxUrl function" (#698)
- Consider platform specific CRLF when generating d.ts files (#648)
- Peter Budai [email protected]
- Mobyrr (@Mobyrr)
- Carlos Rodrigues [email protected]
- Julian Meinking (@DrJume)
- Hugo ATTAL
- vue3: Wrap story with Suspense, fix #668 (#668)
- Guillaume Chau (@Akryum)
- Hugo ATTAL
- Hollis Wu
- Update vite (d74416f0)
- Filip Joelsson [email protected]
- Guillaume Chau (@Akryum)
- Support Vite 5.0 (#647)
- Filip Joelsson [email protected]
- Peter Budai [email protected]
- Gerard Wilkinson [email protected]
- Update deps (08c082c)
- Peter Budai [email protected]
- Mobyrr
- Guillaume Chau (@Akryum)
- nuxt: Support multiple app presets (#627)
- nuxt: Disable typescript
typeCheck
(#632, #633) - dev: Remove dependency on resolve order for linking in markdown … (#599)
- hmr: Make HMR work with Nuxt (#631)
- Fix Vue warning 'Non-function value encountered' (#615)
- github: Add a link to
Nuxt Stackblitz
to bug report template (#471, #619) - Add visual regression testing section to the examples (#621)
- Vite server comments (e0c6057)
- Peter Budai [email protected]
- Guillaume Chau (@Akryum)
- Kane G
- Dima Ivashchuk (@d-ivashchuk)
- Mehdi Lahlou (@medfreeman)
- Daniel Roe (@danielroe)
- HstColorSelect wrong name, fix #595 (#595)
- nuxt: Disable nuxt app manifest (#602)
- nuxt: Update nuxt version and disable devtools (#611)
- Force display none for HstRadio (#537, #607)
- Fixed file extension in docs (#618)
- nuxt: Temporarily move to
@ts-ignore
(#609)
- Disable cypress video recording (c060854)
- Don't try to upload videos artifacts (b3831db)
- Test sequentially for vite ecosystem ci (dabdc35)
- Ilya Artamonov [email protected]
- Soryn [email protected]
- Peter Budai [email protected]
- Daniel Roe [email protected]
- Guillaume Chau (@Akryum)
- nuxt: Don't externalize .nuxt folder (3ba02bf)
- Guillaume Chau (@Akryum)
- Update
vite-node
version to fix__vite_ssr_import_meta__
error (#588) - nuxt: UseNuxtApp error (d8bb144)
- Fix (483efb7)
- Fix (67ec022)
- Guillaume Chau (@Akryum)
- SerKo
- vue: Reverse wrapper order to that wrapper added first is outside and added last is inside (70415b4)
- Guillaume Chau (@Akryum)
- Michael Thomas
- Guillaume Chau (@Akryum)
- nuxt: Build (bb0c0fe)
- svelte: Plugin build (8d3872d)
- nuxt: Don't stub out unenv (#578)
- tailwind: Allow different fontSize configuration values (#580)
- Switch to vitest (772fae1)
- Guillaume Chau (@Akryum)
- László Czöndör [email protected]
- Daniel Roe [email protected]
- svelte: Add
svelte@^4.0.0
peer dependency option forsvelte
plugin (#551, #569) - nuxt: Pass nuxt runtimeConfig into nuxt app stub (#494, #567)
- nuxt: Nuxt plugin error (#527, #575)
- Adjust tree file path if it's a plugin (#276, #570)
- Fixed typos in Console logs (#577)
- Michael Thomas
- Guillaume Chau (@Akryum)
- Eduard Predescu (@epr3)
- Guilherme Souza
- Specialdoom
- Hmt
- Bjorn Lu [email protected]
- plugin-percy: Add option to delay pupeteer screenshot and modif… (#559)
- svelte: Missing globby dep, fix #553 (#553)
- Fix pnpm version inconsistency (#550)
- Guillaume Chau (@Akryum)
- Noel Schenk (@noel-schenk)
- 翠 / Green [email protected]
- Vite mergeConfig doesn't accept callback params (dcd5d9f)
- More readable code for tree config (#539)
- config: Add info about ionic binary files error (#540)
- Update to pnpm 8.6 (6c4e4c7)
- Guillaume Chau (@Akryum)
- SerKo
- Reslear [email protected]
- nuxt: Add vite vue plugins if they are missing (#517)
- Bump histoire dependencies to 0.16.0 (84a027e)
- Use workspace protocol more (17c1347)
- Update release-tag job (4e3cdee)
- Allow manual release (3512564)
- Update release-tag (7510557)
- Fix netlify pnpm version (1a1cc68)
- Guillaume Chau (@Akryum)
- Roel Van Hintum
- Daniel Roe [email protected]
- Update to vite 4.2 (df3067d)
- Add booleanish checkbox (#506)
- Update jiti + update nuxt example (d830e19)
- MD:
⚠️ Set breaks to false in Markdown (default behavior) (#457) - Histoire-vendors broken build (#505)
- Switch to pnpm-lock v6.0 (c62fc6a)
- Update release-notes workflow (43b04d7)
- Pin release-tag version (dc26d0d)
- Update pnpm version in GH actions (a75ffbd)
- MD:
⚠️ Set breaks to false in Markdown (default behavior) (#457)
- Guillaume Chau (@Akryum)
- Hugo ATTAL [email protected]
- Sam Hulick
- screenshot: Add launchOptionsArgs to be able to pass args for c… (#446)
- HstSelect: Change
v-model
type to any (#454)
- docs: Header anchors error when hash is chinese. fixes #460 (#452, #460)
- svelte: Supplement missing member types (#483)
- nuxt: Do not render app pages alongside stories (#472, #473)
- Ensuring that
threadsCount
results in an integer rather than a double when cpus is an odd number. (Fixes #469 ) (#470, #469)
- Fix typo (#447)
- Guillaume Chau (@Akryum)
- Tom English [email protected]
- Mehdi Lahlou (@medfreeman)
- Acyza
- Fw6
- A474516631 [email protected]
- Simon He
- Justin Duke [email protected]
- Kodai Nakamura (@kdnk)
0.15.8 (2023-02-18)
- vue3: codegen v-model on simple reactive variable (5701116)
0.15.7 (2023-02-17)
0.15.6 (2023-02-17)
- new variant not rendering in grid (6e8ad86)
0.15.5 (2023-02-17)
0.15.4 (2023-02-16)
- add replaceAll guard (319f9aa)
- dedupe addStory of same file (9076776)
- nuxt: don't optimize @histoire/plugin-nuxt (07397ed)
0.15.3 (2023-02-15)
- vue3: codegen: handle boolean props (22b7456)
0.15.2 (2023-02-15)
- controls: mark value props as optional (328f7c6)
- grid copy icon button (6a3aa4b)
0.15.1 (2023-02-15)
- remove console.log (97ee0fb)
0.15.0 (2023-02-15)
- vue3: errors in grid layout when adding new variants (4f693fb)
- nuxt: improve nuxt env stub (#443) (b73b2da)
- config:
build.excludeFromVendorsChunk
- config:
viteNodeInlineDeps
now also supportsstring
in the array
0.14.2 (2023-02-11)
- vue3: move change-case to deps (905d004)
- svelte: auto generate story file from component (007c31c)
0.14.1 (2023-02-10)
- ERR_UNSUPPORTED_ESM_URL_SCHEME, fix #440 (7d1c2e4)
- types: HstVue not found in vue plugin, fix #449 (fd72c48)
- use sessionStorage storeColorScheme, fix #444 (b3c836d)
0.14.0 (2023-02-10)
- docs open in editor button (b2c6f5d)
- open in editor button (da9b4a3)
- open in editor command in search (c161d15)
- vue3: auto generate story from component (162d05f)
0.13.2 (2023-02-08)
- build: output story data in histoire.json (7ce2088)
- cli: add --open to dev command, fix #257 (876161b)
- Dark mode API and config, fix #388 (#438 (683e6ba)
0.13.1 (2023-02-08)
- build: force disable ssr, fix #427 (3d72efd)
- build: force manualChunks option, fix #427 (bd9296e)
- dev: HMR can be caught by node server, fix #436 (2d5b3c8)
0.13.0 (2023-02-05)
- build: Cannot read properties of undefined (reading 'isCollecting') (2208e31)
- HstButtonGroup: not respecting options order (2bbfc1d)
- HstSelect: support array of numbers, fix #423 (b7cc168)
- isCollecting not working (4f6427c)
- svelte-control-elements: textarea capitalization typo on interface (#413) (fbbc58f)
- tailwind tokens not working with pnpm, fix #282 (f155491)
- vue3: codegen v-model on prop with dash in name (c53ea61)
- pinceau: support Pinceau as Design System (#309) (d23a541)
- update to vite 4.1, fix #434 (86e08d1)
- vite-node: enable CJS fallback (71be82a)
- vue: remove unknown components warnings (47517f8)
0.12.4 (2022-12-23)
- custom controls taking too much space (59d1153)
0.12.3 (2022-12-23)
- tree: minus icon not displayed on Firefox (e12c81f)
0.12.2 (2022-12-20)
0.12.1 (2022-12-20)
- docs: header anchors with routerMode hash (c729f6b)
- docs: scroll to top (18b0353)
- docs: scroll to URL anchor (68de7e2)
0.12.0 (2022-12-19)
- builtin controls component types (98d0713)
- config: throw -> warn for file check (2d0f8dd)
- missing null check #389 (#390) (62b3fd5)
- missing types components in global components (#366) (041922c)
- vue2: shared controls not working, fix #266 (2210c51)
- complete transition to shiki-es (7c2133d)
- config: collectMaxThreads (5008ecb)
- config: resolve theme files + check exist (3e85496)
- sveltekit: upgraded sveltekit support to svelltekit v1.0.0 (fix #392, #397) (#402) (e7e5993)
- tree: new folder and group design (afa305e)
- upgrade to rollup 3 and vite 4 (#404) (e389cb0)
0.11.9 (2022-12-03)
- grid: scroll not loading additional variants (58fe7e5)
- state not syncing in iframe mode, fix #361 (4b7fe0c)
- switch to shiki-es (2a63502)
0.11.8 (2022-12-03)
0.11.7 (2022-11-12)
- build error (91b48a1)
- config changes not applied on auto restart (a54efad)
- grid scroll height not being reset when switcing story (875cf7d)
- grid with % size glitching (ef51ccc)
- not restarting on vite config change (c5fb953)
- percy: puppeteer import, fix #330 (c199ad4)
- remove overflow tailwind classes from sandbox, fix #351 (a326a6a)
- remove vite-plugin-inspect (df6a7fb)
- setupFile.browser only being also applied to server, related to #323 (833d086)
- svelte: dynamic source, fix #344 (11e0432)
- svelte: state sync: ignore undefined, HTMLElement and SvelteComponents, fix #346 (755ac0d)
0.11.6 (2022-10-26)
- grid: update column count when content size changes (0786a57)
- prevent collecting loop (ad6c652)
- svelte: controls not rendering in variant > controls slot (c88c5d8)
- add components class (fix #203) (#337) (c85126e)
- add size hint, fix #329 (#336) (df859a9)
- backgroundPresets: add contrast color (#335) (c7ced23)
- change default font to Noto Sans Display (23be901)
- config: autoApplyContrastColor (f045444)
- md: links to other stories, fix #265 (c73792c)
0.11.5 (2022-10-14)
- add optimize shiki in case of pnpm shamefully hoist (a1014ab)
0.11.4 (2022-10-12)
0.11.3 (2022-10-09)
- config dev port (fix #317) (#318) (095d516)
- missing dark class when layout.iframe option is false (#267) (e0d1854)
- sveltekit: md file broken rendering, fix #321 (082ad07)
- svelte: variantState should not be modified by component internal state (#271) (af78b46)
- add JSON control (#319) (a9d9701), closes #30
- add vite-plugin-inspect (3cb13d0)
- button to change text direction, fix #236 (d7fe643)
- config: allow only setupFile.browser or .server (79f2bd4)
0.11.2 (2022-10-06)
- grid: gradient is cut off (7aa006a)
0.11.1 (2022-10-06)
- add buttons controls (#312) (7bc1b60)
- add checkbox list (#310) (ad39f96), closes #30
- center grids (527f285)
- grid: open in new tab (e828f8c)
- grid: preview background (b2b0583)
0.11.0 (2022-10-03)
- add client exports to histoire package (b2547ce)
- changed generated id because of switch to change-case (710f0dd)
- config: enable ESM resolve for jiti (0ce9796)
- config: handle plugins undefined (5b03c05)
- force optimize vscode-textmate, fix #285 (84f6467)
- improve story/md deletion handling (e85af38)
- md: adding new markdown files HMR (709ee34)
- md: cannot resolve markdown file (b92641c)
- screenshot overwritten, use size in filename (#299) (d50608a)
- use jitsi to load config (e819ce4)
- call setupFile on server + auto-inline deps in vite-node (49546dc)
- config: allow different setupFile for server-side (3103374)
- config: defaultStoryProps (c7e39b8)
- isCollecting(), fix #233 (e3cd92a)
- md: change default md file icon (a3894cd)
- md: improved inline code style (b9a1e82)
- nuxt: add stubs for
useNuxtApp
andNuxtLink
(#307) (8aca3c2) - rename hstEvent to logEvent (b1cb7d0)
- static source code, fix #238 (8887c70)
- svelte: Hst prop typing (287193b), closes #289
- updated design (afcb244)
- improve story list updates speed (5c4347d)
- switch back to non-conventional virtual ids (dc4e83b)
0.10.7 (2022-08-23)
0.10.6 (2022-08-23)
- supress 'dynamic import cannot be analyzed' warning (4f8b422)
- svelte3: Class constructors cannot be invoked without 'new' (fc10cd8)
- vue2: syncing refs (29ac9a1)
- vue: vue 2 docs custom blocks, fix #251 (709d0b8)
0.10.5 (2022-08-23)
- compatible with nested tailwind color (fix #200) (#253) (fb23942)
- plugin: replace
:
with_
to prevent issue on Windows, fix #256 (69c41c5)
0.10.4 (2022-08-17)
- nuxt: resolve vite config after all modules have injected plugins (#246) (cefa4f9)
- postMessage error, fix #250 (0f5b400)
0.10.3 (2022-08-16)
0.10.2 (2022-08-13)
0.10.1 (2022-08-13)
0.10.0 (2022-08-12)
- do not add target blank to urls that start with # in markdown (#235) (4abb77f)
- escape paths on Windows (976eae8)
- types: ServerStory.layout (6eaf15c)
- change default port to 6006 (54241e3)
- index markdown files into search (e6529a5)
- markdown files, fix #237 (c92a382)
- plugin: defaultConfig hook (c31bc74)
- search: auto open docs tab if search result is from docs (0d0d02f)
- svelte support (#232) (d160204)
- upgrade to vite 3 (bdff4a4)
0.9.6 (2022-08-10)
- add key to generic render/mount, fix #231 (203f7a9)
- iframe: variant.previewReady wasn't reeset to false (4f52b45)
- state preset: use structured cloning when applying (10b1b4b)
- state preset: wait for controls render (e31002d)
0.9.5 (2022-08-10)
- optimize flexsearch (7babe9b)
0.9.4 (2022-08-10)
- remove shiki deps from direct deps (70f36c9)
0.9.3 (2022-08-10)
- optimize histoire deps (8de066e)
0.9.2 (2022-08-10)
- allow require.resolve @histoire/controls (2717442)
- import of flexsearch, fix #227 (1b44bb6)
- plugin: initialize context before calling onDev (ed0d5b8)
- remove forced deps optimize (234c8c1)
- rename tailwind plugin with builtin: prefix (295fc59)
- sourcecode pane crashing if no generated source code (1517832)
- vanilla: inherit options (55162e0)
- vanilla js (no-framework) support plugin (31f1bce)
0.9.1 (2022-08-02)
- build: force external = [] to rollup options, fix #214 (45f7ba5)
- build: force lib:false, fix #219 (6cca1e1)
- grid: remove prevent modifier, fix #221 (8ca882b)
- resize story responsive preview (#181) (0999c54)
- resolve plugin correctly on windows (#218) (3544713)
- update floating-vue, fix #206 (d3b0061)
- vue2: HMR adding new variants not updating grid layout (d8a8b55)
- add
process.env.HISTOIRE = 'true'
in cli bin to help adding conditions in vite.config.js (94339d9)
0.9.0 (2022-07-30)
- controls: design tokens slots not working (297f62f)
- floating-vue not bundled (3b77a87)
- replace VUE_OPTIONS_API in bluded vue (4f77909)
- revert non-enumerable internal state props (645509f)
- vue2: codegen: skip slots key starting with _ (47ae607)
- vue2: missing moveSlotContent (38d1f97)
- cleaner histoire package, moved client to
@histoire/app
(0b788a3) - support plugins (3357c46)
- Vue 2.7 support (e54694a)
Install the vue3 plugin:
pnpm i -D @histoire/plugin-vue
# OR
npm i -D @histoire/plugin-vue
# OR
yarn add -D @histoire/plugin-vue
Create or update your histoire config file (histoire.config.js
or histoire.config.ts
):
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue' // New
export default defineConfig({
plugins: [
HstVue(), // New
],
})
Update imports:
import { defineSetupVue3 } from 'histoire'
=>import { defineSetupVue3 } from '@histoire/plugin-vue'
/// <reference types="histoire/vue" />
=>/// <reference types="@histoire/plugin-vue/components" />
0.8.4 (2022-07-22)
- Added questionmark to possibly undefined userViteConfig (#196) (64e306a)
- show empty state faster (8289eb8)
0.8.3 (2022-07-22)
- mark auto prop internal state as non-enumerable (20678c8)
- too much recursion with circular data (df81aac)
- vue3: state sync hang (7c399fd)
0.8.2 (2022-07-21)
- config: disable vite internal config file loading (8ca4362)
- config: merge function
vite
(f52c05c) - config: remove vite:legacy, fix #156 (f057330)
- HstSelect: allow any type of value (1e198a8)
- pin shiki version on cdn (8f69bbf)
- vue3: codegen: remove undefined props (b0dc96d)
- vue3: falsy auto props overrides not applied, fix #164 (0a53656)
- vue3: global components not resolved, fix #158 (855103b)
- vue3: script setup refs not synced, fix #190 (780967d)
- vue3: shared auto props (dbcf87b)
- vue3: toRawDeep emptying duplicate objects/arrays, fix #183 (bba7711)
0.8.1 (2022-07-20)
0.8.0 (2022-07-19)
- add min and max attrs to the input (#173) (cc5ead5)
- auto props value override not working after vendor bundling (a663735)
- skip app setups while collecting (5fff544)
- vue3: detect type of shorthand prop def, fix #155 (cc8e06a)
- vue3: hot reload not triggered (c747458)
0.7.9 (2022-07-06)
0.7.8 (2022-06-22)
- build: force no externalize, fix #137 (a760adf)
- collect: autostub components in child vnodes, fix #138 (5f6d29b)
- prevent vite from restarting two times when changing vite config (f00143c)
- ts: global component types, fix #146 (fbec6bf)
- vue3: components not skipped for implicit state, causing clone error (86e580f)
- vue3: double sandbox mounting, fix #144 (a788feb)
- vue3: improve sandbox mounting logic (f851658)
- vue3: state sync breaking after loading story 2nd time, fix #128 (58ecf07)
0.7.7 (2022-06-20)
- disable vite lib mode by default, fix #137 (2fb86a2)
- use __sandbox.html instead of __sandbox, fix #141 (#142) (3e4466e)
0.7.6 (2022-06-09)
0.7.5 (2022-06-09)
0.7.4 (2022-06-08)
- mapping: reuse existing objects, fix #128 (81ebe39)
- mock CSS.supports when collecting, fix #122 (8a7d16f)
- Symbol can't be cloned (eba5122)
- vue3: collect: inline vuetify packages (8958ac5)
0.7.3 (2022-06-06)
0.7.2 (2022-06-05)
0.7.1 (2022-06-05)
- nuxt: add additional sections of nuxt vite config (#109) (e31f543), closes #107
- plugin: removeStory not working, fix #110 (b7c9171)
- tailwind tokens Story not invalidated in the cache (5032945)
- vue3: stub RouterLink, fix #107 (95e3f73)
- vue3: auto stub components on node Story (8c27265)
- vue3: check if vnodes is an array (3a49ffa)
0.7.0 (2022-06-03)
- vue3: defineExpose is no longer needed (ad6e6b9)
0.6.6 (2022-06-03)
- handle undefined viteNodeInlineDeps (1425599)
- inline @vue/devtools-api in vite-node, fix #99 (8c83692)
- config: viteNodeInlineDeps (0ad6f33)
0.6.5 (2022-06-03)
- mobile select variant select not working (cd37575)
0.6.4 (2022-06-03)
0.6.3 (2022-06-03)
- prop override when no props are passed from the template (bcfd8ff)
0.6.2 (2022-06-03)
- Failed to load /virtual:$histoire-generated-global-setup-resolved (e147acd)
- leaking histoire styling in sandbox, fix #101 (c068a5d)
- prop overriding not working in built version (5323b70)
- setupFile not found, fix #102 (66c70f0)
- nuxt: support CSS + retrieve PostCSS config, fix #100 (10e4927)
- plugin: allow
export setupVue3
in setupCode (9cc651f)
0.6.1 (2022-06-02)
- build: don't include histoire/dist/bundlded in vendor chunk (ee1a8f3)
0.6.0 (2022-06-02)
- build with undefined base (53ca34e)
- auto prop: add * on modified props (a3210ca)
- nuxt plugin, fix #84 (#97) (4c7880b)
- plugin: allow adding new vite plugins (19279ee)
0.5.4 (2022-05-31)
- reduce flash of content when initial loading is shown (a796e1b)
- use vite mode = 'development' to prevent production optimizations (bf0fc7e)
0.5.3 (2022-05-31)
- type imports (0c135ca)
0.5.2 (2022-05-31)
- typo in types import (47004e1)
0.5.1 (2022-05-31)
0.5.0 (2022-05-30)
- serialize js: 1 object in array (d2abaad)
- state preset: clone when applying (479da6d)
- vue3: filter out auto components without props (75640e0)
0.4.6 (2022-05-11)
0.4.5 (2022-05-09)
- chunk not found errors on first dev (b06eab4)
- HMR on variant props not working (3b4eaf5)
- preserve import.meta in bundled client (3c0dbea)
0.4.4 (2022-05-09)
- resolveComponent can only be used in render() or setup() (70f44c3)
0.4.3 (2022-05-09)
- config: replace arrays by default instead of merging (95c29dd)
- mark all vue packages as external (4d31997)
0.4.2 (2022-05-09)
- revert vue back to peer dep (737fa16)
0.4.1 (2022-05-09)
- missing @types/markdown-it peer dep (549e5bf)
0.4.0 (2022-05-09)
- 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)
- 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)
0.3.3 (2022-05-08)
- don't optimize histoire/client, fix #79 (ea22d1b)
- search: duplicate keys (d94c778)
- search: remove no result animation (649490e)
- search: greatly reduce index download size (305e560)
0.3.2 (2022-05-06)
- Add iframe parameter for single layout (fix #80) (#81) (7f2d4b4)
- select control (#78) (c9668db)
- shared controls, fix #75 (a2488cf)
- tabs overflow menu, fix #73 (d42f438)
- Variant: setupApp prop (0190cb0)
0.3.1 (2022-05-02)
0.3.0 (2022-05-02)
-
The default dist folder is now
.histoire/dist
fromhistoire-dist
-> If you didn't customize it: either takes this into account or addoutDir: 'histoire-dist'
to your config. -
The setup function export for Vue 3 has been changed from
default
tosetupVue3
and the type handler has been renamed fromdefineVue3StorySetup
todefineSetupVue3
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)
})
- 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)
- Add events (fix #32) (#72) (60bd8ae)
- Add opengraph and metadata to documentation (#71) (4ba4e76)
- basic plugin api and tailwind builtin plugin (2a76d9d)
- basic screenshot plugin, related #34 (aed2219)
- config: default output is now
.histoire/dist
(ee4c399) - export plugin api (a8fe26d)
- implicit
state
(48037d5) - improved source code pane (7111b5d)
- percy plugin (c31ccb8)
- plugin: onBuildEnd (bd85b18)
- search: more performant and fuzzy (02707af)
- Story: docsOnly (a18ccb1)
- Story: id prop (4cb6edc)
- support all state props + options API (1e1b1fc)
- vue: codegen handles void elements (9b324ea)
- vue: improved codegen (9021605)
- faster design tokens initial render (c18d457)
0.2.5 (2022-04-20)
- HstColorShades: handle long names (03974ea)
- remove outline on dropdowns (67cb60d)
- vue3: codegen: convert " to ' in function props (0a7b0ae)
0.2.4 (2022-04-19)
- Lock link color with tailwind class (fix #66) (#67) (ef2ceea)
- search: performance issues, fix #68 (62232e7)
0.2.3 (2022-04-10)
- missing vite html transforms during dev (d77c42c)
- preview bg not working (e7d4134)
- preview settings not updated (5691f48)
- remove unnecessary gap between header and story list (b319bb5)
- story: inherit props to variants (23fa903)
- vue3: codegen function as prop value (5ec9955)
- HstColorShades (cc5be5e)
- HstCopyIcon (3ff66ae)
- icon style improvements (d7afeee)
- Preview snap (fix #54) (#65) (c53cc5c)
- story: reponsiveDisabled (44ebf15)
- ugprade deps (71948e3)
- vue3: codegen v-for support (e1c5d0e)
0.2.2 (2022-04-04)
- app logo horizontal align (24f510b)
- app logo vertical align (76e2890)
- improved vnode handling in (fd1e6f1)
- rem issue (7854104)
- Add documentation (fix #44) (#60) (a1a3b3a)
- grid: auto scroll to selected variant (60bf849)
- grid: select variant on click or keyup inside (17e9204)
- optimize big grids (488bda0)
- grid layout (218f856)
0.2.1 (2022-03-22)
- Handle files and folders title conflict (fix #57) (#58) (4d21425)
- Open in new tab (fix #52) (#59) (93a5095)
0.2.0 (2022-03-20)
- improve controls border colors (e76c1f6)
- move server-side story exec to worker, closes #56 (d0a2cc9)
- search: initial focus (3a19f8b)
- cli: preview command (d82e852)
- Controls refacto + add number and textarea (fix #30) (#55) (96fd481)
- improved text controls (613d6ac)
- upgrade vite-node (deb1776)
0.1.5 (2022-03-17)
0.1.4 (2022-03-17)
- mobile: bigger hit targets in select lists (9af124a)
- add responsive design (fix #33) (#47) (17ff259)
- support resizing with touch (1cbc1ae)
- update hatched pattern (#49) (4cf9a50)
0.1.3 (2022-03-16)
- responsive view settings update (4e4bfe4)
- responsive: resizing while rotated (9e53d83)
- storage glitch (upgrade vueuse) (8f99248)
0.1.2 (2022-03-16)
0.1.1 (2022-03-16)
0.1.0 (2022-03-16)
0.0.5 (2022-03-15)
- build: optimize scripts loading (65ee5e5)
0.0.4 (2022-03-15)
- build: not handling custom blocks (2f60fd8)
- checkbox size (59ea8df)
- codegen: dynamicProps can be null (eaeb919)
- controls component not found warnings on server (b16d7ad)
- controls components name (dab555a)
- controls: book dark text color (419cb1b)
- display loading while variant is not ready (6488c6b)
- docs: support dark mode (cba01f1)
- improved ready state (1bb0d3f)
- infinite sync loop (59512a6)
- selected item colors (c99eea0)
- simpler css bind (a9c8122)
- state with nested objects (e9108df)
- unwanted scroll on Firefox (7f6f898)
- auto scroll list item into view (3e11dda)
- build: result logs (0648d58)
- codegen: improved v-model (ce40e8e)
- config: vite as function to mutate config (d39ca90)
- initial builtin controls package, #30 (eb47193)
- logoHref (d6ef6f2)
- new responsive view with height (5f49d67)
- optional , closes #38 (1c3af6c)
- preview background + checkerboard (23f2808)
- preview dark mode class + transparent bg (56a5ec3)
- search: improve auto scroll (29c20fe)
- story markdown docs (403e0b7)
- variant.ready (efd56b3)
0.0.3 (2022-02-23)
- responsive selected dark style (771bdfb)
- restore last selected variant on stories HMR (bf25e84)
- search dark style (d598906)
- config: vite config override, closes #25 (8dcc6e7)
- responsive presets, closes #37 (a27f8cf)
- restart on config change, closes #28 (ae7d47c)
0.0.2 (2022-02-22)
- Add missing gray shades (fix #35) (#39) (389eb18)
- Auto expand parent folders of selected story (fix #29) (#36) (09727f4)
0.0.1 (2022-02-18)
- a11y: improve tree a11y (476e448)
- active link color (3fecd68)
- Add absolude import using pathe (#3) (2ed7d42)
- add fille to built components to infer tag name (a1ace24)
- allow both config file + vite config (c275413)
- better default responsive width (fbda1c5)
- build: support custom logos (7c7eec6)
- center responsive dragger (cc0154f)
- codegen (db89569)
- console log override first arg can be a non-string (2126965)
- dark mode fixes (73a80e8)
- disable text select for a and button (f107c9c)
- disable text selection in folder item (3057a8d)
- grid variant item text not selectable (3a96827)
- import path (7abc630)
- include default tailwind colors (15261d6)
- init state sometimes not being taken into account (fb9c775)
- input style (563daf6)
- Leaking absolute path (fix #4) (#11) (204e06b)
- list items shrinking (9cee043)
- min responsive width (b00e50d)
- null error (40f1582)
- reset keys on window blur (112519f)
- respect vite root + no duplicate vue plugin (ec2001c)
- router used before declaration (20b4c56)
- search: prevent default keyboard shortcut (55db756)
- source code textarea overflowing (13a8d0b)
- story item right padding (0005160)
- story list overflow (2f338d2)
- use JSON.stringify for dynamic prop (036654b)
- wrong serialize js indent size (3096e90)
- Add dark mode (fix #2) (#12) (b6535b1)
- Add story tree UI (fix #16) (#19) (9881810)
- Add vite config (#18) (#23) (8a088e2)
- Auto select single variant (fix #10) (#26) (dba8176)
- BaseListItemLinkg + improved style (af395e9)
- basic search (5d8cc76)
- basic vue3 source code (debf73e)
- build command (9f99909)
- collect stories/variants node-side instead of client-side (2876a9a)
- config file, closes #17 (70dde60)
- copy source button (f928e9a)
- custom story/variant icon colors (e48bfb0)
- custom story/variant icons (02a3121)
- customizable colors (bdd8f09)
- default variant title (fe71046)
- don't crash on execution error while collecting stories (b93e2db)
- emrald as primary color (1c4798e)
- finish basic theme + example (ee074e0)
- hatched pattern in responsive view (f312393)
- histoire logo (e180153)
- icons in variants grid (0ef0928)
- improved code style (fabf3ad)
- improved generated code (ce320c0)
- improved JS serialization and Vue 3 codegen (5c2e10c)
- improved keyboard tooltips (3a02e6a)
- improved search result design (9a4f199)
- improved search with path matching and ranking (cd0ad9c)
- keyboard shortcut system + toggle dark tooltip/shortcut (1ebfeb7)
- no controls available fallback (253f3b9)
- page title (2d84c72)
- pixel split responsive view (c4277de)
- poc (105b943)
- re-collect stories on page refresh (3e93f62)
- remove border below app header (d934b97)
- reponsive width input (c303a47)
- reworked colors (1cf0f76)
- rounded iframe (2e23b6b)
- rounded list items (a6d1152)
- search: escape key to close (5272085)
- search: match variant for matched story (b5ee443)
- setupFile, closes #24 (397b362)
- smaller app header (8b4784c)
- storyIgnored (fix macos issue) (12efce3)
- synchornize variant state with iframe (9d5b969)
- syntax highlighting, close #13 (a2551f6)
- use iframe in single view, closes #9 (dd65fa7)
- use knitwork for js object serialization (6d8685c)
- variant hand-written source (43ed14e)
- variant list item icon (e74e297)
- vite as peer dep (3461064)
- vue3 codegen: slot props (c4fb99f)
- wip white label customization #15 (#27) (0b89dff)