@ptcwebops/ptcw-design 6.3.34 → 6.3.35
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/loader.cjs.js +1 -1
- package/dist/cjs/ptc-button_5.cjs.entry.js +542 -0
- package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -10
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +10 -10
- package/dist/collection/stories/Breadcrumb2.stories.js +62 -0
- package/dist/collection/stories/BrightcovVideo.stories.js +21 -0
- package/dist/collection/stories/Checkbox.stories.js +21 -53
- package/dist/collection/stories/CheckboxGroup.stories.js +27 -0
- package/dist/collection/stories/CloseIcon.stories.js +10 -0
- package/dist/collection/stories/CollapseList.stories.js +14 -0
- package/dist/collection/stories/Countdown.stories.js +10 -0
- package/dist/collection/stories/DataLookup.stories.js +21 -0
- package/dist/collection/stories/EllipsisDropdown.stories.js +14 -0
- package/dist/collection/stories/Hero.stories.js +35 -120
- package/dist/collection/stories/HeroFooterCTA.stories.js +21 -0
- package/dist/collection/stories/MultiSelect.stories.js +10 -0
- package/dist/collection/stories/ScrollButton.stories.js +14 -0
- package/dist/collection/stories/SearchField.stories.js +21 -0
- package/dist/collection/stories/Select.stories.js +27 -78
- package/dist/collection/stories/SocialShare.stories.js +83 -67
- package/dist/collection/stories/SvgBtn.stories.js +36 -0
- package/dist/collection/stories/TextCopyWithBackground.stories.js +100 -242
- package/dist/collection/stories/TheaterVideo.stories.js +21 -0
- package/dist/collection/stories/VideoEmbed.stories.js +10 -0
- package/dist/collection/stories/backToTop.stories.js +10 -0
- package/dist/collection/stories/backgroundVideo.stories.js +115 -0
- package/dist/collection/stories/jumbotronSubMenu.stories.js +14 -0
- package/dist/collection/stories/ptcLink2.stories.js +142 -0
- package/dist/custom-elements/index.js +10 -10
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-button_5.entry.js +534 -0
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +10 -10
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-2f12c081.js → utils-7c68b88a.js} +1 -1
- package/dist/ptcw-design/{p-901c31b3.entry.js → p-0252726c.entry.js} +1 -1
- package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-16d47ac5.entry.js} +1 -1
- package/dist/ptcw-design/{p-260e573b.entry.js → p-1c99b808.entry.js} +1 -1
- package/dist/ptcw-design/{p-a5fc048f.entry.js → p-24a6eefa.entry.js} +1 -1
- package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-2ba1ef9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-1eb40265.entry.js → p-30bfb2f9.entry.js} +1 -1
- package/dist/ptcw-design/p-33224113.entry.js +1 -0
- package/dist/ptcw-design/{p-297a14cb.entry.js → p-4056c365.entry.js} +1 -1
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-50770cc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-52e17d34.entry.js → p-55e344bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cea8943.entry.js → p-5bd8b4be.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ed4a7ed.entry.js → p-5ca42138.entry.js} +1 -1
- package/dist/ptcw-design/{p-257267e3.entry.js → p-673cfd2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e42a22d.entry.js → p-757e3edb.entry.js} +1 -1
- package/dist/ptcw-design/{p-d51438de.entry.js → p-80588c84.entry.js} +1 -1
- package/dist/ptcw-design/{p-4702c233.entry.js → p-81e65926.entry.js} +1 -1
- package/dist/ptcw-design/{p-80122e26.js → p-826c17e8.js} +1 -1
- package/dist/ptcw-design/p-829855f5.entry.js +1 -0
- package/dist/ptcw-design/{p-8c121480.entry.js → p-a5ad0eff.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f9bafe.entry.js → p-bcc6712c.entry.js} +1 -1
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-dffcfa42.entry.js} +1 -1
- package/dist/ptcw-design/{p-76dab076.entry.js → p-e813ea2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-38e5e590.entry.js → p-eaa0597a.entry.js} +1 -1
- package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
- package/dist/ptcw-design/{p-7e8daa35.entry.js → p-f377006c.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +0 -89
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- package/dist/esm/ptc-button.entry.js +0 -85
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-picture.entry.js +0 -158
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -148
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-15a40f78.entry.js +0 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
- package/dist/ptcw-design/p-539639ff.entry.js +0 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
|
@@ -1,242 +1,100 @@
|
|
|
1
|
-
import { html } from 'lit';
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
title: '
|
|
5
|
-
tags: [ 'autodocs' ],
|
|
6
|
-
argTypes: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
description: '
|
|
20
|
-
defaultValue: { summary: '
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
description: '(optional)
|
|
25
|
-
defaultValue: { summary: '
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
description:
|
|
41
|
-
defaultValue: { summary: '
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
<ptc-button type="link" color="ptc-primary" link-href="https://www.ptc.com" target="_blank">Request
|
|
102
|
-
Free Trial
|
|
103
|
-
</ptc-button>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</ptc-text-copy-with-background>`;}
|
|
108
|
-
|
|
109
|
-
export const TextCopyWithBackground = TextCopyWithBackgroundTemplate.bind({});
|
|
110
|
-
|
|
111
|
-
TextCopyWithBackground.args = {
|
|
112
|
-
ImageAltText: 'undefined',
|
|
113
|
-
backgroundImage: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/8a544169f68442368b37d4ad1295bb21',
|
|
114
|
-
isBackgroundBlur: true,
|
|
115
|
-
overlay: true,
|
|
116
|
-
slitPosition: 'top-right',
|
|
117
|
-
topSlitBackgroundColor: 'white',
|
|
118
|
-
type: 'text-copy-with-background'
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
// ** Hero Footer CTA **
|
|
122
|
-
|
|
123
|
-
const HeroFooterCTATemplate = args => { return html `<ptc-text-copy-with-background
|
|
124
|
-
image-alt-text=${args.ImageAltText}
|
|
125
|
-
background-image=${args.backgroundImage}
|
|
126
|
-
is-background-blur=${args.isBackgroundBlur}
|
|
127
|
-
overlay=${args.overlay}
|
|
128
|
-
slit-position=${args.slitPosition}
|
|
129
|
-
top-slit-background-color=${args.topSlitBackgroundColor}
|
|
130
|
-
type=${args.type}
|
|
131
|
-
>
|
|
132
|
-
<div class="ptc-container">
|
|
133
|
-
<div class="is-grid">
|
|
134
|
-
<div class="is-col is-col-6-lg">
|
|
135
|
-
<ptc-title title-color="white" type='h2' text-align='left' title-size="xxxx-large"
|
|
136
|
-
upperline="no-upperline" title-margin="margin-flush">
|
|
137
|
-
Contact PTC today
|
|
138
|
-
</ptc-title>
|
|
139
|
-
<ptc-para font-size="small" para-color="white" para-line-h="line-height-denser" font-weight="w-6"
|
|
140
|
-
para-margin="margin-4">
|
|
141
|
-
Whether you’re a government contractor or serving in our military, PTC can help you achieve
|
|
142
|
-
excellence.
|
|
143
|
-
</ptc-para>
|
|
144
|
-
</div>
|
|
145
|
-
<div class="is-col is-col-6-lg u-flex-md">
|
|
146
|
-
<ptc-button class="u-align-center" type="link" color="ptc-quaternary" link-href="https://www.ptc.com"
|
|
147
|
-
target="_blank">Contact PTC
|
|
148
|
-
</ptc-button>
|
|
149
|
-
</div>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</ptc-text-copy-with-background>`;}
|
|
153
|
-
|
|
154
|
-
export const HeroFooterCTA = HeroFooterCTATemplate.bind({});
|
|
155
|
-
|
|
156
|
-
HeroFooterCTA.args = {
|
|
157
|
-
ImageAltText: 'undefined',
|
|
158
|
-
backgroundImage: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5ac472cf42f241ee85f44085971dcc7e',
|
|
159
|
-
isBackgroundBlur: true,
|
|
160
|
-
overlay: true,
|
|
161
|
-
slitPosition: 'top-right',
|
|
162
|
-
topSlitBackgroundColor: 'white',
|
|
163
|
-
type: 'hero-footer-cta'
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// ** Tab CTA with background image **
|
|
167
|
-
|
|
168
|
-
const TabCTAWithBackgroundImageTemplate = args => { return html `<ptc-text-copy-with-background
|
|
169
|
-
image-alt-text=${args.ImageAltText}
|
|
170
|
-
background-image=${args.backgroundImage}
|
|
171
|
-
is-background-blur=${args.isBackgroundBlur}
|
|
172
|
-
overlay=${args.overlay}
|
|
173
|
-
slit-position=${args.slitPosition}
|
|
174
|
-
top-slit-background-color=${args.topSlitBackgroundColor}
|
|
175
|
-
type=${args.type}
|
|
176
|
-
>
|
|
177
|
-
<div class="ptc-container">
|
|
178
|
-
<div class="is-grid">
|
|
179
|
-
<div class="is-col is-col-6-lg is-col-5-xl">
|
|
180
|
-
<ptc-title type='h3' text-align='left' upperline="no-upperline"
|
|
181
|
-
title-margin="margin-flush" title-color="gray">
|
|
182
|
-
Factory Insights as a Service</ptc-title>
|
|
183
|
-
<ptc-para font-size="small" para-line-h="line-height-denser" font-weight="w-5">
|
|
184
|
-
Deliver business impact for digital transformation initiatives, accelerate time to
|
|
185
|
-
value, and scale rapidly across the business.
|
|
186
|
-
</ptc-para>
|
|
187
|
-
<ptc-spacer breakpoint="large" size="large"></ptc-spacer>
|
|
188
|
-
<ptc-button type="link" color="ptc-secondary" link-href="https://www.ptc.com"
|
|
189
|
-
target="_blank">Explore the Solution
|
|
190
|
-
</ptc-button>
|
|
191
|
-
</div>
|
|
192
|
-
</div>
|
|
193
|
-
</div>
|
|
194
|
-
</ptc-text-copy-with-background>`;}
|
|
195
|
-
|
|
196
|
-
export const TabCTAWithBackgroundImage = TabCTAWithBackgroundImageTemplate.bind({});
|
|
197
|
-
|
|
198
|
-
TabCTAWithBackgroundImage.args = {
|
|
199
|
-
ImageAltText: 'undefined',
|
|
200
|
-
backgroundImage: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5ac472cf42f241ee85f44085971dcc7e',
|
|
201
|
-
isBackgroundBlur: false,
|
|
202
|
-
overlay: true,
|
|
203
|
-
slitPosition: undefined,
|
|
204
|
-
topSlitBackgroundColor: 'none',
|
|
205
|
-
type: 'tab-cta-with-background'
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// ** Case studies slider cta with background image **
|
|
209
|
-
|
|
210
|
-
const CaseStudiesSliderCtaWithBackgroundImageTemplate = args => { return html `<ptc-text-copy-with-background
|
|
211
|
-
image-alt-text=${args.ImageAltText}
|
|
212
|
-
background-image=${args.backgroundImage}
|
|
213
|
-
is-background-blur=${args.isBackgroundBlur}
|
|
214
|
-
overlay=${args.overlay}
|
|
215
|
-
slit-position=${args.slitPosition}
|
|
216
|
-
top-slit-background-color=${args.topSlitBackgroundColor}
|
|
217
|
-
type=${args.type}
|
|
218
|
-
>
|
|
219
|
-
<div class="card-content" slot="card-content">
|
|
220
|
-
<ptc-title type='h2' text-align='left' upperline="solid" title-height="normal"
|
|
221
|
-
title-margin="margin-flush" title-display="block">Withings</ptc-title>
|
|
222
|
-
<ptc-para font-size="small" font-weight="w-4" para-margin="margin-bottom-6"
|
|
223
|
-
para-line-h="line-height-dense"> Hybrid
|
|
224
|
-
smartwatch pioneer relies on cloud-native Onshape to streamline collaboration
|
|
225
|
-
between its globally distributed design teams.</ptc-para>
|
|
226
|
-
<ptc-button type="link" color="ptc-secondary" link-title="" link-href="https://www.ptc.com"
|
|
227
|
-
target="_blank">Watch the Video
|
|
228
|
-
</ptc-button>
|
|
229
|
-
</div>
|
|
230
|
-
</ptc-text-copy-with-background>`;}
|
|
231
|
-
|
|
232
|
-
export const CaseStudiesSliderCtaWithBackgroundImage = CaseStudiesSliderCtaWithBackgroundImageTemplate.bind({});
|
|
233
|
-
|
|
234
|
-
CaseStudiesSliderCtaWithBackgroundImage.args = {
|
|
235
|
-
ImageAltText: 'undefined',
|
|
236
|
-
backgroundImage: 'https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/5ac472cf42f241ee85f44085971dcc7e',
|
|
237
|
-
isBackgroundBlur: false,
|
|
238
|
-
overlay: false,
|
|
239
|
-
slitPosition: 'bottom-right',
|
|
240
|
-
topSlitBackgroundColor: 'white',
|
|
241
|
-
type: 'case-studies'
|
|
242
|
-
}
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-text-copy-with-background',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
type: {
|
|
8
|
+
description: ' Type Specify Type, default is text-copy-with-background',
|
|
9
|
+
defaultValue: { summary: 'text-copy-with-background' },
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: [
|
|
12
|
+
'text-copy-with-background',
|
|
13
|
+
'hero-footer-cta',
|
|
14
|
+
'tab-cta-with-background',
|
|
15
|
+
'case-studies'
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
backgroundImage: {
|
|
19
|
+
description: ' Background image',
|
|
20
|
+
defaultValue: { summary: '' },
|
|
21
|
+
control: 'text'
|
|
22
|
+
},
|
|
23
|
+
ImageAltText: {
|
|
24
|
+
description: ' (optional) Image alt text',
|
|
25
|
+
defaultValue: { summary: '' },
|
|
26
|
+
control: 'text'
|
|
27
|
+
},
|
|
28
|
+
topSlitBackgroundColor: {
|
|
29
|
+
description: ' (optional) topSlitBackgroundColor: It will be color value which should match the background of the body. Entering in "auto" will grab the background color of the body on page load.',
|
|
30
|
+
defaultValue: { summary: '' },
|
|
31
|
+
control: 'text'
|
|
32
|
+
},
|
|
33
|
+
slitPosition: {
|
|
34
|
+
description: ' (optional) topSlitPosition: It will decide the position of .',
|
|
35
|
+
defaultValue: { summary: 'top-right' },
|
|
36
|
+
control: 'select',
|
|
37
|
+
options: [ 'top-left', 'top-right', 'bottom-left', 'bottom-right' ]
|
|
38
|
+
},
|
|
39
|
+
isBackgroundBlur: {
|
|
40
|
+
description: ' (optional) isBackgroundBlur: If true,it will add background blur image effect',
|
|
41
|
+
defaultValue: { summary: 'false' },
|
|
42
|
+
control: 'boolean'
|
|
43
|
+
},
|
|
44
|
+
overlay: {
|
|
45
|
+
description: ' (optional) overlay: If true,it will add black overlay with 0.55 opacity',
|
|
46
|
+
defaultValue: { summary: 'true' },
|
|
47
|
+
control: 'boolean'
|
|
48
|
+
},
|
|
49
|
+
disableLightLinks: {
|
|
50
|
+
description: ' (optional) disableLightLinks: If true, it will not add class for links to be lighter for ADA compliance',
|
|
51
|
+
defaultValue: { summary: 'false' },
|
|
52
|
+
control: 'boolean'
|
|
53
|
+
},
|
|
54
|
+
styles: {
|
|
55
|
+
description: ' (optional) Injected CSS Styles',
|
|
56
|
+
defaultValue: { summary: '' },
|
|
57
|
+
control: 'text'
|
|
58
|
+
},
|
|
59
|
+
default: {
|
|
60
|
+
description: 'Default slot content',
|
|
61
|
+
control: 'text',
|
|
62
|
+
table: { category: 'slots' }
|
|
63
|
+
},
|
|
64
|
+
'card-content': {
|
|
65
|
+
description: 'Slot: card-content',
|
|
66
|
+
control: 'text',
|
|
67
|
+
table: { category: 'slots' }
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const Template = (args) => {
|
|
72
|
+
return html`<ptc-text-copy-with-background
|
|
73
|
+
type=${args.type}
|
|
74
|
+
backgroundImage=${args.backgroundImage}
|
|
75
|
+
ImageAltText=${args.ImageAltText}
|
|
76
|
+
topSlitBackgroundColor=${args.topSlitBackgroundColor}
|
|
77
|
+
slitPosition=${args.slitPosition}
|
|
78
|
+
isBackgroundBlur=${args.isBackgroundBlur}
|
|
79
|
+
overlay=${args.overlay}
|
|
80
|
+
disableLightLinks=${args.disableLightLinks}
|
|
81
|
+
styles=${args.styles}
|
|
82
|
+
>
|
|
83
|
+
${args.default}
|
|
84
|
+
<span slot="card-content">${args.card-content}</span>
|
|
85
|
+
</ptc-text-copy-with-background>`;
|
|
86
|
+
};
|
|
87
|
+
export const Example = Template.bind({});
|
|
88
|
+
Example.args = {
|
|
89
|
+
type: 'text-copy-with-background',
|
|
90
|
+
backgroundImage: '',
|
|
91
|
+
ImageAltText: '',
|
|
92
|
+
topSlitBackgroundColor: '',
|
|
93
|
+
slitPosition: 'top-right',
|
|
94
|
+
isBackgroundBlur: 'false',
|
|
95
|
+
overlay: 'true',
|
|
96
|
+
disableLightLinks: 'false',
|
|
97
|
+
styles: '',
|
|
98
|
+
default: 'Lorem ipsum text',
|
|
99
|
+
'card-content': 'Lorem for card-content'
|
|
100
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-theater-video',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
default: {
|
|
8
|
+
description: 'Default slot content',
|
|
9
|
+
control: 'text',
|
|
10
|
+
table: { category: 'slots' }
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
const Template = (args) => {
|
|
15
|
+
return html`<ptc-theater-video
|
|
16
|
+
>
|
|
17
|
+
${args.default}
|
|
18
|
+
</ptc-theater-video>`;
|
|
19
|
+
};
|
|
20
|
+
export const Example = Template.bind({});
|
|
21
|
+
Example.args = { default: 'Lorem ipsum text' };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default { title: 'New/ptc-video-embed', tags: [ 'autodocs' ], argTypes: {} };
|
|
4
|
+
const Template = (args) => {
|
|
5
|
+
return html`<ptc-video-embed
|
|
6
|
+
>
|
|
7
|
+
</ptc-video-embed>`;
|
|
8
|
+
};
|
|
9
|
+
export const Example = Template.bind({});
|
|
10
|
+
Example.args = {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default { title: 'New/ptc-back-to-top', tags: [ 'autodocs' ], argTypes: {} };
|
|
4
|
+
const Template = (args) => {
|
|
5
|
+
return html`<ptc-back-to-top
|
|
6
|
+
>
|
|
7
|
+
</ptc-back-to-top>`;
|
|
8
|
+
};
|
|
9
|
+
export const Example = Template.bind({});
|
|
10
|
+
Example.args = {};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-background-video',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
videoSrc: {
|
|
8
|
+
description: ' Video url',
|
|
9
|
+
defaultValue: { summary: '' },
|
|
10
|
+
control: 'text'
|
|
11
|
+
},
|
|
12
|
+
posterSrc: {
|
|
13
|
+
description: ' Poster url(Placeholder image till the video get the loaded)',
|
|
14
|
+
defaultValue: { summary: '' },
|
|
15
|
+
control: 'text'
|
|
16
|
+
},
|
|
17
|
+
overlay: {
|
|
18
|
+
description: ' Overlay(Optional, By default is true)',
|
|
19
|
+
defaultValue: { summary: 'true' },
|
|
20
|
+
control: 'boolean'
|
|
21
|
+
},
|
|
22
|
+
overlayType: {
|
|
23
|
+
description: ' Overlay Type standard is gray gradient. dark is dark gradient',
|
|
24
|
+
defaultValue: { summary: 'standard' },
|
|
25
|
+
control: 'select',
|
|
26
|
+
options: [ 'standard', 'dark' ]
|
|
27
|
+
},
|
|
28
|
+
playButtonTitle: {
|
|
29
|
+
description: ' Play Button Title',
|
|
30
|
+
defaultValue: { summary: '' },
|
|
31
|
+
control: 'text'
|
|
32
|
+
},
|
|
33
|
+
pauseButtonTitle: {
|
|
34
|
+
description: ' Pause Button Title',
|
|
35
|
+
defaultValue: { summary: '' },
|
|
36
|
+
control: 'text'
|
|
37
|
+
},
|
|
38
|
+
buttonLocation: {
|
|
39
|
+
description: ' Pause Button Location',
|
|
40
|
+
defaultValue: { summary: 'bottom-right' },
|
|
41
|
+
control: 'select',
|
|
42
|
+
options: [
|
|
43
|
+
'top-left',
|
|
44
|
+
'top-right',
|
|
45
|
+
'bottom-left',
|
|
46
|
+
'bottom-right',
|
|
47
|
+
'allbp-bottom-right'
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
buttonTabIndex: {
|
|
51
|
+
description: ' Play/Pause Index',
|
|
52
|
+
defaultValue: { summary: '0' }
|
|
53
|
+
},
|
|
54
|
+
trackerId: {
|
|
55
|
+
description: ' Play and Pause Video / @State() paused: boolean; / tracker Id',
|
|
56
|
+
defaultValue: { summary: '' },
|
|
57
|
+
control: 'text'
|
|
58
|
+
},
|
|
59
|
+
defer: {
|
|
60
|
+
description: ' delay loading of video to improve perfomance',
|
|
61
|
+
defaultValue: { summary: '' },
|
|
62
|
+
control: 'boolean'
|
|
63
|
+
},
|
|
64
|
+
type: {
|
|
65
|
+
description: ' Video implementation type: default: Content need to add in tag Ex: <ptc-background-video>Content </ptc-background-video> legacy: Add the blank tag in any other setcon having relative parent. Ex: <div class="section" style="position: relative;"> <ptc-background-video></ptc-background-video> Content </div>',
|
|
66
|
+
defaultValue: { summary: 'default' },
|
|
67
|
+
control: 'select',
|
|
68
|
+
options: [ 'default', 'legacy' ]
|
|
69
|
+
},
|
|
70
|
+
isIframe: {
|
|
71
|
+
description: ' Is it a iframe?',
|
|
72
|
+
defaultValue: { summary: 'false' },
|
|
73
|
+
control: 'boolean'
|
|
74
|
+
},
|
|
75
|
+
default: {
|
|
76
|
+
description: 'Default slot content',
|
|
77
|
+
control: 'text',
|
|
78
|
+
table: { category: 'slots' }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const Template = (args) => {
|
|
83
|
+
return html`<ptc-background-video
|
|
84
|
+
videoSrc=${args.videoSrc}
|
|
85
|
+
posterSrc=${args.posterSrc}
|
|
86
|
+
overlay=${args.overlay}
|
|
87
|
+
overlayType=${args.overlayType}
|
|
88
|
+
playButtonTitle=${args.playButtonTitle}
|
|
89
|
+
pauseButtonTitle=${args.pauseButtonTitle}
|
|
90
|
+
buttonLocation=${args.buttonLocation}
|
|
91
|
+
buttonTabIndex=${args.buttonTabIndex}
|
|
92
|
+
trackerId=${args.trackerId}
|
|
93
|
+
defer=${args.defer}
|
|
94
|
+
type=${args.type}
|
|
95
|
+
isIframe=${args.isIframe}
|
|
96
|
+
>
|
|
97
|
+
${args.default}
|
|
98
|
+
</ptc-background-video>`;
|
|
99
|
+
};
|
|
100
|
+
export const Example = Template.bind({});
|
|
101
|
+
Example.args = {
|
|
102
|
+
videoSrc: '',
|
|
103
|
+
posterSrc: '',
|
|
104
|
+
overlay: 'true',
|
|
105
|
+
overlayType: 'standard',
|
|
106
|
+
playButtonTitle: '',
|
|
107
|
+
pauseButtonTitle: '',
|
|
108
|
+
buttonLocation: 'bottom-right',
|
|
109
|
+
buttonTabIndex: '0',
|
|
110
|
+
trackerId: '',
|
|
111
|
+
defer: '',
|
|
112
|
+
type: 'default',
|
|
113
|
+
isIframe: 'false',
|
|
114
|
+
default: 'Lorem ipsum text'
|
|
115
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/jumbotron-sub-menu',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {}
|
|
7
|
+
};
|
|
8
|
+
const Template = (args) => {
|
|
9
|
+
return html`<jumbotron-sub-menu
|
|
10
|
+
>
|
|
11
|
+
</jumbotron-sub-menu>`;
|
|
12
|
+
};
|
|
13
|
+
export const Example = Template.bind({});
|
|
14
|
+
Example.args = {};
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'New/ptc-link-new',
|
|
5
|
+
tags: [ 'autodocs' ],
|
|
6
|
+
argTypes: {
|
|
7
|
+
disabled: {
|
|
8
|
+
description: ' Disabled link',
|
|
9
|
+
defaultValue: { summary: 'false' },
|
|
10
|
+
control: 'boolean'
|
|
11
|
+
},
|
|
12
|
+
external: {
|
|
13
|
+
description: ' Rxternal link ',
|
|
14
|
+
defaultValue: { summary: 'false' },
|
|
15
|
+
control: 'boolean'
|
|
16
|
+
},
|
|
17
|
+
href: {
|
|
18
|
+
description: ' href',
|
|
19
|
+
defaultValue: { summary: '' },
|
|
20
|
+
control: 'select',
|
|
21
|
+
options: [ 'string', 'undefined' ]
|
|
22
|
+
},
|
|
23
|
+
target: {
|
|
24
|
+
description: ' Target',
|
|
25
|
+
defaultValue: { summary: '_self' },
|
|
26
|
+
control: 'select',
|
|
27
|
+
options: [ 'string', 'undefined' ]
|
|
28
|
+
},
|
|
29
|
+
linkTitle: {
|
|
30
|
+
description: ' Title',
|
|
31
|
+
defaultValue: { summary: '' },
|
|
32
|
+
control: 'select',
|
|
33
|
+
options: [ 'string', 'undefined' ]
|
|
34
|
+
},
|
|
35
|
+
theme: {
|
|
36
|
+
description: ' Theme',
|
|
37
|
+
defaultValue: { summary: 'simple' },
|
|
38
|
+
control: 'select',
|
|
39
|
+
options: [
|
|
40
|
+
'', 'simple',
|
|
41
|
+
'underline', 'nav-title',
|
|
42
|
+
'primary-nav-link', 'nav-title-link',
|
|
43
|
+
'nav-card-link', 'secondary-nav-link',
|
|
44
|
+
'footer-nav-link', 'copyright-link',
|
|
45
|
+
'product-link', 'd-green-underline',
|
|
46
|
+
'd-white-underline', 'global',
|
|
47
|
+
'utility-nav-link', 'standard-link'
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
fontSize: {
|
|
51
|
+
description: ' Font Size',
|
|
52
|
+
defaultValue: { summary: 'medium' },
|
|
53
|
+
control: 'select',
|
|
54
|
+
options: [ 'small', 'medium', 'large', 'medium-large' ]
|
|
55
|
+
},
|
|
56
|
+
fontWeight: {
|
|
57
|
+
description: ' Font Weight',
|
|
58
|
+
defaultValue: { summary: '' },
|
|
59
|
+
control: 'select',
|
|
60
|
+
options: [
|
|
61
|
+
'w-thin',
|
|
62
|
+
'w-regular',
|
|
63
|
+
'w-medium',
|
|
64
|
+
'w-semibold',
|
|
65
|
+
'w-bold',
|
|
66
|
+
'w-extrabold',
|
|
67
|
+
'w-black'
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
linkArea: {
|
|
71
|
+
description: ' Optional Link Area',
|
|
72
|
+
defaultValue: { summary: '' }
|
|
73
|
+
},
|
|
74
|
+
seoCompatibilityMode: {
|
|
75
|
+
description: ' (optional) enable support for seo tools that can only view source',
|
|
76
|
+
defaultValue: { summary: 'false' },
|
|
77
|
+
control: 'boolean'
|
|
78
|
+
},
|
|
79
|
+
styles: {
|
|
80
|
+
description: ' (optional) Injected CSS Styles',
|
|
81
|
+
defaultValue: { summary: '' },
|
|
82
|
+
control: 'text'
|
|
83
|
+
},
|
|
84
|
+
trackerId: {
|
|
85
|
+
description: ' trackerId added for Mouseflow id',
|
|
86
|
+
defaultValue: { summary: '' },
|
|
87
|
+
control: 'text'
|
|
88
|
+
},
|
|
89
|
+
tabNav: {
|
|
90
|
+
description: ' (optional) tab-nav. indicates that its element can be focused, and where it participates in sequential keyboard navigation. A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation',
|
|
91
|
+
defaultValue: { summary: '0' }
|
|
92
|
+
},
|
|
93
|
+
darkFocusState: {
|
|
94
|
+
description: ' darkFocusState for dark background',
|
|
95
|
+
defaultValue: { summary: 'false' },
|
|
96
|
+
control: 'boolean'
|
|
97
|
+
},
|
|
98
|
+
default: {
|
|
99
|
+
description: 'Default slot content',
|
|
100
|
+
control: 'text',
|
|
101
|
+
table: { category: 'slots' }
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const Template = (args) => {
|
|
106
|
+
return html`<ptc-link
|
|
107
|
+
disabled=${args.disabled}
|
|
108
|
+
external=${args.external}
|
|
109
|
+
href=${args.href}
|
|
110
|
+
target=${args.target}
|
|
111
|
+
linkTitle=${args.linkTitle}
|
|
112
|
+
theme=${args.theme}
|
|
113
|
+
fontSize=${args.fontSize}
|
|
114
|
+
fontWeight=${args.fontWeight}
|
|
115
|
+
linkArea=${args.linkArea}
|
|
116
|
+
seoCompatibilityMode=${args.seoCompatibilityMode}
|
|
117
|
+
styles=${args.styles}
|
|
118
|
+
trackerId=${args.trackerId}
|
|
119
|
+
tabNav=${args.tabNav}
|
|
120
|
+
darkFocusState=${args.darkFocusState}
|
|
121
|
+
>
|
|
122
|
+
${args.default}
|
|
123
|
+
</ptc-link>`;
|
|
124
|
+
};
|
|
125
|
+
export const Example = Template.bind({});
|
|
126
|
+
Example.args = {
|
|
127
|
+
disabled: 'false',
|
|
128
|
+
external: 'false',
|
|
129
|
+
href: '',
|
|
130
|
+
target: '_self',
|
|
131
|
+
linkTitle: '',
|
|
132
|
+
theme: 'simple',
|
|
133
|
+
fontSize: 'medium',
|
|
134
|
+
fontWeight: '',
|
|
135
|
+
linkArea: '',
|
|
136
|
+
seoCompatibilityMode: 'false',
|
|
137
|
+
styles: '',
|
|
138
|
+
trackerId: '',
|
|
139
|
+
tabNav: '0',
|
|
140
|
+
darkFocusState: 'false',
|
|
141
|
+
default: 'Lorem ipsum text'
|
|
142
|
+
};
|