@tsed/react-formio 1.10.10 → 1.10.11
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.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +4 -4
- package/src/components/actions-table/actionsTable.component.spec.tsx +15 -17
- package/src/components/actions-table/actionsTable.component.tsx +1 -0
- package/src/components/form-settings/formSettings.component.tsx +1 -0
- package/src/components/input-text/inputText.component.tsx +1 -1
- package/src/components/loader/loader.component.spec.tsx +2 -2
- package/src/components/loader/loader.component.tsx +1 -1
- package/src/components/select/select.component.tsx +1 -1
- package/src/components/table/filters/defaultColumnFilter.component.spec.tsx +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -1268,7 +1268,7 @@ function Select(_ref) {
|
|
|
1268
1268
|
}, React.createElement("select", Object.assign({
|
|
1269
1269
|
ref: ref
|
|
1270
1270
|
}, props, {
|
|
1271
|
-
"data-testid":
|
|
1271
|
+
"data-testid": `select_${name}`,
|
|
1272
1272
|
className: classnames("form-control", size && `form-control-${size}`),
|
|
1273
1273
|
name: name,
|
|
1274
1274
|
id: name,
|
|
@@ -1510,7 +1510,7 @@ function InputText(_ref) {
|
|
|
1510
1510
|
}, React.createElement("input", Object.assign({
|
|
1511
1511
|
type: type || "text"
|
|
1512
1512
|
}, props, {
|
|
1513
|
-
"data-testid":
|
|
1513
|
+
"data-testid": `input_${name}`,
|
|
1514
1514
|
className: classnames("form-control", size && `form-control-${size}`),
|
|
1515
1515
|
id: name,
|
|
1516
1516
|
required: required,
|
|
@@ -1833,7 +1833,8 @@ function ActionsTable(_ref) {
|
|
|
1833
1833
|
"data-testid": "submit",
|
|
1834
1834
|
disabled: currentAction === "",
|
|
1835
1835
|
className: "btn btn-success",
|
|
1836
|
-
onClick: () => currentAction && onAddAction(currentAction)
|
|
1836
|
+
onClick: () => currentAction && onAddAction(currentAction),
|
|
1837
|
+
type: "submit"
|
|
1837
1838
|
}, React.createElement("i", {
|
|
1838
1839
|
className: classnames(iconClass(undefined, "plus"), "mr-1")
|
|
1839
1840
|
}), " ", i18n("Add action")))));
|
|
@@ -3204,7 +3205,8 @@ function FormSettings(props) {
|
|
|
3204
3205
|
"data-testid": 'submit',
|
|
3205
3206
|
disabled: !isValid,
|
|
3206
3207
|
className: "mt-5 btn btn-primary",
|
|
3207
|
-
onClick: onSubmit
|
|
3208
|
+
onClick: onSubmit,
|
|
3209
|
+
type: "submit"
|
|
3208
3210
|
}, i18n("Save settings")));
|
|
3209
3211
|
}
|
|
3210
3212
|
|
|
@@ -22029,7 +22031,7 @@ function Loader({
|
|
|
22029
22031
|
return React.createElement("div", {
|
|
22030
22032
|
className: classnames("opacity-85 z-20 flex items-center justify-center p-5 absolute top-0 right-0 left-0 bottom-0 bg-white", className)
|
|
22031
22033
|
}, React.createElement("span", {
|
|
22032
|
-
"data-testid":
|
|
22034
|
+
"data-testid": `icon_${icon}`,
|
|
22033
22035
|
color: color,
|
|
22034
22036
|
className: `text-11xl ${iconClass(undefined, icon, true)}`
|
|
22035
22037
|
}));
|