@synerise/ds-item-filter 2.0.11 → 2.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.
- package/CHANGELOG.md +19 -0
- package/CLAUDE.md +1 -1
- package/dist/ItemFIlter.styles.js +1 -1
- package/dist/ItemFilter.js +1 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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
|
+
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-item-filter@2.0.12...@synerise/ds-item-filter@2.1.0) (2026-10-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-item-filter@2.0.11...@synerise/ds-item-filter@2.0.12) (2026-10-28)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-item-filter
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-item-filter@2.0.10...@synerise/ds-item-filter@2.0.11) (2026-10-26)
|
|
7
26
|
|
|
8
27
|
|
package/CLAUDE.md
CHANGED
|
@@ -115,7 +115,7 @@ const categories: Category[] = [
|
|
|
115
115
|
|
|
116
116
|
## Styling
|
|
117
117
|
|
|
118
|
-
- `FiltersList` — full-height container; overrides `ItemContainer` from `@synerise/ds-manageable-list` to enforce `max-height: 48px`, remove `box-shadow`, and apply
|
|
118
|
+
- `FiltersList` — full-height container; overrides `ItemContainer` from `@synerise/ds-manageable-list` to enforce `max-height: 48px`, remove `box-shadow`, and apply `--ds-color-background-base-subtle` background.
|
|
119
119
|
- `ItemFilterHeader` — flex row with space-between for title + close button; `padding-bottom: 24px`.
|
|
120
120
|
- Drawer fixed width: **676px**.
|
|
121
121
|
- List item height: **48px** with **16px** margin-bottom (total row size 64px for `react-window`).
|
|
@@ -3,7 +3,7 @@ import { ItemContainer } from "@synerise/ds-manageable-list/dist/Item/ContentIte
|
|
|
3
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:
|
|
6
|
+
})(["height:100%;", "{max-height:48px;box-shadow:none;background:var(--ds-color-background-base-subtle);}.ds-result{margin-top:24px;}"], ItemContainer);
|
|
7
7
|
const ItemFilterHeader = /* @__PURE__ */ styled.div.withConfig({
|
|
8
8
|
displayName: "ItemFIlterstyles__ItemFilterHeader",
|
|
9
9
|
componentId: "sc-1pbog0m-1"
|
package/dist/ItemFilter.js
CHANGED
|
@@ -4,7 +4,6 @@ import { injectIntl } from "react-intl";
|
|
|
4
4
|
import { FixedSizeList } from "react-window";
|
|
5
5
|
import { withTheme } from "styled-components";
|
|
6
6
|
import Button from "@synerise/ds-button";
|
|
7
|
-
import { useTheme } from "@synerise/ds-core";
|
|
8
7
|
import Drawer from "@synerise/ds-drawer";
|
|
9
8
|
import Icon, { CloseM, SearchM } from "@synerise/ds-icon";
|
|
10
9
|
import { FilterItem } from "@synerise/ds-manageable-list";
|
|
@@ -85,7 +84,6 @@ const ItemFilter = ({
|
|
|
85
84
|
search
|
|
86
85
|
}) => {
|
|
87
86
|
const listRef = React.createRef();
|
|
88
|
-
const theme = useTheme();
|
|
89
87
|
const [listHeight, setListHeight] = React.useState(0);
|
|
90
88
|
const [activeTab, setActiveTab] = React.useState(0);
|
|
91
89
|
const listStyle = {
|
|
@@ -140,7 +138,7 @@ const ItemFilter = ({
|
|
|
140
138
|
] }),
|
|
141
139
|
/* @__PURE__ */ jsx(Tabs, { activeTab, tabs: categories, handleTabClick: setActiveTab, underscore: true })
|
|
142
140
|
] }),
|
|
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, {})
|
|
141
|
+
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, {}) }) })
|
|
144
142
|
] }),
|
|
145
143
|
/* @__PURE__ */ jsx(Drawer.DrawerBody, { style: {
|
|
146
144
|
overflowY: "hidden",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-item-filter",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "ItemFilter UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.
|
|
46
|
-
"@synerise/ds-drawer": "^2.0
|
|
47
|
-
"@synerise/ds-icon": "^2.
|
|
48
|
-
"@synerise/ds-manageable-list": "^2.
|
|
49
|
-
"@synerise/ds-result": "^2.0
|
|
50
|
-
"@synerise/ds-scrollbar": "^2.0
|
|
51
|
-
"@synerise/ds-search-bar": "^2.0
|
|
52
|
-
"@synerise/ds-tabs": "^2.0
|
|
53
|
-
"@synerise/ds-typography": "^2.0
|
|
45
|
+
"@synerise/ds-button": "^2.2.0",
|
|
46
|
+
"@synerise/ds-drawer": "^2.1.0",
|
|
47
|
+
"@synerise/ds-icon": "^2.3.0",
|
|
48
|
+
"@synerise/ds-manageable-list": "^2.2.0",
|
|
49
|
+
"@synerise/ds-result": "^2.1.0",
|
|
50
|
+
"@synerise/ds-scrollbar": "^2.1.0",
|
|
51
|
+
"@synerise/ds-search-bar": "^2.1.0",
|
|
52
|
+
"@synerise/ds-tabs": "^2.1.0",
|
|
53
|
+
"@synerise/ds-typography": "^2.1.0",
|
|
54
54
|
"react-window": "^1.8.11"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
63
63
|
"styled-components": "^5.3.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
|
|
66
66
|
}
|