Skip to content
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

[material-ui][Badge] Deprecated components and componentsProps props for v6 #41399

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4a29139
badge.json
skmanoj322 Feb 20, 2024
d3cee36
badge test where added
skmanoj322 Feb 20, 2024
d0fc9ab
modified - badge folder
skmanoj322 Feb 22, 2024
a637de5
codemod update
skmanoj322 Feb 23, 2024
e2c5f06
codemod changes
skmanoj322 Feb 23, 2024
763a2d9
minnor changes
skmanoj322 Mar 4, 2024
f816919
final-commit-1115
skmanoj322 Mar 4, 2024
1959307
codemod-changes
skmanoj322 Mar 4, 2024
06ece7a
badge correction
skmanoj322 Mar 4, 2024
c7d9c3e
adjusted codemon code
skmanoj322 Mar 5, 2024
d3cb8d2
Merge branch 'master' of https://github.com/mui/material-ui into mano…
skmanoj322 Mar 5, 2024
d36a63a
removed autocomplete from md
skmanoj322 Mar 5, 2024
9a7e6b8
Merge branch 'master' into manoj/badge-v6-deprecations
skmanoj322 Mar 12, 2024
2526e56
added theme test
skmanoj322 Mar 12, 2024
ddc381f
updated expected.js
skmanoj322 Mar 12, 2024
1b85030
restored the test cases
skmanoj322 Mar 12, 2024
44c33b1
updated theme.expected.js
skmanoj322 Mar 12, 2024
5525e7f
modified actual.js
skmanoj322 Mar 13, 2024
f025c7f
modified expected.js
skmanoj322 Mar 13, 2024
2e65e81
modified readme
skmanoj322 Mar 14, 2024
ddcf911
changed test file
skmanoj322 Mar 14, 2024
c8dfeb0
[docs] Update the versions dropdown to show v6 (#41557)
mnajdova Mar 20, 2024
deb7a6d
[blog] Add post about remote (#41565)
danilo-leal Mar 20, 2024
6888897
[blog] Blog post with MUI X v7.0.0 annoucement (#41563) (#41604)
cherniavskii Mar 22, 2024
39fe215
[docs] Add notification for MUI X v7 blog post (#41587) (#41605)
cherniavskii Mar 22, 2024
bd8ced4
[website] Update pricing table (#41606)
cherniavskii Mar 22, 2024
168604e
Merge branch 'master' into manoj/badge-v6-deprecations
skmanoj322 Mar 22, 2024
71992c1
correct test cases
skmanoj322 Mar 25, 2024
1f419af
ran pnpm docs:api
skmanoj322 Mar 25, 2024
4a9e8c2
updated readme codemod
skmanoj322 Mar 25, 2024
1b9818b
Revert "updated readme codemod"
skmanoj322 Mar 25, 2024
ad0fbd7
Revert "ran pnpm docs:api"
skmanoj322 Mar 25, 2024
0583e74
Revert "correct test cases"
skmanoj322 Mar 25, 2024
c56b396
Revert "Merge branch 'master' into manoj/badge-v6-deprecations"
skmanoj322 Mar 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
132 changes: 30 additions & 102 deletions .circleci/config.yml

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"installCommand": "install:codesandbox",
"node": "18",
"packages": [
"packages/docs-utils",
"packages/markdown",
"packages/mui-babel-macros",
"packages/mui-base",
Expand All @@ -12,6 +13,7 @@
"packages/mui-icons-material",
"packages/mui-joy",
"packages/mui-lab",
"packages/mui-material-next",
"packages/mui-material-nextjs",
"packages/mui-material",
"packages/mui-private-theming",
Expand All @@ -21,7 +23,6 @@
"packages/mui-system",
"packages/mui-types",
"packages/mui-utils",
"packages-internal/docs-utils",
"packages-internal/scripts"
],
"publishDirectory": {
Expand All @@ -31,11 +32,11 @@
"@mui/docs": "packages/mui-docs/build",
"@mui/icons-material": "packages/mui-icons-material/build",
"@mui/internal-babel-macros": "packages/mui-babel-macros",
"@mui/internal-docs-utils": "packages-internal/docs-utils",
"@mui/internal-markdown": "packages/markdown",
"@mui/internal-scripts": "packages-internal/scripts",
"@mui/joy": "packages/mui-joy/build",
"@mui/lab": "packages/mui-lab/build",
"@mui/material-next": "packages/mui-material-next/build",
"@mui/material-nextjs": "packages/mui-material-nextjs/build",
"@mui/material": "packages/mui-material/build",
"@mui/private-theming": "packages/mui-private-theming/build",
Expand All @@ -44,7 +45,8 @@
"@mui/styles": "packages/mui-styles/build",
"@mui/system": "packages/mui-system/build",
"@mui/types": "packages/mui-types/build",
"@mui/utils": "packages/mui-utils/build"
"@mui/utils": "packages/mui-utils/build",
"@mui-internal/docs-utils": "packages/docs-utils"
},
"sandboxes": [
"/examples/material-ui-cra-ts",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
uses: github/codeql-action/init@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
languages: typescript
config-file: ./.github/codeql/codeql-config.yml
Expand All @@ -30,4 +30,4 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
uses: github/codeql-action/analyze@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@3ab4101902695724f9365a384f86c1074d94e18c # v3.24.7
uses: github/codeql-action/upload-sarif@8a470fddafa5cbb6266ee11b37ef4d8aae19c571 # v3.24.6
with:
sarif_file: results.sarif
11 changes: 7 additions & 4 deletions .github/workflows/vale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
continue-on-error: true # GitHub Action flag needed until https://github.com/errata-ai/vale-action/issues/89 is fixed
continue-on-error: true
with:
fail_on_error: true
reporter: github-pr-check
token: ${{secrets.GITHUB_TOKEN}}
reporter: github-pr-review
files: docs/data
env:
# Required, set by GitHub actions automatically:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
35 changes: 20 additions & 15 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
# Vale config. More information at https://vale.sh/docs/topics/config/
# Config vale. More information at https://docs.errata.ai/vale/config
StylesPath = .github/styles
MinAlertLevel = warning
MinAlertLevel = suggestion

# The docs/mui-vale.zip is generated by `pnpm docs:zipRules`
Packages = Google, docs/mui-vale.zip
# The docs/writing-rules.zip is generated by `pnpm docs:zipRules`
Packages = Google, docs/writing-rules.zip

[*.md]
# Ignore code injections that start with {{...
# Ignore code injection which start with {{...
BlockIgnores = {{.*

BasedOnStyles = MUI
BasedOnStyles = writing-rules

# Google errors:
Google.GenderBias = YES # No Gender bias
# Google warings:
Google.FirstPerson = YES # Avoid first-person
Google.We = YES # Avoid first-person plural
Google.Will = YES # Avoid future tense
Google.OxfordComma = YES # Prefer Oxford comma
# Google:
Google.FirstPerson = YES # Avoid first-person pronouns such as I, me, ...'.
Google.GenderBias = YES # Avoid gendered profession
Google.OxfordComma = YES
Google.Quotes = YES # Commas and periods go inside quotation marks.
Google.Spelling = YES # In general, use American spelling (word ending with 'nised' or 'logue')
Google.We = YES # Try to avoid using first-person plural
Google.Latin = YES # Try to avoid latin expressions e.g. and i.e.

[*CHANGELOG*.md]
MUI.CorrectReferenceAllCases = NO
# Those rules are not repected a lot
# Google.Passive = YES # In general, use active voice instead of passive voice.
Google.Will = YES # Avoid using will

# False positives with "1st" nearly no use in our doc
# Google.Units = YES # Put a nonbreaking space between the number and the unit
Loading
Loading