@superblocksteam/library 2.0.118-next.1 → 2.0.119-next.0

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 (27) hide show
  1. package/dist/{build-manifest-BOqMhObV.js → build-manifest-Xi8oZhWX.js} +2 -2
  2. package/dist/{build-manifest-BOqMhObV.js.map → build-manifest-Xi8oZhWX.js.map} +1 -1
  3. package/dist/{devtools-consolidated-CwxpaGqQ.js → devtools-consolidated--QF_TVsD.js} +3 -5
  4. package/dist/{devtools-consolidated-CwxpaGqQ.js.map → devtools-consolidated--QF_TVsD.js.map} +1 -1
  5. package/dist/{early-console-buffer-D4wVuyBf.js → early-console-buffer-BJWsc4E3.js} +3 -6
  6. package/dist/{early-console-buffer-D4wVuyBf.js.map → early-console-buffer-BJWsc4E3.js.map} +1 -1
  7. package/dist/jsx-dev-runtime/index.d.ts.map +1 -1
  8. package/dist/jsx-dev-runtime/index.js +3 -5
  9. package/dist/jsx-dev-runtime/index.js.map +1 -1
  10. package/dist/jsx-runtime/index.d.ts.map +1 -1
  11. package/dist/jsx-runtime/index.js +1 -2
  12. package/dist/jsx-runtime/index.js.map +1 -1
  13. package/dist/{jsx-wrapper-BLrvyiEf.js → jsx-wrapper-BaTggkUU.js} +90 -169
  14. package/dist/jsx-wrapper-BaTggkUU.js.map +1 -0
  15. package/dist/lib/index.d.ts +27 -41
  16. package/dist/lib/index.d.ts.map +1 -1
  17. package/dist/lib/index.js +199 -334
  18. package/dist/lib/index.js.map +1 -1
  19. package/dist/{logs-hyzhDMp7.js → logs-HOxOH_w6.js} +4 -5
  20. package/dist/{logs-hyzhDMp7.js.map → logs-HOxOH_w6.js.map} +1 -1
  21. package/dist/{lib/index.css → style.css} +96 -126
  22. package/dist/{utils-BGEEeYie.js → utils-BfE8-Afc.js} +19 -4
  23. package/dist/{utils-BGEEeYie.js.map → utils-BfE8-Afc.js.map} +1 -1
  24. package/package.json +8 -7
  25. package/dist/jsx-wrapper-BLrvyiEf.js.map +0 -1
  26. package/dist/lib/index.css.map +0 -1
  27. package/dist/utils-Co8Wr1hk.js +0 -3
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.css","names":[],"sources":["../../src/edit-mode/edit-style.css"],"sourcesContent":[":root {\n /* Edit mode z-index values */\n --sb-edit-z-index-high: 1010;\n --sb-edit-z-index-mid: 1002;\n --sb-edit-z-index-base: 1001;\n --primary-rect-color: #0087e0;\n}\n\n/* A class that sets the child anchor-name to a variable that is set in react */\n/* First level is the suspense provider, second level is the component */\n.sb-anchor-name {\n anchor-name: var(--anchor-name);\n}\n\n.sb-draggable-wrapper {\n &[data-is-dragged=\"true\"] {\n visibility: hidden;\n }\n}\n\n/**\n* Used to drag *new* components into the canvas.\n* It's a full height/width layer above the editor canvas.\n* Triggers the draggable preview box for the new component to be dropped.\n**/\n.sb-new-component-dragging-layer {\n position: fixed;\n width: 100vw;\n height: 100vh;\n z-index: var(--sb-edit-z-index-high);\n}\n\n.sb-interaction-layer-wrapper {\n z-index: var(--sb-edit-z-index-high);\n height: 0;\n width: 0;\n top: 0;\n left: 0;\n}\n\n.sb-edit-drag-preview {\n background: rgba(224, 0, 0, 0.16);\n border: 1px solid red;\n box-shadow: inset 0 0 0 3px rgba(224, 0, 0, 0.16);\n width: 100%;\n height: 100%;\n pointer-events: none;\n\n &[data-is-valid-drop=\"true\"] {\n border: 1px solid var(--primary-rect-color);\n background: rgba(0, 135, 224, 0.16);\n box-shadow: inset 0 0 0 3px rgba(0, 135, 224, 0.16);\n }\n}\n\n.sb-edit-selection-rect {\n position: absolute;\n border: 2px solid var(--primary-rect-color);\n pointer-events: none;\n z-index: var(--sb-edit-z-index-base);\n\n &.sb-edit-focus {\n border: 1px solid var(--primary-rect-color);\n }\n\n &.sb-edit-target {\n border: 2px solid #c2b9dd;\n }\n\n &.sb-edit-target-mode.sb-edit-focus {\n border: 1px solid #c2b9dd;\n background: rgba(124, 79, 248, 0.04);\n }\n}\n\n/* ai target mode */\n\n.sb-target-mode-border {\n position: absolute;\n top: anchor(top);\n left: anchor(left);\n right: anchor(right);\n bottom: anchor(bottom);\n pointer-events: none;\n}\n\n.sb-target-mode-border-top-right,\n.sb-target-mode-border-top-left,\n.sb-target-mode-border-bottom-right,\n.sb-target-mode-border-bottom-left {\n width: 12px;\n height: 12px;\n position: absolute;\n box-sizing: border-box;\n}\n\n.sb-target-mode-border-top-right {\n top: 0;\n left: 0;\n border-top: 2px solid rgba(124, 79, 248, 1);\n border-left: 2px solid rgba(124, 79, 248, 1);\n}\n\n.sb-target-mode-border-top-left {\n top: 0;\n right: 0;\n border-top: 2px solid rgba(124, 79, 248, 1);\n border-right: 2px solid rgba(124, 79, 248, 1);\n}\n\n.sb-target-mode-border-bottom-right {\n bottom: 0;\n right: 0;\n border-bottom: 2px solid rgba(124, 79, 248, 1);\n border-right: 2px solid rgba(124, 79, 248, 1);\n}\n\n.sb-target-mode-border-bottom-left {\n bottom: 0;\n left: 0;\n border-bottom: 2px solid rgba(124, 79, 248, 1);\n border-left: 2px solid rgba(124, 79, 248, 1);\n}\n\n/*\n Handles for resizing the selection rect.\n These are the little circles that appear when you select a widget\n Used in interaction-rect-handles.tsx\n*/\n\n.resize-handle {\n position: absolute;\n width: 12px;\n height: 12px;\n background-color: white;\n border: 1px solid var(--primary-rect-color);\n border-radius: 50%;\n z-index: var(--sb-edit-z-index-high);\n pointer-events: auto;\n\n .bp5-popover-target {\n width: 100%;\n height: 100%;\n }\n\n &.top-left-resize-handle {\n top: -6px;\n left: -6px;\n cursor: nw-resize;\n }\n\n &.top-right-resize-handle {\n top: -6px;\n right: -6px;\n cursor: ne-resize;\n }\n\n &.bottom-right-resize-handle {\n bottom: -6px;\n right: -6px;\n cursor: se-resize;\n }\n\n &.bottom-left-resize-handle {\n bottom: -6px;\n left: -6px;\n cursor: sw-resize;\n }\n\n &.top-resize-handle {\n top: -6px;\n left: 0;\n right: 0;\n height: 12px;\n width: auto;\n cursor: ns-resize;\n background-color: transparent;\n border: none;\n pointer-events: auto;\n }\n\n &.right-resize-handle {\n top: 0;\n right: -6px;\n bottom: 0;\n width: 12px;\n height: auto;\n cursor: ew-resize;\n background-color: transparent;\n border: none;\n pointer-events: auto;\n }\n\n &.bottom-resize-handle {\n bottom: -6px;\n left: 0;\n right: 0;\n height: 12px;\n width: auto;\n cursor: ns-resize;\n background-color: transparent;\n border: none;\n pointer-events: auto;\n }\n\n &.left-resize-handle {\n top: 0;\n left: -6px;\n bottom: 0;\n width: 12px;\n height: auto;\n cursor: ew-resize;\n background-color: transparent;\n border: none;\n pointer-events: auto;\n }\n}\n\n.resize-handle-edge::after {\n position: absolute;\n content: \"\";\n border-radius: 3px;\n border: 1px solid var(--primary-rect-color);\n background: rgb(255, 255, 255);\n box-sizing: border-box;\n transition: height 0.2s ease-in-out;\n}\n\n.left-resize-handle-edge::after {\n width: 6px;\n height: 16px;\n top: calc(50% - 8px);\n left: calc(50% - 2px);\n}\n\n.right-resize-handle-edge::after {\n width: 6px;\n height: 16px;\n top: calc(50% - 8px);\n right: calc(50% - 2px);\n}\n\n.top-resize-handle-edge::after {\n width: 16px;\n height: 6px;\n left: calc(50% - 8px);\n top: calc(50% - 2px);\n}\n\n.bottom-resize-handle-edge::after {\n width: 16px;\n height: 6px;\n left: calc(50% - 8px);\n bottom: calc(50% - 2px);\n}\n\n.bp5-unstyled-popover > .bp5-popover-content {\n padding: 0 !important;\n background: none !important;\n}\n\n.sb-edit-interaction-rect-actions {\n position: absolute;\n /* This will flip the name pill when anchored */\n position-try-fallbacks: flip-block, --actions-below-header;\n}\n\n.sb-edit-selection-name-pill {\n max-width: 140px;\n}\n\n.sb-edit-selection-name-pill,\n.sb-edit-add-to-chat-button,\n.sb-edit-edit-component-button {\n cursor: pointer !important;\n display: block;\n font-size: 11px;\n color: white;\n padding: 2px 4px;\n white-space: nowrap;\n background-color: var(--primary-rect-color);\n border-radius: 3px;\n overflow: hidden;\n text-overflow: ellipsis;\n z-index: var(--sb-edit-z-index-mid);\n border: none;\n outline: none;\n\n * {\n cursor: pointer !important;\n }\n\n &:hover {\n box-shadow: 0px 3px 8px -1px var(--primary-rect-color);\n }\n\n &:active,\n &:focus {\n background-color: var(--primary-rect-color);\n opacity: 0.8;\n }\n}\n\n.sb-edit-actions-target-mode\n .sb-edit-selection-name-pill:not([data-pill-type=\"SELECTED\"]),\n.sb-edit-actions-target-mode .sb-edit-add-to-chat-button,\n.sb-edit-actions-target-mode .sb-edit-edit-component-button {\n background-color: rgba(100, 58, 223, 1);\n\n &:hover {\n box-shadow: 0px 3px 8px -1px rgba(100, 58, 223, 1);\n }\n\n &:active,\n &:focus {\n background-color: rgb(77, 50, 160);\n }\n}\n\n.sb-edit-add-to-chat-button,\n.sb-edit-edit-component-button {\n display: flex;\n align-items: center;\n justify-content: center;\n\n svg {\n width: 16px;\n height: 16px;\n }\n}\n\n@position-try --actions-below-header {\n margin-bottom: -24px;\n margin-right: 3px;\n}\n\n.sb-reparent-rect {\n position: absolute;\n border: 1px solid var(--primary-rect-color);\n pointer-events: none;\n z-index: var(--sb-edit-z-index-base);\n animation: radial-gradient-animation 2s infinite;\n}\n\n@keyframes radial-gradient-animation {\n 0% {\n box-shadow: inset 0 0 0 0 rgba(0, 135, 224, 0.5);\n }\n 100% {\n box-shadow: inset 0 0 20px 20px rgba(0, 135, 224, 0.1);\n }\n}\n\n.sb-edit-drop-placeholder {\n position: absolute;\n pointer-events: none;\n z-index: var(--sb-edit-z-index-base);\n\n &[data-is-active=\"true\"] {\n border: 1px solid var(--primary-rect-color);\n box-shadow: inset 0 0 0 3px rgba(0, 135, 224, 0.16);\n }\n\n &[data-is-valid-drop=\"false\"] {\n border-color: #f45252;\n }\n}\n\n.sb-edit-drop-target-outline {\n position: absolute;\n pointer-events: none;\n z-index: var(--sb-edit-z-index-base);\n border: 1px dashed var(--primary-rect-color);\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n\n &[data-invalid-target=\"true\"] {\n border-color: #f45252;\n }\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA"}
@@ -1,3 +0,0 @@
1
- import { n as initTracerProviderWithOrigin, t as getTracer } from "./utils-BGEEeYie.js";
2
-
3
- export { initTracerProviderWithOrigin };