@sikka/hawa 0.1.16 → 0.1.18

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/styles.css CHANGED
@@ -1220,6 +1220,9 @@ video {
1220
1220
  .w-7 {
1221
1221
  width: 1.75rem;
1222
1222
  }
1223
+ .w-72 {
1224
+ width: 18rem;
1225
+ }
1223
1226
  .w-8 {
1224
1227
  width: 2rem;
1225
1228
  }
@@ -2584,12 +2587,12 @@ video {
2584
2587
  .ring-buttonPrimary-500 {
2585
2588
  --tw-ring-color: hsl(var(--button-primary-500));
2586
2589
  }
2587
- .ring-primary {
2588
- --tw-ring-color: hsl(var(--primary));
2589
- }
2590
2590
  .ring-primary\/20 {
2591
2591
  --tw-ring-color: hsl(var(--primary) / 0.2);
2592
2592
  }
2593
+ .ring-primary\/30 {
2594
+ --tw-ring-color: hsl(var(--primary) / 0.3);
2595
+ }
2593
2596
  .ring-offset-1 {
2594
2597
  --tw-ring-offset-width: 1px;
2595
2598
  }
@@ -2957,6 +2960,9 @@ body {
2957
2960
  .hover\:bg-primary\/20:hover {
2958
2961
  background-color: hsl(var(--primary) / 0.2);
2959
2962
  }
2963
+ .hover\:bg-primary\/40:hover {
2964
+ background-color: hsl(var(--primary) / 0.4);
2965
+ }
2960
2966
  .hover\:bg-primary\/90:hover {
2961
2967
  background-color: hsl(var(--primary) / 0.9);
2962
2968
  }
@@ -3060,11 +3066,6 @@ body {
3060
3066
  outline: 2px solid transparent;
3061
3067
  outline-offset: 2px;
3062
3068
  }
3063
- .focus\:ring-0:focus {
3064
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
3065
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
3066
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
3067
- }
3068
3069
  .focus\:ring-2:focus {
3069
3070
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
3070
3071
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -1,8 +1,8 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: {
4
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
5
- size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon";
4
+ variant?: "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "link";
5
+ size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "smallIcon";
6
6
  } & import("class-variance-authority/dist/types").ClassProp) => string;
7
7
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
8
  asChild?: boolean;
@@ -1,23 +1,27 @@
1
1
  import * as React from "react";
2
2
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3
3
  type ExtendedDropdownMenuContentProps = Partial<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
4
+ type ExtendedDropdownMenuTriggerProps = Partial<React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
4
5
  type SubItem = {
5
6
  label: string;
6
7
  value: string;
8
+ action?: () => void;
7
9
  highlighted?: boolean;
8
10
  };
9
11
  type Item = {
10
12
  label: string;
11
13
  value: string;
14
+ action?: () => void;
12
15
  highlighted?: boolean;
13
16
  subitems?: SubItem[];
14
17
  };
15
- export declare const DropdownMenu: ({ trigger, items, direction, onItemSelect, sideOffset, side, className, align, alignOffset, }: {
18
+ export declare const DropdownMenu: ({ trigger, items, direction, onItemSelect, sideOffset, side, className, triggerClassname, align, alignOffset, }: {
16
19
  trigger?: any;
17
20
  items?: Item[];
18
21
  direction?: "rtl" | "ltr";
19
22
  onItemSelect?: any;
20
23
  className?: ExtendedDropdownMenuContentProps["className"];
24
+ triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
21
25
  sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
22
26
  side?: ExtendedDropdownMenuContentProps["side"];
23
27
  align?: ExtendedDropdownMenuContentProps["align"];
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ interface PopoverProps {
3
+ trigger: React.ReactNode;
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ align?: "start" | "center" | "end";
7
+ sideOffset?: number;
8
+ }
9
+ declare const Popover: React.FC<PopoverProps>;
10
+ export { Popover };
@@ -58,3 +58,4 @@ export * from "./Card";
58
58
  export * from "./Skeleton";
59
59
  export * from "./InterfaceSettings";
60
60
  export * from "./DropdownMenu";
61
+ export * from "./Popover";