@pantheon-systems/pds-toolkit-react 2.0.0-alpha.29 → 2.0.0-alpha.30
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/TableOfContents/TableOfContents.d.ts +1 -5
- package/dist/components/{FlowSteps/FlowSteps.d.ts → steppers/StepList/StepList.d.ts} +7 -7
- package/dist/css/component-css/pds-index.css +4 -4
- package/dist/css/component-css/pds-step-list.css +1 -0
- package/dist/css/component-css/pds-table-of-contents.css +1 -1
- package/dist/css/component-css/pds-toaster.css +1 -1
- package/dist/css/pds-components.css +4 -4
- package/dist/css/pds-core.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4211 -4033
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +1 -2
- package/dist/libs/components/utils.d.ts +0 -1
- package/package.json +1 -1
- package/dist/components/DashboardStat/DashboardStat.d.ts +0 -28
- package/dist/css/component-css/pds-dashboard-stat.css +0 -1
- package/dist/css/component-css/pds-flow-steps.css +0 -1
- /package/dist/components/{FlowSteps → steppers/StepList}/example-steps.d.ts +0 -0
package/dist/index.source.d.ts
CHANGED
|
@@ -28,13 +28,11 @@ export * from './components/charts/LineChart/LineChart';
|
|
|
28
28
|
export * from './components/charts/shared/types';
|
|
29
29
|
export * from './components/CodeBlock/CodeBlock';
|
|
30
30
|
export * from './components/ComparisonList/ComparisonList';
|
|
31
|
-
export * from './components/DashboardStat/DashboardStat';
|
|
32
31
|
export * from './components/Dropdown/Dropdown';
|
|
33
32
|
export * from './components/empty-states/CompactEmptyState/CompactEmptyState';
|
|
34
33
|
export * from './components/empty-states/HorizontalEmptyState/HorizontalEmptyState';
|
|
35
34
|
export * from './components/empty-states/VerticalEmptyState/VerticalEmptyState';
|
|
36
35
|
export * from './components/FileDiff/FileDiff';
|
|
37
|
-
export * from './components/FlowSteps/FlowSteps';
|
|
38
36
|
export * from './components/icons/Icon/Icon';
|
|
39
37
|
export * from './components/icons/PaymentIcon/PaymentIcon';
|
|
40
38
|
export * from './components/icons/PlatformIcon/PlatformIcon';
|
|
@@ -104,6 +102,7 @@ export * from './components/SortableList/SortableRow';
|
|
|
104
102
|
export * from './components/SortableList/types';
|
|
105
103
|
export * from './components/StatusChecker/StatusChecker';
|
|
106
104
|
export * from './components/StatusIndicator/StatusIndicator';
|
|
105
|
+
export * from './components/steppers/StepList/StepList';
|
|
107
106
|
export * from './components/steppers/Stepper/Stepper';
|
|
108
107
|
export * from './components/steppers/VerticalStepper/VerticalStepper';
|
|
109
108
|
export * from './components/Table/Table';
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import './dashboard-stat.css';
|
|
3
|
-
export type DashboardStatStatus = 'success' | 'warning' | 'launch' | 'error' | 'ready' | 'notReady';
|
|
4
|
-
/**
|
|
5
|
-
* Prop types for DashboardStat
|
|
6
|
-
*/
|
|
7
|
-
export interface DashboardStatProps extends ComponentPropsWithoutRef<'div'> {
|
|
8
|
-
/**
|
|
9
|
-
* Additional class names.
|
|
10
|
-
*/
|
|
11
|
-
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Value of the stat, displayed next to the status icon.
|
|
14
|
-
*/
|
|
15
|
-
stat?: string | number;
|
|
16
|
-
/**
|
|
17
|
-
* Status of the stat, which determines the icon and icon color.
|
|
18
|
-
*/
|
|
19
|
-
status?: DashboardStatStatus;
|
|
20
|
-
/**
|
|
21
|
-
* Title of the stat, displayed as the main heading of the component.
|
|
22
|
-
*/
|
|
23
|
-
title?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* DashboardStat UI component
|
|
27
|
-
*/
|
|
28
|
-
export declare const DashboardStat: ({ className, stat, status, title, ...props }: DashboardStatProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-dashboard-stat{background-color:var(--pds-color-bg-default-secondary);border-radius:var(--pds-border-radius-container);display:inline-flex;flex-direction:column;gap:var(--pds-spacing-s);min-width:10rem;padding:var(--pds-spacing-s)}@media (max-width:767px){.pds-dashboard-stat{width:100%}}.pds-dashboard-stat .pds-dashboard-stat__title{color:var(--pds-color-fg-default-secondary);font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-semibold);text-transform:uppercase}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper{align-items:center;display:grid;gap:var(--pds-spacing-2xs);grid-template-columns:16px 1fr}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--ready,.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--success{color:var(--pds-color-status-success-foreground)}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--launch{color:var(--pds-color-status-info-foreground)}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--warning{color:var(--pds-color-status-warning-foreground)}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--error,.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-status.pds-dashboard-stat__stat-status--notReady{color:var(--pds-color-status-critical-foreground)}.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-value{color:var(--pds-color-fg-default);font-size:var(--pds-typography-size-xl);font-weight:var(--pds-typography-fw-semibold)}@media (max-width:767px){.pds-dashboard-stat .pds-dashboard-stat__stat-wrapper .pds-dashboard-stat__stat-value{font-size:var(--pds-typography-size-l)}}.pds-dashboard-stat-group{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--pds-spacing-xl);width:unset}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ol.pds-flow-steps{display:flex;flex-direction:column;font-family:var(--pds-typography-ff-default);list-style:none;padding:0;row-gap:var(--pds-spacing-2xl)}@media (min-width:1280px){ol.pds-flow-steps--horizontal{display:grid;grid-template-columns:repeat(var(--flow-steps-columns,1),1fr);grid-gap:var(--pds-spacing-2xl)}}ol.pds-flow-steps--indented li{column-gap:var(--pds-spacing-xs);display:flex}.pds-flow-steps__header{font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);line-height:var(--pds-typography-lh-m)}.pds-flow-steps__number{align-items:center;background-color:var(--pds-color-bg-reverse);border-radius:50%;color:var(--pds-color-fg-reverse);display:flex;flex-shrink:0;font-family:var(--pds-typography-ff-default);font-size:var(--pds-typography-size-s);font-weight:var(--pds-typography-fw-semibold);height:var(--pds-spacing-l);justify-content:center;line-height:90%;padding:1px;width:var(--pds-spacing-l)}.pds-flow-steps__number span{padding-block-start:1px}.pds-flow-steps__content{padding-block-start:var(--pds-spacing-s)}.pds-flow-steps__header-group{column-gap:var(--pds-spacing-xs);display:flex}.pds-flow-steps__content-group{overflow-x:hidden;width:100%}
|
|
File without changes
|