@scm-manager/ui-components 2.27.2-20211019-081545 → 2.27.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scm-manager/ui-components",
|
|
3
|
-
"version": "2.27.2
|
|
3
|
+
"version": "2.27.2",
|
|
4
4
|
"description": "UI Components for SCM-Manager and its plugins",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@scm-manager/jest-preset": "^2.13.0",
|
|
26
26
|
"@scm-manager/prettier-config": "^2.10.1",
|
|
27
27
|
"@scm-manager/tsconfig": "^2.12.0",
|
|
28
|
-
"@scm-manager/ui-tests": "^2.27.2
|
|
28
|
+
"@scm-manager/ui-tests": "^2.27.2",
|
|
29
29
|
"@storybook/addon-actions": "^6.3.12",
|
|
30
30
|
"@storybook/addon-storyshots": "^6.3.12",
|
|
31
31
|
"@storybook/builder-webpack5": "^6.3.12",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"worker-plugin": "^3.2.0"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@scm-manager/ui-api": "^2.27.2
|
|
71
|
-
"@scm-manager/ui-extensions": "^2.27.2
|
|
72
|
-
"@scm-manager/ui-types": "^2.27.2
|
|
70
|
+
"@scm-manager/ui-api": "^2.27.2",
|
|
71
|
+
"@scm-manager/ui-extensions": "^2.27.2",
|
|
72
|
+
"@scm-manager/ui-types": "^2.27.2",
|
|
73
73
|
"classnames": "^2.2.6",
|
|
74
74
|
"date-fns": "^2.4.1",
|
|
75
75
|
"deepmerge": "^4.2.2",
|
|
@@ -67,20 +67,17 @@ const FilterInput: FC<Props> = ({ filter, value, testId, placeholder, autoFocus,
|
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
return (
|
|
70
|
-
<form
|
|
71
|
-
className={classNames("input-field", className)}
|
|
72
|
-
onSubmit={handleSubmit}
|
|
73
|
-
{...createAttributesForTesting(testId)}
|
|
74
|
-
>
|
|
70
|
+
<form className={classNames("input-field", className)} onSubmit={handleSubmit}>
|
|
75
71
|
<div className="control has-icons-left">
|
|
76
72
|
<FixedHeightInput
|
|
77
73
|
className="input"
|
|
78
74
|
type="search"
|
|
79
75
|
placeholder={placeholder || t("filterEntries")}
|
|
80
76
|
value={stateValue}
|
|
81
|
-
onChange={
|
|
77
|
+
onChange={event => setStateValue(event.target.value)}
|
|
82
78
|
autoFocus={autoFocus || false}
|
|
83
79
|
aria-describedby={id}
|
|
80
|
+
{...createAttributesForTesting(testId)}
|
|
84
81
|
/>
|
|
85
82
|
<span className="icon is-small is-left">
|
|
86
83
|
<i className="fas fa-filter" />
|