@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.
Files changed (119) hide show
  1. package/ActionableList/index.js +4 -4
  2. package/AdvancedSearch/index.js +2 -2
  3. package/Alert/index.js +1 -1
  4. package/Breadcrumb/index.js +1 -1
  5. package/BusyLoader/index.js +1 -1
  6. package/Button/index.js +1 -1
  7. package/Card/index.js +1 -1
  8. package/CardList/index.js +5 -5
  9. package/{CellMeasurerCache-b172f99b.js → CellMeasurerCache-dbb3a6e5.js} +2 -2
  10. package/Charts/index.js +1 -1
  11. package/Checkbox/index.js +1 -1
  12. package/CheckboxGroup/index.js +1 -1
  13. package/CheckboxGroupWithSearch/index.js +1 -1
  14. package/Collapse/index.js +1 -1
  15. package/ColorPicker/index.js +1 -1
  16. package/ComboBox/index.js +1 -1
  17. package/Copy/index.js +1 -1
  18. package/Counter/index.js +1 -1
  19. package/DateFilter/index.js +2 -2
  20. package/DatePicker/index.js +1 -1
  21. package/DatePickerInput/index.js +2 -2
  22. package/Drawer/index.js +1 -1
  23. package/Dropdown/index.js +4 -4
  24. package/Editor/index.js +12 -5
  25. package/ExtendedInput/index.js +1 -1
  26. package/Form/index.js +5 -5
  27. package/FormContainer/index.js +1 -1
  28. package/FormableCheckbox/index.js +2 -2
  29. package/FormableDatePicker/index.js +3 -3
  30. package/FormableDropdown/index.js +5 -5
  31. package/FormableEditor/index.js +2 -2
  32. package/{FormableHOC-b26c5b16.js → FormableHOC-c02b8928.js} +1 -1
  33. package/FormableMultiSelectDropdown/index.js +5 -5
  34. package/FormableNumberInput/index.js +2 -2
  35. package/FormableRadio/index.js +2 -2
  36. package/FormableSwitcher/index.js +2 -2
  37. package/FormableTextInput/index.js +2 -2
  38. package/FormableUploader/index.js +2 -2
  39. package/GeneUIProvider/index.js +1327 -47
  40. package/Grid/index.js +1 -1
  41. package/Holder/index.js +1 -1
  42. package/Icon/index.js +1 -1
  43. package/Image/index.js +1 -1
  44. package/ImagePreview/index.js +1 -1
  45. package/InteractiveWidget/index.js +1 -1
  46. package/KeyValue/index.js +1 -1
  47. package/LinkButton/index.js +1 -1
  48. package/Menu/index.js +1 -1
  49. package/MobileNavigation/index.js +1 -1
  50. package/MobilePopup/index.js +1 -1
  51. package/Modal/index.js +1 -1
  52. package/ModuleTitle/index.js +1 -1
  53. package/NavigationMenu/index.js +1 -1
  54. package/Notification/index.js +1 -1
  55. package/Option/index.js +1 -1
  56. package/Overlay/index.js +1 -1
  57. package/Overspread/index.js +4 -4
  58. package/Pagination/index.js +1 -1
  59. package/Paper/index.js +1 -1
  60. package/Popover/index.js +1 -1
  61. package/PopoverV2/index.js +2 -2
  62. package/Products/index.js +1 -1
  63. package/Profile/index.js +1 -1
  64. package/Progress/index.js +1 -1
  65. package/README.md +1 -1
  66. package/Radio/index.js +1 -1
  67. package/RadioGroup/index.js +1 -1
  68. package/Range/index.js +2 -2
  69. package/Scrollbar/index.js +1 -1
  70. package/Search/index.js +1 -1
  71. package/SearchWithDropdown/index.js +4 -4
  72. package/Section/index.js +1 -1
  73. package/SkeletonLoader/index.js +1 -1
  74. package/Slider/index.js +2 -2
  75. package/Status/index.js +1 -1
  76. package/Steps/index.js +1 -1
  77. package/SuggestionList/index.js +1 -1
  78. package/Switcher/index.js +1 -1
  79. package/Table/index.js +7 -7
  80. package/TableCompositions/index.js +7 -7
  81. package/Tabs/index.js +1 -1
  82. package/Tag/index.js +1 -1
  83. package/Textarea/index.js +1 -1
  84. package/Time/index.js +1 -1
  85. package/TimePicker/index.js +2 -2
  86. package/Timeline/index.js +1 -1
  87. package/Title/index.js +1 -1
  88. package/Toaster/index.js +1 -1
  89. package/Tooltip/index.js +1 -1
  90. package/TransferList/index.js +4 -4
  91. package/Uploader/index.js +1 -1
  92. package/ValidatableCheckbox/index.js +1 -1
  93. package/ValidatableDatePicker/index.js +2 -2
  94. package/ValidatableDropdown/index.js +4 -4
  95. package/ValidatableElements/index.js +4 -4
  96. package/ValidatableMultiSelectDropdown/index.js +4 -4
  97. package/ValidatableNumberInput/index.js +1 -1
  98. package/ValidatableRadio/index.js +1 -1
  99. package/ValidatableSwitcher/index.js +1 -1
  100. package/ValidatableTextInput/index.js +1 -1
  101. package/ValidatableTimeInput/index.js +1 -1
  102. package/ValidatableUploader/index.js +1 -1
  103. package/Widget/index.js +1 -1
  104. package/_rollupPluginBabelHelpers-a83240e1.js +11 -0
  105. package/{index-18431aad.js → index-282407ff.js} +1 -1
  106. package/{index-617ffc3a.js → index-46532c91.js} +5 -5
  107. package/{index-b1e429a7.js → index-b7c1fe38.js} +1 -1
  108. package/{index-1beae3bb.js → index-d10283d4.js} +61 -84
  109. package/index.js +10 -10
  110. package/index.mobile.d.ts +0 -2
  111. package/lib/providers/GeneUIProvider/GeneUIProvider.d.ts +29 -0
  112. package/lib/providers/GeneUIProvider/index.d.ts +1 -0
  113. package/objectWithoutPropertiesLoose-e1596bdb.js +62 -0
  114. package/package.json +2 -1
  115. package/{rangeAndSlider-693a3d41.js → rangeAndSlider-9dc4770a.js} +13 -29
  116. package/{react-beautiful-dnd.esm-04c14563.js → react-beautiful-dnd.esm-ec039212.js} +4 -6
  117. package/tokens-298a51be.js +6 -0
  118. package/_rollupPluginBabelHelpers-e8fb2e5c.js +0 -16
  119. package/objectWithoutPropertiesLoose-d8a4a68c.js +0 -78
@@ -1,14 +1,14 @@
1
- import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
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-1beae3bb.js';
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-d8a4a68c.js';
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-18431aad.js';
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-e8fb2e5c.js';
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-1beae3bb.js';
21
- import '../objectWithoutPropertiesLoose-d8a4a68c.js';
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-18431aad.js';
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-e8fb2e5c.js';
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-1beae3bb.js';
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-d8a4a68c.js';
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-18431aad.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-e8fb2e5c.js';
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-1beae3bb.js';
5
- import { C as CellMeasurerCache } from './CellMeasurerCache-b172f99b.js';
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-b1e429a7.js';
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-18431aad.js';
30
+ import { j as jsxRuntimeExports } from './index-282407ff.js';
31
31
 
32
32
  /**
33
33
  * Create the React Context
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty } from './objectWithoutPropertiesLoose-d8a4a68c.js';
1
+ import { _ as _defineProperty } from './objectWithoutPropertiesLoose-e1596bdb.js';
2
2
 
3
3
  function ownKeys(e, r) {
4
4
  var t = Object.keys(e);
@@ -1,7 +1,7 @@
1
- import { _ as _extends$1 } from './_rollupPluginBabelHelpers-e8fb2e5c.js';
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-d8a4a68c.js';
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-18431aad.js';
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(instance, Constructor) {
32
- if (!(instance instanceof Constructor)) {
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(target, props) {
38
- for (var i = 0; i < props.length; i++) {
39
- var descriptor = props[i];
40
- descriptor.enumerable = descriptor.enumerable || false;
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(Constructor, protoProps, staticProps) {
47
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
48
- if (staticProps) _defineProperties(Constructor, staticProps);
49
- Object.defineProperty(Constructor, "prototype", {
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(self) {
56
- if (self === void 0) {
57
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
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(self, call) {
63
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
64
- return call;
65
- } else if (call !== void 0) {
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(o) {
72
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
73
- return o.__proto__ || Object.getPrototypeOf(o);
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(subClass, superClass) {
79
- if (typeof superClass !== "function" && superClass !== null) {
80
- throw new TypeError("Super expression must either be null or a function");
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: subClass,
85
- writable: true,
86
- configurable: true
68
+ value: t,
69
+ writable: !0,
70
+ configurable: !0
87
71
  }
88
- });
89
- Object.defineProperty(subClass, "prototype", {
90
- writable: false
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(source, excluded) {
122
- if (source == null) return {};
123
- var target = _objectWithoutPropertiesLoose(source, excluded);
124
- var key, i;
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 sourceSymbolKeys = Object.getOwnPropertySymbols(source);
127
- for (i = 0; i < sourceSymbolKeys.length; i++) {
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 target;
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(arr, len) {
4496
- if (len == null || len > arr.length) len = arr.length;
4497
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
4498
- return arr2;
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(arr) {
4502
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
4479
+ function _arrayWithoutHoles(r) {
4480
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
4503
4481
  }
4504
4482
 
4505
- function _iterableToArray(iter) {
4506
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
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(o, minLen) {
4510
- if (!o) return;
4511
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
4512
- var n = Object.prototype.toString.call(o).slice(8, -1);
4513
- if (n === "Object" && o.constructor) n = o.constructor.name;
4514
- if (n === "Map" || n === "Set") return Array.from(o);
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(arr) {
4523
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
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(arr) {
5153
- if (Array.isArray(arr)) return arr;
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(arr, i) {
5189
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
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-18431aad.js';
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-b26c5b16.js';
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-1beae3bb.js';
99
- export { T as Table } from './index-617ffc3a.js';
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-e8fb2e5c.js';
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-693a3d41.js';
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-d8a4a68c.js';
153
+ import './objectWithoutPropertiesLoose-e1596bdb.js';
154
154
  import './clsx.m-2bb6df4b.js';
155
- import './CellMeasurerCache-b172f99b.js';
156
- import './index-b1e429a7.js';
157
- import './react-beautiful-dnd.esm-04c14563.js';
155
+ import './CellMeasurerCache-dbb3a6e5.js';
156
+ import './index-b7c1fe38.js';
157
+ import './react-beautiful-dnd.esm-ec039212.js';
package/index.mobile.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export * from './lib/atoms/Button/index.mobile';
2
- export * from './lib/atoms/Divider/index.mobile';
3
1
  export * from './lib/atoms/Icon/index.mobile';
4
2
  export * from './lib/atoms/Label/index.mobile';
5
3
  export * from './lib/atoms/Radio/index.mobile';
@@ -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-8e13703-05062024",
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",