@jotx-labs/standard-lib 2.4.130 → 2.4.183
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/blocks/ButtonStrip.d.ts +2 -0
- package/dist/blocks/ButtonStrip.js +19 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ButtonStripBlock = void 0;
|
|
4
|
+
exports.ButtonStripBlock = {
|
|
5
|
+
type: 'buttonstrip',
|
|
6
|
+
syntax: {
|
|
7
|
+
keyword: 'buttonstrip',
|
|
8
|
+
hasText: false
|
|
9
|
+
},
|
|
10
|
+
schema: {
|
|
11
|
+
properties: {
|
|
12
|
+
// No properties on the strip itself for now
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
ui: {
|
|
16
|
+
label: 'Button Strip',
|
|
17
|
+
icon: 'layout'
|
|
18
|
+
}
|
|
19
|
+
};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -49,6 +49,7 @@ const Header_1 = require("./blocks/Header");
|
|
|
49
49
|
const GridCard_1 = require("./blocks/GridCard");
|
|
50
50
|
const Card_1 = require("./blocks/Card");
|
|
51
51
|
const Button_1 = require("./blocks/Button");
|
|
52
|
+
const ButtonStrip_1 = require("./blocks/ButtonStrip");
|
|
52
53
|
function registerStandardBlocks() {
|
|
53
54
|
// Text blocks
|
|
54
55
|
registry_1.registry.register(Paragraph_1.ParagraphBlock);
|
|
@@ -95,6 +96,7 @@ function registerStandardBlocks() {
|
|
|
95
96
|
registry_1.registry.register(GridCard_1.GridCardBlock);
|
|
96
97
|
registry_1.registry.register(Card_1.CardBlock);
|
|
97
98
|
registry_1.registry.register(Button_1.ButtonBlock);
|
|
99
|
+
registry_1.registry.register(ButtonStrip_1.ButtonStripBlock);
|
|
98
100
|
// DEBUG: Log registry state
|
|
99
101
|
console.log('[StandardLib] Registered standard blocks. Registry keys:', registry_1.registry.getAll().map(b => b.type).join(', '));
|
|
100
102
|
}
|
|
@@ -131,3 +133,4 @@ __exportStar(require("./blocks/Header"), exports);
|
|
|
131
133
|
__exportStar(require("./blocks/GridCard"), exports);
|
|
132
134
|
__exportStar(require("./blocks/Card"), exports);
|
|
133
135
|
__exportStar(require("./blocks/Button"), exports);
|
|
136
|
+
__exportStar(require("./blocks/ButtonStrip"), exports);
|