@bimdata/design-system 1.2.0-rc.6 → 1.2.0-rc.7
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/css/design-system.css +69 -69
- package/dist/js/BIMDataComponents/BIMDataLoading.js +1 -1
- package/dist/js/BIMDataComponents/BIMDataText.js +1 -1
- package/dist/js/BIMDataComponents/index.js +1 -1
- package/dist/js/BIMDataComponents/vue3/BIMDataLoading.js +1 -1
- package/dist/js/BIMDataComponents/vue3/BIMDataText.js +1 -1
- package/dist/js/BIMDataSmartComponents/BIMDataFileManager.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{openBlock as n,createBlock as o,resolveDynamicComponent as t,withCtx as r,renderSlot as e,pushScopeId as a,popScopeId as i,resolveComponent as
|
|
1
|
+
import{openBlock as n,createBlock as o,resolveDynamicComponent as t,withCtx as r,renderSlot as e,pushScopeId as a,popScopeId as i,resolveComponent as s,createVNode as l,withScopeId as c}from"vue";var p={props:{component:{type:String,default:"p"},display:{type:String,default:"inline-block"},fontSize:{type:String},fontWeight:{type:String},lineHeight:{type:String},margin:{type:String,default:"0px"},padding:{type:String,default:"0px"},color:{type:String,default:"color-granite-light",validator:n=>["color-primary","color-secondary","color-silver","color-silver-light","color-silver-dark","color-granite-light","color-granite","color-white","color-black","color-high","color-warning","color-success"].includes(n)}},computed:{classes(){return""+this.color},style(){return{fontSize:""+this.calcFontSize,lineHeight:""+this.calcLineHeight,display:""+this.display,fontWeight:""+this.calcFontWeight,margin:""+this.margin,padding:""+this.padding}},calcFontSize(){return this.fontSize?this.fontSize:"h1"===this.component?"30px":"h2"===this.component?"26px":"h3"===this.component?"24px":"h4"===this.component?"20px":"h5"===this.component?"16px":"14px"},calcFontWeight(){return this.fontWeight?this.fontWeight:"h1"===this.component||"h2"===this.component?"700":"h3"===this.component||"h4"===this.component||"h5"===this.component?"500":"400"},calcLineHeight(){return this.lineHeight?this.lineHeight:"h1"===this.component?"36px":"h2"===this.component?"30px":"h3"===this.component?"26px":"h4"===this.component?"24px":"h5"===this.component?"20px":"18px"}}};p.render=function(a,i,s,l,c,p){return n(),o(t(s.component),{style:p.style,class:p.classes},{default:r(()=>[e(a.$slots,"default")]),_:3},8,["style","class"])},p.__file="src/BIMDataComponents/BIMDataText/BIMDataText.vue";var g={components:{BIMDataText:p}};const h=c("data-v-6d3be186");a("data-v-6d3be186");const d={class:"bimdata-loading"},x=l("span",{class:"bimdata-loading--square"},null,-1),b=l("span",null,"loading...",-1);i();const m=h((t,r,e,a,i,c)=>{const p=s("BIMDataText");return n(),o("div",d,[x,l(p,{color:"color-white",margin:"12px 0 0"},{default:h(()=>[b]),_:1})])});function w(n,o){void 0===o&&(o={});var t=o.insertAt;if(n&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style");e.type="text/css","top"===t&&r.firstChild?r.insertBefore(e,r.firstChild):r.appendChild(e),e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}}w('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-6d3be186] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}');w('@-webkit-keyframes bimdataloading {\n0% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n20% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n40% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n60% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n80% {\n -webkit-box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n}\n100% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n}\n@keyframes bimdataloading {\n0% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n20% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n40% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n60% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n80% {\n -webkit-box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n}\n100% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n}\n.bimdata-loading {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n color: var(--color-white);\n font-family: var(--primary-font);\n z-index: 2;\n}\n.bimdata-loading::after {\n content: " ";\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: var(--color-primary);\n opacity: 0.9;\n z-index: -1;\n}\n.bimdata-loading--square {\n width: 20px;\n height: 20px;\n position: relative;\n border: 2px var(--color-white) solid;\n -webkit-animation: bimdataloading 1.4s linear infinite;\n animation: bimdataloading 1.4s linear infinite;\n}\n.bimdata-loading--text {\n margin-top: 12px;\n display: block;\n}'),g.render=m,g.__scopeId="data-v-6d3be186",g.__file="src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue";export{g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{openBlock as t,createBlock as e,resolveDynamicComponent as i,withCtx as o,renderSlot as n}from"vue";var
|
|
1
|
+
import{openBlock as t,createBlock as e,resolveDynamicComponent as i,withCtx as o,renderSlot as n}from"vue";var h={props:{component:{type:String,default:"p"},display:{type:String,default:"inline-block"},fontSize:{type:String},fontWeight:{type:String},lineHeight:{type:String},margin:{type:String,default:"0px"},padding:{type:String,default:"0px"},color:{type:String,default:"color-granite-light",validator:t=>["color-primary","color-secondary","color-silver","color-silver-light","color-silver-dark","color-granite-light","color-granite","color-white","color-black","color-high","color-warning","color-success"].includes(t)}},computed:{classes(){return""+this.color},style(){return{fontSize:""+this.calcFontSize,lineHeight:""+this.calcLineHeight,display:""+this.display,fontWeight:""+this.calcFontWeight,margin:""+this.margin,padding:""+this.padding}},calcFontSize(){return this.fontSize?this.fontSize:"h1"===this.component?"30px":"h2"===this.component?"26px":"h3"===this.component?"24px":"h4"===this.component?"20px":"h5"===this.component?"16px":"14px"},calcFontWeight(){return this.fontWeight?this.fontWeight:"h1"===this.component||"h2"===this.component?"700":"h3"===this.component||"h4"===this.component||"h5"===this.component?"500":"400"},calcLineHeight(){return this.lineHeight?this.lineHeight:"h1"===this.component?"36px":"h2"===this.component?"30px":"h3"===this.component?"26px":"h4"===this.component?"24px":"h5"===this.component?"20px":"18px"}}};h.render=function(h,s,r,c,l,p){return t(),e(i(r.component),{style:p.style,class:p.classes},{default:o(()=>[n(h.$slots,"default")]),_:3},8,["style","class"])},h.__file="src/BIMDataComponents/BIMDataText/BIMDataText.vue";export{h as default};
|