@iankibetsh/shframework 0.7.3 → 0.7.5

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.
@@ -63,21 +63,6 @@
63
63
  color: white;
64
64
  }
65
65
 
66
- .sh-selected-item{
67
- line-height: unset!important;
68
- }
69
- .sh-suggestion-input{
70
- padding: 0.375rem 0.75rem;
71
- }
72
- .sh-suggest{
73
- margin-bottom: 1rem;
74
- }
75
- .sh-suggest-control::after{
76
- margin-top: auto;
77
- margin-bottom: auto;
78
- margin-right: 0.255em;
79
- }
80
-
81
66
  :root {
82
67
  --ck-z-default: 10555 !important;
83
68
  --ck-z-modal: calc(var(--ck-z-default) + 999) !important;
@@ -99,6 +84,21 @@
99
84
  }
100
85
  }
101
86
 
87
+ .sh-selected-item{
88
+ line-height: unset!important;
89
+ }
90
+ .sh-suggestion-input{
91
+ padding: 0.375rem 0.75rem;
92
+ }
93
+ .sh-suggest{
94
+ margin-bottom: 1rem;
95
+ }
96
+ .sh-suggest-control::after{
97
+ margin-top: auto;
98
+ margin-bottom: auto;
99
+ margin-right: 0.255em;
100
+ }
101
+
102
102
  .sh-forgot-link, .sh-register-link{
103
103
  cursor: pointer;
104
104
  }
package/dist/library.js CHANGED
@@ -2511,7 +2511,7 @@ script$9.__file = "src/lib/components/ShForm.vue";
2511
2511
 
2512
2512
  var script$8 = {
2513
2513
  name: 'ShCanvas',
2514
- props: ['canvasTitle', 'canvasId', 'position'],
2514
+ props: ['canvasTitle', 'canvasId', 'position','canvasSize'],
2515
2515
  components: {
2516
2516
  },
2517
2517
  data () {
@@ -2536,7 +2536,7 @@ const _hoisted_4$8 = { class: "offcanvas-body" };
2536
2536
 
2537
2537
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2538
2538
  return (vue.openBlock(), vue.createElementBlock("div", {
2539
- class: vue.normalizeClass(["offcanvas", $data.side]),
2539
+ class: vue.normalizeClass(["offcanvas", $data.side +' '+ $props.canvasSize + '']),
2540
2540
  "data-bs-scroll": "true",
2541
2541
  tabindex: "-1",
2542
2542
  id: $props.canvasId,
@@ -2586,7 +2586,8 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2586
2586
  class: "modal fade",
2587
2587
  tabindex: "-1",
2588
2588
  id: $props.modalId,
2589
- "data-focus": "false",
2589
+ "data-bs-backdrop": "static",
2590
+ "data-bs-keyboard": "false",
2590
2591
  "aria-hidden": "true"
2591
2592
  }, [
2592
2593
  vue.createElementVNode("div", {
@@ -3763,6 +3764,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3763
3764
  (action.canvasId)
3764
3765
  ? (vue.openBlock(), vue.createBlock(_component_sh_canvas, {
3765
3766
  key: 0,
3767
+ position: action.canvasPosition,
3768
+ "canvas-size": action.canvasSize,
3766
3769
  "canvas-title": action.canvasTitle,
3767
3770
  "canvas-id": action.canvasId,
3768
3771
  onOffcanvasClosed: _cache[3] || (_cache[3] = $event => ($options.rowSelected(null)))
@@ -3776,7 +3779,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3776
3779
  : vue.createCommentVNode("v-if", true)
3777
3780
  ]),
3778
3781
  _: 2 /* DYNAMIC */
3779
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["canvas-title", "canvas-id"]))
3782
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["position", "canvas-size", "canvas-title", "canvas-id"]))
3780
3783
  : vue.createCommentVNode("v-if", true)
3781
3784
  ], 64 /* STABLE_FRAGMENT */))
3782
3785
  }), 128 /* KEYED_FRAGMENT */))
package/dist/library.mjs CHANGED
@@ -2499,7 +2499,7 @@ script$9.__file = "src/lib/components/ShForm.vue";
2499
2499
 
2500
2500
  var script$8 = {
2501
2501
  name: 'ShCanvas',
2502
- props: ['canvasTitle', 'canvasId', 'position'],
2502
+ props: ['canvasTitle', 'canvasId', 'position','canvasSize'],
2503
2503
  components: {
2504
2504
  },
2505
2505
  data () {
@@ -2524,7 +2524,7 @@ const _hoisted_4$8 = { class: "offcanvas-body" };
2524
2524
 
2525
2525
  function render$4(_ctx, _cache, $props, $setup, $data, $options) {
2526
2526
  return (openBlock(), createElementBlock("div", {
2527
- class: normalizeClass(["offcanvas", $data.side]),
2527
+ class: normalizeClass(["offcanvas", $data.side +' '+ $props.canvasSize + '']),
2528
2528
  "data-bs-scroll": "true",
2529
2529
  tabindex: "-1",
2530
2530
  id: $props.canvasId,
@@ -2574,7 +2574,8 @@ function render$3(_ctx, _cache, $props, $setup, $data, $options) {
2574
2574
  class: "modal fade",
2575
2575
  tabindex: "-1",
2576
2576
  id: $props.modalId,
2577
- "data-focus": "false",
2577
+ "data-bs-backdrop": "static",
2578
+ "data-bs-keyboard": "false",
2578
2579
  "aria-hidden": "true"
2579
2580
  }, [
2580
2581
  createElementVNode("div", {
@@ -3751,6 +3752,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3751
3752
  (action.canvasId)
3752
3753
  ? (openBlock(), createBlock(_component_sh_canvas, {
3753
3754
  key: 0,
3755
+ position: action.canvasPosition,
3756
+ "canvas-size": action.canvasSize,
3754
3757
  "canvas-title": action.canvasTitle,
3755
3758
  "canvas-id": action.canvasId,
3756
3759
  onOffcanvasClosed: _cache[3] || (_cache[3] = $event => ($options.rowSelected(null)))
@@ -3764,7 +3767,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3764
3767
  : createCommentVNode("v-if", true)
3765
3768
  ]),
3766
3769
  _: 2 /* DYNAMIC */
3767
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["canvas-title", "canvas-id"]))
3770
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["position", "canvas-size", "canvas-title", "canvas-id"]))
3768
3771
  : createCommentVNode("v-if", true)
3769
3772
  ], 64 /* STABLE_FRAGMENT */))
3770
3773
  }), 128 /* KEYED_FRAGMENT */))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",
@@ -30,13 +30,11 @@
30
30
  "vue": "^3.2.37"
31
31
  },
32
32
  "devDependencies": {
33
- "@vitejs/plugin-vue": "^3.0.3",
34
33
  "rollup": "^2.75.7",
35
34
  "rollup-plugin-css-only": "^3.1.0",
36
35
  "rollup-plugin-dotenv": "^0.3.0",
37
36
  "rollup-plugin-peer-deps-external": "^2.2.4",
38
37
  "rollup-plugin-vue": "^6.0.0",
39
- "vite": "^3.0.7",
40
38
  "vuepress": "^2.0.0-beta.48"
41
39
  },
42
40
  "dependencies": {