Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6855ad3
Bump lodash from 4.17.21 to 4.17.23
dependabot[bot] Feb 9, 2026
a759f24
Merge pull request #292 from Laserfiche/dependabot/npm_and_yarn/lodas…
shiyuanzhao-lf Feb 9, 2026
152bfe1
Update to Angular 21
Feb 16, 2026
59f3e16
Refactor to use control flow instead of directives
Feb 19, 2026
831f902
Migrate to use inject instead of constructor dependency injection
Feb 19, 2026
33465f2
Refactor control flow for one missed component
Feb 19, 2026
6ee796c
Update non-test packages
Feb 19, 2026
07b3f11
Migrate to zoneless change detection (remove zone.js as dependency)
Feb 19, 2026
a752b84
Fix declarations
Feb 26, 2026
4eabed8
test changes
Feb 26, 2026
be256e1
t
Feb 26, 2026
f37dee5
Refactor export * from
Feb 26, 2026
c67a509
Migrate to ESLint v10
Mar 9, 2026
5629765
Fix declarations -> imports
Mar 9, 2026
730d88b
Resolve rest of test issues
Mar 9, 2026
3fe18f4
Add support for self-hosted repository login (#298)
levente-juhasz-codespring Mar 10, 2026
f252d0f
Positioning the error message correctly within the checklist item
Mar 11, 2026
3cef8c4
Merge pull request #304 from levente-juhasz-codespring/levente/checkl…
alexgomezlf Mar 11, 2026
c7e2bc5
Update to latest Angular packages
Mar 16, 2026
296dfbd
Migrate elementRef usages
Mar 16, 2026
8dce0bc
Update documentation regarding new zoneless architecture
Mar 16, 2026
cfee551
Update CI for latest Angular 21 changes, no polyfill/runtime
Mar 16, 2026
bdc0625
Move fesm2022 types
Mar 16, 2026
b3518a2
Fix enum type building
Mar 16, 2026
4517f35
Install Playwright browser for CI
Mar 16, 2026
da0587f
Initialize the login state according to the access token (#305)
levente-juhasz-codespring Mar 16, 2026
a3ec51e
Fix placeholder generation in gulpfile
Mar 16, 2026
64e4efa
Remove runtime.js unnecessary step as it no longer exists
Mar 16, 2026
582a46a
Enforce Prettier, reformat all files
Mar 16, 2026
10b6a33
Move lf-ui-components.js to ui-components/cdn
Mar 16, 2026
3457a6c
Update workflows to latest versions and switch Veracode to 21.x
Mar 16, 2026
fddf069
Fix deployment action as well
Mar 16, 2026
6d53f9a
Correct relative path
Mar 16, 2026
2c51b7e
Merge remote-tracking branch 'lf/21.x' into feature/angular-21-update
Mar 16, 2026
e18e725
Re-initialize the login state when the user cancels the login flow
Mar 17, 2026
ea79ae4
Use LoginType enum instead of type
Mar 18, 2026
f472f2b
Fixing checklist component styles (#307)
levente-juhasz-codespring Mar 18, 2026
ef94d2b
Merge branch '18.x' into levente/fix-login-state-reinitialization
shiyuanzhao-lf Mar 18, 2026
c9a5f8b
Merge pull request #306 from levente-juhasz-codespring/levente/fix-lo…
shiyuanzhao-lf Mar 18, 2026
95581f6
Merge remote-tracking branch 'upstream/18.x' into feature/angular-21-…
Mar 20, 2026
59b8422
Fixing failing tests
Mar 20, 2026
b55fb11
Update self-hosted login to latest Angular 21
Mar 20, 2026
348d77e
Update flaky test
Mar 20, 2026
d930c3c
Update all packages to latest
Mar 20, 2026
06e6c1d
Update flaky test
Mar 20, 2026
8575a5a
Update packages
Mar 30, 2026
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
  •  
  •  
  •  
68 changes: 0 additions & 68 deletions .eslintrc.json

This file was deleted.

139 changes: 68 additions & 71 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ name: lf-ui-components-CI

on:
push:
branches: [ '\d+.x' ]
branches: ['\d+.x']
pull_request:
branches: [ '\d+.x' ]
branches: ['\d+.x']

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
NPM_VERSION: "18.0.6"
NPM_VERSION: "21.0.0"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -26,24 +26,27 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Echo build number
run: echo ${{github.run_id}}

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
node-version: "24"

- name: Update npm
run: npm install -g npm@latest

- name: npm ci
run: npm ci

- name: Npm run format:check
run: npm run format:check

- name: Npm run lint
run: npm run lint

Expand All @@ -65,11 +68,8 @@ jobs:
- name: Npm run sass-ms
run: npm run sass-ms

- name: 'concatenate runtime.js, main.js, and polyfills.js into lf-documentation.js'
run: npm run concat-lf-documentation

- name: 'remove main.js, polyfills.js and runtime.js'
run: rm ./dist/lf-documentation/main.js ./dist/lf-documentation/polyfills.js ./dist/lf-documentation/runtime.js
- name: Install Playwright browser
run: npx playwright install chromium

- name: Npm run test
shell: pwsh
Expand All @@ -80,57 +80,55 @@ jobs:
if: always()
with:
name: Jest Test Results
path: ./**/TESTS*.xml
path: ./test-results.xml
reporter: java-junit
only-summary: 'true'
use-actions-summary: 'true'
fail-on-error: 'false'
only-summary: "true"
use-actions-summary: "true"
fail-on-error: "false"

- name: 'create an empty ./dist/ui-components/cdn folder'
run: 'mkdir -p ./dist/ui-components/cdn'
- name: "create an empty ./dist/ui-components/cdn folder"
run: "mkdir -p ./dist/ui-components/cdn"

- name: 'npm run gulp-replace-scripts-in-index-html'
run: npm run gulp-replace-scripts-in-index-html

- name: 'npm run gulp-replace-placeholders-in-documentation'
- name: "npm run gulp-replace-placeholders-in-documentation"
run: npm run gulp-replace-placeholders-in-documentation

- name: 'move indigo-pink to ui-components/cdn'
- name: "move indigo-pink to ui-components/cdn"
run: cp ./node_modules/@angular/material/prebuilt-themes/indigo-pink.css ./dist/ui-components/cdn/indigo-pink.css

- name: 'move lf-ui-components.js to ui-components/cdn'
run: mv lf-ui-components.js main.js.map runtime.js.map polyfills.js.map ../ui-components/cdn
working-directory: ./dist/lf-cdn
- name: "move lf-ui-components.js to ui-components/cdn"
run: |
mv lf-ui-components.js lf-ui-components.js.map ../../ui-components/cdn
working-directory: ./dist/lf-cdn/browser

- name: 'Append flatpickr.min.css to lf-laserfiche-lite.css'
- name: "Append flatpickr.min.css to lf-laserfiche-lite.css"
run: |
echo "/*" >> ./dist/lf-documentation/lf-laserfiche-lite.css
cat LICENSE >> ./dist/lf-documentation/lf-laserfiche-lite.css
echo "The following styles are copied from flatpickr.min.css */" >> ./dist/lf-documentation/lf-laserfiche-lite.css
cat ./node_modules/flatpickr/dist/flatpickr.min.css >> ./dist/lf-documentation/lf-laserfiche-lite.css
echo "/*" >> ./dist/lf-documentation/browser/lf-laserfiche-lite.css
cat LICENSE >> ./dist/lf-documentation/browser/lf-laserfiche-lite.css
echo "The following styles are copied from flatpickr.min.css */" >> ./dist/lf-documentation/browser/lf-laserfiche-lite.css
cat ./node_modules/flatpickr/dist/flatpickr.min.css >> ./dist/lf-documentation/browser/lf-laserfiche-lite.css

- name: 'Append flatpickr.min.css to lf-ms-office-lite.css'
- name: "Append flatpickr.min.css to lf-ms-office-lite.css"
run: |
echo "/*" >> ./dist/lf-documentation/lf-ms-office-lite.css
cat LICENSE >> ./dist/lf-documentation/lf-ms-office-lite.css
echo "The following styles are copied from flatpickr.min.css */" >> ./dist/lf-documentation/lf-ms-office-lite.css
cat ./node_modules/flatpickr/dist/flatpickr.min.css >> ./dist/lf-documentation/lf-ms-office-lite.css
echo "/*" >> ./dist/lf-documentation/browser/lf-ms-office-lite.css
cat LICENSE >> ./dist/lf-documentation/browser/lf-ms-office-lite.css
echo "The following styles are copied from flatpickr.min.css */" >> ./dist/lf-documentation/browser/lf-ms-office-lite.css
cat ./node_modules/flatpickr/dist/flatpickr.min.css >> ./dist/lf-documentation/browser/lf-ms-office-lite.css

- name: 'move lf-documentation/styles to ui-components/cdn'
run: mv lf-laserfiche-lite.css lf-ms-office-lite.css lf-laserfiche-lite.css.map lf-ms-office-lite.css.map ../ui-components/cdn/
working-directory: ./dist/lf-documentation
- name: "move lf-documentation/styles to ui-components/cdn"
run: mv lf-laserfiche-lite.css lf-ms-office-lite.css lf-laserfiche-lite.css.map lf-ms-office-lite.css.map ../../ui-components/cdn/
working-directory: ./dist/lf-documentation/browser

- name: 'move README to ui-components'
- name: "move README to ui-components"
run: mv README.md ./dist/ui-components

- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: npm-publish-artifact
# A file, directory or wildcard pattern that describes what to upload
path: |
./dist/ui-components
./dist/lf-documentation
./dist/lf-documentation/browser
./types-lf-ui-components-publish/index.d.ts
./types-lf-ui-components-publish/index.js

Expand All @@ -141,30 +139,30 @@ jobs:
runs-on: ubuntu-latest
environment: npm_publish
if: ${{ github.run_attempt != 1 }}
needs: [ build ]
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: npm-publish-artifact

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: "24"
registry-url: "https://registry.npmjs.org"

- name: Update npm
run: npm install -g npm@latest

- name: set NpmPackageVersion environment
run: echo "NpmPackageVersion=${{ env.NPM_VERSION }}--preview-${{ github.run_id }}" >> $GITHUB_ENV

- name: 'copy license'
- name: "copy license"
run: |
cp LICENSE ./types-lf-ui-components-publish
cp LICENSE ./dist/ui-components
Expand Down Expand Up @@ -192,32 +190,31 @@ jobs:
commit_sha: ${{ github.sha }}
message: Workflow run ${{github.server_url}}/${{github.repository}}/actions/runs/${{ github.run_id}}


publish_to_npm_release:
runs-on: ubuntu-latest
environment: npm_publish
if: ${{ github.run_attempt != 1 }}
needs: [ build ]
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: npm-publish-artifact

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: "24"
registry-url: "https://registry.npmjs.org"

- name: Update npm
run: npm install -g npm@latest
- name: 'copy license'

- name: "copy license"
run: |
cp LICENSE ./types-lf-ui-components-publish
cp LICENSE ./dist/ui-components
Expand Down Expand Up @@ -248,36 +245,36 @@ jobs:
publish_documentation:
runs-on: ubuntu-latest
if: ${{ github.run_attempt != 1 }}
needs: [ build ]
needs: [build]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.sha }}

- name: Download a Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: npm-publish-artifact

- name: Setup Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
node-version: "24"
registry-url: "https://registry.npmjs.org"

- name: Npm install gulp
run: npm install gulp

- name: 'gulp replaceVersionInDocumentation'
- name: "gulp replaceVersionInDocumentation"
run: gulp replaceVersionInDocumentation --npmVersion ${{ env.NPM_VERSION }}

- name: 'gulp replaceVersionInIndexHtml'
- name: "gulp replaceVersionInIndexHtml"
run: gulp replaceVersionInIndexHtml --npmVersion ${{ env.NPM_VERSION }}

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: ./dist/lf-documentation
path: ./dist/lf-documentation/browser

- name: Deploy to GitHub Pages
id: deployment
Expand Down
Loading