@upstart.gg/sdk 0.0.112 → 0.0.114
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.
- package/dist/shared/ajv.js +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +10 -7
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/accordion.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/accordion.manifest.js +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +1 -1
- package/dist/shared/bricks/manifests/button.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +1 -1
- package/dist/shared/bricks/manifests/card.manifest.d.ts +8 -5
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/divider.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.js +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +8 -5
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +1 -1
- package/dist/shared/bricks/manifests/form.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +1 -1
- package/dist/shared/bricks/manifests/image.manifest.d.ts +8 -5
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +1 -1
- package/dist/shared/bricks/manifests/map.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts +51 -59
- package/dist/shared/bricks/manifests/navbar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/navbar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/sidebar.manifest.js +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts +8 -5
- package/dist/shared/bricks/manifests/testimonials.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/testimonials.manifest.js +1 -1
- package/dist/shared/bricks/manifests/text.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts +7 -4
- package/dist/shared/bricks/manifests/timeline.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/timeline.manifest.js +1 -1
- package/dist/shared/bricks/manifests/{container.manifest.d.ts → vbox.manifest.d.ts} +9 -24
- package/dist/shared/bricks/manifests/vbox.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/vbox.manifest.js +3 -0
- package/dist/shared/bricks/manifests/video.manifest.d.ts +7 -12
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +1 -1
- package/dist/shared/bricks/props/align.js +1 -1
- package/dist/shared/bricks/props/background.js +1 -1
- package/dist/shared/bricks/props/boolean.js +1 -1
- package/dist/shared/bricks/props/border.js +1 -1
- package/dist/shared/bricks/props/color.js +1 -1
- package/dist/shared/bricks/props/common.d.ts +1 -1
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +1 -1
- package/dist/shared/bricks/props/container.d.ts +1 -3
- package/dist/shared/bricks/props/container.d.ts.map +1 -1
- package/dist/shared/bricks/props/container.js +1 -1
- package/dist/shared/bricks/props/css-length.js +1 -1
- package/dist/shared/bricks/props/datasource.js +1 -1
- package/dist/shared/bricks/props/date.js +1 -1
- package/dist/shared/bricks/props/effects.js +1 -1
- package/dist/shared/bricks/props/enum.js +1 -1
- package/dist/shared/bricks/props/file.js +1 -1
- package/dist/shared/bricks/props/geolocation.d.ts.map +1 -1
- package/dist/shared/bricks/props/geolocation.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.d.ts +2 -2
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/number.js +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/position.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts +2 -2
- package/dist/shared/bricks/props/preset.d.ts.map +1 -1
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/prop.d.ts.map +1 -1
- package/dist/shared/bricks/props/prop.js +1 -1
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks.d.ts +24 -174
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/{chunk-2CXXM2W3.js → chunk-22BDK6JV.js} +1 -1
- package/dist/shared/{chunk-R3I32SUA.js → chunk-273FK54V.js} +1 -1
- package/dist/shared/{chunk-SO4PUKI6.js → chunk-3AHXTIVQ.js} +1 -1
- package/dist/shared/{chunk-YARMHZMR.js → chunk-4KIC7WW4.js} +1 -1
- package/dist/shared/chunk-4WATTT6H.js +3 -0
- package/dist/shared/{chunk-4X522B5N.js → chunk-57QC6K6U.js} +1 -1
- package/dist/shared/{chunk-LXBGNROJ.js → chunk-5TAB5RAK.js} +1 -1
- package/dist/shared/{chunk-7TBHSQMI.js → chunk-6TUL7TXN.js} +1 -1
- package/dist/shared/chunk-76MAAKRJ.js +3 -0
- package/dist/shared/chunk-7XRXXDCC.js +3 -0
- package/dist/shared/{chunk-3EYJM6XY.js → chunk-B75W44GW.js} +1 -1
- package/dist/shared/chunk-BMC2RBNC.js +3 -0
- package/dist/shared/chunk-C2AQDHJU.js +3 -0
- package/dist/shared/{chunk-P5O7YHX7.js → chunk-C7VV6NIX.js} +1 -1
- package/dist/shared/chunk-CAHMS6EB.js +3 -0
- package/dist/shared/{chunk-QSW3MMPR.js → chunk-CJ6EZ6V3.js} +1 -1
- package/dist/shared/{chunk-L6NXGVEU.js → chunk-CM4DB7ZV.js} +1 -1
- package/dist/shared/{chunk-J4XWB2VM.js → chunk-DHX54A5X.js} +1 -1
- package/dist/shared/{chunk-A3LAQ47R.js → chunk-DJ5LWVHX.js} +1 -1
- package/dist/shared/{chunk-KUG7UEHN.js → chunk-EXD5JEQ4.js} +1 -1
- package/dist/shared/{chunk-NC52B6PI.js → chunk-FEQE56RU.js} +1 -1
- package/dist/shared/chunk-FRAPCJSY.js +3 -0
- package/dist/shared/{chunk-M45FSNRM.js → chunk-HH4AKWHD.js} +1 -1
- package/dist/shared/{chunk-KHXOD3QV.js → chunk-HT2FJOKO.js} +1 -1
- package/dist/shared/{chunk-FSC3MYBH.js → chunk-HVJI5X3Q.js} +1 -1
- package/dist/shared/{chunk-SWCBF2YC.js → chunk-J2SWSUCM.js} +1 -1
- package/dist/shared/{chunk-FMLG4AAJ.js → chunk-JPBXMW3P.js} +1 -1
- package/dist/shared/{chunk-AMKIN4XQ.js → chunk-KH7G433A.js} +1 -1
- package/dist/shared/chunk-KUYI7K5L.js +3 -0
- package/dist/shared/chunk-KVVYOKWH.js +7 -0
- package/dist/shared/{chunk-IF7JTYZC.js → chunk-LFQNWSLG.js} +1 -1
- package/dist/shared/{chunk-6NK476WH.js → chunk-MS7FWNQY.js} +1 -1
- package/dist/shared/chunk-NGTLGMHK.js +3 -0
- package/dist/shared/{chunk-2GSVQLP3.js → chunk-NI7D2E25.js} +1 -1
- package/dist/shared/chunk-NYVRSMQG.js +3 -0
- package/dist/shared/chunk-PCEPRZWT.js +3 -0
- package/dist/shared/chunk-QRUKREVW.js +8 -0
- package/dist/shared/chunk-RCZGJETI.js +5 -0
- package/dist/shared/chunk-S4XTQDRN.js +3 -0
- package/dist/shared/chunk-T37DHEM7.js +3 -0
- package/dist/shared/{chunk-Z4PFTT6D.js → chunk-T5OALMMJ.js} +1 -1
- package/dist/shared/{chunk-DPQ43AYU.js → chunk-WDMUES3K.js} +1 -1
- package/dist/shared/{chunk-DOKWQP5K.js → chunk-WQNRTOOI.js} +1 -1
- package/dist/shared/chunk-XGHNHPRQ.js +6 -0
- package/dist/shared/{chunk-CBORSFPQ.js → chunk-YAMSHPKO.js} +1 -1
- package/dist/shared/{chunk-23SRLWVK.js → chunk-YXFVFFYO.js} +1 -1
- package/dist/shared/{chunk-YZVFYTDV.js → chunk-ZGV2EX57.js} +1 -1
- package/dist/shared/{chunk-KWTNPGYO.js → chunk-ZRY4KDRV.js} +1 -1
- package/dist/shared/layout-constants.d.ts +3 -8
- package/dist/shared/layout-constants.d.ts.map +1 -1
- package/dist/shared/layout-constants.js +1 -1
- package/dist/shared/page.d.ts +8 -58
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +1 -1
- package/dist/shared/site.d.ts +8 -58
- package/dist/shared/site.d.ts.map +1 -1
- package/dist/shared/site.js +1 -1
- package/dist/shared/utils/schema-resolver.js +1 -1
- package/package.json +2 -2
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/container.manifest.js +0 -3
- package/dist/shared/chunk-3ZOVOEU7.js +0 -3
- package/dist/shared/chunk-5YPQWIV7.js +0 -3
- package/dist/shared/chunk-7A43OZH7.js +0 -3
- package/dist/shared/chunk-7KA5FUNO.js +0 -3
- package/dist/shared/chunk-EOVJJPAI.js +0 -3
- package/dist/shared/chunk-EQ5O36G6.js +0 -8
- package/dist/shared/chunk-H5NIO2T3.js +0 -3
- package/dist/shared/chunk-N5RZCQKL.js +0 -5
- package/dist/shared/chunk-OSP2UZP5.js +0 -3
- package/dist/shared/chunk-RSASISDI.js +0 -3
- package/dist/shared/chunk-TCV2VXIZ.js +0 -7
- package/dist/shared/chunk-U4BUMXLG.js +0 -3
- package/dist/shared/chunk-U6I5T4P6.js +0 -3
- package/dist/shared/chunk-UCLQPXQC.js +0 -3
- package/dist/shared/chunk-V4ATADE7.js +0 -3
- package/dist/shared/chunk-WARHNU5Z.js +0 -3
- package/dist/shared/chunk-ZSYMFVU5.js +0 -6
|
@@ -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 r,d as o}from"./chunk-
|
|
3
|
+
import{a as r,d as o}from"./chunk-273FK54V.js";import{a as l}from"./chunk-4WATTT6H.js";import{c as a,d as i}from"./chunk-NI7D2E25.js";import{a as n}from"./chunk-SFKZAUPW.js";import{a as e}from"./chunk-EXD5JEQ4.js";import{RxButton as s}from"react-icons/rx";import{Type as t}from"@sinclair/typebox";var d=l({type:"button",name:"Button",repeatable:!0,description:"A button with text and optional icon",icon:s,props:a({variants:t.Array(t.Union([t.Literal("btn-neutral",{title:"Neutral","ui:variant-type":"color"}),t.Literal("btn-primary",{title:"Primary","ui:variant-type":"color"}),t.Literal("btn-secondary",{title:"Secondary","ui:variant-type":"color"}),t.Literal("btn-accent",{title:"Accent","ui:variant-type":"color"}),t.Literal("btn-info",{title:"Info","ui:variant-type":"color"}),t.Literal("btn-success",{title:"Success","ui:variant-type":"color"}),t.Literal("btn-warning",{title:"Warning","ui:variant-type":"color"}),t.Literal("btn-error",{title:"Error","ui:variant-type":"color"}),t.Literal("btn-outline",{title:"Outline","ui:variant-type":"style"}),t.Literal("btn-dash",{title:"Dash","ui:variant-type":"style"}),t.Literal("btn-soft",{title:"Soft","ui:variant-type":"style"}),t.Literal("btn-ghost",{title:"Ghost","ui:variant-type":"style"}),t.Literal("btn-link",{title:"Link","ui:variant-type":"style"}),t.Literal("btn-active",{title:"Active","ui:variant-type":"behavior"}),t.Literal("btn-disabled",{title:"Disabled","ui:variant-type":"behavior"}),t.Literal("btn-icon-left",{title:"Icon left","ui:variant-type":"icon"}),t.Literal("btn-icon-right",{title:"Icon right","ui:variant-type":"icon"}),t.Literal("btn-xs",{title:"Extra small","ui:variant-type":"size"}),t.Literal("btn-sm",{title:"Small","ui:variant-type":"size"}),t.Literal("btn-md",{title:"Medium","ui:variant-type":"size"}),t.Literal("btn-lg",{title:"Large","ui:variant-type":"size"}),t.Literal("btn-xl",{title:"Extra large","ui:variant-type":"size"}),t.Literal("btn-wide",{title:"Wide","ui:variant-type":"modifier"}),t.Literal("btn-block",{title:"Block","ui:variant-type":"modifier"}),t.Literal("btn-square",{title:"Square","ui:variant-type":"modifier"}),t.Literal("btn-circle",{title:"Circle","ui:variant-type":"modifier"})],{title:"Variant",description:"Button variants.","ai:tip":"Those are DaisyUI button variants"})),label:r("Label",{default:"My button"}),type:i(e({title:"Type",schema:n(["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:r("Icon",{description:"Icon to display (iconify reference)","ui:field":"iconify"})})),linkToUrlOrPageId:i(o({title:"Link"}))})}),f=[{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{d as a,f 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-SFKZAUPW.js";import{a as t}from"./chunk-QSKUUUXU.js";import{a as e}from"./chunk-
|
|
3
|
+
import{a as p}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-QSKUUUXU.js";import{a as e}from"./chunk-EXD5JEQ4.js";function r(){return e({title:"Padding",schema:p(["p-0","p-px","p-2","p-4","p-6","p-8","p-10","p-12","p-16","p-24"],{$id:"styles:padding",enumNames:["No padding","Minimal","S","M","L","XL","2XL","3XL","4XL","6XL"],description:"Space between the content and the border","ai:instructions":"Can be a tailwind class like `p-4` or a custom value like `p-[16px]`.","ui:field":"enum","ui:responsive":!0,"ui:styleId":"styles:padding"})})}function a(i={}){return t("styles:padding",{...i,"ui:styleId":"styles:padding"})}export{r as a,a 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 t}from"./chunk-
|
|
3
|
+
import{a as t}from"./chunk-EXD5JEQ4.js";import{Type as e}from"@sinclair/typebox";function o(){return t({title:"Database",description:"Reference to a data source. Only used for dynamic websites",schema:e.Object({id:e.String({title:"Data Source ID"}),mapping:e.Record(e.String(),e.String(),{description:"Mapping of data source fields to brick props"}),filters:e.Optional(e.Record(e.String(),e.Object({op:e.Union([e.Literal("eq"),e.Literal("ne"),e.Literal("lt"),e.Literal("lte"),e.Literal("gt"),e.Literal("gte"),e.Literal("in"),e.Literal("nin"),e.Literal("contains"),e.Literal("startsWith"),e.Literal("endsWith")]),value:e.String()}),{description:"Filter data source records"})),sort:e.Optional(e.Record(e.String(),e.Union([e.Literal("asc",{title:"Ascending"}),e.Literal("desc",{title:"Descending"})]),{description:"Sort data source records"})),limit:e.Optional(e.Number({description:"Limit the number of records to fetch"})),offset:e.Optional(e.Number({description:"Offset the records to fetch"}))},{"ui:field":"datasource-ref","ui:meta-type":"datasource-ref",description:"Datasource reference. Only used for dynamic websites. Do not use for static websites"})})}export{o as a};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
export declare const LAYOUT_COLS: {
|
|
5
|
-
desktop: number;
|
|
6
|
-
mobile: number;
|
|
7
|
-
};
|
|
1
|
+
export declare const LAYOUT_COLS = 24;
|
|
2
|
+
export declare const GAP = 12;
|
|
8
3
|
export declare const LAYOUT_BREAKPOINTS: {
|
|
9
4
|
desktop: number;
|
|
10
5
|
mobile: number;
|
|
@@ -15,5 +10,5 @@ export declare const LAYOUT_BREAKPOINTS: {
|
|
|
15
10
|
/**
|
|
16
11
|
* This is the height of a row in the layout grid.
|
|
17
12
|
*/
|
|
18
|
-
export declare const LAYOUT_ROW_HEIGHT =
|
|
13
|
+
export declare const LAYOUT_ROW_HEIGHT = 24;
|
|
19
14
|
//# sourceMappingURL=layout-constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-constants.d.ts","sourceRoot":"","sources":["../../src/shared/layout-constants.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"layout-constants.d.ts","sourceRoot":"","sources":["../../src/shared/layout-constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,KAAK,CAAC;AAC9B,eAAO,MAAM,GAAG,KAAK,CAAC;AAEtB,eAAO,MAAM,kBAAkB;;;CAG9B,CAAC;AAEF;;GAEG;AAMH;;GAEG;AACH,eAAO,MAAM,iBAAiB,KAAK,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
|
-
var o=
|
|
3
|
+
var o=24,t=12,e={desktop:1024,mobile:1},O=24;export{t as GAP,e as LAYOUT_BREAKPOINTS,o as LAYOUT_COLS,O as LAYOUT_ROW_HEIGHT};
|
package/dist/shared/page.d.ts
CHANGED
|
@@ -49,83 +49,33 @@ export declare const pageSchema: import("@sinclair/typebox").TObject<{
|
|
|
49
49
|
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
50
50
|
order: import("@sinclair/typebox").TNumber;
|
|
51
51
|
props: import("@sinclair/typebox").TObject<{
|
|
52
|
-
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
53
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
54
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
55
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
56
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
57
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
58
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
59
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
60
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
61
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
62
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
63
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
64
|
-
}>>;
|
|
65
52
|
background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
66
53
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
67
54
|
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
68
55
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
69
56
|
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
70
57
|
}>>;
|
|
71
|
-
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
72
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
73
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
74
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
75
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
76
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
77
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
78
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
79
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
80
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
81
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
82
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
83
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
84
|
-
}>>;
|
|
58
|
+
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
85
59
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
86
60
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
87
|
-
|
|
88
|
-
|
|
61
|
+
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
62
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
63
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
|
|
89
64
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
90
65
|
}>;
|
|
91
66
|
mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
92
|
-
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
93
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
94
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
95
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
96
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
97
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
98
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
99
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
100
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
101
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
102
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
103
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
104
|
-
}>>>;
|
|
105
67
|
background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
106
68
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
107
69
|
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
108
70
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
109
71
|
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
110
72
|
}>>;
|
|
111
|
-
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
112
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
113
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
114
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
115
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
116
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
117
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
118
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
119
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
120
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
121
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
122
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
123
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
124
|
-
}>>>;
|
|
73
|
+
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
125
74
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
126
75
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
127
|
-
|
|
128
|
-
|
|
76
|
+
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
77
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
78
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
|
|
129
79
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
130
80
|
}>>;
|
|
131
81
|
bricks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/shared/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAA2B,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,cAAc,IAAI,QAAQ,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,CAAC,SAAS,cAAc,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC,GAAG;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../src/shared/page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAA2B,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC/F,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,UAAU,CAAC;AAEvD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,cAAc,IAAI,QAAQ,GAAG;IAC5D;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,CAAC,SAAS,cAAc,GAAG,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;IACrE;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC,GAAG;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrB,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC"}
|
package/dist/shared/page.js
CHANGED
|
@@ -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-
|
|
3
|
+
import{a}from"./chunk-DHX54A5X.js";import"./chunk-NYVRSMQG.js";import"./chunk-J2SWSUCM.js";import"./chunk-DJ5LWVHX.js";import"./chunk-WQNRTOOI.js";import"./chunk-KUYI7K5L.js";import"./chunk-PCEPRZWT.js";import"./chunk-NGTLGMHK.js";import"./chunk-KH7G433A.js";import"./chunk-OELIU5BZ.js";import"./chunk-C2AQDHJU.js";import"./chunk-FEQE56RU.js";import"./chunk-7XRXXDCC.js";import"./chunk-CJ6EZ6V3.js";import"./chunk-HVJI5X3Q.js";import"./chunk-ZRY4KDRV.js";import"./chunk-B75W44GW.js";import"./chunk-T5OALMMJ.js";import"./chunk-RCZGJETI.js";import"./chunk-KVVYOKWH.js";import"./chunk-FRAPCJSY.js";import"./chunk-WDMUES3K.js";import"./chunk-BMC2RBNC.js";import"./chunk-MS7FWNQY.js";import"./chunk-CM4DB7ZV.js";import"./chunk-57QC6K6U.js";import"./chunk-XGHNHPRQ.js";import"./chunk-6TUL7TXN.js";import"./chunk-CAHMS6EB.js";import"./chunk-T37DHEM7.js";import"./chunk-JPBXMW3P.js";import"./chunk-HT2FJOKO.js";import"./chunk-QRUKREVW.js";import"./chunk-C7VV6NIX.js";import"./chunk-YAMSHPKO.js";import"./chunk-HH4AKWHD.js";import"./chunk-4KIC7WW4.js";import"./chunk-ZGV2EX57.js";import"./chunk-LFQNWSLG.js";import"./chunk-5TAB5RAK.js";import"./chunk-YXFVFFYO.js";import"./chunk-273FK54V.js";import"./chunk-4WATTT6H.js";import"./chunk-WCVUBYL5.js";import"./chunk-NI7D2E25.js";import"./chunk-76MAAKRJ.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-22BDK6JV.js";import"./chunk-QSKUUUXU.js";import"./chunk-EXD5JEQ4.js";export{a as pageSchema};
|
package/dist/shared/site.d.ts
CHANGED
|
@@ -431,83 +431,33 @@ declare const partialSiteAndPagesSchema: import("@sinclair/typebox").TObject<{
|
|
|
431
431
|
label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
432
432
|
order: import("@sinclair/typebox").TNumber;
|
|
433
433
|
props: import("@sinclair/typebox").TObject<{
|
|
434
|
-
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
435
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
436
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
437
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
438
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
439
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
440
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
441
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
442
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
443
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
444
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
445
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
446
|
-
}>>;
|
|
447
434
|
background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
448
435
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
449
436
|
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
450
437
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
451
438
|
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
452
439
|
}>>;
|
|
453
|
-
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
454
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
455
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
456
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
457
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
458
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
459
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
460
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
461
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
462
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
463
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
464
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
465
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
466
|
-
}>>;
|
|
440
|
+
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
467
441
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
468
442
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
469
|
-
|
|
470
|
-
|
|
443
|
+
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
444
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
445
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
|
|
471
446
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
472
447
|
}>;
|
|
473
448
|
mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
474
|
-
layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
475
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
476
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
477
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
478
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
479
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
480
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
481
|
-
gap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
482
|
-
wrap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
483
|
-
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
484
|
-
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
485
|
-
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"items-start">, import("@sinclair/typebox").TLiteral<"items-center">, import("@sinclair/typebox").TLiteral<"items-end">, import("@sinclair/typebox").TLiteral<"items-stretch">]>>;
|
|
486
|
-
}>>>;
|
|
487
449
|
background: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
488
450
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
489
451
|
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
490
452
|
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
491
453
|
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
492
454
|
}>>;
|
|
493
|
-
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
494
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
495
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
496
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
497
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
498
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
499
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
500
|
-
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
501
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
502
|
-
rounding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full">>;
|
|
503
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
504
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
505
|
-
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
506
|
-
}>>>;
|
|
455
|
+
preset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"surface-1">, import("@sinclair/typebox").TLiteral<"surface-2">, import("@sinclair/typebox").TLiteral<"surface-3">, import("@sinclair/typebox").TLiteral<"prominent-primary">, import("@sinclair/typebox").TLiteral<"prominent-secondary">, import("@sinclair/typebox").TLiteral<"prominent-accent">, import("@sinclair/typebox").TLiteral<"medium-primary">, import("@sinclair/typebox").TLiteral<"medium-secondary">, import("@sinclair/typebox").TLiteral<"medium-accent">, import("@sinclair/typebox").TLiteral<"subtle-primary">, import("@sinclair/typebox").TLiteral<"subtle-secondary">, import("@sinclair/typebox").TLiteral<"subtle-accent">, import("@sinclair/typebox").TLiteral<"light">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"preset-none">]>>;
|
|
507
456
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
508
457
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
509
|
-
|
|
510
|
-
|
|
458
|
+
fillSpace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
459
|
+
justifyContent: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch">>;
|
|
460
|
+
alignItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"items-center" | "items-start" | "items-end" | "items-stretch">>;
|
|
511
461
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
512
462
|
}>>;
|
|
513
463
|
bricks: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAA2B,KAAK,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AAOjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../src/shared/site.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,OAAO,EAA2B,KAAK,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AAOjG,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYrB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,CAAC,GAAG;IACjE,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG7B,CAAC;AAEH,KAAK,yBAAyB,GAAG,MAAM,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE1E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG;QACxC,UAAU,EAAE,gBAAgB,CAAC;KAC9B,CAAC;IACF,KAAK,EAAE,KAAK,CACV,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG;QAC/D,UAAU,CAAC,EAAE,gBAAgB,CAAC;KAC/B,CACF,CAAC;CACH,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CAgKxE"}
|
package/dist/shared/site.js
CHANGED
|
@@ -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
|
|
3
|
+
import{a as m,d as n}from"./chunk-Y6IWAOSW.js";import{b as i,d}from"./chunk-ZLZLOU5E.js";import{a as p}from"./chunk-DHX54A5X.js";import{a as c}from"./chunk-ZJNA4QQC.js";import{d as o}from"./chunk-VAC73HJE.js";import{a as e}from"./chunk-NYVRSMQG.js";import{c as s}from"./chunk-Y7CEEEVW.js";import{c as a,f as r}from"./chunk-J2SWSUCM.js";import"./chunk-DJ5LWVHX.js";import"./chunk-WQNRTOOI.js";import"./chunk-KUYI7K5L.js";import"./chunk-PCEPRZWT.js";import"./chunk-NGTLGMHK.js";import"./chunk-KH7G433A.js";import"./chunk-OELIU5BZ.js";import"./chunk-C2AQDHJU.js";import"./chunk-FEQE56RU.js";import"./chunk-7XRXXDCC.js";import"./chunk-CJ6EZ6V3.js";import"./chunk-HVJI5X3Q.js";import"./chunk-ZRY4KDRV.js";import"./chunk-B75W44GW.js";import"./chunk-T5OALMMJ.js";import"./chunk-RCZGJETI.js";import"./chunk-KVVYOKWH.js";import"./chunk-FRAPCJSY.js";import"./chunk-WDMUES3K.js";import"./chunk-BMC2RBNC.js";import"./chunk-MS7FWNQY.js";import"./chunk-CM4DB7ZV.js";import"./chunk-57QC6K6U.js";import"./chunk-XGHNHPRQ.js";import"./chunk-6TUL7TXN.js";import"./chunk-CAHMS6EB.js";import"./chunk-T37DHEM7.js";import"./chunk-JPBXMW3P.js";import"./chunk-HT2FJOKO.js";import"./chunk-QRUKREVW.js";import"./chunk-C7VV6NIX.js";import"./chunk-YAMSHPKO.js";import"./chunk-HH4AKWHD.js";import"./chunk-4KIC7WW4.js";import"./chunk-ZGV2EX57.js";import"./chunk-LFQNWSLG.js";import"./chunk-5TAB5RAK.js";import"./chunk-YXFVFFYO.js";import"./chunk-273FK54V.js";import"./chunk-4WATTT6H.js";import"./chunk-WCVUBYL5.js";import"./chunk-NI7D2E25.js";import"./chunk-76MAAKRJ.js";import"./chunk-SFKZAUPW.js";import"./chunk-S4XTQDRN.js";import"./chunk-22BDK6JV.js";import"./chunk-QSKUUUXU.js";import"./chunk-EXD5JEQ4.js";import{Type as t}from"@sinclair/typebox";var b=t.Object({id:t.String(),label:t.String(),hostname:t.String(),attributes:a,attr:a,datasources:t.Optional(s),datarecords:t.Optional(o),themes:t.Array(i),theme:i,sitemap:n,sitePrompt:c}),x=t.Object({site:t.Omit(b,["attributes"]),pages:t.Array(t.Composite([t.Omit(p,["attributes"]),m]))});function I(l){return{site:{id:crypto.randomUUID(),label:"New site",hostname:"example.com",sitePrompt:l,theme:d,themes:[],sitemap:[],attributes:a,attr:r()},pages:[{id:"_default_",label:"First page with really really long name that should be truncated",path:"/",sections:[{id:`s_${e()}`,label:"Top",order:1,props:{},bricks:[{id:e(),type:"navbar",props:{brand:"My Site",navigation:{staticItems:[{urlOrPageId:"/about"},{urlOrPageId:"/contact"}]}}}]},{id:`s_content-${e()}`,label:"Content",order:2,props:{},bricks:[{id:`b_${e()}`,type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}},{id:`b_${e()}`,type:"vbox",props:{$children:[{id:`b_${e()}`,type:"map",props:{location:{lat:37.7749,lng:-122.4194,tooltip:"San Francisco, CA",address:"San Francisco, CA"}}},{id:`b_${e()}`,type:"text",props:{preset:"subtle-accent",content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}}]}},{id:`b_${e()}`,type:"text",props:{preset:"subtle-accent",content:"Irure dolor sit amet, consectetur adipiscing elit."}},{id:`b_${e()}`,type:"card",props:{cardTitle:"Welcome to My Site",cardBody:"This is a sample card body. You can edit this content.",cardImage:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}}}]}],tags:[],attributes:a,attr:r()}]}}export{I as createEmptyConfig,b 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 as o}from"../chunk-
|
|
3
|
+
import{a as o}from"../chunk-3AHXTIVQ.js";import"../chunk-T37DHEM7.js";import"../chunk-JPBXMW3P.js";import"../chunk-HT2FJOKO.js";import"../chunk-C7VV6NIX.js";import"../chunk-YAMSHPKO.js";import"../chunk-HH4AKWHD.js";import"../chunk-4KIC7WW4.js";import"../chunk-ZGV2EX57.js";import"../chunk-5TAB5RAK.js";import"../chunk-273FK54V.js";import"../chunk-NI7D2E25.js";import"../chunk-76MAAKRJ.js";import"../chunk-SFKZAUPW.js";import"../chunk-S4XTQDRN.js";import"../chunk-22BDK6JV.js";import"../chunk-QSKUUUXU.js";import"../chunk-EXD5JEQ4.js";function c(e){if(!e.$ref)return e;let r=o.getSchema(e.$ref)?.schema;if(!r||typeof e!="object")throw new Error(`Schema not found for reference: ${e.$ref}`);let{$ref:f,...t}=e;return{...r,...t}}export{c as resolveSchema};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstart.gg/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.114",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"usehooks-ts": "3.1.0",
|
|
60
60
|
"zundo": "2.3.0",
|
|
61
61
|
"zustand": "4.5.5",
|
|
62
|
-
"@upstart.gg/style-system": "0.0.
|
|
62
|
+
"@upstart.gg/style-system": "0.0.114"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@headlessui/react": "^2.2.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/container.manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,eAAO,MAAM,UAAU,6EAA8D,CAAC;AAGtF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;CAC/C,EAkTA,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a,b,c}from"../../chunk-7A43OZH7.js";import"../../chunk-KWTNPGYO.js";import"../../chunk-U6I5T4P6.js";import"../../chunk-M45FSNRM.js";import"../../chunk-YARMHZMR.js";import"../../chunk-YZVFYTDV.js";import"../../chunk-LXBGNROJ.js";import"../../chunk-WARHNU5Z.js";import"../../chunk-WCVUBYL5.js";import"../../chunk-2GSVQLP3.js";import"../../chunk-3ZOVOEU7.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-H5NIO2T3.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as datasource,c as examples,b as manifest};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as l}from"./chunk-SFKZAUPW.js";import{b as o}from"./chunk-H5NIO2T3.js";import{c as i}from"./chunk-2CXXM2W3.js";import{a as t}from"./chunk-QSKUUUXU.js";import{Type as e}from"@sinclair/typebox";function p(){return e.Object({desktop:e.Boolean(),mobile:e.Boolean()},{$id:"styles:hidden",title:"Hidden",description:"Used to hide the brick on desktop or mobile.","ui:field":"hidden"})}var a={lastTouched:e.Optional(e.Number({"ui:field":"hidden","ai:hidden":!0})),hidden:e.Optional(t("styles:hidden")),editable:e.Optional(e.Boolean({description:"Do not use. It is used internally by the editor.","ui:field":"hidden","ai:hidden":!0})),width:e.Optional(i({title:"Fixed Width",description:"Set a fixed width for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ui:field":"hidden"})),height:e.Optional(i({title:"Fixed height",description:"Set a fixed height for the brick. If not set, the brick will be responsive and will follow the flex layout of its parent section.","ui:field":"hidden"})),alignSelf:e.Optional(l(["self-auto","self-start","self-center","self-end"],{title:"Align Self","ui:field":"hidden","ui:display":"button-group",description:"How the brick vertically aligns itself within its parent section.",enumNames:["Auto","Top","Center","Bottom"],default:"self-auto","ui:placeholder":"Not specified","ui:styleId":"styles:alignSelf"})),preset:e.Optional(o)};export{p as a,a as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{b as o}from"./chunk-KHXOD3QV.js";import{c as a}from"./chunk-P5O7YHX7.js";import{b as n}from"./chunk-M45FSNRM.js";import{b as r}from"./chunk-YARMHZMR.js";import{a as d}from"./chunk-WARHNU5Z.js";import{c as i,d as t}from"./chunk-2GSVQLP3.js";import{BsCardText as s}from"react-icons/bs";import{Type as e}from"@sinclair/typebox";var w=d({type:"card",name:"Card",description:"A multi-purpose card that can have a title, image, and content",repeatable:!0,icon:s,maxWidth:{mobile:400,desktop:1024},minWidth:{mobile:200,desktop:250},props:i({variants:e.Array(e.Union([e.Literal("image-first",{title:"Image First","ui:variant-type":"image-placement"}),e.Literal("image-between",{title:"Image Between","ui:variant-type":"image-placement"}),e.Literal("image-last",{title:"Image Last","ui:variant-type":"image-placement"}),e.Literal("image-overlay",{title:"Image Overlay","ui:variant-type":"image-placement"}),e.Literal("image-left-side",{title:"Image Left Side","ui:variant-type":"image-placement"}),e.Literal("image-right-side",{title:"Image Right Side","ui:variant-type":"image-placement"}),e.Literal("centered",{title:"Centered","ui:variant-type":"align"}),e.Literal("text-sm",{title:"S","ui:variant-type":"font-size"}),e.Literal("text-base",{title:"M","ui:variant-type":"font-size"}),e.Literal("text-lg",{title:"L","ui:variant-type":"font-size"}),e.Literal("text-xl",{title:"XL","ui:variant-type":"font-size"}),e.Literal("text-2xl",{title:"2XL","ui:variant-type":"font-size"})],{title:"Variants"}),{"ui:field":"variant",default:["image-between","text-base"],"ui:variant-names":{"image-placement":"Image Placement",align:"Alignment","font-size":"Base Font Size"}}),cardImage:t(o({default:{src:"https://placehold.co/300x200?text=Card+Image",alt:"Sample Card Image"}})),cardTitle:t(a({title:"Title"})),cardBody:t(a({title:"Body"})),shadow:t(n()),border:t(r({default:{width:"border",rounding:"rounded"}}))})}),x=[{description:"A simple card with a title and content",type:"card",props:{variants:["image-first"],preset:"prominent-primary",cardTitle:"Card Title",cardBody:"This is the body of the card."}},{description:"Card with image and overlay text",type:"card",props:{variants:["image-overlay","centered"],cardImage:{src:"https://via.placeholder.com/400x300",alt:"Placeholder image"},cardTitle:"Overlay Title",cardBody:"Beautiful overlay content with semi-transparent background."}},{description:"Product card with image on the left",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/200x200",alt:"Product image"},cardTitle:"Premium Headphones",cardBody:"High-quality wireless headphones with noise cancellation and 30-hour battery life."}},{description:"Feature card with large padding and background",type:"card",props:{variants:["centered"],cardTitle:"Key Feature",cardBody:"This feature provides exceptional value and enhances user experience significantly."}},{description:"Blog post card with image at the bottom",type:"card",props:{variants:["image-last"],cardTitle:"The Future of Technology",cardBody:"Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.",cardImage:{src:"https://via.placeholder.com/400x200",alt:"Technology concept"}}},{description:"Testimonial card with right-side image",type:"card",props:{variants:["image-right-side"],cardTitle:"Customer Review",cardBody:'"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"',cardImage:{src:"https://via.placeholder.com/150x150",alt:"Customer photo"}}},{description:"Minimal centered card without image",type:"card",props:{variants:["centered"],cardTitle:"Simple Announcement",cardBody:"Important updates will be posted here regularly."}},{description:"Event card with multiple variants",type:"card",props:{variants:["image-first","centered"],cardImage:{src:"https://via.placeholder.com/400x250",alt:"Event venue"},cardTitle:"Annual Conference 2025",cardBody:"Join us for three days of inspiring talks, networking opportunities, and hands-on workshops."}},{description:"News article card with compact layout",type:"card",props:{variants:["image-left-side"],cardImage:{src:"https://via.placeholder.com/120x120",alt:"News thumbnail"},cardTitle:"Breaking News Update",cardBody:"Latest developments in the ongoing story with expert analysis and community reactions."}},{description:"Call-to-action card with prominent styling",type:"card",props:{variants:["centered"],cardTitle:"Get Started Today",cardBody:"Transform your workflow with our powerful tools. Sign up now and get 30 days free!"}}];export{w as a,x as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as d}from"./chunk-KWTNPGYO.js";import{b as r,c as n}from"./chunk-U6I5T4P6.js";import{b as p}from"./chunk-M45FSNRM.js";import{b as a}from"./chunk-YARMHZMR.js";import{b as i}from"./chunk-YZVFYTDV.js";import{b as o}from"./chunk-LXBGNROJ.js";import{a as s}from"./chunk-WARHNU5Z.js";import{c as t,d as e}from"./chunk-2GSVQLP3.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};
|
|
@@ -1,3 +0,0 @@
|
|
|
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-TCV2VXIZ.js";import{a as p,b as D}from"./chunk-OSP2UZP5.js";import{a as s,b as B}from"./chunk-UCLQPXQC.js";import{b as n,c as j}from"./chunk-AMKIN4XQ.js";import{b as o,c as W}from"./chunk-RSASISDI.js";import{b as l,c as w}from"./chunk-U4BUMXLG.js";import{a as d,b as G}from"./chunk-QSW3MMPR.js";import{a as E,b as F}from"./chunk-3EYJM6XY.js";import{a as u,b as I}from"./chunk-Z4PFTT6D.js";import{a as m,b as R}from"./chunk-N5RZCQKL.js";import{a as r,b as L}from"./chunk-5YPQWIV7.js";import{a as y,b as q}from"./chunk-DPQ43AYU.js";import{b as i,c as h}from"./chunk-7A43OZH7.js";import{a as g,b as H}from"./chunk-V4ATADE7.js";import{a as x,b as z}from"./chunk-6NK476WH.js";import{a as f,b as P}from"./chunk-4X522B5N.js";import{a,b as v}from"./chunk-ZSYMFVU5.js";import{a as M,b as C}from"./chunk-7TBHSQMI.js";import{a as t,b}from"./chunk-EQ5O36G6.js";import{a as c,b as A}from"./chunk-23SRLWVK.js";import{b as e}from"./chunk-WARHNU5Z.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 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as m}from"./chunk-DOKWQP5K.js";import{b as r}from"./chunk-7KA5FUNO.js";import{d as c}from"./chunk-U6I5T4P6.js";import{b as d}from"./chunk-YARMHZMR.js";import{b as l}from"./chunk-LXBGNROJ.js";import{b as u}from"./chunk-WCVUBYL5.js";import{a}from"./chunk-2GSVQLP3.js";import{a as p}from"./chunk-SFKZAUPW.js";import{b as n}from"./chunk-H5NIO2T3.js";import{b as s,c as o}from"./chunk-2CXXM2W3.js";import{Type as t}from"@sinclair/typebox";import{customAlphabet as b}from"nanoid";import{merge as f}from"lodash-es";var $=b("azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN",7),C=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."}))}),y=p(Object.keys(r),{title:"Brick type"}),x=t.Object({id:t.String({title:"ID",description:"A unique identifier for the brick."}),type:y,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}),h=t.Object({layout:t.Optional(a({title:"Layout",children:c({defaults:{gap:"gap-4",wrap:!0,fillSpace:!1,alignItems:"items-stretch",justifyContent:"justify-stretch"}})})),background:t.Optional(l()),preset:t.Optional(n),border:t.Optional(d()),minHeight:t.Optional(o({title:"Min height",default:"0px",description:"The min height of the section","ui:styleId":"minHeight","ui:advanced":!0})),maxWidth:t.Optional(m("Max 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:"10px",description:"Horizontal padding. Desktop only","ui:styleId":"minHeight"})),verticalPadding:t.Optional(s({title:"Vertical padding",default:"10px",description:"Vertical padding. Default is 10px.","ui:styleId":"verticalPadding"})),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"}),S=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:h,mobileProps:t.Optional(t.Partial(h,{additionalProperties:!1})),bricks:t.Array(x)},{$id:"section",description:"Sections are direct children of the page that are stacked vertically, but they always align their children horizontally (flex-row)."}),O=u(S.properties.props);function M(e){return e.map(i=>({...i,props:f({},O,i.props),bricks:i.bricks.map(g)}))}function g(e){let i=r[e.type];return{...e,props:f({},i.props,{...e.props,...e.props.$children?{$children:e.props.$children.map(g)}:{}})}}export{$ as a,y as b,x as c,h as d,S as e,O as f,M as g,g as h};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as m,c as a}from"./chunk-P5O7YHX7.js";import{b as u}from"./chunk-M45FSNRM.js";import{b as c}from"./chunk-YARMHZMR.js";import{b as d}from"./chunk-CBORSFPQ.js";import{b as p}from"./chunk-YZVFYTDV.js";import{a as i}from"./chunk-IF7JTYZC.js";import{d as r}from"./chunk-LXBGNROJ.js";import{a as f}from"./chunk-WARHNU5Z.js";import{a as o,c as l,d as e}from"./chunk-2GSVQLP3.js";import{a as s}from"./chunk-SFKZAUPW.js";import{a as t}from"./chunk-KUG7UEHN.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
|
-
This accordion element displays content in collapsible panels.
|
|
5
|
-
It is typically used for FAQ sections, organized documentation, or to save space.
|
|
6
|
-
Each item has a title and expandable content area.
|
|
7
|
-
Multiple panels can be open simultaneously or limited to one at a time.
|
|
8
|
-
`.trim(),icon:y,defaultHeight:{desktop:10,mobile:15},defaultWidth:{desktop:36,mobile:24},props:l({container:e(o({title:"Container",children:{backgroundColor:e(r()),padding:e(p()),border:e(c()),shadow:e(u())}})),items:t({title:"Accordion items",schema:n.Array(n.Object({title:a({title:"Title",default:"My title",disableSizing:!0}),content:a({title:"Content",default:"Expandable content goes here"}),defaultOpen:e(i("Open by default",!1))}))}),itemsStyles:e(o({title:"Accordion item styles",children:{backgroundColor:e(r()),color:e(d()),fontSize:m("text-base")}})),allowMultiple:t({title:"Accordion items",schema:i("Allow multiple open",!0,{description:"Allow multiple accordion items to be open at the same time"})}),variants:n.Array(s(["collapse-arrow","collapse-plus"],{default:["collapse-arrow"],enumNames:["With Arrow indicator","With + indicator"]}))},{default:{container:{padding:"p-6",backgroundColor:"bg-transparent"},allowMultiple:!0,variants:["collapse-arrow"]}})}),j=[{description:"FAQ section with card styling with single open",type:"accordion",props:{container:{backgroundColor:"bg-base-50",padding:"p-8",border:{rounding:"rounded-lg"},shadow:"shadow-lg"},variants:["collapse-plus"],allowMultiple:!1,items:[{title:"What is included in the basic plan?",content:"The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.",defaultOpen:!0},{title:"How do I cancel my subscription?",content:"You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle."},{title:"Is there a free trial available?",content:"Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period."},{title:"What payment methods do you accept?",content:"We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners."},{title:"Do you offer refunds?",content:"We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund."}]}},{description:"Product features with arrow indicator and multiple open",type:"accordion",props:{container:{padding:"p-4"},variants:["collapse-arrow"],allowMultiple:!0,items:[{title:"Advanced Analytics",content:"Get detailed insights into your data with our comprehensive analytics dashboard. Track key metrics, generate custom reports, and identify trends with powerful visualization tools.",defaultOpen:!0},{title:"Team Collaboration",content:"Work seamlessly with your team using real-time collaboration features. Share projects, assign tasks, leave comments, and track progress all in one place."},{title:"API Integration",content:"Connect with your existing tools and workflows using our robust API. Full documentation, SDKs for popular languages, and webhook support included."},{title:"Security & Compliance",content:"Enterprise-grade security with SOC 2 compliance, data encryption at rest and in transit, SSO support, and comprehensive audit logs."}]}}];export{R as a,j as b};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as r}from"./chunk-QSKUUUXU.js";import{Type as e}from"@sinclair/typebox";function a(t){return e.Union([e.Literal("surface-1",{title:"Surface 1",description:"Surface elevation 1, light background with dark text."}),e.Literal("surface-2",{title:"Surface 2",description:"Surface elevation 2, slightly darker background with dark text."}),e.Literal("surface-3",{title:"Surface 3",description:"Surface elevation 3, even darker background with dark text."}),e.Literal("prominent-primary",{title:"Prominent Primary",description:"Prominent display on primary-700 background."}),e.Literal("prominent-secondary",{title:"Prominent Secondary",description:"Prominent display on secondary-700 background."}),e.Literal("prominent-accent",{title:"Prominent Accent",description:"Prominent display on accent-700 background."}),e.Literal("medium-primary",{title:"Medium Primary",description:"Filled display on primary-200 background."}),e.Literal("medium-secondary",{title:"Medium Secondary",description:"Medium display on secondary-200 background."}),e.Literal("medium-accent",{title:"Medium Accent",description:"Medium display on accent-200 background."}),e.Literal("subtle-primary",{title:"Subtle Primary",description:"Subtle display on primary-100 background and 1px border."}),e.Literal("subtle-secondary",{title:"Subtle Secondary",description:"Subtle display on secondary-100 background and 1px border."}),e.Literal("subtle-accent",{title:"Subtle Accent",description:"Subtle display on accent-100 background and 1px border."}),e.Literal("preset-none",{title:"None",description:"No background and no border. Useful for bricks inside a card or a container that already have a surface/background."})],{$id:"styles:preset",title:"Preset",description:"Styles presets are used to maintain styles consistency across the application.",default:t??"preset-none","ui:field":"hidden"})}var c=r("styles:preset"),n={"surface-1":{"styles:backgroundColor":"bg-base-100","styles:color":"text-base-content","styles:border":{color:"border-base-200"}},"surface-2":{"styles:backgroundColor":"bg-base-200","styles:color":"text-base-content","styles:border":{color:"border-base-300"}},"surface-3":{"styles:backgroundColor":"bg-base-300","styles:color":"text-base-content","styles:border":{color:"border-base-200"}},"prominent-primary":{"styles:backgroundColor":"bg-primary-700","styles:color":"text-primary","styles:border":{color:"border-primary-800"}},"prominent-secondary":{"styles:backgroundColor":"bg-secondary-700","styles:color":"text-secondary","styles:border":{color:"border-secondary-800"}},"prominent-accent":{"styles:backgroundColor":"bg-accent-700","styles:color":"text-accent","styles:border":{color:"border-accent-800"}},"medium-primary":{"styles:backgroundColor":"bg-primary-200","styles:color":"text-primary-800","styles:border":{color:"border-primary-300"}},"medium-secondary":{"styles:backgroundColor":"bg-secondary-200","styles:color":"text-secondary-800","styles:border":{color:"border-secondary-300"}},"medium-accent":{"styles:backgroundColor":"bg-accent-200","styles:color":"text-accent-800","styles:border":{color:"border-accent-300"}},"subtle-primary":{"styles:backgroundColor":"bg-primary-100","styles:color":"text-primary-800","styles:border":{color:"border-primary-200"}},"subtle-secondary":{"styles:backgroundColor":"bg-secondary-100","styles:color":"text-secondary-800","styles:border":{color:"border-secondary-200"}},"subtle-accent":{"styles:backgroundColor":"bg-accent-100","styles:color":"text-accent-800","styles:border":{color:"border-accent-200"}},"preset-none":{}};export{a,c as b,n as c};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{c as s}from"./chunk-P5O7YHX7.js";import{b as a}from"./chunk-M45FSNRM.js";import{b as n}from"./chunk-YARMHZMR.js";import{b as i}from"./chunk-CBORSFPQ.js";import{b as r}from"./chunk-YZVFYTDV.js";import{d as o}from"./chunk-LXBGNROJ.js";import{a as p}from"./chunk-WARHNU5Z.js";import{c as t,d as e}from"./chunk-2GSVQLP3.js";import{RxTextAlignLeft as l}from"react-icons/rx";var x=p({type:"text",kind:"brick",name:"Text",description:"Text with formatting options",aiInstructions:`Text "content" can contain minimal HTML tags like <strong>, <em>, <br> and <a> as well as <p> and <span> and lists.
|
|
4
|
-
Only 'align' is supported as an inline style, so don't use other inline styles like 'font-size' or 'color' in the content prop.
|
|
5
|
-
`,defaultHeight:{desktop:7,mobile:7},defaultWidth:{desktop:6,mobile:6},repeatable:!0,icon:l,props:t({content:s(),backgroundColor:e(o()),color:e(i()),padding:e(r({default:"p-4"})),border:e(n()),shadow:e(a())},{default:{padding:"p-8"}})}),w=[{description:"Welcome paragraph with emphasis, using a preset",type:"text",props:{preset:"prominent-primary",content:"Welcome to our platform! We're <strong>excited</strong> to have you here. Our mission is to <em>transform</em> the way you work with cutting-edge technology and <a href='/features'>innovative features</a>.",padding:"p-16"}},{description:"Feature list with HTML formatting",type:"text",props:{content:"<h3>Key Features</h3><ul><li><strong>Advanced Analytics</strong> - Real-time data insights</li><li><strong>Cloud Integration</strong> - Seamless connectivity</li><li><strong>24/7 Support</strong> - Always here to help</li></ul>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Quote block with styling",type:"text",props:{content:`<p style='text-align: center'><em>"Innovation distinguishes between a leader and a follower."</em><br><strong>- Steve Jobs</strong></p>`,backgroundColor:"#1e293b",color:"#f1f5f9",padding:"p-8"}},{description:"Multi-paragraph article content",type:"text",props:{content:"<p>The future of web development is rapidly evolving with new technologies and frameworks emerging every year. <strong>Modern developers</strong> need to stay current with trends while maintaining focus on <em>user experience</em> and performance.</p><p>Our platform provides the tools and resources you need to build <a href='/docs'>exceptional web applications</a> that scale with your business needs.</p><p>Join thousands of developers who trust our solutions for their most critical projects.</p>",padding:"p-8"}},{description:"Call-to-action text with bright styling",type:"text",props:{content:"<p style='text-align: center'><strong>Ready to Get Started?</strong><br>Join over <span style='color: #ef4444'>50,000</span> satisfied customers and transform your business today!</p><p style='text-align: center'><a href='/signup'>Sign up now</a> and get your first month <em>absolutely free</em>.</p>",backgroundColor:"#fef3c7",color:"#92400e"}},{description:"Simple heading with subtle background",type:"text",props:{content:"<h2>About Our Company</h2><p>We've been serving customers since 2010, building trust through quality products and exceptional service.</p>",backgroundColor:"#f0f9ff"}},{description:"Technical documentation snippet",type:"text",props:{content:"<h4>API Configuration</h4><p>To get started with our API, you'll need to:</p><ol><li>Create an account and <strong>generate an API key</strong></li><li>Install the SDK: <code>npm install @company/sdk</code></li><li>Initialize with your credentials</li></ol><p>For detailed instructions, visit our <a href='/docs/api'>API documentation</a>.</p>",backgroundColor:"#f8fafc",padding:"p-8"}},{description:"Team introduction with formatting",type:"text",props:{content:"<p style='text-align: center'><strong>Meet Our Team</strong></p><p>Our diverse team of experts brings together decades of experience in technology, design, and business strategy. We're passionate about <em>creating solutions</em> that make a real difference.</p><p><a href='/team'>Learn more about our team</a> and the values that drive us forward.</p>",padding:"p-8",color:"#374151"}},{description:"Warning notice with dark theme",type:"text",props:{content:"<p><strong>\u26A0\uFE0F Important Notice:</strong><br>Scheduled maintenance will occur on <em>Sunday, March 15th</em> from 2:00 AM to 6:00 AM UTC.</p><p>During this time, some features may be temporarily unavailable. We apologize for any inconvenience.</p>",backgroundColor:"#dc2626",color:"#fef2f2",padding:"p-8"}},{description:"Success message with green theme",type:"text",props:{content:"<p style='text-align: center'><strong>\u2705 Success!</strong><br>Your account has been created successfully.</p><p style='text-align: center'>Check your email for verification instructions and <a href='/dashboard' style='color: #065f46'>start exploring</a> your new dashboard.</p>",backgroundColor:"#d1fae5",padding:"p-8"}}];export{x as a,w as b};
|