@pantheon-systems/pds-toolkit-react 1.0.0-dev.217 → 1.0.0-dev.219
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/StatusIndicator/StatusIndicator.d.ts +5 -1
- package/_dist/components/inputs/FileUpload/FileUpload.d.ts +8 -0
- package/_dist/components/progress-indicators/Spinner/Spinner.d.ts +1 -2
- package/_dist/css/component-css/pds-card-select-group.css +1 -1
- package/_dist/css/component-css/pds-card.css +1 -1
- package/_dist/css/component-css/pds-comparison-list.css +1 -1
- package/_dist/css/component-css/pds-flow-steps.css +1 -1
- package/_dist/css/component-css/pds-index.css +4 -4
- package/_dist/css/component-css/pds-inline-message.css +1 -1
- package/_dist/css/component-css/pds-new-site-card.css +1 -1
- package/_dist/css/component-css/pds-panel.css +1 -1
- package/_dist/css/component-css/pds-popover.css +1 -1
- package/_dist/css/component-css/pds-pricing-card.css +1 -1
- package/_dist/css/component-css/pds-pull-quote.css +1 -1
- package/_dist/css/component-css/pds-segmented-button.css +1 -1
- package/_dist/css/component-css/pds-site-card.css +1 -1
- package/_dist/css/component-css/pds-site-footer.css +1 -1
- package/_dist/css/component-css/pds-status-indicator.css +1 -1
- package/_dist/css/component-css/pds-stepper.css +1 -1
- package/_dist/css/component-css/pds-tab-menu.css +1 -1
- package/_dist/css/component-css/pds-tile.css +1 -1
- package/_dist/css/component-css/pds-tiles-common.css +1 -1
- package/_dist/css/component-css/pds-toaster.css +1 -1
- package/_dist/css/component-css/pds-tooltip.css +1 -1
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +124 -126
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +20 -14
- package/_dist/css/design-tokens/pds-design-tokens.css +7 -0
- package/_dist/css/pds-components.css +4 -4
- package/_dist/css/pds-core.css +2 -2
- package/_dist/css/pds-layouts.css +5 -3
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +0 -2
- package/_dist/index.js +2187 -2306
- package/_dist/index.js.map +1 -1
- package/package.json +2 -3
- package/_dist/components/Heading/Heading.d.ts +0 -15
- package/_dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -39
- package/_dist/css/component-css/pds-heading.css +0 -1
- package/_dist/css/component-css/pds-toggle-button.css +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantheon-systems/pds-toolkit-react",
|
|
3
3
|
"technology": "React",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.219",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -119,7 +119,6 @@
|
|
|
119
119
|
"postcss-nested": "^6.0.1",
|
|
120
120
|
"prettier": "3.2.5",
|
|
121
121
|
"prettier-plugin-css-order": "^2.1.2",
|
|
122
|
-
"prop-types": "^15.8.1",
|
|
123
122
|
"react": "^18.2.0",
|
|
124
123
|
"react-dom": "^18.2.0",
|
|
125
124
|
"storybook": "^8.2.4",
|
|
@@ -136,7 +135,7 @@
|
|
|
136
135
|
"dependencies": {
|
|
137
136
|
"@floating-ui/react": "^0.24.3",
|
|
138
137
|
"@floating-ui/react-dom": "~1.3.0",
|
|
139
|
-
"@pantheon-systems/pds-design-tokens": "
|
|
138
|
+
"@pantheon-systems/pds-design-tokens": "file:pantheon-systems-pds-design-tokens-1.0.0-dev.153-font.tgz",
|
|
140
139
|
"@reactuses/core": "^5.0.15",
|
|
141
140
|
"focus-trap-react": "^10.2.1",
|
|
142
141
|
"hash-sum": "^2.0.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export function Heading({ children, level, className, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
children: any;
|
|
4
|
-
level: any;
|
|
5
|
-
className: any;
|
|
6
|
-
}): React.JSX.Element;
|
|
7
|
-
export namespace Heading {
|
|
8
|
-
namespace propTypes {
|
|
9
|
-
let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
|
|
10
|
-
let level: PropTypes.Validator<string>;
|
|
11
|
-
let className: PropTypes.Requireable<string>;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import PropTypes from 'prop-types';
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export function ToggleButton({ disabled, id, defaultValue, label, onChange, options, ...props }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
id: any;
|
|
5
|
-
defaultValue: any;
|
|
6
|
-
label: any;
|
|
7
|
-
onChange: any;
|
|
8
|
-
options: any;
|
|
9
|
-
}): React.JSX.Element;
|
|
10
|
-
export namespace ToggleButton {
|
|
11
|
-
namespace propTypes {
|
|
12
|
-
let disabled: PropTypes.Requireable<boolean>;
|
|
13
|
-
let id: PropTypes.Validator<string>;
|
|
14
|
-
let defaultValue: PropTypes.Requireable<string>;
|
|
15
|
-
let label: PropTypes.Validator<string>;
|
|
16
|
-
let onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
-
let options: PropTypes.Requireable<PropTypes.InferProps<{
|
|
18
|
-
/**
|
|
19
|
-
* Option label
|
|
20
|
-
*/
|
|
21
|
-
label: PropTypes.Validator<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Option value
|
|
24
|
-
*/
|
|
25
|
-
value: PropTypes.Validator<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Option icon
|
|
28
|
-
*/
|
|
29
|
-
iconName: PropTypes.Requireable<string>;
|
|
30
|
-
/**
|
|
31
|
-
* Unique ID for the option
|
|
32
|
-
*/
|
|
33
|
-
id: PropTypes.Requireable<string>;
|
|
34
|
-
}>[]>;
|
|
35
|
-
let className: PropTypes.Requireable<string>;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
import React from 'react';
|
|
39
|
-
import PropTypes from 'prop-types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-ts-xs{font-size:.694rem}.pds-ts-s{font-size:.833rem}.pds-ts-m{font-size:1rem}.pds-ts-l{font-size:1.2rem}@media (max-width:640px){.pds-ts-xl{font-size:calc(1.44rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-xl{font-size:calc(1.44rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-xl{font-size:1.44rem}}@media (max-width:640px){.pds-ts-2xl{font-size:calc(1.728rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-2xl{font-size:calc(1.728rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-2xl{font-size:1.728rem}}@media (max-width:640px){.pds-ts-3xl{font-size:calc(2.074rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-3xl{font-size:calc(2.074rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-3xl{font-size:2.074rem}}@media (max-width:640px){.pds-ts-4xl{font-size:calc(2.488rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-4xl{font-size:calc(2.488rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-4xl{font-size:2.488rem}}@media (max-width:640px){.pds-ts-5xl{font-size:calc(2.986rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-5xl{font-size:calc(2.986rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-5xl{font-size:2.986rem}}@media (max-width:640px){.pds-ts-6xl{font-size:calc(3.583rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){.pds-ts-6xl{font-size:calc(3.583rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){.pds-ts-6xl{font-size:3.583rem}}.pds-ts-7xl{font-size:calc(4.3rem*var(--pds-typography-multiplier-small));line-height:1.1}@media (--breakpoint-m ){.pds-ts-7xl{font-size:calc(4.3rem*var(--pds-typography-multiplier-medium))}}@media (--breakpoint-l ){.pds-ts-7xl{font-size:4.3rem}}.pds-ts-8xl{font-size:calc(5.16rem*var(--pds-typography-multiplier-small));line-height:1.0625}@media (--breakpoint-m ){.pds-ts-8xl{font-size:calc(5.16rem*var(--pds-typography-multiplier-medium))}}@media (--breakpoint-l ){.pds-ts-8xl{font-size:5.16rem}}.pds-ts-9xl{font-size:calc(6.192rem*var(--pds-typography-multiplier-small));line-height:1}@media (--breakpoint-m ){.pds-ts-9xl{font-size:calc(6.192rem*var(--pds-typography-multiplier-medium))}}@media (--breakpoint-l ){.pds-ts-9xl{font-size:6.192rem}}@media (max-width:640px){h1.pds-heading{font-size:calc(1.728rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){h1.pds-heading{font-size:calc(1.728rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){h1.pds-heading{font-size:1.728rem}}@media (max-width:640px){h2.pds-heading{font-size:calc(1.44rem*var(--pds-typography-multiplier-small))}}@media (min-width:641px){h2.pds-heading{font-size:calc(1.44rem*var(--pds-typography-multiplier-medium))}}@media (min-width:1025px){h2.pds-heading{font-size:1.44rem}}h3.pds-heading{font-size:1.2rem}h4.pds-heading,h5.pds-heading,h6.pds-heading{font-size:1rem}h1.pds-heading,h2.pds-heading{font-weight:700}h3.pds-heading,h4.pds-heading,h5.pds-heading,h6.pds-heading{font-weight:600}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.pds-toggle-button{border:0;display:inline-block;padding:0}.pds-toggle-button__options{display:inline-flex;gap:0}.pds-toggle-button__option label{align-items:center;background-color:var(--pds-color-segmented-button-background-default);border-bottom:1px solid var(--pds-color-border-input);border-top:1px solid var(--pds-color-border-input);box-sizing:border-box;color:var(--pds-color-segmented-button-foreground-default);cursor:pointer;display:inline-flex;font-family:Poppins,sans-serif;font-size:1rem;font-weight:600;gap:.328rem;height:2.125rem;justify-content:center;letter-spacing:0;line-height:1;margin-block-end:0;max-height:2.125rem;padding:.625rem 1.01563rem;text-decoration:none;transition:all .2s ease-in-out 0s;white-space:nowrap}.pds-toggle-button__option label:hover{background-color:var(--pds-color-interactive-background-hover)}.pds-toggle-button__option:first-child label{border-bottom-left-radius:.1875rem;border-bottom-right-radius:0;border-left:1px solid var(--pds-color-border-input);border-right:1px solid var(--pds-color-toggle-button-background-off);border-top-left-radius:.1875rem;border-top-right-radius:0}.pds-toggle-button__option:last-child label{border-bottom-left-radius:0;border-bottom-right-radius:.1875rem;border-left:1px solid var(--pds-color-toggle-button-background-off);border-right:1px solid var(--pds-color-border-input);border-top-left-radius:0;border-top-right-radius:.1875rem}.pds-toggle-button__option input:checked+label{background-color:var(--pds-color-segmented-button-background-active);border:1px solid var(--pds-color-segmented-button-border-active);color:var(--pds-color-segmented-button-foreground-active);transition:all .2s ease-in-out 0s}.pds-toggle-button__option:first-child input:checked+label{border-bottom-left-radius:.1875rem;border-bottom-right-radius:0;border-top-left-radius:.1875rem;border-top-right-radius:0}.pds-toggle-button__option:last-child input:checked+label{border-bottom-left-radius:0;border-bottom-right-radius:.1875rem;border-top-left-radius:0;border-top-right-radius:.1875rem}.pds-toggle-button__icon{margin-inline-end:.328rem}.pds-toggle-button.pds-is-disabled{opacity:.5}.pds-toggle-button.pds-is-disabled input+label{cursor:not-allowed}.pds-toggle-button__option input:focus-visible+label{outline:1px solid var(--pds-color-interactive-focus);outline-offset:.0625rem;z-index:200}
|