@rebilly/instruments 4.8.1 → 4.8.3
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/CHANGELOG.md +14 -0
- package/dist/index.js +1 -1
- package/dist/index.min.js +1 -1
- package/package.json +21 -19
- package/.babelrc +0 -26
- package/project.json +0 -31
- package/rollup.config.mjs +0 -79
- package/src/data/options-schema/index.js +0 -112
- package/src/data/options-schema/schemas/options-schema.js +0 -448
- package/src/events/base-event.js +0 -47
- package/src/events/events.spec.js +0 -11
- package/src/events/index.js +0 -15
- package/src/functions/destroy.js +0 -29
- package/src/functions/destroy.spec.js +0 -63
- package/src/functions/mount/fetch-data.js +0 -236
- package/src/functions/mount/fetch-data.spec.js +0 -317
- package/src/functions/mount/get-lead-source-data.js +0 -46
- package/src/functions/mount/get-lead-source-data.spec.js +0 -38
- package/src/functions/mount/index.js +0 -105
- package/src/functions/mount/mount.spec.js +0 -96
- package/src/functions/mount/setup-element.js +0 -29
- package/src/functions/mount/setup-framepay-theme.js +0 -104
- package/src/functions/mount/setup-framepay.js +0 -26
- package/src/functions/mount/setup-i18n.js +0 -21
- package/src/functions/mount/setup-options.js +0 -100
- package/src/functions/mount/setup-options.spec.js +0 -353
- package/src/functions/mount/setup-storefront.js +0 -23
- package/src/functions/mount/setup-styles-vars.js +0 -30
- package/src/functions/mount/setup-user-flow.js +0 -60
- package/src/functions/on.js +0 -22
- package/src/functions/on.spec.js +0 -75
- package/src/functions/purchase.js +0 -173
- package/src/functions/purchase.spec.js +0 -80
- package/src/functions/setup.js +0 -66
- package/src/functions/setup.spec.js +0 -111
- package/src/functions/show.js +0 -30
- package/src/functions/show.spec.js +0 -62
- package/src/functions/update.js +0 -40
- package/src/functions/update.spec.js +0 -104
- package/src/i18n/en.json +0 -35
- package/src/i18n/es.json +0 -32
- package/src/i18n/i18n.spec.js +0 -27
- package/src/i18n/index.js +0 -59
- package/src/index.js +0 -3
- package/src/instance.js +0 -48
- package/src/instance.spec.js +0 -44
- package/src/loader/index.js +0 -145
- package/src/loader/loader.spec.js +0 -74
- package/src/state/iframes.js +0 -23
- package/src/state/index.js +0 -64
- package/src/storefront/account-and-website.js +0 -18
- package/src/storefront/account-and-website.spec.js +0 -73
- package/src/storefront/deposit-requests.js +0 -12
- package/src/storefront/fetch-plans-from-addons-bumpOffer.js +0 -30
- package/src/storefront/fetch-products-from-plans.js +0 -59
- package/src/storefront/fetch-products-from-plans.spec.js +0 -113
- package/src/storefront/index.js +0 -78
- package/src/storefront/invoices.js +0 -23
- package/src/storefront/invoices.spec.js +0 -92
- package/src/storefront/models/account-model.js +0 -36
- package/src/storefront/models/base-model.js +0 -7
- package/src/storefront/models/deposit-request-model.js +0 -24
- package/src/storefront/models/invoice-model.js +0 -20
- package/src/storefront/models/payment-metadata.js +0 -7
- package/src/storefront/models/plan-model.js +0 -94
- package/src/storefront/models/product-model.js +0 -3
- package/src/storefront/models/ready-to-pay-model.js +0 -76
- package/src/storefront/models/summary-model.js +0 -56
- package/src/storefront/models/transaction-model.js +0 -16
- package/src/storefront/models/website-model.js +0 -3
- package/src/storefront/payment-instruments.js +0 -47
- package/src/storefront/payment-instruments.spec.js +0 -88
- package/src/storefront/purchase.js +0 -60
- package/src/storefront/purchase.spec.js +0 -53
- package/src/storefront/ready-to-pay.js +0 -96
- package/src/storefront/ready-to-pay.spec.js +0 -76
- package/src/storefront/storefront.spec.js +0 -14
- package/src/storefront/summary.js +0 -114
- package/src/storefront/summary.spec.js +0 -136
- package/src/storefront/transactions.js +0 -12
- package/src/style/base/__snapshots__/theme.spec.js.snap +0 -143
- package/src/style/base/default-theme.js +0 -955
- package/src/style/base/index.js +0 -688
- package/src/style/base/theme.js +0 -30
- package/src/style/base/theme.spec.js +0 -19
- package/src/style/index.js +0 -11
- package/src/style/utils/border.js +0 -47
- package/src/style/utils/color-values.js +0 -35
- package/src/style/utils/minifyCss.js +0 -14
- package/src/utils/add-dom-element.js +0 -17
- package/src/utils/format-currency.js +0 -8
- package/src/utils/has-valid-css-selector.js +0 -4
- package/src/utils/index.js +0 -15
- package/src/utils/is-dom-element.js +0 -3
- package/src/utils/process-property-as-dom-element.js +0 -31
- package/src/utils/quantity.js +0 -47
- package/src/utils/sleep.js +0 -5
- package/src/views/amount-selector.js +0 -46
- package/src/views/common/iframe/base-iframe.js +0 -66
- package/src/views/common/iframe/events/change-iframe-src-handler.js +0 -6
- package/src/views/common/iframe/events/dispatch-event-handler.js +0 -8
- package/src/views/common/iframe/events/resize-component-handler.js +0 -9
- package/src/views/common/iframe/events/show-error-handler.js +0 -5
- package/src/views/common/iframe/events/stop-loader-handler.js +0 -9
- package/src/views/common/iframe/events/update-addons-handler.js +0 -23
- package/src/views/common/iframe/events/update-coupons-handler.js +0 -12
- package/src/views/common/iframe/events/update-items-handler.js +0 -34
- package/src/views/common/iframe/index.js +0 -5
- package/src/views/common/iframe/modal-iframe.js +0 -82
- package/src/views/common/iframe/view-iframe.js +0 -23
- package/src/views/common/render-utilities.js +0 -4
- package/src/views/confirmation.js +0 -45
- package/src/views/errors.js +0 -115
- package/src/views/form.js +0 -61
- package/src/views/method-selector/__snapshots__/method-selector.spec.js.snap +0 -135
- package/src/views/method-selector/express-methods.js +0 -52
- package/src/views/method-selector/generate-digital-wallet.js +0 -53
- package/src/views/method-selector/generate-digital-wallet.spec.js +0 -121
- package/src/views/method-selector/generate-framepay-config.js +0 -56
- package/src/views/method-selector/generate-framepay-config.spec.js +0 -216
- package/src/views/method-selector/get-method-data.js +0 -11
- package/src/views/method-selector/get-payment-methods.js +0 -25
- package/src/views/method-selector/get-payment-methods.spec.js +0 -41
- package/src/views/method-selector/index.js +0 -223
- package/src/views/method-selector/method-selector.spec.js +0 -20
- package/src/views/method-selector/mount-bump-offer.js +0 -120
- package/src/views/method-selector/mount-express-methods.js +0 -107
- package/src/views/modal.js +0 -103
- package/src/views/result.js +0 -24
- package/src/views/summary.js +0 -38
- package/tests/async-utilities.js +0 -22
- package/tests/mocks/framepay-mock.js +0 -15
- package/tests/mocks/rebilly-api-mock.js +0 -11
- package/tests/mocks/rebilly-instruments-mock.js +0 -141
- package/tests/mocks/storefront-api-mock.js +0 -62
- package/tests/mocks/storefront-mock.js +0 -20
- package/tests/msw/server.js +0 -14
- package/tests/setup-test.js +0 -30
- package/vitest.config.js +0 -18
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { StorefontTestingInstance } from 'tests/mocks/storefront-mock';
|
|
2
|
-
import { ok, post } from 'msw-when-then';
|
|
3
|
-
import { when } from 'tests/msw/server';
|
|
4
|
-
import { storefrontURL } from 'tests/mocks/storefront-api-mock';
|
|
5
|
-
import SummaryModel from './models/summary-model';
|
|
6
|
-
import { expectConfigurationError } from 'tests/async-utilities';
|
|
7
|
-
import { fetchSummary } from './summary';
|
|
8
|
-
|
|
9
|
-
describe('Storefront API Summary', () => {
|
|
10
|
-
it('can fetch preview', async () => {
|
|
11
|
-
const options = {
|
|
12
|
-
websiteId: 'test-website-id',
|
|
13
|
-
items: [
|
|
14
|
-
{
|
|
15
|
-
planId: 'test-plan-id',
|
|
16
|
-
quantity: 1,
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
};
|
|
20
|
-
const testSummary = {
|
|
21
|
-
currency: 'USD',
|
|
22
|
-
lineItems: [
|
|
23
|
-
{
|
|
24
|
-
description: 'test-plan-id-1',
|
|
25
|
-
planId: 'test-plan-id-1',
|
|
26
|
-
quantity: 1,
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
when(post(`${storefrontURL}/preview-purchase`)).thenReturn(
|
|
32
|
-
ok(testSummary),
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
const instance = StorefontTestingInstance({
|
|
36
|
-
options,
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
vi.spyOn(instance.storefront.purchase, 'preview');
|
|
40
|
-
|
|
41
|
-
const response = await fetchSummary({ state: instance });
|
|
42
|
-
|
|
43
|
-
expect(instance.storefront.purchase.preview).toBeCalledTimes(1);
|
|
44
|
-
expect(instance.storefront.purchase.preview).toBeCalledWith({
|
|
45
|
-
data: expect.objectContaining({
|
|
46
|
-
items: options.items,
|
|
47
|
-
websiteId: options.websiteId,
|
|
48
|
-
}),
|
|
49
|
-
});
|
|
50
|
-
expect(response).toBeInstanceOf(SummaryModel);
|
|
51
|
-
expect(response).toEqual(new SummaryModel(testSummary));
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
it('Adds billing address to preview payload', async () => {
|
|
55
|
-
const options = {
|
|
56
|
-
websiteId: 'test-website-id',
|
|
57
|
-
items: [
|
|
58
|
-
{
|
|
59
|
-
planId: 'test-plan-id',
|
|
60
|
-
quantity: 1,
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
};
|
|
64
|
-
const billingAddress = {
|
|
65
|
-
firstName: 'Test',
|
|
66
|
-
lastName: 'Customer',
|
|
67
|
-
};
|
|
68
|
-
const instance = StorefontTestingInstance({
|
|
69
|
-
options,
|
|
70
|
-
});
|
|
71
|
-
|
|
72
|
-
vi.spyOn(instance.storefront.purchase, 'preview');
|
|
73
|
-
|
|
74
|
-
await fetchSummary({
|
|
75
|
-
data: {
|
|
76
|
-
billingAddress,
|
|
77
|
-
},
|
|
78
|
-
state: instance,
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
expect(instance.storefront.purchase.preview).toBeCalledTimes(1);
|
|
82
|
-
expect(instance.storefront.purchase.preview).toBeCalledWith({
|
|
83
|
-
data: expect.objectContaining({
|
|
84
|
-
items: options.items,
|
|
85
|
-
websiteId: options.websiteId,
|
|
86
|
-
billingAddress,
|
|
87
|
-
}),
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
it('Adds delivery address to preview payload', async () => {
|
|
92
|
-
const options = {
|
|
93
|
-
websiteId: 'test-website-id',
|
|
94
|
-
items: [
|
|
95
|
-
{
|
|
96
|
-
planId: 'test-plan-id',
|
|
97
|
-
quantity: 1,
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
};
|
|
101
|
-
const deliveryAddress = {
|
|
102
|
-
firstName: 'Test',
|
|
103
|
-
lastName: 'Customer',
|
|
104
|
-
};
|
|
105
|
-
const instance = StorefontTestingInstance({
|
|
106
|
-
options,
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
vi.spyOn(instance.storefront.purchase, 'preview');
|
|
110
|
-
|
|
111
|
-
await fetchSummary({
|
|
112
|
-
data: {
|
|
113
|
-
deliveryAddress,
|
|
114
|
-
},
|
|
115
|
-
state: instance,
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
expect(instance.storefront.purchase.preview).toBeCalledTimes(1);
|
|
119
|
-
expect(instance.storefront.purchase.preview).toBeCalledWith({
|
|
120
|
-
data: expect.objectContaining({
|
|
121
|
-
items: options.items,
|
|
122
|
-
websiteId: options.websiteId,
|
|
123
|
-
deliveryAddress,
|
|
124
|
-
}),
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
it('should throw errors with no options', async () => {
|
|
129
|
-
const noConfigOrOptionsInstance = StorefontTestingInstance({
|
|
130
|
-
options: null,
|
|
131
|
-
});
|
|
132
|
-
await expectConfigurationError(
|
|
133
|
-
fetchSummary({ state: noConfigOrOptionsInstance }),
|
|
134
|
-
);
|
|
135
|
-
});
|
|
136
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import TransactionModel from './models/transaction-model';
|
|
2
|
-
import { Endpoint } from './index';
|
|
3
|
-
import state from '../state';
|
|
4
|
-
|
|
5
|
-
export async function fetchTransaction({ data = null }) {
|
|
6
|
-
return Endpoint(async () => {
|
|
7
|
-
state.storefront.setSessionToken(state.options.jwt);
|
|
8
|
-
const { fields } = await state.storefront.transactions.get(data);
|
|
9
|
-
|
|
10
|
-
return new TransactionModel(fields);
|
|
11
|
-
});
|
|
12
|
-
}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
-
|
|
3
|
-
exports[`RebillyInstruments theme > builds the theme object 1`] = `
|
|
4
|
-
{
|
|
5
|
-
"cssVars": "--rebilly-colorPrimary: #0044D4;
|
|
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: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',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);",
|
|
142
|
-
}
|
|
143
|
-
`;
|