@everymatrix/general-input 0.0.1 → 1.0.69

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 (141) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  2. package/dist/cjs/checkbox-group-input_10.cjs.entry.js +20007 -16663
  3. package/dist/cjs/general-input.cjs.entry.js +67 -40
  4. package/dist/cjs/general-input.cjs.js +17 -11
  5. package/dist/cjs/index-8cb018cb.js +1316 -0
  6. package/dist/cjs/index.cjs.js +16 -0
  7. package/dist/cjs/loader.cjs.js +7 -13
  8. package/dist/cjs/locale.utils-7a3dfe2f.js +128 -0
  9. package/dist/cjs/toggle-checkbox-input.cjs.entry.js +91 -0
  10. package/dist/cjs/tooltipIcon-7e9ee226.js +5 -0
  11. package/dist/collection/collection-manifest.json +14 -13
  12. package/dist/collection/components/checkbox-group-input/checkbox-group-input.css +26 -6
  13. package/dist/collection/components/checkbox-group-input/checkbox-group-input.js +372 -335
  14. package/dist/collection/components/checkbox-input/checkbox-input.css +16 -10
  15. package/dist/collection/components/checkbox-input/checkbox-input.js +325 -310
  16. package/dist/collection/components/date-input/date-input.css +35 -19
  17. package/dist/collection/components/date-input/date-input.js +401 -328
  18. package/dist/collection/components/email-input/email-input.css +30 -18
  19. package/dist/collection/components/email-input/email-input.js +405 -365
  20. package/dist/collection/components/general-input/general-input.css +1 -0
  21. package/dist/collection/components/general-input/general-input.js +374 -291
  22. package/dist/collection/components/general-input/index.js +1 -0
  23. package/dist/collection/components/number-input/number-input.css +28 -16
  24. package/dist/collection/components/number-input/number-input.js +371 -334
  25. package/dist/collection/components/password-input/password-input.css +105 -11
  26. package/dist/collection/components/password-input/password-input.js +518 -378
  27. package/dist/collection/components/radio-input/radio-input.css +4 -4
  28. package/dist/collection/components/radio-input/radio-input.js +301 -287
  29. package/dist/collection/components/select-input/select-input.css +47 -19
  30. package/dist/collection/components/select-input/select-input.js +428 -398
  31. package/dist/collection/components/tel-input/tel-input.css +52 -23
  32. package/dist/collection/components/tel-input/tel-input.js +441 -404
  33. package/dist/collection/components/text-input/text-input.css +33 -18
  34. package/dist/collection/components/text-input/text-input.js +446 -389
  35. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.css +82 -0
  36. package/dist/collection/components/toggle-checkbox-input/toggle-checkbox-input.js +336 -0
  37. package/dist/collection/index.js +16 -0
  38. package/dist/collection/utils/locale.utils.js +118 -21
  39. package/dist/collection/utils/tooltipIcon.svg +4 -4
  40. package/dist/collection/utils/utils.js +3 -3
  41. package/dist/esm/app-globals-0f993ce5.js +3 -0
  42. package/dist/esm/checkbox-group-input_10.entry.js +20007 -16663
  43. package/dist/esm/general-input.entry.js +67 -40
  44. package/dist/esm/general-input.js +14 -11
  45. package/dist/esm/index-514fda47.js +1287 -0
  46. package/dist/esm/index.js +16 -1
  47. package/dist/esm/loader.js +7 -13
  48. package/dist/esm/locale.utils-21605050.js +125 -0
  49. package/dist/esm/toggle-checkbox-input.entry.js +87 -0
  50. package/dist/esm/tooltipIcon-0a5a06a2.js +3 -0
  51. package/dist/general-input/general-input.esm.js +1 -1
  52. package/dist/general-input/index.esm.js +1 -0
  53. package/dist/general-input/p-03e81c11.js +2 -0
  54. package/dist/general-input/p-2dccd0bf.js +1 -0
  55. package/dist/general-input/p-34939f14.entry.js +1 -0
  56. package/dist/general-input/p-b32f19c2.entry.js +5430 -0
  57. package/dist/general-input/p-c43bb82e.entry.js +1 -0
  58. package/dist/general-input/p-cfe9eb31.js +1 -0
  59. package/dist/general-input/p-e1255160.js +1 -0
  60. package/dist/stencil.config.dev.js +17 -0
  61. package/dist/stencil.config.js +14 -19
  62. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.d.ts +2 -0
  63. package/dist/types/Users/raul.vasile/workspace/everymatrix/widgets-monorepo/packages/stencil/general-input/.stencil/packages/stencil/general-input/stencil.config.dev.d.ts +2 -0
  64. package/dist/types/components/checkbox-group-input/checkbox-group-input.d.ts +69 -67
  65. package/dist/types/components/checkbox-input/checkbox-input.d.ts +61 -60
  66. package/dist/types/components/date-input/date-input.d.ts +79 -65
  67. package/dist/types/components/email-input/email-input.d.ts +76 -73
  68. package/dist/types/components/general-input/general-input.d.ts +72 -57
  69. package/dist/types/components/general-input/index.d.ts +1 -0
  70. package/dist/types/components/number-input/number-input.d.ts +70 -66
  71. package/dist/types/components/password-input/password-input.d.ts +87 -75
  72. package/dist/types/components/radio-input/radio-input.d.ts +55 -55
  73. package/dist/types/components/select-input/select-input.d.ts +78 -77
  74. package/dist/types/components/tel-input/tel-input.d.ts +84 -80
  75. package/dist/types/components/text-input/text-input.d.ts +81 -78
  76. package/dist/types/components/toggle-checkbox-input/toggle-checkbox-input.d.ts +67 -0
  77. package/dist/types/components.d.ts +331 -25
  78. package/dist/types/stencil-public-runtime.d.ts +142 -33
  79. package/dist/types/utils/locale.utils.d.ts +13 -1
  80. package/dist/types/utils/types.d.ts +58 -47
  81. package/loader/cdn.js +1 -3
  82. package/loader/index.cjs.js +1 -3
  83. package/loader/index.d.ts +13 -1
  84. package/loader/index.es2017.js +1 -3
  85. package/loader/index.js +1 -3
  86. package/loader/package.json +1 -0
  87. package/package.json +9 -9
  88. package/dist/cjs/index-1768513d.js +0 -1286
  89. package/dist/components/active-mixin.js +0 -975
  90. package/dist/components/checkbox-group-input.d.ts +0 -11
  91. package/dist/components/checkbox-group-input.js +0 -6
  92. package/dist/components/checkbox-group-input2.js +0 -5793
  93. package/dist/components/checkbox-input.d.ts +0 -11
  94. package/dist/components/checkbox-input.js +0 -6
  95. package/dist/components/checkbox-input2.js +0 -127
  96. package/dist/components/date-input.d.ts +0 -11
  97. package/dist/components/date-input.js +0 -6
  98. package/dist/components/date-input2.js +0 -5182
  99. package/dist/components/email-input.d.ts +0 -11
  100. package/dist/components/email-input.js +0 -6
  101. package/dist/components/email-input2.js +0 -150
  102. package/dist/components/field-mixin.js +0 -12712
  103. package/dist/components/general-input.d.ts +0 -11
  104. package/dist/components/general-input.js +0 -140
  105. package/dist/components/index.d.ts +0 -26
  106. package/dist/components/index.js +0 -1
  107. package/dist/components/input-field-shared-styles.js +0 -1067
  108. package/dist/components/number-input.d.ts +0 -11
  109. package/dist/components/number-input.js +0 -6
  110. package/dist/components/number-input2.js +0 -139
  111. package/dist/components/password-input.d.ts +0 -11
  112. package/dist/components/password-input.js +0 -6
  113. package/dist/components/password-input2.js +0 -879
  114. package/dist/components/pattern-mixin.js +0 -85
  115. package/dist/components/radio-input.d.ts +0 -11
  116. package/dist/components/radio-input.js +0 -6
  117. package/dist/components/radio-input2.js +0 -115
  118. package/dist/components/select-input.d.ts +0 -11
  119. package/dist/components/select-input.js +0 -6
  120. package/dist/components/select-input2.js +0 -166
  121. package/dist/components/tel-input.d.ts +0 -11
  122. package/dist/components/tel-input.js +0 -6
  123. package/dist/components/tel-input2.js +0 -178
  124. package/dist/components/text-input.d.ts +0 -11
  125. package/dist/components/text-input.js +0 -6
  126. package/dist/components/text-input2.js +0 -157
  127. package/dist/components/tooltipIcon.js +0 -30
  128. package/dist/components/vaadin-button.js +0 -461
  129. package/dist/components/vaadin-combo-box.js +0 -4329
  130. package/dist/components/virtual-keyboard-controller.js +0 -2693
  131. package/dist/esm/index-7e24a6f1.js +0 -1259
  132. package/dist/esm/polyfills/core-js.js +0 -11
  133. package/dist/esm/polyfills/css-shim.js +0 -1
  134. package/dist/esm/polyfills/dom.js +0 -79
  135. package/dist/esm/polyfills/es5-html-element.js +0 -1
  136. package/dist/esm/polyfills/index.js +0 -34
  137. package/dist/esm/polyfills/system.js +0 -6
  138. package/dist/general-input/p-61d76ec3.entry.js +0 -1
  139. package/dist/general-input/p-a79eb0a3.entry.js +0 -4413
  140. package/dist/general-input/p-fb647820.js +0 -1
  141. package/dist/types/Users/adrian.pripon/Documents/Work/stencil/widgets-stencil/packages/general-input/.stencil/packages/general-input/stencil.config.d.ts +0 -2
@@ -13,6 +13,18 @@
13
13
  .password__wrapper {
14
14
  position: relative;
15
15
  width: 100%;
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: 5px;
19
+ }
20
+ .password__wrapper--autofilled {
21
+ pointer-events: none;
22
+ }
23
+ .password__wrapper--autofilled .password__label {
24
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
25
+ }
26
+ .password__wrapper--autofilled .password__input::part(input-field) {
27
+ color: var(--emfe-w-color-black, #000000);
16
28
  }
17
29
  .password__wrapper--flex {
18
30
  display: flex;
@@ -27,12 +39,12 @@
27
39
  font-weight: 500;
28
40
  font-size: 16px;
29
41
  line-height: 20px;
30
- color: #1F1F1F;
42
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
31
43
  }
32
44
  .password__label--required::after {
33
45
  content: "*";
34
46
  font-family: inherit;
35
- color: #1F1F1F;
47
+ color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
36
48
  margin-left: 2px;
37
49
  }
38
50
  .password__input {
@@ -40,29 +52,111 @@
40
52
  border: none;
41
53
  }
42
54
  .password__input[focused]::part(input-field) {
43
- border-color: #3E3E3E;
55
+ border-color: var(--emfe-w-login-color-primary, var(--emfe-w-color-primary, #D0046C));
44
56
  }
45
57
  .password__input[invalid]::part(input-field) {
46
- border-color: #cc0000b3;
58
+ border: 1px solid var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
47
59
  }
48
60
  .password__input::part(input-field) {
49
61
  border-radius: 4px;
50
- background-color: transparent;
62
+ background-color: var(--emfe-w-color-white, #FFFFFF);
63
+ border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
64
+ color: var(--emfe-w-color-black, #000000);
65
+ background-color: var(--emfe-w-color-white, #FFFFFF);
51
66
  font-family: inherit;
52
67
  font-style: normal;
53
68
  font-weight: 300;
54
69
  font-size: 16px;
55
- line-height: 19px;
56
- color: #2A2E3F;
70
+ line-height: 1.5;
71
+ position: relative;
72
+ margin-bottom: unset;
73
+ height: 44px;
74
+ padding: 0;
57
75
  width: 100%;
76
+ }
77
+ .password__input::part(reveal-button) {
58
78
  position: relative;
59
- border: 2px solid #DEE1EE;
79
+ right: 10px;
80
+ }
81
+ .password__input::part(reveal-button)::before {
82
+ color: var(--emfe-w-registration-typography, var(--emfe-w-color-black, #000000));
83
+ }
84
+ .password__input > input {
85
+ padding: 5px 15px;
86
+ }
87
+ .password__input > input:placeholder-shown {
88
+ color: var(--emfe-w-color-gray-150, #828282);
60
89
  }
61
90
  .password__error-message {
62
91
  position: absolute;
63
92
  top: calc(100% + 5px);
64
93
  left: 0;
65
- color: #cc0000b3;
94
+ color: var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));
95
+ }
96
+ .password__complexity {
97
+ position: relative;
98
+ padding: 10px;
99
+ display: flex;
100
+ flex-direction: column;
101
+ gap: 20px;
102
+ justify-content: center;
103
+ margin-top: 20px;
104
+ font-weight: 300;
105
+ background: var(--emfe-w-color-white, #FFFFFF);
106
+ -webkit-border-radius: 5px;
107
+ -moz-border-radius: 5px;
108
+ border-radius: 5px;
109
+ height: 150px;
110
+ border: 1px solid #B0B0B0;
111
+ /* works only in this order */
112
+ }
113
+ .password__complexity meter {
114
+ border-color: transparent; /* Needed for Safari */
115
+ }
116
+ .password__complexity meter[value="1"]::-moz-meter-bar {
117
+ background-color: var(--emfe-w-color-valid, #48952a);
118
+ }
119
+ .password__complexity meter[value="1"]::-webkit-meter-optimum-value {
120
+ background-color: var(--emfe-w-color-valid, #48952a);
121
+ }
122
+ .password__complexity meter:not([value="1"])::-moz-meter-bar {
123
+ background-color: var(--emfe-w-color-error, #FD2839);
124
+ }
125
+ .password__complexity meter:not([value="1"])::-webkit-meter-optimum-value {
126
+ background-color: var(--emfe-w-color-error, #FD2839);
127
+ }
128
+ .password__complexity--strength {
129
+ display: flex;
130
+ justify-content: space-evenly;
131
+ align-items: center;
132
+ }
133
+ .password__complexity--strength meter::-moz-meter-bar { /* Firefox Pseudo Class */
134
+ background: #B0B0B0;
135
+ }
136
+ .password__complexity--hidden {
137
+ display: none;
138
+ }
139
+ .password__complexity--text-bold {
140
+ font-weight: 500;
141
+ }
142
+ .password__complexity--checkbox {
143
+ margin-right: 5px;
144
+ }
145
+ .password__complexity:after {
146
+ content: "";
147
+ position: absolute;
148
+ width: 25px;
149
+ height: 25px;
150
+ border-top: 1px solid var(--emfe-w-color-gray-150, #828282);
151
+ border-right: 0 solid var(--emfe-w-color-gray-150, #828282);
152
+ border-left: 1px solid var(--emfe-w-color-gray-150, #828282);
153
+ border-bottom: 0 solid var(--emfe-w-color-gray-150, #828282);
154
+ bottom: 92%;
155
+ left: 50%;
156
+ margin-left: -25px;
157
+ transform: rotate(45deg);
158
+ margin-top: -25px;
159
+ background-color: var(--emfe-w-color-white, #FFFFFF);
66
160
  }
67
161
  .password__tooltip-icon {
68
162
  width: 16px;
@@ -72,8 +166,8 @@
72
166
  position: absolute;
73
167
  top: 0;
74
168
  left: 20px;
75
- background-color: #FFFFFF;
76
- border: 1px solid #B0B0B0;
169
+ background-color: var(--emfe-w-color-white, #FFFFFF);
170
+ border: 1px solid var(--emfe-w-color-gray-150, #828282);
77
171
  color: #2B2D3F;
78
172
  padding: 10px;
79
173
  border-radius: 5px;