@thecb/components 7.13.2 → 7.13.3-beta.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.
- package/dist/index.cjs.js +124 -101
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +124 -101
- package/dist/index.esm.js.map +1 -1
- package/dist/src/apps/checkout/pages/payment/sub-pages/payment-amount/PaymentAmount_old.js +49322 -0
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +7 -5
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
package/package.json
CHANGED
package/src/.DS_Store
CHANGED
|
Binary file
|
|
@@ -24,7 +24,8 @@ const CollapsibleSection = ({
|
|
|
24
24
|
stackTitleContent,
|
|
25
25
|
sectionGap = "0.5rem",
|
|
26
26
|
name = "",
|
|
27
|
-
index = 1
|
|
27
|
+
index = 1,
|
|
28
|
+
headerEl = null
|
|
28
29
|
}) => {
|
|
29
30
|
const handleKeyDown = e => {
|
|
30
31
|
if (e.keyCode === 13) {
|
|
@@ -94,8 +95,8 @@ const CollapsibleSection = ({
|
|
|
94
95
|
>
|
|
95
96
|
<Cluster justify="space-between" align="center">
|
|
96
97
|
{customTitle ? (
|
|
97
|
-
<Box width="calc(100% - 36px)" padding="0px">
|
|
98
|
-
{title}
|
|
98
|
+
<Box width="calc(100% - 36px)" padding="0px" id="cristin">
|
|
99
|
+
{headerEl ? headerEl : title}
|
|
99
100
|
</Box>
|
|
100
101
|
) : (
|
|
101
102
|
<Title
|
|
@@ -103,15 +104,16 @@ const CollapsibleSection = ({
|
|
|
103
104
|
color={themeValues.titleColor}
|
|
104
105
|
as="h6"
|
|
105
106
|
variant="small"
|
|
107
|
+
id="cristin"
|
|
106
108
|
>
|
|
107
|
-
{title}
|
|
109
|
+
{headerEl ? headerEl : title}
|
|
108
110
|
</Title>
|
|
109
111
|
)}
|
|
110
112
|
<Motion
|
|
111
113
|
variants={icon}
|
|
112
114
|
extraStyles={`display: flex; align-items: center;`}
|
|
113
115
|
>
|
|
114
|
-
<ChevronIcon />
|
|
116
|
+
<ChevronIcon color={iconColor ? iconColor : null} />
|
|
115
117
|
</Motion>
|
|
116
118
|
</Cluster>
|
|
117
119
|
</Box>
|
|
Binary file
|
|
Binary file
|