@webority/theme 0.76.0 → 0.77.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/README.md +20 -0
- package/dist/purge-safelist.json +18 -1
- package/dist/webority-theme.css +1 -1
- package/package.json +1 -1
- package/scss/_components.scss +8 -8
- package/scss/_wui-aliases.scss +4 -3
- package/scss/_wui-core.scss +88 -0
- package/scss/wui/_calendar.scss +27 -0
- package/scss/wui/_card.scss +30 -11
- package/scss/wui/_command-palette.scss +9 -0
- package/scss/wui/_controls.scss +1 -2
- package/scss/wui/_data.scss +44 -0
- package/scss/wui/_display.scss +18 -10
- package/scss/wui/_dock.scss +5 -0
- package/scss/wui/_file-viewer.scss +5 -0
- package/scss/wui/_floating.scss +7 -3
- package/scss/wui/_flow.scss +210 -1
- package/scss/wui/_image-crop.scss +5 -0
- package/scss/wui/_interaction.scss +28 -38
- package/scss/wui/_kanban.scss +5 -0
- package/scss/wui/_media.scss +6 -5
- package/scss/wui/_rich-text.scss +21 -0
- package/scss/wui/_shell.scss +6 -1
- package/scss/wui/_table-server.scss +5 -0
- package/scss/wui/_tree.scss +5 -0
- package/scss/wui/_utilities.scss +1 -0
- package/scss/wui/_workspace.scss +22 -1
package/README.md
CHANGED
|
@@ -108,6 +108,26 @@ colour — intentional shared semantics (see `_variables.scss`).
|
|
|
108
108
|
`dist/webority-theme.css` is a precompiled default-brand **portal** build (no
|
|
109
109
|
marketing partial). Prefer the SCSS chain above for brand-exact output.
|
|
110
110
|
|
|
111
|
+
## Loading rare widgets on demand
|
|
112
|
+
|
|
113
|
+
`wui-components` loads every widget style. A portal that renders only some widgets can load the core
|
|
114
|
+
layer and the rare ones from the screens that use them:
|
|
115
|
+
|
|
116
|
+
```scss
|
|
117
|
+
// Global, in place of wui-components:
|
|
118
|
+
@import "@webority/theme/scss/wui-core";
|
|
119
|
+
|
|
120
|
+
// In the lazy route entry that renders the widget, once:
|
|
121
|
+
@import "@webority/theme/scss/wui/kanban";
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
The on-demand partials are `wui/kanban`, `wui/file-viewer`, `wui/workspace`, `wui/calendar`,
|
|
125
|
+
`wui/rich-text`, `wui/image-crop`, `wui/command-palette`, `wui/tour`, `wui/tree`, `wui/dock` and `wui/chat`.
|
|
126
|
+
The full `wui-components` chain stays the default and renders as before. Each on-demand partial owns the classes and elements named after it, and no core partial styles them (`scripts/check-theme-split.mjs`).
|
|
127
|
+
|
|
128
|
+
Caution: an on-demand partial loaded after the core sheet comes after the shared focus ring and pressed
|
|
129
|
+
wash (`wui/interaction`, `wui/menu-motion`), so check its hover and press states in the showcase.
|
|
130
|
+
|
|
111
131
|
## Signal brand layer (opt-in)
|
|
112
132
|
|
|
113
133
|
`dist/webority-brand-signal.css` (export `@webority/theme/css/brand-signal`, source `scss/_brand-signal.scss`)
|
package/dist/purge-safelist.json
CHANGED
|
@@ -790,6 +790,9 @@
|
|
|
790
790
|
"wui-btn-roll-ico__next",
|
|
791
791
|
"wui-btn-roll__a",
|
|
792
792
|
"wui-btn-roll__b",
|
|
793
|
+
"wui-calendar-chip",
|
|
794
|
+
"wui-calendar-chip-time",
|
|
795
|
+
"wui-calendar-chip-title",
|
|
793
796
|
"wui-calendar-fallback",
|
|
794
797
|
"wui-calendar-nav",
|
|
795
798
|
"wui-calendar-nav-btn",
|
|
@@ -1036,6 +1039,7 @@
|
|
|
1036
1039
|
"wui-file-viewer-zoom",
|
|
1037
1040
|
"wui-filter-bar",
|
|
1038
1041
|
"wui-filter-bar--folded",
|
|
1042
|
+
"wui-filter-chip-inline",
|
|
1039
1043
|
"wui-filter-count-desktop",
|
|
1040
1044
|
"wui-filter-count-phone",
|
|
1041
1045
|
"wui-filter-form",
|
|
@@ -1346,6 +1350,7 @@
|
|
|
1346
1350
|
"wui-show-more",
|
|
1347
1351
|
"wui-show-more-body",
|
|
1348
1352
|
"wui-show-more-toggle",
|
|
1353
|
+
"wui-skeleton-cell",
|
|
1349
1354
|
"wui-skip-link",
|
|
1350
1355
|
"wui-sort-lead",
|
|
1351
1356
|
"wui-sortable-active",
|
|
@@ -1388,6 +1393,10 @@
|
|
|
1388
1393
|
"wui-split-skeleton-meta",
|
|
1389
1394
|
"wui-split-skeleton-title",
|
|
1390
1395
|
"wui-split-view",
|
|
1396
|
+
"wui-step-tile",
|
|
1397
|
+
"wui-step-tile-body",
|
|
1398
|
+
"wui-step-tile-state",
|
|
1399
|
+
"wui-step-tiles",
|
|
1391
1400
|
"wui-stepper-no-connectors",
|
|
1392
1401
|
"wui-struct-card-lg",
|
|
1393
1402
|
"wui-struct-card-no-check",
|
|
@@ -1517,7 +1526,11 @@
|
|
|
1517
1526
|
"wui-whats-new-panel",
|
|
1518
1527
|
"wui-whats-new-title",
|
|
1519
1528
|
"wui-whats-new-trigger",
|
|
1520
|
-
"wui-whats-new-unread"
|
|
1529
|
+
"wui-whats-new-unread",
|
|
1530
|
+
"wui-wizard-topbar",
|
|
1531
|
+
"wui-wizard-topbar-close",
|
|
1532
|
+
"wui-wizard-topbar-count",
|
|
1533
|
+
"wui-wizard-topbar-title"
|
|
1521
1534
|
],
|
|
1522
1535
|
"patterns": [
|
|
1523
1536
|
"^alert-",
|
|
@@ -1562,16 +1575,19 @@
|
|
|
1562
1575
|
"^wui-code-t-",
|
|
1563
1576
|
"^wui-consent-",
|
|
1564
1577
|
"^wui-dashboard-cell-",
|
|
1578
|
+
"^wui-descs-span-",
|
|
1565
1579
|
"^wui-file-viewer-",
|
|
1566
1580
|
"^wui-file-viewer-player-",
|
|
1567
1581
|
"^wui-filter-popover-",
|
|
1568
1582
|
"^wui-flag-",
|
|
1583
|
+
"^wui-form-cols-",
|
|
1569
1584
|
"^wui-hidden-from-",
|
|
1570
1585
|
"^wui-hover-card-",
|
|
1571
1586
|
"^wui-mention-",
|
|
1572
1587
|
"^wui-metric-strip-cols-",
|
|
1573
1588
|
"^wui-metric-tone-",
|
|
1574
1589
|
"^wui-nav-",
|
|
1590
|
+
"^wui-nav-depth-",
|
|
1575
1591
|
"^wui-notification-center-",
|
|
1576
1592
|
"^wui-onboarding-",
|
|
1577
1593
|
"^wui-pin-",
|
|
@@ -1579,6 +1595,7 @@
|
|
|
1579
1595
|
"^wui-rating-",
|
|
1580
1596
|
"^wui-rating-star-",
|
|
1581
1597
|
"^wui-record-pager-",
|
|
1598
|
+
"^wui-rich-text-glyph-",
|
|
1582
1599
|
"^wui-section-",
|
|
1583
1600
|
"^wui-select-",
|
|
1584
1601
|
"^wui-split-",
|