@odx/websites-react 0.0.3 → 0.0.4
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 +2 -2
- package/dist/components/actions/button/Button.js +1 -1
- package/dist/components/actions/button/Button.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/radioGroup/RadioGroup.d.ts.map +1 -1
- package/dist/components/actions/radioGroup/RadioGroup.js +4 -4
- package/dist/components/actions/radioGroup/RadioGroup.js.map +1 -1
- package/dist/components/actions/tag/Tag.js +1 -1
- package/dist/components/actions/tag/Tag.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 +5 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -2
- 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/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/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/slimRichText/SlimRichText.d.ts +13 -0
- package/dist/components/layout/slimRichText/SlimRichText.d.ts.map +1 -0
- package/dist/components/layout/slimRichText/SlimRichText.js +42 -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 +27 -0
- package/dist/components/layout/structuredList/StructuredListItem.d.ts.map +1 -0
- package/dist/components/layout/structuredList/StructuredListItem.js +16 -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/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 +3 -3
- 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/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/index.d.ts +0 -1
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +0 -1
- package/dist/web/index.js.map +1 -1
- package/dist/web/sections/contactUsSection/ContactUsSection.d.ts.map +1 -1
- package/dist/web/sections/contactUsSection/ContactUsSection.js +3 -2
- package/dist/web/sections/contactUsSection/ContactUsSection.js.map +1 -1
- package/dist/web/sections/contentImageSection/ContentImageSection.d.ts +2 -2
- package/dist/web/sections/contentImageSection/ContentImageSection.d.ts.map +1 -1
- package/dist/web/sections/contentImageSection/ContentImageSection.js.map +1 -1
- package/package.json +5 -4
- 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/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/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
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Headline } from '../../../components/typography/headline';
|
|
3
|
-
import { BodyText } from '../../../components/typography/bodyText';
|
|
4
3
|
import { ContentArea } from '../../../components/layout/contentArea';
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
items.map(({ heading, copyText }) => (_jsxs(AccordionItem, { value: heading, children: [_jsx(AccordionItemToggle, { headline: heading }), _jsx(ContentArea, { width: 2, children: _jsx(AccordionContent, { children: _jsx(BodyText, { children: _jsx(RichText, { text: copyText?.value }) }) }) })] }, heading))) }) })] }));
|
|
4
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionItemToggle, SlimRichText, } from '../../../components';
|
|
5
|
+
const AccordionBox = ({ headline, copyText, accordionProps = {}, items, }) => (_jsxs(_Fragment, { children: [_jsxs(ContentArea, { width: 2, className: "mb-14", children: [_jsx(Headline, { headingLevel: "h3", className: "mb-3", children: headline }), _jsx(SlimRichText, { text: copyText?.value })] }), _jsx(ContentArea, { children: _jsx(Accordion, { ...accordionProps, children: !!items?.length &&
|
|
6
|
+
items.map(({ heading, copyText }) => (_jsxs(AccordionItem, { value: heading, children: [_jsx(AccordionItemToggle, { headline: heading }), _jsx(ContentArea, { width: 2, children: _jsx(AccordionContent, { children: _jsx(SlimRichText, { text: copyText?.value }) }) })] }, heading))) }) })] }));
|
|
9
7
|
export { AccordionBox };
|
|
10
8
|
//# sourceMappingURL=AccordionBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/accordionBox/AccordionBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"AccordionBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/accordionBox/AccordionBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,WAAW,EAAC,MAAM,wCAAwC,CAAC;AACnE,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,YAAY,GAEb,MAAM,qBAAqB,CAAC;AAiB7B,MAAM,YAAY,GAAgC,CAAC,EACjD,QAAQ,EACR,QAAQ,EACR,cAAc,GAAG,EAAE,EACnB,KAAK,GACN,EAAE,EAAE,CAAC,CACJ,8BACE,MAAC,WAAW,IAAC,KAAK,EAAE,CAAC,EAAE,SAAS,EAAC,OAAO,aACtC,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,YACzC,QAAQ,GACA,EACX,KAAC,YAAY,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,GAAI,IAC3B,EACd,KAAC,WAAW,cACV,KAAC,SAAS,OAAK,cAAc,YAC1B,CAAC,CAAC,KAAK,EAAE,MAAM;oBACd,KAAK,CAAC,GAAG,CAAC,CAAC,EAAC,OAAO,EAAE,QAAQ,EAAC,EAAE,EAAE,CAAC,CACjC,MAAC,aAAa,IAAC,KAAK,EAAE,OAAO,aAC3B,KAAC,mBAAmB,IAAC,QAAQ,EAAE,OAAO,GAAI,EAC1C,KAAC,WAAW,IAAC,KAAK,EAAE,CAAC,YACnB,KAAC,gBAAgB,cACf,KAAC,YAAY,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,GAAI,GACtB,GACP,KANoB,OAAO,CAO3B,CACjB,CAAC,GACM,GACA,IACb,CACJ,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ContentAreaProps } from '../../../components/layout/contentArea';
|
|
3
|
-
import {
|
|
3
|
+
import { type RichTextType } from '../../../components';
|
|
4
4
|
export interface DownloadBoxProps extends ContentAreaProps {
|
|
5
5
|
headline: string;
|
|
6
|
-
copy:
|
|
6
|
+
copy: RichTextType;
|
|
7
7
|
children: React.ReactNode[];
|
|
8
8
|
}
|
|
9
9
|
declare const DownloadBox: React.FC<DownloadBoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadBox.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DownloadBox.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,gBAAgB,EACjB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAC,KAAK,YAAY,EAAe,MAAM,qBAAqB,CAAC;AAEpE,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;CAC7B;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8B3C,CAAC;AAEF,OAAO,EAAC,WAAW,EAAC,CAAC"}
|
|
@@ -2,15 +2,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Grid, GridItem } from '../../../components/layout/grid';
|
|
4
4
|
import { Headline } from '../../../components/typography/headline';
|
|
5
|
-
import { BodyText } from '../../../components/typography/bodyText';
|
|
6
5
|
import { ContentArea, } from '../../../components/layout/contentArea';
|
|
7
|
-
import {
|
|
6
|
+
import { SlimRichText } from '../../../components';
|
|
8
7
|
const DownloadBox = ({ headline, copy, children, ...props }) => {
|
|
9
8
|
const allItems = React.Children.toArray(children);
|
|
10
9
|
if (allItems.length === 0) {
|
|
11
10
|
return null;
|
|
12
11
|
}
|
|
13
|
-
return (_jsxs(ContentArea, { width: 2, ...props, children: [_jsxs("div", { children: [_jsx(Headline, { headingLevel: "h3", children: headline }), _jsx(
|
|
12
|
+
return (_jsxs(ContentArea, { width: 2, ...props, children: [_jsxs("div", { children: [_jsx(Headline, { headingLevel: "h3", children: headline }), _jsx(SlimRichText, { text: copy.value })] }), _jsx(Grid, { cols: 2, className: "mt-16 lg:gap-x-5 lg:gap-y-11", children: allItems.map((child, idx) => (_jsx(GridItem, { className: "col-span-2 lg:col-span-1", children: child }, `${headline}-${idx}`))) })] }));
|
|
14
13
|
};
|
|
15
14
|
export { DownloadBox };
|
|
16
15
|
//# sourceMappingURL=DownloadBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBox.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,
|
|
1
|
+
{"version":3,"file":"DownloadBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBox.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EACL,WAAW,GAEZ,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAoB,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAQpE,MAAM,WAAW,GAA+B,CAAC,EAC/C,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAElD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,MAAC,WAAW,IAAC,KAAK,EAAE,CAAC,KAAM,KAAK,aAC9B,0BACE,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YAAE,QAAQ,GAAY,EACjD,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,IAC9B,EACN,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,EAAE,SAAS,EAAC,8BAA8B,YACpD,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,CAC5B,KAAC,QAAQ,IAEP,SAAS,EAAC,0BAA0B,YAEnC,KAAK,IAHD,GAAG,QAAQ,IAAI,GAAG,EAAE,CAIhB,CACZ,CAAC,GACG,IACK,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,WAAW,EAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { type RichTextType } from '../../../components';
|
|
3
3
|
export interface DownloadBoxItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
headline: string;
|
|
5
|
-
copy:
|
|
5
|
+
copy: RichTextType;
|
|
6
6
|
fileSize: string;
|
|
7
7
|
imageSrc: string;
|
|
8
8
|
imageAlt: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadBoxItem.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBoxItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,
|
|
1
|
+
{"version":3,"file":"DownloadBoxItem.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBoxItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAe,KAAK,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAEpE,MAAM,WAAW,oBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8BnD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { Headline } from '../../../components/typography/headline';
|
|
|
3
3
|
import { Image } from '../../../components/images-icons/image';
|
|
4
4
|
import { BodyText } from '../../../components/typography/bodyText';
|
|
5
5
|
import { Button } from '../../../components/actions/button';
|
|
6
|
-
import {
|
|
6
|
+
import { SlimRichText } from '../../../components';
|
|
7
7
|
const DownloadBoxItem = ({ headline, copy, fileSize, imageSrc, imageAlt, children, className, ...props }) => {
|
|
8
|
-
return (_jsxs("div", { ...props, className: className, children: [_jsx(Headline, { headingLevel: "h5", children: headline }), _jsxs("div", { className: "flex", children: [_jsx(Image, { src: imageSrc, alt: imageAlt, ratio: "9/11", className: "shrink min-w-[11.75rem] h-auto mb-auto me-4" }), _jsxs("div", { children: [_jsx(
|
|
8
|
+
return (_jsxs("div", { ...props, className: className, children: [_jsx(Headline, { headingLevel: "h5", children: headline }), _jsxs("div", { className: "flex", children: [_jsx(Image, { src: imageSrc, alt: imageAlt, ratio: "9/11", className: "shrink min-w-[11.75rem] h-auto mb-auto me-4" }), _jsxs("div", { children: [_jsx(SlimRichText, { variant: "small", text: copy.value }), _jsx(Button, { className: "mt-8 mb-2", children: children }), _jsx(BodyText, { variant: "small", textColor: "airBlue", children: fileSize })] })] })] }));
|
|
9
9
|
};
|
|
10
10
|
export { DownloadBoxItem };
|
|
11
11
|
//# sourceMappingURL=DownloadBoxItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DownloadBoxItem.js","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBoxItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,KAAK,EAAC,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,MAAM,EAAC,MAAM,oCAAoC,CAAC;AAC1D,OAAO,
|
|
1
|
+
{"version":3,"file":"DownloadBoxItem.js","sourceRoot":"","sources":["../../../../src/web/boxes/downloadBox/DownloadBoxItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,KAAK,EAAC,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,MAAM,EAAC,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAoB,MAAM,qBAAqB,CAAC;AAapE,MAAM,eAAe,GAAmC,CAAC,EACvD,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,OAAO,CACL,kBAAS,KAAK,EAAE,SAAS,EAAE,SAAS,aAClC,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YAAE,QAAQ,GAAY,EACjD,eAAK,SAAS,EAAC,MAAM,aACnB,KAAC,KAAK,IACJ,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,QAAQ,EACb,KAAK,EAAC,MAAM,EACZ,SAAS,EAAC,6CAA6C,GACvD,EACF,0BACE,KAAC,YAAY,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,EAClD,KAAC,MAAM,IAAC,SAAS,EAAC,WAAW,YAAE,QAAQ,GAAU,EACjD,KAAC,QAAQ,IAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,SAAS,YAC1C,QAAQ,GACA,IACP,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { BodyText } from '../../../components/typography/bodyText';
|
|
|
6
6
|
import { Button, LinkButton } from '../../../components/actions/button';
|
|
7
7
|
import { Grid, GridItem } from '../../../components/layout/grid';
|
|
8
8
|
import { ContentArea } from '../../../components/layout/contentArea';
|
|
9
|
-
import {
|
|
9
|
+
import { SlimRichText } from '../../../components/layout/slimRichText';
|
|
10
10
|
const mediaTeaserBoxImageVariants = cva('py-5', {
|
|
11
11
|
variants: {
|
|
12
12
|
mediaAlignment: {
|
|
@@ -22,6 +22,6 @@ const MediaTeaser = ({ buttonPlayVideoLabel, video, }) => {
|
|
|
22
22
|
const { urlPosterTarget, urlTarget, altText } = video;
|
|
23
23
|
return (_jsxs("div", { className: "relative", children: [_jsx(Image, { alt: altText, src: urlPosterTarget || urlTarget, ratio: '3/2' }), _jsx("div", { className: "absolute top-0 flex items-center justify-center w-full h-full cursor-pointer", onClick: () => { }, children: _jsx(Button, { size: 'lg', fontSize: 'lg', children: buttonPlayVideoLabel }) })] }));
|
|
24
24
|
};
|
|
25
|
-
const MediaTeaserBox = ({ video, buttonPlayVideoLabel, headline, copy, button, linkProps = {}, mediaAlignment, LinkComponent, }) => (_jsx(ContentArea, { children: _jsxs(Grid, { cols: 2, children: [_jsx(GridItem, { className: mediaTeaserBoxImageVariants({ mediaAlignment }), children: _jsx(MediaTeaser, { video: video, buttonPlayVideoLabel: buttonPlayVideoLabel }) }), _jsxs(GridItem, { children: [_jsx(Headline, { headingLevel: "h3", children: _jsx(
|
|
25
|
+
const MediaTeaserBox = ({ video, buttonPlayVideoLabel, headline, copy, button, linkProps = {}, mediaAlignment, LinkComponent, }) => (_jsx(ContentArea, { children: _jsxs(Grid, { cols: 2, children: [_jsx(GridItem, { className: mediaTeaserBoxImageVariants({ mediaAlignment }), children: _jsx(MediaTeaser, { video: video, buttonPlayVideoLabel: buttonPlayVideoLabel }) }), _jsxs(GridItem, { children: [_jsx(Headline, { headingLevel: "h3", children: _jsx(SlimRichText, { text: headline }) }), _jsx(BodyText, { variant: "small", children: copy }), _jsx(LinkButton, { className: "mt-8", size: 'lg', fontSize: 'lg', LinkComponent: LinkComponent, ...linkProps, href: button.url.urlTarget, children: button.text })] })] }) }));
|
|
26
26
|
export { MediaTeaserBox };
|
|
27
27
|
//# sourceMappingURL=MediaTeaserBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaTeaserBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/mediaTeaserBox/MediaTeaserBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"MediaTeaserBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/mediaTeaserBox/MediaTeaserBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAoB,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAC,KAAK,EAAC,MAAM,wCAAwC,CAAC;AAC7D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,MAAM,EAAE,UAA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AK,EACZ,oBAAoB,EAAE,oBAAoB,GAC1C,GACO,EACX,MAAC,QAAQ,eACP,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YACzB,KAAC,YAAY,IAAC,IAAI,EAAE,QAAQ,GAAI,GACvB,EACX,KAAC,QAAQ,IAAC,OAAO,EAAC,OAAO,YAAE,IAAI,GAAY,EAC3C,KAAC,UAAU,IACT,SAAS,EAAC,MAAM,EAChB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,IAAI,EACd,aAAa,EAAE,aAAa,KACxB,SAAS,EACb,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,SAAS,YAEzB,MAAM,CAAC,IAAI,GACD,IACJ,IACN,GACK,CACf,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ContentAreaProps,
|
|
2
|
+
import { ContentAreaProps, type RichTextType } from '../../../components';
|
|
3
3
|
export interface MultiColumnTableBoxProps extends ContentAreaProps {
|
|
4
4
|
headline: string;
|
|
5
|
-
copy:
|
|
5
|
+
copy: RichTextType;
|
|
6
6
|
children: React.ReactNode;
|
|
7
7
|
}
|
|
8
8
|
declare const MultiColumnTableBox: React.FC<MultiColumnTableBoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiColumnTableBox.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/multiColumnTableBox/MultiColumnTableBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"MultiColumnTableBox.d.ts","sourceRoot":"","sources":["../../../../src/web/boxes/multiColumnTableBox/MultiColumnTableBox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,gBAAgB,EAGhB,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAChE,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAuB3D,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ContentArea, Headline, SlimRichText, } from '../../../components';
|
|
4
4
|
const MultiColumnTableBox = ({ headline, copy, children, ...props }) => {
|
|
5
5
|
const allItems = React.Children.toArray(children);
|
|
6
6
|
if (allItems.length === 0) {
|
|
7
7
|
return null;
|
|
8
8
|
}
|
|
9
|
-
return (_jsxs("div", { className: "flex flex-col gap-20", children: [_jsx(ContentArea, { width: 2, ...props, children: _jsxs("div", { children: [_jsx(Headline, { headingLevel: "h3", children: headline }), _jsx(
|
|
9
|
+
return (_jsxs("div", { className: "flex flex-col gap-20", children: [_jsx(ContentArea, { width: 2, ...props, children: _jsxs("div", { children: [_jsx(Headline, { headingLevel: "h3", children: headline }), _jsx(SlimRichText, { text: copy.value })] }) }), _jsx(ContentArea, { width: 1, children: children })] }));
|
|
10
10
|
};
|
|
11
11
|
export { MultiColumnTableBox };
|
|
12
12
|
//# sourceMappingURL=MultiColumnTableBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiColumnTableBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/multiColumnTableBox/MultiColumnTableBox.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"MultiColumnTableBox.js","sourceRoot":"","sources":["../../../../src/web/boxes/multiColumnTableBox/MultiColumnTableBox.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,WAAW,EAEX,QAAQ,EACR,YAAY,GAEb,MAAM,qBAAqB,CAAC;AAQ7B,MAAM,mBAAmB,GAAuC,CAAC,EAC/D,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAElD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,CACL,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,WAAW,IAAC,KAAK,EAAE,CAAC,KAAM,KAAK,YAC9B,0BACE,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YAAE,QAAQ,GAAY,EACjD,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,GAAI,IAC9B,GACM,EACd,KAAC,WAAW,IAAC,KAAK,EAAE,CAAC,YAAG,QAAQ,GAAe,IAC3C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,mBAAmB,EAAC,CAAC"}
|
package/dist/web/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export * from './sections/contactUsSection';
|
|
|
5
5
|
export * from './sections/contentSection';
|
|
6
6
|
export * from './sections/mediaGallerySection';
|
|
7
7
|
export * from './sections/productHeroSection';
|
|
8
|
-
export * from './sections/quoteSection';
|
|
9
8
|
export * from './sections/newsroomSection';
|
|
10
9
|
export * from './sections/contentImageSection';
|
|
11
10
|
export * from './sections/stageSection';
|
package/dist/web/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AAEpD;;GAEG;AACH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
|
package/dist/web/index.js
CHANGED
|
@@ -5,7 +5,6 @@ export * from './sections/contactUsSection';
|
|
|
5
5
|
export * from './sections/contentSection';
|
|
6
6
|
export * from './sections/mediaGallerySection';
|
|
7
7
|
export * from './sections/productHeroSection';
|
|
8
|
-
export * from './sections/quoteSection';
|
|
9
8
|
export * from './sections/newsroomSection';
|
|
10
9
|
export * from './sections/contentImageSection';
|
|
11
10
|
export * from './sections/stageSection';
|
package/dist/web/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AAEpD;;GAEG;AACH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactUsSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contactUsSection/ContactUsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAC,KAAK,mBAAmB,EAAiB,MAAM,qBAAqB,CAAC;AAG7E,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;
|
|
1
|
+
{"version":3,"file":"ContactUsSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contactUsSection/ContactUsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,EAAC,KAAK,mBAAmB,EAAiB,MAAM,qBAAqB,CAAC;AAG7E,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAGD,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA2BxE,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAwC5D,CAAC"}
|
|
@@ -6,9 +6,10 @@ import { BodyText } from '../../../components/typography/bodyText';
|
|
|
6
6
|
import { SvgIcon } from '../../../components/images-icons/svg-icon';
|
|
7
7
|
import { IconChevronDown, IconPhone } from '../../../icons';
|
|
8
8
|
import { SectionWrapper } from '../../../components';
|
|
9
|
-
import { ShowMoreToggle, ShowMore, Button
|
|
9
|
+
import { ShowMoreToggle, ShowMore, Button } from '../../../components';
|
|
10
|
+
// TODO: ContactUsSection has its own styles for rich text, will be defined later
|
|
10
11
|
export const ContactUsSectionColumn = ({ headline, phoneNumber, text01, text02, }) => {
|
|
11
|
-
return (_jsxs(GridItem, { children: [_jsx(Headline, { headingLevel: "h4", children: headline }), _jsxs("div", { className: "flex flex-col gap-3.5", children: [_jsx(BodyText, { variant: 'small', children: _jsx(
|
|
12
|
+
return (_jsxs(GridItem, { children: [_jsx(Headline, { headingLevel: "h4", children: headline }), _jsxs("div", { className: "flex flex-col gap-3.5", children: [_jsx(BodyText, { variant: 'small', children: text01 && _jsx("div", { dangerouslySetInnerHTML: { __html: text01 } }) }), _jsxs("div", { children: [_jsx("div", { className: "inline-block mr-2 align-middle", children: _jsx(SvgIcon, { icon: IconPhone, size: 'md' }) }), _jsx(BodyText, { variant: 'small', className: "inline-block align-middle", children: phoneNumber })] }), _jsx(BodyText, { variant: 'small', children: text02 && _jsx("div", { dangerouslySetInnerHTML: { __html: text02 } }) })] })] }));
|
|
12
13
|
};
|
|
13
14
|
export const ContactUsSection = ({ title, children, showButtonLabel, hideButtonLabel, showMoreContent, sectionProps, }) => {
|
|
14
15
|
const showMoreToggleButton = (_jsx(ShowMoreToggle, { children: isExpanded => (_jsx(Button, { icon: IconChevronDown, variant: isExpanded ? 'secondary-air-blue' : 'primary', children: isExpanded ? hideButtonLabel : showButtonLabel })) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactUsSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contactUsSection/ContactUsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,OAAO,EAAC,MAAM,2CAA2C,CAAC;AAClE,OAAO,EAAC,eAAe,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC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D,WAAW,GACH,IACP,EACN,KAAC,QAAQ,IAAC,OAAO,EAAE,OAAO,YACvB,MAAM,IAAI,cAAK,uBAAuB,EAAE,EAAC,MAAM,EAAE,MAAM,EAAC,GAAI,GACpD,IACP,IACG,CACZ,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,EAChE,KAAK,EACL,QAAQ,EACR,eAAe,EACf,eAAe,EACf,eAAe,EACf,YAAY,GACb,EAAE,EAAE;IACH,MAAM,oBAAoB,GAAG,CAC3B,KAAC,cAAc,cACZ,UAAU,CAAC,EAAE,CAAC,CACb,KAAC,MAAM,IACL,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,YAErD,UAAU,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,GACxC,CACV,GACc,CAClB,CAAC;IAEF,OAAO,CACL,KAAC,cAAc,IAAC,UAAU,EAAC,UAAU,KAAK,YAAY,YACpD,MAAC,WAAW,eACV,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,YAC1C,KAAK,GACG,EACX,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,YAAG,QAAQ,GAAQ,EAC/B,eAAe,IAAI,CAClB,KAAC,QAAQ,IACP,SAAS,EAAC,OAAO,EACjB,KAAK,EAAC,UAAU,EAChB,aAAa,EAAE,oBAAoB,YAElC,eAAe,GACP,CACZ,IACW,GACC,CAClB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Image,
|
|
2
|
+
import { Image, LinkButtonProps, type SectionWrapperProps, type RichTextType } from '../../../components';
|
|
3
3
|
import { LinkComponent } from '../../../utils';
|
|
4
4
|
export interface ContentImageSectionProps extends LinkComponent, React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
headline: string;
|
|
6
|
-
copytext:
|
|
6
|
+
copytext: RichTextType;
|
|
7
7
|
linkButtonProps: LinkButtonProps;
|
|
8
8
|
imageProps: React.ComponentProps<typeof Image>;
|
|
9
9
|
sectionProps?: SectionWrapperProps;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,EAIL,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,YAAY,EAClB,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentImageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/ContentImageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,KAAK,
|
|
1
|
+
{"version":3,"file":"ContentImageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contentImageSection/ContentImageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,KAAK,EACL,cAAc,EACd,UAAU,EACV,SAAS,GAIV,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"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odx/websites-react",
|
|
3
3
|
"author": "Drägerwerk AG & Co. KGaA",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"description": "ODX React component library for websites",
|
|
7
7
|
"type": "module",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"class-variance-authority": "^0.7.0",
|
|
51
51
|
"clsx": "^2.0.0",
|
|
52
52
|
"embla-carousel-react": "8.0.0-rc20",
|
|
53
|
+
"html-react-parser": "^5.1.10",
|
|
53
54
|
"resize-observer-polyfill": "^1.5.1",
|
|
54
55
|
"tailwind-merge": "^2.0.0"
|
|
55
56
|
},
|
|
@@ -80,12 +81,12 @@
|
|
|
80
81
|
"tsup": "^8.0.1",
|
|
81
82
|
"tsx": "^4.15.6",
|
|
82
83
|
"typescript": "^5.3.2",
|
|
83
|
-
"@odx/eslint-config-websites": "0.0.0",
|
|
84
84
|
"@odx/websites-tsconfig": "0.0.0",
|
|
85
|
-
"@odx/websites-ui": "0.0.
|
|
85
|
+
"@odx/websites-ui": "0.0.2",
|
|
86
|
+
"@odx/eslint-config-websites": "0.0.0"
|
|
86
87
|
},
|
|
87
88
|
"peerDependencies": {
|
|
88
|
-
"@odx/websites-ui": ">=0.0.
|
|
89
|
+
"@odx/websites-ui": ">=0.0.2",
|
|
89
90
|
"react": "^18.2.0",
|
|
90
91
|
"react-dom": "^18.2.0",
|
|
91
92
|
"tailwindcss": "^3.3.5"
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface ResultListComponentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
children?: React.ReactNode | React.ReactNode[];
|
|
4
|
-
}
|
|
5
|
-
export interface ResultListProps extends ResultListComponentProps {
|
|
6
|
-
checkboxes?: {
|
|
7
|
-
checkedItems: number[];
|
|
8
|
-
onCheckedChange: (item: number) => void;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
declare const ResultList: React.FC<ResultListProps>;
|
|
12
|
-
export { ResultList };
|
|
13
|
-
//# sourceMappingURL=ResultList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultList.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/resultList/ResultList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,wBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;CAChD;AAMD,MAAM,WAAW,eAAgB,SAAQ,wBAAwB;IAC/D,UAAU,CAAC,EAAE;QACX,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;KACzC,CAAC;CACH;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAczC,CAAC;AAEF,OAAO,EAAC,UAAU,EAAC,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ResultListContext } from './ResultListContext';
|
|
3
|
-
const ResultListComponent = ({ children, }) => _jsx("div", { className: "flex flex-col gap-12 font-text", children: children });
|
|
4
|
-
const ResultList = ({ children, checkboxes }) => {
|
|
5
|
-
if (checkboxes !== undefined) {
|
|
6
|
-
return (_jsx(ResultListContext.Provider, { value: {
|
|
7
|
-
checkedItems: checkboxes.checkedItems,
|
|
8
|
-
onCheckedChange: checkboxes.onCheckedChange,
|
|
9
|
-
}, children: _jsx(ResultListComponent, { children: children }) }));
|
|
10
|
-
}
|
|
11
|
-
return _jsx(ResultListComponent, { children: children });
|
|
12
|
-
};
|
|
13
|
-
export { ResultList };
|
|
14
|
-
//# sourceMappingURL=ResultList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultList.js","sourceRoot":"","sources":["../../../../src/components/layout/resultList/ResultList.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAOtD,MAAM,mBAAmB,GAAuC,CAAC,EAC/D,QAAQ,GACT,EAAE,EAAE,CAAC,cAAK,SAAS,EAAC,gCAAgC,YAAE,QAAQ,GAAO,CAAC;AASvE,MAAM,UAAU,GAA8B,CAAC,EAAC,QAAQ,EAAE,UAAU,EAAC,EAAE,EAAE;IACvE,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,OAAO,CACL,KAAC,iBAAiB,CAAC,QAAQ,IACzB,KAAK,EAAE;gBACL,YAAY,EAAE,UAAU,CAAC,YAAY;gBACrC,eAAe,EAAE,UAAU,CAAC,eAAe;aAC5C,YAED,KAAC,mBAAmB,cAAE,QAAQ,GAAuB,GAC1B,CAC9B,CAAC;IACJ,CAAC;IACD,OAAO,KAAC,mBAAmB,cAAE,QAAQ,GAAuB,CAAC;AAC/D,CAAC,CAAC;AAEF,OAAO,EAAC,UAAU,EAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface ResultListContextType {
|
|
3
|
-
checkedItems: number[];
|
|
4
|
-
onCheckedChange: (item: number) => void;
|
|
5
|
-
}
|
|
6
|
-
export declare const ResultListContext: React.Context<ResultListContextType>;
|
|
7
|
-
export declare const ResultListItemContext: React.Context<number>;
|
|
8
|
-
export declare const useResultListItemContext: () => {
|
|
9
|
-
isChecked: boolean;
|
|
10
|
-
onCheckedChange: () => void;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=ResultListContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultListContext.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/resultList/ResultListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,UAAU,qBAAqB;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,eAAO,MAAM,iBAAiB,sCAG5B,CAAC;AAEH,eAAO,MAAM,qBAAqB,uBAAyB,CAAC;AAE5D,eAAO,MAAM,wBAAwB;;;CAOpC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export const ResultListContext = React.createContext({
|
|
3
|
-
checkedItems: [],
|
|
4
|
-
onCheckedChange: () => { },
|
|
5
|
-
});
|
|
6
|
-
export const ResultListItemContext = React.createContext(0);
|
|
7
|
-
export const useResultListItemContext = () => {
|
|
8
|
-
const value = React.useContext(ResultListItemContext);
|
|
9
|
-
const { checkedItems, onCheckedChange } = React.useContext(ResultListContext);
|
|
10
|
-
const isChecked = checkedItems.includes(value);
|
|
11
|
-
return { isChecked, onCheckedChange: () => onCheckedChange(value) };
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=ResultListContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultListContext.js","sourceRoot":"","sources":["../../../../src/components/layout/resultList/ResultListContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,CAAC,MAAM,iBAAiB,GAAG,KAAK,CAAC,aAAa,CAAwB;IAC1E,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,GAAG,EAAE,GAAE,CAAC;CAC1B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,EAAE;IAC3C,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;IACtD,MAAM,EAAC,YAAY,EAAE,eAAe,EAAC,GAAG,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC;IAE5E,MAAM,SAAS,GAAG,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE/C,OAAO,EAAC,SAAS,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC,EAAC,CAAC;AACpE,CAAC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { BodyTextProps } from '../../typography/bodyText';
|
|
3
|
-
import { ButtonProps } from '../../actions/button';
|
|
4
|
-
import { RichCopyText } from '../../typography/richText';
|
|
5
|
-
export interface ResultListItemHeadlineProps extends BodyTextProps {
|
|
6
|
-
}
|
|
7
|
-
declare const ResultListItemHeadline: React.FC<ResultListItemHeadlineProps>;
|
|
8
|
-
export interface ResultListItemDescriptionProps extends Omit<BodyTextProps, 'children'> {
|
|
9
|
-
text: RichCopyText;
|
|
10
|
-
}
|
|
11
|
-
declare const ResultListItemDescription: React.FC<ResultListItemDescriptionProps>;
|
|
12
|
-
export interface ResultListItemButtonContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
13
|
-
children: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const ResultListItemButtonContainer: React.FC<ResultListItemButtonContainerProps>;
|
|
16
|
-
export interface ResultListItemButtonProps extends Omit<ButtonProps, 'size' | 'fontSize'> {
|
|
17
|
-
}
|
|
18
|
-
declare const ResultListItemButton: React.FC<ResultListItemButtonProps>;
|
|
19
|
-
export interface ResultListItemImageContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
20
|
-
children: React.ReactNode;
|
|
21
|
-
}
|
|
22
|
-
declare const ResultListItemImageContainer: React.FC<ResultListItemImageContainerProps>;
|
|
23
|
-
export interface ResultListItemFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
|
-
children: React.ReactNode | React.ReactNode[];
|
|
25
|
-
}
|
|
26
|
-
declare const ResultListItemFooter: React.FC<ResultListItemFooterProps>;
|
|
27
|
-
export interface ResultListItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
28
|
-
children: React.ReactNode | React.ReactNode[];
|
|
29
|
-
checkboxId?: number;
|
|
30
|
-
}
|
|
31
|
-
declare const ResultListItem: React.FC<ResultListItemProps>;
|
|
32
|
-
export { ResultListItem, ResultListItemHeadline, ResultListItemDescription, ResultListItemButton, ResultListItemButtonContainer, ResultListItemImageContainer, ResultListItemFooter, };
|
|
33
|
-
//# sourceMappingURL=ResultListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ResultListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/resultList/ResultListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAW,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAOlE,OAAO,EAAS,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAC,YAAY,EAAW,MAAM,2BAA2B,CAAC;AAEjE,MAAM,WAAW,2BAA4B,SAAQ,aAAa;CAAG;AAErE,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAQjE,CAAC;AAEF,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC;IACvC,IAAI,EAAE,YAAY,CAAC;CACpB;AAED,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAOvE,CAAC;AAEF,MAAM,WAAW,kCACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAC3C,kCAAkC,CAKnC,CAAC;AAEF,MAAM,WAAW,yBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC;CAAG;AAEnD,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAU7D,CAAC;AAEF,MAAM,WAAW,iCACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAC1C,iCAAiC,CAKlC,CAAC;AAEF,MAAM,WAAW,yBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;CAC/C;AAED,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAW7D,CAAC;AAcF,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqBjD,CAAC;AAEF,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,EAC7B,4BAA4B,EAC5B,oBAAoB,GACrB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BodyText } from '../../typography/bodyText';
|
|
3
|
-
import { cn } from '../../../utils';
|
|
4
|
-
import { Checkbox } from '../../actions/checkbox';
|
|
5
|
-
import { ResultListItemContext, useResultListItemContext, } from './ResultListContext';
|
|
6
|
-
import { Button } from '../../actions/button';
|
|
7
|
-
import { RichText } from '../../typography/richText';
|
|
8
|
-
const ResultListItemHeadline = ({ children, className, ...props }) => (_jsx(BodyText, { className: cn('font-semibold', className), ...props, children: children }));
|
|
9
|
-
const ResultListItemDescription = ({ text, ...props }) => (_jsx(BodyText, { ...props, children: _jsx(RichText, { text: text.value }) }));
|
|
10
|
-
const ResultListItemButtonContainer = ({ className, children, ...props }) => (_jsx("div", { className: cn('self-center max-w-44 w-full', className), ...props, children: children }));
|
|
11
|
-
const ResultListItemButton = ({ className, ...props }) => (_jsx(Button, { className: cn('font-semibold', className), size: "resultListButton", fontSize: "lg", ...props }));
|
|
12
|
-
const ResultListItemImageContainer = ({ className, children, ...props }) => (_jsx("div", { className: cn('max-w-36', className), ...props, children: children }));
|
|
13
|
-
const ResultListItemFooter = ({ className, children, ...props }) => (_jsx("div", { className: cn('flex flex-col sm:flex-row gap-x-6 gap-y-1 mt-3', className), ...props, children: _jsx(BodyText, { variant: "small", children: children }) }));
|
|
14
|
-
const ResultListItemCheckbox = () => {
|
|
15
|
-
const { isChecked, onCheckedChange } = useResultListItemContext();
|
|
16
|
-
return (_jsx("div", { className: "pr-3.5 self-center hidden sm:block", children: _jsx(Checkbox, { checked: isChecked, onCheckedChange: onCheckedChange }) }));
|
|
17
|
-
};
|
|
18
|
-
const ResultListItemClassNames = 'border-draeger-light-blue-150 border-b pb-2 flex flex-col sm:flex-row gap-6';
|
|
19
|
-
const ResultListItem = ({ children, checkboxId, className, ...props }) => {
|
|
20
|
-
if (checkboxId !== undefined) {
|
|
21
|
-
return (_jsx(ResultListItemContext.Provider, { value: checkboxId, children: _jsxs("div", { className: cn(ResultListItemClassNames, className), ...props, children: [_jsx(ResultListItemCheckbox, {}), children] }) }));
|
|
22
|
-
}
|
|
23
|
-
return (_jsx("div", { className: cn(ResultListItemClassNames, className), ...props, children: children }));
|
|
24
|
-
};
|
|
25
|
-
export { ResultListItem, ResultListItemHeadline, ResultListItemDescription, ResultListItemButton, ResultListItemButtonContainer, ResultListItemImageContainer, ResultListItemFooter, };
|
|
26
|
-
//# sourceMappingURL=ResultListItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3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QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,EAC7B,4BAA4B,EAC5B,oBAAoB,GACrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/resultList/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/layout/resultList/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export type RichCopyText = {
|
|
3
|
-
value?: string;
|
|
4
|
-
};
|
|
5
|
-
export interface RichTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6
|
-
text?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const RichText: React.FC<RichTextProps>;
|
|
9
|
-
//# sourceMappingURL=RichText.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/richText/RichText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,YAAY,GAAG;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC;AAE5C,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CACyB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichText.js","sourceRoot":"","sources":["../../../../src/components/typography/richText/RichText.tsx"],"names":[],"mappings":";AAQA,MAAM,CAAC,MAAM,QAAQ,GAA4B,CAAC,EAAC,IAAI,EAAE,GAAG,KAAK,EAAC,EAAE,EAAE,CACpE,IAAI,IAAI,eAAM,uBAAuB,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,KAAM,KAAK,GAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/richText/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/typography/richText/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,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"}
|