@bigbinary/neeto-themes-frontend 4.0.8 → 4.0.10
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/NeetoThemesBuilder.js +47 -45
- package/dist/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/NeetoThemesBuilder.js +47 -45
- package/dist/cjs/NeetoThemesBuilder.js.map +1 -1
- package/dist/cjs/index.js +0 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +17 -17
|
@@ -20,7 +20,6 @@ var reactRouterDom = require('react-router-dom');
|
|
|
20
20
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
21
21
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
22
22
|
var Close = require('@bigbinary/neeto-icons/Close');
|
|
23
|
-
var PageLoader = require('@bigbinary/neeto-molecules/PageLoader');
|
|
24
23
|
var Popover = require('@bigbinary/neetoui/Popover');
|
|
25
24
|
var Typography = require('@bigbinary/neetoui/Typography');
|
|
26
25
|
var Switch = require('@bigbinary/neetoui/Switch');
|
|
@@ -287,7 +286,7 @@ var Card$2 = function Card(_ref) {
|
|
|
287
286
|
var isRTL = i18n.dir() === "rtl";
|
|
288
287
|
var ToggleIcon = isRTL ? Left : Right;
|
|
289
288
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
290
|
-
"data-
|
|
289
|
+
"data-testid": "theme-".concat(neetoCist.hyphenate(title), "-properties"),
|
|
291
290
|
className: classnames("neeto-themes-nano-section neeto-ui-border-gray-200 border-b pt-2 transition-all duration-300 last:border-none", className, {
|
|
292
291
|
"pb-2": !accordionOpenState[name],
|
|
293
292
|
"pb-3": accordionOpenState[name],
|
|
@@ -303,7 +302,7 @@ var Card$2 = function Card(_ref) {
|
|
|
303
302
|
children: [/*#__PURE__*/jsxRuntime.jsxs(Typography, {
|
|
304
303
|
className: "flex min-w-0 grow items-center gap-2 text-start",
|
|
305
304
|
component: "span",
|
|
306
|
-
"data-
|
|
305
|
+
"data-testid": "theme-properties",
|
|
307
306
|
lineHeight: "normal",
|
|
308
307
|
style: "h4",
|
|
309
308
|
weight: "semibold",
|
|
@@ -677,9 +676,9 @@ var AlignmentBlock = function AlignmentBlock(_ref) {
|
|
|
677
676
|
name = _ref.name;
|
|
678
677
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
679
678
|
className: "flex items-center justify-between gap-2",
|
|
680
|
-
"data-
|
|
679
|
+
"data-testid": utils$1.joinHyphenCase(label),
|
|
681
680
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
682
|
-
"data-
|
|
681
|
+
"data-testid": "style-fields-labels",
|
|
683
682
|
style: "body2",
|
|
684
683
|
children: label
|
|
685
684
|
}), /*#__PURE__*/jsxRuntime.jsx(formik.Field, {
|
|
@@ -691,7 +690,7 @@ var AlignmentBlock = function AlignmentBlock(_ref) {
|
|
|
691
690
|
className: "neeto-ui-border-gray-300 neeto-themes-nano-alignment-block flex items-center border",
|
|
692
691
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
693
692
|
className: "neeto-themes-nano-alignment-button neeto-themes-nano-alignment-button__alignment-left",
|
|
694
|
-
"data-
|
|
693
|
+
"data-testid": "alignment-left",
|
|
695
694
|
size: "medium",
|
|
696
695
|
style: value === "left" ? "primary" : "text",
|
|
697
696
|
icon: function icon() {
|
|
@@ -715,7 +714,7 @@ var AlignmentBlock = function AlignmentBlock(_ref) {
|
|
|
715
714
|
className: "neeto-themes-nano-alignment-divider"
|
|
716
715
|
}), /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
717
716
|
className: "neeto-themes-nano-alignment-button neeto-themes-nano-alignment-button__alignment-center",
|
|
718
|
-
"data-
|
|
717
|
+
"data-testid": "alignment-center",
|
|
719
718
|
size: "medium",
|
|
720
719
|
style: value === "center" ? "primary" : "text",
|
|
721
720
|
icon: function icon() {
|
|
@@ -750,9 +749,9 @@ var ColorBlock = function ColorBlock(_ref) {
|
|
|
750
749
|
showTransparencyControl = _ref.showTransparencyControl;
|
|
751
750
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
752
751
|
className: "flex items-center justify-between",
|
|
753
|
-
"data-
|
|
752
|
+
"data-testid": "theme-style-".concat(utils$1.joinHyphenCase(label)),
|
|
754
753
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
755
|
-
"data-
|
|
754
|
+
"data-testid": "style-fields-labels",
|
|
756
755
|
style: "body2",
|
|
757
756
|
children: label
|
|
758
757
|
}), /*#__PURE__*/jsxRuntime.jsx(ColorPicker, {
|
|
@@ -776,9 +775,9 @@ var FontPickerBlock = function FontPickerBlock(_ref) {
|
|
|
776
775
|
onChange = _ref.onChange;
|
|
777
776
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
778
777
|
className: "flex items-center justify-between",
|
|
779
|
-
"data-
|
|
778
|
+
"data-testid": "theme-style-".concat(utils$1.joinHyphenCase(label)),
|
|
780
779
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
781
|
-
"data-
|
|
780
|
+
"data-testid": "style-fields-labels",
|
|
782
781
|
style: "body2",
|
|
783
782
|
children: label
|
|
784
783
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -811,9 +810,9 @@ var SelectBlock = function SelectBlock(_ref) {
|
|
|
811
810
|
onChange = _ref.onChange;
|
|
812
811
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
813
812
|
className: "flex items-center justify-between",
|
|
814
|
-
"data-
|
|
813
|
+
"data-testid": "theme-style-".concat(utils$1.joinHyphenCase(label)),
|
|
815
814
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
816
|
-
"data-
|
|
815
|
+
"data-testid": "logo-field-labels",
|
|
817
816
|
style: "body2",
|
|
818
817
|
children: label
|
|
819
818
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -837,9 +836,9 @@ var SliderBlock = function SliderBlock(_ref) {
|
|
|
837
836
|
marks = _ref.marks;
|
|
838
837
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
839
838
|
className: "flex items-center justify-between gap-3",
|
|
840
|
-
"data-
|
|
839
|
+
"data-testid": "theme-style-".concat(utils$1.joinHyphenCase(label)),
|
|
841
840
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
842
|
-
"data-
|
|
841
|
+
"data-testid": "style-fields-labels",
|
|
843
842
|
style: "body2",
|
|
844
843
|
children: label
|
|
845
844
|
}), /*#__PURE__*/jsxRuntime.jsx(antd.Slider, {
|
|
@@ -870,11 +869,11 @@ var SwitchBlock = function SwitchBlock(_ref) {
|
|
|
870
869
|
var doesHelpTextExist = i18n.exists(translationKey);
|
|
871
870
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
872
871
|
className: "flex items-center justify-between",
|
|
873
|
-
"data-
|
|
872
|
+
"data-testid": "theme-style-content-background",
|
|
874
873
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
875
874
|
className: "inline-flex items-center gap-4",
|
|
876
875
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
877
|
-
"data-
|
|
876
|
+
"data-testid": "style-fields-labels",
|
|
878
877
|
style: "body2",
|
|
879
878
|
className: classnames({
|
|
880
879
|
"w-32": doesHelpTextExist,
|
|
@@ -888,7 +887,7 @@ var SwitchBlock = function SwitchBlock(_ref) {
|
|
|
888
887
|
}), /*#__PURE__*/jsxRuntime.jsx(Switch, _objectSpread$1(_objectSpread$1({}, _objectSpread$1({
|
|
889
888
|
name: name
|
|
890
889
|
}, switchProps)), {}, {
|
|
891
|
-
"data-
|
|
890
|
+
"data-testid": "enable-background-color-toggle"
|
|
892
891
|
}))]
|
|
893
892
|
});
|
|
894
893
|
};
|
|
@@ -903,9 +902,9 @@ var TextBlock = function TextBlock(_ref) {
|
|
|
903
902
|
placeholder = _ref.placeholder;
|
|
904
903
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
905
904
|
className: "flex items-center justify-between",
|
|
906
|
-
"data-
|
|
905
|
+
"data-testid": "theme-style-".concat(utils$1.joinHyphenCase(label)),
|
|
907
906
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
908
|
-
"data-
|
|
907
|
+
"data-testid": "style-fields-labels",
|
|
909
908
|
style: "body2",
|
|
910
909
|
children: label
|
|
911
910
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
@@ -1194,11 +1193,11 @@ var ImageBlock = function ImageBlock(_ref) {
|
|
|
1194
1193
|
}();
|
|
1195
1194
|
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1196
1195
|
className: "space-y-3",
|
|
1197
|
-
"data-
|
|
1196
|
+
"data-testid": "theme-style-".concat(label ? utils$1.joinHyphenCase(label) : "image-block"),
|
|
1198
1197
|
children: [label && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1199
1198
|
className: "flex items-center justify-between",
|
|
1200
1199
|
children: /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1201
|
-
"data-
|
|
1200
|
+
"data-testid": "style-fields-labels",
|
|
1202
1201
|
style: "body2",
|
|
1203
1202
|
children: label
|
|
1204
1203
|
})
|
|
@@ -1285,7 +1284,7 @@ var ThemeMeta = function ThemeMeta(_ref) {
|
|
|
1285
1284
|
title: t("neetoThemes.common.name"),
|
|
1286
1285
|
children: /*#__PURE__*/jsxRuntime.jsx(Input$1, {
|
|
1287
1286
|
autoFocus: true,
|
|
1288
|
-
"data-
|
|
1287
|
+
"data-testid": "theme-name-property",
|
|
1289
1288
|
name: "name"
|
|
1290
1289
|
})
|
|
1291
1290
|
});
|
|
@@ -1408,7 +1407,10 @@ var Customize = function Customize(_ref) {
|
|
|
1408
1407
|
}
|
|
1409
1408
|
}, [isLoadingTheme]);
|
|
1410
1409
|
if (isLoading) {
|
|
1411
|
-
return /*#__PURE__*/jsxRuntime.jsx(
|
|
1410
|
+
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1411
|
+
className: "flex h-full w-full items-center justify-center",
|
|
1412
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Spinner, {})
|
|
1413
|
+
});
|
|
1412
1414
|
}
|
|
1413
1415
|
return /*#__PURE__*/jsxRuntime.jsx(Form, {
|
|
1414
1416
|
formikProps: {
|
|
@@ -1491,13 +1493,13 @@ var Customize = function Customize(_ref) {
|
|
|
1491
1493
|
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1492
1494
|
className: "neeto-ui-bg-white neeto-ui-shadow-s sticky bottom-0 start-0 end-0 flex justify-end gap-x-2 px-4 py-6 lg:px-5 xl:px-6",
|
|
1493
1495
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
1494
|
-
"data-
|
|
1496
|
+
"data-testid": "reset-button",
|
|
1495
1497
|
disabled: !dirty || isSubmitting,
|
|
1496
1498
|
label: t("neetoThemes.buttons.reset"),
|
|
1497
1499
|
style: "text",
|
|
1498
1500
|
type: "reset"
|
|
1499
1501
|
}), /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
1500
|
-
"data-
|
|
1502
|
+
"data-testid": "save-changes-button",
|
|
1501
1503
|
disabled: !dirty && (themeData === null || themeData === void 0 ? void 0 : themeData.id) || isSubmitting,
|
|
1502
1504
|
label: t("neetoThemes.buttons.save"),
|
|
1503
1505
|
loading: isSubmitting,
|
|
@@ -1664,7 +1666,7 @@ var Card = function Card(_ref) {
|
|
|
1664
1666
|
};
|
|
1665
1667
|
return /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1666
1668
|
className: "group space-y-2 pt-0.5",
|
|
1667
|
-
"data-
|
|
1669
|
+
"data-testid": active ? "active-theme-card" : "theme-card",
|
|
1668
1670
|
id: theme.id,
|
|
1669
1671
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1670
1672
|
className: classnames("neeto-themes-theme-thumbnail neeto-ui-rounded-lg relative cursor-pointer border transition-all duration-300 ease-in-out", {
|
|
@@ -1682,7 +1684,7 @@ var Card = function Card(_ref) {
|
|
|
1682
1684
|
className: "absolute start-0 top-0 z-10 flex h-full w-full items-center justify-center gap-1 p-3",
|
|
1683
1685
|
children: active ? /*#__PURE__*/jsxRuntime.jsx("span", {
|
|
1684
1686
|
className: "neeto-ui-btn neeto-themes-theme-thumbnail__active-label neeto-ui-btn--style-primary neeto-ui-btn--size-medium neeto-ui-rounded-full shrink-0 cursor-auto justify-center",
|
|
1685
|
-
"data-
|
|
1687
|
+
"data-testid": "active-theme-label",
|
|
1686
1688
|
children: t("neetoThemes.common.activeTheme")
|
|
1687
1689
|
}) : /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1688
1690
|
className: classnames({
|
|
@@ -1692,7 +1694,7 @@ var Card = function Card(_ref) {
|
|
|
1692
1694
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
1693
1695
|
className: "relative flex w-full flex-col gap-2",
|
|
1694
1696
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
1695
|
-
"data-
|
|
1697
|
+
"data-testid": "preview-theme-button",
|
|
1696
1698
|
disabled: isPreviewing,
|
|
1697
1699
|
label: t("neetoThemes.common.previewTheme"),
|
|
1698
1700
|
size: "medium",
|
|
@@ -1706,7 +1708,7 @@ var Card = function Card(_ref) {
|
|
|
1706
1708
|
}
|
|
1707
1709
|
}), /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
1708
1710
|
className: "neeto-themes-theme-thumbnail__apply-btn shrink-0 justify-center",
|
|
1709
|
-
"data-
|
|
1711
|
+
"data-testid": "apply-theme-button",
|
|
1710
1712
|
disabled: isApplyingTheme,
|
|
1711
1713
|
label: t("neetoThemes.common.useTheme"),
|
|
1712
1714
|
loading: isApplyingTheme,
|
|
@@ -1738,13 +1740,13 @@ var Card = function Card(_ref) {
|
|
|
1738
1740
|
className: "flex items-center space-x-2",
|
|
1739
1741
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1740
1742
|
className: "line-clamp-2 min-w-0 grow wrap-anywhere pt-1",
|
|
1741
|
-
"data-
|
|
1743
|
+
"data-testid": "theme-name",
|
|
1742
1744
|
lineHeight: "snug",
|
|
1743
1745
|
style: "body2",
|
|
1744
1746
|
children: name
|
|
1745
1747
|
}), isGlobalTheme && /*#__PURE__*/jsxRuntime.jsx(Rating, {
|
|
1746
1748
|
className: "neeto-themes-nano-global-theme-icon",
|
|
1747
|
-
"data-
|
|
1749
|
+
"data-testid": "global-theme-icon",
|
|
1748
1750
|
size: 18
|
|
1749
1751
|
})]
|
|
1750
1752
|
}), /*#__PURE__*/jsxRuntime.jsx(MoreDropdown, {
|
|
@@ -1759,18 +1761,18 @@ var Card = function Card(_ref) {
|
|
|
1759
1761
|
},
|
|
1760
1762
|
menuItems: [{
|
|
1761
1763
|
key: "edit",
|
|
1762
|
-
"data-
|
|
1764
|
+
"data-testid": "edit-theme-menu-item",
|
|
1763
1765
|
label: t("neetoThemes.common.edit"),
|
|
1764
1766
|
isVisible: neetoCist.isPresent(onEditTheme),
|
|
1765
1767
|
onClick: handleEditTheme
|
|
1766
1768
|
}, {
|
|
1767
1769
|
key: "clone",
|
|
1768
|
-
"data-
|
|
1770
|
+
"data-testid": "clone-theme-menu-item",
|
|
1769
1771
|
label: t("neetoThemes.build.leftSideBar.themes.themeOptions.clone"),
|
|
1770
1772
|
onClick: handleCloneTheme
|
|
1771
1773
|
}, {
|
|
1772
1774
|
key: "set-as-global-theme",
|
|
1773
|
-
"data-
|
|
1775
|
+
"data-testid": "set-as-global-theme-menu-item",
|
|
1774
1776
|
label: t("neetoThemes.build.leftSideBar.themes.themeOptions.setAsGlobalTheme.label"),
|
|
1775
1777
|
isVisible: !isGlobalTheme,
|
|
1776
1778
|
onClick: handleApplyGlobalTheme
|
|
@@ -1780,7 +1782,7 @@ var Card = function Card(_ref) {
|
|
|
1780
1782
|
isVisible: utils.isFunction(onDeleteTheme)
|
|
1781
1783
|
}, {
|
|
1782
1784
|
key: "delete",
|
|
1783
|
-
"data-
|
|
1785
|
+
"data-testid": "delete-theme-menu-item",
|
|
1784
1786
|
label: t("neetoThemes.build.leftSideBar.themes.themeOptions.delete"),
|
|
1785
1787
|
isDisabled: isApplyingTheme,
|
|
1786
1788
|
isVisible: utils.isFunction(onDeleteTheme),
|
|
@@ -1906,19 +1908,19 @@ var Themes = function Themes(_ref) {
|
|
|
1906
1908
|
placeholder: t("neetoThemes.common.searchThemes")
|
|
1907
1909
|
}), ramda.isEmpty(filteredThemes) && ramda.isEmpty(filteredDefaultThemes) && /*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1908
1910
|
className: "text-center",
|
|
1909
|
-
"data-
|
|
1911
|
+
"data-testid": "no-data-title",
|
|
1910
1912
|
style: "body2",
|
|
1911
1913
|
children: t("neetoThemes.common.noResultsFound")
|
|
1912
1914
|
}), neetoCist.isNotEmpty(filteredDefaultThemes) && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
1913
1915
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1914
1916
|
className: "my-4 px-6 uppercase lg:px-5 xl:px-6",
|
|
1915
|
-
"data-
|
|
1917
|
+
"data-testid": "system-themes-header",
|
|
1916
1918
|
style: "h6",
|
|
1917
1919
|
weight: "semibold",
|
|
1918
1920
|
children: t("neetoThemes.build.leftSideBar.themes.systemThemes")
|
|
1919
1921
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1920
1922
|
className: "flex flex-col gap-4 px-6 pb-10 lg:px-5 xl:px-6",
|
|
1921
|
-
"data-
|
|
1923
|
+
"data-testid": "system-themes",
|
|
1922
1924
|
children: filteredDefaultThemes.map(function (theme) {
|
|
1923
1925
|
return /*#__PURE__*/react.createElement(Card$1, {
|
|
1924
1926
|
onApplyTheme: onApplyTheme,
|
|
@@ -1940,13 +1942,13 @@ var Themes = function Themes(_ref) {
|
|
|
1940
1942
|
className: "mb-6 space-y-3",
|
|
1941
1943
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
1942
1944
|
className: "my-4 px-6 uppercase",
|
|
1943
|
-
"data-
|
|
1945
|
+
"data-testid": "custom-themes-header",
|
|
1944
1946
|
style: "h6",
|
|
1945
1947
|
weight: "semibold",
|
|
1946
1948
|
children: t("neetoThemes.build.leftSideBar.themes.customThemes")
|
|
1947
1949
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
1948
1950
|
className: "flex flex-col gap-4 px-6",
|
|
1949
|
-
"data-
|
|
1951
|
+
"data-testid": "custom-themes",
|
|
1950
1952
|
children: filteredThemes.map(function (theme) {
|
|
1951
1953
|
var isActive = (currentTheme === null || currentTheme === void 0 ? void 0 : currentTheme.id) === theme.id;
|
|
1952
1954
|
var isPreviewing = (previewingTheme === null || previewingTheme === void 0 ? void 0 : previewingTheme.id) === theme.id;
|
|
@@ -2003,7 +2005,7 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2003
2005
|
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
2004
2006
|
className: "flex items-center justify-start space-x-2",
|
|
2005
2007
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
2006
|
-
"data-
|
|
2008
|
+
"data-testid": "customize-themes-back-button",
|
|
2007
2009
|
icon: BackButtonIcon,
|
|
2008
2010
|
iconPosition: "left",
|
|
2009
2011
|
style: "text",
|
|
@@ -2015,7 +2017,7 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2015
2017
|
return handleBackPress(themeId);
|
|
2016
2018
|
}
|
|
2017
2019
|
}), /*#__PURE__*/jsxRuntime.jsxs(Typography, {
|
|
2018
|
-
"data-
|
|
2020
|
+
"data-testid": "themes-header",
|
|
2019
2021
|
lineHeight: "normal",
|
|
2020
2022
|
style: "h3",
|
|
2021
2023
|
weight: "semibold",
|
|
@@ -2031,7 +2033,7 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2031
2033
|
children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
2032
2034
|
className: "flex space-x-2",
|
|
2033
2035
|
children: [/*#__PURE__*/jsxRuntime.jsx(Typography, {
|
|
2034
|
-
"data-
|
|
2036
|
+
"data-testid": "themes-header",
|
|
2035
2037
|
lineHeight: "normal",
|
|
2036
2038
|
style: "h3",
|
|
2037
2039
|
weight: "semibold",
|
|
@@ -2048,7 +2050,7 @@ var TitleBar = function TitleBar(_ref) {
|
|
|
2048
2050
|
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
2049
2051
|
className: "self-end",
|
|
2050
2052
|
children: /*#__PURE__*/jsxRuntime.jsx(Button, {
|
|
2051
|
-
"data-
|
|
2053
|
+
"data-testid": "customize-themes-add-theme-button",
|
|
2052
2054
|
icon: Plus,
|
|
2053
2055
|
iconPosition: "left",
|
|
2054
2056
|
style: "text",
|