cloudcommerce 0.0.71 → 0.0.74

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.
Files changed (139) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/CHANGELOG.md +38 -0
  3. package/package.json +9 -9
  4. package/packages/api/package.json +1 -1
  5. package/packages/apps/correios/package.json +1 -1
  6. package/packages/apps/custom-shipping/package.json +1 -1
  7. package/packages/apps/discounts/package.json +1 -1
  8. package/packages/apps/frenet/CHANGELOG.md +1 -0
  9. package/packages/apps/frenet/README.md +1 -0
  10. package/packages/apps/frenet/lib/frenet.d.ts +2 -0
  11. package/packages/apps/frenet/lib/frenet.js +6 -0
  12. package/packages/apps/frenet/lib/frenet.js.map +1 -0
  13. package/packages/apps/frenet/lib/index.d.ts +1 -0
  14. package/packages/apps/{tiny-erp → frenet}/lib/index.js +1 -1
  15. package/packages/apps/{tiny-erp → frenet}/lib/index.js.map +1 -1
  16. package/packages/apps/frenet/lib-mjs/calculate-frenet.mjs +152 -0
  17. package/packages/apps/frenet/package.json +28 -0
  18. package/packages/apps/frenet/src/frenet.ts +7 -0
  19. package/packages/apps/frenet/src/index.ts +1 -0
  20. package/packages/apps/frenet/tsconfig.json +6 -0
  21. package/packages/apps/tiny-erp/package.json +1 -1
  22. package/packages/cli/config/firebase.json +47 -0
  23. package/packages/cli/package.json +1 -1
  24. package/packages/config/lib/config.js +9 -8
  25. package/packages/config/lib/config.js.map +1 -1
  26. package/packages/config/package.json +1 -1
  27. package/packages/config/src/config.ts +11 -10
  28. package/packages/events/package.json +1 -1
  29. package/packages/firebase/lib/config.d.ts +3 -0
  30. package/packages/firebase/lib/config.js +3 -0
  31. package/packages/firebase/lib/config.js.map +1 -1
  32. package/packages/firebase/package.json +1 -1
  33. package/packages/firebase/src/config.ts +3 -0
  34. package/packages/modules/package.json +3 -1
  35. package/packages/modules/schemas/@checkout.cjs +28 -28
  36. package/packages/modules/schemas/apply_discount.cjs +2 -2
  37. package/packages/modules/schemas/calculate_shipping.cjs +4 -4
  38. package/packages/modules/schemas/create_transaction.cjs +30 -30
  39. package/packages/modules/schemas/list_payments.cjs +6 -6
  40. package/packages/modules/src/firebase/ajv.ts +2 -1
  41. package/packages/modules/src/firebase/call-app-module.ts +5 -0
  42. package/packages/modules/src/firebase/handle-module.ts +5 -1
  43. package/packages/modules/src/firebase/serve-modules-api.ts +5 -3
  44. package/packages/passport/lib/firebase/handle-passport.js +96 -92
  45. package/packages/passport/lib/firebase/serve-passport-api.js +35 -34
  46. package/packages/passport/lib/firebase.js +5 -7
  47. package/packages/passport/lib/index.js +2 -1
  48. package/packages/passport/package.json +1 -1
  49. package/packages/ssr/lib/firebase/serve-storefront.js +37 -55
  50. package/packages/ssr/lib/firebase/serve-storefront.js.map +1 -1
  51. package/packages/ssr/lib/firebase.js +2 -4
  52. package/packages/ssr/lib/index.js +1 -2
  53. package/packages/ssr/package.json +1 -1
  54. package/packages/ssr/src/firebase/serve-storefront.ts +13 -36
  55. package/packages/storefront/astro.config.mjs +2 -0
  56. package/packages/storefront/dist/client/LoginModal.d6b935cf.js +1 -0
  57. package/packages/storefront/dist/client/assets/{_...98510c96.css → _...27b7eb4d.css} +1 -1
  58. package/packages/storefront/dist/client/assets/_...b3f65c5c.css +1 -0
  59. package/packages/storefront/dist/client/assets/fallback-index.90217cf0.css +1 -0
  60. package/packages/storefront/dist/client/assets/{404.530428e5.css → fallback.9cd2ed3f.css} +1 -1
  61. package/packages/storefront/dist/client/assets/{index.53a3a3e0.css → index.c5a9ea80.css} +1 -1
  62. package/packages/storefront/dist/client/chunks/index.esm.69f70489.js +1726 -0
  63. package/packages/storefront/dist/client/chunks/index.esm2017.1194d1a1.js +457 -0
  64. package/packages/storefront/dist/client/chunks/runtime-core.esm-bundler.a7337834.js +1 -0
  65. package/packages/storefront/dist/client/client.80b904f3.js +1 -0
  66. package/packages/storefront/dist/client/hoisted.24787260.js +376 -0
  67. package/packages/storefront/dist/server/entry.mjs +672 -144
  68. package/packages/storefront/package.json +13 -11
  69. package/packages/storefront/src/assets/firebaseui.css +648 -0
  70. package/packages/storefront/src/env.d.ts +1 -0
  71. package/packages/storefront/src/{components → lib/components}/Card.astro +0 -0
  72. package/packages/storefront/src/lib/components/LoginModal.vue +89 -0
  73. package/packages/storefront/src/lib/layouts/Layout.astro +84 -0
  74. package/packages/storefront/src/lib/layouts/meta/Head.astro +7 -0
  75. package/packages/storefront/src/lib/layouts/meta/Json.astro +34 -0
  76. package/packages/storefront/src/lib/ssr-context.ts +131 -0
  77. package/packages/storefront/src/lib/views/[...slug].astro +77 -0
  78. package/packages/storefront/src/lib/views/app/index.astro +0 -0
  79. package/packages/storefront/src/{pages/404.astro → lib/views/fallback.astro} +6 -1
  80. package/packages/storefront/src/lib/views/index.astro +87 -0
  81. package/packages/storefront/src/pages/[...slug].astro +12 -76
  82. package/packages/storefront/src/pages/fallback.astro +13 -0
  83. package/packages/storefront/src/pages/index.astro +15 -79
  84. package/packages/storefront/storefront.config.mjs +23 -6
  85. package/packages/storefront/tsconfig.json +4 -1
  86. package/packages/types/package.json +1 -1
  87. package/packages/apps/tiny-erp/lib/event-to-tiny.js +0 -115
  88. package/packages/apps/tiny-erp/lib/event-to-tiny.js.map +0 -1
  89. package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js +0 -79
  90. package/packages/apps/tiny-erp/lib/integration/after-tiny-queue.js.map +0 -1
  91. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js +0 -84
  92. package/packages/apps/tiny-erp/lib/integration/export-order-to-tiny.js.map +0 -1
  93. package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js +0 -58
  94. package/packages/apps/tiny-erp/lib/integration/export-product-to-tiny.js.map +0 -1
  95. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js +0 -7
  96. package/packages/apps/tiny-erp/lib/integration/helpers/format-tiny-date.js.map +0 -1
  97. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js +0 -92
  98. package/packages/apps/tiny-erp/lib/integration/import-order-from-tiny.js.map +0 -1
  99. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js +0 -158
  100. package/packages/apps/tiny-erp/lib/integration/import-product-from-tiny.js.map +0 -1
  101. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js +0 -46
  102. package/packages/apps/tiny-erp/lib/integration/parsers/order-from-tiny.js.map +0 -1
  103. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js +0 -193
  104. package/packages/apps/tiny-erp/lib/integration/parsers/order-to-tiny.js.map +0 -1
  105. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js +0 -199
  106. package/packages/apps/tiny-erp/lib/integration/parsers/product-from-tiny.js.map +0 -1
  107. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js +0 -129
  108. package/packages/apps/tiny-erp/lib/integration/parsers/product-to-tiny.js.map +0 -1
  109. package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js +0 -34
  110. package/packages/apps/tiny-erp/lib/integration/parsers/status-from-tiny.js.map +0 -1
  111. package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js +0 -39
  112. package/packages/apps/tiny-erp/lib/integration/parsers/status-to-tiny.js.map +0 -1
  113. package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js +0 -47
  114. package/packages/apps/tiny-erp/lib/integration/post-tiny-erp.js.map +0 -1
  115. package/packages/apps/tiny-erp/lib/tiny-erp.js +0 -18
  116. package/packages/apps/tiny-erp/lib/tiny-erp.js.map +0 -1
  117. package/packages/apps/tiny-erp/lib/tiny-webhook.js +0 -92
  118. package/packages/apps/tiny-erp/lib/tiny-webhook.js.map +0 -1
  119. package/packages/modules/lib/firebase/ajv.js +0 -33
  120. package/packages/modules/lib/firebase/ajv.js.map +0 -1
  121. package/packages/modules/lib/firebase/call-app-module.js +0 -130
  122. package/packages/modules/lib/firebase/call-app-module.js.map +0 -1
  123. package/packages/modules/lib/firebase/checkout.js +0 -1
  124. package/packages/modules/lib/firebase/checkout.js.map +0 -1
  125. package/packages/modules/lib/firebase/handle-module.js +0 -165
  126. package/packages/modules/lib/firebase/handle-module.js.map +0 -1
  127. package/packages/modules/lib/firebase/proxy-apps.js +0 -1
  128. package/packages/modules/lib/firebase/proxy-apps.js.map +0 -1
  129. package/packages/modules/lib/firebase/serve-modules-api.js +0 -57
  130. package/packages/modules/lib/firebase/serve-modules-api.js.map +0 -1
  131. package/packages/modules/lib/firebase.js +0 -13
  132. package/packages/modules/lib/firebase.js.map +0 -1
  133. package/packages/modules/lib/index.js +0 -25
  134. package/packages/modules/lib/index.js.map +0 -1
  135. package/packages/storefront/dist/client/assets/404-_...d4aa8aff.css +0 -1
  136. package/packages/storefront/dist/client/assets/404-index.d9230d24.css +0 -1
  137. package/packages/storefront/dist/client/client.6d48c590.js +0 -1
  138. package/packages/storefront/src/layouts/Layout.astro +0 -63
  139. package/packages/storefront/src/types.ts +0 -18
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudcommerce/storefront",
3
3
  "type": "module",
4
- "version": "0.0.71",
4
+ "version": "0.0.74",
5
5
  "description": "E-Com Plus Cloud Commerce storefront with Astro",
6
6
  "main": "src/index.js",
7
7
  "repository": {
@@ -21,26 +21,28 @@
21
21
  "build": "astro build",
22
22
  "preview": "astro preview",
23
23
  "astro": "astro",
24
- "prerelease": "rm content && cp -r ../../store/functions/ssr/content ./",
25
- "postrelease": "rm -rf content && ln -s ../../store/functions/ssr/content content"
24
+ "prepare-monorepo": "rm -rf content && ln -s ../../store/functions/ssr/content content",
25
+ "prerelease": "rm content && cp -r ../../store/functions/ssr/content ./"
26
26
  },
27
27
  "dependencies": {
28
+ "@astrojs/image": "^0.7.0",
28
29
  "@astrojs/node": "^1.0.1",
29
30
  "@astrojs/partytown": "^1.0.0",
30
31
  "@astrojs/prefetch": "^0.0.7",
31
32
  "@astrojs/sitemap": "^1.0.0",
32
- "@astrojs/vue": "^1.0.0",
33
- "@cloudcommerce/api": "workspace:*",
34
- "@cloudcommerce/config": "workspace:*",
33
+ "@astrojs/vue": "^1.0.2",
34
+ "@cloudcommerce/api": "workspace:0.0.73",
35
+ "@cloudcommerce/config": "workspace:0.0.73",
35
36
  "@nanostores/vue": "^0.6.0",
36
- "@picocss/pico": "^1.5.3",
37
- "astro": "^1.1.5",
37
+ "@picocss/pico": "^1.5.4",
38
+ "astro": "^1.2.2",
38
39
  "dotenv": "^16.0.2",
40
+ "firebase": "^9.9.4",
39
41
  "nanostores": "^0.6.0",
40
42
  "rollup": "^2.79.0",
41
- "unocss": "^0.45.15",
43
+ "unocss": "^0.45.21",
42
44
  "vite": "^3.1.0",
43
- "vite-plugin-pwa": "^0.12.6",
44
- "vue": "^3.2.38"
45
+ "vite-plugin-pwa": "^0.12.7",
46
+ "vue": "^3.2.39"
45
47
  }
46
48
  }
@@ -0,0 +1,648 @@
1
+ /*
2
+ * Copyright 2016 Google Inc. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5
+ * in compliance with the License. You may obtain a copy of the License at
6
+ *
7
+ * http://www.apache.org/licenses/LICENSE-2.0
8
+ *
9
+ * Unless required by applicable law or agreed to in writing, software distributed under the
10
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11
+ * express or implied. See the License for the specific language governing permissions and
12
+ * limitations under the License.
13
+ */
14
+
15
+ /**
16
+ * CSS for FirebaseUI Javascript widget.
17
+ * All selectors should begin with a "firebaseui-" prefix to avoid conflicts.
18
+ */
19
+ .firebaseui-container {
20
+ background-color: #fff;
21
+ box-sizing: border-box;
22
+ -moz-box-sizing: border-box;
23
+ -webkit-box-sizing: border-box;
24
+ color: rgba(0, 0, 0, 0.87);
25
+ direction: ltr;
26
+ font: 16px Roboto, arial, sans-serif;
27
+ margin: 0 auto;
28
+ max-width: 360px;
29
+ /** This is needed for the invisible reCAPTCHA badge to show. */
30
+ overflow: visible;
31
+ position: relative;
32
+ text-align: left;
33
+ width: 100%;
34
+ }
35
+
36
+ .firebaseui-container.mdl-card {
37
+ /** This is needed for the invisible reCAPTCHA badge to show. */
38
+ overflow: visible;
39
+ }
40
+
41
+ .firebaseui-card-header {
42
+ padding: 24px 24px 0 24px;
43
+ }
44
+
45
+
46
+ .firebaseui-card-content {
47
+ padding: 0 24px;
48
+ }
49
+
50
+ .firebaseui-card-footer {
51
+ padding: 0 24px;
52
+ }
53
+
54
+ .firebaseui-card-actions {
55
+ box-sizing: border-box;
56
+ display: table;
57
+ font-size: 14px;
58
+ padding: 8px 24px 24px 24px;
59
+ text-align: left;
60
+ width: 100%;
61
+ }
62
+
63
+ .firebaseui-form-links {
64
+ display: table-cell;
65
+ vertical-align: middle;
66
+ width: 100%;
67
+ }
68
+
69
+ .firebaseui-form-actions {
70
+ display: table-cell;
71
+ text-align: right;
72
+ white-space: nowrap;
73
+ width: 100%;
74
+ }
75
+
76
+ .firebaseui-title,
77
+ .firebaseui-subtitle {
78
+ color: rgba(0, 0, 0, 0.87);
79
+ direction: ltr;
80
+ font-size: 20px;
81
+ font-weight: 500;
82
+ line-height: 24px;
83
+ margin: 0;
84
+ padding: 0;
85
+ text-align: left;
86
+ }
87
+
88
+ .firebaseui-title {
89
+ padding-bottom: 16px;
90
+ }
91
+
92
+ .firebaseui-subtitle {
93
+ margin: 16px 0;
94
+ }
95
+
96
+ .firebaseui-text {
97
+ color: rgba(0, 0, 0, 0.87);
98
+ direction: ltr;
99
+ font-size: 16px;
100
+ line-height: 24px;
101
+ text-align: left;
102
+ }
103
+
104
+ .firebaseui-id-page-password-recovery-email-sent p.firebaseui-text {
105
+ margin: 16px 0;
106
+ }
107
+
108
+ .firebaseui-text-emphasis {
109
+ font-weight: 700;
110
+ }
111
+
112
+ .firebaseui-error {
113
+ color: #dd2c00;
114
+ direction: ltr;
115
+ font-size: 12px;
116
+ line-height: 16px;
117
+ margin: 0;
118
+ text-align: left;
119
+ }
120
+
121
+ .firebaseui-text-input-error {
122
+ /* Set a negative margin, as MDL text inputs have a large bottom margin. */
123
+ margin: -16px 0 16px;
124
+ }
125
+
126
+
127
+ .firebaseui-error-wrapper {
128
+ min-height: 16px;
129
+ }
130
+
131
+
132
+ .firebaseui-list-item {
133
+ direction: ltr;
134
+ margin: 0;
135
+ padding: 0;
136
+ text-align: left;
137
+ }
138
+
139
+ .firebaseui-hidden {
140
+ display: none;
141
+ }
142
+
143
+ .firebaseui-relative-wrapper {
144
+ position: relative;
145
+ }
146
+
147
+ .firebaseui-label {
148
+ color: rgba(0, 0, 0, 0.54);
149
+ direction: ltr;
150
+ font-size: 16px;
151
+ text-align: left;
152
+ }
153
+
154
+ /* Override MDL floating text field label color. */
155
+ .mdl-textfield--floating-label.is-focused .mdl-textfield__label,
156
+ .mdl-textfield--floating-label.is-dirty .mdl-textfield__label {
157
+ color: #757575;
158
+ }
159
+
160
+ .firebaseui-input,
161
+ .firebaseui-input-invalid {
162
+ border-radius: 0; /** iOS puts rounded corners on text inputs. */
163
+ color: rgba(0, 0, 0, 0.87);
164
+ direction: ltr;
165
+ font-size: 16px;
166
+ width: 100%;
167
+ }
168
+
169
+ input.firebaseui-input,
170
+ input.firebaseui-input-invalid{
171
+ direction: ltr;
172
+ text-align: left;
173
+ }
174
+
175
+ .firebaseui-input-invalid {
176
+ border-color: #dd2c00;
177
+ }
178
+
179
+ .firebaseui-textfield {
180
+ width: 100%;
181
+ }
182
+
183
+ /* Override MDL's error handling with our own. */
184
+ .firebaseui-textfield.mdl-textfield .firebaseui-input {
185
+ border-color: rgba(0, 0, 0, 0.12);
186
+ }
187
+
188
+ .firebaseui-textfield.mdl-textfield .firebaseui-label::after {
189
+ background-color: #3f51b5;
190
+ }
191
+
192
+ .firebaseui-textfield-invalid.mdl-textfield .firebaseui-input {
193
+ border-color: #dd2c00;
194
+ }
195
+
196
+ .firebaseui-textfield-invalid.mdl-textfield .firebaseui-label::after {
197
+ background-color: #dd2c00;
198
+ }
199
+
200
+ .firebaseui-button {
201
+ display: inline-block;
202
+ height: 36px;
203
+ margin-left: 8px;
204
+ min-width: 88px;
205
+ }
206
+
207
+ .firebaseui-link {
208
+ color: #4285f4;
209
+ font-variant: normal;
210
+ font-weight: normal;
211
+ text-decoration: none;
212
+ }
213
+
214
+ .firebaseui-link:hover {
215
+ text-decoration: underline;
216
+ }
217
+
218
+ .firebaseui-indent {
219
+ margin-left: 1em;
220
+ }
221
+
222
+ .firebaseui-tos {
223
+ color: #757575;
224
+ direction: ltr;
225
+ font-size: 12px;
226
+ line-height: 16px;
227
+ margin-bottom: 24px;
228
+ margin-top: 0;
229
+ text-align: left;
230
+ }
231
+
232
+ .firebaseui-provider-sign-in-footer > .firebaseui-tos {
233
+ text-align: center;
234
+ }
235
+
236
+ .firebaseui-tos-list {
237
+ list-style: none;
238
+ text-align: right;
239
+ }
240
+
241
+ .firebaseui-inline-list-item {
242
+ display: inline-block;
243
+ margin-left: 5px;
244
+ margin-right: 5px;
245
+ }
246
+
247
+ .firebaseui-page-provider-sign-in,
248
+ .firebaseui-page-select-tenant
249
+ {
250
+ background: inherit;
251
+ }
252
+
253
+ .firebaseui-idp-list,
254
+ .firebaseui-tenant-list {
255
+ list-style: none;
256
+ margin: 1em 0;
257
+ padding: 0;
258
+ }
259
+
260
+ .firebaseui-idp-button,
261
+ .firebaseui-tenant-button {
262
+ direction: ltr;
263
+ font-weight: 500;
264
+ height: auto;
265
+ line-height: normal;
266
+ max-width: 220px;
267
+ min-height: 40px;
268
+ padding: 8px 16px;
269
+ text-align: left;
270
+ width: 100%;
271
+ }
272
+
273
+ .firebaseui-idp-list > .firebaseui-list-item,
274
+ .firebaseui-tenant-list > .firebaseui-list-item {
275
+ margin-bottom: 15px;
276
+ text-align: center;
277
+ }
278
+
279
+ .firebaseui-idp-icon-wrapper {
280
+ display: table-cell;
281
+ vertical-align: middle;
282
+ }
283
+
284
+ .firebaseui-idp-icon {
285
+ border: none;
286
+ display: inline-block;
287
+ height: 18px;
288
+ vertical-align: middle;
289
+ width: 18px;
290
+ }
291
+
292
+ .firebaseui-idp-favicon {
293
+ border: none;
294
+ display: inline-block;
295
+ height: 14px;
296
+ margin-right: 5px;
297
+ vertical-align: middle;
298
+ width: 14px;
299
+ }
300
+
301
+ .firebaseui-idp-text {
302
+ color: #fff;
303
+ display: table-cell;
304
+ font-size: 14px;
305
+ padding-left: 16px;
306
+ text-transform: none;
307
+ vertical-align: middle;
308
+ }
309
+
310
+ .firebaseui-idp-text.firebaseui-idp-text-long {
311
+ display: table-cell;
312
+ }
313
+
314
+ .firebaseui-idp-text.firebaseui-idp-text-short {
315
+ display: none;
316
+ }
317
+
318
+ /* 220px for button + 2x24 for margin = 268px */
319
+ @media (max-width: 268px) {
320
+ .firebaseui-idp-text.firebaseui-idp-text-long {
321
+ display: none;
322
+ }
323
+
324
+ .firebaseui-idp-text.firebaseui-idp-text-short {
325
+ display: table-cell;
326
+ }
327
+ }
328
+
329
+ /* Resize reCAPTCHA container on narrow mobile devices. */
330
+ @media (max-width: 320px) {
331
+ .firebaseui-recaptcha-container > div > div {
332
+ transform: scale(0.9);
333
+ -webkit-transform: scale(0.9);
334
+ transform-origin: 0 0;
335
+ -webkit-transform-origin: 0 0;
336
+ }
337
+ }
338
+
339
+ .firebaseui-idp-google > .firebaseui-idp-text {
340
+ color: #757575;
341
+ }
342
+
343
+ /* Override the size of Yahoo's icon. */
344
+ [data-provider-id="yahoo.com"] > .firebaseui-idp-icon-wrapper >
345
+ .firebaseui-idp-icon {
346
+ height: 22px;
347
+ width: 22px;
348
+ }
349
+
350
+ .firebaseui-info-bar {
351
+ background-color: #f9edbe;
352
+ border: 1px solid #f0c36d;
353
+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
354
+ -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
355
+ -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
356
+ left: 10%;
357
+ padding: 8px 16px;
358
+ position: absolute;
359
+ right: 10%;
360
+ text-align: center;
361
+ top: 0;
362
+ }
363
+
364
+ .firebaseui-info-bar-message {
365
+ font-size: 12px;
366
+ margin: 0;
367
+ }
368
+
369
+ .firebaseui-dialog {
370
+ box-sizing: border-box;
371
+ /* We need to set these properties again since dialogs are not contained in
372
+ * the main FirebaseUI container. */
373
+ color: rgba(0, 0, 0, 0.87);
374
+ font: 16px Roboto, arial, sans-serif;
375
+ /* If we do not set height here, the default Safari dialog settings make the
376
+ * dialog too tall. */
377
+ height: auto;
378
+ max-height: fit-content;
379
+ padding: 24px;
380
+ text-align: left;
381
+ }
382
+
383
+ .firebaseui-dialog-icon-wrapper {
384
+ display: table-cell;
385
+ vertical-align: middle;
386
+ }
387
+
388
+ .firebaseui-dialog-icon {
389
+ float: left;
390
+ height: 40px;
391
+ margin-right: 24px;
392
+ width: 40px;
393
+ }
394
+
395
+ .firebaseui-progress-dialog-message {
396
+ display: table-cell;
397
+ font-size: 16px;
398
+ font-weight: 400;
399
+ min-height: 40px;
400
+ vertical-align: middle;
401
+ }
402
+
403
+ .firebaseui-progress-dialog-loading-icon {
404
+ height: 28px;
405
+ margin: 6px 30px 6px 6px;
406
+ width: 28px;
407
+ }
408
+
409
+ .firebaseui-icon-done {
410
+ background-image: url("https://www.gstatic.com/images/icons/material/system/2x/done_googgreen_36dp.png");
411
+ background-position: center;
412
+ background-repeat: no-repeat;
413
+ background-size: 36px 36px;
414
+ }
415
+
416
+ .firebaseui-phone-number {
417
+ display: flex;
418
+ }
419
+
420
+ .firebaseui-country-selector {
421
+ /* TODO: Use 2x for HD displays. */
422
+ background-image: url('https://www.gstatic.com/images/icons/material/system/1x/arrow_drop_down_grey600_18dp.png');
423
+ background-position: right center;
424
+ background-repeat: no-repeat;
425
+ background-size: 18px auto;
426
+ border-radius: 0;
427
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12);
428
+ color: rgba(0, 0, 0, 0.87);
429
+ flex-shrink: 0;
430
+ font-size: 16px;
431
+ font-weight: normal;
432
+ height: initial;
433
+ line-height: normal;
434
+ margin: 20px 24px 20px 0;
435
+ padding: 4px 20px 4px 0;
436
+ width: 90px;
437
+ }
438
+
439
+ .firebaseui-country-selector-flag {
440
+ display: inline-block;
441
+ margin-right: 1ex;
442
+ }
443
+
444
+ .firebaseui-flag {
445
+ background-image: url("https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/flags_sprite_2x.png");
446
+ background-size: 100% auto;
447
+ /* Set a drop shadow so white flags are more distinct. */
448
+ filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.54));
449
+ height: 14px;
450
+ width: 24px;
451
+ }
452
+
453
+ .firebaseui-list-box-dialog {
454
+ max-height: 90%;
455
+ overflow: auto;
456
+ padding: 8px 0 0 0;
457
+ }
458
+
459
+ .firebaseui-list-box-actions {
460
+ padding-bottom: 8px;
461
+ }
462
+
463
+ .firebaseui-list-box-icon-wrapper {
464
+ display: table-cell;
465
+ padding-right: 24px;
466
+ vertical-align: top;
467
+ }
468
+
469
+ .firebaseui-list-box-label-wrapper {
470
+ display: table-cell;
471
+ vertical-align: top;
472
+ }
473
+
474
+ .firebaseui-list-box-dialog-button {
475
+ color: rgba(0, 0, 0, 0.87);
476
+ direction: ltr;
477
+ font-size: 16px;
478
+ font-weight: normal;
479
+ height: initial;
480
+ line-height: normal;
481
+ min-height: 48px;
482
+ padding: 14px 24px;
483
+ text-align: left;
484
+ text-transform: none;
485
+ width: 100%;
486
+ }
487
+
488
+ .firebaseui-phone-number-error {
489
+ /* Align this with the national number input. Add a margin of
490
+ * button width (90px) + button margin (24px). */
491
+ margin-left: 114px;
492
+ }
493
+
494
+ .mdl-progress.firebaseui-busy-indicator {
495
+ height: 2px;
496
+ left: 0;
497
+ position: absolute;
498
+ top: 55px;
499
+ width: 100%;
500
+ }
501
+
502
+ .mdl-spinner.firebaseui-busy-indicator {
503
+ direction: initial;
504
+ height: 56px;
505
+ left: 0px;
506
+ margin: auto;
507
+ position: absolute;
508
+ right: 0px;
509
+ top: 30%;
510
+ width: 56px;
511
+ }
512
+
513
+ .firebaseui-callback-indicator-container .firebaseui-busy-indicator {
514
+ top: 0px;
515
+ }
516
+
517
+ .firebaseui-callback-indicator-container {
518
+ height: 120px;
519
+ }
520
+
521
+ .firebaseui-new-password-component {
522
+ display: inline-block;
523
+ position: relative;
524
+ width: 100%;
525
+ }
526
+
527
+ .firebaseui-input-floating-button {
528
+ background-position: center;
529
+ background-repeat: no-repeat;
530
+ display: block;
531
+ height: 24px;
532
+ position: absolute;
533
+ right: 0;
534
+ top: 20px;
535
+ width: 24px;
536
+ }
537
+
538
+ .firebaseui-input-toggle-on {
539
+ background-image: url("https://www.gstatic.com/images/icons/material/system/1x/visibility_black_24dp.png");
540
+ }
541
+
542
+ .firebaseui-input-toggle-off {
543
+ background-image: url("https://www.gstatic.com/images/icons/material/system/1x/visibility_off_black_24dp.png");
544
+ }
545
+
546
+ .firebaseui-input-toggle-focus {
547
+ opacity: 0.87;
548
+ }
549
+
550
+ .firebaseui-input-toggle-blur {
551
+ opacity: 0.38;
552
+ }
553
+
554
+ .firebaseui-recaptcha-wrapper {
555
+ display: table;
556
+ margin: 0 auto;
557
+ padding-bottom: 8px;
558
+ }
559
+
560
+ .firebaseui-recaptcha-container {
561
+ display: table-cell;
562
+ }
563
+
564
+ .firebaseui-recaptcha-error-wrapper {
565
+ caption-side: bottom;
566
+ display: table-caption;
567
+ }
568
+
569
+ .firebaseui-change-phone-number-link {
570
+ display: block;
571
+ }
572
+
573
+ .firebaseui-resend-container {
574
+ direction: ltr;
575
+ margin: 20px 0;
576
+ text-align: center;
577
+ }
578
+
579
+ .firebaseui-id-resend-countdown {
580
+ color: rgba(0, 0, 0, 0.38);
581
+ }
582
+
583
+ /**
584
+ * This div holds the invisible reCAPTCHA badge. The float property is needed
585
+ * as it messes up the cancel and submit buttons to align vertically when they
586
+ * should horizontally.
587
+ */
588
+ .firebaseui-id-page-phone-sign-in-start .firebaseui-form-actions div {
589
+ float: left;
590
+ }
591
+
592
+ @media (max-width: 480px) {
593
+ .firebaseui-container {
594
+ box-shadow: none;
595
+ max-width: none;
596
+ width: 100%;
597
+ }
598
+
599
+ .firebaseui-card-header {
600
+ border-bottom: 1px solid #e0e0e0;
601
+ margin-bottom: 16px;
602
+ padding: 16px 24px 0 24px;
603
+ }
604
+
605
+ .firebaseui-title {
606
+ padding-bottom: 16px;
607
+ }
608
+
609
+ .firebaseui-card-actions {
610
+ padding-right: 24px;
611
+ }
612
+
613
+ .firebaseui-busy-indicator {
614
+ top: 0px;
615
+ }
616
+ }
617
+
618
+ /*
619
+ * Bootstrap applies styles to all <label> elements, so override those styles.
620
+ */
621
+ .mdl-textfield__label {
622
+ font-weight: normal;
623
+ margin-bottom: 0;
624
+ }
625
+
626
+ .firebaseui-id-page-blank {
627
+ background: inherit;
628
+ height: 64px;
629
+ }
630
+
631
+ .firebaseui-id-page-spinner {
632
+ background: inherit;
633
+ height: 64px;
634
+ }
635
+
636
+ .firebaseui-email-sent {
637
+ background-image: url("https://www.gstatic.com/firebasejs/ui/2.0.0/images/auth/success_status.png");
638
+ background-position: center;
639
+ background-repeat: no-repeat;
640
+ background-size: 64px 64px;
641
+ height: 64px;
642
+ margin-top: 16px;
643
+ text-align: center;
644
+ }
645
+
646
+ .firebaseui-text-justify {
647
+ text-align: justify;
648
+ }
@@ -0,0 +1 @@
1
+ /// <reference types="astro/client" />