@mapples/ui 1.1.0 → 1.1.1

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 (160) hide show
  1. package/README.md +0 -32
  2. package/dist/components/form/FormView/FormView.d.ts +16 -9
  3. package/dist/components/form/FormView/FormView.d.ts.map +1 -1
  4. package/dist/components/form/FormView/FormView.js +11 -8
  5. package/dist/components/form/FormView/FormView.js.map +1 -1
  6. package/dist/components/form/FormView/schematics.d.ts +8 -0
  7. package/dist/components/form/FormView/schematics.d.ts.map +1 -1
  8. package/dist/components/form/FormView/schematics.js +8 -0
  9. package/dist/components/form/FormView/schematics.js.map +1 -1
  10. package/dist/components/form/SubmitButton/schematics.d.ts +2 -2
  11. package/dist/components/form/SubmitButton/schematics.js +2 -2
  12. package/dist/components/form/TextField/TextField.d.ts +21 -17
  13. package/dist/components/form/TextField/TextField.d.ts.map +1 -1
  14. package/dist/components/form/TextField/TextField.js +13 -18
  15. package/dist/components/form/TextField/TextField.js.map +1 -1
  16. package/dist/components/form/TextField/schematics.d.ts +8 -0
  17. package/dist/components/form/TextField/schematics.d.ts.map +1 -1
  18. package/dist/components/form/TextField/schematics.js +8 -0
  19. package/dist/components/form/TextField/schematics.js.map +1 -1
  20. package/dist/components/form/schematics.d.ts +9 -0
  21. package/dist/components/form/schematics.d.ts.map +1 -1
  22. package/dist/components/form/schematics.js +9 -0
  23. package/dist/components/form/schematics.js.map +1 -1
  24. package/dist/components/inputs/IconButton/MockIcon.d.ts.map +1 -1
  25. package/dist/components/inputs/IconButton/MockIcon.js +8 -0
  26. package/dist/components/inputs/IconButton/MockIcon.js.map +1 -1
  27. package/dist/components/inputs/IconButton/schematics.d.ts +8 -0
  28. package/dist/components/inputs/IconButton/schematics.d.ts.map +1 -1
  29. package/dist/components/inputs/IconButton/schematics.js +8 -0
  30. package/dist/components/inputs/IconButton/schematics.js.map +1 -1
  31. package/dist/components/inputs/Pressable/Pressable.d.ts +26 -0
  32. package/dist/components/inputs/Pressable/Pressable.d.ts.map +1 -1
  33. package/dist/components/inputs/Pressable/Pressable.js +18 -0
  34. package/dist/components/inputs/Pressable/Pressable.js.map +1 -1
  35. package/dist/components/inputs/Pressable/schematics.d.ts +8 -0
  36. package/dist/components/inputs/Pressable/schematics.d.ts.map +1 -1
  37. package/dist/components/inputs/Pressable/schematics.js +8 -0
  38. package/dist/components/inputs/Pressable/schematics.js.map +1 -1
  39. package/dist/components/inputs/Select/Select.d.ts +30 -0
  40. package/dist/components/inputs/Select/Select.d.ts.map +1 -1
  41. package/dist/components/inputs/Select/Select.js +19 -0
  42. package/dist/components/inputs/Select/Select.js.map +1 -1
  43. package/dist/components/inputs/Select/SelectItem.d.ts +23 -0
  44. package/dist/components/inputs/Select/SelectItem.d.ts.map +1 -1
  45. package/dist/components/inputs/Select/SelectItem.js +16 -0
  46. package/dist/components/inputs/Select/SelectItem.js.map +1 -1
  47. package/dist/components/inputs/Select/schematics.d.ts +8 -0
  48. package/dist/components/inputs/Select/schematics.d.ts.map +1 -1
  49. package/dist/components/inputs/Select/schematics.js +8 -0
  50. package/dist/components/inputs/Select/schematics.js.map +1 -1
  51. package/dist/components/inputs/TextInput/schematics.d.ts +8 -0
  52. package/dist/components/inputs/TextInput/schematics.d.ts.map +1 -1
  53. package/dist/components/inputs/TextInput/schematics.js +8 -0
  54. package/dist/components/inputs/TextInput/schematics.js.map +1 -1
  55. package/dist/components/inputs/schematics.d.ts +9 -0
  56. package/dist/components/inputs/schematics.d.ts.map +1 -1
  57. package/dist/components/inputs/schematics.js +9 -0
  58. package/dist/components/inputs/schematics.js.map +1 -1
  59. package/dist/components/media/BarCode/schematics.d.ts +8 -0
  60. package/dist/components/media/BarCode/schematics.d.ts.map +1 -1
  61. package/dist/components/media/BarCode/schematics.js +8 -0
  62. package/dist/components/media/BarCode/schematics.js.map +1 -1
  63. package/dist/components/media/Icon/Icon.d.ts +34 -0
  64. package/dist/components/media/Icon/Icon.d.ts.map +1 -1
  65. package/dist/components/media/Icon/Icon.js +23 -0
  66. package/dist/components/media/Icon/Icon.js.map +1 -1
  67. package/dist/components/media/Icon/MockIcon.d.ts.map +1 -1
  68. package/dist/components/media/Icon/MockIcon.js +9 -0
  69. package/dist/components/media/Icon/MockIcon.js.map +1 -1
  70. package/dist/components/media/Icon/schematics.d.ts +8 -0
  71. package/dist/components/media/Icon/schematics.d.ts.map +1 -1
  72. package/dist/components/media/Icon/schematics.js +8 -0
  73. package/dist/components/media/Icon/schematics.js.map +1 -1
  74. package/dist/components/media/Image/Image.d.ts +2 -0
  75. package/dist/components/media/Image/Image.d.ts.map +1 -1
  76. package/dist/components/media/Image/Image.js.map +1 -1
  77. package/dist/components/media/Image/schematics.d.ts +8 -0
  78. package/dist/components/media/Image/schematics.d.ts.map +1 -1
  79. package/dist/components/media/Image/schematics.js +8 -0
  80. package/dist/components/media/Image/schematics.js.map +1 -1
  81. package/dist/components/media/QRCode/schematics.d.ts +8 -0
  82. package/dist/components/media/QRCode/schematics.d.ts.map +1 -1
  83. package/dist/components/media/QRCode/schematics.js +8 -0
  84. package/dist/components/media/QRCode/schematics.js.map +1 -1
  85. package/dist/components/media/Svg/Svg.d.ts.map +1 -1
  86. package/dist/components/media/Svg/Svg.js +1 -1
  87. package/dist/components/media/Svg/Svg.js.map +1 -1
  88. package/dist/components/media/Svg/schematics.d.ts +8 -0
  89. package/dist/components/media/Svg/schematics.d.ts.map +1 -1
  90. package/dist/components/media/Svg/schematics.js +8 -0
  91. package/dist/components/media/Svg/schematics.js.map +1 -1
  92. package/dist/components/media/Video/Video.d.ts +44 -0
  93. package/dist/components/media/Video/Video.d.ts.map +1 -1
  94. package/dist/components/media/Video/Video.js +25 -0
  95. package/dist/components/media/Video/Video.js.map +1 -1
  96. package/dist/components/media/Video/schematics.d.ts +8 -0
  97. package/dist/components/media/Video/schematics.d.ts.map +1 -1
  98. package/dist/components/media/Video/schematics.js +8 -0
  99. package/dist/components/media/Video/schematics.js.map +1 -1
  100. package/dist/components/media/schematics.d.ts +9 -0
  101. package/dist/components/media/schematics.d.ts.map +1 -1
  102. package/dist/components/media/schematics.js +9 -0
  103. package/dist/components/media/schematics.js.map +1 -1
  104. package/dist/components/typography/Text/Text.d.ts +4 -10
  105. package/dist/components/typography/Text/Text.d.ts.map +1 -1
  106. package/dist/components/typography/Text/Text.js +4 -10
  107. package/dist/components/typography/Text/Text.js.map +1 -1
  108. package/dist/components/typography/Text/schematics.d.ts +8 -0
  109. package/dist/components/typography/Text/schematics.d.ts.map +1 -1
  110. package/dist/components/typography/Text/schematics.js +8 -0
  111. package/dist/components/typography/Text/schematics.js.map +1 -1
  112. package/dist/components/typography/Typography/Typography.d.ts +27 -0
  113. package/dist/components/typography/Typography/Typography.d.ts.map +1 -1
  114. package/dist/components/typography/Typography/Typography.js +20 -0
  115. package/dist/components/typography/Typography/Typography.js.map +1 -1
  116. package/dist/components/typography/Typography/schematics.d.ts +8 -0
  117. package/dist/components/typography/Typography/schematics.d.ts.map +1 -1
  118. package/dist/components/typography/Typography/schematics.js +8 -0
  119. package/dist/components/typography/Typography/schematics.js.map +1 -1
  120. package/dist/components/typography/schematics.d.ts +9 -0
  121. package/dist/components/typography/schematics.d.ts.map +1 -1
  122. package/dist/components/typography/schematics.js +9 -0
  123. package/dist/components/typography/schematics.js.map +1 -1
  124. package/dist/components/views/FlatList/FlatList.d.ts +12 -0
  125. package/dist/components/views/FlatList/FlatList.d.ts.map +1 -1
  126. package/dist/components/views/FlatList/FlatList.js +24 -0
  127. package/dist/components/views/FlatList/FlatList.js.map +1 -1
  128. package/dist/components/views/FlatList/schematics.d.ts +20 -0
  129. package/dist/components/views/FlatList/schematics.d.ts.map +1 -1
  130. package/dist/components/views/FlatList/schematics.js +20 -0
  131. package/dist/components/views/FlatList/schematics.js.map +1 -1
  132. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.d.ts +40 -0
  133. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.d.ts.map +1 -1
  134. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.js +24 -0
  135. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.js.map +1 -1
  136. package/dist/components/views/ImageBackgroundView/schematics.d.ts +5 -0
  137. package/dist/components/views/ImageBackgroundView/schematics.d.ts.map +1 -1
  138. package/dist/components/views/ImageBackgroundView/schematics.js +5 -0
  139. package/dist/components/views/ImageBackgroundView/schematics.js.map +1 -1
  140. package/dist/components/views/SafeAreaView/SafeAreaView.d.ts +29 -0
  141. package/dist/components/views/SafeAreaView/SafeAreaView.d.ts.map +1 -1
  142. package/dist/components/views/SafeAreaView/SafeAreaView.js +24 -0
  143. package/dist/components/views/SafeAreaView/SafeAreaView.js.map +1 -1
  144. package/dist/components/views/SafeAreaView/schematics.d.ts +5 -0
  145. package/dist/components/views/SafeAreaView/schematics.d.ts.map +1 -1
  146. package/dist/components/views/SafeAreaView/schematics.js +5 -0
  147. package/dist/components/views/SafeAreaView/schematics.js.map +1 -1
  148. package/dist/components/views/ScrollView/schematics.d.ts +10 -0
  149. package/dist/components/views/ScrollView/schematics.d.ts.map +1 -1
  150. package/dist/components/views/ScrollView/schematics.js +10 -0
  151. package/dist/components/views/ScrollView/schematics.js.map +1 -1
  152. package/dist/components/views/View/schematics.d.ts +13 -0
  153. package/dist/components/views/View/schematics.d.ts.map +1 -1
  154. package/dist/components/views/View/schematics.js +13 -0
  155. package/dist/components/views/View/schematics.js.map +1 -1
  156. package/dist/components/views/schematics.d.ts +9 -0
  157. package/dist/components/views/schematics.d.ts.map +1 -1
  158. package/dist/components/views/schematics.js +9 -0
  159. package/dist/components/views/schematics.js.map +1 -1
  160. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Svg/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,MAAM,CAAC,MAAM,YAAY,GAAwB;IAC/C,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,GAAG;CACf,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Svg/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAwB;IAC/C,IAAI,EAAE,KAAK;IACX,SAAS,EAAE,GAAG;CACf,CAAC"}
@@ -2,25 +2,69 @@ import { PropsWithChildren } from 'react';
2
2
  import { StyledProps, StyledProp } from '@mapples/style';
3
3
  import { VideoContentFit } from 'expo-video';
4
4
  import { View, ViewProps, ViewStyle } from 'react-native';
5
+ /**
6
+ * Props for the Video component.
7
+ *
8
+ * @public
9
+ */
5
10
  export type VideoProps = PropsWithChildren<ViewProps> & {
11
+ /** URI of the video to play */
6
12
  source?: string;
13
+ /** Whether playback should start automatically once the source is ready */
7
14
  autoPlay?: boolean;
15
+ /** Whether the video should loop when it reaches the end */
8
16
  loop?: boolean;
17
+ /** Whether native playback controls (play/pause, seek bar) are shown */
9
18
  controls?: boolean;
19
+ /** How the video should be scaled within its bounds (e.g. `"contain"`, `"cover"`) */
10
20
  contentFit?: VideoContentFit;
21
+ /** Styling configuration for the video container and the underlying video view */
11
22
  styled?: StyledProps<ViewProps> & {
23
+ /** Styling applied directly to the `VideoView` element */
12
24
  styleVideo?: StyledProp<ViewStyle>;
13
25
  };
14
26
  };
27
+ /**
28
+ * A customizable video player component with built-in styling support.
29
+ *
30
+ * The Video component wraps Expo's `VideoView` and `useVideoPlayer` hook,
31
+ * exposing common playback options (`autoPlay`, `loop`, `controls`) as props.
32
+ * Container and video-specific styling are handled through the `@mapples/style`
33
+ * system via the `styled` prop.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <Video
38
+ * source="https://example.com/video.mp4"
39
+ * autoPlay
40
+ * loop
41
+ * controls
42
+ * contentFit="cover"
43
+ * styled={{
44
+ * style: { width: '100%', height: 240 },
45
+ * styleVideo: { borderRadius: 8 },
46
+ * }}
47
+ * />
48
+ * ```
49
+ *
50
+ * @public
51
+ */
15
52
  declare const Video: import("react").ForwardRefExoticComponent<ViewProps & {
16
53
  children?: import("react").ReactNode | undefined;
17
54
  } & {
55
+ /** URI of the video to play */
18
56
  source?: string;
57
+ /** Whether playback should start automatically once the source is ready */
19
58
  autoPlay?: boolean;
59
+ /** Whether the video should loop when it reaches the end */
20
60
  loop?: boolean;
61
+ /** Whether native playback controls (play/pause, seek bar) are shown */
21
62
  controls?: boolean;
63
+ /** How the video should be scaled within its bounds (e.g. `"contain"`, `"cover"`) */
22
64
  contentFit?: VideoContentFit;
65
+ /** Styling configuration for the video container and the underlying video view */
23
66
  styled?: StyledProps<ViewProps> & {
67
+ /** Styling applied directly to the `VideoView` element */
24
68
  styleVideo?: StyledProp<ViewStyle>;
25
69
  };
26
70
  } & import("react").RefAttributes<View>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Video.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Video/Video.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAU,WAAW,EAAc,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAA6B,eAAe,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,MAAM,MAAM,UAAU,GAAG,iBAAiB,CAAC,SAAS,CAAC,GAAG;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,UAAU,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KACpC,CAAC;CACH,CAAC;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AAe;IAC5B,kFAAkF;aACzE,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,0DAA0D;QAC1D,UAAU,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KACpC;wCA6DF,CAAC;AAGF,eAAe,KAAK,CAAC"}
@@ -2,6 +2,31 @@ import { forwardRef, useEffect } from 'react';
2
2
  import { styled, StyledView } from '@mapples/style';
3
3
  import { useVideoPlayer, VideoView } from 'expo-video';
4
4
  const StyledVideo = styled(VideoView);
5
+ /**
6
+ * A customizable video player component with built-in styling support.
7
+ *
8
+ * The Video component wraps Expo's `VideoView` and `useVideoPlayer` hook,
9
+ * exposing common playback options (`autoPlay`, `loop`, `controls`) as props.
10
+ * Container and video-specific styling are handled through the `@mapples/style`
11
+ * system via the `styled` prop.
12
+ *
13
+ * @example
14
+ * ```tsx
15
+ * <Video
16
+ * source="https://example.com/video.mp4"
17
+ * autoPlay
18
+ * loop
19
+ * controls
20
+ * contentFit="cover"
21
+ * styled={{
22
+ * style: { width: '100%', height: 240 },
23
+ * styleVideo: { borderRadius: 8 },
24
+ * }}
25
+ * />
26
+ * ```
27
+ *
28
+ * @public
29
+ */
5
30
  const Video = forwardRef(({ styled, source, autoPlay, loop, controls, contentFit, ...props }, ref) => {
6
31
  const player = useVideoPlayer(source || '');
7
32
  const { styleVideo, ...styledProps } = styled || {};
@@ -1 +1 @@
1
- {"version":3,"file":"Video.js","sourceRoot":"","sources":["../../../../src/components/media/Video/Video.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAe,UAAU,EAAc,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,SAAS,EAAmB,MAAM,YAAY,CAAC;AAcxE,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAEtC,MAAM,KAAK,GAAG,UAAU,CACtB,CAAC,EAAE,MAAM,EAAE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AM,CAAC,CACf,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAC9B,cAAc,CAAC,CAAC,QAAQ,CAAC,CACzB,UAAU,CAAC,CAAC,UAAU,CAAC,EAE3B;MAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,eAAe,KAAK,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the `Video` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Video"` element type
6
+ * to the `Video` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const VideoSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Video/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,cAAc,EAAE,mBAG5B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Video/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,EAAE,mBAG5B,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import Video from './Video';
2
+ /**
3
+ * Schematic registration entry for the `Video` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Video"` element type
6
+ * to the `Video` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const VideoSchematic = {
3
11
  type: 'Video',
4
12
  Component: Video,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Video/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,KAAK;CACjB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Video/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,IAAI,EAAE,OAAO;IACb,SAAS,EAAE,KAAK;CACjB,CAAC"}
@@ -1,3 +1,12 @@
1
1
  import { RegisteredComponents } from '@mapples/types';
2
+ /**
3
+ * Aggregated schematic map for all media components.
4
+ *
5
+ * Combines the registration entries for `Video`, `Image`, `Icon`, `BarCode`,
6
+ * `QRCode`, and `Svg` into a single `RegisteredComponents` map that can be
7
+ * passed to the `@mapples/render` pipeline.
8
+ *
9
+ * @public
10
+ */
2
11
  export declare const MediaSchematics: RegisteredComponents;
3
12
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/media/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAStD,eAAO,MAAM,eAAe,EAAE,oBAO7B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/media/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAStD;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,oBAO7B,CAAC"}
@@ -4,6 +4,15 @@ import { ImageSchematic } from './Image';
4
4
  import { QRCodeSchematic } from './QRCode';
5
5
  import { SvgSchematic } from './Svg';
6
6
  import { VideoSchematic } from './Video';
7
+ /**
8
+ * Aggregated schematic map for all media components.
9
+ *
10
+ * Combines the registration entries for `Video`, `Image`, `Icon`, `BarCode`,
11
+ * `QRCode`, and `Svg` into a single `RegisteredComponents` map that can be
12
+ * passed to the `@mapples/render` pipeline.
13
+ *
14
+ * @public
15
+ */
7
16
  export const MediaSchematics = {
8
17
  [VideoSchematic.type]: VideoSchematic,
9
18
  [ImageSchematic.type]: ImageSchematic,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/media/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,CAAC,MAAM,eAAe,GAAyB;IACnD,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,gBAAgB;IACzC,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;IACvC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,YAAY;CAClC,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/media/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAyB;IACnD,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc;IACrC,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,gBAAgB;IACzC,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;IACvC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,YAAY;CAClC,CAAC"}
@@ -14,8 +14,9 @@ export type TextProps = PropsWithChildren<WithStyledProps<RNTextProps> & {
14
14
  * A customizable text component with built-in styling support.
15
15
  *
16
16
  * The Text component extends React Native's Text with additional styling
17
- * capabilities through the @mapples/style system. It can display text content
18
- * either through the `text` prop or as children.
17
+ * capabilities through the @mapples/style system. Text content is supplied
18
+ * via the `text` prop; string and number values are rendered, anything else
19
+ * falls back to `'Not a string'`.
19
20
  *
20
21
  * @example
21
22
  * ```tsx
@@ -25,19 +26,12 @@ export type TextProps = PropsWithChildren<WithStyledProps<RNTextProps> & {
25
26
  * style: {
26
27
  * fontSize: 18,
27
28
  * color: 'blue',
28
- * fontWeight: 'bold'
29
+ * fontWeight: 'bold',
29
30
  * }
30
31
  * }}
31
32
  * />
32
33
  * ```
33
34
  *
34
- * @example
35
- * ```tsx
36
- * <Text styled={{ style: { fontSize: 16, color: 'black' } }}>
37
- * This is text content as children
38
- * </Text>
39
- * ```
40
- *
41
35
  * @public
42
36
  */
43
37
  declare const Text: import("react").ForwardRefExoticComponent<{
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,QAAA,MAAM,IAAI;;;IAnCN,kCAAkC;WAC3B,MAAM;;;2CA0ChB,CAAC;AAGF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAExD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,QAAA,MAAM,IAAI;;;IA7BN,kCAAkC;WAC3B,MAAM;;;2CAoChB,CAAC;AAGF,eAAe,IAAI,CAAC"}
@@ -5,8 +5,9 @@ import { isNumber, isString } from 'lodash';
5
5
  * A customizable text component with built-in styling support.
6
6
  *
7
7
  * The Text component extends React Native's Text with additional styling
8
- * capabilities through the @mapples/style system. It can display text content
9
- * either through the `text` prop or as children.
8
+ * capabilities through the @mapples/style system. Text content is supplied
9
+ * via the `text` prop; string and number values are rendered, anything else
10
+ * falls back to `'Not a string'`.
10
11
  *
11
12
  * @example
12
13
  * ```tsx
@@ -16,19 +17,12 @@ import { isNumber, isString } from 'lodash';
16
17
  * style: {
17
18
  * fontSize: 18,
18
19
  * color: 'blue',
19
- * fontWeight: 'bold'
20
+ * fontWeight: 'bold',
20
21
  * }
21
22
  * }}
22
23
  * />
23
24
  * ```
24
25
  *
25
- * @example
26
- * ```tsx
27
- * <Text styled={{ style: { fontSize: 16, color: 'black' } }}>
28
- * This is text content as children
29
- * </Text>
30
- * ```
31
- *
32
26
  * @public
33
27
  */
34
28
  const Text = forwardRef(({ styled, children, text, ...props }, ref) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAe5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,IAAI,GAAG,UAAU,CACrB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAE,GAAG,EAAE,EAAE;IACvD,OAAO,CACL,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,IAAI,KAAK,CAAC,CACrD;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,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAe5C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,IAAI,GAAG,UAAU,CACrB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,KAAK,EAAa,EAAE,GAAG,EAAE,EAAE;IACvD,OAAO,CACL,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,IAAI,KAAK,CAAC,CACrD;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,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,eAAe,IAAI,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the {@link Text} component.
4
+ *
5
+ * Used by the Mapples renderer to resolve the `'Text'` component type at
6
+ * runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const TextSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,aAAa,EAAE,mBAG3B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,mBAG3B,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import Text from './Text';
2
+ /**
3
+ * Schematic registration entry for the {@link Text} component.
4
+ *
5
+ * Used by the Mapples renderer to resolve the `'Text'` component type at
6
+ * runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const TextSchematic = {
3
11
  type: 'Text',
4
12
  Component: Text,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/typography/Text/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,IAAI;CAChB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/typography/Text/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,IAAI;CAChB,CAAC"}
@@ -1,12 +1,39 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { WithStyledProps } from '@mapples/style';
3
3
  import { TextProps as RNTextProps, Text } from 'react-native';
4
+ /**
5
+ * Props for the Typography component.
6
+ *
7
+ * @public
8
+ */
4
9
  export type TextProps = PropsWithChildren<WithStyledProps<RNTextProps> & {
10
+ /** The text content to display */
5
11
  text?: string;
6
12
  }>;
13
+ /**
14
+ * A styled typography component backed by the `@mapples/style` Typography
15
+ * primitive.
16
+ *
17
+ * Accepts text content via the `text` prop; string and number values are
18
+ * rendered, anything else falls back to `'Not a string'`. Style overrides are
19
+ * applied through the `styled` prop.
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * <Typography
24
+ * text="Hello World"
25
+ * styled={{
26
+ * style: { fontSize: 24, fontWeight: 'bold' },
27
+ * }}
28
+ * />
29
+ * ```
30
+ *
31
+ * @public
32
+ */
7
33
  declare const Typography: import("react").ForwardRefExoticComponent<{
8
34
  styled?: import("@mapples/style").StyledProps<Partial<RNTextProps>> | undefined;
9
35
  } & RNTextProps & {
36
+ /** The text content to display */
10
37
  text?: string;
11
38
  } & {
12
39
  children?: import("react").ReactNode | undefined;
@@ -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,EAEhB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,eAAe,CAAC,WAAW,CAAC,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CACF,CAAC;AAEF,QAAA,MAAM,UAAU;;;WAJL,MAAM;;;wCAiBhB,CAAC;AAGF,eAAe,UAAU,CAAC"}
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,EAEhB,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;CACf,CACF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,QAAA,MAAM,UAAU;;;IAzBZ,kCAAkC;WAC3B,MAAM;;;wCAqChB,CAAC;AAGF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,26 @@
1
1
  import { forwardRef } from 'react';
2
2
  import { Typography as StyledTypography, } from '@mapples/style';
3
3
  import { isNumber, isString } from 'lodash';
4
+ /**
5
+ * A styled typography component backed by the `@mapples/style` Typography
6
+ * primitive.
7
+ *
8
+ * Accepts text content via the `text` prop; string and number values are
9
+ * rendered, anything else falls back to `'Not a string'`. Style overrides are
10
+ * applied through the `styled` prop.
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * <Typography
15
+ * text="Hello World"
16
+ * styled={{
17
+ * style: { fontSize: 24, fontWeight: 'bold' },
18
+ * }}
19
+ * />
20
+ * ```
21
+ *
22
+ * @public
23
+ */
4
24
  const Typography = forwardRef(({ styled, children, text, ...props }, ref) => {
5
25
  return (<StyledTypography ref={ref} style={styled?.style} styled={styled} {...props}>
6
26
  {isString(text) || isNumber(text) ? text.toString() : 'Not a string'}
@@ -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,GAC/B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAS5C,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"}
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,GAC/B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAe5C;;;;;;;;;;;;;;;;;;;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"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the {@link Typography} component.
4
+ *
5
+ * Used by the Mapples renderer to resolve the `'Typography'` component type
6
+ * at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const TypographyComponentSchematics: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typography/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,6BAA6B,EAAE,mBAG3C,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Typography/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,EAAE,mBAG3C,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import Typography from './Typography';
2
+ /**
3
+ * Schematic registration entry for the {@link Typography} component.
4
+ *
5
+ * Used by the Mapples renderer to resolve the `'Typography'` component type
6
+ * at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const TypographyComponentSchematics = {
3
11
  type: 'Typography',
4
12
  Component: Typography,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/typography/Typography/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,MAAM,CAAC,MAAM,6BAA6B,GAAwB;IAChE,IAAI,EAAE,YAAY;IAClB,SAAS,EAAE,UAAU;CACtB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/typography/Typography/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwB;IAChE,IAAI,EAAE,YAAY;IAClB,SAAS,EAAE,UAAU;CACtB,CAAC"}
@@ -1,3 +1,12 @@
1
1
  import { RegisteredComponents } from '@mapples/types';
2
+ /**
3
+ * Combined schematic registry for all typography components.
4
+ *
5
+ * Aggregates {@link TextSchematic} and {@link TypographyComponentSchematics}
6
+ * into a single map keyed by component type string, ready to be merged into
7
+ * the global Mapples component registry.
8
+ *
9
+ * @public
10
+ */
2
11
  export declare const TypographySchematics: RegisteredComponents;
3
12
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/typography/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,oBAAoB,EAAE,oBAGlC,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/typography/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAKtD;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,EAAE,oBAGlC,CAAC"}
@@ -1,5 +1,14 @@
1
1
  import { TextSchematic } from './Text';
2
2
  import { TypographyComponentSchematics } from './Typography';
3
+ /**
4
+ * Combined schematic registry for all typography components.
5
+ *
6
+ * Aggregates {@link TextSchematic} and {@link TypographyComponentSchematics}
7
+ * into a single map keyed by component type string, ready to be merged into
8
+ * the global Mapples component registry.
9
+ *
10
+ * @public
11
+ */
3
12
  export const TypographySchematics = {
4
13
  [TextSchematic.type]: TextSchematic,
5
14
  [TypographyComponentSchematics.type]: TypographyComponentSchematics,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/typography/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAE7D,MAAM,CAAC,MAAM,oBAAoB,GAAyB;IACxD,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,aAAa;IACnC,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,6BAA6B;CACpE,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/typography/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAyB;IACxD,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,aAAa;IACnC,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE,6BAA6B;CACpE,CAAC"}
@@ -2,10 +2,22 @@ import { ReactElement, Ref } from 'react';
2
2
  import { StyledProp } from '@mapples/style';
3
3
  import type { StyledFlatListProps } from '@mapples/style/src/components/StyledFlatList';
4
4
  import type { View as RNView, ViewStyle } from 'react-native';
5
+ /**
6
+ * Props for the FlatList component.
7
+ *
8
+ * Extends `StyledFlatListProps` with a split `styled` object that applies
9
+ * separate style values to the outer container view, the list itself, and
10
+ * the list's content container.
11
+ *
12
+ * @public
13
+ */
5
14
  export type FlatListProps<T extends object> = Omit<StyledFlatListProps<T>, 'styled'> & {
6
15
  styled?: {
16
+ /** Style applied to the outer container view that wraps the list */
7
17
  style?: StyledProp<ViewStyle>;
18
+ /** Style applied directly to the `FlatList` component */
8
19
  styleList?: StyledProp<ViewStyle>;
20
+ /** Style applied to the scrollable content container of the list */
9
21
  contentContainerStyle?: StyledProp<ViewStyle>;
10
22
  };
11
23
  };
@@ -1 +1 @@
1
- {"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../src/components/views/FlatList/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGh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,oEAAoE;QACpE,KAAK,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;QAC9B,yDAAyD;QACzD,SAAS,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;QAClC,oEAAoE;QACpE,qBAAqB,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KAC/C,CAAC;CACH,CAAC;AA2DF,QAAA,MAAM,cAAc,EAAwB,CAAC,CAAC,SAAS,MAAM,EAC3D,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;CAAE,KAC5C,YAAY,CAAC;AAElB,eAAe,cAAc,CAAC"}
@@ -1,6 +1,30 @@
1
1
  import { forwardRef, Fragment } from 'react';
2
2
  import StateProvider from '@mapples/state';
3
3
  import { StyledFlatList, StyledView } from '@mapples/style';
4
+ /**
5
+ * A data-driven list component with built-in styling support.
6
+ *
7
+ * `FlatList` renders a scrollable list of items from the `data` prop, wrapping
8
+ * each item in a `StateProvider` so that child components can access item state
9
+ * directly. The outer container and the inner list accept independent `styled`
10
+ * entries, enabling separate layout and scroll-area styling.
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * <FlatList
15
+ * data={items}
16
+ * styled={{
17
+ * style: { flex: 1, backgroundColor: 'white' },
18
+ * styleList: { paddingHorizontal: 16 },
19
+ * contentContainerStyle: { paddingBottom: 32 },
20
+ * }}
21
+ * >
22
+ * <Text text="item name" />
23
+ * </FlatList>
24
+ * ```
25
+ *
26
+ * @public
27
+ */
4
28
  const FlatListComponent = forwardRef(({ styled, children, ...props }, ref) => {
5
29
  const containerStyled = { style: styled?.style };
6
30
  const listStyled = {
@@ -1 +1 @@
1
- {"version":3,"file":"FlatList.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/FlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAqB,MAAM,OAAO,CAAC;AAEhE,OAAO,aA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
  export declare const FlatListSchematic: RegisteredComponent;
8
+ /**
9
+ * Schematic configuration for a two-column grid layout backed by FlatList.
10
+ *
11
+ * @public
12
+ */
3
13
  export declare const GridTwoColumnsSchematic: RegisteredComponent;
14
+ /**
15
+ * Schematic configuration for a three-column grid layout backed by FlatList.
16
+ *
17
+ * @public
18
+ */
4
19
  export declare const GridThreeColumnsSchematic: RegisteredComponent;
20
+ /**
21
+ * Schematic configuration for a four-column grid layout backed by FlatList.
22
+ *
23
+ * @public
24
+ */
5
25
  export declare const GridFourColumnsSchematic: RegisteredComponent;
6
26
  //# sourceMappingURL=schematics.d.ts.map
@@ -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;AAIrD,eAAO,MAAM,iBAAiB,EAAE,mBAG/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,mBAGrC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,mBAGvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,mBAGtC,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;AAIrD;;;;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,16 +1,36 @@
1
1
  import FlatList from './FlatList';
2
+ /**
3
+ * Schematic configuration for the FlatList component.
4
+ *
5
+ * @public
6
+ */
2
7
  export const FlatListSchematic = {
3
8
  type: 'FlatList',
4
9
  Component: FlatList,
5
10
  };
11
+ /**
12
+ * Schematic configuration for a two-column grid layout backed by FlatList.
13
+ *
14
+ * @public
15
+ */
6
16
  export const GridTwoColumnsSchematic = {
7
17
  ...FlatListSchematic,
8
18
  type: 'GridTwoColumns',
9
19
  };
20
+ /**
21
+ * Schematic configuration for a three-column grid layout backed by FlatList.
22
+ *
23
+ * @public
24
+ */
10
25
  export const GridThreeColumnsSchematic = {
11
26
  ...FlatListSchematic,
12
27
  type: 'GridThreeColumns',
13
28
  };
29
+ /**
30
+ * Schematic configuration for a four-column grid layout backed by FlatList.
31
+ *
32
+ * @public
33
+ */
14
34
  export const GridFourColumnsSchematic = {
15
35
  ...FlatListSchematic,
16
36
  type: 'GridFourColumns',
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,MAAM,CAAC,MAAM,iBAAiB,GAAwB;IACpD,IAAI,EAAE,UAAU;IAChB,SAAS,EAAE,QAA0B;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,GAAG,iBAAiB;IACpB,IAAI,EAAE,gBAAgB;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,GAAG,iBAAiB;IACpB,IAAI,EAAE,kBAAkB;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAwB;IAC3D,GAAG,iBAAiB;IACpB,IAAI,EAAE,iBAAiB;CACxB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/views/FlatList/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC;;;;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,GAAG,iBAAiB;IACpB,IAAI,EAAE,gBAAgB;CACvB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,GAAG,iBAAiB;IACpB,IAAI,EAAE,kBAAkB;CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAwB;IAC3D,GAAG,iBAAiB;IACpB,IAAI,EAAE,iBAAiB;CACxB,CAAC"}