@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.
@@ -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';
@@ -1,4 +1,3 @@
1
- export function createRandomID(): string;
2
1
  export function getDescendants(node: any, collect: any): any;
3
2
  export function initiateSlots(children: any): {
4
3
  __unslotted: any[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
3
  "technology": "React",
4
- "version": "2.0.0-alpha.29",
4
+ "version": "2.0.0-alpha.30",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -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%}