@geneui/components 3.0.0-next-711fc51-03102024 → 3.0.0-next-eb7f7c0-10102024
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.
- package/ActionableList/index.js +4 -4
- package/AdvancedSearch/index.js +3 -3
- package/Alert/index.js +1 -1
- package/Breadcrumb/index.js +2 -2
- package/Card/index.js +2 -2
- package/CardList/index.js +9 -9
- package/{CellMeasurerCache-67fc611e.js → CellMeasurerCache-51478be6.js} +1 -1
- package/Charts/index.js +2 -2
- package/Checkbox/index.js +2 -5
- package/CheckboxGroup/index.js +2 -5
- package/CheckboxGroupWithSearch/index.js +2 -2
- package/ComboBox/index.js +2 -5
- package/Copy/index.js +2 -5
- package/Counter/index.js +3 -3
- package/DateFilter/index.js +3 -3
- package/DatePickerInput/index.js +3 -3
- package/Drawer/index.js +2 -5
- package/Dropdown/index.js +6 -6
- package/Editor/index.js +1 -1
- package/ExtendedInput/index.js +2 -2
- package/Form/index.js +5 -5
- package/FormableCheckbox/index.js +3 -6
- package/FormableDatePicker/index.js +4 -4
- package/FormableDropdown/index.js +5 -5
- package/FormableEditor/index.js +2 -2
- package/{FormableHOC-a4ebfd24.js → FormableHOC-85f89a81.js} +1 -1
- package/FormableMultiSelectDropdown/index.js +5 -5
- package/FormableNumberInput/index.js +3 -3
- package/FormableRadio/index.js +2 -2
- package/FormableSwitcher/index.js +2 -2
- package/FormableTextInput/index.js +3 -3
- package/FormableUploader/index.js +3 -3
- package/Grid/index.js +1 -1
- package/HelperText/index.js +2 -4
- package/Holder/index.js +2 -5
- package/Image/index.js +5 -8
- package/ImagePreview/index.js +2 -4
- package/InteractiveWidget/index.js +3 -5
- package/Label/index.js +3 -5
- package/Menu/index.js +2 -2
- package/MobilePopup/index.js +2 -2
- package/Modal/index.js +1 -1
- package/ModuleTitle/index.js +2 -5
- package/NavigationMenu/index.js +2 -2
- package/Notification/index.js +1 -1
- package/Option/index.js +2 -2
- package/Overlay/index.js +2 -5
- package/Overspread/index.js +4 -4
- package/Pagination/index.js +5 -5
- package/Pill/index.js +3 -5
- package/Popover/index.js +1 -1
- package/PopoverV2/index.js +2 -2
- package/Products/index.js +1 -1
- package/Profile/index.js +2 -2
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Range/index.js +2 -2
- package/Scrollbar/index.js +1 -1
- package/Search/index.js +2 -2
- package/SearchWithDropdown/index.js +4 -4
- package/Section/index.js +1 -1
- package/Slider/index.js +3 -3
- package/Status/index.js +1 -7
- package/Steps/index.js +5 -5
- package/SuggestionList/index.js +1 -1
- package/Switcher/index.js +1 -1
- package/Table/index.js +11 -11
- package/TableCompositions/index.js +9 -9
- package/Tag/index.js +1 -1
- package/Textarea/index.js +2 -2
- package/TimePicker/index.js +3 -3
- package/Title/index.js +1 -1
- package/Toaster/index.js +1 -1
- package/Tooltip/index.js +1 -8
- package/TransferList/index.js +3 -3
- package/Uploader/index.js +2 -2
- package/ValidatableCheckbox/index.js +2 -5
- package/ValidatableDatePicker/index.js +3 -3
- package/ValidatableDropdown/index.js +4 -4
- package/ValidatableElements/index.js +4 -4
- package/ValidatableMultiSelectDropdown/index.js +4 -4
- package/ValidatableNumberInput/index.js +2 -2
- package/ValidatableRadio/index.js +1 -1
- package/ValidatableSwitcher/index.js +1 -1
- package/ValidatableTextInput/index.js +2 -2
- package/ValidatableTimeInput/index.js +2 -2
- package/ValidatableUploader/index.js +2 -2
- package/Widget/index.js +2 -5
- package/{configs-34847b77.js → configs-00612ce0.js} +1 -1
- package/hooks/useDeviceType.js +1 -1
- package/{index-5a08e021.js → index-3e0ca61d.js} +1 -1
- package/{index-2dbdcb45.js → index-41a2c0c3.js} +3 -3
- package/{index-0c18f902.js → index-a1b8ec78.js} +644 -39
- package/{index-f76fd058.js → index-ed544e93.js} +5 -5
- package/index.js +9 -9
- package/lib/molecules/Tooltip/Tooltip.d.ts +30 -23
- package/package.json +1 -1
- package/{rangeAndSlider-6f97ee47.js → rangeAndSlider-693a3d41.js} +13 -5
- package/{react-beautiful-dnd.esm-1cdf39df.js → react-beautiful-dnd.esm-20f499a0.js} +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { _ as _extends } from './_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { createContext, memo, useEffect, useLayoutEffect, useState, useCallback, useMemo, isValidElement, cloneElement, useContext, useRef, forwardRef } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-
|
|
5
|
-
import { C as CellMeasurerCache } from './CellMeasurerCache-
|
|
4
|
+
import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-41a2c0c3.js';
|
|
5
|
+
import { C as CellMeasurerCache } from './CellMeasurerCache-51478be6.js';
|
|
6
6
|
import { c as classnames } from './index-031ff73c.js';
|
|
7
7
|
import { s as stopEvent, o as oneIsRequired, n as noop } from './index-5f37f281.js';
|
|
8
8
|
import useMount from './hooks/useMount.js';
|
|
9
9
|
import useUpdate from './hooks/useUpdate.js';
|
|
10
|
-
import './configs-
|
|
10
|
+
import './configs-00612ce0.js';
|
|
11
11
|
import useThrottle from './hooks/useThrottle.js';
|
|
12
12
|
import Empty from './Empty/index.js';
|
|
13
13
|
import CustomScrollbar from './Scrollbar/index.js';
|
|
14
14
|
import BusyLoader from './BusyLoader/index.js';
|
|
15
15
|
import useMutationObserver from './hooks/useMutationObserver.js';
|
|
16
16
|
import Icon from './Icon/index.js';
|
|
17
|
-
import { r as reactIsExports } from './index-
|
|
17
|
+
import { r as reactIsExports } from './index-a1b8ec78.js';
|
|
18
18
|
import Button from './Button/index.js';
|
|
19
19
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
20
20
|
import './dateValidation-67caec66.js';
|
|
@@ -27,7 +27,7 @@ import Popover from './Popover/index.js';
|
|
|
27
27
|
import ExtendedInput from './ExtendedInput/index.js';
|
|
28
28
|
import Menu from './Menu/index.js';
|
|
29
29
|
import { d as debounce } from './debounce-4419bc2f.js';
|
|
30
|
-
import { j as jsxRuntimeExports } from './index-
|
|
30
|
+
import { j as jsxRuntimeExports } from './index-3e0ca61d.js';
|
|
31
31
|
import { a as createStore } from './redux-e591c1b8.js';
|
|
32
32
|
|
|
33
33
|
/**
|
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-
|
|
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-
|
|
39
|
+
export { T as Tooltip } from './index-a1b8ec78.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-
|
|
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-
|
|
102
|
-
export { T as Table } from './index-
|
|
101
|
+
export { D as Dropdown } from './index-41a2c0c3.js';
|
|
102
|
+
export { T as Table } from './index-ed544e93.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-
|
|
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-
|
|
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-
|
|
158
|
+
import './CellMeasurerCache-51478be6.js';
|
|
159
159
|
import './redux-e591c1b8.js';
|
|
160
|
-
import './react-beautiful-dnd.esm-
|
|
160
|
+
import './react-beautiful-dnd.esm-20f499a0.js';
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { JSX, FC, ReactNode } from 'react';
|
|
2
2
|
import './Tooltip.scss';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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?:
|
|
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-
|
|
4
|
+
"version": "3.0.0-next-eb7f7c0-10102024",
|
|
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
|
|
114
|
-
|
|
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 =
|
|
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 =
|
|
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-
|
|
5
|
+
import { r as reactIsExports$1 } from './index-a1b8ec78.js';
|
|
6
6
|
import ReactDOM__default, { unstable_batchedUpdates } from 'react-dom';
|
|
7
7
|
|
|
8
8
|
function _inheritsLoose(t, o) {
|