@webority/theme 0.75.1 → 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 +15 -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 +40 -4
- 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
|
@@ -1054,6 +1054,7 @@
|
|
|
1054
1054
|
"wui-filter-popover-title",
|
|
1055
1055
|
"wui-filter-popover-trigger",
|
|
1056
1056
|
"wui-flag",
|
|
1057
|
+
"wui-float-above",
|
|
1057
1058
|
"wui-floating-btn",
|
|
1058
1059
|
"wui-form-compact",
|
|
1059
1060
|
"wui-form-labels-start",
|
|
@@ -1345,6 +1346,7 @@
|
|
|
1345
1346
|
"wui-show-more",
|
|
1346
1347
|
"wui-show-more-body",
|
|
1347
1348
|
"wui-show-more-toggle",
|
|
1349
|
+
"wui-skeleton-cell",
|
|
1348
1350
|
"wui-skip-link",
|
|
1349
1351
|
"wui-sort-lead",
|
|
1350
1352
|
"wui-sortable-active",
|
|
@@ -1387,6 +1389,10 @@
|
|
|
1387
1389
|
"wui-split-skeleton-meta",
|
|
1388
1390
|
"wui-split-skeleton-title",
|
|
1389
1391
|
"wui-split-view",
|
|
1392
|
+
"wui-step-tile",
|
|
1393
|
+
"wui-step-tile-body",
|
|
1394
|
+
"wui-step-tile-state",
|
|
1395
|
+
"wui-step-tiles",
|
|
1390
1396
|
"wui-stepper-no-connectors",
|
|
1391
1397
|
"wui-struct-card-lg",
|
|
1392
1398
|
"wui-struct-card-no-check",
|
|
@@ -1516,7 +1522,11 @@
|
|
|
1516
1522
|
"wui-whats-new-panel",
|
|
1517
1523
|
"wui-whats-new-title",
|
|
1518
1524
|
"wui-whats-new-trigger",
|
|
1519
|
-
"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"
|
|
1520
1530
|
],
|
|
1521
1531
|
"patterns": [
|
|
1522
1532
|
"^alert-",
|
|
@@ -1561,16 +1571,19 @@
|
|
|
1561
1571
|
"^wui-code-t-",
|
|
1562
1572
|
"^wui-consent-",
|
|
1563
1573
|
"^wui-dashboard-cell-",
|
|
1574
|
+
"^wui-descs-span-",
|
|
1564
1575
|
"^wui-file-viewer-",
|
|
1565
1576
|
"^wui-file-viewer-player-",
|
|
1566
1577
|
"^wui-filter-popover-",
|
|
1567
1578
|
"^wui-flag-",
|
|
1579
|
+
"^wui-form-cols-",
|
|
1568
1580
|
"^wui-hidden-from-",
|
|
1569
1581
|
"^wui-hover-card-",
|
|
1570
1582
|
"^wui-mention-",
|
|
1571
1583
|
"^wui-metric-strip-cols-",
|
|
1572
1584
|
"^wui-metric-tone-",
|
|
1573
1585
|
"^wui-nav-",
|
|
1586
|
+
"^wui-nav-depth-",
|
|
1574
1587
|
"^wui-notification-center-",
|
|
1575
1588
|
"^wui-onboarding-",
|
|
1576
1589
|
"^wui-pin-",
|
|
@@ -1578,6 +1591,7 @@
|
|
|
1578
1591
|
"^wui-rating-",
|
|
1579
1592
|
"^wui-rating-star-",
|
|
1580
1593
|
"^wui-record-pager-",
|
|
1594
|
+
"^wui-rich-text-glyph-",
|
|
1581
1595
|
"^wui-section-",
|
|
1582
1596
|
"^wui-select-",
|
|
1583
1597
|
"^wui-split-",
|