@marvalt/dstyler 0.1.21 → 0.1.23
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/dist/components/AutoBlock.d.ts.map +1 -1
- package/dist/engine/detectSections.d.ts +1 -1
- package/dist/engine/detectSections.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +179 -451
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +179 -451
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoBlock.d.ts","sourceRoot":"","sources":["../../src/components/AutoBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAO1E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"AutoBlock.d.ts","sourceRoot":"","sources":["../../src/components/AutoBlock.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAO1E,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAkD9C,CAAC"}
|
|
@@ -9,7 +9,7 @@ import type { Section } from '../types/section';
|
|
|
9
9
|
/**
|
|
10
10
|
* Detect sections from WordPress blocks
|
|
11
11
|
* Sections are defined by core/group blocks (with or without alignment)
|
|
12
|
-
*
|
|
12
|
+
* Blocks that aren't in groups are wrapped in implicit sections
|
|
13
13
|
*/
|
|
14
14
|
export declare function detectSections(blocks: WordPressBlock[]): Section[];
|
|
15
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectSections.d.ts","sourceRoot":"","sources":["../../src/engine/detectSections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"detectSections.d.ts","sourceRoot":"","sources":["../../src/engine/detectSections.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,GAAG,OAAO,EAAE,CAkFlE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,OAAO,EAChB,aAAa,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,GACpD,SAAS,GAAG,WAAW,GAAG,WAAW,CAgCvC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ declare const BlockForm: React.FC<BlockFormProps>;
|
|
|
287
287
|
/**
|
|
288
288
|
* Detect sections from WordPress blocks
|
|
289
289
|
* Sections are defined by core/group blocks (with or without alignment)
|
|
290
|
-
*
|
|
290
|
+
* Blocks that aren't in groups are wrapped in implicit sections
|
|
291
291
|
*/
|
|
292
292
|
declare function detectSections(blocks: WordPressBlock[]): Section[];
|
|
293
293
|
/**
|