@prokodo/ui 0.1.9 → 0.1.10

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.
@@ -1,5 +1,6 @@
1
1
  import type { IconProps, IconName } from "../icon";
2
2
  import type { LinkProps } from "../link";
3
+ import type { ReactNode } from "react";
3
4
  export type SideNavItem = {
4
5
  active?: boolean;
5
6
  label: string;
@@ -17,6 +18,7 @@ export type SideNavProps = {
17
18
  iconProps?: Omit<IconProps, "name">;
18
19
  ariaLabel?: string;
19
20
  className?: string;
21
+ renderFooter?: () => ReactNode;
20
22
  onChange?: (e: SideNavItem) => void;
21
23
  };
22
24
  export type SideNavViewProps = SideNavProps & {
@@ -1,3 +1,3 @@
1
1
  import type { SideNavViewProps } from "./SideNav.model";
2
2
  import type { JSX } from "react";
3
- export default function SideNavView({ items, collapsed, collapsedLabel, collapsedIcon, unCollapsedLabel, unCollapsedIcon, iconProps, onToggle, interactive, ariaLabel, className, }: SideNavViewProps): JSX.Element;
3
+ export default function SideNavView({ items, collapsed, collapsedLabel, collapsedIcon, unCollapsedLabel, unCollapsedIcon, iconProps, onToggle, interactive, ariaLabel, className, renderFooter, }: SideNavViewProps): JSX.Element;
@@ -13,6 +13,7 @@ export type TableBodyCellProps = {
13
13
  id?: string;
14
14
  label?: string | ReactNode;
15
15
  icon?: IconProps;
16
+ className?: string;
16
17
  classNameInner?: string;
17
18
  };
18
19
  export type TableRowProps = {
@@ -24,6 +25,7 @@ export type TableData = {
24
25
  body?: TableRowProps[];
25
26
  };
26
27
  export type TableProps = TableHTMLAttributes<HTMLTableElement> & {
28
+ containerClassName?: string;
27
29
  content?: string | null;
28
30
  type?: TableType;
29
31
  caption: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prokodo/ui",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "description": "UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.",
6
6
  "sideEffects": [
@@ -349,7 +349,7 @@
349
349
  "jest-canvas-mock": "^2.5.2",
350
350
  "jest-css-modules": "^2.1.0",
351
351
  "jest-environment-jsdom": "^29.7.0",
352
- "next": "^16.0.7",
352
+ "next": "^16.0.10",
353
353
  "postcss": "^8.4.39",
354
354
  "postcss-flexbugs-fixes": "^5.0.2",
355
355
  "postcss-preset-env": "^10.0.2",