@tak-ps/vue-tabler 5.2.0 → 5.2.1

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/CHANGELOG.md CHANGED
@@ -12,6 +12,10 @@
12
12
 
13
13
  ### Pending
14
14
 
15
+ ### v5.2.1
16
+
17
+ - :bug: Ensure Input Error border is shown consistently
18
+
15
19
  ### v5.2.0
16
20
 
17
21
  - :rocket: Allow setting custom Delete title
@@ -324,6 +324,17 @@ input:autofill {
324
324
  border-color: var(--tblr-border-color);
325
325
  }
326
326
 
327
+ /*
328
+ * The border-color reset above outranks Tabler's own .form-control.is-invalid
329
+ * rule (the scoped attribute selector adds specificity), so restore the
330
+ * invalid border at the same scope or the red outline only ever appears on
331
+ * the end adornment span
332
+ */
333
+ .input-group :deep(.form-control.is-invalid),
334
+ .position-relative > .form-control.is-invalid {
335
+ border-color: var(--tblr-form-invalid-border-color, var(--tblr-danger));
336
+ }
337
+
327
338
  .input-group :deep(.form-control),
328
339
  .position-relative > .form-control {
329
340
  color: var(--tblr-body-color);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "5.2.0",
4
+ "version": "5.2.1",
5
5
  "lib": "lib.ts",
6
6
  "main": "lib.ts",
7
7
  "module": "lib.ts",