@wpmoo/ui 1.0.0-rc.5 → 1.0.0-rc.6

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/ASSET_LICENSE.md CHANGED
@@ -14,6 +14,6 @@ product, site, template, library, training dataset, or marketing asset without
14
14
  prior written permission from WPMoo.
15
15
 
16
16
  Third-party assets remain under their own licenses. See the
17
- [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.5/THIRD_PARTY_NOTICES.md).
17
+ [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.6/THIRD_PARTY_NOTICES.md).
18
18
  Those notices are repository-only and are intentionally not shipped in the npm
19
19
  package.
package/README.md CHANGED
@@ -40,10 +40,9 @@ language needs to feel more current.
40
40
  - **Explicit runtime.** Optional Moo UI behavior loads through ESM entrypoints
41
41
  only when a component needs behavior Bootstrap does not provide.
42
42
 
43
- This branch prepares `@wpmoo/ui@1.0.0-rc.5` for release. Until that
44
- npm tag is published, use npm's current published package or the floating
45
- quick demo below. Catalog CodePen exports remain pinned to the latest
46
- published package until the RC5 npm tag exists.
43
+ This branch prepares `@wpmoo/ui@1.0.0-rc.6` for release. The published RC5
44
+ package remains the CDN baseline for catalog CodePen exports until the RC6 npm
45
+ tag exists.
47
46
 
48
47
  ## Try It in 30 Seconds
49
48
 
@@ -136,7 +135,7 @@ calm.
136
135
 
137
136
  ## Status And Support
138
137
 
139
- Moo UI is preparing the `1.0.0-rc.5` release candidate. Public exports, package boundaries, browser support, and release evidence live in [Support & Evidence](https://ui.wpmoo.org/support/).
138
+ Moo UI is preparing the `1.0.0-rc.6` release candidate. Public exports, package boundaries, browser support, and release evidence live in [Support & Evidence](https://ui.wpmoo.org/support/).
140
139
  Complete release notes are on
141
140
  [GitHub Releases](https://github.com/wpmoo-org/ui/releases).
142
141
 
@@ -159,4 +158,4 @@ Moo UI source code is MIT licensed. License details live in
159
158
  [LICENSE](LICENSE) and the [License page](https://ui.wpmoo.org/license/).
160
159
  Asset terms live in [ASSET_LICENSE.md](ASSET_LICENSE.md); dependency notices
161
160
  live in the
162
- [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.5/THIRD_PARTY_NOTICES.md).
161
+ [version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.6/THIRD_PARTY_NOTICES.md).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "0.1",
3
3
  "status": "preview",
4
- "coreVersion": "1.0.0-rc.5",
4
+ "coreVersion": "1.0.0-rc.6",
5
5
  "bootstrap": {
6
6
  "canonicalVersion": "5.3.3",
7
7
  "targetRange": ">=5.3.0 <5.4",
@@ -13353,6 +13353,10 @@ label.btn {
13353
13353
  color: var(--moo-muted-foreground);
13354
13354
  }
13355
13355
 
13356
+ .card .table {
13357
+ --bs-table-bg: transparent;
13358
+ }
13359
+
13356
13360
  .table-responsive:not(.scroll-fade-x):has(.table-row-actions > [aria-expanded="true"]) {
13357
13361
  overflow: visible;
13358
13362
  }
@@ -13501,17 +13505,49 @@ label.btn {
13501
13505
  }
13502
13506
  }
13503
13507
 
13508
+ @media (min-width: 576px) and (max-width: 991.98px) {
13509
+ [data-slot="sidebar-header"] .dropend > .dropdown-menu,
13510
+ [data-slot="sidebar-footer"] .dropend > .dropdown-menu {
13511
+ left: 0 !important;
13512
+ right: 0 !important;
13513
+ min-width: 100%;
13514
+ margin: 0;
13515
+ transform: none !important;
13516
+ }
13517
+ [data-slot="sidebar-header"] .dropend > .dropdown-menu {
13518
+ top: calc(100% + 0.25rem) !important;
13519
+ bottom: auto !important;
13520
+ }
13521
+ [data-slot="sidebar-footer"] .dropend > .dropdown-menu {
13522
+ top: auto !important;
13523
+ bottom: calc(100% + 0.25rem) !important;
13524
+ }
13525
+ }
13526
+
13504
13527
  @media (min-width: 992px) {
13505
- [data-slot="sidebar-header"] [data-sidebar-dropdown-positioned] > .dropdown-menu {
13528
+ [data-slot="sidebar-header"] [data-sidebar-dropdown-positioned] > .dropdown-menu,
13529
+ [data-slot="sidebar-footer"] [data-sidebar-dropdown-positioned] > .dropdown-menu {
13506
13530
  position: fixed !important;
13507
13531
  z-index: 1000;
13508
- inset-block-start: var(--moo-sidebar-dropdown-block-start) !important;
13509
- inset-inline-start: var(--moo-sidebar-dropdown-inline-start) !important;
13532
+ inset-inline-start: var(--moo-sidebar-dropdown-inline-start, auto) !important;
13533
+ inset-inline-end: auto !important;
13510
13534
  width: var(--moo-dropdown-sidebar-min-width);
13511
13535
  min-width: var(--moo-dropdown-sidebar-min-width);
13512
13536
  margin: 0;
13513
13537
  transform: none !important;
13514
13538
  }
13539
+ [data-slot="sidebar-header"] [data-sidebar-dropdown-positioned] > .dropdown-menu {
13540
+ inset-block-start: var(--moo-sidebar-dropdown-block-start) !important;
13541
+ }
13542
+ [data-slot="sidebar-footer"] [data-sidebar-dropdown-positioned] > .dropdown-menu {
13543
+ inset-block-start: auto !important;
13544
+ inset-block-end: var(--moo-sidebar-dropdown-block-end) !important;
13545
+ }
13546
+ [data-slot="sidebar"][data-side="right"] [data-slot="sidebar-header"] [data-sidebar-dropdown-positioned] > .dropdown-menu,
13547
+ [data-slot="sidebar"][data-side="right"] [data-slot="sidebar-footer"] [data-sidebar-dropdown-positioned] > .dropdown-menu {
13548
+ inset-inline-start: auto !important;
13549
+ inset-inline-end: var(--moo-sidebar-dropdown-inline-end, auto) !important;
13550
+ }
13515
13551
  }
13516
13552
 
13517
13553
  .menubar {
@@ -14243,6 +14279,13 @@ label.btn {
14243
14279
  .sidebar {
14244
14280
  position: relative;
14245
14281
  }
14282
+ .sidebar-wrapper:has([data-sidebar-dropdown-positioned] > .dropdown-menu.show) > .sidebar {
14283
+ position: relative;
14284
+ z-index: 1000;
14285
+ }
14286
+ .sidebar-wrapper:has([data-sidebar-dropdown-positioned] > .dropdown-menu.show) > .sidebar > .sidebar-inner {
14287
+ z-index: 1000;
14288
+ }
14246
14289
  .sidebar-wrapper[data-sidebar-state="collapsed"] .sidebar[data-collapsible="icon"] {
14247
14290
  flex-basis: var(--moo-sidebar-width-icon);
14248
14291
  width: var(--moo-sidebar-width-icon);
@@ -16073,6 +16116,7 @@ ul.context-menu-menu:focus-visible {
16073
16116
 
16074
16117
  .datatable {
16075
16118
  --moo-datatable-min-width: 48rem;
16119
+ --moo-datatable-actions-cell-bg: var(--bs-body-bg);
16076
16120
  --moo-datatable-actions-cell-fade-width: 1.25rem;
16077
16121
  --moo-datatable-card-label-width: 7rem;
16078
16122
  --moo-datatable-frame-header-min-height: 2.78125rem;
@@ -16085,6 +16129,10 @@ ul.context-menu-menu:focus-visible {
16085
16129
  --moo-datatable-bulk-actions-bottom: 1rem;
16086
16130
  }
16087
16131
 
16132
+ .card .datatable {
16133
+ --moo-datatable-actions-cell-bg: var(--bs-card-bg);
16134
+ }
16135
+
16088
16136
  .datatable-table {
16089
16137
  table-layout: fixed;
16090
16138
  }
@@ -16118,12 +16166,12 @@ ul.context-menu-menu:focus-visible {
16118
16166
  position: sticky;
16119
16167
  inset-inline-end: 0;
16120
16168
  z-index: 2;
16121
- background: linear-gradient(90deg, transparent 0, var(--bs-body-bg) var(--moo-datatable-actions-cell-fade-width));
16169
+ background: linear-gradient(90deg, transparent 0, var(--moo-datatable-actions-cell-bg) var(--moo-datatable-actions-cell-fade-width));
16122
16170
  }
16123
16171
 
16124
16172
  [dir="rtl"] .datatable-frame [data-datatable-column="actions"],
16125
16173
  .datatable-frame [dir="rtl"] [data-datatable-column="actions"] {
16126
- background: linear-gradient(270deg, transparent 0, var(--bs-body-bg) var(--moo-datatable-actions-cell-fade-width));
16174
+ background: linear-gradient(270deg, transparent 0, var(--moo-datatable-actions-cell-bg) var(--moo-datatable-actions-cell-fade-width));
16127
16175
  }
16128
16176
 
16129
16177
  .datatable-card-frame:has(.datatable-card .dropdown-menu.show) {
@@ -16198,6 +16246,10 @@ ul.context-menu-menu:focus-visible {
16198
16246
  width: 100%;
16199
16247
  }
16200
16248
 
16249
+ .datatable-searchbar:not(:has(> .dropdown-menu.show)) {
16250
+ overflow: hidden;
16251
+ }
16252
+
16201
16253
  .datatable-searchbar .datatable-search {
16202
16254
  flex: 1 1 auto;
16203
16255
  max-width: none;
@@ -16210,7 +16262,7 @@ ul.context-menu-menu:focus-visible {
16210
16262
  position: absolute;
16211
16263
  inset-block-start: 50%;
16212
16264
  inset-inline-start: 0.625rem;
16213
- z-index: 2;
16265
+ z-index: 6;
16214
16266
  display: inline-flex;
16215
16267
  align-items: center;
16216
16268
  justify-content: center;
@@ -16744,6 +16796,11 @@ ul.context-menu-menu:focus-visible {
16744
16796
  background-color: var(--moo-muted-surface);
16745
16797
  }
16746
16798
 
16799
+ .datatable-row-selected > [data-datatable-column="actions"] {
16800
+ --moo-datatable-actions-cell-bg: var(--moo-muted-surface);
16801
+ background: var(--moo-muted-surface);
16802
+ }
16803
+
16747
16804
  .datatable-card.datatable-row-selected {
16748
16805
  border-color: var(--moo-border);
16749
16806
  background-color: var(--moo-muted-surface);