@luizleon/sf.prefeiturasp.vuecomponents 0.0.11 → 0.0.13

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": "@luizleon/sf.prefeiturasp.vuecomponents",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Pacote de componentes Vue para projetos em SF.",
5
5
  "main": "dist/lib.umd.js",
6
6
  "module": "dist/lib.es.js",
package/src/keycloak.js CHANGED
@@ -22,6 +22,8 @@
22
22
  * https://github.com/keycloak/keycloak/blob/main/js/libs/keycloak-js/src/keycloak.js
23
23
  *
24
24
  * Adaptado para expor setToken.
25
+ *
26
+ * Adpatado parausar URL absoluta em configUrl (linha 829).
25
27
  */
26
28
 
27
29
  import base64 from 'base64-js';
@@ -824,7 +826,7 @@ function Keycloak (config) {
824
826
  var configUrl;
825
827
 
826
828
  if (!config) {
827
- configUrl = 'keycloak.json';
829
+ configUrl = location.origin + '/keycloak.json';
828
830
  } else if (typeof config === 'string') {
829
831
  configUrl = config;
830
832
  }
@@ -35,15 +35,17 @@
35
35
  border-bottom-color: var(--primary-color);
36
36
  pointer-events: none;
37
37
  }
38
- a {
39
- text-decoration: none;
40
- &:not([data-active="true"]) {
38
+ &:not([data-active="true"]) {
39
+ > a {
41
40
  &:hover,
42
41
  &:focus {
43
42
  color: var(--info-color);
44
43
  }
45
44
  }
46
45
  }
46
+ > a {
47
+ text-decoration: none;
48
+ }
47
49
  }
48
50
  }
49
51