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