pixel-react 1.9.1 → 1.9.2

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 (42) hide show
  1. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +1 -3
  2. package/lib/components/Excel/Types.d.ts +1 -1
  3. package/lib/components/TableTree/data.d.ts +0 -40
  4. package/lib/index.d.ts +3 -5
  5. package/lib/index.esm.js +234 -354
  6. package/lib/index.esm.js.map +1 -1
  7. package/lib/index.js +234 -354
  8. package/lib/index.js.map +1 -1
  9. package/lib/utils/indexDBStore/indexDB.d.ts +2 -2
  10. package/package.json +1 -2
  11. package/src/assets/icons/clear_history.svg +6 -0
  12. package/src/assets/icons/code.svg +4 -0
  13. package/src/assets/icons/code_colored.svg +4 -0
  14. package/src/assets/icons/csharp.svg +9 -0
  15. package/src/assets/icons/cypress.svg +9 -0
  16. package/src/assets/icons/delete_filled.svg +12 -0
  17. package/src/assets/icons/design_link.svg +7 -0
  18. package/src/assets/icons/disable_icon.svg +3 -0
  19. package/src/assets/icons/enable_icon.svg +3 -0
  20. package/src/assets/icons/file_colored.svg +5 -0
  21. package/src/assets/icons/java.svg +4 -0
  22. package/src/assets/icons/javascript.svg +11 -0
  23. package/src/assets/icons/jira_colored.svg +15 -0
  24. package/src/assets/icons/mic.svg +4 -0
  25. package/src/assets/icons/mic_filled.svg +28 -0
  26. package/src/assets/icons/playwright.svg +9 -0
  27. package/src/assets/icons/python.svg +19 -0
  28. package/src/assets/icons/regenerate.svg +4 -0
  29. package/src/assets/icons/right_arrow_filled_icon.svg +5 -0
  30. package/src/assets/icons/screenshot.svg +7 -0
  31. package/src/components/Button/Button.tsx +2 -0
  32. package/src/components/Excel/ExcelFile/ExcelFile.tsx +48 -42
  33. package/src/components/Excel/ExcelFile.stories.tsx +98 -96
  34. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +65 -28
  35. package/src/components/Excel/Types.ts +1 -1
  36. package/src/components/Excel/dataConversion.ts +8 -10
  37. package/src/components/Icon/iconList.ts +44 -3
  38. package/src/components/TableTree/Components/TableBody.tsx +1 -1
  39. package/src/components/TableTree/Components/TableCell.tsx +26 -12
  40. package/src/components/TableTree/TableTree.tsx +18 -15
  41. package/src/components/TableTree/data.ts +0 -31
  42. package/src/utils/indexDBStore/indexDB.ts +63 -33
@@ -2,9 +2,7 @@ import React from 'react';
2
2
  import './ExcelFile.scss';
3
3
  interface ExcelFileProps {
4
4
  /** The Excel data containing sheets and their content */
5
- excelData: {
6
- sheets: WorkSheet[];
7
- };
5
+ excelData: WorkSheet[];
8
6
  /** Optional: Provide context menu options for actions like right-click */
9
7
  contextOption?: {
10
8
  open: boolean;
@@ -24,7 +24,7 @@ interface WorkData {
24
24
  /** Value of the cell */
25
25
  value: string;
26
26
  /** Styling options for the cell */
27
- style: BackendStyle;
27
+ styles: BackendStyle;
28
28
  type?: boolean;
29
29
  }
30
30
  type BackendStyle = {
@@ -30,40 +30,6 @@ declare const data: ({
30
30
  level: number;
31
31
  isLast: boolean;
32
32
  parentSiblings: boolean[];
33
- lines?: undefined;
34
- } | {
35
- node: {
36
- subModuleCount: number;
37
- title: string;
38
- scriptCount: number;
39
- path: string;
40
- expanded: boolean;
41
- modifiedOn: string;
42
- children: boolean;
43
- lastExecutionOrder: number;
44
- imported: boolean;
45
- modifiedBy: string;
46
- moduleCountWithScript: number;
47
- state: string;
48
- key: string;
49
- ver: number;
50
- hierarchy: number;
51
- assigneeCount: number;
52
- searchKey: string;
53
- modifiedByUname: string;
54
- executionOrder: number;
55
- createdByUname: string;
56
- folder: boolean;
57
- moduleLevelScriptCount: number;
58
- name: string;
59
- parentId: string;
60
- id: string;
61
- parentName?: undefined;
62
- };
63
- parentSiblings: boolean[];
64
- lines: number;
65
- level?: undefined;
66
- isLast?: undefined;
67
33
  } | {
68
34
  node: {
69
35
  subModuleCount: number;
@@ -96,7 +62,6 @@ declare const data: ({
96
62
  level: number;
97
63
  parentSiblings: boolean[];
98
64
  isLast?: undefined;
99
- lines?: undefined;
100
65
  } | {
101
66
  node: {
102
67
  ver: number;
@@ -129,7 +94,6 @@ declare const data: ({
129
94
  level: number;
130
95
  parentSiblings: boolean[];
131
96
  isLast?: undefined;
132
- lines?: undefined;
133
97
  } | {
134
98
  node: {
135
99
  ver: number;
@@ -162,7 +126,6 @@ declare const data: ({
162
126
  level: number;
163
127
  parentSiblings: boolean[];
164
128
  isLast?: undefined;
165
- lines?: undefined;
166
129
  } | {
167
130
  node: {
168
131
  ver: number;
@@ -195,7 +158,6 @@ declare const data: ({
195
158
  level: number;
196
159
  parentSiblings: boolean[];
197
160
  isLast: boolean;
198
- lines?: undefined;
199
161
  } | {
200
162
  node: {
201
163
  ver: number;
@@ -228,7 +190,6 @@ declare const data: ({
228
190
  level: number;
229
191
  parentSiblings: boolean[];
230
192
  isLast: boolean;
231
- lines?: undefined;
232
193
  } | {
233
194
  node: {
234
195
  subModuleCount: number;
@@ -261,6 +222,5 @@ declare const data: ({
261
222
  level: number;
262
223
  parentSiblings: boolean[];
263
224
  isLast: boolean;
264
- lines?: undefined;
265
225
  })[];
266
226
  export default data;
package/lib/index.d.ts CHANGED
@@ -2515,9 +2515,7 @@ declare const EditTextField: FC<LabelEditTextFieldTypes>;
2515
2515
 
2516
2516
  interface ExcelFileProps {
2517
2517
  /** The Excel data containing sheets and their content */
2518
- excelData: {
2519
- sheets: WorkSheet[];
2520
- };
2518
+ excelData: WorkSheet[];
2521
2519
  /** Optional: Provide context menu options for actions like right-click */
2522
2520
  contextOption?: {
2523
2521
  open: boolean;
@@ -3326,7 +3324,7 @@ declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp;
3326
3324
  declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp;
3327
3325
  declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
3328
3326
 
3329
- declare const saveToIndexedDB: (key: string, value: string) => Promise<void>;
3330
- declare const getFromIndexedDB: (key: string) => Promise<string | null>;
3327
+ declare function saveToIndexedDB(key: string, value: string): Promise<void>;
3328
+ declare function getFromIndexedDB(key: string): Promise<string | null>;
3331
3329
 
3332
3330
  export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getFromIndexedDB, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, saveToIndexedDB, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };