@sikka/hawa 0.0.197 → 0.0.199

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.0.197",
3
+ "version": "0.0.199",
4
4
  "description": "SaaS Oriented UI Kit",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.es.js",
@@ -199,7 +199,7 @@ export const HawaMenu: React.FunctionComponent<TMenuTypes> = ({
199
199
  onClick={(e) => item.action(e, item.label)}
200
200
  className={clsx(
201
201
  item.isButton
202
- ? "mx-1 flex cursor-pointer flex-row items-center rounded bg-buttonPrimary-500 py-2 px-4 text-white hover:bg-buttonPrimary-700 rtl:flex-row-reverse dark:hover:bg-buttonPrimary-700 dark:hover:text-white"
202
+ ? "flex cursor-pointer flex-row items-center rounded bg-buttonPrimary-500 py-2 px-4 text-white hover:bg-buttonPrimary-700 rtl:flex-row-reverse dark:hover:bg-buttonPrimary-700 dark:hover:text-white"
203
203
  : " flex cursor-pointer flex-row items-center rounded hover:bg-gray-200 rtl:flex-row-reverse dark:hover:bg-gray-600 dark:hover:text-white",
204
204
  sizeStyles[size]
205
205
  )}
@@ -78,7 +78,9 @@ export const HawaTable: React.FunctionComponent<TableTypes> = ({
78
78
  </tr>
79
79
  </thead>
80
80
  <tbody
81
- // className={customColor ? `bg-${customColor}` : "bg-transparent"}
81
+ className={
82
+ customColor && props.rows ? `bg-${customColor}` : "bg-transparent"
83
+ }
82
84
  >
83
85
  {/* Table Rows */}
84
86
  {props.rows ? (
@@ -123,7 +123,7 @@ export const HawaTabs: React.FunctionComponent<TabsTypes> = ({
123
123
  ))}
124
124
  </ul>
125
125
 
126
- <div className="flex-1 bg-white transition-all">
126
+ <div className="flex-1 transition-all">
127
127
  {props.options.map((tab) => (
128
128
  <div
129
129
  key={tab.value}