@superblocksteam/library 2.0.6-next.40 → 2.0.6-next.41

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 (31) hide show
  1. package/dist/{allPaths-DtYnQ-yV.js → allPaths-4y_K62Vs.js} +2 -2
  2. package/dist/{allPaths-DtYnQ-yV.js.map → allPaths-4y_K62Vs.js.map} +1 -1
  3. package/dist/{allPaths-DrkZM5UN.js → allPaths-Byemqzqm.js} +2 -2
  4. package/dist/{allPaths-DrkZM5UN.js.map → allPaths-Byemqzqm.js.map} +1 -1
  5. package/dist/{allPathsLoader-Bt-mJXJw.js → allPathsLoader-ClBdq20d.js} +3 -3
  6. package/dist/{allPathsLoader-Bt-mJXJw.js.map → allPathsLoader-ClBdq20d.js.map} +1 -1
  7. package/dist/{allPathsLoader-rDsLNp7q.js → allPathsLoader-DHEhZoal.js} +3 -3
  8. package/dist/{allPathsLoader-rDsLNp7q.js.map → allPathsLoader-DHEhZoal.js.map} +1 -1
  9. package/dist/{devtools-consolidated-DaYe-zkb.js → devtools-consolidated-D3M5wXPE.js} +2 -2
  10. package/dist/{devtools-consolidated-DaYe-zkb.js.map → devtools-consolidated-D3M5wXPE.js.map} +1 -1
  11. package/dist/{index-D9O95zsr.js → index-Cie8AtZt.js} +2996 -584
  12. package/dist/{index-D9O95zsr.js.map → index-Cie8AtZt.js.map} +1 -1
  13. package/dist/index.js +150 -149
  14. package/dist/{splitPathsBySizeLoader-DCl0XfAP.js → splitPathsBySizeLoader-B30Uhcpp.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-DCl0XfAP.js.map → splitPathsBySizeLoader-B30Uhcpp.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-HDsWhSbE.js → splitPathsBySizeLoader-BPZd-Xd7.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-HDsWhSbE.js.map → splitPathsBySizeLoader-BPZd-Xd7.js.map} +1 -1
  18. package/dist-types/internal-testing/components/slideout.d.ts +3 -0
  19. package/dist-types/lib/index.d.ts +1 -0
  20. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +4 -3
  21. package/dist-types/lib/triggers/registry.d.ts +2 -2
  22. package/dist-types/lib/user-facing/components/modal/index.d.ts +0 -4
  23. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +10 -0
  24. package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
  25. package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
  26. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
  27. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  28. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
  29. package/dist-types/lib/user-facing/layers.d.ts +1 -2
  30. package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -2
  31. package/package.json +4 -2
@@ -22,7 +22,6 @@ export declare const Layers: {
22
22
  selectedRect: Indices;
23
23
  focusedRect: Indices;
24
24
  namePill: Indices;
25
- drawer: Indices;
26
25
  closeButton: Indices;
27
26
  stickySections: Indices;
28
27
  scrollbars: Indices;
@@ -31,7 +30,7 @@ export declare const Layers: {
31
30
  parentSelectedWrapper: Indices;
32
31
  widgetResizer: Indices;
33
32
  resizer: Indices;
34
- modal: Indices;
33
+ dialog: Indices;
35
34
  widgetName: Indices;
36
35
  selectionConstraintResize: Indices;
37
36
  addSectionButton: Indices;
@@ -23,8 +23,8 @@ declare class SbEventFlow implements ISbEventFlow<StepDef, ScopedState, ValueInp
23
23
  navigateToRoute(route: string): this;
24
24
  static setQueryParams(params: Record<string, ValueInputProp<string>>, keepQueryParams?: boolean): SbEventFlow;
25
25
  setQueryParams(params: Record<string, ValueInputProp<string>>, keepQueryParams?: boolean): this;
26
- static controlSlideout(slideoutId: string, action: "open" | "close"): SbEventFlow;
27
- controlSlideout(slideoutId: string, action: "open" | "close"): this;
26
+ static controlSlideout(slideout: WithBindingIdentifier, action: "open" | "close"): SbEventFlow;
27
+ controlSlideout(slideout: WithBindingIdentifier, action: "open" | "close"): this;
28
28
  static controlModal(modal: WithBindingIdentifier, action: "open" | "close"): SbEventFlow;
29
29
  controlModal(modal: WithBindingIdentifier, action: "open" | "close"): this;
30
30
  static controlTimer(stateTimer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): SbEventFlow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/library",
3
- "version": "2.0.6-next.40",
3
+ "version": "2.0.6-next.41",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -29,10 +29,11 @@
29
29
  "@popperjs/core": "^2.11.7",
30
30
  "@radix-ui/colors": "^3.0.0",
31
31
  "@radix-ui/react-context-menu": "^2.2.2",
32
+ "@radix-ui/react-dialog": "^1.1.6",
32
33
  "@react-hook/resize-observer": "1.2.6",
33
34
  "@superblocksteam/fast-deep-equal": "3.1.4",
34
35
  "@superblocksteam/iso-currency": "2.0.0",
35
- "@superblocksteam/library-shared": "2.0.6-next.40",
36
+ "@superblocksteam/library-shared": "2.0.6-next.41",
36
37
  "@superblocksteam/shared": "0.9160.0",
37
38
  "antd": "4.24.15",
38
39
  "apca-w3": "^0.1.9",
@@ -60,6 +61,7 @@
60
61
  "react-hotkeys-hook": "3.3.1",
61
62
  "react-json-view-lite": "^2.4.1",
62
63
  "react-player": "2.3.1",
64
+ "react-remove-scroll": "^2.7.1",
63
65
  "react-router": "^7.0.2",
64
66
  "react-svg": "^16.1.29",
65
67
  "react-virtuoso": "^4.6.3",