@@ -41,9 +41,9 @@ abstract class React {
41
41
dynamic defaultValue,
42
42
int Function (dynamic currentValue, dynamic nextValue) calculateChangedBits,
43
43
]);
44
- @Deprecated ('6 .0.0' )
44
+ @Deprecated ('7 .0.0' )
45
45
external static ReactClass createClass (ReactClassConfig reactClassConfig);
46
- @Deprecated ('6 .0.0' )
46
+ @Deprecated ('7 .0.0' )
47
47
external static ReactJsComponentFactory createFactory (type);
48
48
external static ReactElement createElement (dynamic type, props, [dynamic children]);
49
49
external static JsRef createRef ();
@@ -397,9 +397,9 @@ class ReactClass {
397
397
///
398
398
/// For use in [ReactDartComponentFactoryProxy] when creating new [ReactElement] s,
399
399
/// or for external use involving inspection of Dart prop defaults.
400
- @Deprecated ('6 .0.0' )
400
+ @Deprecated ('7 .0.0` ' )
401
401
external Map get dartDefaultProps;
402
- @Deprecated ('6 .0.0' )
402
+ @Deprecated ('7 .0.0` ' )
403
403
external set dartDefaultProps (Map value);
404
404
405
405
/// A string to distinguish between different Dart component implementations / base classes.
@@ -451,8 +451,8 @@ abstract class ReactDartComponentVersion {
451
451
///
452
452
/// > __DEPRECATED.__
453
453
/// >
454
- /// > Will be removed alongside [React.createClass] in the `6 .0.0` release.
455
- @Deprecated ('6 .0.0' )
454
+ /// > Will be removed alongside [React.createClass] in the `7 .0.0` release.
455
+ @Deprecated ('7 .0.0' )
456
456
@JS ()
457
457
@anonymous
458
458
class ReactClassConfig {
@@ -559,7 +559,7 @@ class ReactPortal {
559
559
@JS ()
560
560
@anonymous
561
561
class ReactComponent {
562
- // TODO: Cast as Component2 in 6 .0.0
562
+ // TODO: Cast as Component2 in 7 .0.0
563
563
external Component get dartComponent;
564
564
// TODO how to make this JsMap without breaking stuff?
565
565
external InteropProps get props;
@@ -587,8 +587,8 @@ class ReactComponent {
587
587
/// > This API was never stable in any version of ReactJS, and was replaced with a new, incompatible context API
588
588
/// > in ReactJS 16 that is exposed via the [Component2] class.
589
589
/// >
590
- /// > This will be completely removed when the JS side of it is slated for removal (ReactJS 17 / react.dart 6 .0.0)
591
- @Deprecated ('6 .0.0' )
590
+ /// > This will be completely removed when the JS side of it is slated for removal (ReactJS 18 / react.dart 7 .0.0)
591
+ @Deprecated ('7 .0.0' )
592
592
@JS ()
593
593
@anonymous
594
594
class InteropContextValue {
@@ -623,8 +623,8 @@ class InteropProps implements JsMap {
623
623
/// replacement - `Component2` utilizes JS Maps for props,
624
624
/// making `internal` obsolete.
625
625
///
626
- /// Will be removed alongside `Component` in the `6 .0.0` release.
627
- @Deprecated ('6 .0.0' )
626
+ /// Will be removed alongside `Component` in the `7 .0.0` release.
627
+ @Deprecated ('7 .0.0' )
628
628
external ReactDartComponentInternal get internal;
629
629
external dynamic get key;
630
630
external dynamic get ref;
@@ -638,8 +638,8 @@ class InteropProps implements JsMap {
638
638
/// replacement - `Component2` utilizes JS Maps for props,
639
639
/// making `InteropProps` obsolete.
640
640
///
641
- /// Will be removed alongside `Component` in the `6 .0.0` release.
642
- @Deprecated ('6 .0.0' )
641
+ /// Will be removed alongside `Component` in the `7 .0.0` release.
642
+ @Deprecated ('7 .0.0' )
643
643
external factory InteropProps ({
644
644
ReactDartComponentInternal internal,
645
645
String key,
@@ -653,13 +653,13 @@ class InteropProps implements JsMap {
653
653
/// replacement - `Component2` utilizes JS Maps for props,
654
654
/// making `InteropProps` obsolete.
655
655
///
656
- /// Will be removed alongside `Component` in the `6 .0.0` release.
656
+ /// Will be removed alongside `Component` in the `7 .0.0` release.
657
657
///
658
658
/// > Internal react-dart information used to proxy React JS lifecycle to Dart
659
659
/// > [Component] instances.
660
660
/// >
661
661
/// > __For internal/advanced use only.__
662
- @Deprecated ('6 .0.0' )
662
+ @Deprecated ('7 .0.0' )
663
663
class ReactDartComponentInternal {
664
664
/// For a `ReactElement` , this is the initial props with defaults merged.
665
665
///
@@ -678,8 +678,8 @@ class ReactDartComponentInternal {
678
678
/// > This API was never stable in any version of ReactJS, and was replaced with a new, incompatible context API
679
679
/// > in ReactJS 16 that is exposed via the [Component2] class.
680
680
/// >
681
- /// > This will be completely removed when the JS side of it is slated for removal (ReactJS 17 / react.dart 6 .0.0)
682
- @Deprecated ('6 .0.0' )
681
+ /// > This will be completely removed when the JS side of it is slated for removal (ReactJS 18 / react.dart 7 .0.0)
682
+ @Deprecated ('7 .0.0' )
683
683
class ReactDartContextInternal {
684
684
final dynamic value;
685
685
@@ -733,9 +733,9 @@ void markChildrenValidated(List<dynamic> children) {
733
733
///
734
734
/// > __DEPRECATED.__
735
735
/// >
736
- /// > Will be removed in `6 .0.0` alongside [Component] .
736
+ /// > Will be removed in `7 .0.0` alongside [Component] .
737
737
@JS ('_createReactDartComponentClass' )
738
- @Deprecated ('6 .0.0' )
738
+ @Deprecated ('7 .0.0' )
739
739
external ReactClass createReactDartComponentClass (
740
740
ReactDartInteropStatics dartInteropStatics, ComponentStatics componentStatics,
741
741
[JsComponentConfig jsConfig]);
@@ -768,10 +768,10 @@ bool get inReactDevMode => _inReactDevMode;
768
768
///
769
769
/// __Deprecated.__
770
770
///
771
- /// Will be removed when [Component] is removed in the `6 .0.0` release.
771
+ /// Will be removed when [Component] is removed in the `7 .0.0` release.
772
772
@JS ()
773
773
@anonymous
774
- @Deprecated ('6 .0.0' )
774
+ @Deprecated ('7 .0.0' )
775
775
class ReactDartInteropStatics {
776
776
external factory ReactDartInteropStatics ({
777
777
Component Function (
@@ -837,8 +837,8 @@ class ComponentStatics2 {
837
837
/// > via the [Component2] class and is supported by [JsComponentConfig2] .
838
838
/// >
839
839
/// > This will be completely removed when the JS side of `context` it is slated for
840
- /// > removal (ReactJS 17 / react.dart 6 .0.0)
841
- @Deprecated ('6 .0.0' )
840
+ /// > removal (ReactJS 18 / react.dart 7 .0.0)
841
+ @Deprecated ('7 .0.0' )
842
842
@JS ()
843
843
@anonymous
844
844
class JsComponentConfig {
0 commit comments