@shing.wong/sure-factor 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
name: account-settings
|
|
2
|
+
description: Email account profile form — address, incoming/outgoing server settings (host, port, TLS, user) and authentication method
|
|
3
|
+
tier: production
|
|
4
|
+
parameters:
|
|
5
|
+
fields:
|
|
6
|
+
- name: email
|
|
7
|
+
type: email
|
|
8
|
+
required: true
|
|
9
|
+
- name: incomingHost
|
|
10
|
+
type: text
|
|
11
|
+
required: true
|
|
12
|
+
- name: incomingPort
|
|
13
|
+
type: number
|
|
14
|
+
required: true
|
|
15
|
+
- name: incomingTls
|
|
16
|
+
type: boolean
|
|
17
|
+
required: false
|
|
18
|
+
- name: incomingUser
|
|
19
|
+
type: text
|
|
20
|
+
required: false
|
|
21
|
+
- name: outgoingHost
|
|
22
|
+
type: text
|
|
23
|
+
required: true
|
|
24
|
+
- name: outgoingPort
|
|
25
|
+
type: number
|
|
26
|
+
required: true
|
|
27
|
+
- name: outgoingTls
|
|
28
|
+
type: boolean
|
|
29
|
+
required: false
|
|
30
|
+
- name: authMethod
|
|
31
|
+
type: text
|
|
32
|
+
required: true
|
|
33
|
+
submitLabel:
|
|
34
|
+
en: Save Account
|
|
35
|
+
es: Guardar cuenta
|
|
36
|
+
fr: Enregistrer le compte
|
|
37
|
+
cancelLabel:
|
|
38
|
+
en: Cancel
|
|
39
|
+
es: Cancelar
|
|
40
|
+
fr: Annuler
|
|
41
|
+
behavior:
|
|
42
|
+
notificationModes:
|
|
43
|
+
- inline
|
|
44
|
+
- toast
|
|
45
|
+
- statusBar
|
|
46
|
+
audio:
|
|
47
|
+
errorBell: true
|
|
48
|
+
successChime: true
|
|
49
|
+
voiceHelp: false
|
|
50
|
+
autoFocus: true
|
|
51
|
+
confirmBeforeCancel: true
|
|
52
|
+
scripts:
|
|
53
|
+
- error-bell.js
|
|
54
|
+
- success-chime.js
|
|
55
|
+
sure_ui:
|
|
56
|
+
- form
|
|
57
|
+
- buttons
|
|
58
|
+
cssClasses:
|
|
59
|
+
form: sure-form
|
|
60
|
+
field: sure-form__field
|
|
61
|
+
input: sure-form__input
|
|
62
|
+
error: sure-form__error
|
|
63
|
+
help: sure-form__help
|
|
64
|
+
label: sure-form__label
|
|
65
|
+
title: sure-form__title
|
|
66
|
+
actions: sure-form__actions
|
|
67
|
+
submit: btn-primary
|
|
68
|
+
cancel: btn-secondary
|
|
69
|
+
example:
|
|
70
|
+
usage: Generate an IMAP/SMTP account settings form with email address, incoming host/port/TLS/user, outgoing host/port/TLS and auth method
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: contact-form
|
|
2
|
+
description: Contact message form with name, email, subject and message fields
|
|
3
|
+
tier: vibe
|
|
4
|
+
parameters:
|
|
5
|
+
fields:
|
|
6
|
+
- name: name
|
|
7
|
+
type: text
|
|
8
|
+
required: true
|
|
9
|
+
- name: email
|
|
10
|
+
type: email
|
|
11
|
+
required: true
|
|
12
|
+
- name: subject
|
|
13
|
+
type: text
|
|
14
|
+
required: false
|
|
15
|
+
- name: message
|
|
16
|
+
type: text
|
|
17
|
+
required: true
|
|
18
|
+
submitLabel:
|
|
19
|
+
en: Send
|
|
20
|
+
es: Enviar
|
|
21
|
+
fr: Envoyer
|
|
22
|
+
cancelLabel:
|
|
23
|
+
en: Clear
|
|
24
|
+
es: Borrar
|
|
25
|
+
fr: Effacer
|
|
26
|
+
behavior:
|
|
27
|
+
notificationModes:
|
|
28
|
+
- inline
|
|
29
|
+
- toast
|
|
30
|
+
audio:
|
|
31
|
+
errorBell: true
|
|
32
|
+
successChime: true
|
|
33
|
+
voiceHelp: false
|
|
34
|
+
autoFocus: true
|
|
35
|
+
confirmBeforeCancel: false
|
|
36
|
+
scripts:
|
|
37
|
+
- error-bell.js
|
|
38
|
+
- success-chime.js
|
|
39
|
+
sure_ui:
|
|
40
|
+
- form
|
|
41
|
+
- buttons
|
|
42
|
+
cssClasses:
|
|
43
|
+
form: sure-form
|
|
44
|
+
field: sure-form__field
|
|
45
|
+
input: sure-form__input
|
|
46
|
+
error: sure-form__error
|
|
47
|
+
help: sure-form__help
|
|
48
|
+
label: sure-form__label
|
|
49
|
+
title: sure-form__title
|
|
50
|
+
actions: sure-form__actions
|
|
51
|
+
submit: btn-primary
|
|
52
|
+
cancel: btn-secondary
|
|
53
|
+
example:
|
|
54
|
+
usage: Generate a contact form with name, email, subject and message fields
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: mail-search-filter
|
|
2
|
+
description: Mailbox search bar with facet filter chips (from, to, subject, has-attachment, unread) for incremental mail search
|
|
3
|
+
tier: vibe
|
|
4
|
+
parameters:
|
|
5
|
+
fields:
|
|
6
|
+
- name: placeholder
|
|
7
|
+
type: text
|
|
8
|
+
required: false
|
|
9
|
+
- name: query
|
|
10
|
+
type: text
|
|
11
|
+
required: false
|
|
12
|
+
- name: filters
|
|
13
|
+
type: text
|
|
14
|
+
required: true
|
|
15
|
+
- name: debounceMs
|
|
16
|
+
type: number
|
|
17
|
+
required: false
|
|
18
|
+
- name: onSearch
|
|
19
|
+
type: text
|
|
20
|
+
required: true
|
|
21
|
+
- name: onClear
|
|
22
|
+
type: text
|
|
23
|
+
required: false
|
|
24
|
+
submitLabel:
|
|
25
|
+
en: Search
|
|
26
|
+
es: Buscar
|
|
27
|
+
fr: Rechercher
|
|
28
|
+
cancelLabel:
|
|
29
|
+
en: Clear Filters
|
|
30
|
+
es: Limpiar Filtros
|
|
31
|
+
fr: Effacer les Filtres
|
|
32
|
+
behavior:
|
|
33
|
+
notificationModes:
|
|
34
|
+
- inline
|
|
35
|
+
audio:
|
|
36
|
+
errorBell: false
|
|
37
|
+
successChime: false
|
|
38
|
+
voiceHelp: false
|
|
39
|
+
autoFocus: true
|
|
40
|
+
confirmBeforeCancel: false
|
|
41
|
+
scripts:
|
|
42
|
+
- voice-help.js
|
|
43
|
+
sure_ui:
|
|
44
|
+
- search
|
|
45
|
+
- buttons
|
|
46
|
+
cssClasses:
|
|
47
|
+
form: sure-search
|
|
48
|
+
field: sure-search__input
|
|
49
|
+
input: sure-search__input
|
|
50
|
+
error: sure-search__error
|
|
51
|
+
help: sure-search__help
|
|
52
|
+
label: sure-search__label
|
|
53
|
+
filters: mail-search-filter__chips
|
|
54
|
+
example:
|
|
55
|
+
usage: Generate a mailbox search bar with a query input and from/to/subject/attachment/unread filter chips, 300ms debounce
|
package/package.json
CHANGED