Skip to content

Commit bc35f73

Browse files
committed
Replace hardcoded margins with new class nat-margin-standard #11936
This might be applied to a single `h1`, `h2`, `h3`, `h4`, `h5`, `h6` or `p`. Or it can be applied to a container containing those. So usage is like: ```html <div> <p>no margins</p> <p class="nat-margin-standard">with margins</p> </div> ``` ```html <div class="nat-margin-standard"> <h1>All with margins</h1> <p>with margins</p> </div> ```
1 parent 9bda76d commit bc35f73

2 files changed

Lines changed: 38 additions & 13 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
"@angular/router": "^20.3.7",
2727
"@apollo/client": "^3.13.7",
2828
"@ecodev/fab-speed-dial": "^21.0.0",
29-
"@ecodev/natural": "^66.0.26",
30-
"@ecodev/natural-editor": "^66.0.26",
29+
"@ecodev/natural": "^66.3.0",
30+
"@ecodev/natural-editor": "^66.3.0",
3131
"@ecodev/natural-layout": "^2.0.2",
3232
"@graphql-codegen/cli": "^6.0.0",
3333
"@graphql-codegen/typescript-apollo-angular": "^4.0.1",

yarn.lock

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -908,10 +908,10 @@
908908
dependencies:
909909
tslib "^2.8.1"
910910

911-
"@ecodev/natural-editor@^66.0.26":
912-
version "66.0.26"
913-
resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-66.0.26.tgz#62c9ded134df4af0e5873b6525fd39197bc1f6fc"
914-
integrity sha512-foJ9OzqXW/bZu1SIE0vACc1dIRo/AhtP5wXSEk8E82ys+FTALOzpjSG789tX1RtksDH4opu9fFJf7pzg3a2bww==
911+
"@ecodev/natural-editor@^66.3.0":
912+
version "66.3.0"
913+
resolved "https://registry.yarnpkg.com/@ecodev/natural-editor/-/natural-editor-66.3.0.tgz#2b3c60ec9dd85f5ab85665737670cfe3037f576a"
914+
integrity sha512-eawEm0+W1oFvB6bivf2u4K+sIzSvDwHPNadZe4PeYcPAyiJDnAKdKc2F2BxK294Jdk8iemGj57C2asVUYhKyAQ==
915915
dependencies:
916916
prosemirror-commands "^1.5.2"
917917
prosemirror-dropcursor "^1.8.1"
@@ -933,10 +933,10 @@
933933
resolved "https://registry.yarnpkg.com/@ecodev/natural-layout/-/natural-layout-2.0.2.tgz#e2c64c2ddb3c60793a39236b52624fde323e610a"
934934
integrity sha512-BV75kFQmpfuSBNQ1jyKu+IdGkFTMESjPrtKrEyc3MqcmVhV5IiYU0LXTaghLZozuZgCT9HfMOnEsh05aS2j9uQ==
935935

936-
"@ecodev/natural@^66.0.26":
937-
version "66.0.26"
938-
resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-66.0.26.tgz#87e0f46b4dcb883b945fcb2c0060355a4f813511"
939-
integrity sha512-4ukC6mtr4L5Xx8BS4GAjPc1El9/gfSwu1tnmWfhuMDNl9nB3sypeEwR8zvCFNSfCtXqdIDO3oqK7KjVa7MFGeg==
936+
"@ecodev/natural@^66.3.0":
937+
version "66.3.0"
938+
resolved "https://registry.yarnpkg.com/@ecodev/natural/-/natural-66.3.0.tgz#2d393e8396ee7ad6ffd4e7c59682ded2f88f6bed"
939+
integrity sha512-yKpZsFVnBEtt4uLb8JI2gTmd5gil/oERotGFlMzghtwFf1JYAGOQPjIqseN74n8ccB6hwUPMZw2w4W5DgiFFfA==
940940
dependencies:
941941
extract-files "^13.0.0"
942942
tslib "^2.8.1"
@@ -6769,7 +6769,16 @@ string-env-interpolation@^1.0.1:
67696769
resolved "https://registry.yarnpkg.com/string-env-interpolation/-/string-env-interpolation-1.0.1.tgz#ad4397ae4ac53fe6c91d1402ad6f6a52862c7152"
67706770
integrity sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg==
67716771

6772-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
6772+
"string-width-cjs@npm:string-width@^4.2.0":
6773+
version "4.2.3"
6774+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
6775+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
6776+
dependencies:
6777+
emoji-regex "^8.0.0"
6778+
is-fullwidth-code-point "^3.0.0"
6779+
strip-ansi "^6.0.1"
6780+
6781+
string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
67736782
version "4.2.3"
67746783
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
67756784
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -6796,7 +6805,14 @@ string-width@^7.0.0, string-width@^7.2.0:
67966805
get-east-asian-width "^1.0.0"
67976806
strip-ansi "^7.1.0"
67986807

6799-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
6808+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
6809+
version "6.0.1"
6810+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
6811+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
6812+
dependencies:
6813+
ansi-regex "^5.0.1"
6814+
6815+
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
68006816
version "6.0.1"
68016817
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
68026818
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -7228,7 +7244,7 @@ word-wrap@^1.2.5:
72287244
resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
72297245
integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
72307246

7231-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
7247+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
72327248
version "7.0.0"
72337249
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
72347250
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -7246,6 +7262,15 @@ wrap-ansi@^6.2.0:
72467262
string-width "^4.1.0"
72477263
strip-ansi "^6.0.0"
72487264

7265+
wrap-ansi@^7.0.0:
7266+
version "7.0.0"
7267+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
7268+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
7269+
dependencies:
7270+
ansi-styles "^4.0.0"
7271+
string-width "^4.1.0"
7272+
strip-ansi "^6.0.0"
7273+
72497274
wrap-ansi@^8.1.0:
72507275
version "8.1.0"
72517276
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)