@superblocksteam/library 2.0.0-next.11 → 2.0.0-next.13

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.
Files changed (28) hide show
  1. package/dist/{allPaths-DXE_RTrt.js → allPaths-Bn3yyQ3c.js} +2 -2
  2. package/dist/{allPaths-DXE_RTrt.js.map → allPaths-Bn3yyQ3c.js.map} +1 -1
  3. package/dist/{allPaths-h7bsheRo.js → allPaths-CvONgUpw.js} +2 -2
  4. package/dist/{allPaths-h7bsheRo.js.map → allPaths-CvONgUpw.js.map} +1 -1
  5. package/dist/{allPathsLoader-16QM90xQ.js → allPathsLoader-ChGTIs4V.js} +3 -3
  6. package/dist/{allPathsLoader-BWX35Jie.js.map → allPathsLoader-ChGTIs4V.js.map} +1 -1
  7. package/dist/{allPathsLoader-BWX35Jie.js → allPathsLoader-CwfUUH_6.js} +3 -3
  8. package/dist/{allPathsLoader-16QM90xQ.js.map → allPathsLoader-CwfUUH_6.js.map} +1 -1
  9. package/dist/{index-tdErpvtu.js → index-C55tLFkh.js} +107 -89
  10. package/dist/{index-tdErpvtu.js.map → index-C55tLFkh.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-wQWCogRx.js → splitPathsBySizeLoader-C3WMN64l.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-wQWCogRx.js.map → splitPathsBySizeLoader-C3WMN64l.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-7yhv4gcq.js → splitPathsBySizeLoader-DIiMams0.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-7yhv4gcq.js.map → splitPathsBySizeLoader-DIiMams0.js.map} +1 -1
  16. package/dist-types/lib/user-facing/components/button/props.d.ts +0 -5
  17. package/dist-types/lib/user-facing/components/column/index.d.ts +1 -1
  18. package/dist-types/lib/user-facing/components/column/props.d.ts +1 -1
  19. package/dist-types/lib/user-facing/components/image/index.d.ts +1 -1
  20. package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
  21. package/dist-types/lib/user-facing/components/section/index.d.ts +2 -2
  22. package/dist-types/lib/user-facing/components/section/props.d.ts +2 -2
  23. package/dist-types/lib/user-facing/components/stack/index.d.ts +2 -2
  24. package/dist-types/lib/user-facing/components/table/index.d.ts +2 -2
  25. package/dist-types/lib/user-facing/components/table/props.d.ts +2 -2
  26. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
  27. package/dist-types/lib/user-facing/themes/constants.d.ts +1 -0
  28. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { V as clientExports } from "./index-tdErpvtu.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-tdErpvtu.js";
1
+ import { V as clientExports } from "./index-C55tLFkh.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-C55tLFkh.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, b as IconSize } from "./index-tdErpvtu.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-C55tLFkh.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-wQWCogRx.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-C3WMN64l.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-wQWCogRx.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]}
1
+ {"version":3,"file":"splitPathsBySizeLoader-C3WMN64l.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]}
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-tdErpvtu.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-C55tLFkh.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-7yhv4gcq.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-DIiMams0.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-7yhv4gcq.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
+ {"version":3,"file":"splitPathsBySizeLoader-DIiMams0.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]}
@@ -4,11 +4,6 @@ import type { IconPosition } from "../../icons/constants.js";
4
4
  import type { TextAlign } from "@superblocksteam/library-shared/props";
5
5
  import type { PerSideBorder } from "@superblocksteam/library-shared/types";
6
6
  export type ButtonVariant = "primary" | "secondary" | "tertiary";
7
- export declare const PerSideBorderDef: () => import("../../properties-panel/props-builder.js").CompositeProp<{
8
- color: Prop<string, false>;
9
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
10
- style: Prop<string, false>;
11
- }>;
12
7
  export declare const propertiesDefinition: {
13
8
  general: Section<Record<string, Prop<any, any>> & {
14
9
  label: Prop<string, false>;
@@ -45,6 +45,6 @@ export declare const SbColumn: import("react").FC<import("../../properties-panel
45
45
  }>;
46
46
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
47
47
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
48
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
48
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
49
49
  }>;
50
50
  }>>;
@@ -38,6 +38,6 @@ export declare const propertiesDefinition: {
38
38
  }>;
39
39
  appearance: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
40
40
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
41
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
41
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
42
42
  }>;
43
43
  };
@@ -4,7 +4,7 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
4
4
  }>;
5
5
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
6
6
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
7
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
7
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
8
8
  borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
9
9
  fillContainer: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
10
10
  align: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ImageAlign, true>;
@@ -14,7 +14,7 @@ export declare const propertiesDefinition: {
14
14
  }>;
15
15
  appearance: Section<Record<string, Prop<any, any>> & {
16
16
  backgroundColor: Prop<string, false>;
17
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
17
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
18
18
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
19
19
  fillContainer: Prop<boolean, true>;
20
20
  align: Prop<ImageAlign, true>;
@@ -17,7 +17,7 @@ export declare const SbSection: import("react").FC<import("../../properties-pane
17
17
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
18
18
  }>;
19
19
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
20
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
21
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
20
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
21
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
22
22
  }>;
23
23
  }>>;
@@ -20,7 +20,7 @@ export declare const propertiesDefinition: {
20
20
  isVisible: Prop<boolean, true>;
21
21
  }>;
22
22
  appearance: Section<Record<string, Prop<any, any>> & {
23
- backgroundColor: Prop<string, false>;
24
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
23
+ backgroundColor: Prop<string, true>;
24
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
25
25
  }>;
26
26
  };
@@ -21,7 +21,7 @@ declare const _propertiesDefinitionVStack: {
21
21
  }>;
22
22
  appearance: Section<Record<string, Prop<any, any>> & {
23
23
  backgroundColor: Prop<string, false>;
24
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
24
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
25
25
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
26
26
  }>;
27
27
  };
@@ -43,7 +43,7 @@ declare const _propertiesDefinitionHStack: {
43
43
  }>;
44
44
  appearance: Section<Record<string, Prop<any, any>> & {
45
45
  backgroundColor: Prop<string, false>;
46
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
46
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
47
47
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
48
48
  }>;
49
49
  };
@@ -211,7 +211,7 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
211
211
  "cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<any, false>;
212
212
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
213
213
  selectedRowBackgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
214
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
214
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
215
215
  borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
216
216
  compactMode: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CompactMode, false>;
217
217
  maxLinesPerRow: import("../../properties-panel/props-builder.js").Prop<number, false>;
@@ -220,7 +220,7 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
220
220
  collapseWhenHidden: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
221
221
  "searchProps.textStyle": import("../../properties-panel/props-builder.js").Prop<any, false>;
222
222
  "searchProps.backgroundColor": import("../../properties-panel/props-builder.js").Prop<string, false>;
223
- "searchProps.border": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
223
+ "searchProps.border": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
224
224
  "searchProps.borderRadius": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
225
225
  }>;
226
226
  events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
@@ -215,7 +215,7 @@ export declare const propertiesDefinition: {
215
215
  "cellProps.textStyle": Prop<any, false>;
216
216
  backgroundColor: Prop<string, false>;
217
217
  selectedRowBackgroundColor: Prop<string, false>;
218
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
218
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
219
219
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
220
220
  compactMode: Prop<CompactMode, false>;
221
221
  maxLinesPerRow: Prop<number, false>;
@@ -224,7 +224,7 @@ export declare const propertiesDefinition: {
224
224
  collapseWhenHidden: Prop<boolean, false>;
225
225
  "searchProps.textStyle": Prop<any, false>;
226
226
  "searchProps.backgroundColor": Prop<string, false>;
227
- "searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
227
+ "searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
228
228
  "searchProps.borderRadius": Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
229
229
  }>;
230
230
  events: Section<Record<string, Prop<any, any>> & {
@@ -1,12 +1,8 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
1
  import { Prop } from "../props-builder.js";
2
+ import type { Dim } from "@superblocksteam/library-shared";
3
3
  import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
4
- import type { PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
5
- export declare const perSideBorderDef: () => import("../props-builder.js").CompositeProp<{
6
- color: Prop<string, false>;
7
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
8
- style: Prop<string, false>;
9
- }>;
10
- export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<"unknown", "BORDER_CONTROL">>>) => Prop<PerSideBorder, true>;
4
+ import type { BorderStyleBlock, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
5
+ export declare const createPerSideBorder: (border: BorderStyleBlock) => PerSideBorder;
6
+ export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerSideBorder, "BORDER_CONTROL">>>) => Prop<PerSideBorder, false>;
11
7
  export declare const createBorderRadiusObject: (borderRadius: Dim<"px" | "%">) => PerCornerBorderRadius;
12
8
  export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true>;
@@ -5,6 +5,7 @@ export declare const LIGHT_APP_BG: "#F9FAFB";
5
5
  export declare const DARK_APP_BG = "#131516";
6
6
  export declare const noBorder: (theme: UserAccessibleTheme) => Border;
7
7
  export declare const noBorderOject: (theme: UserAccessibleTheme) => PerSideBorder;
8
+ export declare const onePixelTransparentBorderObject: () => PerSideBorder;
8
9
  export declare const EMPTY_RADIUS: PerCornerBorderRadius;
9
10
  export declare const DEFAULT_SYSTEM_RADIUS: PerCornerBorderRadius;
10
11
  export declare const defaultContainerBorderObject: (theme: UserAccessibleTheme) => PerSideBorder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/library",
3
- "version": "2.0.0-next.11",
3
+ "version": "2.0.0-next.13",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -32,7 +32,7 @@
32
32
  "@react-hook/resize-observer": "1.2.6",
33
33
  "@superblocksteam/fast-deep-equal": "3.1.4",
34
34
  "@superblocksteam/iso-currency": "2.0.0",
35
- "@superblocksteam/library-shared": "2.0.0-next.11",
35
+ "@superblocksteam/library-shared": "2.0.0-next.13",
36
36
  "@superblocksteam/shared": "0.9122.0",
37
37
  "antd": "4.24.15",
38
38
  "apca-w3": "^0.1.9",