@pantheon-systems/pds-toolkit-react 2.0.0-alpha.12 → 2.0.0-alpha.14
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/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +1 -1
- 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-card-select-group.css +1 -1
- package/dist/css/component-css/pds-card.css +1 -1
- package/dist/css/component-css/pds-dropdown.css +1 -1
- package/dist/css/component-css/pds-empty-state-card.css +1 -1
- package/dist/css/component-css/pds-expansion-panel.css +1 -1
- package/dist/css/component-css/pds-index.css +7 -7
- package/dist/css/component-css/pds-nav-menu.css +1 -1
- package/dist/css/component-css/pds-new-site-card.css +1 -1
- 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-payment-card.css +1 -1
- package/dist/css/component-css/pds-pricing-card.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-tags-input.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/design-tokens/variables.dark.css +23 -21
- package/dist/css/design-tokens/variables.global.css +5 -9
- package/dist/css/design-tokens/variables.light.css +23 -21
- package/dist/css/design-tokens/variables.typography.css +1 -1
- package/dist/css/layout-css/pds-index.css +1 -1
- package/dist/css/pds-components.css +7 -7
- package/dist/css/pds-core.css +2 -2
- package/dist/css/pds-layouts.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -4
- package/dist/index.js +3077 -2642
- package/dist/index.js.map +1 -1
- package/dist/index.source.d.ts +4 -4
- 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 +6 -6
- package/dist/css/layout-css/pds-flex-container.css +0 -1
- /package/dist/components/{Picture → media/Picture}/Picture.d.ts +0 -0
- /package/dist/components/{VideoEmbed → media/VideoEmbed}/VideoEmbed.d.ts +0 -0
- /package/dist/{layouts → utilities}/Container/Container.d.ts +0 -0
- /package/dist/{layouts → utilities}/FlexContainer/FlexContainer.d.ts +0 -0
package/dist/index.source.d.ts
CHANGED
|
@@ -61,6 +61,8 @@ export * from './components/inputs/TextInput/TextInput';
|
|
|
61
61
|
export * from './components/LinkNewWindow/LinkNewWindow';
|
|
62
62
|
export * from './components/loading-indicators/Skeleton/Skeleton';
|
|
63
63
|
export * from './components/loading-indicators/Spinner/Spinner';
|
|
64
|
+
export * from './components/media/Picture/Picture';
|
|
65
|
+
export * from './components/media/VideoEmbed/VideoEmbed';
|
|
64
66
|
export * from './components/Modal/Modal';
|
|
65
67
|
export * from './components/navigation/Breadcrumb/Breadcrumb';
|
|
66
68
|
export * from './components/navigation/ButtonNav/ButtonNav';
|
|
@@ -92,7 +94,6 @@ export * from './components/panels/Panel/Panel';
|
|
|
92
94
|
export * from './components/panels/PanelList/PanelList';
|
|
93
95
|
export * from './components/panels/PanelList/PanelRow';
|
|
94
96
|
export * from './components/PantheonLogo/PantheonLogo';
|
|
95
|
-
export * from './components/Picture/Picture';
|
|
96
97
|
export * from './components/Popover/Popover';
|
|
97
98
|
export * from './components/progress-indicators/ProgressBar/ProgressBar';
|
|
98
99
|
export * from './components/progress-indicators/ProgressRing/ProgressRing';
|
|
@@ -113,19 +114,18 @@ export * from './components/tiles/AvatarTileList/AvatarTileList';
|
|
|
113
114
|
export * from './components/tiles/Tile/Tile';
|
|
114
115
|
export * from './components/tiles/TileGrid/TileGrid';
|
|
115
116
|
export * from './components/Tooltip/Tooltip';
|
|
116
|
-
export * from './components/VideoEmbed/VideoEmbed';
|
|
117
117
|
export * from './libs/components/SiteOptionDisplay/SiteOptionDisplay';
|
|
118
118
|
export * from './layouts/AppLayout/AppLayout';
|
|
119
|
-
export * from './layouts/Container/Container';
|
|
120
119
|
export * from './layouts/DashboardGlobal/DashboardGlobal';
|
|
121
120
|
export * from './layouts/DashboardInner/DashboardInner';
|
|
122
121
|
export * from './layouts/DocsLayout/DocsLayout';
|
|
123
|
-
export * from './layouts/FlexContainer/FlexContainer';
|
|
124
122
|
export * from './layouts/GlobalWrapper/GlobalWrapper';
|
|
125
123
|
export * from './layouts/SidebarLayout/SidebarLayout';
|
|
126
124
|
export * from './layouts/StepperLayout/StepperLayout';
|
|
127
125
|
export * from './layouts/ThreeItemLayout/ThreeItemLayout';
|
|
128
126
|
export * from './layouts/TwoItemLayout/TwoItemLayout';
|
|
127
|
+
export * from './utilities/Container/Container';
|
|
128
|
+
export * from './utilities/FlexContainer/FlexContainer';
|
|
129
129
|
export * from './libs/types/custom-types';
|
|
130
130
|
export * from './libs/types/input-types';
|
|
131
131
|
export * from './libs/types/layout-types';
|
|
@@ -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.14",
|
|
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,13 +154,13 @@
|
|
|
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",
|
|
162
162
|
"@floating-ui/react-dom": "~1.3.0",
|
|
163
|
-
"@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.
|
|
163
|
+
"@pantheon-systems/pds-design-tokens": "^2.0.0-alpha.36",
|
|
164
164
|
"@reactuses/core": "^5.0.15",
|
|
165
165
|
"date-fns": "^4.1.0",
|
|
166
166
|
"downshift": "^9.0.8",
|
|
@@ -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": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.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--minimal{gap:var(--pds-spacing-s)}.pds-flex-gap--narrow{gap:var(--pds-grid-columns-12-bp-m-gap-narrow)}.pds-flex-gap--standard{gap:var(--pds-grid-columns-12-bp-m-gap-standard)}.pds-flex-gap--wide{gap:var(--pds-grid-columns-12-bp-m-gap-wide)}@media (min-width:1280px){.pds-flex-gap--minimal{gap:var(--pds-spacing-m)}.pds-flex-gap--narrow{gap:var(--pds-grid-columns-12-bp-l-gap-narrow)}.pds-flex-gap--standard{gap:var(--pds-grid-columns-12-bp-l-gap-standard)}.pds-flex-gap--wide{gap:var(--pds-grid-columns-12-bp-l-gap-wide)}}.pds-flex-container--mobile .pds-flex-gap--minimal{gap:var(--pds-spacing-s)}.pds-flex-container--mobile .pds-flex-gap--narrow{gap:var(--pds-grid-columns-12-bp-m-gap-narrow)}.pds-flex-container--mobile .pds-flex-gap--standard{gap:var(--pds-grid-columns-12-bp-m-gap-standard)}.pds-flex-container--mobile .pds-flex-gap--wide{gap:var(--pds-grid-columns-12-bp-m-gap-wide)}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|