@odx/websites-react 1.0.39 → 1.0.41

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.
Files changed (78) hide show
  1. package/dist/components/actions/dropdown/Dropdown.d.ts.map +1 -1
  2. package/dist/components/actions/dropdown/Dropdown.js +1 -1
  3. package/dist/components/actions/dropdown/Dropdown.js.map +1 -1
  4. package/dist/components/images-icons/image/Image.d.ts +5 -1
  5. package/dist/components/images-icons/image/Image.d.ts.map +1 -1
  6. package/dist/components/images-icons/image/Image.js +7 -5
  7. package/dist/components/images-icons/image/Image.js.map +1 -1
  8. package/dist/components/images-icons/video/Video.d.ts +2 -1
  9. package/dist/components/images-icons/video/Video.d.ts.map +1 -1
  10. package/dist/components/images-icons/video/Video.js +3 -2
  11. package/dist/components/images-icons/video/Video.js.map +1 -1
  12. package/dist/components/layout/block/Block.d.ts +12 -9
  13. package/dist/components/layout/block/Block.d.ts.map +1 -1
  14. package/dist/components/layout/block/Block.js +19 -9
  15. package/dist/components/layout/block/Block.js.map +1 -1
  16. package/dist/components/layout/calloutMedia/CalloutMedia.d.ts +2 -1
  17. package/dist/components/layout/calloutMedia/CalloutMedia.d.ts.map +1 -1
  18. package/dist/components/layout/calloutMedia/CalloutMedia.js +4 -3
  19. package/dist/components/layout/calloutMedia/CalloutMedia.js.map +1 -1
  20. package/dist/components/layout/calloutQuote/CalloutQuote.d.ts.map +1 -1
  21. package/dist/components/layout/calloutQuote/CalloutQuote.js +3 -3
  22. package/dist/components/layout/calloutQuote/CalloutQuote.js.map +1 -1
  23. package/dist/components/layout/card/Card.d.ts +2 -1
  24. package/dist/components/layout/card/Card.d.ts.map +1 -1
  25. package/dist/components/layout/card/Card.js +5 -4
  26. package/dist/components/layout/card/Card.js.map +1 -1
  27. package/dist/components/layout/contentItem/ContentItem.d.ts +6 -0
  28. package/dist/components/layout/contentItem/ContentItem.d.ts.map +1 -1
  29. package/dist/components/layout/contentItem/ContentItem.js +9 -2
  30. package/dist/components/layout/contentItem/ContentItem.js.map +1 -1
  31. package/dist/components/layout/downloadItem/DownloadItem.d.ts +2 -1
  32. package/dist/components/layout/downloadItem/DownloadItem.d.ts.map +1 -1
  33. package/dist/components/layout/downloadItem/DownloadItem.js +2 -1
  34. package/dist/components/layout/downloadItem/DownloadItem.js.map +1 -1
  35. package/dist/components/layout/mediaGallery/MediaGallery.d.ts +6 -1
  36. package/dist/components/layout/mediaGallery/MediaGallery.d.ts.map +1 -1
  37. package/dist/components/layout/mediaGallery/MediaGallery.js +8 -1
  38. package/dist/components/layout/mediaGallery/MediaGallery.js.map +1 -1
  39. package/dist/components/layout/modal/Modal.d.ts.map +1 -1
  40. package/dist/components/layout/modal/Modal.js +2 -1
  41. package/dist/components/layout/modal/Modal.js.map +1 -1
  42. package/dist/components/layout/structuredList/StructuredListItem.d.ts +2 -1
  43. package/dist/components/layout/structuredList/StructuredListItem.d.ts.map +1 -1
  44. package/dist/components/layout/structuredList/StructuredListItem.js +2 -1
  45. package/dist/components/layout/structuredList/StructuredListItem.js.map +1 -1
  46. package/dist/components/navigation/anchorNav/AnchorNav.d.ts.map +1 -1
  47. package/dist/components/navigation/anchorNav/AnchorNav.js +2 -2
  48. package/dist/components/navigation/anchorNav/AnchorNav.js.map +1 -1
  49. package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  50. package/dist/components/navigation/breadcrumbs/Breadcrumbs.js +2 -2
  51. package/dist/components/navigation/breadcrumbs/Breadcrumbs.js.map +1 -1
  52. package/dist/components/navigation/flyout/Flyout.d.ts.map +1 -1
  53. package/dist/components/navigation/flyout/Flyout.js +9 -9
  54. package/dist/components/navigation/flyout/Flyout.js.map +1 -1
  55. package/dist/components/navigation/footer/Footer.d.ts.map +1 -1
  56. package/dist/components/navigation/footer/Footer.js +2 -2
  57. package/dist/components/navigation/footer/Footer.js.map +1 -1
  58. package/dist/components/navigation/header/AnimatedHeader.js +2 -2
  59. package/dist/components/navigation/header/AnimatedHeader.js.map +1 -1
  60. package/dist/components/navigation/header/Header.d.ts.map +1 -1
  61. package/dist/components/navigation/header/Header.js +2 -2
  62. package/dist/components/navigation/header/Header.js.map +1 -1
  63. package/dist/web/sections/calloutContact/CalloutContact.d.ts +4 -0
  64. package/dist/web/sections/calloutContact/CalloutContact.d.ts.map +1 -1
  65. package/dist/web/sections/calloutContact/CalloutContact.js +7 -3
  66. package/dist/web/sections/calloutContact/CalloutContact.js.map +1 -1
  67. package/dist/web/sections/contentBlock/ContentBlock.d.ts +2 -2
  68. package/dist/web/sections/contentBlock/ContentBlock.d.ts.map +1 -1
  69. package/dist/web/sections/contentBlock/ContentBlock.js +3 -3
  70. package/dist/web/sections/contentBlock/ContentBlock.js.map +1 -1
  71. package/dist/web/sections/contentSection/ContentSection.d.ts.map +1 -1
  72. package/dist/web/sections/contentSection/ContentSection.js +2 -2
  73. package/dist/web/sections/contentSection/ContentSection.js.map +1 -1
  74. package/dist/web/sections/stageSection/StageSection.d.ts +2 -2
  75. package/dist/web/sections/stageSection/StageSection.d.ts.map +1 -1
  76. package/dist/web/sections/stageSection/StageSection.js +3 -3
  77. package/dist/web/sections/stageSection/StageSection.js.map +1 -1
  78. package/package.json +2 -1
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
- import { type BlockProps } from '../../../components/layout/block';
2
+ import { type BlockGridProps } from '../../../components/layout/block';
3
3
  import { HeadlineProps } from '../../../components';
4
- export interface ContentBlockProps extends BlockProps {
4
+ export interface ContentBlockProps extends BlockGridProps {
5
5
  headline?: string;
6
6
  text?: string;
7
7
  headlineActAs?: HeadlineProps['actAs'];
@@ -1 +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;AAExE,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,UAAU;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4B7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
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,EAGL,KAAK,cAAc,EACpB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAElD,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiC7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
@@ -1,6 +1,6 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Block } from '../../../components/layout/block';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BlockGrid, BlockChildrenWidthContainer, } from '../../../components/layout/block';
3
3
  import { ContentHeadings } from '../../layout/contentHeadings';
4
- const ContentBlock = ({ children, headline, text, headlineActAs, ...props }) => (_jsxs(_Fragment, { children: [(headline || text) && (_jsx(Block, { elementWidth: 'medium', ...props, children: _jsx(ContentHeadings, { type: "block", headline: headline, text: text, headlineActAs: headlineActAs }) })), children && (_jsx(Block, { wrapperBlockProps: { 'data-name': 'ContentBlock-Grid' }, "data-name": "ContentBlock-Children-Width", ...props, children: children }))] }));
4
+ const ContentBlock = ({ children, headline, text, headlineActAs, ...props }) => (_jsxs(BlockGrid, { ...props, "data-name": "ContentBlock-Grid", className: "pb-9", paddingBottom: 'none', children: [(headline || text) && (_jsx(BlockChildrenWidthContainer, { paddingBottom: 'none', elementWidth: 'narrow', "data-name": "ContentBlock-Children-Width", children: _jsx(ContentHeadings, { type: "block", headline: headline, text: text, headlineActAs: headlineActAs }) })), children && (_jsx(BlockChildrenWidthContainer, { "data-name": "ContentBlock-Children-Width", children: children }))] }));
5
5
  export { ContentBlock };
6
6
  //# sourceMappingURL=ContentBlock.js.map
@@ -1 +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,8BAA8B,CAAC;AAS7D,MAAM,YAAY,GAAgC,CAAC,EACjD,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,8BACG,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CACrB,KAAC,KAAK,IAAC,YAAY,EAAE,QAAQ,KAAM,KAAK,YACtC,KAAC,eAAe,IACd,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,GAC5B,GACI,CACT,EACA,QAAQ,IAAI,CACX,KAAC,KAAK,IACJ,iBAAiB,EAAE,EAAC,WAAW,EAAE,mBAAmB,EAAC,eAC3C,6BAA6B,KACnC,KAAK,YAER,QAAQ,GACH,CACT,IACA,CACJ,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
1
+ {"version":3,"file":"ContentBlock.js","sourceRoot":"","sources":["../../../../src/web/sections/contentBlock/ContentBlock.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,SAAS,EACT,2BAA2B,GAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAS7D,MAAM,YAAY,GAAgC,CAAC,EACjD,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,EAAE,CAAC,CACJ,MAAC,SAAS,OACJ,KAAK,eACC,mBAAmB,EAC7B,SAAS,EAAC,MAAM,EAChB,aAAa,EAAE,MAAM,aAEpB,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,CACrB,KAAC,2BAA2B,IAC1B,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,QAAQ,eACZ,6BAA6B,YAEvC,KAAC,eAAe,IACd,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,GAC5B,GAC0B,CAC/B,EACA,QAAQ,IAAI,CACX,KAAC,2BAA2B,iBAAW,6BAA6B,YACjE,QAAQ,GACmB,CAC/B,IACS,CACb,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
@@ -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;AAC/B,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAQ,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAGzD,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4BjD,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,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;AAE9C,OAAO,EAGL,aAAa,EACd,MAAM,qBAAqB,CAAC;AAG7B,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiCjD,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
@@ -2,13 +2,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { SectionWrapper, } from '../../../components/layout/sectionWrapper';
3
3
  import { Container, } from '../../../components/layout/container';
4
4
  import { cn } from '../../../utils';
5
- import { Block } from '../../../components';
5
+ import { BlockGrid, BlockChildrenWidthContainer, } from '../../../components';
6
6
  import { ContentHeadings } from '../../layout/contentHeadings';
7
7
  const ContentSection = ({ children, sectionProps, headline, text, headlineActAs, paddingTop, }) => {
8
8
  const hasTitle = Boolean(headline || text);
9
9
  if (!hasTitle && !children)
10
10
  return;
11
- return (_jsx(SectionWrapper, { className: cn(sectionProps?.className), ...sectionProps, children: _jsxs(Container, { "data-name": "ContentSection", paddingTop: paddingTop, children: [hasTitle && (_jsx(Block, { elementWidth: 'medium', children: _jsx(ContentHeadings, { type: "section", headline: headline, text: text, headlineActAs: headlineActAs }) })), children] }) }));
11
+ return (_jsx(SectionWrapper, { className: cn(sectionProps?.className), ...sectionProps, children: _jsxs(Container, { "data-name": "ContentSection", paddingTop: paddingTop, children: [hasTitle && (_jsx(BlockGrid, { children: _jsx(BlockChildrenWidthContainer, { elementWidth: 'narrow', paddingBottom: 'none', children: _jsx(ContentHeadings, { type: "section", headline: headline, text: text, headlineActAs: headlineActAs }) }) })), children] }) }));
12
12
  };
13
13
  export { ContentSection };
14
14
  //# sourceMappingURL=ContentSection.js.map
@@ -1 +1 @@
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,EAAgB,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAW7D,MAAM,cAAc,GAAkC,CAAC,EACrD,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,UAAU,GACX,EAAE,EAAE;IACH,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC;IAC3C,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ;QAAE,OAAO;IAEnC,OAAO,CACL,KAAC,cAAc,IAAC,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,YAAY,YACtE,MAAC,SAAS,iBAAW,gBAAgB,EAAC,UAAU,EAAE,UAAU,aACzD,QAAQ,IAAI,CACX,KAAC,KAAK,IAAC,YAAY,EAAE,QAAQ,YAC3B,KAAC,eAAe,IACd,IAAI,EAAC,SAAS,EACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,GAC5B,GACI,CACT,EACA,QAAQ,IACC,GACG,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
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,EACL,SAAS,EACT,2BAA2B,GAE5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAW7D,MAAM,cAAc,GAAkC,CAAC,EACrD,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,UAAU,GACX,EAAE,EAAE;IACH,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC;IAC3C,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ;QAAE,OAAO;IAEnC,OAAO,CACL,KAAC,cAAc,IAAC,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,YAAY,YACtE,MAAC,SAAS,iBAAW,gBAAgB,EAAC,UAAU,EAAE,UAAU,aACzD,QAAQ,IAAI,CACX,KAAC,SAAS,cACR,KAAC,2BAA2B,IAC1B,YAAY,EAAE,QAAQ,EACtB,aAAa,EAAE,MAAM,YAErB,KAAC,eAAe,IACd,IAAI,EAAC,SAAS,EACd,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,GAC5B,GAC0B,GACpB,CACb,EACA,QAAQ,IACC,GACG,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,cAAc,EAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { HeadlineProps } from '../../../components';
2
+ import { HeadlineProps, type ImageProps } from '../../../components';
3
3
  import { VariantProps } from 'class-variance-authority';
4
4
  interface StageHeadlineBoxProps extends VariantProps<typeof stageHeadlineBoxVariants> {
5
5
  button?: React.ReactNode;
@@ -8,7 +8,7 @@ interface StageHeadlineBoxProps extends VariantProps<typeof stageHeadlineBoxVari
8
8
  headlineActAs?: HeadlineProps['actAs'];
9
9
  }
10
10
  export interface StageSectionProps extends React.HTMLAttributes<HTMLElement>, Omit<StageHeadlineBoxProps, 'color'> {
11
- image?: React.ReactNode;
11
+ image?: ImageProps;
12
12
  }
13
13
  declare const stageHeadlineBoxVariants: (props?: ({
14
14
  variant?: "primary" | "secondary" | null | undefined;
@@ -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,EAAkB,aAAa,EAAC,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAM,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAE3D,UAAU,qBACR,SAAQ,YAAY,CAAC,OAAO,wBAAwB,CAAC;IACrD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACvC,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB;AAED,QAAA,MAAM,wBAAwB;;mFAa7B,CAAC;AAuCF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA2C7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
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,aAAa,EAEb,KAAK,UAAU,EAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAM,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAE3D,UAAU,qBACR,SAAQ,YAAY,CAAC,OAAO,wBAAwB,CAAC;IACrD,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,iBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EACvC,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACtC,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB;AAED,QAAA,MAAM,wBAAwB;;mFAa7B,CAAC;AAyCF,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA+C7C,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Block, Headline } from '../../../components';
2
+ import { BlockGrid, BlockChildrenWidthContainer, Headline, Image, } from '../../../components';
3
3
  import { cva } from 'class-variance-authority';
4
4
  const stageHeadlineBoxVariants = cva('flex flex-col items-start p-8 pt-6 gap-y-16', {
5
5
  variants: {
@@ -15,7 +15,7 @@ const stageHeadlineBoxVariants = cva('flex flex-col items-start p-8 pt-6 gap-y-1
15
15
  const StageHeadlineBox = ({ headline, headlineColoredPart, headlineActAs, button, variant, }) => {
16
16
  const hasHeadline = headline || headlineColoredPart;
17
17
  const headlineElement = hasHeadline && (_jsxs(Headline, { headingLevel: "h1", actAs: headlineActAs, className: "text-text-invert", children: [_jsx("span", { className: variant === 'primary' ? 'text-text-invert' : 'text-text-primary', children: headline }), headlineColoredPart && (_jsxs("span", { className: 'text-text-accent', children: ["\u00A0", headlineColoredPart] }))] }));
18
- return (_jsx(Block, { elementWidth: 'large', paddingBottom: 'none', className: "!px-0", children: _jsxs("div", { className: stageHeadlineBoxVariants({ variant }), children: [headlineElement, button] }) }));
18
+ return (_jsx(BlockGrid, { paddingBottom: 'none', children: _jsx(BlockChildrenWidthContainer, { className: "!px-0", paddingBottom: 'none', children: _jsxs("div", { className: stageHeadlineBoxVariants({ variant }), children: [headlineElement, button] }) }) }));
19
19
  };
20
20
  const StageSection = ({ button, image, headline, headlineColoredPart, headlineActAs, }) => {
21
21
  const hasHeadline = headline || headlineColoredPart;
@@ -24,7 +24,7 @@ const StageSection = ({ button, image, headline, headlineColoredPart, headlineAc
24
24
  return;
25
25
  if (!image && hasHeadline)
26
26
  return (_jsx("section", { className: "flex flex-col items-center w-full bg-surface-secondary", children: _jsx("div", { className: "py-32", children: _jsx(StageHeadlineBox, { variant: 'secondary', button: button, headline: headline, headlineActAs: headlineActAs, headlineColoredPart: headlineColoredPart }) }) }));
27
- return (_jsxs("section", { children: [image && _jsx("div", { className: "w-full", children: image }), hasHeadline && (_jsx("div", { className: "relative flex flex-col items-center w-full 2xl:px-6 lg:-mt-40", children: _jsx(StageHeadlineBox, { variant: 'primary', button: button, headline: headline, headlineActAs: headlineActAs, headlineColoredPart: headlineColoredPart }) }))] }));
27
+ return (_jsxs("section", { children: [image && (_jsx("div", { className: "relative aspect-4/3 lg:aspect-16/6", children: _jsx(Image, { className: "w-full", ratio: "16/6", ...image }) })), hasHeadline && (_jsx("div", { className: "relative flex flex-col items-center w-full 2xl:px-6 lg:-mt-40", children: _jsx(StageHeadlineBox, { variant: 'primary', button: button, headline: headline, headlineActAs: headlineActAs, headlineColoredPart: headlineColoredPart }) }))] }));
28
28
  };
29
29
  export { StageSection };
30
30
  //# sourceMappingURL=StageSection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAC,GAAG,EAAe,MAAM,0BAA0B,CAAC;AAgB3D,MAAM,wBAAwB,GAAG,GAAG,CAClC,6CAA6C,EAC7C;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,kBAAkB;YAC3B,SAAS,EAAE,sBAAsB;SAClC;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAoC,CAAC,EACzD,QAAQ,EACR,mBAAmB,EACnB,aAAa,EACb,MAAM,EACN,OAAO,GACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,mBAAmB,CAAC;IACpD,MAAM,eAAe,GAAG,WAAW,IAAI,CACrC,MAAC,QAAQ,IACP,YAAY,EAAC,IAAI,EACjB,KAAK,EAAE,aAAa,EACpB,SAAS,EAAC,kBAAkB,aAE5B,eACE,SAAS,EACP,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,mBAAmB,YAGjE,QAAQ,GACJ,EACN,mBAAmB,IAAI,CACtB,gBAAM,SAAS,EAAE,kBAAkB,uBAAS,mBAAmB,IAAQ,CACxE,IACQ,CACZ,CAAC;IAEF,OAAO,CACL,KAAC,KAAK,IAAC,YAAY,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,SAAS,EAAC,OAAO,YACpE,eAAK,SAAS,EAAE,wBAAwB,CAAC,EAAC,OAAO,EAAC,CAAC,aAChD,eAAe,EACf,MAAM,IACH,GACA,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAgC,CAAC,EACjD,MAAM,EACN,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,aAAa,GACd,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,mBAAmB,CAAC;IACpD,MAAM,UAAU,GAAG,OAAO,CAAC,KAAK,IAAI,WAAW,CAAC,CAAC;IACjD,IAAI,CAAC,UAAU;QAAE,OAAO;IAExB,IAAI,CAAC,KAAK,IAAI,WAAW;QACvB,OAAO,CACL,kBAAS,SAAS,EAAC,wDAAwD,YACzE,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,gBAAgB,IACf,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,GACxC,GACE,GACE,CACX,CAAC;IAEJ,OAAO,CACL,8BACG,KAAK,IAAI,cAAK,SAAS,EAAC,QAAQ,YAAE,KAAK,GAAO,EAE9C,WAAW,IAAI,CACd,cAAK,SAAS,EAAC,+DAA+D,YAC5E,KAAC,gBAAgB,IACf,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,GACxC,GACE,CACP,IACO,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAC,YAAY,EAAC,CAAC"}
1
+ {"version":3,"file":"StageSection.js","sourceRoot":"","sources":["../../../../src/web/sections/stageSection/StageSection.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,SAAS,EACT,2BAA2B,EAC3B,QAAQ,EAER,KAAK,GAEN,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAC,GAAG,EAAe,MAAM,0BAA0B,CAAC;AAgB3D,MAAM,wBAAwB,GAAG,GAAG,CAClC,6CAA6C,EAC7C;IACE,QAAQ,EAAE;QACR,OAAO,EAAE;YACP,OAAO,EAAE,kBAAkB;YAC3B,SAAS,EAAE,sBAAsB;SAClC;KACF;IACD,eAAe,EAAE;QACf,OAAO,EAAE,SAAS;KACnB;CACF,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAoC,CAAC,EACzD,QAAQ,EACR,mBAAmB,EACnB,aAAa,EACb,MAAM,EACN,OAAO,GACR,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,mBAAmB,CAAC;IACpD,MAAM,eAAe,GAAG,WAAW,IAAI,CACrC,MAAC,QAAQ,IACP,YAAY,EAAC,IAAI,EACjB,KAAK,EAAE,aAAa,EACpB,SAAS,EAAC,kBAAkB,aAE5B,eACE,SAAS,EACP,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,mBAAmB,YAGjE,QAAQ,GACJ,EACN,mBAAmB,IAAI,CACtB,gBAAM,SAAS,EAAE,kBAAkB,uBAAS,mBAAmB,IAAQ,CACxE,IACQ,CACZ,CAAC;IAEF,OAAO,CACL,KAAC,SAAS,IAAC,aAAa,EAAE,MAAM,YAC9B,KAAC,2BAA2B,IAAC,SAAS,EAAC,OAAO,EAAC,aAAa,EAAE,MAAM,YAClE,eAAK,SAAS,EAAE,wBAAwB,CAAC,EAAC,OAAO,EAAC,CAAC,aAChD,eAAe,EACf,MAAM,IACH,GACsB,GACpB,CACb,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,YAAY,GAAgC,CAAC,EACjD,MAAM,EACN,KAAK,EACL,QAAQ,EACR,mBAAmB,EACnB,aAAa,GACd,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,QAAQ,IAAI,mBAAmB,CAAC;IACpD,MAAM,UAAU,GAAG,OAAO,CAAC,KAAK,IAAI,WAAW,CAAC,CAAC;IACjD,IAAI,CAAC,UAAU;QAAE,OAAO;IAExB,IAAI,CAAC,KAAK,IAAI,WAAW;QACvB,OAAO,CACL,kBAAS,SAAS,EAAC,wDAAwD,YACzE,cAAK,SAAS,EAAC,OAAO,YACpB,KAAC,gBAAgB,IACf,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,GACxC,GACE,GACE,CACX,CAAC;IAEJ,OAAO,CACL,8BACG,KAAK,IAAI,CACR,cAAK,SAAS,EAAC,oCAAoC,YACjD,KAAC,KAAK,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAC,MAAM,KAAK,KAAK,GAAI,GAChD,CACP,EAEA,WAAW,IAAI,CACd,cAAK,SAAS,EAAC,+DAA+D,YAC5E,KAAC,gBAAgB,IACf,OAAO,EAAE,SAAS,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,aAAa,EAAE,aAAa,EAC5B,mBAAmB,EAAE,mBAAmB,GACxC,GACE,CACP,IACO,CACX,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": "1.0.39",
4
+ "version": "1.0.41",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "description": "ODX React component library for websites",
7
7
  "type": "module",
@@ -70,6 +70,7 @@
70
70
  "cheerio": "1.0.0",
71
71
  "clean-package": "^2.2.0",
72
72
  "eslint": "^9.15.0",
73
+ "eslint-plugin-prettier": "^5.2.1",
73
74
  "jest": "^29.7.0",
74
75
  "jest-environment-jsdom": "^29.7.0",
75
76
  "react": "^18.2.0",