@everymatrix/general-input 1.22.9 → 1.23.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 (40) hide show
  1. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +11796 -12326
  2. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +1 -1
  3. package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +5 -5
  4. package/dist/collection/components/checkbox-input/checkbox-input.css +5 -5
  5. package/dist/collection/components/date-input/date-input.css +18 -18
  6. package/dist/collection/components/email-input/email-input.css +20 -20
  7. package/dist/collection/components/number-input/number-input.css +18 -18
  8. package/dist/collection/components/password-input/password-input.css +24 -24
  9. package/dist/collection/components/radio-input/radio-input.css +4 -4
  10. package/dist/collection/components/select-input/select-input.css +16 -17
  11. package/dist/collection/components/tel-input/tel-input.css +19 -21
  12. package/dist/collection/components/text-input/text-input.css +20 -21
  13. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +5 -5
  14. package/dist/components/active-mixin.js +6 -6
  15. package/dist/components/checkbox-group-input2.js +308 -261
  16. package/dist/components/checkbox-input2.js +1 -1
  17. package/dist/components/date-input2.js +2207 -3450
  18. package/dist/components/email-input2.js +1 -1
  19. package/dist/components/field-mixin.js +2512 -2226
  20. package/dist/components/general-input2.js +1 -1
  21. package/dist/components/input-field-shared-styles.js +211 -308
  22. package/dist/components/number-input2.js +1 -1
  23. package/dist/components/password-input2.js +73 -120
  24. package/dist/components/pattern-mixin.js +85 -0
  25. package/dist/components/radio-input2.js +1 -1
  26. package/dist/components/select-input2.js +1 -1
  27. package/dist/components/tel-input2.js +1 -1
  28. package/dist/components/text-input2.js +1 -1
  29. package/dist/components/vaadin-button.js +73 -102
  30. package/dist/components/vaadin-combo-box.js +808 -991
  31. package/dist/components/virtual-keyboard-controller.js +1768 -1111
  32. package/dist/esm/checkbox-group-input_10.entry.js +11796 -12326
  33. package/dist/esm/toggle-checkbox-input.entry.js +1 -1
  34. package/dist/general-input/general-input.esm.js +1 -1
  35. package/dist/general-input/p-d6a5269a.entry.js +1 -0
  36. package/dist/general-input/p-f6fb389c.entry.js +3581 -0
  37. package/package.json +1 -1
  38. package/dist/general-input/p-2b4be21a.entry.js +0 -3646
  39. package/dist/general-input/p-916a1319.entry.js +0 -1
  40. /package/dist/types/Users/{adrian.pripon/Documents/Work → sebastian.strulea/Documents/work}/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -0
@@ -18,10 +18,10 @@
18
18
  pointer-events: none;
19
19
  }
20
20
  .text__wrapper--autofilled .text__label {
21
- color: #979797;
21
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
22
22
  }
23
23
  .text__wrapper--autofilled .text__input::part(input-field) {
24
- color: #979797;
24
+ color: var(--emfe-w-color-black, #000000);
25
25
  }
26
26
  .text__wrapper--flex {
27
27
  display: flex;
@@ -36,42 +36,41 @@
36
36
  font-weight: 500;
37
37
  font-size: 16px;
38
38
  line-height: 20px;
39
- color: #2A3841;
39
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
40
40
  }
41
41
  .text__label--required::after {
42
42
  content: "*";
43
43
  font-family: inherit;
44
- color: #2A3841;
44
+ color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
45
45
  margin-left: 2px;
46
46
  }
47
47
  .text__input {
48
- border-radius: 4px;
49
- background-color: transparent;
50
48
  font-family: inherit;
51
- font-style: normal;
52
- font-weight: 300;
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;
53
57
  font-size: 16px;
54
- line-height: 19px;
55
- color: #2A2E3F;
56
- padding: 10px 20px;
57
- width: inherit;
58
- position: relative;
59
- border: 2px solid #DEE1EE;
58
+ line-height: 18px;
60
59
  }
61
60
  .text__input:focus {
62
- outline-color: #3E3E3E;
61
+ outline-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
63
62
  }
64
63
  .text__input--invalid {
65
- border: 2px solid #cc0000b3;
64
+ border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
66
65
  }
67
66
  .text__input::placeholder {
68
- color: #979797;
67
+ color: var(--emfe-w-color-gray-150, #828282);
69
68
  }
70
69
  .text__error-message {
71
70
  position: absolute;
72
71
  top: calc(100% + 5px);
73
72
  left: 0;
74
- color: #cc0000b3;
73
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
75
74
  }
76
75
  .text__tooltip-icon {
77
76
  width: 16px;
@@ -81,9 +80,9 @@
81
80
  position: absolute;
82
81
  top: 0;
83
82
  left: 20px;
84
- background-color: #FFFFFF;
85
- border: 1px solid #B0B0B0;
86
- color: #2B2D3F;
83
+ background-color: var(--emfe-w-color-white, #FFFFFF);
84
+ border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
85
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
87
86
  padding: 10px;
88
87
  border-radius: 5px;
89
88
  opacity: 0;
@@ -32,7 +32,7 @@
32
32
  font-family: inherit;
33
33
  font-weight: 400;
34
34
  font-size: 16px;
35
- color: #2B2D3F;
35
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
36
36
  line-height: 14px;
37
37
  }
38
38
  .togglecheckbox__label-text {
@@ -42,7 +42,7 @@
42
42
  position: absolute;
43
43
  top: calc(100% + 5px);
44
44
  left: 0;
45
- color: #cc0000b3;
45
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
46
46
  }
47
47
  .togglecheckbox__tooltip-icon {
48
48
  width: 16px;
@@ -52,9 +52,9 @@
52
52
  position: absolute;
53
53
  top: 0;
54
54
  right: 0;
55
- background-color: #FFFFFF;
56
- border: 1px solid #B0B0B0;
57
- color: #2B2D3F;
55
+ background-color: var(--emfe-w-color-white, #FFFFFF);
56
+ border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
57
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
58
58
  padding: 10px;
59
59
  border-radius: 5px;
60
60
  opacity: 0;
@@ -1,4 +1,4 @@
1
- import { m as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
1
+ import { n as microTask, a as DisabledMixin, K as KeyboardMixin } from './field-mixin.js';
2
2
 
3
3
  /**
4
4
  @license
@@ -77,7 +77,7 @@ function PASSIVE_TOUCH(eventName) {
77
77
  }
78
78
 
79
79
  // Check for touch-only devices
80
- const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u);
80
+ const IS_TOUCH_ONLY = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/);
81
81
 
82
82
  // Defined at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#enabling-and-disabling-form-controls:-the-disabled-attribute
83
83
  /** @type {!Object<boolean>} */
@@ -406,9 +406,9 @@ function _add(node, evType, handler) {
406
406
  */
407
407
  function register(recog) {
408
408
  recognizers.push(recog);
409
- recog.emits.forEach((emit) => {
410
- gestures[emit] = recog;
411
- });
409
+ for (let i = 0; i < recog.emits.length; i++) {
410
+ gestures[recog.emits[i]] = recog;
411
+ }
412
412
  }
413
413
 
414
414
  /**
@@ -870,7 +870,7 @@ function trackForward(info, e, preventer) {
870
870
 
871
871
  /**
872
872
  * @license
873
- * Copyright (c) 2021 - 2023 Vaadin Ltd.
873
+ * Copyright (c) 2021 - 2022 Vaadin Ltd.
874
874
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
875
875
  */
876
876