@ptcwebops/ptcw-design 0.2.8 → 0.2.9

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 (142) hide show
  1. package/dist/cjs/icon-asset_16.cjs.entry.js +812 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-announcement.cjs.entry.js} +0 -25
  4. package/dist/cjs/ptc-list.cjs.entry.js +2 -3
  5. package/dist/cjs/ptc-svg-btn.cjs.entry.js +31 -0
  6. package/dist/cjs/ptcw-design.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +5 -0
  8. package/dist/collection/components/icon-asset/media/designer.svg +33 -0
  9. package/dist/collection/components/list-item/list-item.css +39 -1
  10. package/dist/collection/components/list-item/list-item.js +26 -5
  11. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
  12. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -0
  13. package/dist/collection/components/ptc-button/ptc-button.css +12 -1
  14. package/dist/collection/components/ptc-button/ptc-button.js +29 -7
  15. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +12 -0
  16. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +41 -0
  17. package/dist/collection/components/ptc-card-content/ptc-card-content.css +61 -0
  18. package/dist/collection/components/ptc-card-content/ptc-card-content.js +81 -0
  19. package/dist/collection/components/ptc-card-plm/ptc-card-plm.css +19 -0
  20. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -0
  21. package/dist/collection/components/ptc-hero/ptc-hero.css +13 -0
  22. package/dist/collection/components/ptc-hero/ptc-hero.js +43 -0
  23. package/dist/collection/components/ptc-img/ptc-img.js +6 -1
  24. package/dist/collection/components/ptc-link/ptc-link.css +25 -3
  25. package/dist/collection/components/ptc-link/ptc-link.js +3 -2
  26. package/dist/collection/components/ptc-list/ptc-list.css +8 -4
  27. package/dist/collection/components/ptc-list/ptc-list.js +5 -8
  28. package/dist/collection/components/ptc-overlay/ptc-overlay.css +81 -0
  29. package/dist/collection/components/ptc-overlay/ptc-overlay.js +88 -3
  30. package/dist/collection/components/ptc-para/ptc-para.css +59 -0
  31. package/dist/collection/components/ptc-para/ptc-para.js +53 -7
  32. package/dist/collection/components/ptc-picture/ptc-picture.css +28 -1
  33. package/dist/collection/components/ptc-picture/ptc-picture.js +27 -9
  34. package/dist/collection/components/ptc-spacer/ptc-spacer.css +11 -0
  35. package/dist/collection/components/ptc-spacer/ptc-spacer.js +2 -2
  36. package/dist/collection/components/ptc-span/ptc-span.css +26 -1
  37. package/dist/collection/components/ptc-span/ptc-span.js +6 -3
  38. package/dist/collection/components/ptc-title/ptc-title.css +108 -11
  39. package/dist/collection/components/ptc-title/ptc-title.js +62 -4
  40. package/dist/custom-elements/index.d.ts +30 -0
  41. package/dist/custom-elements/index.js +199 -35
  42. package/dist/esm/icon-asset_16.entry.js +793 -0
  43. package/dist/esm/{index-eb8ce23d.js → index-6ce5b664.js} +1 -1
  44. package/dist/esm/loader.js +2 -2
  45. package/dist/esm/lottie-player.entry.js +1 -1
  46. package/dist/esm/my-component.entry.js +1 -1
  47. package/dist/esm/{ptc-announcement_2.entry.js → ptc-announcement.entry.js} +2 -26
  48. package/dist/esm/ptc-avatar.entry.js +1 -1
  49. package/dist/esm/ptc-card.entry.js +1 -1
  50. package/dist/esm/ptc-countdown.entry.js +1 -1
  51. package/dist/esm/ptc-date.entry.js +1 -1
  52. package/dist/esm/ptc-footer.entry.js +1 -1
  53. package/dist/esm/ptc-form.entry.js +1 -1
  54. package/dist/esm/ptc-input.entry.js +1 -1
  55. package/dist/esm/ptc-list.entry.js +3 -4
  56. package/dist/esm/ptc-lottie.entry.js +1 -1
  57. package/dist/esm/ptc-nav-item.entry.js +1 -1
  58. package/dist/esm/ptc-nav.entry.js +1 -1
  59. package/dist/esm/ptc-select.entry.js +1 -1
  60. package/dist/esm/ptc-svg-btn.entry.js +27 -0
  61. package/dist/esm/ptcw-design.js +2 -2
  62. package/dist/ptcw-design/media/designer.svg +33 -0
  63. package/dist/ptcw-design/{p-63b55aba.entry.js → p-281824f5.entry.js} +1 -1
  64. package/dist/ptcw-design/p-31b2af1d.entry.js +1 -0
  65. package/dist/ptcw-design/{p-f94c4594.entry.js → p-3437fbce.entry.js} +1 -1
  66. package/dist/ptcw-design/{p-e8650244.entry.js → p-542939d4.entry.js} +1 -1
  67. package/dist/ptcw-design/{p-ef6acb81.entry.js → p-5c78913c.entry.js} +1 -1
  68. package/dist/ptcw-design/{p-3f42afb6.entry.js → p-5eb74dc3.entry.js} +1 -1
  69. package/dist/ptcw-design/p-609dec21.entry.js +1 -0
  70. package/dist/ptcw-design/{p-1b3b0193.entry.js → p-6ff80c95.entry.js} +1 -1
  71. package/dist/ptcw-design/p-8bbb4277.entry.js +1 -0
  72. package/dist/ptcw-design/p-9a35c9e2.entry.js +1 -0
  73. package/dist/ptcw-design/{p-22fd400f.entry.js → p-aafe51df.entry.js} +1 -1
  74. package/dist/ptcw-design/{p-75dc7328.entry.js → p-ac57feca.entry.js} +1 -1
  75. package/dist/ptcw-design/{p-2ca3c085.js → p-b1afaef3.js} +1 -1
  76. package/dist/ptcw-design/p-b85eda19.entry.js +1 -0
  77. package/dist/ptcw-design/p-bac826ad.entry.js +1 -0
  78. package/dist/ptcw-design/{p-e4b96b46.entry.js → p-da7ee0ba.entry.js} +1 -1
  79. package/dist/ptcw-design/{p-32ef3a79.entry.js → p-e2492128.entry.js} +1 -1
  80. package/dist/ptcw-design/p-e266fc0b.entry.js +1 -0
  81. package/dist/ptcw-design/ptcw-design.css +2 -2
  82. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  83. package/dist/types/components/list-item/list-item.d.ts +2 -1
  84. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -0
  85. package/dist/types/components/ptc-button/ptc-button.d.ts +7 -3
  86. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +5 -0
  87. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +11 -0
  88. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -0
  89. package/dist/types/components/ptc-hero/ptc-hero.d.ts +5 -0
  90. package/dist/types/components/ptc-img/ptc-img.d.ts +3 -0
  91. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
  92. package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
  93. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +17 -0
  94. package/dist/types/components/ptc-para/ptc-para.d.ts +11 -3
  95. package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -1
  96. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +1 -1
  97. package/dist/types/components/ptc-span/ptc-span.d.ts +4 -1
  98. package/dist/types/components/ptc-title/ptc-title.d.ts +14 -2
  99. package/dist/types/components.d.ts +229 -28
  100. package/package.json +1 -1
  101. package/readme.md +1 -1
  102. package/dist/cjs/icon-asset.cjs.entry.js +0 -64
  103. package/dist/cjs/interfaces-0ecd8027.js +0 -15
  104. package/dist/cjs/list-item.cjs.entry.js +0 -27
  105. package/dist/cjs/ptc-button.cjs.entry.js +0 -72
  106. package/dist/cjs/ptc-img.cjs.entry.js +0 -155
  107. package/dist/cjs/ptc-link.cjs.entry.js +0 -53
  108. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
  109. package/dist/cjs/ptc-para.cjs.entry.js +0 -40
  110. package/dist/cjs/ptc-picture.cjs.entry.js +0 -159
  111. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
  112. package/dist/cjs/ptc-span.cjs.entry.js +0 -31
  113. package/dist/cjs/ptc-title.cjs.entry.js +0 -49
  114. package/dist/esm/icon-asset.entry.js +0 -60
  115. package/dist/esm/interfaces-3cb94654.js +0 -12
  116. package/dist/esm/list-item.entry.js +0 -23
  117. package/dist/esm/ptc-button.entry.js +0 -68
  118. package/dist/esm/ptc-img.entry.js +0 -151
  119. package/dist/esm/ptc-link.entry.js +0 -49
  120. package/dist/esm/ptc-overlay.entry.js +0 -15
  121. package/dist/esm/ptc-para.entry.js +0 -36
  122. package/dist/esm/ptc-picture.entry.js +0 -155
  123. package/dist/esm/ptc-spacer.entry.js +0 -42
  124. package/dist/esm/ptc-span.entry.js +0 -27
  125. package/dist/esm/ptc-title.entry.js +0 -45
  126. package/dist/ptcw-design/p-01f4bf71.entry.js +0 -1
  127. package/dist/ptcw-design/p-08827128.entry.js +0 -1
  128. package/dist/ptcw-design/p-1bf9750d.entry.js +0 -1
  129. package/dist/ptcw-design/p-23d07898.entry.js +0 -1
  130. package/dist/ptcw-design/p-240733ce.js +0 -1
  131. package/dist/ptcw-design/p-29c54eb0.entry.js +0 -1
  132. package/dist/ptcw-design/p-2b59ce7a.entry.js +0 -1
  133. package/dist/ptcw-design/p-389a5670.entry.js +0 -1
  134. package/dist/ptcw-design/p-51443fbb.entry.js +0 -1
  135. package/dist/ptcw-design/p-54794e45.entry.js +0 -1
  136. package/dist/ptcw-design/p-5ae43421.entry.js +0 -1
  137. package/dist/ptcw-design/p-6b5c0d9d.entry.js +0 -1
  138. package/dist/ptcw-design/p-7076b32f.entry.js +0 -1
  139. package/dist/ptcw-design/p-a86452af.entry.js +0 -1
  140. package/dist/ptcw-design/p-d3f9852f.entry.js +0 -1
  141. package/dist/ptcw-design/p-d80b24c9.entry.js +0 -1
  142. package/dist/ptcw-design/p-fd29d9dd.entry.js +0 -1
@@ -0,0 +1,5 @@
1
+ export declare class PtcHero {
2
+ heroType: 'jumbotron' | 'footer-cta';
3
+ render(): any;
4
+ private getCssClassMap;
5
+ }
@@ -36,6 +36,9 @@ export declare class PtcImg {
36
36
  * Lazy loading option
37
37
  */
38
38
  loadMode: 'lazy-bg' | 'eager-bg';
39
+ /**
40
+ * Image Z Index
41
+ */
39
42
  WindowResize(): void;
40
43
  render(): any;
41
44
  componentDidLoad(): void;
@@ -22,7 +22,7 @@ export declare class PtcLink {
22
22
  /**
23
23
  * Theme
24
24
  */
25
- theme: 'simple' | 'arrow' | 'nav-title' | 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link';
25
+ theme: 'simple' | 'arrow' | 'nav-title' | 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link' | 'arrow-plm';
26
26
  /**
27
27
  * Uppercase
28
28
  */
@@ -1,5 +1,5 @@
1
1
  export declare class PtcList {
2
- listType: 'link-primary' | 'link-sub' | 'icon' | 'para-list';
2
+ listType: 'list-primary';
3
3
  listItems?: string[];
4
4
  render(): any;
5
5
  private getCssClassMap;
@@ -1,3 +1,20 @@
1
1
  export declare class PtcOverlay {
2
+ /**
3
+ * Filter Color
4
+ */
5
+ filterColor: 'blue' | 'red' | 'orange' | 'green' | 'black-1-xs' | 'black-2-xs' | 'black-1-sm' | 'black-2-sm' | 'black-3' | 'slate-grey';
6
+ /**
7
+ * Overlay border shape
8
+ */
9
+ borderRadius: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
10
+ /**
11
+ * Overlay z-index
12
+ */
13
+ overlayZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2';
14
+ /**
15
+ * Injected Styles
16
+ */
17
+ styles?: string;
2
18
  render(): any;
19
+ private getCssClassMap;
3
20
  }
@@ -2,7 +2,7 @@ export declare class PtcPara {
2
2
  /**
3
3
  * Paragraph font size
4
4
  **/
5
- fontSize: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large';
5
+ fontSize: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'font-size-15';
6
6
  /**
7
7
  * Paragraph font weight
8
8
  **/
@@ -10,11 +10,19 @@ export declare class PtcPara {
10
10
  /**
11
11
  * Paragraph Style
12
12
  **/
13
- paraStyle: 'default' | 'intro' | 'small' | 'announcement';
13
+ paraStyle: 'default' | 'intro' | 'small' | 'announcement' | 'flush-style' | 'main';
14
+ /**
15
+ * Paragraph Color
16
+ */
17
+ paraColor: 'primary-grey' | 'white';
18
+ /**
19
+ * line height
20
+ */
21
+ paraLineH: 'line-height-17' | 'line-height-18' | 'line-height-19' | 'line-height-denser' | 'line-height-dense' | 'line-height-normal' | 'line-height-loose' | 'line-height-looser';
14
22
  /**
15
23
  * Paragraph Margin
16
24
  */
17
- paraMargin?: 'margin-flush' | 'margin-top-3' | 'margin-top-4' | 'margin-top-5' | 'margin-top-6' | 'margin-bottom-3' | 'margin-bottom-4' | 'margin-bottom-5' | 'margin-bottom-6';
25
+ paraMargin?: 'margin-flush' | 'margin-top-3' | 'margin-top-4' | 'margin-top-5' | 'margin-top-6' | 'margin-bottom-3' | 'margin-bottom-4' | 'margin-bottom-5' | 'margin-bottom-6' | 'margin-3' | 'margin-4' | 'margin-5' | 'margin-6';
18
26
  render(): any;
19
27
  private getCssClassMap;
20
28
  }
@@ -32,10 +32,14 @@ export declare class PtcPicture {
32
32
  * Image Src
33
33
  **/
34
34
  oldSrc: string;
35
+ /**
36
+ * Image Position
37
+ */
38
+ imagePosition: 'relative' | 'absolute' | 'static';
35
39
  /**
36
40
  * Image border shape
37
41
  */
38
- borderRadius: 'radius-sm' | 'radius-md' | 'radius-lg' | '';
42
+ borderRadius: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
39
43
  /**
40
44
  * Set height
41
45
  * Value unit: pixles
@@ -6,7 +6,7 @@ export declare class PtcSpacer {
6
6
  /**
7
7
  * Spacing Size
8
8
  */
9
- size: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large';
9
+ size: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large' | 'space-144' | 'space-120';
10
10
  /**
11
11
  * Direction
12
12
  */
@@ -2,7 +2,10 @@ export declare class PtcSpan {
2
2
  /**
3
3
  * Span Style
4
4
  */
5
- spanStyle: 'link-style' | 'tag-style' | 'nav-style';
5
+ spanStyle: 'link-style' | 'tag-style' | 'nav-style' | 'plm-hub-style';
6
+ /**
7
+ * Display
8
+ */
6
9
  display: 'block' | 'inline-block' | 'inline';
7
10
  /**
8
11
  * Injected Styles
@@ -1,4 +1,8 @@
1
1
  export declare class PtcTitle {
2
+ /**
3
+ * Is this title using on the PLM Hub page
4
+ */
5
+ isPlmHub: boolean;
2
6
  /**
3
7
  * Title Tag Type
4
8
  */
@@ -6,11 +10,19 @@ export declare class PtcTitle {
6
10
  /**
7
11
  * Text Align
8
12
  */
9
- textAlign: 'left' | 'center' | 'right';
13
+ textAlign: 'left' | 'center' | 'right' | 'inherit';
10
14
  /**
11
15
  * Upperline Style
12
16
  */
13
- upperline: 'dotted' | 'solid';
17
+ upperline: 'dotted' | 'solid' | 'no-upperline';
18
+ /**
19
+ * Title Margin
20
+ */
21
+ titleMargin?: 'margin-flush' | 'margin-top-3' | 'margin-top-4' | 'margin-top-5' | 'margin-top-6' | 'margin-bottom-3' | 'margin-bottom-4' | 'margin-bottom-5' | 'margin-bottom-6' | 'margin-3' | 'margin-4' | 'margin-5' | 'margin-6';
22
+ /**
23
+ * Injected Style
24
+ */
25
+ styles?: string;
14
26
  render(): any;
15
27
  private getCssClassMap;
16
28
  }