@thecb/components 3.3.8-beta.0 → 3.3.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/index.cjs.js +15754 -14144
- package/package.json +3 -3
- package/src/components/atoms/add-obligation/AddObligation.js +64 -0
- package/src/components/atoms/add-obligation/AddObligation.stories.js +18 -0
- package/src/components/atoms/add-obligation/AddObligation.theme.js +9 -0
- package/src/components/atoms/add-obligation/index.js +3 -0
- package/src/components/atoms/button-with-link/ButtonWithLink.js +1 -1
- package/src/components/atoms/form-layouts/FormInput.js +1 -0
- package/src/components/atoms/heading/Heading.js +2 -0
- package/src/components/atoms/icons/IconAdd.js +36 -0
- package/src/components/atoms/icons/index.js +3 -1
- package/src/components/atoms/index.js +1 -0
- package/src/components/atoms/layouts/Cover.js +1 -1
- package/src/components/atoms/layouts/Cover.styled.js +0 -1
- package/src/components/atoms/layouts/Imposter.styled.js +0 -1
- package/src/components/atoms/paragraph/Paragraph.js +2 -0
- package/src/components/atoms/placeholder/Placeholder.js +77 -60
- package/src/components/molecules/email-form/EmailForm.js +1 -14
- package/src/components/molecules/email-form/EmailForm.state.js +1 -9
- package/src/components/molecules/nav-menu/NavMenu.theme.js +3 -1
- package/src/components/molecules/nav-menu/NavMenuDesktop.js +1 -1
- package/src/components/molecules/partial-amount-form/PartialAmountForm.state.js +2 -1
- package/src/components/molecules/radio-section/RadioSection.js +2 -1
- package/src/components/templates/center-single/CenterSingle.js +7 -5
- package/src/components/templates/center-stack/CenterStack.js +7 -2
- package/src/components/templates/default-page-template/DefaultPageTemplate.js +7 -2
- package/src/components/templates/sidebar-single-content/SidebarSingleContent.js +7 -2
- package/src/components/templates/sidebar-stack-content/SidebarStackContent.js +2 -5
- package/src/deprecated/icons/index.js +0 -2
- package/src/util/index.js +2 -1
- package/src/deprecated/icons/IconAdd.js +0 -44
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { WHITE, CHARADE_GREY } from "../../constants/colors";
|
|
3
|
-
|
|
4
|
-
export const IconAdd = ({ fill = CHARADE_GREY, iconID, isMobile }) => (
|
|
5
|
-
<svg
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
8
|
-
width="18"
|
|
9
|
-
height="18"
|
|
10
|
-
viewBox={isMobile ? "0 -0.25 20 20" : "-0.5 -0.5 18 18"}
|
|
11
|
-
id={`icon-add-${iconID}`}
|
|
12
|
-
>
|
|
13
|
-
<defs>
|
|
14
|
-
<path
|
|
15
|
-
id="path-1"
|
|
16
|
-
d="M9.91666623 6.78508747L6.78508747 6.78508747 6.78508747 9.91666623 5.74122788 9.91666623 5.74122788 6.78508747 2.60964912 6.78508747 2.60964912 5.74122788 5.74122788 5.74122788 5.74122788 2.60964912 6.78508747 2.60964912 6.78508747 5.74122788 9.91666623 5.74122788z"
|
|
17
|
-
></path>
|
|
18
|
-
</defs>
|
|
19
|
-
<g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
20
|
-
<g transform="translate(-383 -15)">
|
|
21
|
-
<g transform="translate(384 16)">
|
|
22
|
-
<g>
|
|
23
|
-
<g transform="translate(1.94 1.858)">
|
|
24
|
-
<mask id="mask-2" fill={WHITE}>
|
|
25
|
-
<use xlinkHref="#path-1"></use>
|
|
26
|
-
</mask>
|
|
27
|
-
<use fill="#000" fillRule="evenodd" xlinkHref="#path-1"></use>
|
|
28
|
-
<g fill={fill} fillRule="evenodd" mask="url(#mask-2)">
|
|
29
|
-
<path d="M0 0H12.526V12.526H0z"></path>
|
|
30
|
-
</g>
|
|
31
|
-
</g>
|
|
32
|
-
<circle
|
|
33
|
-
cx="8.155"
|
|
34
|
-
cy="8.072"
|
|
35
|
-
r="8"
|
|
36
|
-
stroke={fill}
|
|
37
|
-
strokeWidth="0.644"
|
|
38
|
-
></circle>
|
|
39
|
-
</g>
|
|
40
|
-
</g>
|
|
41
|
-
</g>
|
|
42
|
-
</g>
|
|
43
|
-
</svg>
|
|
44
|
-
);
|