@uqds/card 4.0.3 → 4.0.4-alpha.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uqds/card",
3
- "version": "4.0.3",
3
+ "version": "4.0.4-alpha.0",
4
4
  "description": "Card components",
5
5
  "keywords": [
6
6
  "uqds",
@@ -41,9 +41,9 @@
41
41
  "url": "https://github.com/uq-its-ss/design-system/issues"
42
42
  },
43
43
  "dependencies": {
44
- "@uqds/core": "^5.0.0",
45
- "@uqds/icon": "^4.0.3",
46
- "@uqds/layout": "^7.0.0"
44
+ "@uqds/core": "^5.0.1-alpha.0",
45
+ "@uqds/icon": "^4.0.4-alpha.0",
46
+ "@uqds/layout": "^7.0.1-alpha.0"
47
47
  },
48
- "gitHead": "c6607491a533580204535961d2a3b4b94baf4cf1"
48
+ "gitHead": "ffa48633374e0100ef2f546b04df450f887fb447"
49
49
  }
@@ -134,77 +134,6 @@
134
134
  }
135
135
 
136
136
  /* Additional style rules */
137
- .uq-grid {
138
- // On smaller viewports, Story & Event cards when > 3 renders as lists
139
- @media #{core.$screen-md-down} {
140
- &__col {
141
- // When there are 3 items
142
- @include with-count(3) {
143
- @include card-list-style();
144
- }
145
-
146
- // When there are 4 items
147
- @include with-count(4) {
148
- @include card-list-style();
149
- }
150
- }
151
- }
152
-
153
- // Full width cards
154
- &__col--md-8,
155
- &__col--xl-12 {
156
- .uq-card {
157
- @media #{core.$screen-md-up} {
158
- flex-direction: row;
159
- }
160
-
161
- &__image-wrapper {
162
- min-width: 100%;
163
- overflow: hidden;
164
-
165
- @media #{core.$screen-md-up} {
166
- min-width: 50%;
167
- max-height: 100%;
168
- }
169
- }
170
- &__image {
171
- padding-bottom: 70%;
172
-
173
- @media #{core.$screen-md-up} {
174
- min-height: 100%;
175
- padding-bottom: 0%;
176
- }
177
- }
178
- &__content-wrapper {
179
- min-width: 100%;
180
-
181
- @media #{core.$screen-md-up} {
182
- min-width: 50%;
183
- }
184
- }
185
- &__content {
186
- padding: core.$space-l;
187
-
188
- @media #{core.$screen-md-up} {
189
- padding: core.$space-xxxxl core.$space-xxxxl core.$space-l;
190
- }
191
- }
192
- &__body {
193
- p {
194
- @include truncate-card-1col-body-text;
195
- }
196
- }
197
-
198
- &__actions {
199
- padding: core.$space-none core.$space-l core.$space-l;
200
-
201
- @media #{core.$screen-md-up} {
202
- padding: core.$space-none core.$space-xxxxl core.$space-xxxxl;
203
- }
204
- }
205
- }
206
- }
207
- }
208
137
 
209
138
  // Set height of card to not equalise
210
139
  .height-non-equalised .uq-card {