@wpmoo/ui 1.3.0 → 1.4.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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI v1.3.0 (https://wpmoo.org/)
2
+ * Moo UI v1.4.0 (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
  *
@@ -69,6 +69,23 @@
69
69
  }
70
70
  }
71
71
 
72
+ html.scrollbar-overlay-native {
73
+ scrollbar-width: none;
74
+ }
75
+
76
+ html.scrollbar-overlay-native::-webkit-scrollbar {
77
+ display: none;
78
+ }
79
+
80
+ @media print, (forced-colors: active) {
81
+ html.scrollbar-overlay-native {
82
+ scrollbar-width: auto !important;
83
+ }
84
+ html.scrollbar-overlay-native::-webkit-scrollbar {
85
+ display: revert !important;
86
+ }
87
+ }
88
+
72
89
  @keyframes moo-spinner-rotate {
73
90
  to {
74
91
  transform: rotate(360deg) /* rtl:ignore */;
@@ -7981,6 +7998,70 @@ label.btn {
7981
7998
  .border-dashed {
7982
7999
  border-style: dashed !important;
7983
8000
  }
8001
+ .text-start {
8002
+ text-align: start !important;
8003
+ }
8004
+ .text-end {
8005
+ text-align: end !important;
8006
+ }
8007
+ .text-center {
8008
+ text-align: center !important;
8009
+ }
8010
+ @media (min-width: 576px) {
8011
+ .text-sm-start {
8012
+ text-align: start !important;
8013
+ }
8014
+ .text-sm-end {
8015
+ text-align: end !important;
8016
+ }
8017
+ .text-sm-center {
8018
+ text-align: center !important;
8019
+ }
8020
+ }
8021
+ @media (min-width: 768px) {
8022
+ .text-md-start {
8023
+ text-align: start !important;
8024
+ }
8025
+ .text-md-end {
8026
+ text-align: end !important;
8027
+ }
8028
+ .text-md-center {
8029
+ text-align: center !important;
8030
+ }
8031
+ }
8032
+ @media (min-width: 992px) {
8033
+ .text-lg-start {
8034
+ text-align: start !important;
8035
+ }
8036
+ .text-lg-end {
8037
+ text-align: end !important;
8038
+ }
8039
+ .text-lg-center {
8040
+ text-align: center !important;
8041
+ }
8042
+ }
8043
+ @media (min-width: 1200px) {
8044
+ .text-xl-start {
8045
+ text-align: start !important;
8046
+ }
8047
+ .text-xl-end {
8048
+ text-align: end !important;
8049
+ }
8050
+ .text-xl-center {
8051
+ text-align: center !important;
8052
+ }
8053
+ }
8054
+ @media (min-width: 1400px) {
8055
+ .text-xxl-start {
8056
+ text-align: start !important;
8057
+ }
8058
+ .text-xxl-end {
8059
+ text-align: end !important;
8060
+ }
8061
+ .text-xxl-center {
8062
+ text-align: center !important;
8063
+ }
8064
+ }
7984
8065
  :where( .scroll-fade, .scroll-fade-y, .scroll-fade-x, .scroll-fade-t, .scroll-fade-b, .scroll-fade-l, .scroll-fade-r, .scroll-fade-s, .scroll-fade-e ) {
7985
8066
  --scroll-fade-size: min(12%, 2.5rem);
7986
8067
  --scroll-fade-reveal: 6rem;
@@ -8149,6 +8230,61 @@ label.btn {
8149
8230
  --moo-scroll-fade-e: var(--moo-scroll-fade-e-size);
8150
8231
  }
8151
8232
  }
8233
+ .scrollbar-overlay-native {
8234
+ scrollbar-width: none;
8235
+ }
8236
+ .scrollbar-overlay-native::-webkit-scrollbar {
8237
+ display: none;
8238
+ }
8239
+ @media print, (forced-colors: active) {
8240
+ .scrollbar-overlay-native {
8241
+ scrollbar-width: auto !important;
8242
+ }
8243
+ .scrollbar-overlay-native::-webkit-scrollbar {
8244
+ display: revert !important;
8245
+ }
8246
+ }
8247
+ .scrollbar-overlay {
8248
+ --moo-scrollbar-overlay-hit-size: 1.5rem;
8249
+ --moo-scrollbar-overlay-thumb-size: 0.375rem;
8250
+ position: fixed;
8251
+ inset-block: 0;
8252
+ inset-inline-end: 0;
8253
+ z-index: 1030;
8254
+ inline-size: var(--moo-scrollbar-overlay-hit-size);
8255
+ color: var(--bs-secondary-color);
8256
+ opacity: 0;
8257
+ pointer-events: none;
8258
+ touch-action: none;
8259
+ transition: opacity 0.15s linear;
8260
+ }
8261
+ @media (prefers-reduced-motion: reduce) {
8262
+ .scrollbar-overlay {
8263
+ transition: none;
8264
+ }
8265
+ }
8266
+ .scrollbar-overlay[data-scrollbar-visible="true"], .scrollbar-overlay:focus-visible {
8267
+ opacity: 1;
8268
+ }
8269
+ .scrollbar-overlay[data-scrollbar-interactive="true"], .scrollbar-overlay:focus-visible {
8270
+ pointer-events: auto;
8271
+ }
8272
+ .scrollbar-overlay:hover, .scrollbar-overlay:focus-visible {
8273
+ color: var(--bs-emphasis-color);
8274
+ }
8275
+ .scrollbar-overlay-thumb {
8276
+ position: absolute;
8277
+ inset-block-start: 0;
8278
+ inset-inline-end: 0.25rem;
8279
+ inline-size: var(--moo-scrollbar-overlay-thumb-size);
8280
+ background-color: currentColor;
8281
+ border-radius: var(--bs-border-radius-pill);
8282
+ }
8283
+ @media print, (forced-colors: active) {
8284
+ .scrollbar-overlay {
8285
+ display: none !important;
8286
+ }
8287
+ }
8152
8288
  .scroll-smooth {
8153
8289
  scroll-behavior: smooth;
8154
8290
  }