@superblocksteam/library 2.0.0-next.7 → 2.0.0-next.71

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 (75) hide show
  1. package/dist/{allPaths-B09LcN7N.js → allPaths-C6OJ6mru.js} +2 -2
  2. package/dist/{allPaths-B09LcN7N.js.map → allPaths-C6OJ6mru.js.map} +1 -1
  3. package/dist/{allPaths-CQi6Mi9n.js → allPaths-gAit3yMA.js} +2 -2
  4. package/dist/{allPaths-CQi6Mi9n.js.map → allPaths-gAit3yMA.js.map} +1 -1
  5. package/dist/{allPathsLoader-DTMdKBA7.js → allPathsLoader-BJfnsyfx.js} +3 -3
  6. package/dist/{allPathsLoader-M6yIb9T6.js.map → allPathsLoader-BJfnsyfx.js.map} +1 -1
  7. package/dist/{allPathsLoader-M6yIb9T6.js → allPathsLoader-Bjuqgh93.js} +3 -3
  8. package/dist/{allPathsLoader-DTMdKBA7.js.map → allPathsLoader-Bjuqgh93.js.map} +1 -1
  9. package/dist/{index-B1VgfVEK.js → index-B2rMu95r.js} +15471 -14610
  10. package/dist/{index-B1VgfVEK.js.map → index-B2rMu95r.js.map} +1 -1
  11. package/dist/index.js +2 -2
  12. package/dist/{splitPathsBySizeLoader-Cgf9KLYl.js → splitPathsBySizeLoader-DJBHYgBR.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-Cgf9KLYl.js.map → splitPathsBySizeLoader-DJBHYgBR.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-zdAfZhWx.js → splitPathsBySizeLoader-bQPBH87C.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-zdAfZhWx.js.map → splitPathsBySizeLoader-bQPBH87C.js.map} +1 -1
  16. package/dist-types/edit-mode/default-table-data.d.ts +64 -0
  17. package/dist-types/edit-mode/dnd/utils.d.ts +8 -1
  18. package/dist-types/edit-mode/features/operation-store.d.ts +4 -0
  19. package/dist-types/edit-mode/source-update-api.d.ts +2 -1
  20. package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -1
  21. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +5 -4
  22. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
  23. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -0
  24. package/dist-types/lib/internal-details/lib/types.d.ts +3 -0
  25. package/dist-types/lib/internal-details/scope/global.d.ts +1 -0
  26. package/dist-types/lib/user-facing/component-base/components/button.d.ts +1 -2
  27. package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +3 -11
  28. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +11 -8
  29. package/dist-types/lib/user-facing/components/button/props.d.ts +2 -8
  30. package/dist-types/lib/user-facing/components/column/index.d.ts +8 -21
  31. package/dist-types/lib/user-facing/components/column/props.d.ts +8 -20
  32. package/dist-types/lib/user-facing/components/container/index.d.ts +8 -22
  33. package/dist-types/lib/user-facing/components/container/props.d.ts +7 -22
  34. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +3 -3
  35. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  36. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  37. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +1 -1
  38. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +2 -2
  39. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +2 -2
  40. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -1
  41. package/dist-types/lib/user-facing/components/grid/index.d.ts +8 -8
  42. package/dist-types/lib/user-facing/components/image/index.d.ts +1 -1
  43. package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
  44. package/dist-types/lib/user-facing/components/input/index.d.ts +9 -15
  45. package/dist-types/lib/user-facing/components/input/props.d.ts +10 -15
  46. package/dist-types/lib/user-facing/components/modal/index.d.ts +8 -13
  47. package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +1 -1
  48. package/dist-types/lib/user-facing/components/modal/props.d.ts +8 -13
  49. package/dist-types/lib/user-facing/components/pixel-input/index.d.ts +7 -0
  50. package/dist-types/lib/user-facing/components/section/index.d.ts +2 -2
  51. package/dist-types/lib/user-facing/components/section/props.d.ts +2 -2
  52. package/dist-types/lib/user-facing/components/stack/index.d.ts +2 -2
  53. package/dist-types/lib/user-facing/components/switch/index.d.ts +1 -1
  54. package/dist-types/lib/user-facing/components/switch/props.d.ts +1 -1
  55. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +50 -45
  56. package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +5 -5
  57. package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
  58. package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +4 -4
  59. package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +3 -3
  60. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  61. package/dist-types/lib/user-facing/components/table/index.d.ts +60 -56
  62. package/dist-types/lib/user-facing/components/table/props.d.ts +61 -58
  63. package/dist-types/lib/user-facing/components/table/table-component.d.ts +3 -3
  64. package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -1
  65. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -8
  66. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +1 -1
  67. package/dist-types/lib/user-facing/components/table/types.d.ts +19 -30
  68. package/dist-types/lib/user-facing/components/text/index.d.ts +4 -4
  69. package/dist-types/lib/user-facing/components/text/props.d.ts +4 -4
  70. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
  71. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +3 -3
  72. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +15 -14
  73. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +2 -1
  74. package/dist-types/lib/user-facing/themes/constants.d.ts +2 -0
  75. package/package.json +4 -3
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { V as clientExports } from "./index-B1VgfVEK.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-B1VgfVEK.js";
1
+ import { V as clientExports } from "./index-B2rMu95r.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-B2rMu95r.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-B1VgfVEK.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-B2rMu95r.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-Cgf9KLYl.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-DJBHYgBR.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-Cgf9KLYl.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-DJBHYgBR.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-B1VgfVEK.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-B2rMu95r.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-zdAfZhWx.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-bQPBH87C.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-zdAfZhWx.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-bQPBH87C.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]}
@@ -0,0 +1,64 @@
1
+ export declare const DEFAULT_TABLE_DATA: {
2
+ photo: string;
3
+ name: string;
4
+ email: string;
5
+ role: string;
6
+ company: string;
7
+ status: string;
8
+ date_joined: string;
9
+ last_activity: string;
10
+ }[];
11
+ export declare const DEFAULT_TABLE_COLUMNS: {
12
+ name: {
13
+ columnType: string;
14
+ label: string;
15
+ };
16
+ email: {
17
+ columnType: string;
18
+ label: string;
19
+ };
20
+ role: {
21
+ columnType: string;
22
+ label: string;
23
+ };
24
+ company: {
25
+ columnType: string;
26
+ label: string;
27
+ };
28
+ status: {
29
+ columnType: string;
30
+ tagDisplayConfig: {
31
+ Active: {
32
+ color: string;
33
+ };
34
+ Pending: {
35
+ color: string;
36
+ };
37
+ Inactive: {
38
+ color: string;
39
+ };
40
+ Suspended: {
41
+ color: string;
42
+ };
43
+ };
44
+ label: string;
45
+ };
46
+ date_joined: {
47
+ columnType: string;
48
+ inputFormat: string;
49
+ outputFormat: string;
50
+ label: string;
51
+ };
52
+ last_activity: {
53
+ columnType: string;
54
+ inputFormat: string;
55
+ outputFormat: string;
56
+ label: string;
57
+ };
58
+ photo: {
59
+ columnType: string;
60
+ label: string;
61
+ };
62
+ };
63
+ export declare const DEFAULT_TABLE_KEYS: string[];
64
+ export declare const CLEARED_TABLE_COLUMNS: Record<string, undefined>;
@@ -1,4 +1,4 @@
1
- import { type Dim, type PropertyInfo } from "@superblocksteam/library-shared";
1
+ import { Dim, type PropertyInfo } from "@superblocksteam/library-shared";
2
2
  export declare const WithLayoutContainerTypes: Set<string>;
3
3
  export declare const VStackLikeContainerTypes: Set<string>;
4
4
  export declare const HStackLikeContainerTypes: Set<string>;
@@ -11,6 +11,7 @@ export declare const isDragAndDropTypeValid: ({ draggedType, dropTargetType, dro
11
11
  }) => boolean;
12
12
  export declare const isTypeDroppable: (type: string) => boolean;
13
13
  export declare const isTypeDraggable: (type: string) => boolean;
14
+ export declare const isContentDragDisabled: (type: string) => boolean;
14
15
  export declare function shouldWrapInSectionAndColumn(type: string, parentType: string | undefined): boolean;
15
16
  export declare const filterSafeStackDimensionProperties: (existingProps: {
16
17
  width?: Dim;
@@ -26,3 +27,9 @@ export declare const filterSafeGridDimensionProperties: (existingProps: {
26
27
  width?: PropertyInfo;
27
28
  height?: PropertyInfo;
28
29
  };
30
+ export declare const defaultSizeForComponent: (componentType: string, isFreeform: boolean, draggedDimensions?: {
31
+ widthGU?: number;
32
+ heightGU?: number;
33
+ widthPx?: number;
34
+ heightPx?: number;
35
+ }) => Record<string, PropertyInfo>;
@@ -43,6 +43,10 @@ declare class OperationManager {
43
43
  writeRuntimeProperties(sourceId: SbElement, transactionId: string, updates: Record<string, PropertyInfo<unknown>>): void;
44
44
  setWidgetProperties(sourceId: SbElement, properties: Record<string, PropertyInfo<unknown>>, callback?: () => void): void;
45
45
  setWidgetProperty(sourceId: SbElement, property: string, value: PropertyInfo<unknown>, callback?: () => void): void;
46
+ renameWidget(params: {
47
+ sourceId: SbElement;
48
+ newName: string;
49
+ }): void;
46
50
  ensureFilesSynced(): Promise<void>;
47
51
  generateSourceId(): `SB-${string}`;
48
52
  }
@@ -1,4 +1,4 @@
1
- import type { EditOperationType, EditOperations, ReparentRequest, CreateRequest, SetPropertyRequest, SetPropertiesRequest, BatchUpdateRequest, ApiUpdateRequest, AddEntityRequest, UpdateEntityRequest, UpdateThemeRequest, DeleteEntityRequest, DeleteRequest, DeletePropertiesRequest } from "@superblocksteam/library-shared/types";
1
+ import type { EditOperationType, EditOperations, ReparentRequest, CreateRequest, SetPropertyRequest, SetPropertiesRequest, BatchUpdateRequest, ApiUpdateRequest, AddEntityRequest, UpdateEntityRequest, UpdateThemeRequest, DeleteEntityRequest, DeleteRequest, DeletePropertiesRequest, RenameElementRequest } from "@superblocksteam/library-shared/types";
2
2
  type CamelCase<S extends string> = S extends `${infer Head}-${infer Tail}` ? `${Head}${Capitalize<CamelCase<Tail>>}` : S extends `${infer Head}:${infer Tail}` ? `${Head}${Capitalize<CamelCase<Tail>>}` : S;
3
3
  type IOperationAPI = {
4
4
  [K in EditOperationType as CamelCase<K>]: (payload: Parameters<EditOperations[K]>[0]) => Promise<ReturnType<EditOperations[K]> | undefined>;
@@ -19,6 +19,7 @@ declare class OperationAPI implements IOperationAPI {
19
19
  editorAddEntity: (payload: AddEntityRequest) => Promise<void | undefined>;
20
20
  editorUpdateEntity: (payload: UpdateEntityRequest) => Promise<void | undefined>;
21
21
  editorDeleteEntity: (payload: DeleteEntityRequest) => Promise<void | undefined>;
22
+ editorRenameElement: (payload: RenameElementRequest) => Promise<void | undefined>;
22
23
  editorUpdateTheme: (payload: UpdateThemeRequest) => Promise<void | undefined>;
23
24
  ensureFilesSynced: () => Promise<string | undefined>;
24
25
  }
@@ -1,7 +1,6 @@
1
1
  import type { BindingIdentifier } from "@superblocksteam/library-shared/types";
2
2
  export declare const getNormalizedIdInfo: (params: {
3
3
  bind: BindingIdentifier | undefined;
4
- propsName: string | undefined;
5
4
  fallbackScopeId: string;
6
5
  }) => {
7
6
  name: string | undefined;
@@ -2,13 +2,13 @@ import type { ObserveListener } from "./deep-observe.js";
2
2
  import type { Name } from "./names.js";
3
3
  import type { ValidateFn } from "../../../user-facing/properties-panel/validators.js";
4
4
  import type { SbEventFlow } from "../../../user-facing/sb-event-flow.js";
5
- import type { BindingString, ComputedProperty, Dim, DimModes } from "@superblocksteam/library-shared";
5
+ import type { BindingString, ComputedProperty } from "@superblocksteam/library-shared";
6
6
  import type { SbElement, SbInstance } from "@superblocksteam/library-shared/types";
7
7
  export type EntityOutputProp = Exclude<null | undefined | string | number | boolean | object | bigint | any[], BindingString | EntityDerivedProp<any[]>>;
8
- export type EntityDerivedProp<ARGS extends any[] = any[]> = (this: Readonly<Entity>, state: Readonly<ScopedState>, ...args: ARGS) => EntityOutputProp;
9
- export type Executable<ARGS extends any[] = any[]> = (this: Entity, state: ScopedState, ...args: ARGS) => void;
8
+ export type EntityDerivedProp<ARGS extends any[] = any[]> = (this: Readonly<Entity>, state?: Readonly<ScopedState>, ...args: ARGS) => EntityOutputProp;
9
+ export type Executable<ARGS extends any[] = any[]> = (this: Entity, state?: ScopedState, ...args: ARGS) => void;
10
10
  export type ValueInputProp<T = EntityOutputProp> = T | EntityDerivedProp | BindingString | ComputedProperty<T>;
11
- export type SingleInputProp<T = EntityOutputProp> = ValueInputProp<T> | SbEventFlow | Dim<DimModes>;
11
+ export type SingleInputProp<T = EntityOutputProp> = ValueInputProp<T> | SbEventFlow;
12
12
  export type NestedInputProp<T> = T extends object ? {
13
13
  [K in keyof T]: SingleInputProp<T[K]> | NestedInputProp<T[K]>;
14
14
  } : never;
@@ -86,6 +86,7 @@ export interface IEntityManager {
86
86
  name: Name;
87
87
  func: Executable<ARGS>;
88
88
  args?: ARGS;
89
+ excludeState?: boolean;
89
90
  }): void;
90
91
  computeValue<T>(params: {
91
92
  scopeId: ScopeId;
@@ -6,6 +6,7 @@ export type ComputeParams<ARGS extends any[] = any[]> = {
6
6
  path?: string;
7
7
  func: EntityDerivedProp<ARGS>;
8
8
  args?: ARGS;
9
+ excludeState?: boolean;
9
10
  };
10
11
  export interface ComputeEngine {
11
12
  compute(params: ComputeParams): EntityOutputProp;
@@ -15,6 +16,6 @@ declare class EvalComputeEngine implements ComputeEngine {
15
16
  compute({ snapshot, entityName, func, args, path }: ComputeParams): any;
16
17
  }
17
18
  declare class DirectComputeEngine implements ComputeEngine {
18
- compute({ snapshot, entityName, func, args, path }: ComputeParams): EntityOutputProp;
19
+ compute({ snapshot, entityName, func, args, path, excludeState, }: ComputeParams): EntityOutputProp;
19
20
  }
20
21
  export { EvalComputeEngine, DirectComputeEngine };
@@ -44,6 +44,13 @@ export declare class EntityManager implements IEntityManager {
44
44
  name: Name;
45
45
  scopeId: string;
46
46
  }): void;
47
+ deleteProperty(params: {
48
+ scopeId: string;
49
+ name: Name;
50
+ prop: string;
51
+ }): void;
52
+ private deleteObsoleteNestedProperties;
53
+ private getNestedPropertyPaths;
47
54
  deleteEntityById(params: {
48
55
  scopeId: string;
49
56
  entityId: string;
@@ -70,6 +77,7 @@ export declare class EntityManager implements IEntityManager {
70
77
  scopeId: string;
71
78
  name: Name;
72
79
  func: Executable;
80
+ excludeState?: boolean;
73
81
  args?: ARGS;
74
82
  }): void;
75
83
  computeValue<T>(params: {
@@ -114,6 +114,9 @@ export type FromParentToChildMessageTypesMap = {
114
114
  "sb-retrieve-property-panel-props": {
115
115
  sourceId: string;
116
116
  };
117
+ "sb-global-sync": {
118
+ global: Record<string, unknown>;
119
+ };
117
120
  "parent-action-batch": PayloadAction<unknown>[];
118
121
  click: void;
119
122
  "register-keypress": {
@@ -2,6 +2,7 @@ import type { UserAccessibleTheme, Theme as BaseTheme } from "@superblocksteam/l
2
2
  export declare const GlobalScope: import("react").FC<import("react").JSX.IntrinsicAttributes & {
3
3
  children: React.ReactNode;
4
4
  }>;
5
+ export declare const updateGlobalScope: (global: Record<string, unknown>) => void;
5
6
  export type AppTheme = BaseTheme;
6
7
  export declare const Theme: UserAccessibleTheme;
7
8
  export declare const Global: any;
@@ -7,6 +7,7 @@ import type { ReactElement } from "react";
7
7
  export interface SharedButtonProps {
8
8
  textColor?: string;
9
9
  backgroundColor?: string;
10
+ border?: PerSideBorder;
10
11
  text?: string;
11
12
  onClick?: (event: React.MouseEvent<HTMLElement>) => void;
12
13
  disabled?: boolean;
@@ -26,7 +27,6 @@ export interface SharedButtonProps {
26
27
  textStyleVariant?: string;
27
28
  style?: React.CSSProperties;
28
29
  };
29
- border?: PerSideBorder;
30
30
  borderRadius?: PerCornerBorderRadius;
31
31
  padding?: Padding;
32
32
  theme: UserAccessibleTheme;
@@ -34,7 +34,6 @@ export interface SharedButtonProps {
34
34
  }
35
35
  export interface ButtonProps extends SharedButtonProps {
36
36
  buttonStyle?: ButtonStyle;
37
- version?: "v1" | "v2";
38
37
  }
39
38
  export interface ButtonLikeLinkProps extends SharedButtonProps {
40
39
  linkStyle?: ButtonLikeLinkStyle;
@@ -3,14 +3,6 @@ export type ButtonStyle = "primary" | "secondary" | "tertiary" | "success" | "da
3
3
  export type ButtonLikeLinkStyle = ButtonStyle | "LINK";
4
4
  export declare const getButtonThemeDefaultTextColor: (theme: UserAccessibleTheme, buttonStyle?: ButtonStyle) => string;
5
5
  export declare const getButtonThemeDefaultBackgroundColor: (theme: UserAccessibleTheme, buttonStyle?: ButtonStyle) => string;
6
- export declare const getButtonThemeDefaultHoverBackgroundColor: (theme: UserAccessibleTheme, buttonStyle?: ButtonStyle) => string | undefined;
7
- export declare const getButtonThemeDefaultHoverTextColor: (theme: UserAccessibleTheme, buttonStyle?: ButtonStyle) => string | undefined;
8
- export declare const getFallbackBorderColor: (buttonStyle: ButtonStyle | undefined, backgroundColor: string, themeColor: string) => string;
9
- export declare const getButtonBorderStyleObjectV1: ({ border, isLoadingColor, buttonStyle, isLoading, fallbackBorderColor, backgroundColorIfSet, }: {
10
- border: PerSideBorder | undefined;
11
- isLoadingColor: string;
12
- fallbackBorderColor: string;
13
- buttonStyle: ButtonStyle | undefined;
14
- isLoading: boolean;
15
- backgroundColorIfSet: string | undefined;
16
- }) => import("react").CSSProperties;
6
+ export declare const PRIMARY_BUTTON_BORDER_OBJECT: (this: any) => PerSideBorder;
7
+ export declare const SECONDARY_BUTTON_BORDER_OBJECT: (this: any) => PerSideBorder;
8
+ export declare const getDefaultBorderObject: (this: any) => PerSideBorder;
@@ -1,3 +1,11 @@
1
+ export type ValidationErrors = {
2
+ required?: string;
3
+ minMax?: string;
4
+ customRule?: string;
5
+ email?: string;
6
+ number?: string;
7
+ url?: string;
8
+ };
1
9
  export declare const getInputValidationErrors: (props: {
2
10
  text?: string;
3
11
  inputType?: string;
@@ -7,11 +15,6 @@ export declare const getInputValidationErrors: (props: {
7
15
  maxLength?: number;
8
16
  minLength?: number;
9
17
  emailRegex?: RegExp;
10
- }) => {
11
- required?: string;
12
- minMax?: string;
13
- customRule?: string;
14
- email?: string;
15
- number?: string;
16
- url?: string;
17
- };
18
+ }) => ValidationErrors;
19
+ export declare const getErrorMessages: (errors: ValidationErrors) => string[];
20
+ export declare const hasErrors: (errors: ValidationErrors) => boolean;
@@ -1,14 +1,8 @@
1
- import { Dim } from "@superblocksteam/library-shared";
2
1
  import { Section, Prop } from "../../properties-panel/props-builder.js";
3
2
  import type { IconPosition } from "../../icons/constants.js";
3
+ import type { Dim } from "@superblocksteam/library-shared";
4
4
  import type { TextAlign } from "@superblocksteam/library-shared/props";
5
- import type { PerSideBorder } from "@superblocksteam/library-shared/types";
6
5
  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
6
  export declare const propertiesDefinition: {
13
7
  general: Section<Record<string, Prop<any, any>> & {
14
8
  label: Prop<string, false>;
@@ -33,7 +27,7 @@ export declare const propertiesDefinition: {
33
27
  iconPosition: Prop<IconPosition, true>;
34
28
  textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
35
29
  backgroundColor: Prop<string, true>;
36
- border: Prop<PerSideBorder, true>;
30
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
37
31
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
38
32
  labelAlignment: Prop<TextAlign, true>;
39
33
  loadingAnimation: Prop<boolean, true>;
@@ -1,5 +1,4 @@
1
1
  import { Dim } from "@superblocksteam/library-shared";
2
- import type { DimModes } from "@superblocksteam/library-shared";
3
2
  /**
4
3
  * TODO:
5
4
  * - disable setting height related props in prop panel and code
@@ -8,14 +7,7 @@ import type { DimModes } from "@superblocksteam/library-shared";
8
7
  */
9
8
  export declare const getDefaultSectionChildren: () => never[];
10
9
  export declare const SbColumn: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
11
- layout: import("../../properties-panel/props-builder.js").Section<(((((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
12
- layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
13
- }, "layout" | "rows" | "columns" | "rowSize"> & {
14
- readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
15
- readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
16
- readonly rows: import("../../properties-panel/props-builder.js").Prop<number, false>;
17
- readonly rowSize: import("../../properties-panel/props-builder.js").Prop<number, false>;
18
- }) | (Omit<{
10
+ layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
19
11
  layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
20
12
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
21
13
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
@@ -27,24 +19,19 @@ export declare const SbColumn: import("react").FC<import("../../properties-panel
27
19
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
28
20
  readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
29
21
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
22
+ }) | (Omit<{
23
+ layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
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>;
30
28
  }))) & {
31
- spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
32
- }) & {
33
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
34
- }) & {
35
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false> | undefined;
36
- minHeight?: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false> | undefined;
37
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false> | undefined;
38
- minWidth?: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false> | undefined;
39
- width: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false>;
40
- height: import("../../properties-panel/props-builder.js").Prop<Dim<DimModes>, false>;
41
- }) & {
42
29
  shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
43
30
  }) & {
44
31
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
45
32
  }>;
46
33
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
47
34
  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>;
35
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
49
36
  }>;
50
37
  }>>;
@@ -1,14 +1,7 @@
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>;
6
- }, "layout" | "rows" | "columns" | "rowSize"> & {
7
- readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
8
- readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
9
- readonly rows: import("../../properties-panel/props-builder.js").Prop<number, false>;
10
- readonly rowSize: import("../../properties-panel/props-builder.js").Prop<number, false>;
11
- }) | (Omit<{
4
+ layout: Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
12
5
  layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
13
6
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
14
7
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
@@ -20,24 +13,19 @@ export declare const propertiesDefinition: {
20
13
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
21
14
  readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
22
15
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
16
+ }) | (Omit<{
17
+ layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
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>;
23
22
  }))) & {
24
- spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
25
- }) & {
26
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
27
- }) & {
28
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
29
- minHeight?: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
30
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
31
- minWidth?: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
32
- width: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
33
- height: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
34
- }) & {
35
23
  shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
36
24
  }) & {
37
25
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
38
26
  }>;
39
27
  appearance: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
40
28
  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>;
29
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
42
30
  }>;
43
31
  };
@@ -2,7 +2,7 @@ import { Dim } from "@superblocksteam/library-shared";
2
2
  import { propertiesDefinition } from "./props.js";
3
3
  import type { ContainerLayout } from "../../component-base/constants.js";
4
4
  import type { InternalPropsWithOptional } from "../../properties-panel/props-builder.js";
5
- type OptionalProps = "margin" | "padding" | "spacing" | "backgroundColor" | "border" | "borderRadius";
5
+ type OptionalProps = "backgroundColor" | "border" | "borderRadius";
6
6
  type ContainerProps = InternalPropsWithOptional<typeof propertiesDefinition, OptionalProps>;
7
7
  /**
8
8
  * TODO:
@@ -15,14 +15,7 @@ type ContainerProps = InternalPropsWithOptional<typeof propertiesDefinition, Opt
15
15
  */
16
16
  export declare const InternalContainer: (props: ContainerProps) => import("react").JSX.Element;
17
17
  export declare const SbContainer: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
18
- layout: import("../../properties-panel/props-builder.js").Section<((((((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
19
- layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
20
- }, "layout" | "rows" | "columns" | "rowSize"> & {
21
- readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
22
- readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
23
- readonly rows: import("../../properties-panel/props-builder.js").Prop<number, false>;
24
- readonly rowSize: import("../../properties-panel/props-builder.js").Prop<number, false>;
25
- }) | (Omit<{
18
+ layout: import("../../properties-panel/props-builder.js").Section<((Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
26
19
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
27
20
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
28
21
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
@@ -34,20 +27,13 @@ export declare const SbContainer: import("react").FC<import("../../properties-pa
34
27
  readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
35
28
  readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
36
29
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
30
+ }) | (Omit<{
31
+ layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
32
+ }, "layout" | "columns" | "rowHeight"> & {
33
+ readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
34
+ readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
35
+ readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
37
36
  }))) & {
38
- spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
39
- }) & {
40
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Padding, true>;
41
- }) & {
42
- width: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
43
- height: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
44
- minWidth: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
45
- maxWidth: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
46
- minHeight: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
47
- maxHeight: import("../../properties-panel/props-builder.js").Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
48
- }) & {
49
- margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
50
- }) & {
51
37
  shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
52
38
  }) & {
53
39
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
@@ -1,7 +1,6 @@
1
1
  import { Dim } from "@superblocksteam/library-shared";
2
2
  import { Section, Prop } from "../../properties-panel/props-builder.js";
3
3
  import type { ContainerVariant } from "../../component-base/constants.js";
4
- import type { Padding } from "@superblocksteam/library-shared/types";
5
4
  /**
6
5
  * TODO:
7
6
  * - make default and options dynamic for distribution and alignment
@@ -11,14 +10,7 @@ import type { Padding } from "@superblocksteam/library-shared/types";
11
10
  * - use default func once supported for composite props, apply it to padding, border, borderRadius, and backgroundColor. Otherwise, prop panel control will not show the correct value
12
11
  */
13
12
  export declare const propertiesDefinition: {
14
- layout: Section<((((((Record<string, Prop<any, any>> & ((Omit<{
15
- layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
16
- }, "layout" | "rows" | "columns" | "rowSize"> & {
17
- readonly layout: Prop<"freeform", true>;
18
- readonly columns: Prop<number, true>;
19
- readonly rows: Prop<number, false>;
20
- readonly rowSize: Prop<number, false>;
21
- }) | (Omit<{
13
+ layout: Section<((Record<string, Prop<any, any>> & ((Omit<{
22
14
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
23
15
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
24
16
  readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
@@ -30,20 +22,13 @@ export declare const propertiesDefinition: {
30
22
  readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
31
23
  readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
32
24
  readonly layout: Prop<"horizontal", true>;
25
+ }) | (Omit<{
26
+ layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
27
+ }, "layout" | "columns" | "rowHeight"> & {
28
+ readonly columns: Prop<number, true>;
29
+ readonly rowHeight: Prop<Dim<"px">, true>;
30
+ readonly layout: Prop<"freeform", true>;
33
31
  }))) & {
34
- spacing: Prop<Dim<"px">, true>;
35
- }) & {
36
- padding: Prop<Padding, true>;
37
- }) & {
38
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
39
- height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
40
- minWidth: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
41
- maxWidth: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
42
- minHeight: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
43
- maxHeight: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
44
- }) & {
45
- margin: Prop<unknown, true>;
46
- }) & {
47
32
  shouldScrollContents: Prop<boolean, true>;
48
33
  }) & {
49
34
  isVisible: Prop<boolean, true>;
@@ -10,14 +10,14 @@ declare class DatePickerComponent extends React.Component<DatePickerComponentPro
10
10
  componentDidMount(): void;
11
11
  componentDidUpdate(prevProps: DatePickerComponentProps): void;
12
12
  getValidDate: (date: string, format: string) => Date | undefined;
13
- getNormalizedDateFormat: () => string;
14
- getNormalizedDisplayDateFormat: () => string | undefined;
13
+ get normalizedDateFormat(): string;
14
+ get normalizedDisplayDateFormat(): string | undefined;
15
15
  get valueTimezone(): string;
16
16
  get displayTimezone(): string;
17
17
  shouldWrapTime: () => boolean;
18
18
  handleInteraction: (openState: boolean) => void;
19
19
  getInitialMonth: (currentValue: string | undefined | null, minDate: Date | undefined, maxDate: Date | undefined) => Date | undefined;
20
- getCurrentValue: () => string | null;
20
+ get currentValue(): string | null;
21
21
  render(): React.JSX.Element;
22
22
  getPopoverFooter: () => React.JSX.Element;
23
23
  formatDisplayDate: (date: Date) => string;