Skip to content

Commit

Permalink
Merge branch 'main' into fix-link-in-patternhubs-icons-readme-broken
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Dec 18, 2024
2 parents 70d4668 + fcbd8d6 commit 80ed75e
Show file tree
Hide file tree
Showing 33 changed files with 52 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/00-init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
init:
name: Init
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/00-scan-secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
TruffleHog:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-build-outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build-showcases:
name: Build outputs
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build-stencil-targets:
name: Build Packages
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-build-patternhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
build-patternhub:
name: Build Patternhub
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
outputs:
path: ${{ steps.build.outputs.path }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-build-showcases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build-showcases:
name: Build Showcase ${{ inputs.showcase }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-get-playwright-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
playwright-version:
name: Get and save publish version
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
outputs:
version: ${{ steps.version.outputs.result }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-get-publish-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
publish:
name: Get and save publish version
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
outputs:
release: ${{ steps.releaseCheck.outputs.release }}
preRelease: ${{ steps.releaseCheck.outputs.preRelease }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬️ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/01-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬️ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/02-e2e-foundations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
playwright-foundations:
name: 🧪🎭 - foundations
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
container:
image: mcr.microsoft.com/playwright:v${{ inputs.version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/02-e2e-regenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
regenerate-snapshots:
name: 🧪🎭 - Regenerate snapshots ${{ inputs.type }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
container:
image: mcr.microsoft.com/playwright:v${{ inputs.version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/02-e2e-showcases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
playwright-showcases:
name: 🧪🎭 - ${{ inputs.showcase }}:${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
container:
image: mcr.microsoft.com/playwright:v${{ inputs.version }}
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/02-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
playwright-ct:
name: 🧪🎭 - ${{ matrix.framework }}:${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
container:
image: mcr.microsoft.com/playwright:v${{ inputs.version }}
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/03-deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
publish:
name: Publish latest package versions to GitHub Packages
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
permissions:
id-token: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/99-add-url-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
url:
name: 💬 Add url for gh-page as issue comment to PR
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/99-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
dependabot:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: ⏬ Dependabot metadata
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/99-codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/99-dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/99-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
triage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: 🏷️ Labeler
uses: actions/labeler@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
clean:
name: Clean
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: ⏬ Checkout repo
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:

checks-done:
if: ${{ always() }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: 🎉 Checks done
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:

checks-done:
if: ${{ always() }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04 # Use Ubuntu 24.04 explicitly
steps:
- name: 🎉 Checks done
run: |
Expand Down
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"deque-systems.vscode-axe-linter",
"samverschueren.linter-xo",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint"
"stylelint.vscode-stylelint",
"gruntfuggly.todo-tree"
]
}
2 changes: 1 addition & 1 deletion output/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"@playwright/experimental-ct-vue": "1.49.1",
"@vitejs/plugin-vue": "^5.2.0",
"replace-in-file": "^8.2.0",
"replace-in-file": "^8.3.0",
"tsx": "^4.19.2",
"typescript": "^5.4.5",
"vite": "^6.0.3",
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"prettier": "^3.4.2",
"prettier-plugin-pkg": "0.18.1",
"prettier-plugin-sh": "^0.14.0",
"replace-in-file": "^8.2.0",
"replace-in-file": "^8.3.0",
"rimraf": "6.0.1",
"stylelint": "16.12.0",
"stylelint-config-sass-guidelines": "12.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/tabs/tabs.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function DBTabs(props: DBTabsProps) {
onMount(() => {
state._id = props.id || state._id;

state._name = props.name || uuid();
state._name = `tabs-${props.name || uuid()}`;

state.initialized = true;
});
Expand Down
11 changes: 6 additions & 5 deletions packages/foundations/scripts/local/generate-icon-overview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */

/*
* This script can be used to update the icon overview for foundation testing.
*/
Expand Down Expand Up @@ -32,8 +30,10 @@ const generateIconOverview = () => {
<body>
<div class="icons-overview-container">
${ALL_ICONS.map(
(icon) => `
${
/* eslint-disable-next-line @typescript-eslint/no-unsafe-call */
ALL_ICONS.map(
(icon) => `
<div data-spacing="small" class="db-card">
<span
aria-hidden="true"
Expand All @@ -47,7 +47,8 @@ data-semantic="informational"
>${icon}</span
>
</div>`
).join('\n')}
).join('\n')
}
</div>
</body>
</html>`;
Expand Down
2 changes: 1 addition & 1 deletion packages/migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"commander": "^12.0.0",
"glob": "^11.0.0",
"replace-in-file": "^8.2.0"
"replace-in-file": "^8.3.0"
},
"devDependencies": {
"cpr": "3.0.1",
Expand Down
2 changes: 1 addition & 1 deletion scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@
"@inquirer/prompts": "7.2.0",
"glob": "^11.0.0",
"inquirer": "^12.2.0",
"replace-in-file": "^8.2.0"
"replace-in-file": "^8.3.0"
}
}
16 changes: 8 additions & 8 deletions showcases/patternhub/pages/foundations/colors/color-schemes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ const ColorOverview = () => {
</DBButton>
<section className="color-cards">
{colors.map((color) => (
<div
key={color}
className={`db-${color}-bg-basic-level-1`}>
<DBCard spacing="medium" elevationLevel="3">
<DBCard spacing="medium" elevationLevel="2">
<DBCard spacing="medium">{color}</DBCard>
</DBCard>
<DBCard
spacing="medium"
elevationLevel="3"
className={`db-${color}-bg-basic-level-1`}
key={color}>
<DBCard spacing="medium" elevationLevel="2">
<DBCard spacing="medium">{color}</DBCard>
</DBCard>
</div>
</DBCard>
))}
</section>
</div>
Expand Down

0 comments on commit 80ed75e

Please sign in to comment.