pixel-react 1.4.8 → 1.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) 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/AttachImage/AttachImage.stories.d.ts +7 -0
  10. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +6 -0
  11. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +8 -0
  12. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +7 -0
  13. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +8 -0
  14. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +6 -0
  15. package/lib/components/EditTextField/EditTextField.stories.d.ts +10 -0
  16. package/lib/components/Editor/Editor.stories.d.ts +6 -0
  17. package/lib/components/Excel/ContextMenu/ContextMenu.d.ts +4 -0
  18. package/lib/components/Excel/ExcelFile.stories.d.ts +6 -0
  19. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +14 -0
  20. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +24 -0
  21. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +2 -0
  22. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +1 -0
  23. package/lib/components/Select/Select.stories.d.ts +1 -0
  24. package/lib/components/StatusCard/StatusCard.stories.d.ts +11 -0
  25. package/lib/index.esm.js +22 -22
  26. package/lib/index.esm.js.map +1 -1
  27. package/lib/index.js +22 -22
  28. package/lib/index.js.map +1 -1
  29. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
  30. package/package.json +1 -1
  31. package/src/assets/Themes/BaseTheme.scss +1 -0
  32. package/src/assets/Themes/DarkTheme.scss +1 -0
  33. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +6 -1
  34. package/src/components/AppHeader/AppHeader.scss +6 -1
  35. package/src/components/AppHeader/AppHeader.stories.tsx +0 -4
  36. package/src/components/Modal/Modal.stories.tsx +1 -1
  37. package/src/components/Modal/Modal.tsx +1 -1
  38. package/src/components/Modal/modal.scss +7 -7
  39. /package/lib/components/ExcelFile/{ColorBarselector → ColorBarSelector}/ColorBarSelector.d.ts +0 -0
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { Meta, StoryObj } from '@storybook/react';
3
+ import { MachineExecutionInstanceDataSet } from './types';
4
+ declare const SequentialPayloadComponent: React.FC<{
5
+ machineInstances: MachineExecutionInstanceDataSet[];
6
+ }>;
7
+ declare const meta: Meta<typeof SequentialPayloadComponent>;
8
+ type Story = StoryObj<typeof SequentialPayloadComponent>;
9
+ export declare const Primary: Story;
10
+ export default meta;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pixel-react",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.4.8",
4
+ "version": "1.4.9",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",
@@ -116,6 +116,7 @@ $base-theme: (
116
116
  menu-option-icon-clicked: #71347b,
117
117
  delete-text-color: #c50303,
118
118
  confirm-tick-icon-color: #5ca700,
119
+ warning-modal-border-color:#E79B0866,
119
120
  brand-color-border:
120
121
  linear-gradient(
121
122
  94.23deg,
@@ -187,6 +187,7 @@ $dark-theme: (
187
187
  label-edit-cancel-icon: #e42525,
188
188
  delete-icon-color: #e42525,
189
189
  confirm-tick-icon-color:#5CA700,
190
+ warning-modal-border-color:#E79B0866,
190
191
  brand-color-border:
191
192
  linear-gradient(
192
193
  94.23deg,
@@ -18,7 +18,12 @@
18
18
  border-radius: 20px;
19
19
  .ff-all-project-container {
20
20
  border-radius: 20px;
21
- background-color: var(--brand-color);
21
+ box-shadow: 0px 4px 4px 0px #00000040 inset;
22
+ background: linear-gradient(
23
+ 90deg,
24
+ var(--brand-color) 0%,
25
+ var(--button-background-gradient-color) 100%
26
+ );
22
27
  }
23
28
  }
24
29
  &:not(.ff-all-project-dropdown--selected):hover {
@@ -51,7 +51,12 @@
51
51
  background-color: var(--primary-icon-color);
52
52
  border-radius: 20px;
53
53
  .ff-app-header-nav-bar-item-label {
54
- background-color: var(--brand-color);
54
+ box-shadow: 0px 4px 4px 0px #00000040 inset;
55
+ background: linear-gradient(
56
+ 90deg,
57
+ var(--brand-color) 0%,
58
+ var(--button-background-gradient-color) 100%
59
+ );
55
60
  border-radius: 20px;
56
61
  padding: 4px 8px;
57
62
  }
@@ -44,12 +44,10 @@ const headerMenuItems = [
44
44
  {
45
45
  label: 'Elements',
46
46
  path: 'Elements',
47
- quickMenuItems: [],
48
47
  },
49
48
  {
50
49
  label: 'Program Elements',
51
50
  path: 'Program Elements',
52
- quickMenuItems: [],
53
51
  },
54
52
  {
55
53
  label: 'Step Groups',
@@ -74,7 +72,6 @@ const headerMenuItems = [
74
72
  {
75
73
  label: 'Test Data',
76
74
  path: 'Test Data',
77
- subMenuItems: [],
78
75
  },
79
76
  {
80
77
  label: 'Test Dev',
@@ -109,7 +106,6 @@ const headerMenuItems = [
109
106
  {
110
107
  label: 'Executions',
111
108
  path: 'Executions',
112
- quickMenuItems: [],
113
109
  },
114
110
  ],
115
111
  },
@@ -58,7 +58,7 @@ export const Controlled: Story = {
58
58
  footerContent={<Button variant="primary" label="continue" />}
59
59
  customWidth="660px"
60
60
  customHeight="auto"
61
- border="1px solid #E79B0866"
61
+ border="1px solid var(--warning-modal-border-color)"
62
62
  />
63
63
  )}
64
64
  </>
@@ -61,7 +61,7 @@ const Modal: React.FC<ModalProps> = ({
61
61
  style={{
62
62
  boxShadow: boxShadow,
63
63
  border: border,
64
- borderRadius: '12px',
64
+ borderRadius: '8px',
65
65
  background: background,
66
66
  }}
67
67
  className="ff-modal-container"
@@ -12,7 +12,7 @@
12
12
  }
13
13
 
14
14
  .ff-modal-container {
15
- border-radius: 12px;
15
+ border-radius: 8px;
16
16
  overflow: hidden;
17
17
  }
18
18
 
@@ -20,7 +20,7 @@
20
20
  background: var(--ff-mini-modal-border);
21
21
  position: relative;
22
22
  max-width: 100%;
23
- padding: 8px;
23
+ padding: 16px;
24
24
 
25
25
  .ff-modal-header {
26
26
  height: 32px;
@@ -29,12 +29,12 @@
29
29
  }
30
30
 
31
31
  .modal-bottom-border {
32
- border-bottom-left-radius: 12px;
33
- border-bottom-right-radius: 12px;
32
+ border-bottom-left-radius: 8px;
33
+ border-bottom-right-radius: 8px;
34
34
  }
35
35
  .modal-top-border {
36
- border-top-left-radius: 12px;
37
- border-top-right-radius: 12px;
36
+ border-top-left-radius: 8px;
37
+ border-top-right-radius: 8px;
38
38
  }
39
39
 
40
40
  .ff-modal-footer {
@@ -47,5 +47,5 @@
47
47
  justify-content: end;
48
48
  align-items: center;
49
49
  gap: 8px;
50
- padding: 4px 8px;
50
+ padding: 4px 16px;
51
51
  }