@superblocksteam/library 2.0.3 → 2.0.4

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 (51) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-B2t0JFsE.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-B2t0JFsE.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-Ds8PViwH.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-Ds8PViwH.js.map} +1 -1
  5. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-BwDYmyS1.js} +3 -3
  6. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
  7. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-l2CC2ZRN.js} +3 -3
  8. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
  9. package/dist/{index-CJuRwhWz.js → index-DV7VPZc1.js} +471 -1115
  10. package/dist/{index-CJuRwhWz.js.map → index-DV7VPZc1.js.map} +1 -1
  11. package/dist/index.css +1 -172
  12. package/dist/index.js +149 -149
  13. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
  14. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
  15. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
  17. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
  18. package/dist-types/edit-mode/properties.d.ts +1 -1
  19. package/dist-types/internal-testing/components/modal.d.ts +1 -3
  20. package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
  21. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +1 -2
  22. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -1
  23. package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -1
  24. package/dist-types/lib/internal-details/scope/global.d.ts +1 -2
  25. package/dist-types/lib/sb-trigger.d.ts +4 -0
  26. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -4
  27. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +8 -4
  28. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +8 -4
  29. package/dist-types/lib/triggers/registry.d.ts +14 -6
  30. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  31. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  32. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
  33. package/dist-types/lib/user-facing/components/grid/index.d.ts +1 -2
  34. package/dist-types/lib/user-facing/components/page/index.d.ts +0 -3
  35. package/dist-types/lib/user-facing/components/page/props.d.ts +0 -3
  36. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +9 -12
  37. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  38. package/dist-types/lib/user-facing/components/table/index.d.ts +9 -12
  39. package/dist-types/lib/user-facing/components/table/props.d.ts +9 -12
  40. package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -2
  41. package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -4
  42. package/dist-types/lib/user-facing/themes/constants.d.ts +2 -7
  43. package/package.json +4 -3
  44. package/dist/devtools-consolidated-Ck9KuyGf.js +0 -590
  45. package/dist/devtools-consolidated-Ck9KuyGf.js.map +0 -1
  46. package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
  47. package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
  48. package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
  49. package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
  50. package/dist-types/lib/internal-details/scope/types.d.ts +0 -57
  51. package/dist-types/lib/utils/children.d.ts +0 -3
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- declare function registerStores(stores: Record<string, any>): void;
3
- declare const DevTools: () => React.JSX.Element | null;
4
- export { DevTools, registerStores };
@@ -1 +0,0 @@
1
- export declare function serializeStoreData(stores_: Record<string, any>): Record<string, any>;
@@ -1,57 +0,0 @@
1
- import type { Profile, RouteDef } from "@superblocksteam/shared";
2
- export declare const AppMode: {
3
- readonly EDIT: "EDIT";
4
- readonly PUBLISHED: "PUBLISHED";
5
- readonly PREVIEW: "PREVIEW";
6
- };
7
- export type AppMode = (typeof AppMode)[keyof typeof AppMode];
8
- export type Global = {
9
- mode?: AppMode;
10
- user?: User;
11
- URL?: UrlState;
12
- groups?: Group[];
13
- deployedAt?: string;
14
- createdAt?: string;
15
- selectedProfileId?: string;
16
- profiles?: Profiles;
17
- routes?: {
18
- [id: string]: RouteDef;
19
- };
20
- currentRoute?: {
21
- routeDef: RouteDef;
22
- params: Record<string, string>;
23
- };
24
- app?: {
25
- id: string;
26
- name: string;
27
- };
28
- };
29
- type User = {
30
- name: string;
31
- email: string;
32
- id: string;
33
- groups: Group[];
34
- username: string;
35
- metadata: Record<string, unknown>;
36
- };
37
- type Group = {
38
- id: string;
39
- name: string;
40
- size: number;
41
- };
42
- type UrlState = {
43
- queryParams: Record<string, string>;
44
- protocol: string;
45
- host: string;
46
- hostname: string;
47
- port: string;
48
- pathname: string;
49
- hash: string;
50
- fullPath: string;
51
- };
52
- type Profiles = {
53
- available: Profile[];
54
- selected?: Profile;
55
- default: Profile;
56
- };
57
- export {};
@@ -1,3 +0,0 @@
1
- import type { ReactNode } from "react";
2
- export declare function getValidChildrenNodes(children: ReactNode): ReactNode[];
3
- export declare function isValidReactNode(element: unknown): element is ReactNode | ReactNode[];