gscan 4.13.3 → 4.14.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.
@@ -14,7 +14,7 @@ function cssCardRule(cardName, className) {
14
14
  return {
15
15
  level: 'warning',
16
16
  rule: `The <code>.${className}</code> CSS class is required to appear styled in your theme`,
17
- details: oneLineTrim`The <code>.${className}</code> CSS class is required otherwise wide images will appear unstyled.
17
+ details: oneLineTrim`The <code>.${className}</code> CSS class is required otherwise the ${cardName} card will appear unstyled.
18
18
  Find out more about required theme changes for the Koenig editor <a href="${docsBaseUrl}editor/" target=_blank>here</a>.`,
19
19
  regex: new RegExp(`\\.${className}`, 'g'),
20
20
  className: `.${className}`,
@@ -196,7 +196,16 @@ let rules = {
196
196
  'GS050-CSS-KGCOBGR': cssCardRule('callout', 'kg-card-callout-background-red'),
197
197
  'GS050-CSS-KGCOBGPK': cssCardRule('callout', 'kg-card-callout-background-pink'),
198
198
  'GS050-CSS-KGCOBGPE': cssCardRule('callout', 'kg-card-callout-background-purple'),
199
- 'GS050-CSS-KGCOBGA': cssCardRule('callout', 'kg-card-callout-background-accent')
199
+ 'GS050-CSS-KGCOBGA': cssCardRule('callout', 'kg-card-callout-background-accent'),
200
+ 'GS050-CSS-KG-NFT': cssCardRule('nft', 'kg-nft-card'),
201
+ 'GS050-CSS-KG-NFTCO': cssCardRule('nft', 'kg-nft-card-container'),
202
+ 'GS050-CSS-KG-NFTMD': cssCardRule('nft', 'kg-nft-metadata'),
203
+ 'GS050-CSS-KG-NFTIMG': cssCardRule('nft', 'kg-nft-image'),
204
+ 'GS050-CSS-KG-NFTHD': cssCardRule('nft', 'kg-nft-header'),
205
+ 'GS050-CSS-KG-NFTTIT': cssCardRule('nft', 'kg-nft-title'),
206
+ 'GS050-CSS-KG-NFTLG': cssCardRule('nft', 'kg-nft-logo'),
207
+ 'GS050-CSS-KG-NFTCTR': cssCardRule('nft', 'kg-nft-creator'),
208
+ 'GS050-CSS-KG-NFTDSC': cssCardRule('nft', 'kg-nft-description')
200
209
  };
201
210
 
202
211
  knownHelpers = _.union(previousKnownHelpers, knownHelpers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gscan",
3
- "version": "4.13.3",
3
+ "version": "4.14.0",
4
4
  "description": "Scans Ghost themes looking for errors, deprecations, features and compatibility",
5
5
  "keywords": [
6
6
  "ghost",