@pantheon-systems/pds-toolkit-react 2.0.0-alpha.12 → 2.0.0-alpha.13
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/ThemeSwitcher/ThemeSwitcher.d.ts +14 -8
- package/dist/components/icons/Icon/generated-icon-data.d.ts +9 -2
- package/dist/components/inputs/Datepicker/Datepicker.d.ts +15 -1
- package/dist/components/notifications/Toaster/Toast.d.ts +12 -1
- package/dist/components/notifications/Toaster/Toaster.d.ts +16 -7
- package/dist/components/notifications/Toaster/useToast.d.ts +2 -0
- package/dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +1 -2
- package/dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +1 -2
- package/dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +3 -4
- package/dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +2 -3
- package/dist/css/component-css/pds-dropdown.css +1 -1
- package/dist/css/component-css/pds-expansion-panel.css +1 -1
- package/dist/css/component-css/pds-index.css +5 -5
- package/dist/css/component-css/pds-nav-menu.css +1 -1
- package/dist/css/component-css/pds-progress-bar.css +1 -1
- package/dist/css/component-css/pds-progress-ring.css +1 -1
- package/dist/css/component-css/pds-side-nav-global.css +1 -1
- package/dist/css/component-css/pds-theme-switcher.css +1 -1
- package/dist/css/component-css/pds-toaster.css +1 -1
- package/dist/css/component-css/pds-user-menu.css +1 -1
- package/dist/css/component-css/pds-workspace-selector.css +1 -1
- package/dist/css/pds-components.css +5 -5
- package/dist/css/pds-core.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2991 -2556
- package/dist/index.js.map +1 -1
- package/dist/libs/types/custom-types.d.ts +8 -0
- package/dist/libs/types/navigation-types.d.ts +1 -1
- package/dist/svg/pause.svg +3 -0
- package/package.json +5 -5
|
@@ -46,6 +46,10 @@ export type LinkItemType = {
|
|
|
46
46
|
* Optional icon for this item. Choose from available icons in the Icon component.
|
|
47
47
|
*/
|
|
48
48
|
iconName?: PDSIcon;
|
|
49
|
+
/**
|
|
50
|
+
* Size of the icon. Defaults to 's'.
|
|
51
|
+
*/
|
|
52
|
+
iconSize?: IconSize;
|
|
49
53
|
/**
|
|
50
54
|
* Is this a critical action item?
|
|
51
55
|
*/
|
|
@@ -85,6 +89,10 @@ export type MenuItemType = {
|
|
|
85
89
|
* Optional icon for this item. Choose from available icons in the Icon component.
|
|
86
90
|
*/
|
|
87
91
|
iconName?: PDSIcon;
|
|
92
|
+
/**
|
|
93
|
+
* Size of the icon. Defaults to 's'.
|
|
94
|
+
*/
|
|
95
|
+
iconSize?: IconSize;
|
|
88
96
|
/**
|
|
89
97
|
* Optional ID value for this item.
|
|
90
98
|
*/
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor" aria-hidden="true" focusable="false" role="img">
|
|
2
|
+
<path d="M48 80l0 352 64 0 0-352-64 0zM0 80C0 53.5 21.5 32 48 32l64 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-64 0c-26.5 0-48-21.5-48-48L0 80zm272 0l0 352 64 0 0-352-64 0zm-48 0c0-26.5 21.5-48 48-48l64 0c26.5 0 48 21.5 48 48l0 352c0 26.5-21.5 48-48 48l-64 0c-26.5 0-48-21.5-48-48l0-352z"/>
|
|
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.
|
|
4
|
+
"version": "2.0.0-alpha.13",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"prestorybook": "node scripts/filter-exports-by-tags.js && npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run generate:ux-writing-search-index && npm run generate:ux-writing-guide",
|
|
53
53
|
"storybook": "storybook dev -p 6006",
|
|
54
54
|
"prebuild": "npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run build:css:packageExtraCss && npm run generate:ux-writing-search-index && npm run generate:ux-writing-guide",
|
|
55
|
-
"build": "NODE_ENV=production storybook build",
|
|
55
|
+
"build": "NODE_OPTIONS=--max-old-space-size=4096 NODE_ENV=production storybook build",
|
|
56
56
|
"build-storybook": "NODE_ENV=production storybook build",
|
|
57
57
|
"postbuild": "node scripts/copy-mcp-assets.js && node scripts/build-starter-template.js && node scripts/generate-html-docs.js && node scripts/verify-mcp-build.js",
|
|
58
58
|
"verify:mcp": "node scripts/verify-mcp-build.js",
|
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
"vite-tsconfig-paths": "^4.3.2"
|
|
155
155
|
},
|
|
156
156
|
"peerDependencies": {
|
|
157
|
-
"react": "^
|
|
158
|
-
"react-dom": "^
|
|
157
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
158
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
159
159
|
},
|
|
160
160
|
"dependencies": {
|
|
161
161
|
"@floating-ui/react": "^0.24.3",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"react-day-picker": "^9.11.1",
|
|
178
178
|
"react-device-detect": "^2.2.3",
|
|
179
179
|
"react-hotkeys-hook": "^4.5.1",
|
|
180
|
-
"react-toastify": "^
|
|
180
|
+
"react-toastify": "^10.0.6",
|
|
181
181
|
"recharts": "^3.8.1"
|
|
182
182
|
},
|
|
183
183
|
"optionalDependencies": {
|