@7365admin1/layer-common 3.2.2-staging.170 → 3.2.2-staging.171
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.
- package/assets/css/primitives.css +20 -0
- package/assets/css/screens.css +16 -1
- package/package.json +1 -1
|
@@ -599,6 +599,26 @@ select.app-field__input {
|
|
|
599
599
|
opacity: 0.55;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
+
/*
|
|
603
|
+
* The SAME step for the typed field, which never had one. `AppField` and
|
|
604
|
+
* `AppDateField` both take a `disabled` prop and pass it to the native
|
|
605
|
+
* `<input>` - and `AppField`'s prop doc says disabled "also greys the box" -
|
|
606
|
+
* but `.app-field` pins `background: var(--card)` and `.app-field__input` pins
|
|
607
|
+
* `color: var(--text)`, which overrides the greying a browser gives a disabled
|
|
608
|
+
* input for free. Measured 2026-08-16 on `AccessManagement`: enabled and
|
|
609
|
+
* disabled came back identical on background, colour, border, opacity and
|
|
610
|
+
* filter, on BOTH themes. The field was genuinely dead and read as live.
|
|
611
|
+
*
|
|
612
|
+
* Keyed off the input's own `:disabled` rather than a new modifier class, so
|
|
613
|
+
* it covers `AppField`, `AppDateField` and the native path of `AppSelect`
|
|
614
|
+
* without three templates having to remember to add it. 0.55 is
|
|
615
|
+
* `.app-select--disabled`'s number, not a second one.
|
|
616
|
+
*/
|
|
617
|
+
.app-field:has(.app-field__input:disabled) {
|
|
618
|
+
cursor: default;
|
|
619
|
+
opacity: 0.55;
|
|
620
|
+
}
|
|
621
|
+
|
|
602
622
|
.app-select__values {
|
|
603
623
|
display: flex;
|
|
604
624
|
align-items: center;
|
package/assets/css/screens.css
CHANGED
|
@@ -434,11 +434,26 @@
|
|
|
434
434
|
* plain `<button>` carries, `.v-btn--disabled` is what Vuetify adds, and a
|
|
435
435
|
* rule that matched only one of them would go quiet the moment the other path
|
|
436
436
|
* was used.
|
|
437
|
+
*
|
|
438
|
+
* `.screen-icon-btn` was MISSED when this rule was written, and it has exactly
|
|
439
|
+
* the same shape: `.v-btn.screen-icon-btn` is (0,2,0) and sets `background:
|
|
440
|
+
* var(--card)` and `color: var(--text2)`, so it out-specifies Vuetify the same
|
|
441
|
+
* way. Measured 2026-08-16 on `AreaMain`: enabled and disabled came back
|
|
442
|
+
* identical on background, colour, border, opacity and filter, on BOTH themes.
|
|
443
|
+
* Its `:disabled` call sites are the promo-code tier rows in the admin app,
|
|
444
|
+
* where the last remaining tier's delete button is gated off and looked live.
|
|
445
|
+
*
|
|
446
|
+
* `.screen-modal__close` and `.screen-modal` were checked at the same time and
|
|
447
|
+
* are NOT affected - both already read as distinct when disabled, because the
|
|
448
|
+
* close button's background is `transparent` and a disabled `v-card` dims its
|
|
449
|
+
* children rather than itself. Neither is listed here.
|
|
437
450
|
*/
|
|
438
451
|
.v-btn.screen-btn-primary:disabled,
|
|
439
452
|
.v-btn.screen-btn-primary.v-btn--disabled,
|
|
440
453
|
.v-btn.screen-btn-ghost:disabled,
|
|
441
|
-
.v-btn.screen-btn-ghost.v-btn--disabled
|
|
454
|
+
.v-btn.screen-btn-ghost.v-btn--disabled,
|
|
455
|
+
.v-btn.screen-icon-btn:disabled,
|
|
456
|
+
.v-btn.screen-icon-btn.v-btn--disabled {
|
|
442
457
|
opacity: 0.5;
|
|
443
458
|
}
|
|
444
459
|
|
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.171",
|
|
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.",
|