@tekkare/auriga 0.1.47 → 0.1.49

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.47"
7
+ "version": "0.1.49"
8
8
  }
@@ -139,7 +139,7 @@ export default defineComponent({
139
139
  gap: 8px;
140
140
  border: 1px solid var(--dividers);
141
141
  border-radius: 8px;
142
- font-weight: 700;
142
+ font-weight: 600;
143
143
  font-size: 14px;
144
144
  line-height: 16px;
145
145
  height: 40px;
@@ -8,8 +8,8 @@
8
8
  :class="infoOpen ? 'arg_info_open' : 'arg_info_closed'"
9
9
  id="arg_info_section"
10
10
  >
11
- <slot name="infoBar" />
12
- <slot name="infoSection" />
11
+ <slot name="toolbar" />
12
+ <slot name="toolbarContent" />
13
13
  </div>
14
14
  <div class="arg_main_layout_section" id="arg_main_layout_section">
15
15
  <slot name="body" />
@@ -144,8 +144,7 @@ export default defineComponent({
144
144
  z-index: 99 !important;
145
145
  margin-top: 15px;
146
146
  position: absolute;
147
- min-width: 100px;
148
- max-height: 200px;
147
+ width: max-content;
149
148
  border: 1.5px solid var(--dividers);
150
149
  background: var(--demi-fond);
151
150
  border-radius: 12px;
@@ -153,7 +152,7 @@ export default defineComponent({
153
152
  padding: 16px;
154
153
  display: flex;
155
154
  flex-direction: column;
156
- right: -16px;
155
+ right: -22px;
157
156
  }
158
157
 
159
158
  .scope_change_display {
@@ -28,7 +28,7 @@ import {
28
28
  import argIcon from "./argIcon.vue";
29
29
  import argTooltip from "./argTooltip.vue";
30
30
  export default defineComponent({
31
- name: "argInfoBar",
31
+ name: "argToolbar",
32
32
  components: { argIcon, argTooltip },
33
33
  props: {
34
34
  infoArray: {
@@ -45,14 +45,14 @@ export default defineComponent({
45
45
  required: true
46
46
  }
47
47
  },
48
- emits: ["openInfo"],
48
+ emits: ["openToolbar"],
49
49
  setup(props, { emit }) {
50
50
  const activeMenu = ref("");
51
51
  const infoOpen = ref(false);
52
52
  function openMenu(item) {
53
53
  infoOpen.value = true;
54
54
  activeMenu.value = item;
55
- emit("openInfo", { open: infoOpen.value, menu: activeMenu.value });
55
+ emit("openToolbar", { open: infoOpen.value, menu: activeMenu.value });
56
56
  }
57
57
  return {
58
58
  infoOpen,
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  infoOpen: import("vue").Ref<boolean>;
15
15
  activeMenu: import("vue").Ref<string>;
16
16
  openMenu: (item: string) => void;
17
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "openInfo"[], "openInfo", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "openToolbar"[], "openToolbar", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
18
  infoArray: {
19
19
  type: ArrayConstructor;
20
20
  default: () => {
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  required: true;
28
28
  };
29
29
  }>> & {
30
- onOpenInfo?: ((...args: any[]) => any) | undefined;
30
+ onOpenToolbar?: ((...args: any[]) => any) | undefined;
31
31
  }, {
32
32
  infoArray: unknown[];
33
33
  }, {}>;
@@ -59,10 +59,10 @@ import {
59
59
  } from "vue";
60
60
  import argIcon from "./argIcon.vue";
61
61
  export default defineComponent({
62
- name: "argInfoSection",
62
+ name: "argToolbarContent",
63
63
  components: { argIcon },
64
64
  props: {
65
- openInfo: {
65
+ toolbarOpen: {
66
66
  type: Boolean,
67
67
  default: true
68
68
  },
@@ -89,7 +89,7 @@ export default defineComponent({
89
89
  const trueActiveMenu = ref("");
90
90
  const infoOpen = ref(false);
91
91
  watch(
92
- () => props.openInfo,
92
+ () => props.toolbarOpen,
93
93
  (new_info_open) => {
94
94
  infoOpen.value = new_info_open;
95
95
  }
@@ -102,7 +102,7 @@ export default defineComponent({
102
102
  );
103
103
  onMounted(() => {
104
104
  trueActiveMenu.value = props.activeMenu;
105
- infoOpen.value = props.openInfo;
105
+ infoOpen.value = props.toolbarOpen;
106
106
  });
107
107
  function openMenu(item) {
108
108
  infoOpen.value = true;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- openInfo: {
2
+ toolbarOpen: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  openMenu: (item: string) => void;
25
25
  closeInfo: () => void;
26
26
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:Menu" | "update:Open")[], "update:Menu" | "update:Open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
27
- openInfo: {
27
+ toolbarOpen: {
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
30
30
  };
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
47
47
  "onUpdate:Menu"?: ((...args: any[]) => any) | undefined;
48
48
  "onUpdate:Open"?: ((...args: any[]) => any) | undefined;
49
49
  }, {
50
- openInfo: boolean;
51
50
  infoArray: unknown[];
52
51
  activeMenu: string;
52
+ toolbarOpen: boolean;
53
53
  }, {}>;
54
54
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.47",
3
+ "version": "0.1.49",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",