pixel-react 1.4.3 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -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/AddButton/AddButton.d.ts +5 -0
- package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
- package/lib/components/AddButton/index.d.ts +1 -0
- package/lib/components/AddButton/types.d.ts +4 -0
- package/lib/components/AddResourceButton/AddButton.stories.d.ts +8 -0
- package/lib/components/AddResourceButton/type.d.ts +1 -1
- package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +7 -0
- package/lib/components/AppHeader/AppHeader.stories.d.ts +7 -0
- package/lib/components/AttachImage/AttachImage.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/BarChart/BarChart.stories.d.ts +6 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +6 -0
- package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +8 -0
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +7 -0
- package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +8 -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/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -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/EditTextField/EditTextField.stories.d.ts +10 -0
- package/lib/components/Editor/Editor.d.ts +1 -2
- package/lib/components/Editor/Editor.stories.d.ts +6 -0
- package/lib/components/Editor/types.d.ts +1 -5
- package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.d.ts +13 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +0 -13
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +29 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/engine.d.ts +3 -9
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/formula.d.ts +2 -10
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/engine/point-graph.d.ts +0 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +27 -2
- package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
- package/lib/components/ExcelFile/ColorBarselector/ColorBarSelector.d.ts +8 -0
- package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +4 -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 +81 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +130 -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 +215 -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 +45 -0
- package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +3 -0
- package/lib/components/ExcelFile/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +15 -0
- package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +3 -0
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
- package/lib/components/ExcelFile/Types.d.ts +176 -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/Form/Forms.d.ts +4 -2
- 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.d.ts +1 -1
- package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +9 -0
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +13 -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.d.ts +1 -1
- package/lib/components/MenuOption/MenuOption.stories.d.ts +16 -0
- package/lib/components/MenuOption/types.d.ts +49 -15
- 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.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +12 -0
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +4 -5
- package/lib/components/MultiSelect/dropdownTypes.d.ts +2 -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.d.ts +1 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +10 -0
- package/lib/components/RadioButton/radioButtonTypes.d.ts +3 -1
- 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 +14 -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 +4 -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/StatusCard/StatusCard.stories.d.ts +11 -0
- package/lib/components/Table/Table.d.ts +1 -1
- 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/ToggleSwitch/ToggleSwitch.d.ts +10 -0
- package/lib/components/ToggleSwitch/index.d.ts +1 -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 +140 -29
- package/lib/index.esm.js +15628 -5724
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +15625 -5718
- 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/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
- package/lib/utils/throttle/throttle.stories.d.ts +6 -0
- package/lib/utils/truncateText/truncateText.stories.d.ts +6 -0
- package/package.json +12 -12
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +10 -0
- package/src/assets/Themes/BaseTheme.scss +17 -23
- package/src/assets/Themes/DarkTheme.scss +25 -38
- package/src/assets/icons/apk_file_type.svg +4 -0
- package/src/assets/icons/compressed_file_type.svg +4 -0
- package/src/assets/icons/csv_file_type.svg +4 -0
- package/src/assets/icons/excel_corner_menu.svg +3 -0
- package/src/assets/icons/formula_icon.svg +3 -0
- package/src/assets/icons/gif_file_type.svg +4 -0
- package/src/assets/icons/html_file_type.svg +4 -0
- package/src/assets/icons/ipk_file_type.svg +4 -0
- package/src/assets/icons/jpg_file_type.svg +4 -0
- package/src/assets/icons/json_file_type.svg +4 -0
- package/src/assets/icons/pdf_file_type.svg +4 -0
- package/src/assets/icons/png_file_type.svg +4 -0
- package/src/assets/icons/quick_run_setting_icon.svg +5 -0
- package/src/assets/icons/run_automation_scripts_icon.svg +33 -0
- package/src/assets/icons/run_manual_testcase_icon.svg +4 -0
- package/src/assets/icons/search.svg +2 -2
- package/src/assets/icons/txt_file_type.svg +4 -0
- package/src/assets/icons/xls_file_type.svg +4 -0
- package/src/assets/icons/xlsx_file_type.svg +4 -0
- package/src/assets/icons/xml_file_type.svg +4 -0
- package/src/components/AddResourceButton/AddButton.tsx +7 -7
- package/src/components/AddResourceButton/type.ts +1 -1
- package/src/components/AttachmentButton/AttachmentButton.scss +1 -1
- package/src/components/AttachmentButton/AttachmentButton.stories.tsx +1 -0
- package/src/components/Button/Button.scss +22 -20
- package/src/components/Button/Button.tsx +8 -1
- package/src/components/Drawer/Drawer.scss +4 -3
- package/src/components/Drawer/Drawer.tsx +14 -18
- package/src/components/Drawer/Types.ts +4 -0
- package/src/components/Editor/Editor.tsx +224 -193
- package/src/components/Editor/types.ts +1 -5
- package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.scss +39 -0
- package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.tsx +51 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +7 -8
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +35 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +44 -7
- package/src/components/Excel/ExcelFile/ExcelFileComponents/CornerIndicator.tsx +8 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +45 -6
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +37 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +69 -24
- package/src/components/Excel/ExcelFile/ExcelFileComponents/actions.ts +59 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/engine/engine.ts +18 -65
- package/src/components/Excel/ExcelFile/ExcelFileComponents/engine/formula.ts +5 -110
- package/src/components/Excel/ExcelFile/ExcelFileComponents/engine/point-graph.ts +0 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +105 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +670 -673
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +38 -2
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +0 -4
- package/src/components/FileDropzone/FileDropzone.scss +4 -2
- package/src/components/FileDropzone/FileDropzone.tsx +1 -1
- package/src/components/FileDropzone/FilePreview.tsx +3 -1
- package/src/components/Form/Form.scss +2 -0
- package/src/components/Form/Form.stories.tsx +195 -6
- package/src/components/Form/Forms.tsx +15 -8
- package/src/components/Icon/iconList.ts +46 -0
- package/src/components/IconRadioGroup/IconRadioGroup.scss +3 -0
- package/src/components/IconRadioGroup/IconRadioGroup.tsx +20 -17
- package/src/components/Input/Input.scss +14 -15
- package/src/components/Input/Input.stories.tsx +2 -1
- package/src/components/InputWithDropdown/InputWithDropdown.scss +12 -13
- package/src/components/InputWithDropdown/InputWithDropdown.stories.tsx +3 -2
- package/src/components/InputWithDropdown/InputWithDropdown.tsx +22 -19
- package/src/components/MenuOption/MenuOption.scss +11 -10
- package/src/components/MenuOption/MenuOption.stories.tsx +51 -232
- package/src/components/MenuOption/MenuOption.tsx +131 -52
- package/src/components/MenuOption/types.ts +55 -14
- package/src/components/MiniModal/MiniModal.stories.tsx +2 -3
- package/src/components/MultiSelect/Dropdown.tsx +11 -12
- package/src/components/MultiSelect/MultiSelect.scss +1 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +45 -10
- package/src/components/MultiSelect/MultiSelect.tsx +29 -13
- package/src/components/MultiSelect/MultiSelectTypes.ts +7 -5
- package/src/components/MultiSelect/dropdownTypes.ts +2 -0
- package/src/components/RadioButton/RadioButton.scss +3 -1
- package/src/components/RadioButton/RadioButton.tsx +3 -1
- package/src/components/RadioButton/radioButtonTypes.tsx +5 -1
- package/src/components/Search/Search.scss +25 -6
- package/src/components/Search/Search.tsx +45 -24
- package/src/components/Select/Select.scss +12 -12
- package/src/components/Select/Select.stories.tsx +2 -0
- package/src/components/Select/Select.tsx +11 -5
- package/src/components/Select/components/Dropdown.scss +2 -0
- package/src/components/Select/components/Dropdown.tsx +19 -4
- package/src/components/Select/components/types.ts +4 -2
- package/src/components/StatusButton/StatusButton.tsx +26 -20
- package/src/components/Table/Table.scss +1 -3
- package/src/components/Table/Table.stories.tsx +1 -0
- package/src/components/Table/Table.tsx +7 -3
- package/src/components/ToggleSwitch/ToggleSwitch.scss +59 -0
- package/src/components/ToggleSwitch/ToggleSwitch.stories.tsx +52 -0
- package/src/components/ToggleSwitch/ToggleSwitch.tsx +30 -0
- package/src/components/ToggleSwitch/index.ts +1 -0
- package/src/hooks/useFileDropzone.tsx +1 -0
- package/src/index.ts +7 -3
- 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/src/components/Excel/ContextMenu/ContextMenu.scss +0 -99
- package/src/components/Excel/ContextMenu/ContextMenu.tsx +0 -103
package/.yarn/install-state.gz
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './AddButton';
|
@@ -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;
|
@@ -49,7 +49,7 @@ export interface AddResourceButtonProps {
|
|
49
49
|
* @property {boolean} isActive - Specifies if the button is in an active state (highlighted when selected).
|
50
50
|
*/
|
51
51
|
export interface DirectionalArrowButtonProps {
|
52
|
-
direction:
|
52
|
+
direction: 'top' | 'right' | 'down';
|
53
53
|
menuOptions: {
|
54
54
|
label: string;
|
55
55
|
value: string | string[];
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import AllProjectsDropdown from './AllProjectsDropdown';
|
3
|
+
declare const meta: Meta<typeof AllProjectsDropdown>;
|
4
|
+
type Story = StoryObj<typeof AllProjectsDropdown>;
|
5
|
+
export declare const Default: Story;
|
6
|
+
export declare const PrimaryIconButton: Story;
|
7
|
+
export default meta;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import AppHeader from './AppHeader';
|
3
|
+
declare const meta: Meta<typeof AppHeader>;
|
4
|
+
type Story = StoryObj<typeof AppHeader>;
|
5
|
+
export declare const SampleAppHeader: Story;
|
6
|
+
export declare const Controlled: Story;
|
7
|
+
export default meta;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import AttachImage from './AttachImage';
|
3
|
+
import { AttachImageProps } from './types';
|
4
|
+
declare const meta: Meta<typeof AttachImage>;
|
5
|
+
export default meta;
|
6
|
+
type Story = StoryObj<AttachImageProps>;
|
7
|
+
export declare const Default: Story;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import AttachmentButton from './AttachmentButton';
|
3
|
+
declare const meta: Meta<typeof AttachmentButton>;
|
4
|
+
type Story = StoryObj<typeof AttachmentButton>;
|
5
|
+
export declare const Default: Story;
|
6
|
+
export declare const SmallFileLimit: Story;
|
7
|
+
export declare const LargeFileLimit: Story;
|
8
|
+
export declare const DisabledUploader: Story;
|
9
|
+
export default meta;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Avatar from './Avatar';
|
3
|
+
declare const meta: Meta<typeof Avatar>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof meta>;
|
6
|
+
export declare const Small: Story;
|
7
|
+
export declare const Medium: Story;
|
8
|
+
export declare const Large: Story;
|
9
|
+
export declare const CustomAvatarSize: Story;
|
10
|
+
export declare const CustomIconSize: Story;
|
@@ -0,0 +1,13 @@
|
|
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 Warning: Story;
|
10
|
+
export declare const PrimaryWithIcon: Story;
|
11
|
+
export declare const SecondaryWithIcon: Story;
|
12
|
+
export declare const TertiaryWithIcon: Story;
|
13
|
+
export default meta;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react/*';
|
2
|
+
import DashboardDonutChart from './DashboardDonutChart';
|
3
|
+
declare const meta: Meta<typeof DashboardDonutChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof DashboardDonutChart>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const MemoryLegend: Story;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import IconRadialChart from './IconRadialChart';
|
3
|
+
declare const meta: Meta<typeof IconRadialChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof IconRadialChart>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const Mobile: Story;
|
8
|
+
export declare const WithoutIcon: Story;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import LineChart from './LineChart';
|
3
|
+
import { LineChartProps } from './types';
|
4
|
+
declare const meta: Meta<typeof LineChart>;
|
5
|
+
export default meta;
|
6
|
+
export declare const DefaultLineChart: StoryObj<LineChartProps>;
|
7
|
+
export declare const StatusLineChart: StoryObj<LineChartProps>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import MultiRadialChart from './MultiRadialChart';
|
3
|
+
declare const meta: Meta<typeof MultiRadialChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof MultiRadialChart>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const numberLegend: Story;
|
8
|
+
export declare const PillLegend: Story;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import PieChart from './PieChart';
|
3
|
+
declare const meta: Meta<typeof PieChart>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof PieChart>;
|
6
|
+
export declare const PieChartDashBoard: Story;
|
7
|
+
export declare const PieChartDashBoardWithBorder: 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,6 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import ConnectingBranch from './ConnectingBranch';
|
3
|
+
declare const meta: Meta<typeof ConnectingBranch>;
|
4
|
+
export default meta;
|
5
|
+
type Story = StoryObj<typeof ConnectingBranch>;
|
6
|
+
export declare const Default: Story;
|
@@ -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,12 @@
|
|
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 WithoutHeader: Story;
|
8
|
+
export declare const WithCustomHeader: Story;
|
9
|
+
export declare const WithCustomFooter: Story;
|
10
|
+
export declare const WithTertiaryButtons: Story;
|
11
|
+
export declare const WithCustomZIndex: Story;
|
12
|
+
export declare const Controlled: Story;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import EditTextField from './EditTextField';
|
3
|
+
import '../../assets/styles/_colors.scss';
|
4
|
+
import './EditTextField.scss';
|
5
|
+
declare const meta: Meta<typeof EditTextField>;
|
6
|
+
type Story = StoryObj<typeof EditTextField>;
|
7
|
+
export declare const textFieldWithLabel: Story;
|
8
|
+
export declare const textFieldWithOutLabel: Story;
|
9
|
+
export declare const openTextField: Story;
|
10
|
+
export default meta;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
import { EditorProps } from './types';
|
3
2
|
import './Editor.scss';
|
4
|
-
declare const Editor:
|
3
|
+
declare const Editor: import("react").ForwardRefExoticComponent<EditorProps & import("react").RefAttributes<any>>;
|
5
4
|
export default Editor;
|
@@ -5,7 +5,7 @@ export interface EditorProps {
|
|
5
5
|
/**
|
6
6
|
* Editor Content Type
|
7
7
|
*/
|
8
|
-
language
|
8
|
+
language: 'javascript' | 'html' | 'json' | 'plain text' | 'xml';
|
9
9
|
/**
|
10
10
|
*
|
11
11
|
*Width of the editor
|
@@ -15,10 +15,6 @@ export interface EditorProps {
|
|
15
15
|
* Height of the editor
|
16
16
|
*/
|
17
17
|
height: string;
|
18
|
-
/**
|
19
|
-
* Show toolbar
|
20
|
-
*/
|
21
|
-
showToolbar?: boolean;
|
22
18
|
/**
|
23
19
|
* read only
|
24
20
|
*/
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import './ExcelContextMenu.scss';
|
2
|
+
import * as Matrix from '../ExcelFile/ExcelFileComponents/matrix';
|
3
|
+
import { CellBase, ContextMenuState } from '../ExcelFile/ExcelFileComponents/types';
|
4
|
+
type ExcelContextMenuProps = {
|
5
|
+
data: Matrix.Matrix<CellBase>;
|
6
|
+
contextMenu: ContextMenuState;
|
7
|
+
addRowTop: (data: Matrix.Matrix<CellBase>) => void;
|
8
|
+
addColumnLeft: (data: Matrix.Matrix<CellBase>) => void;
|
9
|
+
deleteRow: (data: Matrix.Matrix<CellBase>) => void;
|
10
|
+
deleteColumn: (data: Matrix.Matrix<CellBase>) => void;
|
11
|
+
};
|
12
|
+
declare const ExcelContextMenu: React.FC<ExcelContextMenuProps>;
|
13
|
+
export default ExcelContextMenu;
|
@@ -10,19 +10,6 @@ export type Props<CellType extends Types.CellBase> = {
|
|
10
10
|
data: Matrix.Matrix<CellType>;
|
11
11
|
/** Class name to be added to the spreadsheet's root element */
|
12
12
|
className?: string;
|
13
|
-
/**
|
14
|
-
* Use dark colors that complement dark mode
|
15
|
-
* @defaultValue `false`
|
16
|
-
*/
|
17
|
-
/**
|
18
|
-
* Function used to create the formula parser (instance of
|
19
|
-
* "fast-formula-parser") used by the Spreadsheet by getting the spreadsheet's
|
20
|
-
* data.
|
21
|
-
* @defaultValue function which creates a formula parser bound to the
|
22
|
-
* Spreadsheet's data.
|
23
|
-
* @see `createFormulaParser`
|
24
|
-
* @see https://www.npmjs.com/package/fast-formula-parser
|
25
|
-
*/
|
26
13
|
createFormulaParser?: Types.CreateFormulaParser;
|
27
14
|
/**
|
28
15
|
* Labels to use in column indicators.
|
@@ -34,6 +34,10 @@ export declare const BORDER_TYPE = "BORDER_TYPE";
|
|
34
34
|
export declare const COLOR = "COLOR";
|
35
35
|
export declare const BACKGROUND_COLOR = "BACKGROUND_COLOR";
|
36
36
|
export declare const FORMATE_PAINTER = "FORMATE_PAINTER";
|
37
|
+
export declare const ADD_ROW_TOP = "ADD_ROW_TOP";
|
38
|
+
export declare const ADD_COLUMN_LEFT = "ADD_COLUMN_LEFT";
|
39
|
+
export declare const DELETE_ROW = "DELETE_ROW";
|
40
|
+
export declare const DELETE_COLUMN = "DELETE_COLUMN";
|
37
41
|
export type BaseAction<T extends string> = {
|
38
42
|
type: T;
|
39
43
|
};
|
@@ -106,6 +110,30 @@ export type FormatePainterStyle = BaseAction<typeof FORMATE_PAINTER> & {
|
|
106
110
|
};
|
107
111
|
};
|
108
112
|
export declare function formatePainter(data: Matrix<CellBase>): FormatePainterStyle;
|
113
|
+
export type AddRowTop = BaseAction<typeof ADD_ROW_TOP> & {
|
114
|
+
payload: {
|
115
|
+
data: Matrix<CellBase>;
|
116
|
+
};
|
117
|
+
};
|
118
|
+
export declare function addRowTop(data: Matrix<CellBase>): AddRowTop;
|
119
|
+
export type AddColumnLeft = BaseAction<typeof ADD_COLUMN_LEFT> & {
|
120
|
+
payload: {
|
121
|
+
data: Matrix<CellBase>;
|
122
|
+
};
|
123
|
+
};
|
124
|
+
export declare function addColumnLeft(data: Matrix<CellBase>): AddColumnLeft;
|
125
|
+
export type DeleteRow = BaseAction<typeof DELETE_ROW> & {
|
126
|
+
payload: {
|
127
|
+
data: Matrix<CellBase>;
|
128
|
+
};
|
129
|
+
};
|
130
|
+
export declare function deleteRow(data: Matrix<CellBase>): DeleteRow;
|
131
|
+
export type DeleteColumn = BaseAction<typeof DELETE_COLUMN> & {
|
132
|
+
payload: {
|
133
|
+
data: Matrix<CellBase>;
|
134
|
+
};
|
135
|
+
};
|
136
|
+
export declare function deleteColumn(data: Matrix<CellBase>): DeleteColumn;
|
109
137
|
export type SetDataAction = BaseAction<typeof SET_DATA> & {
|
110
138
|
payload: {
|
111
139
|
data: Matrix<CellBase>;
|
@@ -200,4 +228,4 @@ export type ClearAction = BaseAction<typeof CLEAR>;
|
|
200
228
|
export declare function clear(): ClearAction;
|
201
229
|
export type BlurAction = BaseAction<typeof BLUR>;
|
202
230
|
export declare function blur(): BlurAction;
|
203
|
-
export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | BlurAction;
|
231
|
+
export type Action = SetDataAction | SetCreateFormulaParserAction | SelectEntireRowAction | SelectEntireColumnAction | SelectEntireWorksheetAction | SetSelectionAction | SelectAction | ActivateAction | SetCellDataAction | SetCellDimensionsAction | PasteAction | KeyDownAction | DragStartAction | DragEndAction | CommitAction | CopyAction | CutAction | EditAction | ViewAction | ClearAction | UnderlineTypeStyle | FontSize | FontFamily | TextAlignType | BorderType | ItalicStyle | BoldStyle | ColorStyle | BackgroundStyle | FormatePainterStyle | AddRowTop | AddColumnLeft | DeleteRow | DeleteColumn | BlurAction;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import FormulaParser, { Value } from 'fast-formula-parser';
|
2
1
|
import * as Matrix from '../matrix';
|
3
2
|
import { Point } from '../point';
|
4
3
|
import { CellBase, CreateFormulaParser } from '../types';
|
@@ -11,12 +10,7 @@ export declare class Model<Cell extends CellBase> {
|
|
11
10
|
constructor(createFormulaParser: CreateFormulaParser, data: Matrix.Matrix<Cell>, referenceGraph?: PointGraph, evaluatedData?: Matrix.Matrix<Cell>);
|
12
11
|
}
|
13
12
|
export declare function updateCellValue<Cell extends CellBase>(model: Model<Cell>, point: Point, cell: Cell): Model<Cell>;
|
14
|
-
|
15
|
-
|
16
|
-
* @param data - the spreadsheet data
|
17
|
-
* @returns the spreadsheet reference graph
|
18
|
-
*/
|
19
|
-
export declare function createReferenceGraph(data: Matrix.Matrix<CellBase>): PointGraph;
|
20
|
-
export declare function createEvaluatedData<Cell extends CellBase>(data: Matrix.Matrix<Cell>, referenceGraph: PointGraph, createFormulaParser: CreateFormulaParser): Matrix.Matrix<Cell>;
|
13
|
+
export declare function createReferenceGraph(): PointGraph;
|
14
|
+
export declare function createEvaluatedData<Cell extends CellBase>(data: Matrix.Matrix<Cell>, referenceGraph: PointGraph): Matrix.Matrix<Cell>;
|
21
15
|
/** Get the computed value of a formula cell */
|
22
|
-
export declare function getFormulaComputedValue(
|
16
|
+
export declare function getFormulaComputedValue(): string;
|
@@ -1,17 +1,9 @@
|
|
1
|
-
import FormulaParser, { FormulaParserConfig, Value } from 'fast-formula-parser';
|
2
|
-
import { Point } from '../point';
|
3
1
|
import * as Matrix from '../matrix';
|
4
2
|
import { CellBase } from '../types';
|
5
|
-
import { PointSet } from './point-set';
|
6
3
|
export declare const FORMULA_VALUE_PREFIX = "=";
|
7
4
|
/** Returns whether given value is a formula */
|
8
5
|
export declare function isFormulaValue(value: unknown): value is string;
|
9
6
|
/** Extracts formula from value */
|
10
7
|
export declare function extractFormula(value: string): string;
|
11
|
-
export declare function createFormulaParser(data: Matrix.Matrix<CellBase
|
12
|
-
|
13
|
-
* For given formula returns the cell references
|
14
|
-
* @param formula - formula to get references for
|
15
|
-
*/
|
16
|
-
export declare function getReferences(formula: string, point: Point, data: Matrix.Matrix<CellBase>): PointSet;
|
17
|
-
export declare function evaluate(formula: string, point: Point, formulaParser: FormulaParser): Value;
|
8
|
+
export declare function createFormulaParser(data: Matrix.Matrix<CellBase>): Matrix.Matrix<CellBase>;
|
9
|
+
export declare function evaluate(): string;
|
@@ -13,7 +13,6 @@ export declare class PointGraph {
|
|
13
13
|
get(node: Point): PointSet;
|
14
14
|
getBackwards(node: Point): PointSet;
|
15
15
|
getBackwardsRecursive(node: Point, visited?: PointSet): PointSet;
|
16
|
-
/** Determine whether the graph has a circular dependency, starting from given start point */
|
17
16
|
hasCircularDependency(startPoint: Point): boolean;
|
18
17
|
[Symbol.iterator](): Iterator<[Point, PointSet]>;
|
19
18
|
/** Get the points in the graph in a breadth-first order */
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import FormulaParser from 'fast-formula-parser';
|
3
2
|
import { Point } from './point';
|
4
3
|
import { Selection } from './selection';
|
5
4
|
import { Model } from './engine';
|
6
5
|
import { PointRange } from './point-range';
|
7
6
|
import { Matrix } from './matrix';
|
7
|
+
import * as MatrixValue from './matrix';
|
8
8
|
/** The base type of cell data in Spreadsheet */
|
9
9
|
export type CellBase<Value = any> = {
|
10
10
|
/** Whether the cell should not be editable */
|
@@ -54,6 +54,8 @@ export type StoreState<Cell extends CellBase = CellBase> = {
|
|
54
54
|
dragging: boolean;
|
55
55
|
lastChanged: Point | null;
|
56
56
|
lastCommit: null | CellChange<Cell>[];
|
57
|
+
selectedRow: null | number;
|
58
|
+
selectedColumn: null | number;
|
57
59
|
};
|
58
60
|
export type CellChange<Cell extends CellBase = CellBase> = {
|
59
61
|
prevCell: Cell | null;
|
@@ -89,6 +91,7 @@ export type CellComponentProps<Cell extends CellBase = CellBase> = {
|
|
89
91
|
setCellDimensions: (point: Point, dimensions: Dimensions) => void;
|
90
92
|
/** Set data of the cell */
|
91
93
|
setCellData: (cell: Cell) => void;
|
94
|
+
setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
|
92
95
|
};
|
93
96
|
/** Type of the Spreadsheet Cell component */
|
94
97
|
export type CellComponent<Cell extends CellBase = CellBase> = React.ComponentType<CellComponentProps<Cell>>;
|
@@ -143,6 +146,24 @@ export type RowIndicatorProps = {
|
|
143
146
|
selected: boolean;
|
144
147
|
/** Callback to be called when the row is selected */
|
145
148
|
onSelect: (row: number, extend: boolean) => void;
|
149
|
+
setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
|
150
|
+
deleteRow: (data: MatrixValue.Matrix<CellBase>) => void;
|
151
|
+
addRowTop: (data: MatrixValue.Matrix<CellBase>) => void;
|
152
|
+
data: MatrixValue.Matrix<CellBase>;
|
153
|
+
};
|
154
|
+
export type ContextMenuState = {
|
155
|
+
open: boolean;
|
156
|
+
position: {
|
157
|
+
x: number;
|
158
|
+
y: number;
|
159
|
+
};
|
160
|
+
options: optionsType[];
|
161
|
+
};
|
162
|
+
type optionsType = {
|
163
|
+
label: string;
|
164
|
+
value: string;
|
165
|
+
iconName: string;
|
166
|
+
action: () => void;
|
146
167
|
};
|
147
168
|
/** Type of the RowIndicator component */
|
148
169
|
export type RowIndicatorComponent = React.ComponentType<RowIndicatorProps>;
|
@@ -158,6 +179,10 @@ export type ColumnIndicatorProps = {
|
|
158
179
|
fixed?: boolean;
|
159
180
|
/** Callback to be called when the column is selected */
|
160
181
|
onSelect: (column: number, extend: boolean) => void;
|
182
|
+
setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
|
183
|
+
deleteColumn: (data: MatrixValue.Matrix<CellBase>) => void;
|
184
|
+
addColumnLeft: (data: MatrixValue.Matrix<CellBase>) => void;
|
185
|
+
data: MatrixValue.Matrix<CellBase>;
|
161
186
|
};
|
162
187
|
/** Type of the ColumnIndicator component */
|
163
188
|
export type ColumnIndicatorComponent = React.ComponentType<ColumnIndicatorProps>;
|
@@ -174,5 +199,5 @@ export type CommitChanges<Cell extends CellBase = CellBase> = Array<{
|
|
174
199
|
prevCell: Cell | null;
|
175
200
|
nextCell: Cell | null;
|
176
201
|
}>;
|
177
|
-
export type CreateFormulaParser = (data: Matrix<CellBase>) =>
|
202
|
+
export type CreateFormulaParser = (data: Matrix<CellBase>) => void;
|
178
203
|
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CellBase } from "./ExcelFile/Excel";
|
2
|
+
interface ChangeExcelStylesOptions {
|
3
|
+
sheetName: string;
|
4
|
+
styleType: string;
|
5
|
+
value: string;
|
6
|
+
selectedCell: {
|
7
|
+
row: number;
|
8
|
+
column: number;
|
9
|
+
}[];
|
10
|
+
}
|
11
|
+
export default function ChangeExcelStyles(setWorksheetsData: React.Dispatch<React.SetStateAction<{
|
12
|
+
[key: string]: Matrix<CellBase>;
|
13
|
+
}>>, options: ChangeExcelStylesOptions): void;
|
14
|
+
export {};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './ColorBarSelector.scss';
|
3
|
+
interface ColorBarSelectorProps {
|
4
|
+
getColorValue: (color: string) => void;
|
5
|
+
disabled: boolean;
|
6
|
+
}
|
7
|
+
declare const ColorBarSelector: React.FC<ColorBarSelectorProps>;
|
8
|
+
export default ColorBarSelector;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import * as Types from './types';
|
3
|
+
export declare const Cell: React.FC<Types.CellComponentProps>;
|
4
|
+
export declare const enhance: (CellComponent: React.ComponentType<Types.CellComponentProps>) => React.FC<Omit<Types.CellComponentProps, "selected" | "active" | "copied" | "dragging" | "mode" | "data" | "select" | "activate" | "setCellDimensions">>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as Types from "./types";
|
3
|
+
declare const ColumnIndicator: Types.ColumnIndicatorComponent;
|
4
|
+
export default ColumnIndicator;
|
5
|
+
export declare const enhance: (ColumnIndicatorComponent: Types.ColumnIndicatorComponent) => React.FC<Omit<Types.ColumnIndicatorProps, "selected" | "onSelect">>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as Types from "./types";
|
3
|
+
declare const CornerIndicator: Types.CornerIndicatorComponent;
|
4
|
+
export default CornerIndicator;
|
5
|
+
export declare const enhance: (CornerIndicatorComponent: Types.CornerIndicatorComponent) => React.FC<Omit<Types.CornerIndicatorProps, "selected" | "onSelect">>;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import * as React from "react";
|
2
|
+
import * as Types from "./types";
|
3
|
+
export declare const TRUE_TEXT = "TRUE";
|
4
|
+
export declare const FALSE_TEXT = "FALSE";
|
5
|
+
/** The default Spreadsheet DataViewer component */
|
6
|
+
declare const DataViewer: <Cell extends Types.CellBase<Value>, Value>({ cell, evaluatedCell, }: Types.DataViewerProps<Cell>) => React.ReactElement;
|
7
|
+
export default DataViewer;
|
8
|
+
export declare function convertBooleanToText(value: boolean): string;
|