@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
|
@@ -20,6 +20,9 @@ const TableStyled = styled.table.withConfig({
|
|
|
20
20
|
displayName: "TableStyled",
|
|
21
21
|
componentId: "sc-wxnzfr-1"
|
|
22
22
|
})({
|
|
23
|
+
all: "unset",
|
|
24
|
+
// Reset all inherited styles
|
|
25
|
+
display: "table",
|
|
23
26
|
width: "100%",
|
|
24
27
|
overflow: "auto"
|
|
25
28
|
});
|
|
@@ -27,13 +30,33 @@ const cellAlign = {
|
|
|
27
30
|
left: "left",
|
|
28
31
|
right: "right"
|
|
29
32
|
};
|
|
33
|
+
const TableHeadStyled = styled.thead.withConfig({
|
|
34
|
+
displayName: "TableHeadStyled",
|
|
35
|
+
componentId: "sc-wxnzfr-2"
|
|
36
|
+
})({
|
|
37
|
+
all: "unset",
|
|
38
|
+
// Reset all inherited styles for thead
|
|
39
|
+
display: "table-header-group"
|
|
40
|
+
});
|
|
41
|
+
const TableRowStyled = styled.tr.withConfig({
|
|
42
|
+
displayName: "TableRowStyled",
|
|
43
|
+
componentId: "sc-wxnzfr-3"
|
|
44
|
+
})({
|
|
45
|
+
all: "unset",
|
|
46
|
+
// Reset all inherited styles for tr
|
|
47
|
+
display: "table-row"
|
|
48
|
+
});
|
|
30
49
|
const TableCellStyled = styled.td.withConfig({
|
|
31
50
|
displayName: "TableCellStyled",
|
|
32
|
-
componentId: "sc-wxnzfr-
|
|
51
|
+
componentId: "sc-wxnzfr-4"
|
|
33
52
|
})(({
|
|
34
53
|
align,
|
|
35
54
|
as
|
|
36
55
|
}) => ({
|
|
56
|
+
all: "unset",
|
|
57
|
+
// Reset all inherited styles for cell
|
|
58
|
+
display: "table-cell",
|
|
59
|
+
boxSizing: "border-box",
|
|
37
60
|
padding: `${getSpacing(spacingSm)}`,
|
|
38
61
|
textAlign: cellAlign[align],
|
|
39
62
|
color: getTextColor(colorTextNeutral),
|
|
@@ -76,7 +99,7 @@ const TableBody = ({
|
|
|
76
99
|
const {
|
|
77
100
|
columns
|
|
78
101
|
} = useContext(TableContext);
|
|
79
|
-
return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx(
|
|
102
|
+
return /* @__PURE__ */ jsx("tbody", { children: rows.map((row) => /* @__PURE__ */ jsx(TableRowStyled, { children: row.cells.map((cell, i) => {
|
|
80
103
|
var _a;
|
|
81
104
|
const align = ((_a = columns == null ? void 0 : columns[i]) == null ? void 0 : _a.align) || "left";
|
|
82
105
|
if (sideHeader && i === 0) {
|
|
@@ -88,13 +111,13 @@ const TableBody = ({
|
|
|
88
111
|
TableBody.displayName = "TableBody";
|
|
89
112
|
const TableFoot = ({
|
|
90
113
|
cells
|
|
91
|
-
}) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx(
|
|
114
|
+
}) => /* @__PURE__ */ jsx("tfoot", { children: /* @__PURE__ */ jsx(TableRowStyled, { children: cells.map((cell, i) => /* @__PURE__ */ jsx(TableCell, { ...cell, as: "td", children: cell.children }, "foot-" + i)) }) });
|
|
92
115
|
TableFoot.displayName = "TableFoot";
|
|
93
116
|
const TableHead = ({
|
|
94
117
|
columns
|
|
95
118
|
}) => {
|
|
96
119
|
if (!columns) return null;
|
|
97
|
-
return /* @__PURE__ */ jsx(
|
|
120
|
+
return /* @__PURE__ */ jsx(TableHeadStyled, { children: /* @__PURE__ */ jsx(TableRowStyled, { children: columns.map((col) => /* @__PURE__ */ jsx(TableCell, { align: col.align, as: "th", scope: "col", children: col.label }, col.key)) }) });
|
|
98
121
|
};
|
|
99
122
|
TableHead.displayName = "TableHead";
|
|
100
123
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Children, isValidElement } from "react";
|
|
3
|
-
import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-
|
|
3
|
+
import { e as TableProvider, f as TableWrapperDiv, g as TableStyled } from "./TableHead-C2zQ4jce.js";
|
|
4
4
|
const allowedTypes = ["TableHead", "TableBody", "TableFoot"];
|
|
5
5
|
const TableWrapper = ({
|
|
6
6
|
children,
|
|
@@ -4,7 +4,7 @@ import { useRef, useState, useEffect } from "react";
|
|
|
4
4
|
import Collapsible from "../Collapsible/index.js";
|
|
5
5
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
6
6
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import { bf as ChevronDownIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import Heading from "../Heading/index.js";
|
|
@@ -22,7 +22,7 @@ import { f as borderWidthNone, b as borderWidthUnselected, a as borderWidthFocus
|
|
|
22
22
|
import { f as fontWeightRegular, a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
23
23
|
import { a as spacingMd, s as spacingNone, b as spacingXs } from "../../Spacing-BMQelJYr.js";
|
|
24
24
|
import { a as colorTextNeutral, f as colorTextBrand } from "../../TextColor-DsntmDNw.js";
|
|
25
|
-
import { a as filterProps } from "../../filterProps-
|
|
25
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
26
26
|
const accordionToggleExpanded = "expanded";
|
|
27
27
|
const accordionToggleCollapsing = "collapsing";
|
|
28
28
|
const accordionToggleCollapsed = "collapsed";
|
|
@@ -5,7 +5,7 @@ import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import styled from "styled-components";
|
|
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 AccordionGroupSingleExpand = ({
|
|
10
10
|
bottomSpacing = spacingMd,
|
|
11
11
|
...props
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
3
|
import { b as iconNames, I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
4
4
|
import { a as iconSizeXs, b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
5
|
-
import "../../styled-
|
|
5
|
+
import "../../styled-B1bxWqtW.js";
|
|
6
6
|
import { s as smallSize, m as mediumSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
7
7
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
8
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
9
|
-
import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-
|
|
10
|
-
import { B } from "../../styled-
|
|
9
|
+
import { p as primaryBadgeAppearance, s as secondaryBadgeAppearance, t as tertiaryBadgeAppearance, a as successBadgeAppearance, b as BadgeStyled } from "../../styled-BBO2jrba.js";
|
|
10
|
+
import { B } from "../../styled-BBO2jrba.js";
|
|
11
11
|
const badgeAppearances = [primaryBadgeAppearance, secondaryBadgeAppearance, tertiaryBadgeAppearance, successBadgeAppearance];
|
|
12
12
|
const badgeSizes = [smallSize, mediumSize];
|
|
13
13
|
const validateBadgeProps = (props) => {
|
|
@@ -11,7 +11,7 @@ import { getFontWeight } from "../../foundations/token/getFontWeight/index.js";
|
|
|
11
11
|
import { getTextColor } from "../../foundations/token/getTextColor/index.js";
|
|
12
12
|
import { a as fontWeightBold, b as fontWeightLight, f as fontWeightRegular } from "../../FontWeight-C2pGs7aR.js";
|
|
13
13
|
import { a as colorTextNeutral } from "../../TextColor-DsntmDNw.js";
|
|
14
|
-
import { a as filterProps } from "../../filterProps-
|
|
14
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
15
15
|
import { p as pTagName, d as divTagName, s as spanTagName, q as strongTagName, r as supTagName } from "../../tags-38kBhOn6.js";
|
|
16
16
|
const BodyStyled = styled.p.withConfig({
|
|
17
17
|
shouldForwardProp: filterProps(),
|
|
@@ -4,11 +4,11 @@ import { useRef, useState, useEffect } from "react";
|
|
|
4
4
|
import Container from "../Container/index.js";
|
|
5
5
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { a as CardStyled } from "../../styled-
|
|
7
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
8
8
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
9
9
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
10
10
|
import { a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const bottomBarExtraPadding = 100;
|
|
13
13
|
const BottomBarStyled = styled(CardStyled).withConfig({
|
|
14
14
|
shouldForwardProp: filterProps(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-
|
|
3
|
+
import { B as ButtonAsLink, g as getButtonIcon } from "../../index-CHzok6W_.js";
|
|
4
4
|
import { r as renderInlineRichTextFromOpenText } from "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
5
|
-
import { B as ButtonStyled } from "../../styled-
|
|
5
|
+
import { B as ButtonStyled } from "../../styled-Dgv3RBlg.js";
|
|
6
6
|
const buttonFullWidth = "full";
|
|
7
7
|
const buttonAutoWidth = "auto";
|
|
8
8
|
const isButtonAsLinkProp = (props) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
|
-
import { B } from "../../index-
|
|
3
|
+
import { B } from "../../index-CHzok6W_.js";
|
|
4
4
|
import "../../hooks/useLinkComponent/index.js";
|
|
5
|
-
import "../../filterProps-
|
|
5
|
+
import "../../filterProps-BWnAPYBL.js";
|
|
6
6
|
import "../../renderInlineRichTextFromOpenText-RvOG3QbI.js";
|
|
7
7
|
import "../../sanitizeLinkProps-D2Kkovy1.js";
|
|
8
8
|
export {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import Button from "../Button/index.js";
|
|
4
4
|
import Flex from "../Flex/index.js";
|
|
5
|
-
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-
|
|
5
|
+
import { f as flexOrientationHorizontal, b as flexJustifyStart } from "../../styled-O5mL4jlL.js";
|
|
6
6
|
import FlexItem from "../FlexItem/index.js";
|
|
7
7
|
import { c as spacingSm, a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
8
|
import { u as useViewport } from "../../index-G2mpsxF7.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { d as divTagName } from "../../tags-38kBhOn6.js";
|
|
4
|
-
import { a as CardStyled } from "../../styled-
|
|
5
|
-
import { C } from "../../styled-
|
|
4
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
5
|
+
import { C } from "../../styled-CE_Y6O4R.js";
|
|
6
6
|
const Card = ({
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
@@ -6,9 +6,9 @@ import { useFocusWithin } from "../../hooks/useFocusWithin/index.js";
|
|
|
6
6
|
import { l as liTagName, u as ulTagName } from "../../tags-38kBhOn6.js";
|
|
7
7
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
8
8
|
import styled from "styled-components";
|
|
9
|
-
import { a as CardStyled } from "../../styled-
|
|
10
|
-
import { G as GridStyled } from "../../styled-
|
|
11
|
-
import { G as GridItemStyled } from "../../styled-
|
|
9
|
+
import { a as CardStyled } from "../../styled-CE_Y6O4R.js";
|
|
10
|
+
import { G as GridStyled } from "../../styled-DGMsuBML.js";
|
|
11
|
+
import { G as GridItemStyled } from "../../styled-Cz2kpbgE.js";
|
|
12
12
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
13
13
|
import { getBorderRadius } from "../../foundations/token/getBorderRadius/index.js";
|
|
14
14
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
@@ -16,7 +16,7 @@ import { getObjectColor } from "../../foundations/token/getObjectColor/index.js"
|
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
17
|
import { c as borderRadiusFull } from "../../BorderRadius-ClUShVLu.js";
|
|
18
18
|
import { a as colorObjectBrand, g as colorObjectUnselected } from "../../ObjectColor-0RAzLGI5.js";
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
19
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
20
20
|
import IconButton from "../IconButton/index.js";
|
|
21
21
|
import ScreenreaderOnly from "../ScreenreaderOnly/index.js";
|
|
22
22
|
const getItems = (items, loop) => {
|
|
@@ -4,7 +4,7 @@ import { N as NotificationErrorIcon } from "../../NotificationErrorIcon-DMnAJgPN
|
|
|
4
4
|
import { useState, useEffect } from "react";
|
|
5
5
|
import FormHelperMessage from "../FormHelperMessage/index.js";
|
|
6
6
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import { a as inputStateError } from "../../props-DDpgcryb.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import Label from "../Label/index.js";
|
|
@@ -23,7 +23,7 @@ import { d as borderRadiusSm } from "../../BorderRadius-ClUShVLu.js";
|
|
|
23
23
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
24
24
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
25
25
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
26
|
-
import { a as filterProps } from "../../filterProps-
|
|
26
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
27
27
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
28
28
|
const CheckboxLabelStyled = styled(Label).withConfig({
|
|
29
29
|
shouldForwardProp: filterProps(),
|
|
@@ -5,10 +5,10 @@ import Checkbox from "../Checkbox/index.js";
|
|
|
5
5
|
import Fieldset from "../Fieldset/index.js";
|
|
6
6
|
import { g as spacingLg, a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
|
-
import { F as FlexStyled } from "../../styled-
|
|
8
|
+
import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
|
|
9
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const CheckboxGroupStyled = styled(FlexStyled).withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CheckboxGroupStyled",
|
|
@@ -8,7 +8,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
9
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
10
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const CollapsibleStyled = styled.div.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
14
14
|
displayName: "CollapsibleStyled",
|
|
@@ -4,13 +4,13 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { a as getComputedBackgroundColor, p as parseColorToRgbObject, b as getContrastRatio } from "../../colorUtils-lb0oJttx.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
7
|
-
import "../../styled-
|
|
7
|
+
import "../../styled-B1bxWqtW.js";
|
|
8
8
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
9
9
|
import { getBorderColor } from "../../foundations/token/getBorderColor/index.js";
|
|
10
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
11
11
|
import { a as colorBorderNeutral } from "../../BorderColor-CYdSW9dg.js";
|
|
12
12
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
13
|
-
import { a as filterProps } from "../../filterProps-
|
|
13
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
14
14
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
15
15
|
const colorSwatchSizeSmall = "sm";
|
|
16
16
|
const colorSwatchSizeMedium = "md";
|
|
@@ -3,11 +3,11 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import ColorSwatch, { colorSwatchSizeSmall } from "../ColorSwatch/index.js";
|
|
4
4
|
import { a as spacingMd, e as spacing2Xs } from "../../Spacing-BMQelJYr.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { F as FlexStyled } from "../../styled-
|
|
6
|
+
import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
|
|
7
7
|
import { c as iconSizeMd } from "../../props-7dcsjRUx.js";
|
|
8
|
-
import "../../styled-
|
|
8
|
+
import "../../styled-B1bxWqtW.js";
|
|
9
9
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
10
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
11
11
|
import { g as getCssVar } from "../../getCssVar-BP6T9pFM.js";
|
|
12
12
|
const ColorSwatchListStyled = styled(FlexStyled).withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
@@ -4,15 +4,15 @@ import { useState, useEffect } from "react";
|
|
|
4
4
|
import Body, { bodyAlignCenter } from "../Body/index.js";
|
|
5
5
|
import Button, { buttonAutoWidth } from "../Button/index.js";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-
|
|
7
|
+
import { B as ButtonStyled, t as tertiaryAppearance } from "../../styled-Dgv3RBlg.js";
|
|
8
8
|
import { v as viewport } from "../../index-Ck2bCrhT.js";
|
|
9
9
|
import { getBackgroundColor } from "../../foundations/token/getBackgroundColor/index.js";
|
|
10
10
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
11
11
|
import { b as colorBackgroundOverlay } from "../../BackgroundColor-DSOSZvNi.js";
|
|
12
12
|
import { a as spacingMd, b as spacingXs, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
13
13
|
import Heading from "../Heading/index.js";
|
|
14
|
-
import { a as headingAlignCenter } from "../../styled-
|
|
15
|
-
import {
|
|
14
|
+
import { a as headingAlignCenter } from "../../styled-Dmb8-99g.js";
|
|
15
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
16
16
|
const ConsentMessageBackgroundStyled = styled.div.withConfig({
|
|
17
17
|
displayName: "ConsentMessageBackgroundStyled",
|
|
18
18
|
componentId: "sc-gbn604-0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-
|
|
4
|
-
import { C } from "../../styled-
|
|
3
|
+
import { a as ContainerBackgroundStyled, b as ContainerCenterStyled } from "../../styled-BXtzJJFu.js";
|
|
4
|
+
import { C } from "../../styled-BXtzJJFu.js";
|
|
5
5
|
import { s as spacingNone, d as spacingXl, f as spacing5Xl } from "../../Spacing-BMQelJYr.js";
|
|
6
6
|
const containerAppearances = ["primary", "secondary", "tertiary", "alternative"];
|
|
7
7
|
const containerPaddings = [spacingNone, spacingXl, spacing5Xl];
|
|
@@ -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 { a as inputStateError } from "../../props-DDpgcryb.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 { aW as CalendarMonthIcon } from "../../_5gPlusIcon-CnxmOo1u.js";
|
|
14
14
|
import styled from "styled-components";
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import IconSnippet from "../IconSnippet/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { a as textHeadingXs } from "../../HeadingSize-CqqUYZWV.js";
|
|
5
|
+
import { v4 } from "uuid";
|
|
6
|
+
import { D as DemoBoxStyled } from "../../styled-Dr-tPBqx.js";
|
|
7
|
+
const getUid = () => {
|
|
8
|
+
return v4();
|
|
9
|
+
};
|
|
6
10
|
const heading = {
|
|
11
|
+
uid: getUid(),
|
|
7
12
|
component: "Heading",
|
|
8
13
|
children: "Child component",
|
|
9
14
|
size: textHeadingXs
|
|
10
15
|
};
|
|
11
16
|
const richText = {
|
|
17
|
+
uid: getUid(),
|
|
12
18
|
component: "RichText",
|
|
13
19
|
html: "<p>This is a placeholder.</p>"
|
|
14
20
|
};
|
|
@@ -4,7 +4,7 @@ import { useState, useRef, useEffect } from "react";
|
|
|
4
4
|
import { createPortal } from "react-dom";
|
|
5
5
|
import Heading from "../Heading/index.js";
|
|
6
6
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
7
|
-
import {
|
|
7
|
+
import { t as textHeadingMd } from "../../HeadingSize-CqqUYZWV.js";
|
|
8
8
|
import { a as spacingMd, s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import ButtonGroup from "../ButtonGroup/index.js";
|
|
@@ -16,7 +16,7 @@ import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js"
|
|
|
16
16
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
17
17
|
import { d as colorBackgroundOverlayStatic } from "../../BackgroundColor-DSOSZvNi.js";
|
|
18
18
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
19
|
-
import { a as filterProps } from "../../filterProps-
|
|
19
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
20
20
|
const DialogOverlayStyled = styled.div.withConfig({
|
|
21
21
|
shouldForwardProp: filterProps(),
|
|
22
22
|
displayName: "DialogOverlayStyled",
|
|
@@ -5,31 +5,31 @@ import Badge from "../Badge/index.js";
|
|
|
5
5
|
import Body, { bodyAlignLeft, bodyAlignCenter } from "../Body/index.js";
|
|
6
6
|
import Heading from "../Heading/index.js";
|
|
7
7
|
import Link from "../Link/index.js";
|
|
8
|
-
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-
|
|
9
|
-
import { R as RichText } from "../../index-
|
|
8
|
+
import { P as Price, b as priceSizeSm, f as priceAlignLeft, g as priceAlignCenter, a as priceOrientationVertical } from "../../index-DLvMM1Dq.js";
|
|
9
|
+
import { R as RichText } from "../../index-CifS-Z_9.js";
|
|
10
10
|
import { a as fontWeightBold } from "../../FontWeight-C2pGs7aR.js";
|
|
11
|
-
import { b as textHeadingSm } from "../../HeadingSize-
|
|
11
|
+
import { b as textHeadingSm } from "../../HeadingSize-CqqUYZWV.js";
|
|
12
12
|
import { s as smallSize } from "../../SizeTypes-Ck_RdzIf.js";
|
|
13
13
|
import { a as spacingMd, s as spacingNone, b as spacingXs, c as spacingSm } from "../../Spacing-BMQelJYr.js";
|
|
14
14
|
import "../../NotificationErrorIcon-DMnAJgPN.js";
|
|
15
|
-
import "../../styled-
|
|
15
|
+
import "../../styled-B1bxWqtW.js";
|
|
16
16
|
import "html-react-parser";
|
|
17
|
-
import { b as BadgeStyled } from "../../styled-
|
|
17
|
+
import { b as BadgeStyled } from "../../styled-BBO2jrba.js";
|
|
18
18
|
import "../ScreenreaderOnly/index.js";
|
|
19
19
|
import "../FootnoteLink/index.js";
|
|
20
|
-
import "../../styled-
|
|
21
|
-
import "../../styled-
|
|
22
|
-
import { a as LinkStyled } from "../../index-
|
|
20
|
+
import "../../styled-Dmb8-99g.js";
|
|
21
|
+
import "../../styled-Dgv3RBlg.js";
|
|
22
|
+
import { a as LinkStyled } from "../../index-ByPSWRQ0.js";
|
|
23
23
|
import "../../hooks/useLinkComponent/index.js";
|
|
24
24
|
import "../InlineLink/index.js";
|
|
25
|
-
import "../../TableHead-
|
|
26
|
-
import "../../styled-
|
|
25
|
+
import "../../TableHead-C2zQ4jce.js";
|
|
26
|
+
import "../../styled-BYYivuzh.js";
|
|
27
27
|
import styled from "styled-components";
|
|
28
28
|
import Card from "../Card/index.js";
|
|
29
29
|
import Image, { aspectRatio16_9, aspectRatio1_1 } from "../Image/index.js";
|
|
30
30
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
31
31
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
32
|
-
import { a as filterProps } from "../../filterProps-
|
|
32
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
33
33
|
import { a as cornerRounded } from "../../CornerStyle-JEbGNArR.js";
|
|
34
34
|
const discoveryCardOrientationVertical = "vertical";
|
|
35
35
|
const discoveryCardOrientationHorizontal = "horizontal";
|
|
@@ -4,7 +4,7 @@ import styled from "styled-components";
|
|
|
4
4
|
import DiscoveryCard, { discoveryCardOrientationVertical } from "../DiscoveryCard/index.js";
|
|
5
5
|
import Grid from "../Grid/index.js";
|
|
6
6
|
import GridItem from "../GridItem/index.js";
|
|
7
|
-
import { a as LinkStyled } from "../../index-
|
|
7
|
+
import { a as LinkStyled } from "../../index-ByPSWRQ0.js";
|
|
8
8
|
import { getSpacing } from "../../foundations/token/getSpacing/index.js";
|
|
9
9
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
10
10
|
const DiscoveryCardGroupGridStyled = styled(Grid).withConfig({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { D as DividerLineStyled } from "../../styled-
|
|
3
|
+
import { D as DividerLineStyled } from "../../styled-BKWEE3dx.js";
|
|
4
4
|
const Divider = (props) => /* @__PURE__ */ jsx(DividerLineStyled, { ...props });
|
|
5
5
|
export {
|
|
6
6
|
Divider as default
|
|
@@ -8,7 +8,7 @@ import Legend from "../Legend/index.js";
|
|
|
8
8
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
11
|
-
import { a as filterProps } from "../../filterProps-
|
|
11
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
12
12
|
const fieldsetCssObject = {
|
|
13
13
|
// Chrome gives a fieldset a min-width equal to its content, so we need to reset it here
|
|
14
14
|
minWidth: "0px"
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import Fieldset from "../Fieldset/index.js";
|
|
5
5
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
6
|
-
import "../../styled-
|
|
6
|
+
import "../../styled-B1bxWqtW.js";
|
|
7
7
|
import styled from "styled-components";
|
|
8
8
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
9
9
|
import { s as screenreaderOnly } from "../../screenreaderOnly-Dv2v6MAr.js";
|
|
@@ -25,7 +25,7 @@ import { d as colorObjectSelected } from "../../ObjectColor-0RAzLGI5.js";
|
|
|
25
25
|
import { b as spacingXs, s as spacingNone, e as spacing2Xs, c as spacingSm } from "../../Spacing-BMQelJYr.js";
|
|
26
26
|
import { t as textBodyMd } from "../../TextBodySize-BcZR9mh2.js";
|
|
27
27
|
import { a as colorTextNeutral, b as colorTextInverseStatic } from "../../TextColor-DsntmDNw.js";
|
|
28
|
-
import { a as filterProps } from "../../filterProps-
|
|
28
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
29
29
|
const FilterGroupStyled = styled.div.withConfig({
|
|
30
30
|
shouldForwardProp: filterProps(),
|
|
31
31
|
displayName: "FilterGroupStyled",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { F as FlexStyled } from "../../styled-
|
|
4
|
-
import { e, d, c, b, f, a } from "../../styled-
|
|
3
|
+
import { F as FlexStyled } from "../../styled-O5mL4jlL.js";
|
|
4
|
+
import { e, d, c, b, f, a } from "../../styled-O5mL4jlL.js";
|
|
5
5
|
const Flex = ({
|
|
6
6
|
children,
|
|
7
7
|
...props
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { cloneElement } from "react";
|
|
4
4
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
|
-
import { a as filterProps } from "../../filterProps-
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
7
|
const flexItemFullGrow = "full";
|
|
8
8
|
const flexItemAutoGrow = "auto";
|
|
9
9
|
const FlexItemStyled = styled.div.withConfig({
|
|
@@ -7,7 +7,7 @@ import { getBorderColor } from "../../foundations/token/getBorderColor/index.js"
|
|
|
7
7
|
import { getBorderWidth } from "../../foundations/token/getBorderWidth/index.js";
|
|
8
8
|
import { c as colorBorderFocus } from "../../BorderColor-CYdSW9dg.js";
|
|
9
9
|
import { a as borderWidthFocus } from "../../BorderWidth-eg_mz82k.js";
|
|
10
|
-
import { a as filterProps } from "../../filterProps-
|
|
10
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
11
11
|
const rotate = keyframes(["0%{box-shadow:transparent 0px 0px 0px 0px;}50%{box-shadow:", " 0px 0px 2px ", ";}100%{box-shadow:transparent 0px 0px 0px 0px;}}"], getBorderColor(colorBorderFocus), getBorderWidth(borderWidthFocus));
|
|
12
12
|
const FootnoteContentStyled = styled.div.withConfig({
|
|
13
13
|
shouldForwardProp: filterProps(),
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { s as spacingNone } from "../../Spacing-BMQelJYr.js";
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
|
-
import { a as filterProps } from "../../filterProps-
|
|
6
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
7
7
|
const FormStyled = styled.form.withConfig({
|
|
8
8
|
shouldForwardProp: filterProps(),
|
|
9
9
|
displayName: "FormStyled",
|
|
@@ -5,7 +5,7 @@ import { getBodySize } from "../../foundations/token/getBodySize/index.js";
|
|
|
5
5
|
import { getBottomSpacing } from "../../foundations/token/getBottomSpacing/index.js";
|
|
6
6
|
import { getOpacity } from "../../foundations/token/getOpacity/index.js";
|
|
7
7
|
import { a as opacityDisabled } from "../../Opacity-smkGiwsf.js";
|
|
8
|
-
import { a as filterProps } from "../../filterProps-
|
|
8
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
9
9
|
const FormElementStyled = styled.div.withConfig({
|
|
10
10
|
shouldForwardProp: filterProps(),
|
|
11
11
|
displayName: "FormElementStyled",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { b as iconSizeSm } from "../../props-7dcsjRUx.js";
|
|
4
|
-
import "../../styled-
|
|
4
|
+
import "../../styled-B1bxWqtW.js";
|
|
5
5
|
import styled from "styled-components";
|
|
6
6
|
import { I as IconLoader } from "../../index-C3dW-7e_.js";
|
|
7
7
|
import forcedColors from "../../foundations/media-query/forcedColors/index.js";
|
|
@@ -15,7 +15,7 @@ import { f as colorBorderSubtle } from "../../BorderColor-CYdSW9dg.js";
|
|
|
15
15
|
import { b as borderRadiusMd, a as borderRadiusNone } from "../../BorderRadius-ClUShVLu.js";
|
|
16
16
|
import { d as borderWidthSm } from "../../BorderWidth-eg_mz82k.js";
|
|
17
17
|
import { c as cornerStraight } from "../../CornerStyle-JEbGNArR.js";
|
|
18
|
-
import { a as filterProps } from "../../filterProps-
|
|
18
|
+
import { a as filterProps } from "../../filterProps-BWnAPYBL.js";
|
|
19
19
|
const MapInner = ({
|
|
20
20
|
setMap,
|
|
21
21
|
children
|
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { createContext } from "react";
|
|
4
4
|
import { d as divTagName, u as ulTagName, o as olTagName } from "../../tags-38kBhOn6.js";
|
|
5
5
|
import { a as spacingMd } from "../../Spacing-BMQelJYr.js";
|
|
6
|
-
import { G as GridStyled } from "../../styled-
|
|
6
|
+
import { G as GridStyled } from "../../styled-DGMsuBML.js";
|
|
7
7
|
import { i as isObject, h as hasMatchingComponentName, a as isBottomSpacing } from "../../isObject-cuWKq2kY.js";
|
|
8
8
|
const gridTags = [divTagName, ulTagName, olTagName];
|
|
9
9
|
const gridAligns = ["left", "center", "right"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useContext } from "react";
|
|
4
|
-
import { d as divTagName, l as liTagName, n as navTagName, m as mainTagName, g as sectionTagName, i as asideTagName, j as articleTagName, u as ulTagName } from "../../tags-38kBhOn6.js";
|
|
4
|
+
import { d as divTagName, l as liTagName, n as navTagName, m as mainTagName, g as sectionTagName, i as asideTagName, j as articleTagName, u as ulTagName, o as olTagName } from "../../tags-38kBhOn6.js";
|
|
5
5
|
import { validateGridColSpan, GridContext } from "../Grid/index.js";
|
|
6
|
-
import { G as GridItemStyled } from "../../styled-
|
|
6
|
+
import { G as GridItemStyled } from "../../styled-Cz2kpbgE.js";
|
|
7
7
|
import { i as isObject, h as hasMatchingComponentName } from "../../isObject-cuWKq2kY.js";
|
|
8
8
|
const gridItemTags = [divTagName, liTagName, navTagName, mainTagName, sectionTagName, asideTagName, articleTagName];
|
|
9
9
|
const gridItemAligns = ["left", "center", "right"];
|
|
@@ -40,12 +40,13 @@ const isGridItemProps = (props) => {
|
|
|
40
40
|
};
|
|
41
41
|
const GridItem = ({
|
|
42
42
|
sm = 12,
|
|
43
|
+
tag = divTagName,
|
|
43
44
|
...props
|
|
44
45
|
}) => {
|
|
45
46
|
const gridTag = useContext(GridContext).tag;
|
|
46
47
|
const gridSpacing = useContext(GridContext).spacing;
|
|
47
48
|
const gridAutoLayout = useContext(GridContext).autoLayout;
|
|
48
|
-
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag === ulTagName ? liTagName :
|
|
49
|
+
return /* @__PURE__ */ jsx(GridItemStyled, { ...props, as: gridTag === ulTagName || gridTag === olTagName ? liTagName : tag, spacing: gridSpacing, sm, ...gridAutoLayout, children: props.children });
|
|
49
50
|
};
|
|
50
51
|
export {
|
|
51
52
|
GridItem as default,
|