@pantheon-systems/pds-toolkit-react 2.0.0-beta.18 → 2.0.0-beta.19

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.
@@ -0,0 +1 @@
1
+ @layer pds-v1, pds-v2;@layer pds-v2{.pds-sparkline{cursor:grab;font-family:var(--pds-typography-ff-default);position:relative;touch-action:pan-y;user-select:none;width:100%}.pds-sparkline:focus-visible{outline:none}.pds-sparkline:focus-visible .pds-sparkline__focus-ring{stroke:var(--pds-color-interactive-focus);stroke-width:var(--pds-border-width-outline)}.pds-sparkline--dragging{cursor:grabbing}.pds-sparkline--empty,.pds-sparkline--loading{cursor:default;touch-action:auto}.pds-sparkline .recharts-wrapper{pointer-events:none}}
@@ -0,0 +1 @@
1
+ @layer pds-v1, pds-v2;@layer pds-v2{.pds-timeline{--timeline-gap:var(--pds-spacing-l);--timeline-inset:var(--pds-spacing-2xl);--timeline-line-color:var(--pds-color-border-separator);--timeline-line-offset:calc(var(--timeline-marker-size) / 2 + var(--pds-border-width-thicker));--timeline-marker-size:var(--pds-spacing-m);--timeline-side-label-width:var(--pds-spacing-7xl);display:flex;flex-direction:column;gap:var(--timeline-gap);list-style:none;margin:0;padding:0;padding-inline-start:calc(var(--timeline-line-offset) + var(--timeline-inset))}.pds-timeline--flat{--timeline-gap:var(--pds-spacing-2xl)}.pds-timeline-item{--timeline-first-lh:var(--pds-typography-lh-s);--timeline-first-size:var(--pds-typography-size-m);--timeline-edge:0px;--timeline-pad:0px;--timeline-offset:calc(var(--timeline-edge) + var(--timeline-pad));--timeline-dot-edge:var(--timeline-line-color);--timeline-dot-fill:var(--pds-color-surface-default);--timeline-dot-ring:transparent;--timeline-dot-shadow:0 0 0 0 transparent;position:relative}.pds-timeline-item--card{--timeline-edge:var(--pds-border-width-default);--timeline-pad:var(--pds-spacing-m)}@media(min-width:1280px){.pds-timeline-item--card{--timeline-pad:var(--pds-spacing-l)}}.pds-timeline-item--side-label,.pds-timeline-item--subtitle-above{--timeline-first-lh:var(--pds-typography-lh-m);--timeline-first-size:var(--pds-typography-size-xs)}.pds-timeline-item--active{--timeline-dot-edge:var(--pds-color-surface-default);--timeline-dot-fill:var(--pds-color-interactive-link-default);--timeline-dot-ring:var(--pds-color-interactive-link-default);--timeline-dot-shadow:var(--pds-elevation-raised)}.pds-timeline-item__rail{font-size:var(--timeline-first-size);inset-block:var(--timeline-offset) calc(-1 * var(--timeline-gap));inset-inline-start:calc(-1 * var(--timeline-inset));line-height:var(--timeline-first-lh);position:absolute;width:0}.pds-timeline-item__rail:before{background-color:var(--timeline-line-color);content:"";inline-size:var(--pds-border-width-default);inset-block-end:0;inset-block-start:calc(-1 * var(--timeline-offset));inset-inline-start:calc(-1 * var(--pds-border-width-default) / 2);position:absolute}.pds-timeline-item:first-child>.pds-timeline-item__rail:before{inset-block-start:.5lh}.pds-timeline-item:last-child>.pds-timeline-item__rail:before{block-size:calc(.5lh + var(--timeline-offset));inset-block-end:auto}.pds-timeline-item:first-child:last-child>.pds-timeline-item__rail:before{display:none}.pds-timeline-item__marker{background-color:var(--timeline-dot-fill);border:var(--pds-border-width-thicker) solid var(--timeline-dot-edge);border-radius:50%;box-shadow:0 0 0 var(--pds-border-width-thicker) var(--timeline-dot-ring),var(--timeline-dot-shadow);box-sizing:border-box;height:var(--timeline-marker-size);inset-block-start:calc(.5 * (1lh - var(--timeline-marker-size)));inset-inline-start:calc(-1 * var(--timeline-marker-size) / 2);position:absolute;width:var(--timeline-marker-size)}.pds-timeline-item__content{padding:var(--timeline-pad)}.pds-timeline-item__header{display:flex;flex-direction:column;gap:var(--pds-spacing-3xs)}.pds-timeline-item__title{font-family:var(--pds-typography-ff-compact);font-size:var(--pds-typography-size-m);font-weight:var(--pds-typography-fw-semibold);line-height:var(--pds-typography-lh-s);overflow-wrap:anywhere}.pds-timeline-item__subtitle{align-items:center;color:var(--pds-color-foreground-default-secondary);display:flex;flex-wrap:wrap;font-family:var(--pds-typography-ff-default);font-size:var(--pds-typography-size-xs);gap:var(--pds-spacing-2xs);line-height:var(--pds-typography-lh-m)}.pds-timeline-item__side-label{font-size:var(--timeline-first-size);line-height:var(--timeline-first-lh)}.pds-timeline-item__side-label>span{color:var(--pds-color-foreground-default-secondary);font-family:var(--pds-typography-ff-default);font-size:var(--pds-typography-size-xs);overflow-wrap:anywhere}@media(min-width:768px){.pds-timeline:has(.pds-timeline-item--side-label){margin-inline-start:calc(var(--timeline-side-label-width) + var(--timeline-marker-size) / 2 + var(--pds-spacing-m) - var(--timeline-line-offset))}.pds-timeline-item--side-label:not(.pds-timeline-item--subtitle-above){--timeline-first-lh:var(--pds-typography-lh-s);--timeline-first-size:var(--pds-typography-size-m)}.pds-timeline-item__side-label{inline-size:max-content;inset-block-start:var(--timeline-offset);inset-inline-end:calc(100% + var(--timeline-inset) + var(--timeline-marker-size) / 2 + var(--pds-spacing-m));max-inline-size:var(--timeline-side-label-width);position:absolute;text-align:end}}.pds-timeline-item__body,.pds-timeline-item__body>*+*{margin-block-start:var(--pds-spacing-xs)}.pds-timeline-item__body>:first-child{margin-block-start:0}.pds-timeline-item__body>:last-child{margin-block-end:0}}