@upstart.gg/sdk 0.0.110 → 0.0.111
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.d.ts.map +1 -1
- package/dist/shared/attributes.js +1 -1
- package/dist/shared/brick-manifest.d.ts +3 -1
- 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 +13 -9
- 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 +5 -1
- 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 +9 -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 +9 -5
- 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/container.manifest.d.ts +9 -5
- package/dist/shared/bricks/manifests/container.manifest.d.ts.map +1 -1
- package/dist/shared/bricks/manifests/container.manifest.js +1 -1
- package/dist/shared/bricks/manifests/divider.manifest.d.ts +5 -1
- 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 +5 -1
- 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 +5 -1
- 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 +9 -5
- 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 +5 -1
- 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 +9 -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 +5 -1
- 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 +9 -5
- 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 +14 -10
- 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 +13 -9
- 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 +9 -5
- 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 +9 -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 +9 -5
- 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 +13 -9
- 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/video.manifest.d.ts +9 -5
- 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.d.ts.map +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.d.ts +8 -8
- 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 +3 -0
- 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.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.d.ts.map +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.js +1 -1
- package/dist/shared/bricks/props/helpers.d.ts +6 -2
- package/dist/shared/bricks/props/helpers.d.ts.map +1 -1
- package/dist/shared/bricks/props/helpers.js +1 -1
- package/dist/shared/bricks/props/image.js +1 -1
- package/dist/shared/bricks/props/number.js +1 -1
- package/dist/shared/bricks/props/padding.d.ts.map +1 -1
- package/dist/shared/bricks/props/padding.js +1 -1
- package/dist/shared/bricks/props/position.d.ts.map +1 -1
- package/dist/shared/bricks/props/position.js +1 -1
- package/dist/shared/bricks/props/preset.d.ts +36 -36
- package/dist/shared/bricks/props/preset.js +1 -1
- package/dist/shared/bricks/props/prop.d.ts +7 -0
- package/dist/shared/bricks/props/prop.d.ts.map +1 -0
- package/dist/shared/bricks/props/prop.js +3 -0
- package/dist/shared/bricks/props/string.js +1 -1
- package/dist/shared/bricks/props/text.js +1 -1
- package/dist/shared/bricks.d.ts +97 -57
- package/dist/shared/bricks.d.ts.map +1 -1
- package/dist/shared/bricks.js +1 -1
- package/dist/shared/{chunk-SBYJ2DNF.js → chunk-2CXXM2W3.js} +1 -1
- package/dist/shared/chunk-2VGGHXT2.js +3 -0
- package/dist/shared/chunk-3BH3SMCS.js +3 -0
- package/dist/shared/chunk-44EWU25R.js +3 -0
- package/dist/shared/chunk-4RKERLQX.js +3 -0
- package/dist/shared/chunk-5PSDNGKY.js +3 -0
- package/dist/shared/chunk-5SBENMRZ.js +3 -0
- package/dist/shared/{chunk-COJXT4AE.js → chunk-6CVEKFNN.js} +2 -2
- package/dist/shared/chunk-6CZG3CAK.js +3 -0
- package/dist/shared/{chunk-J4HAPIE4.js → chunk-7PSERG3U.js} +1 -1
- package/dist/shared/{chunk-CL72KTSY.js → chunk-7YXR7BD5.js} +2 -2
- package/dist/shared/{chunk-T4BNTUJZ.js → chunk-A3LAQ47R.js} +1 -1
- package/dist/shared/chunk-AELUNCW3.js +3 -0
- package/dist/shared/chunk-AOMEYLYG.js +3 -0
- package/dist/shared/{chunk-RYK77LRD.js → chunk-BNBTCFYW.js} +1 -1
- package/dist/shared/{chunk-P4FWHABH.js → chunk-CBORSFPQ.js} +1 -1
- package/dist/shared/chunk-CGNY4K2X.js +3 -0
- package/dist/shared/{chunk-ETEMVJ5N.js → chunk-DOKWQP5K.js} +1 -1
- package/dist/shared/{chunk-EFUCEV6J.js → chunk-FSC3MYBH.js} +1 -1
- package/dist/shared/{chunk-XQBNMLIS.js → chunk-GVY2LTLZ.js} +1 -1
- package/dist/shared/chunk-HMCJT7US.js +3 -0
- package/dist/shared/chunk-I4RDJZ7E.js +5 -0
- package/dist/shared/{chunk-GEJURLYI.js → chunk-IF7JTYZC.js} +1 -1
- package/dist/shared/chunk-IH2CD3RZ.js +3 -0
- package/dist/shared/{chunk-63X3F4KE.js → chunk-IJC7WT76.js} +1 -1
- package/dist/shared/{chunk-6HBMLMS4.js → chunk-J56IBYVK.js} +1 -1
- package/dist/shared/chunk-KPF2WWYM.js +3 -0
- package/dist/shared/chunk-KUG7UEHN.js +3 -0
- package/dist/shared/chunk-KUV5KZYH.js +3 -0
- package/dist/shared/{chunk-AUDVZ5XH.js → chunk-KWTNPGYO.js} +1 -1
- package/dist/shared/{chunk-EAXMALLF.js → chunk-L6NXGVEU.js} +1 -1
- package/dist/shared/{chunk-ZM7FO54Z.js → chunk-LXBGNROJ.js} +1 -1
- package/dist/shared/chunk-M45FSNRM.js +3 -0
- package/dist/shared/{chunk-EXAE67ZU.js → chunk-N2QHHVAQ.js} +1 -1
- package/dist/shared/chunk-NXA7A6EV.js +3 -0
- package/dist/shared/chunk-P5O7YHX7.js +3 -0
- package/dist/shared/{chunk-IGICLAXG.js → chunk-PL5CXFGN.js} +2 -2
- package/dist/shared/chunk-QH5ZBLA2.js +3 -0
- package/dist/shared/{chunk-OYIL5SCU.js → chunk-QSKUUUXU.js} +1 -1
- package/dist/shared/{chunk-4GPU3TI3.js → chunk-R3I32SUA.js} +1 -1
- package/dist/shared/chunk-RVSGUF6U.js +3 -0
- package/dist/shared/chunk-TIFCEMZV.js +3 -0
- package/dist/shared/chunk-U4OYEWZO.js +3 -0
- package/dist/shared/chunk-V7ZN7NR2.js +3 -0
- package/dist/shared/chunk-WARHNU5Z.js +3 -0
- package/dist/shared/chunk-WUYCT565.js +3 -0
- package/dist/shared/chunk-Y6A5NLZH.js +3 -0
- package/dist/shared/{chunk-GES7GCNN.js → chunk-YJBY54W7.js} +1 -1
- package/dist/shared/{chunk-FVW6TE5S.js → chunk-YZVFYTDV.js} +1 -1
- package/dist/shared/page.d.ts +8 -8
- package/dist/shared/page.js +1 -1
- package/dist/shared/responsive.d.ts +1 -1
- package/dist/shared/site.d.ts +8 -8
- 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/dist/shared/utils/typed-ref.js +1 -1
- package/package.json +2 -2
- package/dist/shared/chunk-2WJ5JFCL.js +0 -5
- package/dist/shared/chunk-345A5Q4I.js +0 -3
- package/dist/shared/chunk-3G6VWQ7K.js +0 -3
- package/dist/shared/chunk-6P4BCAMF.js +0 -3
- package/dist/shared/chunk-6WRY6H5C.js +0 -3
- package/dist/shared/chunk-76ACOEIL.js +0 -3
- package/dist/shared/chunk-AJ5KETPJ.js +0 -3
- package/dist/shared/chunk-BWQVDKMZ.js +0 -3
- package/dist/shared/chunk-CYG4PX4M.js +0 -3
- package/dist/shared/chunk-EQQGW3Y3.js +0 -3
- package/dist/shared/chunk-ESZZYREQ.js +0 -3
- package/dist/shared/chunk-IEHOWRO3.js +0 -3
- package/dist/shared/chunk-JJN753J5.js +0 -3
- package/dist/shared/chunk-KJC5OW6Z.js +0 -3
- package/dist/shared/chunk-KOF7PY4F.js +0 -3
- package/dist/shared/chunk-KPRNSVFG.js +0 -3
- package/dist/shared/chunk-QG5AWSGT.js +0 -3
- package/dist/shared/chunk-RKBJTD53.js +0 -3
- package/dist/shared/chunk-SI3CEAX2.js +0 -3
- package/dist/shared/chunk-UKPBLPU2.js +0 -3
- package/dist/shared/chunk-W2HCVNRC.js +0 -3
- package/dist/shared/chunk-W67LBR3A.js +0 -3
- package/dist/shared/chunk-XAY2Q5IE.js +0 -3
- package/dist/shared/chunk-XBVKQVAV.js +0 -3
- package/dist/shared/chunk-Z2NARRFH.js +0 -3
- package/dist/shared/chunk-ZC55FZNB.js +0 -3
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Helper functions for defining and working with props and groups of props
|
|
3
3
|
*/
|
|
4
4
|
import { type TProperties, type TSchema, type TObject, type ObjectOptions } from "@sinclair/typebox";
|
|
5
|
-
import type { PartialBy,
|
|
5
|
+
import type { PartialBy, PropGroup, GroupMetadata } from "./types";
|
|
6
6
|
export declare function group<T extends TProperties>({ title, children, category, metadata, options, }: PartialBy<PropGroup<T>, "category">): TObject<T> | TObject<import("@sinclair/typebox").Evaluate<import("@sinclair/typebox").TSetDistinct<[...import("@sinclair/typebox").UnionToTuple<keyof T, [], import("@sinclair/typebox").UnionLast<keyof T>>], []> extends infer T_1 ? T_1 extends import("@sinclair/typebox").TSetDistinct<[...import("@sinclair/typebox").UnionToTuple<keyof T, [], import("@sinclair/typebox").UnionLast<keyof T>>], []> ? T_1 extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? R extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? /*elided*/ any : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_2 ? T_2 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_2 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_3 ? T_3 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_3 extends import("@sinclair/typebox").TNever ? [] : [T_3] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_4 ? T_4 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_4 extends import("@sinclair/typebox").TNever ? [T_2] : [T_2, T_4] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_5 ? T_5 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_5 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_6 ? T_6 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_6 extends import("@sinclair/typebox").TNever ? [] : [T_6] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_7 ? T_7 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_7 extends import("@sinclair/typebox").TNever ? [T_5] : [T_5, T_7] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_8 ? T_8 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_8 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_9 ? T_9 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_9 extends import("@sinclair/typebox").TNever ? [] : [T_9] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_10 ? T_10 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_10 extends import("@sinclair/typebox").TNever ? [T_8] : [T_8, T_10] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_11 ? T_11 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_11 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_12 ? T_12 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_12 extends import("@sinclair/typebox").TNever ? [] : [T_12] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_13 ? T_13 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_13 extends import("@sinclair/typebox").TNever ? [T_11] : [T_11, T_13] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_14 ? T_14 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_14 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_15 ? T_15 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_15 extends import("@sinclair/typebox").TNever ? [] : [T_15] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_16 ? T_16 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_16 extends import("@sinclair/typebox").TNever ? [T_14] : [T_14, T_16] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_17 ? T_17 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_17 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_18 ? T_18 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_18 extends import("@sinclair/typebox").TNever ? [] : [T_18] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_19 ? T_19 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_19 extends import("@sinclair/typebox").TNever ? [T_17] : [T_17, T_19] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_20 ? T_20 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_20 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_21 ? T_21 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_21 extends import("@sinclair/typebox").TNever ? [] : [T_21] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_22 ? T_22 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_22 extends import("@sinclair/typebox").TNever ? [T_20] : [T_20, T_22] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_23 ? T_23 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_23 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_24 ? T_24 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_24 extends import("@sinclair/typebox").TNever ? [] : [T_24] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_25 ? T_25 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_25 extends import("@sinclair/typebox").TNever ? [T_23] : [T_23, T_25] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_26 ? T_26 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_26 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_27 ? T_27 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_27 extends import("@sinclair/typebox").TNever ? [] : [T_27] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_28 ? T_28 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_28 extends import("@sinclair/typebox").TNever ? [T_26] : [T_26, T_28] : never : never : never : never>; } : { [_ in L]: import("@sinclair/typebox").TIntersectEvaluated<import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_29 ? T_29 extends import("@sinclair/typebox").Assert<L extends never ? {}[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends never ? {}[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_29 extends import("@sinclair/typebox").TNever ? import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_30 ? T_30 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_30 extends import("@sinclair/typebox").TNever ? [] : [T_30] : never : never : import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> extends infer T_31 ? T_31 extends import("@sinclair/typebox").Assert<L extends keyof T ? T[L] : `${import("@sinclair/typebox").Assert<L, string | number>}` extends `${import("@sinclair/typebox").Assert<keyof T, string | number>}` ? T[import("@sinclair/typebox").Assert<L, string | number>] : import("@sinclair/typebox").TNever, TSchema> ? T_31 extends import("@sinclair/typebox").TNever ? [T_29] : [T_29, T_31] : never : never : never : never>; } : {} : never : never>>;
|
|
7
|
-
export
|
|
7
|
+
export { prop } from "./prop";
|
|
8
8
|
export declare function getGroupInfo(schema: TSchema): {
|
|
9
9
|
title: string | undefined;
|
|
10
10
|
meta: GroupMetadata;
|
|
@@ -12,6 +12,7 @@ export declare function getGroupInfo(schema: TSchema): {
|
|
|
12
12
|
};
|
|
13
13
|
export declare function defineProps<P extends TProperties>(props: P, options?: ObjectOptions & {
|
|
14
14
|
noPreset?: boolean;
|
|
15
|
+
noAlignSelf?: boolean;
|
|
15
16
|
}): TObject<{
|
|
16
17
|
lastTouched: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
17
18
|
hidden: import("@sinclair/typebox").TOptional<TObject<{
|
|
@@ -19,6 +20,9 @@ export declare function defineProps<P extends TProperties>(props: P, options?: O
|
|
|
19
20
|
mobile: import("@sinclair/typebox").TBoolean;
|
|
20
21
|
}>>;
|
|
21
22
|
editable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
23
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
24
|
+
height: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
|
+
alignSelf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"self-auto" | "self-start" | "self-center" | "self-end">>;
|
|
22
26
|
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">]>>;
|
|
23
27
|
} & P>;
|
|
24
28
|
export declare const optional: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/helpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,WAAW,EAAQ,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3G,OAAO,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/helpers.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,WAAW,EAAQ,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAE3G,OAAO,KAAK,EAAE,SAAS,EAAQ,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAmBzE,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,EAC3C,KAAK,EACL,QAAQ,EACR,QAAqB,EACrB,QAAQ,EACR,OAAO,GACR,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,8xrBAyBrC;AAGD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO;WAGW,MAAM,GAAG,SAAS;;;EAIxE;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAC/C,KAAK,EAAE,CAAC,EACR,OAAO,CAAC,EAAE,aAAa,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE;;;;;;;;;;;OAgBxE;AAED,eAAO,MAAM,QAAQ;;;;;CAAgB,CAAC;AACtC,eAAO,MAAM,KAAK,qIAAa,CAAC;AAEhC,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAM7B,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,SAAK,EAAE,MAAM,GAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAM,0BAcxG;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,QAAQ,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,EAC/C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,EAAE,EAAE,MAAM,iBAOX"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d,e,f,g
|
|
3
|
+
import{a as b,b as c,c as d,d as e,e as f,f as g,g as h}from"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import{a}from"../../chunk-KUG7UEHN.js";export{f as array,d as defineProps,c as getGroupInfo,g as getStyleProperties,h as getStyleValueById,b as group,e as optional,a as prop};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-WUYCT565.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as image,b as imageRef};
|
|
@@ -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-L6NXGVEU.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as number};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM1E,wBAAgB,OAAO,4HActB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,
|
|
1
|
+
{"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/padding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAM1E,wBAAgB,OAAO,4HActB;AAED,wBAAgB,UAAU,CAAC,OAAO,GAAE,aAAkB,2HAKrD;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-YZVFYTDV.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as padding,b as paddingRef};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,QAAQ,CAAC,YAAY,SAAY,EAAE,KAAK,SAAa,wLAYpE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,eAAe,CAAC,YAAY,UAAQ,EAAE,KAAK,SAAmB,
|
|
1
|
+
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,QAAQ,CAAC,YAAY,SAAY,EAAE,KAAK,SAAa,wLAYpE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC;AAEnE,wBAAgB,eAAe,CAAC,YAAY,UAAQ,EAAE,KAAK,SAAmB,wCAQ7E;AAED,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b}from"../../chunk-
|
|
3
|
+
import{a,b}from"../../chunk-FSC3MYBH.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{b as fixedPositioned,a as position};
|
|
@@ -4,86 +4,86 @@ export type Preset = Static<ReturnType<typeof preset>>;
|
|
|
4
4
|
export declare const presetRef: 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">]>;
|
|
5
5
|
export declare const presetsStyleProps: {
|
|
6
6
|
"surface-1": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"styles:backgroundColor": string;
|
|
8
|
+
"styles:color": string;
|
|
9
|
+
"styles:border": {
|
|
10
10
|
color: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
"surface-2": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"styles:backgroundColor": string;
|
|
15
|
+
"styles:color": string;
|
|
16
|
+
"styles:border": {
|
|
17
17
|
color: string;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
"surface-3": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
21
|
+
"styles:backgroundColor": string;
|
|
22
|
+
"styles:color": string;
|
|
23
|
+
"styles:border": {
|
|
24
24
|
color: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
"prominent-primary": {
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
28
|
+
"styles:backgroundColor": string;
|
|
29
|
+
"styles:color": string;
|
|
30
|
+
"styles:border": {
|
|
31
31
|
color: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
"prominent-secondary": {
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
35
|
+
"styles:backgroundColor": string;
|
|
36
|
+
"styles:color": string;
|
|
37
|
+
"styles:border": {
|
|
38
38
|
color: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
"prominent-accent": {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
42
|
+
"styles:backgroundColor": string;
|
|
43
|
+
"styles:color": string;
|
|
44
|
+
"styles:border": {
|
|
45
45
|
color: string;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
"medium-primary": {
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
49
|
+
"styles:backgroundColor": string;
|
|
50
|
+
"styles:color": string;
|
|
51
|
+
"styles:border": {
|
|
52
52
|
color: string;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
"medium-secondary": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
56
|
+
"styles:backgroundColor": string;
|
|
57
|
+
"styles:color": string;
|
|
58
|
+
"styles:border": {
|
|
59
59
|
color: string;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
"medium-accent": {
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
63
|
+
"styles:backgroundColor": string;
|
|
64
|
+
"styles:color": string;
|
|
65
|
+
"styles:border": {
|
|
66
66
|
color: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
"subtle-primary": {
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
70
|
+
"styles:backgroundColor": string;
|
|
71
|
+
"styles:color": string;
|
|
72
|
+
"styles:border": {
|
|
73
73
|
color: string;
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
76
|
"subtle-secondary": {
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
77
|
+
"styles:backgroundColor": string;
|
|
78
|
+
"styles:color": string;
|
|
79
|
+
"styles:border": {
|
|
80
80
|
color: string;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
83
83
|
"subtle-accent": {
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
84
|
+
"styles:backgroundColor": string;
|
|
85
|
+
"styles:color": string;
|
|
86
|
+
"styles:border": {
|
|
87
87
|
color: string;
|
|
88
88
|
};
|
|
89
89
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c}from"../../chunk-
|
|
3
|
+
import{a,b,c}from"../../chunk-J56IBYVK.js";import"../../chunk-QSKUUUXU.js";export{a as preset,b as presetRef,c as presetsStyleProps};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TSchema } from "@sinclair/typebox";
|
|
2
|
+
import type { Prop } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Helper function for creating props with additional metadata
|
|
5
|
+
*/
|
|
6
|
+
export declare function prop<T extends TSchema>({ schema, ...rest }: Prop<T>): T;
|
|
7
|
+
//# sourceMappingURL=prop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop.d.ts","sourceRoot":"","sources":["../../../../src/shared/bricks/props/prop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAEpC;;GAEG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,OAAO,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAGvE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c,d}from"../../chunk-
|
|
3
|
+
import{a,b,c,d}from"../../chunk-R3I32SUA.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as string,b as url,c as urlOrPageId,d as urlOrPageIdRef};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
|
|
2
2
|
|
|
3
|
-
import{a,b,c}from"../../chunk-
|
|
3
|
+
import{a,b,c}from"../../chunk-P5O7YHX7.js";import"../../chunk-KUV5KZYH.js";import"../../chunk-QH5ZBLA2.js";import"../../chunk-SFKZAUPW.js";import"../../chunk-J56IBYVK.js";import"../../chunk-2CXXM2W3.js";import"../../chunk-QSKUUUXU.js";import"../../chunk-KUG7UEHN.js";export{a as fontSize,b as textContent,c as textContentRef};
|
package/dist/shared/bricks.d.ts
CHANGED
|
@@ -45,16 +45,16 @@ export declare const sectionProps: import("@sinclair/typebox").TObject<{
|
|
|
45
45
|
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">]>>;
|
|
46
46
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
47
47
|
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">>;
|
|
48
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
48
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
49
49
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
50
50
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
51
51
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
52
52
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
53
|
-
|
|
53
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
54
54
|
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">>;
|
|
55
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
55
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
56
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
56
57
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
57
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
58
58
|
}>>;
|
|
59
59
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
60
60
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -89,16 +89,16 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
|
|
|
89
89
|
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">]>>;
|
|
90
90
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
91
91
|
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">>;
|
|
92
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
92
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
93
93
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
94
94
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
95
95
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
96
96
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
97
|
-
|
|
97
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
98
98
|
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">>;
|
|
99
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
99
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
100
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
100
101
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
101
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
102
102
|
}>>;
|
|
103
103
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
104
104
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -129,16 +129,16 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
|
|
|
129
129
|
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">]>>;
|
|
130
130
|
border: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
131
131
|
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">>;
|
|
132
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
132
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
133
133
|
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
134
134
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
135
135
|
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
136
136
|
}>> | import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
137
|
-
|
|
137
|
+
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
138
138
|
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">>;
|
|
139
|
-
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border" | "border
|
|
139
|
+
width: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-0" | "border" | "border-2" | "border-4" | "border-8">>;
|
|
140
|
+
color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
140
141
|
sides: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnsafe<"border-l" | "border-t" | "border-r" | "border-b">>>;
|
|
141
|
-
style: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<"border-solid" | "border-dashed" | "border-dotted">>;
|
|
142
142
|
}>>>;
|
|
143
143
|
minHeight: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
144
144
|
maxWidth: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<string>[]>>;
|
|
@@ -153,95 +153,135 @@ export declare const sectionSchema: import("@sinclair/typebox").TObject<{
|
|
|
153
153
|
mobileProps: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{}>>;
|
|
154
154
|
}>>;
|
|
155
155
|
}>;
|
|
156
|
+
export declare const sectionDefaultprops: {
|
|
157
|
+
preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "preset-none" | undefined;
|
|
158
|
+
minHeight?: string | undefined;
|
|
159
|
+
maxWidth?: string | undefined;
|
|
160
|
+
border?: {
|
|
161
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
162
|
+
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
163
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
164
|
+
color?: string | undefined;
|
|
165
|
+
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
166
|
+
} | {
|
|
167
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
168
|
+
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
169
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
170
|
+
color?: string | undefined;
|
|
171
|
+
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
background?: {
|
|
174
|
+
color?: string | undefined;
|
|
175
|
+
image?: string | undefined;
|
|
176
|
+
size?: "auto" | "cover" | "contain" | undefined;
|
|
177
|
+
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
lastTouched?: number | undefined;
|
|
180
|
+
layout?: {
|
|
181
|
+
gap?: string | undefined;
|
|
182
|
+
wrap?: boolean | undefined;
|
|
183
|
+
fillSpace?: boolean | undefined;
|
|
184
|
+
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
185
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
186
|
+
} | {
|
|
187
|
+
gap?: string | undefined;
|
|
188
|
+
wrap?: boolean | undefined;
|
|
189
|
+
fillSpace?: boolean | undefined;
|
|
190
|
+
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
191
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
horizontalPadding?: string | undefined;
|
|
194
|
+
verticalPadding?: string | undefined;
|
|
195
|
+
};
|
|
156
196
|
export type Section = Static<typeof sectionSchema>;
|
|
157
197
|
export declare function processSections(sections: Section[]): {
|
|
158
|
-
readonly
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
id: string;
|
|
163
|
-
}[];
|
|
164
|
-
readonly mobileProps?: {
|
|
165
|
-
background?: {
|
|
166
|
-
color?: string | undefined;
|
|
167
|
-
image?: string | undefined;
|
|
168
|
-
size?: "auto" | "cover" | "contain" | undefined;
|
|
169
|
-
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
|
|
170
|
-
} | undefined;
|
|
198
|
+
readonly props: {
|
|
199
|
+
preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "preset-none" | undefined;
|
|
200
|
+
minHeight?: string | undefined;
|
|
201
|
+
maxWidth?: string | undefined;
|
|
171
202
|
border?: {
|
|
172
|
-
|
|
203
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
173
204
|
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
174
|
-
width?: "border" | "border
|
|
205
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
206
|
+
color?: string | undefined;
|
|
175
207
|
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
176
|
-
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
177
208
|
} | {
|
|
178
|
-
|
|
209
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
179
210
|
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
180
|
-
width?: "border" | "border
|
|
211
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
212
|
+
color?: string | undefined;
|
|
181
213
|
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
182
|
-
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
183
214
|
} | undefined;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
215
|
+
background?: {
|
|
216
|
+
color?: string | undefined;
|
|
217
|
+
image?: string | undefined;
|
|
218
|
+
size?: "auto" | "cover" | "contain" | undefined;
|
|
219
|
+
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
|
|
220
|
+
} | undefined;
|
|
187
221
|
lastTouched?: number | undefined;
|
|
188
222
|
layout?: {
|
|
189
223
|
gap?: string | undefined;
|
|
190
224
|
wrap?: boolean | undefined;
|
|
191
225
|
fillSpace?: boolean | undefined;
|
|
192
226
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
193
|
-
alignItems?: "items-
|
|
227
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
194
228
|
} | {
|
|
195
229
|
gap?: string | undefined;
|
|
196
230
|
wrap?: boolean | undefined;
|
|
197
231
|
fillSpace?: boolean | undefined;
|
|
198
232
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
199
|
-
alignItems?: "items-
|
|
233
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
200
234
|
} | undefined;
|
|
201
235
|
horizontalPadding?: string | undefined;
|
|
202
236
|
verticalPadding?: string | undefined;
|
|
203
|
-
}
|
|
204
|
-
readonly
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
237
|
+
};
|
|
238
|
+
readonly bricks: {
|
|
239
|
+
mobileProps?: {} | undefined;
|
|
240
|
+
props: any;
|
|
241
|
+
type: string;
|
|
242
|
+
id: string;
|
|
243
|
+
}[];
|
|
244
|
+
readonly mobileProps?: {
|
|
245
|
+
preset?: "surface-1" | "surface-2" | "surface-3" | "prominent-primary" | "prominent-secondary" | "prominent-accent" | "medium-primary" | "medium-secondary" | "medium-accent" | "subtle-primary" | "subtle-secondary" | "subtle-accent" | "preset-none" | undefined;
|
|
246
|
+
minHeight?: string | undefined;
|
|
247
|
+
maxWidth?: string | undefined;
|
|
212
248
|
border?: {
|
|
213
|
-
|
|
249
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
214
250
|
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
215
|
-
width?: "border" | "border
|
|
251
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
252
|
+
color?: string | undefined;
|
|
216
253
|
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
217
|
-
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
218
254
|
} | {
|
|
219
|
-
|
|
255
|
+
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
220
256
|
rounding?: "rounded-auto" | "rounded-none" | "rounded-sm" | "rounded-md" | "rounded-lg" | "rounded-xl" | "rounded-2xl" | "rounded-3xl" | "rounded-full" | undefined;
|
|
221
|
-
width?: "border" | "border
|
|
257
|
+
width?: "border-0" | "border" | "border-2" | "border-4" | "border-8" | undefined;
|
|
258
|
+
color?: string | undefined;
|
|
222
259
|
sides?: ("border-l" | "border-t" | "border-r" | "border-b")[] | undefined;
|
|
223
|
-
style?: "border-solid" | "border-dashed" | "border-dotted" | undefined;
|
|
224
260
|
} | undefined;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
261
|
+
background?: {
|
|
262
|
+
color?: string | undefined;
|
|
263
|
+
image?: string | undefined;
|
|
264
|
+
size?: "auto" | "cover" | "contain" | undefined;
|
|
265
|
+
repeat?: "repeat" | "no-repeat" | "repeat-x" | "repeat-y" | "space" | "round" | undefined;
|
|
266
|
+
} | undefined;
|
|
228
267
|
lastTouched?: number | undefined;
|
|
229
268
|
layout?: {
|
|
230
269
|
gap?: string | undefined;
|
|
231
270
|
wrap?: boolean | undefined;
|
|
232
271
|
fillSpace?: boolean | undefined;
|
|
233
272
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
234
|
-
alignItems?: "items-
|
|
273
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
235
274
|
} | {
|
|
236
275
|
gap?: string | undefined;
|
|
237
276
|
wrap?: boolean | undefined;
|
|
238
277
|
fillSpace?: boolean | undefined;
|
|
239
278
|
justifyContent?: "justify-start" | "justify-center" | "justify-end" | "justify-between" | "justify-around" | "justify-evenly" | "justify-stretch" | undefined;
|
|
240
|
-
alignItems?: "items-
|
|
279
|
+
alignItems?: "items-center" | "items-start" | "items-end" | "items-stretch" | undefined;
|
|
241
280
|
} | undefined;
|
|
242
281
|
horizontalPadding?: string | undefined;
|
|
243
282
|
verticalPadding?: string | undefined;
|
|
244
|
-
};
|
|
283
|
+
} | undefined;
|
|
284
|
+
readonly label?: string | undefined;
|
|
245
285
|
readonly id: string;
|
|
246
286
|
readonly order: number;
|
|
247
287
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AActD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,QAAA,MAAM,2BAA2B;;;;;;;;;EAiD/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,6CAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;
|
|
1
|
+
{"version":3,"file":"bricks.d.ts","sourceRoot":"","sources":["../../src/shared/bricks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AActD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4E,CAAC;AAEpG,QAAA,MAAM,2BAA2B;;;;;;;;;EAiD/B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE/E,eAAO,MAAM,eAAe,6CAE1B,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;EA6CvB,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC;AAC3F,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAEnD,wBAAgB,eAAe,CAAC,QAAQ,EAAE,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQlD;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAUzD"}
|