@geneui/components 2.11.1 → 2.12.1
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.js → ActionableList/index.js} +83 -152
- package/{AdvancedSearch.js → AdvancedSearch/index.js} +291 -304
- package/{Alert.js → Alert/index.js} +19 -20
- package/Avatar/index.js +30 -0
- package/{Badge.js → Badge/index.js} +13 -14
- package/{Breadcrumb.js → Breadcrumb/index.js} +32 -31
- package/{BusyLoader.js → BusyLoader/index.js} +11 -12
- package/{Button.js → Button/index.js} +20 -21
- package/CHANGELOG.md +56 -0
- package/{Card.js → Card/index.js} +82 -94
- package/{CardList.js → CardList/index.js} +118 -165
- package/{CellMeasurerCache-c11cec83.js → CellMeasurerCache-bc2163c1.js} +2 -2
- package/{index-0cf65939.js → Charts/index.js} +17103 -30439
- package/{Checkbox.js → Checkbox/index.js} +37 -38
- package/{CheckboxGroup.js → CheckboxGroup/index.js} +41 -42
- package/{CheckboxGroupWithSearch.js → CheckboxGroupWithSearch/index.js} +64 -65
- package/{Collapse.js → Collapse/index.js} +28 -29
- package/{ColorPicker.js → ColorPicker/index.js} +16 -16
- package/ComboBox/index.js +525 -0
- package/Counter/index.js +310 -0
- package/{DateFilter.js → DateFilter/index.js} +46 -43
- package/{DatePicker.js → DatePicker/index.js} +106 -108
- package/{index-5e722d91.js → DatePickerInput/index.js} +103 -89
- package/{Divider.js → Divider/index.js} +9 -10
- package/{Drawer.js → Drawer/index.js} +40 -41
- package/Dropdown/index.js +41 -0
- package/{Editor.js → Editor/index.js} +165 -164
- package/{Empty.js → Empty/index.js} +12 -13
- package/{ExtendedInput.js → ExtendedInput/index.js} +83 -73
- package/Form/index.js +86 -0
- package/{FormContainer.js → FormContainer/index.js} +25 -26
- package/FormableCheckbox/index.js +26 -0
- package/FormableDatePicker/index.js +42 -0
- package/FormableDropdown/index.js +48 -0
- package/FormableEditor/index.js +24 -0
- package/{FormableHOC-21051057.js → FormableHOC-55263162.js} +3 -3
- package/FormableMultiSelectDropdown/index.js +48 -0
- package/FormableNumberInput/index.js +32 -0
- package/FormableRadio/index.js +22 -0
- package/FormableSwitcher/index.js +22 -0
- package/FormableTextInput/index.js +32 -0
- package/FormableUploader/index.js +42 -0
- package/GeneUIProvider/index.js +282 -0
- package/{Grid.js → Grid/index.js} +27 -27
- package/Holder/index.js +261 -0
- package/{Icon.js → Icon/index.js} +9 -10
- package/{Image.js → Image/index.js} +29 -30
- package/ImagePreview/index.js +481 -0
- package/{KeyValue.js → KeyValue/index.js} +11 -12
- package/LICENSE +21 -0
- package/{Label.js → Label/index.js} +8 -9
- package/LinkButton/index.js +67 -0
- package/{Menu.js → Menu/index.js} +39 -34
- package/{MobileNavigation.js → MobileNavigation/index.js} +19 -20
- package/{MobilePopup.js → MobilePopup/index.js} +42 -41
- package/{Modal.js → Modal/index.js} +39 -40
- package/ModuleTitle/index.js +143 -0
- package/{NavigationMenu.js → NavigationMenu/index.js} +44 -35
- package/{Notification.js → Notification/index.js} +24 -25
- package/{Option.js → Option/index.js} +37 -39
- package/Overlay/index.js +189 -0
- package/{Overspread.js → Overspread/index.js} +65 -121
- package/{Pagination.js → Pagination/index.js} +35 -34
- package/Paper/index.js +96 -0
- package/{index-a4635754.js → Popover/index.js} +48 -58
- package/{index-702bf24a.js → PopoverV2/index.js} +57 -1006
- package/{Portal.js → Portal/index.js} +7 -8
- package/{Products.js → Products/index.js} +20 -21
- package/Profile/index.js +585 -0
- package/{Progress.js → Progress/index.js} +24 -25
- package/{QRCode.js → QRCode/index.js} +4 -6
- package/{Radio.js → Radio/index.js} +25 -26
- package/{RadioGroup.js → RadioGroup/index.js} +17 -18
- package/{index-00fe8887.js → Range/index.js} +29 -32
- package/RichEditor/index.js +13 -0
- package/{RichEditor-b7928765.js → RichEditor-8b9c3afa.js} +18 -18
- package/{Scrollbar.js → Scrollbar/index.js} +15 -17
- package/{Search.js → Search/index.js} +25 -24
- package/{SearchWithDropdown.js → SearchWithDropdown/index.js} +47 -104
- package/{Section.js → Section/index.js} +15 -16
- package/{SkeletonLoader.js → SkeletonLoader/index.js} +13 -14
- package/{Slider.js → Slider/index.js} +46 -43
- package/{Status.js → Status/index.js} +23 -24
- package/{Steps.js → Steps/index.js} +42 -41
- package/{index-5cea9a7d.js → SuggestionList/index.js} +15 -38
- package/{Switcher.js → Switcher/index.js} +30 -31
- package/Table/index.js +53 -0
- package/{TableCompositions.js → TableCompositions/index.js} +132 -168
- package/{Tabs.js → Tabs/index.js} +27 -28
- package/{Tag.js → Tag/index.js} +17 -18
- package/{TextLink.js → TextLink/index.js} +3 -3
- package/{Textarea.js → Textarea/index.js} +66 -65
- package/{Time.js → Time/index.js} +13 -14
- package/TimePicker/index.js +556 -0
- package/{Timeline.js → Timeline/index.js} +19 -20
- package/{Title.js → Title/index.js} +13 -14
- package/{Toaster.js → Toaster/index.js} +19 -20
- package/{Tooltip.js → Tooltip/index.js} +27 -28
- package/{TransferList.js → TransferList/index.js} +44 -55
- package/{index-d9e8a888.js → Uploader/index.js} +119 -116
- package/{ValidatableCheckbox.js → ValidatableCheckbox/index.js} +23 -24
- package/{ValidatableDatePicker.js → ValidatableDatePicker/index.js} +45 -42
- package/ValidatableDropdown/index.js +139 -0
- package/ValidatableElements/index.js +68 -0
- package/ValidatableMultiSelectDropdown/index.js +150 -0
- package/{ValidatableNumberInput.js → ValidatableNumberInput/index.js} +34 -33
- package/{ValidatableRadio.js → ValidatableRadio/index.js} +19 -20
- package/{ValidatableSwitcher.js → ValidatableSwitcher/index.js} +19 -20
- package/{ValidatableTextInput.js → ValidatableTextInput/index.js} +32 -31
- package/{ValidatableTimeInput.js → ValidatableTimeInput/index.js} +31 -30
- package/{ValidatableUploader.js → ValidatableUploader/index.js} +36 -34
- package/Widget/index.js +227 -0
- package/config-0ca92874.js +31 -0
- package/{configs-91c86664.js → configs-fed6ac34.js} +28 -1
- package/hooks/useBodyScroll.js +16 -0
- package/hooks/useClick.js +18 -0
- package/{useClickOutside-5183e396.js → hooks/useClickOutside.js} +1 -1
- package/hooks/useDebounceHook.js +16 -0
- package/{useDeviceType-dd51db38.js → hooks/useDeviceType.js} +4 -3
- package/hooks/useDidMount.js +15 -0
- package/{useEllipsisDetection-ef536015.js → hooks/useEllipsisDetection.js} +1 -1
- package/hooks/useForceUpdate.js +8 -0
- package/hooks/useImgDownload.js +18 -0
- package/{useKeyDown-38102ae7.js → hooks/useKeyDown.js} +1 -1
- package/hooks/useMount.js +13 -0
- package/hooks/useMutationObserver.js +21 -0
- package/hooks/usePrevious.js +10 -0
- package/hooks/useThrottle.js +16 -0
- package/hooks/useToggle.js +11 -0
- package/hooks/useUpdatableRef.js +14 -0
- package/hooks/useUpdate.js +10 -0
- package/{useWidth-9f4647f8.js → hooks/useWidth.js} +2 -2
- package/{useWindowSize-80369d76.js → hooks/useWindowSize.js} +1 -1
- package/index-45eafea6.js +90 -0
- package/{index-a59530cd.js → index-583e0b30.js} +1 -1
- package/{index-67f4d4d1.js → index-78d2ea5b.js} +684 -752
- package/{index-ac59cb10.js → index-a0e4e333.js} +6 -6
- package/{index-e8776f3d.js → index-b1e429a7.js} +1 -1
- package/index-bd525a3a.js +10054 -0
- package/index.d.ts +115 -0
- package/index.js +138 -113
- package/index.mobile.d.ts +16 -0
- package/jsx-runtime-57b40d9e.js +957 -0
- package/lib/atoms/Avatar/Avatar.d.ts +34 -0
- package/lib/atoms/Avatar/index.d.ts +1 -0
- package/lib/atoms/LinkButton/LinkButton.d.ts +46 -0
- package/lib/atoms/LinkButton/index.d.ts +1 -0
- package/{objectWithoutPropertiesLoose-299691d8.js → objectWithoutPropertiesLoose-d8a4a68c.js} +12 -12
- package/package.json +42 -22
- package/{rangeAndSlider-20599da4.js → rangeAndSlider-0301a458.js} +220 -375
- package/{react-beautiful-dnd.esm-38c37304.js → react-beautiful-dnd.esm-04c14563.js} +9 -9
- package/react-lifecycles-compat.es-6e1f3768.js +158 -0
- package/Avatar.js +0 -77
- package/Charts.js +0 -99
- package/ComboBox.js +0 -99
- package/Counter.js +0 -99
- package/DatePickerInput.js +0 -30
- package/Dropdown.js +0 -99
- package/Form.js +0 -116
- package/FormableCheckbox.js +0 -27
- package/FormableDatePicker.js +0 -39
- package/FormableDropdown.js +0 -105
- package/FormableEditor.js +0 -24
- package/FormableMultiSelectDropdown.js +0 -105
- package/FormableNumberInput.js +0 -31
- package/FormableRadio.js +0 -23
- package/FormableSwitcher.js +0 -23
- package/FormableTextInput.js +0 -31
- package/FormableUploader.js +0 -40
- package/GeneUIProvider.js +0 -256
- package/Holder.js +0 -99
- package/ImagePreview.js +0 -99
- package/LinkButton.js +0 -104
- package/ModuleTitle.js +0 -99
- package/Overlay.js +0 -99
- package/Paper.js +0 -97
- package/Popover.js +0 -20
- package/PopoverV2.js +0 -19
- package/Profile.js +0 -99
- package/Range.js +0 -14
- package/RichEditor.js +0 -13
- package/SuggestionList.js +0 -15
- package/Table.js +0 -102
- package/TimePicker.js +0 -99
- package/Uploader.js +0 -32
- package/ValidatableDropdown.js +0 -99
- package/ValidatableElements.js +0 -99
- package/ValidatableMultiSelectDropdown.js +0 -99
- package/Widget.js +0 -99
- package/globalStyling-9c60a159.js +0 -4
- package/index-b7a33c58.js +0 -11
- package/index-e0af0caf.js +0 -1182
- package/useMount-6fef51a5.js +0 -9
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { _ as _extends } from '
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { c as classnames } from '
|
|
5
|
-
import { s as screenTypes } from '
|
|
6
|
-
import '
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
5
|
+
import { s as screenTypes } from '../configs-fed6ac34.js';
|
|
6
|
+
import '../dateValidation-67caec66.js';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import
|
|
9
|
-
import Icon from '
|
|
10
|
-
import '
|
|
11
|
-
import
|
|
12
|
-
import '
|
|
13
|
-
import './useWindowSize-80369d76.js';
|
|
8
|
+
import useDeviceType from '../hooks/useDeviceType.js';
|
|
9
|
+
import Icon from '../Icon/index.js';
|
|
10
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
11
|
+
import '../_commonjsHelpers-24198af3.js';
|
|
12
|
+
import '../hooks/useWindowSize.js';
|
|
14
13
|
|
|
15
|
-
var css_248z = "[data-gene-ui-version=\"2.
|
|
14
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .alert-holder{background:var(--background);border-radius:.6rem;width:100%;word-break:break-word}[data-gene-ui-version=\"2.12.1\"] .toaster-holder.top .alert-holder.mobile-view:first-child,[data-gene-ui-version=\"2.12.1\"] .toaster-holder.top .alert-holder.mobile-view:first-child .alert-box{border-top-left-radius:0;border-top-right-radius:0}[data-gene-ui-version=\"2.12.1\"] .toaster-holder.bottom .alert-holder.mobile-view:last-child,[data-gene-ui-version=\"2.12.1\"] .toaster-holder.bottom .alert-holder.mobile-view:last-child .alert-box{border-bottom-left-radius:0;border-bottom-right-radius:0}[data-gene-ui-version=\"2.12.1\"] .alert-box{background:rgba(var(--confirm-rgb),.1);border:1px solid var(--confirm);border-radius:.6rem;display:flex;min-height:4.2rem;padding:.8rem .7rem;width:100%}[data-gene-ui-version=\"2.12.1\"] .alert-box.type-info{--confirm:var(--hero);--confirm-hover:var(--hero-hover);--confirm-sc:var(--hero-sc);--confirm-rgb:var(--hero-rgb);--confirm-sc-rgb:var(--hero-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .alert-box.type-warning{--confirm:var(--warning);--confirm-hover:var(--warning-hover);--confirm-sc:var(--warning-sc);--confirm-rgb:var(--warning-rgb);--confirm-sc-rgb:var(--warning-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .alert-box.type-error{--confirm:var(--danger);--confirm-hover:var(--danger-hover);--confirm-sc:var(--danger-sc);--confirm-rgb:var(--danger-rgb);--confirm-sc-rgb:var(--danger-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .alert-box.type-note{--confirm:var(--note);--confirm-hover:var(--note-hover);--confirm-sc:var(--note-sc);--confirm-rgb:var(--note-rgb);--confirm-sc-rgb:var(--note-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .alert-box.type-message{--confirm:var(--message);--confirm-hover:var(--message-hover);--confirm-sc:var(--message-sc);--confirm-rgb:var(--message-rgb);--confirm-sc-rgb:var(--message-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .alert-holder.mobile-view .alert-box{border-bottom-color:rgba(var(--background-sc-rgb),.1);border-width:0 0 1px}[data-gene-ui-version=\"2.12.1\"] .toaster-holder:not(.top,.bottom,.center) .alert-holder.mobile-view .alert-box{border-radius:0}[data-gene-ui-version=\"2.12.1\"] .alert-box>li{flex-shrink:0;padding:0 .7rem}[data-gene-ui-version=\"2.12.1\"] .alert-box>li.ab-c-c{align-self:center;flex:auto;margin:.4rem 0}[data-gene-ui-version=\"2.12.1\"] .alert-box>li.ab-bc-icon-c{max-width:100%}[data-gene-ui-version=\"2.12.1\"] .alert-box>li a,[data-gene-ui-version=\"2.12.1\"] .alert-box>li.ab-bc-icon-c{color:var(--confirm)}[data-gene-ui-version=\"2.12.1\"] .alert-box .bc-icon-close{cursor:pointer}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .alert-box .bc-icon-close:hover{color:var(--confirm)}}[data-gene-ui-version=\"2.12.1\"] .alert-box a{color:var(--hero);font-weight:600}[data-gene-ui-version=\"2.12.1\"] .alert-box-title{font:600 1.4rem/1.8rem var(--font-family)}[data-gene-ui-version=\"2.12.1\"] .alert-text{font:600 1.2rem/1.42 var(--font-family);margin:.8rem 0 0}";
|
|
16
15
|
styleInject(css_248z);
|
|
17
16
|
|
|
18
17
|
const alertTypes = ['success', 'info', 'warning', 'error', 'note', 'message'];
|
|
@@ -58,38 +57,38 @@ Alert.propTypes = {
|
|
|
58
57
|
/**
|
|
59
58
|
* Alert type is for specifying information message to be delivered. Also a corresponding "Icon" atom will be displayed
|
|
60
59
|
*/
|
|
61
|
-
type:
|
|
60
|
+
type: PropTypes.oneOf(alertTypes),
|
|
62
61
|
/**
|
|
63
62
|
* Main field to describe alert information. Any valid React node
|
|
64
63
|
*/
|
|
65
|
-
title:
|
|
64
|
+
title: PropTypes.node.isRequired,
|
|
66
65
|
/**
|
|
67
66
|
* Additional classname
|
|
68
67
|
*/
|
|
69
|
-
className:
|
|
68
|
+
className: PropTypes.string,
|
|
70
69
|
/**
|
|
71
70
|
* Use this field for describing information more verbose. Any valid React node
|
|
72
71
|
*/
|
|
73
|
-
message:
|
|
72
|
+
message: PropTypes.node,
|
|
74
73
|
/**
|
|
75
74
|
* The switch between mobile and desktop version of Alert will be applied automatically, when the prop is not specified.
|
|
76
75
|
* When the prop is present it must be changed from outside.
|
|
77
76
|
*/
|
|
78
|
-
screenType:
|
|
77
|
+
screenType: PropTypes.oneOf(screenTypes),
|
|
79
78
|
/**
|
|
80
79
|
* When function is passed an "Icon" atom("type": "bc-icon-close") will be displayed((event: Event) => void).
|
|
81
80
|
*/
|
|
82
|
-
onClose:
|
|
81
|
+
onClose: PropTypes.func,
|
|
83
82
|
/**
|
|
84
83
|
* Same as "Icon" atom props
|
|
85
84
|
*/
|
|
86
|
-
iconProps:
|
|
85
|
+
iconProps: PropTypes.shape({
|
|
87
86
|
...Icon.propTypes
|
|
88
87
|
}),
|
|
89
88
|
/**
|
|
90
89
|
* Use this prop for replace main "Icon". Note that when the prop is specified "type" prop will not work(will be overlooked).
|
|
91
90
|
*/
|
|
92
|
-
swapIcon:
|
|
91
|
+
swapIcon: PropTypes.node
|
|
93
92
|
};
|
|
94
93
|
Alert.defaultProps = {
|
|
95
94
|
type: 'info'
|
package/Avatar/index.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
3
|
+
import { r as getInitials, n as noop } from '../index-a0e4e333.js';
|
|
4
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
5
|
+
import 'prop-types';
|
|
6
|
+
import '../dateValidation-67caec66.js';
|
|
7
|
+
import '../_commonjsHelpers-24198af3.js';
|
|
8
|
+
import 'react-dom';
|
|
9
|
+
|
|
10
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .user-avatar-c{--size:2.6rem;background:var(--background-sc) no-repeat 50% 50%/cover;border-radius:.3rem;box-shadow:0 0 0 0 rgba(var(--background-sc-rgb),.2);color:var(--background);font:600 calc(var(--size)/2.3)/var(--size) var(--font-family);height:var(--size);text-align:center;transition:box-shadow .3s;width:var(--size)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.clickable{cursor:pointer}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.clickable:hover{box-shadow:0 0 0 .3rem rgba(var(--background-sc-rgb),.2)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c:not(.color-default){background:var(--background) no-repeat 50% 50%/cover;box-shadow:0 0 0 0 rgba(var(--background-rgb),.2);color:var(--background-sc)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c:not(.color-default).clickable:hover{box-shadow:0 0 0 .3rem rgba(var(--background-rgb),.2)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.color-green{--background:var(--confirm);--background-hover:var(--confirm-hover);--background-sc:var(--confirm-sc);--background-rgb:var(--confirm-rgb);--background-sc-rgb:var(--confirm-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.color-red{--background:var(--danger);--background-hover:var(--danger-hover);--background-sc:var(--danger-sc);--background-rgb:var(--danger-rgb);--background-sc-rgb:var(--danger-sc-rgb)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.shape-circle{border-radius:100%}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.text-small{font-size:calc(var(--size)/2.5)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c[class*=bc-icon-]{font-size:calc(var(--size)/2);line-height:var(--size)}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.size-small{--size:2.2rem}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.size-medium{--size:3.6rem}[data-gene-ui-version=\"2.12.1\"] .user-avatar-c.size-big{--size:4.6rem}";
|
|
11
|
+
styleInject(css_248z);
|
|
12
|
+
|
|
13
|
+
const Avatar = ({ src, icon, size, color, shape, onClick, children }) => {
|
|
14
|
+
return (React__default.createElement("div", { className: classnames('user-avatar-c', {
|
|
15
|
+
[`size-${size}`]: size,
|
|
16
|
+
[`color-${color}`]: color,
|
|
17
|
+
[`shape-${shape}`]: shape,
|
|
18
|
+
[icon]: !src && icon,
|
|
19
|
+
'text-small': typeof children === 'string' && children.length > 1,
|
|
20
|
+
clickable: !!onClick
|
|
21
|
+
}), style: { backgroundImage: src ? `url(${src})` : '' }, onClick: onClick }, !src && !icon && children && getInitials(children)));
|
|
22
|
+
};
|
|
23
|
+
Avatar.defaultProps = {
|
|
24
|
+
onClick: noop,
|
|
25
|
+
size: 'default',
|
|
26
|
+
color: 'default',
|
|
27
|
+
shape: 'circle'
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { Avatar as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { _ as _extends } from '
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { c as classnames } from '
|
|
5
|
-
import '
|
|
6
|
-
import { s as styleInject } from '
|
|
7
|
-
import { badgeConfig } from './configs.js';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
5
|
+
import { b as badgeConfig } from '../configs-fed6ac34.js';
|
|
6
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
8
7
|
|
|
9
|
-
var css_248z = "[data-gene-ui-version=\"2.
|
|
8
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .badge{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;position:relative}[data-gene-ui-version=\"2.12.1\"] .badge__content{background:var(--danger);border-radius:3rem;color:var(--danger-sc);display:block;font:600 1rem/1.6rem var(--font-family);min-width:1.6rem;padding:0 .5rem;text-align:center}[data-gene-ui-version=\"2.12.1\"] .badge__content-children{position:absolute;top:-.8rem}html:not([dir=rtl]) .badge__content-children{right:-.8rem}html[dir=rtl] .badge__content-children{left:-.8rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-dot{height:1rem;min-height:1rem;min-width:1rem;top:-.5rem;width:1rem}html:not([dir=rtl]) .badge__content-dot{right:-.5rem}html[dir=rtl] .badge__content-dot{left:-.5rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-medium{line-height:1.8rem;min-height:1.8rem;min-width:1.8rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-big{line-height:2.2rem;min-height:2.2rem;min-width:2.2rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-huge{font-size:1.3rem;line-height:2.6rem;min-height:2.6rem;min-width:2.6rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-big,[data-gene-ui-version=\"2.12.1\"] .badge__content-huge,[data-gene-ui-version=\"2.12.1\"] .badge__content-medium{top:-1rem}html:not([dir=rtl]) .badge__content-big,html:not([dir=rtl]) .badge__content-huge,html:not([dir=rtl]) .badge__content-medium{right:-1rem}html[dir=rtl] .badge__content-big,html[dir=rtl] .badge__content-huge,html[dir=rtl] .badge__content-medium{left:-1rem}[data-gene-ui-version=\"2.12.1\"] .badge__content-primary{background:var(--hero)}";
|
|
10
9
|
styleInject(css_248z);
|
|
11
10
|
|
|
12
11
|
const getShowValue = (count, maxCount) => {
|
|
@@ -41,31 +40,31 @@ Badge.propTypes = {
|
|
|
41
40
|
/**
|
|
42
41
|
* Any valid React node
|
|
43
42
|
*/
|
|
44
|
-
children:
|
|
43
|
+
children: PropTypes.node,
|
|
45
44
|
/**
|
|
46
45
|
* Any custom class name
|
|
47
46
|
*/
|
|
48
|
-
className:
|
|
47
|
+
className: PropTypes.string,
|
|
49
48
|
/**
|
|
50
49
|
* Badge size
|
|
51
50
|
*/
|
|
52
|
-
size:
|
|
51
|
+
size: PropTypes.oneOf(badgeConfig.size),
|
|
53
52
|
/**
|
|
54
53
|
* Badge color
|
|
55
54
|
*/
|
|
56
|
-
color:
|
|
55
|
+
color: PropTypes.oneOf(badgeConfig.color),
|
|
57
56
|
/**
|
|
58
57
|
* Shows the specified number on the badge
|
|
59
58
|
*/
|
|
60
|
-
count:
|
|
59
|
+
count: PropTypes.number,
|
|
61
60
|
/**
|
|
62
61
|
* Set this property to have only dot instead of number
|
|
63
62
|
*/
|
|
64
|
-
dot:
|
|
63
|
+
dot: PropTypes.bool,
|
|
65
64
|
/**
|
|
66
65
|
* When the "count" is greater than "maxCount" Badge will show "maxCount" value and "+"
|
|
67
66
|
*/
|
|
68
|
-
maxCount:
|
|
67
|
+
maxCount: PropTypes.number
|
|
69
68
|
};
|
|
70
69
|
Badge.defaultProps = {
|
|
71
70
|
dot: false,
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { _ as _extends } from '
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
2
|
import React__default, { useState, useCallback, Fragment } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { c as classnames } from '
|
|
5
|
-
import { n as noop } from '
|
|
6
|
-
import Button from '
|
|
7
|
-
import
|
|
8
|
-
import Icon from '
|
|
9
|
-
import Menu from '
|
|
10
|
-
import '
|
|
11
|
-
import
|
|
12
|
-
import '
|
|
13
|
-
import './_commonjsHelpers-24198af3.js';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
5
|
+
import { n as noop } from '../index-a0e4e333.js';
|
|
6
|
+
import Button from '../Button/index.js';
|
|
7
|
+
import Popover from '../Popover/index.js';
|
|
8
|
+
import Icon from '../Icon/index.js';
|
|
9
|
+
import Menu from '../Menu/index.js';
|
|
10
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
11
|
+
import '../dateValidation-67caec66.js';
|
|
12
|
+
import '../_commonjsHelpers-24198af3.js';
|
|
14
13
|
import 'react-dom';
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import '
|
|
19
|
-
import '
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
14
|
+
import '../Popover-f4d1cac0.js';
|
|
15
|
+
import '../index-122432cd.js';
|
|
16
|
+
import '../hooks/useDeviceType.js';
|
|
17
|
+
import '../configs-fed6ac34.js';
|
|
18
|
+
import '../hooks/useWindowSize.js';
|
|
19
|
+
import '../hooks/useUpdatableRef.js';
|
|
20
|
+
import '../hooks/useForceUpdate.js';
|
|
21
|
+
import '../GeneUIProvider/index.js';
|
|
22
|
+
import '../Portal/index.js';
|
|
23
|
+
import '../Scrollbar/index.js';
|
|
24
|
+
import '../guid-8ddf77b3.js';
|
|
25
|
+
import '../Option/index.js';
|
|
26
|
+
import '../hooks/useEllipsisDetection.js';
|
|
27
|
+
import '../Tooltip/index.js';
|
|
27
28
|
|
|
28
29
|
function BreadcrumbItem(_ref) {
|
|
29
30
|
let {
|
|
@@ -39,7 +40,7 @@ function BreadcrumbItem(_ref) {
|
|
|
39
40
|
}, data.title);
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
var css_248z = "[data-gene-ui-version=\"2.
|
|
43
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .bread-crumbs-holder{align-items:center;display:flex;font-weight:600;justify-content:flex-start;min-height:3.6rem;width:100%}[data-gene-ui-version=\"2.12.1\"] .bread-crumbs-holder>*+:not(button){margin:0 0 0 1rem}html[dir=rtl] .bread-crumbs-holder>*+:not(button){margin:0 1rem 0 0}[data-gene-ui-version=\"2.12.1\"] .bread-crumbs-holder>button{margin:0 .4rem}[data-gene-ui-version=\"2.12.1\"] .bread-crumbs-holder>button+.icon,html[dir=rtl] .bread-crumbs-holder>button+.icon{margin:0}[data-gene-ui-version=\"2.12.1\"] .breadcrumbs-link{color:inherit;cursor:pointer}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .breadcrumbs-link:hover{color:var(--hero)}}[data-gene-ui-version=\"2.12.1\"] .breadcrumbs-link.active{color:var(--hero)}";
|
|
43
44
|
styleInject(css_248z);
|
|
44
45
|
|
|
45
46
|
function Breadcrumb(_ref) {
|
|
@@ -97,25 +98,25 @@ Breadcrumb.propTypes = {
|
|
|
97
98
|
/**
|
|
98
99
|
* Data items to display
|
|
99
100
|
*/
|
|
100
|
-
data:
|
|
101
|
-
title:
|
|
101
|
+
data: PropTypes.arrayOf(PropTypes.shape({
|
|
102
|
+
title: PropTypes.node.isRequired
|
|
102
103
|
})).isRequired,
|
|
103
104
|
/**
|
|
104
105
|
* Additional className
|
|
105
106
|
*/
|
|
106
|
-
className:
|
|
107
|
+
className: PropTypes.string,
|
|
107
108
|
/**
|
|
108
109
|
* Breadcrumbs will render collapsed view when "data" length is greater than 4, when set to "true"
|
|
109
110
|
*/
|
|
110
|
-
collapsed:
|
|
111
|
+
collapsed: PropTypes.bool,
|
|
111
112
|
/**
|
|
112
113
|
* Fires an event on breadcrumb item click((item: data[item] => void))
|
|
113
114
|
*/
|
|
114
|
-
onClick:
|
|
115
|
+
onClick: PropTypes.func,
|
|
115
116
|
/**
|
|
116
117
|
* Use this prop to define the middle component between breadcrumb items.
|
|
117
118
|
*/
|
|
118
|
-
separator:
|
|
119
|
+
separator: PropTypes.node
|
|
119
120
|
};
|
|
120
121
|
Breadcrumb.defaultProps = {
|
|
121
122
|
collapsed: false,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import
|
|
3
|
-
import { c as classnames } from '
|
|
4
|
-
import Icon from '
|
|
5
|
-
import '
|
|
6
|
-
import
|
|
7
|
-
import './_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
4
|
+
import Icon from '../Icon/index.js';
|
|
5
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
6
|
+
import '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
8
7
|
|
|
9
|
-
var css_248z = "[data-gene-ui-version=\"2.
|
|
8
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .loader-holder{align-items:center;color:var(--hero);display:flex;flex-direction:column;margin:auto;position:relative;text-align:center}[data-gene-ui-version=\"2.12.1\"] .loader-holder.p-static{margin:6rem}[data-gene-ui-version=\"2.12.1\"] .loader-holder.p-absolute{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}[data-gene-ui-version=\"2.12.1\"] .loader-holder .s-medium{font-size:2.8rem}[data-gene-ui-version=\"2.12.1\"] .loader-holder .s-big{font-size:5.4rem}[data-gene-ui-version=\"2.12.1\"] .loader-text{font:600 1.6rem/2rem var(--font-family);margin:1rem 0 0}[data-gene-ui-version=\"2.12.1\"] .bubble-loader{animation:sk-rotate 2s linear infinite;height:6.6rem;position:relative;width:6.6rem}@keyframes sk-rotate{to{transform:rotate(1turn)}}[data-gene-ui-version=\"2.12.1\"] .bubble-loader .dot{animation:sk-bounce 2s ease-in-out infinite;background:var(--hero);border-radius:100%;height:60%;position:absolute;top:0;width:60%}@keyframes sk-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}[data-gene-ui-version=\"2.12.1\"] .bubble-loader .dot2{animation-delay:-1s;bottom:0;top:auto}[data-gene-ui-version=\"2.12.1\"] .bar-loader{height:.6rem;left:0;overflow:hidden;position:fixed;top:calc(var(--header-height, .6rem) - .6rem);width:100%}[data-gene-ui-version=\"2.12.1\"] .bar-loader:before{animation:bar-loader .8s linear infinite;background:linear-gradient(270deg,#7eb8ff 30%,#8d14e6 50%,#7eb8ff 70%) no-repeat 50% 50%/100vw .6rem;content:\"\";display:block;height:100%;left:50%;max-width:0;opacity:0;overflow:hidden;position:absolute;top:0;transform:translateX(-50%);width:100%}@keyframes bar-loader{0%,to{opacity:0}10%,90%{opacity:1}0%{max-width:0}to{max-width:100%}}";
|
|
10
9
|
styleInject(css_248z);
|
|
11
10
|
|
|
12
11
|
function BubbleLoader() {
|
|
@@ -41,23 +40,23 @@ BusyLoader.propTypes = {
|
|
|
41
40
|
/**
|
|
42
41
|
* Show loader
|
|
43
42
|
*/
|
|
44
|
-
isBusy:
|
|
43
|
+
isBusy: PropTypes.bool,
|
|
45
44
|
/**
|
|
46
45
|
* Any valid React node. Renders when "isBusy" is set to false
|
|
47
46
|
*/
|
|
48
|
-
children:
|
|
47
|
+
children: PropTypes.node,
|
|
49
48
|
/**
|
|
50
49
|
* Show some text when loading
|
|
51
50
|
*/
|
|
52
|
-
loadingText:
|
|
51
|
+
loadingText: PropTypes.string,
|
|
53
52
|
/**
|
|
54
53
|
* Loader available type/style
|
|
55
54
|
*/
|
|
56
|
-
type:
|
|
55
|
+
type: PropTypes.oneOf(['spinner', 'bubbles', 'bar']),
|
|
57
56
|
/**
|
|
58
57
|
* Loader size
|
|
59
58
|
*/
|
|
60
|
-
spinnerSize:
|
|
59
|
+
spinnerSize: PropTypes.oneOf(['small', 'medium', 'big'])
|
|
61
60
|
};
|
|
62
61
|
BusyLoader.defaultProps = {
|
|
63
62
|
isBusy: true,
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { _ as _extends } from '
|
|
1
|
+
import { _ as _extends } from '../_rollupPluginBabelHelpers-e8fb2e5c.js';
|
|
2
2
|
import React__default, { forwardRef } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { c as classnames } from '
|
|
5
|
-
import Icon from '
|
|
6
|
-
import '
|
|
7
|
-
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import { c as classnames } from '../index-6ff23041.js';
|
|
5
|
+
import Icon from '../Icon/index.js';
|
|
6
|
+
import { s as styleInject } from '../style-inject.es-746bb8ed.js';
|
|
8
7
|
|
|
9
|
-
var css_248z = "[data-gene-ui-version=\"2.
|
|
8
|
+
var css_248z = "[data-gene-ui-version=\"2.12.1\"] .btn{--size:3.6rem;align-items:center;border:1px solid #0000;border-radius:var(--button-external-border-radius,var(--button-external-size,var(--size)));color:inherit;cursor:pointer;display:flex;font:600 1.4rem/2rem var(--font-family);justify-content:center;min-height:var(--button-external-size,var(--size));min-width:var(--button-external-size,var(--size));position:relative;transition:color .3s,background .3s,opacity .2s;-webkit-user-select:none;user-select:none}[data-gene-ui-version=\"2.12.1\"] .btn:focus-visible{border-radius:var(--button-external-border-radius,var(--button-external-size,var(--size)));outline:.2rem var(--hero) solid}[data-gene-ui-version=\"2.12.1\"] .btn:disabled{opacity:.5;pointer-events:none}[data-gene-ui-version=\"2.12.1\"] .btn.s-medium{--size:3.2rem;font-size:1.2rem}[data-gene-ui-version=\"2.12.1\"] .btn.s-big{--size:4.2rem}[data-gene-ui-version=\"2.12.1\"] .btn.cr-smooth{border-radius:var(--button-external-border-radius,.4rem)}[data-gene-ui-version=\"2.12.1\"] .btn>*+*{margin:0 0 0 .4rem}html[dir=rtl] .btn>*+*{margin:0 .4rem 0 0}[data-gene-ui-version=\"2.12.1\"] .btn.id-end{flex-direction:row-reverse}[data-gene-ui-version=\"2.12.1\"] .btn.id-end>*+*{margin:0 .7rem 0 0}html[dir=rtl] .btn.id-end>*+*{margin:0 0 0 .7rem}[data-gene-ui-version=\"2.12.1\"] .btn:not(.c-icon){padding:0 2rem}[data-gene-ui-version=\"2.12.1\"] .btn:not(.c-icon).f-content-size{padding:0 1.3rem}[data-gene-ui-version=\"2.12.1\"] .btn:not(.c-icon).f-default{min-width:10rem}[data-gene-ui-version=\"2.12.1\"] .btn:not(.c-icon).f-full-width{width:100%}[data-gene-ui-version=\"2.12.1\"] .btn:not(.c-icon).loading-padding{padding:0 .6rem}[data-gene-ui-version=\"2.12.1\"] .btn.c-confirm{--hero:var(--confirm);--hero-sc:var(--confirm-sc);--hero-hover:var(--confirm-hover)}[data-gene-ui-version=\"2.12.1\"] .btn.c-danger{--hero:var(--danger);--hero-sc:var(--danger-sc);--hero-hover:var(--danger-hover)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-outline{border-color:var(--hero);color:var(--hero)}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-outline:hover{background:var(--hero);color:var(--hero-sc)}}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-outline:active{background:var(--hero);color:var(--hero-sc)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-minimal:not(.c-default){color:var(--hero)}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-minimal:hover{background:rgba(var(--background-sc-rgb),.03)}}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-minimal.active{background:rgba(var(--background-sc-rgb),.03)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-grayscale:not(:disabled){background:rgba(var(--background-sc-rgb),.01)}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-grayscale:not(:disabled):hover{background:rgba(var(--background-sc-rgb),.03)}}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-grayscale:not(:disabled).active{background:rgba(var(--background-sc-rgb),.03)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-grayscale:not(.c-default){color:var(--hero)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-clean:not(.c-default){color:rgba(var(--background-sc-rgb),.6)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-clean:not(:disabled){background:rgba(var(--hero-rgb),.1);color:var(--hero)}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-clean:not(:disabled):hover{background:var(--hero);color:var(--hero-sc)}}[data-gene-ui-version=\"2.12.1\"] .btn:not(.active).a-clean:not(:disabled).active{background:var(--hero);color:var(--hero-sc)}[data-gene-ui-version=\"2.12.1\"] .btn:not(.a-grayscale).with-shadow{box-shadow:0 .2rem .4rem 0 #0000001a}[data-gene-ui-version=\"2.12.1\"] .btn.a-grayscale:not(:disabled){box-shadow:0 1px 0 0 #00000029}[data-gene-ui-version=\"2.12.1\"] .btn.a-default,[data-gene-ui-version=\"2.12.1\"] .btn.active{background:var(--hero);color:var(--hero-sc)}@media (hover:hover){[data-gene-ui-version=\"2.12.1\"] .btn.a-default:hover,[data-gene-ui-version=\"2.12.1\"] .btn.active:hover{background:var(--hero-hover)}}[data-gene-ui-version=\"2.12.1\"] .btn.loading-state>:not(.btn-loader-holder){color:#0000!important}[data-gene-ui-version=\"2.12.1\"] .btn .btn-loader-holder{left:50%;margin:0;position:absolute;top:50%;transform:translate(-50%,-50%)}";
|
|
10
9
|
styleInject(css_248z);
|
|
11
10
|
|
|
12
11
|
const Button = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -63,59 +62,59 @@ Button.propTypes = {
|
|
|
63
62
|
/**
|
|
64
63
|
* Any valid React node
|
|
65
64
|
*/
|
|
66
|
-
children:
|
|
65
|
+
children: PropTypes.node,
|
|
67
66
|
/**
|
|
68
67
|
* The way how the Button should be displayed
|
|
69
68
|
*/
|
|
70
|
-
appearance:
|
|
69
|
+
appearance: PropTypes.oneOf(ButtonConfig.appearance),
|
|
71
70
|
/**
|
|
72
71
|
* Button size
|
|
73
72
|
*/
|
|
74
|
-
size:
|
|
73
|
+
size: PropTypes.oneOf(ButtonConfig.size),
|
|
75
74
|
/**
|
|
76
75
|
* How to display inscription in relation to it's parent in Button
|
|
77
76
|
*/
|
|
78
|
-
flexibility:
|
|
77
|
+
flexibility: PropTypes.oneOf(ButtonConfig.flexibility),
|
|
79
78
|
/**
|
|
80
79
|
* Button color
|
|
81
80
|
*/
|
|
82
|
-
color:
|
|
81
|
+
color: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(ButtonConfig.color)]),
|
|
83
82
|
/**
|
|
84
83
|
* Button children direction either from the start, or from the end
|
|
85
84
|
*/
|
|
86
|
-
itemsDirection:
|
|
85
|
+
itemsDirection: PropTypes.oneOf(ButtonConfig.itemsDirection),
|
|
87
86
|
/**
|
|
88
87
|
* Button corner radius
|
|
89
88
|
*/
|
|
90
|
-
cornerRadius:
|
|
89
|
+
cornerRadius: PropTypes.oneOf(ButtonConfig.cornerRadius),
|
|
91
90
|
/**
|
|
92
91
|
* The property will add an "Icon" as Button child. The valid values can be found in "Icon" atom
|
|
93
92
|
*/
|
|
94
|
-
icon:
|
|
93
|
+
icon: PropTypes.string,
|
|
95
94
|
/**
|
|
96
95
|
* Button disabled state
|
|
97
96
|
*/
|
|
98
|
-
disabled:
|
|
97
|
+
disabled: PropTypes.bool,
|
|
99
98
|
/**
|
|
100
99
|
* Button active state
|
|
101
100
|
*/
|
|
102
|
-
active:
|
|
101
|
+
active: PropTypes.bool,
|
|
103
102
|
/**
|
|
104
103
|
* Adding shadow to button
|
|
105
104
|
*/
|
|
106
|
-
withShadow:
|
|
105
|
+
withShadow: PropTypes.bool,
|
|
107
106
|
/**
|
|
108
107
|
* Button additianl className
|
|
109
108
|
*/
|
|
110
|
-
className:
|
|
109
|
+
className: PropTypes.string,
|
|
111
110
|
/**
|
|
112
111
|
* Button text transforms to spinner
|
|
113
112
|
*/
|
|
114
|
-
loading:
|
|
113
|
+
loading: PropTypes.bool,
|
|
115
114
|
/**
|
|
116
115
|
* aria-label for button.
|
|
117
116
|
*/
|
|
118
|
-
ariaLabel:
|
|
117
|
+
ariaLabel: PropTypes.string
|
|
119
118
|
};
|
|
120
119
|
Button.defaultProps = {
|
|
121
120
|
appearance: ButtonConfig.appearance[0],
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [2.12.1](https://github.com/softconstruct/gene-ui-components/compare/v2.11.2...v2.12.1) (2024-01-11)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **CommitMessage:** disable scope lowercase functional in the git-cz package
|
|
8
|
+
([#46](https://github.com/softconstruct/gene-ui-components/issues/46))
|
|
9
|
+
([120bebe](https://github.com/softconstruct/gene-ui-components/commit/120bebe883430c04ebd8b0aea09408809a3f8e3a))
|
|
10
|
+
- **Component-stage:** fix and improve component-stage
|
|
11
|
+
([b244edb](https://github.com/softconstruct/gene-ui-components/commit/b244edbdaca3d1d3415df8c59a15cef51d7dbbbe))
|
|
12
|
+
- **DatePickerInput:** close picker popover after value selection
|
|
13
|
+
([#48](https://github.com/softconstruct/gene-ui-components/issues/48))
|
|
14
|
+
([e58be53](https://github.com/softconstruct/gene-ui-components/commit/e58be53709630eb00cacf089c767c91aa3021675))
|
|
15
|
+
- **Dropdown:** input truncated text blinking fix
|
|
16
|
+
([#37](https://github.com/softconstruct/gene-ui-components/issues/37))
|
|
17
|
+
([19f4e54](https://github.com/softconstruct/gene-ui-components/commit/19f4e54bb3fb37d6acefd7e55480ea82dba9c5a7))
|
|
18
|
+
- **Dropdown:** open by tab key will autofocus to searhc input
|
|
19
|
+
([d2a130b](https://github.com/softconstruct/gene-ui-components/commit/d2a130bbf65dfa8b47337fd4df8f91ec44ec7efa))
|
|
20
|
+
- **Dropdown:** remove Dropdown search input autofocus
|
|
21
|
+
([be5b4e6](https://github.com/softconstruct/gene-ui-components/commit/be5b4e6802a31545f6fca86b2bfcd1959e1cf003))
|
|
22
|
+
- **Module:** remove undefined modules exports from the library entry point
|
|
23
|
+
([c2d32c2](https://github.com/softconstruct/gene-ui-components/commit/c2d32c2c68924477957f8016c79a67522d623b9c))
|
|
24
|
+
- **Stories:** import and export changes
|
|
25
|
+
([896ce5c](https://github.com/softconstruct/gene-ui-components/commit/896ce5c2484c03a5fd020991f0c5757e0203dae1))
|
|
26
|
+
- **Theming:** dark and light mode fix
|
|
27
|
+
([a7c3c24](https://github.com/softconstruct/gene-ui-components/commit/a7c3c2461614e6f810d67eee13e0b50ec6de969e))
|
|
28
|
+
- **Version-select:** version select container fix
|
|
29
|
+
([e57c363](https://github.com/softconstruct/gene-ui-components/commit/e57c3635ee8d0d3422c9db82f6bb6d151e040a10))
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
- **Addon-jest:** add test addon to storybook
|
|
34
|
+
([d3849b2](https://github.com/softconstruct/gene-ui-components/commit/d3849b20375b17d803e3bf6ee3163352bce84d81))
|
|
35
|
+
- **Table:** add copied tooltip text for table col element
|
|
36
|
+
([#36](https://github.com/softconstruct/gene-ui-components/issues/36))
|
|
37
|
+
([356b35a](https://github.com/softconstruct/gene-ui-components/commit/356b35ae66b419bea53b4826a8df6197ecfa3074))
|
|
38
|
+
- **Test:** add jest, enzyme and setup testing env
|
|
39
|
+
([c91f9d9](https://github.com/softconstruct/gene-ui-components/commit/c91f9d94949ea61ec246760e8588e339fe2b2188))
|
|
40
|
+
- **Typescript:** add ts support, remove some redundant modules, change tree shake logic
|
|
41
|
+
([58838da](https://github.com/softconstruct/gene-ui-components/commit/58838da2b3c2ad8effaf64649d97cbb4444dfd44))
|
|
42
|
+
|
|
43
|
+
# 2.11.2 (2023-11-25)
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
- **ExtendedInput:** remove space in the beginning of
|
|
48
|
+
placeholder([#20](https://github.com/softconstruct/gene-ui-components/issues/20))
|
|
49
|
+
- **MapChart:** set animation prop to false ([#21](https://github.com/softconstruct/gene-ui-components/issues/21))
|
|
50
|
+
- **NavigationMenu:** change a tag styles and header visibility
|
|
51
|
+
logic([#28](https://github.com/softconstruct/gene-ui-components/issues/28))
|
|
52
|
+
- **Profile:** add custom avatar option to Profile
|
|
53
|
+
component([#26](https://github.com/softconstruct/gene-ui-components/issues/26))
|
|
54
|
+
- **Table:** add row index value in useDrag hook callback
|
|
55
|
+
function([#32](https://github.com/softconstruct/gene-ui-components/issues/32))
|
|
56
|
+
- **table:** remove animation from the table component row
|
|
57
|
+
actions([#23](https://github.com/softconstruct/gene-ui-components/issues/23))
|
|
58
|
+
|
|
3
59
|
# 2.11.0 (2023-11-15)
|
|
4
60
|
|
|
5
61
|
### Bug Fixes
|