pixel-react 1.8.3 → 1.8.5
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/.yarn/install-state.gz +0 -0
- package/lib/1fb4472b34e4fe07.css +1 -0
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
- package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
- package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
- package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +9 -0
- package/lib/components/Avatar/Avatar.stories.d.ts +10 -0
- package/lib/components/Button/Button.stories.d.ts +13 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +3 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
- package/lib/components/Charts/LineChart/types.d.ts +1 -0
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
- package/lib/components/Chip/Chip.stories.d.ts +14 -0
- package/lib/components/ConditionalDropdown/types.d.ts +4 -0
- package/lib/components/DatePicker/DatePicker.stories.d.ts +9 -0
- package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +6 -0
- package/lib/components/Drawer/Drawer.stories.d.ts +12 -0
- package/lib/components/Drawer/Types.d.ts +4 -0
- package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.d.ts +4 -0
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +10 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +10 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.d.ts +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +9 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +0 -2
- package/lib/components/Excel/Types.d.ts +14 -10
- package/lib/components/ExcelFile/ColorBarselector/ColorBarSelector.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +7 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +4 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +10 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +5 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +80 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +174 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +1 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +8 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +17 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +2 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +21 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +24 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +13 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +67 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +22 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +11 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +27 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +95 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +178 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +44 -0
- package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +19 -0
- package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +12 -0
- package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +15 -0
- package/lib/components/ExcelFile/Types.d.ts +129 -0
- package/lib/components/ExcelFile/index.d.ts +1 -0
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
- package/lib/components/FF_Captcha/captcha.stories.d.ts +8 -0
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
- package/lib/components/Form/Form.stories.d.ts +7 -0
- package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
- package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
- package/lib/components/Icon/Icon.stories.d.ts +8 -0
- package/lib/components/IconButton/IconButton.stories.d.ts +7 -0
- package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +7 -0
- package/lib/components/Input/Input.stories.d.ts +9 -0
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +11 -0
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
- package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
- package/lib/components/MenuOption/MenuOption.stories.d.ts +16 -0
- package/lib/components/MiniModal/MiniModal.stories.d.ts +10 -0
- package/lib/components/Modal/Modal.stories.d.ts +7 -0
- package/lib/components/ModulesChip/ModuleChip.stories.d.ts +6 -0
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +10 -0
- package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
- package/lib/components/Paper/Paper.stories.d.ts +11 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +9 -0
- package/lib/components/Search/Search.stories.d.ts +6 -0
- package/lib/components/Select/Select.stories.d.ts +13 -0
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +17 -0
- package/lib/components/Select/components/types.d.ts +3 -2
- package/lib/components/Select/types.d.ts +10 -2
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
- package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
- package/lib/components/Table/Table.stories.d.ts +13 -0
- package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
- package/lib/components/Tabs/Tabs.stories.d.ts +9 -0
- package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
- package/lib/components/Toast/Toast.stories.d.ts +6 -0
- package/lib/components/Toastify/Toastify.stories.d.ts +6 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
- package/lib/components/Typography/Typography.stories.d.ts +10 -0
- package/lib/components/VariableInput/VariableInput.stories.d.ts +6 -0
- package/lib/index.d.ts +47 -6
- package/lib/index.esm.js +5088 -2119
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5097 -2118
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
- package/lib/utils/compareArrays/compareArrays.stories.d.ts +6 -0
- package/lib/utils/compareObjects/compareObjects.stories.d.ts +6 -0
- package/lib/utils/debounce/debounce.stories.d.ts +6 -0
- package/lib/utils/ffID/ffID.stories.d.ts +6 -0
- package/lib/utils/find/findAndInsert.d.ts +7 -0
- package/lib/utils/find/findAndInsert.stories.d.ts +7 -0
- package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +7 -0
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
- package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
- package/lib/utils/keyBoardActionUtil/UseKeyboardActions.d.ts +2 -0
- package/lib/utils/keyBoardActionUtil/types.d.ts +4 -0
- package/lib/utils/throttle/throttle.stories.d.ts +6 -0
- package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
- package/lib/validations/regex.d.ts +5 -1
- package/package.json +6 -1
- package/src/assets/Themes/BaseTheme.scss +1 -0
- package/src/assets/Themes/DarkTheme.scss +1 -1
- package/src/assets/icons/external_user.svg +13 -0
- package/src/assets/icons/group_user.svg +12 -0
- package/src/assets/icons/single_user.svg +12 -0
- package/src/assets/icons/unfollow_icon.svg +3 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +38 -6
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +10 -4
- package/src/components/Charts/DashboardDonutChart/types.ts +4 -1
- package/src/components/Charts/LineChart/LineChart.stories.tsx +27 -88
- package/src/components/Charts/LineChart/LineChart.tsx +138 -42
- package/src/components/Charts/LineChart/types.ts +1 -0
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +3 -3
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +47 -43
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +2 -1
- package/src/components/ConditionalDropdown/types.ts +4 -0
- package/src/components/Drawer/Drawer.stories.tsx +1 -0
- package/src/components/Drawer/Drawer.tsx +5 -1
- package/src/components/Drawer/Types.ts +4 -0
- package/src/components/Editor/Editor.scss +23 -18
- package/src/components/Editor/Editor.tsx +2 -2
- package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.scss +1 -1
- package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.tsx +6 -2
- package/src/components/Excel/ExcelFile/ExcelFile.scss +45 -41
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +33 -11
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +29 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +0 -36
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.tsx +1 -40
- package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +3 -3
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +12 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +3 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +0 -3
- package/src/components/Excel/ExcelFile.stories.tsx +20 -28
- package/src/components/Excel/Types.ts +17 -15
- package/src/components/Icon/iconList.ts +8 -0
- package/src/components/Modal/Modal.stories.tsx +7 -0
- package/src/components/Modal/Modal.tsx +17 -20
- package/src/components/Select/Select.stories.tsx +85 -0
- package/src/components/Select/Select.tsx +10 -2
- package/src/components/Select/components/Dropdown.tsx +23 -15
- package/src/components/Select/components/types.ts +3 -2
- package/src/components/Select/types.ts +12 -2
- package/src/index.ts +20 -0
- package/src/utils/keyBoardActionUtil/UseKeyboardAction.stories.tsx +53 -0
- package/src/utils/keyBoardActionUtil/UseKeyboardActions.tsx +20 -0
- package/src/utils/keyBoardActionUtil/types.ts +4 -0
- package/src/validations/regex.stories.tsx +24 -0
- package/src/validations/regex.ts +15 -0
- package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/components/TableTree/TableTree copy.d.ts +0 -25
- package/src/assets/images/photo.png +0 -0
- /package/lib/components/{Excel → ExcelFile}/ContextMenu/ContextMenu.d.ts +0 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import RadioGroup from './RadioGroup';
|
3
|
+
declare const meta: Meta<typeof RadioGroup>;
|
4
|
+
type Story = StoryObj<typeof RadioGroup>;
|
5
|
+
export declare const Controlled: Story;
|
6
|
+
export declare const WithDisabledOption: Story;
|
7
|
+
export declare const DisabledSelected: Story;
|
8
|
+
export declare const WithToolTipIcon: Story;
|
9
|
+
export default meta;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Select from './Select';
|
3
|
+
declare const meta: Meta<typeof Select>;
|
4
|
+
type Story = StoryObj<typeof Select>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export declare const WithError: Story;
|
7
|
+
export declare const WithoutLabel: Story;
|
8
|
+
export declare const EmptyOptions: Story;
|
9
|
+
export declare const Disable: Story;
|
10
|
+
export declare const WithInitialValue: Story;
|
11
|
+
export declare const OptionSelection: Story;
|
12
|
+
export declare const CustomJSX: Story;
|
13
|
+
export default meta;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { DropDownListProps } from './dropdownTypes';
|
2
|
+
import './Dropdown.scss';
|
3
|
+
declare const Dropdown: ({ onSelectBlur, onSelectOptionSelector, dropdownPosition, options, optionZIndex, inputRef, labelAccessor, }: DropDownListProps) => import("react/jsx-runtime").JSX.Element;
|
4
|
+
export default Dropdown;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { DrowdownPosition, Option } from '../../types';
|
2
|
+
export interface DropDownListProps {
|
3
|
+
onSelectBlur: () => void;
|
4
|
+
onSelectOptionSelector: (option: Option) => void;
|
5
|
+
dropdownPosition: DrowdownPosition;
|
6
|
+
options?: Option[];
|
7
|
+
optionZIndex?: number;
|
8
|
+
inputRef?: React.RefObject<HTMLInputElement>;
|
9
|
+
labelAccessor?: string;
|
10
|
+
valueAccessor?: string;
|
11
|
+
}
|
12
|
+
export declare const dropdownDefaultCSSData: {
|
13
|
+
margin: number;
|
14
|
+
optionHeight: number;
|
15
|
+
selectInputHeight: number;
|
16
|
+
dropDownWrapperPadding: number;
|
17
|
+
};
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { DropdownPosition, Option } from '../types';
|
2
2
|
import { RefObject } from 'react';
|
3
3
|
export interface DropdownProps {
|
4
4
|
options: Option[];
|
5
|
-
dropdownPosition:
|
5
|
+
dropdownPosition: DropdownPosition;
|
6
6
|
optionZIndex: number;
|
7
7
|
labelAccessor?: string;
|
8
8
|
valueAccessor?: string;
|
@@ -13,6 +13,7 @@ export interface DropdownProps {
|
|
13
13
|
heightFromTop: number;
|
14
14
|
selectedOption?: Option;
|
15
15
|
showIcon?: boolean;
|
16
|
+
showToolTip?: boolean;
|
16
17
|
}
|
17
18
|
export declare const dropdownDefaultCSSData: {
|
18
19
|
margin: number;
|
@@ -24,8 +24,16 @@ export interface SelectProps {
|
|
24
24
|
disableInput?: boolean;
|
25
25
|
showIcon?: boolean;
|
26
26
|
iconName?: string;
|
27
|
+
/**
|
28
|
+
* Provide the placehoder for the select
|
29
|
+
*/
|
30
|
+
placeHolder?: string;
|
31
|
+
/**
|
32
|
+
* Provide the boolean value if tooltip is reuired or not
|
33
|
+
*/
|
34
|
+
showToolTip?: boolean;
|
27
35
|
}
|
28
|
-
export interface
|
36
|
+
export interface DropdownPosition {
|
29
37
|
positionX: number;
|
30
38
|
positionY: number;
|
31
39
|
width: number;
|
@@ -38,7 +46,7 @@ export interface SelectState {
|
|
38
46
|
showOptions: boolean;
|
39
47
|
options: Option[];
|
40
48
|
option: string;
|
41
|
-
dropdownPosition:
|
49
|
+
dropdownPosition: DropdownPosition;
|
42
50
|
}
|
43
51
|
type OptionValue = any;
|
44
52
|
export interface Option {
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import SequentialConnectingBranch from './SequentialConnectingBranch';
|
3
|
+
declare const meta: Meta<typeof SequentialConnectingBranch>;
|
4
|
+
type Story = StoryObj<typeof SequentialConnectingBranch>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export default meta;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import StateDropdown from './StateDropdown';
|
3
|
+
declare const meta: Meta<typeof StateDropdown>;
|
4
|
+
type Story = StoryObj<typeof StateDropdown>;
|
5
|
+
export declare const Disable: Story;
|
6
|
+
export declare const Review: Story;
|
7
|
+
export declare const Reject: Story;
|
8
|
+
export declare const Approved: Story;
|
9
|
+
export declare const NewState: Story;
|
10
|
+
export default meta;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import StatusButton from './StatusButton';
|
3
|
+
declare const meta: Meta<typeof StatusButton>;
|
4
|
+
type Story = StoryObj<typeof StatusButton>;
|
5
|
+
export declare const Passed: Story;
|
6
|
+
export declare const Failed: Story;
|
7
|
+
export declare const Running: Story;
|
8
|
+
export declare const Terminated: Story;
|
9
|
+
export declare const Skipped: Story;
|
10
|
+
export declare const Warning: Story;
|
11
|
+
export declare const PartiallyExecuted: Story;
|
12
|
+
export declare const Aborted: Story;
|
13
|
+
export declare const NotExecuted: Story;
|
14
|
+
export default meta;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { StoryObj, Meta } from '@storybook/react';
|
2
|
+
import Table from './Table';
|
3
|
+
declare const meta: Meta<typeof Table>;
|
4
|
+
type Story = StoryObj<typeof Table>;
|
5
|
+
export declare const Default: Story;
|
6
|
+
export declare const PrimaryHeaderTextColor: Story;
|
7
|
+
export declare const TableDataTextColor: Story;
|
8
|
+
export declare const PageTable: Story;
|
9
|
+
export declare const PrimaryHeader: Story;
|
10
|
+
export declare const FixedHeaderWithBorder: Story;
|
11
|
+
export declare const WithCheckBox: Story;
|
12
|
+
export declare const TableWithNoData: Story;
|
13
|
+
export default meta;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import TableTree from './TableTree';
|
3
|
+
import './TableTreeStories.scss';
|
4
|
+
declare const meta: Meta<typeof TableTree>;
|
5
|
+
type Story = StoryObj<typeof TableTree>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export default meta;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Tabs from './Tabs';
|
3
|
+
declare const meta: Meta<typeof Tabs>;
|
4
|
+
type Story = StoryObj<typeof Tabs>;
|
5
|
+
export declare const DefaultTabs: Story;
|
6
|
+
export declare const CapsuleTabs: Story;
|
7
|
+
export declare const TabsWithDisabledTab: Story;
|
8
|
+
export declare const WithoutBorder: Story;
|
9
|
+
export default meta;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Textarea from './Textarea';
|
3
|
+
declare const meta: Meta<typeof Textarea>;
|
4
|
+
type Story = StoryObj<typeof Textarea>;
|
5
|
+
export declare const Default: Story;
|
6
|
+
export declare const Primary: Story;
|
7
|
+
export declare const Disabled: Story;
|
8
|
+
export declare const Controlled: Story;
|
9
|
+
export default meta;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Toggle from './Toggle';
|
3
|
+
declare const meta: Meta<typeof Toggle>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof Toggle>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const Disabled: Story;
|
8
|
+
export declare const Checked: Story;
|
9
|
+
export declare const SmallSize: Story;
|
10
|
+
export declare const MediumSize: Story;
|
11
|
+
export declare const DynamicIconAndSize: Story;
|
12
|
+
export declare const Controlled: Story;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Tooltip from './Tooltip';
|
3
|
+
declare const meta: Meta<typeof Tooltip>;
|
4
|
+
type Story = StoryObj<typeof Tooltip>;
|
5
|
+
export declare const Default: Story;
|
6
|
+
export declare const Controlled: Story;
|
7
|
+
export declare const Top: Story;
|
8
|
+
export declare const Left: Story;
|
9
|
+
export declare const Right: Story;
|
10
|
+
export declare const TopStart: Story;
|
11
|
+
export declare const TopEnd: Story;
|
12
|
+
export declare const BottomStart: Story;
|
13
|
+
export declare const BottomEnd: Story;
|
14
|
+
export declare const TooltipWithIcon: Story;
|
15
|
+
export default meta;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Typography from './Typography';
|
3
|
+
declare const meta: Meta<typeof Typography>;
|
4
|
+
type Story = StoryObj<typeof Typography>;
|
5
|
+
export declare const Docs: Story;
|
6
|
+
export declare const Regular12px: Story;
|
7
|
+
export declare const Medium12px: Story;
|
8
|
+
export declare const SemiBold14px: Story;
|
9
|
+
export declare const Bold14px: Story;
|
10
|
+
export default meta;
|
package/lib/index.d.ts
CHANGED
@@ -303,6 +303,10 @@ interface DrawerProps {
|
|
303
303
|
* Custom overflow for the drawer
|
304
304
|
*/
|
305
305
|
overflow?: string;
|
306
|
+
/**
|
307
|
+
* Callback function returns a boolean value when the drawer is collapsed.
|
308
|
+
*/
|
309
|
+
onCollapse?: (value: boolean) => void;
|
306
310
|
}
|
307
311
|
|
308
312
|
declare const Drawer: FC<DrawerProps>;
|
@@ -786,6 +790,14 @@ interface SelectProps$1 {
|
|
786
790
|
disableInput?: boolean;
|
787
791
|
showIcon?: boolean;
|
788
792
|
iconName?: string;
|
793
|
+
/**
|
794
|
+
* Provide the placehoder for the select
|
795
|
+
*/
|
796
|
+
placeHolder?: string;
|
797
|
+
/**
|
798
|
+
* Provide the boolean value if tooltip is reuired or not
|
799
|
+
*/
|
800
|
+
showToolTip?: boolean;
|
789
801
|
}
|
790
802
|
type OptionValue = any;
|
791
803
|
interface Option$2 {
|
@@ -2105,6 +2117,7 @@ type ChartItem = {
|
|
2105
2117
|
key: string;
|
2106
2118
|
value: string | number;
|
2107
2119
|
color?: string;
|
2120
|
+
percentage?: string | number;
|
2108
2121
|
};
|
2109
2122
|
type LegendType$1 = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
|
2110
2123
|
type DashboardDonutChartProps = {
|
@@ -2115,6 +2128,7 @@ type DashboardDonutChartProps = {
|
|
2115
2128
|
isLegendDetails: boolean;
|
2116
2129
|
gapAngle?: number;
|
2117
2130
|
legendType: LegendType$1;
|
2131
|
+
apiDataLabel: string | number;
|
2118
2132
|
showOnlyLabel?: boolean;
|
2119
2133
|
unit?: string;
|
2120
2134
|
showUnit?: boolean;
|
@@ -2493,14 +2507,20 @@ interface ExcelFileProps {
|
|
2493
2507
|
};
|
2494
2508
|
/** Optional: Provide context menu options for actions like right-click */
|
2495
2509
|
contextOption?: {
|
2496
|
-
|
2497
|
-
|
2498
|
-
|
2499
|
-
|
2510
|
+
open: boolean;
|
2511
|
+
options: {
|
2512
|
+
label: string;
|
2513
|
+
value: string;
|
2514
|
+
iconName: string;
|
2515
|
+
action: () => void;
|
2516
|
+
}[];
|
2517
|
+
};
|
2500
2518
|
/** Controls whether the toolbar is shown, disabled, or hidden */
|
2501
2519
|
toolbar?: 'show' | 'disable' | 'hide';
|
2502
2520
|
/** Callback function to save the Excel data */
|
2503
2521
|
onSave?: (saveData: any) => void;
|
2522
|
+
contextHeightPositioning?: number;
|
2523
|
+
contextWidthPositioning?: number;
|
2504
2524
|
/** Set your dynamic sheet Height*/
|
2505
2525
|
sheetHeight?: string;
|
2506
2526
|
}
|
@@ -2675,6 +2695,7 @@ interface LineChartProps {
|
|
2675
2695
|
fontWeight?: string | number;
|
2676
2696
|
numberSize?: string | number;
|
2677
2697
|
proportionalSpacing?: boolean;
|
2698
|
+
chartName?: string;
|
2678
2699
|
}
|
2679
2700
|
|
2680
2701
|
declare const LineChart: React__default.FC<LineChartProps>;
|
@@ -3200,6 +3221,10 @@ interface ConditionalDropdownProps {
|
|
3200
3221
|
* Options for the dropdown when `isHash` is true.
|
3201
3222
|
*/
|
3202
3223
|
dataFiles?: dynamicObject[];
|
3224
|
+
/**
|
3225
|
+
* a boolean prop to show add variable icon or not.
|
3226
|
+
*/
|
3227
|
+
showAddVariableIcon?: boolean;
|
3203
3228
|
}
|
3204
3229
|
|
3205
3230
|
declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
|
@@ -3225,6 +3250,13 @@ interface PhoneInputProps {
|
|
3225
3250
|
|
3226
3251
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
3227
3252
|
|
3253
|
+
type KeyboardAction = {
|
3254
|
+
key: string;
|
3255
|
+
action: () => void;
|
3256
|
+
};
|
3257
|
+
|
3258
|
+
declare const useKeyboardActions: (actions: KeyboardAction[]) => void;
|
3259
|
+
|
3228
3260
|
declare const EMAIL_REGEX: RegExp;
|
3229
3261
|
declare const URL_REGEX: RegExp;
|
3230
3262
|
declare const PHONE_REGEX: RegExp;
|
@@ -3270,5 +3302,14 @@ declare const ROMAN_NUMERALS_REGEX: RegExp;
|
|
3270
3302
|
declare const CURRENCY_GENERIC_REGEX: RegExp;
|
3271
3303
|
declare const LINKEDIN_PROFILE_REGEX: RegExp;
|
3272
3304
|
declare const TWITTER_HANDLE_REGEX: RegExp;
|
3273
|
-
|
3274
|
-
|
3305
|
+
declare const NUMBER_REGEX: RegExp;
|
3306
|
+
declare const UNIT_REGEX: RegExp;
|
3307
|
+
declare const MEMORY_VALIDATION_REGEX: RegExp;
|
3308
|
+
declare const STEP_GROUP_NAME_REGEX: RegExp;
|
3309
|
+
declare const NLP_DESCRIPTION_REGEX: RegExp;
|
3310
|
+
declare const FILE_NAME_REGEX: RegExp;
|
3311
|
+
declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp;
|
3312
|
+
declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp;
|
3313
|
+
declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
|
3314
|
+
|
3315
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, _default$2 as Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, _default as ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default$1 as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useFileDropzone, useKeyboardActions, useTheme };
|