diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 6914604e6..2d0ec4bf0 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -13463,7 +13463,7 @@ "optional": true, "readonly": false, "type": "boolean", - "default": "true", + "default": "false", "description": "Displays a button to clear the column filtering." }, { @@ -80226,6 +80226,24 @@ "default": "", "description": "Padding of header" }, + { + "name": "sm.padding", + "token": "datatable.header.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of header" + }, + { + "name": "lg.padding", + "token": "datatable.header.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of header" + }, { "name": "headerCell.background", "token": "datatable.header.cell.background", @@ -80352,6 +80370,24 @@ "default": "", "description": "Focus ring shadow of header cell" }, + { + "name": "sm.padding", + "token": "datatable.header.cell.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of header cell" + }, + { + "name": "lg.padding", + "token": "datatable.header.cell.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of header cell" + }, { "name": "columnTitle.fontWeight", "token": "datatable.column.title.font.weight", @@ -80487,6 +80523,24 @@ "default": "", "description": "Padding of body cell" }, + { + "name": "sm.padding", + "token": "datatable.body.cell.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of body cell" + }, + { + "name": "lg.padding", + "token": "datatable.body.cell.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of body cell" + }, { "name": "bodyCell.selectedBorderColor", "token": "datatable.body.cell.selected.border.color", @@ -80532,6 +80586,24 @@ "default": "", "description": "Padding of footer cell" }, + { + "name": "sm.padding", + "token": "datatable.footer.cell.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of footer cell" + }, + { + "name": "lg.padding", + "token": "datatable.footer.cell.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of footer cell" + }, { "name": "columnFooter.fontWeight", "token": "datatable.column.footer.font.weight", @@ -80586,6 +80658,24 @@ "default": "", "description": "Padding of footer" }, + { + "name": "sm.padding", + "token": "datatable.footer.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of footer" + }, + { + "name": "lg.padding", + "token": "datatable.footer.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of footer" + }, { "name": "dropPoint.color", "token": "datatable.drop.point.color", @@ -92222,40 +92312,40 @@ "ProgressSpinnerDesignTokens": { "props": [ { - "name": "root.color.1", - "token": "progressspinner.color.1", + "name": "root.colorOne", + "token": "progressspinner.color.one", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Color.1 of root" + "description": "Color one of root" }, { - "name": "root.color.2", - "token": "progressspinner.color.2", + "name": "root.colorTwo", + "token": "progressspinner.color.two", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Color.2 of root" + "description": "Color two of root" }, { - "name": "root.color.3", - "token": "progressspinner.color.3", + "name": "root.colorThree", + "token": "progressspinner.color.three", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Color.3 of root" + "description": "Color three of root" }, { - "name": "root.color.4", - "token": "progressspinner.color.4", + "name": "root.colorFour", + "token": "progressspinner.color.four", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Color.4 of root" + "description": "Color four of root" } ] } @@ -98288,22 +98378,22 @@ "description": "Checked color of icon" }, { - "name": "content.left", - "token": "togglebutton.content.left", + "name": "content.padding", + "token": "togglebutton.content.padding", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Left of content" + "description": "Padding of content" }, { - "name": "content.top", - "token": "togglebutton.content.top", + "name": "content.borderRadius", + "token": "togglebutton.content.border.radius", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Top of content" + "description": "Border radius of content" }, { "name": "content.checkedShadow", @@ -98314,6 +98404,24 @@ "default": "", "description": "Checked shadow of content" }, + { + "name": "sm.padding", + "token": "togglebutton.content.sm.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Sm padding of content" + }, + { + "name": "lg.padding", + "token": "togglebutton.content.lg.padding", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Lg padding of content" + }, { "name": "content.checkedBackground", "token": "togglebutton.content.checked.background", diff --git a/packages/primevue/src/column/BaseColumn.vue b/packages/primevue/src/column/BaseColumn.vue index 045400038..8b0a889b5 100644 --- a/packages/primevue/src/column/BaseColumn.vue +++ b/packages/primevue/src/column/BaseColumn.vue @@ -80,7 +80,7 @@ export default { }, showClearButton: { type: Boolean, - default: true + default: false }, showApplyButton: { type: Boolean, diff --git a/packages/primevue/src/column/Column.d.ts b/packages/primevue/src/column/Column.d.ts index e181a769f..fbc578ee0 100755 --- a/packages/primevue/src/column/Column.d.ts +++ b/packages/primevue/src/column/Column.d.ts @@ -431,7 +431,7 @@ export interface ColumnProps { showFilterOperator?: boolean | undefined; /** * Displays a button to clear the column filtering. - * @defaultValue true + * @defaultValue false */ showClearButton?: boolean | undefined; /** diff --git a/packages/primevue/src/datatable/ColumnFilter.vue b/packages/primevue/src/datatable/ColumnFilter.vue index fc1e04d22..ec7bd5df6 100644 --- a/packages/primevue/src/datatable/ColumnFilter.vue +++ b/packages/primevue/src/datatable/ColumnFilter.vue @@ -17,7 +17,7 @@ v-bind="{ ...getColumnPT('pcColumnFilterButton', ptmFilterMenuParams), ...filterButtonProps.filter }" >