@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 +1 -1
- package/README.md +5 -6
- package/certification.json +1 -1
- package/dist/assets/css/moo-ui.css +63 -6
- package/dist/assets/css/moo-ui.min.css +1 -1
- package/dist/assets/css/moo.css +58 -6
- package/dist/assets/css/moo.min.css +1 -1
- package/dist/js/chart.js +1 -1
- package/dist/js/chart.min.js +1 -1
- package/dist/js/combobox.js +1 -1
- package/dist/js/context-menu.js +1 -1
- package/dist/js/datatable.js +1 -1
- package/dist/js/datepicker.js +1 -1
- package/dist/js/datepicker.min.js +1 -1
- package/dist/js/moo-ui.js +36 -11
- package/dist/js/moo-ui.min.js +2 -2
- package/dist/js/sidebar.js +40 -12
- package/dist/js/slider.js +1 -1
- package/package.json +1 -1
- package/scss/components/_datatable.scss +27 -3
- package/scss/components/_dropdown.scss +43 -3
- package/scss/components/_table.scss +6 -0
- package/scss/components/sidebar/_collapsed.scss +12 -0
- package/scss/settings/_component_variables.scss +7 -0
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.
|
|
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.
|
|
44
|
-
|
|
45
|
-
|
|
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.
|
|
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.
|
|
161
|
+
[version-pinned third-party notices](https://github.com/wpmoo-org/ui/blob/v1.0.0-rc.6/THIRD_PARTY_NOTICES.md).
|
package/certification.json
CHANGED
|
@@ -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-
|
|
13509
|
-
inset-inline-
|
|
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(--
|
|
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(--
|
|
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:
|
|
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);
|