Skip to content

Commit

Permalink
chore: bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
herleraja committed Dec 17, 2024
1 parent ebfc9b7 commit 729dc09
Show file tree
Hide file tree
Showing 7 changed files with 1,008 additions and 921 deletions.
7 changes: 6 additions & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { addons } from "@storybook/manager-api";
import theme from "./theme";

addons.register('custom-panel', (api) => {
api.togglePanel(false);
api.toggleFullscreen(true);
});

addons.setConfig({
isFullscreen: true,
showNav: false,
Expand All @@ -22,6 +27,6 @@ addons.setConfig({
zoom: { hidden: true },
eject: { hidden: true },
copy: { hidden: true },
// fullscreen: { hidden: true },
fullscreen: { hidden: true },
},
});
1 change: 1 addition & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const preview: Preview = {
date: /Date$/,
},
},
options: { showPanel: false }
},
};

Expand Down
2 changes: 1 addition & 1 deletion .storybook/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ export default create({
inputTextColor: text01,
inputBorderRadius: 0,

brandTitle: "Edge data collector",
brandTitle: "Maximo Asset Monitor : Device library search",
brandUrl: "",
});
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,37 +33,37 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@storybook/blocks": "^8.4.3",
"@storybook/manager-api": "^8.4.3",
"@storybook/preset-create-react-app": "^8.4.3",
"@storybook/react": "^8.4.3",
"@storybook/react-webpack5": "^8.4.3",
"@storybook/blocks": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/preset-create-react-app": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-webpack5": "^8.4.7",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^8.4.3",
"@storybook/theming": "^8.4.7",
"babel-plugin-named-exports-order": "^0.0.2",
"eslint-plugin-storybook": "^0.11.0",
"eslint-plugin-storybook": "^0.11.1",
"gh-pages": "^6.2.0",
"prop-types": "^15.8.1",
"storybook": "^8.4.3",
"webpack": "^5.96.1"
"storybook": "^8.4.7",
"webpack": "^5.97.1"
},
"dependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"carbon-addons-iot-react": "2.154.0-next.40",
"carbon-components": "^10.58.15",
"carbon-components-react": "^7.60.0",
"@types/node": "^22.10.2",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"carbon-addons-iot-react": "^2.155.3",
"carbon-components": "^10.58.12",
"carbon-components-react": "^7.59.24",
"d3": "^7.9.0",
"papaparse": "^5.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-scripts": "^5.0.1",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"web-vitals": "^4.2.4"
}
}
3 changes: 2 additions & 1 deletion src/Search.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,12 @@ export default function Search() {
id="version"
data-testid="version"
type="inline"
titleText="Version: "
titleText="Version:"
label=""
onChange={({ selectedItem }) => {
setVersion(selectedItem);
}}
itemToString={item => item}
items={Object.keys(VERSIONS)}
initialSelectedItem={version}
/>
Expand Down
6 changes: 0 additions & 6 deletions src/components/ManufacturerCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@
*/
import React from "react";

const defaultProps = {
logo: undefined,
name: undefined,
};

const ManufacturerCell: React.FC<{
logo?: string;
name?: string;
Expand All @@ -30,5 +25,4 @@ const ManufacturerCell: React.FC<{
</div>
);

ManufacturerCell.defaultProps = defaultProps;
export default ManufacturerCell;
Loading

0 comments on commit 729dc09

Please sign in to comment.