@wpmoo/ui 2.0.0 → 2.1.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 CHANGED
@@ -275,12 +275,15 @@ calm.
275
275
 
276
276
  ## Status And Support
277
277
 
278
- The `2.0.0` major release target externalizes Chart.js and adds dependency-free password requirements,
279
- optional host-supplied analysis and native confirmation/submit feedback.
280
- Field, Input, Button and Tooltip gain additive composition options. Existing
281
- exports and Bootstrap compatibility are preserved; no estimator is bundled.
282
- Chart consumers must now install the external Chart.js peer or provide a browser
283
- import map; the previously self-contained Chart setup changes in this major.
278
+ The `2.1.1` patch release improves Chart tooltips, DataTable sorting
279
+ and selection, Combobox input, Context Menu disposal, Date Picker controls,
280
+ and Sidebar keyboard navigation. Page titles follow their owner heading weight.
281
+
282
+ The `2.1.0` minor release adds host-translated password feedback, the
283
+ `--moo-heading-font-weight` owner token, and a document scrolling mode for
284
+ website shells. The Layout catalog demonstrates the document mode with a live
285
+ preview and copyable example. Chart consumers use the optional Chart.js peer
286
+ or a native browser import map.
284
287
  Component certification remains
285
288
  `preview`, with its documented manual and browser/device limits. Public exports, package boundaries, browser support, and release evidence live in [Support & Evidence](https://ui.wpmoo.org/support/).
286
289
  Complete release notes are on
@@ -304,7 +307,7 @@ paths live in the [Installation guide](https://ui.wpmoo.org/installation/).
304
307
  Moo UI source code is MIT licensed. License details live in
305
308
  [LICENSE](LICENSE) and the [License page](https://ui.wpmoo.org/license/).
306
309
  Third-party distribution details and notices are kept separately in
307
- [THIRD_PARTY_NOTICES.md](https://github.com/wpmoo-org/ui/blob/v2.0.0/THIRD_PARTY_NOTICES.md).
310
+ [THIRD_PARTY_NOTICES.md](https://github.com/wpmoo-org/ui/blob/v2.1.1/THIRD_PARTY_NOTICES.md).
308
311
  Catalog visual assets and their license are repository-only and are not
309
312
  included in the npm package. Asset terms live in the
310
- [visual asset license](https://github.com/wpmoo-org/ui/blob/v2.0.0/ASSET_LICENSE.md).
313
+ [visual asset license](https://github.com/wpmoo-org/ui/blob/v2.1.1/ASSET_LICENSE.md).
@@ -83,5 +83,5 @@ The catalog serves its native ESM file and unchanged license separately under
83
83
  WPMoo-generated visual assets, including image assets under `site/static/images/`,
84
84
  are original WPMoo work and are not licensed under MIT unless explicitly
85
85
  stated. See the
86
- [repository visual asset license](https://github.com/wpmoo-org/ui/blob/v2.0.0/ASSET_LICENSE.md).
86
+ [repository visual asset license](https://github.com/wpmoo-org/ui/blob/v2.1.1/ASSET_LICENSE.md).
87
87
  These assets and their license file are not included in the npm package.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "0.1",
3
3
  "status": "preview",
4
- "coreVersion": "2.0.0",
4
+ "coreVersion": "2.1.1",
5
5
  "bootstrap": {
6
6
  "canonicalVersion": "5.3.3",
7
7
  "targetRange": ">=5.3.0 <5.4",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI v2.0.0 (https://wpmoo.org/)
2
+ * Moo UI v2.1.1 (https://wpmoo.org/)
3
3
  * Copyright 2026 WPMoo Authors
4
4
  * Licensed under MIT (https://github.com/wpmoo-org/ui/blob/main/LICENSE)
5
5
  *
@@ -270,6 +270,7 @@
270
270
  --moo-chart-4: #3f3f46;
271
271
  --moo-chart-5: #27272a;
272
272
  --moo-heading-font-family: var(--bs-body-font-family);
273
+ --moo-heading-font-weight: 600;
273
274
  --moo-small-font-size: 0.75rem;
274
275
  --moo-paragraph-margin-top: 0;
275
276
  --moo-paragraph-margin-bottom: 1rem;
@@ -494,7 +495,7 @@ hr {
494
495
  h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
495
496
  margin-top: 0;
496
497
  margin-bottom: 0.5rem;
497
- font-weight: 600;
498
+ font-weight: var(--moo-heading-font-weight, 600);
498
499
  line-height: 1.2;
499
500
  color: var(--bs-heading-color);
500
501
  }
@@ -885,7 +886,7 @@ progress {
885
886
 
886
887
  .display-1 {
887
888
  font-size: calc(1.475rem + 2.7vw);
888
- font-weight: 600;
889
+ font-weight: var(--moo-heading-font-weight, 600);
889
890
  line-height: 1.2;
890
891
  }
891
892
 
@@ -897,7 +898,7 @@ progress {
897
898
 
898
899
  .display-2 {
899
900
  font-size: calc(1.425rem + 2.1vw);
900
- font-weight: 600;
901
+ font-weight: var(--moo-heading-font-weight, 600);
901
902
  line-height: 1.2;
902
903
  }
903
904
 
@@ -909,7 +910,7 @@ progress {
909
910
 
910
911
  .display-3 {
911
912
  font-size: calc(1.375rem + 1.5vw);
912
- font-weight: 600;
913
+ font-weight: var(--moo-heading-font-weight, 600);
913
914
  line-height: 1.2;
914
915
  }
915
916
 
@@ -921,7 +922,7 @@ progress {
921
922
 
922
923
  .display-4 {
923
924
  font-size: calc(1.35rem + 1.2vw);
924
- font-weight: 600;
925
+ font-weight: var(--moo-heading-font-weight, 600);
925
926
  line-height: 1.2;
926
927
  }
927
928
 
@@ -933,7 +934,7 @@ progress {
933
934
 
934
935
  .display-5 {
935
936
  font-size: calc(1.3125rem + 0.75vw);
936
- font-weight: 600;
937
+ font-weight: var(--moo-heading-font-weight, 600);
937
938
  line-height: 1.2;
938
939
  }
939
940
 
@@ -945,7 +946,7 @@ progress {
945
946
 
946
947
  .display-6 {
947
948
  font-size: calc(1.275rem + 0.3vw);
948
- font-weight: 600;
949
+ font-weight: var(--moo-heading-font-weight, 600);
949
950
  line-height: 1.2;
950
951
  }
951
952
 
@@ -13328,7 +13329,7 @@ label.btn {
13328
13329
  .card-title {
13329
13330
  margin-bottom: 0;
13330
13331
  font-size: 1rem;
13331
- font-weight: 600;
13332
+ font-weight: var(--moo-heading-font-weight, 600);
13332
13333
  line-height: 1.25;
13333
13334
  letter-spacing: -0.01em;
13334
13335
  }
@@ -13378,7 +13379,7 @@ label.btn {
13378
13379
  .empty-state-title {
13379
13380
  margin: 0;
13380
13381
  font-size: 1.09375rem;
13381
- font-weight: 600;
13382
+ font-weight: var(--moo-heading-font-weight, 600);
13382
13383
  line-height: 1.2;
13383
13384
  }
13384
13385
  .empty-state-description {
@@ -14337,7 +14338,7 @@ label.btn {
14337
14338
  .alert-heading {
14338
14339
  margin-bottom: 0.25rem;
14339
14340
  font-size: 0.875rem;
14340
- font-weight: 600;
14341
+ font-weight: var(--moo-heading-font-weight, 600);
14341
14342
  }
14342
14343
  .alert-action {
14343
14344
  flex: 0 0 auto;
@@ -17355,6 +17356,11 @@ label.btn {
17355
17356
  border: var(--bs-border-width) solid var(--moo-border);
17356
17357
  border-radius: var(--bs-border-radius-xl);
17357
17358
  }
17359
+ .wrapper[data-layout="app"][data-shell-mode="document"] {
17360
+ height: auto;
17361
+ min-height: 100svh;
17362
+ overflow: visible;
17363
+ }
17358
17364
  .wrapper[data-layout="app"] > [data-slot="page"] {
17359
17365
  display: flex;
17360
17366
  min-width: 0;
@@ -17452,6 +17458,9 @@ label.btn {
17452
17458
  flex-direction: column;
17453
17459
  overflow-y: auto;
17454
17460
  }
17461
+ .wrapper[data-layout="app"][data-shell-mode="document"] > [data-slot="page"] > main {
17462
+ overflow: visible;
17463
+ }
17455
17464
  .wrapper[data-layout="app"] > [data-slot="page"] > main > :is( .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl, .container-fluid ) {
17456
17465
  display: flex;
17457
17466
  min-height: 0;