@upstart.gg/sdk 0.0.122 → 0.0.124

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 (241) hide show
  1. package/dist/shared/ajv.d.ts.map +1 -1
  2. package/dist/shared/ajv.js +1 -1
  3. package/dist/shared/attributes.d.ts +124 -36
  4. package/dist/shared/attributes.d.ts.map +1 -1
  5. package/dist/shared/attributes.js +1 -1
  6. package/dist/shared/brick-manifest.d.ts +13 -17
  7. package/dist/shared/brick-manifest.d.ts.map +1 -1
  8. package/dist/shared/brick-manifest.js +1 -1
  9. package/dist/shared/bricks/manifests/accordion.manifest.d.ts +14 -9
  10. package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
  11. package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
  12. package/dist/shared/bricks/manifests/all-manifests.js +1 -1
  13. package/dist/shared/bricks/manifests/box.manifest.d.ts +15 -10
  14. package/dist/shared/bricks/manifests/box.manifest.d.ts.map +1 -1
  15. package/dist/shared/bricks/manifests/box.manifest.js +1 -1
  16. package/dist/shared/bricks/manifests/button.manifest.d.ts +7 -4
  17. package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
  18. package/dist/shared/bricks/manifests/button.manifest.js +1 -1
  19. package/dist/shared/bricks/manifests/card.manifest.d.ts +17 -12
  20. package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
  21. package/dist/shared/bricks/manifests/card.manifest.js +1 -1
  22. package/dist/shared/bricks/manifests/carousel.manifest.d.ts +15 -10
  23. package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
  24. package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
  25. package/dist/shared/bricks/manifests/footer.manifest.d.ts +8 -5
  26. package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
  27. package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
  28. package/dist/shared/bricks/manifests/form.manifest.d.ts +15 -12
  29. package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
  30. package/dist/shared/bricks/manifests/form.manifest.js +1 -1
  31. package/dist/shared/bricks/manifests/hero.manifest.d.ts +11 -9
  32. package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
  33. package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
  34. package/dist/shared/bricks/manifests/html.manifest.d.ts +65 -0
  35. package/dist/shared/bricks/manifests/html.manifest.d.ts.map +1 -0
  36. package/dist/shared/bricks/manifests/html.manifest.js +3 -0
  37. package/dist/shared/bricks/manifests/icon.manifest.d.ts +6 -2
  38. package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
  39. package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
  40. package/dist/shared/bricks/manifests/image.manifest.d.ts +7 -3
  41. package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
  42. package/dist/shared/bricks/manifests/image.manifest.js +1 -1
  43. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +16 -19
  44. package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
  45. package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
  46. package/dist/shared/bricks/manifests/map.manifest.d.ts +2 -2
  47. package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
  48. package/dist/shared/bricks/manifests/map.manifest.js +1 -1
  49. package/dist/shared/bricks/manifests/navbar.manifest.d.ts +6 -11
  50. package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
  51. package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
  52. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +2 -2
  53. package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
  54. package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
  55. package/dist/shared/bricks/manifests/social-links.manifest.d.ts +8 -6
  56. package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
  57. package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
  58. package/dist/shared/bricks/manifests/spacer.manifest.d.ts +2 -4
  59. package/dist/shared/bricks/manifests/spacer.manifest.d.ts.map +1 -1
  60. package/dist/shared/bricks/manifests/spacer.manifest.js +1 -1
  61. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +17 -6
  62. package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
  63. package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
  64. package/dist/shared/bricks/manifests/text.manifest.d.ts +14 -9
  65. package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
  66. package/dist/shared/bricks/manifests/text.manifest.js +1 -1
  67. package/dist/shared/bricks/manifests/video.manifest.d.ts +3 -3
  68. package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
  69. package/dist/shared/bricks/manifests/video.manifest.js +1 -1
  70. package/dist/shared/bricks/props/align.d.ts +2 -2
  71. package/dist/shared/bricks/props/align.d.ts.map +1 -1
  72. package/dist/shared/bricks/props/align.js +1 -1
  73. package/dist/shared/bricks/props/background.d.ts.map +1 -1
  74. package/dist/shared/bricks/props/background.js +1 -1
  75. package/dist/shared/bricks/props/border.d.ts.map +1 -1
  76. package/dist/shared/bricks/props/border.js +1 -1
  77. package/dist/shared/bricks/props/color-preset.d.ts +23 -0
  78. package/dist/shared/bricks/props/color-preset.d.ts.map +1 -0
  79. package/dist/shared/bricks/props/color-preset.js +3 -0
  80. package/dist/shared/bricks/props/color.d.ts +4 -4
  81. package/dist/shared/bricks/props/color.d.ts.map +1 -1
  82. package/dist/shared/bricks/props/color.js +1 -1
  83. package/dist/shared/bricks/props/common.d.ts +15 -1
  84. package/dist/shared/bricks/props/common.d.ts.map +1 -1
  85. package/dist/shared/bricks/props/common.js +1 -1
  86. package/dist/shared/bricks/props/container.d.ts +1 -1
  87. package/dist/shared/bricks/props/datasource.d.ts +3 -4
  88. package/dist/shared/bricks/props/datasource.d.ts.map +1 -1
  89. package/dist/shared/bricks/props/datasource.js +1 -1
  90. package/dist/shared/bricks/props/direction.js +1 -1
  91. package/dist/shared/bricks/props/dynamic.d.ts +99 -0
  92. package/dist/shared/bricks/props/dynamic.d.ts.map +1 -0
  93. package/dist/shared/bricks/props/dynamic.js +3 -0
  94. package/dist/shared/bricks/props/effects.d.ts +3 -10
  95. package/dist/shared/bricks/props/effects.d.ts.map +1 -1
  96. package/dist/shared/bricks/props/effects.js +1 -1
  97. package/dist/shared/bricks/props/gap.js +1 -1
  98. package/dist/shared/bricks/props/geolocation.js +1 -1
  99. package/dist/shared/bricks/props/helpers.js +1 -1
  100. package/dist/shared/bricks/props/padding.d.ts +2 -2
  101. package/dist/shared/bricks/props/padding.d.ts.map +1 -1
  102. package/dist/shared/bricks/props/padding.js +1 -1
  103. package/dist/shared/bricks/props/string.d.ts.map +1 -1
  104. package/dist/shared/bricks/props/string.js +1 -1
  105. package/dist/shared/bricks/props/tags.d.ts +5 -0
  106. package/dist/shared/bricks/props/tags.d.ts.map +1 -0
  107. package/dist/shared/bricks/props/tags.js +3 -0
  108. package/dist/shared/bricks/props/text.d.ts +5 -3
  109. package/dist/shared/bricks/props/text.d.ts.map +1 -1
  110. package/dist/shared/bricks/props/text.js +1 -1
  111. package/dist/shared/bricks/props/types.d.ts +3 -1
  112. package/dist/shared/bricks/props/types.d.ts.map +1 -1
  113. package/dist/shared/bricks.d.ts +32 -47
  114. package/dist/shared/bricks.d.ts.map +1 -1
  115. package/dist/shared/bricks.js +1 -1
  116. package/dist/shared/chunk-2XBPVHQS.js +3 -0
  117. package/dist/shared/chunk-4JW3PDHN.js +3 -0
  118. package/dist/shared/chunk-4TH3C76A.js +3 -0
  119. package/dist/shared/chunk-6E4DU2E7.js +4 -0
  120. package/dist/shared/chunk-6FITVVZX.js +3 -0
  121. package/dist/shared/chunk-6HBHYDD6.js +3 -0
  122. package/dist/shared/chunk-6WCGUAQN.js +3 -0
  123. package/dist/shared/chunk-7DMUDZ4H.js +3 -0
  124. package/dist/shared/chunk-7SC3EFLX.js +3 -0
  125. package/dist/shared/chunk-ACVLF55Q.js +3 -0
  126. package/dist/shared/chunk-AIDGSWJT.js +3 -0
  127. package/dist/shared/chunk-BZGNY7LB.js +3 -0
  128. package/dist/shared/chunk-C3VGP4CA.js +3 -0
  129. package/dist/shared/chunk-CP5QDUD4.js +3 -0
  130. package/dist/shared/{chunk-WVZGGVII.js → chunk-CT3EI7YN.js} +1 -1
  131. package/dist/shared/{chunk-PSCFR7VV.js → chunk-DQXDGV67.js} +1 -1
  132. package/dist/shared/chunk-E22E4XWE.js +3 -0
  133. package/dist/shared/chunk-ETYYRWLK.js +3 -0
  134. package/dist/shared/chunk-HHO3ONTQ.js +3 -0
  135. package/dist/shared/chunk-I46VBMLF.js +3 -0
  136. package/dist/shared/chunk-L5G4JZ6X.js +3 -0
  137. package/dist/shared/chunk-LFQZRGHS.js +3 -0
  138. package/dist/shared/{chunk-USY5UTOD.js → chunk-LSPN22SI.js} +2 -2
  139. package/dist/shared/chunk-OIOYMECS.js +3 -0
  140. package/dist/shared/chunk-OUMOZ26S.js +5 -0
  141. package/dist/shared/chunk-R5PVOFCD.js +5 -0
  142. package/dist/shared/chunk-T3LIA4YB.js +3 -0
  143. package/dist/shared/chunk-T4LMBG2G.js +3 -0
  144. package/dist/shared/chunk-TAR7NSTK.js +3 -0
  145. package/dist/shared/chunk-TTTXV7TJ.js +6 -0
  146. package/dist/shared/{chunk-G23RXTRB.js → chunk-TWBY2GOR.js} +1 -1
  147. package/dist/shared/{chunk-Y6IWAOSW.js → chunk-UCTXPU6L.js} +2 -2
  148. package/dist/shared/chunk-UHF6IEKV.js +3 -0
  149. package/dist/shared/chunk-UMHXXXVP.js +3 -0
  150. package/dist/shared/{chunk-GKUFCDVD.js → chunk-UU2MSQXY.js} +1 -1
  151. package/dist/shared/chunk-VGRYSAXA.js +3 -0
  152. package/dist/shared/{chunk-Z7UVZLR3.js → chunk-VPFCY4DH.js} +1 -1
  153. package/dist/shared/chunk-VSC6WNEN.js +3 -0
  154. package/dist/shared/chunk-VZPXXFVX.js +3 -0
  155. package/dist/shared/chunk-WNJGWW7T.js +8 -0
  156. package/dist/shared/chunk-WRFLHXQ3.js +3 -0
  157. package/dist/shared/chunk-WU6Q4WYD.js +3 -0
  158. package/dist/shared/chunk-X2MM36S4.js +3 -0
  159. package/dist/shared/chunk-YCWDG5HS.js +3 -0
  160. package/dist/shared/chunk-Z7Y6Q3R3.js +3 -0
  161. package/dist/shared/datarecords/types.d.ts +3 -3
  162. package/dist/shared/datasources/external/http-json/fetcher.d.ts.map +1 -1
  163. package/dist/shared/datasources/external/rss/fetcher.d.ts.map +1 -1
  164. package/dist/shared/datasources/fetcher.d.ts +2 -2
  165. package/dist/shared/datasources/fetcher.d.ts.map +1 -1
  166. package/dist/shared/datasources/types.d.ts +99 -9
  167. package/dist/shared/datasources/types.d.ts.map +1 -1
  168. package/dist/shared/datasources/types.js +1 -1
  169. package/dist/shared/datasources.d.ts +7 -0
  170. package/dist/shared/datasources.d.ts.map +1 -1
  171. package/dist/shared/datasources.js +1 -1
  172. package/dist/shared/page.d.ts +69 -36
  173. package/dist/shared/page.d.ts.map +1 -1
  174. package/dist/shared/page.js +1 -1
  175. package/dist/shared/site.d.ts +258 -176
  176. package/dist/shared/site.d.ts.map +1 -1
  177. package/dist/shared/site.js +1 -1
  178. package/dist/shared/sitemap.d.ts.map +1 -1
  179. package/dist/shared/sitemap.js +1 -1
  180. package/dist/shared/theme.d.ts +0 -10
  181. package/dist/shared/theme.d.ts.map +1 -1
  182. package/dist/shared/theme.js +1 -1
  183. package/dist/shared/themes/color-system.d.ts +3 -2
  184. package/dist/shared/themes/color-system.d.ts.map +1 -1
  185. package/dist/shared/themes/color-system.js +1 -1
  186. package/dist/shared/themes/tests/color-system.test.d.ts +2 -0
  187. package/dist/shared/themes/tests/color-system.test.d.ts.map +1 -0
  188. package/dist/shared/utils/canvas-data-uri.js +1 -1
  189. package/dist/shared/utils/schema-resolver.d.ts +1 -1
  190. package/dist/shared/utils/schema-resolver.d.ts.map +1 -1
  191. package/dist/shared/utils/schema-resolver.js +1 -1
  192. package/dist/shared/utils/schema.d.ts +4 -6
  193. package/dist/shared/utils/schema.d.ts.map +1 -1
  194. package/dist/shared/utils/schema.js +1 -1
  195. package/dist/shared/utils/typed-ref.d.ts +10 -3
  196. package/dist/shared/utils/typed-ref.d.ts.map +1 -1
  197. package/package.json +4 -5
  198. package/dist/shared/bricks/manifests/dynamic.manifest.d.ts +0 -92
  199. package/dist/shared/bricks/manifests/dynamic.manifest.d.ts.map +0 -1
  200. package/dist/shared/bricks/manifests/dynamic.manifest.js +0 -3
  201. package/dist/shared/bricks/props/preset.d.ts +0 -20
  202. package/dist/shared/bricks/props/preset.d.ts.map +0 -1
  203. package/dist/shared/bricks/props/preset.js +0 -3
  204. package/dist/shared/chunk-3QYEUKEW.js +0 -3
  205. package/dist/shared/chunk-3RDGTRSB.js +0 -3
  206. package/dist/shared/chunk-4U3RUNXA.js +0 -3
  207. package/dist/shared/chunk-6XMSXDST.js +0 -3
  208. package/dist/shared/chunk-76XO5NIK.js +0 -3
  209. package/dist/shared/chunk-BIW4XH5V.js +0 -3
  210. package/dist/shared/chunk-C75R5YW6.js +0 -3
  211. package/dist/shared/chunk-DBSKZ77G.js +0 -3
  212. package/dist/shared/chunk-DMMAQKRR.js +0 -3
  213. package/dist/shared/chunk-EMRJKXOR.js +0 -8
  214. package/dist/shared/chunk-EOUUN7E6.js +0 -3
  215. package/dist/shared/chunk-ERY4IXZT.js +0 -3
  216. package/dist/shared/chunk-GJMMLM6H.js +0 -3
  217. package/dist/shared/chunk-HUGR3ZCO.js +0 -3
  218. package/dist/shared/chunk-HZDH3UEZ.js +0 -4
  219. package/dist/shared/chunk-J33TL5M5.js +0 -3
  220. package/dist/shared/chunk-JUFSENQL.js +0 -3
  221. package/dist/shared/chunk-K2CBEHQS.js +0 -5
  222. package/dist/shared/chunk-KVOBSUGQ.js +0 -3
  223. package/dist/shared/chunk-LVALAJTS.js +0 -3
  224. package/dist/shared/chunk-MHRBBMRE.js +0 -3
  225. package/dist/shared/chunk-MXVDZH7N.js +0 -3
  226. package/dist/shared/chunk-N3V5MQ54.js +0 -3
  227. package/dist/shared/chunk-O6OKTIBY.js +0 -3
  228. package/dist/shared/chunk-OELIU5BZ.js +0 -3
  229. package/dist/shared/chunk-OOYAWVJO.js +0 -3
  230. package/dist/shared/chunk-PDUB4QZX.js +0 -3
  231. package/dist/shared/chunk-PYR54IIV.js +0 -3
  232. package/dist/shared/chunk-PZI5MT7I.js +0 -6
  233. package/dist/shared/chunk-SL7Z3GQ3.js +0 -3
  234. package/dist/shared/chunk-SWYQ3FFG.js +0 -3
  235. package/dist/shared/chunk-WCZVFBSW.js +0 -3
  236. package/dist/shared/chunk-WM2UTLK4.js +0 -3
  237. package/dist/shared/chunk-WQSHHZ2H.js +0 -3
  238. package/dist/shared/chunk-XQL4ADA4.js +0 -3
  239. package/dist/shared/chunk-XWB5P4CM.js +0 -3
  240. package/dist/shared/chunk-XWRCWW3P.js +0 -3
  241. package/dist/shared/chunk-ZKGRZ5CN.js +0 -3
@@ -0,0 +1,23 @@
1
+ import { type Static, type ObjectOptions, type StringOptions, TObject } from "@sinclair/typebox";
2
+ type ColorPresetOptions = ObjectOptions & {
3
+ "ui:presets"?: Record<string, {
4
+ className: string;
5
+ label: string;
6
+ }>;
7
+ "ui:default-gradient-direction"?: string;
8
+ };
9
+ export declare function gradientDirection(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">;
10
+ export type GradientDirectionSettings = Static<ReturnType<typeof gradientDirection>>;
11
+ export declare function gradientDirectionRef(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">;
12
+ export declare const colorPresets: NonNullable<ColorPresetOptions["ui:presets"]>;
13
+ export declare function colorPreset(options?: ColorPresetOptions): TObject<{
14
+ color: import("@sinclair/typebox").TUnsafe<string>;
15
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
16
+ }>;
17
+ export type ColorPresetSettings = Static<ReturnType<typeof colorPreset>>;
18
+ export declare function colorPresetRef(options: ColorPresetOptions): TObject<{
19
+ color: import("@sinclair/typebox").TUnsafe<string>;
20
+ gradientDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">>;
21
+ }>;
22
+ export {};
23
+ //# sourceMappingURL=color-preset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-preset.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/color-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAQ,KAAK,aAAa,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAIvG,KAAK,kBAAkB,GAAG,aAAa,GAAG;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpE,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,aAAkB,kNA2B5D;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAErF,wBAAgB,oBAAoB,CAAC,OAAO,GAAE,aAAkB,kNAK/D;AAED,eAAO,MAAM,YAAY,EAAE,WAAW,CAAC,kBAAkB,CAAC,YAAY,CAAC,CAyTtE,CAAC;AAEF,wBAAgB,WAAW,CAAC,OAAO,GAAE,kBAAuB;;;GAsB3D;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,EAAE,kBAAkB;;;GAEzD"}
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a,b,c,d,e}from"../../chunk-VZPXXFVX.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{d as colorPreset,e as colorPresetRef,c as colorPresets,a as gradientDirection,b as gradientDirectionRef};
@@ -1,8 +1,8 @@
1
- import { type SchemaOptions, type Static, type StringOptions } from "@sinclair/typebox";
1
+ import { type SchemaOptions, type Static } from "@sinclair/typebox";
2
2
  export declare function color(defaultValue?: string, title?: string): import("@sinclair/typebox").TString;
3
3
  export type ColorSettings = Static<ReturnType<typeof color>>;
4
4
  export declare function colorRef(options?: SchemaOptions): import("@sinclair/typebox").TString;
5
- export declare function gradientDirection(options?: StringOptions): import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">;
6
- export type GradientDirectionSettings = Static<ReturnType<typeof gradientDirection>>;
7
- export declare function gradientDirectionRef(colorPropKey: string, options?: StringOptions): import("@sinclair/typebox").TUnsafe<"bg-gradient-to-t" | "bg-gradient-to-r" | "bg-gradient-to-b" | "bg-gradient-to-l" | "bg-gradient-to-tl" | "bg-gradient-to-tr" | "bg-gradient-to-br" | "bg-gradient-to-bl">;
5
+ export declare function borderColor(defaultValue?: string, title?: string): import("@sinclair/typebox").TString;
6
+ export type BorderColorSettings = Static<ReturnType<typeof borderColor>>;
7
+ export declare function borderColorRef(options?: SchemaOptions): import("@sinclair/typebox").TString;
8
8
  //# sourceMappingURL=color.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,EAAsB,MAAM,mBAAmB,CAAC;AAK5G,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAe,uCAWhE;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;AAE7D,wBAAgB,QAAQ,CAAC,OAAO,GAAE,aAAkB,uCAEnD;AAED,wBAAgB,iBAAiB,CAAC,OAAO,GAAE,aAAkB,kNA2B5D;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC;AAErF,wBAAgB,oBAAoB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,GAAE,aAAkB,kNAUrF"}
1
+ {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,MAAM,EAA0C,MAAM,mBAAmB,CAAC;AAG5G,wBAAgB,KAAK,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAe,uCAWhE;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;AAE7D,wBAAgB,QAAQ,CAAC,OAAO,GAAE,aAAkB,uCAEnD;AAED,wBAAgB,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,SAAiB,uCAWxE;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,GAAE,aAAkB,uCAEzD"}
@@ -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-PYR54IIV.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as color,b as colorRef,c as gradientDirection,d as gradientDirectionRef};
3
+ import{a,b,c,d}from"../../chunk-6FITVVZX.js";import"../../chunk-EJGNYD4V.js";export{c as borderColor,d as borderColorRef,a as color,b as colorRef};
@@ -1,4 +1,4 @@
1
- import { type TString } from "@sinclair/typebox";
1
+ import { type Static, type TString } from "@sinclair/typebox";
2
2
  export declare function hidden(): import("@sinclair/typebox").TObject<{
3
3
  desktop: import("@sinclair/typebox").TBoolean;
4
4
  mobile: import("@sinclair/typebox").TBoolean;
@@ -15,4 +15,18 @@ export declare const commonProps: {
15
15
  grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
16
16
  alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
17
17
  };
18
+ declare const commonPropsSchema: import("@sinclair/typebox").TObject<{
19
+ lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
20
+ hidden: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
21
+ desktop: import("@sinclair/typebox").TBoolean;
22
+ mobile: import("@sinclair/typebox").TBoolean;
23
+ }>>;
24
+ editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
25
+ width: import("@sinclair/typebox").TOptional<TString>;
26
+ height: import("@sinclair/typebox").TOptional<TString>;
27
+ grow: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
28
+ alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-end" | "self-start" | "self-auto" | "self-center" | "self-stretch">>;
29
+ }>;
30
+ export type CommonBrickProps = Static<typeof commonPropsSchema>;
31
+ export {};
18
32
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAKvD,wBAAgB,MAAM;;;GAarB;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;CAyCvB,CAAC"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,OAAO,EAAQ,MAAM,mBAAmB,CAAC;AAKpE,wBAAgB,MAAM;;;GAarB;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;CAyCvB,CAAC;AAEF,QAAA,MAAM,iBAAiB;;;;;;;;;;;EAA2B,CAAC;AACnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,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{a,b}from"../../chunk-O6OKTIBY.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SWYQ3FFG.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{b as commonProps,a as hidden};
3
+ import{a,b}from"../../chunk-UMHXXXVP.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-E22E4XWE.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{b as commonProps,a as hidden};
@@ -5,7 +5,7 @@ export declare function makeContainerProps(): {
5
5
  export declare function sectionLayout(options?: SchemaOptions): import("@sinclair/typebox").TObject<{
6
6
  wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
7
7
  fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
8
- justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-stretch" | "justify-evenly">>;
8
+ justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
9
9
  alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-start" | "items-center" | "items-end" | "items-stretch">>;
10
10
  }>;
11
11
  //# sourceMappingURL=container.d.ts.map
@@ -3,13 +3,12 @@ export declare function datasource(title?: string): import("@sinclair/typebox").
3
3
  id: import("@sinclair/typebox").TString;
4
4
  offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
5
5
  limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6
- sortDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"asc" | "desc" | "rand">>;
6
+ sortDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"asc" | "desc">>;
7
7
  sortField: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
9
9
  field: import("@sinclair/typebox").TString;
10
- op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"exists">, import("@sinclair/typebox").TLiteral<"not_exists">, import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">, import("@sinclair/typebox").TLiteral<"between">, import("@sinclair/typebox").TLiteral<"last">, import("@sinclair/typebox").TLiteral<"next">]>;
11
- value: import("@sinclair/typebox").TString;
12
- unit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"minute" | "hour" | "day" | "week" | "month" | "year">>;
10
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">, import("@sinclair/typebox").TLiteral<"in">, import("@sinclair/typebox").TLiteral<"nin">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"notStartsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"notEndsWith">, import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">]>;
11
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>;
13
12
  }>>>;
14
13
  }>;
15
14
  export type DatasourceSettings = Static<ReturnType<typeof datasource>>;
@@ -1 +1 @@
1
- {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,UAAU,CAAC,KAAK,SAAa;;;;;;;;;;;;GAmF5C;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,UAAU,CAAC,KAAK,SAAa;;;;;;;;;;;GA4E5C;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,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{a}from"../../chunk-GJMMLM6H.js";import"../../chunk-SFKZAUPW.js";export{a as datasource};
3
+ import{a as e}from"../../chunk-SFKZAUPW.js";import{Type as t}from"@sinclair/typebox";function o(i="Database"){return t.Object({id:t.String({title:"Database"}),offset:t.Optional(t.Number({title:"Offset",description:"Offset the records to fetch from the datasource",minimum:0,default:0})),limit:t.Optional(t.Number({title:"Limit",description:"Limit the number of records to fetch from the datasource. Setting to 1 will fetch and render only one item.",minimum:1,default:3})),sortDirection:t.Optional(e(["asc","desc"],{title:"Sort",enumNames:["Ascending","Descending"],description:"Direction to sort the records by",default:"desc"})),sortField:t.Optional(t.String({title:"Sort Field",description:"Select a field to sort by (must be indexed)",default:"$publicationDate"})),filters:t.Optional(t.Array(t.Object({field:t.String(),op:t.Union([t.Literal("eq"),t.Literal("ne"),t.Literal("lt"),t.Literal("lte"),t.Literal("gt"),t.Literal("gte"),t.Literal("in"),t.Literal("nin"),t.Literal("contains"),t.Literal("notContains"),t.Literal("startsWith"),t.Literal("notStartsWith"),t.Literal("endsWith"),t.Literal("notEndsWith"),t.Literal("before"),t.Literal("after")]),value:t.Union([t.String(),t.Number(),t.Boolean()])}),{default:[]}))},{"ui:field":"datasource",title:i,metadata:{category:"content"}})}export{o as datasource};
@@ -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}from"../../chunk-WVZGGVII.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as direction,b as directionRef};
3
+ import{a,b}from"../../chunk-CT3EI7YN.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{a as direction,b as directionRef};
@@ -0,0 +1,99 @@
1
+ import { type ObjectOptions, type Static } from "@sinclair/typebox";
2
+ export declare function queryUse(): import("@sinclair/typebox").TObject<{
3
+ queryId: import("@sinclair/typebox").TString;
4
+ alias: import("@sinclair/typebox").TString;
5
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
6
+ field: import("@sinclair/typebox").TString;
7
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"notStartsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"notEndsWith">]>;
8
+ value: import("@sinclair/typebox").TString;
9
+ }>, import("@sinclair/typebox").TObject<{
10
+ field: import("@sinclair/typebox").TString;
11
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
12
+ value: import("@sinclair/typebox").TNumber;
13
+ }>, import("@sinclair/typebox").TObject<{
14
+ field: import("@sinclair/typebox").TString;
15
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">]>;
16
+ value: import("@sinclair/typebox").TString;
17
+ }>, import("@sinclair/typebox").TObject<{
18
+ field: import("@sinclair/typebox").TString;
19
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"beforeNow">, import("@sinclair/typebox").TLiteral<"afterNow">]>;
20
+ value: import("@sinclair/typebox").TNull;
21
+ }>, import("@sinclair/typebox").TObject<{
22
+ field: import("@sinclair/typebox").TString;
23
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"containsAll">, import("@sinclair/typebox").TLiteral<"containsAny">, import("@sinclair/typebox").TLiteral<"notContainsAny">]>;
24
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
25
+ }>, import("@sinclair/typebox").TObject<{
26
+ field: import("@sinclair/typebox").TString;
27
+ op: import("@sinclair/typebox").TLiteral<"eq">;
28
+ value: import("@sinclair/typebox").TBoolean;
29
+ }>]>>>;
30
+ }>;
31
+ export declare const queryUseSchema: import("@sinclair/typebox").TObject<{
32
+ queryId: import("@sinclair/typebox").TString;
33
+ alias: import("@sinclair/typebox").TString;
34
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
35
+ field: import("@sinclair/typebox").TString;
36
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"notStartsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"notEndsWith">]>;
37
+ value: import("@sinclair/typebox").TString;
38
+ }>, import("@sinclair/typebox").TObject<{
39
+ field: import("@sinclair/typebox").TString;
40
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
41
+ value: import("@sinclair/typebox").TNumber;
42
+ }>, import("@sinclair/typebox").TObject<{
43
+ field: import("@sinclair/typebox").TString;
44
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">]>;
45
+ value: import("@sinclair/typebox").TString;
46
+ }>, import("@sinclair/typebox").TObject<{
47
+ field: import("@sinclair/typebox").TString;
48
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"beforeNow">, import("@sinclair/typebox").TLiteral<"afterNow">]>;
49
+ value: import("@sinclair/typebox").TNull;
50
+ }>, import("@sinclair/typebox").TObject<{
51
+ field: import("@sinclair/typebox").TString;
52
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"containsAll">, import("@sinclair/typebox").TLiteral<"containsAny">, import("@sinclair/typebox").TLiteral<"notContainsAny">]>;
53
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
54
+ }>, import("@sinclair/typebox").TObject<{
55
+ field: import("@sinclair/typebox").TString;
56
+ op: import("@sinclair/typebox").TLiteral<"eq">;
57
+ value: import("@sinclair/typebox").TBoolean;
58
+ }>]>>>;
59
+ }>;
60
+ export type QueryUseSettings = Static<ReturnType<typeof queryUse>>;
61
+ export declare function queryUseRef(options?: ObjectOptions): import("@sinclair/typebox").TObject<{
62
+ queryId: import("@sinclair/typebox").TString;
63
+ alias: import("@sinclair/typebox").TString;
64
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
65
+ field: import("@sinclair/typebox").TString;
66
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"startsWith">, import("@sinclair/typebox").TLiteral<"notStartsWith">, import("@sinclair/typebox").TLiteral<"endsWith">, import("@sinclair/typebox").TLiteral<"notEndsWith">]>;
67
+ value: import("@sinclair/typebox").TString;
68
+ }>, import("@sinclair/typebox").TObject<{
69
+ field: import("@sinclair/typebox").TString;
70
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"ne">, import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
71
+ value: import("@sinclair/typebox").TNumber;
72
+ }>, import("@sinclair/typebox").TObject<{
73
+ field: import("@sinclair/typebox").TString;
74
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"before">, import("@sinclair/typebox").TLiteral<"after">]>;
75
+ value: import("@sinclair/typebox").TString;
76
+ }>, import("@sinclair/typebox").TObject<{
77
+ field: import("@sinclair/typebox").TString;
78
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"beforeNow">, import("@sinclair/typebox").TLiteral<"afterNow">]>;
79
+ value: import("@sinclair/typebox").TNull;
80
+ }>, import("@sinclair/typebox").TObject<{
81
+ field: import("@sinclair/typebox").TString;
82
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"contains">, import("@sinclair/typebox").TLiteral<"notContains">, import("@sinclair/typebox").TLiteral<"containsAll">, import("@sinclair/typebox").TLiteral<"containsAny">, import("@sinclair/typebox").TLiteral<"notContainsAny">]>;
83
+ value: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
84
+ }>, import("@sinclair/typebox").TObject<{
85
+ field: import("@sinclair/typebox").TString;
86
+ op: import("@sinclair/typebox").TLiteral<"eq">;
87
+ value: import("@sinclair/typebox").TBoolean;
88
+ }>]>>>;
89
+ }>;
90
+ export declare function loop(options?: ObjectOptions): import("@sinclair/typebox").TObject<{
91
+ over: import("@sinclair/typebox").TString;
92
+ overrideLimit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
93
+ }>;
94
+ export type LoopSettings = Static<ReturnType<typeof loop>>;
95
+ export declare function loopRef(options?: ObjectOptions): import("@sinclair/typebox").TObject<{
96
+ over: import("@sinclair/typebox").TString;
97
+ overrideLimit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
98
+ }>;
99
+ //# sourceMappingURL=dynamic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dynamic.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/dynamic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG1E,wBAAgB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CvB;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgB,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,WAAW,CAAC,OAAO,GAAE,aAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEtD;AAED,wBAAgB,IAAI,CAAC,OAAO,GAAE,aAAkB;;;GA2B/C;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAE3D,wBAAgB,OAAO,CAAC,OAAO,GAAE,aAAkB;;;GAElD"}
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a,b,c,d,e}from"../../chunk-7SC3EFLX.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-Z7Y6Q3R3.js";import"../../chunk-SFKZAUPW.js";export{d as loop,e as loopRef,a as queryUse,c as queryUseRef,b as queryUseSchema};
@@ -1,20 +1,13 @@
1
1
  import { type SchemaOptions, type Static } from "@sinclair/typebox";
2
2
  import { type StringEnumOptions } from "~/shared/utils/string-enum";
3
- type ShadowOptions = {
4
- title?: string;
5
- defaultValue?: string;
6
- };
7
- export declare function shadow({ title, defaultValue }?: ShadowOptions): import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">;
3
+ export declare function shadow(options?: StringEnumOptions): import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">;
8
4
  export type ShadowSettings = Static<ReturnType<typeof shadow>>;
9
- export declare function shadowRef(options?: SchemaOptions & ShadowOptions): import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">;
10
- type TextShadowOptions = {
11
- title?: string;
12
- } & StringEnumOptions;
5
+ export declare function shadowRef(options?: StringEnumOptions): import("@sinclair/typebox").TUnsafe<"shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl">;
13
6
  /**
14
7
  * This function is used in ajv and type ref translations, but should not be used directly in bricks
15
8
  * @deprecated When using OUSTIDE of ajv.addSchema(), use `textShadowRef` instead.
16
9
  */
17
- export declare function textShadow({ title, ...rest }?: TextShadowOptions): import("@sinclair/typebox").TUnsafe<"text-shadow-none" | "text-shadow-sm" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl">;
10
+ export declare function textShadow(options?: StringEnumOptions): import("@sinclair/typebox").TUnsafe<"text-shadow-none" | "text-shadow-sm" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl">;
18
11
  export declare function textShadowRef(options?: SchemaOptions): import("@sinclair/typebox").TUnsafe<"text-shadow-none" | "text-shadow-sm" | "text-shadow-md" | "text-shadow-lg" | "text-shadow-xl">;
19
12
  export type TextShadowSettings = Static<ReturnType<typeof textShadow>>;
20
13
  type OpacityOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/effects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1E,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEhF,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,KAAgB,EAAE,YAA4B,EAAE,GAAE,aAAkB,6HAW5F;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;AAE/D,wBAAgB,SAAS,CAAC,OAAO,GAAE,aAAa,GAAG,aAAkB,6HAKpE;AAED,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,iBAAiB,CAAC;AAEtB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAqB,EAAE,GAAG,IAAI,EAAE,GAAE,iBAAsB,uIAcpF;AAED,wBAAgB,a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AAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,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{a,b,c,d,e}from"../../chunk-WCZVFBSW.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{e as opacity,a as shadow,b as shadowRef,c as textShadow,d as textShadowRef};
3
+ import{a,b,c,d,e}from"../../chunk-T4LMBG2G.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{e as opacity,a as shadow,b as shadowRef,c as textShadow,d as textShadowRef};
@@ -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}from"../../chunk-G23RXTRB.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as basicGap,b as basicGapRef};
3
+ import{a,b}from"../../chunk-TWBY2GOR.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{a as basicGap,b as basicGapRef};
@@ -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-IFEIRRZ2.js";import{a as t}from"../../chunk-ZKGRZ5CN.js";import"../../chunk-EJGNYD4V.js";import{Type as o}from"@sinclair/typebox";function m(i={}){let{title:n="Location",defaultZoom:d}=i;return o.Object({lat:e("Latitude",{"ui:field":"hidden"}),lng:e("Longitude",{"ui:field":"hidden"}),address:t("Address",{"ui:field":"geoaddress"}),tooltip:o.Optional(t("Tooltip",{})),zoom:o.Optional(e("Zoom",{description:"Zoom level for the map","ui:instructions":"The zoom level should be between 0 (world view) and 21 (street view).","ui:field":"slider",minimum:12,maximum:18,default:d}))},{title:n,metadata:{category:"content"},...i})}export{m as geolocation};
3
+ import{a as e}from"../../chunk-IFEIRRZ2.js";import{a as t}from"../../chunk-T3LIA4YB.js";import"../../chunk-EJGNYD4V.js";import{Type as o}from"@sinclair/typebox";function m(i={}){let{title:n="Location",defaultZoom:d}=i;return o.Object({lat:e("Latitude",{"ui:field":"hidden"}),lng:e("Longitude",{"ui:field":"hidden"}),address:t("Address",{"ui:field":"geoaddress"}),tooltip:o.Optional(t("Tooltip",{})),zoom:o.Optional(e("Zoom",{description:"Zoom level for the map","ui:instructions":"The zoom level should be between 0 (world view) and 21 (street view).","ui:field":"slider",minimum:12,maximum:18,default:d}))},{title:n,metadata:{category:"content"},...i})}export{m as geolocation};
@@ -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-GKUFCDVD.js";import"../../chunk-O6OKTIBY.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-SWYQ3FFG.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{d as array,c as defineProps,b as getGroupInfo,a as group};
3
+ import{a,b,c,d}from"../../chunk-UU2MSQXY.js";import"../../chunk-UMHXXXVP.js";import"../../chunk-2IYSJYNE.js";import"../../chunk-E22E4XWE.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{d as array,c as defineProps,b as getGroupInfo,a as group};
@@ -1,5 +1,5 @@
1
1
  import type { SchemaOptions, Static } from "@sinclair/typebox";
2
- export declare function padding(): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
3
- export declare function paddingRef(options?: SchemaOptions): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
2
+ export declare function padding(): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-3" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
3
+ export declare function paddingRef(options?: SchemaOptions): import("@sinclair/typebox").TUnsafe<"p-0" | "p-px" | "p-1" | "p-2" | "p-3" | "p-4" | "p-6" | "p-8" | "p-10" | "p-12" | "p-16" | "p-24">;
4
4
  export type PaddingSettings = Static<ReturnType<typeof padding>>;
5
5
  //# sourceMappingURL=padding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAI/D,wBAAgB,OAAO,oIAwBtB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,mIAKrD;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAI/D,wBAAgB,OAAO,4IA4BtB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,2IAKrD;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,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{a,b}from"../../chunk-KVOBSUGQ.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-EJGNYD4V.js";export{a as padding,b as paddingRef};
3
+ import{a,b}from"../../chunk-6WCGUAQN.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{a as padding,b as paddingRef};
@@ -1 +1 @@
1
- {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,KAAK,eAAe,GAAG,aAAa,GAClC,aAAa,GAAG;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEJ,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,eAAoB,uCAElE;AAED,wBAAgB,GAAG,CAAC,KAAK,SAAQ,EAAE,YAAY,CAAC,EAAE,MAAM,uCAOvD;AAMD,wBAAgB,WAAW,CAAC,KAAK,SAAmB,EAAE,YAAY,CAAC,EAAE,MAAM,kHAiB1E;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,GAAE,eAAoB,kHAE3D;AAED,KAAK,WAAW,GAAG,eAAe,GAAG;IAAE,4BAA4B,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,wBAAgB,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,uCAQ7D;AAED,wBAAgB,OAAO,CAAC,OAAO,GAAE,WAAgB,uCAEhD"}
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,KAAK,eAAe,GAAG,aAAa,GAClC,aAAa,GAAG;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEJ,wBAAgB,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,eAAoB,uCAElE;AAED,wBAAgB,GAAG,CAAC,KAAK,SAAQ,EAAE,YAAY,CAAC,EAAE,MAAM,uCAOvD;AAMD,wBAAgB,WAAW,CAAC,KAAK,SAAQ,EAAE,YAAY,CAAC,EAAE,MAAM,kHAoB/D;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,GAAE,eAAoB,kHAE3D;AAED,KAAK,WAAW,GAAG,eAAe,GAAG;IAAE,4BAA4B,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,wBAAgB,IAAI,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,uCAW7D;AAED,wBAAgB,OAAO,CAAC,OAAO,GAAE,WAAgB,uCAEhD"}
@@ -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-ZKGRZ5CN.js";import"../../chunk-EJGNYD4V.js";export{e as icon,f as iconRef,a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
3
+ import{a,b,c,d,e,f}from"../../chunk-T3LIA4YB.js";import"../../chunk-EJGNYD4V.js";export{e as icon,f as iconRef,a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
@@ -0,0 +1,5 @@
1
+ import { type Static, type StringOptions } from "@sinclair/typebox";
2
+ export declare function tags(options?: StringOptions): import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
3
+ export type TagsSettings = Static<ReturnType<typeof tags>>;
4
+ export declare function tagsRef(options?: StringOptions): import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
5
+ //# sourceMappingURL=tags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/tags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAG1E,wBAAgB,IAAI,CAAC,OAAO,CAAC,EAAE,aAAa,2EAe3C;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC;AAE3D,wBAAgB,OAAO,CAAC,OAAO,GAAE,aAAkB,2EAElD"}
@@ -0,0 +1,3 @@
1
+ /*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
2
+
3
+ import{a,b}from"../../chunk-OIOYMECS.js";import"../../chunk-EJGNYD4V.js";export{a as tags,b as tagsRef};
@@ -2,15 +2,17 @@ import { type StringOptions, type Static } from "@sinclair/typebox";
2
2
  type Options = StringOptions & {
3
3
  "ui:no-extra-large-sizes"?: boolean;
4
4
  };
5
- export declare function fontSize(options?: Options): import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>;
5
+ export declare function fontSize(options?: Options): import("@sinclair/typebox").TUnsafe<"inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl">;
6
6
  export type FontSizeSettings = Static<ReturnType<typeof fontSize>>;
7
- export declare function fontSizeRef(options?: Options): import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>;
7
+ export declare function fontSizeRef(options?: Options): import("@sinclair/typebox").TUnsafe<"inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl">;
8
+ export declare function fontSizeXL(options?: Options): import("@sinclair/typebox").TUnsafe<"inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl">;
9
+ export declare function fontSizeXLRef(options?: Options): import("@sinclair/typebox").TUnsafe<"inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl">;
8
10
  type TextContentOptions = {
9
11
  showInSettings?: boolean;
10
12
  disableSizing?: boolean;
11
13
  disableAlignment?: boolean;
12
14
  };
13
- export declare function textContent({ title, default: defaults, showInSettings, disableSizing, disableAlignment, }?: TextContentOptions & StringOptions): import("@sinclair/typebox").TString;
15
+ export declare function textContent({ title, default: defaults, showInSettings, disableSizing, disableAlignment, ...rest }?: TextContentOptions & StringOptions): import("@sinclair/typebox").TString;
14
16
  export type TextContentSettings = Static<ReturnType<typeof textContent>>;
15
17
  export declare function textContentRef(options?: TextContentOptions & StringOptions): import("@sinclair/typebox").TString;
16
18
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG1E,KAAK,OAAO,GAAG,aAAa,GAAG;IAC7B,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,OAAO,GAAE,OAAY,4nBA0B7C;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,WAAW,CAAC,OAAO,GAAE,OAAY,4nBAEhD;AAED,KAAK,kBAAkB,GAAG;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,KAAc,EACd,OAAO,EAAE,QAAQ,EACjB,cAAc,EACd,aAAqB,EACrB,gBAAwB,GACzB,GAAE,kBAAkB,GAAG,aAAkB,uCAWzC;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,GAAE,kBAAkB,GAAG,aAAkB,uCAE9E"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAI1E,KAAK,OAAO,GAAG,aAAa,GAAG;IAC7B,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,wBAAgB,QAAQ,CAAC,OAAO,GAAE,OAAY,gHAW7C;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,WAAW,CAAC,OAAO,GAAE,OAAY,gHAEhD;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,OAAY,8LAwC/C;AACD,wBAAgB,aAAa,CAAC,OAAO,GAAE,OAAY,8LAElD;AAED,KAAK,kBAAkB,GAAG;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,KAAc,EACd,OAAO,EAAE,QAAQ,EACjB,cAAc,EACd,aAAqB,EACrB,gBAAwB,EACxB,GAAG,IAAI,EACR,GAAE,kBAAkB,GAAG,aAAkB,uCAezC;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;AAEzE,wBAAgB,cAAc,CAAC,OAAO,GAAE,kBAAkB,GAAG,aAAkB,uCAE9E"}
@@ -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-DBSKZ77G.js";import"../../chunk-EJGNYD4V.js";export{a as fontSize,b as fontSizeRef,c as textContent,d as textContentRef};
3
+ import{a,b,c,d,e,f}from"../../chunk-C3VGP4CA.js";import"../../chunk-EJGNYD4V.js";import"../../chunk-SFKZAUPW.js";export{a as fontSize,b as fontSizeRef,c as fontSizeXL,d as fontSizeXLRef,e as textContent,f as textContentRef};
@@ -20,13 +20,15 @@ export type BrickProps<T extends BrickManifest> = {
20
20
  * True if the brick is a child of a container (e.g. Section, Box)
21
21
  */
22
22
  isContainerChild?: boolean;
23
+ isDynamicPreview?: boolean;
24
+ level?: number;
25
+ iterationIndex?: number;
23
26
  };
24
27
  export type BrickPropCategory = "settings" | "presets" | "content";
25
28
  export type { TSchema };
26
29
  type CommonMetadata = {
27
30
  "ui:responsive"?: boolean | "mobile" | "mobile-only";
28
31
  "ui:hidden"?: boolean | "if-empty";
29
- "ui:scope"?: "site" | "page";
30
32
  "ui:tab"?: BrickPropCategory;
31
33
  };
32
34
  export type FieldMetadata = CommonMetadata & {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,aAAa,IAAI;IAChD,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC,GAAG;QAC7D,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC1B,WAAW,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC1C,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,MAAM,EAAE,EAAE,KAAK,MAAM,EAAE,CAAC,CAAC;KACrD,CAAC;IACF;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG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