forked from carbon-design-system/carbon-components-svelte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add padding prop to Grid component (carbon-design-system#420)
* Add padding prop to Grid component * Fix file name * Build lib * Typo Co-authored-by: Richard O'flynn <[email protected]>
- Loading branch information
1 parent
f4c940d
commit b597a64
Showing
11 changed files
with
116 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script> | ||
import { Grid, Row, Column } from "carbon-components-svelte"; | ||
</script> | ||
|
||
<Grid narrow padding> | ||
<Row> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
</Row> | ||
</Grid> | ||
|
||
<Grid narrow> | ||
<Row padding> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
</Row> | ||
<Row> | ||
<Column padding style="outline: 1px solid var(--cds-interactive-04)"> | ||
Column | ||
</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
<Column style="outline: 1px solid var(--cds-interactive-04)">Column</Column> | ||
</Row> | ||
</Grid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script lang="ts"> | ||
import { Grid, Row, Column } from "../types"; | ||
</script> | ||
|
||
<Grid padding> | ||
<Row padding> | ||
<Column padding style="outline: 1px solid var(--cds-interactive-04)"> | ||
Column | ||
</Column> | ||
<Column padding style="outline: 1px solid var(--cds-interactive-04)"> | ||
Column | ||
</Column> | ||
<Column padding style="outline: 1px solid var(--cds-interactive-04)"> | ||
Column | ||
</Column> | ||
<Column padding style="outline: 1px solid var(--cds-interactive-04)"> | ||
Column | ||
</Column> | ||
</Row> | ||
</Grid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters