@ptcwebops/ptcw-design 1.9.6 → 2.0.0

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 (26) hide show
  1. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
  2. package/dist/cjs/icon-asset_5.cjs.entry.js +1 -1
  3. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  4. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +2 -2
  5. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  6. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +3 -1
  7. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +4 -0
  8. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +16 -1
  9. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +1 -1
  10. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +1 -1
  11. package/dist/collection/components/ptc-title/ptc-title.css +3 -2
  12. package/dist/custom-elements/index.js +6 -6
  13. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  14. package/dist/esm/icon-asset_5.entry.js +1 -1
  15. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  16. package/dist/esm/ptc-dynamic-card.entry.js +2 -2
  17. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  18. package/dist/ptcw-design/{p-cc2a4169.entry.js → p-1b7841bd.entry.js} +1 -1
  19. package/dist/ptcw-design/{p-564f58cf.entry.js → p-2d799741.entry.js} +1 -1
  20. package/dist/ptcw-design/p-3f6b95bb.entry.js +1 -0
  21. package/dist/ptcw-design/{p-676c344f.entry.js → p-dedaf951.entry.js} +1 -1
  22. package/dist/ptcw-design/{p-a9eaabae.entry.js → p-e865c958.entry.js} +1 -1
  23. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  24. package/package.json +1 -1
  25. package/readme.md +1 -1
  26. package/dist/ptcw-design/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Niw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
2
 
3
- # PTC Design 1.9.6
3
+ # PTC Design 2.0.0
4
4
  The site is the place for documentation on PTC Design System
5
5
 
6
6
  ## Building the Site
@@ -1 +0,0 @@
1
- import{r as t,g as e,h as i,H as s,a}from"./p-63c06667.js";const c=class{constructor(i){t(this,i),this.dotSvg=e("./media/nav-active-dotslick.svg"),this.cardType="sequential",this.cardTitle="Card Title Goes Here",this.cardImgSrc=void 0,this.cardImgAlt=void 0,this.cardScreen="desktop",this.isExpanded=void 0,this.overlayExists=!0}getDesktopCard(){return"desktop"===this.cardScreen&&this.isExpanded?[i("div",{class:"card card-dt-open"},i("ptc-card-content",{"card-type":"card-dynamic"},i("div",{class:"card-title"},i("h3",null,this.cardTitle)),i("div",{class:"card-content"},i("slot",null))),i("ptc-picture",{alt:this.cardImgAlt,src:this.cardImgSrc,"is-full-height":"true","image-alignment":"center"}))]:"desktop"!==this.cardScreen||this.isExpanded?null:[i("div",{class:"card card-dt-closed"},i("ptc-picture",{alt:this.cardImgAlt,src:this.cardImgSrc,"image-position":"relative","is-full-width":!0,height:"424"},i("ptc-overlay",this.overlayExists?{"filter-color":"black-3"}:{"filter-color":"black-2"})),i("div",{class:"closed-content","card-type":"card-dynamic"},i("div",{class:"card-title"},i("h2",null,this.cardTitle))))]}componentDidLoad(){this.el.addEventListener("mouseenter",(()=>this.overlayExists=!1)),this.el.addEventListener("mouseleave",(()=>this.overlayExists=!0))}render(){const t=this.getCssClassMap();return i(s,{class:t},i("div",{class:"card-wrapper"},"mobile"==this.cardScreen?i("div",{class:"card card-mobile"},i("ptc-picture",{alt:this.cardImgAlt,src:this.cardImgSrc}),i("ptc-card-content",{"card-type":"card-dynamic",styles:":host(.card-dynamic){height: 303px;}"},i("div",{class:"card-title"},i("h3",null,this.cardTitle)),i("div",{class:"card-content"},i("slot",null)))):this.getDesktopCard()),"desktop"===this.cardScreen&&i("div",{hidden:!0},i("svg",null,i("use",{href:`${this.dotSvg}`}))))}getCssClassMap(){return{[this.cardType]:!0}}static get assetsDirs(){return["media"]}get el(){return a(this)}};c.style=":host{display:block}:host(.sequential) .card-wrapper{position:relative;cursor:pointer}:host(.sequential) .card{background-color:var(--color-gray-12);overflow:hidden}:host(.sequential) .card-mobile,:host(.sequential) .card-dt-open{display:block;border-top:5px solid var(--color-green-05)}:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{display:flex;flex-basis:38%;justify-content:center;align-items:center;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06)}@media only screen and (min-width: 1440px){:host(.sequential) .card-mobile ptc-card-content,:host(.sequential) .card-dt-open ptc-card-content{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}:host(.sequential) .card-mobile ptc-picture,:host(.sequential) .card-dt-open ptc-picture{flex-basis:62%}:host(.sequential) .card-mobile .card-title h3,:host(.sequential) .card-dt-open .card-title h3{color:var(--color-white);font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal)}:host(.sequential) .card-mobile .card-content,:host(.sequential) .card-dt-open .card-content{margin-top:var(--ptc-element-spacing-03)}:host(.sequential) .card-mobile{width:350px;min-width:226px}:host(.sequential) .card-dt-closed{width:135px;height:424px;position:relative}:host(.sequential) .card-dt-closed .closed-content{position:absolute;width:100%;height:100%;top:0;display:flex;align-items:center;justify-content:center}:host(.sequential) .card-dt-closed .card-title{text-align:center}:host(.sequential) .card-dt-closed .card-title h2{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin-bottom:0rem;margin-block-start:0rem;letter-spacing:var(--ptc-letter-spacing-normal);padding-left:var(--ptc-element-spacing-03);padding-right:var(--ptc-element-spacing-03)}@media only screen and (min-width: 1440px){:host(.sequential) .card-dt-closed .card-title h2{font-size:var(--ptc-font-size-small)}}:host(.sequential) .card-dt-open{display:flex;width:45vw;height:480px;transition:width var(--ptc-transition-x-fast) var(--ptc-ease-out)}";export{c as ptc_dynamic_card}