@iankibetsh/shframework 0.5.5 → 0.5.6

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.
@@ -31,21 +31,6 @@
31
31
  opacity: 0.5;
32
32
  }
33
33
 
34
- .sh-selected-item{
35
- line-height: unset!important;
36
- }
37
- .sh-suggestion-input{
38
- padding: 0.375rem 0.75rem;
39
- }
40
- .sh-suggest{
41
- margin-bottom: 1rem;
42
- }
43
- .sh-suggest-control::after{
44
- margin-top: auto;
45
- margin-bottom: auto;
46
- margin-right: 0.255em;
47
- }
48
-
49
34
  :root {
50
35
  --ck-z-default: 10555 !important;
51
36
  --ck-z-modal: calc(var(--ck-z-default) + 999) !important;
@@ -66,3 +51,18 @@
66
51
  width: 100% !important;
67
52
  }
68
53
  }
54
+
55
+ .sh-selected-item{
56
+ line-height: unset!important;
57
+ }
58
+ .sh-suggestion-input{
59
+ padding: 0.375rem 0.75rem;
60
+ }
61
+ .sh-suggest{
62
+ margin-bottom: 1rem;
63
+ }
64
+ .sh-suggest-control::after{
65
+ margin-top: auto;
66
+ margin-bottom: auto;
67
+ margin-right: 0.255em;
68
+ }
package/dist/library.js CHANGED
@@ -47,10 +47,12 @@ const checkSession = function (isCheking) {
47
47
  const started = moment__default["default"](sessionStart);
48
48
  if(!sessionStart){
49
49
  ShStorage.removeItem('access_token');
50
+ ShStorage.removeItem('user');
50
51
  return false
51
52
  }
52
53
  const pastMinutes = moment__default["default"]().diff(started, 'minutes');
53
54
  if(pastMinutes >= timeout) {
55
+ ShStorage.removeItem('user');
54
56
  ShStorage.removeItem('access_token');
55
57
  return false
56
58
  }
package/dist/library.mjs CHANGED
@@ -35,10 +35,12 @@ const checkSession = function (isCheking) {
35
35
  const started = moment(sessionStart);
36
36
  if(!sessionStart){
37
37
  ShStorage.removeItem('access_token');
38
+ ShStorage.removeItem('user');
38
39
  return false
39
40
  }
40
41
  const pastMinutes = moment().diff(started, 'minutes');
41
42
  if(pastMinutes >= timeout) {
43
+ ShStorage.removeItem('user');
42
44
  ShStorage.removeItem('access_token');
43
45
  return false
44
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",