@visualizevalue/mint-app-base 0.1.3 → 0.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.
@@ -5,6 +5,7 @@ textarea,
5
5
  select {
6
6
  width: 100%;
7
7
  font-family: var(--ui-font-family);
8
+ font-size: var(--ui-font-size);
8
9
  font-weight: var(--ui-font-weight);
9
10
  text-transform: var(--ui-text-transform);
10
11
  transition: all var(--speed);
@@ -62,12 +63,6 @@ select {
62
63
  &::-ms-input-placeholder {
63
64
  color: var(--border-color-light);
64
65
  }
65
-
66
- &.small {
67
- min-height: 0;
68
- font-size: var(--font-sm);
69
- padding: calc(var(--size-1) + var(--size-0)) var(--size-3);
70
- }
71
66
  }
72
67
 
73
68
  .form-item {
@@ -1,17 +1,18 @@
1
1
  :root {
2
2
 
3
- --ui-font-family: var(--font-family);
4
- --ui-font-weight: var(--font-weight);
5
- --ui-text-transform: var(--text-transform);
3
+ --ui-font-family: var(--font-family);
4
+ --ui-font-size: var(--font-sm);
5
+ --ui-font-weight: var(--font-weight);
6
+ --ui-text-transform: var(--text-transform);
7
+ --ui-letter-spacing: var(--letter-spacing);
8
+ --ui-line-height: var(--line-height);
6
9
 
7
- --ui-placeholder-color: var(--muted);
8
- --ui-color: var(--primary);
9
- --ui-color-visited: var(--primary);
10
- --ui-letter-spacing: var(--letter-spacing);
11
- --ui-line-height: var(--line-height);
10
+ --ui-color: var(--primary);
11
+ --ui-placeholder-color: var(--muted);
12
+ --ui-color-visited: var(--primary);
12
13
 
13
- --ui-padding-y: var(--spacer-sm);
14
- --ui-padding-x: var(--spacer-sm);
14
+ --ui-padding-y: var(--spacer-sm);
15
+ --ui-padding-x: var(--spacer);
15
16
 
16
17
  }
17
18
 
@@ -6,7 +6,13 @@
6
6
  <MintGasPricePopover />
7
7
 
8
8
  <Connect v-if="! isConnected" />
9
- <NuxtLink v-else :to="{ name: 'profile-address', params: { address: address?.toLowerCase() } }">
9
+ <NuxtLink v-else
10
+ :to="{
11
+ name: 'profile-address',
12
+ params: { address: address?.toLowerCase() }
13
+ }"
14
+ class="account"
15
+ >
10
16
  <Account :address="address" />
11
17
  </NuxtLink>
12
18
  </ClientOnly>
@@ -71,6 +77,13 @@ header {
71
77
  display: block;
72
78
  }
73
79
  }
80
+
81
+ .account {
82
+ font-family: var(--ui-font-family);
83
+ font-size: var(--ui-font-size);
84
+ letter-spacing: var(--ui-letter-spacing);
85
+ text-transform: var(--ui-text-transform);
86
+ }
74
87
  }
75
88
  </style>
76
89
 
@@ -15,9 +15,15 @@ defineProps({
15
15
 
16
16
  <style>
17
17
  :root {
18
- --breadcrumb-nav-color: var(--muted);
18
+ --breadcrumb-nav-color: var(--muted);
19
19
  --breadcrumb-nav-active-color: var(--muted);
20
- --breadcrumb-separator-color: var(--muted);
20
+ --breadcrumb-separator-color: var(--muted);
21
+
22
+ --breadcrumb-font-family: var(--ui-font-family);
23
+ --breadcrumb-font-size: var(--ui-font-size);
24
+ --breadcrumb-font-font-weight: var(--ui-font-weight);
25
+ --breadcrumb-text-transform: var(--ui-text-transform);
26
+ --breadcrumb-letter-spacing: var(--ui-letter-spacing);
21
27
  }
22
28
  </style>
23
29
 
@@ -27,6 +33,11 @@ defineProps({
27
33
  align-items: center;
28
34
  justify-content: center;
29
35
  gap: var(--spacer-sm);
36
+ font-family: var(--breadcrumb-font-family);
37
+ font-weight: var(--breadcrumb-font-weight);
38
+ text-transform: var(--breadcrumb-text-transform);
39
+ font-size: var(--breadcrumb-font-size);
40
+ letter-spacing: var(--breadcrumb-letter-spacing);
30
41
 
31
42
  > span {
32
43
  white-space: nowrap;
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button :to="{ name: `id-create`, params: { id } }" class="small">
2
+ <Button :to="{ name: `id-create`, params: { id } }">
3
3
  <Icon type="add"/>
4
4
  <span>Collection</span>
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button :to="`https://app.ens.domains/${address}`" class="small">
2
+ <Button :to="`https://app.ens.domains/${address}`">
3
3
  <Icon type="edit" />
4
4
  <span>Edit Profile</span>
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button v-if="validateURI(profile.url)" :to="validateURI(profile.url)" class="small">
2
+ <Button v-if="validateURI(profile.url)" :to="validateURI(profile.url)">
3
3
  <Icon type="website" />
4
4
  {{ getMainDomain(profile.url) }}
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button v-if="profile.email" :to="`mailto:${profile.email}`" class="small">
2
+ <Button v-if="profile.email" :to="`mailto:${profile.email}`">
3
3
  <Icon type="email" />
4
4
  <span>{{ profile.email }}</span>
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button v-if="profile.github" :to="`https://github.com/${profile.github}`" class="small">
2
+ <Button v-if="profile.github" :to="`https://github.com/${profile.github}`">
3
3
  <Icon type="github" />
4
4
  <span>{{ profile.github }}</span>
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button v-if="profile.twitter" :to="`https://x.com/${profile.twitter}`" class="small">
2
+ <Button v-if="profile.twitter" :to="`https://x.com/${profile.twitter}`">
3
3
  <Icon type="twitter" />
4
4
  <span>{{ profile.twitter }}</span>
5
5
  </Button>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <Button v-if="validateURI(profile.url)" :to="validateURI(profile.url)" class="small">
2
+ <Button v-if="validateURI(profile.url)" :to="validateURI(profile.url)">
3
3
  <Icon type="website" />
4
4
  <span>{{ getMainDomain(profile.url) }}</span>
5
5
  </Button>
@@ -5,7 +5,7 @@
5
5
 
6
6
  <script setup>
7
7
  defineProps({
8
- to: [String,Object],
8
+ to: [String, Object],
9
9
  target: {
10
10
  type: String,
11
11
  default: '_self',
@@ -23,7 +23,7 @@ defineProps({
23
23
  display: inline-flex;
24
24
  justify-content: center;
25
25
  align-items: center;
26
- gap: var(--ui-padding-x);
26
+ gap: calc(var(--ui-padding-x) / 2);
27
27
  letter-spacing: var(--ui-letter-spacing);
28
28
  line-height: var(--ui-line-height);
29
29
 
@@ -55,13 +55,6 @@ defineProps({
55
55
  height: 100%;
56
56
  }
57
57
 
58
- &.small,
59
- &.small > * {
60
- font-size: var(--font-sm);
61
- min-height: 0;
62
- gap: calc(var(--ui-padding-x) / 2);
63
- }
64
-
65
58
  &.link {
66
59
  display: inline-flex;
67
60
  align-self: baseline;
@@ -30,7 +30,6 @@
30
30
  <Button
31
31
  :to="{ name: 'id-collection-mint', params: { id, collection: collection.address } }"
32
32
  id="mint-new"
33
- class="small"
34
33
  >
35
34
  <Icon type="add" />
36
35
  <span>Mint New</span>
@@ -19,7 +19,7 @@
19
19
  },
20
20
  }" skip-confirmation auto-close-success @complete="onComplete">
21
21
  <template #start="{ start }">
22
- <Button @click="start" class="small">
22
+ <Button @click="start">
23
23
  <Icon type="withdraw" />
24
24
  <span>Withdraw ({{ balance.value }} {{ balance.format }})</span>
25
25
  </Button>
@@ -34,8 +34,10 @@ const symbol = computed(() => ICONS[props.type])
34
34
  <style scoped>
35
35
  .icon {
36
36
  display: inline-flex;
37
- width: var(--size-4);
38
- height: var(--size-4);
37
+ width: 1em;
38
+ height: 1em;
39
39
  align-items: center;
40
+ justify-content: center;
41
+ text-align: center;
40
42
  }
41
43
  </style>
@@ -12,7 +12,7 @@
12
12
 
13
13
  <form @submit.stop.prevent="mint" class="card">
14
14
  <Actions>
15
- <select class="select small choose-mode" v-model="mode">
15
+ <select class="select choose-mode" v-model="mode">
16
16
  <option value="file" title="Data URI Encoded File Upload">DATA-URI</option>
17
17
  <option value="ipfs" title="Interplanetary File System">IPFS</option>
18
18
  <option value="http" title="Hypertext Transfer Protocol" disabled>HTTP</option>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualizevalue/mint-app-base",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "main": "./nuxt.config.ts",
6
6
  "dependencies": {