@superblocksteam/library 2.0.6-next.32 → 2.0.6-next.34
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/{allPaths-xFVQQD0y.js → allPaths-BhIhuhyr.js} +2 -2
- package/dist/{allPaths-xFVQQD0y.js.map → allPaths-BhIhuhyr.js.map} +1 -1
- package/dist/{allPaths-x2mqpZFN.js → allPaths-C-GS61ep.js} +2 -2
- package/dist/{allPaths-x2mqpZFN.js.map → allPaths-C-GS61ep.js.map} +1 -1
- package/dist/{allPathsLoader-BRtFt6t5.js → allPathsLoader-okzKZ8ZK.js} +3 -3
- package/dist/{allPathsLoader-BcutVQcb.js.map → allPathsLoader-okzKZ8ZK.js.map} +1 -1
- package/dist/{allPathsLoader-BcutVQcb.js → allPathsLoader-yqClhllT.js} +3 -3
- package/dist/{allPathsLoader-BRtFt6t5.js.map → allPathsLoader-yqClhllT.js.map} +1 -1
- package/dist/{devtools-consolidated-Bx5_5I-I.js → devtools-consolidated-BQ5Eme4s.js} +2 -2
- package/dist/{devtools-consolidated-Bx5_5I-I.js.map → devtools-consolidated-BQ5Eme4s.js.map} +1 -1
- package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
- package/dist/icons-lSlfQ50w.js.map +1 -0
- package/dist/{index-CJnCDVsr.js → index-CQOHJMew.js} +365 -1429
- package/dist/{index-CJnCDVsr.js.map → index-CQOHJMew.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-BIQRx5NP.js → splitPathsBySizeLoader-BV47-5ws.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BIQRx5NP.js.map → splitPathsBySizeLoader-BV47-5ws.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-B6PtJR5E.js → splitPathsBySizeLoader-DOjF2YSu.js} +2 -2
- package/dist/{splitPathsBySizeLoader-B6PtJR5E.js.map → splitPathsBySizeLoader-DOjF2YSu.js.map} +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +6 -6
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +5 -0
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +9 -9
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/grid/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +11 -11
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +262 -161
- package/dist-types/lib/user-facing/components/table/index.d.ts +306 -205
- package/dist-types/lib/user-facing/components/table/props.d.ts +306 -205
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +5 -1
- package/dist-types/lib/user-facing/components/table/types.d.ts +31 -28
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/entities/api/props.d.ts +10 -10
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +20 -9
- package/package.json +2 -2
- package/dist/icons-NrNO8p_u.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as clientExports } from "./index-
|
|
2
|
-
import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, U, R, bM } from "./index-
|
|
1
|
+
import { $ as clientExports } from "./index-CQOHJMew.js";
|
|
2
|
+
import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, U, R, bM } from "./index-CQOHJMew.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
a0 as Await,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-CQOHJMew.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-BV47-5ws.js.map
|
package/dist/{splitPathsBySizeLoader-BIQRx5NP.js.map → splitPathsBySizeLoader-BV47-5ws.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-BV47-5ws.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-CQOHJMew.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-DOjF2YSu.js.map
|
package/dist/{splitPathsBySizeLoader-B6PtJR5E.js.map → splitPathsBySizeLoader-DOjF2YSu.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-DOjF2YSu.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -7,13 +7,13 @@ import type { SbElement, SbInstance, ValidationState } from "@superblocksteam/li
|
|
|
7
7
|
export type EntityOutputProp = Exclude<null | undefined | string | number | boolean | object | bigint | any[], BindingString | EntityDerivedProp<any[]>>;
|
|
8
8
|
export type EntityDerivedProp<ARGS extends any[] = any[]> = (this: Readonly<Entity>, state?: Readonly<ScopedState>, ...args: ARGS) => EntityOutputProp;
|
|
9
9
|
export type Executable<ARGS extends any[] = any[]> = (this: Entity, state?: ScopedState, ...args: ARGS) => void;
|
|
10
|
-
export type ValueInputProp<T = EntityOutputProp> = T | EntityDerivedProp | BindingString | ComputedProperty<T>;
|
|
11
|
-
export type SingleInputProp<T = EntityOutputProp> = ValueInputProp<T> | SbEventFlow;
|
|
12
|
-
export type NestedInputProp<T> = T extends object ? {
|
|
13
|
-
[K in keyof T]: SingleInputProp<T[K]> | NestedInputProp<T[K]>;
|
|
10
|
+
export type ValueInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = T | EntityDerivedProp | BindingString | ComputedProperty<T, ARGS>;
|
|
11
|
+
export type SingleInputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = ValueInputProp<T, ARGS> | SbEventFlow;
|
|
12
|
+
export type NestedInputProp<T, ARGS extends any[] = any[]> = T extends object ? {
|
|
13
|
+
[K in keyof T]: SingleInputProp<T[K], ARGS> | NestedInputProp<T[K], ARGS>;
|
|
14
14
|
} : never;
|
|
15
|
-
export type InputProp<T = EntityOutputProp> = SingleInputProp<T> | NestedInputProp<T>;
|
|
16
|
-
export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...
|
|
15
|
+
export type InputProp<T = EntityOutputProp, ARGS extends any[] = any[]> = SingleInputProp<T, ARGS> | NestedInputProp<T, ARGS>;
|
|
16
|
+
export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...ARGS: ARGS) => R;
|
|
17
17
|
export type EntityType = "global" | "theme" | "variable" | "api" | "timer" | (string & {});
|
|
18
18
|
export type Entity = {
|
|
19
19
|
[key: string]: EntityOutputProp;
|
|
@@ -13,7 +13,8 @@ export interface ComputeEngine {
|
|
|
13
13
|
}
|
|
14
14
|
declare class EvalComputeEngine implements ComputeEngine {
|
|
15
15
|
private statementFunction;
|
|
16
|
-
|
|
16
|
+
private statementFunctionNoSnapshot;
|
|
17
|
+
compute({ snapshot, entityName, func, args, path, excludeState, }: ComputeParams): any;
|
|
17
18
|
}
|
|
18
19
|
declare class DirectComputeEngine implements ComputeEngine {
|
|
19
20
|
compute({ snapshot, entityName, func, args, path, excludeState, }: ComputeParams): EntityOutputProp;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type ComputedArgs } from "@superblocksteam/library-shared";
|
|
1
2
|
declare const lazyFunctionSymbol: unique symbol;
|
|
2
3
|
export type LazyFunction = ((...args: unknown[]) => unknown) & {
|
|
3
4
|
[lazyFunctionSymbol]: true;
|
|
4
5
|
};
|
|
5
6
|
export declare const isLazyFunction: (value: unknown) => value is LazyFunction;
|
|
6
|
-
export declare const LazyFunction: (source: string, args?:
|
|
7
|
+
export declare const LazyFunction: (source: string, args?: ComputedArgs) => LazyFunction;
|
|
7
8
|
export {};
|
|
@@ -26,4 +26,9 @@ export declare class ComponentRegistry implements ComponentRegistryShareState {
|
|
|
26
26
|
get managedPropsRegistry(): Map<string, ManagedPropsList>;
|
|
27
27
|
getManagedProps(type: string): ManagedPropsList;
|
|
28
28
|
getComponent(type: string): Type | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Get the property path with the record identifier if it exists. For example,
|
|
31
|
+
* `columns.columnName.label` becomes `columns.*.label`, for record properties.
|
|
32
|
+
*/
|
|
33
|
+
getPropertyWithRecordIdentifier(type: string, path: string): string;
|
|
29
34
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
export declare const SbButton: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
4
4
|
}>;
|
|
5
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
6
|
-
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
5
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
6
|
+
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
|
|
7
7
|
} & {
|
|
8
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
9
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
10
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
11
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
8
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
9
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
10
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
11
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
12
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
13
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
14
14
|
} & {
|
|
15
15
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
16
16
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
17
17
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
18
18
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
19
19
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
|
-
} | undefined, true>;
|
|
20
|
+
} | undefined, true, undefined>;
|
|
21
21
|
} & {
|
|
22
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
22
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
23
23
|
}>;
|
|
24
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
25
|
-
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
|
|
26
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
27
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
28
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
29
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
31
|
-
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
32
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
|
|
33
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
24
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
25
|
+
variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true, undefined>;
|
|
26
|
+
icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
27
|
+
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
|
|
28
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
29
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
30
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
|
|
31
|
+
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
32
|
+
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true, undefined>;
|
|
33
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
34
34
|
}>;
|
|
35
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
36
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
35
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
36
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
37
37
|
}>;
|
|
38
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
39
|
-
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
38
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
39
|
+
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
|
|
40
40
|
}>;
|
|
41
41
|
}>>;
|
|
@@ -4,43 +4,43 @@ import type { Dim } from "@superblocksteam/library-shared";
|
|
|
4
4
|
import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
|
|
5
5
|
export type ButtonVariant = "primary" | "secondary" | "tertiary";
|
|
6
6
|
export declare const propertiesDefinition: {
|
|
7
|
-
general: Section<Record<string, Prop<any, any>> & {
|
|
8
|
-
label: Prop<string, false>;
|
|
7
|
+
general: Section<Record<string, Prop<any, any, undefined>> & {
|
|
8
|
+
label: Prop<string, false, undefined>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: Section<Record<string, Prop<any, any>> & {
|
|
11
|
-
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
10
|
+
layout: Section<Record<string, Prop<any, any, undefined>> & {
|
|
11
|
+
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
|
|
12
12
|
} & {
|
|
13
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
16
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
17
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
|
+
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
14
|
+
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
15
|
+
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
16
|
+
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
17
|
+
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
18
|
+
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
19
19
|
} & {
|
|
20
20
|
margin: Prop<{
|
|
21
21
|
top: Dim<"px">;
|
|
22
22
|
bottom: Dim<"px">;
|
|
23
23
|
left: Dim<"px">;
|
|
24
24
|
right: Dim<"px">;
|
|
25
|
-
} | undefined, true>;
|
|
25
|
+
} | undefined, true, undefined>;
|
|
26
26
|
} & {
|
|
27
|
-
isVisible: Prop<boolean, true>;
|
|
27
|
+
isVisible: Prop<boolean, true, undefined>;
|
|
28
28
|
}>;
|
|
29
|
-
appearance: Section<Record<string, Prop<any, any>> & {
|
|
30
|
-
variant: Prop<ButtonVariant, true>;
|
|
31
|
-
icon: Prop<string, false>;
|
|
32
|
-
iconPosition: Prop<IconPosition, true>;
|
|
33
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
34
|
-
backgroundColor: Prop<string, true>;
|
|
35
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
36
|
-
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
37
|
-
horizontalAlign: Prop<HorizontalAlign, true>;
|
|
38
|
-
loading: Prop<boolean, true>;
|
|
29
|
+
appearance: Section<Record<string, Prop<any, any, undefined>> & {
|
|
30
|
+
variant: Prop<ButtonVariant, true, undefined>;
|
|
31
|
+
icon: Prop<string, false, undefined>;
|
|
32
|
+
iconPosition: Prop<IconPosition, true, undefined>;
|
|
33
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
34
|
+
backgroundColor: Prop<string, true, undefined>;
|
|
35
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
|
|
36
|
+
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
37
|
+
horizontalAlign: Prop<HorizontalAlign, true, undefined>;
|
|
38
|
+
loading: Prop<boolean, true, undefined>;
|
|
39
39
|
}>;
|
|
40
|
-
interaction: Section<Record<string, Prop<any, any>> & {
|
|
41
|
-
isDisabled: Prop<boolean, true>;
|
|
40
|
+
interaction: Section<Record<string, Prop<any, any, undefined>> & {
|
|
41
|
+
isDisabled: Prop<boolean, true, undefined>;
|
|
42
42
|
}>;
|
|
43
|
-
events: Section<Record<string, Prop<any, any>> & {
|
|
44
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
43
|
+
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
44
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
|
|
45
45
|
}>;
|
|
46
46
|
};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
export declare const SbCheckbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
-
label: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
4
|
-
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
3
|
+
label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
4
|
+
defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
5
5
|
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
7
|
-
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
8
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
6
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
7
|
+
labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
8
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
9
9
|
}>;
|
|
10
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
11
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
12
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
13
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
16
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
10
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
11
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
12
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
13
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
14
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
15
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
16
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
17
17
|
} & {
|
|
18
18
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
19
19
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
20
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
21
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
22
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
-
} | undefined, true>;
|
|
23
|
+
} | undefined, true, undefined>;
|
|
24
24
|
} & {
|
|
25
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
25
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
26
26
|
}>;
|
|
27
|
-
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
28
|
-
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
29
|
-
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
30
|
-
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
31
|
-
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
32
|
-
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
27
|
+
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
28
|
+
customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
29
|
+
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
30
|
+
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
31
|
+
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
32
|
+
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
33
33
|
}>;
|
|
34
|
-
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
35
|
-
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
34
|
+
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
35
|
+
onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
|
|
36
36
|
}>;
|
|
37
|
-
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
-
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
39
|
-
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
37
|
+
meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
38
|
+
isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
39
|
+
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
40
40
|
}>;
|
|
41
|
-
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
42
|
-
value: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
43
|
-
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
44
|
-
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
45
|
-
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
41
|
+
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
42
|
+
value: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
43
|
+
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true, undefined>;
|
|
44
|
+
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
45
|
+
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
46
46
|
}>;
|
|
47
47
|
}>>;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { Prop, Section } from "../../properties-panel/props-builder.js";
|
|
2
2
|
export declare const propertiesDefinition: {
|
|
3
|
-
general: Section<Record<string, Prop<any, any>> & {
|
|
4
|
-
label: Prop<string, true>;
|
|
5
|
-
defaultChecked: Prop<boolean, true>;
|
|
3
|
+
general: Section<Record<string, Prop<any, any, undefined>> & {
|
|
4
|
+
label: Prop<string, true, undefined>;
|
|
5
|
+
defaultChecked: Prop<boolean, true, undefined>;
|
|
6
6
|
}>;
|
|
7
|
-
appearance: Section<Record<string, Prop<any, any>> & {
|
|
8
|
-
labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
9
|
-
loading: Prop<boolean, true>;
|
|
7
|
+
appearance: Section<Record<string, Prop<any, any, undefined>> & {
|
|
8
|
+
labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
9
|
+
loading: Prop<boolean, true, undefined>;
|
|
10
10
|
}>;
|
|
11
|
-
layout: Section<Record<string, Prop<any, any>> & {
|
|
12
|
-
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
13
|
-
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
-
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
-
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
16
|
-
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
|
-
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
11
|
+
layout: Section<Record<string, Prop<any, any, undefined>> & {
|
|
12
|
+
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
13
|
+
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
14
|
+
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
15
|
+
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
|
|
16
|
+
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
17
|
+
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
|
|
18
18
|
} & {
|
|
19
19
|
margin: Prop<{
|
|
20
20
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
21
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
22
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
23
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
|
-
} | undefined, true>;
|
|
24
|
+
} | undefined, true, undefined>;
|
|
25
25
|
} & {
|
|
26
|
-
isVisible: Prop<boolean, true>;
|
|
26
|
+
isVisible: Prop<boolean, true, undefined>;
|
|
27
27
|
}>;
|
|
28
|
-
interaction: Section<Record<string, Prop<any, any>> & {
|
|
29
|
-
customValidationRule: Prop<string, true>;
|
|
30
|
-
customErrorMessage: Prop<string, true>;
|
|
31
|
-
isRequired: Prop<boolean, false>;
|
|
32
|
-
isDisabled: Prop<boolean, true>;
|
|
33
|
-
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
28
|
+
interaction: Section<Record<string, Prop<any, any, undefined>> & {
|
|
29
|
+
customValidationRule: Prop<string, true, undefined>;
|
|
30
|
+
customErrorMessage: Prop<string, true, undefined>;
|
|
31
|
+
isRequired: Prop<boolean, false, undefined>;
|
|
32
|
+
isDisabled: Prop<boolean, true, undefined>;
|
|
33
|
+
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
|
|
34
34
|
}>;
|
|
35
|
-
events: Section<Record<string, Prop<any, any>> & {
|
|
36
|
-
onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
35
|
+
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
36
|
+
onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
|
|
37
37
|
}>;
|
|
38
|
-
meta: Section<Record<string, Prop<any, any>> & {
|
|
39
|
-
isTouched: Prop<boolean, true>;
|
|
40
|
-
isChecked: Prop<boolean, true>;
|
|
38
|
+
meta: Section<Record<string, Prop<any, any, undefined>> & {
|
|
39
|
+
isTouched: Prop<boolean, true, undefined>;
|
|
40
|
+
isChecked: Prop<boolean, true, undefined>;
|
|
41
41
|
}>;
|
|
42
|
-
derived: Section<Record<string, Prop<any, any>> & {
|
|
43
|
-
value: Prop<boolean, true>;
|
|
44
|
-
validationErrors: Prop<any, true>;
|
|
45
|
-
isValid: Prop<boolean, true>;
|
|
46
|
-
showError: Prop<boolean, true>;
|
|
42
|
+
derived: Section<Record<string, Prop<any, any, undefined>> & {
|
|
43
|
+
value: Prop<boolean, true, undefined>;
|
|
44
|
+
validationErrors: Prop<any, true, undefined>;
|
|
45
|
+
isValid: Prop<boolean, true, undefined>;
|
|
46
|
+
showError: Prop<boolean, true, undefined>;
|
|
47
47
|
}>;
|
|
48
48
|
};
|
|
@@ -7,32 +7,32 @@ import { Dim } from "@superblocksteam/library-shared";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const getDefaultSectionChildren: () => never[];
|
|
9
9
|
export declare const SbColumn: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
10
|
-
layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
|
|
11
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
10
|
+
layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
11
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
12
12
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
13
|
-
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true>;
|
|
14
|
-
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
15
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
|
|
13
|
+
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true, undefined>;
|
|
14
|
+
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true, undefined>;
|
|
15
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true, undefined>;
|
|
16
16
|
}) | (Omit<{
|
|
17
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
17
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
18
18
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
19
|
-
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom", true>;
|
|
20
|
-
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
21
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
|
|
19
|
+
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom", true, undefined>;
|
|
20
|
+
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true, undefined>;
|
|
21
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true, undefined>;
|
|
22
22
|
}) | (Omit<{
|
|
23
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
23
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
24
24
|
}, "layout" | "columns" | "rowHeight"> & {
|
|
25
|
-
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
26
|
-
readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
|
|
27
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
|
|
25
|
+
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true, undefined>;
|
|
26
|
+
readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true, undefined>;
|
|
27
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true, undefined>;
|
|
28
28
|
}))) & {
|
|
29
|
-
shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
29
|
+
shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
30
30
|
}) & {
|
|
31
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
31
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
32
32
|
}>;
|
|
33
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
34
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
35
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
36
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
33
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
34
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
35
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
|
|
36
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
37
37
|
}>;
|
|
38
38
|
}>>;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { Dim } from "@superblocksteam/library-shared";
|
|
2
2
|
import { Section } from "../../properties-panel/props-builder.js";
|
|
3
3
|
export declare const propertiesDefinition: {
|
|
4
|
-
layout: Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
|
|
5
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
4
|
+
layout: Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & ((Omit<{
|
|
5
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
6
6
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
7
|
-
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true>;
|
|
8
|
-
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
9
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
|
|
7
|
+
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true, undefined>;
|
|
8
|
+
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true, undefined>;
|
|
9
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true, undefined>;
|
|
10
10
|
}) | (Omit<{
|
|
11
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
11
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
12
12
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
13
|
-
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom", true>;
|
|
14
|
-
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
15
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
|
|
13
|
+
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "top" | "bottom", true, undefined>;
|
|
14
|
+
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true, undefined>;
|
|
15
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true, undefined>;
|
|
16
16
|
}) | (Omit<{
|
|
17
|
-
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
17
|
+
layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true, undefined>;
|
|
18
18
|
}, "layout" | "columns" | "rowHeight"> & {
|
|
19
|
-
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
20
|
-
readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
|
|
21
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
|
|
19
|
+
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true, undefined>;
|
|
20
|
+
readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true, undefined>;
|
|
21
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true, undefined>;
|
|
22
22
|
}))) & {
|
|
23
|
-
shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
23
|
+
shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
24
24
|
}) & {
|
|
25
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
25
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
26
26
|
}>;
|
|
27
|
-
appearance: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
28
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
29
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
30
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
27
|
+
appearance: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
28
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
|
|
29
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
|
|
30
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
31
31
|
}>;
|
|
32
32
|
};
|