Skip to content

Releases: asvae/vue-book

Card - dark theme

28 Apr 02:29
Compare
Choose a tag to compare
Card - dark theme Pre-release
Pre-release

Card

  • dark theme
  • layout changes - now content doesn't have container, so card becomes direct parent to content.

Search by relevance

14 Apr 14:16
Compare
Choose a tag to compare
Search by relevance Pre-release
Pre-release
  • If search text is contained in filename - that file will be propelled to the top.
  • search view is now default (was tree view before).

Card focus

06 Apr 19:08
Compare
Choose a tag to compare
Card focus Pre-release
Pre-release
  • vb-container renamed to vb-card
  • vb-card got a new prop focus, that makes all unfocused cards on page disappear.
  • Add docs on helpers.

Helpers

17 Mar 21:48
Compare
Choose a tag to compare
Helpers Pre-release
Pre-release

VbSlider component is included when you include VueBookComponents.

Remove file extensions option

06 Aug 01:23
Compare
Choose a tag to compare

Interface change

You should pass object for your config instead of function params. This allows vue-book to add more options without breaking changes.

Here's the recommended way:

import Router from 'vue-router'
import { createRoute } from 'vue-book'

const router = new Router({
  routes: [
    createRoute({
      requireContext: require.context('./..', true, /.demo.vue$/), 
      path: '/demo',
      hideFileExtensions: true,
    }),
  ]
})

Before the change, you created the route like this:

VueBook(require.context('./../tree', true, /.vue$/), '/demo')

Deprecation is soft, so nothing will break for now. : 3.

Optional remove extension

You can remove file extensions from the list with hideFileExtensions. By default it's set to false.

createRoute({
  // ... 
  hideFileExtensions: true,
}),

Removals and dependency updates

16 Apr 13:56
Compare
Choose a tag to compare
  • all dependencies ramped up to bleeding edge. Most notably, webpack.
  • remove options (colors, tree graph, dependency handling) because no one used them.

Resizes and smarter search

03 Sep 16:04
Compare
Choose a tag to compare

New stuff

  • Search accepts capital letters (à la webstorm)
  • All tabs are resizable.
  • All data is stored in local storage, and stays on page refreshes

Description panel and some deprecations

14 Aug 10:29
Compare
Choose a tag to compare

New stuff

  • Dependencies - show components that use your component. Or components it depends on.
  • Info panel - shows component name, description and dependencies.

Deprecations

Configs now should look like this. All of them are optional.

$componentTree: {
  status: 'stable',
  component: VmTranslationEdit,
  description: `Some description`,
},

vue-router config should look like this:

VueComponentTree(require.context('./../tree', true, /.demo.vue$/), '/app/demo')

Search and flat view

16 Jul 20:08
Compare
Choose a tag to compare

Features

  • Text search (keybind: Shift -> Shift).
  • Flat view.
  • Resists page reload (localStorage).

Bufixes

  • No infinite loops anymore.
  • General refactoring.