@colisweb/rescript-toolkit 5.44.4 → 5.44.5
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/package.json
CHANGED
|
@@ -85,6 +85,7 @@ module Make = (StateLenses: Config) => {
|
|
|
85
85
|
~inputClassName="",
|
|
86
86
|
~labelClassName="",
|
|
87
87
|
~inputContainerClassName="",
|
|
88
|
+
~passwordToggleButtonClassName="",
|
|
88
89
|
~step=?,
|
|
89
90
|
~min=?,
|
|
90
91
|
~max=?,
|
|
@@ -163,7 +164,10 @@ module Make = (StateLenses: Config) => {
|
|
|
163
164
|
: <ReactIntl.FormattedMessage defaultMessage="Afficher le mot de passe" />}
|
|
164
165
|
triggerContent={<button
|
|
165
166
|
type_="button"
|
|
166
|
-
className=
|
|
167
|
+
className={cx([
|
|
168
|
+
"p-1 bg-neutral-300 rounded-r border border-gray-300 text-neutral-800",
|
|
169
|
+
passwordToggleButtonClassName,
|
|
170
|
+
])}
|
|
167
171
|
onClick={_ => setShowPassword(v => !v)}>
|
|
168
172
|
{showPassword
|
|
169
173
|
? <ReactIcons.AiFillEyeInvisible size={26} />
|