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
10 changes: 10 additions & 0 deletions .changeset/brown-carrots-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@frontify/fondue-components": patch
"@frontify/fondue-charts": patch
"@frontify/fondue": patch
"@frontify/fondue-tokens": patch
"@frontify/fondue-icons": patch
"@frontify/fondue-rte": patch
---

chore: update dependencies
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "root",
"private": true,
"type": "module",
"packageManager": "pnpm@10.28.1+sha512.7d7dbbca9e99447b7c3bf7a73286afaaf6be99251eb9498baefa7d406892f67b879adb3a1d7e687fc4ccc1a388c7175fbaae567a26ab44d1067b54fcb0d6a316",
"packageManager": "pnpm@11.1.1+sha512.d1fdf5f73c617b64fa1a56a81c3c8dfe0e966e33a6010aa256b517ae77be21d93e05affc0de1a83b0e4f29d569f68b446ae8f068cd7247c0bb3df0fb4d7bdf9a",
"engines": {
"node": "^24",
"npm": "<=0"
Expand Down Expand Up @@ -33,16 +33,13 @@
"update": "taze -r -I major",
"create:component": "pnpm --stream --filter {packages/components} create:component"
},
"dependencies": {
"@storybook/mcp": "^0.4.0"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.2.1",
"glob": "^13.0.0",
"taze": "^19.9.2",
"wait-on": "^9.0.3"
"glob": "^13.0.6",
"taze": "^19.11.0",
"wait-on": "^9.0.10"
}
}
17 changes: 9 additions & 8 deletions packages/charts/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

// @ts-expect-error No types available
import frontifyConfig from '@frontify/eslint-config-react';
import headerPlugin from '@tony.ganchev/eslint-plugin-header';
import { defineConfig } from 'eslint/config';
// @ts-expect-error No types available
import noticePlugin from 'eslint-plugin-notice';
// @ts-expect-error No types available
import tailwindcssPlugin from 'eslint-plugin-tailwindcss';

export default defineConfig(
Expand All @@ -25,19 +24,21 @@ export default defineConfig(
},
},
plugins: {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
notice: noticePlugin,
'@tony.ganchev': headerPlugin,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
tailwindcss: tailwindcssPlugin,
},
rules: {
// Copyright header rules
'notice/notice': [
'@tony.ganchev/header': [
'error',
{
template: '/* (c) Copyright Frontify Ltd., all rights reserved. */\n\n',
messages: {
whenFailedToMatch: 'No Frontify copyright header set.',
header: {
commentType: 'block',
lines: [' (c) Copyright Frontify Ltd., all rights reserved. '],
},
trailingEmptyLines: {
minimum: 2,
},
},
],
Expand Down
31 changes: 16 additions & 15 deletions packages/charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,20 @@
"@visx/text": "^3.12.0",
"@visx/tooltip": "^3.12.0",
"@visx/xychart": "^3.12.0",
"lodash-es": "^4.17.23"
"lodash-es": "^4.18.1"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@etchteam/storybook-addon-status": "^8.0.0",
"@frontify/eslint-config-react": "^1.0.15",
"@babel/core": "^7.29.0",
"@etchteam/storybook-addon-status": "^8.1.0",
"@frontify/eslint-config-react": "^1.0.16",
"@frontify/fondue-tokens": "workspace:^",
"@storybook/addon-a11y": "^10.2.0",
"@storybook/addon-docs": "^10.2.0",
"@storybook/addon-links": "^10.2.0",
"@storybook/react-vite": "^10.2.0",
"@storybook/addon-a11y": "^10.3.6",
"@storybook/addon-docs": "^10.3.6",
"@storybook/addon-links": "^10.3.6",
"@storybook/react-vite": "^10.3.6",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@tony.ganchev/eslint-plugin-header": "^3.4.4",
"@types/d3-hierarchy": "^3.1.7",
"@types/d3-scale": "^4.0.9",
"@types/d3-shape": "^3.1.7",
Expand All @@ -85,15 +86,15 @@
"@vitejs/plugin-react": "^4.7.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"autoprefixer": "^10.4.23",
"eslint": "^9.39.2",
"eslint-plugin-notice": "^1.0.0",
"happy-dom": "^20.3.4",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"autoprefixer": "^10.5.0",
"eslint": "^10.3.0",
"eslint-plugin-tailwindcss": "^3.18.2",
"happy-dom": "^20.9.0",
"postcss": "^8.5.14",
"prettier": "^3.8.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^10.2.0",
"storybook": "^10.3.6",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"vite": "^5.4.21",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export const Tooltip = ({
stackingGlyphs = false,
}: TooltipProps) => {
const tooltipContext = useContext(TooltipContext) as TooltipContextType<LineChartDataPoint | BarChartDataPoint>;
// eslint-disable-next-line @eslint-react/static-components
const { containerRef, TooltipInPortal } = useTooltipInPortal({
scroll: true,
});
Expand Down Expand Up @@ -137,6 +138,7 @@ export const Tooltip = ({
)}

{tooltipContext?.tooltipOpen && tooltipContext?.tooltipData && (
// eslint-disable-next-line @eslint-react/static-components
<TooltipInPortal left={tooltipLeft} top={tooltipTop} applyPositionStyle unstyled>
<TooltipContent
title={getHeadingFromDatum(
Expand Down
2 changes: 1 addition & 1 deletion packages/components/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
backgrounds: false,
outline: false,
measure: false,
experimentalComponentsManifest: true,
componentsManifest: true,
experimentalCodeExamples: true,
},
docs: {
Expand Down
18 changes: 9 additions & 9 deletions packages/components/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

// @ts-expect-error No types available
import frontifyConfig from '@frontify/eslint-config-react';
import headerPlugin from '@tony.ganchev/eslint-plugin-header';
import { defineConfig } from 'eslint/config';
// @ts-expect-error No types available
import noticePlugin from 'eslint-plugin-notice';
// @ts-expect-error No types available
import tailwindcssPlugin from 'eslint-plugin-tailwindcss';

export default defineConfig(
Expand Down Expand Up @@ -47,19 +46,21 @@ export default defineConfig(
},
},
plugins: {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
notice: noticePlugin,
'@tony.ganchev': headerPlugin,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
tailwindcss: tailwindcssPlugin,
},
rules: {
// Copyright header rules
'notice/notice': [
'@tony.ganchev/header': [
'error',
{
template: '/* (c) Copyright Frontify Ltd., all rights reserved. */\n\n',
messages: {
whenFailedToMatch: 'No Frontify copyright header set.',
header: {
commentType: 'block',
lines: [' (c) Copyright Frontify Ltd., all rights reserved. '],
},
trailingEmptyLines: {
minimum: 2,
},
},
],
Expand Down Expand Up @@ -101,7 +102,6 @@ export default defineConfig(
rules: {
'react-hooks/rules-of-hooks': 'off',
'@eslint-react/rules-of-hooks': 'off',
'@eslint-react/component-hook-factories': 'off',
'@eslint-react/hooks-extra/prefer-use-state-lazy-initialization': 'off',
'@eslint-community/eslint-comments/disable-enable-pair': 'off',
},
Expand Down
46 changes: 23 additions & 23 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,45 +87,45 @@
"tailwind-variants": "^0.3.1"
},
"devDependencies": {
"@babel/core": "^7.28.6",
"@etchteam/storybook-addon-status": "^8.0.0",
"@frontify/eslint-config-react": "^1.0.15",
"@babel/core": "^7.29.0",
"@etchteam/storybook-addon-status": "^8.1.0",
"@frontify/eslint-config-react": "^1.0.16",
"@frontify/fondue-icons": "workspace:^",
"@frontify/fondue-tokens": "workspace:^",
"@playwright/experimental-ct-react": "^1.57.0",
"@playwright/test": "^1.57.0",
"@storybook/addon-a11y": "^10.2.0",
"@storybook/addon-docs": "^10.2.0",
"@storybook/addon-links": "^10.2.0",
"@storybook/addon-mcp": "^0.1.8",
"@storybook/react-vite": "^10.2.0",
"@playwright/experimental-ct-react": "^1.60.0",
"@playwright/test": "^1.60.0",
"@storybook/addon-a11y": "^10.3.6",
"@storybook/addon-docs": "^10.3.6",
"@storybook/addon-links": "^10.3.6",
"@storybook/addon-mcp": "^0.6.0",
"@storybook/react-vite": "^10.3.6",
"@tailwindcss/forms": "^0.5.11",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@tony.ganchev/eslint-plugin-header": "^3.4.4",
"@types/node": "^24.10.9",
"@types/react": "^18.3.27",
"@types/sinon": "^17.0.4",
"@types/sinon": "^21.0.1",
"@vitejs/plugin-react": "^5.1.2",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"autoprefixer": "^10.4.23",
"autoprefixer": "^10.5.0",
"chalk": "^5.6.2",
"eslint": "^9.39.2",
"eslint-plugin-notice": "^1.0.0",
"eslint": "^10.3.0",
"eslint-plugin-tailwindcss": "^3.18.2",
"glob": "^11.0.0",
"happy-dom": "^20.3.4",
"postcss": "^8.5.6",
"glob": "^13.0.6",
"happy-dom": "^20.9.0",
"postcss": "^8.5.14",
"postcss-import": "^16.1.1",
"prettier": "^3.8.1",
"prettier": "^3.8.3",
"react": "^18.3.1",
"react-docgen-typescript": "^2.2.2",
"react-docgen-typescript": "^2.4.0",
"react-dom": "^18.3.1",
"sass": "^1.97.3",
"sinon": "^21.0.1",
"storybook": "^10.2.0",
"sass": "^1.99.0",
"sinon": "^22.0.0",
"storybook": "^10.3.6",
"tailwindcss": "^3.4.19",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export const DatePickerCalendar = forwardRef<HTMLDivElement, DatePickerCalendarP
DatePickerCalendar.displayName = 'DatePickerCalendar';

const getCustomComponents = (): Partial<CustomComponents> => ({
// eslint-disable-next-line @eslint-react/component-hook-factories
DayButton: ({ day, modifiers, onClick, onMouseEnter, onMouseLeave, ...props }: DayButtonProps): JSX.Element => {
const buttonRef = useRef<HTMLButtonElement>(null);

Expand All @@ -130,7 +129,6 @@ const getCustomComponents = (): Partial<CustomComponents> => ({
</button>
);
},
// eslint-disable-next-line @eslint-react/component-hook-factories
PreviousMonthButton: ({
onClick,
'aria-label': ariaLabel,
Expand Down Expand Up @@ -172,7 +170,6 @@ const getCustomComponents = (): Partial<CustomComponents> => ({
</div>
);
},
// eslint-disable-next-line @eslint-react/component-hook-factories
NextMonthButton: ({
onClick,
'aria-label': ariaLabel,
Expand Down
17 changes: 9 additions & 8 deletions packages/fondue/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@

// @ts-expect-error No types available
import frontifyConfig from '@frontify/eslint-config-react';
import headerPlugin from '@tony.ganchev/eslint-plugin-header';
import { defineConfig } from 'eslint/config';
// @ts-expect-error No types available
import noticePlugin from 'eslint-plugin-notice';
// @ts-expect-error No types available
import tailwindcssPlugin from 'eslint-plugin-tailwindcss';

export default defineConfig(
Expand Down Expand Up @@ -36,19 +35,21 @@ export default defineConfig(
},
},
plugins: {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
notice: noticePlugin,
'@tony.ganchev': headerPlugin,
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
tailwindcss: tailwindcssPlugin,
},
rules: {
// Copyright header rules
'notice/notice': [
'@tony.ganchev/header': [
'error',
{
template: '/* (c) Copyright Frontify Ltd., all rights reserved. */\n\n',
messages: {
whenFailedToMatch: 'No Frontify copyright header set.',
header: {
commentType: 'block',
lines: [' (c) Copyright Frontify Ltd., all rights reserved. '],
},
trailingEmptyLines: {
minimum: 2,
},
},
],
Expand Down
Loading
Loading