"
+title: '[BUG] '
labels: [bug, needs triage]
body:
-- type: checkboxes
- attributes:
- label: Is there an existing issue for this?
- description: |
- Please search open and closed issues before submitting a new one.
- Existing issues often contain information about workarounds, resolution or progress updates.
- options:
- - label: I have searched the existing issues
- required: true
+ - type: checkboxes
+ attributes:
+ label: Is there an existing issue for this?
+ description: |
+ Please search open and closed issues before submitting a new one.
+ Existing issues often contain information about workarounds, resolution or progress updates.
+ options:
+ - label: I have searched the existing issues
+ required: true
-- type: input
- attributes:
- label: Library version
- description: Please make sure you have installed the latest version and verified it is still an issue.
- placeholder: latest
- validations:
- required: true
+ - type: input
+ attributes:
+ label: Library version
+ description: Please make sure you have installed the latest version and verified it is still an issue.
+ placeholder: latest
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: Description
- description: A clear & concise description of what you're experiencing.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Description
+ description: A clear & concise description of what you're experiencing.
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: Steps to reproduce
- description: |
- Issues that don't have enough info and can't be reproduced will be closed.
- Please provide the steps to reproduce the behavior and if applicable create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)
- in a [new repository](https://github.com/new), a [gist](https://gist.github.com) or a [live demo](https://stackblitz.com).
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: Steps to reproduce
+ description: |
+ Issues that don't have enough info and can't be reproduced will be closed.
+ Please provide the steps to reproduce the behavior and if applicable create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example)
+ in a [new repository](https://github.com/new), a [gist](https://gist.github.com) or a [live demo](https://stackblitz.com).
+ validations:
+ required: false
-- type: textarea
- attributes:
- label: Environment
- description: |
- examples:
- - **OS Name**: macOS Monterey (version 12.6.1)
- - **System Model Name**: MacBook Pro (16-inch, 2019)
- - **npm**: **`npm -v`**: 7.6.3
- - **Node.js**: **`node -v`**: 13.14.0
- value: |
- - **OS Name**:
- - **System Model Name**:
- - **npm**:
- - **Node.js**:
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: Environment
+ description: |
+ examples:
+ - **OS Name**: macOS Monterey (version 12.6.1)
+ - **System Model Name**: MacBook Pro (16-inch, 2019)
+ - **npm**: **`npm -v`**: 7.6.3
+ - **Node.js**: **`node -v`**: 13.14.0
+ value: |
+ - **OS Name**:
+ - **System Model Name**:
+ - **npm**:
+ - **Node.js**:
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.yml b/.github/ISSUE_TEMPLATE/2-feature-request.yml
index 3ae0c671..477daabb 100644
--- a/.github/ISSUE_TEMPLATE/2-feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/2-feature-request.yml
@@ -1,26 +1,26 @@
name: 🚀 Feature request
description: Suggest a feature for the library
-title: "[FEATURE] "
+title: '[FEATURE] '
labels: [enhancement, needs triage]
body:
-- type: textarea
- attributes:
- label: Description
- description: A clear and concise description of the problem or missing capability.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Description
+ description: A clear and concise description of the problem or missing capability.
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: Proposed solution
- description: If you have a solution in mind, please describe it.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Proposed solution
+ description: If you have a solution in mind, please describe it.
+ validations:
+ required: true
-- type: textarea
- attributes:
- label: Alternatives considered
- description: Have you considered any alternative solutions or workarounds?
- validations:
- required: false
+ - type: textarea
+ attributes:
+ label: Alternatives considered
+ description: Have you considered any alternative solutions or workarounds?
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/3-doc-issue.yml b/.github/ISSUE_TEMPLATE/3-doc-issue.yml
index 60b2bb51..d01dd741 100644
--- a/.github/ISSUE_TEMPLATE/3-doc-issue.yml
+++ b/.github/ISSUE_TEMPLATE/3-doc-issue.yml
@@ -1,26 +1,26 @@
name: 📚 Docs enhancement
description: File an enhancement or report an issue in the library's documentation
-title: "[DOCS] "
+title: '[DOCS] '
labels: [documentation, needs triage]
body:
-- type: checkboxes
- attributes:
- label: Documentation can be submitted with pull requests
- options:
- - label: I know that I can edit the docs myself but prefer to file this issue instead
- required: true
+ - type: checkboxes
+ attributes:
+ label: Documentation can be submitted with pull requests
+ options:
+ - label: I know that I can edit the docs myself but prefer to file this issue instead
+ required: true
-- type: input
- attributes:
- label: Docs URL
- description: The URL of the page you'd like to see an enhancement to or report a problem from.
- validations:
- required: false
+ - type: input
+ attributes:
+ label: Docs URL
+ description: The URL of the page you'd like to see an enhancement to or report a problem from.
+ validations:
+ required: false
-- type: textarea
- attributes:
- label: Description
- description: A clear and concise description of the enhancement or problem.
- validations:
- required: true
+ - type: textarea
+ attributes:
+ label: Description
+ description: A clear and concise description of the enhancement or problem.
+ validations:
+ required: true
diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml
index 560c4af7..e59bedfc 100644
--- a/.github/workflows/ci_release.yml
+++ b/.github/workflows/ci_release.yml
@@ -2,98 +2,98 @@ name: Release
run-name: Release ${{ inputs.package }}${{ inputs.dry-run && ' (dry-run)' || '' }}
on:
- workflow_dispatch:
- inputs:
- package:
- description: Package
- required: true
- type: choice
- options:
- - core
- - layout
- - list-loader
- - message-box
- - message-box-dialog
- - numeric-stepper
- - overlay
- - search-container
- - sidenav
- - snackbar
- - splitter
- - status
- - time-picker
- - tooltip
- - user-card
- - user-tooltip
- dry-run:
- description: --dry-run
- type: boolean
- default: false
+ workflow_dispatch:
+ inputs:
+ package:
+ description: Package
+ required: true
+ type: choice
+ options:
+ - core
+ - layout
+ - list-loader
+ - message-box
+ - message-box-dialog
+ - numeric-stepper
+ - overlay
+ - search-container
+ - sidenav
+ - snackbar
+ - splitter
+ - status
+ - time-picker
+ - tooltip
+ - user-card
+ - user-tooltip
+ dry-run:
+ description: --dry-run
+ type: boolean
+ default: false
env:
- HUSKY: 0
- FORCE_COLOR: 3
+ HUSKY: 0
+ FORCE_COLOR: 3
jobs:
- ci_release:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- secrets:
- GH_USER_NAME: 'dsi-hug-bot'
- GH_USER_EMAIL: 'dsi-hug-bot@users.noreply.github.com'
- GH_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
- with:
- working-directory: 'projects/${{ inputs.package }}'
- dry-run: ${{ inputs.dry-run }}
- release: true
-
- ci_sync_peer_deps:
- needs: ci_release
- runs-on: 'ubuntu-latest'
- steps:
- - name: Checkout sources
- uses: actions/checkout@v4
+ ci_release:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ secrets:
+ GH_USER_NAME: 'dsi-hug-bot'
+ GH_USER_EMAIL: 'dsi-hug-bot@users.noreply.github.com'
+ GH_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
+ NPM_TOKEN: ${{ secrets.DSI_HUG_NPM_TOKEN }}
with:
- ref: ${{ github.ref_name }} # https://github.com/actions/checkout/issues/1327
- persist-credentials: false # https://github.com/semantic-release/semantic-release/issues/2636
+ working-directory: 'projects/${{ inputs.package }}'
+ dry-run: ${{ inputs.dry-run }}
+ release: true
- - name: Synchronize peer dependencies
- working-directory: 'scripts'
- env:
- GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
- run: |
- git config user.name 'dsi-hug-bot'
- git config user.email 'dsi-hug-bot@users.noreply.github.com'
- git remote set-url origin https://x-access-token:${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }}
- npm --prefix . i chalk
- node ./sync-peer-deps.mjs
+ ci_sync_peer_deps:
+ needs: ci_release
+ runs-on: 'ubuntu-latest'
+ steps:
+ - name: Checkout sources
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.ref_name }} # https://github.com/actions/checkout/issues/1327
+ persist-credentials: false # https://github.com/semantic-release/semantic-release/issues/2636
- #
- # nx does not update package-lock file correctly.
- # @see https://github.com/nrwl/nx/issues/26660
- #
- # This results in the following error, next time deps are installed:
- # “npm error `npm ci` can only install packages when your package.json and package-lock.json or
- # npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing."
- #
- ci_update_package_lock_file:
- needs: ci_sync_peer_deps
- runs-on: 'ubuntu-latest'
- steps:
- - name: Checkout sources
- uses: actions/checkout@v4
- with:
- ref: ${{ github.ref_name }} # https://github.com/actions/checkout/issues/1327
- persist-credentials: false # https://github.com/semantic-release/semantic-release/issues/2636
+ - name: Synchronize peer dependencies
+ working-directory: 'scripts'
+ env:
+ GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
+ run: |
+ git config user.name 'dsi-hug-bot'
+ git config user.email 'dsi-hug-bot@users.noreply.github.com'
+ git remote set-url origin https://x-access-token:${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }}
+ npm --prefix . i chalk
+ node ./sync-peer-deps.mjs
+
+ #
+ # nx does not update package-lock file correctly.
+ # @see https://github.com/nrwl/nx/issues/26660
+ #
+ # This results in the following error, next time deps are installed:
+ # “npm error `npm ci` can only install packages when your package.json and package-lock.json or
+ # npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing."
+ #
+ ci_update_package_lock_file:
+ needs: ci_sync_peer_deps
+ runs-on: 'ubuntu-latest'
+ steps:
+ - name: Checkout sources
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ github.ref_name }} # https://github.com/actions/checkout/issues/1327
+ persist-credentials: false # https://github.com/semantic-release/semantic-release/issues/2636
- - name: Synchronize package.json and package-lock.json
- env:
- GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
- run: |
- git config user.name 'dsi-hug-bot'
- git config user.email 'dsi-hug-bot@users.noreply.github.com'
- git remote set-url origin https://x-access-token:${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }}
- npm install
- git add package.json package-lock.json
- git commit --message "chore: synchronize package.json and package-lock.json"
- git push --follow-tags --no-verify --atomic
+ - name: Synchronize package.json and package-lock.json
+ env:
+ GITHUB_TOKEN: ${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}
+ run: |
+ git config user.name 'dsi-hug-bot'
+ git config user.email 'dsi-hug-bot@users.noreply.github.com'
+ git remote set-url origin https://x-access-token:${{ secrets.DSI_HUG_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }}
+ npm install
+ git add package.json package-lock.json
+ git commit --message "chore: synchronize package.json and package-lock.json"
+ git push --follow-tags --no-verify --atomic
diff --git a/.github/workflows/ci_test_core.yml b/.github/workflows/ci_test_core.yml
index 367527ef..7f90aa67 100644
--- a/.github/workflows/ci_test_core.yml
+++ b/.github/workflows/ci_test_core.yml
@@ -1,84 +1,84 @@
name: Test core
on:
- workflow_dispatch:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_core.yml'
- - 'projects/core/**'
+ workflow_dispatch:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_core.yml'
+ - 'projects/core/**'
concurrency:
- group: ci-test-core-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-core-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_core:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/core
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_core:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/core
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- #
- # Not needed here because it will be triggered by `ci_test_sidenav`
- #
- # ci_test_layout:
- # needs: ci_test_core
- # uses: ./.github/workflows/ci_test_layout.yml
+ #
+ # Not needed here because it will be triggered by `ci_test_sidenav`
+ #
+ # ci_test_layout:
+ # needs: ci_test_core
+ # uses: ./.github/workflows/ci_test_layout.yml
- ci_test_message-box-dialog:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_message-box-dialog.yml
+ ci_test_message-box-dialog:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_message-box-dialog.yml
- ci_test_numeric-stepper:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_numeric-stepper.yml
+ ci_test_numeric-stepper:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_numeric-stepper.yml
- ci_test_overlay:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_overlay.yml
+ ci_test_overlay:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_overlay.yml
- ci_test_search-container:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_search-container.yml
+ ci_test_search-container:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_search-container.yml
- ci_test_sidenav:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_sidenav.yml
+ ci_test_sidenav:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_sidenav.yml
- ci_test_snackbar:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_snackbar.yml
+ ci_test_snackbar:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_snackbar.yml
- ci_test_splitter:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_splitter.yml
+ ci_test_splitter:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_splitter.yml
- #
- # Not needed here because it will be triggered by `ci_test_snackbar`
- #
- # ci_test_status:
- # needs: ci_test_core
- # uses: ./.github/workflows/ci_test_status.yml
+ #
+ # Not needed here because it will be triggered by `ci_test_snackbar`
+ #
+ # ci_test_status:
+ # needs: ci_test_core
+ # uses: ./.github/workflows/ci_test_status.yml
- #
- # Not needed here because it will be triggered by `ci_test_numeric-stepper`
- #
- # ci_test_time-picker:
- # needs: ci_test_core
- # uses: ./.github/workflows/ci_test_time-picker.yml
+ #
+ # Not needed here because it will be triggered by `ci_test_numeric-stepper`
+ #
+ # ci_test_time-picker:
+ # needs: ci_test_core
+ # uses: ./.github/workflows/ci_test_time-picker.yml
- ci_test_tooltip:
- needs: ci_test_core
- uses: ./.github/workflows/ci_test_tooltip.yml
+ ci_test_tooltip:
+ needs: ci_test_core
+ uses: ./.github/workflows/ci_test_tooltip.yml
- #
- # Not needed here because it will be triggered by `ci_test_tooltip`
- #
- # ci_test_user-tooltip:
- # needs: ci_test_core
- # uses: ./.github/workflows/ci_test_user-tooltip.yml
+ #
+ # Not needed here because it will be triggered by `ci_test_tooltip`
+ #
+ # ci_test_user-tooltip:
+ # needs: ci_test_core
+ # uses: ./.github/workflows/ci_test_user-tooltip.yml
diff --git a/.github/workflows/ci_test_layout.yml b/.github/workflows/ci_test_layout.yml
index ad25519d..88a44b42 100644
--- a/.github/workflows/ci_test_layout.yml
+++ b/.github/workflows/ci_test_layout.yml
@@ -1,25 +1,25 @@
name: Test layout
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_layout.yml'
- - 'projects/layout/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_layout.yml'
+ - 'projects/layout/**'
concurrency:
- group: ci-test-layout-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-layout-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_layout:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/layout
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_layout:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/layout
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_list-loader.yml b/.github/workflows/ci_test_list-loader.yml
index 7ad7b769..d32c8df4 100644
--- a/.github/workflows/ci_test_list-loader.yml
+++ b/.github/workflows/ci_test_list-loader.yml
@@ -1,24 +1,24 @@
name: Test list-loader
on:
- workflow_dispatch:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_list-loader.yml'
- - 'projects/list-loader/**'
+ workflow_dispatch:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_list-loader.yml'
+ - 'projects/list-loader/**'
concurrency:
- group: ci-test-list-loader-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-list-loader-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_list-loader:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/list-loader
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_list-loader:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/list-loader
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_message-box-dialog.yml b/.github/workflows/ci_test_message-box-dialog.yml
index 5ac15084..abc5ac67 100644
--- a/.github/workflows/ci_test_message-box-dialog.yml
+++ b/.github/workflows/ci_test_message-box-dialog.yml
@@ -1,25 +1,25 @@
name: Test message-box-dialog
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_message-box-dialog.yml'
- - 'projects/message-box-dialog/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_message-box-dialog.yml'
+ - 'projects/message-box-dialog/**'
concurrency:
- group: ci-test-message-box-dialog-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-message-box-dialog-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_message-box-dialog:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/message-box-dialog
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_message-box-dialog:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/message-box-dialog
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_message-box.yml b/.github/workflows/ci_test_message-box.yml
index 034f7978..c9e556cd 100644
--- a/.github/workflows/ci_test_message-box.yml
+++ b/.github/workflows/ci_test_message-box.yml
@@ -1,28 +1,28 @@
name: Test message-box
on:
- workflow_dispatch:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_message-box.yml'
- - 'projects/message-box/**'
+ workflow_dispatch:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_message-box.yml'
+ - 'projects/message-box/**'
concurrency:
- group: ci-test-message-box-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-message-box-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_message-box:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/message-box
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_message-box:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/message-box
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_status:
- needs: ci_test_message-box
- uses: ./.github/workflows/ci_test_status.yml
+ ci_test_status:
+ needs: ci_test_message-box
+ uses: ./.github/workflows/ci_test_status.yml
diff --git a/.github/workflows/ci_test_numeric-stepper.yml b/.github/workflows/ci_test_numeric-stepper.yml
index 96d9646a..91ec8bd0 100644
--- a/.github/workflows/ci_test_numeric-stepper.yml
+++ b/.github/workflows/ci_test_numeric-stepper.yml
@@ -1,29 +1,29 @@
name: Test numeric-stepper
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_numeric-stepper.yml'
- - 'projects/numeric-stepper/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_numeric-stepper.yml'
+ - 'projects/numeric-stepper/**'
concurrency:
- group: ci-test-numeric-stepper-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-numeric-stepper-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_numeric-stepper:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/numeric-stepper
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_numeric-stepper:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/numeric-stepper
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_time-picker:
- needs: ci_test_numeric-stepper
- uses: ./.github/workflows/ci_test_time-picker.yml
+ ci_test_time-picker:
+ needs: ci_test_numeric-stepper
+ uses: ./.github/workflows/ci_test_time-picker.yml
diff --git a/.github/workflows/ci_test_overlay.yml b/.github/workflows/ci_test_overlay.yml
index fb1f5040..d57bba09 100644
--- a/.github/workflows/ci_test_overlay.yml
+++ b/.github/workflows/ci_test_overlay.yml
@@ -1,25 +1,25 @@
name: Test overlay
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_overlay.yml'
- - 'projects/overlay/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_overlay.yml'
+ - 'projects/overlay/**'
concurrency:
- group: ci-test-overlay-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-overlay-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_overlay:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/overlay
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_overlay:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/overlay
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_search-container.yml b/.github/workflows/ci_test_search-container.yml
index 68883dcf..78097607 100644
--- a/.github/workflows/ci_test_search-container.yml
+++ b/.github/workflows/ci_test_search-container.yml
@@ -1,25 +1,25 @@
name: Test search-container
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_search-container.yml'
- - 'projects/search-container/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_search-container.yml'
+ - 'projects/search-container/**'
concurrency:
- group: ci-test-search-container-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-search-container-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_search-container:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/search-container
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_search-container:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/search-container
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_sidenav.yml b/.github/workflows/ci_test_sidenav.yml
index c8c6b887..b95bb2ac 100644
--- a/.github/workflows/ci_test_sidenav.yml
+++ b/.github/workflows/ci_test_sidenav.yml
@@ -1,29 +1,29 @@
name: Test sidenav
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_sidenav.yml'
- - 'projects/sidenav/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_sidenav.yml'
+ - 'projects/sidenav/**'
concurrency:
- group: ci-test-sidenav-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-sidenav-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_sidenav:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/sidenav
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_sidenav:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/sidenav
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_layout:
- needs: ci_test_sidenav
- uses: ./.github/workflows/ci_test_layout.yml
+ ci_test_layout:
+ needs: ci_test_sidenav
+ uses: ./.github/workflows/ci_test_layout.yml
diff --git a/.github/workflows/ci_test_snackbar.yml b/.github/workflows/ci_test_snackbar.yml
index 11ccb160..da64ccdf 100644
--- a/.github/workflows/ci_test_snackbar.yml
+++ b/.github/workflows/ci_test_snackbar.yml
@@ -1,29 +1,29 @@
name: Test snackbar
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_snackbar.yml'
- - 'projects/snackbar/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_snackbar.yml'
+ - 'projects/snackbar/**'
concurrency:
- group: ci-test-snackbar-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-snackbar-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_snackbar:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/snackbar
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_snackbar:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/snackbar
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_status:
- needs: ci_test_snackbar
- uses: ./.github/workflows/ci_test_status.yml
+ ci_test_status:
+ needs: ci_test_snackbar
+ uses: ./.github/workflows/ci_test_status.yml
diff --git a/.github/workflows/ci_test_splitter.yml b/.github/workflows/ci_test_splitter.yml
index 67bad89a..b4022808 100644
--- a/.github/workflows/ci_test_splitter.yml
+++ b/.github/workflows/ci_test_splitter.yml
@@ -1,25 +1,25 @@
name: Test splitter
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_splitter.yml'
- - 'projects/splitter/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_splitter.yml'
+ - 'projects/splitter/**'
concurrency:
- group: ci-test-splitter-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-splitter-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_splitter:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/splitter
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_splitter:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/splitter
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_status.yml b/.github/workflows/ci_test_status.yml
index 54996dbb..463b1dbd 100644
--- a/.github/workflows/ci_test_status.yml
+++ b/.github/workflows/ci_test_status.yml
@@ -1,25 +1,25 @@
name: Test status
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_status.yml'
- - 'projects/status/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_status.yml'
+ - 'projects/status/**'
concurrency:
- group: ci-test-status-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-status-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_status:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/status
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_status:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/status
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_time-picker.yml b/.github/workflows/ci_test_time-picker.yml
index 381b067c..25c75a9d 100644
--- a/.github/workflows/ci_test_time-picker.yml
+++ b/.github/workflows/ci_test_time-picker.yml
@@ -1,25 +1,25 @@
name: Test time-picker
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_time-picker.yml'
- - 'projects/time-picker/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_time-picker.yml'
+ - 'projects/time-picker/**'
concurrency:
- group: ci-test-time-picker-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-time-picker-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_time-picker:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/time-picker
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_time-picker:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/time-picker
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.github/workflows/ci_test_tooltip.yml b/.github/workflows/ci_test_tooltip.yml
index 183f8d64..475e4e7a 100644
--- a/.github/workflows/ci_test_tooltip.yml
+++ b/.github/workflows/ci_test_tooltip.yml
@@ -1,29 +1,29 @@
name: Test tooltip
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_tooltip.yml'
- - 'projects/tooltip/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_tooltip.yml'
+ - 'projects/tooltip/**'
concurrency:
- group: ci-test-tooltip-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-tooltip-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_tooltip:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/tooltip
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_tooltip:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/tooltip
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_user-tooltip:
- needs: ci_test_tooltip
- uses: ./.github/workflows/ci_test_user-tooltip.yml
+ ci_test_user-tooltip:
+ needs: ci_test_tooltip
+ uses: ./.github/workflows/ci_test_user-tooltip.yml
diff --git a/.github/workflows/ci_test_user-card.yml b/.github/workflows/ci_test_user-card.yml
index 6826b3d2..51f3147d 100644
--- a/.github/workflows/ci_test_user-card.yml
+++ b/.github/workflows/ci_test_user-card.yml
@@ -1,29 +1,29 @@
name: Test user-card
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_user-card.yml'
- - 'projects/user-card/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_user-card.yml'
+ - 'projects/user-card/**'
concurrency:
- group: ci-test-user-card-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-user-card-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_user-card:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/user-card
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_user-card:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/user-card
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
- ci_test_user-tooltip:
- needs: ci_test_user-card
- uses: ./.github/workflows/ci_test_user-tooltip.yml
+ ci_test_user-tooltip:
+ needs: ci_test_user-card
+ uses: ./.github/workflows/ci_test_user-tooltip.yml
diff --git a/.github/workflows/ci_test_user-tooltip.yml b/.github/workflows/ci_test_user-tooltip.yml
index 4637c2ed..4be67a40 100644
--- a/.github/workflows/ci_test_user-tooltip.yml
+++ b/.github/workflows/ci_test_user-tooltip.yml
@@ -1,25 +1,25 @@
name: Test user-tooltip
on:
- workflow_dispatch:
- workflow_call:
- push:
- branches:
- - '**'
- tags-ignore:
- - '**'
- paths:
- - '.github/workflows/ci_test_user-tooltip.yml'
- - 'projects/user-tooltip/**'
+ workflow_dispatch:
+ workflow_call:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '**'
+ paths:
+ - '.github/workflows/ci_test_user-tooltip.yml'
+ - 'projects/user-tooltip/**'
concurrency:
- group: ci-test-user-tooltip-group-${{ github.ref }}
- cancel-in-progress: true
+ group: ci-test-user-tooltip-group-${{ github.ref }}
+ cancel-in-progress: true
jobs:
- ci_test_user-tooltip:
- uses: dsi-hug/action/.github/workflows/action.yml@v1
- with:
- working-directory: projects/user-tooltip
- runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
- node-versions: '[18, 20]'
+ ci_test_user-tooltip:
+ uses: dsi-hug/action/.github/workflows/action.yml@v1
+ with:
+ working-directory: projects/user-tooltip
+ runs-on: '["ubuntu-latest", "macos-latest", "windows-latest"]'
+ node-versions: '[18, 20]'
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 00000000..d128a94b
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,9 @@
+# Ignore all JS and TS files:
+**/*.js
+**/*.ts
+
+/node_modules/
+/.angular/
+/.husky/
+/.vscode/
+/dist/
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 00000000..a7c6a763
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,12 @@
+{
+ "trailingComma": "all",
+ "tabWidth": 4,
+ "useTabs": false,
+ "bracketSameLine": true,
+ "htmlWhitespaceSensitivity": "ignore",
+ "proseWrap": "never",
+ "endOfLine": "lf",
+ "singleAttributePerLine": false,
+ "printWidth": 800,
+ "singleQuote": true
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index bfdf84c8..4a737b06 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -20,10 +20,10 @@
"html.format.wrapAttributes": "force-aligned",
"html.format.wrapLineLength": 120,
"[html]": {
- "editor.defaultFormatter": "vscode.html-language-features"
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
- "editor.defaultFormatter": "HookyQR.beautify"
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"npm.exclude": "**/{dist,tmp}{,/**}",
"npm.scriptExplorerExclude": [
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 277e50f8..ce183ccf 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -2,131 +2,81 @@
## Our Pledge
-We as members, contributors, and leaders pledge to make participation in our
-community a harassment-free experience for everyone, regardless of age, body
-size, visible or invisible disability, ethnicity, sex characteristics, gender
-identity and expression, level of experience, education, socio-economic status,
-nationality, personal appearance, race, caste, color, religion, or sexual identity
-and orientation.
+We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
-We pledge to act and interact in ways that contribute to an open, welcoming,
-diverse, inclusive, and healthy community.
+We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
## Our Standards
-Examples of behavior that contributes to a positive environment for our
-community include:
+Examples of behavior that contributes to a positive environment for our community include:
-* Demonstrating empathy and kindness toward other people
-* Being respectful of differing opinions, viewpoints, and experiences
-* Giving and gracefully accepting constructive feedback
-* Accepting responsibility and apologizing to those affected by our mistakes,
- and learning from the experience
-* Focusing on what is best not just for us as individuals, but for the
- overall community
+- Demonstrating empathy and kindness toward other people
+- Being respectful of differing opinions, viewpoints, and experiences
+- Giving and gracefully accepting constructive feedback
+- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
+- Focusing on what is best not just for us as individuals, but for the overall community
Examples of unacceptable behavior include:
-* The use of sexualized language or imagery, and sexual attention or
- advances of any kind
-* Trolling, insulting or derogatory comments, and personal or political attacks
-* Public or private harassment
-* Publishing others' private information, such as a physical or email
- address, without their explicit permission
-* Other conduct which could reasonably be considered inappropriate in a
- professional setting
+- The use of sexualized language or imagery, and sexual attention or advances of any kind
+- Trolling, insulting or derogatory comments, and personal or political attacks
+- Public or private harassment
+- Publishing others' private information, such as a physical or email address, without their explicit permission
+- Other conduct which could reasonably be considered inappropriate in a professional setting
## Enforcement Responsibilities
-Community leaders are responsible for clarifying and enforcing our standards of
-acceptable behavior and will take appropriate and fair corrective action in
-response to any behavior that they deem inappropriate, threatening, offensive,
-or harmful.
+Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
-Community leaders have the right and responsibility to remove, edit, or reject
-comments, commits, code, wiki edits, issues, and other contributions that are
-not aligned to this Code of Conduct, and will communicate reasons for moderation
-decisions when appropriate.
+Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
## Scope
-This Code of Conduct applies within all community spaces, and also applies when
-an individual is officially representing the community in public spaces.
-Examples of representing our community include using an official e-mail address,
-posting via an official social media account, or acting as an appointed
-representative at an online or offline event.
+This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
## Enforcement
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
-reported by opening an issue or contacting one or more of the project maintainers.
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
All complaints will be reviewed and investigated promptly and fairly.
-All community leaders are obligated to respect the privacy and security of the
-reporter of any incident.
+All community leaders are obligated to respect the privacy and security of the reporter of any incident.
## Enforcement Guidelines
-Community leaders will follow these Community Impact Guidelines in determining
-the consequences for any action they deem in violation of this Code of Conduct:
+Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
-**Community Impact**: Use of inappropriate language or other behavior deemed
-unprofessional or unwelcome in the community.
+**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
-**Consequence**: A private, written warning from community leaders, providing
-clarity around the nature of the violation and an explanation of why the
-behavior was inappropriate. A public apology may be requested.
+**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
### 2. Warning
-**Community Impact**: A violation through a single incident or series
-of actions.
+**Community Impact**: A violation through a single incident or series of actions.
-**Consequence**: A warning with consequences for continued behavior. No
-interaction with the people involved, including unsolicited interaction with
-those enforcing the Code of Conduct, for a specified period of time. This
-includes avoiding interactions in community spaces as well as external channels
-like social media. Violating these terms may lead to a temporary or
-permanent ban.
+**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
### 3. Temporary Ban
-**Community Impact**: A serious violation of community standards, including
-sustained inappropriate behavior.
+**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
-**Consequence**: A temporary ban from any sort of interaction or public
-communication with the community for a specified period of time. No public or
-private interaction with the people involved, including unsolicited interaction
-with those enforcing the Code of Conduct, is allowed during this period.
-Violating these terms may lead to a permanent ban.
+**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
-**Community Impact**: Demonstrating a pattern of violation of community
-standards, including sustained inappropriate behavior, harassment of an
-individual, or aggression toward or disparagement of classes of individuals.
+**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
-**Consequence**: A permanent ban from any sort of public interaction within
-the community.
+**Consequence**: A permanent ban from any sort of public interaction within the community.
## Attribution
-This Code of Conduct is adapted from the [Contributor Covenant][homepage],
-version 2.0, available at
-[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
-
-Community Impact Guidelines were inspired by
-[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
-
-For answers to common questions about this code of conduct, see the FAQ at
-[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
-at [https://www.contributor-covenant.org/translations][translations].
-
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
+Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
+For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
[homepage]: https://www.contributor-covenant.org
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5d5f6c7e..5463e18d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,47 +1,40 @@
# Contributing
-We would love for you to contribute to this project and help make it even better than it is today!
-As a contributor, here are the guidelines we would like you to follow:
-
- * [Code of Conduct](#coc)
- * [Question or Problem?](#question)
- * [Issues and Bugs](#issue)
- * [Feature Requests](#feature)
- * [Submission Guidelines](#submit)
- * [Coding Rules](#rules)
- * [Commit Message Guidelines](#commit)
+We would love for you to contribute to this project and help make it even better than it is today! As a contributor, here are the guidelines we would like you to follow:
+- [Code of Conduct](#coc)
+- [Question or Problem?](#question)
+- [Issues and Bugs](#issue)
+- [Feature Requests](#feature)
+- [Submission Guidelines](#submit)
+- [Coding Rules](#rules)
+- [Commit Message Guidelines](#commit)
## Code of Conduct
Please read and follow our [Code of Conduct][coc], and help us keep this project open and inclusive.
-
## Got a Question or Problem ?
Please open an issue and add the `question` label to it.
-
## Found a Bug ?
If you find a bug in the source code, you can help us by [submitting an issue](#submit-issue) to our [GitHub Repository][github].
Even better, you can [submit a Pull Request](#submit-pr) with a fix.
-
## Missing a Feature ?
-You can *request* a new feature by [submitting an issue](#submit-issue) to our [GitHub Repository][github].
-
-If you would like to *implement* a new feature, please consider the size of the change in order to determine the right steps to proceed:
+You can _request_ a new feature by [submitting an issue](#submit-issue) to our [GitHub Repository][github].
-* For a **Major Feature**, first open an issue and outline your proposal so that it can be discussed.
- This process allows us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
+If you would like to _implement_ a new feature, please consider the size of the change in order to determine the right steps to proceed:
- **Note**: Adding a new topic to the documentation, or significantly re-writing a topic, counts as a major feature.
+- For a **Major Feature**, first open an issue and outline your proposal so that it can be discussed. This process allows us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
-* **Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).
+ **Note**: Adding a new topic to the documentation, or significantly re-writing a topic, counts as a major feature.
+- **Small Features** can be crafted and directly [submitted as a Pull Request](#submit-pr).
## Submission Guidelines
@@ -49,38 +42,31 @@ If you would like to *implement* a new feature, please consider the size of the
Before you submit an issue, please search the issue tracker, maybe an issue for your problem already exists and the discussion might inform you of workarounds readily available.
-We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it.
-In order to reproduce bugs, we require that you provide a minimal reproduction.
-Having a minimal reproducible scenario gives us a wealth of important information without going back and forth to you with additional questions.
+We want to fix all the issues as soon as possible, but before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs, we require that you provide a minimal reproduction. Having a minimal reproducible scenario gives us a wealth of important information without going back and forth to you with additional questions.
A minimal reproduction allows us to quickly confirm a bug (or point out a coding problem) as well as confirm that we are fixing the right problem.
-We require a minimal reproduction to save maintainers' time and ultimately be able to fix more bugs.
-Often, developers find coding problems themselves while preparing a minimal reproduction.
-We understand that sometimes it might be hard to extract essential bits of code from a larger codebase but we really need to isolate the problem before we can fix it.
+We require a minimal reproduction to save maintainers' time and ultimately be able to fix more bugs. Often, developers find coding problems themselves while preparing a minimal reproduction. We understand that sometimes it might be hard to extract essential bits of code from a larger codebase but we really need to isolate the problem before we can fix it.
Unfortunately, we are not able to investigate / fix bugs without a minimal reproduction, so if we don't hear back from you, we are going to close an issue that doesn't have enough info to be reproduced.
You can file new issues by selecting and filling out the issue template from our [new issue templates][issue-templates].
-
### Submitting a Pull Request (PR)
Before you submit your Pull Request (PR) consider the following guidelines:
-1. Search [GitHub][github-pr] for an open or closed PR that relates to your submission.
- You don't want to duplicate existing efforts.
+1. Search [GitHub][github-pr] for an open or closed PR that relates to your submission. You don't want to duplicate existing efforts.
-2. Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add.
- Discussing the design upfront helps to ensure that we're ready to accept your work.
+2. Be sure that an issue describes the problem you're fixing, or documents the design for the feature you'd like to add. Discussing the design upfront helps to ensure that we're ready to accept your work.
3. Fork this repository.
4. Make your changes in a new git branch:
- ```sh
- git checkout -b my-fix-branch master
- ```
+ ```sh
+ git checkout -b my-fix-branch master
+ ```
5. Create your patch, **including appropriate test cases**.
@@ -88,12 +74,12 @@ Before you submit your Pull Request (PR) consider the following guidelines:
7. Run a full test suite and ensure that all tests pass.
-8. Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit).
- Adherence to these conventions is necessary because release notes are automatically generated from these messages.
+8. Commit your changes using a descriptive commit message that follows our [commit message conventions](#commit). Adherence to these conventions is necessary because release notes are automatically generated from these messages.
+
+ ```sh
+ git commit --all
+ ```
- ```sh
- git commit --all
- ```
Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
9. Push your branch to GitHub:
@@ -151,51 +137,47 @@ In order to update the commit message of the last commit on your branch:
git push --force-with-lease
```
-> NOTE:
-> If you need to update the commit message of an earlier commit, you can use `git rebase` in interactive mode.
-> See the [git docs](https://git-scm.com/docs/git-rebase#_interactive_mode) for more details.
+> NOTE: If you need to update the commit message of an earlier commit, you can use `git rebase` in interactive mode. See the [git docs](https://git-scm.com/docs/git-rebase#_interactive_mode) for more details.
#### After your pull request is merged
After your pull request is merged, you can safely delete your branch and pull the changes from the main (upstream) repository:
-* Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
+- Delete the remote branch on GitHub either through the GitHub web UI or your local shell as follows:
```sh
git push origin --delete my-fix-branch
```
-* Check out the master branch:
+- Check out the master branch:
```sh
git checkout master -f
```
-* Delete the local branch:
+- Delete the local branch:
```sh
git branch -D my-fix-branch
```
-* Update your master with the latest upstream version:
+- Update your master with the latest upstream version:
```sh
git pull --ff upstream master
```
-
## Coding Rules
To ensure consistency throughout the source code, keep these rules in mind as you are working:
-* All features or bug fixes **must be tested** by one or more specs (unit-tests)
-* All public API methods **must be documented**
-* We follow [Google's JavaScript Style Guide][js-style-guide], but wrap all code at **100 characters**
-
+- All features or bug fixes **must be tested** by one or more specs (unit-tests)
+- All public API methods **must be documented**
+- We follow [Google's JavaScript Style Guide][js-style-guide], but wrap all code at **100 characters**
## Commit Message Format
-*This specification is inspired by and supersedes the [Conventional Commits message format][commit-message-format].*
+_This specification is inspired by and supersedes the [Conventional Commits message format][commit-message-format]._
We have very precise rules over how our Git commit messages must be formatted.
@@ -203,7 +185,6 @@ This format leads to **easier to read commit history**.
Each commit message consists of a **header**, a **body**, and a **footer**.
-
```
@@ -220,7 +201,6 @@ The `footer` is optional. The [Commit Message Footer](#commit-footer) format des
Any line of the commit message cannot be longer than 100 characters.
-
#### Commit Message Header
```
@@ -233,34 +213,30 @@ Any line of the commit message cannot be longer than 100 characters.
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test
```
-
##### Type
Must be one of the following:
-* **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
-* **ci**: Changes to CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs)
-* **docs**: Documentation only changes
-* **feat**: A new feature
-* **fix**: A bug fix
-* **perf**: A code change that improves performance
-* **refactor**: A code change that neither fixes a bug nor adds a feature
-* **test**: Adding missing tests or correcting existing tests
-
+- **build**: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
+- **ci**: Changes to CI configuration files and scripts (example scopes: Circle, BrowserStack, SauceLabs)
+- **docs**: Documentation only changes
+- **feat**: A new feature
+- **fix**: A bug fix
+- **perf**: A code change that improves performance
+- **refactor**: A code change that neither fixes a bug nor adds a feature
+- **test**: Adding missing tests or correcting existing tests
##### Scope
Scope can be anything specifying place of the commit change.
-
##### Summary
Use the summary field to provide a succinct description of the change:
-* use the imperative, present tense: "change" not "changed" nor "changes"
-* don't capitalize the first letter
-* no dot (.) at the end
-
+- use the imperative, present tense: "change" not "changed" nor "changes"
+- don't capitalize the first letter
+- no dot (.) at the end
#### Commit Message Body
@@ -270,7 +246,6 @@ Explain the motivation for the change in the commit message body. This commit me
You can include a comparison of the previous behavior with the new behavior in order to illustrate the impact of the change.
-
#### Commit Message Footer
The footer can contain information about breaking changes and is also the place to reference GitHub issues, Jira tickets, and other PRs that this commit closes or is related to.
@@ -286,18 +261,14 @@ Fixes #
Breaking Change section should start with the phrase `BREAKING CHANGE: ` followed by a summary of the breaking change, a blank line, and a detailed description of the breaking change that also includes migration instructions.
-
### Revert commits
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit.
The content of the commit message body should contain:
-* information about the SHA of the commit being reverted in the following format: `This reverts commit `
-* a clear description of the reason for reverting the commit message
-
-
-
+- information about the SHA of the commit being reverted in the following format: `This reverts commit `
+- a clear description of the reason for reverting the commit message
[coc]: https://github.com/dsi-hug/ngx-components/blob/main/CODE_OF_CONDUCT.md
[github]: https://github.com/dsi-hug/ngx-components
diff --git a/DEVELOPER.md b/DEVELOPER.md
index cb29a673..4e251527 100644
--- a/DEVELOPER.md
+++ b/DEVELOPER.md
@@ -6,8 +6,8 @@ This document describes how you can create, lint, test, build and publish packag
Before you can start you must install and configure the following products on your development machine:
-* [Git][git]
-* [Node.js][nodejs]
+- [Git][git]
+- [Node.js][nodejs]
You will then need to clone this project and install the required dependencies:
@@ -26,9 +26,10 @@ run run new-package
```
If this new package has any other internal packages as peer dependencies:
-- make sure that this new package is also tested during the tests of the other packages
-*(have a look at [ci_test_core.yml](https://github.com/DSI-HUG/ngx-components/blob/main/.github/workflows/ci_test_core.yml#L27-L29) for examples)*
+- make sure that this new package is also tested during the tests of the other packages
+
+_(have a look at [ci_test_core.yml](https://github.com/DSI-HUG/ngx-components/blob/main/.github/workflows/ci_test_core.yml#L27-L29) for examples)_
## Linting/verifying source code
@@ -62,7 +63,7 @@ npm run build -w=projects/
## Publishing a package to NPM repository
-This project comes with automatic continuous delivery (CD) using *GitHub Actions*.
+This project comes with automatic continuous delivery (CD) using _GitHub Actions_.
To publish a package:
@@ -76,11 +77,13 @@ To publish a package:
So when you publish a package for the first time, you will have to do the following:
1. Commit and push the package, using this commit message:
+
```sh
feat(): first commit
```
2. Add a tag to the commit prior the one you just created, and push it:
+
```sh
@hug/ngx-@1.0.0
```
@@ -89,6 +92,5 @@ feat(): first commit
4. Once done, remove the tag you previously created
-
[git]: https://git-scm.com/
[nodejs]: https://nodejs.org/
diff --git a/README.md b/README.md
index df390003..9d4ef99f 100644
--- a/README.md
+++ b/README.md
@@ -19,24 +19,24 @@
-Package | Version | Downloads | Tests
---- | --- | --- | ---
-[@hug/ngx-core](/projects/core) | [![npm version][npm-logo-core]][npm-core] | [![npm downloads][npm-dl-logo-core]][npm-dl-core] | [![build status][tests-logo-core]][tests-core]
-[@hug/ngx-layout](/projects/layout) | [![npm version][npm-logo-layout]][npm-layout] | [![npm downloads][npm-dl-logo-layout]][npm-dl-layout] | [![build status][tests-logo-layout]][tests-layout]
-[@hug/ngx-list-loader](/projects/list-loader) | [![npm version][npm-logo-list-loader]][npm-list-loader] | [![npm downloads][npm-dl-logo-list-loader]][npm-dl-list-loader] | [![build status][tests-logo-list-loader]][tests-list-loader]
-[@hug/ngx-message-box](/projects/message-box) | [![npm version][npm-logo-message-box]][npm-message-box] | [![npm downloads][npm-dl-logo-message-box]][npm-dl-message-box] | [![build status][tests-logo-message-box]][tests-message-box]
-[@hug/ngx-message-box-dialog](/projects/message-box-dialog) | [![npm version][npm-logo-message-box-dialog]][npm-message-box-dialog] | [![npm downloads][npm-dl-logo-message-box-dialog]][npm-dl-message-box-dialog] | [![build status][tests-logo-message-box-dialog]][tests-message-box-dialog]
-[@hug/ngx-numeric-stepper](/projects/numeric-stepper) | [![npm version][npm-logo-numeric-stepper]][npm-numeric-stepper] | [![npm downloads][npm-dl-logo-numeric-stepper]][npm-dl-numeric-stepper] | [![build status][tests-logo-numeric-stepper]][tests-numeric-stepper]
-[@hug/ngx-overlay](/projects/overlay) | [![npm version][npm-logo-overlay]][npm-overlay] | [![npm downloads][npm-dl-logo-overlay]][npm-dl-overlay] | [![build status][tests-logo-overlay]][tests-overlay]
-[@hug/ngx-search-container](/projects/search-container) | [![npm version][npm-logo-search-container]][npm-search-container] | [![npm downloads][npm-dl-logo-search-container]][npm-dl-search-container] | [![build status][tests-logo-search-container]][tests-search-container]
-[@hug/ngx-sidenav](/projects/sidenav) | [![npm version][npm-logo-sidenav]][npm-sidenav] | [![npm downloads][npm-dl-logo-sidenav]][npm-dl-sidenav] | [![build status][tests-logo-sidenav]][tests-sidenav]
-[@hug/ngx-snackbar](/projects/snackbar) | [![npm version][npm-logo-snackbar]][npm-snackbar] | [![npm downloads][npm-dl-logo-snackbar]][npm-dl-snackbar] | [![build status][tests-logo-snackbar]][tests-snackbar]
-[@hug/ngx-splitter](/projects/splitter) | [![npm version][npm-logo-splitter]][npm-splitter] | [![npm downloads][npm-dl-logo-splitter]][npm-dl-splitter] | [![build status][tests-logo-splitter]][tests-splitter]
-[@hug/ngx-status](/projects/status) | [![npm version][npm-logo-status]][npm-status] | [![npm downloads][npm-dl-logo-status]][npm-dl-status] | [![build status][tests-logo-status]][tests-status]
-[@hug/ngx-time-picker](/projects/time-picker) | [![npm version][npm-logo-time-picker]][npm-time-picker] | [![npm downloads][npm-dl-logo-time-picker]][npm-dl-time-picker] | [![build status][tests-logo-time-picker]][tests-time-picker]
-[@hug/ngx-tooltip](/projects/tooltip) | [![npm version][npm-logo-tooltip]][npm-tooltip] | [![npm downloads][npm-dl-logo-tooltip]][npm-dl-tooltip] | [![build status][tests-logo-tooltip]][tests-tooltip]
-[@hug/ngx-user-card](/projects/user-card) | [![npm version][npm-logo-user-card]][npm-user-card] | [![npm downloads][npm-dl-logo-user-card]][npm-dl-user-card] | [![build status][tests-logo-user-card]][tests-user-card]
-[@hug/ngx-user-tooltip](/projects/user-tooltip) | [![npm version][npm-logo-user-tooltip]][npm-user-tooltip] | [![npm downloads][npm-dl-logo-user-tooltip]][npm-dl-user-tooltip] | [![build status][tests-logo-user-tooltip]][tests-user-tooltip]
+| Package | Version | Downloads | Tests |
+| ----------------------------------------------------------- | --------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
+| [@hug/ngx-core](/projects/core) | [![npm version][npm-logo-core]][npm-core] | [![npm downloads][npm-dl-logo-core]][npm-dl-core] | [![build status][tests-logo-core]][tests-core] |
+| [@hug/ngx-layout](/projects/layout) | [![npm version][npm-logo-layout]][npm-layout] | [![npm downloads][npm-dl-logo-layout]][npm-dl-layout] | [![build status][tests-logo-layout]][tests-layout] |
+| [@hug/ngx-list-loader](/projects/list-loader) | [![npm version][npm-logo-list-loader]][npm-list-loader] | [![npm downloads][npm-dl-logo-list-loader]][npm-dl-list-loader] | [![build status][tests-logo-list-loader]][tests-list-loader] |
+| [@hug/ngx-message-box](/projects/message-box) | [![npm version][npm-logo-message-box]][npm-message-box] | [![npm downloads][npm-dl-logo-message-box]][npm-dl-message-box] | [![build status][tests-logo-message-box]][tests-message-box] |
+| [@hug/ngx-message-box-dialog](/projects/message-box-dialog) | [![npm version][npm-logo-message-box-dialog]][npm-message-box-dialog] | [![npm downloads][npm-dl-logo-message-box-dialog]][npm-dl-message-box-dialog] | [![build status][tests-logo-message-box-dialog]][tests-message-box-dialog] |
+| [@hug/ngx-numeric-stepper](/projects/numeric-stepper) | [![npm version][npm-logo-numeric-stepper]][npm-numeric-stepper] | [![npm downloads][npm-dl-logo-numeric-stepper]][npm-dl-numeric-stepper] | [![build status][tests-logo-numeric-stepper]][tests-numeric-stepper] |
+| [@hug/ngx-overlay](/projects/overlay) | [![npm version][npm-logo-overlay]][npm-overlay] | [![npm downloads][npm-dl-logo-overlay]][npm-dl-overlay] | [![build status][tests-logo-overlay]][tests-overlay] |
+| [@hug/ngx-search-container](/projects/search-container) | [![npm version][npm-logo-search-container]][npm-search-container] | [![npm downloads][npm-dl-logo-search-container]][npm-dl-search-container] | [![build status][tests-logo-search-container]][tests-search-container] |
+| [@hug/ngx-sidenav](/projects/sidenav) | [![npm version][npm-logo-sidenav]][npm-sidenav] | [![npm downloads][npm-dl-logo-sidenav]][npm-dl-sidenav] | [![build status][tests-logo-sidenav]][tests-sidenav] |
+| [@hug/ngx-snackbar](/projects/snackbar) | [![npm version][npm-logo-snackbar]][npm-snackbar] | [![npm downloads][npm-dl-logo-snackbar]][npm-dl-snackbar] | [![build status][tests-logo-snackbar]][tests-snackbar] |
+| [@hug/ngx-splitter](/projects/splitter) | [![npm version][npm-logo-splitter]][npm-splitter] | [![npm downloads][npm-dl-logo-splitter]][npm-dl-splitter] | [![build status][tests-logo-splitter]][tests-splitter] |
+| [@hug/ngx-status](/projects/status) | [![npm version][npm-logo-status]][npm-status] | [![npm downloads][npm-dl-logo-status]][npm-dl-status] | [![build status][tests-logo-status]][tests-status] |
+| [@hug/ngx-time-picker](/projects/time-picker) | [![npm version][npm-logo-time-picker]][npm-time-picker] | [![npm downloads][npm-dl-logo-time-picker]][npm-dl-time-picker] | [![build status][tests-logo-time-picker]][tests-time-picker] |
+| [@hug/ngx-tooltip](/projects/tooltip) | [![npm version][npm-logo-tooltip]][npm-tooltip] | [![npm downloads][npm-dl-logo-tooltip]][npm-dl-tooltip] | [![build status][tests-logo-tooltip]][tests-tooltip] |
+| [@hug/ngx-user-card](/projects/user-card) | [![npm version][npm-logo-user-card]][npm-user-card] | [![npm downloads][npm-dl-logo-user-card]][npm-dl-user-card] | [![build status][tests-logo-user-card]][tests-user-card] |
+| [@hug/ngx-user-tooltip](/projects/user-tooltip) | [![npm version][npm-logo-user-tooltip]][npm-user-tooltip] | [![npm downloads][npm-dl-logo-user-tooltip]][npm-dl-user-tooltip] | [![build status][tests-logo-user-tooltip]][tests-user-tooltip] |
@@ -46,12 +46,10 @@ Package | Version | Downloads | Tests
This library provide a large set of components and utilities that can be used while developing for Angular.
-
## Development
See the [developer docs][developer].
-
## Contributing
#### > Want to Help?
@@ -64,127 +62,107 @@ But please read up first on the guidelines for [contributing][contributing], and
Please read and follow the [Code of Conduct][codeofconduct], and help us keep this project open and inclusive.
-
## Credits
Copyright (C) 2024 [HUG - Hôpitaux Universitaires Genève][dsi-hug]
[![love@hug](https://img.shields.io/badge/@hug-%E2%9D%A4%EF%B8%8Flove-magenta)][dsi-hug]
-
-
-
[license]: https://github.com/dsi-hug/ngx-components/blob/main/LICENSE
[developer]: https://github.com/dsi-hug/ngx-components/blob/main/DEVELOPER.md
[contributing]: https://github.com/dsi-hug/ngx-components/blob/main/CONTRIBUTING.md
[codeofconduct]: https://github.com/dsi-hug/ngx-components/blob/main/CODE_OF_CONDUCT.md
[dsi-hug]: https://github.com/dsi-hug
-
[npm-core]: https://www.npmjs.com/package/@hug/ngx-core
[npm-logo-core]: https://img.shields.io/npm/v/@hug/ngx-core.svg?color=blue&logo=npm
[npm-dl-core]: https://npmcharts.com/compare/@hug/ngx-core?minimal=true
[npm-dl-logo-core]: https://img.shields.io/npm/dw/@hug/ngx-core.svg?color=7986CB&logo=npm&label=npm
[tests-core]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_core.yml
[tests-logo-core]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_core.yml/badge.svg
-
[npm-layout]: https://www.npmjs.com/package/@hug/ngx-layout
[npm-logo-layout]: https://img.shields.io/npm/v/@hug/ngx-layout.svg?color=blue&logo=npm
[npm-dl-layout]: https://npmcharts.com/compare/@hug/ngx-layout?minimal=true
[npm-dl-logo-layout]: https://img.shields.io/npm/dw/@hug/ngx-layout.svg?color=7986CB&logo=npm&label=npm
[tests-layout]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_layout.yml
[tests-logo-layout]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_layout.yml/badge.svg
-
[npm-list-loader]: https://www.npmjs.com/package/@hug/ngx-list-loader
[npm-logo-list-loader]: https://img.shields.io/npm/v/@hug/ngx-list-loader.svg?color=blue&logo=npm
[npm-dl-list-loader]: https://npmcharts.com/compare/@hug/ngx-list-loader?minimal=true
[npm-dl-logo-list-loader]: https://img.shields.io/npm/dw/@hug/ngx-list-loader.svg?color=7986CB&logo=npm&label=npm
[tests-list-loader]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_list-loader.yml
[tests-logo-list-loader]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_list-loader.yml/badge.svg
-
[npm-message-box]: https://www.npmjs.com/package/@hug/ngx-message-box
[npm-logo-message-box]: https://img.shields.io/npm/v/@hug/ngx-message-box.svg?color=blue&logo=npm
[npm-dl-message-box]: https://npmcharts.com/compare/@hug/ngx-message-box?minimal=true
[npm-dl-logo-message-box]: https://img.shields.io/npm/dw/@hug/ngx-message-box.svg?color=7986CB&logo=npm&label=npm
[tests-message-box]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_message-box.yml
[tests-logo-message-box]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_message-box.yml/badge.svg
-
[npm-message-box-dialog]: https://www.npmjs.com/package/@hug/ngx-message-box-dialog
[npm-logo-message-box-dialog]: https://img.shields.io/npm/v/@hug/ngx-message-box-dialog.svg?color=blue&logo=npm
[npm-dl-message-box-dialog]: https://npmcharts.com/compare/@hug/ngx-message-box-dialog?minimal=true
[npm-dl-logo-message-box-dialog]: https://img.shields.io/npm/dw/@hug/ngx-message-box-dialog.svg?color=7986CB&logo=npm&label=npm
[tests-message-box-dialog]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_message-box-dialog.yml
[tests-logo-message-box-dialog]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_message-box-dialog.yml/badge.svg
-
[npm-numeric-stepper]: https://www.npmjs.com/package/@hug/ngx-numeric-stepper
[npm-logo-numeric-stepper]: https://img.shields.io/npm/v/@hug/ngx-numeric-stepper.svg?color=blue&logo=npm
[npm-dl-numeric-stepper]: https://npmcharts.com/compare/@hug/ngx-numeric-stepper?minimal=true
[npm-dl-logo-numeric-stepper]: https://img.shields.io/npm/dw/@hug/ngx-numeric-stepper.svg?color=7986CB&logo=npm&label=npm
[tests-numeric-stepper]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_numeric-stepper.yml
[tests-logo-numeric-stepper]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_numeric-stepper.yml/badge.svg
-
[npm-overlay]: https://www.npmjs.com/package/@hug/ngx-overlay
[npm-logo-overlay]: https://img.shields.io/npm/v/@hug/ngx-overlay.svg?color=blue&logo=npm
[npm-dl-overlay]: https://npmcharts.com/compare/@hug/ngx-overlay?minimal=true
[npm-dl-logo-overlay]: https://img.shields.io/npm/dw/@hug/ngx-overlay.svg?color=7986CB&logo=npm&label=npm
[tests-overlay]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_overlay.yml
[tests-logo-overlay]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_overlay.yml/badge.svg
-
[npm-search-container]: https://www.npmjs.com/package/@hug/ngx-search-container
[npm-logo-search-container]: https://img.shields.io/npm/v/@hug/ngx-search-container.svg?color=blue&logo=npm
[npm-dl-search-container]: https://npmcharts.com/compare/@hug/ngx-search-container?minimal=true
[npm-dl-logo-search-container]: https://img.shields.io/npm/dw/@hug/ngx-search-container.svg?color=7986CB&logo=npm&label=npm
[tests-search-container]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_search-container.yml
[tests-logo-search-container]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_search-container.yml/badge.svg
-
[npm-sidenav]: https://www.npmjs.com/package/@hug/ngx-sidenav
[npm-logo-sidenav]: https://img.shields.io/npm/v/@hug/ngx-sidenav.svg?color=blue&logo=npm
[npm-dl-sidenav]: https://npmcharts.com/compare/@hug/ngx-sidenav?minimal=true
[npm-dl-logo-sidenav]: https://img.shields.io/npm/dw/@hug/ngx-sidenav.svg?color=7986CB&logo=npm&label=npm
[tests-sidenav]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_sidenav.yml
[tests-logo-sidenav]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_sidenav.yml/badge.svg
-
[npm-snackbar]: https://www.npmjs.com/package/@hug/ngx-snackbar
[npm-logo-snackbar]: https://img.shields.io/npm/v/@hug/ngx-snackbar.svg?color=blue&logo=npm
[npm-dl-snackbar]: https://npmcharts.com/compare/@hug/ngx-snackbar?minimal=true
[npm-dl-logo-snackbar]: https://img.shields.io/npm/dw/@hug/ngx-snackbar.svg?color=7986CB&logo=npm&label=npm
[tests-snackbar]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_snackbar.yml
[tests-logo-snackbar]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_snackbar.yml/badge.svg
-
[npm-splitter]: https://www.npmjs.com/package/@hug/ngx-splitter
[npm-logo-splitter]: https://img.shields.io/npm/v/@hug/ngx-splitter.svg?color=blue&logo=npm
[npm-dl-splitter]: https://npmcharts.com/compare/@hug/ngx-splitter?minimal=true
[npm-dl-logo-splitter]: https://img.shields.io/npm/dw/@hug/ngx-splitter.svg?color=7986CB&logo=npm&label=npm
[tests-splitter]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_splitter.yml
[tests-logo-splitter]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_splitter.yml/badge.svg
-
[npm-status]: https://www.npmjs.com/package/@hug/ngx-status
[npm-logo-status]: https://img.shields.io/npm/v/@hug/ngx-status.svg?color=blue&logo=npm
[npm-dl-status]: https://npmcharts.com/compare/@hug/ngx-status?minimal=true
[npm-dl-logo-status]: https://img.shields.io/npm/dw/@hug/ngx-status.svg?color=7986CB&logo=npm&label=npm
[tests-status]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_status.yml
[tests-logo-status]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_status.yml/badge.svg
-
[npm-time-picker]: https://www.npmjs.com/package/@hug/ngx-time-picker
[npm-logo-time-picker]: https://img.shields.io/npm/v/@hug/ngx-time-picker.svg?color=blue&logo=npm
[npm-dl-time-picker]: https://npmcharts.com/compare/@hug/ngx-time-picker?minimal=true
[npm-dl-logo-time-picker]: https://img.shields.io/npm/dw/@hug/ngx-time-picker.svg?color=7986CB&logo=npm&label=npm
[tests-time-picker]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_time-picker.yml
[tests-logo-time-picker]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_time-picker.yml/badge.svg
-
[npm-tooltip]: https://www.npmjs.com/package/@hug/ngx-tooltip
[npm-logo-tooltip]: https://img.shields.io/npm/v/@hug/ngx-tooltip.svg?color=blue&logo=npm
[npm-dl-tooltip]: https://npmcharts.com/compare/@hug/ngx-tooltip?minimal=true
[npm-dl-logo-tooltip]: https://img.shields.io/npm/dw/@hug/ngx-tooltip.svg?color=7986CB&logo=npm&label=npm
[tests-tooltip]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_tooltip.yml
[tests-logo-tooltip]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_tooltip.yml/badge.svg
-
[npm-user-card]: https://www.npmjs.com/package/@hug/ngx-user-card
[npm-logo-user-card]: https://img.shields.io/npm/v/@hug/ngx-user-card.svg?color=blue&logo=npm
[npm-dl-user-card]: https://npmcharts.com/compare/@hug/ngx-user-card?minimal=true
[npm-dl-logo-user-card]: https://img.shields.io/npm/dw/@hug/ngx-user-card.svg?color=7986CB&logo=npm&label=npm
[tests-user-card]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_user-card.yml
[tests-logo-user-card]: https://github.com/dsi-hug/ngx-components/actions/workflows/ci_test_user-card.yml/badge.svg
-
[npm-user-tooltip]: https://www.npmjs.com/package/@hug/ngx-user-tooltip
[npm-logo-user-tooltip]: https://img.shields.io/npm/v/@hug/ngx-user-tooltip.svg?color=blue&logo=npm
[npm-dl-user-tooltip]: https://npmcharts.com/compare/@hug/ngx-user-tooltip?minimal=true
diff --git a/angular.json b/angular.json
index 13eb8537..795073d9 100644
--- a/angular.json
+++ b/angular.json
@@ -23,14 +23,8 @@
"polyfills": "projects/demo-app/src/polyfills.ts",
"tsConfig": "projects/demo-app/tsconfig.app.json",
"inlineStyleLanguage": "scss",
- "assets": [
- "projects/demo-app/src/favicon.ico",
- "projects/demo-app/src/assets"
- ],
- "styles": [
- "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
- "projects/demo-app/src/styles.scss"
- ],
+ "assets": ["projects/demo-app/src/favicon.ico", "projects/demo-app/src/assets"],
+ "styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "projects/demo-app/src/styles.scss"],
"scripts": []
},
"configurations": {
@@ -92,14 +86,8 @@
"tsConfig": "projects/demo-app/tsconfig.spec.json",
"karmaConfig": "projects/demo-app/karma.conf.js",
"inlineStyleLanguage": "scss",
- "assets": [
- "projects/demo-app/src/favicon.ico",
- "projects/demo-app/src/assets"
- ],
- "styles": [
- "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
- "projects/demo-app/src/styles.scss"
- ],
+ "assets": ["projects/demo-app/src/favicon.ico", "projects/demo-app/src/assets"],
+ "styles": ["./node_modules/@angular/material/prebuilt-themes/indigo-pink.css", "projects/demo-app/src/styles.scss"],
"scripts": []
}
}
@@ -603,6 +591,6 @@
}
},
"cli": {
- "analytics": false
+ "analytics": false
}
}
diff --git a/nx.json b/nx.json
index 67adef24..23b2ab01 100644
--- a/nx.json
+++ b/nx.json
@@ -2,14 +2,10 @@
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"targetDefaults": {
"build:ng": {
- "dependsOn": [
- "^build:ng"
- ]
+ "dependsOn": ["^build:ng"]
},
"nx-release-publish": {
- "dependsOn": [
- "build"
- ],
+ "dependsOn": ["build"],
"options": {
"packageRoot": "{workspaceRoot}/dist/{projectRoot}"
}
diff --git a/package-lock.json b/package-lock.json
index 67b8c458..e7f993a7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -65,6 +65,7 @@
"ng-packagr": "~14.2.2",
"nx": "^19.3.2",
"patch-package": "^8.0.0",
+ "prettier": "3.3.2",
"typescript": "~4.7.4"
}
},
@@ -18898,6 +18899,21 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/prettier": {
+ "version": "3.3.2",
+ "resolved": "https://nxrm.hisaas.hcuge.ch/repository/npm-all/prettier/-/prettier-3.3.2.tgz",
+ "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==",
+ "dev": true,
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
"node_modules/pretty-bytes": {
"version": "5.6.0",
"resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz",
@@ -22830,7 +22846,7 @@
},
"projects/overlay": {
"name": "@hug/ngx-overlay",
- "version": "1.1.2",
+ "version": "1.1.3",
"license": "GPL-3.0-only",
"dependencies": {
"tslib": "^2.6.3"
diff --git a/package.json b/package.json
index 727b7690..8eaa54d4 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,9 @@
"new-package": "ng g .:new-package",
"release:dry-run": "nx release --verbose --dry-run",
"postinstall": "patch-package",
+ "start": "ng serve",
+ "prettier": "npx prettier . --check",
+ "prettier-fix": "npx prettier . --write",
"ng": "ng"
},
"workspaces": [
@@ -69,6 +72,7 @@
"ng-packagr": "~14.2.2",
"nx": "^19.3.2",
"patch-package": "^8.0.0",
+ "prettier": "3.3.2",
"typescript": "~4.7.4"
},
"schematics": "./scripts/new-package/collection.json",
@@ -98,8 +102,11 @@
}
},
"lint-staged": {
- "**/*.{js,json,ts,html}": [
+ "**/*.{js,ts}": [
"eslint --fix"
+ ],
+ "**/*.{html,scss,json}": [
+ "npx prettier . --check"
]
}
}
diff --git a/projects/core/CHANGELOG.md b/projects/core/CHANGELOG.md
index 94120a03..77c35338 100644
--- a/projects/core/CHANGELOG.md
+++ b/projects/core/CHANGELOG.md
@@ -1,36 +1,29 @@
## 1.1.5 (2024-06-24)
-
### 🐛 Fixes
-- fix some issues ([74cc405](https://github.com/DSI-HUG/ngx-components/commit/74cc405))
-
+- fix some issues ([74cc405](https://github.com/DSI-HUG/ngx-components/commit/74cc405))
-### ❤️ Thank You
+### ❤️ Thank You
-- Badisi
+- Badisi
## 1.1.4 (2024-06-21)
-
### 🛠️ Chore
-- **release:** include CHANGELOG.md in distribution package ([9897e06](https://github.com/DSI-HUG/ngx-components/commit/9897e06))
-
+- **release:** include CHANGELOG.md in distribution package ([9897e06](https://github.com/DSI-HUG/ngx-components/commit/9897e06))
-### ❤️ Thank You
-
-- @Badisi
+### ❤️ Thank You
+- @Badisi
## 1.1.2 (2024-06-17)
-
### 🚀 Features
-- **core**: first commit ([1cb90ba](https://github.com/DSI-HUG/ngx-components/commit/1cb90bac803acbb9708e3983ab9e4d6a872d2a5c))
-
+- **core**: first commit ([1cb90ba](https://github.com/DSI-HUG/ngx-components/commit/1cb90bac803acbb9708e3983ab9e4d6a872d2a5c))
### ❤️ Thank You
-- @Badisi
+- @Badisi
diff --git a/projects/core/README.md b/projects/core/README.md
index 6e6d2916..802b6e5f 100644
--- a/projects/core/README.md
+++ b/projects/core/README.md
@@ -1,5 +1,4 @@
-@hug/ngx-core
-=======
+# @hug/ngx-core
The sources for this package are in the main [DSI-HUG/ngx-components](https://github.com/dsi-hug/ngx-components) repo. Please file issues and pull requests against that repo.
diff --git a/projects/core/src/styles/_palette.scss b/projects/core/src/styles/_palette.scss
index c8c3a637..0c20e2db 100644
--- a/projects/core/src/styles/_palette.scss
+++ b/projects/core/src/styles/_palette.scss
@@ -1,32 +1,32 @@
$mat-hug-primary: (
- 50 : #e8f1f9,
- 100 : #c6dcef,
- 200 : #a1c5e5,
- 300 : #7baeda,
- 400 : #5e9cd2,
- 500 : #428bca,
- 600 : #3c83c5,
- 700 : #3378bd,
- 800 : #2b6eb7,
- 900 : #1d5bab,
- A100 : #e3eeff,
- A200 : #bed2ff,
- A400 : #7db2ff,
- A700 : #63a3ff,
+ 50: #e8f1f9,
+ 100: #c6dcef,
+ 200: #a1c5e5,
+ 300: #7baeda,
+ 400: #5e9cd2,
+ 500: #428bca,
+ 600: #3c83c5,
+ 700: #3378bd,
+ 800: #2b6eb7,
+ 900: #1d5bab,
+ A100: #e3eeff,
+ A200: #bed2ff,
+ A400: #7db2ff,
+ A700: #63a3ff,
contrast: (
- 50 : #000000,
- 100 : #000000,
- 200 : #000000,
- 300 : #000000,
- 400 : #000000,
- 500 : #ffffff,
- 600 : #ffffff,
- 700 : #ffffff,
- 800 : #ffffff,
- 900 : #ffffff,
- A100 : #000000,
- A200 : #000000,
- A400 : #000000,
- A700 : #000000,
- )
+ 50: #000000,
+ 100: #000000,
+ 200: #000000,
+ 300: #000000,
+ 400: #000000,
+ 500: #ffffff,
+ 600: #ffffff,
+ 700: #ffffff,
+ 800: #ffffff,
+ 900: #ffffff,
+ A100: #000000,
+ A200: #000000,
+ A400: #000000,
+ A700: #000000,
+ ),
);
diff --git a/projects/core/src/styles/_theme.scss b/projects/core/src/styles/_theme.scss
index b4864368..4f0acc96 100644
--- a/projects/core/src/styles/_theme.scss
+++ b/projects/core/src/styles/_theme.scss
@@ -11,7 +11,7 @@
body#hug-ngx {
margin: 0;
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
+ font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
font-size: 14px;
.mat-icon {
diff --git a/projects/core/src/styles/_themeVariables.scss b/projects/core/src/styles/_themeVariables.scss
index 9f1b92e9..1f55d999 100644
--- a/projects/core/src/styles/_themeVariables.scss
+++ b/projects/core/src/styles/_themeVariables.scss
@@ -1,5 +1,5 @@
-@use "@angular/material" as mat;
-@use "./palette" as palette;
+@use '@angular/material' as mat;
+@use './palette' as palette;
// Define color scheme
$primary: mat.define-palette(palette.$mat-hug-primary);
diff --git a/projects/core/src/styles/mixins/_icon-theme.scss b/projects/core/src/styles/mixins/_icon-theme.scss
index edcca502..044edfa3 100644
--- a/projects/core/src/styles/mixins/_icon-theme.scss
+++ b/projects/core/src/styles/mixins/_icon-theme.scss
@@ -9,15 +9,15 @@
mat-icon,
fa-icon {
- &[background="primary"] {
+ &[background='primary'] {
background: mat.get-color-from-palette($primary) !important;
}
- &[background="accent"] {
+ &[background='accent'] {
background: mat.get-color-from-palette($accent) !important;
}
- &[background="warn"] {
+ &[background='warn'] {
background: mat.get-color-from-palette($warn) !important;
}
}
@@ -27,8 +27,8 @@
position: relative;
$ratio: 50%;
- >mat-icon[secondary],
- >fa-icon[secondary] {
+ > mat-icon[secondary],
+ > fa-icon[secondary] {
background: mat.get-color-from-palette($background, background);
border-radius: 50%;
bottom: 0;
@@ -41,7 +41,7 @@
line-height: 1;
}
- >fa-icon[secondary] {
+ > fa-icon[secondary] {
font-size: calc($ratio - 5%);
}
}
@@ -67,15 +67,15 @@
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
- &[color="primary"] {
+ &[color='primary'] {
color: mat.get-color-from-palette($primary);
}
- &[color="accent"] {
+ &[color='accent'] {
color: mat.get-color-from-palette($accent);
}
- &[color="warn"] {
+ &[color='warn'] {
color: mat.get-color-from-palette($warn);
}
diff --git a/projects/core/src/styles/mixins/_loader-theme.scss b/projects/core/src/styles/mixins/_loader-theme.scss
index 1b014062..d5ddf577 100644
--- a/projects/core/src/styles/mixins/_loader-theme.scss
+++ b/projects/core/src/styles/mixins/_loader-theme.scss
@@ -20,8 +20,7 @@
height: 10vmin;
}
- @media (max-height: 150px),
- (max-width: 150px) {
+ @media (max-height: 150px), (max-width: 150px) {
.loader {
width: 15px;
height: 15px;
diff --git a/projects/core/src/styles/mixins/_material-icons-theme.scss b/projects/core/src/styles/mixins/_material-icons-theme.scss
index 3238bc63..4d7c48c4 100644
--- a/projects/core/src/styles/mixins/_material-icons-theme.scss
+++ b/projects/core/src/styles/mixins/_material-icons-theme.scss
@@ -2,7 +2,7 @@
@include matSymbols.faces($axes: all);
-$fontFamily: "Material Symbols Outlined Variable";
+$fontFamily: 'Material Symbols Outlined Variable';
@mixin theme {
.mat-icon {
@@ -35,6 +35,6 @@ $fontFamily: "Material Symbols Outlined Variable";
}
.filled {
- font-variation-settings: "FILL"1;
+ font-variation-settings: 'FILL' 1;
}
}
diff --git a/projects/core/src/styles/mixins/_menu-theme.scss b/projects/core/src/styles/mixins/_menu-theme.scss
index 8c0e9b3e..455161c2 100644
--- a/projects/core/src/styles/mixins/_menu-theme.scss
+++ b/projects/core/src/styles/mixins/_menu-theme.scss
@@ -1,4 +1,4 @@
-@use "@angular/material" as mat;
+@use '@angular/material' as mat;
@mixin theme($theme) {
$primary: map-get($theme, primary);
diff --git a/projects/core/tsconfig.lib.json b/projects/core/tsconfig.lib.json
index 599bb9f4..d2090cb2 100644
--- a/projects/core/tsconfig.lib.json
+++ b/projects/core/tsconfig.lib.json
@@ -8,8 +8,5 @@
"inlineSources": true,
"types": []
},
- "exclude": [
- "src/test.ts",
- "**/*.spec.ts"
- ]
+ "exclude": ["src/test.ts", "**/*.spec.ts"]
}
diff --git a/projects/core/tsconfig.spec.json b/projects/core/tsconfig.spec.json
index 3823c756..4ed8f505 100644
--- a/projects/core/tsconfig.spec.json
+++ b/projects/core/tsconfig.spec.json
@@ -3,15 +3,8 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
- "types": [
- "jasmine"
- ]
+ "types": ["jasmine"]
},
- "files": [
- "src/test.ts"
- ],
- "include": [
- "**/*.spec.ts",
- "**/*.d.ts"
- ]
+ "files": ["src/test.ts"],
+ "include": ["**/*.spec.ts", "**/*.d.ts"]
}
diff --git a/projects/demo-app/src/app/app.component.html b/projects/demo-app/src/app/app.component.html
index b0ecf3fc..e94e5770 100644
--- a/projects/demo-app/src/app/app.component.html
+++ b/projects/demo-app/src/app/app.component.html
@@ -1,23 +1,15 @@
-