Releases: formkit/formkit
Releases · formkit/formkit
1.6.5
1.6.4
1.6.3
💪 New Features
- New clear on submit option for local storage
- New
context.state.passing
property indicates whether or not a given input is passing all its validation rules.
🐛 Bug fixes
1.6.2
1.6.1
💪 New features
- Adds new experimental (not documented) configuration option
mergeStrategy
to allow syncing between two nodes of the same name inside the same parent. - Improves tree shaking of
@formkit/inputs
package.
🐛 Bug fixes
- Fixes FormKit’s monorepo builds script on windows environments (#1270).
- Floating label now works as a naked attribute.
- Fixes a bug that could cause the floating label to interfere with
Transition
components. - Fixes a bug in
findSection
that did not properly return values from conditional branches.
1.6.0
💪 New features
- Adds new composable
useFormKitContext
for access to the context object of the parentFormKit
component — or any otherFormKit
component in the tree. Optionally, you can provide an effect callback that is run when the context is available. - Adds new composable
useFormKitContextById
for access to the context object of anyFormKit
component with an explicit id. Optionally, you can provide an effect callback that is run when the context is available. - Adds new composable
useFormKitNodeById
for access to the node object of anyFormKit
component with an explicit id. Optionally, you can provide an effect callback that is run when the node is available. - Adds IntelliSense autocomplete for the
type
prop of the FormKit component (#1241). - Adds new
stopWatch
function to the@formkit/core
package that allows de-registering receipts from thewatchRegistry
function. - Adds type generic to
getNode<T>()
function. - New integration with
@nuxt/tailwindcss
that automatically includes theformkit.theme.ts
file in the tailwindcontent
. - Adds new
currency
andunit
icons. - Adds new
library
prop toFormKit
andFormKitMessages
components that allows you to include additional components for the input schema, for example, when usingsections-schema
to modify the input (#1145) (#1137). - The
value
type of aFormKit
component that is passed aFormKitTypeDefinition
is now inferred from theFormKitTypeDefinition
.
typescript.mp4
🐛 Bug fixes
- Fixes bug in
changeLocale
that caused updated locale to not be used on new nodes (#1143). - Fixes tree shaking of the
@formkit/icons
package (#1184). - Adds
FormKitIcon
component to theautoImport
feature of the Nuxt module (#1168). - Fixes types for
BeforeStepChangeData
(#1224). - Fixes types for the
datetime-local
input type (#1129). - Vue is now a
peerDependency
of@formkit/vue
to reduce the incidents of multiple Vue instances in the same project (#1160). - Adds tabindex and
role="button"
to the icon wrappers when a click event is added to the icon (#1210).
1.5.9
💪 New Features
- Adds
ui.open
to all i18n locales.
1.5.8
🧼 Housecleaning
- Updates Vue to 3.4
1.5.7
💪 New features
- Adds dragHandle icon to genesis icons.
1.5.6
💪 New features
- Adds dragHandle icon.