@pantheon-systems/pds-toolkit-react 1.0.0-dev.212 → 1.0.0-dev.214
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/CodeBlock/CodeBlock.d.ts +56 -0
- package/_dist/components/CodeBlock/code-examples.d.ts +5 -0
- package/_dist/components/CodeBlock/themes/index.d.ts +2 -0
- package/_dist/components/CodeBlock/themes/pdsDark.d.ts +2 -0
- package/_dist/components/CodeBlock/themes/pdsLight.d.ts +2 -0
- package/_dist/components/buttons/ClipboardButton/ClipboardButton.d.ts +31 -0
- package/_dist/components/buttons/IconButton/IconButton.d.ts +1 -1
- package/_dist/components/navigation/navigation-types.d.ts +1 -1
- package/_dist/css/component-css/pds-clipboard-button.css +0 -0
- package/_dist/css/component-css/pds-code-block.css +1 -0
- package/_dist/css/component-css/pds-dropdown-menu.css +2 -2
- package/_dist/css/component-css/pds-icon-button.css +13 -7
- package/_dist/css/component-css/pds-index.css +19 -15
- package/_dist/css/component-css/pds-nav-menu.css +2 -4
- package/_dist/css/component-css/pds-select.css +1 -1
- package/_dist/css/component-css/pds-side-nav-compact.css +1 -1
- package/_dist/css/component-css/pds-side-nav.css +1 -1
- package/_dist/css/component-css/pds-tab-menu.css +2 -2
- package/_dist/css/component-css/pds-workspace-selector.css +1 -1
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +17 -2
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +15 -2
- package/_dist/css/design-tokens/pds-design-tokens.css +1 -0
- package/_dist/css/pds-components.css +19 -15
- package/_dist/css/pds-core.css +2 -2
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +3 -0
- package/_dist/index.js +4962 -3759
- package/_dist/index.js.map +1 -1
- package/_dist/mocks/data/navigation-items.d.ts +12 -5
- package/_dist/utilities/hooks/useClipboard.d.ts +6 -0
- package/package.json +6 -2
|
@@ -188,21 +188,28 @@ export declare const sideNavSampleMenuItemsCode: ({
|
|
|
188
188
|
export declare const sideNavCompactSampleMenuItems: ({
|
|
189
189
|
linkContent: React.JSX.Element;
|
|
190
190
|
links?: undefined;
|
|
191
|
-
isActive?: undefined;
|
|
192
191
|
} | {
|
|
193
192
|
linkContent: string;
|
|
194
193
|
links: {
|
|
195
194
|
linkContent: React.JSX.Element;
|
|
196
195
|
}[];
|
|
197
|
-
isActive?: undefined;
|
|
198
196
|
} | {
|
|
199
197
|
linkContent: React.JSX.Element;
|
|
200
|
-
isActive: boolean;
|
|
201
198
|
links: ({
|
|
202
199
|
linkContent: string;
|
|
203
|
-
links: {
|
|
200
|
+
links: ({
|
|
204
201
|
linkContent: React.JSX.Element;
|
|
205
|
-
|
|
202
|
+
links: ({
|
|
203
|
+
linkContent: React.JSX.Element;
|
|
204
|
+
isActive: boolean;
|
|
205
|
+
} | {
|
|
206
|
+
linkContent: React.JSX.Element;
|
|
207
|
+
isActive?: undefined;
|
|
208
|
+
})[];
|
|
209
|
+
} | {
|
|
210
|
+
linkContent: React.JSX.Element;
|
|
211
|
+
links?: undefined;
|
|
212
|
+
})[];
|
|
206
213
|
} | {
|
|
207
214
|
linkContent: React.JSX.Element;
|
|
208
215
|
links?: undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pantheon-systems/pds-toolkit-react",
|
|
3
3
|
"technology": "React",
|
|
4
|
-
"version": "1.0.0-dev.
|
|
4
|
+
"version": "1.0.0-dev.214",
|
|
5
5
|
"description": "PDS toolkit built using the React framework",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"@storybook/react-webpack5": "^8.2.4",
|
|
95
95
|
"@storybook/test": "^8.2.4",
|
|
96
96
|
"@storybook/theming": "^8.2.4",
|
|
97
|
+
"@types/prismjs": "^1.26.5",
|
|
97
98
|
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
98
99
|
"@typescript-eslint/parser": "^7.7.0",
|
|
99
100
|
"@vitejs/plugin-react": "^4.3.0",
|
|
@@ -135,10 +136,13 @@
|
|
|
135
136
|
"dependencies": {
|
|
136
137
|
"@floating-ui/react": "^0.24.3",
|
|
137
138
|
"@floating-ui/react-dom": "~1.3.0",
|
|
138
|
-
"@pantheon-systems/pds-design-tokens": "^1.0.0-dev.
|
|
139
|
+
"@pantheon-systems/pds-design-tokens": "^1.0.0-dev.151",
|
|
139
140
|
"@reactuses/core": "^5.0.15",
|
|
140
141
|
"focus-trap-react": "^10.2.1",
|
|
141
142
|
"hash-sum": "^2.0.0",
|
|
143
|
+
"prism-react-renderer": "^2.4.1",
|
|
144
|
+
"prismjs": "^1.29.0",
|
|
145
|
+
"react-code-block": "^1.1.1",
|
|
142
146
|
"react-hotkeys-hook": "^4.5.1",
|
|
143
147
|
"react-router-dom": "^6.13.0",
|
|
144
148
|
"react-toastify": "^9.0.3"
|