@superblocksteam/library 2.0.0-next.4 → 2.0.0-next.5

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 (65) hide show
  1. package/dist/{allPaths-CF1gtIOM.js → allPaths-CQicmj05.js} +2 -2
  2. package/dist/{allPaths-CF1gtIOM.js.map → allPaths-CQicmj05.js.map} +1 -1
  3. package/dist/{allPaths-D8-iN1no.js → allPaths-JTh0AvL-.js} +2 -2
  4. package/dist/{allPaths-D8-iN1no.js.map → allPaths-JTh0AvL-.js.map} +1 -1
  5. package/dist/{allPathsLoader-BeBFpQBL.js → allPathsLoader-BzKYsLDE.js} +3 -3
  6. package/dist/{allPathsLoader-BeBFpQBL.js.map → allPathsLoader-BzKYsLDE.js.map} +1 -1
  7. package/dist/{allPathsLoader-C9Zv92Qq.js → allPathsLoader-DUkr4f2u.js} +3 -3
  8. package/dist/{allPathsLoader-C9Zv92Qq.js.map → allPathsLoader-DUkr4f2u.js.map} +1 -1
  9. package/dist/{icons-BrNMuu_I.js → icons-D_yAT9A6.js} +27 -19
  10. package/dist/icons-D_yAT9A6.js.map +1 -0
  11. package/dist/{index-BKcgNC6z.js → index-U8MX-8Hu.js} +48930 -48873
  12. package/dist/{index-BKcgNC6z.js.map → index-U8MX-8Hu.js.map} +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/{splitPathsBySizeLoader-B2lh3sPK.js → splitPathsBySizeLoader-4uQi8FeZ.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-B2lh3sPK.js.map → splitPathsBySizeLoader-4uQi8FeZ.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-B1mX23Pc.js → splitPathsBySizeLoader-D1iVVUla.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-B1mX23Pc.js.map → splitPathsBySizeLoader-D1iVVUla.js.map} +1 -1
  18. package/dist-types/lib/triggers/implementations/show-alert.d.ts +6 -5
  19. package/dist-types/lib/triggers/registry.d.ts +4 -2
  20. package/dist-types/lib/user-facing/component-base/constants.d.ts +4 -4
  21. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +3 -3
  22. package/dist-types/lib/user-facing/components/button/index.d.ts +0 -1
  23. package/dist-types/lib/user-facing/components/button/props.d.ts +0 -1
  24. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +0 -1
  25. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +0 -1
  26. package/dist-types/lib/user-facing/components/column/index.d.ts +4 -5
  27. package/dist-types/lib/user-facing/components/column/props.d.ts +4 -5
  28. package/dist-types/lib/user-facing/components/container/index.d.ts +4 -5
  29. package/dist-types/lib/user-facing/components/container/props.d.ts +4 -5
  30. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +0 -1
  31. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +11 -4
  32. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +2 -3
  33. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +2 -3
  34. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +2 -2
  35. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +11 -0
  36. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +0 -1
  37. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +0 -1
  38. package/dist-types/lib/user-facing/components/grid/index.d.ts +0 -1
  39. package/dist-types/lib/user-facing/components/icon/index.d.ts +0 -1
  40. package/dist-types/lib/user-facing/components/icon/props.d.ts +0 -1
  41. package/dist-types/lib/user-facing/components/image/index.d.ts +0 -1
  42. package/dist-types/lib/user-facing/components/image/props.d.ts +0 -1
  43. package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +0 -1
  44. package/dist-types/lib/user-facing/components/input/index.d.ts +0 -1
  45. package/dist-types/lib/user-facing/components/input/props.d.ts +2 -4
  46. package/dist-types/lib/user-facing/components/key-value/props.d.ts +0 -1
  47. package/dist-types/lib/user-facing/components/modal/index.d.ts +4 -4
  48. package/dist-types/lib/user-facing/components/modal/props.d.ts +4 -4
  49. package/dist-types/lib/user-facing/components/section/index.d.ts +2 -1
  50. package/dist-types/lib/user-facing/components/section/props.d.ts +2 -1
  51. package/dist-types/lib/user-facing/components/slideout/props.d.ts +0 -1
  52. package/dist-types/lib/user-facing/components/stack/index.d.ts +4 -7
  53. package/dist-types/lib/user-facing/components/switch/index.d.ts +0 -1
  54. package/dist-types/lib/user-facing/components/switch/props.d.ts +0 -1
  55. package/dist-types/lib/user-facing/components/table/index.d.ts +0 -1
  56. package/dist-types/lib/user-facing/components/table/props.d.ts +0 -1
  57. package/dist-types/lib/user-facing/components/text/index.d.ts +0 -1
  58. package/dist-types/lib/user-facing/components/text/props.d.ts +0 -1
  59. package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
  60. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +11 -13
  61. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +1 -1
  62. package/dist-types/lib/user-facing/sb-event-flow.d.ts +3 -3
  63. package/dist-types/lib/user-facing/utils/notification.d.ts +17 -0
  64. package/package.json +2 -2
  65. package/dist/icons-BrNMuu_I.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { V as clientExports } from "./index-BKcgNC6z.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-BKcgNC6z.js";
1
+ import { V as clientExports } from "./index-U8MX-8Hu.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-U8MX-8Hu.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-BKcgNC6z.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-U8MX-8Hu.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-B2lh3sPK.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-4uQi8FeZ.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-B2lh3sPK.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-4uQi8FeZ.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-BKcgNC6z.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-U8MX-8Hu.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-B1mX23Pc.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-D1iVVUla.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-B1mX23Pc.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-D1iVVUla.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,22 +1,23 @@
1
1
  import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
+ import { type NotificationPosition, type NotificationType } from "../../user-facing/utils/notification.jsx";
2
3
  import type { ValueInputProp } from "../../internal-details/lib/evaluator/base-entity-manager.js";
3
4
  import type { BaseStepDef } from "../../sb-trigger.js";
4
5
  import type { ExecutionContext } from "../base.js";
5
- export type TypeOptions = "info" | "success" | "warning" | "error" | "default";
6
- export type NotificationPosition = string;
7
6
  export interface ShowAlertStep extends BaseStepDef {
8
7
  type: typeof TriggerStepType.SHOW_ALERT;
9
8
  message: ValueInputProp<string>;
10
- style: TypeOptions;
9
+ style: NotificationType;
11
10
  alertDuration?: number;
12
11
  alertPosition?: NotificationPosition;
13
12
  }
14
13
  export declare const ShowAlertTrigger: {
15
14
  type: "showAlert";
16
15
  execute(_context: ExecutionContext, step: ShowAlertStep): Promise<void>;
17
- create(message: ValueInputProp<string>, alertType: TypeOptions): {
16
+ create(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): {
18
17
  type: "showAlert";
19
18
  message: ValueInputProp<string>;
20
- style: TypeOptions;
19
+ style: NotificationType;
20
+ alertDuration: number | undefined;
21
+ alertPosition: NotificationPosition | undefined;
21
22
  };
22
23
  };
@@ -160,10 +160,12 @@ declare const EventRegistry: {
160
160
  readonly showAlert: {
161
161
  type: "showAlert";
162
162
  execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/show-alert.js").ShowAlertStep): Promise<void>;
163
- create(message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>, alertType: import("./implementations/show-alert.js").TypeOptions): {
163
+ create(message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>, alertType: import("../user-facing/utils/notification.jsx").NotificationType, alertDuration?: number, alertPosition?: import("../user-facing/utils/notification.jsx").NotificationPosition): {
164
164
  type: "showAlert";
165
165
  message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>;
166
- style: import("./implementations/show-alert.js").TypeOptions;
166
+ style: import("../user-facing/utils/notification.jsx").NotificationType;
167
+ alertDuration: number | undefined;
168
+ alertPosition: import("../user-facing/utils/notification.jsx").NotificationPosition | undefined;
167
169
  };
168
170
  };
169
171
  readonly setProfile: {
@@ -1,9 +1,9 @@
1
1
  export type ContainerLayout = "freeform" | "vertical" | "horizontal";
2
2
  export type ContainerVariant = "none" | "card";
3
- export type VerticalAlignment = "top" | "center" | "bottom" | "space-between" | "space-around";
4
- export type HorizontalAlignment = "left" | "center" | "right" | "space-between" | "space-around";
5
- export declare const VERTICAL_ALIGNMENT_MAP: Record<VerticalAlignment, string>;
6
- export declare const HORIZONTAL_ALIGNMENT_MAP: Record<HorizontalAlignment, string>;
3
+ export type VerticalAlignment<LayoutType extends "vertical" | "horizontal" | undefined = undefined> = LayoutType extends "horizontal" ? "top" | "center" | "bottom" : "top" | "center" | "bottom" | "space-between" | "space-around";
4
+ export type HorizontalAlignment<LayoutType extends "vertical" | "horizontal" | undefined = undefined> = LayoutType extends "vertical" ? "left" | "center" | "right" : "left" | "center" | "right" | "space-between" | "space-around";
5
+ export declare const VERTICAL_ALIGNMENT_MAP: Record<VerticalAlignment<"vertical">, string>;
6
+ export declare const HORIZONTAL_ALIGNMENT_MAP: Record<HorizontalAlignment<"horizontal">, string>;
7
7
  export declare const GridDefaults: {
8
8
  DEFAULT_GRID_COLUMNS: number;
9
9
  SLIDEOUT_DEFAULT_GRID_COLUMNS: number;
@@ -1,7 +1,7 @@
1
1
  export declare const getInputValidationErrors: (props: {
2
- text: string;
3
- inputType: string;
4
- isRequired: boolean;
2
+ text?: string;
3
+ inputType?: string;
4
+ isRequired?: boolean;
5
5
  customValidationRule?: string;
6
6
  customErrorMessage?: string;
7
7
  maxLength?: number;
@@ -15,7 +15,6 @@ export declare const SbButton: import("react").FC<import("../../properties-panel
15
15
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
16
16
  } & {
17
17
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
18
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
19
18
  }>;
20
19
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
21
20
  variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
@@ -26,7 +26,6 @@ export declare const propertiesDefinition: {
26
26
  margin: Prop<unknown, true>;
27
27
  } & {
28
28
  isVisible: Prop<boolean, true>;
29
- collapseWhenInvisible: Prop<boolean, false>;
30
29
  }>;
31
30
  appearance: Section<Record<string, Prop<any, any>> & {
32
31
  variant: Prop<ButtonVariant, true>;
@@ -18,7 +18,6 @@ export declare const SbCheckbox: import("react").FC<import("../../properties-pan
18
18
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
19
19
  } & {
20
20
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
21
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
22
21
  }>;
23
22
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
24
23
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -19,7 +19,6 @@ export declare const propertiesDefinition: {
19
19
  margin: Prop<unknown, true>;
20
20
  } & {
21
21
  isVisible: Prop<boolean, true>;
22
- collapseWhenInvisible: Prop<boolean, false>;
23
22
  }>;
24
23
  interaction: Section<Record<string, Prop<any, any>> & {
25
24
  customValidationRule: Prop<string, true>;
@@ -18,14 +18,14 @@ export declare const SbColumn: import("react").FC<import("../../properties-panel
18
18
  }) | (Omit<{
19
19
  layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
20
20
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
21
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
22
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
21
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
22
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
23
23
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
24
24
  }) | (Omit<{
25
25
  layout: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerLayout, true>;
26
26
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
27
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
28
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
27
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
28
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
29
29
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
30
30
  }))) & {
31
31
  spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
@@ -42,7 +42,6 @@ export declare const SbColumn: import("react").FC<import("../../properties-panel
42
42
  shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
43
43
  }) & {
44
44
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
45
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
46
45
  }>;
47
46
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
48
47
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
@@ -12,14 +12,14 @@ export declare const propertiesDefinition: {
12
12
  }) | (Omit<{
13
13
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
14
14
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
15
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
16
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
15
+ readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
16
+ readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
17
17
  readonly layout: Prop<"vertical", true>;
18
18
  }) | (Omit<{
19
19
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
20
20
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
21
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
22
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
21
+ readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
22
+ readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
23
23
  readonly layout: Prop<"horizontal", true>;
24
24
  }))) & {
25
25
  spacing: Prop<Dim<"px">, true>;
@@ -36,7 +36,6 @@ export declare const propertiesDefinition: {
36
36
  shouldScrollContents: Prop<boolean, true>;
37
37
  }) & {
38
38
  isVisible: Prop<boolean, true>;
39
- collapseWhenInvisible: Prop<boolean, false>;
40
39
  }>;
41
40
  appearance: Section<Record<string, Prop<any, any>> & {
42
41
  backgroundColor: Prop<string, false>;
@@ -25,14 +25,14 @@ export declare const SbContainer: import("react").FC<import("../../properties-pa
25
25
  }) | (Omit<{
26
26
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
27
27
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
28
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
29
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
28
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
29
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
30
30
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
31
31
  }) | (Omit<{
32
32
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
33
33
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
34
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
35
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
34
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
35
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
36
36
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
37
37
  }))) & {
38
38
  spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
@@ -51,7 +51,6 @@ export declare const SbContainer: import("react").FC<import("../../properties-pa
51
51
  shouldScrollContents: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
52
52
  }) & {
53
53
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
54
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
55
54
  }>;
56
55
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
57
56
  variant: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").ContainerVariant, true>;
@@ -21,14 +21,14 @@ export declare const propertiesDefinition: {
21
21
  }) | (Omit<{
22
22
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
23
23
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
24
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
25
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
24
+ readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
25
+ readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
26
26
  readonly layout: Prop<"vertical", true>;
27
27
  }) | (Omit<{
28
28
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
29
29
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
30
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
31
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
30
+ readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
31
+ readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
32
32
  readonly layout: Prop<"horizontal", true>;
33
33
  }))) & {
34
34
  spacing: Prop<Dim<"px">, true>;
@@ -47,7 +47,6 @@ export declare const propertiesDefinition: {
47
47
  shouldScrollContents: Prop<boolean, true>;
48
48
  }) & {
49
49
  isVisible: Prop<boolean, true>;
50
- collapseWhenInvisible: Prop<boolean, false>;
51
50
  }>;
52
51
  appearance: Section<Record<string, Prop<any, any>> & {
53
52
  variant: Prop<ContainerVariant, true>;
@@ -14,7 +14,6 @@ declare const layoutPropDef: {
14
14
  margin: Prop<unknown, true>;
15
15
  } & {
16
16
  isVisible: Prop<boolean, true>;
17
- collapseWhenInvisible: Prop<boolean, false>;
18
17
  }>;
19
18
  };
20
19
  type WrappedEventProps<IP extends InternalProps<any>> = {
@@ -2,6 +2,9 @@ import React from "react";
2
2
  import type { DatePickerComponentProps } from "./types.js";
3
3
  export declare const INPUT_ADDITIONAL_MIN_HEIGHT = 17.7;
4
4
  export declare const LABEL_EXTRA_HEIGHT_MARGIN = 4;
5
+ interface DatePickerComponentState {
6
+ isOpen?: boolean;
7
+ }
5
8
  declare class DatePickerComponent extends React.Component<DatePickerComponentProps, DatePickerComponentState> {
6
9
  constructor(props: DatePickerComponentProps);
7
10
  componentDidMount(): void;
@@ -9,6 +12,8 @@ declare class DatePickerComponent extends React.Component<DatePickerComponentPro
9
12
  getValidDate: (date: string, format: string) => Date | undefined;
10
13
  getNormalizedDateFormat: () => string;
11
14
  getNormalizedDisplayDateFormat: () => string | undefined;
15
+ get valueTimezone(): string;
16
+ get displayTimezone(): string;
12
17
  shouldWrapTime: () => boolean;
13
18
  handleInteraction: (openState: boolean) => void;
14
19
  getInitialMonth: (currentValue: string | undefined | null, minDate: Date | undefined, maxDate: Date | undefined) => Date | undefined;
@@ -19,11 +24,13 @@ declare class DatePickerComponent extends React.Component<DatePickerComponentPro
19
24
  formatSelectedDate: (date: Date) => string;
20
25
  parseSelectedDate: (dateStr: string) => Date;
21
26
  onInputChanged: (event: React.ChangeEvent<HTMLInputElement>) => void;
27
+ /**
28
+ * @param selectedDayOnly date in the local timezone
29
+ */
22
30
  onDayChanged: (selectedDayOnly: Date | undefined) => void;
31
+ /**
32
+ * @param selectedDayOnly date in the local timezone
33
+ */
23
34
  onTimeChanged: (selectedDateTime: Date | null) => void;
24
35
  }
25
- interface DatePickerComponentState {
26
- selectedDateFormatted?: unknown;
27
- isOpen?: boolean;
28
- }
29
36
  export default DatePickerComponent;
@@ -4,7 +4,7 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
4
4
  label: import("../../properties-panel/props-builder.js").Prop<string, true>;
5
5
  defaultDate: import("../../properties-panel/props-builder.js").Prop<string, false>;
6
6
  dateFormat: import("../../properties-panel/props-builder.js").Prop<string, true>;
7
- displayDateFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
7
+ displayDateFormat: import("../../properties-panel/props-builder.js").Prop<string, true>;
8
8
  } & (Omit<{
9
9
  manageTimezone: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
10
10
  }, "manageTimezone" | "displayTimezone" | "valueTimezone"> & ({
@@ -29,12 +29,11 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
29
29
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
30
30
  } & {
31
31
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
32
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
33
32
  }>;
34
33
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
35
34
  labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", true>;
36
35
  labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
37
- showIcon: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
36
+ icon: import("../../properties-panel/props-builder.js").Prop<string, true>;
38
37
  }>;
39
38
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
40
39
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -6,7 +6,7 @@ export declare const propertiesDefinition: {
6
6
  label: Prop<string, true>;
7
7
  defaultDate: Prop<string, false>;
8
8
  dateFormat: Prop<string, true>;
9
- displayDateFormat: Prop<string, false>;
9
+ displayDateFormat: Prop<string, true>;
10
10
  } & (Omit<{
11
11
  manageTimezone: Prop<boolean, true>;
12
12
  }, "manageTimezone" | "displayTimezone" | "valueTimezone"> & ({
@@ -31,12 +31,11 @@ export declare const propertiesDefinition: {
31
31
  margin: Prop<unknown, true>;
32
32
  } & {
33
33
  isVisible: Prop<boolean, true>;
34
- collapseWhenInvisible: Prop<boolean, false>;
35
34
  }>;
36
35
  appearance: Section<Record<string, Prop<any, any>> & {
37
36
  labelPosition: Prop<"left" | "top", true>;
38
37
  labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
39
- showIcon: Prop<boolean, true>;
38
+ icon: Prop<string, true>;
40
39
  }>;
41
40
  interaction: Section<Record<string, Prop<any, any>> & {
42
41
  customValidationRule: Prop<string, true>;
@@ -19,8 +19,8 @@ export interface DatePickerComponentProps {
19
19
  timezone?: string;
20
20
  isRequired?: boolean;
21
21
  showTimezone?: boolean;
22
- showCalendarIcon?: boolean;
23
22
  forceOpen?: boolean;
23
+ icon?: string;
24
24
  iconSize?: number;
25
25
  inputClassName?: string;
26
26
  inputStyleOverride?: React.CSSProperties;
@@ -35,6 +35,6 @@ export interface DatePickerComponentProps {
35
35
  errorMessages?: string[];
36
36
  isFitContentHeight?: boolean;
37
37
  onInputClick?: (e: React.MouseEvent) => void;
38
- onDateSelected: (selectedDate: string) => void;
38
+ onDateSelected: (selectedDate?: string) => void;
39
39
  onDatePickerClosed?: () => void;
40
40
  }
@@ -16,6 +16,17 @@ export declare function normalizeDateFormat(dateFormat: string): string;
16
16
  * @returns {string} - The formatted date string in "MM/DD/YYYY HH:mm:ss" format.
17
17
  */
18
18
  export declare function stripTimezoneFromString(dateString: string, format: string): string;
19
+ /**
20
+ * Because the datepicker UI component works with JavaScript dates (which use the system TZ),
21
+ * we want to "strip" the timezone when passing it to this copmonent.
22
+ *
23
+ * For example:
24
+ * If the selected date is 01/01/2001 01:00PM EST and the system time is PST, we want to create a JS Date that has the value
25
+ * 01/01/2001 01:00PM PST and pass that to the blueprint datepicker.
26
+ *
27
+ * Then, when the user selects a date, we receive a date object with a value of 01/01/2001 02:00PM PST
28
+ * which we then convert to 01/01/2001 2:00PM EST to store as the selectedDate
29
+ */
19
30
  export declare const stripTimezoneFromDate: (date: Date, dateFormat: string, timezone?: string) => string;
20
31
  export declare const convertDateStringTimezone: (dateStr: string, dateFormat: string, originalTimezone?: string, newTimezone?: string) => string;
21
32
  export declare const formatIncludesTimezone: (dateFormat: string) => boolean;
@@ -32,7 +32,6 @@ export declare const SbDropdown: React.FC<import("../../properties-panel/props-b
32
32
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
33
33
  } & {
34
34
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
35
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
36
35
  }>;
37
36
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
38
37
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -34,7 +34,6 @@ export declare const propertiesDefinition: {
34
34
  margin: Prop<unknown, true>;
35
35
  } & {
36
36
  isVisible: Prop<boolean, true>;
37
- collapseWhenInvisible: Prop<boolean, false>;
38
37
  }>;
39
38
  interaction: Section<Record<string, Prop<any, any>> & {
40
39
  customValidationRule: Prop<string, true>;
@@ -28,7 +28,6 @@ declare const _propertiesDefinition: {
28
28
  margin: Prop<unknown, true>;
29
29
  } & {
30
30
  isVisible: Prop<boolean, true>;
31
- collapseWhenInvisible: Prop<boolean, false>;
32
31
  }>;
33
32
  };
34
33
  export type GridProps = InternalProps<typeof _propertiesDefinition>;
@@ -10,7 +10,6 @@ export declare const SbIcon: import("react").FC<import("../../properties-panel/p
10
10
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
11
11
  } & {
12
12
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
13
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
14
13
  }>;
15
14
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
16
15
  color: import("../../properties-panel/props-builder.js").Prop<string, false>;
@@ -12,7 +12,6 @@ export declare const propertiesDefinition: {
12
12
  margin: Prop<unknown, true>;
13
13
  } & {
14
14
  isVisible: Prop<boolean, true>;
15
- collapseWhenInvisible: Prop<boolean, false>;
16
15
  }>;
17
16
  appearance: Section<Record<string, Prop<any, any>> & {
18
17
  color: Prop<string, false>;
@@ -21,7 +21,6 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
21
21
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
22
22
  } & {
23
23
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
24
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
25
24
  }>;
26
25
  events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
27
26
  onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
@@ -31,7 +31,6 @@ export declare const propertiesDefinition: {
31
31
  margin: Prop<unknown, true>;
32
32
  } & {
33
33
  isVisible: Prop<boolean, true>;
34
- collapseWhenInvisible: Prop<boolean, false>;
35
34
  }>;
36
35
  events: Section<Record<string, Prop<any, any>> & {
37
36
  onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
@@ -1,5 +1,4 @@
1
1
  import type { InputWidgetProps } from "./types.js";
2
2
  export declare function getValue(this: InputWidgetProps): string | number | null | undefined;
3
- export declare function getValidationErrors(this: InputWidgetProps): Record<"number" | "url" | "required" | "email" | "minMax" | "customRule", string | undefined>;
4
3
  export declare function getShowError(this: InputWidgetProps): boolean;
5
4
  export declare function getIsValid(this: InputWidgetProps): boolean;
@@ -54,7 +54,6 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
54
54
  labelWidth?: undefined;
55
55
  }))))) & {
56
56
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
57
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
58
57
  }>;
59
58
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
60
59
  inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
@@ -1,7 +1,6 @@
1
1
  import { Section, Prop } from "../../properties-panel/props-builder.js";
2
2
  import type { CurrencyCodeDisplayType } from "./types.js";
3
3
  import type { IconPosition } from "../../icons/constants.js";
4
- import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
5
4
  export declare const propertiesDefinition: {
6
5
  general: Section<(Record<string, Prop<any, any>> & ({
7
6
  label: Prop<string, true>;
@@ -22,9 +21,9 @@ export declare const propertiesDefinition: {
22
21
  }>;
23
22
  appearance: Section<Record<string, Prop<any, any>> & {
24
23
  labelPosition: Prop<"left" | "top", true>;
25
- labelStyle: Prop<TextStyleWithVariant, true>;
24
+ labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
26
25
  placeholderText: Prop<string, true>;
27
- textStyle: Prop<TextStyleWithVariant, true>;
26
+ textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
28
27
  backgroundColor: Prop<string, true>;
29
28
  border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
30
29
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
@@ -58,7 +57,6 @@ export declare const propertiesDefinition: {
58
57
  labelWidth?: undefined;
59
58
  }))))) & {
60
59
  isVisible: Prop<boolean, true>;
61
- collapseWhenInvisible: Prop<boolean, false>;
62
60
  }>;
63
61
  interaction: Section<Record<string, Prop<any, any>> & Omit<{
64
62
  inputType: Prop<string, false>;
@@ -21,7 +21,6 @@ export declare const propertiesDefinition: {
21
21
  }>;
22
22
  layout: Section<Record<string, Prop<any, any>> & {
23
23
  isVisible: Prop<boolean, true>;
24
- collapseWhenInvisible: Prop<boolean, false>;
25
24
  keyProps: Prop<any, true>;
26
25
  "keyProps.width": Prop<any, false>;
27
26
  "valueProps.position": Prop<"left" | "right", true>;
@@ -15,14 +15,14 @@ export declare const SbModal: import("react").FC<import("../../properties-panel/
15
15
  }) | (Omit<{
16
16
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
17
17
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
18
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
19
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
18
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
19
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
20
20
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
21
21
  }) | (Omit<{
22
22
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
23
23
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
24
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
25
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
24
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
25
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
26
26
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
27
27
  }))) & {
28
28
  spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
@@ -12,14 +12,14 @@ export declare const propertiesDefinition: {
12
12
  }) | (Omit<{
13
13
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
14
14
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
15
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
16
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
15
+ readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
16
+ readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
17
17
  readonly layout: Prop<"vertical", true>;
18
18
  }) | (Omit<{
19
19
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
20
20
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
21
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
22
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
21
+ readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
22
+ readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
23
23
  readonly layout: Prop<"horizontal", true>;
24
24
  }))) & {
25
25
  spacing: Prop<import("@superblocksteam/library-shared").Dim<"px">, true>;