@ongov/ontario-design-system-complete-styles 4.3.0-alpha.3 → 4.3.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@
15
15
  border-radius: globalVariables.$global-radius;
16
16
  margin: spacing.$spacing-0 spacing.$spacing-7 spacing.$spacing-7 spacing.$spacing-0;
17
17
  padding: spacing.$spacing-0;
18
- /*
18
+ /*
19
19
  * Required for cards to stay the same height regardless of content size.
20
20
  * Without subtracting the margin-bottom amount the cards will be too large.
21
21
  */
@@ -47,6 +47,18 @@
47
47
  }
48
48
  }
49
49
 
50
+ .ontario-card__header-type--dark.ontario-card__description-false {
51
+ background-color: colours.$ontario-colour-black;
52
+ }
53
+
54
+ .ontario-card__header-type--light.ontario-card__description-false {
55
+ background-color: colours.$ontario-greyscale-5;
56
+ }
57
+
58
+ .ontario-card--image-true {
59
+ margin-top: spacing.$spacing-2 * -1;
60
+ }
61
+
50
62
  .ontario-card__card-type--horizontal {
51
63
  display: flex;
52
64
 
@@ -114,11 +126,6 @@
114
126
  text-decoration-color: colours.$ontario-colour-white;
115
127
  }
116
128
 
117
- .ontario-card--no-description & {
118
- padding: spacing.$spacing-4 spacing.$spacing-5;
119
- border-radius: 0 0 globalVariables.$global-radius globalVariables.$global-radius;
120
- }
121
-
122
129
  a {
123
130
  color: colours.$ontario-colour-black;
124
131
  text-decoration: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ongov/ontario-design-system-complete-styles",
3
- "version": "4.3.0-alpha.3",
3
+ "version": "4.3.1-alpha.1",
4
4
  "private": false,
5
5
  "description": "Complete styles package for the Ontario Design System containing all SASS and CSS for use independently of the Component Library.",
6
6
  "license": "Apache-2.0",
@@ -20,9 +20,9 @@
20
20
  "docs:copy:readme": "ts-node ../../scripts/documentation-helper.ts -f README.md -p \"---\ntitle: Complete Styles\n---\n\" -df ../app-web-components-documentation/docs/06-readme-complete-styles.md"
21
21
  },
22
22
  "dependencies": {
23
- "@ongov/ontario-design-system-component-library": "4.3.0-alpha.3",
24
- "@ongov/ontario-design-system-design-tokens": "4.3.0-alpha.3",
25
- "@ongov/ontario-design-system-global-styles": "4.3.0-alpha.3",
23
+ "@ongov/ontario-design-system-component-library": "4.3.1-alpha.1",
24
+ "@ongov/ontario-design-system-design-tokens": "4.3.1-alpha.1",
25
+ "@ongov/ontario-design-system-global-styles": "4.3.1-alpha.1",
26
26
  "gulp-flatten": "^0.4.0"
27
27
  },
28
28
  "devDependencies": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  ],
50
50
  "sass": "dist/styles/scss/theme.scss",
51
- "gitHead": "b0c72f79336ac9777f3adb14e8555bb3aa6a0379"
51
+ "gitHead": "ab7fc8a847e4155ec0ad01347484aaed6dc2d981"
52
52
  }