@pantheon-systems/pds-toolkit-react 1.0.0-dev.226 → 1.0.0-dev.227
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/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +5 -1
- package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +5 -1
- package/_dist/components/inputs/Combobox/Combobox.d.ts +4 -0
- package/_dist/components/inputs/FileUpload/FileUpload.d.ts +4 -0
- package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +5 -1
- package/_dist/components/inputs/Select/Select.d.ts +5 -1
- package/_dist/components/inputs/TextInput/TextInput.d.ts +4 -0
- package/_dist/components/inputs/Textarea/Textarea.d.ts +4 -0
- package/_dist/components/inputs/input-utilities.d.ts +5 -1
- package/_dist/css/pds-layouts.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +2395 -2370
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -41,6 +41,10 @@ export interface CheckboxGroupWrapperProps extends ComponentPropsWithoutRef<'div
|
|
|
41
41
|
* Should the label (legend) be visible? If false, it will render for screen readers only.
|
|
42
42
|
*/
|
|
43
43
|
showLabel?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Optional tooltip text to display additional information.
|
|
46
|
+
*/
|
|
47
|
+
tooltipText?: string | null;
|
|
44
48
|
/**
|
|
45
49
|
* Validation message for the input field based on the validation status.
|
|
46
50
|
*/
|
|
@@ -57,4 +61,4 @@ export interface CheckboxGroupWrapperProps extends ComponentPropsWithoutRef<'div
|
|
|
57
61
|
/**
|
|
58
62
|
* CheckboxFieldset UI component
|
|
59
63
|
*/
|
|
60
|
-
export declare const CheckboxFieldset: ({ children, disabled, fieldsetProps, id, inputWidth, label, message, required, showLabel, validationMessage, validationStatus, className, ...props }: CheckboxGroupWrapperProps) => React.JSX.Element;
|
|
64
|
+
export declare const CheckboxFieldset: ({ children, disabled, fieldsetProps, id, inputWidth, label, message, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupWrapperProps) => React.JSX.Element;
|
|
@@ -57,6 +57,10 @@ export interface CheckboxGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
57
57
|
* Should the label (legend) be visible? If false, it will render for screen readers only.
|
|
58
58
|
*/
|
|
59
59
|
showLabel?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Optional tooltip text to display additional information.
|
|
62
|
+
*/
|
|
63
|
+
tooltipText?: string | null;
|
|
60
64
|
/**
|
|
61
65
|
* Validation message for the input field based on the validation status.
|
|
62
66
|
*/
|
|
@@ -73,4 +77,4 @@ export interface CheckboxGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
73
77
|
/**
|
|
74
78
|
* CheckboxGroup UI component
|
|
75
79
|
*/
|
|
76
|
-
export declare const CheckboxGroup: ({ disabled, fieldsetProps, id, inputWidth, label, message, onGroupBlur, onValueChange, options, required, showLabel, validationMessage, validationStatus, className, ...props }: CheckboxGroupProps) => React.JSX.Element;
|
|
80
|
+
export declare const CheckboxGroup: ({ disabled, fieldsetProps, id, inputWidth, label, message, onGroupBlur, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, className, ...props }: CheckboxGroupProps) => React.JSX.Element;
|
|
@@ -110,6 +110,10 @@ export interface ComboboxProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
110
110
|
* Should the label be visible? If false, it will render for screen readers only.
|
|
111
111
|
*/
|
|
112
112
|
showLabel?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Optional tooltip text to display additional information.
|
|
115
|
+
*/
|
|
116
|
+
tooltipText?: string | null;
|
|
113
117
|
/**
|
|
114
118
|
* Value attribute of input
|
|
115
119
|
*/
|
|
@@ -69,6 +69,10 @@ export interface FileUploadProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
69
69
|
* Should the label be visible? If false, it will render for screen readers only.
|
|
70
70
|
*/
|
|
71
71
|
showLabel?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Optional tooltip text to display additional information.
|
|
74
|
+
*/
|
|
75
|
+
tooltipText?: string | null;
|
|
72
76
|
/**
|
|
73
77
|
* Validation message for the input field based on the validation status.
|
|
74
78
|
*/
|
|
@@ -77,6 +77,10 @@ export interface RadioGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
77
77
|
* @default true
|
|
78
78
|
*/
|
|
79
79
|
showLabel?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Optional tooltip text to display additional information.
|
|
82
|
+
*/
|
|
83
|
+
tooltipText?: string | null;
|
|
80
84
|
/**
|
|
81
85
|
* Validation message
|
|
82
86
|
*/
|
|
@@ -97,4 +101,4 @@ export interface RadioGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
97
101
|
/**
|
|
98
102
|
* RadioGroup UI component
|
|
99
103
|
*/
|
|
100
|
-
export declare const RadioGroup: ({ defaultValue, disabled, fieldsetProps, id, inputWidth, label, message, onBlur, onChange, onValueChange, options, required, showLabel, validationMessage, validationStatus, value, className, ...props }: RadioGroupProps) => React.JSX.Element;
|
|
104
|
+
export declare const RadioGroup: ({ defaultValue, disabled, fieldsetProps, id, inputWidth, label, message, onBlur, onChange, onValueChange, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: RadioGroupProps) => React.JSX.Element;
|
|
@@ -90,6 +90,10 @@ export interface SelectProps {
|
|
|
90
90
|
* Should the label be visible? If false, it will render for screen readers only.
|
|
91
91
|
*/
|
|
92
92
|
showLabel?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Optional tooltip text to display additional information.
|
|
95
|
+
*/
|
|
96
|
+
tooltipText?: string | null;
|
|
93
97
|
/**
|
|
94
98
|
* Validation message for the input field based on the validation status.
|
|
95
99
|
*/
|
|
@@ -114,5 +118,5 @@ export declare const SelectOptionGroup: ({ label, children, }: SelectOptionGroup
|
|
|
114
118
|
/**
|
|
115
119
|
* Select UI component
|
|
116
120
|
*/
|
|
117
|
-
export declare const Select: ({ defaultValue, disabled, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, validationMessage, validationStatus, value, className, ...props }: SelectProps) => React.JSX.Element;
|
|
121
|
+
export declare const Select: ({ defaultValue, disabled, id, inputWidth, label, labelStrings, message, onBlur, onFocus, onOptionSelect, options, required, showLabel, tooltipText, validationMessage, validationStatus, value, className, ...props }: SelectProps) => React.JSX.Element;
|
|
118
122
|
export {};
|
|
@@ -99,6 +99,10 @@ export interface TextInputProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
99
99
|
* Show Toggle visibility control for input. Valid for type `password` only.
|
|
100
100
|
*/
|
|
101
101
|
showVisibilityToggle?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Optional tooltip text to display additional information.
|
|
104
|
+
*/
|
|
105
|
+
tooltipText?: string | null;
|
|
102
106
|
/**
|
|
103
107
|
* Translation strings for various labels or other visually-hidden text.
|
|
104
108
|
*/
|
|
@@ -79,6 +79,10 @@ export interface TextareaProps {
|
|
|
79
79
|
* Additional props for the `<textarea>` element.
|
|
80
80
|
*/
|
|
81
81
|
textareaProps?: ComponentPropsWithoutRef<'textarea'>;
|
|
82
|
+
/**
|
|
83
|
+
* Optional tooltip text to display additional information.
|
|
84
|
+
*/
|
|
85
|
+
tooltipText?: string | null;
|
|
82
86
|
/**
|
|
83
87
|
* Translation strings for various labels or other visually-hidden text.
|
|
84
88
|
*/
|
|
@@ -43,12 +43,16 @@ interface InputLabelProps {
|
|
|
43
43
|
* Used for inputs that have their label built into the element itself.
|
|
44
44
|
*/
|
|
45
45
|
isPseudoLabel?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Optional tooltip text to display additional information.
|
|
48
|
+
*/
|
|
49
|
+
tooltipText?: string;
|
|
46
50
|
/**
|
|
47
51
|
* Additional class names.
|
|
48
52
|
*/
|
|
49
53
|
className?: string;
|
|
50
54
|
}
|
|
51
|
-
export declare const InputLabel: ({ id, label, showLabel, required, disabled, isLegend, isPseudoLabel, className, }: InputLabelProps) => React.JSX.Element;
|
|
55
|
+
export declare const InputLabel: ({ id, label, showLabel, required, disabled, isLegend, isPseudoLabel, tooltipText, className, }: InputLabelProps) => React.JSX.Element;
|
|
52
56
|
export declare const InputMessage: ({ id, message, hasValidationMessage, validationMessageHasDecorators, validationStatus, className, }: {
|
|
53
57
|
id: string;
|
|
54
58
|
message?: string | ReactNode;
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
)}.pds-dashboard-global--isAdmin .pds-dashboard-nav__item--top-level .pds-dashboard-nav__item-wrapper:hover,.pds-dashboard-global--isAdmin button.pds-icon-button:hover:enabled{background-color:var(
|
|
6
6
|
--pds-color-dashboard-nav-item-background-hover-admin
|
|
7
7
|
)}.pds-dashboard-global--isAdmin .pds-dashboard-nav__item--top-level.pds-dashboard-nav__item--active
|
|
8
|
-
.pds-dashboard-nav__item-wrapper:hover{background-color:var(--pds-color-dashboard-nav-item-background-active)}.pds-dashboard-inner{max-width:var(--pds-dashboard-navbar-max-width)}.pds-dashboard-inner>:nth-last-child(2){margin-block-end:2.441rem}.pds-dashboard-inner__header-top{column-gap:2.441rem;display:flex;flex-wrap:wrap;justify-content:space-between;margin-block-end:1.563rem;row-gap:1.563rem}.pds-dashboard-inner__content-wrapper{display:flex;flex-direction:column;row-gap:2.441rem;width:100%}.pds-flex-container{display:flex}.pds-flex-direction--row{flex-direction:row}.pds-flex-direction--row-reverse{flex-direction:row-reverse}.pds-flex-direction--column{flex-direction:column}.pds-flex-direction--column-reverse{flex-direction:column-reverse}.pds-flex--nowrap{flex-wrap:nowrap}.pds-flex--wrap{flex-wrap:wrap}.pds-flex--wrap-reverse{flex-wrap:wrap-reverse}.pds-flex-justify--flex-start{justify-content:flex-start}.pds-flex-justify--flex-end{justify-content:flex-end}.pds-flex-justify--center{justify-content:center}.pds-flex-justify--space-between{justify-content:space-between}.pds-flex-justify--space-around{justify-content:space-around}.pds-flex-justify--space-evenly{justify-content:space-evenly}.pds-flex-align-items--flex-start{align-items:flex-start}.pds-flex-align-items--flex-end{align-items:flex-end}.pds-flex-align-items--center{align-items:center}.pds-flex-align-items--stretch{align-items:stretch}.pds-flex-align-items--baseline{align-items:baseline}.pds-flex-align-content--flex-start{align-content:flex-start}.pds-flex-align-content--flex-end{align-content:flex-end}.pds-flex-align-content--center{align-content:center}.pds-flex-align-content--space-between{align-content:space-between}.pds-flex-align-content--space-around{align-content:space-around}.pds-flex-align-content--stretch{align-content:stretch}.pds-gap--none{gap:0}.pds-flex-gap--narrow{gap:1.25rem}.pds-flex-gap--standard{gap:1.563rem}.pds-flex-gap--wide{gap:1.953rem}@media (min-width:1025px){.pds-flex-gap--narrow{gap:1.563rem}.pds-flex-gap--standard{gap:1.953rem}.pds-flex-gap--wide{gap:2.441rem}}.pds-flex-container--mobile .pds-flex-gap--narrow{gap:1.25rem}.pds-flex-container--mobile .pds-flex-gap--standard{gap:1.563rem}.pds-flex-container--mobile .pds-flex-gap--wide{gap:1.953rem}.pds-stepper-layout{padding-inline:0}.pds-stepper-layout__form-container{padding-block-start:1.953rem}@media (min-width:641px){.pds-stepper-layout__form-container{margin-inline:auto;padding-inline:14%}}@media (min-width:1025px){.pds-stepper-layout__form-container{padding-inline:16%}}.pds-stepper__button-group{column-gap:1.563rem;display:flex;justify-content:space-between;padding-block-start:3.052rem}@media (min-width:641px){.pds-stepper__button-group{box-sizing:border-box;margin-left:50%;max-width:var(--pds-stepper-layout-max-width);padding-inline:calc(var(--pds-stepper-indicator-size)*2);transform:translate3d(-50%,0,0);width:100vw}}.pds-three-item-layout .pds-grid-item{display:flex;flex-direction:column}.pds-three-item-layout--start .pds-grid-item{justify-content:flex-start}.pds-three-item-layout--center .pds-grid-item{justify-content:center}.pds-three-item-layout--end .pds-grid-item{justify-content:flex-end}.pds-two-item-layout .pds-grid-item{display:flex;flex-direction:column}.pds-two-item-layout--start .pds-grid-item{justify-content:flex-start}.pds-two-item-layout--center .pds-grid-item{justify-content:center}.pds-two-item-layout--end .pds-grid-item{justify-content:flex-end}
|
|
8
|
+
.pds-dashboard-nav__item-wrapper:hover{background-color:var(--pds-color-dashboard-nav-item-background-active)}.pds-dashboard-inner{max-width:var(--pds-dashboard-navbar-max-width)}.pds-dashboard-inner>:nth-last-child(2){margin-block-end:2.441rem}.pds-dashboard-inner__header-top{column-gap:2.441rem;display:flex;flex-wrap:wrap;justify-content:space-between;margin-block-end:1.563rem;row-gap:1.563rem}.pds-dashboard-inner__content-wrapper{display:flex;flex-direction:column;row-gap:2.441rem;width:100%}.pds-flex-container{display:flex}.pds-flex-direction--row{flex-direction:row}.pds-flex-direction--row-reverse{flex-direction:row-reverse}.pds-flex-direction--column{flex-direction:column}.pds-flex-direction--column-reverse{flex-direction:column-reverse}.pds-flex--nowrap{flex-wrap:nowrap}.pds-flex-wrap--wrap{flex-wrap:wrap}.pds-flex-wrap--wrap-reverse{flex-wrap:wrap-reverse}.pds-flex-justify--flex-start{justify-content:flex-start}.pds-flex-justify--flex-end{justify-content:flex-end}.pds-flex-justify--center{justify-content:center}.pds-flex-justify--space-between{justify-content:space-between}.pds-flex-justify--space-around{justify-content:space-around}.pds-flex-justify--space-evenly{justify-content:space-evenly}.pds-flex-align-items--flex-start{align-items:flex-start}.pds-flex-align-items--flex-end{align-items:flex-end}.pds-flex-align-items--center{align-items:center}.pds-flex-align-items--stretch{align-items:stretch}.pds-flex-align-items--baseline{align-items:baseline}.pds-flex-align-content--flex-start{align-content:flex-start}.pds-flex-align-content--flex-end{align-content:flex-end}.pds-flex-align-content--center{align-content:center}.pds-flex-align-content--space-between{align-content:space-between}.pds-flex-align-content--space-around{align-content:space-around}.pds-flex-align-content--stretch{align-content:stretch}.pds-gap--none{gap:0}.pds-flex-gap--narrow{gap:1.25rem}.pds-flex-gap--standard{gap:1.563rem}.pds-flex-gap--wide{gap:1.953rem}@media (min-width:1025px){.pds-flex-gap--narrow{gap:1.563rem}.pds-flex-gap--standard{gap:1.953rem}.pds-flex-gap--wide{gap:2.441rem}}.pds-flex-container--mobile .pds-flex-gap--narrow{gap:1.25rem}.pds-flex-container--mobile .pds-flex-gap--standard{gap:1.563rem}.pds-flex-container--mobile .pds-flex-gap--wide{gap:1.953rem}.pds-stepper-layout{padding-inline:0}.pds-stepper-layout__form-container{padding-block-start:1.953rem}@media (min-width:641px){.pds-stepper-layout__form-container{margin-inline:auto;padding-inline:14%}}@media (min-width:1025px){.pds-stepper-layout__form-container{padding-inline:16%}}.pds-stepper__button-group{column-gap:1.563rem;display:flex;justify-content:space-between;padding-block-start:3.052rem}@media (min-width:641px){.pds-stepper__button-group{box-sizing:border-box;margin-left:50%;max-width:var(--pds-stepper-layout-max-width);padding-inline:calc(var(--pds-stepper-indicator-size)*2);transform:translate3d(-50%,0,0);width:100vw}}.pds-three-item-layout .pds-grid-item{display:flex;flex-direction:column}.pds-three-item-layout--start .pds-grid-item{justify-content:flex-start}.pds-three-item-layout--center .pds-grid-item{justify-content:center}.pds-three-item-layout--end .pds-grid-item{justify-content:flex-end}.pds-two-item-layout .pds-grid-item{display:flex;flex-direction:column}.pds-two-item-layout--start .pds-grid-item{justify-content:flex-start}.pds-two-item-layout--center .pds-grid-item{justify-content:center}.pds-two-item-layout--end .pds-grid-item{justify-content:flex-end}
|