@vodafone_de/brix-components 7.1.6 → 7.1.8
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/{HeadingSize-CfCRn3Lh.js → HeadingSize-CqqUYZWV.js} +2 -2
- package/dist/TableHead-C2zQ4jce.js +132 -0
- package/dist/TableWrapper-C8SpplcL.js +25 -0
- package/dist/components/Accordion/index.js +2 -2
- package/dist/components/AccordionGroup/index.js +1 -1
- package/dist/components/Badge/index.js +3 -3
- package/dist/components/Body/index.js +1 -1
- package/dist/components/BottomBar/index.js +2 -2
- package/dist/components/Button/index.js +2 -2
- package/dist/components/ButtonAsLink/index.js +2 -2
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Card/index.js +2 -2
- package/dist/components/Carousel/index.js +5 -5
- package/dist/components/Checkbox/index.js +2 -2
- 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 +3 -3
- package/dist/components/Container/index.js +2 -2
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/DemoBox/index.js +8 -2
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/DiscoveryCard/index.js +12 -11
- 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/FootnoteLink/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 +1 -1
- package/dist/components/Grid/index.js +1 -1
- package/dist/components/GridItem/index.js +4 -3
- package/dist/components/Heading/index.js +3 -3
- package/dist/components/HifiIcon/index.js +1 -1
- package/dist/components/IconButton/index.js +3 -3
- package/dist/components/IconSnippet/index.js +3 -3
- package/dist/components/Image/index.js +1 -1
- package/dist/components/ImageHeader/index.js +4 -4
- 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 +2 -12
- 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 +2 -2
- package/dist/components/LocalStyle/index.js +2 -2
- package/dist/components/MediaText/index.js +5 -5
- package/dist/components/Notification/index.js +3 -3
- package/dist/components/OpenTextFootnoteAdapter/index.js +2 -2
- package/dist/components/Overlay/index.js +1 -1
- package/dist/components/PickerGroup/index.js +4 -4
- package/dist/components/Price/index.js +2 -2
- package/dist/components/ProductCard/index.js +4 -4
- package/dist/components/QuickLinkList/index.js +3 -3
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/index.js +11 -10
- package/dist/components/ResponsiveImage/index.js +1 -1
- package/dist/components/RichText/index.js +1 -1
- package/dist/components/RichtTextContentful/index.js +2 -2
- package/dist/components/ScreenreaderOnly/index.js +14 -3
- package/dist/components/SearchInput/index.js +4 -4
- package/dist/components/SelectInput/index.js +2 -2
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SuggestInput/index.js +5 -4
- package/dist/components/Switch/index.js +2 -2
- package/dist/components/TabGroup/index.js +2 -2
- package/dist/components/Table/TableContext.d.ts +12 -0
- package/dist/components/Table/components/TableBody.d.ts +4 -0
- package/dist/components/Table/components/TableCell.d.ts +4 -0
- package/dist/components/Table/components/TableFoot.d.ts +4 -0
- package/dist/components/Table/components/TableHead.d.ts +7 -0
- package/dist/components/Table/components/TableWrapper.d.ts +4 -0
- package/dist/components/Table/index.d.ts +8 -0
- package/dist/components/Table/index.js +13 -0
- package/dist/components/Table/props.d.ts +30 -0
- package/dist/components/Table/styled.d.ts +8 -0
- package/dist/components/TabularPrice/index.js +2 -2
- package/dist/components/TextList/index.js +2 -2
- package/dist/components/Textarea/index.js +2 -2
- package/dist/components/TimeInput/index.js +2 -2
- package/dist/components/Tray/index.js +2 -2
- package/dist/contentful/index.js +11 -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-C3-c3zhv.js → cssVars-CR3xqdPx.js} +1 -1
- package/dist/filterProps-BWnAPYBL.js +17 -0
- package/dist/foundations/GlobalStyle/index.js +1 -1
- package/dist/{index-M27FMM9r.js → index-ByPSWRQ0.js} +3 -3
- package/dist/{index-DXRuQeDl.js → index-CHzok6W_.js} +3 -3
- package/dist/{index-7A9g1r9L.js → index-CifS-Z_9.js} +74 -3
- package/dist/{index-BjtnAuPr.js → index-DLvMM1Dq.js} +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +176 -166
- package/dist/{mapContentToComponents-BobPnbKM.js → mapContentToComponents-DLxIwtHo.js} +11 -10
- package/dist/screenreaderOnly-Dv2v6MAr.js +11 -0
- package/dist/{styled-RnVr222F.js → styled-B1bxWqtW.js} +1 -1
- package/dist/{styled-SllFJc7o.js → styled-BBG87P4U.js} +3 -3
- package/dist/{styled-B-_SmQSA.js → styled-BBO2jrba.js} +1 -1
- package/dist/{styled-D8a-ap4J.js → styled-BKWEE3dx.js} +1 -1
- package/dist/{styled-BTBLpB_G.js → styled-BQGCfF-s.js} +1 -1
- package/dist/{styled-jl0239KS.js → styled-BXtzJJFu.js} +1 -1
- package/dist/{styled-DJWrbsIZ.js → styled-BYYivuzh.js} +1 -1
- package/dist/{styled-1OrCdMDT.js → styled-CE_Y6O4R.js} +1 -1
- package/dist/styled-CH1kr8ZR.js +14 -0
- package/dist/{styled-Djetw1lK.js → styled-Cz2kpbgE.js} +3 -3
- package/dist/{styled-CPNO3vN5.js → styled-DGMsuBML.js} +1 -1
- package/dist/{styled-q7r_5eaz.js → styled-Dgv3RBlg.js} +1 -1
- package/dist/{styled-VAsSnb5y.js → styled-Dmb8-99g.js} +1 -1
- package/dist/{styled-CW4e5Qa3.js → styled-Dr-tPBqx.js} +1 -1
- package/dist/{styled-U9du2n1i.js → styled-Du4LgXoA.js} +1 -1
- package/dist/{styled-CyZvsdJs.js → styled-O5mL4jlL.js} +1 -1
- package/dist/{styled-DOK4C5Ml.js → styled-VuUKI7PE.js} +1 -1
- package/package.json +1 -1
- package/dist/filterProps-CTn92eZw.js +0 -17
- package/dist/index-B2VrT4fo.js +0 -24
|
@@ -13,7 +13,7 @@ import { f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
|
|
|
13
13
|
import { a as opacityDisabled } from "./Opacity-smkGiwsf.js";
|
|
14
14
|
import { b as spacingXs, d as spacingXl, s as spacingNone, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
15
15
|
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
16
|
-
import { a as filterProps } from "./filterProps-
|
|
16
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
17
17
|
const leftPosition = "left";
|
|
18
18
|
const primaryAppearance = "primary";
|
|
19
19
|
const tertiaryAppearance = "tertiary";
|
|
@@ -7,7 +7,7 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
|
7
7
|
import { a as fontWeightBold, b as fontWeightLight } from "./FontWeight-C2pGs7aR.js";
|
|
8
8
|
import { b as spacingXs, c as spacingSm, a as spacingMd, g as spacingLg, d as spacingXl } from "./Spacing-BMQelJYr.js";
|
|
9
9
|
import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
10
|
-
import { a as filterProps } from "./filterProps-
|
|
10
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
11
11
|
const headingAlignLeft = "left";
|
|
12
12
|
const headingAlignCenter = "center";
|
|
13
13
|
const mapHeadingSizeToFontWeight = {
|
|
@@ -6,7 +6,7 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
|
6
6
|
import { g as colorBorderWarning } from "./BorderColor-CYdSW9dg.js";
|
|
7
7
|
import { c as spacingSm, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
8
8
|
import { b as colorTextInverseStatic } from "./TextColor-DsntmDNw.js";
|
|
9
|
-
import { a as filterProps } from "./filterProps-
|
|
9
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
10
10
|
const DemoBoxStyled = styled.div.withConfig({
|
|
11
11
|
shouldForwardProp: filterProps(),
|
|
12
12
|
displayName: "DemoBoxStyled",
|
|
@@ -14,7 +14,7 @@ import { b as colorBackgroundOverlay } from "./BackgroundColor-DSOSZvNi.js";
|
|
|
14
14
|
import { o as opacityOverlay } from "./Opacity-smkGiwsf.js";
|
|
15
15
|
import { l as largeSize } from "./SizeTypes-Ck_RdzIf.js";
|
|
16
16
|
import { s as spacingNone } from "./Spacing-BMQelJYr.js";
|
|
17
|
-
import { a as filterProps } from "./filterProps-
|
|
17
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
18
18
|
const loadingSpinnerOverlays = {
|
|
19
19
|
Light: `rgba(255, 255, 255, ${getOpacity(opacityOverlay)})`,
|
|
20
20
|
Dark: `rgba(38, 38, 38, ${getOpacity(opacityOverlay)})`
|
|
@@ -2,7 +2,7 @@ import styled from "styled-components";
|
|
|
2
2
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
3
3
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
4
4
|
import { a as spacingMd, s as spacingNone } from "./Spacing-BMQelJYr.js";
|
|
5
|
-
import { a as filterProps } from "./filterProps-
|
|
5
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
6
6
|
const flexOrientationHorizontal = "horizontal";
|
|
7
7
|
const flexOrientationVertical = "vertical";
|
|
8
8
|
const flexJustifyStart = "start";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import require$$0 from "react";
|
|
2
2
|
import styled from "styled-components";
|
|
3
|
-
import { a as filterProps } from "./filterProps-
|
|
3
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
4
4
|
var richTextReactRenderer_es5 = {};
|
|
5
5
|
var dist = {};
|
|
6
6
|
var isPlainObj;
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const propsNotPassToDomDefault = ["accordionType", "activeId", "activeIndex", "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", "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", "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
|
-
};
|
package/dist/index-B2VrT4fo.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import styled from "styled-components";
|
|
3
|
-
import { a as filterProps } from "./filterProps-CTn92eZw.js";
|
|
4
|
-
const screenreaderOnly = {
|
|
5
|
-
position: "absolute",
|
|
6
|
-
left: "-10000px",
|
|
7
|
-
top: "auto",
|
|
8
|
-
width: "1px",
|
|
9
|
-
height: "1px",
|
|
10
|
-
overflow: "hidden"
|
|
11
|
-
};
|
|
12
|
-
const ScreenReaderOnlyStyled = styled.span.withConfig({
|
|
13
|
-
shouldForwardProp: filterProps(),
|
|
14
|
-
displayName: "ScreenReaderOnlyStyled",
|
|
15
|
-
componentId: "sc-1r7az4k-0"
|
|
16
|
-
})(screenreaderOnly);
|
|
17
|
-
const ScreenreaderOnly = ({
|
|
18
|
-
children,
|
|
19
|
-
...props
|
|
20
|
-
}) => /* @__PURE__ */ jsx(ScreenReaderOnlyStyled, { ...props, children });
|
|
21
|
-
export {
|
|
22
|
-
ScreenreaderOnly as S,
|
|
23
|
-
screenreaderOnly as s
|
|
24
|
-
};
|