@odx/websites-react 1.1.61 → 1.1.62
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/card/Card.js +1 -1
- package/dist/components/layout/structuredList/StructuredListItem.d.ts.map +1 -1
- package/dist/components/layout/structuredList/StructuredListItem.js +5 -1
- package/dist/components/layout/structuredList/StructuredListItem.js.map +1 -1
- package/dist/components/navigation/footer/Footer.js +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import { SlimRichText } from '../text';
|
|
|
6
6
|
import { Image } from '../../images-icons/image';
|
|
7
7
|
import { BodyText } from '../../typography/bodyText';
|
|
8
8
|
const CardSubInfo = ({ text, className, ...props }) => text && (_jsx(BodyText, { className: cn('text-draeger-cool-gray-750', className), ...props, children: text }));
|
|
9
|
-
const CardHeadline = ({ children, ...props }) => (_jsx(Headline, { textColor: "inherit", headingLevel: "
|
|
9
|
+
const CardHeadline = ({ children, ...props }) => (_jsx(Headline, { textColor: "inherit", headingLevel: "h4", ...props, children: children }));
|
|
10
10
|
const CardBodyText = ({ text, ...props }) => (_jsx(SlimRichText, { text: text, textColor: "inherit", ...props }));
|
|
11
11
|
const CardContent = ({ children, ...props }) => (_jsx("div", { ...props, children: children }));
|
|
12
12
|
const CardAction = ({ className, children, align = 'stretch', ...props }) => children && (_jsx("div", { className: cn('flex flex-col w-full', align === 'stretch' ? 'items-stretch' : 'items-center', className), ...props, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/structuredList/StructuredListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAK,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAW,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAGlE,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;A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AAC,EAAE,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAClC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyEzD,CAAC;AAEF,OAAO,EAAC,kBAAkB,EAAE,+BAA+B,EAAC,CAAC"}
|
|
@@ -4,7 +4,11 @@ import { Headline } from '../../typography/headline';
|
|
|
4
4
|
import { SlimRichText } from '../text';
|
|
5
5
|
import { BodyText } from '../../typography/bodyText';
|
|
6
6
|
import { Image } from '../../images-icons/image';
|
|
7
|
-
const StructuredListItemHeadline = ({ tag, headline, className, hasLink, }) =>
|
|
7
|
+
const StructuredListItemHeadline = ({ tag, headline, className, hasLink, }) => {
|
|
8
|
+
if (!headline && !tag)
|
|
9
|
+
return;
|
|
10
|
+
return (_jsxs("div", { className: "flex flex-wrap items-center self-stretch justify-between gap-x-4", children: [headline && (_jsx(Headline, { className: cn(hasLink && 'group-focus:underline group-hover:underline', className), textColor: 'accent', headingLevel: 'h4', spacingBottom: false, children: _jsx("span", { dangerouslySetInnerHTML: { __html: headline } }) })), tag && _jsx("div", { className: "pt-1", children: tag })] }));
|
|
11
|
+
};
|
|
8
12
|
const StructuredListItemActionElement = ({ className, children, ...props }) => children && (_jsx("div", { className: cn('flex flex-col justify-center self-end md:self-stretch shrink-0', className), ...props, children: children }));
|
|
9
13
|
const StructuredListItemImageContainer = ({ className, children, ...props }) => (_jsx("div", { className: cn('pt-1.5 shrink-0 w-full md:w-[11.5625rem] flex justify-center relative aspect-4/3', className), ...props, children: children }));
|
|
10
14
|
const StructuredListItem = ({ className, headline, image, imageIcon, description, actionElement, actionBottomElement, checkboxElement, tag, details, LinkComponent, ...props }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StructuredListItem.js","sourceRoot":"","sources":["../../../../src/components/layout/structuredList/StructuredListItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAgB,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAC,KAAK,EAAkB,MAAM,0BAA0B,CAAC;AAQhE,MAAM,0BAA0B,GAA8C,CAAC,EAC7E,GAAG,EACH,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"StructuredListItem.js","sourceRoot":"","sources":["../../../../src/components/layout/structuredList/StructuredListItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,EAAE,EAAgB,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,QAAQ,EAAgB,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;AAEnD,OAAO,EAAC,KAAK,EAAkB,MAAM,0BAA0B,CAAC;AAQhE,MAAM,0BAA0B,GAA8C,CAAC,EAC7E,GAAG,EACH,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,EAAE;IACH,IAAI,CAAC,QAAQ,IAAI,CAAC,GAAG;QAAE,OAAO;IAE9B,OAAO,CACL,eAAK,SAAS,EAAC,kEAAkE,aAC9E,QAAQ,IAAI,CACX,KAAC,QAAQ,IACP,SAAS,EAAE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AK,EAAE,GAAG,IAAI,CACb,KAAC,gCAAgC,cAC/B,KAAC,KAAK,OAAK,KAAK,EAAE,KAAK,EAAC,KAAK,GAAG,GACC,CACpC,EAEA,SAAS,IAAI,CACZ,KAAC,gCAAgC,cAC9B,SAAS,GACuB,CACpC,EAEA,eAAe,IAAI,CAClB,KAAC,+BAA+B,IAAC,SAAS,EAAC,2BAA2B,YACnE,eAAe,GACgB,CACnC,EAED,eAAK,SAAS,EAAC,4DAA4D,aACzE,eAAK,SAAS,EAAC,sCAAsC,aACnD,KAAC,0BAA0B,IACzB,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,EAC5B,QAAQ,EAAE,QAAQ,EAClB,GAAG,EAAE,GAAG,GACR,EACF,KAAC,YAAY,IAAC,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,GAAI,EACxD,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,IAAI,CACxC,KAAC,QAAQ,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,kBACvD,cAAK,SAAS,EAAC,qCAAqC,YACjD,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,yBAAoB,MAAM,IAAf,MAAM,CAAiB,CAAC,GACvD,GACG,CACZ,EACD,KAAC,+BAA+B,IAAC,SAAS,EAAC,MAAM,YAC9C,mBAAmB,GACY,IAC9B,EACL,aAAa,IAAI,CAChB,KAAC,+BAA+B,IAAC,SAAS,EAAC,SAAS,YACjD,aAAa,GACkB,CACnC,IACG,IACD,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,kBAAkB,EAAE,+BAA+B,EAAC,CAAC"}
|
|
@@ -25,7 +25,7 @@ export const FooterColumn = ({ children, columnHeadlineLink, }) => {
|
|
|
25
25
|
return;
|
|
26
26
|
return (_jsxs("div", { "data-name": "wrapper-links", className: "hidden md:flex flex-col gap-2 text-text-invert tracking-[0.16px]", children: [columnHeadlineLink, _jsx(BodyText, { variant: 'small', textColor: "white", children: _jsx("ul", { className: "flex flex-col gap-y-1.5", children: children }) })] }));
|
|
27
27
|
};
|
|
28
|
-
export const FooterLogoColumn = ({ contactButtonLinkProps, claim, }) => (_jsxs("div", { "data-name": "logo-column", className: "flex flex-col gap-10 xl:gap-logo-column", children: [_jsxs("div", { className: "flex gap-x-8", children: [_jsx(Logo, { fillColor: 'white', className: "pl-1.5 pt-1", svgClassName: "w-[7.75rem] h-[2.9375rem]" }), claim && (_jsx("span", { className: "w-[
|
|
28
|
+
export const FooterLogoColumn = ({ contactButtonLinkProps, claim, }) => (_jsxs("div", { "data-name": "logo-column", className: "flex flex-col gap-10 xl:gap-logo-column", children: [_jsxs("div", { className: "flex gap-x-8", children: [_jsx(Logo, { fillColor: 'white', className: "pl-1.5 pt-1", svgClassName: "w-[7.75rem] h-[2.9375rem]" }), claim && (_jsx("span", { className: "w-[122px] text-[21px] leading-[116%] tracking-[0.42px] weight-[500]", children: claim }))] }), contactButtonLinkProps && (_jsx(LinkButton, { className: "self-start", variant: 'secondary', theme: "dark", ...contactButtonLinkProps }))] }));
|
|
29
29
|
export const FooterBottomSocialMediaLinks = ({ socialMediaIcons, lanuageButton }) => {
|
|
30
30
|
if (!socialMediaIcons || socialMediaIcons.length === 0)
|
|
31
31
|
return;
|
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.1.
|
|
4
|
+
"version": "1.1.62",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"description": "ODX React component library for websites",
|
|
7
7
|
"type": "module",
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
"vitest": "^3.1.0-beta.1",
|
|
531
531
|
"@odx/eslint-config-websites": "0.0.1",
|
|
532
532
|
"@odx/websites-tsconfig": "0.0.0",
|
|
533
|
-
"@odx/websites-ui": "0.2.
|
|
533
|
+
"@odx/websites-ui": "0.2.31"
|
|
534
534
|
},
|
|
535
535
|
"peerDependencies": {
|
|
536
536
|
"@odx/websites-ui": ">=0.2.1",
|