@ptcwebops/ptcw-design 0.9.0 → 0.9.2
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/bundle-example.cjs.entry.js +26 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +151 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +2 -1
- package/dist/cjs/ptc-card_6.cjs.entry.js +1 -1
- package/dist/cjs/ptc-search-field.cjs.entry.js +29 -5
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/bundle-example/bundle-example.css +6 -0
- package/dist/collection/components/bundle-example/bundle-example.js +32 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +2 -5
- package/dist/collection/components/ptc-card/ptc-card.css +20 -20
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -1
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +11 -7
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +17 -0
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +53 -20
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +34 -0
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +146 -0
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +2 -2
- package/dist/custom-elements/index.d.ts +12 -0
- package/dist/custom-elements/index.js +102 -19
- package/dist/esm/bundle-example.entry.js +22 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_3.entry.js +145 -0
- package/dist/esm/ptc-card-content.entry.js +2 -1
- package/dist/esm/ptc-card_6.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +30 -6
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/ptcw-design/p-294df3ac.entry.js +1 -0
- package/dist/ptcw-design/{p-163fcfc1.entry.js → p-4882c5fc.entry.js} +1 -1
- package/dist/ptcw-design/p-631238df.entry.js +1 -0
- package/dist/ptcw-design/p-9962aa65.entry.js +1 -0
- package/dist/ptcw-design/{p-049964f4.entry.js → p-bbeb95bd.entry.js} +1 -1
- package/dist/ptcw-design/p-c177667e.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/bundle-example/bundle-example.d.ts +5 -0
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +6 -2
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -0
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +44 -4
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -46
- package/dist/cjs/ptc-card-wrapper.cjs.entry.js +0 -79
- package/dist/esm/ptc-card-bottom.entry.js +0 -42
- package/dist/esm/ptc-card-wrapper.entry.js +0 -75
- package/dist/ptcw-design/p-573574f7.entry.js +0 -1
- package/dist/ptcw-design/p-a5f20c41.entry.js +0 -1
- package/dist/ptcw-design/p-a7f07147.entry.js +0 -1
- package/dist/ptcw-design/p-c2275f57.entry.js +0 -1
|
@@ -504,6 +504,11 @@
|
|
|
504
504
|
margin-bottom: 0.5rem;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
+
@media (min-width: 1200px) and (max-width: 1439) {
|
|
508
|
+
:host(.listing-card-horizontal) .card-border {
|
|
509
|
+
margin-left: 16px;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
507
512
|
:host(.listing-card-horizontal) .card-border:hover {
|
|
508
513
|
background: var(--color-gray-02);
|
|
509
514
|
box-shadow: var(--ptc-shadow-large);
|
|
@@ -523,19 +528,19 @@
|
|
|
523
528
|
@media (min-width: 768px) {
|
|
524
529
|
:host(.listing-card-horizontal) .card-border {
|
|
525
530
|
width: 704px;
|
|
526
|
-
height:
|
|
531
|
+
height: 210px;
|
|
527
532
|
}
|
|
528
533
|
}
|
|
529
534
|
@media (min-width: 992px) {
|
|
530
535
|
:host(.listing-card-horizontal) .card-border {
|
|
531
536
|
width: 688px;
|
|
532
|
-
height:
|
|
537
|
+
height: 200px;
|
|
533
538
|
}
|
|
534
539
|
}
|
|
535
540
|
@media (min-width: 1200px) {
|
|
536
541
|
:host(.listing-card-horizontal) .card-border {
|
|
537
542
|
width: 779px;
|
|
538
|
-
height:
|
|
543
|
+
height: 200px;
|
|
539
544
|
}
|
|
540
545
|
}
|
|
541
546
|
:host(.listing-card-horizontal) .card-layout {
|
|
@@ -553,19 +558,19 @@
|
|
|
553
558
|
@media (min-width: 768px) {
|
|
554
559
|
:host(.listing-card-horizontal) .card-layout {
|
|
555
560
|
width: 704px;
|
|
556
|
-
height:
|
|
561
|
+
height: 210px;
|
|
557
562
|
}
|
|
558
563
|
}
|
|
559
564
|
@media (min-width: 992px) {
|
|
560
565
|
:host(.listing-card-horizontal) .card-layout {
|
|
561
566
|
width: 688px;
|
|
562
|
-
height:
|
|
567
|
+
height: 200px;
|
|
563
568
|
}
|
|
564
569
|
}
|
|
565
570
|
@media (min-width: 1200px) {
|
|
566
571
|
:host(.listing-card-horizontal) .card-layout {
|
|
567
572
|
width: 779px;
|
|
568
|
-
height:
|
|
573
|
+
height: 200px;
|
|
569
574
|
}
|
|
570
575
|
}
|
|
571
576
|
:host(.listing-card-horizontal) .link-wrapper {
|
|
@@ -592,38 +597,38 @@
|
|
|
592
597
|
@media (min-width: 768px) {
|
|
593
598
|
:host(.listing-card-horizontal) .card-media .smart-img {
|
|
594
599
|
width: 275px;
|
|
595
|
-
height:
|
|
600
|
+
height: 210px;
|
|
596
601
|
}
|
|
597
602
|
}
|
|
598
603
|
@media (min-width: 992px) {
|
|
599
604
|
:host(.listing-card-horizontal) .card-media .smart-img {
|
|
600
605
|
width: 224px;
|
|
601
|
-
height:
|
|
606
|
+
height: 200px;
|
|
602
607
|
}
|
|
603
608
|
}
|
|
604
609
|
@media (min-width: 1200px) {
|
|
605
610
|
:host(.listing-card-horizontal) .card-media .smart-img {
|
|
606
611
|
width: 260px;
|
|
607
|
-
height:
|
|
612
|
+
height: 200px;
|
|
608
613
|
}
|
|
609
614
|
}
|
|
610
615
|
@media (min-width: 768px) {
|
|
611
616
|
:host(.listing-card-horizontal) .card-media {
|
|
612
617
|
display: block;
|
|
613
618
|
width: 275px;
|
|
614
|
-
height:
|
|
619
|
+
height: 210px;
|
|
615
620
|
}
|
|
616
621
|
}
|
|
617
622
|
@media (min-width: 992px) {
|
|
618
623
|
:host(.listing-card-horizontal) .card-media {
|
|
619
624
|
width: 224px;
|
|
620
|
-
height:
|
|
625
|
+
height: 200px;
|
|
621
626
|
}
|
|
622
627
|
}
|
|
623
628
|
@media (min-width: 1200px) {
|
|
624
629
|
:host(.listing-card-horizontal) .card-media {
|
|
625
630
|
width: 260px;
|
|
626
|
-
height:
|
|
631
|
+
height: 200px;
|
|
627
632
|
}
|
|
628
633
|
}
|
|
629
634
|
:host(.listing-card-horizontal) .card-body {
|
|
@@ -649,11 +654,6 @@
|
|
|
649
654
|
width: 505px;
|
|
650
655
|
}
|
|
651
656
|
}
|
|
652
|
-
@media only screen and (min-width: 1440px) {
|
|
653
|
-
:host(.listing-card-horizontal) .card-body {
|
|
654
|
-
padding: 24px 38px 0px 31px;
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
657
|
:host(.listing-card-horizontal) .card-body .card-date-text {
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: row;
|
|
@@ -688,17 +688,17 @@
|
|
|
688
688
|
font-size: 16px;
|
|
689
689
|
line-height: 19px;
|
|
690
690
|
color: #282F35;
|
|
691
|
-
margin-bottom:
|
|
691
|
+
margin-bottom: 16px;
|
|
692
692
|
display: inline-block;
|
|
693
693
|
}
|
|
694
694
|
@media (min-width: 992px) {
|
|
695
695
|
:host(.listing-card-horizontal) .card-body .small {
|
|
696
|
-
margin-bottom:
|
|
696
|
+
margin-bottom: 12px;
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
@media (min-width: 1200px) {
|
|
700
700
|
:host(.listing-card-horizontal) .card-body .small {
|
|
701
|
-
margin-bottom:
|
|
701
|
+
margin-bottom: 16px;
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
:host(.listing-card-horizontal) .card-body h3 {
|
|
@@ -31,7 +31,8 @@ export class PtcCardContent {
|
|
|
31
31
|
async removeInlineHeight() {
|
|
32
32
|
this.el.style.removeProperty('height');
|
|
33
33
|
const image = this.el.querySelector('ptc-picture');
|
|
34
|
-
image
|
|
34
|
+
if (image)
|
|
35
|
+
image.style.removeProperty('height');
|
|
35
36
|
}
|
|
36
37
|
render() {
|
|
37
38
|
const classMap = this.getCssClassMap();
|
|
@@ -51,15 +51,19 @@ export class PtcCardPlm {
|
|
|
51
51
|
return bottomContent.offsetHeight;
|
|
52
52
|
}
|
|
53
53
|
checkScreenSize() {
|
|
54
|
-
if (
|
|
55
|
-
if (
|
|
54
|
+
if (this.cardType === 'extra-tall') {
|
|
55
|
+
if (window.innerWidth < 768) {
|
|
56
56
|
const cardContent = this.el.querySelector('ptc-card-content');
|
|
57
|
-
cardContent
|
|
57
|
+
if (cardContent) {
|
|
58
|
+
cardContent.setHeight(this.getBtmContentHeight());
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const cardContent = this.el.querySelector('ptc-card-content');
|
|
63
|
+
if (cardContent) {
|
|
64
|
+
cardContent.removeInlineHeight();
|
|
65
|
+
}
|
|
58
66
|
}
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
const cardContent = this.el.querySelector('ptc-card-content');
|
|
62
|
-
cardContent.removeInlineHeight();
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
static get is() { return "ptc-card-wrapper"; }
|
|
@@ -45,4 +45,21 @@
|
|
|
45
45
|
:host .search-div .search-btn:focus {
|
|
46
46
|
outline: 3px solid var(--color-blue-07);
|
|
47
47
|
outline-offset: 2px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host(.dark) {
|
|
51
|
+
z-index: 999;
|
|
52
|
+
position: relative;
|
|
53
|
+
margin-top: 20px;
|
|
54
|
+
}
|
|
55
|
+
:host(.dark) .search-div {
|
|
56
|
+
height: 43px;
|
|
57
|
+
}
|
|
58
|
+
:host(.dark) .search-div input {
|
|
59
|
+
background-color: #4E5D66;
|
|
60
|
+
color: var(--color-white);
|
|
61
|
+
}
|
|
62
|
+
:host(.dark) .search-div .search-btn {
|
|
63
|
+
height: 43px;
|
|
64
|
+
width: 43px;
|
|
48
65
|
}
|
|
@@ -1,17 +1,40 @@
|
|
|
1
|
-
import { h } from '@stencil/core';
|
|
1
|
+
import { h, Host } from '@stencil/core';
|
|
2
2
|
export class PtcSearchField {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.textValue = undefined;
|
|
5
5
|
this.placeholderLabel = undefined;
|
|
6
|
+
this.darkTheme = undefined;
|
|
6
7
|
}
|
|
7
8
|
textChangedHandler(event) {
|
|
8
|
-
this.valueChanged.emit(
|
|
9
|
+
this.valueChanged.emit({
|
|
10
|
+
'sender': this,
|
|
11
|
+
'event': event,
|
|
12
|
+
'searchTerm': this.getSearchValue()
|
|
13
|
+
});
|
|
9
14
|
}
|
|
10
15
|
buttonClickHandler(event) {
|
|
11
|
-
this.
|
|
16
|
+
this.clicked.emit({
|
|
17
|
+
'sender': this,
|
|
18
|
+
'event': event,
|
|
19
|
+
'searchTerm': this.getSearchValue()
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
getSearchValue() {
|
|
23
|
+
let result = '';
|
|
24
|
+
let input = this.el.shadowRoot.querySelector('input');
|
|
25
|
+
if (input) {
|
|
26
|
+
result = input.value;
|
|
27
|
+
}
|
|
28
|
+
return result;
|
|
12
29
|
}
|
|
13
30
|
render() {
|
|
14
|
-
|
|
31
|
+
const classMap = this.getCssClassMap();
|
|
32
|
+
return (h(Host, { class: classMap }, h("div", { class: "search-div" }, h("input", { type: "text", value: this.textValue, placeholder: this.placeholderLabel, onChange: (e) => { this.textChangedHandler(e); } }), h("button", { type: "button", color: "blackgrey", class: "search-btn", onClick: (e) => { this.buttonClickHandler(e); } }, h("icon-asset", { type: "ptc", size: "medium", name: "new-search", color: "white" })))));
|
|
33
|
+
}
|
|
34
|
+
getCssClassMap() {
|
|
35
|
+
return {
|
|
36
|
+
['dark']: this.darkTheme ? true : false,
|
|
37
|
+
};
|
|
15
38
|
}
|
|
16
39
|
static get is() { return "ptc-search-field"; }
|
|
17
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -60,6 +83,23 @@ export class PtcSearchField {
|
|
|
60
83
|
},
|
|
61
84
|
"attribute": "placeholder-label",
|
|
62
85
|
"reflect": false
|
|
86
|
+
},
|
|
87
|
+
"darkTheme": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"mutable": false,
|
|
90
|
+
"complexType": {
|
|
91
|
+
"original": "boolean",
|
|
92
|
+
"resolved": "boolean",
|
|
93
|
+
"references": {}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": ""
|
|
100
|
+
},
|
|
101
|
+
"attribute": "dark-theme",
|
|
102
|
+
"reflect": false
|
|
63
103
|
}
|
|
64
104
|
};
|
|
65
105
|
}
|
|
@@ -75,17 +115,13 @@ export class PtcSearchField {
|
|
|
75
115
|
"text": ""
|
|
76
116
|
},
|
|
77
117
|
"complexType": {
|
|
78
|
-
"original": "
|
|
79
|
-
"resolved": "
|
|
80
|
-
"references": {
|
|
81
|
-
"InputEvent": {
|
|
82
|
-
"location": "global"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
118
|
+
"original": "any",
|
|
119
|
+
"resolved": "any",
|
|
120
|
+
"references": {}
|
|
85
121
|
}
|
|
86
122
|
}, {
|
|
87
|
-
"method": "
|
|
88
|
-
"name": "
|
|
123
|
+
"method": "clicked",
|
|
124
|
+
"name": "clicked",
|
|
89
125
|
"bubbles": true,
|
|
90
126
|
"cancelable": true,
|
|
91
127
|
"composed": true,
|
|
@@ -94,14 +130,11 @@ export class PtcSearchField {
|
|
|
94
130
|
"text": ""
|
|
95
131
|
},
|
|
96
132
|
"complexType": {
|
|
97
|
-
"original": "
|
|
98
|
-
"resolved": "
|
|
99
|
-
"references": {
|
|
100
|
-
"MouseEvent": {
|
|
101
|
-
"location": "global"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
133
|
+
"original": "any",
|
|
134
|
+
"resolved": "any",
|
|
135
|
+
"references": {}
|
|
104
136
|
}
|
|
105
137
|
}];
|
|
106
138
|
}
|
|
139
|
+
static get elementRef() { return "el"; }
|
|
107
140
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* :host {
|
|
2
|
+
display: block;
|
|
3
|
+
} */
|
|
4
|
+
/* :root{
|
|
5
|
+
--skeleton-text-border-radius: 5px;
|
|
6
|
+
} */
|
|
7
|
+
.content {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
height: 100%;
|
|
12
|
+
/* border-radius: 10px; */
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.placeholder {
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
min-height: 1em;
|
|
19
|
+
background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.08) 100%);
|
|
20
|
+
/* background-size: 300%; */
|
|
21
|
+
background-size: 400% 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@keyframes loading {
|
|
25
|
+
0% {
|
|
26
|
+
background-position: 200% 0;
|
|
27
|
+
}
|
|
28
|
+
100% {
|
|
29
|
+
background-position: -200% 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.animated .placeholder {
|
|
33
|
+
animation: loading 2.5s ease-in-out infinite;
|
|
34
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
export class PtcSkeleton {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.isLoading = true;
|
|
5
|
+
this.animated = false;
|
|
6
|
+
this.width = '100%';
|
|
7
|
+
this.borderRadius = undefined;
|
|
8
|
+
this.topMargin = "0px";
|
|
9
|
+
this.btmMargin = "0px";
|
|
10
|
+
}
|
|
11
|
+
// @Listen('hover', {capture: true})
|
|
12
|
+
// handleHover(event: Event){
|
|
13
|
+
// const target = event.target as HTMLElement;
|
|
14
|
+
// if(target.tagName === "A"){
|
|
15
|
+
// event.preventDefault();
|
|
16
|
+
// }
|
|
17
|
+
// }
|
|
18
|
+
render() {
|
|
19
|
+
const borderRadiusValue = this.borderRadius || getComputedStyle(document.documentElement).getPropertyValue('--ptc-border-radius-large');
|
|
20
|
+
return (h("div", { class: `content ${this.animated && this.isLoading ? 'animated' : ''}`, style: { width: this.width, marginTop: this.topMargin, marginBottom: this.btmMargin } }, this.isLoading ? h("div", { class: "placeholder", style: { borderRadius: borderRadiusValue } }) : h("slot", null)));
|
|
21
|
+
}
|
|
22
|
+
static get is() { return "ptc-skeleton"; }
|
|
23
|
+
static get encapsulation() { return "shadow"; }
|
|
24
|
+
static get originalStyleUrls() {
|
|
25
|
+
return {
|
|
26
|
+
"$": ["ptc-skeleton.scss"]
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
static get styleUrls() {
|
|
30
|
+
return {
|
|
31
|
+
"$": ["ptc-skeleton.css"]
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
static get properties() {
|
|
35
|
+
return {
|
|
36
|
+
"isLoading": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "boolean",
|
|
41
|
+
"resolved": "boolean",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": ""
|
|
49
|
+
},
|
|
50
|
+
"attribute": "is-loading",
|
|
51
|
+
"reflect": false,
|
|
52
|
+
"defaultValue": "true"
|
|
53
|
+
},
|
|
54
|
+
"animated": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "boolean",
|
|
59
|
+
"resolved": "boolean",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": ""
|
|
67
|
+
},
|
|
68
|
+
"attribute": "animated",
|
|
69
|
+
"reflect": false,
|
|
70
|
+
"defaultValue": "false"
|
|
71
|
+
},
|
|
72
|
+
"width": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "string",
|
|
77
|
+
"resolved": "string",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": ""
|
|
85
|
+
},
|
|
86
|
+
"attribute": "width",
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"defaultValue": "'100%'"
|
|
89
|
+
},
|
|
90
|
+
"borderRadius": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "string",
|
|
95
|
+
"resolved": "string",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": ""
|
|
103
|
+
},
|
|
104
|
+
"attribute": "border-radius",
|
|
105
|
+
"reflect": false
|
|
106
|
+
},
|
|
107
|
+
"topMargin": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "string",
|
|
112
|
+
"resolved": "string",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"attribute": "top-margin",
|
|
122
|
+
"reflect": false,
|
|
123
|
+
"defaultValue": "\"0px\""
|
|
124
|
+
},
|
|
125
|
+
"btmMargin": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "string",
|
|
130
|
+
"resolved": "string",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": ""
|
|
138
|
+
},
|
|
139
|
+
"attribute": "btm-margin",
|
|
140
|
+
"reflect": false,
|
|
141
|
+
"defaultValue": "\"0px\""
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
static get elementRef() { return "el"; }
|
|
146
|
+
}
|
|
@@ -164,8 +164,8 @@ export class PtcTooltip {
|
|
|
164
164
|
"type": "string",
|
|
165
165
|
"mutable": false,
|
|
166
166
|
"complexType": {
|
|
167
|
-
"original": "'left' | 'right' | 'bottom' | 'top'",
|
|
168
|
-
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
|
167
|
+
"original": "'left' | 'right' | 'bottom' | 'bottom-right' | 'top'",
|
|
168
|
+
"resolved": "\"bottom\" | \"bottom-right\" | \"left\" | \"right\" | \"top\"",
|
|
169
169
|
"references": {}
|
|
170
170
|
},
|
|
171
171
|
"required": false,
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Components, JSX } from "../types/global";
|
|
4
4
|
|
|
5
|
+
interface BundleExample extends Components.BundleExample, HTMLElement {}
|
|
6
|
+
export const BundleExample: {
|
|
7
|
+
prototype: BundleExample;
|
|
8
|
+
new (): BundleExample;
|
|
9
|
+
};
|
|
10
|
+
|
|
5
11
|
interface DropdownItem extends Components.DropdownItem, HTMLElement {}
|
|
6
12
|
export const DropdownItem: {
|
|
7
13
|
prototype: DropdownItem;
|
|
@@ -290,6 +296,12 @@ export const PtcShoppingCart: {
|
|
|
290
296
|
new (): PtcShoppingCart;
|
|
291
297
|
};
|
|
292
298
|
|
|
299
|
+
interface PtcSkeleton extends Components.PtcSkeleton, HTMLElement {}
|
|
300
|
+
export const PtcSkeleton: {
|
|
301
|
+
prototype: PtcSkeleton;
|
|
302
|
+
new (): PtcSkeleton;
|
|
303
|
+
};
|
|
304
|
+
|
|
293
305
|
interface PtcSocialShare extends Components.PtcSocialShare, HTMLElement {}
|
|
294
306
|
export const PtcSocialShare: {
|
|
295
307
|
prototype: PtcSocialShare;
|