@iankibetsh/shframework 0.7.3 → 0.7.4

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;
@@ -102,3 +87,18 @@
102
87
  .sh-forgot-link, .sh-register-link{
103
88
  cursor: pointer;
104
89
  }
90
+
91
+ .sh-selected-item{
92
+ line-height: unset!important;
93
+ }
94
+ .sh-suggestion-input{
95
+ padding: 0.375rem 0.75rem;
96
+ }
97
+ .sh-suggest{
98
+ margin-bottom: 1rem;
99
+ }
100
+ .sh-suggest-control::after{
101
+ margin-top: auto;
102
+ margin-bottom: auto;
103
+ margin-right: 0.255em;
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,
@@ -3763,6 +3763,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3763
3763
  (action.canvasId)
3764
3764
  ? (vue.openBlock(), vue.createBlock(_component_sh_canvas, {
3765
3765
  key: 0,
3766
+ position: action.canvasPosition,
3767
+ "canvas-size": action.canvasSize,
3766
3768
  "canvas-title": action.canvasTitle,
3767
3769
  "canvas-id": action.canvasId,
3768
3770
  onOffcanvasClosed: _cache[3] || (_cache[3] = $event => ($options.rowSelected(null)))
@@ -3776,7 +3778,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3776
3778
  : vue.createCommentVNode("v-if", true)
3777
3779
  ]),
3778
3780
  _: 2 /* DYNAMIC */
3779
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["canvas-title", "canvas-id"]))
3781
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["position", "canvas-size", "canvas-title", "canvas-id"]))
3780
3782
  : vue.createCommentVNode("v-if", true)
3781
3783
  ], 64 /* STABLE_FRAGMENT */))
3782
3784
  }), 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,
@@ -3751,6 +3751,8 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3751
3751
  (action.canvasId)
3752
3752
  ? (openBlock(), createBlock(_component_sh_canvas, {
3753
3753
  key: 0,
3754
+ position: action.canvasPosition,
3755
+ "canvas-size": action.canvasSize,
3754
3756
  "canvas-title": action.canvasTitle,
3755
3757
  "canvas-id": action.canvasId,
3756
3758
  onOffcanvasClosed: _cache[3] || (_cache[3] = $event => ($options.rowSelected(null)))
@@ -3764,7 +3766,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
3764
3766
  : createCommentVNode("v-if", true)
3765
3767
  ]),
3766
3768
  _: 2 /* DYNAMIC */
3767
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["canvas-title", "canvas-id"]))
3769
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["position", "canvas-size", "canvas-title", "canvas-id"]))
3768
3770
  : createCommentVNode("v-if", true)
3769
3771
  ], 64 /* STABLE_FRAGMENT */))
3770
3772
  }), 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.4",
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": {