@odx/websites-react 0.0.7 → 0.1.0
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/checkbox/Checkbox.d.ts +1 -18
- package/dist/components/actions/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/actions/checkbox/Checkbox.js +3 -21
- package/dist/components/actions/checkbox/Checkbox.js.map +1 -1
- package/dist/components/actions/checkboxGroup/CheckboxGroup.d.ts +23 -0
- package/dist/components/actions/checkboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/components/actions/checkboxGroup/CheckboxGroup.js +35 -0
- package/dist/components/actions/checkboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/components/actions/checkboxGroup/index.d.ts +2 -0
- package/dist/components/actions/checkboxGroup/index.d.ts.map +1 -0
- package/dist/components/actions/checkboxGroup/index.js +2 -0
- package/dist/components/actions/checkboxGroup/index.js.map +1 -0
- package/dist/components/actions/form/Form.js +2 -2
- package/dist/components/actions/form/Form.js.map +1 -1
- package/dist/components/actions/formField/FormField.d.ts +1 -0
- package/dist/components/actions/formField/FormField.d.ts.map +1 -1
- package/dist/components/actions/formField/FormField.js +2 -2
- package/dist/components/actions/formField/FormField.js.map +1 -1
- package/dist/components/actions/link/Link.d.ts +1 -1
- package/dist/components/actions/radioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/archived/grid/Grid.d.ts +17 -0
- package/dist/components/archived/grid/Grid.d.ts.map +1 -0
- package/dist/components/archived/grid/Grid.js +25 -0
- package/dist/components/archived/grid/Grid.js.map +1 -0
- package/dist/components/archived/grid/index.d.ts +2 -0
- package/dist/components/archived/grid/index.d.ts.map +1 -0
- package/dist/components/archived/grid/index.js +2 -0
- package/dist/components/archived/grid/index.js.map +1 -0
- package/dist/components/index.d.ts +5 -4
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/accordion/Accordion.d.ts.map +1 -1
- package/dist/components/layout/accordion/Accordion.js +1 -2
- package/dist/components/layout/accordion/Accordion.js.map +1 -1
- package/dist/components/layout/block/Block.d.ts +15 -0
- package/dist/components/layout/block/Block.d.ts.map +1 -0
- package/dist/components/layout/block/Block.js +26 -0
- package/dist/components/layout/block/Block.js.map +1 -0
- package/dist/components/layout/block/index.d.ts +2 -0
- package/dist/components/layout/block/index.d.ts.map +1 -0
- package/dist/components/layout/block/index.js +2 -0
- package/dist/components/layout/block/index.js.map +1 -0
- package/dist/components/layout/calloutMedia/CalloutMedia.d.ts.map +1 -1
- package/dist/components/layout/calloutMedia/CalloutMedia.js +2 -3
- package/dist/components/layout/calloutMedia/CalloutMedia.js.map +1 -1
- package/dist/components/layout/calloutQuote/CalloutQuote.d.ts.map +1 -1
- package/dist/components/layout/calloutQuote/CalloutQuote.js +5 -10
- package/dist/components/layout/calloutQuote/CalloutQuote.js.map +1 -1
- package/dist/components/layout/card/Card.d.ts.map +1 -1
- package/dist/components/layout/card/Card.js +3 -2
- package/dist/components/layout/card/Card.js.map +1 -1
- package/dist/components/layout/card/CardGroup.d.ts +3 -3
- package/dist/components/layout/card/CardGroup.d.ts.map +1 -1
- package/dist/components/layout/card/CardGroup.js +2 -2
- package/dist/components/layout/card/CardGroup.js.map +1 -1
- package/dist/components/layout/container/Container.d.ts +7 -0
- package/dist/components/layout/container/Container.d.ts.map +1 -0
- package/dist/components/layout/container/Container.js +11 -0
- package/dist/components/layout/container/Container.js.map +1 -0
- package/dist/components/layout/container/index.d.ts +2 -0
- package/dist/components/layout/container/index.d.ts.map +1 -0
- package/dist/components/layout/container/index.js +2 -0
- package/dist/components/layout/container/index.js.map +1 -0
- package/dist/components/layout/contentItem/ContentItem.d.ts.map +1 -1
- package/dist/components/layout/contentItem/ContentItem.js +1 -1
- package/dist/components/layout/contentItem/ContentItem.js.map +1 -1
- package/dist/components/layout/contentSlider/ContentSlider.d.ts +7 -0
- package/dist/components/layout/contentSlider/ContentSlider.d.ts.map +1 -0
- package/dist/components/layout/contentSlider/ContentSlider.js +48 -0
- package/dist/components/layout/contentSlider/ContentSlider.js.map +1 -0
- package/dist/components/layout/contentSlider/index.d.ts +2 -0
- package/dist/components/layout/contentSlider/index.d.ts.map +1 -0
- package/dist/components/layout/contentSlider/index.js +2 -0
- package/dist/components/layout/contentSlider/index.js.map +1 -0
- package/dist/components/layout/downloadItem/DownloadItem.d.ts +14 -0
- package/dist/components/layout/downloadItem/DownloadItem.d.ts.map +1 -0
- package/dist/components/layout/downloadItem/DownloadItem.js +9 -0
- package/dist/components/layout/downloadItem/DownloadItem.js.map +1 -0
- package/dist/components/layout/downloadItem/index.d.ts +2 -0
- package/dist/components/layout/downloadItem/index.d.ts.map +1 -0
- package/dist/components/layout/downloadItem/index.js +2 -0
- package/dist/components/layout/downloadItem/index.js.map +1 -0
- package/dist/components/layout/modal/Modal.d.ts +1 -2
- package/dist/components/layout/modal/Modal.d.ts.map +1 -1
- package/dist/components/layout/modal/Modal.js +14 -1
- package/dist/components/layout/modal/Modal.js.map +1 -1
- package/dist/components/layout/sectionWrapper/SectionWrapper.js +1 -1
- package/dist/components/layout/sectionWrapper/SectionWrapper.js.map +1 -1
- package/dist/components/layout/showMore/ShowMore.d.ts.map +1 -1
- package/dist/components/layout/showMore/ShowMore.js +1 -0
- package/dist/components/layout/showMore/ShowMore.js.map +1 -1
- package/dist/components/layout/slimRichText/SlimRichText.js +1 -1
- package/dist/components/layout/slimRichText/SlimRichText.js.map +1 -1
- package/dist/components/navigation/anchorNav/AnchorNav.d.ts.map +1 -1
- package/dist/components/navigation/anchorNav/AnchorNav.js +8 -7
- package/dist/components/navigation/anchorNav/AnchorNav.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.js +4 -2
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/components/navigation/flyout/Flyout.d.ts.map +1 -1
- package/dist/components/navigation/flyout/Flyout.js +11 -9
- package/dist/components/navigation/flyout/Flyout.js.map +1 -1
- package/dist/components/navigation/footer/Footer.d.ts +6 -3
- package/dist/components/navigation/footer/Footer.d.ts.map +1 -1
- package/dist/components/navigation/footer/Footer.js +5 -3
- package/dist/components/navigation/footer/Footer.js.map +1 -1
- package/dist/components/navigation/header/AnimatedHeader.d.ts.map +1 -1
- package/dist/components/navigation/header/AnimatedHeader.js +5 -4
- package/dist/components/navigation/header/AnimatedHeader.js.map +1 -1
- package/dist/components/navigation/header/Header.d.ts +2 -1
- package/dist/components/navigation/header/Header.d.ts.map +1 -1
- package/dist/components/navigation/header/Header.js +10 -6
- package/dist/components/navigation/header/Header.js.map +1 -1
- package/dist/components/navigation/searchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/navigation/searchInput/SearchInput.js +3 -3
- package/dist/components/navigation/searchInput/SearchInput.js.map +1 -1
- package/dist/components/typography/headline/Headline.d.ts +1 -1
- package/dist/hooks/useScrollPosition/useScrollPosition.d.ts.map +1 -1
- package/dist/web/index.d.ts +2 -21
- package/dist/web/index.d.ts.map +1 -1
- package/dist/web/index.js +2 -21
- package/dist/web/index.js.map +1 -1
- package/dist/web/layout/contentHeadings/ContentHeadings.d.ts.map +1 -1
- package/dist/web/layout/contentHeadings/ContentHeadings.js +1 -1
- package/dist/web/layout/contentHeadings/ContentHeadings.js.map +1 -1
- package/dist/web/sections/calloutContact/CalloutContact.d.ts +1 -1
- package/dist/web/sections/calloutContact/CalloutContact.d.ts.map +1 -1
- package/dist/web/sections/calloutContact/CalloutContact.js +7 -7
- package/dist/web/sections/calloutContact/CalloutContact.js.map +1 -1
- package/dist/web/sections/contentBlock/ContentBlock.d.ts +10 -0
- package/dist/web/sections/contentBlock/ContentBlock.d.ts.map +1 -0
- package/dist/web/sections/contentBlock/ContentBlock.js +9 -0
- package/dist/web/sections/contentBlock/ContentBlock.js.map +1 -0
- package/dist/web/sections/contentBlock/index.d.ts +2 -0
- package/dist/web/sections/contentBlock/index.d.ts.map +1 -0
- package/dist/web/sections/contentBlock/index.js +2 -0
- package/dist/web/sections/contentBlock/index.js.map +1 -0
- package/dist/web/sections/contentGroup/ContentGroup.d.ts +11 -0
- package/dist/web/sections/contentGroup/ContentGroup.d.ts.map +1 -0
- package/dist/web/sections/contentGroup/ContentGroup.js +18 -0
- package/dist/web/sections/contentGroup/ContentGroup.js.map +1 -0
- package/dist/web/sections/contentGroup/index.d.ts +2 -0
- package/dist/web/sections/contentGroup/index.d.ts.map +1 -0
- package/dist/web/sections/contentGroup/index.js +2 -0
- package/dist/web/sections/contentGroup/index.js.map +1 -0
- package/dist/web/sections/contentSection/ContentSection.d.ts +4 -6
- package/dist/web/sections/contentSection/ContentSection.d.ts.map +1 -1
- package/dist/web/sections/contentSection/ContentSection.js +4 -5
- package/dist/web/sections/contentSection/ContentSection.js.map +1 -1
- package/dist/web/sections/questionnaireFormSection/QuestionnaireFormSection.d.ts.map +1 -1
- package/dist/web/sections/questionnaireFormSection/QuestionnaireFormSection.js +4 -2
- package/dist/web/sections/questionnaireFormSection/QuestionnaireFormSection.js.map +1 -1
- package/dist/web/sections/stageSection/StageSection.d.ts +1 -1
- package/dist/web/sections/stageSection/StageSection.d.ts.map +1 -1
- package/dist/web/sections/stageSection/StageSection.js +4 -8
- package/dist/web/sections/stageSection/StageSection.js.map +1 -1
- package/package.json +5 -5
package/dist/web/index.d.ts
CHANGED
|
@@ -3,31 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './sections/calloutContact';
|
|
5
5
|
export * from './sections/contentSection';
|
|
6
|
-
export * from './sections/mediaGallerySection';
|
|
7
|
-
export * from './sections/productHeroSection';
|
|
8
|
-
export * from './sections/newsroomSection';
|
|
9
6
|
export * from './sections/stageSection';
|
|
10
7
|
export * from './sections/questionnaireFormSection';
|
|
11
|
-
/**
|
|
12
|
-
* Section Boxes
|
|
13
|
-
*/
|
|
14
|
-
export * from './boxes/smallImageTextBox';
|
|
15
|
-
export * from './boxes/downloadBox';
|
|
16
|
-
export * from './boxes/textBox';
|
|
17
|
-
export * from './boxes/linkListBox';
|
|
18
|
-
export * from './boxes/accordionBox';
|
|
19
|
-
export * from './boxes/linkListBox';
|
|
20
|
-
export * from './boxes/mediaTeaserBox';
|
|
21
|
-
export * from './boxes/multiColumnTableBox';
|
|
22
|
-
export * from './boxes/teaserCardBox';
|
|
23
|
-
export * from './boxes/contentSliderBox';
|
|
24
|
-
export * from './boxes/productBox';
|
|
25
8
|
/**
|
|
26
9
|
* Layout
|
|
27
10
|
*/
|
|
28
11
|
export * from './layout/contentHeadings';
|
|
29
|
-
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export * from './pageTemplates/sitemap';
|
|
12
|
+
export * from './sections/contentBlock';
|
|
13
|
+
export * from './sections/contentGroup';
|
|
33
14
|
//# sourceMappingURL=index.d.ts.map
|
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,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AAEpD;;GAEG;AACH,cAAc,0BAA0B,CAAC;AAEzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
package/dist/web/index.js
CHANGED
|
@@ -3,31 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export * from './sections/calloutContact';
|
|
5
5
|
export * from './sections/contentSection';
|
|
6
|
-
export * from './sections/mediaGallerySection';
|
|
7
|
-
export * from './sections/productHeroSection';
|
|
8
|
-
export * from './sections/newsroomSection';
|
|
9
6
|
export * from './sections/stageSection';
|
|
10
7
|
export * from './sections/questionnaireFormSection';
|
|
11
|
-
/**
|
|
12
|
-
* Section Boxes
|
|
13
|
-
*/
|
|
14
|
-
export * from './boxes/smallImageTextBox';
|
|
15
|
-
export * from './boxes/downloadBox';
|
|
16
|
-
export * from './boxes/textBox';
|
|
17
|
-
export * from './boxes/linkListBox';
|
|
18
|
-
export * from './boxes/accordionBox';
|
|
19
|
-
export * from './boxes/linkListBox';
|
|
20
|
-
export * from './boxes/mediaTeaserBox';
|
|
21
|
-
export * from './boxes/multiColumnTableBox';
|
|
22
|
-
export * from './boxes/teaserCardBox';
|
|
23
|
-
export * from './boxes/contentSliderBox';
|
|
24
|
-
export * from './boxes/productBox';
|
|
25
8
|
/**
|
|
26
9
|
* Layout
|
|
27
10
|
*/
|
|
28
11
|
export * from './layout/contentHeadings';
|
|
29
|
-
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export * from './pageTemplates/sitemap';
|
|
12
|
+
export * from './sections/contentBlock';
|
|
13
|
+
export * from './sections/contentGroup';
|
|
33
14
|
//# sourceMappingURL=index.js.map
|
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,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/web/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AAEpD;;GAEG;AACH,cAAc,0BAA0B,CAAC;AAEzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeadings.d.ts","sourceRoot":"","sources":["../../../../src/web/layout/contentHeadings/ContentHeadings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ContentHeadings.d.ts","sourceRoot":"","sources":["../../../../src/web/layout/contentHeadings/ContentHeadings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5C,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgClD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { SlimRichText } from '../../../components/layout/slimRichText';
|
|
|
4
4
|
import { cn } from '../../../utils';
|
|
5
5
|
const ContentHeadings = ({ type, headline, text, className, ...props }) => {
|
|
6
6
|
const headingLevel = type === 'section' ? 'h2' : type === 'block' ? 'h3' : 'h4';
|
|
7
|
-
return (_jsxs("div", { className: cn(type !== 'section' && 'pb-10', className), ...props, children: [headline && (_jsx(Headline, { headingLevel: headingLevel, underlined: type === 'section', className: type === 'section' ? 'pb-4 xl:pb-6' : '', children: headline })), text && (_jsx(SlimRichText, { variant: type === 'section' ? 'large' : 'medium', text: text }))] }));
|
|
7
|
+
return (_jsxs("div", { "data-name": `ContentHeadings-${type}`, className: cn(type !== 'section' && 'pb-10', className), ...props, children: [headline && (_jsx(Headline, { headingLevel: headingLevel, underlined: type === 'section', className: type === 'section' ? 'pb-4 xl:pb-6' : '', children: headline })), text && (_jsx(SlimRichText, { variant: type === 'section' ? 'large' : 'medium', text: text }))] }));
|
|
8
8
|
};
|
|
9
9
|
export { ContentHeadings };
|
|
10
10
|
//# sourceMappingURL=ContentHeadings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentHeadings.js","sourceRoot":"","sources":["../../../../src/web/layout/contentHeadings/ContentHeadings.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,YAAY,EAAC,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AASlC,MAAM,eAAe,GAAkC,CAAC,EACtD,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,YAAY,GAChB,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7D,OAAO,CACL,
|
|
1
|
+
{"version":3,"file":"ContentHeadings.js","sourceRoot":"","sources":["../../../../src/web/layout/contentHeadings/ContentHeadings.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAC,YAAY,EAAC,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AASlC,MAAM,eAAe,GAAkC,CAAC,EACtD,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,YAAY,GAChB,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7D,OAAO,CACL,4BACa,mBAAmB,IAAI,EAAE,EACpC,SAAS,EAAE,EAAE,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,EAAE,SAAS,CAAC,KACnD,KAAK,aAER,QAAQ,IAAI,CACX,KAAC,QAAQ,IACP,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,IAAI,KAAK,SAAS,EAC9B,SAAS,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,YAElD,QAAQ,GACA,CACZ,EACA,IAAI,IAAI,CACP,KAAC,YAAY,IACX,OAAO,EAAE,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,EAChD,IAAI,EAAE,IAAI,GACV,CACH,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
|
|
@@ -6,7 +6,7 @@ export interface CalloutContactColumnProps {
|
|
|
6
6
|
text01?: string;
|
|
7
7
|
text02?: string;
|
|
8
8
|
}
|
|
9
|
-
export interface CalloutContactProps
|
|
9
|
+
export interface CalloutContactProps {
|
|
10
10
|
title: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
sectionProps?: SectionWrapperProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalloutContact.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/CalloutContact.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CalloutContact.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/CalloutContact.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAe,KAAK,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAK3E,MAAM,WAAW,yBAAyB;IACxC,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,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAGD,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAyBpE,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAexD,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { ContentArea } from '../../../components/layout/contentArea';
|
|
3
|
-
import { Grid, GridItem } from '../../../components/layout/grid';
|
|
4
2
|
import { Headline } from '../../../components/typography/headline';
|
|
5
3
|
import { BodyText } from '../../../components/typography/bodyText';
|
|
6
4
|
import { SvgIcon } from '../../../components/images-icons/svg-icon';
|
|
7
5
|
import { IconPhone } from '../../../icons';
|
|
8
|
-
import { SlimRichText
|
|
9
|
-
import {
|
|
6
|
+
import { SlimRichText } from '../../../components';
|
|
7
|
+
import { ContentGroup } from '../contentGroup';
|
|
8
|
+
import { ContentBlock } from '../contentBlock';
|
|
9
|
+
import { ContentSection } from '../contentSection';
|
|
10
10
|
// TODO: CalloutContact has its own styles for rich text, will be defined later
|
|
11
|
-
export const CalloutContactColumn = ({ headline, phoneNumber, text01, text02, }) => (
|
|
12
|
-
export const CalloutContact = ({ title, children,
|
|
13
|
-
return (_jsx(
|
|
11
|
+
export const CalloutContactColumn = ({ headline, phoneNumber, text01, text02, }) => (_jsxs("div", { className: "flex flex-col gap-y-3", children: [_jsx(Headline, { headingLevel: "h4", children: headline }), _jsx(SlimRichText, { variant: 'small', text: text01 }), _jsxs("a", { className: "self-start", target: "_self", href: `tel:${phoneNumber.replace(/\s/g, '')}`, children: [_jsx(SvgIcon, { className: "inline-block mr-2 align-middle", icon: IconPhone, size: 'md' }), _jsx(BodyText, { variant: 'small', className: "inline-block align-middle", children: phoneNumber })] }), _jsx(SlimRichText, { variant: 'small', text: text02 })] }));
|
|
12
|
+
export const CalloutContact = ({ title, children, sectionProps, }) => {
|
|
13
|
+
return (_jsx(ContentSection, { sectionProps: { background: 'paleBlue', ...sectionProps }, children: _jsxs(ContentBlock, { className: "mb-20", children: [_jsx("p", { className: "mb-8 font-display text-[2rem] leading-[1.14] text-draeger-dark-blue", children: title }), _jsx(ContentGroup, { cols: 3, children: children })] }) }));
|
|
14
14
|
};
|
|
15
15
|
//# sourceMappingURL=CalloutContact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalloutContact.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/CalloutContact.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"CalloutContact.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/CalloutContact.tsx"],"names":[],"mappings":";AACA,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,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAC,YAAY,EAA2B,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAejD,+EAA+E;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAAwC,CAAC,EACxE,QAAQ,EACR,WAAW,EACX,MAAM,EACN,MAAM,GACP,EAAE,EAAE,CAAC,CACJ,eAAK,SAAS,EAAC,uBAAuB,aACpC,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YAAE,QAAQ,GAAY,EACjD,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAI,EAChD,aACE,SAAS,EAAC,YAAY,EACtB,MAAM,EAAC,OAAO,EACd,IAAI,EAAE,OAAO,WAAW,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,aAE7C,KAAC,OAAO,IACN,SAAS,EAAC,gCAAgC,EAC1C,IAAI,EAAE,SAAS,EACf,IAAI,EAAE,IAAI,GACV,EACF,KAAC,QAAQ,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,2BAA2B,YAC9D,WAAW,GACH,IACT,EACJ,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAI,IAC5C,CACP,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,EAC5D,KAAK,EACL,QAAQ,EACR,YAAY,GACb,EAAE,EAAE;IACH,OAAO,CACL,KAAC,cAAc,IAAC,YAAY,EAAE,EAAC,UAAU,EAAE,UAAU,EAAE,GAAG,YAAY,EAAC,YACrE,MAAC,YAAY,IAAC,SAAS,EAAC,OAAO,aAC7B,YAAG,SAAS,EAAC,qEAAqE,YAC/E,KAAK,GACJ,EACJ,KAAC,YAAY,IAAC,IAAI,EAAE,CAAC,YAAG,QAAQ,GAAgB,IACnC,GACA,CAClB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type BlockProps } from '../../../components/layout/block';
|
|
3
|
+
export interface ContentBlockProps extends BlockProps {
|
|
4
|
+
disableGutters?: boolean;
|
|
5
|
+
headline?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
}
|
|
8
|
+
declare const ContentBlock: React.FC<ContentBlockProps>;
|
|
9
|
+
export { ContentBlock };
|
|
10
|
+
//# sourceMappingURL=ContentBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBlock.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentBlock/ContentBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAQ,KAAK,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAIxE,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgC7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Block } from '../../../components/layout/block';
|
|
3
|
+
import { cn } from '../../../utils';
|
|
4
|
+
import { ContentHeadings } from '../../layout/contentHeadings';
|
|
5
|
+
const ContentBlock = ({ children, disableGutters = false, headline, text, ...props }) => (_jsxs(_Fragment, { children: [_jsx(Block, { className: cn(!disableGutters &&
|
|
6
|
+
'pt-section-padding-top-2xl pb-section-padding-bottom-2xl'), elementWidth: 'medium', ...props, children: (headline || text) && (_jsx(ContentHeadings, { type: "block", headline: headline, text: text })) }), _jsx(Block, { wrapperBlockProps: { 'data-name': 'ContentBlock-Grid' }, "data-name": "ContentBlock-Children-Width", className: cn(!disableGutters &&
|
|
7
|
+
'pt-section-padding-top-2xl pb-section-padding-bottom-2xl'), ...props, children: children })] }));
|
|
8
|
+
export { ContentBlock };
|
|
9
|
+
//# sourceMappingURL=ContentBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentBlock.js","sourceRoot":"","sources":["../../../../src/web/sections/contentBlock/ContentBlock.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAkB,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAQ7D,MAAM,YAAY,GAAgC,CAAC,EACjD,QAAQ,EACR,cAAc,GAAG,KAAK,EACtB,QAAQ,EACR,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,8BACE,KAAC,KAAK,IACJ,SAAS,EAAE,EAAE,CACX,CAAC,cAAc;gBACb,0DAA0D,CAC7D,EACD,YAAY,EAAE,QAAQ,KAClB,KAAK,YAER,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CACrB,KAAC,eAAe,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAI,CACjE,GACK,EACR,KAAC,KAAK,IACJ,iBAAiB,EAAE,EAAC,WAAW,EAAE,mBAAmB,EAAC,eAC3C,6BAA6B,EACvC,SAAS,EAAE,EAAE,CACX,CAAC,cAAc;gBACb,0DAA0D,CAC7D,KACG,KAAK,YAER,QAAQ,GACH,IACP,CACJ,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/contentBlock/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
export interface ContentGroupProps extends VariantProps<typeof contentGroupVariants>, React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const contentGroupVariants: (props?: ({
|
|
7
|
+
cols?: 2 | 3 | 4 | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
9
|
+
declare const ContentGroup: React.FC<ContentGroupProps>;
|
|
10
|
+
export { ContentGroup };
|
|
11
|
+
//# sourceMappingURL=ContentGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentGroup.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentGroup/ContentGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAM,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEhE,MAAM,WAAW,iBACf,SAAQ,YAAY,CAAC,OAAO,oBAAoB,CAAC,EAC/C,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,oBAAoB;;mFAWxB,CAAC;AAEH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAa7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from '../../../utils';
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
const contentGroupVariants = cva('grid grid-cols-1 gap-6', {
|
|
5
|
+
variants: {
|
|
6
|
+
cols: {
|
|
7
|
+
2: 'lg:grid-cols-2',
|
|
8
|
+
3: 'lg:grid-cols-3',
|
|
9
|
+
4: 'lg:grid-cols-4',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
cols: 4,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
const ContentGroup = ({ children, cols, className, ...props }) => (_jsx("div", { "data-name": `ContentGroup-${cols}-cols`, className: cn(contentGroupVariants({ cols }), className), ...props, children: children }));
|
|
17
|
+
export { ContentGroup };
|
|
18
|
+
//# sourceMappingURL=ContentGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentGroup.js","sourceRoot":"","sources":["../../../../src/web/sections/contentGroup/ContentGroup.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,GAAG,EAAoB,MAAM,0BAA0B,CAAC;AAQhE,MAAM,oBAAoB,GAAG,GAAG,CAAC,wBAAwB,EAAE;IACzD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,gBAAgB;SACpB;KACF;IACD,eAAe,EAAE;QACf,IAAI,EAAE,CAAC;KACR;CACF,CAAC,CAAC;AAEH,MAAM,YAAY,GAAgC,CAAC,EACjD,QAAQ,EACR,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,2BACa,gBAAgB,IAAI,OAAO,EACtC,SAAS,EAAE,EAAE,CAAC,oBAAoB,CAAC,EAAC,IAAI,EAAC,CAAC,EAAE,SAAS,CAAC,KAClD,KAAK,YAER,QAAQ,GACL,CACP,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/contentGroup/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type ContentAreaProps } from '../../../components';
|
|
3
2
|
import { type SectionWrapperProps } from '../../../components/layout/sectionWrapper';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
copy?: string;
|
|
7
|
-
children?: React.ReactNode;
|
|
3
|
+
import { type ContainerProps } from '../../../components/layout/container';
|
|
4
|
+
export interface ContentSectionProps extends ContainerProps {
|
|
8
5
|
sectionProps?: SectionWrapperProps;
|
|
9
|
-
|
|
6
|
+
headline?: string;
|
|
7
|
+
text?: string;
|
|
10
8
|
}
|
|
11
9
|
declare const ContentSection: React.FC<ContentSectionProps>;
|
|
12
10
|
export { ContentSection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentSection/ContentSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ContentSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/contentSection/ContentSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,sCAAsC,CAAC;AAK9C,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmBjD,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { SectionHeaderWithSubtitle } from '../../../components/typography/sectionHeaderWithSubtitle/SectionHeaderWithSubtitle';
|
|
3
|
-
import { ContentArea } from '../../../components';
|
|
4
2
|
import { SectionWrapper, } from '../../../components/layout/sectionWrapper';
|
|
3
|
+
import { Container, } from '../../../components/layout/container';
|
|
5
4
|
import { cn } from '../../../utils';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
5
|
+
import { Block } from '../../../components';
|
|
6
|
+
import { ContentHeadings } from '../../layout/contentHeadings';
|
|
7
|
+
const ContentSection = ({ children, sectionProps, headline, text, }) => (_jsx(SectionWrapper, { className: cn(sectionProps?.className), ...sectionProps, children: _jsxs(Container, { "data-name": "ContentSection", className: "pt-section-padding-top-2xl pb-section-padding-bottom-vertical", children: [(headline || text) && (_jsx(Block, { elementWidth: 'medium', children: _jsx(ContentHeadings, { type: "section", headline: headline, text: text }) })), children] }) }));
|
|
9
8
|
export { ContentSection };
|
|
10
9
|
//# sourceMappingURL=ContentSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contentSection/ContentSection.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ContentSection.js","sourceRoot":"","sources":["../../../../src/web/sections/contentSection/ContentSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,cAAc,GAEf,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,SAAS,GAEV,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,KAAK,EAAC,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAQ7D,MAAM,cAAc,GAAkC,CAAC,EACrD,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,IAAI,GACL,EAAE,EAAE,CAAC,CACJ,KAAC,cAAc,IAAC,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,YAAY,YACtE,MAAC,SAAS,iBACE,gBAAgB,EAC1B,SAAS,EAAC,+DAA+D,aAExE,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CACrB,KAAC,KAAK,IAAC,YAAY,EAAE,QAAQ,YAC3B,KAAC,eAAe,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAI,GAC5D,CACT,EACA,QAAQ,IACC,GACG,CAClB,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionnaireFormSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/questionnaireFormSection/QuestionnaireFormSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"QuestionnaireFormSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/questionnaireFormSection/QuestionnaireFormSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAGL,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAI7B,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAsBrE,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from '../../../utils';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { Headline, BodyText, } from '../../../components';
|
|
4
|
+
import { ContentBlock } from '../contentBlock';
|
|
5
|
+
import { ContentSection } from '../contentSection';
|
|
6
|
+
const QuestionnaireFormSection = ({ children, header, text, button, buttonClassName, sectionProps, }) => (_jsx(ContentSection, { sectionProps: sectionProps, children: _jsx(ContentBlock, { children: _jsxs("div", { className: cn('flex flex-col gap-y-7 text-draeger-dark-blue'), children: [_jsxs("div", { className: "flex flex-col mb-10 gap-y-4", children: [_jsx(Headline, { headingLevel: "h4", children: header }), text && _jsx(BodyText, { variant: 'small', children: text })] }), children && _jsx("div", { className: "flex flex-col gap-y-11", children: children }), button && (_jsx("div", { className: cn('self-end', buttonClassName), children: button }))] }) }) }));
|
|
5
7
|
export { QuestionnaireFormSection };
|
|
6
8
|
//# sourceMappingURL=QuestionnaireFormSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionnaireFormSection.js","sourceRoot":"","sources":["../../../../src/web/sections/questionnaireFormSection/QuestionnaireFormSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"QuestionnaireFormSection.js","sourceRoot":"","sources":["../../../../src/web/sections/questionnaireFormSection/QuestionnaireFormSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,QAAQ,GAET,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,mBAAmB,CAAC;AAWjD,MAAM,wBAAwB,GAA4C,CAAC,EACzE,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,MAAM,EACN,eAAe,EACf,YAAY,GACb,EAAE,EAAE,CAAC,CACJ,KAAC,cAAc,IAAC,YAAY,EAAE,YAAY,YACxC,KAAC,YAAY,cACX,eAAK,SAAS,EAAE,EAAE,CAAC,8CAA8C,CAAC,aAChE,eAAK,SAAS,EAAC,6BAA6B,aAC1C,KAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,YAAE,MAAM,GAAY,EAC9C,IAAI,IAAI,KAAC,QAAQ,IAAC,OAAO,EAAE,OAAO,YAAG,IAAI,GAAY,IAClD,EACL,QAAQ,IAAI,cAAK,SAAS,EAAC,wBAAwB,YAAE,QAAQ,GAAO,EACpE,MAAM,IAAI,CACT,cAAK,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC,YAAG,MAAM,GAAO,CAChE,IACG,GACO,GACA,CAClB,CAAC;AAEF,OAAO,EAAC,wBAAwB,EAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { type SectionWrapperProps } from '../../../components';
|
|
3
|
-
export interface StageSectionProps {
|
|
3
|
+
export interface StageSectionProps extends React.HTMLAttributes<HTMLElement> {
|
|
4
4
|
image: React.ReactNode;
|
|
5
5
|
button?: React.ReactNode;
|
|
6
6
|
headline: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StageSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"StageSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,qBAAqB,CAAC;AAG7B,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC;IAC1E,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAGD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA6B7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Headline, SectionWrapper, } from '../../../components';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
mx-auto max-w-content-1
|
|
6
|
-
px-3 pt-4 pb-6 md:px-6 md:pt-8 md:pb-10 lg:px-12 lg:pt-9 lg:pb-12
|
|
7
|
-
flex flex-col items-start gap-y-11 md:gap-y-14 lg:gap-y-20 xl:gap-y-16
|
|
8
|
-
`;
|
|
2
|
+
import { Block, Headline, SectionWrapper, } from '../../../components';
|
|
3
|
+
import { Container } from '../../../components/layout/container';
|
|
4
|
+
// TODO adjust the text element layout after the usage of Container/Block is completed for this component
|
|
9
5
|
const StageSection = ({ button, image, headline, headlineColoredPart, sectionProps, }) => {
|
|
10
|
-
return (_jsxs(SectionWrapper, {
|
|
6
|
+
return (_jsxs(SectionWrapper, { ...sectionProps, children: [_jsx("div", { className: "w-full -z-10", children: image }), _jsx(Container, { className: "relative", children: _jsxs(Block, { className: "flex flex-col items-start py-12 gap-y-16 lg:-mt-40 px-block-horizontal-padding", background: 'darkBlue', elementWidth: 'medium', children: [_jsxs(Headline, { headingLevel: "h1", className: "text-draeger-white", children: [headline, headlineColoredPart && (_jsxs("span", { className: 'text-draeger-air-blue', children: ["\u00A0", headlineColoredPart] }))] }), button] }) })] }));
|
|
11
7
|
};
|
|
12
8
|
export { StageSection };
|
|
13
9
|
//# sourceMappingURL=StageSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EACR,cAAc,GAEf,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"StageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,KAAK,EACL,QAAQ,EACR,cAAc,GAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAU/D,yGAAyG;AACzG,MAAM,YAAY,GAAgC,CAAC,EACjD,MAAM,EACN,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,YAAY,GACb,EAAE,EAAE;IACH,OAAO,CACL,MAAC,cAAc,OAAK,YAAY,aAC9B,cAAK,SAAS,EAAC,cAAc,YAAE,KAAK,GAAO,EAC3C,KAAC,SAAS,IAAC,SAAS,EAAC,UAAU,YAC7B,MAAC,KAAK,IACJ,SAAS,EAAC,gFAAgF,EAC1F,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,QAAQ,aAEtB,MAAC,QAAQ,IAAC,YAAY,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,aACvD,QAAQ,EACR,mBAAmB,IAAI,CACtB,gBAAM,SAAS,EAAE,uBAAuB,uBAC/B,mBAAmB,IACrB,CACR,IACQ,EACV,MAAM,IACD,GACE,IACG,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,YAAY,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.1.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"description": "ODX React component library for websites",
|
|
7
7
|
"type": "module",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@headlessui/react": "2.1.2",
|
|
42
42
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
43
|
-
"@radix-ui/react-dialog": "^1.
|
|
43
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
|
44
44
|
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
|
45
45
|
"@radix-ui/react-navigation-menu": "^1.1.4",
|
|
46
46
|
"@radix-ui/react-popover": "^1.0.7",
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
"tsx": "^4.15.6",
|
|
84
84
|
"typescript": "^5.3.2",
|
|
85
85
|
"@odx/eslint-config-websites": "0.0.0",
|
|
86
|
-
"@odx/websites-
|
|
87
|
-
"@odx/websites-
|
|
86
|
+
"@odx/websites-tsconfig": "0.0.0",
|
|
87
|
+
"@odx/websites-ui": "0.1.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@odx/websites-ui": ">=0.0
|
|
90
|
+
"@odx/websites-ui": ">=0.1.0",
|
|
91
91
|
"react": "^18.2.0",
|
|
92
92
|
"react-dom": "^18.2.0",
|
|
93
93
|
"tailwindcss": "^3.3.5"
|