@upstart.gg/sdk 0.0.78 → 0.0.80

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 (296) hide show
  1. package/dist/node/cli/api.js +3 -3
  2. package/dist/node/cli/commands/build/cmd-build.js +1 -1
  3. package/dist/node/cli/commands/login/cmd-login.js +8 -8
  4. package/dist/node/cli/commands/logout/cmd-logout.js +3 -3
  5. package/dist/node/cli/commands/publish/cmd-publish.js +19 -19
  6. package/dist/node/cli/commands/publish/parse-gitignore.d.ts +1 -1
  7. package/dist/node/cli/commands/publish/parse-gitignore.js +2 -2
  8. package/dist/node/cli/commands/publish/uploader.js +6 -6
  9. package/dist/node/cli/constants.d.ts +2 -2
  10. package/dist/node/cli/constants.d.ts.map +1 -1
  11. package/dist/node/cli/constants.js +2 -2
  12. package/dist/node/cli/is-logged-in.js +3 -3
  13. package/dist/node/cli/program.js +16 -16
  14. package/dist/node/cli/store.js +2 -2
  15. package/dist/node/cli/types.js +1 -1
  16. package/dist/node/cli/utils.js +1 -1
  17. package/dist/node/shared/config.d.ts +1 -1
  18. package/dist/node/shared/config.d.ts.map +1 -1
  19. package/dist/node/shared/config.js +6 -6
  20. package/dist/node/shared/logger.d.ts +2 -2
  21. package/dist/node/shared/logger.d.ts.map +1 -1
  22. package/dist/node/shared/logger.js +3 -3
  23. package/dist/shared/ajv.d.ts +1 -0
  24. package/dist/shared/ajv.d.ts.map +1 -1
  25. package/dist/shared/ajv.js +2 -2
  26. package/dist/shared/analytics/init.js +1 -1
  27. package/dist/shared/analytics/track.js +1 -1
  28. package/dist/shared/analytics/types.js +1 -1
  29. package/dist/shared/attributes.d.ts +18 -13
  30. package/dist/shared/attributes.d.ts.map +1 -1
  31. package/dist/shared/attributes.js +2 -2
  32. package/dist/shared/brick-manifest.d.ts +95 -46
  33. package/dist/shared/brick-manifest.d.ts.map +1 -1
  34. package/dist/shared/brick-manifest.js +2 -2
  35. package/dist/shared/bricks/manifests/all-manifests.d.ts +2 -3
  36. package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
  37. package/dist/shared/bricks/manifests/all-manifests.js +2 -2
  38. package/dist/shared/bricks/manifests/button.manifest.d.ts +43 -124
  39. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  40. package/dist/shared/bricks/manifests/button.manifest.js +2 -2
  41. package/dist/shared/bricks/manifests/card.manifest.d.ts +76 -137
  42. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  43. package/dist/shared/bricks/manifests/card.manifest.js +2 -2
  44. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +40 -124
  45. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  46. package/dist/shared/bricks/manifests/carousel.manifest.js +2 -2
  47. package/dist/shared/bricks/manifests/container.manifest.d.ts +205 -123
  48. package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
  49. package/dist/shared/bricks/manifests/container.manifest.js +2 -2
  50. package/dist/shared/bricks/manifests/countdown.manifest.d.ts +40 -76
  51. package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -1
  52. package/dist/shared/bricks/manifests/countdown.manifest.js +2 -2
  53. package/dist/shared/bricks/manifests/footer.manifest.d.ts +64 -75
  54. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  55. package/dist/shared/bricks/manifests/footer.manifest.js +2 -2
  56. package/dist/shared/bricks/manifests/form.manifest.d.ts +40 -78
  57. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  58. package/dist/shared/bricks/manifests/form.manifest.js +2 -2
  59. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +43 -124
  60. package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +1 -1
  61. package/dist/shared/bricks/manifests/generic-component.manifest.js +2 -2
  62. package/dist/shared/bricks/manifests/header.manifest.d.ts +257 -75
  63. package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -1
  64. package/dist/shared/bricks/manifests/header.manifest.js +2 -2
  65. package/dist/shared/bricks/manifests/hero.manifest.d.ts +100 -113
  66. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  67. package/dist/shared/bricks/manifests/hero.manifest.js +2 -2
  68. package/dist/shared/bricks/manifests/icon.manifest.d.ts +40 -76
  69. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  70. package/dist/shared/bricks/manifests/icon.manifest.js +2 -2
  71. package/dist/shared/bricks/manifests/image.manifest.d.ts +84 -77
  72. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  73. package/dist/shared/bricks/manifests/image.manifest.js +2 -2
  74. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +184 -0
  75. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -0
  76. package/dist/shared/bricks/manifests/images-gallery.manifest.js +3 -0
  77. package/dist/shared/bricks/manifests/map.manifest.d.ts +40 -74
  78. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  79. package/dist/shared/bricks/manifests/map.manifest.js +2 -2
  80. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +57 -0
  81. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -0
  82. package/dist/shared/bricks/manifests/sidebar.manifest.js +3 -0
  83. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +40 -76
  84. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  85. package/dist/shared/bricks/manifests/social-links.manifest.js +2 -2
  86. package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts +2 -0
  87. package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts.map +1 -0
  88. package/dist/shared/bricks/manifests/text.manifest.d.ts +87 -118
  89. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  90. package/dist/shared/bricks/manifests/text.manifest.js +2 -2
  91. package/dist/shared/bricks/manifests/video.manifest.d.ts +40 -78
  92. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  93. package/dist/shared/bricks/manifests/video.manifest.js +2 -2
  94. package/dist/shared/bricks/props/_docs-common-styles.d.ts +59 -0
  95. package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +1 -0
  96. package/dist/shared/bricks/props/_docs-common-styles.js +3 -0
  97. package/dist/shared/bricks/props/_style-presets.d.ts +18 -0
  98. package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -0
  99. package/dist/shared/bricks/props/_style-presets.js +3 -0
  100. package/dist/shared/bricks/props/align.d.ts +15 -0
  101. package/dist/shared/bricks/props/align.d.ts.map +1 -0
  102. package/dist/shared/bricks/props/align.js +3 -0
  103. package/dist/shared/bricks/props/background.d.ts +23 -0
  104. package/dist/shared/bricks/props/background.d.ts.map +1 -0
  105. package/dist/shared/bricks/props/background.js +3 -0
  106. package/dist/shared/bricks/props/boolean.d.ts +4 -0
  107. package/dist/shared/bricks/props/boolean.d.ts.map +1 -0
  108. package/dist/shared/bricks/props/boolean.js +3 -0
  109. package/dist/shared/bricks/props/border.d.ts +27 -0
  110. package/dist/shared/bricks/props/border.d.ts.map +1 -0
  111. package/dist/shared/bricks/props/border.js +3 -0
  112. package/dist/shared/bricks/props/common.d.ts +5 -39
  113. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  114. package/dist/shared/bricks/props/common.js +2 -2
  115. package/dist/shared/bricks/props/container.d.ts +73 -0
  116. package/dist/shared/bricks/props/container.d.ts.map +1 -0
  117. package/dist/shared/bricks/props/container.js +3 -0
  118. package/dist/shared/bricks/props/datasource.d.ts +18 -0
  119. package/dist/shared/bricks/props/datasource.d.ts.map +1 -0
  120. package/dist/shared/bricks/props/datasource.js +3 -0
  121. package/dist/shared/bricks/props/effects.d.ts +39 -0
  122. package/dist/shared/bricks/props/effects.d.ts.map +1 -0
  123. package/dist/shared/bricks/props/effects.js +3 -0
  124. package/dist/shared/bricks/props/helpers.d.ts +29 -0
  125. package/dist/shared/bricks/props/helpers.d.ts.map +1 -0
  126. package/dist/shared/bricks/props/helpers.js +3 -0
  127. package/dist/shared/bricks/props/image.d.ts +15 -0
  128. package/dist/shared/bricks/props/image.d.ts.map +1 -0
  129. package/dist/shared/bricks/props/image.js +3 -0
  130. package/dist/shared/bricks/props/number.d.ts +6 -0
  131. package/dist/shared/bricks/props/number.d.ts.map +1 -0
  132. package/dist/shared/bricks/props/number.js +3 -0
  133. package/dist/shared/bricks/props/padding.d.ts +4 -0
  134. package/dist/shared/bricks/props/padding.d.ts.map +1 -0
  135. package/dist/shared/bricks/props/padding.js +3 -0
  136. package/dist/shared/bricks/props/position.d.ts +6 -0
  137. package/dist/shared/bricks/props/position.d.ts.map +1 -0
  138. package/dist/shared/bricks/props/position.js +3 -0
  139. package/dist/shared/bricks/props/string.d.ts +11 -0
  140. package/dist/shared/bricks/props/string.d.ts.map +1 -0
  141. package/dist/shared/bricks/props/string.js +3 -0
  142. package/dist/shared/bricks/props/tests/align.test.d.ts +2 -0
  143. package/dist/shared/bricks/props/tests/align.test.d.ts.map +1 -0
  144. package/dist/shared/bricks/props/tests/background.test.d.ts +2 -0
  145. package/dist/shared/bricks/props/tests/background.test.d.ts.map +1 -0
  146. package/dist/shared/bricks/props/tests/border.test.d.ts +2 -0
  147. package/dist/shared/bricks/props/tests/border.test.d.ts.map +1 -0
  148. package/dist/shared/bricks/props/tests/container.test.d.ts +2 -0
  149. package/dist/shared/bricks/props/tests/container.test.d.ts.map +1 -0
  150. package/dist/shared/bricks/props/tests/effects.test.d.ts +2 -0
  151. package/dist/shared/bricks/props/tests/effects.test.d.ts.map +1 -0
  152. package/dist/shared/bricks/props/tests/helpers.test.d.ts +2 -0
  153. package/dist/shared/bricks/props/tests/helpers.test.d.ts.map +1 -0
  154. package/dist/shared/bricks/props/tests/image.test.d.ts +2 -0
  155. package/dist/shared/bricks/props/tests/image.test.d.ts.map +1 -0
  156. package/dist/shared/bricks/props/tests/padding.d.ts +2 -0
  157. package/dist/shared/bricks/props/tests/padding.d.ts.map +1 -0
  158. package/dist/shared/bricks/props/tests/string.test.d.ts +2 -0
  159. package/dist/shared/bricks/props/tests/string.test.d.ts.map +1 -0
  160. package/dist/shared/bricks/props/text.d.ts +14 -0
  161. package/dist/shared/bricks/props/text.d.ts.map +1 -0
  162. package/dist/shared/bricks/props/text.js +3 -0
  163. package/dist/shared/bricks/props/types.d.ts +43 -0
  164. package/dist/shared/bricks/props/types.d.ts.map +1 -0
  165. package/dist/shared/bricks/props/types.js +2 -0
  166. package/dist/shared/bricks.d.ts +88 -1527
  167. package/dist/shared/bricks.d.ts.map +1 -1
  168. package/dist/shared/bricks.js +2 -2
  169. package/dist/shared/chunk-3CY6AZG7.js +3 -0
  170. package/dist/shared/chunk-3YDMOB7M.js +3 -0
  171. package/dist/shared/{chunk-X7ABR5GQ.js → chunk-6GYFUI5C.js} +2 -2
  172. package/dist/shared/chunk-6I4PY5WS.js +3 -0
  173. package/dist/shared/{chunk-KXVIWTJN.js → chunk-7XTKGW6E.js} +1 -1
  174. package/dist/shared/chunk-AZ63RF3K.js +3 -0
  175. package/dist/shared/chunk-BK6LBWDI.js +3 -0
  176. package/dist/shared/chunk-BMDB2V7J.js +3 -0
  177. package/dist/shared/chunk-CSBX76ZN.js +3 -0
  178. package/dist/shared/chunk-DAPQ4JPP.js +3 -0
  179. package/dist/shared/chunk-EFJQECVB.js +3 -0
  180. package/dist/shared/chunk-F2ZVIFHO.js +3 -0
  181. package/dist/shared/chunk-FGU4BGP4.js +3 -0
  182. package/dist/shared/chunk-H6L4KRCJ.js +3 -0
  183. package/dist/shared/chunk-HIZPJNEM.js +3 -0
  184. package/dist/shared/chunk-HW5TY2QW.js +3 -0
  185. package/dist/shared/chunk-IWSVY2VC.js +3 -0
  186. package/dist/shared/chunk-JVDUEZYO.js +3 -0
  187. package/dist/shared/chunk-KB4HY432.js +3 -0
  188. package/dist/shared/chunk-LDOM2LJF.js +3 -0
  189. package/dist/shared/chunk-NFU5BF6G.js +3 -0
  190. package/dist/shared/{chunk-A3ACTIE3.js → chunk-NNVPTAAH.js} +1 -1
  191. package/dist/shared/chunk-P5FVZ5PL.js +3 -0
  192. package/dist/shared/chunk-P7WL7MYK.js +3 -0
  193. package/dist/shared/chunk-PD7P5KSV.js +3 -0
  194. package/dist/shared/chunk-PJ6HA55L.js +3 -0
  195. package/dist/shared/chunk-PSSJMWGU.js +3 -0
  196. package/dist/shared/chunk-Q4MXTCE4.js +8 -0
  197. package/dist/shared/chunk-QRBMK5UX.js +3 -0
  198. package/dist/shared/chunk-RBYYMUOZ.js +3 -0
  199. package/dist/shared/chunk-SO5M7CYA.js +3 -0
  200. package/dist/shared/chunk-SQVL4WSX.js +3 -0
  201. package/dist/shared/chunk-TQ23UATQ.js +3 -0
  202. package/dist/shared/chunk-U44NTSIO.js +3 -0
  203. package/dist/shared/chunk-U4R5EGBK.js +3 -0
  204. package/dist/shared/chunk-WJ5CDDXW.js +3 -0
  205. package/dist/shared/chunk-WOEBR25A.js +3 -0
  206. package/dist/shared/chunk-WPTVLIYS.js +3 -0
  207. package/dist/shared/{chunk-XGI243DO.js → chunk-WXKRIUTA.js} +1 -1
  208. package/dist/shared/chunk-XBX6II3M.js +3 -0
  209. package/dist/shared/chunk-XEQ2XZLQ.js +3 -0
  210. package/dist/shared/chunk-XGCBIXOO.js +3 -0
  211. package/dist/shared/chunk-XYID4ZEA.js +3 -0
  212. package/dist/shared/chunk-ZWVJMSTT.js +3 -0
  213. package/dist/shared/datarecords/external/google/oauth/config.js +1 -1
  214. package/dist/shared/datarecords/types.d.ts +2 -2
  215. package/dist/shared/datarecords/types.js +1 -1
  216. package/dist/shared/datarecords.js +1 -1
  217. package/dist/shared/datasources/external/meta/oauth/config.js +2 -2
  218. package/dist/shared/datasources/external/tiktok/oauth/config.js +2 -2
  219. package/dist/shared/datasources/external/youtube/oauth/config.js +2 -2
  220. package/dist/shared/datasources/internal/job-board/schema.d.ts +87 -0
  221. package/dist/shared/datasources/internal/job-board/schema.d.ts.map +1 -0
  222. package/dist/shared/datasources/schemas.js +2 -2
  223. package/dist/shared/datasources/types.d.ts +2 -2
  224. package/dist/shared/datasources/types.js +2 -2
  225. package/dist/shared/datasources.js +1 -1
  226. package/dist/shared/env.d.ts +6 -6
  227. package/dist/shared/env.d.ts.map +1 -1
  228. package/dist/shared/env.js +1 -1
  229. package/dist/shared/errors.js +1 -1
  230. package/dist/shared/layout-constants.js +2 -2
  231. package/dist/shared/oauth.js +2 -2
  232. package/dist/shared/page.d.ts +155 -2331
  233. package/dist/shared/page.d.ts.map +1 -1
  234. package/dist/shared/page.js +2 -2
  235. package/dist/shared/responsive.js +1 -1
  236. package/dist/shared/template.d.ts +31 -0
  237. package/dist/shared/template.d.ts.map +1 -0
  238. package/dist/shared/template.js +3 -0
  239. package/dist/shared/tests/test-config.d.ts +1 -1
  240. package/dist/shared/tests/test-config.d.ts.map +1 -1
  241. package/dist/shared/theme.d.ts.map +1 -1
  242. package/dist/shared/theme.js +2 -2
  243. package/dist/shared/themes/all-themes.js +1 -1
  244. package/dist/shared/themes/color-system.d.ts +3 -5
  245. package/dist/shared/themes/color-system.d.ts.map +1 -1
  246. package/dist/shared/themes/color-system.js +2 -2
  247. package/dist/shared/utils/canvas-data-uri.d.ts +2 -0
  248. package/dist/shared/utils/canvas-data-uri.d.ts.map +1 -0
  249. package/dist/shared/utils/invariant.js +2 -2
  250. package/dist/shared/utils/merge.d.ts +2 -0
  251. package/dist/shared/utils/merge.d.ts.map +1 -0
  252. package/dist/shared/utils/merge.js +3 -0
  253. package/dist/shared/utils/object-hash.d.ts +2 -0
  254. package/dist/shared/utils/object-hash.d.ts.map +1 -0
  255. package/dist/shared/utils/try-catch.d.ts +7 -0
  256. package/dist/shared/utils/try-catch.d.ts.map +1 -0
  257. package/package.json +6 -5
  258. package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +0 -95
  259. package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +0 -1
  260. package/dist/shared/bricks/manifests/images-wall.manifest.js +0 -3
  261. package/dist/shared/bricks/manifests/loop.manifest.d.ts +0 -105
  262. package/dist/shared/bricks/manifests/loop.manifest.d.ts.map +0 -1
  263. package/dist/shared/bricks/manifests/loop.manifest.js +0 -3
  264. package/dist/shared/bricks/props/style-presets.d.ts +0 -10
  265. package/dist/shared/bricks/props/style-presets.d.ts.map +0 -1
  266. package/dist/shared/bricks/props/style-presets.js +0 -3
  267. package/dist/shared/bricks/props/style-props.d.ts +0 -90
  268. package/dist/shared/bricks/props/style-props.d.ts.map +0 -1
  269. package/dist/shared/bricks/props/style-props.js +0 -3
  270. package/dist/shared/chunk-3PPIJUXG.js +0 -32
  271. package/dist/shared/chunk-3T2OW4FE.js +0 -14
  272. package/dist/shared/chunk-5PE57DBS.js +0 -15
  273. package/dist/shared/chunk-6G2OUITX.js +0 -3
  274. package/dist/shared/chunk-6PCNIIO5.js +0 -3
  275. package/dist/shared/chunk-AVHF4FLR.js +0 -3
  276. package/dist/shared/chunk-G42AE2ZC.js +0 -13
  277. package/dist/shared/chunk-G4K7GJZO.js +0 -3
  278. package/dist/shared/chunk-GBKDJDGW.js +0 -3
  279. package/dist/shared/chunk-GUOQD446.js +0 -22
  280. package/dist/shared/chunk-MEMG6QPT.js +0 -3
  281. package/dist/shared/chunk-NYPOZ5T2.js +0 -13
  282. package/dist/shared/chunk-PXAK7ZJ3.js +0 -3
  283. package/dist/shared/chunk-PZCWP77P.js +0 -3
  284. package/dist/shared/chunk-QQ7YEIHB.js +0 -3
  285. package/dist/shared/chunk-RRTB52G4.js +0 -9
  286. package/dist/shared/chunk-UIKVMZNI.js +0 -13
  287. package/dist/shared/chunk-WGWJHVOE.js +0 -20
  288. package/dist/shared/chunk-WX4P2YIR.js +0 -11
  289. package/dist/shared/chunk-WXSQ2ZEK.js +0 -16
  290. package/dist/shared/chunk-XS5WCEA6.js +0 -16
  291. package/dist/shared/chunk-Y3TOGUNY.js +0 -9
  292. package/dist/shared/chunk-YSMFNK4R.js +0 -20
  293. package/dist/shared/chunk-YXGFGLKH.js +0 -16
  294. package/dist/shared/chunk-ZDZXB45C.js +0 -7
  295. package/dist/shared/chunk-ZWYM64YA.js +0 -8
  296. package/dist/shared/chunk-ZYVXEGAM.js +0 -11
@@ -0,0 +1,57 @@
1
+ export declare const manifest: {
2
+ readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
3
+ readonly props: import("@sinclair/typebox").TObject<{
4
+ className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6
+ editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7
+ }>;
8
+ readonly presets: Record<string, {
9
+ label: string;
10
+ previewClasses: string;
11
+ props: Partial<{
12
+ className?: string | undefined;
13
+ lastTouched?: number | undefined;
14
+ editable?: boolean | undefined;
15
+ }>;
16
+ }> | undefined;
17
+ readonly kind: "container" | "brick" | "widget";
18
+ readonly defaultInspectorTab: "content" | "style" | "preset";
19
+ readonly hideInLibrary: boolean;
20
+ readonly deletable: boolean;
21
+ readonly movable: boolean;
22
+ readonly resizable: boolean;
23
+ readonly repeatable: boolean;
24
+ readonly duplicatable: boolean;
25
+ readonly isContainer: boolean;
26
+ readonly defaultWidth: {
27
+ mobile: number;
28
+ desktop: number;
29
+ };
30
+ readonly defaultHeight: {
31
+ mobile: number;
32
+ desktop: number;
33
+ };
34
+ readonly minWidth: {
35
+ mobile: number;
36
+ desktop: number;
37
+ } | undefined;
38
+ readonly minHeight: {
39
+ mobile: number;
40
+ desktop: number;
41
+ } | undefined;
42
+ readonly type: string;
43
+ readonly name: string;
44
+ readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
45
+ readonly iconClassName?: string;
46
+ readonly description?: string;
47
+ readonly maxWidth?: {
48
+ mobile: number;
49
+ desktop: number;
50
+ };
51
+ readonly maxHeight?: {
52
+ mobile: number;
53
+ desktop: number;
54
+ };
55
+ };
56
+ export type Manifest = typeof manifest;
57
+ //# sourceMappingURL=sidebar.manifest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sidebar.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/sidebar.manifest.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a}from"../../chunk-WOEBR25A.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
@@ -1,93 +1,57 @@
1
- import { type Static } from "@sinclair/typebox";
2
- export declare const manifest: import("@sinclair/typebox").TObject<{
3
- props: import("@sinclair/typebox").TObject<{
4
- content: import("@sinclair/typebox").TString;
5
- id: import("@sinclair/typebox").TString;
6
- className: import("@sinclair/typebox").TString;
7
- lastTouched: import("@sinclair/typebox").TNumber;
8
- editable: import("@sinclair/typebox").TBoolean;
9
- stylePreset: import("@sinclair/typebox").TObject<{
10
- style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"ghost">, import("@sinclair/typebox").TLiteral<"plain">, import("@sinclair/typebox").TLiteral<"plain2">, import("@sinclair/typebox").TLiteral<"plain3">, import("@sinclair/typebox").TLiteral<"modern">, import("@sinclair/typebox").TLiteral<"modern2">, import("@sinclair/typebox").TLiteral<"soft">, import("@sinclair/typebox").TLiteral<"glass">, import("@sinclair/typebox").TLiteral<"elevated">, import("@sinclair/typebox").TLiteral<"outlined">, import("@sinclair/typebox").TLiteral<"paper">, import("@sinclair/typebox").TLiteral<"gradient">, import("@sinclair/typebox").TLiteral<"gradient2">, import("@sinclair/typebox").TLiteral<"gradient3">, import("@sinclair/typebox").TLiteral<"gradient4">, import("@sinclair/typebox").TLiteral<"gradient5">, import("@sinclair/typebox").TLiteral<"gradient6">, import("@sinclair/typebox").TLiteral<"callout">]>;
11
- variant: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"primary">, import("@sinclair/typebox").TLiteral<"secondary">, import("@sinclair/typebox").TLiteral<"accent">, import("@sinclair/typebox").TLiteral<"neutral">]>;
12
- }>;
13
- }>;
14
- datarecord?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
15
- datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
16
- type: import("@sinclair/typebox").TLiteral<"social-links">;
17
- kind: import("@sinclair/typebox").TLiteral<string>;
18
- title: import("@sinclair/typebox").TLiteral<"Social links">;
19
- description: import("@sinclair/typebox").TLiteral<"A list of social media links">;
20
- icon: import("@sinclair/typebox").TLiteral<"<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Main container -->\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"></rect>\n\n <!-- Dots and social info -->\n <circle cx=\"8\" cy=\"8\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"7\" x2=\"16\" y2=\"7\"></line>\n <line x1=\"11\" y1=\"9\" x2=\"13\" y2=\"9\" stroke-width=\"0.5\"></line>\n\n <circle cx=\"8\" cy=\"12\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"11\" x2=\"16\" y2=\"11\"></line>\n <line x1=\"11\" y1=\"13\" x2=\"13.5\" y2=\"13\" stroke-width=\"0.5\"></line>\n\n <circle cx=\"8\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"15\" x2=\"16\" y2=\"15\"></line>\n <line x1=\"11\" y1=\"17\" x2=\"13\" y2=\"17\" stroke-width=\"0.5\"></line>\n</svg>\n ">;
21
- hideInLibrary: import("@sinclair/typebox").TBoolean;
22
- isContainer: import("@sinclair/typebox").TBoolean;
23
- preferredWidth: import("@sinclair/typebox").TObject<{
24
- mobile: import("@sinclair/typebox").TNumber;
25
- desktop: import("@sinclair/typebox").TNumber;
26
- }>;
27
- preferredHeight: import("@sinclair/typebox").TObject<{
28
- mobile: import("@sinclair/typebox").TNumber;
29
- desktop: import("@sinclair/typebox").TNumber;
30
- }>;
31
- minWidth: import("@sinclair/typebox").TObject<{
32
- mobile: import("@sinclair/typebox").TNumber;
33
- desktop: import("@sinclair/typebox").TNumber;
1
+ export declare const manifest: {
2
+ readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
3
+ readonly props: import("@sinclair/typebox").TObject<{
4
+ className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6
+ editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
34
7
  }>;
35
- maxWidth: import("@sinclair/typebox").TObject<{
36
- mobile: import("@sinclair/typebox").TNumber;
37
- desktop: import("@sinclair/typebox").TNumber;
38
- }>;
39
- minHeight: import("@sinclair/typebox").TObject<{
40
- mobile: import("@sinclair/typebox").TNumber;
41
- desktop: import("@sinclair/typebox").TNumber;
42
- }>;
43
- }>;
44
- export type Manifest = Static<typeof manifest>;
45
- export declare const defaults: {
46
- description: "A list of social media links";
47
- title: "Social links";
48
- type: "social-links";
49
- maxWidth: {
8
+ readonly presets: Record<string, {
9
+ label: string;
10
+ previewClasses: string;
11
+ props: Partial<{
12
+ className?: string | undefined;
13
+ lastTouched?: number | undefined;
14
+ editable?: boolean | undefined;
15
+ }>;
16
+ }> | undefined;
17
+ readonly kind: "container" | "brick" | "widget";
18
+ readonly defaultInspectorTab: "content" | "style" | "preset";
19
+ readonly hideInLibrary: boolean;
20
+ readonly deletable: boolean;
21
+ readonly movable: boolean;
22
+ readonly resizable: boolean;
23
+ readonly repeatable: boolean;
24
+ readonly duplicatable: boolean;
25
+ readonly isContainer: boolean;
26
+ readonly defaultWidth: {
50
27
  mobile: number;
51
28
  desktop: number;
52
29
  };
53
- minHeight: {
30
+ readonly defaultHeight: {
54
31
  mobile: number;
55
32
  desktop: number;
56
33
  };
57
- minWidth: {
34
+ readonly minWidth: {
58
35
  mobile: number;
59
36
  desktop: number;
60
- };
61
- icon: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Main container -->\n <rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\" ry=\"2\"></rect>\n\n <!-- Dots and social info -->\n <circle cx=\"8\" cy=\"8\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"7\" x2=\"16\" y2=\"7\"></line>\n <line x1=\"11\" y1=\"9\" x2=\"13\" y2=\"9\" stroke-width=\"0.5\"></line>\n\n <circle cx=\"8\" cy=\"12\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"11\" x2=\"16\" y2=\"11\"></line>\n <line x1=\"11\" y1=\"13\" x2=\"13.5\" y2=\"13\" stroke-width=\"0.5\"></line>\n\n <circle cx=\"8\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n <line x1=\"11\" y1=\"15\" x2=\"16\" y2=\"15\"></line>\n <line x1=\"11\" y1=\"17\" x2=\"13\" y2=\"17\" stroke-width=\"0.5\"></line>\n</svg>\n ";
62
- kind: string;
63
- preferredWidth: {
37
+ } | undefined;
38
+ readonly minHeight: {
64
39
  mobile: number;
65
40
  desktop: number;
66
- };
67
- preferredHeight: {
41
+ } | undefined;
42
+ readonly type: string;
43
+ readonly name: string;
44
+ readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
45
+ readonly iconClassName?: string;
46
+ readonly description?: string;
47
+ readonly maxWidth?: {
68
48
  mobile: number;
69
49
  desktop: number;
70
50
  };
71
- props: {
72
- id: string;
73
- content: string;
74
- className: string;
75
- lastTouched: number;
76
- editable: boolean;
77
- stylePreset: {
78
- style: "soft" | "ghost" | "outlined" | "plain" | "plain2" | "plain3" | "modern" | "modern2" | "glass" | "elevated" | "paper" | "gradient" | "gradient2" | "gradient3" | "gradient4" | "gradient5" | "gradient6" | "callout";
79
- variant: "primary" | "secondary" | "accent" | "neutral";
80
- };
81
- };
82
- datasource: {
83
- [x: string]: unknown;
84
- [x: number]: unknown;
85
- };
86
- datarecord: {
87
- [x: string]: unknown;
88
- [x: number]: unknown;
51
+ readonly maxHeight?: {
52
+ mobile: number;
53
+ desktop: number;
89
54
  };
90
- isContainer: boolean;
91
- hideInLibrary: boolean;
92
55
  };
56
+ export type Manifest = typeof manifest;
93
57
  //# sourceMappingURL=social-links.manifest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-links.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/social-links.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOtD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwCnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC/C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC"}
1
+ {"version":3,"file":"social-links.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/social-links.manifest.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b}from"../../chunk-YSMFNK4R.js";import"../../chunk-QQ7YEIHB.js";import"../../chunk-PXAK7ZJ3.js";import"../../chunk-PZCWP77P.js";export{b as defaults,a as manifest};
3
+ import{a}from"../../chunk-BK6LBWDI.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=header.manifest.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.manifest.test.d.ts","sourceRoot":"","sources":["../../../../../src/shared/bricks/manifests/tests/header.manifest.test.ts"],"names":[],"mappings":""}
@@ -1,141 +1,110 @@
1
- import { type Static } from "@sinclair/typebox";
2
- export declare const manifest: import("@sinclair/typebox").TObject<{
3
- props: import("@sinclair/typebox").TObject<{
4
- id: import("@sinclair/typebox").TString;
5
- className: import("@sinclair/typebox").TString;
6
- lastTouched: import("@sinclair/typebox").TNumber;
7
- editable: import("@sinclair/typebox").TBoolean;
8
- stylePreset: import("@sinclair/typebox").TObject<{
9
- style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"ghost">, import("@sinclair/typebox").TLiteral<"plain">, import("@sinclair/typebox").TLiteral<"plain2">, import("@sinclair/typebox").TLiteral<"plain3">, import("@sinclair/typebox").TLiteral<"modern">, import("@sinclair/typebox").TLiteral<"modern2">, import("@sinclair/typebox").TLiteral<"soft">, import("@sinclair/typebox").TLiteral<"glass">, import("@sinclair/typebox").TLiteral<"elevated">, import("@sinclair/typebox").TLiteral<"outlined">, import("@sinclair/typebox").TLiteral<"paper">, import("@sinclair/typebox").TLiteral<"gradient">, import("@sinclair/typebox").TLiteral<"gradient2">, import("@sinclair/typebox").TLiteral<"gradient3">, import("@sinclair/typebox").TLiteral<"gradient4">, import("@sinclair/typebox").TLiteral<"gradient5">, import("@sinclair/typebox").TLiteral<"gradient6">, import("@sinclair/typebox").TLiteral<"callout">]>;
10
- variant: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"primary">, import("@sinclair/typebox").TLiteral<"secondary">, import("@sinclair/typebox").TLiteral<"accent">, import("@sinclair/typebox").TLiteral<"neutral">]>;
11
- }>;
1
+ export declare const manifest: {
2
+ readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
3
+ readonly props: import("@sinclair/typebox").TObject<{
4
+ className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6
+ editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7
+ } & {
12
8
  content: import("@sinclair/typebox").TString;
13
- background: import("@sinclair/typebox").TObject<{
14
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
- image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
- size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
17
- repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
18
- }>;
19
- text: import("@sinclair/typebox").TObject<{
20
- size: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>;
21
- color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
22
- }>;
23
- border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
24
- radius: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
9
+ backgroundColor: import("@sinclair/typebox").TString;
10
+ color: import("@sinclair/typebox").TString;
11
+ padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
12
+ border: import("@sinclair/typebox").TObject<{
13
+ rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
14
+ width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
15
+ color: import("@sinclair/typebox").TString;
16
+ sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
25
17
  style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
18
+ }> | import("@sinclair/typebox").TObject<{
26
19
  color: import("@sinclair/typebox").TString;
27
20
  width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
28
- }>>;
29
- effects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
21
+ style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
22
+ rounding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-auto">, import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-2xl">, import("@sinclair/typebox").TLiteral<"rounded-3xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
23
+ sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-l">, import("@sinclair/typebox").TLiteral<"border-t">, import("@sinclair/typebox").TLiteral<"border-r">, import("@sinclair/typebox").TLiteral<"border-b">]>>>;
24
+ }>;
25
+ effects: import("@sinclair/typebox").TObject<{
26
+ textShadow?: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]> | undefined;
27
+ opacity: import("@sinclair/typebox").TNumber;
28
+ shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
29
+ }> | import("@sinclair/typebox").TObject<{
30
30
  shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
31
- opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
32
- }>>;
33
- dimensions: import("@sinclair/typebox").TObject<{
34
- height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"fixed">, import("@sinclair/typebox").TLiteral<"auto">]>>;
35
- padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>>;
31
+ opacity: import("@sinclair/typebox").TNumber;
32
+ textShadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text-shadow-none">, import("@sinclair/typebox").TLiteral<"text-shadow-sm">, import("@sinclair/typebox").TLiteral<"text-shadow-md">, import("@sinclair/typebox").TLiteral<"text-shadow-lg">, import("@sinclair/typebox").TLiteral<"text-shadow-xl">]>;
36
33
  }>;
37
34
  }>;
38
- datarecord?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
39
- datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
40
- type: import("@sinclair/typebox").TLiteral<"text">;
41
- kind: import("@sinclair/typebox").TLiteral<string>;
42
- title: import("@sinclair/typebox").TLiteral<"Text">;
43
- description: import("@sinclair/typebox").TLiteral<"Text with formatting options">;
44
- icon: import("@sinclair/typebox").TLiteral<"\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M4 7h16M4 12h16M4 17h16\"></path>\n </svg>\n ">;
45
- hideInLibrary: import("@sinclair/typebox").TBoolean;
46
- isContainer: import("@sinclair/typebox").TBoolean;
47
- preferredWidth: import("@sinclair/typebox").TObject<{
48
- mobile: import("@sinclair/typebox").TNumber;
49
- desktop: import("@sinclair/typebox").TNumber;
50
- }>;
51
- preferredHeight: import("@sinclair/typebox").TObject<{
52
- mobile: import("@sinclair/typebox").TNumber;
53
- desktop: import("@sinclair/typebox").TNumber;
54
- }>;
55
- minWidth: import("@sinclair/typebox").TObject<{
56
- mobile: import("@sinclair/typebox").TNumber;
57
- desktop: import("@sinclair/typebox").TNumber;
58
- }>;
59
- maxWidth: import("@sinclair/typebox").TObject<{
60
- mobile: import("@sinclair/typebox").TNumber;
61
- desktop: import("@sinclair/typebox").TNumber;
62
- }>;
63
- minHeight: import("@sinclair/typebox").TObject<{
64
- mobile: import("@sinclair/typebox").TNumber;
65
- desktop: import("@sinclair/typebox").TNumber;
66
- }>;
67
- }>;
68
- export type Manifest = Static<typeof manifest>;
69
- export declare const defaults: {
70
- description: "Text with formatting options";
71
- title: "Text";
72
- type: "text";
73
- maxWidth: {
35
+ readonly presets: Record<string, {
36
+ label: string;
37
+ previewClasses: string;
38
+ props: Partial<{
39
+ className?: string | undefined;
40
+ lastTouched?: number | undefined;
41
+ editable?: boolean | undefined;
42
+ border: {
43
+ sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
44
+ color: string;
45
+ width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
46
+ style: "border-solid" | "border-dashed" | "border-dotted";
47
+ rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
48
+ } | {
49
+ sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
50
+ color: string;
51
+ width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
52
+ style: "border-solid" | "border-dashed" | "border-dotted";
53
+ rounding: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full";
54
+ };
55
+ backgroundColor: string;
56
+ color: string;
57
+ content: string;
58
+ padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
59
+ effects: {
60
+ shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
61
+ opacity: number;
62
+ textShadow: "text-shadow-none" | "text-shadow-sm" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl";
63
+ } | {
64
+ shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
65
+ opacity: number;
66
+ textShadow: "text-shadow-none" | "text-shadow-sm" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl";
67
+ };
68
+ }>;
69
+ }> | undefined;
70
+ readonly kind: "container" | "brick" | "widget";
71
+ readonly defaultInspectorTab: "content" | "style" | "preset";
72
+ readonly hideInLibrary: boolean;
73
+ readonly deletable: boolean;
74
+ readonly movable: boolean;
75
+ readonly resizable: boolean;
76
+ readonly repeatable: boolean;
77
+ readonly duplicatable: boolean;
78
+ readonly isContainer: boolean;
79
+ readonly defaultWidth: {
74
80
  mobile: number;
75
81
  desktop: number;
76
82
  };
77
- minHeight: {
83
+ readonly defaultHeight: {
78
84
  mobile: number;
79
85
  desktop: number;
80
86
  };
81
- minWidth: {
87
+ readonly minWidth: {
82
88
  mobile: number;
83
89
  desktop: number;
84
- };
85
- icon: "\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M4 7h16M4 12h16M4 17h16\"></path>\n </svg>\n ";
86
- kind: string;
87
- preferredWidth: {
90
+ } | undefined;
91
+ readonly minHeight: {
88
92
  mobile: number;
89
93
  desktop: number;
90
- };
91
- preferredHeight: {
94
+ } | undefined;
95
+ readonly type: string;
96
+ readonly name: string;
97
+ readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
98
+ readonly iconClassName?: string;
99
+ readonly description?: string;
100
+ readonly maxWidth?: {
92
101
  mobile: number;
93
102
  desktop: number;
94
103
  };
95
- props: {
96
- border?: {
97
- color: string;
98
- width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
99
- style: "border-solid" | "border-dashed" | "border-dotted";
100
- radius: "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-full";
101
- } | undefined;
102
- effects?: {
103
- opacity?: number | undefined;
104
- shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
105
- } | undefined;
106
- id: string;
107
- background: {
108
- repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
109
- color?: string | undefined;
110
- size?: "contain" | "auto" | "cover" | undefined;
111
- image?: string | undefined;
112
- };
113
- text: {
114
- color?: string | undefined;
115
- size: "inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl";
116
- };
117
- content: string;
118
- dimensions: {
119
- height?: "fixed" | "auto" | undefined;
120
- padding?: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16" | undefined;
121
- };
122
- className: string;
123
- lastTouched: number;
124
- editable: boolean;
125
- stylePreset: {
126
- style: "soft" | "ghost" | "outlined" | "plain" | "plain2" | "plain3" | "modern" | "modern2" | "glass" | "elevated" | "paper" | "gradient" | "gradient2" | "gradient3" | "gradient4" | "gradient5" | "gradient6" | "callout";
127
- variant: "primary" | "secondary" | "accent" | "neutral";
128
- };
129
- };
130
- datasource: {
131
- [x: string]: unknown;
132
- [x: number]: unknown;
133
- };
134
- datarecord: {
135
- [x: string]: unknown;
136
- [x: number]: unknown;
104
+ readonly maxHeight?: {
105
+ mobile: number;
106
+ desktop: number;
137
107
  };
138
- isContainer: boolean;
139
- hideInLibrary: boolean;
140
108
  };
109
+ export type Manifest = typeof manifest;
141
110
  //# sourceMappingURL=text.manifest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/text.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAOtD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC/C,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAyB,CAAC"}
1
+ {"version":3,"file":"text.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/text.manifest.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
- /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b}from"../../chunk-ZDZXB45C.js";import"../../chunk-QQ7YEIHB.js";import"../../chunk-PXAK7ZJ3.js";import"../../chunk-PZCWP77P.js";import"../../chunk-MEMG6QPT.js";export{b as defaults,a as manifest};
3
+ import{a}from"../../chunk-6I4PY5WS.js";import"../../chunk-SO5M7CYA.js";import"../../chunk-IWSVY2VC.js";import"../../chunk-U44NTSIO.js";import"../../chunk-P5FVZ5PL.js";import"../../chunk-LDOM2LJF.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};