@mapples/ui 1.1.0 → 1.1.2

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 (187) 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/BarCode.d.ts.map +1 -1
  60. package/dist/components/media/BarCode/BarCode.js +0 -8
  61. package/dist/components/media/BarCode/BarCode.js.map +1 -1
  62. package/dist/components/media/BarCode/schematics.d.ts +8 -0
  63. package/dist/components/media/BarCode/schematics.d.ts.map +1 -1
  64. package/dist/components/media/BarCode/schematics.js +8 -0
  65. package/dist/components/media/BarCode/schematics.js.map +1 -1
  66. package/dist/components/media/Icon/Icon.d.ts +34 -0
  67. package/dist/components/media/Icon/Icon.d.ts.map +1 -1
  68. package/dist/components/media/Icon/Icon.js +23 -0
  69. package/dist/components/media/Icon/Icon.js.map +1 -1
  70. package/dist/components/media/Icon/MockIcon.d.ts.map +1 -1
  71. package/dist/components/media/Icon/MockIcon.js +9 -0
  72. package/dist/components/media/Icon/MockIcon.js.map +1 -1
  73. package/dist/components/media/Icon/schematics.d.ts +8 -0
  74. package/dist/components/media/Icon/schematics.d.ts.map +1 -1
  75. package/dist/components/media/Icon/schematics.js +8 -0
  76. package/dist/components/media/Icon/schematics.js.map +1 -1
  77. package/dist/components/media/Image/Image.d.ts +2 -0
  78. package/dist/components/media/Image/Image.d.ts.map +1 -1
  79. package/dist/components/media/Image/Image.js.map +1 -1
  80. package/dist/components/media/Image/schematics.d.ts +8 -0
  81. package/dist/components/media/Image/schematics.d.ts.map +1 -1
  82. package/dist/components/media/Image/schematics.js +8 -0
  83. package/dist/components/media/Image/schematics.js.map +1 -1
  84. package/dist/components/media/QRCode/schematics.d.ts +8 -0
  85. package/dist/components/media/QRCode/schematics.d.ts.map +1 -1
  86. package/dist/components/media/QRCode/schematics.js +8 -0
  87. package/dist/components/media/QRCode/schematics.js.map +1 -1
  88. package/dist/components/media/Svg/Svg.d.ts.map +1 -1
  89. package/dist/components/media/Svg/Svg.js +1 -1
  90. package/dist/components/media/Svg/Svg.js.map +1 -1
  91. package/dist/components/media/Svg/schematics.d.ts +8 -0
  92. package/dist/components/media/Svg/schematics.d.ts.map +1 -1
  93. package/dist/components/media/Svg/schematics.js +8 -0
  94. package/dist/components/media/Svg/schematics.js.map +1 -1
  95. package/dist/components/media/Video/Video.d.ts +44 -0
  96. package/dist/components/media/Video/Video.d.ts.map +1 -1
  97. package/dist/components/media/Video/Video.js +25 -0
  98. package/dist/components/media/Video/Video.js.map +1 -1
  99. package/dist/components/media/Video/schematics.d.ts +8 -0
  100. package/dist/components/media/Video/schematics.d.ts.map +1 -1
  101. package/dist/components/media/Video/schematics.js +8 -0
  102. package/dist/components/media/Video/schematics.js.map +1 -1
  103. package/dist/components/media/schematics.d.ts +9 -0
  104. package/dist/components/media/schematics.d.ts.map +1 -1
  105. package/dist/components/media/schematics.js +9 -0
  106. package/dist/components/media/schematics.js.map +1 -1
  107. package/dist/components/typography/Text/Text.d.ts +14 -17
  108. package/dist/components/typography/Text/Text.d.ts.map +1 -1
  109. package/dist/components/typography/Text/Text.js +17 -18
  110. package/dist/components/typography/Text/Text.js.map +1 -1
  111. package/dist/components/typography/Text/schematics.d.ts +8 -0
  112. package/dist/components/typography/Text/schematics.d.ts.map +1 -1
  113. package/dist/components/typography/Text/schematics.js +8 -0
  114. package/dist/components/typography/Text/schematics.js.map +1 -1
  115. package/dist/components/typography/Typography/Typography.d.ts +27 -0
  116. package/dist/components/typography/Typography/Typography.d.ts.map +1 -1
  117. package/dist/components/typography/Typography/Typography.js +20 -0
  118. package/dist/components/typography/Typography/Typography.js.map +1 -1
  119. package/dist/components/typography/Typography/schematics.d.ts +8 -0
  120. package/dist/components/typography/Typography/schematics.d.ts.map +1 -1
  121. package/dist/components/typography/Typography/schematics.js +8 -0
  122. package/dist/components/typography/Typography/schematics.js.map +1 -1
  123. package/dist/components/typography/schematics.d.ts +9 -0
  124. package/dist/components/typography/schematics.d.ts.map +1 -1
  125. package/dist/components/typography/schematics.js +9 -0
  126. package/dist/components/typography/schematics.js.map +1 -1
  127. package/dist/components/views/FlatList/FlatList.d.ts +12 -0
  128. package/dist/components/views/FlatList/FlatList.d.ts.map +1 -1
  129. package/dist/components/views/FlatList/FlatList.js +24 -0
  130. package/dist/components/views/FlatList/FlatList.js.map +1 -1
  131. package/dist/components/views/FlatList/schematics.d.ts +20 -0
  132. package/dist/components/views/FlatList/schematics.d.ts.map +1 -1
  133. package/dist/components/views/FlatList/schematics.js +20 -0
  134. package/dist/components/views/FlatList/schematics.js.map +1 -1
  135. package/dist/components/views/GradientBackground/GradientBackground.d.ts +52 -0
  136. package/dist/components/views/GradientBackground/GradientBackground.d.ts.map +1 -0
  137. package/dist/components/views/GradientBackground/GradientBackground.js +41 -0
  138. package/dist/components/views/GradientBackground/GradientBackground.js.map +1 -0
  139. package/dist/components/views/GradientBackground/GradientLayer.d.ts +39 -0
  140. package/dist/components/views/GradientBackground/GradientLayer.d.ts.map +1 -0
  141. package/dist/components/views/GradientBackground/GradientLayer.js +51 -0
  142. package/dist/components/views/GradientBackground/GradientLayer.js.map +1 -0
  143. package/dist/components/views/GradientBackground/index.d.ts +7 -0
  144. package/dist/components/views/GradientBackground/index.d.ts.map +1 -0
  145. package/dist/components/views/GradientBackground/index.js +7 -0
  146. package/dist/components/views/GradientBackground/index.js.map +1 -0
  147. package/dist/components/views/GradientBackground/schematics.d.ts +13 -0
  148. package/dist/components/views/GradientBackground/schematics.d.ts.map +1 -0
  149. package/dist/components/views/GradientBackground/schematics.js +16 -0
  150. package/dist/components/views/GradientBackground/schematics.js.map +1 -0
  151. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.d.ts +40 -0
  152. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.d.ts.map +1 -1
  153. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.js +24 -0
  154. package/dist/components/views/ImageBackgroundView/ImageBackgroundView.js.map +1 -1
  155. package/dist/components/views/ImageBackgroundView/schematics.d.ts +5 -0
  156. package/dist/components/views/ImageBackgroundView/schematics.d.ts.map +1 -1
  157. package/dist/components/views/ImageBackgroundView/schematics.js +5 -0
  158. package/dist/components/views/ImageBackgroundView/schematics.js.map +1 -1
  159. package/dist/components/views/SafeAreaView/SafeAreaView.d.ts +29 -0
  160. package/dist/components/views/SafeAreaView/SafeAreaView.d.ts.map +1 -1
  161. package/dist/components/views/SafeAreaView/SafeAreaView.js +24 -0
  162. package/dist/components/views/SafeAreaView/SafeAreaView.js.map +1 -1
  163. package/dist/components/views/SafeAreaView/schematics.d.ts +5 -0
  164. package/dist/components/views/SafeAreaView/schematics.d.ts.map +1 -1
  165. package/dist/components/views/SafeAreaView/schematics.js +5 -0
  166. package/dist/components/views/SafeAreaView/schematics.js.map +1 -1
  167. package/dist/components/views/ScrollView/schematics.d.ts +10 -0
  168. package/dist/components/views/ScrollView/schematics.d.ts.map +1 -1
  169. package/dist/components/views/ScrollView/schematics.js +10 -0
  170. package/dist/components/views/ScrollView/schematics.js.map +1 -1
  171. package/dist/components/views/View/View.d.ts +16 -1
  172. package/dist/components/views/View/View.d.ts.map +1 -1
  173. package/dist/components/views/View/View.js +5 -3
  174. package/dist/components/views/View/View.js.map +1 -1
  175. package/dist/components/views/View/schematics.d.ts +13 -0
  176. package/dist/components/views/View/schematics.d.ts.map +1 -1
  177. package/dist/components/views/View/schematics.js +13 -0
  178. package/dist/components/views/View/schematics.js.map +1 -1
  179. package/dist/components/views/index.d.ts +2 -0
  180. package/dist/components/views/index.d.ts.map +1 -1
  181. package/dist/components/views/index.js +2 -0
  182. package/dist/components/views/index.js.map +1 -1
  183. package/dist/components/views/schematics.d.ts +11 -0
  184. package/dist/components/views/schematics.d.ts.map +1 -1
  185. package/dist/components/views/schematics.js +11 -0
  186. package/dist/components/views/schematics.js.map +1 -1
  187. package/package.json +7 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAIxD,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,CACvC,SAAQ,iBAAiB,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IACvD,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,GAAG;QACtC,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC;KACnD,CAAC;CACH;AAED,QAAA,MAAM,MAAM,2GA0BX,CAAC;AAGF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAe,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAc,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AAIxD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,CAAE,SAAQ,iBAAiB,CAClE,eAAe,CAAC,WAAW,CAAC,CAC7B;IACC,2DAA2D;IAC3D,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oEAAoE;IACpE,MAAM,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,GAAG;QACtC,8CAA8C;QAC9C,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC;KACnD,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,MAAM,2GA0BX,CAAC;AAGF,eAAe,MAAM,CAAC"}
@@ -2,6 +2,25 @@ import { forwardRef, useCallback } from 'react';
2
2
  import { StyledView } from '@mapples/style';
3
3
  import { map } from 'lodash';
4
4
  import SelectItem from './SelectItem';
5
+ /**
6
+ * A list component that renders each item in `data` as a pressable `SelectItem`.
7
+ *
8
+ * Each item is wrapped with a `StateProvider` so that child components can
9
+ * consume the item's value through the `@mapples/state` context.
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <Select
14
+ * data={['Apple', 'Banana', 'Cherry']}
15
+ * onSelect={(item) => console.log('Selected:', item)}
16
+ * styled={{ style: { gap: 8 }, itemStyle: { padding: 12 } }}
17
+ * >
18
+ * <Text>{/* rendered inside each SelectItem via children *\/}</Text>
19
+ * </Select>
20
+ * ```
21
+ *
22
+ * @public
23
+ */
5
24
  const Select = forwardRef(({ styled, children, data, onSelect, ...props }, ref) => {
6
25
  const { itemStyle, ...viewStyle } = styled || {};
7
26
  const renderSelectItem = useCallback((item, i) => {
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../../src/components/inputs/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAqB,WAAW,EAAE,MAAM,OAAO,CAAC;AAEnE,OAAO,EAAE,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAG7B,OAAO,UAAU,MAAM,cAAc,CAAC;AAWtC,MAAM,MAAM,GAAG,UAAU,CACvB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAe,EAAE,GAAG,EAAE,EAAE;IACnE,MAAM,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;IAEjD,MAAM,gBAAgB,GAAG,WAAW,CAClC,CAAC,IAAS,EAAE,CAAS,EAAE,EAAE;QACvB,OAAO,CACL,CAAC,UAAU,CACT,GAAG,CAAC,CAAC,CAAC,CAAC,CACP,KAAK,CAAC,CAAC,IAAI,CAAC,CACZ,QAAQ,CAAC,CAAC,QAAQ,CAAC,CACnB,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAE7B;YAAA,CAAC,QAAQ,CACX;UAAA,EAAE,UAAU,CAAC,CACd,CAAC;IACJ,CAAC,EACD,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ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J,CAAC,EACD,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,CAChC,CAAC;IAEF,OAAO,CACL,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,SAAS,EAAE,CAAC,CAAC,IAAI,KAAK,CAAC,CACxD;QAAA,CAAC,GAAG,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAC9B;MAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,MAAM,CAAC,WAAW,GAAG,QAAQ,CAAC;AAE9B,eAAe,MAAM,CAAC"}
@@ -1,10 +1,33 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  import { WithStyledProps } from '@mapples/style';
3
3
  import { PressableProps } from '../Pressable';
4
+ /**
5
+ * Props for the SelectItem component.
6
+ *
7
+ * @public
8
+ */
4
9
  export interface SelectItemProps extends PropsWithChildren<WithStyledProps<PressableProps>> {
10
+ /** The data value associated with this item, injected into `StateProvider`. */
5
11
  state?: any;
12
+ /** Callback invoked with the item's `state` value when the row is pressed. */
6
13
  onSelect?: (data: any) => void;
7
14
  }
15
+ /**
16
+ * A single pressable row within a `Select` list.
17
+ *
18
+ * Wraps its children inside a `StateProvider` so that downstream components
19
+ * can read the current item value from the `@mapples/state` context. Calls
20
+ * `onSelect` with the row's `state` value when pressed.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * <SelectItem state={{ id: 1, label: 'Apple' }} onSelect={(item) => console.log(item)}>
25
+ * <Text>Apple</Text>
26
+ * </SelectItem>
27
+ * ```
28
+ *
29
+ * @public
30
+ */
8
31
  declare const SelectItem: FC<SelectItemProps>;
9
32
  export default SelectItem;
10
33
  //# sourceMappingURL=SelectItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/SelectItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAkB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,eACf,SAAQ,iBAAiB,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;IAC1D,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiBnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/SelectItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAEjD,OAAkB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEzD;;;;GAIG;AACH,MAAM,WAAW,eAAgB,SAAQ,iBAAiB,CACxD,eAAe,CAAC,cAAc,CAAC,CAChC;IACC,+EAA+E;IAC/E,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAiBnC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,5 +1,21 @@
1
1
  import StateProvider from '@mapples/state';
2
2
  import Pressable from '../Pressable';
3
+ /**
4
+ * A single pressable row within a `Select` list.
5
+ *
6
+ * Wraps its children inside a `StateProvider` so that downstream components
7
+ * can read the current item value from the `@mapples/state` context. Calls
8
+ * `onSelect` with the row's `state` value when pressed.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <SelectItem state={{ id: 1, label: 'Apple' }} onSelect={(item) => console.log(item)}>
13
+ * <Text>Apple</Text>
14
+ * </SelectItem>
15
+ * ```
16
+ *
17
+ * @public
18
+ */
3
19
  const SelectItem = ({ state, children, onSelect, ...props }) => {
4
20
  const handleSelect = () => {
5
21
  onSelect?.(state);
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.js","sourceRoot":"","sources":["../../../../src/components/inputs/Select/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAG3C,OAAO,SAA6B,MAAM,cAAc,CAAC;AAQzD,MAAM,UAAU,GAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAC1B;MAAA,CAAC,SAAS,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAC1C;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,SAAS,CACb;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"SelectItem.js","sourceRoot":"","sources":["../../../../src/components/inputs/Select/SelectItem.tsx"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,gBAAgB,CAAC;AAG3C,OAAO,SAA6B,MAAM,cAAc,CAAC;AAgBzD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,GAAwB,CAAC,EACvC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;IACpB,CAAC,CAAC;IAEF,OAAO,CACL,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAC1B;MAAA,CAAC,SAAS,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAC1C;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,SAAS,CACb;IAAA,EAAE,aAAa,CAAC,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic configuration for the Select component.
4
+ *
5
+ * This configuration defines how the Select component appears in visual editors,
6
+ * including its properties, styling options, and default values.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const SelectSchematics: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,gBAAgB,EAAE,mBAG9B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/Select/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,mBAG9B,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import Select from './Select';
2
+ /**
3
+ * Schematic configuration for the Select component.
4
+ *
5
+ * This configuration defines how the Select component appears in visual editors,
6
+ * including its properties, styling options, and default values.
7
+ *
8
+ * @public
9
+ */
2
10
  export const SelectSchematics = {
3
11
  type: 'Select',
4
12
  Component: Select,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/inputs/Select/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,MAAM;CAClB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/inputs/Select/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,MAAM;CAClB,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic configuration for the TextInput component.
4
+ *
5
+ * This configuration defines how the TextInput component appears in visual editors,
6
+ * including its properties, styling options, and default values.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const TextInputSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/TextInput/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,kBAAkB,EAAE,mBAGhC,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/TextInput/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,EAAE,mBAGhC,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import TextInput from './TextInput';
2
+ /**
3
+ * Schematic configuration for the TextInput component.
4
+ *
5
+ * This configuration defines how the TextInput component appears in visual editors,
6
+ * including its properties, styling options, and default values.
7
+ *
8
+ * @public
9
+ */
2
10
  export const TextInputSchematic = {
3
11
  type: 'TextInput',
4
12
  Component: TextInput,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/inputs/TextInput/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,CAAC,MAAM,kBAAkB,GAAwB;IACrD,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;CACrB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/inputs/TextInput/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAwB;IACrD,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;CACrB,CAAC"}
@@ -1,3 +1,12 @@
1
1
  import { RegisteredComponents } from '@mapples/types';
2
+ /**
3
+ * Aggregated schematic configurations for all input components.
4
+ *
5
+ * Keyed by component type string, this map is consumed by the visual editor
6
+ * to register every input component (Button, IconButton, Pressable, Select,
7
+ * TextInput) in a single pass.
8
+ *
9
+ * @public
10
+ */
2
11
  export declare const InputsSchematics: RegisteredComponents;
3
12
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAQtD,eAAO,MAAM,gBAAgB,EAAE,oBAM9B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAQtD;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,oBAM9B,CAAC"}
@@ -3,6 +3,15 @@ import { IconButtonSchematics } from './IconButton';
3
3
  import { PressableSchematics } from './Pressable';
4
4
  import { SelectSchematics } from './Select';
5
5
  import { TextInputSchematic } from './TextInput';
6
+ /**
7
+ * Aggregated schematic configurations for all input components.
8
+ *
9
+ * Keyed by component type string, this map is consumed by the visual editor
10
+ * to register every input component (Button, IconButton, Pressable, Select,
11
+ * TextInput) in a single pass.
12
+ *
13
+ * @public
14
+ */
6
15
  export const InputsSchematics = {
7
16
  [TextInputSchematic.type]: TextInputSchematic,
8
17
  [ButtonSchematic.type]: ButtonSchematic,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/inputs/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAyB;IACpD,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,kBAAkB;IAC7C,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,eAAe;IACvC,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,oBAAoB;IACjD,CAAC,mBAAmB,CAAC,IAAI,CAAC,EAAE,mBAAmB;IAC/C,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,gBAAgB;CAC1C,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../src/components/inputs/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,gBAA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;KACjC,CAAC;IACF,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,2CAA2C;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,wCAAwC;IACxC,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB,CACF,CAAC;AA0FF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,QAAA,MAAM,OAAO;IAtIT,8DAA8D;aACrD,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,2BAA2B;QAC3B,QAAQ,CAAC,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC;KACjC;IACD,uCAAuC;YAC/B,MAAM;IACd,iCAAiC;aACxB,MAAM;IACf,+BAA+B;YACvB,MAAM;IACd,sCAAsC;sBACpB,MAAM;IACxB,2CAA2C;sBACzB,MAAM;IACxB,wCAAwC;aAC/B,aAAa;;;wCA6KzB,CAAC;AAGF,eAAe,OAAO,CAAC"}
@@ -53,14 +53,6 @@ const generateBarcodeData = (value, format = 'CODE128', barWidth = 2) => {
53
53
  catch (error) {
54
54
  const errorMessage = error instanceof Error ? error.message : 'Unknown error';
55
55
  console.error(`Error generating barcode (format: ${format}, value: ${value}):`, errorMessage);
56
- // Log available formats for debugging
57
- try {
58
- const availableFormats = BarcodeEncoder.getAvailableFormats();
59
- console.log('Available barcode formats:', availableFormats);
60
- }
61
- catch {
62
- // Ignore if getAvailableFormats fails
63
- }
64
56
  return null;
65
57
  }
66
58
  };
@@ -1 +1 @@
1
- {"version":3,"file":"BarCode.js","sourceRoot":"","sources":["../../../../src/components/media/BarCode/BarCode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmC,OAAO,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAGL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,WAAW,CAAC,CAAC,IAAI,KAAK,CAAC,CACnD;QAAA,CAAC,GAAG,CACF,KAAK,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,CAC9B,MAAM,CAAC,CAAC,MAAM,CAAC,CACf,OAAO,CAAC,CAAC,OAAO,WAAW,CAAC,UAAU,IAAI,MAAM,EAAE,CAAC,CACnD,KAAK,CAAC,CAAC,QAAiB,CAAC,CAEzB;UAAA,CAAC,IAAI,CACP;QAAA,EAAE,GAAG,CACP;MAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,eAAe,OAAO,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the `BarCode` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"BarCode"` element
6
+ * type to the `BarCode` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const BarCodeSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/BarCode/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,gBAAgB,EAAE,mBAG9B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/BarCode/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,mBAG9B,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import BarCode from './BarCode';
2
+ /**
3
+ * Schematic registration entry for the `BarCode` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"BarCode"` element
6
+ * type to the `BarCode` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const BarCodeSchematic = {
3
11
  type: 'BarCode',
4
12
  Component: BarCode,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/BarCode/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,OAAO;CACnB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/BarCode/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB;IACnD,IAAI,EAAE,SAAS;IACf,SAAS,EAAE,OAAO;CACnB,CAAC"}
@@ -2,20 +2,54 @@ import { PropsWithChildren } from 'react';
2
2
  import { StyledProp, StyledProps, WithStyledProps } from '@mapples/style';
3
3
  import { SvgSource } from '@mapples/types';
4
4
  import { TextStyle, View, ViewProps } from 'react-native';
5
+ /**
6
+ * Props for the Icon component.
7
+ *
8
+ * @public
9
+ */
5
10
  export type IconProps = PropsWithChildren<Omit<WithStyledProps<ViewProps>, 'styled'> & {
11
+ /** Styling configuration for the icon container and SVG */
6
12
  styled?: StyledProps<ViewProps> & {
13
+ /** SVG-specific styling (width, height, color) */
7
14
  styleSvg?: StyledProp<TextStyle>;
8
15
  };
9
16
  }> & {
17
+ /** URI of the SVG icon — either a remote URL string or a local `SvgSource` module reference */
10
18
  uri?: string | SvgSource;
11
19
  };
20
+ /**
21
+ * Renders an SVG icon from a URI or falls back to a placeholder `MockIcon`.
22
+ *
23
+ * Accepts either a remote URL string or a local `SvgSource` module reference
24
+ * via the `uri` prop. When no `uri` is provided the `MockIcon` placeholder is
25
+ * shown instead, which is useful during development or when the icon asset is
26
+ * optional.
27
+ *
28
+ * @example
29
+ * ```tsx
30
+ * // Remote URL
31
+ * <Icon
32
+ * uri="https://example.com/icon.svg"
33
+ * styled={{ styleSvg: { width: 24, height: 24, color: '#333' } }}
34
+ * />
35
+ *
36
+ * // Local SVG module
37
+ * import MyIcon from './my-icon.svg';
38
+ * <Icon uri={MyIcon} styled={{ styleSvg: { width: 24, height: 24 } }} />
39
+ * ```
40
+ *
41
+ * @public
42
+ */
12
43
  declare const Icon: import("react").ForwardRefExoticComponent<Omit<WithStyledProps<ViewProps>, "styled"> & {
44
+ /** Styling configuration for the icon container and SVG */
13
45
  styled?: StyledProps<ViewProps> & {
46
+ /** SVG-specific styling (width, height, color) */
14
47
  styleSvg?: StyledProp<TextStyle>;
15
48
  };
16
49
  } & {
17
50
  children?: import("react").ReactNode | undefined;
18
51
  } & {
52
+ /** URI of the SVG icon — either a remote URL string or a local `SvgSource` module reference */
19
53
  uri?: string | SvgSource;
20
54
  } & import("react").RefAttributes<View>>;
21
55
  export default Icon;
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAEL,UAAU,EACV,WAAW,EAGX,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK1D,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,GAAG;IAC3C,MAAM,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,QAAQ,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KAClC,CAAC;CACH,CACF,GAAG;IACF,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAIF,QAAA,MAAM,IAAI;aAVG,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,QAAQ,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KAClC;;;;UAGG,MAAM,GAAG,SAAS;wCAyDzB,CAAC;AAGF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAEL,UAAU,EACV,WAAW,EAGX,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK1D;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,iBAAiB,CACvC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,GAAG;IAC3C,2DAA2D;IAC3D,MAAM,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,kDAAkD;QAClD,QAAQ,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KAClC,CAAC;CACH,CACF,GAAG;IACF,+FAA+F;IAC/F,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,QAAA,MAAM,IAAI;IApCN,2DAA2D;aAClD,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,kDAAkD;QAClD,QAAQ,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;KAClC;;;;IAGH,+FAA+F;UACzF,MAAM,GAAG,SAAS;wCAgFzB,CAAC;AAGF,eAAe,IAAI,CAAC"}
@@ -3,6 +3,29 @@ import { styled as makeStyled, StyledView, Styler, } from '@mapples/style';
3
3
  import { SvgUri } from 'react-native-svg';
4
4
  import MockIcon from './MockIcon';
5
5
  const StyledSvgUri = makeStyled(SvgUri);
6
+ /**
7
+ * Renders an SVG icon from a URI or falls back to a placeholder `MockIcon`.
8
+ *
9
+ * Accepts either a remote URL string or a local `SvgSource` module reference
10
+ * via the `uri` prop. When no `uri` is provided the `MockIcon` placeholder is
11
+ * shown instead, which is useful during development or when the icon asset is
12
+ * optional.
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * // Remote URL
17
+ * <Icon
18
+ * uri="https://example.com/icon.svg"
19
+ * styled={{ styleSvg: { width: 24, height: 24, color: '#333' } }}
20
+ * />
21
+ *
22
+ * // Local SVG module
23
+ * import MyIcon from './my-icon.svg';
24
+ * <Icon uri={MyIcon} styled={{ styleSvg: { width: 24, height: 24 } }} />
25
+ * ```
26
+ *
27
+ * @public
28
+ */
6
29
  const Icon = forwardRef(({ styled, uri, ...props }, ref) => {
7
30
  const { styleSvg, ...styledViewProps } = styled || {};
8
31
  const ejectStyle = Styler.flatten(styleSvg);
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../src/components/media/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,UAAU,EAAqB,MAAM,OAAO,CAAC;AAErE,OAAO,EACL,MAAM,IAAI,UAAU,EAGpB,UAAU,EACV,MAAM,GAEP,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,MAAM,EAAY,MAAM,kBAAkB,CAAC;AAEpD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAYlC,MAAM,YAAY,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;AAExC,MAAM,IAAI,GAAG,UAAU,CACrB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACjC,MAAM,EAAE,QAAQ,EAAE,GAAG,eAAe,EAAE,GAAG,MAAM,IAAI,EAAE,C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I,KAAK,CAAC,CACvD;QAAA,CAAC,GAAG,CAAC,CAAC,CAAC,CACL,EACE;YAAA,CAAC,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,CACzB,CAAC,YAAY,CACX,GAAG,CAAC,CAAC,GAAG,CAAC,CACT,MAAM,CAAC,CAAC;oBACN,KAAK,EAAE,UAAU,EAAE,KAAwB;oBAC3C,MAAM,EAAE,UAAU,EAAE,MAAyB;oBAC7C,KAAK,EAAE,UAAU,EAAE,KAAK;oBACxB,KAAK,EAAE,QAAQ;iBAChB,CAAC,EACF,CACH,CAAC,CAAC,CAAC,CACF,eAAe,CAAC,GAAG,CAAC,CACrB,CACH;UAAA,GAAG,CACJ,CAAC,CAAC,CAAC,CACF,CAAC,QAAQ,CACP,MAAM,CAAC,CAAC;gBACN,KAAK,EAAE,UAAU,EAAE,KAAwB;gBAC3C,MAAM,EAAE,UAAU,EAAE,MAAyB;gBAC7C,KAAK,EAAE,UAAU,EAAE,KAAK;gBACxB,KAAK,EAAE,QAAQ;aAChB,CAAC,EACF,CACH,CACH;MAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MockIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Icon/MockIcon.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,QAAQ,EAAQ,MAAM,kBAAkB,CAAC;;;;AAUvD,wBAAgC"}
1
+ {"version":3,"file":"MockIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Icon/MockIcon.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,QAAQ,EAAQ,MAAM,kBAAkB,CAAC;;;;AAmBvD,wBAAgC"}
@@ -1,5 +1,14 @@
1
1
  import { styled } from '@mapples/style';
2
2
  import Svg, { Path } from 'react-native-svg';
3
+ /**
4
+ * Placeholder SVG icon rendered by `Icon` when no `uri` prop is supplied.
5
+ *
6
+ * Displays a generic image/landscape silhouette to indicate that an icon asset
7
+ * has not yet been provided. Accepts all standard `SvgProps` and is wrapped
8
+ * with the `@mapples/style` `styled` helper before export.
9
+ *
10
+ * @internal
11
+ */
3
12
  const MockIcon = (props) => {
4
13
  return (<Svg {...props} viewBox="0 0 256 256">
5
14
  <Path d="M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16h64a8,8,0,0,0,7.59-5.47l14.83-44.48L163,151.43a8.07,8.07,0,0,0,4.46-4.46l14.62-36.55,44.48-14.83A8,8,0,0,0,232,88V56A16,16,0,0,0,216,40ZM112.41,157.47,98.23,200H40V172l52-52,30.42,30.42L117,152.57A8,8,0,0,0,112.41,157.47ZM216,82.23,173.47,96.41a8,8,0,0,0-4.9,4.62l-14.72,36.82L138.58,144l-35.27-35.27a16,16,0,0,0-22.62,0L40,149.37V56H216Zm12.68,33a8,8,0,0,0-7.21-1.1l-23.8,7.94a8,8,0,0,0-4.9,4.61l-14.31,35.77-35.77,14.31a8,8,0,0,0-4.61,4.9l-7.94,23.8A8,8,0,0,0,137.73,216H216a16,16,0,0,0,16-16V121.73A8,8,0,0,0,228.68,115.24ZM216,200H148.83l3.25-9.75,35.51-14.2a8.07,8.07,0,0,0,4.46-4.46l14.2-35.51,9.75-3.25Z"></Path>
@@ -1 +1 @@
1
- {"version":3,"file":"MockIcon.js","sourceRoot":"","sources":["../../../../src/components/media/Icon/MockIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,GAAG,EAAE,EAAY,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,QAAQ,GAAiB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACL,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,CAAC,aAAa,CACnC;MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,spBAAspB,CAAC,EAAE,IAAI,CACvqB;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"MockIcon.js","sourceRoot":"","sources":["../../../../src/components/media/Icon/MockIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,GAAG,EAAE,EAAY,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,QAAQ,GAAiB,CAAC,KAAK,EAAE,EAAE;IACvC,OAAO,CACL,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,CAAC,aAAa,CACnC;MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,spBAAspB,CAAC,EAAE,IAAI,CACvqB;IAAA,EAAE,GAAG,CAAC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC,QAAQ,CAAC,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the `Icon` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Icon"` element type
6
+ * to the `Icon` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const IconSchematics: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Icon/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/Icon/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 IconComponent from './Icon';
2
+ /**
3
+ * Schematic registration entry for the `Icon` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Icon"` element type
6
+ * to the `Icon` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const IconSchematics = {
3
11
  type: 'Icon',
4
12
  Component: IconComponent,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Icon/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,QAAQ,CAAC;AAEnC,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,aAAa;CACzB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Icon/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,aAAa,MAAM,QAAQ,CAAC;AAEnC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAwB;IACjD,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,aAAa;CACzB,CAAC"}
@@ -12,6 +12,7 @@ export type ImageProps = PropsWithChildren<Omit<WithStyledProps<ExpoImageProps>,
12
12
  styled?: StyledProps<ViewProps> & {
13
13
  /** Image-specific styling */
14
14
  styleImage?: StyledProp<ImageStyle>;
15
+ /** Additional styled props forwarded directly to the underlying `expo-image` component */
15
16
  styledImageProps?: StyledProps<ExpoImageProps>;
16
17
  };
17
18
  /** Alternative data source for the image */
@@ -49,6 +50,7 @@ declare const Image: import("react").ForwardRefExoticComponent<Omit<WithStyledPr
49
50
  styled?: StyledProps<ViewProps> & {
50
51
  /** Image-specific styling */
51
52
  styleImage?: StyledProp<ImageStyle>;
53
+ /** Additional styled props forwarded directly to the underlying `expo-image` component */
52
54
  styledImageProps?: StyledProps<ExpoImageProps>;
53
55
  };
54
56
  /** Alternative data source for the image */
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAEL,UAAU,EACV,WAAW,EAIX,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAsB,UAAU,IAAI,cAAc,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErD;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,iBAAiB,CACxC,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,GAAG;IAChD,qEAAqE;IACrE,MAAM,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,6BAA6B;QAC7B,UAAU,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;QACpC,gBAAgB,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;KAChD,CAAC;IACF,4CAA4C;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CACF,CAAC;AAIF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,QAAA,MAAM,KAAK;IAxCP,qEAAqE;aAC5D,WAAW,CAAC,SAAS,CAAC,GAAG;QAChC,6BAA6B;QAC7B,UAAU,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;QACpC,gBAAgB,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;KAChD;IACD,4CAA4C;iBAC/B,MAAM;;;2CA4DtB,CAAC;AAkBF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAE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AAC,CACF,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CACrD;YAAA,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAC7C;cAAA,CAAC,GAAG,IAAI,OAAO,CACjB;YAAA,EAAE,UAAU,CACd;UAAA,EAAE,UAAU,CAAC,CACd,CACH;MAAA,EAAE,UAAU,CAAC,CACd,CAAC;AACJ,CAAC,CACF,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3B,gBAAgB,EAAE;QAChB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,eAAe,EAAE,MAAM;QACvB,UAAU,EAAE,QAAQ;QACpB,cAAc,EAAE,QAAQ;KACzB;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,MAAM;QAClB,KAAK,EAAE,SAAS;KACjB;CACF,CAAC,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -1,3 +1,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the `Image` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Image"` element type
6
+ * to the `Image` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const ImageSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Image/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/Image/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 Image from './Image';
2
+ /**
3
+ * Schematic registration entry for the `Image` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"Image"` element type
6
+ * to the `Image` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const ImageSchematic = {
3
11
  type: 'Image',
4
12
  Component: Image,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/Image/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/Image/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,11 @@
1
1
  import { RegisteredComponent } from '@mapples/types';
2
+ /**
3
+ * Schematic registration entry for the `QRCode` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"QRCode"` element
6
+ * type to the `QRCode` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export declare const QRCodeSchematic: RegisteredComponent;
3
11
  //# sourceMappingURL=schematics.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/QRCode/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD,eAAO,MAAM,eAAe,EAAE,mBAG7B,CAAC"}
1
+ {"version":3,"file":"schematics.d.ts","sourceRoot":"","sources":["../../../../src/components/media/QRCode/schematics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAIrD;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe,EAAE,mBAG7B,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import QRCode from './QRCode';
2
+ /**
3
+ * Schematic registration entry for the `QRCode` component.
4
+ *
5
+ * Used by the `@mapples/render` pipeline to resolve the `"QRCode"` element
6
+ * type to the `QRCode` React component at runtime.
7
+ *
8
+ * @public
9
+ */
2
10
  export const QRCodeSchematic = {
3
11
  type: 'QRCode',
4
12
  Component: QRCode,
@@ -1 +1 @@
1
- {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/QRCode/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,MAAM,CAAC,MAAM,eAAe,GAAwB;IAClD,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,MAAM;CAClB,CAAC"}
1
+ {"version":3,"file":"schematics.js","sourceRoot":"","sources":["../../../../src/components/media/QRCode/schematics.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAwB;IAClD,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,MAAM;CAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Svg.d.ts","sourceRoot":"","sources":["../../../../src/components/media/Svg/Svg.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,UAAU,EACV,WAAW,EAGX,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,SAAS,EAAa,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAU,MAAM,kBAAkB,CAAC;AAInE;;;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