@colisweb/rescript-toolkit 2.18.0 → 2.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.18.0",
3
+ "version": "2.18.1",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build",
@@ -164,8 +164,12 @@ module Make = (StateLenses: Config) => {
164
164
  | "password" =>
165
165
  <Toolkit__Ui_Tooltip
166
166
  label={showPassword
167
- ? <ReactIntl.FormattedMessage defaultMessage="Hide password" />
168
- : <ReactIntl.FormattedMessage defaultMessage="Show password" />}>
167
+ ? <ReactIntl.FormattedMessage
168
+ id="toolkit.hidePassword" defaultMessage="Hide password"
169
+ />
170
+ : <ReactIntl.FormattedMessage
171
+ id="toolkit.showPassword" defaultMessage="Show password"
172
+ />}>
169
173
  <button
170
174
  type_="button"
171
175
  className="p-1 bg-neutral-300 rounded-r border border-gray-300 text-neutral-800"