@upstart.gg/sdk 0.0.104 → 0.0.106

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 (254) hide show
  1. package/dist/shared/ajv.d.ts +2 -0
  2. package/dist/shared/ajv.d.ts.map +1 -1
  3. package/dist/shared/ajv.js +1 -1
  4. package/dist/shared/attributes.js +1 -1
  5. package/dist/shared/brick-manifest.js +1 -1
  6. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  7. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  8. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  9. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  10. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  11. package/dist/shared/bricks/manifests/container.manifest.js +1 -1
  12. package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
  13. package/dist/shared/bricks/manifests/footer.manifest.d.ts +1 -1
  14. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  15. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  17. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  18. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  20. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  21. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  22. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  23. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  24. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  26. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  27. package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  29. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  30. package/dist/shared/bricks/props/border.js +1 -1
  31. package/dist/shared/bricks/props/container.js +1 -1
  32. package/dist/shared/bricks/props/effects.js +1 -1
  33. package/dist/shared/bricks.d.ts.map +1 -1
  34. package/dist/shared/bricks.js +1 -1
  35. package/dist/shared/{chunk-TCZBR3ZU.js → chunk-2DI5SIVV.js} +1 -1
  36. package/dist/shared/{chunk-O22VV7YR.js → chunk-33FU4KGU.js} +1 -1
  37. package/dist/shared/{chunk-WCNVFVDK.js → chunk-3ZGRY444.js} +1 -1
  38. package/dist/shared/{chunk-CUCUHPQ7.js → chunk-6OKXZL6R.js} +1 -1
  39. package/dist/shared/chunk-7E67XSKP.js +3 -0
  40. package/dist/shared/{chunk-LJQXN32B.js → chunk-AMGHA7QH.js} +1 -1
  41. package/dist/shared/{chunk-QALNFBY7.js → chunk-DC5DWF7B.js} +1 -1
  42. package/dist/shared/{chunk-I43NIQ2K.js → chunk-DY2YCYZ6.js} +1 -1
  43. package/dist/shared/{chunk-CEXHD4BO.js → chunk-E4UAVLKC.js} +2 -2
  44. package/dist/shared/{chunk-ZFTWLZ3G.js → chunk-EHH677K5.js} +1 -1
  45. package/dist/shared/{chunk-POYVTV5F.js → chunk-FD3KX2U7.js} +1 -1
  46. package/dist/shared/chunk-G3JO5DM5.js +3 -0
  47. package/dist/shared/{chunk-I5S2MPPR.js → chunk-H7OYUKBW.js} +1 -1
  48. package/dist/shared/{chunk-ATVHWZSA.js → chunk-HBM4DPIW.js} +1 -1
  49. package/dist/shared/chunk-HIBTEX2T.js +3 -0
  50. package/dist/shared/{chunk-E2EBTWJI.js → chunk-I3HSLGFA.js} +1 -1
  51. package/dist/shared/{chunk-UISES3HA.js → chunk-IXJX7EQ3.js} +1 -1
  52. package/dist/shared/{chunk-5IEGQ7YT.js → chunk-JAAPJQNK.js} +1 -1
  53. package/dist/shared/{chunk-UK6H3FDX.js → chunk-JDBVMPSI.js} +1 -1
  54. package/dist/shared/{chunk-F6MLW6DO.js → chunk-JH3NRO6M.js} +1 -1
  55. package/dist/shared/{chunk-ZNVRYEO7.js → chunk-L3TKLJKK.js} +1 -1
  56. package/dist/shared/{chunk-TEPFFY32.js → chunk-LOFXGDAK.js} +1 -1
  57. package/dist/shared/chunk-O3FJP65T.js +3 -0
  58. package/dist/shared/{chunk-7L3UOEMR.js → chunk-PX7QSNLO.js} +1 -1
  59. package/dist/shared/{chunk-22KRCQK5.js → chunk-U76JDFWJ.js} +1 -1
  60. package/dist/shared/{chunk-CW5FWW5W.js → chunk-UYZP24VV.js} +1 -1
  61. package/dist/shared/chunk-X42WBJTN.js +3 -0
  62. package/dist/shared/{chunk-OQIFFJ7I.js → chunk-XB3X4P3I.js} +1 -1
  63. package/dist/shared/chunk-XDCGA4WT.js +3 -0
  64. package/dist/shared/chunk-YGHBFXR6.js +3 -0
  65. package/dist/shared/{chunk-WEQRYCPD.js → chunk-ZWYLKIBI.js} +1 -1
  66. package/dist/shared/datasources/external/rss/fetcher.d.ts +1 -1
  67. package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -1
  68. package/dist/shared/images.js +1 -1
  69. package/dist/shared/page.js +1 -1
  70. package/dist/shared/responsive.js +1 -1
  71. package/dist/shared/site.js +1 -1
  72. package/dist/shared/sitemap.js +1 -1
  73. package/dist/shared/theme.js +1 -1
  74. package/dist/shared/utils/schema.d.ts +6 -8
  75. package/dist/shared/utils/schema.d.ts.map +1 -1
  76. package/dist/shared/utils/schema.js +1 -1
  77. package/package.json +5 -9
  78. package/dist/shared/chunk-F63ANNAK.js +0 -3
  79. package/dist/shared/chunk-GPKRRX3D.js +0 -3
  80. package/dist/shared/chunk-HQQYIKTE.js +0 -3
  81. package/dist/shared/chunk-JFDOR3UH.js +0 -3
  82. package/dist/shared/chunk-OD2PRCLH.js +0 -3
  83. package/dist/shared/chunk-PK6UAFPW.js +0 -3
  84. package/dist/shared/chunk-VDHLON5R.js +0 -3
  85. package/src/node/cli/api.ts +0 -101
  86. package/src/node/cli/commands/cmd-build.ts +0 -64
  87. package/src/node/cli/commands/login/cmd-login.ts +0 -111
  88. package/src/node/cli/commands/logout/cmd-logout.ts +0 -11
  89. package/src/node/cli/commands/publish/cmd-publish.ts +0 -135
  90. package/src/node/cli/commands/publish/parse-gitignore.ts +0 -278
  91. package/src/node/cli/commands/publish/uploader.ts +0 -333
  92. package/src/node/cli/constants.ts +0 -14
  93. package/src/node/cli/is-logged-in.ts +0 -28
  94. package/src/node/cli/program.ts +0 -77
  95. package/src/node/cli/store.ts +0 -64
  96. package/src/node/cli/tests/api.test.ts +0 -161
  97. package/src/node/cli/types.ts +0 -34
  98. package/src/node/cli/utils.ts +0 -20
  99. package/src/node/shared/config.ts +0 -69
  100. package/src/node/shared/logger.ts +0 -44
  101. package/src/shared/ajv.ts +0 -103
  102. package/src/shared/analytics/init.ts +0 -14
  103. package/src/shared/analytics/track.ts +0 -21
  104. package/src/shared/analytics/types.ts +0 -13
  105. package/src/shared/attributes.ts +0 -211
  106. package/src/shared/brick-manifest.ts +0 -110
  107. package/src/shared/bricks/manifests/accordion.manifest.ts +0 -179
  108. package/src/shared/bricks/manifests/all-manifests.ts +0 -92
  109. package/src/shared/bricks/manifests/button.manifest.ts +0 -145
  110. package/src/shared/bricks/manifests/card.manifest.ts +0 -269
  111. package/src/shared/bricks/manifests/carousel.manifest.ts +0 -106
  112. package/src/shared/bricks/manifests/container.manifest.ts +0 -357
  113. package/src/shared/bricks/manifests/divider.manifest.ts +0 -121
  114. package/src/shared/bricks/manifests/footer.manifest.ts +0 -487
  115. package/src/shared/bricks/manifests/form.manifest.ts +0 -112
  116. package/src/shared/bricks/manifests/hero.manifest.ts +0 -132
  117. package/src/shared/bricks/manifests/icon.manifest.ts +0 -130
  118. package/src/shared/bricks/manifests/image.manifest.ts +0 -203
  119. package/src/shared/bricks/manifests/images-gallery.manifest.ts +0 -227
  120. package/src/shared/bricks/manifests/map.manifest.ts +0 -75
  121. package/src/shared/bricks/manifests/navbar.manifest.ts +0 -344
  122. package/src/shared/bricks/manifests/sidebar.manifest.ts +0 -90
  123. package/src/shared/bricks/manifests/social-links.manifest.ts +0 -370
  124. package/src/shared/bricks/manifests/testimonials.manifest.ts +0 -397
  125. package/src/shared/bricks/manifests/tests/header.manifest.test.ts +0 -10
  126. package/src/shared/bricks/manifests/text.manifest.ts +0 -164
  127. package/src/shared/bricks/manifests/timeline.manifest.ts +0 -456
  128. package/src/shared/bricks/manifests/video.manifest.ts +0 -59
  129. package/src/shared/bricks/props/_style-presets.ts +0 -352
  130. package/src/shared/bricks/props/align.ts +0 -59
  131. package/src/shared/bricks/props/background.ts +0 -118
  132. package/src/shared/bricks/props/boolean.ts +0 -11
  133. package/src/shared/bricks/props/border.ts +0 -84
  134. package/src/shared/bricks/props/color.ts +0 -24
  135. package/src/shared/bricks/props/common.ts +0 -37
  136. package/src/shared/bricks/props/container.ts +0 -356
  137. package/src/shared/bricks/props/css-length.ts +0 -25
  138. package/src/shared/bricks/props/datasource.ts +0 -60
  139. package/src/shared/bricks/props/date.ts +0 -24
  140. package/src/shared/bricks/props/effects.ts +0 -123
  141. package/src/shared/bricks/props/enum.ts +0 -42
  142. package/src/shared/bricks/props/file.ts +0 -12
  143. package/src/shared/bricks/props/geolocation.ts +0 -30
  144. package/src/shared/bricks/props/helpers.ts +0 -101
  145. package/src/shared/bricks/props/image.ts +0 -90
  146. package/src/shared/bricks/props/number.ts +0 -16
  147. package/src/shared/bricks/props/padding.ts +0 -21
  148. package/src/shared/bricks/props/position.ts +0 -27
  149. package/src/shared/bricks/props/preset.ts +0 -136
  150. package/src/shared/bricks/props/string.ts +0 -56
  151. package/src/shared/bricks/props/tests/align.test.ts +0 -37
  152. package/src/shared/bricks/props/tests/background.test.ts +0 -102
  153. package/src/shared/bricks/props/tests/border.test.ts +0 -38
  154. package/src/shared/bricks/props/tests/effects.test.ts +0 -37
  155. package/src/shared/bricks/props/tests/helpers.test.ts +0 -133
  156. package/src/shared/bricks/props/tests/image.test.ts +0 -71
  157. package/src/shared/bricks/props/tests/padding.ts +0 -12
  158. package/src/shared/bricks/props/tests/string.test.ts +0 -79
  159. package/src/shared/bricks/props/text.ts +0 -66
  160. package/src/shared/bricks/props/types.ts +0 -57
  161. package/src/shared/bricks.ts +0 -232
  162. package/src/shared/context.ts +0 -39
  163. package/src/shared/datarecords/external/airtable/handler.ts +0 -21
  164. package/src/shared/datarecords/external/airtable/options.ts +0 -22
  165. package/src/shared/datarecords/external/generic-webhook/handler.ts +0 -10
  166. package/src/shared/datarecords/external/generic-webhook/options.ts +0 -13
  167. package/src/shared/datarecords/external/google/oauth/config.ts +0 -30
  168. package/src/shared/datarecords/external/google/sheets/handler.ts +0 -26
  169. package/src/shared/datarecords/external/google/sheets/options.ts +0 -9
  170. package/src/shared/datarecords/types.ts +0 -120
  171. package/src/shared/datarecords.ts +0 -5
  172. package/src/shared/datasources/README.md +0 -3
  173. package/src/shared/datasources/external/facebook/posts/fetcher.ts +0 -52
  174. package/src/shared/datasources/external/facebook/posts/sample.ts +0 -35
  175. package/src/shared/datasources/external/facebook/posts/schema.ts +0 -33
  176. package/src/shared/datasources/external/facebook/posts/tests/fetcher.test.ts +0 -73
  177. package/src/shared/datasources/external/http-json/fetcher.ts +0 -28
  178. package/src/shared/datasources/external/http-json/options.ts +0 -12
  179. package/src/shared/datasources/external/http-json/schema.ts +0 -6
  180. package/src/shared/datasources/external/http-json/tests/fetcher.test.ts +0 -70
  181. package/src/shared/datasources/external/instagram/feed/fetcher.ts +0 -33
  182. package/src/shared/datasources/external/instagram/feed/sample.ts +0 -22
  183. package/src/shared/datasources/external/instagram/feed/schema.ts +0 -23
  184. package/src/shared/datasources/external/instagram/feed/tests/fetcher.test.ts +0 -64
  185. package/src/shared/datasources/external/mastodon/account/fetcher.ts +0 -24
  186. package/src/shared/datasources/external/mastodon/account/sample.ts +0 -33
  187. package/src/shared/datasources/external/mastodon/account/schema.ts +0 -45
  188. package/src/shared/datasources/external/mastodon/account/tests/fetcher.test.ts +0 -47
  189. package/src/shared/datasources/external/mastodon/options.ts +0 -11
  190. package/src/shared/datasources/external/mastodon/status/fetcher.ts +0 -35
  191. package/src/shared/datasources/external/mastodon/status/sample.array.ts +0 -59
  192. package/src/shared/datasources/external/mastodon/status/sample.single.ts +0 -55
  193. package/src/shared/datasources/external/mastodon/status/schema.ts +0 -130
  194. package/src/shared/datasources/external/mastodon/status/tests/fetcher.test.ts +0 -74
  195. package/src/shared/datasources/external/meta/oauth/config.ts +0 -16
  196. package/src/shared/datasources/external/meta/options.ts +0 -11
  197. package/src/shared/datasources/external/rss/fetcher.ts +0 -29
  198. package/src/shared/datasources/external/rss/options.ts +0 -11
  199. package/src/shared/datasources/external/rss/sample.ts +0 -22
  200. package/src/shared/datasources/external/rss/schema.ts +0 -42
  201. package/src/shared/datasources/external/threads/media/fetcher.ts +0 -53
  202. package/src/shared/datasources/external/threads/media/sample.ts +0 -44
  203. package/src/shared/datasources/external/threads/media/schema.ts +0 -37
  204. package/src/shared/datasources/external/tiktok/oauth/config.ts +0 -17
  205. package/src/shared/datasources/external/tiktok/video/fetcher.ts +0 -39
  206. package/src/shared/datasources/external/tiktok/video/options.ts +0 -12
  207. package/src/shared/datasources/external/tiktok/video/sample.ts +0 -26
  208. package/src/shared/datasources/external/tiktok/video/schema.ts +0 -27
  209. package/src/shared/datasources/external/youtube/list/fetcher.ts +0 -37
  210. package/src/shared/datasources/external/youtube/list/options.ts +0 -15
  211. package/src/shared/datasources/external/youtube/list/sample.ts +0 -33
  212. package/src/shared/datasources/external/youtube/list/schema.ts +0 -38
  213. package/src/shared/datasources/external/youtube/oauth/config.ts +0 -15
  214. package/src/shared/datasources/fetcher.ts +0 -17
  215. package/src/shared/datasources/internal/blog/schema.ts +0 -69
  216. package/src/shared/datasources/internal/changelog/schema.ts +0 -48
  217. package/src/shared/datasources/internal/contact-info/schema.ts +0 -20
  218. package/src/shared/datasources/internal/cv/schema.ts +0 -217
  219. package/src/shared/datasources/internal/faq/schema.ts +0 -27
  220. package/src/shared/datasources/internal/job-board/schema.ts +0 -228
  221. package/src/shared/datasources/internal/links/schema.ts +0 -15
  222. package/src/shared/datasources/internal/recipes/schema.ts +0 -42
  223. package/src/shared/datasources/internal/restaurant/schema.ts +0 -225
  224. package/src/shared/datasources/provider-options.ts +0 -7
  225. package/src/shared/datasources/samples.ts +0 -26
  226. package/src/shared/datasources/schemas.ts +0 -45
  227. package/src/shared/datasources/types.ts +0 -276
  228. package/src/shared/datasources/utils.ts +0 -16
  229. package/src/shared/datasources.ts +0 -42
  230. package/src/shared/env.ts +0 -23
  231. package/src/shared/errors.ts +0 -1
  232. package/src/shared/images.ts +0 -44
  233. package/src/shared/index.ts +0 -3
  234. package/src/shared/layout-constants.ts +0 -25
  235. package/src/shared/manifest.ts +0 -50
  236. package/src/shared/oauth.ts +0 -16
  237. package/src/shared/page.ts +0 -61
  238. package/src/shared/prompt.ts +0 -9
  239. package/src/shared/responsive.ts +0 -5
  240. package/src/shared/site.ts +0 -97
  241. package/src/shared/sitemap.ts +0 -66
  242. package/src/shared/social-icons.ts +0 -307
  243. package/src/shared/tests/attributes.test.ts +0 -37
  244. package/src/shared/theme.ts +0 -245
  245. package/src/shared/themes/README.md +0 -34
  246. package/src/shared/themes/color-system.ts +0 -127
  247. package/src/shared/utils/canvas-data-uri.ts +0 -2
  248. package/src/shared/utils/invariant.ts +0 -25
  249. package/src/shared/utils/json-date.ts +0 -8
  250. package/src/shared/utils/merge.ts +0 -12
  251. package/src/shared/utils/object-hash.ts +0 -7
  252. package/src/shared/utils/schema.ts +0 -35
  253. package/src/shared/utils/try-catch.ts +0 -12
  254. package/src/shared/utils/typed-ref.ts +0 -41
@@ -1,4 +1,4 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as p}from"./chunk-CUCUHPQ7.js";import{b as a}from"./chunk-P5DZK4TS.js";import{b as s}from"./chunk-CAVNF3BU.js";import{b as n}from"./chunk-OD2PRCLH.js";import{a as o}from"./chunk-YJTGZQEV.js";import{d as i}from"./chunk-HYVQXAK5.js";import{b as r,d as t,e}from"./chunk-BJSO43AS.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
3
+ import{b as s}from"./chunk-CAVNF3BU.js";import{b as a}from"./chunk-P5DZK4TS.js";import{d as i}from"./chunk-HYVQXAK5.js";import{a as o}from"./chunk-YJTGZQEV.js";import{a as p}from"./chunk-6OKXZL6R.js";import{a as n}from"./chunk-XDCGA4WT.js";import{b as r,d as t,e}from"./chunk-BJSO43AS.js";import{FaWpforms as d}from"react-icons/fa6";var b=p({type:"form",kind:"widget",name:"Form",description:"A form element",aiInstructions:`The form brick automatically renders form fields based on the datarecord id provided in the props.
4
4
  There is no need to define the form fields manually and the form does not accept any children`,isContainer:!1,icon:d,props:t({title:e(o("Title","My form",{description:"The title of the form"})),intro:e(o("Intro",void 0,{description:"The intro text of the form"})),datarecordId:o("Datarecord ID",void 0,{description:"The ID of the datarecord to use to generate the form fields"}),padding:e(a),backgroundColor:e(i()),color:e(s()),align:e(r({title:"Alignment",description:"The alignment of the form fields. Default is vertical",schema:n(["vertical","horizontal"],{default:"vertical",title:"Form alignment",description:"Choose between vertical or horizontal alignment for the form fields"})}))})}),v=[{description:"Basic contact form",type:"form",props:{title:"Contact Us",intro:"We'd love to hear from you. Send us a message and we'll respond as soon as possible.",align:"vertical",datarecordId:"contacts"}},{description:"User registration form",type:"form",props:{title:"Create Account",intro:"Join our platform and start your journey today.",align:"vertical",datarecordId:"user-registration"}},{description:"Newsletter subscription form (horizontal)",type:"form",props:{title:"Stay Updated",intro:"Subscribe to our newsletter for the latest updates and exclusive content.",align:"horizontal",datarecordId:"newsletter-subscription"}},{description:"Event registration form",type:"form",props:{title:"Conference Registration",intro:"Register for the Annual Tech Conference 2025. Early bird pricing ends soon!",align:"vertical",datarecordId:"event-registration"}},{description:"Job application form",type:"form",props:{title:"Apply for Position",intro:"We're excited to learn more about you! Please fill out this application form completely.",align:"vertical",datarecordId:"job-application"}},{description:"Customer feedback form",type:"form",props:{title:"Share Your Feedback",intro:"Your opinion matters to us. Help us improve our products and services.",align:"vertical",datarecordId:"customer-feedback"}}];export{b as a,v as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as d}from"./chunk-CUCUHPQ7.js";import{a as t}from"./chunk-UL7L3HYV.js";import{b as n}from"./chunk-PK6UAFPW.js";import{b as a}from"./chunk-P5DZK4TS.js";import{b as e}from"./chunk-WEQRYCPD.js";import{a as s}from"./chunk-YJTGZQEV.js";import{d as p}from"./chunk-HYVQXAK5.js";import{b as r,d as i,e as o}from"./chunk-BJSO43AS.js";import{LiaMapMarkedAltSolid as c}from"react-icons/lia";import{Type as m}from"@sinclair/typebox";var T=d({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",icon:c,props:i({location:r({title:"Location",description:"The location to display on the map",schema:m.Object({lat:t("Latitude"),lng:t("Longitude"),tooltip:o(s("Tooltip"))})}),backgroundColor:o(p()),border:o(e),padding:o(a),shadow:o(n())})}),A=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA"}}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,tooltip:"New York, NY"},backgroundColor:"bg-gray-100",border:{color:"border-gray-300",width:"border"},padding:"p-16",shadow:"shadow-lg"}}];export{T as a,A as b};
3
+ import{a as t}from"./chunk-UL7L3HYV.js";import{b as n}from"./chunk-O3FJP65T.js";import{b as e}from"./chunk-ZWYLKIBI.js";import{b as a}from"./chunk-P5DZK4TS.js";import{d as p}from"./chunk-HYVQXAK5.js";import{a as s}from"./chunk-YJTGZQEV.js";import{a as d}from"./chunk-6OKXZL6R.js";import{b as r,d as i,e as o}from"./chunk-BJSO43AS.js";import{LiaMapMarkedAltSolid as c}from"react-icons/lia";import{Type as m}from"@sinclair/typebox";var T=d({type:"map",kind:"widget",name:"Map",description:"A map element showing a location",aiInstructions:"This brick can be used to show a location on a map. Use the 'location' prop to set the coordinates and an optional tooltip.",icon:c,props:i({location:r({title:"Location",description:"The location to display on the map",schema:m.Object({lat:t("Latitude"),lng:t("Longitude"),tooltip:o(s("Tooltip"))})}),backgroundColor:o(p()),border:o(e),padding:o(a),shadow:o(n())})}),A=[{description:"Map showing a specific location",type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA"}}},{description:"Map with custom styles",type:"map",props:{location:{lat:40.7128,lng:-74.006,tooltip:"New York, NY"},backgroundColor:"bg-gray-100",border:{color:"border-gray-300",width:"border"},padding:"p-16",shadow:"shadow-lg"}}];export{T as a,A as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as k,b as J}from"./chunk-U76JDFWJ.js";import{a as p,b as D}from"./chunk-JAAPJQNK.js";import{a as s,b as B}from"./chunk-3ZGRY444.js";import{b as n,c as j}from"./chunk-H7OYUKBW.js";import{a as o,b as W}from"./chunk-FD3KX2U7.js";import{b as l,c as w}from"./chunk-HIBTEX2T.js";import{a as d,b as G}from"./chunk-E4UAVLKC.js";import{a as E,b as F}from"./chunk-DC5DWF7B.js";import{a as u,b as I}from"./chunk-AMGHA7QH.js";import{a as m,b as R}from"./chunk-2DI5SIVV.js";import{a as r,b as L}from"./chunk-I3HSLGFA.js";import{a as y,b as q}from"./chunk-UYZP24VV.js";import{b as i,c as h}from"./chunk-LOFXGDAK.js";import{a as g,b as H}from"./chunk-DY2YCYZ6.js";import{a as x,b as z}from"./chunk-X42WBJTN.js";import{a as f,b as P}from"./chunk-EHH677K5.js";import{a,b as v}from"./chunk-33FU4KGU.js";import{a as M,b as C}from"./chunk-XB3X4P3I.js";import{a as t,b}from"./chunk-JH3NRO6M.js";import{a as c,b as A}from"./chunk-PX7QSNLO.js";import{b as e}from"./chunk-6OKXZL6R.js";var oe={[m.type]:m,[a.type]:a,[s.type]:s,[p.type]:p,[r.type]:r,[o.type]:o,[f.type]:f,[d.type]:d,[n.type]:n,[y.type]:y,[l.type]:l,[x.type]:x,[c.type]:c,[M.type]:M,[E.type]:E,[i.type]:i,[g.type]:g,[u.type]:u,[k.type]:k,[t.type]:t},fe={[m.type]:e(m),[a.type]:e(a),[s.type]:e(s),[p.type]:e(p),[r.type]:e(r),[d.type]:e(d),[o.type]:e(o),[f.type]:e(f),[n.type]:e(n),[y.type]:e(y),[l.type]:e(l),[x.type]:e(x),[c.type]:e(c),[M.type]:e(M),[E.type]:e(E),[i.type]:e(i),[g.type]:e(g),[u.type]:e(u),[k.type]:e(k),[t.type]:e(t)},ne={[m.type]:R,[a.type]:v,[s.type]:B,[p.type]:D,[r.type]:L,[o.type]:W,[f.type]:P,[d.type]:G,[n.type]:j,[y.type]:q,[l.type]:w,[x.type]:z,[c.type]:A,[M.type]:C,[E.type]:F,[i.type]:h,[g.type]:H,[u.type]:I,[k.type]:J,[t.type]:b};export{oe as a,fe as b,ne as c};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as e}from"./chunk-OELIU5BZ.js";import{a as c}from"./chunk-CUCUHPQ7.js";import{a as n}from"./chunk-OUI2VDNM.js";import{b as i}from"./chunk-F63ANNAK.js";import{a as p,b as l}from"./chunk-YJTGZQEV.js";import{a as o,b as a,d as s,e as r}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{IoGridOutline as g}from"react-icons/io5";var d=t.Array(t.Object({src:t.String({format:"uri",title:"Image URL"}),alt:t.String({default:"",title:"Alt text"})}),{default:[{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"}]}),P=c({type:"images-gallery",kind:"widget",name:"Gallery",description:"An image collection",aiInstructions:"This brick should mostly be used for image galleries and collections.",defaultInspectorTab:"content",isContainer:!1,minWidth:{mobile:10,desktop:10},minHeight:{mobile:10,desktop:10},icon:g,props:s({datasource:r(n()),staticImages:r(a({title:"Nav items",schema:t.Array(t.Object({src:l("Image URL"),legend:p("Legend")}),{title:"Images",default:[]})})),styles:o({title:"Styles",children:{layout:i()}})}),datasource:d}),w=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:3,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/400x400.png?text=Product+1",legend:"Premium wireless headphones"},{src:"https://via.placeholder.com/400x400.png?text=Product+2",legend:"Bluetooth speaker"},{src:"https://via.placeholder.com/400x400.png?text=Product+3",legend:"Smart fitness tracker"},{src:"https://via.placeholder.com/400x400.png?text=Product+4",legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/300x300.png?text=CEO",legend:"Sarah Johnson - Chief Executive Officer"},{src:"https://via.placeholder.com/300x300.png?text=CTO",legend:"Mike Chen - Chief Technology Officer"},{src:"https://via.placeholder.com/300x300.png?text=Design",legend:"Emily Rodriguez - Head of Design"},{src:"https://via.placeholder.com/300x300.png?text=Marketing",legend:"David Park - Marketing Director"},{src:"https://via.placeholder.com/300x300.png?text=Sales",legend:"Lisa Wong - Sales Manager"},{src:"https://via.placeholder.com/300x300.png?text=Support",legend:"Alex Thompson - Customer Support Lead"},{src:"https://via.placeholder.com/300x300.png?text=Dev",legend:"Carlos Martinez - Senior Developer"},{src:"https://via.placeholder.com/300x300.png?text=HR",legend:"Jennifer Adams - HR Specialist"}]}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:2,gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign",legend:"Modern e-commerce website redesign project"},{src:"https://via.placeholder.com/600x400.png?text=Mobile+App",legend:"iOS and Android mobile application"},{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity",legend:"Complete brand identity design package"},{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI",legend:"Analytics dashboard user interface"}]}},{description:"Event photos (horizontal flex layout)",type:"images-gallery",props:{styles:{layout:{type:"flex",direction:"flex-row",wrap:!0,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/250x180.png?text=Opening",legend:"Conference opening ceremony"},{src:"https://via.placeholder.com/250x180.png?text=Keynote",legend:"Keynote presentation"},{src:"https://via.placeholder.com/250x180.png?text=Workshop",legend:"Technical workshop session"},{src:"https://via.placeholder.com/250x180.png?text=Networking",legend:"Networking lunch break"},{src:"https://via.placeholder.com/250x180.png?text=Panel",legend:"Expert panel discussion"},{src:"https://via.placeholder.com/250x180.png?text=Awards",legend:"Awards ceremony"}]}}];export{d as a,P as b,w as c};
3
+ import{a as e}from"./chunk-OELIU5BZ.js";import{a as c}from"./chunk-OUI2VDNM.js";import{b as i}from"./chunk-7E67XSKP.js";import{a as p,b as l}from"./chunk-YJTGZQEV.js";import{a as n}from"./chunk-6OKXZL6R.js";import{a as o,b as a,d as s,e as r}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{IoGridOutline as g}from"react-icons/io5";var d=t.Array(t.Object({src:t.String({format:"uri",title:"Image URL"}),alt:t.String({default:"",title:"Alt text"})}),{default:[{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"},{src:e,alt:"my image"}]}),P=n({type:"images-gallery",kind:"widget",name:"Gallery",description:"An image collection",aiInstructions:"This brick should mostly be used for image galleries and collections.",defaultInspectorTab:"content",isContainer:!1,minWidth:{mobile:10,desktop:10},minHeight:{mobile:10,desktop:10},icon:g,props:s({datasource:r(c()),staticImages:r(a({title:"Nav items",schema:t.Array(t.Object({src:l("Image URL"),legend:p("Legend")}),{title:"Images",default:[]})})),styles:o({title:"Styles",children:{layout:i()}})}),datasource:d}),w=[{description:"Product portfolio gallery (3-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:3,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/400x400.png?text=Product+1",legend:"Premium wireless headphones"},{src:"https://via.placeholder.com/400x400.png?text=Product+2",legend:"Bluetooth speaker"},{src:"https://via.placeholder.com/400x400.png?text=Product+3",legend:"Smart fitness tracker"},{src:"https://via.placeholder.com/400x400.png?text=Product+4",legend:"Wireless charging pad"}]}},{description:"Team photos gallery (4-column grid)",type:"images-gallery",props:{styles:{layout:{type:"grid",gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/300x300.png?text=CEO",legend:"Sarah Johnson - Chief Executive Officer"},{src:"https://via.placeholder.com/300x300.png?text=CTO",legend:"Mike Chen - Chief Technology Officer"},{src:"https://via.placeholder.com/300x300.png?text=Design",legend:"Emily Rodriguez - Head of Design"},{src:"https://via.placeholder.com/300x300.png?text=Marketing",legend:"David Park - Marketing Director"},{src:"https://via.placeholder.com/300x300.png?text=Sales",legend:"Lisa Wong - Sales Manager"},{src:"https://via.placeholder.com/300x300.png?text=Support",legend:"Alex Thompson - Customer Support Lead"},{src:"https://via.placeholder.com/300x300.png?text=Dev",legend:"Carlos Martinez - Senior Developer"},{src:"https://via.placeholder.com/300x300.png?text=HR",legend:"Jennifer Adams - HR Specialist"}]}},{description:"Project showcase (2-column grid with larger spacing)",type:"images-gallery",props:{styles:{layout:{type:"grid",columns:2,gap:"gap-8"}},staticImages:[{src:"https://via.placeholder.com/600x400.png?text=Website+Redesign",legend:"Modern e-commerce website redesign project"},{src:"https://via.placeholder.com/600x400.png?text=Mobile+App",legend:"iOS and Android mobile application"},{src:"https://via.placeholder.com/600x400.png?text=Brand+Identity",legend:"Complete brand identity design package"},{src:"https://via.placeholder.com/600x400.png?text=Dashboard+UI",legend:"Analytics dashboard user interface"}]}},{description:"Event photos (horizontal flex layout)",type:"images-gallery",props:{styles:{layout:{type:"flex",direction:"flex-row",wrap:!0,gap:"gap-4"}},staticImages:[{src:"https://via.placeholder.com/250x180.png?text=Opening",legend:"Conference opening ceremony"},{src:"https://via.placeholder.com/250x180.png?text=Keynote",legend:"Keynote presentation"},{src:"https://via.placeholder.com/250x180.png?text=Workshop",legend:"Technical workshop session"},{src:"https://via.placeholder.com/250x180.png?text=Networking",legend:"Networking lunch break"},{src:"https://via.placeholder.com/250x180.png?text=Panel",legend:"Expert panel discussion"},{src:"https://via.placeholder.com/250x180.png?text=Awards",legend:"Awards ceremony"}]}}];export{d as a,P as b,w as c};
@@ -1,6 +1,6 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as t}from"./chunk-OD2PRCLH.js";import{Type as e}from"@sinclair/typebox";var a=e.Object({id:e.String({title:"Page ID"}),label:e.String(),path:e.String()},{additionalProperties:!1}),i=e.Array(e.Object({id:e.String({title:"Section ID (slug format)"}),name:e.String({title:"Section name"}),description:e.String({title:"A long description of the section",description:`You must elaborate a clear and detailled plan that describes:
3
+ import{a as t}from"./chunk-XDCGA4WT.js";import{Type as e}from"@sinclair/typebox";var a=e.Object({id:e.String({title:"Page ID"}),label:e.String(),path:e.String()},{additionalProperties:!1}),i=e.Array(e.Object({id:e.String({title:"Section ID (slug format)"}),name:e.String({title:"Section name"}),description:e.String({title:"A long description of the section",description:`You must elaborate a clear and detailled plan that describes:
4
4
  - The section purpose in the page, in detail.
5
5
  - The section structure, look & feel, and structural/design organization, in detail
6
6
  - the types of bricks (e.g. "container", "text", "video", "carousel", etc) that will be used and their purpose, in detail
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b}from"./chunk-U5XOIYSS.js";import{a as f}from"./chunk-OUI2VDNM.js";import{b as d}from"./chunk-VTFWVTPI.js";import{b as p}from"./chunk-O3FJP65T.js";import{b as s}from"./chunk-ZWYLKIBI.js";import{b as a}from"./chunk-CAVNF3BU.js";import{a as m}from"./chunk-ATDJCXC2.js";import{d as l}from"./chunk-HYVQXAK5.js";import{a as g,d as i}from"./chunk-YJTGZQEV.js";import{a as u}from"./chunk-6OKXZL6R.js";import{c}from"./chunk-VBWC36L2.js";import{a as e,b as t,d as n,e as o}from"./chunk-BJSO43AS.js";import{Type as r}from"@sinclair/typebox";import{VscLayoutPanelOff as h}from"react-icons/vsc";var v=r.Array(r.Object({href:i(),label:r.String()}),{default:[{href:"#",label:"Link 1"},{href:"#",label:"Link 2"},{href:"#",label:"Link 3"}]}),V=u({type:"navbar",kind:"widget",name:"Navbar",description:"A navigation bar with logo and navigation",aiInstructions:"This brick should be used on most sites/pages.",datasource:v,duplicatable:!1,defaultHeight:{desktop:3,mobile:3},maxHeight:{desktop:3,mobile:3},minHeight:{desktop:3,mobile:3},icon:h,iconClassName:"rotate-180",props:n({container:o(e({title:"Main element",children:{backgroundColor:o(l()),border:o(s),shadow:o(p()),fixedPositioned:o(b())},metadata:{"ui:responsive":!0}})),brand:e({title:"Brand",children:{name:o(c({title:"Brand name",default:"Acme Inc.",disableSizing:!0})),logo:o(d({title:"Logo",noObjectOptions:!0})),hideText:o(m("Hide text")),color:o(a())}}),navigation:e({title:"Links",children:{position:t({title:"Position",schema:r.Union([r.Literal("left",{title:"Left"}),r.Literal("center",{title:"Center"}),r.Literal("right",{title:"Right"})],{default:"right"})}),color:o(a()),datasource:o(f()),staticItems:o(t({title:"Nav items",schema:r.Array(r.Object({urlOrPageId:i(),label:o(g("Label"))}),{title:"Navigation items",default:[]})}))}})})}),z=[{description:"Corporate navbar with logo and right-aligned navigation",type:"navbar",props:{preset:"prominent-primary",container:{},brand:{name:"TechCorp Solutions",logo:{src:"https://via.placeholder.com/120x40.png?text=TechCorp",alt:"TechCorp Solutions logo"},color:"#1f2937"},navigation:{position:"right",color:"#374151",staticItems:[{urlOrPageId:"/services"},{urlOrPageId:"/about"},{urlOrPageId:"/portfolio"},{urlOrPageId:"/contact"}]}}},{description:"Dark theme navbar with centered navigation",type:"navbar",props:{container:{backgroundColor:"#1f2937",shadow:"shadow-lg"},brand:{name:"Creative Studio",logo:{src:"https://via.placeholder.com/100x35.png?text=Studio",alt:"Creative Studio logo"},color:"#ffffff"},navigation:{position:"center",color:"#d1d5db",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/services"},{urlOrPageId:"/team"},{urlOrPageId:"/blog"}]}}},{description:"SaaS platform navbar with fixed positioning",type:"navbar",props:{container:{backgroundColor:"#3b82f6",fixedPositioned:!0,shadow:"shadow-md"},brand:{name:"CloudFlow",logo:{src:"https://via.placeholder.com/110x38.png?text=CloudFlow",alt:"CloudFlow platform logo"},color:"#ffffff"},navigation:{position:"right",color:"#f1f5f9",staticItems:[{urlOrPageId:"/features"},{urlOrPageId:"/pricing"},{urlOrPageId:"/docs"},{urlOrPageId:"/login"}]}}},{description:"E-commerce navbar",type:"navbar",props:{preset:"prominent-primary",brand:{name:"ShopEasy",logo:{src:"https://via.placeholder.com/130x45.png?text=ShopEasy",alt:"ShopEasy store logo"}},navigation:{position:"right",staticItems:[{urlOrPageId:"/products"},{urlOrPageId:"/categories"},{urlOrPageId:"/deals"},{urlOrPageId:"/account"},{urlOrPageId:"/cart"}]}}},{description:"Agency navbar with logo-only brand",type:"navbar",props:{container:{shadow:"shadow-sm"},brand:{logo:{src:"https://via.placeholder.com/140x50.png?text=Agency+Logo",alt:"Digital agency logo"},hideText:!0},navigation:{position:"right",color:"#64748b",staticItems:[{urlOrPageId:"/projects"},{urlOrPageId:"/capabilities"},{urlOrPageId:"/insights"},{urlOrPageId:"/contact"}]}}},{description:"Restaurant navbar with warm styling",type:"navbar",props:{container:{backgroundColor:"#7c2d12",shadow:"shadow-lg"},brand:{name:"Bella Vista",logo:{src:"https://via.placeholder.com/80x50.png?text=BV",alt:"Bella Vista restaurant logo"},color:"#fed7aa"},navigation:{position:"center",color:"#fdba74",staticItems:[{urlOrPageId:"/menu"},{urlOrPageId:"/reservations"},{urlOrPageId:"/events"},{urlOrPageId:"/location"}]}}},{description:"Portfolio navbar with left-aligned navigation",type:"navbar",props:{preset:"prominent-secondary",container:{backgroundColor:"#f1f5f9",border:{sides:["border-b"],color:"border-accent"}},brand:{name:"Alex Martinez",color:"#334155"},navigation:{position:"left",color:"#64748b",staticItems:[{urlOrPageId:"/work"},{urlOrPageId:"/about"},{urlOrPageId:"/experience"},{urlOrPageId:"/contact"}]}}},{description:"Non-profit navbar with mission-focused design",type:"navbar",props:{preset:"prominent-primary",container:{shadow:"shadow-md"},brand:{name:"Green Future",logo:{src:"https://via.placeholder.com/100x40.png?text=GF",alt:"Green Future organization logo"},color:"#d1fae5"},navigation:{position:"right",color:"#a7f3d0",staticItems:[{urlOrPageId:"/mission"},{urlOrPageId:"/programs"},{urlOrPageId:"/volunteer"},{urlOrPageId:"/donate"}]}}}];export{v as a,V as b,z as c};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as p}from"./chunk-CUCUHPQ7.js";import{c as n}from"./chunk-VBWC36L2.js";import{b as d}from"./chunk-VTFWVTPI.js";import{b as i}from"./chunk-P5DZK4TS.js";import{d as r}from"./chunk-HYVQXAK5.js";import{a,d as o,e as t}from"./chunk-BJSO43AS.js";import{BsCardText as c}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var k=p({type:"card",name:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",repeatable:!0,icon:c,props:o({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First"}),e.Literal("image-last",{title:"Image Last"}),e.Literal("image-overlay",{title:"Image Overlay"}),e.Literal("image-left-side",{title:"Image Left Side"}),e.Literal("image-right-side",{title:"Image Right Side"}),e.Literal("centered",{title:"Centered"}),e.Literal("large-padding",{title:"Large padding"})],{title:"Variant"})),cardTitle:t(a({title:"Title",children:{content:n(),padding:t(i),backgroundColor:t(r())}})),cardImage:t(a({title:"Image",children:{image:d()}})),cardBody:t(a({title:"Body",children:{content:n(),padding:t(i),backgroundColor:t(r())}}))})}),C=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:{content:"Card Title",padding:"p-4"},cardBody:{content:"This is the body of the card."}}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"}},cardTitle:{content:"Overlay Title",padding:"p-8",backgroundColor:"rgba(0, 0, 0, 0.7)"},cardBody:{content:"Beautiful overlay content with semi-transparent background.",padding:"p-4",backgroundColor:"rgba(255, 255, 255, 0.9)"}}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/200x200",alt:"Product image"}},cardTitle:{content:"Premium Headphones",padding:"p-4"},cardBody:{content:"High-quality wireless headphones with noise cancellation and 30-hour battery life.",padding:"p-4"}}},{description:"Feature card with large padding and background",type:"card",props:{variants:["large-padding","centered"],cardTitle:{content:"Key Feature",padding:"p-8",backgroundColor:"#f8f9fa"},cardBody:{content:"This feature provides exceptional value and enhances user experience significantly.",padding:"p-8",backgroundColor:"#ffffff"}}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:{content:"The Future of Technology",padding:"p-4"},cardBody:{content:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:{content:"Customer Review",padding:"p-4",backgroundColor:"#e3f2fd"},cardBody:{content:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:{content:"Simple Announcement",padding:"p-4"},cardBody:{content:"Important updates will be posted here regularly.",padding:"p-4"}}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","large-padding","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x250",alt:"Event venue"}},cardTitle:{content:"Annual Conference 2025",padding:"p-8",backgroundColor:"#1976d2"},cardBody:{content:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops.",padding:"p-8"}}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"}},cardTitle:{content:"Breaking News Update",padding:"p-2"},cardBody:{content:"Latest developments in the ongoing story with expert analysis and community reactions.",padding:"p-2"}}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered","large-padding"],cardTitle:{content:"Get Started Today",padding:"p-8",backgroundColor:"#4caf50"},cardBody:{content:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!",padding:"p-8",backgroundColor:"#f1f8e9"}}}];export{k as a,C as b};
3
+ import{b as d}from"./chunk-VTFWVTPI.js";import{b as i}from"./chunk-P5DZK4TS.js";import{d as r}from"./chunk-HYVQXAK5.js";import{a as p}from"./chunk-6OKXZL6R.js";import{c as n}from"./chunk-VBWC36L2.js";import{a,d as o,e as t}from"./chunk-BJSO43AS.js";import{BsCardText as c}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var k=p({type:"card",name:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",repeatable:!0,icon:c,props:o({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First"}),e.Literal("image-last",{title:"Image Last"}),e.Literal("image-overlay",{title:"Image Overlay"}),e.Literal("image-left-side",{title:"Image Left Side"}),e.Literal("image-right-side",{title:"Image Right Side"}),e.Literal("centered",{title:"Centered"}),e.Literal("large-padding",{title:"Large padding"})],{title:"Variant"})),cardTitle:t(a({title:"Title",children:{content:n(),padding:t(i),backgroundColor:t(r())}})),cardImage:t(a({title:"Image",children:{image:d()}})),cardBody:t(a({title:"Body",children:{content:n(),padding:t(i),backgroundColor:t(r())}}))})}),C=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:{content:"Card Title",padding:"p-4"},cardBody:{content:"This is the body of the card."}}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"}},cardTitle:{content:"Overlay Title",padding:"p-8",backgroundColor:"rgba(0, 0, 0, 0.7)"},cardBody:{content:"Beautiful overlay content with semi-transparent background.",padding:"p-4",backgroundColor:"rgba(255, 255, 255, 0.9)"}}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/200x200",alt:"Product image"}},cardTitle:{content:"Premium Headphones",padding:"p-4"},cardBody:{content:"High-quality wireless headphones with noise cancellation and 30-hour battery life.",padding:"p-4"}}},{description:"Feature card with large padding and background",type:"card",props:{variants:["large-padding","centered"],cardTitle:{content:"Key Feature",padding:"p-8",backgroundColor:"#f8f9fa"},cardBody:{content:"This feature provides exceptional value and enhances user experience significantly.",padding:"p-8",backgroundColor:"#ffffff"}}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:{content:"The Future of Technology",padding:"p-4"},cardBody:{content:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:{content:"Customer Review",padding:"p-4",backgroundColor:"#e3f2fd"},cardBody:{content:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',padding:"p-4"},cardImage:{image:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:{content:"Simple Announcement",padding:"p-4"},cardBody:{content:"Important updates will be posted here regularly.",padding:"p-4"}}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","large-padding","centered"],cardImage:{image:{src:"https://via.placeholder.com/400x250",alt:"Event venue"}},cardTitle:{content:"Annual Conference 2025",padding:"p-8",backgroundColor:"#1976d2"},cardBody:{content:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops.",padding:"p-8"}}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{image:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"}},cardTitle:{content:"Breaking News Update",padding:"p-2"},cardBody:{content:"Latest developments in the ongoing story with expert analysis and community reactions.",padding:"p-2"}}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered","large-padding"],cardTitle:{content:"Get Started Today",padding:"p-8",backgroundColor:"#4caf50"},cardBody:{content:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!",padding:"p-8",backgroundColor:"#f1f8e9"}}}];export{k as a,C as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{e as a}from"./chunk-HQQYIKTE.js";import{c as t}from"./chunk-UK6H3FDX.js";import{Type as e}from"@sinclair/typebox";var s=e.Object({id:e.String({description:"The unique ID of the page. Use a human readable url-safe slug"}),label:e.String({description:"The label (name) of the page"}),path:e.String({description:"The path of the page in the URL. Should be unique"}),sections:e.Array(a,{description:"The sections of the page. See the Section schema"}),tags:e.Array(e.String(),{description:"The tags of the page, used for organizating and filtering pages"}),attr:e.Optional(t)});export{s as a};
3
+ import{e as a}from"./chunk-YGHBFXR6.js";import{c as t}from"./chunk-JDBVMPSI.js";import{Type as e}from"@sinclair/typebox";var s=e.Object({id:e.String({description:"The unique ID of the page. Use a human readable url-safe slug"}),label:e.String({description:"The label (name) of the page"}),path:e.String({description:"The path of the page in the URL. Should be unique"}),sections:e.Array(a,{description:"The sections of the page. See the Section schema"}),tags:e.Array(e.String(),{description:"The tags of the page, used for organizating and filtering pages"}),attr:e.Optional(t)});export{s as a};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as m}from"./chunk-CUCUHPQ7.js";import{b as p}from"./chunk-PK6UAFPW.js";import{b as t}from"./chunk-P5DZK4TS.js";import{b as i}from"./chunk-WEQRYCPD.js";import{a as d}from"./chunk-YJTGZQEV.js";import{b as r}from"./chunk-HYVQXAK5.js";import{d as e,e as o}from"./chunk-BJSO43AS.js";import{RxVideo as n}from"react-icons/rx";var v=m({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:n,props:e({url:d("Video URL",void 0,{description:"URL of the video to embed. It can be a YouTube link or an embed link."}),background:o(r()),border:o(i),padding:o(t),shadow:o(p())})}),k=[{description:"A YouTube video",type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{description:"An embedded YouTube video",type:"video",props:{url:"https://www.youtube.com/embed/dQw4w9WgXcQ"}},{description:"A Vimeo video",type:"video",props:{url:"https://vimeo.com/123456789"}}];export{v as a,k as b};
3
+ import{b as p}from"./chunk-O3FJP65T.js";import{b as i}from"./chunk-ZWYLKIBI.js";import{b as t}from"./chunk-P5DZK4TS.js";import{b as r}from"./chunk-HYVQXAK5.js";import{a as d}from"./chunk-YJTGZQEV.js";import{a as m}from"./chunk-6OKXZL6R.js";import{d as e,e as o}from"./chunk-BJSO43AS.js";import{RxVideo as n}from"react-icons/rx";var v=m({type:"video",kind:"brick",name:"Video",description:"Youtube video",repeatable:!0,icon:n,props:e({url:d("Video URL",void 0,{description:"URL of the video to embed. It can be a YouTube link or an embed link."}),background:o(r()),border:o(i),padding:o(t),shadow:o(p())})}),k=[{description:"A YouTube video",type:"video",props:{url:"https://www.youtube.com/watch?v=dQw4w9WgXcQ"}},{description:"An embedded YouTube video",type:"video",props:{url:"https://www.youtube.com/embed/dQw4w9WgXcQ"}},{description:"A Vimeo video",type:"video",props:{url:"https://vimeo.com/123456789"}}];export{v as a,k as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as l}from"./chunk-G7LX3UKQ.js";import{a as u}from"./chunk-ATDJCXC2.js";import{b as n}from"./chunk-CTRS76PX.js";import{a as i}from"./chunk-YJTGZQEV.js";import{b as s}from"./chunk-HYVQXAK5.js";import{e}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{jsonDefault as p}from"json-schema-default";function v(a){for(let r in a)if(r.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${r}") are reserved for internal use. Please rename it.`);return t.Object(a)}function S(a){return t.Composite([a,o])}var g={$pageLanguage:l("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$bodyBackground:e(s({default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:e(s({title:"Page Background",defaultValue:{color:"base-100"}})),$pageOgImage:e(i("Social share image","",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta","ui:field":"image"})),$robotsIndexing:e(u("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:e(i("Social share image","",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:i("Page path","/",{description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title","Untitled",{"ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description","",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0}),$pageKeywords:i("Keywords","",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$pageLastUpdated:e(n("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},o=t.Object(g,{additionalProperties:!0}),x=t.Pick(o,["$bodyBackground","$pageBackground"]),k=t.Pick(o,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$bodyBackground","$pageBackground"]);function w(a=t.Object({}),r={}){return{...p(o),...r}}export{v as a,S as b,o as c,x as d,k as e,w as f};
3
+ import{b as n}from"./chunk-CTRS76PX.js";import{a as l}from"./chunk-G7LX3UKQ.js";import{a as u}from"./chunk-ATDJCXC2.js";import{b as s}from"./chunk-HYVQXAK5.js";import{a as i}from"./chunk-YJTGZQEV.js";import{e}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{jsonDefault as p}from"json-schema-default";function v(a){for(let r in a)if(r.startsWith("$"))throw new Error(`Attribute names starting with '$' (like "${r}") are reserved for internal use. Please rename it.`);return t.Object(a)}function S(a){return t.Composite([a,o])}var g={$pageLanguage:l("Language","en",{options:[{value:"ar",title:"Arabic"},{value:"zh",title:"Chinese"},{value:"cs",title:"Czech"},{value:"nl",title:"Dutch"},{value:"en",title:"English"},{value:"fr",title:"French"},{value:"de",title:"German"},{value:"he",title:"Hebrew"},{value:"hi",title:"Hindi"},{value:"it",title:"Italian"},{value:"ja",title:"Japanese"},{value:"ko",title:"Korean"},{value:"fa",title:"Persian"},{value:"pl",title:"Polish"},{value:"pt",title:"Portuguese"},{value:"ru",title:"Russian"},{value:"es",title:"Spanish"},{value:"tr",title:"Turkish"},{value:"vi",title:"Vietnamese"}],"ai:guidelines":"Choose a value based on the site description. If the site is in multiple languages, use 'en'.","ui:group":"meta","ui:group:title":"Meta tags"}),$bodyBackground:e(s({default:{color:"#ffffff"},title:"Body Background",description:"Applies to the body element of the page (while $pageBackground applies to the page container)","ui:field":"background","ui:group":"layout","ui:group:title":"Page Layout","ui:group:order":3})),$pageBackground:e(s({title:"Page Background",defaultValue:{color:"base-100"}})),$pageOgImage:e(i("Social share image","",{description:"Image shown when page is shared on social media","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"meta","ui:field":"image"})),$robotsIndexing:e(u("Allow search engines to index this site",!0,{description:"Disabling this will prevent search engines from indexing this site","ai:guidelines":"Don't generate this property/image, it is automatically generated.","ui:group":"seo","ui:group:title":"SEO","ui:scope":"site"})),$siteOgImage:e(i("Social share image","",{description:"Image shown when this site is shared on social media","ai:guidelines":"Don't generate this image, it is automatically generated.","ui:field":"image","ui:group":"meta","ui:group:title":"Meta tags","ui:scope":"site"})),$pagePath:i("Page path","/",{description:"The URL path of the page","ui:group":"location","ui:group:title":"Location","ui:field":"path"}),$pageTitle:i("Title","Untitled",{"ui:group":"meta","ui:group:title":"Meta tags",description:"The title of the page. Appears in the browser tab and search results"}),$pageDescription:i("Description","",{"ui:widget":"textarea","ui:group":"meta","ui:group:title":"Meta tags",description:"A short description of the page. Used by search engines","ui:multiline":!0}),$pageKeywords:i("Keywords","",{"ui:group":"meta","ui:group:title":"Meta tags",description:"Keywords related to the page. Used by search engines","ui:multiline":!0}),$pageLastUpdated:e(n("Last updated",{"ui:hidden":!0,"ai:guidelines":"Don't generate this property."})),$siteHeadTags:e(t.String({title:"Head tags",description:"Add custom tags to the <head> of your site. Useful for analytics tags, custom scripts, etc.","ai:guidelines":"Don't include meta tags here, they are automatically generated.","ui:multiline":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:premium":!0,"ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"})),$siteBodyTags:e(t.String({title:"Body tags",description:"Add custom tags to the <body> of your site. Useful for analytics tags, custom scripts, etc.","ui:multiline":!0,"ui:premium":!0,"ui:textarea-class":"h-40 !font-mono","ui:placeholder":"<script src='https://example.com/script.js'></script>","ui:scope":"site","ui:group":"external-scripts","ui:group:title":"External scripts"}))},o=t.Object(g,{additionalProperties:!0}),x=t.Pick(o,["$bodyBackground","$pageBackground"]),k=t.Pick(o,["$pageTitle","$pageDescription","$pageKeywords","$pageLanguage","$pagePath","$bodyBackground","$pageBackground"]);function w(a=t.Object({}),r={}){return{...p(o),...r}}export{v as a,S as b,o as c,x as d,k as e,w as f};
@@ -1,6 +1,6 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as f}from"./chunk-CUCUHPQ7.js";import{a as m,c as a}from"./chunk-VBWC36L2.js";import{b as u}from"./chunk-PK6UAFPW.js";import{b as p}from"./chunk-P5DZK4TS.js";import{b as c}from"./chunk-WEQRYCPD.js";import{b as d}from"./chunk-CAVNF3BU.js";import{b as l}from"./chunk-OD2PRCLH.js";import{a as i}from"./chunk-ATDJCXC2.js";import{d as r}from"./chunk-HYVQXAK5.js";import{a as t,b as o,d as s,e}from"./chunk-BJSO43AS.js";import{Type as n}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as y}from"react-icons/tfi";var R=f({type:"accordion",kind:"widget",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
3
+ import{b as u}from"./chunk-O3FJP65T.js";import{b as c}from"./chunk-ZWYLKIBI.js";import{b as d}from"./chunk-CAVNF3BU.js";import{b as p}from"./chunk-P5DZK4TS.js";import{a as i}from"./chunk-ATDJCXC2.js";import{d as r}from"./chunk-HYVQXAK5.js";import{a as f}from"./chunk-6OKXZL6R.js";import{a as m,c as a}from"./chunk-VBWC36L2.js";import{a as l}from"./chunk-XDCGA4WT.js";import{a as t,b as o,d as s,e}from"./chunk-BJSO43AS.js";import{Type as n}from"@sinclair/typebox";import{TfiLayoutAccordionSeparated as y}from"react-icons/tfi";var R=f({type:"accordion",kind:"widget",name:"Accordion",description:"An accordion/collapse element for expandable content",aiInstructions:`
4
4
  This accordion element displays content in collapsible panels.
5
5
  It is typically used for FAQ sections, organized documentation, or to save space.
6
6
  Each item has a title and expandable content area.
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as i}from"./chunk-OD2PRCLH.js";import{Type as e}from"@sinclair/typebox";import l from"chroma-js";import{colorPalette as h}from"@upstart.gg/style-system/colors";var k=[{value:"system-ui",label:"System UI"},{value:"transitional",label:"Transitional"},{value:"old-style",label:"Old style"},{value:"humanist",label:"Humanist"},{value:"geometric-humanist",label:"Geometric humanist"},{value:"classical-humanist",label:"Classical humanist"},{value:"neo-grotesque",label:"Neo-grotesque"},{value:"monospace-slab-serif",label:"Monospace slab serif"},{value:"monospace-code",label:"Monospace code"},{value:"industrial",label:"Industrial"},{value:"rounded-sans",label:"Rounded sans"},{value:"slab-serif",label:"Slab serif"},{value:"antique",label:"Antique"},{value:"didone",label:"Didone"},{value:"handwritten",label:"Handwritten"}],c=e.Object({type:i(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Headings font",description:"Used for titles and headings",additionalProperties:!1}),d=e.Object({type:i(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Body font",description:"Used for paragraphs and body text",additionalProperties:!1}),p=e.Object({id:e.String({title:"ID",description:"The unique identifier of the theme"}),name:e.String({title:"Name",description:"The name of the theme"}),description:e.String({title:"Description",description:"The description of the theme"}),tags:e.Array(e.String({title:"Tag"}),{title:"Tags",description:"The tags of the theme"}),browserColorScheme:e.String({title:"Browser scheme",description:"Color of browser-provided UI. Either 'light' or 'dark'"}),colors:e.Object({primary:e.String({title:"Primary",description:"The brand's primary color."}),primaryContent:e.String({title:"Primary content",description:"Text color on primary background"}),secondary:e.String({title:"Secondary",description:"The brand's second most used color"}),secondaryContent:e.String({title:"Secondary content",description:"Text color on secondary background"}),accent:e.String({title:"Accent",description:"The brand's least used color"}),accentContent:e.String({title:"Accent content",description:"Text color on accent background"}),neutral:e.String({title:"Neutral",description:"The base neutral color"}),neutralContent:e.String({title:"Neutral content",description:"Text color on neutral background"}),base100:e.String({title:"Base",description:"Base surface color of page, used for blank backgrounds. Should be very light."}),base200:e.String({title:"Base 2",description:"Base color, darker shade, to create elevations. Should be darker than base100 but still light."}),base300:e.String({title:"Base 3",description:"Base color, even more darker shade, to create elevations. Should be darker than base200 but still light."}),baseContent:e.String({title:"Base content",description:"Text color to use on base colors"})},{title:"Theme base colors",description:"The base colors of the theme. Each theme must declare all these colors","ai:instructions":"You can use CSS notations like rgb #hex, hsl() oklab() or any tailwind color like slate-500 or red-200",additionalProperties:!1}),typography:e.Object({base:e.Number({title:"Base font size",description:"The base font size in pixels. It is safe to keep it as is"}),heading:c,body:d,alternatives:e.Array(e.Object({body:d,heading:c},{additionalProperties:!1}),{title:"Alternative fonts",description:"Alternative fonts that can be suggested to the user. Takes the same shape"})},{additionalProperties:!1})},{additionalProperties:!1}),T=e.Array(p),m={id:"_default_",name:"default",description:"Default Upstart theme",tags:["gradient","vibrant","modern","creative","dynamic","artistic","bold"],browserColorScheme:"light",colors:{base100:"oklch(0.99 0.005 85)",base200:"oklch(0.97 0.008 85)",base300:"oklch(0.94 0.01 85)",baseContent:"oklch(0.18 0.025 80)",primary:"oklch(0.68 0.28 340)",primaryContent:"oklch(0.99 0.005 340)",secondary:"oklch(0.65 0.22 185)",secondaryContent:"oklch(0.98 0.005 185)",accent:"oklch(0.82 0.18 85)",accentContent:"oklch(0.18 0.02 85)",neutral:"oklch(0.38 0.08 280)",neutralContent:"oklch(0.96 0.005 280)"},typography:{base:16,heading:{type:"stack",family:"system-ui"},body:{type:"stack",family:"system-ui"},alternatives:[]}};function S(t){return t.id===m.id}function v(t){return{...t,colors:Object.entries(t.colors).reduce((n,[r,o])=>{let a=u(o);return{...n,[r]:a}},{})}}function u(t){if(l.valid(t))return t;if(/ok(lch|lab)\(([^)]+)\)/.test(t)){let o=t.replace(/,/g," ");if(l.valid(o))return o}if(/^([a-z]+)-([0-9]+)$/.test(t)){let[o,a]=t.split("-"),s=h[o]?.[a];if(s)return s}return t}export{k as a,p as b,T as c,m as d,S as e,v as f};
3
+ import{a as i}from"./chunk-XDCGA4WT.js";import{Type as e}from"@sinclair/typebox";import l from"chroma-js";import{colorPalette as h}from"@upstart.gg/style-system/colors";var k=[{value:"system-ui",label:"System UI"},{value:"transitional",label:"Transitional"},{value:"old-style",label:"Old style"},{value:"humanist",label:"Humanist"},{value:"geometric-humanist",label:"Geometric humanist"},{value:"classical-humanist",label:"Classical humanist"},{value:"neo-grotesque",label:"Neo-grotesque"},{value:"monospace-slab-serif",label:"Monospace slab serif"},{value:"monospace-code",label:"Monospace code"},{value:"industrial",label:"Industrial"},{value:"rounded-sans",label:"Rounded sans"},{value:"slab-serif",label:"Slab serif"},{value:"antique",label:"Antique"},{value:"didone",label:"Didone"},{value:"handwritten",label:"Handwritten"}],c=e.Object({type:i(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Headings font",description:"Used for titles and headings",additionalProperties:!1}),d=e.Object({type:i(["stack","theme","google"],{title:"Type of font",description:"The type of font. Can be a font stack, a theme font or a Google font"}),family:e.String({title:"Family",description:"The font family (eg. the name of the font)"})},{title:"Body font",description:"Used for paragraphs and body text",additionalProperties:!1}),p=e.Object({id:e.String({title:"ID",description:"The unique identifier of the theme"}),name:e.String({title:"Name",description:"The name of the theme"}),description:e.String({title:"Description",description:"The description of the theme"}),tags:e.Array(e.String({title:"Tag"}),{title:"Tags",description:"The tags of the theme"}),browserColorScheme:e.String({title:"Browser scheme",description:"Color of browser-provided UI. Either 'light' or 'dark'"}),colors:e.Object({primary:e.String({title:"Primary",description:"The brand's primary color."}),primaryContent:e.String({title:"Primary content",description:"Text color on primary background"}),secondary:e.String({title:"Secondary",description:"The brand's second most used color"}),secondaryContent:e.String({title:"Secondary content",description:"Text color on secondary background"}),accent:e.String({title:"Accent",description:"The brand's least used color"}),accentContent:e.String({title:"Accent content",description:"Text color on accent background"}),neutral:e.String({title:"Neutral",description:"The base neutral color"}),neutralContent:e.String({title:"Neutral content",description:"Text color on neutral background"}),base100:e.String({title:"Base",description:"Base surface color of page, used for blank backgrounds. Should be very light."}),base200:e.String({title:"Base 2",description:"Base color, darker shade, to create elevations. Should be darker than base100 but still light."}),base300:e.String({title:"Base 3",description:"Base color, even more darker shade, to create elevations. Should be darker than base200 but still light."}),baseContent:e.String({title:"Base content",description:"Text color to use on base colors"})},{title:"Theme base colors",description:"The base colors of the theme. Each theme must declare all these colors","ai:instructions":"You can use CSS notations like rgb #hex, hsl() oklab() or any tailwind color like slate-500 or red-200",additionalProperties:!1}),typography:e.Object({base:e.Number({title:"Base font size",description:"The base font size in pixels. It is safe to keep it as is"}),heading:c,body:d,alternatives:e.Array(e.Object({body:d,heading:c},{additionalProperties:!1}),{title:"Alternative fonts",description:"Alternative fonts that can be suggested to the user. Takes the same shape"})},{additionalProperties:!1})},{additionalProperties:!1}),T=e.Array(p),m={id:"_default_",name:"default",description:"Default Upstart theme",tags:["gradient","vibrant","modern","creative","dynamic","artistic","bold"],browserColorScheme:"light",colors:{base100:"oklch(0.99 0.005 85)",base200:"oklch(0.97 0.008 85)",base300:"oklch(0.94 0.01 85)",baseContent:"oklch(0.18 0.025 80)",primary:"oklch(0.68 0.28 340)",primaryContent:"oklch(0.99 0.005 340)",secondary:"oklch(0.65 0.22 185)",secondaryContent:"oklch(0.98 0.005 185)",accent:"oklch(0.82 0.18 85)",accentContent:"oklch(0.18 0.02 85)",neutral:"oklch(0.38 0.08 280)",neutralContent:"oklch(0.96 0.005 280)"},typography:{base:16,heading:{type:"stack",family:"system-ui"},body:{type:"stack",family:"system-ui"},alternatives:[]}};function S(t){return t.id===m.id}function v(t){return{...t,colors:Object.entries(t.colors).reduce((n,[r,o])=>{let a=u(o);return{...n,[r]:a}},{})}}function u(t){if(l.valid(t))return t;if(/ok(lch|lab)\(([^)]+)\)/.test(t)){let o=t.replace(/,/g," ");if(l.valid(o))return o}if(/^([a-z]+)-([0-9]+)$/.test(t)){let[o,a]=t.split("-"),s=h[o]?.[a];if(s)return s}return t}export{k as a,p as b,T as c,m as d,S as e,v as f};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as d}from"./chunk-CUCUHPQ7.js";import{a as s}from"./chunk-OUI2VDNM.js";import{b as p}from"./chunk-PK6UAFPW.js";import{b as i}from"./chunk-P5DZK4TS.js";import{b as a}from"./chunk-WEQRYCPD.js";import{b as r,c as n}from"./chunk-F63ANNAK.js";import{b as o}from"./chunk-HYVQXAK5.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{Type as c}from"@sinclair/typebox";import{RxGrid as l}from"react-icons/rx";var f=c.Array(c.Object({},{additionalProperties:!0})),T=d({type:"container",kind:"brick",name:"Container",description:"A container that can hold other bricks and align them horizontally or vertically",aiInstructions:"A container acts as a flexbox (default) or a grid and allows you to align bricks horizontally, vertically, or in a grid. ",isContainer:!0,defaultHeight:{desktop:6,mobile:6},defaultWidth:{desktop:12,mobile:12},datasource:f,icon:l,props:t({layout:r(),background:e(o()),border:e(a),padding:e(i),shadow:e(p()),datasource:e(s()),...n()})}),z=[{description:"Feature cards grid layout",type:"container",props:{preset:"prominent-primary",layout:{type:"grid",columns:3,gap:"gap-4"},padding:"p-8",border:{rounding:"rounded-lg"},$children:[{type:"card",props:{variants:["centered"],cardTitle:{content:"Fast Performance"},cardBody:{content:"Lightning-fast load times and optimized performance for the best user experience."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Secure & Reliable"},cardBody:{content:"Enterprise-grade security with 99.9% uptime guarantee and data protection."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Easy Integration"},cardBody:{content:"Simple API integration with comprehensive documentation and support."}}}]}},{description:"Horizontal hero section with image and text",type:"container",props:{preset:"prominent-secondary",layout:{type:"flex",direction:"flex-row",alignItems:"items-center",gap:"gap-8"},padding:"p-16",$children:[{type:"text",props:{content:"<h1>Transform Your Business</h1><p>Discover how our innovative solutions can streamline your operations and accelerate growth. Join thousands of satisfied customers worldwide.</p>",color:"#ffffff",padding:"p-0"}},{type:"image",props:{image:{src:"https://via.placeholder.com/400x300.png?text=Business+Growth",alt:"Business transformation illustration"},border:{borderRadius:"8px"}}}]}},{description:"Vertical testimonial section",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",gap:"gap-8"},background:{color:"#ffffff"},padding:"p-8",$children:[{type:"text",props:{content:"<h2 style='text-align: center'>What Our Customers Say</h2>",padding:"p-0"}},{type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"Tech Solutions Inc.",text:"This platform has revolutionized how we manage our projects. Incredible results!",avatar:{src:"https://via.placeholder.com/60x60.png?text=SJ",alt:"Sarah Johnson"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"Digital Agency",text:"Outstanding support and features. Highly recommend to any growing business.",avatar:{src:"https://via.placeholder.com/60x60.png?text=MC",alt:"Mike Chen"},socialIcon:"mdi:twitter"}]}}]}},{description:"Two-column content layout",type:"container",props:{layout:{type:"grid",columns:2,gap:"gap-8"},padding:"p-8",$children:[{type:"text",props:{content:"<h3>About Our Company</h3><p>We've been providing innovative solutions since 2010, helping businesses across industries achieve their goals through technology and expertise.</p><p>Our team of dedicated professionals works tirelessly to ensure every client receives personalized service and exceptional results.</p>",background:{backgroundColor:"#f0f9ff"},padding:"p-6",border:{borderRadius:"8px"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-col",gap:"gap-4"},$children:[{type:"text",props:{content:"<h4>Key Stats</h4>",padding:"p-0"}},{type:"text",props:{content:"<strong>500+</strong> Happy Customers",background:{backgroundColor:"#dcfce7"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>10+</strong> Years Experience",background:{backgroundColor:"#dbeafe"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>99.9%</strong> Uptime Record",background:{backgroundColor:"#fef3c7"},padding:"p-3",border:{borderRadius:"6px"}}}]}}]}},{description:"Call-to-action section with centered alignment",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",justifyContent:"justify-center",gap:"gap-4"},padding:"p-16",$children:[{type:"hero",props:{content:"Ready to Get Started?",tagline:"Join thousands of satisfied customers and transform your business today",align:"center",color:"#ffffff",padding:"p-0",effects:{textShadow:"2px 2px 4px rgba(0,0,0,0.5)"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-row",gap:"gap-4"},$children:[{type:"text",props:{content:"<a href='/signup' style='text-align: center'><strong>Start Free Trial</strong></a>",background:{backgroundColor:"#ffffff"},color:"#667eea",padding:"p-4",border:{borderRadius:"8px"},effects:{shadow:"shadow-lg"}}},{type:"text",props:{content:"<a href='/demo' style='text-align: center'><strong>Watch Demo</strong></a>",background:{backgroundColor:"transparent"},color:"#ffffff",padding:"p-4",border:{border:"2px solid #ffffff",borderRadius:"8px"}}}]}}]}}];export{f as a,T as b,z as c};
3
+ import{a as d}from"./chunk-OUI2VDNM.js";import{b as r,c as n}from"./chunk-7E67XSKP.js";import{b as p}from"./chunk-O3FJP65T.js";import{b as a}from"./chunk-ZWYLKIBI.js";import{b as i}from"./chunk-P5DZK4TS.js";import{b as o}from"./chunk-HYVQXAK5.js";import{a as s}from"./chunk-6OKXZL6R.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{Type as c}from"@sinclair/typebox";import{RxGrid as l}from"react-icons/rx";var f=c.Array(c.Object({},{additionalProperties:!0})),T=s({type:"container",kind:"brick",name:"Container",description:"A container that can hold other bricks and align them horizontally or vertically",aiInstructions:"A container acts as a flexbox (default) or a grid and allows you to align bricks horizontally, vertically, or in a grid. ",isContainer:!0,defaultHeight:{desktop:6,mobile:6},defaultWidth:{desktop:12,mobile:12},datasource:f,icon:l,props:t({layout:r(),background:e(o()),border:e(a),padding:e(i),shadow:e(p()),datasource:e(d()),...n()})}),z=[{description:"Feature cards grid layout",type:"container",props:{preset:"prominent-primary",layout:{type:"grid",columns:3,gap:"gap-4"},padding:"p-8",border:{rounding:"rounded-lg"},$children:[{type:"card",props:{variants:["centered"],cardTitle:{content:"Fast Performance"},cardBody:{content:"Lightning-fast load times and optimized performance for the best user experience."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Secure & Reliable"},cardBody:{content:"Enterprise-grade security with 99.9% uptime guarantee and data protection."}}},{type:"card",props:{variants:["centered"],cardTitle:{content:"Easy Integration"},cardBody:{content:"Simple API integration with comprehensive documentation and support."}}}]}},{description:"Horizontal hero section with image and text",type:"container",props:{preset:"prominent-secondary",layout:{type:"flex",direction:"flex-row",alignItems:"items-center",gap:"gap-8"},padding:"p-16",$children:[{type:"text",props:{content:"<h1>Transform Your Business</h1><p>Discover how our innovative solutions can streamline your operations and accelerate growth. Join thousands of satisfied customers worldwide.</p>",color:"#ffffff",padding:"p-0"}},{type:"image",props:{image:{src:"https://via.placeholder.com/400x300.png?text=Business+Growth",alt:"Business transformation illustration"},border:{borderRadius:"8px"}}}]}},{description:"Vertical testimonial section",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",gap:"gap-8"},background:{color:"#ffffff"},padding:"p-8",$children:[{type:"text",props:{content:"<h2 style='text-align: center'>What Our Customers Say</h2>",padding:"p-0"}},{type:"testimonials",props:{orientation:"horizontal",testimonials:[{author:"Sarah Johnson",company:"Tech Solutions Inc.",text:"This platform has revolutionized how we manage our projects. Incredible results!",avatar:{src:"https://via.placeholder.com/60x60.png?text=SJ",alt:"Sarah Johnson"},socialIcon:"mdi:linkedin"},{author:"Mike Chen",company:"Digital Agency",text:"Outstanding support and features. Highly recommend to any growing business.",avatar:{src:"https://via.placeholder.com/60x60.png?text=MC",alt:"Mike Chen"},socialIcon:"mdi:twitter"}]}}]}},{description:"Two-column content layout",type:"container",props:{layout:{type:"grid",columns:2,gap:"gap-8"},padding:"p-8",$children:[{type:"text",props:{content:"<h3>About Our Company</h3><p>We've been providing innovative solutions since 2010, helping businesses across industries achieve their goals through technology and expertise.</p><p>Our team of dedicated professionals works tirelessly to ensure every client receives personalized service and exceptional results.</p>",background:{backgroundColor:"#f0f9ff"},padding:"p-6",border:{borderRadius:"8px"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-col",gap:"gap-4"},$children:[{type:"text",props:{content:"<h4>Key Stats</h4>",padding:"p-0"}},{type:"text",props:{content:"<strong>500+</strong> Happy Customers",background:{backgroundColor:"#dcfce7"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>10+</strong> Years Experience",background:{backgroundColor:"#dbeafe"},padding:"p-3",border:{borderRadius:"6px"}}},{type:"text",props:{content:"<strong>99.9%</strong> Uptime Record",background:{backgroundColor:"#fef3c7"},padding:"p-3",border:{borderRadius:"6px"}}}]}}]}},{description:"Call-to-action section with centered alignment",type:"container",props:{layout:{type:"flex",direction:"flex-col",alignItems:"items-center",justifyContent:"justify-center",gap:"gap-4"},padding:"p-16",$children:[{type:"hero",props:{content:"Ready to Get Started?",tagline:"Join thousands of satisfied customers and transform your business today",align:"center",color:"#ffffff",padding:"p-0",effects:{textShadow:"2px 2px 4px rgba(0,0,0,0.5)"}}},{type:"container",props:{layout:{type:"flex",flexDirection:"flex-row",gap:"gap-4"},$children:[{type:"text",props:{content:"<a href='/signup' style='text-align: center'><strong>Start Free Trial</strong></a>",background:{backgroundColor:"#ffffff"},color:"#667eea",padding:"p-4",border:{borderRadius:"8px"},effects:{shadow:"shadow-lg"}}},{type:"text",props:{content:"<a href='/demo' style='text-align: center'><strong>Watch Demo</strong></a>",background:{backgroundColor:"transparent"},color:"#ffffff",padding:"p-4",border:{border:"2px solid #ffffff",borderRadius:"8px"}}}]}}]}}];export{f as a,T as b,z as c};
@@ -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-XDCGA4WT.js";import{b as o}from"./chunk-BJSO43AS.js";import{a as i}from"./chunk-OYIL5SCU.js";import{Type as s}from"@sinclair/typebox";function h({title:t="Shadow",defaultValue:e="shadow-none"}={}){return o({title:t,schema:a(["shadow-none","shadow-sm","shadow-md","shadow-lg","shadow-xl","shadow-2xl"],{$id:"styles:shadow",title:t,default:e,enumNames:["None","S","M","L","XL","2XL"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})})}function m(t={}){return i("styles:shadow",{...t,"ui:styleId":"#styles:shadow"})}function w({title:t="Text shadow",defaultValue:e="text-shadow-none"}={}){return o({title:t,schema:a(["text-shadow-none","text-shadow-sm","text-shadow-md","text-shadow-lg","text-shadow-xl"],{default:e,enumNames:["None","Small","Medium","Large","Extra large"],"ui:placeholder":"Not specified","ui:field":"enum"})})}function y({defaultValue:t=1,title:e="Opacity"}={}){return o({title:e,schema:s.Number({minimum:.1,maximum:1,default:t,multipleOf:.1,"ui:field":"slider","ui:unit":"%","ui:multiplier":100})})}export{h as a,m as b,w as c,y as d};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as s}from"./chunk-CUCUHPQ7.js";import{c as n}from"./chunk-VBWC36L2.js";import{b as r}from"./chunk-OD2PRCLH.js";import{a as o,d as l}from"./chunk-YJTGZQEV.js";import{b as e,d as a,e as i}from"./chunk-BJSO43AS.js";import{RxButton as p}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var v=s({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:p,props:a({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ai:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ai:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ai:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ai:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ai:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ai:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ai:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ai:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ai:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ai:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ai:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ai:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ai:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ai:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ai:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ai:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ai:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ai:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ai:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ai:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ai:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ai:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ai:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ai:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ai:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ai:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:n({title:"Label",default:"My button"}),type:i(e({title:"Type",schema:r(["button","submit","reset"],{enumNames:["Button","Submit","Reset"],default:"button",description:"The type of the button","ai:instructions":"Use 'button' for regular buttons, 'submit' for form submission, and 'reset' to reset form fields."})})),icon:i(e({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})})),linkToUrlOrPageId:i(l({title:"Link"}))})}),L=[{description:"Primary button, large size, linking to a URL",type:"button",props:{variants:["btn-primary","btn-lg"],label:"Click me",linkToUrlOrPageId:"https://example.com"}},{description:"Secondary button, small size, linking to a page",type:"button",props:{variants:["btn-secondary","btn-sm"],label:"Go to page",linkToUrlOrPageId:"page-id-123"}},{description:"Disabled button with outline style",type:"button",props:{variants:["btn-outline","btn-disabled"],label:"Disabled Button"}},{description:"Ghost button",type:"button",props:{variants:["btn-ghost"],label:"Ghost Button",linkToUrlOrPageId:"https://example.com/ghost"}},{description:"Submit button in a form",type:"button",props:{variants:["btn-primary","btn-md"],label:"Submit form",type:"submit"}},{description:"Button with icon on the right",type:"button",props:{variants:["btn-primary","btn-md","btn-icon-right"],label:"Icon Button",icon:"mdi:check-circle"}}];export{v as a,L as b};
3
+ import{a as o,d as l}from"./chunk-YJTGZQEV.js";import{a as s}from"./chunk-6OKXZL6R.js";import{c as n}from"./chunk-VBWC36L2.js";import{a as r}from"./chunk-XDCGA4WT.js";import{b as e,d as a,e as i}from"./chunk-BJSO43AS.js";import{RxButton as p}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var v=s({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:p,props:a({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ai:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ai:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ai:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ai:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ai:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ai:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ai:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ai:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ai:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ai:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ai:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ai:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ai:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ai:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ai:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ai:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ai:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ai:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ai:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ai:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ai:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ai:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ai:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ai:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ai:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ai:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:n({title:"Label",default:"My button"}),type:i(e({title:"Type",schema:r(["button","submit","reset"],{enumNames:["Button","Submit","Reset"],default:"button",description:"The type of the button","ai:instructions":"Use 'button' for regular buttons, 'submit' for form submission, and 'reset' to reset form fields."})})),icon:i(e({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})})),linkToUrlOrPageId:i(l({title:"Link"}))})}),L=[{description:"Primary button, large size, linking to a URL",type:"button",props:{variants:["btn-primary","btn-lg"],label:"Click me",linkToUrlOrPageId:"https://example.com"}},{description:"Secondary button, small size, linking to a page",type:"button",props:{variants:["btn-secondary","btn-sm"],label:"Go to page",linkToUrlOrPageId:"page-id-123"}},{description:"Disabled button with outline style",type:"button",props:{variants:["btn-outline","btn-disabled"],label:"Disabled Button"}},{description:"Ghost button",type:"button",props:{variants:["btn-ghost"],label:"Ghost Button",linkToUrlOrPageId:"https://example.com/ghost"}},{description:"Submit button in a form",type:"button",props:{variants:["btn-primary","btn-md"],label:"Submit form",type:"submit"}},{description:"Button with icon on the right",type:"button",props:{variants:["btn-primary","btn-md","btn-icon-right"],label:"Icon Button",icon:"mdi:check-circle"}}];export{v as a,L as b};
@@ -1,6 +1,6 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as h}from"./chunk-CUCUHPQ7.js";import{c as r}from"./chunk-VBWC36L2.js";import{b as m}from"./chunk-PK6UAFPW.js";import{b as p}from"./chunk-P5DZK4TS.js";import{b as d}from"./chunk-WEQRYCPD.js";import{b as n}from"./chunk-CAVNF3BU.js";import{b as c}from"./chunk-OD2PRCLH.js";import{a}from"./chunk-YJTGZQEV.js";import{d as l}from"./chunk-HYVQXAK5.js";import{a as o,b as i,d as s,e as t}from"./chunk-BJSO43AS.js";import{Type as e}from"@sinclair/typebox";import{RiMapPinTimeLine as u}from"react-icons/ri";var R=h({type:"timeline",kind:"widget",name:"Timeline",description:"A timeline element for showing chronological events",aiInstructions:`
3
+ import{b as m}from"./chunk-O3FJP65T.js";import{b as d}from"./chunk-ZWYLKIBI.js";import{b as n}from"./chunk-CAVNF3BU.js";import{b as p}from"./chunk-P5DZK4TS.js";import{d as l}from"./chunk-HYVQXAK5.js";import{a}from"./chunk-YJTGZQEV.js";import{a as h}from"./chunk-6OKXZL6R.js";import{c as r}from"./chunk-VBWC36L2.js";import{a as c}from"./chunk-XDCGA4WT.js";import{a as o,b as i,d as s,e as t}from"./chunk-BJSO43AS.js";import{Type as e}from"@sinclair/typebox";import{RiMapPinTimeLine as u}from"react-icons/ri";var R=h({type:"timeline",kind:"widget",name:"Timeline",description:"A timeline element for showing chronological events",aiInstructions:`
4
4
  This timeline element displays a series of chronological events, milestones, or processes.
5
5
  It can be used for company history, project roadmaps, or any sequential information.
6
6
  Each item has a date/time, title, description, and optional icon.
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as n}from"./chunk-CUCUHPQ7.js";import{b as s}from"./chunk-PK6UAFPW.js";import{b as a}from"./chunk-P5DZK4TS.js";import{b as i}from"./chunk-WEQRYCPD.js";import{c as p}from"./chunk-F63ANNAK.js";import{b as o}from"./chunk-HYVQXAK5.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{TbCarouselHorizontal as m}from"react-icons/tb";import{Type as r}from"@sinclair/typebox";var v=n({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:m,props:t({variants:r.Array(r.Union([r.Literal("pager-arrows",{title:"With arrows pager"}),r.Literal("pager-numbers",{title:"With numbered pager"}),r.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e(o()),border:e(i),padding:e(a),shadow:e(s()),...p()})}),C=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{v as a,C as b};
3
+ import{c as p}from"./chunk-7E67XSKP.js";import{b as s}from"./chunk-O3FJP65T.js";import{b as i}from"./chunk-ZWYLKIBI.js";import{b as a}from"./chunk-P5DZK4TS.js";import{b as o}from"./chunk-HYVQXAK5.js";import{a as n}from"./chunk-6OKXZL6R.js";import{d as t,e}from"./chunk-BJSO43AS.js";import{TbCarouselHorizontal as m}from"react-icons/tb";import{Type as r}from"@sinclair/typebox";var v=n({type:"carousel",kind:"widget",name:"Carousel",description:"A carousel element",isContainer:!0,icon:m,props:t({variants:r.Array(r.Union([r.Literal("pager-arrows",{title:"With arrows pager"}),r.Literal("pager-numbers",{title:"With numbered pager"}),r.Literal("pager-dots",{title:"With dots pager"})],{title:"Variant",description:"Carousel variants."})),background:e(o()),border:e(i),padding:e(a),shadow:e(s()),...p()})}),C=[{description:"An image carousel with pager arrows",type:"carousel",props:{variants:["pager-arrows"],$children:[{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+1"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+2"}},{type:"image",props:{src:"https://via.placeholder.com/300x200.png?text=Image+3"}}]}},{description:"A carousel of text slides with numbered pager",type:"carousel",props:{variants:["pager-numbers"],$children:[{type:"text",props:{content:"Slide 1",preset:"prominent-primary"}},{type:"text",props:{content:"Slide 2",preset:"prominent-secondary"}},{type:"text",props:{content:"Slide 3",preset:"prominent-accent"}}]}}];export{v as a,C as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a as i}from"./chunk-UL7L3HYV.js";import{b as s}from"./chunk-VTFWVTPI.js";import{d as n}from"./chunk-HYVQXAK5.js";import{a as l,d as u}from"./chunk-YJTGZQEV.js";import{a as c}from"./chunk-6OKXZL6R.js";import{d as r,e,f as o}from"./chunk-BJSO43AS.js";import{Type as t}from"@sinclair/typebox";import{VscLayoutPanelOff as a}from"react-icons/vsc";var b=c({type:"footer",kind:"widget",name:"Footer",description:"A footer with links and an optional logo",icon:a,props:r({variants:t.Array(t.Union([t.Literal("logo-left",{title:"Logo on the left",description:"Logo on the left"}),t.Literal("logo-right",{title:"Logo on the right",description:"Logo on the right"}),t.Literal("logo-center",{title:"Logo on the center",description:"Logo at center"}),t.Literal("multiple-rows",{title:"Span on multiple rows.",description:"Span on multiple rows. Use when there a a lot of links sections"})],{title:"Variant",description:"Footer variants."})),backgroundColor:e(n()),logo:e(s({title:"Logo"})),rows:e(i("Rows",1)),linksSections:o(t.Object({sectionTitle:l("Links Section title"),links:o(t.Object({title:l("Title"),url:u(),column:e(i("Column",1))}))}))})}),T=[{description:"Simple footer with logo on the left",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f8f9fa",logo:{src:"https://via.placeholder.com/120x40.png?text=Logo",alt:"Company logo"},linksSections:[{sectionTitle:"Quick Links",links:[{title:"Home",url:"/"},{title:"About",url:"/about"},{title:"Contact",url:"/contact"}]},{sectionTitle:"Legal",links:[{title:"Privacy Policy",url:"/privacy"},{title:"Terms of Service",url:"/terms"}]}]}},{description:"Corporate footer with centered logo",type:"footer",props:{variants:["logo-center"],backgroundColor:"#2c3e50",logo:{src:"https://via.placeholder.com/150x50.png?text=Corporate",alt:"Corporate logo"},linksSections:[{sectionTitle:"Products",links:[{title:"Software Solutions",url:"/products/software"},{title:"Consulting",url:"/products/consulting"},{title:"Support",url:"/products/support"},{title:"Training",url:"/products/training"}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about"},{title:"Careers",url:"/careers"},{title:"News",url:"/news"},{title:"Investors",url:"/investors"}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs"},{title:"API Reference",url:"/api"},{title:"Community",url:"/community"},{title:"Blog",url:"/blog"}]}]}},{description:"E-commerce footer with logo on the right",type:"footer",props:{variants:["logo-right"],backgroundColor:"#ffffff",logo:{src:"https://via.placeholder.com/140x45.png?text=Shop",alt:"Shop logo"},linksSections:[{sectionTitle:"Shop",links:[{title:"All Products",url:"/products"},{title:"New Arrivals",url:"/new"},{title:"Sale",url:"/sale"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Customer Service",links:[{title:"Help Center",url:"/help"},{title:"Returns",url:"/returns"},{title:"Shipping Info",url:"/shipping"},{title:"Size Guide",url:"/size-guide"}]},{sectionTitle:"Account",links:[{title:"My Account",url:"/account"},{title:"Order History",url:"/orders"},{title:"Wishlist",url:"/wishlist"}]}]}},{description:"Large organization footer with multiple rows",type:"footer",props:{variants:["logo-center","multiple-rows"],backgroundColor:"#1a1a1a",logo:{src:"https://via.placeholder.com/180x60.png?text=Enterprise",alt:"Enterprise logo"},linksSections:[{sectionTitle:"Products & Services",links:[{title:"Cloud Solutions",url:"/cloud",column:1},{title:"Data Analytics",url:"/analytics",column:1},{title:"AI & Machine Learning",url:"/ai",column:1},{title:"Cybersecurity",url:"/security",column:2},{title:"DevOps Tools",url:"/devops",column:2},{title:"IoT Platform",url:"/iot",column:2}]},{sectionTitle:"Industries",links:[{title:"Healthcare",url:"/industries/healthcare",column:3},{title:"Finance",url:"/industries/finance",column:3},{title:"Retail",url:"/industries/retail",column:3},{title:"Manufacturing",url:"/industries/manufacturing",column:4},{title:"Education",url:"/industries/education",column:4},{title:"Government",url:"/industries/government",column:4}]},{sectionTitle:"Resources",links:[{title:"Documentation",url:"/docs",column:1},{title:"API Reference",url:"/api",column:1},{title:"Tutorials",url:"/tutorials",column:1},{title:"Webinars",url:"/webinars",column:2},{title:"White Papers",url:"/whitepapers",column:2},{title:"Case Studies",url:"/case-studies",column:2}]},{sectionTitle:"Support & Community",links:[{title:"Help Center",url:"/help",column:3},{title:"Community Forum",url:"/forum",column:3},{title:"Contact Support",url:"/support",column:3},{title:"Service Status",url:"/status",column:4},{title:"Partner Portal",url:"/partners",column:4},{title:"Developer Hub",url:"/developers",column:4}]}]}},{description:"Startup footer with minimal links and left logo",type:"footer",props:{variants:["logo-left"],backgroundColor:"#f5f5f5",logo:{src:"https://via.placeholder.com/100x35.png?text=Startup",alt:"Startup logo"},linksSections:[{sectionTitle:"Company",links:[{title:"About",url:"/about"},{title:"Team",url:"/team"},{title:"Jobs",url:"/jobs"}]},{sectionTitle:"Product",links:[{title:"Features",url:"/features"},{title:"Pricing",url:"/pricing"},{title:"Demo",url:"/demo"}]},{sectionTitle:"Support",links:[{title:"Help",url:"/help"},{title:"Contact",url:"/contact"}]}]}},{description:"Agency footer with centered logo and creative sections",type:"footer",props:{variants:["logo-center"],backgroundColor:"#6366f1",logo:{src:"https://via.placeholder.com/130x45.png?text=Agency",alt:"Creative agency logo"},linksSections:[{sectionTitle:"Services",links:[{title:"Web Design",url:"/services/web-design"},{title:"Branding",url:"/services/branding"},{title:"Digital Marketing",url:"/services/marketing"},{title:"Photography",url:"/services/photography"}]},{sectionTitle:"Portfolio",links:[{title:"Recent Work",url:"/portfolio"},{title:"Case Studies",url:"/case-studies"},{title:"Client Reviews",url:"/reviews"}]},{sectionTitle:"Connect",links:[{title:"Contact Us",url:"/contact"},{title:"Get Quote",url:"/quote"},{title:"Newsletter",url:"/newsletter"}]}]}},{description:"SaaS platform footer with comprehensive links",type:"footer",props:{variants:["logo-left","multiple-rows"],backgroundColor:"#0f172a",logo:{src:"https://via.placeholder.com/160x50.png?text=SaaS+Platform",alt:"SaaS platform logo"},linksSections:[{sectionTitle:"Platform",links:[{title:"Dashboard",url:"/dashboard",column:1},{title:"Analytics",url:"/analytics",column:1},{title:"Integrations",url:"/integrations",column:1},{title:"API",url:"/api",column:1}]},{sectionTitle:"Solutions",links:[{title:"For Startups",url:"/solutions/startups",column:2},{title:"For Enterprise",url:"/solutions/enterprise",column:2},{title:"For Agencies",url:"/solutions/agencies",column:2},{title:"For Developers",url:"/solutions/developers",column:2}]},{sectionTitle:"Resources",links:[{title:"Blog",url:"/blog",column:1},{title:"Documentation",url:"/docs",column:1},{title:"Help Center",url:"/help",column:1},{title:"Community",url:"/community",column:1}]},{sectionTitle:"Company",links:[{title:"About Us",url:"/about",column:2},{title:"Careers",url:"/careers",column:2},{title:"Press",url:"/press",column:2},{title:"Legal",url:"/legal",column:2}]}]}},{description:"Non-profit footer with mission-focused links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#059669",logo:{src:"https://via.placeholder.com/140x50.png?text=Non+Profit",alt:"Non-profit organization logo"},linksSections:[{sectionTitle:"Our Work",links:[{title:"Programs",url:"/programs"},{title:"Impact",url:"/impact"},{title:"Success Stories",url:"/stories"},{title:"Research",url:"/research"}]},{sectionTitle:"Get Involved",links:[{title:"Donate",url:"/donate"},{title:"Volunteer",url:"/volunteer"},{title:"Events",url:"/events"},{title:"Partner with Us",url:"/partnerships"}]},{sectionTitle:"About",links:[{title:"Our Mission",url:"/mission"},{title:"Leadership",url:"/leadership"},{title:"Annual Reports",url:"/reports"},{title:"Contact",url:"/contact"}]}]}},{description:"Tech blog footer with right-aligned logo",type:"footer",props:{variants:["logo-right"],backgroundColor:"#111827",logo:{src:"https://via.placeholder.com/120x40.png?text=Tech+Blog",alt:"Tech blog logo"},linksSections:[{sectionTitle:"Categories",links:[{title:"Web Development",url:"/category/web-dev"},{title:"AI & ML",url:"/category/ai-ml"},{title:"DevOps",url:"/category/devops"},{title:"Mobile",url:"/category/mobile"}]},{sectionTitle:"Popular",links:[{title:"Latest Posts",url:"/latest"},{title:"Trending",url:"/trending"},{title:"Best of 2024",url:"/best-2024"},{title:"Tutorials",url:"/tutorials"}]},{sectionTitle:"Community",links:[{title:"Newsletter",url:"/newsletter"},{title:"Discord",url:"/discord"},{title:"Contributors",url:"/contributors"},{title:"Write for Us",url:"/write"}]}]}},{description:"Restaurant footer with location and menu links",type:"footer",props:{variants:["logo-center"],backgroundColor:"#7c2d12",logo:{src:"https://via.placeholder.com/150x60.png?text=Restaurant",alt:"Restaurant logo"},linksSections:[{sectionTitle:"Menu",links:[{title:"Appetizers",url:"/menu/appetizers"},{title:"Main Courses",url:"/menu/mains"},{title:"Desserts",url:"/menu/desserts"},{title:"Beverages",url:"/menu/drinks"}]},{sectionTitle:"Services",links:[{title:"Reservations",url:"/reservations"},{title:"Catering",url:"/catering"},{title:"Private Events",url:"/events"},{title:"Gift Cards",url:"/gift-cards"}]},{sectionTitle:"Info",links:[{title:"About Us",url:"/about"},{title:"Location",url:"/location"},{title:"Hours",url:"/hours"},{title:"Contact",url:"/contact"}]}]}}];export{b as a,T as b};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a as p}from"./chunk-CUCUHPQ7.js";import{a as o,d as t}from"./chunk-YJTGZQEV.js";import{b as i,d as e,e as n}from"./chunk-BJSO43AS.js";import{PiConfetti as r}from"react-icons/pi";var l=p({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:r,props:e({icon:i({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})}),size:i({title:"Size",description:"Size of the icon",schema:o("Size","1em",{description:"Size of the icon","ai:instructions":"The size of the icon can be set using 'em' or '%' unit."})}),link:n(t({title:"Link"}))})}),f=[{description:"Large heart icon",type:"icon",props:{icon:"mdi:heart",size:"2em"}},{description:"Shopping cart icon",type:"icon",props:{icon:"mdi:cart",size:"1.2em"}},{description:"Email/message icon",type:"icon",props:{icon:"mdi:email",size:"1.1em",link:"mailto:john.doe@example.com"}},{description:"Phone contact icon",type:"icon",props:{icon:"mdi:phone",size:"1em",link:"tel:+1234567890"}},{description:"Large download icon",type:"icon",props:{icon:"mdi:download",size:"2.5em",link:"https://example.com/file.zip"}},{description:"Menu hamburger icon",type:"icon",props:{icon:"mdi:menu",size:"1.4em"}},{description:"Close/X icon",type:"icon",props:{icon:"mdi:close",size:"1.2em"}},{description:"Social media Facebook icon",type:"icon",props:{icon:"mdi:facebook",size:"1.4em",link:"https://www.facebook.com/yourprofile"}},{description:"Social media Twitter icon",type:"icon",props:{icon:"mdi:twitter",size:"1.4em",link:"https://twitter.com/yourprofile"}},{description:"Social media Instagram icon",type:"icon",props:{icon:"mdi:instagram",size:"1.4em",link:"https://www.instagram.com/yourprofile"}}];export{l as a,f as b};
3
+ import{a as o,d as t}from"./chunk-YJTGZQEV.js";import{a as p}from"./chunk-6OKXZL6R.js";import{b as i,d as e,e as n}from"./chunk-BJSO43AS.js";import{PiConfetti as r}from"react-icons/pi";var l=p({type:"icon",name:"Icon",kind:"brick",description:"An icon with optional text",repeatable:!0,icon:r,props:e({icon:i({title:"Icon",description:"Icon to display (iconify reference)",schema:o("Icon",void 0,{description:"Icon to display (iconify reference)","ui:field":"iconify"})}),size:i({title:"Size",description:"Size of the icon",schema:o("Size","1em",{description:"Size of the icon","ai:instructions":"The size of the icon can be set using 'em' or '%' unit."})}),link:n(t({title:"Link"}))})}),f=[{description:"Large heart icon",type:"icon",props:{icon:"mdi:heart",size:"2em"}},{description:"Shopping cart icon",type:"icon",props:{icon:"mdi:cart",size:"1.2em"}},{description:"Email/message icon",type:"icon",props:{icon:"mdi:email",size:"1.1em",link:"mailto:john.doe@example.com"}},{description:"Phone contact icon",type:"icon",props:{icon:"mdi:phone",size:"1em",link:"tel:+1234567890"}},{description:"Large download icon",type:"icon",props:{icon:"mdi:download",size:"2.5em",link:"https://example.com/file.zip"}},{description:"Menu hamburger icon",type:"icon",props:{icon:"mdi:menu",size:"1.4em"}},{description:"Close/X icon",type:"icon",props:{icon:"mdi:close",size:"1.2em"}},{description:"Social media Facebook icon",type:"icon",props:{icon:"mdi:facebook",size:"1.4em",link:"https://www.facebook.com/yourprofile"}},{description:"Social media Twitter icon",type:"icon",props:{icon:"mdi:twitter",size:"1.4em",link:"https://twitter.com/yourprofile"}},{description:"Social media Instagram icon",type:"icon",props:{icon:"mdi:instagram",size:"1.4em",link:"https://www.instagram.com/yourprofile"}}];export{l as a,f as b};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{Type as m}from"@sinclair/typebox";import{jsonDefault as s}from"json-schema-default";var a=(n,t={})=>m.Unsafe({type:"string",enum:n,...t});function p(n){if(!("enum"in n))return n.anyOf??n.oneOf;let{enum:t,enumNames:e}=n;return t.map((r,i)=>({const:r,title:e?e[i]:r}))}function f(n){return s(n)}export{a,p as b,f as c};
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{b as o}from"./chunk-ALFOZHAH.js";import{a as c}from"./chunk-G7LX3UKQ.js";import{b as r}from"./chunk-G3JO5DM5.js";import{b as a}from"./chunk-7E67XSKP.js";import{b as l}from"./chunk-ZWYLKIBI.js";import{b as s}from"./chunk-HYVQXAK5.js";import{a as p}from"./chunk-XDCGA4WT.js";import{b as n}from"./chunk-ZMDHKAWL.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as h}from"nanoid";import{merge as u}from"lodash-es";var R=h("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),z=t.Object({left:t.Optional(t.String({title:"top",description:"The left position in css unit."})),top:t.Optional(t.String({title:"top",description:"The top position in css unit."})),right:t.Optional(t.String({title:"right",description:"The right position in css unit."})),bottom:t.Optional(t.String({title:"bottom",description:"The bottom position in css unit."})),inset:t.Optional(t.String({title:"inset",description:"The inset position in css unit."})),translateX:t.Optional(t.String({title:"translateX",description:"The translateX position in css unit."})),translateY:t.Optional(t.String({title:"translateY",description:"The translateY position in css unit."})),rotate:t.Optional(t.String({title:"rotate",description:"The rotate position in css unit."}))}),f=p(Object.keys(r),{title:"Brick type"}),g=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:f,props:t.Any({title:"Props",description:"The props of the brick. The available props depends on the brick type."}),mobileProps:t.Optional(t.Object({},{additionalProperties:!0,description:"The props for mobile, merged with the default props"}))},{$id:"brick",additionalProperties:!0}),d=t.Object({layout:t.Optional(a({options:{disableGrid:!0},defaults:{gap:"gap-4",wrap:!0,fillSpace:!1,alignItems:"items-stretch",justifyContent:"justify-stretch"}})),background:t.Optional(s()),preset:t.Optional(n),border:t.Optional(l),minHeight:t.Optional(o({title:"Minimum height",default:"0px",description:"The min height of the section"})),maxWidth:t.Optional(c("Maximum width","max-w-full",{options:[{value:"max-w-screen-lg",title:"Medium",description:"Common for text-heavy content/blog posts"},{value:"max-w-screen-xl",title:"Large",description:"Usefull or some landing pages"},{value:"max-w-screen-2xl",title:"Extra large",description:"Common width"},{value:"max-w-full",title:"Full width",description:"Takes the entire space"}],description:"The maximum width of the section. Desktop only",displayAs:"select"})),horizontalPadding:t.Optional(o({title:"Horizontal padding",default:"20px",description:"Horizontal padding. Desktop only"})),verticalPadding:t.Optional(o({title:"Vertical padding",default:"20px",description:"Vertical padding."})),lastTouched:t.Optional(t.Number({description:"Do not use this field. It is used internally by the editor.","ui:field":"hidden"}))},{additionalProperties:!0,"ai:instructions":"Do not use the border prop"}),L=t.Object({id:t.String({description:"The unique ID of the section. Use a human readable url-safe slug"}),label:t.Optional(t.String({description:"The label (name) of the section. Used for editor purposes only."})),order:t.Number({description:"Determines section order in the page (lower numbers appear first). 0-based"}),props:d,mobileProps:t.Optional(t.Partial(d,{additionalProperties:!1})),bricks:t.Array(g)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."});function $(e){return e.map(i=>({...i,bricks:i.bricks.map(m)}))}function m(e){let i=r[e.type];return{...e,props:u({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(m)}:{}})}}export{R as a,f as b,g as c,d,L as e,$ as f,m as g};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as e}from"./chunk-OD2PRCLH.js";import{a as d,e as r}from"./chunk-BJSO43AS.js";import{a as t}from"./chunk-OYIL5SCU.js";import{Type as o}from"@sinclair/typebox";function p(i="Border"){return d({title:i,options:{"ui:styleId":"#styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ui:field":"border-side","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}))),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}var b=t("styles:border",{"ui:styleId":"#styles:border"});export{p as a,b};
3
+ import{a as e}from"./chunk-XDCGA4WT.js";import{a as d,e as r}from"./chunk-BJSO43AS.js";import{a as t}from"./chunk-OYIL5SCU.js";import{Type as o}from"@sinclair/typebox";function p(i="Border"){return d({title:i,options:{"ui:styleId":"#styles:border",$id:"styles:border"},children:{rounding:r(e(["rounded-auto","rounded-none","rounded-sm","rounded-md","rounded-lg","rounded-xl","rounded-2xl","rounded-3xl","rounded-full"],{title:"Corner rounding",enumNames:["Auto","None","Small","Medium","Large","Extra large","2xl","3xl","Full"],"ui:placeholder":"Not specified","ui:field":"enum","ui:display":"select"})),width:r(e(["border-0","border","border-2","border-4","border-8"],{title:"Width",enumNames:["None","S","M","L","XL"],"ai:instructions":"Don't specify width if you want no border.","ui:field":"enum","ui:placeholder":"None"})),color:o.Optional(o.String({title:"Color","ai:instructions":"Can be set to transparent, hex/rgb/rgba color, or classes like `border-<variant>-<shade>`, variants being primary, secondary, accent and neutral, and shades between 50 and 900","ui:field":"color","ui:color-type":"border"})),sides:o.Optional(o.Array(e(["border-l","border-t","border-r","border-b"],{title:"Sides",enumNames:["Left","Top","Right","Bottom"],description:"The specific sides where to apply the border. Not specifying sides will apply the border to all sides.","ai:instructions":"Use this to apply the border to specific sides. Not specifying sides will apply the border to all sides."}),{"ui:field":"border-side"})),style:r(e(["border-solid","border-dashed","border-dotted"],{title:"Style",description:"The brick border style",enumNames:["Solid","Dashed","Dotted"],"ai:instructions":"Use only when width is different than border-0.","ui:field":"enum","ui:display":"button-group"}))}})}var b=t("styles:border",{"ui:styleId":"#styles:border"});export{p as a,b};
@@ -1,5 +1,5 @@
1
1
  import type { RssOptions } from "./options";
2
- import { type RssSchema } from "./schema";
2
+ import type { RssSchema } from "./schema";
3
3
  import type { DatasourceFetcher } from "../../fetcher";
4
4
  declare const fetchRss: DatasourceFetcher<RssSchema, null, RssOptions>;
5
5
  export default fetchRss;
@@ -1 +1 @@
1
- {"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGvD,QAAA,MAAM,QAAQ,EAAE,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAmB5D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"fetcher.d.ts","sourceRoot":"","sources":["../../../../../src/shared/datasources/external/rss/fetcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGvD,QAAA,MAAM,QAAQ,EAAE,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,CAmB5D,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as t}from"./chunk-OD2PRCLH.js";import{Type as e}from"@sinclair/typebox";var o=e.Object({query:e.String({description:'The search query for finding images (e.g. "mountain landscape", "coffee shop")'}),orientation:e.Optional(t(["landscape","portrait","squarish"],{description:"Filter by photo orientation"}))}),r=e.Array(e.Object({provider:e.String(),description:e.String(),url:e.String(),blurHash:e.String(),user:e.Object({name:e.String(),profile_url:e.String()},{additionalProperties:!1})},{additionalProperties:!1})),p=e.Record(e.String({title:"Page id"}),r);export{r as imageResultsSchema,o as imageSearchSchema,p as imagesMapSchema};
3
+ import{a as t}from"./chunk-XDCGA4WT.js";import{Type as e}from"@sinclair/typebox";var o=e.Object({query:e.String({description:'The search query for finding images (e.g. "mountain landscape", "coffee shop")'}),orientation:e.Optional(t(["landscape","portrait","squarish"],{description:"Filter by photo orientation"}))}),r=e.Array(e.Object({provider:e.String(),description:e.String(),url:e.String(),blurHash:e.String(),user:e.Object({name:e.String(),profile_url:e.String()},{additionalProperties:!1})},{additionalProperties:!1})),p=e.Record(e.String({title:"Page id"}),r);export{r as imageResultsSchema,o as imageSearchSchema,p as imagesMapSchema};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a}from"./chunk-UISES3HA.js";import"./chunk-HQQYIKTE.js";import"./chunk-JFDOR3UH.js";import"./chunk-22KRCQK5.js";import"./chunk-5IEGQ7YT.js";import"./chunk-WCNVFVDK.js";import"./chunk-I5S2MPPR.js";import"./chunk-OELIU5BZ.js";import"./chunk-POYVTV5F.js";import"./chunk-GPKRRX3D.js";import"./chunk-CEXHD4BO.js";import"./chunk-QALNFBY7.js";import"./chunk-LJQXN32B.js";import"./chunk-TCZBR3ZU.js";import"./chunk-E2EBTWJI.js";import"./chunk-CW5FWW5W.js";import"./chunk-TEPFFY32.js";import"./chunk-I43NIQ2K.js";import"./chunk-VDHLON5R.js";import"./chunk-ZFTWLZ3G.js";import"./chunk-O22VV7YR.js";import"./chunk-OQIFFJ7I.js";import"./chunk-U5XOIYSS.js";import"./chunk-F6MLW6DO.js";import"./chunk-7L3UOEMR.js";import"./chunk-CUCUHPQ7.js";import"./chunk-UL7L3HYV.js";import"./chunk-OUI2VDNM.js";import"./chunk-VBWC36L2.js";import"./chunk-PK6UAFPW.js";import"./chunk-VTFWVTPI.js";import"./chunk-P5DZK4TS.js";import"./chunk-WEQRYCPD.js";import"./chunk-CAVNF3BU.js";import"./chunk-F63ANNAK.js";import"./chunk-OD2PRCLH.js";import"./chunk-ALFOZHAH.js";import"./chunk-UK6H3FDX.js";import"./chunk-G7LX3UKQ.js";import"./chunk-ATDJCXC2.js";import"./chunk-CTRS76PX.js";import"./chunk-YJTGZQEV.js";import"./chunk-YZ5Y4WE6.js";import"./chunk-HYVQXAK5.js";import"./chunk-BJSO43AS.js";import"./chunk-VA5LFJVE.js";import"./chunk-ZMDHKAWL.js";import"./chunk-OYIL5SCU.js";export{a as pageSchema};
3
+ import{a}from"./chunk-IXJX7EQ3.js";import"./chunk-YGHBFXR6.js";import"./chunk-ALFOZHAH.js";import"./chunk-JDBVMPSI.js";import"./chunk-CTRS76PX.js";import"./chunk-G7LX3UKQ.js";import"./chunk-G3JO5DM5.js";import"./chunk-U76JDFWJ.js";import"./chunk-JAAPJQNK.js";import"./chunk-3ZGRY444.js";import"./chunk-H7OYUKBW.js";import"./chunk-OELIU5BZ.js";import"./chunk-FD3KX2U7.js";import"./chunk-HIBTEX2T.js";import"./chunk-E4UAVLKC.js";import"./chunk-U5XOIYSS.js";import"./chunk-DC5DWF7B.js";import"./chunk-AMGHA7QH.js";import"./chunk-2DI5SIVV.js";import"./chunk-I3HSLGFA.js";import"./chunk-UYZP24VV.js";import"./chunk-LOFXGDAK.js";import"./chunk-OUI2VDNM.js";import"./chunk-DY2YCYZ6.js";import"./chunk-X42WBJTN.js";import"./chunk-UL7L3HYV.js";import"./chunk-EHH677K5.js";import"./chunk-33FU4KGU.js";import"./chunk-XB3X4P3I.js";import"./chunk-7E67XSKP.js";import"./chunk-VTFWVTPI.js";import"./chunk-YZ5Y4WE6.js";import"./chunk-JH3NRO6M.js";import"./chunk-O3FJP65T.js";import"./chunk-ZWYLKIBI.js";import"./chunk-CAVNF3BU.js";import"./chunk-P5DZK4TS.js";import"./chunk-ATDJCXC2.js";import"./chunk-HYVQXAK5.js";import"./chunk-PX7QSNLO.js";import"./chunk-YJTGZQEV.js";import"./chunk-6OKXZL6R.js";import"./chunk-VBWC36L2.js";import"./chunk-XDCGA4WT.js";import"./chunk-BJSO43AS.js";import"./chunk-VA5LFJVE.js";import"./chunk-ZMDHKAWL.js";import"./chunk-OYIL5SCU.js";export{a as pageSchema};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as t}from"./chunk-OD2PRCLH.js";var e=t(["mobile","desktop"]);export{e as resolution};
3
+ import{a as t}from"./chunk-XDCGA4WT.js";var e=t(["mobile","desktop"]);export{e as resolution};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{b as i,d as S}from"./chunk-ZNVRYEO7.js";import{a as m}from"./chunk-UISES3HA.js";import{a as o}from"./chunk-ZJNA4QQC.js";import{a as p,d as c}from"./chunk-ATVHWZSA.js";import{d as s}from"./chunk-VAC73HJE.js";import"./chunk-HQQYIKTE.js";import{c as r}from"./chunk-Y7CEEEVW.js";import"./chunk-JFDOR3UH.js";import"./chunk-22KRCQK5.js";import"./chunk-5IEGQ7YT.js";import"./chunk-WCNVFVDK.js";import"./chunk-I5S2MPPR.js";import"./chunk-OELIU5BZ.js";import"./chunk-POYVTV5F.js";import"./chunk-GPKRRX3D.js";import"./chunk-CEXHD4BO.js";import"./chunk-QALNFBY7.js";import"./chunk-LJQXN32B.js";import"./chunk-TCZBR3ZU.js";import"./chunk-E2EBTWJI.js";import"./chunk-CW5FWW5W.js";import"./chunk-TEPFFY32.js";import"./chunk-I43NIQ2K.js";import"./chunk-VDHLON5R.js";import"./chunk-ZFTWLZ3G.js";import"./chunk-O22VV7YR.js";import"./chunk-OQIFFJ7I.js";import"./chunk-U5XOIYSS.js";import"./chunk-F6MLW6DO.js";import"./chunk-7L3UOEMR.js";import"./chunk-CUCUHPQ7.js";import"./chunk-UL7L3HYV.js";import"./chunk-OUI2VDNM.js";import"./chunk-VBWC36L2.js";import"./chunk-PK6UAFPW.js";import"./chunk-VTFWVTPI.js";import"./chunk-P5DZK4TS.js";import"./chunk-WEQRYCPD.js";import"./chunk-CAVNF3BU.js";import"./chunk-F63ANNAK.js";import"./chunk-OD2PRCLH.js";import"./chunk-ALFOZHAH.js";import{c as e,f as a}from"./chunk-UK6H3FDX.js";import"./chunk-G7LX3UKQ.js";import"./chunk-ATDJCXC2.js";import"./chunk-CTRS76PX.js";import"./chunk-YJTGZQEV.js";import"./chunk-YZ5Y4WE6.js";import"./chunk-HYVQXAK5.js";import"./chunk-BJSO43AS.js";import"./chunk-VA5LFJVE.js";import"./chunk-ZMDHKAWL.js";import"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";var h=t.Object({id:t.String(),label:t.String(),hostname:t.String(),attributes:e,attr:e,datasources:t.Optional(r),datarecords:t.Optional(s),themes:t.Array(i),theme:i,sitemap:c,sitePrompt:o}),P=t.Object({site:t.Omit(h,["attributes"]),pages:t.Array(t.Composite([t.Omit(m,["attributes"]),p]))});function O(n){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:n,theme:S,themes:[],sitemap:[],attributes:e,attr:a()},pages:[{id:"_default_",label:"First page",path:"/",sections:[],tags:[],attributes:e,attr:a()}]}}export{O as createEmptyConfig,h as siteSchema};
3
+ import{b as i,d as S}from"./chunk-L3TKLJKK.js";import{a as o}from"./chunk-IXJX7EQ3.js";import{a as p}from"./chunk-ZJNA4QQC.js";import{a as c,d as n}from"./chunk-HBM4DPIW.js";import{d as m}from"./chunk-VAC73HJE.js";import{a as r}from"./chunk-YGHBFXR6.js";import{c as s}from"./chunk-Y7CEEEVW.js";import"./chunk-ALFOZHAH.js";import{c as e,f as a}from"./chunk-JDBVMPSI.js";import"./chunk-CTRS76PX.js";import"./chunk-G7LX3UKQ.js";import"./chunk-G3JO5DM5.js";import"./chunk-U76JDFWJ.js";import"./chunk-JAAPJQNK.js";import"./chunk-3ZGRY444.js";import"./chunk-H7OYUKBW.js";import"./chunk-OELIU5BZ.js";import"./chunk-FD3KX2U7.js";import"./chunk-HIBTEX2T.js";import"./chunk-E4UAVLKC.js";import"./chunk-U5XOIYSS.js";import"./chunk-DC5DWF7B.js";import"./chunk-AMGHA7QH.js";import"./chunk-2DI5SIVV.js";import"./chunk-I3HSLGFA.js";import"./chunk-UYZP24VV.js";import"./chunk-LOFXGDAK.js";import"./chunk-OUI2VDNM.js";import"./chunk-DY2YCYZ6.js";import"./chunk-X42WBJTN.js";import"./chunk-UL7L3HYV.js";import"./chunk-EHH677K5.js";import"./chunk-33FU4KGU.js";import"./chunk-XB3X4P3I.js";import"./chunk-7E67XSKP.js";import"./chunk-VTFWVTPI.js";import"./chunk-YZ5Y4WE6.js";import"./chunk-JH3NRO6M.js";import"./chunk-O3FJP65T.js";import"./chunk-ZWYLKIBI.js";import"./chunk-CAVNF3BU.js";import"./chunk-P5DZK4TS.js";import"./chunk-ATDJCXC2.js";import"./chunk-HYVQXAK5.js";import"./chunk-PX7QSNLO.js";import"./chunk-YJTGZQEV.js";import"./chunk-6OKXZL6R.js";import"./chunk-VBWC36L2.js";import"./chunk-XDCGA4WT.js";import"./chunk-BJSO43AS.js";import"./chunk-VA5LFJVE.js";import"./chunk-ZMDHKAWL.js";import"./chunk-OYIL5SCU.js";import{Type as t}from"@sinclair/typebox";var d=t.Object({id:t.String(),label:t.String(),hostname:t.String(),attributes:e,attr:e,datasources:t.Optional(s),datarecords:t.Optional(m),themes:t.Array(i),theme:i,sitemap:n,sitePrompt:p}),I=t.Object({site:t.Omit(d,["attributes"]),pages:t.Array(t.Composite([t.Omit(o,["attributes"]),c]))});function x(b){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:b,theme:S,themes:[],sitemap:[],attributes:e,attr:a()},pages:[{id:"_default_",label:"First page",path:"/",sections:[{id:r(),label:"Hero Section",order:1,props:{},bricks:[{id:r(),type:"navbar",props:{brand:{name:"My Site"},navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]}],tags:[],attributes:e,attr:a()}]}}export{x as createEmptyConfig,d as siteSchema};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d}from"./chunk-ATVHWZSA.js";import"./chunk-OD2PRCLH.js";export{a as pageInfoSchema,b as sectionsPlanSchema,c as sitemapEntry,d as sitemapSchema};
3
+ import{a,b,c,d}from"./chunk-HBM4DPIW.js";import"./chunk-XDCGA4WT.js";export{a as pageInfoSchema,b as sectionsPlanSchema,c as sitemapEntry,d as sitemapSchema};
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d,e,f}from"./chunk-ZNVRYEO7.js";import"./chunk-OD2PRCLH.js";export{d as defaultTheme,a as fontStacks,e as isDefaultTheme,f as processTheme,c as themeArray,b as themeSchema};
3
+ import{a,b,c,d,e,f}from"./chunk-L3TKLJKK.js";import"./chunk-XDCGA4WT.js";export{d as defaultTheme,a as fontStacks,e as isDefaultTheme,f as processTheme,c as themeArray,b as themeSchema};
@@ -1,14 +1,12 @@
1
- import type { JSONSchemaType } from "ajv";
2
- import { type Static, type TSchema, type TObject, type UnsafeOptions } from "@sinclair/typebox";
3
- export declare function typeboxSchemaToJSONSchema<T extends Record<string, any>>(schema: TObject): JSONSchemaType<T>;
1
+ import { type Static, type TSchema, type UnsafeOptions } from "@sinclair/typebox";
4
2
  type StringEnumOptions = Partial<UnsafeOptions> & {
5
3
  enumNames?: string[];
6
4
  };
7
5
  export declare const StringEnum: <T extends string[]>(values: [...T], options?: StringEnumOptions) => import("@sinclair/typebox").TUnsafe<T[number]>;
8
- export declare function getLitteralFromEnum(schema: ReturnType<typeof StringEnum>): {
9
- const: string;
10
- title: string;
11
- }[];
12
- export declare function getSchemaDefaults<T extends TSchema>(schema: T): Static<T>;
6
+ export declare function getLitteralFromEnum(schema: ReturnType<typeof StringEnum> | TSchema): any;
7
+ /**
8
+ * @warning DOES NOT HANDLE ARRAYs, just OBJECTs
9
+ */
10
+ export declare function getSchemaObjectDefaults<T extends TSchema>(schema: T): Static<T>;
13
11
  export {};
14
12
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAItG,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,GAAG,cAAc,CAAC,CAAC,CAAC,CAE3G;AAED,KAAK,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAS,iBAAsB,mDAK1F,CAAC;AAEL,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC;;;IAUxE;AAED,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,OAAO,EAAE,MAAM,EAAE,CAAC,GAC9B,MAAM,CAAC,CAAC,CAAC,CACxC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGxF,KAAK,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG;IAChD,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,EAAE,UAAS,iBAAsB,mDAK1F,CAAC;AAEL,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,OAAO,OAUlF;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,OAAO,EAAE,MAAM,EAAE,CAAC,GACpC,MAAM,CAAC,CAAC,CAAC,CACxC"}
@@ -1,3 +1,3 @@
1
1
  /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
2
 
3
- import{a,b,c,d}from"../chunk-OD2PRCLH.js";export{b as StringEnum,c as getLitteralFromEnum,d as getSchemaDefaults,a as typeboxSchemaToJSONSchema};
3
+ import{a,b,c}from"../chunk-XDCGA4WT.js";export{a as StringEnum,b as getLitteralFromEnum,c as getSchemaObjectDefaults};