@mixd-id/web-scaffold 0.1.230406173 → 0.1.230406174

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406173",
4
+ "version": "0.1.230406174",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -10,7 +10,7 @@
10
10
  <label :class="$style.label">Aspect Ratio</label>
11
11
  <div v-for="(_, idx) in viewTypes"
12
12
  v-show="_.value === viewType">
13
- <Dropdown v-model="itemRatio[idx]" @change="apply">
13
+ <Dropdown v-model="aspectRatio[idx]" @change="apply">
14
14
  <option value="">Not Set</option>
15
15
  <option :value="`${viewType}aspect-square`">Square</option>
16
16
  <option :value="`${viewType}aspect-[2/1]`">2/1</option>
@@ -1050,10 +1050,10 @@ export default{
1050
1050
  return this.item.props.height
1051
1051
  },
1052
1052
 
1053
- itemRatio(){
1054
- if(!Array.isArray(this.item.props.itemRatio))
1055
- this.item.props.itemRatio = []
1056
- return this.item.props.itemRatio
1053
+ aspectRatio(){
1054
+ if(!Array.isArray(this.item.props.aspectRatio))
1055
+ this.item.props.aspectRatio = []
1056
+ return this.item.props.aspectRatio
1057
1057
  },
1058
1058
 
1059
1059
  left(){