@ptcwebops/ptcw-design 6.3.21 → 6.3.22-beta
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/{component-35540bfb.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -16
- package/dist/cjs/ptc-bio-card.cjs.entry.js +5 -20
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -10
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +17 -32
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
- package/dist/cjs/ptc-para.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +11 -9
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +1 -7
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +32 -90
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -6
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
- package/dist/collection/components/list-item/list-item.css +0 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -4
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -15
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +4 -19
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
- package/dist/collection/components/ptc-container/ptc-container.js +2 -2
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +0 -16
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -3
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +18 -50
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -419
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -9
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +11 -9
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -10
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +0 -8
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +1 -7
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -12
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +33 -113
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +19 -19
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -5
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/collection/stories/Card.stories.js +148 -3
- package/dist/collection/stories/Link.stories.js +13 -25
- package/dist/collection/stories/Paragraph.stories.js +10 -18
- package/dist/collection/stories/Select.stories.js +8 -5
- package/dist/collection/stories/Textfield.stories.js +28 -71
- package/dist/collection/stories/Title.stories.js +16 -28
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +230 -293
- package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/ptc-back-to-top.entry.js +1 -16
- package/dist/esm/ptc-bio-card.entry.js +5 -20
- package/dist/esm/ptc-card_2.entry.js +5 -10
- package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
- package/dist/esm/ptc-close-icon_2.entry.js +17 -32
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +784 -4
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -2
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
- package/dist/esm/ptc-para.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -9
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +2 -2
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +1 -7
- package/dist/esm/ptc-product-sidebar.entry.js +6 -38
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +32 -90
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +10 -6
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/{p-752bba1c.entry.js → p-0529caaa.entry.js} +1 -1
- package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0d223232.entry.js +1 -0
- package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
- package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
- package/dist/ptcw-design/{p-24776ca2.entry.js → p-2cc7e2a8.entry.js} +1 -1
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/p-3dac861d.entry.js +1 -0
- package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
- package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-68ed2afe.entry.js → p-48c5eab8.entry.js} +1 -1
- package/dist/ptcw-design/p-4b192f5e.entry.js +1 -0
- package/dist/ptcw-design/p-4f93c631.entry.js +1 -0
- package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
- package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
- package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
- package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
- package/dist/ptcw-design/p-71fbb799.entry.js +1 -0
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-7793babb.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-8038bf31.entry.js +1 -0
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
- package/dist/ptcw-design/p-99ee8a0e.entry.js +1 -0
- package/dist/ptcw-design/p-9d612f1f.entry.js +1 -0
- package/dist/ptcw-design/p-a89b986a.entry.js +68 -0
- package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
- package/dist/ptcw-design/{p-757954b2.entry.js → p-b570e9a5.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/p-bcab66bf.js +336 -0
- package/dist/ptcw-design/p-c788f16f.entry.js +1 -0
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/p-f1734520.entry.js +1 -0
- package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
- package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +209 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -2
- package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +5 -12
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -54
- package/dist/types/components.d.ts +21 -126
- package/dist/types/utils/eloqua.d.ts +9 -0
- package/package.json +2 -6
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/collection/stories/Jumbotron.stories.js +0 -763
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
- package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
- package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
- package/dist/ptcw-design/p-4737a0f6.entry.js +0 -1
- package/dist/ptcw-design/p-4ca956c1.entry.js +0 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
- package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
- package/dist/ptcw-design/p-b6255525.entry.js +0 -1
- package/dist/ptcw-design/p-b7fa9f2c.entry.js +0 -1
- package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
- package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
- package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
- package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
- package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
- package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
- package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
|
@@ -14,17 +14,42 @@ export default {
|
|
|
14
14
|
description: 'Card Link URL (Optional)',
|
|
15
15
|
defaultValue: { summary: 'undefined' }
|
|
16
16
|
},
|
|
17
|
+
// cardLogo: {
|
|
18
|
+
// control: '',
|
|
19
|
+
// description: 'Card Logo',
|
|
20
|
+
// defaultValue: { summary: 'undefined' }
|
|
21
|
+
// },
|
|
17
22
|
cardType: {
|
|
18
23
|
control: 'select',
|
|
19
24
|
options: ["hightlight-card", "horizontal-card", "listing-card"],
|
|
20
25
|
description: 'Card Type Specify Card Type, default to simple card',
|
|
21
26
|
defaultValue: { summary: 'custom-card' }
|
|
22
27
|
},
|
|
28
|
+
// country: {
|
|
29
|
+
// control: 'text',
|
|
30
|
+
// description: 'Card Date',
|
|
31
|
+
// defaultValue: { summary: 'undefined' }
|
|
32
|
+
// },
|
|
33
|
+
// eventType: {
|
|
34
|
+
// control: '',
|
|
35
|
+
// description: 'Event Type',
|
|
36
|
+
// defaultValue: { summary: 'undefined' }
|
|
37
|
+
// },
|
|
23
38
|
hasImage: {
|
|
24
39
|
control: 'boolean',
|
|
25
40
|
description: 'If this card has Image',
|
|
26
41
|
defaultValue: { summary: 'false' }
|
|
27
42
|
},
|
|
43
|
+
// hasLottie: {
|
|
44
|
+
// control: '',
|
|
45
|
+
// description: 'If this card has Lottie Image',
|
|
46
|
+
// defaultValue: { summary: 'false' }
|
|
47
|
+
// },
|
|
48
|
+
// hasVideo: {
|
|
49
|
+
// control: '',
|
|
50
|
+
// description: 'If this card has Video',
|
|
51
|
+
// defaultValue: { summary: 'false' }
|
|
52
|
+
// },
|
|
28
53
|
heading: {
|
|
29
54
|
control: 'text',
|
|
30
55
|
description: 'Card heading',
|
|
@@ -36,24 +61,144 @@ export default {
|
|
|
36
61
|
description: 'Card heading text transform',
|
|
37
62
|
defaultValue: { summary: 'none' }
|
|
38
63
|
},
|
|
64
|
+
// rel: {
|
|
65
|
+
// control: '',
|
|
66
|
+
// description: '(optional) Link card rel',
|
|
67
|
+
// defaultValue: { summary: 'undefined' }
|
|
68
|
+
// },
|
|
39
69
|
ribbonText: {
|
|
40
70
|
control: 'text',
|
|
41
71
|
description: 'Ribbon will show on listing card if this field has any value',
|
|
42
72
|
defaultValue: { summary: 'undefined' }
|
|
43
73
|
},
|
|
74
|
+
// styles: {
|
|
75
|
+
// control: '',
|
|
76
|
+
// description: '(optional) Injected CSS styles',
|
|
77
|
+
// defaultValue: { summary: 'undefined' }
|
|
78
|
+
// },
|
|
44
79
|
target: {
|
|
45
80
|
control: '',
|
|
46
81
|
description: '(optional) Link card target',
|
|
47
82
|
defaultValue: { summary: '_self' }
|
|
48
83
|
},
|
|
84
|
+
// titleLineCutOff: {
|
|
85
|
+
// control: 'number',
|
|
86
|
+
// description: 'Title Line Cut off',
|
|
87
|
+
// defaultValue: { summary: 'undefined' }
|
|
88
|
+
// }
|
|
49
89
|
}
|
|
50
90
|
};
|
|
51
91
|
|
|
92
|
+
// const Template = args => { return html `<ptc-card
|
|
93
|
+
// card-date=${args.cardDate}
|
|
94
|
+
// card-href=${args.cardHref}
|
|
95
|
+
// card-logo=${args.cardLogo}
|
|
96
|
+
// card-type=${args.cardType}
|
|
97
|
+
// country=${args.country}
|
|
98
|
+
// event-type=${args.eventType}
|
|
99
|
+
// has-image=${args.hasImage}
|
|
100
|
+
// has-lottie=${args.hasLottie}
|
|
101
|
+
// has-video=${args.hasVideo}
|
|
102
|
+
// heading=${args.heading}
|
|
103
|
+
// heading-transform=${args.headingTransform}
|
|
104
|
+
// rel=${args.rel}
|
|
105
|
+
// ribbon-text=${args.ribbonText}
|
|
106
|
+
// styles=${args.styles}
|
|
107
|
+
// target=${args.target}
|
|
108
|
+
// title-line-cut-off=${args.titleLineCutOff}
|
|
109
|
+
// ></ptc-card>`;}
|
|
110
|
+
|
|
111
|
+
// Example.args = {
|
|
112
|
+
// cardDate: 'undefined',
|
|
113
|
+
// cardHref: 'undefined',
|
|
114
|
+
// cardLogo: 'undefined',
|
|
115
|
+
// cardType: 'custom-card',
|
|
116
|
+
// country: 'undefined',
|
|
117
|
+
// eventType: 'undefined',
|
|
118
|
+
// hasImage: 'false',
|
|
119
|
+
// hasLottie: 'false',
|
|
120
|
+
// hasVideo: 'false',
|
|
121
|
+
// heading: 'undefined',
|
|
122
|
+
// headingTransform: 'none',
|
|
123
|
+
// rel: 'undefined',
|
|
124
|
+
// ribbonText: 'undefined',
|
|
125
|
+
// styles: 'undefined',
|
|
126
|
+
// target: '_self',
|
|
127
|
+
// titleLineCutOff: 'undefined',
|
|
128
|
+
// }
|
|
129
|
+
|
|
130
|
+
// ** Highlight Card **
|
|
131
|
+
|
|
132
|
+
const HighlightCardTemplate = args => { return html `
|
|
133
|
+
<div class="is-grid">
|
|
134
|
+
<div class="is-col-8">
|
|
135
|
+
<ptc-card
|
|
136
|
+
card-date=${args.cardDate}
|
|
137
|
+
card-href=${args.cardHref}
|
|
138
|
+
card-type=${args.cardType}
|
|
139
|
+
has-image=${args.hasImage}
|
|
140
|
+
heading=${args.heading}
|
|
141
|
+
heading-transform=${args.headingTransform}
|
|
142
|
+
target=${args.target}
|
|
143
|
+
>
|
|
144
|
+
<ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
|
|
145
|
+
<ptc-span slot="slot-before-heading" styles="::part(part-ptc-span){font-size:18px!important}" span-style="tag-style" display="block">Augmented Reality</ptc-span>
|
|
146
|
+
<div slot="slot-description">
|
|
147
|
+
<ptc-para font-size="xx-small" font-weight="w-6" para-line-h="line-height-dense">
|
|
148
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing. Lorem ipsum dolor sit amet, consectetur adipiscing.
|
|
149
|
+
</ptc-para>
|
|
150
|
+
</div>
|
|
151
|
+
</ptc-card>
|
|
152
|
+
</div>
|
|
153
|
+
</div>
|
|
154
|
+
`;}
|
|
155
|
+
|
|
156
|
+
export const HighlightCard = HighlightCardTemplate.bind({});
|
|
157
|
+
|
|
158
|
+
HighlightCard.args = {
|
|
159
|
+
cardDate: '2022-1-2',
|
|
160
|
+
cardHref: 'http://www.ptc.com',
|
|
161
|
+
cardType: 'hightlight-card',
|
|
162
|
+
hasImage: true,
|
|
163
|
+
heading: 'Lorem ipsum dolor sit amet, consectetur adipiscing',
|
|
164
|
+
headingTransform: 'none',
|
|
165
|
+
target: '_blank',
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// ** Horizontal Card **
|
|
169
|
+
|
|
170
|
+
const HorizontalCardTemplate = args => { return html `
|
|
171
|
+
<ptc-card
|
|
172
|
+
card-href=${args.cardHref}
|
|
173
|
+
card-type=${args.cardType}
|
|
174
|
+
has-image=${args.hasImage}
|
|
175
|
+
heading=${args.heading}
|
|
176
|
+
heading-transform=${args.headingTransform}
|
|
177
|
+
target=${args.target}
|
|
178
|
+
>
|
|
179
|
+
<ptc-picture slot="slot-image" alt="image-test" is-full-width="true" src="https://www.ptc.com/-/media/Images/new-org/510x340/PLM/BOM-Management.jpg"></ptc-picture>
|
|
180
|
+
<div class="" slot="slot-description">
|
|
181
|
+
<ptc-para font-size="xx-small" para-line-h="line-height-dense" para-margin="margin-flush">Get full digital associativity across engineering, supply chain, manufacturing, sales, and service.</ptc-para>
|
|
182
|
+
</div>
|
|
183
|
+
</ptc-card>
|
|
184
|
+
`; }
|
|
185
|
+
|
|
186
|
+
export const HorizontalCard = HorizontalCardTemplate.bind({});
|
|
187
|
+
|
|
188
|
+
HorizontalCard.args = {
|
|
189
|
+
cardHref: 'https://www.ptc.com/en/technologies/plm/bill-of-materials',
|
|
190
|
+
cardType: 'horizontal-card',
|
|
191
|
+
hasImage: true,
|
|
192
|
+
heading: 'BOM management',
|
|
193
|
+
headingTransform: 'none',
|
|
194
|
+
target: '_blank',
|
|
195
|
+
}
|
|
196
|
+
|
|
52
197
|
// ** Listing Card **
|
|
53
198
|
|
|
54
199
|
const ListingCardTemplate = args => { return html `
|
|
55
200
|
<div class="is-grid">
|
|
56
|
-
<div class="is-col-
|
|
201
|
+
<div class="is-col-3">
|
|
57
202
|
<ptc-card
|
|
58
203
|
card-date=${args.cardDate}
|
|
59
204
|
card-href=${args.cardHref}
|
|
@@ -66,7 +211,7 @@ const ListingCardTemplate = args => { return html `
|
|
|
66
211
|
>
|
|
67
212
|
<ptc-img slot="slot-image" img-url="http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" size-xs="600x450" size-sm="600x450" size-md="1108x658" size-lg="1108x658" image-type="smart-img" load-mode="lazy-bg"></ptc-img>
|
|
68
213
|
<div slot="slot-description">
|
|
69
|
-
<ptc-para font-size="
|
|
214
|
+
<ptc-para font-size="medium" font-weight="w-4" para-line-h="line-height-19">
|
|
70
215
|
Join us for live presentations and hear about the latest updates for Creo, Windchill PLM, and Thingworx IOT and Augmented Reality.
|
|
71
216
|
</ptc-para>
|
|
72
217
|
</div>
|
|
@@ -86,4 +231,4 @@ ListingCard.args = {
|
|
|
86
231
|
headingTransform: 'none',
|
|
87
232
|
ribbonText: 'eBook',
|
|
88
233
|
target: '_blank',
|
|
89
|
-
}
|
|
234
|
+
}
|
|
@@ -74,33 +74,22 @@ export default {
|
|
|
74
74
|
'underline',
|
|
75
75
|
],
|
|
76
76
|
},
|
|
77
|
-
slotContent: {
|
|
78
|
-
name: 'Default Slot',
|
|
79
|
-
description: 'Text Content between the <ptc-link> tags.',
|
|
80
|
-
control: 'text',
|
|
81
|
-
table: {
|
|
82
|
-
category: 'Default Slot',
|
|
83
|
-
type: {
|
|
84
|
-
summary: 'plain text',
|
|
85
|
-
},
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
77
|
},
|
|
89
78
|
};
|
|
90
79
|
|
|
91
|
-
const Template = args => {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
80
|
+
const Template = args => {
|
|
81
|
+
return html`<ptc-link
|
|
82
|
+
disabled=${args.disabled}
|
|
83
|
+
external=${args.external}
|
|
84
|
+
font-size=${args.fontSize}
|
|
85
|
+
font-weight=${args.fontWeight}
|
|
86
|
+
href=${args.href}
|
|
87
|
+
link-area=${args.linkArea}
|
|
88
|
+
link-title=${args.linkTitle}
|
|
89
|
+
target=${args.target}
|
|
90
|
+
theme=${args.theme}
|
|
91
|
+
>Link Text</ptc-link
|
|
92
|
+
>`;
|
|
104
93
|
};
|
|
105
94
|
|
|
106
95
|
export const Example = Template.bind({});
|
|
@@ -115,5 +104,4 @@ Example.args = {
|
|
|
115
104
|
linkTitle: 'Title attribute goes here',
|
|
116
105
|
target: '_blank',
|
|
117
106
|
theme: 'simple',
|
|
118
|
-
slotContent:'Link text goes here',
|
|
119
107
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
title: 'Atoms/ptc-para',
|
|
@@ -46,24 +45,18 @@ export default {
|
|
|
46
45
|
description: 'Paragraph Margin',
|
|
47
46
|
defaultValue: { summary: 'undefined' }
|
|
48
47
|
},
|
|
49
|
-
|
|
48
|
+
// paraStyle: {
|
|
49
|
+
// control: 'select',
|
|
50
|
+
// options: ["announcement", "default", "flush-style", "intro", "main", "small"],
|
|
51
|
+
// description: 'Paragraph Style',
|
|
52
|
+
// defaultValue: { summary: 'default' }
|
|
53
|
+
// },
|
|
50
54
|
paraZIndex: {
|
|
51
55
|
control: 'select',
|
|
52
56
|
options: ["z-1", "z-2", "z-3", "z-99", "z-999", "z-auto"],
|
|
53
57
|
description: 'sep z-index',
|
|
54
58
|
defaultValue: { summary: 'undefined' }
|
|
55
59
|
},
|
|
56
|
-
slotContent: {
|
|
57
|
-
name: 'Default Slot',
|
|
58
|
-
description: 'Text Content between the <ptc-para> tags.',
|
|
59
|
-
control: 'text',
|
|
60
|
-
table: {
|
|
61
|
-
category: 'Default Slot',
|
|
62
|
-
type: {
|
|
63
|
-
summary: 'html',
|
|
64
|
-
},
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
60
|
// styles: {
|
|
68
61
|
// control: '',
|
|
69
62
|
// description: '(optional) Injected CSS Styles',
|
|
@@ -72,7 +65,7 @@ export default {
|
|
|
72
65
|
}
|
|
73
66
|
};
|
|
74
67
|
|
|
75
|
-
|
|
68
|
+
let paragraphContent = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.";
|
|
76
69
|
|
|
77
70
|
const Template = args => { return html `<ptc-para
|
|
78
71
|
ellipsis-line-cutoff=${args.ellipsisLineCutoff}
|
|
@@ -85,9 +78,7 @@ const Template = args => { return html `<ptc-para
|
|
|
85
78
|
para-style=${args.paraStyle}
|
|
86
79
|
para-z-index=${args.paraZIndex}
|
|
87
80
|
styles=${args.styles}
|
|
88
|
-
|
|
89
|
-
${unsafeHTML(args.slotContent)}
|
|
90
|
-
</ptc-para>`;}
|
|
81
|
+
>${paragraphContent}</ptc-para>`;}
|
|
91
82
|
|
|
92
83
|
export const Example = Template.bind({});
|
|
93
84
|
|
|
@@ -99,6 +90,7 @@ Example.args = {
|
|
|
99
90
|
paraColor: 'primary-grey',
|
|
100
91
|
paraLineH: 'line-height-normal',
|
|
101
92
|
paraMargin: 'margin-5',
|
|
102
|
-
|
|
93
|
+
// paraStyle: 'default',
|
|
103
94
|
paraZIndex: 'z-1',
|
|
95
|
+
// styles: 'undefined'
|
|
104
96
|
}
|
|
@@ -6,27 +6,27 @@ export default {
|
|
|
6
6
|
argTypes: {
|
|
7
7
|
disabled: {
|
|
8
8
|
control: 'boolean',
|
|
9
|
-
description: '
|
|
9
|
+
description: '',
|
|
10
10
|
defaultValue: { summary: 'false' },
|
|
11
11
|
},
|
|
12
12
|
helpertext: {
|
|
13
13
|
control: 'text',
|
|
14
|
-
description: '
|
|
14
|
+
description: '',
|
|
15
15
|
defaultValue: { summary: 'Please select a value!' },
|
|
16
16
|
},
|
|
17
17
|
isRequired: {
|
|
18
18
|
control: 'boolean',
|
|
19
|
-
description: '
|
|
19
|
+
description: '',
|
|
20
20
|
defaultValue: { summary: 'true' },
|
|
21
21
|
},
|
|
22
22
|
label: {
|
|
23
23
|
control: 'text',
|
|
24
|
-
description: '
|
|
24
|
+
description: '',
|
|
25
25
|
defaultValue: { summary: 'undefined' },
|
|
26
26
|
},
|
|
27
27
|
name: {
|
|
28
28
|
control: 'text',
|
|
29
|
-
description: '
|
|
29
|
+
description: '',
|
|
30
30
|
defaultValue: { summary: 'undefined' },
|
|
31
31
|
},
|
|
32
32
|
ptcDataEloquaName: {
|
|
@@ -34,6 +34,7 @@ export default {
|
|
|
34
34
|
description: 'Eloqua Data',
|
|
35
35
|
defaultValue: { summary: 'undefined' },
|
|
36
36
|
},
|
|
37
|
+
selectedValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -45,6 +46,7 @@ const Template = args => {
|
|
|
45
46
|
label=${args.label}
|
|
46
47
|
name=${args.name}
|
|
47
48
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
49
|
+
selected-value=${args.selectedValue}
|
|
48
50
|
>
|
|
49
51
|
<ul class="mdc-list">
|
|
50
52
|
<li class="mdc-list-item" data-value="">
|
|
@@ -75,4 +77,5 @@ Example.args = {
|
|
|
75
77
|
label: 'Lable Name',
|
|
76
78
|
name: 'examplename',
|
|
77
79
|
ptcDataEloquaName: 'data-eloqua-value',
|
|
80
|
+
selectedValue: '',
|
|
78
81
|
};
|
|
@@ -4,122 +4,79 @@ export default {
|
|
|
4
4
|
title: 'Atoms/ptc-textfield',
|
|
5
5
|
tags: [ 'autodocs' ],
|
|
6
6
|
argTypes: {
|
|
7
|
-
alertText: {
|
|
8
|
-
control: 'text',
|
|
9
|
-
description: 'Alert text (blue)',
|
|
10
|
-
defaultValue: { summary: '' }
|
|
11
|
-
},
|
|
12
|
-
alertTextContent: {
|
|
13
|
-
control: 'text',
|
|
14
|
-
description: 'Alert text content - below alert text (grey)',
|
|
15
|
-
defaultValue: { summary: '' }
|
|
16
|
-
},
|
|
17
7
|
disabled: {
|
|
18
8
|
control: 'boolean',
|
|
19
|
-
description: '
|
|
9
|
+
description: '',
|
|
20
10
|
defaultValue: { summary: 'false' }
|
|
21
11
|
},
|
|
22
12
|
fieldId: {
|
|
23
13
|
control: 'text',
|
|
24
|
-
description: '
|
|
25
|
-
defaultValue: { summary: '' }
|
|
14
|
+
description: '',
|
|
15
|
+
defaultValue: { summary: 'undefined' }
|
|
26
16
|
},
|
|
27
|
-
|
|
17
|
+
helpertext: {
|
|
28
18
|
control: 'text',
|
|
29
|
-
description: '
|
|
30
|
-
defaultValue: { summary: '
|
|
31
|
-
},
|
|
32
|
-
helpertext: { control: 'text', description: 'Validation text (red)', defaultValue: { summary: '' } },
|
|
33
|
-
ignoreBlindSubmit: {
|
|
34
|
-
control: 'boolean',
|
|
35
|
-
description: 'Ignore Blind Submit?',
|
|
36
|
-
defaultValue: { summary: 'false' }
|
|
19
|
+
description: '',
|
|
20
|
+
defaultValue: { summary: 'Please enter a value' }
|
|
37
21
|
},
|
|
38
|
-
|
|
39
|
-
control: 'text',
|
|
40
|
-
description: 'Info Text (black)',
|
|
41
|
-
defaultValue: { summary: '' }
|
|
42
|
-
},
|
|
43
|
-
// inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
22
|
+
inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
44
23
|
labelText: {
|
|
45
24
|
control: 'text',
|
|
46
|
-
description: '
|
|
25
|
+
description: '',
|
|
47
26
|
defaultValue: { summary: 'Email' }
|
|
48
27
|
},
|
|
49
|
-
|
|
28
|
+
name: {
|
|
50
29
|
control: 'text',
|
|
51
|
-
description: '
|
|
52
|
-
defaultValue: { summary: '' }
|
|
30
|
+
description: '',
|
|
31
|
+
defaultValue: { summary: 'email' }
|
|
53
32
|
},
|
|
54
33
|
ptcDataEloquaName: {
|
|
55
34
|
control: 'text',
|
|
56
|
-
description: '
|
|
57
|
-
defaultValue: { summary: '' }
|
|
58
|
-
},
|
|
59
|
-
ptcDataTargetEloquaName: {
|
|
60
|
-
control: 'text',
|
|
61
|
-
description: 'Eloqua Target Data Name (for the eloqua)',
|
|
62
|
-
defaultValue: { summary: '' }
|
|
35
|
+
description: '',
|
|
36
|
+
defaultValue: { summary: 'undefined' }
|
|
63
37
|
},
|
|
64
38
|
ptcMaxLength: {
|
|
65
|
-
control: '
|
|
66
|
-
description: '
|
|
67
|
-
defaultValue: { summary: '' }
|
|
39
|
+
control: '',
|
|
40
|
+
description: '',
|
|
41
|
+
defaultValue: { summary: 'undefined' }
|
|
68
42
|
},
|
|
69
43
|
required: {
|
|
70
44
|
control: 'boolean',
|
|
71
|
-
description: '
|
|
45
|
+
description: '',
|
|
72
46
|
defaultValue: { summary: 'true' }
|
|
73
47
|
},
|
|
74
|
-
styles: {
|
|
75
|
-
control: 'text',
|
|
76
|
-
description: 'Inject styles for customization',
|
|
77
|
-
defaultValue: { summary: '' }
|
|
78
|
-
},
|
|
79
48
|
type: {
|
|
80
49
|
control: 'text',
|
|
81
|
-
description: '
|
|
50
|
+
description: 'button, email, file and etc. ',
|
|
82
51
|
defaultValue: { summary: 'text' }
|
|
83
52
|
}
|
|
84
53
|
}
|
|
85
54
|
};
|
|
86
55
|
|
|
87
56
|
const Template = args => { return html `<ptc-textfield
|
|
88
|
-
alert-text=${args.alertText}
|
|
89
|
-
alert-text-content=${args.alertTextContent}
|
|
90
57
|
disabled=${args.disabled}
|
|
91
58
|
field-id=${args.fieldId}
|
|
92
|
-
field-name=${args.fieldName}
|
|
93
59
|
helpertext=${args.helpertext}
|
|
94
|
-
|
|
95
|
-
info-text=${args.infoText}
|
|
60
|
+
input-value=${args.inputValue}
|
|
96
61
|
label-text=${args.labelText}
|
|
97
|
-
|
|
62
|
+
name=${args.name}
|
|
98
63
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
99
|
-
ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
|
|
100
64
|
ptc-max-length=${args.ptcMaxLength}
|
|
101
65
|
required=${args.required}
|
|
102
|
-
styles=${args.styles}
|
|
103
66
|
type=${args.type}
|
|
104
67
|
></ptc-textfield>`;}
|
|
105
68
|
|
|
106
69
|
export const Example = Template.bind({});
|
|
107
70
|
|
|
108
71
|
Example.args = {
|
|
109
|
-
alertText: 'Alert text',
|
|
110
|
-
alertTextContent: 'Alert text content',
|
|
111
72
|
disabled: 'false',
|
|
112
|
-
fieldId: '
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ptcDataEloquaName: 'C_EmailAddress',
|
|
120
|
-
ptcDataTargetEloquaName: '',
|
|
121
|
-
ptcMaxLength: '',
|
|
73
|
+
fieldId: 'ptc-field-name',
|
|
74
|
+
helpertext: 'Please enter a value',
|
|
75
|
+
inputValue: '',
|
|
76
|
+
labelText: 'Email',
|
|
77
|
+
name: 'email',
|
|
78
|
+
ptcDataEloquaName: 'data-eloqua-name-value',
|
|
79
|
+
ptcMaxLength: 'undefined',
|
|
122
80
|
required: 'true',
|
|
123
|
-
|
|
124
|
-
type: 'text'
|
|
81
|
+
type: 'email'
|
|
125
82
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
title: 'Atoms/ptc-title',
|
|
@@ -78,36 +77,26 @@ export default {
|
|
|
78
77
|
isPlmHub: {
|
|
79
78
|
description: "is it a title for PLM Hub page?",
|
|
80
79
|
defaultValue: {summary: false}
|
|
81
|
-
},
|
|
82
|
-
slotContent: {
|
|
83
|
-
name: 'Default Slot',
|
|
84
|
-
description: 'Text Content between the <ptc-title> tags.',
|
|
85
|
-
control: 'text',
|
|
86
|
-
table: {
|
|
87
|
-
category: 'Default Slot',
|
|
88
|
-
type: {
|
|
89
|
-
summary: 'html',
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
80
|
}
|
|
93
81
|
},
|
|
94
82
|
};
|
|
95
83
|
|
|
96
|
-
const Template = args => {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
84
|
+
const Template = args => {
|
|
85
|
+
return html`<ptc-title
|
|
86
|
+
type="${args.type}"
|
|
87
|
+
text-align="${args.textAlign}"
|
|
88
|
+
title-size="${args.titleSize}"
|
|
89
|
+
title-color="${args.titleColor}"
|
|
90
|
+
upperline="${args.upperline}"
|
|
91
|
+
title-display="${args.titleDisplay}"
|
|
92
|
+
title-shadow="${args.titleShadow}"
|
|
93
|
+
title-height="${args.titleHeight}"
|
|
94
|
+
title-margin="${args.titleMargin}"
|
|
95
|
+
title-weight="${args.titleWeight}"
|
|
96
|
+
is-plm-hub="${args.isPlmHub}"
|
|
97
|
+
>
|
|
98
|
+
Title Example
|
|
99
|
+
</ptc-title>`;
|
|
111
100
|
};
|
|
112
101
|
|
|
113
102
|
export const Example = Template.bind({});
|
|
@@ -123,5 +112,4 @@ Example.args = {
|
|
|
123
112
|
titleWeight: 'w-8',
|
|
124
113
|
titleShadow: '',
|
|
125
114
|
isPlmHub: false,
|
|
126
|
-
slotContent:'Lorem ipsum',
|
|
127
115
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/E-Support Organisms/Case Tracker'
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
const CaseTracker = args => {
|
|
8
|
+
return html `
|
|
9
|
+
|
|
10
|
+
<ptc-spacer></ptc-spacer>
|
|
11
|
+
<ptc-spacer></ptc-spacer>
|
|
12
|
+
<ptc-spacer></ptc-spacer>
|
|
13
|
+
<div class="ptc-container is-grid">
|
|
14
|
+
<div class="is-col-12 is-col-6-md">
|
|
15
|
+
<ptc-title upperline="none">Case Tracker - Authorized Use Only</ptc-title>
|
|
16
|
+
<ptc-spacer></ptc-spacer>
|
|
17
|
+
<ptc-spacer></ptc-spacer>
|
|
18
|
+
<ptc-para>If you want to use this application on behalf of a customer use this search from to lookup the customer record. When you have found the customer hit the Next > button</ptc-para>
|
|
19
|
+
<ptc-textfield field-id="contact-email" label-text="Customer Name" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
20
|
+
<ptc-textfield field-id="contact-email" label-text="Customer Number" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
21
|
+
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Search</ptc-button>
|
|
22
|
+
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Next</ptc-button>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="is-col-12 is-col-2-md">
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
<div class="is-col-12 is-col-3-md">
|
|
28
|
+
<ptc-spacer></ptc-spacer>
|
|
29
|
+
<ptc-spacer></ptc-spacer>
|
|
30
|
+
<ptc-spacer></ptc-spacer>
|
|
31
|
+
<ptc-spacer></ptc-spacer>
|
|
32
|
+
<div style="border: solid; padding: 5px;">
|
|
33
|
+
<ptc-title upperline="none" type="h3">search tips</ptc-title>
|
|
34
|
+
<ul>
|
|
35
|
+
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
36
|
+
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
`;}
|
|
44
|
+
|
|
45
|
+
export const Preview = CaseTracker.bind();
|