Skip to content
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
1,168 changes: 512 additions & 656 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion semcore/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
}
},
"dependencies": {
"@formatjs/intl": "3.0.4",
"@formatjs/intl": "4.1.13",
"@phytonmk/nano-css": "5.3.7",
"classnames": "2.2.6",
"hoist-non-react-statics": "3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion semcore/d3-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "pnpm semcore-builder --source=js,ts && pnpm vite build"
},
"dependencies": {
"@formatjs/intl": "2.3.0",
"@formatjs/intl": "4.1.13",
"@semcore/checkbox": "^17.2.0",
"@semcore/divider": "^17.2.0",
"@semcore/typography": "^17.2.0",
Expand Down
9 changes: 7 additions & 2 deletions semcore/d3-chart/src/a11y/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { AnalyzedData, ClusterNode, ComparisonNode, GeneralTrendNode, Trend
import { getIntl, type Intl } from './intl';

const formatLimitedSizeList = (
items: unknown[],
items: string[],
intl: Intl,
maxFinalStringLength = 100,
includeEllipsis = true,
Expand Down Expand Up @@ -287,7 +287,12 @@ export const serialize = (
);
const entitiesList = biggestClusters.map((clusterInsight) => {
const labels = formatLimitedSizeList(
clusterInsight.labels.map((label) => titlesFormatter?.(label as string) ?? label),
clusterInsight.labels.reduce<string[]>((acc, label) => {
if (typeof label === 'string') {
acc.push(titlesFormatter?.(label) ?? label);
}
return acc;
}, []),
intl,
maxListSymbols,
);
Expand Down
2 changes: 1 addition & 1 deletion stories/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"d3-shape": "3.2.0",
"react-hook-form": "7.54.0",
"react-virtualized": "9.22.6",
"react-intl": "7.1.11",
"react-intl": "8.2.0",
"@storybook/react-vite": "10.3.5"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tools/babel-plugin-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"css-selector-tokenizer": "0.7.3",
"find-package-json": "1.2.0",
"fs-extra": "9.1.0",
"postcss": "8.4.33",
"postcss": "8.5.15",
"postcss-color-mod-function": "3.0.3",
"postcss-hover-media-feature": "^1.0.2",
"postcss-import-sync2": "1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion tools/stylelint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"devDependencies": {
"@types/js-levenshtein": "1.1.3",
"postcss": "8.5.14",
"postcss": "8.5.15",
"stylelint": "16.6.1",
"stylelint-config-standard": "36.0.0"
}
Expand Down
Loading