@iankibetsh/shframework 5.4.0 → 5.4.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.
@@ -1,36 +1,4 @@
1
1
 
2
- .colored-toast.swal2-icon-success {
3
- background-color: #a5dc86 !important;
4
- }
5
-
6
- .colored-toast.swal2-icon-error {
7
- background-color: #f27474 !important;
8
- }
9
-
10
- .colored-toast.swal2-icon-warning {
11
- background-color: #f8bb86 !important;
12
- }
13
-
14
- .colored-toast.swal2-icon-info {
15
- background-color: #3fc3ee !important;
16
- }
17
-
18
- .colored-toast.swal2-icon-question {
19
- background-color: #87adbd !important;
20
- }
21
-
22
- .colored-toast .swal2-title {
23
- color: white;
24
- }
25
-
26
- .colored-toast .swal2-close {
27
- color: white;
28
- }
29
-
30
- .colored-toast .swal2-html-container {
31
- color: white;
32
- }
33
-
34
2
  .sh-phone{
35
3
  display: flex;
36
4
  width: 100%;
@@ -63,6 +31,38 @@
63
31
  opacity: 0.5;
64
32
  }
65
33
 
34
+ .colored-toast.swal2-icon-success {
35
+ background-color: #a5dc86 !important;
36
+ }
37
+
38
+ .colored-toast.swal2-icon-error {
39
+ background-color: #f27474 !important;
40
+ }
41
+
42
+ .colored-toast.swal2-icon-warning {
43
+ background-color: #f8bb86 !important;
44
+ }
45
+
46
+ .colored-toast.swal2-icon-info {
47
+ background-color: #3fc3ee !important;
48
+ }
49
+
50
+ .colored-toast.swal2-icon-question {
51
+ background-color: #87adbd !important;
52
+ }
53
+
54
+ .colored-toast .swal2-title {
55
+ color: white;
56
+ }
57
+
58
+ .colored-toast .swal2-close {
59
+ color: white;
60
+ }
61
+
62
+ .colored-toast .swal2-html-container {
63
+ color: white;
64
+ }
65
+
66
66
  .permissions-main {
67
67
  background: #edeff2;
68
68
  }
@@ -130,3 +130,9 @@
130
130
  .sh-forgot-link, .sh-register-link{
131
131
  cursor: pointer;
132
132
  }
133
+
134
+ .sh-dropdown-action{
135
+ cursor: pointer;
136
+
137
+ }
138
+
package/dist/library.js CHANGED
@@ -4547,10 +4547,10 @@ return (_ctx, _cache) => {
4547
4547
  vue.createTextVNode(" " + vue.toDisplayString(__props.action.label), 1 /* TEXT */)
4548
4548
  ], 10 /* CLASS, PROPS */, _hoisted_1$f))
4549
4549
  : (__props.action.emits)
4550
- ? (vue.openBlock(), vue.createElementBlock("button", {
4550
+ ? (vue.openBlock(), vue.createElementBlock("span", {
4551
4551
  key: 3,
4552
4552
  title: __props.action.title,
4553
- class: vue.normalizeClass(__props.action.class ? __props.action.class+' btn':'btn btn-default ' + __props.actionClass),
4553
+ class: vue.normalizeClass(__props.action.class ? __props.action.class+' sh-dropdown-action dropdown-item':'sh-dropdown-action dropdown-item' + __props.actionClass),
4554
4554
  onClick: _cache[6] || (_cache[6] = $event => (doEmitAction(__props.action.emits, __props.record)))
4555
4555
  }, [
4556
4556
  (__props.action.icon)
package/dist/library.mjs CHANGED
@@ -4535,10 +4535,10 @@ return (_ctx, _cache) => {
4535
4535
  createTextVNode(" " + toDisplayString(__props.action.label), 1 /* TEXT */)
4536
4536
  ], 10 /* CLASS, PROPS */, _hoisted_1$f))
4537
4537
  : (__props.action.emits)
4538
- ? (openBlock(), createElementBlock("button", {
4538
+ ? (openBlock(), createElementBlock("span", {
4539
4539
  key: 3,
4540
4540
  title: __props.action.title,
4541
- class: normalizeClass(__props.action.class ? __props.action.class+' btn':'btn btn-default ' + __props.actionClass),
4541
+ class: normalizeClass(__props.action.class ? __props.action.class+' sh-dropdown-action dropdown-item':'sh-dropdown-action dropdown-item' + __props.actionClass),
4542
4542
  onClick: _cache[6] || (_cache[6] = $event => (doEmitAction(__props.action.emits, __props.record)))
4543
4543
  }, [
4544
4544
  (__props.action.icon)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",
@@ -36,6 +36,7 @@
36
36
  "eslint": "^8.22.0",
37
37
  "eslint-plugin-vue": "^9.3.0",
38
38
  "jsdom": "^20.0.3",
39
+ "lru-cache": "^10.2.0",
39
40
  "rollup": "^2.75.7",
40
41
  "rollup-plugin-css-only": "^3.1.0",
41
42
  "rollup-plugin-dotenv": "^0.3.0",
@@ -44,10 +45,10 @@
44
45
  "sass": "^1.56.2",
45
46
  "vite": "^3.2.4",
46
47
  "vitest": "^0.25.3",
47
- "vuepress": "^2.0.0-rc.8",
48
- "lru-cache": "^10.2.0"
48
+ "vuepress": "^2.0.0-rc.8"
49
49
  },
50
50
  "dependencies": {
51
+ "@iankibetsh/vue-streamline": "^1.2.6",
51
52
  "axios": "^1.8",
52
53
  "lodash": "^4.17.21",
53
54
  "moment": "^2.29.3",