@ptcwebops/ptcw-design 1.1.5 → 1.1.7

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 (32) hide show
  1. package/dist/cjs/bundle-jumbotron-example_16.cjs.entry.js +1 -1
  2. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +1 -1
  3. package/dist/cjs/ptc-nav-card.cjs.entry.js +3 -2
  4. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  5. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  6. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +13 -0
  7. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +2 -2
  8. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +25 -0
  9. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +48 -34
  10. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +2 -1
  11. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +25 -0
  12. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +2 -1
  13. package/dist/custom-elements/index.js +7 -6
  14. package/dist/esm/bundle-jumbotron-example_16.entry.js +1 -1
  15. package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
  16. package/dist/esm/ptc-nav-card.entry.js +3 -2
  17. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  18. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  19. package/dist/ptcw-design/p-61d91a69.entry.js +1 -0
  20. package/dist/ptcw-design/p-6872e11b.entry.js +1 -0
  21. package/dist/ptcw-design/{p-1cddde0e.entry.js → p-a24ecd75.entry.js} +1 -1
  22. package/dist/ptcw-design/p-a4e1afa5.entry.js +1 -0
  23. package/dist/ptcw-design/{p-bc34ac01.entry.js → p-db93a81b.entry.js} +1 -1
  24. package/dist/ptcw-design/ptcw-design.css +1 -1
  25. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  26. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +1 -1
  27. package/dist/types/components.d.ts +2 -2
  28. package/package.json +1 -1
  29. package/readme.md +1 -1
  30. package/dist/ptcw-design/p-37c015b5.entry.js +0 -1
  31. package/dist/ptcw-design/p-58ebad36.entry.js +0 -1
  32. package/dist/ptcw-design/p-e4cd7ef5.entry.js +0 -1
@@ -797,6 +797,31 @@ ptc-icon-list.icon-top-align-list a:hover {
797
797
  row-gap: 0;
798
798
  }
799
799
  }
800
+ .max-content {
801
+ max-width: 90%;
802
+ margin: auto;
803
+ }
804
+ @media only screen and (min-width: 480px) {
805
+ .max-content {
806
+ max-width: 80%;
807
+ }
808
+ }
809
+
810
+ .product-tab ptc-title h3 {
811
+ font-size: 20px !important;
812
+ font-weight: 900;
813
+ }
814
+ @media only screen and (min-width: 1200px) {
815
+ .product-tab ptc-title h3 {
816
+ font-size: 15px !important;
817
+ font-weight: 800;
818
+ }
819
+ }
820
+ .product-tab .is-grid {
821
+ grid-column-gap: 20px;
822
+ grid-row-gap: 12px;
823
+ }
824
+
800
825
  :host {
801
826
  display: block;
802
827
  }
@@ -11,6 +11,9 @@
11
11
  border-radius: var(--ptc-border-radius-standard);
12
12
  background-color: var(--color-gray-12);
13
13
  }
14
+ :host .nav-card-wrap:hover {
15
+ background-color: var(--color-gray-08);
16
+ }
14
17
  @media only screen and (min-width: 1200px) {
15
18
  :host .nav-card-wrap {
16
19
  background-color: var(--color-gray-10);
@@ -27,15 +30,20 @@
27
30
  text-decoration: none;
28
31
  }
29
32
  :host .nav-card-wrap .media-card-wrap {
30
- padding: 1rem;
33
+ padding: 1rem 1.5rem 1.125rem 1.5rem;
31
34
  width: 100%;
32
35
  height: 100%;
33
36
  display: flex;
34
37
  align-items: center;
35
38
  }
39
+ @media only screen and (min-width: 1200px) {
40
+ :host .nav-card-wrap .media-card-wrap {
41
+ padding: 1rem;
42
+ }
43
+ }
36
44
  :host .nav-card-wrap .media-card-wrap h4 {
37
45
  margin-bottom: 0.25rem;
38
- font-weight: 600;
46
+ font-weight: 800;
39
47
  display: flex;
40
48
  align-items: center;
41
49
  font-size: var(--ptc-font-size-medium);
@@ -44,7 +52,6 @@
44
52
  @media only screen and (min-width: 1200px) {
45
53
  :host .nav-card-wrap .media-card-wrap h4 {
46
54
  font-size: var(--ptc-font-size-xxx-small);
47
- font-weight: 800;
48
55
  }
49
56
  }
50
57
  :host .nav-card-wrap .media-card-wrap p {
@@ -60,17 +67,25 @@
60
67
  }
61
68
  :host .nav-card-wrap .media-card-wrap .card-logo img {
62
69
  width: 100%;
63
- max-width: 1.5rem;
64
- min-width: 1.5rem;
70
+ max-width: 2rem;
71
+ min-width: 2rem;
72
+ }
73
+ @media only screen and (min-width: 1200px) {
74
+ :host .nav-card-wrap .media-card-wrap .card-logo img {
75
+ max-width: 1.5rem;
76
+ min-width: 1.5rem;
77
+ }
65
78
  }
66
79
 
67
80
  :host(.cta-card) .nav-card-wrap {
68
81
  border: 1px solid var(--color-gray-10);
69
82
  border-radius: var(--ptc-border-radius-standard);
70
83
  background-color: var(--color-gray-09);
84
+ min-height: 99px;
71
85
  }
72
86
  @media only screen and (min-width: 1200px) {
73
87
  :host(.cta-card) .nav-card-wrap {
88
+ min-height: auto;
74
89
  background-color: transparent;
75
90
  }
76
91
  }
@@ -80,63 +95,62 @@
80
95
  :host(.cta-card) .nav-card-wrap .card-content {
81
96
  margin: auto;
82
97
  }
98
+ :host(.cta-card) .nav-card-wrap .card-content h4 {
99
+ margin: 0;
100
+ }
83
101
  :host(.cta-card) .nav-card-wrap .card-content svg {
84
102
  vertical-align: middle;
85
103
  margin-left: 0.375rem;
86
104
  }
87
105
 
88
106
  :host(.links-card) .nav-card-wrap {
89
- padding: 2rem 0rem 0.75rem 0rem;
90
- border-radius: var(--ptc-border-radius-standard);
91
107
  background-color: transparent;
92
- border: 1px solid var(--color-gray-07);
93
- border-left: none;
94
- border-right: none;
95
- border-bottom: none;
96
- border-radius: 0;
97
108
  align-items: flex-start;
98
- }
99
- @media only screen and (min-width: 768px) {
100
- :host(.links-card) .nav-card-wrap {
101
- padding: 1.5rem;
102
- border: 1px solid var(--color-gray-07);
103
- border-radius: var(--ptc-border-radius-standard);
104
- }
109
+ padding: 1rem 1.5rem 1.5rem 1.5rem;
110
+ border-bottom: 1px solid var(--color-gray-07);
111
+ border-radius: 0;
112
+ margin: 0 -1.5rem;
105
113
  }
106
114
  @media only screen and (min-width: 1200px) {
107
115
  :host(.links-card) .nav-card-wrap {
116
+ margin: 0;
117
+ padding: 1.5rem;
108
118
  border: 1px solid var(--color-gray-10);
119
+ border-radius: var(--ptc-border-radius-standard);
109
120
  }
110
121
  }
111
122
  :host(.links-card) .nav-card-wrap:hover {
112
123
  background-color: transparent;
113
124
  }
114
125
  :host(.links-card) .nav-card-wrap h3 {
115
- margin: 0 0 0.75rem 0;
116
- border-bottom: 1.5px solid transparent;
126
+ margin: 0 0 8px 0;
117
127
  display: inline-block;
118
128
  font-weight: 800;
129
+ font-size: 20px;
130
+ color: var(--color-white);
131
+ }
132
+ @media only screen and (min-width: 1200px) {
133
+ :host(.links-card) .nav-card-wrap h3 {
134
+ font-size: 15px;
135
+ margin: 0 0 10px 0;
136
+ }
119
137
  }
120
138
  :host(.links-card) .nav-card-wrap h3 svg {
121
139
  margin-left: 0.375rem;
122
- display: none;
123
140
  vertical-align: middle;
124
141
  }
125
- :host(.links-card) .nav-card-wrap h3:hover {
126
- border-color: var(--color-green-06);
127
- }
128
- :host(.links-card) .nav-card-wrap h3:hover svg {
129
- display: inline-block;
130
- }
131
142
  :host(.links-card) .nav-card-wrap h3 a {
132
- font-size: var(--ptc-font-size-medium);
143
+ border-bottom: 1.5px solid transparent;
133
144
  }
134
- @media only screen and (min-width: 1200px) {
135
- :host(.links-card) .nav-card-wrap h3 a {
136
- font-size: var(--ptc-font-size-x-small);
137
- }
145
+ :host(.links-card) .nav-card-wrap h3 a:hover {
146
+ border-color: var(--color-green-06);
138
147
  }
139
148
  :host(.links-card) ::slotted(ptc-link) {
140
- padding: 6px 0;
149
+ padding: 8px 0;
141
150
  line-height: 14px;
151
+ }
152
+ @media only screen and (min-width: 1200px) {
153
+ :host(.links-card) ::slotted(ptc-link) {
154
+ padding: 6px 0;
155
+ }
142
156
  }
@@ -25,7 +25,8 @@ export class PtcNavCard {
25
25
  }
26
26
  render() {
27
27
  return (h(Host, { class: this.cardType }, h("div", { class: "nav-card-wrap" }, this.cardType == 'links-card' ?
28
- h("div", { class: "links-card-wrap" }, h("h3", null, h("a", { href: this.cardHref, title: this.linkTitle }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" })))), h("slot", null))
28
+ h("div", { class: "links-card-wrap" }, h("h3", null, (this.cardHref && !(this.cardHref.startsWith('#'))) ?
29
+ (h("a", { href: this.cardHref, title: this.linkTitle }, this.heading, h("svg", { width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M6.3125 0.3125L6.3125 3.66515L-1.46549e-07 3.66515L-2.63246e-07 6.33487L6.3125 6.33487L6.3125 9.6875L11.25 4.96896L6.3125 0.3125Z", fill: "#3DAB49" })))) : (this.heading)), h("slot", null))
29
30
  :
30
31
  h("a", { href: this.cardHref, title: this.linkTitle, class: "media-card-wrap" }, this.cardLogo &&
31
32
  h("div", { class: "card-logo" }, h("img", { src: this.cardLogo, alt: this.logoAlt })), h("div", { class: "card-content" }, h("h4", null, this.windowSize === 'mobile'
@@ -742,6 +742,31 @@ ptc-icon-list.icon-top-align-list a:hover {
742
742
  row-gap: 0;
743
743
  }
744
744
  }
745
+ .max-content {
746
+ max-width: 90%;
747
+ margin: auto;
748
+ }
749
+ @media only screen and (min-width: 480px) {
750
+ .max-content {
751
+ max-width: 80%;
752
+ }
753
+ }
754
+
755
+ .product-tab ptc-title h3 {
756
+ font-size: 20px !important;
757
+ font-weight: 900;
758
+ }
759
+ @media only screen and (min-width: 1200px) {
760
+ .product-tab ptc-title h3 {
761
+ font-size: 15px !important;
762
+ font-weight: 800;
763
+ }
764
+ }
765
+ .product-tab .is-grid {
766
+ grid-column-gap: 20px;
767
+ grid-row-gap: 12px;
768
+ }
769
+
745
770
  :host {
746
771
  display: block;
747
772
  }
@@ -76,12 +76,13 @@
76
76
 
77
77
  :host(.tab-cta-with-background) {
78
78
  min-height: 400px;
79
- padding: var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-02);
79
+ padding: var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-02) 88px var(--ptc-layout-spacing-02);
80
80
  }
81
81
  @media only screen and (min-width: 992px) {
82
82
  :host(.tab-cta-with-background) {
83
83
  display: flex;
84
84
  align-items: center;
85
+ padding: var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-02);
85
86
  }
86
87
  }
87
88
  @media only screen and (min-width: 1200px) {