@rebilly/instruments 2.1.1-beta.0 → 3.0.0-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.
Files changed (83) hide show
  1. package/dist/functions/mount/fetch-data.js +4 -0
  2. package/dist/functions/mount/index.js +6 -0
  3. package/dist/functions/mount/mount.spec.js +2 -4
  4. package/dist/functions/mount/setup-framepay-theme.js +95 -0
  5. package/dist/functions/mount/setup-options.js +3 -0
  6. package/dist/i18n/en.json +1 -1
  7. package/dist/style/base/__snapshots__/theme.spec.js.snap +188 -45
  8. package/dist/style/base/default-theme.js +699 -0
  9. package/dist/style/base/index.js +48 -16
  10. package/dist/style/base/theme.js +16 -49
  11. package/dist/style/base/theme.spec.js +4 -15
  12. package/dist/style/components/address.js +3 -3
  13. package/dist/style/components/button.js +32 -22
  14. package/dist/style/components/divider.js +9 -9
  15. package/dist/style/components/forms/checkbox.js +12 -9
  16. package/dist/style/components/forms/field.js +18 -6
  17. package/dist/style/components/forms/form.js +2 -2
  18. package/dist/style/components/forms/input.js +54 -13
  19. package/dist/style/components/forms/label.js +44 -18
  20. package/dist/style/components/forms/select.js +54 -22
  21. package/dist/style/components/forms/validation.js +53 -6
  22. package/dist/style/components/icons.js +4 -4
  23. package/dist/style/components/loader.js +5 -3
  24. package/dist/style/components/methods.js +18 -15
  25. package/dist/style/components/overlay.js +5 -5
  26. package/dist/style/helpers/index.js +46 -46
  27. package/dist/style/index.js +3 -1
  28. package/dist/style/payment-instruments/payment-card.js +4 -4
  29. package/dist/style/utils/border.js +47 -0
  30. package/dist/style/utils/color-values.js +39 -3
  31. package/dist/style/utils/remove-empty-null.js +20 -0
  32. package/dist/style/vendor/framepay.js +11 -8
  33. package/dist/style/vendor/postmate.js +2 -2
  34. package/dist/style/views/confirmation.js +13 -13
  35. package/dist/style/views/method-selector.js +2 -2
  36. package/dist/style/views/modal.js +6 -6
  37. package/dist/style/views/result.js +4 -4
  38. package/dist/style/views/summary.js +23 -23
  39. package/dist/views/__snapshots__/summary.spec.js.snap +4 -40
  40. package/dist/views/common/iframe/modal-iframe.js +6 -1
  41. package/dist/views/summary.js +17 -11
  42. package/package.json +3 -1
  43. package/src/functions/mount/fetch-data.js +4 -0
  44. package/src/functions/mount/index.js +2 -0
  45. package/src/functions/mount/mount.spec.js +3 -5
  46. package/src/functions/mount/setup-framepay-theme.js +82 -0
  47. package/src/functions/mount/setup-options.js +3 -0
  48. package/src/i18n/en.json +1 -1
  49. package/src/style/base/__snapshots__/theme.spec.js.snap +188 -45
  50. package/src/style/base/default-theme.js +674 -0
  51. package/src/style/base/index.js +48 -16
  52. package/src/style/base/theme.js +17 -47
  53. package/src/style/base/theme.spec.js +4 -16
  54. package/src/style/components/address.js +3 -3
  55. package/src/style/components/button.js +32 -24
  56. package/src/style/components/divider.js +9 -9
  57. package/src/style/components/forms/checkbox.js +11 -11
  58. package/src/style/components/forms/field.js +18 -6
  59. package/src/style/components/forms/form.js +2 -2
  60. package/src/style/components/forms/input.js +54 -13
  61. package/src/style/components/forms/label.js +44 -18
  62. package/src/style/components/forms/select.js +54 -22
  63. package/src/style/components/forms/validation.js +53 -6
  64. package/src/style/components/icons.js +4 -4
  65. package/src/style/components/loader.js +4 -5
  66. package/src/style/components/methods.js +18 -15
  67. package/src/style/components/overlay.js +5 -5
  68. package/src/style/helpers/index.js +46 -46
  69. package/src/style/index.js +2 -1
  70. package/src/style/payment-instruments/payment-card.js +4 -4
  71. package/src/style/utils/border.js +34 -0
  72. package/src/style/utils/color-values.js +27 -1
  73. package/src/style/utils/remove-empty-null.js +10 -0
  74. package/src/style/vendor/framepay.js +11 -8
  75. package/src/style/vendor/postmate.js +2 -2
  76. package/src/style/views/confirmation.js +13 -13
  77. package/src/style/views/method-selector.js +2 -2
  78. package/src/style/views/modal.js +6 -6
  79. package/src/style/views/result.js +4 -4
  80. package/src/style/views/summary.js +23 -23
  81. package/src/views/__snapshots__/summary.spec.js.snap +4 -40
  82. package/src/views/common/iframe/modal-iframe.js +7 -1
  83. package/src/views/summary.js +17 -11
@@ -98,6 +98,10 @@ class DataInstance {
98
98
  return lineItems;
99
99
  }
100
100
 
101
+ get isShippingRequired() {
102
+ return this.products.some(product => product.requiresShipping);
103
+ }
104
+
101
105
  }
102
106
 
103
107
  exports.DataInstance = DataInstance;
@@ -27,6 +27,8 @@ var _setupStyles = _interopRequireDefault(require("./setup-styles"));
27
27
 
28
28
  var _setupI18n = _interopRequireDefault(require("./setup-i18n"));
29
29
 
30
+ var _setupFramepayTheme = _interopRequireDefault(require("./setup-framepay-theme"));
31
+
30
32
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
31
33
 
32
34
  /* eslint-disable max-len */
@@ -139,6 +141,10 @@ async function mount({
139
141
  state.data = await (0, _fetchData.fetchData)({
140
142
  state
141
143
  });
144
+ state.options.themeFramepay = await (0, _setupFramepayTheme.default)({
145
+ state,
146
+ options
147
+ });
142
148
  const i18n = (0, _setupI18n.default)({
143
149
  state
144
150
  });
@@ -31,9 +31,7 @@ describe('RebillyInstruments instance', () => {
31
31
  quantity: 1
32
32
  }],
33
33
  theme: {
34
- color: {
35
- background: '#000'
36
- }
34
+ colorBackground: '#000'
37
35
  },
38
36
  css: `
39
37
  .rebilly-instruments-summary-line-item-synopsis-title {
@@ -50,7 +48,7 @@ describe('RebillyInstruments instance', () => {
50
48
  expect(summarySelector.innerHTML).toMatch('My Product'); // Theme config overrides initial styles
51
49
 
52
50
  const SUMMARY_CONTAINER = summarySelector.querySelector('.rebilly-instruments-content');
53
- expect(getComputedStyle(SUMMARY_CONTAINER).background).toEqual('rgb(0, 0, 0)'); // CSS config property overrides initial styles
51
+ expect(getComputedStyle(SUMMARY_CONTAINER).getPropertyValue('--rebilly-colorBackground')).toEqual('#000'); // CSS config property overrides initial styles
54
52
 
55
53
  const LINE_ITEM_TITLE = document.querySelector('.rebilly-instruments-summary-line-item-synopsis-title');
56
54
  expect(getComputedStyle(LINE_ITEM_TITLE).color).toEqual('rgb(0, 68, 212)'); // Mounts default FramePay script
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _css = _interopRequireDefault(require("css"));
9
+
10
+ var _postcss = _interopRequireDefault(require("postcss"));
11
+
12
+ var _postcssCustomProperties = _interopRequireDefault(require("postcss-custom-properties"));
13
+
14
+ var _lodash = _interopRequireDefault(require("lodash.camelcase"));
15
+
16
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
+
18
+ const resolveCssVars = async rawCss => (0, _postcss.default)([(0, _postcssCustomProperties.default)({
19
+ preserve: false
20
+ })]).process(rawCss, {
21
+ from: undefined
22
+ }).then(output => output.css);
23
+
24
+ const getStyleProps = (ast, selector) => {
25
+ const {
26
+ rules
27
+ } = ast.stylesheet;
28
+ const output = {
29
+ color: null,
30
+ fontFamily: null,
31
+ fontSize: null,
32
+ lineHeight: null,
33
+ fontWeight: null,
34
+ background: null
35
+ };
36
+
37
+ for (let i = 0; i < rules.length; i += 1) {
38
+ const rule = rules[i];
39
+
40
+ if (rule.type === 'rule' && rule.selectors.includes(selector)) {
41
+ rule.declarations.forEach(decl => {
42
+ const propName = (0, _lodash.default)(decl.property);
43
+
44
+ if (typeof output[propName] !== 'undefined') {
45
+ output[propName] = decl.value;
46
+ }
47
+ });
48
+ }
49
+ }
50
+
51
+ return output;
52
+ };
53
+
54
+ var _default = async ({
55
+ state,
56
+ options = {}
57
+ }) => {
58
+ const fullCss = `
59
+ ${state.mainStyle}
60
+ ${options.css || ''}
61
+ `;
62
+ const resolvedCss = await resolveCssVars(fullCss);
63
+
64
+ const cssAst = _css.default.parse(resolvedCss);
65
+
66
+ const cssSelectors = {
67
+ base: '.rebilly-instruments-form-field-input',
68
+ baseHover: '.rebilly-instruments-form-field-input:hover',
69
+ baseFocus: '.rebilly-instruments-form-field-input:focus',
70
+ basePlaceholder: '.rebilly-instruments-form-field-input::placeholder',
71
+ baseSelection: '.rebilly-instruments-form-field-input::selection',
72
+ invalid: '.rebilly-instruments-form-field.is-error .rebilly-instruments-form-field-input',
73
+ invalidHover: '.rebilly-instruments-form-field.is-error .rebilly-instruments-form-field-input:hover',
74
+ invalidFocus: '.rebilly-instruments-form-field.is-error .rebilly-instruments-form-field-input:focus',
75
+ invalidPlaceholder: '.rebilly-instruments-form-field.is-error .rebilly-instruments-form-field-input::placeholder',
76
+ invalidSelection: '.rebilly-instruments-form-field.is-error .rebilly-instruments-form-field-input::selection'
77
+ };
78
+ const framepayStyle = {
79
+ base: { ...getStyleProps(cssAst, cssSelectors.base),
80
+ ':hover': getStyleProps(cssAst, cssSelectors.baseHover),
81
+ ':focus': getStyleProps(cssAst, cssSelectors.baseFocus),
82
+ '::placeholder': getStyleProps(cssAst, cssSelectors.basePlaceholder),
83
+ '::selection': getStyleProps(cssAst, cssSelectors.baseSelection)
84
+ },
85
+ invalid: { ...getStyleProps(cssAst, cssSelectors.invalid),
86
+ ':hover': getStyleProps(cssAst, cssSelectors.invalidHover),
87
+ ':focus': getStyleProps(cssAst, cssSelectors.invalidFocus),
88
+ '::placeholder': getStyleProps(cssAst, cssSelectors.invalidPlaceholder),
89
+ '::selection': getStyleProps(cssAst, cssSelectors.invalidSelection)
90
+ }
91
+ };
92
+ return framepayStyle;
93
+ };
94
+
95
+ exports.default = _default;
@@ -13,6 +13,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
13
13
  const defaults = {
14
14
  countryCode: 'US',
15
15
  locale: 'auto',
16
+ theme: {
17
+ labels: 'floating'
18
+ },
16
19
  paymentInstruments: {
17
20
  address: {
18
21
  name: 'default',
package/dist/i18n/en.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "en": {
3
3
  "summary": {
4
4
  "subTotal": "Sub Total",
5
- "discounts": "Discouts",
5
+ "discounts": "Discounts",
6
6
  "taxes": "Taxes",
7
7
  "shipping": "Shipping",
8
8
  "total": "Total"
@@ -3,50 +3,193 @@
3
3
  exports[`RebillyInstruments theme builds the theme object 1`] = `
4
4
  Object {
5
5
  "borderRadius": "4px",
6
- "color": Object {
7
- "background": "#ffffff",
8
- "buttonText": "#ffffff",
9
- "errorText": "#cd5c5c",
10
- "primary": "#0044d4",
11
- "text": "#0D2B3E",
12
- },
13
- "getComputed": Object {
14
- "color": Object {
15
- "mutedBorder": "rgba(13, 43, 62, 0.25)",
16
- "mutedText": "rgba(13, 43, 62, 0.6)",
17
- "primaryValues": Values {
18
- "alpha": 1,
19
- "rgb": Array [
20
- 0,
21
- 68,
22
- 212,
23
- ],
24
- "type": "base",
25
- "weight": 0,
26
- },
27
- },
28
- },
29
- "space": Object {
30
- "form": Object {
31
- "horizontalPadding": "16px",
32
- "minHeight": "44px",
33
- "padding": "8px 16px",
34
- "verticalPadding": "8px",
35
- },
36
- "l": "48px",
37
- "m": "24px",
38
- "s": "12px",
39
- "xl": "96px",
40
- "xs": "6px",
41
- "xxl": "112px",
42
- "xxs": "4px",
43
- },
44
- "typography": Object {
45
- "captionFontSize": "12px",
46
- "captionLineHeight": "12px",
47
- "fontFamily": "Avenir, Helvetica, Arial, sans-serif",
48
- "fontSize": "16px",
49
- "lineHeight": "24px",
50
- },
6
+ "buttonActiveColorBackground": "var(--rebilly-buttonHoverColorBackground)",
7
+ "buttonBorder": "1px solid transparent",
8
+ "buttonBorderRadius": "var(--rebilly-borderRadius)",
9
+ "buttonBoxShadow": "none",
10
+ "buttonColorBackground": "var(--rebilly-colorPrimary)",
11
+ "buttonColorText": "#FFFFFF",
12
+ "buttonFontFamily": "var(--rebilly-fontFamily)",
13
+ "buttonFontLineHeight": "1.5",
14
+ "buttonFontSize": "var(--rebilly-fontSizeBase)",
15
+ "buttonFontWeight": "var(--rebilly-fontWeightBase)",
16
+ "buttonHoverColorBackground": "#0036aa",
17
+ "colorBackground": "#FFFFFF",
18
+ "colorDanger": "#CD5C5C",
19
+ "colorMutedBorder": "rgba(13, 43, 62, 0.25)",
20
+ "colorMutedText": "rgba(13, 43, 62, 0.6)",
21
+ "colorPrimary": "#0044D4",
22
+ "colorText": "#0D2B3E",
23
+ "cssVars": "--rebilly-colorPrimary: #0044D4;
24
+ --rebilly-colorBackground: #FFFFFF;
25
+ --rebilly-colorText: #0D2B3E;
26
+ --rebilly-colorMutedText: rgba(13, 43, 62, 0.6);
27
+ --rebilly-colorMutedBorder: rgba(13, 43, 62, 0.25);
28
+ --rebilly-colorDanger: #CD5C5C;
29
+ --rebilly-fontFamily: Avenir, Helvetica, Arial, sans-serif;
30
+ --rebilly-fontSizeBase: 16px;
31
+ --rebilly-fontWeightBase: 400;
32
+ --rebilly-fontLineHeightBase: initial;
33
+ --rebilly-fontSmooth: auto;
34
+ --rebilly-borderRadius: 4px;
35
+ --rebilly-headingFontFamily: var(--rebilly-fontFamily);
36
+ --rebilly-headingFontWeight: 500;
37
+ --rebilly-headingColorText: var(--rebilly-colorText);
38
+ --rebilly-buttonColorBackground: var(--rebilly-colorPrimary);
39
+ --rebilly-buttonColorText: #FFFFFF;
40
+ --rebilly-buttonFontFamily: var(--rebilly-fontFamily);
41
+ --rebilly-buttonFontSize: var(--rebilly-fontSizeBase);
42
+ --rebilly-buttonFontLineHeight: 1.5;
43
+ --rebilly-buttonFontWeight: var(--rebilly-fontWeightBase);
44
+ --rebilly-buttonBorder: 1px solid transparent;
45
+ --rebilly-buttonBorderRadius: var(--rebilly-borderRadius);
46
+ --rebilly-buttonBoxShadow: none;
47
+ --rebilly-buttonHoverColorBackground: #0036aa;
48
+ --rebilly-buttonActiveColorBackground: var(--rebilly-buttonHoverColorBackground);
49
+ --rebilly-inputColorBackground: transparent;
50
+ --rebilly-inputColorText: var(--rebilly-colorText);
51
+ --rebilly-inputFontFamily: var(--rebilly-fontFamily);
52
+ --rebilly-inputFontSize: var(--rebilly-fontSizeBase);
53
+ --rebilly-inputFontLineHeight: 1.5;
54
+ --rebilly-inputFontWeight: var(--rebilly-fontWeightBase);
55
+ --rebilly-inputBorder: 1px solid rgba(13, 43, 62, 0.25);
56
+ --rebilly-inputBorderRadius: var(--rebilly-borderRadius);
57
+ --rebilly-inputBoxShadow: none;
58
+ --rebilly-inputHoverColorBackground: var(--rebilly-inputColorBackground);
59
+ --rebilly-inputHoverColorText: var(--rebilly-inputColorText);
60
+ --rebilly-inputHoverFontFamily: var(--rebilly-inputFontFamily);
61
+ --rebilly-inputHoverFontSize: var(--rebilly-inputFontSize);
62
+ --rebilly-inputHoverFontLineHeight: var(--rebilly-inputFontLineHeight);
63
+ --rebilly-inputHoverFontWeight: var(--rebilly-inputFontWeight);
64
+ --rebilly-inputHoverBorder: var(--rebilly-inputBorder);
65
+ --rebilly-inputHoverBorderRadius: var(--rebilly-inputBorderRadius);
66
+ --rebilly-inputHoverBoxShadow: var(--rebilly-inputBoxShadow);
67
+ --rebilly-inputFocusColorBackground: var(--rebilly-inputHoverColorBackground);
68
+ --rebilly-inputFocusColorText: var(--rebilly-inputHoverColorText);
69
+ --rebilly-inputFocusFontFamily: var(--rebilly-inputHoverFontFamily);
70
+ --rebilly-inputFocusFontSize: var(--rebilly-inputHoverFontSize);
71
+ --rebilly-inputFocusFontLineHeight: var(--rebilly-inputHoverFontLineHeight);
72
+ --rebilly-inputFocusFontWeight: var(--rebilly-inputHoverFontWeight);
73
+ --rebilly-inputFocusBorder: 1px solid #0044D4;
74
+ --rebilly-inputFocusBorderRadius: var(--rebilly-inputHoverBorderRadius);
75
+ --rebilly-inputFocusBoxShadow: 0 0 0 1px #0044D4;
76
+ --rebilly-inputPlaceholderColorText: rgba(13, 43, 62, 0.6);
77
+ --rebilly-inputPlaceholderFontFamily: var(--rebilly-inputFontFamily);
78
+ --rebilly-inputPlaceholderFontSize: var(--rebilly-inputFontSize);
79
+ --rebilly-inputPlaceholderFontLineHeight: var(--rebilly-inputFontLineHeight);
80
+ --rebilly-inputPlaceholderFontWeight: var(--rebilly-inputFontWeight);
81
+ --rebilly-inputSelectionColorText: initial;
82
+ --rebilly-inputSelectionColorBackground: initial;
83
+ --rebilly-inputErrorColorBackground: var(--rebilly-inputColorBackground);
84
+ --rebilly-inputErrorColorText: var(--rebilly-colorDanger);
85
+ --rebilly-inputErrorFontFamily: var(--rebilly-inputFontFamily);
86
+ --rebilly-inputErrorFontSize: var(--rebilly-inputFontSize);
87
+ --rebilly-inputErrorFontLineHeight: var(--rebilly-inputFontLineHeight);
88
+ --rebilly-inputErrorFontWeight: var(--rebilly-inputFontWeight);
89
+ --rebilly-inputErrorBorder: 1px solid #CD5C5C;
90
+ --rebilly-inputErrorBorderRadius: var(--rebilly-inputBorderRadius);
91
+ --rebilly-inputErrorBoxShadow: var(--rebilly-inputBoxShadow);
92
+ --rebilly-inputErrorHoverColorBackground: var(--rebilly-inputErrorColorBackground);
93
+ --rebilly-inputErrorHoverColorText: var(--rebilly-inputErrorColorText);
94
+ --rebilly-inputErrorHoverFontFamily: var(--rebilly-inputErrorFontFamily);
95
+ --rebilly-inputErrorHoverFontSize: var(--rebilly-inputErrorFontSize);
96
+ --rebilly-inputErrorHoverFontLineHeight: var(--rebilly-inputErrorFontLineHeight);
97
+ --rebilly-inputErrorHoverFontWeight: var(--rebilly-inputErrorFontWeight);
98
+ --rebilly-inputErrorHoverBorder: var(--rebilly-inputErrorBorder);
99
+ --rebilly-inputErrorHoverBorderRadius: var(--rebilly-inputErrorBorderRadius);
100
+ --rebilly-inputErrorHoverBoxShadow: var(--rebilly-inputErrorBoxShadow);
101
+ --rebilly-inputErrorFocusColorBackground: var(--rebilly-inputErrorHoverColorBackground);
102
+ --rebilly-inputErrorFocusColorText: var(--rebilly-inputErrorHoverColorText);
103
+ --rebilly-inputErrorFocusFontFamily: var(--rebilly-inputErrorHoverFontFamily);
104
+ --rebilly-inputErrorFocusFontSize: var(--rebilly-inputErrorHoverFontSize);
105
+ --rebilly-inputErrorFocusFontLineHeight: var(--rebilly-inputErrorHoverFontLineHeight);
106
+ --rebilly-inputErrorFocusFontWeight: var(--rebilly-inputErrorHoverFontWeight);
107
+ --rebilly-inputErrorFocusBorder: var(--rebilly-inputErrorHoverBorder);
108
+ --rebilly-inputErrorFocusBorderRadius: var(--rebilly-inputErrorHoverBorderRadius);
109
+ --rebilly-inputErrorFocusBoxShadow: var(--rebilly-inputErrorHoverBoxShadow);
110
+ --rebilly-inputErrorPlaceholderColorText: rgba(205, 92, 92, 0.6);
111
+ --rebilly-inputErrorPlaceholderFontFamily: var(--rebilly-inputPlaceholderFontFamily);
112
+ --rebilly-inputErrorPlaceholderFontSize: var(--rebilly-inputPlaceholderFontSize);
113
+ --rebilly-inputErrorPlaceholderFontLineHeight: var(--rebilly-inputPlaceholderFontLineHeight);
114
+ --rebilly-inputErrorPlaceholderFontWeight: var(--rebilly-inputPlaceholderFontWeight);
115
+ --rebilly-inputErrorSelectionColorText: var(--rebilly-inputSelectionColorText);
116
+ --rebilly-inputErrorSelectionColorBackground: var(--rebilly-inputSelectionColorBackground);",
117
+ "fontFamily": "Avenir, Helvetica, Arial, sans-serif",
118
+ "fontLineHeightBase": "initial",
119
+ "fontSizeBase": "16px",
120
+ "fontSmooth": "auto",
121
+ "fontWeightBase": "400",
122
+ "headingColorText": "var(--rebilly-colorText)",
123
+ "headingFontFamily": "var(--rebilly-fontFamily)",
124
+ "headingFontWeight": "500",
125
+ "inputBorder": "1px solid rgba(13, 43, 62, 0.25)",
126
+ "inputBorderRadius": "var(--rebilly-borderRadius)",
127
+ "inputBoxShadow": "none",
128
+ "inputColorBackground": "transparent",
129
+ "inputColorText": "var(--rebilly-colorText)",
130
+ "inputErrorBorder": "1px solid #CD5C5C",
131
+ "inputErrorBorderRadius": "var(--rebilly-inputBorderRadius)",
132
+ "inputErrorBoxShadow": "var(--rebilly-inputBoxShadow)",
133
+ "inputErrorColorBackground": "var(--rebilly-inputColorBackground)",
134
+ "inputErrorColorText": "var(--rebilly-colorDanger)",
135
+ "inputErrorFocusBorder": "var(--rebilly-inputErrorHoverBorder)",
136
+ "inputErrorFocusBorderRadius": "var(--rebilly-inputErrorHoverBorderRadius)",
137
+ "inputErrorFocusBoxShadow": "var(--rebilly-inputErrorHoverBoxShadow)",
138
+ "inputErrorFocusColorBackground": "var(--rebilly-inputErrorHoverColorBackground)",
139
+ "inputErrorFocusColorText": "var(--rebilly-inputErrorHoverColorText)",
140
+ "inputErrorFocusFontFamily": "var(--rebilly-inputErrorHoverFontFamily)",
141
+ "inputErrorFocusFontLineHeight": "var(--rebilly-inputErrorHoverFontLineHeight)",
142
+ "inputErrorFocusFontSize": "var(--rebilly-inputErrorHoverFontSize)",
143
+ "inputErrorFocusFontWeight": "var(--rebilly-inputErrorHoverFontWeight)",
144
+ "inputErrorFontFamily": "var(--rebilly-inputFontFamily)",
145
+ "inputErrorFontLineHeight": "var(--rebilly-inputFontLineHeight)",
146
+ "inputErrorFontSize": "var(--rebilly-inputFontSize)",
147
+ "inputErrorFontWeight": "var(--rebilly-inputFontWeight)",
148
+ "inputErrorHoverBorder": "var(--rebilly-inputErrorBorder)",
149
+ "inputErrorHoverBorderRadius": "var(--rebilly-inputErrorBorderRadius)",
150
+ "inputErrorHoverBoxShadow": "var(--rebilly-inputErrorBoxShadow)",
151
+ "inputErrorHoverColorBackground": "var(--rebilly-inputErrorColorBackground)",
152
+ "inputErrorHoverColorText": "var(--rebilly-inputErrorColorText)",
153
+ "inputErrorHoverFontFamily": "var(--rebilly-inputErrorFontFamily)",
154
+ "inputErrorHoverFontLineHeight": "var(--rebilly-inputErrorFontLineHeight)",
155
+ "inputErrorHoverFontSize": "var(--rebilly-inputErrorFontSize)",
156
+ "inputErrorHoverFontWeight": "var(--rebilly-inputErrorFontWeight)",
157
+ "inputErrorPlaceholderColorText": "rgba(205, 92, 92, 0.6)",
158
+ "inputErrorPlaceholderFontFamily": "var(--rebilly-inputPlaceholderFontFamily)",
159
+ "inputErrorPlaceholderFontLineHeight": "var(--rebilly-inputPlaceholderFontLineHeight)",
160
+ "inputErrorPlaceholderFontSize": "var(--rebilly-inputPlaceholderFontSize)",
161
+ "inputErrorPlaceholderFontWeight": "var(--rebilly-inputPlaceholderFontWeight)",
162
+ "inputErrorSelectionColorBackground": "var(--rebilly-inputSelectionColorBackground)",
163
+ "inputErrorSelectionColorText": "var(--rebilly-inputSelectionColorText)",
164
+ "inputFocusBorder": "1px solid #0044D4",
165
+ "inputFocusBorderRadius": "var(--rebilly-inputHoverBorderRadius)",
166
+ "inputFocusBoxShadow": "0 0 0 1px #0044D4",
167
+ "inputFocusColorBackground": "var(--rebilly-inputHoverColorBackground)",
168
+ "inputFocusColorText": "var(--rebilly-inputHoverColorText)",
169
+ "inputFocusFontFamily": "var(--rebilly-inputHoverFontFamily)",
170
+ "inputFocusFontLineHeight": "var(--rebilly-inputHoverFontLineHeight)",
171
+ "inputFocusFontSize": "var(--rebilly-inputHoverFontSize)",
172
+ "inputFocusFontWeight": "var(--rebilly-inputHoverFontWeight)",
173
+ "inputFontFamily": "var(--rebilly-fontFamily)",
174
+ "inputFontLineHeight": "1.5",
175
+ "inputFontSize": "var(--rebilly-fontSizeBase)",
176
+ "inputFontWeight": "var(--rebilly-fontWeightBase)",
177
+ "inputHoverBorder": "var(--rebilly-inputBorder)",
178
+ "inputHoverBorderRadius": "var(--rebilly-inputBorderRadius)",
179
+ "inputHoverBoxShadow": "var(--rebilly-inputBoxShadow)",
180
+ "inputHoverColorBackground": "var(--rebilly-inputColorBackground)",
181
+ "inputHoverColorText": "var(--rebilly-inputColorText)",
182
+ "inputHoverFontFamily": "var(--rebilly-inputFontFamily)",
183
+ "inputHoverFontLineHeight": "var(--rebilly-inputFontLineHeight)",
184
+ "inputHoverFontSize": "var(--rebilly-inputFontSize)",
185
+ "inputHoverFontWeight": "var(--rebilly-inputFontWeight)",
186
+ "inputPlaceholderColorText": "rgba(13, 43, 62, 0.6)",
187
+ "inputPlaceholderFontFamily": "var(--rebilly-inputFontFamily)",
188
+ "inputPlaceholderFontLineHeight": "var(--rebilly-inputFontLineHeight)",
189
+ "inputPlaceholderFontSize": "var(--rebilly-inputFontSize)",
190
+ "inputPlaceholderFontWeight": "var(--rebilly-inputFontWeight)",
191
+ "inputSelectionColorBackground": "initial",
192
+ "inputSelectionColorText": "initial",
193
+ "labels": "floating",
51
194
  }
52
195
  `;