@true-engineering/true-react-common-ui-kit 4.0.0-alpha62 → 4.0.0-alpha63
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/dist/components/List/components/ListItem/ListItem.styles.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +3 -2
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/List/components/ListItem/ListItem.styles.ts +2 -0
- package/src/components/List/components/ListItem/ListItem.tsx +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITweakStyles } from '../../../../theme';
|
|
2
2
|
import { IListSizes as IListItemSizes } from '../../types';
|
|
3
|
-
export declare const useStyles: import('../../../../theme').IUseStyles<"content" | "root" | "default" | "destructive" | "focused" | "disabledItem" | "spacer" | "withIconGap" | "icon">;
|
|
3
|
+
export declare const useStyles: import('../../../../theme').IUseStyles<"content" | "root" | "default" | "destructive" | "focused" | "disabledItem" | "spacer" | "withIconGap" | "icon" | "chevron">;
|
|
4
4
|
export type IListItemStyles = ITweakStyles<typeof useStyles, IListItemSizes>;
|
|
@@ -3157,7 +3157,8 @@ const useStyles$V = createThemedStyles("ListItem", {
|
|
|
3157
3157
|
},
|
|
3158
3158
|
content: {
|
|
3159
3159
|
flexGrow: 1
|
|
3160
|
-
}
|
|
3160
|
+
},
|
|
3161
|
+
chevron: {}
|
|
3161
3162
|
});
|
|
3162
3163
|
const ListItem = ({
|
|
3163
3164
|
icon,
|
|
@@ -3191,7 +3192,7 @@ const ListItem = ({
|
|
|
3191
3192
|
children: [
|
|
3192
3193
|
isReactNodeNotEmpty(icon) && /* @__PURE__ */ jsx("span", { className: classes.icon, children: renderIcon(icon) }),
|
|
3193
3194
|
/* @__PURE__ */ jsx("span", { className: classes.content, children: item }),
|
|
3194
|
-
isArrayNotEmpty(nestedItems) && /* @__PURE__ */ jsx("span", { className: classes.icon, children: /* @__PURE__ */ jsx(Icon, { type: "chevron-right" }) })
|
|
3195
|
+
isArrayNotEmpty(nestedItems) && /* @__PURE__ */ jsx("span", { className: clsx(classes.icon, classes.chevron), children: /* @__PURE__ */ jsx(Icon, { type: "chevron-right" }) })
|
|
3195
3196
|
]
|
|
3196
3197
|
}
|
|
3197
3198
|
),
|