Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into dateTimePickerIssues
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkumbhare116 authored Feb 18, 2024
2 parents c1f2de8 + 0cc7905 commit 6c5f3a3
Show file tree
Hide file tree
Showing 65 changed files with 1,400 additions and 1,393 deletions.
34 changes: 1 addition & 33 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,42 +51,10 @@ jobs:
# https://github.com/danger/danger-js/issues/557#issuecomment-664851950
DANGER_DISABLE_TRANSPILATION: true

wdio:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
form-factor: [tiny, small, medium, large, huge, enormous]
theme: [default, lowlight, fusion]

steps:
- name: Checkout Project
uses: actions/checkout@v3
- name: Setup Project
uses: ./.github/actions/setup
- name: Compile Project Default
run: |
npm run compile:default -- --output-path build/default
if: matrix.theme == 'default'
- name: Compile Project Lowlight
run: |
npm run compile:lowlight -- --output-path build/lowlight
if: matrix.theme == 'lowlight'
- name: Compile Project Fusion
run: |
npm run compile:fusion -- --output-path build/fusion
if: matrix.theme == 'fusion'
- name: Run WDIO Tests for form factor ${{ matrix.form-factor }} and ${{ matrix.theme }}
env:
SITE: build/${{ matrix.theme }}
FORM_FACTOR: ${{ matrix.form-factor }}
run: npm run wdio:${{ matrix.theme }}

release-and-deploy:
runs-on: ubuntu-latest

needs: [build, wdio]
needs: [build]
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout Project
Expand Down
486 changes: 243 additions & 243 deletions package-lock.json

Large diffs are not rendered by default.

114 changes: 57 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "terra-framework",
"private": true,
"version": "0.1.0",
"description": "terra-framework",
"engines": {
"node": "10 || 12 || 14",
"npm": "9"
},
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-framework.git"
},
"workspaces": [
"packages/*"
],
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
},
"license": "Apache-2.0",
"keywords": [
"Cerner",
"Terra",
"Terra Framework",
"terra-framework"
],
"author": "Cerner Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
"private": true,
"workspaces": [
"packages/*"
],
"engines": {
"node": "10 || 12 || 14",
"npm": "9"
},
"browserslist": [
"extends @cerner/browserslist-config-terra"
],
"eslintConfig": {
"extends": "@cerner/terra",
"globals": {
"enzyme":"readonly",
"enzymeIntl":"readonly"
"enzyme": "readonly",
"enzymeIntl": "readonly"
},
"rules": {
"react/forbid-prop-types": "off"
Expand Down Expand Up @@ -60,49 +60,6 @@
}
]
},
"scripts": {
"clean": "npm run clean:root && npm run clean:lib",
"clean:lib": "rm -rf packages/**/lib",
"clean:root": "$(lerna clean --yes || true) && echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'",
"clean:install": "npm run clean && time npm install",
"clean:containers": "echo 'stopping containers:' && docker stop $(docker ps -a -q) && echo 'removing containers:' && docker rm $(docker ps -a -q)",
"clean:obsolete-snapshots": "npm test -- -u",
"compile": "npm run clean:lib && npm run compile:build",
"compile:build": "lerna run compile",
"compile:src": "lerna run compile",
"compile:fusion": "rm -rf ./build; NODE_ENV=production THEME=orion-fusion-theme webpack --mode=production --config webpack.config.js",
"compile:lowlight": "rm -rf ./build; NODE_ENV=production THEME=clinical-lowlight-theme webpack --mode=production --config webpack.config.js",
"compile:default": "rm -rf ./build; NODE_ENV=production webpack --mode=production --config webpack.config.js",
"danger": "danger ci",
"deploy": "npm run compile:prod && gh-pages -d build",
"dependency-markdown": "node scripts/dependency-markdown-generator/DependencyMarkdownGenerator.js",
"docs": "node scripts/root-readme-updater/index.js",
"docs:peerDependencies": "node scripts/peer-dependency-generator/index.js",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"jest:no-coverage": "jest --no-coverage",
"lint": "npm run lint:js && npm run lint:scss:no-warnings && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --ext .js,.jsx . --fix",
"lint:package-json": "terra package-json-lint",
"lint:scss": "stylelint 'packages/**/src/**/*.scss'",
"lint:scss:no-warnings": "stylelint 'packages/**/src/**/*.scss' --quiet",
"prepare-for-release": "terra prepare-for-release",
"postinstall": "npm run compile",
"start": "webpack serve",
"start-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production",
"start-static": "npm run compile:prod && terra express-server --site build",
"test": "npm run lint && npm run jest && npm run wdio",
"test:docker": "npm run lint && npm run jest && npm run wdio:docker",
"wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme redwood-theme",
"wdio:default": "terra wdio",
"wdio:lowlight": "NODE_OPTIONS=--max-old-space-size=2048 terra wdio --themes clinical-lowlight-theme",
"wdio:fusion": "terra wdio --themes orion-fusion-theme",
"wdio:redwood": "terra wdio --themes redwood-theme",
"wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme"
},
"devDependencies": {
"@babel/cli": "^7.5.0",
"@babel/core": "^7.5.0",
Expand Down Expand Up @@ -155,5 +112,48 @@
"webpack-dev-server": "^4.11.1",
"webpack-merge": "^5.1.4",
"xfc": "^1.12.0"
},
"scripts": {
"clean": "npm run clean:root && npm run clean:lib",
"clean:lib": "rm -rf packages/**/lib",
"clean:root": "$(lerna clean --yes || true) && echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'",
"clean:install": "npm run clean && time npm install",
"clean:containers": "echo 'stopping containers:' && docker stop $(docker ps -a -q) && echo 'removing containers:' && docker rm $(docker ps -a -q)",
"clean:obsolete-snapshots": "npm test -- -u",
"compile": "npm run clean:lib && npm run compile:build",
"compile:build": "lerna run compile",
"compile:src": "lerna run compile",
"compile:fusion": "rm -rf ./build; NODE_ENV=production THEME=orion-fusion-theme webpack --mode=production --config webpack.config.js",
"compile:lowlight": "rm -rf ./build; NODE_ENV=production THEME=clinical-lowlight-theme webpack --mode=production --config webpack.config.js",
"compile:default": "rm -rf ./build; NODE_ENV=production webpack --mode=production --config webpack.config.js",
"danger": "danger ci",
"deploy": "npm run compile:prod && gh-pages -d build",
"dependency-markdown": "node scripts/dependency-markdown-generator/DependencyMarkdownGenerator.js",
"docs": "node scripts/root-readme-updater/index.js",
"docs:peerDependencies": "node scripts/peer-dependency-generator/index.js",
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"jest:no-coverage": "jest --no-coverage",
"lint": "npm run lint:js && npm run lint:scss:no-warnings && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --ext .js,.jsx . --fix",
"lint:package-json": "terra package-json-lint",
"lint:scss": "stylelint 'packages/**/src/**/*.scss'",
"lint:scss:no-warnings": "stylelint 'packages/**/src/**/*.scss' --quiet",
"prepare-for-release": "terra prepare-for-release",
"postinstall": "npm run compile",
"start": "webpack serve",
"start-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production",
"start-static": "npm run compile:prod && terra express-server --site build",
"test": "npm run lint && npm run jest && npm run wdio",
"test:docker": "npm run lint && npm run jest && npm run wdio:docker",
"wdio": "terra wdio --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme redwood-theme",
"wdio:default": "terra wdio",
"wdio:lowlight": "NODE_OPTIONS=--max-old-space-size=2048 terra wdio --themes clinical-lowlight-theme",
"wdio:fusion": "terra wdio --themes orion-fusion-theme",
"wdio:redwood": "terra wdio --themes redwood-theme",
"wdio:docker": "terra wdio --disableSeleniumService=true --themes terra-default-theme clinical-lowlight-theme orion-fusion-theme"
}
}
2 changes: 2 additions & 0 deletions packages/terra-abstract-modal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 3.46.0 - (February 16, 2024)

* Added
* Added FocusOn to confine focus within the modal popup.

Expand Down
50 changes: 25 additions & 25 deletions packages/terra-abstract-modal/package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
{
"name": "terra-abstract-modal",
"main": "lib/AbstractModal.js",
"version": "3.45.0",
"version": "3.46.0",
"description": "The abstract modal is a structural component that provides the ability to display portal'd content in a layer above the app.",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-framework.git",
"directory": "packages/terra-abstract-modal"
},
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
},
"homepage": "https://github.com/cerner/terra-framework#readme",
"license": "Apache-2.0",
"keywords": [
"Abstract",
"Cerner",
"Modal",
"Terra",
"terra-abstract-modal",
"Abstract",
"Modal",
"UI"
],
"author": "Cerner Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
},
"homepage": "https://github.com/cerner/terra-framework#readme",
"peerDependencies": {
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-intl": "^2.8.0 || 3 || 4 || 5"
},
"main": "lib/AbstractModal.js",
"files": [
"lib",
"src",
"translations",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"README.md"
],
"dependencies": {
"classnames": "^2.2.5",
"keycode-js": "^3.1.0",
Expand All @@ -38,6 +42,11 @@
"terra-visually-hidden-text": "^2.0.0",
"wicg-inert": "^3.0.0"
},
"peerDependencies": {
"react": "^16.8.5",
"react-dom": "^16.8.5",
"react-intl": "^2.8.0 || 3 || 4 || 5"
},
"devDependencies": {
"terra-icon": "^3.19.0"
},
Expand All @@ -53,14 +62,5 @@
"wdio-lowlight": "cd ../.. && terra wdio --themes clinical-lowlight-theme",
"wdio-fusion": "cd ../.. && terra wdio --themes orion-fusion-theme",
"wdio": "npm run wdio-default && npm run wdio-lowlight && npm run wdio-fusion"
},
"files": [
"lib",
"src",
"translations",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"README.md"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3247,7 +3247,7 @@ exports[`should mount an open modal with shouldTrapFocus set to true 1`] = `
"assignSyncMedium": [Function],
"options": Object {
"async": true,
"ssr": false,
"ssr": true,
},
"read": [Function],
"useMedium": [Function],
Expand Down Expand Up @@ -3310,7 +3310,7 @@ exports[`should mount an open modal with shouldTrapFocus set to true 1`] = `
"assignSyncMedium": [Function],
"options": Object {
"async": true,
"ssr": false,
"ssr": true,
},
"read": [Function],
"useMedium": [Function],
Expand Down
42 changes: 21 additions & 21 deletions packages/terra-aggregator/package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,43 @@
{
"name": "terra-aggregator",
"main": "lib/Aggregator.js",
"version": "4.75.0",
"description": "The Aggregator provides focus-based mechanisms for managing actions across disparate components.",
"author": "Cerner Corporation",
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-framework.git",
"directory": "packages/terra-aggregator"
},
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
},
"homepage": "https://github.com/cerner/terra-framework#readme",
"license": "Apache-2.0",
"keywords": [
"Aggregator",
"Cerner",
"Terra",
"Framework",
"Terra",
"terra-aggregator",
"Aggregator",
"UI"
],
"author": "Cerner Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cerner/terra-framework/issues"
"main": "lib/Aggregator.js",
"files": [
"lib",
"src",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"README.md"
],
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8"
},
"homepage": "https://github.com/cerner/terra-framework#readme",
"peerDependencies": {
"react": "^16.8.5",
"react-dom": "^16.8.5"
},
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8"
},
"scripts": {
"compile": "babel --root-mode upward src --out-dir lib --copy-files",
"lint": "npm run lint:js && npm run lint:scss",
Expand All @@ -42,13 +50,5 @@
"wdio-lowlight": "cd ../.. && terra wdio --themes clinical-lowlight-theme",
"wdio-fusion": "cd ../.. && terra wdio --themes orion-fusion-theme",
"wdio": "npm run wdio-default && npm run wdio-lowlight && npm run wdio-fusion"
},
"files": [
"lib",
"src",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"README.md"
]
}
}
Loading

0 comments on commit 6c5f3a3

Please sign in to comment.