Skip to content

Commit c78b437

Browse files
Merge pull request mui#2083 from subjectix/dialog-style-prop
[doc] Add style property
2 parents df5f6ed + 0dc2e4a commit c78b437

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+203
-4
lines changed

docs/src/app/components/pages/components/app-bar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class AppBarPage extends React.Component {
6363
name: 'style',
6464
type: 'object',
6565
header: 'optional',
66-
desc: 'Override the inline-styles of the app bars\'s root element.',
66+
desc: 'Override the inline-styles of the app bar\'s root element.',
6767
},
6868
{
6969
name: 'showMenuIconButton',

docs/src/app/components/pages/components/cards.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ export default class CardPage extends React.Component {
6868
'and CardActions implement showExpandableButton. Any child component of Card can implements ' +
6969
'showExpandableButton or forwards the property to a child component supporting it.',
7070
},
71+
{
72+
name: 'style',
73+
type: 'object',
74+
header: 'optional',
75+
desc: 'Override the inline-styles of the card\'s root element.',
76+
},
7177
],
7278
},
7379
{

docs/src/app/components/pages/components/dialog.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export default class DialogPage extends React.Component {
4444
header: 'optional',
4545
desc: 'The ref of the action to focus on when the dialog is displayed.',
4646
},
47+
{
48+
name: 'style',
49+
type: 'object',
50+
header: 'optional',
51+
desc: 'Override the inline-styles of the dialog\'s root element.',
52+
},
4753
{
4854
name: 'bodyStyle',
4955
type: 'object',

docs/src/app/components/pages/components/grid-list.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ class GridListPage extends React.Component {
4343
header: 'optional',
4444
desc: 'Number of px for one cell height. Defaults to 180.',
4545
},
46+
{
47+
name: 'style',
48+
type: 'object',
49+
header: 'optional',
50+
desc: 'Override the inline-styles of the grid list\'s root element.',
51+
},
4652
],
4753
},
4854
{
@@ -96,6 +102,12 @@ class GridListPage extends React.Component {
96102
header: 'optional',
97103
desc: 'Height of the tile in number of grid cells. Defaults to 1.',
98104
},
105+
{
106+
name: 'style',
107+
type: 'object',
108+
header: 'optional',
109+
desc: 'Override the inline-styles of the grid tile\'s root element.',
110+
},
99111
{
100112
name: 'rootClass',
101113
type: 'string|ReactComponent',

docs/src/app/components/pages/components/icon-menus.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export default class IconMenus extends React.Component {
5656
header: 'default: false',
5757
desc: 'Indicates if the menu should render with compact desktop styles.',
5858
},
59+
{
60+
name: 'style',
61+
type: 'object',
62+
header: 'optional',
63+
desc: 'Override the inline-styles of the icon menu\'s root element.',
64+
},
5965
{
6066
name: 'iconStyle',
6167
type: 'object',

docs/src/app/components/pages/components/icons.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ export default class FontIconPage extends React.Component {
7575
header: 'optional',
7676
desc: 'This is the icon color when the mouse hovers over the icon.',
7777
},
78+
{
79+
name: 'style',
80+
type: 'object',
81+
header: 'optional',
82+
desc: 'Override the inline-styles of the font icon\'s root element.',
83+
},
7884
],
7985
},
8086
{
@@ -93,6 +99,12 @@ export default class FontIconPage extends React.Component {
9399
header: 'optional',
94100
desc: 'This is the icon color when the mouse hovers over the icon.',
95101
},
102+
{
103+
name: 'style',
104+
type: 'object',
105+
header: 'optional',
106+
desc: 'Override the inline-styles of the svg icon\'s root element.',
107+
},
96108
],
97109
},
98110
];

docs/src/app/components/pages/components/lists.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ export default class ListsPage extends React.Component {
5353
header: 'default: false',
5454
desc: 'If true, the subheader will be indented by 72px.',
5555
},
56+
{
57+
name: 'style',
58+
type: 'object',
59+
header: 'optional',
60+
desc: 'Override the inline-styles of the list\'s root element.',
61+
},
5662
{
5763
name: 'subheader',
5864
type: 'node',
@@ -170,6 +176,12 @@ export default class ListsPage extends React.Component {
170176
header: 'default: 1',
171177
desc: 'Can be 1 or 2. This is the number of secondary text lines before ellipsis will show.',
172178
},
179+
{
180+
name: 'style',
181+
type: 'object',
182+
header: 'optional',
183+
desc: 'Override the inline-styles of the list item\'s root element.',
184+
},
173185
],
174186
},
175187
{

docs/src/app/components/pages/components/menus.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ export default class MenusPage extends React.Component {
4646
header: 'default: false',
4747
desc: 'Indicates if the menu should render with compact desktop styles.',
4848
},
49+
{
50+
name: 'style',
51+
type: 'object',
52+
header: 'optional',
53+
desc: 'Override the inline-styles of the menu\'s root element.',
54+
},
4955
{
5056
name: 'listStyle',
5157
type: 'object',
@@ -114,6 +120,12 @@ export default class MenusPage extends React.Component {
114120
header: 'default: false',
115121
desc: 'Disables a menu item.',
116122
},
123+
{
124+
name: 'style',
125+
type: 'object',
126+
header: 'optional',
127+
desc: 'Override the inline-styles of the menu item\'s root element.',
128+
},
117129
{
118130
name: 'innerDivStyle',
119131
type: 'object',

docs/src/app/components/pages/components/progress.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ let ProgressPage = React.createClass({
6666
header: 'default: 1',
6767
desc: 'The size of the progress.',
6868
},
69+
{
70+
name: 'style',
71+
type: 'object',
72+
header: 'optional',
73+
desc: 'Override the inline-styles of the progress\'s root element.',
74+
},
6975
],
7076
},
7177
];

docs/src/app/components/pages/components/table.jsx

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ export default class TablePage extends React.Component {
8787
desc: 'If true, table rows can be selected. If multiple row selection is desired, enable multiSelectable. ' +
8888
'The default value is true.',
8989
},
90+
{
91+
name: 'style',
92+
type: 'object',
93+
header: 'optional',
94+
desc: 'Override the inline-styles of the table\'s root element.',
95+
},
9096
],
9197
},
9298
{
@@ -120,6 +126,12 @@ export default class TablePage extends React.Component {
120126
desc: 'If set to true the select all checkbox will be programmatically checked and will not trigger the select ' +
121127
'all event.',
122128
},
129+
{
130+
name: 'style',
131+
type: 'object',
132+
header: 'optional',
133+
desc: 'Override the inline-styles of the table header\'s root element.',
134+
},
123135
],
124136
},
125137
{
@@ -177,6 +189,12 @@ export default class TablePage extends React.Component {
177189
header: 'optional',
178190
desc: 'If true, every other table row starting with the first row will be striped. The default value is false.',
179191
},
192+
{
193+
name: 'style',
194+
type: 'object',
195+
header: 'optional',
196+
desc: 'Override the inline-styles of the table body\'s root element.',
197+
},
180198
],
181199
},
182200
{
@@ -190,6 +208,12 @@ export default class TablePage extends React.Component {
190208
'is true, this property will not influence the number of columns. This is mainly useful for "super header" ' +
191209
'rows so that the checkbox column does not create an offset that needs to be accounted for manually.',
192210
},
211+
{
212+
name: 'style',
213+
type: 'object',
214+
header: 'optional',
215+
desc: 'Override the inline-styles of the table footer\'s root element.',
216+
},
193217
],
194218
},
195219
{
@@ -232,6 +256,12 @@ export default class TablePage extends React.Component {
232256
header: 'default: false',
233257
desc: 'Indicates whether or not the row is striped.',
234258
},
259+
{
260+
name: 'style',
261+
type: 'object',
262+
header: 'optional',
263+
desc: 'Override the inline-styles of the table row\'s root element.',
264+
},
235265
],
236266
},
237267
{
@@ -255,6 +285,12 @@ export default class TablePage extends React.Component {
255285
header: 'optional',
256286
desc: 'Additional styling that can be applied to the tooltip.',
257287
},
288+
{
289+
name: 'style',
290+
type: 'object',
291+
header: 'optional',
292+
desc: 'Override the inline-styles of the table header column\'s root element.',
293+
},
258294
],
259295
},
260296
{
@@ -272,6 +308,12 @@ export default class TablePage extends React.Component {
272308
header: 'default: false',
273309
desc: 'If true, this column responds to hover events.',
274310
},
311+
{
312+
name: 'style',
313+
type: 'object',
314+
header: 'optional',
315+
desc: 'Override the inline-styles of the table row column\'s root element.',
316+
},
275317
],
276318
},
277319
{

0 commit comments

Comments
 (0)