ebta-workflow-prod 4.0.23 → 4.1.0

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.
@@ -4,11 +4,11 @@ import InputBase from '@mui/material/InputBase';
4
4
  import Badge, { BadgeProps } from '@mui/material/Badge';
5
5
  import Tooltip, { TooltipProps, tooltipClasses } from '@mui/material/Tooltip';
6
6
  import { createTheme } from "@mui/material/styles";
7
- import {
8
- Unstable_NumberInput as BaseNumberInput,
9
- NumberInputProps,
10
- numberInputClasses,
11
- } from '@mui/base/Unstable_NumberInput';
7
+ // import {
8
+ // Unstable_NumberInput as BaseNumberInput,
9
+ // NumberInputProps,
10
+ // numberInputClasses,
11
+ // } from '@mui/base/Unstable_NumberInput';
12
12
 
13
13
  const Search =styled('div')(({ theme }) => ({
14
14
  position: 'relative',
@@ -107,38 +107,8 @@ const StyledButton = styled('button')(
107
107
  color: #FFF;
108
108
  background: var(--accentIconForeground) !important;
109
109
  border-color: var(--accentIconBorder) !important;
110
- }
111
-
112
- &.${numberInputClasses.incrementButton} {
113
- grid-column: 2/3;
114
- grid-row: 1/2;
115
- border-top-left-radius: 4px;
116
- border-top-right-radius: 4px;
117
- border: 1px solid;
118
- border-bottom: 0;
119
- border-color: ${theme.palette.mode === 'dark' ? grey[700] : grey[200]};
120
- background: ${theme.palette.mode === 'dark' ? grey[900] : grey[50]};
121
- color: ${theme.palette.mode === 'dark' ? grey[200] : grey[900]};
122
-
123
- &:hover {
124
- cursor: pointer;
125
- color: #FFF;
126
- background: var(--accentIconForeground) !important;
127
- border-color: var(--accentIconBorder);
128
- }
129
- }
130
-
131
- &.${numberInputClasses.decrementButton} {
132
- grid-column: 2/3;
133
- grid-row: 2/3;
134
- border-bottom-left-radius: 4px;
135
- border-bottom-right-radius: 4px;
136
- border: 1px solid;
137
- border-color: ${theme.palette.mode === 'dark' ? grey[700] : grey[200]};
138
- background: ${theme.palette.mode === 'dark' ? grey[900] : grey[50]};
139
- color: ${theme.palette.mode === 'dark' ? grey[200] : grey[900]};
140
- }
141
-
110
+ };
111
+
142
112
  & .arrow {
143
113
  transform: translateY(-1px);
144
114
  }
@@ -173,31 +143,31 @@ const defaultTheme = createTheme({
173
143
  },
174
144
  });
175
145
 
176
- const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
177
- props: NumberInputProps,
178
- ref: React.ForwardedRef<HTMLDivElement>,
179
- ) {
180
- return (
181
- <BaseNumberInput
182
- slots={{
183
- root: StyledInputRoot,
184
- input: StyledInputElement,
185
- incrementButton: StyledButton,
186
- decrementButton: StyledButton,
187
- }}
188
- slotProps={{
189
- incrementButton: {
190
- children: '▴',
191
- },
192
- decrementButton: {
193
- children: '▾',
194
- },
195
- }}
196
- {...props}
197
- ref={ref}
198
- />
199
- );
200
- })
146
+ // const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
147
+ // props: NumberInputProps,
148
+ // ref: React.ForwardedRef<HTMLDivElement>,
149
+ // ) {
150
+ // return (
151
+ // <BaseNumberInput
152
+ // slots={{
153
+ // root: StyledInputRoot,
154
+ // input: StyledInputElement,
155
+ // incrementButton: StyledButton,
156
+ // decrementButton: StyledButton,
157
+ // }}
158
+ // slotProps={{
159
+ // incrementButton: {
160
+ // children: '▴',
161
+ // },
162
+ // decrementButton: {
163
+ // children: '▾',
164
+ // },
165
+ // }}
166
+ // {...props}
167
+ // ref={ref}
168
+ // />
169
+ // );
170
+ // })
201
171
 
202
172
  const StyledInputElement = styled('input')(
203
173
  () => `
@@ -250,4 +220,4 @@ const CustomNumberInput =React.forwardRef(function CustomNumberInputfunction(
250
220
  `,
251
221
  );
252
222
 
253
- export default {Search,SearchIconWrapper,StyledInputBase,StyledBadge,StyledInputRoot,StyledInputElement,StyledButton,CustomNumberInput,defaultTheme,LightTooltip}
223
+ export default {Search,SearchIconWrapper,StyledInputBase,StyledBadge,StyledInputRoot,StyledInputElement,StyledButton,defaultTheme,LightTooltip}
package/tsconfig.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "extends": "@vertigis/workflow-sdk/config/tsconfig.json",
3
3
  "compilerOptions": {
4
+ "ignoreDeprecations": "5.0",
5
+ "noImplicitAny": false,
4
6
  "target": "es5",
5
7
  "baseUrl": ".",
6
8
  "suppressImplicitAnyIndexErrors": false,
File without changes