@atomicsmash/blocks-helpers 3.1.0-beta.1 → 4.0.0-beta.10

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/README.md CHANGED
@@ -11,36 +11,39 @@ This is the only piece of JS code in this package, and it is only used so the pa
11
11
  Simple usage:
12
12
 
13
13
  ```ts
14
+ import type { Attributes } from "./versions/v1";
14
15
  // Instead of import { registerBlockType } from "@wordpress/blocks";
15
16
  import { registerBlockType } from "@atomicsmash/blocks-helpers";
16
17
  import blockMetaData from "./block.json";
17
- import type { Attributes, InterpretedAttributes } from "./versions/v1";
18
- import blockDefinition from "./versions/v1";
18
+ import { v1 } from "./versions/v1";
19
19
 
20
20
  /**
21
21
  * Every block starts by registering a new block type definition.
22
22
  *
23
23
  * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
24
24
  */
25
- registerBlockType<Attributes, InterpretedAttributes>(blockMetaData.name, {
26
- ...blockDefinition,
25
+ registerBlockType<Attributes>(blockMetaData.name, {
26
+ ...v1,
27
27
  });
28
28
  ```
29
29
 
30
30
  Full example include block deprecation:
31
31
 
32
32
  ```ts
33
- // Instead of import { registerBlockType } from "@wordpress/blocks";
33
+ import type { InterpretedAttributes as v1InterpretedAttributes } from "./versions/v1";
34
+ import type {
35
+ Attributes,
36
+ InterpretedAttributes as v2InterpretedAttributes,
37
+ } from "./versions/v2";
34
38
  import { registerBlockType } from "@atomicsmash/blocks-helpers";
35
- import v1, {
36
- InterpretedAttributes as v1InterpretedAttributes,
37
- } from "./versions/v1";
38
- import v2, { Attributes, InterpretedAttributes } from "./versions/v2";
39
+ import blockMetaData from "./block.json";
40
+ import { v1 } from "./versions/v1";
41
+ import { v2 } from "./versions/v2";
39
42
 
40
- type AllPossibleAttributes = v1InterpretedAttributes & InterpretedAttributes;
43
+ type AllPossibleAttributes = v1InterpretedAttributes & v2InterpretedAttributes;
41
44
 
42
- registerBlockType<Attributes, InterpretedAttributes, AllPossibleAttributes>(
43
- "namespace/block",
45
+ registerBlockType<Attributes, v2InterpretedAttributes, AllPossibleAttributes>(
46
+ blockMetaData.name,
44
47
  {
45
48
  ...v2,
46
49
  deprecated: [v1],
@@ -97,7 +100,7 @@ import type {
97
100
  * Allows you to write block provides context with autocomplete and validation.
98
101
  * Prefer satisfies over type annotations for type narrowing.
99
102
  *
100
- * Attributes here is the same type as the attributes for the block as you
103
+ * `Attributes` here is the same type as the attributes for the block as you
101
104
  * cannot provide context for anything except the attributes of your block.
102
105
  */
103
106
  export const providesContext = {
@@ -119,6 +122,8 @@ import type {
119
122
  BlockUsesContext,
120
123
  InterpretUsedContext,
121
124
  } from "@atomicsmash/blocks-helpers";
125
+ import type { InterpretedContext as InterpretedContext1 } from "some-block";
126
+ import type { InterpretedContext as InterpretedContext2 } from "some-other-block";
122
127
  /**
123
128
  * Allows you to write block uses context with autocomplete and validation.
124
129
  * Prefer satisfies over type annotations for type narrowing.
@@ -127,8 +132,10 @@ import type {
127
132
  * You can combine multiple types if using context from multiple blocks, it
128
133
  * will only output the types of the context you're actually using.
129
134
  */
135
+ type InterpretedContext = InterpretedContext1 & InterpretedContext2;
130
136
  export const usesContext = [
131
137
  "namespace/someContextValue",
138
+ "namespace/someContextValue2",
132
139
  ] as const satisfies BlockUsesContext<InterpretedContext>;
133
140
  export type UsesContext = typeof usesContext;
134
141
  export type InterpretedUsedContext = InterpretUsedContext<
@@ -166,7 +173,7 @@ export function Edit({
166
173
 
167
174
  This type helper uses the types you created in the block definition to add prop types to your Save function.
168
175
 
169
- ```ts
176
+ ```tsx
170
177
  import type { InterpretedAttributes } from "./index";
171
178
  import type { BlockSaveProps } from "@atomicsmash/blocks-helpers";
172
179
  import type { Element } from "@wordpress/element";
@@ -184,18 +191,22 @@ export function Save({
184
191
  This is the combined type of the block definition so you can type check a single block version definition (with migrated blocks, you may have more that one definition for the same block)
185
192
 
186
193
  ```ts
187
- import type { BlockDefinition } from "@atomicsmash/blocks-helpers";
194
+ import type { CurrentBlockDefinition } from "@atomicsmash/blocks-helpers";
188
195
 
189
- export default {
196
+ export const v2 = {
190
197
  attributes,
191
198
  supports,
192
199
  edit: Edit,
193
200
  save: Save,
194
- } satisfies BlockDefinition<Attributes, InterpretedAttributes>;
201
+ } satisfies CurrentBlockDefinition<Attributes, InterpretedAttributes>;
195
202
  ```
196
203
 
197
204
  ### Block deprecations
198
205
 
206
+ At some point you will need to update the version of a block to a new version. The `DeprecatedBlock` helper
207
+ can help you define the block, while `BlockMigrateDeprecationFunction` and
208
+ `BlockIsDeprecationEligibleFunction` can help you with the `migrate` and `isEligible` functions respectively.
209
+
199
210
  ```ts
200
211
  import type { InterpretedAttributes as NewInterpretedAttributes } from "../v2/index";
201
212
 
@@ -214,4 +225,18 @@ const isEligible: BlockIsDeprecationEligibleFunction<InterpretedAttributes> = (
214
225
  ) => {
215
226
  return true; // Is Eligible logic here
216
227
  };
228
+
229
+ export const v1 = {
230
+ attributes,
231
+ supports,
232
+ migrate,
233
+ isEligible,
234
+ save: Save,
235
+ // note there is no Edit as this is not used.
236
+ } satisfies DeprecatedBlock<InterpretedAttributes>;
217
237
  ```
238
+
239
+ ## Beta/untested types
240
+
241
+ - Block transforms
242
+ - Block examples
package/dist/index.d.ts CHANGED
@@ -1,28 +1,27 @@
1
+ /// <reference types="react" />
1
2
  import type { Element } from "@wordpress/element";
2
3
  import { createBlock } from "@wordpress/blocks";
3
4
  export type BlockCategory = "text" | "media" | "design" | "widgets" | "theme" | "embed";
4
5
  export type AttributeTypes = "null" | "boolean" | "object" | "array" | "string" | "integer" | "number";
5
- export type AttributesObject = {
6
+ export type AttributesObject<BlockType extends "static" | "dynamic"> = {
7
+ default?: any;
8
+ items?: {
9
+ type: AttributeTypes;
10
+ };
11
+ } & (BlockType extends "static" ? {
6
12
  source?: "attribute" | "text" | "html" | "query" | "meta";
7
13
  selector?: string;
8
14
  attribute?: string;
9
15
  multiline?: string;
10
- query?: Record<string, any>;
16
+ query?: Record<string, AttributesObject<BlockType>>;
11
17
  meta?: string;
12
- default?: any;
13
- items?: {
14
- type: AttributeTypes;
15
- };
16
- } & ({
18
+ } : Record<string, never>) & ({
17
19
  type: AttributeTypes | AttributeTypes[];
18
20
  enum?: readonly boolean[] | readonly number[] | readonly string[];
19
21
  } | {
20
22
  type?: AttributeTypes | AttributeTypes[];
21
23
  enum: readonly boolean[] | readonly number[] | readonly string[];
22
24
  });
23
- type ReadonlyRecursive<T> = {
24
- [k in keyof T]: T[k] extends Record<string, any> ? ReadonlyRecursive<T[k]> : T[k];
25
- };
26
25
  type InheritType<Type extends {
27
26
  type: string | string[];
28
27
  }> = Type extends {
@@ -42,19 +41,33 @@ type InheritType<Type extends {
42
41
  } ? number : Type extends {
43
42
  type: "number";
44
43
  } ? number : never;
45
- export type InterpretAttributes<Attributes extends Record<string, ReadonlyRecursive<AttributesObject>>> = {
44
+ export type InterpretAttributes<Attributes extends AnyBlockAttributes> = {
46
45
  [Property in keyof Attributes]: Attributes[Property] extends {
47
46
  enum: NonNullable<Attributes[Property]["enum"]>;
48
47
  } ? NonNullable<Attributes[Property]["enum"]>[number] : Attributes[Property] extends {
49
48
  type: "array";
50
49
  query: NonNullable<Attributes[Property]["query"]>;
51
- } ? {
52
- [SubProperty in keyof NonNullable<Attributes[Property]["query"]>]: InheritType<NonNullable<Attributes[Property]["query"]>[SubProperty]>;
53
- }[] : Attributes[Property] extends {
50
+ } ? InterpretAttributes<NonNullable<Attributes[Property]["query"]>>[] : Attributes[Property] extends {
54
51
  type: string;
55
52
  } ? InheritType<Attributes[Property]> : never;
56
53
  };
57
- export type BlockAttributes = Readonly<Record<string, AttributesObject>>;
54
+ export type DefaultAttributes<Supports extends BlockSupports> = {
55
+ className: Supports extends {
56
+ customClassName: false;
57
+ } ? never : {
58
+ type: "string";
59
+ };
60
+ lock: Supports extends {
61
+ lock: false;
62
+ } ? never : {
63
+ type: "object";
64
+ };
65
+ metadata: {
66
+ type: "object";
67
+ };
68
+ };
69
+ export type AnyBlockAttributes = BlockAttributes<"static"> | BlockAttributes<"dynamic">;
70
+ export type BlockAttributes<BlockType extends "static" | "dynamic"> = Readonly<Record<string, AttributesObject<BlockType>>>;
58
71
  export type BlockSupports = Record<string, any> & {
59
72
  anchor?: boolean;
60
73
  align?: boolean | ("wide" | "full" | "left" | "center" | "right")[];
@@ -84,8 +97,8 @@ export type BlockSupports = Record<string, any> & {
84
97
  lineHeight?: boolean;
85
98
  };
86
99
  };
87
- export type BlockProvidesContext<Attributes extends Record<string, ReadonlyRecursive<AttributesObject>>> = Record<string, keyof Attributes>;
88
- export type InterpretContext<UsedContextAttributes extends Record<string, ReadonlyRecursive<AttributesObject>>, Context extends BlockProvidesContext<UsedContextAttributes> = BlockProvidesContext<UsedContextAttributes>> = {
100
+ export type BlockProvidesContext<Attributes extends AnyBlockAttributes> = Record<string, keyof Attributes>;
101
+ export type InterpretProvidesContext<UsedContextAttributes extends AnyBlockAttributes, Context extends BlockProvidesContext<UsedContextAttributes> = BlockProvidesContext<UsedContextAttributes>> = {
89
102
  [Property in keyof Context]: InterpretAttributes<UsedContextAttributes>[Context[Property]];
90
103
  };
91
104
  export type BlockUsesContext<InterpretedContext extends Record<string, any>> = (keyof InterpretedContext)[];
@@ -98,9 +111,9 @@ export type InnerBlocks = {
98
111
  attributes: BlockInstance["attributes"];
99
112
  innerBlocks?: InnerBlocks[];
100
113
  };
101
- export type BlockExample<InterpretedAttributes extends Record<string, unknown>> = {
114
+ export type BlockExample<Attributes extends AnyBlockAttributes> = {
102
115
  viewportWidth?: number;
103
- attributes?: InterpretedAttributes;
116
+ attributes?: InterpretAttributes<Attributes>;
104
117
  innerBlocks?: InnerBlocks[];
105
118
  };
106
119
  /**
@@ -118,7 +131,24 @@ export type WPDefinedPath = `file:${string}`;
118
131
  * @see {@link https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/#wpdefinedasset}
119
132
  */
120
133
  export type WPDefinedAsset = WPDefinedPath | string;
121
- export type BlockMetaData<Attributes extends BlockAttributes, InterpretedAttributes extends Record<string, any> = InterpretAttributes<Attributes>> = {
134
+ type RecursivePartial<T> = {
135
+ [P in keyof T]?: RecursivePartial<T[P]>;
136
+ };
137
+ export type BlockVariations<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = {
138
+ name: string;
139
+ title: string;
140
+ description?: string;
141
+ category?: BlockCategory;
142
+ icon?: string | JSX.Element;
143
+ isDefault?: boolean;
144
+ attributes?: RecursivePartial<InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>>;
145
+ innerBlocks?: InnerBlocks[];
146
+ example?: BlockExample<Attributes>;
147
+ scope?: ("inserter" | "block" | "transform")[];
148
+ keywords?: string[];
149
+ isActive?: string[] | ((blockAttributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>, variationAttributes: RecursivePartial<InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>>) => boolean);
150
+ }[];
151
+ export type BlockMetaData<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = {
122
152
  /**
123
153
  * The version of the Block API used by the block. The most recent version is 2 and it was introduced in WordPress 5.6.
124
154
  *
@@ -162,7 +192,7 @@ export type BlockMetaData<Attributes extends BlockAttributes, InterpretedAttribu
162
192
  * An icon property should be specified to make it easier to identify a block.
163
193
  * These can be any of WordPress’ Dashicons (slug serving also as a fallback in non-js contexts).
164
194
  */
165
- icon?: string;
195
+ icon?: string | JSX.Element;
166
196
  /**
167
197
  * This is a short description for your block, which can be translated with our translation functions. This will be shown in the block inspector.
168
198
  */
@@ -204,7 +234,7 @@ export type BlockMetaData<Attributes extends BlockAttributes, InterpretedAttribu
204
234
  /**
205
235
  * It contains as set of options to control features used in the editor. See the supports documentation at https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/ for more details.
206
236
  */
207
- supports?: BlockSupports;
237
+ supports?: Supports;
208
238
  /**
209
239
  * Block styles can be used to provide alternative styles to block. It works by adding a class name to the block’s wrapper.
210
240
  * Using CSS, a theme developer can target the class name for the block style if it is selected.
@@ -222,7 +252,7 @@ export type BlockMetaData<Attributes extends BlockAttributes, InterpretedAttribu
222
252
  * It provides structured example data for the block. This data is used to construct a preview for the block to be shown in the Inspector Help Panel when the user mouses over the block.
223
253
  * See the example documentation at https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/#example-optional for more details.
224
254
  */
225
- example?: BlockExample<InterpretedAttributes>;
255
+ example?: BlockExample<Attributes>;
226
256
  /**
227
257
  * Block type editor script definition. It will only be enqueued in the context of the editor.
228
258
  */
@@ -246,63 +276,38 @@ export type BlockMetaData<Attributes extends BlockAttributes, InterpretedAttribu
246
276
  /**
247
277
  * Block Variations is the API that allows a block to have similar versions of it, but all these versions share some common functionality.
248
278
  */
249
- variations?: {
250
- name: string;
251
- title: string;
252
- description?: string;
253
- category?: BlockCategory;
254
- icon?: string;
255
- isDefault?: boolean;
256
- attributes?: Attributes;
257
- innerBlocks?: InnerBlocks[];
258
- example?: BlockExample<InterpretedAttributes>;
259
- scope?: ("inserter" | "block" | "transform")[];
260
- keywords?: string[];
261
- isActive?: string[];
262
- }[];
279
+ variations?: BlockVariations<Supports, Attributes>;
263
280
  /**
264
281
  * Template file loaded on the server when rendering a block.
265
282
  */
266
283
  render?: WPDefinedPath;
267
284
  };
268
- export type BlockMigrateDeprecationFunction<InterpretedAttributes extends Record<string, any>, NewInterpretedAttributes extends Record<string, any>> = (attributes: InterpretedAttributes, innerBlocks: InnerBlocks[]) => NewInterpretedAttributes | [NewInterpretedAttributes, InnerBlocks[]];
269
- export type BlockIsDeprecationEligibleFunction<InterpretedAttributes extends Record<string, any>> = (attributes: InterpretedAttributes, innerBlocks: InnerBlocks[]) => boolean;
270
- export type BlockSaveProps<T extends Record<string, any>> = {
271
- readonly attributes: Readonly<T>;
285
+ export type BlockMigrateDeprecationFunction<OldSupports extends BlockSupports, Attributes extends AnyBlockAttributes, NewSupports extends BlockSupports, NewAttributes extends AnyBlockAttributes> = (attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<OldSupports>>, innerBlocks: InnerBlocks[]) => (InterpretAttributes<NewAttributes> & InterpretAttributes<DefaultAttributes<NewSupports>>) | [
286
+ InterpretAttributes<NewAttributes> & InterpretAttributes<DefaultAttributes<NewSupports>>,
287
+ InnerBlocks[]
288
+ ];
289
+ export type BlockIsDeprecationEligibleFunction<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = (attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>, innerBlocks: InnerBlocks[]) => boolean;
290
+ export type BlockSaveProps<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = {
291
+ readonly attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>;
272
292
  readonly innerBlocks: Readonly<InnerBlocks[]>;
273
293
  };
274
- export type BlockEditProps<Attributes extends Record<string, any>, Context extends Record<string, any> = Record<string, never>> = {
294
+ export type BlockEditProps<Supports extends BlockSupports, Attributes extends AnyBlockAttributes, Context extends Record<string, any> = Record<string, never>> = {
275
295
  readonly clientId: string;
276
- readonly attributes: Readonly<Attributes>;
296
+ readonly attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>;
277
297
  readonly context: Context;
278
298
  readonly insertBlocksAfter: BlockInstance[] | undefined;
279
299
  readonly isSelected: boolean;
280
300
  readonly mergeBlocks: BlockInstance[] | undefined;
281
301
  readonly onRemove: () => void | undefined;
282
302
  readonly onReplace: (clientIds: string | string[], blocks: BlockInstance | BlockInstance[], indexToSelect: number, initialPosition: 0 | -1 | null, meta: Record<string, unknown>) => BlockInstance[] | undefined;
283
- readonly setAttributes: (attributes: Partial<Attributes>) => void;
303
+ readonly setAttributes: (attributes: Partial<InterpretAttributes<Attributes>>) => void;
284
304
  readonly toggleSelection: (isSelectionEnabled: boolean) => void;
285
305
  };
286
- export type DeprecatedBlock<InterpretedAttributes extends Record<string, any>> = {
287
- /**
288
- * Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.
289
- * See the attributes documentation at https://developer.wordpress.org/block-editor/reference-guides/block-api/block-attributes/ for more details.
290
- * Property names must only contain letters Regex:[a-zA-Z]
291
- */
292
- attributes?: BlockAttributes;
293
- /**
294
- * It contains as set of options to control features used in the editor. See the supports documentation at https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/ for more details.
295
- */
296
- supports?: BlockSupports;
297
- migrate?: BlockMigrateDeprecationFunction<InterpretedAttributes, Record<string, any>>;
298
- isEligible?: BlockIsDeprecationEligibleFunction<InterpretedAttributes>;
299
- save: ({ attributes }: BlockSaveProps<InterpretedAttributes>) => Element;
300
- };
301
- export type BlockTypeTransform = {
306
+ export type BlockTypeTransform<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = {
302
307
  type: "block";
303
308
  blocks: string[];
304
- transform: (attributes: BlockAttributes, innerBlocks: InnerBlocks[]) => BlockInstance | BlockInstance[];
305
- isMatch?: (attributes: BlockAttributes, block: BlockInstance) => boolean;
309
+ transform: (attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>, innerBlocks: InnerBlocks[]) => BlockInstance | BlockInstance[];
310
+ isMatch?: (attributes: InterpretAttributes<Attributes> & InterpretAttributes<DefaultAttributes<Supports>>, block: BlockInstance) => boolean;
306
311
  isMultiBlock?: boolean;
307
312
  priority?: number;
308
313
  };
@@ -443,24 +448,74 @@ export type ShortCodeTypeTransform = {
443
448
  type: "shortcode";
444
449
  tag: string | string[];
445
450
  transform?: (shortcodeAttributes: WPShortCodeAttributes, shortcodeMatch: WPShortCodeMatch) => BlockInstance | BlockInstance[];
446
- attributes?: BlockAttributes;
451
+ attributes?: Readonly<Record<string, (AttributesObject<"static"> | AttributesObject<"dynamic">) & {
452
+ shortcode: (shortcodeAttributes: WPShortCodeAttributes, shortcodeMatch: WPShortCodeMatch) => unknown;
453
+ }>>;
447
454
  isMatch?: (shortcodeAttributes: WPShortCodeAttributes) => boolean;
448
455
  priority?: number;
449
456
  };
450
- export type BlockTransforms = BlockTypeTransform[] | EnterTypeTransform[] | FilesTypeTransform[] | PrefixTypeTransform[] | RawTypeTransform[] | ShortCodeTypeTransform[];
451
- export type BlockSettings<InterpretedAttributes extends Record<string, any>, AllPossibleInterpretedAttributes extends Record<string, any> = InterpretedAttributes, UsedContext extends Record<string, any> = Record<string, never>> = {
452
- edit: ({ attributes, setAttributes, isSelected, }: BlockEditProps<InterpretedAttributes, UsedContext>) => Element;
453
- save: ({ attributes }: BlockSaveProps<InterpretedAttributes>) => Element;
454
- transforms?: {
455
- from: BlockTransforms;
456
- to: BlockTransforms;
457
- };
458
- deprecated?: DeprecatedBlock<AllPossibleInterpretedAttributes>[];
457
+ export type BlockTransforms<Supports extends BlockSupports, Attributes extends AnyBlockAttributes> = BlockTypeTransform<Supports, Attributes>[] | EnterTypeTransform[] | FilesTypeTransform[] | PrefixTypeTransform[] | RawTypeTransform[] | ShortCodeTypeTransform[];
458
+ export type BlockSettings<Supports extends BlockSupports, Attributes extends AnyBlockAttributes, InterpretedUsedContext extends Record<string, any> = Record<string, never>> = (Attributes extends BlockAttributes<"static"> ? CurrentStaticBlockDefinition<Supports, Attributes, InterpretedUsedContext> : Attributes extends BlockAttributes<"dynamic"> ? CurrentDynamicBlockDefinition<Supports, Attributes, InterpretedUsedContext> : never) & {
459
+ deprecated?: unknown[];
459
460
  };
460
461
  export type LoosenTypeOfObject<Type extends Record<string, any>> = {
461
462
  [Property in keyof Type]: Type[Property] extends string ? string : Type[Property] extends boolean ? boolean : Type[Property] extends number ? number : Type[Property];
462
463
  };
463
- export type BlockDefinition<Attributes extends BlockAttributes = Record<string, never>, InterpretedAttributes extends Record<string, any> = InterpretAttributes<Attributes>, AllPossibleInterpretedAttributes extends Record<string, any> = InterpretedAttributes, UsedContext extends Record<string, any> = Record<string, never>> = Partial<BlockMetaData<Attributes>> & BlockSettings<InterpretedAttributes, AllPossibleInterpretedAttributes, UsedContext>;
464
- export declare function registerBlockType<Attributes extends BlockAttributes = Record<string, never>, InterpretedAttributes extends Record<string, any> = InterpretAttributes<Attributes>, AllPossibleInterpretedAttributes extends Record<string, any> = InterpretedAttributes, UsedContext extends Record<string, any> = Record<string, never>>(name: string, settings: Partial<BlockMetaData<Attributes>> & BlockSettings<InterpretedAttributes, AllPossibleInterpretedAttributes, UsedContext>): import("@wordpress/blocks").Block<Attributes> | undefined;
464
+ type CurrentBlockDefinitionBase<Supports extends BlockSupports, Attributes extends AnyBlockAttributes, InterpretedUsedContext extends Record<string, any> = Record<string, never>> = {
465
+ /**
466
+ * Attributes provide the structured data needs of a block. They can exist in different forms when they are serialized, but they are declared together under a common interface.
467
+ * Property names must only contain letters Regex:[a-zA-Z]
468
+ *
469
+ * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-attributes/
470
+ */
471
+ attributes?: Attributes;
472
+ /**
473
+ * It contains as set of options to control features used in the editor.
474
+ *
475
+ * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/
476
+ */
477
+ supports?: Supports;
478
+ edit: (props: BlockEditProps<Supports, Attributes, InterpretedUsedContext>) => Element;
479
+ /**
480
+ * Context provided for available access by descendants of blocks of this type, in the form of an object which maps a context name to one of the block’s own attribute.
481
+ * Property names must only contain letters Regex:[a-zA-Z]
482
+ *
483
+ * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-context/
484
+ */
485
+ providesContext?: BlockProvidesContext<Attributes>;
486
+ /**
487
+ * Array of the names of context values to inherit from an ancestor provider.
488
+ * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-context/
489
+ */
490
+ usesContext?: readonly (keyof InterpretedUsedContext)[];
491
+ /**
492
+ * An API that allows a block to be transformed from and to other blocks, as well as from other entities.
493
+ * Existing entities that work with this API include shortcodes, files, regular expressions, and raw DOM nodes.
494
+ *
495
+ * @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-transforms/
496
+ */
497
+ transforms?: {
498
+ from: BlockTransforms<Supports, Attributes>;
499
+ to: BlockTransforms<Supports, Attributes>;
500
+ };
501
+ /**
502
+ * Block Variations is the API that allows a block to have similar versions of it, but all these versions share some common functionality.
503
+ */
504
+ variations?: BlockVariations<Supports, Attributes>;
505
+ };
506
+ export type CurrentStaticBlockDefinition<Supports extends BlockSupports, Attributes extends BlockAttributes<"static">, InterpretedUsedContext extends Record<string, any> = Record<string, never>> = CurrentBlockDefinitionBase<Supports, Attributes, InterpretedUsedContext> & {
507
+ save: (props: BlockSaveProps<Supports, Attributes>) => Element;
508
+ };
509
+ export type CurrentDynamicBlockDefinition<Supports extends BlockSupports, Attributes extends BlockAttributes<"dynamic">, InterpretedUsedContext extends Record<string, any> = Record<string, never>> = CurrentBlockDefinitionBase<Supports, Attributes, InterpretedUsedContext> & {
510
+ save?: (props: BlockSaveProps<Supports, Attributes>) => Element | null;
511
+ };
512
+ type DeprecatedBlockBase<OldSupports extends BlockSupports, OldAttributes extends AnyBlockAttributes, NewSupports extends BlockSupports, NewAttributes extends AnyBlockAttributes> = {
513
+ migrate?: BlockMigrateDeprecationFunction<OldSupports, OldAttributes, NewSupports, NewAttributes>;
514
+ isEligible?: BlockIsDeprecationEligibleFunction<OldSupports, OldAttributes>;
515
+ };
516
+ export type DeprecatedStaticBlock<OldSupports extends BlockSupports, OldAttributes extends BlockAttributes<"static">, NewSupports extends BlockSupports, NewAttributes extends AnyBlockAttributes> = Omit<CurrentStaticBlockDefinition<OldSupports, OldAttributes>, "edit"> & DeprecatedBlockBase<OldSupports, OldAttributes, NewSupports, NewAttributes>;
517
+ export type DeprecatedDynamicBlock<OldSupports extends BlockSupports, OldAttributes extends BlockAttributes<"dynamic">, NewSupports extends BlockSupports, NewAttributes extends AnyBlockAttributes> = Omit<CurrentStaticBlockDefinition<OldSupports, OldAttributes>, "edit"> & DeprecatedBlockBase<OldSupports, OldAttributes, NewSupports, NewAttributes>;
518
+ export type DeprecatedBlock<OldSupports extends BlockSupports, OldAttributes extends AnyBlockAttributes, NewSupports extends BlockSupports, NewAttributes extends AnyBlockAttributes> = OldAttributes extends BlockAttributes<"static"> ? DeprecatedStaticBlock<OldSupports, OldAttributes, NewSupports, NewAttributes> : OldAttributes extends BlockAttributes<"dynamic"> ? DeprecatedDynamicBlock<OldSupports, OldAttributes, NewSupports, NewAttributes> : never;
519
+ export declare function registerBlockType<Supports extends BlockSupports, Attributes extends AnyBlockAttributes = Record<string, never>, UsedContext extends Record<string, any> = Record<string, never>>(name: string, settings: Partial<BlockMetaData<Supports, Attributes>> & BlockSettings<Supports, Attributes, UsedContext>): import("@wordpress/blocks").Block<Attributes> | undefined;
465
520
  export {};
466
521
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACN,WAAW,EAEX,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,aAAa,GACtB,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,OAAO,CAAC;AACX,MAAM,MAAM,cAAc,GACvB,MAAM,GACN,SAAS,GACT,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,QAAQ,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,KAAK,CAAC,EAAE;QACP,IAAI,EAAE,cAAc,CAAC;KACrB,CAAC;CACF,GAAG,CACD;IACA,IAA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helpers",
3
- "version": "3.1.0-beta.1",
3
+ "version": "4.0.0-beta.10",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://www.atomicsmash.co.uk/",
@@ -39,6 +39,10 @@
39
39
  "@wordpress/blocks": "^12.29.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@types/wordpress__blocks": "^12.5.0"
42
+ "@types/wordpress__block-editor": "^11.5.13",
43
+ "@types/wordpress__blocks": "^12.5.0",
44
+ "@wordpress/block-editor": "^12.22.0",
45
+ "@wordpress/components": "^27.2.0",
46
+ "@wordpress/i18n": "^4.54.0"
43
47
  }
44
48
  }