@webority/theme 0.76.0 → 0.77.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/README.md +20 -0
- package/dist/purge-safelist.json +14 -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 +5 -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 +7 -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 +3 -2
- 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
|
@@ -1346,6 +1346,7 @@
|
|
|
1346
1346
|
"wui-show-more",
|
|
1347
1347
|
"wui-show-more-body",
|
|
1348
1348
|
"wui-show-more-toggle",
|
|
1349
|
+
"wui-skeleton-cell",
|
|
1349
1350
|
"wui-skip-link",
|
|
1350
1351
|
"wui-sort-lead",
|
|
1351
1352
|
"wui-sortable-active",
|
|
@@ -1388,6 +1389,10 @@
|
|
|
1388
1389
|
"wui-split-skeleton-meta",
|
|
1389
1390
|
"wui-split-skeleton-title",
|
|
1390
1391
|
"wui-split-view",
|
|
1392
|
+
"wui-step-tile",
|
|
1393
|
+
"wui-step-tile-body",
|
|
1394
|
+
"wui-step-tile-state",
|
|
1395
|
+
"wui-step-tiles",
|
|
1391
1396
|
"wui-stepper-no-connectors",
|
|
1392
1397
|
"wui-struct-card-lg",
|
|
1393
1398
|
"wui-struct-card-no-check",
|
|
@@ -1517,7 +1522,11 @@
|
|
|
1517
1522
|
"wui-whats-new-panel",
|
|
1518
1523
|
"wui-whats-new-title",
|
|
1519
1524
|
"wui-whats-new-trigger",
|
|
1520
|
-
"wui-whats-new-unread"
|
|
1525
|
+
"wui-whats-new-unread",
|
|
1526
|
+
"wui-wizard-topbar",
|
|
1527
|
+
"wui-wizard-topbar-close",
|
|
1528
|
+
"wui-wizard-topbar-count",
|
|
1529
|
+
"wui-wizard-topbar-title"
|
|
1521
1530
|
],
|
|
1522
1531
|
"patterns": [
|
|
1523
1532
|
"^alert-",
|
|
@@ -1562,16 +1571,19 @@
|
|
|
1562
1571
|
"^wui-code-t-",
|
|
1563
1572
|
"^wui-consent-",
|
|
1564
1573
|
"^wui-dashboard-cell-",
|
|
1574
|
+
"^wui-descs-span-",
|
|
1565
1575
|
"^wui-file-viewer-",
|
|
1566
1576
|
"^wui-file-viewer-player-",
|
|
1567
1577
|
"^wui-filter-popover-",
|
|
1568
1578
|
"^wui-flag-",
|
|
1579
|
+
"^wui-form-cols-",
|
|
1569
1580
|
"^wui-hidden-from-",
|
|
1570
1581
|
"^wui-hover-card-",
|
|
1571
1582
|
"^wui-mention-",
|
|
1572
1583
|
"^wui-metric-strip-cols-",
|
|
1573
1584
|
"^wui-metric-tone-",
|
|
1574
1585
|
"^wui-nav-",
|
|
1586
|
+
"^wui-nav-depth-",
|
|
1575
1587
|
"^wui-notification-center-",
|
|
1576
1588
|
"^wui-onboarding-",
|
|
1577
1589
|
"^wui-pin-",
|
|
@@ -1579,6 +1591,7 @@
|
|
|
1579
1591
|
"^wui-rating-",
|
|
1580
1592
|
"^wui-rating-star-",
|
|
1581
1593
|
"^wui-record-pager-",
|
|
1594
|
+
"^wui-rich-text-glyph-",
|
|
1582
1595
|
"^wui-section-",
|
|
1583
1596
|
"^wui-select-",
|
|
1584
1597
|
"^wui-split-",
|