Skip to content

Commit

Permalink
Merge pull request #143 from SuperViz/beta
Browse files Browse the repository at this point in the history
December update #1
  • Loading branch information
carlossantos74 authored Dec 2, 2024
2 parents d6e6ee5 + ae7cda1 commit 94da5e7
Show file tree
Hide file tree
Showing 119 changed files with 2,433 additions and 982 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish-packages.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,17 @@ jobs:
NPM_CONFIG_USERCONFIG: .npmrc.ci
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Check for changes in packages/react
id: check_react_changes
- name: Check for changes in React SDK and dependencies
id: check_react_and_dependencies_changes
run: |
git diff --quiet HEAD^ HEAD packages/react || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD packages/sdk || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD packages/autodesk || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD packages/matterport || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD packages/three || echo "react_changed=true" >> $GITHUB_OUTPUT
git diff --quiet HEAD^ HEAD packages/yjs || echo "react_changed=true" >> $GITHUB_OUTPUT
- name: Publish react package
if: steps.check_react_changes.outputs.react_changed == 'true'
if: steps.check_react_and_dependencies_changes.outputs.react_changed == 'true'
run: npm whoami && pnpm run semantic-release --filter=@superviz/react-sdk
env:
NPM_CONFIG_USERCONFIG: .npmrc.ci
Expand Down
1 change: 1 addition & 0 deletions apps/playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SuperViz</title>
<script id="mp-sdk-imports" src="https://static.matterport.com/showcase-sdk/bootstrap/24.11.2_webgl-798-gf42d1db434/sdk.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
230 changes: 230 additions & 0 deletions apps/playground/public/mp-bundle/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,233 @@
*
*/
.cursor-none{cursor:none}.cursor-default{cursor:default}.cursor-move{cursor:move}.cursor-col-resize{cursor:col-resize}.cursor-row-resize{cursor:row-resize}.cursor-crosshair{cursor:crosshair}.cursor-cell{cursor:cell}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.cursor-vertical-text{cursor:vertical-text}.cursor-e-resize{cursor:e-resize}.cursor-w-resize{cursor:w-resize}.cursor-n-resize{cursor:n-resize}.cursor-s-resize{cursor:s-resize}.cursor-ne-resize{cursor:ne-resize}.cursor-nw-resize{cursor:nw-resize}.cursor-se-resize{cursor:se-resize}.cursor-sw-resize{cursor:sw-resize}.cursor-ew-resize{cursor:ew-resize}.cursor-ns-resize{cursor:ns-resize}.cursor-nesw-resize{cursor:nesw-resize}.cursor-nwse-resize{cursor:nwse-resize}.cursor-zoom-in{cursor:url(../cursors/zoom-in.png) 5 5,auto;cursor:-webkit-zoom-in;cursor:zoom-in}.cursor-zoom-out{cursor:url(../cursors/zoom-out.png) 5 5,auto;cursor:-webkit-zoom-out;cursor:zoom-out}.cursor-grab{cursor:url(../cursors/grab.png),auto;cursor:-webkit-grab;cursor:grab}.cursor-grabbing{cursor:url(../cursors/grabbing.png),auto;cursor:-webkit-grabbing;cursor:grabbing}.cursor-rbe-default{cursor:url(../cursors/rbe-default.png),auto}.cursor-rbe-moving{cursor:url(../cursors/rbe-moving.png),auto}.cursor-rbe-place-node{cursor:url(../cursors/rbe-place-node.png) 12 12,auto}.cursor-rbe-finish-room{cursor:url(../cursors/rbe-finish-room.png) 12 12,auto}
/**
* gridstack SASS styles 10.3.1
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
*/
.grid-stack {
position: relative;
}

.grid-stack-rtl {
direction: ltr;
}
.grid-stack-rtl > .grid-stack-item {
direction: rtl;
}

.grid-stack-placeholder > .placeholder-content {
background-color: rgba(0, 0, 0, 0.1);
margin: 0;
position: absolute;
width: auto;
z-index: 0 !important;
}

.grid-stack > .grid-stack-item {
position: absolute;
padding: 0;
}
.grid-stack > .grid-stack-item > .grid-stack-item-content {
margin: 0;
position: absolute;
width: auto;
overflow-x: hidden;
overflow-y: auto;
}
.grid-stack > .grid-stack-item.size-to-content:not(.size-to-content-max) > .grid-stack-item-content {
overflow-y: hidden;
}

.grid-stack-item > .ui-resizable-handle {
position: absolute;
font-size: 0.1px;
display: block;
-ms-touch-action: none;
touch-action: none;
}
.grid-stack-item.ui-resizable-disabled > .ui-resizable-handle, .grid-stack-item.ui-resizable-autohide > .ui-resizable-handle {
display: none;
}
.grid-stack-item > .ui-resizable-ne,
.grid-stack-item > .ui-resizable-nw,
.grid-stack-item > .ui-resizable-se,
.grid-stack-item > .ui-resizable-sw {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>');
background-repeat: no-repeat;
background-position: center;
}
.grid-stack-item > .ui-resizable-ne {
transform: translate(0, 10px) rotate(45deg);
}
.grid-stack-item > .ui-resizable-sw {
transform: rotate(45deg);
}
.grid-stack-item > .ui-resizable-nw {
transform: translate(0, 10px) rotate(-45deg);
}
.grid-stack-item > .ui-resizable-se {
transform: rotate(-45deg);
}
.grid-stack-item > .ui-resizable-nw {
cursor: nw-resize;
width: 20px;
height: 20px;
top: 0;
}
.grid-stack-item > .ui-resizable-n {
cursor: n-resize;
height: 10px;
top: 0;
left: 25px;
right: 25px;
}
.grid-stack-item > .ui-resizable-ne {
cursor: ne-resize;
width: 20px;
height: 20px;
top: 0;
}
.grid-stack-item > .ui-resizable-e {
cursor: e-resize;
width: 10px;
top: 15px;
bottom: 15px;
}
.grid-stack-item > .ui-resizable-se {
cursor: se-resize;
width: 20px;
height: 20px;
}
.grid-stack-item > .ui-resizable-s {
cursor: s-resize;
height: 10px;
left: 25px;
bottom: 0;
right: 25px;
}
.grid-stack-item > .ui-resizable-sw {
cursor: sw-resize;
width: 20px;
height: 20px;
}
.grid-stack-item > .ui-resizable-w {
cursor: w-resize;
width: 10px;
top: 15px;
bottom: 15px;
}
.grid-stack-item.ui-draggable-dragging > .ui-resizable-handle {
display: none !important;
}
.grid-stack-item.ui-draggable-dragging {
will-change: left, top;
cursor: move;
}
.grid-stack-item.ui-resizable-resizing {
will-change: width, height;
}

.ui-draggable-dragging,
.ui-resizable-resizing {
z-index: 10000;
}
.ui-draggable-dragging > .grid-stack-item-content,
.ui-resizable-resizing > .grid-stack-item-content {
box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.2);
opacity: 0.8;
}

.grid-stack-animate,
.grid-stack-animate .grid-stack-item {
transition: left 0.3s, top 0.3s, height 0.3s, width 0.3s;
}

.grid-stack-animate .grid-stack-item.ui-draggable-dragging,
.grid-stack-animate .grid-stack-item.ui-resizable-resizing,
.grid-stack-animate .grid-stack-item.grid-stack-placeholder {
transition: left 0s, top 0s, height 0s, width 0s;
}

.grid-stack > .grid-stack-item[gs-y="0"] {
top: 0px;
}

.grid-stack > .grid-stack-item[gs-x="0"] {
left: 0%;
}

.gs-12 > .grid-stack-item {
width: 8.333%;
}
.gs-12 > .grid-stack-item[gs-x="1"] {
left: 8.333%;
}
.gs-12 > .grid-stack-item[gs-w="2"] {
width: 16.667%;
}
.gs-12 > .grid-stack-item[gs-x="2"] {
left: 16.667%;
}
.gs-12 > .grid-stack-item[gs-w="3"] {
width: 25%;
}
.gs-12 > .grid-stack-item[gs-x="3"] {
left: 25%;
}
.gs-12 > .grid-stack-item[gs-w="4"] {
width: 33.333%;
}
.gs-12 > .grid-stack-item[gs-x="4"] {
left: 33.333%;
}
.gs-12 > .grid-stack-item[gs-w="5"] {
width: 41.667%;
}
.gs-12 > .grid-stack-item[gs-x="5"] {
left: 41.667%;
}
.gs-12 > .grid-stack-item[gs-w="6"] {
width: 50%;
}
.gs-12 > .grid-stack-item[gs-x="6"] {
left: 50%;
}
.gs-12 > .grid-stack-item[gs-w="7"] {
width: 58.333%;
}
.gs-12 > .grid-stack-item[gs-x="7"] {
left: 58.333%;
}
.gs-12 > .grid-stack-item[gs-w="8"] {
width: 66.667%;
}
.gs-12 > .grid-stack-item[gs-x="8"] {
left: 66.667%;
}
.gs-12 > .grid-stack-item[gs-w="9"] {
width: 75%;
}
.gs-12 > .grid-stack-item[gs-x="9"] {
left: 75%;
}
.gs-12 > .grid-stack-item[gs-w="10"] {
width: 83.333%;
}
.gs-12 > .grid-stack-item[gs-x="10"] {
left: 83.333%;
}
.gs-12 > .grid-stack-item[gs-w="11"] {
width: 91.667%;
}
.gs-12 > .grid-stack-item[gs-x="11"] {
left: 91.667%;
}
.gs-12 > .grid-stack-item[gs-w="12"] {
width: 100%;
}

.gs-1 > .grid-stack-item {
width: 100%;
}
.gs-16>.grid-stack-item{width:6.3%}.gs-16>.grid-stack-item[gs-x="1"]{left:6.3%}.gs-16>.grid-stack-item[gs-w="2"]{width:12.5%}.gs-16>.grid-stack-item[gs-x="2"]{left:12.5%}.gs-16>.grid-stack-item[gs-w="3"]{width:18.8%}.gs-16>.grid-stack-item[gs-x="3"]{left:18.8%}.gs-16>.grid-stack-item[gs-w="4"]{width:25%}.gs-16>.grid-stack-item[gs-x="4"]{left:25%}.gs-16>.grid-stack-item[gs-w="5"]{width:31.3%}.gs-16>.grid-stack-item[gs-x="5"]{left:31.3%}.gs-16>.grid-stack-item[gs-w="6"]{width:37.5%}.gs-16>.grid-stack-item[gs-x="6"]{left:37.5%}.gs-16>.grid-stack-item[gs-w="7"]{width:43.8%}.gs-16>.grid-stack-item[gs-x="7"]{left:43.8%}.gs-16>.grid-stack-item[gs-w="8"]{width:50%}.gs-16>.grid-stack-item[gs-x="8"]{left:50%}.gs-16>.grid-stack-item[gs-w="9"]{width:56.3%}.gs-16>.grid-stack-item[gs-x="9"]{left:56.3%}.gs-16>.grid-stack-item[gs-w="10"]{width:62.5%}.gs-16>.grid-stack-item[gs-x="10"]{left:62.5%}.gs-16>.grid-stack-item[gs-w="11"]{width:68.8%}.gs-16>.grid-stack-item[gs-x="11"]{left:68.8%}.gs-16>.grid-stack-item[gs-w="12"]{width:75%}.gs-16>.grid-stack-item[gs-x="12"]{left:75%}.gs-16>.grid-stack-item[gs-w="13"]{width:81.3%}.gs-16>.grid-stack-item[gs-x="13"]{left:81.3%}.gs-16>.grid-stack-item[gs-w="14"]{width:87.5%}.gs-16>.grid-stack-item[gs-x="14"]{left:87.5%}.gs-16>.grid-stack-item[gs-w="15"]{width:93.8%}.gs-16>.grid-stack-item[gs-x="15"]{left:93.8%}.gs-16>.grid-stack-item[gs-w="16"]{width:100%}
Loading

0 comments on commit 94da5e7

Please sign in to comment.