nexaas-ui-components 1.0.69 → 1.0.70

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.cjs CHANGED
@@ -243,7 +243,7 @@ var Button = ({
243
243
  ${appliedSize.text}
244
244
  ${appliedPadding}
245
245
  ${gapText}
246
- whitespace-nowrap group rounded-lg font-bold disabled:shadow-none active:shadow-none flex items-center disabled:pointer-events-none
246
+ whitespace-nowrap group rounded-lg font-bold disabled:shadow-none active:shadow-none flex items-center disabled:pointer-events-none focus-visible:outline-none focus-visible:ring-[1.5px] focus-visible:ring-blue-500 focus-visible:ring-offset-[2px] focus-visible:rounded-[2px]
247
247
  `,
248
248
  children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
249
249
  props.icon && /* @__PURE__ */ jsxRuntime.jsx(
@@ -494,7 +494,7 @@ var Input = ({
494
494
  const hasError = fieldValidationMessages.some((item) => item !== void 0);
495
495
  const [showPassword, setShowPassword] = React5__namespace.default.useState(false);
496
496
  const styles = {
497
- input: `text-p-md pl-2 peer text-paragraph bg-surface shadow-input border border-[0.5px] rounded-lg outline-none block pb-[10px] h-[46px] w-full disabled:bg-neutral-100 focus-visible:border-1 focus-visible:border-blue-500 ${label ? "pt-[22px]" : "pt-[10px]"}
497
+ input: `text-p-md pl-2 peer text-paragraph bg-surface shadow-input border border-[0.5px] rounded-lg outline-none block pb-[10px] h-[46px] w-full disabled:bg-neutral-100 focus-visible:ring-[1.5px] focus-visible:ring-blue-500 focus-visible:ring-offset-[2px] focus-visible:rounded-[2px] ${label ? "pt-[22px]" : "pt-[10px]"}
498
498
  ${!hasError ? "border-neutral-300" : ""}`,
499
499
  icon: `absolute bg-neutral-100 h-[44px] top-[1px] left-[1.5px] w-[38px] rounded-l-lg text-[20px] ${hasError ? "text-dangerous-500" : "text-label peer-focus:text-blue-500"} peer-focus:border-blue-500`,
500
500
  rightIcon: "absolute h-[44px] top-[1px] right-[1.5px] w-[38px] text-[22px]",
@@ -2804,9 +2804,9 @@ var customStyles = {
2804
2804
  ...provided,
2805
2805
  cursor: "pointer",
2806
2806
  border: state.selectProps.hasError ? "1px solid var(--dangerous-700)" : state.menuIsOpen ? "1px solid var(--blue-700)" : "1px solid var(--neutral-300)",
2807
- boxShadow: "none",
2807
+ boxShadow: state.isFocused ? "0 0 0 2px var(--surface), 0 0 0 3.5px var(--blue-500)" : "none",
2808
2808
  outline: "none",
2809
- borderRadius: "0.5rem",
2809
+ borderRadius: state.isFocused ? "2px" : "0.5rem",
2810
2810
  placeholder: " ",
2811
2811
  height: state.selectProps.smallField ? "30px" : "46px",
2812
2812
  backgroundColor: state.isDisabled ? "var(--light-100)" : "var(--surface)",
@@ -6801,7 +6801,7 @@ var TextArea = ({
6801
6801
  const fieldValidationMessages = [error == null ? void 0 : error.message];
6802
6802
  const hasError = fieldValidationMessages.some((item) => item !== void 0);
6803
6803
  const styles = {
6804
- input: `border border-neutral-800 rounded-lg block pb-[10px] pt-[18px] w-full bg-surface disabled:bg-neutral-100 focus-visible:border-blue-500 focus-visible:border-1 text-p-md peer shadow-input pl-2 outline-none ${hasError ? "border-dangerous-500 text-dangerous-500" : "border-neutral-300 text-paragraph"}`,
6804
+ input: `border border-neutral-800 rounded-lg block pb-[10px] pt-[18px] w-full bg-surface disabled:bg-neutral-100 focus-visible:ring-[1.5px] focus-visible:ring-blue-500 focus-visible:ring-offset-[2px] focus-visible:rounded-[2px] text-p-md peer shadow-input pl-2 outline-none ${hasError ? "border-dangerous-500 text-dangerous-500" : "border-neutral-300 text-paragraph"}`,
6805
6805
  label: `cursor-text absolute text-label top-[0.70rem] z-10 transform origin-[0] -translate-y-3 scale-75 duration-300 text-sm peer-focus:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-3 left-2.5`
6806
6806
  };
6807
6807
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [