@brightsideoy/kama 0.1.0-alpha.51 → 0.1.0-alpha.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  id: header_image
2
2
  label: Header Image
3
- group: Content
3
+ group: Media
4
4
  description: Image for page header.
5
5
 
6
6
  fields:
@@ -34,12 +34,16 @@ fields:
34
34
  public: true
35
35
  default: "Card text content..."
36
36
 
37
- - linkUrl:
38
- label: Link URL
39
- type: text
40
- description: Where should this card link to? (e.g., /about or https://...)
41
- public: true
42
- default: "https://"
37
+ - link:
38
+ label: Link
39
+ type: link
40
+ allowedLinkTypes:
41
+ - tree
42
+ - node
43
+ - url
44
+ - file
45
+ - email
46
+ - telephone
43
47
 
44
48
  - linkText:
45
49
  label: Button Text
@@ -0,0 +1,28 @@
1
+ id: single_image
2
+ label: Single Image
3
+ group: Media
4
+ description: Just a single image block.
5
+
6
+ fields:
7
+ - image:
8
+ label: Image
9
+ type: asset
10
+ required: true
11
+ multiple: false
12
+ maxSizeMB: 15
13
+ allowedTypes: ["image/*"]
14
+ public: true
15
+
16
+ - link:
17
+ label: Link
18
+ type: link
19
+ position: sidebar
20
+ allowedLinkTypes:
21
+ - tree
22
+ - node
23
+ - url
24
+ - file
25
+
26
+ - fieldSet: access
27
+ - hidden:
28
+ default: false
@@ -8,7 +8,7 @@ regions:
8
8
  content:
9
9
  label: Content
10
10
 
11
- allowedElements:
11
+ allowedBlocks:
12
12
  - header
13
13
  - hero
14
14
  - text
@@ -16,6 +16,7 @@ allowedElements:
16
16
  - header_image
17
17
  - two-column
18
18
  - three-column
19
+ - single_image
19
20
 
20
21
  tabs:
21
22
  settings:
@@ -8,9 +8,15 @@ regions:
8
8
  main:
9
9
  label: Content
10
10
 
11
- allowedElements:
12
- - title-set
13
- - text-block
11
+ allowedBlocks:
12
+ - header
13
+ - hero
14
+ - text
15
+ - image_card
16
+ - header_image
17
+ - two-column
18
+ - three-column
19
+ - single_image
14
20
 
15
21
  tabs:
16
22
  settings:
@@ -17,6 +17,7 @@ allowedBlocks:
17
17
  - header_image
18
18
  - two-column
19
19
  - three-column
20
+ - single_image
20
21
 
21
22
  tabs:
22
23
  settings:
@@ -16,9 +16,15 @@ regions:
16
16
  sidebar:
17
17
  label: Sidebar
18
18
 
19
- allowedElements:
20
- - text-block
19
+ allowedBlocks:
20
+ - header
21
+ - hero
22
+ - text
21
23
  - image_card
24
+ - header_image
25
+ - two-column
26
+ - three-column
27
+ - single_image
22
28
 
23
29
  tabs:
24
30
  settings:
@@ -23,7 +23,7 @@ regions:
23
23
  label: Footer
24
24
  inherit: parent
25
25
 
26
- allowedElements:
26
+ allowedBlocks:
27
27
  - header
28
28
  - hero
29
29
  - text