@ptcwebops/ptcw-design 0.0.3 → 0.0.5

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 (182) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/icon-asset.cjs.entry.js +64 -0
  3. package/dist/{ptcw-design/index-ca91e691.js → cjs/index-ac192914.js} +195 -1311
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/list-item.cjs.entry.js +27 -0
  6. package/dist/cjs/loader.cjs.js +21 -0
  7. package/dist/cjs/lottie-player.cjs.entry.js +13476 -0
  8. package/dist/cjs/my-component.cjs.entry.js +26 -0
  9. package/dist/cjs/ptc-button.cjs.entry.js +48 -0
  10. package/dist/cjs/ptc-card.cjs.entry.js +68 -0
  11. package/dist/cjs/ptc-date.cjs.entry.js +39 -0
  12. package/dist/cjs/ptc-footer.cjs.entry.js +19 -0
  13. package/dist/cjs/ptc-image.cjs.entry.js +58 -0
  14. package/dist/cjs/ptc-img.cjs.entry.js +84 -0
  15. package/dist/cjs/ptc-link.cjs.entry.js +48 -0
  16. package/dist/cjs/ptc-list.cjs.entry.js +27 -0
  17. package/dist/cjs/ptc-lottie.cjs.entry.js +23 -0
  18. package/dist/cjs/ptc-nav-item.cjs.entry.js +94 -0
  19. package/dist/cjs/ptc-nav.cjs.entry.js +19 -0
  20. package/dist/cjs/ptc-overlay.cjs.entry.js +19 -0
  21. package/dist/cjs/ptc-para.cjs.entry.js +39 -0
  22. package/dist/cjs/ptc-picture.cjs.entry.js +26 -0
  23. package/dist/cjs/ptc-spacer.cjs.entry.js +46 -0
  24. package/dist/cjs/ptc-span.cjs.entry.js +26 -0
  25. package/dist/cjs/ptc-title.cjs.entry.js +49 -0
  26. package/dist/cjs/ptcw-design.cjs.js +19 -0
  27. package/dist/collection/assets/responsive-background-image.min.js +1 -0
  28. package/dist/collection/collection-manifest.json +38 -0
  29. package/dist/collection/components/icon-asset/assets/brands.svg +1381 -0
  30. package/dist/collection/components/icon-asset/assets/footer-social.svg +0 -0
  31. package/dist/collection/components/icon-asset/assets/ptc-sprite.svg +73 -0
  32. package/dist/collection/components/icon-asset/assets/regular.svg +463 -0
  33. package/dist/collection/components/icon-asset/assets/solid.svg +3013 -0
  34. package/dist/collection/components/icon-asset/assets/svg-with-js.min.css +5 -0
  35. package/dist/collection/components/icon-asset/icon-asset.css +26 -0
  36. package/dist/collection/components/icon-asset/icon-asset.js +177 -0
  37. package/dist/collection/components/list-item/list-item.css +3 -0
  38. package/dist/collection/components/list-item/list-item.js +63 -0
  39. package/dist/collection/components/my-component/my-component.css +3 -0
  40. package/dist/collection/components/my-component/my-component.js +74 -0
  41. package/dist/collection/components/ptc-button/ptc-button.css +76 -0
  42. package/dist/collection/components/ptc-button/ptc-button.js +153 -0
  43. package/dist/collection/components/ptc-card/ptc-card.css +90 -0
  44. package/dist/collection/components/ptc-card/ptc-card.js +260 -0
  45. package/dist/collection/components/ptc-date/ptc-date.css +3 -0
  46. package/dist/collection/components/ptc-date/ptc-date.js +110 -0
  47. package/dist/collection/components/ptc-footer/ptc-footer.css +40 -0
  48. package/dist/collection/components/ptc-footer/ptc-footer.js +25 -0
  49. package/dist/collection/components/ptc-image/ptc-image.css +4 -0
  50. package/dist/collection/components/ptc-image/ptc-image.js +92 -0
  51. package/dist/collection/components/ptc-img/ptc-img.css +48 -0
  52. package/dist/collection/components/ptc-img/ptc-img.js +192 -0
  53. package/dist/collection/components/ptc-link/ptc-link.css +58 -0
  54. package/dist/collection/components/ptc-link/ptc-link.js +173 -0
  55. package/dist/collection/components/ptc-list/ptc-list.css +24 -0
  56. package/dist/collection/components/ptc-list/ptc-list.js +63 -0
  57. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -0
  58. package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -0
  59. package/dist/collection/components/ptc-nav/ptc-nav.css +29 -0
  60. package/dist/collection/components/ptc-nav/ptc-nav.js +21 -0
  61. package/dist/collection/components/ptc-nav-item/ptc-nav-item.css +81 -0
  62. package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -0
  63. package/dist/collection/components/ptc-overlay/ptc-overlay.css +3 -0
  64. package/dist/collection/components/ptc-overlay/ptc-overlay.js +14 -0
  65. package/dist/collection/components/ptc-para/ptc-para.css +53 -0
  66. package/dist/collection/components/ptc-para/ptc-para.js +92 -0
  67. package/dist/collection/components/ptc-picture/ptc-picture.css +3 -0
  68. package/dist/collection/components/ptc-picture/ptc-picture.js +44 -0
  69. package/dist/collection/components/ptc-spacer/ptc-spacer.css +307 -0
  70. package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -0
  71. package/dist/collection/components/ptc-span/ptc-span.css +16 -0
  72. package/dist/collection/components/ptc-span/ptc-span.js +44 -0
  73. package/dist/collection/components/ptc-title/ptc-title.css +64 -0
  74. package/dist/collection/components/ptc-title/ptc-title.js +105 -0
  75. package/dist/collection/index.js +1 -0
  76. package/dist/collection/utils/interfaces.js +6 -0
  77. package/dist/collection/utils/utils.js +3 -0
  78. package/dist/custom-elements/index.d.ts +102 -0
  79. package/dist/custom-elements/index.js +14266 -0
  80. package/dist/esm/icon-asset.entry.js +60 -0
  81. package/dist/esm/index-5b1c792c.js +1687 -0
  82. package/dist/esm/index.js +1 -0
  83. package/dist/esm/list-item.entry.js +23 -0
  84. package/dist/esm/loader.js +17 -0
  85. package/dist/esm/lottie-player.entry.js +13472 -0
  86. package/dist/{ptcw-design → esm}/my-component.entry.js +14 -14
  87. package/dist/esm/polyfills/core-js.js +11 -0
  88. package/dist/esm/polyfills/css-shim.js +1 -0
  89. package/dist/esm/polyfills/dom.js +79 -0
  90. package/dist/esm/polyfills/es5-html-element.js +1 -0
  91. package/dist/esm/polyfills/index.js +34 -0
  92. package/dist/esm/polyfills/system.js +6 -0
  93. package/dist/esm/ptc-button.entry.js +44 -0
  94. package/dist/esm/ptc-card.entry.js +64 -0
  95. package/dist/esm/ptc-date.entry.js +35 -0
  96. package/dist/esm/ptc-footer.entry.js +15 -0
  97. package/dist/esm/ptc-image.entry.js +54 -0
  98. package/dist/esm/ptc-img.entry.js +80 -0
  99. package/dist/esm/ptc-link.entry.js +44 -0
  100. package/dist/esm/ptc-list.entry.js +23 -0
  101. package/dist/esm/ptc-lottie.entry.js +19 -0
  102. package/dist/esm/ptc-nav-item.entry.js +90 -0
  103. package/dist/esm/ptc-nav.entry.js +15 -0
  104. package/dist/esm/ptc-overlay.entry.js +15 -0
  105. package/dist/esm/ptc-para.entry.js +35 -0
  106. package/dist/esm/ptc-picture.entry.js +22 -0
  107. package/dist/esm/ptc-spacer.entry.js +42 -0
  108. package/dist/esm/ptc-span.entry.js +22 -0
  109. package/dist/esm/ptc-title.entry.js +45 -0
  110. package/dist/esm/ptcw-design.js +17 -0
  111. package/dist/index.cjs.js +1 -0
  112. package/dist/index.js +1 -0
  113. package/dist/node_modules/@teamhive/lottie-player/dist/collection/components/lottie-player/lottie-player.css +187 -0
  114. package/dist/ptcw-design/assets/brands.svg +1381 -0
  115. package/dist/ptcw-design/assets/footer-social.svg +0 -0
  116. package/dist/ptcw-design/assets/ptc-sprite.svg +73 -0
  117. package/dist/ptcw-design/assets/regular.svg +463 -0
  118. package/dist/ptcw-design/assets/solid.svg +3013 -0
  119. package/dist/ptcw-design/assets/svg-with-js.min.css +5 -0
  120. package/dist/ptcw-design/index.esm.js +0 -1
  121. package/dist/ptcw-design/p-01dc360c.entry.js +1 -0
  122. package/dist/ptcw-design/p-07624831.entry.js +1 -0
  123. package/dist/ptcw-design/p-0a44a2f7.entry.js +1 -0
  124. package/dist/ptcw-design/p-15a428d4.entry.js +1 -0
  125. package/dist/ptcw-design/p-1a26bade.entry.js +1 -0
  126. package/dist/ptcw-design/p-1b4fd3da.entry.js +1 -0
  127. package/dist/ptcw-design/p-2d357f92.entry.js +1 -0
  128. package/dist/ptcw-design/p-31f4bd0c.entry.js +1 -0
  129. package/dist/ptcw-design/p-3af43980.entry.js +1 -0
  130. package/dist/ptcw-design/p-4f366fc3.js +1 -0
  131. package/dist/ptcw-design/p-662ae9b6.entry.js +1 -0
  132. package/dist/ptcw-design/p-77f87fa3.entry.js +1 -0
  133. package/dist/ptcw-design/p-85131a2a.entry.js +1 -0
  134. package/dist/ptcw-design/p-8b6c805c.entry.js +1 -0
  135. package/dist/ptcw-design/p-9f96864d.entry.js +1 -0
  136. package/dist/ptcw-design/p-ac0ad25e.entry.js +1 -0
  137. package/dist/ptcw-design/p-b0b2e82c.entry.js +1 -0
  138. package/dist/ptcw-design/p-c169281f.entry.js +1 -0
  139. package/dist/ptcw-design/p-ce8b8a72.entry.js +1 -0
  140. package/dist/ptcw-design/p-d0909325.entry.js +1 -0
  141. package/dist/ptcw-design/p-df01ac95.entry.js +1 -0
  142. package/dist/ptcw-design/p-fe6a3ba5.entry.js +1 -0
  143. package/dist/ptcw-design/ptcw-design.css +2 -296
  144. package/dist/ptcw-design/ptcw-design.esm.js +1 -122
  145. package/dist/types/components/icon-asset/icon-asset.d.ts +32 -0
  146. package/dist/types/components/list-item/list-item.d.ts +6 -0
  147. package/dist/types/components/my-component/my-component.d.ts +16 -16
  148. package/dist/types/components/ptc-button/ptc-button.d.ts +30 -24
  149. package/dist/types/components/ptc-card/ptc-card.d.ts +47 -7
  150. package/dist/types/components/ptc-date/ptc-date.d.ts +22 -0
  151. package/dist/types/components/ptc-footer/ptc-footer.d.ts +3 -0
  152. package/dist/types/components/ptc-image/ptc-image.d.ts +18 -0
  153. package/dist/types/components/ptc-img/ptc-img.d.ts +14 -0
  154. package/dist/types/components/ptc-link/ptc-link.d.ts +32 -0
  155. package/dist/types/components/ptc-list/ptc-list.d.ts +6 -0
  156. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -0
  157. package/dist/types/components/ptc-nav/ptc-nav.d.ts +3 -0
  158. package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +53 -0
  159. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -0
  160. package/dist/types/components/ptc-para/ptc-para.d.ts +16 -0
  161. package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -0
  162. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -0
  163. package/dist/types/components/ptc-span/ptc-span.d.ts +5 -0
  164. package/dist/types/components/ptc-title/ptc-title.d.ts +16 -0
  165. package/dist/types/components.d.ts +637 -16
  166. package/dist/types/index.d.ts +1 -1
  167. package/dist/types/utils/interfaces.d.ts +9 -3
  168. package/dist/types/utils/utils.d.ts +1 -1
  169. package/loader/cdn.js +3 -0
  170. package/loader/index.cjs.js +3 -0
  171. package/loader/index.d.ts +13 -0
  172. package/loader/index.es2017.js +3 -0
  173. package/loader/index.js +4 -0
  174. package/loader/package.json +10 -0
  175. package/package.json +4 -2
  176. package/readme.md +11 -11
  177. package/dist/ptcw-design/app-globals-0f993ce5.js +0 -3
  178. package/dist/ptcw-design/css-shim-003e9264.js +0 -4
  179. package/dist/ptcw-design/dom-1b195079.js +0 -73
  180. package/dist/ptcw-design/ptc-button.entry.js +0 -39
  181. package/dist/ptcw-design/ptc-card.entry.js +0 -15
  182. package/dist/ptcw-design/shadow-css-c1ad5fdc.js +0 -383
@@ -0,0 +1,44 @@
1
+ import { Component, Prop, Host, h } from '@stencil/core';
2
+ export class PtcPicture {
3
+ constructor() {
4
+ this.lazy = 'lazy';
5
+ }
6
+ render() {
7
+ const classMap = this.getCssClassMap();
8
+ return (h(Host, { class: classMap },
9
+ h("picture", null,
10
+ h("slot", null))));
11
+ }
12
+ getCssClassMap() {
13
+ return {
14
+ [this.lazy]: true,
15
+ };
16
+ }
17
+ static get is() { return "ptc-picture"; }
18
+ static get originalStyleUrls() { return {
19
+ "$": ["ptc-picture.css"]
20
+ }; }
21
+ static get styleUrls() { return {
22
+ "$": ["ptc-picture.css"]
23
+ }; }
24
+ static get properties() { return {
25
+ "lazy": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "'lazy' | 'eager'",
30
+ "resolved": "\"eager\" | \"lazy\"",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": ""
38
+ },
39
+ "attribute": "lazy",
40
+ "reflect": false,
41
+ "defaultValue": "'lazy'"
42
+ }
43
+ }; }
44
+ }
@@ -0,0 +1,307 @@
1
+ :host {
2
+ box-sizing: border-box;
3
+ padding: 0;
4
+ margin: 0;
5
+ background: transparent;
6
+ border: 0;
7
+ -moz-appearance: none;
8
+ -webkit-appearance: none;
9
+ appearance: none;
10
+ position: relative;
11
+ display: block;
12
+ width: 12px;
13
+ min-width: 12px;
14
+ height: 12px
15
+ }
16
+
17
+ @media (min-width: 36em) {
18
+ :host {
19
+ width: 16px;
20
+ min-width: 16px;
21
+ height: 16px
22
+ }
23
+ }
24
+
25
+ :host(.ptc-spacer-horizontal) {
26
+ display: inline-block;
27
+ height: 100% !important
28
+ }
29
+
30
+ :host(.ptc-spacer-horizontal.xx-small) {
31
+ width: 4px;
32
+ min-width: 4px;
33
+ height: 100%
34
+ }
35
+
36
+ @media (min-width: 36em) {
37
+ :host(.ptc-spacer-horizontal.xx-small) {
38
+ width: 4px;
39
+ min-width: 4px
40
+ }
41
+ }
42
+
43
+ :host(.ptc-spacer-horizontal.x-small) {
44
+ width: 4px;
45
+ min-width: 4px;
46
+ height: 100%
47
+ }
48
+
49
+ @media (min-width: 36em) {
50
+ :host(.ptc-spacer-horizontal.x-small) {
51
+ width: 8px;
52
+ min-width: 8px
53
+ }
54
+ }
55
+
56
+ :host(.ptc-spacer-horizontal.small) {
57
+ width: 8px;
58
+ min-width: 8px;
59
+ height: 100%
60
+ }
61
+
62
+ @media (min-width: 36em) {
63
+ :host(.ptc-spacer-horizontal.small) {
64
+ width: 12px;
65
+ min-width: 12px
66
+ }
67
+ }
68
+
69
+ :host(.ptc-spacer-horizontal.medium) {
70
+ height: 100%
71
+ }
72
+
73
+ :host(.ptc-spacer-horizontal.large) {
74
+ width: 16px;
75
+ min-width: 16px;
76
+ height: 100%
77
+ }
78
+
79
+ @media (min-width: 36em) {
80
+ :host(.ptc-spacer-horizontal.large) {
81
+ width: 20px;
82
+ min-width: 20px
83
+ }
84
+ }
85
+
86
+ :host(.ptc-spacer-horizontal.x-large) {
87
+ width: 20px;
88
+ min-width: 20px;
89
+ height: 100%
90
+ }
91
+
92
+ @media (min-width: 36em) {
93
+ :host(.ptc-spacer-horizontal.x-large) {
94
+ width: 28px;
95
+ min-width: 28px
96
+ }
97
+ }
98
+
99
+ :host(.ptc-spacer-horizontal.xx-large) {
100
+ width: 28px;
101
+ min-width: 28px;
102
+ height: 100%
103
+ }
104
+
105
+ @media (min-width: 36em) {
106
+ :host(.ptc-spacer-horizontal.xx-large) {
107
+ width: 36px;
108
+ min-width: 36px
109
+ }
110
+ }
111
+
112
+ :host(.ptc-spacer-horizontal.xxx-large) {
113
+ width: 36px;
114
+ min-width: 36px;
115
+ height: 100%
116
+ }
117
+
118
+ @media (min-width: 36em) {
119
+ :host(.ptc-spacer-horizontal.xxx-large) {
120
+ width: 48px;
121
+ min-width: 48px
122
+ }
123
+ }
124
+
125
+ :host(.ptc-spacer-horizontal.xxxx-large) {
126
+ width: 48px;
127
+ min-width: 48px;
128
+ height: 100%
129
+ }
130
+
131
+ @media (min-width: 36em) {
132
+ :host(.ptc-spacer-horizontal.xxxx-large) {
133
+ width: 72px;
134
+ min-width: 72px
135
+ }
136
+ }
137
+
138
+ :host(.ptc-spacer-vertical.xx-small) {
139
+ width: 100%;
140
+ height: 4px;
141
+ min-height: 4px
142
+ }
143
+
144
+ :host(.ptc-spacer-vertical.x-small) {
145
+ width: 100%;
146
+ height: 4px;
147
+ min-height: 4px
148
+ }
149
+
150
+ @media (min-width: 36em) {
151
+ :host(.ptc-spacer-vertical.x-small) {
152
+ height: 8px;
153
+ min-height: 8px
154
+ }
155
+ }
156
+
157
+ :host(.ptc-spacer-vertical.small) {
158
+ width: 100%;
159
+ height: 8px;
160
+ min-height: 8px
161
+ }
162
+
163
+ @media (min-width: 36em) {
164
+ :host(.ptc-spacer-vertical.small) {
165
+ height: 12px;
166
+ min-height: 12px
167
+ }
168
+ }
169
+
170
+ :host(.ptc-spacer-vertical.medium) {
171
+ width: 100%
172
+ }
173
+
174
+ :host(.ptc-spacer-vertical.large) {
175
+ width: 100%;
176
+ height: 16px;
177
+ min-height: 16px
178
+ }
179
+
180
+ @media (min-width: 36em) {
181
+ :host(.ptc-spacer-vertical.large) {
182
+ height: 20px;
183
+ min-height: 20px
184
+ }
185
+ }
186
+
187
+ :host(.ptc-spacer-vertical.x-large) {
188
+ width: 100%;
189
+ height: 20px;
190
+ min-height: 20px
191
+ }
192
+
193
+ @media (min-width: 36em) {
194
+ :host(.ptc-spacer-vertical.x-large) {
195
+ height: 28px;
196
+ min-height: 28px
197
+ }
198
+ }
199
+
200
+ :host(.ptc-spacer-vertical.xx-large) {
201
+ width: 100%;
202
+ height: 28px;
203
+ min-height: 28px
204
+ }
205
+
206
+ @media (min-width: 36em) {
207
+ :host(.ptc-spacer-vertical.xx-large) {
208
+ height: 36px;
209
+ min-height: 36px
210
+ }
211
+ }
212
+
213
+ :host(.ptc-spacer-vertical.xxx-large) {
214
+ width: 100%;
215
+ height: 36px;
216
+ min-height: 36px
217
+ }
218
+
219
+ @media (min-width: 36em) {
220
+ :host(.ptc-spacer-vertical.xxx-large) {
221
+ height: 48px;
222
+ min-height: 48px
223
+ }
224
+ }
225
+
226
+ :host(.ptc-spacer-vertical.xxxx-large) {
227
+ width: 100%;
228
+ height: 48px;
229
+ min-height: 48px
230
+ }
231
+
232
+ @media (min-width: 36em) {
233
+ :host(.ptc-spacer-vertical.xxxx-large) {
234
+ height: 72px;
235
+ min-height: 72px
236
+ }
237
+ }
238
+
239
+ :host(.ptc-spacer-xx-small) {
240
+ display: none
241
+ }
242
+
243
+ @media (max-width: 22.5em) {
244
+ :host(.ptc-spacer-xx-small) {
245
+ display: block
246
+ }
247
+ }
248
+
249
+ :host(.ptc-spacer-x-small) {
250
+ display: none
251
+ }
252
+
253
+ @media (max-width: 35.9375em) {
254
+ :host(.ptc-spacer-x-small) {
255
+ display: block
256
+ }
257
+ }
258
+
259
+ :host(.ptc-spacer-small) {
260
+ display: none
261
+ }
262
+
263
+ @media (min-width: 36em) {
264
+ :host(.ptc-spacer-small) {
265
+ display: block
266
+ }
267
+ }
268
+
269
+ :host(.ptc-spacer-medium) {
270
+ display: none
271
+ }
272
+
273
+ @media (min-width: 48em) {
274
+ :host(.ptc-spacer-medium) {
275
+ display: block
276
+ }
277
+ }
278
+
279
+ :host(.ptc-spacer-large) {
280
+ display: none
281
+ }
282
+
283
+ @media (min-width: 62em) {
284
+ :host(.ptc-spacer-large) {
285
+ display: block
286
+ }
287
+ }
288
+
289
+ :host(.ptc-spacer-x-large) {
290
+ display: none
291
+ }
292
+
293
+ @media (min-width: 64.0625em) {
294
+ :host(.ptc-spacer-x-large) {
295
+ display: block
296
+ }
297
+ }
298
+
299
+ :host(.ptc-spacer-xx-large) {
300
+ display: none
301
+ }
302
+
303
+ @media (min-width: 76.25em) {
304
+ :host(.ptc-spacer-xx-large) {
305
+ display: block
306
+ }
307
+ }
@@ -0,0 +1,99 @@
1
+ import { Component, Host, h, Prop } from '@stencil/core';
2
+ export class PtcSpacer {
3
+ constructor() {
4
+ /**
5
+ * Breakpoint
6
+ */
7
+ this.breakpoint = '';
8
+ /**
9
+ * Spacing Size
10
+ */
11
+ this.size = 'medium';
12
+ /**
13
+ * Direction
14
+ */
15
+ this.direction = 'vertical';
16
+ }
17
+ render() {
18
+ const classMap = this.getCssClassMap();
19
+ return (h(Host, { class: classMap }));
20
+ }
21
+ getCssClassMap() {
22
+ return {
23
+ [this.size]: true,
24
+ ['ptc-spacer-horizontal']: this.direction === 'horizontal',
25
+ ['ptc-spacer-vertical']: this.direction === 'vertical',
26
+ ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
27
+ ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
28
+ ['ptc-spacer-small']: this.breakpoint === 'small',
29
+ ['ptc-spacer-medium']: this.breakpoint === 'medium',
30
+ ['ptc-spacer-large']: this.breakpoint === 'large',
31
+ ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
32
+ ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
33
+ };
34
+ }
35
+ static get is() { return "ptc-spacer"; }
36
+ static get encapsulation() { return "shadow"; }
37
+ static get originalStyleUrls() { return {
38
+ "$": ["ptc-spacer.css"]
39
+ }; }
40
+ static get styleUrls() { return {
41
+ "$": ["ptc-spacer.css"]
42
+ }; }
43
+ static get properties() { return {
44
+ "breakpoint": {
45
+ "type": "string",
46
+ "mutable": false,
47
+ "complexType": {
48
+ "original": "'' | 'medium' | 'small' | 'large' | 'x-large' | 'xx-large' | 'x-small' | 'xx-small'",
49
+ "resolved": "\"\" | \"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\"",
50
+ "references": {}
51
+ },
52
+ "required": false,
53
+ "optional": false,
54
+ "docs": {
55
+ "tags": [],
56
+ "text": "Breakpoint"
57
+ },
58
+ "attribute": "breakpoint",
59
+ "reflect": false,
60
+ "defaultValue": "''"
61
+ },
62
+ "size": {
63
+ "type": "string",
64
+ "mutable": false,
65
+ "complexType": {
66
+ "original": "'large' | 'medium' | 'small' | 'x-large' | 'x-small' | 'xx-large' | 'xx-small' | 'xxx-large' | 'xxxx-large'",
67
+ "resolved": "\"large\" | \"medium\" | \"small\" | \"x-large\" | \"x-small\" | \"xx-large\" | \"xx-small\" | \"xxx-large\" | \"xxxx-large\"",
68
+ "references": {}
69
+ },
70
+ "required": false,
71
+ "optional": false,
72
+ "docs": {
73
+ "tags": [],
74
+ "text": "Spacing Size"
75
+ },
76
+ "attribute": "size",
77
+ "reflect": false,
78
+ "defaultValue": "'medium'"
79
+ },
80
+ "direction": {
81
+ "type": "string",
82
+ "mutable": false,
83
+ "complexType": {
84
+ "original": "'vertical' | 'horizontal'",
85
+ "resolved": "\"horizontal\" | \"vertical\"",
86
+ "references": {}
87
+ },
88
+ "required": false,
89
+ "optional": false,
90
+ "docs": {
91
+ "tags": [],
92
+ "text": "Direction"
93
+ },
94
+ "attribute": "direction",
95
+ "reflect": false,
96
+ "defaultValue": "'vertical'"
97
+ }
98
+ }; }
99
+ }
@@ -0,0 +1,16 @@
1
+ ptc-span.link-style {
2
+ color: var(--color-primary-uigrey);
3
+ font-weight: var(--ptc-font-weight-black);
4
+ position: relative;
5
+ line-height: var(--ptc-line-height-normal);
6
+ }
7
+ ptc-span.nav-style {
8
+ display: block;
9
+ color: #cac8c8;
10
+ font-weight: var(--ptc-font-weight-medium);
11
+ line-height: var(--ptc-line-height-dense);
12
+ text-transform: capitalize;
13
+ padding-left: var(--ptc-element-spacing-05);
14
+ font-size: 17px;
15
+ padding-bottom: var(--ptc-element-spacing-03);
16
+ }
@@ -0,0 +1,44 @@
1
+ import { Component, Host, h, Prop } from '@stencil/core';
2
+ export class PtcSpan {
3
+ constructor() {
4
+ this.spanStyle = 'tag-style';
5
+ }
6
+ render() {
7
+ const classMap = this.getCssClassMap();
8
+ return (h(Host, { class: classMap },
9
+ h("span", { part: "ptc-span" },
10
+ h("slot", null))));
11
+ }
12
+ getCssClassMap() {
13
+ return {
14
+ [this.spanStyle]: true,
15
+ };
16
+ }
17
+ static get is() { return "ptc-span"; }
18
+ static get originalStyleUrls() { return {
19
+ "$": ["ptc-span.scss"]
20
+ }; }
21
+ static get styleUrls() { return {
22
+ "$": ["ptc-span.css"]
23
+ }; }
24
+ static get properties() { return {
25
+ "spanStyle": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "'link-style' | 'tag-style' | 'nav-style'",
30
+ "resolved": "\"link-style\" | \"nav-style\" | \"tag-style\"",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": false,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": ""
38
+ },
39
+ "attribute": "span-style",
40
+ "reflect": false,
41
+ "defaultValue": "'tag-style'"
42
+ }
43
+ }; }
44
+ }
@@ -0,0 +1,64 @@
1
+ div.center {
2
+ text-align: center;
3
+ }
4
+ div.center.dotted h1::before, div.center.dotted h2::before, div.center.dotted h3::before {
5
+ left: 50%;
6
+ transform: translateX(-50%);
7
+ }
8
+ div.left {
9
+ text-align: left;
10
+ }
11
+ div.left.dotted h1::before, div.left.dotted h2::before, div.left.dotted h3::before {
12
+ left: 0%;
13
+ }
14
+ div.right {
15
+ text-align: right;
16
+ }
17
+ div.right.dotted h1::before, div.right.dotted h2::before, div.right.dotted h3::before {
18
+ right: 0%;
19
+ }
20
+ div.dotted h1::before, div.dotted h2::before, div.dotted h3::before {
21
+ content: "";
22
+ position: absolute;
23
+ top: -6px;
24
+ width: 30%;
25
+ display: block;
26
+ border-top: 3px dashed #5bb73b;
27
+ }
28
+ div.solid h1::before, div.solid h2::before, div.solid h3::before {
29
+ content: "";
30
+ position: absolute;
31
+ width: 100%;
32
+ height: 0.7px;
33
+ background-color: var(--color-secondary-grey);
34
+ opacity: 0.9;
35
+ left: 0px;
36
+ }
37
+ div.solid h1::after, div.solid h2::after, div.solid h3::after {
38
+ content: "";
39
+ position: absolute;
40
+ width: 20%;
41
+ height: 2px;
42
+ background-color: var(--color-primary-green);
43
+ top: -2px;
44
+ left: 0px;
45
+ }
46
+ div h1,
47
+ div h2,
48
+ div h3 {
49
+ display: inline-block;
50
+ position: relative;
51
+ }
52
+ div h1 {
53
+ font-size: 46px;
54
+ line-height: 52px;
55
+ font-weight: 800;
56
+ letter-spacing: 0px;
57
+ color: var(--color-primary-grey);
58
+ }
59
+ div h2 {
60
+ font-size: 28px;
61
+ line-height: 32px;
62
+ font-weight: 800;
63
+ color: var(--color-primary-grey);
64
+ }
@@ -0,0 +1,105 @@
1
+ import { Component, Host, h, Prop } from '@stencil/core';
2
+ export class PtcTitle {
3
+ constructor() {
4
+ /**
5
+ * Title Tag Type
6
+ */
7
+ this.type = 'h2';
8
+ /**
9
+ * Text Align
10
+ */
11
+ this.textAlign = 'left';
12
+ /**
13
+ * Upperline Style
14
+ */
15
+ this.upperline = 'dotted';
16
+ }
17
+ render() {
18
+ const classMap = this.getCssClassMap();
19
+ let TagType;
20
+ switch (this.type) {
21
+ case 'h1':
22
+ TagType = 'h1';
23
+ break;
24
+ case 'h3':
25
+ TagType = 'h3';
26
+ break;
27
+ default:
28
+ TagType = 'h2';
29
+ }
30
+ return (h(Host, null,
31
+ h("div", { class: classMap },
32
+ h(TagType, null,
33
+ h("slot", null)))));
34
+ }
35
+ getCssClassMap() {
36
+ return {
37
+ [this.textAlign]: true,
38
+ [this.upperline]: true,
39
+ };
40
+ }
41
+ static get is() { return "ptc-title"; }
42
+ static get encapsulation() { return "shadow"; }
43
+ static get originalStyleUrls() { return {
44
+ "$": ["ptc-title.scss"]
45
+ }; }
46
+ static get styleUrls() { return {
47
+ "$": ["ptc-title.css"]
48
+ }; }
49
+ static get properties() { return {
50
+ "type": {
51
+ "type": "string",
52
+ "mutable": false,
53
+ "complexType": {
54
+ "original": "'h1' | 'h2' | 'h3'",
55
+ "resolved": "\"h1\" | \"h2\" | \"h3\"",
56
+ "references": {}
57
+ },
58
+ "required": false,
59
+ "optional": false,
60
+ "docs": {
61
+ "tags": [],
62
+ "text": "Title Tag Type"
63
+ },
64
+ "attribute": "type",
65
+ "reflect": false,
66
+ "defaultValue": "'h2'"
67
+ },
68
+ "textAlign": {
69
+ "type": "string",
70
+ "mutable": false,
71
+ "complexType": {
72
+ "original": "'left' | 'center' | 'right'",
73
+ "resolved": "\"center\" | \"left\" | \"right\"",
74
+ "references": {}
75
+ },
76
+ "required": false,
77
+ "optional": false,
78
+ "docs": {
79
+ "tags": [],
80
+ "text": "Text Align"
81
+ },
82
+ "attribute": "text-align",
83
+ "reflect": false,
84
+ "defaultValue": "'left'"
85
+ },
86
+ "upperline": {
87
+ "type": "string",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "'dotted' | 'solid'",
91
+ "resolved": "\"dotted\" | \"solid\"",
92
+ "references": {}
93
+ },
94
+ "required": false,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": "Upperline Style"
99
+ },
100
+ "attribute": "upperline",
101
+ "reflect": false,
102
+ "defaultValue": "'dotted'"
103
+ }
104
+ }; }
105
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ let ResponsiveBgVariables = {
2
+ envs: ['xs', 'sm', 'md', 'lg'],
3
+ selector: '.ptc-img',
4
+ interval: 250
5
+ };
6
+ export { ResponsiveBgVariables };
@@ -0,0 +1,3 @@
1
+ export function format(first, middle, last) {
2
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
3
+ }