pixel-react 1.5.7 → 1.5.8
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/assets/fonts/Poppins-Bold.ttf +0 -0
- package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/components/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/AttachImage/AttachImage.stories.d.ts +7 -0
- package/lib/components/Charts/BarChart/BarChart.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/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -0
- package/lib/components/EditTextField/EditTextField.stories.d.ts +10 -0
- package/lib/components/Editor/Editor.stories.d.ts +6 -0
- package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
- package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
- package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +2 -0
- package/lib/components/LabelEditTextField/types.d.ts +5 -0
- package/lib/components/MiniModal/types.d.ts +9 -0
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
- package/lib/components/Select/Select.stories.d.ts +1 -0
- package/lib/components/StatusCard/StatusCard.stories.d.ts +11 -0
- package/lib/index.d.ts +14 -0
- package/lib/index.esm.js +148 -94
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +148 -94
- package/lib/index.js.map +1 -1
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
- package/package.json +1 -1
- package/src/assets/icons/approval_pending.svg +8 -8
- package/src/assets/icons/configuration.svg +3 -3
- package/src/assets/icons/defects.svg +8 -8
- package/src/assets/icons/element.svg +4 -4
- package/src/assets/icons/license_info.svg +12 -12
- package/src/assets/icons/project_element.svg +4 -4
- package/src/assets/icons/step_group.svg +10 -10
- package/src/assets/icons/variable.svg +3 -3
- package/src/components/EditTextField/EditTextField.stories.tsx +1 -1
- package/src/components/LabelEditTextField/LabelEditTextField.scss +1 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +11 -15
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +44 -13
- package/src/components/LabelEditTextField/types.ts +5 -0
- package/src/components/MiniModal/MiniModal.scss +9 -5
- package/src/components/MiniModal/MiniModal.stories.tsx +28 -1
- package/src/components/MiniModal/MiniModal.tsx +110 -74
- package/src/components/MiniModal/types.ts +9 -0
- package/src/components/MultiSelect/MultiSelect.stories.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.tsx +11 -8
- /package/lib/components/ExcelFile/{ColorBarselector → ColorBarSelector}/ColorBarSelector.d.ts +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './AddButton';
|
@@ -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,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,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,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;
|
@@ -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,24 @@
|
|
1
|
+
interface CellStyle {
|
2
|
+
color?: string;
|
3
|
+
backgroundColor?: string;
|
4
|
+
bold?: boolean;
|
5
|
+
italic?: boolean;
|
6
|
+
name?: string;
|
7
|
+
border: {
|
8
|
+
top: string;
|
9
|
+
bottom: string;
|
10
|
+
left: string;
|
11
|
+
right: string;
|
12
|
+
};
|
13
|
+
alignment: {
|
14
|
+
horizontal?: string;
|
15
|
+
vertical?: string;
|
16
|
+
wrapText?: boolean;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
interface CellData {
|
20
|
+
style?: CellStyle;
|
21
|
+
}
|
22
|
+
type ImportExcelStylesData = Array<Array<CellData>>;
|
23
|
+
export default function ImportExcelStyles(data: ImportExcelStylesData | null): void;
|
24
|
+
export {};
|
@@ -6,6 +6,8 @@ declare const meta: Meta<typeof LabelEditTextField>;
|
|
6
6
|
type Story = StoryObj<typeof LabelEditTextField>;
|
7
7
|
export declare const textField: Story;
|
8
8
|
export declare const textFieldWithOutLabel: Story;
|
9
|
+
export declare const openTextFieldWithOutLabel: Story;
|
9
10
|
export declare const textFieldWithDropdown: Story;
|
10
11
|
export declare const textFieldWithHighlight: Story;
|
12
|
+
export declare const openLabelEditTextField: Story;
|
11
13
|
export default meta;
|
@@ -4,6 +4,7 @@ interface ModalDimensions {
|
|
4
4
|
height?: number;
|
5
5
|
borderRadius?: number;
|
6
6
|
zIndex?: number;
|
7
|
+
boxShadow?: string;
|
7
8
|
}
|
8
9
|
export interface MiniEditModalProps {
|
9
10
|
/**
|
@@ -90,7 +91,15 @@ export interface MiniEditModalProps {
|
|
90
91
|
wrapperProperties?: {
|
91
92
|
width?: number;
|
92
93
|
zIndex?: number;
|
94
|
+
boxShadow?: string;
|
93
95
|
};
|
96
|
+
arrowZIndex?: number;
|
97
|
+
overlay?: {
|
98
|
+
isOverlay?: boolean;
|
99
|
+
zIndexOverlay?: number;
|
100
|
+
backgroundColorOverlay?: string;
|
101
|
+
};
|
102
|
+
outSideClick?: any;
|
94
103
|
}
|
95
104
|
export interface Rect {
|
96
105
|
top: number;
|
@@ -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;
|
package/lib/index.d.ts
CHANGED
@@ -1352,6 +1352,7 @@ interface ModalDimensions {
|
|
1352
1352
|
height?: number;
|
1353
1353
|
borderRadius?: number;
|
1354
1354
|
zIndex?: number;
|
1355
|
+
boxShadow?: string;
|
1355
1356
|
}
|
1356
1357
|
interface MiniEditModalProps {
|
1357
1358
|
/**
|
@@ -1438,7 +1439,15 @@ interface MiniEditModalProps {
|
|
1438
1439
|
wrapperProperties?: {
|
1439
1440
|
width?: number;
|
1440
1441
|
zIndex?: number;
|
1442
|
+
boxShadow?: string;
|
1443
|
+
};
|
1444
|
+
arrowZIndex?: number;
|
1445
|
+
overlay?: {
|
1446
|
+
isOverlay?: boolean;
|
1447
|
+
zIndexOverlay?: number;
|
1448
|
+
backgroundColorOverlay?: string;
|
1441
1449
|
};
|
1450
|
+
outSideClick?: any;
|
1442
1451
|
}
|
1443
1452
|
|
1444
1453
|
declare const MiniModal: React$1.ForwardRefExoticComponent<MiniEditModalProps & React$1.RefAttributes<HTMLDivElement>>;
|
@@ -2088,6 +2097,11 @@ interface LabelEditTextFieldTypes$1 {
|
|
2088
2097
|
isOpen?: boolean;
|
2089
2098
|
/**for conditionally handle custom error */
|
2090
2099
|
customErrorCondition?: boolean;
|
2100
|
+
onClick?: () => void;
|
2101
|
+
tooltip?: {
|
2102
|
+
tooltipTitle?: string;
|
2103
|
+
tooltipPlacement?: string;
|
2104
|
+
};
|
2091
2105
|
}
|
2092
2106
|
|
2093
2107
|
declare const LabelEditTextField: FC<LabelEditTextFieldTypes$1>;
|