@ptcwebops/ptcw-design 0.2.8 → 0.3.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 (158) hide show
  1. package/dist/cjs/icon-asset_11.cjs.entry.js +540 -0
  2. package/dist/cjs/list-item.cjs.entry.js +5 -3
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-announcement.cjs.entry.js} +0 -25
  5. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +23 -0
  6. package/dist/cjs/ptc-button.cjs.entry.js +9 -5
  7. package/dist/cjs/ptc-hero.cjs.entry.js +25 -0
  8. package/dist/cjs/ptc-img.cjs.entry.js +6 -1
  9. package/dist/cjs/ptc-list.cjs.entry.js +2 -3
  10. package/dist/cjs/ptc-span.cjs.entry.js +4 -1
  11. package/dist/cjs/ptc-svg-btn.cjs.entry.js +31 -0
  12. package/dist/cjs/ptcw-design.cjs.js +1 -1
  13. package/dist/collection/collection-manifest.json +5 -0
  14. package/dist/collection/components/icon-asset/icon-asset.css +4 -0
  15. package/dist/collection/components/icon-asset/icon-asset.js +2 -2
  16. package/dist/collection/components/icon-asset/media/designer.svg +33 -0
  17. package/dist/collection/components/list-item/list-item.css +39 -1
  18. package/dist/collection/components/list-item/list-item.js +26 -5
  19. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
  20. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -0
  21. package/dist/collection/components/ptc-button/ptc-button.css +12 -1
  22. package/dist/collection/components/ptc-button/ptc-button.js +29 -7
  23. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +28 -0
  24. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +41 -0
  25. package/dist/collection/components/ptc-card-content/ptc-card-content.css +87 -0
  26. package/dist/collection/components/ptc-card-content/ptc-card-content.js +81 -0
  27. package/dist/collection/components/ptc-card-plm/ptc-card-plm.css +41 -0
  28. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -0
  29. package/dist/collection/components/ptc-date/ptc-date.css +8 -0
  30. package/dist/collection/components/ptc-date/ptc-date.js +24 -1
  31. package/dist/collection/components/ptc-hero/ptc-hero.css +13 -0
  32. package/dist/collection/components/ptc-hero/ptc-hero.js +43 -0
  33. package/dist/collection/components/ptc-img/ptc-img.js +6 -1
  34. package/dist/collection/components/ptc-link/ptc-link.css +25 -3
  35. package/dist/collection/components/ptc-link/ptc-link.js +3 -2
  36. package/dist/collection/components/ptc-list/ptc-list.css +8 -4
  37. package/dist/collection/components/ptc-list/ptc-list.js +5 -8
  38. package/dist/collection/components/ptc-overlay/ptc-overlay.css +81 -0
  39. package/dist/collection/components/ptc-overlay/ptc-overlay.js +88 -3
  40. package/dist/collection/components/ptc-para/ptc-para.css +59 -0
  41. package/dist/collection/components/ptc-para/ptc-para.js +53 -7
  42. package/dist/collection/components/ptc-picture/ptc-picture.css +28 -1
  43. package/dist/collection/components/ptc-picture/ptc-picture.js +27 -9
  44. package/dist/collection/components/ptc-spacer/ptc-spacer.css +11 -0
  45. package/dist/collection/components/ptc-spacer/ptc-spacer.js +2 -2
  46. package/dist/collection/components/ptc-span/ptc-span.css +26 -1
  47. package/dist/collection/components/ptc-span/ptc-span.js +6 -3
  48. package/dist/collection/components/ptc-title/ptc-title.css +108 -11
  49. package/dist/collection/components/ptc-title/ptc-title.js +62 -4
  50. package/dist/custom-elements/index.d.ts +30 -0
  51. package/dist/custom-elements/index.js +209 -39
  52. package/dist/esm/icon-asset_11.entry.js +526 -0
  53. package/dist/esm/{index-eb8ce23d.js → index-6ce5b664.js} +1 -1
  54. package/dist/esm/{interfaces-3cb94654.js → interfaces-c1c73092.js} +1 -1
  55. package/dist/esm/list-item.entry.js +6 -4
  56. package/dist/esm/loader.js +2 -2
  57. package/dist/esm/lottie-player.entry.js +1 -1
  58. package/dist/esm/my-component.entry.js +1 -1
  59. package/dist/esm/{ptc-announcement_2.entry.js → ptc-announcement.entry.js} +2 -26
  60. package/dist/esm/ptc-avatar.entry.js +1 -1
  61. package/dist/esm/ptc-breadcrumb.entry.js +19 -0
  62. package/dist/esm/ptc-button.entry.js +10 -6
  63. package/dist/esm/ptc-card.entry.js +1 -1
  64. package/dist/esm/ptc-countdown.entry.js +1 -1
  65. package/dist/esm/ptc-footer.entry.js +1 -1
  66. package/dist/esm/ptc-form.entry.js +1 -1
  67. package/dist/esm/ptc-hero.entry.js +21 -0
  68. package/dist/esm/ptc-img.entry.js +8 -3
  69. package/dist/esm/ptc-input.entry.js +1 -1
  70. package/dist/esm/ptc-list.entry.js +3 -4
  71. package/dist/esm/ptc-lottie.entry.js +1 -1
  72. package/dist/esm/ptc-nav-item.entry.js +1 -1
  73. package/dist/esm/ptc-nav.entry.js +1 -1
  74. package/dist/esm/ptc-select.entry.js +1 -1
  75. package/dist/esm/ptc-span.entry.js +5 -2
  76. package/dist/esm/ptc-svg-btn.entry.js +27 -0
  77. package/dist/esm/ptcw-design.js +2 -2
  78. package/dist/ptcw-design/media/designer.svg +33 -0
  79. package/dist/ptcw-design/p-29fe43a9.entry.js +1 -0
  80. package/dist/ptcw-design/p-31b2af1d.entry.js +1 -0
  81. package/dist/ptcw-design/{p-f94c4594.entry.js → p-3437fbce.entry.js} +1 -1
  82. package/dist/ptcw-design/p-473ec631.entry.js +1 -0
  83. package/dist/ptcw-design/{p-240733ce.js → p-50e52c88.js} +1 -1
  84. package/dist/ptcw-design/{p-e8650244.entry.js → p-542939d4.entry.js} +1 -1
  85. package/dist/ptcw-design/p-563d409f.entry.js +1 -0
  86. package/dist/ptcw-design/{p-ef6acb81.entry.js → p-5c78913c.entry.js} +1 -1
  87. package/dist/ptcw-design/{p-3f42afb6.entry.js → p-5eb74dc3.entry.js} +1 -1
  88. package/dist/ptcw-design/p-609dec21.entry.js +1 -0
  89. package/dist/ptcw-design/{p-1b3b0193.entry.js → p-6ff80c95.entry.js} +1 -1
  90. package/dist/ptcw-design/p-797e4a7d.entry.js +1 -0
  91. package/dist/ptcw-design/p-9372c930.entry.js +1 -0
  92. package/dist/ptcw-design/p-9a35c9e2.entry.js +1 -0
  93. package/dist/ptcw-design/{p-22fd400f.entry.js → p-aafe51df.entry.js} +1 -1
  94. package/dist/ptcw-design/p-abd4772d.entry.js +1 -0
  95. package/dist/ptcw-design/{p-75dc7328.entry.js → p-ac57feca.entry.js} +1 -1
  96. package/dist/ptcw-design/{p-2ca3c085.js → p-b1afaef3.js} +1 -1
  97. package/dist/ptcw-design/p-b3d73b7f.entry.js +1 -0
  98. package/dist/ptcw-design/p-b85eda19.entry.js +1 -0
  99. package/dist/ptcw-design/p-bac826ad.entry.js +1 -0
  100. package/dist/ptcw-design/{p-e4b96b46.entry.js → p-da7ee0ba.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-32ef3a79.entry.js → p-e2492128.entry.js} +1 -1
  102. package/dist/ptcw-design/p-e266fc0b.entry.js +1 -0
  103. package/dist/ptcw-design/ptcw-design.css +2 -2
  104. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  105. package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
  106. package/dist/types/components/list-item/list-item.d.ts +2 -1
  107. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -0
  108. package/dist/types/components/ptc-button/ptc-button.d.ts +7 -3
  109. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +5 -0
  110. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +11 -0
  111. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -0
  112. package/dist/types/components/ptc-date/ptc-date.d.ts +5 -0
  113. package/dist/types/components/ptc-hero/ptc-hero.d.ts +5 -0
  114. package/dist/types/components/ptc-img/ptc-img.d.ts +3 -0
  115. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
  116. package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
  117. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +17 -0
  118. package/dist/types/components/ptc-para/ptc-para.d.ts +11 -3
  119. package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -1
  120. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +1 -1
  121. package/dist/types/components/ptc-span/ptc-span.d.ts +4 -1
  122. package/dist/types/components/ptc-title/ptc-title.d.ts +14 -2
  123. package/dist/types/components.d.ts +239 -30
  124. package/package.json +1 -1
  125. package/readme.md +1 -1
  126. package/dist/cjs/icon-asset.cjs.entry.js +0 -64
  127. package/dist/cjs/ptc-date.cjs.entry.js +0 -48
  128. package/dist/cjs/ptc-link.cjs.entry.js +0 -53
  129. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
  130. package/dist/cjs/ptc-para.cjs.entry.js +0 -40
  131. package/dist/cjs/ptc-picture.cjs.entry.js +0 -159
  132. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
  133. package/dist/cjs/ptc-title.cjs.entry.js +0 -49
  134. package/dist/esm/icon-asset.entry.js +0 -60
  135. package/dist/esm/ptc-date.entry.js +0 -44
  136. package/dist/esm/ptc-link.entry.js +0 -49
  137. package/dist/esm/ptc-overlay.entry.js +0 -15
  138. package/dist/esm/ptc-para.entry.js +0 -36
  139. package/dist/esm/ptc-picture.entry.js +0 -155
  140. package/dist/esm/ptc-spacer.entry.js +0 -42
  141. package/dist/esm/ptc-title.entry.js +0 -45
  142. package/dist/ptcw-design/p-01f4bf71.entry.js +0 -1
  143. package/dist/ptcw-design/p-08827128.entry.js +0 -1
  144. package/dist/ptcw-design/p-1bf9750d.entry.js +0 -1
  145. package/dist/ptcw-design/p-23d07898.entry.js +0 -1
  146. package/dist/ptcw-design/p-29c54eb0.entry.js +0 -1
  147. package/dist/ptcw-design/p-2b59ce7a.entry.js +0 -1
  148. package/dist/ptcw-design/p-389a5670.entry.js +0 -1
  149. package/dist/ptcw-design/p-51443fbb.entry.js +0 -1
  150. package/dist/ptcw-design/p-54794e45.entry.js +0 -1
  151. package/dist/ptcw-design/p-5ae43421.entry.js +0 -1
  152. package/dist/ptcw-design/p-63b55aba.entry.js +0 -1
  153. package/dist/ptcw-design/p-6b5c0d9d.entry.js +0 -1
  154. package/dist/ptcw-design/p-7076b32f.entry.js +0 -1
  155. package/dist/ptcw-design/p-a86452af.entry.js +0 -1
  156. package/dist/ptcw-design/p-d3f9852f.entry.js +0 -1
  157. package/dist/ptcw-design/p-d80b24c9.entry.js +0 -1
  158. package/dist/ptcw-design/p-fd29d9dd.entry.js +0 -1
@@ -22,7 +22,7 @@ export namespace Components {
22
22
  /**
23
23
  * Icon Size
24
24
  */
25
- "size": 'x-small' | 'small' | 'large' | 'xx-large';
25
+ "size": 'x-small' | 'small' | 'large' | 'x-large' | 'xx-large';
26
26
  /**
27
27
  * Icon Spin Animation (not valid for ptc type)
28
28
  */
@@ -33,8 +33,9 @@ export namespace Components {
33
33
  "type": 'solid' | 'brands' | 'ptc' | 'regular';
34
34
  }
35
35
  interface ListItem {
36
+ "flushBefore": boolean;
36
37
  "linkHref"?: string;
37
- "listType": 'link-primary' | 'link-sub' | 'icon' | 'para-list';
38
+ "listType": 'list-primary' | 'breadcrumb';
38
39
  }
39
40
  interface MyComponent {
40
41
  /**
@@ -78,6 +79,8 @@ export namespace Components {
78
79
  }
79
80
  interface PtcAvatar {
80
81
  }
82
+ interface PtcBreadcrumb {
83
+ }
81
84
  interface PtcButton {
82
85
  /**
83
86
  * Button theme color
@@ -96,11 +99,15 @@ export namespace Components {
96
99
  */
97
100
  "iconPosition": 'icon-left' | 'icon-right';
98
101
  /**
99
- * Link URL (Optional)
102
+ * Link URL
100
103
  */
101
104
  "linkHref"?: string;
102
105
  /**
103
- * (optional) Link rel
106
+ * link Title
107
+ */
108
+ "linkTitle"?: string;
109
+ /**
110
+ * Link rel
104
111
  */
105
112
  "rel"?: string;
106
113
  /**
@@ -112,7 +119,7 @@ export namespace Components {
112
119
  */
113
120
  "tabNav": number;
114
121
  /**
115
- * (optional) Link target
122
+ * Link target
116
123
  */
117
124
  "target"?: string;
118
125
  /**
@@ -166,6 +173,18 @@ export namespace Components {
166
173
  */
167
174
  "target"?: string;
168
175
  }
176
+ interface PtcCardBottom {
177
+ "cardType": "card-video" | "card-tall" | "card-2up" | "card-wide" | "card-playlist";
178
+ }
179
+ interface PtcCardContent {
180
+ "cardType": 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'speed-bump' | 'card-playlist';
181
+ }
182
+ interface PtcCardPlm {
183
+ "cardLink": string;
184
+ "cardType": 'card-video'| 'card-tall' | 'card-wide' | 'speed-bump' | 'card-playlist' | 'card-video-intro';
185
+ "linkTarget": string;
186
+ "linkTitle": string;
187
+ }
169
188
  interface PtcCountdown {
170
189
  }
171
190
  interface PtcDate {
@@ -173,6 +192,10 @@ export namespace Components {
173
192
  * Country examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES
174
193
  */
175
194
  "country": string | undefined;
195
+ /**
196
+ * Date Color
197
+ */
198
+ "dateColor": 'white' | 'primary-grey';
176
199
  /**
177
200
  * Date examples: 2000-1-1 or 2000/01/01
178
201
  */
@@ -198,6 +221,9 @@ export namespace Components {
198
221
  }
199
222
  interface PtcForm {
200
223
  }
224
+ interface PtcHero {
225
+ "heroType": 'jumbotron' | 'footer-cta';
226
+ }
201
227
  interface PtcImg {
202
228
  /**
203
229
  * Image border shape
@@ -266,7 +292,7 @@ export namespace Components {
266
292
  /**
267
293
  * Theme
268
294
  */
269
- "theme": 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link';
295
+ "theme": 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link' | 'arrow-plm';
270
296
  /**
271
297
  * Uppercase
272
298
  */
@@ -274,7 +300,7 @@ export namespace Components {
274
300
  }
275
301
  interface PtcList {
276
302
  "listItems"?: string[];
277
- "listType": 'link-primary' | 'link-sub' | 'icon' | 'para-list';
303
+ "listType": 'list-primary';
278
304
  }
279
305
  interface PtcLottie {
280
306
  /**
@@ -319,24 +345,48 @@ export namespace Components {
319
345
  "url": string;
320
346
  }
321
347
  interface PtcOverlay {
348
+ /**
349
+ * Overlay border shape
350
+ */
351
+ "borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
352
+ /**
353
+ * Filter Color
354
+ */
355
+ "filterColor": 'blue' | 'red' | 'orange' | 'green' | 'black-1-xs' | 'black-2-xs' | 'black-1-sm' | 'black-2-sm' | 'black-3' | 'slate-grey';
356
+ /**
357
+ * Overlay z-index
358
+ */
359
+ "overlayZIndex": 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2';
360
+ /**
361
+ * Injected Styles
362
+ */
363
+ "styles"?: string;
322
364
  }
323
365
  interface PtcPara {
324
366
  /**
325
367
  * Paragraph font size
326
368
  */
327
- "fontSize": 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large';
369
+ "fontSize": 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'font-size-15';
328
370
  /**
329
371
  * Paragraph font weight
330
372
  */
331
373
  "fontWeight": 'w-3' | 'w-4' | 'w-5' | 'w-6' | 'w-7' | 'w-8' | 'w-9';
374
+ /**
375
+ * Paragraph Color
376
+ */
377
+ "paraColor": 'primary-grey' | 'white';
378
+ /**
379
+ * line height
380
+ */
381
+ "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';
332
382
  /**
333
383
  * Paragraph Margin
334
384
  */
335
- "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';
385
+ "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';
336
386
  /**
337
387
  * Paragraph Style
338
388
  */
339
- "paraStyle": 'default' | 'intro' | 'small' | 'announcement';
389
+ "paraStyle": 'default' | 'intro' | 'small' | 'announcement' | 'flush-style' | 'main';
340
390
  }
341
391
  interface PtcPicture {
342
392
  /**
@@ -346,11 +396,15 @@ export namespace Components {
346
396
  /**
347
397
  * Image border shape
348
398
  */
349
- "borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | '';
399
+ "borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
350
400
  /**
351
401
  * Set height Value unit: pixles Just put numbers without unit
352
402
  */
353
403
  "height"?: string;
404
+ /**
405
+ * Image Position
406
+ */
407
+ "imagePosition": 'relative' | 'absolute' | 'static';
354
408
  /**
355
409
  * Object Fit Default: cover
356
410
  */
@@ -402,14 +456,17 @@ export namespace Components {
402
456
  /**
403
457
  * Spacing Size
404
458
  */
405
- "size": 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large';
459
+ "size": 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large' | 'space-144' | 'space-120';
406
460
  }
407
461
  interface PtcSpan {
462
+ /**
463
+ * Display
464
+ */
408
465
  "display": 'block' | 'inline-block' | 'inline';
409
466
  /**
410
467
  * Span Style
411
468
  */
412
- "spanStyle": 'link-style' | 'tag-style' | 'nav-style';
469
+ "spanStyle": 'link-style' | 'tag-style' | 'nav-style' | 'plm-hub-style';
413
470
  /**
414
471
  * Injected Styles
415
472
  */
@@ -419,10 +476,34 @@ export namespace Components {
419
476
  "svgName"?: string;
420
477
  }
421
478
  interface PtcTitle {
479
+ /**
480
+ * Is this title using on the PLM Hub page
481
+ */
482
+ "isPlmHub": boolean;
483
+ /**
484
+ * Injected Style
485
+ */
486
+ "styles"?: string;
422
487
  /**
423
488
  * Text Align
424
489
  */
425
- "textAlign": 'left' | 'center' | 'right';
490
+ "textAlign": 'left' | 'center' | 'right' | 'inherit';
491
+ /**
492
+ * Title Margin
493
+ */
494
+ "titleMargin"?: | 'margin-flush'
495
+ | 'margin-top-3'
496
+ | 'margin-top-4'
497
+ | 'margin-top-5'
498
+ | 'margin-top-6'
499
+ | 'margin-bottom-3'
500
+ | 'margin-bottom-4'
501
+ | 'margin-bottom-5'
502
+ | 'margin-bottom-6'
503
+ | 'margin-3'
504
+ | 'margin-4'
505
+ | 'margin-5'
506
+ | 'margin-6';
426
507
  /**
427
508
  * Title Tag Type
428
509
  */
@@ -430,7 +511,7 @@ export namespace Components {
430
511
  /**
431
512
  * Upperline Style
432
513
  */
433
- "upperline": 'dotted' | 'solid';
514
+ "upperline": 'dotted' | 'solid' | 'no-upperline';
434
515
  }
435
516
  }
436
517
  declare global {
@@ -464,6 +545,12 @@ declare global {
464
545
  prototype: HTMLPtcAvatarElement;
465
546
  new (): HTMLPtcAvatarElement;
466
547
  };
548
+ interface HTMLPtcBreadcrumbElement extends Components.PtcBreadcrumb, HTMLStencilElement {
549
+ }
550
+ var HTMLPtcBreadcrumbElement: {
551
+ prototype: HTMLPtcBreadcrumbElement;
552
+ new (): HTMLPtcBreadcrumbElement;
553
+ };
467
554
  interface HTMLPtcButtonElement extends Components.PtcButton, HTMLStencilElement {
468
555
  }
469
556
  var HTMLPtcButtonElement: {
@@ -476,6 +563,24 @@ declare global {
476
563
  prototype: HTMLPtcCardElement;
477
564
  new (): HTMLPtcCardElement;
478
565
  };
566
+ interface HTMLPtcCardBottomElement extends Components.PtcCardBottom, HTMLStencilElement {
567
+ }
568
+ var HTMLPtcCardBottomElement: {
569
+ prototype: HTMLPtcCardBottomElement;
570
+ new (): HTMLPtcCardBottomElement;
571
+ };
572
+ interface HTMLPtcCardContentElement extends Components.PtcCardContent, HTMLStencilElement {
573
+ }
574
+ var HTMLPtcCardContentElement: {
575
+ prototype: HTMLPtcCardContentElement;
576
+ new (): HTMLPtcCardContentElement;
577
+ };
578
+ interface HTMLPtcCardPlmElement extends Components.PtcCardPlm, HTMLStencilElement {
579
+ }
580
+ var HTMLPtcCardPlmElement: {
581
+ prototype: HTMLPtcCardPlmElement;
582
+ new (): HTMLPtcCardPlmElement;
583
+ };
479
584
  interface HTMLPtcCountdownElement extends Components.PtcCountdown, HTMLStencilElement {
480
585
  }
481
586
  var HTMLPtcCountdownElement: {
@@ -500,6 +605,12 @@ declare global {
500
605
  prototype: HTMLPtcFormElement;
501
606
  new (): HTMLPtcFormElement;
502
607
  };
608
+ interface HTMLPtcHeroElement extends Components.PtcHero, HTMLStencilElement {
609
+ }
610
+ var HTMLPtcHeroElement: {
611
+ prototype: HTMLPtcHeroElement;
612
+ new (): HTMLPtcHeroElement;
613
+ };
503
614
  interface HTMLPtcImgElement extends Components.PtcImg, HTMLStencilElement {
504
615
  }
505
616
  var HTMLPtcImgElement: {
@@ -596,12 +707,17 @@ declare global {
596
707
  "my-component": HTMLMyComponentElement;
597
708
  "ptc-announcement": HTMLPtcAnnouncementElement;
598
709
  "ptc-avatar": HTMLPtcAvatarElement;
710
+ "ptc-breadcrumb": HTMLPtcBreadcrumbElement;
599
711
  "ptc-button": HTMLPtcButtonElement;
600
712
  "ptc-card": HTMLPtcCardElement;
713
+ "ptc-card-bottom": HTMLPtcCardBottomElement;
714
+ "ptc-card-content": HTMLPtcCardContentElement;
715
+ "ptc-card-plm": HTMLPtcCardPlmElement;
601
716
  "ptc-countdown": HTMLPtcCountdownElement;
602
717
  "ptc-date": HTMLPtcDateElement;
603
718
  "ptc-footer": HTMLPtcFooterElement;
604
719
  "ptc-form": HTMLPtcFormElement;
720
+ "ptc-hero": HTMLPtcHeroElement;
605
721
  "ptc-img": HTMLPtcImgElement;
606
722
  "ptc-input": HTMLPtcInputElement;
607
723
  "ptc-link": HTMLPtcLinkElement;
@@ -636,7 +752,7 @@ declare namespace LocalJSX {
636
752
  /**
637
753
  * Icon Size
638
754
  */
639
- "size"?: 'x-small' | 'small' | 'large' | 'xx-large';
755
+ "size"?: 'x-small' | 'small' | 'large' | 'x-large' | 'xx-large';
640
756
  /**
641
757
  * Icon Spin Animation (not valid for ptc type)
642
758
  */
@@ -647,8 +763,9 @@ declare namespace LocalJSX {
647
763
  "type"?: 'solid' | 'brands' | 'ptc' | 'regular';
648
764
  }
649
765
  interface ListItem {
766
+ "flushBefore"?: boolean;
650
767
  "linkHref"?: string;
651
- "listType"?: 'link-primary' | 'link-sub' | 'icon' | 'para-list';
768
+ "listType"?: 'list-primary' | 'breadcrumb';
652
769
  }
653
770
  interface MyComponent {
654
771
  /**
@@ -696,6 +813,8 @@ declare namespace LocalJSX {
696
813
  }
697
814
  interface PtcAvatar {
698
815
  }
816
+ interface PtcBreadcrumb {
817
+ }
699
818
  interface PtcButton {
700
819
  /**
701
820
  * Button theme color
@@ -714,15 +833,19 @@ declare namespace LocalJSX {
714
833
  */
715
834
  "iconPosition"?: 'icon-left' | 'icon-right';
716
835
  /**
717
- * Link URL (Optional)
836
+ * Link URL
718
837
  */
719
838
  "linkHref"?: string;
839
+ /**
840
+ * link Title
841
+ */
842
+ "linkTitle"?: string;
720
843
  /**
721
844
  * Emitted when the button has focus.
722
845
  */
723
846
  "onClickEvent"?: (event: CustomEvent<void>) => void;
724
847
  /**
725
- * (optional) Link rel
848
+ * Link rel
726
849
  */
727
850
  "rel"?: string;
728
851
  /**
@@ -734,7 +857,7 @@ declare namespace LocalJSX {
734
857
  */
735
858
  "tabNav"?: number;
736
859
  /**
737
- * (optional) Link target
860
+ * Link target
738
861
  */
739
862
  "target"?: string;
740
863
  /**
@@ -788,6 +911,20 @@ declare namespace LocalJSX {
788
911
  */
789
912
  "target"?: string;
790
913
  }
914
+ interface PtcCardBottom {
915
+ "cardType"?: "card-video" | "card-tall" | "card-2up" | "card-wide" | "card-playlist";
916
+ }
917
+ interface PtcCardContent {
918
+ "cardType"?: 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'speed-bump' | 'card-playlist';
919
+ "onHoverEvent"?: (event: CustomEvent<void>) => void;
920
+ "onLeaveEvent"?: (event: CustomEvent<void>) => void;
921
+ }
922
+ interface PtcCardPlm {
923
+ "cardLink"?: string;
924
+ "cardType"?: 'card-video'| 'card-tall' | 'card-wide' | 'speed-bump' | 'card-playlist' | 'card-video-intro';
925
+ "linkTarget"?: string;
926
+ "linkTitle"?: string;
927
+ }
791
928
  interface PtcCountdown {
792
929
  }
793
930
  interface PtcDate {
@@ -795,6 +932,10 @@ declare namespace LocalJSX {
795
932
  * Country examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES
796
933
  */
797
934
  "country"?: string | undefined;
935
+ /**
936
+ * Date Color
937
+ */
938
+ "dateColor"?: 'white' | 'primary-grey';
798
939
  /**
799
940
  * Date examples: 2000-1-1 or 2000/01/01
800
941
  */
@@ -820,6 +961,9 @@ declare namespace LocalJSX {
820
961
  }
821
962
  interface PtcForm {
822
963
  }
964
+ interface PtcHero {
965
+ "heroType"?: 'jumbotron' | 'footer-cta';
966
+ }
823
967
  interface PtcImg {
824
968
  /**
825
969
  * Image border shape
@@ -896,7 +1040,7 @@ declare namespace LocalJSX {
896
1040
  /**
897
1041
  * Theme
898
1042
  */
899
- "theme"?: 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link';
1043
+ "theme"?: 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link' | 'arrow-plm';
900
1044
  /**
901
1045
  * Uppercase
902
1046
  */
@@ -904,7 +1048,7 @@ declare namespace LocalJSX {
904
1048
  }
905
1049
  interface PtcList {
906
1050
  "listItems"?: string[];
907
- "listType"?: 'link-primary' | 'link-sub' | 'icon' | 'para-list';
1051
+ "listType"?: 'list-primary';
908
1052
  }
909
1053
  interface PtcLottie {
910
1054
  /**
@@ -953,24 +1097,48 @@ declare namespace LocalJSX {
953
1097
  "url"?: string;
954
1098
  }
955
1099
  interface PtcOverlay {
1100
+ /**
1101
+ * Overlay border shape
1102
+ */
1103
+ "borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
1104
+ /**
1105
+ * Filter Color
1106
+ */
1107
+ "filterColor"?: 'blue' | 'red' | 'orange' | 'green' | 'black-1-xs' | 'black-2-xs' | 'black-1-sm' | 'black-2-sm' | 'black-3' | 'slate-grey';
1108
+ /**
1109
+ * Overlay z-index
1110
+ */
1111
+ "overlayZIndex"?: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2';
1112
+ /**
1113
+ * Injected Styles
1114
+ */
1115
+ "styles"?: string;
956
1116
  }
957
1117
  interface PtcPara {
958
1118
  /**
959
1119
  * Paragraph font size
960
1120
  */
961
- "fontSize"?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large';
1121
+ "fontSize"?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'font-size-15';
962
1122
  /**
963
1123
  * Paragraph font weight
964
1124
  */
965
1125
  "fontWeight"?: 'w-3' | 'w-4' | 'w-5' | 'w-6' | 'w-7' | 'w-8' | 'w-9';
1126
+ /**
1127
+ * Paragraph Color
1128
+ */
1129
+ "paraColor"?: 'primary-grey' | 'white';
1130
+ /**
1131
+ * line height
1132
+ */
1133
+ "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';
966
1134
  /**
967
1135
  * Paragraph Margin
968
1136
  */
969
- "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';
1137
+ "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';
970
1138
  /**
971
1139
  * Paragraph Style
972
1140
  */
973
- "paraStyle"?: 'default' | 'intro' | 'small' | 'announcement';
1141
+ "paraStyle"?: 'default' | 'intro' | 'small' | 'announcement' | 'flush-style' | 'main';
974
1142
  }
975
1143
  interface PtcPicture {
976
1144
  /**
@@ -980,11 +1148,15 @@ declare namespace LocalJSX {
980
1148
  /**
981
1149
  * Image border shape
982
1150
  */
983
- "borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | '';
1151
+ "borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
984
1152
  /**
985
1153
  * Set height Value unit: pixles Just put numbers without unit
986
1154
  */
987
1155
  "height"?: string;
1156
+ /**
1157
+ * Image Position
1158
+ */
1159
+ "imagePosition"?: 'relative' | 'absolute' | 'static';
988
1160
  /**
989
1161
  * Object Fit Default: cover
990
1162
  */
@@ -1036,14 +1208,17 @@ declare namespace LocalJSX {
1036
1208
  /**
1037
1209
  * Spacing Size
1038
1210
  */
1039
- "size"?: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large';
1211
+ "size"?: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large' | 'space-144' | 'space-120';
1040
1212
  }
1041
1213
  interface PtcSpan {
1214
+ /**
1215
+ * Display
1216
+ */
1042
1217
  "display"?: 'block' | 'inline-block' | 'inline';
1043
1218
  /**
1044
1219
  * Span Style
1045
1220
  */
1046
- "spanStyle"?: 'link-style' | 'tag-style' | 'nav-style';
1221
+ "spanStyle"?: 'link-style' | 'tag-style' | 'nav-style' | 'plm-hub-style';
1047
1222
  /**
1048
1223
  * Injected Styles
1049
1224
  */
@@ -1053,10 +1228,34 @@ declare namespace LocalJSX {
1053
1228
  "svgName"?: string;
1054
1229
  }
1055
1230
  interface PtcTitle {
1231
+ /**
1232
+ * Is this title using on the PLM Hub page
1233
+ */
1234
+ "isPlmHub"?: boolean;
1235
+ /**
1236
+ * Injected Style
1237
+ */
1238
+ "styles"?: string;
1056
1239
  /**
1057
1240
  * Text Align
1058
1241
  */
1059
- "textAlign"?: 'left' | 'center' | 'right';
1242
+ "textAlign"?: 'left' | 'center' | 'right' | 'inherit';
1243
+ /**
1244
+ * Title Margin
1245
+ */
1246
+ "titleMargin"?: | 'margin-flush'
1247
+ | 'margin-top-3'
1248
+ | 'margin-top-4'
1249
+ | 'margin-top-5'
1250
+ | 'margin-top-6'
1251
+ | 'margin-bottom-3'
1252
+ | 'margin-bottom-4'
1253
+ | 'margin-bottom-5'
1254
+ | 'margin-bottom-6'
1255
+ | 'margin-3'
1256
+ | 'margin-4'
1257
+ | 'margin-5'
1258
+ | 'margin-6';
1060
1259
  /**
1061
1260
  * Title Tag Type
1062
1261
  */
@@ -1064,7 +1263,7 @@ declare namespace LocalJSX {
1064
1263
  /**
1065
1264
  * Upperline Style
1066
1265
  */
1067
- "upperline"?: 'dotted' | 'solid';
1266
+ "upperline"?: 'dotted' | 'solid' | 'no-upperline';
1068
1267
  }
1069
1268
  interface IntrinsicElements {
1070
1269
  "icon-asset": IconAsset;
@@ -1072,12 +1271,17 @@ declare namespace LocalJSX {
1072
1271
  "my-component": MyComponent;
1073
1272
  "ptc-announcement": PtcAnnouncement;
1074
1273
  "ptc-avatar": PtcAvatar;
1274
+ "ptc-breadcrumb": PtcBreadcrumb;
1075
1275
  "ptc-button": PtcButton;
1076
1276
  "ptc-card": PtcCard;
1277
+ "ptc-card-bottom": PtcCardBottom;
1278
+ "ptc-card-content": PtcCardContent;
1279
+ "ptc-card-plm": PtcCardPlm;
1077
1280
  "ptc-countdown": PtcCountdown;
1078
1281
  "ptc-date": PtcDate;
1079
1282
  "ptc-footer": PtcFooter;
1080
1283
  "ptc-form": PtcForm;
1284
+ "ptc-hero": PtcHero;
1081
1285
  "ptc-img": PtcImg;
1082
1286
  "ptc-input": PtcInput;
1083
1287
  "ptc-link": PtcLink;
@@ -1104,12 +1308,17 @@ declare module "@stencil/core" {
1104
1308
  "my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
1105
1309
  "ptc-announcement": LocalJSX.PtcAnnouncement & JSXBase.HTMLAttributes<HTMLPtcAnnouncementElement>;
1106
1310
  "ptc-avatar": LocalJSX.PtcAvatar & JSXBase.HTMLAttributes<HTMLPtcAvatarElement>;
1311
+ "ptc-breadcrumb": LocalJSX.PtcBreadcrumb & JSXBase.HTMLAttributes<HTMLPtcBreadcrumbElement>;
1107
1312
  "ptc-button": LocalJSX.PtcButton & JSXBase.HTMLAttributes<HTMLPtcButtonElement>;
1108
1313
  "ptc-card": LocalJSX.PtcCard & JSXBase.HTMLAttributes<HTMLPtcCardElement>;
1314
+ "ptc-card-bottom": LocalJSX.PtcCardBottom & JSXBase.HTMLAttributes<HTMLPtcCardBottomElement>;
1315
+ "ptc-card-content": LocalJSX.PtcCardContent & JSXBase.HTMLAttributes<HTMLPtcCardContentElement>;
1316
+ "ptc-card-plm": LocalJSX.PtcCardPlm & JSXBase.HTMLAttributes<HTMLPtcCardPlmElement>;
1109
1317
  "ptc-countdown": LocalJSX.PtcCountdown & JSXBase.HTMLAttributes<HTMLPtcCountdownElement>;
1110
1318
  "ptc-date": LocalJSX.PtcDate & JSXBase.HTMLAttributes<HTMLPtcDateElement>;
1111
1319
  "ptc-footer": LocalJSX.PtcFooter & JSXBase.HTMLAttributes<HTMLPtcFooterElement>;
1112
1320
  "ptc-form": LocalJSX.PtcForm & JSXBase.HTMLAttributes<HTMLPtcFormElement>;
1321
+ "ptc-hero": LocalJSX.PtcHero & JSXBase.HTMLAttributes<HTMLPtcHeroElement>;
1113
1322
  "ptc-img": LocalJSX.PtcImg & JSXBase.HTMLAttributes<HTMLPtcImgElement>;
1114
1323
  "ptc-input": LocalJSX.PtcInput & JSXBase.HTMLAttributes<HTMLPtcInputElement>;
1115
1324
  "ptc-link": LocalJSX.PtcLink & JSXBase.HTMLAttributes<HTMLPtcLinkElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ptcwebops/ptcw-design",
3
- "version": "0.2.8",
3
+ "version": "0.3.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/custom-elements/index.js",
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
2
 
3
- # PTC Design 0.2.7
3
+ # PTC Design 0.3.0
4
4
 
5
5
  The site is the place for documentation on PTC Design System
6
6