@ptcwebops/ptcw-design 0.0.14 → 0.1.0
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/custom-elements/index.d.ts +12 -0
- package/dist/ptcw-design/app-globals-0f993ce5.js +3 -0
- package/dist/ptcw-design/assets/ptc-sprite.svg +67 -0
- package/dist/ptcw-design/css-shim-003e9264.js +4 -0
- package/dist/ptcw-design/dom-1b195079.js +73 -0
- package/dist/{esm → ptcw-design}/icon-asset.entry.js +2 -2
- package/dist/{cjs/index-ac192914.js → ptcw-design/index-f7043a90.js} +1311 -195
- package/dist/ptcw-design/index.esm.js +1 -0
- package/dist/{esm → ptcw-design}/list-item.entry.js +1 -1
- package/dist/{esm → ptcw-design}/lottie-player.entry.js +782 -31
- package/dist/{esm → ptcw-design}/my-component.entry.js +1 -1
- package/dist/ptcw-design/ptc-announcement.entry.js +31 -0
- package/dist/ptcw-design/ptc-button.entry.js +57 -0
- package/dist/{esm → ptcw-design}/ptc-card.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-date.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-footer.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-image.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-img.entry.js +14 -3
- package/dist/{esm → ptcw-design}/ptc-link.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-list.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-lottie.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-nav-item.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-nav.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-overlay.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-para.entry.js +2 -2
- package/dist/{esm → ptcw-design}/ptc-picture.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-spacer.entry.js +1 -1
- package/dist/{esm → ptcw-design}/ptc-span.entry.js +1 -1
- package/dist/ptcw-design/ptc-svg-btn.entry.js +27 -0
- package/dist/{esm → ptcw-design}/ptc-title.entry.js +1 -1
- package/dist/ptcw-design/ptcw-design.css +1030 -2
- package/dist/ptcw-design/ptcw-design.esm.js +122 -1
- package/dist/ptcw-design/shadow-css-c1ad5fdc.js +383 -0
- package/dist/types/components/icon-asset/icon-asset.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +27 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +13 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +4 -0
- package/dist/types/components.d.ts +94 -6
- package/package.json +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -64
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/list-item.cjs.entry.js +0 -27
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/lottie-player.cjs.entry.js +0 -13476
- package/dist/cjs/my-component.cjs.entry.js +0 -26
- package/dist/cjs/ptc-button.cjs.entry.js +0 -48
- package/dist/cjs/ptc-card.cjs.entry.js +0 -75
- package/dist/cjs/ptc-date.cjs.entry.js +0 -48
- package/dist/cjs/ptc-footer.cjs.entry.js +0 -19
- package/dist/cjs/ptc-image.cjs.entry.js +0 -58
- package/dist/cjs/ptc-img.cjs.entry.js +0 -163
- package/dist/cjs/ptc-link.cjs.entry.js +0 -53
- package/dist/cjs/ptc-list.cjs.entry.js +0 -32
- package/dist/cjs/ptc-lottie.cjs.entry.js +0 -23
- package/dist/cjs/ptc-nav-item.cjs.entry.js +0 -94
- package/dist/cjs/ptc-nav.cjs.entry.js +0 -19
- 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 -26
- 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/cjs/ptcw-design.cjs.js +0 -19
- package/dist/collection/assets/responsive-background-image.min.js +0 -1
- package/dist/collection/collection-manifest.json +0 -38
- package/dist/collection/components/icon-asset/assets/brands.svg +0 -1381
- package/dist/collection/components/icon-asset/assets/footer-social.svg +0 -0
- package/dist/collection/components/icon-asset/assets/ptc-sprite.svg +0 -77
- package/dist/collection/components/icon-asset/assets/regular.svg +0 -463
- package/dist/collection/components/icon-asset/assets/solid.svg +0 -3013
- package/dist/collection/components/icon-asset/assets/svg-with-js.min.css +0 -5
- package/dist/collection/components/icon-asset/icon-asset.css +0 -26
- package/dist/collection/components/icon-asset/icon-asset.js +0 -177
- package/dist/collection/components/list-item/list-item.css +0 -3
- package/dist/collection/components/list-item/list-item.js +0 -63
- package/dist/collection/components/my-component/my-component.css +0 -3
- package/dist/collection/components/my-component/my-component.js +0 -74
- package/dist/collection/components/ptc-button/ptc-button.css +0 -76
- package/dist/collection/components/ptc-button/ptc-button.js +0 -153
- package/dist/collection/components/ptc-card/ptc-card.css +0 -239
- package/dist/collection/components/ptc-card/ptc-card.js +0 -260
- package/dist/collection/components/ptc-date/ptc-date.css +0 -3
- package/dist/collection/components/ptc-date/ptc-date.js +0 -155
- package/dist/collection/components/ptc-footer/ptc-footer.css +0 -40
- package/dist/collection/components/ptc-footer/ptc-footer.js +0 -25
- package/dist/collection/components/ptc-image/ptc-image.css +0 -4
- package/dist/collection/components/ptc-image/ptc-image.js +0 -92
- package/dist/collection/components/ptc-img/ptc-img.css +0 -65
- package/dist/collection/components/ptc-img/ptc-img.js +0 -318
- package/dist/collection/components/ptc-link/ptc-link.css +0 -168
- package/dist/collection/components/ptc-link/ptc-link.js +0 -197
- package/dist/collection/components/ptc-list/ptc-list.css +0 -24
- package/dist/collection/components/ptc-list/ptc-list.js +0 -66
- package/dist/collection/components/ptc-lottie/ptc-lottie.css +0 -5
- package/dist/collection/components/ptc-lottie/ptc-lottie.js +0 -58
- package/dist/collection/components/ptc-nav/ptc-nav.css +0 -29
- package/dist/collection/components/ptc-nav/ptc-nav.js +0 -21
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.css +0 -81
- package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +0 -252
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +0 -3
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +0 -14
- package/dist/collection/components/ptc-para/ptc-para.css +0 -57
- package/dist/collection/components/ptc-para/ptc-para.js +0 -111
- package/dist/collection/components/ptc-picture/ptc-picture.css +0 -3
- package/dist/collection/components/ptc-picture/ptc-picture.js +0 -44
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +0 -307
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +0 -99
- package/dist/collection/components/ptc-span/ptc-span.css +0 -36
- package/dist/collection/components/ptc-span/ptc-span.js +0 -86
- package/dist/collection/components/ptc-title/ptc-title.css +0 -64
- package/dist/collection/components/ptc-title/ptc-title.js +0 -105
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/interfaces.js +0 -6
- package/dist/collection/utils/utils.js +0 -3
- package/dist/custom-elements/index.js +0 -14381
- package/dist/esm/index-5b1c792c.js +0 -1687
- package/dist/esm/index.js +0 -1
- package/dist/esm/loader.js +0 -17
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/ptc-button.entry.js +0 -44
- package/dist/esm/ptcw-design.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/node_modules/@teamhive/lottie-player/dist/collection/components/lottie-player/lottie-player.css +0 -187
- package/dist/ptcw-design/p-00b6c442.entry.js +0 -1
- package/dist/ptcw-design/p-01dc360c.entry.js +0 -1
- package/dist/ptcw-design/p-07624831.entry.js +0 -1
- package/dist/ptcw-design/p-0a44a2f7.entry.js +0 -1
- package/dist/ptcw-design/p-1a26bade.entry.js +0 -1
- package/dist/ptcw-design/p-2d357f92.entry.js +0 -1
- package/dist/ptcw-design/p-31f4bd0c.entry.js +0 -1
- package/dist/ptcw-design/p-3af43980.entry.js +0 -1
- package/dist/ptcw-design/p-4f366fc3.js +0 -1
- package/dist/ptcw-design/p-662ae9b6.entry.js +0 -1
- package/dist/ptcw-design/p-70adca2e.entry.js +0 -1
- package/dist/ptcw-design/p-76dfa56f.entry.js +0 -1
- package/dist/ptcw-design/p-77f87fa3.entry.js +0 -1
- package/dist/ptcw-design/p-7a63ca63.entry.js +0 -1
- package/dist/ptcw-design/p-83d98048.entry.js +0 -1
- package/dist/ptcw-design/p-85131a2a.entry.js +0 -1
- package/dist/ptcw-design/p-ac0ad25e.entry.js +0 -1
- package/dist/ptcw-design/p-bce4ef8d.entry.js +0 -1
- package/dist/ptcw-design/p-c169281f.entry.js +0 -1
- package/dist/ptcw-design/p-ce8b8a72.entry.js +0 -1
- package/dist/ptcw-design/p-d4f117d2.entry.js +0 -1
- package/dist/ptcw-design/p-fe6a3ba5.entry.js +0 -1
|
@@ -1,307 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
:host(.link-style) span {
|
|
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
|
-
|
|
8
|
-
:host(.nav-style) span {
|
|
9
|
-
display: block;
|
|
10
|
-
color: #cac8c8;
|
|
11
|
-
font-weight: var(--ptc-font-weight-medium);
|
|
12
|
-
line-height: var(--ptc-line-height-dense);
|
|
13
|
-
text-transform: capitalize;
|
|
14
|
-
padding-left: var(--ptc-element-spacing-05);
|
|
15
|
-
font-size: 17px;
|
|
16
|
-
padding-bottom: var(--ptc-element-spacing-03);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
:host(.tag-style) span {
|
|
20
|
-
font-size: var(--ptc-font-size-medium);
|
|
21
|
-
line-height: var(--ptc-line-height-dense);
|
|
22
|
-
font-weight: var(--ptc-font-weight-regular);
|
|
23
|
-
color: #40434a;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
:host(.inline) span {
|
|
27
|
-
display: inline;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
:host(.block) span {
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
:host(.inline-block) span {
|
|
35
|
-
display: inline-block;
|
|
36
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Component, Host, h, Prop } from '@stencil/core';
|
|
2
|
-
export class PtcSpan {
|
|
3
|
-
constructor() {
|
|
4
|
-
/**
|
|
5
|
-
* Span Style
|
|
6
|
-
*/
|
|
7
|
-
this.spanStyle = 'tag-style';
|
|
8
|
-
this.display = 'inline';
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
const classMap = this.getCssClassMap();
|
|
12
|
-
return (h(Host, { class: classMap },
|
|
13
|
-
this.styles && h("style", null, this.styles),
|
|
14
|
-
h("span", { part: "part-ptc-span" },
|
|
15
|
-
h("slot", null))));
|
|
16
|
-
}
|
|
17
|
-
getCssClassMap() {
|
|
18
|
-
return {
|
|
19
|
-
[this.spanStyle]: true,
|
|
20
|
-
[this.display]: true,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
static get is() { return "ptc-span"; }
|
|
24
|
-
static get encapsulation() { return "shadow"; }
|
|
25
|
-
static get originalStyleUrls() { return {
|
|
26
|
-
"$": ["ptc-span.scss"]
|
|
27
|
-
}; }
|
|
28
|
-
static get styleUrls() { return {
|
|
29
|
-
"$": ["ptc-span.css"]
|
|
30
|
-
}; }
|
|
31
|
-
static get properties() { return {
|
|
32
|
-
"spanStyle": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"mutable": false,
|
|
35
|
-
"complexType": {
|
|
36
|
-
"original": "'link-style' | 'tag-style' | 'nav-style'",
|
|
37
|
-
"resolved": "\"link-style\" | \"nav-style\" | \"tag-style\"",
|
|
38
|
-
"references": {}
|
|
39
|
-
},
|
|
40
|
-
"required": false,
|
|
41
|
-
"optional": false,
|
|
42
|
-
"docs": {
|
|
43
|
-
"tags": [],
|
|
44
|
-
"text": "Span Style"
|
|
45
|
-
},
|
|
46
|
-
"attribute": "span-style",
|
|
47
|
-
"reflect": false,
|
|
48
|
-
"defaultValue": "'tag-style'"
|
|
49
|
-
},
|
|
50
|
-
"display": {
|
|
51
|
-
"type": "string",
|
|
52
|
-
"mutable": false,
|
|
53
|
-
"complexType": {
|
|
54
|
-
"original": "'block' | 'inline-block' | 'inline'",
|
|
55
|
-
"resolved": "\"block\" | \"inline\" | \"inline-block\"",
|
|
56
|
-
"references": {}
|
|
57
|
-
},
|
|
58
|
-
"required": false,
|
|
59
|
-
"optional": false,
|
|
60
|
-
"docs": {
|
|
61
|
-
"tags": [],
|
|
62
|
-
"text": ""
|
|
63
|
-
},
|
|
64
|
-
"attribute": "display",
|
|
65
|
-
"reflect": false,
|
|
66
|
-
"defaultValue": "'inline'"
|
|
67
|
-
},
|
|
68
|
-
"styles": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"mutable": false,
|
|
71
|
-
"complexType": {
|
|
72
|
-
"original": "string",
|
|
73
|
-
"resolved": "string",
|
|
74
|
-
"references": {}
|
|
75
|
-
},
|
|
76
|
-
"required": false,
|
|
77
|
-
"optional": true,
|
|
78
|
-
"docs": {
|
|
79
|
-
"tags": [],
|
|
80
|
-
"text": "Injected Styles"
|
|
81
|
-
},
|
|
82
|
-
"attribute": "styles",
|
|
83
|
-
"reflect": false
|
|
84
|
-
}
|
|
85
|
-
}; }
|
|
86
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/collection/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|