@mouseless/baked 1.5.2 → 1.5.3

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mouseless/baked",
3
3
  "configKey": "baked",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -63,7 +63,7 @@ const {
63
63
  safeLinksMessage = "Try the links from the menu below to view the page you want to access:"
64
64
  } = schema;
65
65
  const statusCode = computed(() => {
66
- const code = data.value?.data?.status ?? data.value?.statusCode ?? 999;
66
+ const code = !data ? 999 : data.status ?? data.statusCode ?? data.value?.status ?? data.value?.statusCode ?? 999;
67
67
  return code === 999 ? "APP" : code;
68
68
  });
69
69
  const errorInfo = computed(() => {
@@ -57,7 +57,7 @@
57
57
  <div
58
58
  v-for="inputGroup in inputGroups"
59
59
  :key="inputGroup.key"
60
- class="w-full flex gap-4 max-md:flex-col self-end"
60
+ class="w-full flex gap-4 max-md:flex-col"
61
61
  :class="{
62
62
  'col-span-2': inputGroup.wide,
63
63
  'reset-min-w': inputGroup.inputs.length > 1
@@ -107,5 +107,5 @@ function setSelected(value) {
107
107
  </style>
108
108
 
109
109
  <style scoped>
110
- &:has(.p-iftalabel) .p-iftalabel{@apply mt-2}.grid .flex .b-component--SelectButton{@apply self-end}
110
+ &:has(.p-iftalabel) .p-iftalabel{@apply mt-4}
111
111
  </style>
@@ -34,7 +34,7 @@ const tooltip = computed(() => ({
34
34
  disabled: !lengthIsExceeded.value,
35
35
  pt: {
36
36
  root: {
37
- style: maxLength ? `min-width: ${maxLength / 4}rem;` : ""
37
+ style: maxLength ? `min-width: ${maxLength / 2}rem;` : ""
38
38
  }
39
39
  }
40
40
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mouseless/baked",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Baked is an opinionated framework for .NET and Vue. This is the UI package of Baked project.",
5
5
  "keywords": [
6
6
  "baked",