Skip to content

Commit e424d99

Browse files
committed
fix(test): update snapshot and remove component
1 parent 20c6fc3 commit e424d99

2 files changed

Lines changed: 0 additions & 282 deletions

File tree

src/components/Modal/ModalContent.tsx

Lines changed: 0 additions & 24 deletions
This file was deleted.

tests/__snapshots__/snapshot.test.js.snap

Lines changed: 0 additions & 258 deletions
Original file line numberDiff line numberDiff line change
@@ -9668,264 +9668,6 @@ exports[`Paragraph_4 1`] = `
96689668

96699669
exports[`Paragraph_5 1`] = `<div />`;
96709670

9671-
exports[`PhoneNumberInput_0 1`] = `
9672-
<h3>
9673-
Usage
9674-
</h3>
9675-
`;
9676-
9677-
exports[`PhoneNumberInput_1 1`] = `
9678-
<div>
9679-
<div
9680-
className="css-view-1dbjc4n"
9681-
style={
9682-
Object {
9683-
"WebkitBoxDirection": "normal",
9684-
"WebkitBoxOrient": "horizontal",
9685-
"WebkitFlexDirection": "row",
9686-
"flexDirection": "row",
9687-
"msFlexDirection": "row",
9688-
}
9689-
}
9690-
>
9691-
<div
9692-
className="css-cursor-18t94o4 css-view-1dbjc4n"
9693-
data-focusable={true}
9694-
disabled={false}
9695-
onKeyDown={[Function]}
9696-
onKeyPress={[Function]}
9697-
onKeyUp={[Function]}
9698-
onResponderGrant={[Function]}
9699-
onResponderMove={[Function]}
9700-
onResponderRelease={[Function]}
9701-
onResponderTerminate={[Function]}
9702-
onResponderTerminationRequest={[Function]}
9703-
onStartShouldSetResponder={[Function]}
9704-
role="button"
9705-
style={
9706-
Object {
9707-
"MozUserSelect": "none",
9708-
"WebkitUserSelect": "none",
9709-
"backgroundColor": "rgba(255,255,255,1.00)",
9710-
"borderBottomColor": "rgba(238,238,238,1.00)",
9711-
"borderBottomLeftRadius": "4px",
9712-
"borderBottomRightRadius": "0px",
9713-
"borderBottomWidth": "1px",
9714-
"borderLeftColor": "rgba(238,238,238,1.00)",
9715-
"borderLeftWidth": "1px",
9716-
"borderRightColor": "rgba(238,238,238,1.00)",
9717-
"borderRightWidth": "1px",
9718-
"borderTopColor": "rgba(238,238,238,1.00)",
9719-
"borderTopLeftRadius": "4px",
9720-
"borderTopRightRadius": "0px",
9721-
"borderTopWidth": "1px",
9722-
"cursor": "pointer",
9723-
"height": "48px",
9724-
"msTouchAction": "manipulation",
9725-
"msUserSelect": "none",
9726-
"paddingLeft": "32px",
9727-
"paddingRight": "32px",
9728-
"touchAction": "manipulation",
9729-
"userSelect": "none",
9730-
}
9731-
}
9732-
tabIndex="0"
9733-
>
9734-
<div
9735-
className="css-view-1dbjc4n"
9736-
style={
9737-
Object {
9738-
"WebkitAlignItems": "center",
9739-
"WebkitBoxAlign": "center",
9740-
"WebkitBoxDirection": "normal",
9741-
"WebkitBoxOrient": "horizontal",
9742-
"WebkitBoxPack": "center",
9743-
"WebkitFlexDirection": "row",
9744-
"WebkitJustifyContent": "center",
9745-
"alignItems": "center",
9746-
"flexDirection": "row",
9747-
"height": "100%",
9748-
"justifyContent": "center",
9749-
"msFlexAlign": "center",
9750-
"msFlexDirection": "row",
9751-
"msFlexPack": "center",
9752-
}
9753-
}
9754-
>
9755-
<div
9756-
className="css-view-1dbjc4n"
9757-
style={
9758-
Object {
9759-
"paddingLeft": "0px",
9760-
"paddingRight": "8px",
9761-
}
9762-
}
9763-
>
9764-
<div
9765-
className="css-text-76zvg2"
9766-
dir="auto"
9767-
style={
9768-
Object {
9769-
"WebkitAlignItems": "center",
9770-
"WebkitBoxAlign": "center",
9771-
"WebkitBoxPack": "center",
9772-
"WebkitJustifyContent": "center",
9773-
"alignItems": "center",
9774-
"color": "rgba(126,126,126,1.00)",
9775-
"display": "flex",
9776-
"fontFamily": "\\"SF UI Text\\",-apple-system,BlinkMacSystemFont,\\"Segoe UI\\",Roboto,Helvetica,Arial,sans-serif,\\"Apple Color Emoji\\",\\"Segoe UI Emoji\\",\\"Segoe UI Symbol\\"",
9777-
"fontSize": "16px",
9778-
"fontWeight": "600",
9779-
"justifyContent": "center",
9780-
"msFlexAlign": "center",
9781-
"msFlexPack": "center",
9782-
"textAlign": "center",
9783-
}
9784-
}
9785-
>
9786-
+1
9787-
</div>
9788-
</div>
9789-
<svg
9790-
color="#7e7e7e"
9791-
fill="none"
9792-
height={20}
9793-
size={20}
9794-
stroke="currentColor"
9795-
strokeLinecap="round"
9796-
strokeLinejoin="round"
9797-
strokeWidth="2"
9798-
style={
9799-
Object {
9800-
"color": "#7e7e7e",
9801-
}
9802-
}
9803-
viewBox="0 0 24 24"
9804-
width={20}
9805-
xmlns="http://www.w3.org/2000/svg"
9806-
>
9807-
<polyline
9808-
points="6 9 12 15 18 9"
9809-
/>
9810-
</svg>
9811-
</div>
9812-
</div>
9813-
<div
9814-
className="css-view-1dbjc4n"
9815-
style={
9816-
Object {
9817-
"WebkitBoxFlex": 1,
9818-
"WebkitFlexBasis": "0%",
9819-
"WebkitFlexGrow": 1,
9820-
"WebkitFlexShrink": 1,
9821-
"flexBasis": "0%",
9822-
"flexGrow": 1,
9823-
"flexShrink": 1,
9824-
"msFlexNegative": 1,
9825-
"msFlexPositive": 1,
9826-
"msFlexPreferredSize": "0%",
9827-
"position": "relative",
9828-
}
9829-
}
9830-
>
9831-
<div
9832-
className="css-view-1dbjc4n"
9833-
style={
9834-
Object {
9835-
"WebkitAlignItems": "center",
9836-
"WebkitBoxAlign": "center",
9837-
"WebkitBoxPack": "center",
9838-
"WebkitJustifyContent": "center",
9839-
"alignItems": "center",
9840-
"display": "flex",
9841-
"height": "100%",
9842-
"justifyContent": "center",
9843-
"left": "0px",
9844-
"msFlexAlign": "center",
9845-
"msFlexPack": "center",
9846-
"paddingLeft": "8px",
9847-
"paddingRight": "8px",
9848-
"position": "absolute",
9849-
}
9850-
}
9851-
/>
9852-
<input
9853-
autoCapitalize="sentences"
9854-
autoComplete="on"
9855-
autoCorrect="on"
9856-
className="css-textinput-1cwyjr8 r-placeholderTextColor-15ldjex"
9857-
data-focusable={true}
9858-
dir="auto"
9859-
name="phone"
9860-
onBlur={[Function]}
9861-
onChange={[Function]}
9862-
onFocus={[Function]}
9863-
onKeyDown={[Function]}
9864-
onKeyPress={[Function]}
9865-
onSelect={[Function]}
9866-
placeholder="Enter your phone number"
9867-
readOnly={false}
9868-
spellCheck={true}
9869-
style={
9870-
Object {
9871-
"backgroundColor": "rgba(255,255,255,1.00)",
9872-
"borderBottomColor": "rgba(238,238,238,1.00)",
9873-
"borderBottomLeftRadius": "0px",
9874-
"borderBottomRightRadius": "4px",
9875-
"borderBottomWidth": "1px",
9876-
"borderLeftColor": "rgba(238,238,238,1.00)",
9877-
"borderLeftWidth": "1px",
9878-
"borderRightColor": "rgba(238,238,238,1.00)",
9879-
"borderRightWidth": "1px",
9880-
"borderTopColor": "rgba(238,238,238,1.00)",
9881-
"borderTopLeftRadius": "0px",
9882-
"borderTopRightRadius": "4px",
9883-
"borderTopWidth": "1px",
9884-
"color": "rgba(126,126,126,1.00)",
9885-
"fontSize": "16px",
9886-
"height": "48px",
9887-
"paddingLeft": "16px",
9888-
"paddingRight": "16px",
9889-
"width": "100%",
9890-
}
9891-
}
9892-
type="tel"
9893-
value=""
9894-
/>
9895-
<div
9896-
className="css-view-1dbjc4n"
9897-
style={
9898-
Object {
9899-
"WebkitAlignItems": "center",
9900-
"WebkitBoxAlign": "center",
9901-
"WebkitBoxPack": "center",
9902-
"WebkitJustifyContent": "center",
9903-
"alignItems": "center",
9904-
"display": "flex",
9905-
"height": "100%",
9906-
"justifyContent": "center",
9907-
"msFlexAlign": "center",
9908-
"msFlexPack": "center",
9909-
"paddingLeft": "8px",
9910-
"paddingRight": "8px",
9911-
"position": "absolute",
9912-
"right": "0px",
9913-
}
9914-
}
9915-
/>
9916-
</div>
9917-
</div>
9918-
</div>
9919-
`;
9920-
9921-
exports[`PhoneNumberInput_2 1`] = `
9922-
<h3>
9923-
Props
9924-
</h3>
9925-
`;
9926-
9927-
exports[`PhoneNumberInput_3 1`] = `<div />`;
9928-
99299671
exports[`Popover_0 1`] = `
99309672
<div>
99319673
<removeme />

0 commit comments

Comments
 (0)