@7365admin1/layer-common 3.2.2-staging.178 → 3.2.2-staging.180
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.
|
@@ -15,10 +15,14 @@
|
|
|
15
15
|
:to="props.route"
|
|
16
16
|
class="switch-context__activator"
|
|
17
17
|
>
|
|
18
|
-
<!-- The design prints the organisation and site names in full
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
<!-- The design prints the organisation and site names in full, but
|
|
19
|
+
mid-word line breaks ("Manageme-nt", "Condominiu-m") are not
|
|
20
|
+
acceptable. Wrap at word boundaries onto up to two lines, then
|
|
21
|
+
ellipsis; the title attribute keeps the full name on hover. -->
|
|
22
|
+
<v-list-item-title
|
|
23
|
+
class="switch-context__name"
|
|
24
|
+
:title="name || `Select ${prop.title}`"
|
|
25
|
+
>
|
|
22
26
|
{{ name || `Select ${prop.title}` }}
|
|
23
27
|
</v-list-item-title>
|
|
24
28
|
</v-list-item>
|
|
@@ -250,12 +254,18 @@ const selectItem = (value: string) => {
|
|
|
250
254
|
background: var(--hover);
|
|
251
255
|
}
|
|
252
256
|
|
|
253
|
-
/* Wrap
|
|
254
|
-
|
|
257
|
+
/* Wrap the full organisation/site name at word boundaries onto up to two
|
|
258
|
+
lines, then ellipsis - never break mid-word. Full name is on the title
|
|
259
|
+
attribute for hover. */
|
|
255
260
|
.switch-context__name {
|
|
261
|
+
display: -webkit-box;
|
|
262
|
+
line-clamp: 2;
|
|
263
|
+
-webkit-line-clamp: 2;
|
|
264
|
+
-webkit-box-orient: vertical;
|
|
265
|
+
overflow: hidden;
|
|
256
266
|
white-space: normal;
|
|
257
|
-
overflow:
|
|
258
|
-
|
|
267
|
+
overflow-wrap: normal;
|
|
268
|
+
word-break: normal;
|
|
259
269
|
line-height: 1.25;
|
|
260
270
|
}
|
|
261
271
|
</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.
|
|
5
|
+
"version": "3.2.2-staging.180",
|
|
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.",
|