@mixd-id/web-scaffold 0.1.230406096 → 0.1.230406097

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.230406096",
4
+ "version": "0.1.230406097",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  </div>
17
17
  <div class="grid grid-cols-2 gap-4">
18
- <button type="button" @click="select('transparent')"
18
+ <button type="button" @click="select('')"
19
19
  class="w-full p-1 border-text-100 border-[1px] rounded-lg">None</button>
20
20
  <button type="button" v-if="mode !== 'class' && Boolean(customColor)"
21
21
  class="w-full p-1 border-text-100 border-[1px] rounded-lg"
@@ -70,9 +70,8 @@ export default{
70
70
  methods: {
71
71
 
72
72
  select(color){
73
- console.log('select', this.mode, this.prefix, color)
74
73
  if(this.mode === 'class'){
75
- this.$emit('update:modelValue', this.prefix + color)
74
+ this.$emit('update:modelValue', color ? this.prefix + color : '')
76
75
  }
77
76
  else{
78
77
  this.$emit('update:modelValue', color)
@@ -447,8 +447,6 @@
447
447
  <br />
448
448
  <br />
449
449
 
450
- <pre class="text-xs break-all">{{ item.instance }}</pre>
451
-
452
450
  </div>
453
451
  </template>
454
452