@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.
- package/dist/cjs/icon-asset_16.cjs.entry.js +812 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-announcement.cjs.entry.js} +0 -25
- package/dist/cjs/ptc-list.cjs.entry.js +2 -3
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +31 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +5 -0
- package/dist/collection/components/icon-asset/media/designer.svg +33 -0
- package/dist/collection/components/list-item/list-item.css +39 -1
- package/dist/collection/components/list-item/list-item.js +26 -5
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -0
- package/dist/collection/components/ptc-button/ptc-button.css +12 -1
- package/dist/collection/components/ptc-button/ptc-button.js +29 -7
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +12 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +41 -0
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +61 -0
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +81 -0
- package/dist/collection/components/ptc-card-plm/ptc-card-plm.css +19 -0
- package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -0
- package/dist/collection/components/ptc-hero/ptc-hero.css +13 -0
- package/dist/collection/components/ptc-hero/ptc-hero.js +43 -0
- package/dist/collection/components/ptc-img/ptc-img.js +6 -1
- package/dist/collection/components/ptc-link/ptc-link.css +25 -3
- package/dist/collection/components/ptc-link/ptc-link.js +3 -2
- package/dist/collection/components/ptc-list/ptc-list.css +8 -4
- package/dist/collection/components/ptc-list/ptc-list.js +5 -8
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +81 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +88 -3
- package/dist/collection/components/ptc-para/ptc-para.css +59 -0
- package/dist/collection/components/ptc-para/ptc-para.js +53 -7
- package/dist/collection/components/ptc-picture/ptc-picture.css +28 -1
- package/dist/collection/components/ptc-picture/ptc-picture.js +27 -9
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +11 -0
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +2 -2
- package/dist/collection/components/ptc-span/ptc-span.css +26 -1
- package/dist/collection/components/ptc-span/ptc-span.js +6 -3
- package/dist/collection/components/ptc-title/ptc-title.css +108 -11
- package/dist/collection/components/ptc-title/ptc-title.js +62 -4
- package/dist/custom-elements/index.d.ts +30 -0
- package/dist/custom-elements/index.js +199 -35
- package/dist/esm/icon-asset_16.entry.js +793 -0
- package/dist/esm/{index-eb8ce23d.js → index-6ce5b664.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/lottie-player.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/{ptc-announcement_2.entry.js → ptc-announcement.entry.js} +2 -26
- package/dist/esm/ptc-avatar.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-input.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +3 -4
- package/dist/esm/ptc-lottie.entry.js +1 -1
- package/dist/esm/ptc-nav-item.entry.js +1 -1
- package/dist/esm/ptc-nav.entry.js +1 -1
- package/dist/esm/ptc-select.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +27 -0
- package/dist/esm/ptcw-design.js +2 -2
- package/dist/ptcw-design/media/designer.svg +33 -0
- package/dist/ptcw-design/{p-63b55aba.entry.js → p-281824f5.entry.js} +1 -1
- package/dist/ptcw-design/p-31b2af1d.entry.js +1 -0
- package/dist/ptcw-design/{p-f94c4594.entry.js → p-3437fbce.entry.js} +1 -1
- package/dist/ptcw-design/{p-e8650244.entry.js → p-542939d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-ef6acb81.entry.js → p-5c78913c.entry.js} +1 -1
- package/dist/ptcw-design/{p-3f42afb6.entry.js → p-5eb74dc3.entry.js} +1 -1
- package/dist/ptcw-design/p-609dec21.entry.js +1 -0
- package/dist/ptcw-design/{p-1b3b0193.entry.js → p-6ff80c95.entry.js} +1 -1
- package/dist/ptcw-design/p-8bbb4277.entry.js +1 -0
- package/dist/ptcw-design/p-9a35c9e2.entry.js +1 -0
- package/dist/ptcw-design/{p-22fd400f.entry.js → p-aafe51df.entry.js} +1 -1
- package/dist/ptcw-design/{p-75dc7328.entry.js → p-ac57feca.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ca3c085.js → p-b1afaef3.js} +1 -1
- package/dist/ptcw-design/p-b85eda19.entry.js +1 -0
- package/dist/ptcw-design/p-bac826ad.entry.js +1 -0
- package/dist/ptcw-design/{p-e4b96b46.entry.js → p-da7ee0ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-32ef3a79.entry.js → p-e2492128.entry.js} +1 -1
- package/dist/ptcw-design/p-e266fc0b.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +7 -3
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +5 -0
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +11 -0
- package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -0
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +5 -0
- package/dist/types/components/ptc-img/ptc-img.d.ts +3 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +17 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +11 -3
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -1
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +1 -1
- package/dist/types/components/ptc-span/ptc-span.d.ts +4 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +14 -2
- package/dist/types/components.d.ts +229 -28
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/interfaces-0ecd8027.js +0 -15
- package/dist/cjs/list-item.cjs.entry.js +0 -27
- package/dist/cjs/ptc-button.cjs.entry.js +0 -72
- package/dist/cjs/ptc-img.cjs.entry.js +0 -155
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
- package/dist/cjs/ptc-para.cjs.entry.js +0 -40
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -159
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
- package/dist/cjs/ptc-span.cjs.entry.js +0 -31
- package/dist/cjs/ptc-title.cjs.entry.js +0 -49
- package/dist/esm/icon-asset.entry.js +0 -60
- package/dist/esm/interfaces-3cb94654.js +0 -12
- package/dist/esm/list-item.entry.js +0 -23
- package/dist/esm/ptc-button.entry.js +0 -68
- package/dist/esm/ptc-img.entry.js +0 -151
- package/dist/esm/ptc-link.entry.js +0 -49
- package/dist/esm/ptc-overlay.entry.js +0 -15
- package/dist/esm/ptc-para.entry.js +0 -36
- package/dist/esm/ptc-picture.entry.js +0 -155
- package/dist/esm/ptc-spacer.entry.js +0 -42
- package/dist/esm/ptc-span.entry.js +0 -27
- package/dist/esm/ptc-title.entry.js +0 -45
- package/dist/ptcw-design/p-01f4bf71.entry.js +0 -1
- package/dist/ptcw-design/p-08827128.entry.js +0 -1
- package/dist/ptcw-design/p-1bf9750d.entry.js +0 -1
- package/dist/ptcw-design/p-23d07898.entry.js +0 -1
- package/dist/ptcw-design/p-240733ce.js +0 -1
- package/dist/ptcw-design/p-29c54eb0.entry.js +0 -1
- package/dist/ptcw-design/p-2b59ce7a.entry.js +0 -1
- package/dist/ptcw-design/p-389a5670.entry.js +0 -1
- package/dist/ptcw-design/p-51443fbb.entry.js +0 -1
- package/dist/ptcw-design/p-54794e45.entry.js +0 -1
- package/dist/ptcw-design/p-5ae43421.entry.js +0 -1
- package/dist/ptcw-design/p-6b5c0d9d.entry.js +0 -1
- package/dist/ptcw-design/p-7076b32f.entry.js +0 -1
- package/dist/ptcw-design/p-a86452af.entry.js +0 -1
- package/dist/ptcw-design/p-d3f9852f.entry.js +0 -1
- package/dist/ptcw-design/p-d80b24c9.entry.js +0 -1
- package/dist/ptcw-design/p-fd29d9dd.entry.js +0 -1
|
@@ -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": '
|
|
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
|
|
102
|
+
* Link URL
|
|
100
103
|
*/
|
|
101
104
|
"linkHref"?: string;
|
|
102
105
|
/**
|
|
103
|
-
*
|
|
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
|
-
*
|
|
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";
|
|
178
|
+
}
|
|
179
|
+
interface PtcCardContent {
|
|
180
|
+
"cardType": 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'speed-bump';
|
|
181
|
+
}
|
|
182
|
+
interface PtcCardPlm {
|
|
183
|
+
"cardLink": string;
|
|
184
|
+
"cardType": 'card-video'| 'card-tall' | 'card-wide' | 'speed-bump';
|
|
185
|
+
"linkTarget": string;
|
|
186
|
+
"linkTitle": string;
|
|
187
|
+
}
|
|
169
188
|
interface PtcCountdown {
|
|
170
189
|
}
|
|
171
190
|
interface PtcDate {
|
|
@@ -198,6 +217,9 @@ export namespace Components {
|
|
|
198
217
|
}
|
|
199
218
|
interface PtcForm {
|
|
200
219
|
}
|
|
220
|
+
interface PtcHero {
|
|
221
|
+
"heroType": 'jumbotron' | 'footer-cta';
|
|
222
|
+
}
|
|
201
223
|
interface PtcImg {
|
|
202
224
|
/**
|
|
203
225
|
* Image border shape
|
|
@@ -266,7 +288,7 @@ export namespace Components {
|
|
|
266
288
|
/**
|
|
267
289
|
* Theme
|
|
268
290
|
*/
|
|
269
|
-
"theme": 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link';
|
|
291
|
+
"theme": 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link' | 'arrow-plm';
|
|
270
292
|
/**
|
|
271
293
|
* Uppercase
|
|
272
294
|
*/
|
|
@@ -274,7 +296,7 @@ export namespace Components {
|
|
|
274
296
|
}
|
|
275
297
|
interface PtcList {
|
|
276
298
|
"listItems"?: string[];
|
|
277
|
-
"listType": '
|
|
299
|
+
"listType": 'list-primary';
|
|
278
300
|
}
|
|
279
301
|
interface PtcLottie {
|
|
280
302
|
/**
|
|
@@ -319,24 +341,48 @@ export namespace Components {
|
|
|
319
341
|
"url": string;
|
|
320
342
|
}
|
|
321
343
|
interface PtcOverlay {
|
|
344
|
+
/**
|
|
345
|
+
* Overlay border shape
|
|
346
|
+
*/
|
|
347
|
+
"borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
|
|
348
|
+
/**
|
|
349
|
+
* Filter Color
|
|
350
|
+
*/
|
|
351
|
+
"filterColor": 'blue' | 'red' | 'orange' | 'green' | 'black-1-xs' | 'black-2-xs' | 'black-1-sm' | 'black-2-sm' | 'black-3' | 'slate-grey';
|
|
352
|
+
/**
|
|
353
|
+
* Overlay z-index
|
|
354
|
+
*/
|
|
355
|
+
"overlayZIndex": 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2';
|
|
356
|
+
/**
|
|
357
|
+
* Injected Styles
|
|
358
|
+
*/
|
|
359
|
+
"styles"?: string;
|
|
322
360
|
}
|
|
323
361
|
interface PtcPara {
|
|
324
362
|
/**
|
|
325
363
|
* Paragraph font size
|
|
326
364
|
*/
|
|
327
|
-
"fontSize": 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large';
|
|
365
|
+
"fontSize": 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'font-size-15';
|
|
328
366
|
/**
|
|
329
367
|
* Paragraph font weight
|
|
330
368
|
*/
|
|
331
369
|
"fontWeight": 'w-3' | 'w-4' | 'w-5' | 'w-6' | 'w-7' | 'w-8' | 'w-9';
|
|
370
|
+
/**
|
|
371
|
+
* Paragraph Color
|
|
372
|
+
*/
|
|
373
|
+
"paraColor": 'primary-grey' | 'white';
|
|
374
|
+
/**
|
|
375
|
+
* line height
|
|
376
|
+
*/
|
|
377
|
+
"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
378
|
/**
|
|
333
379
|
* Paragraph Margin
|
|
334
380
|
*/
|
|
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';
|
|
381
|
+
"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
382
|
/**
|
|
337
383
|
* Paragraph Style
|
|
338
384
|
*/
|
|
339
|
-
"paraStyle": 'default' | 'intro' | 'small' | 'announcement';
|
|
385
|
+
"paraStyle": 'default' | 'intro' | 'small' | 'announcement' | 'flush-style' | 'main';
|
|
340
386
|
}
|
|
341
387
|
interface PtcPicture {
|
|
342
388
|
/**
|
|
@@ -346,11 +392,15 @@ export namespace Components {
|
|
|
346
392
|
/**
|
|
347
393
|
* Image border shape
|
|
348
394
|
*/
|
|
349
|
-
"borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | '';
|
|
395
|
+
"borderRadius": 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
|
|
350
396
|
/**
|
|
351
397
|
* Set height Value unit: pixles Just put numbers without unit
|
|
352
398
|
*/
|
|
353
399
|
"height"?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Image Position
|
|
402
|
+
*/
|
|
403
|
+
"imagePosition": 'relative' | 'absolute' | 'static';
|
|
354
404
|
/**
|
|
355
405
|
* Object Fit Default: cover
|
|
356
406
|
*/
|
|
@@ -402,14 +452,17 @@ export namespace Components {
|
|
|
402
452
|
/**
|
|
403
453
|
* Spacing Size
|
|
404
454
|
*/
|
|
405
|
-
"size": 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large';
|
|
455
|
+
"size": 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large' | 'space-144' | 'space-120';
|
|
406
456
|
}
|
|
407
457
|
interface PtcSpan {
|
|
458
|
+
/**
|
|
459
|
+
* Display
|
|
460
|
+
*/
|
|
408
461
|
"display": 'block' | 'inline-block' | 'inline';
|
|
409
462
|
/**
|
|
410
463
|
* Span Style
|
|
411
464
|
*/
|
|
412
|
-
"spanStyle": 'link-style' | 'tag-style' | 'nav-style';
|
|
465
|
+
"spanStyle": 'link-style' | 'tag-style' | 'nav-style' | 'plm-hub-style';
|
|
413
466
|
/**
|
|
414
467
|
* Injected Styles
|
|
415
468
|
*/
|
|
@@ -419,10 +472,34 @@ export namespace Components {
|
|
|
419
472
|
"svgName"?: string;
|
|
420
473
|
}
|
|
421
474
|
interface PtcTitle {
|
|
475
|
+
/**
|
|
476
|
+
* Is this title using on the PLM Hub page
|
|
477
|
+
*/
|
|
478
|
+
"isPlmHub": boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Injected Style
|
|
481
|
+
*/
|
|
482
|
+
"styles"?: string;
|
|
422
483
|
/**
|
|
423
484
|
* Text Align
|
|
424
485
|
*/
|
|
425
|
-
"textAlign": 'left' | 'center' | 'right';
|
|
486
|
+
"textAlign": 'left' | 'center' | 'right' | 'inherit';
|
|
487
|
+
/**
|
|
488
|
+
* Title Margin
|
|
489
|
+
*/
|
|
490
|
+
"titleMargin"?: | 'margin-flush'
|
|
491
|
+
| 'margin-top-3'
|
|
492
|
+
| 'margin-top-4'
|
|
493
|
+
| 'margin-top-5'
|
|
494
|
+
| 'margin-top-6'
|
|
495
|
+
| 'margin-bottom-3'
|
|
496
|
+
| 'margin-bottom-4'
|
|
497
|
+
| 'margin-bottom-5'
|
|
498
|
+
| 'margin-bottom-6'
|
|
499
|
+
| 'margin-3'
|
|
500
|
+
| 'margin-4'
|
|
501
|
+
| 'margin-5'
|
|
502
|
+
| 'margin-6';
|
|
426
503
|
/**
|
|
427
504
|
* Title Tag Type
|
|
428
505
|
*/
|
|
@@ -430,7 +507,7 @@ export namespace Components {
|
|
|
430
507
|
/**
|
|
431
508
|
* Upperline Style
|
|
432
509
|
*/
|
|
433
|
-
"upperline": 'dotted' | 'solid';
|
|
510
|
+
"upperline": 'dotted' | 'solid' | 'no-upperline';
|
|
434
511
|
}
|
|
435
512
|
}
|
|
436
513
|
declare global {
|
|
@@ -464,6 +541,12 @@ declare global {
|
|
|
464
541
|
prototype: HTMLPtcAvatarElement;
|
|
465
542
|
new (): HTMLPtcAvatarElement;
|
|
466
543
|
};
|
|
544
|
+
interface HTMLPtcBreadcrumbElement extends Components.PtcBreadcrumb, HTMLStencilElement {
|
|
545
|
+
}
|
|
546
|
+
var HTMLPtcBreadcrumbElement: {
|
|
547
|
+
prototype: HTMLPtcBreadcrumbElement;
|
|
548
|
+
new (): HTMLPtcBreadcrumbElement;
|
|
549
|
+
};
|
|
467
550
|
interface HTMLPtcButtonElement extends Components.PtcButton, HTMLStencilElement {
|
|
468
551
|
}
|
|
469
552
|
var HTMLPtcButtonElement: {
|
|
@@ -476,6 +559,24 @@ declare global {
|
|
|
476
559
|
prototype: HTMLPtcCardElement;
|
|
477
560
|
new (): HTMLPtcCardElement;
|
|
478
561
|
};
|
|
562
|
+
interface HTMLPtcCardBottomElement extends Components.PtcCardBottom, HTMLStencilElement {
|
|
563
|
+
}
|
|
564
|
+
var HTMLPtcCardBottomElement: {
|
|
565
|
+
prototype: HTMLPtcCardBottomElement;
|
|
566
|
+
new (): HTMLPtcCardBottomElement;
|
|
567
|
+
};
|
|
568
|
+
interface HTMLPtcCardContentElement extends Components.PtcCardContent, HTMLStencilElement {
|
|
569
|
+
}
|
|
570
|
+
var HTMLPtcCardContentElement: {
|
|
571
|
+
prototype: HTMLPtcCardContentElement;
|
|
572
|
+
new (): HTMLPtcCardContentElement;
|
|
573
|
+
};
|
|
574
|
+
interface HTMLPtcCardPlmElement extends Components.PtcCardPlm, HTMLStencilElement {
|
|
575
|
+
}
|
|
576
|
+
var HTMLPtcCardPlmElement: {
|
|
577
|
+
prototype: HTMLPtcCardPlmElement;
|
|
578
|
+
new (): HTMLPtcCardPlmElement;
|
|
579
|
+
};
|
|
479
580
|
interface HTMLPtcCountdownElement extends Components.PtcCountdown, HTMLStencilElement {
|
|
480
581
|
}
|
|
481
582
|
var HTMLPtcCountdownElement: {
|
|
@@ -500,6 +601,12 @@ declare global {
|
|
|
500
601
|
prototype: HTMLPtcFormElement;
|
|
501
602
|
new (): HTMLPtcFormElement;
|
|
502
603
|
};
|
|
604
|
+
interface HTMLPtcHeroElement extends Components.PtcHero, HTMLStencilElement {
|
|
605
|
+
}
|
|
606
|
+
var HTMLPtcHeroElement: {
|
|
607
|
+
prototype: HTMLPtcHeroElement;
|
|
608
|
+
new (): HTMLPtcHeroElement;
|
|
609
|
+
};
|
|
503
610
|
interface HTMLPtcImgElement extends Components.PtcImg, HTMLStencilElement {
|
|
504
611
|
}
|
|
505
612
|
var HTMLPtcImgElement: {
|
|
@@ -596,12 +703,17 @@ declare global {
|
|
|
596
703
|
"my-component": HTMLMyComponentElement;
|
|
597
704
|
"ptc-announcement": HTMLPtcAnnouncementElement;
|
|
598
705
|
"ptc-avatar": HTMLPtcAvatarElement;
|
|
706
|
+
"ptc-breadcrumb": HTMLPtcBreadcrumbElement;
|
|
599
707
|
"ptc-button": HTMLPtcButtonElement;
|
|
600
708
|
"ptc-card": HTMLPtcCardElement;
|
|
709
|
+
"ptc-card-bottom": HTMLPtcCardBottomElement;
|
|
710
|
+
"ptc-card-content": HTMLPtcCardContentElement;
|
|
711
|
+
"ptc-card-plm": HTMLPtcCardPlmElement;
|
|
601
712
|
"ptc-countdown": HTMLPtcCountdownElement;
|
|
602
713
|
"ptc-date": HTMLPtcDateElement;
|
|
603
714
|
"ptc-footer": HTMLPtcFooterElement;
|
|
604
715
|
"ptc-form": HTMLPtcFormElement;
|
|
716
|
+
"ptc-hero": HTMLPtcHeroElement;
|
|
605
717
|
"ptc-img": HTMLPtcImgElement;
|
|
606
718
|
"ptc-input": HTMLPtcInputElement;
|
|
607
719
|
"ptc-link": HTMLPtcLinkElement;
|
|
@@ -647,8 +759,9 @@ declare namespace LocalJSX {
|
|
|
647
759
|
"type"?: 'solid' | 'brands' | 'ptc' | 'regular';
|
|
648
760
|
}
|
|
649
761
|
interface ListItem {
|
|
762
|
+
"flushBefore"?: boolean;
|
|
650
763
|
"linkHref"?: string;
|
|
651
|
-
"listType"?: '
|
|
764
|
+
"listType"?: 'list-primary' | 'breadcrumb';
|
|
652
765
|
}
|
|
653
766
|
interface MyComponent {
|
|
654
767
|
/**
|
|
@@ -696,6 +809,8 @@ declare namespace LocalJSX {
|
|
|
696
809
|
}
|
|
697
810
|
interface PtcAvatar {
|
|
698
811
|
}
|
|
812
|
+
interface PtcBreadcrumb {
|
|
813
|
+
}
|
|
699
814
|
interface PtcButton {
|
|
700
815
|
/**
|
|
701
816
|
* Button theme color
|
|
@@ -714,15 +829,19 @@ declare namespace LocalJSX {
|
|
|
714
829
|
*/
|
|
715
830
|
"iconPosition"?: 'icon-left' | 'icon-right';
|
|
716
831
|
/**
|
|
717
|
-
* Link URL
|
|
832
|
+
* Link URL
|
|
718
833
|
*/
|
|
719
834
|
"linkHref"?: string;
|
|
835
|
+
/**
|
|
836
|
+
* link Title
|
|
837
|
+
*/
|
|
838
|
+
"linkTitle"?: string;
|
|
720
839
|
/**
|
|
721
840
|
* Emitted when the button has focus.
|
|
722
841
|
*/
|
|
723
842
|
"onClickEvent"?: (event: CustomEvent<void>) => void;
|
|
724
843
|
/**
|
|
725
|
-
*
|
|
844
|
+
* Link rel
|
|
726
845
|
*/
|
|
727
846
|
"rel"?: string;
|
|
728
847
|
/**
|
|
@@ -734,7 +853,7 @@ declare namespace LocalJSX {
|
|
|
734
853
|
*/
|
|
735
854
|
"tabNav"?: number;
|
|
736
855
|
/**
|
|
737
|
-
*
|
|
856
|
+
* Link target
|
|
738
857
|
*/
|
|
739
858
|
"target"?: string;
|
|
740
859
|
/**
|
|
@@ -788,6 +907,20 @@ declare namespace LocalJSX {
|
|
|
788
907
|
*/
|
|
789
908
|
"target"?: string;
|
|
790
909
|
}
|
|
910
|
+
interface PtcCardBottom {
|
|
911
|
+
"cardType"?: "card-video" | "card-tall" | "card-2up" | "card-wide";
|
|
912
|
+
}
|
|
913
|
+
interface PtcCardContent {
|
|
914
|
+
"cardType"?: 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'speed-bump';
|
|
915
|
+
"onHoverEvent"?: (event: CustomEvent<void>) => void;
|
|
916
|
+
"onLeaveEvent"?: (event: CustomEvent<void>) => void;
|
|
917
|
+
}
|
|
918
|
+
interface PtcCardPlm {
|
|
919
|
+
"cardLink"?: string;
|
|
920
|
+
"cardType"?: 'card-video'| 'card-tall' | 'card-wide' | 'speed-bump';
|
|
921
|
+
"linkTarget"?: string;
|
|
922
|
+
"linkTitle"?: string;
|
|
923
|
+
}
|
|
791
924
|
interface PtcCountdown {
|
|
792
925
|
}
|
|
793
926
|
interface PtcDate {
|
|
@@ -820,6 +953,9 @@ declare namespace LocalJSX {
|
|
|
820
953
|
}
|
|
821
954
|
interface PtcForm {
|
|
822
955
|
}
|
|
956
|
+
interface PtcHero {
|
|
957
|
+
"heroType"?: 'jumbotron' | 'footer-cta';
|
|
958
|
+
}
|
|
823
959
|
interface PtcImg {
|
|
824
960
|
/**
|
|
825
961
|
* Image border shape
|
|
@@ -896,7 +1032,7 @@ declare namespace LocalJSX {
|
|
|
896
1032
|
/**
|
|
897
1033
|
* Theme
|
|
898
1034
|
*/
|
|
899
|
-
"theme"?: 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link';
|
|
1035
|
+
"theme"?: 'simple' | 'arrow' | 'nav-title'| 'primary-nav-link' | 'nav-title-link' | 'secondary-nav-link' | 'footer-nav-link' | 'copyright-link' | 'arrow-plm';
|
|
900
1036
|
/**
|
|
901
1037
|
* Uppercase
|
|
902
1038
|
*/
|
|
@@ -904,7 +1040,7 @@ declare namespace LocalJSX {
|
|
|
904
1040
|
}
|
|
905
1041
|
interface PtcList {
|
|
906
1042
|
"listItems"?: string[];
|
|
907
|
-
"listType"?: '
|
|
1043
|
+
"listType"?: 'list-primary';
|
|
908
1044
|
}
|
|
909
1045
|
interface PtcLottie {
|
|
910
1046
|
/**
|
|
@@ -953,24 +1089,48 @@ declare namespace LocalJSX {
|
|
|
953
1089
|
"url"?: string;
|
|
954
1090
|
}
|
|
955
1091
|
interface PtcOverlay {
|
|
1092
|
+
/**
|
|
1093
|
+
* Overlay border shape
|
|
1094
|
+
*/
|
|
1095
|
+
"borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
|
|
1096
|
+
/**
|
|
1097
|
+
* Filter Color
|
|
1098
|
+
*/
|
|
1099
|
+
"filterColor"?: 'blue' | 'red' | 'orange' | 'green' | 'black-1-xs' | 'black-2-xs' | 'black-1-sm' | 'black-2-sm' | 'black-3' | 'slate-grey';
|
|
1100
|
+
/**
|
|
1101
|
+
* Overlay z-index
|
|
1102
|
+
*/
|
|
1103
|
+
"overlayZIndex"?: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2';
|
|
1104
|
+
/**
|
|
1105
|
+
* Injected Styles
|
|
1106
|
+
*/
|
|
1107
|
+
"styles"?: string;
|
|
956
1108
|
}
|
|
957
1109
|
interface PtcPara {
|
|
958
1110
|
/**
|
|
959
1111
|
* Paragraph font size
|
|
960
1112
|
*/
|
|
961
|
-
"fontSize"?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large';
|
|
1113
|
+
"fontSize"?: 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'xxx-large' | 'xxxx-large' | 'font-size-15';
|
|
962
1114
|
/**
|
|
963
1115
|
* Paragraph font weight
|
|
964
1116
|
*/
|
|
965
1117
|
"fontWeight"?: 'w-3' | 'w-4' | 'w-5' | 'w-6' | 'w-7' | 'w-8' | 'w-9';
|
|
1118
|
+
/**
|
|
1119
|
+
* Paragraph Color
|
|
1120
|
+
*/
|
|
1121
|
+
"paraColor"?: 'primary-grey' | 'white';
|
|
1122
|
+
/**
|
|
1123
|
+
* line height
|
|
1124
|
+
*/
|
|
1125
|
+
"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
1126
|
/**
|
|
967
1127
|
* Paragraph Margin
|
|
968
1128
|
*/
|
|
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';
|
|
1129
|
+
"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
1130
|
/**
|
|
971
1131
|
* Paragraph Style
|
|
972
1132
|
*/
|
|
973
|
-
"paraStyle"?: 'default' | 'intro' | 'small' | 'announcement';
|
|
1133
|
+
"paraStyle"?: 'default' | 'intro' | 'small' | 'announcement' | 'flush-style' | 'main';
|
|
974
1134
|
}
|
|
975
1135
|
interface PtcPicture {
|
|
976
1136
|
/**
|
|
@@ -980,11 +1140,15 @@ declare namespace LocalJSX {
|
|
|
980
1140
|
/**
|
|
981
1141
|
* Image border shape
|
|
982
1142
|
*/
|
|
983
|
-
"borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | '';
|
|
1143
|
+
"borderRadius"?: 'radius-sm' | 'radius-md' | 'radius-lg' | 'radius-x-lg';
|
|
984
1144
|
/**
|
|
985
1145
|
* Set height Value unit: pixles Just put numbers without unit
|
|
986
1146
|
*/
|
|
987
1147
|
"height"?: string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Image Position
|
|
1150
|
+
*/
|
|
1151
|
+
"imagePosition"?: 'relative' | 'absolute' | 'static';
|
|
988
1152
|
/**
|
|
989
1153
|
* Object Fit Default: cover
|
|
990
1154
|
*/
|
|
@@ -1036,14 +1200,17 @@ declare namespace LocalJSX {
|
|
|
1036
1200
|
/**
|
|
1037
1201
|
* Spacing Size
|
|
1038
1202
|
*/
|
|
1039
|
-
"size"?: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large';
|
|
1203
|
+
"size"?: 'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large' | 'space-144' | 'space-120';
|
|
1040
1204
|
}
|
|
1041
1205
|
interface PtcSpan {
|
|
1206
|
+
/**
|
|
1207
|
+
* Display
|
|
1208
|
+
*/
|
|
1042
1209
|
"display"?: 'block' | 'inline-block' | 'inline';
|
|
1043
1210
|
/**
|
|
1044
1211
|
* Span Style
|
|
1045
1212
|
*/
|
|
1046
|
-
"spanStyle"?: 'link-style' | 'tag-style' | 'nav-style';
|
|
1213
|
+
"spanStyle"?: 'link-style' | 'tag-style' | 'nav-style' | 'plm-hub-style';
|
|
1047
1214
|
/**
|
|
1048
1215
|
* Injected Styles
|
|
1049
1216
|
*/
|
|
@@ -1053,10 +1220,34 @@ declare namespace LocalJSX {
|
|
|
1053
1220
|
"svgName"?: string;
|
|
1054
1221
|
}
|
|
1055
1222
|
interface PtcTitle {
|
|
1223
|
+
/**
|
|
1224
|
+
* Is this title using on the PLM Hub page
|
|
1225
|
+
*/
|
|
1226
|
+
"isPlmHub"?: boolean;
|
|
1227
|
+
/**
|
|
1228
|
+
* Injected Style
|
|
1229
|
+
*/
|
|
1230
|
+
"styles"?: string;
|
|
1056
1231
|
/**
|
|
1057
1232
|
* Text Align
|
|
1058
1233
|
*/
|
|
1059
|
-
"textAlign"?: 'left' | 'center' | 'right';
|
|
1234
|
+
"textAlign"?: 'left' | 'center' | 'right' | 'inherit';
|
|
1235
|
+
/**
|
|
1236
|
+
* Title Margin
|
|
1237
|
+
*/
|
|
1238
|
+
"titleMargin"?: | 'margin-flush'
|
|
1239
|
+
| 'margin-top-3'
|
|
1240
|
+
| 'margin-top-4'
|
|
1241
|
+
| 'margin-top-5'
|
|
1242
|
+
| 'margin-top-6'
|
|
1243
|
+
| 'margin-bottom-3'
|
|
1244
|
+
| 'margin-bottom-4'
|
|
1245
|
+
| 'margin-bottom-5'
|
|
1246
|
+
| 'margin-bottom-6'
|
|
1247
|
+
| 'margin-3'
|
|
1248
|
+
| 'margin-4'
|
|
1249
|
+
| 'margin-5'
|
|
1250
|
+
| 'margin-6';
|
|
1060
1251
|
/**
|
|
1061
1252
|
* Title Tag Type
|
|
1062
1253
|
*/
|
|
@@ -1064,7 +1255,7 @@ declare namespace LocalJSX {
|
|
|
1064
1255
|
/**
|
|
1065
1256
|
* Upperline Style
|
|
1066
1257
|
*/
|
|
1067
|
-
"upperline"?: 'dotted' | 'solid';
|
|
1258
|
+
"upperline"?: 'dotted' | 'solid' | 'no-upperline';
|
|
1068
1259
|
}
|
|
1069
1260
|
interface IntrinsicElements {
|
|
1070
1261
|
"icon-asset": IconAsset;
|
|
@@ -1072,12 +1263,17 @@ declare namespace LocalJSX {
|
|
|
1072
1263
|
"my-component": MyComponent;
|
|
1073
1264
|
"ptc-announcement": PtcAnnouncement;
|
|
1074
1265
|
"ptc-avatar": PtcAvatar;
|
|
1266
|
+
"ptc-breadcrumb": PtcBreadcrumb;
|
|
1075
1267
|
"ptc-button": PtcButton;
|
|
1076
1268
|
"ptc-card": PtcCard;
|
|
1269
|
+
"ptc-card-bottom": PtcCardBottom;
|
|
1270
|
+
"ptc-card-content": PtcCardContent;
|
|
1271
|
+
"ptc-card-plm": PtcCardPlm;
|
|
1077
1272
|
"ptc-countdown": PtcCountdown;
|
|
1078
1273
|
"ptc-date": PtcDate;
|
|
1079
1274
|
"ptc-footer": PtcFooter;
|
|
1080
1275
|
"ptc-form": PtcForm;
|
|
1276
|
+
"ptc-hero": PtcHero;
|
|
1081
1277
|
"ptc-img": PtcImg;
|
|
1082
1278
|
"ptc-input": PtcInput;
|
|
1083
1279
|
"ptc-link": PtcLink;
|
|
@@ -1104,12 +1300,17 @@ declare module "@stencil/core" {
|
|
|
1104
1300
|
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
1105
1301
|
"ptc-announcement": LocalJSX.PtcAnnouncement & JSXBase.HTMLAttributes<HTMLPtcAnnouncementElement>;
|
|
1106
1302
|
"ptc-avatar": LocalJSX.PtcAvatar & JSXBase.HTMLAttributes<HTMLPtcAvatarElement>;
|
|
1303
|
+
"ptc-breadcrumb": LocalJSX.PtcBreadcrumb & JSXBase.HTMLAttributes<HTMLPtcBreadcrumbElement>;
|
|
1107
1304
|
"ptc-button": LocalJSX.PtcButton & JSXBase.HTMLAttributes<HTMLPtcButtonElement>;
|
|
1108
1305
|
"ptc-card": LocalJSX.PtcCard & JSXBase.HTMLAttributes<HTMLPtcCardElement>;
|
|
1306
|
+
"ptc-card-bottom": LocalJSX.PtcCardBottom & JSXBase.HTMLAttributes<HTMLPtcCardBottomElement>;
|
|
1307
|
+
"ptc-card-content": LocalJSX.PtcCardContent & JSXBase.HTMLAttributes<HTMLPtcCardContentElement>;
|
|
1308
|
+
"ptc-card-plm": LocalJSX.PtcCardPlm & JSXBase.HTMLAttributes<HTMLPtcCardPlmElement>;
|
|
1109
1309
|
"ptc-countdown": LocalJSX.PtcCountdown & JSXBase.HTMLAttributes<HTMLPtcCountdownElement>;
|
|
1110
1310
|
"ptc-date": LocalJSX.PtcDate & JSXBase.HTMLAttributes<HTMLPtcDateElement>;
|
|
1111
1311
|
"ptc-footer": LocalJSX.PtcFooter & JSXBase.HTMLAttributes<HTMLPtcFooterElement>;
|
|
1112
1312
|
"ptc-form": LocalJSX.PtcForm & JSXBase.HTMLAttributes<HTMLPtcFormElement>;
|
|
1313
|
+
"ptc-hero": LocalJSX.PtcHero & JSXBase.HTMLAttributes<HTMLPtcHeroElement>;
|
|
1113
1314
|
"ptc-img": LocalJSX.PtcImg & JSXBase.HTMLAttributes<HTMLPtcImgElement>;
|
|
1114
1315
|
"ptc-input": LocalJSX.PtcInput & JSXBase.HTMLAttributes<HTMLPtcInputElement>;
|
|
1115
1316
|
"ptc-link": LocalJSX.PtcLink & JSXBase.HTMLAttributes<HTMLPtcLinkElement>;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# PTC Design 0.2.
|
|
3
|
+
# PTC Design 0.2.9
|
|
4
4
|
|
|
5
5
|
The site is the place for documentation on PTC Design System
|
|
6
6
|
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-0b899fc6.js');
|
|
6
|
-
|
|
7
|
-
const iconAssetCss = "/*!\n * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */.svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}icon-asset{vertical-align:middle}svg.x-small{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.large{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.xx-large{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.white{fill:var(--color-white)}svg.black{fill:var(--color-black)}svg.ptc-green{fill:var(--color-primary-green)}svg.inherit{fill:inherit}";
|
|
8
|
-
|
|
9
|
-
let IconAsset = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
/**
|
|
13
|
-
* Icon Size
|
|
14
|
-
*/
|
|
15
|
-
this.size = 'small';
|
|
16
|
-
/**
|
|
17
|
-
* Icon Type
|
|
18
|
-
*/
|
|
19
|
-
this.type = 'regular';
|
|
20
|
-
/**
|
|
21
|
-
* Icon Spin Animation (not valid for ptc type)
|
|
22
|
-
*/
|
|
23
|
-
this.spin = '';
|
|
24
|
-
/**
|
|
25
|
-
* Icon Pulse Animation (not valid for ptc type)
|
|
26
|
-
*/
|
|
27
|
-
this.pulse = '';
|
|
28
|
-
/**
|
|
29
|
-
* Icon Color
|
|
30
|
-
*/
|
|
31
|
-
this.color = 'default';
|
|
32
|
-
this.regularSprite = index.getAssetPath('./media/regular.svg');
|
|
33
|
-
this.solidSprite = index.getAssetPath('./media/solid.svg');
|
|
34
|
-
this.brandSprite = index.getAssetPath('./media/brands.svg');
|
|
35
|
-
this.ptcSprite = index.getAssetPath('./media/designer.svg');
|
|
36
|
-
}
|
|
37
|
-
render() {
|
|
38
|
-
const classMap = this.getCssClassMap();
|
|
39
|
-
if (this.type == 'brands') {
|
|
40
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
41
|
-
}
|
|
42
|
-
else if (this.type == 'solid') {
|
|
43
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
44
|
-
}
|
|
45
|
-
else if (this.type == 'ptc') {
|
|
46
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
getCssClassMap() {
|
|
53
|
-
return {
|
|
54
|
-
[this.size]: true,
|
|
55
|
-
[this.spin]: true,
|
|
56
|
-
[this.pulse]: true,
|
|
57
|
-
[this.color]: true,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
static get assetsDirs() { return ["media"]; }
|
|
61
|
-
};
|
|
62
|
-
IconAsset.style = iconAssetCss;
|
|
63
|
-
|
|
64
|
-
exports.icon_asset = IconAsset;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
let ResponsiveBgVariables = {
|
|
4
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
5
|
-
selector: '.ptc-img',
|
|
6
|
-
interval: 250
|
|
7
|
-
};
|
|
8
|
-
let ResponsivePictureVariables = {
|
|
9
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
10
|
-
selector: '.ptc-picture',
|
|
11
|
-
interval: 250
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
exports.ResponsiveBgVariables = ResponsiveBgVariables;
|
|
15
|
-
exports.ResponsivePictureVariables = ResponsivePictureVariables;
|