@threedddplus/logoeditor 0.0.11 → 0.0.12
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/logoeditor.cjs.development.js +13 -17
- package/dist/logoeditor.cjs.development.js.map +1 -1
- package/dist/logoeditor.cjs.production.min.js +1 -1
- package/dist/logoeditor.cjs.production.min.js.map +1 -1
- package/dist/logoeditor.esm.js +13 -17
- package/dist/logoeditor.esm.js.map +1 -1
- package/package.json +1 -1
@@ -7324,12 +7324,13 @@ var SaveDesign = function SaveDesign() {
|
|
7324
7324
|
}, React__default.createElement("span", {
|
7325
7325
|
className: "block mb-6 font-bold text-2xl lh-1 " + SECONDARY_COLOR + " uppercase leading-[2.3125rem] font-bold " + EDIT_DESIGN_INFO_TEXT_COLOR_1 + " " + TEXT_SIZE_5 + "\n "
|
7326
7326
|
}, toggleSaveDesign.title), React__default.createElement("div", null, React__default.createElement("div", {
|
7327
|
-
className: "
|
7328
|
-
}, React__default.createElement("
|
7327
|
+
className: ""
|
7328
|
+
}, React__default.createElement("label", {
|
7329
|
+
className: " px-[0.125rem] left-4 transition-all " + TEXT_SIZE_9 + " " + EDIT_DESIGN_INFO_TEXT_COLOR_2 + " top-1/2 transform -translate-y-1/2"
|
7330
|
+
}, "Design Name"), React__default.createElement("input", {
|
7329
7331
|
type: "text",
|
7330
|
-
|
7331
|
-
|
7332
|
-
className: (designNameValidation === 'length' ? 'mb-[1rem]' : 'mb-[1.25rem]') + " " + (designNameValidation === 'length' ? "border " + INPUT_ERROR_BORDER_COLOR : "border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR) + " designNameInputlogo bg-white w-full h-[3rem] rounded-none focus:outline-none border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR + " " + TEXT_SIZE_9 + " py-[0.8125rem] px-4 block leading-[1.25rem] " + EDIT_DESIGN_INFO_TEXT_COLOR_3 + " font-medium",
|
7332
|
+
name: "designName",
|
7333
|
+
className: (designNameValidation === 'length' ? 'mb-[1rem]' : 'mb-[1.25rem]') + " " + (designNameValidation === 'length' ? "border " + INPUT_ERROR_BORDER_COLOR : "border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR) + " bg-white w-full h-[3rem] rounded-none focus:outline-none border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR + " " + TEXT_SIZE_9 + " py-[0.8125rem] px-4 block leading-[1.25rem] " + EDIT_DESIGN_INFO_TEXT_COLOR_3 + " font-medium",
|
7333
7334
|
placeholder: " ",
|
7334
7335
|
value: designName,
|
7335
7336
|
onChange: function onChange(e) {
|
@@ -7339,17 +7340,16 @@ var SaveDesign = function SaveDesign() {
|
|
7339
7340
|
onClick: function onClick(e) {
|
7340
7341
|
e.currentTarget.focus();
|
7341
7342
|
}
|
7342
|
-
}), React__default.createElement("
|
7343
|
-
htmlFor: "exampleFormControlInput2logo",
|
7344
|
-
className: "designNameLabellogo px-[0.125rem] absolute left-4 transition-all " + TEXT_SIZE_9 + " " + EDIT_DESIGN_INFO_TEXT_COLOR_2 + " top-1/2 transform -translate-y-1/2"
|
7345
|
-
}, "Design Name")), designNameValidation === 'length' && React__default.createElement("div", {
|
7343
|
+
})), designNameValidation === 'length' && React__default.createElement("div", {
|
7346
7344
|
role: "alert",
|
7347
7345
|
className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-[1.25rem]"
|
7348
7346
|
}, "* Please enter a name with at least 3 characters"), designNameValidation === 'specialCharacter' && React__default.createElement("div", {
|
7349
7347
|
role: "alert",
|
7350
7348
|
className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-[1.25rem]"
|
7351
|
-
}, "* Design Name can not have any special characters"), React__default.createElement("
|
7352
|
-
className: "
|
7349
|
+
}, "* Design Name can not have any special characters"), React__default.createElement("label", {
|
7350
|
+
className: "py-[0.695rem] " + ((designTag == null ? void 0 : designTag.length) > 0 ? 'tagClass' : '') + " px-[0.125rem] " + TEXT_SIZE_9 + " " + EDIT_DESIGN_INFO_TEXT_COLOR_2 + " font-medium leading-[1.25rem] transition-all top-1/2 transform -translate-y-1/2"
|
7351
|
+
}, "Tags"), React__default.createElement("div", {
|
7352
|
+
className: " flex flex-row py-[0.695rem] border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR + " mb-5 flex-wrap place-content-start"
|
7353
7353
|
}, React__default.createElement("div", {
|
7354
7354
|
className: "flex flex-row gap-[0.5rem] flex-wrap items-center px-[1rem]"
|
7355
7355
|
}, Array.isArray(designTag) && (designTag == null ? void 0 : designTag.map(function (el, i) {
|
@@ -7367,19 +7367,15 @@ var SaveDesign = function SaveDesign() {
|
|
7367
7367
|
name: "tags",
|
7368
7368
|
type: "text",
|
7369
7369
|
placeholder: " ",
|
7370
|
-
className: "
|
7370
|
+
className: " " + EDIT_DESIGN_INFO_TEXT_COLOR_3 + " font-medium block w-[6.25rem] focus:outline-none",
|
7371
7371
|
value: tagName,
|
7372
7372
|
onChange: handleTagChange,
|
7373
7373
|
onKeyDown: handleKeyDown,
|
7374
7374
|
onBlur: handleKeyDown,
|
7375
|
-
id: "exampleFormControlInput3logo",
|
7376
7375
|
onClick: function onClick(e) {
|
7377
7376
|
e.currentTarget.focus();
|
7378
7377
|
}
|
7379
|
-
}), React__default.createElement("
|
7380
|
-
htmlFor: "exampleFormControlInput3logo",
|
7381
|
-
className: "py-[0.695rem] " + ((designTag == null ? void 0 : designTag.length) > 0 ? 'tagClasslogo' : '') + " designTagsLabellogo px-[0.125rem] " + TEXT_SIZE_9 + " " + EDIT_DESIGN_INFO_TEXT_COLOR_2 + " font-medium leading-[1.25rem] absolute transition-all top-1/2 transform -translate-y-1/2"
|
7382
|
-
}, "Tags")))), !!commaInTagName && React__default.createElement("div", {
|
7378
|
+
})))), !!commaInTagName && React__default.createElement("div", {
|
7383
7379
|
role: "alert",
|
7384
7380
|
className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-5"
|
7385
7381
|
}, "* Tag Name can not have any special characters"), React__default.createElement("div", {
|