@webority/theme 0.61.2 → 0.63.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.61.2",
3
+ "version": "0.63.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": {
@@ -439,6 +439,9 @@
439
439
  --bs-dropdown-link-hover-bg: var(--color-primary-soft);
440
440
  --bs-dropdown-link-active-color: var(--color-primary-hover);
441
441
  --bs-dropdown-link-active-bg: var(--color-primary-soft);
442
+ --bs-dropdown-header-color: var(--color-text-muted);
443
+ --bs-dropdown-header-padding-x: 0.625rem;
444
+ --bs-dropdown-header-padding-y: 0.25rem;
442
445
  box-shadow: var(--wui-shadow-overlay);
443
446
  // A long menu (account / workspace lists) must never spill past the screen and clip its
444
447
  // last rows: cap the panel to the viewport and scroll INSIDE it. The room subtracted
@@ -510,6 +513,16 @@
510
513
  }
511
514
  }
512
515
 
516
+ // Group heading: an AppDropdown item `header` or <app-dropdown-header>.
517
+ .dropdown-menu .dropdown-header {
518
+ font-size: 12px;
519
+ font-weight: 600;
520
+ line-height: 1.4;
521
+ }
522
+ .dropdown-menu .dropdown-header:not(:first-child) {
523
+ margin-top: 0.25rem;
524
+ }
525
+
513
526
  // ---- Ghost button: the tertiary action --------------------------------
514
527
  // Brand-coloured, underlined text with no box in any state. It has no visible container,
515
528
  // so nothing may draw one: no hover fill, no sheen sweep, no lift or press nudge, and no
@@ -1,8 +1,9 @@
1
1
  // ── Cookie consent banner ──
2
2
  // AppConsentBanner / <app-consent-banner> / <wui-consent-banner>: a card pinned to a bottom
3
- // corner asking for cookie consent, with per-category switches behind "Cookie settings". The
4
- // element authors the markup and owns the states (`open` on the host, `hidden` on the panel,
5
- // the settings block and the save button); everything visual lives here.
3
+ // corner (a full-width bar along the bottom edge on phones) asking for cookie consent, with
4
+ // per-category switches behind "Cookie settings". The element authors the markup and owns the
5
+ // states (`open` on the host, `hidden` on the panel, the settings block and the save button);
6
+ // everything visual lives here.
6
7
  //
7
8
  // Part of the wui-components layer: see _wui-components.scss for load order.
8
9
 
@@ -115,14 +116,39 @@ wui-consent-banner[tour-open] {
115
116
  flex: 1 1 100%;
116
117
  }
117
118
 
118
- @media (max-width: 480px) {
119
+ @media (max-width: 575.98px) {
119
120
  wui-consent-banner,
120
121
  wui-consent-banner[position="bottom-left"],
121
122
  wui-consent-banner[position="bottom-right"] {
122
- left: 12px;
123
- right: 12px;
124
- bottom: 12px;
123
+ left: 0;
124
+ right: 0;
125
+ bottom: 0;
125
126
  width: auto;
126
127
  max-width: none;
127
128
  }
129
+ .wui-consent-banner-panel {
130
+ padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
131
+ border-width: 1px 0 0;
132
+ border-radius: 0;
133
+ }
134
+ // Hidden on phones, but it stays the dialog's accessible name.
135
+ .wui-consent-banner-heading {
136
+ position: absolute;
137
+ width: 1px;
138
+ height: 1px;
139
+ margin: -1px;
140
+ padding: 0;
141
+ overflow: hidden;
142
+ clip: rect(0, 0, 0, 0);
143
+ white-space: nowrap;
144
+ border: 0;
145
+ }
146
+ .wui-consent-banner-description {
147
+ margin: 0 0 8px;
148
+ font-size: 13px;
149
+ line-height: 1.4;
150
+ }
151
+ .wui-consent-banner-actions {
152
+ gap: 6px;
153
+ }
128
154
  }