@tekkare/auriga 0.1.40 → 0.1.42

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.
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.40"
7
+ "version": "0.1.42"
8
8
  }
@@ -140,7 +140,7 @@ export default defineComponent({
140
140
  .full_width {
141
141
  align-self: stretch;
142
142
  display: flex;
143
- flex: 1 1 0;
143
+ width: 100%;
144
144
  }
145
145
  .fit_width {
146
146
  width: fit-content;
@@ -1,4 +1,5 @@
1
1
  <template>
2
+ <client-only><arg-style /></client-only>
2
3
  <div :class="sidebarOpen ? 'arg_main_with_sidebar' : 'arg_main_no_sidebar'">
3
4
  <slot name="sidebar" />
4
5
  <div class="arg_main_layout_body">
@@ -16,12 +17,14 @@
16
17
  <script>
17
18
  import {
18
19
  onMounted,
19
- defineComponent
20
+ defineComponent,
21
+ onBeforeUpdate
20
22
  } from "vue";
21
23
  import argFooter from "./argFooter.vue";
24
+ import argStyle from "./argStyle.vue";
22
25
  export default defineComponent({
23
26
  name: "argMainLayout",
24
- components: { argFooter },
27
+ components: { argFooter, argStyle },
25
28
  props: {
26
29
  sidebarOpen: {
27
30
  type: Boolean,
@@ -32,8 +35,12 @@ export default defineComponent({
32
35
  onMounted(() => {
33
36
  adjustMarginForBody();
34
37
  window.addEventListener("resize", adjustMarginForBody);
38
+ window.addEventListener("popstate", adjustMarginForBody);
35
39
  window.addEventListener("click", adjustMarginForBody);
36
40
  });
41
+ onBeforeUpdate(() => {
42
+ adjustMarginForBody();
43
+ });
37
44
  function adjustMarginForBody() {
38
45
  const fixedHeader = document.getElementById("arg_header");
39
46
  const bodyContent = document.getElementById("arg_main_layout_section");
@@ -16,7 +16,7 @@
16
16
  : "Apply an existing scope"
17
17
  }}
18
18
  </p>
19
- <!-- Manage Scopes -->
19
+ <slot name="manage" />
20
20
  </div>
21
21
  <arg-radio-buttons
22
22
  dir="column"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.40",
3
+ "version": "0.1.42",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",