@bbki.ng/ui 0.1.13 → 0.1.15

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @bbki.ng/ui
2
2
 
3
+ ## 0.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 9b6dfe7: fix safaarea style
8
+
9
+ ## 0.1.14
10
+
11
+ ### Patch Changes
12
+
13
+ - 55e9ad2: add water mark
14
+
3
15
  ## 0.1.13
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/ui",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Design system component library for bbki.ng",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -5,7 +5,7 @@ import { Logo } from '../../atoms/logo';
5
5
  import { NavProps } from './Nav.types';
6
6
 
7
7
  export const Nav = (props: NavProps) => {
8
- const { paths, loading, mini, className, customLogo } = props;
8
+ const { paths, loading, mini, className, customLogo, style = {} } = props;
9
9
  const nav = useNavigate();
10
10
 
11
11
  if (mini) {
@@ -17,7 +17,7 @@ export const Nav = (props: NavProps) => {
17
17
  }
18
18
 
19
19
  return (
20
- <div className={twMerge('p-2 w-full flex items-center', className)}>
20
+ <div className={twMerge('p-2 w-full flex items-center', className)} style={style}>
21
21
  {customLogo || (
22
22
  <Logo className="mr-2 cursor-pointer hover:opacity-80" onClick={() => nav('/')} />
23
23
  )}
@@ -7,4 +7,5 @@ export interface NavProps {
7
7
  mini?: boolean;
8
8
  className?: string;
9
9
  customLogo?: ReactNode;
10
+ style?: React.CSSProperties;
10
11
  }