@vodafone_de/brix-components 17.0.0 → 17.0.1

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,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { B as ButtonAsLink, g as getButtonIcon } from "../../index-CII2Hd1u.js";
3
+ import { B as ButtonAsLink, g as getButtonIcon } from "../../index-BIa9NKUU.js";
4
4
  import { B as ButtonStyled } from "../../styled-DRNdxc1V.js";
5
5
  import { i } from "../../props-BrZdj0mO.js";
6
6
  const isButtonAsLinkProp = (props) => {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import "react/jsx-runtime";
3
- import { B } from "../../index-CII2Hd1u.js";
3
+ import { B } from "../../index-BIa9NKUU.js";
4
4
  import "../../hooks/useLinkComponent/index.js";
5
5
  import "../../sanitizeLinkProps-D2Kkovy1.js";
6
6
  import "../../shouldForwardProp-CONMmlMa.js";
@@ -1,2 +1,2 @@
1
1
  import { ButtonAsLinkProps } from './props';
2
- export declare const ButtonAsLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ButtonAsLinkProps> & ButtonAsLinkProps, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof ButtonAsLinkProps> & ButtonAsLinkProps, never>>> & string;
2
+ export declare const ButtonAsLinkStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "appearance" | "layout" | "width" | "bottomSpacing"> & Pick<ButtonAsLinkProps, "appearance" | "layout" | "width" | "bottomSpacing">, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "appearance" | "layout" | "width" | "bottomSpacing"> & Pick<ButtonAsLinkProps, "appearance" | "layout" | "width" | "bottomSpacing">, never>>> & string;
@@ -80,7 +80,7 @@ const ButtonAsLinkStyled = styled.span.withConfig({
80
80
  }) => layout && translateLayoutPropsToCss(layout));
81
81
  const ButtonAsLink = (props) => {
82
82
  const LinkComponent = useLinkComponent();
83
- return /* @__PURE__ */ jsx(ButtonAsLinkStyled, { ...props, children: /* @__PURE__ */ jsxs(LinkComponent, { ...sanitizeLinkProps(pickDomProps(props)), children: [
83
+ return /* @__PURE__ */ jsx(ButtonAsLinkStyled, { width: props.width, appearance: props.appearance, layout: props.layout, bottomSpacing: props.bottomSpacing, id: props.id, children: /* @__PURE__ */ jsxs(LinkComponent, { ...sanitizeLinkProps(pickDomProps(props)), id: props.id ? `${props.id}-link` : void 0, children: [
84
84
  props.children,
85
85
  getButtonIcon(props.icon, props.iconPosition)
86
86
  ] }) });
package/dist/index.js CHANGED
@@ -86,7 +86,7 @@ import { default as default76 } from "./components/Card/index.js";
86
86
  import { default as default77 } from "./components/Callout/index.js";
87
87
  import { default as default78 } from "./components/Calendar/index.js";
88
88
  import { default as default79 } from "./components/ButtonGroup/index.js";
89
- import { B } from "./index-CII2Hd1u.js";
89
+ import { B } from "./index-BIa9NKUU.js";
90
90
  import { default as default80 } from "./components/Button/index.js";
91
91
  import { default as default81 } from "./components/BottomBar/index.js";
92
92
  import { default as default82 } from "./components/Body/index.js";
@@ -127,7 +127,7 @@ import { useForcedColors } from "./hooks/useForcedColors/index.js";
127
127
  import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
128
128
  import { validateAccordionGroupProps, validateAccordionProps, validateArtDirectedImageProps, validateBadgeProps, validateBodyProps, validateBottomBarProps, validateBrixComponentProps, validateButtonAsLinkProps, validateButtonGroupProps, validateButtonProps, validateCalendarProps, validateCalloutProps, validateCardProps, validateCarouselItemProps, validateCarouselProps, validateCheckboxGroupProps, validateCheckboxProps, validateCollapsibleProps, validateColorSwatchGroupProps, validateColorSwatchProps, validateConsentMessageProps, validateContainerProps, validateDateInputProps, validateDemoBoxProps, validateDialogProps, validateDiscoveryCardGroupProps, validateDiscoveryCardProps, validateDividerProps, validateEnergySnippetProps, validateFeatureCardGroupProps, validateFeatureCardProps, validateFieldsetProps, validateFilterGroupProps, validateFilterProps, validateFlexProps, validateFootnoteLinkProps, validateFootnoteProps, validateFootnoteSectionProps, validateFormElementProps, validateFormHelperLabelProps, validateFormHelperMessageProps, validateFormHelperStatusIconProps, validateFormProps, validateGoogleMapProps, validateGridConfig, validateGridItemProps, validateGridProps, validateHeadingProps, validateHifiIconProps, validateIconButtonProps, validateIconLoaderProps, validateIconProps, validateIconSnippetListProps, validateIconSnippetProps, validateImageHeaderProps, validateImageProps, validateInfoBannerProps, validateInputGroupProps, validateInputProps, validateLabelProps, validateLegendProps, validateLinkAsButtonProps, validateLinkListItemProps, validateLinkListProps, validateLinkProps, validateLoadingSpinnerProps, validateLocalStyleProps, validateMarTechPlaceholderProps, validateMediaTextProps, validateMinimalCmsProps, validateNotificationProps, validateOpenTextFootnoteAdapterProps, validateOverlayProps, validatePasswordInputProps, validatePickerGroupProps, validatePickerProps, validatePriceProps, validateProductCardProps, validateQuickLinkListProps, validateQuickLinkProps, validateRadioGroupProps, validateRatingProps, validateRichTextContentfulProps, validateRichTextProps, validateScreenreaderOnlyProps, validateSearchInputProps, validateSelectInputProps, validateSmoothScrollAreaProps, validateStepperProps, validateSuggestInputProps, validateSwitchProps, validateTabGroupProps, validateTableProps, validateTabularPriceProps, validateTextListItemProps, validateTextListProps, validateTextareaProps, validateTimeInputProps, validateToggleButtonProps, validateToggleButtonProviderProps, validateTrayProps, validateUtilityLinkProps, validateYouTubeVideoProps } from "./contentful/validation/index.js";
129
129
  import { contentFulComponentNames } from "./contentful/registry/index.js";
130
- import { M, a as a4, b as b3, c as c4, d as d2, e as e2, f as f2, g as g3, h as h2, i as i2, j, k, l as l2, m as m2, n, o, p, q, r, s, t as t2, u as u2, v, w, x, y, z, A, B as B3, C as C3, D, E, F as F2, G as G2, H, I, J, K, L as L2, N, O as O2, P as P3, Q, R as R2, S as S2, T as T4, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "./youTubeVideo-YflRsfH8.js";
130
+ import { M, a as a4, b as b3, c as c4, d as d2, e as e2, f as f2, g as g3, h as h2, i as i2, j, k, l as l2, m as m2, n, o, p, q, r, s, t as t2, u as u2, v, w, x, y, z, A, B as B3, C as C3, D, E, F as F2, G as G2, H, I, J, K, L as L2, N, O as O2, P as P3, Q, R as R2, S as S2, T as T4, U, V, W, X, Y, Z, _, $, a0, a1, a2 as a22, a3 as a32, a4 as a42, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "./youTubeVideo-DBAN-w-C.js";
131
131
  import { B as B4, b as b4, a as a10, p as p2, s as s2, c as c5, t as t3 } from "./props-Dt5kqR3j.js";
132
132
  import { C as C4, c as c6, a as a11, b as b5, d as d3 } from "./props-DDJfToj8.js";
133
133
  import { C as C5, c as c7, a as a12, b as b6, d as d4, e as e3, f as f3, g as g4 } from "./props-A95cwKat.js";
@@ -1,4 +1,4 @@
1
- import { M, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "../youTubeVideo-YflRsfH8.js";
1
+ import { M, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak } from "../youTubeVideo-DBAN-w-C.js";
2
2
  export {
3
3
  M as MapAccordion,
4
4
  a as MapAccordionGroup,
@@ -6,7 +6,7 @@ import { B as Badge } from "./index-CWByESA7.js";
6
6
  import Body from "./components/Body/index.js";
7
7
  import BottomBar from "./components/BottomBar/index.js";
8
8
  import Button from "./components/Button/index.js";
9
- import { B as ButtonAsLink } from "./index-CII2Hd1u.js";
9
+ import { B as ButtonAsLink } from "./index-BIa9NKUU.js";
10
10
  import ButtonGroup from "./components/ButtonGroup/index.js";
11
11
  import Calendar from "./components/Calendar/index.js";
12
12
  import Card from "./components/Card/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vodafone_de/brix-components",
3
3
  "description": "Brix is the digital design system for vodafone.de",
4
- "version": "17.0.0",
4
+ "version": "17.0.1",
5
5
  "exports": {
6
6
  "./package.json": "./package.json",
7
7
  ".": {