@pantheon-systems/pds-toolkit-react 1.0.0-dev.163 → 1.0.0-dev.165

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "1.0.0-dev.163",
4
+ "version": "1.0.0-dev.165",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,42 +0,0 @@
1
- import React, { ComponentPropsWithoutRef } from 'react';
2
- import { NavigationItem } from '@components/navigation/navigation-types';
3
- import { PDSIcon } from '@components/Icon/Icon';
4
- import './dashboard-nav.css';
5
- export type DashboardNavItem = NavigationItem & {
6
- /**
7
- * Icon to display next to the link content.
8
- */
9
- icon?: PDSIcon;
10
- };
11
- /**
12
- * Prop types for DashboardNav
13
- */
14
- export interface DashboardNavProps extends ComponentPropsWithoutRef<'nav'> {
15
- /**
16
- * Aria label for the navigation.
17
- */
18
- ariaLabel: string;
19
- /**
20
- * Labels for translatable strings.
21
- */
22
- labels?: {
23
- submenu: string;
24
- toggle: string;
25
- };
26
- /**
27
- * Menu items to render.
28
- */
29
- menuItems: DashboardNavItem[];
30
- /**
31
- * Text to display in the mobile menu trigger button when no active link is found.
32
- */
33
- mobileMenuSelectTextFallback?: string;
34
- /**
35
- * Additional class names
36
- */
37
- className?: string;
38
- }
39
- /**
40
- * DashboardNav UI component
41
- */
42
- export declare const DashboardNav: ({ ariaLabel, labels, menuItems, mobileMenuSelectTextFallback, className, ...props }: DashboardNavProps) => React.JSX.Element;