@geneui/components 3.0.0-next-711fc51-03102024 → 3.0.0-next-77c6918-09102024

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 (99) hide show
  1. package/ActionableList/index.js +4 -4
  2. package/AdvancedSearch/index.js +3 -3
  3. package/Alert/index.js +1 -1
  4. package/Breadcrumb/index.js +2 -2
  5. package/Card/index.js +2 -2
  6. package/CardList/index.js +9 -9
  7. package/{CellMeasurerCache-67fc611e.js → CellMeasurerCache-f5f86ede.js} +1 -1
  8. package/Charts/index.js +2 -2
  9. package/Checkbox/index.js +2 -5
  10. package/CheckboxGroup/index.js +2 -5
  11. package/CheckboxGroupWithSearch/index.js +2 -2
  12. package/ComboBox/index.js +2 -5
  13. package/Copy/index.js +2 -5
  14. package/Counter/index.js +3 -3
  15. package/DateFilter/index.js +3 -3
  16. package/DatePickerInput/index.js +3 -3
  17. package/Drawer/index.js +2 -5
  18. package/Dropdown/index.js +6 -6
  19. package/Editor/index.js +1 -1
  20. package/ExtendedInput/index.js +2 -2
  21. package/Form/index.js +5 -5
  22. package/FormableCheckbox/index.js +3 -6
  23. package/FormableDatePicker/index.js +4 -4
  24. package/FormableDropdown/index.js +5 -5
  25. package/FormableEditor/index.js +2 -2
  26. package/{FormableHOC-a4ebfd24.js → FormableHOC-85f89a81.js} +1 -1
  27. package/FormableMultiSelectDropdown/index.js +5 -5
  28. package/FormableNumberInput/index.js +3 -3
  29. package/FormableRadio/index.js +2 -2
  30. package/FormableSwitcher/index.js +2 -2
  31. package/FormableTextInput/index.js +3 -3
  32. package/FormableUploader/index.js +3 -3
  33. package/Grid/index.js +1 -1
  34. package/HelperText/index.js +2 -4
  35. package/Holder/index.js +2 -5
  36. package/Image/index.js +5 -8
  37. package/ImagePreview/index.js +2 -4
  38. package/InteractiveWidget/index.js +3 -5
  39. package/Label/index.js +3 -5
  40. package/Menu/index.js +2 -2
  41. package/MobilePopup/index.js +2 -2
  42. package/Modal/index.js +1 -1
  43. package/ModuleTitle/index.js +2 -5
  44. package/NavigationMenu/index.js +2 -2
  45. package/Notification/index.js +1 -1
  46. package/Option/index.js +2 -2
  47. package/Overlay/index.js +2 -5
  48. package/Overspread/index.js +4 -4
  49. package/Pagination/index.js +5 -5
  50. package/Pill/index.js +3 -5
  51. package/Popover/index.js +1 -1
  52. package/PopoverV2/index.js +2 -2
  53. package/Products/index.js +1 -1
  54. package/Profile/index.js +2 -2
  55. package/Radio/index.js +1 -1
  56. package/RadioGroup/index.js +1 -1
  57. package/Range/index.js +2 -2
  58. package/Scrollbar/index.js +1 -1
  59. package/Search/index.js +2 -2
  60. package/SearchWithDropdown/index.js +4 -4
  61. package/Section/index.js +1 -1
  62. package/Slider/index.js +3 -3
  63. package/Status/index.js +1 -7
  64. package/Steps/index.js +5 -5
  65. package/SuggestionList/index.js +1 -1
  66. package/Switcher/index.js +1 -1
  67. package/Table/index.js +11 -11
  68. package/TableCompositions/index.js +9 -9
  69. package/Tag/index.js +1 -1
  70. package/Textarea/index.js +2 -2
  71. package/TimePicker/index.js +3 -3
  72. package/Title/index.js +1 -1
  73. package/Toaster/index.js +1 -1
  74. package/Tooltip/index.js +1 -8
  75. package/TransferList/index.js +3 -3
  76. package/Uploader/index.js +2 -2
  77. package/ValidatableCheckbox/index.js +2 -5
  78. package/ValidatableDatePicker/index.js +3 -3
  79. package/ValidatableDropdown/index.js +4 -4
  80. package/ValidatableElements/index.js +4 -4
  81. package/ValidatableMultiSelectDropdown/index.js +4 -4
  82. package/ValidatableNumberInput/index.js +2 -2
  83. package/ValidatableRadio/index.js +1 -1
  84. package/ValidatableSwitcher/index.js +1 -1
  85. package/ValidatableTextInput/index.js +2 -2
  86. package/ValidatableTimeInput/index.js +2 -2
  87. package/ValidatableUploader/index.js +2 -2
  88. package/Widget/index.js +2 -5
  89. package/{configs-34847b77.js → configs-00612ce0.js} +1 -1
  90. package/hooks/useDeviceType.js +1 -1
  91. package/{index-5a08e021.js → index-3e0ca61d.js} +1 -1
  92. package/{index-2dbdcb45.js → index-79ed03c9.js} +3 -3
  93. package/{index-f76fd058.js → index-abbcc5bb.js} +5 -5
  94. package/{index-0c18f902.js → index-c92894e2.js} +642 -39
  95. package/index.js +9 -9
  96. package/lib/molecules/Tooltip/Tooltip.d.ts +30 -23
  97. package/package.json +1 -1
  98. package/{rangeAndSlider-6f97ee47.js → rangeAndSlider-693a3d41.js} +13 -5
  99. package/{react-beautiful-dnd.esm-1cdf39df.js → react-beautiful-dnd.esm-fa2b11a1.js} +1 -1
package/index.js CHANGED
@@ -14,7 +14,7 @@ export { default as Scrollbar } from './Scrollbar/index.js';
14
14
  export { default as Time } from './Time/index.js';
15
15
  export { default as Empty } from './Empty/index.js';
16
16
  export { default as Popover } from './Popover/index.js';
17
- export { P as PopoverV2 } from './index-5a08e021.js';
17
+ export { P as PopoverV2 } from './index-3e0ca61d.js';
18
18
  export { default as Title } from './Title/index.js';
19
19
  export { default as Image } from './Image/index.js';
20
20
  export { default as KeyValue } from './KeyValue/index.js';
@@ -36,7 +36,7 @@ export { default as Checkbox } from './Checkbox/index.js';
36
36
  export { default as Card } from './Card/index.js';
37
37
  export { default as Tag } from './Tag/index.js';
38
38
  export { default as Alert, alertTypes } from './Alert/index.js';
39
- export { T as Tooltip } from './index-0c18f902.js';
39
+ export { T as Tooltip } from './index-c92894e2.js';
40
40
  export { default as Range } from './Range/index.js';
41
41
  export { default as Slider } from './Slider/index.js';
42
42
  export { default as Pagination } from './Pagination/index.js';
@@ -89,7 +89,7 @@ export { default as FormableUploader } from './FormableUploader/index.js';
89
89
  export { default as FormableSwitcher } from './FormableSwitcher/index.js';
90
90
  export { default as FormableEditor } from './FormableEditor/index.js';
91
91
  export { default as FormableRadio } from './FormableRadio/index.js';
92
- export { F as FormableHOC } from './FormableHOC-a4ebfd24.js';
92
+ export { F as FormableHOC } from './FormableHOC-85f89a81.js';
93
93
  export { default as Toaster, toasterPositions } from './Toaster/index.js';
94
94
  export { default as SearchWithDropdown } from './SearchWithDropdown/index.js';
95
95
  export { default as CheckboxGroupWithSearch } from './CheckboxGroupWithSearch/index.js';
@@ -98,8 +98,8 @@ export { default as Overspread } from './Overspread/index.js';
98
98
  export { default as DatePicker } from './DatePicker/index.js';
99
99
  export { default as DateFilter } from './DateFilter/index.js';
100
100
  export { ComboTable, PaginationSelector, PaperWrapper, TableContainer, TableHeader, TablePagination, TableTitle, WithHeader, WithTitle } from './TableCompositions/index.js';
101
- export { D as Dropdown } from './index-2dbdcb45.js';
102
- export { T as Table } from './index-f76fd058.js';
101
+ export { D as Dropdown } from './index-79ed03c9.js';
102
+ export { T as Table } from './index-abbcc5bb.js';
103
103
  export { CardList, WrappedCardList } from './CardList/index.js';
104
104
  import 'react';
105
105
  import 'prop-types';
@@ -135,7 +135,7 @@ import './ArrowLeft-b88e2ba8.js';
135
135
  import './dateValidation-67caec66.js';
136
136
  import './_commonjsHelpers-24198af3.js';
137
137
  import 'react-dom';
138
- import './configs-34847b77.js';
138
+ import './configs-00612ce0.js';
139
139
  import './_rollupPluginBabelHelpers-a83240e1.js';
140
140
  import './index-5f37f281.js';
141
141
  import './checkboxRadioSwitcher-5b69d7bd.js';
@@ -143,7 +143,7 @@ import './guid-8ddf77b3.js';
143
143
  import './localization-4ba17032.js';
144
144
  import './index-122432cd.js';
145
145
  import './debounce-4419bc2f.js';
146
- import './rangeAndSlider-6f97ee47.js';
146
+ import './rangeAndSlider-693a3d41.js';
147
147
  import './index-45eafea6.js';
148
148
  import './react-lifecycles-compat.es-6e1f3768.js';
149
149
  import './SuggestionList/index.js';
@@ -155,6 +155,6 @@ import './index-262edd7a.js';
155
155
  import './index-b3a30cb9.js';
156
156
  import './objectWithoutPropertiesLoose-e1596bdb.js';
157
157
  import './clsx.m-2bb6df4b.js';
158
- import './CellMeasurerCache-67fc611e.js';
158
+ import './CellMeasurerCache-f5f86ede.js';
159
159
  import './redux-e591c1b8.js';
160
- import './react-beautiful-dnd.esm-1cdf39df.js';
160
+ import './react-beautiful-dnd.esm-fa2b11a1.js';
@@ -1,26 +1,24 @@
1
- import { CSSProperties, JSX, FC } from 'react';
1
+ import { JSX, FC, ReactNode } from 'react';
2
2
  import './Tooltip.scss';
3
- interface ICustomPosition {
4
- left?: number;
5
- top?: number;
6
- }
3
+ export declare const correctPosition: {
4
+ 'bottom-center': string;
5
+ 'bottom-left': string;
6
+ 'bottom-right': string;
7
+ 'left-bottom': string;
8
+ 'left-center': string;
9
+ 'left-top': string;
10
+ 'right-bottom': string;
11
+ 'right-center': string;
12
+ 'right-top': string;
13
+ 'top-center': string;
14
+ 'top-left': string;
15
+ 'top-right': string;
16
+ };
7
17
  export interface ITooltipProps {
8
- /**
9
- * The Tooltip component size<br> Possible values: `default | small`
10
- */
11
- size?: 'default' | 'small';
12
18
  /**
13
19
  * Main content for the component.
14
20
  */
15
21
  text?: string;
16
- /**
17
- * Title for the component.
18
- */
19
- title?: string;
20
- /**
21
- * Style object, to have extra styles.
22
- */
23
- style?: CSSProperties;
24
22
  /**
25
23
  * If `true` the component will be visible without any action.
26
24
  */
@@ -28,7 +26,10 @@ export interface ITooltipProps {
28
26
  /**
29
27
  * Will display the component in the specified location.
30
28
  */
31
- customPosition?: ICustomPosition;
29
+ customPosition?: {
30
+ left?: number;
31
+ top?: number;
32
+ };
32
33
  /**
33
34
  * Any valid React node.
34
35
  */
@@ -36,19 +37,25 @@ export interface ITooltipProps {
36
37
  /**
37
38
  * Positions where will be displayed the Tooltip relates the child component.<br> Possible values: `top | right | bottom | left`
38
39
  */
39
- position?: 'top' | 'right' | 'bottom' | 'left';
40
+ position?: 'top-center' | 'top-left' | 'top-right' | 'right-center' | 'right-bottom' | 'right-top' | 'bottom-center' | 'bottom-left' | 'bottom-right' | 'left-center' | 'left-bottom' | 'left-top' | 'left-bottom';
40
41
  /**
41
42
  * Tooltip padding related to the target element
42
43
  */
43
44
  padding?: number;
44
- /**
45
- * Control with screenType appearance of component
46
- */
47
- screenType?: 'desktop' | 'mobile';
48
45
  /**
49
46
  * In case of `false` value, the children component will rendered without Tooltip.
50
47
  */
51
48
  isVisible?: boolean;
49
+ /**
50
+ * Available style varieties of Empty atom to display <br/>
51
+ * Possible values: `inverse | default`
52
+ */
53
+ appearance?: 'inverse' | 'default';
54
+ Icon?: ReactNode;
52
55
  }
56
+ /**
57
+ A tooltip is a small, elevated surface that appears to provide contextual information when a user hovers over or focuses on a UI element.
58
+ Tooltips should be used to offer helpful plaintext information, not to communicate system feedback. Use a popover instead if you need to deliver structured information or enable interactions.
59
+ */
53
60
  declare const Tooltip: FC<ITooltipProps>;
54
61
  export default Tooltip;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@geneui/components",
3
3
  "description": "The Gene UI components library designed for BI tools",
4
- "version": "3.0.0-next-711fc51-03102024",
4
+ "version": "3.0.0-next-77c6918-09102024",
5
5
  "author": "SoftConstruct",
6
6
  "homepage": "https://github.com/softconstruct/gene-ui-components#readme",
7
7
  "repository": {
@@ -110,9 +110,17 @@ function require_domCreate () {
110
110
  return _domCreate;
111
111
  }
112
112
 
113
- var _ie8DomDefine = !require_descriptors() && !_fails(function () {
114
- return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
115
- });
113
+ var _ie8DomDefine;
114
+ var hasRequired_ie8DomDefine;
115
+
116
+ function require_ie8DomDefine () {
117
+ if (hasRequired_ie8DomDefine) return _ie8DomDefine;
118
+ hasRequired_ie8DomDefine = 1;
119
+ _ie8DomDefine = !require_descriptors() && !_fails(function () {
120
+ return Object.defineProperty(require_domCreate()('div'), 'a', { get: function () { return 7; } }).a != 7;
121
+ });
122
+ return _ie8DomDefine;
123
+ }
116
124
 
117
125
  // 7.1.1 ToPrimitive(input [, PreferredType])
118
126
  var isObject$2 = _isObject;
@@ -133,7 +141,7 @@ function require_objectDp () {
133
141
  if (hasRequired_objectDp) return _objectDp;
134
142
  hasRequired_objectDp = 1;
135
143
  var anObject = _anObject;
136
- var IE8_DOM_DEFINE = _ie8DomDefine;
144
+ var IE8_DOM_DEFINE = require_ie8DomDefine();
137
145
  var toPrimitive = _toPrimitive;
138
146
  var dP = Object.defineProperty;
139
147
 
@@ -1018,7 +1026,7 @@ var createDesc$2 = _propertyDesc;
1018
1026
  var toIObject$2 = _toIobject;
1019
1027
  var toPrimitive$1 = _toPrimitive;
1020
1028
  var has$1 = _has;
1021
- var IE8_DOM_DEFINE = _ie8DomDefine;
1029
+ var IE8_DOM_DEFINE = require_ie8DomDefine();
1022
1030
  var gOPD$1 = Object.getOwnPropertyDescriptor;
1023
1031
 
1024
1032
  _objectGopd.f = require_descriptors() ? gOPD$1 : function getOwnPropertyDescriptor(O, P) {
@@ -2,7 +2,7 @@ import React__default, { useLayoutEffect, useEffect, useMemo as useMemo$1, useCo
2
2
  import { a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, c as _extends } from './objectWithoutPropertiesLoose-e1596bdb.js';
3
3
  import { c as compose, b as bindActionCreators$1, a as createStore$1, d as applyMiddleware } from './redux-e591c1b8.js';
4
4
  import PropTypes from 'prop-types';
5
- import { r as reactIsExports$1 } from './index-0c18f902.js';
5
+ import { r as reactIsExports$1 } from './index-c92894e2.js';
6
6
  import ReactDOM__default, { unstable_batchedUpdates } from 'react-dom';
7
7
 
8
8
  function _inheritsLoose(t, o) {