luna-one 3.1.596 → 3.1.598
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2315 -2315
- package/dist/global-styles/content/typography.scss +140 -140
- package/dist/global-styles/fonts/benton.scss +113 -113
- package/dist/global-styles/global-terra.scss +10 -10
- package/dist/global-styles/global-vars.scss +599 -599
- package/dist/global-styles/layout/_css-grid.scss +20 -20
- package/dist/global-styles/layout/_media-queries.scss +35 -35
- package/dist/global-styles/layout/_normalize.scss +340 -340
- package/dist/global-styles/layout/_reset.scss +13 -13
- package/dist/global-styles/mixins/_box-shadow.scss +6 -6
- package/dist/global-styles/mixins/_mixins.scss +5 -5
- package/dist/global-styles/mixins/_organism-padding-hack.scss +7 -7
- package/dist/global-styles/mixins/_typography.scss +102 -102
- package/dist/global-styles/mixins/_yiq.scss +50 -50
- package/dist/global-styles/mixins/_z-index.scss +3 -3
- package/dist/global-styles/terra.scss +15 -15
- package/dist/global-styles/utilities/_box-shadow.scss +8 -8
- package/dist/global-styles/utilities/_display.scss +48 -48
- package/dist/global-styles/utilities/_font-family.scss +15 -15
- package/dist/global-styles/utilities/_parallax.scss +23 -23
- package/dist/global-styles/utilities/_text-align.scss +24 -24
- package/dist/luna/components/2x2/2x2.scss +915 -915
- package/dist/luna/components/2x2/2x2Documentation.mdx +77 -77
- package/dist/luna/components/Accordion/Accordion.scss +154 -154
- package/dist/luna/components/Accordion/AccordionDocumentation.mdx +45 -45
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.scss +81 -81
- package/dist/luna/components/AdminProductData/AdminProductData.scss +75 -75
- package/dist/luna/components/BlockListItems/BlockListItems.scss +285 -285
- package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -339
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBanner.scss +6 -6
- package/dist/luna/components/CTAButtons/CTAButtons.scss +19 -19
- package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -33
- package/dist/luna/components/Carousel/Carousel.scss +155 -155
- package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -161
- package/dist/luna/components/ComparisonTable/ComparisonTable.scss +331 -331
- package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -159
- package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -45
- package/dist/luna/components/CtaWithHeader/CtaWithHeader.scss +324 -324
- package/dist/luna/components/DataPoint/DataPoint.scss +170 -170
- package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -40
- package/dist/luna/components/EventCard/EventCard.scss +134 -134
- package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -46
- package/dist/luna/components/FilterHero/FilterHero.scss +80 -80
- package/dist/luna/components/FilterSection/FilterSection.scss +175 -175
- package/dist/luna/components/Flyout/Flyout.scss +367 -367
- package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -60
- package/dist/luna/components/Footer/Footer.scss +484 -484
- package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -133
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.scss +722 -722
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +93 -93
- package/dist/luna/components/HTMLEmbed/HTMLEmbed.scss +51 -51
- package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -31
- package/dist/luna/components/Header/Header.scss +36 -36
- package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -24
- package/dist/luna/components/IconTextList/IconTextList.scss +124 -124
- package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +45 -45
- package/dist/luna/components/ImageGallery/ImageGallery.scss +442 -442
- package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -90
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.scss +122 -122
- package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +22 -22
- package/dist/luna/components/JobPosting/JobPosting.scss +171 -171
- package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -69
- package/dist/luna/components/LanguageSelector/LanguageSelector.scss +318 -318
- package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +119 -119
- package/dist/luna/components/LinkList/LinkList.scss +59 -59
- package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -54
- package/dist/luna/components/LoadingSpinner/LoadingSpinner.scss +34 -34
- package/dist/luna/components/Login/Login.scss +180 -180
- package/dist/luna/components/MarketoForm/MarketoForm.scss +56 -56
- package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -1
- package/dist/luna/components/MegaMenu/MegaMenu.js +3 -3
- package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
- package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +289 -289
- package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
- package/dist/luna/components/MobileNav/MobileNav.scss +286 -286
- package/dist/luna/components/NavBar/NavBar.scss +628 -628
- package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -245
- package/dist/luna/components/NavBarTop/NavBarTop.scss +403 -403
- package/dist/luna/components/NavSearch/NavSearch.scss +130 -130
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +339 -339
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -89
- package/dist/luna/components/OverlayNotice/OverlayNotice.scss +247 -247
- package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -45
- package/dist/luna/components/Pagination/Pagination.scss +27 -27
- package/dist/luna/components/ProductSummary/ProductSummary.scss +273 -273
- package/dist/luna/components/ProductsPackage/ProductsPackage.scss +194 -194
- package/dist/luna/components/ProseLayout/ProseLayout.js +7 -5
- package/dist/luna/components/ProseLayout/ProseLayout.scss +394 -384
- package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -93
- package/dist/luna/components/PullQuote/PullQuote.scss +400 -400
- package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -60
- package/dist/luna/components/PullQuote/ico-quote-white.svg +3 -3
- package/dist/luna/components/PullQuote/ico-quote.svg +3 -3
- package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
- package/dist/luna/components/ResourceGrid/ResourceGrid.scss +34 -34
- package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -102
- package/dist/luna/components/ScrollInPlace/ScrollInPlace.scss +219 -219
- package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -123
- package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.scss +142 -142
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.scss +124 -124
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.scss +434 -434
- package/dist/luna/components/SubNav/SubNav.scss +274 -274
- package/dist/luna/components/SuperHero/SuperHero.scss +804 -804
- package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -57
- package/dist/luna/components/SupportCard/SupportCard.scss +134 -134
- package/dist/luna/components/Tabs/Tabs.scss +871 -871
- package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -94
- package/dist/luna/components/TimeBasedList/TimeBasedList.scss +394 -394
- package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -123
- package/dist/luna/components/TrainerCard/TrainerCard.scss +51 -51
- package/dist/luna/components/TrialForm/TrialComponents/TrialSpecifics.scss +44 -44
- package/dist/luna/components/TrialForm/TrialComponents/TrialSummary.scss +57 -57
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.scss +28 -28
- package/dist/luna/components/TrialForm/images/check.svg +3 -3
- package/dist/luna/components/TrialForm/images/form-border-bottom-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-bottom-light.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-light.svg +4 -4
- package/dist/luna/components/UnboundedCard/UnboundedCard.scss +108 -108
- package/dist/luna/components/UnboundedCard/playIcon.svg +17 -17
- package/dist/luna/components/VariableContentCard/VariableContentCard.scss +253 -253
- package/dist/luna/components/Video/Video.scss +209 -209
- package/dist/luna/components/Video/VideoDocumentation.mdx +56 -56
- package/dist/luna/components/VidyardModal/VidyardModal.scss +34 -34
- package/dist/luna/components/WaffleMenu/WaffleMenu.scss +73 -73
- package/dist/luna/images/arrow-diagonal-black.svg +13 -13
- package/dist/luna/images/arrow-diagonal-blue.svg +13 -13
- package/dist/luna/images/arrow-diagonal-white.svg +13 -13
- package/dist/luna/images/bulletpoint.svg +3 -3
- package/dist/luna/images/callout-icon.svg +3 -3
- package/dist/luna/images/carat-down.svg +3 -3
- package/dist/luna/images/carat-up.svg +3 -3
- package/dist/luna/images/check-blue.svg +4 -4
- package/dist/luna/images/circle-arrow-right-black.svg +3 -3
- package/dist/luna/images/circle-arrow-right-white.svg +3 -3
- package/dist/luna/images/circle-arrow.svg +3 -3
- package/dist/luna/images/close-blue.svg +4 -4
- package/dist/luna/images/close-button.svg +42 -42
- package/dist/luna/images/close-dark-navy.svg +3 -3
- package/dist/luna/images/close-icon.svg +3 -3
- package/dist/luna/images/close.svg +3 -3
- package/dist/luna/images/collapse-close-blue.svg +5 -5
- package/dist/luna/images/collapse-close-gold.svg +5 -5
- package/dist/luna/images/collapse-open-blue.svg +4 -4
- package/dist/luna/images/collapse-open-gold.svg +4 -4
- package/dist/luna/images/cross-medium-blue.svg +4 -4
- package/dist/luna/images/cross-medium-white.svg +5 -5
- package/dist/luna/images/down-caret-dark-blue.svg +4 -4
- package/dist/luna/images/down-caret-dark-gray.svg +4 -4
- package/dist/luna/images/down-caret-light-gray.svg +4 -4
- package/dist/luna/images/downArrow.svg +36 -36
- package/dist/luna/images/ellipses.svg +6 -6
- package/dist/luna/images/external-arrow-blue.svg +11 -11
- package/dist/luna/images/external-arrow-white-theme.svg +12 -12
- package/dist/luna/images/external-arrow.svg +12 -12
- package/dist/luna/images/facebook.svg +13 -13
- package/dist/luna/images/form-border-top-light.svg +4 -4
- package/dist/luna/images/frame-intersection.svg +3 -3
- package/dist/luna/images/gallery-image-corner-border.svg +3 -3
- package/dist/luna/images/green-tick.svg +3 -3
- package/dist/luna/images/instagram.svg +19 -19
- package/dist/luna/images/internal-arrow-blue.svg +15 -15
- package/dist/luna/images/internal-arrow-white-theme.svg +15 -15
- package/dist/luna/images/internal-arrow.svg +15 -15
- package/dist/luna/images/linkedin.svg +15 -15
- package/dist/luna/images/logo-icon.svg +17 -17
- package/dist/luna/images/pdf-doc.svg +9 -9
- package/dist/luna/images/play.svg +17 -17
- package/dist/luna/images/right-caret-dark-blue.svg +3 -3
- package/dist/luna/images/right-caret-light-gray.svg +4 -4
- package/dist/luna/images/right-caret-light-yellow-stroke.svg +9 -9
- package/dist/luna/images/right-caret-light-yellow.svg +4 -4
- package/dist/luna/images/right-caret-medium-gray.svg +4 -4
- package/dist/luna/images/search.svg +9 -9
- package/dist/luna/images/skipicon.svg +154 -154
- package/dist/luna/images/text-doc.svg +9 -9
- package/dist/luna/images/text-lines.svg +22 -22
- package/dist/luna/images/tooltip-close-icon.svg +3 -3
- package/dist/luna/images/tooltip-icon.svg +3 -3
- package/dist/luna/images/twitter.svg +17 -17
- package/dist/luna/images/up-arrow.svg +36 -36
- package/dist/luna/images/up-right-arrow.svg +9 -9
- package/dist/luna/images/user-profile.svg +37 -37
- package/dist/luna/images/user.svg +4 -4
- package/dist/luna/images/waffle.svg +11 -11
- package/dist/luna/images/worldwide.svg +19 -19
- package/dist/luna/images/youtube.svg +14 -14
- package/package.json +91 -91
@@ -1,159 +1,159 @@
|
|
1
|
-
#### Comparison Table
|
2
|
-
|
3
|
-
###### Props -
|
4
|
-
- `data` **(required)** - object containing comparison table data, with following props
|
5
|
-
- `showImages` - (boolean) for display of images, defaults to
|
6
|
-
- `comparisonColumnGroups` - fields for comparison in the table, including any tooltip text. Product fields must match these in order to function properly.
|
7
|
-
- `columnName` - (text) field for column name in table
|
8
|
-
- `tooltipText` (optional) - (text) text to display in tooltip for this field
|
9
|
-
- `productDetails` - (object) product data object for fields in the table
|
10
|
-
- `productName` - (text) name of product for comparison
|
11
|
-
- `image` (optional) - (object) product image for display
|
12
|
-
- `url` - (text) product image URL
|
13
|
-
- `subheading` - (text) product subheading
|
14
|
-
- `productLink` - (text) link to product page
|
15
|
-
- `productAttributes` - product attributes for comparison in table - these must match the comparison columns in the `comparisonColumnGroups` data.
|
16
|
-
- `name` - (text) name of the attribute
|
17
|
-
- `value` - (text) value of the attribute
|
18
|
-
|
19
|
-
###### Example -
|
20
|
-
|
21
|
-
```
|
22
|
-
const content = {
|
23
|
-
comparisonColumnGroups: [
|
24
|
-
{
|
25
|
-
categoryName: "ISO",
|
26
|
-
comparisonColumns: [
|
27
|
-
{
|
28
|
-
columnName: "Universal Terminal",
|
29
|
-
tooltipText: "Universal terminal is a lorem ipsum dolor sit amet. Universal terminal is a lorem ipsum dolor sit amet. Universal terminal is a lorem ipsum dolor sit amet.",
|
30
|
-
},
|
31
|
-
{
|
32
|
-
columnName: "Task Controller",
|
33
|
-
},
|
34
|
-
{
|
35
|
-
columnName: "ISO TC Section Control",
|
36
|
-
},
|
37
|
-
]
|
38
|
-
},
|
39
|
-
{
|
40
|
-
categoryName: "Field IQ",
|
41
|
-
comparisonColumns: [
|
42
|
-
{
|
43
|
-
columnName: "Controlled Channels",
|
44
|
-
},
|
45
|
-
{
|
46
|
-
columnName: "Field IQ Section Control",
|
47
|
-
tooltipText: "Universal terminal is a lorem ipsum dolor sit amet.",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
columnName: "FIQ Controlled Product Drives",
|
51
|
-
},
|
52
|
-
]
|
53
|
-
},
|
54
|
-
{
|
55
|
-
categoryName: "Serial Rate/TUVR",
|
56
|
-
comparisonColumns: [
|
57
|
-
{
|
58
|
-
columnName: "Population/Blockage Monitoring",
|
59
|
-
},
|
60
|
-
{
|
61
|
-
columnName: "Controlled Channels",
|
62
|
-
},
|
63
|
-
]
|
64
|
-
}
|
65
|
-
],
|
66
|
-
productDetails: [
|
67
|
-
{
|
68
|
-
productName: "Product Name",
|
69
|
-
image: {
|
70
|
-
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
71
|
-
},
|
72
|
-
subheading: "Subheading Lorem Ipsum",
|
73
|
-
productLink: {
|
74
|
-
url: "/products/product-name"
|
75
|
-
},
|
76
|
-
productAttributes: [
|
77
|
-
{ value: true },
|
78
|
-
{ value: "Up to 96 Sections", columnWidth: "medium" },
|
79
|
-
{ value: "Attribute 3" },
|
80
|
-
{ value: "Columns can get wider if the content within them needs more room Lorem ipsum dolor sit amet.", columnWidth: "long" },
|
81
|
-
{ value: "Attribute 1" },
|
82
|
-
{ value: "" },
|
83
|
-
{ value: "Attribute 3" },
|
84
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet.", columnWidth: "long" },
|
85
|
-
]
|
86
|
-
},
|
87
|
-
{
|
88
|
-
productName: "Product Name",
|
89
|
-
productTag: "Best Performance",
|
90
|
-
image: {
|
91
|
-
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
92
|
-
},
|
93
|
-
subheading: "Subheading Lorem Ipsum",
|
94
|
-
productLink: {
|
95
|
-
url: "/products/product-name"
|
96
|
-
},
|
97
|
-
bodyText: "Body text if necessary",
|
98
|
-
productAttributes: [
|
99
|
-
{ value: false },
|
100
|
-
{ value: "Up to 96 Sections" },
|
101
|
-
{ value: "Attribute 3" },
|
102
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
103
|
-
{ value: "Attribute 1" },
|
104
|
-
{ value: "" },
|
105
|
-
{ value: "Attribute 3" },
|
106
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
107
|
-
]
|
108
|
-
},
|
109
|
-
{
|
110
|
-
productName: "Product Name",
|
111
|
-
image: {
|
112
|
-
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
113
|
-
},
|
114
|
-
subheading: "Subheading Lorem Ipsum",
|
115
|
-
productLink: {
|
116
|
-
url: "/products/product-name"
|
117
|
-
},
|
118
|
-
bodyText: "Body text if necessary",
|
119
|
-
productAttributes: [
|
120
|
-
{ value: true },
|
121
|
-
{ value: "Up to 96 Sections" },
|
122
|
-
{ value: "Attribute 3" },
|
123
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
124
|
-
{ value: "Attribute 1" },
|
125
|
-
{ value: "Up to 96 Sections" },
|
126
|
-
{ value: "Attribute 3" },
|
127
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
128
|
-
]
|
129
|
-
},
|
130
|
-
{
|
131
|
-
productName: "Product Name",
|
132
|
-
image: {
|
133
|
-
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
134
|
-
},
|
135
|
-
subheading: "Subheading Lorem Ipsum",
|
136
|
-
productLink: {
|
137
|
-
url: "/products/product-name"
|
138
|
-
},
|
139
|
-
bodyText: "Body text if necessary",
|
140
|
-
productAttributes: [
|
141
|
-
{ value: false },
|
142
|
-
{ value: "Up to 96 Sections" },
|
143
|
-
{ value: "Attribute 3" },
|
144
|
-
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
145
|
-
{ value: "Attribute 1" },
|
146
|
-
{ value: "" },
|
147
|
-
{ value: "Attribute 3" },
|
148
|
-
{ value: "" },
|
149
|
-
]
|
150
|
-
},
|
151
|
-
],
|
152
|
-
};
|
153
|
-
|
154
|
-
export const Default = () => (
|
155
|
-
<div style={{ maxWidth: "1200px", margin: "auto", padding: "0 32px" }}>
|
156
|
-
<ComparisonTable data={content} />
|
157
|
-
</div>
|
158
|
-
);
|
159
|
-
```
|
1
|
+
#### Comparison Table
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
- `data` **(required)** - object containing comparison table data, with following props
|
5
|
+
- `showImages` - (boolean) for display of images, defaults to
|
6
|
+
- `comparisonColumnGroups` - fields for comparison in the table, including any tooltip text. Product fields must match these in order to function properly.
|
7
|
+
- `columnName` - (text) field for column name in table
|
8
|
+
- `tooltipText` (optional) - (text) text to display in tooltip for this field
|
9
|
+
- `productDetails` - (object) product data object for fields in the table
|
10
|
+
- `productName` - (text) name of product for comparison
|
11
|
+
- `image` (optional) - (object) product image for display
|
12
|
+
- `url` - (text) product image URL
|
13
|
+
- `subheading` - (text) product subheading
|
14
|
+
- `productLink` - (text) link to product page
|
15
|
+
- `productAttributes` - product attributes for comparison in table - these must match the comparison columns in the `comparisonColumnGroups` data.
|
16
|
+
- `name` - (text) name of the attribute
|
17
|
+
- `value` - (text) value of the attribute
|
18
|
+
|
19
|
+
###### Example -
|
20
|
+
|
21
|
+
```
|
22
|
+
const content = {
|
23
|
+
comparisonColumnGroups: [
|
24
|
+
{
|
25
|
+
categoryName: "ISO",
|
26
|
+
comparisonColumns: [
|
27
|
+
{
|
28
|
+
columnName: "Universal Terminal",
|
29
|
+
tooltipText: "Universal terminal is a lorem ipsum dolor sit amet. Universal terminal is a lorem ipsum dolor sit amet. Universal terminal is a lorem ipsum dolor sit amet.",
|
30
|
+
},
|
31
|
+
{
|
32
|
+
columnName: "Task Controller",
|
33
|
+
},
|
34
|
+
{
|
35
|
+
columnName: "ISO TC Section Control",
|
36
|
+
},
|
37
|
+
]
|
38
|
+
},
|
39
|
+
{
|
40
|
+
categoryName: "Field IQ",
|
41
|
+
comparisonColumns: [
|
42
|
+
{
|
43
|
+
columnName: "Controlled Channels",
|
44
|
+
},
|
45
|
+
{
|
46
|
+
columnName: "Field IQ Section Control",
|
47
|
+
tooltipText: "Universal terminal is a lorem ipsum dolor sit amet.",
|
48
|
+
},
|
49
|
+
{
|
50
|
+
columnName: "FIQ Controlled Product Drives",
|
51
|
+
},
|
52
|
+
]
|
53
|
+
},
|
54
|
+
{
|
55
|
+
categoryName: "Serial Rate/TUVR",
|
56
|
+
comparisonColumns: [
|
57
|
+
{
|
58
|
+
columnName: "Population/Blockage Monitoring",
|
59
|
+
},
|
60
|
+
{
|
61
|
+
columnName: "Controlled Channels",
|
62
|
+
},
|
63
|
+
]
|
64
|
+
}
|
65
|
+
],
|
66
|
+
productDetails: [
|
67
|
+
{
|
68
|
+
productName: "Product Name",
|
69
|
+
image: {
|
70
|
+
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
71
|
+
},
|
72
|
+
subheading: "Subheading Lorem Ipsum",
|
73
|
+
productLink: {
|
74
|
+
url: "/products/product-name"
|
75
|
+
},
|
76
|
+
productAttributes: [
|
77
|
+
{ value: true },
|
78
|
+
{ value: "Up to 96 Sections", columnWidth: "medium" },
|
79
|
+
{ value: "Attribute 3" },
|
80
|
+
{ value: "Columns can get wider if the content within them needs more room Lorem ipsum dolor sit amet.", columnWidth: "long" },
|
81
|
+
{ value: "Attribute 1" },
|
82
|
+
{ value: "" },
|
83
|
+
{ value: "Attribute 3" },
|
84
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet.", columnWidth: "long" },
|
85
|
+
]
|
86
|
+
},
|
87
|
+
{
|
88
|
+
productName: "Product Name",
|
89
|
+
productTag: "Best Performance",
|
90
|
+
image: {
|
91
|
+
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
92
|
+
},
|
93
|
+
subheading: "Subheading Lorem Ipsum",
|
94
|
+
productLink: {
|
95
|
+
url: "/products/product-name"
|
96
|
+
},
|
97
|
+
bodyText: "Body text if necessary",
|
98
|
+
productAttributes: [
|
99
|
+
{ value: false },
|
100
|
+
{ value: "Up to 96 Sections" },
|
101
|
+
{ value: "Attribute 3" },
|
102
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
103
|
+
{ value: "Attribute 1" },
|
104
|
+
{ value: "" },
|
105
|
+
{ value: "Attribute 3" },
|
106
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
107
|
+
]
|
108
|
+
},
|
109
|
+
{
|
110
|
+
productName: "Product Name",
|
111
|
+
image: {
|
112
|
+
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
113
|
+
},
|
114
|
+
subheading: "Subheading Lorem Ipsum",
|
115
|
+
productLink: {
|
116
|
+
url: "/products/product-name"
|
117
|
+
},
|
118
|
+
bodyText: "Body text if necessary",
|
119
|
+
productAttributes: [
|
120
|
+
{ value: true },
|
121
|
+
{ value: "Up to 96 Sections" },
|
122
|
+
{ value: "Attribute 3" },
|
123
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
124
|
+
{ value: "Attribute 1" },
|
125
|
+
{ value: "Up to 96 Sections" },
|
126
|
+
{ value: "Attribute 3" },
|
127
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
128
|
+
]
|
129
|
+
},
|
130
|
+
{
|
131
|
+
productName: "Product Name",
|
132
|
+
image: {
|
133
|
+
url: "//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
134
|
+
},
|
135
|
+
subheading: "Subheading Lorem Ipsum",
|
136
|
+
productLink: {
|
137
|
+
url: "/products/product-name"
|
138
|
+
},
|
139
|
+
bodyText: "Body text if necessary",
|
140
|
+
productAttributes: [
|
141
|
+
{ value: false },
|
142
|
+
{ value: "Up to 96 Sections" },
|
143
|
+
{ value: "Attribute 3" },
|
144
|
+
{ value: "Columns can get wider if the content within them needs more room. Lorem ipsum dolor sit amet." },
|
145
|
+
{ value: "Attribute 1" },
|
146
|
+
{ value: "" },
|
147
|
+
{ value: "Attribute 3" },
|
148
|
+
{ value: "" },
|
149
|
+
]
|
150
|
+
},
|
151
|
+
],
|
152
|
+
};
|
153
|
+
|
154
|
+
export const Default = () => (
|
155
|
+
<div style={{ maxWidth: "1200px", margin: "auto", padding: "0 32px" }}>
|
156
|
+
<ComparisonTable data={content} />
|
157
|
+
</div>
|
158
|
+
);
|
159
|
+
```
|
@@ -1,45 +1,45 @@
|
|
1
|
-
#### CTA with Text and Header
|
2
|
-
|
3
|
-
###### Props -
|
4
|
-
|
5
|
-
- `variant` - string that determines the CTA appearance (either light or dark)
|
6
|
-
- `alignment` - string that sets the CTA text alignment (either left or center)
|
7
|
-
- `eyebrow` - string that sets the eyebrow (small text above the headline)
|
8
|
-
- `headline` - string that sets the headline
|
9
|
-
- `subhead` - string that sets the subhead (secondary text below the headline)
|
10
|
-
- `content` - HTML DOM string containing the main CTA content text (example: "<p>This is the CTA content.</p>")
|
11
|
-
- `buttons` - object array containing information for the buttons displayed below the CTA content
|
12
|
-
- `text` - string that sets the button text
|
13
|
-
- `url` - string that sets the button url
|
14
|
-
- `textLinks` - boolean that determines if the links will be displayed as text instead of buttons
|
15
|
-
- `paddingClass` - string containing the container padding class name
|
16
|
-
|
17
|
-
###### Example -
|
18
|
-
|
19
|
-
```
|
20
|
-
const content = "<p>Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. Consectetur commodo nisi laborum voluptate. Commodo est ullamco pariatur ut nostrud pariatur. Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat.</p>\n<ul>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n</ul>"
|
21
|
-
|
22
|
-
const buttons = [
|
23
|
-
{
|
24
|
-
"text": "Button 1",
|
25
|
-
"url": "/"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"text": "Button 2",
|
29
|
-
"url": "/"
|
30
|
-
}
|
31
|
-
]
|
32
|
-
|
33
|
-
return (
|
34
|
-
<CTA
|
35
|
-
variant="dark"
|
36
|
-
alignment="center"
|
37
|
-
eyebrow="Eyebrow option"
|
38
|
-
headline="Header title"
|
39
|
-
subhead="Subhead can go here."
|
40
|
-
content={content}
|
41
|
-
buttons={buttons}
|
42
|
-
textLinks={true}
|
43
|
-
/>
|
44
|
-
);
|
45
|
-
```
|
1
|
+
#### CTA with Text and Header
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
|
5
|
+
- `variant` - string that determines the CTA appearance (either light or dark)
|
6
|
+
- `alignment` - string that sets the CTA text alignment (either left or center)
|
7
|
+
- `eyebrow` - string that sets the eyebrow (small text above the headline)
|
8
|
+
- `headline` - string that sets the headline
|
9
|
+
- `subhead` - string that sets the subhead (secondary text below the headline)
|
10
|
+
- `content` - HTML DOM string containing the main CTA content text (example: "<p>This is the CTA content.</p>")
|
11
|
+
- `buttons` - object array containing information for the buttons displayed below the CTA content
|
12
|
+
- `text` - string that sets the button text
|
13
|
+
- `url` - string that sets the button url
|
14
|
+
- `textLinks` - boolean that determines if the links will be displayed as text instead of buttons
|
15
|
+
- `paddingClass` - string containing the container padding class name
|
16
|
+
|
17
|
+
###### Example -
|
18
|
+
|
19
|
+
```
|
20
|
+
const content = "<p>Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. Consectetur commodo nisi laborum voluptate. Commodo est ullamco pariatur ut nostrud pariatur. Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat.</p>\n<ul>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n</ul>"
|
21
|
+
|
22
|
+
const buttons = [
|
23
|
+
{
|
24
|
+
"text": "Button 1",
|
25
|
+
"url": "/"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"text": "Button 2",
|
29
|
+
"url": "/"
|
30
|
+
}
|
31
|
+
]
|
32
|
+
|
33
|
+
return (
|
34
|
+
<CTA
|
35
|
+
variant="dark"
|
36
|
+
alignment="center"
|
37
|
+
eyebrow="Eyebrow option"
|
38
|
+
headline="Header title"
|
39
|
+
subhead="Subhead can go here."
|
40
|
+
content={content}
|
41
|
+
buttons={buttons}
|
42
|
+
textLinks={true}
|
43
|
+
/>
|
44
|
+
);
|
45
|
+
```
|