@eightshift/frontend-libs-tailwind 1.3.2 → 1.4.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/.husky/pre-commit +0 -0
- package/CHANGELOG.md +16 -0
- package/blocks/init/src/Blocks/components/button/button.php +1 -1
- package/blocks/init/src/Blocks/components/button/components/button-editor.js +2 -2
- package/blocks/init/src/Blocks/components/card/card.php +7 -7
- package/blocks/init/src/Blocks/components/card/components/card-editor.js +12 -8
- package/blocks/init/src/Blocks/components/heading/components/heading-editor.js +2 -2
- package/blocks/init/src/Blocks/components/heading/components/heading-options.js +1 -1
- package/blocks/init/src/Blocks/components/heading/heading.php +1 -1
- package/blocks/init/src/Blocks/components/hero/components/hero-editor.js +3 -3
- package/blocks/init/src/Blocks/components/hero/hero.php +2 -2
- package/blocks/init/src/Blocks/components/icon/components/icon-editor.js +2 -2
- package/blocks/init/src/Blocks/components/icon/icon.php +1 -1
- package/blocks/init/src/Blocks/components/image/components/image-editor.js +2 -3
- package/blocks/init/src/Blocks/components/image/image.php +1 -1
- package/blocks/init/src/Blocks/components/list/components/list-editor.js +2 -2
- package/blocks/init/src/Blocks/components/list/list.php +1 -1
- package/blocks/init/src/Blocks/components/list/manifest.json +2 -2
- package/blocks/init/src/Blocks/components/modal/modal.php +5 -5
- package/blocks/init/src/Blocks/components/paragraph/components/paragraph-editor.js +2 -2
- package/blocks/init/src/Blocks/components/paragraph/paragraph.php +1 -1
- package/blocks/init/src/Blocks/components/quote/components/quote-editor.js +5 -5
- package/blocks/init/src/Blocks/components/quote/manifest.json +1 -1
- package/blocks/init/src/Blocks/components/quote/quote.php +4 -4
- package/blocks/init/src/Blocks/components/share/components/share-editor.js +3 -3
- package/blocks/init/src/Blocks/components/share/manifest.json +1 -1
- package/blocks/init/src/Blocks/components/share/share.php +3 -3
- package/blocks/init/src/Blocks/components/video/components/video-editor.js +2 -2
- package/blocks/init/src/Blocks/components/video/video.php +1 -1
- package/blocks/init/src/Blocks/custom/accordion-item/accordion-item.php +2 -2
- package/blocks/init/src/Blocks/custom/accordion-item/components/accordion-item-editor.js +5 -5
- package/blocks/init/src/Blocks/custom/accordion-item/manifest.json +4 -4
- package/blocks/init/src/Blocks/custom/carousel/carousel.php +2 -2
- package/blocks/init/src/Blocks/custom/carousel/components/carousel-editor.js +3 -3
- package/blocks/init/src/Blocks/custom/carousel/manifest.json +2 -2
- package/blocks/init/src/Blocks/custom/column/column-hooks.js +2 -2
- package/blocks/init/src/Blocks/custom/column/column.php +1 -1
- package/blocks/init/src/Blocks/custom/column/manifest.json +1 -1
- package/blocks/init/src/Blocks/custom/columns/columns.php +1 -1
- package/blocks/init/src/Blocks/custom/columns/components/columns-editor.js +2 -2
- package/blocks/init/src/Blocks/custom/featured-content/components/featured-content-editor.js +2 -2
- package/blocks/init/src/Blocks/custom/featured-content/featured-content.php +2 -2
- package/blocks/init/src/Blocks/custom/heading/components/heading-editor.js +2 -2
- package/blocks/init/src/Blocks/custom/heading/heading.php +1 -1
- package/blocks/init/src/Blocks/custom/list/components/list-editor.js +2 -2
- package/blocks/init/src/Blocks/custom/list/list.php +1 -1
- package/blocks/init/src/Blocks/custom/map/components/map-components.js +2 -2
- package/blocks/init/src/Blocks/custom/map/map.php +1 -1
- package/blocks/init/src/Blocks/custom/paragraph/components/paragraph-editor.js +2 -2
- package/blocks/init/src/Blocks/custom/paragraph/paragraph.php +1 -1
- package/blocks/init/src/Blocks/custom/site-footer/components/site-footer-editor.js +10 -10
- package/blocks/init/src/Blocks/custom/site-footer/manifest.json +2 -2
- package/blocks/init/src/Blocks/custom/site-footer/site-footer.php +9 -9
- package/blocks/init/src/Blocks/custom/site-navigation/components/site-navigation-editor.js +5 -5
- package/blocks/init/src/Blocks/custom/site-navigation/manifest.json +3 -3
- package/blocks/init/src/Blocks/custom/site-navigation/site-navigation.php +11 -11
- package/blocks/init/src/Blocks/custom/table-of-contents/components/table-of-contents-editor.js +3 -3
- package/blocks/init/src/Blocks/custom/table-of-contents/table-of-contents.php +2 -2
- package/blocks/init/src/Blocks/wrapper/components/wrapper-editor.js +2 -2
- package/blocks/init/src/Blocks/wrapper/manifest.json +2 -2
- package/blocks/init/src/Blocks/wrapper/wrapper.php +1 -1
- package/linters/stylelint.config.js +7 -0
- package/package.json +91 -92
- package/schemas/block.json +129 -20
- package/schemas/component.json +129 -20
- package/schemas/globalManifest.json +1 -1
- package/scripts/editor/tailwindcss.js +209 -0
package/package.json
CHANGED
|
@@ -1,93 +1,92 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
2
|
+
"name": "@eightshift/frontend-libs-tailwind",
|
|
3
|
+
"version": "1.4.0",
|
|
4
|
+
"description": "A framework for creating modern Gutenberg themes with styling provided by Tailwind CSS.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Eightshift team",
|
|
7
|
+
"email": "team@eightshift.com",
|
|
8
|
+
"url": "https://eightshift.com/"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/infinum/eightshift-frontend-libs-tailwind.git"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"frontend",
|
|
16
|
+
"css",
|
|
17
|
+
"mixin",
|
|
18
|
+
"js",
|
|
19
|
+
"utility",
|
|
20
|
+
"module",
|
|
21
|
+
"WordPress",
|
|
22
|
+
"tailwind",
|
|
23
|
+
"TailwindCSS"
|
|
24
|
+
],
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/infinum/eightshift-frontend-libs-tailwind/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/infinum/eightshift-frontend-libs-tailwind#readme",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@eightshift/ui-components": "^1.6.1",
|
|
32
|
+
"@stylistic/eslint-plugin-js": "^2.8.0",
|
|
33
|
+
"@stylistic/stylelint-plugin": "^3.1.0",
|
|
34
|
+
"@swc/core": "^1.7.26",
|
|
35
|
+
"@wordpress/api-fetch": "^7.8.0",
|
|
36
|
+
"@wordpress/block-editor": "^14.3.0",
|
|
37
|
+
"@wordpress/dependency-extraction-webpack-plugin": "^5.9.0",
|
|
38
|
+
"@wordpress/dom-ready": "^4.8.0",
|
|
39
|
+
"@wordpress/server-side-render": "^5.8.0",
|
|
40
|
+
"browserslist": "^4.24.0",
|
|
41
|
+
"css-loader": "^7.1.2",
|
|
42
|
+
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
43
|
+
"eslint": "^9.11.1",
|
|
44
|
+
"eslint-config-prettier": "^9.1.0",
|
|
45
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
46
|
+
"file-loader": "^6.2.0",
|
|
47
|
+
"globals": "^15.9.0",
|
|
48
|
+
"husky": "^9.1.6",
|
|
49
|
+
"lightningcss": "^1.27.0",
|
|
50
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
51
|
+
"postcss": "^8.4.47",
|
|
52
|
+
"postcss-loader": "^8.1.1",
|
|
53
|
+
"prettier": "^3.3.3",
|
|
54
|
+
"prettier-plugin-tailwindcss": "^0.6.8",
|
|
55
|
+
"sonner": "^1.5.0",
|
|
56
|
+
"stylelint": "^16.9.0",
|
|
57
|
+
"stylelint-config-standard": "^36.0.1",
|
|
58
|
+
"swc-loader": "^0.2.6",
|
|
59
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
60
|
+
"webpack": "^5.95.0",
|
|
61
|
+
"webpack-cli": "^5.1.4",
|
|
62
|
+
"webpack-manifest-plugin": "^5.0.0",
|
|
63
|
+
"webpack-merge": "^6.0.1"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"embla-carousel": "^8.3.0",
|
|
67
|
+
"fluid-tailwind": "^1.0.3",
|
|
68
|
+
"lint-staged": "^15.2.10",
|
|
69
|
+
"micromodal": "^0.4.10",
|
|
70
|
+
"ol": "^10.2.1",
|
|
71
|
+
"ol-mapbox-style": "^12.3.5",
|
|
72
|
+
"tailwindcss": "^3.4.13",
|
|
73
|
+
"tailwindcss-animate": "^1.0.7"
|
|
74
|
+
},
|
|
75
|
+
"sideEffects": false,
|
|
76
|
+
"lint-staged": {
|
|
77
|
+
"*.css": [
|
|
78
|
+
"npm run lintStyle"
|
|
79
|
+
],
|
|
80
|
+
"*.js": [
|
|
81
|
+
"npm run lintJs"
|
|
82
|
+
],
|
|
83
|
+
"*.php": [
|
|
84
|
+
"composer test"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"lintStyle": "stylelint **/*.css",
|
|
89
|
+
"lintJs": "npx eslint",
|
|
90
|
+
"lint": "npm run lintJs && npm run lintStyle"
|
|
91
|
+
}
|
|
92
|
+
}
|
package/schemas/block.json
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"properties": {
|
|
159
159
|
"attributes": {
|
|
160
160
|
"type": "object",
|
|
161
|
-
"description": "Set the
|
|
161
|
+
"description": "Set the attributes for the block example"
|
|
162
162
|
},
|
|
163
163
|
"innerBlocks": {
|
|
164
164
|
"type": "array",
|
|
@@ -181,26 +181,40 @@
|
|
|
181
181
|
},
|
|
182
182
|
"tailwind": {
|
|
183
183
|
"type": "object",
|
|
184
|
-
"description": "Defines shared Tailwind configs for the block.
|
|
184
|
+
"description": "Defines shared Tailwind configs for the block. Allows defining flexible parts, option-based classes, and combinations to add various styles.",
|
|
185
185
|
"properties": {
|
|
186
186
|
"base": {
|
|
187
|
+
"deprecated": true,
|
|
187
188
|
"type": "object",
|
|
188
|
-
"description": "Base classes for the main part of the block.",
|
|
189
|
+
"description": "DEPRECATED - move into parts (part should be named 'base')! Base classes for the main part of the block.",
|
|
189
190
|
"properties": {
|
|
190
191
|
"twClasses": {
|
|
191
|
-
"type": [
|
|
192
|
+
"type": [
|
|
193
|
+
"string",
|
|
194
|
+
"array"
|
|
195
|
+
],
|
|
192
196
|
"description": "Classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
193
197
|
},
|
|
194
198
|
"twClassesEditor": {
|
|
195
|
-
"type": [
|
|
196
|
-
|
|
199
|
+
"type": [
|
|
200
|
+
"string",
|
|
201
|
+
"array"
|
|
202
|
+
],
|
|
203
|
+
"description": "Editor-specific classnames to apply. These classes are added to 'twClassesEditorOnly'/'twClasses'. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
204
|
+
},
|
|
205
|
+
"twClassesEditorOnly": {
|
|
206
|
+
"type": [
|
|
207
|
+
"string",
|
|
208
|
+
"array"
|
|
209
|
+
],
|
|
210
|
+
"description": "Editor-specific classnames to apply. Overrides 'twClasses'. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
197
211
|
}
|
|
198
212
|
},
|
|
199
213
|
"minProperties": 1
|
|
200
214
|
},
|
|
201
215
|
"options": {
|
|
202
216
|
"type": "object",
|
|
203
|
-
"description": "Per-attribute classes, added to
|
|
217
|
+
"description": "Per-attribute classes, added to one or more parts, or different classes per part. Key represents the attribute name.",
|
|
204
218
|
"additionalProperties": {
|
|
205
219
|
"$ref": "#/$defs/twOptionsEntry"
|
|
206
220
|
},
|
|
@@ -208,7 +222,7 @@
|
|
|
208
222
|
},
|
|
209
223
|
"parts": {
|
|
210
224
|
"type": "object",
|
|
211
|
-
"description": "
|
|
225
|
+
"description": "Parts of the block. Key represents the part name.",
|
|
212
226
|
"additionalProperties": {
|
|
213
227
|
"$ref": "#/$defs/twPartEntry"
|
|
214
228
|
},
|
|
@@ -216,7 +230,7 @@
|
|
|
216
230
|
},
|
|
217
231
|
"combinations": {
|
|
218
232
|
"type": "array",
|
|
219
|
-
"description": "Conditionally applied classes, depending on the set attribute values. Added to the
|
|
233
|
+
"description": "Conditionally applied classes, depending on the set attribute values. Added to the chosen part, or different classes per part.",
|
|
220
234
|
"items": {
|
|
221
235
|
"type": "object",
|
|
222
236
|
"properties": {
|
|
@@ -227,13 +241,21 @@
|
|
|
227
241
|
"[a-zA-Z]": {
|
|
228
242
|
"anyOf": [
|
|
229
243
|
{
|
|
230
|
-
"type":
|
|
244
|
+
"type": [
|
|
245
|
+
"string",
|
|
246
|
+
"number",
|
|
247
|
+
"boolean"
|
|
248
|
+
],
|
|
231
249
|
"minLength": 1
|
|
232
250
|
},
|
|
233
251
|
{
|
|
234
252
|
"type": "array",
|
|
235
253
|
"items": {
|
|
236
|
-
"type":
|
|
254
|
+
"type": [
|
|
255
|
+
"string",
|
|
256
|
+
"number",
|
|
257
|
+
"boolean"
|
|
258
|
+
],
|
|
237
259
|
"minLength": 1
|
|
238
260
|
}
|
|
239
261
|
}
|
|
@@ -242,17 +264,36 @@
|
|
|
242
264
|
}
|
|
243
265
|
},
|
|
244
266
|
"twClasses": {
|
|
245
|
-
"type": [
|
|
267
|
+
"type": [
|
|
268
|
+
"string",
|
|
269
|
+
"array"
|
|
270
|
+
],
|
|
246
271
|
"description": "Classnames to apply if all conditions match. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
247
272
|
},
|
|
248
273
|
"twClassesEditor": {
|
|
249
|
-
"type": [
|
|
274
|
+
"type": [
|
|
275
|
+
"string",
|
|
276
|
+
"array"
|
|
277
|
+
],
|
|
278
|
+
"description": "Editor-specific classnames to apply if all conditions match. These classes are added to 'twClassesEditorOnly'/'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
279
|
+
},
|
|
280
|
+
"twClassesEditorOnly": {
|
|
281
|
+
"type": [
|
|
282
|
+
"string",
|
|
283
|
+
"array"
|
|
284
|
+
],
|
|
250
285
|
"description": "Editor-specific classnames to apply if all conditions match. Overrides 'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
286
|
+
},
|
|
287
|
+
"output": {
|
|
288
|
+
"type": "object",
|
|
289
|
+
"description": "Allows outputting different classes per part for this combination. Key is the part name, value is an object with class definitions ('twClasses'/'twClassesEditor'/'twClassesEditorOnly'). Overrides 'twClasses'/'twClassesEditor'/'twClassesEditorOnly' if set.",
|
|
290
|
+
"additionalProperties": {
|
|
291
|
+
"$ref": "#/$defs/twPartEntry"
|
|
292
|
+
}
|
|
251
293
|
}
|
|
252
294
|
},
|
|
253
295
|
"required": [
|
|
254
|
-
"attributes"
|
|
255
|
-
"twClasses"
|
|
296
|
+
"attributes"
|
|
256
297
|
]
|
|
257
298
|
},
|
|
258
299
|
"minLength": 1
|
|
@@ -270,11 +311,24 @@
|
|
|
270
311
|
"type": "object",
|
|
271
312
|
"properties": {
|
|
272
313
|
"twClasses": {
|
|
273
|
-
"type": [
|
|
314
|
+
"type": [
|
|
315
|
+
"string",
|
|
316
|
+
"array"
|
|
317
|
+
],
|
|
274
318
|
"description": "Classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
275
319
|
},
|
|
276
320
|
"twClassesEditor": {
|
|
277
|
-
"type": [
|
|
321
|
+
"type": [
|
|
322
|
+
"string",
|
|
323
|
+
"array"
|
|
324
|
+
],
|
|
325
|
+
"description": "Editor-specific classnames to apply. These classes are added to 'twClassesEditorOnly'/'twClasses'. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
326
|
+
},
|
|
327
|
+
"twClassesEditorOnly": {
|
|
328
|
+
"type": [
|
|
329
|
+
"string",
|
|
330
|
+
"array"
|
|
331
|
+
],
|
|
278
332
|
"description": "Editor-specific classnames to apply. Overrides 'twClasses'. An array of classnames (strings) can also be provided for improved manifest readability."
|
|
279
333
|
}
|
|
280
334
|
}
|
|
@@ -286,19 +340,74 @@
|
|
|
286
340
|
"type": "object",
|
|
287
341
|
"description": "Classnames to apply. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
288
342
|
"additionalProperties": {
|
|
289
|
-
"type": [
|
|
343
|
+
"type": [
|
|
344
|
+
"string",
|
|
345
|
+
"array"
|
|
346
|
+
]
|
|
290
347
|
}
|
|
291
348
|
},
|
|
292
349
|
"twClassesEditor": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"description": "Editor-specific classnames to apply. These classes are added to 'twClassesEditorOnly'/'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
352
|
+
"additionalProperties": {
|
|
353
|
+
"type": [
|
|
354
|
+
"string",
|
|
355
|
+
"array"
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"twClassesEditorOnly": {
|
|
293
360
|
"type": "object",
|
|
294
361
|
"description": "Editor-specific classnames to apply. Overrides 'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
295
362
|
"additionalProperties": {
|
|
296
|
-
"type": [
|
|
363
|
+
"type": [
|
|
364
|
+
"string",
|
|
365
|
+
"array"
|
|
366
|
+
]
|
|
297
367
|
}
|
|
298
368
|
},
|
|
299
369
|
"part": {
|
|
300
370
|
"type": "string",
|
|
301
|
-
"description": "Part to assign the class output to. If not specified, the classes are added to the base class."
|
|
371
|
+
"description": "Part to assign the class output to. If not specified, the classes are added to the base class. Specify multiple parts by separating their names with commas. NOTE: if classes are specified per-part, this list will be ignored!"
|
|
372
|
+
},
|
|
373
|
+
"responsive": {
|
|
374
|
+
"type": "boolean",
|
|
375
|
+
"description": "Set to 'true' if the option has the ability to have per-breakpoint values."
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"additionalProperties": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"twClasses": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"description": "Classnames to apply. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
384
|
+
"additionalProperties": {
|
|
385
|
+
"type": [
|
|
386
|
+
"string",
|
|
387
|
+
"array"
|
|
388
|
+
]
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"twClassesEditor": {
|
|
392
|
+
"type": "object",
|
|
393
|
+
"description": "Editor-specific classnames to apply. These classes are added to 'twClassesEditorOnly'/'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
394
|
+
"additionalProperties": {
|
|
395
|
+
"type": [
|
|
396
|
+
"string",
|
|
397
|
+
"array"
|
|
398
|
+
]
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"twClassesEditorOnly": {
|
|
402
|
+
"type": "object",
|
|
403
|
+
"description": "Editor-specific classnames to apply. Overrides 'twClasses'. Key is the attribute value, value is the classnames to apply. An array of classnames (strings) can also be provided for improved manifest readability.",
|
|
404
|
+
"additionalProperties": {
|
|
405
|
+
"type": [
|
|
406
|
+
"string",
|
|
407
|
+
"array"
|
|
408
|
+
]
|
|
409
|
+
}
|
|
410
|
+
}
|
|
302
411
|
}
|
|
303
412
|
}
|
|
304
413
|
}
|