Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crd-chart/templates/BarChart.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ spec:
- gray
- red
- green
- violet
type: string
percentage:
description: Height of the bar as a percentage (0–100)
Expand Down
13 changes: 12 additions & 1 deletion crd-chart/templates/Button.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,23 @@ spec:
type: object
type: array
type: object
backgroundColor:
description: the background color of the button
enum:
- blue
- darkBlue
- orange
- gray
- red
- green
- violet
type: string
clickActionId:
description: the id of the action to be executed when the button
is clicked
type: string
color:
description: the color of the button
description: '***DEPRECATED*** the color of the button'
enum:
- default
- primary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
name: inlinegroups.widgets.templates.krateo.io
name: buttongroups.widgets.templates.krateo.io
spec:
group: widgets.templates.krateo.io
names:
categories:
- widgets
- krateo
kind: InlineGroup
listKind: InlineGroupList
plural: inlinegroups
singular: inlinegroup
kind: ButtonGroup
listKind: ButtonGroupList
plural: buttongroups
singular: buttongroup
scope: Namespaced
versions:
- additionalPrinterColumns:
Expand Down Expand Up @@ -156,7 +156,7 @@ spec:
description: the data that will be passed to the widget on the frontend
properties:
alignment:
description: the alignment of the element inside the InlineGroup.
description: the alignment of the element inside the ButtonGroup.
Default is 'left'
enum:
- center
Expand Down Expand Up @@ -185,7 +185,7 @@ spec:
type: string
type: array
gap:
description: the spacing between the items of the InlineGroup.
description: the spacing between the items of the ButtonGroup.
Default is 'small'
enum:
- extra-small
Expand All @@ -194,7 +194,7 @@ spec:
- large
type: string
items:
description: the items of the InlineGroup
description: the items of the ButtonGroup
items:
properties:
resourceRefId:
Expand Down
1 change: 1 addition & 0 deletions crd-chart/templates/Column.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- columns
- datagrids
- eventlists
Expand Down
2 changes: 2 additions & 0 deletions crd-chart/templates/DataGrid.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- datagrids
- eventlists
- filters
- flowcharts
Expand Down
2 changes: 2 additions & 0 deletions crd-chart/templates/Form.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ spec:
type: array
fieldDescription:
default: inline
description: the displaying mode of the field description, default
is inline but it could also be displayed as a tooltip
enum:
- tooltip
- inline
Expand Down
4 changes: 1 addition & 3 deletions crd-chart/templates/LineChart.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ spec:
- gray
- red
- green
- violet
type: string
coords:
description: data points that define the line
Expand All @@ -191,9 +192,6 @@ spec:
type: string
type: object
type: array
prefix:
description: it's the filters prefix to get right values
type: string
xAxisName:
description: label for the x axis
type: string
Expand Down
1 change: 1 addition & 0 deletions crd-chart/templates/Page.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- columns
- datagrids
- eventlists
Expand Down
1 change: 1 addition & 0 deletions crd-chart/templates/Row.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- columns
- datagrids
- eventlists
Expand Down
1 change: 1 addition & 0 deletions crd-chart/templates/TabList.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- columns
- datagrids
- eventlists
Expand Down
2 changes: 2 additions & 0 deletions crd-chart/templates/Table.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ spec:
enum:
- barcharts
- buttons
- buttongroups
- filters
- flowcharts
- linecharts
Expand All @@ -184,6 +185,7 @@ spec:
- gray
- red
- green
- violet
type: string
title:
description: column header label
Expand Down