@geneui/components 3.0.0-next-7221a3a-16092024 → 3.0.0-next-9230252-17092024
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 +1 -1
- package/AdvancedSearch/index.js +2 -2
- package/Alert/index.js +1 -1
- package/Breadcrumb/index.js +1 -1
- package/Card/index.js +1 -1
- package/CardList/index.js +4 -4
- package/{CellMeasurerCache-dbb3a6e5.js → CellMeasurerCache-a1dbe54e.js} +1 -1
- package/Charts/index.js +1 -1
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/CheckboxGroupWithSearch/index.js +1 -1
- package/ComboBox/index.js +1 -1
- package/Copy/index.js +1 -1
- package/Counter/index.js +1 -1
- package/DateFilter/index.js +2 -2
- package/DatePickerInput/index.js +2 -2
- package/Drawer/index.js +1 -1
- package/Dropdown/index.js +3 -3
- package/Editor/index.js +1 -1
- package/ExtendedInput/index.js +1 -1
- package/Form/index.js +4 -4
- package/FormableCheckbox/index.js +2 -2
- package/FormableDatePicker/index.js +3 -3
- package/FormableDropdown/index.js +4 -4
- package/FormableEditor/index.js +2 -2
- package/{FormableHOC-c02b8928.js → FormableHOC-70f027f8.js} +1 -1
- package/FormableMultiSelectDropdown/index.js +4 -4
- package/FormableNumberInput/index.js +2 -2
- package/FormableRadio/index.js +2 -2
- package/FormableSwitcher/index.js +2 -2
- package/FormableTextInput/index.js +2 -2
- package/FormableUploader/index.js +2 -2
- package/GeneUIProvider/index.js +1 -1
- package/Grid/index.js +1 -1
- package/HelperText/index.js +119 -0
- package/Holder/index.js +1 -1
- package/Image/index.js +1 -1
- package/ImagePreview/index.js +1 -1
- package/InteractiveWidget/index.js +1 -1
- package/Menu/index.js +1 -1
- package/MobilePopup/index.js +1 -1
- package/Modal/index.js +1 -1
- package/ModuleTitle/index.js +1 -1
- package/NavigationMenu/index.js +1 -1
- package/Notification/index.js +1 -1
- package/Option/index.js +1 -1
- package/Overlay/index.js +1 -1
- package/Overspread/index.js +3 -3
- package/Pagination/index.js +1 -1
- package/Popover/index.js +1 -1
- package/PopoverV2/index.js +2 -2
- package/Products/index.js +1 -1
- package/Profile/index.js +1 -1
- package/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 +1 -1
- package/SearchWithDropdown/index.js +3 -3
- package/Section/index.js +1 -1
- package/Slider/index.js +1 -1
- package/Status/index.js +1 -1
- package/Steps/index.js +1 -1
- package/SuggestionList/index.js +1 -1
- package/Switcher/index.js +1 -1
- package/Table/index.js +5 -5
- package/TableCompositions/index.js +5 -5
- package/Tag/index.js +1 -1
- package/Textarea/index.js +1 -1
- package/TimePicker/index.js +2 -2
- package/Title/index.js +1 -1
- package/Toaster/index.js +1 -1
- package/Tooltip/index.js +1 -1
- package/TransferList/index.js +1 -1
- package/Uploader/index.js +1 -1
- package/ValidatableCheckbox/index.js +1 -1
- package/ValidatableDatePicker/index.js +2 -2
- package/ValidatableDropdown/index.js +3 -3
- package/ValidatableElements/index.js +3 -3
- package/ValidatableMultiSelectDropdown/index.js +3 -3
- package/ValidatableNumberInput/index.js +1 -1
- package/ValidatableRadio/index.js +1 -1
- package/ValidatableSwitcher/index.js +1 -1
- package/ValidatableTextInput/index.js +1 -1
- package/ValidatableTimeInput/index.js +1 -1
- package/ValidatableUploader/index.js +1 -1
- package/Widget/index.js +1 -1
- package/{configs-1fb8eed2.js → configs-0ed1e326.js} +1 -1
- package/hooks/useDeviceType.js +1 -1
- package/{index-46532c91.js → index-79316a14.js} +4 -4
- package/{index-d10283d4.js → index-b139bff9.js} +2 -2
- package/{index-282407ff.js → index-b4ec7815.js} +1 -1
- package/index.d.ts +1 -0
- package/index.js +7 -6
- package/lib/atoms/HelperText/HelperText.d.ts +42 -0
- package/lib/atoms/HelperText/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useCallback, useEffect } from 're
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
5
5
|
import useMount from '../hooks/useMount.js';
|
|
6
|
-
import '../configs-
|
|
6
|
+
import '../configs-0ed1e326.js';
|
|
7
7
|
import RadioGroup from '../RadioGroup/index.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useCallback, useEffect } from 're
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
5
5
|
import useMount from '../hooks/useMount.js';
|
|
6
|
-
import '../configs-
|
|
6
|
+
import '../configs-0ed1e326.js';
|
|
7
7
|
import Switcher from '../Switcher/index.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -3,7 +3,7 @@ import React__default, { forwardRef, useState, useCallback, useEffect } from 're
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { n as noop } from '../index-a0e4e333.js';
|
|
5
5
|
import useMount from '../hooks/useMount.js';
|
|
6
|
-
import '../configs-
|
|
6
|
+
import '../configs-0ed1e326.js';
|
|
7
7
|
import ExtendedInput from '../ExtendedInput/index.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
@@ -8,7 +8,7 @@ import 'react-dom';
|
|
|
8
8
|
import ExtendedInput from '../ExtendedInput/index.js';
|
|
9
9
|
import '../_commonjsHelpers-24198af3.js';
|
|
10
10
|
import '../index-031ff73c.js';
|
|
11
|
-
import '../configs-
|
|
11
|
+
import '../configs-0ed1e326.js';
|
|
12
12
|
import '../index-a0e4e333.js';
|
|
13
13
|
import '../hooks/useDeviceType.js';
|
|
14
14
|
import '../hooks/useWindowSize.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { forwardRef, useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import useMount from '../hooks/useMount.js';
|
|
5
|
-
import '../configs-
|
|
5
|
+
import '../configs-0ed1e326.js';
|
|
6
6
|
import Uploader from '../Uploader/index.js';
|
|
7
7
|
import '../index-a0e4e333.js';
|
|
8
8
|
import '../dateValidation-67caec66.js';
|
package/Widget/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _extends } from '../_rollupPluginBabelHelpers-a83240e1.js';
|
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { c as classnames } from '../index-031ff73c.js';
|
|
5
|
-
import { w as widgetConfig } from '../configs-
|
|
5
|
+
import { w as widgetConfig } from '../configs-0ed1e326.js';
|
|
6
6
|
import Icon from '../Icon/index.js';
|
|
7
7
|
import KeyValue from '../KeyValue/index.js';
|
|
8
8
|
import ModuleTitle from '../ModuleTitle/index.js';
|
|
@@ -100,4 +100,4 @@ const advancedSearchConfig = {
|
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
export {
|
|
103
|
+
export { checkboxRadioSwitcherConfig as a, moduleTitleConfig as b, clientConfigs as c, popoverConfig as d, tagConfig as e, popoverV2Config as f, timePickerConfig as g, advancedSearchConfig as h, inputConfig as i, customScrollbarConfig as j, breakPoints as k, stepsConfig as l, mobileScreenSize as m, noDataConfig as n, optionConfig as o, positions as p, screenTypes as s, titleConfig as t, uploaderConfig as u, widgetConfig as w };
|
package/hooks/useDeviceType.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as _extends } from './_rollupPluginBabelHelpers-a83240e1.js';
|
|
2
2
|
import React__default, { createContext, memo, useEffect, useLayoutEffect, useState, useCallback, useMemo, isValidElement, cloneElement, useContext, useRef, forwardRef } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-
|
|
5
|
-
import { C as CellMeasurerCache } from './CellMeasurerCache-
|
|
4
|
+
import { D as Dropdown, I as InfiniteLoader, W as WindowScroller, A as AutoSizer, L as List, C as CellMeasurer } from './index-b139bff9.js';
|
|
5
|
+
import { C as CellMeasurerCache } from './CellMeasurerCache-a1dbe54e.js';
|
|
6
6
|
import { c as classnames } from './index-031ff73c.js';
|
|
7
7
|
import { s as stopEvent, o as oneIsRequired, n as noop } from './index-a0e4e333.js';
|
|
8
8
|
import useMount from './hooks/useMount.js';
|
|
9
9
|
import useUpdate from './hooks/useUpdate.js';
|
|
10
|
-
import './configs-
|
|
10
|
+
import './configs-0ed1e326.js';
|
|
11
11
|
import useThrottle from './hooks/useThrottle.js';
|
|
12
12
|
import Empty from './Empty/index.js';
|
|
13
13
|
import CustomScrollbar from './Scrollbar/index.js';
|
|
@@ -27,7 +27,7 @@ import Popover from './Popover/index.js';
|
|
|
27
27
|
import ExtendedInput from './ExtendedInput/index.js';
|
|
28
28
|
import Menu from './Menu/index.js';
|
|
29
29
|
import { d as debounce } from './debounce-4419bc2f.js';
|
|
30
|
-
import { j as jsxRuntimeExports } from './index-
|
|
30
|
+
import { j as jsxRuntimeExports } from './index-b4ec7815.js';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Create the React Context
|
|
@@ -15,11 +15,11 @@ import useDeviceType from './hooks/useDeviceType.js';
|
|
|
15
15
|
import useClickOutside from './hooks/useClickOutside.js';
|
|
16
16
|
import useUpdatableRef from './hooks/useUpdatableRef.js';
|
|
17
17
|
import { u as useEllipsisDetection } from './useEllipsisDetection-4d997d5d.js';
|
|
18
|
-
import { i as inputConfig, s as screenTypes, d as popoverConfig } from './configs-
|
|
18
|
+
import { i as inputConfig, s as screenTypes, d as popoverConfig } from './configs-0ed1e326.js';
|
|
19
19
|
import { s as stopEvent, n as noop$1 } from './index-a0e4e333.js';
|
|
20
20
|
import BusyLoader from './BusyLoader/index.js';
|
|
21
21
|
import Empty from './Empty/index.js';
|
|
22
|
-
import { P as PopoverV2 } from './index-
|
|
22
|
+
import { P as PopoverV2 } from './index-b4ec7815.js';
|
|
23
23
|
import Tooltip from './Tooltip/index.js';
|
|
24
24
|
import ExtendedInput from './ExtendedInput/index.js';
|
|
25
25
|
import Icon from './Icon/index.js';
|
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
import { n as noop, s as stopEvent } from './index-a0e4e333.js';
|
|
9
9
|
import useDeviceType from './hooks/useDeviceType.js';
|
|
10
10
|
import useClickOutside from './hooks/useClickOutside.js';
|
|
11
|
-
import { f as popoverV2Config, s as screenTypes } from './configs-
|
|
11
|
+
import { f as popoverV2Config, s as screenTypes } from './configs-0ed1e326.js';
|
|
12
12
|
import CustomScrollbar from './Scrollbar/index.js';
|
|
13
13
|
import { GeneUIDesignSystemContext } from './GeneUIProvider/index.js';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-746bb8ed.js';
|
package/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export { default as QRCode } from './lib/atoms/QRCode';
|
|
|
24
24
|
export { default as Paper, paperWraps, alignItems, justifyContents, paperDirections, cornersRadius } from './lib/atoms/Paper';
|
|
25
25
|
export { default as Avatar } from './lib/atoms/Avatar/index';
|
|
26
26
|
export { default as LinkButton } from './lib/atoms/LinkButton/index';
|
|
27
|
+
export { default as HelperText } from './lib/atoms/HelperText';
|
|
27
28
|
export { Row, Col } from './lib/molecules/Grid';
|
|
28
29
|
export { Tab, Tabs } from './lib/molecules/Tabs';
|
|
29
30
|
export { Step, Steps } from './lib/molecules/Steps';
|
package/index.js
CHANGED
|
@@ -14,7 +14,7 @@ export { default as Scrollbar } from './Scrollbar/index.js';
|
|
|
14
14
|
export { default as Time } from './Time/index.js';
|
|
15
15
|
export { default as Empty } from './Empty/index.js';
|
|
16
16
|
export { default as Popover } from './Popover/index.js';
|
|
17
|
-
export { P as PopoverV2 } from './index-
|
|
17
|
+
export { P as PopoverV2 } from './index-b4ec7815.js';
|
|
18
18
|
export { default as Title } from './Title/index.js';
|
|
19
19
|
export { default as Image } from './Image/index.js';
|
|
20
20
|
export { default as KeyValue } from './KeyValue/index.js';
|
|
@@ -24,6 +24,7 @@ export { default as QRCode } from './QRCode/index.js';
|
|
|
24
24
|
export { default as Paper, alignItems, cornersRadius, justifyContents, paperDirections, paperWraps } from './Paper/index.js';
|
|
25
25
|
export { default as Avatar } from './Avatar/index.js';
|
|
26
26
|
export { default as LinkButton } from './LinkButton/index.js';
|
|
27
|
+
export { default as HelperText } from './HelperText/index.js';
|
|
27
28
|
export { Col, Row } from './Grid/index.js';
|
|
28
29
|
export { Tab, Tabs } from './Tabs/index.js';
|
|
29
30
|
export { Step, Steps } from './Steps/index.js';
|
|
@@ -86,7 +87,7 @@ export { default as FormableUploader } from './FormableUploader/index.js';
|
|
|
86
87
|
export { default as FormableSwitcher } from './FormableSwitcher/index.js';
|
|
87
88
|
export { default as FormableEditor } from './FormableEditor/index.js';
|
|
88
89
|
export { default as FormableRadio } from './FormableRadio/index.js';
|
|
89
|
-
export { F as FormableHOC } from './FormableHOC-
|
|
90
|
+
export { F as FormableHOC } from './FormableHOC-70f027f8.js';
|
|
90
91
|
export { default as Toaster, toasterPositions } from './Toaster/index.js';
|
|
91
92
|
export { default as SearchWithDropdown } from './SearchWithDropdown/index.js';
|
|
92
93
|
export { default as CheckboxGroupWithSearch } from './CheckboxGroupWithSearch/index.js';
|
|
@@ -95,8 +96,8 @@ export { default as Overspread } from './Overspread/index.js';
|
|
|
95
96
|
export { default as DatePicker } from './DatePicker/index.js';
|
|
96
97
|
export { default as DateFilter } from './DateFilter/index.js';
|
|
97
98
|
export { ComboTable, PaginationSelector, PaperWrapper, TableContainer, TableHeader, TablePagination, TableTitle, WithHeader, WithTitle } from './TableCompositions/index.js';
|
|
98
|
-
export { D as Dropdown } from './index-
|
|
99
|
-
export { T as Table } from './index-
|
|
99
|
+
export { D as Dropdown } from './index-b139bff9.js';
|
|
100
|
+
export { T as Table } from './index-79316a14.js';
|
|
100
101
|
export { CardList, WrappedCardList } from './CardList/index.js';
|
|
101
102
|
import 'react';
|
|
102
103
|
import 'prop-types';
|
|
@@ -129,7 +130,7 @@ import './tslib.es6-f211516f.js';
|
|
|
129
130
|
import './index-031ff73c.js';
|
|
130
131
|
import './style-inject.es-746bb8ed.js';
|
|
131
132
|
import './_rollupPluginBabelHelpers-a83240e1.js';
|
|
132
|
-
import './configs-
|
|
133
|
+
import './configs-0ed1e326.js';
|
|
133
134
|
import './index-a0e4e333.js';
|
|
134
135
|
import './dateValidation-67caec66.js';
|
|
135
136
|
import './_commonjsHelpers-24198af3.js';
|
|
@@ -152,6 +153,6 @@ import './index-262edd7a.js';
|
|
|
152
153
|
import './index-34914e4c.js';
|
|
153
154
|
import './objectWithoutPropertiesLoose-e1596bdb.js';
|
|
154
155
|
import './clsx.m-2bb6df4b.js';
|
|
155
|
-
import './CellMeasurerCache-
|
|
156
|
+
import './CellMeasurerCache-a1dbe54e.js';
|
|
156
157
|
import './index-b7c1fe38.js';
|
|
157
158
|
import './react-beautiful-dnd.esm-ec039212.js';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FC, JSX } from 'react';
|
|
2
|
+
import './HelperText.scss';
|
|
3
|
+
interface IHelperTextProps {
|
|
4
|
+
/**
|
|
5
|
+
* Defines the size of the helper text.<br>
|
|
6
|
+
* Possible values: `medium | small`.
|
|
7
|
+
*/
|
|
8
|
+
size?: 'medium' | 'small';
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the type of the helper text. <br>
|
|
11
|
+
* Possible values: `rest | danger | warning`.
|
|
12
|
+
* `rest` for default information, `danger` for error messages, or `warning` for cautions.
|
|
13
|
+
*/
|
|
14
|
+
type?: 'rest' | 'danger' | 'warning';
|
|
15
|
+
/**
|
|
16
|
+
* The actual text content to be displayed as helper text.
|
|
17
|
+
* This provides guidance or additional information related to the input field.
|
|
18
|
+
*/
|
|
19
|
+
text: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional. Icon to be displayed alongside the helper text.
|
|
22
|
+
* If the `type` prop is set to `danger` or `warning`, a default icon will be used (ErrorAlertFill for `danger` and WarningFill for `warning`) unless an `Icon` is explicitly provided.
|
|
23
|
+
* If `type` is `rest`, the provided `Icon` will be used (if supplied), otherwise no icon will be displayed.
|
|
24
|
+
* The size of the icon will automatically adjust based on the `size` prop (`small` or `medium`).
|
|
25
|
+
*/
|
|
26
|
+
Icon?: JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* Determines whether the helper text is disabled.
|
|
29
|
+
* If `true`, the helper text will appear dimmed and non-interactive.
|
|
30
|
+
*/
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates whether the component is in a loading state.
|
|
34
|
+
* When `true`, a loading skeleton is displayed instead of the actual helper text.
|
|
35
|
+
*/
|
|
36
|
+
isLoading?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The Helper Text provides users with additional information or guidance related to a specific input field in a form. This text helps users understand the expected format, requirements, or purpose of the input, thereby improving form completion accuracy and user confidence.
|
|
40
|
+
*/
|
|
41
|
+
declare const HelperText: FC<IHelperTextProps>;
|
|
42
|
+
export { IHelperTextProps, HelperText as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IHelperTextProps, default as default } from './HelperText';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geneui/components",
|
|
3
3
|
"description": "The Gene UI components library designed for BI tools",
|
|
4
|
-
"version": "3.0.0-next-
|
|
4
|
+
"version": "3.0.0-next-9230252-17092024",
|
|
5
5
|
"author": "SoftConstruct",
|
|
6
6
|
"homepage": "https://github.com/softconstruct/gene-ui-components#readme",
|
|
7
7
|
"repository": {
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"yargs": "^17.7.2"
|
|
158
158
|
},
|
|
159
159
|
"dependencies": {
|
|
160
|
-
"@geneui/icons": "^1.0.
|
|
160
|
+
"@geneui/icons": "^1.0.4",
|
|
161
161
|
"@geneui/tokens": "^1.3.0-beta",
|
|
162
162
|
"classnames": "^2.3.2",
|
|
163
163
|
"dayjs": "^1.11.5",
|