Skip to content

Commit 45d21ba

Browse files
committed
chore: begins updating inputs to new diagram component
1 parent 30e4138 commit 45d21ba

File tree

6 files changed

+6
-52
lines changed

6 files changed

+6
-52
lines changed

3.inputs/color.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,7 @@ FormKit props.
2929

3030
:SectionKeysIntro
3131

32-
::FormKitInputDiagram
33-
---
34-
label-content: "Favorite color"
35-
input-content: "Color selector here"
36-
help-content: "Select your favorite color."
37-
message-content: "Only primary colors allowed."
38-
prefix-icon-content: "🎨"
39-
suffix-icon-content: "👍"
40-
---
41-
::
32+
:FormKitInputDiagrams
4233

4334
::ReferenceTable
4435
---

3.inputs/date.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,7 @@ attrs: ['min', 'max', 'step']
5151

5252
:SectionKeysIntro
5353

54-
::FormKitInputDiagram
55-
---
56-
label-content: "Date of birth"
57-
prefix-icon-content: "📅"
58-
input-content: "Jan. 1 1970"
59-
suffix-icon-content: "👌"
60-
help-content: "Please tell us your date of birth."
61-
message-content: "Date is required."
62-
---
63-
::
54+
:FormKitInputDiagrams
6455

6556
::ReferenceTable
6657
---

3.inputs/datetime-local.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,7 @@ attrs: ['min', 'max', 'step']
4949

5050
:SectionKeysIntro
5151

52-
::FormKitInputDiagram
53-
---
54-
prefix-icon-content: ⏰"
55-
suffix-icon-content: 👍"
56-
label-content: Appointment time"
57-
input-content: Jan. 1 1970 12:00:00"
58-
help-content: Please choose a date and time for your appointment."
59-
message-content: Date and time are required."
60-
---
61-
::
52+
:FormKitInputDiagrams
6253

6354
::ReferenceTable
6455
---

3.inputs/text.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,7 @@ data: [
5656

5757
:SectionKeysIntro
5858

59-
::FormKitInputDiagram
60-
---
61-
prefix-icon-content: "👩🏽‍💼"
62-
suffix-icon-content: ""
63-
label-content: "First name"
64-
input-content: "Sunita"
65-
help-content: "Enter your first name only."
66-
message-content: "First name is required."
67-
---
68-
::
59+
:FormKitInputDiagrams
6960

7061
::ReferenceTable
7162
---

3.inputs/textarea.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,7 @@ attrs: ['cols', 'maxlength', 'minlength', 'placeholder', 'rows']
3434

3535
:SectionKeysIntro
3636

37-
::FormKitInputDiagram
38-
---
39-
class: "input-diagram--textarea"
40-
prefix-icon-content: "📕"
41-
suffix-icon-content: ""
42-
label-content: "Brief biography"
43-
input-content: "The year was 1982. The season was Autumn. My parents were living in Peru at the time..."
44-
help-content: "Tell us a little about yourself."
45-
message-content: "Brief biography must be between 300 and 500 characters."
46-
---
47-
::
37+
:FormKitInputDiagrams
4838

4939
::ReferenceTable
5040
---

3.inputs/togglebuttons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ navigation:
55
title: 'Toggle Buttons'
66
pro: true
77
free: true
8-
new: true
8+
new: false
99
---
1010

1111
:InputPageHero

0 commit comments

Comments
 (0)