@bigbinary/neetoui 8.3.42 → 8.3.44

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 (120) 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 +14 -9
  6. package/dist/DatePicker.js.map +1 -1
  7. package/dist/Dropdown.js +40 -4
  8. package/dist/Dropdown.js.map +1 -1
  9. package/dist/Input.js +2 -2
  10. package/dist/Modal.js +3 -3
  11. package/dist/MultiEmailInput.js +2 -2
  12. package/dist/Pagination.js +2 -2
  13. package/dist/Pane.js +3 -3
  14. package/dist/Radio.js +2 -2
  15. package/dist/Select.js +2 -2
  16. package/dist/Sidebar.js +2 -2
  17. package/dist/Slider.js +2 -2
  18. package/dist/Switch.js +2 -2
  19. package/dist/Table.js +97 -15
  20. package/dist/Table.js.map +1 -1
  21. package/dist/{Textarea-Cn12kZAy.js → Textarea-CoY3q1mA.js} +2 -2
  22. package/dist/{Textarea-Cn12kZAy.js.map → Textarea-CoY3q1mA.js.map} +1 -1
  23. package/dist/Textarea.js +3 -3
  24. package/dist/TimePicker.js +14 -9
  25. package/dist/TimePicker.js.map +1 -1
  26. package/dist/Toastr.js +2 -2
  27. package/dist/TranslationProvider.js +1 -1
  28. package/dist/Tree.js +2 -2
  29. package/dist/TreeSelect.js +2 -2
  30. package/dist/cjs/ActionDropdown.js +2 -2
  31. package/dist/cjs/Alert.js +3 -3
  32. package/dist/cjs/Checkbox.js +2 -2
  33. package/dist/cjs/ColorPicker.js +3 -3
  34. package/dist/cjs/DatePicker.js +14 -9
  35. package/dist/cjs/DatePicker.js.map +1 -1
  36. package/dist/cjs/Dropdown.js +39 -3
  37. package/dist/cjs/Dropdown.js.map +1 -1
  38. package/dist/cjs/Input.js +2 -2
  39. package/dist/cjs/Modal.js +3 -3
  40. package/dist/cjs/MultiEmailInput.js +2 -2
  41. package/dist/cjs/Pagination.js +2 -2
  42. package/dist/cjs/Pane.js +3 -3
  43. package/dist/cjs/Radio.js +2 -2
  44. package/dist/cjs/Select.js +2 -2
  45. package/dist/cjs/Sidebar.js +2 -2
  46. package/dist/cjs/Slider.js +2 -2
  47. package/dist/cjs/Switch.js +2 -2
  48. package/dist/cjs/Table.js +112 -30
  49. package/dist/cjs/Table.js.map +1 -1
  50. package/dist/cjs/{Textarea-BF9uNO2J.js → Textarea-DzetFleJ.js} +2 -2
  51. package/dist/cjs/{Textarea-BF9uNO2J.js.map → Textarea-DzetFleJ.js.map} +1 -1
  52. package/dist/cjs/Textarea.js +3 -3
  53. package/dist/cjs/TimePicker.js +14 -9
  54. package/dist/cjs/TimePicker.js.map +1 -1
  55. package/dist/cjs/Toastr.js +2 -2
  56. package/dist/cjs/TranslationProvider.js +1 -1
  57. package/dist/cjs/Tree.js +2 -2
  58. package/dist/cjs/TreeSelect.js +2 -2
  59. package/dist/cjs/{en-BoX6pwZe.js → en-BfFI1Si2.js} +11 -5
  60. package/dist/cjs/en-BfFI1Si2.js.map +1 -0
  61. package/dist/cjs/formik/ActionBlock.js +2 -2
  62. package/dist/cjs/formik/BlockNavigation.js +3 -3
  63. package/dist/cjs/formik/Checkbox.js +2 -2
  64. package/dist/cjs/formik/Input.js +2 -2
  65. package/dist/cjs/formik/MultiEmailInput.js +2 -2
  66. package/dist/cjs/formik/Radio.js +2 -2
  67. package/dist/cjs/formik/Select.js +2 -2
  68. package/dist/cjs/formik/Slider.js +2 -2
  69. package/dist/cjs/formik/Switch.js +2 -2
  70. package/dist/cjs/formik/Textarea.js +3 -3
  71. package/dist/cjs/formik/TreeSelect.js +2 -2
  72. package/dist/cjs/formik/index.js +4 -4
  73. package/dist/cjs/{index-CcLewRhe.js → index-BlcVTw2b.js} +2 -2
  74. package/dist/cjs/{index-CcLewRhe.js.map → index-BlcVTw2b.js.map} +1 -1
  75. package/dist/cjs/{index-DgV1wB-W.js → index-i_QMY9OC.js} +393 -22
  76. package/dist/cjs/index-i_QMY9OC.js.map +1 -0
  77. package/dist/cjs/index.css +1 -1
  78. package/dist/cjs/index.js +12 -7
  79. package/dist/cjs/index.js.map +1 -1
  80. package/dist/cjs/layouts.js +2 -2
  81. package/dist/cjs/{useOverlayManager-Bmn7TLVG.js → useOverlayManager-T0kuI6q4.js} +2 -2
  82. package/dist/cjs/{useOverlayManager-Bmn7TLVG.js.map → useOverlayManager-T0kuI6q4.js.map} +1 -1
  83. package/dist/cjs/{useRecentlyUsedColors-Cfbf5D9L.js → useRecentlyUsedColors-CThW5BOM.js} +2 -2
  84. package/dist/cjs/{useRecentlyUsedColors-Cfbf5D9L.js.map → useRecentlyUsedColors-CThW5BOM.js.map} +1 -1
  85. package/dist/{en-Cj1tGKrT.js → en-DVlE9xuu.js} +11 -5
  86. package/dist/en-DVlE9xuu.js.map +1 -0
  87. package/dist/formik/ActionBlock.js +2 -2
  88. package/dist/formik/BlockNavigation.js +3 -3
  89. package/dist/formik/Checkbox.js +2 -2
  90. package/dist/formik/Input.js +2 -2
  91. package/dist/formik/MultiEmailInput.js +2 -2
  92. package/dist/formik/Radio.js +2 -2
  93. package/dist/formik/Select.js +2 -2
  94. package/dist/formik/Slider.js +2 -2
  95. package/dist/formik/Switch.js +2 -2
  96. package/dist/formik/Textarea.js +3 -3
  97. package/dist/formik/TreeSelect.js +2 -2
  98. package/dist/formik/index.js +4 -4
  99. package/dist/{index-DFo1kTlC.js → index-BbZEp6Op.js} +3 -3
  100. package/dist/{index-DFo1kTlC.js.map → index-BbZEp6Op.js.map} +1 -1
  101. package/dist/{index-CAbfRu1o.js → index-cQSKx75O.js} +386 -26
  102. package/dist/index-cQSKx75O.js.map +1 -0
  103. package/dist/index.css +1 -1
  104. package/dist/index.js +12 -7
  105. package/dist/index.js.map +1 -1
  106. package/dist/layouts.js +2 -2
  107. package/dist/src/translations/en.json +10 -4
  108. package/dist/{useOverlayManager-CofhPkL6.js → useOverlayManager-BtEqSq_z.js} +2 -2
  109. package/dist/{useOverlayManager-CofhPkL6.js.map → useOverlayManager-BtEqSq_z.js.map} +1 -1
  110. package/dist/{useRecentlyUsedColors-Bz5p2xal.js → useRecentlyUsedColors-C18GFyJC.js} +2 -2
  111. package/dist/{useRecentlyUsedColors-Bz5p2xal.js.map → useRecentlyUsedColors-C18GFyJC.js.map} +1 -1
  112. package/package.json +3 -3
  113. package/dist/cjs/en-BoX6pwZe.js.map +0 -1
  114. package/dist/cjs/index-DgV1wB-W.js.map +0 -1
  115. package/dist/cjs/useRestoreScrollPosition-6TwcjUT5.js +0 -233
  116. package/dist/cjs/useRestoreScrollPosition-6TwcjUT5.js.map +0 -1
  117. package/dist/en-Cj1tGKrT.js.map +0 -1
  118. package/dist/index-CAbfRu1o.js.map +0 -1
  119. package/dist/useRestoreScrollPosition-C0t8os3c.js +0 -222
  120. package/dist/useRestoreScrollPosition-C0t8os3c.js.map +0 -1
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-DFo1kTlC.js';
10
+ import './index-BbZEp6Op.js';
11
11
  import 'qs';
12
- export { T as default } from './Textarea-Cn12kZAy.js';
12
+ export { T as default } from './Textarea-CoY3q1mA.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-Cj1tGKrT.js';
19
+ import './en-DVlE9xuu.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-Bz5p2xal.js';
27
+ import './useRecentlyUsedColors-C18GFyJC.js';
28
28
  import './Dropdown.js';
29
- import './index-DFo1kTlC.js';
30
- export { T as default } from './index-CAbfRu1o.js';
29
+ import './index-BbZEp6Op.js';
30
+ export { T as default } from './index-cQSKx75O.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-Cn12kZAy.js';
41
+ import './Textarea-CoY3q1mA.js';
42
42
  import './Pane.js';
43
43
  import './Popover.js';
44
44
  import 'framer-motion';
@@ -64,14 +64,13 @@ 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-C0t8os3c.js';
68
67
  import 'react-resizable';
69
68
  import './Tag.js';
70
69
  import './Toastr.js';
71
70
  import 'i18next';
72
71
  import 'antd/lib/tree';
73
72
  import './TreeSelect.js';
74
- import './en-Cj1tGKrT.js';
73
+ import './en-DVlE9xuu.js';
75
74
  import 'dayjs';
76
75
  import 'dayjs/plugin/localeData';
77
76
  import 'dayjs/plugin/utc';
@@ -79,7 +78,7 @@ import 'dayjs/plugin/weekday';
79
78
  import 'dayjs/plugin/weekOfYear';
80
79
  import './Spinner.js';
81
80
  import './Tooltip.js';
82
- import './useOverlayManager-CofhPkL6.js';
81
+ import './useOverlayManager-BtEqSq_z.js';
83
82
  import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
84
83
  import '@babel/runtime/helpers/esm/inheritsLoose';
85
84
  import '@bigbinary/neeto-icons/Help';
@@ -92,6 +91,14 @@ import 'antd/locale/fr_FR';
92
91
  import 'antd/locale/nl_NL';
93
92
  import 'antd/locale/pl_PL';
94
93
  import 'antd/locale/pt_PT';
94
+ import '@bigbinary/neeto-icons/Check';
95
+ import '@bigbinary/neeto-icons/Ascending';
96
+ import '@bigbinary/neeto-icons/Descending';
97
+ import '@bigbinary/neeto-icons/Pin';
98
+ import '@bigbinary/neeto-icons/ColumnToLeft';
99
+ import '@bigbinary/neeto-icons/ColumnToRight';
100
+ import '@bigbinary/neeto-icons/Hide';
101
+ import 'zustand';
95
102
  import './Select.js';
96
103
  import './react-select-creatable.esm-opiJTCqo.js';
97
104
  import '@babel/runtime/helpers/esm/objectSpread2';
@@ -107,8 +114,6 @@ import '@babel/runtime/helpers/esm/slicedToArray';
107
114
  import '@babel/runtime/helpers/esm/typeof';
108
115
  import '@babel/runtime/helpers/esm/defineProperty';
109
116
  import '@babel/runtime/helpers/toArray';
110
- import '@bigbinary/neeto-icons/Check';
111
- import 'zustand';
112
117
  import '@bigbinary/neeto-icons/CheckCircle';
113
118
  import '@bigbinary/neeto-icons/Warning';
114
119
  import '@bigbinary/neeto-icons/Info';
@@ -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-DFo1kTlC.js';
12
+ import { n as noop, U as UniqueArray } from './index-BbZEp6Op.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-Cj1tGKrT.js';
20
+ import './en-DVlE9xuu.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-Cj1tGKrT.js';
4
+ import { e as enTranslations } from './en-DVlE9xuu.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-DFo1kTlC.js';
9
+ import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BbZEp6Op.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-Cj1tGKrT.js';
26
+ import './en-DVlE9xuu.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-DFo1kTlC.js';
9
+ import { g as getLocale, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BbZEp6Op.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-Cj1tGKrT.js';
19
+ import './en-DVlE9xuu.js';
20
20
  import '@babel/runtime/helpers/toConsumableArray';
21
21
  import 'dayjs';
22
22
  import 'dayjs/plugin/localeData';
@@ -4,7 +4,7 @@ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
4
4
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
5
5
  require('react');
6
6
  var classnames = require('classnames');
7
- var index = require('./index-CcLewRhe.js');
7
+ var index = require('./index-BlcVTw2b.js');
8
8
  var Button = require('./Button.js');
9
9
  var Dropdown = require('./Dropdown.js');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -14,7 +14,7 @@ require('@babel/runtime/helpers/createClass');
14
14
  require('@bigbinary/neeto-cist');
15
15
  require('qs');
16
16
  require('ramda');
17
- require('./en-BoX6pwZe.js');
17
+ require('./en-BfFI1Si2.js');
18
18
  require('@babel/runtime/helpers/toConsumableArray');
19
19
  require('dayjs');
20
20
  require('dayjs/plugin/localeData');
package/dist/cjs/Alert.js CHANGED
@@ -15,7 +15,7 @@ require('@babel/runtime/helpers/slicedToArray');
15
15
  require('@tippyjs/react');
16
16
  require('tippy.js');
17
17
  require('@bigbinary/neeto-icons/Close');
18
- require('./useOverlayManager-Bmn7TLVG.js');
18
+ require('./useOverlayManager-T0kuI6q4.js');
19
19
  require('@babel/runtime/helpers/esm/extends');
20
20
  require('@babel/runtime/helpers/esm/objectWithoutPropertiesLoose');
21
21
  require('@babel/runtime/helpers/esm/inheritsLoose');
@@ -25,10 +25,10 @@ require('@bigbinary/neeto-hotkeys');
25
25
  require('./overlayManager.js');
26
26
  require('@babel/runtime/helpers/classCallCheck');
27
27
  require('@babel/runtime/helpers/createClass');
28
- require('./index-CcLewRhe.js');
28
+ require('./index-BlcVTw2b.js');
29
29
  require('@bigbinary/neeto-cist');
30
30
  require('qs');
31
- require('./en-BoX6pwZe.js');
31
+ require('./en-BfFI1Si2.js');
32
32
  require('@babel/runtime/helpers/toConsumableArray');
33
33
  require('dayjs');
34
34
  require('dayjs/plugin/localeData');
@@ -9,7 +9,7 @@ require('@babel/runtime/helpers/slicedToArray');
9
9
  require('react-router-dom');
10
10
  require('@bigbinary/neeto-hotkeys');
11
11
  require('./overlayManager.js');
12
- var index = require('./index-CcLewRhe.js');
12
+ var index = require('./index-BlcVTw2b.js');
13
13
  require('qs');
14
14
  var Label = require('./Label.js');
15
15
  var jsxRuntime = require('react/jsx-runtime');
@@ -17,7 +17,7 @@ require('@babel/runtime/helpers/classCallCheck');
17
17
  require('@babel/runtime/helpers/createClass');
18
18
  require('@bigbinary/neeto-cist');
19
19
  require('ramda');
20
- require('./en-BoX6pwZe.js');
20
+ require('./en-BfFI1Si2.js');
21
21
  require('@babel/runtime/helpers/toConsumableArray');
22
22
  require('dayjs');
23
23
  require('dayjs/plugin/localeData');
@@ -11,11 +11,11 @@ var Down = require('@bigbinary/neeto-icons/Down');
11
11
  var ColorPickerIcon = require('@bigbinary/neeto-icons/ColorPicker');
12
12
  var reactColorful = require('react-colorful');
13
13
  var reactI18next = require('react-i18next');
14
- var useRecentlyUsedColors = require('./useRecentlyUsedColors-Cfbf5D9L.js');
14
+ var useRecentlyUsedColors = require('./useRecentlyUsedColors-CThW5BOM.js');
15
15
  var Button = require('./Button.js');
16
16
  var Dropdown = require('./Dropdown.js');
17
17
  var Typography = require('./Typography.js');
18
- var index = require('./index-CcLewRhe.js');
18
+ var index = require('./index-BlcVTw2b.js');
19
19
  var jsxRuntime = require('react/jsx-runtime');
20
20
  require('@babel/runtime/helpers/objectWithoutProperties');
21
21
  require('react-router-dom');
@@ -28,7 +28,7 @@ require('@bigbinary/neeto-cist');
28
28
  require('@babel/runtime/helpers/classCallCheck');
29
29
  require('@babel/runtime/helpers/createClass');
30
30
  require('qs');
31
- require('./en-BoX6pwZe.js');
31
+ require('./en-BfFI1Si2.js');
32
32
  require('dayjs');
33
33
  require('dayjs/plugin/localeData');
34
34
  require('dayjs/plugin/utc');
@@ -30,10 +30,10 @@ require('@bigbinary/neeto-icons/Down');
30
30
  require('@bigbinary/neeto-icons/ColorPicker');
31
31
  require('react-colorful');
32
32
  require('react-i18next');
33
- require('./useRecentlyUsedColors-Cfbf5D9L.js');
33
+ require('./useRecentlyUsedColors-CThW5BOM.js');
34
34
  require('./Dropdown.js');
35
- require('./index-CcLewRhe.js');
36
- var DatePicker = require('./index-DgV1wB-W.js');
35
+ require('./index-BlcVTw2b.js');
36
+ var DatePicker = require('./index-i_QMY9OC.js');
37
37
  require('./Input.js');
38
38
  require('./Label.js');
39
39
  require('./MultiEmailInput.js');
@@ -42,7 +42,7 @@ require('./useId-DXHUzdxd.js');
42
42
  require('@bigbinary/neeto-hotkeys');
43
43
  require('./overlayManager.js');
44
44
  require('qs');
45
- require('./Textarea-BF9uNO2J.js');
45
+ require('./Textarea-DzetFleJ.js');
46
46
  require('./Pane.js');
47
47
  require('./Popover.js');
48
48
  require('framer-motion');
@@ -73,14 +73,13 @@ require('react-drag-listview');
73
73
  require('@bigbinary/neeto-icons/DownArrow');
74
74
  require('@bigbinary/neeto-icons/UpArrow');
75
75
  require('@bigbinary/neeto-icons/InfoRound');
76
- require('./useRestoreScrollPosition-6TwcjUT5.js');
77
76
  require('react-resizable');
78
77
  require('./Tag.js');
79
78
  require('./Toastr.js');
80
79
  require('i18next');
81
80
  require('antd/lib/tree');
82
81
  require('./TreeSelect.js');
83
- require('./en-BoX6pwZe.js');
82
+ require('./en-BfFI1Si2.js');
84
83
  require('dayjs');
85
84
  require('dayjs/plugin/localeData');
86
85
  require('dayjs/plugin/utc');
@@ -88,11 +87,19 @@ require('dayjs/plugin/weekday');
88
87
  require('dayjs/plugin/weekOfYear');
89
88
  require('./Spinner.js');
90
89
  require('./Tooltip.js');
91
- require('./useOverlayManager-Bmn7TLVG.js');
90
+ require('./useOverlayManager-T0kuI6q4.js');
92
91
  require('@babel/runtime/helpers/esm/objectWithoutPropertiesLoose');
93
92
  require('@babel/runtime/helpers/esm/inheritsLoose');
94
93
  require('@bigbinary/neeto-icons/Help');
95
94
  require('@bigbinary/neeto-icons/Clock');
95
+ require('@bigbinary/neeto-icons/Check');
96
+ require('@bigbinary/neeto-icons/Ascending');
97
+ require('@bigbinary/neeto-icons/Descending');
98
+ require('@bigbinary/neeto-icons/Pin');
99
+ require('@bigbinary/neeto-icons/ColumnToLeft');
100
+ require('@bigbinary/neeto-icons/ColumnToRight');
101
+ require('@bigbinary/neeto-icons/Hide');
102
+ require('zustand');
96
103
  require('./constants.js');
97
104
  require('./Select.js');
98
105
  require('./react-select-creatable.esm-lcdODVBz.js');
@@ -109,8 +116,6 @@ require('@babel/runtime/helpers/esm/slicedToArray');
109
116
  require('@babel/runtime/helpers/esm/typeof');
110
117
  require('@babel/runtime/helpers/esm/defineProperty');
111
118
  require('@babel/runtime/helpers/toArray');
112
- require('@bigbinary/neeto-icons/Check');
113
- require('zustand');
114
119
  require('@bigbinary/neeto-icons/CheckCircle');
115
120
  require('@bigbinary/neeto-icons/Warning');
116
121
  require('@bigbinary/neeto-icons/Info');
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"DatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -9,7 +9,7 @@ var classnames = require('classnames');
9
9
  var Down = require('@bigbinary/neeto-icons/Down');
10
10
  var ramda = require('ramda');
11
11
  var Button = require('./Button.js');
12
- var index = require('./index-CcLewRhe.js');
12
+ var index = require('./index-BlcVTw2b.js');
13
13
  var jsxRuntime = require('react/jsx-runtime');
14
14
  var neetoCist = require('@bigbinary/neeto-cist');
15
15
  var Tooltip = require('./Tooltip.js');
@@ -19,7 +19,7 @@ require('tippy.js');
19
19
  require('@babel/runtime/helpers/classCallCheck');
20
20
  require('@babel/runtime/helpers/createClass');
21
21
  require('qs');
22
- require('./en-BoX6pwZe.js');
22
+ require('./en-BfFI1Si2.js');
23
23
  require('@babel/runtime/helpers/toConsumableArray');
24
24
  require('dayjs');
25
25
  require('dayjs/plugin/localeData');
@@ -38,12 +38,48 @@ var Divider = function Divider(props) {
38
38
  var _excluded$3 = ["children", "className"];
39
39
  function ownKeys$3(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; }
40
40
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
41
+ var itemClassName = "neeto-ui-dropdown__popup-menu-item-btn";
41
42
  var Menu = function Menu(_ref) {
42
43
  var children = _ref.children,
43
44
  className = _ref.className,
44
45
  otherProps = _objectWithoutProperties(_ref, _excluded$3);
46
+ var activeIndexRef = React.useRef(-1);
47
+ var menuRef = React.useRef(null);
48
+ var onKeyDown = function onKeyDown(event) {
49
+ var _event$key;
50
+ var menu = menuRef.current;
51
+ var key = (_event$key = event.key) === null || _event$key === void 0 ? void 0 : _event$key.toLowerCase();
52
+ var activeIndex = activeIndexRef.current;
53
+ var eventHandled = false;
54
+ var items = menu.getElementsByClassName(itemClassName);
55
+ var itemsCount = items.length;
56
+ if (itemsCount === 0) return;
57
+ if (key === "arrowdown") {
58
+ activeIndex = activeIndex >= itemsCount - 1 ? 0 : activeIndex + 1;
59
+ items[activeIndex].focus();
60
+ eventHandled = true;
61
+ } else if (key === "arrowup") {
62
+ activeIndex = activeIndex <= 0 ? itemsCount - 1 : activeIndex - 1;
63
+ items[activeIndex].focus();
64
+ eventHandled = true;
65
+ } else if (key === "enter") {
66
+ items[activeIndex].click();
67
+ eventHandled = true;
68
+ }
69
+ if (!eventHandled) return;
70
+ activeIndexRef.current = activeIndex;
71
+ event.preventDefault();
72
+ event.stopPropagation();
73
+ };
74
+ React.useEffect(function () {
75
+ var menu = menuRef.current;
76
+ if (menu) menu.focus();
77
+ }, [menuRef]);
45
78
  return /*#__PURE__*/jsxRuntime.jsx("ul", _objectSpread$3(_objectSpread$3({
46
- className: classnames("neeto-ui-dropdown__popup-menu", className)
79
+ onKeyDown: onKeyDown,
80
+ className: classnames("neeto-ui-dropdown__popup-menu", className),
81
+ ref: menuRef,
82
+ tabIndex: 0
47
83
  }, otherProps), {}, {
48
84
  children: children
49
85
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.js","sources":["../../src/components/Dropdown/Divider.jsx","../../src/components/Dropdown/Menu.jsx","../../src/components/Dropdown/MenuItem/MenuItem.jsx","../../src/components/Dropdown/MenuItem/MenuItemButton.jsx","../../src/components/Dropdown/MenuItem/index.js","../../src/components/Dropdown/index.jsx"],"sourcesContent":["import React from \"react\";\n\nconst Divider = props => (\n <li className=\"neeto-ui-dropdown__popup-divider\" {...props} />\n);\n\nexport default Divider;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst Menu = ({ children, className, ...otherProps }) => (\n <ul\n className={classnames(\"neeto-ui-dropdown__popup-menu\", className)}\n {...otherProps}\n >\n {children}\n </ul>\n);\n\nMenu.propTypes = {\n /**\n * To specify className to be applied to the Menu.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Menu.\n */\n children: PropTypes.node,\n};\n\nexport default Menu;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"components/Tooltip\";\n\nconst MenuItem = ({ children, className, tooltipProps, ...otherProps }) => {\n const renderMenuItem = () => (\n <li\n className={classnames(\"neeto-ui-dropdown__popup-menu-item\", className)}\n {...otherProps}\n >\n {children}\n </li>\n );\n\n if (isPresent(tooltipProps)) {\n return <Tooltip {...tooltipProps}>{renderMenuItem()}</Tooltip>;\n }\n\n return renderMenuItem();\n};\n\nMenuItem.propTypes = {\n /**\n * To specify className to be applied to the MenuItem.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the MenuItem.\n */\n children: PropTypes.node,\n /**\n * To specify the active state of the MenuItem.\n */\n isActive: PropTypes.bool,\n /**\n * To specify the props to be passed to the tooltip.\n */\n tooltipProps: PropTypes.object,\n};\n\nexport default MenuItem;\n","import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\n\nimport MenuItem from \"./MenuItem\";\n\nconst ITEM_BTN_STYLES = { default: \"default\", danger: \"danger\" };\n\nconst BUTTON_TYPES = { button: \"button\", reset: \"reset\", submit: \"submit\" };\n\nconst MenuItemButton = forwardRef(\n (\n {\n children,\n className,\n isActive,\n isDisabled,\n style = ITEM_BTN_STYLES.default,\n prefix,\n suffix,\n type = BUTTON_TYPES.button,\n to = \"\",\n href = \"\",\n tooltipProps,\n ...otherProps\n },\n ref\n ) => {\n let Parent, elementSpecificProps;\n if (to) {\n Parent = Link;\n elementSpecificProps = { to };\n } else if (href) {\n Parent = \"a\";\n elementSpecificProps = { href };\n } else {\n Parent = \"button\";\n elementSpecificProps = { type };\n }\n\n return (\n <MenuItem {...{ tooltipProps }}>\n <Parent\n disabled={isDisabled}\n className={classnames(\n \"neeto-ui-dropdown__popup-menu-item-btn\",\n className,\n {\n \"neeto-ui-dropdown__popup-menu-item-btn--active\": isActive,\n \"neeto-ui-dropdown__popup-menu-item-btn--disabled\": isDisabled,\n \"neeto-ui-dropdown__popup-menu-item-btn--style-danger\":\n style === ITEM_BTN_STYLES.danger,\n }\n )}\n {...{ ref, ...otherProps, ...elementSpecificProps }}\n >\n {prefix && (\n <div className=\"neeto-ui-dropdown__popup-menu-item-btn__prefix\">\n {prefix}\n </div>\n )}\n {children}\n {suffix && (\n <div className=\"neeto-ui-dropdown__popup-menu-item-btn__suffix\">\n {suffix}\n </div>\n )}\n </Parent>\n </MenuItem>\n );\n }\n);\n\nMenuItemButton.displayName = \"MenuItemButton\";\n\nMenuItemButton.propTypes = {\n /**\n * To specify className to be applied to the MenuItem.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the MenuItem.\n */\n children: PropTypes.node,\n /**\n * To specify the active state of the MenuItem.\n */\n isActive: PropTypes.bool,\n /**\n * To specify whether the MenuItem is disabled.\n */\n isDisabled: PropTypes.bool,\n /**\n * To specify an internal route to which the button points to.\n */\n to: PropTypes.string,\n /**\n * To specify an external link to which the button points to.\n */\n href: PropTypes.string,\n /**\n * To specify the content to be added at the end of the input field.\n */\n suffix: PropTypes.node,\n /**\n * To specify the content to be added at the beginning of the input field.\n */\n prefix: PropTypes.node,\n /**\n * To specify the type of button.\n */\n type: PropTypes.oneOf(Object.values(BUTTON_TYPES)),\n /**\n * To specify the style of button.\n */\n style: PropTypes.oneOf(Object.values(ITEM_BTN_STYLES)),\n /**\n * To specify the props to be passed to the tooltip.\n */\n tooltipProps: PropTypes.object,\n};\n\nexport default MenuItemButton;\n","import MenuItem from \"./MenuItem\";\nimport MenuItemButton from \"./MenuItemButton\";\n\nMenuItem.Button = MenuItemButton;\n\nexport default MenuItem;\n","import React, { useState } from \"react\";\n\nimport Tippy from \"@tippyjs/react\";\nimport classnames from \"classnames\";\nimport { Down } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport { isNil } from \"ramda\";\n\nimport Button from \"components/Button\";\nimport { hyphenize, noop } from \"utils\";\n\nimport Divider from \"./Divider\";\nimport Menu from \"./Menu\";\nimport MenuItem from \"./MenuItem\";\n\nconst BTN_STYLES = {\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n danger: \"danger\",\n danger_text: \"danger-text\",\n text: \"text\",\n link: \"link\",\n};\n\nconst BTN_SIZES = {\n small: \"small\",\n medium: \"medium\",\n large: \"large\",\n};\n\nconst STRATEGY = { absolute: \"absolute\", fixed: \"fixed\" };\n\nconst PLACEMENT = {\n auto: \"auto\",\n autoStart: \"auto-start\",\n autoEnd: \"auto-end\",\n top: \"top\",\n topStart: \"top-start\",\n topEnd: \"top-end\",\n bottom: \"bottom\",\n bottomStart: \"bottom-start\",\n bottomEnd: \"bottom-end\",\n right: \"right\",\n rightStart: \"right-start\",\n rightEnd: \"right-end\",\n left: \"left\",\n leftStart: \"left-start\",\n leftEnd: \"left-end\",\n};\n\nconst TRIGGERS = {\n click: \"click\",\n hover: \"mouseenter focus\",\n all: \"mouseenter focus click\",\n manual: \"manual\",\n};\n\nconst hideOnEsc = {\n name: \"hideOnEsc\",\n defaultValue: true,\n fn({ hide, props: { hideOnEsc } }) {\n function onKeyDown(event) {\n if (event.key?.toLowerCase() === \"escape\" && hideOnEsc) hide();\n }\n\n return {\n onShow() {\n document.addEventListener(\"keydown\", onKeyDown);\n },\n onHide() {\n document.removeEventListener(\"keydown\", onKeyDown);\n },\n };\n },\n};\n\nconst plugins = [hideOnEsc];\n\nconst Dropdown = ({\n icon,\n label,\n isOpen,\n onClose = noop,\n dropdownProps = {},\n position = PLACEMENT.bottomEnd,\n children,\n className,\n buttonStyle = BTN_STYLES.primary,\n buttonSize = BTN_SIZES.medium,\n buttonProps: { style, size, ...buttonProps } = {},\n customTarget,\n disabled = false,\n closeOnEsc = true,\n closeOnSelect = true,\n closeOnOutsideClick = true,\n dropdownModifiers = [],\n trigger = TRIGGERS.click,\n strategy = STRATEGY.absolute,\n onClick,\n ...otherProps\n}) => {\n const [instance, setInstance] = useState(null);\n const [mounted, setMounted] = useState(false);\n\n const isControlled = !isNil(isOpen);\n\n const controlledProps = isControlled\n ? { visible: isOpen }\n : { onClickOutside: () => closeOnOutsideClick };\n\n const {\n classNames: dropdownClassnames,\n className: dropdownClassName,\n ...otherDropdownProps\n } = dropdownProps;\n\n const close = () => instance.hide();\n\n return (\n <Tippy\n interactive\n animation={false}\n arrow={false}\n duration={0}\n // hideOnClick determines whether the dropdown should be hidden when the user clicks outside of the dropdown.\n // https://atomiks.github.io/tippyjs/v6/all-props/#hideonclick\n hideOnClick={isControlled ? undefined : closeOnOutsideClick || \"toggle\"}\n hideOnEsc={closeOnEsc}\n maxWidth=\"none\"\n offset={0}\n placement={position || PLACEMENT.bottomEnd}\n popperOptions={{ strategy, modifiers: dropdownModifiers }}\n role=\"dropdown\"\n theme=\"light\"\n trigger={isControlled ? undefined : TRIGGERS[trigger]}\n className={classnames(\"neeto-ui-dropdown\", {\n [className]: className,\n })}\n content={\n mounted ? (\n <div\n data-cy={`${hyphenize(label)}-dropdown-container`}\n className={classnames(\"neeto-ui-dropdown__popup\", {\n [dropdownClassName]: dropdownClassName,\n [dropdownClassnames]: dropdownClassnames,\n })}\n onClick={closeOnSelect ? close : noop}\n {...otherDropdownProps}\n >\n {children}\n </div>\n ) : null\n }\n onCreate={instance => instance && setInstance(instance)}\n onMount={() => setMounted(true)}\n onHidden={() => {\n onClose();\n setMounted(false);\n }}\n {...{ disabled, plugins, ...otherProps, ...controlledProps }}\n >\n {customTarget ? (\n <span\n {...{ onClick }}\n className={classnames({ \"neeto-ui-cursor-not-allowed\": disabled })}\n >\n {typeof customTarget === \"function\" ? customTarget() : customTarget}\n </span>\n ) : (\n <Button\n {...{ label, onClick }}\n data-cy={`${hyphenize(label)}-dropdown-icon`}\n disabled={disabled || buttonProps?.disabled}\n icon={icon || Down}\n iconPosition=\"right\"\n size={size ?? buttonSize}\n style={style ?? buttonStyle}\n {...buttonProps}\n />\n )}\n </Tippy>\n );\n};\n\nDropdown.Menu = Menu;\nDropdown.MenuItem = MenuItem;\nDropdown.Divider = Divider;\n\nDropdown.propTypes = {\n /**\n * To specify the icon to be rendered in the Dropdown target.\n */\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n /**\n * To specify the label for Dropdown target button.\n */\n label: PropTypes.string,\n /**\n * To specify whether the Dropdown is open or not.\n */\n isOpen: PropTypes.bool,\n /**\n * To specify the action to be triggered on closing the Dropdown.\n */\n onClose: PropTypes.func,\n /**\n * To specify the triggering action for Dropdown.\n */\n trigger: PropTypes.oneOf(Object.keys(TRIGGERS)),\n /**\n * To specify the positioning strategy to use. By default, it is absolute, which in the simplest cases does not require repositioning of the Dropdown.\n *\n * If your reference element is in a fixed container, use the fixed strategy\n */\n strategy: PropTypes.oneOf(Object.values(STRATEGY)),\n /**\n * To specify the classes to be passed to the Dropdown menu.\n */\n dropdownProps: PropTypes.object,\n /**\n * To specify the position of the Dropdown menu.\n */\n position: PropTypes.oneOf(Object.values(PLACEMENT)),\n /**\n * To specify the content to be rendered inside the Dropdown.\n */\n children: PropTypes.node,\n /**\n * To provide external classnames to Dropdown target wrapper.\n */\n className: PropTypes.string,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-success mb-2\">\n * New\n * </div>\n * To specify the size of the button to be rendered as the Dropdown target.\n */\n buttonSize: PropTypes.oneOf(Object.values(BTN_SIZES)),\n /**\n * To specify the style of the button to be rendered as the Dropdown target.\n */\n buttonStyle: PropTypes.oneOf(Object.values(BTN_STYLES)),\n /**\n * To specify the props to be passed to the Dropdown target button.\n */\n buttonProps: PropTypes.object,\n /**\n * To provide a custom target to be rendered instead of the default button target.\n */\n customTarget: PropTypes.node,\n /**\n * To specify whether the Dropdown is disabled or not.\n */\n disabled: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on pressing esc key.\n */\n closeOnEsc: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on selecting an option.\n */\n closeOnSelect: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on clicking outside the Dropdown content. (will not have any effect if the component is controlled.)\n */\n closeOnOutsideClick: PropTypes.bool,\n /**\n * To provide custom modifiers to Dropdown component.\n */\n dropdownModifiers: PropTypes.array,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-danger mb-2\">\n * Removed\n * </div>\n * _Use `dropdownProps` props instead._\n *\n */\n ulProps: PropTypes.object,\n /**\n * To specify the action that should be triggered when clicking outside of the controlled dropdown component.\n */\n onClickOutside: PropTypes.func,\n};\n\nexport default Dropdown;\n"],"names":["Divider","props","_jsx","_objectSpread","className","Menu","_ref","children","otherProps","_objectWithoutProperties","_excluded","classnames","MenuItem","tooltipProps","renderMenuItem","isPresent","Tooltip","ITEM_BTN_STYLES","danger","BUTTON_TYPES","button","MenuItemButton","forwardRef","ref","isActive","isDisabled","_ref$style","style","prefix","suffix","_ref$type","type","_ref$to","to","_ref$href","href","Parent","elementSpecificProps","Link","_jsxs","disabled","displayName","Button","BTN_STYLES","primary","BTN_SIZES","small","medium","STRATEGY","absolute","PLACEMENT","auto","bottomEnd","TRIGGERS","click","hover","all","manual","hideOnEsc","name","defaultValue","fn","hide","onKeyDown","event","_event$key","key","toLowerCase","onShow","document","addEventListener","onHide","removeEventListener","plugins","Dropdown","_ref2","icon","label","isOpen","_ref2$onClose","onClose","noop","_ref2$dropdownProps","dropdownProps","_ref2$position","position","_ref2$buttonStyle","buttonStyle","_ref2$buttonSize","buttonSize","_ref2$buttonProps","buttonProps","_ref2$buttonProps2","size","customTarget","_ref2$disabled","_ref2$closeOnEsc","closeOnEsc","_ref2$closeOnSelect","closeOnSelect","_ref2$closeOnOutsideC","closeOnOutsideClick","_ref2$dropdownModifie","dropdownModifiers","_ref2$trigger","trigger","_ref2$strategy","strategy","onClick","_excluded2","_useState","useState","_useState2","_slicedToArray","instance","setInstance","_useState3","_useState4","mounted","setMounted","isControlled","isNil","controlledProps","visible","onClickOutside","dropdownClassnames","classNames","dropdownClassName","otherDropdownProps","_excluded3","close","Tippy","interactive","animation","arrow","duration","hideOnClick","undefined","maxWidth","offset","placement","popperOptions","modifiers","role","theme","_defineProperty","content","concat","hyphenize","onCreate","onMount","onHidden","Down","iconPosition"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAGC,KAAK,EAAA;EAAA,oBACnBC,cAAA,OAAAC,eAAA,CAAA;AAAIC,IAAAA,SAAS,EAAC;GAAkC,EAAKH,KAAK,CAAG,CAAC;AAAA,CAC/D;;;;;ACCD,IAAMI,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEH,SAAS,GAAAE,IAAA,CAATF,SAAS;AAAKI,IAAAA,UAAU,GAAAC,wBAAA,CAAAH,IAAA,EAAAI,WAAA,CAAA;AAAA,EAAA,oBAChDR,cAAA,CAAA,IAAA,EAAAC,eAAA,CAAAA,eAAA,CAAA;AACEC,IAAAA,SAAS,EAAEO,UAAU,CAAC,+BAA+B,EAAEP,SAAS;AAAE,GAAA,EAC9DI,UAAU,CAAA,EAAA,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GA;AAAY,KAC/D,CAAC,gBAEP5F,cAAA,CAACwC,MAAM,EAAAvC,aAAA,CAAA;AACC0E,MAAAA,KAAK,EAALA,KAAK;AAAE+B,MAAAA,OAAO,EAAPA,OAAO;AACpB,MAAA,SAAA,EAAA,EAAA,CAAAuC,MAAA,CAAYC,eAAS,CAACvE,KAAK,CAAC,EAAA,gBAAA,CAAiB;MAC7CrC,QAAQ,EAAEA,QAAQ,KAAImD,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,MAAA,GAAA,MAAA,GAAXA,WAAW,CAAEnD,QAAQ,CAAC;MAC5CoC,IAAI,EAAEA,IAAI,IAAI4E,IAAK;AACnBC,MAAAA,YAAY,EAAC,OAAO;AACpB5D,MAAAA,IAAI,EAAEA,IAAI,KAAA,IAAA,IAAJA,IAAI,KAAA,MAAA,GAAJA,IAAI,GAAIJ,UAAW;AACzB9D,MAAAA,KAAK,EAAEA,KAAK,KAAA,IAAA,IAALA,KAAK,KAAA,MAAA,GAALA,KAAK,GAAI4D;AAAY,KAAA,EACxBI,WAAW,CAChB;AACF,GAAA,CACI,CAAC;AAEZ;AAEAjB,QAAQ,CAACrE,IAAI,GAAGA,IAAI;AACpBqE,QAAQ,CAAC9D,QAAQ,GAAGA,QAAQ;AAC5B8D,QAAQ,CAAC1E,OAAO,GAAGA,OAAO;;;;"}
1
+ {"version":3,"file":"Dropdown.js","sources":["../../src/components/Dropdown/Divider.jsx","../../src/components/Dropdown/Menu.jsx","../../src/components/Dropdown/MenuItem/MenuItem.jsx","../../src/components/Dropdown/MenuItem/MenuItemButton.jsx","../../src/components/Dropdown/MenuItem/index.js","../../src/components/Dropdown/index.jsx"],"sourcesContent":["import React from \"react\";\n\nconst Divider = props => (\n <li className=\"neeto-ui-dropdown__popup-divider\" {...props} />\n);\n\nexport default Divider;\n","import React, { useEffect, useRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\n\nconst itemClassName = \"neeto-ui-dropdown__popup-menu-item-btn\";\n\nconst Menu = ({ children, className, ...otherProps }) => {\n const activeIndexRef = useRef(-1);\n const menuRef = useRef(null);\n\n const onKeyDown = event => {\n const menu = menuRef.current;\n const key = event.key?.toLowerCase();\n let activeIndex = activeIndexRef.current;\n let eventHandled = false;\n\n const items = menu.getElementsByClassName(itemClassName);\n const itemsCount = items.length;\n if (itemsCount === 0) return;\n\n if (key === \"arrowdown\") {\n activeIndex = activeIndex >= itemsCount - 1 ? 0 : activeIndex + 1;\n items[activeIndex].focus();\n eventHandled = true;\n } else if (key === \"arrowup\") {\n activeIndex = activeIndex <= 0 ? itemsCount - 1 : activeIndex - 1;\n items[activeIndex].focus();\n eventHandled = true;\n } else if (key === \"enter\") {\n items[activeIndex].click();\n eventHandled = true;\n }\n\n if (!eventHandled) return;\n activeIndexRef.current = activeIndex;\n event.preventDefault();\n event.stopPropagation();\n };\n\n useEffect(() => {\n const menu = menuRef.current;\n if (menu) menu.focus();\n }, [menuRef]);\n\n return (\n <ul\n {...{ onKeyDown }}\n className={classnames(\"neeto-ui-dropdown__popup-menu\", className)}\n ref={menuRef}\n tabIndex={0}\n {...otherProps}\n >\n {children}\n </ul>\n );\n};\n\nMenu.propTypes = {\n /**\n * To specify className to be applied to the Menu.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the Menu.\n */\n children: PropTypes.node,\n};\n\nexport default Menu;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport PropTypes from \"prop-types\";\n\nimport Tooltip from \"components/Tooltip\";\n\nconst MenuItem = ({ children, className, tooltipProps, ...otherProps }) => {\n const renderMenuItem = () => (\n <li\n className={classnames(\"neeto-ui-dropdown__popup-menu-item\", className)}\n {...otherProps}\n >\n {children}\n </li>\n );\n\n if (isPresent(tooltipProps)) {\n return <Tooltip {...tooltipProps}>{renderMenuItem()}</Tooltip>;\n }\n\n return renderMenuItem();\n};\n\nMenuItem.propTypes = {\n /**\n * To specify className to be applied to the MenuItem.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the MenuItem.\n */\n children: PropTypes.node,\n /**\n * To specify the active state of the MenuItem.\n */\n isActive: PropTypes.bool,\n /**\n * To specify the props to be passed to the tooltip.\n */\n tooltipProps: PropTypes.object,\n};\n\nexport default MenuItem;\n","import React, { forwardRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\n\nimport MenuItem from \"./MenuItem\";\n\nconst ITEM_BTN_STYLES = { default: \"default\", danger: \"danger\" };\n\nconst BUTTON_TYPES = { button: \"button\", reset: \"reset\", submit: \"submit\" };\n\nconst MenuItemButton = forwardRef(\n (\n {\n children,\n className,\n isActive,\n isDisabled,\n style = ITEM_BTN_STYLES.default,\n prefix,\n suffix,\n type = BUTTON_TYPES.button,\n to = \"\",\n href = \"\",\n tooltipProps,\n ...otherProps\n },\n ref\n ) => {\n let Parent, elementSpecificProps;\n if (to) {\n Parent = Link;\n elementSpecificProps = { to };\n } else if (href) {\n Parent = \"a\";\n elementSpecificProps = { href };\n } else {\n Parent = \"button\";\n elementSpecificProps = { type };\n }\n\n return (\n <MenuItem {...{ tooltipProps }}>\n <Parent\n disabled={isDisabled}\n className={classnames(\n \"neeto-ui-dropdown__popup-menu-item-btn\",\n className,\n {\n \"neeto-ui-dropdown__popup-menu-item-btn--active\": isActive,\n \"neeto-ui-dropdown__popup-menu-item-btn--disabled\": isDisabled,\n \"neeto-ui-dropdown__popup-menu-item-btn--style-danger\":\n style === ITEM_BTN_STYLES.danger,\n }\n )}\n {...{ ref, ...otherProps, ...elementSpecificProps }}\n >\n {prefix && (\n <div className=\"neeto-ui-dropdown__popup-menu-item-btn__prefix\">\n {prefix}\n </div>\n )}\n {children}\n {suffix && (\n <div className=\"neeto-ui-dropdown__popup-menu-item-btn__suffix\">\n {suffix}\n </div>\n )}\n </Parent>\n </MenuItem>\n );\n }\n);\n\nMenuItemButton.displayName = \"MenuItemButton\";\n\nMenuItemButton.propTypes = {\n /**\n * To specify className to be applied to the MenuItem.\n */\n className: PropTypes.string,\n /**\n * To specify the content to be rendered inside the MenuItem.\n */\n children: PropTypes.node,\n /**\n * To specify the active state of the MenuItem.\n */\n isActive: PropTypes.bool,\n /**\n * To specify whether the MenuItem is disabled.\n */\n isDisabled: PropTypes.bool,\n /**\n * To specify an internal route to which the button points to.\n */\n to: PropTypes.string,\n /**\n * To specify an external link to which the button points to.\n */\n href: PropTypes.string,\n /**\n * To specify the content to be added at the end of the input field.\n */\n suffix: PropTypes.node,\n /**\n * To specify the content to be added at the beginning of the input field.\n */\n prefix: PropTypes.node,\n /**\n * To specify the type of button.\n */\n type: PropTypes.oneOf(Object.values(BUTTON_TYPES)),\n /**\n * To specify the style of button.\n */\n style: PropTypes.oneOf(Object.values(ITEM_BTN_STYLES)),\n /**\n * To specify the props to be passed to the tooltip.\n */\n tooltipProps: PropTypes.object,\n};\n\nexport default MenuItemButton;\n","import MenuItem from \"./MenuItem\";\nimport MenuItemButton from \"./MenuItemButton\";\n\nMenuItem.Button = MenuItemButton;\n\nexport default MenuItem;\n","import React, { useState } from \"react\";\n\nimport Tippy from \"@tippyjs/react\";\nimport classnames from \"classnames\";\nimport { Down } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport { isNil } from \"ramda\";\n\nimport Button from \"components/Button\";\nimport { hyphenize, noop } from \"utils\";\n\nimport Divider from \"./Divider\";\nimport Menu from \"./Menu\";\nimport MenuItem from \"./MenuItem\";\n\nconst BTN_STYLES = {\n primary: \"primary\",\n secondary: \"secondary\",\n tertiary: \"tertiary\",\n danger: \"danger\",\n danger_text: \"danger-text\",\n text: \"text\",\n link: \"link\",\n};\n\nconst BTN_SIZES = {\n small: \"small\",\n medium: \"medium\",\n large: \"large\",\n};\n\nconst STRATEGY = { absolute: \"absolute\", fixed: \"fixed\" };\n\nconst PLACEMENT = {\n auto: \"auto\",\n autoStart: \"auto-start\",\n autoEnd: \"auto-end\",\n top: \"top\",\n topStart: \"top-start\",\n topEnd: \"top-end\",\n bottom: \"bottom\",\n bottomStart: \"bottom-start\",\n bottomEnd: \"bottom-end\",\n right: \"right\",\n rightStart: \"right-start\",\n rightEnd: \"right-end\",\n left: \"left\",\n leftStart: \"left-start\",\n leftEnd: \"left-end\",\n};\n\nconst TRIGGERS = {\n click: \"click\",\n hover: \"mouseenter focus\",\n all: \"mouseenter focus click\",\n manual: \"manual\",\n};\n\nconst hideOnEsc = {\n name: \"hideOnEsc\",\n defaultValue: true,\n fn({ hide, props: { hideOnEsc } }) {\n function onKeyDown(event) {\n if (event.key?.toLowerCase() === \"escape\" && hideOnEsc) hide();\n }\n\n return {\n onShow() {\n document.addEventListener(\"keydown\", onKeyDown);\n },\n onHide() {\n document.removeEventListener(\"keydown\", onKeyDown);\n },\n };\n },\n};\n\nconst plugins = [hideOnEsc];\n\nconst Dropdown = ({\n icon,\n label,\n isOpen,\n onClose = noop,\n dropdownProps = {},\n position = PLACEMENT.bottomEnd,\n children,\n className,\n buttonStyle = BTN_STYLES.primary,\n buttonSize = BTN_SIZES.medium,\n buttonProps: { style, size, ...buttonProps } = {},\n customTarget,\n disabled = false,\n closeOnEsc = true,\n closeOnSelect = true,\n closeOnOutsideClick = true,\n dropdownModifiers = [],\n trigger = TRIGGERS.click,\n strategy = STRATEGY.absolute,\n onClick,\n ...otherProps\n}) => {\n const [instance, setInstance] = useState(null);\n const [mounted, setMounted] = useState(false);\n\n const isControlled = !isNil(isOpen);\n\n const controlledProps = isControlled\n ? { visible: isOpen }\n : { onClickOutside: () => closeOnOutsideClick };\n\n const {\n classNames: dropdownClassnames,\n className: dropdownClassName,\n ...otherDropdownProps\n } = dropdownProps;\n\n const close = () => instance.hide();\n\n return (\n <Tippy\n interactive\n animation={false}\n arrow={false}\n duration={0}\n // hideOnClick determines whether the dropdown should be hidden when the user clicks outside of the dropdown.\n // https://atomiks.github.io/tippyjs/v6/all-props/#hideonclick\n hideOnClick={isControlled ? undefined : closeOnOutsideClick || \"toggle\"}\n hideOnEsc={closeOnEsc}\n maxWidth=\"none\"\n offset={0}\n placement={position || PLACEMENT.bottomEnd}\n popperOptions={{ strategy, modifiers: dropdownModifiers }}\n role=\"dropdown\"\n theme=\"light\"\n trigger={isControlled ? undefined : TRIGGERS[trigger]}\n className={classnames(\"neeto-ui-dropdown\", {\n [className]: className,\n })}\n content={\n mounted ? (\n <div\n data-cy={`${hyphenize(label)}-dropdown-container`}\n className={classnames(\"neeto-ui-dropdown__popup\", {\n [dropdownClassName]: dropdownClassName,\n [dropdownClassnames]: dropdownClassnames,\n })}\n onClick={closeOnSelect ? close : noop}\n {...otherDropdownProps}\n >\n {children}\n </div>\n ) : null\n }\n onCreate={instance => instance && setInstance(instance)}\n onMount={() => setMounted(true)}\n onHidden={() => {\n onClose();\n setMounted(false);\n }}\n {...{ disabled, plugins, ...otherProps, ...controlledProps }}\n >\n {customTarget ? (\n <span\n {...{ onClick }}\n className={classnames({ \"neeto-ui-cursor-not-allowed\": disabled })}\n >\n {typeof customTarget === \"function\" ? customTarget() : customTarget}\n </span>\n ) : (\n <Button\n {...{ label, onClick }}\n data-cy={`${hyphenize(label)}-dropdown-icon`}\n disabled={disabled || buttonProps?.disabled}\n icon={icon || Down}\n iconPosition=\"right\"\n size={size ?? buttonSize}\n style={style ?? buttonStyle}\n {...buttonProps}\n />\n )}\n </Tippy>\n );\n};\n\nDropdown.Menu = Menu;\nDropdown.MenuItem = MenuItem;\nDropdown.Divider = Divider;\n\nDropdown.propTypes = {\n /**\n * To specify the icon to be rendered in the Dropdown target.\n */\n icon: PropTypes.oneOfType([PropTypes.element, PropTypes.func]),\n /**\n * To specify the label for Dropdown target button.\n */\n label: PropTypes.string,\n /**\n * To specify whether the Dropdown is open or not.\n */\n isOpen: PropTypes.bool,\n /**\n * To specify the action to be triggered on closing the Dropdown.\n */\n onClose: PropTypes.func,\n /**\n * To specify the triggering action for Dropdown.\n */\n trigger: PropTypes.oneOf(Object.keys(TRIGGERS)),\n /**\n * To specify the positioning strategy to use. By default, it is absolute, which in the simplest cases does not require repositioning of the Dropdown.\n *\n * If your reference element is in a fixed container, use the fixed strategy\n */\n strategy: PropTypes.oneOf(Object.values(STRATEGY)),\n /**\n * To specify the classes to be passed to the Dropdown menu.\n */\n dropdownProps: PropTypes.object,\n /**\n * To specify the position of the Dropdown menu.\n */\n position: PropTypes.oneOf(Object.values(PLACEMENT)),\n /**\n * To specify the content to be rendered inside the Dropdown.\n */\n children: PropTypes.node,\n /**\n * To provide external classnames to Dropdown target wrapper.\n */\n className: PropTypes.string,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-success mb-2\">\n * New\n * </div>\n * To specify the size of the button to be rendered as the Dropdown target.\n */\n buttonSize: PropTypes.oneOf(Object.values(BTN_SIZES)),\n /**\n * To specify the style of the button to be rendered as the Dropdown target.\n */\n buttonStyle: PropTypes.oneOf(Object.values(BTN_STYLES)),\n /**\n * To specify the props to be passed to the Dropdown target button.\n */\n buttonProps: PropTypes.object,\n /**\n * To provide a custom target to be rendered instead of the default button target.\n */\n customTarget: PropTypes.node,\n /**\n * To specify whether the Dropdown is disabled or not.\n */\n disabled: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on pressing esc key.\n */\n closeOnEsc: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on selecting an option.\n */\n closeOnSelect: PropTypes.bool,\n /**\n * To specify whether the Dropdown should close on clicking outside the Dropdown content. (will not have any effect if the component is controlled.)\n */\n closeOnOutsideClick: PropTypes.bool,\n /**\n * To provide custom modifiers to Dropdown component.\n */\n dropdownModifiers: PropTypes.array,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-danger mb-2\">\n * Removed\n * </div>\n * _Use `dropdownProps` props instead._\n *\n */\n ulProps: PropTypes.object,\n /**\n * To specify the action that should be triggered when clicking outside of the controlled dropdown component.\n */\n onClickOutside: PropTypes.func,\n};\n\nexport default Dropdown;\n"],"names":["Divider","props","_jsx","_objectSpread","className","itemClassName","Menu","_ref","children","otherProps","_objectWithoutProperties","_excluded","activeIndexRef","useRef","menuRef","onKeyDown","event","_event$key","menu","current","key","toLowerCase","activeIndex","eventHandled","items","getElementsByClassName","itemsCount","length","focus","click","preventDefault","stopPropagation","useEffect","classnames","ref","tabIndex","MenuItem","tooltipProps","renderMenuItem","isPresent","Tooltip","ITEM_BTN_STYLES","danger","BUTTON_TYPES","button","MenuItemButton","forwardRef","isActive","isDisabled","_ref$style","style","prefix","suffix","_ref$type","type","_ref$to","to","_ref$href","href","Parent","elementSpecificProps","Link","_jsxs","disabled","displayName","Button","BTN_STYLES","primary","BTN_SIZES","small","medium","STRATEGY","absolute","PLACEMENT","auto","bottomEnd","TRIGGERS","hover","all","manual","hideOnEsc","name","defaultValue","fn","hide","onShow","document","addEventListener","onHide","removeEventListener","plugins","Dropdown","_ref2","icon","label","isOpen","_ref2$onClose","onClose","noop","_ref2$dropdownProps","dropdownProps","_ref2$position","position","_ref2$buttonStyle","buttonStyle","_ref2$buttonSize","buttonSize","_ref2$buttonProps","buttonProps","_ref2$buttonProps2","size","customTarget","_ref2$disabled","_ref2$closeOnEsc","closeOnEsc","_ref2$closeOnSelect","closeOnSelect","_ref2$closeOnOutsideC","closeOnOutsideClick","_ref2$dropdownModifie","dropdownModifiers","_ref2$trigger","trigger","_ref2$strategy","strategy","onClick","_excluded2","_useState","useState","_useState2","_slicedToArray","instance","setInstance","_useState3","_useState4","mounted","setMounted","isControlled","isNil","controlledProps","visible","onClickOutside","dropdownClassnames","classNames","dropdownClassName","otherDropdownProps","_excluded3","close","Tippy","interactive","animation","arrow","duration","hideOnClick","undefined","maxWidth","offset","placement","popperOptions","modifiers","role","theme","_defineProperty","content","concat","hyphenize","onCreate","onMount","onHidden","Down","iconPosition"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,OAAO,GAAG,SAAVA,OAAOA,CAAGC,KAAK,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A,EAAA,EAAA,CAAAuC,MAAA,CAAYC,eAAS,CAACvE,KAAK,CAAC,EAAA,gBAAA,CAAiB;MAC7C/B,QAAQ,EAAEA,QAAQ,KAAI6C,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,MAAA,GAAA,MAAA,GAAXA,WAAW,CAAE7C,QAAQ,CAAC;MAC5C8B,IAAI,EAAEA,IAAI,IAAI4E,IAAK;AACnBC,MAAAA,YAAY,EAAC,OAAO;AACpB5D,MAAAA,IAAI,EAAEA,IAAI,KAAA,IAAA,IAAJA,IAAI,KAAA,MAAA,GAAJA,IAAI,GAAIJ,UAAW;AACzBxD,MAAAA,KAAK,EAAEA,KAAK,KAAA,IAAA,IAALA,KAAK,KAAA,MAAA,GAALA,KAAK,GAAIsD;AAAY,KAAA,EACxBI,WAAW,CAChB;AACF,GAAA,CACI,CAAC;AAEZ;AAEAjB,QAAQ,CAACrF,IAAI,GAAGA,IAAI;AACpBqF,QAAQ,CAACvD,QAAQ,GAAGA,QAAQ;AAC5BuD,QAAQ,CAAC3F,OAAO,GAAGA,OAAO;;;;"}
package/dist/cjs/Input.js CHANGED
@@ -10,14 +10,14 @@ var useId = require('./useId-DXHUzdxd.js');
10
10
  require('react-router-dom');
11
11
  require('@bigbinary/neeto-hotkeys');
12
12
  require('./overlayManager.js');
13
- var index = require('./index-CcLewRhe.js');
13
+ var index = require('./index-BlcVTw2b.js');
14
14
  require('qs');
15
15
  var Label = require('./Label.js');
16
16
  var jsxRuntime = require('react/jsx-runtime');
17
17
  require('@babel/runtime/helpers/classCallCheck');
18
18
  require('@babel/runtime/helpers/createClass');
19
19
  require('@bigbinary/neeto-cist');
20
- require('./en-BoX6pwZe.js');
20
+ require('./en-BfFI1Si2.js');
21
21
  require('@babel/runtime/helpers/toConsumableArray');
22
22
  require('dayjs');
23
23
  require('dayjs/plugin/localeData');
package/dist/cjs/Modal.js CHANGED
@@ -6,7 +6,7 @@ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProp
6
6
  var React = require('react');
7
7
  var classnames = require('classnames');
8
8
  var Close = require('@bigbinary/neeto-icons/Close');
9
- var useOverlayManager = require('./useOverlayManager-Bmn7TLVG.js');
9
+ var useOverlayManager = require('./useOverlayManager-T0kuI6q4.js');
10
10
  var Button = require('./Button.js');
11
11
  require('react-router-dom');
12
12
  require('qs');
@@ -21,9 +21,9 @@ require('@bigbinary/neeto-hotkeys');
21
21
  require('./overlayManager.js');
22
22
  require('@babel/runtime/helpers/classCallCheck');
23
23
  require('@babel/runtime/helpers/createClass');
24
- require('./index-CcLewRhe.js');
24
+ require('./index-BlcVTw2b.js');
25
25
  require('@bigbinary/neeto-cist');
26
- require('./en-BoX6pwZe.js');
26
+ require('./en-BfFI1Si2.js');
27
27
  require('@babel/runtime/helpers/toConsumableArray');
28
28
  require('dayjs');
29
29
  require('dayjs/plugin/localeData');
@@ -8,7 +8,7 @@ var React = require('react');
8
8
  var classnames = require('classnames');
9
9
  var ramda = require('ramda');
10
10
  var reactSelectCreatable_esm = require('./react-select-creatable.esm-lcdODVBz.js');
11
- var index = require('./index-CcLewRhe.js');
11
+ var index = require('./index-BlcVTw2b.js');
12
12
  var _toArray = require('@babel/runtime/helpers/toArray');
13
13
  var Close = require('@bigbinary/neeto-icons/Close');
14
14
  var Tag = require('./Tag.js');
@@ -37,7 +37,7 @@ require('@babel/runtime/helpers/createSuper');
37
37
  require('@babel/runtime/helpers/taggedTemplateLiteral');
38
38
  require('@babel/runtime/helpers/typeof');
39
39
  require('qs');
40
- require('./en-BoX6pwZe.js');
40
+ require('./en-BfFI1Si2.js');
41
41
  require('dayjs');
42
42
  require('dayjs/plugin/localeData');
43
43
  require('dayjs/plugin/utc');
@@ -9,7 +9,7 @@ var reactRouterDom = require('react-router-dom');
9
9
  require('@babel/runtime/helpers/slicedToArray');
10
10
  require('@bigbinary/neeto-hotkeys');
11
11
  require('./overlayManager.js');
12
- var index = require('./index-CcLewRhe.js');
12
+ var index = require('./index-BlcVTw2b.js');
13
13
  var useQueryParams = require('./useQueryParams-BrrbBvY_.js');
14
14
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
15
15
  var jsxRuntime = require('react/jsx-runtime');
@@ -18,7 +18,7 @@ require('@babel/runtime/helpers/createClass');
18
18
  require('@babel/runtime/helpers/defineProperty');
19
19
  require('@bigbinary/neeto-cist');
20
20
  require('qs');
21
- require('./en-BoX6pwZe.js');
21
+ require('./en-BfFI1Si2.js');
22
22
  require('dayjs');
23
23
  require('dayjs/plugin/localeData');
24
24
  require('dayjs/plugin/utc');
package/dist/cjs/Pane.js CHANGED
@@ -6,7 +6,7 @@ var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProp
6
6
  var React = require('react');
7
7
  var classnames = require('classnames');
8
8
  var Close = require('@bigbinary/neeto-icons/Close');
9
- var useOverlayManager = require('./useOverlayManager-Bmn7TLVG.js');
9
+ var useOverlayManager = require('./useOverlayManager-T0kuI6q4.js');
10
10
  var Button = require('./Button.js');
11
11
  require('react-router-dom');
12
12
  require('qs');
@@ -20,9 +20,9 @@ require('@bigbinary/neeto-hotkeys');
20
20
  require('./overlayManager.js');
21
21
  require('@babel/runtime/helpers/classCallCheck');
22
22
  require('@babel/runtime/helpers/createClass');
23
- require('./index-CcLewRhe.js');
23
+ require('./index-BlcVTw2b.js');
24
24
  require('@bigbinary/neeto-cist');
25
- require('./en-BoX6pwZe.js');
25
+ require('./en-BfFI1Si2.js');
26
26
  require('@babel/runtime/helpers/toConsumableArray');
27
27
  require('dayjs');
28
28
  require('dayjs/plugin/localeData');