@upstart.gg/sdk 0.0.78 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/cli/api.js +3 -3
- package/dist/node/cli/commands/build/cmd-build.js +1 -1
- package/dist/node/cli/commands/login/cmd-login.js +8 -8
- package/dist/node/cli/commands/logout/cmd-logout.js +3 -3
- package/dist/node/cli/commands/publish/cmd-publish.js +19 -19
- package/dist/node/cli/commands/publish/parse-gitignore.d.ts +1 -1
- package/dist/node/cli/commands/publish/parse-gitignore.js +2 -2
- package/dist/node/cli/commands/publish/uploader.js +6 -6
- package/dist/node/cli/constants.d.ts +2 -2
- package/dist/node/cli/constants.d.ts.map +1 -1
- package/dist/node/cli/constants.js +2 -2
- package/dist/node/cli/is-logged-in.js +3 -3
- package/dist/node/cli/program.js +16 -16
- package/dist/node/cli/store.js +2 -2
- package/dist/node/cli/types.js +1 -1
- package/dist/node/cli/utils.js +1 -1
- package/dist/node/shared/config.d.ts +1 -1
- package/dist/node/shared/config.d.ts.map +1 -1
- package/dist/node/shared/config.js +6 -6
- package/dist/node/shared/logger.d.ts +2 -2
- package/dist/node/shared/logger.d.ts.map +1 -1
- package/dist/node/shared/logger.js +3 -3
- package/dist/shared/ajv.d.ts +1 -0
- package/dist/shared/ajv.d.ts.map +1 -1
- package/dist/shared/ajv.js +2 -2
- package/dist/shared/analytics/init.js +1 -1
- package/dist/shared/analytics/track.js +1 -1
- package/dist/shared/analytics/types.js +1 -1
- package/dist/shared/attributes.d.ts +18 -13
- package/dist/shared/attributes.d.ts.map +1 -1
- package/dist/shared/attributes.js +2 -2
- package/dist/shared/brick-manifest.d.ts +95 -46
- package/dist/shared/brick-manifest.d.ts.map +1 -1
- package/dist/shared/brick-manifest.js +2 -2
- package/dist/shared/bricks/manifests/all-manifests.d.ts +2 -3
- package/dist/shared/bricks/manifests/all-manifests.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/all-manifests.js +2 -2
- package/dist/shared/bricks/manifests/button.manifest.d.ts +43 -124
- package/dist/shared/bricks/manifests/button.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/button.manifest.js +2 -2
- package/dist/shared/bricks/manifests/card.manifest.d.ts +76 -137
- package/dist/shared/bricks/manifests/card.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/card.manifest.js +2 -2
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts +40 -124
- package/dist/shared/bricks/manifests/carousel.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/carousel.manifest.js +2 -2
- package/dist/shared/bricks/manifests/container.manifest.d.ts +205 -123
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +2 -2
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts +40 -76
- package/dist/shared/bricks/manifests/countdown.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/countdown.manifest.js +2 -2
- package/dist/shared/bricks/manifests/footer.manifest.d.ts +64 -75
- package/dist/shared/bricks/manifests/footer.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/footer.manifest.js +2 -2
- package/dist/shared/bricks/manifests/form.manifest.d.ts +40 -78
- package/dist/shared/bricks/manifests/form.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/form.manifest.js +2 -2
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts +43 -124
- package/dist/shared/bricks/manifests/generic-component.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/generic-component.manifest.js +2 -2
- package/dist/shared/bricks/manifests/header.manifest.d.ts +257 -75
- package/dist/shared/bricks/manifests/header.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/header.manifest.js +2 -2
- package/dist/shared/bricks/manifests/hero.manifest.d.ts +100 -113
- package/dist/shared/bricks/manifests/hero.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/hero.manifest.js +2 -2
- package/dist/shared/bricks/manifests/icon.manifest.d.ts +40 -76
- package/dist/shared/bricks/manifests/icon.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/icon.manifest.js +2 -2
- package/dist/shared/bricks/manifests/image.manifest.d.ts +84 -77
- package/dist/shared/bricks/manifests/image.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/image.manifest.js +2 -2
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts +184 -0
- package/dist/shared/bricks/manifests/images-gallery.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/images-gallery.manifest.js +3 -0
- package/dist/shared/bricks/manifests/map.manifest.d.ts +40 -74
- package/dist/shared/bricks/manifests/map.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/map.manifest.js +2 -2
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts +57 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/sidebar.manifest.js +3 -0
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts +40 -76
- package/dist/shared/bricks/manifests/social-links.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/social-links.manifest.js +2 -2
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts +2 -0
- package/dist/shared/bricks/manifests/tests/header.manifest.test.d.ts.map +1 -0
- package/dist/shared/bricks/manifests/text.manifest.d.ts +87 -118
- package/dist/shared/bricks/manifests/text.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/text.manifest.js +2 -2
- package/dist/shared/bricks/manifests/video.manifest.d.ts +40 -78
- package/dist/shared/bricks/manifests/video.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/video.manifest.js +2 -2
- package/dist/shared/bricks/props/_docs-common-styles.d.ts +59 -0
- package/dist/shared/bricks/props/_docs-common-styles.d.ts.map +1 -0
- package/dist/shared/bricks/props/_docs-common-styles.js +3 -0
- package/dist/shared/bricks/props/_style-presets.d.ts +18 -0
- package/dist/shared/bricks/props/_style-presets.d.ts.map +1 -0
- package/dist/shared/bricks/props/_style-presets.js +3 -0
- package/dist/shared/bricks/props/align.d.ts +15 -0
- package/dist/shared/bricks/props/align.d.ts.map +1 -0
- package/dist/shared/bricks/props/align.js +3 -0
- package/dist/shared/bricks/props/background.d.ts +23 -0
- package/dist/shared/bricks/props/background.d.ts.map +1 -0
- package/dist/shared/bricks/props/background.js +3 -0
- package/dist/shared/bricks/props/boolean.d.ts +4 -0
- package/dist/shared/bricks/props/boolean.d.ts.map +1 -0
- package/dist/shared/bricks/props/boolean.js +3 -0
- package/dist/shared/bricks/props/border.d.ts +27 -0
- package/dist/shared/bricks/props/border.d.ts.map +1 -0
- package/dist/shared/bricks/props/border.js +3 -0
- package/dist/shared/bricks/props/common.d.ts +5 -39
- package/dist/shared/bricks/props/common.d.ts.map +1 -1
- package/dist/shared/bricks/props/common.js +2 -2
- package/dist/shared/bricks/props/container.d.ts +73 -0
- package/dist/shared/bricks/props/container.d.ts.map +1 -0
- package/dist/shared/bricks/props/container.js +3 -0
- package/dist/shared/bricks/props/datasource.d.ts +18 -0
- package/dist/shared/bricks/props/datasource.d.ts.map +1 -0
- package/dist/shared/bricks/props/datasource.js +3 -0
- package/dist/shared/bricks/props/effects.d.ts +39 -0
- package/dist/shared/bricks/props/effects.d.ts.map +1 -0
- package/dist/shared/bricks/props/effects.js +3 -0
- package/dist/shared/bricks/props/helpers.d.ts +29 -0
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -0
- package/dist/shared/bricks/props/helpers.js +3 -0
- package/dist/shared/bricks/props/image.d.ts +15 -0
- package/dist/shared/bricks/props/image.d.ts.map +1 -0
- package/dist/shared/bricks/props/image.js +3 -0
- package/dist/shared/bricks/props/number.d.ts +6 -0
- package/dist/shared/bricks/props/number.d.ts.map +1 -0
- package/dist/shared/bricks/props/number.js +3 -0
- package/dist/shared/bricks/props/padding.d.ts +4 -0
- package/dist/shared/bricks/props/padding.d.ts.map +1 -0
- package/dist/shared/bricks/props/padding.js +3 -0
- package/dist/shared/bricks/props/position.d.ts +6 -0
- package/dist/shared/bricks/props/position.d.ts.map +1 -0
- package/dist/shared/bricks/props/position.js +3 -0
- package/dist/shared/bricks/props/string.d.ts +11 -0
- package/dist/shared/bricks/props/string.d.ts.map +1 -0
- package/dist/shared/bricks/props/string.js +3 -0
- package/dist/shared/bricks/props/tests/align.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/align.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/background.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/background.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/border.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/border.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/container.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/container.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/effects.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/effects.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/helpers.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/helpers.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/image.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/image.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/padding.d.ts +2 -0
- package/dist/shared/bricks/props/tests/padding.d.ts.map +1 -0
- package/dist/shared/bricks/props/tests/string.test.d.ts +2 -0
- package/dist/shared/bricks/props/tests/string.test.d.ts.map +1 -0
- package/dist/shared/bricks/props/text.d.ts +14 -0
- package/dist/shared/bricks/props/text.d.ts.map +1 -0
- package/dist/shared/bricks/props/text.js +3 -0
- package/dist/shared/bricks/props/types.d.ts +43 -0
- package/dist/shared/bricks/props/types.d.ts.map +1 -0
- package/dist/shared/bricks/props/types.js +2 -0
- package/dist/shared/bricks.d.ts +88 -1527
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +2 -2
- package/dist/shared/chunk-3CY6AZG7.js +3 -0
- package/dist/shared/chunk-3YDMOB7M.js +3 -0
- package/dist/shared/{chunk-X7ABR5GQ.js → chunk-6GYFUI5C.js} +2 -2
- package/dist/shared/chunk-6I4PY5WS.js +3 -0
- package/dist/shared/{chunk-KXVIWTJN.js → chunk-7XTKGW6E.js} +1 -1
- package/dist/shared/chunk-AZ63RF3K.js +3 -0
- package/dist/shared/chunk-BK6LBWDI.js +3 -0
- package/dist/shared/chunk-BMDB2V7J.js +3 -0
- package/dist/shared/chunk-CSBX76ZN.js +3 -0
- package/dist/shared/chunk-DAPQ4JPP.js +3 -0
- package/dist/shared/chunk-EFJQECVB.js +3 -0
- package/dist/shared/chunk-F2ZVIFHO.js +3 -0
- package/dist/shared/chunk-FGU4BGP4.js +3 -0
- package/dist/shared/chunk-H6L4KRCJ.js +3 -0
- package/dist/shared/chunk-HIZPJNEM.js +3 -0
- package/dist/shared/chunk-HW5TY2QW.js +3 -0
- package/dist/shared/chunk-IWSVY2VC.js +3 -0
- package/dist/shared/chunk-JVDUEZYO.js +3 -0
- package/dist/shared/chunk-KB4HY432.js +3 -0
- package/dist/shared/chunk-LDOM2LJF.js +3 -0
- package/dist/shared/chunk-NFU5BF6G.js +3 -0
- package/dist/shared/{chunk-A3ACTIE3.js → chunk-NNVPTAAH.js} +1 -1
- package/dist/shared/chunk-P5FVZ5PL.js +3 -0
- package/dist/shared/chunk-P7WL7MYK.js +3 -0
- package/dist/shared/chunk-PD7P5KSV.js +3 -0
- package/dist/shared/chunk-PJ6HA55L.js +3 -0
- package/dist/shared/chunk-PSSJMWGU.js +3 -0
- package/dist/shared/chunk-Q4MXTCE4.js +8 -0
- package/dist/shared/chunk-QRBMK5UX.js +3 -0
- package/dist/shared/chunk-RBYYMUOZ.js +3 -0
- package/dist/shared/chunk-SO5M7CYA.js +3 -0
- package/dist/shared/chunk-SQVL4WSX.js +3 -0
- package/dist/shared/chunk-TQ23UATQ.js +3 -0
- package/dist/shared/chunk-U44NTSIO.js +3 -0
- package/dist/shared/chunk-U4R5EGBK.js +3 -0
- package/dist/shared/chunk-WJ5CDDXW.js +3 -0
- package/dist/shared/chunk-WOEBR25A.js +3 -0
- package/dist/shared/chunk-WPTVLIYS.js +3 -0
- package/dist/shared/{chunk-XGI243DO.js → chunk-WXKRIUTA.js} +1 -1
- package/dist/shared/chunk-XBX6II3M.js +3 -0
- package/dist/shared/chunk-XEQ2XZLQ.js +3 -0
- package/dist/shared/chunk-XGCBIXOO.js +3 -0
- package/dist/shared/chunk-XYID4ZEA.js +3 -0
- package/dist/shared/chunk-ZWVJMSTT.js +3 -0
- package/dist/shared/datarecords/external/google/oauth/config.js +1 -1
- package/dist/shared/datarecords/types.d.ts +2 -2
- package/dist/shared/datarecords/types.js +1 -1
- package/dist/shared/datarecords.js +1 -1
- package/dist/shared/datasources/external/meta/oauth/config.js +2 -2
- package/dist/shared/datasources/external/tiktok/oauth/config.js +2 -2
- package/dist/shared/datasources/external/youtube/oauth/config.js +2 -2
- package/dist/shared/datasources/internal/job-board/schema.d.ts +87 -0
- package/dist/shared/datasources/internal/job-board/schema.d.ts.map +1 -0
- package/dist/shared/datasources/schemas.js +2 -2
- package/dist/shared/datasources/types.d.ts +2 -2
- package/dist/shared/datasources/types.js +2 -2
- package/dist/shared/datasources.js +1 -1
- package/dist/shared/env.d.ts +6 -6
- package/dist/shared/env.d.ts.map +1 -1
- package/dist/shared/env.js +1 -1
- package/dist/shared/errors.js +1 -1
- package/dist/shared/layout-constants.js +2 -2
- package/dist/shared/oauth.js +2 -2
- package/dist/shared/page.d.ts +155 -2331
- package/dist/shared/page.d.ts.map +1 -1
- package/dist/shared/page.js +2 -2
- package/dist/shared/responsive.js +1 -1
- package/dist/shared/template.d.ts +31 -0
- package/dist/shared/template.d.ts.map +1 -0
- package/dist/shared/template.js +3 -0
- package/dist/shared/tests/test-config.d.ts +1 -1
- package/dist/shared/tests/test-config.d.ts.map +1 -1
- package/dist/shared/theme.d.ts.map +1 -1
- package/dist/shared/theme.js +2 -2
- package/dist/shared/themes/all-themes.js +1 -1
- package/dist/shared/themes/color-system.d.ts +3 -5
- package/dist/shared/themes/color-system.d.ts.map +1 -1
- package/dist/shared/themes/color-system.js +2 -2
- package/dist/shared/utils/canvas-data-uri.d.ts +2 -0
- package/dist/shared/utils/canvas-data-uri.d.ts.map +1 -0
- package/dist/shared/utils/invariant.js +2 -2
- package/dist/shared/utils/merge.d.ts +2 -0
- package/dist/shared/utils/merge.d.ts.map +1 -0
- package/dist/shared/utils/merge.js +3 -0
- package/dist/shared/utils/object-hash.d.ts +2 -0
- package/dist/shared/utils/object-hash.d.ts.map +1 -0
- package/dist/shared/utils/try-catch.d.ts +7 -0
- package/dist/shared/utils/try-catch.d.ts.map +1 -0
- package/package.json +6 -5
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts +0 -95
- package/dist/shared/bricks/manifests/images-wall.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/images-wall.manifest.js +0 -3
- package/dist/shared/bricks/manifests/loop.manifest.d.ts +0 -105
- package/dist/shared/bricks/manifests/loop.manifest.d.ts.map +0 -1
- package/dist/shared/bricks/manifests/loop.manifest.js +0 -3
- package/dist/shared/bricks/props/style-presets.d.ts +0 -10
- package/dist/shared/bricks/props/style-presets.d.ts.map +0 -1
- package/dist/shared/bricks/props/style-presets.js +0 -3
- package/dist/shared/bricks/props/style-props.d.ts +0 -90
- package/dist/shared/bricks/props/style-props.d.ts.map +0 -1
- package/dist/shared/bricks/props/style-props.js +0 -3
- package/dist/shared/chunk-3PPIJUXG.js +0 -32
- package/dist/shared/chunk-3T2OW4FE.js +0 -14
- package/dist/shared/chunk-5PE57DBS.js +0 -15
- package/dist/shared/chunk-6G2OUITX.js +0 -3
- package/dist/shared/chunk-6PCNIIO5.js +0 -3
- package/dist/shared/chunk-AVHF4FLR.js +0 -3
- package/dist/shared/chunk-G42AE2ZC.js +0 -13
- package/dist/shared/chunk-G4K7GJZO.js +0 -3
- package/dist/shared/chunk-GBKDJDGW.js +0 -3
- package/dist/shared/chunk-GUOQD446.js +0 -22
- package/dist/shared/chunk-MEMG6QPT.js +0 -3
- package/dist/shared/chunk-NYPOZ5T2.js +0 -13
- package/dist/shared/chunk-PXAK7ZJ3.js +0 -3
- package/dist/shared/chunk-PZCWP77P.js +0 -3
- package/dist/shared/chunk-QQ7YEIHB.js +0 -3
- package/dist/shared/chunk-RRTB52G4.js +0 -9
- package/dist/shared/chunk-UIKVMZNI.js +0 -13
- package/dist/shared/chunk-WGWJHVOE.js +0 -20
- package/dist/shared/chunk-WX4P2YIR.js +0 -11
- package/dist/shared/chunk-WXSQ2ZEK.js +0 -16
- package/dist/shared/chunk-XS5WCEA6.js +0 -16
- package/dist/shared/chunk-Y3TOGUNY.js +0 -9
- package/dist/shared/chunk-YSMFNK4R.js +0 -20
- package/dist/shared/chunk-YXGFGLKH.js +0 -16
- package/dist/shared/chunk-ZDZXB45C.js +0 -7
- package/dist/shared/chunk-ZWYM64YA.js +0 -8
- package/dist/shared/chunk-ZYVXEGAM.js +0 -11
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as o}from"./chunk-PZCWP77P.js";import{Type as t}from"@sinclair/typebox";import{Value as r}from"@sinclair/typebox/value";var p=i({type:"loop",kind:"widget",title:"Loop",description:"Allow users to loop through a list of items",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<!-- Main container -->
|
|
5
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
6
|
-
|
|
7
|
-
<!-- Loop arrow -->
|
|
8
|
-
<path d="M8 12 L12 16 L16 12"></path>
|
|
9
|
-
<path d="M8 12 L12 8 L16 12"></path>
|
|
10
|
-
</svg>
|
|
11
|
-
`,props:t.Composite([o,t.Object({layoutType:t.Union([t.Literal("vertical",{title:"Vertical"}),t.Literal("horizontal",{title:"Horizontal"}),t.Literal("grid",{title:"Grid"})]),gap:t.Optional(t.Number({default:0})),columns:t.Optional(t.Number({default:2})),children:t.Array(t.Any()),data:t.Union([t.Array(t.Any()),t.Object({datasourceId:t.String()})])})])}),m=r.Create(p);export{p as a,m as b};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as o}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e}from"./chunk-PZCWP77P.js";import{Type as i}from"@sinclair/typebox";import{Value as r}from"@sinclair/typebox/value";var p=o({type:"map",kind:"widget",title:"Map",description:"A map element with a location",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<!-- Main container -->
|
|
5
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
6
|
-
|
|
7
|
-
<!-- Map fold lines (even thinner) -->
|
|
8
|
-
<path d="M3 9 L21 9" stroke-width="0.3"></path>
|
|
9
|
-
<path d="M9 3 L9 21" stroke-width="0.3"></path>
|
|
10
|
-
<path d="M15 3 L15 21" stroke-width="0.3"></path>
|
|
11
|
-
<path d="M3 15 L21 15" stroke-width="0.3"></path>
|
|
12
|
-
|
|
13
|
-
<!-- Location pin (teardrop shape) -->
|
|
14
|
-
<path d="M12 5 C10.3431 5 9 6.34315 9 8 C9 9.3124 9.84285 10.4274 11 10.8229 L12 13 L13 10.8229 C14.1571 10.4274 15 9.3124 15 8 C15 6.34315 13.6569 5 12 5Z"></path>
|
|
15
|
-
</svg>
|
|
16
|
-
`,props:i.Composite([e])}),l=r.Create(p);export{p as a,l as b};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as o,h as r}from"./chunk-PZCWP77P.js";import{Type as n}from"@sinclair/typebox";import{Value as p}from"@sinclair/typebox/value";var m=i({type:"form",kind:"widget",title:"Form",description:"A form element",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<!-- Main container -->
|
|
5
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
6
|
-
|
|
7
|
-
<!-- Two input boxes -->
|
|
8
|
-
<rect x="6" y="6" width="12" height="3" rx="1"></rect>
|
|
9
|
-
<rect x="6" y="11" width="12" height="3" rx="1"></rect>
|
|
10
|
-
|
|
11
|
-
<!-- Right-aligned button -->
|
|
12
|
-
<rect x="12" y="17" width="6" height="2" rx="1"
|
|
13
|
-
fill="currentColor"
|
|
14
|
-
></rect>
|
|
15
|
-
</svg>
|
|
16
|
-
`,props:n.Composite([o,e,r])}),f=p.Create(m);export{m as a,f as b};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as o,g as r}from"./chunk-PZCWP77P.js";import{n as t}from"./chunk-MEMG6QPT.js";import{Type as p}from"@sinclair/typebox";import{Value as m}from"@sinclair/typebox/value";var s=i({type:"hero",title:"Hero",kind:"brick",description:"A big textual element for home pages",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
5
|
-
<rect x="10" y="10" width="80" height="80" rx="4" fill="none" stroke="currentColor" stroke-width="3"/>
|
|
6
|
-
<rect x="20" y="35" width="60" height="12" rx="2" fill="currentColor"/>
|
|
7
|
-
<rect x="20" y="52" width="40" height="12" rx="2" fill="currentColor"/>
|
|
8
|
-
</svg>
|
|
9
|
-
`,props:p.Composite([r,o,t])}),x=m.Create(s);export{s as a,x as b};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as t}from"./chunk-QQ7YEIHB.js";import{a as e}from"./chunk-PXAK7ZJ3.js";import{b as i,f as o}from"./chunk-PZCWP77P.js";import{Type as r}from"@sinclair/typebox";import{Value as l}from"@sinclair/typebox/value";var n=t({type:"social-links",kind:"widget",title:"Social links",description:"A list of social media links",preferredWidth:{mobile:e.mobile/2,desktop:e.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<!-- Main container -->
|
|
5
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
6
|
-
|
|
7
|
-
<!-- Dots and social info -->
|
|
8
|
-
<circle cx="8" cy="8" r="1" fill="currentColor"></circle>
|
|
9
|
-
<line x1="11" y1="7" x2="16" y2="7"></line>
|
|
10
|
-
<line x1="11" y1="9" x2="13" y2="9" stroke-width="0.5"></line>
|
|
11
|
-
|
|
12
|
-
<circle cx="8" cy="12" r="1" fill="currentColor"></circle>
|
|
13
|
-
<line x1="11" y1="11" x2="16" y2="11"></line>
|
|
14
|
-
<line x1="11" y1="13" x2="13.5" y2="13" stroke-width="0.5"></line>
|
|
15
|
-
|
|
16
|
-
<circle cx="8" cy="16" r="1" fill="currentColor"></circle>
|
|
17
|
-
<line x1="11" y1="15" x2="16" y2="15"></line>
|
|
18
|
-
<line x1="11" y1="17" x2="13" y2="17" stroke-width="0.5"></line>
|
|
19
|
-
</svg>
|
|
20
|
-
`,props:r.Composite([o,i])}),y=l.Create(n);export{n as a,y as b};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as d}from"./chunk-QQ7YEIHB.js";import{a as r}from"./chunk-PXAK7ZJ3.js";import{b as n}from"./chunk-PZCWP77P.js";import{f as t,h as i,n as o}from"./chunk-MEMG6QPT.js";import{Type as e}from"@sinclair/typebox";import{Value as l}from"@sinclair/typebox/value";var p=d({type:"card",kind:"widget",title:"Card",description:"A multi-purpose card that can have a title, subtitle, image, and content",preferredWidth:{mobile:r.mobile/2,desktop:r.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<!-- Card container -->
|
|
5
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
6
|
-
|
|
7
|
-
<!-- Image area separator line -->
|
|
8
|
-
<line x1="3" y1="11" x2="21" y2="11"></line>
|
|
9
|
-
|
|
10
|
-
<!-- Title (shorter line) -->
|
|
11
|
-
<line x1="7" y1="14" x2="17" y2="14"></line>
|
|
12
|
-
|
|
13
|
-
<!-- Text content (shorter line) -->
|
|
14
|
-
<line x1="7" y1="17" x2="15" y2="17"></line>
|
|
15
|
-
</svg>
|
|
16
|
-
`,props:e.Composite([n,o,e.Object({cardTitle:e.Object({content:e.String({"ui:field":"hidden","ui:group":"card-title","ui:group:title":"Title","ui:group:order":0}),padding:t,backgroundColor:i},{title:"Title","ui:group":"card-title","ui:group:title":"Title","ui:group:order":0,default:"Edit my title"}),cardImage:e.Optional(e.Object({image:e.String({title:"Image","ui:field":"image","ui:accept":"image/*","ui:show-img-search":!0})},{title:"Image","ui:group":"card-image","ui:group:title":"Image","ui:group:order":0})),cardBody:e.Object({content:e.String({"ui:field":"hidden","ui:group":"card-body","ui:group:title":"Body","ui:group:order":0}),padding:t,backgroundColor:i},{title:"Body","ui:group":"card-body","ui:group:title":"Body","ui:group:order":0,default:{content:"Edit my content"}})})])}),x=l.Create(p);export{p as a,x as b};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as r}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as i}from"./chunk-PZCWP77P.js";import{n as o}from"./chunk-MEMG6QPT.js";import{Type as p}from"@sinclair/typebox";import{Value as m}from"@sinclair/typebox/value";var n=r({type:"text",kind:"brick",title:"Text",description:"Text with formatting options",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
5
|
-
<path d="M4 7h16M4 12h16M4 17h16"></path>
|
|
6
|
-
</svg>
|
|
7
|
-
`,props:p.Composite([e,i,o])}),h=m.Create(n);export{n as a,h as b};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as r}from"./chunk-PZCWP77P.js";import{n as o}from"./chunk-MEMG6QPT.js";import{Type as e}from"@sinclair/typebox";import{Value as n}from"@sinclair/typebox/value";var p=i({type:"generic-component",title:"Generic component",kind:"brick",description:"A generic component",hideInLibrary:!0,preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
5
|
-
<rect x="4" y="11" width="16" height="6" rx="2"></rect>
|
|
6
|
-
<line x1="9" y1="14" x2="15" y2="14"></line>
|
|
7
|
-
</svg>
|
|
8
|
-
`,props:e.Composite([r,o,e.Object({render:e.Function([e.Object({},{additionalProperties:!0})],e.Any(),{title:"React component"}),componentProps:e.Optional(e.Object({},{additionalProperties:!0}))})])}),k=n.Create(p);export{p as a,k as b};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/enpage/enpage/blob/main/LICENSE */
|
|
2
|
-
|
|
3
|
-
import{a as i}from"./chunk-QQ7YEIHB.js";import{a as t}from"./chunk-PXAK7ZJ3.js";import{b as e,f as o}from"./chunk-PZCWP77P.js";import{Type as r}from"@sinclair/typebox";import{Value as n}from"@sinclair/typebox/value";var p=i({type:"icon",title:"Icon",kind:"brick",description:"An icon with optional text",preferredWidth:{mobile:t.mobile/2,desktop:t.desktop/4},preferredHeight:{mobile:6,desktop:6},minWidth:{mobile:3,desktop:3},minHeight:{mobile:3,desktop:3},icon:`
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
|
5
|
-
<!-- Main container -->
|
|
6
|
-
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
|
|
7
|
-
|
|
8
|
-
<!-- Diamond shape -->
|
|
9
|
-
<path d="M7 12 L12 7 L17 12 L12 17 Z"></path>
|
|
10
|
-
</svg>
|
|
11
|
-
`,props:r.Composite([o,e])}),f=n.Create(p);export{p as a,f as b};
|