0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-27 07:23:09 +00:00

update widgets - add hints component and adjust autocomplete logic

This commit is contained in:
Charlie Humphreys
2023-06-30 00:18:23 -05:00
parent 3af5d27e3e
commit f52d42bef5
10 changed files with 327 additions and 149 deletions

View File

@@ -0,0 +1,24 @@
const { WIDGET_TYPE, FIELD_TYPE } = require('../../../shared/naturalcrit/codeEditor/helpers/widget-elements/constants');
module.exports = [{
name : 'monster',
type : WIDGET_TYPE.SNIPPET,
classes : ['frame', 'wide']
}, {
name : 'classTable',
type : WIDGET_TYPE.SNIPPET,
classes : ['frame', 'decoration', 'wide']
}, {
name : 'image',
type : WIDGET_TYPE.IMAGE,
fields : []
}, {
name : 'artist',
type : WIDGET_TYPE.SNIPPET,
fields : [{
name : 'top',
type : FIELD_TYPE.STYLE,
increment : 5,
lineBreak : true
}]
}];