block.json
77 lines
| 1 | { |
| 2 | "name": "surecart/password", |
| 3 | "title": "Password", |
| 4 | "description": "Displays a password field to let a new user set a password.", |
| 5 | "category": "surecart", |
| 6 | "keywords": ["password", "input"], |
| 7 | "textdomain": "surecart", |
| 8 | "ancestor": ["surecart/form"], |
| 9 | "supports": { |
| 10 | "reusable": false, |
| 11 | "html": false |
| 12 | }, |
| 13 | "attributes": { |
| 14 | "required": { |
| 15 | "type": "boolean" |
| 16 | }, |
| 17 | "autofocus": { |
| 18 | "type": "boolean", |
| 19 | "default": false |
| 20 | }, |
| 21 | "showLabel": { |
| 22 | "type": "boolean", |
| 23 | "default": true |
| 24 | }, |
| 25 | "value": { |
| 26 | "type": "string", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "placeholder": { |
| 30 | "type": "string", |
| 31 | "default": "" |
| 32 | }, |
| 33 | "disabled": { |
| 34 | "type": "boolean", |
| 35 | "default": false |
| 36 | }, |
| 37 | "size": { |
| 38 | "type": "string", |
| 39 | "default": "" |
| 40 | }, |
| 41 | "label": { |
| 42 | "type": "string", |
| 43 | "default": "Set A Password" |
| 44 | }, |
| 45 | "help": { |
| 46 | "type": "string" |
| 47 | }, |
| 48 | "inputmode": { |
| 49 | "type": "string" |
| 50 | }, |
| 51 | "max": { |
| 52 | "type": ["string", "number"] |
| 53 | }, |
| 54 | "maxlength": { |
| 55 | "type": "number" |
| 56 | }, |
| 57 | "name": { |
| 58 | "type": "string" |
| 59 | }, |
| 60 | "confirmation": { |
| 61 | "type": "boolean", |
| 62 | "default": false |
| 63 | }, |
| 64 | "confirmation_label": { |
| 65 | "type": "string", |
| 66 | "default": "Password Confirmation" |
| 67 | }, |
| 68 | "confirmation_placeholder": { |
| 69 | "type": "string", |
| 70 | "default": "" |
| 71 | }, |
| 72 | "confirmation_help": { |
| 73 | "type": "string" |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 |