Skip to content

Commit

Permalink
Update pattern library to 0.10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopeek committed Jan 26, 2017
1 parent b24bd2e commit 04fb3bd
Show file tree
Hide file tree
Showing 98 changed files with 837 additions and 224 deletions.
3 changes: 3 additions & 0 deletions _data/categories/212.m-buttons.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id: 212
parent: 19
category: m_buttons
2 changes: 1 addition & 1 deletion _data/cb_fields/1.Heading.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id: 1
parent_properties: ''
input: heading
name: Heading
description: ''
description: 'Insert a regular heading, with the ability to control the hierarchy level (h1,h2,h3..) and text alignment. You can also add an anchor to the HTML, for more precise linking from other pages.'
category: 1
icon: heading
icon_type: ''
Expand Down
2 changes: 1 addition & 1 deletion _data/cb_fields/13.Code-(Display).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sortorder: 27
category: 6
icon: code
icon_type: ''
template: '<pre><code class="language-[[+lang]]">[[+value:esc]]</code>[[+label:notempty=`<div class="ui top right attached label">[[+label]]<i class="copy link icon with popup" data-content="[[%romanesco.patterns.copy_tooltip]]"></i></div>`]]</pre>'
template: '<pre><code class="language-[[+lang]]">[[+value:esc]]</code>[[+label:notempty=`<div class="ui small top right attached label">[[+label]]<i class="copy link icon with popup" data-content="[[%romanesco.patterns.copy_tooltip]]"></i></div>`]]</pre>'
properties: '{"available_languages":"html=HTML,javascript=JavaScript,css=CSS,php=PHP","default_language":"html","entities":"1"}'
availability: '[{"field":"usergroup","value":"Administrator"}]'
layouts: ''
Expand Down
4 changes: 2 additions & 2 deletions _data/cb_fields/14.HTML-Code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ sortorder: 29
category: 6
icon: code
icon_type: ''
template: '[[+value]]'
template: "[[!cbRenderCodeField?\n &valueRendered=`[[+value:stripString=`:tag`]]`\n &valueRaw=`[[+value]]`\n &renderTag=`[[+render_tag]]`\n]]"
properties: '{"available_languages":"html=HTML","default_language":"html","entities":"0"}'
availability: '[{"field":"usergroup","value":"Administrator"}]'
layouts: ''
settings: '[]'
settings: '[{"reference":"render_tag","title":"Rendering of :tag","fieldtype":"radio","default_value":"ignore","fieldoptions":"Render :tag modifier(s) anyway and set code_field_raw placeholder=render\nRespect :tag modifier(s) and set code_field_rendered placeholder=respect\nProcess everything as usual, without setting any placeholders=ignore","field_is_exposed":"modal"}]'
2 changes: 1 addition & 1 deletion _data/cb_fields/20.Overview-(Specific-IDs).yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id: 20
parent_properties: ''
input: chunk
name: 'Overview (Specific ID''s)'
name: 'Overview (Specific IDs)'
description: ''
sortorder: 32
category: 5
Expand Down
4 changes: 2 additions & 2 deletions _data/cb_fields/26.Input-(Textfield).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: paragraph
template: '[[+tag]]'
properties: '{"chunk":"35","custom_preview":"<p><em>You can select a different input type or add an optional placeholder in the Settings menu.<\/em><\/p>"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"field_type","title":"Input type","fieldtype":"select","default_value":"text","fieldoptions":"Text=text\nE-mail=email\nPhone=tel\nNumber=number\nDate=date\nURL=url\nPassword=password","field_is_exposed":"modal"},{"reference":"field_placeholder","title":"Placeholder","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"field_type","title":"Input type","fieldtype":"select","default_value":"text","fieldoptions":"Text=text\nE-mail=email\nPhone=tel\nNumber=number\nDate=date\nURL=url\nPassword=password","field_is_exposed":"modal"},{"reference":"field_placeholder","title":"Placeholder","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/27.Input-(Textarea).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: paragraph
template: '[[+tag]]'
properties: '{"chunk":"36","custom_preview":"<p><em>You can add an optional placeholder in the Settings menu.<\/em><\/p>"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"field_rows","title":"Rows","fieldtype":"textfield","default_value":"7","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_placeholder","title":"Placeholder","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"field_rows","title":"Rows","fieldtype":"textfield","default_value":"7","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_placeholder","title":"Placeholder","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/28.Select-Options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: checkbox
template: "[[$fbSelectOptionRow?\n &field_type=`[[+field_type]]`\n &field_name=`[[+field_name]]`\n &option_layout=`[[+option_layout]]`\n &field_option=`[[+field_option]]`\n &field_helptext=`[[+field_helptext]]`\n &idx=`[[+idx]]`\n &unique_idx=`[[+unique_idx]]`\n]]"
properties: '{"wrapper_template":"[[$fbSelectOption?\n &field_layout=`[[+field_layout]]`\n &field_type=`[[+field_type]]`\n &field_name=`[[+field_name]]`\n &option_layout=`[[+option_layout]]`\n &option_other=`[[+option_other]]`\n &option_other_value=`[[+option_other_value]]`\n &field_helptext=`[[+field_helptext]]`\n &field_required=`[[+field_required]]`\n &rows=`[[+rows]]`\n &unique_idx=`[[+unique_idx]]`\n]]","row_separator":"","max_items":"0","min_items":"0","add_first_item":"true"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"option_layout","title":"Options layout","fieldtype":"select","default_value":"","fieldoptions":"Vertical=default\nInline=inline","field_is_exposed":"modal"},{"reference":"option_other","title":"Add \"Other\" option","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"modal"},{"reference":"option_other_value","title":"\"Other\" option text","fieldtype":"textfield","default_value":"Something else","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_type","title":"Selection type","fieldtype":"select","default_value":"radio","fieldoptions":"Single select (radio)=radio\nMultiple select (checkbox)=checkbox","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"option_layout","title":"Options layout","fieldtype":"select","default_value":"","fieldoptions":"Vertical=\nInline=inline","field_is_exposed":"modal"},{"reference":"option_other","title":"Add \"Other\" option","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"modal"},{"reference":"option_other_value","title":"\"Other\" option text","fieldtype":"textfield","default_value":"Something else","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_type","title":"Selection type","fieldtype":"select","default_value":"radio","fieldoptions":"Single select (radio)=radio\nMultiple select (checkbox)=checkbox","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/30.Select-Options-(with-Collapse).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: checkbox
template: "[[$fbSelectOptionRow?\n &field_type=`[[+field_type]]`\n &field_name=`[[+field_name]]`\n &option_layout=`[[+option_layout]]`\n &collapse_target=`[[+collapse_target]]`\n &field_option=`[[+field_option]]`\n &field_helptext=`[[+field_helptext]]`\n &idx=`[[+idx]]`\n &unique_idx=`[[+unique_idx]]`\n]]"
properties: '{"wrapper_template":"[[$fbSelectOption?\n &field_layout=`[[+field_layout]]`\n &field_type=`[[+field_type]]`\n &field_name=`[[+field_name]]`\n &option_layout=`[[+option_layout]]`\n &field_helptext=`[[+field_helptext]]`\n &field_required=`[[+field_required]]`\n &rows=`[[+rows]]`\n &unique_idx=`[[+unique_idx]]`\n]]","row_separator":"","max_items":"0","min_items":"0","add_first_item":"true"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"option_layout","title":"Options layout","fieldtype":"select","default_value":"","fieldoptions":"Vertical=default\nInline=inline","field_is_exposed":"modal"},{"reference":"field_type","title":"Selection type","fieldtype":"select","default_value":"radio","fieldoptions":"Single select (radio)=radio\nMultiple select (checkbox)=checkbox","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"option_layout","title":"Options layout","fieldtype":"select","default_value":"","fieldoptions":"Vertical=default\nInline=inline","field_is_exposed":"modal"},{"reference":"field_type","title":"Selection type","fieldtype":"select","default_value":"radio","fieldoptions":"Single select (radio)=radio\nMultiple select (checkbox)=checkbox","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/31.Select-Dropdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: checkbox
template: "[[$fbSelectDropdownRow?\n &field_name=`[[+field_name]]`\n &field_option=`[[+field_option]]`\n &unique_idx=`[[+unique_idx]]`\n]]"
properties: '{"wrapper_template":"[[$fbSelectDropdown?\n &field_layout=`[[+field_layout]]`\n &field_name=`[[+field_name]]`\n &field_default=`[[+field_default]]`\n &field_helptext=`[[+field_helptext]]`\n &field_required=`[[+field_required]]`\n &rows=`[[+rows]]`\n &unique_idx=`[[+unique_idx]]`\n]]","row_separator":"","max_items":"0","min_items":"0","add_first_item":"true"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"field_default","title":"Default option","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"field_default","title":"Default option","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/32.Select-Dropdown-(with-Auto-Options).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: snippet_A
template: "[[$fbSelectDropdown?\n &field_layout=`[[+field_layout]]`\n &field_name=`[[+field_name]]`\n &field_option=`[[+field_option]]`\n &field_default=`[[+field_default]]`\n &field_helptext=`[[+field_helptext]]`\n &field_required=`[[+field_required]]`\n &rows=`[[+value]]`\n &unique_idx=`[[+unique_idx]]`\n]]"
properties: '{"available_languages":"html=HTML","default_language":"html","entities":"0"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"field_default","title":"Default option","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"field_default","title":"Default option","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
4 changes: 2 additions & 2 deletions _data/cb_fields/33.Input-(File).yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ category: 7
icon: attachment
template: '[[+tag]]'
properties: '{"chunk":"42","custom_preview":"<p><em>Visitors can upload a single file through this field.<\/em><\/p>"}'
availability: '[{"field":"template","value":"10"}]'
availability: '[{"field":"template","value":"10"},{"field":"context","value":"hub"}]'
layouts: ''
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"Inherit (from Form Layout)=[[*fb_form_layout]]\nAbove options=form-default\nLeft of options=form-horizontal","field_is_exposed":"modal"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
settings: '[{"reference":"field_name","title":"Label","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"asField"},{"reference":"field_layout","title":"Label position","fieldtype":"select","default_value":"[[*fb_form_layout]]","fieldoptions":"[[$cbFormLabelPosition]]","field_is_exposed":"modal","process_tags":"1"},{"reference":"field_helptext","title":"Help text","fieldtype":"textfield","default_value":"","fieldoptions":"","field_is_exposed":"modal"},{"reference":"field_required","title":"Required","fieldtype":"select","default_value":"0","fieldoptions":"Yes=1\nNo=0","field_is_exposed":"asField"}]'
Loading

0 comments on commit 04fb3bd

Please sign in to comment.