pixel-react 1.10.4 → 1.10.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/lib/ComponentProps/TreeNodeProps.d.ts +2 -1
- package/lib/components/AddResourceButton/AddResourceButton.d.ts +4 -0
- package/lib/components/AddResourceButton/ArrowsButton/ArrowsButton.d.ts +1 -1
- package/lib/components/AddResourceButton/index.d.ts +1 -1
- package/lib/components/AddResourceButton/type.d.ts +2 -0
- package/lib/components/BrowserTabs/BrowserTabs.d.ts +5 -0
- package/lib/components/BrowserTabs/index.d.ts +1 -0
- package/lib/components/BrowserTabs/types.d.ts +64 -0
- package/lib/components/ConnectingBranch/data.d.ts +62 -64
- package/lib/components/ConnectingBranch/types.d.ts +28 -7
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +6 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +3 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +15 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +5 -0
- package/lib/components/Excel/Types.d.ts +1 -0
- package/lib/components/MenuOption/MenuOption.d.ts +1 -1
- package/lib/components/MenuOption/types.d.ts +1 -0
- package/lib/components/MiniModal/types.d.ts +2 -1
- package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
- package/lib/components/TableTree/types.d.ts +4 -3
- package/lib/index.d.ts +109 -12
- package/lib/index.esm.js +877 -437
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +878 -437
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/ComponentProps/TreeNodeProps.ts +2 -1
- package/src/assets/Themes/BaseTheme.scss +1 -2
- package/src/assets/Themes/DarkTheme.scss +0 -1
- package/src/assets/styles/_mixins.scss +19 -0
- package/src/components/AddResourceButton/{AddButton.scss → AddResourceButton.scss} +1 -0
- package/src/components/AddResourceButton/{AddButton.stories.tsx → AddResourceButton.stories.tsx} +4 -4
- package/src/components/AddResourceButton/{AddButton.tsx → AddResourceButton.tsx} +25 -10
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.scss +1 -2
- package/src/components/AddResourceButton/ArrowsButton/ArrowsButton.tsx +16 -9
- package/src/components/AddResourceButton/index.ts +1 -1
- package/src/components/AddResourceButton/type.ts +2 -0
- package/src/components/BrowserTabs/BrowserTabs.scss +75 -0
- package/src/components/BrowserTabs/BrowserTabs.stories.tsx +366 -0
- package/src/components/BrowserTabs/BrowserTabs.tsx +128 -0
- package/src/components/BrowserTabs/index.ts +1 -0
- package/src/components/BrowserTabs/types.ts +73 -0
- package/src/components/ConnectingBranch/BranchComponents/MachineInstances.tsx +54 -39
- package/src/components/ConnectingBranch/ConnectingBranch.stories.tsx +3 -2
- package/src/components/ConnectingBranch/ConnectingBranch.tsx +28 -24
- package/src/components/ConnectingBranch/data.tsx +207 -213
- package/src/components/ConnectingBranch/types.ts +26 -17
- package/src/components/Excel/ColorBarSelector/ColorBarSelector.tsx +1 -1
- package/src/components/Excel/ExcelFile/ExcelFile.scss +4 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +35 -16
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +14 -3
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +1 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +16 -5
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +12 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +31 -5
- package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +30 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +47 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +4 -4
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +6 -0
- package/src/components/Excel/ExcelFile.stories.tsx +10 -2
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +11 -11
- package/src/components/Excel/Types.ts +1 -0
- package/src/components/Excel/dataConversion.ts +17 -19
- package/src/components/MenuOption/MenuOption.tsx +4 -0
- package/src/components/MenuOption/types.ts +1 -0
- package/src/components/MiniModal/MiniModal.scss +8 -0
- package/src/components/MiniModal/MiniModal.stories.tsx +60 -0
- package/src/components/MiniModal/types.ts +2 -1
- package/src/components/Table/Table.stories.tsx +1 -1
- package/src/components/Table/Table.tsx +8 -4
- package/src/components/TableTree/Components/TableCell.tsx +25 -10
- package/src/components/TableTree/Components/TableHead.tsx +5 -5
- package/src/components/TableTree/Components/TableRow.tsx +27 -24
- package/src/components/TableTree/TableTree.scss +89 -69
- package/src/components/TableTree/TableTree.stories.tsx +66 -2
- package/src/components/TableTree/types.ts +4 -3
- package/src/index.ts +2 -0
- package/src/utils/getTreeDetails/getTreeDetails.ts +1 -1
- package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
- package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
- package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
- package/lib/components/Button/Button.stories.d.ts +0 -12
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
- package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
- package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
- package/lib/components/Chip/Chip.stories.d.ts +0 -14
- package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
- package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
- package/lib/components/Drawer/Drawer.stories.d.ts +0 -7
- package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
- package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
- package/lib/components/Form/Form.stories.d.ts +0 -6
- package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
- package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
- package/lib/components/Icon/Icon.stories.d.ts +0 -7
- package/lib/components/IconButton/IconButton.stories.d.ts +0 -6
- package/lib/components/Input/Input.stories.d.ts +0 -9
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
- package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
- package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -15
- package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -9
- package/lib/components/Modal/Modal.stories.d.ts +0 -7
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -9
- package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -8
- package/lib/components/Search/Search.stories.d.ts +0 -6
- package/lib/components/Select/Select.stories.d.ts +0 -13
- package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
- package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -15
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +0 -4
- package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +0 -3
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +0 -4
- package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +0 -3
- package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
- package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
- package/lib/components/Table/Table.stories.d.ts +0 -11
- package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
- package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
- package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
- package/lib/components/ThemeProvider/CustomThemeProvider.d.ts +0 -8
- package/lib/components/Toast/Toast.stories.d.ts +0 -6
- package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
- package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
- package/lib/components/Typography/Typography.stories.d.ts +0 -10
- package/lib/hooks/useCustomThemeProvider.d.ts +0 -11
- package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
- package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
- package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
- package/lib/utils/debounce/debounce.stories.d.ts +0 -6
- package/lib/utils/ffID/ffID.stories.d.ts +0 -6
- package/lib/utils/find/findAndInsert.d.ts +0 -7
- package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
- package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
- package/lib/utils/throttle/throttle.stories.d.ts +0 -6
- package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,12 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,14 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,7 +0,0 @@
|
|
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;
|
@@ -1,7 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,15 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,7 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,10 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,13 +0,0 @@
|
|
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;
|
@@ -1,4 +0,0 @@
|
|
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;
|
@@ -1,15 +0,0 @@
|
|
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
|
-
};
|
@@ -1,10 +0,0 @@
|
|
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;
|
@@ -1,14 +0,0 @@
|
|
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;
|
@@ -1,11 +0,0 @@
|
|
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;
|
@@ -1,7 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,9 +0,0 @@
|
|
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;
|
@@ -1,8 +0,0 @@
|
|
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;
|
@@ -1,12 +0,0 @@
|
|
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;
|
@@ -1,15 +0,0 @@
|
|
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;
|
@@ -1,10 +0,0 @@
|
|
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;
|
@@ -1,11 +0,0 @@
|
|
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 {};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
title: string;
|
3
|
-
component: (obj1: import("./compareObjects").AnyObject | null, obj2: import("./compareObjects").AnyObject | null) => boolean;
|
4
|
-
};
|
5
|
-
export default _default;
|
6
|
-
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export type AnyObject = {
|
2
|
-
id: number;
|
3
|
-
[key: string]: any;
|
4
|
-
};
|
5
|
-
export declare function findAndInsert<T extends AnyObject>(data: T[], key: keyof T, targetId: number, newEntry: T, insertPosition: 'above' | 'below' | 'replace', childrenKey?: string): {
|
6
|
-
updatedArray: T[];
|
7
|
-
} | null;
|