diff --git a/.agents/skills/dependabot-rollup/SKILL.md b/.agents/skills/dependabot-rollup/SKILL.md index ac9187f11f9fa2..afcee3666c78df 100644 --- a/.agents/skills/dependabot-rollup/SKILL.md +++ b/.agents/skills/dependabot-rollup/SKILL.md @@ -178,7 +178,24 @@ git branch -D "$ROLLUP_BRANCH" ### Step 6 - Validate the rollup -Run validation from the rollup branch through the repository's Nx workflow: +Deduplicate the lockfile after all approved PRs have been merged and before running immutable installation or Nx validation: + +```bash +yarn dedupe +``` + +If `yarn.lock` changed, commit that change separately so the rollup history records the normalization: + +```bash +if ! git diff --quiet -- yarn.lock; then + git add yarn.lock + git commit -m "chore(deps): dedupe lockfile" +fi + +yarn dedupe --check +``` + +Stop if deduplication or the dedupe check fails. Then run validation from the rollup branch through the repository's Nx workflow: ```bash yarn install --immutable @@ -189,7 +206,7 @@ yarn nx affected \ --head=HEAD ``` -If installation or validation fails, report the failing command and leave the rollup branch checked out for inspection. Do not push the branch, open a PR, or create a tracking issue. +If deduplication, installation, or validation fails, report the failing command and leave the rollup branch checked out for inspection. Do not push the branch, open a PR, or create a tracking issue. ### Step 7 - Publish only after validation @@ -240,4 +257,4 @@ Report: - Never change branches or files before approval, and never proceed when the root `yarn.lock` has local changes. - Never resolve conflicts by blindly choosing an entire side. Resolve only reviewed dependency manifest and lockfile conflicts as described above. - Never bypass failed validation. -- Never create failure-tracking issues or close source Dependabot PRs. +- Never create failure-tracking issues or close source Dependabot PRs directly. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6cd949267f2bb4..0b14a9c7acf907 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -27,18 +27,23 @@ updates: interval: 'weekly' open-pull-requests-limit: 6 versioning-strategy: increase + allow: + - dependency-type: 'development' + update-types: + - 'version-update:semver-minor' + - 'version-update:semver-patch' + # Production dependencies must stay in `allow` so security updates still apply; + # `allow.update-types` is ignored for security updates. Allowing only major version + # updates here, combined with the major version `ignore` rule below, disables all + # routine version updates for production dependencies. + - dependency-type: 'production' + update-types: + - 'version-update:semver-major' ignore: # Ignore major version bumps for scheduled npm version updates - dependency-name: '*' update-types: ['version-update:semver-major'] groups: - production-dependencies: - dependency-type: 'production' - patterns: - - '*' - update-types: - - 'minor' - - 'patch' development-dependencies: dependency-type: 'development' patterns: diff --git a/.github/instructions/dependabot-security-fixes.instructions.md b/.github/instructions/dependabot-security-fixes.instructions.md index 615e475a56c142..4f0bbe3c3bec3b 100644 --- a/.github/instructions/dependabot-security-fixes.instructions.md +++ b/.github/instructions/dependabot-security-fixes.instructions.md @@ -11,14 +11,14 @@ This instruction guide explains how Dependabot automation works for security fix Dependabot is configured to automatically create pull requests for: 1. **Security updates** - Advisory-driven minor and patch updates grouped by ecosystem -2. **npm dependencies** - Weekly minor and patch updates grouped by production or development dependency type +2. **npm dependencies** - Weekly minor and patch updates grouped for development dependencies; routine production version updates are disabled 3. **GitHub Actions** - Weekly minor and patch version and security update groups ## Configuration The Dependabot configuration is defined in `.github/dependabot.yml`: -- **npm dependencies**: Weekly minor and patch version updates grouped into production and development pull requests +- **npm dependencies**: Weekly minor and patch version updates grouped for development dependencies; production dependencies are updated only for security advisories - **GitHub Actions**: Weekly minor and patch version updates grouped separately from security updates - **Security updates**: Minor and patch updates are grouped; major remediations are excluded from groups for isolated review - **Manual rollups**: Maintainers can use `/dependabot-rollup` as a fallback to combine at most 11 eligible non-major updates diff --git a/apps/vr-tests-react-components/src/stories/CalendarCompat.stories.tsx b/apps/vr-tests-react-components/src/stories/CalendarCompat.stories.tsx index 45e76f3e048fc5..ae9950bf0ec2b3 100644 --- a/apps/vr-tests-react-components/src/stories/CalendarCompat.stories.tsx +++ b/apps/vr-tests-react-components/src/stories/CalendarCompat.stories.tsx @@ -7,10 +7,10 @@ import { ArrowLeftRegular, ArrowRightRegular, DismissCircleRegular } from '@flue import type { CalendarProps } from '@fluentui/react-calendar-compat'; import { getStoryVariant, RTL, TestWrapperDecorator } from '../utilities'; -const Calendar = (props: CalendarProps) => { - const today = new Date('3/15/2023'); +const referenceDate = new Date(2023, 2, 15); - return ; +const Calendar = (props: CalendarProps) => { + return ; }; export default { diff --git a/apps/vr-tests-react-components/src/stories/CalendarCompat/utils.tsx b/apps/vr-tests-react-components/src/stories/CalendarCompat/utils.tsx index 79445eb4ad5655..a6563bce45cbc3 100644 --- a/apps/vr-tests-react-components/src/stories/CalendarCompat/utils.tsx +++ b/apps/vr-tests-react-components/src/stories/CalendarCompat/utils.tsx @@ -1,6 +1,16 @@ import * as React from 'react'; import { Calendar } from '@fluentui/react-calendar-compat'; +const referenceDate = new Date('2023-03-15T12:00:00.000Z'); + export const SampleCalendarCompatMultiDayView = ({ daysToSelectInDayView }: { daysToSelectInDayView: number }) => { - return ; + return ( + + ); }; diff --git a/apps/vr-tests-react-components/src/stories/DatepickerCompat/DatePickerCompat.stories.tsx b/apps/vr-tests-react-components/src/stories/DatepickerCompat/DatePickerCompat.stories.tsx index 2da2e85fb499e4..8fc91c3aa77ea0 100644 --- a/apps/vr-tests-react-components/src/stories/DatepickerCompat/DatePickerCompat.stories.tsx +++ b/apps/vr-tests-react-components/src/stories/DatepickerCompat/DatePickerCompat.stories.tsx @@ -5,6 +5,8 @@ import type { StoryParameters } from 'storywright'; import { DatePicker } from '@fluentui/react-datepicker-compat'; import { DARK_MODE, getStoryVariant, HIGH_CONTRAST, TestWrapperDecorator } from '../../utilities'; +const referenceDate = new Date(2023, 2, 15); + export default { title: 'DatePicker Compat', component: DatePicker, @@ -22,7 +24,7 @@ export default { export const Default = () => (
- +
); Default.storyName = 'default'; diff --git a/change/@fluentui-react-charts-828d0be3-5391-49ad-873a-fca533eea8f4.json b/change/@fluentui-react-charts-828d0be3-5391-49ad-873a-fca533eea8f4.json new file mode 100644 index 00000000000000..eee8d99f914e65 --- /dev/null +++ b/change/@fluentui-react-charts-828d0be3-5391-49ad-873a-fca533eea8f4.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "HorizontalBarChart bug fixes", + "packageName": "@fluentui/react-charts", + "email": "132879294+v-baambati@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/package.json b/package.json index 4b7e797a6cd0e4..ac69f9009b53f1 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@actions/core": "1.9.1", "@actions/github": "5.0.3", - "@babel/core": "7.29.0", + "@babel/core": "7.29.6", "@babel/generator": "7.29.1", "@babel/parser": "7.29.3", "@babel/plugin-proposal-class-properties": "7.18.6", @@ -265,7 +265,7 @@ "playwright": "1.56.1", "plop": "2.6.0", "portfinder": "1.0.28", - "postcss": "8.5.10", + "postcss": "8.5.18", "postcss-loader": "4.1.0", "postcss-modules": "4.1.3", "prettier": "2.8.8", diff --git a/packages/charts/react-charts/library/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx b/packages/charts/react-charts/library/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx index 391d9c65d0a560..edaf4320a8617d 100644 --- a/packages/charts/react-charts/library/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx +++ b/packages/charts/react-charts/library/src/components/HorizontalBarChartWithAxis/HorizontalBarChartWithAxis.tsx @@ -466,7 +466,7 @@ export const HorizontalBarChartWithAxis: React.FunctionComponent + + =7, @babel/generator@npm:^7.10.3, @babel/generator@npm:^7.12.13, @babel/generator@npm:^7.23.0, @babel/generator@npm:^7.27.5, @babel/generator@npm:^7.29.0, @babel/generator@npm:^7.29.7, @babel/generator@npm:^7.4.4": +"@babel/generator@npm:>=7, @babel/generator@npm:^7.10.3, @babel/generator@npm:^7.12.13, @babel/generator@npm:^7.23.0, @babel/generator@npm:^7.27.5, @babel/generator@npm:^7.29.0, @babel/generator@npm:^7.29.6, @babel/generator@npm:^7.29.7, @babel/generator@npm:^7.4.4": version: 7.29.7 resolution: "@babel/generator@npm:7.29.7" dependencies: @@ -353,7 +353,7 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.28.6, @babel/helpers@npm:^7.29.7": +"@babel/helpers@npm:^7.29.2, @babel/helpers@npm:^7.29.7": version: 7.29.7 resolution: "@babel/helpers@npm:7.29.7" dependencies: @@ -374,7 +374,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.10.3, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.29.0, @babel/parser@npm:^7.29.7, @babel/parser@npm:^7.4.5": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.10.3, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.4, @babel/parser@npm:^7.29.0, @babel/parser@npm:^7.29.3, @babel/parser@npm:^7.29.7, @babel/parser@npm:^7.4.5": version: 7.29.7 resolution: "@babel/parser@npm:7.29.7" dependencies: @@ -2738,7 +2738,7 @@ __metadata: dependencies: "@actions/core": "npm:1.9.1" "@actions/github": "npm:5.0.3" - "@babel/core": "npm:7.29.0" + "@babel/core": "npm:7.29.6" "@babel/generator": "npm:7.29.1" "@babel/parser": "npm:7.29.3" "@babel/plugin-proposal-class-properties": "npm:7.18.6" @@ -2974,7 +2974,7 @@ __metadata: playwright: "npm:1.56.1" plop: "npm:2.6.0" portfinder: "npm:1.0.28" - postcss: "npm:8.5.10" + postcss: "npm:8.5.18" postcss-loader: "npm:4.1.0" postcss-modules: "npm:4.1.3" prettier: "npm:2.8.8" @@ -18673,9 +18673,9 @@ __metadata: linkType: hard "flatted@npm:^3.1.0, flatted@npm:^3.2.9": - version: 3.3.3 - resolution: "flatted@npm:3.3.3" - checksum: 10c0/e957a1c6b0254aa15b8cce8533e24165abd98fadc98575db082b786b5da1b7d72062b81bfdcd1da2f4d46b6ed93bec2434e62333e9b4261d79ef2e75a10dd538 + version: 3.4.3 + resolution: "flatted@npm:3.4.3" + checksum: 10c0/0b36eba483a68dda5a2c4dda9cab61dc1c57a3bd9bd6942d1c6fac9c94c86fb6295c7167f33f94f72b5a79ccf95bf5c2a0cf99f73888ef858252439e149bf24b languageName: node linkType: hard @@ -20090,8 +20090,8 @@ __metadata: linkType: hard "http-proxy-middleware@npm:^2.0.3": - version: 2.0.9 - resolution: "http-proxy-middleware@npm:2.0.9" + version: 2.0.10 + resolution: "http-proxy-middleware@npm:2.0.10" dependencies: "@types/http-proxy": "npm:^1.17.8" http-proxy: "npm:^1.18.1" @@ -20103,7 +20103,7 @@ __metadata: peerDependenciesMeta: "@types/express": optional: true - checksum: 10c0/8e9032af625f7c9f2f0d318f6cdb14eb725cc16ffe7b4ccccea25cf591fa819bb7c3bb579e0b543e0ae9c73059b505a6d728290c757bff27bae526a6ed11c05e + checksum: 10c0/363cd25fbac18f851af93cea34ac7068656413c9af5af12d3b2a127adc70623d2c0d6e9e12037bbac5a4744b762fd9f89fb16e16c29ad06af2b17766890c1b26 languageName: node linkType: hard @@ -20288,9 +20288,9 @@ __metadata: linkType: hard "immutable@npm:^5.0.2": - version: 5.1.4 - resolution: "immutable@npm:5.1.4" - checksum: 10c0/f1c98382e4cde14a0b218be3b9b2f8441888da8df3b8c064aa756071da55fbed6ad696e5959982508456332419be9fdeaf29b2e58d0eadc45483cc16963c0446 + version: 5.1.9 + resolution: "immutable@npm:5.1.9" + checksum: 10c0/ae7032b60b81b682f3e7e4df13e1ec9a401a603eb81b15bb3e37331ed6666e318c71994c6936e1462eb443d32d04769396562a7e2669da22457c8ba279c03ad2 languageName: node linkType: hard @@ -20506,9 +20506,9 @@ __metadata: linkType: hard "ip-address@npm:^10.0.1": - version: 10.1.0 - resolution: "ip-address@npm:10.1.0" - checksum: 10c0/0103516cfa93f6433b3bd7333fa876eb21263912329bfa47010af5e16934eeeff86f3d2ae700a3744a137839ddfad62b900c7a445607884a49b5d1e32a3d7566 + version: 10.4.0 + resolution: "ip-address@npm:10.4.0" + checksum: 10c0/d7b0bd2624fd861afbae6e49036a9b56f9506eaff7ff38592b7b4492dd5c272b53f5356dc8cc019e318acf29a96c90a3d1af1df761960267d23efa96858270fa languageName: node linkType: hard @@ -22580,8 +22580,8 @@ __metadata: linkType: hard "koa@npm:^2.11.0": - version: 2.16.1 - resolution: "koa@npm:2.16.1" + version: 2.16.4 + resolution: "koa@npm:2.16.4" dependencies: accepts: "npm:^1.3.5" cache-content-type: "npm:^1.0.0" @@ -22606,7 +22606,7 @@ __metadata: statuses: "npm:^1.5.0" type-is: "npm:^1.6.16" vary: "npm:^1.1.2" - checksum: 10c0/66beb2e4d7968e1081341ea9a9c1f7f3fad4aaa0475c813f1be79ed84c345d9d45de9e34eeee3cdd790fc81ee5efbde2223d49fd5da571e29b0b3bed6baafb8e + checksum: 10c0/bf21ffcf409bf847dca3f60349fc64a3b33e725e0ced3f405192a22fa51b4211cac29748f51df9674df82ca87691b3bdda64bbf80755ba6cdc6b2f35e878b0f5 languageName: node linkType: hard @@ -22646,12 +22646,12 @@ __metadata: linkType: hard "launch-editor@npm:^2.6.0": - version: 2.6.1 - resolution: "launch-editor@npm:2.6.1" + version: 2.14.1 + resolution: "launch-editor@npm:2.14.1" dependencies: - picocolors: "npm:^1.0.0" - shell-quote: "npm:^1.8.1" - checksum: 10c0/82d0bd9a44e7a972157719e63dac1b8196db6ec7066c1ec57a495f6c3d6e734f3c4da89549e7b33eb3b0356668ad02a9e7782b6733f5ebd7a61b7c5f635a3ee9 + picocolors: "npm:^1.1.1" + shell-quote: "npm:^1.8.4" + checksum: 10c0/bb0ab182086afaf1c391abd38d6fc9d5391cb43d0c2da1d96176f79e9995635cdf34dcfd8df3f756bb82d7bbbb7d37014d5eb312f337350889c0cff92db53dab languageName: node linkType: hard @@ -24886,12 +24886,12 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.11": - version: 3.3.12 - resolution: "nanoid@npm:3.3.12" +"nanoid@npm:^3.3.12": + version: 3.3.16 + resolution: "nanoid@npm:3.3.16" bin: nanoid: bin/nanoid.cjs - checksum: 10c0/ba142b7b39e11e80c16dd74b0365d407880c87c1cf7e1480956981ae940ee36060fa5b6f092cd1e315184dd19244c657bd017d03327bd3c62247d691c5e8edfb + checksum: 10c0/bbf2dcffe22d2b62d16de2711752070b539c0f644c7916f823ad6521986b2078cbe524f2d6240f58c46e9141ea0c7b87a029e100c0f7f175228cacaf30e41bba languageName: node linkType: hard @@ -25068,9 +25068,9 @@ __metadata: linkType: hard "node-forge@npm:^1": - version: 1.3.3 - resolution: "node-forge@npm:1.3.3" - checksum: 10c0/9c6f53b0ebb34865872cf62a35b0aef8fb337e2efc766626c2e3a0040f4c02933bf29a62ba999eb44a2aca73bd512c4eda22705a47b94654b9fb8ed53db9a1db + version: 1.4.0 + resolution: "node-forge@npm:1.4.0" + checksum: 10c0/67330a5f1f95257a4c8a93b7d555abe87b5f15e350123aa396c97a21a8ca94f9c6549008eb2c73668a91e0d7e3a905785acbd8f8bd0751c29401292011f8f8e1 languageName: node linkType: hard @@ -26612,14 +26612,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.5.10, postcss@npm:^8.1.4, postcss@npm:^8.4.33, postcss@npm:^8.5.3": - version: 8.5.10 - resolution: "postcss@npm:8.5.10" +"postcss@npm:8.5.18, postcss@npm:^8.1.4, postcss@npm:^8.4.33, postcss@npm:^8.5.3": + version: 8.5.18 + resolution: "postcss@npm:8.5.18" dependencies: - nanoid: "npm:^3.3.11" + nanoid: "npm:^3.3.12" picocolors: "npm:^1.1.1" source-map-js: "npm:^1.2.1" - checksum: 10c0/c592dffa0c4873b401f01955b265538d9942f425040df5e2b8f0ad34c83773a792ea0fa5859ccc99cfb5b955b4ebff118ab7056315388dc83b107b0fa8313576 + checksum: 10c0/6fbab24a457ca5b90d423c333d0bab13e6646fda646e83235eed892f9e4f2dc6c50689ddc5ac1632fc085be2e096d2e8e03779ac092de6353e1cfcbbc3681685 languageName: node linkType: hard @@ -29952,11 +29952,11 @@ __metadata: linkType: hard "systeminformation@npm:^5.3.3": - version: 5.30.7 - resolution: "systeminformation@npm:5.30.7" + version: 5.33.1 + resolution: "systeminformation@npm:5.33.1" bin: systeminformation: lib/cli.js - checksum: 10c0/62588fabe62ec258d56055e609a075fe1eb1da2f090adc8c53e025ad8947d6eb9d3d2889646973fafba9528e06958decbb1def2b989af0363a952c5aff65fbae + checksum: 10c0/7a0a400db03539fa2163033eba8dbb04f3c2c6357b9e8720dd5abef8a20d6a7b85b943b3fe028bbfa0e9d01b8982e658bedb7c5e200eabdf2546beb002872f8e conditions: (os=darwin | os=linux | os=win32 | os=freebsd | os=openbsd | os=netbsd | os=sunos | os=android) languageName: node linkType: hard @@ -30085,15 +30085,15 @@ __metadata: linkType: hard "tar@npm:^7.5.4, tar@npm:^7.5.8": - version: 7.5.20 - resolution: "tar@npm:7.5.20" + version: 7.5.22 + resolution: "tar@npm:7.5.22" dependencies: "@isaacs/fs-minipass": "npm:^4.0.0" chownr: "npm:^3.0.0" minipass: "npm:^7.1.2" minizlib: "npm:^3.1.0" yallist: "npm:^5.0.0" - checksum: 10c0/4df4335c6d958b76adf1eaced55889dec3ca1c51f450658a074af80694bb0d9c154a8e93fdf4da617372d1575b121295379993961bbe4cd4b0867c0e5689846a + checksum: 10c0/1311f6be85a8157ac4c9147bae43e13923d2a1aae15e4aa1bd5239e4e03d2cf53cfe103dde7f35832fbb4c938b042856bc8e9a0afd29abd05e2d1608788c4fea languageName: node linkType: hard @@ -31112,9 +31112,9 @@ __metadata: linkType: hard "undici@npm:^7.19.0": - version: 7.25.0 - resolution: "undici@npm:7.25.0" - checksum: 10c0/02a0b45dc14eb91bc488948750232450fe52f27a6b08086d6ac6736bb47908d600fe3a96d346f12eab24729c782e5c2f693bc8e8eca6696d4e4c09b1ed4cb4ec + version: 7.29.0 + resolution: "undici@npm:7.29.0" + checksum: 10c0/85ea96e91e7f3de24de678cbbc54230fdd641a3b0643005f2aef044af1f1a2db8fbecb88b28e6fa78bb41ffeafda4479b57075b6b6ab92beac4b7b5ab53f9b10 languageName: node linkType: hard @@ -32189,13 +32189,13 @@ __metadata: linkType: hard "websocket-driver@npm:>=0.5.1, websocket-driver@npm:^0.7.4": - version: 0.7.4 - resolution: "websocket-driver@npm:0.7.4" + version: 0.7.5 + resolution: "websocket-driver@npm:0.7.5" dependencies: http-parser-js: "npm:>=0.5.1" safe-buffer: "npm:>=5.1.0" websocket-extensions: "npm:>=0.1.1" - checksum: 10c0/5f09547912b27bdc57bac17b7b6527d8993aa4ac8a2d10588bb74aebaf785fdcf64fea034aae0c359b7adff2044dd66f3d03866e4685571f81b13e548f9021f1 + checksum: 10c0/843a3c9f529ce07f2721829f70f62986247525ab22625e857b69da13dc90967bacfe57b85e196801b565cd797e309ddd5b06fa8435732e34e8a8ab6201d7abed languageName: node linkType: hard