pixel-react 1.7.6 → 1.7.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.
Files changed (50) hide show
  1. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  2. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  3. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  4. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  5. package/lib/components/AddButton/AddButton.d.ts +5 -0
  6. package/lib/components/AddButton/AddButton.stories.d.ts +6 -0
  7. package/lib/components/AddButton/index.d.ts +1 -0
  8. package/lib/components/AddButton/types.d.ts +4 -0
  9. package/lib/components/AddVariables/AddVariables.d.ts +5 -0
  10. package/lib/components/AddVariables/index.d.ts +1 -0
  11. package/lib/components/AddVariables/types.d.ts +35 -0
  12. package/lib/components/AttachImage/AttachImage.stories.d.ts +7 -0
  13. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +6 -0
  14. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +8 -0
  15. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +7 -0
  16. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +8 -0
  17. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -0
  18. package/lib/components/EditTextField/EditTextField.stories.d.ts +10 -0
  19. package/lib/components/Editor/Editor.stories.d.ts +6 -0
  20. package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +4 -0
  21. package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
  22. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
  23. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
  24. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +2 -0
  25. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  26. package/lib/components/Select/Select.stories.d.ts +1 -0
  27. package/lib/components/StatusCard/StatusCard.stories.d.ts +11 -0
  28. package/lib/components/ThemeProvider/types.d.ts +1 -1
  29. package/lib/index.d.ts +1 -1
  30. package/lib/index.esm.js +20 -20
  31. package/lib/index.esm.js.map +1 -1
  32. package/lib/index.js +20 -20
  33. package/lib/index.js.map +1 -1
  34. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
  35. package/package.json +1 -1
  36. package/src/assets/Themes/BlueTheme.scss +279 -0
  37. package/src/assets/Themes/Theme.scss +5 -0
  38. package/src/assets/icons/approval_pending.svg +8 -8
  39. package/src/assets/icons/configuration.svg +3 -3
  40. package/src/assets/icons/defects.svg +8 -8
  41. package/src/assets/icons/element.svg +4 -4
  42. package/src/assets/icons/project_element.svg +4 -4
  43. package/src/assets/icons/step_group.svg +10 -10
  44. package/src/assets/icons/variable.svg +3 -3
  45. package/src/assets/icons/web_service_icon.svg +3 -3
  46. package/src/components/AppHeader/AppHeader.tsx +4 -2
  47. package/src/components/Icon/iconList.ts +2 -2
  48. package/src/components/ThemeProvider/types.ts +1 -1
  49. /package/lib/components/ExcelFile/{ColorBarselector → ColorBarSelector}/ColorBarSelector.d.ts +0 -0
  50. /package/src/assets/icons/{impactList.svg → impact_list.svg} +0 -0
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './AddButton.scss';
3
+ import { AddButtonProps } from './types';
4
+ declare const AddButton: React.FC<AddButtonProps>;
5
+ export default AddButton;
@@ -0,0 +1,6 @@
1
+ import type { 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 PrimaryAddButton: Story;
6
+ export default meta;
@@ -0,0 +1 @@
1
+ export { default } from './AddButton';
@@ -0,0 +1,4 @@
1
+ export interface AddButtonProps {
2
+ name: string;
3
+ onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4
+ }
@@ -0,0 +1,5 @@
1
+ import { AddVariableProps } from './types';
2
+ import './AddVariables.scss';
3
+ import React from 'react';
4
+ declare const AddVariables: React.FC<AddVariableProps>;
5
+ export default AddVariables;
@@ -0,0 +1 @@
1
+ export { default } from './AddVariables';
@@ -0,0 +1,35 @@
1
+ export type dynamicObject = {
2
+ [key: string]: any;
3
+ };
4
+ export interface AddVariableProps {
5
+ /**
6
+ * Label for the field
7
+ */
8
+ label?: string;
9
+ /**
10
+ * List of variables
11
+ */
12
+ variableList?: dynamicObject[];
13
+ /**
14
+ * Place holder for the input field
15
+ */
16
+ placeholder?: string;
17
+ /**
18
+ * Function to handle input change
19
+ * @param value
20
+ * @returns
21
+ */
22
+ onChange: (value: string) => void;
23
+ /**
24
+ * Function to handle create variable icon click
25
+ */
26
+ onCreateVariableClick?: () => void;
27
+ /**
28
+ * Value of the input field
29
+ */
30
+ value: string;
31
+ /**
32
+ * Width of the dropdown
33
+ */
34
+ dropdownWidth?: string;
35
+ }
@@ -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,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import BarChart from './BarChart';
3
+ declare const meta: Meta<typeof BarChart>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof BarChart>;
6
+ export declare const BarChartDashboard: 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,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { EditorProps } from './types';
3
+ declare const meta: Meta<EditorProps>;
4
+ export default meta;
5
+ type Story = StoryObj<EditorProps>;
6
+ export declare const Default: Story;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './ContextMenu.scss';
3
+ declare const ContextMenu: React.FC<ContextMenuProps>;
4
+ export default ContextMenu;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ExcelFile from './ExcelFile/ExcelFile';
3
+ declare const meta: Meta<typeof ExcelFile>;
4
+ type Story = StoryObj<typeof ExcelFile>;
5
+ export declare const Default: Story;
6
+ 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;
@@ -7,4 +7,5 @@ export declare const Default2: Story;
7
7
  export declare const Default3: Story;
8
8
  export declare const EmailGroup: Story;
9
9
  export declare const Controlled: Story;
10
+ export declare const Labels: Story;
10
11
  export default meta;
@@ -10,4 +10,5 @@ export declare const Disable: Story;
10
10
  export declare const WithInitialValue: Story;
11
11
  export declare const OptionSelection: Story;
12
12
  export declare const CustomJSX: Story;
13
+ export declare const updateOptionFromOutside: Story;
13
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;
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
2
+ export type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
3
3
  export interface ThemeContextType {
4
4
  currentTheme: Theme;
5
5
  setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;
package/lib/index.d.ts CHANGED
@@ -1330,7 +1330,7 @@ declare const Dropzone: FC<DroppableProps>;
1330
1330
 
1331
1331
  declare const FilePreview: React.FC<FilePreviewProps>;
1332
1332
 
1333
- type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme';
1333
+ type Theme = 'ff-light-theme' | 'ff-dark-theme' | 'ff-grey-theme' | 'ff-blue-theme';
1334
1334
  interface ThemeContextType {
1335
1335
  currentTheme: Theme;
1336
1336
  setCurrentTheme: React.Dispatch<React.SetStateAction<Theme>>;