pixel-react 1.4.4 → 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/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/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/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/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 +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.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 +12 -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 +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/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.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 +32 -7
- package/lib/index.esm.js +5052 -224
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5052 -223
- package/lib/index.js.map +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 +2 -2
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +2 -2
- package/src/components/Editor/Editor.tsx +224 -191
- package/src/components/Editor/types.ts +1 -5
- package/src/index.ts +3 -1
- 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
@@ -0,0 +1,10 @@
|
|
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 CustomModalWithArrow: () => import("react/jsx-runtime").JSX.Element;
|
8
|
+
export declare const CustomModalWithWrapper: () => import("react/jsx-runtime").JSX.Element;
|
9
|
+
export declare const normalModalFollowedByIcon: () => import("react/jsx-runtime").JSX.Element;
|
10
|
+
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,12 @@
|
|
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 EmailGroup: Story;
|
9
|
+
export declare const Controlled: Story;
|
10
|
+
export declare const Labels: Story;
|
11
|
+
export declare const Machines: Story;
|
12
|
+
export default meta;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import NlpInput from './NlpInput';
|
3
|
+
declare const meta: Meta<typeof NlpInput>;
|
4
|
+
type Story = StoryObj<typeof NlpInput>;
|
5
|
+
export declare const Primary: Story;
|
6
|
+
export declare const Disable: Story;
|
7
|
+
export default meta;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Paper from './Paper';
|
3
|
+
import './Paper.scss';
|
4
|
+
declare const meta: Meta<typeof Paper>;
|
5
|
+
type Story = StoryObj<typeof Paper>;
|
6
|
+
export declare const Default: Story;
|
7
|
+
export declare const PrimaryPaper: Story;
|
8
|
+
export declare const PaperWithLowShadow: Story;
|
9
|
+
export declare const PaperWithHighShadow: Story;
|
10
|
+
export declare const PaperWithRounded: Story;
|
11
|
+
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,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,14 @@
|
|
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 declare const updateOptionFromOutside: Story;
|
14
|
+
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
|
+
};
|
@@ -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,11 @@
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
2
|
+
import Card from './StatusCard';
|
3
|
+
import { CardProps } from './types';
|
4
|
+
declare const meta: Meta<typeof Card>;
|
5
|
+
export default meta;
|
6
|
+
type Story = StoryObj<CardProps>;
|
7
|
+
export declare const Passed: Story;
|
8
|
+
export declare const Failed: Story;
|
9
|
+
export declare const Warning: Story;
|
10
|
+
export declare const Skipped: Story;
|
11
|
+
export declare const Flaky: Story;
|
@@ -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
@@ -1983,6 +1983,35 @@ interface ToggleSwitchProps {
|
|
1983
1983
|
}
|
1984
1984
|
declare const ToggleSwitch: React__default.FC<ToggleSwitchProps>;
|
1985
1985
|
|
1986
|
+
interface AvatarProps {
|
1987
|
+
/**
|
1988
|
+
* This property determines the size of the avatar. It can be set to 'small', 'medium', or 'large'.
|
1989
|
+
*/
|
1990
|
+
variant?: 'small' | 'medium' | 'large';
|
1991
|
+
/**
|
1992
|
+
* This property allows you to customize the background color of the avatar.
|
1993
|
+
*/
|
1994
|
+
backgroundColor?: string;
|
1995
|
+
/**
|
1996
|
+
* This property specifies the name of the icon to be displayed within the avatar.
|
1997
|
+
*/
|
1998
|
+
iconName: string;
|
1999
|
+
/**
|
2000
|
+
* This property allows you to customize the color of the icon within the avatar.
|
2001
|
+
*/
|
2002
|
+
iconColor?: string;
|
2003
|
+
/**
|
2004
|
+
* This property allows you to set a custom size for the avatar, overriding the default size specified by the variant property.
|
2005
|
+
*/
|
2006
|
+
customAvatarSize?: number;
|
2007
|
+
/**
|
2008
|
+
* This property allows you to set a custom size for the icon within the avatar.
|
2009
|
+
*/
|
2010
|
+
customIconSize?: number;
|
2011
|
+
}
|
2012
|
+
|
2013
|
+
declare const Avatar: React__default.FC<AvatarProps>;
|
2014
|
+
|
1986
2015
|
interface IconProps$1 {
|
1987
2016
|
/** Name of the icon to be displayed. */
|
1988
2017
|
name: string;
|
@@ -2264,7 +2293,7 @@ interface EditorProps {
|
|
2264
2293
|
/**
|
2265
2294
|
* Editor Content Type
|
2266
2295
|
*/
|
2267
|
-
language
|
2296
|
+
language: 'javascript' | 'html' | 'json' | 'plain text' | 'xml';
|
2268
2297
|
/**
|
2269
2298
|
*
|
2270
2299
|
*Width of the editor
|
@@ -2274,10 +2303,6 @@ interface EditorProps {
|
|
2274
2303
|
* Height of the editor
|
2275
2304
|
*/
|
2276
2305
|
height: string;
|
2277
|
-
/**
|
2278
|
-
* Show toolbar
|
2279
|
-
*/
|
2280
|
-
showToolbar?: boolean;
|
2281
2306
|
/**
|
2282
2307
|
* read only
|
2283
2308
|
*/
|
@@ -2305,7 +2330,7 @@ interface EditorProps {
|
|
2305
2330
|
theme?: 'light' | 'vs-dark';
|
2306
2331
|
}
|
2307
2332
|
|
2308
|
-
declare const Editor:
|
2333
|
+
declare const Editor: React$1.ForwardRefExoticComponent<EditorProps & React$1.RefAttributes<any>>;
|
2309
2334
|
|
2310
2335
|
interface OperatingSystemInfo {
|
2311
2336
|
osName: string;
|
@@ -2344,4 +2369,4 @@ declare const ConnectingBranch: React__default.FC;
|
|
2344
2369
|
|
2345
2370
|
declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
2346
2371
|
|
2347
|
-
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FileDropzone, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useTheme };
|
2372
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BarChart, Button, Checkbox, Chip, Col, ConnectingBranch, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FileDropzone, ForwardedForms as Form, HighlightText, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LabelEditTextField, LineChart, MachineInputField, MenuOption, MiniModal, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, Paper, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, VariableInput, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, saveFileFromBlob, throttle, toast, truncateText, useTheme };
|