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

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.
@@ -1,20 +1,20 @@
1
1
  <template>
2
- <v-card width="100%" :loading="processing">
3
- <v-toolbar>
2
+ <v-card width="100%" class="screen-modal" :loading="processing">
3
+ <v-toolbar class="screen-dialog-bar" flat>
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
  {{ prop.mode }} {{ prop.type }}
7
7
  </span>
8
8
  </v-row>
9
9
  </v-toolbar>
10
10
  <v-card-text style="max-height: 100vh; overflow-y: auto" class="pa-5 my-3">
11
11
  <div class="w-100 d-flex justify-space-between ga-2">
12
- <span v class="text-subtitle-1 w-100 font-weight-bold mb-3">
12
+ <span v class="people-form__section w-100 mb-3">
13
13
  <span v-if="step === 1">General Information</span>
14
14
  <span v-else-if="step === 2">Pass Information</span>
15
15
  </span>
16
- <span class="text-subtitle-2 font-weight-bold" style="text-wrap: nowrap;">Step
17
- <span class="text-primary-button">{{ step }}</span>/2</span>
16
+ <span class="people-form__step" style="text-wrap: nowrap;">Step
17
+ <span class="people-form__stepno">{{ step }}</span>/2</span>
18
18
  </div>
19
19
  <v-form ref="formRef" v-model="validForm" :disabled="processing" @click="errorMessage = ''">
20
20
  <v-row no-gutters class="pt-4">
@@ -93,7 +93,7 @@
93
93
  <v-col v-if="prop.mode === 'add'" cols="12" class="mt-2">
94
94
  <v-checkbox v-model="createMore" density="comfortable" hide-details>
95
95
  <template #label>
96
- <span class="text-subtitle-2 font-weight-bold">
96
+ <span class="people-form__step">
97
97
  Create more
98
98
  </span>
99
99
  </template>
@@ -106,20 +106,14 @@
106
106
  </v-card-text>
107
107
 
108
108
  <v-row no-gutters class="w-100" v-if="errorMessage">
109
- <p class="text-error w-100 text-center text-subtitle-2">{{ errorMessage }}</p>
109
+ <p class="text-error w-100 text-center people-form__error">{{ errorMessage }}</p>
110
110
  </v-row>
111
- <v-toolbar density="compact">
112
- <v-row no-gutters>
113
- <v-col cols="6">
114
- <v-btn v-if="step > 1" tile block variant="text" class="text-none" size="48" @click="back" text="Back" />
115
- <v-btn v-else tile block variant="text" class="text-none" size="48" @click="close" text="Close" />
116
- </v-col>
117
- <v-col cols="6">
118
- <v-btn tile block variant="flat" color="primary-button" class="text-none" size="48" :disabled="processing"
119
- @click="handleNextPage" :text="step === 2 ? 'Submit' : 'Next'" />
120
- </v-col>
121
- </v-row>
122
- </v-toolbar>
111
+ <div class="screen-modal__footer">
112
+ <v-btn v-if="step > 1" variant="outlined" class="screen-btn-ghost" @click="back" text="Back" />
113
+ <v-btn v-else variant="outlined" class="screen-btn-ghost" @click="close" text="Close" />
114
+ <v-btn variant="flat" class="screen-btn-primary" :disabled="processing"
115
+ @click="handleNextPage" :text="step === 2 ? 'Submit' : 'Next'" />
116
+ </div>
123
117
  </v-card>
124
118
  </template>
125
119
 
@@ -449,4 +443,31 @@ onMounted(() => {
449
443
  .button-outline-class {
450
444
  border: 1px solid rgba(var(--v-theme-primary));
451
445
  }
446
+
447
+ /* Was `text-subtitle-1` / `text-subtitle-2` - Vuetify's 16px/14px scale, which
448
+ drew the section label LARGER than the card title above it. The step counter
449
+ step number is handled below and the error line keeps `text-error`;
450
+ only their sizes move. */
451
+ .people-form__section {
452
+ font-size: var(--fs-card-title);
453
+ font-weight: 700;
454
+ color: var(--text);
455
+ }
456
+
457
+ .people-form__step {
458
+ font-size: var(--fs-cell);
459
+ font-weight: 700;
460
+ color: var(--text2);
461
+ }
462
+
463
+ .people-form__error {
464
+ font-size: var(--fs-cell);
465
+ }
466
+
467
+ /* The step number was `text-primary-button` - the design's FILL token used as
468
+ ink. On dark that is rgb(75,116,196) on rgb(28,30,36): 3.64:1 against a 4.5
469
+ floor. `--accent-text` is the foreground half of the same pair. */
470
+ .people-form__stepno {
471
+ color: var(--accent-text);
472
+ }
452
473
  </style>
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.164",
5
+ "version": "3.2.2-staging.166",
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.",