@wix/form-public 0.108.0 → 0.110.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.
- package/dist/index.cjs +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -33798,7 +33798,7 @@ function dateValueToString(date) {
|
|
|
33798
33798
|
if (!date) {
|
|
33799
33799
|
return null;
|
|
33800
33800
|
}
|
|
33801
|
-
const year = date.year;
|
|
33801
|
+
const year = String(date.year).padStart(4, "0");
|
|
33802
33802
|
const month = String(date.month).padStart(2, "0");
|
|
33803
33803
|
const day = String(date.day).padStart(2, "0");
|
|
33804
33804
|
return `${year}-${month}-${day}`;
|
|
@@ -34344,7 +34344,8 @@ function timeValueToString(time) {
|
|
|
34344
34344
|
}
|
|
34345
34345
|
const hour = String(time.hour).padStart(2, "0");
|
|
34346
34346
|
const minute = String(time.minute).padStart(2, "0");
|
|
34347
|
-
|
|
34347
|
+
const second = String(time.second).padStart(2, "0");
|
|
34348
|
+
return [hour, minute, second].join(":");
|
|
34348
34349
|
}
|
|
34349
34350
|
var Dropdown = (_ref) => {
|
|
34350
34351
|
let {
|
|
@@ -37370,7 +37371,7 @@ var RadioGroup = (_ref) => {
|
|
|
37370
37371
|
id: inputId,
|
|
37371
37372
|
"aria-labelledby": labelId,
|
|
37372
37373
|
"aria-describedby": ariaDescribedBy,
|
|
37373
|
-
value
|
|
37374
|
+
value,
|
|
37374
37375
|
onChange,
|
|
37375
37376
|
isDisabled: disabled,
|
|
37376
37377
|
isRequired: required,
|
|
@@ -38137,7 +38138,8 @@ function timeValueToString2(time) {
|
|
|
38137
38138
|
}
|
|
38138
38139
|
const hour = String(time.hour).padStart(2, "0");
|
|
38139
38140
|
const minute = String(time.minute).padStart(2, "0");
|
|
38140
|
-
|
|
38141
|
+
const second = String(time.second).padStart(2, "0");
|
|
38142
|
+
return [hour, minute, second].join(":");
|
|
38141
38143
|
}
|
|
38142
38144
|
var LoginBar = (_ref) => {
|
|
38143
38145
|
let {
|