@geneui/components 3.0.0-next-fa529af-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.
- package/ActionableList/index.js +5 -5
- package/AdvancedSearch/index.js +4 -4
- package/Alert/index.js +1 -1
- package/Avatar/index.js +1 -1
- package/Breadcrumb/index.js +3 -3
- package/Card/index.js +3 -3
- package/CardList/index.js +10 -10
- package/{CellMeasurerCache-0b14f9d9.js → CellMeasurerCache-f5f86ede.js} +1 -1
- package/Charts/index.js +3 -3
- package/Checkbox/index.js +2 -5
- package/CheckboxGroup/index.js +2 -5
- package/CheckboxGroupWithSearch/index.js +3 -3
- package/ComboBox/index.js +2 -5
- package/Copy/index.js +2 -5
- package/Counter/index.js +4 -4
- package/DateFilter/index.js +4 -4
- package/DatePickerInput/index.js +4 -4
- package/Drawer/index.js +2 -5
- package/Dropdown/index.js +7 -7
- package/Editor/index.js +1 -1
- package/ExtendedInput/index.js +3 -3
- package/Form/index.js +6 -6
- package/FormableCheckbox/index.js +3 -6
- package/FormableDatePicker/index.js +5 -5
- package/FormableDropdown/index.js +6 -6
- package/FormableEditor/index.js +2 -2
- package/{FormableHOC-a4ebfd24.js → FormableHOC-85f89a81.js} +1 -1
- package/FormableMultiSelectDropdown/index.js +6 -6
- package/FormableNumberInput/index.js +4 -4
- package/FormableRadio/index.js +2 -2
- package/FormableSwitcher/index.js +2 -2
- package/FormableTextInput/index.js +4 -4
- package/FormableUploader/index.js +4 -4
- package/GeneUIProvider/index.js +4 -1
- package/Grid/index.js +1 -1
- package/HelperText/index.js +5 -7
- package/Holder/index.js +2 -5
- package/Image/index.js +5 -8
- package/ImagePreview/index.js +3 -5
- package/InteractiveWidget/index.js +4 -6
- package/Label/index.js +4 -6
- package/Menu/index.js +3 -3
- package/MobilePopup/index.js +3 -3
- package/Modal/index.js +1 -1
- package/ModuleTitle/index.js +2 -5
- package/NavigationMenu/index.js +3 -3
- package/Notification/index.js +1 -1
- package/Option/index.js +3 -3
- package/Overlay/index.js +2 -5
- package/Overspread/index.js +5 -5
- package/Pagination/index.js +6 -6
- package/Pill/index.js +67 -0
- package/Popover/index.js +1 -1
- package/PopoverV2/index.js +2 -2
- package/Products/index.js +1 -1
- package/Profile/index.js +3 -3
- package/Radio/index.js +1 -1
- package/RadioGroup/index.js +1 -1
- package/Range/index.js +1 -1
- package/Scrollbar/index.js +1 -1
- package/Search/index.js +3 -3
- package/SearchWithDropdown/index.js +5 -5
- 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 +12 -12
- package/TableCompositions/index.js +10 -10
- package/Tag/index.js +1 -1
- package/Textarea/index.js +3 -3
- package/TimePicker/index.js +4 -4
- package/Title/index.js +1 -1
- package/Toaster/index.js +1 -1
- package/Tooltip/index.js +1 -8
- package/TransferList/index.js +4 -4
- package/Uploader/index.js +3 -3
- package/ValidatableCheckbox/index.js +2 -5
- package/ValidatableDatePicker/index.js +4 -4
- package/ValidatableDropdown/index.js +5 -5
- package/ValidatableElements/index.js +5 -5
- package/ValidatableMultiSelectDropdown/index.js +5 -5
- package/ValidatableNumberInput/index.js +3 -3
- package/ValidatableRadio/index.js +1 -1
- package/ValidatableSwitcher/index.js +1 -1
- package/ValidatableTextInput/index.js +3 -3
- package/ValidatableTimeInput/index.js +3 -3
- package/ValidatableUploader/index.js +3 -3
- 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-24537904.js → index-79ed03c9.js} +4 -4
- package/{index-59637c99.js → index-abbcc5bb.js} +5 -5
- package/{index-0c18f902.js → index-c92894e2.js} +642 -39
- package/index.d.ts +1 -0
- package/index.js +10 -9
- package/lib/atoms/HelperText/HelperText.d.ts +5 -0
- package/lib/atoms/Pill/Pill.d.ts +50 -0
- package/lib/atoms/Pill/index.d.ts +1 -0
- package/lib/molecules/Tooltip/Tooltip.d.ts +30 -23
- package/lib/providers/GeneUIProvider/GeneUIProvider.d.ts +1 -0
- package/package.json +1 -1
- package/{react-beautiful-dnd.esm-1cdf39df.js → react-beautiful-dnd.esm-fa2b11a1.js} +1 -1
- package/{useEllipsisDetection-4d997d5d.js → useEllipsisDetection-c1c9ad94.js} +7 -3
package/Option/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { useRef } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { o as optionConfig, s as screenTypes } from '../configs-
|
|
5
|
+
import { o as optionConfig, s as screenTypes } from '../configs-00612ce0.js';
|
|
6
6
|
import '../dateValidation-67caec66.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import useDeviceType from '../hooks/useDeviceType.js';
|
|
9
|
-
import { u as useEllipsisDetection } from '../useEllipsisDetection-
|
|
9
|
+
import { u as useEllipsisDetection } from '../useEllipsisDetection-c1c9ad94.js';
|
|
10
10
|
import Icon from '../Icon/index.js';
|
|
11
|
-
import { T as Tooltip } from '../index-
|
|
11
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
12
12
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
13
13
|
import '../_commonjsHelpers-24198af3.js';
|
|
14
14
|
import '../hooks/useWindowSize.js';
|
package/Overlay/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { useState, useMemo, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { e as positions } from '../configs-
|
|
5
|
+
import { e as positions } from '../configs-00612ce0.js';
|
|
6
6
|
import { n as noop } from '../index-5f37f281.js';
|
|
7
7
|
import useKeyDown from '../hooks/useKeyDown.js';
|
|
8
8
|
import useClickOutside from '../hooks/useClickOutside.js';
|
|
@@ -16,10 +16,7 @@ import '../_commonjsHelpers-24198af3.js';
|
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import '../tslib.es6-f211516f.js';
|
|
18
18
|
import '../Icon/index.js';
|
|
19
|
-
import '../index-
|
|
20
|
-
import '../hooks/useDeviceType.js';
|
|
21
|
-
import '../hooks/useWindowSize.js';
|
|
22
|
-
import '../hooks/useDebounce.js';
|
|
19
|
+
import '../index-c92894e2.js';
|
|
23
20
|
import '../GeneUIProvider/index.js';
|
|
24
21
|
|
|
25
22
|
var css_248z = "[data-gene-ui-version=\"2.16.1\"] .overlay-back-drop{animation:fadeIn 1s forwards;background:rgba(var(--background-rgb),.6);height:100%;left:0;opacity:0;position:fixed;top:0;width:100%;z-index:299}@keyframes fadeIn{to{opacity:1}}[data-gene-ui-version=\"2.16.1\"] .overlay-holder{display:flex;flex-direction:column;position:fixed;transition:width .4s,height .4s;z-index:300}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal{animation:slideInX .4s linear forwards;background:var(--background);bottom:0;top:var(--header-height,0)}@keyframes slideInX{to{transform:translateX(0)}}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.p-left{box-shadow:.5rem 0 .6rem 0 #0000000d;transform:translateX(-120%)}html:not([dir=rtl]) .overlay-holder.t-horizontal.p-left{left:0}html[dir=rtl] .overlay-holder.t-horizontal.p-left{box-shadow:-.5rem 0 .6rem 0 #0000000d;right:0;transform:translateX(120%)}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.p-left .overlay-close{border-radius:0 .4rem .4rem 0;box-shadow:.5rem 0 .6rem 0 #0000000d}html:not([dir=rtl]) .overlay-holder.t-horizontal.p-left .overlay-close{left:100%}html[dir=rtl] .overlay-holder.t-horizontal.p-left .overlay-close{border-radius:.4rem 0 0 .4rem;box-shadow:-.5rem 0 .6rem 0 #0000000d;right:100%}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.p-right{box-shadow:-.5rem 0 .6rem 0 #0000000d;transform:translateX(120%)}html:not([dir=rtl]) .overlay-holder.t-horizontal.p-right{right:0}html[dir=rtl] .overlay-holder.t-horizontal.p-right{box-shadow:.5rem 0 .6rem 0 #0000000d;left:0;transform:translateX(-120%)}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.p-right .overlay-close{border-radius:.4rem 0 0 .4rem;box-shadow:-.5rem 0 .6rem 0 #0000000d}html:not([dir=rtl]) .overlay-holder.t-horizontal.p-right .overlay-close{right:100%}html[dir=rtl] .overlay-holder.t-horizontal.p-right .overlay-close{border-radius:0 .4rem .4rem 0;box-shadow:.5rem 0 .6rem 0 #0000000d;left:100%}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.s-half{width:50%}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.s-wide{width:75%}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-horizontal.s-minimal{width:30rem}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical{animation:slideInY .4s linear forwards;background:var(--background);height:25vh;left:0;width:100%}@keyframes slideInY{to{transform:translateY(0)}}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical.s-extended{height:50vh}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical.p-top{border-radius:0 0 2rem 2rem;box-shadow:0 .3rem .6rem 0 #0000000d;top:0;transform:translateY(-120%)}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical.p-top .extend-reduce{box-shadow:0 .3rem .6rem 0 #0000000d;top:100%;transform:translate(-50%,-50%)}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical.p-bottom{border-radius:2rem 2rem 0 0;bottom:0;box-shadow:0 -.3rem .6rem 0 #0000000d;flex-direction:column-reverse;transform:translateY(120%)}[data-gene-ui-version=\"2.16.1\"] .overlay-holder.t-vertical.p-bottom .extend-reduce{bottom:100%;box-shadow:0 -.3rem .6rem 0 #0000000d;transform:translate(-50%,50%)}[data-gene-ui-version=\"2.16.1\"] .overlay-head{flex-shrink:0;position:relative;z-index:1}[data-gene-ui-version=\"2.16.1\"] .overlay-close{align-items:center;background:var(--background);display:flex;height:6rem;justify-content:center;position:absolute;top:0;width:6rem}[data-gene-ui-version=\"2.16.1\"] .overlay-body{display:flex;flex:auto;flex-direction:column;position:relative}[data-gene-ui-version=\"2.16.1\"] .overlay-body>.scroll-holder{height:100%;left:0;position:absolute!important;top:0;width:100%}[data-gene-ui-version=\"2.16.1\"] .overlay-body>.scroll-holder>.scroll-content{align-items:stretch;display:flex;flex-direction:column;justify-content:flex-start}[data-gene-ui-version=\"2.16.1\"] .overlay-body .overlay-content{flex:auto;padding:2.1rem 1.9rem}[data-gene-ui-version=\"2.16.1\"] .overlay-body .overlay-footer{display:flex;flex-shrink:0;justify-content:flex-end}[data-gene-ui-version=\"2.16.1\"] .overlay-body .overlay-footer>*{margin:1rem}[data-gene-ui-version=\"2.16.1\"] .extend-reduce{background:var(--background);border-radius:3.6rem;color:var(--hero);cursor:pointer;font:600 1.4rem/1.8rem var(--font-family);height:3.6rem;left:50%;min-width:14rem;padding:0 2rem;position:absolute;text-align:center;transition:color .3s,background .3s}[data-gene-ui-version=\"2.16.1\"] .extend-reduce:hover{background:var(--hero);color:var(--hero-sc)}";
|
package/Overspread/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-5f37f281.js';
|
|
5
|
-
import '../configs-
|
|
5
|
+
import '../configs-00612ce0.js';
|
|
6
6
|
import useClickOutside from '../hooks/useClickOutside.js';
|
|
7
7
|
import Icon from '../Icon/index.js';
|
|
8
8
|
import Portal from '../Portal/index.js';
|
|
9
9
|
import Popover from '../Popover/index.js';
|
|
10
10
|
import Menu from '../Menu/index.js';
|
|
11
|
-
import { D as Dropdown } from '../index-
|
|
11
|
+
import { D as Dropdown } from '../index-79ed03c9.js';
|
|
12
12
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
13
13
|
import '../dateValidation-67caec66.js';
|
|
14
14
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -24,8 +24,8 @@ import '../hooks/useForceUpdate.js';
|
|
|
24
24
|
import '../Scrollbar/index.js';
|
|
25
25
|
import '../guid-8ddf77b3.js';
|
|
26
26
|
import '../Option/index.js';
|
|
27
|
-
import '../useEllipsisDetection-
|
|
28
|
-
import '../index-
|
|
27
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
28
|
+
import '../index-c92894e2.js';
|
|
29
29
|
import '../tslib.es6-f211516f.js';
|
|
30
30
|
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
31
31
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
|
@@ -35,7 +35,7 @@ import '../hooks/useClick.js';
|
|
|
35
35
|
import '../hooks/useKeyDown.js';
|
|
36
36
|
import '../BusyLoader/index.js';
|
|
37
37
|
import '../Empty/index.js';
|
|
38
|
-
import '../index-
|
|
38
|
+
import '../index-3e0ca61d.js';
|
|
39
39
|
import '../debounce-4419bc2f.js';
|
|
40
40
|
import '../ExtendedInput/index.js';
|
|
41
41
|
import '../SuggestionList/index.js';
|
package/Pagination/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { c as classnames } from '../index-031ff73c.js';
|
|
|
4
4
|
import { a as conflictPropsLog, k as keyboardHandler } from '../index-5f37f281.js';
|
|
5
5
|
import Button from '../Button/index.js';
|
|
6
6
|
import Divider from '../Divider/index.js';
|
|
7
|
-
import { T as Tooltip } from '../index-
|
|
7
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
8
8
|
import TextInput from '../ValidatableTextInput/index.js';
|
|
9
9
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
10
10
|
import '../dateValidation-67caec66.js';
|
|
@@ -13,14 +13,14 @@ import 'react-dom';
|
|
|
13
13
|
import '../tslib.es6-f211516f.js';
|
|
14
14
|
import '../Icon/index.js';
|
|
15
15
|
import '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
16
|
-
import '../hooks/useDeviceType.js';
|
|
17
|
-
import '../configs-34847b77.js';
|
|
18
|
-
import '../hooks/useWindowSize.js';
|
|
19
|
-
import '../hooks/useDebounce.js';
|
|
20
16
|
import '../GeneUIProvider/index.js';
|
|
21
17
|
import '../hooks/useMount.js';
|
|
18
|
+
import '../configs-00612ce0.js';
|
|
22
19
|
import '../ExtendedInput/index.js';
|
|
23
|
-
import '../
|
|
20
|
+
import '../hooks/useDeviceType.js';
|
|
21
|
+
import '../hooks/useWindowSize.js';
|
|
22
|
+
import '../hooks/useDebounce.js';
|
|
23
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
24
24
|
import '../SuggestionList/index.js';
|
|
25
25
|
import '../hooks/useKeyDown.js';
|
|
26
26
|
import '../hooks/useClickOutside.js';
|
package/Pill/index.js
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React__default, { useState, useRef, useEffect, cloneElement } from 'react';
|
|
2
|
+
import { _ as _objectWithoutProperties, a as _extends } from '../ArrowLeft-b88e2ba8.js';
|
|
3
|
+
import { c as classnames } from '../index-031ff73c.js';
|
|
4
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
5
|
+
import 'prop-types';
|
|
6
|
+
import '../dateValidation-67caec66.js';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import '../configs-00612ce0.js';
|
|
9
|
+
import { u as useEllipsisDetection } from '../useEllipsisDetection-c1c9ad94.js';
|
|
10
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
11
|
+
import '../tslib.es6-f211516f.js';
|
|
12
|
+
import '../GeneUIProvider/index.js';
|
|
13
|
+
import '../_commonjsHelpers-24198af3.js';
|
|
14
|
+
import '../hooks/useDebounce.js';
|
|
15
|
+
|
|
16
|
+
var _excluded = ["size", "color"];
|
|
17
|
+
var SvgDot = function SvgDot(_ref) {
|
|
18
|
+
var _ref$size = _ref.size,
|
|
19
|
+
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
20
|
+
_ref$color = _ref.color,
|
|
21
|
+
color = _ref$color === void 0 ? "currentColor" : _ref$color,
|
|
22
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
23
|
+
return /*#__PURE__*/React__default.createElement("svg", _extends({
|
|
24
|
+
width: size,
|
|
25
|
+
height: size,
|
|
26
|
+
viewBox: "0 0 24 24",
|
|
27
|
+
fill: color,
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
29
|
+
}, props), /*#__PURE__*/React__default.createElement("path", {
|
|
30
|
+
d: "M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z",
|
|
31
|
+
fill: color
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var css_248z = "[data-gene-ui-version=\"2.16.1\"] .pill{align-items:center;display:inline-flex;max-width:100%;vertical-align:top}[data-gene-ui-version=\"2.16.1\"] .pill_icon_after{flex-direction:row-reverse}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium:not(.pill_icon_only){gap:var(--guit-ref-spacing-xsmall);padding-bottom:var(--guit-ref-spacing-2xsmall);padding-top:var(--guit-ref-spacing-2xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium:not(.pill_icon_before,.pill_size_medium.pill_icon_after,.pill_size_medium.pill_icon_only){padding-inline-end:var(--guit-ref-spacing-medium);padding-inline-start:var(--guit-ref-spacing-medium)}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium.pill_icon_before{padding-inline-end:var(--guit-ref-spacing-medium);padding-inline-start:var(--guit-ref-spacing-xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium.pill_icon_after{padding-inline-end:var(--guit-ref-spacing-xsmall);padding-inline-start:var(--guit-ref-spacing-medium)}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium.pill_icon_only{padding:var(--guit-ref-spacing-2xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small:not(.pill_icon_only){gap:var(--guit-ref-spacing-2xsmall);padding-bottom:var(--guit-ref-spacing-4xsmall);padding-top:var(--guit-ref-spacing-4xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small:not(.pill_icon_before,.pill_size_small.pill_icon_after,.pill_size_small.pill_icon_only){padding-inline-end:var(--guit-ref-spacing-medium);padding-inline-start:var(--guit-ref-spacing-medium)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small.pill_icon_before{padding-inline-end:var(--guit-ref-spacing-medium);padding-inline-start:var(--guit-ref-spacing-xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small.pill_icon_after{padding-inline-end:var(--guit-ref-spacing-xsmall);padding-inline-start:var(--guit-ref-spacing-medium)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small.pill_icon_only{padding:var(--guit-ref-spacing-4xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_medium:not(.pill_icon_only),[data-gene-ui-version=\"2.16.1\"] .pill_size_small:not(.pill_icon_only){font-family:var(--guit-sem-font-label-medium-default-semibold-font-family);font-size:var(--guit-sem-font-label-medium-default-semibold-font-size);font-weight:var(--guit-sem-font-label-medium-default-medium-font-weight);line-height:var(--guit-sem-font-label-medium-default-semibold-line-height)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge{gap:var(--guit-ref-spacing-3xsmall);padding-bottom:var(--guit-ref-spacing-4xsmall);padding-top:var(--guit-ref-spacing-4xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge:not(.pill_icon_only){font-family:var(--guit-sem-font-label-small-default-medium-font-family);font-size:var(--guit-sem-font-label-small-default-medium-font-size);font-weight:var(--guit-sem-font-label-small-default-medium-font-weight);line-height:var(--guit-sem-font-label-small-default-medium-line-height)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge:not(.pill_icon_before,.pill_size_small_nudge.pill_icon_after,.pill_size_small_nudge.pill_icon_only){padding-inline-end:var(--guit-ref-spacing-xsmall);padding-inline-start:var(--guit-ref-spacing-xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge.pill_icon_before{padding-inline-end:var(--guit-ref-spacing-xsmall);padding-inline-start:var(--guit-ref-spacing-3xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge.pill_icon_after{padding-inline-end:var(--guit-ref-spacing-3xsmall);padding-inline-start:var(--guit-ref-spacing-xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_size_small_nudge.pill_icon_only{padding:var(--guit-ref-spacing-4xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_size_medium,[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_size_small{border-radius:var(--guit-ref-radius-3xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_size_small_nudge{border-radius:var(--guit-ref-radius-4xsmall)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_informative{background-color:var(--guit-sem-color-background-informative)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_neutral{background-color:var(--guit-sem-color-background-neutral-3)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_error{background-color:var(--guit-sem-color-background-error-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_success{background-color:var(--guit-sem-color-background-success-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_warning{background-color:var(--guit-sem-color-background-warning-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_purple{background-color:var(--guit-sem-color-background-accent-purple-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_lagoon{background-color:var(--guit-sem-color-background-accent-lagoon-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_magenta{background-color:var(--guit-sem-color-background-accent-magenta-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_slate{background-color:var(--guit-sem-color-background-accent-slate-1)}[data-gene-ui-version=\"2.16.1\"] .pill_fill.pill_color_inverse{background-color:var(--guit-sem-color-background-inverse);color:var(--guit-sem-color-foreground-neutral-2)}[data-gene-ui-version=\"2.16.1\"] .pill_color_informative{color:var(--guit-sem-color-foreground-informative)}[data-gene-ui-version=\"2.16.1\"] .pill_color_neutral{color:var(--guit-sem-color-foreground-neutral-2)}[data-gene-ui-version=\"2.16.1\"] .pill_color_error{color:var(--guit-sem-color-foreground-error)}[data-gene-ui-version=\"2.16.1\"] .pill_color_success{color:var(--guit-sem-color-foreground-success)}[data-gene-ui-version=\"2.16.1\"] .pill_color_warning{color:var(--guit-sem-color-foreground-warning)}[data-gene-ui-version=\"2.16.1\"] .pill_color_purple{color:var(--guit-sem-color-foreground-accent-purple)}[data-gene-ui-version=\"2.16.1\"] .pill_color_lagoon{color:var(--guit-sem-color-foreground-accent-lagoon)}[data-gene-ui-version=\"2.16.1\"] .pill_color_magenta{color:var(--guit-sem-color-foreground-accent-magenta)}[data-gene-ui-version=\"2.16.1\"] .pill_color_slate{color:var(--guit-sem-color-foreground-accent-slate)}[data-gene-ui-version=\"2.16.1\"] .pill:not(.pill_fill).pill_color_inverse{color:var(--guit-sem-color-foreground-inverse)}[data-gene-ui-version=\"2.16.1\"] .pill__text{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit}[data-gene-ui-version=\"2.16.1\"] .pill__icon{flex:0 0 auto}";
|
|
36
|
+
styleInject(css_248z);
|
|
37
|
+
|
|
38
|
+
const iconSizes = {
|
|
39
|
+
smallNudge: 16,
|
|
40
|
+
small: 20,
|
|
41
|
+
medium: 20
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* A Pill component used to display concise information or categorize content. Often used for labels or status indicators, Pill components are visually distinct and can convey different meanings through text and color coding.
|
|
45
|
+
*/
|
|
46
|
+
const Pill = ({ color = 'informative', size = 'medium', text, iconAlignment = 'before', isFill, withDot = true, Icon, className }) => {
|
|
47
|
+
const [isWithDot, setIsWithDot] = useState(withDot);
|
|
48
|
+
const textRef = useRef(null);
|
|
49
|
+
const isTruncated = useEllipsisDetection(textRef, [text]);
|
|
50
|
+
useEffect(() => {
|
|
51
|
+
setIsWithDot(!Icon && withDot);
|
|
52
|
+
}, [Icon, withDot]);
|
|
53
|
+
const iconMock = Icon ? (cloneElement(Icon, {
|
|
54
|
+
size: iconSizes[size],
|
|
55
|
+
className: 'pill__icon'
|
|
56
|
+
})) : isWithDot ? (React__default.createElement(SvgDot, { size: iconSizes[size], className: "pill__icon" })) : ('');
|
|
57
|
+
return (React__default.createElement("div", { className: classnames(`pill pill_size_${size} pill_color_${color}`, className, {
|
|
58
|
+
[`pill_icon_${isWithDot ? 'before' : iconAlignment}`]: text && iconMock,
|
|
59
|
+
pill_icon_only: !text,
|
|
60
|
+
pill_fill: isFill
|
|
61
|
+
}) },
|
|
62
|
+
iconMock,
|
|
63
|
+
text && (React__default.createElement(Tooltip, { text: text, isVisible: isTruncated },
|
|
64
|
+
React__default.createElement("span", { ref: textRef, className: "pill__text" }, text)))));
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export { Pill as default };
|
package/Popover/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import { n as noop, s as stopEvent } from '../index-5f37f281.js';
|
|
9
9
|
import useDeviceType from '../hooks/useDeviceType.js';
|
|
10
10
|
import useUpdatableRef from '../hooks/useUpdatableRef.js';
|
|
11
|
-
import { g as popoverConfig, s as screenTypes } from '../configs-
|
|
11
|
+
import { g as popoverConfig, s as screenTypes } from '../configs-00612ce0.js';
|
|
12
12
|
import { GeneUIDesignSystemContext } from '../GeneUIProvider/index.js';
|
|
13
13
|
import Portal from '../Portal/index.js';
|
|
14
14
|
import CustomScrollbar from '../Scrollbar/index.js';
|
package/PopoverV2/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { P as default } from '../index-
|
|
3
|
+
export { P as default } from '../index-3e0ca61d.js';
|
|
4
4
|
import '../index-122432cd.js';
|
|
5
5
|
import '../index-031ff73c.js';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
import '../index-5f37f281.js';
|
|
8
8
|
import '../hooks/useDeviceType.js';
|
|
9
9
|
import '../hooks/useClickOutside.js';
|
|
10
|
-
import '../configs-
|
|
10
|
+
import '../configs-00612ce0.js';
|
|
11
11
|
import '../Scrollbar/index.js';
|
|
12
12
|
import '../GeneUIProvider/index.js';
|
|
13
13
|
import '../debounce-4419bc2f.js';
|
package/Products/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { s as screenTypes } from '../configs-
|
|
5
|
+
import { s as screenTypes } from '../configs-00612ce0.js';
|
|
6
6
|
import '../dateValidation-67caec66.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import useDeviceType from '../hooks/useDeviceType.js';
|
package/Profile/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useMemo, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { s as screenTypes } from '../configs-
|
|
5
|
+
import { s as screenTypes } from '../configs-00612ce0.js';
|
|
6
6
|
import { c as childrenOf, n as noop } from '../index-5f37f281.js';
|
|
7
7
|
import useToggle from '../hooks/useToggle.js';
|
|
8
8
|
import useDeviceType from '../hooks/useDeviceType.js';
|
|
@@ -11,7 +11,7 @@ import Empty from '../Empty/index.js';
|
|
|
11
11
|
import Icon from '../Icon/index.js';
|
|
12
12
|
import Popover from '../Popover/index.js';
|
|
13
13
|
import Avatar from '../Avatar/index.js';
|
|
14
|
-
import { T as Tooltip } from '../index-
|
|
14
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
15
15
|
import Menu from '../Menu/index.js';
|
|
16
16
|
import Search from '../Search/index.js';
|
|
17
17
|
import Divider from '../Divider/index.js';
|
|
@@ -31,7 +31,7 @@ import '../Scrollbar/index.js';
|
|
|
31
31
|
import '../guid-8ddf77b3.js';
|
|
32
32
|
import '../ArrowLeft-b88e2ba8.js';
|
|
33
33
|
import '../Option/index.js';
|
|
34
|
-
import '../useEllipsisDetection-
|
|
34
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
35
35
|
import '../ExtendedInput/index.js';
|
|
36
36
|
import '../SuggestionList/index.js';
|
|
37
37
|
import '../hooks/useKeyDown.js';
|
package/Radio/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { forwardRef, useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import {
|
|
5
|
+
import { c as checkboxRadioSwitcherConfig } from '../configs-00612ce0.js';
|
|
6
6
|
import { i as interceptValue } from '../index-5f37f281.js';
|
|
7
7
|
import '../checkboxRadioSwitcher-5b69d7bd.js';
|
|
8
8
|
import { g as guid } from '../guid-8ddf77b3.js';
|
package/RadioGroup/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import Radio from '../Radio/index.js';
|
|
|
7
7
|
import '../dateValidation-67caec66.js';
|
|
8
8
|
import '../_commonjsHelpers-24198af3.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import '../configs-
|
|
10
|
+
import '../configs-00612ce0.js';
|
|
11
11
|
import '../checkboxRadioSwitcher-5b69d7bd.js';
|
|
12
12
|
import '../style-inject.es-746bb8ed.js';
|
|
13
13
|
import '../guid-8ddf77b3.js';
|
package/Range/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import useWidth from '../hooks/useWidth.js';
|
|
|
7
7
|
import '../dateValidation-67caec66.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import useToggle from '../hooks/useToggle.js';
|
|
10
|
-
import '../configs-
|
|
10
|
+
import '../configs-00612ce0.js';
|
|
11
11
|
import '../_commonjsHelpers-24198af3.js';
|
|
12
12
|
import '../index-45eafea6.js';
|
|
13
13
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
package/Scrollbar/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useEffect } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
5
|
import { c as commonjsGlobal } from '../_commonjsHelpers-24198af3.js';
|
|
6
|
-
import { j as customScrollbarConfig } from '../configs-
|
|
6
|
+
import { j as customScrollbarConfig } from '../configs-00612ce0.js';
|
|
7
7
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
8
8
|
|
|
9
9
|
var lib = {};
|
package/Search/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useCallback } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ExtendedInput from '../ExtendedInput/index.js';
|
|
5
5
|
import '../index-031ff73c.js';
|
|
6
|
-
import '../configs-
|
|
6
|
+
import '../configs-00612ce0.js';
|
|
7
7
|
import '../index-5f37f281.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -11,7 +11,7 @@ import 'react-dom';
|
|
|
11
11
|
import '../hooks/useDeviceType.js';
|
|
12
12
|
import '../hooks/useWindowSize.js';
|
|
13
13
|
import '../hooks/useDebounce.js';
|
|
14
|
-
import '../useEllipsisDetection-
|
|
14
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
15
15
|
import '../Icon/index.js';
|
|
16
16
|
import '../style-inject.es-746bb8ed.js';
|
|
17
17
|
import '../SuggestionList/index.js';
|
|
@@ -20,7 +20,7 @@ import '../hooks/useClickOutside.js';
|
|
|
20
20
|
import '../config-1053d64d.js';
|
|
21
21
|
import '../Scrollbar/index.js';
|
|
22
22
|
import '../callAfterDelay-7272faca.js';
|
|
23
|
-
import '../index-
|
|
23
|
+
import '../index-c92894e2.js';
|
|
24
24
|
import '../tslib.es6-f211516f.js';
|
|
25
25
|
import '../GeneUIProvider/index.js';
|
|
26
26
|
|
|
@@ -4,17 +4,17 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
5
|
import { n as noop } from '../index-5f37f281.js';
|
|
6
6
|
import Search from '../Search/index.js';
|
|
7
|
-
import { D as Dropdown } from '../index-
|
|
7
|
+
import { D as Dropdown } from '../index-79ed03c9.js';
|
|
8
8
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
9
9
|
import '../dateValidation-67caec66.js';
|
|
10
10
|
import '../_commonjsHelpers-24198af3.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import '../ExtendedInput/index.js';
|
|
13
|
-
import '../configs-
|
|
13
|
+
import '../configs-00612ce0.js';
|
|
14
14
|
import '../hooks/useDeviceType.js';
|
|
15
15
|
import '../hooks/useWindowSize.js';
|
|
16
16
|
import '../hooks/useDebounce.js';
|
|
17
|
-
import '../useEllipsisDetection-
|
|
17
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
18
18
|
import '../Icon/index.js';
|
|
19
19
|
import '../SuggestionList/index.js';
|
|
20
20
|
import '../hooks/useKeyDown.js';
|
|
@@ -22,7 +22,7 @@ import '../hooks/useClickOutside.js';
|
|
|
22
22
|
import '../config-1053d64d.js';
|
|
23
23
|
import '../Scrollbar/index.js';
|
|
24
24
|
import '../callAfterDelay-7272faca.js';
|
|
25
|
-
import '../index-
|
|
25
|
+
import '../index-c92894e2.js';
|
|
26
26
|
import '../tslib.es6-f211516f.js';
|
|
27
27
|
import '../GeneUIProvider/index.js';
|
|
28
28
|
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
@@ -34,7 +34,7 @@ import '../hooks/useUpdatableRef.js';
|
|
|
34
34
|
import '../hooks/useForceUpdate.js';
|
|
35
35
|
import '../BusyLoader/index.js';
|
|
36
36
|
import '../Empty/index.js';
|
|
37
|
-
import '../index-
|
|
37
|
+
import '../index-3e0ca61d.js';
|
|
38
38
|
import '../index-122432cd.js';
|
|
39
39
|
import '../debounce-4419bc2f.js';
|
|
40
40
|
import '../Checkbox/index.js';
|
package/Section/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { t as titleConfig } from '../configs-
|
|
3
|
+
import { t as titleConfig } from '../configs-00612ce0.js';
|
|
4
4
|
import Title from '../Title/index.js';
|
|
5
5
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
6
6
|
import '../_rollupPluginBabelHelpers-a83240e1.js';
|
package/Slider/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { c as createSliderWithTooltip, S as Slider } from '../rangeAndSlider-693
|
|
|
6
6
|
import useWidth from '../hooks/useWidth.js';
|
|
7
7
|
import '../dateValidation-67caec66.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import '../configs-
|
|
9
|
+
import '../configs-00612ce0.js';
|
|
10
10
|
import Icon from '../Icon/index.js';
|
|
11
11
|
import NumberInput from '../ValidatableNumberInput/index.js';
|
|
12
12
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -19,14 +19,14 @@ import '../index-5f37f281.js';
|
|
|
19
19
|
import '../hooks/useMount.js';
|
|
20
20
|
import '../ExtendedInput/index.js';
|
|
21
21
|
import '../hooks/useDeviceType.js';
|
|
22
|
-
import '../useEllipsisDetection-
|
|
22
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
23
23
|
import '../SuggestionList/index.js';
|
|
24
24
|
import '../hooks/useKeyDown.js';
|
|
25
25
|
import '../hooks/useClickOutside.js';
|
|
26
26
|
import '../config-1053d64d.js';
|
|
27
27
|
import '../Scrollbar/index.js';
|
|
28
28
|
import '../callAfterDelay-7272faca.js';
|
|
29
|
-
import '../index-
|
|
29
|
+
import '../index-c92894e2.js';
|
|
30
30
|
import '../tslib.es6-f211516f.js';
|
|
31
31
|
import '../GeneUIProvider/index.js';
|
|
32
32
|
|
package/Status/index.js
CHANGED
|
@@ -3,16 +3,10 @@ import React__default from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
5
|
import Icon from '../Icon/index.js';
|
|
6
|
-
import { T as Tooltip } from '../index-
|
|
6
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
7
7
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
8
8
|
import '../tslib.es6-f211516f.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import '../dateValidation-67caec66.js';
|
|
11
|
-
import '../_commonjsHelpers-24198af3.js';
|
|
12
|
-
import '../hooks/useDeviceType.js';
|
|
13
|
-
import '../configs-34847b77.js';
|
|
14
|
-
import '../hooks/useWindowSize.js';
|
|
15
|
-
import '../hooks/useDebounce.js';
|
|
16
10
|
import '../GeneUIProvider/index.js';
|
|
17
11
|
|
|
18
12
|
var css_248z = "[data-gene-ui-version=\"2.16.1\"] .static-title-holder{align-items:flex-start;display:inline-flex;flex-direction:column;max-width:100%;vertical-align:top}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-t{font:600 1.4rem/1.8rem var(--font-family);margin:0 0 .4rem;opacity:.5;padding:0 var(--static-title-padding,0)}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-c{max-width:100%}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-c:nth-child(2){align-items:center;display:flex;min-height:3.2rem}[data-gene-ui-version=\"2.16.1\"] .static-title-holder.f-full-width,[data-gene-ui-version=\"2.16.1\"] .static-title-holder.f-full-width .st-c{width:100%}[data-gene-ui-version=\"2.16.1\"] .status-holder{align-items:center;display:flex;font:600 1.4rem/2.4rem var(--font-family)}[data-gene-ui-version=\"2.16.1\"] .status-holder p{height:2.4rem;overflow:hidden}[data-gene-ui-version=\"2.16.1\"] .status-holder span{display:block;overflow:hidden}[data-gene-ui-version=\"2.16.1\"] .status-holder>*+*{margin:0 0 0 .7rem}html[dir=rtl] .status-holder>*+*{margin:0 .7rem 0 0}[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon{align-items:center;color:var(--hero);display:flex;height:3rem;justify-content:center;position:relative;transition:color .3s,opacity .3s;width:3rem}[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon:after,[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon:before{border-radius:100%;content:\"\";display:block;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .3s,background .3s,border-color .3s;width:100%}[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon:before{background:var(--hero)}[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon:after{border:1px solid var(--hero)}[data-gene-ui-version=\"2.16.1\"] .status-holder .status-icon .icon{position:relative;z-index:2}[data-gene-ui-version=\"2.16.1\"] .status-holder:hover .hover-text+span,[data-gene-ui-version=\"2.16.1\"] .status-holder:not(:hover) .hover-text{height:0}@media (hover:hover){[data-gene-ui-version=\"2.16.1\"] .status-holder.clickable:hover .status-icon:before{opacity:.05}[data-gene-ui-version=\"2.16.1\"] .status-holder.clickable:hover .status-icon:after{opacity:.66}}";
|
package/Steps/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useRef, useState } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { c as classnames } from '../index-031ff73c.js';
|
|
4
|
-
import { l as stepsConfig } from '../configs-
|
|
4
|
+
import { l as stepsConfig } from '../configs-00612ce0.js';
|
|
5
5
|
import Icon from '../Icon/index.js';
|
|
6
|
-
import { T as Tooltip } from '../index-
|
|
6
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
7
7
|
import '../dateValidation-67caec66.js';
|
|
8
8
|
import { d as debounce } from '../debounce-4419bc2f.js';
|
|
9
9
|
import 'react-dom';
|
|
@@ -12,12 +12,12 @@ import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
|
12
12
|
import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
13
13
|
import { c as childrenOf } from '../index-5f37f281.js';
|
|
14
14
|
import '../tslib.es6-f211516f.js';
|
|
15
|
-
import '../hooks/useDeviceType.js';
|
|
16
|
-
import '../hooks/useWindowSize.js';
|
|
17
|
-
import '../hooks/useDebounce.js';
|
|
18
15
|
import '../GeneUIProvider/index.js';
|
|
19
16
|
import '../_commonjsHelpers-24198af3.js';
|
|
20
17
|
import '../index-122432cd.js';
|
|
18
|
+
import '../hooks/useDeviceType.js';
|
|
19
|
+
import '../hooks/useWindowSize.js';
|
|
20
|
+
import '../hooks/useDebounce.js';
|
|
21
21
|
import '../hooks/useUpdatableRef.js';
|
|
22
22
|
import '../hooks/useForceUpdate.js';
|
|
23
23
|
import '../Portal/index.js';
|
package/SuggestionList/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import React__default, { useMemo, useState, useRef, useCallback, useEffect } fro
|
|
|
2
2
|
import { c as classnames } from '../index-031ff73c.js';
|
|
3
3
|
import { s as stopEvent } from '../index-5f37f281.js';
|
|
4
4
|
import useKeyDown from '../hooks/useKeyDown.js';
|
|
5
|
-
import '../configs-
|
|
5
|
+
import '../configs-00612ce0.js';
|
|
6
6
|
import useClickOutside from '../hooks/useClickOutside.js';
|
|
7
7
|
import { k as keyDownKeys } from '../config-1053d64d.js';
|
|
8
8
|
import CustomScrollbar from '../Scrollbar/index.js';
|
package/Switcher/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { forwardRef, useRef, useState, useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import {
|
|
5
|
+
import { c as checkboxRadioSwitcherConfig } from '../configs-00612ce0.js';
|
|
6
6
|
import { n as noop, i as interceptValue } from '../index-5f37f281.js';
|
|
7
7
|
import useKeyDown from '../hooks/useKeyDown.js';
|
|
8
8
|
import '../checkboxRadioSwitcher-5b69d7bd.js';
|
package/Table/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { T as default } from '../index-
|
|
3
|
+
export { T as default } from '../index-abbcc5bb.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../index-
|
|
6
|
-
import '../CellMeasurerCache-
|
|
5
|
+
import '../index-79ed03c9.js';
|
|
6
|
+
import '../CellMeasurerCache-f5f86ede.js';
|
|
7
7
|
import '../index-031ff73c.js';
|
|
8
8
|
import '../index-5f37f281.js';
|
|
9
9
|
import '../hooks/useMount.js';
|
|
10
10
|
import '../hooks/useUpdate.js';
|
|
11
|
-
import '../configs-
|
|
11
|
+
import '../configs-00612ce0.js';
|
|
12
12
|
import '../hooks/useThrottle.js';
|
|
13
13
|
import '../Empty/index.js';
|
|
14
14
|
import '../Scrollbar/index.js';
|
|
@@ -18,34 +18,34 @@ import '../debounce-4419bc2f.js';
|
|
|
18
18
|
import '../hooks/useMutationObserver.js';
|
|
19
19
|
import '../Icon/index.js';
|
|
20
20
|
import '../style-inject.es-746bb8ed.js';
|
|
21
|
-
import '../index-
|
|
21
|
+
import '../index-c92894e2.js';
|
|
22
22
|
import '../tslib.es6-f211516f.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../dateValidation-67caec66.js';
|
|
25
|
-
import '../_commonjsHelpers-24198af3.js';
|
|
26
|
-
import '../hooks/useDeviceType.js';
|
|
27
|
-
import '../hooks/useWindowSize.js';
|
|
28
|
-
import '../hooks/useDebounce.js';
|
|
29
24
|
import '../GeneUIProvider/index.js';
|
|
30
25
|
import '../Button/index.js';
|
|
26
|
+
import '../dateValidation-67caec66.js';
|
|
27
|
+
import '../_commonjsHelpers-24198af3.js';
|
|
31
28
|
import '../SkeletonLoader/index.js';
|
|
32
29
|
import '../Copy/index.js';
|
|
33
30
|
import '../callAfterDelay-7272faca.js';
|
|
34
31
|
import '../hooks/useHover.js';
|
|
35
32
|
import '../Popover/index.js';
|
|
36
33
|
import '../index-122432cd.js';
|
|
34
|
+
import '../hooks/useDeviceType.js';
|
|
35
|
+
import '../hooks/useWindowSize.js';
|
|
36
|
+
import '../hooks/useDebounce.js';
|
|
37
37
|
import '../hooks/useUpdatableRef.js';
|
|
38
38
|
import '../hooks/useForceUpdate.js';
|
|
39
39
|
import '../Portal/index.js';
|
|
40
40
|
import '../ExtendedInput/index.js';
|
|
41
|
-
import '../useEllipsisDetection-
|
|
41
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
42
42
|
import '../SuggestionList/index.js';
|
|
43
43
|
import '../hooks/useKeyDown.js';
|
|
44
44
|
import '../hooks/useClickOutside.js';
|
|
45
45
|
import '../config-1053d64d.js';
|
|
46
46
|
import '../Menu/index.js';
|
|
47
47
|
import '../Option/index.js';
|
|
48
|
-
import '../index-
|
|
48
|
+
import '../index-3e0ca61d.js';
|
|
49
49
|
import '../redux-e591c1b8.js';
|
|
50
50
|
import '../objectWithoutPropertiesLoose-e1596bdb.js';
|
|
51
51
|
import '../react-lifecycles-compat.es-6e1f3768.js';
|
|
@@ -8,27 +8,27 @@ import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
|
8
8
|
import Paper from '../Paper/index.js';
|
|
9
9
|
import { L as Logger, n as noop } from '../index-5f37f281.js';
|
|
10
10
|
import Pagination from '../Pagination/index.js';
|
|
11
|
-
import { D as Dropdown } from '../index-
|
|
12
|
-
import { T as Table, s as searchConfigs, a as sortHandler, u as useSortConfigs } from '../index-
|
|
13
|
-
import '../configs-
|
|
11
|
+
import { D as Dropdown } from '../index-79ed03c9.js';
|
|
12
|
+
import { T as Table, s as searchConfigs, a as sortHandler, u as useSortConfigs } from '../index-abbcc5bb.js';
|
|
13
|
+
import '../configs-00612ce0.js';
|
|
14
14
|
import useThrottle from '../hooks/useThrottle.js';
|
|
15
15
|
import Button from '../Button/index.js';
|
|
16
16
|
import Divider from '../Divider/index.js';
|
|
17
|
-
import { T as Tooltip } from '../index-
|
|
17
|
+
import { T as Tooltip } from '../index-c92894e2.js';
|
|
18
18
|
import { c as commonjsGlobal } from '../_commonjsHelpers-24198af3.js';
|
|
19
|
-
import { P as PopoverV2 } from '../index-
|
|
19
|
+
import { P as PopoverV2 } from '../index-3e0ca61d.js';
|
|
20
20
|
import '../dateValidation-67caec66.js';
|
|
21
21
|
import 'react-dom';
|
|
22
22
|
import Icon from '../Icon/index.js';
|
|
23
23
|
import Option from '../Option/index.js';
|
|
24
24
|
import '../tslib.es6-f211516f.js';
|
|
25
|
-
import '../hooks/useDeviceType.js';
|
|
26
|
-
import '../hooks/useWindowSize.js';
|
|
27
|
-
import '../hooks/useDebounce.js';
|
|
28
25
|
import '../GeneUIProvider/index.js';
|
|
29
26
|
import '../Search/index.js';
|
|
30
27
|
import '../ExtendedInput/index.js';
|
|
31
|
-
import '../
|
|
28
|
+
import '../hooks/useDeviceType.js';
|
|
29
|
+
import '../hooks/useWindowSize.js';
|
|
30
|
+
import '../hooks/useDebounce.js';
|
|
31
|
+
import '../useEllipsisDetection-c1c9ad94.js';
|
|
32
32
|
import '../SuggestionList/index.js';
|
|
33
33
|
import '../hooks/useKeyDown.js';
|
|
34
34
|
import '../hooks/useClickOutside.js';
|
|
@@ -52,7 +52,7 @@ import '../guid-8ddf77b3.js';
|
|
|
52
52
|
import '../index-b3a30cb9.js';
|
|
53
53
|
import '../Tag/index.js';
|
|
54
54
|
import '../ValidatableTextInput/index.js';
|
|
55
|
-
import '../CellMeasurerCache-
|
|
55
|
+
import '../CellMeasurerCache-f5f86ede.js';
|
|
56
56
|
import '../hooks/useUpdate.js';
|
|
57
57
|
import '../hooks/useMutationObserver.js';
|
|
58
58
|
import '../SkeletonLoader/index.js';
|
package/Tag/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { d as tagConfig } from '../configs-
|
|
5
|
+
import { d as tagConfig } from '../configs-00612ce0.js';
|
|
6
6
|
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
7
7
|
|
|
8
8
|
var css_248z = "[data-gene-ui-version=\"2.16.1\"] .static-title-holder{align-items:flex-start;display:inline-flex;flex-direction:column;max-width:100%;vertical-align:top}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-t{font:600 1.4rem/1.8rem var(--font-family);margin:0 0 .4rem;opacity:.5;padding:0 var(--static-title-padding,0)}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-c{max-width:100%}[data-gene-ui-version=\"2.16.1\"] .static-title-holder .st-c:nth-child(2){align-items:center;display:flex;min-height:3.2rem}[data-gene-ui-version=\"2.16.1\"] .static-title-holder.f-full-width,[data-gene-ui-version=\"2.16.1\"] .static-title-holder.f-full-width .st-c{width:100%}[data-gene-ui-version=\"2.16.1\"] .tag-c{--color:var(--hero);align-items:center;background:var(--background);color:var(--color);display:flex;flex-direction:row-reverse;flex-shrink:0;font:600 1.4rem/1.8rem var(--font-family);height:var(--size);justify-content:center;max-width:100%;padding:0 1rem;position:relative;text-align:center;transition:color .3s;-webkit-user-select:none;user-select:none;width:100%}[data-gene-ui-version=\"2.16.1\"] .tag-c.s-small{--size:2.4rem;font-size:1.2rem}html:not([dir=rtl]) .tag-c.s-small .icon{margin-left:1px}html[dir=rtl] .tag-c.s-small .icon{margin-right:1px}[data-gene-ui-version=\"2.16.1\"] .tag-c.s-medium{--size:2.6rem}html:not([dir=rtl]) .tag-c.s-medium .icon{margin-left:.5rem}html[dir=rtl] .tag-c.s-medium .icon{margin-right:.5rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.s-big{--size:3rem}html:not([dir=rtl]) .tag-c.s-big .icon{margin-left:.5rem}html[dir=rtl] .tag-c.s-big .icon{margin-right:.5rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.f-compact{min-width:var(--size)}[data-gene-ui-version=\"2.16.1\"] .tag-c.f-compact.s-small{padding:0 .4rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.f-compact.s-medium{padding:0 .5rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.f-compact.s-big{padding:0 .7rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-small .icon{margin-right:-.9rem}html[dir=rtl] .tag-c:not(.f-compact).s-small .icon{margin-left:-.9rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-medium .icon{margin-right:-.7rem}html[dir=rtl] .tag-c:not(.f-compact).s-medium .icon{margin-left:-.7rem}html:not([dir=rtl]) .tag-c:not(.f-compact).s-big .icon{margin-right:-.2rem}html[dir=rtl] .tag-c:not(.f-compact).s-big .icon{margin-left:-.2rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.cr-full-radius{border-radius:1.4rem}[data-gene-ui-version=\"2.16.1\"] .tag-c.cr-smooth-radius{border-radius:.6rem}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-simple{--color:var(--background-sc)}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-simple .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-simple .tag-backdrop:after{content:none}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-minimal .tag-backdrop{--color:var(--background-sc)}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-minimal .tag-backdrop:before{opacity:.03}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-minimal .tag-backdrop:after{opacity:.07}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-outline .tag-backdrop:before{content:none}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-colored .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-clean{--color:var(--background-sc)}@media (hover:hover){[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-clean:hover{--color:var(--hero)}}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-clean .tag-backdrop:after,[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-clean .tag-backdrop:before{content:none}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-light .tag-backdrop:before{opacity:.1}[data-gene-ui-version=\"2.16.1\"] .tag-c:not(.active).a-light .tag-backdrop:after{border:0}[data-gene-ui-version=\"2.16.1\"] .tag-c.active{color:var(--hero-sc)}@media (hover:hover){[data-gene-ui-version=\"2.16.1\"] .tag-c:hover .tag-backdrop{opacity:.6}}[data-gene-ui-version=\"2.16.1\"] .tag-c .icon,[data-gene-ui-version=\"2.16.1\"] .tag-c .tag-cc{position:relative;transition:opacity .3s;z-index:1}[data-gene-ui-version=\"2.16.1\"] .tag-c .icon{cursor:pointer;opacity:.5}@media (hover:hover){[data-gene-ui-version=\"2.16.1\"] .tag-c .icon:hover{opacity:1}[data-gene-ui-version=\"2.16.1\"] .tag-c .icon:hover~.tag-cp{opacity:.6}}[data-gene-ui-version=\"2.16.1\"] .tag-backdrop{border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:opacity .3s;width:100%}[data-gene-ui-version=\"2.16.1\"] .tag-backdrop:after,[data-gene-ui-version=\"2.16.1\"] .tag-backdrop:before{border-radius:inherit;content:\"\";display:block;height:100%;left:0;position:absolute;top:0;width:100%}[data-gene-ui-version=\"2.16.1\"] .tag-backdrop:before{background:var(--color);transition:background .3s,opacity .3s}[data-gene-ui-version=\"2.16.1\"] .tag-backdrop:after{border:1px solid var(--color);transition:border-color .3s,opacity .3s}";
|