All notable changes to this project will be documented in this file.
- Links
- prop
onClick
removed - removed
v-on:click
- emmiting event
click
when link is clicked - updated docs
- prop
- Avatars
- prop
onClick
removed - removed
v-on:click
- emmiting event
click
when avatar is clicked - updated docs
- prop
- Menu Items
- prop
onClick
removed - removed
v-on:click
- emmiting event
click
when menu item is clicked - updated docs
- prop
- Steps and Steps Items
- prop
onClick
removed - removed
v-on:click
- emmiting event
click
when step/step item is clicked - updated docs
- prop
- Tabs
- prop
onClick
removed - removed
v-on:click
- emmiting event
click
when tab item is clicked - updated docs
- prop
Moved back spectre.css and material-icons to dependencies
- Tables
- New prop
shrink
to set smaller paddings ans font size - New prop
scrollable
to display horizontal scroll if necessary
- New prop
- Buttons
- prop
type
changed to becolor
- removed
v-on:click
- emmiting event
click
when button is clicked
- prop
- Chip - update in code, removed method
clicked
and moved emitting event to template scope
- Chips - emit
click
event on click
- New component Input
- New component Select
- New component Radio
- New component Switch
- New component Checkbox
- All component directories and files names changed to lower case
- Moved ButtonGroup to Button
- Moved Columns and Column to Container
- Dropdowns - support for dropdowns in Buttons and Avatar presence icon
- Avatars - new prop
onClick
, if set will be called once user is going to click avatar icon (can be useful to provide capability to change avatar icon), - Menus - new prop
onClick
in<z-menu-item>
component, if set fired when user is going to click on menu item
- Error on render in Accordions
- New feature in Toast - provided ability to set global default settings for toasts
this.$zutre.toast.settings = {
position: 'top right',
type: 'info',
duration: 3000,
closeBtn: true
};
- Breadcrumbs: when there is no items, do not render empty HTML element
- Toast: revmoed loading toast as mixin
- Tabs: Moved creation of tab controller instance to zutre API
Vue.$zutre.newTabController
method
- Support for tooltips through props for Buttons and Links - Tooltip component should be used instead
- Moved BreadcrumbsItem to Breadcrumbs
- Moved CardBody, CardImage, CardSubtitle, CardTitle to Card
- Moved EmptyAction, EmptyIcon, EmptySubtitle, EmptyTitle to Empty
- Moved HeroBody to Hero
- Moved MenuItem and MenuDivider to Menu
- Moved NavbarSection to Navbar
- Moved StepItem to Step
- Moved Tbody, Thead, Td, Th, Tr to Table
- Moved TileAction, TileContent, TileIcon, TileSubtitle, TitleTitle to Title
- Moved ToastBody, ToastTitle to Toast
- New component Drawer
- New component Accordion
- New component Tab
- New component Pagination
- New component Panel
- General cleanups in the code
- New property in Avatar -
{Boolean} block
, when set totrue
, css properties will be added:display: block
and auto left/right margins plus centered position inside the block - Added tooltip suppeort:
tooltip
andtooltipPosition = left/right/bottom/top
for components: Link, Button - Nav - added
items
property to support passign nav elements as an array of objects, read more in docs - Added support for icons in Breadcrumbs
Please disregard previous versions, all together with those in npm. It was stricte for learning purposes. From now on will try my best to keep things clean :)