@pantheon-systems/pds-toolkit-react 1.0.0-dev.203 → 1.0.0-dev.205

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.203",
4
+ "version": "1.0.0-dev.205",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,9 +0,0 @@
1
- export function Breadcrumbs({ ariaLabel, crumbs, ...props }: import("./BreadcrumbsContext").Crumb): React.JSX.Element;
2
- export namespace Breadcrumbs {
3
- namespace propTypes {
4
- let ariaLabel: PropTypes.Validator<string>;
5
- let crumbs: PropTypes.Requireable<any[]>;
6
- }
7
- }
8
- import React from 'react';
9
- import PropTypes from 'prop-types';
@@ -1,12 +0,0 @@
1
- export function BreadcrumbsContent({ ariaLabel, ...rest }: {
2
- [x: string]: any;
3
- ariaLabel: any;
4
- }): React.JSX.Element;
5
- export namespace BreadcrumbsContent {
6
- namespace propTypes {
7
- let ariaLabel: PropTypes.Validator<string>;
8
- let crumbs: PropTypes.Requireable<any[]>;
9
- }
10
- }
11
- import React from 'react';
12
- import PropTypes from 'prop-types';
@@ -1,17 +0,0 @@
1
- export default BreadcrumbsContext;
2
- export type Crumb = {
3
- uri: string;
4
- label: string;
5
- };
6
- export type BreadcrumbsContextType = {
7
- crumbs: Crumb[];
8
- deferredCrumbIds: string[];
9
- register: (...args, []) => void;
10
- unregister: (...args, []) => void;
11
- deferCrumb: (...args, []) => void;
12
- resolveCrumb: (...args, []) => void;
13
- };
14
- /**
15
- * @type {React.Context<BreadcrumbsContextType>} BreadcrumbsContext
16
- */
17
- declare const BreadcrumbsContext: React.Context<BreadcrumbsContextType>;
@@ -1,14 +0,0 @@
1
- export function ListItem({ crumb, lastCrumb, classes }: {
2
- crumb: any;
3
- lastCrumb: any;
4
- classes: any;
5
- }): React.JSX.Element;
6
- export namespace ListItem {
7
- namespace propTypes {
8
- let crumb: PropTypes.Requireable<object>;
9
- let lastCrumb: PropTypes.Requireable<boolean>;
10
- let classes: PropTypes.Requireable<string>;
11
- }
12
- }
13
- import React from 'react';
14
- import PropTypes from 'prop-types';
@@ -1,2 +0,0 @@
1
- export function MobileCrumbs(lastCrumb: any): React.JSX.Element;
2
- import React from 'react';
@@ -1 +0,0 @@
1
- .pds-breadcrumbs .pds-breadcrumbs__item{display:flex;list-style-type:none}.pds-breadcrumbs .pds-breadcrumbs__item a{text-decoration:none}.pds-breadcrumbs .pds-breadcrumbs__item a:hover{text-decoration:underline}.pds-breadcrumbs .pds-breadcrumbs__item li:not(:last-child):after{bottom:.0625rem;color:var(--pds-color-breadcrumb-separator);content:"/";font-size:.75rem;margin-inline:.8rem;position:relative}.pds-breadcrumbs .pds-breadcrumbs__item li:last-child a{text-decoration:none}.pds-breadcrumbs .pds-breadcrumbs__item li .pds-breadcrumbs__disabled{color:var(--pds-color-breadcrumb-text);cursor:default}.pds-breadcrumbs .pds-breadcrumbs__item li .pds-breadcrumbs__disabled:hover{color:var(--pds-color-breadcrumb-text);text-decoration:none}.pds-breadcrumbs .pds-breadcrumbs__item li .pds-breadcrumbs__disabled .pds-tooltip button{color:var(--pds-color-breadcrumb-text)}.pds-breadcrumbs .pds-breadcrumbs__item .pds-breadcrumbs__expand-button{background:none;border:none;cursor:pointer;display:inline-block;gap:.512rem;outline:inherit;padding:0}@media (max-width:640px){.pds-breadcrumbs .pds-breadcrumbs__item{display:none}}.pds-breadcrumbs .pds-breadcrumbs__hidden,.pds-breadcrumbs__mobileCrumbs{display:none}@media (max-width:640px){.pds-breadcrumbs__mobileCrumbs{align-items:center;display:flex}.pds-breadcrumbs__mobileCrumbs svg{margin-inline-end:.328rem}}