@dloizides/ui-forms 1.13.2 → 1.13.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/CHANGELOG.md +15 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -465,6 +465,7 @@ var TRANSITION_TIMING = "ease";
|
|
|
465
465
|
var FOCUS_RING_WIDTH = 3;
|
|
466
466
|
var FOCUS_RING_ALPHA = 0.16;
|
|
467
467
|
var HOVER_BORDER_ALPHA = 0.22;
|
|
468
|
+
var PLACEHOLDER_ALPHA = 0.6;
|
|
468
469
|
var HEX_RADIX = 16;
|
|
469
470
|
var HEX_SHORT_LENGTH = 4;
|
|
470
471
|
var HEX_FULL_LENGTH = 7;
|
|
@@ -546,7 +547,7 @@ function useThemedInput(options = {}) {
|
|
|
546
547
|
);
|
|
547
548
|
return {
|
|
548
549
|
style,
|
|
549
|
-
placeholderTextColor: colors.textSecondary,
|
|
550
|
+
placeholderTextColor: withAlpha(colors.textSecondary, PLACEHOLDER_ALPHA),
|
|
550
551
|
isFocused,
|
|
551
552
|
isHovered,
|
|
552
553
|
focusBind,
|