@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
|
@@ -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,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
|
}
|