@pantheon-systems/pds-toolkit-react 2.0.0-alpha.25 → 2.0.0-alpha.27

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 (75) hide show
  1. package/dist/components/SortableList/SortableList.d.ts +8 -0
  2. package/dist/components/SortableList/SortableListHeader.d.ts +7 -0
  3. package/dist/components/SortableList/SortableRow.d.ts +16 -0
  4. package/dist/components/SortableList/sortable-utils.d.ts +19 -0
  5. package/dist/components/SortableList/types.d.ts +142 -0
  6. package/dist/components/SortableList/useSortableTree.d.ts +18 -0
  7. package/dist/components/Tooltip/Tooltip.d.ts +2 -2
  8. package/dist/components/UtilityBar/UtilityBar.d.ts +27 -0
  9. package/dist/components/buttons/IconButton/IconButton.d.ts +8 -0
  10. package/dist/components/icons/Icon/generated-icon-data.d.ts +51 -2
  11. package/dist/components/inputs/Checkbox/Checkbox.d.ts +1 -1
  12. package/dist/components/inputs/Combobox/Combobox.d.ts +1 -1
  13. package/dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +1 -1
  14. package/dist/components/inputs/Datepicker/Datepicker.d.ts +1 -1
  15. package/dist/components/inputs/FileUpload/FileUpload.d.ts +1 -1
  16. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +1 -1
  17. package/dist/components/inputs/Select/Select.d.ts +1 -1
  18. package/dist/components/inputs/Switch/Switch.d.ts +1 -1
  19. package/dist/components/inputs/TagsInput/TagsInput.d.ts +6 -1
  20. package/dist/components/inputs/TextInput/TextInput.d.ts +1 -1
  21. package/dist/components/inputs/Textarea/Textarea.d.ts +1 -1
  22. package/dist/components/inputs/input-utilities.d.ts +1 -1
  23. package/dist/components/overlays/FullScreenOverlay/FullScreenOverlay.d.ts +45 -0
  24. package/dist/css/component-css/pds-checkbox.css +1 -1
  25. package/dist/css/component-css/pds-combobox-multiselect.css +3 -3
  26. package/dist/css/component-css/pds-combobox.css +1 -1
  27. package/dist/css/component-css/pds-datepicker.css +1 -1
  28. package/dist/css/component-css/pds-dropdown-menu.css +1 -1
  29. package/dist/css/component-css/pds-file-upload.css +1 -1
  30. package/dist/css/component-css/pds-footer-links.css +1 -1
  31. package/dist/css/component-css/pds-full-screen-overlay.css +1 -0
  32. package/dist/css/component-css/pds-icon-button.css +2 -2
  33. package/dist/css/component-css/pds-index.css +23 -16
  34. package/dist/css/component-css/pds-input-utilities.css +1 -1
  35. package/dist/css/component-css/pds-menu-button.css +1 -1
  36. package/dist/css/component-css/pds-pagination-mini.css +1 -1
  37. package/dist/css/component-css/pds-panel-list.css +1 -1
  38. package/dist/css/component-css/pds-pantheon-logo.css +1 -1
  39. package/dist/css/component-css/pds-popover.css +1 -1
  40. package/dist/css/component-css/pds-radio-group.css +1 -1
  41. package/dist/css/component-css/pds-select.css +1 -1
  42. package/dist/css/component-css/pds-site-footer.css +1 -1
  43. package/dist/css/component-css/pds-social-links.css +1 -1
  44. package/dist/css/component-css/pds-sortable-list.css +8 -0
  45. package/dist/css/component-css/pds-status-checker.css +1 -1
  46. package/dist/css/component-css/pds-switch.css +1 -1
  47. package/dist/css/component-css/pds-tags-input.css +1 -1
  48. package/dist/css/component-css/pds-text-input.css +1 -1
  49. package/dist/css/component-css/pds-textarea.css +1 -1
  50. package/dist/css/component-css/pds-theme-switcher.css +1 -1
  51. package/dist/css/component-css/pds-tiles-common.css +1 -1
  52. package/dist/css/component-css/pds-user-menu.css +2 -2
  53. package/dist/css/component-css/pds-utility-bar.css +1 -0
  54. package/dist/css/component-css/pds-utility-button.css +1 -1
  55. package/dist/css/component-css/pds-workspace-selector.css +1 -1
  56. package/dist/css/design-tokens/variables.dark.css +18 -10
  57. package/dist/css/design-tokens/variables.light.css +18 -10
  58. package/dist/css/pds-components.css +23 -16
  59. package/dist/css/pds-core.css +1 -1
  60. package/dist/index.css +1 -1
  61. package/dist/index.d.ts +9 -2
  62. package/dist/index.js +6067 -4951
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.source.d.ts +8 -2
  65. package/dist/layouts/AppLayout/AppLayout.d.ts +1 -1
  66. package/dist/svg/arrowDownLeftAndArrowUpRightToCenter.svg +3 -0
  67. package/dist/svg/arrowsUpDownLeftRight.svg +3 -0
  68. package/dist/svg/barsStaggered.svg +3 -0
  69. package/dist/svg/circleExclamationSolid.svg +3 -0
  70. package/dist/svg/circleInfoSolid.svg +3 -0
  71. package/dist/svg/circleQuestionSolid.svg +3 -0
  72. package/dist/svg/compress.svg +3 -0
  73. package/package.json +5 -2
  74. /package/dist/components/{Drawer → overlays/Drawer}/Drawer.d.ts +0 -0
  75. /package/dist/components/{Modal → overlays/Modal}/Modal.d.ts +0 -0
@@ -30,7 +30,6 @@ export * from './components/CodeBlock/CodeBlock';
30
30
  export * from './components/ComparisonList/ComparisonList';
31
31
  export * from './components/CTASlice/CTASlice';
32
32
  export * from './components/DashboardStat/DashboardStat';
33
- export * from './components/Drawer/Drawer';
34
33
  export * from './components/Dropdown/Dropdown';
35
34
  export * from './components/empty-states/CompactEmptyState/CompactEmptyState';
36
35
  export * from './components/empty-states/HorizontalEmptyState/HorizontalEmptyState';
@@ -65,7 +64,6 @@ export * from './components/loading-indicators/Skeleton/Skeleton';
65
64
  export * from './components/loading-indicators/Spinner/Spinner';
66
65
  export * from './components/media/Picture/Picture';
67
66
  export * from './components/media/VideoEmbed/VideoEmbed';
68
- export * from './components/Modal/Modal';
69
67
  export * from './components/navigation/Breadcrumb/Breadcrumb';
70
68
  export * from './components/navigation/ButtonNav/ButtonNav';
71
69
  export * from './components/navigation/DashboardSearch/DashboardSearch';
@@ -87,6 +85,9 @@ export * from './components/notifications/SectionMessage/SectionMessage';
87
85
  export * from './components/notifications/Toaster/Toast';
88
86
  export * from './components/notifications/Toaster/Toaster';
89
87
  export * from './components/notifications/Toaster/useToast';
88
+ export * from './components/overlays/Drawer/Drawer';
89
+ export * from './components/overlays/FullScreenOverlay/FullScreenOverlay';
90
+ export * from './components/overlays/Modal/Modal';
90
91
  export * from './components/pagination/Pagination/Pagination';
91
92
  export * from './components/pagination/PaginationCompact/PaginationCompact';
92
93
  export * from './components/pagination/PaginationMini/PaginationMini';
@@ -102,6 +103,10 @@ export * from './components/progress-indicators/ProgressRing/ProgressRing';
102
103
  export * from './components/PullQuote/PullQuote';
103
104
  export * from './components/SiteDashboardHeading/SiteDashboardHeading';
104
105
  export * from './components/SocialLinks/SocialLinks';
106
+ export * from './components/SortableList/SortableList';
107
+ export * from './components/SortableList/SortableListHeader';
108
+ export * from './components/SortableList/SortableRow';
109
+ export * from './components/SortableList/types';
105
110
  export * from './components/StatusChecker/StatusChecker';
106
111
  export * from './components/StatusIndicator/StatusIndicator';
107
112
  export * from './components/steppers/Stepper/Stepper';
@@ -115,6 +120,7 @@ export * from './components/tiles/AvatarTileList/AvatarTileList';
115
120
  export * from './components/tiles/Tile/Tile';
116
121
  export * from './components/tiles/TileGrid/TileGrid';
117
122
  export * from './components/Tooltip/Tooltip';
123
+ export * from './components/UtilityBar/UtilityBar';
118
124
  export * from './libs/components/SiteOptionDisplay/SiteOptionDisplay';
119
125
  export * from './layouts/AppLayout/AppLayout';
120
126
  export * from './layouts/DocsLayout/DocsLayout';
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
- import { DrawerProps } from '../../components/Drawer/Drawer';
2
+ import { DrawerProps } from '../../components/overlays/Drawer/Drawer';
3
3
  import './app-layout.css';
4
4
  /**
5
5
  * Prop types for AppLayout
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M502.6 54.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L336 130.7 336 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 128c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-50.7 0 121.4-121.4zM80 272c-17.7 0-32 14.3-32 32s14.3 32 32 32l50.7 0-121.4 121.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L176 381.3 176 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-128c0-17.7-14.3-32-32-32L80 272z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M273.5 7c-9.4-9.4-24.6-9.4-33.9 0l-72 72c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l31-31 0 150.1-150.1 0 31-31c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-72 72c-9.4 9.4-9.4 24.6 0 33.9l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-31-31 150.1 0 0 150.1-31-31c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c9.4 9.4 24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-31 31 0-150.1 150.1 0-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-150.1 0 0-150.1 31 31c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-72-72z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M0 88C0 74.7 10.7 64 24 64l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 112C10.7 112 0 101.3 0 88zM64 256c0-13.3 10.7-24 24-24l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L88 280c-13.3 0-24-10.7-24-24zM448 424c0 13.3-10.7 24-24 24L24 448c-13.3 0-24-10.7-24-24s10.7-24 24-24l400 0c13.3 0 24 10.7 24 24z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm0-192a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.6 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM224 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm-8 64l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-336c-17.7 0-32 14.3-32 32 0 13.3-10.7 24-24 24s-24-10.7-24-24c0-44.2 35.8-80 80-80s80 35.8 80 80c0 47.2-36 67.2-56 74.5l0 3.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-8.1c0-20.5 14.8-35.2 30.1-40.2 6.4-2.1 13.2-5.5 18.2-10.3 4.3-4.2 7.7-10 7.7-19.6 0-17.7-14.3-32-32-32zM224 368a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
2
+ <path d="M160 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 88-88 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l112 0c13.3 0 24-10.7 24-24l0-112zM24 320c-13.3 0-24 10.7-24 24s10.7 24 24 24l88 0 0 88c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24L24 320zM336 56c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-88 0 0-88zM312 320c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-88 88 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-112 0z"/>
3
+ </svg>
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.25",
4
+ "version": "2.0.0-alpha.27",
5
5
  "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
@@ -158,9 +158,12 @@
158
158
  "react-dom": "^18.0.0 || ^19.0.0"
159
159
  },
160
160
  "dependencies": {
161
+ "@dnd-kit/core": "^6.3.1",
162
+ "@dnd-kit/sortable": "^10.0.0",
163
+ "@dnd-kit/utilities": "^3.2.2",
161
164
  "@floating-ui/react": "^0.24.3",
162
165
  "@floating-ui/react-dom": "~1.3.0",
163
- "@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.39",
166
+ "@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.41",
164
167
  "@reactuses/core": "^5.0.15",
165
168
  "date-fns": "^4.1.0",
166
169
  "downshift": "^9.3.2",