@odx/websites-react 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/Button.d.ts +3 -3
- package/dist/components/actions/button/Button.d.ts.map +1 -1
- package/dist/components/actions/button/Button.js +4 -4
- package/dist/components/actions/button/Button.js.map +1 -1
- package/dist/components/actions/checkbox/Checkbox.d.ts +1 -0
- package/dist/components/actions/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/actions/checkbox/Checkbox.js +4 -4
- package/dist/components/actions/checkbox/Checkbox.js.map +1 -1
- package/dist/components/actions/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/actions/combobox/Combobox.js +6 -6
- package/dist/components/actions/combobox/Combobox.js.map +1 -1
- package/dist/components/actions/dropdown/Dropdown.d.ts +1 -0
- package/dist/components/actions/dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/actions/dropdown/Dropdown.js +2 -2
- package/dist/components/actions/dropdown/Dropdown.js.map +1 -1
- package/dist/components/actions/filterPanel/FilterPanel.d.ts +22 -0
- package/dist/components/actions/filterPanel/FilterPanel.d.ts.map +1 -0
- package/dist/components/actions/filterPanel/FilterPanel.js +14 -0
- package/dist/components/actions/filterPanel/FilterPanel.js.map +1 -0
- package/dist/components/actions/filterPanel/index.d.ts +2 -0
- package/dist/components/actions/filterPanel/index.d.ts.map +1 -0
- package/dist/components/actions/filterPanel/index.js +2 -0
- package/dist/components/actions/filterPanel/index.js.map +1 -0
- package/dist/components/actions/formField/FormField.d.ts +4 -1
- package/dist/components/actions/formField/FormField.d.ts.map +1 -1
- package/dist/components/actions/formField/FormField.js +12 -1
- package/dist/components/actions/formField/FormField.js.map +1 -1
- package/dist/components/actions/multiselect/Multiselect.d.ts +1 -0
- package/dist/components/actions/multiselect/Multiselect.d.ts.map +1 -1
- package/dist/components/actions/multiselect/Multiselect.js +3 -3
- package/dist/components/actions/multiselect/Multiselect.js.map +1 -1
- package/dist/components/actions/phoneInput/PhoneInput.d.ts +2 -1
- package/dist/components/actions/phoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/components/actions/phoneInput/PhoneInput.js +7 -5
- package/dist/components/actions/phoneInput/PhoneInput.js.map +1 -1
- package/dist/components/actions/radioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/actions/radioGroup/RadioGroup.js +6 -6
- package/dist/components/actions/radioGroup/RadioGroup.js.map +1 -1
- package/dist/components/actions/search/Search.d.ts +13 -0
- package/dist/components/actions/search/Search.d.ts.map +1 -0
- package/dist/components/actions/search/Search.js +33 -0
- package/dist/components/actions/search/Search.js.map +1 -0
- package/dist/components/actions/search/index.d.ts +2 -0
- package/dist/components/actions/search/index.d.ts.map +1 -0
- package/dist/components/actions/search/index.js +2 -0
- package/dist/components/actions/search/index.js.map +1 -0
- package/dist/components/actions/select/Select.d.ts +2 -2
- package/dist/components/actions/select/Select.d.ts.map +1 -1
- package/dist/components/actions/select/Select.js +3 -3
- package/dist/components/actions/select/Select.js.map +1 -1
- package/dist/components/actions/tag/Tag.js +2 -2
- package/dist/components/actions/tag/Tag.js.map +1 -1
- package/dist/components/actions/text-input/TextInput.d.ts +0 -4
- package/dist/components/actions/text-input/TextInput.d.ts.map +1 -1
- package/dist/components/actions/text-input/TextInput.js +2 -2
- package/dist/components/actions/text-input/TextInput.js.map +1 -1
- package/dist/components/actions/textarea/Textarea.d.ts.map +1 -1
- package/dist/components/actions/textarea/Textarea.js +2 -2
- package/dist/components/actions/textarea/Textarea.js.map +1 -1
- package/dist/components/actions/toggle-button/ToggleButton.d.ts.map +1 -1
- package/dist/components/actions/toggle-button/ToggleButton.js +3 -2
- package/dist/components/actions/toggle-button/ToggleButton.js.map +1 -1
- package/dist/components/images-icons/svg-icon/SvgIcon.d.ts +1 -1
- package/dist/components/images-icons/svg-icon/SvgIcon.d.ts.map +1 -1
- package/dist/components/images-icons/svg-icon/SvgIcon.js +2 -0
- package/dist/components/images-icons/svg-icon/SvgIcon.js.map +1 -1
- package/dist/components/index.d.ts +10 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +10 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/accordion/Accordion.d.ts +4 -3
- package/dist/components/layout/accordion/Accordion.d.ts.map +1 -1
- package/dist/components/layout/accordion/Accordion.js +17 -58
- package/dist/components/layout/accordion/Accordion.js.map +1 -1
- package/dist/components/layout/accordion/AccordionContext.d.ts +2 -2
- package/dist/components/layout/accordion/AccordionContext.d.ts.map +1 -1
- package/dist/components/layout/accordion/AccordionContext.js +3 -3
- package/dist/components/layout/accordion/AccordionContext.js.map +1 -1
- package/dist/components/layout/calloutMedia/CalloutMedia.d.ts +13 -0
- package/dist/components/layout/calloutMedia/CalloutMedia.d.ts.map +1 -0
- package/dist/components/layout/calloutMedia/CalloutMedia.js +10 -0
- package/dist/components/layout/calloutMedia/CalloutMedia.js.map +1 -0
- package/dist/components/layout/calloutMedia/index.d.ts +2 -0
- package/dist/components/layout/calloutMedia/index.d.ts.map +1 -0
- package/dist/components/layout/calloutMedia/index.js +2 -0
- package/dist/components/layout/calloutMedia/index.js.map +1 -0
- package/dist/components/layout/calloutQuote/CalloutQuote.d.ts +14 -0
- package/dist/components/layout/calloutQuote/CalloutQuote.d.ts.map +1 -0
- package/dist/components/layout/calloutQuote/CalloutQuote.js +29 -0
- package/dist/components/layout/calloutQuote/CalloutQuote.js.map +1 -0
- package/dist/components/layout/calloutQuote/index.d.ts +2 -0
- package/dist/components/layout/calloutQuote/index.d.ts.map +1 -0
- package/dist/components/layout/calloutQuote/index.js +2 -0
- package/dist/components/layout/calloutQuote/index.js.map +1 -0
- package/dist/components/layout/card/Card.d.ts +8 -6
- package/dist/components/layout/card/Card.d.ts.map +1 -1
- package/dist/components/layout/card/Card.js +11 -9
- package/dist/components/layout/card/Card.js.map +1 -1
- package/dist/components/layout/card/CardGroup.d.ts +9 -0
- package/dist/components/layout/card/CardGroup.d.ts.map +1 -0
- package/dist/components/layout/card/CardGroup.js +5 -0
- package/dist/components/layout/card/CardGroup.js.map +1 -0
- package/dist/components/layout/card/index.d.ts +1 -0
- package/dist/components/layout/card/index.d.ts.map +1 -1
- package/dist/components/layout/card/index.js +1 -0
- package/dist/components/layout/card/index.js.map +1 -1
- package/dist/components/layout/carousel/Carousel.d.ts +21 -0
- package/dist/components/layout/carousel/Carousel.d.ts.map +1 -0
- package/dist/components/layout/carousel/Carousel.js +52 -0
- package/dist/components/layout/carousel/Carousel.js.map +1 -0
- package/dist/components/layout/carousel/index.d.ts +2 -0
- package/dist/components/layout/carousel/index.d.ts.map +1 -0
- package/dist/components/layout/carousel/index.js +2 -0
- package/dist/components/layout/carousel/index.js.map +1 -0
- package/dist/components/layout/contentItem/ContentItem.d.ts +21 -0
- package/dist/components/layout/contentItem/ContentItem.d.ts.map +1 -0
- package/dist/components/layout/contentItem/ContentItem.js +10 -0
- package/dist/components/layout/contentItem/ContentItem.js.map +1 -0
- package/dist/components/layout/contentItem/index.d.ts +2 -0
- package/dist/components/layout/contentItem/index.d.ts.map +1 -0
- package/dist/components/layout/contentItem/index.js +2 -0
- package/dist/components/layout/contentItem/index.js.map +1 -0
- package/dist/components/layout/modal/Modal.js +1 -1
- package/dist/components/layout/showMore/ShowMore.d.ts.map +1 -1
- package/dist/components/layout/showMore/ShowMore.js +4 -5
- package/dist/components/layout/showMore/ShowMore.js.map +1 -1
- package/dist/components/layout/slimRichText/SlimRichText.d.ts +13 -0
- package/dist/components/layout/slimRichText/SlimRichText.d.ts.map +1 -0
- package/dist/components/layout/slimRichText/SlimRichText.js +44 -0
- package/dist/components/layout/slimRichText/SlimRichText.js.map +1 -0
- package/dist/components/layout/slimRichText/index.d.ts +2 -0
- package/dist/components/layout/slimRichText/index.d.ts.map +1 -0
- package/dist/components/layout/slimRichText/index.js +2 -0
- package/dist/components/layout/slimRichText/index.js.map +1 -0
- package/dist/components/layout/structuredList/StructuredList.d.ts +10 -0
- package/dist/components/layout/structuredList/StructuredList.d.ts.map +1 -0
- package/dist/components/layout/structuredList/StructuredList.js +10 -0
- package/dist/components/layout/structuredList/StructuredList.js.map +1 -0
- package/dist/components/layout/structuredList/StructuredListItem.d.ts +23 -0
- package/dist/components/layout/structuredList/StructuredListItem.d.ts.map +1 -0
- package/dist/components/layout/structuredList/StructuredListItem.js +12 -0
- package/dist/components/layout/structuredList/StructuredListItem.js.map +1 -0
- package/dist/components/layout/structuredList/index.d.ts +3 -0
- package/dist/components/layout/structuredList/index.d.ts.map +1 -0
- package/dist/components/layout/structuredList/index.js +3 -0
- package/dist/components/layout/structuredList/index.js.map +1 -0
- package/dist/components/layout/tabBar/TabBar.d.ts +30 -0
- package/dist/components/layout/tabBar/TabBar.d.ts.map +1 -0
- package/dist/components/layout/tabBar/TabBar.js +118 -0
- package/dist/components/layout/tabBar/TabBar.js.map +1 -0
- package/dist/components/layout/tabBar/TabBarContext.d.ts +9 -0
- package/dist/components/layout/tabBar/TabBarContext.d.ts.map +1 -0
- package/dist/components/layout/tabBar/TabBarContext.js +8 -0
- package/dist/components/layout/tabBar/TabBarContext.js.map +1 -0
- package/dist/components/layout/tabBar/index.d.ts.map +1 -0
- package/dist/components/layout/tabBar/index.js.map +1 -0
- package/dist/components/navigation/{tabbar/TabBar.d.ts → anchorNav/AnchorNav.d.ts} +7 -7
- package/dist/components/navigation/anchorNav/AnchorNav.d.ts.map +1 -0
- package/dist/components/navigation/{tabbar/TabBar.js → anchorNav/AnchorNav.js} +11 -11
- package/dist/components/navigation/anchorNav/AnchorNav.js.map +1 -0
- package/dist/components/navigation/anchorNav/index.d.ts +2 -0
- package/dist/components/navigation/anchorNav/index.d.ts.map +1 -0
- package/dist/components/navigation/anchorNav/index.js +2 -0
- package/dist/components/navigation/anchorNav/index.js.map +1 -0
- package/dist/components/typography/headline/Headline.d.ts +1 -0
- package/dist/components/typography/headline/Headline.d.ts.map +1 -1
- package/dist/components/typography/headline/Headline.js +5 -5
- package/dist/components/typography/headline/Headline.js.map +1 -1
- package/dist/icons/uncolored/DraegerIconSetUncolored.d.ts.map +1 -1
- package/dist/icons/uncolored/DraegerIconSetUncolored.js +2 -0
- package/dist/icons/uncolored/DraegerIconSetUncolored.js.map +1 -1
- package/dist/icons/uncolored/IconReload.d.ts +4 -0
- package/dist/icons/uncolored/IconReload.d.ts.map +1 -0
- package/dist/icons/uncolored/IconReload.js +4 -0
- package/dist/icons/uncolored/IconReload.js.map +1 -0
- package/dist/icons/uncolored/index.d.ts +1 -0
- package/dist/icons/uncolored/index.d.ts.map +1 -1
- package/dist/icons/uncolored/index.js +1 -0
- package/dist/icons/uncolored/index.js.map +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/types.d.ts.map +1 -1
- package/dist/web/boxes/accordionBox/AccordionBox.d.ts +2 -4
- package/dist/web/boxes/accordionBox/AccordionBox.d.ts.map +1 -1
- package/dist/web/boxes/accordionBox/AccordionBox.js +3 -5
- package/dist/web/boxes/accordionBox/AccordionBox.js.map +1 -1
- package/dist/web/boxes/downloadBox/DownloadBox.d.ts +2 -2
- package/dist/web/boxes/downloadBox/DownloadBox.d.ts.map +1 -1
- package/dist/web/boxes/downloadBox/DownloadBox.js +2 -3
- package/dist/web/boxes/downloadBox/DownloadBox.js.map +1 -1
- package/dist/web/boxes/downloadBox/DownloadBoxItem.d.ts +2 -2
- package/dist/web/boxes/downloadBox/DownloadBoxItem.d.ts.map +1 -1
- package/dist/web/boxes/downloadBox/DownloadBoxItem.js +2 -2
- package/dist/web/boxes/downloadBox/DownloadBoxItem.js.map +1 -1
- package/dist/web/boxes/linkListBox/linkListBox.js +1 -1
- package/dist/web/boxes/mediaTeaserBox/MediaTeaserBox.js +2 -2
- package/dist/web/boxes/mediaTeaserBox/MediaTeaserBox.js.map +1 -1
- package/dist/web/boxes/multiColumnTableBox/MultiColumnTableBox.d.ts +2 -2
- package/dist/web/boxes/multiColumnTableBox/MultiColumnTableBox.d.ts.map +1 -1
- package/dist/web/boxes/multiColumnTableBox/MultiColumnTableBox.js +2 -2
- package/dist/web/boxes/multiColumnTableBox/MultiColumnTableBox.js.map +1 -1
- package/dist/web/boxes/textBox/TextBox.js +1 -1
- package/dist/web/boxes/textBox/TextBox.js.map +1 -1
- package/dist/web/index.d.ts +9 -3
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +9 -3
- package/dist/web/index.js.map +1 -1
- package/dist/web/layout/contentHeadings/ContentHeadings.d.ts +9 -0
- package/dist/web/layout/contentHeadings/ContentHeadings.d.ts.map +1 -0
- package/dist/web/layout/contentHeadings/ContentHeadings.js +9 -0
- package/dist/web/layout/contentHeadings/ContentHeadings.js.map +1 -0
- package/dist/web/layout/contentHeadings/index.d.ts +2 -0
- package/dist/web/layout/contentHeadings/index.d.ts.map +1 -0
- package/dist/web/layout/contentHeadings/index.js +2 -0
- package/dist/web/layout/contentHeadings/index.js.map +1 -0
- package/dist/web/pageTemplates/sitemap/Sitemap.d.ts +13 -0
- package/dist/web/pageTemplates/sitemap/Sitemap.d.ts.map +1 -0
- package/dist/web/pageTemplates/sitemap/Sitemap.js +11 -0
- package/dist/web/pageTemplates/sitemap/Sitemap.js.map +1 -0
- package/dist/web/pageTemplates/sitemap/index.d.ts +2 -0
- package/dist/web/pageTemplates/sitemap/index.d.ts.map +1 -0
- package/dist/web/pageTemplates/sitemap/index.js +2 -0
- package/dist/web/pageTemplates/sitemap/index.js.map +1 -0
- package/dist/web/sections/calloutContact/CalloutContact.d.ts +16 -0
- package/dist/web/sections/calloutContact/CalloutContact.d.ts.map +1 -0
- package/dist/web/sections/calloutContact/CalloutContact.js +15 -0
- package/dist/web/sections/calloutContact/CalloutContact.js.map +1 -0
- package/dist/web/sections/calloutContact/index.d.ts +2 -0
- package/dist/web/sections/calloutContact/index.d.ts.map +1 -0
- package/dist/web/sections/calloutContact/index.js +2 -0
- package/dist/web/sections/calloutContact/index.js.map +1 -0
- package/package.json +7 -5
- package/dist/components/layout/resultList/ResultList.d.ts +0 -13
- package/dist/components/layout/resultList/ResultList.d.ts.map +0 -1
- package/dist/components/layout/resultList/ResultList.js +0 -14
- package/dist/components/layout/resultList/ResultList.js.map +0 -1
- package/dist/components/layout/resultList/ResultListContext.d.ts +0 -13
- package/dist/components/layout/resultList/ResultListContext.d.ts.map +0 -1
- package/dist/components/layout/resultList/ResultListContext.js +0 -13
- package/dist/components/layout/resultList/ResultListContext.js.map +0 -1
- package/dist/components/layout/resultList/ResultListItem.d.ts +0 -33
- package/dist/components/layout/resultList/ResultListItem.d.ts.map +0 -1
- package/dist/components/layout/resultList/ResultListItem.js +0 -26
- package/dist/components/layout/resultList/ResultListItem.js.map +0 -1
- package/dist/components/layout/resultList/index.d.ts +0 -3
- package/dist/components/layout/resultList/index.d.ts.map +0 -1
- package/dist/components/layout/resultList/index.js +0 -3
- package/dist/components/layout/resultList/index.js.map +0 -1
- package/dist/components/navigation/tabbar/TabBar.d.ts.map +0 -1
- package/dist/components/navigation/tabbar/TabBar.js.map +0 -1
- package/dist/components/navigation/tabbar/index.d.ts.map +0 -1
- package/dist/components/navigation/tabbar/index.js.map +0 -1
- package/dist/components/typography/richText/RichText.d.ts +0 -9
- package/dist/components/typography/richText/RichText.d.ts.map +0 -1
- package/dist/components/typography/richText/RichText.js +0 -3
- package/dist/components/typography/richText/RichText.js.map +0 -1
- package/dist/components/typography/richText/index.d.ts +0 -2
- package/dist/components/typography/richText/index.d.ts.map +0 -1
- package/dist/components/typography/richText/index.js +0 -2
- package/dist/components/typography/richText/index.js.map +0 -1
- package/dist/web/sections/contactUsSection/ContactUsSection.d.ts +0 -19
- package/dist/web/sections/contactUsSection/ContactUsSection.d.ts.map +0 -1
- package/dist/web/sections/contactUsSection/ContactUsSection.js +0 -17
- package/dist/web/sections/contactUsSection/ContactUsSection.js.map +0 -1
- package/dist/web/sections/contactUsSection/index.d.ts +0 -2
- package/dist/web/sections/contactUsSection/index.d.ts.map +0 -1
- package/dist/web/sections/contactUsSection/index.js +0 -2
- package/dist/web/sections/contactUsSection/index.js.map +0 -1
- package/dist/web/sections/contentImageSection/ContentImageSection.d.ts +0 -13
- package/dist/web/sections/contentImageSection/ContentImageSection.d.ts.map +0 -1
- package/dist/web/sections/contentImageSection/ContentImageSection.js +0 -9
- package/dist/web/sections/contentImageSection/ContentImageSection.js.map +0 -1
- package/dist/web/sections/contentImageSection/index.d.ts +0 -2
- package/dist/web/sections/contentImageSection/index.d.ts.map +0 -1
- package/dist/web/sections/contentImageSection/index.js +0 -2
- package/dist/web/sections/contentImageSection/index.js.map +0 -1
- package/dist/web/sections/quoteSection/QuoteSection.d.ts +0 -15
- package/dist/web/sections/quoteSection/QuoteSection.d.ts.map +0 -1
- package/dist/web/sections/quoteSection/QuoteSection.js +0 -37
- package/dist/web/sections/quoteSection/QuoteSection.js.map +0 -1
- package/dist/web/sections/quoteSection/index.d.ts +0 -2
- package/dist/web/sections/quoteSection/index.d.ts.map +0 -1
- package/dist/web/sections/quoteSection/index.js +0 -2
- package/dist/web/sections/quoteSection/index.js.map +0 -1
- /package/dist/components/{navigation/tabbar → layout/tabBar}/index.d.ts +0 -0
- /package/dist/components/{navigation/tabbar → layout/tabBar}/index.js +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Image, RichCopyText, LinkButtonProps, type SectionWrapperProps } from '../../../components';
|
|
3
|
-
import { LinkComponent } from '../../../utils';
|
|
4
|
-
export interface ContentImageSectionProps extends LinkComponent, React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
-
headline: string;
|
|
6
|
-
copytext: RichCopyText;
|
|
7
|
-
linkButtonProps: LinkButtonProps;
|
|
8
|
-
imageProps: React.ComponentProps<typeof Image>;
|
|
9
|
-
sectionProps?: SectionWrapperProps;
|
|
10
|
-
}
|
|
11
|
-
declare const ContentImageSection: React.FC<ContentImageSectionProps>;
|
|
12
|
-
export { ContentImageSection };
|
|
13
|
-
//# sourceMappingURL=ContentImageSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentImageSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/ContentImageSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,KAAK,EACL,YAAY,EAIZ,eAAe,EACf,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAK,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAGjD,MAAM,WAAW,wBACf,SAAQ,aAAa,EACnB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;IAC/C,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAoC3D,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Image, SectionWrapper, LinkButton, FullWidth, } from '../../../components';
|
|
3
|
-
import { cn } from '../../../utils';
|
|
4
|
-
import { SectionHeaderWithSubtitle } from '../../../components/typography/sectionHeaderWithSubtitle/SectionHeaderWithSubtitle';
|
|
5
|
-
const ContentImageSection = ({ headline, copytext, linkButtonProps, imageProps, sectionProps, LinkComponent, }) => {
|
|
6
|
-
return (_jsx(FullWidth, { children: _jsx(SectionWrapper, { className: cn('py-0', sectionProps?.className), background: 'lightSand', ...sectionProps, children: _jsxs("div", { className: "flex flex-col min-h-screen xl:flex-row", children: [_jsx("div", { className: "flex flex-col mx-auto mt-20 mb-10 px-14 basis-1/2 grow xl:basis-1/3", children: _jsxs("div", { className: "max-w-3xl mx-auto", children: [_jsx(SectionHeaderWithSubtitle, { header: headline, subtitle: copytext.value ?? '' }), _jsx(LinkButton, { LinkComponent: LinkComponent, className: cn('self-start mt-16', linkButtonProps.className), ...linkButtonProps })] }) }), _jsx("div", { className: "flex basis-1/2 grow xl:basis-2/3", children: _jsx(Image, { ...imageProps, className: "w-full" }) })] }) }) }));
|
|
7
|
-
};
|
|
8
|
-
export { ContentImageSection };
|
|
9
|
-
//# sourceMappingURL=ContentImageSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContentImageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/ContentImageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,KAAK,EAEL,cAAc,EACd,UAAU,EACV,SAAS,GAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,EAAE,EAAgB,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,yBAAyB,EAAC,MAAM,oFAAoF,CAAC;AAY7H,MAAM,mBAAmB,GAAuC,CAAC,EAC/D,QAAQ,EACR,QAAQ,EACR,eAAe,EACf,UAAU,EACV,YAAY,EACZ,aAAa,GACd,EAAE,EAAE;IACH,OAAO,CACL,KAAC,SAAS,cACR,KAAC,cAAc,IACb,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,CAAC,EAC9C,UAAU,EAAE,WAAW,KACnB,YAAY,YAEhB,eAAK,SAAS,EAAC,wCAAwC,aACrD,cAAK,SAAS,EAAC,qEAAqE,YAClF,eAAK,SAAS,EAAC,mBAAmB,aAChC,KAAC,yBAAyB,IACxB,MAAM,EAAE,QAAQ,EAChB,QAAQ,EAAE,QAAQ,CAAC,KAAK,IAAI,EAAE,GAC9B,EACF,KAAC,UAAU,IACT,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,EAAE,CAAC,kBAAkB,EAAE,eAAe,CAAC,SAAS,CAAC,KACxD,eAAe,GACnB,IACE,GACF,EACN,cAAK,SAAS,EAAC,kCAAkC,YAC/C,KAAC,KAAK,OAAK,UAAU,EAAE,SAAS,EAAC,QAAQ,GAAG,GACxC,IACF,GACS,GACP,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { type SectionWrapperProps } from '../../../components/layout/sectionWrapper';
|
|
4
|
-
import { type RichCopyText } from '../../../components';
|
|
5
|
-
export interface QuoteSectionProps extends SectionWrapperProps, VariantProps<typeof quoteSectionVariants> {
|
|
6
|
-
headline: string;
|
|
7
|
-
copyText?: RichCopyText;
|
|
8
|
-
sectionProps?: SectionWrapperProps;
|
|
9
|
-
}
|
|
10
|
-
declare const quoteSectionVariants: (props?: ({
|
|
11
|
-
align?: "left" | "center" | null | undefined;
|
|
12
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
13
|
-
export declare const QuoteSection: React.FC<QuoteSectionProps>;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=QuoteSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/quoteSection/QuoteSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAM,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAW,KAAK,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAEhE,MAAM,WAAW,iBACf,SAAQ,mBAAmB,EACzB,YAAY,CAAC,OAAO,oBAAoB,CAAC;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAkBD,QAAA,MAAM,oBAAoB;;mFAUxB,CAAC;AAIH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4BpD,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cva } from 'class-variance-authority';
|
|
3
|
-
import { cn } from '../../../utils';
|
|
4
|
-
import { ContentArea, Grid, GridItem } from '../../../components';
|
|
5
|
-
import { SectionWrapper, } from '../../../components/layout/sectionWrapper';
|
|
6
|
-
import { RichText } from '../../../components';
|
|
7
|
-
/**
|
|
8
|
-
* Defines CSS classes for a quote section with responsive font size and line height.
|
|
9
|
-
* Scaling is based on a factor derived from text length.
|
|
10
|
-
* font-size scaling: scaleFactor * (maxSize - maxSize) + minSize
|
|
11
|
-
* line-height scaling: (1 - scaleFactor) * (maxHeight - maxHeight) + minHeight
|
|
12
|
-
**/
|
|
13
|
-
const quoteSectionBaseClasses = `mb-9 break-normal font-text font-semibold md:font-display md:font-normal
|
|
14
|
-
text-[calc(10px*var(--scale-factor)+32px)]
|
|
15
|
-
md:text-[calc(43px*var(--scale-factor)+32px)]
|
|
16
|
-
xl:text-[calc(37px*var(--scale-factor)+32px)]
|
|
17
|
-
leading-[calc((1-var(--scale-factor))*6%+118%)]
|
|
18
|
-
md:leading-[calc((1-var(--scale-factor))*12%+112%)]
|
|
19
|
-
xl:leading-[calc((1-var(--scale-factor))*16%+108%)]
|
|
20
|
-
`;
|
|
21
|
-
const quoteSectionVariants = cva(quoteSectionBaseClasses, {
|
|
22
|
-
variants: {
|
|
23
|
-
align: {
|
|
24
|
-
left: 'text-left',
|
|
25
|
-
center: 'text-center',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
defaultVariants: {
|
|
29
|
-
align: 'left',
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
const SCALE_LIMIT_IN_CHARS = 1000;
|
|
33
|
-
export const QuoteSection = ({ headline, copyText, align, sectionProps, }) => {
|
|
34
|
-
const scaleFactor = Math.max(SCALE_LIMIT_IN_CHARS - headline.length, 0) / SCALE_LIMIT_IN_CHARS;
|
|
35
|
-
return (_jsx(SectionWrapper, { background: 'lightSand', ...sectionProps, children: _jsx(ContentArea, { width: 2, className: "text-draeger-dark-blue", children: _jsx(Grid, { cols: 1, children: _jsx(GridItem, { className: "py-20", children: _jsxs("div", { className: "flex flex-col items-center", children: [_jsx("blockquote", { style: { '--scale-factor': scaleFactor }, className: cn(quoteSectionVariants({ align })), children: _jsx(RichText, { text: headline }) }), _jsx(RichText, { text: copyText?.value, className: "text-xl" })] }) }) }) }) }));
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=QuoteSection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"QuoteSection.js","sourceRoot":"","sources":["../../../../src/web/sections/quoteSection/QuoteSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,GAAG,EAAoB,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAEL,cAAc,GACf,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAoB,MAAM,qBAAqB,CAAC;AAUhE;;;;;IAKI;AAEJ,MAAM,uBAAuB,GAAG;;;;;;;CAO/B,CAAC;AAEF,MAAM,oBAAoB,GAAG,GAAG,CAAC,uBAAuB,EAAE;IACxD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE,WAAW;YACjB,MAAM,EAAE,aAAa;SACtB;KACF;IACD,eAAe,EAAE;QACf,KAAK,EAAE,MAAM;KACd;CACF,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,IAAI,CAAC;AAElC,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,YAAY,GACb,EAAE,EAAE;IACH,MAAM,WAAW,GACf,IAAI,CAAC,GAAG,CAAC,oBAAoB,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,oBAAoB,CAAC;IAE7E,OAAO,CACL,KAAC,cAAc,IAAC,UAAU,EAAE,WAAW,KAAM,YAAY,YACvD,KAAC,WAAW,IAAC,KAAK,EAAE,CAAC,EAAE,SAAS,EAAC,wBAAwB,YACvD,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,YACX,KAAC,QAAQ,IAAC,SAAS,EAAC,OAAO,YACzB,eAAK,SAAS,EAAC,4BAA4B,aACzC,qBACE,KAAK,EAAE,EAAC,gBAAgB,EAAE,WAAW,EAAwB,EAC7D,SAAS,EAAE,EAAE,CAAC,oBAAoB,CAAC,EAAC,KAAK,EAAC,CAAC,CAAC,YAE5C,KAAC,QAAQ,IAAC,IAAI,EAAE,QAAQ,GAAI,GACjB,EACb,KAAC,QAAQ,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAC,SAAS,GAAG,IACnD,GACG,GACN,GACK,GACC,CAClB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/quoteSection/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/quoteSection/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
File without changes
|
|
File without changes
|