@pantheon-systems/pds-toolkit-react 1.0.0-dev.195 → 1.0.0-dev.197

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.
Files changed (37) hide show
  1. package/_dist/components/BranchDiff/BranchDiff.d.ts +35 -0
  2. package/_dist/components/FileDiff/FileDiff.d.ts +35 -0
  3. package/_dist/components/Icon/Icon.d.ts +5 -1
  4. package/_dist/components/RefreshChecker/RefreshChecker.d.ts +46 -0
  5. package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +1 -1
  6. package/_dist/components/buttons/IconButton/IconButton.d.ts +1 -1
  7. package/_dist/components/buttons/MenuButton/MenuButton.d.ts +1 -3
  8. package/_dist/components/navigation/NavMenu/NavMenu.d.ts +41 -17
  9. package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +22 -12
  10. package/_dist/css/component-css/pds-branch-diff.css +1 -0
  11. package/_dist/css/component-css/pds-button.css +1 -1
  12. package/_dist/css/component-css/pds-file-diff.css +1 -0
  13. package/_dist/css/component-css/pds-icon-button.css +8 -0
  14. package/_dist/css/component-css/pds-index.css +15 -9
  15. package/_dist/css/component-css/pds-link-new-window.css +1 -1
  16. package/_dist/css/component-css/pds-menu-button.css +1 -1
  17. package/_dist/css/component-css/pds-popover.css +1 -1
  18. package/_dist/css/component-css/pds-refresh-checker.css +1 -0
  19. package/_dist/css/pds-components.css +15 -9
  20. package/_dist/css/pds-core.css +2 -2
  21. package/_dist/css/pds-layouts.css +2 -1
  22. package/_dist/index.css +1 -1
  23. package/_dist/index.d.ts +4 -6
  24. package/_dist/index.js +4383 -5342
  25. package/_dist/index.js.map +1 -1
  26. package/package.json +1 -1
  27. package/_dist/components/inputs/InputFormatted/InputFormatted.d.ts +0 -35
  28. package/_dist/components/inputs/InputObscured/InputObscured.d.ts +0 -33
  29. package/_dist/components/inputs/InputText/InputText.d.ts +0 -75
  30. package/_dist/components/inputs/InputWrapper/InputWrapper.d.ts +0 -5
  31. package/_dist/components/inputs/ToggleSwitch/ToggleSwitch.d.ts +0 -33
  32. package/_dist/components/inputs/inputs-common.d.ts +0 -40
  33. package/_dist/css/component-css/pds-input-text.css +0 -1
  34. package/_dist/css/component-css/pds-input-wrapper.css +0 -1
  35. package/_dist/css/component-css/pds-inputs-common-deprecated.css +0 -1
  36. package/_dist/css/component-css/pds-inputs-common.css +0 -1
  37. package/_dist/css/component-css/pds-toggle-switch.css +0 -3
@@ -0,0 +1,35 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import './branch-diff.css';
3
+ /**
4
+ * Prop types for BranchDiff
5
+ */
6
+ export interface BranchDiffProps extends ComponentPropsWithoutRef<'div'> {
7
+ /**
8
+ * The number of commits the current branch is ahead of its upstream branch.
9
+ */
10
+ numberAhead: number;
11
+ /**
12
+ * A description for the `numberAhead` value.
13
+ */
14
+ numberAheadDescription?: string;
15
+ /**
16
+ * The number of commits the current branch is behind its upstream branch.
17
+ */
18
+ numberBehind: number;
19
+ /**
20
+ * A description for the `numberBehind` value.
21
+ */
22
+ numberBehindDescription?: string;
23
+ /**
24
+ * Custom width in rems for the component. This will override the default.
25
+ */
26
+ componentWidth?: number;
27
+ /**
28
+ * Additional class names
29
+ */
30
+ className?: string;
31
+ }
32
+ /**
33
+ * BranchDiff UI component
34
+ */
35
+ export declare const BranchDiff: ({ numberAhead, numberAheadDescription, numberBehind, numberBehindDescription, componentWidth, className, ...props }: BranchDiffProps) => React.JSX.Element;
@@ -0,0 +1,35 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import './file-diff.css';
3
+ /**
4
+ * Prop types for FileDiff
5
+ */
6
+ export interface FileDiffProps extends ComponentPropsWithoutRef<'div'> {
7
+ /**
8
+ * Number of added lines (green bar).
9
+ */
10
+ additions: number;
11
+ /**
12
+ * Number of removed lines (red bar).
13
+ */
14
+ deletions: number;
15
+ /**
16
+ * Object with strings for tooltips and screen reader labels.
17
+ */
18
+ labelStrings?: {
19
+ linesChanged?: string;
20
+ additions?: string;
21
+ deletions?: string;
22
+ };
23
+ /**
24
+ * Custom width in rems for the component. This will override the default.
25
+ */
26
+ componentWidth?: number;
27
+ /**
28
+ * Additional class names
29
+ */
30
+ className?: string;
31
+ }
32
+ /**
33
+ * FileDiff UI component
34
+ */
35
+ export declare const FileDiff: ({ additions, deletions, labelStrings, className, componentWidth, ...props }: FileDiffProps) => React.JSX.Element;
@@ -151,6 +151,10 @@ declare const svgData: {
151
151
  readonly path: "M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z";
152
152
  readonly width: "640";
153
153
  };
154
+ readonly cloudPlus: {
155
+ readonly path: "M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128l-368 0zM296 376c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z";
156
+ readonly width: "640";
157
+ };
154
158
  readonly code: {
155
159
  readonly path: "M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z";
156
160
  readonly width: "640";
@@ -636,5 +640,5 @@ declare const svgData: {
636
640
  readonly width: "576";
637
641
  };
638
642
  };
639
- export declare const iconList: ("angleDown" | "angleLeft" | "angleRight" | "angleUp" | "anglesLeft" | "anglesRight" | "arrowDownToLine" | "arrowLeft" | "arrowRight" | "asterisk" | "banBug" | "bars" | "barsFilter" | "billboard" | "bitbucket" | "bolt" | "book" | "books" | "bracketRight" | "broomWide" | "building" | "buildings" | "calendarDays" | "ccAmex" | "ccDiscover" | "ccGeneric" | "ccMC" | "ccVisa" | "chartSimple" | "cloud" | "cloudArrowUp" | "code" | "codeBranch" | "codeMerge" | "caretDown" | "caretLeft" | "caretRight" | "caretUp" | "chartLine" | "chartNetwork" | "check" | "circle" | "circleExclamation" | "circleCheck" | "circleInfo" | "circleMinus" | "circleMinusOutline" | "circleNotch" | "circlePlus" | "circlePlusOutline" | "circleQuestion" | "circleXmark" | "command" | "comment" | "copy" | "diamondExclamation" | "diamonds4" | "discourse" | "download" | "drupal" | "ellipsis" | "ellipsisVertical" | "emptySet" | "envelope" | "exclamation" | "externalLink" | "eye" | "eyeSlash" | "facebook" | "file" | "fileContract" | "fileCSV" | "fileExport" | "fileImport" | "filePDF" | "folder" | "gear" | "github" | "gitlab" | "globe" | "globeLine" | "graduationCap" | "grid" | "gripDots" | "gripDotsVertical" | "heart" | "house" | "idCard" | "instagram" | "keySkeleton" | "laptopCode" | "leaf" | "lifeRing" | "linkedin" | "linkSimple" | "linkSimpleSlash" | "magnifyingGlass" | "messages" | "minus" | "moon" | "paperclip" | "paperPlane" | "pen" | "phone" | "play" | "plus" | "quotesLeft" | "quotesRight" | "rectangleList" | "robot" | "rotate" | "rotateClock" | "rss" | "save" | "server" | "shield" | "shovel" | "siren" | "sitemap" | "slack" | "slashForward" | "slidersSimple" | "snowflake" | "sparkles" | "squareCheck" | "squareCode" | "squareMinus" | "squarePen" | "squareQuestion" | "squareTerminal" | "star" | "sun" | "table" | "terminal" | "threads" | "trash" | "triangleExclamation" | "twitter" | "upload" | "user" | "userGear" | "userPlus" | "users" | "video" | "wavePulse" | "windowRestore" | "wordpress" | "wrench" | "xmark" | "xmarkLarge" | "xTwitter" | "youtube")[];
643
+ export declare const iconList: ("angleDown" | "angleLeft" | "angleRight" | "angleUp" | "anglesLeft" | "anglesRight" | "arrowDownToLine" | "arrowLeft" | "arrowRight" | "asterisk" | "banBug" | "bars" | "barsFilter" | "billboard" | "bitbucket" | "bolt" | "book" | "books" | "bracketRight" | "broomWide" | "building" | "buildings" | "calendarDays" | "ccAmex" | "ccDiscover" | "ccGeneric" | "ccMC" | "ccVisa" | "chartSimple" | "cloud" | "cloudArrowUp" | "cloudPlus" | "code" | "codeBranch" | "codeMerge" | "caretDown" | "caretLeft" | "caretRight" | "caretUp" | "chartLine" | "chartNetwork" | "check" | "circle" | "circleExclamation" | "circleCheck" | "circleInfo" | "circleMinus" | "circleMinusOutline" | "circleNotch" | "circlePlus" | "circlePlusOutline" | "circleQuestion" | "circleXmark" | "command" | "comment" | "copy" | "diamondExclamation" | "diamonds4" | "discourse" | "download" | "drupal" | "ellipsis" | "ellipsisVertical" | "emptySet" | "envelope" | "exclamation" | "externalLink" | "eye" | "eyeSlash" | "facebook" | "file" | "fileContract" | "fileCSV" | "fileExport" | "fileImport" | "filePDF" | "folder" | "gear" | "github" | "gitlab" | "globe" | "globeLine" | "graduationCap" | "grid" | "gripDots" | "gripDotsVertical" | "heart" | "house" | "idCard" | "instagram" | "keySkeleton" | "laptopCode" | "leaf" | "lifeRing" | "linkedin" | "linkSimple" | "linkSimpleSlash" | "magnifyingGlass" | "messages" | "minus" | "moon" | "paperclip" | "paperPlane" | "pen" | "phone" | "play" | "plus" | "quotesLeft" | "quotesRight" | "rectangleList" | "robot" | "rotate" | "rotateClock" | "rss" | "save" | "server" | "shield" | "shovel" | "siren" | "sitemap" | "slack" | "slashForward" | "slidersSimple" | "snowflake" | "sparkles" | "squareCheck" | "squareCode" | "squareMinus" | "squarePen" | "squareQuestion" | "squareTerminal" | "star" | "sun" | "table" | "terminal" | "threads" | "trash" | "triangleExclamation" | "twitter" | "upload" | "user" | "userGear" | "userPlus" | "users" | "video" | "wavePulse" | "windowRestore" | "wordpress" | "wrench" | "xmark" | "xmarkLarge" | "xTwitter" | "youtube")[];
640
644
  export {};
@@ -0,0 +1,46 @@
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import './refresh-checker.css';
3
+ /**
4
+ * Enum for RefreshChecker states
5
+ */
6
+ export declare enum RefreshCheckerState {
7
+ DEFAULT = "default",
8
+ WORKING = "working",
9
+ CHECKED = "checked"
10
+ }
11
+ /**
12
+ * Prop types for RefreshChecker
13
+ */
14
+ interface RefreshCheckerProps extends ComponentPropsWithoutRef<'div'> {
15
+ /**
16
+ * Custom width in rems for the component. This will override the default.
17
+ */
18
+ componentWidth?: number;
19
+ /**
20
+ * Internationalization props for labels
21
+ */
22
+ labelStrings?: {
23
+ checkForUpdates?: string;
24
+ checking?: string;
25
+ checked?: string;
26
+ tooltipContent?: string;
27
+ ariaLabel?: string;
28
+ };
29
+ /**
30
+ * Last checked timestamp
31
+ */
32
+ lastChecked?: Date;
33
+ /**
34
+ * Callback function when check is triggered
35
+ */
36
+ onCheck?: () => Promise<void>;
37
+ /**
38
+ * Additional class names
39
+ */
40
+ className?: string;
41
+ }
42
+ /**
43
+ * RefreshChecker UI component
44
+ */
45
+ export declare const RefreshChecker: ({ componentWidth, labelStrings, lastChecked, onCheck, className, ...props }: RefreshCheckerProps) => React.JSX.Element;
46
+ export {};
@@ -15,7 +15,7 @@ export interface IndicatorBadgeProps extends ComponentPropsWithoutRef<'span'> {
15
15
  /**
16
16
  * Badge size
17
17
  */
18
- size: 'sm' | 'md';
18
+ size?: 'sm' | 'md';
19
19
  /**
20
20
  * Additional class names
21
21
  */
@@ -37,7 +37,7 @@ interface IconButtonProps extends ComponentPropsWithoutRef<'button'> {
37
37
  /**
38
38
  * Which variant of button to render.
39
39
  */
40
- variant?: 'standard' | 'critical';
40
+ variant?: 'standard' | 'critical' | 'critical-hover';
41
41
  /**
42
42
  * Additional class names.
43
43
  */
@@ -1,6 +1,5 @@
1
- export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: {
1
+ export function MenuButton({ disabled, displayType, iconName, id, isSplitButton, label, menuItems, menuPosition, size, testId, undefinedLabel, variant, withinNavbar, className, ...props }: {
2
2
  [x: string]: any;
3
- avatarImageSrc: any;
4
3
  disabled: any;
5
4
  displayType?: string;
6
5
  iconName?: string;
@@ -18,7 +17,6 @@ export function MenuButton({ avatarImageSrc, disabled, displayType, iconName, id
18
17
  }): React.JSX.Element;
19
18
  export namespace MenuButton {
20
19
  namespace propTypes {
21
- export let avatarImageSrc: PropTypes.Requireable<string>;
22
20
  export let disabled: PropTypes.Requireable<boolean>;
23
21
  export let displayType: PropTypes.Requireable<string>;
24
22
  export { PDSIcon as iconName };
@@ -1,19 +1,43 @@
1
- export function NavMenu({ ariaLabel, colorType, menuItems, mobileMenuMaxWidth, className, ...props }: {
2
- [x: string]: any;
3
- ariaLabel?: string;
4
- colorType?: string;
5
- menuItems: any;
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import './nav-menu.css';
3
+ /**
4
+ * Prop types for MenuItem
5
+ */
6
+ export interface MenuItem {
7
+ id?: string;
8
+ label: string;
9
+ links?: MenuItem[];
10
+ linkContent?: React.ReactNode;
11
+ isActive?: boolean;
12
+ isSeparator?: boolean;
13
+ }
14
+ /**
15
+ * Prop types for NavMenu
16
+ */
17
+ interface NavMenuProps extends ComponentPropsWithoutRef<'nav'> {
18
+ /**
19
+ * Aria label for `nav` element.
20
+ */
21
+ ariaLabel: string;
22
+ /**
23
+ * Color scheme.
24
+ */
25
+ colorType?: 'default' | 'reverse';
26
+ /**
27
+ * Menu Items.
28
+ */
29
+ menuItems?: MenuItem[];
30
+ /**
31
+ * Mobile menu will be enabled when viewport is at or below this number in pixels.
32
+ */
6
33
  mobileMenuMaxWidth?: number;
7
- className: any;
8
- }): React.JSX.Element;
9
- export namespace NavMenu {
10
- namespace propTypes {
11
- let ariaLabel: PropTypes.Validator<string>;
12
- let colorType: PropTypes.Requireable<string>;
13
- let menuItems: PropTypes.Requireable<any[]>;
14
- let mobileMenuMaxWidth: PropTypes.Requireable<number>;
15
- let className: PropTypes.Requireable<string>;
16
- }
34
+ /**
35
+ * Additional class names
36
+ */
37
+ className?: string;
17
38
  }
18
- import React from 'react';
19
- import PropTypes from 'prop-types';
39
+ /**
40
+ * NavMenu UI component
41
+ */
42
+ export declare const NavMenu: ({ ariaLabel, colorType, menuItems, mobileMenuMaxWidth, className, ...props }: NavMenuProps) => React.JSX.Element;
43
+ export {};
@@ -1,14 +1,24 @@
1
- export function NavMenuDropdown({ items, label, mobileMenuMaxWidth }: {
2
- items: any;
3
- label: any;
1
+ import React, { ComponentPropsWithoutRef } from 'react';
2
+ import { MenuItem } from './NavMenu';
3
+ /**
4
+ * Prop types for NavMenuDropdown
5
+ */
6
+ interface NavMenuDropdownProps extends ComponentPropsWithoutRef<'button'> {
7
+ /**
8
+ * Dropdown items.
9
+ */
10
+ items?: MenuItem[];
11
+ /**
12
+ * Dropdown label.
13
+ */
14
+ label?: string;
15
+ /**
16
+ * Mobile menu will be enabled when viewport is at or below this number in pixels.
17
+ */
4
18
  mobileMenuMaxWidth?: number;
5
- }): React.JSX.Element;
6
- export namespace NavMenuDropdown {
7
- namespace propTypes {
8
- let items: PropTypes.Requireable<any[]>;
9
- let label: PropTypes.Requireable<string>;
10
- let mobileMenuMaxWidth: PropTypes.Requireable<number>;
11
- }
12
19
  }
13
- import React from 'react';
14
- import PropTypes from 'prop-types';
20
+ /**
21
+ * NavMenuDropdown UI component
22
+ */
23
+ export declare const NavMenuDropdown: ({ items, label, mobileMenuMaxWidth, }: NavMenuDropdownProps) => React.JSX.Element;
24
+ export {};
@@ -0,0 +1 @@
1
+ .pds-branch-diff{display:flex;height:2rem;max-width:100%;width:100%}.pds-branch-diff .pds-branch-diff__behind{padding-bottom:4px;position:relative;text-align:right;width:50%}.pds-branch-diff .pds-branch-diff__behind .pds-branch-diff__behind-number{display:block;font-size:.833rem;font-weight:400;line-height:120%;padding-inline:.25rem;position:relative;top:-1px}.pds-branch-diff .pds-branch-diff__behind .pds-branch-diff__behind-line{background-color:var(--pds-color-neutral-300);border-bottom-left-radius:6.25rem;border-top-left-radius:6.25rem;height:8px;min-width:1px;position:absolute;right:0;transition:width .3s ease;width:41.95%}.pds-branch-diff .pds-branch-diff__ahead{border-color:var(--pds-color-neutral-400);border-left-style:solid;border-left-width:1px;padding-bottom:4px;position:relative;text-align:left;width:50%}.pds-branch-diff .pds-branch-diff__ahead .pds-branch-diff__ahead-number{display:block;font-size:.833rem;font-weight:400;line-height:120%;padding-inline:.25rem;position:relative;top:-1px}.pds-branch-diff .pds-branch-diff__ahead .pds-branch-diff__ahead-line{background-color:var(--pds-color-neutral-400);border-bottom-right-radius:6.25rem;border-top-right-radius:6.25rem;height:8px;left:0;min-width:1px;position:absolute;transition:width .3s ease;width:41.95%}.pds-branch-diff .pds-branch-diff__tooltip{padding-inline:0}
@@ -78,4 +78,4 @@ a.pds-button,button.pds-button{--pds-button-color-background:var(
78
78
  --pds-color-button-navbar-foreground-hover
79
79
  )}a.pds-button.pds-button--navbar:active,button.pds-button.pds-button--navbar:active:enabled{--pds-button-color-background:transparent;--pds-button-color-border:transparent;--pds-button-color-foreground:var(
80
80
  --pds-color-button-navbar-foreground-active
81
- )}button.pds-button.pds-button--inline{background-color:transparent;border:none;border-radius:0;color:var(--pds-color-interactive-link-default);font-size:inherit;font-weight:400;height:unset;justify-content:unset;max-height:unset;padding:0;text-decoration:underline;transition:all .2s ease-in-out 0s}button.pds-button.pds-button--inline .pds-button__loading-indicator{--pds-spinner-color-1:#23232d;--pds-spinner-color-2:#6d6d78;--pds-spinner-color-3:#cfcfd3}button.pds-button.pds-button--inline:hover:enabled{color:var(--pds-color-interactive-link-hover);text-decoration:none}button.pds-button.pds-button--inline:focus-visible{outline:.0625rem solid var(--pds-color-interactive-focus);outline-offset:.125rem;text-decoration:none}.pds-button-group,.pds-button-group--lg{display:flex;flex-direction:column;row-gap:1rem;width:100%}.pds-button-group a.pds-button.pds-button--subtle,.pds-button-group button.pds-button.pds-button--subtle,.pds-button-group--lg a.pds-button.pds-button--subtle,.pds-button-group--lg button.pds-button.pds-button--subtle{margin-block:-.512rem}@media (min-width:641px){.pds-button-group a.pds-button.pds-button--subtle,.pds-button-group button.pds-button.pds-button--subtle,.pds-button-group--lg a.pds-button.pds-button--subtle,.pds-button-group--lg button.pds-button.pds-button--subtle{margin-block:unset;margin-inline:-.25rem}.pds-button-group{column-gap:1.25rem;flex-direction:row;width:unset}.pds-button-group--lg{column-gap:1.563rem}}
81
+ )}button.pds-button.pds-button--inline{background-color:transparent;border:none;border-radius:0;color:var(--pds-color-interactive-link-default);font-size:inherit;font-weight:400;height:unset;justify-content:unset;letter-spacing:0;max-height:unset;padding:0;transition:all .2s ease-in-out 0s}button.pds-button.pds-button--inline .pds-button__loading-indicator{--pds-spinner-color-1:#23232d;--pds-spinner-color-2:#6d6d78;--pds-spinner-color-3:#cfcfd3}button.pds-button.pds-button--inline:hover:enabled{color:var(--pds-color-interactive-link-hover);text-decoration:underline}button.pds-button.pds-button--inline:focus-visible{outline:.0625rem solid var(--pds-color-interactive-focus);outline-offset:.125rem;text-decoration:none}.pds-button-group,.pds-button-group--lg{display:flex;flex-direction:column;row-gap:1rem;width:100%}.pds-button-group a.pds-button.pds-button--subtle,.pds-button-group button.pds-button.pds-button--subtle,.pds-button-group--lg a.pds-button.pds-button--subtle,.pds-button-group--lg button.pds-button.pds-button--subtle{margin-block:-.512rem}@media (min-width:641px){.pds-button-group a.pds-button.pds-button--subtle,.pds-button-group button.pds-button.pds-button--subtle,.pds-button-group--lg a.pds-button.pds-button--subtle,.pds-button-group--lg button.pds-button.pds-button--subtle{margin-block:unset;margin-inline:-.25rem}.pds-button-group{column-gap:1.25rem;flex-direction:row;width:unset}.pds-button-group--lg{column-gap:1.563rem}}
@@ -0,0 +1 @@
1
+ .pds-file-diff{align-items:center;display:flex;gap:.25rem;height:1.0625rem;max-width:100%;width:100%}.pds-file-diff .pds-file-diff__total-changes{color:var(--pds-color-text-default-secondary);font-size:.694rem}.pds-file-diff .pds-file-diff__bars{align-items:center;display:flex;gap:.125rem;width:100%}.pds-file-diff .pds-file-diff__behind{position:relative}.pds-file-diff .pds-file-diff__behind .pds-file-diff__behind-bar{background-color:var(--pds-color-semantic-critical-foreground);border-bottom-left-radius:6.25rem;border-top-left-radius:6.25rem;height:8px;min-width:1px;right:0;transition:width .3s ease;width:100%}.pds-file-diff .pds-file-diff__ahead{position:relative}.pds-file-diff .pds-file-diff__ahead .pds-file-diff__ahead-bar{background-color:var(--pds-color-semantic-success-utility);border-bottom-right-radius:6.25rem;border-top-right-radius:6.25rem;height:8px;left:0;min-width:1px;transition:width .3s ease;width:100%}.pds-file-diff .pds-file-diff__tooltip{display:block;padding-inline:0}
@@ -14,4 +14,12 @@ button.pds-icon-button{--pds-button-size:2.25rem;--pds-button-color-foreground:v
14
14
  --pds-color-icon-button-critical-background-active
15
15
  );--pds-button-color-foreground:var(
16
16
  --pds-color-icon-button-critical-foreground-default
17
+ )}button.pds-icon-button--critical-hover{--pds-button-color-background:var(
18
+ --pds-color-icon-button-standard-background-default
19
+ );--pds-button-color-background-hover:var(
20
+ --pds-color-icon-button-critical-background-hover
21
+ );--pds-button-color-background-active:var(
22
+ --pds-color-icon-button-critical-background-active
23
+ )}button.pds-icon-button--critical-hover:hover{--pds-button-color-foreground:var(
24
+ --pds-color-icon-button-critical-foreground-default
17
25
  )}button.pds-icon-button--sm{--pds-button-size:2rem}button.pds-icon-button--lg{--pds-button-size:3rem}.pds-icon-button__tooltip .pds-tooltip__container{padding:.328rem .512rem}.pds-icon-button__icon-wrapper{align-items:center;display:flex;justify-content:center;position:absolute}.pds-icon-button--fadeOut{-webkit-animation:scale-down-center .4s cubic-bezier(.25,.46,.45,.94) both;animation:scale-down-center .4s cubic-bezier(.25,.46,.45,.94) both;opacity:0;transition:.2s ease-in}.pds-icon-button--hide{display:none}.pds-icon-button--scaleIn{-webkit-animation:scale-in-center .2s cubic-bezier(.175,.885,.32,1.275) both;animation:scale-in-center .2s cubic-bezier(.175,.885,.32,1.275) both}@keyframes scale-in-center{0%{opacity:1;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}