Skip to content

Commit 49e9e5d

Browse files
committed
fix: remove column layout from multi-step examples and misc fixes
- Remove layout: "column" from multi-step plugin examples - Change code blocks from 'text' to 'bash' in export guide - Remove outdated Laravel 10 integration guide
1 parent cb5945e commit 49e9e5d

21 files changed

+129
-465
lines changed

1.getting-started/3.your-first-form.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ The <code>at</code> function uses the <code>name</code> attribute instead of the
203203
---
204204
name: "Refactor as a plugin"
205205
file: [
206-
'_examples/guides/your-first-form/character-plugin/example.vue',
207-
'_examples/guides/your-first-form/character-plugin/plugins.js',
206+
"_examples/guides/your-first-form/character-plugin/example.vue",
207+
"_examples/guides/your-first-form/character-plugin/plugins.js",
208208
]
209209
init-file-tab: "example.vue"
210210
---
@@ -226,9 +226,9 @@ By default, the <code>group</code> type does not output any markup, so to show v
226226
---
227227
name: "Adding custom rule to group"
228228
file: [
229-
'_examples/guides/your-first-form/character-group-rule/example.vue',
230-
'_examples/guides/your-first-form/character-group-rule/plugins.js',
231-
'_examples/guides/your-first-form/character-group-rule/rules.js',
229+
"_examples/guides/your-first-form/character-group-rule/example.vue",
230+
"_examples/guides/your-first-form/character-group-rule/plugins.js",
231+
"_examples/guides/your-first-form/character-group-rule/rules.js",
232232
]
233233
init-file-tab: "example.vue"
234234
---
@@ -255,9 +255,9 @@ So, let's grab the context object of the `group` input and extract the `value`:
255255
---
256256
name: "Conditional rendering"
257257
file: [
258-
'_examples/guides/your-first-form/character-easter-egg/example.vue',
259-
'_examples/guides/your-first-form/character-easter-egg/plugins.js',
260-
'_examples/guides/your-first-form/character-easter-egg/rules.js',
258+
"_examples/guides/your-first-form/character-easter-egg/example.vue",
259+
"_examples/guides/your-first-form/character-easter-egg/plugins.js",
260+
"_examples/guides/your-first-form/character-easter-egg/rules.js",
261261
]
262262
init-file-tab: "example.vue"
263263
---

2.essentials/1.inputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FormKit Inputs are not confined to what is available in "native" HTML. Our seper
2020
---
2121
name: "Text input"
2222
file: [
23-
'_examples/single-component/single-component-pro.vue',
23+
"_examples/single-component/single-component-pro.vue",
2424
]
2525
---
2626
::

2.essentials/4.styling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ The `generateClasses` function takes a javascript object keyed by input type wit
228228
---
229229
name: "generateClasses example"
230230
file: [
231-
'_examples/generate-classes/generate-classes.vue',
232-
'_examples/generate-classes/formkit.config.ts'
231+
"_examples/generate-classes/generate-classes.vue",
232+
"_examples/generate-classes/formkit.config.ts"
233233
]
234234
init-file-tab: "formkit.config.ts"
235235
render: "html"

2.essentials/5.icons.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ Below is an implementation of FormKit loading icons from FontAwesome by replacin
241241
name: "FontAwesome Icons"
242242
init-file-tab: "formkit.config.ts"
243243
file: [
244-
'_examples/icons/font-awesome/font-awesome.vue',
245-
'_examples/icons/font-awesome/formkit.config.ts'
244+
"_examples/icons/font-awesome/font-awesome.vue",
245+
"_examples/icons/font-awesome/formkit.config.ts"
246246
]
247247
---
248248
::
@@ -256,8 +256,8 @@ Below is an implementation of FormKit with a fully custom `iconLoader` that fetc
256256
name: "Heroicons Icons"
257257
init-file-tab: "formkit.config.ts"
258258
file: [
259-
'_examples/icons/heroicons/heroicons.vue',
260-
'_examples/icons/heroicons/formkit.config.ts'
259+
"_examples/icons/heroicons/heroicons.vue",
260+
"_examples/icons/heroicons/formkit.config.ts"
261261
]
262262
---
263263
::

2.essentials/6.internationalization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ You can change the locale of all FormKit inputs by using the `changeLocale` comp
112112
---
113113
name: "Changing locale"
114114
file: [
115-
'_examples/locale-change-2/change-locale-2.vue',
116-
'_examples/locale-change-2/formkit.config.ts'
115+
"_examples/locale-change-2/change-locale-2.vue",
116+
"_examples/locale-change-2/formkit.config.ts"
117117
]
118118
---
119119
::
@@ -126,8 +126,8 @@ When using the composition API, you won’t have access to `this.$formkit`. Inst
126126
---
127127
name: "Changing locale via config"
128128
file: [
129-
'_examples/locale-change-config/locale-change-config.vue',
130-
'_examples/locale-change-config/formkit.config.ts'
129+
"_examples/locale-change-config/locale-change-config.vue",
130+
"_examples/locale-change-config/formkit.config.ts"
131131
]
132132
---
133133
::

2.essentials/7.custom-inputs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ Now that we’ve defined our input we can use it anywhere in the application:
111111
---
112112
name: "Custom input"
113113
file: [
114-
'_examples/custom-input-default-config/custom-input-default-config.vue',
115-
'_examples/custom-input-default-config/formkit.config.ts'
114+
"_examples/custom-input-default-config/custom-input-default-config.vue",
115+
"_examples/custom-input-default-config/formkit.config.ts"
116116
]
117117
---
118118
::

2.essentials/9.configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ When registering the `@formkit/vue` plugin (or using `@formkit/nuxt` with a `for
176176
---
177177
name: "Component props"
178178
file: [
179-
'_examples/vue-plugin-props/vue-plugin-props.vue',
180-
'_examples/vue-plugin-props/formkit.config.ts',
179+
"_examples/vue-plugin-props/vue-plugin-props.vue",
180+
"_examples/vue-plugin-props/formkit.config.ts",
181181
]
182182
init-file-tab: "formkit.config.ts"
183183
---

3.inputs/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Static lists are the simplest type of list to create. Wrap any inputs in a `<For
5454
name: "Simple static list"
5555
file: [
5656
"_examples/list/list-static.vue",
57-
'_examples/_data/nba-top-players.js'
57+
"_examples/_data/nba-top-players.js"
5858
]
5959
---
6060
::

3.inputs/mask.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ To register your mask tokens globally, extend the `config` property of your glob
199199
::Example
200200
---
201201
name: "Mask input global"
202-
file: ['_examples/mask/tokens-global.vue', '_examples/mask/formkit.config.ts']
202+
file: ["_examples/mask/tokens-global.vue", "_examples/mask/formkit.config.ts"]
203203
init-file-tab: "formkit.config.ts"
204204
---
205205
::

3.inputs/transfer-list.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ The transfer list input is ideal for situations where the end-user needs to sele
2828
name: "Transfer List"
2929
layout: "column"
3030
file: [
31-
'_examples/transfer-list/transfer-list-full-example.vue',
32-
'_examples/transfer-list/api.js',
33-
'_examples/transfer-list/utils.js'
31+
"_examples/transfer-list/transfer-list-full-example.vue",
32+
"_examples/transfer-list/api.js",
33+
"_examples/transfer-list/utils.js"
3434
]
3535
---
3636
::
@@ -92,8 +92,8 @@ Let's go ahead and populate the transfer list's options with a list of guest nam
9292
name: "Transfer List"
9393
layout: "column"
9494
file: [
95-
'_examples/transfer-list/transfer-list-options.vue',
96-
'_examples/transfer-list/guests.js'
95+
"_examples/transfer-list/transfer-list-options.vue",
96+
"_examples/transfer-list/guests.js"
9797
]
9898
---
9999
::
@@ -107,8 +107,8 @@ The _value_ of the transfer list input is an array. Selected option values from
107107
name: "Transfer List"
108108
layout: "column"
109109
file: [
110-
'_examples/transfer-list/transfer-list-values.vue',
111-
'_examples/transfer-list/guests.js'
110+
"_examples/transfer-list/transfer-list-values.vue",
111+
"_examples/transfer-list/guests.js"
112112
]
113113
---
114114
::
@@ -122,8 +122,8 @@ The transfer list input can be pre-populated with values by setting the `value`
122122
name: "Transfer List"
123123
layout: "column"
124124
file: [
125-
'_examples/transfer-list/transfer-list-initial-values.vue',
126-
'_examples/transfer-list/guests.js'
125+
"_examples/transfer-list/transfer-list-initial-values.vue",
126+
"_examples/transfer-list/guests.js"
127127
]
128128
---
129129
::
@@ -137,8 +137,8 @@ The transfer list input can be made searchable by setting the `searchable` prop.
137137
name: "Transfer List"
138138
layout: "column"
139139
file: [
140-
'_examples/transfer-list/transfer-list-searchable.vue',
141-
'_examples/transfer-list/guests.js'
140+
"_examples/transfer-list/transfer-list-searchable.vue",
141+
"_examples/transfer-list/guests.js"
142142
]
143143
---
144144
::
@@ -161,8 +161,8 @@ The transfer list input will filter options with its own internal search functio
161161
name: "Taglist"
162162
layout: "column"
163163
file: [
164-
'_examples/transfer-list/transfer-list-filter.vue',
165-
'_examples/transfer-list/guests.js'
164+
"_examples/transfer-list/transfer-list-filter.vue",
165+
"_examples/transfer-list/guests.js"
166166
]
167167
---
168168
::
@@ -180,8 +180,8 @@ The transfer list input can be limited to a maximum number of selected values by
180180
name: "Transfer List"
181181
layout: "column"
182182
file: [
183-
'_examples/transfer-list/transfer-list-max.vue',
184-
'_examples/transfer-list/guests.js'
183+
"_examples/transfer-list/transfer-list-max.vue",
184+
"_examples/transfer-list/guests.js"
185185
]
186186
---
187187
::
@@ -195,8 +195,8 @@ By default, the transfer list input will add or remove options on click. You can
195195
name: "Transfer List"
196196
layout: "column"
197197
file: [
198-
'_examples/transfer-list/transfer-list-transfer-on-select.vue',
199-
'_examples/transfer-list/guests.js'
198+
"_examples/transfer-list/transfer-list-transfer-on-select.vue",
199+
"_examples/transfer-list/guests.js"
200200
]
201201
---
202202
::
@@ -212,8 +212,8 @@ Here we have a transfer list input that loads its options from an asynchronous f
212212
name: "Transfer List"
213213
layout: "column"
214214
file: [
215-
'_examples/transfer-list/transfer-list-async-options.vue',
216-
'_examples/transfer-list/api.js'
215+
"_examples/transfer-list/transfer-list-async-options.vue",
216+
"_examples/transfer-list/api.js"
217217
]
218218
---
219219
::
@@ -229,8 +229,8 @@ When assigning the options prop to an asynchronous function, the function will b
229229
name: "Transfer List"
230230
layout: "column"
231231
file: [
232-
'_examples/transfer-list/transfer-list-async-options-pagination.vue',
233-
'_examples/transfer-list/api.js'
232+
"_examples/transfer-list/transfer-list-async-options-pagination.vue",
233+
"_examples/transfer-list/api.js"
234234
]
235235
---
236236
::
@@ -244,8 +244,8 @@ The transfer list input can also load options asynchronously when the user searc
244244
name: "Transfer List"
245245
layout: "column"
246246
file: [
247-
'_examples/transfer-list/transfer-list-async-options-search.vue',
248-
'_examples/transfer-list/api.js'
247+
"_examples/transfer-list/transfer-list-async-options-search.vue",
248+
"_examples/transfer-list/api.js"
249249
]
250250
---
251251
::
@@ -261,8 +261,8 @@ The transfer list input also provides an `optionLoader` prop that allows you to
261261
name: "Transfer List"
262262
layout: "column"
263263
file: [
264-
'_examples/transfer-list/transfer-list-rehydrating-values.vue',
265-
'_examples/transfer-list/api.js'
264+
"_examples/transfer-list/transfer-list-rehydrating-values.vue",
265+
"_examples/transfer-list/api.js"
266266
]
267267
---
268268
::
@@ -278,8 +278,8 @@ You can also use use the `optionLoader` to fetch additional data on selected val
278278
name: "Transfer List"
279279
layout: "column"
280280
file: [
281-
'_examples/transfer-list/transfer-list-additional-data.vue',
282-
'_examples/transfer-list/api.js'
281+
"_examples/transfer-list/transfer-list-additional-data.vue",
282+
"_examples/transfer-list/api.js"
283283
]
284284
---
285285
::
@@ -297,9 +297,9 @@ Now that we are loading additional data on selected values (the age and email ad
297297
name: "Transfer List"
298298
layout: "column"
299299
file: [
300-
'_examples/transfer-list/transfer-list-options-slot.vue',
301-
'_examples/transfer-list/api.js',
302-
'_examples/transfer-list/utils.js'
300+
"_examples/transfer-list/transfer-list-options-slot.vue",
301+
"_examples/transfer-list/api.js",
302+
"_examples/transfer-list/utils.js"
303303
]
304304
---
305305
::
@@ -315,9 +315,9 @@ The transfer list input can be used to create a ranked list, let's do that with
315315
name: "Transfer List"
316316
layout: "column"
317317
file: [
318-
'_examples/transfer-list/transfer-list-ranking.vue',
319-
'_examples/_data/nba-top-players.js',
320-
'_examples/transfer-list/utils.js'
318+
"_examples/transfer-list/transfer-list-ranking.vue",
319+
"_examples/_data/nba-top-players.js",
320+
"_examples/transfer-list/utils.js"
321321
]
322322
---
323323
::

0 commit comments

Comments
 (0)