@visualizevalue/mint-app-base 0.1.81 → 0.1.82

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.
@@ -124,22 +124,25 @@ select.select:--highlight {
124
124
  form {
125
125
  display: grid;
126
126
  gap: var(--spacer);
127
+ }
127
128
 
128
- label {
129
- display: block;
130
- font-family: var(--ui-font-family);
131
- text-transform: var(--text-transform-ui);
132
- margin: var(--size-2) 0;
133
- color: var(--muted);
134
- transition: all var(--speed);
129
+ form label,
130
+ label.form-label,
131
+ label:has(.form-item) {
132
+ font-family: var(--ui-font-family);
133
+ font-size: var(--ui-font-size);
134
+ text-transform: var(--text-transform-ui);
135
+ margin: var(--size-2) 0;
136
+ transition: all var(--speed);
137
+ display: grid;
138
+ gap: var(--size-2);
135
139
 
136
- > span:first-child {
137
- display: block;
138
- margin: 0 0 var(--size-2) 0
139
- }
140
+ > span:first-child {
141
+ display: block;
142
+ }
140
143
 
141
- &:hover {
142
- color: var(--color);
143
- }
144
+ &:hover {
145
+ color: var(--color);
144
146
  }
145
147
  }
148
+
@@ -20,12 +20,19 @@
20
20
  <script setup lang="ts">
21
21
  import { useFileDialog } from '@vueuse/core'
22
22
 
23
+ const props = defineProps({
24
+ accept: {
25
+ type: String,
26
+ default: 'image/*'
27
+ }
28
+ })
29
+
23
30
  const emit = defineEmits<{
24
31
  change: [file: File|null|undefined]
25
32
  }>()
26
33
 
27
34
  const { files, open, reset, onChange } = useFileDialog({
28
- accept: 'image/*',
35
+ accept: props.accept,
29
36
  multiple: false,
30
37
  })
31
38
 
@@ -9,7 +9,7 @@
9
9
  </Actions>
10
10
 
11
11
  <div>
12
- <label>
12
+ <label class="form-label">
13
13
  <span>Image</span>
14
14
 
15
15
  <FormInput v-if="mode === 'ipfs'" v-model="imageIpfsCid" placeholder="CID (qmx...)" prefix="ipfs://" required />
@@ -26,13 +26,13 @@
26
26
  </div>
27
27
  </label>
28
28
 
29
- <label>
29
+ <label class="form-label">
30
30
  <span>Animation</span>
31
31
 
32
32
  <FormInput v-if="mode === 'ipfs'" v-model="animationIpfsCid" placeholder="CID (qmx...)" prefix="ipfs://" required />
33
33
  <FormInput v-else-if="mode === 'ar'" v-model="animationArTxId" placeholder="TX ID (frV...)" prefix="ar://" required />
34
34
  <div v-else-if="mode === 'file'">
35
- <FormSelectFile ref="animationSelect" @change="setAnimationArtifact" />
35
+ <FormSelectFile ref="animationSelect" @change="setAnimationArtifact" accept="video/*" />
36
36
  <p v-if="! animationIsSmall" class="muted">
37
37
  <small>
38
38
  {{ $t('mint.base.note.start') }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualizevalue/mint-app-base",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "dependencies": {