Skip to content

fix: update dependencies #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/support/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import { StyledEngineProvider } from '@mui/material/styles'
import ThemeProvider from '@mui/system/ThemeProvider'
import { mount } from 'cypress/react18'
import { mount } from 'cypress/react'

import rusticTheme from '../../src/rusticTheme'

Expand Down
3,510 changes: 1,956 additions & 1,554 deletions package-lock.json

Large diffs are not rendered by default.

131 changes: 64 additions & 67 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rustic-ai/ui-components",
"version": "0.0.42",
"version": "0.0.43",
"keywords": [
"rustic-ai",
"conversational-ui"
Expand Down Expand Up @@ -30,47 +30,44 @@
"@mui/material": "6.1.8",
"@mui/styled-engine-sc": "6.1.8",
"@mui/system": "6.1.8",
"axios": "1.8.2",
"dompurify": "3.2.4",
"marked": "15.0.7",
"axios": "1.9.0",
"dompurify": "3.2.6",
"marked": "15.0.11",
"react": "18.3.1"
},
"devDependencies": {
"@codemirror/language": "6.10.1",
"@codemirror/language-data": "6.4.1",
"@codemirror/state": "6.4.1",
"@codemirror/language": "6.11.0",
"@codemirror/language-data": "6.5.1",
"@codemirror/state": "6.5.2",
"@codemirror/theme-one-dark": "6.1.2",
"@codemirror/view": "6.26.0",
"@codemirror/view": "6.36.8",
"@commitlint/cli": "18.4.2",
"@commitlint/config-conventional": "18.4.2",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.17.0",
"@finos/perspective": "3.3.4",
"@finos/perspective-viewer": "3.3.4",
"@finos/perspective-viewer-d3fc": "3.3.4",
"@finos/perspective-viewer-datagrid": "3.3.4",
"@fullcalendar/core": "6.1.15",
"@fullcalendar/daygrid": "6.1.15",
"@fullcalendar/react": "6.1.15",
"@fullcalendar/timegrid": "6.1.15",
"@finos/perspective": "3.6.1",
"@finos/perspective-viewer": "3.6.1",
"@finos/perspective-viewer-d3fc": "3.6.1",
"@finos/perspective-viewer-datagrid": "3.6.1",
"@fullcalendar/core": "6.1.17",
"@fullcalendar/daygrid": "6.1.17",
"@fullcalendar/react": "6.1.17",
"@fullcalendar/timegrid": "6.1.17",
"@mui/material": "6.1.8",
"@mui/styled-engine-sc": "6.1.8",
"@mui/system": "6.1.8",
"@storybook/addon-essentials": "8.6.2",
"@storybook/addon-interactions": "8.6.2",
"@storybook/addon-links": "8.6.2",
"@storybook/addon-viewport": "8.6.2",
"@storybook/addon-webpack5-compiler-swc": "1.0.6",
"@storybook/blocks": "8.6.2",
"@storybook/manager-api": "8.6.2",
"@storybook/react": "8.6.2",
"@storybook/react-webpack5": "8.6.2",
"@storybook/test": "8.6.2",
"@storybook/theming": "8.6.2",
"@testing-library/cypress": "10.0.1",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "13.5.0",
"@types/dom-speech-recognition": "0.0.4",
"@storybook/addon-essentials": "8.6.14",
"@storybook/addon-interactions": "8.6.14",
"@storybook/addon-links": "8.6.14",
"@storybook/addon-viewport": "8.6.14",
"@storybook/addon-webpack5-compiler-swc": "3.0.0",
"@storybook/blocks": "8.6.14",
"@storybook/manager-api": "8.6.14",
"@storybook/react": "8.6.14",
"@storybook/react-webpack5": "8.6.14",
"@storybook/test": "8.6.14",
"@storybook/theming": "8.6.14",
"@types/dom-speech-recognition": "0.0.6",
"@types/dompurify": "3.0.5",
"@types/lodash": "4.17.15",
"@types/node": "20.12.12",
Expand All @@ -79,87 +76,87 @@
"@types/react-dom": "18.2.15",
"@types/react-plotly.js": "2.6.3",
"@types/uuid": "9.0.7",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"@typescript-eslint/eslint-plugin": "8.32.1",
"@typescript-eslint/parser": "8.32.1",
"commitizen": "4.3.0",
"css-loader": "6.10.0",
"cypress": "13.17.0",
"cypress": "14.3.3",
"cypress-intercept-formdata": "0.6.0",
"cypress-real-events": "1.13.0",
"cypress-real-events": "1.14.0",
"cz-conventional-changelog": "3.3.0",
"emoji-picker-element": "1.26.0",
"emoji-picker-element-data": "1.7.1",
"emoji-picker-element": "1.26.3",
"emoji-picker-element-data": "1.7.2",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-mui-path-imports": "0.0.15",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-storybook": "0.11.2",
"eslint-plugin-storybook": "0.12.0",
"eslint-plugin-unused-imports": "4.1.4",
"husky": "9.1.7",
"lint-staged": "15.2.2",
"mermaid": "11.4.1",
"mermaid": "11.6.0",
"mini-css-extract-plugin": "2.8.1",
"mock-socket": "9.3.1",
"ol": "9.0.0",
"ol": "10.5.0",
"pdfjs-dist": "4.3.136",
"playwright-webkit": "1.34.3",
"plotly.js": "2.35.0",
"plotly.js": "3.0.1",
"pluralize": "8.0.0",
"prettier": "3.2.5",
"prop-types": "15.8.1",
"react-dom": "18.3.1",
"react-plotly.js": "2.6.0",
"storybook": "8.6.2",
"storybook": "8.6.14",
"storybook-addon-mock": "5.0.0",
"style-loader": "3.3.4",
"ts-loader": "9.5.1",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"typescript": "5.8.3",
"uniforms": "4.0.0",
"uniforms-bridge-json-schema": "4.0.0",
"uniforms-mui": "4.0.0",
"uuid": "10.0.0",
"vega-embed": "6.25.0",
"uuid": "11.1.0",
"vega-embed": "7.0.2",
"webpack": "5.94.0",
"webpack-cli": "5.1.4",
"webpack-node-externals": "3.0.0"
},
"peerDependencies": {
"@codemirror/language": "6.10.1",
"@codemirror/language-data": "6.4.1",
"@codemirror/state": "6.4.1",
"@codemirror/theme-one-dark": "6.1.2",
"@codemirror/view": "6.26.0",
"@finos/perspective": "^3.3.4",
"@finos/perspective-viewer": "^3.3.4",
"@finos/perspective-viewer-d3fc": "^3.3.4",
"@finos/perspective-viewer-datagrid": "^3.3.4",
"@fullcalendar/core": "^6.1.15",
"@fullcalendar/daygrid": "^6.1.15",
"@fullcalendar/react": "^6.1.15",
"@fullcalendar/timegrid": "^6.1.15",
"@codemirror/language": "^6.11.0",
"@codemirror/language-data": "^6.5.1",
"@codemirror/state": "^6.5.2",
"@codemirror/theme-one-dark": "^6.1.2",
"@codemirror/view": "^6.36.8",
"@finos/perspective": "^3.6.1",
"@finos/perspective-viewer": "^3.6.1",
"@finos/perspective-viewer-d3fc": "^3.6.1",
"@finos/perspective-viewer-datagrid": "^3.6.1",
"@fullcalendar/core": "^6.1.17",
"@fullcalendar/daygrid": "^6.1.17",
"@fullcalendar/react": "^6.1.17",
"@fullcalendar/timegrid": "^6.1.17",
"@mui/material": "^6.1.8",
"@mui/styled-engine-sc": "^6.1.8",
"@mui/system": "^6.1.8",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"axios": "1.8.2",
"emoji-picker-element": "^1.21.3",
"emoji-picker-element-data": "^1.7.1",
"mermaid": "^11.4.1",
"ol": "^9.0.0",
"axios": "^1.9.0",
"emoji-picker-element": "^1.26.3",
"emoji-picker-element-data": "^1.7.2",
"mermaid": "^11.6.0",
"ol": "^10.5.0",
"pdfjs-dist": "^4.3.136",
"plotly.js": "^2.35.0",
"plotly.js": "^3.0.1",
"pluralize": "^8.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-plotly.js": "^2.6.0",
"uniforms": "^4.0.0",
"uniforms-bridge-json-schema": "^4.0.0",
"uniforms-mui": "^4.0.0",
"uuid": "^10.0.0",
"vega-embed": "^6.25.0"
"uuid": "^11.1.0",
"vega-embed": "^7.0.2"
},
"peerDependenciesMeta": {
"@codemirror/language": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/markdown/markedMarkdown.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Meta } from '@storybook/react/*'
import type { Meta } from '@storybook/react'

import MarkedMarkdown from './markedMarkdown'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Meta } from '@storybook/react/*'
import type { Meta } from '@storybook/react'

import ChatCompletion from './chatCompletion'
const meta: Meta<React.ComponentProps<typeof ChatCompletion>> = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/promptBuilder/promptBuilder.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Divider from '@mui/material/Divider'
import TextField from '@mui/material/TextField'
import Typography from '@mui/material/Typography'
import { Stack } from '@mui/system'
import type { Meta, StoryFn } from '@storybook/react/*'
import type { Meta, StoryFn } from '@storybook/react'
import { Server } from 'mock-socket'
import React, { useState } from 'react'
import { v4 as getUUID } from 'uuid'
Expand Down
2 changes: 1 addition & 1 deletion src/components/prompts/prompts.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import './promptsDemo.css'

import Divider from '@mui/material/Divider'
import Typography from '@mui/material/Typography'
import type { Meta } from '@storybook/react/*'
import type { Meta } from '@storybook/react'
import { useState } from 'react'
import React from 'react'
import { v4 as getUUID } from 'uuid'
Expand Down
2 changes: 1 addition & 1 deletion src/components/timestamp/timestamp.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Meta } from '@storybook/react/*'
import type { Meta } from '@storybook/react'

import Timestamp from './timestamp'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type {
Client,
Table,
View,
} from '@finos/perspective/dist/wasm/perspective-js'
} from '@finos/perspective/dist/wasm/perspective-js.js'
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
import type { HTMLPerspectiveViewerElement } from '@finos/perspective-viewer/dist/esm/perspective-viewer.inline.js'
Expand Down
47 changes: 26 additions & 21 deletions src/components/visualization/plotlyGraph/plotlyGraph.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
/* eslint-disable no-magic-numbers */
import { supportedViewports } from '../../../../cypress/support/variables'
import PlotlyGraph from "./plotlyGraph"
import PlotlyGraph from './plotlyGraph'

describe('PlotlyGraph', () => {
beforeEach(() => {
cy.mount(
<PlotlyGraph
plotParams={{
data:[{
x: ['Product A', 'Product B', 'Product C'],
y: [20, 14, 23],
type: 'bar',
text: [20, 14, 23].map(String),
textposition: 'auto',
hoverinfo: 'none',
marker: {
color: 'rgb(158,202,225)',
opacity: 0.6,
line: {
color: 'rgb(8,48,107)',
width: 1.5
}
}
}],
layout:{
title: 'January 2013 Sales Report',
barmode: 'stack'
}
data: [
{
x: ['Product A', 'Product B', 'Product C'],
y: [20, 14, 23],
type: 'bar',
text: [20, 14, 23].map(String),
textposition: 'auto',
hoverinfo: 'none',
marker: {
color: 'rgb(158,202,225)',
opacity: 0.6,
line: {
color: 'rgb(8,48,107)',
width: 1.5,
},
},
},
],
layout: {
title: {
text: 'January 2013 Sales Report',
},
barmode: 'stack',
},
}}
/>
)
Expand Down
2 changes: 1 addition & 1 deletion src/components/weather/weather.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Meta } from '@storybook/react/*'
import type { Meta } from '@storybook/react'
import React from 'react'

import Weather from './weather'
Expand Down
16 changes: 12 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"compilerOptions": {
"target": "es5",
"outDir": "dist",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -11,13 +15,17 @@
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"types": ["@types/node", "cypress-real-events", "dom-speech-recognition"]
"types": [
"@types/node",
"cypress-real-events",
"dom-speech-recognition"
]
},
"include": [
"src",
Expand All @@ -26,4 +34,4 @@
"cypress.config.ts",
"global.d.ts"
]
}
}