@youversion/design-system-components 1.10.0 → 1.12.0

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/index.es.js +2978 -2455
  3. package/dist/index.umd.js +2 -2
  4. package/dist/src/DataTable/DataTable.d.ts +190 -0
  5. package/dist/src/DataTable/DataTable.d.ts.map +1 -0
  6. package/dist/src/DataTable/DataTable.stories.d.ts +707 -0
  7. package/dist/src/DataTable/DataTable.stories.d.ts.map +1 -0
  8. package/dist/src/DataTable/DataTableBody.d.ts +5 -0
  9. package/dist/src/DataTable/DataTableBody.d.ts.map +1 -0
  10. package/dist/src/DataTable/DataTableCell.d.ts +7 -0
  11. package/dist/src/DataTable/DataTableCell.d.ts.map +1 -0
  12. package/dist/src/DataTable/DataTableCellContent.d.ts +7 -0
  13. package/dist/src/DataTable/DataTableCellContent.d.ts.map +1 -0
  14. package/dist/src/DataTable/DataTableHead.d.ts +8 -0
  15. package/dist/src/DataTable/DataTableHead.d.ts.map +1 -0
  16. package/dist/src/DataTable/DataTableHeader.d.ts +5 -0
  17. package/dist/src/DataTable/DataTableHeader.d.ts.map +1 -0
  18. package/dist/src/DataTable/DataTableRow.d.ts +7 -0
  19. package/dist/src/DataTable/DataTableRow.d.ts.map +1 -0
  20. package/dist/src/DataTable/index.d.ts +8 -0
  21. package/dist/src/DataTable/index.d.ts.map +1 -0
  22. package/dist/src/DataTableContainer/DataTableContainer.d.ts +24 -0
  23. package/dist/src/DataTableContainer/DataTableContainer.d.ts.map +1 -0
  24. package/dist/src/DataTableContainer/DataTableContainer.stories.d.ts +43 -0
  25. package/dist/src/DataTableContainer/DataTableContainer.stories.d.ts.map +1 -0
  26. package/dist/src/DataTableContainer/index.d.ts +2 -0
  27. package/dist/src/DataTableContainer/index.d.ts.map +1 -0
  28. package/dist/src/Pagination/Pagination.d.ts +5 -1
  29. package/dist/src/Pagination/Pagination.d.ts.map +1 -1
  30. package/dist/src/SideNav/SideNav.d.ts +55 -7
  31. package/dist/src/SideNav/SideNav.d.ts.map +1 -1
  32. package/dist/src/SideNav/SideNav.stories.d.ts +1 -0
  33. package/dist/src/SideNav/SideNav.stories.d.ts.map +1 -1
  34. package/dist/src/SideNav/SideNavContent.d.ts +15 -0
  35. package/dist/src/SideNav/SideNavContent.d.ts.map +1 -0
  36. package/dist/src/SideNav/SideNavFooter.d.ts +14 -7
  37. package/dist/src/SideNav/SideNavFooter.d.ts.map +1 -1
  38. package/dist/src/SideNav/SideNavGroup.d.ts +15 -0
  39. package/dist/src/SideNav/SideNavGroup.d.ts.map +1 -0
  40. package/dist/src/SideNav/SideNavGroupDivider.d.ts +21 -0
  41. package/dist/src/SideNav/SideNavGroupDivider.d.ts.map +1 -0
  42. package/dist/src/SideNav/SideNavGroupLabel.d.ts +16 -0
  43. package/dist/src/SideNav/SideNavGroupLabel.d.ts.map +1 -0
  44. package/dist/src/SideNav/SideNavHeader.d.ts +14 -7
  45. package/dist/src/SideNav/SideNavHeader.d.ts.map +1 -1
  46. package/dist/src/SideNav/SideNavItem.d.ts +40 -12
  47. package/dist/src/SideNav/SideNavItem.d.ts.map +1 -1
  48. package/dist/src/SideNav/SideNavItemIcon.d.ts +32 -0
  49. package/dist/src/SideNav/SideNavItemIcon.d.ts.map +1 -0
  50. package/dist/src/SideNav/SideNavItems.d.ts +25 -7
  51. package/dist/src/SideNav/SideNavItems.d.ts.map +1 -1
  52. package/dist/src/SideNav/index.d.ts +3 -0
  53. package/dist/src/SideNav/index.d.ts.map +1 -1
  54. package/dist/src/index.d.ts +2 -0
  55. package/dist/src/index.d.ts.map +1 -1
  56. package/package.json +4 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTable.stories.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTable.stories.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAuB,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqJ9E,wBAS4B;AAkD5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGzC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAyB,CAAC;AAOtD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAG5C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGhD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGtD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGvD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGjD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAK5C,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAMpD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGjD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAMzD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AASvD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAGnD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC;AAShD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAoB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type DataTableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
3
+ export declare function DataTableBody({ children, className, ...props }: DataTableBodyProps): JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=DataTableBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableBody.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,kBAAkB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAElE,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,eAMlF"}
@@ -0,0 +1,7 @@
1
+ import { TdHTMLAttributes } from 'react';
2
+ type DataTableCellProps = TdHTMLAttributes<HTMLTableCellElement> & {
3
+ isColumnsBordered?: boolean;
4
+ };
5
+ export declare function DataTableCell({ children, className, isColumnsBordered, ...props }: DataTableCellProps): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DataTableCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableCell.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAIzC,KAAK,kBAAkB,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,GAAG;IACjE,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,eAerG"}
@@ -0,0 +1,7 @@
1
+ import { DataItem, DataTableColumn } from './DataTable';
2
+ export interface DataTableCellContentProps {
3
+ column: DataTableColumn;
4
+ dataItem: DataItem;
5
+ }
6
+ export declare function DataTableCellContent({ column, dataItem }: DataTableCellContentProps): JSX.Element | null;
7
+ //# sourceMappingURL=DataTableCellContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableCellContent.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableCellContent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAExD,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,yBAAyB,sBA2DnF"}
@@ -0,0 +1,8 @@
1
+ import { ThHTMLAttributes } from 'react';
2
+ type DataTableHeadProps = ThHTMLAttributes<HTMLTableCellElement> & {
3
+ isSortable?: boolean;
4
+ onClick?: () => void;
5
+ };
6
+ export declare function DataTableHead({ children, className, isSortable, onClick, ...props }: DataTableHeadProps): JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=DataTableHead.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableHead.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableHead.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAIzC,KAAK,kBAAkB,GAAG,gBAAgB,CAAC,oBAAoB,CAAC,GAAG;IACjE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,eAevG"}
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type DataTableHeaderProps = HTMLAttributes<HTMLTableSectionElement> & {};
3
+ export declare function DataTableHeader({ children, className, ...props }: DataTableHeaderProps): JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=DataTableHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableHeader.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,oBAAoB,GAAG,cAAc,CAAC,uBAAuB,CAAC,GAAG,EAAE,CAAC;AAEzE,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,eAMtF"}
@@ -0,0 +1,7 @@
1
+ import { HTMLAttributes } from 'react';
2
+ type DataTableRowProps = HTMLAttributes<HTMLTableRowElement> & {
3
+ isBordered?: boolean;
4
+ };
5
+ export declare function DataTableRow({ children, className, isBordered, ...props }: DataTableRowProps): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DataTableRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableRow.d.ts","sourceRoot":"","sources":["../../../src/DataTable/DataTableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,KAAK,iBAAiB,GAAG,cAAc,CAAC,mBAAmB,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAExF,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,eAc5F"}
@@ -0,0 +1,8 @@
1
+ export * from './DataTable';
2
+ export * from './DataTableBody';
3
+ export * from './DataTableCell';
4
+ export * from './DataTableCellContent';
5
+ export * from './DataTableHead';
6
+ export * from './DataTableHeader';
7
+ export * from './DataTableRow';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DataTable/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { HTMLAttributes, ReactElement } from 'react';
2
+ export type StandardHeaderData = {
3
+ customSelector?: ReactElement;
4
+ icon?: ReactElement;
5
+ title?: string;
6
+ };
7
+ export declare const DataTableContainer: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & {
8
+ /** ClassNames which can be used for styling container. */
9
+ containerClassNames?: string | undefined;
10
+ /** Element which will be rendered below the table. */
11
+ customFooter?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
12
+ /** Element which will be rendered above the table. */
13
+ customHeader?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
14
+ /** ClassNames which can be used for styling footer container. */
15
+ footerClassNames?: string | undefined;
16
+ /** ClassNames which can be used for styling header wrapper. */
17
+ headerClassNames?: string | undefined;
18
+ /** Adds the default header to the container with provided components.
19
+ *
20
+ * Will be ignored if the customHeader is provided.
21
+ */
22
+ standardHeaderData?: StandardHeaderData | undefined;
23
+ } & import("react").RefAttributes<HTMLTableElement>>;
24
+ //# sourceMappingURL=DataTableContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableContainer.d.ts","sourceRoot":"","sources":["../../../src/DataTableContainer/DataTableContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKjE,MAAM,MAAM,kBAAkB,GAAG;IAAE,cAAc,CAAC,EAAE,YAAY,CAAC;IAAC,IAAI,CAAC,EAAE,YAAY,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAoBxG,eAAO,MAAM,kBAAkB;IAjB7B,0DAA0D;;IAE1D,sDAAsD;;IAEtD,sDAAsD;;IAEtD,iEAAiE;;IAEjE,+DAA+D;;IAE/D;;;OAGG;;oDA6DJ,CAAC"}
@@ -0,0 +1,43 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
3
+ containerClassNames?: string | undefined;
4
+ customFooter?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
5
+ customHeader?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
6
+ footerClassNames?: string | undefined;
7
+ headerClassNames?: string | undefined;
8
+ standardHeaderData?: import("./DataTableContainer").StandardHeaderData | undefined;
9
+ } & import("react").RefAttributes<HTMLTableElement>>;
10
+ export default _default;
11
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
12
+ containerClassNames?: string | undefined;
13
+ customFooter?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
14
+ customHeader?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
15
+ footerClassNames?: string | undefined;
16
+ headerClassNames?: string | undefined;
17
+ standardHeaderData?: import("./DataTableContainer").StandardHeaderData | undefined;
18
+ } & import("react").RefAttributes<HTMLTableElement>>;
19
+ export declare const WithStandardHeader: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
20
+ containerClassNames?: string | undefined;
21
+ customFooter?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
22
+ customHeader?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
23
+ footerClassNames?: string | undefined;
24
+ headerClassNames?: string | undefined;
25
+ standardHeaderData?: import("./DataTableContainer").StandardHeaderData | undefined;
26
+ } & import("react").RefAttributes<HTMLTableElement>>;
27
+ export declare const WithCustomHeader: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
28
+ containerClassNames?: string | undefined;
29
+ customFooter?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
30
+ customHeader?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
31
+ footerClassNames?: string | undefined;
32
+ headerClassNames?: string | undefined;
33
+ standardHeaderData?: import("./DataTableContainer").StandardHeaderData | undefined;
34
+ } & import("react").RefAttributes<HTMLTableElement>>;
35
+ export declare const WithCustomFooter: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("react").HTMLAttributes<HTMLTableElement> & {
36
+ containerClassNames?: string | undefined;
37
+ customFooter?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
38
+ customHeader?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
39
+ footerClassNames?: string | undefined;
40
+ headerClassNames?: string | undefined;
41
+ standardHeaderData?: import("./DataTableContainer").StandardHeaderData | undefined;
42
+ } & import("react").RefAttributes<HTMLTableElement>>;
43
+ //# sourceMappingURL=DataTableContainer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTableContainer.stories.d.ts","sourceRoot":"","sources":["../../../src/DataTableContainer/DataTableContainer.stories.tsx"],"names":[],"mappings":";;;;;;;;;AASA,wBAIqC;AA8HrC,eAAO,MAAM,OAAO;;;;;;;oDAAoB,CAAC;AAGzC,eAAO,MAAM,kBAAkB;;;;;;;oDAAoB,CAAC;AAgBpD,eAAO,MAAM,gBAAgB;;;;;;;oDAAoB,CAAC;AAKlD,eAAO,MAAM,gBAAgB;;;;;;;oDAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './DataTableContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DataTableContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1,4 +1,6 @@
1
1
  export interface PaginationProps {
2
+ /** ClassNames for styling the base link. */
3
+ basePageClassNames?: string;
2
4
  /** The HTML element type to render the pagination buttons as. */
3
5
  component?: 'button' | 'a';
4
6
  /** The current selected page. */
@@ -19,6 +21,8 @@ export interface PaginationProps {
19
21
  pages: Array<number | string>;
20
22
  /** The label of the previous page. */
21
23
  previousLabel?: string;
24
+ /** ClassNames for styling the selected link. */
25
+ selectedPageClassNames?: string;
22
26
  }
23
- export declare const Pagination: ({ pages, currentPage, onClick, component, pageLabel, nextLabel, previousLabel, firstLabel, lastLabel, }: PaginationProps) => JSX.Element;
27
+ export declare const Pagination: ({ basePageClassNames, pages, currentPage, onClick, component, pageLabel, nextLabel, previousLabel, firstLabel, lastLabel, selectedPageClassNames, }: PaginationProps) => JSX.Element;
24
28
  //# sourceMappingURL=Pagination.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/Pagination/Pagination.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,eAAe;IAC9B,iEAAiE;IACjE,SAAS,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAC;IAC3B,iCAAiC;IACjC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qHAAqH;IACrH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC1C,qCAAqC;IACrC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,6BAA6B;IAC7B,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9B,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,4GAUpB,eAAe,gBA0GjB,CAAC"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/Pagination/Pagination.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,eAAe;IAC9B,4CAA4C;IAC5C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iEAAiE;IACjE,SAAS,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAC;IAC3B,iCAAiC;IACjC,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qHAAqH;IACrH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC1C,qCAAqC;IACrC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACrC,6BAA6B;IAC7B,KAAK,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9B,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gDAAgD;IAChD,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,eAAO,MAAM,UAAU,wJAYpB,eAAe,gBA4GjB,CAAC"}
@@ -1,10 +1,58 @@
1
- import { HTMLAttributes } from 'react';
2
- interface SideNavProps extends HTMLAttributes<HTMLDivElement> {
3
- /** Optional. May add styles around the wrapper div of this component. */
4
- className?: string;
5
- /** Optional. A number representing the width of the component. Use this prop to set the width of the component in 'px' */
6
- width?: number;
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNav, SideNavFooter, SideNavHeader, SideNavItem, SideNavItems } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNav>
10
+ * <SideNavHeader>Header</SideNavHeader>
11
+ * <SideNavContent>
12
+ * <SideNavGroup>
13
+ * <SideNavGroupLabel>Content</SideNavGroupLabel>
14
+ * <SideNavItems>
15
+ * <SideNavItem
16
+ * icon={{
17
+ * filled: <Chart />,
18
+ * outlined: <ChartStroked />,
19
+ * }}
20
+ * isActive={true}
21
+ * >
22
+ * Insights
23
+ * </SideNavItem>
24
+ * <SideNavItem
25
+ * icon={{
26
+ * filled: <Pin />,
27
+ * outlined: <PinStroked />,
28
+ }}
29
+ >
30
+ Your Content
31
+ </SideNavItem>
32
+ <SideNavItem icon={<PaperAirplaneStroked />}>Posts</SideNavItem>
33
+ <SideNavItem
34
+ icon={{
35
+ filled: <CheckmarkBoxStackFilled />,
36
+ outlined: <CheckmarkBoxStackStroked />,
37
+ }}
38
+ >
39
+ Plans Portal
40
+ </SideNavItem>
41
+ </SideNavItems>
42
+ </SideNavGroup>
43
+ </SideNavContent>
44
+ * <SideNavFooter>Footer</SideNavFooter>
45
+ * </SideNav>
46
+ * );
47
+ * }
48
+ * ```
49
+ */
50
+ interface SideNavVisibilityState {
51
+ close: () => void;
52
+ isOpen: boolean;
7
53
  }
8
- export declare const SideNav: import("react").ForwardRefExoticComponent<SideNavProps & import("react").RefAttributes<HTMLDivElement>>;
54
+ export declare const SideNav: import("react").ForwardRefExoticComponent<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
55
+ state: SideNavVisibilityState;
56
+ }, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
57
  export {};
10
58
  //# sourceMappingURL=SideNav.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,OAAO,CAAC;AAIjE,UAAU,YAAa,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3D,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0HAA0H;IAC1H,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgDD,eAAO,MAAM,OAAO,yGAA+B,CAAC"}
1
+ {"version":3,"file":"SideNav.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.tsx"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,UAAU,sBAAsB;IAC9B,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,OAAO;WAGT,sBAAsB;0DA0B/B,CAAC"}
@@ -1,5 +1,6 @@
1
1
  declare const meta: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
2
2
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
3
3
  export declare const WithDisabledItem: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
+ export declare const WithScrollableContent: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
4
5
  export default meta;
5
6
  //# sourceMappingURL=SideNav.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNav.stories.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.stories.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,IAAI,oIAGD,CAAC;AAmBV,eAAO,MAAM,OAAO,gIAAoB,CAAC;AAsBzC,eAAO,MAAM,gBAAgB,gIAAmC,CAAC;AAGjE,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SideNav.stories.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNav.stories.tsx"],"names":[],"mappings":"AA6BA,QAAA,MAAM,IAAI,oIAGD,CAAC;AAuIV,eAAO,MAAM,OAAO,gIAAoB,CAAC;AAwDzC,eAAO,MAAM,gBAAgB,gIAAmC,CAAC;AAyCjE,eAAO,MAAM,qBAAqB,gIAAwC,CAAC;AAG3E,eAAe,IAAI,CAAC"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavContent } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavContent>Content</SideNavContent>
10
+ * );
11
+ * }
12
+ * ```
13
+ */
14
+ export declare const SideNavContent: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=SideNavContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNavContent.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavContent.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,2MAW1B,CAAC"}
@@ -1,8 +1,15 @@
1
- import { HTMLAttributes } from 'react';
2
- interface SideNavFooterProps extends HTMLAttributes<HTMLDivElement> {
3
- /** Optional. May add styles around the wrapper div of this component. */
4
- className?: string;
5
- }
6
- export declare const SideNavFooter: import("react").ForwardRefExoticComponent<SideNavFooterProps & import("react").RefAttributes<HTMLDivElement>>;
7
- export {};
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavFooter } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavFooter>Footer</SideNavFooter>
10
+ * );
11
+ * }
12
+ * ```
13
+ */
14
+ export declare const SideNavFooter: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
15
  //# sourceMappingURL=SideNavFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavFooter.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,OAAO,CAAC;AAIjE,UAAU,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuBD,eAAO,MAAM,aAAa,+GAAqC,CAAC"}
1
+ {"version":3,"file":"SideNavFooter.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavFooter.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,aAAa,2MA0BxB,CAAC"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavGroup } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavGroup>Group Info</SideNavGroup>
10
+ * );
11
+ * }
12
+ * ```
13
+ */
14
+ export declare const SideNavGroup: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=SideNavGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNavGroup.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavGroup.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,2MAIvB,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @example
3
+ * ```tsx
4
+ * import { SideNavGroup, SideNavGroupDivider } from '@youversion/design-system-components';
5
+ *
6
+ * function ExampleComponent() {
7
+ * return (
8
+ * <SideNavContent>
9
+ * <SideNavGroup>Group 1</SideNavGroup>
10
+ * <SideNavGroupDivider />
11
+ * <SideNavGroup>Group 2</SideNavGroup>
12
+ * </SideNavContent>
13
+ * );
14
+ * }
15
+ * ```
16
+ */
17
+ export declare const SideNavGroupDivider: {
18
+ (): JSX.Element;
19
+ displayName: string;
20
+ };
21
+ //# sourceMappingURL=SideNavGroupDivider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNavGroupDivider.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavGroupDivider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,mBAAmB;;;CAE/B,CAAC"}
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { TypographyProps } from '../Typography/Typography';
3
+ /**
4
+ * @example
5
+ * ```tsx
6
+ * import { SideNavGroupLabel } from '@youversion/design-system-components';
7
+ *
8
+ * function ExampleComponent() {
9
+ * return (
10
+ * <SideNavGroupLabel>Label</SideNavGroupLabel>
11
+ * );
12
+ * }
13
+ * ```
14
+ */
15
+ export declare const SideNavGroupLabel: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<HTMLElement>>;
16
+ //# sourceMappingURL=SideNavGroupLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNavGroupLabel.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavGroupLabel.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iBAAiB,yGAU5B,CAAC"}
@@ -1,8 +1,15 @@
1
- import { HTMLAttributes } from 'react';
2
- interface SideNavHeaderProps extends HTMLAttributes<HTMLDivElement> {
3
- /** Optional. May add styles around the wrapper div of this component. */
4
- className?: string;
5
- }
6
- export declare const SideNavHeader: import("react").ForwardRefExoticComponent<SideNavHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
7
- export {};
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavHeader } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavHeader>Header</SideNavHeader>
10
+ * );
11
+ * }
12
+ * ```
13
+ */
14
+ export declare const SideNavHeader: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
15
  //# sourceMappingURL=SideNavHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavHeader.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,OAAO,CAAC;AAIjE,UAAU,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuBD,eAAO,MAAM,aAAa,+GAAqC,CAAC"}
1
+ {"version":3,"file":"SideNavHeader.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavHeader.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,2MAExB,CAAC"}
@@ -1,18 +1,46 @@
1
- import { ElementType, HTMLAttributes, ReactNode } from 'react';
2
- interface SideNavItemProps extends HTMLAttributes<HTMLDivElement> {
3
- /** Optional. Specifies whether the side navigation item is active or not. */
4
- active?: boolean;
1
+ import * as React from 'react';
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavItem } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavItem>
10
+ * Insights
11
+ * </SideNavItem>
12
+ * );
13
+ * }
14
+ * ```
15
+ *
16
+ * @example
17
+ * ```tsx
18
+ * import { Link } from 'next/link';
19
+ * import { SideNavItem } from '@youversion/design-system-components';
20
+ *
21
+ * function ExampleComponent() {
22
+ * return (
23
+ * <SideNavItem asChild={true}>
24
+ * <Link href='/'>Insights</Link>
25
+ * </SideNavItem>
26
+ * );
27
+ * }
28
+ * ```
29
+ */
30
+ interface SideNavItemProps {
31
+ /** Optional. Merges its style to its immediate child. */
32
+ asChild?: boolean;
33
+ children: React.ReactNode | Array<React.ReactNode>;
5
34
  /** Optional. May add styles around the wrapper div of this component. */
6
35
  className?: string;
7
- /** Optional. The component type or element type to be used for rendering the side navigation item. Defaults to 'a'.*/
8
- component?: ElementType;
36
+ /** Optional. Specifies whether the side navigation item is active or not. */
37
+ isActive?: boolean;
9
38
  /** Optional. Specifies whether the side navigation item is disabled or not. */
10
- disabled?: boolean;
11
- /** Optional. A string representing the URL or path to navigate to when the item is clicked. Use this prop if the side navigation item is a link. */
12
- href?: string;
13
- /** Optional. A React node representing an icon to be displayed before the side navigation item text. */
14
- icon?: ReactNode;
39
+ isDisabled?: boolean;
15
40
  }
16
- export declare const SideNavItem: import("react").ForwardRefExoticComponent<SideNavItemProps & import("react").RefAttributes<HTMLDivElement>>;
41
+ export declare const SideNavItem: {
42
+ ({ isActive, isDisabled, className, children, asChild, }: SideNavItemProps): JSX.Element;
43
+ displayName: string;
44
+ };
17
45
  export {};
18
46
  //# sourceMappingURL=SideNavItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavItem.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAA4B,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKzF,UAAU,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D,6EAA6E;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sHAAsH;IACtH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oJAAoJ;IACpJ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wGAAwG;IACxG,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AA0CD,eAAO,MAAM,WAAW,6GAAmC,CAAC"}
1
+ {"version":3,"file":"SideNavItem.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,UAAU,gBAAgB;IACxB,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IACnD,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,WAAW;8DAMrB,gBAAgB;;CAmBlB,CAAC"}
@@ -0,0 +1,32 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavItemIcon } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavItemIcon icon={<Calendar />} />
10
+ * );
11
+ * }
12
+ *
13
+ * function ExampleComponent() {
14
+ * return (
15
+ * <SideNavItemIcon icon={{filled: <Calendar />}, outlined: <CalendarStroked />}}} />
16
+ * );
17
+ * }
18
+ * ```
19
+ */
20
+ interface SideNavItemIconProps {
21
+ /** A React node representing an icon to be displayed before the side navigation item text. */
22
+ icon: React.ReactElement | {
23
+ filled: React.ReactElement;
24
+ outlined: React.ReactElement;
25
+ };
26
+ }
27
+ export declare const SideNavItemIcon: {
28
+ ({ icon }: SideNavItemIconProps): JSX.Element | null;
29
+ displayName: string;
30
+ };
31
+ export {};
32
+ //# sourceMappingURL=SideNavItemIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SideNavItemIcon.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;;;;;;;;;;;;;;GAiBG;AAEH,UAAU,oBAAoB;IAC5B,8FAA8F;IAC9F,IAAI,EAAE,KAAK,CAAC,YAAY,GAAG;QAAE,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC;QAAC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAA;KAAE,CAAC;CACzF;AAED,eAAO,MAAM,eAAe;eAAc,oBAAoB;;CAa7D,CAAC"}
@@ -1,8 +1,26 @@
1
- import { HTMLAttributes } from 'react';
2
- interface SideNavItemsProps extends HTMLAttributes<HTMLDivElement> {
3
- /** Optional. May add styles around the wrapper div of this component. */
4
- className?: string;
5
- }
6
- export declare const SideNavItems: import("react").ForwardRefExoticComponent<SideNavItemsProps & import("react").RefAttributes<HTMLDivElement>>;
7
- export {};
1
+ /// <reference types="react" />
2
+ /**
3
+ * @example
4
+ * ```tsx
5
+ * import { SideNavItem, SideNavItems } from '@youversion/design-system-components';
6
+ *
7
+ * function ExampleComponent() {
8
+ * return (
9
+ * <SideNavItems>
10
+ * <SideNavItem active={true} href='/insights'>
11
+ * Insights
12
+ * </SideNavItem>
13
+ * <SideNavItem href='/featured-plan'>Featured Plan</SideNavItem>
14
+ * <SideNavItem href='/posts'>Posts</SideNavItem>
15
+ * <SideNavItem disabled={true} href='/events'>
16
+ * Events
17
+ * </SideNavItem>
18
+ * <SideNavItem href='/church-profile'>Church Profile</SideNavItem>
19
+ * <SideNavItem href='/accounts'>Accounts</SideNavItem>
20
+ * </SideNavItems>
21
+ * );
22
+ * }
23
+ * ```
24
+ */
25
+ export declare const SideNavItems: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
8
26
  //# sourceMappingURL=SideNavItems.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideNavItems.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavItems.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,cAAc,EAAE,MAAM,OAAO,CAAC;AAIjE,UAAU,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkCD,eAAO,MAAM,YAAY,8GAAoC,CAAC"}
1
+ {"version":3,"file":"SideNavItems.d.ts","sourceRoot":"","sources":["../../../src/SideNav/SideNavItems.tsx"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,YAAY,iNAEvB,CAAC"}
@@ -1,5 +1,8 @@
1
1
  export * from './SideNav';
2
+ export * from './SideNavContent';
2
3
  export * from './SideNavFooter';
4
+ export * from './SideNavGroup';
5
+ export * from './SideNavGroupLabel';
3
6
  export * from './SideNavHeader';
4
7
  export * from './SideNavItem';
5
8
  export * from './SideNavItems';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SideNav/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/SideNav/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -5,6 +5,8 @@ export * from './Breadcrumb';
5
5
  export * from './Button';
6
6
  export * from './Checkbox';
7
7
  export * from './ColorSelect';
8
+ export * from './DataTable';
9
+ export * from './DataTableContainer';
8
10
  export * from './Dialog';
9
11
  export * from './Divider';
10
12
  export * from './Dropdown';