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