@bimdata/design-system 0.3.16 → 0.3.20-rc.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.
Files changed (32) hide show
  1. package/README.md +49 -1
  2. package/dist/css/design-system.css +1 -1
  3. package/dist/js/BIMDataComponents/BIMDataDropdownList.js +1 -1
  4. package/dist/js/BIMDataComponents/BIMDataDropdownMenu.js +1 -1
  5. package/dist/js/BIMDataComponents/BIMDataIcon.js +1 -1
  6. package/dist/js/BIMDataComponents/BIMDataInput.js +1 -1
  7. package/dist/js/BIMDataComponents/BIMDataLoading.js +1 -1
  8. package/dist/js/BIMDataComponents/BIMDataNavigation.js +1 -1
  9. package/dist/js/BIMDataComponents/BIMDataPaginatedList.js +1 -1
  10. package/dist/js/BIMDataComponents/BIMDataSearch.js +1 -1
  11. package/dist/js/BIMDataComponents/BIMDataSelect.js +1 -1
  12. package/dist/js/BIMDataComponents/BIMDataTable.js +1 -1
  13. package/dist/js/BIMDataComponents/BIMDataTabs.js +1 -1
  14. package/dist/js/BIMDataComponents/BIMDataText.js +1 -1
  15. package/dist/js/BIMDataComponents/BIMDataToggle.js +1 -1
  16. package/dist/js/BIMDataComponents/BIMDataTooltip.js +1 -1
  17. package/dist/js/BIMDataComponents/index.js +1 -1
  18. package/dist/js/BIMDataComponents/vue3/BIMDataDropdownList.js +1 -1
  19. package/dist/js/BIMDataComponents/vue3/BIMDataDropdownMenu.js +1 -1
  20. package/dist/js/BIMDataComponents/vue3/BIMDataIcon.js +1 -1
  21. package/dist/js/BIMDataComponents/vue3/BIMDataInput.js +1 -1
  22. package/dist/js/BIMDataComponents/vue3/BIMDataLoading.js +1 -1
  23. package/dist/js/BIMDataComponents/vue3/BIMDataNavigation.js +1 -1
  24. package/dist/js/BIMDataComponents/vue3/BIMDataPaginatedList.js +1 -1
  25. package/dist/js/BIMDataComponents/vue3/BIMDataSearch.js +1 -1
  26. package/dist/js/BIMDataComponents/vue3/BIMDataSelect.js +1 -1
  27. package/dist/js/BIMDataComponents/vue3/BIMDataTable.js +1 -1
  28. package/dist/js/BIMDataComponents/vue3/BIMDataTabs.js +1 -1
  29. package/dist/js/BIMDataComponents/vue3/BIMDataText.js +1 -1
  30. package/dist/js/BIMDataComponents/vue3/BIMDataToggle.js +1 -1
  31. package/dist/js/BIMDataComponents/vue3/BIMDataTooltip.js +1 -1
  32. package/package.json +12 -3
@@ -1 +1 @@
1
- import{openBlock as t,createBlock as e,renderSlot as i}from"vue";var o={props:{component:{type:String,default:"p"},display:{type:String,default:"inline-block"},fontSize:{type:String},fontWeight:{type:String,default:"primary-font"},lineHeight:{type:String},margin:{type:String,default:"0px"},padding:{type:String,default:"0px"},color:{type:String,default:"color-tertiary-dark",validator:t=>["color-primary","color-secondary","color-tertiary","color-tertiary-lightest","color-tertiary-dark","color-tertiary-darkest","color-white","color-black","color-high","color-warning","color-success","color-neutral","color-disabled"].includes(t)}},computed:{classes(){return{[""+this.color]:this.color,[""+this.fontWeight]:this.fontWeight}},style(){return{"font-size":""+this.calcFontSize,"line-height":""+this.calcLineHeight,display:""+this.display,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"},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"}}};o.render=function(o,n,r,s,l,c){return t(),e("div",{is:r.component,style:c.style,class:c.classes},[i(o.$slots,"default")],14,["is"])},o.__file="src/BIMDataComponents/BIMDataText/BIMDataText.vue";export default o;
1
+ import{openBlock as t,createBlock as e,resolveDynamicComponent as i,withCtx as o,renderSlot as n}from"vue";var r={props:{component:{type:String,default:"p"},display:{type:String,default:"inline-block"},fontSize:{type:String},fontWeight:{type:String,default:"primary-font"},lineHeight:{type:String},margin:{type:String,default:"0px"},padding:{type:String,default:"0px"},color:{type:String,default:"color-tertiary-dark",validator:t=>["color-primary","color-secondary","color-tertiary","color-tertiary-lightest","color-tertiary-dark","color-tertiary-darkest","color-white","color-black","color-high","color-warning","color-success","color-neutral","color-disabled"].includes(t)}},computed:{classes(){return{[""+this.color]:this.color,[""+this.fontWeight]:this.fontWeight}},style(){return{"font-size":""+this.calcFontSize,"line-height":""+this.calcLineHeight,display:""+this.display,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"},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"}}};r.render=function(r,l,s,a,c,p){return t(),e(i(s.component),{style:p.style,class:p.classes},{default:o(()=>[n(r.$slots,"default")]),_:3},8,["style","class"])},r.__file="src/BIMDataComponents/BIMDataText/BIMDataText.vue";export default r;
@@ -1 +1 @@
1
- import{openBlock as e,createBlock as t,renderSlot as n,withDirectives as o,createVNode as a,vModelCheckbox as l}from"vue";let i=0;var s={model:{prop:"modelValue",event:"update:modelValue"},props:{disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],computed:{checkedValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},beforeCreate(){this.uuid=i.toString(),i+=1}};const d=a("span",{class:"toggle__switch"},null,-1);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n.toggle__button {\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n.toggle__button > div {\n display: inline-block;\n}\n.toggle__button input[type=checkbox] {\n opacity: 0;\n position: absolute;\n width: 1px;\n height: 1px;\n}\n.toggle__button .toggle__switch {\n display: inline-block;\n height: 11px;\n border-radius: 10px;\n width: 24px;\n background: rgba(193, 193, 193, 0.39);\n position: relative;\n margin: 0 16px;\n -webkit-transition: all 0.25s;\n transition: all 0.25s;\n}\n.toggle__button .toggle__switch::after {\n content: "";\n position: absolute;\n display: block;\n width: 15px;\n height: 15px;\n border-radius: 50%;\n left: -5px;\n top: -2px;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n -webkit-transition: all 0.25s cubic-bezier(0.5, -0.6, 0.5, 1.6);\n transition: all 0.25s cubic-bezier(0.5, -0.6, 0.5, 1.6);\n}\n.toggle__button .toggle__switch::after {\n background: white;\n -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n}\n.toggle__button.active .toggle__switch {\n -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n}\n.toggle__button.active .toggle__switch::after {\n left: 0;\n background: #2f374a;\n -webkit-box-shadow: 0 0 1px #2f374a;\n box-shadow: 0 0 1px #2f374a;\n -webkit-transform: translateX(16px);\n transform: translateX(16px);\n}\n.toggle__button.active.disabled .toggle__switch::after {\n background-color: #95989a;\n border: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.toggle__button.disabled {\n cursor: default;\n}\n.toggle__button.disabled span {\n color: #bdbdbd;\n}\n.toggle__button.disabled .toggle__switch::after {\n border: 1px solid #95989a;\n -webkit-box-shadow: none;\n box-shadow: none;\n}'),s.render=function(i,s,r,b,u,g){return e(),t("label",{for:"bimdata-toggle-"+i.uuid,class:[{active:r.modelValue,disabled:r.disabled},"toggle__button"]},[n(i.$slots,"default"),o(a("input",{type:"checkbox",disabled:r.disabled,id:"bimdata-toggle-"+i.uuid,"onUpdate:modelValue":s[1]||(s[1]=e=>g.checkedValue=e)},null,8,["disabled","id"]),[[l,g.checkedValue]]),d,n(i.$slots,"right")],10,["for"])},s.__file="src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue";export default s;
1
+ import{openBlock as e,createBlock as t,renderSlot as n,withDirectives as o,createVNode as a,vModelCheckbox as l}from"vue";var s={model:{prop:"modelValue",event:"update:modelValue"},props:{disabled:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],computed:{checkedValue:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}}};const i=a("span",{class:"toggle__switch"},null,-1);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n.toggle__button {\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n cursor: pointer;\n}\n.toggle__button > div {\n display: inline-block;\n}\n.toggle__button input[type=checkbox] {\n opacity: 0;\n position: absolute;\n width: 1px;\n height: 1px;\n}\n.toggle__button .toggle__switch {\n display: inline-block;\n height: 11px;\n border-radius: 10px;\n width: 24px;\n background: rgba(193, 193, 193, 0.39);\n position: relative;\n margin: 0 16px;\n -webkit-transition: all 0.25s;\n transition: all 0.25s;\n}\n.toggle__button .toggle__switch::after {\n content: "";\n position: absolute;\n display: block;\n width: 15px;\n height: 15px;\n border-radius: 50%;\n left: -5px;\n top: -2px;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n -webkit-transition: all 0.25s cubic-bezier(0.5, -0.6, 0.5, 1.6);\n transition: all 0.25s cubic-bezier(0.5, -0.6, 0.5, 1.6);\n}\n.toggle__button .toggle__switch::after {\n background: white;\n -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n}\n.toggle__button.active .toggle__switch {\n -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.15);\n}\n.toggle__button.active .toggle__switch::after {\n left: 0;\n background: #2f374a;\n -webkit-box-shadow: 0 0 1px #2f374a;\n box-shadow: 0 0 1px #2f374a;\n -webkit-transform: translateX(16px);\n transform: translateX(16px);\n}\n.toggle__button.active.disabled .toggle__switch::after {\n background-color: #95989a;\n border: none;\n -webkit-box-shadow: none;\n box-shadow: none;\n}\n.toggle__button.disabled {\n cursor: default;\n}\n.toggle__button.disabled span {\n color: #bdbdbd;\n}\n.toggle__button.disabled .toggle__switch::after {\n border: 1px solid #95989a;\n -webkit-box-shadow: none;\n box-shadow: none;\n}'),s.render=function(s,d,r,b,g,u){return e(),t("label",{for:"bimdata-toggle-"+s._uid,class:[{active:r.modelValue,disabled:r.disabled},"toggle__button"]},[n(s.$slots,"default"),o(a("input",{type:"checkbox",disabled:r.disabled,id:"bimdata-toggle-"+s._uid,"onUpdate:modelValue":d[1]||(d[1]=e=>u.checkedValue=e)},null,8,["disabled","id"]),[[l,u.checkedValue]]),i,n(s.$slots,"right")],10,["for"])},s.__file="src/BIMDataComponents/BIMDataToggle/BIMDataToggle.vue";export default s;
@@ -1 +1 @@
1
- import{pushScopeId as t,popScopeId as e,openBlock as n,createBlock as o,createVNode as a,renderSlot as i,toDisplayString as r,createCommentVNode as s,withScopeId as l}from"vue";var p={name:"BaseTooltip",props:{message:{type:String,default:null},className:{type:[String,Array],required:!0}},data:()=>({width:null,height:null,parentHeight:null,isTooltipHover:!1}),computed:{isDisplayed(){return this.message&&this.isTooltipHover}},watch:{isDisplayed(){this.isDisplayed?this.$nextTick(()=>this.$options.resizeObserver.observe(this.$refs.tooltipText)):this.$options.resizeObserver.unobserve(this.$refs.tooltipText)}},mounted(){this.$options.resizeObserver=new ResizeObserver(this.onResize)},unmounted(){this.onDestroy()},destroyed(){this.onDestroy()},methods:{onDestroy(){this.$options.resizeObserver&&this.$options.resizeObserver.disconnect()},onResize(t){t.forEach(t=>{this.width=t.target.clientWidth,this.height=t.target.clientHeight,this.parentHeight=t.target.offsetParent.clientHeight})},getPosition(){if(this.className){if(this.className.includes("bimdata-tooltip--left"))return{right:-this.width-12+"px",top:(this.parentHeight-this.height)/2+"px"};if(this.className.includes("bimdata-tooltip--right"))return{left:-this.width-12+"px",top:(this.parentHeight-this.height)/2+"px"};if(this.className.includes("bimdata-tooltip--bottom"))return{top:this.parentHeight+12+"px"};if(this.className.includes("bimdata-tooltip--up"))return{top:-this.height-12+"px"}}}}};const d=l("data-v-41eb8f46");t("data-v-41eb8f46");const m={class:"bimdata-tooltip"};e();const b=d((t,e,l,p,d,b)=>(n(),o("div",m,[a("div",{class:"bimdata-tooltip__content",onMouseover:e[1]||(e[1]=t=>d.isTooltipHover=!0),onMouseleave:e[2]||(e[2]=t=>d.isTooltipHover=!1)},[i(t.$slots,"content")],32),b.isDisplayed?(n(),o("span",{key:0,ref:"tooltipText",class:["bimdata-tooltip__text",l.className],style:b.getPosition()},r(l.message),7)):s("v-if",!0)])));function f(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}f('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n.text-left[data-v-41eb8f46] {\n text-align: left;\n}\n.text-center[data-v-41eb8f46] {\n text-align: center;\n}\n.text-right[data-v-41eb8f46] {\n text-align: right;\n}\n.bimdata-link[data-v-41eb8f46] {\n color: #2f374a;\n border-bottom: 1px solid #2f374a;\n font-weight: bold;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-41eb8f46] {\n font-family: "robotoregular", sans-serif;\n}\n.primary-font-medium[data-v-41eb8f46] {\n font-family: "robotomedium", sans-serif;\n}\n.primary-font-bold[data-v-41eb8f46] {\n font-family: "robotobold", sans-serif;\n}');f('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n@-webkit-keyframes fadeIn {\n0% {\n opacity: 0;\n}\n50% {\n opacity: 1;\n}\n}\n@keyframes fadeIn {\n0% {\n opacity: 0;\n}\n50% {\n opacity: 1;\n}\n}\n@-webkit-keyframes fadeOut {\n0% {\n opacity: 1;\n}\n50% {\n opacity: 0;\n}\n}\n@keyframes fadeOut {\n0% {\n opacity: 1;\n}\n50% {\n opacity: 0;\n}\n}\n@-webkit-keyframes scale-up-center {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes scale-up-center {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.bimdata-tooltip {\n position: relative;\n font-family: "robotoregular", sans-serif;\n font-size: 1em;\n}\n.bimdata-tooltip__text {\n padding: 0 6px;\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n height: 21px;\n min-width: 56px;\n position: absolute;\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 border-radius: 3px;\n color: white;\n line-height: 25px;\n opacity: 0;\n text-align: center;\n word-wrap: break-word;\n font-size: 0.7857142857em;\n z-index: 2;\n}\n.bimdata-tooltip__text::first-letter {\n text-transform: capitalize;\n}\n.bimdata-tooltip--arrow {\n height: 28px;\n line-height: 28px;\n font-size: 0.8571428571em;\n}\n.bimdata-tooltip--arrow::before {\n content: "";\n display: block;\n position: absolute;\n top: calc((28px - 8px) / 2);\n border-style: solid;\n border-width: 0 0 8px 8px;\n}\n.bimdata-tooltip--left::before {\n left: -4px;\n right: auto;\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n.bimdata-tooltip--right::before {\n right: -4px;\n left: auto;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.bimdata-tooltip--up, .bimdata-tooltip--bottom {\n left: 50%;\n -webkit-transform: translate(-50%);\n transform: translate(-50%);\n line-height: 1.5;\n}\n.bimdata-tooltip--up::before {\n bottom: -6px;\n left: 50%;\n -webkit-transform: rotate(44deg);\n transform: rotate(44deg);\n -webkit-transform-origin: center;\n transform-origin: center;\n}\n.bimdata-tooltip--bottom::before {\n top: -4px;\n left: 47%;\n -webkit-transform: rotate(-135deg);\n transform: rotate(-135deg);\n}\n.bimdata-tooltip--primary {\n background-color: #2f374a;\n}\n.bimdata-tooltip--primary.bimdata-tooltip--arrow::before {\n border-color: transparent transparent #2f374a;\n}\n.bimdata-tooltip--grey {\n background-color: #7a7a7a;\n}\n.bimdata-tooltip--grey.bimdata-tooltip--arrow::before {\n border-color: transparent transparent #7a7a7a;\n}\n.bimdata-tooltip__content:hover {\n cursor: pointer;\n}\n.bimdata-tooltip__content:hover ~ .bimdata-tooltip__text {\n opacity: 1;\n}'),p.render=b,p.__scopeId="data-v-41eb8f46",p.__file="src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";export default p;
1
+ import{pushScopeId as t,popScopeId as e,openBlock as n,createBlock as o,createVNode as a,renderSlot as i,toDisplayString as r,createCommentVNode as s,withScopeId as l}from"vue";var p={name:"BaseTooltip",props:{message:{type:String,default:null},className:{type:[String,Array],required:!0}},data:()=>({width:null,height:null,parentHeight:null,isTooltipHover:!1}),computed:{isDisplayed(){return this.message&&this.isTooltipHover}},watch:{isDisplayed(){this.isDisplayed?this.$nextTick(()=>this.$options.resizeObserver.observe(this.$refs.tooltipText)):this.$options.resizeObserver.unobserve(this.$refs.tooltipText)}},mounted(){this.$options.resizeObserver=new ResizeObserver(this.onResize)},unmounted(){this.onDestroy()},destroyed(){this.onDestroy()},methods:{onDestroy(){this.$options.resizeObserver&&this.$options.resizeObserver.disconnect()},onResize(t){t.forEach(t=>{this.width=t.target.clientWidth,this.height=t.target.clientHeight,this.parentHeight=t.target.offsetParent.clientHeight})},getPosition(){if(this.className){if(this.className.includes("bimdata-tooltip--left"))return{right:-this.width-12+"px",top:(this.parentHeight-this.height)/2+"px"};if(this.className.includes("bimdata-tooltip--right"))return{left:-this.width-12+"px",top:(this.parentHeight-this.height)/2+"px"};if(this.className.includes("bimdata-tooltip--bottom"))return{top:this.parentHeight+12+"px"};if(this.className.includes("bimdata-tooltip--up"))return{top:-this.height-12+"px"}}}}};const d=l("data-v-41eb8f46");t("data-v-41eb8f46");const m={class:"bimdata-tooltip"};e();const b=d((t,e,l,p,d,b)=>(n(),o("div",m,[a("div",{class:"bimdata-tooltip__content",onMouseover:e[1]||(e[1]=t=>d.isTooltipHover=!0),onMouseleave:e[2]||(e[2]=t=>d.isTooltipHover=!1)},[i(t.$slots,"content")],32),b.isDisplayed?(n(),o("span",{key:0,ref:"tooltipText",class:["bimdata-tooltip__text",l.className],style:b.getPosition()},r(l.message),7)):s("v-if",!0)])));function f(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}}f('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n.text-left[data-v-41eb8f46] {\n text-align: left;\n}\n.text-center[data-v-41eb8f46] {\n text-align: center;\n}\n.text-right[data-v-41eb8f46] {\n text-align: right;\n}\n.bimdata-link[data-v-41eb8f46] {\n color: #2f374a;\n border-bottom: 1px solid #2f374a;\n font-weight: bold;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-41eb8f46] {\n font-family: "robotoregular", sans-serif;\n}\n.primary-font-medium[data-v-41eb8f46] {\n font-family: "robotomedium", sans-serif;\n}\n.primary-font-bold[data-v-41eb8f46] {\n font-family: "robotobold", sans-serif;\n}');f('/* base COLORS --------------------------------------------- */\n/* brand colors */\n/* variant colors */\n/* common colors */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\n@-webkit-keyframes fadeIn {\n0% {\n opacity: 0;\n}\n50% {\n opacity: 1;\n}\n}\n@keyframes fadeIn {\n0% {\n opacity: 0;\n}\n50% {\n opacity: 1;\n}\n}\n@-webkit-keyframes fadeOut {\n0% {\n opacity: 1;\n}\n50% {\n opacity: 0;\n}\n}\n@keyframes fadeOut {\n0% {\n opacity: 1;\n}\n50% {\n opacity: 0;\n}\n}\n@-webkit-keyframes scale-up-center {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n@keyframes scale-up-center {\n0% {\n -webkit-transform: scale(0.5);\n transform: scale(0.5);\n}\n100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n}\n.bimdata-tooltip {\n position: relative;\n font-family: "robotoregular", sans-serif;\n font-size: 1em;\n}\n.bimdata-tooltip__text {\n padding: 0 6px;\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n height: 21px;\n min-width: 56px;\n position: absolute;\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 border-radius: 3px;\n color: white;\n line-height: 25px;\n opacity: 0;\n text-align: center;\n word-wrap: break-word;\n font-size: 0.7857142857em;\n z-index: 2;\n}\n.bimdata-tooltip__text::first-letter {\n text-transform: capitalize;\n}\n.bimdata-tooltip--arrow {\n height: 28px;\n line-height: 28px;\n font-size: 0.8571428571em;\n}\n.bimdata-tooltip--arrow::before {\n content: "";\n display: block;\n position: absolute;\n top: 10px;\n border-style: solid;\n border-width: 0 0 8px 8px;\n}\n.bimdata-tooltip--left::before {\n left: -4px;\n right: auto;\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n.bimdata-tooltip--right::before {\n right: -4px;\n left: auto;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.bimdata-tooltip--up, .bimdata-tooltip--bottom {\n left: 50%;\n -webkit-transform: translate(-50%);\n transform: translate(-50%);\n line-height: 1.5;\n}\n.bimdata-tooltip--up::before {\n bottom: -6px;\n left: 50%;\n -webkit-transform: rotate(44deg);\n transform: rotate(44deg);\n -webkit-transform-origin: center;\n transform-origin: center;\n}\n.bimdata-tooltip--bottom::before {\n top: -4px;\n left: 47%;\n -webkit-transform: rotate(-135deg);\n transform: rotate(-135deg);\n}\n.bimdata-tooltip--primary {\n background-color: #2f374a;\n}\n.bimdata-tooltip--primary.bimdata-tooltip--arrow::before {\n border-color: transparent transparent #2f374a;\n}\n.bimdata-tooltip--grey {\n background-color: #7a7a7a;\n}\n.bimdata-tooltip--grey.bimdata-tooltip--arrow::before {\n border-color: transparent transparent #7a7a7a;\n}\n.bimdata-tooltip__content:hover {\n cursor: pointer;\n}\n.bimdata-tooltip__content:hover ~ .bimdata-tooltip__text {\n opacity: 1;\n}'),p.render=b,p.__scopeId="data-v-41eb8f46",p.__file="src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";export default p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/design-system",
3
- "version": "0.3.16",
3
+ "version": "0.3.20-rc.1",
4
4
  "main": "./dist/js/BIMDataComponents/index.js",
5
5
  "module": "./dist/js/BIMDataComponents/index.js",
6
6
  "files": [
@@ -15,21 +15,28 @@
15
15
  "build-web": "vue-cli-service build",
16
16
  "build": "rollup -c",
17
17
  "prebuild": "rm -rf dist",
18
- "prepublishOnly": "npm run build"
18
+ "prepublishOnly": "npm run build",
19
+ "semantic-release": "semantic-release"
19
20
  },
20
21
  "devDependencies": {
21
22
  "@babel/preset-env": "^7.10.2",
22
23
  "@rollup/plugin-alias": "^3.1.1",
23
24
  "@rollup/plugin-replace": "^2.3.3",
25
+ "@semantic-release/changelog": "^6.0.1",
26
+ "@semantic-release/commit-analyzer": "^9.0.1",
27
+ "@semantic-release/git": "^10.0.1",
28
+ "@semantic-release/github": "^8.0.2",
29
+ "@semantic-release/npm": "^8.0.3",
30
+ "@semantic-release/release-notes-generator": "^10.0.2",
24
31
  "@vue/cli-plugin-unit-jest": "^4.4.1",
25
32
  "@vue/cli-service": "^4.0.0",
26
33
  "@vue/compiler-sfc": "^3.0.4",
27
34
  "@vue/test-utils": "^1.0.3",
35
+ "conventional-changelog-eslint": "^3.0.9",
28
36
  "eslint": "^7.2.0",
29
37
  "eslint-config-prettier": "^6.11.0",
30
38
  "eslint-plugin-prettier": "^3.1.3",
31
39
  "eslint-plugin-vue": "^6.2.2",
32
- "node-sass": "^4.12.0",
33
40
  "postcss": "^8.2.1",
34
41
  "prettier": "^2.0.5",
35
42
  "prismjs": "^1.19.0",
@@ -40,7 +47,9 @@
40
47
  "rollup-plugin-terser": "^5.3.0",
41
48
  "rollup-plugin-vue2": "npm:rollup-plugin-vue@^5.1.9",
42
49
  "rollup-plugin-vue3": "npm:rollup-plugin-vue@^6.0.0",
50
+ "sass": "^1.42.1",
43
51
  "sass-loader": "^8.0.0",
52
+ "semantic-release": "^18.0.0",
44
53
  "vue": "^2.6.10",
45
54
  "vue-clipboard2": "^0.3.1",
46
55
  "vue-router": "^3.1.3",