@webority/theme 0.77.0 → 0.77.2
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/dist/purge-safelist.json +4 -0
- package/dist/webority-theme.css +1 -1
- package/package.json +1 -1
- package/scss/wui/_calendar.scss +22 -0
- package/scss/wui/_data.scss +37 -0
- package/scss/wui/_media.scss +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/theme",
|
|
3
|
-
"version": "0.77.
|
|
3
|
+
"version": "0.77.2",
|
|
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": {
|
package/scss/wui/_calendar.scss
CHANGED
|
@@ -240,6 +240,28 @@ wui-calendar[data-view="week"] .wui-calendar-surface > * {
|
|
|
240
240
|
--fc-event-text-color: var(--color-info-text-on-soft);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
// A month chip keeps the time on its first line and the title under it on up to two lines, so a
|
|
244
|
+
// title reads in a narrow cell; the full text is the chip tooltip and the day's "+N more" list.
|
|
245
|
+
wui-calendar[data-view="month"] .wui-calendar-chip {
|
|
246
|
+
flex-wrap: wrap;
|
|
247
|
+
align-items: center;
|
|
248
|
+
white-space: normal;
|
|
249
|
+
}
|
|
250
|
+
wui-calendar[data-view="month"] .wui-calendar-chip-time {
|
|
251
|
+
flex: none;
|
|
252
|
+
}
|
|
253
|
+
wui-calendar[data-view="month"] .wui-calendar-chip-title {
|
|
254
|
+
flex: 1 1 100%;
|
|
255
|
+
min-width: 0;
|
|
256
|
+
display: -webkit-box;
|
|
257
|
+
-webkit-box-orient: vertical;
|
|
258
|
+
-webkit-line-clamp: 2;
|
|
259
|
+
line-clamp: 2;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
overflow-wrap: anywhere;
|
|
262
|
+
white-space: normal;
|
|
263
|
+
}
|
|
264
|
+
|
|
243
265
|
// What a page with no script shows until the element's script replaces it.
|
|
244
266
|
.wui-calendar-fallback {
|
|
245
267
|
margin: 0;
|
package/scss/wui/_data.scss
CHANGED
|
@@ -485,6 +485,13 @@
|
|
|
485
485
|
overflow-x: auto;
|
|
486
486
|
scrollbar-width: none;
|
|
487
487
|
}
|
|
488
|
+
// A non-visible overflow-x makes overflow-y compute to auto, which clips the Filters panel to the bar.
|
|
489
|
+
// The phone sheet is position: fixed and escapes the clip, so the phone keeps overflow-x.
|
|
490
|
+
@media (min-width: 576px) {
|
|
491
|
+
.wui-table-toolbar-filters {
|
|
492
|
+
overflow: visible;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
488
495
|
// The search box is full-width on its own; in a toolbar it is one control among several.
|
|
489
496
|
.wui-table-toolbar .search-wrap {
|
|
490
497
|
width: min(320px, 100%);
|
|
@@ -546,6 +553,18 @@
|
|
|
546
553
|
.wui-filter-form > .wui-filter-bar {
|
|
547
554
|
display: contents !important;
|
|
548
555
|
}
|
|
556
|
+
.wui-table-toolbar-filters > .wui-filter-bar,
|
|
557
|
+
.wui-table-toolbar-filters > .wui-filter-form {
|
|
558
|
+
flex: 1 1 auto;
|
|
559
|
+
min-width: 0;
|
|
560
|
+
}
|
|
561
|
+
// An inline facet's control already shows its value, so its chip repeats it. On a phone the inline
|
|
562
|
+
// facets fold into the sheet and the chips are then the only visible values, so the hide is desktop only.
|
|
563
|
+
@media (min-width: 576px) {
|
|
564
|
+
.wui-filter-bar .wui-filter-chip-inline {
|
|
565
|
+
display: none;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
549
568
|
// On a phone each facet takes its own line; segments and buttons keep their width.
|
|
550
569
|
@media (max-width: 575.98px) {
|
|
551
570
|
.wui-filter-bar > .field,
|
|
@@ -778,6 +797,24 @@
|
|
|
778
797
|
font-size: 13px;
|
|
779
798
|
user-select: none;
|
|
780
799
|
}
|
|
800
|
+
// A finger needs a 44px target: the pager's controls grow to the control height on a phone.
|
|
801
|
+
@media (max-width: 575.98px) {
|
|
802
|
+
.select.tpg-select {
|
|
803
|
+
height: var(--wui-control-height);
|
|
804
|
+
min-height: var(--wui-control-height);
|
|
805
|
+
}
|
|
806
|
+
.tpg-arrow {
|
|
807
|
+
width: var(--wui-control-height);
|
|
808
|
+
height: var(--wui-control-height);
|
|
809
|
+
}
|
|
810
|
+
.tpg-page {
|
|
811
|
+
min-width: var(--wui-control-height);
|
|
812
|
+
height: var(--wui-control-height);
|
|
813
|
+
}
|
|
814
|
+
.tpg-ellipsis {
|
|
815
|
+
height: var(--wui-control-height);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
781
818
|
|
|
782
819
|
// ── Standalone pagination (AppPagination) ──
|
|
783
820
|
// Bootstrap's .pagination is already styled; these rules refine it for the common case
|
package/scss/wui/_media.scss
CHANGED
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
background: var(--color-scrim-strong);
|
|
432
432
|
backdrop-filter: blur(10px);
|
|
433
433
|
-webkit-backdrop-filter: blur(10px);
|
|
434
|
-
color:
|
|
434
|
+
color: var(--color-on-scrim);
|
|
435
435
|
border-radius: 999px;
|
|
436
436
|
cursor: pointer;
|
|
437
437
|
transition: background 0.2s;
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
border: 2px solid transparent;
|
|
851
851
|
border-radius: 50%;
|
|
852
852
|
background: var(--color-scrim-strong);
|
|
853
|
-
color:
|
|
853
|
+
color: var(--color-on-scrim);
|
|
854
854
|
cursor: pointer;
|
|
855
855
|
opacity: 0;
|
|
856
856
|
transition:
|
|
@@ -972,7 +972,7 @@
|
|
|
972
972
|
gap: clamp(2px, calc(var(--wui-logo-size) * 0.035), 4px);
|
|
973
973
|
padding: 0 6%;
|
|
974
974
|
background: var(--color-scrim-strong);
|
|
975
|
-
color:
|
|
975
|
+
color: var(--color-on-scrim);
|
|
976
976
|
font-size: clamp(9px, calc(var(--wui-logo-size) * 0.1), 11px);
|
|
977
977
|
line-height: 1.15;
|
|
978
978
|
text-align: center;
|