@wpmoo/ui 1.4.0 → 1.4.2

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/state.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI state.js v1.4.0 (https://wpmoo.org/)
2
+ * Moo UI state.js v1.4.2 (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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI table-of-contents.js v1.4.0 (https://wpmoo.org/)
2
+ * Moo UI table-of-contents.js v1.4.2 (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.0 (https://wpmoo.org/)
2
+ * Moo UI toc.js v1.4.2 (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": "c7700a1f9115a2aea5543e42cf831197d04be108c5a383f981174861d233893b"
6
+ "sha256": "81e7f1c68c51e23ea5bb1fe632d95ae39e1005da6ccaa0eb4cfc8356b5ba7cd9"
7
7
  },
8
8
  {
9
9
  "export": "./moo-ui.css",
10
10
  "path": "dist/assets/css/moo-ui.css",
11
- "sha256": "cbf297fc2ca8f88bcdef8f1f27640515397a9d43018d4bb9f6745ec026f94c8d"
11
+ "sha256": "c744003a0d0a5be3e511e39dbe980ae193b4043a2fa9c25ca3182c8b04c94760"
12
12
  },
13
13
  {
14
14
  "export": "./state.js",
15
15
  "path": "dist/js/state.js",
16
- "sha256": "aa984bfd999a085342def93304b7c731a9378d57fae9379c65d90121c76f8003"
16
+ "sha256": "89b93e0b449637391efab9b42e0ac8a87d63be5babd8cb6a2fa2a757487ea6f7"
17
17
  }
18
18
  ],
19
19
  "package": {
20
20
  "name": "@wpmoo/ui",
21
- "version": "1.4.0"
21
+ "version": "1.4.2"
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.0",
3
+ "version": "1.4.2",
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)",
@@ -9,6 +9,7 @@
9
9
  }
10
10
 
11
11
  .moo-datepicker__trigger {
12
+ --bs-btn-font-weight: #{$input-font-weight};
12
13
  width: 100%;
13
14
  justify-content: flex-start;
14
15
  text-align: start;
@@ -20,6 +21,10 @@
20
21
  text-overflow: ellipsis;
21
22
  }
22
23
 
24
+ .moo-datepicker__trigger:not(:disabled):not(.is-invalid):not(:hover, :active, :focus-visible, [aria-expanded="true"]) [data-datepicker-empty="true"] {
25
+ color: $input-placeholder-color;
26
+ }
27
+
23
28
  .moo-datepicker__trigger.is-invalid {
24
29
  border-color: var(--bs-form-invalid-border-color);
25
30
  color: var(--bs-form-invalid-color);
@@ -6,6 +6,9 @@
6
6
 
7
7
  > .form-label {
8
8
  margin-bottom: 0;
9
+ }
10
+
11
+ .form-label {
9
12
  font-weight: $font-weight-medium;
10
13
  }
11
14
 
@@ -43,7 +46,7 @@
43
46
  .field-description,
44
47
  .field-error {
45
48
  margin-top: 0;
46
- font-size: $font-size-base;
49
+ font-size: var(--moo-small-font-size);
47
50
  }
48
51
 
49
52
  .field-group {
@@ -1,5 +1,9 @@
1
1
  /* Select */
2
2
  .form-select {
3
+ &:not(:disabled):not([multiple]):is(:not([size]), [size="1"]):has(option[data-placeholder="true"]:checked) {
4
+ color: $input-placeholder-color;
5
+ }
6
+
3
7
  option,
4
8
  optgroup {
5
9
  color: var(--bs-body-color);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Moo UI v1.4.0 (https://wpmoo.org/)
2
+ * Moo UI v1.4.2 (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
  *
@@ -5,7 +5,7 @@ $input-line-height: 1.4285714286 !default;
5
5
  $input-bg: var(--moo-input-bg, transparent) !default;
6
6
  $input-border-color: var(--moo-border) !default;
7
7
  $input-border-radius: var(--bs-border-radius-lg) !default;
8
- $input-placeholder-color: var(--bs-tertiary-color) !default;
8
+ $input-placeholder-color: var(--bs-secondary-color) !default;
9
9
  $input-focus-bg: var(--moo-input-bg, transparent) !default;
10
10
  $input-disabled-color: var(--moo-disabled-foreground) !default;
11
11
  $form-select-disabled-color: $input-disabled-color !default;