Fabric: `text` module was moved to `components` subdirectory

Summary:
@public
Trivial. We move all components into `/components/` subdirectory.

Reviewed By: mdvacca

Differential Revision: D8757014

fbshipit-source-id: 9db94d38fe027e9125d017a17cbd4cf79f0bcf88
This commit is contained in:
Valentin Shergin 2018-07-15 16:46:26 -07:00 committed by Facebook Github Bot
parent 2c28310267
commit ecbe9acbaa
26 changed files with 22 additions and 23 deletions

View File

@ -7,10 +7,10 @@
#import "RCTParagraphComponentView.h"
#import <fabric/components/text/ParagraphLocalData.h>
#import <fabric/components/text/ParagraphProps.h>
#import <fabric/core/LocalData.h>
#import <fabric/graphics/Geometry.h>
#import <fabric/text/ParagraphLocalData.h>
#import <fabric/text/ParagraphProps.h>
#import <fabric/textlayoutmanager/TextLayoutManager.h>
#import <fabric/textlayoutmanager/RCTTextLayoutManager.h>
#import "RCTConversions.h"

View File

@ -32,7 +32,7 @@ rn_xplat_cxx_library(
("text", "*.h"),
("rawtext", "*.h"),
],
prefix = "fabric/text",
prefix = "fabric/components/text",
),
compiler_flags = [
"-fexceptions",

View File

@ -7,11 +7,11 @@
#include "BaseTextShadowNode.h"
#include <fabric/components/text/RawTextShadowNode.h>
#include <fabric/components/text/RawTextProps.h>
#include <fabric/components/text/TextShadowNode.h>
#include <fabric/components/text/TextProps.h>
#include <fabric/debug/DebugStringConvertibleItem.h>
#include <fabric/text/RawTextShadowNode.h>
#include <fabric/text/RawTextProps.h>
#include <fabric/text/TextShadowNode.h>
#include <fabric/text/TextProps.h>
namespace facebook {
namespace react {

View File

@ -7,8 +7,8 @@
#pragma once
#include <fabric/components/text/ParagraphShadowNode.h>
#include <fabric/core/ConcreteComponentDescriptor.h>
#include <fabric/text/ParagraphShadowNode.h>
#include <fabric/textlayoutmanager/TextLayoutManager.h>
namespace facebook {

View File

@ -11,8 +11,8 @@
#include <memory>
#include <fabric/attributedstring/ParagraphAttributes.h>
#include <fabric/components/text/BaseTextProps.h>
#include <fabric/core/Props.h>
#include <fabric/text/BaseTextProps.h>
#include <fabric/view/ViewProps.h>
namespace facebook {

View File

@ -7,11 +7,11 @@
#pragma once
#include <fabric/components/text/ParagraphProps.h>
#include <fabric/components/text/TextShadowNode.h>
#include <fabric/core/ConcreteShadowNode.h>
#include <fabric/core/ShadowNode.h>
#include <fabric/core/LayoutContext.h>
#include <fabric/text/ParagraphProps.h>
#include <fabric/text/TextShadowNode.h>
#include <fabric/textlayoutmanager/TextLayoutManager.h>
#include <fabric/view/ConcreteViewShadowNode.h>
#include <folly/Optional.h>

View File

@ -7,8 +7,8 @@
#pragma once
#include <fabric/components/text/RawTextShadowNode.h>
#include <fabric/core/ConcreteComponentDescriptor.h>
#include <fabric/text/RawTextShadowNode.h>
namespace facebook {
namespace react {

View File

@ -9,9 +9,9 @@
#include <memory>
#include <fabric/components/text/RawTextProps.h>
#include <fabric/core/ConcreteShadowNode.h>
#include <fabric/core/ShadowNode.h>
#include <fabric/text/RawTextProps.h>
namespace facebook {
namespace react {

View File

@ -7,8 +7,8 @@
#pragma once
#include <fabric/components/text/TextShadowNode.h>
#include <fabric/core/ConcreteComponentDescriptor.h>
#include <fabric/text/TextShadowNode.h>
namespace facebook {
namespace react {

View File

@ -8,10 +8,10 @@
#pragma once
#include <fabric/attributedstring/TextAttributes.h>
#include <fabric/components/text/BaseTextProps.h>
#include <fabric/core/Props.h>
#include <fabric/graphics/Color.h>
#include <fabric/graphics/Geometry.h>
#include <fabric/text/BaseTextProps.h>
namespace facebook {
namespace react {

View File

@ -9,11 +9,11 @@
#include <fabric/attributedstring/AttributedString.h>
#include <fabric/attributedstring/TextAttributes.h>
#include <fabric/components/text/BaseTextShadowNode.h>
#include <fabric/components/text/TextProps.h>
#include <fabric/components/text/TextShadowNode.h>
#include <fabric/core/ConcreteShadowNode.h>
#include <fabric/core/ShadowNode.h>
#include <fabric/text/BaseTextShadowNode.h>
#include <fabric/text/TextProps.h>
#include <fabric/text/TextShadowNode.h>
namespace facebook {
namespace react {

View File

@ -56,12 +56,11 @@ rn_xplat_cxx_library(
"xplat//folly:memory",
"xplat//folly:molly",
"xplat//third-party/glog:glog",
react_native_xplat_target("fabric/components/text:text"),
react_native_xplat_target("fabric/core:core"),
react_native_xplat_target("fabric/debug:debug"),
react_native_xplat_target("fabric/text:text"),
react_native_xplat_target("fabric/view:view"),
react_native_xplat_target("fabric/scrollview:scrollview"),
react_native_xplat_target("fabric/text:text"),
],
)

View File

@ -5,11 +5,11 @@
#include "Scheduler.h"
#include <fabric/components/text/ParagraphComponentDescriptor.h>
#include <fabric/components/text/RawTextComponentDescriptor.h>
#include <fabric/components/text/TextComponentDescriptor.h>
#include <fabric/core/LayoutContext.h>
#include <fabric/scrollview/ScrollViewComponentDescriptor.h>
#include <fabric/text/ParagraphComponentDescriptor.h>
#include <fabric/text/RawTextComponentDescriptor.h>
#include <fabric/text/TextComponentDescriptor.h>
#include <fabric/uimanager/ComponentDescriptorRegistry.h>
#include <fabric/uimanager/FabricUIManager.h>
#include <fabric/view/ViewComponentDescriptor.h>