@synerise/ds-item-filter 1.0.69 → 1.0.70
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/CHANGELOG.md +4 -0
- package/dist/ItemFIlter.styles.d.ts +2 -2
- package/dist/ItemFIlter.styles.js +10 -8
- package/dist/ItemFilter.d.ts +8 -8
- package/dist/ItemFilter.js +142 -197
- package/dist/ItemFilter.types.d.ts +2 -2
- package/dist/ItemFilter.types.js +1 -1
- package/dist/index.js +4 -2
- package/dist/modules.d.js +1 -1
- package/dist/modules.d.ts +0 -0
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.70](https://github.com/Synerise/synerise-design/compare/@synerise/ds-item-filter@1.0.69...@synerise/ds-item-filter@1.0.70) (2026-03-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-item-filter
|
|
9
|
+
|
|
6
10
|
## [1.0.69](https://github.com/Synerise/synerise-design/compare/@synerise/ds-item-filter@1.0.68...@synerise/ds-item-filter@1.0.69) (2026-03-20)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-item-filter
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const FiltersList: import(
|
|
2
|
-
export declare const ItemFilterHeader: import(
|
|
1
|
+
export declare const FiltersList: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ItemFilterHeader: import('styled-components').StyledComponent<"div", any, {}, never>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import styled from
|
|
2
|
-
import { ItemContainer } from
|
|
3
|
-
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { ItemContainer } from "@synerise/ds-manageable-list/dist/Item/ContentItem/ContentItem.styles";
|
|
3
|
+
const FiltersList = /* @__PURE__ */ styled.div.withConfig({
|
|
4
4
|
displayName: "ItemFIlterstyles__FiltersList",
|
|
5
5
|
componentId: "sc-1pbog0m-0"
|
|
6
|
-
})(["height:100%;", "{max-height:48px;box-shadow:none;background:", ";}.ds-result{margin-top:24px;}"], ItemContainer,
|
|
7
|
-
|
|
8
|
-
});
|
|
9
|
-
export var ItemFilterHeader = styled.div.withConfig({
|
|
6
|
+
})(["height:100%;", "{max-height:48px;box-shadow:none;background:", ";}.ds-result{margin-top:24px;}"], ItemContainer, (props) => props.theme.palette["grey-050"]);
|
|
7
|
+
const ItemFilterHeader = /* @__PURE__ */ styled.div.withConfig({
|
|
10
8
|
displayName: "ItemFIlterstyles__ItemFilterHeader",
|
|
11
9
|
componentId: "sc-1pbog0m-1"
|
|
12
|
-
})(["display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;"]);
|
|
10
|
+
})(["display:flex;justify-content:space-between;align-items:center;padding-bottom:24px;"]);
|
|
11
|
+
export {
|
|
12
|
+
FiltersList,
|
|
13
|
+
ItemFilterHeader
|
|
14
|
+
};
|
package/dist/ItemFilter.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: React.FC<import(
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
declare const _default: React.FC<import('react-intl').WithIntlProps<{
|
|
3
3
|
search?: {
|
|
4
4
|
onChange: (value: string) => void;
|
|
5
5
|
onClear: () => void;
|
|
6
6
|
value: string;
|
|
7
7
|
} | undefined;
|
|
8
8
|
loading?: boolean | undefined;
|
|
9
|
-
intl: import(
|
|
9
|
+
intl: import('react-intl').IntlShape;
|
|
10
10
|
visible: boolean;
|
|
11
11
|
hide: () => void;
|
|
12
12
|
removeItem?: ((removeParams: {
|
|
@@ -26,8 +26,8 @@ declare const _default: React.FC<import("react-intl").WithIntlProps<{
|
|
|
26
26
|
texts?: {
|
|
27
27
|
[k: string]: string | React.ReactNode;
|
|
28
28
|
} | undefined;
|
|
29
|
-
categories: import(
|
|
30
|
-
fetchData: (category: import(
|
|
29
|
+
categories: import('./ItemFilter.types').Category[];
|
|
30
|
+
fetchData: (category: import('./ItemFilter.types').Category) => void;
|
|
31
31
|
maxToShowItems?: number | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
theme?: any;
|
|
@@ -39,7 +39,7 @@ declare const _default: React.FC<import("react-intl").WithIntlProps<{
|
|
|
39
39
|
value: string;
|
|
40
40
|
} | undefined;
|
|
41
41
|
loading?: boolean | undefined;
|
|
42
|
-
intl: import(
|
|
42
|
+
intl: import('react-intl').IntlShape;
|
|
43
43
|
visible: boolean;
|
|
44
44
|
hide: () => void;
|
|
45
45
|
removeItem?: ((removeParams: {
|
|
@@ -59,8 +59,8 @@ declare const _default: React.FC<import("react-intl").WithIntlProps<{
|
|
|
59
59
|
texts?: {
|
|
60
60
|
[k: string]: string | React.ReactNode;
|
|
61
61
|
} | undefined;
|
|
62
|
-
categories: import(
|
|
63
|
-
fetchData: (category: import(
|
|
62
|
+
categories: import('./ItemFilter.types').Category[];
|
|
63
|
+
fetchData: (category: import('./ItemFilter.types').Category) => void;
|
|
64
64
|
maxToShowItems?: number | undefined;
|
|
65
65
|
} & {
|
|
66
66
|
theme?: any;
|
package/dist/ItemFilter.js
CHANGED
|
@@ -1,111 +1,102 @@
|
|
|
1
|
-
|
|
2
|
-
import React from
|
|
3
|
-
import { injectIntl } from
|
|
4
|
-
import { FixedSizeList
|
|
5
|
-
import { withTheme } from
|
|
6
|
-
import Button from
|
|
7
|
-
import { useTheme } from
|
|
8
|
-
import Drawer from
|
|
9
|
-
import Icon, { CloseM, SearchM } from
|
|
10
|
-
import { FilterItem } from
|
|
11
|
-
import Result from
|
|
12
|
-
import Scrollbar from
|
|
13
|
-
import SearchBar from
|
|
14
|
-
import Tabs from
|
|
15
|
-
import Typography from
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
var theme = useTheme();
|
|
95
|
-
var _React$useState = React.useState(0),
|
|
96
|
-
listHeight = _React$useState[0],
|
|
97
|
-
setListHeight = _React$useState[1];
|
|
98
|
-
var _React$useState2 = React.useState(0),
|
|
99
|
-
activeTab = _React$useState2[0],
|
|
100
|
-
setActiveTab = _React$useState2[1];
|
|
101
|
-
var listStyle = {
|
|
102
|
-
overflowX: 'unset',
|
|
103
|
-
overflowY: 'unset'
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { injectIntl } from "react-intl";
|
|
4
|
+
import { FixedSizeList } from "react-window";
|
|
5
|
+
import { withTheme } from "styled-components";
|
|
6
|
+
import Button from "@synerise/ds-button";
|
|
7
|
+
import { useTheme } from "@synerise/ds-core";
|
|
8
|
+
import Drawer from "@synerise/ds-drawer";
|
|
9
|
+
import Icon, { CloseM, SearchM } from "@synerise/ds-icon";
|
|
10
|
+
import { FilterItem } from "@synerise/ds-manageable-list";
|
|
11
|
+
import Result from "@synerise/ds-result";
|
|
12
|
+
import Scrollbar from "@synerise/ds-scrollbar";
|
|
13
|
+
import SearchBar from "@synerise/ds-search-bar";
|
|
14
|
+
import Tabs from "@synerise/ds-tabs";
|
|
15
|
+
import Typography from "@synerise/ds-typography";
|
|
16
|
+
import { ItemFilterHeader, FiltersList } from "./ItemFIlter.styles.js";
|
|
17
|
+
const DRAWER_WIDTH = 676;
|
|
18
|
+
const FILTER_ITEM_HEIGHT = 48;
|
|
19
|
+
const FILTER_ITEM_MARGIN_BOTTOM = 16;
|
|
20
|
+
const FILTER_LIST_PADDING = 24;
|
|
21
|
+
const ItemFilter = ({
|
|
22
|
+
visible,
|
|
23
|
+
hide,
|
|
24
|
+
removeItem,
|
|
25
|
+
editItem,
|
|
26
|
+
duplicateItem,
|
|
27
|
+
selectItem,
|
|
28
|
+
selectedItemId,
|
|
29
|
+
intl,
|
|
30
|
+
texts = {
|
|
31
|
+
activateItemTitle: intl.formatMessage({
|
|
32
|
+
id: "DS.ITEM-FILTER.ACTIVATE-ITEM-TITLE"
|
|
33
|
+
}),
|
|
34
|
+
activate: intl.formatMessage({
|
|
35
|
+
id: "DS.ITEM-FILTER.ACTIVATE"
|
|
36
|
+
}),
|
|
37
|
+
cancel: intl.formatMessage({
|
|
38
|
+
id: "DS.ITEM-FILTER.CANCEL"
|
|
39
|
+
}),
|
|
40
|
+
deleteConfirmationTitle: intl.formatMessage({
|
|
41
|
+
id: "DS.ITEM-FILTER.DELETE-CONFIRMATION-TITLE"
|
|
42
|
+
}),
|
|
43
|
+
deleteConfirmationDescription: intl.formatMessage({
|
|
44
|
+
id: "DS.ITEM-FILTER.DELETE-CONFIRMATION-DESCRIPTION"
|
|
45
|
+
}),
|
|
46
|
+
deleteConfirmationNo: intl.formatMessage({
|
|
47
|
+
id: "DS.ITEM-FILTER.DELETE-CONFIRMATION-NO",
|
|
48
|
+
defaultMessage: "No"
|
|
49
|
+
}),
|
|
50
|
+
deleteConfirmationYes: intl.formatMessage({
|
|
51
|
+
id: "DS.ITEM-FILTER.DELETE-CONFIRMATION-YES",
|
|
52
|
+
defaultMessage: "Yes"
|
|
53
|
+
}),
|
|
54
|
+
noResults: intl.formatMessage({
|
|
55
|
+
id: "DS.ITEM-FILTER.NO-RESULTS"
|
|
56
|
+
}),
|
|
57
|
+
searchPlaceholder: intl.formatMessage({
|
|
58
|
+
id: "DS.ITEM-FILTER.SEARCH-PLACEHOLDER"
|
|
59
|
+
}),
|
|
60
|
+
title: intl.formatMessage({
|
|
61
|
+
id: "DS.ITEM-FILTER.TITLE"
|
|
62
|
+
}),
|
|
63
|
+
more: intl.formatMessage({
|
|
64
|
+
id: "DS.MANAGABLE-LIST.MORE"
|
|
65
|
+
}),
|
|
66
|
+
less: intl.formatMessage({
|
|
67
|
+
id: "DS.MANAGABLE-LIST.LESS"
|
|
68
|
+
}),
|
|
69
|
+
searchClearTooltip: intl.formatMessage({
|
|
70
|
+
id: "DS.ITEM-FILTER.SEARCH-CLEAR"
|
|
71
|
+
}),
|
|
72
|
+
itemActionRename: intl.formatMessage({
|
|
73
|
+
id: "DS.MANAGABLE-LIST.ITEM-RENAME"
|
|
74
|
+
}),
|
|
75
|
+
itemActionDuplicate: intl.formatMessage({
|
|
76
|
+
id: "DS.MANAGABLE-LIST.ITEM-DUPLICATE"
|
|
77
|
+
}),
|
|
78
|
+
itemActionDelete: intl.formatMessage({
|
|
79
|
+
id: "DS.MANAGABLE-LIST.ITEM-DELETE"
|
|
80
|
+
})
|
|
81
|
+
},
|
|
82
|
+
categories,
|
|
83
|
+
fetchData,
|
|
84
|
+
loading,
|
|
85
|
+
search
|
|
86
|
+
}) => {
|
|
87
|
+
const listRef = React.createRef();
|
|
88
|
+
const theme = useTheme();
|
|
89
|
+
const [listHeight, setListHeight] = React.useState(0);
|
|
90
|
+
const [activeTab, setActiveTab] = React.useState(0);
|
|
91
|
+
const listStyle = {
|
|
92
|
+
overflowX: "unset",
|
|
93
|
+
overflowY: "unset"
|
|
104
94
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
return
|
|
108
|
-
|
|
95
|
+
const activeCategory = React.useMemo(() => {
|
|
96
|
+
const category = categories[activeTab];
|
|
97
|
+
return {
|
|
98
|
+
...category,
|
|
99
|
+
items: selectedItemId ? [...category.items].sort((a, b) => {
|
|
109
100
|
if (a.id === selectedItemId) {
|
|
110
101
|
return -1;
|
|
111
102
|
}
|
|
@@ -114,103 +105,57 @@ var ItemFilter = function ItemFilter(_ref) {
|
|
|
114
105
|
}
|
|
115
106
|
return 0;
|
|
116
107
|
}) : category.items || []
|
|
117
|
-
}
|
|
108
|
+
};
|
|
118
109
|
}, [categories, activeTab, selectedItemId]);
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
item: item,
|
|
130
|
-
selected: item.id === selectedItemId,
|
|
131
|
-
searchQuery: search == null ? void 0 : search.value,
|
|
132
|
-
style: _extends({}, style, {
|
|
133
|
-
height: parseFloat(style.height) - FILTER_ITEM_MARGIN_BOTTOM,
|
|
134
|
-
top: parseFloat(style.top) + 24
|
|
135
|
-
})
|
|
136
|
-
});
|
|
110
|
+
const RenderRow = ({
|
|
111
|
+
index,
|
|
112
|
+
style
|
|
113
|
+
}) => {
|
|
114
|
+
const item = activeCategory.items[index];
|
|
115
|
+
return /* @__PURE__ */ jsx(FilterItem, { texts, onSelect: selectItem, onUpdate: editItem, onRemove: removeItem, onDuplicate: duplicateItem, item, selected: item.id === selectedItemId, searchQuery: search?.value, style: {
|
|
116
|
+
...style,
|
|
117
|
+
height: parseFloat(style.height) - FILTER_ITEM_MARGIN_BOTTOM,
|
|
118
|
+
top: parseFloat(style.top) + 24
|
|
119
|
+
} });
|
|
137
120
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
121
|
+
const handleScroll = ({
|
|
122
|
+
currentTarget
|
|
123
|
+
}) => {
|
|
124
|
+
const {
|
|
125
|
+
scrollTop
|
|
126
|
+
} = currentTarget;
|
|
141
127
|
if (listRef.current !== null) {
|
|
142
128
|
listRef.current.scrollTo(scrollTop);
|
|
143
129
|
}
|
|
144
130
|
};
|
|
145
|
-
return
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
162
|
-
component: /*#__PURE__*/React.createElement(CloseM, null)
|
|
163
|
-
}))), /*#__PURE__*/React.createElement(Tabs, {
|
|
164
|
-
activeTab: activeTab,
|
|
165
|
-
tabs: categories,
|
|
166
|
-
handleTabClick: setActiveTab,
|
|
167
|
-
underscore: true
|
|
168
|
-
})), search && /*#__PURE__*/React.createElement(SearchBar, {
|
|
169
|
-
placeholder: texts.searchPlaceholder,
|
|
170
|
-
value: search == null ? void 0 : search.value,
|
|
171
|
-
onClearInput: search == null ? void 0 : search.onClear,
|
|
172
|
-
onSearchChange: search == null ? void 0 : search.onChange,
|
|
173
|
-
clearTooltip: texts.searchClearTooltip,
|
|
174
|
-
iconLeft: /*#__PURE__*/React.createElement(Icon, {
|
|
175
|
-
component: /*#__PURE__*/React.createElement(SearchM, null),
|
|
176
|
-
color: theme.palette['grey-600']
|
|
177
|
-
})
|
|
178
|
-
})), /*#__PURE__*/React.createElement(Drawer.DrawerBody, {
|
|
179
|
-
style: {
|
|
180
|
-
overflowY: 'hidden',
|
|
131
|
+
return /* @__PURE__ */ jsxs(Drawer, { visible, placement: "right", width: DRAWER_WIDTH, onClose: hide, children: [
|
|
132
|
+
/* @__PURE__ */ jsxs(Drawer.DrawerHeaderWithoutPadding, { children: [
|
|
133
|
+
/* @__PURE__ */ jsxs(Drawer.DrawerHeader, { children: [
|
|
134
|
+
/* @__PURE__ */ jsxs(ItemFilterHeader, { children: [
|
|
135
|
+
/* @__PURE__ */ jsx(Typography.Title, { style: {
|
|
136
|
+
flex: 1,
|
|
137
|
+
margin: 0
|
|
138
|
+
}, level: 4, children: texts.title }),
|
|
139
|
+
/* @__PURE__ */ jsx(Button, { type: "ghost", mode: "single-icon", onClick: hide, "data-testid": "ds-item-filter-close-button", children: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(CloseM, {}) }) })
|
|
140
|
+
] }),
|
|
141
|
+
/* @__PURE__ */ jsx(Tabs, { activeTab, tabs: categories, handleTabClick: setActiveTab, underscore: true })
|
|
142
|
+
] }),
|
|
143
|
+
search && /* @__PURE__ */ jsx(SearchBar, { placeholder: texts.searchPlaceholder, value: search?.value, onClearInput: search?.onClear, onSearchChange: search?.onChange, clearTooltip: texts.searchClearTooltip, iconLeft: /* @__PURE__ */ jsx(Icon, { component: /* @__PURE__ */ jsx(SearchM, {}), color: theme.palette["grey-600"] }) })
|
|
144
|
+
] }),
|
|
145
|
+
/* @__PURE__ */ jsx(Drawer.DrawerBody, { style: {
|
|
146
|
+
overflowY: "hidden",
|
|
181
147
|
flex: 1
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
style: {
|
|
185
|
-
height: '100%',
|
|
148
|
+
}, children: /* @__PURE__ */ jsx(Drawer.DrawerContent, { style: {
|
|
149
|
+
height: "100%",
|
|
186
150
|
padding: 0
|
|
187
|
-
}
|
|
188
|
-
}, /*#__PURE__*/React.createElement(S.FiltersList, {
|
|
189
|
-
ref: function ref(el) {
|
|
151
|
+
}, children: /* @__PURE__ */ jsx(FiltersList, { ref: (el) => {
|
|
190
152
|
el && setListHeight(el.offsetHeight);
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
},
|
|
200
|
-
style: {
|
|
201
|
-
padding: '0px 24px'
|
|
202
|
-
}
|
|
203
|
-
}, /*#__PURE__*/React.createElement(List, {
|
|
204
|
-
width: DRAWER_WIDTH - 2 * FILTER_LIST_PADDING,
|
|
205
|
-
height: listHeight,
|
|
206
|
-
itemCount: activeCategory.items.length,
|
|
207
|
-
itemSize: FILTER_ITEM_HEIGHT + FILTER_ITEM_MARGIN_BOTTOM,
|
|
208
|
-
style: listStyle,
|
|
209
|
-
ref: listRef
|
|
210
|
-
}, RenderRow)) : /*#__PURE__*/React.createElement(Result, {
|
|
211
|
-
type: "no-results",
|
|
212
|
-
noSearchResults: true,
|
|
213
|
-
description: texts.noResults
|
|
214
|
-
})))));
|
|
153
|
+
}, children: activeCategory.items.length ? /* @__PURE__ */ jsx(Scrollbar, { absolute: true, loading, onScroll: handleScroll, hasMore: !search?.value && activeCategory.hasMore, fetchData: () => fetchData(activeCategory), style: {
|
|
154
|
+
padding: "0px 24px"
|
|
155
|
+
}, children: /* @__PURE__ */ jsx(FixedSizeList, { width: DRAWER_WIDTH - 2 * FILTER_LIST_PADDING, height: listHeight, itemCount: activeCategory.items.length, itemSize: FILTER_ITEM_HEIGHT + FILTER_ITEM_MARGIN_BOTTOM, style: listStyle, ref: listRef, children: RenderRow }) }) : /* @__PURE__ */ jsx(Result, { type: "no-results", noSearchResults: true, description: texts.noResults }) }) }) })
|
|
156
|
+
] });
|
|
157
|
+
};
|
|
158
|
+
const ItemFilter_default = injectIntl(withTheme(ItemFilter));
|
|
159
|
+
export {
|
|
160
|
+
ItemFilter_default as default
|
|
215
161
|
};
|
|
216
|
-
export default injectIntl(withTheme(ItemFilter));
|
package/dist/ItemFilter.types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
|
package/dist/index.js
CHANGED
package/dist/modules.d.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-item-filter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.70",
|
|
4
4
|
"description": "ItemFilter UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "
|
|
19
|
+
"build": "vite build",
|
|
20
20
|
"build:css": "node ../../../scripts/style/less.js",
|
|
21
21
|
"build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
|
|
22
|
-
"build:watch": "
|
|
22
|
+
"build:watch": "vite build --watch",
|
|
23
23
|
"defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
|
|
24
24
|
"pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
|
|
25
25
|
"prepublish": "pnpm run build",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-drawer": "^1.1.
|
|
40
|
-
"@synerise/ds-icon": "^1.15.
|
|
41
|
-
"@synerise/ds-manageable-list": "^1.7.
|
|
42
|
-
"@synerise/ds-result": "^1.0.
|
|
43
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
44
|
-
"@synerise/ds-search-bar": "^1.4.
|
|
45
|
-
"@synerise/ds-tabs": "^1.1.
|
|
46
|
-
"@synerise/ds-typography": "^1.1.
|
|
38
|
+
"@synerise/ds-button": "^1.5.18",
|
|
39
|
+
"@synerise/ds-drawer": "^1.1.2",
|
|
40
|
+
"@synerise/ds-icon": "^1.15.1",
|
|
41
|
+
"@synerise/ds-manageable-list": "^1.7.12",
|
|
42
|
+
"@synerise/ds-result": "^1.0.49",
|
|
43
|
+
"@synerise/ds-scrollbar": "^1.2.17",
|
|
44
|
+
"@synerise/ds-search-bar": "^1.4.20",
|
|
45
|
+
"@synerise/ds-tabs": "^1.1.24",
|
|
46
|
+
"@synerise/ds-typography": "^1.1.13",
|
|
47
47
|
"react-window": "^1.8.11"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
53
53
|
"styled-components": "^5.3.3"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "e4ecca8944fc9b41c1b9d59c8bcad5e5e2013225"
|
|
56
56
|
}
|