@entur/typography 1.6.12 → 1.6.13

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.6.13](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.12...@entur/typography@1.6.13) (2022-05-13)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **text elements:** fix margin prop values being overwritten be default value for margin on all text ([ce7b980](https://bitbucket.org/enturas/design-system/commits/ce7b980a0bb874dbcaa46c9ceb0cfdb7b5ef8f5a))
11
+
6
12
  ## [1.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/typography@1.6.11...@entur/typography@1.6.12) (2022-04-27)
7
13
 
8
14
  **Note:** Version bump only for package @entur/typography
package/dist/styles.css CHANGED
@@ -205,59 +205,6 @@ html {
205
205
  }
206
206
  }
207
207
 
208
- .eds-h1--margin-top,
209
- .eds-h2--margin-top,
210
- .eds-h3--margin-top,
211
- .eds-h4--margin-top,
212
- .eds-h5--margin-top,
213
- .eds-h6--margin-top,
214
- .eds-paragraph--margin-top,
215
- .eds-lead-paragraph--margin-top,
216
- .eds-sub-paragraph--margin-top,
217
- .eds-emphasized-text--margin-top,
218
- .eds-label--margin-top,
219
- .eds-sub-label--margin-top,
220
- .eds-small-text--margin-top,
221
- .eds-strong-text--margin-top,
222
- .eds-link--margin-top {
223
- margin-bottom: 0;
224
- }
225
- .eds-h1--margin-bottom,
226
- .eds-h2--margin-bottom,
227
- .eds-h3--margin-bottom,
228
- .eds-h4--margin-bottom,
229
- .eds-h5--margin-bottom,
230
- .eds-h6--margin-bottom,
231
- .eds-paragraph--margin-bottom,
232
- .eds-lead-paragraph--margin-bottom,
233
- .eds-sub-paragraph--margin-bottom,
234
- .eds-emphasized-text--margin-bottom,
235
- .eds-label--margin-bottom,
236
- .eds-sub-label--margin-bottom,
237
- .eds-small-text--margin-bottom,
238
- .eds-strong-text--margin-bottom,
239
- .eds-link--margin-bottom {
240
- margin-top: 0;
241
- }
242
- .eds-h1--margin-none,
243
- .eds-h2--margin-none,
244
- .eds-h3--margin-none,
245
- .eds-h4--margin-none,
246
- .eds-h5--margin-none,
247
- .eds-h6--margin-none,
248
- .eds-paragraph--margin-none,
249
- .eds-lead-paragraph--margin-none,
250
- .eds-sub-paragraph--margin-none,
251
- .eds-emphasized-text--margin-none,
252
- .eds-label--margin-none,
253
- .eds-sub-label--margin-none,
254
- .eds-small-text--margin-none,
255
- .eds-strong-text--margin-none,
256
- .eds-link--margin-none {
257
- margin-top: 0;
258
- margin-bottom: 0;
259
- }
260
-
261
208
  .eds-lead-paragraph {
262
209
  color: inherit;
263
210
  color: #181c56;
@@ -498,6 +445,59 @@ html {
498
445
  text-transform: uppercase;
499
446
  }
500
447
 
448
+ .eds-h1--margin-top,
449
+ .eds-h2--margin-top,
450
+ .eds-h3--margin-top,
451
+ .eds-h4--margin-top,
452
+ .eds-h5--margin-top,
453
+ .eds-h6--margin-top,
454
+ .eds-paragraph--margin-top,
455
+ .eds-lead-paragraph--margin-top,
456
+ .eds-sub-paragraph--margin-top,
457
+ .eds-emphasized-text--margin-top,
458
+ .eds-label--margin-top,
459
+ .eds-sub-label--margin-top,
460
+ .eds-small-text--margin-top,
461
+ .eds-strong-text--margin-top,
462
+ .eds-link--margin-top {
463
+ margin-bottom: 0;
464
+ }
465
+ .eds-h1--margin-bottom,
466
+ .eds-h2--margin-bottom,
467
+ .eds-h3--margin-bottom,
468
+ .eds-h4--margin-bottom,
469
+ .eds-h5--margin-bottom,
470
+ .eds-h6--margin-bottom,
471
+ .eds-paragraph--margin-bottom,
472
+ .eds-lead-paragraph--margin-bottom,
473
+ .eds-sub-paragraph--margin-bottom,
474
+ .eds-emphasized-text--margin-bottom,
475
+ .eds-label--margin-bottom,
476
+ .eds-sub-label--margin-bottom,
477
+ .eds-small-text--margin-bottom,
478
+ .eds-strong-text--margin-bottom,
479
+ .eds-link--margin-bottom {
480
+ margin-top: 0;
481
+ }
482
+ .eds-h1--margin-none,
483
+ .eds-h2--margin-none,
484
+ .eds-h3--margin-none,
485
+ .eds-h4--margin-none,
486
+ .eds-h5--margin-none,
487
+ .eds-h6--margin-none,
488
+ .eds-paragraph--margin-none,
489
+ .eds-lead-paragraph--margin-none,
490
+ .eds-sub-paragraph--margin-none,
491
+ .eds-emphasized-text--margin-none,
492
+ .eds-label--margin-none,
493
+ .eds-sub-label--margin-none,
494
+ .eds-small-text--margin-none,
495
+ .eds-strong-text--margin-none,
496
+ .eds-link--margin-none {
497
+ margin-top: 0;
498
+ margin-bottom: 0;
499
+ }
500
+
501
501
  @-webkit-keyframes lineExpand {
502
502
  0% {
503
503
  width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/typography",
3
- "version": "1.6.12",
3
+ "version": "1.6.13",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/typography.esm.js",
@@ -34,5 +34,5 @@
34
34
  "devDependencies": {
35
35
  "@entur/tokens": "^3.3.2"
36
36
  },
37
- "gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
37
+ "gitHead": "9e25b2a4a4ab659dc368f51ad0e0b74bee26e1d0"
38
38
  }