@everymatrix/general-input 0.0.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 (121) hide show
  1. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +34870 -0
  2. package/dist/cjs/general-input.cjs.entry.js +51 -0
  3. package/dist/cjs/general-input.cjs.js +19 -0
  4. package/dist/cjs/index-1768513d.js +1286 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/loader.cjs.js +21 -0
  7. package/dist/collection/collection-manifest.json +22 -0
  8. package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +62 -0
  9. package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +344 -0
  10. package/dist/collection/components/checkbox-input/checkbox-input.css +62 -0
  11. package/dist/collection/components/checkbox-input/checkbox-input.js +322 -0
  12. package/dist/collection/components/date-input/date-input.css +85 -0
  13. package/dist/collection/components/date-input/date-input.js +341 -0
  14. package/dist/collection/components/email-input/email-input.css +83 -0
  15. package/dist/collection/components/email-input/email-input.js +382 -0
  16. package/dist/collection/components/general-input/general-input.css +3 -0
  17. package/dist/collection/components/general-input/general-input.js +296 -0
  18. package/dist/collection/components/number-input/number-input.css +90 -0
  19. package/dist/collection/components/number-input/number-input.js +349 -0
  20. package/dist/collection/components/password-input/password-input.css +86 -0
  21. package/dist/collection/components/password-input/password-input.js +395 -0
  22. package/dist/collection/components/radio-input/radio-input.css +43 -0
  23. package/dist/collection/components/radio-input/radio-input.js +298 -0
  24. package/dist/collection/components/select-input/select-input.css +93 -0
  25. package/dist/collection/components/select-input/select-input.js +412 -0
  26. package/dist/collection/components/tel-input/tel-input.css +116 -0
  27. package/dist/collection/components/tel-input/tel-input.js +421 -0
  28. package/dist/collection/components/text-input/text-input.css +83 -0
  29. package/dist/collection/components/text-input/text-input.js +406 -0
  30. package/dist/collection/index.js +1 -0
  31. package/dist/collection/utils/locale.utils.js +26 -0
  32. package/dist/collection/utils/tooltipIcon.svg +5 -0
  33. package/dist/collection/utils/types.js +1 -0
  34. package/dist/collection/utils/utils.js +5 -0
  35. package/dist/components/active-mixin.js +975 -0
  36. package/dist/components/checkbox-group-input.d.ts +11 -0
  37. package/dist/components/checkbox-group-input.js +6 -0
  38. package/dist/components/checkbox-group-input2.js +5793 -0
  39. package/dist/components/checkbox-input.d.ts +11 -0
  40. package/dist/components/checkbox-input.js +6 -0
  41. package/dist/components/checkbox-input2.js +127 -0
  42. package/dist/components/date-input.d.ts +11 -0
  43. package/dist/components/date-input.js +6 -0
  44. package/dist/components/date-input2.js +5182 -0
  45. package/dist/components/email-input.d.ts +11 -0
  46. package/dist/components/email-input.js +6 -0
  47. package/dist/components/email-input2.js +150 -0
  48. package/dist/components/field-mixin.js +12712 -0
  49. package/dist/components/general-input.d.ts +11 -0
  50. package/dist/components/general-input.js +140 -0
  51. package/dist/components/index.d.ts +26 -0
  52. package/dist/components/index.js +1 -0
  53. package/dist/components/input-field-shared-styles.js +1067 -0
  54. package/dist/components/number-input.d.ts +11 -0
  55. package/dist/components/number-input.js +6 -0
  56. package/dist/components/number-input2.js +139 -0
  57. package/dist/components/password-input.d.ts +11 -0
  58. package/dist/components/password-input.js +6 -0
  59. package/dist/components/password-input2.js +879 -0
  60. package/dist/components/pattern-mixin.js +85 -0
  61. package/dist/components/radio-input.d.ts +11 -0
  62. package/dist/components/radio-input.js +6 -0
  63. package/dist/components/radio-input2.js +115 -0
  64. package/dist/components/select-input.d.ts +11 -0
  65. package/dist/components/select-input.js +6 -0
  66. package/dist/components/select-input2.js +166 -0
  67. package/dist/components/tel-input.d.ts +11 -0
  68. package/dist/components/tel-input.js +6 -0
  69. package/dist/components/tel-input2.js +178 -0
  70. package/dist/components/text-input.d.ts +11 -0
  71. package/dist/components/text-input.js +6 -0
  72. package/dist/components/text-input2.js +157 -0
  73. package/dist/components/tooltipIcon.js +30 -0
  74. package/dist/components/vaadin-button.js +461 -0
  75. package/dist/components/vaadin-combo-box.js +4329 -0
  76. package/dist/components/virtual-keyboard-controller.js +2693 -0
  77. package/dist/esm/checkbox-group-input_10.entry.js +34857 -0
  78. package/dist/esm/general-input.entry.js +47 -0
  79. package/dist/esm/general-input.js +17 -0
  80. package/dist/esm/index-7e24a6f1.js +1259 -0
  81. package/dist/esm/index.js +1 -0
  82. package/dist/esm/loader.js +17 -0
  83. package/dist/esm/polyfills/core-js.js +11 -0
  84. package/dist/esm/polyfills/css-shim.js +1 -0
  85. package/dist/esm/polyfills/dom.js +79 -0
  86. package/dist/esm/polyfills/es5-html-element.js +1 -0
  87. package/dist/esm/polyfills/index.js +34 -0
  88. package/dist/esm/polyfills/system.js +6 -0
  89. package/dist/general-input/general-input.esm.js +1 -0
  90. package/dist/general-input/index.esm.js +0 -0
  91. package/dist/general-input/p-61d76ec3.entry.js +1 -0
  92. package/dist/general-input/p-a79eb0a3.entry.js +4413 -0
  93. package/dist/general-input/p-fb647820.js +1 -0
  94. package/dist/index.cjs.js +1 -0
  95. package/dist/index.js +1 -0
  96. package/dist/stencil.config.js +22 -0
  97. package/dist/types/Users/adrian.pripon/Documents/Work/stencil/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +2 -0
  98. package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +72 -0
  99. package/dist/types/components/checkbox-input/checkbox-input.d.ts +64 -0
  100. package/dist/types/components/date-input/date-input.d.ts +70 -0
  101. package/dist/types/components/email-input/email-input.d.ts +77 -0
  102. package/dist/types/components/general-input/general-input.d.ts +60 -0
  103. package/dist/types/components/number-input/number-input.d.ts +70 -0
  104. package/dist/types/components/password-input/password-input.d.ts +79 -0
  105. package/dist/types/components/radio-input/radio-input.d.ts +59 -0
  106. package/dist/types/components/select-input/select-input.d.ts +82 -0
  107. package/dist/types/components/tel-input/tel-input.d.ts +85 -0
  108. package/dist/types/components/text-input/text-input.d.ts +81 -0
  109. package/dist/types/components.d.ts +1140 -0
  110. package/dist/types/index.d.ts +1 -0
  111. package/dist/types/stencil-public-runtime.d.ts +1565 -0
  112. package/dist/types/utils/locale.utils.d.ts +5 -0
  113. package/dist/types/utils/types.d.ts +76 -0
  114. package/dist/types/utils/utils.d.ts +1 -0
  115. package/loader/cdn.js +3 -0
  116. package/loader/index.cjs.js +3 -0
  117. package/loader/index.d.ts +12 -0
  118. package/loader/index.es2017.js +3 -0
  119. package/loader/index.js +4 -0
  120. package/loader/package.json +10 -0
  121. package/package.json +26 -0
@@ -0,0 +1,90 @@
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--flex {
18
+ display: flex;
19
+ gap: 5px;
20
+ }
21
+ .number__wrapper--relative {
22
+ position: relative;
23
+ }
24
+ .number__label {
25
+ font-family: inherit;
26
+ font-style: normal;
27
+ font-weight: 500;
28
+ font-size: 16px;
29
+ line-height: 20px;
30
+ color: #1F1F1F;
31
+ }
32
+ .number__label--required::after {
33
+ content: "*";
34
+ font-family: inherit;
35
+ color: #1F1F1F;
36
+ margin-left: 2px;
37
+ }
38
+ .number__input {
39
+ border-radius: 4px;
40
+ background-color: transparent;
41
+ font-family: inherit;
42
+ font-style: normal;
43
+ font-weight: 300;
44
+ font-size: 16px;
45
+ line-height: 19px;
46
+ color: #2A2E3F;
47
+ padding: 8px 20px;
48
+ width: inherit;
49
+ position: relative;
50
+ border: 2px solid #DEE1EE;
51
+ /* Firefox */
52
+ -moz-appearance: textfield;
53
+ /* Chrome, Safari, Edge, Opera */
54
+ }
55
+ .number__input:focus {
56
+ outline-color: #3E3E3E;
57
+ }
58
+ .number__input::-webkit-outer-spin-button, .number__input::-webkit-inner-spin-button {
59
+ -webkit-appearance: none;
60
+ margin: 0;
61
+ }
62
+ .number__input--invalid {
63
+ border: 2px solid #cc0000b3;
64
+ }
65
+ .number__error-message {
66
+ position: absolute;
67
+ top: calc(100% + 5px);
68
+ left: 0;
69
+ color: #cc0000b3;
70
+ }
71
+ .number__tooltip-icon {
72
+ width: 16px;
73
+ height: auto;
74
+ }
75
+ .number__tooltip {
76
+ position: absolute;
77
+ top: 0;
78
+ left: 20px;
79
+ background-color: #FFFFFF;
80
+ border: 1px solid #B0B0B0;
81
+ color: #2B2D3F;
82
+ padding: 10px;
83
+ border-radius: 5px;
84
+ opacity: 0;
85
+ transition: opacity 0.3s ease-in-out;
86
+ z-index: 10;
87
+ }
88
+ .number__tooltip.visible {
89
+ opacity: 1;
90
+ }
@@ -0,0 +1,349 @@
1
+ import { Component, h, Prop, State, Watch, Event, Listen } from '@stencil/core';
2
+ import { translate } from '../../utils/locale.utils';
3
+ import tooltipIcon from '../../utils/tooltipIcon.svg';
4
+ export class NumberInput {
5
+ constructor() {
6
+ /**
7
+ * Client custom styling via inline style
8
+ */
9
+ this.clientStyling = '';
10
+ this.limitStylingAppends = false;
11
+ this.showTooltip = false;
12
+ this.validationPattern = '';
13
+ this.setClientStyling = () => {
14
+ let sheet = document.createElement('style');
15
+ sheet.innerHTML = this.clientStyling;
16
+ this.stylingContainer.prepend(sheet);
17
+ };
18
+ }
19
+ validityChanged() {
20
+ this.validityStateHandler({ valid: this.isValid, name: this.name });
21
+ if (this.emitValue == true) {
22
+ this.valueHandler({ name: this.name, value: this.value });
23
+ }
24
+ }
25
+ validityStateHandler(inputStateEvent) {
26
+ this.sendValidityState.emit(inputStateEvent);
27
+ }
28
+ emitValueHandler(newValue) {
29
+ if (newValue == true && this.isValid) {
30
+ this.valueHandler({ name: this.name, value: this.value });
31
+ }
32
+ }
33
+ valueHandler(inputValueEvent) {
34
+ this.sendInputValue.emit(inputValueEvent);
35
+ }
36
+ handleClickOutside(event) {
37
+ if (event.composedPath()[0] === this.tooltipIconReference)
38
+ return;
39
+ if (event.composedPath()[0] !== this.tooltipReference)
40
+ this.showTooltip = false;
41
+ }
42
+ connectedCallback() {
43
+ this.validationPattern = this.setPattern();
44
+ }
45
+ componentDidRender() {
46
+ // start custom styling area
47
+ if (!this.limitStylingAppends && this.stylingContainer) {
48
+ if (this.clientStyling)
49
+ this.setClientStyling();
50
+ this.limitStylingAppends = true;
51
+ }
52
+ // end custom styling area
53
+ if (this.defaultValue) {
54
+ this.value = this.defaultValue;
55
+ this.valueHandler({ name: this.name, value: this.value });
56
+ }
57
+ }
58
+ handleInput(event) {
59
+ this.value = event.target.value;
60
+ this.errorMessage = this.setErrorMessage();
61
+ this.isValid = this.setValidity();
62
+ this.validityStateHandler({ valid: this.isValid, name: this.name });
63
+ this.emitValueHandler(true);
64
+ }
65
+ setValidity() {
66
+ return this.inputReference.validity.valid;
67
+ }
68
+ setPattern() {
69
+ var _a, _b;
70
+ if (((_a = this.validation.custom) === null || _a === void 0 ? void 0 : _a.length) > 0) {
71
+ return (_b = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _b === void 0 ? void 0 : _b.pattern;
72
+ }
73
+ }
74
+ setErrorMessage() {
75
+ var _a;
76
+ if (this.inputReference.validity.patternMismatch) {
77
+ return (_a = this.validation.custom.find(customValidation => customValidation.rule === 'regex')) === null || _a === void 0 ? void 0 : _a.errorMessage;
78
+ }
79
+ if (this.inputReference.validity.rangeUnderflow || this.inputReference.validity.rangeOverflow) {
80
+ return translate('numberLengthError', this.language, { values: { min: this.validation.min, max: this.validation.max } });
81
+ }
82
+ if (this.inputReference.validity.valueMissing) {
83
+ return translate('requiredError', this.language);
84
+ }
85
+ }
86
+ renderTooltip() {
87
+ if (this.showTooltip) {
88
+ return (h("div", { class: `number__tooltip ${this.showTooltip ? 'visible' : ''}`, ref: (el) => this.tooltipReference = el, innerHTML: this.tooltip }));
89
+ }
90
+ return null;
91
+ }
92
+ render() {
93
+ const invalidClass = this.isValid == true || this.isValid == undefined ? '' : 'number__input--invalid';
94
+ return h("div", { class: 'number__wrapper', ref: el => this.stylingContainer = el },
95
+ h("div", { class: 'number__wrapper--flex' },
96
+ h("label", { class: `number__label ${this.validation.mandatory ? 'number__label--required' : ''}`, htmlFor: `${this.name}__input` }, this.displayName),
97
+ h("div", { class: 'number__wrapper--relative' },
98
+ this.tooltip &&
99
+ h("img", { class: 'number__tooltip-icon', src: tooltipIcon, alt: "", ref: (el) => this.tooltipIconReference = el, onClick: () => this.showTooltip = !this.showTooltip }),
100
+ this.renderTooltip())),
101
+ h("input", { ref: (el) => this.inputReference = el, type: "number", value: this.defaultValue, readOnly: this.autofilled, id: `${this.name}__input`, class: `number__input ${invalidClass}`, pattern: this.validationPattern, placeholder: `${this.placeholder} ${this.placeholder && this.validation.mandatory ? '*' : ''}`, required: this.validation.mandatory, max: this.validation.max, min: this.validation.min, onBlur: (e) => this.handleInput(e) }),
102
+ h("small", { class: 'number__error-message' }, this.errorMessage));
103
+ }
104
+ static get is() { return "number-input"; }
105
+ static get encapsulation() { return "shadow"; }
106
+ static get originalStyleUrls() { return {
107
+ "$": ["number-input.scss"]
108
+ }; }
109
+ static get styleUrls() { return {
110
+ "$": ["number-input.css"]
111
+ }; }
112
+ static get properties() { return {
113
+ "name": {
114
+ "type": "string",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "string",
118
+ "resolved": "string",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "Name of the input."
126
+ },
127
+ "attribute": "name",
128
+ "reflect": true
129
+ },
130
+ "displayName": {
131
+ "type": "string",
132
+ "mutable": false,
133
+ "complexType": {
134
+ "original": "string",
135
+ "resolved": "string",
136
+ "references": {}
137
+ },
138
+ "required": false,
139
+ "optional": false,
140
+ "docs": {
141
+ "tags": [],
142
+ "text": "Name of input to be shown to the user."
143
+ },
144
+ "attribute": "display-name",
145
+ "reflect": true
146
+ },
147
+ "placeholder": {
148
+ "type": "string",
149
+ "mutable": false,
150
+ "complexType": {
151
+ "original": "string",
152
+ "resolved": "string",
153
+ "references": {}
154
+ },
155
+ "required": false,
156
+ "optional": false,
157
+ "docs": {
158
+ "tags": [],
159
+ "text": "Placeholder text to be shown."
160
+ },
161
+ "attribute": "placeholder",
162
+ "reflect": true
163
+ },
164
+ "validation": {
165
+ "type": "unknown",
166
+ "mutable": false,
167
+ "complexType": {
168
+ "original": "ValidationSchema",
169
+ "resolved": "ValidationSchema",
170
+ "references": {
171
+ "ValidationSchema": {
172
+ "location": "import",
173
+ "path": "../../utils/types"
174
+ }
175
+ }
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": "Object of validation rules for the input."
182
+ }
183
+ },
184
+ "defaultValue": {
185
+ "type": "string",
186
+ "mutable": false,
187
+ "complexType": {
188
+ "original": "string",
189
+ "resolved": "string",
190
+ "references": {}
191
+ },
192
+ "required": false,
193
+ "optional": false,
194
+ "docs": {
195
+ "tags": [],
196
+ "text": "Default value for the input."
197
+ },
198
+ "attribute": "default-value",
199
+ "reflect": true
200
+ },
201
+ "autofilled": {
202
+ "type": "boolean",
203
+ "mutable": false,
204
+ "complexType": {
205
+ "original": "boolean",
206
+ "resolved": "boolean",
207
+ "references": {}
208
+ },
209
+ "required": false,
210
+ "optional": false,
211
+ "docs": {
212
+ "tags": [],
213
+ "text": "Boolean. Determines if input should be readonly."
214
+ },
215
+ "attribute": "autofilled",
216
+ "reflect": true
217
+ },
218
+ "tooltip": {
219
+ "type": "string",
220
+ "mutable": false,
221
+ "complexType": {
222
+ "original": "string",
223
+ "resolved": "string",
224
+ "references": {}
225
+ },
226
+ "required": false,
227
+ "optional": false,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": "Tooltip text."
231
+ },
232
+ "attribute": "tooltip",
233
+ "reflect": true
234
+ },
235
+ "language": {
236
+ "type": "string",
237
+ "mutable": false,
238
+ "complexType": {
239
+ "original": "string",
240
+ "resolved": "string",
241
+ "references": {}
242
+ },
243
+ "required": false,
244
+ "optional": false,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": "Currently selected language."
248
+ },
249
+ "attribute": "language",
250
+ "reflect": true
251
+ },
252
+ "emitValue": {
253
+ "type": "boolean",
254
+ "mutable": false,
255
+ "complexType": {
256
+ "original": "boolean",
257
+ "resolved": "boolean",
258
+ "references": {}
259
+ },
260
+ "required": false,
261
+ "optional": false,
262
+ "docs": {
263
+ "tags": [],
264
+ "text": "State passed down from the parent element. Will trigger the input to send it's value through an event."
265
+ },
266
+ "attribute": "emit-value",
267
+ "reflect": true
268
+ },
269
+ "clientStyling": {
270
+ "type": "string",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "string",
274
+ "resolved": "string",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": false,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": "Client custom styling via inline style"
282
+ },
283
+ "attribute": "client-styling",
284
+ "reflect": true,
285
+ "defaultValue": "''"
286
+ }
287
+ }; }
288
+ static get states() { return {
289
+ "errorMessage": {},
290
+ "isValid": {},
291
+ "limitStylingAppends": {},
292
+ "showTooltip": {}
293
+ }; }
294
+ static get events() { return [{
295
+ "method": "sendValidityState",
296
+ "name": "sendValidityState",
297
+ "bubbles": true,
298
+ "cancelable": true,
299
+ "composed": true,
300
+ "docs": {
301
+ "tags": [],
302
+ "text": ""
303
+ },
304
+ "complexType": {
305
+ "original": "InputStateEvent",
306
+ "resolved": "InputStateEvent",
307
+ "references": {
308
+ "InputStateEvent": {
309
+ "location": "import",
310
+ "path": "../../utils/types"
311
+ }
312
+ }
313
+ }
314
+ }, {
315
+ "method": "sendInputValue",
316
+ "name": "sendInputValue",
317
+ "bubbles": true,
318
+ "cancelable": true,
319
+ "composed": true,
320
+ "docs": {
321
+ "tags": [],
322
+ "text": ""
323
+ },
324
+ "complexType": {
325
+ "original": "InputValueEvent",
326
+ "resolved": "InputValueEvent",
327
+ "references": {
328
+ "InputValueEvent": {
329
+ "location": "import",
330
+ "path": "../../utils/types"
331
+ }
332
+ }
333
+ }
334
+ }]; }
335
+ static get watchers() { return [{
336
+ "propName": "isValid",
337
+ "methodName": "validityChanged"
338
+ }, {
339
+ "propName": "emitValue",
340
+ "methodName": "emitValueHandler"
341
+ }]; }
342
+ static get listeners() { return [{
343
+ "name": "click",
344
+ "method": "handleClickOutside",
345
+ "target": "document",
346
+ "capture": false,
347
+ "passive": false
348
+ }]; }
349
+ }
@@ -0,0 +1,86 @@
1
+ *,
2
+ *::before,
3
+ *::after {
4
+ padding: 0;
5
+ margin: 0;
6
+ box-sizing: border-box;
7
+ }
8
+
9
+ .password {
10
+ font-family: "Roboto";
11
+ font-style: normal;
12
+ }
13
+ .password__wrapper {
14
+ position: relative;
15
+ width: 100%;
16
+ }
17
+ .password__wrapper--flex {
18
+ display: flex;
19
+ gap: 5px;
20
+ }
21
+ .password__wrapper--relative {
22
+ position: relative;
23
+ }
24
+ .password__label {
25
+ font-family: inherit;
26
+ font-style: normal;
27
+ font-weight: 500;
28
+ font-size: 16px;
29
+ line-height: 20px;
30
+ color: #1F1F1F;
31
+ }
32
+ .password__label--required::after {
33
+ content: "*";
34
+ font-family: inherit;
35
+ color: #1F1F1F;
36
+ margin-left: 2px;
37
+ }
38
+ .password__input {
39
+ width: inherit;
40
+ border: none;
41
+ }
42
+ .password__input[focused]::part(input-field) {
43
+ border-color: #3E3E3E;
44
+ }
45
+ .password__input[invalid]::part(input-field) {
46
+ border-color: #cc0000b3;
47
+ }
48
+ .password__input::part(input-field) {
49
+ border-radius: 4px;
50
+ background-color: transparent;
51
+ font-family: inherit;
52
+ font-style: normal;
53
+ font-weight: 300;
54
+ font-size: 16px;
55
+ line-height: 19px;
56
+ color: #2A2E3F;
57
+ width: 100%;
58
+ position: relative;
59
+ border: 2px solid #DEE1EE;
60
+ }
61
+ .password__error-message {
62
+ position: absolute;
63
+ top: calc(100% + 5px);
64
+ left: 0;
65
+ color: #cc0000b3;
66
+ }
67
+ .password__tooltip-icon {
68
+ width: 16px;
69
+ height: auto;
70
+ }
71
+ .password__tooltip {
72
+ position: absolute;
73
+ top: 0;
74
+ left: 20px;
75
+ background-color: #FFFFFF;
76
+ border: 1px solid #B0B0B0;
77
+ color: #2B2D3F;
78
+ padding: 10px;
79
+ border-radius: 5px;
80
+ opacity: 0;
81
+ transition: opacity 0.3s ease-in-out;
82
+ z-index: 10;
83
+ }
84
+ .password__tooltip.visible {
85
+ opacity: 1;
86
+ }