Skip to content

Commit

Permalink
Add inputType email to formspree (#730)
Browse files Browse the repository at this point in the history
* Add inputType email to formspree

* Changeset

* Fix bun lock
  • Loading branch information
nolannbiron authored Feb 28, 2025
1 parent 53ff2c9 commit 62c10ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/tough-countries-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@gitbook/integration-formspree': patch
---

Add inputType email to formspree
12 changes: 6 additions & 6 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"integrations/formspree": {
"name": "@gitbook/integration-formspree",
"version": "0.2.4",
"version": "0.2.6",
"dependencies": {
"@gitbook/runtime": "packages/runtime",
},
Expand Down Expand Up @@ -340,7 +340,7 @@
},
"integrations/openapi": {
"name": "@gitbook/integration-openapi",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {
"@gitbook/api": "*",
"@gitbook/document": "*",
Expand Down Expand Up @@ -534,7 +534,7 @@
},
"packages/api": {
"name": "@gitbook/api",
"version": "0.96.0",
"version": "0.96.1",
"dependencies": {
"event-iterator": "^2.0.0",
"eventsource-parser": "^3.0.0",
Expand All @@ -551,7 +551,7 @@
"name": "@gitbook/cli",
"version": "0.20.1",
"bin": {
"gitbook": "./cli.js",
"gitbook": "./cli.js"
},
"dependencies": {
"@gitbook/api": "*",
Expand All @@ -577,7 +577,7 @@
},
"packages/document": {
"name": "@gitbook/document",
"version": "0.1.0",
"version": "0.1.1",
"dependencies": {
"@gitbook/api": "*",
},
Expand All @@ -588,7 +588,7 @@
},
"packages/runtime": {
"name": "@gitbook/runtime",
"version": "0.19.0",
"version": "0.19.1",
"dependencies": {
"@gitbook/api": "*",
},
Expand Down
8 changes: 7 additions & 1 deletion integrations/formspree/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ const formspreeBlock = createComponent<
<box grow={1}>
<input
label="Email"
element={<textinput state="email" placeholder="Your email" />}
element={
<textinput
inputType="email"
state="email"
placeholder="Your email"
/>
}
/>
</box>
) : null}
Expand Down

0 comments on commit 62c10ef

Please sign in to comment.