Introducing a new widget: Statbox / Statistic box Widget; This is a composite widget which has text and icon in a certain layout that can be easily changed.
136 lines
5.1 KiB
JSON
136 lines
5.1 KiB
JSON
{
|
|
"dsl": {
|
|
"widgetName": "MainContainer",
|
|
"backgroundColor": "none",
|
|
"rightColumn": 1280,
|
|
"snapColumns": 64,
|
|
"detachFromLayout": true,
|
|
"widgetId": "0",
|
|
"topRow": 0,
|
|
"bottomRow": 1230,
|
|
"containerStyle": "none",
|
|
"snapRows": 125,
|
|
"parentRowSpace": 1,
|
|
"type": "CANVAS_WIDGET",
|
|
"canExtend": true,
|
|
"version": 31,
|
|
"minHeight": 1240,
|
|
"parentColumnSpace": 1,
|
|
"dynamicTriggerPathList": [],
|
|
"dynamicBindingPathList": [],
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Statbox1",
|
|
"backgroundColor": "white",
|
|
"rightColumn": 30,
|
|
"widgetId": "3sii8uhhjs",
|
|
"topRow": 17,
|
|
"bottomRow": 33,
|
|
"parentRowSpace": 10,
|
|
"isVisible": true,
|
|
"type": "STATBOX_WIDGET",
|
|
"parentId": "0",
|
|
"isLoading": false,
|
|
"parentColumnSpace": 19.8125,
|
|
"leftColumn": 14,
|
|
"children": [
|
|
{
|
|
"widgetName": "Canvas1",
|
|
"rightColumn": 317,
|
|
"detachFromLayout": true,
|
|
"widgetId": "l752czyef7",
|
|
"containerStyle": "none",
|
|
"topRow": 0,
|
|
"bottomRow": 160,
|
|
"parentRowSpace": 1,
|
|
"isVisible": true,
|
|
"canExtend": false,
|
|
"type": "CANVAS_WIDGET",
|
|
"version": 1,
|
|
"parentId": "3sii8uhhjs",
|
|
"minHeight": 160,
|
|
"isLoading": false,
|
|
"parentColumnSpace": 1,
|
|
"leftColumn": 0,
|
|
"children": [
|
|
{
|
|
"widgetName": "Text1",
|
|
"rightColumn": 37.5,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "4mtayc9eas",
|
|
"topRow": 0.5,
|
|
"bottomRow": 4.5,
|
|
"isVisible": true,
|
|
"fontStyle": "BOLD",
|
|
"type": "TEXT_WIDGET",
|
|
"textColor": "#999999",
|
|
"version": 1,
|
|
"parentId": "l752czyef7",
|
|
"isLoading": false,
|
|
"leftColumn": 1.5,
|
|
"fontSize": "PARAGRAPH2",
|
|
"text": "Page Views"
|
|
},
|
|
{
|
|
"widgetName": "Text2",
|
|
"rightColumn": 37.5,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "ii2tk6m48f",
|
|
"topRow": 5.5,
|
|
"bottomRow": 9.5,
|
|
"isVisible": true,
|
|
"fontStyle": "BOLD",
|
|
"type": "TEXT_WIDGET",
|
|
"textColor": "#231F20",
|
|
"version": 1,
|
|
"parentId": "l752czyef7",
|
|
"isLoading": false,
|
|
"leftColumn": 1.5,
|
|
"fontSize": "HEADING1",
|
|
"text": "2.6 M"
|
|
},
|
|
{
|
|
"widgetName": "Text3",
|
|
"rightColumn": 37.5,
|
|
"textAlign": "LEFT",
|
|
"widgetId": "ptbhksx9p1",
|
|
"topRow": 10,
|
|
"bottomRow": 14,
|
|
"isVisible": true,
|
|
"fontStyle": "BOLD",
|
|
"type": "TEXT_WIDGET",
|
|
"textColor": "#03B365",
|
|
"version": 1,
|
|
"parentId": "l752czyef7",
|
|
"isLoading": false,
|
|
"leftColumn": 1.5,
|
|
"fontSize": "PARAGRAPH2",
|
|
"text": "21% more than last month"
|
|
},
|
|
{
|
|
"boxShadow": "NONE",
|
|
"widgetName": "IconButton1",
|
|
"rightColumn": 61,
|
|
"iconName": "arrow-top-right",
|
|
"widgetId": "x35ni1hugn",
|
|
"buttonStyle": "PRIMARY",
|
|
"topRow": 3,
|
|
"bottomRow": 11,
|
|
"isVisible": true,
|
|
"type": "ICON_BUTTON_WIDGET",
|
|
"version": 1,
|
|
"parentId": "l752czyef7",
|
|
"isLoading": false,
|
|
"borderRadius": "CIRCLE",
|
|
"leftColumn": 45,
|
|
"buttonVariant": "SOLID",
|
|
"isDisabled": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |