Skip to content

Commit

Permalink
fix: consent remember checkbox (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
mszekiel authored Oct 25, 2022
1 parent 8fd7e90 commit ea1f22e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"useWorkspaces": true,
"version": "0.0.1-alpha.10",
"version": "0.0.1-alpha.11",
"command": {
"version": {
"allowBranch": "main",
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/markup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/elements-markup",
"version": "0.0.1-alpha.10",
"version": "0.0.1-alpha.11",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/elements-preact",
"version": "0.0.1-alpha.10",
"version": "0.0.1-alpha.11",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/elements",
"version": "0.0.1-alpha.10",
"version": "0.0.1-alpha.11",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ory/elements-test",
"version": "0.0.1-alpha.10",
"version": "0.0.1-alpha.11",
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 5 additions & 1 deletion src/react-components/ory/user-consent-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ export const UserConsentCard = ({
</div>
<Divider />
<div className={gridStyle({ gap: 8 })}>
<Checkbox label="Remember my decision" />
<Checkbox
label="Remember my decision"
id="remember"
name="remember"
/>
<Typography size="xsmall">
Remember this decision for next time. The application will not be
able to ask for additional permissions without your consent.
Expand Down

0 comments on commit ea1f22e

Please sign in to comment.