@superblocksteam/library 2.0.6-next.2 → 2.0.6-next.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{allPaths-CO-aWzss.js → allPaths-C3m8JKL1.js} +2 -2
  2. package/dist/{allPaths-CO-aWzss.js.map → allPaths-C3m8JKL1.js.map} +1 -1
  3. package/dist/{allPaths-BtYOw5Ru.js → allPaths-IhoxI4IW.js} +2 -2
  4. package/dist/{allPaths-BtYOw5Ru.js.map → allPaths-IhoxI4IW.js.map} +1 -1
  5. package/dist/{allPathsLoader-B3Ii4JGL.js → allPathsLoader-5w2Df9lN.js} +3 -3
  6. package/dist/{allPathsLoader-KDCEbuYo.js.map → allPathsLoader-5w2Df9lN.js.map} +1 -1
  7. package/dist/{allPathsLoader-KDCEbuYo.js → allPathsLoader-BAwHv7e7.js} +3 -3
  8. package/dist/{allPathsLoader-B3Ii4JGL.js.map → allPathsLoader-BAwHv7e7.js.map} +1 -1
  9. package/dist/{devtools-consolidated-B1B3uBW_.js → devtools-consolidated-Eo3xuD81.js} +2 -2
  10. package/dist/{devtools-consolidated-B1B3uBW_.js.map → devtools-consolidated-Eo3xuD81.js.map} +1 -1
  11. package/dist/{index-kjgG33Rg.js → index-Bnnq0M9f.js} +246 -145
  12. package/dist/{index-kjgG33Rg.js.map → index-Bnnq0M9f.js.map} +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/{splitPathsBySizeLoader-VThmaq3t.js → splitPathsBySizeLoader-CUJrKt9p.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-VThmaq3t.js.map → splitPathsBySizeLoader-CUJrKt9p.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-Btq5cpt-.js → splitPathsBySizeLoader-DALk2KWT.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-Btq5cpt-.js.map → splitPathsBySizeLoader-DALk2KWT.js.map} +1 -1
  18. package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
  19. package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
  20. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
  21. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
  22. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +4 -3
  23. package/dist-types/lib/triggers/registry.d.ts +6 -6
  24. package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
  25. package/dist-types/lib/user-facing/components/grid/index.d.ts +7 -5
  26. package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -2
  27. package/package.json +3 -3
  28. package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as clientExports } from "./index-kjgG33Rg.js";
2
- import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, U, R, bM } from "./index-kjgG33Rg.js";
1
+ import { $ as clientExports } from "./index-Bnnq0M9f.js";
2
+ import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, U, R, bM } from "./index-Bnnq0M9f.js";
3
3
  const createRoot = clientExports.createRoot;
4
4
  export {
5
5
  a0 as Await,
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-kjgG33Rg.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-Bnnq0M9f.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-VThmaq3t.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-CUJrKt9p.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-VThmaq3t.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-CUJrKt9p.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-kjgG33Rg.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-Bnnq0M9f.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-Btq5cpt-.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-DALk2KWT.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-Btq5cpt-.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-DALk2KWT.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ export declare const FullPageSpinner: import("styled-components").StyledComponent<React.FC<import("@blueprintjs/core").SpinnerProps<HTMLElement>>, any, {}, never>;
2
3
  declare const Auth0Wrapper: (props: React.PropsWithChildren) => React.JSX.Element;
3
4
  declare const EmbedWrapper: (props: React.PropsWithChildren) => React.JSX.Element;
4
5
  export { EmbedWrapper, Auth0Wrapper };
@@ -1,7 +1,11 @@
1
1
  import type { SbComponentProps } from "../user-facing/component-base/sb-component";
2
2
  import type { ReactNode } from "react";
3
3
  type ChildFunction = Function;
4
- export type StackChildElement = React.ReactElement<SbComponentProps>;
4
+ export type StackChildElement = React.ReactElement<SbComponentProps> & {
5
+ type: {
6
+ sbType: string;
7
+ };
8
+ };
5
9
  export declare const superblocksComponentSymbol: unique symbol;
6
10
  export declare function isSbComponent(child: ReactNode | ChildFunction): child is StackChildElement;
7
11
  export {};
@@ -4,13 +4,13 @@ import type { ExecutionContext } from "../../base.js";
4
4
  import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
5
  export interface ResetStateVarStep extends BaseStepDef {
6
6
  type: typeof TriggerStepType.RESET_STATE_VAR;
7
- state?: WithBindingIdentifier;
7
+ variable?: WithBindingIdentifier;
8
8
  }
9
9
  export declare const ResetStateVarTrigger: {
10
10
  type: "resetStateVar";
11
11
  execute(context: ExecutionContext, step: ResetStateVarStep): Promise<void>;
12
- create(stateVar?: WithBindingIdentifier): {
12
+ create(variable?: WithBindingIdentifier): {
13
13
  type: "resetStateVar";
14
- state: WithBindingIdentifier | undefined;
14
+ variable: WithBindingIdentifier | undefined;
15
15
  };
16
16
  };
@@ -5,15 +5,15 @@ import type { ExecutionContext } from "../../base.js";
5
5
  import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
6
6
  export interface SetStateVarStep extends BaseStepDef {
7
7
  type: typeof TriggerStepType.SET_STATE_VAR;
8
- state?: WithBindingIdentifier;
8
+ variable?: WithBindingIdentifier;
9
9
  value?: ValueInputProp;
10
10
  }
11
11
  export declare const SetStateVarTrigger: {
12
12
  type: "setStateVar";
13
13
  execute(context: ExecutionContext, step: SetStateVarStep): Promise<void>;
14
- create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
14
+ create(variable?: WithBindingIdentifier, value?: ValueInputProp): {
15
15
  type: "setStateVar";
16
- state: WithBindingIdentifier | undefined;
16
+ variable: WithBindingIdentifier | undefined;
17
17
  value: ValueInputProp;
18
18
  };
19
19
  };
@@ -1,17 +1,18 @@
1
1
  import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
2
  import type { BaseStepDef } from "../../../sb-trigger.js";
3
3
  import type { ExecutionContext } from "../../base.js";
4
+ import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
4
5
  export interface ControlTimerStep extends BaseStepDef {
5
6
  type: typeof TriggerStepType.CONTROL_TIMER;
6
- timerId: string;
7
+ timer?: WithBindingIdentifier;
7
8
  action: "start" | "stop" | "toggle";
8
9
  }
9
10
  export declare const ControlTimerTrigger: {
10
11
  type: "controlTimer";
11
12
  execute(_context: ExecutionContext, step: ControlTimerStep): Promise<void>;
12
- create(timerId: string, action: "start" | "stop" | "toggle"): {
13
+ create(timer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
13
14
  type: "controlTimer";
14
- timerId: string;
15
+ timer: WithBindingIdentifier;
15
16
  action: "toggle" | "stop" | "start";
16
17
  };
17
18
  };
@@ -116,9 +116,9 @@ declare const EventRegistry: {
116
116
  readonly setStateVar: {
117
117
  type: "setStateVar";
118
118
  execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/set-state-var.js").SetStateVarStep): Promise<void>;
119
- create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier, value?: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
119
+ create(variable?: import("@superblocksteam/library-shared/types").WithBindingIdentifier, value?: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
120
120
  type: "setStateVar";
121
- state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
121
+ variable: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
122
122
  value: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
123
123
  };
124
124
  };
@@ -135,17 +135,17 @@ declare const EventRegistry: {
135
135
  readonly resetStateVar: {
136
136
  type: "resetStateVar";
137
137
  execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/reset-state-var.js").ResetStateVarStep): Promise<void>;
138
- create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
138
+ create(variable?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
139
139
  type: "resetStateVar";
140
- state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
140
+ variable: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
141
141
  };
142
142
  };
143
143
  readonly controlTimer: {
144
144
  type: "controlTimer";
145
145
  execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/timers/control-timer.js").ControlTimerStep): Promise<void>;
146
- create(timerId: string, action: "start" | "stop" | "toggle"): {
146
+ create(timer: import("@superblocksteam/library-shared/types").WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
147
147
  type: "controlTimer";
148
- timerId: string;
148
+ timer: import("@superblocksteam/library-shared/types").WithBindingIdentifier;
149
149
  action: "toggle" | "stop" | "start";
150
150
  };
151
151
  };
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -3,15 +3,15 @@ import React from "react";
3
3
  import { Prop, Section } from "../../properties-panel/props-builder.js";
4
4
  import type { InternalProps } from "../../properties-panel/props-builder.js";
5
5
  import type { DimModes } from "@superblocksteam/library-shared";
6
- import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
7
- export type GridChild = React.ReactElement<{
6
+ export type GridChild = {
8
7
  marginTop?: Dim<"rows">;
9
8
  marginLeft?: Dim<"columns">;
10
9
  width?: Dim<"columns">;
11
10
  height?: Dim<"rows" | "fit">;
12
11
  constraintTop?: string | [string];
13
- bind?: WithBindingIdentifier;
14
- }>;
12
+ name: string;
13
+ sbType?: string;
14
+ };
15
15
  declare const _propertiesDefinition: {
16
16
  general: Section<Record<string, Prop<any, any>> & {
17
17
  spacing: Prop<Dim<"px">, true>;
@@ -37,5 +37,7 @@ declare const _propertiesDefinition: {
37
37
  }>;
38
38
  };
39
39
  export type GridProps = InternalProps<typeof _propertiesDefinition>;
40
- export declare const InternalGrid: ({ children, ...props }: GridProps) => React.JSX.Element;
40
+ export declare const InternalGrid: (({ children, ...props }: GridProps) => React.JSX.Element) & {
41
+ displayName: string;
42
+ };
41
43
  export {};
@@ -27,8 +27,8 @@ declare class SbEventFlow implements ISbEventFlow<StepDef, ScopedState, ValueInp
27
27
  controlSlideout(slideoutId: string, action: "open" | "close"): this;
28
28
  static controlModal(modal: WithBindingIdentifier, action: "open" | "close"): SbEventFlow;
29
29
  controlModal(modal: WithBindingIdentifier, action: "open" | "close"): this;
30
- static controlTimer(timerId: string, action: "start" | "stop" | "toggle"): SbEventFlow;
31
- controlTimer(timerId: string, action: "start" | "stop" | "toggle"): this;
30
+ static controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): SbEventFlow;
31
+ controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): this;
32
32
  static runApis(apis: any[], onSuccess?: SbEventFlow, onError?: SbEventFlow): SbEventFlow;
33
33
  runApis(apis: any[], onSuccess?: SbEventFlow, onError?: SbEventFlow): this;
34
34
  static cancelApis(apis: any[], onCancel?: SbEventFlow): SbEventFlow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/library",
3
- "version": "2.0.6-next.2",
3
+ "version": "2.0.6-next.21",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -32,7 +32,7 @@
32
32
  "@react-hook/resize-observer": "1.2.6",
33
33
  "@superblocksteam/fast-deep-equal": "3.1.4",
34
34
  "@superblocksteam/iso-currency": "2.0.0",
35
- "@superblocksteam/library-shared": "2.0.6-next.2",
35
+ "@superblocksteam/library-shared": "2.0.6-next.21",
36
36
  "@superblocksteam/shared": "0.9160.0",
37
37
  "antd": "4.24.15",
38
38
  "apca-w3": "^0.1.9",
@@ -111,7 +111,7 @@
111
111
  "typescript-eslint": "^8.18.0",
112
112
  "vite": "^6.3.5",
113
113
  "vite-plugin-svgr": "^4.3.0",
114
- "vitest": "^2.1.9"
114
+ "vitest": "^3.2.0"
115
115
  },
116
116
  "publishConfig": {
117
117
  "registry": "https://registry.npmjs.org"
@@ -1 +0,0 @@
1
- export declare const getChildName: (child: any) => string;