@rebilly/instruments 3.12.3-beta.0 → 3.13.2-beta.0
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/README.md +1 -1
- package/dist/index.js +43 -66
- package/dist/index.min.js +43 -66
- package/package.json +3 -6
- package/src/functions/destroy.js +8 -2
- package/src/functions/mount/fetch-data.js +9 -2
- package/src/functions/mount/index.js +15 -10
- package/src/functions/mount/mount.spec.js +10 -11
- package/src/functions/mount/setup-framepay-theme.js +30 -72
- package/src/functions/mount/setup-options.js +2 -2
- package/src/functions/mount/{setup-styles.js → setup-styles-vars.js} +9 -7
- package/src/functions/purchase.js +2 -5
- package/src/functions/setup.js +3 -6
- package/src/functions/show.js +2 -2
- package/src/functions/show.spec.js +4 -4
- package/src/functions/update.spec.js +4 -3
- package/src/instance.js +4 -1
- package/src/loader/index.js +57 -33
- package/src/storefront/index.js +2 -5
- package/src/storefront/payment-instruments.js +7 -0
- package/src/style/base/__snapshots__/theme.spec.js.snap +136 -220
- package/src/style/base/default-theme.js +187 -14
- package/src/style/base/index.js +487 -79
- package/src/style/base/theme.js +3 -4
- package/src/style/base/theme.spec.js +2 -3
- package/src/style/index.js +4 -24
- package/src/style/utils/color-values.js +1 -1
- package/src/style/utils/minifyCss.js +14 -0
- package/src/views/common/iframe/base-iframe.js +3 -2
- package/src/views/common/iframe/event-listeners.js +12 -9
- package/src/views/common/iframe/method-iframe.js +3 -1
- package/src/views/common/iframe/modal-iframe.js +4 -2
- package/src/views/common/iframe/view-iframe.js +3 -1
- package/src/views/confirmation.js +12 -7
- package/src/views/errors.js +95 -0
- package/src/views/method-selector/express-methods.js +51 -0
- package/src/views/method-selector/generate-framepay-config.js +54 -0
- package/src/views/method-selector/generate-framepay-config.spec.js +195 -0
- package/src/views/method-selector/get-payment-methods.js +0 -1
- package/src/views/method-selector/index.js +45 -58
- package/src/views/method-selector/method-selector.spec.js +1 -1
- package/src/views/method-selector/mount-express-methods.js +66 -26
- package/src/views/modal.js +1 -1
- package/src/views/result.js +3 -3
- package/src/views/summary.js +24 -190
- package/tests/mocks/storefront-api-mock.js +48 -27
- package/src/style/browserslist.js +0 -1
- package/src/style/components/accordion.js +0 -140
- package/src/style/components/address.js +0 -55
- package/src/style/components/button.js +0 -117
- package/src/style/components/divider.js +0 -39
- package/src/style/components/forms/checkbox.js +0 -75
- package/src/style/components/forms/field.js +0 -56
- package/src/style/components/forms/form.js +0 -18
- package/src/style/components/forms/input.js +0 -77
- package/src/style/components/forms/label.js +0 -55
- package/src/style/components/forms/radio.js +0 -80
- package/src/style/components/forms/select.js +0 -86
- package/src/style/components/forms/validation.js +0 -72
- package/src/style/components/icons.js +0 -13
- package/src/style/components/index.js +0 -39
- package/src/style/components/loader.js +0 -41
- package/src/style/components/methods.js +0 -97
- package/src/style/components/overlay.js +0 -24
- package/src/style/helpers/index.js +0 -54
- package/src/style/payment-instruments/content.js +0 -8
- package/src/style/payment-instruments/index.js +0 -14
- package/src/style/payment-instruments/payment-card.js +0 -27
- package/src/style/payment-instruments/payment-instrument-list.js +0 -44
- package/src/style/payment-instruments/payment-instrument.js +0 -55
- package/src/style/utils/remove-empty-null.js +0 -10
- package/src/style/vendor/framepay.js +0 -28
- package/src/style/vendor/postmate.js +0 -18
- package/src/style/views/confirmation.js +0 -26
- package/src/style/views/index.js +0 -16
- package/src/style/views/method-selector.js +0 -11
- package/src/style/views/modal.js +0 -91
- package/src/style/views/result.js +0 -52
- package/src/style/views/summary.js +0 -118
- package/src/views/__snapshots__/summary.spec.js.snap +0 -246
- package/src/views/method-selector/express-methods/apple-pay.js +0 -92
- package/src/views/method-selector/express-methods/index.js +0 -25
- package/src/views/method-selector/mount-methods.js +0 -178
- package/src/views/summary.spec.js +0 -145
package/src/storefront/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import RebillyApi, {RebillyStorefrontAPI, RebillyExperimentalAPI} from 'rebilly-js-sdk';
|
|
2
|
+
import { showError } from '../views/errors';
|
|
2
3
|
|
|
3
4
|
export function validateStateForStorefront({state}) {
|
|
4
5
|
if (!state.storefront) {
|
|
@@ -19,11 +20,7 @@ export async function Endpoint({
|
|
|
19
20
|
validateStateForStorefront({state});
|
|
20
21
|
return await callback();
|
|
21
22
|
} catch(error) {
|
|
22
|
-
|
|
23
|
-
// console.error(error);
|
|
24
|
-
if(error.status === 422) {
|
|
25
|
-
error.details.forEach(e => console.error(e));
|
|
26
|
-
}
|
|
23
|
+
showError(error);
|
|
27
24
|
throw error;
|
|
28
25
|
}
|
|
29
26
|
}
|
|
@@ -32,3 +32,10 @@ export async function setupPaymentInstrument({ data, state }) {
|
|
|
32
32
|
return {instrument, transaction};
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
export async function fetchPaymentInstrument({ state }) {
|
|
37
|
+
return Endpoint({state}, async () => {
|
|
38
|
+
const { items: instruments } = await state.storefront.paymentInstruments.getAll();
|
|
39
|
+
return instruments.map(({fields}) => fields);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
@@ -2,226 +2,142 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`RebillyInstruments theme builds the theme object 1`] = `
|
|
4
4
|
Object {
|
|
5
|
-
"borderRadius": "4px",
|
|
6
|
-
"buttonActiveBorder": "var(--rebilly-buttonHoverBorder)",
|
|
7
|
-
"buttonActiveBorderRadius": "var(--rebilly-buttonHoverBorderRadius)",
|
|
8
|
-
"buttonActiveBoxShadow": "var(--rebilly-buttonHoverBoxShadow)",
|
|
9
|
-
"buttonActiveColorBackground": "var(--rebilly-buttonHoverColorBackground)",
|
|
10
|
-
"buttonActiveColorText": "var(--rebilly-buttonHoverColorText)",
|
|
11
|
-
"buttonActiveFontFamily": "var(--rebilly-buttonHoverFontFamily)",
|
|
12
|
-
"buttonActiveFontLineHeight": "var(--rebilly-buttonHoverFontLineHeight)",
|
|
13
|
-
"buttonActiveFontSize": "var(--rebilly-buttonHoverFontSize)",
|
|
14
|
-
"buttonActiveFontWeight": "var(--rebilly-buttonHoverFontWeight)",
|
|
15
|
-
"buttonBorder": "1px solid transparent",
|
|
16
|
-
"buttonBorderRadius": "var(--rebilly-borderRadius)",
|
|
17
|
-
"buttonBoxShadow": "none",
|
|
18
|
-
"buttonColorBackground": "var(--rebilly-colorPrimary)",
|
|
19
|
-
"buttonColorText": "#FFFFFF",
|
|
20
|
-
"buttonFontFamily": "var(--rebilly-fontFamily)",
|
|
21
|
-
"buttonFontLineHeight": "1.5",
|
|
22
|
-
"buttonFontSize": "var(--rebilly-fontSizeBase)",
|
|
23
|
-
"buttonFontWeight": "var(--rebilly-fontWeightBase)",
|
|
24
|
-
"buttonHoverBorder": "1px solid #0036aa",
|
|
25
|
-
"buttonHoverBorderRadius": "var(--rebilly-buttonBorderRadius)",
|
|
26
|
-
"buttonHoverBoxShadow": "var(--rebilly-buttonBoxShadow)",
|
|
27
|
-
"buttonHoverColorBackground": "#0036aa",
|
|
28
|
-
"buttonHoverColorText": "var(--rebilly-buttonColorText)",
|
|
29
|
-
"buttonHoverFontFamily": "var(--rebilly-buttonFontFamily)",
|
|
30
|
-
"buttonHoverFontLineHeight": "var(--rebilly-buttonFontLineHeight)",
|
|
31
|
-
"buttonHoverFontSize": "var(--rebilly-buttonFontSize)",
|
|
32
|
-
"buttonHoverFontWeight": "var(--rebilly-buttonFontWeight)",
|
|
33
|
-
"colorBackground": "#FFFFFF",
|
|
34
|
-
"colorDanger": "#CD5C5C",
|
|
35
|
-
"colorMutedBorder": "rgba(13, 43, 62, 0.25)",
|
|
36
|
-
"colorMutedText": "rgba(13, 43, 62, 0.6)",
|
|
37
|
-
"colorPrimary": "#0044D4",
|
|
38
|
-
"colorText": "#0D2B3E",
|
|
39
5
|
"cssVars": "--rebilly-colorPrimary: #0044D4;
|
|
40
|
-
--rebilly-colorBackground: #FFFFFF;
|
|
41
|
-
--rebilly-colorText: #0D2B3E;
|
|
42
|
-
--rebilly-colorMutedText: rgba(13, 43, 62, 0.
|
|
43
|
-
--rebilly-colorMutedBorder:
|
|
44
|
-
--rebilly-colorDanger: #CD5C5C;
|
|
45
|
-
--rebilly-fontFamily: Avenir, Helvetica, Arial, sans-serif;
|
|
46
|
-
--rebilly-fontSizeBase: 16px;
|
|
47
|
-
--rebilly-fontWeightBase:
|
|
48
|
-
--rebilly-fontLineHeightBase:
|
|
49
|
-
--rebilly-fontSmooth: auto;
|
|
50
|
-
--rebilly-borderRadius:
|
|
51
|
-
--rebilly-headingFontFamily: var(--rebilly-fontFamily);
|
|
52
|
-
--rebilly-headingFontWeight:
|
|
53
|
-
--rebilly-headingColorText: var(--rebilly-colorText);
|
|
54
|
-
--rebilly-buttonColorBackground: var(--rebilly-colorPrimary);
|
|
55
|
-
--rebilly-buttonColorText: #FFFFFF;
|
|
56
|
-
--rebilly-buttonFontFamily: var(--rebilly-fontFamily);
|
|
57
|
-
--rebilly-buttonFontSize: var(--rebilly-fontSizeBase);
|
|
58
|
-
--rebilly-buttonFontLineHeight:
|
|
59
|
-
--rebilly-buttonFontWeight: var(--rebilly-fontWeightBase);
|
|
60
|
-
--rebilly-buttonBorder: 1px solid transparent;
|
|
61
|
-
--rebilly-buttonBorderRadius: var(--rebilly-borderRadius);
|
|
62
|
-
--rebilly-buttonBoxShadow: none;
|
|
63
|
-
--rebilly-
|
|
64
|
-
--rebilly-
|
|
65
|
-
--rebilly-
|
|
66
|
-
--rebilly-
|
|
67
|
-
--rebilly-
|
|
68
|
-
--rebilly-
|
|
69
|
-
--rebilly-
|
|
70
|
-
--rebilly-
|
|
71
|
-
--rebilly-
|
|
72
|
-
--rebilly-
|
|
73
|
-
--rebilly-
|
|
74
|
-
--rebilly-
|
|
75
|
-
--rebilly-
|
|
76
|
-
--rebilly-
|
|
77
|
-
--rebilly-
|
|
78
|
-
--rebilly-
|
|
79
|
-
--rebilly-
|
|
80
|
-
--rebilly-
|
|
81
|
-
--rebilly-
|
|
82
|
-
--rebilly-
|
|
83
|
-
--rebilly-
|
|
84
|
-
--rebilly-
|
|
85
|
-
--rebilly-
|
|
86
|
-
--rebilly-
|
|
87
|
-
--rebilly-
|
|
88
|
-
--rebilly-
|
|
89
|
-
--rebilly-
|
|
90
|
-
--rebilly-
|
|
91
|
-
--rebilly-
|
|
92
|
-
--rebilly-
|
|
93
|
-
--rebilly-
|
|
94
|
-
--rebilly-
|
|
95
|
-
--rebilly-
|
|
96
|
-
--rebilly-
|
|
97
|
-
--rebilly-
|
|
98
|
-
--rebilly-
|
|
99
|
-
--rebilly-
|
|
100
|
-
--rebilly-
|
|
101
|
-
--rebilly-
|
|
102
|
-
--rebilly-
|
|
103
|
-
--rebilly-
|
|
104
|
-
--rebilly-
|
|
105
|
-
--rebilly-
|
|
106
|
-
--rebilly-
|
|
107
|
-
--rebilly-
|
|
108
|
-
--rebilly-
|
|
109
|
-
--rebilly-
|
|
110
|
-
--rebilly-
|
|
111
|
-
--rebilly-
|
|
112
|
-
--rebilly-
|
|
113
|
-
--rebilly-
|
|
114
|
-
--rebilly-
|
|
115
|
-
--rebilly-
|
|
116
|
-
--rebilly-
|
|
117
|
-
--rebilly-
|
|
118
|
-
--rebilly-
|
|
119
|
-
--rebilly-
|
|
120
|
-
--rebilly-
|
|
121
|
-
--rebilly-
|
|
122
|
-
--rebilly-
|
|
123
|
-
--rebilly-
|
|
124
|
-
--rebilly-
|
|
125
|
-
--rebilly-
|
|
126
|
-
--rebilly-
|
|
127
|
-
--rebilly-
|
|
128
|
-
--rebilly-
|
|
129
|
-
--rebilly-
|
|
130
|
-
--rebilly-
|
|
131
|
-
--rebilly-
|
|
132
|
-
--rebilly-
|
|
133
|
-
--rebilly-
|
|
134
|
-
--rebilly-
|
|
135
|
-
--rebilly-
|
|
136
|
-
--rebilly-
|
|
137
|
-
--rebilly-
|
|
138
|
-
--rebilly-
|
|
139
|
-
--rebilly-
|
|
140
|
-
--rebilly-
|
|
141
|
-
--rebilly-
|
|
142
|
-
--rebilly-
|
|
143
|
-
--rebilly-
|
|
144
|
-
--rebilly-
|
|
145
|
-
--rebilly-
|
|
146
|
-
--rebilly-
|
|
147
|
-
--rebilly-
|
|
148
|
-
--rebilly-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"inputErrorFontFamily": "var(--rebilly-inputFontFamily)",
|
|
177
|
-
"inputErrorFontLineHeight": "var(--rebilly-inputFontLineHeight)",
|
|
178
|
-
"inputErrorFontSize": "var(--rebilly-inputFontSize)",
|
|
179
|
-
"inputErrorFontWeight": "var(--rebilly-inputFontWeight)",
|
|
180
|
-
"inputErrorHoverBorder": "var(--rebilly-inputErrorBorder)",
|
|
181
|
-
"inputErrorHoverBorderRadius": "var(--rebilly-inputErrorBorderRadius)",
|
|
182
|
-
"inputErrorHoverBoxShadow": "var(--rebilly-inputErrorBoxShadow)",
|
|
183
|
-
"inputErrorHoverColorBackground": "var(--rebilly-inputErrorColorBackground)",
|
|
184
|
-
"inputErrorHoverColorText": "var(--rebilly-inputErrorColorText)",
|
|
185
|
-
"inputErrorHoverFontFamily": "var(--rebilly-inputErrorFontFamily)",
|
|
186
|
-
"inputErrorHoverFontLineHeight": "var(--rebilly-inputErrorFontLineHeight)",
|
|
187
|
-
"inputErrorHoverFontSize": "var(--rebilly-inputErrorFontSize)",
|
|
188
|
-
"inputErrorHoverFontWeight": "var(--rebilly-inputErrorFontWeight)",
|
|
189
|
-
"inputErrorPlaceholderColorText": "rgba(205, 92, 92, 0.6)",
|
|
190
|
-
"inputErrorPlaceholderFontFamily": "var(--rebilly-inputPlaceholderFontFamily)",
|
|
191
|
-
"inputErrorPlaceholderFontLineHeight": "var(--rebilly-inputPlaceholderFontLineHeight)",
|
|
192
|
-
"inputErrorPlaceholderFontSize": "var(--rebilly-inputPlaceholderFontSize)",
|
|
193
|
-
"inputErrorPlaceholderFontWeight": "var(--rebilly-inputPlaceholderFontWeight)",
|
|
194
|
-
"inputErrorSelectionColorBackground": "var(--rebilly-inputSelectionColorBackground)",
|
|
195
|
-
"inputErrorSelectionColorText": "var(--rebilly-inputSelectionColorText)",
|
|
196
|
-
"inputFocusBorder": "1px solid #0044D4",
|
|
197
|
-
"inputFocusBorderRadius": "var(--rebilly-inputHoverBorderRadius)",
|
|
198
|
-
"inputFocusBoxShadow": "0 0 0 1px #0044D4",
|
|
199
|
-
"inputFocusColorBackground": "var(--rebilly-inputHoverColorBackground)",
|
|
200
|
-
"inputFocusColorText": "var(--rebilly-inputHoverColorText)",
|
|
201
|
-
"inputFocusFontFamily": "var(--rebilly-inputHoverFontFamily)",
|
|
202
|
-
"inputFocusFontLineHeight": "var(--rebilly-inputHoverFontLineHeight)",
|
|
203
|
-
"inputFocusFontSize": "var(--rebilly-inputHoverFontSize)",
|
|
204
|
-
"inputFocusFontWeight": "var(--rebilly-inputHoverFontWeight)",
|
|
205
|
-
"inputFontFamily": "var(--rebilly-fontFamily)",
|
|
206
|
-
"inputFontLineHeight": "1.5",
|
|
207
|
-
"inputFontSize": "var(--rebilly-fontSizeBase)",
|
|
208
|
-
"inputFontWeight": "var(--rebilly-fontWeightBase)",
|
|
209
|
-
"inputHoverBorder": "var(--rebilly-inputBorder)",
|
|
210
|
-
"inputHoverBorderRadius": "var(--rebilly-inputBorderRadius)",
|
|
211
|
-
"inputHoverBoxShadow": "var(--rebilly-inputBoxShadow)",
|
|
212
|
-
"inputHoverColorBackground": "var(--rebilly-inputColorBackground)",
|
|
213
|
-
"inputHoverColorText": "var(--rebilly-inputColorText)",
|
|
214
|
-
"inputHoverFontFamily": "var(--rebilly-inputFontFamily)",
|
|
215
|
-
"inputHoverFontLineHeight": "var(--rebilly-inputFontLineHeight)",
|
|
216
|
-
"inputHoverFontSize": "var(--rebilly-inputFontSize)",
|
|
217
|
-
"inputHoverFontWeight": "var(--rebilly-inputFontWeight)",
|
|
218
|
-
"inputPlaceholderColorText": "rgba(13, 43, 62, 0.6)",
|
|
219
|
-
"inputPlaceholderFontFamily": "var(--rebilly-inputFontFamily)",
|
|
220
|
-
"inputPlaceholderFontLineHeight": "var(--rebilly-inputFontLineHeight)",
|
|
221
|
-
"inputPlaceholderFontSize": "var(--rebilly-inputFontSize)",
|
|
222
|
-
"inputPlaceholderFontWeight": "var(--rebilly-inputFontWeight)",
|
|
223
|
-
"inputSelectionColorBackground": "highlight",
|
|
224
|
-
"inputSelectionColorText": "initial",
|
|
225
|
-
"labels": "floating",
|
|
6
|
+
--rebilly-colorBackground: #FFFFFF;
|
|
7
|
+
--rebilly-colorText: #0D2B3E;
|
|
8
|
+
--rebilly-colorMutedText: rgba(13, 43, 62, 0.5);
|
|
9
|
+
--rebilly-colorMutedBorder: #DCE3EA;
|
|
10
|
+
--rebilly-colorDanger: #CD5C5C;
|
|
11
|
+
--rebilly-fontFamily: Avenir, Helvetica, Arial, sans-serif;
|
|
12
|
+
--rebilly-fontSizeBase: 16px;
|
|
13
|
+
--rebilly-fontWeightBase: 500;
|
|
14
|
+
--rebilly-fontLineHeightBase: calc(16px * 1.5);
|
|
15
|
+
--rebilly-fontSmooth: auto;
|
|
16
|
+
--rebilly-borderRadius: 6px;
|
|
17
|
+
--rebilly-headingFontFamily: var(--rebilly-fontFamily);
|
|
18
|
+
--rebilly-headingFontWeight: 600;
|
|
19
|
+
--rebilly-headingColorText: var(--rebilly-colorText);
|
|
20
|
+
--rebilly-buttonColorBackground: var(--rebilly-colorPrimary);
|
|
21
|
+
--rebilly-buttonColorText: #FFFFFF;
|
|
22
|
+
--rebilly-buttonFontFamily: var(--rebilly-fontFamily);
|
|
23
|
+
--rebilly-buttonFontSize: var(--rebilly-fontSizeBase);
|
|
24
|
+
--rebilly-buttonFontLineHeight: var(--rebilly-fontLineHeightBase);
|
|
25
|
+
--rebilly-buttonFontWeight: var(--rebilly-fontWeightBase);
|
|
26
|
+
--rebilly-buttonBorder: 1px solid transparent;
|
|
27
|
+
--rebilly-buttonBorderRadius: var(--rebilly-borderRadius);
|
|
28
|
+
--rebilly-buttonBoxShadow: none;
|
|
29
|
+
--rebilly-buttonSecondaryColorBackground: var(--rebilly-colorBackground);
|
|
30
|
+
--rebilly-buttonSecondaryColorText: var(--rebilly-colorPrimary);
|
|
31
|
+
--rebilly-buttonSecondaryFontFamily: var(--rebilly-fontFamily);
|
|
32
|
+
--rebilly-buttonSecondaryFontSize: var(--rebilly-fontSizeBase);
|
|
33
|
+
--rebilly-buttonSecondaryFontLineHeight: var(--rebilly-fontLineHeightBase);
|
|
34
|
+
--rebilly-buttonSecondaryFontWeight: var(--rebilly-fontWeightBase);
|
|
35
|
+
--rebilly-buttonSecondaryBorder: 1px solid #0044D4;
|
|
36
|
+
--rebilly-buttonSecondaryBorderRadius: var(--rebilly-borderRadius);
|
|
37
|
+
--rebilly-buttonSecondaryBoxShadow: none;
|
|
38
|
+
--rebilly-buttonHoverColorBackground: #0036aa;
|
|
39
|
+
--rebilly-buttonHoverColorText: var(--rebilly-buttonColorText);
|
|
40
|
+
--rebilly-buttonHoverFontFamily: var(--rebilly-buttonFontFamily);
|
|
41
|
+
--rebilly-buttonHoverFontSize: var(--rebilly-buttonFontSize);
|
|
42
|
+
--rebilly-buttonHoverFontLineHeight: var(--rebilly-buttonFontLineHeight);
|
|
43
|
+
--rebilly-buttonHoverFontWeight: var(--rebilly-buttonFontWeight);
|
|
44
|
+
--rebilly-buttonHoverBorder: 1px solid #0036aa;
|
|
45
|
+
--rebilly-buttonHoverBorderRadius: var(--rebilly-buttonBorderRadius);
|
|
46
|
+
--rebilly-buttonHoverBoxShadow: var(--rebilly-buttonBoxShadow);
|
|
47
|
+
--rebilly-buttonSecondaryHoverColorBackground: var(--rebilly-colorBackground);
|
|
48
|
+
--rebilly-buttonSecondaryHoverColorText: var(--rebilly-buttonSecondaryColorText);
|
|
49
|
+
--rebilly-buttonSecondaryHoverFontFamily: var(--rebilly-buttonSecondaryFontFamily);
|
|
50
|
+
--rebilly-buttonSecondaryHoverFontSize: var(--rebilly-buttonSecondaryFontSize);
|
|
51
|
+
--rebilly-buttonSecondaryHoverFontLineHeight: var(--rebilly-buttonSecondaryFontLineHeight);
|
|
52
|
+
--rebilly-buttonSecondaryHoverFontWeight: var(--rebilly-buttonSecondaryFontWeight);
|
|
53
|
+
--rebilly-buttonSecondaryHoverBorder: var(--rebilly-buttonSecondaryBorder);
|
|
54
|
+
--rebilly-buttonSecondaryHoverBorderRadius: var(--rebilly-buttonSecondaryBorderRadius);
|
|
55
|
+
--rebilly-buttonSecondaryHoverBoxShadow: var(--rebilly-buttonSecondaryBoxShadow);
|
|
56
|
+
--rebilly-buttonActiveColorBackground: var(--rebilly-buttonHoverColorBackground);
|
|
57
|
+
--rebilly-buttonActiveColorText: var(--rebilly-buttonHoverColorText);
|
|
58
|
+
--rebilly-buttonActiveFontFamily: var(--rebilly-buttonHoverFontFamily);
|
|
59
|
+
--rebilly-buttonActiveFontSize: var(--rebilly-buttonHoverFontSize);
|
|
60
|
+
--rebilly-buttonActiveFontLineHeight: var(--rebilly-buttonHoverFontLineHeight);
|
|
61
|
+
--rebilly-buttonActiveFontWeight: var(--rebilly-buttonHoverFontWeight);
|
|
62
|
+
--rebilly-buttonActiveBorder: var(--rebilly-buttonHoverBorder);
|
|
63
|
+
--rebilly-buttonActiveBorderRadius: var(--rebilly-buttonHoverBorderRadius);
|
|
64
|
+
--rebilly-buttonActiveBoxShadow: var(--rebilly-buttonHoverBoxShadow);
|
|
65
|
+
--rebilly-buttonSecondaryActiveColorBackground: var(--rebilly-buttonSecondaryHoverColorBackground);
|
|
66
|
+
--rebilly-buttonSecondaryActiveColorText: var(--rebilly-buttonSecondaryHoverColorText);
|
|
67
|
+
--rebilly-buttonSecondaryActiveFontFamily: var(--rebilly-buttonSecondaryHoverFontFamily);
|
|
68
|
+
--rebilly-buttonSecondaryActiveFontSize: var(--rebilly-buttonSecondaryHoverFontSize);
|
|
69
|
+
--rebilly-buttonSecondaryActiveFontLineHeight: var(--rebilly-buttonSecondaryHoverFontLineHeight);
|
|
70
|
+
--rebilly-buttonSecondaryActiveFontWeight: var(--rebilly-buttonSecondaryHoverFontWeight);
|
|
71
|
+
--rebilly-buttonSecondaryActiveBorder: var(--rebilly-buttonSecondaryHoverBorder);
|
|
72
|
+
--rebilly-buttonSecondaryActiveBorderRadius: var(--rebilly-buttonSecondaryHoverBorderRadius);
|
|
73
|
+
--rebilly-buttonSecondaryActiveBoxShadow: var(--rebilly-buttonSecondaryHoverBoxShadow);
|
|
74
|
+
--rebilly-inputColorBackground: transparent;
|
|
75
|
+
--rebilly-inputColorText: var(--rebilly-colorText);
|
|
76
|
+
--rebilly-inputFontFamily: var(--rebilly-fontFamily);
|
|
77
|
+
--rebilly-inputFontSize: var(--rebilly-fontSizeBase);
|
|
78
|
+
--rebilly-inputFontLineHeight: var(--rebilly-fontLineHeightBase);
|
|
79
|
+
--rebilly-inputFontWeight: var(--rebilly-fontWeightBase);
|
|
80
|
+
--rebilly-inputBorder: 1px solid #d3dae1;
|
|
81
|
+
--rebilly-inputBorderRadius: var(--rebilly-borderRadius);
|
|
82
|
+
--rebilly-inputBoxShadow: none;
|
|
83
|
+
--rebilly-inputHoverColorBackground: var(--rebilly-inputColorBackground);
|
|
84
|
+
--rebilly-inputHoverColorText: var(--rebilly-inputColorText);
|
|
85
|
+
--rebilly-inputHoverFontFamily: var(--rebilly-inputFontFamily);
|
|
86
|
+
--rebilly-inputHoverFontSize: var(--rebilly-inputFontSize);
|
|
87
|
+
--rebilly-inputHoverFontLineHeight: var(--rebilly-inputFontLineHeight);
|
|
88
|
+
--rebilly-inputHoverFontWeight: var(--rebilly-inputFontWeight);
|
|
89
|
+
--rebilly-inputHoverBorder: var(--rebilly-inputBorder);
|
|
90
|
+
--rebilly-inputHoverBorderRadius: var(--rebilly-inputBorderRadius);
|
|
91
|
+
--rebilly-inputHoverBoxShadow: var(--rebilly-inputBoxShadow);
|
|
92
|
+
--rebilly-inputFocusColorBackground: var(--rebilly-inputHoverColorBackground);
|
|
93
|
+
--rebilly-inputFocusColorText: var(--rebilly-inputHoverColorText);
|
|
94
|
+
--rebilly-inputFocusFontFamily: var(--rebilly-inputHoverFontFamily);
|
|
95
|
+
--rebilly-inputFocusFontSize: var(--rebilly-inputHoverFontSize);
|
|
96
|
+
--rebilly-inputFocusFontLineHeight: var(--rebilly-inputHoverFontLineHeight);
|
|
97
|
+
--rebilly-inputFocusFontWeight: var(--rebilly-inputHoverFontWeight);
|
|
98
|
+
--rebilly-inputFocusBorder: 1px solid #0044D4;
|
|
99
|
+
--rebilly-inputFocusBorderRadius: var(--rebilly-inputHoverBorderRadius);
|
|
100
|
+
--rebilly-inputFocusBoxShadow: 0 0 0 1px #0044D4;
|
|
101
|
+
--rebilly-inputPlaceholderColorText: rgba(13, 43, 62, 0.5);
|
|
102
|
+
--rebilly-inputPlaceholderFontFamily: var(--rebilly-inputFontFamily);
|
|
103
|
+
--rebilly-inputPlaceholderFontSize: var(--rebilly-inputFontSize);
|
|
104
|
+
--rebilly-inputPlaceholderFontLineHeight: var(--rebilly-inputFontLineHeight);
|
|
105
|
+
--rebilly-inputPlaceholderFontWeight: var(--rebilly-inputFontWeight);
|
|
106
|
+
--rebilly-inputSelectionColorText: initial;
|
|
107
|
+
--rebilly-inputSelectionColorBackground: highlight;
|
|
108
|
+
--rebilly-inputErrorColorBackground: var(--rebilly-inputColorBackground);
|
|
109
|
+
--rebilly-inputErrorColorText: var(--rebilly-colorDanger);
|
|
110
|
+
--rebilly-inputErrorFontFamily: var(--rebilly-inputFontFamily);
|
|
111
|
+
--rebilly-inputErrorFontSize: var(--rebilly-inputFontSize);
|
|
112
|
+
--rebilly-inputErrorFontLineHeight: var(--rebilly-inputFontLineHeight);
|
|
113
|
+
--rebilly-inputErrorFontWeight: var(--rebilly-inputFontWeight);
|
|
114
|
+
--rebilly-inputErrorBorder: 1px solid #CD5C5C;
|
|
115
|
+
--rebilly-inputErrorBorderRadius: var(--rebilly-inputBorderRadius);
|
|
116
|
+
--rebilly-inputErrorBoxShadow: var(--rebilly-inputBoxShadow);
|
|
117
|
+
--rebilly-inputErrorHoverColorBackground: var(--rebilly-inputErrorColorBackground);
|
|
118
|
+
--rebilly-inputErrorHoverColorText: var(--rebilly-inputErrorColorText);
|
|
119
|
+
--rebilly-inputErrorHoverFontFamily: var(--rebilly-inputErrorFontFamily);
|
|
120
|
+
--rebilly-inputErrorHoverFontSize: var(--rebilly-inputErrorFontSize);
|
|
121
|
+
--rebilly-inputErrorHoverFontLineHeight: var(--rebilly-inputErrorFontLineHeight);
|
|
122
|
+
--rebilly-inputErrorHoverFontWeight: var(--rebilly-inputErrorFontWeight);
|
|
123
|
+
--rebilly-inputErrorHoverBorder: var(--rebilly-inputErrorBorder);
|
|
124
|
+
--rebilly-inputErrorHoverBorderRadius: var(--rebilly-inputErrorBorderRadius);
|
|
125
|
+
--rebilly-inputErrorHoverBoxShadow: var(--rebilly-inputErrorBoxShadow);
|
|
126
|
+
--rebilly-inputErrorFocusColorBackground: var(--rebilly-inputErrorHoverColorBackground);
|
|
127
|
+
--rebilly-inputErrorFocusColorText: var(--rebilly-inputErrorHoverColorText);
|
|
128
|
+
--rebilly-inputErrorFocusFontFamily: var(--rebilly-inputErrorHoverFontFamily);
|
|
129
|
+
--rebilly-inputErrorFocusFontSize: var(--rebilly-inputErrorHoverFontSize);
|
|
130
|
+
--rebilly-inputErrorFocusFontLineHeight: var(--rebilly-inputErrorHoverFontLineHeight);
|
|
131
|
+
--rebilly-inputErrorFocusFontWeight: var(--rebilly-inputErrorHoverFontWeight);
|
|
132
|
+
--rebilly-inputErrorFocusBorder: var(--rebilly-inputErrorHoverBorder);
|
|
133
|
+
--rebilly-inputErrorFocusBorderRadius: var(--rebilly-inputErrorHoverBorderRadius);
|
|
134
|
+
--rebilly-inputErrorFocusBoxShadow: var(--rebilly-inputErrorHoverBoxShadow);
|
|
135
|
+
--rebilly-inputErrorPlaceholderColorText: rgba(205, 92, 92, 0.5);
|
|
136
|
+
--rebilly-inputErrorPlaceholderFontFamily: var(--rebilly-inputPlaceholderFontFamily);
|
|
137
|
+
--rebilly-inputErrorPlaceholderFontSize: var(--rebilly-inputPlaceholderFontSize);
|
|
138
|
+
--rebilly-inputErrorPlaceholderFontLineHeight: var(--rebilly-inputPlaceholderFontLineHeight);
|
|
139
|
+
--rebilly-inputErrorPlaceholderFontWeight: var(--rebilly-inputPlaceholderFontWeight);
|
|
140
|
+
--rebilly-inputErrorSelectionColorText: var(--rebilly-inputSelectionColorText);
|
|
141
|
+
--rebilly-inputErrorSelectionColorBackground: var(--rebilly-inputSelectionColorBackground);",
|
|
226
142
|
}
|
|
227
143
|
`;
|