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