@dosgato/templating 0.0.90 → 0.0.92

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.
Files changed (2) hide show
  1. package/dist/provider.d.ts +16 -0
  2. package/package.json +1 -1
@@ -16,6 +16,22 @@ export interface CSSBlock {
16
16
  * perform the compilation on startup.
17
17
  */
18
18
  sass?: boolean;
19
+ /**
20
+ * This CSS is intended to alter edit/new bar styles.
21
+ *
22
+ * Edit, Inherit, and New bars use web components with shadow DOM to ensure none of your
23
+ * templates' page styles leak in and alter them. This is good, but it means you cannot
24
+ * alter edit bars with page template CSS.
25
+ *
26
+ * Set this flag true and depend on the CSS block in your Component.cssBlocks() method as
27
+ * normal. This block will automatically be included inside the shadow DOM of each bar, instead
28
+ * of being included in the page's head.
29
+ *
30
+ * Note that this CSS will be present in all edit bars, not just the ones that have it in their
31
+ * Component.cssBlocks() method. Use the `extraClass` option when generating bars to help you
32
+ * target something specific.
33
+ */
34
+ editMode?: boolean;
19
35
  /**
20
36
  * A version string following SEMVER. If multiple blocks are provided with the same name,
21
37
  * the one with the highest version number will be chosen. If blocks of different major
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {