Skip to content

Commit c970cd7

Browse files
committed
refactor(card): change the layout member from LEFT to START
1 parent 92a845d commit c970cd7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ All notable changes for each version of this project will be documented in this
3232
- **Breaking Changes** - renamed the `default` enumeration member to `primary` in `IgxBadgeType`;
3333
- `IgxCard`:
3434
- **Breaking Changes** - renamed the `default` enumeration member to `elevated` in `IgxCardType`;
35-
- **Breaking Changes** - renamed the `default` enumeration member to `left` in `IgxCardActionsLayout`;
35+
- **Breaking Changes** - renamed the `default` enumeration member to `start` in `IgxCardActionsLayout`;
3636
- `IgxDivider`:
3737
- **Breaking Changes** - renamed the `default` enumeration member to `solid` in `IgxDividerType`;
3838
- **Breaking Changes** - renamed the `isDefault` getter to `isSolid`;

projects/igniteui-angular/src/lib/card/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Supporting directives and components:
6060
## igx-card-actions
6161
| Name | Type | Description |
6262
|:----------|:-------------:|:------|
63-
| `layout` | IgxCardActionsLayout | Sets the layout type of the area. Can be either `left` or `justify`. |
63+
| `layout` | IgxCardActionsLayout | Sets the layout type of the area. Can be either `start` or `justify`. |
6464
| `vertical` | boolean | Sets the layout direction. When set to `true` all buttons in the area will be aligned vertically. |
6565
| `reverse` | boolean | Reverses the layout of the area. When set to `true` all `igx-icons` and/or `igx-button='icon` will appear before all regular(text) buttons. |
6666
| `isJustifyLayout` | boolean | Returns true when the layout type is set to `justify`. |

projects/igniteui-angular/src/lib/card/card.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export class IgxCardComponent {
262262
}
263263

264264
export enum IgxCardActionsLayout {
265-
LEFT = 'left',
265+
START = 'start',
266266
JUSTIFY = 'justify',
267267
}
268268

@@ -292,7 +292,7 @@ export class IgxCardActionsComponent implements OnInit, OnChanges {
292292
*/
293293
@HostBinding('class.igx-card-actions')
294294
@Input()
295-
public layout: IgxCardActionsLayout | string = IgxCardActionsLayout.LEFT;
295+
public layout: IgxCardActionsLayout | string = IgxCardActionsLayout.START;
296296

297297
/**
298298
* An @Input property that sets the vertical attribute of the actions.

0 commit comments

Comments
 (0)