@bigbinary/neeto-custom-domains-frontend 3.1.16 → 3.1.18
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/CustomDomain.js +9 -11
- package/dist/CustomDomain.js.map +1 -1
- package/dist/cjs/CustomDomain.js +9 -11
- package/dist/cjs/CustomDomain.js.map +1 -1
- package/package.json +11 -11
package/dist/CustomDomain.js
CHANGED
|
@@ -188,7 +188,7 @@ var Domain = function Domain(_ref) {
|
|
|
188
188
|
var _customDomain$redirec;
|
|
189
189
|
return /*#__PURE__*/jsxs("div", {
|
|
190
190
|
className: "flex items-center gap-x-3 pb-6 last:pb-0",
|
|
191
|
-
"data-
|
|
191
|
+
"data-testid": "custom-domain-item",
|
|
192
192
|
children: [/*#__PURE__*/jsx("div", {
|
|
193
193
|
className: classNames("neeto-ui-rounded-lg flex items-center justify-center p-2", {
|
|
194
194
|
"neeto-ui-bg-success-100": (customDomain === null || customDomain === void 0 ? void 0 : customDomain.status) === "active",
|
|
@@ -225,8 +225,7 @@ var Domain = function Domain(_ref) {
|
|
|
225
225
|
})]
|
|
226
226
|
}), /*#__PURE__*/jsx(MoreDropdown, {
|
|
227
227
|
dropdownButtonProps: {
|
|
228
|
-
"data-testid": "
|
|
229
|
-
"data-cy": "custom-domains-more-dropdown-button",
|
|
228
|
+
"data-testid": "custom-domains-more-dropdown-button",
|
|
230
229
|
isRounded: true,
|
|
231
230
|
style: "tertiary",
|
|
232
231
|
size: "small"
|
|
@@ -242,14 +241,14 @@ var Domain = function Domain(_ref) {
|
|
|
242
241
|
return handleEditClick(customDomain);
|
|
243
242
|
},
|
|
244
243
|
key: "edit-custom-domain-button",
|
|
245
|
-
"data-
|
|
244
|
+
"data-testid": "edit-custom-domain-button"
|
|
246
245
|
}, {
|
|
247
246
|
label: t("neetoCustomDomains.actions.delete"),
|
|
248
247
|
onClick: function onClick() {
|
|
249
248
|
return handleDeleteClick(customDomain);
|
|
250
249
|
},
|
|
251
250
|
key: "delete-custom-domain",
|
|
252
|
-
"data-
|
|
251
|
+
"data-testid": "delete-custom-domain-button"
|
|
253
252
|
}]
|
|
254
253
|
})]
|
|
255
254
|
}), /*#__PURE__*/jsxs(Typography, {
|
|
@@ -434,7 +433,7 @@ var Strategy = withT(function (_ref) {
|
|
|
434
433
|
submitButtonProps: {
|
|
435
434
|
label: t("neetoCustomDomains.actions.continue"),
|
|
436
435
|
disabled: false,
|
|
437
|
-
"data-
|
|
436
|
+
"data-testid": "custom-domain-strategy-continue-button"
|
|
438
437
|
}
|
|
439
438
|
})
|
|
440
439
|
})]
|
|
@@ -548,7 +547,7 @@ var DomainField = function DomainField(_ref) {
|
|
|
548
547
|
children: [/*#__PURE__*/jsx(Input, {
|
|
549
548
|
required: true,
|
|
550
549
|
className: "w-full",
|
|
551
|
-
"data-
|
|
550
|
+
"data-testid": "custom-domain-input-field",
|
|
552
551
|
label: t("neetoCustomDomains.label"),
|
|
553
552
|
name: "hostname",
|
|
554
553
|
placeholder: t("neetoCustomDomains.placeholder", {
|
|
@@ -582,7 +581,6 @@ var DomainField = function DomainField(_ref) {
|
|
|
582
581
|
},
|
|
583
582
|
submitButtonProps: {
|
|
584
583
|
label: t("neetoCustomDomains.actions.continue"),
|
|
585
|
-
"data-cy": "submit-custom-domain-button",
|
|
586
584
|
"data-testid": "submit-custom-domain-button",
|
|
587
585
|
disabled: !dirty
|
|
588
586
|
}
|
|
@@ -1189,13 +1187,13 @@ var Validation = function Validation(_ref) {
|
|
|
1189
1187
|
children: /*#__PURE__*/jsxs("div", {
|
|
1190
1188
|
className: "flex items-center gap-2",
|
|
1191
1189
|
children: [/*#__PURE__*/jsx(Button, {
|
|
1192
|
-
"data-
|
|
1190
|
+
"data-testid": "validate-domain-button",
|
|
1193
1191
|
disabled: isValidating || isDomainValidated,
|
|
1194
1192
|
loading: isValidating,
|
|
1195
1193
|
label: t("neetoCustomDomains.validation.buttonLabel.iHaveAddedTheRecords"),
|
|
1196
1194
|
onClick: validateDomain
|
|
1197
1195
|
}), /*#__PURE__*/jsx(Button, {
|
|
1198
|
-
"data-
|
|
1196
|
+
"data-testid": "cancel-button",
|
|
1199
1197
|
label: t("neetoCustomDomains.actions.cancel"),
|
|
1200
1198
|
style: "text",
|
|
1201
1199
|
onClick: onClose
|
|
@@ -1317,7 +1315,7 @@ var Header = function Header(_ref) {
|
|
|
1317
1315
|
"data-testid": "custom-domain-header",
|
|
1318
1316
|
title: t("neetoCustomDomains.customDomain", SINGULAR),
|
|
1319
1317
|
actionBlock: /*#__PURE__*/jsx(Button, {
|
|
1320
|
-
"data-
|
|
1318
|
+
"data-testid": "add-new-custom-domain-button",
|
|
1321
1319
|
disabled: isCustomDomainAdded,
|
|
1322
1320
|
label: t("neetoCustomDomains.actions.add", {
|
|
1323
1321
|
what: t("neetoCustomDomains.customDomain", SINGULAR)
|