@verbb/formie-browser 1.0.16 → 1.0.17-next.10.g9cef3233dddb
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.
- package/CHANGELOG.md +21 -0
- package/dist/chunks/{address-state-CHKit8AW.js → address-state-OHeW8r8p.js} +1 -1
- package/dist/chunks/{api-BR2Gqy37.js → api-DlW6054X.js} +3 -1
- package/dist/chunks/{bpoint-GvYfyPjD.js → bpoint-BKRpTj1e.js} +1 -1
- package/dist/chunks/{combobox-CJh2DoSO.js → combobox-CTfq6v4y.js} +12 -5
- package/dist/chunks/date-picker-dp41TnRq.js +5351 -0
- package/dist/chunks/{eway-BZuTBAUW.js → eway-9ZTEmiod.js} +1 -1
- package/dist/chunks/{file-upload-vEUr_EuP.js → file-upload-Bhxg5QZe.js} +2 -0
- package/dist/chunks/{go-cardless-DWZeB0Bq.js → go-cardless-BN096eDZ.js} +1 -1
- package/dist/chunks/{hcaptcha-COilLmRT.js → hcaptcha-lseqzFTP.js} +14 -14
- package/dist/chunks/{mollie-8OMXIYa8.js → mollie-DCBzpCmt.js} +1 -1
- package/dist/chunks/{moneris-qYHJ9EFy.js → moneris-CeryRRRJ.js} +1 -1
- package/dist/chunks/{opayo-DlWPEnla.js → opayo-D5cbEqJy.js} +1 -1
- package/dist/chunks/{paddle-CArfWih0.js → paddle-CDiiBCJ8.js} +1 -1
- package/dist/chunks/{paypal-BcaMCMGY.js → paypal-CA-kRKlJ.js} +1 -1
- package/dist/chunks/{payway-vxC7_bfR.js → payway-K9eUUMvk.js} +1 -1
- package/dist/chunks/phone-country-BMyw-Qcz.js +2647 -0
- package/dist/chunks/{square-Dyz0p_GU.js → square-Bn6y1M0R.js} +1 -1
- package/dist/chunks/{stripe-Bfd_jp_k.js → stripe-CmzSSdMg.js} +1 -1
- package/dist/chunks/{upload-manager-Ccg3d_4I.js → upload-manager-cGKWwGhu.js} +196 -192
- package/dist/css/formie-base.css +26 -26
- package/dist/css/theme-base/_primitives.css +9 -8
- package/dist/index.js +481 -452
- package/dist/js/core/client-rendered-modules.d.ts +6 -6
- package/dist/js/core/client-rendered-modules.d.ts.map +1 -1
- package/dist/js/core/create-formie-client.d.ts.map +1 -1
- package/dist/js/core/submit-result-state.d.ts.map +1 -1
- package/dist/js/core/submit-result-ui.d.ts.map +1 -1
- package/dist/js/core/validation-focus.d.ts +1 -0
- package/dist/js/core/validation-focus.d.ts.map +1 -1
- package/dist/js/modules/captchas/hcaptcha.d.ts.map +1 -1
- package/dist/js/modules/fields/combobox.d.ts.map +1 -1
- package/dist/js/modules/fields/file-upload.d.ts.map +1 -1
- package/dist/js/modules/fields/phone-country.d.ts.map +1 -1
- package/dist/js/modules/fields/upload-manager.d.ts.map +1 -1
- package/dist/js/modules/loader.d.ts.map +1 -1
- package/dist/js/theme/message-attributes.d.ts +4 -0
- package/dist/js/theme/message-attributes.d.ts.map +1 -0
- package/dist/js/transport/forms-api.d.ts +1 -1
- package/dist/js/transport/forms-api.d.ts.map +1 -1
- package/dist/js/validation/validator.d.ts.map +1 -1
- package/package.json +6 -4
- package/src/css/formie-base.css +26 -26
- package/src/css/theme-base/_primitives.css +9 -8
- package/src/js/core/client-rendered-modules.ts +1 -1
- package/src/js/core/create-formie-client.ts +54 -33
- package/src/js/core/submit-flow.ts +2 -2
- package/src/js/core/submit-result-state.ts +5 -0
- package/src/js/core/submit-result-ui.ts +10 -2
- package/src/js/core/validation-focus.ts +40 -15
- package/src/js/modules/captchas/hcaptcha.ts +3 -2
- package/src/js/modules/fields/combobox.ts +27 -2
- package/src/js/modules/fields/date-picker.ts +3 -3
- package/src/js/modules/fields/file-upload.ts +7 -0
- package/src/js/modules/fields/phone-country.ts +25 -17
- package/src/js/modules/fields/upload-manager.ts +30 -14
- package/src/js/modules/loader.ts +7 -0
- package/src/js/theme/message-attributes.ts +54 -0
- package/src/js/transport/forms-api.ts +6 -1
- package/src/js/utils/country-from-ip.ts +1 -1
- package/src/js/validation/validator.ts +3 -2
- package/src/vendor.d.ts +2 -3
- package/dist/chunks/date-picker-BVJxJVYT.js +0 -5321
- package/dist/chunks/phone-country-Bx9EG50h.js +0 -2645
package/dist/css/formie-base.css
CHANGED
|
@@ -2,53 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
@layer formie-base {
|
|
4
4
|
|
|
5
|
-
.formie-form,
|
|
6
|
-
.formie-form fieldset,
|
|
7
|
-
.formie-form legend,
|
|
8
|
-
.formie-form h1,
|
|
9
|
-
.formie-form h2,
|
|
10
|
-
.formie-form h3,
|
|
11
|
-
.formie-form h4,
|
|
12
|
-
.formie-form h5,
|
|
13
|
-
.formie-form h6,
|
|
14
|
-
.formie-form p,
|
|
15
|
-
.formie-form ul,
|
|
16
|
-
.formie-form ol,
|
|
17
|
-
.formie-form menu,
|
|
18
|
-
.formie-form dl,
|
|
19
|
-
.formie-form dd,
|
|
20
|
-
.formie-form blockquote,
|
|
21
|
-
.formie-form figure {
|
|
5
|
+
:where(.formie-form),
|
|
6
|
+
:where(.formie-form) fieldset,
|
|
7
|
+
:where(.formie-form) legend,
|
|
8
|
+
:where(.formie-form) h1,
|
|
9
|
+
:where(.formie-form) h2,
|
|
10
|
+
:where(.formie-form) h3,
|
|
11
|
+
:where(.formie-form) h4,
|
|
12
|
+
:where(.formie-form) h5,
|
|
13
|
+
:where(.formie-form) h6,
|
|
14
|
+
:where(.formie-form) p,
|
|
15
|
+
:where(.formie-form) ul,
|
|
16
|
+
:where(.formie-form) ol,
|
|
17
|
+
:where(.formie-form) menu,
|
|
18
|
+
:where(.formie-form) dl,
|
|
19
|
+
:where(.formie-form) dd,
|
|
20
|
+
:where(.formie-form) blockquote,
|
|
21
|
+
:where(.formie-form) figure {
|
|
22
22
|
margin: 0;
|
|
23
23
|
padding: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.formie-form,
|
|
27
|
-
.formie-form *,
|
|
28
|
-
.formie-form *::before,
|
|
29
|
-
.formie-form *::after {
|
|
26
|
+
:where(.formie-form),
|
|
27
|
+
:where(.formie-form) *,
|
|
28
|
+
:where(.formie-form) *::before,
|
|
29
|
+
:where(.formie-form) *::after {
|
|
30
30
|
box-sizing: border-box;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.formie-page-container,
|
|
34
34
|
.formie-field-layout,
|
|
35
|
-
.formie-form fieldset,
|
|
36
|
-
.formie-form legend {
|
|
35
|
+
:where(.formie-form) fieldset,
|
|
36
|
+
:where(.formie-form) legend {
|
|
37
37
|
border: 0;
|
|
38
38
|
min-inline-size: 0;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* Fix for Firefox display issue in fieldset */
|
|
42
|
-
body:not(:-moz-handler-blocked) .formie-form fieldset {
|
|
42
|
+
body:not(:-moz-handler-blocked) :where(.formie-form) fieldset {
|
|
43
43
|
display: table-cell;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.formie-form legend {
|
|
46
|
+
:where(.formie-form) legend {
|
|
47
47
|
/* legend should be `display: contents` to work with grid */
|
|
48
48
|
display: contents;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.formie-form legend * {
|
|
51
|
+
:where(.formie-form) legend * {
|
|
52
52
|
/* legend should be `display: contents` to work with grid */
|
|
53
53
|
display: contents;
|
|
54
54
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
@layer formie-theme-base {
|
|
2
|
-
.
|
|
3
|
-
.formie-form
|
|
4
|
-
.formie-form
|
|
5
|
-
.formie-form
|
|
6
|
-
.formie-form
|
|
7
|
-
.formie-form
|
|
2
|
+
/* Keep resets weaker than control classes when compiled without layers. */
|
|
3
|
+
:where(.formie-form) button,
|
|
4
|
+
:where(.formie-form) input,
|
|
5
|
+
:where(.formie-form) select,
|
|
6
|
+
:where(.formie-form) optgroup,
|
|
7
|
+
:where(.formie-form) textarea,
|
|
8
|
+
:where(.formie-form) ::file-selector-button {
|
|
8
9
|
margin: 0;
|
|
9
10
|
font: inherit;
|
|
10
11
|
font-feature-settings: inherit;
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
opacity: 1;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
.formie-form a,
|
|
21
|
+
:where(.formie-form) a,
|
|
21
22
|
.formie-link,
|
|
22
23
|
.formie-address-location {
|
|
23
24
|
color: var(--formie-color-primary);
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
transition: color 150ms ease;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
|
-
.formie-form a:hover,
|
|
30
|
+
:where(.formie-form) a:hover,
|
|
30
31
|
.formie-link:hover,
|
|
31
32
|
.formie-address-location:hover {
|
|
32
33
|
color: var(--formie-color-primary-hover);
|