@webority/theme 0.138.0 → 0.139.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 +2 -2
- package/dist/purge-safelist.json +21 -35
- package/dist/webority-theme.css +1 -1
- package/package.json +2 -2
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_tokens.generated.scss +1 -1
- package/scss/_wui-components.scss +2 -1
- package/scss/_wui-core.scss +2 -1
- package/scss/wui/_choice.scss +4 -327
- package/scss/wui/_controls.scss +3 -67
- package/scss/wui/_data.scss +0 -4
- package/scss/wui/_field-floor.scss +1 -1
- package/scss/wui/_interaction.scss +6 -6
- package/scss/wui/_menu-motion.scss +3 -3
- package/scss/wui/_overlays.scss +1 -1
- package/scss/wui/_pending.scss +3 -3
- package/scss/wui/_select.scss +551 -0
- package/scss/wui/_typography.scss +0 -189
- package/scss/wui/_utilities.scss +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Importing part of the core chain is a bug: skipping `tokens` leaves every
|
|
|
35
35
|
|
|
36
36
|
The 245 `.wui-flag-*` rules are about 187 KB raw (38 KB Brotli) of inlined SVG, so
|
|
37
37
|
`wui-components` does not include them. A site that renders `AppPhoneNumberInput`,
|
|
38
|
-
`<app-phone-number-input>`, `
|
|
38
|
+
`<app-phone-number-input>`, `AppSelect mode="country"` or `<app-select mode="country">` adds them once:
|
|
39
39
|
|
|
40
40
|
- **Your own SCSS:** `@import "@webority/theme/scss/flags";` after `wui-components`. Import it once;
|
|
41
41
|
legacy `@import` does not dedupe, so a second import doubles every flag rule.
|
|
@@ -195,7 +195,7 @@ Theme-owned class names follow one rule going forward. Enforced by
|
|
|
195
195
|
| Bootstrap public classes (`.btn`, `.form-control`, `.card`, …) | **Yes** | Restyle Layer A only — do not fork a second kit |
|
|
196
196
|
| `.wui-*` | **Yes — default** | All new library chrome |
|
|
197
197
|
| `.app-*` | Legacy only | Shell / host wrappers already shipped; prefer `.wui-*` for anything new |
|
|
198
|
-
| Bare generics (`.input`, `.
|
|
198
|
+
| Bare generics (`.input`, `.datepicker`, `.tbl-*`, …) | Legacy only | Frozen allowlist; no new top-level bare selectors |
|
|
199
199
|
| Marketing bare (`.section-y`, `.btn-pill`, …) | Opt-in `_marketing.scss` only | Documented marketing vocabulary; portals omit the import |
|
|
200
200
|
|
|
201
201
|
Renames of legacy bare names are **BREAKING**: remove the old class, list the new name in
|
package/dist/purge-safelist.json
CHANGED
|
@@ -163,7 +163,6 @@
|
|
|
163
163
|
"chip-clickable",
|
|
164
164
|
"chip-ic",
|
|
165
165
|
"chip-label",
|
|
166
|
-
"chip-more",
|
|
167
166
|
"chip-outline",
|
|
168
167
|
"chip-remove",
|
|
169
168
|
"chip-sm",
|
|
@@ -405,10 +404,6 @@
|
|
|
405
404
|
"modal-dialog-centered",
|
|
406
405
|
"ms-1",
|
|
407
406
|
"ms-2",
|
|
408
|
-
"ms-check",
|
|
409
|
-
"ms-chips",
|
|
410
|
-
"ms-input",
|
|
411
|
-
"ms-opt-label",
|
|
412
407
|
"mt-1",
|
|
413
408
|
"mt-2",
|
|
414
409
|
"mt-3",
|
|
@@ -527,30 +522,6 @@
|
|
|
527
522
|
"search-icon",
|
|
528
523
|
"search-input",
|
|
529
524
|
"search-lg",
|
|
530
|
-
"search-select",
|
|
531
|
-
"search-select-ac",
|
|
532
|
-
"search-select-ac-input",
|
|
533
|
-
"search-select-caret",
|
|
534
|
-
"search-select-clear",
|
|
535
|
-
"search-select-compact",
|
|
536
|
-
"search-select-control",
|
|
537
|
-
"search-select-empty",
|
|
538
|
-
"search-select-hint",
|
|
539
|
-
"search-select-icon",
|
|
540
|
-
"search-select-input",
|
|
541
|
-
"search-select-lg",
|
|
542
|
-
"search-select-menu",
|
|
543
|
-
"search-select-menu-fixed",
|
|
544
|
-
"search-select-multi",
|
|
545
|
-
"search-select-option",
|
|
546
|
-
"search-select-option-custom",
|
|
547
|
-
"search-select-options",
|
|
548
|
-
"search-select-placeholder",
|
|
549
|
-
"search-select-prefix",
|
|
550
|
-
"search-select-reset",
|
|
551
|
-
"search-select-search",
|
|
552
|
-
"search-select-sm",
|
|
553
|
-
"search-select-spinner",
|
|
554
525
|
"search-sm",
|
|
555
526
|
"search-spinner",
|
|
556
527
|
"search-wrap",
|
|
@@ -1260,7 +1231,6 @@
|
|
|
1260
1231
|
"wui-modal-title",
|
|
1261
1232
|
"wui-money",
|
|
1262
1233
|
"wui-mono",
|
|
1263
|
-
"wui-ms-custom-error",
|
|
1264
1234
|
"wui-name-cell",
|
|
1265
1235
|
"wui-nav-group-after",
|
|
1266
1236
|
"wui-nav-group-body",
|
|
@@ -1333,11 +1303,7 @@
|
|
|
1333
1303
|
"wui-onboarding-title",
|
|
1334
1304
|
"wui-onboarding-toggle",
|
|
1335
1305
|
"wui-opt-avatar",
|
|
1336
|
-
"wui-opt-desc",
|
|
1337
|
-
"wui-opt-hint",
|
|
1338
1306
|
"wui-opt-label",
|
|
1339
|
-
"wui-opt-name",
|
|
1340
|
-
"wui-opt-rich",
|
|
1341
1307
|
"wui-org-tree",
|
|
1342
1308
|
"wui-org-tree-canvas",
|
|
1343
1309
|
"wui-org-tree-children",
|
|
@@ -1436,7 +1402,6 @@
|
|
|
1436
1402
|
"wui-score-scale__item--selected",
|
|
1437
1403
|
"wui-scroll",
|
|
1438
1404
|
"wui-search-collapsible",
|
|
1439
|
-
"wui-search-select-value-avatar",
|
|
1440
1405
|
"wui-search-toggle",
|
|
1441
1406
|
"wui-section",
|
|
1442
1407
|
"wui-section-actions",
|
|
@@ -1477,7 +1442,28 @@
|
|
|
1477
1442
|
"wui-section-title-body",
|
|
1478
1443
|
"wui-segmented-borderless",
|
|
1479
1444
|
"wui-segmented-option-count",
|
|
1445
|
+
"wui-select",
|
|
1446
|
+
"wui-select-caret",
|
|
1480
1447
|
"wui-select-cell",
|
|
1448
|
+
"wui-select-clear",
|
|
1449
|
+
"wui-select-control",
|
|
1450
|
+
"wui-select-draft",
|
|
1451
|
+
"wui-select-error",
|
|
1452
|
+
"wui-select-icon",
|
|
1453
|
+
"wui-select-input",
|
|
1454
|
+
"wui-select-lg",
|
|
1455
|
+
"wui-select-menu",
|
|
1456
|
+
"wui-select-menu-fixed",
|
|
1457
|
+
"wui-select-multi",
|
|
1458
|
+
"wui-select-option",
|
|
1459
|
+
"wui-select-options",
|
|
1460
|
+
"wui-select-placeholder",
|
|
1461
|
+
"wui-select-prefix",
|
|
1462
|
+
"wui-select-reset",
|
|
1463
|
+
"wui-select-search",
|
|
1464
|
+
"wui-select-sm",
|
|
1465
|
+
"wui-select-value",
|
|
1466
|
+
"wui-select-value-avatar",
|
|
1481
1467
|
"wui-shell-launcher",
|
|
1482
1468
|
"wui-shell-top",
|
|
1483
1469
|
"wui-shell-top-brand",
|