@youngonesworks/ui 0.1.112 → 0.1.115

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.js CHANGED
@@ -644,7 +644,7 @@ const TextInput = React.forwardRef(({ rightSection, leftSection, className, erro
644
644
  disabled,
645
645
  step,
646
646
  maxLength,
647
- className: clsx(`${loadingState ? "cursor-not-allowed" : ""}`, `${disabled ? "text-gray-500" : "text-gray-900"} selection:bg-turquoise-200 focus:border-turquoise-500 focus:ring-turquoise-500 active:border-turquoise-500 active:ring-turquoise-500 h-10 w-full rounded-[4px] border border-gray-200 bg-gray-50 px-3 text-sm font-normal outline-hidden ${rightSection && "pr-12"} ${leftSection && "pl-12"} ${error && "border-red-500 text-red-500 selection:bg-red-200 focus:border-red-500 focus:ring-red-500 focus:placeholder:text-red-500 active:border-red-500 active:ring-red-500"}`, className),
647
+ className: clsx(`${loadingState ? "cursor-not-allowed" : ""}`, `${disabled ? "text-gray-500" : "text-gray-900"} selection:bg-turquoise-200 focus:border-turquoise-500 focus:ring-turquoise-500 active:border-turquoise-500 active:ring-turquoise-500 h-10 w-full rounded-[4px] border border-gray-200 bg-ultra-light-gray px-3 text-sm font-normal outline-hidden ${rightSection && "pr-12"} ${leftSection && "pl-12"} ${error && "border-red-500 text-red-500 selection:bg-red-200 focus:border-red-500 focus:ring-red-500 focus:placeholder:text-red-500 active:border-red-500 active:ring-red-500"}`, className),
648
648
  "aria-busy": loadingState || undefined,
649
649
  "data-lpignore": enablePasswordManagerAutofill ? undefined : "true",
650
650
  "data-1p-ignore": enablePasswordManagerAutofill ? undefined : "true",
@@ -2793,7 +2793,7 @@ const TableHeaderItem = ({ children, smallPadding, className,...props }) => /* @
2793
2793
  const TableHeaderRow = ({ children,...props }) => /* @__PURE__ */ jsx("div", {
2794
2794
  "data-testid": "tableHeaderRow",
2795
2795
  "data-component": "tableHeaderRow",
2796
- className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-300",
2796
+ className: "table-row xl:border-0 xl:border-b xl:border-solid xl:border-gray-200",
2797
2797
  ...props,
2798
2798
  children
2799
2799
  });
@@ -2897,7 +2897,7 @@ const TabContent = forwardRef(({ tab, setActiveTab, activeTab }, ref) => /* @__P
2897
2897
  tabContent: tab.name,
2898
2898
  rightSection: tab?.rightSection || undefined,
2899
2899
  clickFnc: () => {
2900
- tab.clickFnc(tab.value);
2900
+ tab.clickFnc && tab.clickFnc(tab.value);
2901
2901
  setActiveTab(tab.value);
2902
2902
  }
2903
2903
  }));
@@ -3245,7 +3245,7 @@ const WysiwygEditor = forwardRef(({ id, content, className, placeholder, onChang
3245
3245
  immediatelyRender: false,
3246
3246
  editable: !readOnly,
3247
3247
  onUpdate({ editor: editor$1 }) {
3248
- onChange && onChange(editor$1.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi, "<li>$1<$2$3>"));
3248
+ onChange && onChange(editor$1.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi, "<li>$1<$2$3>").replaceAll("<p></p>", ""));
3249
3249
  }
3250
3250
  });
3251
3251
  useEffect(() => {