···29293030```gleam
3131import formz
3232-import formz_string/definitions
3232+import formz_string/definition
33333434pub fn make_form() {
3535- use username <- formz.field(formz.named("username"), definitions.text_field())
3636- use password <- formz.field(formz.named("password"), definitions.password_field())
3535+ use username <- formz.field(formz.named("username"), definition.text_field())
3636+ use password <- formz.field(formz.named("password"), definition.password_field())
37373838 formz.create_form(#(username, password))
3939}
+3-3
formz/README.md
···29293030```gleam
3131import formz
3232-import formz_string/definitions
3232+import formz_string/definition
33333434pub fn make_form() {
3535- use username <- formz.field(formz.named("username"), definitions.text_field())
3636- use password <- formz.field(formz.named("password"), definitions.password_field())
3535+ use username <- formz.field(formz.named("username"), definition.text_field())
3636+ use password <- formz.field(formz.named("password"), definition.password_field())
37373838 formz.create_form(#(username, password))
3939}
+2-2
formz/gleam.toml
···11# For a full reference of all the available options, you can have a look at
22# https://gleam.run/writing-gleam/gleam-toml/.
33name = "formz"
44-version = "2.0.0"
44+version = "2.0.1"
55description = "Accessible, type safe form parsing and generating for Gleam"
66licences = ["Unlicense"]
77-repository = { type = "github", user = "bentomas", repo = "formz" }
77+repository = { type = "github", user = "bentomas", repo = "formz", path = "formz" }
88gleam = ">= 1.6.0"
991010[dependencies]
+2-2
formz_lustre/gleam.toml
···11# For a full reference of all the available options, you can have a look at
22# https://gleam.run/writing-gleam/gleam-toml/.
33name = "formz_lustre"
44-version = "2.0.0"
44+version = "2.0.1"
55description = "Lustre widgets and field definitions for the formz library."
66licences = ["Unlicense"]
77-repository = { type = "github", user = "bentomas", repo = "formz" }
77+repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_lustre" }
8899[dependencies]
1010# formz = { path = "../formz" }
+2-2
formz_nakai/gleam.toml
···11# For a full reference of all the available options, you can have a look at
22# https://gleam.run/writing-gleam/gleam-toml/.
33name = "formz_nakai"
44-version = "2.0.0"
44+version = "2.0.1"
55description = "Nakai widgets and field definitions for the formz library."
66licences = ["Unlicense"]
77-repository = { type = "github", user = "bentomas", repo = "formz" }
77+repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_nakai" }
8899[dependencies]
1010# formz = { path = "../formz" }
+2-2
formz_string/gleam.toml
···11# For a full reference of all the available options, you can have a look at
22# https://gleam.run/writing-gleam/gleam-toml/.
33name = "formz_string"
44-version = "2.0.0"
44+version = "2.0.1"
55description = "String widgets and field definitions for the formz library."
66licences = ["Unlicense"]
77-repository = { type = "github", user = "bentomas", repo = "formz" }
77+repository = { type = "github", user = "bentomas", repo = "formz", path = "formz_string" }
8899[dependencies]
1010# formz = { path = "../formz" }