@bigbinary/neeto-themes-frontend 3.1.26 → 3.1.27

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.
@@ -267,7 +267,8 @@ var Card$2 = function Card(_ref) {
267
267
  children = _ref.children,
268
268
  name = _ref.name,
269
269
  className = _ref.className,
270
- helpPopoverProps = _ref.helpPopoverProps;
270
+ helpPopoverProps = _ref.helpPopoverProps,
271
+ required = _ref.required;
271
272
  var _useConfigStore = useConfigStore(function (store) {
272
273
  return {
273
274
  accordionOpenState: store["accordionOpenState"],
@@ -295,7 +296,11 @@ var Card$2 = function Card(_ref) {
295
296
  lineHeight: "normal",
296
297
  style: "h4",
297
298
  weight: "semibold",
298
- children: [title, isPresent(helpPopoverProps) && /*#__PURE__*/jsx(HelpPopover, _objectSpread$4({}, helpPopoverProps))]
299
+ children: [title, required && /*#__PURE__*/jsx("span", {
300
+ "aria-hidden": true,
301
+ className: "-ml-1",
302
+ children: "*"
303
+ }), isPresent(helpPopoverProps) && /*#__PURE__*/jsx(HelpPopover, _objectSpread$4({}, helpPopoverProps))]
299
304
  }), /*#__PURE__*/jsx(Right, {
300
305
  size: 20,
301
306
  className: classnames("transition-all duration-300", {
@@ -1204,6 +1209,7 @@ var ThemeMeta = function ThemeMeta(_ref) {
1204
1209
  nameHelpPopoverProps = _helpPopoverProps$nam === void 0 ? {} : _helpPopoverProps$nam;
1205
1210
  return /*#__PURE__*/jsx(Card$2, {
1206
1211
  className: className,
1212
+ required: true,
1207
1213
  helpPopoverProps: nameHelpPopoverProps,
1208
1214
  name: "name",
1209
1215
  title: t("neetoThemes.common.name"),
@@ -1657,7 +1663,7 @@ var Card = function Card(_ref) {
1657
1663
  children: [/*#__PURE__*/jsxs("div", {
1658
1664
  className: "flex items-center space-x-2",
1659
1665
  children: [/*#__PURE__*/jsx(Typography, {
1660
- className: "line-clamp-2 min-w-0 flex-grow break-words pt-1",
1666
+ className: "line-clamp-2 min-w-0 flex-grow wrap-anywhere pt-1",
1661
1667
  "data-cy": "theme-name",
1662
1668
  lineHeight: "snug",
1663
1669
  style: "body2",