Skip to content

Commit

Permalink
Fix primefaces#3668: Image style type CSSProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Nov 18, 2022
1 parent b1fbe2d commit b345324
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion api-generator/components/accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const AccordionProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/blockui.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const BlockUIProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const CardProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/cascadeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const CascadeSelectProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const ColumnProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the column.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/datatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const DataTableProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/dataview.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const DataViewProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/dataviewlayoutoptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DataViewLayoutOptionsProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/dock.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const DockProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const EditorProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the container.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/fieldset.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const FieldsetProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/fileupload.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const FileUploadProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ImageProps = [
},
{
name: 'imageStyle',
type: 'any',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the image element..'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/inplace.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const InplaceProps = [
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/mention.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const MentionProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const PanelProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PasswordProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/progressspinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ProgressSpinnerProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const RatingProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const SidebarProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/speeddial.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const SpeedDialProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/splitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const SplitterProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/splitterpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SplitterPanelProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/tabview.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const TabViewProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the tabview.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const TerminalProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the element.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const TreeProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/treeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TreeSelectProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/treetable.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TreeTableProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/virtualscroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const VirtualScrollerProps = [
},
{
name: 'style',
type: 'object',
type: 'React.CSSProperties',
default: 'null',
description: 'Inline style of the component.'
},
Expand Down
2 changes: 1 addition & 1 deletion components/doc/image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ import { Image } from 'primereact/image';
</tr>
<tr>
<td>imageStyle</td>
<td>any</td>
<td>React.CSSProperties</td>
<td>null</td>
<td>Inline style of the image element.</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion components/lib/image/image.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface ImageProps extends Omit<React.DetailedHTMLProps<React.HTMLAttri
downloadable?: boolean;
height?: string;
imageClassName?: string;
imageStyle?: string;
imageStyle?: React.CSSProperties;
preview?: boolean;
src?: string;
template?: any;
Expand Down

0 comments on commit b345324

Please sign in to comment.