pixel-react 1.21.32 → 1.21.34

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 (27) hide show
  1. package/README.md +75 -75
  2. package/lib/components/Charts/BarChart/BarChart.js +8 -8
  3. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +6 -6
  4. package/lib/components/Charts/IconRadialChart/IconRadialChart.js +4 -4
  5. package/lib/components/Charts/PieChart/PieChart.js +5 -5
  6. package/lib/components/Comments/Comments.js +14 -14
  7. package/lib/components/Comments/childComment/ChildComment.js +14 -14
  8. package/lib/components/EditTextField/EditTextField.js +2 -2
  9. package/lib/components/Editor/VariableDropdown.js +14 -5
  10. package/lib/components/Editor/VariableDropdown.js.map +1 -1
  11. package/lib/components/Icon/iconList.js +4 -0
  12. package/lib/components/Icon/iconList.js.map +1 -1
  13. package/lib/components/LabelEditTextField/LabelEditTextField.js +4 -4
  14. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js +2 -2
  15. package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.js.map +1 -1
  16. package/lib/components/StatusBadge/StatusBadge.js +1 -1
  17. package/lib/components/StatusIndicator/StatusIndicator.js +5 -5
  18. package/lib/components/Weightagetable/Weightagetable.js +101 -14
  19. package/lib/components/Weightagetable/Weightagetable.js.map +1 -1
  20. package/lib/components/Weightagetable/types.d.ts +56 -7
  21. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js +14 -5
  22. package/lib/components/variableSuggestionInputDropDown/OptionsDropdown.js.map +1 -1
  23. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js +35 -12
  24. package/lib/components/variableSuggestionInputDropDown/VariableSuggestionInputDropDown.js.map +1 -1
  25. package/lib/index.js +4 -4
  26. package/lib/styles.css +1 -1
  27. package/package.json +118 -118
package/README.md CHANGED
@@ -1,75 +1,75 @@
1
- ---
2
- title: PixelReact UI
3
- ---
4
-
5
- import { Button, Input } from 'pixel-react';
6
-
7
- <h1 align="center">PixelReact UI</h1>
8
-
9
- <p align="center">
10
- <strong>PixelReact UI</strong> is an open-source React component library, designed to offer a sleek, customizable, and easy-to-use collection of components for building modern user interfaces.
11
- </p>
12
-
13
- ---
14
-
15
- ## Table of Contents
16
-
17
- - [Installation](#installation)
18
- - [Usage](#usage)
19
- - [Documentation](#documentation)
20
- - [Contributing](#contributing)
21
- - [License](#license)
22
-
23
- ---
24
-
25
- ## Installation
26
-
27
- Install PixelReact UI in your project directory with:
28
-
29
- ```bash
30
- npm install pixel-react
31
- ```
32
-
33
- or with Yarn:
34
-
35
- ```bash
36
- yarn add pixel-react
37
- ```
38
-
39
- ## Usage
40
-
41
- Once installed, you can start importing and using PixelReact components in your React application. Here's a quick example:
42
-
43
- ```jsx
44
- import { Button } from 'pixel-react';
45
-
46
- function App() {
47
- return (
48
- <div>
49
- <Button label="Button Label" variant="primary" />
50
- </div>
51
- );
52
- }
53
-
54
- export default App;
55
- ```
56
-
57
- ## Documentation
58
-
59
- For detailed documentation and live examples, [click here](https://main--65d5ca6d09c1eaf0731601fc.chromatic.com/).
60
-
61
- ## Example
62
-
63
- ```jsx
64
- import { Button } from 'pixel-react';
65
-
66
- function ExampleComponent() {
67
- return <Button label="Click Me!" variant="primary" />;
68
- }
69
- ```
70
-
71
- ## License
72
-
73
- PixelReact UI is licensed under the [MIT License](LICENSE). Feel free to use it in your projects, both personal and commercial.
74
-
75
- ---
1
+ ---
2
+ title: PixelReact UI
3
+ ---
4
+
5
+ import { Button, Input } from 'pixel-react';
6
+
7
+ <h1 align="center">PixelReact UI</h1>
8
+
9
+ <p align="center">
10
+ <strong>PixelReact UI</strong> is an open-source React component library, designed to offer a sleek, customizable, and easy-to-use collection of components for building modern user interfaces.
11
+ </p>
12
+
13
+ ---
14
+
15
+ ## Table of Contents
16
+
17
+ - [Installation](#installation)
18
+ - [Usage](#usage)
19
+ - [Documentation](#documentation)
20
+ - [Contributing](#contributing)
21
+ - [License](#license)
22
+
23
+ ---
24
+
25
+ ## Installation
26
+
27
+ Install PixelReact UI in your project directory with:
28
+
29
+ ```bash
30
+ npm install pixel-react
31
+ ```
32
+
33
+ or with Yarn:
34
+
35
+ ```bash
36
+ yarn add pixel-react
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ Once installed, you can start importing and using PixelReact components in your React application. Here's a quick example:
42
+
43
+ ```jsx
44
+ import { Button } from 'pixel-react';
45
+
46
+ function App() {
47
+ return (
48
+ <div>
49
+ <Button label="Button Label" variant="primary" />
50
+ </div>
51
+ );
52
+ }
53
+
54
+ export default App;
55
+ ```
56
+
57
+ ## Documentation
58
+
59
+ For detailed documentation and live examples, [click here](https://main--65d5ca6d09c1eaf0731601fc.chromatic.com/).
60
+
61
+ ## Example
62
+
63
+ ```jsx
64
+ import { Button } from 'pixel-react';
65
+
66
+ function ExampleComponent() {
67
+ return <Button label="Click Me!" variant="primary" />;
68
+ }
69
+ ```
70
+
71
+ ## License
72
+
73
+ PixelReact UI is licensed under the [MIT License](LICENSE). Feel free to use it in your projects, both personal and commercial.
74
+
75
+ ---
@@ -118,20 +118,20 @@ const BarChart = ({ data, isYaxisSticky = false, barWidth, height, barGap = 20,
118
118
  if (tooltip) {
119
119
  tooltip.style.display = 'block';
120
120
  if (customToolTip) {
121
- tooltip.innerHTML = `<div>
122
- <div><Typography fontWeight='semi-bold'>${label}</Typography></div>
123
- <div><Typography>${id ? id : ''}</Typography></div>
124
- <div><Typography>${totalLabel} : ${value} ${percent ? '(' + percent + '%)' : ''}</Typography></div>
121
+ tooltip.innerHTML = `<div>
122
+ <div><Typography fontWeight='semi-bold'>${label}</Typography></div>
123
+ <div><Typography>${id ? id : ''}</Typography></div>
124
+ <div><Typography>${totalLabel} : ${value} ${percent ? '(' + percent + '%)' : ''}</Typography></div>
125
125
  </div>`;
126
126
  }
127
127
  else if (isDashboardVersions) {
128
128
  const versionsList = versions ? versions.join(', ') : '';
129
- tooltip.innerHTML = `
130
- <div>
131
- <div><Typography>${totalLabel} : ${value}</Typography></div>
129
+ tooltip.innerHTML = `
130
+ <div>
131
+ <div><Typography>${totalLabel} : ${value}</Typography></div>
132
132
  ${versionsList
133
133
  ? `<div><Typography>Versions : ${versionsList}</Typography></div>`
134
- : ''}
134
+ : ''}
135
135
  </div>`;
136
136
  }
137
137
  else {
@@ -47,12 +47,12 @@ const calculateDonutSegmentBorderPath = (innerR, outerR, startAngle, endAngle) =
47
47
  const startInnerX = outerR * Math.cos(startAngle);
48
48
  const startInnerY = outerR * Math.sin(startAngle);
49
49
  const largeArcFlag = endAngle - startAngle > Math.PI ? 1 : 0;
50
- return `
51
- M ${startOuterX} ${startOuterY}
52
- A ${innerR} ${innerR} 0 ${largeArcFlag} 1 ${endOuterX} ${endOuterY}
53
- L ${endInnerX} ${endInnerY}
54
- A ${outerR} ${outerR} 0 ${largeArcFlag} 0 ${startInnerX} ${startInnerY}
55
- Z
50
+ return `
51
+ M ${startOuterX} ${startOuterY}
52
+ A ${innerR} ${innerR} 0 ${largeArcFlag} 1 ${endOuterX} ${endOuterY}
53
+ L ${endInnerX} ${endInnerY}
54
+ A ${outerR} ${outerR} 0 ${largeArcFlag} 0 ${startInnerX} ${startInnerY}
55
+ Z
56
56
  `;
57
57
  };
58
58
  const colorMapping = [
@@ -12,10 +12,10 @@ const calculateArc = ({ x, y, radius, startAngle, endAngle, }) => {
12
12
  const largeArcFlag = endAngle - startAngle > Math.PI ? 1 : 0;
13
13
  if (endAngle - startAngle >= 2 * Math.PI) {
14
14
  // Special case for a full circle
15
- return `
16
- M ${x + radius} ${y}
17
- A ${radius} ${radius} 0 1 1 ${x - radius} ${y}
18
- A ${radius} ${radius} 0 1 1 ${x + radius} ${y}
15
+ return `
16
+ M ${x + radius} ${y}
17
+ A ${radius} ${radius} 0 1 1 ${x - radius} ${y}
18
+ A ${radius} ${radius} 0 1 1 ${x + radius} ${y}
19
19
  `;
20
20
  }
21
21
  return `M ${startX} ${startY} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${endX} ${endY}`;
@@ -24,11 +24,11 @@ const calculateArcAngles = (value, total, currentAngle, radius) => {
24
24
  const startAngle = currentAngle;
25
25
  const endAngle = startAngle + angleIncrement;
26
26
  if (percentage === 1) {
27
- const path = `
28
- M ${radius} 0
29
- A ${radius} ${radius} 0 1 1 ${-radius} 0
30
- A ${radius} ${radius} 0 1 1 ${radius} 0
31
- Z
27
+ const path = `
28
+ M ${radius} 0
29
+ A ${radius} ${radius} 0 1 1 ${-radius} 0
30
+ A ${radius} ${radius} 0 1 1 ${radius} 0
31
+ Z
32
32
  `;
33
33
  return {
34
34
  endAngle,
@@ -136,20 +136,20 @@ const Comments = ({ commentsData, handleAddComment, handleEditComment, handleDel
136
136
  const getCaretCoordinates = (element, position) => {
137
137
  const div = document.createElement('div');
138
138
  const copyStyle = getComputedStyle(element);
139
- div.style.cssText = `
140
- position: absolute;
141
- visibility: hidden;
142
- white-space: pre-wrap;
143
- word-wrap: break-word;
144
- overflow: auto;
145
- width: ${element.offsetWidth}px;
146
- height: ${element.offsetHeight}px;
147
- font-family: ${copyStyle.fontFamily};
148
- font-size: ${copyStyle.fontSize};
149
- padding: ${copyStyle.padding};
150
- border: ${copyStyle.border};
151
- box-sizing: ${copyStyle.boxSizing};
152
- line-height: ${copyStyle.lineHeight};
139
+ div.style.cssText = `
140
+ position: absolute;
141
+ visibility: hidden;
142
+ white-space: pre-wrap;
143
+ word-wrap: break-word;
144
+ overflow: auto;
145
+ width: ${element.offsetWidth}px;
146
+ height: ${element.offsetHeight}px;
147
+ font-family: ${copyStyle.fontFamily};
148
+ font-size: ${copyStyle.fontSize};
149
+ padding: ${copyStyle.padding};
150
+ border: ${copyStyle.border};
151
+ box-sizing: ${copyStyle.boxSizing};
152
+ line-height: ${copyStyle.lineHeight};
153
153
  `;
154
154
  div.scrollTop = element.scrollTop;
155
155
  div.scrollLeft = element.scrollLeft;
@@ -93,20 +93,20 @@ const ChildComment = ({ handleInsertNode, handleEditNode, handleDeleteNode, comm
93
93
  const getCaretCoordinates = (element, position) => {
94
94
  const div = document.createElement('div');
95
95
  const copyStyle = getComputedStyle(element);
96
- div.style.cssText = `
97
- position: absolute;
98
- visibility: hidden;
99
- white-space: pre-wrap;
100
- word-wrap: break-word;
101
- overflow: auto;
102
- width: ${element.offsetWidth}px;
103
- height: ${element.offsetHeight}px;
104
- font-family: ${copyStyle.fontFamily};
105
- font-size: ${copyStyle.fontSize};
106
- padding: ${copyStyle.padding};
107
- border: ${copyStyle.border};
108
- box-sizing: ${copyStyle.boxSizing};
109
- line-height: ${copyStyle.lineHeight};
96
+ div.style.cssText = `
97
+ position: absolute;
98
+ visibility: hidden;
99
+ white-space: pre-wrap;
100
+ word-wrap: break-word;
101
+ overflow: auto;
102
+ width: ${element.offsetWidth}px;
103
+ height: ${element.offsetHeight}px;
104
+ font-family: ${copyStyle.fontFamily};
105
+ font-size: ${copyStyle.fontSize};
106
+ padding: ${copyStyle.padding};
107
+ border: ${copyStyle.border};
108
+ box-sizing: ${copyStyle.boxSizing};
109
+ line-height: ${copyStyle.lineHeight};
110
110
  `;
111
111
  div.scrollTop = element.scrollTop;
112
112
  div.scrollLeft = element.scrollLeft;
@@ -77,8 +77,8 @@ isOpen = false, confirmAction, onClick, nameTooltipTitle, }) => {
77
77
  { key: 'Enter', action: () => handleKeyBoard('Enter') },
78
78
  { key: 'Escape', action: () => handleKeyBoard('Escape') },
79
79
  ], containerRef);
80
- return (_jsxs("div", { className: "ff-label-edit-text-field", ref: containerRef, children: [isEditing ? (_jsxs("div", { className: "ff-label-text-field", children: [_jsx("div", { className: "ff-label-text-field-without-dropdown", children: _jsx(Input, { name: "input", label: label ? label : '', disabled: false, error: isThrowingError, placeholder: "Enter your name", value: inputValue, onChange: handleTextFieldChange, className: `
81
-
80
+ return (_jsxs("div", { className: "ff-label-edit-text-field", ref: containerRef, children: [isEditing ? (_jsxs("div", { className: "ff-label-text-field", children: [_jsx("div", { className: "ff-label-text-field-without-dropdown", children: _jsx(Input, { name: "input", label: label ? label : '', disabled: false, error: isThrowingError, placeholder: "Enter your name", value: inputValue, onChange: handleTextFieldChange, className: `
81
+
82
82
  ${isTextFieldModified ? 'modified' : ''}`, type: "text" }) }), _jsxs("div", { className: "ff-icon-container", children: [confirmIcon && (_jsx(Tooltip, { title: "confirm", placement: 'bottom', children: _jsx(Icon, { color: confirmIcon?.color ?? 'var(--default-confirm-icon-color)', height: confirmIcon?.height ?? 20, disabled: disabled, width: confirmIcon?.width ?? 20, name: confirmIcon?.name ?? 'default-confirm-icon', className: `${confirmIcon?.className ?? 'default-confirm-class'} ${disabled ? 'disabled-confirm-icon' : 'confirm-icon'}`, onClick: handleConfirm }) })), cancelIcon && (_jsx(Tooltip, { title: "cancel", placement: 'bottom', children: _jsx(Icon, { color: cancelIcon?.color ?? 'var(--label-edit-cancel-icon)', height: cancelIcon?.height ?? 12, width: cancelIcon?.width ?? 20, name: cancelIcon?.name ?? 'default-cancel-icon', className: cancelIcon?.className ?? 'cancel-icon', onClick: handleCancel, ref: cancelRef }) }))] })] })) : (_jsxs("div", { className: "display-text-container", children: [nameTooltipTitle ? (_jsx(Tooltip, { title: nameTooltipTitle, children: _jsx("span", { className: "display-text", onClick: onClick, children: _jsx(HighlightText, { text: inputValue, highlight: highlightText }) }) })) : (_jsx("span", { className: "display-text", onClick: onClick, children: _jsx(HighlightText, { text: inputValue, highlight: highlightText }) })), _jsx(Tooltip, { title: capitalize(editIcon?.name ?? 'Edit'), children: _jsx(Icon, { color: editIcon?.color ?? 'var(--label-edit-cancel-icon)', height: editIcon?.height ?? 20, width: editIcon?.width ?? 20, name: editIcon?.name ?? 'edit', className: editIcon?.className ?? 'edit-icon', onClick: handleEditButtonClick }) })] })), showError && isEditing && (_jsx(Typography, { as: "p", fontSize: 8, className: "error-text", children: showError }))] }));
83
83
  };
84
84
  export default EditTextField;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useEffect, useRef } from 'react';
3
+ import { createPortal } from 'react-dom';
3
4
  import Icon from '../Icon';
4
5
  import './VariableDropdown.scss';
5
6
  import Typography from '../Typography';
@@ -9,7 +10,7 @@ import { isTextTruncated } from '../../utils/truncateText/truncateText';
9
10
  import Tooltip from '../Tooltip';
10
11
  import { DynamicWidthTooltip } from './DynamicWidthToolTip';
11
12
  import { Virtuoso } from 'react-virtuoso';
12
- const VariableDropdown = ({ optionsList = [], onSelectVariable, dropdownPosition, position = 'relative', width, height = '160px', zIndex = 9999, highlightedIndex, }) => {
13
+ const VariableDropdown = ({ optionsList = [], onSelectVariable, dropdownPosition, position = 'relative', width, height = '160px', zIndex = 999999, highlightedIndex, }) => {
13
14
  const VARIABLE_ICON_MAP = {
14
15
  LOCAL: 'local_variable_icon',
15
16
  GLOBAL: 'global_variable_icon',
@@ -64,21 +65,29 @@ const VariableDropdown = ({ optionsList = [], onSelectVariable, dropdownPosition
64
65
  return null;
65
66
  return (_jsx("div", { className: cx('ff-variable-data', {
66
67
  'ff-variable-data--highlighted': highlightedIndex === index,
67
- }), onMouseDown: () => onSelectVariable(option), children: width.endsWith('px') ? (_jsxs(_Fragment, { children: [_jsx(Tooltip, { title: isTextTruncated(getDisplayText(option), getNumericValue(width), 'pixel')
68
+ }), onMouseDown: (e) => {
69
+ e.preventDefault();
70
+ onSelectVariable(option);
71
+ }, children: width.endsWith('px') ? (_jsxs(_Fragment, { children: [_jsx(Tooltip, { title: isTextTruncated(getDisplayText(option), getNumericValue(width), 'pixel')
68
72
  ? getDisplayText(option)
69
73
  : '', style: {
70
74
  width: `${getNumericValue(width)}px`,
71
75
  }, children: _jsx(Typography, { as: "span", fontSize: 12, className: "ff-truncated_text", children: getDisplayText(option) }) }), _jsx(Icon, { name: getVariableIcon(option), height: 24, width: 24, hoverEffect: true })] })) : (_jsx(DynamicWidthTooltip, { option: option })) }, `${option.id}-${index}`));
72
76
  };
73
- return (_jsx("div", { className: cx('ff-variable-dropdown', position), style: dropdownPosition
77
+ const dropdownContent = (_jsx("div", { className: cx('ff-variable-dropdown', position), style: dropdownPosition
74
78
  ? {
75
- top: dropdownPosition.top + 30,
76
- left: dropdownPosition.left - 30,
79
+ position: 'fixed',
80
+ top: dropdownPosition.top,
81
+ left: dropdownPosition.left,
77
82
  width,
78
83
  height,
79
84
  zIndex,
80
85
  }
81
86
  : { width, height, zIndex }, children: !checkEmpty(optionsList) ? (_jsx(Virtuoso, { totalCount: optionsList.length, ref: virtuosoRef, data: optionsList, itemContent: renderItem, style: { height, fontSize: '12px' }, overscan: 10, fixedItemHeight: itemHeight })) : (_jsx("div", { className: "ff-variable-option ff-variable-option-no-data", children: _jsx(Typography, { as: "span", fontSize: 12, children: "No Option" }) })) }));
87
+ if (dropdownPosition) {
88
+ return createPortal(dropdownContent, document.body);
89
+ }
90
+ return dropdownContent;
82
91
  };
83
92
  export default VariableDropdown;
84
93
  //# sourceMappingURL=VariableDropdown.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VariableDropdown.js","sourceRoot":"","sources":["../../../src/components/Editor/VariableDropdown.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAA2B,MAAM,OAAO,CAAC;AAEnE,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,yBAAyB,CAAC;AACjC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,OAAO,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAkB,MAAM,gBAAgB,CAAC;AAE1D,MAAM,gBAAgB,GAA8B,CAAC,EACnD,WAAW,GAAG,EAAE,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,GAAG,UAAU,EAC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,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -69,6 +69,8 @@ import AutoSaveIcon from '../../assets/icons/auto_save_icon.svg?react';
69
69
  import UploadPillIcon from '../../assets/icons/upload_pill.svg?react';
70
70
  import FireFlinkLoaderLogo from '../../assets/icons/fire_Flink_logo.svg?react';
71
71
  import LoaderSvg from '../../assets/icons/line_loader.svg?react';
72
+ import GoldenFile from '../../assets/icons/golden_file.svg?react';
73
+ import Guidelines from '../../assets/icons/guidelines.svg?react';
72
74
  import ImportFile from '../../assets/icons/import_file.svg?react';
73
75
  import ApkFileType from '../../assets/icons/apk_file_type.svg?react';
74
76
  import CsvFileType from '../../assets/icons/csv_file_type.svg?react';
@@ -749,6 +751,8 @@ Components['pass_result_icon'] = PassResultIcon;
749
751
  Components['fail_result_icon'] = FailResultIcon;
750
752
  Components['warning_result_icon'] = WarningResultIcon;
751
753
  Components['skipped_result_icon'] = SkippedResultIcon;
754
+ Components['golden_file'] = GoldenFile;
755
+ Components['guidelines'] = Guidelines;
752
756
  Components['import'] = Import;
753
757
  Components['info'] = InfoIcon;
754
758
  Components['calendar_icon'] = CalendarIcon;