@postnord/pn-marketweb-components 2.0.61 → 2.0.62
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/cjs/loader.cjs.js +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -3
- package/cjs/pn-profile-modal-type.cjs.entry.js +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +7 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +4 -3
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.stories.js +5541 -292
- package/custom-elements/index.js +6 -5
- package/esm/loader.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-profile-modal-profile.entry.js +4 -3
- package/esm/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-101ae585.entry.js +1 -0
- package/pn-market-web-components/p-1598e044.system.entry.js +1 -0
- package/pn-market-web-components/{p-c9f92707.system.entry.js → p-2737bc18.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-bb751773.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/umd/pn-marketweb-salesforce.js +2 -2
- package/pn-market-web-components/p-61c19b8b.system.entry.js +0 -1
- package/pn-market-web-components/p-7d75397b.entry.js +0 -1
- package/pn-market-web-components/p-ac715146.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,e,h as o,a as t,g as l}from"./p-58e8d7d5.js";import{s as r}from"./p-9344cd23.js";import"./p-86f06e26.js";let a=class{constructor(o){i(this,o),this.urlSelected=e(this,"urlSelected",7),this.showCustomerNumbersEvent=e(this,"showCustomerNumbersEvent",7),this.heading=null,this.description=null,this.url=null,this.selected=!1,this.showCustomerNumbers=!1,this.pleaseSelectText="",this.visible=!1,this.identifier=""}componentWillLoad(){this.identifier=this.heading+this.url}onProfileOptionClick(){this.selected=!0,this.url?this.urlSelected.emit(this.url):(this.showCustomerNumbers=!0,r.selectedProfile=this.identifier)}render(){return o(t,null,o("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!r.selectedProfile+""},o("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},o("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),o("div",{class:"pn-profile-modal-profile-details","aria-hidden":!this.showCustomerNumbers+""},o("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:()=>{this.showCustomerNumbers=!1,r.selectedProfile=""}},r.i18n.toText," ",r.selectedType),o("div",{class:"pn-profile-modal-profile-details-company"},o("div",{class:"pn-profile-modal-profile-details-label"},r.i18n.choosenCompanyText),o("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),o("div",{class:"pn-profile-modal-profile-details-list"},o("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),o("slot",null))))}get hostElement(){return l(this)}};a.style=".pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}";export{a as pn_profile_modal_profile}
|