@bigbinary/neeto-rules-frontend 2.5.61 → 2.5.63

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 (70) hide show
  1. package/dist/.ready +1 -1
  2. package/dist/CannedResponsesPane.js +8 -8
  3. package/dist/CannedResponsesPane.js.map +1 -1
  4. package/dist/NeetoRules.js +5 -5
  5. package/dist/NeetoRules.js.map +1 -1
  6. package/dist/NeetoRulesForm.js +78 -77
  7. package/dist/NeetoRulesForm.js.map +1 -1
  8. package/dist/RulePreview.js +3 -3
  9. package/dist/RulePreview.js.map +1 -1
  10. package/dist/cjs/CannedResponsesPane.js +8 -8
  11. package/dist/cjs/CannedResponsesPane.js.map +1 -1
  12. package/dist/cjs/NeetoRules.js +4 -4
  13. package/dist/cjs/NeetoRules.js.map +1 -1
  14. package/dist/cjs/NeetoRulesForm.js +77 -76
  15. package/dist/cjs/NeetoRulesForm.js.map +1 -1
  16. package/dist/cjs/RulePreview.js +2 -2
  17. package/dist/cjs/RulePreview.js.map +1 -1
  18. package/dist/cjs/hooks.js +1 -1
  19. package/dist/cjs/index.js +2 -3
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/cjs/v2/CannedResponsesPane.js +8 -8
  22. package/dist/cjs/v2/CannedResponsesPane.js.map +1 -1
  23. package/dist/cjs/v2/NeetoRules.js +14 -25
  24. package/dist/cjs/v2/NeetoRules.js.map +1 -1
  25. package/dist/cjs/v2/NeetoRulesForm.js +309 -332
  26. package/dist/cjs/v2/NeetoRulesForm.js.map +1 -1
  27. package/dist/cjs/v2/RulePreview.js +53 -54
  28. package/dist/cjs/v2/RulePreview.js.map +1 -1
  29. package/dist/cjs/v2/RulesReorder.js +2 -2
  30. package/dist/cjs/v2/hooks.js +1 -1
  31. package/dist/cjs/v2/index.js +5 -19
  32. package/dist/cjs/v2/index.js.map +1 -1
  33. package/dist/hooks.js +1 -1
  34. package/dist/{index-CSnQp41c.js → index-BEAX6XxM.js} +11 -11
  35. package/dist/index-BEAX6XxM.js.map +1 -0
  36. package/dist/{index-BBcadHIi.js → index-DS9tZpYh.js} +11 -11
  37. package/dist/index-DS9tZpYh.js.map +1 -0
  38. package/dist/index.js +2 -3
  39. package/dist/index.js.map +1 -1
  40. package/dist/{useActiveField-DunVO8SS.js → useActiveField-9aCscxu8.js} +6 -6
  41. package/dist/useActiveField-9aCscxu8.js.map +1 -0
  42. package/dist/{useActiveField-D2fv_EeJ.js → useActiveField-CPw24qyf.js} +5 -5
  43. package/dist/useActiveField-CPw24qyf.js.map +1 -0
  44. package/dist/{useCustomDataStore-D7hl6nev.js → useCustomDataStore-CU3KpyD4.js} +6 -6
  45. package/dist/useCustomDataStore-CU3KpyD4.js.map +1 -0
  46. package/dist/{useCustomDataStore-DipT25Pg.js → useCustomDataStore-D9k8F5g-.js} +5 -5
  47. package/dist/useCustomDataStore-D9k8F5g-.js.map +1 -0
  48. package/dist/{useDebouncedUpdate-6Ibug5MF.js → useDebouncedUpdate-DDFcag0p.js} +2 -2
  49. package/dist/{useDebouncedUpdate-6Ibug5MF.js.map → useDebouncedUpdate-DDFcag0p.js.map} +1 -1
  50. package/dist/{useDebouncedUpdate-BcPAGgg7.js → useDebouncedUpdate-sW5WvXe0.js} +2 -2
  51. package/dist/{useDebouncedUpdate-BcPAGgg7.js.map → useDebouncedUpdate-sW5WvXe0.js.map} +1 -1
  52. package/dist/v2/CannedResponsesPane.js +8 -8
  53. package/dist/v2/CannedResponsesPane.js.map +1 -1
  54. package/dist/v2/NeetoRules.js +15 -26
  55. package/dist/v2/NeetoRules.js.map +1 -1
  56. package/dist/v2/NeetoRulesForm.js +300 -323
  57. package/dist/v2/NeetoRulesForm.js.map +1 -1
  58. package/dist/v2/RulePreview.js +54 -55
  59. package/dist/v2/RulePreview.js.map +1 -1
  60. package/dist/v2/RulesReorder.js +2 -2
  61. package/dist/v2/hooks.js +1 -1
  62. package/dist/v2/index.js +5 -19
  63. package/dist/v2/index.js.map +1 -1
  64. package/package.json +3 -3
  65. package/dist/index-BBcadHIi.js.map +0 -1
  66. package/dist/index-CSnQp41c.js.map +0 -1
  67. package/dist/useActiveField-D2fv_EeJ.js.map +0 -1
  68. package/dist/useActiveField-DunVO8SS.js.map +0 -1
  69. package/dist/useCustomDataStore-D7hl6nev.js.map +0 -1
  70. package/dist/useCustomDataStore-DipT25Pg.js.map +0 -1
@@ -2,16 +2,15 @@
2
2
 
3
3
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _objectDestructuringEmpty = require('@babel/runtime/helpers/objectDestructuringEmpty');
5
- var useDebouncedUpdate = require('../../useDebouncedUpdate-6Ibug5MF.js');
5
+ var useDebouncedUpdate = require('../../useDebouncedUpdate-DDFcag0p.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');
9
9
  var react = require('react');
10
10
  var neetoAtoms = require('@bigbinary/neeto-atoms');
11
11
  var formik = require('formik');
12
+ var lucideReact = require('lucide-react');
12
13
  var neetoCist = require('@bigbinary/neeto-cist');
13
- var Plus = require('@bigbinary/neeto-icons/Plus');
14
- var Delete = require('@bigbinary/neeto-icons/Delete');
15
14
  var reactI18next = require('react-i18next');
16
15
  var useUtilityStore = require('../../useUtilityStore-DkxAexDw.js');
17
16
  var classNames = require('classnames');
@@ -19,34 +18,24 @@ var ramda = require('ramda');
19
18
  var i18next = require('i18next');
20
19
  var yup = require('yup');
21
20
  var formik$1 = require('@bigbinary/neeto-atoms/formik');
22
- var Search = require('@bigbinary/neeto-icons/Search');
23
- var useCustomDataStore = require('../../useCustomDataStore-DipT25Pg.js');
21
+ var useCustomDataStore = require('../../useCustomDataStore-D9k8F5g-.js');
24
22
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
25
23
  var jsxRuntime = require('react/jsx-runtime');
26
- var Collapse = require('@bigbinary/neeto-icons/Collapse');
27
- var Left = require('@bigbinary/neeto-icons/Left');
28
24
  var reactUtils = require('@bigbinary/neeto-commons-frontend/v2/react-utils');
29
25
  var Editor = require('@monaco-editor/react');
30
- var Help = require('@bigbinary/neeto-icons/Help');
31
- var DynamicVariables = require('@bigbinary/neeto-molecules/DynamicVariables');
26
+ var DynamicVariables = require('@bigbinary/neeto-molecules/v2/DynamicVariables');
32
27
  var utils = require('@bigbinary/neeto-commons-frontend/v2/utils');
33
28
  var utils$1 = require('../../utils-B3roKiff.js');
34
29
  var FormikEditor = require('@bigbinary/neeto-editor/FormikEditor');
35
- var Refresh = require('@bigbinary/neeto-icons/Refresh');
36
30
  var useHotkeys = require('@bigbinary/neeto-hotkeys');
37
- var Check = require('@bigbinary/neeto-icons/Check');
38
- var Close = require('@bigbinary/neeto-icons/Close');
39
31
  var CreatableSelect = require('react-select/creatable');
40
32
  var _toArray = require('@babel/runtime/helpers/toArray');
41
- var PhoneNumber = require('@bigbinary/neeto-molecules/PhoneNumber');
33
+ var PhoneNumber = require('@bigbinary/neeto-molecules/v2/PhoneNumber');
42
34
  var reactSelect = require('react-select');
43
35
  var constants = require('../../constants-dLBadaIU.js');
44
36
  var initializers = require('@bigbinary/neeto-commons-frontend/v2/initializers');
45
37
  var _asyncToGenerator = require('@babel/runtime/helpers/asyncToGenerator');
46
- var _regeneratorRuntime = require('@babel/runtime/regenerator');
47
38
  var utils$2 = require('@bigbinary/neeto-editor/utils');
48
- var Eye = require('@bigbinary/neeto-icons/Eye');
49
- var Down = require('@bigbinary/neeto-icons/Down');
50
39
  var Container = require('@bigbinary/neeto-molecules/v2/Container');
51
40
  var NeetoHeader = require('@bigbinary/neeto-molecules/v2/Header');
52
41
  require('@bigbinary/neeto-commons-frontend/react-utils');
@@ -93,7 +82,7 @@ var Footer = function Footer(_ref) {
93
82
  className = _ref.className;
94
83
  return /*#__PURE__*/jsxRuntime.jsx("div", {
95
84
  "data-testid": "pane-footer",
96
- className: classNames("neeto-rules-side-panel__footer neeto-ui-border-gray-200 flex items-center justify-between border-t p-6", className),
85
+ className: classNames("neeto-rules-side-panel__footer border-border flex items-center justify-between border-t p-6", className),
97
86
  children: children
98
87
  });
99
88
  };
@@ -101,30 +90,27 @@ var Footer = function Footer(_ref) {
101
90
  var Header = function Header(_ref) {
102
91
  var children = _ref.children,
103
92
  className = _ref.className;
104
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
93
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
105
94
  return {
106
95
  resetPanelState: store["resetPanelState"]
107
96
  };
108
- }, shallow.shallow),
97
+ })),
109
98
  resetPanelState = _useUtilityStore.resetPanelState;
110
99
  var _useTranslation = reactI18next.useTranslation(),
111
100
  t = _useTranslation.t;
112
101
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
113
102
  "data-testid": "pane-header",
114
- className: classNames("neeto-rules-side-panel__header neeto-ui-border-gray-200 flex items-start justify-between border-b p-6", _defineProperty({}, className, className)),
103
+ className: classNames("neeto-rules-side-panel__header border-border flex items-start justify-between border-b p-6", _defineProperty({}, className, className)),
115
104
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
116
105
  className: "flex min-w-0 grow",
117
106
  children: children
118
107
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
119
108
  className: "shrink-0 scale-x-[-1] rtl:rotate-180",
120
109
  "data-testid": "collapse-sidebar-button",
121
- icon: Collapse,
110
+ icon: lucideReact.PanelRightClose,
122
111
  size: "default",
112
+ title: t("neetoRules.common.collapseSidebar"),
123
113
  variant: "ghost",
124
- tooltipProps: {
125
- content: t("neetoRules.common.collapseSidebar"),
126
- placement: "bottom"
127
- },
128
114
  onClick: resetPanelState
129
115
  })]
130
116
  });
@@ -134,12 +120,12 @@ var _excluded$f = ["component"];
134
120
  function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
135
121
  function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
136
122
  var Panel = function Panel() {
137
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
123
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
138
124
  return {
139
125
  panelState: store["panelState"],
140
126
  resetPanelState: store["resetPanelState"]
141
127
  };
142
- }, shallow.shallow),
128
+ })),
143
129
  panelState = _useUtilityStore.panelState,
144
130
  resetPanelState = _useUtilityStore.resetPanelState;
145
131
  var config = {
@@ -161,7 +147,7 @@ var Panel = function Panel() {
161
147
  large: "neeto-rules-side-panel--large"
162
148
  }[panelState.size] || "neeto-rules-side-panel--small";
163
149
  return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread$u(_objectSpread$u({
164
- className: classNames("neeto-rules-side-panel neeto-ui-border-gray-200 transition-width neeto-ui-bg-white ms-auto flex h-screen max-h-full flex-col overflow-y-auto border-s duration-300 ease-in-out", _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, panelSize, isOpen), "w-0 overflow-hidden", !isOpen), "absolute", hasOverlays), "end-0", hasOverlays))
150
+ className: classNames("neeto-rules-side-panel border-border transition-width bg-background ms-auto flex h-screen max-h-full flex-col overflow-y-auto border-s duration-300 ease-in-out", _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, panelSize, isOpen), "w-0 overflow-hidden", !isOpen), "absolute", hasOverlays), "end-0", hasOverlays))
165
151
  }, paneProps), {}, {
166
152
  children: /*#__PURE__*/jsxRuntime.jsx(Component, _objectSpread$u(_objectSpread$u({}, data), {}, {
167
153
  onClose: resetPanelState
@@ -175,7 +161,7 @@ Panel.Footer = Footer;
175
161
  var StickySidebarHeader = function StickySidebarHeader(_ref) {
176
162
  var children = _ref.children;
177
163
  return /*#__PURE__*/jsxRuntime.jsx("div", {
178
- className: "sticky top-0 neeto-ui-bg-white py-6 flex flex-col gap-3",
164
+ className: "sticky top-0 bg-background py-6 flex flex-col gap-3",
179
165
  children: children
180
166
  });
181
167
  };
@@ -334,15 +320,15 @@ var ActionPanel = function ActionPanel() {
334
320
  _useState2 = _slicedToArray(_useState, 2),
335
321
  searchTerm = _useState2[0],
336
322
  setSearchTerm = _useState2[1];
337
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
323
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
338
324
  return {
339
325
  setPanelState: store["setPanelState"],
340
326
  resetPanelState: store["resetPanelState"]
341
327
  };
342
- }, shallow.shallow),
328
+ })),
343
329
  setPanelState = _useUtilityStore.setPanelState,
344
330
  resetPanelState = _useUtilityStore.resetPanelState;
345
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
331
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
346
332
  var _store$panelState, _store$panelState2, _store$panelState3, _store$panelState4, _store$panelState5, _store$panelState6, _store$panelState7;
347
333
  return {
348
334
  index: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["index"],
@@ -353,7 +339,7 @@ var ActionPanel = function ActionPanel() {
353
339
  errorMessage: (_store$panelState6 = store["panelState"]) === null || _store$panelState6 === void 0 || (_store$panelState6 = _store$panelState6["data"]) === null || _store$panelState6 === void 0 ? void 0 : _store$panelState6["errorMessage"],
354
340
  isIntegrableError: (_store$panelState7 = store["panelState"]) === null || _store$panelState7 === void 0 || (_store$panelState7 = _store$panelState7["data"]) === null || _store$panelState7 === void 0 ? void 0 : _store$panelState7["isIntegrableError"]
355
341
  };
356
- }, shallow.shallow),
342
+ })),
357
343
  index = _useUtilityStore2.index,
358
344
  name = _useUtilityStore2.name,
359
345
  actionOptions = _useUtilityStore2.actionOptions,
@@ -408,11 +394,11 @@ var ActionPanel = function ActionPanel() {
408
394
  className: "flex flex-col space-y-2",
409
395
  children: [/*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Typography, {
410
396
  "data-testid": "action-title",
411
- variant: "h3",
397
+ variant: "h5",
412
398
  children: [label, "..."]
413
399
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
414
400
  "data-testid": "action-description",
415
- variant: "body2",
401
+ variant: "body1",
416
402
  children: t("neetoRules.form.addActionDescription")
417
403
  })]
418
404
  })
@@ -424,7 +410,7 @@ var ActionPanel = function ActionPanel() {
424
410
  children: [isSearchable && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Input, {
425
411
  "data-testid": "search-text-field",
426
412
  placeholder: t("neetoRules.common.search"),
427
- prefix: /*#__PURE__*/jsxRuntime.jsx(Search, {}),
413
+ prefix: /*#__PURE__*/jsxRuntime.jsx(lucideReact.Search, {}),
428
414
  value: searchTerm,
429
415
  onChange: function onChange(e) {
430
416
  return setSearchTerm(e.target.value);
@@ -490,17 +476,16 @@ var Target$k = function Target(_ref) {
490
476
  var label = (selectedField === null || selectedField === void 0 ? void 0 : selectedField.placeholder) || defaultLabel;
491
477
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
492
478
  children: [separator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
493
- className: "neeto-ui-text-gray-700",
494
479
  "data-testid": "long-text-action-separator-text",
495
- variant: "h5",
480
+ variant: "body1",
496
481
  children: separator
497
482
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
498
483
  "data-testid": "long-text-action-button",
499
484
  label: label.toLowerCase(),
500
485
  variant: "link",
501
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
502
- "neeto-ui-text-accent-800": isFieldActive,
503
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
486
+ className: classNames("text-base text-foreground font-semibold underline", {
487
+ "text-primary": isFieldActive,
488
+ "text-destructive": isFieldInvalid && !isFieldActive
504
489
  }),
505
490
  onClick: function onClick() {
506
491
  _onClick();
@@ -673,7 +658,7 @@ var KeyValuePairsField = reactUtils.withT(function (_ref) {
673
658
  placeholder: t("neetoRules.labels.value"),
674
659
  type: "text",
675
660
  suffix: showDeleteButton && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
676
- icon: Delete,
661
+ icon: lucideReact.Trash2,
677
662
  size: "default",
678
663
  variant: "ghost",
679
664
  onClick: function onClick() {
@@ -844,7 +829,7 @@ var JsonEditor = function JsonEditor(_ref) {
844
829
  "data-testid": "api-field-body"
845
830
  }, neetoCist.isPresent(helpPopoverProps) && {
846
831
  helpIconProps: {
847
- icon: Help,
832
+ icon: lucideReact.CircleHelp,
848
833
  popoverProps: buildHelpPopoverProps(helpPopoverProps)
849
834
  }
850
835
  }), {}, {
@@ -868,7 +853,7 @@ var JsonEditor = function JsonEditor(_ref) {
868
853
  onChange: handleChange,
869
854
  onMount: handleEditorDidMount
870
855
  }), error && touched && /*#__PURE__*/jsxRuntime.jsx("div", {
871
- className: "neeto-ui-input__error",
856
+ className: "text-destructive text-xs",
872
857
  "data-testid": "json-field-input-error",
873
858
  children: error
874
859
  })]
@@ -1002,17 +987,16 @@ var Target$j = function Target(_ref) {
1002
987
  };
1003
988
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1004
989
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1005
- className: "neeto-ui-text-gray-700",
1006
990
  "data-testid": "api-action-separator-text",
1007
- variant: "h5",
991
+ variant: "body1",
1008
992
  children: separator
1009
993
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1010
994
  "data-testid": "api-action-button",
1011
995
  label: defaultLabel.toLowerCase(),
1012
996
  variant: "link",
1013
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1014
- "neeto-ui-text-accent-800": isFieldActive,
1015
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
997
+ className: classNames("text-base text-foreground font-semibold underline", {
998
+ "text-primary": isFieldActive,
999
+ "text-destructive": isFieldInvalid && !isFieldActive
1016
1000
  }),
1017
1001
  onClick: handleOnClick
1018
1002
  })]
@@ -1033,11 +1017,11 @@ var ApiFields = function ApiFields(_ref2) {
1033
1017
  }),
1034
1018
  ref = _useActiveField2.ref,
1035
1019
  setFieldActive = _useActiveField2.setFieldActive;
1036
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
1020
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
1037
1021
  return {
1038
1022
  isSaveAsTemplateEnabled: store["isSaveAsTemplateEnabled"]
1039
1023
  };
1040
- }, shallow.shallow),
1024
+ })),
1041
1025
  isSaveAsTemplateEnabled = _useUtilityStore.isSaveAsTemplateEnabled;
1042
1026
  var hasFieldChanged = useHasFieldChanged(name);
1043
1027
  var templates = (selectedField === null || selectedField === void 0 ? void 0 : selectedField.templates) || [];
@@ -1126,16 +1110,15 @@ var Target$i = function Target(_ref) {
1126
1110
  };
1127
1111
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1128
1112
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1129
- className: "neeto-ui-text-gray-700",
1130
- variant: "h5",
1113
+ variant: "body1",
1131
1114
  children: separator
1132
1115
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1133
1116
  "data-testid": "custom-action-button-".concat(neetoCist.hyphenate(defaultLabel)),
1134
1117
  label: defaultLabel.toLowerCase(),
1135
1118
  variant: "link",
1136
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1137
- "neeto-ui-text-accent-800": isFieldActive,
1138
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1119
+ className: classNames("text-base text-foreground font-semibold underline", {
1120
+ "text-primary": isFieldActive,
1121
+ "text-destructive": isFieldInvalid && !isFieldActive
1139
1122
  }),
1140
1123
  onClick: handleOnClick
1141
1124
  })]
@@ -1186,16 +1169,15 @@ var Target$h = function Target(_ref) {
1186
1169
  };
1187
1170
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1188
1171
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1189
- className: "neeto-ui-text-gray-700",
1190
1172
  "data-testid": "action-dropdown-seperator-text",
1191
- variant: "h5",
1173
+ variant: "body1",
1192
1174
  children: separator
1193
1175
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1194
1176
  label: label,
1195
1177
  variant: "link",
1196
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1197
- "neeto-ui-text-accent-800": isFieldActive,
1198
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1178
+ className: classNames("text-base text-foreground font-semibold underline", {
1179
+ "text-primary": isFieldActive,
1180
+ "text-destructive": isFieldInvalid && !isFieldActive
1199
1181
  }),
1200
1182
  onClick: handleOnClick
1201
1183
  })]
@@ -1350,17 +1332,16 @@ var Target$g = function Target(_ref) {
1350
1332
  };
1351
1333
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1352
1334
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1353
- className: "neeto-ui-text-gray-700",
1354
1335
  "data-testid": "action-dropdown-seperator-text",
1355
- variant: "h5",
1336
+ variant: "body1",
1356
1337
  children: separator
1357
1338
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1358
1339
  "data-testid": "action-dropdown-button",
1359
1340
  label: selectedOption === null || selectedOption === void 0 || (_selectedOption$label = selectedOption.label) === null || _selectedOption$label === void 0 ? void 0 : _selectedOption$label.toLowerCase(),
1360
1341
  variant: "link",
1361
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1362
- "neeto-ui-text-accent-800": isFieldActive,
1363
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1342
+ className: classNames("text-base text-foreground font-semibold underline", {
1343
+ "text-primary": isFieldActive,
1344
+ "text-destructive": isFieldInvalid && !isFieldActive
1364
1345
  }),
1365
1346
  onClick: handleOnClick
1366
1347
  })]
@@ -1410,7 +1391,7 @@ var SelectField$2 = function SelectField(_ref2) {
1410
1391
  })), handleSlackChannelRefresh && action.name === "message_to_slack" && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1411
1392
  className: "mt-[22px]",
1412
1393
  "data-testid": "refresh-slack-button",
1413
- icon: Refresh,
1394
+ icon: lucideReact.RefreshCw,
1414
1395
  size: "default",
1415
1396
  variant: "outline",
1416
1397
  tooltipProps: {
@@ -1454,17 +1435,16 @@ var Target$f = function Target(_ref) {
1454
1435
  };
1455
1436
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1456
1437
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1457
- className: "neeto-ui-text-gray-700",
1458
1438
  "data-testid": "action-email-seperator-text",
1459
- variant: "h5",
1439
+ variant: "body1",
1460
1440
  children: separator
1461
1441
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1462
1442
  "data-testid": "email-action-button",
1463
1443
  label: defaultLabel.toLowerCase(),
1464
1444
  variant: "link",
1465
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1466
- "neeto-ui-text-accent-800": isFieldActive,
1467
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1445
+ className: classNames("text-base text-foreground font-semibold underline", {
1446
+ "text-primary": isFieldActive,
1447
+ "text-destructive": isFieldInvalid && !isFieldActive
1468
1448
  }),
1469
1449
  onClick: handleOnClick
1470
1450
  })]
@@ -1496,11 +1476,11 @@ var EmailFields = function EmailFields(_ref2) {
1496
1476
  }),
1497
1477
  initialFocusRef = _useActiveField2.ref,
1498
1478
  setFieldActive = _useActiveField2.setFieldActive;
1499
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
1479
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
1500
1480
  return {
1501
1481
  isSaveAsTemplateEnabled: store["isSaveAsTemplateEnabled"]
1502
1482
  };
1503
- }, shallow.shallow),
1483
+ })),
1504
1484
  isSaveAsTemplateEnabled = _useUtilityStore.isSaveAsTemplateEnabled;
1505
1485
  var hasFieldChanged = useHasFieldChanged(name);
1506
1486
  var templates = selectedField === null || selectedField === void 0 ? void 0 : selectedField.templates;
@@ -1605,17 +1585,17 @@ var Target$e = function Target(_ref) {
1605
1585
  };
1606
1586
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1607
1587
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1608
- className: "neeto-ui-text-gray-700 mt-1",
1588
+ className: "mt-1",
1609
1589
  "data-testid": "action-dropdown-seperator-text",
1610
- variant: "h5",
1590
+ variant: "body1",
1611
1591
  children: separator
1612
1592
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1613
1593
  label: label,
1614
1594
  "data-testid": "action-value-input-button",
1615
1595
  variant: "link",
1616
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1617
- "neeto-ui-text-accent-800": isFieldActive,
1618
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1596
+ className: classNames("text-base text-foreground font-semibold underline", {
1597
+ "text-primary": isFieldActive,
1598
+ "text-destructive": isFieldInvalid && !isFieldActive
1619
1599
  }),
1620
1600
  onClick: handleOnClick
1621
1601
  })]
@@ -1705,14 +1685,14 @@ var InlineInput = /*#__PURE__*/react.forwardRef(function (props, ref) {
1705
1685
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1706
1686
  "data-testid": "inline-input-submit-button",
1707
1687
  disabled: !isValidValue,
1708
- icon: Check,
1688
+ icon: lucideReact.Check,
1709
1689
  tooltipProps: LIST_FIELD_TOOLTIP_PROPS.save,
1710
1690
  variant: "ghost",
1711
1691
  onClick: onSubmit
1712
1692
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1713
1693
  ref: ref,
1714
1694
  "data-testid": "inline-input-cancel-button",
1715
- icon: Close,
1695
+ icon: lucideReact.X,
1716
1696
  tooltipProps: LIST_FIELD_TOOLTIP_PROPS.cancel,
1717
1697
  variant: "ghost",
1718
1698
  onClick: handleCancel
@@ -1746,17 +1726,16 @@ var Target$d = function Target(_ref) {
1746
1726
  };
1747
1727
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1748
1728
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1749
- className: "neeto-ui-text-gray-700",
1750
1729
  "data-testid": "list-action-separator-text",
1751
- variant: "h5",
1730
+ variant: "body1",
1752
1731
  children: separator
1753
1732
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1754
1733
  "data-testid": "list-action-button",
1755
1734
  label: t("neetoRules.form.list"),
1756
1735
  variant: "link",
1757
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1758
- "neeto-ui-text-accent-800": isFieldActive,
1759
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1736
+ className: classNames("text-base text-foreground font-semibold underline", {
1737
+ "text-primary": isFieldActive,
1738
+ "text-destructive": isFieldInvalid && !isFieldActive
1760
1739
  }),
1761
1740
  onClick: handleOnClick
1762
1741
  })]
@@ -1789,16 +1768,16 @@ var ListField = function ListField(_ref2) {
1789
1768
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1790
1769
  children: [values.map(function (item, index) {
1791
1770
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
1792
- className: "neeto-ui-bg-white flex flex-wrap justify-between border border-dashed px-2 py-1",
1771
+ className: "bg-background flex flex-wrap justify-between border border-dashed px-2 py-1",
1793
1772
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1794
1773
  className: "w-4/5 overflow-x-auto",
1795
1774
  "data-testid": "list-action-item-label",
1796
- variant: "body2",
1775
+ variant: "body1",
1797
1776
  children: item
1798
1777
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1799
1778
  className: "shrink-0",
1800
1779
  "data-testid": "list-action-delete-item-button",
1801
- icon: Delete,
1780
+ icon: lucideReact.Trash2,
1802
1781
  size: "default",
1803
1782
  variant: "ghost",
1804
1783
  onClick: function onClick() {
@@ -1811,9 +1790,9 @@ var ListField = function ListField(_ref2) {
1811
1790
  className: "w-full",
1812
1791
  children: function children(message) {
1813
1792
  return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1814
- className: "neeto-ui-text-error-500 neeto-ui-text-gray-700",
1793
+ className: "text-destructive",
1815
1794
  "data-testid": "list-action-error-message",
1816
- variant: "h5",
1795
+ variant: "body1",
1817
1796
  children: message
1818
1797
  });
1819
1798
  }
@@ -1827,7 +1806,7 @@ var ListField = function ListField(_ref2) {
1827
1806
  }) : /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1828
1807
  ref: ref,
1829
1808
  "data-testid": "list-action-add-item-button",
1830
- icon: Plus,
1809
+ icon: lucideReact.Plus,
1831
1810
  label: t("neetoRules.common.addItem"),
1832
1811
  size: "default",
1833
1812
  variant: "ghost",
@@ -1872,18 +1851,17 @@ var Target$c = function Target(_ref) {
1872
1851
  var defaultLabel = (selectedField === null || selectedField === void 0 || (_selectedField$placeh = selectedField.placeholder) === null || _selectedField$placeh === void 0 ? void 0 : _selectedField$placeh.toLowerCase()) || t("neetoRules.form.selectValues");
1873
1852
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1874
1853
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1875
- className: "neeto-ui-text-gray-700",
1876
1854
  "data-testid": "multi-select-action-separator-text",
1877
- variant: "h5",
1855
+ variant: "body1",
1878
1856
  children: separator
1879
1857
  }), neetoCist.isNotEmpty(selectedOptions) ? /*#__PURE__*/jsxRuntime.jsx("span", {
1880
1858
  className: "flex flex-wrap items-center gap-x-2 gap-y-1",
1881
1859
  children: selectedOptions.map(function (option, idx) {
1860
+ var _option$label;
1882
1861
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
1883
1862
  className: "flex flex-wrap items-center gap-x-2 gap-y-1",
1884
1863
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1885
- className: "neeto-ui-text-gray-700",
1886
- variant: "h5",
1864
+ variant: "body1",
1887
1865
  onClick: function onClick(e) {
1888
1866
  return e.stopPropagation();
1889
1867
  },
@@ -1892,11 +1870,11 @@ var Target$c = function Target(_ref) {
1892
1870
  })
1893
1871
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1894
1872
  "data-testid": "multi-select-action-button",
1895
- label: option === null || option === void 0 ? void 0 : option.label.toLowerCase(),
1873
+ label: option === null || option === void 0 || (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toLowerCase(),
1896
1874
  variant: "link",
1897
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1898
- "neeto-ui-text-accent-800": isFieldActive,
1899
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1875
+ className: classNames("text-base text-foreground font-semibold underline", {
1876
+ "text-primary": isFieldActive,
1877
+ "text-destructive": isFieldInvalid && !isFieldActive
1900
1878
  }),
1901
1879
  onClick: function onClick() {
1902
1880
  _onClick();
@@ -1908,9 +1886,9 @@ var Target$c = function Target(_ref) {
1908
1886
  }) : /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
1909
1887
  label: defaultLabel,
1910
1888
  variant: "link",
1911
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
1912
- "neeto-ui-text-accent-800": isFieldActive,
1913
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1889
+ className: classNames("text-base text-foreground font-semibold underline", {
1890
+ "text-primary": isFieldActive,
1891
+ "text-destructive": isFieldInvalid && !isFieldActive
1914
1892
  }),
1915
1893
  onClick: function onClick() {
1916
1894
  _onClick();
@@ -1980,18 +1958,17 @@ var Target$b = function Target(_ref) {
1980
1958
  var defaultLabel = (selectedField === null || selectedField === void 0 || (_selectedField$placeh = selectedField.placeholder) === null || _selectedField$placeh === void 0 ? void 0 : _selectedField$placeh.toLowerCase()) || t("neetoRules.form.selectValues");
1981
1959
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
1982
1960
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1983
- className: "neeto-ui-text-gray-700",
1984
1961
  "data-testid": "multi-select-action-separator-text",
1985
- variant: "h5",
1962
+ variant: "body1",
1986
1963
  children: separator
1987
1964
  }), neetoCist.isNotEmpty(selectedOptions) ? /*#__PURE__*/jsxRuntime.jsx("span", {
1988
1965
  className: "flex flex-wrap items-center gap-x-2 gap-y-1",
1989
1966
  children: selectedOptions.map(function (option, idx) {
1967
+ var _option$label;
1990
1968
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
1991
1969
  className: "flex flex-wrap items-center gap-x-2 gap-y-1",
1992
1970
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
1993
- className: "neeto-ui-text-gray-700",
1994
- variant: "h5",
1971
+ variant: "body1",
1995
1972
  onClick: function onClick(e) {
1996
1973
  return e.stopPropagation();
1997
1974
  },
@@ -2000,11 +1977,11 @@ var Target$b = function Target(_ref) {
2000
1977
  })
2001
1978
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
2002
1979
  "data-testid": "multi-select-action-button",
2003
- label: option === null || option === void 0 ? void 0 : option.label.toLowerCase(),
1980
+ label: option === null || option === void 0 || (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toLowerCase(),
2004
1981
  variant: "link",
2005
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
2006
- "neeto-ui-text-accent-800": isFieldActive,
2007
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1982
+ className: classNames("text-base text-foreground font-semibold underline", {
1983
+ "text-primary": isFieldActive,
1984
+ "text-destructive": isFieldInvalid && !isFieldActive
2008
1985
  }),
2009
1986
  onClick: function onClick() {
2010
1987
  _onClick();
@@ -2016,9 +1993,9 @@ var Target$b = function Target(_ref) {
2016
1993
  }) : /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
2017
1994
  label: defaultLabel,
2018
1995
  variant: "link",
2019
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
2020
- "neeto-ui-text-accent-800": isFieldActive,
2021
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
1996
+ className: classNames("text-base text-foreground font-semibold underline", {
1997
+ "text-primary": isFieldActive,
1998
+ "text-destructive": isFieldInvalid && !isFieldActive
2022
1999
  }),
2023
2000
  onClick: function onClick() {
2024
2001
  _onClick();
@@ -2108,17 +2085,16 @@ var Target$a = function Target(_ref) {
2108
2085
  };
2109
2086
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
2110
2087
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
2111
- className: "neeto-ui-text-gray-700",
2112
2088
  "data-testid": "note-action-separator-text",
2113
- variant: "h5",
2089
+ variant: "body1",
2114
2090
  children: separator
2115
2091
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
2116
2092
  "data-testid": "note-action-button",
2117
2093
  label: defaultLabel.toLowerCase(),
2118
2094
  variant: "link",
2119
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
2120
- "neeto-ui-text-accent-800": isFieldActive,
2121
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
2095
+ className: classNames("text-base text-foreground font-semibold underline", {
2096
+ "text-primary": isFieldActive,
2097
+ "text-destructive": isFieldInvalid && !isFieldActive
2122
2098
  }),
2123
2099
  onClick: handleOnClick
2124
2100
  })]
@@ -2185,17 +2161,17 @@ var Target$9 = function Target(_ref) {
2185
2161
  };
2186
2162
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
2187
2163
  children: [!selectedField.hideSeparator && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
2188
- className: "neeto-ui-text-gray-700 font-normal",
2189
2164
  "data-testid": "action-radio-seperator-text",
2190
- variant: "h5",
2165
+ variant: "body1",
2166
+ weight: "normal",
2191
2167
  children: separator
2192
2168
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
2193
2169
  "data-testid": "action-radio-button",
2194
2170
  label: selectedOption === null || selectedOption === void 0 || (_selectedOption$label = selectedOption.label) === null || _selectedOption$label === void 0 ? void 0 : _selectedOption$label.toLowerCase(),
2195
2171
  variant: "link",
2196
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
2197
- "neeto-ui-text-accent-800": isFieldActive,
2198
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
2172
+ className: classNames("text-base text-foreground font-semibold underline", {
2173
+ "text-primary": isFieldActive,
2174
+ "text-destructive": isFieldInvalid && !isFieldActive
2199
2175
  }),
2200
2176
  onClick: handleOnClick
2201
2177
  })]
@@ -2302,22 +2278,23 @@ var formatErrorMessage = function formatErrorMessage(error) {
2302
2278
  };
2303
2279
 
2304
2280
  var _excluded$b = ["children"];
2281
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
2305
2282
  function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2306
2283
  function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2307
2284
  var STYLES = {
2308
2285
  border: {
2309
- "default": "1px solid rgb(var(--neeto-ui-gray-400))",
2310
- error: "1px solid rgb(var(--neeto-ui-error-800)) !important"
2286
+ "default": "1px solid var(--border)",
2287
+ error: "1px solid var(--destructive) !important"
2311
2288
  },
2312
2289
  color: {
2313
- "default": "rgb(var(--neeto-ui-gray-800))",
2314
- error: "rgb(var(--neeto-ui-error-800)) !important"
2290
+ "default": "var(--foreground)",
2291
+ error: "var(--destructive) !important"
2315
2292
  }
2316
2293
  };
2317
2294
  var MultiValueRemove = function MultiValueRemove(props) {
2318
2295
  return /*#__PURE__*/jsxRuntime.jsx(reactSelect.components.MultiValueRemove, _objectSpread$m(_objectSpread$m({}, props), {}, {
2319
2296
  innerProps: _objectSpread$m(_objectSpread$m({}, props.innerProps), {}, _defineProperty({}, "data-testid", "".concat(dasherize(props.data.label), "-remove-icon"))),
2320
- children: /*#__PURE__*/jsxRuntime.jsx(Close, {
2297
+ children: /*#__PURE__*/jsxRuntime.jsx(lucideReact.X, {
2321
2298
  size: 16
2322
2299
  })
2323
2300
  }));
@@ -2334,7 +2311,7 @@ var ValueContainer = function ValueContainer(_ref) {
2334
2311
  var value = getValue();
2335
2312
  var _children = _toArray(children),
2336
2313
  firstChild = _children[0],
2337
- rest = _children.slice(1);
2314
+ rest = _arrayLikeToArray(_children).slice(1);
2338
2315
  var shouldCollapse = !isFocused && value.length > visiblePhoneNumbersCount;
2339
2316
  return /*#__PURE__*/jsxRuntime.jsxs(reactSelect.components.ValueContainer, _objectSpread$m(_objectSpread$m({}, props), {}, {
2340
2317
  innerProps: _objectSpread$m(_objectSpread$m({}, props.innerProps), {}, _defineProperty({}, "data-testid", "multi-phone-number-input-container")),
@@ -2349,7 +2326,7 @@ var ValueContainer = function ValueContainer(_ref) {
2349
2326
  var ClearIndicator = function ClearIndicator(props) {
2350
2327
  return /*#__PURE__*/jsxRuntime.jsx(reactSelect.components.ClearIndicator, _objectSpread$m(_objectSpread$m({}, props), {}, {
2351
2328
  innerProps: _objectSpread$m(_objectSpread$m({}, props.innerProps), {}, _defineProperty({}, "data-testid", "clear-all-button")),
2352
- children: /*#__PURE__*/jsxRuntime.jsx(Close, {
2329
+ children: /*#__PURE__*/jsxRuntime.jsx(lucideReact.X, {
2353
2330
  className: "cursor-pointer",
2354
2331
  size: 16
2355
2332
  })
@@ -2474,15 +2451,15 @@ var MultiPhoneNumberInput = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
2474
2451
  ref: ref,
2475
2452
  value: value
2476
2453
  }, otherProps))), !!error && /*#__PURE__*/jsxRuntime.jsxs("p", {
2477
- className: "neeto-ui-input__error",
2454
+ className: "text-destructive text-xs",
2478
2455
  "data-testid": "".concat(dasherize(label), "-input-error"),
2479
2456
  children: [formatErrorMessage(error), isFilterPhoneNumbersLinkVisible && /*#__PURE__*/jsxRuntime.jsxs("span", {
2480
- className: "neeto-ui-font-semibold cursor-pointer",
2457
+ className: "font-semibold cursor-pointer",
2481
2458
  onClick: handleFilterPhoneNumbers,
2482
2459
  children: [ERROR_MESSAGE_DELIMITER, t("neetoRules.messages.removeInvalidPhoneNumbers")]
2483
2460
  })]
2484
2461
  }), /*#__PURE__*/jsxRuntime.jsx("p", {
2485
- className: "neeto-ui-input__help-text",
2462
+ className: "text-muted-foreground text-xs",
2486
2463
  "data-testid": "".concat(dasherize(label), "-input-help"),
2487
2464
  children: t("neetoRules.helpTexts.phoneNumber")
2488
2465
  })]
@@ -2557,17 +2534,16 @@ var Target$8 = function Target(_ref) {
2557
2534
  };
2558
2535
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
2559
2536
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
2560
- className: "neeto-ui-text-gray-700",
2561
2537
  "data-testid": "sms-action-separator-text",
2562
- variant: "h5",
2538
+ variant: "body1",
2563
2539
  children: separator
2564
2540
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
2565
2541
  "data-testid": "sms-action-button",
2566
2542
  label: defaultLabel.toLowerCase(),
2567
2543
  variant: "link",
2568
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
2569
- "neeto-ui-text-accent-800": isFieldActive,
2570
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
2544
+ className: classNames("text-base text-foreground font-semibold underline", {
2545
+ "text-primary": isFieldActive,
2546
+ "text-destructive": isFieldInvalid && !isFieldActive
2571
2547
  }),
2572
2548
  onClick: handleOnClick
2573
2549
  })]
@@ -2598,11 +2574,11 @@ var SmsFields = function SmsFields(_ref2) {
2598
2574
  }),
2599
2575
  initialFocusRef = _useActiveField2.ref,
2600
2576
  setFieldActive = _useActiveField2.setFieldActive;
2601
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
2577
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
2602
2578
  return {
2603
2579
  isSaveAsTemplateEnabled: store["isSaveAsTemplateEnabled"]
2604
2580
  };
2605
- }, shallow.shallow),
2581
+ })),
2606
2582
  isSaveAsTemplateEnabled = _useUtilityStore.isSaveAsTemplateEnabled;
2607
2583
  var hasFieldChanged = useHasFieldChanged(name);
2608
2584
  var _useFormikContext = formik.useFormikContext(),
@@ -3040,17 +3016,18 @@ var ActionSubItem = function ActionSubItem(_ref) {
3040
3016
  var ActionSubItem$1 = /*#__PURE__*/react.memo(ActionSubItem);
3041
3017
 
3042
3018
  var ActionSubItemPanel = function ActionSubItemPanel() {
3019
+ var _selectedField$label;
3043
3020
  var _useTranslation = reactI18next.useTranslation(),
3044
3021
  t = _useTranslation.t;
3045
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
3022
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
3046
3023
  return {
3047
3024
  setPanelState: store["setPanelState"],
3048
3025
  resetPanelState: store["resetPanelState"]
3049
3026
  };
3050
- }, shallow.shallow),
3027
+ })),
3051
3028
  setPanelState = _useUtilityStore.setPanelState,
3052
3029
  resetPanelState = _useUtilityStore.resetPanelState;
3053
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
3030
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
3054
3031
  var _store$panelState, _store$panelState2, _store$panelState3, _store$panelState4, _store$panelState5, _store$panelState6, _store$panelState7;
3055
3032
  return {
3056
3033
  name: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["name"],
@@ -3061,7 +3038,7 @@ var ActionSubItemPanel = function ActionSubItemPanel() {
3061
3038
  errorMessage: (_store$panelState6 = store["panelState"]) === null || _store$panelState6 === void 0 || (_store$panelState6 = _store$panelState6["data"]) === null || _store$panelState6 === void 0 ? void 0 : _store$panelState6["errorMessage"],
3062
3039
  handleSlackChannelRefresh: (_store$panelState7 = store["panelState"]) === null || _store$panelState7 === void 0 || (_store$panelState7 = _store$panelState7["data"]) === null || _store$panelState7 === void 0 ? void 0 : _store$panelState7["handleSlackChannelRefresh"]
3063
3040
  };
3064
- }, shallow.shallow),
3041
+ })),
3065
3042
  name = _useUtilityStore2.name,
3066
3043
  index = _useUtilityStore2.index,
3067
3044
  action = _useUtilityStore2.action,
@@ -3079,7 +3056,7 @@ var ActionSubItemPanel = function ActionSubItemPanel() {
3079
3056
  var andText = t("neetoRules.common.and", {
3080
3057
  what: thenText
3081
3058
  });
3082
- var selectedFieldLabel = selectedField === null || selectedField === void 0 ? void 0 : selectedField.label.toLowerCase();
3059
+ var selectedFieldLabel = selectedField === null || selectedField === void 0 || (_selectedField$label = selectedField.label) === null || _selectedField$label === void 0 ? void 0 : _selectedField$label.toLowerCase();
3083
3060
  var header = index ? "".concat(andText, " ").concat(selectedFieldLabel, "...") : "".concat(thenText, " ").concat(selectedFieldLabel, "...");
3084
3061
  var ActionChildren = action.children;
3085
3062
  var handleContinue = function handleContinue() {
@@ -3097,7 +3074,7 @@ var ActionSubItemPanel = function ActionSubItemPanel() {
3097
3074
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
3098
3075
  className: "shrink-0 rtl:rotate-180",
3099
3076
  "data-testid": "back-button",
3100
- icon: Left,
3077
+ icon: lucideReact.ChevronLeft,
3101
3078
  size: "default",
3102
3079
  variant: "ghost",
3103
3080
  tooltipProps: {
@@ -3115,12 +3092,12 @@ var ActionSubItemPanel = function ActionSubItemPanel() {
3115
3092
  }
3116
3093
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
3117
3094
  "data-testid": "action-sub-item-title",
3118
- variant: "h3",
3095
+ variant: "h5",
3119
3096
  children: header
3120
3097
  })]
3121
3098
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
3122
3099
  "data-testid": "action-sub-item-description",
3123
- variant: "body2",
3100
+ variant: "body1",
3124
3101
  children: t("neetoRules.form.addActionSubItemDescription")
3125
3102
  })]
3126
3103
  })
@@ -3186,9 +3163,9 @@ var Target$7 = function Target(_ref) {
3186
3163
  label: label,
3187
3164
  "data-testid": "condition-value-select-date-button",
3188
3165
  variant: "link",
3189
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3190
- "neeto-ui-text-accent-800": isFieldActive,
3191
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3166
+ className: classNames("text-base text-foreground font-semibold underline", {
3167
+ "text-primary": isFieldActive,
3168
+ "text-destructive": isFieldInvalid && !isFieldActive
3192
3169
  }),
3193
3170
  onClick: function onClick() {
3194
3171
  _onClick();
@@ -3282,9 +3259,9 @@ var Target$6 = function Target(_ref) {
3282
3259
  label: label,
3283
3260
  "data-testid": "condition-value-input-button",
3284
3261
  variant: "link",
3285
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3286
- "neeto-ui-text-accent-800": isFieldActive,
3287
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3262
+ className: classNames("text-base text-foreground font-semibold underline", {
3263
+ "text-primary": isFieldActive,
3264
+ "text-destructive": isFieldInvalid && !isFieldActive
3288
3265
  }),
3289
3266
  onClick: function onClick() {
3290
3267
  _onClick();
@@ -3353,16 +3330,15 @@ var Target$5 = function Target(_ref) {
3353
3330
  var _option$label;
3354
3331
  return /*#__PURE__*/jsxRuntime.jsxs(react.Fragment, {
3355
3332
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
3356
- className: "neeto-ui-text-gray-700",
3357
- variant: "h5",
3333
+ variant: "body1",
3358
3334
  children: t("neetoRules.common.or")
3359
3335
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
3360
3336
  "data-testid": "condition-value-multi-select-field",
3361
3337
  label: option === null || option === void 0 || (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toLowerCase(),
3362
3338
  variant: "link",
3363
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3364
- "neeto-ui-text-accent-800": isFieldActive,
3365
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3339
+ className: classNames("text-base text-foreground font-semibold underline", {
3340
+ "text-primary": isFieldActive,
3341
+ "text-destructive": isFieldInvalid && !isFieldActive
3366
3342
  }),
3367
3343
  onClick: function onClick() {
3368
3344
  _onClick();
@@ -3375,9 +3351,9 @@ var Target$5 = function Target(_ref) {
3375
3351
  "data-testid": "condition-value-multi-select-field",
3376
3352
  label: defaultLabel,
3377
3353
  variant: "link",
3378
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3379
- "neeto-ui-text-accent-800": isFieldActive,
3380
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3354
+ className: classNames("text-base text-foreground font-semibold underline", {
3355
+ "text-primary": isFieldActive,
3356
+ "text-destructive": isFieldInvalid && !isFieldActive
3381
3357
  }),
3382
3358
  onClick: function onClick() {
3383
3359
  _onClick === null || _onClick === void 0 || _onClick();
@@ -3444,16 +3420,15 @@ var Target$4 = function Target(_ref) {
3444
3420
  var _option$label;
3445
3421
  return /*#__PURE__*/jsxRuntime.jsxs(react.Fragment, {
3446
3422
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
3447
- className: "neeto-ui-text-gray-700",
3448
- variant: "h5",
3423
+ variant: "body1",
3449
3424
  children: t("neetoRules.common.or")
3450
3425
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
3451
3426
  "data-testid": "condition-value-multi-select-field",
3452
3427
  label: option === null || option === void 0 || (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toLowerCase(),
3453
3428
  variant: "link",
3454
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3455
- "neeto-ui-text-accent-800": isFieldActive,
3456
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3429
+ className: classNames("text-base text-foreground font-semibold underline", {
3430
+ "text-primary": isFieldActive,
3431
+ "text-destructive": isFieldInvalid && !isFieldActive
3457
3432
  }),
3458
3433
  onClick: function onClick() {
3459
3434
  _onClick();
@@ -3466,9 +3441,9 @@ var Target$4 = function Target(_ref) {
3466
3441
  "data-testid": "condition-value-multi-select-field",
3467
3442
  label: defaultLabel,
3468
3443
  variant: "link",
3469
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3470
- "neeto-ui-text-accent-800": isFieldActive,
3471
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3444
+ className: classNames("text-base text-foreground font-semibold underline", {
3445
+ "text-primary": isFieldActive,
3446
+ "text-destructive": isFieldInvalid && !isFieldActive
3472
3447
  }),
3473
3448
  onClick: function onClick() {
3474
3449
  _onClick === null || _onClick === void 0 || _onClick();
@@ -3598,16 +3573,15 @@ var Target$3 = function Target(_ref) {
3598
3573
  var _option$label;
3599
3574
  return /*#__PURE__*/jsxRuntime.jsxs(react.Fragment, {
3600
3575
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
3601
- className: "neeto-ui-text-gray-700",
3602
- variant: "h5",
3576
+ variant: "body1",
3603
3577
  children: t("neetoRules.common.or")
3604
3578
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
3605
3579
  "data-testid": "condition-value-multi-select-field",
3606
3580
  label: option === null || option === void 0 || (_option$label = option.label) === null || _option$label === void 0 ? void 0 : _option$label.toLowerCase(),
3607
3581
  variant: "link",
3608
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3609
- "neeto-ui-text-accent-800": isFieldActive,
3610
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3582
+ className: classNames("text-base text-foreground font-semibold underline", {
3583
+ "text-primary": isFieldActive,
3584
+ "text-destructive": isFieldInvalid && !isFieldActive
3611
3585
  }),
3612
3586
  onClick: function onClick() {
3613
3587
  _onClick();
@@ -3620,9 +3594,9 @@ var Target$3 = function Target(_ref) {
3620
3594
  "data-testid": "condition-value-multi-select-field",
3621
3595
  label: defaultLabel,
3622
3596
  variant: "link",
3623
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3624
- "neeto-ui-text-accent-800": isFieldActive,
3625
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3597
+ className: classNames("text-base text-foreground font-semibold underline", {
3598
+ "text-primary": isFieldActive,
3599
+ "text-destructive": isFieldInvalid && !isFieldActive
3626
3600
  }),
3627
3601
  onClick: function onClick() {
3628
3602
  _onClick === null || _onClick === void 0 || _onClick();
@@ -3694,9 +3668,9 @@ var Target$2 = function Target(_ref) {
3694
3668
  "data-testid": "condition-value-dropdown-button",
3695
3669
  label: selectedOption === null || selectedOption === void 0 || (_selectedOption$label = selectedOption.label) === null || _selectedOption$label === void 0 ? void 0 : _selectedOption$label.toLowerCase(),
3696
3670
  variant: "link",
3697
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3698
- "neeto-ui-text-accent-800": isFieldActive,
3699
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3671
+ className: classNames("text-base text-foreground font-semibold underline", {
3672
+ "text-primary": isFieldActive,
3673
+ "text-destructive": isFieldInvalid && !isFieldActive
3700
3674
  }),
3701
3675
  onClick: function onClick() {
3702
3676
  _onClick();
@@ -3751,7 +3725,7 @@ var RadioField$1 = function RadioField(_ref2) {
3751
3725
  children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Input, {
3752
3726
  "data-testid": "search-text-field",
3753
3727
  placeholder: t("neetoRules.common.search"),
3754
- prefix: /*#__PURE__*/jsxRuntime.jsx(Search, {}),
3728
+ prefix: /*#__PURE__*/jsxRuntime.jsx(lucideReact.Search, {}),
3755
3729
  value: searchTerm,
3756
3730
  onChange: function onChange(e) {
3757
3731
  return setSearchTerm(e.target.value);
@@ -3820,9 +3794,9 @@ var Target$1 = function Target(_ref) {
3820
3794
  "data-testid": dataTestid,
3821
3795
  label: selectedOption === null || selectedOption === void 0 || (_selectedOption$label = selectedOption.label) === null || _selectedOption$label === void 0 ? void 0 : _selectedOption$label.toLowerCase(),
3822
3796
  variant: "link",
3823
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3824
- "neeto-ui-text-accent-800": isFieldActive,
3825
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3797
+ className: classNames("text-base text-foreground font-semibold underline", {
3798
+ "text-primary": isFieldActive,
3799
+ "text-destructive": isFieldInvalid && !isFieldActive
3826
3800
  }),
3827
3801
  onClick: function onClick() {
3828
3802
  _onClick();
@@ -3897,9 +3871,9 @@ var Target = function Target(_ref) {
3897
3871
  label: label,
3898
3872
  "data-testid": "condition-value-select-time-button",
3899
3873
  variant: "link",
3900
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
3901
- "neeto-ui-text-accent-800": isFieldActive,
3902
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
3874
+ className: classNames("text-base text-foreground font-semibold underline", {
3875
+ "text-primary": isFieldActive,
3876
+ "text-destructive": isFieldInvalid && !isFieldActive
3903
3877
  }),
3904
3878
  onClick: function onClick() {
3905
3879
  _onClick();
@@ -3970,13 +3944,13 @@ var FieldPanel = function FieldPanel() {
3970
3944
  var _findBy;
3971
3945
  var _useTranslation = reactI18next.useTranslation(),
3972
3946
  t = _useTranslation.t;
3973
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
3947
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
3974
3948
  return {
3975
3949
  setPanelState: store["setPanelState"]
3976
3950
  };
3977
- }, shallow.shallow),
3951
+ })),
3978
3952
  setPanelState = _useUtilityStore.setPanelState;
3979
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
3953
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
3980
3954
  var _store$panelState, _store$panelState2, _store$panelState3, _store$panelState4, _store$panelState5;
3981
3955
  return {
3982
3956
  index: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["index"],
@@ -3985,7 +3959,7 @@ var FieldPanel = function FieldPanel() {
3985
3959
  conditionOptions: (_store$panelState4 = store["panelState"]) === null || _store$panelState4 === void 0 || (_store$panelState4 = _store$panelState4["data"]) === null || _store$panelState4 === void 0 ? void 0 : _store$panelState4["conditionOptions"],
3986
3960
  isWithEvents: (_store$panelState5 = store["panelState"]) === null || _store$panelState5 === void 0 || (_store$panelState5 = _store$panelState5["data"]) === null || _store$panelState5 === void 0 ? void 0 : _store$panelState5["isWithEvents"]
3987
3961
  };
3988
- }, shallow.shallow),
3962
+ })),
3989
3963
  index = _useUtilityStore2.index,
3990
3964
  name = _useUtilityStore2.name,
3991
3965
  handleFieldChange = _useUtilityStore2.handleFieldChange,
@@ -4017,11 +3991,11 @@ var FieldPanel = function FieldPanel() {
4017
3991
  className: "flex flex-col space-y-2",
4018
3992
  children: [/*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Typography, {
4019
3993
  "data-testid": "condition-title",
4020
- variant: "h3",
3994
+ variant: "h5",
4021
3995
  children: [index ? logicalOperatorLabel : conditionLabel, "..."]
4022
3996
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4023
3997
  "data-testid": "condition-description",
4024
- variant: "body2",
3998
+ variant: "body1",
4025
3999
  children: t("neetoRules.form.addConditionDescription")
4026
4000
  })]
4027
4001
  })
@@ -4173,15 +4147,15 @@ var VerbAndValuePanel = function VerbAndValuePanel() {
4173
4147
  var _findBy, _findBy2;
4174
4148
  var _useTranslation = reactI18next.useTranslation(),
4175
4149
  t = _useTranslation.t;
4176
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
4150
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4177
4151
  return {
4178
4152
  setPanelState: store["setPanelState"],
4179
4153
  resetPanelState: store["resetPanelState"]
4180
4154
  };
4181
- }, shallow.shallow),
4155
+ })),
4182
4156
  setPanelState = _useUtilityStore.setPanelState,
4183
4157
  resetPanelState = _useUtilityStore.resetPanelState;
4184
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
4158
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4185
4159
  var _store$panelState, _store$panelState2, _store$panelState3, _store$panelState4, _store$panelState5, _store$panelState6, _store$panelState7, _store$panelState8, _store$panelState9;
4186
4160
  return {
4187
4161
  index: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["index"],
@@ -4194,7 +4168,7 @@ var VerbAndValuePanel = function VerbAndValuePanel() {
4194
4168
  verbOptions: (_store$panelState8 = store["panelState"]) === null || _store$panelState8 === void 0 || (_store$panelState8 = _store$panelState8["data"]) === null || _store$panelState8 === void 0 ? void 0 : _store$panelState8["verbOptions"],
4195
4169
  isWithEvents: (_store$panelState9 = store["panelState"]) === null || _store$panelState9 === void 0 || (_store$panelState9 = _store$panelState9["data"]) === null || _store$panelState9 === void 0 ? void 0 : _store$panelState9["isWithEvents"]
4196
4170
  };
4197
- }, shallow.shallow),
4171
+ })),
4198
4172
  index = _useUtilityStore2.index,
4199
4173
  name = _useUtilityStore2.name,
4200
4174
  selectedField = _useUtilityStore2.selectedField,
@@ -4223,7 +4197,7 @@ var VerbAndValuePanel = function VerbAndValuePanel() {
4223
4197
  setVerbTouched = _useField8[2].setTouched;
4224
4198
  var fieldLabel = (_findBy = neetoCist.findBy({
4225
4199
  value: field.value
4226
- }, conditionOptions)) === null || _findBy === void 0 ? void 0 : _findBy.label.toLowerCase();
4200
+ }, conditionOptions)) === null || _findBy === void 0 || (_findBy = _findBy.label) === null || _findBy === void 0 ? void 0 : _findBy.toLowerCase();
4227
4201
  var conditionLabel = isWithEvents ? t("neetoRules.common.when") : t("neetoRules.common.if");
4228
4202
  var logicalOperatorLabel = (_findBy2 = neetoCist.findBy({
4229
4203
  value: logicalOperator.value
@@ -4243,7 +4217,7 @@ var VerbAndValuePanel = function VerbAndValuePanel() {
4243
4217
  className: "flex items-center space-x-2",
4244
4218
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
4245
4219
  className: "shrink-0 rtl:rotate-180",
4246
- icon: Left,
4220
+ icon: lucideReact.ChevronLeft,
4247
4221
  size: "default",
4248
4222
  variant: "ghost",
4249
4223
  tooltipProps: {
@@ -4260,12 +4234,12 @@ var VerbAndValuePanel = function VerbAndValuePanel() {
4260
4234
  }
4261
4235
  }), /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Typography, {
4262
4236
  "data-testid": "condition-verb-and-value-title",
4263
- variant: "h3",
4237
+ variant: "h5",
4264
4238
  children: [index ? logicalOperatorLabel : conditionLabel, " ", fieldLabel, "..."]
4265
4239
  })]
4266
4240
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4267
4241
  "data-testid": "condition-verb-and-value-description",
4268
- variant: "body2",
4242
+ variant: "body1",
4269
4243
  children: t("neetoRules.form.addConditionVerbAndValueDescription")
4270
4244
  })]
4271
4245
  })
@@ -4311,18 +4285,18 @@ function _objectSpread$g(e) { for (var r = 1; r < arguments.length; r++) { var t
4311
4285
  var DelayPanel = function DelayPanel() {
4312
4286
  var _useTranslation = reactI18next.useTranslation(),
4313
4287
  t = _useTranslation.t;
4314
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
4288
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4315
4289
  return {
4316
4290
  resetPanelState: store["resetPanelState"]
4317
4291
  };
4318
- }, shallow.shallow),
4292
+ })),
4319
4293
  resetPanelState = _useUtilityStore.resetPanelState;
4320
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
4294
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4321
4295
  var _store$panelState;
4322
4296
  return {
4323
4297
  name: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["name"]
4324
4298
  };
4325
- }, shallow.shallow),
4299
+ })),
4326
4300
  name = _useUtilityStore2.name;
4327
4301
  var _useFormikContext = formik.useFormikContext(),
4328
4302
  setFieldTouched = _useFormikContext.setFieldTouched;
@@ -4348,10 +4322,10 @@ var DelayPanel = function DelayPanel() {
4348
4322
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
4349
4323
  className: "flex flex-col space-y-2",
4350
4324
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4351
- variant: "h3",
4325
+ variant: "h5",
4352
4326
  children: t("neetoRules.common.addDelay")
4353
4327
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4354
- variant: "body2",
4328
+ variant: "body1",
4355
4329
  children: t("neetoRules.helpText.addDelay")
4356
4330
  })]
4357
4331
  })
@@ -4405,6 +4379,8 @@ var getSearchedOptions = function getSearchedOptions(dropdownOptions, searchTerm
4405
4379
  });
4406
4380
  };
4407
4381
 
4382
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = false, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = true, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), true), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
4383
+ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
4408
4384
  function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4409
4385
  function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4410
4386
  var EventsPanel = function EventsPanel() {
@@ -4414,15 +4390,15 @@ var EventsPanel = function EventsPanel() {
4414
4390
  _useState2 = _slicedToArray(_useState, 2),
4415
4391
  searchTerm = _useState2[0],
4416
4392
  setSearchTerm = _useState2[1];
4417
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
4393
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4418
4394
  return {
4419
4395
  setPanelState: store["setPanelState"],
4420
4396
  resetPanelState: store["resetPanelState"]
4421
4397
  };
4422
- }, shallow.shallow),
4398
+ })),
4423
4399
  setPanelState = _useUtilityStore.setPanelState,
4424
4400
  resetPanelState = _useUtilityStore.resetPanelState;
4425
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
4401
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4426
4402
  var _store$panelState, _store$panelState2, _store$panelState3, _store$panelState4, _store$panelState5, _store$panelState6, _store$panelState7;
4427
4403
  return {
4428
4404
  name: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["name"],
@@ -4433,7 +4409,7 @@ var EventsPanel = function EventsPanel() {
4433
4409
  singleSelect: (_store$panelState6 = store["panelState"]) === null || _store$panelState6 === void 0 || (_store$panelState6 = _store$panelState6["data"]) === null || _store$panelState6 === void 0 ? void 0 : _store$panelState6["singleSelect"],
4434
4410
  hidePerformer: (_store$panelState7 = store["panelState"]) === null || _store$panelState7 === void 0 || (_store$panelState7 = _store$panelState7["data"]) === null || _store$panelState7 === void 0 ? void 0 : _store$panelState7["hidePerformer"]
4435
4411
  };
4436
- }, shallow.shallow),
4412
+ })),
4437
4413
  name = _useUtilityStore2.name,
4438
4414
  data = _useUtilityStore2.data,
4439
4415
  performerName = _useUtilityStore2.performerName,
@@ -4464,11 +4440,11 @@ var EventsPanel = function EventsPanel() {
4464
4440
  var searchedOptions = getSearchedOptions(dropdownOptions, searchTerm);
4465
4441
  var isSearchable = dropdownOptions.length > MAXIMUM_OPTION_LENGTH;
4466
4442
  var handleDefaultData = /*#__PURE__*/function () {
4467
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
4443
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
4468
4444
  var _values$name;
4469
4445
  var deletedEvents;
4470
- return _regeneratorRuntime.wrap(function _callee$(_context) {
4471
- while (1) switch (_context.prev = _context.next) {
4446
+ return _regenerator().w(function (_context) {
4447
+ while (1) switch (_context.n) {
4472
4448
  case 0:
4473
4449
  deletedEvents = ((_values$name = values[name]) === null || _values$name === void 0 ? void 0 : _values$name.deleted) || [];
4474
4450
  events.forEach(function (event) {
@@ -4480,23 +4456,22 @@ var EventsPanel = function EventsPanel() {
4480
4456
  });
4481
4457
  setFieldValue("".concat(name, ".deleted"), deletedEvents);
4482
4458
  if (!isMenuDisabled) {
4483
- _context.next = 7;
4459
+ _context.n = 1;
4484
4460
  break;
4485
4461
  }
4486
4462
  setFieldValue("".concat(name, ".value"), []);
4487
- _context.next = 11;
4463
+ _context.n = 3;
4488
4464
  break;
4489
- case 7:
4490
- _context.next = 9;
4465
+ case 1:
4466
+ _context.n = 2;
4491
4467
  return setFieldValue("".concat(name, ".value"), [{
4492
4468
  name: defaultData.name
4493
4469
  }]);
4494
- case 9:
4495
- _context.next = 11;
4470
+ case 2:
4471
+ _context.n = 3;
4496
4472
  return setFieldValue("".concat(performerName, ".value"), defaultData === null || defaultData === void 0 ? void 0 : defaultData.performer);
4497
- case 11:
4498
- case "end":
4499
- return _context.stop();
4473
+ case 3:
4474
+ return _context.a(2);
4500
4475
  }
4501
4476
  }, _callee);
4502
4477
  }));
@@ -4602,11 +4577,11 @@ var EventsPanel = function EventsPanel() {
4602
4577
  className: "flex flex-col space-y-2",
4603
4578
  children: [/*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Typography, {
4604
4579
  "data-testid": "event-title",
4605
- variant: "h3",
4580
+ variant: "h5",
4606
4581
  children: [t("neetoRules.common.when"), "..."]
4607
4582
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4608
4583
  "data-testid": "event-description",
4609
- variant: "body2",
4584
+ variant: "body1",
4610
4585
  children: t("neetoRules.form.addEventDescription")
4611
4586
  })]
4612
4587
  })
@@ -4618,7 +4593,7 @@ var EventsPanel = function EventsPanel() {
4618
4593
  children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Input, {
4619
4594
  "data-testid": "search-text-field",
4620
4595
  placeholder: t("neetoRules.common.search"),
4621
- prefix: /*#__PURE__*/jsxRuntime.jsx(Search, {}),
4596
+ prefix: /*#__PURE__*/jsxRuntime.jsx(lucideReact.Search, {}),
4622
4597
  value: searchTerm,
4623
4598
  onChange: function onChange(e) {
4624
4599
  return setSearchTerm(e.target.value);
@@ -4663,7 +4638,7 @@ var EventsPanel = function EventsPanel() {
4663
4638
  "data-testid": "no-options-menu-item",
4664
4639
  children: t("neetoRules.common.noOptions")
4665
4640
  }), error && touched && /*#__PURE__*/jsxRuntime.jsx("div", {
4666
- className: "neeto-ui-input__error",
4641
+ className: "text-destructive text-xs",
4667
4642
  "data-testid": "event-field-input-error",
4668
4643
  children: error
4669
4644
  })]
@@ -4681,22 +4656,22 @@ var EventsPanel = function EventsPanel() {
4681
4656
  var PerformerPanel = function PerformerPanel() {
4682
4657
  var _useTranslation = reactI18next.useTranslation(),
4683
4658
  t = _useTranslation.t;
4684
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
4659
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4685
4660
  return {
4686
4661
  setPanelState: store["setPanelState"],
4687
4662
  resetPanelState: store["resetPanelState"]
4688
4663
  };
4689
- }, shallow.shallow),
4664
+ })),
4690
4665
  setPanelState = _useUtilityStore.setPanelState,
4691
4666
  resetPanelState = _useUtilityStore.resetPanelState;
4692
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
4667
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
4693
4668
  var _store$panelState, _store$panelState2, _store$panelState3;
4694
4669
  return {
4695
4670
  data: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["data"],
4696
4671
  performerName: (_store$panelState2 = store["panelState"]) === null || _store$panelState2 === void 0 || (_store$panelState2 = _store$panelState2["data"]) === null || _store$panelState2 === void 0 ? void 0 : _store$panelState2["performerName"],
4697
4672
  isMenuDisabled: (_store$panelState3 = store["panelState"]) === null || _store$panelState3 === void 0 || (_store$panelState3 = _store$panelState3["data"]) === null || _store$panelState3 === void 0 ? void 0 : _store$panelState3["isMenuDisabled"]
4698
4673
  };
4699
- }, shallow.shallow),
4674
+ })),
4700
4675
  data = _useUtilityStore2.data,
4701
4676
  performerName = _useUtilityStore2.performerName,
4702
4677
  isMenuDisabled = _useUtilityStore2.isMenuDisabled;
@@ -4743,7 +4718,7 @@ var PerformerPanel = function PerformerPanel() {
4743
4718
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
4744
4719
  className: "shrink-0 rtl:rotate-180",
4745
4720
  "data-testid": "back-button",
4746
- icon: Left,
4721
+ icon: lucideReact.ChevronLeft,
4747
4722
  size: "default",
4748
4723
  variant: "ghost",
4749
4724
  tooltipProps: {
@@ -4760,12 +4735,12 @@ var PerformerPanel = function PerformerPanel() {
4760
4735
  }
4761
4736
  }), /*#__PURE__*/jsxRuntime.jsxs(neetoAtoms.Typography, {
4762
4737
  "data-testid": "performer-title",
4763
- variant: "h3",
4738
+ variant: "h5",
4764
4739
  children: [t("neetoRules.form.actionTriggeredBy"), "..."]
4765
4740
  })]
4766
4741
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
4767
4742
  "data-testid": "performer-description",
4768
- variant: "body2",
4743
+ variant: "body1",
4769
4744
  children: t("neetoRules.form.addPerformerDescription")
4770
4745
  })]
4771
4746
  })
@@ -5214,20 +5189,20 @@ var ActionItem = function ActionItem(_ref) {
5214
5189
  var _useActiveField = useCustomDataStore.useActiveField(name),
5215
5190
  isFieldActive = _useActiveField.isFieldActive,
5216
5191
  setFieldActive = _useActiveField.setFieldActive;
5217
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5192
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5218
5193
  return {
5219
5194
  setPanelState: store["setPanelState"],
5220
5195
  setErrorFields: store["setErrorFields"]
5221
5196
  };
5222
- }, shallow.shallow),
5197
+ })),
5223
5198
  setPanelState = _useUtilityStore.setPanelState,
5224
5199
  setErrorFields = _useUtilityStore.setErrorFields;
5225
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
5200
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5226
5201
  var _store$panelState;
5227
5202
  return {
5228
5203
  index: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["index"]
5229
5204
  };
5230
- }, shallow.shallow),
5205
+ })),
5231
5206
  panelIndex = _useUtilityStore2.index;
5232
5207
  var ActionChildren = action.children;
5233
5208
  var defaultLabel = t("neetoRules.form.doThis");
@@ -5333,16 +5308,15 @@ var ActionItem = function ActionItem(_ref) {
5333
5308
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
5334
5309
  className: "flex flex-wrap items-center gap-x-2 gap-y-3",
5335
5310
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5336
- className: "neeto-ui-text-gray-700",
5337
- variant: "h5",
5311
+ variant: "body1",
5338
5312
  children: label
5339
5313
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5340
5314
  "data-testid": "action-dropdown-button",
5341
5315
  label: selectedLabel.toLowerCase(),
5342
5316
  variant: "link",
5343
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
5344
- "neeto-ui-text-accent-800": isFieldActive,
5345
- "neeto-ui-text-error-500": isActionSelected || !!errorMessage && isIntegrableError !== false
5317
+ className: classNames("text-base text-foreground font-semibold underline", {
5318
+ "text-primary": isFieldActive,
5319
+ "text-destructive": isActionSelected || !!errorMessage && isIntegrableError !== false
5346
5320
  }),
5347
5321
  onClick: handleOnClick
5348
5322
  }), /*#__PURE__*/jsxRuntime.jsx(ActionSubItem$1, _objectSpread$d(_objectSpread$d({}, _objectSpread$d(_objectSpread$d({}, panelData), {}, {
@@ -5372,12 +5346,12 @@ var Card = function Card(_ref) {
5372
5346
  children = _ref.children;
5373
5347
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
5374
5348
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5375
- className: "neeto-ui-text-gray-600",
5349
+ color: "muted",
5376
5350
  "data-testid": "".concat(utils.joinHyphenCase(title), "-card-title"),
5377
5351
  variant: "h4",
5378
5352
  children: title
5379
5353
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
5380
- className: "neeto-ui-bg-gray-100 neeto-ui-rounded-sm my-3 p-4 neeto-rules-main-card",
5354
+ className: "bg-muted rounded-sm my-2 p-4 neeto-rules-main-card",
5381
5355
  children: children
5382
5356
  })]
5383
5357
  });
@@ -5410,12 +5384,12 @@ var Actions = function Actions(_ref) {
5410
5384
  _useState2 = _slicedToArray(_useState, 2),
5411
5385
  shouldOpenPanel = _useState2[0],
5412
5386
  setShouldOpenPanel = _useState2[1];
5413
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5387
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5414
5388
  return {
5415
5389
  resetPanelState: store["resetPanelState"],
5416
5390
  setIsSaveAsTemplateEnabled: store["setIsSaveAsTemplateEnabled"]
5417
5391
  };
5418
- }, shallow.shallow),
5392
+ })),
5419
5393
  resetPanelState = _useUtilityStore.resetPanelState,
5420
5394
  setIsSaveAsTemplateEnabled = _useUtilityStore.setIsSaveAsTemplateEnabled;
5421
5395
  var elementProps = data[name] || {};
@@ -5461,7 +5435,7 @@ var Actions = function Actions(_ref) {
5461
5435
  className: "flex flex-wrap shrink-0 self-center",
5462
5436
  children: [showButton && index === actions.length - 1 && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5463
5437
  "data-testid": "add-action-button",
5464
- icon: Plus,
5438
+ icon: lucideReact.Plus,
5465
5439
  size: "default",
5466
5440
  variant: "ghost",
5467
5441
  tooltipProps: {
@@ -5474,7 +5448,7 @@ var Actions = function Actions(_ref) {
5474
5448
  }
5475
5449
  }), actions.length > 1 && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5476
5450
  "data-testid": "delete-action-button-".concat(index),
5477
- icon: Delete,
5451
+ icon: lucideReact.Trash2,
5478
5452
  size: "default",
5479
5453
  variant: "ghost",
5480
5454
  tooltipProps: {
@@ -5513,11 +5487,11 @@ var LogicalOperator = function LogicalOperator(_ref) {
5513
5487
  return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.DropdownMenu, {
5514
5488
  customTarget: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5515
5489
  "data-testid": "logic-operator-button",
5516
- icon: Down,
5490
+ icon: lucideReact.ChevronDown,
5517
5491
  label: logicOperationLabel,
5518
5492
  variant: "link",
5519
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold gap-1 underline", {
5520
- "neeto-ui-text-accent-800": isFieldActive
5493
+ className: classNames("text-base text-foreground font-semibold gap-1 underline", {
5494
+ "text-primary": isFieldActive
5521
5495
  }),
5522
5496
  onClick: setFieldActive
5523
5497
  }),
@@ -5552,18 +5526,18 @@ var ConditionItem = function ConditionItem(_ref) {
5552
5526
  var _useFormikContext = formik.useFormikContext(),
5553
5527
  setFieldValue = _useFormikContext.setFieldValue,
5554
5528
  setFieldTouched = _useFormikContext.setFieldTouched;
5555
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5529
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5556
5530
  return {
5557
5531
  setPanelState: store["setPanelState"]
5558
5532
  };
5559
- }, shallow.shallow),
5533
+ })),
5560
5534
  setPanelState = _useUtilityStore.setPanelState;
5561
- var _useUtilityStore2 = useUtilityStore.useUtilityStore(function (store) {
5535
+ var _useUtilityStore2 = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5562
5536
  var _store$panelState;
5563
5537
  return {
5564
5538
  index: (_store$panelState = store["panelState"]) === null || _store$panelState === void 0 || (_store$panelState = _store$panelState["data"]) === null || _store$panelState === void 0 ? void 0 : _store$panelState["index"]
5565
5539
  };
5566
- }, shallow.shallow),
5540
+ })),
5567
5541
  panelIndex = _useUtilityStore2.index;
5568
5542
  var conditionOptions = elementProps.conditionOptions;
5569
5543
  var selectedField = getFieldDetails(condition.field, conditionOptions);
@@ -5640,14 +5614,12 @@ var ConditionItem = function ConditionItem(_ref) {
5640
5614
  isWithEvents: isWithEvents,
5641
5615
  name: "".concat(name, ".joinType")
5642
5616
  }), isWithEvents && !index && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5643
- className: "neeto-ui-text-gray-700",
5644
- variant: "h5",
5617
+ variant: "body1",
5645
5618
  children: t("neetoRules.common.and", {
5646
5619
  what: ""
5647
5620
  })
5648
5621
  }), !index && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5649
- className: "neeto-ui-text-gray-700",
5650
- variant: "h5",
5622
+ variant: "body1",
5651
5623
  children: defaultLabel
5652
5624
  }), /*#__PURE__*/jsxRuntime.jsx(RadioField$1.Target, {
5653
5625
  name: "".concat(name, ".field"),
@@ -5706,11 +5678,11 @@ var Conditions = function Conditions(_ref) {
5706
5678
  _useState2 = _slicedToArray(_useState, 2),
5707
5679
  shouldOpenPanel = _useState2[0],
5708
5680
  setShouldOpenPanel = _useState2[1];
5709
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5681
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5710
5682
  return {
5711
5683
  resetPanelState: store["resetPanelState"]
5712
5684
  };
5713
- }, shallow.shallow),
5685
+ })),
5714
5686
  resetPanelState = _useUtilityStore.resetPanelState;
5715
5687
  var elementProps = data[name] || {};
5716
5688
  var conditions = ((_field$value = field.value) === null || _field$value === void 0 ? void 0 : _field$value.value) || [];
@@ -5770,7 +5742,7 @@ var Conditions = function Conditions(_ref) {
5770
5742
  className: "flex",
5771
5743
  children: [index === conditions.length - 1 && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5772
5744
  "data-testid": "add-condition-button",
5773
- icon: Plus,
5745
+ icon: lucideReact.Plus,
5774
5746
  size: "default",
5775
5747
  variant: "ghost",
5776
5748
  tooltipProps: {
@@ -5782,7 +5754,7 @@ var Conditions = function Conditions(_ref) {
5782
5754
  }
5783
5755
  }), (allowEmpty || index !== 0) && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5784
5756
  "data-testid": "delete-condition-button-".concat(index),
5785
- icon: Delete,
5757
+ icon: lucideReact.Trash2,
5786
5758
  size: "default",
5787
5759
  variant: "ghost",
5788
5760
  tooltipProps: {
@@ -5796,7 +5768,7 @@ var Conditions = function Conditions(_ref) {
5796
5768
  })]
5797
5769
  }, index);
5798
5770
  }), ramda.isEmpty(conditions) && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5799
- className: "neeto-ui-text-gray-600 me-auto",
5771
+ className: "text-muted-foreground me-auto",
5800
5772
  "data-testid": "add-condition-button",
5801
5773
  label: t("neetoRules.form.addCondition"),
5802
5774
  variant: "ghost",
@@ -5807,7 +5779,7 @@ var Conditions = function Conditions(_ref) {
5807
5779
  children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5808
5780
  className: "mt-2",
5809
5781
  "data-testid": "preview-callback-button",
5810
- icon: Eye,
5782
+ icon: lucideReact.Eye,
5811
5783
  label: t("neetoRules.common.preview"),
5812
5784
  variant: "outline",
5813
5785
  onClick: function onClick() {
@@ -5826,12 +5798,12 @@ var AddDelay = function AddDelay(_ref) {
5826
5798
  var _useTranslation = reactI18next.useTranslation(),
5827
5799
  t = _useTranslation.t;
5828
5800
  var addDelayButtonRef = react.useRef(null);
5829
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5801
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5830
5802
  return {
5831
5803
  setPanelState: store["setPanelState"],
5832
5804
  resetPanelState: store["resetPanelState"]
5833
5805
  };
5834
- }, shallow.shallow),
5806
+ })),
5835
5807
  setPanelState = _useUtilityStore.setPanelState,
5836
5808
  resetPanelState = _useUtilityStore.resetPanelState;
5837
5809
  var _ref2 = data[name] || {},
@@ -5870,7 +5842,8 @@ var AddDelay = function AddDelay(_ref) {
5870
5842
  };
5871
5843
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
5872
5844
  children: [showAddDelayButton && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5873
- icon: Plus,
5845
+ icon: lucideReact.Plus,
5846
+ iconPosition: "left",
5874
5847
  label: t("neetoRules.common.addDelay"),
5875
5848
  ref: addDelayButtonRef,
5876
5849
  size: "default",
@@ -5883,14 +5856,14 @@ var AddDelay = function AddDelay(_ref) {
5883
5856
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
5884
5857
  className: "flex items-center gap-2 flex-wrap min-w-0 grow",
5885
5858
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5886
- variant: "body2",
5859
+ variant: "body1",
5887
5860
  children: t("neetoRules.form.delayExecutionBy")
5888
5861
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5889
5862
  label: delayLabel,
5890
5863
  variant: "link",
5891
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
5892
- "neeto-ui-text-accent-800": isValueFieldActive,
5893
- "neeto-ui-text-error-500": isFieldInvalid && !isValueFieldActive
5864
+ className: classNames("text-base text-foreground font-semibold underline", {
5865
+ "text-primary": isValueFieldActive,
5866
+ "text-destructive": isFieldInvalid && !isValueFieldActive
5894
5867
  }),
5895
5868
  onClick: function onClick() {
5896
5869
  openDelayPanel();
@@ -5899,8 +5872,8 @@ var AddDelay = function AddDelay(_ref) {
5899
5872
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5900
5873
  label: value.unit,
5901
5874
  variant: "link",
5902
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
5903
- "neeto-ui-text-accent-800": isUnitFieldActive
5875
+ className: classNames("text-base text-foreground font-semibold underline", {
5876
+ "text-primary": isUnitFieldActive
5904
5877
  }),
5905
5878
  onClick: function onClick() {
5906
5879
  openDelayPanel();
@@ -5910,7 +5883,7 @@ var AddDelay = function AddDelay(_ref) {
5910
5883
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5911
5884
  className: "shrink-0",
5912
5885
  "data-testid": "delete-delay-button",
5913
- icon: Delete,
5886
+ icon: lucideReact.Trash2,
5914
5887
  size: "default",
5915
5888
  variant: "ghost",
5916
5889
  tooltipProps: {
@@ -5942,11 +5915,11 @@ var Performer = function Performer(_ref) {
5942
5915
  var _useFormikContext = formik.useFormikContext(),
5943
5916
  values = _useFormikContext.values,
5944
5917
  errors = _useFormikContext.errors;
5945
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5918
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
5946
5919
  return {
5947
5920
  setPanelState: store["setPanelState"]
5948
5921
  };
5949
- }, shallow.shallow),
5922
+ })),
5950
5923
  setPanelState = _useUtilityStore.setPanelState;
5951
5924
  var elementProps = data[performerName] || {};
5952
5925
  var performer = values[performerName].value;
@@ -5978,16 +5951,15 @@ var Performer = function Performer(_ref) {
5978
5951
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
5979
5952
  className: "my-auto flex items-center gap-x-2 gap-y-3",
5980
5953
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
5981
- className: "neeto-ui-text-gray-700",
5982
- variant: "h5",
5954
+ variant: "body1",
5983
5955
  children: t("neetoRules.common.by")
5984
5956
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
5985
5957
  "data-testid": "event-performer-dropdown",
5986
5958
  label: selectedOption === null || selectedOption === void 0 || (_selectedOption$label = selectedOption.label) === null || _selectedOption$label === void 0 ? void 0 : _selectedOption$label.toLowerCase(),
5987
5959
  variant: "link",
5988
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
5989
- "neeto-ui-text-accent-800": isFieldActive,
5990
- "neeto-ui-text-error-500": isValueSelected
5960
+ className: classNames("text-base text-foreground font-semibold underline", {
5961
+ "text-primary": isFieldActive,
5962
+ "text-destructive": isValueSelected
5991
5963
  }),
5992
5964
  onClick: handleOnClick
5993
5965
  })]
@@ -6011,11 +5983,11 @@ var Events = function Events(_ref) {
6011
5983
  var _useFormikContext = formik.useFormikContext(),
6012
5984
  values = _useFormikContext.values,
6013
5985
  errors = _useFormikContext.errors;
6014
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
5986
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
6015
5987
  return {
6016
5988
  setPanelState: store["setPanelState"]
6017
5989
  };
6018
- }, shallow.shallow),
5990
+ })),
6019
5991
  setPanelState = _useUtilityStore.setPanelState;
6020
5992
  var elementProps = data[name] || {};
6021
5993
  var events = values[name].value || [];
@@ -6055,8 +6027,8 @@ var Events = function Events(_ref) {
6055
6027
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
6056
6028
  className: "my-auto flex flex-wrap items-center gap-x-2 gap-y-3",
6057
6029
  children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
6058
- className: "neeto-ui-text-gray-700 my-auto",
6059
- variant: "h5",
6030
+ className: "my-auto",
6031
+ variant: "body1",
6060
6032
  children: t("neetoRules.common.when")
6061
6033
  }), neetoCist.isNotEmpty(allEvents) ? /*#__PURE__*/jsxRuntime.jsx("span", {
6062
6034
  className: "flex flex-wrap items-center gap-x-2 gap-y-1",
@@ -6064,16 +6036,15 @@ var Events = function Events(_ref) {
6064
6036
  var _event$label;
6065
6037
  return /*#__PURE__*/jsxRuntime.jsxs(react.Fragment, {
6066
6038
  children: [!!idx && /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Typography, {
6067
- className: "neeto-ui-text-gray-700",
6068
- variant: "h5",
6039
+ variant: "body1",
6069
6040
  children: t("neetoRules.common.or")
6070
6041
  }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
6071
6042
  "data-testid": "condition-value-multi-select-field",
6072
6043
  label: event === null || event === void 0 || (_event$label = event.label) === null || _event$label === void 0 ? void 0 : _event$label.toLowerCase(),
6073
6044
  variant: "link",
6074
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
6075
- "neeto-ui-text-accent-800": isFieldActive,
6076
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
6045
+ className: classNames("text-base text-foreground font-semibold underline", {
6046
+ "text-primary": isFieldActive,
6047
+ "text-destructive": isFieldInvalid && !isFieldActive
6077
6048
  }),
6078
6049
  onClick: handleOnClick
6079
6050
  })]
@@ -6083,9 +6054,9 @@ var Events = function Events(_ref) {
6083
6054
  "data-testid": "condition-value-multi-select-field",
6084
6055
  label: defaultLabel,
6085
6056
  variant: "link",
6086
- className: classNames("neeto-ui-text-gray-800 neeto-ui-font-semibold underline", {
6087
- "neeto-ui-text-accent-800": isFieldActive,
6088
- "neeto-ui-text-error-500": isFieldInvalid && !isFieldActive
6057
+ className: classNames("text-base text-foreground font-semibold underline", {
6058
+ "text-primary": isFieldActive,
6059
+ "text-destructive": isFieldInvalid && !isFieldActive
6089
6060
  }),
6090
6061
  onClick: handleOnClick
6091
6062
  }), !hidePerformer && /*#__PURE__*/jsxRuntime.jsx(Performer, {
@@ -6171,7 +6142,7 @@ var EventConditions = function EventConditions(_ref) {
6171
6142
  children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
6172
6143
  "data-testid": "add-condition-button",
6173
6144
  disabled: isConditionsEmpty,
6174
- icon: Plus,
6145
+ icon: lucideReact.Plus,
6175
6146
  size: "default",
6176
6147
  variant: "ghost",
6177
6148
  onClick: handleAddCondition
@@ -6187,9 +6158,12 @@ var EventConditions = function EventConditions(_ref) {
6187
6158
  openPanel: shouldOpenConditionsPanel
6188
6159
  }, config))
6189
6160
  })]
6190
- }), enableAddingDelay && /*#__PURE__*/jsxRuntime.jsx(AddDelay, {
6191
- data: data,
6192
- name: "execution_delay"
6161
+ }), enableAddingDelay && /*#__PURE__*/jsxRuntime.jsx("div", {
6162
+ className: "mt-6",
6163
+ children: /*#__PURE__*/jsxRuntime.jsx(AddDelay, {
6164
+ data: data,
6165
+ name: "execution_delay"
6166
+ })
6193
6167
  })]
6194
6168
  });
6195
6169
  };
@@ -6441,9 +6415,10 @@ var Status = function Status() {
6441
6415
  return /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Switch, {
6442
6416
  checked: defaultValue === ENABLED,
6443
6417
  label: t("neetoRules.labels.active"),
6418
+ size: "lg",
6444
6419
  labelProps: {
6445
6420
  helpIconProps: {
6446
- icon: Help,
6421
+ icon: lucideReact.CircleHelp,
6447
6422
  tooltipProps: {
6448
6423
  content: status.value === ENABLED ? t("neetoRules.tooltips.rule.active") : t("neetoRules.tooltips.rule.inactive")
6449
6424
  }
@@ -6593,18 +6568,18 @@ var Form = function Form(_ref) {
6593
6568
  t = _useTranslation.t;
6594
6569
  var formikRef = react.useRef(null);
6595
6570
  var formRef = react.useRef(null);
6596
- var _useCustomDataStore = useCustomDataStore.useCustomDataStore(function (store) {
6571
+ var _useCustomDataStore = useCustomDataStore.useCustomDataStore(shallow.useShallow(function (store) {
6597
6572
  return {
6598
6573
  customData: store["customData"]
6599
6574
  };
6600
- }, shallow.shallow),
6575
+ })),
6601
6576
  customData = _useCustomDataStore.customData;
6602
- var _useUtilityStore = useUtilityStore.useUtilityStore(function (store) {
6577
+ var _useUtilityStore = useUtilityStore.useUtilityStore(shallow.useShallow(function (store) {
6603
6578
  return {
6604
6579
  resetPanelState: store["resetPanelState"],
6605
6580
  errorFields: store["errorFields"]
6606
6581
  };
6607
- }, shallow.shallow),
6582
+ })),
6608
6583
  resetPanelState = _useUtilityStore.resetPanelState,
6609
6584
  errorFields = _useUtilityStore.errorFields;
6610
6585
  var initialValues = react.useMemo(function () {
@@ -6669,33 +6644,35 @@ var Form = function Form(_ref) {
6669
6644
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
6670
6645
  className: "space-y-6",
6671
6646
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
6672
- className: "flex items-center gap-x-3",
6673
- children: [/*#__PURE__*/jsxRuntime.jsx(InputField, {
6674
- data: initialValues,
6675
- label: t("neetoRules.common.name"),
6676
- name: "name",
6677
- placeholder: isNameGenerationDisabled ? "" : t("neetoRules.placeholders.autoGenerateName")
6678
- }), isGeneratingName && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
6679
- children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Tooltip, {
6680
- content: t("neetoRules.form.aiGeneratedName"),
6681
- position: "top",
6682
- children: /*#__PURE__*/jsxRuntime.jsx("span", {
6683
- children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Spinner, {
6684
- size: "sm"
6647
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
6648
+ className: "flex items-center gap-x-3",
6649
+ children: [/*#__PURE__*/jsxRuntime.jsx(InputField, {
6650
+ data: initialValues,
6651
+ label: t("neetoRules.common.name"),
6652
+ name: "name",
6653
+ placeholder: isNameGenerationDisabled ? "" : t("neetoRules.placeholders.autoGenerateName")
6654
+ }), isGeneratingName && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
6655
+ children: [/*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Tooltip, {
6656
+ content: t("neetoRules.form.aiGeneratedName"),
6657
+ position: "top",
6658
+ children: /*#__PURE__*/jsxRuntime.jsx("span", {
6659
+ children: /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Spinner, {
6660
+ size: "sm"
6661
+ })
6685
6662
  })
6686
- })
6687
- }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
6688
- icon: Close,
6689
- size: "sm",
6690
- variant: "ghost",
6691
- tooltipProps: {
6692
- content: t("neetoRules.buttons.cancelNameGeneration"),
6693
- position: "top"
6694
- },
6695
- onClick: handleCancelNameGeneration
6663
+ }), /*#__PURE__*/jsxRuntime.jsx(neetoAtoms.Button, {
6664
+ icon: lucideReact.X,
6665
+ size: "sm",
6666
+ variant: "ghost",
6667
+ tooltipProps: {
6668
+ content: t("neetoRules.buttons.cancelNameGeneration"),
6669
+ position: "top"
6670
+ },
6671
+ onClick: handleCancelNameGeneration
6672
+ })]
6696
6673
  })]
6697
- })]
6698
- }), showStatusSwitch && /*#__PURE__*/jsxRuntime.jsx(Status, {}), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
6674
+ }), showStatusSwitch && /*#__PURE__*/jsxRuntime.jsx(Status, {})]
6675
+ }), typeof _children === "function" ? _children === null || _children === void 0 ? void 0 : _children(_objectSpread$1({
6699
6676
  values: values,
6700
6677
  formattedValues: buildPayload(data, values),
6701
6678
  dirty: dirty
@@ -6703,7 +6680,7 @@ var Form = function Form(_ref) {
6703
6680
  formRef: formRef
6704
6681
  })]
6705
6682
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
6706
- className: "neeto-ui-bg-white sticky bottom-0 py-6",
6683
+ className: "bg-background sticky bottom-0 py-6",
6707
6684
  children: /*#__PURE__*/jsxRuntime.jsx(formik$1.ActionBlock, {
6708
6685
  cancelButtonProps: {
6709
6686
  onClick: handleCancel