@eqtylab/equality 6.0.0-next.0 → 6.0.0-next.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.
@@ -87,15 +87,17 @@
87
87
  text-overflow: ellipsis;
88
88
  white-space: nowrap;
89
89
  padding-inline: calc(0.25rem * 2);
90
- padding-block: calc((var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2);
91
90
  font-size: 0.875rem;
92
91
  line-height: var(--tw-leading, calc(1.25 / 0.875));
93
92
  --tw-font-weight: 600;
94
93
  font-weight: 600;
95
94
  color: var(--color-text-primary, color(display-p3 0 0 0));
96
- padding-top: calc(
97
- calc(0.25rem * 4) + (var(--eq-control-md-height) - var(--eq-control-md-line-height)) / 2
95
+ --nav-title-padding: calc(
96
+ (max(var(--eq-control-md-height), var(--eq-touch-target)) - var(--eq-control-md-line-height)) /
97
+ 2
98
98
  );
99
+ padding-top: calc(calc(0.25rem * 4) + var(--nav-title-padding));
100
+ padding-bottom: var(--nav-title-padding);
99
101
  background-color: inherit;
100
102
  }
101
103
  .nav-panel-header:has(> .nav-switcher-heading) {
@@ -239,7 +241,7 @@
239
241
  background: var(--color-background-overlay);
240
242
  }
241
243
  .nav-switcher-list:has(.nav-switcher-footer) {
242
- scroll-padding-bottom: 2.5rem;
244
+ scroll-padding-bottom: calc(var(--eq-control-md-height) + calc(0.25rem * 3));
243
245
  }
244
246
  .nav-switcher-list .nav-switcher-action,
245
247
  .nav-switcher-list .nav-switcher-retry {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/eqtylab/equality.git",
8
8
  "directory": "packages/ui"
9
9
  },
10
- "version": "6.0.0-next.0",
10
+ "version": "6.0.0-next.1",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",