All notable changes to this project will be documented in this file.
0.3.9 - 2024-03-13
- fix(tooltip): cleanup containers properly (Contributed by @MrDeerly).
0.3.8 - 2023-05-15
- fix(DrawerGroupAction): bind click event to the button element
0.3.7 - 2023-05-12
- fix(ts): added types for main import in package.json
0.3.6 - 2022-09-29
- fix(Modal): fixed body scrollbars disappearing by simply including a modal in the page (even if not shown)
0.3.5 - 2022-06-25
- feat(OUIA): te
pf-dropdown
component assigns ouia attributes to the menu dropdown element.
0.3.4 - 2022-04-29
- fix(OUIA): restored ouia type
V-PF3/
prefix.
0.3.3 - 2022-04-29
- fix: changed typescript types to correctly handle null/undefined.
0.3.2 - 2022-03-18
- fix(Modal): disabled implicit attr inheritance in modals.
- fix(ListView): do not assume a specific typescript type for pf-list-view rows.
0.3.1 - 2022-02-08
- fix(Layout): never pass undefined|null to emitted event update:collapsed.
- fix(OUIA): reverted ouia component names to use V-PF3/ prefix.
0.3.0 - 2022-02-03
- refactor: converted the whole codebase to typescript.
- feat(typescript): exported type definitions for all components.
- feat(Combobox): the dropdown trigger element is now slotted (slot name is
dropdownTrigger
) for better customization.
- fix(Dropdown): fixed removal of event listeners on umount.
- BACKWARD INCOMPATIBLE CHANGE: All components are now exported with the name matching the component name (eg.
PfButton
instead ofButton
). The old exports are maintained for backwards compatibility but importing* from 'vue-patternfly'
will now include the same components exported twice. - BACKWARD INCOMPATIBLE CHANGE: All sort direction properties have been normalized as
'asc' | 'desc'
instead of a mix of'asc' | 'desc'
and'ascending' | 'descending'
.
0.2.11 - 2021-12-31
- fix(Dropdown): avoided possible access to undefined $refs while destructing the component.
0.2.10 - 2021-12-22
- fix(Popover, ColumnPicker): restored popover trigger element functionality.
- fix(Option): incorrect usage of composition api.
0.2.9 - 2021-12-17
- added compatibility with vue 3 configured in compat mode.
- feat: exported ouia utilities.
- fix(Combobox): do not emit null value when clearing the filter while still editing.
- fix: exported Popover, TableRow and Void components.
0.2.8 - 2021-12-09
- fix(Tooltip): fixed component name
0.2.7 - 2021-12-06
- fix(Notification): Re-register
pf-notification
aspf-toast-notification
for backward compatibility.
0.2.6 - 2021-12-06
- feat: Implemented OUIA data attributes on all components.
0.2.5 - 2021-10-22
- fix(Tooltip): exported
pf-tooltip
component. - fix(Button): fixed error when using
pf-button
without arouter-link
.
0.2.4 - 2021-10-19
- Set href of the link when using the
pf-menu-item
as arouter-link
.
- New
pf-button
component.
0.2.3 - 2021-10-18
- Add missing
selectable
prop totipf-list-group-item
(Contributed by @MrDeerly). - Fixed layout of
pf-toolbar
with no filters by not rendering the filter slot (Contributed by @MrDeerly). - Do not disable
pf-select
components by default (Contributed by @MrDeerly). - Fixed disabled attribute of inputs in
pf-radio-button
(Contributed by @MrDeerly). - Fixed filters not working for the
pf-select
component (Contributed by @MrDeerly). - Extra attributes on
pf-menu-item
are not passed torouter-link
s.
0.2.2 - 2021-09-29
- Fixed forwarding of the page number event from
pf-list-view
(Contributed by @MrDeerly).
0.2.1 - 2021-09-29
- Fixed event propagation of the
update:page
event inpf-list-view
(Contributed by @MrDeerly).
0.2.1 - 2021-09-21
- Fixed event unbinding in
pf-popup
and tooltips (Contributed by @MrDeerly). - Fixed default trigger event for tooltips (Contributed by @MrDeerly).
0.2.0 - 2021-09-07
- BACKWARD INCOMPATIBLE CHANGE: Migrated the whole library to Vue 3. The project is now in passive maintenance mode. Only bug fixes will be applied to this library and development has moved to vue-patternfly4.
- BACKWARD INCOMPATIBLE CHANGE: The c3 library dependency and the chart components have been removed as part of the migration to Vue 3.
- BACKWARD INCOMPATIBLE CHANGE: The
value
props ofpf-column-picker
,pf-combobox
,pf-dropdown
,pf-option
,pf-radio-button
andpf-toggle
have been renamed tomodel-value
. You can still bind withv-model
. - BACKWARD INCOMPATIBLE CHANGE:
pf-application-launcher
cannot be controlled byv-model
. Usev-model:open
instead. - BACKWARD INCOMPATIBLE CHANGE:
pf-drawer
cannot be controlled byv-model
. Usev-model:hidden
instead. - BACKWARD INCOMPATIBLE CHANGE:
pf-expand-collapse
andpf-list-group-item
cannot be controlled byv-model
. Usev-model:expanded
instead. - BACKWARD INCOMPATIBLE CHANGE: Dist files are now built with vite and some form of imports might not work anymore. Valid imports are
import 'vue-patternfly'
,import 'vue-patternfly/vue-patternfly.css'
andimport { Component } from 'vue-patternfly'
. - BACKWARD INCOMPATIBLE CHANGE: The uiv library dependency has been removed and consequently its components are no longer automatically recognized.
0.1.7 - 2020-07-15
- Included a static patternfly palette instead of requiring weird webpack loader's tricks to read id from patternfly. Fixes some import issues of the esm build.
- Updated dependencies.
0.1.6 - 2020-06-11
pf-card
s can now override the content of the header and footer using the new slots namedheader
andfooter
.- Updated dependencies.
0.1.5 - 2019-11-27
- Let
pf-group-item
auto-expand like before v0.1.4 if theexpanded
prop is not bound.
0.1.4 - 2019-11-27
pf-group-item
now have a newexpanded
prop that can be used asv-model
for 2 way binding to control the expanded/collapsed state.
- Fixed non working click on a
pf-combobox
option from a filtered list.
0.1.3 - 2019-11-26
- New
pf-combobox
component.
pf-modal
s do not stop event click events from falling through anymore so that other components likepf-dropdown
can detect outer clicks.
0.1.2 - 2019-07-26
pf-radio-button
andpf-toggle
can choose if a loose value match should count as checked/on using theloose
prop.
pf-toggle
's defaulton-value
is nowtrue
andoff-value
is nowfalse
.pf-toggle
without anoff-value
are now required to use theno-off
prop instead ofoff-value=false
.
0.1.1 - 2019-07-26
- New
#footer
slot ofpf-table
which directly maps to the#default
slot ofpf-paginate-control
. - New
pf-radio-button
andpf-toggle
components.
0.1.0 - 2019-07-11
pf-table
andpf-list-view
components now have a newkey-name
prop to specify the name of a property of each row to use as index for thev-for
directive.
0.0.25 - 2019-05-29
pf-dropdown
components can now inject the dropdown menu inside any element, with theappend-to
prop, to circumvent issues with clipped containers (e.g.overflow:hidden
).- Addeed
pf-drawer-group-action
functional component to use inside the newpf-drawer-group
#actions
slot.
- BACKWARD INCOMPATIBLE CHANGE: Removed the
action
prop ofpf-drawer-group
and added an#actions
slot so that any number of actions can be applied.
- Added missing
type="button"
attribute to the buttons inpf-toolbar
andpf-sort
so that they won't trigger a submit event when inside a form. - Fixed clipped dropdowns in
pf-notification-drawer
.
0.0.24 - 2019-05-06
- The
pf-filter-fields
insidepf-toolbar
is now slotted so that it can be replaced with a custom input.
- The dropdown on
pf-filter-fields
is now hidden when there's only one field available. - Removed dropdown arrow from
pf-application-launcher
per patternfly design. - Updated dependencies.
- Unwatched scrollable property on
pf-table
destruction. - The
pf-paginate-control
component correctly fires change of page event every time the input value changes.
0.0.23 - 2019-03-15
- Reverted slot syntax for uiv's dropdown which is incompatible with the latest Vue release.
0.0.22 - 2019-02-20
- Hide items—per-page select from pagination controls if the
itemsPerPage
prop is empty. - Reverted removal of portal-target import as it was mis-reported as unused by the linter.
- Fixed navbar-brand alignment.
- Fixed left margin with flex layout when the vertical sidebar is expanded.
0.0.21 - 2019-02-13
- Implemented interpratation of
pf-toolbar
andpf-column-picker
columns as array of objects or object with nested objects/strings.
- Updated dependencies. Changed the slots to use the new syntax introduced in Vue 2.6.
- Refactored all the checks for the presence of slots to use a new mixin that makes it reactive.
- Fixed incorrect lang on the style tags of some components.
- Some smaller style fixes and additions.
0.0.20 - 2018-11-29
- Pass all attributes, listeners, classes and styles to the dom elements defined in all functional components.
- Added style for labels with remove button.
- Exposed
pf-list-group-item
.
- Styled thin scrollbars.
- BACKWARD INCOMPATIBLE CHANGE: Removed
v-tooltip
directive since a similar directive and wrapper component is already present in uiv. - Updated c3 library with support for more chart options.
- Disabled extra container in
pf-list-item-additional-info
that broke the stacked layout. - Fixed expandable
pf-list-item-additional-info
items not appearing as links.
0.0.19 - 2018-11-02
- The key for the iteration performed by
pf-list-view
on its items is now passed to thepf-list-item
's slot scope in theindex
property.
- Fixed multiple
pf-list-item-additional-info
in the samepf-list-item
that when expanded would always show the content of the lastpf-list-item-additional-info
slot. - Fixed screen-reader label of the selection checkbox of
pf-list-group-item
.
0.0.18 - 2018-10-24
pf-expand-collapse
component.pf-vertical-nav-divider
component.- Added ecmascript module build in
dist/vue-patternfly.esm.js
using rollup. - Included minimized css in
dist/
. - New
src
property ofpf-icon
that allows to use any image as an icon. - New
icon-src
property ofpf-list-item
to specify an image as an icon. - Implemented empty state for
pf-drawer-group
. - Added close button inside
pf-drawer
with ability to bind thehidden
prop usingv-model
orhidden.sync
. - Allow
v-model
as an alternative toopen.sync
inpf-application-launcher
.
- Allowed non persistent toast notifications.
- Corrected source map association.
- Fixed behavior of the
persistent
prop ofpf-notification
which should disable the auto-dismiss timer and show a close button. - Fixed non-working
titleWidth
andfooterWidth
properties ofpf-utilization-bar-chart
.
0.0.17 - 2018-10-19
- Added
pf-dropdown
component with is a very small functional wrapper around uiv's dropdown, to provide DRYer dropdown for the most common usage pattern.
- BACKWARD INCOMPATIBLE CHANGE: Removed vue-strap, which is unmantained and deprecated and replace it with uiv.
- BACKWARD INCOMPATIBLE CHANGE: Bootstrap components are now registered without the
bs-
prefix to stay consistent with uiv's own documentation.
0.0.16 - 2018-04-13
- Fixed flex layout.
0.0.15 - 2018-04-13
- Prevent custom layout distruption when not
pf-layout
is disabled. - Removed bottom padding on
pf-table
.
0.0.14 - 2018-04-13
- Implemented
pf-menu-item
as a functional component with vue-router integration. - Implemented secondary and tertiary vertical navigation.
- Implemented grid layout on
pf-layout
. - Implemented modal overlay pattern with
pf-modal
(Contributed by @pebri86). - Implemented
pf-list-view
(Contributed by @pebri86). - Implemented
pf-icon
functional component with automatic class configuration for FontAwesome, Glyphicons and Patternfly icons. - Implemented secondary and tertiary navigation.
- Upgraded build to webpack 4.
- Converted
pf-empty-chart
,pf-aggregate-status-card
,pf-card-notification
andpf-notification-bell
to functional components. - When a
pf-c3-chart
has empty data apf-empty-chart
component is shown instead. - BACKWARD INCOMPATIBLE CHANGE: The
flex
property ofpf-layout
has been removed. The same layout can be applied using theflex
value on the newdisplay
property. - BACKWARD INCOMPATIBLE CHANGE: Renamed all
icon-class
properties to simplyicon
. The icon family classname is not needed anymore (instead offa fa-bell
you can just usefa-bell
).
- Fixed issue with dropdown filters by removing vue-strap's select and option components.
- Fixed offset of
pf-application-launcher
. - Fixed href property of
pf-launcher-item
s. - Fixed various linting errors/warnings.
0.0.13 - 2017-09-11
- Implemented
v-model
on the page propertypf-paginate-control
components. - Implemented two-way syncing of
sort-by
andsort-direction
properties inpf-table
andpf-toolbar
. - Implemented
pf-application-launcher
andpf-launcher-item
. - Implemented
pf-notification-bell
as a toggler for thepf-drawer
. - Added
navbar-brand-name
CSS class to correctly style text-only brand titles. - Documented
v-tooltip
directive - Implemented
data-placement
attribute as an alternative way to specify the tooltip positions.
- BACKWARD INCOMPATIBLE CHANGE: The
page
property ofpf-table
components can now be synced with:page.sync="mypagenr"
. As a result of this change thechange-page
event has now been renamed toupdate:page
. - BACKWARD INCOMPATIBLE CHANGE: The
view
,filters
andpicked-columns
properties ofpf-toolbar
components can now be synced with the.sync
v-bind
modifier. As a result of this change theview
event has now been renamed toupdate:view
; thefilters
event has been renamed toupdate:filters
and thecolumns
event toupdate:pickedColumns
.
0.0.12 - 2017-05-07
- Implemented
pf-drawer
,pf-drawer-group
andpf-drawer-notification
which together compose the notification drawer pattern. - Modified vue-strap's dropdown to allow to manually define a list-item dropdown.
- Switched
navbar-utility
tonavbar-right
when using the vertical layout.
- Fixed position of the caret and the dropdown of style
dropdown-kebab-pf
. - Fixed display of dropdown actions set on
pf-notification
.
0.0.11 - 2017-04-09
- Fixed infinite loop in
pf-notification
dismiss code.
0.0.10 - 2017-01-31
- Added action slots for
pf-table
's rows.
- Corrected invalid markup in
card-notification
.
- Vue-strap's dropdowns in
pf-table
's action columns are styled to use the ellipsis icon as per patternfly's design.
0.0.9 - 2017-01-25
- Removed incorrect fixed height in scrollable tables.
- Enabled flex layout on
container-flex
. - Refactored syncronization of
pf-table
's fixed headers. Should be more consistent.
0.0.8 - 2017-01-25
- Implemented the scrollable property on
pf-table
which allows for fixed header and footer with scrollable rows.
- Fixed the
pf-table
footer colspan when the selectable property is enabled. - Fixed runtime errors in IE.
- Moved build to webpack to fix runtime errors in IE.
0.0.7 - 2017-01-05
- Implemented the
pf-table
component. - Implemented the flex property on
pf-layout
.
- Fixed display of column picker in the
pf-toolbar
when the sort and/or list controls are disabled.
pf-column-picker
emits picked columns in the same order as they are listed.
0.0.6 - 2017-01-02
- Rebuild with Vue 2.1.8.
0.0.5 - 2016-12-28
- Implemented the "nomargin" property on
pf-layout
. - Implemented
v-tooltip
directive usingtether-tooltip
.
- Display the filter label instead of the filter name in the active filters view.
- The view controls in the
pf-toolbar
were not correctly hidden in some cases.
0.0.4 - 2016-12-22
- Bundled a VueStrap build since there is no working distribution available at this moment. Every VueStrap component is installed together with VuePatternfly but using the "bs-" prefix.
- Implemented the "attached" property on
pf-toolbar
so that it can be displayed attached to an adjacient table view. - Implemented a column picker for the table layout on the
pf-toolbar
.
- Refactored pf-sort component and renamed sorting properties on
pf-toolbar
- Refactored the
filter-fields
andfilters
properties ofpf-toolbar
.
- Fixed appearance of the additional actions dropdown menu on the
pf-toolbar
. - Fixed click on layout controls of
pf-toolbar
- The input is properly cleared after adding a filter in the
pf-toolbar
.
0.0.3 - 2016-12-10
- The
pf-notification
dropdown is now slotted so that it can be customized. - The
pf-notification
action button can now be displayed as a button instead of a link. - The
pf-aggregate-status-card
andpf-card-notification
components now also accept value of typeNumber
for their count property.
pf-toolbar
actions are aligned to the right if the layout controls are disabled, as per PatternFly design guidelines.- Changed icons for the
pf-toolbar
view control buttons. - The result count indication is now inlined inside the toolbar if there are no active filters.
- The
pf-notification
will now emit anaction
event by default if no other name is specified.
- The
pf-notifications
container should be able to correctly display "slotted" notifications when present. - The externalized dependencies are now being resolved correctly when using the library with ES6 imports.
0.0.2 - 2016-12-08
- The
pf-layout
component can be disabled, removing all layout classed from the html element e displaying only the default slot content
pf-aggregate-status-card
componentpf-c3-chart
componentpf-card
componentpf-card-notification
componentpf-empty-chart
componentpf-filter-fields
componentpf-filter-results
componentpf-layout
componentpf-notification
componentpf-notifications
componentpf-sort
componentpf-toolbar
componentpf-utilization-bar-chart
component