-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Card: Improving CardItem and adding CardSection to allow Card children to fill the Card's margins #8813
Card: Improving CardItem and adding CardSection to allow Card children to fill the Card's margins #8813
Changes from 14 commits
02cc230
75328cc
a9aba0b
1a2f4da
4a1075d
9b2e0d5
db60ae7
9c03a12
e2701b6
638ce51
24c447a
ac6accb
acb1025
c7b5be4
04cf1e1
910dc05
87ffbf2
9d15b43
6eeb67b
32a26bb
3c2cb92
ec9ffbd
d5c0de2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@uifabric/react-cards", | ||
"comment": "Card: Improving CardItem and adding CardSection to allow Card children to fill the Card's margins.", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "@uifabric/react-cards", | ||
"email": "[email protected]" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "office-ui-fabric-react", | ||
"comment": "Stack: Adding relevant Stack and StackItem tokens.", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "office-ui-fabric-react", | ||
"email": "[email protected]" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,21 +105,25 @@ export interface IStackProps | |
* Defines the spacing between Stack children. | ||
* The property is specified as a value for 'row gap', followed optionally by a value for 'column gap'. | ||
* If 'column gap' is omitted, it's set to the same value as 'row gap'. | ||
* @deprecated Use 'childrenGap' token instead. | ||
*/ | ||
gap?: number | string; | ||
|
||
/** | ||
* Defines the maximum width that the Stack can take. | ||
* @deprecated Use 'maxWidth' token instead. | ||
*/ | ||
maxWidth?: number | string; | ||
|
||
/** | ||
* Defines the maximum height that the Stack can take. | ||
* @deprecated Use 'maxHeight' token instead. | ||
*/ | ||
maxHeight?: number | string; | ||
|
||
/** | ||
* Defines the inner padding of the Stack. | ||
* @deprecated Use 'padding' token instead. | ||
*/ | ||
padding?: number | string; | ||
|
||
|
@@ -141,6 +145,21 @@ export interface IStackTokens { | |
* If 'column gap' is omitted, it's set to the same value as 'row gap'. | ||
*/ | ||
childrenGap?: number | string; | ||
|
||
/** | ||
* Defines a maximum height for the Stack. | ||
*/ | ||
maxHeight?: number | string; | ||
|
||
/** | ||
* Defines a maximum width for the Stack. | ||
*/ | ||
maxWidth?: number | string; | ||
|
||
/** | ||
* Defines the padding to be applied to the Stack contents relative to its border. | ||
*/ | ||
padding?: number | string; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should the corresponding props be deprecated? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
} | ||
|
||
/** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JasonGore Here is the deprecated markup.