@odx/websites-react 1.2.29 → 1.2.30
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/layout/accordion/Accordion.js +1 -1
- package/dist/components/layout/accordion/Accordion.js.map +1 -1
- package/dist/web/contact/ContactDetails.d.ts +22 -0
- package/dist/web/contact/ContactDetails.d.ts.map +1 -0
- package/dist/web/contact/ContactDetails.js +22 -0
- package/dist/web/contact/ContactDetails.js.map +1 -0
- package/dist/web/contact/index.d.ts +2 -0
- package/dist/web/contact/index.d.ts.map +1 -0
- package/dist/web/contact/index.js +2 -0
- package/dist/web/contact/index.js.map +1 -0
- package/dist/web/sections/calloutContact/CalloutContact.d.ts +11 -24
- package/dist/web/sections/calloutContact/CalloutContact.d.ts.map +1 -1
- package/dist/web/sections/calloutContact/CalloutContact.js +11 -17
- package/dist/web/sections/calloutContact/CalloutContact.js.map +1 -1
- package/dist/web/sections/calloutContact/ContactClientComponents.d.ts +12 -0
- package/dist/web/sections/calloutContact/ContactClientComponents.d.ts.map +1 -0
- package/dist/web/sections/calloutContact/ContactClientComponents.js +13 -0
- package/dist/web/sections/calloutContact/ContactClientComponents.js.map +1 -0
- package/dist/web/sections/calloutContact/index.d.ts +1 -0
- package/dist/web/sections/calloutContact/index.d.ts.map +1 -1
- package/dist/web/sections/calloutContact/index.js +1 -0
- package/dist/web/sections/calloutContact/index.js.map +1 -1
- package/package.json +6 -2
|
@@ -59,7 +59,7 @@ const AccordionContent = ({ children, withSpacing = true, className, }) => {
|
|
|
59
59
|
const sanitizedValue = sanitizeHtmlId(value);
|
|
60
60
|
const panelId = `panel_${sanitizedValue}`;
|
|
61
61
|
const triggerId = `trigger_${sanitizedValue}`;
|
|
62
|
-
return (_jsx("div", { className: cn('transition-all duration-300 ease-in-out', withSpacing && 'px-6', isExpanded ? 'opacity-100 pb-6' : 'opacity-0'), role: "region", id: panelId, "aria-labelledby": triggerId, ...(isExpanded ? {} : { inert: false, 'aria-hidden': true }), children: _jsx("div", { className: cn('overflow-hidden duration-300 ease-in-out transition-[height]'), style: { height: isExpanded ? `${contentHeight}px` : '0' }, children: _jsx("div", { ref: ref, "aria-hidden": !isExpanded, className: cn(fullWidth ? 'w-full' : 'md:max-w-[70%]'), children: _jsx("div", { className: cn(withSpacing && '
|
|
62
|
+
return (_jsx("div", { className: cn('transition-all duration-300 ease-in-out', withSpacing && 'px-6', isExpanded ? 'opacity-100 pb-6' : 'opacity-0'), role: "region", id: panelId, "aria-labelledby": triggerId, ...(isExpanded ? {} : { inert: false, 'aria-hidden': true }), children: _jsx("div", { className: cn('overflow-hidden duration-300 ease-in-out transition-[height]'), style: { height: isExpanded ? `${contentHeight}px` : '0' }, children: _jsx("div", { ref: ref, "aria-hidden": !isExpanded, className: cn(fullWidth ? 'w-full' : 'md:max-w-[70%]'), children: _jsx("div", { className: cn(withSpacing && 'pt-2', className), children: children }) }) }) }));
|
|
63
63
|
};
|
|
64
64
|
export { Accordion, AccordionItem, AccordionContent, AccordionItemToggle };
|
|
65
65
|
//# sourceMappingURL=Accordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../src/components/layout/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AACb,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,EAAE,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAC,GAAG,EAAC,MAAM,0BAA0B,CAAC;AAC7C,OAAO,EAAC,cAAc,EAAC,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,uBAAuB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAC,mBAAmB,EAAC,MAAM,YAAY,CAAC;AAkC/C,MAAM,SAAS,GAA6B,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a,EAAE,gBAAgB,EAAE,mBAAmB,EAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { LinkComponent } from '../../utils';
|
|
2
|
+
import { type LinkProps } from '../../components/actions/link';
|
|
3
|
+
export interface ContactColumnProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const ContactColumn: React.FC<ContactColumnProps>;
|
|
6
|
+
export declare const ContactInfoText: ({ text }: {
|
|
7
|
+
text?: string | undefined;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export interface ContactInfoLinkProps extends LinkComponent, LinkProps {
|
|
10
|
+
label?: string;
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const ContactInfoLink: React.FC<ContactInfoLinkProps>;
|
|
14
|
+
export declare const ContactInfoTextGroup: React.FC<React.PropsWithChildren>;
|
|
15
|
+
export interface ContactDetailsProps {
|
|
16
|
+
headline?: string;
|
|
17
|
+
phoneNumber?: string;
|
|
18
|
+
text01?: string;
|
|
19
|
+
text02?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const ContactDetails: React.FC<ContactDetailsProps>;
|
|
22
|
+
//# sourceMappingURL=ContactDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactDetails.d.ts","sourceRoot":"","sources":["../../../src/web/contact/ContactDetails.tsx"],"names":[],"mappings":"AACA,OAAO,EAAK,aAAa,EAAC,MAAM,aAAa,CAAC;AAG9C,OAAO,EAAO,KAAK,SAAS,EAAC,MAAM,+BAA+B,CAAC;AAEnE,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;CAAG;AAEnF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAYtD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI;;CAAW,4CAE1C,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,aAAa,EAAE,SAAS;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAcxD,CAAC;AAEJ,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAER,CAAC;AAE5D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA0BxD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { BodyText } from '../../components/typography/bodyText';
|
|
3
|
+
import { cn } from '../../utils';
|
|
4
|
+
import { IconCorePhone, IconPropsWrapper } from '../../components/icon';
|
|
5
|
+
import { SlimRichText } from '../../components/layout/text';
|
|
6
|
+
import { Link } from '../../components/actions/link';
|
|
7
|
+
export const ContactColumn = ({ children, className, ...props }) => {
|
|
8
|
+
if (!children)
|
|
9
|
+
return;
|
|
10
|
+
return (_jsx("div", { className: cn('flex flex-col gap-6', className), ...props, children: children }));
|
|
11
|
+
};
|
|
12
|
+
export const ContactInfoText = ({ text = '' }) => (_jsx(SlimRichText, { variant: 'small', text: text, bottomSpacing: false }));
|
|
13
|
+
export const ContactInfoLink = ({ label = '', icon, LinkComponent = 'a', ...props }) => label && (_jsxs("div", { className: "flex self-start max-w-full gap-2", children: [icon && _jsx(IconPropsWrapper, { color: 'primary', children: icon }), _jsx(Link, { size: 'small', LinkComponent: LinkComponent, ...props, children: label })] }));
|
|
14
|
+
export const ContactInfoTextGroup = ({ children, }) => _jsx("div", { className: "flex flex-col gap-1", children: children });
|
|
15
|
+
export const ContactDetails = ({ headline, phoneNumber, text01, text02, }) => {
|
|
16
|
+
const hasContent = headline || phoneNumber || text01 || text02;
|
|
17
|
+
if (!hasContent)
|
|
18
|
+
return;
|
|
19
|
+
const phoneNumberHref = phoneNumber && `${/^tel:/i.test(phoneNumber) ? '' : 'tel:'}${phoneNumber}`;
|
|
20
|
+
return (_jsxs(_Fragment, { children: [_jsx(BodyText, { weight: 'bold', children: headline }), _jsx(ContactInfoText, { text: text01 }), phoneNumber && (_jsx(ContactInfoLink, { href: phoneNumberHref, label: phoneNumber, icon: _jsx(IconCorePhone, {}) })), _jsx(ContactInfoText, { text: text02 })] }));
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ContactDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactDetails.js","sourceRoot":"","sources":["../../../src/web/contact/ContactDetails.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,sCAAsC,CAAC;AAC9D,OAAO,EAAC,EAAE,EAAgB,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAC,aAAa,EAAE,gBAAgB,EAAC,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,IAAI,EAAiB,MAAM,+BAA+B,CAAC;AAInE,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAC1D,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,EAAE;IACH,IAAI,CAAC,QAAQ;QAAE,OAAO;IAEtB,OAAO,CACL,cAAK,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,KAAM,KAAK,YAC5D,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,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ACrB,KAAK,EAAE,WAAW,EAClB,IAAI,EAAE,KAAC,aAAa,KAAG,GACvB,CACH,EACD,KAAC,eAAe,IAAC,IAAI,EAAE,MAAM,GAAI,IAChC,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/web/contact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/web/contact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -2,19 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { HeadlineProps } from '../../../components/typography/headline';
|
|
3
3
|
import { type ImageProps } from '../../../components/images-icons/image';
|
|
4
4
|
import { type SectionWrapperProps } from '../../../components/layout/sectionWrapper';
|
|
5
|
-
import { type
|
|
6
|
-
import {
|
|
7
|
-
export interface ContactColumnProps {
|
|
8
|
-
headline?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
isCalloutColumn?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface CalloutContactColumnProps extends ContactColumnProps {
|
|
14
|
-
phoneNumber?: string;
|
|
15
|
-
text01?: string;
|
|
16
|
-
text02?: string;
|
|
17
|
-
}
|
|
5
|
+
import { type DataTrackingAttributes } from '../../../utils';
|
|
6
|
+
import { type ContactDetailsProps } from '../../contact/ContactDetails';
|
|
18
7
|
export interface CalloutContactProps extends DataTrackingAttributes {
|
|
19
8
|
title?: string;
|
|
20
9
|
children?: React.ReactNode;
|
|
@@ -22,18 +11,16 @@ export interface CalloutContactProps extends DataTrackingAttributes {
|
|
|
22
11
|
showMoreSlot?: React.ReactNode;
|
|
23
12
|
headlineActAs?: HeadlineProps['actAs'];
|
|
24
13
|
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export declare const ContactInfoTextGroup: React.FC<React.PropsWithChildren>;
|
|
30
|
-
export interface ContactInfoLinkProps extends LinkComponent, LinkProps {
|
|
31
|
-
label?: string;
|
|
32
|
-
icon?: React.ReactNode;
|
|
14
|
+
export interface CalloutContactImageProps {
|
|
15
|
+
imageProps?: Omit<ImageProps, 'ratio'>;
|
|
16
|
+
description?: string;
|
|
33
17
|
}
|
|
34
|
-
export declare const ContactInfoLink: React.FC<ContactInfoLinkProps>;
|
|
35
|
-
export declare const ContactColumn: React.FC<ContactColumnProps>;
|
|
36
|
-
export declare const CalloutContactColumn: React.FC<CalloutContactColumnProps>;
|
|
37
18
|
export declare const CalloutContact: React.FC<CalloutContactProps>;
|
|
38
19
|
export declare const CalloutContactImage: React.FC<CalloutContactImageProps>;
|
|
20
|
+
interface CalloutContactAccordionContentGroupProps extends React.PropsWithChildren {
|
|
21
|
+
headline: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const CalloutContactAccordionContentGroup: React.FC<CalloutContactAccordionContentGroupProps>;
|
|
24
|
+
export declare const CalloutContactDetail: React.FC<ContactDetailsProps>;
|
|
25
|
+
export {};
|
|
39
26
|
//# sourceMappingURL=CalloutContact.d.ts.map
|
|
@@ -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;AAC/B,OAAO,EAAW,aAAa,EAAC,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAQ,KAAK,UAAU,EAAC,MAAM,wCAAwC,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;AAC/B,OAAO,EAAW,aAAa,EAAC,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAQ,KAAK,UAAU,EAAC,MAAM,wCAAwC,CAAC;AAO9E,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,2CAA2C,CAAC;AAGnD,OAAO,EAAK,KAAK,sBAAsB,EAAC,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,WAAW,mBAAoB,SAAQ,sBAAsB;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,IAAI,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,wBAAwB;IACvC,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmCxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAkBlE,CAAC;AAEF,UAAU,wCACR,SAAQ,KAAK,CAAC,iBAAiB;IAC/B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mCAAmC,EAAE,KAAK,CAAC,EAAE,CACxD,wCAAwC,CAQzC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAM9D,CAAC"}
|
|
@@ -3,29 +3,23 @@ import { Headline } from '../../../components/typography/headline';
|
|
|
3
3
|
import { Image } from '../../../components/images-icons/image';
|
|
4
4
|
import { BlockGrid, BlockChildrenWidthContainer, } from '../../../components/layout/block';
|
|
5
5
|
import { Container } from '../../../components/layout/container';
|
|
6
|
-
import { BodyText } from '../../../components/typography/bodyText';
|
|
7
6
|
import { SlimRichText } from '../../../components/layout/text';
|
|
8
7
|
import { SectionWrapper, } from '../../../components/layout/sectionWrapper';
|
|
9
|
-
import { Link } from '../../../components/actions/link';
|
|
10
|
-
import { IconCorePhone } from '../../../components/icon';
|
|
11
8
|
import { Grid } from '../../../components/layout/grid';
|
|
12
9
|
import { cn } from '../../../utils';
|
|
13
|
-
import {
|
|
14
|
-
export const ContactInfoText = ({ text = '' }) => (_jsx(SlimRichText, { variant: 'small', text: text, bottomSpacing: false }));
|
|
15
|
-
export const ContactInfoTextGroup = ({ children, }) => _jsx("div", { className: "flex flex-col gap-1", children: children });
|
|
16
|
-
export const ContactInfoLink = ({ label = '', icon, LinkComponent = 'a', ...props }) => label && (_jsxs("div", { className: "flex self-start max-w-full gap-2", children: [icon && _jsx(IconPropsWrapper, { color: 'primary', children: icon }), _jsx(Link, { size: 'small', LinkComponent: LinkComponent, ...props, children: label })] }));
|
|
17
|
-
const contactColumnClasses = 'flex flex-col gap-3';
|
|
18
|
-
export const ContactColumn = ({ children, className, isCalloutColumn = true, }) => {
|
|
19
|
-
if (!children)
|
|
20
|
-
return;
|
|
21
|
-
const columnClassName = cn(contactColumnClasses, className);
|
|
22
|
-
return isCalloutColumn ? (_jsx(Grid, { item: true, sm: 12, lg: 6, xl: 4, itemClassName: columnClassName, children: children })) : (_jsx("div", { className: cn(columnClassName, 'gap-6'), children: children }));
|
|
23
|
-
};
|
|
24
|
-
export const CalloutContactColumn = ({ headline, phoneNumber, text01, text02, }) => (headline || phoneNumber || text01 || text02) && (_jsxs(ContactColumn, { children: [_jsx(BodyText, { weight: 'bold', children: headline }), _jsx(ContactInfoText, { text: text01 }), phoneNumber && (_jsx(ContactInfoLink, { href: `tel:${phoneNumber.replace(/\s/g, '')}`, label: phoneNumber, icon: _jsx(IconCorePhone, {}) })), _jsx(ContactInfoText, { text: text02 })] }));
|
|
10
|
+
import { ContactDetails, } from '../../contact/ContactDetails';
|
|
25
11
|
export const CalloutContact = ({ title, children, sectionProps, showMoreSlot, headlineActAs, ...props }) => {
|
|
26
12
|
return (_jsx(SectionWrapper, { ...sectionProps, ...props, background: "paleBlue", children: _jsxs(Container, { spacingBreaker: true, paddingBottom: 'default', paddingTop: 'default', children: [_jsx(BlockGrid, { children: _jsxs(BlockChildrenWidthContainer, { paddingBottom: 'none', children: [title && (_jsx(Headline, { headingLevel: "h2", underlined: true, actAs: headlineActAs, children: title })), _jsx(Grid, { container: true, containerClassName: "gap-y-10 md:gap-y-9", children: children })] }) }), _jsx(BlockGrid, { paddingBottom: 'none', children: _jsx(BlockChildrenWidthContainer, { paddingBottom: 'none', children: showMoreSlot }) })] }) }));
|
|
27
13
|
};
|
|
28
|
-
export const CalloutContactImage = ({
|
|
29
|
-
|
|
14
|
+
export const CalloutContactImage = ({ imageProps, description, }) => {
|
|
15
|
+
if (!description && !imageProps)
|
|
16
|
+
return;
|
|
17
|
+
return (_jsxs(Grid, { item: true, sm: 12, md: 12, lg: 12, xl: 4, children: [_jsx(SlimRichText, { text: description }), imageProps && (_jsx(Image, { className: cn('lg:w-1/2 xl:w-auto', imageProps.className), ...imageProps, ratio: '16/9' }))] }));
|
|
18
|
+
};
|
|
19
|
+
export const CalloutContactAccordionContentGroup = ({ children, headline }) => {
|
|
20
|
+
return (_jsxs("div", { children: [headline && _jsx(Headline, { headingLevel: "h4", children: headline }), _jsx(Grid, { container: true, children: children })] }));
|
|
21
|
+
};
|
|
22
|
+
export const CalloutContactDetail = props => {
|
|
23
|
+
return (_jsx(Grid, { item: true, sm: 12, md: 12, lg: 6, itemClassName: 'flex flex-col gap-3', children: _jsx(ContactDetails, { ...props }) }));
|
|
30
24
|
};
|
|
31
25
|
//# 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,QAAQ,EAAgB,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAC,KAAK,EAAkB,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EACL,SAAS,EACT,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"CalloutContact.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/CalloutContact.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,QAAQ,EAAgB,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAC,KAAK,EAAkB,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EACL,SAAS,EACT,2BAA2B,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EACL,cAAc,GAEf,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAC,IAAI,EAAC,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAC,EAAE,EAA8B,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EACL,cAAc,GAEf,MAAM,8BAA8B,CAAC;AAetC,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,EAC5D,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,cAAc,OAAK,YAAY,KAAM,KAAK,EAAE,UAAU,EAAC,UAAU,YAChE,MAAC,SAAS,IACR,cAAc,QACd,aAAa,EAAE,SAAS,EACxB,UAAU,EAAE,SAAS,aAErB,KAAC,SAAS,cACR,MAAC,2BAA2B,IAAC,aAAa,EAAE,MAAM,aAC/C,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QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,aAAa,EAAE,qBAAqB,YACpE,KAAC,cAAc,OAAK,KAAK,GAAI,GACxB,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type AccordionProps } from '../../../components/layout/accordion';
|
|
2
|
+
interface CalloutContactAccordionContainerProps extends React.PropsWithChildren {
|
|
3
|
+
accordionProps?: Omit<AccordionProps, 'fullWidth' | 'size'>;
|
|
4
|
+
fullWidth: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const CalloutContactAccordionContainer: React.FC<CalloutContactAccordionContainerProps>;
|
|
7
|
+
interface CalloutContactAccordionContentProps extends React.PropsWithChildren {
|
|
8
|
+
headline: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare const CalloutContactAccordionContent: React.FC<CalloutContactAccordionContentProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ContactClientComponents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactClientComponents.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/ContactClientComponents.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,sCAAsC,CAAC;AAI9C,UAAU,qCACR,SAAQ,KAAK,CAAC,iBAAiB;IAC/B,cAAc,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;IAC5D,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CACrD,qCAAqC,CAStC,CAAC;AAEF,UAAU,mCAAoC,SAAQ,KAAK,CAAC,iBAAiB;IAC3E,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAGD,eAAO,MAAM,8BAA8B,EAAE,KAAK,CAAC,EAAE,CACnD,mCAAmC,CAmBpC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionItemToggle, } from '../../../components/layout/accordion';
|
|
4
|
+
import { Grid } from '../../../components/layout/grid';
|
|
5
|
+
import { cn } from '../../../utils';
|
|
6
|
+
export const CalloutContactAccordionContainer = ({ children, accordionProps, fullWidth = true }) => {
|
|
7
|
+
return (_jsx(Grid, { item: true, sm: 12, xl: fullWidth ? 12 : 8, children: _jsx(Accordion, { fullWidth: true, size: "lg", ...accordionProps, children: children }) }));
|
|
8
|
+
};
|
|
9
|
+
const calloutContactAccordionContentClasses = 'flex flex-col gap-12';
|
|
10
|
+
export const CalloutContactAccordionContent = ({ children, headline }) => {
|
|
11
|
+
return headline ? (_jsxs(AccordionItem, { value: headline, children: [_jsx(AccordionItemToggle, { headline: headline }), _jsx(AccordionContent, { className: calloutContactAccordionContentClasses, children: children })] })) : (_jsx("div", { className: cn(calloutContactAccordionContentClasses, ' only:px-0 only:pt-0 only:pb-0 pb-8 px-6 pt-2'), children: children }));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=ContactClientComponents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactClientComponents.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/ContactClientComponents.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,mBAAmB,GAEpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,iCAAiC,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAQlC,MAAM,CAAC,MAAM,gCAAgC,GAEzC,CAAC,EAAC,QAAQ,EAAE,cAAc,EAAE,SAAS,GAAG,IAAI,EAAC,EAAE,EAAE;IACnD,OAAO,CACL,KAAC,IAAI,IAAC,IAAI,QAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,YACvC,KAAC,SAAS,IAAC,SAAS,QAAC,IAAI,EAAC,IAAI,KAAK,cAAc,YAC9C,QAAQ,GACC,GACP,CACR,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,qCAAqC,GAAG,sBAAsB,CAAC;AACrE,MAAM,CAAC,MAAM,8BAA8B,GAEvC,CAAC,EAAC,QAAQ,EAAE,QAAQ,EAAC,EAAE,EAAE;IAC3B,OAAO,QAAQ,CAAC,CAAC,CAAC,CAChB,MAAC,aAAa,IAAC,KAAK,EAAE,QAAQ,aAC5B,KAAC,mBAAmB,IAAC,QAAQ,EAAE,QAAQ,GAAI,EAC3C,KAAC,gBAAgB,IAAC,SAAS,EAAE,qCAAqC,YAC/D,QAAQ,GACQ,IACL,CACjB,CAAC,CAAC,CAAC,CACF,cACE,SAAS,EAAE,EAAE,CACX,qCAAqC,EACrC,+CAA+C,CAChD,YAEA,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/web/sections/calloutContact/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,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": "1.2.
|
|
4
|
+
"version": "1.2.30",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"description": "ODX React component library for websites",
|
|
7
7
|
"type": "module",
|
|
@@ -131,7 +131,8 @@
|
|
|
131
131
|
"./components/navigation/searchModal": "./dist/components/navigation/searchModal/index.js",
|
|
132
132
|
"./web/genAI/chat": "./dist/web/genAI/chat/index.js",
|
|
133
133
|
"./web/genAI/source": "./dist/web/genAI/source/index.js",
|
|
134
|
-
"./components/navigation/searchButton": "./dist/components/navigation/searchButton/index.js"
|
|
134
|
+
"./components/navigation/searchButton": "./dist/components/navigation/searchButton/index.js",
|
|
135
|
+
"./web/contact": "./dist/web/contact/index.js"
|
|
135
136
|
},
|
|
136
137
|
"typesVersions": {
|
|
137
138
|
"*": {
|
|
@@ -506,6 +507,9 @@
|
|
|
506
507
|
],
|
|
507
508
|
"components/navigation/searchButton": [
|
|
508
509
|
"./dist/components/navigation/searchButton/index.d.ts"
|
|
510
|
+
],
|
|
511
|
+
"web/contact": [
|
|
512
|
+
"./dist/web/contact/index.d.ts"
|
|
509
513
|
]
|
|
510
514
|
}
|
|
511
515
|
},
|