@tightknitai/block-kitchen 0.10.2 → 0.10.3

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.
@@ -514,14 +514,16 @@ interface ContainerBlock {
514
514
  block_id?: string;
515
515
  }
516
516
  /**
517
- * Header heading level shown in the preview. Slack's API has no
518
- * `level` field on header blocks, so this is a builder-only extension
519
- * that round-trips on the block payload but is otherwise cosmetic.
517
+ * Header heading level. A real Slack field on header blocks — an optional
518
+ * integer 1-4 that Slack renders at the corresponding heading size — so it
519
+ * round-trips through {@link SupportedBlock} and is sent to the API.
520
+ * @see https://docs.slack.dev/reference/block-kit/blocks/header-block
520
521
  */
521
522
  type HeaderLevel = 1 | 2 | 3 | 4;
522
523
  /**
523
524
  * Header block as edited by the builder. Extends Slack's HeaderBlock
524
- * with an optional {@link HeaderLevel}.
525
+ * with an optional {@link HeaderLevel}, which the bundled
526
+ * `slack-web-api-client` types predate.
525
527
  */
526
528
  type SupportedHeaderBlock = HeaderBlock & {
527
529
  level?: HeaderLevel;
@@ -514,14 +514,16 @@ interface ContainerBlock {
514
514
  block_id?: string;
515
515
  }
516
516
  /**
517
- * Header heading level shown in the preview. Slack's API has no
518
- * `level` field on header blocks, so this is a builder-only extension
519
- * that round-trips on the block payload but is otherwise cosmetic.
517
+ * Header heading level. A real Slack field on header blocks — an optional
518
+ * integer 1-4 that Slack renders at the corresponding heading size — so it
519
+ * round-trips through {@link SupportedBlock} and is sent to the API.
520
+ * @see https://docs.slack.dev/reference/block-kit/blocks/header-block
520
521
  */
521
522
  type HeaderLevel = 1 | 2 | 3 | 4;
522
523
  /**
523
524
  * Header block as edited by the builder. Extends Slack's HeaderBlock
524
- * with an optional {@link HeaderLevel}.
525
+ * with an optional {@link HeaderLevel}, which the bundled
526
+ * `slack-web-api-client` types predate.
525
527
  */
526
528
  type SupportedHeaderBlock = HeaderBlock & {
527
529
  level?: HeaderLevel;
@@ -1,3 +1,3 @@
1
- export { Q as PaletteSection, R as PaletteVariant, S as SupportedBlock, a0 as SupportedBlockType, af as buildVariantById, ac as defaultPalette, ad as extraAlertVariant, ae as legacyInputVariants } from './palette-BtSwlGUC.cjs';
1
+ export { Q as PaletteSection, R as PaletteVariant, S as SupportedBlock, a0 as SupportedBlockType, af as buildVariantById, ac as defaultPalette, ad as extraAlertVariant, ae as legacyInputVariants } from './palette-TGNFqyja.cjs';
2
2
  import 'react';
3
3
  import 'slack-web-api-client';
package/dist/palette.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { Q as PaletteSection, R as PaletteVariant, S as SupportedBlock, a0 as SupportedBlockType, af as buildVariantById, ac as defaultPalette, ad as extraAlertVariant, ae as legacyInputVariants } from './palette-BtSwlGUC.js';
1
+ export { Q as PaletteSection, R as PaletteVariant, S as SupportedBlock, a0 as SupportedBlockType, af as buildVariantById, ac as defaultPalette, ad as extraAlertVariant, ae as legacyInputVariants } from './palette-TGNFqyja.js';
2
2
  import 'react';
3
3
  import 'slack-web-api-client';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tightknitai/block-kitchen",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "A drag-and-drop, no-code-friendly visual builder for Slack Block Kit messages. Integration-agnostic React component.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",