@bigbinary/neetoui 8.3.37 → 8.3.38

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 (113) hide show
  1. package/dist/ActionDropdown.js +2 -2
  2. package/dist/Alert.js +3 -3
  3. package/dist/Checkbox.js +2 -2
  4. package/dist/ColorPicker.js +3 -3
  5. package/dist/DatePicker.js +8 -7
  6. package/dist/DatePicker.js.map +1 -1
  7. package/dist/Dropdown.js +2 -2
  8. package/dist/Input.js +2 -2
  9. package/dist/Modal.js +3 -3
  10. package/dist/MultiEmailInput.js +2 -2
  11. package/dist/Pagination.js +2 -2
  12. package/dist/Pane.js +3 -3
  13. package/dist/Radio.js +2 -2
  14. package/dist/Select.js +2 -2
  15. package/dist/Sidebar.js +2 -2
  16. package/dist/Slider.js +2 -2
  17. package/dist/Switch.js +2 -2
  18. package/dist/Table.js +3 -3
  19. package/dist/{Textarea-Cj16lNXl.js → Textarea-D4ZkCoTo.js} +2 -2
  20. package/dist/{Textarea-Cj16lNXl.js.map → Textarea-D4ZkCoTo.js.map} +1 -1
  21. package/dist/Textarea.js +3 -3
  22. package/dist/TimePicker.js +8 -7
  23. package/dist/TimePicker.js.map +1 -1
  24. package/dist/Toastr.js +2 -2
  25. package/dist/TranslationProvider.js +1 -1
  26. package/dist/Tree.js +2 -2
  27. package/dist/TreeSelect.js +2 -2
  28. package/dist/cjs/ActionDropdown.js +2 -2
  29. package/dist/cjs/Alert.js +3 -3
  30. package/dist/cjs/Checkbox.js +2 -2
  31. package/dist/cjs/ColorPicker.js +3 -3
  32. package/dist/cjs/DatePicker.js +8 -7
  33. package/dist/cjs/DatePicker.js.map +1 -1
  34. package/dist/cjs/Dropdown.js +2 -2
  35. package/dist/cjs/Input.js +2 -2
  36. package/dist/cjs/Modal.js +3 -3
  37. package/dist/cjs/MultiEmailInput.js +2 -2
  38. package/dist/cjs/Pagination.js +2 -2
  39. package/dist/cjs/Pane.js +3 -3
  40. package/dist/cjs/Radio.js +2 -2
  41. package/dist/cjs/Select.js +2 -2
  42. package/dist/cjs/Sidebar.js +2 -2
  43. package/dist/cjs/Slider.js +2 -2
  44. package/dist/cjs/Switch.js +2 -2
  45. package/dist/cjs/Table.js +3 -3
  46. package/dist/cjs/{Textarea-D6WRFBzq.js → Textarea-CB5jd2iS.js} +2 -2
  47. package/dist/cjs/{Textarea-D6WRFBzq.js.map → Textarea-CB5jd2iS.js.map} +1 -1
  48. package/dist/cjs/Textarea.js +3 -3
  49. package/dist/cjs/TimePicker.js +8 -7
  50. package/dist/cjs/TimePicker.js.map +1 -1
  51. package/dist/cjs/Toastr.js +2 -2
  52. package/dist/cjs/TranslationProvider.js +1 -1
  53. package/dist/cjs/Tree.js +2 -2
  54. package/dist/cjs/TreeSelect.js +2 -2
  55. package/dist/cjs/{en-K2ZIAV2F.js → en-BoX6pwZe.js} +4 -1
  56. package/dist/cjs/en-BoX6pwZe.js.map +1 -0
  57. package/dist/cjs/formik/ActionBlock.js +2 -2
  58. package/dist/cjs/formik/BlockNavigation.js +3 -3
  59. package/dist/cjs/formik/Checkbox.js +2 -2
  60. package/dist/cjs/formik/Input.js +2 -2
  61. package/dist/cjs/formik/MultiEmailInput.js +2 -2
  62. package/dist/cjs/formik/Radio.js +2 -2
  63. package/dist/cjs/formik/Select.js +2 -2
  64. package/dist/cjs/formik/Slider.js +2 -2
  65. package/dist/cjs/formik/Switch.js +2 -2
  66. package/dist/cjs/formik/Textarea.js +3 -3
  67. package/dist/cjs/formik/TreeSelect.js +2 -2
  68. package/dist/cjs/formik/index.js +4 -4
  69. package/dist/cjs/{index-BjVPgt_F.js → index-CbogcGzZ.js} +72 -26
  70. package/dist/cjs/index-CbogcGzZ.js.map +1 -0
  71. package/dist/cjs/{index-CLEEvRwX.js → index-L7R2H1ti.js} +2 -2
  72. package/dist/cjs/{index-CLEEvRwX.js.map → index-L7R2H1ti.js.map} +1 -1
  73. package/dist/cjs/index.js +7 -7
  74. package/dist/cjs/layouts.js +2 -2
  75. package/dist/cjs/{useOverlayManager-B9QUaUF4.js → useOverlayManager-DwzPYbAl.js} +2 -2
  76. package/dist/cjs/{useOverlayManager-B9QUaUF4.js.map → useOverlayManager-DwzPYbAl.js.map} +1 -1
  77. package/dist/cjs/{useRecentlyUsedColors-CKIJaoqJ.js → useRecentlyUsedColors-DP2Zcz4P.js} +2 -2
  78. package/dist/cjs/{useRecentlyUsedColors-CKIJaoqJ.js.map → useRecentlyUsedColors-DP2Zcz4P.js.map} +1 -1
  79. package/dist/cjs/{useRestoreScrollPosition-xleOKPO2.js → useRestoreScrollPosition-C1CkhhSf.js} +2 -2
  80. package/dist/cjs/{useRestoreScrollPosition-xleOKPO2.js.map → useRestoreScrollPosition-C1CkhhSf.js.map} +1 -1
  81. package/dist/{en-CIkXIYyl.js → en-Cj1tGKrT.js} +4 -1
  82. package/dist/en-Cj1tGKrT.js.map +1 -0
  83. package/dist/formik/ActionBlock.js +2 -2
  84. package/dist/formik/BlockNavigation.js +3 -3
  85. package/dist/formik/Checkbox.js +2 -2
  86. package/dist/formik/Input.js +2 -2
  87. package/dist/formik/MultiEmailInput.js +2 -2
  88. package/dist/formik/Radio.js +2 -2
  89. package/dist/formik/Select.js +2 -2
  90. package/dist/formik/Slider.js +2 -2
  91. package/dist/formik/Switch.js +2 -2
  92. package/dist/formik/Textarea.js +3 -3
  93. package/dist/formik/TreeSelect.js +2 -2
  94. package/dist/formik/index.js +4 -4
  95. package/dist/{index-DJXeBPyx.js → index-1QOW4zv8.js} +74 -28
  96. package/dist/index-1QOW4zv8.js.map +1 -0
  97. package/dist/{index-BfYlktCo.js → index-DvvA0dfM.js} +2 -2
  98. package/dist/{index-BfYlktCo.js.map → index-DvvA0dfM.js.map} +1 -1
  99. package/dist/index.js +7 -7
  100. package/dist/layouts.js +2 -2
  101. package/dist/src/translations/en.json +3 -0
  102. package/dist/{useOverlayManager-Bp70s6fQ.js → useOverlayManager-DI9NqZll.js} +2 -2
  103. package/dist/{useOverlayManager-Bp70s6fQ.js.map → useOverlayManager-DI9NqZll.js.map} +1 -1
  104. package/dist/{useRecentlyUsedColors-CrqOz7Eb.js → useRecentlyUsedColors-BRF9O4JV.js} +2 -2
  105. package/dist/{useRecentlyUsedColors-CrqOz7Eb.js.map → useRecentlyUsedColors-BRF9O4JV.js.map} +1 -1
  106. package/dist/{useRestoreScrollPosition-Dtv0KWsN.js → useRestoreScrollPosition-MPkm85_L.js} +2 -2
  107. package/dist/{useRestoreScrollPosition-Dtv0KWsN.js.map → useRestoreScrollPosition-MPkm85_L.js.map} +1 -1
  108. package/package.json +1 -1
  109. package/types/DatePicker.d.ts +3 -2
  110. package/dist/cjs/en-K2ZIAV2F.js.map +0 -1
  111. package/dist/cjs/index-BjVPgt_F.js.map +0 -1
  112. package/dist/en-CIkXIYyl.js.map +0 -1
  113. package/dist/index-DJXeBPyx.js.map +0 -1
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import 'react';
4
4
  import classnames from 'classnames';
5
- import { n as noop } from './index-BfYlktCo.js';
5
+ import { n as noop } from './index-DvvA0dfM.js';
6
6
  import Button from './Button.js';
7
7
  import Dropdown from './Dropdown.js';
8
8
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -12,7 +12,7 @@ import '@babel/runtime/helpers/createClass';
12
12
  import '@bigbinary/neeto-cist';
13
13
  import 'qs';
14
14
  import 'ramda';
15
- import './en-CIkXIYyl.js';
15
+ import './en-Cj1tGKrT.js';
16
16
  import '@babel/runtime/helpers/toConsumableArray';
17
17
  import 'dayjs';
18
18
  import 'dayjs/plugin/localeData';
package/dist/Alert.js CHANGED
@@ -13,7 +13,7 @@ import '@babel/runtime/helpers/slicedToArray';
13
13
  import '@tippyjs/react';
14
14
  import 'tippy.js';
15
15
  import '@bigbinary/neeto-icons/Close';
16
- import './useOverlayManager-Bp70s6fQ.js';
16
+ import './useOverlayManager-DI9NqZll.js';
17
17
  import '@babel/runtime/helpers/esm/extends';
18
18
  import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
19
19
  import '@babel/runtime/helpers/esm/inheritsLoose';
@@ -23,10 +23,10 @@ import '@bigbinary/neeto-hotkeys';
23
23
  import './overlayManager.js';
24
24
  import '@babel/runtime/helpers/classCallCheck';
25
25
  import '@babel/runtime/helpers/createClass';
26
- import './index-BfYlktCo.js';
26
+ import './index-DvvA0dfM.js';
27
27
  import '@bigbinary/neeto-cist';
28
28
  import 'qs';
29
- import './en-CIkXIYyl.js';
29
+ import './en-Cj1tGKrT.js';
30
30
  import '@babel/runtime/helpers/toConsumableArray';
31
31
  import 'dayjs';
32
32
  import 'dayjs/plugin/localeData';
package/dist/Checkbox.js CHANGED
@@ -7,7 +7,7 @@ import '@babel/runtime/helpers/slicedToArray';
7
7
  import 'react-router-dom';
8
8
  import '@bigbinary/neeto-hotkeys';
9
9
  import './overlayManager.js';
10
- import { h as hyphenize } from './index-BfYlktCo.js';
10
+ import { h as hyphenize } from './index-DvvA0dfM.js';
11
11
  import 'qs';
12
12
  import Label from './Label.js';
13
13
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -15,7 +15,7 @@ import '@babel/runtime/helpers/classCallCheck';
15
15
  import '@babel/runtime/helpers/createClass';
16
16
  import '@bigbinary/neeto-cist';
17
17
  import 'ramda';
18
- import './en-CIkXIYyl.js';
18
+ import './en-Cj1tGKrT.js';
19
19
  import '@babel/runtime/helpers/toConsumableArray';
20
20
  import 'dayjs';
21
21
  import 'dayjs/plugin/localeData';
@@ -9,11 +9,11 @@ import Down from '@bigbinary/neeto-icons/Down';
9
9
  import ColorPickerIcon from '@bigbinary/neeto-icons/ColorPicker';
10
10
  import { HexAlphaColorPicker, HexColorPicker, HexColorInput } from 'react-colorful';
11
11
  import { useTranslation } from 'react-i18next';
12
- import { t as tinycolor, u as useRecentlyUsedColors } from './useRecentlyUsedColors-CrqOz7Eb.js';
12
+ import { t as tinycolor, u as useRecentlyUsedColors } from './useRecentlyUsedColors-BRF9O4JV.js';
13
13
  import Button from './Button.js';
14
14
  import Dropdown from './Dropdown.js';
15
15
  import Typography from './Typography.js';
16
- import { g as getLocale, n as noop } from './index-BfYlktCo.js';
16
+ import { g as getLocale, n as noop } from './index-DvvA0dfM.js';
17
17
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
18
18
  import '@babel/runtime/helpers/objectWithoutProperties';
19
19
  import 'react-router-dom';
@@ -26,7 +26,7 @@ import '@bigbinary/neeto-cist';
26
26
  import '@babel/runtime/helpers/classCallCheck';
27
27
  import '@babel/runtime/helpers/createClass';
28
28
  import 'qs';
29
- import './en-CIkXIYyl.js';
29
+ import './en-Cj1tGKrT.js';
30
30
  import 'dayjs';
31
31
  import 'dayjs/plugin/localeData';
32
32
  import 'dayjs/plugin/utc';
@@ -28,10 +28,10 @@ import '@bigbinary/neeto-icons/Down';
28
28
  import '@bigbinary/neeto-icons/ColorPicker';
29
29
  import 'react-colorful';
30
30
  import 'react-i18next';
31
- import './useRecentlyUsedColors-CrqOz7Eb.js';
31
+ import './useRecentlyUsedColors-BRF9O4JV.js';
32
32
  import './Dropdown.js';
33
- import './index-BfYlktCo.js';
34
- export { D as default } from './index-DJXeBPyx.js';
33
+ import './index-DvvA0dfM.js';
34
+ export { D as default } from './index-1QOW4zv8.js';
35
35
  import './Input.js';
36
36
  import './Label.js';
37
37
  import './MultiEmailInput.js';
@@ -40,7 +40,7 @@ import './useId-Jj9hXm-g.js';
40
40
  import '@bigbinary/neeto-hotkeys';
41
41
  import './overlayManager.js';
42
42
  import 'qs';
43
- import './Textarea-Cj16lNXl.js';
43
+ import './Textarea-D4ZkCoTo.js';
44
44
  import './Pane.js';
45
45
  import './Popover.js';
46
46
  import 'framer-motion';
@@ -71,14 +71,14 @@ import 'react-drag-listview';
71
71
  import '@bigbinary/neeto-icons/DownArrow';
72
72
  import '@bigbinary/neeto-icons/UpArrow';
73
73
  import '@bigbinary/neeto-icons/InfoRound';
74
- import './useRestoreScrollPosition-Dtv0KWsN.js';
74
+ import './useRestoreScrollPosition-MPkm85_L.js';
75
75
  import 'react-resizable';
76
76
  import './Tag.js';
77
77
  import './Toastr.js';
78
78
  import 'i18next';
79
79
  import 'antd/lib/tree';
80
80
  import './TreeSelect.js';
81
- import './en-CIkXIYyl.js';
81
+ import './en-Cj1tGKrT.js';
82
82
  import 'dayjs';
83
83
  import 'dayjs/plugin/localeData';
84
84
  import 'dayjs/plugin/utc';
@@ -86,12 +86,13 @@ import 'dayjs/plugin/weekday';
86
86
  import 'dayjs/plugin/weekOfYear';
87
87
  import './Spinner.js';
88
88
  import './Tooltip.js';
89
- import './useOverlayManager-Bp70s6fQ.js';
89
+ import './useOverlayManager-DI9NqZll.js';
90
90
  import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
91
91
  import '@babel/runtime/helpers/esm/inheritsLoose';
92
92
  import '@bigbinary/neeto-icons/Help';
93
93
  import '@bigbinary/neeto-icons/Clock';
94
94
  import './constants.js';
95
+ import './Select.js';
95
96
  import './react-select-creatable.esm-opiJTCqo.js';
96
97
  import '@babel/runtime/helpers/esm/objectSpread2';
97
98
  import '@babel/runtime/helpers/esm/classCallCheck';
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/Dropdown.js CHANGED
@@ -7,7 +7,7 @@ import classnames from 'classnames';
7
7
  import Down from '@bigbinary/neeto-icons/Down';
8
8
  import { isNil } from 'ramda';
9
9
  import Button from './Button.js';
10
- import { h as hyphenize, n as noop } from './index-BfYlktCo.js';
10
+ import { h as hyphenize, n as noop } from './index-DvvA0dfM.js';
11
11
  import { jsx, jsxs } from 'react/jsx-runtime';
12
12
  import { isPresent } from '@bigbinary/neeto-cist';
13
13
  import Tooltip from './Tooltip.js';
@@ -17,7 +17,7 @@ import 'tippy.js';
17
17
  import '@babel/runtime/helpers/classCallCheck';
18
18
  import '@babel/runtime/helpers/createClass';
19
19
  import 'qs';
20
- import './en-CIkXIYyl.js';
20
+ import './en-Cj1tGKrT.js';
21
21
  import '@babel/runtime/helpers/toConsumableArray';
22
22
  import 'dayjs';
23
23
  import 'dayjs/plugin/localeData';
package/dist/Input.js CHANGED
@@ -8,14 +8,14 @@ import { u as useId } from './useId-Jj9hXm-g.js';
8
8
  import 'react-router-dom';
9
9
  import '@bigbinary/neeto-hotkeys';
10
10
  import './overlayManager.js';
11
- import { h as hyphenize } from './index-BfYlktCo.js';
11
+ import { h as hyphenize } from './index-DvvA0dfM.js';
12
12
  import 'qs';
13
13
  import Label from './Label.js';
14
14
  import { jsxs, jsx } from 'react/jsx-runtime';
15
15
  import '@babel/runtime/helpers/classCallCheck';
16
16
  import '@babel/runtime/helpers/createClass';
17
17
  import '@bigbinary/neeto-cist';
18
- import './en-CIkXIYyl.js';
18
+ import './en-Cj1tGKrT.js';
19
19
  import '@babel/runtime/helpers/toConsumableArray';
20
20
  import 'dayjs';
21
21
  import 'dayjs/plugin/localeData';
package/dist/Modal.js CHANGED
@@ -4,7 +4,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
4
4
  import React__default, { useState, useRef } from 'react';
5
5
  import classnames from 'classnames';
6
6
  import Close from '@bigbinary/neeto-icons/Close';
7
- import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-Bp70s6fQ.js';
7
+ import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-DI9NqZll.js';
8
8
  import Button from './Button.js';
9
9
  import 'react-router-dom';
10
10
  import 'qs';
@@ -19,9 +19,9 @@ import '@bigbinary/neeto-hotkeys';
19
19
  import './overlayManager.js';
20
20
  import '@babel/runtime/helpers/classCallCheck';
21
21
  import '@babel/runtime/helpers/createClass';
22
- import './index-BfYlktCo.js';
22
+ import './index-DvvA0dfM.js';
23
23
  import '@bigbinary/neeto-cist';
24
- import './en-CIkXIYyl.js';
24
+ import './en-Cj1tGKrT.js';
25
25
  import '@babel/runtime/helpers/toConsumableArray';
26
26
  import 'dayjs';
27
27
  import 'dayjs/plugin/localeData';
@@ -6,7 +6,7 @@ import { useRef, useEffect, forwardRef, useState } from 'react';
6
6
  import classnames from 'classnames';
7
7
  import { assoc, pluck, mergeLeft, isEmpty } from 'ramda';
8
8
  import { c as components, C as CreatableSelect } from './react-select-creatable.esm-opiJTCqo.js';
9
- import { h as hyphenize, n as noop } from './index-BfYlktCo.js';
9
+ import { h as hyphenize, n as noop } from './index-DvvA0dfM.js';
10
10
  import _toArray from '@babel/runtime/helpers/toArray';
11
11
  import Close from '@bigbinary/neeto-icons/Close';
12
12
  import Tag from './Tag.js';
@@ -35,7 +35,7 @@ import '@babel/runtime/helpers/createSuper';
35
35
  import '@babel/runtime/helpers/taggedTemplateLiteral';
36
36
  import '@babel/runtime/helpers/typeof';
37
37
  import 'qs';
38
- import './en-CIkXIYyl.js';
38
+ import './en-Cj1tGKrT.js';
39
39
  import 'dayjs';
40
40
  import 'dayjs/plugin/localeData';
41
41
  import 'dayjs/plugin/utc';
@@ -7,7 +7,7 @@ import { useHistory } from 'react-router-dom';
7
7
  import '@babel/runtime/helpers/slicedToArray';
8
8
  import '@bigbinary/neeto-hotkeys';
9
9
  import './overlayManager.js';
10
- import { b as buildUrl } from './index-BfYlktCo.js';
10
+ import { b as buildUrl } from './index-DvvA0dfM.js';
11
11
  import { u as useQueryParams } from './useQueryParams-BKsf4FPY.js';
12
12
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
13
13
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/createClass';
16
16
  import '@babel/runtime/helpers/defineProperty';
17
17
  import '@bigbinary/neeto-cist';
18
18
  import 'qs';
19
- import './en-CIkXIYyl.js';
19
+ import './en-Cj1tGKrT.js';
20
20
  import 'dayjs';
21
21
  import 'dayjs/plugin/localeData';
22
22
  import 'dayjs/plugin/utc';
package/dist/Pane.js CHANGED
@@ -4,7 +4,7 @@ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProper
4
4
  import { useState, useRef, useEffect } from 'react';
5
5
  import classnames from 'classnames';
6
6
  import Close from '@bigbinary/neeto-icons/Close';
7
- import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-Bp70s6fQ.js';
7
+ import { u as useOverlayManager, a as useOverlay, P as Portal, C as CSSTransition, B as Backdrop } from './useOverlayManager-DI9NqZll.js';
8
8
  import Button from './Button.js';
9
9
  import 'react-router-dom';
10
10
  import 'qs';
@@ -18,9 +18,9 @@ import '@bigbinary/neeto-hotkeys';
18
18
  import './overlayManager.js';
19
19
  import '@babel/runtime/helpers/classCallCheck';
20
20
  import '@babel/runtime/helpers/createClass';
21
- import './index-BfYlktCo.js';
21
+ import './index-DvvA0dfM.js';
22
22
  import '@bigbinary/neeto-cist';
23
- import './en-CIkXIYyl.js';
23
+ import './en-Cj1tGKrT.js';
24
24
  import '@babel/runtime/helpers/toConsumableArray';
25
25
  import 'dayjs';
26
26
  import 'dayjs/plugin/localeData';
package/dist/Radio.js CHANGED
@@ -8,7 +8,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
8
8
  import 'react-router-dom';
9
9
  import '@bigbinary/neeto-hotkeys';
10
10
  import './overlayManager.js';
11
- import { h as hyphenize } from './index-BfYlktCo.js';
11
+ import { h as hyphenize } from './index-DvvA0dfM.js';
12
12
  import 'qs';
13
13
  import { jsxs, jsx } from 'react/jsx-runtime';
14
14
  import '@bigbinary/neeto-icons/Help';
@@ -23,7 +23,7 @@ import '@babel/runtime/helpers/classCallCheck';
23
23
  import '@babel/runtime/helpers/createClass';
24
24
  import '@bigbinary/neeto-cist';
25
25
  import 'ramda';
26
- import './en-CIkXIYyl.js';
26
+ import './en-Cj1tGKrT.js';
27
27
  import '@babel/runtime/helpers/toConsumableArray';
28
28
  import 'dayjs';
29
29
  import 'dayjs/plugin/localeData';
package/dist/Select.js CHANGED
@@ -27,7 +27,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
27
27
  import 'react-router-dom';
28
28
  import '@bigbinary/neeto-hotkeys';
29
29
  import './overlayManager.js';
30
- import { h as hyphenize } from './index-BfYlktCo.js';
30
+ import { h as hyphenize } from './index-DvvA0dfM.js';
31
31
  import 'qs';
32
32
  import Label from './Label.js';
33
33
  import Spinner from './Spinner.js';
@@ -41,7 +41,7 @@ import '@babel/runtime/helpers/esm/toConsumableArray';
41
41
  import '@babel/runtime/helpers/extends';
42
42
  import '@babel/runtime/helpers/esm/taggedTemplateLiteral';
43
43
  import '@babel/runtime/helpers/esm/typeof';
44
- import './en-CIkXIYyl.js';
44
+ import './en-Cj1tGKrT.js';
45
45
  import 'dayjs';
46
46
  import 'dayjs/plugin/localeData';
47
47
  import 'dayjs/plugin/utc';
package/dist/Sidebar.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { forwardRef, useState, createElement } from 'react';
2
2
  import classnames from 'classnames';
3
- import { n as noop } from './index-BfYlktCo.js';
3
+ import { n as noop } from './index-DvvA0dfM.js';
4
4
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
5
5
  import Tooltip from './Tooltip.js';
6
6
  import AppSwitcherIcon from '@bigbinary/neeto-icons/AppSwitcher';
@@ -21,7 +21,7 @@ import '@babel/runtime/helpers/classCallCheck';
21
21
  import '@babel/runtime/helpers/createClass';
22
22
  import '@bigbinary/neeto-cist';
23
23
  import 'qs';
24
- import './en-CIkXIYyl.js';
24
+ import './en-Cj1tGKrT.js';
25
25
  import '@babel/runtime/helpers/toConsumableArray';
26
26
  import 'dayjs';
27
27
  import 'dayjs/plugin/localeData';
package/dist/Slider.js CHANGED
@@ -11,7 +11,7 @@ import '@babel/runtime/helpers/slicedToArray';
11
11
  import 'react-router-dom';
12
12
  import '@bigbinary/neeto-hotkeys';
13
13
  import './overlayManager.js';
14
- import { h as hyphenize, n as noop, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BfYlktCo.js';
14
+ import { h as hyphenize, n as noop, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-DvvA0dfM.js';
15
15
  import 'qs';
16
16
  import { jsx, jsxs } from 'react/jsx-runtime';
17
17
  import 'antd/locale/de_DE';
@@ -34,7 +34,7 @@ import '@babel/runtime/helpers/classCallCheck';
34
34
  import '@babel/runtime/helpers/createClass';
35
35
  import '@bigbinary/neeto-cist';
36
36
  import 'ramda';
37
- import './en-CIkXIYyl.js';
37
+ import './en-Cj1tGKrT.js';
38
38
  import '@babel/runtime/helpers/toConsumableArray';
39
39
  import 'dayjs';
40
40
  import 'dayjs/plugin/localeData';
package/dist/Switch.js CHANGED
@@ -9,7 +9,7 @@ import '@babel/runtime/helpers/slicedToArray';
9
9
  import 'react-router-dom';
10
10
  import '@bigbinary/neeto-hotkeys';
11
11
  import './overlayManager.js';
12
- import { h as hyphenize, n as noop } from './index-BfYlktCo.js';
12
+ import { h as hyphenize, n as noop } from './index-DvvA0dfM.js';
13
13
  import 'qs';
14
14
  import Label from './Label.js';
15
15
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -17,7 +17,7 @@ import '@babel/runtime/helpers/classCallCheck';
17
17
  import '@babel/runtime/helpers/createClass';
18
18
  import '@bigbinary/neeto-cist';
19
19
  import 'ramda';
20
- import './en-CIkXIYyl.js';
20
+ import './en-Cj1tGKrT.js';
21
21
  import '@babel/runtime/helpers/toConsumableArray';
22
22
  import 'dayjs';
23
23
  import 'dayjs/plugin/localeData';
package/dist/Table.js CHANGED
@@ -16,13 +16,13 @@ import { useHistory } from 'react-router-dom';
16
16
  import { ANTD_LOCALE } from './constants.js';
17
17
  import '@bigbinary/neeto-hotkeys';
18
18
  import './overlayManager.js';
19
- import { g as getLocale, a as getFromLocalStorage, r as removeFromLocalStorage, s as setToLocalStorage, h as hyphenize, b as buildUrl, n as noop$1, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BfYlktCo.js';
19
+ import { g as getLocale, a as getFromLocalStorage, r as removeFromLocalStorage, s as setToLocalStorage, h as hyphenize, b as buildUrl, n as noop$1, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-DvvA0dfM.js';
20
20
  import { u as useQueryParams } from './useQueryParams-BKsf4FPY.js';
21
21
  import Button from './Button.js';
22
22
  import Callout from './Callout.js';
23
23
  import Typography from './Typography.js';
24
24
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
25
- import { T as TABLE_SORT_ORDERS, U as URL_SORT_ORDERS, H as HeaderCellMenu, a as TABLE_PAGINATION_HEIGHT, b as TABLE_ROW_HEIGHT, C as COLUMN_FIXED_VALUES, S as SELECT_ALL_ROWS_CALLOUT_MOBILE_HEIGHT, c as SELECT_ALL_ROWS_CALLOUT_DESKTOP_HEIGHT, u as useRestoreScrollPosition, d as TABLE_DEFAULT_HEADER_HEIGHT } from './useRestoreScrollPosition-Dtv0KWsN.js';
25
+ import { T as TABLE_SORT_ORDERS, U as URL_SORT_ORDERS, H as HeaderCellMenu, a as TABLE_PAGINATION_HEIGHT, b as TABLE_ROW_HEIGHT, C as COLUMN_FIXED_VALUES, S as SELECT_ALL_ROWS_CALLOUT_MOBILE_HEIGHT, c as SELECT_ALL_ROWS_CALLOUT_DESKTOP_HEIGHT, u as useRestoreScrollPosition, d as TABLE_DEFAULT_HEADER_HEIGHT } from './useRestoreScrollPosition-MPkm85_L.js';
26
26
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
27
27
  import DownArrow from '@bigbinary/neeto-icons/DownArrow';
28
28
  import UpArrow from '@bigbinary/neeto-icons/UpArrow';
@@ -40,7 +40,7 @@ import 'antd/locale/pt_PT';
40
40
  import '@babel/runtime/helpers/classCallCheck';
41
41
  import '@babel/runtime/helpers/createClass';
42
42
  import 'qs';
43
- import './en-CIkXIYyl.js';
43
+ import './en-Cj1tGKrT.js';
44
44
  import 'dayjs';
45
45
  import 'dayjs/plugin/localeData';
46
46
  import 'dayjs/plugin/utc';
@@ -7,7 +7,7 @@ import { u as useId } from './useId-Jj9hXm-g.js';
7
7
  import 'react-router-dom';
8
8
  import '@bigbinary/neeto-hotkeys';
9
9
  import './overlayManager.js';
10
- import { h as hyphenize } from './index-BfYlktCo.js';
10
+ import { h as hyphenize } from './index-DvvA0dfM.js';
11
11
  import 'qs';
12
12
  import Label from './Label.js';
13
13
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -172,4 +172,4 @@ var Textarea = /*#__PURE__*/forwardRef(function (_ref, ref) {
172
172
  Textarea.displayName = "Textarea";
173
173
 
174
174
  export { Textarea as T, useSyncedRef as u };
175
- //# sourceMappingURL=Textarea-Cj16lNXl.js.map
175
+ //# sourceMappingURL=Textarea-D4ZkCoTo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Textarea-Cj16lNXl.js","sources":["../src/hooks/useSyncedRef.js","../src/components/Textarea.jsx"],"sourcesContent":["import { useEffect, useRef } from \"react\";\n\nconst useSyncedRef = ref => {\n const innerRef = useRef();\n\n useEffect(() => {\n if (!ref) return;\n\n if (typeof ref === \"function\") {\n ref(innerRef.current);\n } else {\n ref.current = innerRef.current;\n }\n });\n\n return innerRef;\n};\n\nexport default useSyncedRef;\n","import React, { useState, useEffect, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nimport { useSyncedRef, useId } from \"hooks\";\nimport { hyphenize } from \"utils\";\n\nimport Label from \"./Label\";\n\nconst SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst ROWS = { small: 1, medium: 3, large: 4 };\n\nconst RESIZE = { vertical: \"vertical\", none: \"none\" };\n\nconst Textarea = forwardRef(\n (\n {\n size = SIZES.medium,\n resize = RESIZE.vertical,\n suffix = null,\n prefix = null,\n disabled = false,\n required = false,\n nakedTextarea = false,\n helpText = \"\",\n error = \"\",\n label = \"\",\n className = \"\",\n maxLength,\n unlimitedChars = false,\n labelProps,\n onBlur,\n disableTrimOnBlur = false,\n ...otherProps\n },\n ref\n ) => {\n const [valueInternal, setValueInternal] = useState(\"\");\n\n const value = otherProps.value ?? valueInternal ?? \"\";\n\n const id = useId(otherProps.id);\n const errorId = `error_${id}`;\n const helpTextId = `helpText_${id}`;\n const textareaRef = useSyncedRef(ref);\n\n const valueLength = value?.toString().length || 0;\n const isCharacterLimitVisible = valueLength >= maxLength * 0.85;\n const maxLengthError = unlimitedChars && valueLength > maxLength;\n\n const onChangeInternal = e => setValueInternal(e.target.value);\n const onChange = otherProps.onChange ?? onChangeInternal;\n const isMaxLengthPresent = !!maxLength || maxLength === 0;\n\n useEffect(() => {\n textareaRef.current.style.minHeight = \"22px\";\n textareaRef.current.style.height = \"auto\";\n const scrollHeight = textareaRef.current.scrollHeight;\n textareaRef.current.style.height = `${scrollHeight + 1}px`;\n }, [value]);\n\n const handleTrimmedChangeOnBlur = e => {\n if (disableTrimOnBlur || typeof value !== \"string\") return;\n\n const trimmedValue = value.trim();\n if (value === trimmedValue) return;\n\n e.target.value = trimmedValue;\n onChange(e);\n };\n\n const handleOnBlur = e => {\n handleTrimmedChangeOnBlur(e);\n onBlur?.(e);\n };\n\n return (\n <div\n className={classnames([\"neeto-ui-input__wrapper\", className])}\n data-cy=\"nui-textarea-wrapper\"\n >\n <div className=\"neeto-ui-input__label-wrapper\">\n {label && (\n <Label\n {...{ required }}\n data-cy={`${hyphenize(label)}-label`}\n htmlFor={id}\n {...labelProps}\n >\n {label}\n </Label>\n )}\n {isCharacterLimitVisible && (\n <p\n className={classnames(\"neeto-ui-input__max-length\", {\n \"neeto-ui-input__max-length--error\": maxLengthError,\n })}\n >\n {valueLength}/{maxLength}\n </p>\n )}\n </div>\n <div\n data-cy={`${hyphenize(label)}-text-input-label`}\n className={classnames(\"neeto-ui-input\", \"neeto-ui-input--textarea\", {\n \"neeto-ui-input--error\": !!error,\n \"neeto-ui-input--disabled\": !!disabled,\n \"neeto-ui-input--naked\": !!nakedTextarea,\n \"neeto-ui-input--small\": size === SIZES.small,\n \"neeto-ui-input--medium\": size === SIZES.medium,\n \"neeto-ui-input--large\": size === SIZES.large,\n \"neeto-ui-input--resize--vertical\": resize === RESIZE.vertical,\n \"neeto-ui-input--resize--none\": resize === RESIZE.none,\n })}\n >\n {prefix && <div className=\"neeto-ui-input__prefix\">{prefix}</div>}\n <textarea\n data-cy={`${hyphenize(label)}-text-input`}\n ref={textareaRef}\n rows={ROWS[size]}\n {...{\n disabled,\n ...(isMaxLengthPresent && !unlimitedChars && { maxLength }),\n ...otherProps,\n onChange,\n value,\n }}\n onBlur={handleOnBlur}\n />\n {suffix && <div className=\"neeto-ui-input__suffix\">{suffix}</div>}\n </div>\n {!!error && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n {helpText && (\n <p className=\"neeto-ui-input__help-text\" id={helpTextId}>\n {helpText}\n </p>\n )}\n </div>\n );\n }\n);\n\nTextarea.displayName = \"Textarea\";\n\nTextarea.propTypes = {\n /**\n * To specify the row height of the Textarea.\n */\n rows: PropTypes.number,\n /**\n * To specify the size of Textarea.\n */\n size: PropTypes.oneOf(Object.values(SIZES)),\n /**\n * To specify the label shown above the Textarea.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To provide the value of the Textarea.\n */\n value: PropTypes.string,\n /**\n * To provide the error message shown below the Textarea.\n */\n error: PropTypes.string,\n /**\n * To provide the placeholder text for the Textarea.\n */\n placeholder: PropTypes.string,\n /**\n * To specify whether the Textarea is required.\n */\n required: PropTypes.bool,\n /**\n * To specify whether the Textarea is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To provide additional classnames to the Textarea container.\n */\n className: PropTypes.string,\n /**\n * The resize property sets whether the Textarea is resizable.\n */\n resize: PropTypes.oneOf(Object.values(RESIZE)),\n /**\n * To specify the text that appears below the Textarea.\n */\n helpText: PropTypes.string,\n /**\n * To create a Textarea without any borders.\n */\n nakedTextarea: PropTypes.bool,\n /**\n * To specify a maximum character limit to the Textarea. Charater limit is visible only if the Textarea value is greater than or equal to 85% of the maximum character limit.\n */\n maxLength: PropTypes.number,\n /**\n * To be used along with maxLength prop. When set to true the character limit will not be enforced and character count will be shown in error state if the character limit is exceeded.\n */\n unlimitedChars: PropTypes.bool,\n /**\n * To specify the content to be added at the end of the Textarea.\n */\n suffix: PropTypes.node,\n /**\n * To specify the content to be added at the beginning of the Textarea.\n */\n prefix: PropTypes.node,\n /**\n * To disable leading and trailing white spaces onBlur.\n */\n disableTrimOnBlur: PropTypes.bool,\n};\n\nexport default Textarea;\n"],"names":["useSyncedRef","ref","innerRef","useRef","useEffect","current","SIZES","small","medium","large","ROWS","RESIZE","vertical","none","Textarea","forwardRef","_ref","_ref2","_otherProps$value","_otherProps$onChange","_ref$size","size","_ref$resize","resize","_ref$suffix","suffix","_ref$prefix","prefix","_ref$disabled","disabled","_ref$required","required","_ref$nakedTextarea","nakedTextarea","_ref$helpText","helpText","_ref$error","error","_ref$label","label","_ref$className","className","maxLength","_ref$unlimitedChars","unlimitedChars","labelProps","onBlur","_ref$disableTrimOnBlu","disableTrimOnBlur","otherProps","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","valueInternal","setValueInternal","value","id","useId","errorId","concat","helpTextId","textareaRef","valueLength","toString","length","isCharacterLimitVisible","maxLengthError","onChangeInternal","e","target","onChange","isMaxLengthPresent","style","minHeight","height","scrollHeight","handleTrimmedChangeOnBlur","trimmedValue","trim","handleOnBlur","_jsxs","classnames","children","_jsx","Label","_objectSpread","hyphenize","htmlFor","rows","displayName"],"mappings":";;;;;;;;;;;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAGC,GAAG,EAAI;AAC1B,EAAA,IAAMC,QAAQ,GAAGC,MAAM,EAAE;AAEzBC,EAAAA,SAAS,CAAC,YAAM;IACd,IAAI,CAACH,GAAG,EAAE;AAEV,IAAA,IAAI,OAAOA,GAAG,KAAK,UAAU,EAAE;AAC7BA,MAAAA,GAAG,CAACC,QAAQ,CAACG,OAAO,CAAC;AACvB,IAAA,CAAC,MAAM;AACLJ,MAAAA,GAAG,CAACI,OAAO,GAAGH,QAAQ,CAACG,OAAO;AAChC,IAAA;AACF,EAAA,CAAC,CAAC;AAEF,EAAA,OAAOH,QAAQ;AACjB;;;;;ACNA,IAAMI,KAAK,GAAG;AAAEC,EAAAA,KAAK,EAAE,OAAO;AAAEC,EAAAA,MAAM,EAAE,QAAQ;AAAEC,EAAAA,KAAK,EAAE;AAAQ,CAAC;AAElE,IAAMC,IAAI,GAAG;AAAEH,EAAAA,KAAK,EAAE,CAAC;AAAEC,EAAAA,MAAM,EAAE,CAAC;AAAEC,EAAAA,KAAK,EAAE;AAAE,CAAC;AAE9C,IAAME,MAAM,GAAG;AAAEC,EAAAA,QAAQ,EAAE,UAAU;AAAEC,EAAAA,IAAI,EAAE;AAAO,CAAC;AAErD,IAAMC,QAAQ,gBAAGC,UAAU,CACzB,UAAAC,IAAA,EAoBEf,GAAG,EACA;AAAA,EAAA,IAAAgB,KAAA,EAAAC,iBAAA,EAAAC,oBAAA;AAAA,EAAA,IAAAC,SAAA,GAAAJ,IAAA,CAnBDK,IAAI;AAAJA,IAAAA,IAAI,GAAAD,SAAA,KAAA,MAAA,GAAGd,KAAK,CAACE,MAAM,GAAAY,SAAA;IAAAE,WAAA,GAAAN,IAAA,CACnBO,MAAM;AAAN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,EAAC,wBAAwB;AAAA4C,QAAAA,QAAA,EAAE5D;AAAM,OAAM,CAAC;AAAA,KAC9D,CAAC,EACL,CAAC,CAACY,KAAK,iBACNiD,GAAA,CAAA,GAAA,EAAA;AACE7C,MAAAA,SAAS,EAAC,uBAAuB;AACjC,MAAA,SAAA,EAAA,EAAA,CAAAqB,MAAA,CAAY2B,SAAS,CAAClD,KAAK,CAAC,EAAA,cAAA,CAAe;AAC3CoB,MAAAA,EAAE,EAAEE,OAAQ;AAAAwB,MAAAA,QAAA,EAEXhD;AAAK,KACL,CACJ,EACAF,QAAQ,iBACPmD,GAAA,CAAA,GAAA,EAAA;AAAG7C,MAAAA,SAAS,EAAC,2BAA2B;AAACkB,MAAAA,EAAE,EAAEI,UAAW;AAAAsB,MAAAA,QAAA,EACrDlD;AAAQ,KACR,CACJ;AAAA,GACE,CAAC;AAEV,CACF;AAEArB,QAAQ,CAAC8E,WAAW,GAAG,UAAU;;;;"}
1
+ {"version":3,"file":"Textarea-D4ZkCoTo.js","sources":["../src/hooks/useSyncedRef.js","../src/components/Textarea.jsx"],"sourcesContent":["import { useEffect, useRef } from \"react\";\n\nconst useSyncedRef = ref => {\n const innerRef = useRef();\n\n useEffect(() => {\n if (!ref) return;\n\n if (typeof ref === \"function\") {\n ref(innerRef.current);\n } else {\n ref.current = innerRef.current;\n }\n });\n\n return innerRef;\n};\n\nexport default useSyncedRef;\n","import React, { useState, useEffect, forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nimport { useSyncedRef, useId } from \"hooks\";\nimport { hyphenize } from \"utils\";\n\nimport Label from \"./Label\";\n\nconst SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst ROWS = { small: 1, medium: 3, large: 4 };\n\nconst RESIZE = { vertical: \"vertical\", none: \"none\" };\n\nconst Textarea = forwardRef(\n (\n {\n size = SIZES.medium,\n resize = RESIZE.vertical,\n suffix = null,\n prefix = null,\n disabled = false,\n required = false,\n nakedTextarea = false,\n helpText = \"\",\n error = \"\",\n label = \"\",\n className = \"\",\n maxLength,\n unlimitedChars = false,\n labelProps,\n onBlur,\n disableTrimOnBlur = false,\n ...otherProps\n },\n ref\n ) => {\n const [valueInternal, setValueInternal] = useState(\"\");\n\n const value = otherProps.value ?? valueInternal ?? \"\";\n\n const id = useId(otherProps.id);\n const errorId = `error_${id}`;\n const helpTextId = `helpText_${id}`;\n const textareaRef = useSyncedRef(ref);\n\n const valueLength = value?.toString().length || 0;\n const isCharacterLimitVisible = valueLength >= maxLength * 0.85;\n const maxLengthError = unlimitedChars && valueLength > maxLength;\n\n const onChangeInternal = e => setValueInternal(e.target.value);\n const onChange = otherProps.onChange ?? onChangeInternal;\n const isMaxLengthPresent = !!maxLength || maxLength === 0;\n\n useEffect(() => {\n textareaRef.current.style.minHeight = \"22px\";\n textareaRef.current.style.height = \"auto\";\n const scrollHeight = textareaRef.current.scrollHeight;\n textareaRef.current.style.height = `${scrollHeight + 1}px`;\n }, [value]);\n\n const handleTrimmedChangeOnBlur = e => {\n if (disableTrimOnBlur || typeof value !== \"string\") return;\n\n const trimmedValue = value.trim();\n if (value === trimmedValue) return;\n\n e.target.value = trimmedValue;\n onChange(e);\n };\n\n const handleOnBlur = e => {\n handleTrimmedChangeOnBlur(e);\n onBlur?.(e);\n };\n\n return (\n <div\n className={classnames([\"neeto-ui-input__wrapper\", className])}\n data-cy=\"nui-textarea-wrapper\"\n >\n <div className=\"neeto-ui-input__label-wrapper\">\n {label && (\n <Label\n {...{ required }}\n data-cy={`${hyphenize(label)}-label`}\n htmlFor={id}\n {...labelProps}\n >\n {label}\n </Label>\n )}\n {isCharacterLimitVisible && (\n <p\n className={classnames(\"neeto-ui-input__max-length\", {\n \"neeto-ui-input__max-length--error\": maxLengthError,\n })}\n >\n {valueLength}/{maxLength}\n </p>\n )}\n </div>\n <div\n data-cy={`${hyphenize(label)}-text-input-label`}\n className={classnames(\"neeto-ui-input\", \"neeto-ui-input--textarea\", {\n \"neeto-ui-input--error\": !!error,\n \"neeto-ui-input--disabled\": !!disabled,\n \"neeto-ui-input--naked\": !!nakedTextarea,\n \"neeto-ui-input--small\": size === SIZES.small,\n \"neeto-ui-input--medium\": size === SIZES.medium,\n \"neeto-ui-input--large\": size === SIZES.large,\n \"neeto-ui-input--resize--vertical\": resize === RESIZE.vertical,\n \"neeto-ui-input--resize--none\": resize === RESIZE.none,\n })}\n >\n {prefix && <div className=\"neeto-ui-input__prefix\">{prefix}</div>}\n <textarea\n data-cy={`${hyphenize(label)}-text-input`}\n ref={textareaRef}\n rows={ROWS[size]}\n {...{\n disabled,\n ...(isMaxLengthPresent && !unlimitedChars && { maxLength }),\n ...otherProps,\n onChange,\n value,\n }}\n onBlur={handleOnBlur}\n />\n {suffix && <div className=\"neeto-ui-input__suffix\">{suffix}</div>}\n </div>\n {!!error && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n {helpText && (\n <p className=\"neeto-ui-input__help-text\" id={helpTextId}>\n {helpText}\n </p>\n )}\n </div>\n );\n }\n);\n\nTextarea.displayName = \"Textarea\";\n\nTextarea.propTypes = {\n /**\n * To specify the row height of the Textarea.\n */\n rows: PropTypes.number,\n /**\n * To specify the size of Textarea.\n */\n size: PropTypes.oneOf(Object.values(SIZES)),\n /**\n * To specify the label shown above the Textarea.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To provide the value of the Textarea.\n */\n value: PropTypes.string,\n /**\n * To provide the error message shown below the Textarea.\n */\n error: PropTypes.string,\n /**\n * To provide the placeholder text for the Textarea.\n */\n placeholder: PropTypes.string,\n /**\n * To specify whether the Textarea is required.\n */\n required: PropTypes.bool,\n /**\n * To specify whether the Textarea is disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To provide additional classnames to the Textarea container.\n */\n className: PropTypes.string,\n /**\n * The resize property sets whether the Textarea is resizable.\n */\n resize: PropTypes.oneOf(Object.values(RESIZE)),\n /**\n * To specify the text that appears below the Textarea.\n */\n helpText: PropTypes.string,\n /**\n * To create a Textarea without any borders.\n */\n nakedTextarea: PropTypes.bool,\n /**\n * To specify a maximum character limit to the Textarea. Charater limit is visible only if the Textarea value is greater than or equal to 85% of the maximum character limit.\n */\n maxLength: PropTypes.number,\n /**\n * To be used along with maxLength prop. When set to true the character limit will not be enforced and character count will be shown in error state if the character limit is exceeded.\n */\n unlimitedChars: PropTypes.bool,\n /**\n * To specify the content to be added at the end of the Textarea.\n */\n suffix: PropTypes.node,\n /**\n * To specify the content to be added at the beginning of the Textarea.\n */\n prefix: PropTypes.node,\n /**\n * To disable leading and trailing white spaces onBlur.\n */\n disableTrimOnBlur: PropTypes.bool,\n};\n\nexport default Textarea;\n"],"names":["useSyncedRef","ref","innerRef","useRef","useEffect","current","SIZES","small","medium","large","ROWS","RESIZE","vertical","none","Textarea","forwardRef","_ref","_ref2","_otherProps$value","_otherProps$onChange","_ref$size","size","_ref$resize","resize","_ref$suffix","suffix","_ref$prefix","prefix","_ref$disabled","disabled","_ref$required","required","_ref$nakedTextarea","nakedTextarea","_ref$helpText","helpText","_ref$error","error","_ref$label","label","_ref$className","className","maxLength","_ref$unlimitedChars","unlimitedChars","labelProps","onBlur","_ref$disableTrimOnBlu","disableTrimOnBlur","otherProps","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","valueInternal","setValueInternal","value","id","useId","errorId","concat","helpTextId","textareaRef","valueLength","toString","length","isCharacterLimitVisible","maxLengthError","onChangeInternal","e","target","onChange","isMaxLengthPresent","style","minHeight","height","scrollHeight","handleTrimmedChangeOnBlur","trimmedValue","trim","handleOnBlur","_jsxs","classnames","children","_jsx","Label","_objectSpread","hyphenize","htmlFor","rows","displayName"],"mappings":";;;;;;;;;;;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAGC,GAAG,EAAI;AAC1B,EAAA,IAAMC,QAAQ,GAA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AS,CAAClD,KAAK,CAAC,EAAA,cAAA,CAAe;AAC3CoB,MAAAA,EAAE,EAAEE,OAAQ;AAAAwB,MAAAA,QAAA,EAEXhD;AAAK,KACL,CACJ,EACAF,QAAQ,iBACPmD,GAAA,CAAA,GAAA,EAAA;AAAG7C,MAAAA,SAAS,EAAC,2BAA2B;AAACkB,MAAAA,EAAE,EAAEI,UAAW;AAAAsB,MAAAA,QAAA,EACrDlD;AAAQ,KACR,CACJ;AAAA,GACE,CAAC;AAEV,CACF;AAEArB,QAAQ,CAAC8E,WAAW,GAAG,UAAU;;;;"}
package/dist/Textarea.js CHANGED
@@ -7,16 +7,16 @@ import './useId-Jj9hXm-g.js';
7
7
  import 'react-router-dom';
8
8
  import '@bigbinary/neeto-hotkeys';
9
9
  import './overlayManager.js';
10
- import './index-BfYlktCo.js';
10
+ import './index-DvvA0dfM.js';
11
11
  import 'qs';
12
- export { T as default } from './Textarea-Cj16lNXl.js';
12
+ export { T as default } from './Textarea-D4ZkCoTo.js';
13
13
  import './Label.js';
14
14
  import 'react/jsx-runtime';
15
15
  import '@babel/runtime/helpers/classCallCheck';
16
16
  import '@babel/runtime/helpers/createClass';
17
17
  import '@bigbinary/neeto-cist';
18
18
  import 'ramda';
19
- import './en-CIkXIYyl.js';
19
+ import './en-Cj1tGKrT.js';
20
20
  import '@babel/runtime/helpers/toConsumableArray';
21
21
  import 'dayjs';
22
22
  import 'dayjs/plugin/localeData';
@@ -24,10 +24,10 @@ import '@babel/runtime/regenerator';
24
24
  import '@bigbinary/neeto-icons/Down';
25
25
  import '@bigbinary/neeto-icons/ColorPicker';
26
26
  import 'react-colorful';
27
- import './useRecentlyUsedColors-CrqOz7Eb.js';
27
+ import './useRecentlyUsedColors-BRF9O4JV.js';
28
28
  import './Dropdown.js';
29
- import './index-BfYlktCo.js';
30
- export { T as default } from './index-DJXeBPyx.js';
29
+ import './index-DvvA0dfM.js';
30
+ export { T as default } from './index-1QOW4zv8.js';
31
31
  import './Input.js';
32
32
  import './Label.js';
33
33
  import './MultiEmailInput.js';
@@ -38,7 +38,7 @@ import './useId-Jj9hXm-g.js';
38
38
  import '@bigbinary/neeto-hotkeys';
39
39
  import './overlayManager.js';
40
40
  import 'qs';
41
- import './Textarea-Cj16lNXl.js';
41
+ import './Textarea-D4ZkCoTo.js';
42
42
  import './Pane.js';
43
43
  import './Popover.js';
44
44
  import 'framer-motion';
@@ -64,14 +64,14 @@ import 'react-drag-listview';
64
64
  import '@bigbinary/neeto-icons/DownArrow';
65
65
  import '@bigbinary/neeto-icons/UpArrow';
66
66
  import '@bigbinary/neeto-icons/InfoRound';
67
- import './useRestoreScrollPosition-Dtv0KWsN.js';
67
+ import './useRestoreScrollPosition-MPkm85_L.js';
68
68
  import 'react-resizable';
69
69
  import './Tag.js';
70
70
  import './Toastr.js';
71
71
  import 'i18next';
72
72
  import 'antd/lib/tree';
73
73
  import './TreeSelect.js';
74
- import './en-CIkXIYyl.js';
74
+ import './en-Cj1tGKrT.js';
75
75
  import 'dayjs';
76
76
  import 'dayjs/plugin/localeData';
77
77
  import 'dayjs/plugin/utc';
@@ -79,7 +79,7 @@ import 'dayjs/plugin/weekday';
79
79
  import 'dayjs/plugin/weekOfYear';
80
80
  import './Spinner.js';
81
81
  import './Tooltip.js';
82
- import './useOverlayManager-Bp70s6fQ.js';
82
+ import './useOverlayManager-DI9NqZll.js';
83
83
  import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
84
84
  import '@babel/runtime/helpers/esm/inheritsLoose';
85
85
  import '@bigbinary/neeto-icons/Help';
@@ -92,6 +92,7 @@ import 'antd/locale/fr_FR';
92
92
  import 'antd/locale/nl_NL';
93
93
  import 'antd/locale/pl_PL';
94
94
  import 'antd/locale/pt_PT';
95
+ import './Select.js';
95
96
  import './react-select-creatable.esm-opiJTCqo.js';
96
97
  import '@babel/runtime/helpers/esm/objectSpread2';
97
98
  import '@babel/runtime/helpers/esm/classCallCheck';
@@ -1 +1 @@
1
- {"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/Toastr.js CHANGED
@@ -9,7 +9,7 @@ import Warning from '@bigbinary/neeto-icons/Warning';
9
9
  import Info from '@bigbinary/neeto-icons/Info';
10
10
  import Close from '@bigbinary/neeto-icons/Close';
11
11
  import { toast, Slide } from 'react-toastify';
12
- import { n as noop, U as UniqueArray } from './index-BfYlktCo.js';
12
+ import { n as noop, U as UniqueArray } from './index-DvvA0dfM.js';
13
13
  import Linkify from 'linkify-react';
14
14
  import { jsxs, jsx } from 'react/jsx-runtime';
15
15
  import '@babel/runtime/helpers/classCallCheck';
@@ -17,7 +17,7 @@ import '@babel/runtime/helpers/createClass';
17
17
  import '@bigbinary/neeto-cist';
18
18
  import 'qs';
19
19
  import 'ramda';
20
- import './en-CIkXIYyl.js';
20
+ import './en-Cj1tGKrT.js';
21
21
  import '@babel/runtime/helpers/toConsumableArray';
22
22
  import 'dayjs';
23
23
  import 'dayjs/plugin/localeData';
@@ -1,7 +1,7 @@
1
1
  import { useEffect } from 'react';
2
2
  import { initReactI18next, I18nextProvider } from 'react-i18next';
3
3
  import i18n from 'i18next';
4
- import { e as enTranslations } from './en-CIkXIYyl.js';
4
+ import { e as enTranslations } from './en-Cj1tGKrT.js';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
7
7
  var neetoui$5 = {
package/dist/Tree.js CHANGED
@@ -6,7 +6,7 @@ import 'react';
6
6
  import classnames from 'classnames';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { ANTD_LOCALE } from './constants.js';
9
- import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BfYlktCo.js';
9
+ import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-DvvA0dfM.js';
10
10
  import Down from '@bigbinary/neeto-icons/Down';
11
11
  import Right from '@bigbinary/neeto-icons/Right';
12
12
  import { jsx } from 'react/jsx-runtime';
@@ -23,7 +23,7 @@ import '@babel/runtime/helpers/createClass';
23
23
  import '@bigbinary/neeto-cist';
24
24
  import 'qs';
25
25
  import 'ramda';
26
- import './en-CIkXIYyl.js';
26
+ import './en-Cj1tGKrT.js';
27
27
  import '@babel/runtime/helpers/toConsumableArray';
28
28
  import 'dayjs';
29
29
  import 'dayjs/plugin/localeData';
@@ -6,7 +6,7 @@ import { forwardRef } from 'react';
6
6
  import classnames from 'classnames';
7
7
  import Down from '@bigbinary/neeto-icons/Down';
8
8
  import { useTranslation } from 'react-i18next';
9
- import { g as getLocale, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BfYlktCo.js';
9
+ import { g as getLocale, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-DvvA0dfM.js';
10
10
  import { ANTD_LOCALE } from './constants.js';
11
11
  import Label from './Label.js';
12
12
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/createClass';
16
16
  import '@bigbinary/neeto-cist';
17
17
  import 'qs';
18
18
  import 'ramda';
19
- import './en-CIkXIYyl.js';
19
+ import './en-Cj1tGKrT.js';
20
20
  import '@babel/runtime/helpers/toConsumableArray';
21
21
  import 'dayjs';
22
22
  import 'dayjs/plugin/localeData';