Skip to content

Commit

Permalink
- Added dswp-information-contact-socials (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpiteri-BCGov authored Jan 3, 2025
1 parent 1e5dfcf commit d00b13e
Show file tree
Hide file tree
Showing 8 changed files with 237 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
- Added dswp-horizontal-card-large-img-left pattern
- Added dswp-horizontal-card-large-img-right pattern
- Added dswp-vertical-card pattern
-
- Added dswp-information-contact-socials

## 1.3.0 October 15, 2024

- Integrate reusable unit tests from WordPress utils ([DESCW-2664](https://apps.itsm.gov.bc.ca/jira/browse/DESCW-2664))
Expand Down
2 changes: 1 addition & 1 deletion dist/index-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array(), 'version' => '38a19e16779f3369c1d9');
<?php return array('dependencies' => array(), 'version' => '9cbbf27ed7b52e08da61');
2 changes: 1 addition & 1 deletion dist/index.css

Large diffs are not rendered by default.

220 changes: 220 additions & 0 deletions patterns/dswp-information-contact-socials.php

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
@import "./patterns/dswp-icon-with-excerpt";
@import "./patterns/dswp-horizontal-card-large-img";
@import "./patterns/dswp-vertical-card";
@import "./patterns/dswp-information-contact-socials"
9 changes: 9 additions & 0 deletions src/styles/patterns/dswp-information-contact-socials.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.dswp-information-contact-socials-cards {
border-radius: var(--dswp-layout-border-radius-large) !important;

.dswp-information-contact-socials-card {
margin-top: 1rem !important;
margin-bottom: 1rem !important;
}
}

2 changes: 2 additions & 0 deletions src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
--dswp-layout-content-size: 1200px;
--dswp-layout-padding-none: var(--bcds-layout-padding-none);
--dswp-layout-margin-xlarge: var(--bcds-layout-margin-xlarge);
// Appearance
--dswp-layout-border-radius-large: var(--bcds-layout-border-radius-large);
}

//WordPress Screen Viewports (@wordpress/base-styles https://github.com/WordPress/gutenberg/blob/07c7821b07e5d2b2abaa86f6737dd486da26383e/packages/base-styles/_breakpoints.scss#L6)
Expand Down

0 comments on commit d00b13e

Please sign in to comment.