@vodafone_de/brix-components 7.1.8 → 7.1.9
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/{BorderRadius-ClUShVLu.js → BorderRadius-2LdggXbQ.js} +2 -2
- package/dist/{HeadingSize-CqqUYZWV.js → HeadingSize-CfCRn3Lh.js} +2 -2
- package/dist/{TableHead-C2zQ4jce.js → TableHead-Cfn2iQRg.js} +5 -28
- package/dist/{TableWrapper-C8SpplcL.js → TableWrapper-BrnjxwJz.js} +1 -1
- package/dist/breakpoint-CzBSbbY7.js +9 -0
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/AccordionGroup/index.js +1 -1
- package/dist/components/ArtDirectedImage/index.d.ts +5 -0
- package/dist/components/ArtDirectedImage/index.js +44 -0
- package/dist/components/ArtDirectedImage/props.d.ts +18 -0
- package/dist/components/ArtDirectedImage/styled.d.ts +2 -0
- package/dist/components/Badge/index.js +3 -3
- package/dist/components/Body/index.js +1 -1
- package/dist/components/BottomBar/index.js +3 -3
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +2 -2
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Carousel/index.js +6 -6
- package/dist/components/Checkbox/index.js +3 -3
- package/dist/components/CheckboxGroup/index.js +2 -2
- package/dist/components/Collapsible/index.js +1 -1
- package/dist/components/ColorSwatch/index.js +2 -2
- package/dist/components/ColorSwatchGroup/index.js +3 -3
- package/dist/components/ConsentMessage/index.js +4 -4
- package/dist/components/Container/index.js +2 -2
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/DemoBox/index.js +2 -8
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/DiscoveryCard/index.js +11 -11
- package/dist/components/DiscoveryCard/styled.d.ts +1 -1
- package/dist/components/DiscoveryCardGroup/index.js +1 -1
- package/dist/components/Divider/index.js +1 -1
- package/dist/components/Fieldset/index.js +1 -1
- package/dist/components/FilterGroup/index.js +3 -3
- package/dist/components/Flex/index.js +2 -2
- package/dist/components/FlexItem/index.js +1 -1
- package/dist/components/FootnoteContent/index.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/FormElement/index.js +1 -1
- package/dist/components/FormHelperStatusIcon/index.js +1 -1
- package/dist/components/GoogleMap/index.js +3 -3
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/GridItem/index.js +1 -1
- package/dist/components/Heading/index.js +3 -3
- package/dist/components/HifiIcon/index.js +1 -1
- package/dist/components/IconButton/index.js +4 -4
- package/dist/components/IconSnippet/index.js +3 -3
- package/dist/components/Image/index.js +47 -39
- package/dist/components/Image/props.d.ts +35 -32
- package/dist/components/Image/styled.d.ts +1 -1
- package/dist/components/ImageHeader/index.js +7 -7
- package/dist/components/ImageHeader/props.d.ts +1 -1
- package/dist/components/ImageHeader/styled.d.ts +1 -1
- package/dist/components/InfoBanner/index.js +3 -3
- package/dist/components/InlineIcon/index.js +1 -1
- package/dist/components/InlineLink/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Legend/index.js +1 -1
- package/dist/components/Link/index.js +2 -2
- package/dist/components/LinkAsButton/index.js +1 -1
- package/dist/components/LinkList/index.js +1 -1
- package/dist/components/LinkListItem/index.js +4 -4
- package/dist/components/LoadingSpinner/index.js +1 -1
- package/dist/components/LocalStyle/index.js +2 -2
- package/dist/components/MediaText/index.js +7 -7
- package/dist/components/Notification/index.js +4 -4
- package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
- package/dist/components/Overlay/index.js +1 -1
- package/dist/components/PickerGroup/index.js +5 -5
- package/dist/components/Price/index.js +1 -1
- package/dist/components/ProductCard/index.js +4 -4
- package/dist/components/QuickLinkList/index.js +4 -4
- package/dist/components/RadioGroup/index.js +2 -2
- package/dist/components/Rating/index.js +2 -2
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichtTextContentful/index.js +2 -2
- package/dist/components/ScreenreaderOnly/index.js +1 -1
- package/dist/components/SearchInput/index.js +4 -4
- package/dist/components/SelectInput/index.js +3 -3
- package/dist/components/Stepper/index.js +4 -3
- package/dist/components/SuggestInput/index.js +4 -5
- package/dist/components/Switch/index.js +3 -3
- package/dist/components/TabGroup/index.js +3 -3
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Table/styled.d.ts +0 -2
- package/dist/components/TabularPrice/index.js +1 -1
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Textarea/index.js +3 -3
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/Tray/index.js +3 -3
- package/dist/components/YoutubeVideo/index.js +1 -1
- package/dist/contentful/index.js +10 -10
- package/dist/contentful/live-preview-inspector/index.js +1 -1
- package/dist/contentful/live-preview-renderer/index.js +1 -1
- package/dist/contentful/renderer/index.js +1 -1
- package/dist/{cssVars-CR3xqdPx.js → cssVars-_wntC-Ac.js} +2 -2
- package/dist/filterProps-CPul3CC8.js +17 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/foundations/media-query/viewport/index.js +24 -4
- package/dist/hooks/useImageComponent/index.d.ts +28 -0
- package/dist/hooks/useImageComponent/index.js +17 -0
- package/dist/hooks/usePictureComponent/index.d.ts +25 -0
- package/dist/hooks/usePictureComponent/index.js +27 -0
- package/dist/hooks/useViewport/index.js +2 -2
- package/dist/{index-CHzok6W_.js → index-BPweURE-.js} +4 -4
- package/dist/{index-G2mpsxF7.js → index-DKCzYjXw.js} +1 -1
- package/dist/{index-DLvMM1Dq.js → index-Vub90geg.js} +1 -1
- package/dist/{index-CifS-Z_9.js → index-rbdl_kyF.js} +4 -4
- package/dist/{index-ByPSWRQ0.js → index-tpq3BGwZ.js} +3 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +159 -152
- package/dist/{mapContentToComponents-DLxIwtHo.js → mapContentToComponents-bL4ms1AC.js} +10 -10
- package/dist/{styled-BBO2jrba.js → styled-13a_Vk0D.js} +2 -2
- package/dist/{styled-DGMsuBML.js → styled-BKmRVjNA.js} +1 -1
- package/dist/{styled-BKWEE3dx.js → styled-B_ihuvyB.js} +1 -1
- package/dist/{styled-BXtzJJFu.js → styled-C6Wms75x.js} +1 -1
- package/dist/{styled-BBG87P4U.js → styled-CKK_LUlC.js} +4 -4
- package/dist/{styled-CE_Y6O4R.js → styled-CQLDmqmZ.js} +2 -2
- package/dist/{styled-BQGCfF-s.js → styled-CWusLu5R.js} +2 -2
- package/dist/{styled-Dmb8-99g.js → styled-Csv7V9ez.js} +1 -1
- package/dist/{styled-Cz2kpbgE.js → styled-D57p2ktn.js} +4 -4
- package/dist/{styled-Dr-tPBqx.js → styled-DCLv3G2j.js} +1 -1
- package/dist/{styled-O5mL4jlL.js → styled-DG6HSLPJ.js} +1 -1
- package/dist/{styled-B1bxWqtW.js → styled-DUsRG1Xh.js} +1 -1
- package/dist/{styled-Du4LgXoA.js → styled-D_F38PuI.js} +2 -2
- package/dist/{styled-Dgv3RBlg.js → styled-Dk6VS_Sg.js} +3 -3
- package/dist/{styled-BYYivuzh.js → styled-DoOOutJj.js} +1 -1
- package/dist/{styled-VuUKI7PE.js → styled-QLVvcMdB.js} +1 -1
- package/package.json +1 -1
- package/dist/components/ResponsiveImage/index.d.ts +0 -5
- package/dist/components/ResponsiveImage/index.js +0 -89
- package/dist/components/ResponsiveImage/props.d.ts +0 -16
- package/dist/components/ResponsiveImage/styled.d.ts +0 -4
- package/dist/filterProps-BWnAPYBL.js +0 -17
- package/dist/index-Ck2bCrhT.js +0 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import { useContentfulLiveUpdates, ContentfulLivePreviewProvider } from "@contentful/live-preview/react";
|
|
4
|
-
import { m as mapContentToComponents } from "../../mapContentToComponents-
|
|
4
|
+
import { m as mapContentToComponents } from "../../mapContentToComponents-bL4ms1AC.js";
|
|
5
5
|
const BrixLiveRendererComponents = ({
|
|
6
6
|
data
|
|
7
7
|
}) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
3
3
|
import LivePreviewRenderer from "../live-preview-renderer/index.js";
|
|
4
|
-
import { m as mapContentToComponents } from "../../mapContentToComponents-
|
|
4
|
+
import { m as mapContentToComponents } from "../../mapContentToComponents-bL4ms1AC.js";
|
|
5
5
|
const Renderer = ({
|
|
6
6
|
content,
|
|
7
7
|
isDraftMode
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css } from "styled-components";
|
|
2
|
-
import { l as loadingSpinnerOverlayCssVar, j as loadingSpinnerOverlays } from "./styled-
|
|
3
|
-
import {
|
|
2
|
+
import { l as loadingSpinnerOverlayCssVar, j as loadingSpinnerOverlays } from "./styled-D_F38PuI.js";
|
|
3
|
+
import { b as breakpoint_medium, a as breakpoint_large } from "./breakpoint-CzBSbbY7.js";
|
|
4
4
|
const colorVodafoneRed = "colorVodafoneRed";
|
|
5
5
|
const colorVodafoneRedTint = "colorVodafoneRedTint";
|
|
6
6
|
const colorRed = "colorRed";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const propsNotPassToDomDefault = ["accordionType", "activeId", "activeIndex", "aspectRatio", "setActiveId", "align", "animated", "appearance", "aspectRatio", "autoLayout", "apiKey", "badge", "borderBottom", "bottomSpacing", "buttonLink", "buttons", "coloringMode", "colorSwatch", "component", "contentGridDesktopColumns", "corners", "coversFullPage", "description", "elevation", "expanded", "filterItems", "footnote", "gapSpacing", "grow", "handleOnClick", "handleOnToogle", "hasOverlay", "heading", "heightSm", "heightMd", "heightLg", "horizontalAlignment", "icon", "iconAlign", "iconName", "iconPosition", "image", "images", "internal", "isActive", "isChecked", "isDisabled", "isFullscreen", "isInHoverRange", "isLastItemInList", "isOpen", "isOrdered", "isSelected", "isTransparentBackground", "items", "jumpToClickedItem", "justify", "justifyHorizontal", "label", "lg", "loadingSpinnerChild", "mapId", "md", "message", "more", "needsBorder", "nextAriaLabel", "notificationType", "objectFit", "objectPosition", "offset", "onUpdate", "openMultiple", "orientation", "padding", "prefix", "prefixWeight", "prevAriaLabel", "price", "productId", "promoPrice", "screenReaderInstruction", "showList", "size", "sm", "sources", "spacing", "spinnerType", "status", "stretch", "strikePrice", "suffix", "tag", "textContent", "uid", "variant", "verticalPadding", "viewportHeight", "weight", "width"];
|
|
2
|
+
const filterProps = (propsNotPassToDom = []) => {
|
|
3
|
+
const shouldForwardProp = (prop) => {
|
|
4
|
+
if ("string" !== typeof prop) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
return ![...propsNotPassToDom, ...propsNotPassToDomDefault].includes(prop);
|
|
8
|
+
};
|
|
9
|
+
return shouldForwardProp;
|
|
10
|
+
};
|
|
11
|
+
const filterPropsForUnstyledComponent = (props) => {
|
|
12
|
+
return Object.fromEntries(Object.entries(props).filter(([key]) => !propsNotPassToDomDefault.includes(key)));
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
filterProps as a,
|
|
16
|
+
filterPropsForUnstyledComponent as f
|
|
17
|
+
};
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as breakpoint_medium, a as breakpoint_large } from "../../../breakpoint-CzBSbbY7.js";
|
|
2
|
+
const mediumMediaQuery = `screen and (min-width: ${breakpoint_medium})`;
|
|
3
|
+
const largeMediaQuery = `screen and (min-width: ${breakpoint_large})`;
|
|
4
|
+
const md = (stylesInViewport) => {
|
|
5
|
+
return {
|
|
6
|
+
[`@media ${mediumMediaQuery}`]: {
|
|
7
|
+
...stylesInViewport
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
const lg = (stylesInViewport) => {
|
|
12
|
+
return {
|
|
13
|
+
[`@media ${largeMediaQuery}`]: {
|
|
14
|
+
...stylesInViewport
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
const viewport = {
|
|
19
|
+
md,
|
|
20
|
+
lg
|
|
21
|
+
};
|
|
2
22
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
23
|
+
viewport as default,
|
|
24
|
+
largeMediaQuery,
|
|
25
|
+
mediumMediaQuery
|
|
6
26
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentType, JSX, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the image component.
|
|
4
|
+
*/
|
|
5
|
+
export type ImageComponentProps = JSX.IntrinsicElements['img'];
|
|
6
|
+
/**
|
|
7
|
+
* Image component type.
|
|
8
|
+
*/
|
|
9
|
+
export type ImageComponentType = ComponentType<ImageComponentProps>;
|
|
10
|
+
/**
|
|
11
|
+
* Default image component using `<img>`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DefaultImage: ImageComponentType;
|
|
14
|
+
/**
|
|
15
|
+
* Context for providing a custom image component.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ImageContext: import('react').Context<ImageComponentType>;
|
|
18
|
+
/**
|
|
19
|
+
* Hook to access the current image component from context.
|
|
20
|
+
*/
|
|
21
|
+
export declare const useImageComponent: () => ImageComponentType;
|
|
22
|
+
/**
|
|
23
|
+
* Provider for ImageContext
|
|
24
|
+
*/
|
|
25
|
+
export declare const ImageProvider: ({ imageComponent, children, }: {
|
|
26
|
+
imageComponent: ImageComponentType;
|
|
27
|
+
children?: ReactNode;
|
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext } from "react";
|
|
3
|
+
const DefaultImage = (props) => /* @__PURE__ */ jsx("img", { ...props });
|
|
4
|
+
const ImageContext = createContext(DefaultImage);
|
|
5
|
+
const useImageComponent = () => useContext(ImageContext);
|
|
6
|
+
const ImageProvider = ({
|
|
7
|
+
imageComponent,
|
|
8
|
+
children
|
|
9
|
+
}) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(ImageContext, { value: imageComponent, children });
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
DefaultImage,
|
|
14
|
+
ImageContext,
|
|
15
|
+
ImageProvider,
|
|
16
|
+
useImageComponent
|
|
17
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import { ArtDirectionImageProps } from '../../components/ArtDirectedImage';
|
|
3
|
+
/**
|
|
4
|
+
* Picture component type.
|
|
5
|
+
*/
|
|
6
|
+
export type PictureComponentType = ComponentType<ArtDirectionImageProps>;
|
|
7
|
+
/**
|
|
8
|
+
* Default picture component using `<picture>`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const DefaultPicture: PictureComponentType;
|
|
11
|
+
/**
|
|
12
|
+
* Context for providing a custom link component.
|
|
13
|
+
*/
|
|
14
|
+
export declare const PictureContext: import('react').Context<PictureComponentType>;
|
|
15
|
+
/**
|
|
16
|
+
* Hook to access the current link component from context.
|
|
17
|
+
*/
|
|
18
|
+
export declare const usePictureComponent: () => PictureComponentType;
|
|
19
|
+
/**
|
|
20
|
+
* Provider for LinkContext
|
|
21
|
+
*/
|
|
22
|
+
export declare const PictureProvider: ({ pictureComponent, children, }: {
|
|
23
|
+
pictureComponent: PictureComponentType;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext, useContext } from "react";
|
|
3
|
+
import { a as breakpoint_large, b as breakpoint_medium } from "../../breakpoint-CzBSbbY7.js";
|
|
4
|
+
const DefaultPicture = ({
|
|
5
|
+
sources,
|
|
6
|
+
image,
|
|
7
|
+
...props
|
|
8
|
+
}) => /* @__PURE__ */ jsxs("picture", { ...props, children: [
|
|
9
|
+
sources.lg && /* @__PURE__ */ jsx("source", { media: `(min-width: ${breakpoint_large})`, srcSet: sources.lg.src }),
|
|
10
|
+
sources.md && /* @__PURE__ */ jsx("source", { media: `(min-width: ${breakpoint_medium})`, srcSet: sources.md.src }),
|
|
11
|
+
sources.sm && /* @__PURE__ */ jsx("source", { media: `(max-width: ${breakpoint_medium})`, srcSet: sources.sm.src }),
|
|
12
|
+
/* @__PURE__ */ jsx("img", { ...image })
|
|
13
|
+
] });
|
|
14
|
+
const PictureContext = createContext(DefaultPicture);
|
|
15
|
+
const usePictureComponent = () => useContext(PictureContext);
|
|
16
|
+
const PictureProvider = ({
|
|
17
|
+
pictureComponent,
|
|
18
|
+
children
|
|
19
|
+
}) => {
|
|
20
|
+
return /* @__PURE__ */ jsx(PictureContext, { value: pictureComponent, children });
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
DefaultPicture,
|
|
24
|
+
PictureContext,
|
|
25
|
+
PictureProvider,
|
|
26
|
+
usePictureComponent
|
|
27
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
|
-
import "../../index
|
|
3
|
-
import { u } from "../../index-
|
|
2
|
+
import "../../foundations/media-query/viewport/index.js";
|
|
3
|
+
import { u } from "../../index-DKCzYjXw.js";
|
|
4
4
|
import "../useMediaQuery/index.js";
|
|
5
5
|
export {
|
|
6
6
|
u as useViewport
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { b as iconSizeSm } from "./props-7dcsjRUx.js";
|
|
3
|
-
import "./styled-
|
|
4
|
-
import { l as leftPosition, a as ButtonIconStyled, b as buttonHeight, p as primaryAppearance } from "./styled-
|
|
3
|
+
import "./styled-DUsRG1Xh.js";
|
|
4
|
+
import { l as leftPosition, a as ButtonIconStyled, b as buttonHeight, p as primaryAppearance } from "./styled-Dk6VS_Sg.js";
|
|
5
5
|
import { useLinkComponent } from "./hooks/useLinkComponent/index.js";
|
|
6
|
-
import { a as filterProps, f as filterPropsForUnstyledComponent } from "./filterProps-
|
|
6
|
+
import { a as filterProps, f as filterPropsForUnstyledComponent } from "./filterProps-CPul3CC8.js";
|
|
7
7
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
8
8
|
import { s as sanitizeLinkProps } from "./sanitizeLinkProps-D2Kkovy1.js";
|
|
9
9
|
import styled from "styled-components";
|
|
@@ -13,7 +13,7 @@ import { getBorderRadius } from "./foundations/token/getBorderRadius/index.js";
|
|
|
13
13
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
14
14
|
import { getFontWeight } from "./foundations/token/getFontWeight/index.js";
|
|
15
15
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
16
|
-
import { b as borderRadiusMd } from "./BorderRadius-
|
|
16
|
+
import { b as borderRadiusMd } from "./BorderRadius-2LdggXbQ.js";
|
|
17
17
|
import { f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
|
|
18
18
|
import { s as spacingNone, b as spacingXs, d as spacingXl, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
19
19
|
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { largeMediaQuery, mediumMediaQuery } from "./foundations/media-query/viewport/index.js";
|
|
3
3
|
import { useMediaQuery } from "./hooks/useMediaQuery/index.js";
|
|
4
4
|
const viewportSm = "sm";
|
|
5
5
|
const viewportMd = "md";
|
|
@@ -10,7 +10,7 @@ import { getTextDecoration } from "./foundations/token/getTextDecoration/index.j
|
|
|
10
10
|
import { a as fontWeightBold, f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
|
|
11
11
|
import { a as spacingMd, s as spacingNone, b as spacingXs } from "./Spacing-BMQelJYr.js";
|
|
12
12
|
import { g as colorTextCritical, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
13
|
-
import { a as filterProps } from "./filterProps-
|
|
13
|
+
import { a as filterProps } from "./filterProps-CPul3CC8.js";
|
|
14
14
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
15
15
|
const priceOrientationHorizontal = "horizontal";
|
|
16
16
|
const priceOrientationVertical = "vertical";
|
|
@@ -5,13 +5,13 @@ import Body from "./components/Body/index.js";
|
|
|
5
5
|
import FootnoteLink from "./components/FootnoteLink/index.js";
|
|
6
6
|
import Heading from "./components/Heading/index.js";
|
|
7
7
|
import InlineLink from "./components/InlineLink/index.js";
|
|
8
|
-
import { T as TableHead, a as TableBody, b as TableFoot } from "./TableHead-
|
|
9
|
-
import { T as TableWrapper } from "./TableWrapper-
|
|
8
|
+
import { T as TableHead, a as TableBody, b as TableFoot } from "./TableHead-Cfn2iQRg.js";
|
|
9
|
+
import { T as TableWrapper } from "./TableWrapper-BrnjxwJz.js";
|
|
10
10
|
import { k as headingHtmlTags, o as olTagName, q as strongTagName, r as supTagName, u as ulTagName } from "./tags-38kBhOn6.js";
|
|
11
11
|
import { s as spacingNone } from "./Spacing-BMQelJYr.js";
|
|
12
12
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
13
|
-
import { T as TextListItemStyled, a as TextListStyled } from "./styled-
|
|
14
|
-
import {
|
|
13
|
+
import { T as TextListItemStyled, a as TextListStyled } from "./styled-DoOOutJj.js";
|
|
14
|
+
import { t as textHeadingXs, b as textHeadingSm, a as textHeadingMd, c as textHeadingLg, d as textHeadingXl } from "./HeadingSize-CfCRn3Lh.js";
|
|
15
15
|
import { a as textBodySm } from "./TextBodySize-BcZR9mh2.js";
|
|
16
16
|
const mapSizeToTag = {
|
|
17
17
|
h1: textHeadingXl,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { a as ButtonIconStyled } from "./styled-
|
|
2
|
+
import { a as ButtonIconStyled } from "./styled-Dk6VS_Sg.js";
|
|
3
3
|
import { b as iconSizeSm } from "./props-7dcsjRUx.js";
|
|
4
|
-
import "./styled-
|
|
4
|
+
import "./styled-DUsRG1Xh.js";
|
|
5
5
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
8
8
|
import { s as spacingNone, b as spacingXs, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
9
|
-
import { a as filterProps } from "./filterProps-
|
|
9
|
+
import { a as filterProps } from "./filterProps-CPul3CC8.js";
|
|
10
10
|
import forcedColors from "./foundations/media-query/forcedColors/index.js";
|
|
11
11
|
import { getBodySize } from "./foundations/token/getBodySize/index.js";
|
|
12
12
|
import { getBorderColor } from "./foundations/token/getBorderColor/index.js";
|
package/dist/index.d.ts
CHANGED
|
@@ -32,8 +32,6 @@ export * from './components/RichtTextContentful';
|
|
|
32
32
|
export { default as RichtTextContentful } from './components/RichtTextContentful';
|
|
33
33
|
export * from './components/RichText';
|
|
34
34
|
export { default as RichText } from './components/RichText';
|
|
35
|
-
export * from './components/ResponsiveImage';
|
|
36
|
-
export { default as ResponsiveImage } from './components/ResponsiveImage';
|
|
37
35
|
export * from './components/Rating';
|
|
38
36
|
export { default as Rating } from './components/Rating';
|
|
39
37
|
export * from './components/RadioGroup';
|
|
@@ -166,6 +164,8 @@ export * from './components/Body';
|
|
|
166
164
|
export { default as Body } from './components/Body';
|
|
167
165
|
export * from './components/Badge';
|
|
168
166
|
export { default as Badge } from './components/Badge';
|
|
167
|
+
export * from './components/ArtDirectedImage';
|
|
168
|
+
export { default as ArtDirectedImage } from './components/ArtDirectedImage';
|
|
169
169
|
export * from './components/AccordionGroup';
|
|
170
170
|
export { default as AccordionGroup } from './components/AccordionGroup';
|
|
171
171
|
export * from './components/Accordion';
|
|
@@ -194,8 +194,10 @@ export * from './foundations/GlobalStyle';
|
|
|
194
194
|
export * from './hooks/useViewport';
|
|
195
195
|
export * from './hooks/useThirdPartyConsent';
|
|
196
196
|
export * from './hooks/useReducedMotion';
|
|
197
|
+
export * from './hooks/usePictureComponent';
|
|
197
198
|
export * from './hooks/useMediaQuery';
|
|
198
199
|
export * from './hooks/useLinkComponent';
|
|
200
|
+
export * from './hooks/useImageComponent';
|
|
199
201
|
export * from './hooks/useForcedColors';
|
|
200
202
|
export * from './hooks/useFocusWithin';
|
|
201
203
|
export * from './contentful';
|