@wpmoo/ui 1.4.1 → 1.4.3

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/dist/js/slider.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI slider.js v1.4.1 (https://wpmoo.org/)
2
+ * Moo UI slider.js v1.4.3 (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
  */
package/dist/js/state.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI state.js v1.4.1 (https://wpmoo.org/)
2
+ * Moo UI state.js v1.4.3 (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
  */
@@ -12,6 +12,11 @@
12
12
  if (owner.matches?.('.moo-ui[data-bs-theme="light"], .moo-ui[data-bs-theme="dark"]')) {
13
13
  const body = ownerDocument?.body;
14
14
  const documentOwner = owner.dataset?.mooDocumentOwner === "true" && owner.parentElement === body && owner === body?.firstElementChild;
15
+ if (documentOwner && ownerDocument.documentElement?.classList) {
16
+ const root = ownerDocument.documentElement;
17
+ owner.__mooNativeScrollbarBaseline ?? (owner.__mooNativeScrollbarBaseline = root.classList.contains("scrollbar-overlay-native"));
18
+ root.classList.add("scrollbar-overlay-native");
19
+ }
15
20
  const normalizeDirection = (value) => value === "ltr" || value === "rtl" ? value : null;
16
21
  const ownerDirection = normalizeDirection(
17
22
  owner.getAttribute?.("dir") || owner.dir
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI table-of-contents.js v1.4.1 (https://wpmoo.org/)
2
+ * Moo UI table-of-contents.js v1.4.3 (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
  */
package/dist/js/toc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI toc.js v1.4.1 (https://wpmoo.org/)
2
+ * Moo UI toc.js v1.4.3 (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
  */
@@ -3,22 +3,22 @@
3
3
  {
4
4
  "export": "./moo.css",
5
5
  "path": "dist/assets/css/moo.css",
6
- "sha256": "81b2f71ca1d4aa1af217f36c6279b1bea6c5ac7ac16f7f8f94f726b561be0337"
6
+ "sha256": "bab99b11ea86eaae400d7b6d25c1a3e0db4a20094c8996eb2d5911dcaf6c13d2"
7
7
  },
8
8
  {
9
9
  "export": "./moo-ui.css",
10
10
  "path": "dist/assets/css/moo-ui.css",
11
- "sha256": "b0a7f36b535b698e174d1499c282cfe01a101770e8f90c8a054707f042133a15"
11
+ "sha256": "c1f16fd9b2a5ce8b888d0bf6145f9b8145196eff4097e704faa24017741d9e64"
12
12
  },
13
13
  {
14
14
  "export": "./state.js",
15
15
  "path": "dist/js/state.js",
16
- "sha256": "107502b54d1cb61d7b2b255475f0c14f213177820d4d06d159659697b00d875a"
16
+ "sha256": "d0d840af5875d07d8b044dab2ad5409c16db7a06636093200d5a438f8913fa61"
17
17
  }
18
18
  ],
19
19
  "package": {
20
20
  "name": "@wpmoo/ui",
21
- "version": "1.4.1"
21
+ "version": "1.4.3"
22
22
  },
23
23
  "schemaVersion": 1
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wpmoo/ui",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Bootstrap markup. shadcn feel. A frontend-framework-free component system for server-rendered apps.",
5
5
  "license": "MIT",
6
6
  "author": "WPMoo (https://wpmoo.org)",
@@ -21,9 +21,7 @@
21
21
  "test:quick": ".venv/bin/python3 scripts/run-test-tier.py run quick",
22
22
  "test:browser-smoke": ".venv/bin/python3 scripts/run-test-tier.py run browser-smoke",
23
23
  "test:browser-full": ".venv/bin/python3 scripts/run-test-tier.py run browser-full",
24
- "test:release": ".venv/bin/python3 scripts/run-test-tier.py run release",
25
- "deploy": "wrangler deploy",
26
- "preview": "wrangler dev"
24
+ "test:release": ".venv/bin/python3 scripts/run-test-tier.py run release"
27
25
  },
28
26
  "style": "dist/assets/css/moo-ui.css",
29
27
  "exports": {
@@ -110,7 +108,6 @@
110
108
  "devDependencies": {
111
109
  "axe-core": "4.14.0",
112
110
  "chart.js": "4.5.1",
113
- "esbuild": "0.28.2",
114
- "wrangler": "^4.120.0"
111
+ "esbuild": "0.28.2"
115
112
  }
116
113
  }
@@ -46,7 +46,7 @@
46
46
  .field-description,
47
47
  .field-error {
48
48
  margin-top: 0;
49
- font-size: $font-size-base;
49
+ font-size: var(--moo-small-font-size);
50
50
  }
51
51
 
52
52
  .field-group {
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI v1.4.1 (https://wpmoo.org/)
2
+ * Moo UI v1.4.3 (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
  *