Skip to content

Commit c128fa6

Browse files
committed
fix(all): fixed missing component mapper type extension
1 parent b774389 commit c128fa6

File tree

5 files changed

+8
-34
lines changed

5 files changed

+8
-34
lines changed

packages/blueprint-component-mapper/src/files/component-mapper.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentTypes } from '@data-driven-forms/react-form-renderer';
1+
import { ComponentTypes, ComponentMapper } from '@data-driven-forms/react-form-renderer';
22

33
interface Components {
44
TextField: React.ComponentType;
@@ -16,7 +16,7 @@ interface Components {
1616
Slider: React.ComponentType;
1717
}
1818

19-
interface componentMapper {
19+
interface componentMapper extends ComponentMapper {
2020
[ComponentTypes.TEXT_FIELD]: React.ComponentType;
2121
[ComponentTypes.TEXTAREA]: React.ComponentType;
2222
[ComponentTypes.SELECT]: React.ComponentType;

packages/mui-component-mapper/src/files/component-mapper.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentTypes } from '@data-driven-forms/react-form-renderer';
1+
import { ComponentTypes, ComponentMapper } from '@data-driven-forms/react-form-renderer';
22

33
interface Components {
44
TextField: React.ComponentType;
@@ -16,7 +16,7 @@ interface Components {
1616
Slider: React.ComponentType;
1717
}
1818

19-
interface componentMapper {
19+
interface componentMapper extends ComponentMapper {
2020
[ComponentTypes.TEXT_FIELD]: React.ComponentType;
2121
[ComponentTypes.TEXTAREA]: React.ComponentType;
2222
[ComponentTypes.SELECT]: React.ComponentType;

packages/pf4-component-mapper/src/files/component-mapper.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentTypes } from '@data-driven-forms/react-form-renderer';
1+
import { ComponentTypes, ComponentMapper } from '@data-driven-forms/react-form-renderer';
22

33
interface Components {
44
TextField: React.ComponentType;
@@ -16,7 +16,7 @@ interface Components {
1616
Slider: React.ComponentType;
1717
}
1818

19-
interface componentMapper {
19+
interface componentMapper extends ComponentMapper {
2020
[ComponentTypes.TEXT_FIELD]: React.ComponentType;
2121
[ComponentTypes.TEXTAREA]: React.ComponentType;
2222
[ComponentTypes.SELECT]: React.ComponentType;

packages/suir-component-mapper/src/files/component-mapper.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentTypes } from '@data-driven-forms/react-form-renderer';
1+
import { ComponentTypes, ComponentMapper } from '@data-driven-forms/react-form-renderer';
22

33
interface Components {
44
TextField: React.ComponentType;
@@ -16,7 +16,7 @@ interface Components {
1616
Slider: React.ComponentType;
1717
}
1818

19-
interface componentMapper {
19+
interface componentMapper extends ComponentMapper {
2020
[ComponentTypes.TEXT_FIELD]: React.ComponentType;
2121
[ComponentTypes.TEXTAREA]: React.ComponentType;
2222
[ComponentTypes.SELECT]: React.ComponentType;

yarn.lock

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,32 +1893,6 @@
18931893
react-redux "^7.1.3"
18941894
redux "^4.0.5"
18951895

1896-
"@data-driven-forms/mui-component-mapper@*":
1897-
version "2.4.8"
1898-
resolved "https://registry.yarnpkg.com/@data-driven-forms/mui-component-mapper/-/mui-component-mapper-2.4.8.tgz#300c1ba744c6d9bc402554081ed859c68c27ac4e"
1899-
integrity sha512-QHpZhDdU8wle08rN5qpatT8iJPDlykbSP1eg7o6cT0nm9iVNCiNmm2MOApIueE9hUQ78YGgQt8A6r8GFu38Z3g==
1900-
dependencies:
1901-
"@date-io/date-fns" "^1.0.1"
1902-
"@date-io/moment" "^1.0.1"
1903-
"@material-ui/lab" "^4.0.0-alpha.53"
1904-
clsx "^1.0.4"
1905-
date-fns "^1.30.1"
1906-
material-ui-pickers "^2.2.4"
1907-
moment "^2.23.0"
1908-
1909-
"@data-driven-forms/react-form-renderer@*":
1910-
version "2.4.8"
1911-
resolved "https://registry.yarnpkg.com/@data-driven-forms/react-form-renderer/-/react-form-renderer-2.4.8.tgz#cbb3ad29577fba3fc2879d04c3b5b00b8920f866"
1912-
integrity sha512-pN7IaiFUHfll9rbFTwyT+dAKot8xhmkoVXQex7kx//hZ8m5eMU69k1DW1DJCCG9BM/V5PltLgNXTaCB+WHZpXQ==
1913-
dependencies:
1914-
final-form "^4.19.1"
1915-
final-form-arrays "^3.0.2"
1916-
final-form-focus "^1.1.2"
1917-
lodash "^4.17.15"
1918-
prop-types "^15.7.2"
1919-
react-final-form "^6.4.0"
1920-
react-final-form-arrays "^3.1.1"
1921-
19221896
"@date-io/core@^1.3.11":
19231897
version "1.3.11"
19241898
resolved "https://registry.yarnpkg.com/@date-io/core/-/core-1.3.11.tgz#98e3c366794dfff571e39227e5d718ac7f26b729"

0 commit comments

Comments
 (0)