@webority/theme 0.9.18 → 0.9.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.9.18",
3
+ "version": "0.9.19",
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": {
@@ -1075,6 +1075,18 @@ wui-select[compact] {
1075
1075
  border: none;
1076
1076
  border-radius: 0;
1077
1077
  background: transparent;
1078
+ // The wrapper owns the 1px border, so the input must shed those 2px. The input
1079
+ // is a border-box control-height box (44px at md); nesting it in a 1px-bordered
1080
+ // wrapper stacks the wrapper's 2px on top, so a 44px field renders at 46px with a
1081
+ // unit. Subtracting the border here keeps input + wrapper border == the control
1082
+ // height at every size.
1083
+ height: calc(var(--wui-control-height) - 2px);
1084
+ }
1085
+ .input-with-unit .num-input.input-sm {
1086
+ height: calc(var(--wui-control-height-sm) - 2px);
1087
+ }
1088
+ .input-with-unit .num-input.input-lg {
1089
+ height: calc(var(--wui-control-height-lg) - 2px);
1078
1090
  }
1079
1091
  .input-with-unit .num-input:focus {
1080
1092
  box-shadow: none;
@@ -1086,6 +1098,10 @@ wui-select[compact] {
1086
1098
  border-left: 1px solid var(--color-border);
1087
1099
  padding: 9px 14px;
1088
1100
  font-size: 14px;
1101
+ // Tight line box so the pill's intrinsic height never exceeds the (now shortened)
1102
+ // input and drives the wrapper taller at the small size; it is vertically centred
1103
+ // by align-items, so this only removes slack, it does not shift the glyph.
1104
+ line-height: 1;
1089
1105
  font-weight: 500;
1090
1106
  color: var(--color-text-muted);
1091
1107
  font-family: var(--font-sans);
@@ -24,11 +24,10 @@
24
24
  }
25
25
  .faq-item {
26
26
  border: 1px solid var(--color-border);
27
- border-radius: var(--radius-lg);
28
- corner-shape: squircle;
29
27
  background: var(--color-surface);
30
28
  overflow: hidden;
31
29
  transition: border-color 0.15s ease;
30
+ border-radius: var(--wui-field-radius);
32
31
  }
33
32
  .faq-item:hover:not(.open) {
34
33
  border-color: var(--color-border-strong);
@@ -706,6 +706,13 @@ button.step:focus-visible .step-circle {
706
706
  line-height: 1.4;
707
707
  color: var(--color-text-muted);
708
708
  }
709
+ // When the row's fields carry their own labels, those labels supply the vertical separation
710
+ // from the remove control. A removable row whose fields have NO labels has only the thin empty
711
+ // band, so the inputs read as crowding the remove disc. Grow the band to the disc's height when
712
+ // no field label is present, restoring the clearance a label would have given.
713
+ .repeater-row:not(:has(.repeater-body :is(.label, label))) .repeater-row-label {
714
+ min-height: 36px;
715
+ }
709
716
  .repeater-index {
710
717
  flex: none;
711
718
  width: 22px;