@tightknitai/block-kitchen 0.10.23 → 0.10.24
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 +14 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +170 -152
- 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 +170 -152
- package/dist/index.js.map +1 -1
- package/dist/{palette-DFTL0Han.d.cts → palette-Bup6i-9c.d.cts} +7 -0
- package/dist/{palette-DFTL0Han.d.ts → palette-Bup6i-9c.d.ts} +7 -0
- package/dist/palette.d.cts +1 -1
- package/dist/palette.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1161,6 +1161,13 @@ interface BlockKitchenBaseProps {
|
|
|
1161
1161
|
* host can find a block on the canvas to scroll to or highlight it.
|
|
1162
1162
|
*/
|
|
1163
1163
|
blockActions?: readonly BlockAction[];
|
|
1164
|
+
/**
|
|
1165
|
+
* Opt-in host content shown beside every block, at its right edge, all the
|
|
1166
|
+
* time (unlike `blockActions`, which show on hover): e.g. a count of
|
|
1167
|
+
* comments on the block. Called with the block's position (see
|
|
1168
|
+
* {@link BlockPosition}); return `null` for a block with nothing to show.
|
|
1169
|
+
*/
|
|
1170
|
+
renderBlockAdornment?: (position: BlockPosition) => ReactNode;
|
|
1164
1171
|
/**
|
|
1165
1172
|
* Workspace custom emoji (`emoji.list`) the preview should resolve. Entries
|
|
1166
1173
|
* with a non-null `url` render as the workspace image; alias entries fall
|
|
@@ -1161,6 +1161,13 @@ interface BlockKitchenBaseProps {
|
|
|
1161
1161
|
* host can find a block on the canvas to scroll to or highlight it.
|
|
1162
1162
|
*/
|
|
1163
1163
|
blockActions?: readonly BlockAction[];
|
|
1164
|
+
/**
|
|
1165
|
+
* Opt-in host content shown beside every block, at its right edge, all the
|
|
1166
|
+
* time (unlike `blockActions`, which show on hover): e.g. a count of
|
|
1167
|
+
* comments on the block. Called with the block's position (see
|
|
1168
|
+
* {@link BlockPosition}); return `null` for a block with nothing to show.
|
|
1169
|
+
*/
|
|
1170
|
+
renderBlockAdornment?: (position: BlockPosition) => ReactNode;
|
|
1164
1171
|
/**
|
|
1165
1172
|
* Workspace custom emoji (`emoji.list`) the preview should resolve. Entries
|
|
1166
1173
|
* with a non-null `url` render as the workspace image; alias entries fall
|
package/dist/palette.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { $ as PaletteMode, a0 as PaletteSection, a1 as PaletteVariant, S as SupportedBlock, aa as SupportedBlockType, aq as buildVariantById, an as defaultPalette, ao as extraAlertVariant, ap as legacyInputVariants } from './palette-
|
|
1
|
+
export { $ as PaletteMode, a0 as PaletteSection, a1 as PaletteVariant, S as SupportedBlock, aa as SupportedBlockType, aq as buildVariantById, an as defaultPalette, ao as extraAlertVariant, ap as legacyInputVariants } from './palette-Bup6i-9c.cjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'slack-web-api-client';
|
package/dist/palette.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { $ as PaletteMode, a0 as PaletteSection, a1 as PaletteVariant, S as SupportedBlock, aa as SupportedBlockType, aq as buildVariantById, an as defaultPalette, ao as extraAlertVariant, ap as legacyInputVariants } from './palette-
|
|
1
|
+
export { $ as PaletteMode, a0 as PaletteSection, a1 as PaletteVariant, S as SupportedBlock, aa as SupportedBlockType, aq as buildVariantById, an as defaultPalette, ao as extraAlertVariant, ap as legacyInputVariants } from './palette-Bup6i-9c.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.24",
|
|
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",
|