@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,141 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
props: import("@sinclair/typebox").TObject<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
stylePreset: import("@sinclair/typebox").TObject<{
|
|
10
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"ghost">, import("@sinclair/typebox").TLiteral<"plain">, import("@sinclair/typebox").TLiteral<"plain2">, import("@sinclair/typebox").TLiteral<"plain3">, import("@sinclair/typebox").TLiteral<"modern">, import("@sinclair/typebox").TLiteral<"modern2">, import("@sinclair/typebox").TLiteral<"soft">, import("@sinclair/typebox").TLiteral<"glass">, import("@sinclair/typebox").TLiteral<"elevated">, import("@sinclair/typebox").TLiteral<"outlined">, import("@sinclair/typebox").TLiteral<"paper">, import("@sinclair/typebox").TLiteral<"gradient">, import("@sinclair/typebox").TLiteral<"gradient2">, import("@sinclair/typebox").TLiteral<"gradient3">, import("@sinclair/typebox").TLiteral<"gradient4">, import("@sinclair/typebox").TLiteral<"gradient5">, import("@sinclair/typebox").TLiteral<"gradient6">, import("@sinclair/typebox").TLiteral<"callout">]>;
|
|
11
|
-
variant: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"primary">, import("@sinclair/typebox").TLiteral<"secondary">, import("@sinclair/typebox").TLiteral<"accent">, import("@sinclair/typebox").TLiteral<"neutral">]>;
|
|
12
|
-
}>;
|
|
13
|
-
background: import("@sinclair/typebox").TObject<{
|
|
14
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
-
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
16
|
-
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
17
|
-
repeat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"no-repeat">, import("@sinclair/typebox").TLiteral<"repeat">, import("@sinclair/typebox").TLiteral<"repeat-x">, import("@sinclair/typebox").TLiteral<"repeat-y">, import("@sinclair/typebox").TLiteral<"space">, import("@sinclair/typebox").TLiteral<"round">]>>;
|
|
18
|
-
}>;
|
|
19
|
-
text: import("@sinclair/typebox").TObject<{
|
|
20
|
-
size: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>;
|
|
21
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
22
|
-
}>;
|
|
23
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
24
|
-
radius: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
25
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
26
|
-
color: import("@sinclair/typebox").TString;
|
|
27
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
28
|
-
}>>;
|
|
29
|
-
effects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
30
|
-
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
31
|
-
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
32
|
-
}>>;
|
|
33
|
-
dimensions: import("@sinclair/typebox").TObject<{
|
|
34
|
-
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"fixed">, import("@sinclair/typebox").TLiteral<"auto">]>>;
|
|
35
|
-
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>>;
|
|
36
|
-
}>;
|
|
37
|
-
}>;
|
|
38
|
-
datarecord?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
39
|
-
datasource?: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | undefined;
|
|
40
|
-
type: import("@sinclair/typebox").TLiteral<"button">;
|
|
41
|
-
kind: import("@sinclair/typebox").TLiteral<string>;
|
|
42
|
-
title: import("@sinclair/typebox").TLiteral<"Button">;
|
|
43
|
-
description: import("@sinclair/typebox").TLiteral<"A button with text and optional icon">;
|
|
44
|
-
icon: import("@sinclair/typebox").TLiteral<"\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- Main container -->\n\n <!-- Button container -->\n <rect x=\"4\" y=\"11\" width=\"16\" height=\"6\" rx=\"2\"></rect>\n\n <!-- Text line inside button -->\n <line x1=\"9\" y1=\"14\" x2=\"15\" y2=\"14\"></line>\n</svg>\n ">;
|
|
45
|
-
hideInLibrary: import("@sinclair/typebox").TBoolean;
|
|
46
|
-
isContainer: import("@sinclair/typebox").TBoolean;
|
|
47
|
-
preferredWidth: import("@sinclair/typebox").TObject<{
|
|
48
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
49
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
50
|
-
}>;
|
|
51
|
-
preferredHeight: import("@sinclair/typebox").TObject<{
|
|
52
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
53
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
54
|
-
}>;
|
|
55
|
-
minWidth: import("@sinclair/typebox").TObject<{
|
|
56
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
57
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
58
|
-
}>;
|
|
59
|
-
maxWidth: import("@sinclair/typebox").TObject<{
|
|
60
|
-
mobile: import("@sinclair/typebox").TNumber;
|
|
61
|
-
desktop: import("@sinclair/typebox").TNumber;
|
|
1
|
+
export declare const manifest: {
|
|
2
|
+
readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
|
|
3
|
+
readonly props: import("@sinclair/typebox").TObject<{
|
|
4
|
+
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
|
+
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
|
+
} & {
|
|
8
|
+
label: import("@sinclair/typebox").TString;
|
|
62
9
|
}>;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
10
|
+
readonly presets: Record<string, {
|
|
11
|
+
label: string;
|
|
12
|
+
previewClasses: string;
|
|
13
|
+
props: Partial<{
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
lastTouched?: number | undefined;
|
|
16
|
+
editable?: boolean | undefined;
|
|
17
|
+
label: string;
|
|
18
|
+
}>;
|
|
19
|
+
}> | undefined;
|
|
20
|
+
readonly kind: "container" | "brick" | "widget";
|
|
21
|
+
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
22
|
+
readonly hideInLibrary: boolean;
|
|
23
|
+
readonly deletable: boolean;
|
|
24
|
+
readonly movable: boolean;
|
|
25
|
+
readonly resizable: boolean;
|
|
26
|
+
readonly repeatable: boolean;
|
|
27
|
+
readonly duplicatable: boolean;
|
|
28
|
+
readonly isContainer: boolean;
|
|
29
|
+
readonly defaultWidth: {
|
|
74
30
|
mobile: number;
|
|
75
31
|
desktop: number;
|
|
76
32
|
};
|
|
77
|
-
|
|
33
|
+
readonly defaultHeight: {
|
|
78
34
|
mobile: number;
|
|
79
35
|
desktop: number;
|
|
80
36
|
};
|
|
81
|
-
minWidth: {
|
|
37
|
+
readonly minWidth: {
|
|
82
38
|
mobile: number;
|
|
83
39
|
desktop: number;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
kind: string;
|
|
87
|
-
preferredWidth: {
|
|
40
|
+
} | undefined;
|
|
41
|
+
readonly minHeight: {
|
|
88
42
|
mobile: number;
|
|
89
43
|
desktop: number;
|
|
90
|
-
};
|
|
91
|
-
|
|
44
|
+
} | undefined;
|
|
45
|
+
readonly type: string;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
|
|
48
|
+
readonly iconClassName?: string;
|
|
49
|
+
readonly description?: string;
|
|
50
|
+
readonly maxWidth?: {
|
|
92
51
|
mobile: number;
|
|
93
52
|
desktop: number;
|
|
94
53
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
99
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
100
|
-
radius: "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-full";
|
|
101
|
-
} | undefined;
|
|
102
|
-
effects?: {
|
|
103
|
-
opacity?: number | undefined;
|
|
104
|
-
shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
|
|
105
|
-
} | undefined;
|
|
106
|
-
id: string;
|
|
107
|
-
background: {
|
|
108
|
-
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
|
|
109
|
-
color?: string | undefined;
|
|
110
|
-
size?: "contain" | "auto" | "cover" | undefined;
|
|
111
|
-
image?: string | undefined;
|
|
112
|
-
};
|
|
113
|
-
text: {
|
|
114
|
-
color?: string | undefined;
|
|
115
|
-
size: "inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl";
|
|
116
|
-
};
|
|
117
|
-
content: string;
|
|
118
|
-
dimensions: {
|
|
119
|
-
height?: "fixed" | "auto" | undefined;
|
|
120
|
-
padding?: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16" | undefined;
|
|
121
|
-
};
|
|
122
|
-
className: string;
|
|
123
|
-
lastTouched: number;
|
|
124
|
-
editable: boolean;
|
|
125
|
-
stylePreset: {
|
|
126
|
-
style: "soft" | "ghost" | "outlined" | "plain" | "plain2" | "plain3" | "modern" | "modern2" | "glass" | "elevated" | "paper" | "gradient" | "gradient2" | "gradient3" | "gradient4" | "gradient5" | "gradient6" | "callout";
|
|
127
|
-
variant: "primary" | "secondary" | "accent" | "neutral";
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
datasource: {
|
|
131
|
-
[x: string]: unknown;
|
|
132
|
-
[x: number]: unknown;
|
|
133
|
-
};
|
|
134
|
-
datarecord: {
|
|
135
|
-
[x: string]: unknown;
|
|
136
|
-
[x: number]: unknown;
|
|
54
|
+
readonly maxHeight?: {
|
|
55
|
+
mobile: number;
|
|
56
|
+
desktop: number;
|
|
137
57
|
};
|
|
138
|
-
isContainer: boolean;
|
|
139
|
-
hideInLibrary: boolean;
|
|
140
58
|
};
|
|
59
|
+
export type Manifest = typeof manifest;
|
|
141
60
|
//# sourceMappingURL=button.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/button.manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/button.manifest.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a
|
|
3
|
+
import{a}from"../../chunk-NFU5BF6G.js";import"../../chunk-LDOM2LJF.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
|
|
@@ -1,165 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
props: import("@sinclair/typebox").TObject<{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
stylePreset: import("@sinclair/typebox").TObject<{
|
|
9
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"ghost">, import("@sinclair/typebox").TLiteral<"plain">, import("@sinclair/typebox").TLiteral<"plain2">, import("@sinclair/typebox").TLiteral<"plain3">, import("@sinclair/typebox").TLiteral<"modern">, import("@sinclair/typebox").TLiteral<"modern2">, import("@sinclair/typebox").TLiteral<"soft">, import("@sinclair/typebox").TLiteral<"glass">, import("@sinclair/typebox").TLiteral<"elevated">, import("@sinclair/typebox").TLiteral<"outlined">, import("@sinclair/typebox").TLiteral<"paper">, import("@sinclair/typebox").TLiteral<"gradient">, import("@sinclair/typebox").TLiteral<"gradient2">, import("@sinclair/typebox").TLiteral<"gradient3">, import("@sinclair/typebox").TLiteral<"gradient4">, import("@sinclair/typebox").TLiteral<"gradient5">, import("@sinclair/typebox").TLiteral<"gradient6">, import("@sinclair/typebox").TLiteral<"callout">]>;
|
|
10
|
-
variant: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"primary">, import("@sinclair/typebox").TLiteral<"secondary">, import("@sinclair/typebox").TLiteral<"accent">, import("@sinclair/typebox").TLiteral<"neutral">]>;
|
|
11
|
-
}>;
|
|
12
|
-
background: import("@sinclair/typebox").TObject<{
|
|
13
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
|
-
image: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
15
|
-
size: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"cover">, import("@sinclair/typebox").TLiteral<"contain">]>>;
|
|
16
|
-
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">]>>;
|
|
17
|
-
}>;
|
|
18
|
-
text: import("@sinclair/typebox").TObject<{
|
|
19
|
-
size: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"inherit">, import("@sinclair/typebox").TLiteral<"text-xs">, import("@sinclair/typebox").TLiteral<"text-sm">, import("@sinclair/typebox").TLiteral<"text-base">, import("@sinclair/typebox").TLiteral<"text-lg">, import("@sinclair/typebox").TLiteral<"text-xl">, import("@sinclair/typebox").TLiteral<"text-2xl">, import("@sinclair/typebox").TLiteral<"text-3xl">, import("@sinclair/typebox").TLiteral<"text-4xl">, import("@sinclair/typebox").TLiteral<"text-5xl">, import("@sinclair/typebox").TLiteral<"text-6xl">, import("@sinclair/typebox").TLiteral<"text-7xl">]>;
|
|
20
|
-
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
21
|
-
}>;
|
|
22
|
-
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
23
|
-
radius: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"rounded-none">, import("@sinclair/typebox").TLiteral<"rounded-sm">, import("@sinclair/typebox").TLiteral<"rounded-md">, import("@sinclair/typebox").TLiteral<"rounded-lg">, import("@sinclair/typebox").TLiteral<"rounded-xl">, import("@sinclair/typebox").TLiteral<"rounded-full">]>;
|
|
24
|
-
style: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-solid">, import("@sinclair/typebox").TLiteral<"border-dashed">, import("@sinclair/typebox").TLiteral<"border-dotted">]>;
|
|
25
|
-
color: import("@sinclair/typebox").TString;
|
|
26
|
-
width: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"border-0">, import("@sinclair/typebox").TLiteral<"border">, import("@sinclair/typebox").TLiteral<"border-2">, import("@sinclair/typebox").TLiteral<"border-4">, import("@sinclair/typebox").TLiteral<"border-8">]>;
|
|
27
|
-
}>>;
|
|
28
|
-
effects: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
29
|
-
shadow: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"shadow-none">, import("@sinclair/typebox").TLiteral<"shadow-sm">, import("@sinclair/typebox").TLiteral<"shadow-md">, import("@sinclair/typebox").TLiteral<"shadow-lg">, import("@sinclair/typebox").TLiteral<"shadow-xl">, import("@sinclair/typebox").TLiteral<"shadow-2xl">]>;
|
|
30
|
-
opacity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
31
|
-
}>>;
|
|
32
|
-
dimensions: import("@sinclair/typebox").TObject<{
|
|
33
|
-
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"fixed">, import("@sinclair/typebox").TLiteral<"auto">]>>;
|
|
34
|
-
padding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>>;
|
|
35
|
-
}>;
|
|
1
|
+
export declare const manifest: {
|
|
2
|
+
readonly datasource: import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties> | import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<import("@sinclair/typebox").TProperties>>;
|
|
3
|
+
readonly props: import("@sinclair/typebox").TObject<{
|
|
4
|
+
className: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
|
+
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
7
|
+
} & {
|
|
36
8
|
cardTitle: import("@sinclair/typebox").TObject<{
|
|
37
9
|
content: import("@sinclair/typebox").TString;
|
|
38
10
|
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
39
11
|
backgroundColor: import("@sinclair/typebox").TString;
|
|
12
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
13
|
+
backgroundColor: import("@sinclair/typebox").TString;
|
|
14
|
+
content: import("@sinclair/typebox").TString;
|
|
15
|
+
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
40
16
|
}>;
|
|
41
|
-
cardImage: import("@sinclair/typebox").
|
|
17
|
+
cardImage: import("@sinclair/typebox").TObject<{
|
|
18
|
+
image: import("@sinclair/typebox").TString;
|
|
19
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
42
20
|
image: import("@sinclair/typebox").TString;
|
|
43
|
-
}
|
|
21
|
+
}>;
|
|
44
22
|
cardBody: import("@sinclair/typebox").TObject<{
|
|
45
23
|
content: import("@sinclair/typebox").TString;
|
|
46
24
|
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
47
25
|
backgroundColor: import("@sinclair/typebox").TString;
|
|
26
|
+
}> | import("@sinclair/typebox").TObject<{
|
|
27
|
+
backgroundColor: import("@sinclair/typebox").TString;
|
|
28
|
+
content: import("@sinclair/typebox").TString;
|
|
29
|
+
padding: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"p-0">, import("@sinclair/typebox").TLiteral<"p-1">, import("@sinclair/typebox").TLiteral<"p-2">, import("@sinclair/typebox").TLiteral<"p-4">, import("@sinclair/typebox").TLiteral<"p-8">, import("@sinclair/typebox").TLiteral<"p-16">]>;
|
|
48
30
|
}>;
|
|
49
31
|
}>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
32
|
+
readonly presets: Record<string, {
|
|
33
|
+
label: string;
|
|
34
|
+
previewClasses: string;
|
|
35
|
+
props: Partial<{
|
|
36
|
+
className?: string | undefined;
|
|
37
|
+
lastTouched?: number | undefined;
|
|
38
|
+
editable?: boolean | undefined;
|
|
39
|
+
cardTitle: {
|
|
40
|
+
backgroundColor: string;
|
|
41
|
+
content: string;
|
|
42
|
+
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
43
|
+
} | {
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
content: string;
|
|
46
|
+
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
47
|
+
};
|
|
48
|
+
cardImage: {
|
|
49
|
+
image: string;
|
|
50
|
+
} | {
|
|
51
|
+
image: string;
|
|
52
|
+
};
|
|
53
|
+
cardBody: {
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
content: string;
|
|
56
|
+
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
57
|
+
} | {
|
|
58
|
+
backgroundColor: string;
|
|
59
|
+
content: string;
|
|
60
|
+
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
}> | undefined;
|
|
64
|
+
readonly kind: "container" | "brick" | "widget";
|
|
65
|
+
readonly defaultInspectorTab: "content" | "style" | "preset";
|
|
66
|
+
readonly hideInLibrary: boolean;
|
|
67
|
+
readonly deletable: boolean;
|
|
68
|
+
readonly movable: boolean;
|
|
69
|
+
readonly resizable: boolean;
|
|
70
|
+
readonly repeatable: boolean;
|
|
71
|
+
readonly duplicatable: boolean;
|
|
72
|
+
readonly isContainer: boolean;
|
|
73
|
+
readonly defaultWidth: {
|
|
86
74
|
mobile: number;
|
|
87
75
|
desktop: number;
|
|
88
76
|
};
|
|
89
|
-
|
|
77
|
+
readonly defaultHeight: {
|
|
90
78
|
mobile: number;
|
|
91
79
|
desktop: number;
|
|
92
80
|
};
|
|
93
|
-
minWidth: {
|
|
81
|
+
readonly minWidth: {
|
|
94
82
|
mobile: number;
|
|
95
83
|
desktop: number;
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
kind: string;
|
|
99
|
-
preferredWidth: {
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly minHeight: {
|
|
100
86
|
mobile: number;
|
|
101
87
|
desktop: number;
|
|
102
|
-
};
|
|
103
|
-
|
|
88
|
+
} | undefined;
|
|
89
|
+
readonly type: string;
|
|
90
|
+
readonly name: string;
|
|
91
|
+
readonly icon: string | import("react").FC<import("react-icons/lib").IconBaseProps>;
|
|
92
|
+
readonly iconClassName?: string;
|
|
93
|
+
readonly description?: string;
|
|
94
|
+
readonly maxWidth?: {
|
|
104
95
|
mobile: number;
|
|
105
96
|
desktop: number;
|
|
106
97
|
};
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
width: "border" | "border-0" | "border-2" | "border-4" | "border-8";
|
|
111
|
-
style: "border-solid" | "border-dashed" | "border-dotted";
|
|
112
|
-
radius: "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-full";
|
|
113
|
-
} | undefined;
|
|
114
|
-
effects?: {
|
|
115
|
-
opacity?: number | undefined;
|
|
116
|
-
shadow: "shadow-none" | "shadow-sm" | "shadow-md" | "shadow-lg" | "shadow-xl" | "shadow-2xl";
|
|
117
|
-
} | undefined;
|
|
118
|
-
cardImage?: {
|
|
119
|
-
image: string;
|
|
120
|
-
} | undefined;
|
|
121
|
-
id: string;
|
|
122
|
-
background: {
|
|
123
|
-
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "round" | "space" | undefined;
|
|
124
|
-
color?: string | undefined;
|
|
125
|
-
size?: "contain" | "auto" | "cover" | undefined;
|
|
126
|
-
image?: string | undefined;
|
|
127
|
-
};
|
|
128
|
-
text: {
|
|
129
|
-
color?: string | undefined;
|
|
130
|
-
size: "inherit" | "text-xs" | "text-sm" | "text-base" | "text-lg" | "text-xl" | "text-2xl" | "text-3xl" | "text-4xl" | "text-5xl" | "text-6xl" | "text-7xl";
|
|
131
|
-
};
|
|
132
|
-
dimensions: {
|
|
133
|
-
height?: "fixed" | "auto" | undefined;
|
|
134
|
-
padding?: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16" | undefined;
|
|
135
|
-
};
|
|
136
|
-
className: string;
|
|
137
|
-
lastTouched: number;
|
|
138
|
-
editable: boolean;
|
|
139
|
-
stylePreset: {
|
|
140
|
-
style: "soft" | "ghost" | "outlined" | "plain" | "plain2" | "plain3" | "modern" | "modern2" | "glass" | "elevated" | "paper" | "gradient" | "gradient2" | "gradient3" | "gradient4" | "gradient5" | "gradient6" | "callout";
|
|
141
|
-
variant: "primary" | "secondary" | "accent" | "neutral";
|
|
142
|
-
};
|
|
143
|
-
cardTitle: {
|
|
144
|
-
backgroundColor: string;
|
|
145
|
-
content: string;
|
|
146
|
-
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
147
|
-
};
|
|
148
|
-
cardBody: {
|
|
149
|
-
backgroundColor: string;
|
|
150
|
-
content: string;
|
|
151
|
-
padding: "p-0" | "p-1" | "p-2" | "p-4" | "p-8" | "p-16";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
datasource: {
|
|
155
|
-
[x: string]: unknown;
|
|
156
|
-
[x: number]: unknown;
|
|
157
|
-
};
|
|
158
|
-
datarecord: {
|
|
159
|
-
[x: string]: unknown;
|
|
160
|
-
[x: number]: unknown;
|
|
98
|
+
readonly maxHeight?: {
|
|
99
|
+
mobile: number;
|
|
100
|
+
desktop: number;
|
|
161
101
|
};
|
|
162
|
-
isContainer: boolean;
|
|
163
|
-
hideInLibrary: boolean;
|
|
164
102
|
};
|
|
103
|
+
export type Manifest = typeof manifest;
|
|
165
104
|
//# sourceMappingURL=card.manifest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/card.manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"card.manifest.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/manifests/card.manifest.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/
|
|
1
|
+
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a
|
|
3
|
+
import{a}from"../../chunk-EFJQECVB.js";import"../../chunk-U44NTSIO.js";import"../../chunk-P5FVZ5PL.js";import"../../chunk-LDOM2LJF.js";import"../../chunk-WPTVLIYS.js";import"../../chunk-BMDB2V7J.js";import"../../chunk-PSSJMWGU.js";export{a as manifest};
|