@everymatrix/general-input 1.32.4 → 1.33.1

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 (136) hide show
  1. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +36077 -0
  2. package/dist/cjs/general-input.cjs.entry.js +75 -0
  3. package/dist/cjs/general-input.cjs.js +19 -0
  4. package/dist/cjs/index-132a0774.js +1327 -0
  5. package/dist/cjs/index.cjs.js +18 -0
  6. package/dist/cjs/loader.cjs.js +21 -0
  7. package/dist/cjs/locale.utils-cef1d3b6.js +128 -0
  8. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +85 -0
  9. package/dist/cjs/tooltipIcon-092a795f.js +5 -0
  10. package/dist/collection/collection-manifest.json +23 -0
  11. package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +82 -0
  12. package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +366 -0
  13. package/dist/collection/components/checkbox-input/checkbox-input.css +68 -0
  14. package/dist/collection/components/checkbox-input/checkbox-input.js +324 -0
  15. package/dist/collection/components/date-input/date-input.css +101 -0
  16. package/dist/collection/components/date-input/date-input.js +396 -0
  17. package/dist/collection/components/email-input/email-input.css +95 -0
  18. package/dist/collection/components/email-input/email-input.js +403 -0
  19. package/dist/collection/components/general-input/general-input.css +4 -0
  20. package/dist/collection/components/general-input/general-input.js +373 -0
  21. package/dist/collection/components/number-input/number-input.css +102 -0
  22. package/dist/collection/components/number-input/number-input.js +368 -0
  23. package/dist/collection/components/password-input/password-input.css +182 -0
  24. package/dist/collection/components/password-input/password-input.js +527 -0
  25. package/dist/collection/components/radio-input/radio-input.css +43 -0
  26. package/dist/collection/components/radio-input/radio-input.js +297 -0
  27. package/dist/collection/components/select-input/select-input.css +122 -0
  28. package/dist/collection/components/select-input/select-input.js +429 -0
  29. package/dist/collection/components/tel-input/tel-input.css +145 -0
  30. package/dist/collection/components/tel-input/tel-input.js +440 -0
  31. package/dist/collection/components/text-input/text-input.css +98 -0
  32. package/dist/collection/components/text-input/text-input.js +448 -0
  33. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +82 -0
  34. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +324 -0
  35. package/dist/collection/index.js +17 -0
  36. package/dist/collection/utils/locale.utils.js +123 -0
  37. package/dist/collection/utils/tooltipIcon.svg +5 -0
  38. package/dist/collection/utils/types.js +1 -0
  39. package/dist/collection/utils/utils.js +5 -0
  40. package/dist/components/active-mixin.js +975 -0
  41. package/dist/components/checkbox-group-input.d.ts +11 -0
  42. package/dist/components/checkbox-group-input.js +6 -0
  43. package/dist/components/checkbox-group-input2.js +1078 -0
  44. package/dist/components/checkbox-input.d.ts +11 -0
  45. package/dist/components/checkbox-input.js +6 -0
  46. package/dist/components/checkbox-input2.js +129 -0
  47. package/dist/components/date-input.d.ts +11 -0
  48. package/dist/components/date-input.js +6 -0
  49. package/dist/components/date-input2.js +11556 -0
  50. package/dist/components/email-input.d.ts +11 -0
  51. package/dist/components/email-input.js +6 -0
  52. package/dist/components/email-input2.js +171 -0
  53. package/dist/components/field-mixin.js +12426 -0
  54. package/dist/components/general-input.d.ts +11 -0
  55. package/dist/components/general-input.js +6 -0
  56. package/dist/components/general-input2.js +341 -0
  57. package/dist/components/index.d.ts +26 -0
  58. package/dist/components/index.js +18 -0
  59. package/dist/components/input-field-shared-styles.js +1211 -0
  60. package/dist/components/number-input.d.ts +11 -0
  61. package/dist/components/number-input.js +6 -0
  62. package/dist/components/number-input2.js +158 -0
  63. package/dist/components/password-input.d.ts +11 -0
  64. package/dist/components/password-input.js +6 -0
  65. package/dist/components/password-input2.js +1041 -0
  66. package/dist/components/radio-input.d.ts +11 -0
  67. package/dist/components/radio-input.js +6 -0
  68. package/dist/components/radio-input2.js +114 -0
  69. package/dist/components/select-input.d.ts +11 -0
  70. package/dist/components/select-input.js +6 -0
  71. package/dist/components/select-input2.js +183 -0
  72. package/dist/components/tel-input.d.ts +11 -0
  73. package/dist/components/tel-input.js +6 -0
  74. package/dist/components/tel-input2.js +197 -0
  75. package/dist/components/text-input.d.ts +11 -0
  76. package/dist/components/text-input.js +6 -0
  77. package/dist/components/text-input2.js +199 -0
  78. package/dist/components/toggle-checkbox-input.d.ts +11 -0
  79. package/dist/components/toggle-checkbox-input.js +6 -0
  80. package/dist/components/tooltipIcon.js +127 -0
  81. package/dist/components/vaadin-button.js +490 -0
  82. package/dist/components/vaadin-combo-box.js +4512 -0
  83. package/dist/components/virtual-keyboard-controller.js +2001 -0
  84. package/dist/esm/checkbox-group-input_10.entry.js +36064 -0
  85. package/dist/esm/general-input.entry.js +71 -0
  86. package/dist/esm/general-input.js +17 -0
  87. package/dist/esm/index-db76d5b5.js +1299 -0
  88. package/dist/esm/index.js +16 -0
  89. package/dist/esm/loader.js +17 -0
  90. package/dist/esm/locale.utils-de759721.js +125 -0
  91. package/dist/esm/polyfills/core-js.js +11 -0
  92. package/dist/esm/polyfills/css-shim.js +1 -0
  93. package/dist/esm/polyfills/dom.js +79 -0
  94. package/dist/esm/polyfills/es5-html-element.js +1 -0
  95. package/dist/esm/polyfills/index.js +34 -0
  96. package/dist/esm/polyfills/system.js +6 -0
  97. package/dist/esm/toggle-checkbox-input.entry.js +81 -0
  98. package/dist/esm/tooltipIcon-99c1c7b7.js +3 -0
  99. package/dist/general-input/general-input.esm.js +1 -0
  100. package/dist/general-input/index.esm.js +1 -0
  101. package/dist/general-input/p-10efdf3f.js +1 -0
  102. package/dist/general-input/p-613c3e00.entry.js +1 -0
  103. package/dist/general-input/p-660bcdd1.entry.js +1 -0
  104. package/dist/general-input/p-9b6b0396.entry.js +3646 -0
  105. package/dist/general-input/p-b408093e.js +1 -0
  106. package/dist/general-input/p-f4f4ccda.js +1 -0
  107. package/dist/index.cjs.js +1 -0
  108. package/dist/index.js +1 -0
  109. package/dist/stencil.config.js +22 -0
  110. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +2 -0
  111. package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +74 -0
  112. package/dist/types/components/checkbox-input/checkbox-input.d.ts +65 -0
  113. package/dist/types/components/date-input/date-input.d.ts +84 -0
  114. package/dist/types/components/email-input/email-input.d.ts +80 -0
  115. package/dist/types/components/general-input/general-input.d.ts +75 -0
  116. package/dist/types/components/number-input/number-input.d.ts +74 -0
  117. package/dist/types/components/password-input/password-input.d.ts +91 -0
  118. package/dist/types/components/radio-input/radio-input.d.ts +59 -0
  119. package/dist/types/components/select-input/select-input.d.ts +83 -0
  120. package/dist/types/components/tel-input/tel-input.d.ts +89 -0
  121. package/dist/types/components/text-input/text-input.d.ts +84 -0
  122. package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +67 -0
  123. package/dist/types/components.d.ts +1268 -0
  124. package/dist/types/index.d.ts +1 -0
  125. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  126. package/dist/types/utils/locale.utils.d.ts +17 -0
  127. package/dist/types/utils/types.d.ts +87 -0
  128. package/dist/types/utils/utils.d.ts +1 -0
  129. package/loader/cdn.js +3 -0
  130. package/loader/index.cjs.js +3 -0
  131. package/loader/index.d.ts +12 -0
  132. package/loader/index.es2017.js +3 -0
  133. package/loader/index.js +4 -0
  134. package/loader/package.json +10 -0
  135. package/package.json +2 -3
  136. package/LICENSE +0 -21
@@ -0,0 +1,373 @@
1
+ import { Component, h, Prop, Host } from '@stencil/core';
2
+ import { getTranslations } from '../../utils/locale.utils';
3
+ export class GeneralInput {
4
+ constructor() {
5
+ /**
6
+ * Type the general-input should take. Can take the default HTML input values.
7
+ */
8
+ this.type = 'text';
9
+ /**
10
+ * Client custom styling via inline style
11
+ */
12
+ this.clientStyling = '';
13
+ /**
14
+ * Translations via URL
15
+ */
16
+ this.translationUrl = '';
17
+ /**
18
+ * Emit event on click
19
+ */
20
+ this.emitOnClick = false;
21
+ this.handleClick = () => {
22
+ if (this.emitOnClick) {
23
+ window.postMessage({ type: `registration${this.name}Clicked` }, window.location.href);
24
+ }
25
+ };
26
+ }
27
+ connectedCallback() {
28
+ if (this.translationUrl) {
29
+ getTranslations(this.translationUrl);
30
+ }
31
+ }
32
+ renderInput() {
33
+ var _a;
34
+ switch ((_a = this.type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) {
35
+ case 'text':
36
+ return h("text-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
37
+ case 'email':
38
+ return h("email-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
39
+ case 'number':
40
+ return h("number-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
41
+ case 'checkbox':
42
+ return h("checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, emitValue: this.emitValue, defaultValue: this.defaultValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip });
43
+ case 'checkboxgroup':
44
+ return h("checkbox-group-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
45
+ case 'togglecheckbox':
46
+ return h("toggle-checkbox-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, options: this.options });
47
+ case 'datetime':
48
+ return h("date-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder, dateFormat: this.dateFormat });
49
+ case 'password':
50
+ return h("password-input", { name: this.name, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, autofilled: this.autofilled, emitValue: this.emitValue, language: this.language, isDuplicateInput: this.isDuplicateInput, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
51
+ case 'radio':
52
+ return h("radio-input", { name: this.name, displayName: this.displayName, optionsGroup: this.options, validation: this.validation, emitValue: this.emitValue, language: this.language, "client-styling": this.clientStyling });
53
+ case 'tel':
54
+ return h("tel-input", { name: this.name, action: this.action, displayName: this.displayName, validation: this.validation, defaultValue: this.defaultValue, emitValue: this.emitValue, language: this.language, autofilled: this.autofilled, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
55
+ case 'dropdown':
56
+ return h("select-input", { name: this.name, action: this.action, defaultValue: this.defaultValue, displayName: this.displayName, options: this.options, validation: this.validation, emitValue: this.emitValue, autofilled: this.autofilled, language: this.language, "client-styling": this.clientStyling, tooltip: this.tooltip, placeholder: this.placeholder });
57
+ default:
58
+ return h("p", null,
59
+ "The ",
60
+ this.type,
61
+ " input type is not valid");
62
+ }
63
+ }
64
+ render() {
65
+ return (h(Host, { class: `general-input--${this.name}`, onClick: this.handleClick }, this.renderInput()));
66
+ }
67
+ static get is() { return "general-input"; }
68
+ static get encapsulation() { return "shadow"; }
69
+ static get originalStyleUrls() { return {
70
+ "$": ["general-input.scss"]
71
+ }; }
72
+ static get styleUrls() { return {
73
+ "$": ["general-input.css"]
74
+ }; }
75
+ static get properties() { return {
76
+ "type": {
77
+ "type": "string",
78
+ "mutable": false,
79
+ "complexType": {
80
+ "original": "string",
81
+ "resolved": "string",
82
+ "references": {}
83
+ },
84
+ "required": false,
85
+ "optional": false,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": "Type the general-input should take. Can take the default HTML input values."
89
+ },
90
+ "attribute": "type",
91
+ "reflect": true,
92
+ "defaultValue": "'text'"
93
+ },
94
+ "name": {
95
+ "type": "string",
96
+ "mutable": false,
97
+ "complexType": {
98
+ "original": "string",
99
+ "resolved": "string",
100
+ "references": {}
101
+ },
102
+ "required": false,
103
+ "optional": false,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": "Name of the input."
107
+ },
108
+ "attribute": "name",
109
+ "reflect": true
110
+ },
111
+ "displayName": {
112
+ "type": "string",
113
+ "mutable": false,
114
+ "complexType": {
115
+ "original": "string",
116
+ "resolved": "string",
117
+ "references": {}
118
+ },
119
+ "required": false,
120
+ "optional": false,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": "Name of input to be shown to the user."
124
+ },
125
+ "attribute": "display-name",
126
+ "reflect": true
127
+ },
128
+ "placeholder": {
129
+ "type": "string",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "string",
133
+ "resolved": "string",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": false,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": "Placeholder text to be shown."
141
+ },
142
+ "attribute": "placeholder",
143
+ "reflect": true
144
+ },
145
+ "action": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "string",
150
+ "resolved": "string",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": false,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Special behaviour an input should have. Can be fetching for data."
158
+ },
159
+ "attribute": "action",
160
+ "reflect": true
161
+ },
162
+ "validation": {
163
+ "type": "unknown",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "ValidationSchema",
167
+ "resolved": "ValidationSchema",
168
+ "references": {
169
+ "ValidationSchema": {
170
+ "location": "import",
171
+ "path": "../../utils/types"
172
+ }
173
+ }
174
+ },
175
+ "required": false,
176
+ "optional": false,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Object of validation rules for the input."
180
+ }
181
+ },
182
+ "options": {
183
+ "type": "any",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "any",
187
+ "resolved": "any",
188
+ "references": {}
189
+ },
190
+ "required": false,
191
+ "optional": false,
192
+ "docs": {
193
+ "tags": [],
194
+ "text": "For input elements that have multiple options or choises."
195
+ },
196
+ "attribute": "options",
197
+ "reflect": true
198
+ },
199
+ "language": {
200
+ "type": "string",
201
+ "mutable": false,
202
+ "complexType": {
203
+ "original": "string",
204
+ "resolved": "string",
205
+ "references": {}
206
+ },
207
+ "required": false,
208
+ "optional": false,
209
+ "docs": {
210
+ "tags": [],
211
+ "text": "Currently selected language."
212
+ },
213
+ "attribute": "language",
214
+ "reflect": true
215
+ },
216
+ "autofilled": {
217
+ "type": "boolean",
218
+ "mutable": false,
219
+ "complexType": {
220
+ "original": "boolean",
221
+ "resolved": "boolean",
222
+ "references": {}
223
+ },
224
+ "required": false,
225
+ "optional": false,
226
+ "docs": {
227
+ "tags": [],
228
+ "text": "Boolean. Determines if input should be readonly."
229
+ },
230
+ "attribute": "autofilled",
231
+ "reflect": true
232
+ },
233
+ "tooltip": {
234
+ "type": "string",
235
+ "mutable": false,
236
+ "complexType": {
237
+ "original": "string",
238
+ "resolved": "string",
239
+ "references": {}
240
+ },
241
+ "required": false,
242
+ "optional": false,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": "Tooltip text."
246
+ },
247
+ "attribute": "tooltip",
248
+ "reflect": true
249
+ },
250
+ "defaultValue": {
251
+ "type": "any",
252
+ "mutable": false,
253
+ "complexType": {
254
+ "original": "any",
255
+ "resolved": "any",
256
+ "references": {}
257
+ },
258
+ "required": false,
259
+ "optional": false,
260
+ "docs": {
261
+ "tags": [],
262
+ "text": "Default value for the input."
263
+ },
264
+ "attribute": "default-value",
265
+ "reflect": true
266
+ },
267
+ "emitValue": {
268
+ "type": "boolean",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "boolean",
272
+ "resolved": "boolean",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": false,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "State passed down from the parent element. Will trigger the child specialised input to send it's value through an event."
280
+ },
281
+ "attribute": "emit-value",
282
+ "reflect": true
283
+ },
284
+ "isDuplicateInput": {
285
+ "type": "boolean",
286
+ "mutable": false,
287
+ "complexType": {
288
+ "original": "boolean",
289
+ "resolved": "boolean",
290
+ "references": {}
291
+ },
292
+ "required": false,
293
+ "optional": false,
294
+ "docs": {
295
+ "tags": [],
296
+ "text": "Boolean that triggers certain validation rules, for duplicated inputs."
297
+ },
298
+ "attribute": "is-duplicate-input",
299
+ "reflect": true
300
+ },
301
+ "clientStyling": {
302
+ "type": "any",
303
+ "mutable": false,
304
+ "complexType": {
305
+ "original": "any",
306
+ "resolved": "any",
307
+ "references": {}
308
+ },
309
+ "required": false,
310
+ "optional": false,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": "Client custom styling via inline style"
314
+ },
315
+ "attribute": "client-styling",
316
+ "reflect": true,
317
+ "defaultValue": "''"
318
+ },
319
+ "dateFormat": {
320
+ "type": "string",
321
+ "mutable": false,
322
+ "complexType": {
323
+ "original": "string",
324
+ "resolved": "string",
325
+ "references": {}
326
+ },
327
+ "required": false,
328
+ "optional": false,
329
+ "docs": {
330
+ "tags": [],
331
+ "text": "Date format for date picker."
332
+ },
333
+ "attribute": "date-format",
334
+ "reflect": true
335
+ },
336
+ "translationUrl": {
337
+ "type": "string",
338
+ "mutable": false,
339
+ "complexType": {
340
+ "original": "string",
341
+ "resolved": "string",
342
+ "references": {}
343
+ },
344
+ "required": false,
345
+ "optional": false,
346
+ "docs": {
347
+ "tags": [],
348
+ "text": "Translations via URL"
349
+ },
350
+ "attribute": "translation-url",
351
+ "reflect": true,
352
+ "defaultValue": "''"
353
+ },
354
+ "emitOnClick": {
355
+ "type": "boolean",
356
+ "mutable": false,
357
+ "complexType": {
358
+ "original": "boolean",
359
+ "resolved": "boolean",
360
+ "references": {}
361
+ },
362
+ "required": false,
363
+ "optional": false,
364
+ "docs": {
365
+ "tags": [],
366
+ "text": "Emit event on click"
367
+ },
368
+ "attribute": "emit-on-click",
369
+ "reflect": true,
370
+ "defaultValue": "false"
371
+ }
372
+ }; }
373
+ }
@@ -0,0 +1,102 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ padding: 0;
5
+ margin: 0;
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ .number {
10
+ font-family: "Roboto";
11
+ font-style: normal;
12
+ }
13
+ .number__wrapper {
14
+ position: relative;
15
+ width: 100%;
16
+ }
17
+ .number__wrapper--autofilled {
18
+ pointer-events: none;
19
+ }
20
+ .number__wrapper--autofilled .number__label {
21
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
22
+ }
23
+ .number__wrapper--autofilled .number__input {
24
+ color: var(--emfe-w-color-black, #000000);
25
+ }
26
+ .number__wrapper--flex {
27
+ display: flex;
28
+ gap: 5px;
29
+ }
30
+ .number__wrapper--relative {
31
+ position: relative;
32
+ }
33
+ .number__label {
34
+ font-family: inherit;
35
+ font-style: normal;
36
+ font-weight: 500;
37
+ font-size: 16px;
38
+ line-height: 20px;
39
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
40
+ }
41
+ .number__label--required::after {
42
+ content: "*";
43
+ font-family: inherit;
44
+ color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
45
+ margin-left: 2px;
46
+ }
47
+ .number__input {
48
+ font-family: inherit;
49
+ border-radius: 5px;
50
+ width: 100%;
51
+ height: 44px;
52
+ border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
53
+ color: var(--emfe-w-color-black, #000000);
54
+ border-radius: 5px;
55
+ box-sizing: border-box;
56
+ padding: 5px 15px;
57
+ font-size: 16px;
58
+ line-height: 18px;
59
+ position: relative;
60
+ /* Firefox */
61
+ -moz-appearance: textfield;
62
+ /* Chrome, Safari, Edge, Opera */
63
+ }
64
+ .number__input:focus {
65
+ outline-color: #3E3E3E;
66
+ }
67
+ .number__input::-webkit-outer-spin-button, .number__input::-webkit-inner-spin-button {
68
+ -webkit-appearance: none;
69
+ margin: 0;
70
+ }
71
+ .number__input--invalid {
72
+ border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
73
+ }
74
+ .number__input::placeholder {
75
+ color: #979797;
76
+ }
77
+ .number__error-message {
78
+ position: absolute;
79
+ top: calc(100% + 5px);
80
+ left: 0;
81
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
82
+ }
83
+ .number__tooltip-icon {
84
+ width: 16px;
85
+ height: auto;
86
+ }
87
+ .number__tooltip {
88
+ position: absolute;
89
+ top: 0;
90
+ left: 20px;
91
+ background-color: var(--emfe-w-color-white, #FFFFFF);
92
+ border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
93
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
94
+ padding: 10px;
95
+ border-radius: 5px;
96
+ opacity: 0;
97
+ transition: opacity 0.3s ease-in-out;
98
+ z-index: 10;
99
+ }
100
+ .number__tooltip.visible {
101
+ opacity: 1;
102
+ }