react-native-stallion 2.4.2-alpha.1 → 2.4.3-alpha.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 (232) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -0
  3. package/src/index.js.map +1 -1
  4. package/src/main/components/StallionDevMenu.js +69 -0
  5. package/src/main/components/StallionDevMenu.js.map +1 -0
  6. package/src/main/components/common/BackButton/index.js +19 -42
  7. package/src/main/components/common/BackButton/index.js.map +1 -1
  8. package/src/main/components/common/Chevron/index.js +64 -0
  9. package/src/main/components/common/Chevron/index.js.map +1 -0
  10. package/src/main/components/common/CrossButton/index.js +18 -11
  11. package/src/main/components/common/CrossButton/index.js.map +1 -1
  12. package/src/main/components/common/Header/index.js +3 -15
  13. package/src/main/components/common/Header/index.js.map +1 -1
  14. package/src/main/components/common/Header/styles.js +0 -22
  15. package/src/main/components/common/Header/styles.js.map +1 -1
  16. package/src/main/components/modules/devMenu/components/ActionButton.js +45 -0
  17. package/src/main/components/modules/devMenu/components/ActionButton.js.map +1 -0
  18. package/src/main/components/modules/devMenu/components/AppHeader.js +17 -0
  19. package/src/main/components/modules/devMenu/components/AppHeader.js.map +1 -0
  20. package/src/main/components/modules/devMenu/components/BucketRow.js +34 -0
  21. package/src/main/components/modules/devMenu/components/BucketRow.js.map +1 -0
  22. package/src/main/components/modules/devMenu/components/BundleHistoryCard.js +92 -0
  23. package/src/main/components/modules/devMenu/components/BundleHistoryCard.js.map +1 -0
  24. package/src/main/components/modules/devMenu/components/Chip.js +16 -0
  25. package/src/main/components/modules/devMenu/components/Chip.js.map +1 -0
  26. package/src/main/components/modules/devMenu/components/DetailHeader.js +32 -0
  27. package/src/main/components/modules/devMenu/components/DetailHeader.js.map +1 -0
  28. package/src/main/components/modules/devMenu/components/DeviceCard.js +31 -0
  29. package/src/main/components/modules/devMenu/components/DeviceCard.js.map +1 -0
  30. package/src/main/components/modules/devMenu/components/ErrorBanner.js +17 -0
  31. package/src/main/components/modules/devMenu/components/ErrorBanner.js.map +1 -0
  32. package/src/main/components/modules/devMenu/components/ModeToggle.js +54 -0
  33. package/src/main/components/modules/devMenu/components/ModeToggle.js.map +1 -0
  34. package/src/main/components/modules/devMenu/components/ProdBundleCard.js +47 -0
  35. package/src/main/components/modules/devMenu/components/ProdBundleCard.js.map +1 -0
  36. package/src/main/components/modules/devMenu/components/ReleaseNote.js +44 -0
  37. package/src/main/components/modules/devMenu/components/ReleaseNote.js.map +1 -0
  38. package/src/main/components/modules/devMenu/components/SectionLabel.js +13 -0
  39. package/src/main/components/modules/devMenu/components/SectionLabel.js.map +1 -0
  40. package/src/main/components/modules/devMenu/components/StateCard.js +30 -0
  41. package/src/main/components/modules/devMenu/components/StateCard.js.map +1 -0
  42. package/src/main/components/modules/devMenu/components/Wordmark.js +35 -0
  43. package/src/main/components/modules/devMenu/components/Wordmark.js.map +1 -0
  44. package/src/main/components/modules/devMenu/components/styles/index.js +403 -0
  45. package/src/main/components/modules/devMenu/components/styles/index.js.map +1 -0
  46. package/src/main/components/modules/devMenu/index.js +47 -0
  47. package/src/main/components/modules/devMenu/index.js.map +1 -0
  48. package/src/main/components/modules/devMenu/screens/BundleHistory.js +142 -0
  49. package/src/main/components/modules/devMenu/screens/BundleHistory.js.map +1 -0
  50. package/src/main/components/modules/devMenu/screens/Production.js +65 -0
  51. package/src/main/components/modules/devMenu/screens/Production.js.map +1 -0
  52. package/src/main/components/modules/devMenu/screens/TestingBuckets.js +81 -0
  53. package/src/main/components/modules/devMenu/screens/TestingBuckets.js.map +1 -0
  54. package/src/main/components/modules/devMenu/styles.js +50 -0
  55. package/src/main/components/modules/devMenu/styles.js.map +1 -0
  56. package/src/main/components/modules/modal/StallionModal.js +15 -51
  57. package/src/main/components/modules/modal/StallionModal.js.map +1 -1
  58. package/src/main/components/modules/modal/hooks/useStallionModal.js +21 -19
  59. package/src/main/components/modules/modal/hooks/useStallionModal.js.map +1 -1
  60. package/src/main/constants/appConstants.js +56 -53
  61. package/src/main/constants/appConstants.js.map +1 -1
  62. package/src/main/constants/colors.js +1 -10
  63. package/src/main/constants/colors.js.map +1 -1
  64. package/src/main/constants/designTokens.js +80 -0
  65. package/src/main/constants/designTokens.js.map +1 -0
  66. package/src/main/index.js +3 -1
  67. package/src/main/index.js.map +1 -1
  68. package/src/main/utils/useStallionConfig.js +2 -2
  69. package/src/main/utils/useStallionConfig.js.map +1 -1
  70. package/src/types/bundle.types.js +7 -0
  71. package/src/types/bundle.types.js.map +1 -1
  72. package/types/index.d.ts +1 -0
  73. package/types/index.d.ts.map +1 -1
  74. package/types/main/components/StallionDevMenu.d.ts +5 -0
  75. package/types/main/components/StallionDevMenu.d.ts.map +1 -0
  76. package/types/main/components/common/BackButton/index.d.ts +4 -3
  77. package/types/main/components/common/BackButton/index.d.ts.map +1 -1
  78. package/types/main/components/common/Chevron/index.d.ts +11 -0
  79. package/types/main/components/common/Chevron/index.d.ts.map +1 -0
  80. package/types/main/components/common/CrossButton/index.d.ts +4 -3
  81. package/types/main/components/common/CrossButton/index.d.ts.map +1 -1
  82. package/types/main/components/common/Header/index.d.ts +0 -2
  83. package/types/main/components/common/Header/index.d.ts.map +1 -1
  84. package/types/main/components/common/Header/styles.d.ts +0 -21
  85. package/types/main/components/common/Header/styles.d.ts.map +1 -1
  86. package/types/main/components/modules/devMenu/components/ActionButton.d.ts +19 -0
  87. package/types/main/components/modules/devMenu/components/ActionButton.d.ts.map +1 -0
  88. package/types/main/components/modules/devMenu/components/AppHeader.d.ts +7 -0
  89. package/types/main/components/modules/devMenu/components/AppHeader.d.ts.map +1 -0
  90. package/types/main/components/modules/devMenu/components/BucketRow.d.ts +11 -0
  91. package/types/main/components/modules/devMenu/components/BucketRow.d.ts.map +1 -0
  92. package/types/main/components/modules/devMenu/components/BundleHistoryCard.d.ts +22 -0
  93. package/types/main/components/modules/devMenu/components/BundleHistoryCard.d.ts.map +1 -0
  94. package/types/main/components/modules/devMenu/components/Chip.d.ts +9 -0
  95. package/types/main/components/modules/devMenu/components/Chip.d.ts.map +1 -0
  96. package/types/main/components/modules/devMenu/components/DetailHeader.d.ts +10 -0
  97. package/types/main/components/modules/devMenu/components/DetailHeader.d.ts.map +1 -0
  98. package/types/main/components/modules/devMenu/components/DeviceCard.d.ts +8 -0
  99. package/types/main/components/modules/devMenu/components/DeviceCard.d.ts.map +1 -0
  100. package/types/main/components/modules/devMenu/components/ErrorBanner.d.ts +6 -0
  101. package/types/main/components/modules/devMenu/components/ErrorBanner.d.ts.map +1 -0
  102. package/types/main/components/modules/devMenu/components/ModeToggle.d.ts +8 -0
  103. package/types/main/components/modules/devMenu/components/ModeToggle.d.ts.map +1 -0
  104. package/types/main/components/modules/devMenu/components/ProdBundleCard.d.ts +13 -0
  105. package/types/main/components/modules/devMenu/components/ProdBundleCard.d.ts.map +1 -0
  106. package/types/main/components/modules/devMenu/components/ReleaseNote.d.ts +11 -0
  107. package/types/main/components/modules/devMenu/components/ReleaseNote.d.ts.map +1 -0
  108. package/types/main/components/modules/devMenu/components/SectionLabel.d.ts +6 -0
  109. package/types/main/components/modules/devMenu/components/SectionLabel.d.ts.map +1 -0
  110. package/types/main/components/modules/devMenu/components/StateCard.d.ts +9 -0
  111. package/types/main/components/modules/devMenu/components/StateCard.d.ts.map +1 -0
  112. package/types/main/components/modules/{listing/index.d.ts → devMenu/components/Wordmark.d.ts} +1 -1
  113. package/types/main/components/modules/devMenu/components/Wordmark.d.ts.map +1 -0
  114. package/types/main/components/modules/devMenu/components/styles/index.d.ts +353 -0
  115. package/types/main/components/modules/devMenu/components/styles/index.d.ts.map +1 -0
  116. package/types/main/components/modules/devMenu/index.d.ts +14 -0
  117. package/types/main/components/modules/devMenu/index.d.ts.map +1 -0
  118. package/types/main/components/modules/devMenu/screens/BundleHistory.d.ts +4 -0
  119. package/types/main/components/modules/devMenu/screens/BundleHistory.d.ts.map +1 -0
  120. package/types/main/components/modules/devMenu/screens/Production.d.ts +4 -0
  121. package/types/main/components/modules/devMenu/screens/Production.d.ts.map +1 -0
  122. package/types/main/components/modules/devMenu/screens/TestingBuckets.d.ts +4 -0
  123. package/types/main/components/modules/devMenu/screens/TestingBuckets.d.ts.map +1 -0
  124. package/types/main/components/modules/devMenu/styles.d.ts +46 -0
  125. package/types/main/components/modules/devMenu/styles.d.ts.map +1 -0
  126. package/types/main/components/modules/modal/StallionModal.d.ts.map +1 -1
  127. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts +5 -6
  128. package/types/main/components/modules/modal/hooks/useStallionModal.d.ts.map +1 -1
  129. package/types/main/constants/appConstants.d.ts +46 -48
  130. package/types/main/constants/appConstants.d.ts.map +1 -1
  131. package/types/main/constants/colors.d.ts +0 -9
  132. package/types/main/constants/colors.d.ts.map +1 -1
  133. package/types/main/constants/designTokens.d.ts +73 -0
  134. package/types/main/constants/designTokens.d.ts.map +1 -0
  135. package/types/main/index.d.ts +1 -0
  136. package/types/main/index.d.ts.map +1 -1
  137. package/types/main/utils/useStallionConfig.d.ts.map +1 -1
  138. package/types/types/bundle.types.d.ts +7 -0
  139. package/types/types/bundle.types.d.ts.map +1 -1
  140. package/types/types/utils.types.d.ts +3 -0
  141. package/types/types/utils.types.d.ts.map +1 -1
  142. package/src/main/components/common/ErrorView/index.js +0 -24
  143. package/src/main/components/common/ErrorView/index.js.map +0 -1
  144. package/src/main/components/common/ErrorView/styles.js +0 -30
  145. package/src/main/components/common/ErrorView/styles.js.map +0 -1
  146. package/src/main/components/common/Footer/index.js +0 -50
  147. package/src/main/components/common/Footer/index.js.map +0 -1
  148. package/src/main/components/common/Footer/styles.js +0 -91
  149. package/src/main/components/common/Footer/styles.js.map +0 -1
  150. package/src/main/components/common/FooterLoader/index.js +0 -11
  151. package/src/main/components/common/FooterLoader/index.js.map +0 -1
  152. package/src/main/components/common/FooterLoader/styles.js +0 -12
  153. package/src/main/components/common/FooterLoader/styles.js.map +0 -1
  154. package/src/main/components/common/OverlayLoader/index.js +0 -26
  155. package/src/main/components/common/OverlayLoader/index.js.map +0 -1
  156. package/src/main/components/common/OverlayLoader/styles.js +0 -33
  157. package/src/main/components/common/OverlayLoader/styles.js.map +0 -1
  158. package/src/main/components/modules/listing/components/BucketCard.js +0 -33
  159. package/src/main/components/modules/listing/components/BucketCard.js.map +0 -1
  160. package/src/main/components/modules/listing/components/BucketCardInfoSection.js +0 -56
  161. package/src/main/components/modules/listing/components/BucketCardInfoSection.js.map +0 -1
  162. package/src/main/components/modules/listing/components/BundleCard.js +0 -42
  163. package/src/main/components/modules/listing/components/BundleCard.js.map +0 -1
  164. package/src/main/components/modules/listing/components/BundleCardInfoSection.js +0 -82
  165. package/src/main/components/modules/listing/components/BundleCardInfoSection.js.map +0 -1
  166. package/src/main/components/modules/listing/components/CardDescriptionContent.js +0 -36
  167. package/src/main/components/modules/listing/components/CardDescriptionContent.js.map +0 -1
  168. package/src/main/components/modules/listing/components/ConfigView.js +0 -29
  169. package/src/main/components/modules/listing/components/ConfigView.js.map +0 -1
  170. package/src/main/components/modules/listing/components/MetaCard.js +0 -39
  171. package/src/main/components/modules/listing/components/MetaCard.js.map +0 -1
  172. package/src/main/components/modules/listing/components/SlotView.js +0 -80
  173. package/src/main/components/modules/listing/components/SlotView.js.map +0 -1
  174. package/src/main/components/modules/listing/components/styles/index.js +0 -121
  175. package/src/main/components/modules/listing/components/styles/index.js.map +0 -1
  176. package/src/main/components/modules/listing/hooks/useListing.js +0 -84
  177. package/src/main/components/modules/listing/hooks/useListing.js.map +0 -1
  178. package/src/main/components/modules/listing/index.js +0 -75
  179. package/src/main/components/modules/listing/index.js.map +0 -1
  180. package/src/main/components/modules/listing/styles.js +0 -24
  181. package/src/main/components/modules/listing/styles.js.map +0 -1
  182. package/src/main/components/modules/prod/index.js +0 -3
  183. package/src/main/components/modules/prod/index.js.map +0 -1
  184. package/src/main/components/modules/prod/prod.js +0 -30
  185. package/src/main/components/modules/prod/prod.js.map +0 -1
  186. package/src/main/components/modules/prod/styles/index.js +0 -29
  187. package/src/main/components/modules/prod/styles/index.js.map +0 -1
  188. package/types/main/components/common/ErrorView/index.d.ts +0 -8
  189. package/types/main/components/common/ErrorView/index.d.ts.map +0 -1
  190. package/types/main/components/common/ErrorView/styles.d.ts +0 -27
  191. package/types/main/components/common/ErrorView/styles.d.ts.map +0 -1
  192. package/types/main/components/common/Footer/index.d.ts +0 -10
  193. package/types/main/components/common/Footer/index.d.ts.map +0 -1
  194. package/types/main/components/common/Footer/styles.d.ts +0 -88
  195. package/types/main/components/common/Footer/styles.d.ts.map +0 -1
  196. package/types/main/components/common/FooterLoader/index.d.ts +0 -4
  197. package/types/main/components/common/FooterLoader/index.d.ts.map +0 -1
  198. package/types/main/components/common/FooterLoader/styles.d.ts +0 -10
  199. package/types/main/components/common/FooterLoader/styles.d.ts.map +0 -1
  200. package/types/main/components/common/OverlayLoader/index.d.ts +0 -7
  201. package/types/main/components/common/OverlayLoader/index.d.ts.map +0 -1
  202. package/types/main/components/common/OverlayLoader/styles.d.ts +0 -30
  203. package/types/main/components/common/OverlayLoader/styles.d.ts.map +0 -1
  204. package/types/main/components/modules/listing/components/BucketCard.d.ts +0 -13
  205. package/types/main/components/modules/listing/components/BucketCard.d.ts.map +0 -1
  206. package/types/main/components/modules/listing/components/BucketCardInfoSection.d.ts +0 -11
  207. package/types/main/components/modules/listing/components/BucketCardInfoSection.d.ts.map +0 -1
  208. package/types/main/components/modules/listing/components/BundleCard.d.ts +0 -15
  209. package/types/main/components/modules/listing/components/BundleCard.d.ts.map +0 -1
  210. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts +0 -15
  211. package/types/main/components/modules/listing/components/BundleCardInfoSection.d.ts.map +0 -1
  212. package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts +0 -8
  213. package/types/main/components/modules/listing/components/CardDescriptionContent.d.ts.map +0 -1
  214. package/types/main/components/modules/listing/components/ConfigView.d.ts +0 -8
  215. package/types/main/components/modules/listing/components/ConfigView.d.ts.map +0 -1
  216. package/types/main/components/modules/listing/components/MetaCard.d.ts +0 -8
  217. package/types/main/components/modules/listing/components/MetaCard.d.ts.map +0 -1
  218. package/types/main/components/modules/listing/components/SlotView.d.ts +0 -5
  219. package/types/main/components/modules/listing/components/SlotView.d.ts.map +0 -1
  220. package/types/main/components/modules/listing/components/styles/index.d.ts +0 -118
  221. package/types/main/components/modules/listing/components/styles/index.d.ts.map +0 -1
  222. package/types/main/components/modules/listing/hooks/useListing.d.ts +0 -15
  223. package/types/main/components/modules/listing/hooks/useListing.d.ts.map +0 -1
  224. package/types/main/components/modules/listing/index.d.ts.map +0 -1
  225. package/types/main/components/modules/listing/styles.d.ts +0 -21
  226. package/types/main/components/modules/listing/styles.d.ts.map +0 -1
  227. package/types/main/components/modules/prod/index.d.ts +0 -3
  228. package/types/main/components/modules/prod/index.d.ts.map +0 -1
  229. package/types/main/components/modules/prod/prod.d.ts +0 -4
  230. package/types/main/components/modules/prod/prod.d.ts.map +0 -1
  231. package/types/main/components/modules/prod/styles/index.d.ts +0 -25
  232. package/types/main/components/modules/prod/styles/index.d.ts.map +0 -1
@@ -0,0 +1,80 @@
1
+ import { Platform } from 'react-native';
2
+
3
+ /**
4
+ * Design tokens for the Stallion dev menu.
5
+ */
6
+ export const DS_COLORS = {
7
+ indigo: '#4638E4',
8
+ indigoPressed: '#372BC4',
9
+ indigoTint: '#EEEDFD',
10
+ green: '#177A4C',
11
+ greenPressed: '#12603C',
12
+ greenTint: '#E4F4EB',
13
+ screenBg: '#FFFFFF',
14
+ cardBg: '#FFFFFF',
15
+ cardBorder: '#E5E5EC',
16
+ divider: '#F1F1F4',
17
+ headerHairline: '#ECECF0',
18
+ segmentTrack: '#F3F3F6',
19
+ outlineBorder: '#D9D9E0',
20
+ chevron: '#C4C4CC',
21
+ textPrimary: '#111827',
22
+ textSecondary: '#4B5563',
23
+ textBody: '#374151',
24
+ textMuted: '#6B7280',
25
+ textFaint: '#9CA3AF',
26
+ white: '#FFFFFF',
27
+ // Not part of the handoff palette — used only for the download error banner.
28
+ errorText: '#B42318',
29
+ errorTint: '#FEF3F2',
30
+ errorBorder: '#FECDCA',
31
+ contentBg: '#F5F5F7'
32
+ };
33
+ export const DS_RADII = {
34
+ card: 16,
35
+ button: 10,
36
+ segmentTrack: 12,
37
+ segment: 10,
38
+ pill: 999
39
+ };
40
+
41
+ /**
42
+ * Compact toggle (46×28). On (Testing) uses brand green against the
43
+ * white header; off (Production) keeps a neutral outline track.
44
+ */
45
+ export const DS_TOGGLE = {
46
+ width: 46,
47
+ height: 28,
48
+ thumb: 24,
49
+ inset: 2,
50
+ trackOff: DS_COLORS.outlineBorder,
51
+ trackOn: DS_COLORS.green
52
+ };
53
+ export const DS_SPACING = {
54
+ screen: 20,
55
+ cardVertical: 16,
56
+ cardHorizontal: 18,
57
+ section: 24,
58
+ labelGap: 10,
59
+ cardGap: 12
60
+ };
61
+
62
+ /** Monospace family for the UID value. */
63
+ export const DS_MONO_FONT = Platform.OS === 'ios' ? 'Menlo' : 'monospace';
64
+
65
+ /** Pads small glyph controls out to the 44px minimum touch target. */
66
+ export const DS_HIT_SLOP = {
67
+ top: 12,
68
+ bottom: 12,
69
+ left: 12,
70
+ right: 12
71
+ };
72
+
73
+ /** Pads buttons (≈32px tall) out to the 44px minimum touch target. */
74
+ export const DS_BUTTON_HIT_SLOP = {
75
+ top: 8,
76
+ bottom: 8,
77
+ left: 8,
78
+ right: 8
79
+ };
80
+ //# sourceMappingURL=designTokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Platform","DS_COLORS","indigo","indigoPressed","indigoTint","green","greenPressed","greenTint","screenBg","cardBg","cardBorder","divider","headerHairline","segmentTrack","outlineBorder","chevron","textPrimary","textSecondary","textBody","textMuted","textFaint","white","errorText","errorTint","errorBorder","contentBg","DS_RADII","card","button","segment","pill","DS_TOGGLE","width","height","thumb","inset","trackOff","trackOn","DS_SPACING","screen","cardVertical","cardHorizontal","section","labelGap","cardGap","DS_MONO_FONT","OS","DS_HIT_SLOP","top","bottom","left","right","DS_BUTTON_HIT_SLOP"],"sourceRoot":"../../../../src","sources":["main/constants/designTokens.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,cAAc;;AAEvC;AACA;AACA;AACA,OAAO,MAAMC,SAAS,GAAG;EACvBC,MAAM,EAAE,SAAS;EACjBC,aAAa,EAAE,SAAS;EACxBC,UAAU,EAAE,SAAS;EACrBC,KAAK,EAAE,SAAS;EAChBC,YAAY,EAAE,SAAS;EACvBC,SAAS,EAAE,SAAS;EACpBC,QAAQ,EAAE,SAAS;EACnBC,MAAM,EAAE,SAAS;EACjBC,UAAU,EAAE,SAAS;EACrBC,OAAO,EAAE,SAAS;EAClBC,cAAc,EAAE,SAAS;EACzBC,YAAY,EAAE,SAAS;EACvBC,aAAa,EAAE,SAAS;EACxBC,OAAO,EAAE,SAAS;EAClBC,WAAW,EAAE,SAAS;EACtBC,aAAa,EAAE,SAAS;EACxBC,QAAQ,EAAE,SAAS;EACnBC,SAAS,EAAE,SAAS;EACpBC,SAAS,EAAE,SAAS;EACpBC,KAAK,EAAE,SAAS;EAChB;EACAC,SAAS,EAAE,SAAS;EACpBC,SAAS,EAAE,SAAS;EACpBC,WAAW,EAAE,SAAS;EACtBC,SAAS,EAAE;AACb,CAAC;AAED,OAAO,MAAMC,QAAQ,GAAG;EACtBC,IAAI,EAAE,EAAE;EACRC,MAAM,EAAE,EAAE;EACVf,YAAY,EAAE,EAAE;EAChBgB,OAAO,EAAE,EAAE;EACXC,IAAI,EAAE;AACR,CAAC;;AAED;AACA;AACA;AACA;AACA,OAAO,MAAMC,SAAS,GAAG;EACvBC,KAAK,EAAE,EAAE;EACTC,MAAM,EAAE,EAAE;EACVC,KAAK,EAAE,EAAE;EACTC,KAAK,EAAE,CAAC;EACRC,QAAQ,EAAEnC,SAAS,CAACa,aAAa;EACjCuB,OAAO,EAAEpC,SAAS,CAACI;AACrB,CAAC;AAED,OAAO,MAAMiC,UAAU,GAAG;EACxBC,MAAM,EAAE,EAAE;EACVC,YAAY,EAAE,EAAE;EAChBC,cAAc,EAAE,EAAE;EAClBC,OAAO,EAAE,EAAE;EACXC,QAAQ,EAAE,EAAE;EACZC,OAAO,EAAE;AACX,CAAC;;AAED;AACA,OAAO,MAAMC,YAAY,GAAG7C,QAAQ,CAAC8C,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,WAAW;;AAEzE;AACA,OAAO,MAAMC,WAAW,GAAG;EAAEC,GAAG,EAAE,EAAE;EAAEC,MAAM,EAAE,EAAE;EAAEC,IAAI,EAAE,EAAE;EAAEC,KAAK,EAAE;AAAG,CAAC;;AAEvE;AACA,OAAO,MAAMC,kBAAkB,GAAG;EAAEJ,GAAG,EAAE,CAAC;EAAEC,MAAM,EAAE,CAAC;EAAEC,IAAI,EAAE,CAAC;EAAEC,KAAK,EAAE;AAAE,CAAC"}
package/src/main/index.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import withStallion from '../main/utils/withStallion';
2
2
  import useStallionModal from '../main/utils/useStallionModal';
3
+ import StallionDevMenu from '../main/components/StallionDevMenu';
3
4
  export default {
4
5
  withStallion,
5
- useStallionModal
6
+ useStallionModal,
7
+ StallionDevMenu
6
8
  };
7
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["withStallion","useStallionModal"],"sourceRoot":"../../../src","sources":["main/index.ts"],"mappings":"AAAA,OAAOA,YAAY,MAAM,4BAA4B;AACrD,OAAOC,gBAAgB,MAAM,gCAAgC;AAE7D,eAAe;EACbD,YAAY;EACZC;AACF,CAAC"}
1
+ {"version":3,"names":["withStallion","useStallionModal","StallionDevMenu"],"sourceRoot":"../../../src","sources":["main/index.ts"],"mappings":"AAAA,OAAOA,YAAY,MAAM,4BAA4B;AACrD,OAAOC,gBAAgB,MAAM,gCAAgC;AAC7D,OAAOC,eAAe,MAAM,oCAAoC;AAEhE,eAAe;EACbF,YAAY;EACZC,gBAAgB;EAChBC;AACF,CAAC"}
@@ -1,5 +1,5 @@
1
- import { useContext } from "react";
2
- import { GlobalContext } from "../state";
1
+ import { useContext } from 'react';
2
+ import { GlobalContext } from '../state';
3
3
  const useStallionConfig = () => {
4
4
  const {
5
5
  actions: {
@@ -1 +1 @@
1
- {"version":3,"names":["useContext","GlobalContext","useStallionConfig","actions","refreshConfig","updateStallionConfig"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionConfig.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,aAAa,QAAQ,UAAU;AAExC,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EAC5B,MAAM;IAAEC,OAAO,EAAE;MAAEC;IAAc;EAAE,CAAC,GAAGJ,UAAU,CAACC,aAAa,CAAC;EAChE,OAAO;IACHI,oBAAoB,EAAED;EAC1B,CAAC;AACL,CAAC;AAED,eAAeF,iBAAiB"}
1
+ {"version":3,"names":["useContext","GlobalContext","useStallionConfig","actions","refreshConfig","updateStallionConfig"],"sourceRoot":"../../../../src","sources":["main/utils/useStallionConfig.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,aAAa,QAAQ,UAAU;AAExC,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EAC9B,MAAM;IACJC,OAAO,EAAE;MAAEC;IAAc;EAC3B,CAAC,GAAGJ,UAAU,CAACC,aAAa,CAAC;EAC7B,OAAO;IACLI,oBAAoB,EAAED;EACxB,CAAC;AACH,CAAC;AAED,eAAeF,iBAAiB"}
@@ -1,3 +1,10 @@
1
+ export let BUNDLE_STATUS = /*#__PURE__*/function (BUNDLE_STATUS) {
2
+ BUNDLE_STATUS["AVAILABLE"] = "available";
3
+ BUNDLE_STATUS["DOWNLOADING"] = "downloading";
4
+ BUNDLE_STATUS["DOWNLOADED"] = "downloaded";
5
+ BUNDLE_STATUS["ACTIVE"] = "active";
6
+ return BUNDLE_STATUS;
7
+ }({});
1
8
  export let BundleActionKind = /*#__PURE__*/function (BundleActionKind) {
2
9
  BundleActionKind["SET_BUNDLE_LOADING"] = "SET_BUNDLE_LOADING";
3
10
  BundleActionKind["SET_BUNDLE_DATA"] = "SET_BUNDLE_DATA";
@@ -1 +1 @@
1
- {"version":3,"names":["BundleActionKind"],"sourceRoot":"../../../src","sources":["types/bundle.types.ts"],"mappings":"AAuBA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
1
+ {"version":3,"names":["BUNDLE_STATUS","BundleActionKind"],"sourceRoot":"../../../src","sources":["types/bundle.types.ts"],"mappings":"AAAA,WAAYA,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AA+BzB,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
package/types/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { IUseStallionModal, IWithStallion } from './types/utils.types';
2
2
  export declare let withStallion: IWithStallion;
3
3
  export declare let useStallionModal: () => IUseStallionModal;
4
+ export { default as StallionDevMenu } from './main/components/StallionDevMenu';
4
5
  export { sync, restart } from './main/utils/StallionNativeUtils';
5
6
  export { useStallionUpdate } from './main/utils/useStallionUpdate';
6
7
  export { default as useStallionConfig } from './main/utils/useStallionConfig';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIvE,eAAO,IAAI,YAAY,EAAE,aAAa,CAAC;AACvC,eAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWrD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,eAAO,MAAM,gBAAgB,oHACqC,CAAC;AACnE,eAAO,MAAM,mBAAmB,4HACqC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,eAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIvE,eAAO,IAAI,YAAY,EAAE,aAAa,CAAC;AACvC,eAAO,IAAI,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAWrD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,eAAO,MAAM,gBAAgB,oHACqC,CAAC;AACnE,eAAO,MAAM,mBAAmB,4HACqC,CAAC;AAEtE,eAAO,MAAM,mBAAmB,eAA+B,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IStallionDevMenuProps } from '../../types/utils.types';
3
+ declare const StallionDevMenu: React.FC<IStallionDevMenuProps>;
4
+ export default StallionDevMenu;
5
+ //# sourceMappingURL=StallionDevMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StallionDevMenu.d.ts","sourceRoot":"","sources":["../../../../src/main/components/StallionDevMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAUrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2CpD,CAAC;AAqBF,eAAe,eAAe,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- export declare const BUTTON_SIZE: number;
2
+ export declare const BUTTON_SIZE = 20;
3
3
  type BackButtonProps = {
4
4
  onPress?: () => void;
5
5
  size?: number;
6
+ color?: string;
6
7
  };
7
- declare const BackButton: React.FC<BackButtonProps>;
8
- export default BackButton;
8
+ declare const _default: React.NamedExoticComponent<BackButtonProps>;
9
+ export default _default;
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/BackButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,WAAW,QAA2B,CAAC;AAEpD,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgCzC,CAAC;AAgBF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/BackButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAMpC,eAAO,MAAM,WAAW,KAAe,CAAC;AAExC,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAyBF,wBAAgC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export declare const CHEVRON_SIZE = 20;
3
+ type ChevronProps = {
4
+ /** Defaults to a right-pointing chevron (list disclosure). */
5
+ direction?: 'left' | 'right';
6
+ size?: number;
7
+ color?: string;
8
+ };
9
+ declare const _default: React.NamedExoticComponent<ChevronProps>;
10
+ export default _default;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Chevron/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,KAAK,YAAY,GAAG;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAwEF,wBAA6B"}
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- export declare const BUTTON_SIZE: number;
2
+ export declare const BUTTON_SIZE = 18;
3
3
  type CrossButtonProps = {
4
4
  onPress?: () => void;
5
5
  size?: number;
6
+ color?: string;
6
7
  };
7
- declare const CrossButton: React.FC<CrossButtonProps>;
8
- export default CrossButton;
8
+ declare const _default: React.NamedExoticComponent<CrossButtonProps>;
9
+ export default _default;
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/CrossButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,WAAW,QAA2B,CAAC;AAEpD,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAoB3C,CAAC;AASF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/CrossButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,KAAK,gBAAgB,GAAG;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAwCF,wBAAiC"}
@@ -1,8 +1,6 @@
1
1
  import React from 'react';
2
2
  interface IHeader {
3
3
  title?: string | null;
4
- onBackPress?: (() => void) | null;
5
- onClosePress?: () => void;
6
4
  }
7
5
  declare const _default: React.NamedExoticComponent<IHeader>;
8
6
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAS3D,UAAU,OAAO;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;;AA2CD,wBAA4B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAO3D,UAAU,OAAO;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;;AA+BD,wBAA4B"}
@@ -22,15 +22,6 @@ declare const styles: {
22
22
  alignItems: "flex-end";
23
23
  paddingHorizontal: number;
24
24
  };
25
- headerProfileButton: {
26
- height: number;
27
- width: number;
28
- borderRadius: number;
29
- justifyContent: "center";
30
- alignItems: "center";
31
- backgroundColor: string;
32
- marginLeft: number;
33
- };
34
25
  headerCenterSection: {
35
26
  flex: number;
36
27
  justifyContent: "center";
@@ -41,14 +32,6 @@ declare const styles: {
41
32
  color: string;
42
33
  fontWeight: "bold";
43
34
  };
44
- actionButtonClickable: {
45
- padding: number;
46
- };
47
- actionButtonText: {
48
- fontSize: number;
49
- color: string;
50
- fontWeight: "bold";
51
- };
52
35
  alignStart: {
53
36
  alignItems: "flex-start";
54
37
  };
@@ -56,10 +39,6 @@ declare const styles: {
56
39
  width: number;
57
40
  flex: number;
58
41
  };
59
- profileInitial: {
60
- fontSize: number;
61
- color: string;
62
- };
63
42
  };
64
43
  export default styles;
65
44
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DV,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/main/components/common/Header/styles.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCV,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ export type TButtonVariant = 'primary' | 'success' | 'outline';
4
+ interface IActionButton {
5
+ label: string;
6
+ variant: TButtonVariant;
7
+ onPress?: () => void;
8
+ disabled?: boolean;
9
+ style?: StyleProp<ViewStyle>;
10
+ /**
11
+ * 0–1. When set, the button doubles as its own progress bar: a tinted fill
12
+ * grows left to right behind the label. Designed for the `outline` variant,
13
+ * whose pale track is what makes the fill readable.
14
+ */
15
+ progress?: number;
16
+ }
17
+ declare const _default: React.NamedExoticComponent<IActionButton>;
18
+ export default _default;
19
+ //# sourceMappingURL=ActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,EAAa,SAAS,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAM3E,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/D,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;AA0DD,wBAAkC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IAppHeader {
3
+ onClosePress: () => void;
4
+ }
5
+ declare const _default: React.NamedExoticComponent<IAppHeader>;
6
+ export default _default;
7
+ //# sourceMappingURL=AppHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/AppHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,UAAU,UAAU;IAClB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;;AASD,wBAA+B"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface IBucketRow {
3
+ id: string;
4
+ name: string;
5
+ updatedAt: string;
6
+ latestVersion: number;
7
+ onPress: (bucketId: string) => void;
8
+ }
9
+ declare const _default: React.NamedExoticComponent<IBucketRow>;
10
+ export default _default;
11
+ //# sourceMappingURL=BucketRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BucketRow.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/BucketRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAepC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;;AAqCD,wBAA+B"}
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { BUNDLE_STATUS } from '../../../../../types/bundle.types';
3
+ export interface IBundleHistoryCard {
4
+ id: string;
5
+ version: number;
6
+ releaseNote?: string;
7
+ author?: string;
8
+ updatedAt: string;
9
+ /** Bundle size in bytes; omitted when the API does not report it. */
10
+ size?: number;
11
+ isLatest: boolean;
12
+ status: BUNDLE_STATUS;
13
+ /** 0–1 while this row is downloading; omit for every other row. */
14
+ progress?: number;
15
+ expanded: boolean;
16
+ onToggleExpand: (bundleId: string) => void;
17
+ onDownload: (bundleId: string) => void;
18
+ onRestart: () => void;
19
+ }
20
+ declare const _default: React.NamedExoticComponent<IBundleHistoryCard>;
21
+ export default _default;
22
+ //# sourceMappingURL=BundleHistoryCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BundleHistoryCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/BundleHistoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAejD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAMlE,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;;AA2GD,wBAAuC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export type TChipTone = 'indigo' | 'green';
3
+ interface IChip {
4
+ label: string;
5
+ tone: TChipTone;
6
+ }
7
+ declare const _default: React.NamedExoticComponent<IChip>;
8
+ export default _default;
9
+ //# sourceMappingURL=Chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE3C,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;CACjB;;AAoBD,wBAA0B"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IDetailHeader {
3
+ title: string;
4
+ subtitle?: string;
5
+ onBackPress: () => void;
6
+ onClosePress: () => void;
7
+ }
8
+ declare const _default: React.NamedExoticComponent<IDetailHeader>;
9
+ export default _default;
10
+ //# sourceMappingURL=DetailHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/DetailHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;;AA0BD,wBAAkC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IDeviceCard {
3
+ appVersion?: string;
4
+ uid?: string;
5
+ }
6
+ declare const _default: React.NamedExoticComponent<IDeviceCard>;
7
+ export default _default;
8
+ //# sourceMappingURL=DeviceCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeviceCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/DeviceCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAWpC,UAAU,WAAW;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;;AAuBD,wBAAgC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const _default: React.NamedExoticComponent<{
3
+ message: string;
4
+ }>;
5
+ export default _default;
6
+ //# sourceMappingURL=ErrorBanner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorBanner.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/ErrorBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;;;AAgBpC,wBAAiC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IModeToggle {
3
+ isTesting: boolean;
4
+ onChange: (isTesting: boolean) => void;
5
+ }
6
+ declare const _default: React.NamedExoticComponent<IModeToggle>;
7
+ export default _default;
8
+ //# sourceMappingURL=ModeToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModeToggle.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/ModeToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAQpE,UAAU,WAAW;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;;AAyDD,wBAAgC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { IUpdateMeta } from '../../../../../types/updateMeta.types';
3
+ interface IProdBundleCard {
4
+ meta: IUpdateMeta;
5
+ /** `pending` is downloaded and waiting on a restart; `active` is running. */
6
+ variant: 'pending' | 'active';
7
+ expanded: boolean;
8
+ onToggleExpand: () => void;
9
+ onRestart?: () => void;
10
+ }
11
+ declare const _default: React.NamedExoticComponent<IProdBundleCard>;
12
+ export default _default;
13
+ //# sourceMappingURL=ProdBundleCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProdBundleCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/ProdBundleCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAcpC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAQpE,UAAU,eAAe;IACvB,IAAI,EAAE,WAAW,CAAC;IAClB,6EAA6E;IAC7E,OAAO,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;;AA8DD,wBAAoC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface IReleaseNote {
3
+ text: string;
4
+ expanded?: boolean;
5
+ onToggleExpand?: () => void;
6
+ /** Prod bundle cards sit the note 6px under the title instead of 10px. */
7
+ tight?: boolean;
8
+ }
9
+ declare const _default: React.NamedExoticComponent<IReleaseNote>;
10
+ export default _default;
11
+ //# sourceMappingURL=ReleaseNote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReleaseNote.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/ReleaseNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAmB3D,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;;AA4DD,wBAAiC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const _default: React.NamedExoticComponent<{
3
+ label: string;
4
+ }>;
5
+ export default _default;
6
+ //# sourceMappingURL=SectionLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionLabel.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/SectionLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;;;;AASpC,wBAAkC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface IStateCard {
3
+ title: string;
4
+ subtitle?: string;
5
+ onRetry?: () => void;
6
+ }
7
+ declare const _default: React.NamedExoticComponent<IStateCard>;
8
+ export default _default;
9
+ //# sourceMappingURL=StateCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StateCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/StateCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AAQpC,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;;AAqBD,wBAA+B"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  declare const _default: React.NamedExoticComponent<{}>;
3
3
  export default _default;
4
- //# sourceMappingURL=index.d.ts.map
4
+ //# sourceMappingURL=Wordmark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wordmark.d.ts","sourceRoot":"","sources":["../../../../../../../src/main/components/modules/devMenu/components/Wordmark.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;;AAwC3D,wBAA8B"}