@webority/theme 0.6.12 → 0.6.13
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/dist/webority-theme.css +1 -1
- package/package.json +1 -1
- package/scss/wui/_choice.scss +14 -2
- package/scss/wui/_display.scss +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/theme",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.13",
|
|
4
4
|
"description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
package/scss/wui/_choice.scss
CHANGED
|
@@ -882,6 +882,10 @@ button.datepicker-month:hover {
|
|
|
882
882
|
border-radius: var(--radius);
|
|
883
883
|
corner-shape: squircle;
|
|
884
884
|
background: var(--color-surface);
|
|
885
|
+
// Clip the inner control to the shell's rounded shape — a full-height child was painting
|
|
886
|
+
// over the squircle border at the bottom, which read as a cut-off bottom edge. The dial
|
|
887
|
+
// dropdown is position:fixed, so it is unaffected by this.
|
|
888
|
+
overflow: hidden;
|
|
885
889
|
transition:
|
|
886
890
|
border-color 0.12s,
|
|
887
891
|
background-color 0.12s;
|
|
@@ -890,9 +894,10 @@ button.datepicker-month:hover {
|
|
|
890
894
|
background: var(--color-bg-muted);
|
|
891
895
|
border-color: var(--color-border-strong);
|
|
892
896
|
}
|
|
897
|
+
// Match AppInput's focus: a soft primary border, not a full-strength one.
|
|
893
898
|
.app-phone-number-input .phone-input-wrap:focus-within {
|
|
894
899
|
background: var(--color-bg-muted);
|
|
895
|
-
border-color: var(--color-primary);
|
|
900
|
+
border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
|
|
896
901
|
}
|
|
897
902
|
.app-phone-number-input .phone-input-wrap:has(> .input:disabled) {
|
|
898
903
|
background: var(--color-bg-muted);
|
|
@@ -1033,9 +1038,10 @@ button.datepicker-month:hover {
|
|
|
1033
1038
|
border-color: var(--color-border-strong);
|
|
1034
1039
|
}
|
|
1035
1040
|
// Border is the focus cue everywhere else in the system — no glow ring here.
|
|
1041
|
+
// Soft primary, matching AppInput / the phone field shell rather than a full-strength border.
|
|
1036
1042
|
.dropdown-search-input:focus {
|
|
1037
1043
|
background: var(--color-bg-muted);
|
|
1038
|
-
border-color: var(--color-primary);
|
|
1044
|
+
border-color: color-mix(in srgb, var(--color-primary) 30%, transparent);
|
|
1039
1045
|
}
|
|
1040
1046
|
.country-list-scroll {
|
|
1041
1047
|
max-height: 250px;
|
|
@@ -1073,6 +1079,12 @@ button.datepicker-month:hover {
|
|
|
1073
1079
|
background 0.12s ease,
|
|
1074
1080
|
color 0.12s ease;
|
|
1075
1081
|
}
|
|
1082
|
+
// The search hides non-matches with the `hidden` attribute. `display: flex !important` above
|
|
1083
|
+
// beats the UA `[hidden] { display: none }`, so filtered-out countries stayed visible — the
|
|
1084
|
+
// search looked broken. Restore the hide with matching precedence.
|
|
1085
|
+
.country-dropdown-item[hidden] {
|
|
1086
|
+
display: none !important;
|
|
1087
|
+
}
|
|
1076
1088
|
.country-dropdown-item:hover,
|
|
1077
1089
|
.country-dropdown-item:focus {
|
|
1078
1090
|
background: var(--color-primary-soft) !important;
|
package/scss/wui/_display.scss
CHANGED
|
@@ -338,6 +338,17 @@ a.info-row:hover .info-value {
|
|
|
338
338
|
font-family: var(--bs-font-monospace);
|
|
339
339
|
text-transform: uppercase;
|
|
340
340
|
}
|
|
341
|
+
// Size steps mirror AppInput's .input-sm / .input-lg (which the hex box also carries).
|
|
342
|
+
// The swatch tracks the control height per size, less the 4px inset the md swatch already
|
|
343
|
+
// keeps against the 44px field, so the chip stays visually inset at every size.
|
|
344
|
+
.color-field-sm .color-field-swatch {
|
|
345
|
+
width: calc(var(--wui-control-height-sm) - 4px);
|
|
346
|
+
height: calc(var(--wui-control-height-sm) - 4px);
|
|
347
|
+
}
|
|
348
|
+
.color-field-lg .color-field-swatch {
|
|
349
|
+
width: calc(var(--wui-control-height-lg) - 4px);
|
|
350
|
+
height: calc(var(--wui-control-height-lg) - 4px);
|
|
351
|
+
}
|
|
341
352
|
|
|
342
353
|
// ============================================================================
|
|
343
354
|
// Timeline / activity feed. The rail is drawn on the LIST, not per item, so it
|