@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.
@@ -7317,12 +7317,13 @@ var SaveDesign = function SaveDesign() {
7317
7317
  }, React.createElement("span", {
7318
7318
  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 "
7319
7319
  }, toggleSaveDesign.title), React.createElement("div", null, React.createElement("div", {
7320
- className: "relative"
7321
- }, React.createElement("input", {
7320
+ className: ""
7321
+ }, React.createElement("label", {
7322
+ 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"
7323
+ }, "Design Name"), React.createElement("input", {
7322
7324
  type: "text",
7323
- id: "exampleFormControlInput2logo",
7324
- name: "designNamelogo",
7325
- 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",
7325
+ name: "designName",
7326
+ 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",
7326
7327
  placeholder: " ",
7327
7328
  value: designName,
7328
7329
  onChange: function onChange(e) {
@@ -7332,17 +7333,16 @@ var SaveDesign = function SaveDesign() {
7332
7333
  onClick: function onClick(e) {
7333
7334
  e.currentTarget.focus();
7334
7335
  }
7335
- }), React.createElement("label", {
7336
- htmlFor: "exampleFormControlInput2logo",
7337
- 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"
7338
- }, "Design Name")), designNameValidation === 'length' && React.createElement("div", {
7336
+ })), designNameValidation === 'length' && React.createElement("div", {
7339
7337
  role: "alert",
7340
7338
  className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-[1.25rem]"
7341
7339
  }, "* Please enter a name with at least 3 characters"), designNameValidation === 'specialCharacter' && React.createElement("div", {
7342
7340
  role: "alert",
7343
7341
  className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-[1.25rem]"
7344
- }, "* Design Name can not have any special characters"), React.createElement("div", {
7345
- className: "relative flex flex-row py-[0.695rem] border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR + " mb-5 flex-wrap place-content-start"
7342
+ }, "* Design Name can not have any special characters"), React.createElement("label", {
7343
+ 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"
7344
+ }, "Tags"), React.createElement("div", {
7345
+ className: " flex flex-row py-[0.695rem] border " + EDIT_DESIGN_INFO_INPUT_BORDER_COLOR + " mb-5 flex-wrap place-content-start"
7346
7346
  }, React.createElement("div", {
7347
7347
  className: "flex flex-row gap-[0.5rem] flex-wrap items-center px-[1rem]"
7348
7348
  }, Array.isArray(designTag) && (designTag == null ? void 0 : designTag.map(function (el, i) {
@@ -7360,19 +7360,15 @@ var SaveDesign = function SaveDesign() {
7360
7360
  name: "tags",
7361
7361
  type: "text",
7362
7362
  placeholder: " ",
7363
- className: "designTagsInputlogo " + EDIT_DESIGN_INFO_TEXT_COLOR_3 + " font-medium block w-[6.25rem] focus:outline-none",
7363
+ className: " " + EDIT_DESIGN_INFO_TEXT_COLOR_3 + " font-medium block w-[6.25rem] focus:outline-none",
7364
7364
  value: tagName,
7365
7365
  onChange: handleTagChange,
7366
7366
  onKeyDown: handleKeyDown,
7367
7367
  onBlur: handleKeyDown,
7368
- id: "exampleFormControlInput3logo",
7369
7368
  onClick: function onClick(e) {
7370
7369
  e.currentTarget.focus();
7371
7370
  }
7372
- }), React.createElement("label", {
7373
- htmlFor: "exampleFormControlInput3logo",
7374
- 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"
7375
- }, "Tags")))), !!commaInTagName && React.createElement("div", {
7371
+ })))), !!commaInTagName && React.createElement("div", {
7376
7372
  role: "alert",
7377
7373
  className: "text-sm " + INPUT_ERROR_TEXT_COLOR + " mb-5"
7378
7374
  }, "* Tag Name can not have any special characters"), React.createElement("div", {