@seamlessdocs/payment-modals 1.0.38 → 1.0.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamlessdocs/payment-modals",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "",
5
5
  "main": "build/payment-modals.js",
6
6
  "scripts": {
@@ -1,5 +1,13 @@
1
- .fullNameContainer {
1
+ .firstNameContainer {
2
2
  width: 100%;
3
+ margin-right: 7px;
4
+ }
5
+
6
+ .lastNameContainer {
7
+ width: 100%;
8
+ }
9
+
10
+ .accountTypeContainer {
3
11
  margin-bottom: 13px;
4
12
  }
5
13
 
@@ -25,7 +33,7 @@
25
33
  margin-right: 7px;
26
34
  }
27
35
 
28
- .numberInfoContainer {
36
+ .inputsContainer {
29
37
  display: flex;
30
38
 
31
39
  margin-bottom: 13px;
@@ -71,11 +79,15 @@
71
79
  }
72
80
 
73
81
  @media (max-width: 600px) {
74
- .numberInfoContainer {
82
+ .inputsContainer {
75
83
  flex-direction: column;
76
84
  }
77
85
 
78
86
  .routingNumberContainer {
79
87
  margin: 0 0 13px;
80
88
  }
89
+
90
+ .firstNameContainer {
91
+ margin: 0 0 13px;
92
+ }
81
93
  }
@@ -121,17 +121,19 @@ const ACHForm = ({ onPay }) => {
121
121
  >
122
122
  {({ isValid, submitCount, setFieldValue, setFieldTouched }) => (
123
123
  <Form>
124
- <div className={styles.fullNameContainer}>
125
- <FieldContainer name="firstName" label="First Name">
126
- {field => <input className={styles.input} type="text" {...field} />}
127
- </FieldContainer>
128
- </div>
129
- <div className={styles.fullNameContainer}>
130
- <FieldContainer name="lastName" label="Last Name">
131
- {field => <input className={styles.input} type="text" {...field} />}
132
- </FieldContainer>
124
+ <div className={styles.inputsContainer}>
125
+ <div className={styles.firstNameContainer}>
126
+ <FieldContainer name="firstName" label="First Name">
127
+ {field => <input className={styles.input} type="text" {...field} />}
128
+ </FieldContainer>
129
+ </div>
130
+ <div className={styles.lastNameContainer}>
131
+ <FieldContainer name="lastName" label="Last Name">
132
+ {field => <input className={styles.input} type="text" {...field} />}
133
+ </FieldContainer>
134
+ </div>
133
135
  </div>
134
- <div className={styles.numberInfoContainer}>
136
+ <div className={styles.inputsContainer}>
135
137
  <div className={styles.routingNumberContainer}>
136
138
  <FieldContainer name="routingNumber" label="Routing #">
137
139
  {field => <input className={styles.input} type="text" {...field} />}
@@ -144,7 +146,7 @@ const ACHForm = ({ onPay }) => {
144
146
  </div>
145
147
  </div>
146
148
 
147
- <div className={styles.fullNameContainer}>
149
+ <div className={styles.accountTypeContainer}>
148
150
  <FieldContainer name="accountType" label="Account Type">
149
151
  {field => (
150
152
  <Select
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
@@ -1,44 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <code_scheme name="Project" version="173">
3
- <JSCodeStyleSettings version="0">
4
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
5
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
6
- <option name="USE_DOUBLE_QUOTES" value="false" />
7
- <option name="FORCE_QUOTE_STYlE" value="true" />
8
- <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
9
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
10
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
11
- <option name="IMPORT_PREFER_ABSOLUTE_PATH" value="TRUE" />
12
- </JSCodeStyleSettings>
13
- <TypeScriptCodeStyleSettings version="0">
14
- <option name="FORCE_SEMICOLON_STYLE" value="true" />
15
- <option name="SPACE_BEFORE_FUNCTION_LEFT_PARENTH" value="false" />
16
- <option name="USE_DOUBLE_QUOTES" value="false" />
17
- <option name="FORCE_QUOTE_STYlE" value="true" />
18
- <option name="ENFORCE_TRAILING_COMMA" value="Remove" />
19
- <option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
20
- <option name="SPACES_WITHIN_IMPORTS" value="true" />
21
- </TypeScriptCodeStyleSettings>
22
- <codeStyleSettings language="JavaScript">
23
- <option name="SOFT_MARGINS" value="100" />
24
- <indentOptions>
25
- <option name="INDENT_SIZE" value="2" />
26
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
27
- <option name="TAB_SIZE" value="2" />
28
- </indentOptions>
29
- </codeStyleSettings>
30
- <codeStyleSettings language="SCSS">
31
- <indentOptions>
32
- <option name="INDENT_SIZE" value="4" />
33
- </indentOptions>
34
- </codeStyleSettings>
35
- <codeStyleSettings language="TypeScript">
36
- <option name="SOFT_MARGINS" value="100" />
37
- <indentOptions>
38
- <option name="INDENT_SIZE" value="2" />
39
- <option name="CONTINUATION_INDENT_SIZE" value="2" />
40
- <option name="TAB_SIZE" value="2" />
41
- </indentOptions>
42
- </codeStyleSettings>
43
- </code_scheme>
44
- </component>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
- </profile>
6
- </component>
package/.idea/misc.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptSettings">
4
- <option name="languageLevel" value="JSX" />
5
- </component>
6
- </project>
package/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/PaymentModals.iml" filepath="$PROJECT_DIR$/.idea/PaymentModals.iml" />
6
- </modules>
7
- </component>
8
- </project>
package/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>