@useblu/ocean-react 1.56.0 → 1.57.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/index.js CHANGED
@@ -303,6 +303,18 @@ var TransactionListItem = e__default["default"].forwardRef(function (_a, ref) {
303
303
  });
304
304
  TransactionListItem.displayName = 'TransactionListItem';
305
305
 
306
+ var UnorderedListItem = e__default["default"].forwardRef(function (_a, ref) {
307
+ var description = _a.description, Icon = _a.icon, title = _a.title, className = _a.className, iconVariant = _a.iconVariant, rest = __rest$1(_a, ["description", "icon", "title", "className", "iconVariant"]);
308
+ return (e__default["default"].createElement("div", __assign$1({ ref: ref, className: classNames('ods-unordered-list-item', className) }, rest),
309
+ Icon && iconVariant !== 'chevron' ? (e__default["default"].createElement(Icon, { size: iconVariant === 'solid' ? 20 : 24, className: classNames('ods-unordered-list-item__icon', iconVariant === 'solid' && 'ods-unordered-list-item__icon--solid') })) : (e__default["default"].createElement("span", { className: "ods-unordered-list-item__icon-container" },
310
+ e__default["default"].createElement(ee, { size: 16 }))),
311
+ e__default["default"].createElement("span", null,
312
+ title && (e__default["default"].createElement(Typography, { variant: "paragraph", className: classNames('ods-unordered-list-item__title', iconVariant === 'solid' &&
313
+ 'ods-unordered-list-item__title--with-solid-icon') }, title)),
314
+ e__default["default"].createElement(Typography, { variant: "description", className: classNames(!title && 'ods-unordered-list-item__description') }, description))));
315
+ });
316
+ UnorderedListItem.displayName = 'UnorderedListItem';
317
+
306
318
  var mapIconsByType$1 = {
307
319
  warning: zi,
308
320
  error: rs,
@@ -46587,4 +46599,5 @@ exports.TextArea = TextArea;
46587
46599
  exports.TopBar = TopBar;
46588
46600
  exports.TransactionListItem = TransactionListItem;
46589
46601
  exports.Typography = Typography;
46602
+ exports.UnorderedListItem = UnorderedListItem;
46590
46603
  //# sourceMappingURL=index.js.map