form-jekyll 0.3.0 → 0.3.1
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.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/_data/states.yml +102 -0
- data/_data/test.yml +144 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9dc62ef5c97179daa462c0571207adb3d647aed3f5dec3de2cbe313c757d932
|
4
|
+
data.tar.gz: e73ac896925b4d348b30b5008e802ddf783aa90a616f15b5fbad5f52b67cd97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50fc8994b1244f40befc640dc3e1112f8c4a67029621274a9331f7b7f776a476c3ca1b3f705600a15f9ca569e2562077d2d5d9a750e79f087bd78c2bfe1f550c
|
7
|
+
data.tar.gz: edd9fee8e6c5f79e2cfb7f18d46cbbe8c534231598095dbb970d538674d8cb1f014cec0d1c259b22745b861027298ed55404fb57705defa295096fc33512617b
|
data/README.md
CHANGED
@@ -49,6 +49,9 @@ Since YAML is easy to read, non-technical colleagues can easily give feedback on
|
|
49
49
|
optional: true
|
50
50
|
```
|
51
51
|
|
52
|
+
### Demo
|
53
|
+
[https://form-jekyll.netlify.com/](https://form-jekyll.netlify.com/)
|
54
|
+
|
52
55
|
### Field properties
|
53
56
|
|
54
57
|
| Property name | Description | Expected format |
|
@@ -80,4 +83,4 @@ Since YAML is easy to read, non-technical colleagues can easily give feedback on
|
|
80
83
|
|
81
84
|
- Setup Jekyll - https://jekyllrb.com/docs/installation/
|
82
85
|
- Install Gemfile - `bundle install`
|
83
|
-
- Run Jekyll - `bundle exec jekyll serve`
|
86
|
+
- Run Jekyll - `bundle exec jekyll serve`
|
data/_data/states.yml
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
- value: AL
|
2
|
+
text: Alabama
|
3
|
+
- value: AK
|
4
|
+
text: Alaska
|
5
|
+
- value: AZ
|
6
|
+
text: Arizona
|
7
|
+
- value: AR
|
8
|
+
text: Arkansas
|
9
|
+
- value: CA
|
10
|
+
text: California
|
11
|
+
- value: CO
|
12
|
+
text: Colorado
|
13
|
+
- value: CT
|
14
|
+
text: Connecticut
|
15
|
+
- value: DE
|
16
|
+
text: Delaware
|
17
|
+
- value: DC
|
18
|
+
text: District Of Columbia
|
19
|
+
- value: FL
|
20
|
+
text: Florida
|
21
|
+
- value: GA
|
22
|
+
text: Georgia
|
23
|
+
- value: HI
|
24
|
+
text: Hawaii
|
25
|
+
- value: ID
|
26
|
+
text: Idaho
|
27
|
+
- value: IL
|
28
|
+
text: Illinois
|
29
|
+
- value: IN
|
30
|
+
text: Indiana
|
31
|
+
- value: IA
|
32
|
+
text: Iowa
|
33
|
+
- value: KS
|
34
|
+
text: Kansas
|
35
|
+
- value: KY
|
36
|
+
text: Kentucky
|
37
|
+
- value: LA
|
38
|
+
text: Louisiana
|
39
|
+
- value: ME
|
40
|
+
text: Maine
|
41
|
+
- value: MD
|
42
|
+
text: Maryland
|
43
|
+
- value: MA
|
44
|
+
text: Massachusetts
|
45
|
+
- value: MI
|
46
|
+
text: Michigan
|
47
|
+
- value: MN
|
48
|
+
text: Minnesota
|
49
|
+
- value: MS
|
50
|
+
text: Mississippi
|
51
|
+
- value: MO
|
52
|
+
text: Missouri
|
53
|
+
- value: MT
|
54
|
+
text: Montana
|
55
|
+
- value: NE
|
56
|
+
text: Nebraska
|
57
|
+
- value: NV
|
58
|
+
text: Nevada
|
59
|
+
- value: NH
|
60
|
+
text: New Hampshire
|
61
|
+
- value: NJ
|
62
|
+
text: New Jersey
|
63
|
+
- value: NM
|
64
|
+
text: New Mexico
|
65
|
+
- value: NY
|
66
|
+
text: New York
|
67
|
+
- value: NC
|
68
|
+
text: North Carolina
|
69
|
+
- value: ND
|
70
|
+
text: North Dakota
|
71
|
+
- value: OH
|
72
|
+
text: Ohio
|
73
|
+
- value: OK
|
74
|
+
text: Oklahoma
|
75
|
+
- value: OR
|
76
|
+
text: Oregon
|
77
|
+
- value: PA
|
78
|
+
text: Pennsylvania
|
79
|
+
- value: RI
|
80
|
+
text: Rhode Island
|
81
|
+
- value: SC
|
82
|
+
text: South Carolina
|
83
|
+
- value: SD
|
84
|
+
text: South Dakota
|
85
|
+
- value: TN
|
86
|
+
text: Tennessee
|
87
|
+
- value: TX
|
88
|
+
text: Texas
|
89
|
+
- value: UT
|
90
|
+
text: Utah
|
91
|
+
- value: VT
|
92
|
+
text: Vermont
|
93
|
+
- value: VA
|
94
|
+
text: Virginia
|
95
|
+
- value: WA
|
96
|
+
text: Washington
|
97
|
+
- value: WV
|
98
|
+
text: West Virginia
|
99
|
+
- value: WI
|
100
|
+
text: Wisconsin
|
101
|
+
- value: WY
|
102
|
+
text: Wyoming
|
data/_data/test.yml
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
- title: Test Form
|
2
|
+
fields:
|
3
|
+
- type: paragraph
|
4
|
+
label: Here is an example of some Markdown-formatted text in _bold._
|
5
|
+
|
6
|
+
- type: header
|
7
|
+
label: Header
|
8
|
+
level: 3
|
9
|
+
|
10
|
+
- type: paragraph
|
11
|
+
label: |
|
12
|
+
This is an unordered list.
|
13
|
+
|
14
|
+
- Here are some list items
|
15
|
+
|
16
|
+
- Here are some list items
|
17
|
+
|
18
|
+
- Here are some list items
|
19
|
+
|
20
|
+
This is a numbered list.
|
21
|
+
|
22
|
+
1. Here's a numbered list
|
23
|
+
|
24
|
+
2. Here's a numbered list
|
25
|
+
|
26
|
+
3. Here's a numbered list
|
27
|
+
|
28
|
+
- title: Field types
|
29
|
+
fields:
|
30
|
+
- label: Address
|
31
|
+
type: address
|
32
|
+
|
33
|
+
- label: Email
|
34
|
+
type: email
|
35
|
+
|
36
|
+
- label: File upload
|
37
|
+
type: file
|
38
|
+
|
39
|
+
- label: Number
|
40
|
+
type: number
|
41
|
+
|
42
|
+
- label: 7-digit number with units
|
43
|
+
type: number
|
44
|
+
maxlength: 7
|
45
|
+
unit: cubic yards
|
46
|
+
|
47
|
+
- label: Phone number
|
48
|
+
type: phone
|
49
|
+
|
50
|
+
- label: Price
|
51
|
+
type: price
|
52
|
+
|
53
|
+
- label: Radio buttons
|
54
|
+
type: radio
|
55
|
+
options:
|
56
|
+
- label: "One"
|
57
|
+
- label: "Two"
|
58
|
+
- label: "Three"
|
59
|
+
|
60
|
+
- label: Checkboxes
|
61
|
+
type: checkbox
|
62
|
+
options:
|
63
|
+
- label: "One"
|
64
|
+
- label: "Two"
|
65
|
+
- label: "Three"
|
66
|
+
|
67
|
+
- label: Dropdown
|
68
|
+
type: select
|
69
|
+
options:
|
70
|
+
- label: "One"
|
71
|
+
- label: "Two"
|
72
|
+
- label: "Three"
|
73
|
+
|
74
|
+
- label: Regular input
|
75
|
+
|
76
|
+
- label: Textarea
|
77
|
+
type: textarea
|
78
|
+
|
79
|
+
- label: Large textarea
|
80
|
+
type: textarea
|
81
|
+
size: large
|
82
|
+
|
83
|
+
- title: Conditionals
|
84
|
+
fields:
|
85
|
+
- label: Conditionals will appear at the bottom of the page.
|
86
|
+
type: paragraph
|
87
|
+
|
88
|
+
- label: When these checkboxes are checked…
|
89
|
+
type: checkbox
|
90
|
+
options:
|
91
|
+
- label: Show "Maya"
|
92
|
+
shows: maya
|
93
|
+
|
94
|
+
- label: Show "Harvey"
|
95
|
+
shows: harvey
|
96
|
+
|
97
|
+
- label: Show "Fred"
|
98
|
+
shows: fred
|
99
|
+
|
100
|
+
- label: When these radio buttons are selected…
|
101
|
+
type: radio
|
102
|
+
options:
|
103
|
+
- label: Show "Maya"
|
104
|
+
shows: maya
|
105
|
+
|
106
|
+
- label: Show "Harvey"
|
107
|
+
shows: harvey
|
108
|
+
|
109
|
+
- label: Show "Fred"
|
110
|
+
shows: fred
|
111
|
+
|
112
|
+
- label: Show "Maya" when the answer is "Maya"
|
113
|
+
shows: maya
|
114
|
+
if: "Maya"
|
115
|
+
|
116
|
+
- label: Show "Harvey" when the answer's less than 10
|
117
|
+
type: number
|
118
|
+
maxlength: 3
|
119
|
+
shows: harvey
|
120
|
+
if: "<10"
|
121
|
+
|
122
|
+
- label: Show "Fred" if the answer's at least 3
|
123
|
+
type: number
|
124
|
+
maxlength: 3
|
125
|
+
shows: fred
|
126
|
+
if: ">2"
|
127
|
+
|
128
|
+
- group: maya
|
129
|
+
fields:
|
130
|
+
- label: Maya
|
131
|
+
type: header
|
132
|
+
level: 3
|
133
|
+
|
134
|
+
- group: fred
|
135
|
+
fields:
|
136
|
+
- label: Fred
|
137
|
+
type: header
|
138
|
+
level: 3
|
139
|
+
|
140
|
+
- group: harvey
|
141
|
+
fields:
|
142
|
+
- label: Harvey
|
143
|
+
type: header
|
144
|
+
level: 3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: form-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Rubenoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -66,6 +66,8 @@ extensions: []
|
|
66
66
|
extra_rdoc_files: []
|
67
67
|
files:
|
68
68
|
- README.md
|
69
|
+
- _data/states.yml
|
70
|
+
- _data/test.yml
|
69
71
|
- _includes/elements/helptext.html
|
70
72
|
- _includes/elements/label.html
|
71
73
|
- _includes/fields/address.html
|