@mouseless/baked 1.1.3 → 1.1.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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mouseless/baked",
3
3
  "configKey": "baked",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -3,7 +3,7 @@
3
3
  ref="panel"
4
4
  :header="localizeTitle ? l(title) : title"
5
5
  :collapsed="collapsedState"
6
- toggleable
6
+ :toggleable="toggleable ?? true"
7
7
  :pt="
8
8
  {
9
9
  headerActions: 'flex gap-2 items-center',
@@ -95,7 +95,7 @@ const panel = useTemplateRef("panel");
95
95
  const { schema } = defineProps({
96
96
  schema: { type: null, required: true }
97
97
  });
98
- const { collapsed, content, inputs, localizeTitle, title: titleData } = schema;
98
+ const { collapsed, content, inputs, localizeTitle, title: titleData, toggleable } = schema;
99
99
  const contextData = context.injectContextData();
100
100
  const path = context.injectPath();
101
101
  const collapsedState = computed(() => panelStates[path] ?? collapsed);
@@ -7,7 +7,7 @@
7
7
  <Dialog
8
8
  v-model:visible="visible"
9
9
  :header="l(header)"
10
- :style="{ width: 'min(450px, 90vw)' }"
10
+ class="w-max max-w-[90vw]"
11
11
  closable
12
12
  modal
13
13
  dismissable-mask
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mouseless/baked",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
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",