@weni/unnnic-system 1.16.32-develop.0 → 1.16.33

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "1.16.32-develop.0",
3
+ "version": "1.16.33",
4
4
  "main": "./dist/unnnic.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  :class="['text-input', `size--${size}`, {
4
4
  'has-icon-left': !!iconLeft,
5
- 'has-icon-right': !!iconRight
5
+ 'has-icon-right': !!iconRight || allowTogglePassword,
6
6
  }]"
7
7
  >
8
8
  <base-input
@@ -25,7 +25,7 @@
25
25
  size="sm"
26
26
  :clickable="iconLeftClickable"
27
27
  @click="onIconLeftClick"
28
- class="icon-left"
28
+ :class="['icon-left', { 'clickable': iconLeftClickable }]"
29
29
  />
30
30
 
31
31
  <unnnic-icon
@@ -35,7 +35,10 @@
35
35
  size="sm"
36
36
  :clickable="iconRightClickable || allowTogglePassword"
37
37
  @click="onIconRightClick"
38
- class="icon-right"
38
+ :class="[
39
+ 'icon-right',
40
+ { 'clickable': iconRightClickable || allowTogglePassword }
41
+ ]"
39
42
  />
40
43
  </div>
41
44
  </template>
@@ -179,7 +182,9 @@ export default {
179
182
 
180
183
  .icon {
181
184
  &-left, &-right {
182
- pointer-events: none;
185
+ &:not(.clickable) {
186
+ pointer-events: none;
187
+ }
183
188
  }
184
189
 
185
190
  &-left {
@@ -141,6 +141,8 @@ export default {
141
141
  },
142
142
 
143
143
  async onCloseClick() {
144
+ console.log('keycloak log', window);
145
+
144
146
  if (window.innerWidth <= 600) {
145
147
  await this.mobileAnimateClose();
146
148
  }