@pantheon-systems/pds-toolkit-react 2.0.0-alpha.85 → 2.0.0-alpha.87
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/codemods/v1-to-v2/mappings.json +31 -14
- package/dist/components/Popover/Popover.d.ts +2 -2
- package/dist/components/StatusScrim/StatusScrim.d.ts +22 -0
- package/dist/components/Table/Table.d.ts +30 -9
- package/dist/components/Tooltip/Tooltip.d.ts +2 -2
- package/dist/components/buttons/MenuButton/MenuButton.d.ts +17 -1
- package/dist/components/buttons/SplitButton/SplitButton.d.ts +20 -1
- package/dist/components/icons/Icon/generated-icon-data.d.ts +1 -1
- package/dist/components/inputs/Datepicker/Datepicker.d.ts +17 -1
- package/dist/components/navigation/BookmarksMenu/BookmarksMenu.d.ts +151 -0
- package/dist/components/navigation/Navbar/Navbar.d.ts +20 -7
- package/dist/components/panels/BookmarksPanel/BookmarksPanel.d.ts +67 -0
- package/dist/components/panels/PanelList/PanelList.d.ts +1 -1
- package/dist/css/component-css/pds-Table.stories.css +1 -0
- package/dist/css/component-css/pds-banner.css +1 -1
- package/dist/css/component-css/pds-bookmarks-menu.css +1 -0
- package/dist/css/component-css/pds-bookmarks-panel.css +1 -0
- package/dist/css/component-css/pds-datepicker.css +1 -1
- package/dist/css/component-css/pds-dropdown.css +1 -1
- package/dist/css/component-css/pds-icon.css +1 -1
- package/dist/css/component-css/pds-index.css +30 -26
- package/dist/css/component-css/pds-input-group.css +1 -1
- package/dist/css/component-css/pds-menu-button.css +6 -2
- package/dist/css/component-css/pds-nav-menu.css +1 -1
- package/dist/css/component-css/pds-navbar.css +2 -2
- package/dist/css/component-css/pds-panel-list.css +1 -1
- package/dist/css/component-css/pds-panel.css +1 -1
- package/dist/css/component-css/pds-row-actions-menu.css +1 -1
- package/dist/css/component-css/pds-select.css +1 -1
- package/dist/css/component-css/pds-site-footer.css +1 -1
- package/dist/css/component-css/pds-status-scrim.css +1 -0
- package/dist/css/component-css/pds-table.css +3 -3
- package/dist/css/component-css/pds-toaster.css +1 -1
- package/dist/css/component-css/pds-user-menu.css +5 -5
- package/dist/css/component-css/pds-utility-button.css +2 -2
- package/dist/css/component-css/pds-workspace-selector-panel.css +1 -1
- package/dist/css/component-css/pds-workspace-selector.css +2 -2
- package/dist/css/pds-components.css +30 -26
- package/dist/css/pds-core.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1458 -1294
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +3 -0
- package/dist/libs/types/custom-types.d.ts +1 -1
- package/dist/utilities/hooks/useDropdown/useDropdown.d.ts +7 -1
- package/package.json +3 -2
package/dist/index.source.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export * from './components/loading-indicators/Skeleton/Skeleton';
|
|
|
58
58
|
export * from './components/loading-indicators/Spinner/Spinner';
|
|
59
59
|
export * from './components/media/Picture/Picture';
|
|
60
60
|
export * from './components/media/VideoEmbed/VideoEmbed';
|
|
61
|
+
export * from './components/navigation/BookmarksMenu/BookmarksMenu';
|
|
61
62
|
export * from './components/navigation/Breadcrumb/Breadcrumb';
|
|
62
63
|
export * from './components/navigation/ButtonNav/ButtonNav';
|
|
63
64
|
export * from './components/navigation/DropdownMenu/DropdownMenu';
|
|
@@ -84,6 +85,7 @@ export * from './components/overlays/Modal/Modal';
|
|
|
84
85
|
export * from './components/pagination/Pagination/Pagination';
|
|
85
86
|
export * from './components/pagination/PaginationChapter/PaginationChapter';
|
|
86
87
|
export * from './components/pagination/PaginationCompact/PaginationCompact';
|
|
88
|
+
export * from './components/panels/BookmarksPanel/BookmarksPanel';
|
|
87
89
|
export * from './components/panels/ExpansionPanel/ExpansionPanel';
|
|
88
90
|
export * from './components/panels/ExpansionPanelGroup/ExpansionPanelGroup';
|
|
89
91
|
export * from './components/panels/FeaturePanel/FeaturePanel';
|
|
@@ -108,6 +110,7 @@ export * from './components/SortableList/types';
|
|
|
108
110
|
export * from './components/StatPanel/StatPanel';
|
|
109
111
|
export * from './components/StatusChecker/StatusChecker';
|
|
110
112
|
export * from './components/StatusIndicator/StatusIndicator';
|
|
113
|
+
export * from './components/StatusScrim/StatusScrim';
|
|
111
114
|
export * from './components/steppers/StepList/StepList';
|
|
112
115
|
export * from './components/steppers/Stepper/Stepper';
|
|
113
116
|
export * from './components/steppers/VerticalStepper/VerticalStepper';
|
|
@@ -28,7 +28,7 @@ export type HeadingItemType = {
|
|
|
28
28
|
};
|
|
29
29
|
export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
30
30
|
export type HeadingLevelCommon = Exclude<HeadingLevel, 'h1' | 'h5' | 'h6'>;
|
|
31
|
-
export type IconSize = 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl';
|
|
31
|
+
export type IconSize = 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
32
32
|
export type LinkItemType = {
|
|
33
33
|
/**
|
|
34
34
|
* Screen reader label for critical items. Only used when isCritical is true.
|
|
@@ -41,6 +41,12 @@ export interface UseDropdownOptions {
|
|
|
41
41
|
* (and overridden to `minWidth` instead of `width`) by `variant: 'input'`.
|
|
42
42
|
*/
|
|
43
43
|
matchReferenceWidth?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Caps the panel's height in pixels, on top of the available-viewport-
|
|
46
|
+
* space cap floating-ui's `size` middleware always applies. Omit to use
|
|
47
|
+
* only the viewport cap.
|
|
48
|
+
*/
|
|
49
|
+
maxHeightValue?: number;
|
|
44
50
|
/**
|
|
45
51
|
* Offset distance in pixels between the trigger and the dropdown panel.
|
|
46
52
|
* Ignored when variant is 'input' (uses dynamic offset based on placement).
|
|
@@ -145,4 +151,4 @@ export interface UseDropdownReturn {
|
|
|
145
151
|
*/
|
|
146
152
|
transitionStyles: React.CSSProperties;
|
|
147
153
|
}
|
|
148
|
-
export declare const useDropdown: ({ allowEscape, enableClick, enableListNavigation, enableShift, enableTransition, enableTypeahead, matchReferenceWidth, offsetValue, openOnHover, placement, role, selectedIndex, shiftPadding, variant, virtual, }?: UseDropdownOptions) => UseDropdownReturn;
|
|
154
|
+
export declare const useDropdown: ({ allowEscape, enableClick, enableListNavigation, enableShift, enableTransition, enableTypeahead, matchReferenceWidth, maxHeightValue, offsetValue, openOnHover, placement, role, selectedIndex, shiftPadding, variant, virtual, }?: UseDropdownOptions) => UseDropdownReturn;
|
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.
|
|
4
|
+
"version": "2.0.0-alpha.87",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -207,9 +207,10 @@
|
|
|
207
207
|
},
|
|
208
208
|
"overrides": {
|
|
209
209
|
"@babel/plugin-transform-modules-systemjs": "^7.29.4",
|
|
210
|
-
"fast-uri": "^3.1.
|
|
210
|
+
"fast-uri": "^3.1.7",
|
|
211
211
|
"hono": "^4.12.18",
|
|
212
212
|
"ip-address": "^10.1.1",
|
|
213
|
+
"js-yaml": "^4.3.2",
|
|
213
214
|
"micromatch": "^4.0.8",
|
|
214
215
|
"minimatch": "^10.0.0",
|
|
215
216
|
"postcss-insert": {
|