@alacris/ui 0.1.0 → 0.1.1

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": "@alacris/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Themeable design system for Alacris — Material defaults, sixty-eight custom elements, ESM-only, no build step.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -115,8 +115,10 @@ const styles = css`
115
115
  position: relative;
116
116
  display: grid;
117
117
  place-items: center;
118
- inline-size: 48px;
119
- block-size: 48px;
118
+ /* Cap at 48px for the 56px bar; shrink with --ui-search-height so a
119
+ compact field in an app bar can match the 40px icon buttons. */
120
+ inline-size: min(48px, ${t.height});
121
+ block-size: min(48px, ${t.height});
120
122
  }
121
123
  .leads > * { grid-area: 1 / 1; }
122
124
  .lead-slot {