@vodafone_de/brix-components 7.1.7 → 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-C9Nyap9H.js → TableHead-C2zQ4jce.js} +27 -4
- package/dist/{TableWrapper-BlScbDc6.js → TableWrapper-C8SpplcL.js} +1 -1
- 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 +4 -4
- 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 +11 -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 +2 -2
- 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 +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 +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 +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 +3 -3
- package/dist/components/Price/index.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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/index.js +2 -2
- package/dist/components/Table/styled.d.ts +2 -0
- package/dist/components/TabularPrice/index.js +1 -1
- 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 +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-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-B5p4bosD.js → index-CifS-Z_9.js} +4 -4
- package/dist/{index-C69TqGKE.js → index-DLvMM1Dq.js} +1 -1
- package/dist/index.js +14 -14
- package/dist/{mapContentToComponents-DRp1r1ht.js → mapContentToComponents-DLxIwtHo.js} +10 -10
- 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-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
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState, useRef, useEffect } from "react";
|
|
4
4
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
5
5
|
import { b as iconSizeSm, d as iconSizeLg } from "../../props-7dcsjRUx.js";
|
|
6
|
-
import "../../styled-
|
|
6
|
+
import "../../styled-B1bxWqtW.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
8
|
import Flex from "../Flex/index.js";
|
|
9
9
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -22,7 +22,7 @@ import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
|
22
22
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
23
23
|
import { a as colorObjectBrand } from "../../ObjectColor-0RAzLGI5.js";
|
|
24
24
|
import { a as spacingMd, c as spacingSm, b as spacingXs, e as spacing2Xs, d as spacingXl } from "../../Spacing-BMQelJYr.js";
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
26
26
|
const iconPositionLeft = "left";
|
|
27
27
|
const iconPositionTop = "top";
|
|
28
28
|
const tabGroupWidthFull = "full";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a, c, d, b, T, e } from "../../TableHead-
|
|
3
|
-
import { T as TableWrapper } from "../../TableWrapper-
|
|
2
|
+
import { a, c, d, b, T, e } from "../../TableHead-C2zQ4jce.js";
|
|
3
|
+
import { T as TableWrapper } from "../../TableWrapper-C8SpplcL.js";
|
|
4
4
|
export {
|
|
5
5
|
a as TableBody,
|
|
6
6
|
c as TableCell,
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const TableWrapperDiv: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export declare const TableStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
|
|
3
|
+
export declare const TableHeadStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
4
|
+
export declare const TableRowStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
3
5
|
export declare const TableCellStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {
|
|
4
6
|
align: "left" | "right";
|
|
5
7
|
as: "td" | "th";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { a, T } from "../../index-
|
|
3
|
+
import { a, T } from "../../index-CifS-Z_9.js";
|
|
4
4
|
import "../../tags-38kBhOn6.js";
|
|
5
5
|
import "../../Spacing-BMQelJYr.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-BYYivuzh.js";
|
|
8
8
|
export {
|
|
9
9
|
a as TextListItem,
|
|
10
10
|
T as default
|
|
@@ -20,9 +20,9 @@ import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
|
20
20
|
import { a as colorBackgroundSubtle } from "../../BackgroundColor-DSOSZvNi.js";
|
|
21
21
|
import { a as colorBorderNeutral, c as colorBorderFocus, b as colorBorderUnselected, d as colorBorderSuccess, e as colorBorderCritical } from "../../BorderColor-CYdSW9dg.js";
|
|
22
22
|
import { b as borderRadiusMd } from "../../BorderRadius-ClUShVLu.js";
|
|
23
|
-
import {
|
|
23
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
24
24
|
import { c as colorTextPlaceholder, a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
26
26
|
const TextareaWrapperStyled = styled.div.withConfig({
|
|
27
27
|
shouldForwardProp: filterProps(),
|
|
28
28
|
displayName: "TextareaWrapperStyled",
|
|
@@ -6,9 +6,9 @@ import FormHelperLabel from "../FormHelperLabel/index.js";
|
|
|
6
6
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
7
7
|
import FormHelperStatusIcon from "../FormHelperStatusIcon/index.js";
|
|
8
8
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
9
|
-
import "../../styled-
|
|
9
|
+
import "../../styled-B1bxWqtW.js";
|
|
10
10
|
import "../Input/index.js";
|
|
11
|
-
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-
|
|
11
|
+
import { a as InputStyled, I as InputWrapperStyled } from "../../styled-BQGCfF-s.js";
|
|
12
12
|
import { a as spacingMd, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
13
13
|
import { bm as ClockIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
|
|
14
14
|
import styled from "styled-components";
|
|
@@ -5,7 +5,7 @@ import { createPortal } from "react-dom";
|
|
|
5
5
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
7
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
8
|
-
import {
|
|
8
|
+
import { t as textHeadingMd } from "../../HeadingSize-CqqUYZWV.js";
|
|
9
9
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
10
10
|
import styled from "styled-components";
|
|
11
11
|
import Card from "../Card/index.js";
|
|
@@ -19,7 +19,7 @@ import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
|
19
19
|
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
|
|
20
20
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
21
21
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
22
|
-
import { a as flexOrientationVertical } from "../../styled-
|
|
22
|
+
import { a as flexOrientationVertical } from "../../styled-O5mL4jlL.js";
|
|
23
23
|
const TrayOverlayStyled = styled("div").withConfig({
|
|
24
24
|
displayName: "TrayOverlayStyled",
|
|
25
25
|
componentId: "sc-os3mq3-0"
|
package/dist/contentful/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import "../components/ScreenreaderOnly/index.js";
|
|
|
5
5
|
import "../components/FootnoteLink/index.js";
|
|
6
6
|
import "html-react-parser";
|
|
7
7
|
import "../components/Body/index.js";
|
|
8
|
-
import "../styled-
|
|
8
|
+
import "../styled-BXtzJJFu.js";
|
|
9
9
|
import "../components/Grid/index.js";
|
|
10
10
|
import "react";
|
|
11
|
-
import "../styled-
|
|
12
|
-
import "../styled-
|
|
11
|
+
import "../styled-Cz2kpbgE.js";
|
|
12
|
+
import "../styled-Dmb8-99g.js";
|
|
13
13
|
import "../NotificationErrorIcon-DMnAJgPN.js";
|
|
14
|
-
import "../styled-
|
|
15
|
-
import "../styled-
|
|
14
|
+
import "../styled-B1bxWqtW.js";
|
|
15
|
+
import "../styled-BBO2jrba.js";
|
|
16
16
|
import "../hooks/useLinkComponent/index.js";
|
|
17
|
-
import "../styled-
|
|
17
|
+
import "../styled-BBG87P4U.js";
|
|
18
18
|
import "../styled-BlHKbHF4.js";
|
|
19
|
-
import "../styled-
|
|
20
|
-
import "../styled-
|
|
19
|
+
import "../styled-VuUKI7PE.js";
|
|
20
|
+
import "../styled-BKWEE3dx.js";
|
|
21
21
|
import "../components/InlineLink/index.js";
|
|
22
|
-
import "../TableHead-
|
|
23
|
-
import "../styled-
|
|
22
|
+
import "../TableHead-C2zQ4jce.js";
|
|
23
|
+
import "../styled-BYYivuzh.js";
|
|
@@ -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-DLxIwtHo.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-DLxIwtHo.js";
|
|
5
5
|
const Renderer = ({
|
|
6
6
|
content,
|
|
7
7
|
isDraftMode
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { css } from "styled-components";
|
|
2
|
-
import { l as loadingSpinnerOverlayCssVar, j as loadingSpinnerOverlays } from "./styled-
|
|
2
|
+
import { l as loadingSpinnerOverlayCssVar, j as loadingSpinnerOverlays } from "./styled-Du4LgXoA.js";
|
|
3
3
|
import { c as breakpoint_medium, a as breakpoint_large } from "./index-Ck2bCrhT.js";
|
|
4
4
|
const colorVodafoneRed = "colorVodafoneRed";
|
|
5
5
|
const colorVodafoneRedTint = "colorVodafoneRedTint";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const propsNotPassToDomDefault = ["accordionType", "activeId", "activeIndex", "setActiveId", "align", "animated", "appearance", "aspectRatio", "autoLayout", "apiKey", "badge", "border", "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
|
+
};
|
|
@@ -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-Dgv3RBlg.js";
|
|
3
3
|
import { b as iconSizeSm } from "./props-7dcsjRUx.js";
|
|
4
|
-
import "./styled-
|
|
4
|
+
import "./styled-B1bxWqtW.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-BWnAPYBL.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";
|
|
@@ -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-B1bxWqtW.js";
|
|
4
|
+
import { l as leftPosition, a as ButtonIconStyled, b as buttonHeight, p as primaryAppearance } from "./styled-Dgv3RBlg.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-BWnAPYBL.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";
|
|
@@ -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-C2zQ4jce.js";
|
|
9
|
+
import { T as TableWrapper } from "./TableWrapper-C8SpplcL.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-BYYivuzh.js";
|
|
14
|
+
import { a as textHeadingXs, b as textHeadingSm, t as textHeadingMd, c as textHeadingLg, d as textHeadingXl } from "./HeadingSize-CqqUYZWV.js";
|
|
15
15
|
import { a as textBodySm } from "./TextBodySize-BcZR9mh2.js";
|
|
16
16
|
const mapSizeToTag = {
|
|
17
17
|
h1: textHeadingXl,
|
|
@@ -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-BWnAPYBL.js";
|
|
14
14
|
import { r as renderInlineRichTextFromOpenText } from "./renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
15
15
|
const priceOrientationHorizontal = "horizontal";
|
|
16
16
|
const priceOrientationVertical = "vertical";
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import { default as default2, YoutubeVideoIframeStyled, YoutubeVideoStyled } fro
|
|
|
2
2
|
import { default as default3 } from "./components/Tray/index.js";
|
|
3
3
|
import { default as default4 } from "./components/TimeInput/index.js";
|
|
4
4
|
import { default as default5 } from "./components/Textarea/index.js";
|
|
5
|
-
import { R, T, a } from "./index-
|
|
6
|
-
import { P, T as T2, c, g, f, p, a as a2, e, d, b } from "./index-
|
|
7
|
-
import { a as a3, c as c2, d as d2, b as b2, T as T3, e as e2 } from "./TableHead-
|
|
8
|
-
import { T as T4, T as T5 } from "./TableWrapper-
|
|
5
|
+
import { R, T, a } from "./index-CifS-Z_9.js";
|
|
6
|
+
import { P, T as T2, c, g, f, p, a as a2, e, d, b } from "./index-DLvMM1Dq.js";
|
|
7
|
+
import { a as a3, c as c2, d as d2, b as b2, T as T3, e as e2 } from "./TableHead-C2zQ4jce.js";
|
|
8
|
+
import { T as T4, T as T5 } from "./TableWrapper-C8SpplcL.js";
|
|
9
9
|
import { PanelStyled, default as default6, TabGroupContainerStyled, TabGroupIndicatorStyled, TabGroupTabsScrollableContainerStyled, TabGroupTabsStyled, TabLabelStyled, TabStyled, iconPositionLeft, iconPositionTop, tabGroupWidthAuto, tabGroupWidthFull } from "./components/TabGroup/index.js";
|
|
10
10
|
import { default as default7 } from "./components/Switch/index.js";
|
|
11
11
|
import { default as default8 } from "./components/SuggestInput/index.js";
|
|
@@ -29,7 +29,7 @@ import { default as default25 } from "./components/LocalStyle/index.js";
|
|
|
29
29
|
import { default as default26 } from "./components/LoadingSpinner/index.js";
|
|
30
30
|
import { default as default27 } from "./components/LinkListItem/index.js";
|
|
31
31
|
import { default as default28 } from "./components/LinkList/index.js";
|
|
32
|
-
import { L } from "./index-
|
|
32
|
+
import { L } from "./index-ByPSWRQ0.js";
|
|
33
33
|
import { default as default29 } from "./components/Link/index.js";
|
|
34
34
|
import { default as default30 } from "./components/Legend/index.js";
|
|
35
35
|
import { default as default31 } from "./components/Label/index.js";
|
|
@@ -76,7 +76,7 @@ import { default as default70 } from "./components/Checkbox/index.js";
|
|
|
76
76
|
import { default as default71 } from "./components/Carousel/index.js";
|
|
77
77
|
import { default as default72 } from "./components/Card/index.js";
|
|
78
78
|
import { default as default73 } from "./components/ButtonGroup/index.js";
|
|
79
|
-
import { B } from "./index-
|
|
79
|
+
import { B } from "./index-CHzok6W_.js";
|
|
80
80
|
import { default as default74, buttonAutoWidth, buttonFullWidth } from "./components/Button/index.js";
|
|
81
81
|
import { default as default75 } from "./components/BottomBar/index.js";
|
|
82
82
|
import { default as default76, bodyAlignCenter, bodyAlignLeft, bodyAlignRight, bodyAligns, bodySizes, bodyTags, bodyWeights, isBodyProps, validateBodyProps } from "./components/Body/index.js";
|
|
@@ -112,17 +112,17 @@ import { useForcedColors } from "./hooks/useForcedColors/index.js";
|
|
|
112
112
|
import { useFocusWithin } from "./hooks/useFocusWithin/index.js";
|
|
113
113
|
import "react/jsx-runtime";
|
|
114
114
|
import "@contentful/live-preview/react";
|
|
115
|
-
import { L as L2 } from "./mapContentToComponents-
|
|
115
|
+
import { L as L2 } from "./mapContentToComponents-DLxIwtHo.js";
|
|
116
116
|
import { a as a5, l as l2 } from "./styled-BlHKbHF4.js";
|
|
117
|
-
import { a as a6, l as l3 } from "./styled-
|
|
117
|
+
import { a as a6, l as l3 } from "./styled-BBG87P4U.js";
|
|
118
118
|
import { a as a7, i as i2 } from "./props-DDpgcryb.js";
|
|
119
119
|
import { I as I2, f as f2, i as i3, g as g2, h, j, d as d3, c as c3, b as b3, e as e3, a as a8, k, l as l4 } from "./props-7dcsjRUx.js";
|
|
120
|
-
import { I as I3 } from "./styled-
|
|
121
|
-
import { a as a9, h as h2 } from "./styled-
|
|
122
|
-
import { e as e4, d as d4, c as c4, b as b4, f as f3, a as a10 } from "./styled-
|
|
123
|
-
import { C } from "./styled-
|
|
124
|
-
import { C as C2 } from "./styled-
|
|
125
|
-
import { B as B2, p as p2, s, a as a11, t } from "./styled-
|
|
120
|
+
import { I as I3 } from "./styled-B1bxWqtW.js";
|
|
121
|
+
import { a as a9, h as h2 } from "./styled-Dmb8-99g.js";
|
|
122
|
+
import { e as e4, d as d4, c as c4, b as b4, f as f3, a as a10 } from "./styled-O5mL4jlL.js";
|
|
123
|
+
import { C } from "./styled-BXtzJJFu.js";
|
|
124
|
+
import { C as C2 } from "./styled-CE_Y6O4R.js";
|
|
125
|
+
import { B as B2, p as p2, s, a as a11, t } from "./styled-BBO2jrba.js";
|
|
126
126
|
export {
|
|
127
127
|
default79 as Accordion,
|
|
128
128
|
default78 as AccordionGroup,
|
|
@@ -8,26 +8,26 @@ import LinkList from "./components/LinkList/index.js";
|
|
|
8
8
|
import RichTextContentful from "./components/RichtTextContentful/index.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import "./NotificationErrorIcon-DMnAJgPN.js";
|
|
11
|
-
import "./styled-
|
|
11
|
+
import "./styled-B1bxWqtW.js";
|
|
12
12
|
import "html-react-parser";
|
|
13
|
-
import "./styled-
|
|
13
|
+
import "./styled-BBO2jrba.js";
|
|
14
14
|
import { isBadgeProps } from "./components/Badge/index.js";
|
|
15
15
|
import { i as isObject, h as hasMatchingComponentName } from "./isObject-cuWKq2kY.js";
|
|
16
16
|
import { useContentfulInspectorMode } from "@contentful/live-preview/react";
|
|
17
17
|
import "./components/ScreenreaderOnly/index.js";
|
|
18
18
|
import "./components/FootnoteLink/index.js";
|
|
19
|
-
import "./styled-
|
|
19
|
+
import "./styled-BXtzJJFu.js";
|
|
20
20
|
import "react";
|
|
21
|
-
import "./styled-
|
|
22
|
-
import "./styled-
|
|
21
|
+
import "./styled-Cz2kpbgE.js";
|
|
22
|
+
import "./styled-Dmb8-99g.js";
|
|
23
23
|
import "./hooks/useLinkComponent/index.js";
|
|
24
|
-
import { l as linkListItemVariantVertical, a as linkListItemVariantHorizontal } from "./styled-
|
|
24
|
+
import { l as linkListItemVariantVertical, a as linkListItemVariantHorizontal } from "./styled-BBG87P4U.js";
|
|
25
25
|
import { l as linkListVariantRow, a as linkListVariantColumn } from "./styled-BlHKbHF4.js";
|
|
26
|
-
import "./styled-
|
|
27
|
-
import "./styled-
|
|
26
|
+
import "./styled-VuUKI7PE.js";
|
|
27
|
+
import "./styled-BKWEE3dx.js";
|
|
28
28
|
import "./components/InlineLink/index.js";
|
|
29
|
-
import "./TableHead-
|
|
30
|
-
import "./styled-
|
|
29
|
+
import "./TableHead-C2zQ4jce.js";
|
|
30
|
+
import "./styled-BYYivuzh.js";
|
|
31
31
|
const validateLegibleContent = (check) => {
|
|
32
32
|
var _a, _b, _c, _d;
|
|
33
33
|
if (null === check) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import { a as filterProps } from "./filterProps-
|
|
2
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
3
3
|
import { l as inlineIconModeStroke, I as IconWithAccent } from "./props-7dcsjRUx.js";
|
|
4
4
|
const InlineIconStyled = styled.svg.withConfig({
|
|
5
5
|
shouldForwardProp: filterProps(),
|
|
@@ -16,12 +16,12 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
|
16
16
|
import { c as colorBorderFocus, f as colorBorderSubtle } from "./BorderColor-CYdSW9dg.js";
|
|
17
17
|
import { b as borderRadiusMd, a as borderRadiusNone } from "./BorderRadius-ClUShVLu.js";
|
|
18
18
|
import { a as borderWidthFocus, d as borderWidthSm } from "./BorderWidth-eg_mz82k.js";
|
|
19
|
-
import {
|
|
19
|
+
import { a as textHeadingXs } from "./HeadingSize-CqqUYZWV.js";
|
|
20
20
|
import { b as colorIconBrand } from "./IconColor-CtC9WUgr.js";
|
|
21
21
|
import { a as spacingMd, b as spacingXs, s as spacingNone } from "./Spacing-BMQelJYr.js";
|
|
22
22
|
import { a as colorTextNeutral, f as colorTextBrand } from "./TextColor-DsntmDNw.js";
|
|
23
|
-
import { a as filterProps } from "./filterProps-
|
|
24
|
-
import { C as CardAppearanceColor } from "./styled-
|
|
23
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
24
|
+
import { C as CardAppearanceColor } from "./styled-CE_Y6O4R.js";
|
|
25
25
|
const linkListItemVariantVertical = "vertical";
|
|
26
26
|
const linkListItemVariantHorizontal = "horizontal";
|
|
27
27
|
const focusStyles = {
|
|
@@ -12,7 +12,7 @@ import { s as smallSize, m as mediumSize } from "./SizeTypes-Ck_RdzIf.js";
|
|
|
12
12
|
import { b as spacingXs, e as spacing2Xs, c as spacingSm, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
13
13
|
import { a as textBodySm, t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
14
14
|
import { g as getForegroundColor } from "./colorUtils-lb0oJttx.js";
|
|
15
|
-
import { a as filterProps } from "./filterProps-
|
|
15
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
16
16
|
import { e as colorObjectSuccess, c as colorObjectNeutral, f as colorObjectAccent, a as colorObjectBrand } from "./ObjectColor-0RAzLGI5.js";
|
|
17
17
|
const primaryBadgeAppearance = "primary";
|
|
18
18
|
const secondaryBadgeAppearance = "secondary";
|
|
@@ -5,7 +5,7 @@ import { getBorderWidth } from "./foundations/token/getBorderWidth/index.js";
|
|
|
5
5
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
6
6
|
import { f as colorBorderSubtle } from "./BorderColor-CYdSW9dg.js";
|
|
7
7
|
import { a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
8
|
-
import { a as filterProps } from "./filterProps-
|
|
8
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
9
9
|
const DividerLineStyled = styled.hr.withConfig({
|
|
10
10
|
shouldForwardProp: filterProps(),
|
|
11
11
|
displayName: "DividerLineStyled",
|
|
@@ -14,7 +14,7 @@ import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
|
|
|
14
14
|
import { b as borderWidthUnselected } from "./BorderWidth-eg_mz82k.js";
|
|
15
15
|
import { c as spacingSm, b as spacingXs } from "./Spacing-BMQelJYr.js";
|
|
16
16
|
import { c as colorTextPlaceholder, a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
17
|
-
import { a as filterProps } from "./filterProps-
|
|
17
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
18
18
|
const InputWrapperStyled = styled.div.withConfig({
|
|
19
19
|
shouldForwardProp: filterProps(["readOnly"]),
|
|
20
20
|
displayName: "InputWrapperStyled",
|
|
@@ -8,7 +8,7 @@ import { f as colorBorderSubtle } from "./BorderColor-CYdSW9dg.js";
|
|
|
8
8
|
import { e as borderWidthDivider } from "./BorderWidth-eg_mz82k.js";
|
|
9
9
|
import { d as spacingXl, a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
10
10
|
import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
11
|
-
import { a as filterProps } from "./filterProps-
|
|
11
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
12
12
|
import { e as colorBackgroundBrand, f as colorBackgroundBrandGradient, a as colorBackgroundSubtle, c as colorBackgroundNeutral } from "./BackgroundColor-DSOSZvNi.js";
|
|
13
13
|
const ContainerAppearanceColor = {
|
|
14
14
|
primary: colorBackgroundNeutral,
|
|
@@ -7,7 +7,7 @@ import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
|
7
7
|
import { f as fontWeightRegular } from "./FontWeight-C2pGs7aR.js";
|
|
8
8
|
import { a as spacingMd, s as spacingNone } from "./Spacing-BMQelJYr.js";
|
|
9
9
|
import { t as textBodyMd } from "./TextBodySize-BcZR9mh2.js";
|
|
10
|
-
import { a as filterProps } from "./filterProps-
|
|
10
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
11
11
|
const TextListItemStyled = styled.li.withConfig({
|
|
12
12
|
shouldForwardProp: filterProps(),
|
|
13
13
|
displayName: "TextListItemStyled",
|
|
@@ -9,7 +9,7 @@ import { getTextColor } from "./foundations/token/getTextColor/index.js";
|
|
|
9
9
|
import { b as borderRadiusMd } from "./BorderRadius-ClUShVLu.js";
|
|
10
10
|
import { a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
11
11
|
import { a as colorTextNeutral } from "./TextColor-DsntmDNw.js";
|
|
12
|
-
import { a as filterProps } from "./filterProps-
|
|
12
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
13
13
|
import { g as getCssVar } from "./getCssVar-BP6T9pFM.js";
|
|
14
14
|
import { f as colorBackgroundBrandGradient, c as colorBackgroundNeutral } from "./BackgroundColor-DSOSZvNi.js";
|
|
15
15
|
const CardAppearanceColor = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
|
-
import { a as CardStyled } from "./styled-
|
|
3
|
-
import { D as DemoBoxStyled } from "./styled-
|
|
2
|
+
import { a as CardStyled } from "./styled-CE_Y6O4R.js";
|
|
3
|
+
import { D as DemoBoxStyled } from "./styled-Dr-tPBqx.js";
|
|
4
4
|
import { v as viewport } from "./index-Ck2bCrhT.js";
|
|
5
5
|
import { getSpacing } from "./foundations/token/getSpacing/index.js";
|
|
6
6
|
import { a as spacingMd } from "./Spacing-BMQelJYr.js";
|
|
7
7
|
import { getBottomSpacing } from "./foundations/token/getBottomSpacing/index.js";
|
|
8
|
-
import { a as filterProps } from "./filterProps-
|
|
8
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
9
9
|
const getColumnWidth = ({
|
|
10
10
|
sm,
|
|
11
11
|
md,
|
|
@@ -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 } from "./Spacing-BMQelJYr.js";
|
|
5
|
-
import { a as filterProps } from "./filterProps-
|
|
5
|
+
import { a as filterProps } from "./filterProps-BWnAPYBL.js";
|
|
6
6
|
const GridStyled = styled.div.withConfig({
|
|
7
7
|
shouldForwardProp: filterProps(),
|
|
8
8
|
displayName: "GridStyled",
|
|
@@ -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
|
-
};
|