gscan 4.13.3 → 4.15.2
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/lib/specs/canary.js +33 -13
- package/package.json +1 -1
package/lib/specs/canary.js
CHANGED
|
@@ -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
|
|
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}`,
|
|
@@ -185,18 +185,38 @@ let rules = {
|
|
|
185
185
|
rule: 'A custom theme setting defined in <code>package.json</code> hasn\'t been used in any theme file.',
|
|
186
186
|
details: oneLineTrim`Custom theme settings defined in <code>package.json</code> must be used at least once in the theme templates.`
|
|
187
187
|
},
|
|
188
|
-
'GS050-CSS-KGCO': cssCardRule('callout', 'kg-card
|
|
189
|
-
'GS050-CSS-KGCOE': cssCardRule('callout', 'kg-card-
|
|
190
|
-
'GS050-CSS-KGCOT': cssCardRule('callout', 'kg-card-
|
|
191
|
-
'GS050-CSS-KGCOBGGY': cssCardRule('callout', 'kg-card-
|
|
192
|
-
'GS050-CSS-KGCOBGW': cssCardRule('callout', 'kg-card-
|
|
193
|
-
'GS050-CSS-KGCOBGB': cssCardRule('callout', 'kg-card-
|
|
194
|
-
'GS050-CSS-KGCOBGGN': cssCardRule('callout', 'kg-card-
|
|
195
|
-
'GS050-CSS-KGCOBGY': cssCardRule('callout', 'kg-card-
|
|
196
|
-
'GS050-CSS-KGCOBGR': cssCardRule('callout', 'kg-card-
|
|
197
|
-
'GS050-CSS-KGCOBGPK': cssCardRule('callout', 'kg-card-
|
|
198
|
-
'GS050-CSS-KGCOBGPE': cssCardRule('callout', 'kg-card-
|
|
199
|
-
'GS050-CSS-KGCOBGA': cssCardRule('callout', 'kg-card-
|
|
188
|
+
'GS050-CSS-KGCO': cssCardRule('callout', 'kg-callout-card'),
|
|
189
|
+
'GS050-CSS-KGCOE': cssCardRule('callout', 'kg-callout-card-emoji'),
|
|
190
|
+
'GS050-CSS-KGCOT': cssCardRule('callout', 'kg-callout-card-text'),
|
|
191
|
+
'GS050-CSS-KGCOBGGY': cssCardRule('callout', 'kg-callout-card-background-grey'),
|
|
192
|
+
'GS050-CSS-KGCOBGW': cssCardRule('callout', 'kg-callout-card-background-white'),
|
|
193
|
+
'GS050-CSS-KGCOBGB': cssCardRule('callout', 'kg-callout-card-background-blue'),
|
|
194
|
+
'GS050-CSS-KGCOBGGN': cssCardRule('callout', 'kg-callout-card-background-green'),
|
|
195
|
+
'GS050-CSS-KGCOBGY': cssCardRule('callout', 'kg-callout-card-background-yellow'),
|
|
196
|
+
'GS050-CSS-KGCOBGR': cssCardRule('callout', 'kg-callout-card-background-red'),
|
|
197
|
+
'GS050-CSS-KGCOBGPK': cssCardRule('callout', 'kg-callout-card-background-pink'),
|
|
198
|
+
'GS050-CSS-KGCOBGPE': cssCardRule('callout', 'kg-callout-card-background-purple'),
|
|
199
|
+
'GS050-CSS-KGCOBGA': cssCardRule('callout', 'kg-callout-card-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'),
|
|
209
|
+
'GS050-CSS-KGTGL': cssCardRule('toggle', 'kg-toggle-card'),
|
|
210
|
+
'GS050-CSS-KGTGLH': cssCardRule('toggle', 'kg-toggle-heading'),
|
|
211
|
+
'GS050-CSS-KGTGLHT': cssCardRule('toggle', 'kg-toggle-heading-text'),
|
|
212
|
+
'GS050-CSS-KGTGLIC': cssCardRule('toggle', 'kg-toggle-card-icon'),
|
|
213
|
+
'GS050-CSS-KGTGLC': cssCardRule('toggle', 'kg-toggle-content'),
|
|
214
|
+
|
|
215
|
+
'GS050-CSS-KGBTN': cssCardRule('button', 'kg-button-card'),
|
|
216
|
+
'GS050-CSS-KGBTNL': cssCardRule('button', 'kg-button-card.kg-align-left'),
|
|
217
|
+
'GS050-CSS-KGBTNC': cssCardRule('button', 'kg-button-card.kg-align-center'),
|
|
218
|
+
'GS050-CSS-KGBTNBTN': cssCardRule('button', 'kg-btn'),
|
|
219
|
+
'GS050-CSS-KGBTNBTNA': cssCardRule('button', 'kg-btn-accent')
|
|
200
220
|
};
|
|
201
221
|
|
|
202
222
|
knownHelpers = _.union(previousKnownHelpers, knownHelpers);
|