@mapples/ui 1.6.0-beta.20260917131610 → 1.6.0-beta.20260923095103
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/CHANGELOG.md +4 -1
- package/dist/components/typography/Typography/Typography.d.ts +9 -1
- package/dist/components/typography/Typography/Typography.d.ts.map +1 -1
- package/dist/components/typography/Typography/Typography.js.map +1 -1
- package/dist/components/views/FlatList/Grid.d.ts +39 -0
- package/dist/components/views/FlatList/Grid.d.ts.map +1 -0
- package/dist/components/views/FlatList/Grid.js +41 -0
- package/dist/components/views/FlatList/Grid.js.map +1 -0
- package/dist/components/views/FlatList/index.d.ts +1 -0
- package/dist/components/views/FlatList/index.d.ts.map +1 -1
- package/dist/components/views/FlatList/index.js +1 -0
- package/dist/components/views/FlatList/index.js.map +1 -1
- package/dist/components/views/FlatList/schematics.d.ts.map +1 -1
- package/dist/components/views/FlatList/schematics.js +4 -3
- package/dist/components/views/FlatList/schematics.js.map +1 -1
- package/dist/components/views/ScrollView/HorizontalScrollView.d.ts +27 -0
- package/dist/components/views/ScrollView/HorizontalScrollView.d.ts.map +1 -0
- package/dist/components/views/ScrollView/HorizontalScrollView.js +28 -0
- package/dist/components/views/ScrollView/HorizontalScrollView.js.map +1 -0
- package/dist/components/views/ScrollView/ScrollView.d.ts +4 -4
- package/dist/components/views/ScrollView/ScrollView.d.ts.map +1 -1
- package/dist/components/views/ScrollView/ScrollView.js.map +1 -1
- package/dist/components/views/ScrollView/index.d.ts +1 -0
- package/dist/components/views/ScrollView/index.d.ts.map +1 -1
- package/dist/components/views/ScrollView/index.js +1 -0
- package/dist/components/views/ScrollView/index.js.map +1 -1
- package/dist/components/views/ScrollView/schematics.d.ts +1 -1
- package/dist/components/views/ScrollView/schematics.d.ts.map +1 -1
- package/dist/components/views/ScrollView/schematics.js +3 -2
- package/dist/components/views/ScrollView/schematics.js.map +1 -1
- package/dist/components/views/View/Container.d.ts +22 -0
- package/dist/components/views/View/Container.d.ts.map +1 -0
- package/dist/components/views/View/Container.js +21 -0
- package/dist/components/views/View/Container.js.map +1 -0
- package/dist/components/views/View/index.d.ts +1 -0
- package/dist/components/views/View/index.d.ts.map +1 -1
- package/dist/components/views/View/index.js +1 -0
- package/dist/components/views/View/index.js.map +1 -1
- package/dist/components/views/View/schematics.d.ts +2 -2
- package/dist/components/views/View/schematics.d.ts.map +1 -1
- package/dist/components/views/View/schematics.js +4 -3
- package/dist/components/views/View/schematics.js.map +1 -1
- package/dist/components/views/schematics.d.ts +2 -2
- package/dist/components/views/schematics.d.ts.map +1 -1
- package/dist/components/views/schematics.js +2 -2
- package/dist/components/views/schematics.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# @mapples/ui
|
|
2
2
|
|
|
3
|
-
## 1.6.0-beta.
|
|
3
|
+
## 1.6.0-beta.20260923095103
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- a6c5872: All `@mapples/*` runtime packages now share one version and are versioned and published together from `mapplesorg/mapples-kit`; `mapples-open-kit` is a read-only mirror of the source.
|
|
8
|
+
- 8e57dff: `Container`, `HorizontalScrollView`, `GridTwoColumns`, `GridThreeColumns` and `GridFourColumns` are now real components, so the imports generated code writes for those canvas types render instead of throwing "Element type is invalid". `HorizontalScrollView` scrolls horizontally by default and each grid carries its column count. The `HorizontalScrollView` schematic export is renamed `HorizontalScrollViewSchematic`, in line with the other schematics.
|
|
9
|
+
|
|
10
|
+
`Typography` now types `variant` and `color`, and `ScrollView` takes React Native's `ScrollViewProps`, so `styled.contentContainerStyle` type-checks.
|
|
8
11
|
|
|
9
12
|
## 1.5.0
|
|
10
13
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { WithStyledProps } from '@mapples/style';
|
|
2
|
+
import { WithStyledProps, TypographyProps as StyledTypographyProps } from '@mapples/style';
|
|
3
3
|
import { TextProps as RNTextProps, Text } from 'react-native';
|
|
4
4
|
/**
|
|
5
5
|
* Props for the Typography component.
|
|
@@ -9,6 +9,10 @@ import { TextProps as RNTextProps, Text } from 'react-native';
|
|
|
9
9
|
export type TextProps = PropsWithChildren<WithStyledProps<RNTextProps> & {
|
|
10
10
|
/** The text content to display */
|
|
11
11
|
text?: string;
|
|
12
|
+
/** The typography variant to apply (e.g. `Headline`, `Body`, `Caption`) */
|
|
13
|
+
variant?: StyledTypographyProps['variant'];
|
|
14
|
+
/** Colour that overrides the variant's colour, or `false` to apply none */
|
|
15
|
+
color?: StyledTypographyProps['color'];
|
|
12
16
|
}>;
|
|
13
17
|
/**
|
|
14
18
|
* A styled typography component backed by the `@mapples/style` Typography
|
|
@@ -35,6 +39,10 @@ declare const Typography: import("react").ForwardRefExoticComponent<{
|
|
|
35
39
|
} & RNTextProps & {
|
|
36
40
|
/** The text content to display */
|
|
37
41
|
text?: string;
|
|
42
|
+
/** The typography variant to apply (e.g. `Headline`, `Body`, `Caption`) */
|
|
43
|
+
variant?: StyledTypographyProps["variant"];
|
|
44
|
+
/** Colour that overrides the variant's colour, or `false` to apply none */
|
|
45
|
+
color?: StyledTypographyProps["color"];
|
|
38
46
|
} & {
|
|
39
47
|
children?: import("react").ReactNode | undefined;
|
|
40
48
|
} & import("react").RefAttributes<Text>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,eAAe,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EACL,eAAe,EAEf,eAAe,IAAI,qBAAqB,EACzC,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE9D;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;IAC3C,2EAA2E;IAC3E,KAAK,CAAC,EAAE,qBAAqB,CAAC,OAAO,CAAC,CAAC;CACxC,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,UAAU;;;IA7BZ,kCAAkC;WAC3B,MAAM;IACb,2EAA2E;cACjE,qBAAqB,CAAC,SAAS,CAAC;IAC1C,2EAA2E;YACnE,qBAAqB,CAAC,OAAO,CAAC;;;wCAqCzC,CAAC;AAGF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../src/components/typography/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,UAAU,IAAI,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Typography.js","sourceRoot":"","sources":["../../../../src/components/typography/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,UAAU,IAAI,gBAAgB,GAE/B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAmB5C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,GAAG,UAAU,CAC3B,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC5C,OAAO,CACL,CAAC,gBAAgB,CACf,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,KAAK,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CACrB,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,IAAI,KAAK,CAAC,CAEV;QAAA,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,cAAc,CACtE;MAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AACF,UAAU,CAAC,WAAW,GAAG,MAAM,CAAC;AAEhC,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ReactElement, Ref } from 'react';
|
|
2
|
+
import type { View as RNView } from 'react-native';
|
|
3
|
+
import { FlatListProps } from './FlatList';
|
|
4
|
+
type Grid = <T extends object>(props: FlatListProps<T> & {
|
|
5
|
+
ref?: Ref<RNView>;
|
|
6
|
+
}) => ReactElement;
|
|
7
|
+
/**
|
|
8
|
+
* A FlatList laid out in two columns. Renders its child template once per
|
|
9
|
+
* `data` item; it takes every FlatList prop.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <GridTwoColumns
|
|
14
|
+
* data={products}
|
|
15
|
+
* styled={{ columnWrapperStyle: { gap: 12 } }}
|
|
16
|
+
* >
|
|
17
|
+
* <Text text="item name" />
|
|
18
|
+
* </GridTwoColumns>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export declare const GridTwoColumns: Grid;
|
|
24
|
+
/**
|
|
25
|
+
* A FlatList laid out in three columns. Renders its child template once per
|
|
26
|
+
* `data` item; it takes every FlatList prop.
|
|
27
|
+
*
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
export declare const GridThreeColumns: Grid;
|
|
31
|
+
/**
|
|
32
|
+
* A FlatList laid out in four columns. Renders its child template once per
|
|
33
|
+
* `data` item; it takes every FlatList prop.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare const GridFourColumns: Grid;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,IAAI,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAiB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAErD,KAAK,IAAI,GAAG,CAAC,CAAC,SAAS,MAAM,EAC3B,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,KAC5C,YAAY,CAAC;AAYlB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,MAAkC,CAAC;AAE9D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,MAAoC,CAAC;AAElE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,MAAmC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import FlatList from './FlatList';
|
|
3
|
+
const createGrid = (numColumns, displayName) => {
|
|
4
|
+
const GridComponent = forwardRef((props, ref) => {
|
|
5
|
+
return <FlatList numColumns={numColumns} ref={ref} {...props}/>;
|
|
6
|
+
});
|
|
7
|
+
GridComponent.displayName = displayName;
|
|
8
|
+
return GridComponent;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* A FlatList laid out in two columns. Renders its child template once per
|
|
12
|
+
* `data` item; it takes every FlatList prop.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <GridTwoColumns
|
|
17
|
+
* data={products}
|
|
18
|
+
* styled={{ columnWrapperStyle: { gap: 12 } }}
|
|
19
|
+
* >
|
|
20
|
+
* <Text text="item name" />
|
|
21
|
+
* </GridTwoColumns>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export const GridTwoColumns = createGrid(2, 'GridTwoColumns');
|
|
27
|
+
/**
|
|
28
|
+
* A FlatList laid out in three columns. Renders its child template once per
|
|
29
|
+
* `data` item; it takes every FlatList prop.
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export const GridThreeColumns = createGrid(3, 'GridThreeColumns');
|
|
34
|
+
/**
|
|
35
|
+
* A FlatList laid out in four columns. Renders its child template once per
|
|
36
|
+
* `data` item; it takes every FlatList prop.
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export const GridFourColumns = createGrid(4, 'GridFourColumns');
|
|
41
|
+
//# sourceMappingURL=Grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Grid.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAItD,OAAO,QAA2B,MAAM,YAAY,CAAC;AAMrD,MAAM,UAAU,GAAG,CAAC,UAAkB,EAAE,WAAmB,EAAQ,EAAE;IACnE,MAAM,aAAa,GAAG,UAAU,CAC9B,CAAmB,KAAuB,EAAE,GAAgB,EAAE,EAAE;QAC9D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;IACnE,CAAC,CACF,CAAC;IACF,aAAa,CAAC,WAAW,GAAG,WAAW,CAAC;IACxC,OAAO,aAAqB,CAAC;AAC/B,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC;AAE9D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,UAAU,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAElE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,cAAc,CAAC;AAE7B,eAAe,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAE7B,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,cAAc,CAAC;AAE7B,eAAe,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAE7B,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAKrD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,mBAG/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,EAAE,mBAGrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,EAAE,mBAGvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,mBAGtC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import FlatList from './FlatList';
|
|
2
|
+
import { GridFourColumns, GridThreeColumns, GridTwoColumns } from './Grid';
|
|
2
3
|
/**
|
|
3
4
|
* Schematic configuration for the FlatList component.
|
|
4
5
|
*
|
|
@@ -14,8 +15,8 @@ export const FlatListSchematic = {
|
|
|
14
15
|
* @public
|
|
15
16
|
*/
|
|
16
17
|
export const GridTwoColumnsSchematic = {
|
|
17
|
-
...FlatListSchematic,
|
|
18
18
|
type: 'GridTwoColumns',
|
|
19
|
+
Component: GridTwoColumns,
|
|
19
20
|
};
|
|
20
21
|
/**
|
|
21
22
|
* Schematic configuration for a three-column grid layout backed by FlatList.
|
|
@@ -23,8 +24,8 @@ export const GridTwoColumnsSchematic = {
|
|
|
23
24
|
* @public
|
|
24
25
|
*/
|
|
25
26
|
export const GridThreeColumnsSchematic = {
|
|
26
|
-
...FlatListSchematic,
|
|
27
27
|
type: 'GridThreeColumns',
|
|
28
|
+
Component: GridThreeColumns,
|
|
28
29
|
};
|
|
29
30
|
/**
|
|
30
31
|
* Schematic configuration for a four-column grid layout backed by FlatList.
|
|
@@ -32,7 +33,7 @@ export const GridThreeColumnsSchematic = {
|
|
|
32
33
|
* @public
|
|
33
34
|
*/
|
|
34
35
|
export const GridFourColumnsSchematic = {
|
|
35
|
-
...FlatListSchematic,
|
|
36
36
|
type: 'GridFourColumns',
|
|
37
|
+
Component: GridFourColumns,
|
|
37
38
|
};
|
|
38
39
|
//# sourceMappingURL=schematics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAE3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAwB;IACpD,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,QAA0B;CACtC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,IAAI,EAAE,gBAAgB;IACtB,SAAS,EAAE,cAAgC;CAC5C,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,IAAI,EAAE,kBAAkB;IACxB,SAAS,EAAE,gBAAkC;CAC9C,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAwB;IAC3D,IAAI,EAAE,iBAAiB;IACvB,SAAS,EAAE,eAAiC;CAC7C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A ScrollView that scrolls along the horizontal axis.
|
|
3
|
+
*
|
|
4
|
+
* Use it for a rail of chips, cards or thumbnails wider than the screen. It
|
|
5
|
+
* takes every ScrollView prop; `horizontal` defaults to `true`.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <HorizontalScrollView
|
|
10
|
+
* styled={{
|
|
11
|
+
* contentContainerStyle: { gap: 12, paddingHorizontal: 20 },
|
|
12
|
+
* }}
|
|
13
|
+
* >
|
|
14
|
+
* <Text text="First card" />
|
|
15
|
+
* <Text text="Second card" />
|
|
16
|
+
* </HorizontalScrollView>
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
declare const HorizontalScrollView: import("react").ForwardRefExoticComponent<{
|
|
22
|
+
styled?: import("@mapples/style").StyledProps<Partial<import("react-native").ScrollViewProps>> | undefined;
|
|
23
|
+
} & import("react-native").ScrollViewProps & {
|
|
24
|
+
children?: import("react").ReactNode | undefined;
|
|
25
|
+
} & import("react").RefAttributes<unknown>>;
|
|
26
|
+
export default HorizontalScrollView;
|
|
27
|
+
//# sourceMappingURL=HorizontalScrollView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalScrollView.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/HorizontalScrollView.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,oBAAoB;;;;2CASxB,CAAC;AAGH,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import ScrollView from './ScrollView';
|
|
3
|
+
/**
|
|
4
|
+
* A ScrollView that scrolls along the horizontal axis.
|
|
5
|
+
*
|
|
6
|
+
* Use it for a rail of chips, cards or thumbnails wider than the screen. It
|
|
7
|
+
* takes every ScrollView prop; `horizontal` defaults to `true`.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <HorizontalScrollView
|
|
12
|
+
* styled={{
|
|
13
|
+
* contentContainerStyle: { gap: 12, paddingHorizontal: 20 },
|
|
14
|
+
* }}
|
|
15
|
+
* >
|
|
16
|
+
* <Text text="First card" />
|
|
17
|
+
* <Text text="Second card" />
|
|
18
|
+
* </HorizontalScrollView>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
const HorizontalScrollView = forwardRef((props, ref) => {
|
|
24
|
+
return (<ScrollView horizontal showsHorizontalScrollIndicator={false} ref={ref} {...props}/>);
|
|
25
|
+
});
|
|
26
|
+
HorizontalScrollView.displayName = 'HorizontalScrollView';
|
|
27
|
+
export default HorizontalScrollView;
|
|
28
|
+
//# sourceMappingURL=HorizontalScrollView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalScrollView.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/HorizontalScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,UAA+B,MAAM,cAAc,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,oBAAoB,GAAG,UAAU,CAAC,CAAC,KAAsB,EAAE,GAAG,EAAE,EAAE;IACtE,OAAO,CACL,CAAC,UAAU,CACT,UAAU,CACV,8BAA8B,CAAC,CAAC,KAAK,CAAC,CACtC,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,IAAI,KAAK,CAAC,EACV,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AACH,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { WithStyledProps } from '@mapples/style';
|
|
3
|
-
import {
|
|
3
|
+
import { ScrollViewProps as RNScrollViewProps } from 'react-native';
|
|
4
4
|
/**
|
|
5
5
|
* Props for the ScrollView component.
|
|
6
6
|
*
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
9
|
-
export type
|
|
9
|
+
export type ScrollViewProps = PropsWithChildren<WithStyledProps<RNScrollViewProps>>;
|
|
10
10
|
/**
|
|
11
11
|
* A customizable scrollable view component with built-in styling support.
|
|
12
12
|
*
|
|
@@ -32,8 +32,8 @@ export type ViewProps = PropsWithChildren<WithStyledProps<RNViewProps>>;
|
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
34
|
declare const ScrollView: import("react").ForwardRefExoticComponent<{
|
|
35
|
-
styled?: import("@mapples/style").StyledProps<Partial<
|
|
36
|
-
} &
|
|
35
|
+
styled?: import("@mapples/style").StyledProps<Partial<RNScrollViewProps>> | undefined;
|
|
36
|
+
} & RNScrollViewProps & {
|
|
37
37
|
children?: import("react").ReactNode | undefined;
|
|
38
38
|
} & import("react").RefAttributes<unknown>>;
|
|
39
39
|
export default ScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAoB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAoB,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,eAAe,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEpE;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAC7C,eAAe,CAAC,iBAAiB,CAAC,CACnC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,QAAA,MAAM,UAAU;;;;2CAaf,CAAC;AAGF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"ScrollView.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/ScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,gBAAgB,EAAmB,MAAM,gBAAgB,CAAC;AAYnE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,UAAU,GAAG,UAAU,CAC3B,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAmB,EAAE,GAAG,EAAE,EAAE;IACvD,OAAO,CACL,CAAC,gBAAgB,CACf,4BAA4B,CAAC,CAAC,KAAK,CAAC,CACpC,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,MAAM,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CACtB,IAAI,KAAK,CAAC,CAEV;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CACF,CAAC;AACF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"}
|
|
@@ -10,5 +10,5 @@ export declare const ScrollViewSchematic: RegisteredComponent;
|
|
|
10
10
|
*
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const HorizontalScrollViewSchematic: RegisteredComponent;
|
|
14
14
|
//# sourceMappingURL=schematics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAKrD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,mBAGjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,EAAE,mBAG3C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import HorizontalScrollView from './HorizontalScrollView';
|
|
1
2
|
import ScrollView from './ScrollView';
|
|
2
3
|
/**
|
|
3
4
|
* Schematic configuration for the ScrollView component.
|
|
@@ -13,8 +14,8 @@ export const ScrollViewSchematic = {
|
|
|
13
14
|
*
|
|
14
15
|
* @public
|
|
15
16
|
*/
|
|
16
|
-
export const
|
|
17
|
-
...ScrollViewSchematic,
|
|
17
|
+
export const HorizontalScrollViewSchematic = {
|
|
18
18
|
type: 'HorizontalScrollView',
|
|
19
|
+
Component: HorizontalScrollView,
|
|
19
20
|
};
|
|
20
21
|
//# sourceMappingURL=schematics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAwB;IACtD,IAAI,EAAE,YAAY;IAClB,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/ScrollView/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAwB;IACtD,IAAI,EAAE,YAAY;IAClB,SAAS,EAAE,UAAU;CACtB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwB;IAChE,IAAI,EAAE,sBAAsB;IAC5B,SAAS,EAAE,oBAAoB;CAChC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A generic layout container: a View under the name the visual editor gives
|
|
3
|
+
* its full-size column wrapper. It takes every View prop.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* ```tsx
|
|
7
|
+
* <Container styled={{ style: { flex: 1, padding: 16 } }}>
|
|
8
|
+
* <Text text="Content inside the container" />
|
|
9
|
+
* </Container>
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
declare const Container: import("react").ForwardRefExoticComponent<{
|
|
15
|
+
styled?: import("@mapples/style").StyledProps<Partial<import("react-native").ViewProps>> | undefined;
|
|
16
|
+
} & import("react-native").ViewProps & {
|
|
17
|
+
gradient?: import("@mapples/types").LinearGradient;
|
|
18
|
+
} & {
|
|
19
|
+
children?: import("react").ReactNode | undefined;
|
|
20
|
+
} & import("react").RefAttributes<unknown>>;
|
|
21
|
+
export default Container;
|
|
22
|
+
//# sourceMappingURL=Container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../src/components/views/View/Container.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,SAAS;;;;;;2CAEb,CAAC;AAGH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import View from './View';
|
|
3
|
+
/**
|
|
4
|
+
* A generic layout container: a View under the name the visual editor gives
|
|
5
|
+
* its full-size column wrapper. It takes every View prop.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Container styled={{ style: { flex: 1, padding: 16 } }}>
|
|
10
|
+
* <Text text="Content inside the container" />
|
|
11
|
+
* </Container>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
const Container = forwardRef((props, ref) => {
|
|
17
|
+
return <View ref={ref} {...props}/>;
|
|
18
|
+
});
|
|
19
|
+
Container.displayName = 'Container';
|
|
20
|
+
export default Container;
|
|
21
|
+
//# sourceMappingURL=Container.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.js","sourceRoot":"","sources":["../../../../src/components/views/View/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,IAAmB,MAAM,QAAQ,CAAC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,KAAgB,EAAE,GAAG,EAAE,EAAE;IACrD,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACvC,CAAC,CAAC,CAAC;AACH,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AAEpC,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/View/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,eAAe,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/views/View/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,cAAc,CAAC;AAE7B,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/View/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,cAAc,cAAc,CAAC;AAE7B,eAAe,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/views/View/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,cAAc,cAAc,CAAC;AAE7B,eAAe,IAAI,CAAC"}
|
|
@@ -8,8 +8,8 @@ export declare const ViewSchematic: RegisteredComponent;
|
|
|
8
8
|
/**
|
|
9
9
|
* Schematic configuration for the Container component.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Registered under the `'Container'` type for use as a generic layout
|
|
12
|
+
* container in the visual editor.
|
|
13
13
|
*
|
|
14
14
|
* @public
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/View/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/views/View/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAKrD;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,mBAG3B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,mBAGhC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import Container from './Container';
|
|
1
2
|
import View from './View';
|
|
2
3
|
/**
|
|
3
4
|
* Schematic configuration for the View component.
|
|
@@ -11,13 +12,13 @@ export const ViewSchematic = {
|
|
|
11
12
|
/**
|
|
12
13
|
* Schematic configuration for the Container component.
|
|
13
14
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
15
|
+
* Registered under the `'Container'` type for use as a generic layout
|
|
16
|
+
* container in the visual editor.
|
|
16
17
|
*
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
19
20
|
export const ContainerSchematic = {
|
|
20
|
-
...ViewSchematic,
|
|
21
21
|
type: 'Container',
|
|
22
|
+
Component: Container,
|
|
22
23
|
};
|
|
23
24
|
//# sourceMappingURL=schematics.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/View/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB;IACrD,
|
|
1
|
+
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/View/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB;IACrD,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;CACrB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { FlatListSchematic, GridFourColumnsSchematic, GridThreeColumnsSchematic,
|
|
|
2
2
|
import { GradientBackgroundSchematic } from './GradientBackground';
|
|
3
3
|
import { ImageBackgroundViewSchematics } from './ImageBackgroundView';
|
|
4
4
|
import { SafeAreaViewSchematic } from './SafeAreaView';
|
|
5
|
-
import {
|
|
5
|
+
import { HorizontalScrollViewSchematic, ScrollViewSchematic } from './ScrollView';
|
|
6
6
|
import { ContainerSchematic, ViewSchematic } from './View';
|
|
7
7
|
/**
|
|
8
8
|
* Complete registry of all view component schematics.
|
|
@@ -19,7 +19,7 @@ export declare const ViewsSchematics: {
|
|
|
19
19
|
readonly [GradientBackgroundSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
20
20
|
readonly [SafeAreaViewSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
21
21
|
readonly [ScrollViewSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
22
|
-
readonly [
|
|
22
|
+
readonly [HorizontalScrollViewSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
23
23
|
readonly [ImageBackgroundViewSchematics.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
24
24
|
readonly [FlatListSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
25
25
|
readonly [GridTwoColumnsSchematic.type]: import("@mapples/types").RegisteredComponent<object>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/views/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/views/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,EACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;IAC1B,SAAA,CAAC,aAAa,CAAC,IAAI,CAAC,uDAAe;IACnC,SAAA,CAAC,kBAAkB,CAAC,IAAI,CAAC,uDAAoB;IAC7C,SAAA,CAAC,2BAA2B,CAAC,IAAI,CAAC,uDAA6B;IAC/D,SAAA,CAAC,qBAAqB,CAAC,IAAI,CAAC,uDAAuB;IACnD,SAAA,CAAC,mBAAmB,CAAC,IAAI,CAAC,uDAAqB;IAC/C,SAAA,CAAC,6BAA6B,CAAC,IAAI,CAAC,uDAA+B;IACnE,SAAA,CAAC,6BAA6B,CAAC,IAAI,CAAC,uDAA+B;IACnE,SAAA,CAAC,iBAAiB,CAAC,IAAI,CAAC,uDAAmB;IAC3C,SAAA,CAAC,uBAAuB,CAAC,IAAI,CAAC,uDAAyB;IACvD,SAAA,CAAC,yBAAyB,CAAC,IAAI,CAAC,uDAA2B;IAC3D,SAAA,CAAC,wBAAwB,CAAC,IAAI,CAAC,uDAA0B;CACjD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { FlatListSchematic, GridFourColumnsSchematic, GridThreeColumnsSchematic,
|
|
|
2
2
|
import { GradientBackgroundSchematic } from './GradientBackground';
|
|
3
3
|
import { ImageBackgroundViewSchematics } from './ImageBackgroundView';
|
|
4
4
|
import { SafeAreaViewSchematic } from './SafeAreaView';
|
|
5
|
-
import {
|
|
5
|
+
import { HorizontalScrollViewSchematic, ScrollViewSchematic, } from './ScrollView';
|
|
6
6
|
import { ContainerSchematic, ViewSchematic } from './View';
|
|
7
7
|
/**
|
|
8
8
|
* Complete registry of all view component schematics.
|
|
@@ -19,7 +19,7 @@ export const ViewsSchematics = {
|
|
|
19
19
|
[GradientBackgroundSchematic.type]: GradientBackgroundSchematic,
|
|
20
20
|
[SafeAreaViewSchematic.type]: SafeAreaViewSchematic,
|
|
21
21
|
[ScrollViewSchematic.type]: ScrollViewSchematic,
|
|
22
|
-
[
|
|
22
|
+
[HorizontalScrollViewSchematic.type]: HorizontalScrollViewSchematic,
|
|
23
23
|
[ImageBackgroundViewSchematics.type]: ImageBackgroundViewSchematics,
|
|
24
24
|
[FlatListSchematic.type]: FlatListSchematic,
|
|
25
25
|
[GridTwoColumnsSchematic.type]: GridTwoColumnsSchematic,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/views/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,
|
|
1
|
+
{"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/views/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE3D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,aAAa;IACnC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,kBAAkB;IAC7C,CAAC,2BAA2B,CAAC,IAAI,CAAC,EAAE,2BAA2B;IAC/D,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,qBAAqB;IACnD,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,mBAAmB;IAC/C,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,6BAA6B;IACnE,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,6BAA6B;IACnE,CAAC,iBAAiB,CAAC,IAAI,CAAC,EAAE,iBAAiB;IAC3C,CAAC,uBAAuB,CAAC,IAAI,CAAC,EAAE,uBAAuB;IACvD,CAAC,yBAAyB,CAAC,IAAI,CAAC,EAAE,yBAAyB;IAC3D,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAAE,wBAAwB;CACjD,CAAC"}
|