@geneui/components 2.16.0-canary-36aab18-26082024 → 2.16.0-canary-7598c7a-11092024

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 (100) hide show
  1. package/ActionableList/index.js +4 -5
  2. package/AdvancedSearch/index.js +3 -4
  3. package/Alert/index.js +1 -1
  4. package/Breadcrumb/index.js +2 -3
  5. package/Card/index.js +2 -3
  6. package/CardList/index.js +7 -8
  7. package/{CellMeasurerCache-b172f99b.js → CellMeasurerCache-e50d357a.js} +1 -1
  8. package/Charts/index.js +1 -1
  9. package/Checkbox/index.js +3 -3
  10. package/CheckboxGroup/index.js +3 -3
  11. package/CheckboxGroupWithSearch/index.js +2 -3
  12. package/ComboBox/index.js +3 -3
  13. package/Copy/index.js +3 -3
  14. package/Counter/index.js +2 -3
  15. package/DateFilter/index.js +3 -4
  16. package/DatePickerInput/index.js +4 -5
  17. package/Drawer/index.js +3 -3
  18. package/Dropdown/index.js +5 -6
  19. package/Editor/index.js +1 -1
  20. package/ExtendedInput/index.js +3 -3
  21. package/Form/index.js +5 -6
  22. package/FormableCheckbox/index.js +4 -4
  23. package/FormableDatePicker/index.js +5 -6
  24. package/FormableDropdown/index.js +5 -6
  25. package/FormableEditor/index.js +2 -2
  26. package/{FormableHOC-b26c5b16.js → FormableHOC-8c6104f7.js} +1 -1
  27. package/FormableMultiSelectDropdown/index.js +5 -6
  28. package/FormableNumberInput/index.js +4 -4
  29. package/FormableRadio/index.js +2 -2
  30. package/FormableSwitcher/index.js +2 -2
  31. package/FormableTextInput/index.js +4 -4
  32. package/FormableUploader/index.js +3 -4
  33. package/GeneUIProvider/index.js +1 -0
  34. package/Grid/index.js +1 -1
  35. package/Holder/index.js +2 -3
  36. package/Image/index.js +5 -6
  37. package/ImagePreview/index.js +2 -3
  38. package/InteractiveWidget/index.js +2 -3
  39. package/Menu/index.js +3 -3
  40. package/MobilePopup/index.js +3 -3
  41. package/Modal/index.js +1 -1
  42. package/ModuleTitle/index.js +3 -3
  43. package/NavigationMenu/index.js +4 -4
  44. package/Notification/index.js +1 -1
  45. package/Option/index.js +3 -3
  46. package/Overlay/index.js +2 -3
  47. package/Overspread/index.js +5 -6
  48. package/Pagination/index.js +2 -3
  49. package/Popover/index.js +409 -4
  50. package/PopoverV2/index.js +2 -2
  51. package/Products/index.js +1 -1
  52. package/Profile/index.js +2 -3
  53. package/Radio/index.js +1 -1
  54. package/RadioGroup/index.js +1 -1
  55. package/Range/index.js +1 -1
  56. package/Scrollbar/index.js +1 -1
  57. package/Search/index.js +3 -3
  58. package/SearchWithDropdown/index.js +5 -6
  59. package/Section/index.js +1 -1
  60. package/Slider/index.js +3 -3
  61. package/Status/index.js +4 -4
  62. package/Steps/index.js +4 -4
  63. package/SuggestionList/index.js +1 -1
  64. package/Switcher/index.js +1 -1
  65. package/Table/index.js +14 -15
  66. package/TableCompositions/index.js +8 -9
  67. package/Tag/index.js +1 -1
  68. package/Textarea/index.js +3 -3
  69. package/TimePicker/index.js +35 -30
  70. package/Title/index.js +1 -1
  71. package/Toaster/index.js +1 -1
  72. package/Tooltip/index.js +10 -153
  73. package/TransferList/index.js +4 -5
  74. package/Uploader/index.js +2 -3
  75. package/ValidatableCheckbox/index.js +3 -3
  76. package/ValidatableDatePicker/index.js +4 -5
  77. package/ValidatableDropdown/index.js +4 -5
  78. package/ValidatableElements/index.js +4 -5
  79. package/ValidatableMultiSelectDropdown/index.js +4 -5
  80. package/ValidatableNumberInput/index.js +3 -3
  81. package/ValidatableRadio/index.js +1 -1
  82. package/ValidatableSwitcher/index.js +1 -1
  83. package/ValidatableTextInput/index.js +3 -3
  84. package/ValidatableTimeInput/index.js +3 -3
  85. package/ValidatableUploader/index.js +2 -3
  86. package/Widget/index.js +2 -3
  87. package/{configs-1fb8eed2.js → configs-00612ce0.js} +1 -1
  88. package/hooks/useDeviceType.js +1 -1
  89. package/{index-1beae3bb.js → index-071d6646.js} +3 -3
  90. package/index-17958262.js +3064 -0
  91. package/{index-18431aad.js → index-808e4e0e.js} +1 -1
  92. package/{index-617ffc3a.js → index-ac01f546.js} +6 -5
  93. package/index.js +9 -10
  94. package/lib/atoms/Button/Button.d.ts +1 -1
  95. package/lib/molecules/Tooltip/Tooltip.d.ts +62 -0
  96. package/lib/molecules/Tooltip/index.d.ts +1 -0
  97. package/package.json +2 -1
  98. package/{react-beautiful-dnd.esm-04c14563.js → react-beautiful-dnd.esm-899f6ed9.js} +2 -1
  99. package/{index-b1e429a7.js → redux-b3e598ca.js} +1 -272
  100. package/Popover-f4d1cac0.js +0 -411
package/Steps/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import React__default, { useRef, useState } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { c as classnames } from '../index-031ff73c.js';
4
- import { l as stepsConfig } from '../configs-1fb8eed2.js';
4
+ import { l as stepsConfig } from '../configs-00612ce0.js';
5
5
  import Icon from '../Icon/index.js';
6
- import Tooltip from '../Tooltip/index.js';
6
+ import { T as Tooltip } from '../index-17958262.js';
7
7
  import '../dateValidation-67caec66.js';
8
8
  import { d as debounce } from '../debounce-4419bc2f.js';
9
9
  import 'react-dom';
@@ -11,12 +11,12 @@ import Popover from '../Popover/index.js';
11
11
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
12
12
  import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
13
13
  import { c as childrenOf } from '../index-a0e4e333.js';
14
- import '../Popover-f4d1cac0.js';
15
- import '../_commonjsHelpers-24198af3.js';
14
+ import '../tslib.es6-f211516f.js';
16
15
  import '../hooks/useDeviceType.js';
17
16
  import '../hooks/useWindowSize.js';
18
17
  import '../hooks/useDebounce.js';
19
18
  import '../GeneUIProvider/index.js';
19
+ import '../_commonjsHelpers-24198af3.js';
20
20
  import '../index-122432cd.js';
21
21
  import '../hooks/useUpdatableRef.js';
22
22
  import '../hooks/useForceUpdate.js';
@@ -2,7 +2,7 @@ import React__default, { useMemo, useState, useRef, useCallback, useEffect } fro
2
2
  import { c as classnames } from '../index-031ff73c.js';
3
3
  import { s as stopEvent } from '../index-a0e4e333.js';
4
4
  import useKeyDown from '../hooks/useKeyDown.js';
5
- import '../configs-1fb8eed2.js';
5
+ import '../configs-00612ce0.js';
6
6
  import useClickOutside from '../hooks/useClickOutside.js';
7
7
  import { k as keyDownKeys } from '../config-1053d64d.js';
8
8
  import CustomScrollbar from '../Scrollbar/index.js';
package/Switcher/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default, { forwardRef, useRef, useState, useMemo } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
- import { c as checkboxRadioSwitcherConfig } from '../configs-1fb8eed2.js';
5
+ import { c as checkboxRadioSwitcherConfig } from '../configs-00612ce0.js';
6
6
  import { n as noop, i as interceptValue } from '../index-a0e4e333.js';
7
7
  import useKeyDown from '../hooks/useKeyDown.js';
8
8
  import '../checkboxRadioSwitcher-5b69d7bd.js';
package/Table/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import 'react';
3
- export { T as default } from '../index-617ffc3a.js';
3
+ export { T as default } from '../index-ac01f546.js';
4
4
  import 'prop-types';
5
- import '../index-1beae3bb.js';
6
- import '../CellMeasurerCache-b172f99b.js';
5
+ import '../index-071d6646.js';
6
+ import '../CellMeasurerCache-e50d357a.js';
7
7
  import '../index-031ff73c.js';
8
8
  import '../index-a0e4e333.js';
9
9
  import '../hooks/useMount.js';
10
10
  import '../hooks/useUpdate.js';
11
- import '../configs-1fb8eed2.js';
11
+ import '../configs-00612ce0.js';
12
12
  import '../hooks/useThrottle.js';
13
13
  import '../Empty/index.js';
14
14
  import '../Scrollbar/index.js';
@@ -18,23 +18,20 @@ import '../debounce-4419bc2f.js';
18
18
  import '../hooks/useMutationObserver.js';
19
19
  import '../Icon/index.js';
20
20
  import '../style-inject.es-746bb8ed.js';
21
- import '../index-b1e429a7.js';
22
- import '../objectWithoutPropertiesLoose-d8a4a68c.js';
23
- import '../Button/index.js';
21
+ import '../index-17958262.js';
24
22
  import '../tslib.es6-f211516f.js';
23
+ import 'react-dom';
24
+ import '../hooks/useDeviceType.js';
25
+ import '../hooks/useWindowSize.js';
26
+ import '../hooks/useDebounce.js';
27
+ import '../GeneUIProvider/index.js';
28
+ import '../Button/index.js';
25
29
  import '../dateValidation-67caec66.js';
26
30
  import '../_commonjsHelpers-24198af3.js';
27
- import 'react-dom';
28
31
  import '../SkeletonLoader/index.js';
29
32
  import '../Copy/index.js';
30
33
  import '../callAfterDelay-7272faca.js';
31
34
  import '../hooks/useHover.js';
32
- import '../Tooltip/index.js';
33
- import '../Popover-f4d1cac0.js';
34
- import '../hooks/useDeviceType.js';
35
- import '../hooks/useWindowSize.js';
36
- import '../hooks/useDebounce.js';
37
- import '../GeneUIProvider/index.js';
38
35
  import '../Popover/index.js';
39
36
  import '../index-122432cd.js';
40
37
  import '../hooks/useUpdatableRef.js';
@@ -48,7 +45,9 @@ import '../hooks/useClickOutside.js';
48
45
  import '../config-1053d64d.js';
49
46
  import '../Menu/index.js';
50
47
  import '../Option/index.js';
51
- import '../index-18431aad.js';
48
+ import '../index-808e4e0e.js';
49
+ import '../redux-b3e598ca.js';
50
+ import '../objectWithoutPropertiesLoose-d8a4a68c.js';
52
51
  import '../react-lifecycles-compat.es-6e1f3768.js';
53
52
  import '../clsx.m-2bb6df4b.js';
54
53
  import '../hooks/useClick.js';
@@ -8,20 +8,20 @@ import { s as styleInject } from '../style-inject.es-746bb8ed.js';
8
8
  import Paper from '../Paper/index.js';
9
9
  import { L as Logger, n as noop } from '../index-a0e4e333.js';
10
10
  import Pagination from '../Pagination/index.js';
11
- import { D as Dropdown } from '../index-1beae3bb.js';
12
- import { T as Table, s as searchConfigs, a as sortHandler, u as useSortConfigs } from '../index-617ffc3a.js';
13
- import '../configs-1fb8eed2.js';
11
+ import { D as Dropdown } from '../index-071d6646.js';
12
+ import { T as Table, s as searchConfigs, a as sortHandler, u as useSortConfigs } from '../index-ac01f546.js';
13
+ import '../configs-00612ce0.js';
14
14
  import useThrottle from '../hooks/useThrottle.js';
15
15
  import Button from '../Button/index.js';
16
16
  import Divider from '../Divider/index.js';
17
- import Tooltip from '../Tooltip/index.js';
17
+ import { T as Tooltip } from '../index-17958262.js';
18
18
  import { c as commonjsGlobal } from '../_commonjsHelpers-24198af3.js';
19
- import { P as PopoverV2 } from '../index-18431aad.js';
19
+ import { P as PopoverV2 } from '../index-808e4e0e.js';
20
20
  import '../dateValidation-67caec66.js';
21
21
  import 'react-dom';
22
22
  import Icon from '../Icon/index.js';
23
23
  import Option from '../Option/index.js';
24
- import '../Popover-f4d1cac0.js';
24
+ import '../tslib.es6-f211516f.js';
25
25
  import '../hooks/useDeviceType.js';
26
26
  import '../hooks/useWindowSize.js';
27
27
  import '../hooks/useDebounce.js';
@@ -44,7 +44,6 @@ import '../hooks/useUpdatableRef.js';
44
44
  import '../hooks/useForceUpdate.js';
45
45
  import '../BusyLoader/index.js';
46
46
  import '../Empty/index.js';
47
- import '../tslib.es6-f211516f.js';
48
47
  import '../index-122432cd.js';
49
48
  import '../debounce-4419bc2f.js';
50
49
  import '../Checkbox/index.js';
@@ -53,16 +52,16 @@ import '../guid-8ddf77b3.js';
53
52
  import '../index-34914e4c.js';
54
53
  import '../Tag/index.js';
55
54
  import '../ValidatableTextInput/index.js';
56
- import '../CellMeasurerCache-b172f99b.js';
55
+ import '../CellMeasurerCache-e50d357a.js';
57
56
  import '../hooks/useUpdate.js';
58
57
  import '../hooks/useMutationObserver.js';
59
- import '../index-b1e429a7.js';
60
58
  import '../SkeletonLoader/index.js';
61
59
  import '../Copy/index.js';
62
60
  import '../hooks/useHover.js';
63
61
  import '../Popover/index.js';
64
62
  import '../Portal/index.js';
65
63
  import '../Menu/index.js';
64
+ import '../redux-b3e598ca.js';
66
65
 
67
66
  function WithTitle(_ref) {
68
67
  let {
package/Tag/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
- import { e as tagConfig } from '../configs-1fb8eed2.js';
5
+ import { d as tagConfig } from '../configs-00612ce0.js';
6
6
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
7
7
 
8
8
  var css_248z = "[data-gene-ui-version=\"2.15.0\"] .static-title-holder{align-items:flex-start;display:inline-flex;flex-direction:column;max-width:100%;vertical-align:top}[data-gene-ui-version=\"2.15.0\"] .static-title-holder .st-t{font:600 1.4rem/1.8rem var(--font-family);margin:0 0 .4rem;opacity:.5;padding:0 var(--static-title-padding,0)}[data-gene-ui-version=\"2.15.0\"] .static-title-holder .st-c{max-width:100%}[data-gene-ui-version=\"2.15.0\"] .static-title-holder .st-c:nth-child(2){align-items:center;display:flex;min-height:3.2rem}[data-gene-ui-version=\"2.15.0\"] .static-title-holder.f-full-width,[data-gene-ui-version=\"2.15.0\"] .static-title-holder.f-full-width .st-c{width:100%}[data-gene-ui-version=\"2.15.0\"] .tag-c{--color:var(--hero);align-items:center;background:var(--background);color:var(--color);display:flex;flex-direction:row-reverse;flex-shrink:0;font:600 1.4rem/1.8rem var(--font-family);height:var(--size);justify-content:center;max-width:100%;padding:0 1rem;position:relative;text-align:center;transition:color .3s;-webkit-user-select:none;user-select:none;width:100%}[data-gene-ui-version=\"2.15.0\"] .tag-c.s-small{--size:2.4rem;font-size:1.2rem}html:not([dir=rtl]) .tag-c.s-small .icon{margin-left:1px}html[dir=rtl] .tag-c.s-small .icon{margin-right:1px}[data-gene-ui-version=\"2.15.0\"] .tag-c.s-medium{--size:2.6rem}html:not([dir=rtl]) .tag-c.s-medium .icon{margin-left:.5rem}html[dir=rtl] .tag-c.s-medium .icon{margin-right:.5rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.s-big{--size:3rem}html:not([dir=rtl]) .tag-c.s-big .icon{margin-left:.5rem}html[dir=rtl] .tag-c.s-big .icon{margin-right:.5rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.f-compact{min-width:var(--size)}[data-gene-ui-version=\"2.15.0\"] .tag-c.f-compact.s-small{padding:0 .4rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.f-compact.s-medium{padding:0 .5rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.f-compact.s-big{padding:0 .7rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-small .icon{margin-right:-.9rem}html[dir=rtl] .tag-c:not(.f-compact).s-small .icon{margin-left:-.9rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-medium .icon{margin-right:-.7rem}html[dir=rtl] .tag-c:not(.f-compact).s-medium .icon{margin-left:-.7rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-big .icon{margin-right:-.2rem}html[dir=rtl] .tag-c:not(.f-compact).s-big .icon{margin-left:-.2rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.cr-full-radius{border-radius:1.4rem}[data-gene-ui-version=\"2.15.0\"] .tag-c.cr-smooth-radius{border-radius:.6rem}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-simple{--color:var(--background-sc)}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-simple .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-simple .tag-backdrop:after{content:none}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-minimal .tag-backdrop{--color:var(--background-sc)}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-minimal .tag-backdrop:before{opacity:.03}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-minimal .tag-backdrop:after{opacity:.07}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-outline .tag-backdrop:before{content:none}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-colored .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-clean{--color:var(--background-sc)}@media (hover:hover){[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-clean:hover{--color:var(--hero)}}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-clean .tag-backdrop:after,[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-clean .tag-backdrop:before{content:none}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-light .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.15.0\"] .tag-c:not(.active).a-light .tag-backdrop:after{border:0}[data-gene-ui-version=\"2.15.0\"] .tag-c.active{color:var(--hero-sc)}@media (hover:hover){[data-gene-ui-version=\"2.15.0\"] .tag-c:hover .tag-backdrop{opacity:.6}}[data-gene-ui-version=\"2.15.0\"] .tag-c .icon,[data-gene-ui-version=\"2.15.0\"] .tag-c .tag-cc{position:relative;transition:opacity .3s;z-index:1}[data-gene-ui-version=\"2.15.0\"] .tag-c .icon{cursor:pointer;opacity:.5}@media (hover:hover){[data-gene-ui-version=\"2.15.0\"] .tag-c .icon:hover{opacity:1}[data-gene-ui-version=\"2.15.0\"] .tag-c .icon:hover~.tag-cp{opacity:.6}}[data-gene-ui-version=\"2.15.0\"] .tag-backdrop{border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:opacity .3s;width:100%}[data-gene-ui-version=\"2.15.0\"] .tag-backdrop:after,[data-gene-ui-version=\"2.15.0\"] .tag-backdrop:before{border-radius:inherit;content:\"\";display:block;height:100%;left:0;position:absolute;top:0;width:100%}[data-gene-ui-version=\"2.15.0\"] .tag-backdrop:before{background:var(--color);transition:background .3s,opacity .3s}[data-gene-ui-version=\"2.15.0\"] .tag-backdrop:after{border:1px solid var(--color);transition:border-color .3s,opacity .3s}";
package/Textarea/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { n as noop } from '../index-a0e4e333.js';
5
- import { i as inputConfig, s as screenTypes } from '../configs-1fb8eed2.js';
5
+ import { i as inputConfig, s as screenTypes } from '../configs-00612ce0.js';
6
6
  import ExtendedInput from '../ExtendedInput/index.js';
7
7
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
8
8
  import '../dateValidation-67caec66.js';
@@ -20,8 +20,8 @@ import '../hooks/useClickOutside.js';
20
20
  import '../config-1053d64d.js';
21
21
  import '../Scrollbar/index.js';
22
22
  import '../callAfterDelay-7272faca.js';
23
- import '../Tooltip/index.js';
24
- import '../Popover-f4d1cac0.js';
23
+ import '../index-17958262.js';
24
+ import '../tslib.es6-f211516f.js';
25
25
  import '../GeneUIProvider/index.js';
26
26
 
27
27
  var css_248z = "";
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default, { forwardRef, useRef, useState, useImperativeHandle, useEffect, useMemo, useCallback } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
- import { g as timePickerConfig, s as screenTypes } from '../configs-1fb8eed2.js';
5
+ import { f as timePickerConfig, s as screenTypes } from '../configs-00612ce0.js';
6
6
  import { n as noop } from '../index-a0e4e333.js';
7
7
  import useDeviceType from '../hooks/useDeviceType.js';
8
8
  import CustomScrollbar from '../Scrollbar/index.js';
@@ -13,7 +13,7 @@ import '../dateValidation-67caec66.js';
13
13
  import 'react-dom';
14
14
  import useKeyDown from '../hooks/useKeyDown.js';
15
15
  import useClickOutside from '../hooks/useClickOutside.js';
16
- import { P as PopoverV2 } from '../index-18431aad.js';
16
+ import { P as PopoverV2 } from '../index-808e4e0e.js';
17
17
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
18
18
  import '../hooks/useWindowSize.js';
19
19
  import '../hooks/useDebounce.js';
@@ -22,8 +22,8 @@ import '../useEllipsisDetection-4d997d5d.js';
22
22
  import '../SuggestionList/index.js';
23
23
  import '../config-1053d64d.js';
24
24
  import '../callAfterDelay-7272faca.js';
25
- import '../Tooltip/index.js';
26
- import '../Popover-f4d1cac0.js';
25
+ import '../index-17958262.js';
26
+ import '../tslib.es6-f211516f.js';
27
27
  import '../GeneUIProvider/index.js';
28
28
  import '../hooks/useMount.js';
29
29
  import '../index-122432cd.js';
@@ -263,7 +263,7 @@ function TimePicker(_ref) {
263
263
  setInputValue(time);
264
264
  handleChange(e, time);
265
265
  }, [hour, minute, second, separator, showSeconds, handleChange, combinedValue]);
266
- const handleInputChange = useCallback(e => {
266
+ const handleInputChange = e => {
267
267
  const {
268
268
  value
269
269
  } = e.target;
@@ -273,8 +273,6 @@ function TimePicker(_ref) {
273
273
  const timeParts = replacedValue.split(separator);
274
274
  const lastChar = replacedValue[replacedValue.length - 1];
275
275
  const secondLastChar = replacedValue[replacedValue.length - 2];
276
-
277
- // Checking if last and second last chars are same and equal to separator then return
278
276
  if (lastChar === separator && lastChar === secondLastChar) return;
279
277
  if (value === '') {
280
278
  setHour('');
@@ -314,9 +312,6 @@ function TimePicker(_ref) {
314
312
  outOfRange = true;
315
313
  }
316
314
  }
317
-
318
- // Make field valid when after typing field pass validation
319
- // but we must set error only when user click outside or onBlur event fires
320
315
  !checkTimeValidation(timeParts[0], false) && setHourFieldError(false);
321
316
  !checkMinuteValidation(timeParts[1], false) && setMinuteFieldError(false);
322
317
  (!showSeconds || !checkSecondValidation(timeParts[2], false)) && setSecondFieldError(false);
@@ -324,36 +319,46 @@ function TimePicker(_ref) {
324
319
  setInputValue(replacedValue);
325
320
  onChange(e);
326
321
  }
327
- }, [numberRegExp, separator, showSeconds, checkTimeValidation, checkMinuteValidation, checkSecondValidation, handleChange, hourFormat, onChange]);
322
+ };
328
323
  useEffect(() => {
329
324
  if ((disabled || readOnly) && childRef.current) {
330
325
  childRef.current.toggleOpen(true);
331
326
  }
332
327
  }, [disabled, readOnly]);
333
328
  useEffect(() => {
334
- // if hour format changes, convert value to that format
335
- const formattedHour = convertToFormat(hour, hourFormat);
336
- setHour(formattedHour);
337
- setInputValue(combinedValue(formattedHour, minute, second, false));
338
- }, [combinedValue, hour, hourFormat, minute, second]);
329
+ if (hour) {
330
+ const formattedHour = convertToFormat(hour, hourFormat);
331
+ setHour(formattedHour);
332
+ setInputValue(combinedValue(formattedHour, minute, second, false));
333
+ }
334
+ }, [hourFormat]);
335
+ useEffect(() => {
336
+ if (minute) {
337
+ const formattedMinute = convertToFormat(minute, minuteFormat);
338
+ setMinute(formattedMinute);
339
+ setInputValue(combinedValue(hour, formattedMinute, second, false));
340
+ }
341
+ }, [minuteFormat]);
339
342
  useEffect(() => {
340
- // if minute format changes, convert value to that format
341
- const formattedMinute = convertToFormat(minute, minuteFormat);
342
- setMinute(formattedMinute);
343
- setInputValue(combinedValue(hour, formattedMinute, second, false));
344
- }, [combinedValue, hour, minute, minuteFormat, second]);
343
+ if (second) {
344
+ const formattedSecond = convertToFormat(second, secondFormat);
345
+ setSecond(formattedSecond);
346
+ setInputValue(combinedValue(hour, minute, formattedSecond, false));
347
+ }
348
+ }, [secondFormat]);
345
349
  useEffect(() => {
346
- // if second format changes, convert value to that format
347
- const formattedSecond = convertToFormat(second, secondFormat);
348
- setSecond(formattedSecond);
349
- setInputValue(combinedValue(hour, minute, formattedSecond, false));
350
- }, [combinedValue, hour, minute, second, secondFormat]);
350
+ if (!inputValue) return;
351
+ const [splitHour, splitMinute, splitSecond] = inputValue.split(separator);
352
+ !showSeconds && setSecond('');
353
+ showSeconds && (inputValue || hour) && !second && setSecond(convertToFormat(second, secondFormat));
354
+ setInputValue(combinedValue(splitHour, splitMinute, splitSecond));
355
+ }, [showSeconds]);
351
356
  useEffect(() => {
352
357
  if (value) {
353
- const timeParts = value.split(separator);
354
- timeParts[0] && setHour(timeParts[0]);
355
- timeParts[1] && setMinute(timeParts[1]);
356
- showSeconds && timeParts[2] && setSecond(timeParts[2]);
358
+ const [splitHour, splitMinute, splitSecond] = value.split(separator);
359
+ splitHour && setHour(splitHour);
360
+ splitMinute && setMinute(splitMinute);
361
+ showSeconds && splitSecond && setSecond(splitSecond);
357
362
  setInputValue(value);
358
363
  }
359
364
  }, [value, separator, showSeconds]);
package/Title/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
- import { t as titleConfig } from '../configs-1fb8eed2.js';
5
+ import { t as titleConfig } from '../configs-00612ce0.js';
6
6
  import Icon from '../Icon/index.js';
7
7
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
8
8
 
package/Toaster/index.js CHANGED
@@ -12,7 +12,7 @@ import { s as styleInject } from '../style-inject.es-746bb8ed.js';
12
12
  import '../_commonjsHelpers-24198af3.js';
13
13
  import '../GeneUIProvider/index.js';
14
14
  import '../hooks/useDeviceType.js';
15
- import '../configs-1fb8eed2.js';
15
+ import '../configs-00612ce0.js';
16
16
  import '../hooks/useWindowSize.js';
17
17
  import '../hooks/useDebounce.js';
18
18
  import '../Icon/index.js';
package/Tooltip/index.js CHANGED
@@ -1,157 +1,14 @@
1
- import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
- import React__default, { useState, useContext, useCallback, useEffect } from 'react';
3
- import PropTypes from 'prop-types';
4
- import { c as classnames } from '../index-031ff73c.js';
5
- import { _ as _default } from '../Popover-f4d1cac0.js';
6
- import { p as positions } from '../configs-1fb8eed2.js';
7
- import { n as noop } from '../index-a0e4e333.js';
8
- import useDeviceType from '../hooks/useDeviceType.js';
9
- import { GeneUIDesignSystemContext } from '../GeneUIProvider/index.js';
10
- import { s as styleInject } from '../style-inject.es-746bb8ed.js';
11
- import '../_commonjsHelpers-24198af3.js';
1
+ export { T as default } from '../index-17958262.js';
2
+ import '../tslib.es6-f211516f.js';
3
+ import 'react';
12
4
  import 'react-dom';
5
+ import '../index-a0e4e333.js';
6
+ import 'prop-types';
13
7
  import '../dateValidation-67caec66.js';
8
+ import '../_commonjsHelpers-24198af3.js';
9
+ import '../hooks/useDeviceType.js';
10
+ import '../configs-00612ce0.js';
14
11
  import '../hooks/useWindowSize.js';
15
12
  import '../hooks/useDebounce.js';
16
-
17
- var css_248z = "[data-gene-ui-version=\"2.15.0\"] .react-tiny-popover-container{z-index:500}[data-gene-ui-version=\"2.15.0\"] .tooltip-c-p{pointer-events:none}[data-gene-ui-version=\"2.15.0\"] .s-small .tooltip-c-p{padding:1.5rem}[data-gene-ui-version=\"2.15.0\"] .tooltip-content{background:rgba(var(--background-sc-rgb),.6);border-radius:.4rem;color:rgba(var(--background-rgb),.7);font:600 1.2rem/1.6rem var(--font-family);max-width:20rem;padding:.6rem 1rem;word-break:break-word}[data-gene-ui-version=\"2.15.0\"] .tooltip-content>*+*{margin:.2rem 0 0}[data-gene-ui-version=\"2.15.0\"] .tooltip-content .tooltip-title{color:var(--background)}[data-gene-ui-version=\"2.15.0\"] .s-small .tooltip-content{font:600 1rem/1.4rem var(--font-family);padding:.6rem .8rem}";
18
- styleInject(css_248z);
19
-
20
- function Tooltip(_ref) {
21
- let {
22
- children,
23
- position,
24
- size,
25
- style,
26
- text,
27
- title,
28
- transitionDuration,
29
- customPosition,
30
- alwaysShow,
31
- disableReposition,
32
- onClick,
33
- padding,
34
- screenType,
35
- isVisible,
36
- ...props
37
- } = _ref;
38
- const {
39
- isMobile
40
- } = useDeviceType(screenType);
41
- const [isPopoverOpen, setPopoverState] = useState(false);
42
- const {
43
- geneUIProviderRef
44
- } = useContext(GeneUIDesignSystemContext);
45
- const mouseEnterHandler = useCallback(() => !alwaysShow && setPopoverState(true), [alwaysShow]);
46
- const mouseLeaveHandler = useCallback(() => !alwaysShow && setPopoverState(false), [alwaysShow]);
47
- useEffect(() => {
48
- if (children.props.disabled) {
49
- mouseLeaveHandler();
50
- }
51
- }, [children.props.disabled]);
52
- const preferredPosition = position === 'auto' ? positions : position;
53
- const checkNudged = useCallback(_ref2 => {
54
- let {
55
- nudgedLeft,
56
- nudgedTop
57
- } = _ref2;
58
- return isMobile ? !(nudgedTop || nudgedLeft) : true;
59
- }, [isMobile]);
60
- return isVisible ? /*#__PURE__*/React__default.createElement(_default, {
61
- contentDestination: geneUIProviderRef.current,
62
- transitionDuration: transitionDuration,
63
- disableReposition: disableReposition,
64
- isOpen: alwaysShow || isPopoverOpen,
65
- position: preferredPosition,
66
- contentLocation: customPosition,
67
- align: "center",
68
- padding: padding,
69
- content: rect => checkNudged(rect) && /*#__PURE__*/React__default.createElement("div", _extends({
70
- className: classnames('tooltip-c-p', "s-".concat(size)),
71
- style: {
72
- ...style
73
- }
74
- }, props), (title || text) && /*#__PURE__*/React__default.createElement("div", {
75
- className: "tooltip-content"
76
- }, title && /*#__PURE__*/React__default.createElement("div", {
77
- className: "tooltip-title"
78
- }, title), text && /*#__PURE__*/React__default.createElement("div", {
79
- className: "tooltip-text"
80
- }, text)))
81
- }, children ? /*#__PURE__*/React__default.cloneElement(children, {
82
- onMouseEnter: mouseEnterHandler,
83
- onMouseLeave: mouseLeaveHandler,
84
- onClick: e => {
85
- const {
86
- onClick: onClickHandler
87
- } = children.props;
88
- typeof onClickHandler === 'function' && onClickHandler(e);
89
- onClick(e);
90
- }
91
- }) : null) : children;
92
- }
93
- Tooltip.propTypes = {
94
- /**
95
- * Different sizes for 'Tooltip'.
96
- */
97
- size: PropTypes.oneOf(['default', 'small']),
98
- /**
99
- * Text for 'Tooltip'.
100
- */
101
- text: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
102
- /**
103
- * Title for 'Tooltip'.
104
- */
105
- title: PropTypes.string,
106
- /**
107
- * Style object, to have extra styles.
108
- */
109
- style: PropTypes.object,
110
- /**
111
- * Have always visible 'Tooltip'.
112
- */
113
- alwaysShow: PropTypes.bool,
114
- /**
115
- * Custom positions(left, top) for 'Tooltip'.
116
- */
117
- customPosition: PropTypes.shape({
118
- left: PropTypes.number,
119
- top: PropTypes.number
120
- }),
121
- /**
122
- * Duration for showing 'Tooltip'.
123
- */
124
- transitionDuration: PropTypes.number,
125
- /**
126
- * Any valid React node.
127
- */
128
- children: PropTypes.node,
129
- /**
130
- * Disable/Enable repositions.
131
- */
132
- disableReposition: PropTypes.bool,
133
- /**
134
- * 'Tooltip' position to be displayed
135
- */
136
- position: PropTypes.oneOf(['auto', ...positions]),
137
- /**
138
- * 'Tooltip' padding from the target element
139
- */
140
- padding: PropTypes.number,
141
- /**
142
- * If isVisible is false, the component will render only children without a tooltip wrapped.
143
- */
144
- isVisible: PropTypes.bool
145
- };
146
- Tooltip.defaultProps = {
147
- position: 'auto',
148
- size: 'default',
149
- transitionDuration: 0,
150
- disableReposition: false,
151
- onClick: noop,
152
- padding: 5,
153
- screenType: 'desktop',
154
- isVisible: true
155
- };
156
-
157
- export { Tooltip as default };
13
+ import '../GeneUIProvider/index.js';
14
+ import '../style-inject.es-746bb8ed.js';
@@ -1,9 +1,9 @@
1
1
  import React__default, { forwardRef, useState, useMemo, useEffect, useCallback } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { P as PublicDraggable, C as ConnectedDroppable, D as DragDropContext } from '../react-beautiful-dnd.esm-04c14563.js';
3
+ import { P as PublicDraggable, C as ConnectedDroppable, D as DragDropContext } from '../react-beautiful-dnd.esm-899f6ed9.js';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
5
  import { n as noop } from '../index-a0e4e333.js';
6
- import '../configs-1fb8eed2.js';
6
+ import '../configs-00612ce0.js';
7
7
  import useDidMount from '../hooks/useDidMount.js';
8
8
  import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
9
9
  import Icon from '../Icon/index.js';
@@ -13,9 +13,9 @@ import CustomScrollbar from '../Scrollbar/index.js';
13
13
  import Checkbox from '../Checkbox/index.js';
14
14
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
15
15
  import Button from '../Button/index.js';
16
- import Tooltip from '../Tooltip/index.js';
16
+ import { T as Tooltip } from '../index-17958262.js';
17
17
  import '../objectWithoutPropertiesLoose-d8a4a68c.js';
18
- import '../index-b1e429a7.js';
18
+ import '../redux-b3e598ca.js';
19
19
  import 'react-dom';
20
20
  import '../dateValidation-67caec66.js';
21
21
  import '../_commonjsHelpers-24198af3.js';
@@ -30,7 +30,6 @@ import '../hooks/useKeyDown.js';
30
30
  import '../hooks/useClickOutside.js';
31
31
  import '../config-1053d64d.js';
32
32
  import '../callAfterDelay-7272faca.js';
33
- import '../Popover-f4d1cac0.js';
34
33
  import '../GeneUIProvider/index.js';
35
34
  import '../checkboxRadioSwitcher-5b69d7bd.js';
36
35
  import '../guid-8ddf77b3.js';
package/Uploader/index.js CHANGED
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
2
2
  import React__default, { useState, useCallback, useEffect, forwardRef, useMemo, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classnames } from '../index-031ff73c.js';
5
- import { u as uploaderConfig } from '../configs-1fb8eed2.js';
5
+ import { u as uploaderConfig } from '../configs-00612ce0.js';
6
6
  import { p as getImageDimensions, s as stopEvent, f as fileSizeDisplay, n as noop } from '../index-a0e4e333.js';
7
7
  import Button from '../Button/index.js';
8
8
  import ExtendedInput from '../ExtendedInput/index.js';
@@ -12,7 +12,7 @@ import useImgDownload from '../hooks/useImgDownload.js';
12
12
  import BusyLoader from '../BusyLoader/index.js';
13
13
  import Icon from '../Icon/index.js';
14
14
  import Image from '../Image/index.js';
15
- import Tooltip from '../Tooltip/index.js';
15
+ import { T as Tooltip } from '../index-17958262.js';
16
16
  import { s as styleInject } from '../style-inject.es-746bb8ed.js';
17
17
  import '../dateValidation-67caec66.js';
18
18
  import '../_commonjsHelpers-24198af3.js';
@@ -27,7 +27,6 @@ import '../hooks/useClickOutside.js';
27
27
  import '../config-1053d64d.js';
28
28
  import '../Scrollbar/index.js';
29
29
  import '../callAfterDelay-7272faca.js';
30
- import '../Popover-f4d1cac0.js';
31
30
  import '../GeneUIProvider/index.js';
32
31
  import '../hooks/useWidth.js';
33
32
  import '../Empty/index.js';
@@ -3,14 +3,14 @@ import React__default, { forwardRef, useState, useCallback, useEffect } from 're
3
3
  import PropTypes from 'prop-types';
4
4
  import { n as noop, i as interceptValue } from '../index-a0e4e333.js';
5
5
  import useMount from '../hooks/useMount.js';
6
- import '../configs-1fb8eed2.js';
6
+ import '../configs-00612ce0.js';
7
7
  import Checkbox from '../Checkbox/index.js';
8
8
  import '../dateValidation-67caec66.js';
9
9
  import '../_commonjsHelpers-24198af3.js';
10
10
  import 'react-dom';
11
11
  import '../index-031ff73c.js';
12
- import '../Tooltip/index.js';
13
- import '../Popover-f4d1cac0.js';
12
+ import '../index-17958262.js';
13
+ import '../tslib.es6-f211516f.js';
14
14
  import '../hooks/useDeviceType.js';
15
15
  import '../hooks/useWindowSize.js';
16
16
  import '../hooks/useDebounce.js';
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useCallback, useState, useEffect } from 're
3
3
  import PropTypes from 'prop-types';
4
4
  import { n as noop } from '../index-a0e4e333.js';
5
5
  import useMount from '../hooks/useMount.js';
6
- import '../configs-1fb8eed2.js';
6
+ import '../configs-00612ce0.js';
7
7
  import DatePickerInput from '../DatePickerInput/index.js';
8
8
  import { d as dayjsWithPlugins, v as validateDatePickerField } from '../dateValidation-67caec66.js';
9
9
  import { c as checkTimeValidation } from '../checkTimeValidation-e56771be.js';
@@ -17,7 +17,7 @@ import '../hooks/useKeyDown.js';
17
17
  import '../hooks/useDeviceType.js';
18
18
  import '../hooks/useWindowSize.js';
19
19
  import '../hooks/useDebounce.js';
20
- import '../index-18431aad.js';
20
+ import '../index-808e4e0e.js';
21
21
  import '../index-122432cd.js';
22
22
  import '../hooks/useClickOutside.js';
23
23
  import '../Scrollbar/index.js';
@@ -29,12 +29,11 @@ import '../Icon/index.js';
29
29
  import '../SuggestionList/index.js';
30
30
  import '../config-1053d64d.js';
31
31
  import '../callAfterDelay-7272faca.js';
32
- import '../Tooltip/index.js';
33
- import '../Popover-f4d1cac0.js';
32
+ import '../index-17958262.js';
33
+ import '../tslib.es6-f211516f.js';
34
34
  import '../DatePicker/index.js';
35
35
  import '../guid-8ddf77b3.js';
36
36
  import '../Button/index.js';
37
- import '../tslib.es6-f211516f.js';
38
37
 
39
38
  const nonLettersRegex = /[\W_]+/g;
40
39
  const hourFormats = ['H', 'HH', 'h', 'hh'];