@odx/websites-react 1.2.28 → 1.2.29

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ShoutOutSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/shoutOutSection/ShoutOutSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAQ,KAAK,UAAU,EAAC,MAAM,wCAAwC,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAa,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAM,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEhE,QAAA,MAAM,uBAAuB;;8EAU3B,CAAC;AAEH,MAAM,WAAW,oBACf,SACE,YAAY,CAAC,OAAO,uBAAuB,CAAC,EAC5C,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;IACjE,wBAAwB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;CACvE;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkEnD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
1
+ {"version":3,"file":"ShoutOutSection.d.ts","sourceRoot":"","sources":["../../../../src/web/sections/shoutOutSection/ShoutOutSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAQ,KAAK,UAAU,EAAC,MAAM,wCAAwC,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAa,MAAM,oCAAoC,CAAC;AAE/E,OAAO,EAAM,KAAK,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEhE,QAAA,MAAM,uBAAuB;;8EAU3B,CAAC;AAEH,MAAM,WAAW,oBACf,SACE,YAAY,CAAC,OAAO,uBAAuB,CAAC,EAC5C,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;IACjE,wBAAwB,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;CACvE;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA6DnD,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Container } from '../../../components/layout/container';
3
2
  import { BlockChildrenWidthContainer, BlockGrid, } from '../../../components/layout/block';
4
3
  import { Headline, } from '../../../components/typography/headline';
5
4
  import { Image } from '../../../components/images-icons/image';
@@ -19,7 +18,7 @@ const shoutOutSectionVariants = cva('rounded-md', {
19
18
  },
20
19
  });
21
20
  const ShoutOutSection = ({ background, imageProps, headline, headlineActAs, copytext, firstLinkButtonProps, secondaryLinkButtonProps, ...props }) => {
22
- return (_jsx(Container, { children: _jsx(BlockGrid, { children: _jsx(BlockChildrenWidthContainer, { children: _jsxs("div", { className: cn(shoutOutSectionVariants({ background }), props.className), ...props, children: [_jsx(Image, { ...imageProps, className: cn('aspect-3/2 lg:aspect-16/6 p-6 pb-0', imageProps.className) }), _jsxs("div", { className: "flex flex-col gap-6 p-8 lg:p-12", children: [_jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(Headline, { textColor: 'inherit', headingLevel: 'h3', spacingBottom: false, actAs: headlineActAs, children: headline }), _jsx(SlimRichText, { textColor: 'inherit', text: copytext, bottomSpacing: false })] }), _jsxs("div", { className: "flex flex-col gap-4 lg:flex-row", children: [firstLinkButtonProps && (_jsx(LinkButton, { variant: 'secondary', theme: background === 'primary' ? 'dark' : undefined, ...firstLinkButtonProps })), secondaryLinkButtonProps && (_jsx(LinkButton, { variant: 'ghost', theme: background === 'primary' ? 'dark' : undefined, ...secondaryLinkButtonProps }))] })] })] }) }) }) }));
21
+ return (_jsx(BlockGrid, { children: _jsx(BlockChildrenWidthContainer, { children: _jsxs("div", { className: cn(shoutOutSectionVariants({ background }), props.className), ...props, children: [_jsx(Image, { ...imageProps, className: cn('aspect-3/2 lg:aspect-16/6 p-6 pb-0', imageProps.className) }), _jsxs("div", { className: "flex flex-col gap-6 p-8 lg:p-12", children: [_jsxs("div", { className: "flex flex-col gap-4", children: [_jsx(Headline, { textColor: 'inherit', headingLevel: 'h3', spacingBottom: false, actAs: headlineActAs, children: headline }), _jsx(SlimRichText, { textColor: 'inherit', text: copytext, bottomSpacing: false })] }), _jsxs("div", { className: "flex flex-col gap-4 lg:flex-row", children: [firstLinkButtonProps && (_jsx(LinkButton, { variant: 'secondary', theme: background === 'primary' ? 'dark' : undefined, ...firstLinkButtonProps })), secondaryLinkButtonProps && (_jsx(LinkButton, { variant: 'ghost', theme: background === 'primary' ? 'dark' : undefined, ...secondaryLinkButtonProps }))] })] })] }) }) }));
23
22
  };
24
23
  export { ShoutOutSection };
25
24
  //# sourceMappingURL=ShoutOutSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShoutOutSection.js","sourceRoot":"","sources":["../../../../src/web/sections/shout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I,EAClB,aAAa,EAAE,KAAK,EACpB,KAAK,EAAE,aAAa,YAEnB,QAAQ,GACA,EACX,KAAC,YAAY,IACX,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,QAAQ,EACd,aAAa,EAAE,KAAK,GACpB,IACE,EACN,eAAK,SAAS,EAAC,iCAAiC,aAC7C,oBAAoB,IAAI,CACvB,KAAC,UAAU,IACT,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,KAChD,oBAAoB,GACxB,CACH,EACA,wBAAwB,IAAI,CAC3B,KAAC,UAAU,IACT,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,KAChD,wBAAwB,GAC5B,CACH,IACG,IACF,IACF,GACsB,GACpB,GACF,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,eAAe,EAAC,CAAC"}
1
+ {"version":3,"file":"ShoutOutSection.js","sourceRoot":"","sources":["../../../../src/web/sections/shoutOutSection/ShoutOutSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,2BAA2B,EAC3B,SAAS,GACV,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,QAAQ,GAET,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAC,KAAK,EAAkB,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAkB,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAC,GAAG,EAAoB,MAAM,0BAA0B,CAAC;AAEhE,MAAM,uBAAuB,GAAG,GAAG,CAAC,YAAY,EAAE;IAChD,QAAQ,EAAE;QACR,UAAU,EAAE;YACV,OAAO,EAAE,qCAAqC;YAC9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CAAC;AAEF,OAAO,EAAC,eAAe,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": "1.2.28",
4
+ "version": "1.2.29",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "description": "ODX React component library for websites",
7
7
  "type": "module",
@@ -565,9 +565,9 @@
565
565
  "ts-node": "^10.9.2",
566
566
  "typescript": "^5.4.5",
567
567
  "vitest": "^3.1.0-beta.1",
568
- "@odx/eslint-config-websites": "0.0.1",
569
568
  "@odx/websites-tsconfig": "0.0.0",
570
- "@odx/websites-ui": "0.2.41"
569
+ "@odx/websites-ui": "0.2.41",
570
+ "@odx/eslint-config-websites": "0.0.1"
571
571
  },
572
572
  "peerDependencies": {
573
573
  "@odx/websites-ui": ">=0.2.1",