pixel-react 1.1.4 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/components/AddResourceButton/type.d.ts +1 -1
  3. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.d.ts +2 -1
  4. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +1 -0
  5. package/lib/components/AllProjectsDropdown/types.d.ts +10 -0
  6. package/lib/components/Button/Button.stories.d.ts +1 -0
  7. package/lib/components/Button/types.d.ts +1 -1
  8. package/lib/components/Drawer/Drawer.stories.d.ts +3 -0
  9. package/lib/components/Drawer/Types.d.ts +25 -1
  10. package/lib/components/Icon/Icon.d.ts +1 -1
  11. package/lib/components/MachineInputField/MachineInputField.d.ts +4 -0
  12. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +6 -0
  13. package/lib/components/MachineInputField/index.d.ts +1 -0
  14. package/lib/components/MachineInputField/types.d.ts +11 -0
  15. package/lib/components/MenuOption/MenuOption.d.ts +1 -1
  16. package/lib/components/MenuOption/MenuOption.stories.d.ts +1 -0
  17. package/lib/components/MenuOption/types.d.ts +7 -0
  18. package/lib/components/Modal/types.d.ts +1 -0
  19. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +4 -0
  20. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +6 -0
  21. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.d.ts +4 -0
  22. package/lib/components/SequentialConnectingBranch/components/AddBrowserModal/types.d.ts +3 -0
  23. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +4 -0
  24. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +16 -0
  25. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +4 -0
  26. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +9 -0
  27. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.d.ts +4 -0
  28. package/lib/components/SequentialConnectingBranch/components/DatasetListModal/types.d.ts +3 -0
  29. package/lib/components/SequentialConnectingBranch/index.d.ts +1 -0
  30. package/lib/components/SequentialConnectingBranch/types.d.ts +32 -0
  31. package/lib/components/TableTree/TableTree.d.ts +4 -2
  32. package/lib/components/Tabs/types.d.ts +1 -0
  33. package/lib/index.d.ts +103 -9
  34. package/lib/index.esm.js +890 -572
  35. package/lib/index.esm.js.map +1 -1
  36. package/lib/index.js +891 -571
  37. package/lib/index.js.map +1 -1
  38. package/lib/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +1 -1
  40. package/rollup.config.mjs +5 -1
  41. package/src/assets/Themes/BaseTheme.scss +18 -2
  42. package/src/assets/Themes/DarkTheme.scss +11 -3
  43. package/src/assets/icons/add_locator.svg +5 -0
  44. package/src/assets/icons/android.svg +9 -0
  45. package/src/assets/icons/browser_stack.svg +9 -0
  46. package/src/assets/icons/chrome.svg +12 -0
  47. package/src/assets/icons/dataset_list.svg +3 -0
  48. package/src/assets/icons/drag_icon.svg +5 -0
  49. package/src/assets/icons/label_plus.svg +3 -0
  50. package/src/assets/icons/mac.svg +9 -0
  51. package/src/assets/icons/manual_locator.svg +8 -0
  52. package/src/assets/icons/windows.svg +6 -0
  53. package/src/assets/styles/_colors.scss +4 -4
  54. package/src/components/AddResourceButton/type.ts +1 -1
  55. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +2 -2
  56. package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +99 -1
  57. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +30 -56
  58. package/src/components/AllProjectsDropdown/types.ts +10 -0
  59. package/src/components/Button/Button.scss +4 -0
  60. package/src/components/Button/Button.stories.tsx +7 -0
  61. package/src/components/Button/types.ts +2 -2
  62. package/src/components/Drawer/Drawer.scss +22 -11
  63. package/src/components/Drawer/Drawer.stories.tsx +41 -0
  64. package/src/components/Drawer/Drawer.tsx +67 -40
  65. package/src/components/Drawer/Types.ts +25 -1
  66. package/src/components/GridLayout/GridLayout.scss +0 -2
  67. package/src/components/GridLayout/GridLayout.tsx +15 -8
  68. package/src/components/Icon/Icon.tsx +39 -33
  69. package/src/components/Icon/iconList.ts +25 -6
  70. package/src/components/InputWithDropdown/InputWithDropdown.scss +1 -1
  71. package/src/components/InputWithDropdown/InputWithDropdown.tsx +2 -1
  72. package/src/components/MachineInputField/MachineInputField.scss +44 -0
  73. package/src/components/MachineInputField/MachineInputField.stories.tsx +32 -0
  74. package/src/components/MachineInputField/MachineInputField.tsx +71 -0
  75. package/src/components/MachineInputField/index.ts +1 -0
  76. package/src/components/MachineInputField/types.ts +12 -0
  77. package/src/components/MenuOption/MenuOption.scss +14 -0
  78. package/src/components/MenuOption/MenuOption.stories.tsx +21 -0
  79. package/src/components/MenuOption/MenuOption.tsx +5 -3
  80. package/src/components/MenuOption/types.ts +9 -0
  81. package/src/components/MiniModal/MiniModal.tsx +1 -1
  82. package/src/components/Modal/Modal.tsx +2 -0
  83. package/src/components/Modal/modal.scss +2 -2
  84. package/src/components/Modal/types.ts +1 -0
  85. package/src/components/Select/Select.tsx +2 -2
  86. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +117 -0
  87. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +62 -0
  88. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +210 -0
  89. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.scss +51 -0
  90. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/AddBrowserModal.tsx +107 -0
  91. package/src/components/SequentialConnectingBranch/components/AddBrowserModal/types.ts +5 -0
  92. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +184 -0
  93. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +203 -0
  94. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +18 -0
  95. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.scss +3 -0
  96. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +66 -0
  97. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +10 -0
  98. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.scss +31 -0
  99. package/src/components/SequentialConnectingBranch/components/DatasetListModal/DatasetListModal.tsx +85 -0
  100. package/src/components/SequentialConnectingBranch/components/DatasetListModal/types.ts +4 -0
  101. package/src/components/SequentialConnectingBranch/index.ts +1 -0
  102. package/src/components/SequentialConnectingBranch/types.ts +42 -0
  103. package/src/components/TableTree/TableTree.stories.tsx +8 -1
  104. package/src/components/TableTree/TableTree.tsx +25 -3
  105. package/src/components/Tabs/Tabs.stories.tsx +24 -25
  106. package/src/components/Tabs/Tabs.tsx +3 -10
  107. package/src/components/Tabs/types.ts +7 -1
  108. package/src/index.ts +5 -6
  109. package/lib/components/AddButton/AddButton.d.ts +0 -5
  110. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  111. package/lib/components/AddButton/index.d.ts +0 -1
  112. package/lib/components/AddButton/types.d.ts +0 -4
  113. package/lib/utils/find/findAndInsert.d.ts +0 -7
  114. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
@@ -21,7 +21,12 @@ export interface TabsProps {
21
21
  /**
22
22
  * An array of tab objects containing label, component, and optional disabled status.
23
23
  */
24
- tabsData: { label: string; component?: JSX.Element; disabled?: boolean }[];
24
+ tabsData: {
25
+ id: string;
26
+ label: string;
27
+ component?: JSX.Element;
28
+ disabled?: boolean;
29
+ }[];
25
30
  /**
26
31
  * Defines the styling variant of the tabs.
27
32
  */
@@ -40,3 +45,4 @@ export interface TabsProps {
40
45
  */
41
46
  noBorder?: boolean;
42
47
  }
48
+
package/src/index.ts CHANGED
@@ -46,6 +46,8 @@ import Paper from './components/Paper';
46
46
  import DashboardDonutChart from './components/Charts/DashboardDonutChart';
47
47
  import Recaptcha from './components/FF_Captcha/Recaptcha';
48
48
  import NLPInput from './components/NLPInput';
49
+ import MachineInputField from './components/MachineInputField';
50
+ import SequentialConnectingBranch from './components/SequentialConnectingBranch';
49
51
 
50
52
  // Utils imports
51
53
  import { checkEmpty } from './utils/checkEmpty/checkEmpty';
@@ -53,19 +55,13 @@ import {
53
55
  getExtension,
54
56
  getExtensionWithPeriod,
55
57
  } from './utils/getExtension/getExtension';
56
-
57
58
  import { findAndInsert } from './utils/findAndInsert/findAndInsert';
58
59
  import { ffid } from './utils/ffID/ffid';
59
-
60
60
  import { debounce } from './utils/debounce/debounce';
61
61
  import { compareArrays } from './utils/compareArrays/compareArrays';
62
-
63
62
  import { compareObjects } from './utils/compareObjects/compareObjects';
64
-
65
63
  import { getEncryptedData } from './utils/getEncryptedData/getEncryptedData';
66
-
67
64
  import { throttle } from './utils/throttle/throttle';
68
-
69
65
  import { truncateText } from './utils/truncateText/truncateText';
70
66
 
71
67
  export {
@@ -119,6 +115,9 @@ export {
119
115
  Paper,
120
116
  Recaptcha,
121
117
  NLPInput,
118
+ MachineInputField,
119
+ SequentialConnectingBranch,
120
+
122
121
  // utils exports
123
122
  checkEmpty,
124
123
  getExtension,
@@ -1,5 +0,0 @@
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;
@@ -1,6 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default } from './AddButton';
@@ -1,4 +0,0 @@
1
- export interface AddButtonProps {
2
- name: string;
3
- onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
4
- }
@@ -1,7 +0,0 @@
1
- export type AnyObject = {
2
- id: number;
3
- [key: string]: any;
4
- };
5
- export declare function findAndInsert<T extends AnyObject>(data: T[], key: keyof T, targetId: number, newEntry: T, insertPosition: 'above' | 'below' | 'replace', childrenKey?: string): {
6
- updatedArray: T[];
7
- } | null;
@@ -1,7 +0,0 @@
1
- import { findAndInsert } from './findAndInsert';
2
- declare const _default: {
3
- title: string;
4
- component: typeof findAndInsert;
5
- };
6
- export default _default;
7
- export declare const InteractivePlayground: () => import("react/jsx-runtime").JSX.Element;