diff --git a/bower.json b/bower.json
index 3db3b2f5b..f04e4c40e 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "angular-patternfly",
- "version": "3.1.0",
+ "version": "3.2.0",
"authors": [
"Red Hat"
],
@@ -39,7 +39,7 @@
"angular-sanitize": "1.3.0 - 1.5.*",
"angular-bootstrap": "0.13.x",
"lodash": "3.x",
- "patternfly": "~3.1.0"
+ "patternfly": "~3.2.0"
},
"devDependencies": {
"angular-mocks": "1.3.0 - 1.5.*"
diff --git a/dist/docs/css/patternfly-additions.css b/dist/docs/css/patternfly-additions.css
index 9d150ad1c..9aa5e59d5 100644
--- a/dist/docs/css/patternfly-additions.css
+++ b/dist/docs/css/patternfly-additions.css
@@ -2412,6 +2412,7 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
background: transparent;
font-size: 12px;
padding: 5px 10px 0;
+ border-bottom: solid 2px #030303;
}
.c3-tooltip tr {
border: 0;
@@ -2443,6 +2444,12 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
font-size: 12px;
font-weight: 400;
}
+.line-chart-pf .c3-zoom-rect {
+ opacity: 1.0 !important;
+ fill: #fafafa;
+ stroke: #d1d1d1;
+ stroke-width: 1px;
+}
.close {
text-shadow: none;
opacity: 0.6;
@@ -2513,7 +2520,7 @@ fieldset[disabled] .combobox-container .input-group-addon.active {
position: absolute;
}
.dataTables_header .dataTables_filter input {
- border: 1px solid #bbb;
+ border: 1px solid #bbbbbb;
height: 24px;
}
@media (max-width: 767px) {
@@ -3024,6 +3031,10 @@ table.datatable th:active {
.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.collapsed-nav.hidden-icons-pf {
margin-left: 0;
}
+.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.collapsed-secondary-nav-pf,
+.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.collapsed-secondary-nav-pf {
+ margin-left: 250px;
+}
.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf {
margin-left: 200px;
}
@@ -3049,6 +3060,18 @@ table.datatable th:active {
.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.hidden-nav {
margin-left: 0;
}
+ .layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.collapsed-secondary-nav-pf {
+ margin-left: 250px;
+ }
+ .layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.collapsed-nav {
+ margin-left: 325px;
+ }
+ .layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.collapsed-nav.collapsed-secondary-nav-pf {
+ margin-left: 250px;
+ }
+ .layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.secondary-visible-pf.collapsed-nav.hidden-icons-pf {
+ margin-left: 0;
+ }
}
.layout-pf.layout-pf-fixed .container-pf-nav-pf-vertical.container-pf-nav-pf-vertical-with-secondary.hidden-nav {
margin-left: 0;
@@ -4907,6 +4930,9 @@ table.datatable th:active {
.nav-pf-vertical.collapsed {
width: 75px;
}
+.nav-pf-vertical.collapsed.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.collapsed > .list-group > .list-group-item > a {
margin-right: 0;
width: 75px;
@@ -4930,9 +4956,18 @@ table.datatable th:active {
.nav-pf-vertical.collapsed > .list-group > .list-group-item.persistent-secondary:hover > a:after {
right: 11px;
}
+@media (min-width: 1200px) {
+ .nav-pf-vertical.collapsed > .list-group > .list-group-item.persistent-secondary.active > a,
+ .nav-pf-vertical.collapsed > .list-group > .list-group-item.persistent-secondary > a {
+ width: 76px;
+ }
+}
.nav-pf-vertical.hidden-icons-pf {
width: 176px;
}
+.nav-pf-vertical.hidden-icons-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.hidden-icons-pf > .list-group > .list-group-item > a {
width: 176px;
}
@@ -4953,18 +4988,30 @@ table.datatable th:active {
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav .nav-pf-persistent-secondary {
left: 176px;
}
+.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav .nav-pf-persistent-secondary.collapsed-secondary-nav-pf {
+ left: 0;
+}
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.collapsed {
display: none;
}
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf {
width: 426px;
}
+.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf.show-mobile-nav {
width: 176px;
}
+.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.secondary-visible-pf {
width: 426px;
}
+.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.hidden-icons-pf.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.show-mobile-nav {
width: 250px;
}
@@ -4978,9 +5025,15 @@ table.datatable th:active {
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.collapsed.hover-secondary-nav-pf {
width: 325px;
}
+.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.collapsed.hover-secondary-nav-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf {
width: 450px;
}
+.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.hover-secondary-nav-pf.show-mobile-nav {
width: 200px;
}
@@ -4993,16 +5046,30 @@ table.datatable th:active {
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.show-mobile-nav {
width: 250px;
}
+.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+}
@media (min-width: 1200px) {
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf {
width: 450px;
}
+ .nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed-secondary-nav-pf {
+ width: 250px;
+ }
.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed {
width: 75px;
}
- .nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed.hover-secondary-nav-pf {
+ .nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed.hover-secondary-nav-pf,
+ .nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed.secondary-visible-pf {
width: 325px;
}
+ .nav-pf-vertical.nav-pf-vertical-with-secondary-nav.secondary-visible-pf.collapsed.collapsed-secondary-nav-pf {
+ width: 250px;
+ }
+}
+.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.collapsed-secondary-nav-pf > .list-group > .list-group-item.persistent-secondary.active > a,
+.nav-pf-vertical.nav-pf-vertical-with-secondary-nav.collapsed-secondary-nav-pf > .list-group > .list-group-item.persistent-secondary:hover > a {
+ z-index: 1030;
}
.layout-pf-fixed-with-footer .nav-pf-vertical {
bottom: 37px;
@@ -5099,6 +5166,10 @@ table.datatable th:active {
.nav-pf-vertical > .list-group > .list-group-item.persistent-secondary:hover > a:after {
right: 21px;
}
+.collapsed-secondary-nav-pf .nav-pf-vertical > .list-group > .list-group-item.persistent-secondary.active > a,
+.collapsed-secondary-nav-pf .nav-pf-vertical > .list-group > .list-group-item.persistent-secondary:hover > a {
+ z-index: 1030;
+}
.nav-pf-vertical .list-group-item-separator {
border-top-width: 2px;
border-top-color: #000000;
@@ -5126,11 +5197,33 @@ table.datatable th:active {
.secondary-visible-pf.collapsed .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
display: none;
}
+@media (min-width: 1200px) {
+ .secondary-visible-pf.collapsed .persistent-secondary.active .nav-pf-persistent-secondary,
+ .secondary-visible-pf.collapsed .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
+ display: block;
+ left: 75px;
+ }
+ .collapsed-secondary-nav-pf .secondary-visible-pf.collapsed .persistent-secondary.active .nav-pf-persistent-secondary,
+ .collapsed-secondary-nav-pf .secondary-visible-pf.collapsed .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
+ left: 0;
+ }
+}
+@media (min-width: 1200px) {
+ .secondary-visible-pf.collapsed.collapsed-secondary-nav-pf .persistent-secondary.active .nav-pf-persistent-secondary,
+ .secondary-visible-pf.collapsed.collapsed-secondary-nav-pf .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
+ left: 0;
+ }
+}
.show-mobile-nav .persistent-secondary.active .nav-pf-persistent-secondary,
.show-mobile-nav .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
left: 0;
z-index: 1032;
}
+.collapsed-secondary-nav-pf .persistent-secondary.active .nav-pf-persistent-secondary,
+.collapsed-secondary-nav-pf .persistent-secondary.mobile-nav-item-pf .nav-pf-persistent-secondary {
+ display: block;
+ left: 0;
+}
.persistent-secondary:hover .nav-pf-persistent-secondary {
display: block;
z-index: 1031;
@@ -5138,6 +5231,17 @@ table.datatable th:active {
.collapsed .persistent-secondary:hover .nav-pf-persistent-secondary {
left: 75px;
}
+.collapsed.collapsed-secondary-nav-pf .persistent-secondary:hover .nav-pf-persistent-secondary {
+ left: 0;
+}
+@media (min-width: 1200px) {
+ .collapsed.collapsed-secondary-nav-pf .persistent-secondary:hover .nav-pf-persistent-secondary {
+ left: 0;
+ }
+ .hidden-icons-pf .collapsed.collapsed-secondary-nav-pf .persistent-secondary:hover .nav-pf-persistent-secondary {
+ left: 0;
+ }
+}
.secondary-visible-pf.collapsed .persistent-secondary:hover .nav-pf-persistent-secondary {
display: block;
}
@@ -5155,8 +5259,10 @@ table.datatable th:active {
.nav-pf-persistent-secondary .persistent-secondary-header > a {
margin-right: 7px;
}
-.nav-pf-persistent-secondary .persistent-secondary-header > a:hover {
+.nav-pf-persistent-secondary .persistent-secondary-header > a:hover,
+.nav-pf-persistent-secondary .persistent-secondary-header > a:focus {
text-decoration: none;
+ color: #0099d3;
}
.nav-pf-persistent-secondary h5 {
color: #ffffff;
@@ -5170,9 +5276,9 @@ table.datatable th:active {
margin-bottom: 0;
}
.nav-pf-persistent-secondary > .list-group > .list-group-item {
- padding: 0 0 5px 0;
background-color: transparent;
border: none;
+ padding: 0 0 5px 0;
}
.nav-pf-persistent-secondary > .list-group > .list-group-item > a {
background-color: transparent;
@@ -5235,11 +5341,24 @@ table.datatable th:active {
.nav-pf-persistent-secondary > .list-group > .list-group-item .list-group-item-value {
display: inline-block;
line-height: 20px;
+ max-width: none;
opacity: 1;
overflow: hidden;
padding-left: 5px;
text-overflow: ellipsis;
}
+.nav-pf-persistent-secondary .secondary-collapse-toggle-pf {
+ display: inline-block;
+ font-family: "FontAwesome";
+ font-size: inherit;
+ -webkit-font-smoothing: antialiased;
+}
+.nav-pf-persistent-secondary .secondary-collapse-toggle-pf:before {
+ content: '\f190';
+}
+.nav-pf-persistent-secondary .secondary-collapse-toggle-pf.collapsed:before {
+ content: '\f18e';
+}
.show-mobile-nav .persistent-secondary:hover .nav-pf-persistent-secondary {
display: none;
}
diff --git a/dist/docs/grunt-scripts/patternfly.js b/dist/docs/grunt-scripts/patternfly.js
index 650ac816e..8adaed54f 100644
--- a/dist/docs/grunt-scripts/patternfly.js
+++ b/dist/docs/grunt-scripts/patternfly.js
@@ -187,8 +187,8 @@
i;
for (i = 0; i < ien; i += 1) {
- $('.paginate_input').val(iCurrentPage);
- $('.paginate_of b').html(iPages);
+ $('.paginate_input', an[i]).val(iCurrentPage)
+ .siblings('.paginate_of').find('b').html(iPages);
// Add / remove disabled classes from the static elements
if (oPaging.iPage === 0) {
@@ -393,140 +393,491 @@
};
}(jQuery));
+// Util: PatternFly Palette colors
+(function ($) {
+ 'use strict';
+
+ $.pfPaletteColors = {
+ black: '#030303',
+ black100: '#fafafa',
+ black200: '#ededed',
+ black300: '#d1d1d1',
+ black400: '#bbbbbb',
+ black500: '#8b8d8f',
+ black600: '#72767b',
+ black700: '#4d5258',
+ black800: '#393f44',
+ black900: '#292e34',
+ blue: '#0088ce',
+ blue100: '#bee1f4',
+ blue200: '#7dc3e8',
+ blue300: '#39a5dc',
+ blue400: '#0088ce',
+ blue500: '#00659c',
+ blue600: '#004368',
+ blue700: '#002235',
+ gold: '#f0ab00',
+ gold100: '#fbeabc',
+ gold200: '#f9d67a',
+ gold300: '#f5c12e',
+ gold400: '#f0ab00',
+ gold500: '#b58100',
+ gold600: '#795600',
+ gold700: '#3d2c00',
+ orange: '#ec7a08',
+ orange100: '#fbdebf',
+ orange200: '#f7bd7f',
+ orange300: '#f39d3c',
+ orange400: '#ec7a08',
+ orange500: '#b35c00',
+ orange600: '#773d00',
+ orange700: '#3b1f00',
+ lightBlue: '#00b9e4',
+ lightBlue100: '#beedf9',
+ lightBlue200: '#7cdbf3',
+ lightBlue300: '#35caed',
+ lightBlue400: '#00b9e4',
+ lightBlue500: '#008bad',
+ lightBlue600: '#005c73',
+ lightBlue700: '#002d39',
+ green: '#3f9c35',
+ green100: '#cfe7cd',
+ green200: '#9ecf99',
+ green300: '#6ec664',
+ green400: '#3f9c35',
+ green500: '#2d7623',
+ green600: '#1e4f18',
+ green700: '#0f280d',
+ lightGreen: '#92d400',
+ lightGreen100: '#e4f5bc',
+ lightGreen200: '#c8eb79',
+ lightGreen300: '#ace12e',
+ lightGreen400: '#92d400',
+ lightGreen500: '#6ca100',
+ lightGreen600: '#486b00',
+ lightGreen700: '#253600',
+ cyan: '#007a87',
+ cyan100: '#bedee1',
+ cyan200: '#7dbdc3',
+ cyan300: '#3a9ca6',
+ cyan400: '#007a87',
+ cyan500: '#005c66',
+ cyan600: '#003d44',
+ cyan700: '#001f22',
+ purple: '#703fec',
+ purple100: '#c7bfff',
+ purple200: '#a18fff',
+ purple300: '#8461f7',
+ purple400: '#703fec',
+ purple500: '#582fc0',
+ purple600: '#40199a',
+ purple700: '#1f0066',
+ red: '#cc0000',
+ red100: '#cc0000',
+ red200: '#a30000',
+ red300: '#8b0000',
+ red400: '#470000',
+ red500: '#2c0000'
+ };
+}(jQuery));
+
// Util: PatternFly C3 Chart Defaults
(function ($) {
'use strict';
- $.fn.c3ChartDefaults = function () {
- var getDefaultColors,
- getDefaultDonut,
- getDefaultDonutSize,
- getDefaultDonutColors,
- getDefaultDonutTooltip,
- getDefaultDonutLegend,
- getDefaultDonutConfig,
- getDefaultSparklineArea,
- getDefaultSparklineSize,
- getDefaultSparklineAxis,
- getDefaultSparklineLegend,
- getDefaultSparklinePoint,
- getDefaultSparklineTooltip,
- getDefaultSparklineConfig;
-
- getDefaultColors = function () {
- return {
- pattern: ['#0088ce', '#00659c', '#3f9c35', '#ec7a08', '#cc0000']
- };
- };
- getDefaultDonut = function (title) {
- return {
- title: title,
- label: {
- show: false
- },
- width: 11
- };
- };
- getDefaultDonutSize = function () {
- return {
- height: 171 // produces a diameter of 150 and a centered chart
- };
- };
- getDefaultDonutColors = function () {
- return {
- pattern: ['#0088CE', '#D1D1D1']
- };
- };
- getDefaultDonutTooltip = function () {
- return {
- show: false
- };
- };
- getDefaultDonutLegend = function () {
- return {
- show: false
- };
- };
- getDefaultDonutConfig = function (title) {
- return {
- donut: this.getDefaultDonut(title),
- size: this.getDefaultDonutSize(),
- legend: this.getDefaultDonutLegend(),
- color: this.getDefaultDonutColors(),
- tooltip: this.getDefaultDonutTooltip()
- };
+ $.fn.pfSetDonutChartTitle = function (selector, primary, secondary) {
+ var donutChartRightTitle = window.d3.select(selector).select('text.c3-chart-arcs-title');
+ donutChartRightTitle.text("");
+ donutChartRightTitle.insert('tspan').text(primary).classed('donut-title-big-pf', true).attr('dy', 0).attr('x', 0);
+ donutChartRightTitle.insert('tspan').text(secondary).classed('donut-title-small-pf', true).attr('dy', 20).attr('x', 0);
+ };
+
+ $.fn.pfDonutTooltipContents = function (d, defaultTitleFormat, defaultValueFormat, color) {
+ return '
';
+ };
+
+ $.fn.pGetUtilizationDonutTooltipContentsFn = function (units) {
+ return function (d) {
+ return '' +
+ (Math.round(d[0].ratio * 1000) / 10) + '%' + ' ' + units + ' ' + d[0].name +
+ '';
};
- getDefaultSparklineArea = function () {
- return {
- zerobased: true
- };
+ };
+
+ $.fn.pfGetBarChartTooltipContentsFn = function (categories) {
+ return function (d) {
+ var name = categories ? categories[d[0].index] : d[0].index;
+ return '';
};
- getDefaultSparklineSize = function () {
- return {
- height: 60
- };
+ };
+
+ $.fn.pfSingleLineChartTooltipContentsFn = function (categories) {
+ return function (d) {
+ var name = categories ? categories[d[0].index] : d[0].index;
+ return '';
};
- getDefaultSparklineAxis = function () {
- return {
- x: {
+ };
+
+ $.fn.pfPieTooltipContents = function (d, defaultTitleFormat, defaultValueFormat, color) {
+ return $().pfDonutTooltipContents(d, defaultTitleFormat, defaultValueFormat, color);
+ };
+
+ $.fn.c3ChartDefaults = function () {
+ var
+ getDefaultColors = function () {
+ return {
+ pattern: [
+ $.pfPaletteColors.blue,
+ $.pfPaletteColors.blue300,
+ $.pfPaletteColors.green,
+ $.pfPaletteColors.orange,
+ $.pfPaletteColors.red
+ ]
+ };
+ },
+ getDefaultBarGrid = function () {
+ return {
+ y: {
+ show: true
+ }
+ };
+ },
+ getDefaultBarTooltip = function (categories) {
+ return {
+ contents: $().pfGetBarChartTooltipContentsFn(categories)
+ };
+ },
+ getDefaultBarLegend = function () {
+ return {
show: false
- },
- y: {
+ };
+ },
+ getDefaultBarConfig = function (categories) {
+ return {
+ color: this.getDefaultColors(),
+ grid: this.getDefaultBarGrid(),
+ tooltip: this.getDefaultBarTooltip(categories),
+ legend: this.getDefaultBarLegend()
+ };
+ },
+ getDefaultGroupedBarGrid = function () {
+ return {
+ y: {
+ show: true
+ }
+ };
+ },
+ getDefaultGroupedBarLegend = function () {
+ return {
+ show: true,
+ position: 'bottom'
+ };
+ },
+ getDefaultGroupedBarConfig = function () {
+ return {
+ color: this.getDefaultColors(),
+ grid: this.getDefaultGroupedBarGrid(),
+ legend: this.getDefaultGroupedBarLegend()
+ };
+ },
+ getDefaultDonut = function (title) {
+ return {
+ title: title,
+ label: {
+ show: false
+ },
+ width: 11
+ };
+ },
+ getDefaultDonutSize = function () {
+ return {
+ height: 171, // produces a diameter of 150 and a centered chart when there is no legend
+ width: 171 // produces a diameter of 150 and a centered chart
+ };
+ },
+ getDefaultDonutColors = function () {
+ return {
+ pattern: [
+ $.pfPaletteColors.blue,
+ $.pfPaletteColors.black300
+ ]
+ };
+ },
+ getDefaultDonutTooltip = function () {
+ return {
show: false
- }
- };
- };
- getDefaultSparklineLegend = function () {
- return {
- show: false
- };
- };
- getDefaultSparklinePoint = function () {
- return {
- r: 1,
- focus: {
- expand: {
- r: 4
+ };
+ },
+ getDefaultDonutLegend = function () {
+ return {
+ show: false
+ };
+ },
+ getDefaultDonutConfig = function (title) {
+ return {
+ donut: this.getDefaultDonut(title),
+ size: this.getDefaultDonutSize(),
+ legend: this.getDefaultDonutLegend(),
+ color: this.getDefaultDonutColors(),
+ tooltip: this.getDefaultDonutTooltip()
+ };
+ },
+ getDefaultPie = function () {
+ return {
+ expand: true,
+ label: {
+ show: false
}
- }
- };
- };
- getDefaultSparklineTooltip = function () {
- return {
- // because a sparkline should only contain a single data column,
- // the tooltip will only work for a single data column
- contents: function (d) {
- return '' + d[0].value + ' ' + d[0].name + '';
- }
- };
- };
- getDefaultSparklineConfig = function () {
- return {
- area: getDefaultSparklineArea(),
- size: getDefaultSparklineSize(),
- axis: getDefaultSparklineAxis(),
- color: getDefaultColors(),
- legend: getDefaultSparklineLegend(),
- point: getDefaultSparklinePoint(),
- tooltip: getDefaultSparklineTooltip()
+ };
+ },
+ getDefaultPieSize = function () {
+ return {
+ height: 171, // produces a diameter of 150 and a centered chart when there is no legend
+ width: 171 // produces a diameter of 150 and a centered chart
+ };
+ },
+ getDefaultPieColors = function () {
+ return {
+ pattern: [
+ $.pfPaletteColors.blue,
+ $.pfPaletteColors.black300
+ ]
+ };
+ },
+ getDefaultPieTooltip = function () {
+ return {
+ contents: $().pfPieTooltipContents
+ };
+ },
+ getDefaultPieLegend = function () {
+ return {
+ show: false
+ };
+ },
+ getDefaultPieConfig = function () {
+ return {
+ pie: this.getDefaultPie(),
+ size: this.getDefaultPieSize(),
+ legend: this.getDefaultPieLegend(),
+ color: this.getDefaultPieColors(),
+ tooltip: this.getDefaultPieTooltip()
+ };
+ },
+ getDefaultSparklineArea = function () {
+ return {
+ zerobased: true
+ };
+ },
+ getDefaultSparklineSize = function () {
+ return {
+ height: 60
+ };
+ },
+ getDefaultSparklineAxis = function () {
+ return {
+ x: {
+ show: false
+ },
+ y: {
+ show: false
+ }
+ };
+ },
+ getDefaultSparklineLegend = function () {
+ return {
+ show: false
+ };
+ },
+ getDefaultSparklinePoint = function () {
+ return {
+ r: 1,
+ focus: {
+ expand: {
+ r: 4
+ }
+ }
+ };
+ },
+ getDefaultSparklineTooltip = function () {
+ return {
+ // because a sparkline should only contain a single data column,
+ // the tooltip will only work for a single data column
+ contents: function (d) {
+ return '' + d[0].value + ' ' + d[0].name + '';
+ }
+ };
+ },
+ getDefaultSparklineConfig = function () {
+ return {
+ area: getDefaultSparklineArea(),
+ size: getDefaultSparklineSize(),
+ axis: getDefaultSparklineAxis(),
+ color: getDefaultColors(),
+ legend: getDefaultSparklineLegend(),
+ point: getDefaultSparklinePoint(),
+ tooltip: getDefaultSparklineTooltip()
+ };
+ },
+ getDefaultLineAxis = function () {
+ return {
+ x: {
+ show: true
+ },
+ y: {
+ show: true
+ }
+ };
+ },
+ getDefaultLineGrid = function () {
+ return {
+ x: {
+ show: false
+ },
+ y: {
+ show: true
+ }
+ };
+ },
+ getDefaultLineLegend = function () {
+ return {
+ show: true
+ };
+ },
+ getDefaultLinePoint = function () {
+ return {
+ r: 3,
+ focus: {
+ expand: {
+ r: 5
+ }
+ }
+ };
+ },
+ getDefaultLineConfig = function () {
+ return {
+ axis: getDefaultLineAxis(),
+ grid: getDefaultLineGrid(),
+ color: getDefaultColors(),
+ legend: getDefaultLineLegend(),
+ point: getDefaultLinePoint()
+ };
+ },
+ getDefaultSingleLineTooltip = function () {
+ return {
+ contents: $().pfGetBarChartTooltipContentsFn()
+ };
+ },
+ getDefaultSingleLineLegend = function () {
+ return {
+ show: false
+ };
+ },
+ getDefaultSingleLineConfig = function () {
+ return {
+ axis: getDefaultLineAxis(),
+ grid: getDefaultLineGrid(),
+ color: getDefaultColors(),
+ legend: getDefaultSingleLineLegend(),
+ point: getDefaultLinePoint(),
+ tooltip: getDefaultSingleLineTooltip()
+ };
+ },
+ getDefaultAreaAxis = function () {
+ return getDefaultLineAxis();
+ },
+ getDefaultAreaGrid = function () {
+ return getDefaultLineGrid();
+ },
+ getDefaultAreaLegend = function () {
+ return getDefaultLineLegend();
+ },
+ getDefaultAreaPoint = function () {
+ return getDefaultLinePoint();
+ },
+ getDefaultAreaConfig = function () {
+ return {
+ axis: getDefaultAreaAxis(),
+ grid: getDefaultAreaGrid(),
+ color: getDefaultColors(),
+ legend: getDefaultAreaLegend(),
+ point: getDefaultAreaPoint()
+ };
+ },
+ getDefaultSingleAreaTooltip = function () {
+ return {
+ contents: $().pfGetBarChartTooltipContentsFn()
+ };
+ },
+ getDefaultSingleAreaLegend = function () {
+ return getDefaultSingleLineLegend();
+ },
+ getDefaultSingleAreaConfig = function () {
+ return {
+ axis: getDefaultAreaAxis(),
+ grid: getDefaultAreaGrid(),
+ color: getDefaultColors(),
+ legend: getDefaultSingleAreaLegend(),
+ point: getDefaultAreaPoint(),
+ tooltip: getDefaultSingleAreaTooltip()
+ };
};
- };
-
return {
getDefaultColors: getDefaultColors,
+ getDefaultBarGrid: getDefaultBarGrid,
+ getDefaultBarTooltip: getDefaultBarTooltip,
+ getDefaultBarLegend: getDefaultBarLegend,
+ getDefaultBarConfig: getDefaultBarConfig,
+ getDefaultGroupedBarGrid: getDefaultGroupedBarGrid,
+ getDefaultGroupedBarLegend: getDefaultGroupedBarLegend,
+ getDefaultGroupedBarConfig: getDefaultGroupedBarConfig,
getDefaultDonut: getDefaultDonut,
getDefaultDonutSize: getDefaultDonutSize,
getDefaultDonutColors: getDefaultDonutColors,
getDefaultDonutTooltip: getDefaultDonutTooltip,
getDefaultDonutLegend: getDefaultDonutLegend,
getDefaultDonutConfig: getDefaultDonutConfig,
+ getDefaultPie: getDefaultPie,
+ getDefaultPieSize: getDefaultPieSize,
+ getDefaultPieColors: getDefaultPieColors,
+ getDefaultPieTooltip: getDefaultPieTooltip,
+ getDefaultPieLegend: getDefaultPieLegend,
+ getDefaultPieConfig: getDefaultPieConfig,
getDefaultSparklineArea: getDefaultSparklineArea,
getDefaultSparklineSize: getDefaultSparklineSize,
getDefaultSparklineAxis: getDefaultSparklineAxis,
getDefaultSparklineLegend: getDefaultSparklineLegend,
getDefaultSparklinePoint: getDefaultSparklinePoint,
getDefaultSparklineTooltip: getDefaultSparklineTooltip,
- getDefaultSparklineConfig: getDefaultSparklineConfig
+ getDefaultSparklineConfig: getDefaultSparklineConfig,
+ getDefaultLineAxis: getDefaultLineAxis,
+ getDefaultLineGrid: getDefaultLineGrid,
+ getDefaultLineLegend: getDefaultLineLegend,
+ getDefaultLinePoint: getDefaultLinePoint,
+ getDefaultLineConfig: getDefaultLineConfig,
+ getDefaultSingleLineTooltip: getDefaultSingleLineTooltip,
+ getDefaultSingleLineConfig: getDefaultSingleLineConfig,
+ getDefaultAreaAxis: getDefaultAreaAxis,
+ getDefaultAreaGrid: getDefaultAreaGrid,
+ getDefaultAreaLegend: getDefaultAreaLegend,
+ getDefaultAreaPoint: getDefaultAreaPoint,
+ getDefaultAreaConfig: getDefaultAreaConfig,
+ getDefaultSingleAreaTooltip: getDefaultSingleAreaTooltip,
+ getDefaultSingleAreaConfig: getDefaultSingleAreaConfig
};
};
}(jQuery));
@@ -767,6 +1118,28 @@
navElement.find('.mobile-nav-item-pf').each(function (index, item) {
$(item).removeClass('mobile-nav-item-pf');
});
+ } else {
+ showSecondaryMenu();
+ }
+ },
+
+ updateSecondaryCollapsedState = function (setCollapsed, collapsedItem) {
+ if (setCollapsed) {
+ collapsedItem.addClass('collapsed');
+ navElement.addClass('collapsed-secondary-nav-pf');
+ bodyContentElement.addClass('collapsed-secondary-nav-pf');
+ } else {
+ if (collapsedItem) {
+ collapsedItem.removeClass('collapsed');
+ } else {
+ // Remove any collapsed secondary menus
+ navElement.find('[data-toggle="collapse-secondary-nav"]').each(function (index, element) {
+ var $e = $(element);
+ $e.removeClass('collapsed');
+ });
+ }
+ navElement.removeClass('collapsed-secondary-nav-pf');
+ bodyContentElement.removeClass('collapsed-secondary-nav-pf');
}
},
@@ -784,6 +1157,9 @@
bodyContentElement.removeClass('collapsed-nav');
bodyContentElement.addClass('hidden-nav');
+ // Reset the secondary collapsed state
+ updateSecondaryCollapsedState(false);
+
explicitCollapse = false;
}
} else if (navElement.hasClass('hidden')) {
@@ -876,6 +1252,13 @@
});
},
+ forceHideSecondaryMenu = function () {
+ navElement.addClass('force-hide-secondary-nav-pf');
+ setTimeout(function () {
+ navElement.removeClass('force-hide-secondary-nav-pf');
+ }, 500);
+ },
+
bindMenuItemsBehavior = function (handleSelection) {
// Set main nav active item on click, and show secondary nav if it has a secondary nav bar
$(document).on('click.pf.secondarynav.data-api', '.nav-pf-vertical > .list-group > .list-group-item', function (element) {
@@ -908,8 +1291,7 @@
// Set the active items on an item click
$e.on('click.pf.secondarynav.data-api', '.list-group > .list-group-item', function (event) {
- var $this = $(this);
- updateSecondaryMenuDisplayAfterSelection($this);
+ updateSecondaryMenuDisplayAfterSelection();
if (handleSelection) {
setSecondaryActiveItem($e, $(this));
@@ -920,12 +1302,25 @@
// Collapse the secondary nav bar when the toggle is clicked
$e.on('click.pf.secondarynav.data-api', '[data-toggle="collapse-secondary-nav"]', function (e) {
- hideSecondaryMenu();
+ var $this = $(this);
+ if (inMobileState()) {
+ hideSecondaryMenu();
+ forceHideSecondaryMenu();
+ } else {
+ if ($this.hasClass('collapsed')) {
+ updateSecondaryCollapsedState(false, $this);
+ if ($(window).width() < breakpoints.desktop) {
+ forceHideSecondaryMenu();
+ }
+ } else {
+ if ($this.parents('.persistent-secondary.active').length > 0) {
+ updateSecondaryCollapsedState(true, $this);
+ } else {
+ forceHideSecondaryMenu();
+ }
+ }
+ }
navElement.removeClass('hover-secondary-nav-pf');
- navElement.addClass('force-hide-secondary-nav-pf');
- setTimeout(function () {
- navElement.removeClass('force-hide-secondary-nav-pf');
- }, 500);
if (handleSelection) {
// Don't process the click on the parent item
e.stopImmediatePropagation();
diff --git a/dist/docs/partials/api/patternfly.autofocus.pfFocused.html b/dist/docs/partials/api/patternfly.autofocus.pfFocused.html
index f573916f9..4e58c8077 100644
--- a/dist/docs/partials/api/patternfly.autofocus.pfFocused.html
+++ b/dist/docs/partials/api/patternfly.autofocus.pfFocused.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFocused
+ Improve this doc View sourcepfFocused
directive in module patternfly
@@ -15,10 +15,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.card.directive.pfAggregateStatusCard.html b/dist/docs/partials/api/patternfly.card.directive.pfAggregateStatusCard.html
index c50917044..69595da7d 100644
--- a/dist/docs/partials/api/patternfly.card.directive.pfAggregateStatusCard.html
+++ b/dist/docs/partials/api/patternfly.card.directive.pfAggregateStatusCard.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfAggregateStatusCard
+ Improve this doc View sourcepfAggregateStatusCard
directive in module patternfly.card
@@ -45,10 +45,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.card.directive.pfCard.html b/dist/docs/partials/api/patternfly.card.directive.pfCard.html
index 0b5944493..85aa3599b 100644
--- a/dist/docs/partials/api/patternfly.card.directive.pfCard.html
+++ b/dist/docs/partials/api/patternfly.card.directive.pfCard.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfCard
+ Improve this doc View sourcepfCard
directive in module patternfly.card
@@ -41,10 +41,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfC3Chart.html b/dist/docs/partials/api/patternfly.charts.directive.pfC3Chart.html
index e5a7175d2..d86acd9c8 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfC3Chart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfC3Chart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfC3Chart
+ Improve this doc View sourcepfC3Chart
directive in module patternfly.charts
@@ -19,10 +19,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfDonutPctChart.html b/dist/docs/partials/api/patternfly.charts.directive.pfDonutPctChart.html
index 37693eef7..067153745 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfDonutPctChart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfDonutPctChart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfDonutPctChart
+ Improve this doc View sourcepfDonutPctChart
directive in module patternfly.charts
@@ -46,10 +46,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfHeatMap.html b/dist/docs/partials/api/patternfly.charts.directive.pfHeatMap.html
index 5d3752b5d..7e3f27516 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfHeatMap.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfHeatMap.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfHeatMap
+ Improve this doc View sourcepfHeatMap
directive in module patternfly.charts
@@ -39,10 +39,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfSparklineChart.html b/dist/docs/partials/api/patternfly.charts.directive.pfSparklineChart.html
index c41fac8cc..61ba61d32 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfSparklineChart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfSparklineChart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfSparklineChart
+ Improve this doc View sourcepfSparklineChart
directive in module patternfly.charts
@@ -47,10 +47,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfTrendsChart.html b/dist/docs/partials/api/patternfly.charts.directive.pfTrendsChart.html
index f8d917809..9a0b98c1a 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfTrendsChart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfTrendsChart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfTrendsChart
+ Improve this doc View sourcepfTrendsChart
directive in module patternfly.charts
@@ -40,10 +40,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationBarChart.html b/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationBarChart.html
index b3917873c..20f1689ca 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationBarChart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationBarChart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfUtilizationBarChart
+ Improve this doc View sourcepfUtilizationBarChart
directive in module patternfly.charts
@@ -49,10 +49,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationTrendChart.html b/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationTrendChart.html
index e48030f5c..1716cee4d 100644
--- a/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationTrendChart.html
+++ b/dist/docs/partials/api/patternfly.charts.directive.pfUtilizationTrendChart.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfUtilizationTrendChart
+ Improve this doc View sourcepfUtilizationTrendChart
directive in module patternfly.charts
@@ -49,10 +49,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.filters.directive.pfFilter.html b/dist/docs/partials/api/patternfly.filters.directive.pfFilter.html
index 1b6eb2ad3..10def3612 100644
--- a/dist/docs/partials/api/patternfly.filters.directive.pfFilter.html
+++ b/dist/docs/partials/api/patternfly.filters.directive.pfFilter.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFilter
+ Improve this doc View sourcepfFilter
directive in module patternfly.filters
@@ -28,10 +28,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.filters.directive.pfFilterFields.html b/dist/docs/partials/api/patternfly.filters.directive.pfFilterFields.html
index 9c53b47f8..a52b3dbaf 100644
--- a/dist/docs/partials/api/patternfly.filters.directive.pfFilterFields.html
+++ b/dist/docs/partials/api/patternfly.filters.directive.pfFilterFields.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFilterFields
+ Improve this doc View sourcepfFilterFields
directive in module patternfly.filters
diff --git a/dist/docs/partials/api/patternfly.filters.directive.pfFilterResults.html b/dist/docs/partials/api/patternfly.filters.directive.pfFilterResults.html
index c526f7691..2a8a71807 100644
--- a/dist/docs/partials/api/patternfly.filters.directive.pfFilterResults.html
+++ b/dist/docs/partials/api/patternfly.filters.directive.pfFilterResults.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFilterResults
+ Improve this doc View sourcepfFilterResults
directive in module patternfly.filters
diff --git a/dist/docs/partials/api/patternfly.form.directive.pfDatepicker.html b/dist/docs/partials/api/patternfly.form.directive.pfDatepicker.html
index f54f3d220..db8175b77 100644
--- a/dist/docs/partials/api/patternfly.form.directive.pfDatepicker.html
+++ b/dist/docs/partials/api/patternfly.form.directive.pfDatepicker.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfDatepicker
+ Improve this doc View sourcepfDatepicker
directive in module patternfly.form
@@ -17,10 +17,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.form.directive.pfFormButtons.html b/dist/docs/partials/api/patternfly.form.directive.pfFormButtons.html
index 1b2f56441..7b3919289 100644
--- a/dist/docs/partials/api/patternfly.form.directive.pfFormButtons.html
+++ b/dist/docs/partials/api/patternfly.form.directive.pfFormButtons.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFormButtons
+ Improve this doc View sourcepfFormButtons
directive in module patternfly.form
@@ -23,10 +23,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.form.directive.pfFormGroup.html b/dist/docs/partials/api/patternfly.form.directive.pfFormGroup.html
index eb688aa57..1902e5ac7 100644
--- a/dist/docs/partials/api/patternfly.form.directive.pfFormGroup.html
+++ b/dist/docs/partials/api/patternfly.form.directive.pfFormGroup.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfFormGroup
+ Improve this doc View sourcepfFormGroup
directive in module patternfly.form
@@ -23,10 +23,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.form.directive.pfRemainingCharsCount.html b/dist/docs/partials/api/patternfly.form.directive.pfRemainingCharsCount.html
index 913e1a63b..261c4b249 100644
--- a/dist/docs/partials/api/patternfly.form.directive.pfRemainingCharsCount.html
+++ b/dist/docs/partials/api/patternfly.form.directive.pfRemainingCharsCount.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfRemainingCharsCount
+ Improve this doc View sourcepfRemainingCharsCount
directive in module patternfly.form
@@ -40,10 +40,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.notification.Notification.html b/dist/docs/partials/api/patternfly.notification.Notification.html
index ad61410b6..d3d85b54b 100644
--- a/dist/docs/partials/api/patternfly.notification.Notification.html
+++ b/dist/docs/partials/api/patternfly.notification.Notification.html
@@ -1,4 +1,4 @@
- Improve this doc View sourceNotification
+ Improve this doc View sourceNotification
service in module patternfly.notification
@@ -29,10 +29,10 @@ Dependencies
Example
diff --git a/dist/docs/partials/api/patternfly.notification.directive.pfInlineNotification.html b/dist/docs/partials/api/patternfly.notification.directive.pfInlineNotification.html
index 0449b197b..d4b5d4cd8 100644
--- a/dist/docs/partials/api/patternfly.notification.directive.pfInlineNotification.html
+++ b/dist/docs/partials/api/patternfly.notification.directive.pfInlineNotification.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfInlineNotification
+ Improve this doc View sourcepfInlineNotification
directive in module patternfly.notification
@@ -24,10 +24,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.notification.directive.pfNotificationList.html b/dist/docs/partials/api/patternfly.notification.directive.pfNotificationList.html
index 326acb213..9a0f2c9d7 100644
--- a/dist/docs/partials/api/patternfly.notification.directive.pfNotificationList.html
+++ b/dist/docs/partials/api/patternfly.notification.directive.pfNotificationList.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfNotificationList
+ Improve this doc View sourcepfNotificationList
directive in module patternfly.notification
@@ -12,10 +12,10 @@ Usage
Example
diff --git a/dist/docs/partials/api/patternfly.select.pfSelect.html b/dist/docs/partials/api/patternfly.select.pfSelect.html
index 5adbac58e..9b87bd33b 100644
--- a/dist/docs/partials/api/patternfly.select.pfSelect.html
+++ b/dist/docs/partials/api/patternfly.select.pfSelect.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfSelect
+ Improve this doc View sourcepfSelect
directive in module patternfly
@@ -19,10 +19,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.sort.directive.pfSort.html b/dist/docs/partials/api/patternfly.sort.directive.pfSort.html
index 813df5a06..6f73affd3 100644
--- a/dist/docs/partials/api/patternfly.sort.directive.pfSort.html
+++ b/dist/docs/partials/api/patternfly.sort.directive.pfSort.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfSort
+ Improve this doc View sourcepfSort
directive in module patternfly.sort
@@ -26,10 +26,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.toolbars.directive.pfToolbar.html b/dist/docs/partials/api/patternfly.toolbars.directive.pfToolbar.html
index ec6991779..d2ff5c012 100644
--- a/dist/docs/partials/api/patternfly.toolbars.directive.pfToolbar.html
+++ b/dist/docs/partials/api/patternfly.toolbars.directive.pfToolbar.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfToolbar
+ Improve this doc View sourcepfToolbar
directive in module patternfly.toolbars
@@ -50,10 +50,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.utils.directive.pfTransclude.html b/dist/docs/partials/api/patternfly.utils.directive.pfTransclude.html
index 6e1a4f769..613dfc11a 100644
--- a/dist/docs/partials/api/patternfly.utils.directive.pfTransclude.html
+++ b/dist/docs/partials/api/patternfly.utils.directive.pfTransclude.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfTransclude
+ Improve this doc View sourcepfTransclude
directive in module patternfly.utils
@@ -20,10 +20,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.validation.pfValidation.html b/dist/docs/partials/api/patternfly.validation.pfValidation.html
index 0b07f4571..4332ff35d 100644
--- a/dist/docs/partials/api/patternfly.validation.pfValidation.html
+++ b/dist/docs/partials/api/patternfly.validation.pfValidation.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfValidation
+ Improve this doc View sourcepfValidation
directive in module patternfly
@@ -18,10 +18,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.views.directive.pfCardView.html b/dist/docs/partials/api/patternfly.views.directive.pfCardView.html
index 64727f6a8..f43e708e7 100644
--- a/dist/docs/partials/api/patternfly.views.directive.pfCardView.html
+++ b/dist/docs/partials/api/patternfly.views.directive.pfCardView.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfCardView
+ Improve this doc View sourcepfCardView
directive in module patternfly.views
@@ -31,10 +31,10 @@ Parameters
Example
diff --git a/dist/docs/partials/api/patternfly.views.directive.pfListView.html b/dist/docs/partials/api/patternfly.views.directive.pfListView.html
index d2010f592..99268e0bc 100644
--- a/dist/docs/partials/api/patternfly.views.directive.pfListView.html
+++ b/dist/docs/partials/api/patternfly.views.directive.pfListView.html
@@ -1,4 +1,4 @@
- Improve this doc View sourcepfListView
+ Improve this doc View sourcepfListView
directive in module patternfly.views
@@ -50,10 +50,10 @@ Parameters
Example
diff --git a/package.json b/package.json
index dea4fa2d3..79bf6ed99 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"author": "Red Hat",
"name": "angular-patternfly",
- "version": "3.1.0",
+ "version": "3.2.0",
"license": "Apache-2.0",
"description": "Angular extension of the PatternFly project.",
"homepage": "https://github.com/patternfly/angular-patternfly",