react-lib-tools 0.0.9 → 0.0.11

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.
@@ -5,6 +5,7 @@ import { CSSProperties } from 'react';
5
5
  import { HTMLAttributes } from 'react';
6
6
  import { InputHTMLAttributes } from 'react';
7
7
  import { JSX } from 'react/jsx-runtime';
8
+ import { KeyboardEvent as KeyboardEvent_2 } from 'react';
8
9
  import { LazyExoticComponent } from 'react';
9
10
  import { MouseEvent as MouseEvent_2 } from 'react';
10
11
  import { PropsWithChildren } from 'react';
@@ -41,6 +42,7 @@ export declare function Button({ children, className, disabled, intent, ...rest
41
42
  disabled?: boolean | undefined;
42
43
  intent?: Intent | undefined;
43
44
  onClick?: ((event: MouseEvent_2) => void) | undefined;
45
+ onKeyDown?: ((event: KeyboardEvent_2) => void) | undefined;
44
46
  }>): JSX.Element;
45
47
 
46
48
  export declare function Callout({ children, className, html, inline, intent, minimal, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement> & {
@@ -8737,7 +8737,7 @@ function Hm({
8737
8737
  children: e,
8738
8738
  className: t,
8739
8739
  disabled: n = !1,
8740
- intent: r = "none",
8740
+ intent: r = "primary",
8741
8741
  ...o
8742
8742
  }) {
8743
8743
  return /* @__PURE__ */ E(
@@ -8761,21 +8761,24 @@ function Hm({
8761
8761
  function jm(e, t) {
8762
8762
  switch (e) {
8763
8763
  case "danger":
8764
- return be("bg-red-400 text-red-800 focus:text-black", {
8765
- "hover:bg-red-500 hover:text-red-950 focus:text-black": !t
8764
+ return be("bg-red-400 text-red-950 focus:text-black", {
8765
+ "hover:bg-red-500 focus:text-black": !t
8766
8766
  });
8767
8767
  case "none":
8768
- return be("bg-emerald-400 text-emerald-800 focus:text-black", {
8769
- "hover:bg-emerald-500 hover:text-emerald-950 focus:text-black": !t
8768
+ return be("bg-white/20 text-slate-300 focus:text-white", {
8769
+ "hover:bg-white/10 focus:text-white": !t
8770
8770
  });
8771
8771
  case "success":
8772
+ return be("bg-emerald-400 text-emerald-950 focus:text-black", {
8773
+ "hover:bg-emerald-500 focus:text-black": !t
8774
+ });
8772
8775
  case "primary":
8773
- return be("bg-sky-400 text-sky-800 focus:text-black", {
8774
- "hover:bg-sky-500 hover:text-sky-950 focus:text-black": !t
8776
+ return be("bg-sky-400 text-sky-950 focus:text-black", {
8777
+ "hover:bg-sky-500 focus:text-black": !t
8775
8778
  });
8776
8779
  case "warning":
8777
- return be("bg-amber-400 text-amber-800 focus:text-black", {
8778
- "hover:bg-amber-500 hover:text-amber-950 focus:text-black": !t
8780
+ return be("bg-amber-400 text-amber-950 focus:text-black", {
8781
+ "hover:bg-amber-500 focus:text-black": !t
8779
8782
  });
8780
8783
  }
8781
8784
  }
@@ -8882,7 +8885,7 @@ function sh({
8882
8885
  br,
8883
8886
  {
8884
8887
  children: r,
8885
- className: "text-xl text-white! text-shadow-black/50 text-shadow-sm font-bold cursor-pointer truncate",
8888
+ className: "text-xl text-white! text-shadow-black/80 text-shadow-xs font-bold cursor-pointer truncate",
8886
8889
  to: "/"
8887
8890
  }
8888
8891
  ),