@gofynd/theme-template 3.2.9 → 3.2.11
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/components/accordion/accordion.js +1 -1
- package/dist/components/address-form/address-form.js +1 -1
- package/dist/components/address-form/form-input-selector.js +1 -1
- package/dist/components/address-form/v2/address-form.js +1 -1
- package/dist/components/bag/bag.css +433 -0
- package/dist/components/bag/bag.js +1 -0
- package/dist/components/blog-page/blog-page.js +1 -1
- package/dist/components/compare-product-card/compare-product-card.js +1 -1
- package/dist/components/core/modal/modal.js +1 -1
- package/dist/components/filter-modal/filter-modal.css +26 -10
- package/dist/components/filter-modal/filter-modal.js +2 -1
- package/dist/components/filter-modal/filter-modal.js.LICENSE.txt +25 -0
- package/dist/components/form-builder/form-builder.js +1 -1
- package/dist/components/google-map/v2/google-map.js +1 -1
- package/dist/components/index.css +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/location-modal/location-modal.js +1 -1
- package/dist/components/order-shipment/order-shipment.css +434 -5
- package/dist/components/order-shipment/order-shipment.js +1 -1
- package/dist/components/product-card/product-card.js +1 -1
- package/dist/components/profile-navigation/profile-navigation.css +1 -1
- package/dist/components/quantity-control/quantity-control.js +1 -1
- package/dist/components/range-slider/range-slider.css +26 -10
- package/dist/components/range-slider/range-slider.js +2 -1
- package/dist/components/range-slider/range-slider.js.LICENSE.txt +25 -0
- package/dist/components/shipment-item/shipment-item.css +434 -11
- package/dist/components/shipment-item/shipment-item.js +1 -1
- package/dist/components/shipment-tracking/shipment-tracking.js +1 -1
- package/dist/components/shipments-update-item/shipments-update-item.css +441 -28
- package/dist/components/shipments-update-item/shipments-update-item.js +1 -1
- package/dist/components/sort-modal/sort-modal.js +1 -1
- package/dist/helper/hooks/index.js +1 -1
- package/dist/helper/hooks/useAddressAutofill.js +1 -0
- package/dist/index.css +674 -303
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +20 -0
- package/dist/page-layouts/auth/mobile-number/mobile-number.js +1 -1
- package/dist/page-layouts/cart/Components/chip-item/chip-image.css +411 -0
- package/dist/page-layouts/cart/Components/chip-item/chip-image.js +1 -0
- package/dist/page-layouts/cart/Components/chip-item/chip-item.css +411 -0
- package/dist/page-layouts/cart/Components/chip-item/chip-item.js +1 -1
- package/dist/page-layouts/cart/Components/comment/comment.js +1 -1
- package/dist/page-layouts/cart/Components/coupon/coupon.js +1 -1
- package/dist/page-layouts/cart/Components/delivery-location/delivery-location.js +1 -1
- package/dist/page-layouts/cart/Components/remove-cart-item/remove-cart-item.js +1 -1
- package/dist/page-layouts/compare/compare.js +1 -1
- package/dist/page-layouts/login/component/login-otp/login-otp.js +1 -1
- package/dist/page-layouts/login/component/login-password/login-password.js +1 -1
- package/dist/page-layouts/login/component/soacial-login-button/apple-login-button.css +373 -0
- package/dist/page-layouts/login/component/soacial-login-button/apple-login-button.js +1 -0
- package/dist/page-layouts/login/component/soacial-login-button/facebook-login-button.css +373 -0
- package/dist/page-layouts/login/component/soacial-login-button/facebook-login-button.js +1 -0
- package/dist/page-layouts/login/component/soacial-login-button/google-login-button.css +375 -0
- package/dist/page-layouts/login/component/soacial-login-button/google-login-button.js +1 -0
- package/dist/page-layouts/login/component/social-login-button/apple-login-button.js +1 -1
- package/dist/page-layouts/plp/Components/add-to-cart/add-to-cart.js +1 -1
- package/dist/page-layouts/plp/Components/filter-item/filter-item.css +26 -10
- package/dist/page-layouts/plp/Components/filter-item/filter-item.js +2 -1
- package/dist/page-layouts/plp/Components/filter-item/filter-item.js.LICENSE.txt +25 -0
- package/dist/page-layouts/plp/Components/filter-list/filter-list.css +26 -10
- package/dist/page-layouts/plp/Components/filter-list/filter-list.js +2 -1
- package/dist/page-layouts/plp/Components/filter-list/filter-list.js.LICENSE.txt +25 -0
- package/dist/page-layouts/plp/Components/filter-tags/filter-tags.js +1 -1
- package/dist/page-layouts/plp/Components/size-guide/size-guide.js +1 -1
- package/dist/page-layouts/single-checkout/address/single-address.js +1 -1
- package/dist/page-layouts/single-checkout/payment/card-form.js +1 -1
- package/dist/page-layouts/single-checkout/payment/checkout-payment-content.js +1 -1
- package/dist/page-layouts/single-checkout/payment/checkout-payment.js +1 -1
- package/dist/page-layouts/single-checkout/payment/juspay-card-from.js +1 -1
- package/dist/page-layouts/single-checkout/payment/zero-pay-btn/zero-pay-btn.js +1 -1
- package/dist/page-layouts/single-checkout/shipment/single-page-shipment.js +1 -1
- package/dist/page-layouts/single-checkout/shipment/single-shipment-content.js +1 -1
- package/dist/pages/blog/blog.js +1 -1
- package/dist/pages/blog/index.js +1 -1
- package/dist/pages/cart/cart.css +411 -0
- package/dist/pages/cart/cart.js +1 -1
- package/dist/pages/cart/index.css +411 -0
- package/dist/pages/cart/index.js +1 -1
- package/dist/pages/checkout/checkout.js +1 -1
- package/dist/pages/checkout/index.js +1 -1
- package/dist/pages/edit-profile/edit-profile.js +1 -1
- package/dist/pages/edit-profile/index.js +1 -1
- package/dist/pages/index.css +729 -358
- package/dist/pages/index.js +1 -1
- package/dist/pages/index.js.LICENSE.txt +20 -0
- package/dist/pages/login/index.css +292 -292
- package/dist/pages/login/index.js +1 -1
- package/dist/pages/login/login.css +292 -292
- package/dist/pages/login/login.js +1 -1
- package/dist/pages/order/order-tracking-details/order-tracking-details.css +435 -16
- package/dist/pages/order/order-tracking-details/order-tracking-details.js +1 -1
- package/dist/pages/order-status/index.css +895 -6
- package/dist/pages/order-status/index.js +1 -1
- package/dist/pages/order-status/order-status.css +895 -6
- package/dist/pages/order-status/order-status.js +1 -1
- package/dist/pages/product-listing/index.css +26 -10
- package/dist/pages/product-listing/index.js +1 -1
- package/dist/pages/product-listing/index.js.LICENSE.txt +20 -0
- package/dist/pages/product-listing/product-listing.css +26 -10
- package/dist/pages/product-listing/product-listing.js +1 -1
- package/dist/pages/product-listing/product-listing.js.LICENSE.txt +20 -0
- package/dist/pages/profile/components/add-email-modal/add-email-modal.js +1 -1
- package/dist/pages/profile/components/add-phone-modal/add-phone-modal.js +1 -1
- package/dist/pages/profile/components/confirm-modal/confirm-modal.js +1 -1
- package/dist/pages/profile/email/email.js +1 -1
- package/dist/pages/profile/email/index.js +1 -1
- package/dist/pages/profile/phone/index.js +1 -1
- package/dist/pages/profile/phone/phone.js +1 -1
- package/dist/pages/register/index.js +1 -1
- package/dist/pages/register/register.js +1 -1
- package/dist/pages/wishlist/index.js +1 -1
- package/dist/pages/wishlist/wishlist.js +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
/**color by character**/
|
|
2
|
+
/** Font family **/
|
|
3
|
+
/** Font weight **/
|
|
4
|
+
.facebook-login-button__display-block___XhSEK {
|
|
5
|
+
display: block;
|
|
6
|
+
}
|
|
7
|
+
.facebook-login-button__inline-block___UTivJ,
|
|
8
|
+
.facebook-login-button__inlineBlock___CJfcj {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
.facebook-login-button__flex-row___Y8pmb {
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
.facebook-login-button__flex-column___Hvv6Q,
|
|
15
|
+
.facebook-login-button__flexColumn___cwtVd {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
}
|
|
19
|
+
.facebook-login-button__flex-align-center___y7O93,
|
|
20
|
+
.facebook-login-button__flexAlignCenter___pxAAO {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
.facebook-login-button__flex-justify-center___nFkDG,
|
|
25
|
+
.facebook-login-button__flexJustifyCenter___je6Rp {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
.facebook-login-button__flex-center___Yjph0,
|
|
30
|
+
.facebook-login-button__flexCenter___bNHnz {
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
.facebook-login-button__justify-start___WSj1O,
|
|
36
|
+
.facebook-login-button__justifyStart___ACwJf {
|
|
37
|
+
justify-content: flex-start;
|
|
38
|
+
}
|
|
39
|
+
.facebook-login-button__justify-end___gekV3,
|
|
40
|
+
.facebook-login-button__justifyEnd___htqz2 {
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
}
|
|
43
|
+
.facebook-login-button__justify-between___t_ADo,
|
|
44
|
+
.facebook-login-button__justifyBetween___nofq_ {
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
}
|
|
47
|
+
.facebook-login-button__justify-around___lI0fk,
|
|
48
|
+
.facebook-login-button__justifyAround___OV4zr {
|
|
49
|
+
justify-content: space-around;
|
|
50
|
+
}
|
|
51
|
+
.facebook-login-button__justify-evenly___mHAFJ,
|
|
52
|
+
.facebook-login-button__justifyEvenly___a5pys {
|
|
53
|
+
justify-content: space-evenly;
|
|
54
|
+
}
|
|
55
|
+
h1,
|
|
56
|
+
.facebook-login-button__h1___AL3BU {
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
font-size: 28px;
|
|
59
|
+
line-height: 42px;
|
|
60
|
+
letter-spacing: -0.03em;
|
|
61
|
+
color: var(--textHeading, #26201a);
|
|
62
|
+
}
|
|
63
|
+
@media only screen and (min-width: 769px) {
|
|
64
|
+
h1,
|
|
65
|
+
.facebook-login-button__h1___AL3BU {
|
|
66
|
+
font-size: 36px;
|
|
67
|
+
line-height: 48px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
h2,
|
|
71
|
+
.facebook-login-button__h2___scLLL {
|
|
72
|
+
font-weight: 700;
|
|
73
|
+
font-size: 28px;
|
|
74
|
+
line-height: 36px;
|
|
75
|
+
letter-spacing: -0.03em;
|
|
76
|
+
color: var(--textHeading, #26201a);
|
|
77
|
+
}
|
|
78
|
+
@media only screen and (min-width: 769px) {
|
|
79
|
+
h2,
|
|
80
|
+
.facebook-login-button__h2___scLLL {
|
|
81
|
+
font-size: 32px;
|
|
82
|
+
line-height: 42px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
h3,
|
|
86
|
+
.facebook-login-button__h3___Jq6MM {
|
|
87
|
+
font-weight: 700;
|
|
88
|
+
letter-spacing: -0.02em;
|
|
89
|
+
color: var(--textHeading, #26201a);
|
|
90
|
+
font-size: 24px;
|
|
91
|
+
line-height: 32px;
|
|
92
|
+
}
|
|
93
|
+
@media only screen and (min-width: 769px) {
|
|
94
|
+
h3,
|
|
95
|
+
.facebook-login-button__h3___Jq6MM {
|
|
96
|
+
font-weight: 700;
|
|
97
|
+
letter-spacing: -0.02em;
|
|
98
|
+
color: var(--textHeading, #26201a);
|
|
99
|
+
font-size: 28px;
|
|
100
|
+
line-height: 36px;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
h4,
|
|
104
|
+
.facebook-login-button__h4___wcH90 {
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
letter-spacing: -0.02em;
|
|
107
|
+
color: var(--textHeading, #26201a);
|
|
108
|
+
font-size: 16px;
|
|
109
|
+
line-height: 1.5;
|
|
110
|
+
}
|
|
111
|
+
@media only screen and (min-width: 769px) {
|
|
112
|
+
h4,
|
|
113
|
+
.facebook-login-button__h4___wcH90 {
|
|
114
|
+
font-weight: 600;
|
|
115
|
+
letter-spacing: -0.02em;
|
|
116
|
+
color: var(--textHeading, #26201a);
|
|
117
|
+
font-size: 20px;
|
|
118
|
+
line-height: 1.5;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
h5,
|
|
122
|
+
.facebook-login-button__h5____2X5P {
|
|
123
|
+
font-weight: 600;
|
|
124
|
+
font-size: 14px;
|
|
125
|
+
line-height: 16px;
|
|
126
|
+
letter-spacing: -0.02em;
|
|
127
|
+
color: var(--textHeading, #26201a);
|
|
128
|
+
}
|
|
129
|
+
@media only screen and (min-width: 769px) {
|
|
130
|
+
h5,
|
|
131
|
+
.facebook-login-button__h5____2X5P {
|
|
132
|
+
font-size: 16px;
|
|
133
|
+
line-height: 18px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
.facebook-login-button__b1___U0OKm {
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
font-size: 14px;
|
|
139
|
+
line-height: 18px;
|
|
140
|
+
letter-spacing: -0.02em;
|
|
141
|
+
color: var(--textBody, #3c3131);
|
|
142
|
+
}
|
|
143
|
+
@media only screen and (min-width: 769px) {
|
|
144
|
+
.facebook-login-button__b1___U0OKm {
|
|
145
|
+
font-size: 16px;
|
|
146
|
+
line-height: 20px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
.facebook-login-button__b-small___bv_rc,
|
|
150
|
+
.facebook-login-button__bSmall___l88G0,
|
|
151
|
+
.facebook-login-button__b2___uQWsw {
|
|
152
|
+
font-weight: 400;
|
|
153
|
+
letter-spacing: -0.02em;
|
|
154
|
+
color: var(--textBody, #3c3131);
|
|
155
|
+
font-size: 12px;
|
|
156
|
+
line-height: 16px;
|
|
157
|
+
}
|
|
158
|
+
@media only screen and (min-width: 769px) {
|
|
159
|
+
.facebook-login-button__b-small___bv_rc,
|
|
160
|
+
.facebook-login-button__bSmall___l88G0,
|
|
161
|
+
.facebook-login-button__b2___uQWsw {
|
|
162
|
+
font-weight: 400;
|
|
163
|
+
letter-spacing: -0.02em;
|
|
164
|
+
color: var(--textBody, #3c3131);
|
|
165
|
+
font-size: 14px;
|
|
166
|
+
line-height: 18px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
.facebook-login-button__d1___diZdy {
|
|
170
|
+
font-size: 36px;
|
|
171
|
+
font-weight: 700;
|
|
172
|
+
line-height: 48px;
|
|
173
|
+
letter-spacing: -0.02em;
|
|
174
|
+
}
|
|
175
|
+
@media only screen and (min-width: 769px) {
|
|
176
|
+
.facebook-login-button__d1___diZdy {
|
|
177
|
+
font-size: 64px;
|
|
178
|
+
line-height: 85px;
|
|
179
|
+
letter-spacing: -0.03em;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
.facebook-login-button__caption-medium___vOMBS,
|
|
183
|
+
.facebook-login-button__captionMedium___IZpTs {
|
|
184
|
+
font-size: 12px;
|
|
185
|
+
line-height: 1.5;
|
|
186
|
+
letter-spacing: -0.02em;
|
|
187
|
+
font-weight: 500;
|
|
188
|
+
}
|
|
189
|
+
@media only screen and (max-width: 480px) {
|
|
190
|
+
.facebook-login-button__caption-medium___vOMBS,
|
|
191
|
+
.facebook-login-button__captionMedium___IZpTs {
|
|
192
|
+
font-size: 11px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.facebook-login-button__caption-semi-bold___i4AEd,
|
|
196
|
+
.facebook-login-button__captionSemiBold___M6C7N {
|
|
197
|
+
font-size: 12px;
|
|
198
|
+
line-height: 1.5;
|
|
199
|
+
letter-spacing: -0.02em;
|
|
200
|
+
font-weight: 600;
|
|
201
|
+
}
|
|
202
|
+
@media only screen and (max-width: 480px) {
|
|
203
|
+
.facebook-login-button__caption-semi-bold___i4AEd,
|
|
204
|
+
.facebook-login-button__captionSemiBold___M6C7N {
|
|
205
|
+
font-size: 11px;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
.facebook-login-button__btn-link___AamyI,
|
|
209
|
+
.facebook-login-button__btnLink___xFljW {
|
|
210
|
+
font-weight: 500;
|
|
211
|
+
letter-spacing: -0.02em;
|
|
212
|
+
font-size: 12px;
|
|
213
|
+
line-height: 14px;
|
|
214
|
+
border-radius: var(--buttonRadius, 0px);
|
|
215
|
+
cursor: pointer;
|
|
216
|
+
color: var(--buttonLink, #b1655b);
|
|
217
|
+
text-decoration: underline;
|
|
218
|
+
background: none;
|
|
219
|
+
border: none;
|
|
220
|
+
}
|
|
221
|
+
@media only screen and (min-width: 769px) {
|
|
222
|
+
.facebook-login-button__btn-link___AamyI,
|
|
223
|
+
.facebook-login-button__btnLink___xFljW {
|
|
224
|
+
font-weight: 500;
|
|
225
|
+
letter-spacing: -0.02em;
|
|
226
|
+
font-size: 14px;
|
|
227
|
+
line-height: 16px;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
.facebook-login-button__btn-link___AamyI:hover,
|
|
231
|
+
.facebook-login-button__btnLink___xFljW:hover {
|
|
232
|
+
color: var(--buttonLinkL1, #c1847c);
|
|
233
|
+
}
|
|
234
|
+
.facebook-login-button__btn-link___AamyI:disabled,
|
|
235
|
+
.facebook-login-button__btnLink___xFljW:disabled {
|
|
236
|
+
color: var(--buttonLinkL2, #d0a39d);
|
|
237
|
+
}
|
|
238
|
+
.facebook-login-button__btn-link___AamyI:active,
|
|
239
|
+
.facebook-login-button__btnLink___xFljW:active {
|
|
240
|
+
opacity: 0.8;
|
|
241
|
+
}
|
|
242
|
+
.facebook-login-button__user-select-none___soMg6,
|
|
243
|
+
.facebook-login-button__userSelectNone___j9D1f {
|
|
244
|
+
user-select: none;
|
|
245
|
+
-moz-user-select: none;
|
|
246
|
+
-webkit-user-select: none;
|
|
247
|
+
-ms-user-select: none;
|
|
248
|
+
}
|
|
249
|
+
.facebook-login-button__margin-0-auto___a3Cxr,
|
|
250
|
+
.facebook-login-button__margin0auto___cS_K5 {
|
|
251
|
+
margin: 0 auto;
|
|
252
|
+
}
|
|
253
|
+
.facebook-login-button__base-page-container___O_N9P,
|
|
254
|
+
.facebook-login-button__basePageContainer___s6ij5 {
|
|
255
|
+
max-width: 1440px !important;
|
|
256
|
+
}
|
|
257
|
+
.facebook-login-button__remove-scroll___qg7Iq,
|
|
258
|
+
.facebook-login-button__removeScroll___GkaEy {
|
|
259
|
+
overflow-y: hidden !important;
|
|
260
|
+
}
|
|
261
|
+
.facebook-login-button__mr-5___kOpYH,
|
|
262
|
+
.facebook-login-button__mr5___I5EZY {
|
|
263
|
+
margin-inline-end: 30px !important;
|
|
264
|
+
}
|
|
265
|
+
.facebook-login-button__mr-2___jKNra,
|
|
266
|
+
.facebook-login-button__mr2___LMmXN {
|
|
267
|
+
margin-inline-end: 5px !important;
|
|
268
|
+
}
|
|
269
|
+
.facebook-login-button__py-5___A8xFv,
|
|
270
|
+
.facebook-login-button__py5___GiuQJ {
|
|
271
|
+
padding-top: 1.875rem !important;
|
|
272
|
+
padding-bottom: 1.875rem !important;
|
|
273
|
+
}
|
|
274
|
+
.facebook-login-button__view-all-text___ygCYR,
|
|
275
|
+
.facebook-login-button__viewAllText___NhWpY {
|
|
276
|
+
font-size: 20px;
|
|
277
|
+
font-weight: 400;
|
|
278
|
+
text-transform: lowercase;
|
|
279
|
+
text-decoration: underline;
|
|
280
|
+
}
|
|
281
|
+
.facebook-login-button__view-all-mobile___HkvLk,
|
|
282
|
+
.facebook-login-button__viewAllMobile___YjAcs {
|
|
283
|
+
display: none;
|
|
284
|
+
}
|
|
285
|
+
@media only screen and (max-width: 768px) {
|
|
286
|
+
.facebook-login-button__view-all-mobile___HkvLk,
|
|
287
|
+
.facebook-login-button__viewAllMobile___YjAcs {
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
justify-content: center;
|
|
291
|
+
margin-top: 40px;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
@media only screen and (max-width: 480px) {
|
|
295
|
+
.facebook-login-button__view-all-mobile___HkvLk,
|
|
296
|
+
.facebook-login-button__viewAllMobile___YjAcs {
|
|
297
|
+
margin-top: 24px;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
.facebook-login-button__accent-btn___vN2Hc,
|
|
301
|
+
.facebook-login-button__accentBtn___KjOTk {
|
|
302
|
+
background-color: var(--accentColor);
|
|
303
|
+
color: #fff;
|
|
304
|
+
}
|
|
305
|
+
.facebook-login-button__no-scroll___vJu7j,
|
|
306
|
+
.facebook-login-button__noScroll___ZBsMe {
|
|
307
|
+
overflow-y: hidden;
|
|
308
|
+
}
|
|
309
|
+
.facebook-login-button__hide-overflow___CYfL3,
|
|
310
|
+
.facebook-login-button__hideOverflow___kdxH7 {
|
|
311
|
+
overflow: hidden;
|
|
312
|
+
}
|
|
313
|
+
.facebook-login-button__markdown-body___Q_FEQ h6 {
|
|
314
|
+
margin-top: 0 !important;
|
|
315
|
+
margin-bottom: 0 !important;
|
|
316
|
+
}
|
|
317
|
+
@media only screen and (max-width: 480px) {
|
|
318
|
+
.facebook-login-button__markdown-body___Q_FEQ {
|
|
319
|
+
font-size: 12px !important;
|
|
320
|
+
padding: 5px !important;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
.facebook-login-button__view3d-canvas___AKXgA {
|
|
324
|
+
width: 100%;
|
|
325
|
+
height: 100%;
|
|
326
|
+
}
|
|
327
|
+
@media only screen and (max-width: 480px) {
|
|
328
|
+
.facebook-login-button__view-mobile-up___Bg2SA {
|
|
329
|
+
display: none !important;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
@media only screen and (min-width: 481px) {
|
|
333
|
+
.facebook-login-button__view-mobile___ZZimg {
|
|
334
|
+
display: none !important;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
.facebook-login-button__facebook-login-container___JKKX0 {
|
|
338
|
+
margin-top: 12px;
|
|
339
|
+
}
|
|
340
|
+
.facebook-login-button__facebook-login-container___JKKX0 .facebook-login-button__facebook-login-button___IDadP {
|
|
341
|
+
height: 48px;
|
|
342
|
+
padding: 12px;
|
|
343
|
+
background: transparent;
|
|
344
|
+
border-radius: 4px;
|
|
345
|
+
border: 1px solid var(--dividerStokes, #dadce0);
|
|
346
|
+
font-size: 14px;
|
|
347
|
+
font-style: normal;
|
|
348
|
+
font-weight: 600;
|
|
349
|
+
line-height: 19.6px;
|
|
350
|
+
text-transform: uppercase;
|
|
351
|
+
color: var(--textHeading, #3c4043);
|
|
352
|
+
width: 100%;
|
|
353
|
+
box-sizing: border-box;
|
|
354
|
+
display: flex;
|
|
355
|
+
align-items: center;
|
|
356
|
+
cursor: pointer;
|
|
357
|
+
font-family: var(--font-body);
|
|
358
|
+
}
|
|
359
|
+
.facebook-login-button__facebook-login-container___JKKX0 .facebook-login-button__facebook-login-button___IDadP svg {
|
|
360
|
+
flex: 0 0 24px;
|
|
361
|
+
fill: #1877f2;
|
|
362
|
+
}
|
|
363
|
+
.facebook-login-button__facebook-login-container___JKKX0 .facebook-login-button__facebook-login-button___IDadP span {
|
|
364
|
+
margin-inline-end: 24px;
|
|
365
|
+
color: var(--textHeading, #3c4043);
|
|
366
|
+
font-size: 14px;
|
|
367
|
+
font-style: normal;
|
|
368
|
+
font-weight: 600;
|
|
369
|
+
line-height: 19.6px;
|
|
370
|
+
text-transform: uppercase;
|
|
371
|
+
width: 100%;
|
|
372
|
+
}
|
|
373
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function webpackUniversalModuleDefinition(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("firestone",["react"],t):"object"==typeof exports?exports.firestone=t(require("react")):e.firestone=t(e.react)}("undefined"!=typeof self?self:this,(e=>(()=>{"use strict";var t={9155:t=>{t.exports=e}},o={};function __webpack_require__(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var o in t)__webpack_require__.o(t,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{__webpack_require__.r(n),__webpack_require__.d(n,{default:()=>facebook_login_button});var e=__webpack_require__(9155),t=__webpack_require__.n(e);const facebook_login_button=o=>{let{facebookAppId:n,loginWithFacebookMutation:r,application_id:a}=o;const[i,_]=(0,e.useState)(!1),[c,l]=(0,e.useState)(null),[s,u]=(0,e.useState)(null);(0,e.useEffect)((()=>{var e,t,o,r,a;window.fbAsyncInit=function(){window.FB.init({appId:n,cookie:!0,xfbml:!0,version:"v18.0"})},e=document,t="script",o="facebook-jssdk",a=e.getElementsByTagName(t)[0],e.getElementById(o)||((r=e.createElement(t)).id=o,r.src="https://connect.facebook.net/en_US/sdk.js",a.parentNode.insertBefore(r,a))}),[]);return t().createElement("div",{className:"facebook-login-button__facebook-login-container___JKKX0"},t().createElement("button",{onClick:()=>{_(!0),u(null),window.FB.login((function(e){e.authResponse?window.FB.api("/me",{fields:"id,name,email,first_name,last_name,picture"},(async function(t){try{const o={oAuthRequestSchemaInput:{is_signed_in:!0,oauth2:{access_token:e.authResponse.accessToken,expiry:e.authResponse.expiresIn},profile:{email:t.email||"",first_name:t.first_name||"",full_name:t.name||"",id:t.id,image:t.picture?.data?.url||"",last_name:t.last_name||""}},platform:a};await r(o)}catch(e){console.log("Login failed: "+e.message),console.error("Login error:",e)}finally{_(!1)}})):(console.log("Facebook login was cancelled or failed"),_(!1))}),{scope:"email,public_profile"})},disabled:i,className:"facebook-login-button__facebook-login-button___IDadP"},t().createElement("svg",{viewBox:"0 0 28 28",fill:"#1877F2"},t().createElement("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})),t().createElement("span",null,"Continue with Facebook")))}})(),n})()));
|