@iankibetsh/shframework 0.6.8 → 0.7.0

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,25 +31,6 @@
31
31
  opacity: 0.5;
32
32
  }
33
33
 
34
- .sh-forgot-link, .sh-register-link{
35
- cursor: pointer;
36
- }
37
-
38
- .sh-selected-item{
39
- line-height: unset!important;
40
- }
41
- .sh-suggestion-input{
42
- padding: 0.375rem 0.75rem;
43
- }
44
- .sh-suggest{
45
- margin-bottom: 1rem;
46
- }
47
- .sh-suggest-control::after{
48
- margin-top: auto;
49
- margin-bottom: auto;
50
- margin-right: 0.255em;
51
- }
52
-
53
34
  :root {
54
35
  --ck-z-default: 10555 !important;
55
36
  --ck-z-modal: calc(var(--ck-z-default) + 999) !important;
@@ -70,3 +51,22 @@
70
51
  width: 100% !important;
71
52
  }
72
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
+ }
69
+
70
+ .sh-forgot-link, .sh-register-link{
71
+ cursor: pointer;
72
+ }
package/dist/library.js CHANGED
@@ -2516,12 +2516,12 @@ var script$8 = {
2516
2516
  },
2517
2517
  data () {
2518
2518
  return {
2519
- side: this.position === undefined ? 'offcanvas-bottom' : 'offcanvas-' + this.position
2519
+ side: this.position === undefined ? 'offcanvas-start' : 'offcanvas-' + this.position
2520
2520
  }
2521
2521
  },
2522
2522
  methods: {
2523
- modalClosed: function () {
2524
- this.$emit('modalClosed');
2523
+ offcanvasClosed: function () {
2524
+ this.$emit('offcanvasClosed');
2525
2525
  }
2526
2526
  }
2527
2527
  };
@@ -2547,7 +2547,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2547
2547
  vue.createElementVNode("button", {
2548
2548
  type: "button",
2549
2549
  ref: "closecanvas",
2550
- onClick: _cache[0] || (_cache[0] = (...args) => ($options.modalClosed && $options.modalClosed(...args))),
2550
+ onClick: _cache[0] || (_cache[0] = (...args) => ($options.offcanvasClosed && $options.offcanvasClosed(...args))),
2551
2551
  class: "btn-close text-reset",
2552
2552
  "data-bs-dismiss": "offcanvas",
2553
2553
  "aria-label": "Close"
package/dist/library.mjs CHANGED
@@ -2504,12 +2504,12 @@ var script$8 = {
2504
2504
  },
2505
2505
  data () {
2506
2506
  return {
2507
- side: this.position === undefined ? 'offcanvas-bottom' : 'offcanvas-' + this.position
2507
+ side: this.position === undefined ? 'offcanvas-start' : 'offcanvas-' + this.position
2508
2508
  }
2509
2509
  },
2510
2510
  methods: {
2511
- modalClosed: function () {
2512
- this.$emit('modalClosed');
2511
+ offcanvasClosed: function () {
2512
+ this.$emit('offcanvasClosed');
2513
2513
  }
2514
2514
  }
2515
2515
  };
@@ -2535,7 +2535,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2535
2535
  createElementVNode("button", {
2536
2536
  type: "button",
2537
2537
  ref: "closecanvas",
2538
- onClick: _cache[0] || (_cache[0] = (...args) => ($options.modalClosed && $options.modalClosed(...args))),
2538
+ onClick: _cache[0] || (_cache[0] = (...args) => ($options.offcanvasClosed && $options.offcanvasClosed(...args))),
2539
2539
  class: "btn-close text-reset",
2540
2540
  "data-bs-dismiss": "offcanvas",
2541
2541
  "aria-label": "Close"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.6.8",
3
+ "version": "0.7.0",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",