pixel-react 1.10.2 → 1.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +6 -0
  2. package/lib/StyleGuide/Typography/Typography.stories.d.ts +6 -0
  3. package/lib/components/Accordion/Accordion.stories.d.ts +6 -0
  4. package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
  5. package/lib/components/Button/Button.stories.d.ts +12 -0
  6. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
  7. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +6 -0
  8. package/lib/components/Checkbox/Checkbox.stories.d.ts +8 -0
  9. package/lib/components/Chip/Chip.stories.d.ts +14 -0
  10. package/lib/components/DatePicker/DatePicker.stories.d.ts +9 -0
  11. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +6 -0
  12. package/lib/components/Drawer/Drawer.stories.d.ts +7 -0
  13. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +7 -0
  14. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +8 -0
  15. package/lib/components/Form/Form.stories.d.ts +6 -0
  16. package/lib/components/GridLayout/GridLayout.stories.d.ts +8 -0
  17. package/lib/components/HighlightText/HighlightText.stories.d.ts +6 -0
  18. package/lib/components/Icon/Icon.stories.d.ts +7 -0
  19. package/lib/components/IconButton/IconButton.stories.d.ts +6 -0
  20. package/lib/components/Input/Input.stories.d.ts +9 -0
  21. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
  22. package/lib/components/InputWithDropdown/types.d.ts +3 -0
  23. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +6 -0
  24. package/lib/components/MenuOption/MenuOption.stories.d.ts +15 -0
  25. package/lib/components/MiniModal/MiniModal.stories.d.ts +9 -0
  26. package/lib/components/Modal/Modal.stories.d.ts +7 -0
  27. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +9 -0
  28. package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
  29. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +8 -0
  30. package/lib/components/Search/Search.stories.d.ts +6 -0
  31. package/lib/components/Select/Select.stories.d.ts +13 -0
  32. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +4 -0
  33. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +15 -0
  34. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
  35. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
  36. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
  37. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
  38. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +10 -0
  39. package/lib/components/StatusButton/StatusButton.stories.d.ts +14 -0
  40. package/lib/components/Table/Table.stories.d.ts +11 -0
  41. package/lib/components/TableTree/TableTree.stories.d.ts +7 -0
  42. package/lib/components/TableTree/Utils/addNewRow.d.ts +2 -0
  43. package/lib/components/TableTree/types.d.ts +4 -0
  44. package/lib/components/Tabs/Tabs.stories.d.ts +9 -0
  45. package/lib/components/TextArea/Textarea.stories.d.ts +9 -0
  46. package/lib/components/ThemeProvider/CustomThemeProvider.d.ts +8 -0
  47. package/lib/components/Toast/Toast.stories.d.ts +6 -0
  48. package/lib/components/Toggle/Toggle.stories.d.ts +12 -0
  49. package/lib/components/Tooltip/Tooltip.stories.d.ts +15 -0
  50. package/lib/components/Typography/Typography.stories.d.ts +10 -0
  51. package/lib/hooks/useCustomThemeProvider.d.ts +11 -0
  52. package/lib/index.d.ts +5 -0
  53. package/lib/index.esm.js +244 -385
  54. package/lib/index.esm.js.map +1 -1
  55. package/lib/index.js +244 -385
  56. package/lib/index.js.map +1 -1
  57. package/lib/tsconfig.tsbuildinfo +1 -1
  58. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +6 -0
  59. package/lib/utils/compareArrays/compareArrays.stories.d.ts +6 -0
  60. package/lib/utils/compareObjects/compareObjects.stories.d.ts +6 -0
  61. package/lib/utils/debounce/debounce.stories.d.ts +6 -0
  62. package/lib/utils/ffID/ffID.stories.d.ts +6 -0
  63. package/lib/utils/find/findAndInsert.d.ts +7 -0
  64. package/lib/utils/find/findAndInsert.stories.d.ts +7 -0
  65. package/lib/utils/getExtension/getExtension.stories.d.ts +6 -0
  66. package/lib/utils/throttle/throttle.stories.d.ts +6 -0
  67. package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
  68. package/package.json +1 -1
  69. package/src/components/InputWithDropdown/InputWithDropdown.tsx +6 -0
  70. package/src/components/InputWithDropdown/types.ts +7 -1
  71. package/src/components/TableTree/Components/AddModule/AddModule.tsx +3 -1
  72. package/src/components/TableTree/Components/TableCell.tsx +1 -0
  73. package/src/components/TableTree/TableTree.tsx +1 -1
  74. package/src/components/TableTree/Utils/addNewRow.ts +5 -1
  75. package/src/components/TableTree/types.ts +4 -0
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import StyleGuide from './ColorPalette';
3
+ declare const meta: Meta<typeof StyleGuide>;
4
+ type Story = StoryObj<typeof StyleGuide>;
5
+ export declare const ColorList: Story;
6
+ export default meta;
@@ -0,0 +1,6 @@
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 AllFonts: Story;
6
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Accordion from './Accordion';
3
+ declare const meta: Meta<typeof Accordion>;
4
+ type Story = StoryObj<typeof Accordion>;
5
+ export declare const SampleAccordion: Story;
6
+ export default meta;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import AddButton from './AddButton';
3
+ declare const meta: Meta<typeof AddButton>;
4
+ type Story = StoryObj<typeof AddButton>;
5
+ export declare const Default: Story;
6
+ export declare const TwoArrowsButtons: Story;
7
+ export declare const ThreeArrowsButton: Story;
8
+ export default meta;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Button from './Button';
3
+ declare const meta: Meta<typeof Button>;
4
+ type Story = StoryObj<typeof Button>;
5
+ export declare const Primary: Story;
6
+ export declare const Secondary: Story;
7
+ export declare const Tertiary: Story;
8
+ export declare const Delete: Story;
9
+ export declare const PrimaryWithIcon: Story;
10
+ export declare const SecondaryWithIcon: Story;
11
+ export declare const TertiaryWithIcon: Story;
12
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react/*';
2
+ import DonutChart from './DonutChart';
3
+ declare const meta: Meta<typeof DonutChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof DonutChart>;
6
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import RadialChart from './RadialChart';
3
+ declare const meta: Meta<typeof RadialChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof RadialChart>;
6
+ export declare const ChartWithStatus: Story;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Checkbox from './Checkbox';
3
+ declare const meta: Meta<typeof Checkbox>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const Partial: Story;
8
+ export declare const Controlled: Story;
@@ -0,0 +1,14 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Chip from './Chip';
3
+ import '../../assets/styles/_colors.scss';
4
+ import './Chip.scss';
5
+ declare const meta: Meta<typeof Chip>;
6
+ type Story = StoryObj<typeof Chip>;
7
+ export declare const Primary: Story;
8
+ export declare const withoutExpand: Story;
9
+ export declare const Group: Story;
10
+ export declare const CustomChip: Story;
11
+ export declare const Success: Story;
12
+ export declare const Errors: Story;
13
+ export declare const Warning: Story;
14
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import CustomDatePicker from './DatePicker';
3
+ declare const meta: Meta<typeof CustomDatePicker>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CustomDatePicker>;
6
+ export declare const Default: Story;
7
+ export declare const StartDateFilter: Story;
8
+ export declare const EndDateInput: Story;
9
+ export declare const ScheduleDateInput: Story;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import DragAndDropList from './DragAndDropList';
3
+ declare const meta: Meta<typeof DragAndDropList>;
4
+ type Story = StoryObj<typeof DragAndDropList>;
5
+ export declare const Primary: Story;
6
+ export default meta;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Drawer from './Drawer';
3
+ declare const meta: Meta<typeof Drawer>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Drawer>;
6
+ export declare const Default: Story;
7
+ export declare const Controlled: Story;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ExpandableMenu from './ExpandableMenu';
3
+ declare const meta: Meta<typeof ExpandableMenu>;
4
+ type Story = StoryObj<typeof ExpandableMenu>;
5
+ export declare const Primary: Story;
6
+ export declare const Controlled: Story;
7
+ export default meta;
@@ -0,0 +1,8 @@
1
+ import { StoryObj, Meta } from '@storybook/react';
2
+ import FileDropzone from './FileDropzone';
3
+ declare const meta: Meta<typeof FileDropzone>;
4
+ type Story = StoryObj<typeof FileDropzone>;
5
+ export declare const Primary: Story;
6
+ export declare const withMIMEValidation: Story;
7
+ export declare const Controlled: Story;
8
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Form from './Form';
3
+ declare const meta: Meta<typeof Form>;
4
+ type Story = StoryObj<typeof Form>;
5
+ export declare const WithControlledState: Story;
6
+ export default meta;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Container } from './GridLayout';
3
+ import './GridLayoutStory.scss';
4
+ declare const meta: Meta<typeof Container>;
5
+ type ContainerStory = StoryObj<typeof Container>;
6
+ export declare const Grid: ContainerStory;
7
+ export declare const Grid2: ContainerStory;
8
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import HighlightText from './HighlightText';
3
+ declare const meta: Meta<typeof HighlightText>;
4
+ type Story = StoryObj<typeof HighlightText>;
5
+ export declare const Primary: Story;
6
+ export default meta;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Icon from './Icon';
3
+ declare const meta: Meta<typeof Icon>;
4
+ type Story = StoryObj<typeof Icon>;
5
+ export declare const Icons: Story;
6
+ export declare const AllIcons: Story;
7
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import IconButton from './IconButton';
3
+ declare const meta: Meta<typeof IconButton>;
4
+ type Story = StoryObj<typeof IconButton>;
5
+ export declare const PrimaryIconButton: Story;
6
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Input from './Input';
3
+ declare const meta: Meta<typeof Input>;
4
+ type Story = StoryObj<typeof Input>;
5
+ export declare const Default: Story;
6
+ export declare const Primary: Story;
7
+ export declare const DisabledWithValue: Story;
8
+ export declare const Controlled: Story;
9
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import InputWithDropdown from './InputWithDropdown';
3
+ declare const meta: Meta<typeof InputWithDropdown>;
4
+ type Story = StoryObj<typeof InputWithDropdown>;
5
+ export declare const Default: Story;
6
+ export declare const DisabledWithValue: Story;
7
+ export declare const Controlled: Story;
8
+ export declare const InputWithStaticLabelWithoutOptions: Story;
9
+ export default meta;
@@ -65,6 +65,9 @@ export interface InputWithDropdownProps {
65
65
  * onInputBlurHandler action for input field
66
66
  */
67
67
  onInputBlurHandler?: (event: React.FocusEvent<HTMLInputElement>) => void;
68
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
69
+ onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
70
+ onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
68
71
  /**
69
72
  * id to select the input field uniquely
70
73
  */
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import LazyLoading from './LazyLoading';
3
+ declare const meta: Meta;
4
+ type Story = StoryObj<typeof LazyLoading>;
5
+ export declare const Primary: Story;
6
+ export default meta;
@@ -0,0 +1,15 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import MenuOption from './MenuOption';
3
+ import './MenuOption.scss';
4
+ export declare const DefaultMenuOption: Story;
5
+ declare const meta: Meta<typeof MenuOption>;
6
+ type Story = StoryObj<typeof MenuOption>;
7
+ export declare const ControlledMenuOption: Story;
8
+ export declare const MenuOptionWithLabel: Story;
9
+ export declare const MenuOptionWithDisabledHoverEffect: Story;
10
+ export declare const MenuOptionWithToolTip: Story;
11
+ export declare const MenuOptionPlacementTop: Story;
12
+ export declare const MenuOptionPlacementDown: Story;
13
+ export declare const MenuOptionPlacementLeft: Story;
14
+ export declare const MenuOptionPlacementRight: Story;
15
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import MiniModal from './MiniModal';
3
+ import './MiniModal.scss';
4
+ declare const meta: Meta<typeof MiniModal>;
5
+ type Story = StoryObj<typeof MiniModal>;
6
+ export declare const BasicModal: Story;
7
+ export declare const CustomModalWithWrapper: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const CustomModalWithArrow: () => import("react/jsx-runtime").JSX.Element;
9
+ export default meta;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Modal from './Modal';
3
+ declare const meta: Meta<typeof Modal>;
4
+ type Story = StoryObj<typeof Modal>;
5
+ export declare const DefaultModalStory: Story;
6
+ export declare const Controlled: Story;
7
+ export default meta;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import MultiSelect from './MultiSelect';
3
+ declare const meta: Meta<typeof MultiSelect>;
4
+ type Story = StoryObj<typeof MultiSelect>;
5
+ export declare const Default: Story;
6
+ export declare const Default2: Story;
7
+ export declare const Default3: Story;
8
+ export declare const Controlled: Story;
9
+ export default meta;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import RadioButton from './RadioButton';
3
+ declare const meta: Meta<typeof RadioButton>;
4
+ type Story = StoryObj<typeof RadioButton>;
5
+ export declare const Default: Story;
6
+ export declare const Checked: Story;
7
+ export declare const UncheckedDisabled: Story;
8
+ export declare const CheckedDisabled: Story;
9
+ export declare const WithoutLabel: Story;
10
+ export default meta;
@@ -0,0 +1,8 @@
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 DisabledSelcted: Story;
8
+ export default meta;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Search from './Search';
3
+ declare const meta: Meta<typeof Search>;
4
+ type Story = StoryObj<typeof Search>;
5
+ export declare const Default: Story;
6
+ 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, }: DropDownListProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default Dropdown;
@@ -0,0 +1,15 @@
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
+ }
10
+ export declare const dropdownDefaultCSSData: {
11
+ margin: number;
12
+ optionHeight: number;
13
+ selectInputHeight: number;
14
+ dropDownWrapperPadding: number;
15
+ };
@@ -0,0 +1,4 @@
1
+ import './AddBrowserModal.scss';
2
+ import { AddBrowserModalProps } from './types';
3
+ declare const AddBrowserModal: import("react").ForwardRefExoticComponent<AddBrowserModalProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ export default AddBrowserModal;
@@ -0,0 +1,3 @@
1
+ export interface AddBrowserModalProps {
2
+ onUpdateAddBrowser: () => void;
3
+ }
@@ -0,0 +1,4 @@
1
+ import './DatasetListModal.scss';
2
+ import { DatasetListModalProps } from './types';
3
+ declare const DatasetListModal: import("react").ForwardRefExoticComponent<DatasetListModalProps & import("react").RefAttributes<HTMLButtonElement>>;
4
+ export default DatasetListModal;
@@ -0,0 +1,3 @@
1
+ export interface DatasetListModalProps {
2
+ onUpdateDatasetList: () => void;
3
+ }
@@ -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,11 @@
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 PageTable: Story;
7
+ export declare const PrimaryHeader: Story;
8
+ export declare const FixedHeaderWithBorder: Story;
9
+ export declare const WithCheckBox: Story;
10
+ export declare const TableWithNoData: Story;
11
+ 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;
@@ -2,4 +2,6 @@ import { TreeNodeProps } from '../../../ComponentProps/TreeNodeProps';
2
2
  export declare const addNewRow: (treeData: TreeNodeProps[], newNode: {
3
3
  action?: "addAbove" | "addBelow" | "addInside";
4
4
  sourceId?: string;
5
+ error?: string;
6
+ value?: string;
5
7
  }) => TreeNodeProps[];
@@ -26,6 +26,8 @@ export interface TableBodyProps {
26
26
  newNode?: {
27
27
  sourceId?: string;
28
28
  action?: 'addAbove' | 'addBelow' | 'addInside';
29
+ value?: string;
30
+ error?: string;
29
31
  };
30
32
  onAddConfirm?: (_name: string) => void;
31
33
  onAddCancel?: () => void;
@@ -67,6 +69,8 @@ export interface TreeTableProps {
67
69
  newNode?: {
68
70
  sourceId?: string;
69
71
  action?: 'addAbove' | 'addBelow' | 'addInside';
72
+ value?: string;
73
+ error?: string;
70
74
  };
71
75
  onAddConfirm?: (_name: string) => void;
72
76
  onAddCancel?: () => void;
@@ -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,8 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ThemeContextType } from './types';
3
+ declare const ThemeContext: React.Context<ThemeContextType | undefined>;
4
+ declare const CustomThemeProvider: React.FC<{
5
+ children: ReactNode;
6
+ }>;
7
+ export { ThemeContext };
8
+ export default CustomThemeProvider;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import Toaster from './Toast';
3
+ declare const meta: Meta<typeof Toaster>;
4
+ type Story = StoryObj<typeof Toaster>;
5
+ export declare const Controlled: Story;
6
+ 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;
@@ -0,0 +1,11 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface ThemeContextType {
3
+ currentTheme: string;
4
+ setCurrentTheme: React.Dispatch<React.SetStateAction<string>>;
5
+ applyTheme: (newTheme: string) => void;
6
+ }
7
+ export declare const useCustomThemeProvider: React.FC<{
8
+ children: ReactNode;
9
+ }>;
10
+ export declare const useTheme: () => ThemeContextType;
11
+ export {};
package/lib/index.d.ts CHANGED
@@ -1531,6 +1531,9 @@ interface InputWithDropdownProps {
1531
1531
  * onInputBlurHandler action for input field
1532
1532
  */
1533
1533
  onInputBlurHandler?: (event: React.FocusEvent<HTMLInputElement>) => void;
1534
+ onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
1535
+ onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
1536
+ onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
1534
1537
  /**
1535
1538
  * id to select the input field uniquely
1536
1539
  */
@@ -1785,6 +1788,8 @@ interface TreeTableProps {
1785
1788
  newNode?: {
1786
1789
  sourceId?: string;
1787
1790
  action?: 'addAbove' | 'addBelow' | 'addInside';
1791
+ value?: string;
1792
+ error?: string;
1788
1793
  };
1789
1794
  onAddConfirm?: (_name: string) => void;
1790
1795
  onAddCancel?: () => void;