@synerise/ds-list-item 2.1.0 → 2.1.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/CHANGELOG.md +19 -0
- package/dist/ListItem.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +6 -6
- package/dist/index.d.ts +5 -5
- package/dist/index.js +7 -7
- package/package.json +8 -8
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.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-list-item@2.1.1...@synerise/ds-list-item@2.1.2) (2026-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/Synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-list-item@2.1.0...@synerise/ds-list-item@2.1.1) (2026-09-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-list-item
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-list-item@2.0.2...@synerise/ds-list-item@2.1.0) (2026-09-16)
|
|
7
26
|
|
|
8
27
|
### Features
|
package/dist/ListItem.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useContext } from "react";
|
|
3
3
|
import { useDropdown } from "@synerise/ds-core";
|
|
4
|
-
import { itemTypes } from "./ListItem.types.js";
|
|
5
4
|
import Danger from "./components/Danger/Danger.js";
|
|
6
5
|
import { Divider } from "./components/Divider/Divider.js";
|
|
7
6
|
import { Header } from "./components/Header/Header.js";
|
|
8
7
|
import { ListContext } from "./components/ListContext/ListContext.js";
|
|
9
8
|
import Select from "./components/Select/Select.js";
|
|
10
9
|
import Text from "./components/Text/Text.js";
|
|
10
|
+
import { itemTypes } from "./ListItem.types.js";
|
|
11
11
|
const ListItem = forwardRef((props, forwardedRef) => {
|
|
12
12
|
const {
|
|
13
13
|
text,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useListItem, useMergeRefs } from "@floating-ui/react";
|
|
2
3
|
import copy from "copy-to-clipboard";
|
|
3
4
|
import { forwardRef, useState, useMemo } from "react";
|
|
4
|
-
import { useListItem, useMergeRefs } from "@floating-ui/react";
|
|
5
5
|
import { useStableId, renderWithHighlight } from "@synerise/ds-utils";
|
|
6
6
|
import { useTemporaryLabel } from "../../hooks/useTemporaryLabel.js";
|
|
7
7
|
import HoverTooltip from "../HoverTooltip/HoverTooltip.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Danger } from './Danger/Danger';
|
|
2
|
+
export { GroupItem } from './GroupItem/GroupItem';
|
|
3
|
+
export { default as HoverTooltip } from './HoverTooltip/HoverTooltip';
|
|
2
4
|
export { default as Select } from './Select/Select';
|
|
3
5
|
export { default as Text } from './Text/Text';
|
|
4
|
-
export { default as HoverTooltip } from './HoverTooltip/HoverTooltip';
|
|
5
|
-
export { GroupItem } from './GroupItem/GroupItem';
|
package/dist/components/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { default as default2 } from "./Danger/Danger.js";
|
|
2
|
-
import { default as default3 } from "./Select/Select.js";
|
|
3
|
-
import { default as default4 } from "./Text/Text.js";
|
|
4
|
-
import { default as default5 } from "./HoverTooltip/HoverTooltip.js";
|
|
5
2
|
import { GroupItem } from "./GroupItem/GroupItem.js";
|
|
3
|
+
import { default as default3 } from "./HoverTooltip/HoverTooltip.js";
|
|
4
|
+
import { default as default4 } from "./Select/Select.js";
|
|
5
|
+
import { default as default5 } from "./Text/Text.js";
|
|
6
6
|
export {
|
|
7
7
|
default2 as Danger,
|
|
8
8
|
GroupItem,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
default3 as HoverTooltip,
|
|
10
|
+
default4 as Select,
|
|
11
|
+
default5 as Text
|
|
12
12
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { HoverTooltip, GroupItem } from './components';
|
|
1
|
+
export { GroupItem, HoverTooltip } from './components';
|
|
3
2
|
export { HoverableSuffix } from './components/HoverableSuffix/HoverableSuffix';
|
|
4
|
-
export {
|
|
5
|
-
export { ListWrapper, type ListWrapperProps, type ListWrapperTexts, } from './components/ListWrapper/ListWrapper';
|
|
3
|
+
export type { HoverableSuffixProps } from './components/HoverableSuffix/HoverableSuffix.types';
|
|
6
4
|
export { useListContext } from './components/ListContext/ListContext';
|
|
7
5
|
export { ListContextProvider } from './components/ListContext/ListContextProvider';
|
|
8
|
-
export {
|
|
6
|
+
export { ListWrapper, type ListWrapperProps, type ListWrapperTexts, } from './components/ListWrapper/ListWrapper';
|
|
7
|
+
export { default } from './ListItem';
|
|
9
8
|
export * from './ListItem.const';
|
|
9
|
+
export { type BasicItemProps, type ItemData, type ItemSize, type ItemType, itemSizes, itemTypes, type ListItemEventHandler, type ListItemProps, type StyledListItem, } from './ListItem.types';
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { default as default2 } from "./ListItem.js";
|
|
2
1
|
import "./components/Danger/Danger.js";
|
|
2
|
+
import { GroupItem } from "./components/GroupItem/GroupItem.js";
|
|
3
|
+
import { default as default2 } from "./components/HoverTooltip/HoverTooltip.js";
|
|
3
4
|
import "./components/Select/Select.js";
|
|
4
5
|
import "./components/Text/Text.js";
|
|
5
|
-
import { default as default3 } from "./components/HoverTooltip/HoverTooltip.js";
|
|
6
|
-
import { GroupItem } from "./components/GroupItem/GroupItem.js";
|
|
7
6
|
import { HoverableSuffix } from "./components/HoverableSuffix/HoverableSuffix.js";
|
|
8
|
-
import { ListWrapper } from "./components/ListWrapper/ListWrapper.js";
|
|
9
7
|
import { useListContext } from "./components/ListContext/ListContext.js";
|
|
10
8
|
import { ListContextProvider } from "./components/ListContext/ListContextProvider.js";
|
|
11
|
-
import {
|
|
9
|
+
import { ListWrapper } from "./components/ListWrapper/ListWrapper.js";
|
|
10
|
+
import { default as default3 } from "./ListItem.js";
|
|
12
11
|
import { LIST_ITEM_SIZE_MAPPING } from "./ListItem.const.js";
|
|
12
|
+
import { itemSizes, itemTypes } from "./ListItem.types.js";
|
|
13
13
|
export {
|
|
14
14
|
GroupItem,
|
|
15
|
-
|
|
15
|
+
default2 as HoverTooltip,
|
|
16
16
|
HoverableSuffix,
|
|
17
17
|
LIST_ITEM_SIZE_MAPPING,
|
|
18
18
|
ListContextProvider,
|
|
19
19
|
ListWrapper,
|
|
20
|
-
|
|
20
|
+
default3 as default,
|
|
21
21
|
itemSizes,
|
|
22
22
|
itemTypes,
|
|
23
23
|
useListContext
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-list-item",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "ListItem UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@floating-ui/react": "^0.27.16",
|
|
46
|
-
"@synerise/ds-button": "^2.0
|
|
47
|
-
"@synerise/ds-divider": "^2.0.
|
|
48
|
-
"@synerise/ds-icon": "^2.1.
|
|
49
|
-
"@synerise/ds-popover": "^2.0.
|
|
50
|
-
"@synerise/ds-tooltip": "^2.0.
|
|
51
|
-
"@synerise/ds-utils": "^2.
|
|
46
|
+
"@synerise/ds-button": "^2.1.0",
|
|
47
|
+
"@synerise/ds-divider": "^2.0.5",
|
|
48
|
+
"@synerise/ds-icon": "^2.1.3",
|
|
49
|
+
"@synerise/ds-popover": "^2.0.3",
|
|
50
|
+
"@synerise/ds-tooltip": "^2.0.5",
|
|
51
|
+
"@synerise/ds-utils": "^2.2.0",
|
|
52
52
|
"classnames": "^2.5.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"@testing-library/react": "^14.0.0",
|
|
62
62
|
"vitest": "^4.0.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
|
|
65
65
|
}
|