@osamash/floor-planner 1.2.0 → 1.2.1
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.
- package/dist/floor-planner.css +1 -1
- package/dist/floor-planner.es.js +6210 -6201
- package/dist/floor-planner.umd.js +159 -159
- package/dist/types/react-planner/catalog/factories/ItemFactory.d.ts +20 -0
- package/dist/types/react-planner/catalog/factories/index.d.ts +3 -1
- package/dist/types/react-planner/catalog/factories/item-factory-3d.d.ts +4 -0
- package/dist/types/react-planner/utils/zoom.d.ts +4 -7
- package/dist/types/react-planner/viewer2d/Ruler.d.ts +4 -2
- package/package.json +1 -1
package/dist/floor-planner.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--dark-blue: #1ca6fc;--header-height:
|
|
1
|
+
:root{--background: #ffffff;--background-grey: #fafafa;--dark-blue: #1ca6fc;--header-height: 48px;--foreground: #2f3033;--search-border: #e9eced;--icon-color: #3d4d59;--toolbar-background: #2b2b2b;--toolbar-icon: #bebebe;--toolbar-icon-hover: #1ca6fc;--toolbar-icon-active: #1ca6fc;--toolbar-border: #e9eced;--header-background: #2b2b2b;--header-color: #bebebe;--header-project-name: #ffffff;--footer-background: #2b2b2b;--footer-color: #ffffff;--properties-background: #2f2f2f;--properties-color: #ffffff;--properties-input-background: #424242;--properties-input-border: #333333;--properties-section-header: #2b2b2b}body{color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bg-dark-blue{background-color:var(--dark-blue)}.text-foreground{color:var(--foreground)}.text-dark-blue{color:var(--dark-blue)}.floor_planner-headerbar{font-size:.75rem;color:var(--header-color);height:var(--header-height);background:var(--header-background);border-bottom:1px solid var(--search-border)}.floor_planner-footerbar{right:0;bottom:0;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.75rem;color:var(--footer-color);background:var(--footer-background);padding:3px 12px}.floor_planner-toolbar{left:4px;border-radius:5px;color:var(--toolbar-icon);box-shadow:0 2px 3px 1px #0000001a;border:1px solid var(--toolbar-border);background:var(--toolbar-background);padding-top:calc(var(--header-height) + 24px)}.floor_planner-sidebar{position:absolute;right:10px;box-shadow:0 2px 3px 1px #0000001a;padding-bottom:0!important;border-radius:5px;border:1px solid var(--properties-input-border);height:-moz-fit-content;height:fit-content;color:var(--properties-color);background:var(--properties-background);top:calc(var(--header-height) + 10px)}.panel-property_header{background:var(--properties-section-header);border-bottom:1px solid var(--properties-input-border)}.panel-property_label{text-transform:capitalize;font-weight:700;font-size:.75rem}.panel-property_input,.panel-property_select{background:var(--properties-input-background);border:1px solid var(--properties-input-border)}.react-tabs__tab-list{border-bottom:1px solid #aaa;margin:0 0 10px;padding:0}.react-tabs__tab{display:inline-block;border:1px solid transparent;border-bottom:none;bottom:-1px;position:relative;list-style:none;padding:6px 12px;cursor:pointer}.react-tabs__tab--selected,.react-tabs__tab:focus{border-color:#aaa;color:#1ca6fc;outline:none}.react-tabs__tab-panel{display:none}.react-tabs__tab-panel--selected{display:block}.search-bar input{background-color:#2b2b2b;border:1px solid #5e5e5e;border-radius:5px;color:#fff}.input{flex:1;color:#fff;-webkit-text-fill-color:#ffffff;width:50px;height:80%;font-size:.75rem;background:transparent;text-align:center;font-weight:700;border:0px solid;-moz-appearance:textfield}.fp_side-bar{cursor:default;top:calc(var(--header-height) + 18px);left:calc(var(--panel-width) + 18px);box-shadow:#0000000d 0 0 10px;border-bottom:none;display:flex;min-width:300px;min-height:calc(50% - 162px);max-height:calc(100% - 162px);align-self:start;background-color:#fff;flex-flow:column nowrap;overflow-y:auto;overflow-x:visible;gap:18px;border-radius:12px;box-shadow:0 2px 3px 1px #0000001a;z-index:1000;touch-action:manipulation}.fp-sidebar-label-prefix{display:block;line-height:1;font-weight:400;font-size:11px;min-height:11px;color:#747474;z-index:1}.fp-sidebar-label{display:block;line-height:1.1;font-weight:700;color:var(--icon-color);font-size:17.6px;z-index:1}.fp-highlight{display:grid;grid-auto-flow:row;gap:12px;background-color:#f4f4f4;width:calc(100% + 36px);transform:translate(-18px);padding:18px}.fp-aspect-ratio-container{border-radius:4px;overflow:hidden;position:relative}.fp-aspect-ratio-container:before{content:"";padding-bottom:100%;display:block}.fp-aspect-ratio-content{position:absolute;top:0;left:0;right:0;bottom:0}.fp-item-image{display:block;height:100%;width:100%;-o-object-fit:contain;object-fit:contain;background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:none}.projectName__fp{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--header-project-name)}.react-tabs__tab-list{margin-bottom:16px;border-bottom:unset}.react-tabs__tab--selected,.react-tabs__tab:focus{background:#2b2b2b;color:#fff;border-color:transparent}.color-field{padding:6px!important;display:flex!important;background:var(--properties-input-background);border:1px solid var(--properties-input-border)!important;border-radius:5px!important;width:100%!important;height:35px;align-items:center}.color-field .dropdown-content{padding-top:0!important;padding-bottom:0!important}.colorBox{border-radius:5px!important;border:1px solid #5e5e5e!important}.colorFieldInput{font-weight:700!important;font-size:.75rem!important;background:transparent!important;border:0px solid!important;text-transform:uppercase;width:100%}.colorFieldInput:focus{outline:none!important}.fp__onoffswitch{position:relative;width:28px;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:16px}.fp__onoffswitch_label-checked{background-color:var(--dark-blue)}.fp__onoffswitch_label{display:block;overflow:hidden;cursor:pointer;border-radius:20px;border:1px solid rgba(0,0,0,0);height:100%;width:100%}.fp__onoffswitch_switch{display:block;width:16px;height:16px;background:#fff;position:absolute;bottom:0;right:11px;border-radius:20px;transition:all .2s ease-in 0s;box-shadow:0 0 4px #bbb}.fp__onoffswitch_inner{display:block;height:16px;width:56px;transform:translate(-28px);transition:transform .2s ease-in 0s}.fp__onoffswitch_inner:before,.fp__onoffswitch_inner:after{content:"";display:block;float:left;width:28px;height:16px;background-color:#e8e8e8;padding:0;line-height:30px;font-size:10px;color:#fff}.fp__onoffswitch_label .fp__onoffswitch_inner:before{background-color:var(--dark-blue)}.fp__onoffswitch_inner:before{background-color:var(--dark-blue);transition:background-color .25s ease}.fp__onoffswitch_caption{color:#747474;font-size:14px;font-weight:500;margin-left:10px;transition:color .1s linear;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fp__onoffswitch_label-checked .fp__onoffswitch_switch{border-color:var(--dark-blue);right:0;background-color:#fff}.fp__onoffswitch_label-checked .fp__onoffswitch_inner{transform:translate(0)}.floor_planner-container{height:100%;padding-top:var(--header-height)}
|