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

[BD-46] sync alpha branch with master #2337

Merged
merged 20 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6118e2c
feat: add new variants to Tabs component and fix nested links (#2222)
PKulkoRaccoonGang May 17, 2023
5d10aab
feat: upgraded to node v18, added .nvmrc and updated workflows (#2227)
Mashal-m May 18, 2023
4f8fc5c
feat: added variants for the Select Menu component (#2291)
PKulkoRaccoonGang May 18, 2023
d9f6650
build: upgrade netlify node version to 18 (#2316)
viktorrusakov May 18, 2023
0bcb87d
docs: added Leave Feedback link (#2313)
PKulkoRaccoonGang May 19, 2023
cf8a387
fix: fixed double tab and styles clickable card component (#2290)
PKulkoRaccoonGang May 19, 2023
ca1846c
chore: update browserslist DB (#2322)
edx-requirements-bot May 22, 2023
2d6c050
fix: rename icons that conflict with components' names (#2315)
PKulkoRaccoonGang May 22, 2023
63a83c5
feat: allows users to set loading type to images on CardImageCap comp…
May 25, 2023
ff813e4
fix: resolve styles for using Button as a MailtoLink (#2326)
PKulkoRaccoonGang May 26, 2023
ba09caa
docs: added missing props to the documentation site (#2329)
PKulkoRaccoonGang May 28, 2023
64d9397
feat: allows users to set loading type to images on CardImageCap comp…
May 29, 2023
8fde766
Merge pull request #2330 from openedx/SEO-478
ochavarria2u May 29, 2023
aa66ea7
chore: update browserslist DB (#2332)
edx-requirements-bot May 30, 2023
18a1f7f
fix: typo for bootstrap link and responsive docs
MaxFrank13 May 31, 2023
95b10ab
Merge pull request #2335 from openedx/mfrank/Stack-docs-typo
MaxFrank13 May 31, 2023
0a2fbb3
fix: paragon vulnerablities resolution (#1649)
BilalQamar95 Jun 1, 2023
60dccb7
Merge branch 'master' into vrusakov/sync-alpha
viktorrusakov Jun 1, 2023
9533544
feat: add tokens for `Tab` and `Nav` components
viktorrusakov Jun 1, 2023
02b576e
feat: make color-yiq function a11y-friendly
viktorrusakov Jun 1, 2023
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
92 changes: 48 additions & 44 deletions .github/workflows/analyze-dependents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,193 +11,193 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout edx/credentials-themes
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/credentials-themes
path: dependent-usage-analyzer/.projects/credentials-themes
- name: Checkout edx/credentials
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/credentials
path: dependent-usage-analyzer/.projects/credentials
- name: Checkout edx/edx-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-enterprise
path: dependent-usage-analyzer/.projects/edx-enterprise
- name: Checkout edx/edx-ora2
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-ora2
path: dependent-usage-analyzer/.projects/edx-ora2
- name: Checkout edx/edx-platform
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/edx-platform
path: dependent-usage-analyzer/.projects/edx-platform
- name: Checkout edx/frontend-app-account
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-account
path: dependent-usage-analyzer/.projects/frontend-app-account
- name: Checkout edx/frontend-app-admin-portal
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-admin-portal
path: dependent-usage-analyzer/.projects/frontend-app-admin-portal
- name: Checkout edx/frontend-app-authn
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-authn
path: dependent-usage-analyzer/.projects/frontend-app-authn
- name: Checkout edx/frontend-app-communications
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-communications
path: dependent-usage-analyzer/.projects/frontend-app-communications
- name: Checkout edx/frontend-app-course-authoring
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-course-authoring
path: dependent-usage-analyzer/.projects/frontend-app-course-authoring
- name: Checkout edx/frontend-app-discussions
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-discussions
path: dependent-usage-analyzer/.projects/frontend-app-discussions
- name: Checkout edx/frontend-app-ecommerce
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-ecommerce
path: dependent-usage-analyzer/.projects/frontend-app-ecommerce
- name: Checkout edx/frontend-app-enterprise-public-catalog
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-enterprise-public-catalog
path: dependent-usage-analyzer/.projects/frontend-app-enterprise-public-catalog
- name: Checkout edx/frontend-app-gradebook
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-gradebook
path: dependent-usage-analyzer/.projects/frontend-app-gradebook
- name: Checkout edx/frontend-app-learner-portal-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-portal-enterprise
path: dependent-usage-analyzer/.projects/frontend-app-learner-portal-enterprise
- name: Checkout edx/frontend-app-learner-portal-programs
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-portal-programs
path: dependent-usage-analyzer/.projects/frontend-app-learner-portal-programs
- name: Checkout edx/frontend-app-learner-record
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-record
path: dependent-usage-analyzer/.projects/frontend-app-learner-record
- name: Checkout edx/frontend-app-learning
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learning
path: dependent-usage-analyzer/.projects/frontend-app-learning
- name: Checkout edx/frontend-app-library-authoring
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-library-authoring
path: dependent-usage-analyzer/.projects/frontend-app-library-authoring
- name: Checkout edx/frontend-app-ora-grading
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-ora-grading
path: dependent-usage-analyzer/.projects/frontend-app-ora-grading
- name: Checkout edx/frontend-app-payment
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-payment
path: dependent-usage-analyzer/.projects/frontend-app-payment
- name: Checkout edx/frontend-app-profile
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-profile
path: dependent-usage-analyzer/.projects/frontend-app-profile
- name: Checkout edx/frontend-app-program-console
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-program-console
path: dependent-usage-analyzer/.projects/frontend-app-program-console
- name: Checkout edx/frontend-app-publisher
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-publisher
path: dependent-usage-analyzer/.projects/frontend-app-publisher
- name: Checkout edx/frontend-app-support-tools
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-support-tools
path: dependent-usage-analyzer/.projects/frontend-app-support-tools
- name: Checkout edx/frontend-component-cookie-policy-banner
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-cookie-policy-banner
path: dependent-usage-analyzer/.projects/frontend-component-cookie-policy-banner
- name: Checkout edx/frontend-component-header-edx
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-header-edx
path: dependent-usage-analyzer/.projects/frontend-component-header-edx
- name: Checkout edx/frontend-component-header
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-component-header
path: dependent-usage-analyzer/.projects/frontend-component-header
- name: Checkout edx/frontend-enterprise
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-enterprise
path: dependent-usage-analyzer/.projects/frontend-enterprise
- name: Checkout edx/frontend-learner-portal-base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-learner-portal-base
path: dependent-usage-analyzer/.projects/frontend-learner-portal-base
- name: Checkout edx/frontend-lib-content-components
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-lib-content-components
path: dependent-usage-analyzer/.projects/frontend-lib-content-components
- name: Checkout edx/frontend-lib-special-exams
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-lib-special-exams
path: dependent-usage-analyzer/.projects/frontend-lib-special-exams
- name: Checkout edx/frontend-platform
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-platform
path: dependent-usage-analyzer/.projects/frontend-platform
- name: Checkout edx/frontend-template-application
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-template-application
path: dependent-usage-analyzer/.projects/frontend-template-application
- name: Checkout edx/prospectus
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/prospectus
path: dependent-usage-analyzer/.projects/prospectus
token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
- name: Checkout edx/studio-frontend
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/studio-frontend
path: dependent-usage-analyzer/.projects/studio-frontend
- name: Checkout edx/frontend-app-communications
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-communications
path: dependent-usage-analyzer/.projects/frontend-app-communications
- name: Checkout edx/frontend-app-learner-dashboard
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: edx/frontend-app-learner-dashboard
path: dependent-usage-analyzer/.projects/frontend-app-learner-dashboard
Expand All @@ -219,11 +219,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
working-directory: dependent-usage-analyzer
Expand Down Expand Up @@ -255,13 +257,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Download analysis output
uses: actions/download-artifact@v2
with:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,17 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Nodejs
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Check Types
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lockfileversion-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ on:

jobs:
version-check:
uses: openedx/.github/.github/workflows/lockfileversion-check.yml@master
uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master
8 changes: 5 additions & 3 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Validate package-lock.json changes
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- name: Install dependencies
run: npm ci
- name: Lint
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
14 changes: 13 additions & 1 deletion icons/copy-mui-icons.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
const fs = require('fs');

// These name conflict with Paragon's component names, so we rename them to {iconName}_icon.
const CONFLICTING_ICONS = [
'badge',
'check_box',
'image',
'input',
'menu',
'spinner',
'tab',
]

/*
Copies all sharp svg mui icons from @material-icons package to svg directory skipping existing ones.
*/
const muiIcons = fs.readdirSync('../node_modules/@material-icons/svg/svg/');
muiIcons.forEach((iconName) => {
if (!fs.existsSync(`./svg/${iconName}.svg`) && !fs.existsSync(`./svg/${iconName.replaceAll('-', '').replaceAll('_', '')}.svg`)) {
fs.copyFileSync(`../node_modules/@material-icons/svg/svg/${iconName}/sharp.svg`, `./svg/${iconName}.svg`);
const resolvedName = CONFLICTING_ICONS.includes(iconName) ? `${iconName}_icon` : iconName;
fs.copyFileSync(`../node_modules/@material-icons/svg/svg/${iconName}/sharp.svg`, `./svg/${resolvedName}.svg`);
}
})
5 changes: 1 addition & 4 deletions icons/es5/0.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import * as React from "react";

function Svg0(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
width: 24,
Expand All @@ -21,5 +19,4 @@ function Svg0(props) {
fill: "currentColor"
}));
}

export default Svg0;
5 changes: 1 addition & 4 deletions icons/es5/10K.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
import * as React from "react";

function Svg10K(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
Expand All @@ -14,5 +12,4 @@ function Svg10K(props) {
fill: "currentColor"
}));
}

export default Svg10K;
Loading