@7365admin1/layer-common 3.2.2-staging.166 → 3.2.2-staging.167

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.
@@ -2,7 +2,7 @@
2
2
  <v-card width="100%">
3
3
  <v-toolbar class="screen-dialog-bar">
4
4
  <v-row no-gutters class="fill-height px-6" align="center">
5
- <span class="font-weight-bold text-h5 text-capitalize">
5
+ <span class="screen-card-title text-capitalize">
6
6
  {{ title }}
7
7
  </span>
8
8
  </v-row>
@@ -15,7 +15,7 @@
15
15
  <v-form ref="formRef" v-model="valid" @submit.prevent="submit">
16
16
  <v-row no-gutters>
17
17
  <v-col cols="12" class="mb-4">
18
- <label class="text-subtitle-2 font-weight-medium mb-2">
18
+ <label class="nfc-tag__label mb-2">
19
19
  Name <span class="text-error">*</span>
20
20
  </label>
21
21
  <v-text-field
@@ -29,7 +29,7 @@
29
29
  </v-col>
30
30
 
31
31
  <v-col cols="12" class="mb-4">
32
- <label class="text-subtitle-2 font-weight-medium mb-2">
32
+ <label class="nfc-tag__label mb-2">
33
33
  Tag ID <span class="text-error">*</span>
34
34
  </label>
35
35
  <v-text-field
@@ -238,3 +238,13 @@ async function submit() {
238
238
  }
239
239
  }
240
240
  </script>
241
+
242
+ <style scoped>
243
+ /* Was `text-subtitle-2`, Vuetify's 14px. The required asterisk beside it
244
+ keeps `text-error`; only the label's size and ink move. */
245
+ .nfc-tag__label {
246
+ font-size: var(--fs-cell);
247
+ font-weight: 500;
248
+ color: var(--text);
249
+ }
250
+ </style>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="mt-6">
3
- <div class="text-h6 font-weight-bold mb-4">
3
+ <div class="screen-card-title mb-4">
4
4
  {{ title }}
5
5
  </div>
6
6
 
@@ -74,11 +74,11 @@
74
74
  <v-list>
75
75
  <v-list-item @click="openActionDialog(item, 'approved')">
76
76
  <v-list-item-title>
77
- <v-icon class="text-success mr-2 text-subtitle-1">mdi-check</v-icon>Approve</v-list-item-title>
77
+ <v-icon class="text-success mr-2" size="16">mdi-check</v-icon>Approve</v-list-item-title>
78
78
  </v-list-item>
79
79
  <v-list-item @click="openActionDialog(item, 'rejected')">
80
80
  <v-list-item-title>
81
- <v-icon class="text-error mr-2 text-subtitle-1">mdi-close</v-icon>Reject</v-list-item-title>
81
+ <v-icon class="text-error mr-2" size="16">mdi-close</v-icon>Reject</v-list-item-title>
82
82
  </v-list-item>
83
83
  </v-list>
84
84
  </v-menu>
@@ -107,7 +107,7 @@
107
107
 
108
108
  <v-dialog v-model="actionDialog.open" max-width="520" persistent>
109
109
  <v-card>
110
- <v-card-title class="text-subtitle-1 font-weight-bold pt-4 px-4">
110
+ <v-card-title class="screen-card-title pt-4 px-4">
111
111
  {{ actionDialog.action === 'approved' ? 'Approve Request' : 'Reject Request' }}
112
112
  </v-card-title>
113
113
  <v-card-text class="px-4 pb-2">
@@ -14,7 +14,7 @@
14
14
  :length="pages"
15
15
  >
16
16
  <template #title>
17
- <span class="text-h6 font-weight-regular">Work Order</span>
17
+ <span class="screen-card-title">Work Order</span>
18
18
  </template>
19
19
  <template #action-button>
20
20
  <v-btn
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.2.2-staging.166",
5
+ "version": "3.2.2-staging.167",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",