feat: update demo and releases

This commit is contained in:
Daniel Lautzenheiser 2023-09-14 10:48:02 -04:00
parent 6429f8b5b3
commit 965f8e5b18
2 changed files with 96 additions and 0 deletions

View File

@ -367,6 +367,34 @@ collections:
widget: image widget: image
media_library: media_library:
folder_support: true folder_support: true
- name: keyvalue
label: Key Value
file: _widgets/keyvalue.yml
description: Key Value widget
fields:
- name: keyvalue
label: Required
widget: keyvalue
- name: with_default
label: Required With Default
widget: keyvalue
default:
key1: value1
key2: value2
key3: value3
- name: with_min
label: Required With Min (2)
widget: keyvalue
min: 2
- name: with_max
label: Required With Max (4)
widget: keyvalue
max: 4
- name: with_min_and_max
label: Required With Min (2) and Max (4)
widget: keyvalue
min: 2
max: 4
- name: list - name: list
label: List label: List
file: _widgets/list.yml file: _widgets/list.yml
@ -569,6 +597,64 @@ collections:
- label: File - label: File
name: file name: file
widget: file widget: file
- name: typed_list_with_condition
label: Typed List With Condition
widget: list
types:
- label: Type 1 Object
name: type_1_object
widget: object
fields:
- name: template
label: template
widget: select
options:
- column
- row
- banner
default: column
- label: String
name: string
widget: string
- label: Boolean
name: boolean
widget: boolean
condition:
field: template
value: banner
- label: Text
name: text
widget: text
- label: Type 2 Object
name: type_2_object
widget: object
fields:
- label: Number
name: number
widget: number
- label: Select
name: select
widget: select
options:
- a
- b
- c
- label: Datetime
name: datetime
widget: datetime
- label: Markdown
name: markdown
widget: markdown
- label: Type 3 Object
name: type_3_object
widget: object
fields:
- label: Image
name: image
widget: image
- label: File
name: file
widget: file
- name: map - name: map
label: Map label: Map
file: _widgets/map.json file: _widgets/map.json
@ -608,6 +694,10 @@ collections:
label: Required With Default label: Required With Default
widget: markdown widget: markdown
default: Default **markdown** value default: Default **markdown** value
- name: raw
label: Raw Editor
widget: markdown
show_raw: true
- name: pattern - name: pattern
label: Pattern Validation label: Pattern Validation
widget: markdown widget: markdown

View File

@ -1,5 +1,11 @@
{ {
"releases": [ "releases": [
{
"date": "2023-09-14T10:00:00.000Z",
"version": "v3.3.0",
"type": "minor",
"description": "Add standardized class names and Slovenian locale"
},
{ {
"date": "2023-09-07T10:00:00.000Z", "date": "2023-09-07T10:00:00.000Z",
"version": "v3.2.0", "version": "v3.2.0",