@4alldigital/foundation-ui--core 3.5.0 → 3.5.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@4alldigital/foundation-ui--core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Foundation UI Core Component Library (source distribution)",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"author": "Joe Mewes",
|
|
34
34
|
"license": "MIT",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "e8ca79ab96c86064d214da737e4d87df759c1d29"
|
|
36
36
|
}
|
|
@@ -109,7 +109,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
109
109
|
{/* Full Name */}
|
|
110
110
|
<TextInput
|
|
111
111
|
id="shipping-name"
|
|
112
|
-
|
|
112
|
+
placeholder="Full Name"
|
|
113
113
|
value={address.name || ''}
|
|
114
114
|
onChange={(e) => handleChange('name', e.target.value)}
|
|
115
115
|
onBlur={() => handleBlur('name')}
|
|
@@ -121,7 +121,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
121
121
|
{/* Address Line 1 */}
|
|
122
122
|
<TextInput
|
|
123
123
|
id="shipping-line1"
|
|
124
|
-
|
|
124
|
+
placeholder="Street Address"
|
|
125
125
|
value={address.line1 || ''}
|
|
126
126
|
onChange={(e) => handleChange('line1', e.target.value)}
|
|
127
127
|
onBlur={() => handleBlur('line1')}
|
|
@@ -133,7 +133,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
133
133
|
{/* Address Line 2 */}
|
|
134
134
|
<TextInput
|
|
135
135
|
id="shipping-line2"
|
|
136
|
-
|
|
136
|
+
placeholder="Apartment, suite, etc. (optional)"
|
|
137
137
|
value={address.line2 || ''}
|
|
138
138
|
onChange={(e) => handleChange('line2', e.target.value)}
|
|
139
139
|
disabled={disabled}
|
|
@@ -143,7 +143,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
143
143
|
<div className="grid gap-4 sm:grid-cols-2">
|
|
144
144
|
<TextInput
|
|
145
145
|
id="shipping-city"
|
|
146
|
-
|
|
146
|
+
placeholder="City"
|
|
147
147
|
value={address.city || ''}
|
|
148
148
|
onChange={(e) => handleChange('city', e.target.value)}
|
|
149
149
|
onBlur={() => handleBlur('city')}
|
|
@@ -154,7 +154,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
154
154
|
|
|
155
155
|
<TextInput
|
|
156
156
|
id="shipping-state"
|
|
157
|
-
|
|
157
|
+
placeholder="State / County / Province"
|
|
158
158
|
value={address.state || ''}
|
|
159
159
|
onChange={(e) => handleChange('state', e.target.value)}
|
|
160
160
|
onBlur={() => handleBlur('state')}
|
|
@@ -168,7 +168,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
168
168
|
<div className="grid gap-4 sm:grid-cols-2">
|
|
169
169
|
<TextInput
|
|
170
170
|
id="shipping-postal-code"
|
|
171
|
-
|
|
171
|
+
placeholder="Postal / ZIP Code"
|
|
172
172
|
value={address.postal_code || ''}
|
|
173
173
|
onChange={(e) => handleChange('postal_code', e.target.value)}
|
|
174
174
|
onBlur={() => handleBlur('postal_code')}
|
|
@@ -179,7 +179,7 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
179
179
|
|
|
180
180
|
<FormSelect
|
|
181
181
|
id="shipping-country"
|
|
182
|
-
|
|
182
|
+
placeholder="Country"
|
|
183
183
|
value={address.country || ''}
|
|
184
184
|
onChange={(value) => handleChange('country', value)}
|
|
185
185
|
onBlur={() => handleBlur('country')}
|
|
@@ -193,8 +193,8 @@ export const AddressForm = React.forwardRef<HTMLDivElement, AddressFormProps>(
|
|
|
193
193
|
{/* Phone */}
|
|
194
194
|
<TextInput
|
|
195
195
|
id="shipping-phone"
|
|
196
|
-
label="Phone Number (Optional)"
|
|
197
196
|
type="tel"
|
|
197
|
+
placeholder="Phone Number (optional)"
|
|
198
198
|
value={address.phone || ''}
|
|
199
199
|
onChange={(e) => handleChange('phone', e.target.value)}
|
|
200
200
|
onBlur={() => handleBlur('phone')}
|