@evlop/native-components 1.0.187 → 1.0.189

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.
Files changed (87) hide show
  1. package/dist/cjs/main.d.ts +0 -3
  2. package/dist/cjs/main.d.ts.map +1 -1
  3. package/dist/cjs/main.js +1 -16
  4. package/dist/cjs/main.js.map +1 -1
  5. package/dist/cjs/src/Avatar.d.ts +1 -1
  6. package/dist/cjs/src/Avatar.d.ts.map +1 -1
  7. package/dist/cjs/src/Button.d.ts.map +1 -1
  8. package/dist/cjs/src/Button.js +2 -2
  9. package/dist/cjs/src/Button.js.map +1 -1
  10. package/dist/cjs/src/Icon/index.d.ts +4 -3
  11. package/dist/cjs/src/Icon/index.d.ts.map +1 -1
  12. package/dist/cjs/src/Icon/index.js +9 -34
  13. package/dist/cjs/src/Icon/index.js.map +1 -1
  14. package/dist/cjs/src/Image/index.d.ts.map +1 -1
  15. package/dist/cjs/src/Image/index.js +6 -6
  16. package/dist/cjs/src/Image/index.js.map +1 -1
  17. package/dist/cjs/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts.map +1 -1
  18. package/dist/cjs/src/RenderBlocks/RenderBlocksAsVirtualizedList.js +4 -2
  19. package/dist/cjs/src/RenderBlocks/RenderBlocksAsVirtualizedList.js.map +1 -1
  20. package/dist/cjs/src/RenderBlocks/index.d.ts.map +1 -1
  21. package/dist/cjs/src/RenderBlocks/index.js +4 -2
  22. package/dist/cjs/src/RenderBlocks/index.js.map +1 -1
  23. package/dist/cjs/src/RenderPage/DrawerLayout.d.ts.map +1 -1
  24. package/dist/cjs/src/RenderPage/DrawerLayout.js +8 -3
  25. package/dist/cjs/src/RenderPage/DrawerLayout.js.map +1 -1
  26. package/dist/cjs/src/RenderTabs/index.d.ts.map +1 -1
  27. package/dist/cjs/src/RenderTabs/index.js +7 -6
  28. package/dist/cjs/src/RenderTabs/index.js.map +1 -1
  29. package/dist/cjs/src/View/index.d.ts +2 -2
  30. package/dist/cjs/src/View/index.d.ts.map +1 -1
  31. package/dist/cjs/src/View/index.js.map +1 -1
  32. package/dist/cjs/src/types.d.ts +5 -0
  33. package/dist/cjs/src/types.d.ts.map +1 -0
  34. package/dist/cjs/{types.js.map → src/types.js.map} +1 -1
  35. package/dist/cjs/types-for-ai.d.ts +7 -0
  36. package/dist/cjs/types-for-ai.d.ts.map +1 -0
  37. package/dist/cjs/types-for-ai.js +14 -0
  38. package/dist/cjs/types-for-ai.js.map +1 -0
  39. package/dist/types/main.ai.d.ts +55 -0
  40. package/dist/types/main.d.ts +0 -3
  41. package/dist/types/main.d.ts.map +1 -1
  42. package/dist/types/src/Avatar.d.ts +1 -1
  43. package/dist/types/src/Avatar.d.ts.map +1 -1
  44. package/dist/types/src/Button.d.ts.map +1 -1
  45. package/dist/types/src/Icon/index.d.ts +4 -3
  46. package/dist/types/src/Icon/index.d.ts.map +1 -1
  47. package/dist/types/src/Image/index.d.ts.map +1 -1
  48. package/dist/types/src/RenderBlocks/RenderBlocksAsVirtualizedList.d.ts.map +1 -1
  49. package/dist/types/src/RenderBlocks/index.d.ts.map +1 -1
  50. package/dist/types/src/RenderPage/DrawerLayout.d.ts.map +1 -1
  51. package/dist/types/src/RenderTabs/index.d.ts.map +1 -1
  52. package/dist/types/src/View/index.d.ts +2 -2
  53. package/dist/types/src/View/index.d.ts.map +1 -1
  54. package/dist/types/src/types.d.ts +5 -0
  55. package/dist/types/src/types.d.ts.map +1 -0
  56. package/dist/types/types-for-ai.d.ts +7 -0
  57. package/dist/types/types-for-ai.d.ts.map +1 -0
  58. package/package.json +6 -2
  59. package/dist/cjs/src/Layouts/HorizontalLayout.d.ts +0 -9
  60. package/dist/cjs/src/Layouts/HorizontalLayout.d.ts.map +0 -1
  61. package/dist/cjs/src/Layouts/HorizontalLayout.js +0 -40
  62. package/dist/cjs/src/Layouts/HorizontalLayout.js.map +0 -1
  63. package/dist/cjs/src/Layouts/VerticalLayout.d.ts +0 -5
  64. package/dist/cjs/src/Layouts/VerticalLayout.d.ts.map +0 -1
  65. package/dist/cjs/src/Layouts/VerticalLayout.js +0 -14
  66. package/dist/cjs/src/Layouts/VerticalLayout.js.map +0 -1
  67. package/dist/cjs/src/Layouts/index.d.ts +0 -3
  68. package/dist/cjs/src/Layouts/index.d.ts.map +0 -1
  69. package/dist/cjs/src/Layouts/index.js +0 -19
  70. package/dist/cjs/src/Layouts/index.js.map +0 -1
  71. package/dist/cjs/src/Row/index.d.ts +0 -5
  72. package/dist/cjs/src/Row/index.d.ts.map +0 -1
  73. package/dist/cjs/src/Row/index.js +0 -17
  74. package/dist/cjs/src/Row/index.js.map +0 -1
  75. package/dist/cjs/types.d.ts +0 -4
  76. package/dist/cjs/types.d.ts.map +0 -1
  77. package/dist/types/src/Layouts/HorizontalLayout.d.ts +0 -9
  78. package/dist/types/src/Layouts/HorizontalLayout.d.ts.map +0 -1
  79. package/dist/types/src/Layouts/VerticalLayout.d.ts +0 -5
  80. package/dist/types/src/Layouts/VerticalLayout.d.ts.map +0 -1
  81. package/dist/types/src/Layouts/index.d.ts +0 -3
  82. package/dist/types/src/Layouts/index.d.ts.map +0 -1
  83. package/dist/types/src/Row/index.d.ts +0 -5
  84. package/dist/types/src/Row/index.d.ts.map +0 -1
  85. package/dist/types/types.d.ts +0 -4
  86. package/dist/types/types.d.ts.map +0 -1
  87. /package/dist/cjs/{types.js → src/types.js} +0 -0
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Button = exports.Icon = exports.Text = exports.Flexbox = exports.View = void 0;
4
+ const View_1 = require("./src/View");
5
+ Object.defineProperty(exports, "View", { enumerable: true, get: function () { return View_1.BaseView; } });
6
+ const Flexbox_1 = require("./src/Flexbox");
7
+ Object.defineProperty(exports, "Flexbox", { enumerable: true, get: function () { return Flexbox_1.BaseFlexbox; } });
8
+ const Text_1 = require("./src/Text");
9
+ Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return Text_1.BaseText; } });
10
+ const Icon_1 = require("./src/Icon");
11
+ Object.defineProperty(exports, "Icon", { enumerable: true, get: function () { return Icon_1.BaseIcon; } });
12
+ const Button_1 = require("./src/Button");
13
+ Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return Button_1.BaseButton; } });
14
+ //# sourceMappingURL=types-for-ai.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-for-ai.js","sourceRoot":"","sources":["../../types-for-ai.ts"],"names":[],"mappings":";;;AAAA,qCAA6C;AAMpC,qFANY,eAAI,OAMZ;AALb,2CAAsD;AAKvC,wFALS,qBAAO,OAKT;AAJtB,qCAA6C;AAIrB,qFAJH,eAAI,OAIG;AAH5B,qCAA6C;AAGf,qFAHT,eAAI,OAGS;AAFlC,yCAAmD;AAEf,uFAFb,mBAAM,OAEa"}
@@ -0,0 +1,55 @@
1
+ import { Action, Color, IconIdentifier, Theme } from '@evlop/commons';
2
+ import React$1 from 'react';
3
+ import { TextProps as RNTextProps, TextStyle, View as RNView, ViewProps, ViewProps as RNViewProps } from 'react-native';
4
+ import { BackgroundColorProps, BackgroundProps, BorderProps, ColorProps, FlexboxProps, FlexboxProps as SSFlexboxProps, FontSizeProps, FontWeightProps, LayoutProps, OpacityProps, PositionProps, ResponsiveValue, SpaceProps, ThemeValue, TypographyProps } from 'styled-system';
5
+
6
+ type BaseViewProps = RNViewProps & FlexboxProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & OpacityProps<Theme>;
7
+ declare const BaseView: React$1.ComponentType<BaseViewProps & React$1.RefAttributes<RNView>>;
8
+ interface GapProps {
9
+ gap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
10
+ rowGap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
11
+ columnGap?: ResponsiveValue<ThemeValue<"space", Theme>, Theme>;
12
+ }
13
+ type BaseFlexboxProps = RNViewProps & BorderProps<Theme> & SSFlexboxProps<Theme> & LayoutProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & GapProps;
14
+ declare const BaseFlexbox: React$1.ComponentType<BaseFlexboxProps>;
15
+ type NativeTextProps = RNTextProps & BorderProps<Theme> & LayoutProps<Theme> & BackgroundProps<Theme> & ColorProps<Theme> & TypographyProps<Theme> & SpaceProps<Theme> & {
16
+ fontScale?: number;
17
+ };
18
+ type BaseTextProps = NativeTextProps & {
19
+ content?: string;
20
+ };
21
+ declare const BaseText: React$1.ComponentType<BaseTextProps>;
22
+ type AppOnlyColors = "header-tint" | "header-background" | "footer-background" | "footer-tint" | "body-background";
23
+ type BaseIconProps = {
24
+ icon?: IconIdentifier;
25
+ size?: number;
26
+ color?: Color | AppOnlyColors;
27
+ flipOnRTL?: boolean;
28
+ onPress?: any;
29
+ };
30
+ declare const BaseIcon: React$1.ComponentType<BaseIconProps>;
31
+ type ButtonSize = "sm" | "md" | "lg" | "xl" | "2xl";
32
+ interface BaseButtonProps extends ViewProps, FontWeightProps<Theme>, FontSizeProps<Theme>, LayoutProps<Theme>, SpaceProps<Theme>, BackgroundColorProps<Theme>, BorderProps<Theme> {
33
+ disabled?: boolean;
34
+ loading?: boolean;
35
+ label?: string;
36
+ variant?: "filled" | "outlined" | "dim-outlined" | "dim-filled-outlined" | "ghost";
37
+ size?: ButtonSize;
38
+ color?: Color;
39
+ textColor?: Color;
40
+ textStyle?: TextStyle;
41
+ action?: Action;
42
+ icon?: IconIdentifier;
43
+ iconPosition?: "left" | "right";
44
+ }
45
+ declare const BaseButton: React$1.FC<BaseButtonProps>;
46
+
47
+ export {
48
+ BaseButton as Button,
49
+ BaseFlexbox as Flexbox,
50
+ BaseIcon as Icon,
51
+ BaseText as Text,
52
+ BaseView as View,
53
+ };
54
+
55
+ export {};
@@ -1,5 +1,4 @@
1
1
  export * from 'react-native-elements';
2
- export * as reactNativeElements from 'react-native-elements';
3
2
  export { default as View, BaseView, BaseViewProps } from './src/View';
4
3
  export { default as AnimatedView, BaseAnimatedView, BaseAnimatedViewProps } from './src/AnimatedView';
5
4
  export { default as Flexbox, BaseFlexbox, BaseFlexboxProps } from './src/Flexbox';
@@ -15,12 +14,10 @@ export { default as Avatar, BaseAvatar } from './src/Avatar';
15
14
  export { default as Swiper } from './src/Swiper';
16
15
  export { SafeAreaView } from './src/SafeAreaView';
17
16
  export { BottomSheet, BottomSheetProps } from './src/BottomSheet';
18
- export * from './src/Row';
19
17
  export * from './src/contexts';
20
18
  export * from './src/Collection';
21
19
  export * from './src/FlatList';
22
20
  export * from './src/WebView';
23
- export * from './src/Layouts';
24
21
  export * from './src/RenderComponent';
25
22
  export * from './src/RenderPage';
26
23
  export * from './src/RenderBlocks';
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../main.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,mBAAmB,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,OAAO,IAAI,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjF,OAAO,EAAC,OAAO,IAAI,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAC,OAAO,IAAI,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAC,OAAO,IAAI,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAC,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BAAmB,EAAC,MAAM,kBAAkB,CAAC;AAC5F,OAAO,EAAC,OAAO,IAAI,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAC,OAAO,IAAI,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAC,OAAO,IAAI,KAAK,EAAE,SAAS,EAAE,cAAc,EAAC,MAAM,aAAa,CAAC;AACxE,OAAO,EAAC,OAAO,IAAI,eAAe,EAAE,mBAAmB,EAAE,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAChH,OAAO,EAAC,OAAO,IAAI,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACpE,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAC,OAAO,IAAI,MAAM,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAClE,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Avatar } from 'react-native-elements';
3
- import { AnyProps } from '../types';
3
+ import { AnyProps } from './types';
4
4
  export declare const BaseAvatar: React.ForwardRefExoticComponent<Pick<AnyProps, string | number> & React.RefAttributes<Avatar>>;
5
5
  declare const AvatarWithSettings: any;
6
6
  export default AvatarWithSettings;
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,UAAU,gGAqBtB,CAAC;AAEF,QAAA,MAAM,kBAAkB,EAAE,GA6BZ,CAAC;AAIf,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,UAAU,gGAqBtB,CAAC;AAEF,QAAA,MAAM,kBAAkB,EAAE,GA6BZ,CAAC;AAIf,eAAe,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAgC,MAAM,gBAAgB,CAAC;AAGpG,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAgC,SAAS,EAAQ,SAAS,EAAE,MAAM,cAAc,CAAC;AAExF,OAAO,EAAmB,oBAAoB,EAAU,WAAW,EAAE,aAAa,EAAE,eAAe,EAAU,WAAW,EAAS,UAAU,EAAuB,MAAM,eAAe,CAAC;AAUxL,aAAK,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAA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IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;AAEpD,MAAM,WAAW,eAAgB,SAAQ,SAAS,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,KAAK,CAAC,EAAE,oBAAoB,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC;IACtL,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,cAAc,GAAG,qBAAqB,GAAG,OAAO,CAAC;IACnF,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACjC;AAkHD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsDhD,CAAC;AAEF,QAAA,MAAM,kBAAkB;;;;;;;6BAIV,CAAC;AAEf,eAAe,kBAAkB,CAAC"}
@@ -1,11 +1,12 @@
1
1
  import { Color, ComponentWithSettings, IconIdentifier } from '@evlop/commons';
2
- import * as React from 'react';
3
- import { IconProps as RNEIconProps } from 'react-native-elements';
4
- export declare type BaseIconProps = Partial<RNEIconProps> & {
2
+ import React from 'react';
3
+ import { AppOnlyColors } from '../types';
4
+ export declare type BaseIconProps = {
5
5
  icon?: IconIdentifier;
6
6
  size?: number;
7
7
  color?: Color | AppOnlyColors;
8
8
  flipOnRTL?: boolean;
9
+ onPress?: any;
9
10
  };
10
11
  export declare const BaseIcon: React.ComponentType<BaseIconProps>;
11
12
  declare const IconWithSettings: ComponentWithSettings<BaseIconProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAuC,MAAM,gBAAgB,CAAC;AAEnH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAA2C,SAAS,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG3G,oBAAY,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC;IAAC,SAAS,CAAC,EAAC,OAAO,CAAA;CAAE,CAAA;AAyB/I,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,aAAa,CAAC,aAAa,CAwBvD,CAAA;AAED,QAAA,MAAM,gBAAgB,EAAE,qBAAqB,CAAC,aAAa,CAiB/C,CAAC;AAEb,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAuC,MAAM,gBAAgB,CAAC;AAEnH,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,oBAAY,aAAa,GAAG;IAAE,IAAI,CAAC,EAAE,cAAc,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC;IAAC,SAAS,CAAC,EAAC,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,GAAG,CAAA;CAAE,CAAA;AAyBtI,eAAO,MAAM,QAAQ,EAAE,KAAK,C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CAAC;AAEd,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAA6B,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAU,WAAW,EAAiB,UAAU,EAAU,MAAM,eAAe,CAAC;AACvF,OAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE9D,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;CAef,CAAC;AAEF,aAAK,SAAS,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAE3C,aAAK,gBAAgB,GAAG,gBAAgB,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG;IAClF,KAAK,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC/B,CAAA;AA2CD,oBAAY,cAAc,GAAG,OAAO,CAAC,gBAAgB,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAC7H,eAAO,MAAM,SAAS;UAD2C,MAAM;0BAAwB,MAAM;kBAAgB,MAAM;6BAgC1H,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAqDzC,CAAC;AAEd,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RenderBlocksAsVirtualizedList.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsVirtualizedList.tsx"],"names":[],"mappings":";AAoCA,iBAAS,6BAA6B,CAAC,EAAC,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAC;;;;CAAA,eA6ClF;AAMD,eAAe,6BAA6B,CAAC"}
1
+ {"version":3,"file":"RenderBlocksAsVirtualizedList.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/RenderBlocksAsVirtualizedList.tsx"],"names":[],"mappings":";AAqCA,iBAAS,6BAA6B,CAAC,EAAC,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAC;;;;CAAA,eA6ClF;AAMD,eAAe,6BAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/index.tsx"],"names":[],"mappings":";AAoBA,eAAO,MAAM,YAAY;;;;iBA+ExB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderBlocks/index.tsx"],"names":[],"mappings":";AAkCA,eAAO,MAAM,YAAY;;;;iBA+ExB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerLayout.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/DrawerLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,UAAU,iBAAiB;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,GAAG,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAoC5D,CAAC;AAQF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"DrawerLayout.d.ts","sourceRoot":"","sources":["../../../../src/RenderPage/DrawerLayout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,UAAU,iBAAiB;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mBAAmB,EAAE,GAAG,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAoC5D,CAAC;AAQF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderTabs/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAkC,MAAM,uBAAuB,CAAC;AAK9E,UAAU,GAAI,SAAQ,KAAK;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,eAAe;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,qBAAqB,CAAC,EAAE,GAAG,CAAC;CAC/B;AAmCD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,EAAE,eAAe,eAgFnE;AA2BD,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/RenderTabs/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,KAAK,EAAkC,MAAM,uBAAuB,CAAC;AAK9E,UAAU,GAAI,SAAQ,KAAK;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,GAAG,EAAE,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,eAAe;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,qBAAqB,CAAC,EAAE,GAAG,CAAC;CAC/B;AAmCD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,EAAE,eAAe,eAiFnE;AA2BD,eAAe,UAAU,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { ComponentWithSettings, Theme } from '@evlop/commons';
2
- import React, { RefAttributes } from 'react';
2
+ import React from 'react';
3
3
  import { View as RNView, ViewProps as RNViewProps } from 'react-native';
4
4
  import { BackgroundProps, BorderProps, ColorProps, LayoutProps, OpacityProps, SpaceProps, PositionProps, FlexboxProps } from 'styled-system';
5
5
  export declare type BaseViewProps = RNViewProps & FlexboxProps<Theme> & BorderProps<Theme> & LayoutProps<Theme> & OpacityProps<Theme> & ColorProps<Theme> & BackgroundProps<Theme> & SpaceProps<Theme> & PositionProps<Theme> & OpacityProps<Theme>;
6
- export declare const BaseView: React.ComponentType<BaseViewProps & RefAttributes<RNView>>;
6
+ export declare const BaseView: React.ComponentType<BaseViewProps & React.RefAttributes<RNView>>;
7
7
  declare const View: ComponentWithSettings<BaseViewProps>;
8
8
  export default View;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/View/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,KAAK,EAAgB,MAAM,gBAAgB,CAAC;AAC5E,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAc,eAAe,EAAU,WAAW,EAAS,UAAU,EAAU,WAAW,EAAW,YAAY,EAAS,UAAU,EAAY,aAAa,EAAW,YAAY,EAAE,MAAM,eAAe,CAAC;AAEnN,oBAAY,aAAa,GAAI,WAAW,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,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MAAM,CAAC,CASnF,CAAC;AAEJ,QAAA,MAAM,IAAI,EAAE,qBAAqB,CAAC,aAAa,CAInC,CAAC;AAGb,eAAe,IAAI,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface AnyProps {
2
+ [key: string]: any;
3
+ }
4
+ export declare type AppOnlyColors = 'header-tint' | 'header-background' | 'footer-background' | 'footer-tint' | 'body-background';
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB;AAED,oBAAY,aAAa,GAAG,aAAa,GAAG,mBAAmB,GAAG,mBAAmB,GAAG,aAAa,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { BaseView as View } from './src/View';
2
+ import { BaseFlexbox as Flexbox } from './src/Flexbox';
3
+ import { BaseText as Text } from './src/Text';
4
+ import { BaseIcon as Icon } from './src/Icon';
5
+ import { BaseButton as Button } from './src/Button';
6
+ export { View, Flexbox, Text, Icon, Button };
7
+ //# sourceMappingURL=types-for-ai.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-for-ai.d.ts","sourceRoot":"","sources":["../../types-for-ai.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAE,QAAQ,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,QAAQ,IAAI,IAAI,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,UAAU,IAAI,MAAM,EAAE,MAAM,cAAc,CAAA;AAEnD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evlop/native-components",
3
- "version": "1.0.187",
3
+ "version": "1.0.189",
4
4
  "description": "",
5
5
  "main": "dist/cjs/main.js",
6
6
  "types": "dist/types/main.d.ts",
@@ -8,9 +8,10 @@
8
8
  "prepack": "npm run build",
9
9
  "test": "echo \"Error: no test specified\" && exit 1",
10
10
  "prebuild": "rm -rf dist",
11
- "build": "npm run build:cjs && npm run build:types && npm run copy-assets",
11
+ "build": "npm run build:cjs && npm run build:types && npm run copy-assets && npm run build:types-for-ai",
12
12
  "build:cjs": "tsc --module commonjs --outDir dist/cjs",
13
13
  "build:types": "tsc --declaration --declarationDir dist/types --emitDeclarationOnly",
14
+ "build:types-for-ai": "dts-bundle-generator -o dist/types/main.ai.d.ts types-for-ai.ts --no-check --no-banner --export-referenced-types=false",
14
15
  "copy-assets": "copyfiles -u 0 \"src/**/*.{png,jpg,jpeg,gif,svg,json}\" dist/cjs"
15
16
  },
16
17
  "files": [
@@ -37,13 +38,16 @@
37
38
  },
38
39
  "devDependencies": {
39
40
  "@evlop/commons": "^1.0.317",
41
+ "@react-navigation/native": "^7.1.17",
40
42
  "@types/lodash": "^4.14.178",
41
43
  "@types/react-native": "^0.73.0",
42
44
  "@types/react-redux": "^7.1.34",
43
45
  "@types/recompose": "^0.30.10",
44
46
  "@types/styled-components-react-native": "^5.1.3",
45
47
  "@types/styled-system": "^5.1.15",
48
+ "axios": "^0.19.2",
46
49
  "copyfiles": "^2.4.1",
50
+ "dts-bundle-generator": "^9.5.1",
47
51
  "i18next": "^21.8.9",
48
52
  "lodash": "^4.17.15",
49
53
  "polished": "^4.3.1",
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const HorizontalLayout: ({ editable, uuid, index, blocks }: {
3
- editable: any;
4
- uuid: any;
5
- index: any;
6
- blocks?: any[];
7
- }) => JSX.Element;
8
- export default HorizontalLayout;
9
- //# sourceMappingURL=HorizontalLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalLayout.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/HorizontalLayout.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,gBAAgB;;;;;iBAiB5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.HorizontalLayout = void 0;
30
- const react_1 = __importStar(require("react"));
31
- const RenderComponent_1 = __importDefault(require("../RenderComponent"));
32
- const Row_1 = require("../Row");
33
- const HorizontalLayout = ({ editable, uuid, index, blocks = [] }) => {
34
- const span = (0, react_1.useMemo)(() => blocks.length && 12 / blocks.length, [blocks]);
35
- return (react_1.default.createElement(Row_1.Row, null, blocks.map(({ uuid, type, data }, index) => (react_1.default.createElement(Row_1.Col, { span: span, key: uuid },
36
- react_1.default.createElement(RenderComponent_1.default, { type: type, uuid: uuid, data: data }))))));
37
- };
38
- exports.HorizontalLayout = HorizontalLayout;
39
- exports.default = exports.HorizontalLayout;
40
- //# sourceMappingURL=HorizontalLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalLayout.js","sourceRoot":"","sources":["../../../../src/Layouts/HorizontalLayout.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AACvC,yEAAiD;AACjD,gCAAkC;AAE3B,MAAM,gBAAgB,GAAG,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,EAAE,EAAC,EAAE,EAAE;IACvE,MAAM,IAAI,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC;IAE1E,OAAO,CAEH,8BAAC,SAAG,QACD,MAAM,CAAC,GAAG,CAAC,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACzC,8BAAC,SAAG,IAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI;QACxB,8BAAC,yBAAe,IACd,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,GACV,CACE,CACP,CAAC,CACE,CACT,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,gBAAgB,oBAiB3B;AAEF,kBAAe,wBAAgB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { AnyProps } from '../../types';
3
- export declare const VerticalLayout: React.FunctionComponent<AnyProps>;
4
- export default VerticalLayout;
5
- //# sourceMappingURL=VerticalLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalLayout.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/VerticalLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,cAAc,EAAC,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAY3D,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.VerticalLayout = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const RenderComponent_1 = __importDefault(require("../RenderComponent"));
9
- const VerticalLayout = ({ blocks }) => {
10
- return (blocks.map(({ uuid, type, data }, index) => (react_1.default.createElement(RenderComponent_1.default, { key: uuid, type: type, uuid: uuid, data: data }))));
11
- };
12
- exports.VerticalLayout = VerticalLayout;
13
- exports.default = exports.VerticalLayout;
14
- //# sourceMappingURL=VerticalLayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalLayout.js","sourceRoot":"","sources":["../../../../src/Layouts/VerticalLayout.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,yEAAiD;AAE1C,MAAM,cAAc,GAAqC,CAAC,EAAC,MAAM,EAAC,EAAE,EAAE;IAE3E,OAAO,CACH,MAAM,CAAC,GAAG,CAAC,CAAC,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACtC,8BAAC,yBAAe,IACd,GAAG,EAAE,IAAI,EACT,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,GACV,CACH,CAAC,CACP,CAAC;AACJ,CAAC,CAAC;AAZW,QAAA,cAAc,kBAYzB;AAEF,kBAAe,sBAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './HorizontalLayout';
2
- export * from './VerticalLayout';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./HorizontalLayout"), exports);
18
- __exportStar(require("./VerticalLayout"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Layouts/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,mDAAiC"}
@@ -1,5 +0,0 @@
1
- import { View } from 'react-native';
2
- import { AnyProps } from '../../types';
3
- export declare const Row: import("styled-components").StyledComponent<typeof View, any, AnyProps, never>;
4
- export declare const Col: import("styled-components").StyledComponent<typeof View, any, AnyProps, never>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Row/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG,gFAEd,CAAC;AAEH,eAAO,MAAM,GAAG,gFAOf,CAAC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Col = exports.Row = void 0;
7
- const react_native_1 = require("react-native");
8
- const native_1 = __importDefault(require("styled-components/native"));
9
- exports.Row = (0, native_1.default)(react_native_1.View)({
10
- flexDirection: 'row',
11
- });
12
- exports.Col = (0, native_1.default)(react_native_1.View)({
13
- flexDirection: 'column',
14
- }, ({ span }) => ({
15
- flexGrow: span,
16
- }));
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Row/index.tsx"],"names":[],"mappings":";;;;;;AAAA,+CAAkC;AAClC,sEAA8C;AAIjC,QAAA,GAAG,GAAG,IAAA,gBAAM,EAAC,mBAAI,CAAC,CAAW;IACxC,aAAa,EAAE,KAAK;CACrB,CAAC,CAAC;AAEU,QAAA,GAAG,GAAG,IAAA,gBAAM,EAAC,mBAAI,CAAC,CAC7B;IACE,aAAa,EAAE,QAAQ;CACxB,EACD,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,IAAI;CACf,CAAC,CACH,CAAC"}
@@ -1,4 +0,0 @@
1
- export interface AnyProps {
2
- [key: string]: any;
3
- }
4
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB"}
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const HorizontalLayout: ({ editable, uuid, index, blocks }: {
3
- editable: any;
4
- uuid: any;
5
- index: any;
6
- blocks?: any[];
7
- }) => JSX.Element;
8
- export default HorizontalLayout;
9
- //# sourceMappingURL=HorizontalLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalLayout.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/HorizontalLayout.tsx"],"names":[],"mappings":";AAIA,eAAO,MAAM,gBAAgB;;;;;iBAiB5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { AnyProps } from '../../types';
3
- export declare const VerticalLayout: React.FunctionComponent<AnyProps>;
4
- export default VerticalLayout;
5
- //# sourceMappingURL=VerticalLayout.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VerticalLayout.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/VerticalLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,cAAc,EAAC,KAAK,CAAC,iBAAiB,CAAC,QAAQ,CAY3D,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './HorizontalLayout';
2
- export * from './VerticalLayout';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Layouts/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { View } from 'react-native';
2
- import { AnyProps } from '../../types';
3
- export declare const Row: import("styled-components").StyledComponent<typeof View, any, AnyProps, never>;
4
- export declare const Col: import("styled-components").StyledComponent<typeof View, any, AnyProps, never>;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Row/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,cAAc,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,eAAO,MAAM,GAAG,gFAEd,CAAC;AAEH,eAAO,MAAM,GAAG,gFAOf,CAAC"}
@@ -1,4 +0,0 @@
1
- export interface AnyProps {
2
- [key: string]: any;
3
- }
4
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,CAAC,GAAG,EAAC,MAAM,GAAG,GAAG,CAAC;CACrB"}
File without changes