@ptcwebops/ptcw-design 0.8.6 → 0.8.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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +27 -0
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card_6.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +50 -0
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +5 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -1
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +28 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +23 -0
- package/dist/esm/ptc-card-bottom.entry.js +1 -1
- package/dist/esm/ptc-card-wrapper.entry.js +1 -1
- package/dist/esm/ptc-card_6.entry.js +1 -1
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/{p-679be000.entry.js → p-47d601fc.entry.js} +1 -1
- package/dist/ptcw-design/p-8b5e393e.entry.js +1 -0
- package/dist/ptcw-design/{p-4fbef630.entry.js → p-a5f20c41.entry.js} +1 -1
- package/dist/ptcw-design/p-a7f07147.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -0
- package/dist/types/components.d.ts +45 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-b721664f.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-9fb2ab8c.js";export{s as setNonce}from"./p-9fb2ab8c.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t(JSON.parse('[["p-0099616c",[[1,"ptc-announcement",{"barTitle":[1025,"bar-title"],"description":[1025],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[1537,"link-url"],"insideContainer":[4,"inside-container"],"target":[1025],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-1def8f3c",[[1,"ptc-dynamic-card",{"cardType":[1,"card-type"],"cardTitle":[1,"card-title"],"cardImgSrc":[1,"card-img-src"],"cardImgAlt":[1,"card-img-alt"],"outCardState":[1025,"out-card-state"],"cardStatus":[32],"overlayExists":[32],"changeState":[64]}]]],["p-9024a899",[[4,"ptc-tab-list",{"selectedValue":[32]},[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["p-13b0d8c3",[[1,"ptc-breadcrumb"]]],["p-048502c2",[[1,"ptc-collapse-list",{"header":[1],"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32],"removeSelectedItem":[64],"addSelectedItem":[64]}]]],["p-63fab352",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"],"contentAlignment":[1,"content-alignment"]}]]],["p-c325283e",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["p-5c295f08",[[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"inputName":[1,"input-name"]}]]],["p-31ffd030",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]]],["p-c7247cc9",[[1,"ptc-filter-tag",{"theme":[1],"iconColorMap":[32]}]]],["p-d625bb90",[[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028]}]]],["p-30007bf3",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"],"linkArea":[1,"link-area"]}]]],["p-8d48362b",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["p-d24446b2",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["p-1e92301d",[[1,"ptc-media-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"activeBackgroundImage":[1,"active-background-image"],"hoverBackgroundImage":[1,"hover-background-image"],"heading":[1],"headingTransform":[1,"heading-transform"],"category":[1],"isHovered":[1028,"is-hovered"]}]]],["p-91512aeb",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"]}]]],["p-2cc97b88",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]]],["p-bc0181f3",[[1,"ptc-social-share",{"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"iconColor":[1,"icon-color"],"iconHoverColor":[1,"icon-hover-color"],"isHover":[32]}]]],["p-c693e1c5",[[1,"max-width-container",{"maxWidth":[2,"max-width"],"breakpoint":[2]}]]],["p-c3621686",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-62cabff9",[[1,"ptc-accordion",{"multiple":[4]},[[0,"opened","openHandler"]]]]],["p-049964f4",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["p-4fbef630",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1]}]]],["p-b721664f",[[1,"ptc-card-wrapper",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]},[[9,"resize","handleResize"]]]]],["p-ce3627b8",[[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1]}]]],["p-2eb5ef88",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-159d9a80",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["p-329cc205",[[1,"ptc-minimized-footer"]]],["p-586d9c9d",[[1,"ptc-minimized-header",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"]}]]],["p-2de0f980",[[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"show":[1028],"overlay":[1028],"fixed":[1028],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"showHeaderFooter":[1028,"show-header-footer"],"overlayHeight":[32],"bodyOverflowSetting":[32]}]]],["p-001a0b9f",[[1,"ptc-pagenation",{"totalCount":[2,"total-count"],"numberOfItems":[2,"number-of-items"],"previousValue":[1,"previous-value"],"lastValue":[1,"last-value"],"minPageNumber":[2,"min-page-number"],"maxPageNumber":[2,"max-page-number"],"clickedPageNumber":[2,"clicked-page-number"],"appendArray":[4,"append-array"],"prevArrowImg":[1,"prev-arrow-img"],"nextArrowImg":[1,"next-arrow-img"],"pageNumbers":[32]}]]],["p-51db2e2e",[[1,"ptc-pricing-block",{"active":[1]}]]],["p-e66a28aa",[[1,"ptc-responsive-wrapper"]]],["p-34db9e46",[[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1]}]]],["p-013f5355",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["p-673121e2",[[1,"ptc-sticky-icons",null,[[9,"resize","handleResize"]]]]],["p-67a9ed01",[[1,"ptc-text-copy-with-background",{"type":[1],"backgroundImage":[1,"background-image"],"ImageAltText":[1,"image-alt-text"],"topSlitBackgroundColor":[1,"top-slit-background-color"],"slitPosition":[1,"slit-position"],"isBackgroundBlur":[4,"is-background-blur"],"overlay":[4]}]]],["p-fed5edd3",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["p-de6b444f",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["p-31fbba12",[[4,"tab-header",{"name":[1],"tooltip":[1],"isSelected":[32],"getChild":[64]}]]],["p-dcf0d341",[[1,"ptc-ellipsis-dropdown",{"dataItems":[16],"selectedTab":[1,"selected-tab"],"isDropdownOpen":[32]},[[4,"click","offClick"]]]]],["p-b4d92914",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["p-5dc89a74",[[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}]]],["p-c2275f57",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"outlineColor":[1,"outline-color"],"styles":[1],"setHeight":[64],"removeInlineHeight":[64]}]]],["p-96883fd7",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1]}]]],["p-2ac518f1",[[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"]}]]],["p-450e9eb0",[[1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1]},[[9,"resize","addBtnTruncated"]]],[1,"ptc-tooltip",{"textDisplay":[1,"text-display"],"maxLength":[2,"max-length"],"textLines":[2,"text-lines"],"description":[1],"zIndex":[1,"z-index"],"position":[1],"styles":[1]},[[9,"resize","addTruncatedClass"]]]]],["p-50c88717",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["p-0f937cff",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"]}]]],["p-446df289",[[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1],"setOverlay":[64]}]]],["p-679be000",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"styles":[1],"ribbonText":[1,"ribbon-text"],"eventType":[1,"event-type"],"cardLogo":[1,"card-logo"],"titleLineCutOff":[2,"title-line-cut-off"]}],[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"],"paraAlign":[1,"para-align"],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"paraZIndex":[1,"para-z-index"]}],[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}],[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}],[4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]],[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["p-e353a8e8",[[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"isMobileSelect":[4,"is-mobile-select"],"injectedStyle":[1,"injected-style"]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as t}from"./p-9fb2ab8c.js";export{s as setNonce}from"./p-9fb2ab8c.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t(JSON.parse('[["p-0099616c",[[1,"ptc-announcement",{"barTitle":[1025,"bar-title"],"description":[1025],"linkText":[513,"link-text"],"linkTitle":[513,"link-title"],"visible":[1540],"linkUrl":[1537,"link-url"],"insideContainer":[4,"inside-container"],"target":[1025],"windowSize":[32]},[[9,"resize","handleResize"]]]]],["p-1def8f3c",[[1,"ptc-dynamic-card",{"cardType":[1,"card-type"],"cardTitle":[1,"card-title"],"cardImgSrc":[1,"card-img-src"],"cardImgAlt":[1,"card-img-alt"],"outCardState":[1025,"out-card-state"],"cardStatus":[32],"overlayExists":[32],"changeState":[64]}]]],["p-9024a899",[[4,"ptc-tab-list",{"selectedValue":[32]},[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]]],["p-13b0d8c3",[[1,"ptc-breadcrumb"]]],["p-048502c2",[[1,"ptc-collapse-list",{"header":[1],"listItems":[1040],"placeholderText":[1025,"placeholder-text"],"debounceUpdateDelay":[1026,"debounce-update-delay"],"data":[32],"searchText":[32],"selectedValue":[32],"selectedItems":[32],"hashMap":[32],"debouncedUpdatedEvent":[32],"refreshBuffer":[32],"removeSelectedItem":[64],"addSelectedItem":[64]}]]],["p-63fab352",[[1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"],"contentAlignment":[1,"content-alignment"]}]]],["p-c325283e",[[1,"ptc-previous-url",{"href":[1],"text":[1]}]]],["p-5c295f08",[[1,"ptc-checkbox",{"checked":[1025],"value":[1025],"inputName":[1,"input-name"]}]]],["p-31ffd030",[[1,"ptc-dropdown",{"theme":[1],"label":[1],"listItems":[16],"toggle":[32],"selectedItem":[32]},[[4,"click","offClick"]]]]],["p-c7247cc9",[[1,"ptc-filter-tag",{"theme":[1],"iconColorMap":[32]}]]],["p-d625bb90",[[1,"ptc-icon-minimize",{"heading":[1025],"opened":[1028]}]]],["p-30007bf3",[[1,"ptc-link",{"disabled":[516],"external":[516],"href":[1],"target":[1],"linkTitle":[1,"link-title"],"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"],"linkArea":[1,"link-area"]}]]],["p-8d48362b",[[1,"ptc-list",{"listType":[1,"list-type"],"listItems":[16]}]]],["p-d24446b2",[[1,"ptc-lottie",{"jsonSrc":[1025,"json-src"],"speed":[1026]}]]],["p-1e92301d",[[1,"ptc-media-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"activeBackgroundImage":[1,"active-background-image"],"hoverBackgroundImage":[1,"hover-background-image"],"heading":[1],"headingTransform":[1,"heading-transform"],"category":[1],"isHovered":[1028,"is-hovered"]}]]],["p-91512aeb",[[0,"ptc-mobile-select",{"triggerName":[1,"trigger-name"],"selectedText":[1,"selected-text"],"wheelData":[1040],"selectedId":[1,"selected-id"],"ensureBtnText":[1,"ensure-btn-text"],"cancelBtnText":[1,"cancel-btn-text"],"listTitle":[1,"list-title"]}]]],["p-2cc97b88",[[1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]]],["p-bc0181f3",[[1,"ptc-social-share",{"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"iconColor":[1,"icon-color"],"iconHoverColor":[1,"icon-hover-color"],"isHover":[32]}]]],["p-c693e1c5",[[1,"max-width-container",{"maxWidth":[2,"max-width"],"breakpoint":[2]}]]],["p-c3621686",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]],["p-62cabff9",[[1,"ptc-accordion",{"multiple":[4]},[[0,"opened","openHandler"]]]]],["p-049964f4",[[1,"ptc-accordion-item",{"heading":[1],"headingTag":[1,"heading-tag"],"autoHeight":[4,"auto-height"],"active":[1540],"hasHeadingSlot":[32],"hasArrowSlot":[32],"toggle":[64],"close":[64],"open":[64]}]]],["p-8b5e393e",[[1,"ptc-background-video",{"videoSrc":[1,"video-src"],"posterSrc":[1,"poster-src"],"overlay":[4],"type":[1]}]]],["p-a5f20c41",[[1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1]}]]],["p-a7f07147",[[1,"ptc-card-wrapper",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]},[[9,"resize","handleResize"]]]]],["p-ce3627b8",[[1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"],"spacing":[1]}]]],["p-2eb5ef88",[[6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]]],["p-159d9a80",[[1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]]],["p-329cc205",[[1,"ptc-minimized-footer"]]],["p-586d9c9d",[[1,"ptc-minimized-header",{"linkUrl":[513,"link-url"],"imgSrc":[513,"img-src"],"imgAlt":[513,"img-alt"]}]]],["p-2de0f980",[[1,"ptc-modal",{"iframeUrl":[1025,"iframe-url"],"size":[1025],"show":[1028],"overlay":[1028],"fixed":[1028],"closeOnBlur":[1028,"close-on-blur"],"rounded":[1028],"showHeaderFooter":[1028,"show-header-footer"],"overlayHeight":[32],"bodyOverflowSetting":[32]}]]],["p-001a0b9f",[[1,"ptc-pagenation",{"totalCount":[2,"total-count"],"numberOfItems":[2,"number-of-items"],"previousValue":[1,"previous-value"],"lastValue":[1,"last-value"],"minPageNumber":[2,"min-page-number"],"maxPageNumber":[2,"max-page-number"],"clickedPageNumber":[2,"clicked-page-number"],"appendArray":[4,"append-array"],"prevArrowImg":[1,"prev-arrow-img"],"nextArrowImg":[1,"next-arrow-img"],"pageNumbers":[32]}]]],["p-51db2e2e",[[1,"ptc-pricing-block",{"active":[1]}]]],["p-e66a28aa",[[1,"ptc-responsive-wrapper"]]],["p-34db9e46",[[1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1]}]]],["p-013f5355",[[1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]]],["p-673121e2",[[1,"ptc-sticky-icons",null,[[9,"resize","handleResize"]]]]],["p-67a9ed01",[[1,"ptc-text-copy-with-background",{"type":[1],"backgroundImage":[1,"background-image"],"ImageAltText":[1,"image-alt-text"],"topSlitBackgroundColor":[1,"top-slit-background-color"],"slitPosition":[1,"slit-position"],"isBackgroundBlur":[4,"is-background-blur"],"overlay":[4]}]]],["p-fed5edd3",[[1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]]],["p-de6b444f",[[4,"tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}]]],["p-31fbba12",[[4,"tab-header",{"name":[1],"tooltip":[1],"isSelected":[32],"getChild":[64]}]]],["p-dcf0d341",[[1,"ptc-ellipsis-dropdown",{"dataItems":[16],"selectedTab":[1,"selected-tab"],"isDropdownOpen":[32]},[[4,"click","offClick"]]]]],["p-b4d92914",[[1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2],"play":[64],"pause":[64],"stop":[64],"seek":[64],"getLottie":[64],"setSpeed":[64],"setDirection":[64],"setLooping":[64],"togglePlay":[64],"toggleLooping":[64]}]]],["p-5dc89a74",[[1,"ptc-button",{"disabled":[516],"type":[1],"color":[1],"iconAnimation":[1,"icon-animation"],"iconPosition":[1,"icon-position"],"linkHref":[1,"link-href"],"linkTitle":[1,"link-title"],"target":[1],"rel":[1],"tabNav":[2,"tab-nav"],"styles":[1]}]]],["p-c2275f57",[[1,"ptc-card-content",{"cardType":[1,"card-type"],"outlineColor":[1,"outline-color"],"styles":[1],"setHeight":[64],"removeInlineHeight":[64]}]]],["p-96883fd7",[[1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1]}]]],["p-2ac518f1",[[6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleColor":[1,"title-color"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"titleDisplay":[1,"title-display"]}]]],["p-450e9eb0",[[1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1]},[[9,"resize","addBtnTruncated"]]],[1,"ptc-tooltip",{"textDisplay":[1,"text-display"],"maxLength":[2,"max-length"],"textLines":[2,"text-lines"],"description":[1],"zIndex":[1,"z-index"],"position":[1],"styles":[1]},[[9,"resize","addTruncatedClass"]]]]],["p-50c88717",[[4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]]],["p-0f937cff",[[1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"]}]]],["p-446df289",[[1,"ptc-overlay",{"filterColor":[1,"filter-color"],"borderRadius":[1,"border-radius"],"overlayZIndex":[1,"overlay-z-index"],"styles":[1],"setOverlay":[64]}]]],["p-47d601fc",[[1,"ptc-card",{"cardType":[1,"card-type"],"cardHref":[1,"card-href"],"target":[1],"rel":[1],"hasImage":[4,"has-image"],"hasVideo":[4,"has-video"],"hasLottie":[4,"has-lottie"],"heading":[1],"headingTransform":[1,"heading-transform"],"cardDate":[1,"card-date"],"styles":[1],"ribbonText":[1,"ribbon-text"],"eventType":[1,"event-type"],"cardLogo":[1,"card-logo"],"titleLineCutOff":[2,"title-line-cut-off"]}],[1,"ptc-para",{"fontSize":[1,"font-size"],"fontWeight":[1,"font-weight"],"paraStyle":[1,"para-style"],"paraColor":[1,"para-color"],"paraLineH":[1,"para-line-h"],"paraMargin":[1,"para-margin"],"paraAlign":[1,"para-align"],"ellipsisLineCutoff":[2,"ellipsis-line-cutoff"],"paraZIndex":[1,"para-z-index"]}],[1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}],[1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}],[4,"ptc-img",{"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imgUrl":[1,"img-url"],"imageType":[1,"image-type"],"borderRadius":[1,"border-radius"],"loadMode":[1,"load-mode"]},[[9,"resize","WindowResize"]]],[1,"ptc-picture",{"src":[1],"alt":[1],"sizeXs":[1025,"size-xs"],"sizeSm":[1025,"size-sm"],"sizeMd":[1025,"size-md"],"sizeLg":[1025,"size-lg"],"imagePosition":[1,"image-position"],"borderRadius":[1,"border-radius"],"height":[1],"width":[1],"objectFit":[1,"object-fit"],"isFullHeight":[4,"is-full-height"],"isFullWidth":[4,"is-full-width"],"styles":[1],"imageAlignment":[1,"image-alignment"],"maxWidth":[1,"max-width"],"oldSrc":[32]},[[9,"resize","WindowResize"]]]]],["p-e353a8e8",[[2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"isMobileSelect":[4,"is-mobile-select"],"injectedStyle":[1,"injected-style"]}]]]]'),e)));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class PtcBackgroundVideo {
|
|
2
|
+
/**
|
|
3
|
+
* Video url
|
|
4
|
+
*/
|
|
5
|
+
videoSrc: string;
|
|
6
|
+
/**
|
|
7
|
+
* Poster url(Placeholder image till the video get the loaded)
|
|
8
|
+
*/
|
|
9
|
+
posterSrc?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Overlay(Optional, By default is true)
|
|
12
|
+
*/
|
|
13
|
+
overlay?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Video implementation type:
|
|
16
|
+
* default: Content need to add in tag
|
|
17
|
+
* Ex: <ptc-background-video>Content </ptc-background-video>
|
|
18
|
+
* legacy: Add the blank tag in any other setcon having relative parent.
|
|
19
|
+
* Ex: <div class="section" style="position: relative;">
|
|
20
|
+
* <ptc-background-video></ptc-background-video>
|
|
21
|
+
* Content
|
|
22
|
+
* </div>
|
|
23
|
+
*/
|
|
24
|
+
type: 'default' | 'legacy';
|
|
25
|
+
render(): any;
|
|
26
|
+
}
|
|
@@ -138,6 +138,24 @@ export namespace Components {
|
|
|
138
138
|
*/
|
|
139
139
|
"visible": boolean;
|
|
140
140
|
}
|
|
141
|
+
interface PtcBackgroundVideo {
|
|
142
|
+
/**
|
|
143
|
+
* Overlay(Optional, By default is true)
|
|
144
|
+
*/
|
|
145
|
+
"overlay"?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Poster url(Placeholder image till the video get the loaded)
|
|
148
|
+
*/
|
|
149
|
+
"posterSrc"?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Video implementation type: default: Content need to add in tag Ex: <ptc-background-video>Content </ptc-background-video> legacy: Add the blank tag in any other setcon having relative parent. Ex: <div class="section" style="position: relative;"> <ptc-background-video></ptc-background-video> Content </div>
|
|
152
|
+
*/
|
|
153
|
+
"type": 'default' | 'legacy';
|
|
154
|
+
/**
|
|
155
|
+
* Video url
|
|
156
|
+
*/
|
|
157
|
+
"videoSrc": string;
|
|
158
|
+
}
|
|
141
159
|
interface PtcBreadcrumb {
|
|
142
160
|
}
|
|
143
161
|
interface PtcButton {
|
|
@@ -1190,6 +1208,12 @@ declare global {
|
|
|
1190
1208
|
prototype: HTMLPtcAnnouncementElement;
|
|
1191
1209
|
new (): HTMLPtcAnnouncementElement;
|
|
1192
1210
|
};
|
|
1211
|
+
interface HTMLPtcBackgroundVideoElement extends Components.PtcBackgroundVideo, HTMLStencilElement {
|
|
1212
|
+
}
|
|
1213
|
+
var HTMLPtcBackgroundVideoElement: {
|
|
1214
|
+
prototype: HTMLPtcBackgroundVideoElement;
|
|
1215
|
+
new (): HTMLPtcBackgroundVideoElement;
|
|
1216
|
+
};
|
|
1193
1217
|
interface HTMLPtcBreadcrumbElement extends Components.PtcBreadcrumb, HTMLStencilElement {
|
|
1194
1218
|
}
|
|
1195
1219
|
var HTMLPtcBreadcrumbElement: {
|
|
@@ -1493,6 +1517,7 @@ declare global {
|
|
|
1493
1517
|
"ptc-accordion": HTMLPtcAccordionElement;
|
|
1494
1518
|
"ptc-accordion-item": HTMLPtcAccordionItemElement;
|
|
1495
1519
|
"ptc-announcement": HTMLPtcAnnouncementElement;
|
|
1520
|
+
"ptc-background-video": HTMLPtcBackgroundVideoElement;
|
|
1496
1521
|
"ptc-breadcrumb": HTMLPtcBreadcrumbElement;
|
|
1497
1522
|
"ptc-button": HTMLPtcButtonElement;
|
|
1498
1523
|
"ptc-card": HTMLPtcCardElement;
|
|
@@ -1685,6 +1710,24 @@ declare namespace LocalJSX {
|
|
|
1685
1710
|
*/
|
|
1686
1711
|
"visible"?: boolean;
|
|
1687
1712
|
}
|
|
1713
|
+
interface PtcBackgroundVideo {
|
|
1714
|
+
/**
|
|
1715
|
+
* Overlay(Optional, By default is true)
|
|
1716
|
+
*/
|
|
1717
|
+
"overlay"?: boolean;
|
|
1718
|
+
/**
|
|
1719
|
+
* Poster url(Placeholder image till the video get the loaded)
|
|
1720
|
+
*/
|
|
1721
|
+
"posterSrc"?: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* Video implementation type: default: Content need to add in tag Ex: <ptc-background-video>Content </ptc-background-video> legacy: Add the blank tag in any other setcon having relative parent. Ex: <div class="section" style="position: relative;"> <ptc-background-video></ptc-background-video> Content </div>
|
|
1724
|
+
*/
|
|
1725
|
+
"type"?: 'default' | 'legacy';
|
|
1726
|
+
/**
|
|
1727
|
+
* Video url
|
|
1728
|
+
*/
|
|
1729
|
+
"videoSrc"?: string;
|
|
1730
|
+
}
|
|
1688
1731
|
interface PtcBreadcrumb {
|
|
1689
1732
|
}
|
|
1690
1733
|
interface PtcButton {
|
|
@@ -2663,6 +2706,7 @@ declare namespace LocalJSX {
|
|
|
2663
2706
|
"ptc-accordion": PtcAccordion;
|
|
2664
2707
|
"ptc-accordion-item": PtcAccordionItem;
|
|
2665
2708
|
"ptc-announcement": PtcAnnouncement;
|
|
2709
|
+
"ptc-background-video": PtcBackgroundVideo;
|
|
2666
2710
|
"ptc-breadcrumb": PtcBreadcrumb;
|
|
2667
2711
|
"ptc-button": PtcButton;
|
|
2668
2712
|
"ptc-card": PtcCard;
|
|
@@ -2726,6 +2770,7 @@ declare module "@stencil/core" {
|
|
|
2726
2770
|
"ptc-accordion": LocalJSX.PtcAccordion & JSXBase.HTMLAttributes<HTMLPtcAccordionElement>;
|
|
2727
2771
|
"ptc-accordion-item": LocalJSX.PtcAccordionItem & JSXBase.HTMLAttributes<HTMLPtcAccordionItemElement>;
|
|
2728
2772
|
"ptc-announcement": LocalJSX.PtcAnnouncement & JSXBase.HTMLAttributes<HTMLPtcAnnouncementElement>;
|
|
2773
|
+
"ptc-background-video": LocalJSX.PtcBackgroundVideo & JSXBase.HTMLAttributes<HTMLPtcBackgroundVideoElement>;
|
|
2729
2774
|
"ptc-breadcrumb": LocalJSX.PtcBreadcrumb & JSXBase.HTMLAttributes<HTMLPtcBreadcrumbElement>;
|
|
2730
2775
|
"ptc-button": LocalJSX.PtcButton & JSXBase.HTMLAttributes<HTMLPtcButtonElement>;
|
|
2731
2776
|
"ptc-card": LocalJSX.PtcCard & JSXBase.HTMLAttributes<HTMLPtcCardElement>;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# PTC Design 0.8.
|
|
3
|
+
# PTC Design 0.8.7
|
|
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,c as a,h as e,H as o,g as i}from"./p-9fb2ab8c.js";const s=class{constructor(e){t(this,e),this.hoverEvent=a(this,"hoverEvent",7),this.leaveEvent=a(this,"leaveEvent",7),this.cardType=void 0,this.cardLink=void 0,this.linkTitle=void 0,this.linkTarget="_self"}handleResize(){this.checkScreenSize()}hoverEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.add("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-5"))}leaveEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.remove("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-4"))}componentDidLoad(){this.checkScreenSize()}render(){const t=this.getCssClassMap(),a=this.cardLink?"a":"div";return e(o,{class:t,onMouseEnter:this.hoverEventHandler.bind(this),onMouseLeave:this.leaveEventHandler.bind(this)},e(a,Object.assign({},this.cardLink?{href:this.cardLink}:{},this.linkTarget&&this.cardLink?{target:this.linkTarget}:{},this.cardLink?{title:this.linkTitle?this.linkTitle:this.cardLink}:{}),e("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType}}getBtmContentHeight(){return this.el.querySelector("ptc-card-bottom").offsetHeight}checkScreenSize(){window.innerWidth<=480?"extra-tall"===this.cardType&&this.el.querySelector("ptc-card-content").setHeight(this.getBtmContentHeight()):this.el.querySelector("ptc-card-content").removeInlineHeight()}get el(){return i(this)}};s.style=':host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{content:"";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);bottom:0;left:0;border-radius:var(--ptc-border-radius-large)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}';export{s as ptc_card_wrapper}
|