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

angular 17 update #2704

Closed
wants to merge 95 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
d6d09d2
chore: create 10.x.x LTS branch
johnhwhite Jul 2, 2024
94677c1
chore: split alert, checkbox, and action button styles into default a…
Blackbaud-ErikaMcVey Jul 2, 2024
26c36f5
fix(code-examples): satisfy ESLint rules for action button and AG Gri…
Blackbaud-SteveBrush Jul 2, 2024
7d0d79b
fix(code-examples): satisfy ESLint rules for colorpicker code example…
Blackbaud-SteveBrush Jul 2, 2024
e222a73
fix(code-examples): satisfy ESLint rules for datetime code examples (…
Blackbaud-SteveBrush Jul 3, 2024
3d61fe0
feat(components/icon): add internal support for SVG-based icons (#2433)
Blackbaud-PaulCrowder Jul 3, 2024
8768cf9
fix(components/forms): file attachment components report file size er…
Blackbaud-CoreyArcher Jul 3, 2024
ffa7946
fix(components/forms): improve default value handling for heading sty…
Blackbaud-CoreyArcher Jul 8, 2024
8927671
feat(components/help-inline): update documentation and deprecate `ind…
Blackbaud-SandhyaRajasabeson Jul 8, 2024
febfde3
chore: release 10.34.0 (#2426)
blackbaud-sky-build-user Jul 8, 2024
6bd1182
fix(code-examples): satisfy ESLint rules for core, forms, indicators,…
Blackbaud-SteveBrush Jul 9, 2024
84e1382
fix(components/phone-field): required phone field controls are not "t…
Blackbaud-SteveBrush Jul 9, 2024
082130e
build: update implicit dependencies for testing (#2449)
johnhwhite Jul 9, 2024
a3d1a96
ci: update changelog cherry-pick message (#2451)
johnhwhite Jul 9, 2024
b228868
chore(components/indicators): split expansion indicator styles (#2453)
Blackbaud-PaulCrowder Jul 10, 2024
73a4763
fix(code-examples): satisfy ESLint rules for layout, lists, lookup, m…
Blackbaud-SteveBrush Jul 10, 2024
3b3823c
ci: fix cherry-pick title (#2455)
johnhwhite Jul 10, 2024
4d2d70a
fix(components/datetime): ignore extraneous properties when setting c…
Blackbaud-SteveBrush Jul 10, 2024
cea996d
feat(components/ag-grid): add support for AG Grid 31.3.2 (#2450)
johnhwhite Jul 10, 2024
e08d883
revert(components/help-inline): stop propagation of click events (#2458)
Blackbaud-SteveBrush Jul 10, 2024
1c383b1
ci: fix cherry-pick title, one line (#2461)
johnhwhite Jul 10, 2024
ec07802
chore(components/help-inline): split help-inline styles (#2464)
Blackbaud-PaulCrowder Jul 11, 2024
bbfb330
feat(components/datetime): add support for additional date formats to…
Blackbaud-SteveBrush Jul 11, 2024
a715c8a
ci: fix cherry-pick title (#2470)
johnhwhite Jul 11, 2024
8a173ce
fix(components/tiles): do not expand/collapse content when help inlin…
Blackbaud-SteveBrush Jul 11, 2024
67da79b
chore: release 10.35.0 (#2445)
blackbaud-sky-build-user Jul 11, 2024
61c234e
chore(components/indicators): split key info and illustration styles …
Blackbaud-PaulCrowder Jul 11, 2024
8607208
fix(components/icon): provide HTTP with interceptors (#2474)
Blackbaud-PaulCrowder Jul 12, 2024
6e8fff6
chore: release 10.35.1 (#2476)
blackbaud-sky-build-user Jul 12, 2024
dc01eea
feat(components/icon): add icon stack visual tests (#2479)
Blackbaud-SandhyaRajasabeson Jul 15, 2024
c50280b
feat(components/layout): add heading and inline help inputs to box co…
Blackbaud-CoreyArcher Jul 15, 2024
2fbfbef
fix(components/packages): switch to `@ag-grid-devtools/cli` for AG Gr…
johnhwhite Jul 15, 2024
198d895
feat(components/icon): use native fetch() for retrieving icon sprite …
Blackbaud-PaulCrowder Jul 15, 2024
b0496dc
chore: release 10.36.0 (#2481)
blackbaud-sky-build-user Jul 15, 2024
8674e08
chore(components/indicators): move help inline and icon code examples…
Blackbaud-SandhyaRajasabeson Jul 16, 2024
9a720f2
feat(components/ag-grid): add support for AG Grid 31.3.4 (#2491)
johnhwhite Jul 16, 2024
03e4f54
chore: release 10.37.0 (#2494)
blackbaud-sky-build-user Jul 16, 2024
4d96f27
chore(components/icon): icon stack overrides visual tests (#2496)
Blackbaud-SandhyaRajasabeson Jul 16, 2024
a01a108
fix(components/lists): reorderable repeater will not throw a warning …
Blackbaud-TrevorBurch Jul 16, 2024
b34086f
fix(sdk/testing): `expectAsync` type includes async matchers from Jas…
Blackbaud-TrevorBurch Jul 16, 2024
dbdeb0d
fix(components/layout): box headingHidden input shouldn't hide contro…
Blackbaud-CoreyArcher Jul 16, 2024
6212fa7
fix(components/help-inline): add schematic for missing popovers peer …
Blackbaud-TrevorBurch Jul 16, 2024
f2076c9
chore: release 10.37.1 (#2500)
blackbaud-sky-build-user Jul 16, 2024
27498a2
fix(components/packages): additional error handling for AG Grid schem…
johnhwhite Jul 17, 2024
c7ca3e0
chore: release 10.37.2 (#2511)
blackbaud-sky-build-user Jul 17, 2024
2a5a1d1
fix(components/layout): remove onpush change detection from descripti…
Blackbaud-CoreyArcher Jul 17, 2024
82d1ba4
chore: release 10.37.3 (#2517)
blackbaud-sky-build-user Jul 17, 2024
39a8bca
build: remove sandbox override (#2510)
johnhwhite Jul 17, 2024
9c78db4
chore(components/indicators): chevron split scss stylesheets (#2520)
Blackbaud-SandhyaRajasabeson Jul 18, 2024
bc029bd
fix(components/indicators): hide illustration while loading (#2526)
Blackbaud-PaulCrowder Jul 22, 2024
09092d7
fix(components/tiles): remove `::ng-deep` from tile styles (#2527)
Blackbaud-PaulCrowder Jul 22, 2024
d25e8cb
chore: release 10.37.4 (#2531)
blackbaud-sky-build-user Jul 22, 2024
db223ad
feat(components/core): add scroll shadow directive (#2537)
Blackbaud-TrevorBurch Jul 23, 2024
e9309cf
chore: release 10.38.0 (#2544)
blackbaud-sky-build-user Jul 24, 2024
deab22a
fix(components/lists): remove `::ng-deep` from sort styles (#2538)
Blackbaud-PaulCrowder Jul 24, 2024
73f9e68
fix(components/lookup): lookup aria labels are now set appropriately …
Blackbaud-TrevorBurch Jul 25, 2024
3c8b6b7
feat(components/icon): upgrade icons library to 7.5.0 (#2549)
Blackbaud-TrevorBurch Jul 25, 2024
55e7030
fix(components/help-inline): set `aria-controls` on help inline butto…
Blackbaud-SteveBrush Jul 25, 2024
f0bf189
chore: release 10.39.0 (#2546)
blackbaud-sky-build-user Jul 25, 2024
4c6e357
fix(components/lists): repeater focus styles show on focus-visible in…
Blackbaud-TrevorBurch Jul 26, 2024
93404bf
feat(components/forms): improve file attachments error messaging for …
Blackbaud-CoreyArcher Jul 26, 2024
ae73ccb
chore: release 10.40.0 (#2559)
blackbaud-sky-build-user Jul 26, 2024
0337f78
fix(components/modals): `SkyModalTestingController.closeTopModal` pas…
Blackbaud-SteveBrush Jul 29, 2024
1cd7b1e
feat: move help inline features out of developer preview for key info…
Blackbaud-SteveBrush Jul 30, 2024
944c329
fix(components/layout): fix key info display in page summary (#2576)
Blackbaud-PaulCrowder Jul 31, 2024
682dc3b
chore: release 10.41.0 (#2568)
blackbaud-sky-build-user Aug 1, 2024
79ed2d0
fix(components/router): fix `SkyHrefHarness` to find elements when `s…
Blackbaud-SteveBrush Aug 2, 2024
fc631c9
chore: release 10.41.1 (#2582)
blackbaud-sky-build-user Aug 2, 2024
894a3c4
test: add ESLint rules from `@angular-eslint/template` (#2588)
Blackbaud-SteveBrush Aug 6, 2024
6abe29c
fix(components/colorpicker): match label text to easy mode label styl…
Blackbaud-SandhyaRajasabeson Aug 7, 2024
43cd58b
fix(components/forms): fix field group `labelText` inputs to work wit…
johnhwhite Aug 8, 2024
cb8e620
fix(components/pages): use CSP_NONCE when creating style elements (#2…
Blackbaud-PaulCrowder Aug 8, 2024
c4e99fc
chore: release 10.41.2 (#2595)
blackbaud-sky-build-user Aug 9, 2024
416f1ea
fix: `sky-form-errors` is no longer created and destroyed when form e…
Blackbaud-CoreyArcher Aug 13, 2024
6da7bb8
fix(components/phone-field): phone numbers validate when selected cou…
Blackbaud-TrevorBurch Aug 15, 2024
7250a20
fix(components/lookup): autocomplete and lookup show wait in dropdown…
Blackbaud-TrevorBurch Aug 16, 2024
970f07b
chore: release 10.41.3 (#2605)
blackbaud-sky-build-user Aug 17, 2024
e28887f
deprecation(components/lookup): lookup component's `data` input has b…
Blackbaud-TrevorBurch Aug 20, 2024
a14707f
chore: skyux-dev-infra 10.0.0-alpha.10 (#2616)
johnhwhite Aug 20, 2024
041dc29
fix(code-examples): update lookup code examples to all use the `searc…
Blackbaud-TrevorBurch Aug 22, 2024
0c09550
chore: release 10.41.4 (#2619)
blackbaud-sky-build-user Aug 23, 2024
3bf4ea2
chore: rotate nx token (#2634)
johnhwhite Aug 24, 2024
110bfdf
fix(components/lists): selectable repeater items do not log a checkbo…
Blackbaud-TrevorBurch Aug 26, 2024
087aad1
chore: release 10.41.5 (#2642)
blackbaud-sky-build-user Aug 30, 2024
a245e9a
fix(components/forms): stop requiring labelText in field group (#2674)
Blackbaud-ErikaMcVey Sep 3, 2024
a8a66f9
chore: clean up lookup (#2679)
Blackbaud-ErikaMcVey Sep 4, 2024
97b6602
ci: use nx agents in 10.x.x (#2682)
johnhwhite Sep 4, 2024
d3a7726
ci: additional `--no-agents` flag (#2683)
johnhwhite Sep 4, 2024
a6bf942
ci: use fewer connections (#2692)
johnhwhite Sep 5, 2024
71a815c
ci: use fewer connections (#2692) (#2695) (#2697)
johnhwhite Sep 5, 2024
d9ea5f8
ci: adjust e2e concurrency (#2698)
johnhwhite Sep 5, 2024
1997de3
feat(components/theme): add support for @skyux/[email protected] (#2678)
Blackbaud-SteveBrush Sep 5, 2024
d5681a6
fix(components/icon): variant input is respected for SVG-based icons …
Blackbaud-TrevorBurch Sep 6, 2024
24482ca
chore: release 10.42.0 (#2676)
blackbaud-sky-build-user Sep 6, 2024
d410f84
chore: update Angular 17
johnhwhite Sep 6, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"import": "node_modules/@skyux/dev-infra-private/.cspell-shared.json",
"words": ["novalidate", "tabindex", "interactable", "fetchpriority"]
"words": ["novalidate", "tabindex", "interactable", "fetchpriority", "xlink"]
}
21 changes: 20 additions & 1 deletion .eslintrc-overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,26 @@
{
"files": ["*.html"],
"rules": {
"@angular-eslint/template/button-has-type": ["error"]
"@angular-eslint/template/alt-text": ["warn"],
"@angular-eslint/template/attributes-order": ["warn"],
"@angular-eslint/template/button-has-type": ["error"],
"@angular-eslint/template/conditional-complexity": ["warn"],
"@angular-eslint/template/cyclomatic-complexity": ["warn"],
"@angular-eslint/template/elements-content": ["error"],
"@angular-eslint/template/interactive-supports-focus": ["warn"],
"@angular-eslint/template/label-has-associated-control": ["warn"],
"@angular-eslint/template/no-any": ["error"],
"@angular-eslint/template/no-call-expression": ["warn"],
"@angular-eslint/template/no-distracting-elements": ["warn"],
"@angular-eslint/template/no-inline-styles": ["warn"],
"@angular-eslint/template/no-interpolation-in-attributes": ["warn"],
"@angular-eslint/template/no-positive-tabindex": ["warn"],
"@angular-eslint/template/prefer-control-flow": ["warn"],
"@angular-eslint/template/prefer-ngsrc": ["warn"],
"@angular-eslint/template/prefer-self-closing-tags": ["warn"],
"@angular-eslint/template/role-has-required-aria": ["error"],
"@angular-eslint/template/use-track-by-function": ["warn"],
"@angular-eslint/template/valid-aria": ["error"]
}
}
]
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/cherry-pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types:
- closed
branches:
- 7.x.x
- 10.x.x

env:
TARGET_BRANCH: main
Expand Down Expand Up @@ -38,6 +38,7 @@ jobs:
run: npm ci

- name: Cherry pick
id: cherry-pick
run: |
# Set the git user to the author of the merge commit.
git config user.name "$(git log -1 --pretty=format:'%an' ${{ github.event.pull_request.merge_commit_sha }})"
Expand Down Expand Up @@ -72,6 +73,8 @@ jobs:
echo "CHERRY_PICK_RESULT=failed" >> $GITHUB_ENV
exit 0
fi

echo "commit_message=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
env:
GH_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

Expand All @@ -81,6 +84,7 @@ jobs:
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
script: |
const pr = context.payload.pull_request;
const title = ${{ toJson(steps.cherry-pick.outputs.commit_message) }};
let body = `:cherries: Cherry picked from #${pr.number} [${pr.title}](${pr.html_url})`
const prAzureBoardLink = pr.body?.match(/(?<=\[)AB#\d+(?=])/g);
if (prAzureBoardLink) {
Expand All @@ -91,7 +95,7 @@ jobs:
repo: context.repo.repo,
head: process.env.CHERRY_PICK_BRANCH,
base: process.env.TARGET_BRANCH,
title: `${pr.title} (#${pr.number})`,
title,
body
}).then(result => {
console.log(`Created PR #${result.data.number}: ${result.data.html_url}`);
Expand Down
142 changes: 61 additions & 81 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ on:
pull_request:
push:
branches:
- main
- 10.x.x

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
NX_CLOUD_DISTRIBUTED_EXECUTION: true
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}

jobs:
install-deps:
Expand Down Expand Up @@ -39,16 +43,14 @@ jobs:
- name: npm install
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: Start Nx Cloud CI run
run: npx nx-cloud start-ci-run

agents:
name: Bootup Nx Cloud agent
runs-on: ubuntu-latest
needs: install-deps
strategy:
matrix:
agent: [1, 2, 3, 4, 5, 6, 7, 8]
agent: [1, 2, 3]
steps:
- uses: actions/checkout@v4
- name: Retrieve node_modules cache
Expand All @@ -59,33 +61,71 @@ jobs:
- name: Start Nx Agent ${{ matrix.agent }}
run: npx nx-cloud start-agent

lint:
name: Lint
needs: install-deps
build-coverage-lint:
name: Build, code coverage unit tests, and linting
if: ${{ !startsWith( github.head_ref || github.ref_name, 'release-please--' ) }}
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# Rebase must happen before installing dependencies.
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- run: npx nx-cloud start-ci-run --agent-count=3 --distribute-on="manual"
- name: Retrieve node_modules cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- uses: nrwl/nx-set-shas@v4
# Rebase must happen before installing dependencies.
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Run build, lint, test, and posttest for npm packages
run: |
npx nx affected --target build lint test posttest --configuration ci --parallel 1 --exclude '*,!tag:npm'
- name: Run lint, test, and posttest for non-npm packages
run: |
npx nx affected --target lint test posttest --configuration ci --parallel 1 --exclude 'tag:npm'
- name: Stop
if: ${{ always() }}
run: npx nx-cloud stop-all-agents

build:
name: Build
needs: build-coverage-lint
runs-on: ubuntu-latest
if: ${{ always() && !startsWith( github.head_ref || github.ref_name, 'release-please--' ) }}
steps:
- name: Run build
run: |
[ '${{ needs.build-coverage-lint.result }}' == 'success' ] && echo Built. || false

coverage:
name: Code coverage
needs: build-coverage-lint
runs-on: ubuntu-latest
if: ${{ always() && !startsWith( github.head_ref || github.ref_name, 'release-please--' ) }}
steps:
- name: Run code coverage
run: |
[ '${{ needs.build-coverage-lint.result }}' == 'success' ] && echo Code covered. || false

lint:
name: Lint
needs: build-coverage-lint
runs-on: ubuntu-latest
if: ${{ always() && !startsWith( github.head_ref || github.ref_name, 'release-please--' ) }}
steps:
- name: Run lint
run: npx nx affected:lint --quiet --silent --parallel=5
run: |
[ '${{ needs.build-coverage-lint.result }}' == 'success' ] && echo Linted. || false

check-workspace:
name: Check dependencies and resources
if: ${{ !cancelled() && !startsWith( github.head_ref || github.ref_name, 'release-please--' ) }}
needs: install-deps
runs-on: ubuntu-latest
steps:
Expand All @@ -100,7 +140,7 @@ jobs:
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Retrieve node_modules cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
Expand Down Expand Up @@ -129,58 +169,25 @@ jobs:
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- name: Retrieve node_modules cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- name: Check code formatting
run: npx nx format:check

build:
name: Build
needs: install-deps
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# Rebase must happen before installing dependencies.
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- name: Retrieve node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- name: Build
run: |
npx nx affected --target=build --parallel=5 --exclude '*,!tag:npm'

build-dist:
name: Build packages distribution
needs: install-deps
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# Rebase must happen before installing dependencies.
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Retrieve node_modules cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
Expand All @@ -199,45 +206,18 @@ jobs:
SLACK_CHANNEL: C01GY7ZP4HM
SLACK_FOOTER: 'Blackbaud Sky Build User'

coverage:
name: Code coverage
needs: install-deps
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# We need to fetch all branches and commits so that Nx affected has a base to compare against.
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
# Rebase must happen before installing dependencies.
- name: Rebase current branch
run: node ./scripts/rebase-pr.js
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v4
- name: Retrieve node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
- name: Code coverage
run: |
npx nx affected --target=test,posttest --parallel=5 --configuration=ci

stop-agents:
name: Stop Nx Cloud agents
runs-on: ubuntu-latest
if: ${{ !cancelled() }}
needs:
[install-deps, check-workspace, format, lint, build, build-dist, coverage]
needs: build-coverage-lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Retrieve node_modules cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ needs.install-deps.outputs.node-version }}-modules-${{ hashFiles('package-lock.json') }}
Expand Down
Loading
Loading