@dosgato/templating 0.0.90 → 0.0.91

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.
@@ -347,6 +347,16 @@ interface BarOpts {
347
347
  editMode?: boolean;
348
348
  label?: string;
349
349
  extraClass?: string;
350
+ /**
351
+ * Edit bars and new bars are implemented as web components with shadow DOM to prevent
352
+ * page styles from leaking in to the bar styles.
353
+ *
354
+ * This means you cannot style them just by including a CSS block on the page. Instead
355
+ * you need to include the CSS block in the bar itself. This option allows you to do
356
+ * that. Give it a list of block names from any registered provider, and the blocks
357
+ * will be imported inside this bar's shadow DOM.
358
+ */
359
+ cssBlocks?: string[];
350
360
  }
351
361
  export interface EditBarOpts extends BarOpts {
352
362
  inheritedFrom?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.90",
3
+ "version": "0.0.91",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {