@webority/theme 0.83.6 → 0.85.0

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.83.6",
3
+ "version": "0.85.0",
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": {
@@ -56,6 +56,6 @@
56
56
  "vite": "^8.0.12"
57
57
  },
58
58
  "scripts": {
59
- "build": "sass index.scss dist/webority-theme.css --load-path=node_modules --style=compressed --no-source-map --quiet-deps --silence-deprecation=if-function && sass scss/_flags.scss dist/webority-flags.css --style=compressed --no-source-map --quiet && sass scss/_brand-signal.scss dist/webority-brand-signal.css --style=compressed --no-source-map --quiet && sass scss/_runtime-brand.scss dist/webority-runtime-brand.css --style=compressed --no-source-map --quiet && node ../../scripts/force-state-selectors.mjs dist/webority-theme.css dist/webority-brand-signal.css && node ../../scripts/gen-purge-safelist.mjs && node ../../scripts/sync-rcl-assets.mjs theme && vite build --config vite.cli.config.js"
59
+ "build": "sass index.scss dist/webority-theme.css --load-path=node_modules --style=compressed --no-source-map --quiet-deps --silence-deprecation=if-function && sass scss/_flags.scss dist/webority-flags.css --style=compressed --no-source-map --quiet && sass scss/_brand-signal.scss dist/webority-brand-signal.css --style=compressed --no-source-map --quiet && sass scss/_runtime-brand.scss dist/webority-runtime-brand.css --style=compressed --no-source-map --quiet && node ../../scripts/force-state-selectors.mjs dist/webority-theme.css dist/webority-brand-signal.css && node ../../scripts/gen-purge-safelist.mjs && node ../../scripts/sync-rcl-assets.mjs theme && vite build --config vite.cli.config.js && node scripts/exportCanvasTheme.mjs"
60
60
  }
61
61
  }
@@ -380,9 +380,8 @@
380
380
  display: flex;
381
381
  align-items: center;
382
382
  gap: 12px;
383
- // It is the same control height buttons
384
- // and inputs use — the nav reads as part of the same system.
385
- min-height: var(--wui-control-height);
383
+ // Comfortable row: 44px, which with the 2px group gap is a 46px pitch. Compact sets its own below.
384
+ min-height: var(--wui-control-height-lg);
386
385
  padding: 9px 14px;
387
386
  border-radius: var(--radius-xl);
388
387
  corner-shape: squircle;
@@ -396,6 +395,15 @@
396
395
  padding 0.2s var(--wui-ease-ui),
397
396
  gap 0.2s var(--wui-ease-ui);
398
397
  }
398
+ // Compact: 40px rows, a 42px pitch. The touch floor holds on a coarse pointer whatever the density.
399
+ .app-shell[data-density="compact"] .app-nav-item:not(.app-nav-subitem) {
400
+ min-height: 40px;
401
+ }
402
+ @media (pointer: coarse) {
403
+ .app-shell[data-density="compact"] .app-nav-item:not(.app-nav-subitem) {
404
+ min-height: var(--wui-control-height-lg);
405
+ }
406
+ }
399
407
  .app-nav-item:hover {
400
408
  background: var(--color-bg-muted);
401
409
  color: var(--color-text);