@bigbinary/neeto-themes-frontend 2.0.10 → 2.1.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/dist/index.cjs.js CHANGED
@@ -601,6 +601,7 @@ var Card$2 = function Card(_ref) {
601
601
  children = _ref.children;
602
602
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
603
603
  className: "neeto-ui-border-gray-300 neeto-ui-rounded-lg neeto-ui-bg-white space-y-3 border p-4",
604
+ "data-cy": "theme-".concat(neetoCist.hyphenate(title), "-properties"),
604
605
  children: [title && /*#__PURE__*/jsxRuntime.jsx("div", {
605
606
  className: "flex items-center justify-between",
606
607
  children: /*#__PURE__*/jsxRuntime.jsx(Typography__default["default"], {
@@ -1657,6 +1658,7 @@ var Themes = function Themes(_ref) {
1657
1658
  children: t("neetoThemes.build.leftSideBar.themes.systemThemes")
1658
1659
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
1659
1660
  className: "flex flex-col gap-4 px-4 pb-10 lg:px-5 xl:px-6",
1661
+ "data-cy": "system-themes",
1660
1662
  children: filteredDefaultThemes.map(function (theme) {
1661
1663
  return /*#__PURE__*/react.createElement(Card$1, {
1662
1664
  onApplyTheme: onApplyTheme,
@@ -1682,6 +1684,7 @@ var Themes = function Themes(_ref) {
1682
1684
  children: t("neetoThemes.build.leftSideBar.themes.customThemes")
1683
1685
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
1684
1686
  className: "flex flex-col gap-4 px-6",
1687
+ "data-cy": "custom-themes",
1685
1688
  children: filteredThemes.map(function (theme) {
1686
1689
  var isActive = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme.id) === theme.id;
1687
1690
  var isPreviewing = (previewingTheme === null || previewingTheme === void 0 ? void 0 : previewingTheme.id) === theme.id;