@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.
- package/README.md +1 -1
- package/dist/helpers.cjs +1 -8
- package/dist/helpers.cjs.map +1 -1
- package/dist/helpers.d.cts +17 -11
- package/dist/helpers.d.ts +17 -11
- package/dist/helpers.js +1 -8
- package/dist/helpers.js.map +1 -1
- package/dist/index.cjs +2 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -9
- package/dist/index.js.map +1 -1
- package/dist/{palette-BtSwlGUC.d.cts → palette-TGNFqyja.d.cts} +6 -4
- package/dist/{palette-BtSwlGUC.d.ts → palette-TGNFqyja.d.ts} +6 -4
- package/dist/palette.d.cts +1 -1
- package/dist/palette.d.ts +1 -1
- package/package.json +1 -1
|
@@ -514,14 +514,16 @@ interface ContainerBlock {
|
|
|
514
514
|
block_id?: string;
|
|
515
515
|
}
|
|
516
516
|
/**
|
|
517
|
-
* Header heading level
|
|
518
|
-
*
|
|
519
|
-
*
|
|
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
|
|
518
|
-
*
|
|
519
|
-
*
|
|
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;
|
package/dist/palette.d.cts
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-
|
|
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-
|
|
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.
|
|
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",
|