@superblocksteam/library 2.0.0-next.115 → 2.0.0-next.117
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-B4iiyYl_.js → allPaths-CczRVMQ7.js} +2 -2
- package/dist/{allPaths-B4iiyYl_.js.map → allPaths-CczRVMQ7.js.map} +1 -1
- package/dist/{allPaths-BxTCIdKC.js → allPaths-DDnvc8VG.js} +2 -2
- package/dist/{allPaths-BxTCIdKC.js.map → allPaths-DDnvc8VG.js.map} +1 -1
- package/dist/{allPathsLoader-CG-CmNfF.js → allPathsLoader-BNSjCzII.js} +3 -3
- package/dist/{allPathsLoader-CG-CmNfF.js.map → allPathsLoader-BNSjCzII.js.map} +1 -1
- package/dist/{allPathsLoader-CfW2ym2_.js → allPathsLoader-OQAp2CBw.js} +3 -3
- package/dist/{allPathsLoader-CfW2ym2_.js.map → allPathsLoader-OQAp2CBw.js.map} +1 -1
- package/dist/{index-BPACADrt.js → index-e_C9TvZd.js} +14 -15
- package/dist/{index-BPACADrt.js.map → index-e_C9TvZd.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-M0xrICdh.js → splitPathsBySizeLoader-DlHRwQLg.js} +2 -2
- package/dist/{splitPathsBySizeLoader-M0xrICdh.js.map → splitPathsBySizeLoader-DlHRwQLg.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-9zB35OR3.js → splitPathsBySizeLoader-m7yeFr-l.js} +2 -2
- package/dist/{splitPathsBySizeLoader-9zB35OR3.js.map → splitPathsBySizeLoader-m7yeFr-l.js.map} +1 -1
- package/dist-types/lib/user-facing/components/button/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/button/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +6 -1
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/icon/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/icon/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/image/image-component.d.ts +2 -0
- package/dist-types/lib/user-facing/components/image/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/image/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/input/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/stack/index.d.ts +12 -2
- package/dist-types/lib/user-facing/components/switch/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/switch/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/table/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/text/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/text/props.d.ts +6 -1
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +12 -2
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as clientExports } from "./index-
|
|
2
|
-
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, 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, N, bH } from "./index-
|
|
1
|
+
import { V as clientExports } from "./index-e_C9TvZd.js";
|
|
2
|
+
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, 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, N, bH } from "./index-e_C9TvZd.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
W 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-e_C9TvZd.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-DlHRwQLg.js.map
|
package/dist/{splitPathsBySizeLoader-M0xrICdh.js.map → splitPathsBySizeLoader-DlHRwQLg.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-DlHRwQLg.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-e_C9TvZd.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-m7yeFr-l.js.map
|
package/dist/{splitPathsBySizeLoader-9zB35OR3.js.map → splitPathsBySizeLoader-m7yeFr-l.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-m7yeFr-l.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]}
|
|
@@ -12,7 +12,12 @@ export declare const SbButton: import("react").FC<import("../../properties-panel
|
|
|
12
12
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
13
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
14
14
|
} & {
|
|
15
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
15
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
16
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
17
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
18
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
19
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
|
+
} | undefined, true>;
|
|
16
21
|
} & {
|
|
17
22
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
18
23
|
}>;
|
|
@@ -17,7 +17,12 @@ export declare const propertiesDefinition: {
|
|
|
17
17
|
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
18
|
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
} & {
|
|
20
|
-
margin: Prop<
|
|
20
|
+
margin: Prop<{
|
|
21
|
+
top: Dim<"px">;
|
|
22
|
+
bottom: Dim<"px">;
|
|
23
|
+
left: Dim<"px">;
|
|
24
|
+
right: Dim<"px">;
|
|
25
|
+
} | undefined, true>;
|
|
21
26
|
} & {
|
|
22
27
|
isVisible: Prop<boolean, true>;
|
|
23
28
|
}>;
|
|
@@ -15,7 +15,12 @@ export declare const SbCheckbox: import("react").FC<import("../../properties-pan
|
|
|
15
15
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
16
16
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
17
|
} & {
|
|
18
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
18
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
19
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
20
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
+
} | undefined, true>;
|
|
19
24
|
} & {
|
|
20
25
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
21
26
|
}>;
|
|
@@ -16,7 +16,12 @@ export declare const propertiesDefinition: {
|
|
|
16
16
|
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
17
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
18
|
} & {
|
|
19
|
-
margin: Prop<
|
|
19
|
+
margin: Prop<{
|
|
20
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
|
+
} | undefined, true>;
|
|
20
25
|
} & {
|
|
21
26
|
isVisible: Prop<boolean, true>;
|
|
22
27
|
}>;
|
|
@@ -11,7 +11,12 @@ declare const layoutPropDef: {
|
|
|
11
11
|
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
12
12
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
13
13
|
} & {
|
|
14
|
-
margin: Prop<
|
|
14
|
+
margin: Prop<{
|
|
15
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
16
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
17
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
18
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
19
|
+
} | undefined, true>;
|
|
15
20
|
} & {
|
|
16
21
|
isVisible: Prop<boolean, true>;
|
|
17
22
|
}>;
|
|
@@ -28,7 +28,12 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
|
|
|
28
28
|
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
29
29
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
30
30
|
} & {
|
|
31
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
31
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
32
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
33
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
34
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
35
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
36
|
+
} | undefined, true>;
|
|
32
37
|
} & {
|
|
33
38
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
34
39
|
}>;
|
|
@@ -30,7 +30,12 @@ export declare const propertiesDefinition: {
|
|
|
30
30
|
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
31
31
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
32
32
|
} & {
|
|
33
|
-
margin: Prop<
|
|
33
|
+
margin: Prop<{
|
|
34
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
35
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
36
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
37
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
38
|
+
} | undefined, true>;
|
|
34
39
|
} & {
|
|
35
40
|
isVisible: Prop<boolean, true>;
|
|
36
41
|
}>;
|
|
@@ -29,7 +29,12 @@ export declare const SbDropdown: React.FC<import("../../properties-panel/props-b
|
|
|
29
29
|
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
30
30
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
31
31
|
} & {
|
|
32
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
32
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
33
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
34
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
35
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
36
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
37
|
+
} | undefined, true>;
|
|
33
38
|
} & {
|
|
34
39
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
35
40
|
}>;
|
|
@@ -30,7 +30,12 @@ export declare const propertiesDefinition: {
|
|
|
30
30
|
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
31
31
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
32
32
|
} & {
|
|
33
|
-
margin: Prop<
|
|
33
|
+
margin: Prop<{
|
|
34
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
35
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
36
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
37
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
38
|
+
} | undefined, true>;
|
|
34
39
|
} & {
|
|
35
40
|
isVisible: Prop<boolean, true>;
|
|
36
41
|
}>;
|
|
@@ -25,7 +25,12 @@ declare const _propertiesDefinition: {
|
|
|
25
25
|
width: Prop<Dim<DimModes>, false>;
|
|
26
26
|
height: Prop<Dim<DimModes>, false>;
|
|
27
27
|
} & {
|
|
28
|
-
margin: Prop<
|
|
28
|
+
margin: Prop<{
|
|
29
|
+
top: Dim<"px">;
|
|
30
|
+
bottom: Dim<"px">;
|
|
31
|
+
left: Dim<"px">;
|
|
32
|
+
right: Dim<"px">;
|
|
33
|
+
} | undefined, true>;
|
|
29
34
|
} & {
|
|
30
35
|
isVisible: Prop<boolean, true>;
|
|
31
36
|
}>;
|
|
@@ -7,7 +7,12 @@ export declare const SbIcon: import("react").FC<import("../../properties-panel/p
|
|
|
7
7
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, true>;
|
|
8
8
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, true>;
|
|
9
9
|
} & {
|
|
10
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
10
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
11
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
12
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
13
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
14
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
15
|
+
} | undefined, true>;
|
|
11
16
|
} & {
|
|
12
17
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
13
18
|
}>;
|
|
@@ -9,7 +9,12 @@ export declare const propertiesDefinition: {
|
|
|
9
9
|
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, true>;
|
|
10
10
|
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, true>;
|
|
11
11
|
} & {
|
|
12
|
-
margin: Prop<
|
|
12
|
+
margin: Prop<{
|
|
13
|
+
top: Dim<"px">;
|
|
14
|
+
bottom: Dim<"px">;
|
|
15
|
+
left: Dim<"px">;
|
|
16
|
+
right: Dim<"px">;
|
|
17
|
+
} | undefined, true>;
|
|
13
18
|
} & {
|
|
14
19
|
isVisible: Prop<boolean, true>;
|
|
15
20
|
}>;
|
|
@@ -28,7 +28,9 @@ interface ImageComponentProps {
|
|
|
28
28
|
borderRadius: PerCornerBorderRadius;
|
|
29
29
|
fillContainer: boolean;
|
|
30
30
|
height?: Dim<DimModes>;
|
|
31
|
+
maxHeight?: Dim<"px">;
|
|
31
32
|
width?: Dim<DimModes>;
|
|
33
|
+
maxWidth?: Dim<"px">;
|
|
32
34
|
roundHeightToGrid: boolean;
|
|
33
35
|
border?: PerSideBorder;
|
|
34
36
|
backgroundColor: string;
|
|
@@ -18,7 +18,12 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
|
|
|
18
18
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
20
20
|
} & {
|
|
21
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
21
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
22
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
25
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
26
|
+
} | undefined, true>;
|
|
22
27
|
} & {
|
|
23
28
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
24
29
|
}>;
|
|
@@ -28,7 +28,12 @@ export declare const propertiesDefinition: {
|
|
|
28
28
|
width: Prop<Dim<DimModes>, false>;
|
|
29
29
|
height: Prop<Dim<DimModes>, false>;
|
|
30
30
|
} & {
|
|
31
|
-
margin: Prop<
|
|
31
|
+
margin: Prop<{
|
|
32
|
+
top: Dim<"px">;
|
|
33
|
+
bottom: Dim<"px">;
|
|
34
|
+
left: Dim<"px">;
|
|
35
|
+
right: Dim<"px">;
|
|
36
|
+
} | undefined, true>;
|
|
32
37
|
} & {
|
|
33
38
|
isVisible: Prop<boolean, true>;
|
|
34
39
|
}>;
|
|
@@ -43,7 +43,12 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
43
43
|
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
44
44
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
45
45
|
} & {
|
|
46
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
46
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
47
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
48
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
49
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
50
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
51
|
+
} | undefined, true>;
|
|
47
52
|
} & {
|
|
48
53
|
labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
49
54
|
} & {
|
|
@@ -47,7 +47,12 @@ export declare const propertiesDefinition: {
|
|
|
47
47
|
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
48
48
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
49
49
|
} & {
|
|
50
|
-
margin: Prop<
|
|
50
|
+
margin: Prop<{
|
|
51
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
52
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
53
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
54
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
55
|
+
} | undefined, true>;
|
|
51
56
|
} & {
|
|
52
57
|
labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
53
58
|
} & {
|
|
@@ -8,7 +8,12 @@ export declare const propertiesDefinition: {
|
|
|
8
8
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
9
9
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
10
10
|
} & {
|
|
11
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
11
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
12
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
13
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
14
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
15
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
16
|
+
} | undefined, true>;
|
|
12
17
|
} & {
|
|
13
18
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
14
19
|
}>;
|
|
@@ -7,7 +7,12 @@ declare const _propertiesDefinitionVStack: {
|
|
|
7
7
|
layout: Section<Record<string, Prop<any, any>> & {
|
|
8
8
|
isVisible: Prop<boolean, true>;
|
|
9
9
|
shouldScrollContents: Prop<boolean, true>;
|
|
10
|
-
margin: Prop<
|
|
10
|
+
margin: Prop<{
|
|
11
|
+
top: Dim<"px">;
|
|
12
|
+
bottom: Dim<"px">;
|
|
13
|
+
left: Dim<"px">;
|
|
14
|
+
right: Dim<"px">;
|
|
15
|
+
} | undefined, true>;
|
|
11
16
|
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
12
17
|
minHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
13
18
|
maxWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
@@ -30,7 +35,12 @@ declare const _propertiesDefinitionHStack: {
|
|
|
30
35
|
layout: Section<Record<string, Prop<any, any>> & {
|
|
31
36
|
isVisible: Prop<boolean, true>;
|
|
32
37
|
shouldScrollContents: Prop<boolean, true>;
|
|
33
|
-
margin: Prop<
|
|
38
|
+
margin: Prop<{
|
|
39
|
+
top: Dim<"px">;
|
|
40
|
+
bottom: Dim<"px">;
|
|
41
|
+
left: Dim<"px">;
|
|
42
|
+
right: Dim<"px">;
|
|
43
|
+
} | undefined, true>;
|
|
34
44
|
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
35
45
|
minHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
36
46
|
maxWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
@@ -16,7 +16,12 @@ export declare const SbSwitch: import("react").FC<import("../../properties-panel
|
|
|
16
16
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
17
17
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
18
|
} & {
|
|
19
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
19
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
20
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
21
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
|
+
} | undefined, true>;
|
|
20
25
|
} & {
|
|
21
26
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
22
27
|
}>;
|
|
@@ -17,7 +17,12 @@ export declare const propertiesDefinition: {
|
|
|
17
17
|
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
18
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
} & {
|
|
20
|
-
margin: Prop<
|
|
20
|
+
margin: Prop<{
|
|
21
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
25
|
+
} | undefined, true>;
|
|
21
26
|
} & {
|
|
22
27
|
isVisible: Prop<boolean, true>;
|
|
23
28
|
}>;
|
|
@@ -181,7 +181,12 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
181
181
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
182
182
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
183
183
|
} & {
|
|
184
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
184
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
185
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
186
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
187
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
188
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
189
|
+
} | undefined, true>;
|
|
185
190
|
} & {
|
|
186
191
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
187
192
|
}>;
|
|
@@ -184,7 +184,12 @@ export declare const propertiesDefinition: {
|
|
|
184
184
|
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
185
185
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
186
186
|
} & {
|
|
187
|
-
margin: Prop<
|
|
187
|
+
margin: Prop<{
|
|
188
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
189
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
190
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
191
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
192
|
+
} | undefined, true>;
|
|
188
193
|
} & {
|
|
189
194
|
isVisible: Prop<boolean, true>;
|
|
190
195
|
}>;
|
|
@@ -42,7 +42,12 @@ export declare const SbText: import("react").FC<import("../../properties-panel/p
|
|
|
42
42
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
43
43
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
44
44
|
} & {
|
|
45
|
-
margin: import("../../properties-panel/props-builder.js").Prop<
|
|
45
|
+
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
46
|
+
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
47
|
+
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
48
|
+
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
49
|
+
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
50
|
+
} | undefined, true>;
|
|
46
51
|
} & {
|
|
47
52
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
48
53
|
} & {
|
|
@@ -53,7 +53,12 @@ export declare const propertiesDefinition: {
|
|
|
53
53
|
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
54
54
|
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
55
55
|
} & {
|
|
56
|
-
margin: Prop<
|
|
56
|
+
margin: Prop<{
|
|
57
|
+
top: Dim<"px">;
|
|
58
|
+
bottom: Dim<"px">;
|
|
59
|
+
left: Dim<"px">;
|
|
60
|
+
right: Dim<"px">;
|
|
61
|
+
} | undefined, true>;
|
|
57
62
|
} & {
|
|
58
63
|
isVisible: Prop<boolean, true>;
|
|
59
64
|
} & {
|
|
@@ -60,7 +60,12 @@ export declare const padding: (options?: {
|
|
|
60
60
|
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
61
61
|
};
|
|
62
62
|
export declare const margin: () => {
|
|
63
|
-
margin: Prop<
|
|
63
|
+
margin: Prop<{
|
|
64
|
+
top: Dim<"px">;
|
|
65
|
+
bottom: Dim<"px">;
|
|
66
|
+
left: Dim<"px">;
|
|
67
|
+
right: Dim<"px">;
|
|
68
|
+
} | undefined, true>;
|
|
64
69
|
};
|
|
65
70
|
export declare const getAlignmentProps: <LayoutType extends "vertical" | "horizontal">() => {
|
|
66
71
|
verticalAlign: Prop<VerticalAlignment<LayoutType>, true>;
|
|
@@ -107,7 +112,12 @@ export declare const basicLayout: () => Section<Record<string, Prop<any, any>> &
|
|
|
107
112
|
width: Prop<Dim<DimModes>, false>;
|
|
108
113
|
height: Prop<Dim<DimModes>, false>;
|
|
109
114
|
} & {
|
|
110
|
-
margin: Prop<
|
|
115
|
+
margin: Prop<{
|
|
116
|
+
top: Dim<"px">;
|
|
117
|
+
bottom: Dim<"px">;
|
|
118
|
+
left: Dim<"px">;
|
|
119
|
+
right: Dim<"px">;
|
|
120
|
+
} | undefined, true>;
|
|
111
121
|
} & {
|
|
112
122
|
isVisible: Prop<boolean, true>;
|
|
113
123
|
}>;
|
|
@@ -132,7 +132,7 @@ declare class Section<T extends Record<string, Prop<any, any>> = Record<string,
|
|
|
132
132
|
}[number] : never : INP>(props: INP): Section<T & OUT>;
|
|
133
133
|
add: <INP extends Record<string, Prop<any, any>> | CompositeProp<any> | UnionProp<any, any>, OUT extends INP extends CompositeProp<infer CU> ? CU : INP extends UnionProp<infer SHARED, infer VARIANTS> ? VARIANTS extends readonly any[] ? { [I in keyof VARIANTS]: MergeUnionVariant<SHARED, VARIANTS[I]>; }[number] : never : INP>(props: INP) => Section<T & OUT>;
|
|
134
134
|
propertiesPanel(config: Omit<SectionDefinition<any>, "props">): this;
|
|
135
|
-
get name(): "
|
|
135
|
+
get name(): "Layout" | "Content" | "Routing" | "Interaction" | "Appearance" | "Permissions" | "Uncategorized" | "Event handlers";
|
|
136
136
|
}
|
|
137
137
|
declare class Prop<Type extends DataType, _HasDefault extends boolean = false> {
|
|
138
138
|
protected prop: ManagedProp<Type>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.117",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@react-hook/resize-observer": "1.2.6",
|
|
34
34
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
35
35
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
36
|
-
"@superblocksteam/library-shared": "2.0.0-next.
|
|
36
|
+
"@superblocksteam/library-shared": "2.0.0-next.117",
|
|
37
37
|
"@superblocksteam/shared": "0.9149.0",
|
|
38
38
|
"antd": "4.24.15",
|
|
39
39
|
"apca-w3": "^0.1.9",
|