@pantheon-systems/pds-toolkit-react 1.0.0-dev.204 → 1.0.0-dev.206
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/_dist/components/Avatar/Avatar.d.ts +5 -1
- package/_dist/components/Icon/Icon.d.ts +1 -1
- package/_dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +23 -0
- package/_dist/css/component-css/pds-breadcrumb.css +1 -0
- package/_dist/css/component-css/pds-index.css +2 -2
- package/_dist/css/pds-components.css +2 -2
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +1 -1
- package/_dist/index.js +2257 -2298
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
- package/_dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -9
- package/_dist/components/Breadcrumbs/BreadcrumbsContent.d.ts +0 -12
- package/_dist/components/Breadcrumbs/BreadcrumbsContext.d.ts +0 -17
- package/_dist/components/Breadcrumbs/ListItem.d.ts +0 -14
- package/_dist/components/Breadcrumbs/MobileCrumbs.d.ts +0 -2
- package/_dist/css/component-css/pds-breadcrumbs.css +0 -1
package/package.json
CHANGED
|
@@ -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 +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}}
|