@sikka/hawa 0.1.96 → 0.1.97

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "description": "Modern UI Kit made with Tailwind & Radix Primitives",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -24,6 +24,7 @@ type TableTypes = {
24
24
  columns: ColTypes[]
25
25
  actions?: MenuItemType[]
26
26
  actionsWidth?: "default" | "sm" | "lg" | "parent"
27
+ actionsSize?: "default" | "sm"
27
28
  direction?: "rtl" | "ltr"
28
29
  rows?: RowTypes[][]
29
30
  handleActionClick?: any
@@ -111,7 +112,7 @@ export const HawaTable: FC<TableTypes> = ({
111
112
  }, [slice, page])
112
113
 
113
114
  return (
114
- <div className="relative flex flex-col gap-2 bg-background ">
115
+ <div className="relative flex flex-col gap-2 ">
115
116
  <div className={`overflow-x-auto rounded bg-${headerColor}`}>
116
117
  {props.headerTools && (
117
118
  <div className="flex flex-row items-center justify-between gap-2 border bg-background px-2 py-2">
@@ -267,6 +268,7 @@ export const HawaTable: FC<TableTypes> = ({
267
268
  <div className="flex items-center justify-center">
268
269
  <DropdownMenu
269
270
  width={props.actionsWidth}
271
+ size={props.actionsSize}
270
272
  direction={direction}
271
273
  side="right"
272
274
  items={props.actions}