mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-27 18:13:08 +00:00
update widgets - add hints component and adjust autocomplete logic
This commit is contained in:
24
themes/V3/5ePHB/widgets.js
Normal file
24
themes/V3/5ePHB/widgets.js
Normal 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
|
||||
}]
|
||||
}];
|
||||
Reference in New Issue
Block a user