@webority/theme 0.128.0 → 0.130.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 CHANGED
@@ -95,7 +95,7 @@ layer and the rare ones from the screens that use them:
95
95
  ```
96
96
 
97
97
  The on-demand partials are `wui/kanban`, `wui/file-viewer`, `wui/workspace`, `wui/calendar`,
98
- `wui/rich-text`, `wui/image-crop`, `wui/command-palette`, `wui/tour`, `wui/tree`, `wui/dock` and `wui/chat`.
98
+ `wui/rich-text`, `wui/image-crop`, `wui/command-palette`, `wui/tour`, `wui/tree` and `wui/dock`.
99
99
  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`).
100
100
 
101
101
  Caution: an on-demand partial loaded after the core sheet comes after the shared focus ring and pressed
@@ -165,10 +165,15 @@ Set `data-theme="auto"` on `<html>` to detect the system preference via `@media
165
165
  and apply the dark remap automatically. The toggle's System choice is this mode; it also writes the
166
166
  resolved theme to `data-bs-theme` and keeps it in step when the device changes.
167
167
 
168
+ ### Light box inside a dark page
169
+
170
+ Put `data-theme="light"` (or `data-bs-theme="light"`) on any element inside a dark page and it, with its children, draws in the light colours, including a brand's own light values. This works under a dark `<html>`, under `data-theme="auto"` when the device is dark, and inside a dark section. Use it for a surface that stays white, such as a printed-report preview, instead of re-pinning light colour names by hand.
171
+
168
172
  ### Implementation
169
173
 
170
174
  Both patterns use the same dark-token block (generated into `scss/_tokens.generated.scss`),
171
175
  so the compiled dark CSS is byte-identical whether toggled manually or via system preference.
176
+ The dark mapping also carries the Bootstrap heading, primary, link and secondary values, derived from the dark tokens, so a product needs no dark block of its own for them.
172
177
 
173
178
  Token remap includes:
174
179
  - **Surfaces & text** — `--color-bg`, `--color-border`, `--color-text*`
@@ -238,9 +243,9 @@ Anti-over-correction checklist. When thinning the package (e.g. marketing extrac
238
243
  - Theme colors + `wui-brand-primary`; body/text/surface/border ramps
239
244
  - Radius ladder that differs from Bootstrap; spacer map extensions (6+)
240
245
  - Status ramps: fills **and** `-text` / danger-strong
241
- - Control heights (`--wui-control-sm|md|lg`: sm 32, md 36, lg 44; md is 44 on phone-width and touch screens) and one disabled opacity (`--wui-disabled-opacity`); flat in-page elevation; overlay shadows only
246
+ - Control heights (`--wui-control-sm|md|lg`: sm 32, md 36, lg 44; md is 44 on phone-width and touch screens) and one disabled opacity (`--wui-disabled-opacity`); flat in-page elevation; one low --wui-shadow-elevated and the overlay shadows
242
247
  - Z-index scale (`--wui-z-*`); dark-mode `--bs-*` / RGB bridges
243
- - Focus: no input glow (`$input-focus-box-shadow: none`); fields keep a soft brand border and also draw the shared keyboard ring
248
+ - Focus: no input glow (`$input-focus-box-shadow: none`); fields keep a soft brand border and also draw the shared keyboard ring; --wui-focus-ring-soft-shadow is the soft halo for a focused field
244
249
 
245
250
  ### One skin on Bootstrap classes (not a second kit)
246
251
 
@@ -259,7 +264,7 @@ Anti-over-correction checklist. When thinning the package (e.g. marketing extrac
259
264
 
260
265
  Editorial helpers live in **`scss/_marketing.scss`**, imported as
261
266
  `@webority/theme/scss/marketing` **after** the core chain. Includes section-y,
262
- eyebrow, h-display, hero/CTA gradients, btn-pill / btn-ghost-dark, link-wipe,
267
+ eyebrow, h-display, hero/CTA gradients, btn-pill / btn-ghost-glass, link-wipe,
263
268
  container-cloves, hero-wash, page/stagger/reveal motion, marquee, section
264
269
  content-visibility. **Portals omit this import.** Marketing sites that used
265
270
  these classes must add the import.
@@ -428,13 +428,14 @@
428
428
  "shadow": {
429
429
  "card": "none",
430
430
  "drawer": "0px 24px 60px -16px rgba(7, 20, 55, 0.28)",
431
+ "elevated": "0px 2px 8px -2px rgba(7, 20, 55, 0.10)",
431
432
  "modal": "0px 24px 60px -16px rgba(7, 20, 55, 0.28)",
432
433
  "popover": "0px 8px 28px -6px rgba(7, 20, 55, 0.14)"
433
434
  },
434
435
  "font": {
435
436
  "sans": {
436
437
  "family": "Webority Sans",
437
- "fallback": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"
438
+ "fallback": "Inter, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"
438
439
  },
439
440
  "display": {
440
441
  "family": "Webority Serif",
@@ -22,8 +22,6 @@
22
22
  "alert-stack",
23
23
  "align-bottom",
24
24
  "align-items-center",
25
- "align-items-end",
26
- "align-self-end",
27
25
  "align-top",
28
26
  "app-content",
29
27
  "app-footer",
@@ -103,7 +101,6 @@
103
101
  "badge",
104
102
  "badge-dot",
105
103
  "bg-primary",
106
- "bi",
107
104
  "blockquote",
108
105
  "border",
109
106
  "border-bottom",
@@ -115,26 +112,25 @@
115
112
  "btn",
116
113
  "btn-close",
117
114
  "btn-danger",
118
- "btn-ghost",
115
+ "btn-ghost-primary",
116
+ "btn-glass",
119
117
  "btn-group",
120
118
  "btn-group-lg",
121
119
  "btn-group-sm",
122
120
  "btn-group-vertical",
123
121
  "btn-lg",
124
- "btn-light",
125
122
  "btn-link",
123
+ "btn-link-primary",
126
124
  "btn-neutral",
127
125
  "btn-outline-danger",
128
- "btn-outline-light",
126
+ "btn-outline-neutral",
129
127
  "btn-outline-primary",
130
- "btn-outline-secondary",
131
128
  "btn-primary",
132
- "btn-secondary",
133
- "btn-secondary-danger",
134
129
  "btn-sm",
130
+ "btn-soft-neutral",
131
+ "btn-soft-primary",
135
132
  "btn-static",
136
133
  "btn-success",
137
- "btn-text",
138
134
  "btn-warning",
139
135
  "card",
140
136
  "card-accent",
@@ -142,7 +138,9 @@
142
138
  "card-clickable",
143
139
  "card-close",
144
140
  "card-constrained",
141
+ "card-divided",
145
142
  "card-elevated",
143
+ "card-flush",
146
144
  "card-footer",
147
145
  "card-header",
148
146
  "card-header-actions",
@@ -202,7 +200,6 @@
202
200
  "country-name-text",
203
201
  "country-toggle",
204
202
  "current",
205
- "d-block",
206
203
  "d-flex",
207
204
  "d-inline-flex",
208
205
  "danger",
@@ -243,14 +240,12 @@
243
240
  "down",
244
241
  "dragging",
245
242
  "drawer",
246
- "drawer-header",
247
- "drawer-title",
248
- "drawer-title-ic",
249
243
  "drop-up",
250
244
  "dropdown",
251
245
  "dropdown-divider",
252
246
  "dropdown-header",
253
247
  "dropdown-item",
248
+ "dropdown-item-text",
254
249
  "dropdown-menu",
255
250
  "dropdown-menu-end",
256
251
  "dropdown-search-icon",
@@ -301,6 +296,8 @@
301
296
  "form-check-circle",
302
297
  "form-check-input",
303
298
  "form-check-label",
299
+ "form-check-lg",
300
+ "form-check-sm",
304
301
  "form-control",
305
302
  "form-control-sm",
306
303
  "form-label",
@@ -373,7 +370,6 @@
373
370
  "is-today",
374
371
  "justify-content-between",
375
372
  "justify-content-center",
376
- "justify-content-end",
377
373
  "kpi",
378
374
  "kpi-accent",
379
375
  "kpi-attention",
@@ -392,7 +388,6 @@
392
388
  "label",
393
389
  "label-optional",
394
390
  "lead",
395
- "list-unstyled",
396
391
  "mark",
397
392
  "mb-0",
398
393
  "mb-1",
@@ -408,8 +403,6 @@
408
403
  "modal-content",
409
404
  "modal-dialog",
410
405
  "modal-dialog-centered",
411
- "modal-footer",
412
- "modal-open",
413
406
  "ms-1",
414
407
  "ms-2",
415
408
  "ms-check",
@@ -438,7 +431,6 @@
438
431
  "otp-field",
439
432
  "otp-slot",
440
433
  "otp-slots",
441
- "overflow-hidden",
442
434
  "p-0",
443
435
  "p-3",
444
436
  "page-actions",
@@ -482,7 +474,6 @@
482
474
  "plan-price-unit",
483
475
  "plan-tagline",
484
476
  "popover",
485
- "popover-header",
486
477
  "position-fixed",
487
478
  "prev",
488
479
  "primary",
@@ -501,9 +492,7 @@
501
492
  "pw-rule",
502
493
  "pw-rule-text",
503
494
  "pw-toggle",
504
- "px-2",
505
495
  "px-3",
506
- "py-1",
507
496
  "py-2",
508
497
  "py-3",
509
498
  "py-5",
@@ -592,7 +581,6 @@
592
581
  "slider-track",
593
582
  "slider-value",
594
583
  "small",
595
- "sort-icon",
596
584
  "sortable",
597
585
  "spinner-border",
598
586
  "spinner-border-sm",
@@ -641,10 +629,8 @@
641
629
  "tbl-empty-plain",
642
630
  "text-bg-primary",
643
631
  "text-body-secondary",
644
- "text-break",
645
632
  "text-center",
646
633
  "text-danger",
647
- "text-end",
648
634
  "text-muted",
649
635
  "text-nowrap",
650
636
  "text-start",
@@ -685,7 +671,6 @@
685
671
  "toolbar-item-label",
686
672
  "toolbar-sep",
687
673
  "tooltip",
688
- "tooltip-inner",
689
674
  "top-0",
690
675
  "top-50",
691
676
  "topbar-icon-btn",
@@ -745,6 +730,15 @@
745
730
  "wui-accordion-item",
746
731
  "wui-accordion-panel",
747
732
  "wui-accordion-trigger",
733
+ "wui-account-switcher",
734
+ "wui-account-switcher-badge",
735
+ "wui-account-switcher-label",
736
+ "wui-account-switcher-list",
737
+ "wui-account-switcher-option",
738
+ "wui-account-switcher-option-name",
739
+ "wui-account-switcher-option-note",
740
+ "wui-account-switcher-option-text",
741
+ "wui-account-switcher-tick",
748
742
  "wui-action-icon-file",
749
743
  "wui-addon",
750
744
  "wui-addon-group",
@@ -752,6 +746,14 @@
752
746
  "wui-addon-group-sm",
753
747
  "wui-attach-error",
754
748
  "wui-attach-progress",
749
+ "wui-auth",
750
+ "wui-auth-aside",
751
+ "wui-auth-body",
752
+ "wui-auth-footer",
753
+ "wui-auth-logo",
754
+ "wui-auth-main",
755
+ "wui-auth-panel",
756
+ "wui-auth-split",
755
757
  "wui-banner",
756
758
  "wui-banner-action",
757
759
  "wui-banner-body",
@@ -774,6 +776,13 @@
774
776
  "wui-bell-title",
775
777
  "wui-bell-trigger",
776
778
  "wui-bell-when",
779
+ "wui-brand-dark",
780
+ "wui-brand-has-mark",
781
+ "wui-brand-light",
782
+ "wui-brand-logo",
783
+ "wui-brand-mark",
784
+ "wui-brand-mark-only",
785
+ "wui-brand-themed",
777
786
  "wui-btn-group",
778
787
  "wui-btn-group-full",
779
788
  "wui-btn-pin-end",
@@ -808,7 +817,12 @@
808
817
  "wui-carousel-slide",
809
818
  "wui-carousel-stage",
810
819
  "wui-carousel-track",
820
+ "wui-cell",
811
821
  "wui-cell-end",
822
+ "wui-cell-mono",
823
+ "wui-cell-numeric",
824
+ "wui-cell-primary",
825
+ "wui-cell-secondary",
812
826
  "wui-chart-canvas",
813
827
  "wui-chart-card",
814
828
  "wui-chart-card-legend-off",
@@ -837,21 +851,6 @@
837
851
  "wui-chart-tooltip-swatch-line",
838
852
  "wui-chart-tooltip-title",
839
853
  "wui-chart-tooltip-value",
840
- "wui-chat-attachments",
841
- "wui-chat-body",
842
- "wui-chat-bubble",
843
- "wui-chat-composer",
844
- "wui-chat-editing",
845
- "wui-chat-empty",
846
- "wui-chat-foot",
847
- "wui-chat-launcher",
848
- "wui-chat-panel",
849
- "wui-chat-past",
850
- "wui-chat-past-row",
851
- "wui-chat-question",
852
- "wui-chat-question-attachments",
853
- "wui-chat-suggestions",
854
- "wui-chat-turn-actions",
855
854
  "wui-check",
856
855
  "wui-chip-group",
857
856
  "wui-chip-group-nowrap",
@@ -890,7 +889,6 @@
890
889
  "wui-code-title",
891
890
  "wui-code-view",
892
891
  "wui-col-grow",
893
- "wui-col-hidden",
894
892
  "wui-col-resizable",
895
893
  "wui-col-resize",
896
894
  "wui-column-menu",
@@ -997,8 +995,6 @@
997
995
  "wui-drawer-backdrop",
998
996
  "wui-drawer-body",
999
997
  "wui-drawer-close",
1000
- "wui-drawer-discard",
1001
- "wui-drawer-discard-text",
1002
998
  "wui-drawer-discarding",
1003
999
  "wui-drawer-footer",
1004
1000
  "wui-drawer-grip",
@@ -1026,6 +1022,7 @@
1026
1022
  "wui-error-summary-list",
1027
1023
  "wui-error-summary-title",
1028
1024
  "wui-expand-cell",
1025
+ "wui-field-busy",
1029
1026
  "wui-field-message",
1030
1027
  "wui-file-busy",
1031
1028
  "wui-file-input-button-field",
@@ -1108,6 +1105,10 @@
1108
1105
  "wui-flag",
1109
1106
  "wui-float-above",
1110
1107
  "wui-floating-btn",
1108
+ "wui-floating-btn--lg",
1109
+ "wui-floating-btn--secondary",
1110
+ "wui-floating-btn--sm",
1111
+ "wui-floating-stack-item",
1111
1112
  "wui-force-active",
1112
1113
  "wui-force-focus",
1113
1114
  "wui-force-hover",
@@ -1157,6 +1158,7 @@
1157
1158
  "wui-image-picker-subtitle",
1158
1159
  "wui-image-picker-title",
1159
1160
  "wui-inline-edit",
1161
+ "wui-inline-edit--nowrap",
1160
1162
  "wui-inline-edit-display",
1161
1163
  "wui-inline-edit-editor",
1162
1164
  "wui-inline-edit-error",
@@ -1165,7 +1167,6 @@
1165
1167
  "wui-inline-edit-spinner",
1166
1168
  "wui-inline-edit-status",
1167
1169
  "wui-inline-edit-value",
1168
- "wui-input-xl",
1169
1170
  "wui-kanban",
1170
1171
  "wui-kanban-action",
1171
1172
  "wui-kanban-actions",
@@ -1192,7 +1193,6 @@
1192
1193
  "wui-kpi-delta--danger",
1193
1194
  "wui-kpi-delta--neutral",
1194
1195
  "wui-kpi-delta--success",
1195
- "wui-leaving",
1196
1196
  "wui-lightbox",
1197
1197
  "wui-lightbox-bar",
1198
1198
  "wui-lightbox-btn",
@@ -1209,6 +1209,7 @@
1209
1209
  "wui-lightbox-tools",
1210
1210
  "wui-lightbox-zoomed",
1211
1211
  "wui-link",
1212
+ "wui-link--clamp",
1212
1213
  "wui-link--lg",
1213
1214
  "wui-link--sm",
1214
1215
  "wui-link--static",
@@ -1252,19 +1253,12 @@
1252
1253
  "wui-modal-headicon",
1253
1254
  "wui-modal-heading",
1254
1255
  "wui-modal-headtext",
1255
- "wui-modal-loading",
1256
1256
  "wui-modal-shell",
1257
- "wui-modal-skeleton",
1258
- "wui-modal-skeleton--short",
1259
1257
  "wui-modal-stacked",
1260
- "wui-modal-state",
1261
- "wui-modal-state-actions",
1262
- "wui-modal-state-text",
1263
- "wui-modal-state-title",
1264
- "wui-modal-submit-error",
1265
1258
  "wui-modal-subtitle",
1266
1259
  "wui-modal-title",
1267
1260
  "wui-money",
1261
+ "wui-mono",
1268
1262
  "wui-ms-custom-error",
1269
1263
  "wui-name-cell",
1270
1264
  "wui-nav-group-after",
@@ -1350,10 +1344,12 @@
1350
1344
  "wui-page-header-meta-below",
1351
1345
  "wui-page-header-subtitle-inline",
1352
1346
  "wui-page-title-slot",
1347
+ "wui-pager-summary",
1353
1348
  "wui-period-month",
1354
1349
  "wui-period-month-label",
1355
1350
  "wui-period-picker",
1356
1351
  "wui-phone-prefix",
1352
+ "wui-pre-line",
1357
1353
  "wui-progress-indeterminate",
1358
1354
  "wui-progress-info",
1359
1355
  "wui-progress-label",
@@ -1386,8 +1382,6 @@
1386
1382
  "wui-record-pager-position",
1387
1383
  "wui-record-pager-prev",
1388
1384
  "wui-relative-time",
1389
- "wui-remote-drawer",
1390
- "wui-remote-drawer-dialog",
1391
1385
  "wui-resizable",
1392
1386
  "wui-resizable-handle",
1393
1387
  "wui-resizable-panel",
@@ -1426,7 +1420,6 @@
1426
1420
  "wui-scroll",
1427
1421
  "wui-search-collapsible",
1428
1422
  "wui-search-select-value-avatar",
1429
- "wui-search-select-xl",
1430
1423
  "wui-search-toggle",
1431
1424
  "wui-section",
1432
1425
  "wui-section-actions",
@@ -1524,7 +1517,6 @@
1524
1517
  "wui-split-menu",
1525
1518
  "wui-split-pane",
1526
1519
  "wui-split-pane-body",
1527
- "wui-split-pane-error",
1528
1520
  "wui-split-pane-head",
1529
1521
  "wui-split-reading",
1530
1522
  "wui-split-skeleton",
@@ -1553,7 +1545,6 @@
1553
1545
  "wui-table-compact",
1554
1546
  "wui-table-cozy",
1555
1547
  "wui-table-empty",
1556
- "wui-table-error",
1557
1548
  "wui-table-flush",
1558
1549
  "wui-table-pager",
1559
1550
  "wui-table-pagination-sm",
@@ -1573,7 +1564,6 @@
1573
1564
  "wui-table-toolbar-filters",
1574
1565
  "wui-table-toolbar-main",
1575
1566
  "wui-text-sm",
1576
- "wui-text-xs",
1577
1567
  "wui-theme-switching",
1578
1568
  "wui-theme-toggle",
1579
1569
  "wui-timeline--lg",
@@ -1697,8 +1687,11 @@
1697
1687
  "^border-",
1698
1688
  "^btn-",
1699
1689
  "^btn-anim-",
1690
+ "^btn-ghost-",
1700
1691
  "^btn-group-",
1701
- "^card-",
1692
+ "^btn-link-",
1693
+ "^btn-outline-",
1694
+ "^btn-soft-",
1702
1695
  "^card-pad-",
1703
1696
  "^col-",
1704
1697
  "^color-field-",
@@ -1706,10 +1699,13 @@
1706
1699
  "^descs-col-",
1707
1700
  "^dropdown-",
1708
1701
  "^form-actions-",
1702
+ "^form-check-",
1709
1703
  "^group-",
1710
1704
  "^infotip-popover-",
1705
+ "^input-",
1711
1706
  "^is-",
1712
1707
  "^kpi-icon-",
1708
+ "^otp-",
1713
1709
  "^page-header-",
1714
1710
  "^result-",
1715
1711
  "^row-",
@@ -1724,7 +1720,6 @@
1724
1720
  "^wui-calendar-event-",
1725
1721
  "^wui-carousel-",
1726
1722
  "^wui-chart-",
1727
- "^wui-chat-",
1728
1723
  "^wui-code-t-",
1729
1724
  "^wui-compare-state-",
1730
1725
  "^wui-consent-",
@@ -1761,6 +1756,7 @@
1761
1756
  "^wui-step-size-",
1762
1757
  "^wui-step-tone-",
1763
1758
  "^wui-table-",
1759
+ "^wui-tooltip-",
1764
1760
  "^wui-topsearch-",
1765
1761
  "^wui-tour-",
1766
1762
  "^wui-tour-end-",