@geneui/components 3.0.0-next-8e13703-05062024 → 3.0.0-next-37649d6-21062024
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 +2 -2
- package/Alert/index.js +1 -1
- package/Breadcrumb/index.js +1 -1
- package/BusyLoader/index.js +1 -1
- package/Button/index.js +1 -1
- package/Card/index.js +1 -1
- package/CardList/index.js +5 -5
- package/{CellMeasurerCache-b172f99b.js → CellMeasurerCache-dbb3a6e5.js} +2 -2
- package/Charts/index.js +1 -1
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/CheckboxGroupWithSearch/index.js +1 -1
- package/Collapse/index.js +1 -1
- package/ColorPicker/index.js +1 -1
- package/ComboBox/index.js +1 -1
- package/Copy/index.js +1 -1
- package/Counter/index.js +1 -1
- package/DateFilter/index.js +2 -2
- package/DatePicker/index.js +1 -1
- package/DatePickerInput/index.js +2 -2
- package/Drawer/index.js +1 -1
- package/Dropdown/index.js +4 -4
- package/Editor/index.js +12 -5
- package/ExtendedInput/index.js +1 -1
- package/Form/index.js +5 -5
- package/FormContainer/index.js +1 -1
- package/FormableCheckbox/index.js +2 -2
- package/FormableDatePicker/index.js +3 -3
- package/FormableDropdown/index.js +5 -5
- package/FormableEditor/index.js +2 -2
- package/{FormableHOC-b26c5b16.js → FormableHOC-c02b8928.js} +1 -1
- package/FormableMultiSelectDropdown/index.js +5 -5
- package/FormableNumberInput/index.js +2 -2
- package/FormableRadio/index.js +2 -2
- package/FormableSwitcher/index.js +2 -2
- package/FormableTextInput/index.js +2 -2
- package/FormableUploader/index.js +2 -2
- package/GeneUIProvider/index.js +1327 -47
- package/Grid/index.js +1 -1
- package/Holder/index.js +1 -1
- package/Icon/index.js +1 -1
- package/Image/index.js +1 -1
- package/ImagePreview/index.js +1 -1
- package/InteractiveWidget/index.js +1 -1
- package/KeyValue/index.js +1 -1
- package/LinkButton/index.js +1 -1
- package/Menu/index.js +1 -1
- package/MobileNavigation/index.js +1 -1
- package/MobilePopup/index.js +1 -1
- package/Modal/index.js +1 -1
- package/ModuleTitle/index.js +1 -1
- package/NavigationMenu/index.js +1 -1
- package/Notification/index.js +1 -1
- package/Option/index.js +1 -1
- package/Overlay/index.js +1 -1
- package/Overspread/index.js +4 -4
- package/Pagination/index.js +1 -1
- package/Paper/index.js +1 -1
- package/Popover/index.js +1 -1
- package/PopoverV2/index.js +2 -2
- package/Products/index.js +1 -1
- package/Profile/index.js +1 -1
- package/Progress/index.js +1 -1
- package/README.md +1 -1
- 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 +1 -1
- package/SearchWithDropdown/index.js +4 -4
- package/Section/index.js +1 -1
- package/SkeletonLoader/index.js +1 -1
- package/Slider/index.js +2 -2
- package/Status/index.js +1 -1
- package/Steps/index.js +1 -1
- package/SuggestionList/index.js +1 -1
- package/Switcher/index.js +1 -1
- package/Table/index.js +7 -7
- package/TableCompositions/index.js +7 -7
- package/Tabs/index.js +1 -1
- package/Tag/index.js +1 -1
- package/Textarea/index.js +1 -1
- package/Time/index.js +1 -1
- package/TimePicker/index.js +2 -2
- package/Timeline/index.js +1 -1
- package/Title/index.js +1 -1
- package/Toaster/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/TransferList/index.js +4 -4
- package/Uploader/index.js +1 -1
- package/ValidatableCheckbox/index.js +1 -1
- package/ValidatableDatePicker/index.js +2 -2
- package/ValidatableDropdown/index.js +4 -4
- package/ValidatableElements/index.js +4 -4
- package/ValidatableMultiSelectDropdown/index.js +4 -4
- package/ValidatableNumberInput/index.js +1 -1
- package/ValidatableRadio/index.js +1 -1
- package/ValidatableSwitcher/index.js +1 -1
- package/ValidatableTextInput/index.js +1 -1
- package/ValidatableTimeInput/index.js +1 -1
- package/ValidatableUploader/index.js +1 -1
- package/Widget/index.js +1 -1
- package/_rollupPluginBabelHelpers-a83240e1.js +11 -0
- package/{index-18431aad.js → index-282407ff.js} +1 -1
- package/{index-617ffc3a.js → index-46532c91.js} +5 -5
- package/{index-b1e429a7.js → index-b7c1fe38.js} +1 -1
- package/{index-1beae3bb.js → index-d10283d4.js} +61 -84
- package/index.js +10 -10
- package/index.mobile.d.ts +0 -2
- package/lib/providers/GeneUIProvider/GeneUIProvider.d.ts +29 -0
- package/lib/providers/GeneUIProvider/index.d.ts +1 -0
- package/objectWithoutPropertiesLoose-e1596bdb.js +62 -0
- package/package.json +2 -1
- package/{rangeAndSlider-693a3d41.js → rangeAndSlider-9dc4770a.js} +13 -29
- package/{react-beautiful-dnd.esm-04c14563.js → react-beautiful-dnd.esm-ec039212.js} +4 -6
- package/tokens-298a51be.js +6 -0
- package/_rollupPluginBabelHelpers-e8fb2e5c.js +0 -16
- package/objectWithoutPropertiesLoose-d8a4a68c.js +0 -78
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import useMount from '../hooks/useMount.js';
|
|
5
5
|
import '../configs-1fb8eed2.js';
|
|
6
6
|
import { n as noop } from '../index-a0e4e333.js';
|
|
7
|
-
import { D as Dropdown } from '../index-
|
|
7
|
+
import { D as Dropdown } from '../index-d10283d4.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import '../objectWithoutPropertiesLoose-
|
|
11
|
+
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
12
12
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
|
13
13
|
import '../clsx.m-2bb6df4b.js';
|
|
14
14
|
import '../index-031ff73c.js';
|
|
@@ -26,7 +26,7 @@ import '../Icon/index.js';
|
|
|
26
26
|
import '../style-inject.es-746bb8ed.js';
|
|
27
27
|
import '../Empty/index.js';
|
|
28
28
|
import '../tslib.es6-f211516f.js';
|
|
29
|
-
import '../index-
|
|
29
|
+
import '../index-282407ff.js';
|
|
30
30
|
import '../index-122432cd.js';
|
|
31
31
|
import '../Scrollbar/index.js';
|
|
32
32
|
import '../GeneUIProvider/index.js';
|
|
@@ -8,7 +8,7 @@ export { default as ValidatableSwitcher } from '../ValidatableSwitcher/index.js'
|
|
|
8
8
|
export { default as ValidatableNumberInput } from '../ValidatableNumberInput/index.js';
|
|
9
9
|
export { default as ValidatableTextInput } from '../ValidatableTextInput/index.js';
|
|
10
10
|
export { default as ValidatableDatePicker } from '../ValidatableDatePicker/index.js';
|
|
11
|
-
import '../_rollupPluginBabelHelpers-
|
|
11
|
+
import '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
12
12
|
import 'react';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import '../hooks/useMount.js';
|
|
@@ -17,8 +17,8 @@ import '../dateValidation-67caec66.js';
|
|
|
17
17
|
import '../_commonjsHelpers-24198af3.js';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import '../configs-1fb8eed2.js';
|
|
20
|
-
import '../index-
|
|
21
|
-
import '../objectWithoutPropertiesLoose-
|
|
20
|
+
import '../index-d10283d4.js';
|
|
21
|
+
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
22
22
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
|
23
23
|
import '../clsx.m-2bb6df4b.js';
|
|
24
24
|
import '../index-031ff73c.js';
|
|
@@ -36,7 +36,7 @@ import '../Icon/index.js';
|
|
|
36
36
|
import '../style-inject.es-746bb8ed.js';
|
|
37
37
|
import '../Empty/index.js';
|
|
38
38
|
import '../tslib.es6-f211516f.js';
|
|
39
|
-
import '../index-
|
|
39
|
+
import '../index-282407ff.js';
|
|
40
40
|
import '../index-122432cd.js';
|
|
41
41
|
import '../Scrollbar/index.js';
|
|
42
42
|
import '../GeneUIProvider/index.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import useMount from '../hooks/useMount.js';
|
|
5
5
|
import '../configs-1fb8eed2.js';
|
|
6
6
|
import { n as noop } from '../index-a0e4e333.js';
|
|
7
|
-
import { D as Dropdown } from '../index-
|
|
7
|
+
import { D as Dropdown } from '../index-d10283d4.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import '../objectWithoutPropertiesLoose-
|
|
11
|
+
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
12
12
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
|
13
13
|
import '../clsx.m-2bb6df4b.js';
|
|
14
14
|
import '../index-031ff73c.js';
|
|
@@ -26,7 +26,7 @@ import '../Icon/index.js';
|
|
|
26
26
|
import '../style-inject.es-746bb8ed.js';
|
|
27
27
|
import '../Empty/index.js';
|
|
28
28
|
import '../tslib.es6-f211516f.js';
|
|
29
|
-
import '../index-
|
|
29
|
+
import '../index-282407ff.js';
|
|
30
30
|
import '../index-122432cd.js';
|
|
31
31
|
import '../Scrollbar/index.js';
|
|
32
32
|
import '../GeneUIProvider/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { d as dayjsWithPlugins } from '../dateValidation-67caec66.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import useMount from '../hooks/useMount.js';
|
package/Widget/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from '../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _extends() {
|
|
2
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
3
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
+
var t = arguments[e];
|
|
5
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
6
|
+
}
|
|
7
|
+
return n;
|
|
8
|
+
}, _extends.apply(null, arguments);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _extends as _ };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends } from './_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { forwardRef, useContext, useRef, useState, useMemo, useEffect, useCallback } from 'react';
|
|
3
3
|
import { c as commonjsGlobal } from './_commonjsHelpers-24198af3.js';
|
|
4
4
|
import ReactDOM__default from 'react-dom';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _extends } from './_rollupPluginBabelHelpers-
|
|
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-d10283d4.js';
|
|
5
|
+
import { C as CellMeasurerCache } from './CellMeasurerCache-dbb3a6e5.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-a0e4e333.js';
|
|
8
8
|
import useMount from './hooks/useMount.js';
|
|
@@ -14,7 +14,7 @@ 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 { a as createStore, r as reactIsExports } from './index-
|
|
17
|
+
import { a as createStore, r as reactIsExports } from './index-b7c1fe38.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-282407ff.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Create the React Context
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _extends$1 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends$1 } from './_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { forwardRef, useMemo, useCallback, useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { t as toPropertyKey, d as _typeof, a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, _ as _defineProperty, c as _extends } from './objectWithoutPropertiesLoose-
|
|
4
|
+
import { t as toPropertyKey, d as _typeof, a as _setPrototypeOf, b as _objectWithoutPropertiesLoose, _ as _defineProperty, c as _extends } from './objectWithoutPropertiesLoose-e1596bdb.js';
|
|
5
5
|
import { p as polyfill } from './react-lifecycles-compat.es-6e1f3768.js';
|
|
6
6
|
import { c as clsx } from './clsx.m-2bb6df4b.js';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
@@ -19,7 +19,7 @@ import { i as inputConfig, s as screenTypes, d as popoverConfig } from './config
|
|
|
19
19
|
import { s as stopEvent, n as noop$1 } from './index-a0e4e333.js';
|
|
20
20
|
import BusyLoader from './BusyLoader/index.js';
|
|
21
21
|
import Empty from './Empty/index.js';
|
|
22
|
-
import { P as PopoverV2 } from './index-
|
|
22
|
+
import { P as PopoverV2 } from './index-282407ff.js';
|
|
23
23
|
import Tooltip from './Tooltip/index.js';
|
|
24
24
|
import ExtendedInput from './ExtendedInput/index.js';
|
|
25
25
|
import Icon from './Icon/index.js';
|
|
@@ -28,68 +28,50 @@ import './index-34914e4c.js';
|
|
|
28
28
|
import Tag from './Tag/index.js';
|
|
29
29
|
import { c as callAfterDelay } from './callAfterDelay-7272faca.js';
|
|
30
30
|
|
|
31
|
-
function _classCallCheck(
|
|
32
|
-
if (!(
|
|
33
|
-
throw new TypeError("Cannot call a class as a function");
|
|
34
|
-
}
|
|
31
|
+
function _classCallCheck(a, n) {
|
|
32
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
function _defineProperties(
|
|
38
|
-
for (var
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
descriptor.configurable = true;
|
|
42
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
43
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
35
|
+
function _defineProperties(e, r) {
|
|
36
|
+
for (var t = 0; t < r.length; t++) {
|
|
37
|
+
var o = r[t];
|
|
38
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, toPropertyKey(o.key), o);
|
|
44
39
|
}
|
|
45
40
|
}
|
|
46
|
-
function _createClass(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
writable: false
|
|
51
|
-
});
|
|
52
|
-
return Constructor;
|
|
41
|
+
function _createClass(e, r, t) {
|
|
42
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
43
|
+
writable: !1
|
|
44
|
+
}), e;
|
|
53
45
|
}
|
|
54
46
|
|
|
55
|
-
function _assertThisInitialized(
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
return self;
|
|
47
|
+
function _assertThisInitialized(e) {
|
|
48
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
49
|
+
return e;
|
|
60
50
|
}
|
|
61
51
|
|
|
62
|
-
function _possibleConstructorReturn(
|
|
63
|
-
if (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
67
|
-
}
|
|
68
|
-
return _assertThisInitialized(self);
|
|
52
|
+
function _possibleConstructorReturn(t, e) {
|
|
53
|
+
if (e && ("object" == _typeof(e) || "function" == typeof e)) return e;
|
|
54
|
+
if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
|
|
55
|
+
return _assertThisInitialized(t);
|
|
69
56
|
}
|
|
70
57
|
|
|
71
|
-
function _getPrototypeOf(
|
|
72
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function
|
|
73
|
-
return
|
|
74
|
-
};
|
|
75
|
-
return _getPrototypeOf(o);
|
|
58
|
+
function _getPrototypeOf(t) {
|
|
59
|
+
return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
|
|
60
|
+
return t.__proto__ || Object.getPrototypeOf(t);
|
|
61
|
+
}, _getPrototypeOf(t);
|
|
76
62
|
}
|
|
77
63
|
|
|
78
|
-
function _inherits(
|
|
79
|
-
if (typeof
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
64
|
+
function _inherits(t, e) {
|
|
65
|
+
if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
|
|
66
|
+
t.prototype = Object.create(e && e.prototype, {
|
|
83
67
|
constructor: {
|
|
84
|
-
value:
|
|
85
|
-
writable:
|
|
86
|
-
configurable:
|
|
68
|
+
value: t,
|
|
69
|
+
writable: !0,
|
|
70
|
+
configurable: !0
|
|
87
71
|
}
|
|
88
|
-
})
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
});
|
|
92
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
72
|
+
}), Object.defineProperty(t, "prototype", {
|
|
73
|
+
writable: !1
|
|
74
|
+
}), e && _setPrototypeOf(t, e);
|
|
93
75
|
}
|
|
94
76
|
|
|
95
77
|
/**
|
|
@@ -118,20 +100,16 @@ function calculateSizeAndPositionDataAndUpdateScrollOffset(_ref) {
|
|
|
118
100
|
}
|
|
119
101
|
}
|
|
120
102
|
|
|
121
|
-
function _objectWithoutProperties(
|
|
122
|
-
if (
|
|
123
|
-
var
|
|
124
|
-
|
|
103
|
+
function _objectWithoutProperties(e, t) {
|
|
104
|
+
if (null == e) return {};
|
|
105
|
+
var o,
|
|
106
|
+
r,
|
|
107
|
+
i = _objectWithoutPropertiesLoose(e, t);
|
|
125
108
|
if (Object.getOwnPropertySymbols) {
|
|
126
|
-
var
|
|
127
|
-
for (
|
|
128
|
-
key = sourceSymbolKeys[i];
|
|
129
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
130
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
131
|
-
target[key] = source[key];
|
|
132
|
-
}
|
|
109
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
110
|
+
for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
133
111
|
}
|
|
134
|
-
return
|
|
112
|
+
return i;
|
|
135
113
|
}
|
|
136
114
|
|
|
137
115
|
process.env.NODE_ENV === 'production' ? null : {
|
|
@@ -4492,35 +4470,34 @@ process.env.NODE_ENV !== "production" ? {
|
|
|
4492
4470
|
width: PropTypes.number.isRequired
|
|
4493
4471
|
} : {};
|
|
4494
4472
|
|
|
4495
|
-
function _arrayLikeToArray(
|
|
4496
|
-
|
|
4497
|
-
for (var
|
|
4498
|
-
return
|
|
4473
|
+
function _arrayLikeToArray(r, a) {
|
|
4474
|
+
(null == a || a > r.length) && (a = r.length);
|
|
4475
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
4476
|
+
return n;
|
|
4499
4477
|
}
|
|
4500
4478
|
|
|
4501
|
-
function _arrayWithoutHoles(
|
|
4502
|
-
if (Array.isArray(
|
|
4479
|
+
function _arrayWithoutHoles(r) {
|
|
4480
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
4503
4481
|
}
|
|
4504
4482
|
|
|
4505
|
-
function _iterableToArray(
|
|
4506
|
-
if (typeof Symbol
|
|
4483
|
+
function _iterableToArray(r) {
|
|
4484
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
4507
4485
|
}
|
|
4508
4486
|
|
|
4509
|
-
function _unsupportedIterableToArray(
|
|
4510
|
-
if (
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
4487
|
+
function _unsupportedIterableToArray(r, a) {
|
|
4488
|
+
if (r) {
|
|
4489
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
4490
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
4491
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
4492
|
+
}
|
|
4516
4493
|
}
|
|
4517
4494
|
|
|
4518
4495
|
function _nonIterableSpread() {
|
|
4519
4496
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4520
4497
|
}
|
|
4521
4498
|
|
|
4522
|
-
function _toConsumableArray(
|
|
4523
|
-
return _arrayWithoutHoles(
|
|
4499
|
+
function _toConsumableArray(r) {
|
|
4500
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
4524
4501
|
}
|
|
4525
4502
|
|
|
4526
4503
|
/**
|
|
@@ -5149,8 +5126,8 @@ _defineProperty(List, "defaultProps", {
|
|
|
5149
5126
|
style: {}
|
|
5150
5127
|
});
|
|
5151
5128
|
|
|
5152
|
-
function _arrayWithHoles(
|
|
5153
|
-
if (Array.isArray(
|
|
5129
|
+
function _arrayWithHoles(r) {
|
|
5130
|
+
if (Array.isArray(r)) return r;
|
|
5154
5131
|
}
|
|
5155
5132
|
|
|
5156
5133
|
function _iterableToArrayLimit(r, l) {
|
|
@@ -5185,8 +5162,8 @@ function _nonIterableRest() {
|
|
|
5185
5162
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
5186
5163
|
}
|
|
5187
5164
|
|
|
5188
|
-
function _slicedToArray(
|
|
5189
|
-
return _arrayWithHoles(
|
|
5165
|
+
function _slicedToArray(r, e) {
|
|
5166
|
+
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
5190
5167
|
}
|
|
5191
5168
|
|
|
5192
5169
|
/**
|
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-282407ff.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';
|
|
@@ -86,7 +86,7 @@ export { default as FormableUploader } from './FormableUploader/index.js';
|
|
|
86
86
|
export { default as FormableSwitcher } from './FormableSwitcher/index.js';
|
|
87
87
|
export { default as FormableEditor } from './FormableEditor/index.js';
|
|
88
88
|
export { default as FormableRadio } from './FormableRadio/index.js';
|
|
89
|
-
export { F as FormableHOC } from './FormableHOC-
|
|
89
|
+
export { F as FormableHOC } from './FormableHOC-c02b8928.js';
|
|
90
90
|
export { default as Toaster, toasterPositions } from './Toaster/index.js';
|
|
91
91
|
export { default as SearchWithDropdown } from './SearchWithDropdown/index.js';
|
|
92
92
|
export { default as CheckboxGroupWithSearch } from './CheckboxGroupWithSearch/index.js';
|
|
@@ -95,8 +95,8 @@ export { default as Overspread } from './Overspread/index.js';
|
|
|
95
95
|
export { default as DatePicker } from './DatePicker/index.js';
|
|
96
96
|
export { default as DateFilter } from './DateFilter/index.js';
|
|
97
97
|
export { ComboTable, PaginationSelector, PaperWrapper, TableContainer, TableHeader, TablePagination, TableTitle, WithHeader, WithTitle } from './TableCompositions/index.js';
|
|
98
|
-
export { D as Dropdown } from './index-
|
|
99
|
-
export { T as Table } from './index-
|
|
98
|
+
export { D as Dropdown } from './index-d10283d4.js';
|
|
99
|
+
export { T as Table } from './index-46532c91.js';
|
|
100
100
|
export { CardList, WrappedCardList } from './CardList/index.js';
|
|
101
101
|
import 'react';
|
|
102
102
|
import 'prop-types';
|
|
@@ -128,7 +128,7 @@ export { u as useEllipsisDetection } from './useEllipsisDetection-4d997d5d.js';
|
|
|
128
128
|
import './tslib.es6-f211516f.js';
|
|
129
129
|
import './index-031ff73c.js';
|
|
130
130
|
import './style-inject.es-746bb8ed.js';
|
|
131
|
-
import './_rollupPluginBabelHelpers-
|
|
131
|
+
import './_rollupPluginBabelHelpers-a83240e1.js';
|
|
132
132
|
import './configs-1fb8eed2.js';
|
|
133
133
|
import './index-a0e4e333.js';
|
|
134
134
|
import './dateValidation-67caec66.js';
|
|
@@ -140,7 +140,7 @@ import './localization-4ba17032.js';
|
|
|
140
140
|
import './Popover-f4d1cac0.js';
|
|
141
141
|
import './index-122432cd.js';
|
|
142
142
|
import './debounce-4419bc2f.js';
|
|
143
|
-
import './rangeAndSlider-
|
|
143
|
+
import './rangeAndSlider-9dc4770a.js';
|
|
144
144
|
import './index-45eafea6.js';
|
|
145
145
|
import './react-lifecycles-compat.es-6e1f3768.js';
|
|
146
146
|
import './SuggestionList/index.js';
|
|
@@ -150,8 +150,8 @@ import './checkTimeValidation-e56771be.js';
|
|
|
150
150
|
import './hooks/useHover.js';
|
|
151
151
|
import './index-262edd7a.js';
|
|
152
152
|
import './index-34914e4c.js';
|
|
153
|
-
import './objectWithoutPropertiesLoose-
|
|
153
|
+
import './objectWithoutPropertiesLoose-e1596bdb.js';
|
|
154
154
|
import './clsx.m-2bb6df4b.js';
|
|
155
|
-
import './CellMeasurerCache-
|
|
156
|
-
import './index-
|
|
157
|
-
import './react-beautiful-dnd.esm-
|
|
155
|
+
import './CellMeasurerCache-dbb3a6e5.js';
|
|
156
|
+
import './index-b7c1fe38.js';
|
|
157
|
+
import './react-beautiful-dnd.esm-ec039212.js';
|
package/index.mobile.d.ts
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React, { JSX } from 'react';
|
|
2
|
+
import 'src/assets/styles/globalStyling.scss';
|
|
3
|
+
type ThemesTypes = 'light' | 'dark';
|
|
4
|
+
type TokensType = {
|
|
5
|
+
[key: string]: string | number;
|
|
6
|
+
} | null;
|
|
7
|
+
export interface IGeneUIDesignSystemContext {
|
|
8
|
+
theme: ThemesTypes;
|
|
9
|
+
tokens: TokensType;
|
|
10
|
+
geneUIProviderRef?: React.MutableRefObject<null>;
|
|
11
|
+
}
|
|
12
|
+
export declare const GeneUIDesignSystemContext: React.Context<IGeneUIDesignSystemContext>;
|
|
13
|
+
export interface IGeneUIProviderProps {
|
|
14
|
+
/**
|
|
15
|
+
* Any valid React node
|
|
16
|
+
*/
|
|
17
|
+
children: React.ReactElement;
|
|
18
|
+
/**
|
|
19
|
+
* Tokens library object defined by style-dictionary standard,
|
|
20
|
+
* and GeneUI tokens package rules
|
|
21
|
+
*/
|
|
22
|
+
tokens?: TokensType;
|
|
23
|
+
/**
|
|
24
|
+
* Theme which will follow all nested GeneUI components
|
|
25
|
+
*/
|
|
26
|
+
theme?: ThemesTypes;
|
|
27
|
+
}
|
|
28
|
+
declare const GeneUIProvider: ({ children, tokens, theme }: IGeneUIProviderProps) => JSX.Element;
|
|
29
|
+
export default GeneUIProvider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IGeneUIProviderProps, IGeneUIDesignSystemContext, GeneUIDesignSystemContext, default as default } from './GeneUIProvider';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function toPrimitive(t, r) {
|
|
12
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
13
|
+
var e = t[Symbol.toPrimitive];
|
|
14
|
+
if (void 0 !== e) {
|
|
15
|
+
var i = e.call(t, r || "default");
|
|
16
|
+
if ("object" != _typeof(i)) return i;
|
|
17
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
18
|
+
}
|
|
19
|
+
return ("string" === r ? String : Number)(t);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function toPropertyKey(t) {
|
|
23
|
+
var i = toPrimitive(t, "string");
|
|
24
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function _setPrototypeOf(t, e) {
|
|
28
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
29
|
+
return t.__proto__ = e, t;
|
|
30
|
+
}, _setPrototypeOf(t, e);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function _defineProperty(e, r, t) {
|
|
34
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
35
|
+
value: t,
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
configurable: !0,
|
|
38
|
+
writable: !0
|
|
39
|
+
}) : e[r] = t, e;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function _extends() {
|
|
43
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
44
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
45
|
+
var t = arguments[e];
|
|
46
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
47
|
+
}
|
|
48
|
+
return n;
|
|
49
|
+
}, _extends.apply(null, arguments);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
53
|
+
if (null == r) return {};
|
|
54
|
+
var t = {};
|
|
55
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
56
|
+
if (e.indexOf(n) >= 0) continue;
|
|
57
|
+
t[n] = r[n];
|
|
58
|
+
}
|
|
59
|
+
return t;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { _defineProperty as _, _setPrototypeOf as a, _objectWithoutPropertiesLoose as b, _extends as c, _typeof as d, toPropertyKey as t };
|
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-37649d6-21062024",
|
|
5
5
|
"author": "SoftConstruct",
|
|
6
6
|
"homepage": "https://github.com/softconstruct/gene-ui-components#readme",
|
|
7
7
|
"repository": {
|
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"yargs": "^17.7.2"
|
|
157
157
|
},
|
|
158
158
|
"dependencies": {
|
|
159
|
+
"@geneui/tokens": "^1.0.0-beta",
|
|
159
160
|
"classnames": "^2.3.2",
|
|
160
161
|
"dayjs": "^1.11.5",
|
|
161
162
|
"draft-js": "^0.11.7",
|