@bigbinary/neeto-molecules 1.0.54 → 1.0.55

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.
@@ -1,6 +1,6 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Typography, Button as Button$1, Dropdown, Tooltip, Alert, Switch } from '@bigbinary/neetoui';
3
- import { useTranslation } from 'react-i18next';
3
+ import { useTranslation, Trans } from 'react-i18next';
4
4
  import { Neeto } from '@bigbinary/neeto-icons/logos';
5
5
  import { Check, Close, MenuVertical, Plus } from '@bigbinary/neeto-icons';
6
6
  import { Form, Input, Button } from '@bigbinary/neetoui/formik';
@@ -3491,9 +3491,15 @@ var Row = function Row(_ref) {
3491
3491
  }, t("neetoMolecules.common.actions.delete")))), /*#__PURE__*/React.createElement(Alert, {
3492
3492
  isOpen: isDeleteIpRangeAlertOpen,
3493
3493
  submitButtonLabel: t("neetoMolecules.common.actions.delete"),
3494
- message: t("neetoMolecules.ipRestriction.allowedIpRangeConfirmation", data),
3494
+ message: /*#__PURE__*/React.createElement(Trans, {
3495
+ i18nKey: "neetoMolecules.ipRestriction.allowedIpRangeConfirmation",
3496
+ values: {
3497
+ ipStart: data.ipStart,
3498
+ ipEnd: data.ipEnd
3499
+ }
3500
+ }),
3495
3501
  title: t("neetoMolecules.common.deleteAlert.title", {
3496
- entity: t("neetoMolecules.ipRestriction.allowedIpRangeTitle")
3502
+ entity: t("neetoMolecules.ipRestriction.allowedIpRangeConfirmationTitle")
3497
3503
  }),
3498
3504
  onClose: function onClose() {
3499
3505
  return setIsDeleteIpRangeAlertOpen(false);