@bigbinary/neeto-rules-frontend 2.8.1 → 2.8.2-beta1

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.
Files changed (30) hide show
  1. package/dist/.ready +1 -1
  2. package/dist/NeetoRulesBuilder.js +2 -2
  3. package/dist/NeetoRulesForm.js +2 -2
  4. package/dist/cjs/NeetoRulesBuilder.js +2 -2
  5. package/dist/cjs/NeetoRulesForm.js +2 -2
  6. package/dist/cjs/index.js +2 -2
  7. package/dist/cjs/v2/NeetoRulesBuilder.js +19 -5
  8. package/dist/cjs/v2/NeetoRulesBuilder.js.map +1 -1
  9. package/dist/cjs/v2/NeetoRulesForm.js +2 -2
  10. package/dist/cjs/v2/index.js +3 -3
  11. package/dist/{index-BaOdrc0i.js → index-2g75amrM.js} +2 -2
  12. package/dist/{index-BaOdrc0i.js.map → index-2g75amrM.js.map} +1 -1
  13. package/dist/{index-DKzV1N4S.js → index-D-pmcUGT.js} +2 -2
  14. package/dist/{index-DKzV1N4S.js.map → index-D-pmcUGT.js.map} +1 -1
  15. package/dist/{index-mKR24WaR.js → index-ql13coG-.js} +2 -2
  16. package/dist/{index-mKR24WaR.js.map → index-ql13coG-.js.map} +1 -1
  17. package/dist/{index-I0Wx9GGO.js → index-r4DcZ3Hk.js} +2 -2
  18. package/dist/{index-I0Wx9GGO.js.map → index-r4DcZ3Hk.js.map} +1 -1
  19. package/dist/index.js +2 -2
  20. package/dist/keyboardShortcuts-B-6CQw6N.js +92 -0
  21. package/dist/{keyboardShortcuts-CsMwT9YF.js.map → keyboardShortcuts-B-6CQw6N.js.map} +1 -1
  22. package/dist/keyboardShortcuts-BGpApRKG.js +96 -0
  23. package/dist/{keyboardShortcuts-CnEwhJom.js.map → keyboardShortcuts-BGpApRKG.js.map} +1 -1
  24. package/dist/v2/NeetoRulesBuilder.js +20 -6
  25. package/dist/v2/NeetoRulesBuilder.js.map +1 -1
  26. package/dist/v2/NeetoRulesForm.js +2 -2
  27. package/dist/v2/index.js +3 -3
  28. package/package.json +22 -22
  29. package/dist/keyboardShortcuts-CnEwhJom.js +0 -96
  30. package/dist/keyboardShortcuts-CsMwT9YF.js +0 -92
package/dist/.ready CHANGED
@@ -1 +1 @@
1
- Built at 2026-10-10T08:32:50.366Z
1
+ Built at 2026-10-16T08:01:46.229Z
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
3
- import { f as flatten, S as SHORTCUTS } from './keyboardShortcuts-CsMwT9YF.js';
3
+ import { f as flatten, S as SHORTCUTS } from './keyboardShortcuts-B-6CQw6N.js';
4
4
  import { useShallow } from 'zustand/shallow';
5
5
  import { useState, useRef, useEffect, createElement, Fragment as Fragment$1, useCallback, useMemo } from 'react';
6
6
  import classNames from 'classnames';
@@ -11,7 +11,7 @@ import Header from '@bigbinary/neeto-molecules/Header';
11
11
  import Spinner from '@bigbinary/neetoui/Spinner';
12
12
  import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
13
13
  import { useTranslation } from 'react-i18next';
14
- import { E as EditorAction, o as Panel, r as ErrorCallout, s as SmsFields, M as MIN_DELAY_VALUE, t as MAX_DELAY_VALUE, v as PhoneNumberField, l as formatData, u as usePollRuleName, T as TouchErrors, n as ScrollToErrorField, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE, m as buildPayload } from './index-DKzV1N4S.js';
14
+ import { E as EditorAction, o as Panel, r as ErrorCallout, s as SmsFields, M as MIN_DELAY_VALUE, t as MAX_DELAY_VALUE, v as PhoneNumberField, l as formatData, u as usePollRuleName, T as TouchErrors, n as ScrollToErrorField, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE, m as buildPayload } from './index-D-pmcUGT.js';
15
15
  import { u as useCustomDataStore } from './useCustomDataStore-BtKYtLVc.js';
16
16
  import { u as useUtilityStore } from './useUtilityStore-CCUYS1mS.js';
17
17
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
3
- import './keyboardShortcuts-CsMwT9YF.js';
3
+ import './keyboardShortcuts-B-6CQw6N.js';
4
4
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
5
5
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
6
6
  import { useShallow } from 'zustand/shallow';
@@ -15,7 +15,7 @@ import { u as useUtilityStore } from './useUtilityStore-CCUYS1mS.js';
15
15
  import classNames from 'classnames';
16
16
  import Typography from '@bigbinary/neetoui/Typography';
17
17
  import { isNotNil, isEmpty, pluck } from 'ramda';
18
- import { g as getActionOptions, a as getFieldDetails, b as getSlackChannelErrors, c as getOptionsKey, d as getActionLabel, A as ActionSubItem, F as FIELDS_WITH_OPTIONS, P as PANEL_TYPES, D as DEFAULT_RULE_ACTION, e as getLogicalOperatorOptions, f as getFieldDetails$1, h as getVerbOptions, R as RadioField$1, S as SelectField$1, V as ValueField, i as DEFAULT_DELAY, j as getAllEvents, O as OPERATORS$1, k as STATUS_KEYS, l as formatData, u as usePollRuleName, T as TouchErrors, m as buildPayload, n as ScrollToErrorField, o as Panel, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE } from './index-DKzV1N4S.js';
18
+ import { g as getActionOptions, a as getFieldDetails, b as getSlackChannelErrors, c as getOptionsKey, d as getActionLabel, A as ActionSubItem, F as FIELDS_WITH_OPTIONS, P as PANEL_TYPES, D as DEFAULT_RULE_ACTION, e as getLogicalOperatorOptions, f as getFieldDetails$1, h as getVerbOptions, R as RadioField$1, S as SelectField$1, V as ValueField, i as DEFAULT_DELAY, j as getAllEvents, O as OPERATORS$1, k as STATUS_KEYS, l as formatData, u as usePollRuleName, T as TouchErrors, m as buildPayload, n as ScrollToErrorField, o as Panel, p as getValidationSchema, q as DEFAULT_INITIAL_VALUE } from './index-D-pmcUGT.js';
19
19
  import { a as useActiveField, u as useCustomDataStore } from './useCustomDataStore-BtKYtLVc.js';
20
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
21
21
  import { joinHyphenCase } from '@bigbinary/neeto-commons-frontend/utils';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
5
- var keyboardShortcuts = require('../keyboardShortcuts-CnEwhJom.js');
5
+ var keyboardShortcuts = require('../keyboardShortcuts-BGpApRKG.js');
6
6
  var shallow = require('zustand/shallow');
7
7
  var react = require('react');
8
8
  var classNames = require('classnames');
@@ -13,7 +13,7 @@ var Header = require('@bigbinary/neeto-molecules/Header');
13
13
  var Spinner = require('@bigbinary/neetoui/Spinner');
14
14
  var ActionBlock = require('@bigbinary/neetoui/formik/ActionBlock');
15
15
  var reactI18next = require('react-i18next');
16
- var index = require('../index-mKR24WaR.js');
16
+ var index = require('../index-ql13coG-.js');
17
17
  var useCustomDataStore = require('../useCustomDataStore-DxFx8aCf.js');
18
18
  var useUtilityStore = require('../useUtilityStore-C_U20IMX.js');
19
19
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
5
- require('../keyboardShortcuts-CnEwhJom.js');
5
+ require('../keyboardShortcuts-BGpApRKG.js');
6
6
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
7
7
  var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
8
8
  var shallow = require('zustand/shallow');
@@ -17,7 +17,7 @@ var useUtilityStore = require('../useUtilityStore-C_U20IMX.js');
17
17
  var classNames = require('classnames');
18
18
  var Typography = require('@bigbinary/neetoui/Typography');
19
19
  var ramda = require('ramda');
20
- var index = require('../index-mKR24WaR.js');
20
+ var index = require('../index-ql13coG-.js');
21
21
  var useCustomDataStore = require('../useCustomDataStore-DxFx8aCf.js');
22
22
  var jsxRuntime = require('react/jsx-runtime');
23
23
  var utils = require('@bigbinary/neeto-commons-frontend/utils');
package/dist/cjs/index.js CHANGED
@@ -54,9 +54,9 @@ require('@hello-pangea/dnd');
54
54
  require('@bigbinary/neeto-icons/Drag');
55
55
  require('react-router-dom');
56
56
  require('@babel/runtime/helpers/objectDestructuringEmpty');
57
- require('../keyboardShortcuts-CnEwhJom.js');
57
+ require('../keyboardShortcuts-BGpApRKG.js');
58
58
  require('classnames');
59
- require('../index-mKR24WaR.js');
59
+ require('../index-ql13coG-.js');
60
60
  require('@babel/runtime/helpers/typeof');
61
61
  require('yup');
62
62
  require('@bigbinary/neeto-icons/Search');
@@ -2,7 +2,7 @@
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
5
- var keyboardShortcuts = require('../../keyboardShortcuts-CnEwhJom.js');
5
+ var keyboardShortcuts = require('../../keyboardShortcuts-BGpApRKG.js');
6
6
  var shallow = require('zustand/shallow');
7
7
  var react = require('react');
8
8
  var classNames = require('classnames');
@@ -13,7 +13,7 @@ var neetoCist = require('@bigbinary/neeto-cist');
13
13
  var Container = require('@bigbinary/neeto-molecules/v2/Container');
14
14
  var Header = require('@bigbinary/neeto-molecules/v2/Header');
15
15
  var reactI18next = require('react-i18next');
16
- var index = require('../../index-BaOdrc0i.js');
16
+ var index = require('../../index-2g75amrM.js');
17
17
  var useCustomDataStore = require('../../useCustomDataStore-DPmWkEhs.js');
18
18
  var useUtilityStore = require('../../useUtilityStore-gtPhFvpI.js');
19
19
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
@@ -26,6 +26,7 @@ var jsxRuntime = require('react/jsx-runtime');
26
26
  var _typeof = require('@babel/runtime/helpers/typeof');
27
27
  var i18next = require('i18next');
28
28
  var yup = require('yup');
29
+ var Info = require('@bigbinary/neeto-icons/Info');
29
30
  var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
30
31
  var useHotkeys = require('@bigbinary/neeto-hotkeys');
31
32
  var Search = require('@bigbinary/neeto-icons/Search');
@@ -33,7 +34,6 @@ var utils = require('@bigbinary/neeto-commons-frontend/v2/utils');
33
34
  var utils$1 = require('../../utils-CvvJ6wvi.js');
34
35
  var Up = require('@bigbinary/neeto-icons/Up');
35
36
  var Down = require('@bigbinary/neeto-icons/Down');
36
- var Info = require('@bigbinary/neeto-icons/Info');
37
37
  var initializers = require('@bigbinary/neeto-commons-frontend/v2/initializers');
38
38
  require('../../useAutomationRulesApi-C1T2E1AN.js');
39
39
  require('@tanstack/react-query');
@@ -573,6 +573,7 @@ var actionParts = function actionParts(_ref15) {
573
573
  configTitle: channelMeta.configTitle || (option === null || option === void 0 ? void 0 : option.configTitle),
574
574
  configSubtitle: channelMeta.configSubtitle || (option === null || option === void 0 ? void 0 : option.configSubtitle),
575
575
  steps: channelMeta.steps || (option === null || option === void 0 ? void 0 : option.steps) || [],
576
+ infoTooltip: channelMeta.infoTooltip || (option === null || option === void 0 ? void 0 : option.infoTooltip),
576
577
  recipientTitle: channelMeta.recipientTitle || (option === null || option === void 0 ? void 0 : option.recipientTitle),
577
578
  recipientSubtitle: channelMeta.recipientSubtitle || (option === null || option === void 0 ? void 0 : option.recipientSubtitle)
578
579
  };
@@ -1610,7 +1611,8 @@ var ActionRow = function ActionRow(_ref) {
1610
1611
  paramKind = _actionParts.paramKind,
1611
1612
  valueNoun = _actionParts.valueNoun,
1612
1613
  valueNounPlural = _actionParts.valueNounPlural,
1613
- steps = _actionParts.steps;
1614
+ steps = _actionParts.steps,
1615
+ infoTooltip = _actionParts.infoTooltip;
1614
1616
 
1615
1617
  // A separator-less action still needs a value slot when the host declares a
1616
1618
  // placeholder for it, otherwise its chosen value never reaches the canvas.
@@ -1718,6 +1720,18 @@ var ActionRow = function ActionRow(_ref) {
1718
1720
  })]
1719
1721
  }, "step-".concat(step.key));
1720
1722
  });
1723
+ var infoToken = infoTooltip ? /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Tooltip, {
1724
+ content: infoTooltip,
1725
+ position: "top",
1726
+ children: /*#__PURE__*/jsxRuntime.jsx("span", {
1727
+ "aria-label": infoTooltip,
1728
+ className: "mb-info",
1729
+ "data-testid": "action-info-".concat(index),
1730
+ children: /*#__PURE__*/jsxRuntime.jsx(Info, {
1731
+ size: 16
1732
+ })
1733
+ })
1734
+ }) : null;
1721
1735
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
1722
1736
  className: classNames("mb-row mb-row-draggable", {
1723
1737
  clearing: clearing
@@ -1791,7 +1805,7 @@ var ActionRow = function ActionRow(_ref) {
1791
1805
  size: 14
1792
1806
  }), configLabel]
1793
1807
  })]
1794
- }), recipientSeparator ? [recipientToken, configToken] : [configToken, recipientToken], stepTokens]
1808
+ }), recipientSeparator ? [recipientToken, configToken] : [configToken, recipientToken], stepTokens, infoToken]
1795
1809
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
1796
1810
  className: "mb-row-actions",
1797
1811
  children: [handleAddAction && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {